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.
Files changed (111) hide show
  1. package/chili/components/AutoComplete/theme.ts +8 -8
  2. package/chili/components/Button/theme.ts +4 -4
  3. package/chili/components/ButtonGroup/theme.ts +8 -8
  4. package/chili/components/CheckBox/theme.ts +7 -7
  5. package/chili/components/Collapse/theme.ts +4 -4
  6. package/chili/components/DropDownSelect/theme.ts +11 -11
  7. package/chili/components/Icon/icons.tsx +0 -3
  8. package/chili/components/Icon/types.ts +8 -9
  9. package/chili/components/Input/theme.ts +8 -8
  10. package/chili/components/Loader/theme.ts +5 -5
  11. package/chili/components/MaskedInput/theme.ts +7 -7
  12. package/chili/components/Modal/theme.ts +6 -6
  13. package/chili/components/MultiSelect/theme.ts +14 -14
  14. package/chili/components/NumericRange/theme.ts +2 -2
  15. package/chili/components/NumericTextBox/theme.ts +10 -10
  16. package/chili/components/Pagination/theme.ts +18 -18
  17. package/chili/components/Password/theme.ts +12 -12
  18. package/chili/components/ProgressBar/theme.ts +3 -3
  19. package/chili/components/Radio/theme.ts +4 -4
  20. package/chili/components/Rating/theme.ts +6 -6
  21. package/chili/components/Switcher/theme.ts +6 -6
  22. package/chili/components/Tabs/theme.ts +10 -10
  23. package/chili/components/Tags/theme.ts +3 -3
  24. package/chili/components/Textarea/theme.ts +6 -6
  25. package/chili/components/Tooltip/theme.ts +6 -6
  26. package/chili/components/Validation/theme.ts +2 -2
  27. package/chili/src/CalendarBase/theme.ts +37 -37
  28. package/chili/src/DateTimeInput/DateTimeInput.tsx +21 -1
  29. package/chili/src/DateTimeInput/handlers/handleMouseDown.ts +0 -1
  30. package/chili/src/DateTimeInput/handlers/handleReset.ts +3 -1
  31. package/chili/src/DateTimeInput/theme.ts +8 -8
  32. package/chili/src/DateTimeInputRange/theme.ts +2 -2
  33. package/chili/src/SuggestionList/theme.ts +11 -11
  34. package/dist/components/AutoComplete/theme.js +1 -1
  35. package/dist/components/AutoComplete/theme.js.map +1 -1
  36. package/dist/components/Button/theme.js +4 -4
  37. package/dist/components/Button/theme.js.map +1 -1
  38. package/dist/components/ButtonGroup/theme.js +8 -8
  39. package/dist/components/ButtonGroup/theme.js.map +1 -1
  40. package/dist/components/CheckBox/theme.js +7 -7
  41. package/dist/components/CheckBox/theme.js.map +1 -1
  42. package/dist/components/Collapse/theme.js +4 -4
  43. package/dist/components/Collapse/theme.js.map +1 -1
  44. package/dist/components/DropDownSelect/theme.js +1 -1
  45. package/dist/components/DropDownSelect/theme.js.map +1 -1
  46. package/dist/components/Icon/icons.js +0 -3
  47. package/dist/components/Icon/icons.js.map +1 -1
  48. package/dist/components/Icon/types.d.ts +0 -1
  49. package/dist/components/Icon/types.js +0 -1
  50. package/dist/components/Icon/types.js.map +1 -1
  51. package/dist/components/Input/theme.js +8 -8
  52. package/dist/components/Input/theme.js.map +1 -1
  53. package/dist/components/Loader/theme.js +5 -5
  54. package/dist/components/Loader/theme.js.map +1 -1
  55. package/dist/components/MaskedInput/theme.js +7 -7
  56. package/dist/components/MaskedInput/theme.js.map +1 -1
  57. package/dist/components/Modal/theme.js +6 -6
  58. package/dist/components/Modal/theme.js.map +1 -1
  59. package/dist/components/MultiSelect/theme.js +1 -1
  60. package/dist/components/MultiSelect/theme.js.map +1 -1
  61. package/dist/components/NumericRange/theme.js +2 -2
  62. package/dist/components/NumericRange/theme.js.map +1 -1
  63. package/dist/components/NumericTextBox/theme.js +10 -10
  64. package/dist/components/NumericTextBox/theme.js.map +1 -1
  65. package/dist/components/Pagination/theme.js +18 -18
  66. package/dist/components/Pagination/theme.js.map +1 -1
  67. package/dist/components/Password/theme.js +12 -12
  68. package/dist/components/Password/theme.js.map +1 -1
  69. package/dist/components/ProgressBar/theme.js +3 -3
  70. package/dist/components/ProgressBar/theme.js.map +1 -1
  71. package/dist/components/Radio/theme.js +4 -4
  72. package/dist/components/Radio/theme.js.map +1 -1
  73. package/dist/components/Rating/theme.js +6 -6
  74. package/dist/components/Rating/theme.js.map +1 -1
  75. package/dist/components/Switcher/theme.js +6 -6
  76. package/dist/components/Switcher/theme.js.map +1 -1
  77. package/dist/components/Tabs/theme.js +10 -10
  78. package/dist/components/Tabs/theme.js.map +1 -1
  79. package/dist/components/Tags/theme.js +3 -3
  80. package/dist/components/Tags/theme.js.map +1 -1
  81. package/dist/components/Textarea/theme.js +6 -6
  82. package/dist/components/Textarea/theme.js.map +1 -1
  83. package/dist/components/Tooltip/theme.js +6 -6
  84. package/dist/components/Tooltip/theme.js.map +1 -1
  85. package/dist/components/Validation/theme.js +2 -2
  86. package/dist/components/Validation/theme.js.map +1 -1
  87. package/dist/src/CalendarBase/theme.js +37 -37
  88. package/dist/src/CalendarBase/theme.js.map +1 -1
  89. package/dist/src/DateTimeInput/DateTimeInput.js +17 -1
  90. package/dist/src/DateTimeInput/DateTimeInput.js.map +1 -1
  91. package/dist/src/DateTimeInput/handlers/handleMouseDown.d.ts +1 -1
  92. package/dist/src/DateTimeInput/handlers/handleMouseDown.js +1 -1
  93. package/dist/src/DateTimeInput/handlers/handleMouseDown.js.map +1 -1
  94. package/dist/src/DateTimeInput/handlers/handleReset.js +1 -1
  95. package/dist/src/DateTimeInput/handlers/handleReset.js.map +1 -1
  96. package/dist/src/DateTimeInput/theme.js +8 -8
  97. package/dist/src/DateTimeInput/theme.js.map +1 -1
  98. package/dist/src/DateTimeInputRange/theme.js +2 -2
  99. package/dist/src/DateTimeInputRange/theme.js.map +1 -1
  100. package/dist/src/SuggestionList/theme.js +11 -11
  101. package/dist/src/SuggestionList/theme.js.map +1 -1
  102. package/dist/styles/chili.base.css +3 -1
  103. package/docs/src/app/basics/styles/page.tsx +1 -1
  104. package/docs/src/app/form-components/autocomplete/page.tsx +11 -11
  105. package/docs/src/app/form-components/input/page.tsx +11 -11
  106. package/docs/src/app/form-components/rating/page.tsx +5 -5
  107. package/docs/src/app/globals.css +1 -1
  108. package/docs/src/app/layout-components/modal/page.tsx +6 -6
  109. package/docs/src/app/page.tsx +2 -2
  110. package/docs/src/components/header/index.tsx +5 -5
  111. 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: 'ld-input-icon',
