@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,7 +1,7 @@
1
1
  import { CSSProperties, ElementType, ReactNode } from 'react';
2
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
3
- import { alignDirectionPropsType, borderColorPropsType, borderTypePropsType, directionPropsType, fillHoverPropsType, fillPropsType, flexAlignPropsType, flexJustifyContentPropsType, flexWrapPropsType, horizontalResizeModePropsType, positionPropsType, shapePropsType, widthPropsType } from '../../types';
4
- export interface IFlexProps extends TypeStyleAttributes {
2
+ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
3
+ import { alignDirectionPropsType, tBorderColorProps, borderTypePropsType, tDirectionProps, tFillHoverProps, tFillProps, flexAlignPropsType, flexJustifyContentPropsType, flexWrapPropsType, horizontalResizeModePropsType, positionPropsType, tShapeProps, tWidthProps } from '../../types';
4
+ export interface IFlexProps extends iStyleAttributes {
5
5
  children?: ReactNode;
6
6
  className?: string;
7
7
  id?: number | string;
@@ -11,15 +11,15 @@ export interface IFlexProps extends TypeStyleAttributes {
11
11
  onClick?: () => void;
12
12
  alignContent?: flexJustifyContentPropsType;
13
13
  alignItems?: flexAlignPropsType;
14
- border?: borderColorPropsType;
14
+ border?: tBorderColorProps;
15
15
  borderType?: borderTypePropsType;
16
16
  direction?: alignDirectionPropsType;
17
- fill?: fillPropsType;
17
+ fill?: tFillProps;
18
18
  flow?: string;
19
19
  justifyContent?: flexJustifyContentPropsType;
20
20
  position?: positionPropsType;
21
- shape?: shapePropsType;
22
- width?: widthPropsType;
21
+ shape?: tShapeProps;
22
+ width?: tWidthProps;
23
23
  wrap?: flexWrapPropsType;
24
24
  gapWrapper?: string;
25
25
  maxWidthWrapper?: string;
@@ -32,9 +32,9 @@ export interface IFlexProps extends TypeStyleAttributes {
32
32
  directionDesktop?: alignDirectionPropsType;
33
33
  directionMobile?: alignDirectionPropsType;
34
34
  directionTablet?: alignDirectionPropsType;
35
- fillDesktop?: fillPropsType;
36
- fillMobile?: fillPropsType;
37
- fillTablet?: fillPropsType;
35
+ fillDesktop?: tFillProps;
36
+ fillMobile?: tFillProps;
37
+ fillTablet?: tFillProps;
38
38
  flowDesktop?: string;
39
39
  flowMobile?: string;
40
40
  flowTablet?: string;
@@ -48,17 +48,17 @@ export interface IFlexProps extends TypeStyleAttributes {
48
48
  positionDesktop?: positionPropsType;
49
49
  positionMobile?: positionPropsType;
50
50
  positionTablet?: positionPropsType;
51
- shapeDesktop?: shapePropsType;
52
- shapeMobile?: shapePropsType;
53
- shapeTablet?: shapePropsType;
54
- widthDesktop?: widthPropsType;
55
- widthMobile?: widthPropsType;
56
- widthTablet?: widthPropsType;
51
+ shapeDesktop?: tShapeProps;
52
+ shapeMobile?: tShapeProps;
53
+ shapeTablet?: tShapeProps;
54
+ widthDesktop?: tWidthProps;
55
+ widthMobile?: tWidthProps;
56
+ widthTablet?: tWidthProps;
57
57
  wrapDesktop?: flexWrapPropsType;
58
58
  wrapMobile?: flexWrapPropsType;
59
59
  wrapTablet?: flexWrapPropsType;
60
60
  }
61
- export interface IFlexItemProps extends TypeStyleAttributes {
61
+ export interface IFlexItemProps extends iStyleAttributes {
62
62
  children?: ReactNode;
63
63
  className?: string;
64
64
  htmlFor?: string;
@@ -66,13 +66,13 @@ export interface IFlexItemProps extends TypeStyleAttributes {
66
66
  tag?: ElementType;
67
67
  alignItems?: flexAlignPropsType;
68
68
  alignSelf?: flexAlignPropsType;
69
- direction?: directionPropsType;
70
- fill?: fillPropsType;
71
- fillHover?: fillHoverPropsType;
69
+ direction?: tDirectionProps;
70
+ fill?: tFillProps;
71
+ fillHover?: tFillHoverProps;
72
72
  grow?: number;
73
73
  justifyContent?: flexJustifyContentPropsType;
74
74
  position?: positionPropsType;
75
- shape?: shapePropsType;
75
+ shape?: tShapeProps;
76
76
  width?: horizontalResizeModePropsType;
77
77
  wrap?: flexWrapPropsType;
78
78
  alignItemsDesktop?: flexAlignPropsType;
@@ -93,12 +93,12 @@ export interface IFlexItemProps extends TypeStyleAttributes {
93
93
  columnStartDesktop?: number;
94
94
  columnStartMobile?: number;
95
95
  columnStartTablet?: number;
96
- directionDesktop?: directionPropsType;
97
- directionMobile?: directionPropsType;
98
- directionTablet?: directionPropsType;
99
- fillDesktop?: fillPropsType;
100
- fillMobile?: fillPropsType;
101
- fillTablet?: fillPropsType;
96
+ directionDesktop?: tDirectionProps;
97
+ directionMobile?: tDirectionProps;
98
+ directionTablet?: tDirectionProps;
99
+ fillDesktop?: tFillProps;
100
+ fillMobile?: tFillProps;
101
+ fillTablet?: tFillProps;
102
102
  growDesktop?: number;
103
103
  growMobile?: number;
104
104
  growTablet?: number;
@@ -108,9 +108,9 @@ export interface IFlexItemProps extends TypeStyleAttributes {
108
108
  positionDesktop?: positionPropsType;
109
109
  positionMobile?: positionPropsType;
110
110
  positionTablet?: positionPropsType;
111
- shapeDesktop?: shapePropsType;
112
- shapeMobile?: shapePropsType;
113
- shapeTablet?: shapePropsType;
111
+ shapeDesktop?: tShapeProps;
112
+ shapeMobile?: tShapeProps;
113
+ shapeTablet?: tShapeProps;
114
114
  widthDesktop?: horizontalResizeModePropsType;
115
115
  widthMobile?: horizontalResizeModePropsType;
116
116
  widthTablet?: horizontalResizeModePropsType;
@@ -1,77 +1,77 @@
1
1
  import { CSSProperties, ReactNode } from 'react';
2
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
3
- import { borderColorPropsType, fillPropsType, iconSizePropsType, textSizePropsType, textColorPropsType, textWeightPropsType, directionPropsType, sizePropsType, shapePropsType, itemColorPropsType } from '../../types';
4
- export interface IFormFieldProps extends TypeStyleAttributes {
2
+ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
3
+ import { tBorderColorProps, tFillProps, iconSizePropsType, tTextSizeProps, tTextColorProps, tTextWeightProps, tDirectionProps, tSizeProps, tShapeProps, tItemColorProps } from '../../types';
4
+ export interface IFormFieldProps extends iStyleAttributes {
5
5
  afterItem?: ReactNode;
6
6
  beforeItem?: ReactNode;
7
7
  children?: ReactNode;
8
8
  className?: string;
9
9
  clearIcon?: string;
10
- clearIconFill?: fillPropsType;
10
+ clearIconFill?: tFillProps;
11
11
  clearIconSize?: iconSizePropsType;
12
12
  dataTestId?: string;
13
13
  desc?: string;
14
- descSize?: textSizePropsType;
15
- descTextColor?: textColorPropsType;
16
- descTextWeight?: textWeightPropsType;
17
- direction?: directionPropsType;
18
- dividerDirection?: directionPropsType;
19
- dividerFill?: fillPropsType;
20
- dividerSize?: sizePropsType;
14
+ descSize?: tTextSizeProps;
15
+ descTextColor?: tTextColorProps;
16
+ descTextWeight?: tTextWeightProps;
17
+ direction?: tDirectionProps;
18
+ dividerDirection?: tDirectionProps;
19
+ dividerFill?: tFillProps;
20
+ dividerSize?: tSizeProps;
21
21
  dividerWidth?: string;
22
- fill?: fillPropsType;
22
+ fill?: tFillProps;
23
23
  id?: string;
24
- inputFill?: fillPropsType;
25
- inputShape?: shapePropsType;
24
+ inputFill?: tFillProps;
25
+ inputShape?: tShapeProps;
26
26
  label?: string;
27
- labelSize?: textSizePropsType;
28
- labelTextColor?: textColorPropsType;
29
- labelTextWeight?: textWeightPropsType;
27
+ labelSize?: tTextSizeProps;
28
+ labelTextColor?: tTextColorProps;
29
+ labelTextWeight?: tTextWeightProps;
30
30
  message?: string;
31
- messageSize?: textSizePropsType;
32
- messageTextColor?: textColorPropsType;
33
- messageTextWeight?: textWeightPropsType;
31
+ messageSize?: tTextSizeProps;
32
+ messageTextColor?: tTextColorProps;
33
+ messageTextWeight?: tTextWeightProps;
34
34
  set?: string;
35
- shape?: shapePropsType;
36
- size?: sizePropsType;
35
+ shape?: tShapeProps;
36
+ size?: tSizeProps;
37
37
  style?: CSSProperties;
38
38
  }
39
- export interface IChoiceFieldProps extends TypeStyleAttributes {
39
+ export interface IChoiceFieldProps extends iStyleAttributes {
40
40
  radioId?: string;
41
41
  radioClassName?: string;
42
- radioFillCheckmark?: itemColorPropsType;
43
- radioFillChecked?: fillPropsType;
44
- radioFill?: fillPropsType;
45
- radioFillDisabled?: fillPropsType;
46
- radioShape?: shapePropsType;
47
- radioBorder?: borderColorPropsType;
42
+ radioFillCheckmark?: tItemColorProps;
43
+ radioFillChecked?: tFillProps;
44
+ radioFill?: tFillProps;
45
+ radioFillDisabled?: tFillProps;
46
+ radioShape?: tShapeProps;
47
+ radioBorder?: tBorderColorProps;
48
48
  }
49
- export interface IPasswordFieldProps extends TypeStyleAttributes {
49
+ export interface IPasswordFieldProps extends iStyleAttributes {
50
50
  placeholder?: string;
51
51
  passwordClassName?: string;
52
52
  value?: string;
53
- placeholderColor?: textColorPropsType;
54
- valueTextColor?: textColorPropsType;
55
- valueTextSize?: textSizePropsType;
53
+ placeholderColor?: tTextColorProps;
54
+ valueTextColor?: tTextColorProps;
55
+ valueTextSize?: tTextSizeProps;
56
56
  }
57
- export interface ISelectFieldProps extends TypeStyleAttributes {
57
+ export interface ISelectFieldProps extends iStyleAttributes {
58
58
  className?: string;
59
59
  selectInputClass?: string;
60
- selectFill?: fillPropsType;
61
- selectShape?: shapePropsType;
62
- selectBorder?: borderColorPropsType;
63
- selectSize?: sizePropsType;
64
- selectOptionFill?: fillPropsType;
65
- selectOptionTextSize?: textSizePropsType;
66
- selectOptionTextColor?: textColorPropsType;
60
+ selectFill?: tFillProps;
61
+ selectShape?: tShapeProps;
62
+ selectBorder?: tBorderColorProps;
63
+ selectSize?: tSizeProps;
64
+ selectOptionFill?: tFillProps;
65
+ selectOptionTextSize?: tTextSizeProps;
66
+ selectOptionTextColor?: tTextColorProps;
67
67
  selectOptionBefore?: ReactNode;
68
68
  selectOptionAfter?: ReactNode;
69
69
  selectInputBefore?: ReactNode;
70
70
  selectInputAfter?: ReactNode;
71
- selectInputFill?: fillPropsType;
72
- selectInputTextSize?: textSizePropsType;
73
- selectInputTextColor?: textColorPropsType;
71
+ selectInputFill?: tFillProps;
72
+ selectInputTextSize?: tTextSizeProps;
73
+ selectInputTextColor?: tTextColorProps;
74
74
  }
75
- export interface ISwitchFieldProps extends TypeStyleAttributes {
75
+ export interface ISwitchFieldProps extends iStyleAttributes {
76
76
  className?: string;
77
77
  }
@@ -1,7 +1,7 @@
1
1
  import { CSSProperties, ElementType, ReactNode } from 'react';
2
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
3
- import { borderColorPropsType, directionPropsType, fillHoverPropsType, fillPropsType, gridAlignPropsType, gridAlignSelfPropsType, gridJustifyItemsPropsType, gridJustifySelfPropsType, horizontalResizeModePropsType, shapePropsType, verticalResizeModePropsType } from '../../types';
4
- export interface IGridBaseThemeColor extends TypeStyleAttributes {
2
+ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
3
+ import { tBorderColorProps, tDirectionProps, tFillHoverProps, tFillProps, gridAlignPropsType, gridAlignSelfPropsType, gridJustifyItemsPropsType, gridJustifySelfPropsType, horizontalResizeModePropsType, tShapeProps, verticalResizeModePropsType } from '../../types';
4
+ export interface IGridBaseThemeColor extends iStyleAttributes {
5
5
  alignSelf?: gridAlignSelfPropsType;
6
6
  alignSelfDesktop?: gridAlignSelfPropsType;
7
7
  alignSelfMobile?: gridAlignSelfPropsType;
@@ -19,12 +19,12 @@ export interface IGridBaseThemeColor extends TypeStyleAttributes {
19
19
  columnStartDesktop?: string;
20
20
  columnStartMobile?: string;
21
21
  columnStartTablet?: string;
22
- direction?: directionPropsType;
23
- fill?: fillPropsType;
24
- fillDesktop?: fillPropsType;
25
- fillHover?: fillHoverPropsType;
26
- fillMobile?: fillPropsType;
27
- fillTablet?: fillPropsType;
22
+ direction?: tDirectionProps;
23
+ fill?: tFillProps;
24
+ fillDesktop?: tFillProps;
25
+ fillHover?: tFillHoverProps;
26
+ fillMobile?: tFillProps;
27
+ fillTablet?: tFillProps;
28
28
  gap?: string;
29
29
  gridTemplateColumns?: string;
30
30
  justifySelf?: gridJustifySelfPropsType;
@@ -71,7 +71,7 @@ export interface IGridRowProps extends IGridBaseThemeColor {
71
71
  tag: ElementType;
72
72
  onClick?: () => void;
73
73
  }
74
- export interface IGridProps extends TypeStyleAttributes {
74
+ export interface IGridProps extends iStyleAttributes {
75
75
  after?: ReactNode;
76
76
  before?: ReactNode;
77
77
  children?: ReactNode;
@@ -93,15 +93,15 @@ export interface IGridProps extends TypeStyleAttributes {
93
93
  columnsDesktop?: string;
94
94
  columnsMobile?: string;
95
95
  columnsTablet?: string;
96
- fillDesktop?: fillPropsType;
97
- fillMobile?: fillPropsType;
98
- fillTablet?: fillPropsType;
99
- fillWrapperDesktop?: fillPropsType;
100
- fillWrapperInnerDesktop?: fillPropsType;
101
- fillWrapperInnerMobile?: fillPropsType;
102
- fillWrapperInnerTablet?: fillPropsType;
103
- fillWrapperMobile?: fillPropsType;
104
- fillWrapperTablet?: fillPropsType;
96
+ fillDesktop?: tFillProps;
97
+ fillMobile?: tFillProps;
98
+ fillTablet?: tFillProps;
99
+ fillWrapperDesktop?: tFillProps;
100
+ fillWrapperInnerDesktop?: tFillProps;
101
+ fillWrapperInnerMobile?: tFillProps;
102
+ fillWrapperInnerTablet?: tFillProps;
103
+ fillWrapperMobile?: tFillProps;
104
+ fillWrapperTablet?: tFillProps;
105
105
  gridBackground?: string;
106
106
  gridBackgroundDesktop?: string;
107
107
  gridBackgroundMobile?: string;
@@ -124,27 +124,27 @@ export interface IGridProps extends TypeStyleAttributes {
124
124
  rowsDesktop?: string;
125
125
  rowsMobile?: string;
126
126
  rowsTablet?: string;
127
- shapeWrapperDesktop?: shapePropsType;
128
- shapeWrapperInnerDesktop?: shapePropsType;
129
- shapeWrapperInnerMobile?: shapePropsType;
130
- shapeWrapperInnerTablet?: shapePropsType;
131
- shapeWrapperMobile?: shapePropsType;
132
- shapeWrapperTablet?: shapePropsType;
127
+ shapeWrapperDesktop?: tShapeProps;
128
+ shapeWrapperInnerDesktop?: tShapeProps;
129
+ shapeWrapperInnerMobile?: tShapeProps;
130
+ shapeWrapperInnerTablet?: tShapeProps;
131
+ shapeWrapperMobile?: tShapeProps;
132
+ shapeWrapperTablet?: tShapeProps;
133
133
  type?: string;
134
134
  useGridSystem?: boolean;
135
135
  verticalResizing?: verticalResizeModePropsType;
136
136
  alignContent?: gridAlignPropsType;
137
137
  alignItems?: gridAlignPropsType;
138
- borderColor?: borderColorPropsType;
138
+ borderColor?: tBorderColorProps;
139
139
  columnGap?: string;
140
140
  columns?: string;
141
- fill?: fillPropsType;
142
- fillWrapper?: fillPropsType;
143
- fillWrapperInner?: fillPropsType;
141
+ fill?: tFillProps;
142
+ fillWrapper?: tFillProps;
143
+ fillWrapperInner?: tFillProps;
144
144
  justifyContent?: string;
145
145
  justifyItems?: gridJustifyItemsPropsType;
146
146
  rowGap?: string;
147
147
  rows?: string;
148
- shapeWrapper?: shapePropsType;
149
- shapeWrapperInner?: shapePropsType;
148
+ shapeWrapper?: tShapeProps;
149
+ shapeWrapperInner?: tShapeProps;
150
150
  }
@@ -1,17 +1,17 @@
1
1
  import { CSSProperties, ElementType, ReactNode } from 'react';
2
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
3
- import { alignDirectionPropsType, alignPropsType, borderColorPropsType, borderTypePropsType, directionPropsType, elevationPropsType, fillHoverPropsType, fillPropsType, flexGrowPropsType, heightPropsType, justifyContentPropsType, shapePropsType, stackingPropsType, textColorPropsType, widthPropsType, wrapPropsType } from '../../types';
4
- import { appearanceKeysDefaultType } from '../../types/componentProps/appearanceKeys';
2
+ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
3
+ import { alignDirectionPropsType, alignPropsType, tBorderColorProps, borderTypePropsType, tDirectionProps, elevationPropsType, tFillHoverProps, tFillProps, flexGrowPropsType, tHeightProps, justifyContentPropsType, tShapeProps, stackingPropsType, tTextColorProps, tWidthProps, wrapPropsType } from '../../types';
4
+ import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
5
5
  interface ThemeColor {
6
6
  border?: string;
7
7
  borderColor?: string;
8
8
  borderWidth?: string;
9
- direction?: directionPropsType;
9
+ direction?: tDirectionProps;
10
10
  fill?: string;
11
11
  fillHover?: string;
12
- labelTextColor?: textColorPropsType;
12
+ labelTextColor?: tTextColorProps;
13
13
  }
14
- type appearanceKeysType = appearanceKeysDefaultType & {};
14
+ type appearanceKeysType = tAppearanceKeysDefault & {};
15
15
  type appearanceType = {
16
16
  [key in appearanceKeysType]: ThemeColor;
17
17
  };
@@ -19,7 +19,7 @@ export interface IGroupConfig {
19
19
  appearance: appearanceType | undefined;
20
20
  setAppearance: (newComponent: appearanceType) => void;
21
21
  }
22
- export interface IGroupProps extends TypeStyleAttributes {
22
+ export interface IGroupProps extends iStyleAttributes {
23
23
  appearance?: appearanceKeysType;
24
24
  children?: ReactNode;
25
25
  className?: string;
@@ -33,19 +33,19 @@ export interface IGroupProps extends TypeStyleAttributes {
33
33
  onClick?: () => void;
34
34
  align?: alignPropsType;
35
35
  alignDirection?: alignDirectionPropsType;
36
- borderColor?: borderColorPropsType;
36
+ borderColor?: tBorderColorProps;
37
37
  borderType?: borderTypePropsType;
38
38
  columns?: number;
39
- direction?: directionPropsType;
39
+ direction?: tDirectionProps;
40
40
  elevation?: elevationPropsType;
41
- fill?: fillPropsType;
42
- fillHover?: fillHoverPropsType;
41
+ fill?: tFillProps;
42
+ fillHover?: tFillHoverProps;
43
43
  flexGrow?: flexGrowPropsType;
44
- height?: heightPropsType;
44
+ height?: tHeightProps;
45
45
  justifyContent?: justifyContentPropsType;
46
- shape?: shapePropsType;
46
+ shape?: tShapeProps;
47
47
  stacking?: stackingPropsType;
48
- width?: widthPropsType;
48
+ width?: tWidthProps;
49
49
  wrap?: wrapPropsType;
50
50
  }
51
51
  export {};
@@ -1,41 +1,41 @@
1
1
  import { CSSProperties, MouseEventHandler, ReactNode } from 'react';
2
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
3
- import { alignmentPropsType, borderColorHoverPropsType, borderColorPropsType, borderTypePropsType, borderWidthPropsType, fillHoverPropsType, fillPropsType, iconFillSizePropsType, iconSizePropsType, itemColorPropsType, shapePropsType, textColorHoverPropsType, textColorPropsType, textSizePropsType, titleSizePropsType } from '../../types';
4
- import { appearanceKeysDefaultType } from '../../types/componentProps/appearanceKeys';
2
+ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
3
+ import { alignmentPropsType, borderColorHoverPropsType, tBorderColorProps, borderTypePropsType, tBorderWidthProps, tFillHoverProps, tFillProps, iconFillSizePropsType, iconSizePropsType, tItemColorProps, tShapeProps, textColorHoverPropsType, tTextColorProps, tTextSizeProps, titleSizePropsType } from '../../types';
4
+ import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
5
5
  export interface IIconThemeColor {
6
6
  alignment?: alignmentPropsType;
7
- bgFill?: fillPropsType;
8
- borderColor?: borderColorPropsType;
7
+ bgFill?: tFillProps;
8
+ borderColor?: tBorderColorProps;
9
9
  borderColorHover?: borderColorHoverPropsType;
10
10
  borderType?: borderTypePropsType;
11
- borderWidth?: borderWidthPropsType;
11
+ borderWidth?: tBorderWidthProps;
12
12
  cursor?: string;
13
- fill?: fillPropsType;
14
- fillDisabled?: fillPropsType;
15
- fillHover?: fillHoverPropsType;
13
+ fill?: tFillProps;
14
+ fillDisabled?: tFillProps;
15
+ fillHover?: tFillHoverProps;
16
16
  fillSize?: iconFillSizePropsType;
17
- iconAfterFill?: fillPropsType;
17
+ iconAfterFill?: tFillProps;
18
18
  iconAfterFillSize?: iconFillSizePropsType;
19
- iconAfterShape?: shapePropsType;
20
- iconBeforeFill?: fillPropsType;
19
+ iconAfterShape?: tShapeProps;
20
+ iconBeforeFill?: tFillProps;
21
21
  iconBeforeFillSize?: iconFillSizePropsType;
22
- iconBeforeShape?: shapePropsType;
23
- iconFill?: itemColorPropsType;
24
- iconFillDisabled?: itemColorPropsType;
25
- iconFillHover?: itemColorPropsType;
22
+ iconBeforeShape?: tShapeProps;
23
+ iconFill?: tItemColorProps;
24
+ iconFillDisabled?: tItemColorProps;
25
+ iconFillHover?: tItemColorProps;
26
26
  iconFillSize?: iconFillSizePropsType;
27
- iconShape?: shapePropsType;
27
+ iconShape?: tShapeProps;
28
28
  iconSize?: iconSizePropsType;
29
29
  label?: string;
30
- labelTextColor?: textColorPropsType;
30
+ labelTextColor?: tTextColorProps;
31
31
  labelTextColorHover?: textColorHoverPropsType;
32
- labelTextSize?: textSizePropsType;
32
+ labelTextSize?: tTextSizeProps;
33
33
  loaderFill?: string;
34
34
  loaderItemFill?: string;
35
- shape?: shapePropsType;
35
+ shape?: tShapeProps;
36
36
  size?: iconSizePropsType;
37
37
  }
38
- type appearanceKeysType = appearanceKeysDefaultType & {};
38
+ type appearanceKeysType = tAppearanceKeysDefault & {};
39
39
  export type iconAppearanceType = {
40
40
  [key in appearanceKeysType]?: IIconThemeColor;
41
41
  };
@@ -43,7 +43,7 @@ export interface IIconConfig {
43
43
  appearance: iconAppearanceType | undefined;
44
44
  setAppearance: (newComponent: iconAppearanceType) => void;
45
45
  }
46
- export interface IIconProps extends IIconThemeColor, TypeStyleAttributes {
46
+ export interface IIconProps extends IIconThemeColor, iStyleAttributes {
47
47
  Badge?: ReactNode;
48
48
  SvgImage?: any;
49
49
  after?: ReactNode;
@@ -61,18 +61,18 @@ export interface IIconProps extends IIconThemeColor, TypeStyleAttributes {
61
61
  style?: CSSProperties;
62
62
  tooltipAppearance?: appearanceKeysType;
63
63
  tooltipText?: string;
64
- tooltipTextSize?: textSizePropsType;
64
+ tooltipTextSize?: tTextSizeProps;
65
65
  tooltipTitle?: string;
66
66
  tooltipTitleSize?: titleSizePropsType;
67
67
  width?: string;
68
68
  onClick?: MouseEventHandler<HTMLDivElement>;
69
69
  LinkComponent?: ReactNode;
70
- fillDesktop?: fillPropsType;
71
- fillMobile?: fillPropsType;
70
+ fillDesktop?: tFillProps;
71
+ fillMobile?: tFillProps;
72
72
  fillSizeDesktop?: string;
73
73
  fillSizeMobile?: string;
74
74
  fillSizeTablet?: string;
75
- fillTablet?: fillPropsType;
75
+ fillTablet?: tFillProps;
76
76
  htmlType?: string;
77
77
  icon?: string;
78
78
  iconAfterSrc?: string;
@@ -80,9 +80,9 @@ export interface IIconProps extends IIconThemeColor, TypeStyleAttributes {
80
80
  iconSrc?: string;
81
81
  loading?: boolean;
82
82
  rel?: string;
83
- shapeDesktop?: shapePropsType;
84
- shapeMobile?: shapePropsType;
85
- shapeTablet?: shapePropsType;
83
+ shapeDesktop?: tShapeProps;
84
+ shapeMobile?: tShapeProps;
85
+ shapeTablet?: tShapeProps;
86
86
  sizeDesktop?: iconSizePropsType;
87
87
  sizeMobile?: iconSizePropsType;
88
88
  sizeTablet?: iconSizePropsType;
@@ -1,18 +1,18 @@
1
1
  import { CSSProperties, ReactNode } from 'react';
2
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
3
- import { borderColorPropsType, fillHoverPropsType, fillPropsType, horizontalContentAlignPropsType, shapePropsType, verticalContentAlignPropsType, widthPropsType } from '../../types';
4
- export interface IImageProps extends TypeStyleAttributes {
2
+ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
3
+ import { tBorderColorProps, tFillHoverProps, tFillProps, horizontalContentAlignPropsType, tShapeProps, verticalContentAlignPropsType, tWidthProps } from '../../types';
4
+ export interface IImageProps extends iStyleAttributes {
5
5
  after?: ReactNode;
6
6
  alt?: string;
7
7
  before?: ReactNode;
8
- borderColor?: borderColorPropsType;
8
+ borderColor?: tBorderColorProps;
9
9
  borderColorImage?: string;
10
10
  caption?: string;
11
11
  children?: ReactNode;
12
12
  className?: string;
13
13
  cursor?: string;
14
- fill?: fillPropsType;
15
- fillHover?: fillHoverPropsType;
14
+ fill?: tFillProps;
15
+ fillHover?: tFillHoverProps;
16
16
  height?: string;
17
17
  horizontalAlign?: horizontalContentAlignPropsType;
18
18
  imageClassName?: string;
@@ -22,13 +22,13 @@ export interface IImageProps extends TypeStyleAttributes {
22
22
  mode?: string;
23
23
  overlay?: any;
24
24
  resizeMode?: string;
25
- shape?: shapePropsType;
25
+ shape?: tShapeProps;
26
26
  src?: string;
27
27
  style?: CSSProperties;
28
28
  title?: string;
29
29
  type?: string;
30
30
  verticalContentAlign?: verticalContentAlignPropsType;
31
- width?: widthPropsType;
31
+ width?: tWidthProps;
32
32
  onClick?: () => void;
33
33
  onError?: () => void;
34
34
  }
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { IInputConfig, IInputProps } from './Input.interface';
3
- declare const inputConfig: IInputConfig;
4
- declare const Input: React.ForwardRefExoticComponent<IInputProps & React.RefAttributes<HTMLInputElement>>;
2
+ import type { iInputConfig, iInputProps } from './Input.interface';
3
+ declare const inputConfig: iInputConfig;
4
+ declare const Input: React.ForwardRefExoticComponent<iInputProps & React.RefAttributes<HTMLInputElement>>;
5
5
  export { Input, inputConfig };
@@ -1,53 +1,51 @@
1
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
2
- import { borderColorPropsType, borderWidthPropsType, fillPropsType, itemColorPropsType, shapePropsType, sizePropsType, textColorPropsType, textSizePropsType, textWeightPropsType, widthPropsType } from '../../types';
3
- import { appearanceKeysDefaultType } from '../../types/componentProps/appearanceKeys';
4
- import { stateKeysDefaultType } from '../../types/componentProps/stateKeys';
5
- export interface IInputThemeColor {
6
- borderColor?: borderColorPropsType;
7
- borderColorDisabled?: borderColorPropsType;
8
- borderWidth?: borderWidthPropsType;
9
- borderWidthDisabled?: borderWidthPropsType;
10
- caret?: itemColorPropsType;
11
- fill?: fillPropsType;
12
- fillDisabled?: fillPropsType;
13
- placeholderTextColor?: textColorPropsType;
14
- placeholderTextColorDisabled?: textColorPropsType;
15
- shape?: shapePropsType;
16
- size?: sizePropsType;
17
- textColor?: textColorPropsType;
18
- textSize?: textSizePropsType;
19
- textWeight?: textWeightPropsType;
20
- width?: widthPropsType;
1
+ import type { iStyleAttributes } from '../../hooks/styleAttributes.interface';
2
+ import type { tBorderColorProps, tBorderWidthProps, tFillProps, tItemColorProps, tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps, tTextWeightProps, tWidthProps } from '../../types';
3
+ import type { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
4
+ import type { tStateKeysDefault } from '../../types/componentProps/stateKeys';
5
+ interface iInputThemeColor {
6
+ borderColor?: tBorderColorProps;
7
+ borderColorDisabled?: tBorderColorProps;
8
+ borderWidth?: tBorderWidthProps;
9
+ borderWidthDisabled?: tBorderWidthProps;
10
+ caret?: tItemColorProps;
11
+ fill?: tFillProps;
12
+ fillDisabled?: tFillProps;
13
+ placeholderTextColor?: tTextColorProps;
14
+ placeholderTextColorDisabled?: tTextColorProps;
15
+ shape?: tShapeProps;
16
+ size?: tSizeProps;
17
+ textColor?: tTextColorProps;
18
+ textSize?: tTextSizeProps;
19
+ textWeight?: tTextWeightProps;
20
+ width?: tWidthProps;
21
21
  }
22
- type appearanceKeysType = appearanceKeysDefaultType & {};
23
- type stateKeysType = stateKeysDefaultType & {};
24
- export type inputStateType = {
25
- [key in stateKeysType]?: IInputThemeColor;
22
+ type tInputState = {
23
+ [key in tStateKeysDefault]?: iInputThemeColor;
26
24
  };
27
- export type inputAppearanceType = {
28
- [key in appearanceKeysType]?: IInputThemeColor;
25
+ type tInputAppearance = {
26
+ [key in tAppearanceKeysDefault]?: iInputThemeColor;
29
27
  };
30
- export interface IInputConfig {
31
- state: inputStateType | undefined;
32
- setState: (newComponent: inputStateType) => void;
33
- appearance: inputAppearanceType | undefined;
34
- setAppearance: (newComponent: inputAppearanceType) => void;
28
+ interface iInputConfig {
29
+ appearance: tInputAppearance | undefined;
30
+ state: tInputState | undefined;
31
+ setAppearance: (newComponent: tInputAppearance) => void;
32
+ setState: (newComponent: tInputState) => void;
35
33
  }
36
- export interface IInputProps extends IInputThemeColor, TypeStyleAttributes {
37
- appearance?: appearanceKeysType;
38
- className?: string;
34
+ interface iInputProps extends iInputThemeColor, iStyleAttributes {
39
35
  dataTestId?: number | string;
40
36
  id?: number | string;
37
+ appearance?: tAppearanceKeysDefault;
38
+ className?: string;
41
39
  index?: number | string;
42
- isDisabled?: boolean;
43
40
  name?: string;
44
41
  placeholder?: string;
45
- state?: stateKeysType;
42
+ state?: tStateKeysDefault;
46
43
  type?: string;
47
- value?: string;
44
+ value?: number | string;
45
+ isDisabled?: boolean;
48
46
  onBlur?: () => void;
49
47
  onChange?: () => void;
50
48
  onFocus?: () => void;
51
49
  onKeyDown?: () => void;
52
50
  }
53
- export {};
51
+ export type { iInputThemeColor, tInputState, tInputAppearance, iInputConfig, iInputProps };