diff --git a/package.json b/package.json index 535d77f..12e0f8b 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,6 @@ }, "homepage": "https://cg-select.itguild.info", "scripts": { - "start": "parcel ./test/index.html -p 4500 --open", "watch": "parcel watch", "build": "parcel build", "deploy": "gh-pages -d dist", diff --git a/test/index.html b/test/index.html deleted file mode 100644 index db2a3b2..0000000 --- a/test/index.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - Test - - - - - - - diff --git a/test/index.js b/test/index.js deleted file mode 100644 index 179600b..0000000 --- a/test/index.js +++ /dev/null @@ -1,23 +0,0 @@ -import { CGSelect } from '../src/cg-select'; -import { newTheme } from './test'; - -const dropdown = new CGSelect({ - selector: '.cg-dropdown_selector', - placeholder: 'Выберите авто', - label: 'HI', - items: [ - 'BMW', - { - id: '213sade', - title: 'Opel', - value: 1, - }, - 'Mersedes', - 'MAN', - 'Ferari', - ], - searchMode: true, - multiselect: true, - multiselectTag: true, - theme: newTheme, -}); diff --git a/test/test.ts b/test/test.ts deleted file mode 100644 index 32975d1..0000000 --- a/test/test.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { CustomThemeJson } from 'components/theme/theme.interface'; - -export const newTheme: CustomThemeJson = { - name: 'lol', - styles: { - head: { - color: 'red', - fontSize: '18px', - background: '#ff000066', - }, - lable: { - color: 'black', - fontSize: '26px', - }, - list: { - background: 'black', - color: 'red', - }, - placeholder: { - color: 'green', - }, - caret: { - borderTop: '6px solid #607ab1', - }, - search: { - background: 'red', - }, - }, -};