7
- input: 'ld-input-element',
8
- inputWrapper: 'ld-input-element-wrapper',
9
- inputWrapperDisabled: 'ld-disabled',
10
- inputWrapperFocused: 'ld-focused',
11
- inputWrapperInvalid: 'ld-danger',
12
- inputWrapperRequired: 'ld-required',
13
- wrapper: 'ld-autocomplete-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: 'ld-btn-disabled',
5
- loading: 'ld-loading',
6
- loadingIcon: 'ld-loading-icon',
7
- wrapper: 'ld-btn',
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: 'ld-button-group-item',
5
- buttonActive: 'ld-button-active',
6
- buttonFirst: 'ld-button-first',
7
- buttonLast: 'ld-button-last',
8
- buttonsWrapper: 'ld-button-group-buttons-wrapper',
9
- wrapper: 'ld-button-group-wrapper',
10
- wrapperDisabled: 'ld-button-disabled',
11
- wrapperRequired: 'ld-required',
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: 'ld-checkbox-input',
4
- label: 'ld-checkbox-label',
5
- icon: 'ld-checkbox-icon',
6
- iconChecked: 'ld-checked',
7
- iconUnchecked: 'ld-unchecked',
8
- invalid: 'ld-checkbox-invalid',
9
- required: 'ld-checkbox-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: 'ld-collapse-icon',
4
- content: 'ld-collapse-content',
5
- summary: 'ld-collapse-summary',
6
- wrapper: 'ld-collapse-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: 'ld-input-element',
7
- inputWrapper: 'ld-input-element-wrapper',
8
- inputWrapperDisabled: 'ld-disabled',
9
- inputWrapperFocused: 'ld-focused',
10
- inputWrapperInvalid: 'ld-danger',
11
- inputWrapperRequired: 'ld-required',
12
- clearIcon: 'ld-input-icon',
13
- selectIcon: 'ld-input-icon',
14
- selectIconClosed: 'ld-closed',
15
- selectIconOpened: 'ld-opened',
16
- wrapper: 'ld-dropdownselect-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: 'ld-input-icon',
4
- input: 'ld-input-element',
5
- inputWrapper: 'ld-input-element-wrapper',
6
- wrapper: 'ld-input-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: 'ld-disabled',
9
- inputWrapperFocused: 'ld-focused',
10
- inputWrapperInvalid: 'ld-danger',
11
- inputWrapperRequired: 'ld-required',
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: 'ld-loader-container',
4
- element: 'ld-loader-element',
5
- fullscreen: 'ld-loader-fullscreen',
6
- wrapper: 'ld-loader-wrapper',
7
- bodyOverflow: 'ld-loader-global',
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: 'ld-danger',
4
- inputWrapperDisabled: 'ld-disabled',
5
- inputWrapperFocused: 'ld-focused',
6
- inputWrapperRequired: 'ld-required',
7
- inputWrapper: 'ld-input-element-wrapper',
8
- input: 'ld-input-element',
9
- wrapper: 'ld-input-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: 'ld-modal-body',
4
- cross: 'ld-modal-cross',
5
- footer: 'ld-modal-footer',
6
- header: 'ld-modal-header',
7
- window: 'ld-modal-window',
8
- wrapper: 'ld-modal-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: 'ld-multiselect-checkbox-wrapper',
6
- checkBoxContainer: 'ld-multiselect-checkbox-container',
7
- checkBoxLabel: 'ld-multiselect-checkbox-label',
8
- clearIcon: 'ld-multiselect-clear-icon',
9
- input: 'ld-multiselect-input',
10
- inputWrapper: 'ld-multiselect-input-wrapper',
11
- inputWrapperDisabled: 'ld-disabled',
12
- inputWrapperFocused: 'ld-focused',
13
- inputWrapperInvalid: 'ld-danger',
14
- inputWrapperRequired: 'ld-required',
15
- placeholder: 'ld-multiselect-placeholder',
16
- tagsContainer: 'ld-multiselect-tags-container',
17
- tagsUnion: 'ld-multiselect-tags-union',
18
- wrapper: 'ld-multiselect-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: 'ld-numeric-range-delimiter',
5
+ delimiter: 'chili-numeric-range-delimiter',
6
6
  from: defaultNumericTextBoxTheme,
