mirror of
https://github.com/Choices-js/Choices.git
synced 2024-06-02 14:02:17 +02:00
Export components from index file
This commit is contained in:
parent
579138f756
commit
b3956db628
2025
src/scripts/dist/choices.js
vendored
2025
src/scripts/dist/choices.js
vendored
File diff suppressed because it is too large
Load diff
2
src/scripts/dist/choices.js.map
vendored
2
src/scripts/dist/choices.js.map
vendored
File diff suppressed because one or more lines are too long
2
src/scripts/dist/choices.min.js
vendored
2
src/scripts/dist/choices.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -1,11 +1,8 @@
|
||||||
import Fuse from 'fuse.js';
|
import Fuse from 'fuse.js';
|
||||||
|
|
||||||
|
import './lib/polyfills';
|
||||||
import Store from './store/store';
|
import Store from './store/store';
|
||||||
import Dropdown from './components/dropdown';
|
import { Dropdown, Container, Input, List, WrappedInput, WrappedSelect } from './components';
|
||||||
import Container from './components/container';
|
|
||||||
import Input from './components/input';
|
|
||||||
import List from './components/list';
|
|
||||||
import WrappedInput from './components/wrapped-input';
|
|
||||||
import WrappedSelect from './components/wrapped-select';
|
|
||||||
import { DEFAULT_CONFIG, DEFAULT_CLASSNAMES, EVENTS, KEY_CODES, SCROLLING_SPEED } from './constants';
|
import { DEFAULT_CONFIG, DEFAULT_CLASSNAMES, EVENTS, KEY_CODES, SCROLLING_SPEED } from './constants';
|
||||||
import { TEMPLATES } from './templates';
|
import { TEMPLATES } from './templates';
|
||||||
import { addChoice, filterChoices, activateChoices, clearChoices } from './actions/choices';
|
import { addChoice, filterChoices, activateChoices, clearChoices } from './actions/choices';
|
||||||
|
@ -26,7 +23,6 @@ import {
|
||||||
regexFilter,
|
regexFilter,
|
||||||
isIE11,
|
isIE11,
|
||||||
} from './lib/utils';
|
} from './lib/utils';
|
||||||
import './lib/polyfills';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Choices
|
* Choices
|
||||||
|
|
15
src/scripts/src/components/index.js
Normal file
15
src/scripts/src/components/index.js
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
import Dropdown from './dropdown';
|
||||||
|
import Container from './container';
|
||||||
|
import Input from './input';
|
||||||
|
import List from './list';
|
||||||
|
import WrappedInput from './wrapped-input';
|
||||||
|
import WrappedSelect from './wrapped-select';
|
||||||
|
|
||||||
|
export {
|
||||||
|
Dropdown,
|
||||||
|
Container,
|
||||||
|
Input,
|
||||||
|
List,
|
||||||
|
WrappedInput,
|
||||||
|
WrappedSelect,
|
||||||
|
};
|
Loading…
Reference in a new issue