chili-ui 0.5.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chili/components/AutoComplete/theme.ts +8 -8
- package/chili/components/Button/theme.ts +4 -4
- package/chili/components/ButtonGroup/theme.ts +8 -8
- package/chili/components/CheckBox/theme.ts +7 -7
- package/chili/components/Collapse/theme.ts +4 -4
- package/chili/components/DropDownSelect/theme.ts +11 -11
- package/chili/components/Icon/icons.tsx +0 -3
- package/chili/components/Icon/types.ts +8 -9
- package/chili/components/Input/theme.ts +8 -8
- package/chili/components/Loader/theme.ts +5 -5
- package/chili/components/MaskedInput/theme.ts +7 -7
- package/chili/components/Modal/theme.ts +6 -6
- package/chili/components/MultiSelect/theme.ts +14 -14
- package/chili/components/NumericRange/theme.ts +2 -2
- package/chili/components/NumericTextBox/theme.ts +10 -10
- package/chili/components/Pagination/theme.ts +18 -18
- package/chili/components/Password/theme.ts +12 -12
- package/chili/components/ProgressBar/theme.ts +3 -3
- package/chili/components/Radio/theme.ts +4 -4
- package/chili/components/Rating/theme.ts +6 -6
- package/chili/components/Switcher/theme.ts +6 -6
- package/chili/components/Tabs/theme.ts +10 -10
- package/chili/components/Tags/theme.ts +3 -3
- package/chili/components/Textarea/theme.ts +6 -6
- package/chili/components/Tooltip/theme.ts +6 -6
- package/chili/components/Validation/theme.ts +2 -2
- package/chili/src/CalendarBase/theme.ts +37 -37
- package/chili/src/DateTimeInput/DateTimeInput.tsx +21 -1
- package/chili/src/DateTimeInput/handlers/handleMouseDown.ts +0 -1
- package/chili/src/DateTimeInput/handlers/handleReset.ts +3 -1
- package/chili/src/DateTimeInput/theme.ts +8 -8
- package/chili/src/DateTimeInputRange/theme.ts +2 -2
- package/chili/src/SuggestionList/theme.ts +11 -11
- package/dist/components/AutoComplete/theme.js +1 -1
- package/dist/components/AutoComplete/theme.js.map +1 -1
- package/dist/components/Button/theme.js +4 -4
- package/dist/components/Button/theme.js.map +1 -1
- package/dist/components/ButtonGroup/theme.js +8 -8
- package/dist/components/ButtonGroup/theme.js.map +1 -1
- package/dist/components/CheckBox/theme.js +7 -7
- package/dist/components/CheckBox/theme.js.map +1 -1
- package/dist/components/Collapse/theme.js +4 -4
- package/dist/components/Collapse/theme.js.map +1 -1
- package/dist/components/DropDownSelect/theme.js +1 -1
- package/dist/components/DropDownSelect/theme.js.map +1 -1
- package/dist/components/Icon/icons.js +0 -3
- package/dist/components/Icon/icons.js.map +1 -1
- package/dist/components/Icon/types.d.ts +0 -1
- package/dist/components/Icon/types.js +0 -1
- package/dist/components/Icon/types.js.map +1 -1
- package/dist/components/Input/theme.js +8 -8
- package/dist/components/Input/theme.js.map +1 -1
- package/dist/components/Loader/theme.js +5 -5
- package/dist/components/Loader/theme.js.map +1 -1
- package/dist/components/MaskedInput/theme.js +7 -7
- package/dist/components/MaskedInput/theme.js.map +1 -1
- package/dist/components/Modal/theme.js +6 -6
- package/dist/components/Modal/theme.js.map +1 -1
- package/dist/components/MultiSelect/theme.js +1 -1
- package/dist/components/MultiSelect/theme.js.map +1 -1
- package/dist/components/NumericRange/theme.js +2 -2
- package/dist/components/NumericRange/theme.js.map +1 -1
- package/dist/components/NumericTextBox/theme.js +10 -10
- package/dist/components/NumericTextBox/theme.js.map +1 -1
- package/dist/components/Pagination/theme.js +18 -18
- package/dist/components/Pagination/theme.js.map +1 -1
- package/dist/components/Password/theme.js +12 -12
- package/dist/components/Password/theme.js.map +1 -1
- package/dist/components/ProgressBar/theme.js +3 -3
- package/dist/components/ProgressBar/theme.js.map +1 -1
- package/dist/components/Radio/theme.js +4 -4
- package/dist/components/Radio/theme.js.map +1 -1
- package/dist/components/Rating/theme.js +6 -6
- package/dist/components/Rating/theme.js.map +1 -1
- package/dist/components/Switcher/theme.js +6 -6
- package/dist/components/Switcher/theme.js.map +1 -1
- package/dist/components/Tabs/theme.js +10 -10
- package/dist/components/Tabs/theme.js.map +1 -1
- package/dist/components/Tags/theme.js +3 -3
- package/dist/components/Tags/theme.js.map +1 -1
- package/dist/components/Textarea/theme.js +6 -6
- package/dist/components/Textarea/theme.js.map +1 -1
- package/dist/components/Tooltip/theme.js +6 -6
- package/dist/components/Tooltip/theme.js.map +1 -1
- package/dist/components/Validation/theme.js +2 -2
- package/dist/components/Validation/theme.js.map +1 -1
- package/dist/src/CalendarBase/theme.js +37 -37
- package/dist/src/CalendarBase/theme.js.map +1 -1
- package/dist/src/DateTimeInput/DateTimeInput.js +17 -1
- package/dist/src/DateTimeInput/DateTimeInput.js.map +1 -1
- package/dist/src/DateTimeInput/handlers/handleMouseDown.d.ts +1 -1
- package/dist/src/DateTimeInput/handlers/handleMouseDown.js +1 -1
- package/dist/src/DateTimeInput/handlers/handleMouseDown.js.map +1 -1
- package/dist/src/DateTimeInput/handlers/handleReset.js +1 -1
- package/dist/src/DateTimeInput/handlers/handleReset.js.map +1 -1
- package/dist/src/DateTimeInput/theme.js +8 -8
- package/dist/src/DateTimeInput/theme.js.map +1 -1
- package/dist/src/DateTimeInputRange/theme.js +2 -2
- package/dist/src/DateTimeInputRange/theme.js.map +1 -1
- package/dist/src/SuggestionList/theme.js +11 -11
- package/dist/src/SuggestionList/theme.js.map +1 -1
- package/dist/styles/chili.base.css +3 -1
- package/docs/src/app/basics/styles/page.tsx +1 -1
- package/docs/src/app/form-components/autocomplete/page.tsx +11 -11
- package/docs/src/app/form-components/input/page.tsx +11 -11
- package/docs/src/app/form-components/rating/page.tsx +5 -5
- package/docs/src/app/globals.css +1 -1
- package/docs/src/app/layout-components/modal/page.tsx +6 -6
- package/docs/src/app/page.tsx +2 -2
- package/docs/src/components/header/index.tsx +5 -5
- package/package.json +1 -1
|
@@ -3,12 +3,12 @@ import { defaultSuggestionListTheme } from '../../src/SuggestionList/theme';
|
|
|
3
3
|
|
|
4
4
|
export const defaultAutoCompleteTheme = {
|
|
5
5
|
...defaultSuggestionListTheme,
|
|
6
|
-
closeIcon: '
|
|
7
|
-
input: '
|
|
8
|
-
inputWrapper: '
|
|
9
|
-
inputWrapperDisabled: '
|
|
10
|
-
inputWrapperFocused: '
|
|
11
|
-
inputWrapperInvalid: '
|
|
12
|
-
inputWrapperRequired: '
|
|
13
|
-
wrapper: '
|
|
6
|
+
closeIcon: 'chili-input-icon',
|
|
7
|
+
input: 'chili-input-element',
|
|
8
|
+
inputWrapper: 'chili-input-element-wrapper',
|
|
9
|
+
inputWrapperDisabled: 'chili-disabled',
|
|
10
|
+
inputWrapperFocused: 'chili-focused',
|
|
11
|
+
inputWrapperInvalid: 'chili-danger',
|
|
12
|
+
inputWrapperRequired: 'chili-required',
|
|
13
|
+
wrapper: 'chili-autocomplete-wrapper',
|
|
14
14
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* eslint-disable key-spacing */
|
|
2
2
|
export const defaultButtonTheme = {
|
|
3
3
|
// todo replace classes when base theme is ready
|
|
4
|
-
disabled: '
|
|
5
|
-
loading: '
|
|
6
|
-
loadingIcon: '
|
|
7
|
-
wrapper: '
|
|
4
|
+
disabled: 'chili-btn-disabled',
|
|
5
|
+
loading: 'chili-loading',
|
|
6
|
+
loadingIcon: 'chili-loading-icon',
|
|
7
|
+
wrapper: 'chili-btn',
|
|
8
8
|
};
|
|
9
9
|
/* eslint-enable key-spacing */
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* eslint-disable key-spacing */
|
|
2
2
|
export const defaultButtonGroupTheme = {
|
|
3
3
|
// todo replace classes when base theme is ready
|
|
4
|
-
button: '
|
|
5
|
-
buttonActive: '
|
|
6
|
-
buttonFirst: '
|
|
7
|
-
buttonLast: '
|
|
8
|
-
buttonsWrapper: '
|
|
9
|
-
wrapper: '
|
|
10
|
-
wrapperDisabled: '
|
|
11
|
-
wrapperRequired: '
|
|
4
|
+
button: 'chili-button-group-item',
|
|
5
|
+
buttonActive: 'chili-button-active',
|
|
6
|
+
buttonFirst: 'chili-button-first',
|
|
7
|
+
buttonLast: 'chili-button-last',
|
|
8
|
+
buttonsWrapper: 'chili-button-group-buttons-wrapper',
|
|
9
|
+
wrapper: 'chili-button-group-wrapper',
|
|
10
|
+
wrapperDisabled: 'chili-button-disabled',
|
|
11
|
+
wrapperRequired: 'chili-required',
|
|
12
12
|
};
|
|
13
13
|
/* eslint-enable key-spacing */
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* eslint-disable key-spacing */
|
|
2
2
|
export const defaultCheckBoxTheme = {
|
|
3
|
-
input: '
|
|
4
|
-
label: '
|
|
5
|
-
icon: '
|
|
6
|
-
iconChecked: '
|
|
7
|
-
iconUnchecked: '
|
|
8
|
-
invalid: '
|
|
9
|
-
required: '
|
|
3
|
+
input: 'chili-checkbox-input',
|
|
4
|
+
label: 'chili-checkbox-label',
|
|
5
|
+
icon: 'chili-checkbox-icon',
|
|
6
|
+
iconChecked: 'chili-checked',
|
|
7
|
+
iconUnchecked: 'chili-unchecked',
|
|
8
|
+
invalid: 'chili-checkbox-invalid',
|
|
9
|
+
required: 'chili-checkbox-required',
|
|
10
10
|
};
|
|
11
11
|
/* eslint-enable key-spacing */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable key-spacing */
|
|
2
2
|
export const defaultCollapseTheme = {
|
|
3
|
-
icon: '
|
|
4
|
-
content: '
|
|
5
|
-
summary: '
|
|
6
|
-
wrapper: '
|
|
3
|
+
icon: 'chili-collapse-icon',
|
|
4
|
+
content: 'chili-collapse-content',
|
|
5
|
+
summary: 'chili-collapse-summary',
|
|
6
|
+
wrapper: 'chili-collapse-wrapper',
|
|
7
7
|
};
|
|
@@ -3,16 +3,16 @@ import { defaultSuggestionListTheme } from '../../src/SuggestionList/theme';
|
|
|
3
3
|
|
|
4
4
|
export const defaultDropDownSelectTheme = {
|
|
5
5
|
...defaultSuggestionListTheme,
|
|
6
|
-
input: '
|
|
7
|
-
inputWrapper: '
|
|
8
|
-
inputWrapperDisabled: '
|
|
9
|
-
inputWrapperFocused: '
|
|
10
|
-
inputWrapperInvalid: '
|
|
11
|
-
inputWrapperRequired: '
|
|
12
|
-
clearIcon: '
|
|
13
|
-
selectIcon: '
|
|
14
|
-
selectIconClosed: '
|
|
15
|
-
selectIconOpened: '
|
|
16
|
-
wrapper: '
|
|
6
|
+
input: 'chili-input-element',
|
|
7
|
+
inputWrapper: 'chili-input-element-wrapper',
|
|
8
|
+
inputWrapperDisabled: 'chili-disabled',
|
|
9
|
+
inputWrapperFocused: 'chili-focused',
|
|
10
|
+
inputWrapperInvalid: 'chili-danger',
|
|
11
|
+
inputWrapperRequired: 'chili-required',
|
|
12
|
+
clearIcon: 'chili-input-icon',
|
|
13
|
+
selectIcon: 'chili-input-icon',
|
|
14
|
+
selectIconClosed: 'chili-closed',
|
|
15
|
+
selectIconOpened: 'chili-opened',
|
|
16
|
+
wrapper: 'chili-dropdownselect-wrapper',
|
|
17
17
|
};
|
|
18
18
|
/* eslint-enable key-spacing */
|
|
@@ -50,9 +50,6 @@ export const ICON_PATHS: Record<Icons, React.ReactNode[]> = {
|
|
|
50
50
|
<path key="0" d="M17.94 17.94A10.94 10.94 0 0 1 12 20c-7 0-11-8-11-8a21.08 21.08 0 0 1 5.07-6.88" />,
|
|
51
51
|
<path key="1" d="M1 1l22 22" />,
|
|
52
52
|
],
|
|
53
|
-
[Icons.Github]: [
|
|
54
|
-
<path key="0" d="M12 2a10 10 0 0 0-3.16 19.49c.5.09.68-.22.68-.48 0-.24-.01-1-.02-1.82-2.78.6-3.37-1.34-3.37-1.34-.45-1.17-1.1-1.48-1.1-1.48-.9-.61.07-.6.07-.6 1 .07 1.53 1.04 1.53 1.04.89 1.52 2.34 1.08 2.91.83.09-.64.35-1.08.63-1.33-2.22-.25-4.55-1.11-4.55-4.94 0-1.09.39-1.98 1.03-2.68-.1-.26-.45-1.3.1-2.71 0 0 .84-.27 2.75 1.03a9.56 9.56 0 0 1 5 0c1.91-1.3 2.75-1.03 2.75-1.03.55 1.41.2 2.45.1 2.71.64.7 1.03 1.59 1.03 2.68 0 3.84-2.34 4.69-4.57 4.94.36.31.69.92.69 1.86 0 1.34-.01 2.42-.01 2.75 0 .27.18.58.69.48A10 10 0 0 0 12 2z" />,
|
|
55
|
-
],
|
|
56
53
|
[Icons.Loader]: [
|
|
57
54
|
<circle key="0" cx="12" cy="12" r="10" />,
|
|
58
55
|
],
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { SVGProps } from 'react';
|
|
2
2
|
|
|
3
3
|
export type IconProps = {
|
|
4
|
-
fill?: string | null
|
|
5
|
-
icon: `${Icons}
|
|
6
|
-
shouldRender?: boolean
|
|
7
|
-
size?: number | string | null
|
|
8
|
-
stroke?: string | null
|
|
9
|
-
strokeOpacity?: number | string | null
|
|
10
|
-
strokeWidth?: number | string | null
|
|
11
|
-
[x: string]: unknown
|
|
4
|
+
fill?: string | null,
|
|
5
|
+
icon: `${Icons}`,
|
|
6
|
+
shouldRender?: boolean,
|
|
7
|
+
size?: number | string | null,
|
|
8
|
+
stroke?: string | null,
|
|
9
|
+
strokeOpacity?: number | string | null,
|
|
10
|
+
strokeWidth?: number | string | null,
|
|
11
|
+
[x: string]: unknown,
|
|
12
12
|
} & Omit<SVGProps<SVGSVGElement>, 'fill' | 'stroke' | 'strokeOpacity' | 'strokeWidth'>;
|
|
13
13
|
|
|
14
14
|
export enum Icons {
|
|
@@ -25,7 +25,6 @@ export enum Icons {
|
|
|
25
25
|
Circle = 'circle',
|
|
26
26
|
Eye = 'eye',
|
|
27
27
|
EyeOff = 'eye-off',
|
|
28
|
-
Github = 'github',
|
|
29
28
|
Loader = 'loader',
|
|
30
29
|
MinusSquare = 'minus-square',
|
|
31
30
|
PlusSquare = 'plus-square',
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* eslint-disable key-spacing */
|
|
2
2
|
export const defaultInputTheme = {
|
|
3
|
-
closeIcon: '
|
|
4
|
-
input: '
|
|
5
|
-
inputWrapper: '
|
|
6
|
-
wrapper: '
|
|
3
|
+
closeIcon: 'chili-input-icon',
|
|
4
|
+
input: 'chili-input-element',
|
|
5
|
+
inputWrapper: 'chili-input-element-wrapper',
|
|
6
|
+
wrapper: 'chili-input-wrapper',
|
|
7
7
|
|
|
8
|
-
inputWrapperDisabled: '
|
|
9
|
-
inputWrapperFocused: '
|
|
10
|
-
inputWrapperInvalid: '
|
|
11
|
-
inputWrapperRequired: '
|
|
8
|
+
inputWrapperDisabled: 'chili-disabled',
|
|
9
|
+
inputWrapperFocused: 'chili-focused',
|
|
10
|
+
inputWrapperInvalid: 'chili-danger',
|
|
11
|
+
inputWrapperRequired: 'chili-required',
|
|
12
12
|
};
|
|
13
13
|
/* eslint-enable key-spacing */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* eslint-disable key-spacing */
|
|
2
2
|
export const defaultLoaderTheme = {
|
|
3
|
-
container: '
|
|
4
|
-
element: '
|
|
5
|
-
fullscreen: '
|
|
6
|
-
wrapper: '
|
|
7
|
-
bodyOverflow: '
|
|
3
|
+
container: 'chili-loader-container',
|
|
4
|
+
element: 'chili-loader-element',
|
|
5
|
+
fullscreen: 'chili-loader-fullscreen',
|
|
6
|
+
wrapper: 'chili-loader-wrapper',
|
|
7
|
+
bodyOverflow: 'chili-loader-global',
|
|
8
8
|
};
|
|
9
9
|
/* eslint-enable key-spacing */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* eslint-disable key-spacing */
|
|
2
2
|
export const defaultMaskedInputTheme = {
|
|
3
|
-
inputWrapperInvalid: '
|
|
4
|
-
inputWrapperDisabled: '
|
|
5
|
-
inputWrapperFocused: '
|
|
6
|
-
inputWrapperRequired: '
|
|
7
|
-
inputWrapper: '
|
|
8
|
-
input: '
|
|
9
|
-
wrapper: '
|
|
3
|
+
inputWrapperInvalid: 'chili-danger',
|
|
4
|
+
inputWrapperDisabled: 'chili-disabled',
|
|
5
|
+
inputWrapperFocused: 'chili-focused',
|
|
6
|
+
inputWrapperRequired: 'chili-required',
|
|
7
|
+
inputWrapper: 'chili-input-element-wrapper',
|
|
8
|
+
input: 'chili-input-element',
|
|
9
|
+
wrapper: 'chili-input-wrapper',
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* eslint-disable key-spacing */
|
|
2
2
|
export const defaultModalTheme = {
|
|
3
|
-
body: '
|
|
4
|
-
cross: '
|
|
5
|
-
footer: '
|
|
6
|
-
header: '
|
|
7
|
-
window: '
|
|
8
|
-
wrapper: '
|
|
3
|
+
body: 'chili-modal-body',
|
|
4
|
+
cross: 'chili-modal-cross',
|
|
5
|
+
footer: 'chili-modal-footer',
|
|
6
|
+
header: 'chili-modal-header',
|
|
7
|
+
window: 'chili-modal-window',
|
|
8
|
+
wrapper: 'chili-modal-wrapper',
|
|
9
9
|
};
|
|
10
10
|
/* eslint-enable key-spacing */
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
import { defaultSuggestionListTheme } from '../../src/SuggestionList/theme';
|
|
3
3
|
|
|
4
4
|
export const defaultMultiSelectTheme = {
|
|
5
|
-
checkBoxWrapper: '
|
|
6
|
-
checkBoxContainer: '
|
|
7
|
-
checkBoxLabel: '
|
|
8
|
-
clearIcon: '
|
|
9
|
-
input: '
|
|
10
|
-
inputWrapper: '
|
|
11
|
-
inputWrapperDisabled: '
|
|
12
|
-
inputWrapperFocused: '
|
|
13
|
-
inputWrapperInvalid: '
|
|
14
|
-
inputWrapperRequired: '
|
|
15
|
-
placeholder: '
|
|
16
|
-
tagsContainer: '
|
|
17
|
-
tagsUnion: '
|
|
18
|
-
wrapper: '
|
|
5
|
+
checkBoxWrapper: 'chili-multiselect-checkbox-wrapper',
|
|
6
|
+
checkBoxContainer: 'chili-multiselect-checkbox-container',
|
|
7
|
+
checkBoxLabel: 'chili-multiselect-checkbox-label',
|
|
8
|
+
clearIcon: 'chili-multiselect-clear-icon',
|
|
9
|
+
input: 'chili-multiselect-input',
|
|
10
|
+
inputWrapper: 'chili-multiselect-input-wrapper',
|
|
11
|
+
inputWrapperDisabled: 'chili-disabled',
|
|
12
|
+
inputWrapperFocused: 'chili-focused',
|
|
13
|
+
inputWrapperInvalid: 'chili-danger',
|
|
14
|
+
inputWrapperRequired: 'chili-required',
|
|
15
|
+
placeholder: 'chili-multiselect-placeholder',
|
|
16
|
+
tagsContainer: 'chili-multiselect-tags-container',
|
|
17
|
+
tagsUnion: 'chili-multiselect-tags-union',
|
|
18
|
+
wrapper: 'chili-multiselect-wrapper',
|
|
19
19
|
/** SuggestionList theme */
|
|
20
20
|
...defaultSuggestionListTheme,
|
|
21
21
|
};
|
|
@@ -2,9 +2,9 @@ import { defaultNumericTextBoxTheme } from '../NumericTextBox/theme';
|
|
|
2
2
|
|
|
3
3
|
/* eslint-disable key-spacing */
|
|
4
4
|
export const defaultNumericRangeTheme = {
|
|
5
|
-
delimiter: '
|
|
5
|
+
delimiter: 'chili-numeric-range-delimiter',
|
|
6
6
|
from: defaultNumericTextBoxTheme,
|
|
7
7
|
to: defaultNumericTextBoxTheme,
|
|
8
|
-
wrapper: '
|
|
8
|
+
wrapper: 'chili-numeric-range-wrapper',
|
|
9
9
|
};
|
|
10
10
|
/* eslint-enable key-spacing */
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/* eslint-disable key-spacing */
|
|
2
2
|
export const defaultNumericTextBoxTheme = {
|
|
3
|
-
arrowButtons: '
|
|
4
|
-
arrowDown: '
|
|
5
|
-
arrowUp: '
|
|
6
|
-
input: '
|
|
7
|
-
inputWrapper: '
|
|
8
|
-
inputWrapperDisabled: '
|
|
9
|
-
inputWrapperFocused: '
|
|
10
|
-
inputWrapperInvalid: '
|
|
11
|
-
inputWrapperRequired: '
|
|
12
|
-
wrapper: '
|
|
3
|
+
arrowButtons: 'chili-numeric-arrows',
|
|
4
|
+
arrowDown: 'chili-numeric-arrow-down',
|
|
5
|
+
arrowUp: 'chili-numeric-arrow-up',
|
|
6
|
+
input: 'chili-input-element',
|
|
7
|
+
inputWrapper: 'chili-input-element-wrapper',
|
|
8
|
+
inputWrapperDisabled: 'chili-disabled',
|
|
9
|
+
inputWrapperFocused: 'chili-focused',
|
|
10
|
+
inputWrapperInvalid: 'chili-danger',
|
|
11
|
+
inputWrapperRequired: 'chili-required',
|
|
12
|
+
wrapper: 'chili-numeric-wrapper',
|
|
13
13
|
};
|
|
14
14
|
/* eslint-enable key-spacing */
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/* eslint-disable key-spacing */
|
|
2
2
|
export const defaultPaginationTheme = {
|
|
3
|
-
wrapper: '
|
|
4
|
-
button: '
|
|
5
|
-
controlButtons: '
|
|
6
|
-
controlFirst: '
|
|
7
|
-
controlPrev: '
|
|
8
|
-
controlNext: '
|
|
9
|
-
controlLast: '
|
|
10
|
-
disabled: '
|
|
11
|
-
iconFirst: '
|
|
12
|
-
iconPrev: '
|
|
13
|
-
iconNext: '
|
|
14
|
-
iconLast: '
|
|
15
|
-
infoLabel: '
|
|
16
|
-
numberButtons: '
|
|
17
|
-
numberSelected: '
|
|
18
|
-
options: '
|
|
19
|
-
optionsLabel: '
|
|
20
|
-
optionsWrapper: '
|
|
3
|
+
wrapper: 'chili-pagination-wrapper',
|
|
4
|
+
button: 'chili-pagination-button',
|
|
5
|
+
controlButtons: 'chili-pagination-controls',
|
|
6
|
+
controlFirst: 'chili-pagination-first',
|
|
7
|
+
controlPrev: 'chili-pagination-prev',
|
|
8
|
+
controlNext: 'chili-pagination-next',
|
|
9
|
+
controlLast: 'chili-pagination-last',
|
|
10
|
+
disabled: 'chili-pagination-disabled',
|
|
11
|
+
iconFirst: 'chili-pagination-icon-first',
|
|
12
|
+
iconPrev: 'chili-pagination-icon-prev',
|
|
13
|
+
iconNext: 'chili-pagination-icon-next',
|
|
14
|
+
iconLast: 'chili-pagination-icon-last',
|
|
15
|
+
infoLabel: 'chili-pagination-info-label',
|
|
16
|
+
numberButtons: 'chili-pagination-numbers',
|
|
17
|
+
numberSelected: 'chili-pagination-number-selected',
|
|
18
|
+
options: 'chili-pagination-options',
|
|
19
|
+
optionsLabel: 'chili-pagination-options-label',
|
|
20
|
+
optionsWrapper: 'chili-pagination-options-wrapper',
|
|
21
21
|
};
|
|
22
22
|
/* eslint-enable key-spacing */
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/* eslint-disable key-spacing */
|
|
2
2
|
export const defaultPasswordTheme = {
|
|
3
|
-
closeIcon: '
|
|
4
|
-
input: '
|
|
5
|
-
inputWrapper: '
|
|
6
|
-
inputWrapperDisabled: '
|
|
7
|
-
inputWrapperFocused: '
|
|
8
|
-
inputWrapperInvalid: '
|
|
9
|
-
inputWrapperRequired: '
|
|
10
|
-
isHiddenIcon: '
|
|
11
|
-
isVisibleIcon: '
|
|
12
|
-
messageWrapper: '
|
|
13
|
-
ruleMessage: '
|
|
14
|
-
wrapper: '
|
|
3
|
+
closeIcon: 'chili-input-icon',
|
|
4
|
+
input: 'chili-input-element',
|
|
5
|
+
inputWrapper: 'chili-input-element-wrapper',
|
|
6
|
+
inputWrapperDisabled: 'chili-disabled',
|
|
7
|
+
inputWrapperFocused: 'chili-focused',
|
|
8
|
+
inputWrapperInvalid: 'chili-danger',
|
|
9
|
+
inputWrapperRequired: 'chili-required',
|
|
10
|
+
isHiddenIcon: 'chili-input-icon',
|
|
11
|
+
isVisibleIcon: 'chili-input-icon',
|
|
12
|
+
messageWrapper: 'chili-password-message-wrapper',
|
|
13
|
+
ruleMessage: 'chili-password-rule-message',
|
|
14
|
+
wrapper: 'chili-password-wrapper',
|
|
15
15
|
};
|
|
16
16
|
/* eslint-enable key-spacing */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable key-spacing */
|
|
2
2
|
export const defaultProgressBarTheme = {
|
|
3
|
-
fill: '
|
|
4
|
-
value: '
|
|
5
|
-
wrapper: '
|
|
3
|
+
fill: 'chili-progressbar-fill',
|
|
4
|
+
value: 'chili-progressbar-value',
|
|
5
|
+
wrapper: 'chili-progressbar-wrapper',
|
|
6
6
|
};
|
|
7
7
|
/* eslint-enable key-spacing */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* eslint-disable key-spacing */
|
|
2
2
|
export const defaultRadioTheme = {
|
|
3
|
-
input: '
|
|
4
|
-
item: '
|
|
5
|
-
label: '
|
|
6
|
-
wrapper: '
|
|
3
|
+
input: 'chili-radio-input',
|
|
4
|
+
item: 'chili-radio-button',
|
|
5
|
+
label: 'chili-radio-label',
|
|
6
|
+
wrapper: 'chili-radio-wrapper',
|
|
7
7
|
};
|
|
8
8
|
/* eslint-enable key-spacing */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* eslint-disable key-spacing */
|
|
2
2
|
export const defaultRatingTheme = {
|
|
3
|
-
disabled: '
|
|
4
|
-
invalid: '
|
|
5
|
-
item: '
|
|
6
|
-
itemFilled: '
|
|
7
|
-
itemWrapper: '
|
|
8
|
-
wrapper: '
|
|
3
|
+
disabled: 'chili-rating-disabled',
|
|
4
|
+
invalid: 'chili-rating-invalid',
|
|
5
|
+
item: 'chili-rating-item',
|
|
6
|
+
itemFilled: 'chili-filled',
|
|
7
|
+
itemWrapper: 'chili-rating-item-wrapper',
|
|
8
|
+
wrapper: 'chili-rating-wrapper',
|
|
9
9
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* eslint-disable key-spacing */
|
|
2
2
|
export const defaultSwitcherTheme = {
|
|
3
|
-
active: '
|
|
4
|
-
disabled: '
|
|
5
|
-
handle: '
|
|
6
|
-
label: '
|
|
7
|
-
switcher: '
|
|
8
|
-
wrapper: '
|
|
3
|
+
active: 'chili-switcher-active',
|
|
4
|
+
disabled: 'chili-switcher-disabled',
|
|
5
|
+
handle: 'chili-switcher-handler',
|
|
6
|
+
label: 'chili-switcher-label',
|
|
7
|
+
switcher: 'chili-switcher',
|
|
8
|
+
wrapper: 'chili-switcher-wrapper',
|
|
9
9
|
};
|
|
10
10
|
/* eslint-enable key-spacing */
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/* eslint-disable key-spacing */
|
|
2
2
|
export const defaultTabsTheme = {
|
|
3
|
-
arrowLeft: '
|
|
4
|
-
arrowRight: '
|
|
5
|
-
container: '
|
|
6
|
-
content: '
|
|
7
|
-
scroll: '
|
|
8
|
-
tab: '
|
|
9
|
-
tabActive: '
|
|
10
|
-
tabDisabled: '
|
|
11
|
-
tabsBar: '
|
|
12
|
-
wrapper: '
|
|
3
|
+
arrowLeft: 'chili-tabs-arrow chili-tabs-arrow-left',
|
|
4
|
+
arrowRight: 'chili-tabs-arrow chili-tabs-arrow-right',
|
|
5
|
+
container: 'chili-tabs-container',
|
|
6
|
+
content: 'chili-tabs-content',
|
|
7
|
+
scroll: 'chili-tab-scroll',
|
|
8
|
+
tab: 'chili-tab',
|
|
9
|
+
tabActive: 'chili-tab-active',
|
|
10
|
+
tabDisabled: 'chili-tab-disabled',
|
|
11
|
+
tabsBar: 'chili-tabs-bar',
|
|
12
|
+
wrapper: 'chili-tabs-wrapper',
|
|
13
13
|
};
|
|
14
14
|
/* eslint-enable key-spacing */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable key-spacing */
|
|
2
2
|
export const defaultTagsTheme = {
|
|
3
|
-
closeIcon: '
|
|
4
|
-
tag: '
|
|
5
|
-
wrapper: '
|
|
3
|
+
closeIcon: 'chili-tag-icon',
|
|
4
|
+
tag: 'chili-tag',
|
|
5
|
+
wrapper: 'chili-tags-wrapper',
|
|
6
6
|
};
|
|
7
7
|
/* eslint-enable key-spacing */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* eslint-disable key-spacing */
|
|
2
2
|
export const defaultTextAreaTheme = {
|
|
3
|
-
input: '
|
|
4
|
-
wrapper: '
|
|
5
|
-
inputFocused: '
|
|
6
|
-
inputDisabled: '
|
|
7
|
-
inputInvalid: '
|
|
8
|
-
inputRequired: '
|
|
3
|
+
input: 'chili-textarea',
|
|
4
|
+
wrapper: 'chili-textarea-wrapper',
|
|
5
|
+
inputFocused: 'chili-focused',
|
|
6
|
+
inputDisabled: 'chili-disabled',
|
|
7
|
+
inputInvalid: 'chili-danger',
|
|
8
|
+
inputRequired: 'chili-required',
|
|
9
9
|
};
|
|
10
10
|
/* eslint-enable key-spacing */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* eslint-disable key-spacing */
|
|
2
2
|
export const defaultTooltipTheme = {
|
|
3
|
-
tooltip: '
|
|
4
|
-
top: '
|
|
5
|
-
left: '
|
|
6
|
-
right: '
|
|
7
|
-
bottom: '
|
|
8
|
-
wrapper: '
|
|
3
|
+
tooltip: 'chili-tooltip',
|
|
4
|
+
top: 'chili-tooltip chili-top',
|
|
5
|
+
left: 'chili-tooltip chili-left',
|
|
6
|
+
right: 'chili-tooltip chili-right',
|
|
7
|
+
bottom: 'chili-tooltip chili-bottom',
|
|
8
|
+
wrapper: 'chili-tooltip-wrapper',
|
|
9
9
|
};
|
|
10
10
|
/* eslint-enable key-spacing */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable key-spacing */
|
|
2
2
|
export const defaultValidationTheme = {
|
|
3
|
-
invalidMessage: '
|
|
4
|
-
invalidMessagesList: '
|
|
3
|
+
invalidMessage: 'chili-invalid-message',
|
|
4
|
+
invalidMessagesList: 'chili-invalid-messages-list',
|
|
5
5
|
};
|
|
6
6
|
/* eslint-enable key-spacing */
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
/* eslint-disable key-spacing */
|
|
2
2
|
export const defaultCalendarTheme = {
|
|
3
|
-
buttonDisabled: '
|
|
4
|
-
dateCell: '
|
|
5
|
-
dateCellActive: '
|
|
6
|
-
dateCellDayOff: '
|
|
7
|
-
dateCellDifferentMonth: '
|
|
8
|
-
dateCellDisabled: '
|
|
9
|
-
dateCellSelected: '
|
|
10
|
-
dateCellToday: '
|
|
11
|
-
dateRow: '
|
|
12
|
-
dateView: '
|
|
13
|
-
footer: '
|
|
14
|
-
header: '
|
|
15
|
-
invalid: '
|
|
16
|
-
monthCell: '
|
|
17
|
-
monthCellActive: '
|
|
18
|
-
monthCellDisabled: '
|
|
19
|
-
monthRow: '
|
|
20
|
-
monthView: '
|
|
21
|
-
nextButton: '
|
|
22
|
-
nextIcon: '
|
|
23
|
-
prevButton: '
|
|
24
|
-
prevIcon: '
|
|
25
|
-
standalone: '
|
|
26
|
-
standaloneWrapper: '
|
|
27
|
-
title: '
|
|
28
|
-
titleDisabled: '
|
|
29
|
-
weekDay: '
|
|
30
|
-
weekDaysRow: '
|
|
31
|
-
wrapper: '
|
|
32
|
-
wrapperTop: '
|
|
33
|
-
wrapperRight: '
|
|
34
|
-
yearCell: '
|
|
35
|
-
yearCellActive: '
|
|
36
|
-
yearCellDisabled: '
|
|
37
|
-
yearCellDifferentDecade:'
|
|
38
|
-
yearRow: '
|
|
39
|
-
yearView: '
|
|
3
|
+
buttonDisabled: 'chili-calendar-button-disabled',
|
|
4
|
+
dateCell: 'chili-calendar-date',
|
|
5
|
+
dateCellActive: 'chili-calendar-date-active',
|
|
6
|
+
dateCellDayOff: 'chili-calendar-date-day-off',
|
|
7
|
+
dateCellDifferentMonth: 'chili-calendar-date-different-month',
|
|
8
|
+
dateCellDisabled: 'chili-calendar-date-disabled',
|
|
9
|
+
dateCellSelected: 'chili-calendar-date-selected',
|
|
10
|
+
dateCellToday: 'chili-calendar-date-today',
|
|
11
|
+
dateRow: 'chili-calendar-date-row',
|
|
12
|
+
dateView: 'chili-calendar-date-view',
|
|
13
|
+
footer: 'chili-calendar-footer',
|
|
14
|
+
header: 'chili-calendar-header',
|
|
15
|
+
invalid: 'chili-calendar-invalid',
|
|
16
|
+
monthCell: 'chili-calendar-month-cell',
|
|
17
|
+
monthCellActive: 'chili-calendar-month-cell-active',
|
|
18
|
+
monthCellDisabled: 'chili-calendar-month-cell-disabled',
|
|
19
|
+
monthRow: 'chili-calendar-month-row',
|
|
20
|
+
monthView: 'chili-calendar-month-view',
|
|
21
|
+
nextButton: 'chili-calendar-next-button',
|
|
22
|
+
nextIcon: 'chili-calendar-next-icon',
|
|
23
|
+
prevButton: 'chili-calendar-prev-button',
|
|
24
|
+
prevIcon: 'chili-calendar-prev-icon',
|
|
25
|
+
standalone: 'chili-calendar-standalone',
|
|
26
|
+
standaloneWrapper: 'chili-calendar-standalone-wrapper',
|
|
27
|
+
title: 'chili-calendar-title',
|
|
28
|
+
titleDisabled: 'chili-calendar-title-disabled',
|
|
29
|
+
weekDay: 'chili-calendar-week-day',
|
|
30
|
+
weekDaysRow: 'chili-calendar-week-days-row',
|
|
31
|
+
wrapper: 'chili-calendar-wrapper',
|
|
32
|
+
wrapperTop: 'chili-calendar-top',
|
|
33
|
+
wrapperRight: 'chili-calendar-right',
|
|
34
|
+
yearCell: 'chili-calendar-year-cell',
|
|
35
|
+
yearCellActive: 'chili-calendar-year-cell-active',
|
|
36
|
+
yearCellDisabled: 'chili-calendar-year-cell-disabled',
|
|
37
|
+
yearCellDifferentDecade:'chili-calendar-year-cell-different-decade',
|
|
38
|
+
yearRow: 'chili-calendar-year-row',
|
|
39
|
+
yearView: 'chili-calendar-year-view',
|
|
40
40
|
};
|
|
41
41
|
/* eslint-enable key-spacing */
|