7
7
  to: defaultNumericTextBoxTheme,
8
- wrapper: 'ld-numeric-range-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: 'ld-numeric-arrows',
4
- arrowDown: 'ld-numeric-arrow-down',
5
- arrowUp: 'ld-numeric-arrow-up',
6
- input: 'ld-input-element',
7
- inputWrapper: 'ld-input-element-wrapper',
8
- inputWrapperDisabled: 'ld-disabled',
9
- inputWrapperFocused: 'ld-focused',
10
- inputWrapperInvalid: 'ld-danger',
11
- inputWrapperRequired: 'ld-required',
12
- wrapper: 'ld-numeric-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: 'ld-pagination-wrapper',
4
- button: 'ld-pagination-button',
5
- controlButtons: 'ld-pagination-controls',
6
- controlFirst: 'ld-pagination-first',
7
- controlPrev: 'ld-pagination-prev',
8
- controlNext: 'ld-pagination-next',
9
- controlLast: 'ld-pagination-last',
10
- disabled: 'ld-pagination-disabled',
11
- iconFirst: 'ld-pagination-icon-first',
12
- iconPrev: 'ld-pagination-icon-prev',
13
- iconNext: 'ld-pagination-icon-next',
14
- iconLast: 'ld-pagination-icon-last',
15
- infoLabel: 'ld-pagination-info-label',
16
- numberButtons: 'ld-pagination-numbers',
17
- numberSelected: 'ld-pagination-number-selected',
18
- options: 'ld-pagination-options',
19
- optionsLabel: 'ld-pagination-options-label',
20
- optionsWrapper: 'ld-pagination-options-wrapper',
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: 'ld-input-icon',
4
- input: 'ld-input-element',
5
- inputWrapper: 'ld-input-element-wrapper',
6
- inputWrapperDisabled: 'ld-disabled',
7
- inputWrapperFocused: 'ld-focused',
8
- inputWrapperInvalid: 'ld-danger',
9
- inputWrapperRequired: 'ld-required',
10
- isHiddenIcon: 'ld-input-icon',
11
- isVisibleIcon: 'ld-input-icon',
12
- messageWrapper: 'ld-password-message-wrapper',
13
- ruleMessage: 'ld-password-rule-message',
14
- wrapper: 'ld-password-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: 'ld-progressbar-fill',
4
- value: 'ld-progressbar-value',
5
- wrapper: 'ld-progressbar-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: 'ld-radio-input',
4
- item: 'ld-radio-button',
5
- label: 'ld-radio-label',
6
- wrapper: 'ld-radio-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: 'ld-rating-disabled',
4
- invalid: 'ld-rating-invalid',
5
- item: 'ld-rating-item',
6
- itemFilled: 'ld-filled',
7
- itemWrapper: 'ld-rating-item-wrapper',
8
- wrapper: 'ld-rating-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: 'ld-switcher-active',
4
- disabled: 'ld-switcher-disabled',
5
- handle: 'ld-switcher-handler',
6
- label: 'ld-switcher-label',
7
- switcher: 'ld-switcher',
8
- wrapper: 'ld-switcher-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: 'ld-tabs-arrow ld-tabs-arrow-left',
4
- arrowRight: 'ld-tabs-arrow ld-tabs-arrow-right',
5
- container: 'ld-tabs-container',
6
- content: 'ld-tabs-content',
7
- scroll: 'ld-tab-scroll',
8
- tab: 'ld-tab',
9
- tabActive: 'ld-tab-active',
10
- tabDisabled: 'ld-tab-disabled',
11
- tabsBar: 'ld-tabs-bar',
12
- wrapper: 'ld-tabs-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: 'ld-tag-icon',
4
- tag: 'ld-tag',
5
- wrapper: 'ld-tags-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: 'ld-textarea',
4
- wrapper: 'ld-textarea-wrapper',
5
- inputFocused: 'ld-focused',
6
- inputDisabled: 'ld-disabled',
7
- inputInvalid: 'ld-danger',
8
- inputRequired: 'ld-required',
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: 'ld-tooltip',
4
- top: 'ld-tooltip ld-top',
5
- left: 'ld-tooltip ld-left',
6
- right: 'ld-tooltip ld-right',
7
- bottom: 'ld-tooltip ld-bottom',
8
- wrapper: 'ld-tooltip-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: 'ld-invalid-message',
4
- invalidMessagesList: 'ld-invalid-messages-list',
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: 'ld-calendar-button-disabled',
4
- dateCell: 'ld-calendar-date',
5
- dateCellActive: 'ld-calendar-date-active',
6
- dateCellDayOff: 'ld-calendar-date-day-off',
7
- dateCellDifferentMonth: 'ld-calendar-date-different-month',
8
- dateCellDisabled: 'ld-calendar-date-disabled',
9
- dateCellSelected: 'ld-calendar-date-selected',
10
- dateCellToday: 'ld-calendar-date-today',
11
- dateRow: 'ld-calendar-date-row',
12
- dateView: 'ld-calendar-date-view',
13
- footer: 'ld-calendar-footer',
14
- header: 'ld-calendar-header',
15
- invalid: 'ld-calendar-invalid',
16
- monthCell: 'ld-calendar-month-cell',
17
- monthCellActive: 'ld-calendar-month-cell-active',
18
- monthCellDisabled: 'ld-calendar-month-cell-disabled',
19
- monthRow: 'ld-calendar-month-row',
20
- monthView: 'ld-calendar-month-view',
21
- nextButton: 'ld-calendar-next-button',
22
- nextIcon: 'ld-calendar-next-icon',
23
- prevButton: 'ld-calendar-prev-button',
24
- prevIcon: 'ld-calendar-prev-icon',
25
- standalone: 'ld-calendar-standalone',
26
- standaloneWrapper: 'ld-calendar-standalone-wrapper',
27
- title: 'ld-calendar-title',
28
- titleDisabled: 'ld-calendar-title-disabled',
29
- weekDay: 'ld-calendar-week-day',
30
- weekDaysRow: 'ld-calendar-week-days-row',
31
- wrapper: 'ld-calendar-wrapper',
32
- wrapperTop: 'ld-calendar-top',
33
- wrapperRight: 'ld-calendar-right',
34
- yearCell: 'ld-calendar-year-cell',
35
- yearCellActive: 'ld-calendar-year-cell-active',
36
- yearCellDisabled: 'ld-calendar-year-cell-disabled',
37
- yearCellDifferentDecade:'ld-calendar-year-cell-different-decade',
38
- yearRow: 'ld-calendar-year-row',
39
- yearView: 'ld-calendar-year-view',
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 */