diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2098f3e..dce04eb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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.
diff --git a/README.md b/README.md
index ef16712..d3b63ca 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# CG-SELECT
-## version ~ 0.3.0
+## version ~ 0.3.1
ЧИТАТЬ НА РУССКОМ
diff --git a/READMERU.md b/READMERU.md
index a80458e..56c5b57 100644
--- a/READMERU.md
+++ b/READMERU.md
@@ -1,6 +1,6 @@
# CG-SELECT
-## Версия ~ 0.3.0
+## Версия ~ 0.3.1
English README
diff --git a/docs/index.html b/docs/index.html
index 53a22cd..e9f2010 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -62,7 +62,7 @@
- version ~ 0.3.0
+ version ~ 0.3.1
This component allows you to create a custom select. It offers more flexible diff --git a/index.js b/index.js index d3c8b2f..3666f4f 100644 --- a/index.js +++ b/index.js @@ -1,3 +1,3 @@ -import { CGSelect } from './src/cg-select'; +import CGSelect from './src/cg-select'; -export default CGSelect; +export { CGSelect }; diff --git a/package-lock.json b/package-lock.json index 8ee1b27..8f36148 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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", diff --git a/package.json b/package.json index 026ae8a..a65be26 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/cg-select.ts b/src/cg-select.ts index e314966..aa40242 100644 --- a/src/cg-select.ts +++ b/src/cg-select.ts @@ -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;