@itcase/ui 1.1.15 → 1.1.16

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 (212) hide show
  1. package/dist/{Accordion-DyOfdiGd.js → Accordion-DF2lqrVA.js} +15 -9
  2. package/dist/{Cell-DftU408q.js → Cell-D9Wa7coO.js} +4 -1
  3. package/dist/{Checkbox-C-H_Z4S_.js → Checkbox-i0qZk0sb.js} +8 -7
  4. package/dist/{Chips-BR_EPV82.js → Chips-BdK4kVmq.js} +9 -3
  5. package/dist/{DadataHintField-QzDwYdF1.js → DadataHintField-CHJLsVjJ.js} +1 -1
  6. package/dist/{DatePicker-CUmrPZZ-.js → DatePicker-CAgJ_CIz.js} +1 -1
  7. package/dist/{Input-CYMKQ0qF.js → Input-CYDtAlO-.js} +14 -12
  8. package/dist/{Logo-D6UNcO5P.js → Logo-D4NFjeqd.js} +2 -2
  9. package/dist/{ModalLoader-8l8YtIvz.js → ModalLoader-D17lZhS7.js} +8 -1
  10. package/dist/{Response-DzfL5Sy8.js → Response-m-8zeYeD.js} +2 -2
  11. package/dist/cjs/{Accordion-UbOVpiO4.js → Accordion-rCFDAon3.js} +15 -9
  12. package/dist/cjs/{Cell-BhsGTfV-.js → Cell-DEBk3Rbp.js} +4 -1
  13. package/dist/cjs/{Checkbox-B-1dwjii.js → Checkbox-BIvndDsy.js} +8 -7
  14. package/dist/cjs/{Chips-BcJttN22.js → Chips-i7zrI9aU.js} +9 -3
  15. package/dist/cjs/{DadataHintField-DQHPRLs0.js → DadataHintField-z7Mw-xDn.js} +1 -1
  16. package/dist/cjs/{DatePicker-DOmOhaU3.js → DatePicker-e4-8mC1N.js} +1 -1
  17. package/dist/cjs/{Input-BqKlyvEt.js → Input-vwyG3XF0.js} +13 -11
  18. package/dist/cjs/{Logo-De74wmbt.js → Logo-CcEF4P2z.js} +2 -2
  19. package/dist/cjs/{ModalLoader-A2KkSC3x.js → ModalLoader-Cddzca-W.js} +8 -1
  20. package/dist/cjs/{Response-DOQQr9jP.js → Response-CwdUpO-8.js} +2 -2
  21. package/dist/cjs/components/Accordion/Accordion.d.ts +2 -2
  22. package/dist/cjs/components/Accordion/Accordion.interface.d.ts +52 -52
  23. package/dist/cjs/components/Accordion/AccordionItem.d.ts +2 -2
  24. package/dist/cjs/components/Accordion.js +1 -1
  25. package/dist/cjs/components/Avatar/Avatar.interface.d.ts +12 -12
  26. package/dist/cjs/components/Badge/Badge.interface.d.ts +13 -13
  27. package/dist/cjs/components/Breadcrumbs/Breadcrumbs.interface.d.ts +35 -35
  28. package/dist/cjs/components/Button/Button.interface.d.ts +26 -26
  29. package/dist/cjs/components/Caption/Caption.interface.d.ts +7 -7
  30. package/dist/cjs/components/Card/Card.interface.d.ts +13 -13
  31. package/dist/cjs/components/Cell/Cell.interface.d.ts +27 -27
  32. package/dist/cjs/components/Cell.js +1 -1
  33. package/dist/cjs/components/Checkbox/Checkbox.d.ts +3 -3
  34. package/dist/cjs/components/Checkbox/Checkbox.interface.d.ts +43 -44
  35. package/dist/cjs/components/Checkbox.js +1 -1
  36. package/dist/cjs/components/Chips/Chips.interface.d.ts +19 -16
  37. package/dist/cjs/components/Chips.js +1 -1
  38. package/dist/cjs/components/Choice/Choice.interface.d.ts +25 -25
  39. package/dist/cjs/components/Code/Code.interface.d.ts +16 -16
  40. package/dist/cjs/components/ContextMenu/ContextMenu.interface.d.ts +18 -18
  41. package/dist/cjs/components/CookiesWarning/CookiesWarning.interface.d.ts +9 -9
  42. package/dist/cjs/components/DadataHintField/DadataHintField.interface.d.ts +3 -3
  43. package/dist/cjs/components/DadataHintField.js +2 -2
  44. package/dist/cjs/components/DatePicker/DatePicker.interface.d.ts +46 -46
  45. package/dist/cjs/components/DatePicker.js +2 -2
  46. package/dist/cjs/components/Divider/Divider.interface.d.ts +23 -23
  47. package/dist/cjs/components/Dot/Dot.interface.d.ts +16 -16
  48. package/dist/cjs/components/Drawer/Drawer.interface.d.ts +2 -2
  49. package/dist/cjs/components/Dropdown/Dropdown.interface.d.ts +26 -26
  50. package/dist/cjs/components/Flex/Flex.interface.d.ts +30 -30
  51. package/dist/cjs/components/FormField/FormFiled.interface.d.ts +45 -45
  52. package/dist/cjs/components/Grid/Grid.interface.d.ts +31 -31
  53. package/dist/cjs/components/Group/Group.interface.d.ts +14 -14
  54. package/dist/cjs/components/Icon/Icon.interface.d.ts +29 -29
  55. package/dist/cjs/components/Image/Image.interface.d.ts +8 -8
  56. package/dist/cjs/components/Input/Input.d.ts +3 -3
  57. package/dist/cjs/components/Input/Input.interface.d.ts +36 -38
  58. package/dist/cjs/components/Input.js +1 -1
  59. package/dist/cjs/components/InputMask/Input.d.ts +3 -3
  60. package/dist/cjs/components/InputMask/Input.interface.d.ts +32 -32
  61. package/dist/cjs/components/InputPassword/InputPassword.interface.d.ts +30 -30
  62. package/dist/cjs/components/Label/Label.interface.d.ts +15 -15
  63. package/dist/cjs/components/Link/Link.interface.d.ts +21 -21
  64. package/dist/cjs/components/List/List.interface.d.ts +11 -11
  65. package/dist/cjs/components/Loader/Loader.interface.d.ts +11 -11
  66. package/dist/cjs/components/Logo/Logo.interface.d.ts +5 -5
  67. package/dist/cjs/components/Logo.js +1 -1
  68. package/dist/cjs/components/Menu/Menu.interface.d.ts +5 -5
  69. package/dist/cjs/components/MenuItem/MenuItem.interface.d.ts +21 -21
  70. package/dist/cjs/components/Modal/Modal.interface.d.ts +4 -4
  71. package/dist/cjs/components/Modal.js +1 -1
  72. package/dist/cjs/components/Notification/Notification.interface.d.ts +16 -16
  73. package/dist/cjs/components/Overlay/Overlay.interface.d.ts +4 -4
  74. package/dist/cjs/components/Pagination/Pagination.interface.d.ts +20 -20
  75. package/dist/cjs/components/Panel/Panel.interface.d.ts +19 -19
  76. package/dist/cjs/components/Radio/Radio.interface.d.ts +25 -25
  77. package/dist/cjs/components/RangeSlider/RangeSlider.interface.d.ts +12 -12
  78. package/dist/cjs/components/Response/Response.interface.d.ts +30 -28
  79. package/dist/cjs/components/Response.js +1 -1
  80. package/dist/cjs/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +9 -9
  81. package/dist/cjs/components/Scrollbar/Scrollbar.interface.d.ts +2 -2
  82. package/dist/cjs/components/Search/Search.interface.d.ts +23 -23
  83. package/dist/cjs/components/Segmented/Segmented.interface.d.ts +14 -14
  84. package/dist/cjs/components/SiteMenu/SiteMenu.interface.d.ts +9 -9
  85. package/dist/cjs/components/Swiper/Swiper.interface.d.ts +7 -7
  86. package/dist/cjs/components/Switch/Switch.interface.d.ts +2 -2
  87. package/dist/cjs/components/Tab/Tab.interface.d.ts +29 -29
  88. package/dist/cjs/components/Text/Text.interface.d.ts +20 -20
  89. package/dist/cjs/components/Textarea/Textarea.interface.d.ts +17 -17
  90. package/dist/cjs/components/Tile/Tile.interface.d.ts +15 -15
  91. package/dist/cjs/components/Title/Title.interface.d.ts +9 -9
  92. package/dist/cjs/components/Tooltip/Tooltip.interface.d.ts +13 -13
  93. package/dist/cjs/components/Video/Video.interface.d.ts +2 -2
  94. package/dist/cjs/components/Wrapper/Wrapper.interface.d.ts +4 -4
  95. package/dist/cjs/components.js +10 -10
  96. package/dist/cjs/constants/componentProps/textColor.js +1 -1
  97. package/dist/cjs/constants/componentProps/textColorActive.js +1 -1
  98. package/dist/cjs/constants/componentProps/textColorHover.js +1 -1
  99. package/dist/cjs/hooks/styleAttributes.interface.d.ts +4 -4
  100. package/dist/cjs/types/componentProps/appearanceKeys.d.ts +1 -1
  101. package/dist/cjs/types/componentProps/borderColor.d.ts +1 -1
  102. package/dist/cjs/types/componentProps/borderWidth.d.ts +1 -1
  103. package/dist/cjs/types/componentProps/direction.d.ts +1 -1
  104. package/dist/cjs/types/componentProps/fill.d.ts +1 -1
  105. package/dist/cjs/types/componentProps/fillHover.d.ts +1 -1
  106. package/dist/cjs/types/componentProps/height.d.ts +1 -1
  107. package/dist/cjs/types/componentProps/itemColor.d.ts +1 -1
  108. package/dist/cjs/types/componentProps/shape.d.ts +1 -1
  109. package/dist/cjs/types/componentProps/size.d.ts +1 -1
  110. package/dist/cjs/types/componentProps/stateKeys.d.ts +1 -1
  111. package/dist/cjs/types/componentProps/textColor.d.ts +1 -1
  112. package/dist/cjs/types/componentProps/textSize.d.ts +1 -1
  113. package/dist/cjs/types/componentProps/textWeight.d.ts +1 -1
  114. package/dist/cjs/types/componentProps/width.d.ts +1 -1
  115. package/dist/cjs/types/index.d.ts +13 -13
  116. package/dist/components/Accordion/Accordion.d.ts +2 -2
  117. package/dist/components/Accordion/Accordion.interface.d.ts +52 -52
  118. package/dist/components/Accordion/AccordionItem.d.ts +2 -2
  119. package/dist/components/Accordion.js +1 -1
  120. package/dist/components/Avatar/Avatar.interface.d.ts +12 -12
  121. package/dist/components/Badge/Badge.interface.d.ts +13 -13
  122. package/dist/components/Breadcrumbs/Breadcrumbs.interface.d.ts +35 -35
  123. package/dist/components/Button/Button.interface.d.ts +26 -26
  124. package/dist/components/Caption/Caption.interface.d.ts +7 -7
  125. package/dist/components/Card/Card.interface.d.ts +13 -13
  126. package/dist/components/Cell/Cell.interface.d.ts +27 -27
  127. package/dist/components/Cell.js +1 -1
  128. package/dist/components/Checkbox/Checkbox.d.ts +3 -3
  129. package/dist/components/Checkbox/Checkbox.interface.d.ts +43 -44
  130. package/dist/components/Checkbox.js +1 -1
  131. package/dist/components/Chips/Chips.interface.d.ts +19 -16
  132. package/dist/components/Chips.js +1 -1
  133. package/dist/components/Choice/Choice.interface.d.ts +25 -25
  134. package/dist/components/Code/Code.interface.d.ts +16 -16
  135. package/dist/components/ContextMenu/ContextMenu.interface.d.ts +18 -18
  136. package/dist/components/CookiesWarning/CookiesWarning.interface.d.ts +9 -9
  137. package/dist/components/DadataHintField/DadataHintField.interface.d.ts +3 -3
  138. package/dist/components/DadataHintField.js +2 -2
  139. package/dist/components/DatePicker/DatePicker.interface.d.ts +46 -46
  140. package/dist/components/DatePicker.js +2 -2
  141. package/dist/components/Divider/Divider.interface.d.ts +23 -23
  142. package/dist/components/Dot/Dot.interface.d.ts +16 -16
  143. package/dist/components/Drawer/Drawer.interface.d.ts +2 -2
  144. package/dist/components/Dropdown/Dropdown.interface.d.ts +26 -26
  145. package/dist/components/Flex/Flex.interface.d.ts +30 -30
  146. package/dist/components/FormField/FormFiled.interface.d.ts +45 -45
  147. package/dist/components/Grid/Grid.interface.d.ts +31 -31
  148. package/dist/components/Group/Group.interface.d.ts +14 -14
  149. package/dist/components/Icon/Icon.interface.d.ts +29 -29
  150. package/dist/components/Image/Image.interface.d.ts +8 -8
  151. package/dist/components/Input/Input.d.ts +3 -3
  152. package/dist/components/Input/Input.interface.d.ts +36 -38
  153. package/dist/components/Input.js +1 -1
  154. package/dist/components/InputMask/Input.d.ts +3 -3
  155. package/dist/components/InputMask/Input.interface.d.ts +32 -32
  156. package/dist/components/InputPassword/InputPassword.interface.d.ts +30 -30
  157. package/dist/components/Label/Label.interface.d.ts +15 -15
  158. package/dist/components/Link/Link.interface.d.ts +21 -21
  159. package/dist/components/List/List.interface.d.ts +11 -11
  160. package/dist/components/Loader/Loader.interface.d.ts +11 -11
  161. package/dist/components/Logo/Logo.interface.d.ts +5 -5
  162. package/dist/components/Logo.js +1 -1
  163. package/dist/components/Menu/Menu.interface.d.ts +5 -5
  164. package/dist/components/MenuItem/MenuItem.interface.d.ts +21 -21
  165. package/dist/components/Modal/Modal.interface.d.ts +4 -4
  166. package/dist/components/Modal.js +1 -1
  167. package/dist/components/Notification/Notification.interface.d.ts +16 -16
  168. package/dist/components/Overlay/Overlay.interface.d.ts +4 -4
  169. package/dist/components/Pagination/Pagination.interface.d.ts +20 -20
  170. package/dist/components/Panel/Panel.interface.d.ts +19 -19
  171. package/dist/components/Radio/Radio.interface.d.ts +25 -25
  172. package/dist/components/RangeSlider/RangeSlider.interface.d.ts +12 -12
  173. package/dist/components/Response/Response.interface.d.ts +30 -28
  174. package/dist/components/Response.js +1 -1
  175. package/dist/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +9 -9
  176. package/dist/components/Scrollbar/Scrollbar.interface.d.ts +2 -2
  177. package/dist/components/Search/Search.interface.d.ts +23 -23
  178. package/dist/components/Segmented/Segmented.interface.d.ts +14 -14
  179. package/dist/components/SiteMenu/SiteMenu.interface.d.ts +9 -9
  180. package/dist/components/Swiper/Swiper.interface.d.ts +7 -7
  181. package/dist/components/Switch/Switch.interface.d.ts +2 -2
  182. package/dist/components/Tab/Tab.interface.d.ts +29 -29
  183. package/dist/components/Text/Text.interface.d.ts +20 -20
  184. package/dist/components/Textarea/Textarea.interface.d.ts +17 -17
  185. package/dist/components/Tile/Tile.interface.d.ts +15 -15
  186. package/dist/components/Title/Title.interface.d.ts +9 -9
  187. package/dist/components/Tooltip/Tooltip.interface.d.ts +13 -13
  188. package/dist/components/Video/Video.interface.d.ts +2 -2
  189. package/dist/components/Wrapper/Wrapper.interface.d.ts +4 -4
  190. package/dist/components.js +10 -10
  191. package/dist/constants/componentProps/textColor.js +1 -1
  192. package/dist/constants/componentProps/textColorActive.js +1 -1
  193. package/dist/constants/componentProps/textColorHover.js +1 -1
  194. package/dist/css/components/RangeSlider/RangeSlider.css +4 -1
  195. package/dist/hooks/styleAttributes.interface.d.ts +4 -4
  196. package/dist/types/componentProps/appearanceKeys.d.ts +1 -1
  197. package/dist/types/componentProps/borderColor.d.ts +1 -1
  198. package/dist/types/componentProps/borderWidth.d.ts +1 -1
  199. package/dist/types/componentProps/direction.d.ts +1 -1
  200. package/dist/types/componentProps/fill.d.ts +1 -1
  201. package/dist/types/componentProps/fillHover.d.ts +1 -1
  202. package/dist/types/componentProps/height.d.ts +1 -1
  203. package/dist/types/componentProps/itemColor.d.ts +1 -1
  204. package/dist/types/componentProps/shape.d.ts +1 -1
  205. package/dist/types/componentProps/size.d.ts +1 -1
  206. package/dist/types/componentProps/stateKeys.d.ts +1 -1
  207. package/dist/types/componentProps/textColor.d.ts +1 -1
  208. package/dist/types/componentProps/textSize.d.ts +1 -1
  209. package/dist/types/componentProps/textWeight.d.ts +1 -1
  210. package/dist/types/componentProps/width.d.ts +1 -1
  211. package/dist/types/index.d.ts +13 -13
  212. package/package.json +4 -4
