diff --git a/CHANGELOG.md b/CHANGELOG.md index bee06e3..7b0f051 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,7 +21,11 @@ Tested in JS and React. Errors in work in React applications are revealed. - Fixed display of the example page on mobile devices. - Updated documentation! -### 00.00.2023 - update 0.2.1 +### 20.01.2023 - update 0.2.1 - All select rewritten to ts. - Fixed bugs and shortcomings. + +### 24.01.2023 - fix 0.2.2 + +- Fixed documentation etc. diff --git a/README.md b/README.md index 42287a1..39623f4 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # CG-SELECT -## version ~ 0.2.1 +## version ~ 0.2.2 This component allows you to create a custom select. It offers more flexible customization and use of select. Customization, multi-selection and live search by elements are available. @@ -45,7 +45,7 @@ npm i cg-select ### An example of creating a regular select. ```javascript -import { CGSelect } from 'cg-select'; +import CGSelect from 'cg-select'; const dropdown = new CGSelect({ selector: '.cg-dropdown_selector', diff --git a/docs/index.html b/docs/index.html index b564504..e693d31 100644 --- a/docs/index.html +++ b/docs/index.html @@ -61,7 +61,7 @@ -

version ~ 0.2.1

+

version ~ 0.2.2

This component allows you to create a custom select. It offers more flexible @@ -138,7 +138,7 @@ >

An example of creating a regular select.

-
import { CGSelect } from 'cg-select';

const dropdown = new CGSelect({
selector: '.cg-dropdown_selector',
placeholder: 'Выберите авто',
items: [
'BMW',
{
id: '213sade',
title: 'Opel',
value: 1,
},
'Mersedes',
'MAN',
'Ferari',
],
}); +
import CGSelect from 'cg-select';

const dropdown = new CGSelect({
selector: '.cg-dropdown_selector',
placeholder: 'Выберите авто',
items: [
'BMW',
{
id: '213sade',
title: 'Opel',
value: 1,
},
'Mersedes',
'MAN',
'Ferari',
],
});