Fixed import select(cdn)

This commit is contained in:
MaxOvs19 2023-04-11 15:19:42 +03:00
parent 72fdcb6c0b
commit 798024d05c
8 changed files with 13 additions and 9 deletions

View File

@ -76,3 +76,7 @@ Tested in JS and React. Errors in work in React applications are revealed.
- Completely redesigned assembly to webpack and completed the transition to a new platform.
- Assembly bugs fixed
##### 04.03.2023 - fix 0.3.1
- Fixed import select.

View File

@ -1,6 +1,6 @@
# CG-SELECT
## version ~ 0.3.0
## version ~ 0.3.1
<a href="https://github.com/apuc/cg-select/blob/main/READMERU.md">ЧИТАТЬ НА РУССКОМ</a>

View File

@ -1,6 +1,6 @@
# CG-SELECT
## Версия ~ 0.3.0
## Версия ~ 0.3.1
<a href="https://github.com/apuc/cg-select/blob/main/README.md">English README</a>

View File

@ -62,7 +62,7 @@
</a>
<a href="#version--0231" id="version--0231" style="color: inherit; text-decoration: none">
<h2>version ~ 0.3.0</h2>
<h2>version ~ 0.3.1</h2>
</a>
<p>
This component allows you to create a custom select. It offers more flexible

View File

@ -1,3 +1,3 @@
import { CGSelect } from './src/cg-select';
import CGSelect from './src/cg-select';
export default CGSelect;
export { CGSelect };

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "cg-select",
"version": "0.3.0",
"version": "0.3.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "cg-select",
"version": "0.3.0",
"version": "0.3.1",
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.21.4",

View File

@ -1,6 +1,6 @@
{
"name": "cg-select",
"version": "0.3.0",
"version": "0.3.1",
"source": "index.js",
"main": "dist/index.js",
"description": "Feature rich Select control for React/JS with multiselect, autocomplete and styling",

View File

@ -32,7 +32,7 @@ import { CustomTheme, CustomThemeJson } from 'components/theme/theme.interface';
* @description This class implements the functionality of a custom select, with customization capabilities.
* @author Ovsyanikov Maxim
*/
export class CGSelect implements ICgSelect {
export default class CGSelect implements ICgSelect {
selector?: string;
selected?: string;
placeholder?: string;