@@ -1,10 +1,10 @@
1
1
  import { ElementType, ReactNode } from 'react';
2
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
3
- import { directionPropsType, fillPropsType, iconFillSizePropsType, itemColorPropsType, shapePropsType, sizePropsType, textAlignPropsType, textColorPropsType, textSizePropsType, textWeightPropsType, textWrapPropsType } from '../../types';
4
- import { appearanceKeysDefaultType } from '../../types/componentProps/appearanceKeys';
5
- type appearanceKeysType = appearanceKeysDefaultType & {};
6
- export interface ICellProps extends TypeStyleAttributes {
7
- direction?: directionPropsType;
2
+ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
3
+ import { tDirectionProps, tFillProps, iconFillSizePropsType, tItemColorProps, tShapeProps, tSizeProps, textAlignPropsType, tTextColorProps, tTextSizeProps, tTextWeightProps, textWrapPropsType } from '../../types';
4
+ import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
5
+ type appearanceKeysType = tAppearanceKeysDefault & {};
6
+ export interface ICellProps extends iStyleAttributes {
7
+ direction?: tDirectionProps;
8
8
  after?: ReactNode;
9
9
  before?: ReactNode;
10
10
  className?: string;
@@ -15,44 +15,44 @@ export interface ICellProps extends TypeStyleAttributes {
15
15
  set?: string;
16
16
  showTitleLabel?: boolean;
17
17
  showValueLabel?: boolean;
18
- size?: sizePropsType;
18
+ size?: tSizeProps;
19
19
  title?: any;
20
20
  titleIcon?: ElementType;
21
- titleIconFill?: fillPropsType;
22
- titleIconFillHover?: itemColorPropsType;
21
+ titleIconFill?: tFillProps;
22
+ titleIconFillHover?: tItemColorProps;
23
23
  titleIconFillSize?: iconFillSizePropsType;
24
- titleIconItemFill?: itemColorPropsType;
25
- titleIconShape?: shapePropsType;
24
+ titleIconItemFill?: tItemColorProps;
25
+ titleIconShape?: tShapeProps;
26
26
  titleIconSrc?: string;
27
27
  titleLabel?: string;
28
28
  titleLabelAppearance?: appearanceKeysType;
29
- titleLabelShape?: shapePropsType;
30
- titleLabelSize?: sizePropsType;
31
- titleLabelTextSize?: textSizePropsType;
29
+ titleLabelShape?: tShapeProps;
30
+ titleLabelSize?: tSizeProps;
31
+ titleLabelTextSize?: tTextSizeProps;
32
32
  titleTag?: ElementType;
33
- titleTextColor?: textColorPropsType;
34
- titleTextSize?: textSizePropsType;
33
+ titleTextColor?: tTextColorProps;
34
+ titleTextSize?: tTextSizeProps;
35
35
  titleTextTruncate?: boolean;
36
- titleTextWeight?: textWeightPropsType;
36
+ titleTextWeight?: tTextWeightProps;
37
37
  titleTextWrap?: textWrapPropsType;
38
38
  value?: any;
39
39
  valueIcon?: ElementType;
40
- valueIconFill?: fillPropsType;
41
- valueIconFillHover?: itemColorPropsType;
40
+ valueIconFill?: tFillProps;
41
+ valueIconFillHover?: tItemColorProps;
42
42
  valueIconFillSize?: iconFillSizePropsType;
43
- valueIconItemFill?: itemColorPropsType;
44
- valueIconShape?: shapePropsType;
43
+ valueIconItemFill?: tItemColorProps;
44
+ valueIconShape?: tShapeProps;
45
45
  valueIconSrc?: string;
46
46
  valueLabel?: string;
47
47
  valueLabelAppearance?: appearanceKeysType;
48
- valueLabelShape?: shapePropsType;
49
- valueLabelSize?: sizePropsType;
50
- valueLabelTextSize?: textSizePropsType;
48
+ valueLabelShape?: tShapeProps;
49
+ valueLabelSize?: tSizeProps;
50
+ valueLabelTextSize?: tTextSizeProps;
51
51
  valueTag?: ElementType;
52
52
  valueTextAlign?: textAlignPropsType;
53
- valueTextColor?: textColorPropsType;
54
- valueTextSize?: textSizePropsType;
55
- valueTextWeight?: textWeightPropsType;
53
+ valueTextColor?: tTextColorProps;
54
+ valueTextSize?: tTextSizeProps;
55
+ valueTextWeight?: tTextWeightProps;
56
56
  valueTextWrap?: textWrapPropsType;
57
57
  zeroGap?: boolean;
58
58
  zeroPadding?: boolean;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var Cell = require('../Cell-BhsGTfV-.js');
3
+ var Cell = require('../Cell-DEBk3Rbp.js');
4
4
  require('../jsx-runtime-BBxmckJR.js');
5
5
  require('react');
6
6
  require('clsx');
@@ -1,6 +1,6 @@
1
- import { ICheckboxConfig, ICheckboxProps } from './Checkbox.interface';
2
- declare const checkboxConfig: ICheckboxConfig;
3
- declare function Checkbox(props: ICheckboxProps): import("react/jsx-runtime").JSX.Element;
1
+ import type { iCheckboxConfig, iCheckboxProps } from './Checkbox.interface';
2
+ declare const checkboxConfig: iCheckboxConfig;
3
+ declare function Checkbox(props: iCheckboxProps): import("react/jsx-runtime").JSX.Element;
4
4
  declare namespace Checkbox {
5
5
  var defaultProps: {
6
6
  tag: string;
@@ -1,57 +1,56 @@
1
- import { ElementType, ReactNode } from 'react';
2
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
3
- import { borderColorPropsType, borderWidthPropsType, fillPropsType, itemColorPropsType, shapePropsType, textColorPropsType, textSizePropsType, textWeightPropsType, widthPropsType } from '../../types';
4
- import { appearanceKeysDefaultType } from '../../types/componentProps/appearanceKeys';
5
- export interface ICheckboxThemeColor {
6
- descTextColor?: textColorPropsType;
7
- descTextSize?: textSizePropsType;
8
- descTextWeight?: textWeightPropsType;
9
- fill?: fillPropsType;
10
- labelTextColor?: textColorPropsType;
11
- labelTextSize?: textSizePropsType;
12
- labelTextWeight?: textWeightPropsType;
13
- shape?: shapePropsType;
14
- stateBorderColor?: borderColorPropsType;
15
- stateBorderColorChecked?: borderColorPropsType;
16
- stateBorderColorDisabled?: borderColorPropsType;
17
- stateBorderColorDisabledChecked?: borderColorPropsType;
18
- stateBorderWidth?: borderWidthPropsType;
19
- stateCheckmarkFill?: itemColorPropsType;
20
- stateCheckmarkFillDisabled?: itemColorPropsType;
21
- stateFill?: fillPropsType;
22
- stateFillChecked?: fillPropsType;
23
- stateFillDisabled?: fillPropsType;
24
- stateFillDisabledChecked?: fillPropsType;
25
- stateShape?: shapePropsType;
26
- width?: widthPropsType;
27
- }
28
- type appearanceKeysType = appearanceKeysDefaultType & {};
29
- export type checkboxStateType = {
30
- [key in appearanceKeysType]?: ICheckboxThemeColor;
1
+ import type { ElementType, ReactNode } from 'react';
2
+ import type { iStyleAttributes } from '../../hooks/styleAttributes.interface';
3
+ import type { tBorderColorProps, tBorderWidthProps, tFillProps, tItemColorProps, tShapeProps, tTextColorProps, tTextSizeProps, tTextWeightProps, tWidthProps } from '../../types';
4
+ import type { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
5
+ type tCheckboxState = {
6
+ [key in tAppearanceKeysDefault]?: iCheckboxThemeColor;
31
7
  };
32
- export type checkboxAppearanceType = {
33
- [key in appearanceKeysType]?: ICheckboxThemeColor;
8
+ type tCheckboxAppearance = {
9
+ [key in tAppearanceKeysDefault]?: iCheckboxThemeColor;
34
10
  };
35
- export interface ICheckboxConfig {
36
- state: checkboxStateType | undefined;
37
- setState: (newComponent: checkboxStateType) => void;
38
- appearance: checkboxAppearanceType | undefined;
39
- setAppearance: (newComponent: checkboxAppearanceType) => void;
11
+ interface iCheckboxThemeColor {
12
+ descTextColor?: tTextColorProps;
13
+ descTextSize?: tTextSizeProps;
14
+ descTextWeight?: tTextWeightProps;
15
+ fill?: tFillProps;
16
+ labelTextColor?: tTextColorProps;
17
+ labelTextSize?: tTextSizeProps;
18
+ labelTextWeight?: tTextWeightProps;
19
+ shape?: tShapeProps;
20
+ stateBorderColor?: tBorderColorProps;
21
+ stateBorderColorChecked?: tBorderColorProps;
22
+ stateBorderColorDisabled?: tBorderColorProps;
23
+ stateBorderColorDisabledChecked?: tBorderColorProps;
24
+ stateBorderWidth?: tBorderWidthProps;
25
+ stateCheckmarkFill?: tItemColorProps;
26
+ stateCheckmarkFillDisabled?: tItemColorProps;
27
+ stateFill?: tFillProps;
28
+ stateFillChecked?: tFillProps;
29
+ stateFillDisabled?: tFillProps;
30
+ stateFillDisabledChecked?: tFillProps;
31
+ stateShape?: tShapeProps;
32
+ width?: tWidthProps;
33
+ }
34
+ interface iCheckboxConfig {
35
+ appearance: tCheckboxAppearance | undefined;
36
+ state: tCheckboxState | undefined;
37
+ setAppearance: (newComponent: tCheckboxAppearance) => void;
38
+ setState: (newComponent: tCheckboxState) => void;
40
39
  }
41
- export interface ICheckboxProps extends ICheckboxThemeColor, TypeStyleAttributes {
40
+ interface iCheckboxProps extends iCheckboxThemeColor, iStyleAttributes {
41
+ id?: number | string;
42
42
  Tag?: ElementType;
43
43
  after?: ReactNode;
44
- appearance?: appearanceKeysType;
44
+ appearance?: tAppearanceKeysDefault;
45
45
  before?: ReactNode;
46
46
  checked?: boolean;
47
47
  className?: string;
48
48
  desc?: string;
49
49
  disabled?: boolean;
50
- id?: number | string;
51
50
  label?: string;
52
51
  value?: string;
53
- onBlur?: () => void;
54
- onChange?: () => void;
55
- onFocus?: () => void;
52
+ onBlur?: (event: React.ChangeEvent<HTMLInputElement>) => void;
53
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
54
+ onFocus?: (event: React.ChangeEvent<HTMLInputElement>) => void;
56
55
  }
57
- export {};
56
+ export type { iCheckboxThemeColor, tCheckboxState, tCheckboxAppearance, iCheckboxConfig, iCheckboxProps, };
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var Checkbox = require('../Checkbox-B-1dwjii.js');
3
+ var Checkbox = require('../Checkbox-BIvndDsy.js');
4
4
  require('../jsx-runtime-BBxmckJR.js');
5
5
  require('react');
6
6
  require('clsx');
@@ -1,27 +1,29 @@
1
1
  import { CSSProperties, ReactNode } from 'react';
2
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
3
- import { alignDirectionPropsType, alignPropsType, borderColorPropsType, borderTypePropsType, fillHoverPropsType, fillPropsType, shapePropsType, sizePropsType, textColorPropsType, textSizePropsType, textWeightPropsType } from '../../types';
4
- import { appearanceKeysDefaultType } from '../../types/componentProps/appearanceKeys';
2
+ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
3
+ import { alignDirectionPropsType, alignPropsType, tBorderColorProps, borderTypePropsType, tFillHoverProps, tFillProps, tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps, tTextWeightProps } from '../../types';
4
+ import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
5
5
  export interface IChipsThemeColor {
6
6
  align?: alignPropsType;
7
7
  alignDirection?: alignDirectionPropsType;
8
- borderColor?: borderColorPropsType;
9
- borderColorDesktop?: borderColorPropsType;
10
- borderColorMobile?: borderColorPropsType;
11
- borderColorTablet?: borderColorPropsType;
8
+ borderColor?: tBorderColorProps;
9
+ borderColorDesktop?: tBorderColorProps;
10
+ borderColorMobile?: tBorderColorProps;
11
+ borderColorTablet?: tBorderColorProps;
12
12
  borderType?: borderTypePropsType;
13
13
  borderTypeDesktop?: borderTypePropsType;
14
14
  borderTypeMobile?: borderTypePropsType;
15
15
  borderTypeTablet?: borderTypePropsType;
16
- fill?: fillPropsType;
17
- fillHover?: fillHoverPropsType;
18
- labelSize?: textSizePropsType;
19
- labelTextColor?: textColorPropsType;
20
- labelTextWeight?: textWeightPropsType;
21
- shape?: shapePropsType;
22
- size?: sizePropsType;
16
+ fill?: tFillProps;
17
+ fillActive?: tFillProps;
18
+ fillHover?: tFillHoverProps;
19
+ labelTextActiveColor?: tTextColorProps;
20
+ labelTextColor?: tTextColorProps;
21
+ labelTextSize?: tTextSizeProps;
22
+ labelTextWeight?: tTextWeightProps;
23
+ shape?: tShapeProps;
24
+ size?: tSizeProps;
23
25
  }
24
- type appearanceKeysType = appearanceKeysDefaultType & {};
26
+ type appearanceKeysType = tAppearanceKeysDefault & {};
25
27
  export type chipsAppearanceType = {
26
28
  [key in appearanceKeysType]?: IChipsThemeColor;
27
29
  };
@@ -29,11 +31,12 @@ export interface IChipsConfig {
29
31
  appearance: chipsAppearanceType | undefined;
30
32
  setAppearance: (newComponent: chipsAppearanceType) => void;
31
33
  }
32
- export interface IChipsProps extends IChipsThemeColor, TypeStyleAttributes {
34
+ export interface IChipsProps extends IChipsThemeColor, iStyleAttributes {
33
35
  appearance?: appearanceKeysType;
34
36
  children?: ReactNode;
35
37
  className?: string;
36
38
  cursor?: string;
39
+ isActive?: boolean;
37
40
  label?: string;
38
41
  style?: CSSProperties;
39
42
  type?: string;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var Chips = require('../Chips-BcJttN22.js');
3
+ var Chips = require('../Chips-i7zrI9aU.js');
4
4
  require('../jsx-runtime-BBxmckJR.js');
5
5
  require('react');
6
6
  require('clsx');
@@ -1,29 +1,29 @@
1
1
  import { ReactNode } from 'react';
2
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
3
- import { borderColorPropsType, borderTypePropsType, borderWidthPropsType, fillHoverPropsType, fillPropsType, iconSizePropsType, itemColorPropsType, shapePropsType, sizeOptionPropsType, textColorPropsType, textSizePropsType, textWeightPropsType } from '../../types';
4
- import { appearanceKeysDefaultType } from '../../types/componentProps/appearanceKeys';
2
+ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
3
+ import { tBorderColorProps, borderTypePropsType, tBorderWidthProps, tFillHoverProps, tFillProps, iconSizePropsType, tItemColorProps, tShapeProps, sizeOptionPropsType, tTextColorProps, tTextSizeProps, tTextWeightProps } from '../../types';
4
+ import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
5
5
  export interface IChoiceThemeColor {
6
- activeIconItemFill?: itemColorPropsType;
7
- borderColor?: borderColorPropsType;
6
+ activeIconItemFill?: tItemColorProps;
7
+ borderColor?: tBorderColorProps;
8
8
  borderType?: borderTypePropsType;
9
- borderWidth?: borderWidthPropsType;
10
- fill?: fillPropsType;
11
- fillActive?: fillPropsType;
12
- fillActiveDisabled?: fillPropsType;
13
- fillDisabled?: fillPropsType;
14
- fillHover?: fillHoverPropsType;
15
- iconFillDisabled?: itemColorPropsType;
16
- iconItemFill?: itemColorPropsType;
9
+ borderWidth?: tBorderWidthProps;
10
+ fill?: tFillProps;
11
+ fillActive?: tFillProps;
12
+ fillActiveDisabled?: tFillProps;
13
+ fillDisabled?: tFillProps;
14
+ fillHover?: tFillHoverProps;
15
+ iconFillDisabled?: tItemColorProps;
16
+ iconItemFill?: tItemColorProps;
17
17
  iconSize?: iconSizePropsType;
18
- labelTextActiveColor?: textColorPropsType;
19
- labelTextActiveColorDisabled?: textColorPropsType;
20
- labelTextColor?: textColorPropsType;
21
- labelTextColorDisabled?: textColorPropsType;
22
- labelTextWeight?: textWeightPropsType;
23
- labelTextSize?: textSizePropsType;
24
- shape?: shapePropsType;
18
+ labelTextActiveColor?: tTextColorProps;
19
+ labelTextActiveColorDisabled?: tTextColorProps;
20
+ labelTextColor?: tTextColorProps;
21
+ labelTextColorDisabled?: tTextColorProps;
22
+ labelTextWeight?: tTextWeightProps;
23
+ labelTextSize?: tTextSizeProps;
24
+ shape?: tShapeProps;
25
25
  }
26
- type appearanceKeysType = appearanceKeysDefaultType & {};
26
+ type appearanceKeysType = tAppearanceKeysDefault & {};
27
27
  export type choiceAppearanceType = {
28
28
  [key in appearanceKeysType]?: IChoiceThemeColor;
29
29
  };
@@ -31,13 +31,13 @@ export interface IChoiceConfig {
31
31
  appearance: choiceAppearanceType | undefined;
32
32
  setAppearance: (newComponent: choiceAppearanceType) => void;
33
33
  }
34
- export interface IChoiceProps extends IChoiceThemeColor, TypeStyleAttributes {
34
+ export interface IChoiceProps extends IChoiceThemeColor, iStyleAttributes {
35
35
  appearance?: appearanceKeysType;
36
36
  active: {
37
37
  value: ReactNode;
38
38
  };
39
39
  activeIcon?: ReactNode;
40
- activeIconItemFill?: itemColorPropsType;
40
+ activeIconItemFill?: tItemColorProps;
41
41
  after?: ReactNode;
42
42
  before?: ReactNode;
43
43
  className?: string;
@@ -48,8 +48,8 @@ export interface IChoiceProps extends IChoiceThemeColor, TypeStyleAttributes {
48
48
  options: {
49
49
  value: string;
50
50
  label: ReactNode;
51
- activeIconItemFill: itemColorPropsType;
52
- iconItemFill: itemColorPropsType;
51
+ activeIconItemFill: tItemColorProps;
52
+ iconItemFill: tItemColorProps;
53
53
  }[];
54
54
  set?: string;
55
55
  size?: sizeOptionPropsType;
@@ -1,32 +1,32 @@
1
1
  import { FocusEvent, ReactNode } from 'react';
2
2
  import { AllowedInputTypes } from 'react-otp-input';
3
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
4
- import { borderColorHoverPropsType, borderColorPropsType, borderWidthPropsType, fillHoverPropsType, fillPropsType, itemColorPropsType, shapePropsType, sizePropsType, textColorPropsType, textSizePropsType, textWeightPropsType, widthPropsType } from '../../types';
5
- export interface ICodeProps extends TypeStyleAttributes {
3
+ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
4
+ import { borderColorHoverPropsType, tBorderColorProps, tBorderWidthProps, tFillHoverProps, tFillProps, tItemColorProps, tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps, tTextWeightProps, tWidthProps } from '../../types';
5
+ export interface ICodeProps extends iStyleAttributes {
6
6
  after?: ReactNode;
7
7
  before?: ReactNode;
8
8
  className?: string;
9
9
  gap?: string;
10
10
  inputAutoFocus?: boolean;
11
- inputBorderColor?: borderColorPropsType;
11
+ inputBorderColor?: tBorderColorProps;
12
12
  inputBorderColorHover?: borderColorHoverPropsType;
13
- inputBorderFocusColor?: borderColorPropsType;
14
- inputBorderWidth?: borderWidthPropsType;
15
- inputCaretColor?: itemColorPropsType;
13
+ inputBorderFocusColor?: tBorderColorProps;
14
+ inputBorderWidth?: tBorderWidthProps;
15
+ inputCaretColor?: tItemColorProps;
16
16
  inputCount?: number;
17
- inputFill?: fillPropsType;
18
- inputFillHover?: fillHoverPropsType;
17
+ inputFill?: tFillProps;
18
+ inputFillHover?: tFillHoverProps;
19
19
  inputPlaceholder?: string;
20
- inputPlaceholderTextColor?: textColorPropsType;
21
- inputShape?: shapePropsType;
22
- inputSize?: sizePropsType;
23
- inputTextColor?: textColorPropsType;
24
- inputTextSize?: textSizePropsType;
25
- inputTextWeight?: textWeightPropsType;
20
+ inputPlaceholderTextColor?: tTextColorProps;
21
+ inputShape?: tShapeProps;
22
+ inputSize?: tSizeProps;
23
+ inputTextColor?: tTextColorProps;
24
+ inputTextSize?: tTextSizeProps;
25
+ inputTextWeight?: tTextWeightProps;
26
26
  inputType?: AllowedInputTypes | undefined;
27
27
  otp?: string | number;
28
28
  separatorComponent?: ReactNode;
29
- width?: widthPropsType;
29
+ width?: tWidthProps;
30
30
  onBlur?: (arg0: FocusEvent) => void;
31
31
  onChange?: (otp: string) => void;
32
32
  onFocus?: (arg0: FocusEvent) => void;
@@ -1,36 +1,36 @@
1
1
  import type { MouseEventHandler, ReactNode } from 'react';
2
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
3
- import { directionPropsType, fillPropsType, iconSizePropsType, shapePropsType, sizePropsType, textColorPropsType, textSizePropsType, textWeightPropsType } from '../../types';
4
- export interface IContextMenuItemProps extends TypeStyleAttributes {
2
+ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
3
+ import { tDirectionProps, tFillProps, iconSizePropsType, tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps, tTextWeightProps } from '../../types';
4
+ export interface IContextMenuItemProps extends iStyleAttributes {
5
5
  children?: ReactNode;
6
6
  className?: string;
7
- dividerDirection?: directionPropsType;
8
- dividerFill?: fillPropsType;
9
- dividerSize?: sizePropsType;
7
+ dividerDirection?: tDirectionProps;
8
+ dividerFill?: tFillProps;
9
+ dividerSize?: tSizeProps;
10
10
  dividerWidth?: string;
11
11
  iconAfter?: any;
12
- iconAfterBgFill?: fillPropsType;
13
- iconAfterFill?: fillPropsType;
12
+ iconAfterBgFill?: tFillProps;
13
+ iconAfterFill?: tFillProps;
14
14
  iconAfterSize?: iconSizePropsType;
15
15
  iconBefore?: any;
16
- iconBeforeBgFill?: fillPropsType;
17
- iconBeforeFill?: fillPropsType;
16
+ iconBeforeBgFill?: tFillProps;
17
+ iconBeforeFill?: tFillProps;
18
18
  iconBeforeSize?: iconSizePropsType;
19
19
  id?: string;
20
20
  label?: string;
21
- labelTextColor?: textColorPropsType;
22
- labelTextSize?: textSizePropsType;
23
- labelTextWeight?: textWeightPropsType;
21
+ labelTextColor?: tTextColorProps;
22
+ labelTextSize?: tTextSizeProps;
23
+ labelTextWeight?: tTextWeightProps;
24
24
  onClick?: MouseEventHandler<HTMLDivElement>;
25
25
  }
26
- export interface IContextMenuProps extends TypeStyleAttributes {
26
+ export interface IContextMenuProps extends iStyleAttributes {
27
27
  children?: ReactNode;
28
28
  className?: string;
29
29
  id?: string;
30
30
  set?: string;
31
- shape?: shapePropsType;
32
- shapeDesktop?: shapePropsType;
33
- shapeMobile?: shapePropsType;
34
- shapeTablet?: shapePropsType;
31
+ shape?: tShapeProps;
32
+ shapeDesktop?: tShapeProps;
33
+ shapeMobile?: tShapeProps;
34
+ shapeTablet?: tShapeProps;
35
35
  onClick?: MouseEventHandler<HTMLDivElement>;
36
36
  }
@@ -1,16 +1,16 @@
1
- import { fillHoverPropsType, fillPropsType, shapePropsType, sizePropsType, textColorPropsType, textSizePropsType } from '../../types';
1
+ import { tFillHoverProps, tFillProps, tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps } from '../../types';
2
2
  export interface ICookiesWarningProps {
3
3
  message?: string;
4
4
  className?: string;
5
- buttonFill?: fillPropsType;
6
- buttonFillHover?: fillHoverPropsType;
5
+ buttonFill?: tFillProps;
6
+ buttonFillHover?: tFillHoverProps;
7
7
  buttonLabel?: string;
8
- buttonLabelSize?: textSizePropsType;
9
- buttonLabelTextColor?: textColorPropsType;
10
- buttonShape?: shapePropsType;
11
- buttonSize?: sizePropsType;
12
- textSize?: textSizePropsType;
13
- textColor?: textColorPropsType;
8
+ buttonLabelSize?: tTextSizeProps;
9
+ buttonLabelTextColor?: tTextColorProps;
10
+ buttonShape?: tShapeProps;
11
+ buttonSize?: tSizeProps;
12
+ textSize?: tTextSizeProps;
13
+ textColor?: tTextColorProps;
14
14
  buttonWidth?: string;
15
15
  isHideOnScroll?: boolean;
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { HTMLProps } from 'react';
2
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
2
+ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
3
3
  import '../../types';
4
- export interface IDadataHintFieldProps extends TypeStyleAttributes {
4
+ export interface IDadataHintFieldProps extends iStyleAttributes {
5
5
  delay?: number;
6
6
  inputProps?: HTMLProps<HTMLInputElement>;
7
7
  setValue?: () => void;
@@ -9,6 +9,6 @@ export interface IDadataHintFieldProps extends TypeStyleAttributes {
9
9
  meta?: any;
10
10
  token: string;
11
11
  }
12
- export interface IDadataСustomInputProps extends TypeStyleAttributes {
12
+ export interface IDadataСustomInputProps extends iStyleAttributes {
13
13
  inputValue?: string;
14
14
  }
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var DadataHintField = require('../DadataHintField-DQHPRLs0.js');
3
+ var DadataHintField = require('../DadataHintField-z7Mw-xDn.js');
4
4
  require('../_tslib-CKiUdo7p.js');
5
5
  require('../jsx-runtime-BBxmckJR.js');
6
6
  require('react');
7
7
  require('clsx');
8
8
  require('crypto');
9
- require('../Input-BqKlyvEt.js');
9
+ require('../Input-vwyG3XF0.js');
10
10
  require('../hooks/useDeviceTargetClass.js');
11
11
  require('lodash/castArray');
12
12
  require('lodash/camelCase');