Merge pull request #40 from apuc/test-webpack-build

Fixed import select(cdn)
This commit is contained in:
MaxOvs19 2023-04-11 15:20:12 +03:00 committed by GitHub
commit 37bb4d148b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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. - Completely redesigned assembly to webpack and completed the transition to a new platform.
- Assembly bugs fixed - Assembly bugs fixed
##### 04.03.2023 - fix 0.3.1
- Fixed import select.

View File

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

View File

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

View File

@ -62,7 +62,7 @@
</a> </a>
<a href="#version--0231" id="version--0231" style="color: inherit; text-decoration: none"> <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> </a>
<p> <p>
This component allows you to create a custom select. It offers more flexible 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", "name": "cg-select",
"version": "0.3.0", "version": "0.3.1",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "cg-select", "name": "cg-select",
"version": "0.3.0", "version": "0.3.1",
"license": "ISC", "license": "ISC",
"devDependencies": { "devDependencies": {
"@babel/core": "^7.21.4", "@babel/core": "^7.21.4",

View File

@ -1,6 +1,6 @@
{ {
"name": "cg-select", "name": "cg-select",
"version": "0.3.0", "version": "0.3.1",
"source": "index.js", "source": "index.js",
"main": "dist/index.js", "main": "dist/index.js",
"description": "Feature rich Select control for React/JS with multiselect, autocomplete and styling", "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. * @description This class implements the functionality of a custom select, with customization capabilities.
* @author Ovsyanikov Maxim * @author Ovsyanikov Maxim
*/ */
export class CGSelect implements ICgSelect { export default class CGSelect implements ICgSelect {
selector?: string; selector?: string;
selected?: string; selected?: string;
placeholder?: string; placeholder?: string;