@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,41 +1,42 @@
1
1
  import { CSSProperties, ReactNode } from 'react';
2
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
3
- import { borderColorHoverPropsType, borderColorPropsType, borderTypePropsType, borderWidthPropsType, fillHoverPropsType, fillPropsType, shapePropsType, sizePropsType, textColorPropsType, textSizePropsType, textWeightPropsType, titleSizePropsType, widthPropsType } from '../../types';
4
- import { appearanceKeysDefaultType } from '../../types/componentProps/appearanceKeys';
2
+ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
3
+ import { borderColorHoverPropsType, tBorderColorProps, borderTypePropsType, tBorderWidthProps, tFillHoverProps, tFillProps, tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps, tTextWeightProps, titleSizePropsType, tWidthProps } from '../../types';
4
+ import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
5
5
  export interface IResponseThemeColor {
6
- borderColor?: borderColorPropsType;
6
+ borderColor?: tBorderColorProps;
7
7
  borderColorHover?: borderColorHoverPropsType;
8
8
  borderType?: borderTypePropsType;
9
- borderWidth?: borderWidthPropsType;
10
- fill?: fillPropsType;
11
- fillHover?: fillHoverPropsType;
9
+ borderWidth?: tBorderWidthProps;
10
+ fill?: tFillProps;
11
+ fillHover?: tFillHoverProps;
12
12
  imageSrc?: string;
13
- messageTextColor?: textColorPropsType;
14
- messageTextSize?: textSizePropsType;
13
+ messageTextColor?: tTextColorProps;
14
+ messageTextSize?: tTextSizeProps;
15
+ messageTextWeight?: tTextWeightProps;
15
16
  primaryButtonAppearance?: appearanceKeysType;
16
- primaryButtonFill?: fillPropsType;
17
- primaryButtonFillHover?: fillHoverPropsType;
17
+ primaryButtonFill?: tFillProps;
18
+ primaryButtonFillHover?: tFillHoverProps;
18
19
  primaryButtonLabel?: string;
19
- primaryButtonLabelTextColor?: textColorPropsType;
20
- primaryButtonLabelTextSize?: textSizePropsType;
21
- primaryButtonShape?: shapePropsType;
22
- primaryButtonSize?: sizePropsType;
23
- primaryButtonWidth?: widthPropsType;
20
+ primaryButtonLabelTextColor?: tTextColorProps;
21
+ primaryButtonLabelTextSize?: tTextSizeProps;
22
+ primaryButtonShape?: tShapeProps;
23
+ primaryButtonSize?: tSizeProps;
24
+ primaryButtonWidth?: tWidthProps;
24
25
  secondaryButtonAppearance?: appearanceKeysType;
25
- secondaryButtonFill?: fillPropsType;
26
- secondaryButtonFillHover?: fillHoverPropsType;
26
+ secondaryButtonFill?: tFillProps;
27
+ secondaryButtonFillHover?: tFillHoverProps;
27
28
  secondaryButtonLabel?: string;
28
- secondaryButtonLabelTextColor?: textColorPropsType;
29
- secondaryButtonLabelTextSize?: textSizePropsType;
30
- secondaryButtonShape?: shapePropsType;
31
- secondaryButtonSize?: sizePropsType;
32
- secondaryButtonWidth?: widthPropsType;
33
- shape?: shapePropsType;
34
- titleTextColor?: textColorPropsType;
29
+ secondaryButtonLabelTextColor?: tTextColorProps;
30
+ secondaryButtonLabelTextSize?: tTextSizeProps;
31
+ secondaryButtonShape?: tShapeProps;
32
+ secondaryButtonSize?: tSizeProps;
33
+ secondaryButtonWidth?: tWidthProps;
34
+ shape?: tShapeProps;
35
+ titleTextColor?: tTextColorProps;
35
36
  titleTextSize?: titleSizePropsType;
36
- titleTextWeight?: textWeightPropsType;
37
+ titleTextWeight?: tTextWeightProps;
37
38
  }
38
- type appearanceKeysType = appearanceKeysDefaultType & {};
39
+ type appearanceKeysType = tAppearanceKeysDefault & {};
39
40
  export type responseAppearanceType = {
40
41
  [key in appearanceKeysType]?: IResponseThemeColor;
41
42
  };
@@ -43,7 +44,7 @@ export interface IResponseConfig {
43
44
  appearance: responseAppearanceType | undefined;
44
45
  setAppearance: (newComponent: responseAppearanceType) => void;
45
46
  }
46
- export interface IResponseProps extends IResponseThemeColor, TypeStyleAttributes {
47
+ export interface IResponseProps extends IResponseThemeColor, iStyleAttributes {
47
48
  after?: ReactNode;
48
49
  appearance?: appearanceKeysType;
49
50
  before?: ReactNode;
@@ -55,6 +56,7 @@ export interface IResponseProps extends IResponseThemeColor, TypeStyleAttributes
55
56
  secondaryButton?: boolean;
56
57
  secondaryButtonAfter?: ReactNode;
57
58
  secondaryButtonBefore?: ReactNode;
59
+ messageTextWeight?: tTextWeightProps;
58
60
  set?: string;
59
61
  style?: CSSProperties;
60
62
  title?: string;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var Response = require('../Response-DOQQr9jP.js');
3
+ var Response = require('../Response-CwdUpO-8.js');
4
4
  require('../jsx-runtime-BBxmckJR.js');
5
5
  require('react');
6
6
  require('clsx');
@@ -1,18 +1,18 @@
1
1
  import { CSSProperties, ReactNode } from 'react';
2
2
  import ScrollContainer from 'react-indiana-drag-scroll';
3
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
4
- import { borderColorPropsType, borderTypePropsType, borderWidthPropsType, elevationPropsType, fillHoverPropsType, fillPropsType, heightPropsType, widthPropsType } from '../../types';
5
- export interface IScrollOnDragProps extends TypeStyleAttributes {
6
- borderColor?: borderColorPropsType;
3
+ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
4
+ import { tBorderColorProps, borderTypePropsType, tBorderWidthProps, elevationPropsType, tFillHoverProps, tFillProps, tHeightProps, tWidthProps } from '../../types';
5
+ export interface IScrollOnDragProps extends iStyleAttributes {
6
+ borderColor?: tBorderColorProps;
7
7
  borderType?: borderTypePropsType;
8
- borderWidth?: borderWidthPropsType;
8
+ borderWidth?: tBorderWidthProps;
9
9
  children?: ReactNode;
10
10
  className?: string;
11
11
  elevation?: elevationPropsType;
12
- fill?: fillPropsType;
13
- fillHover?: fillHoverPropsType;
14
- height?: heightPropsType;
12
+ fill?: tFillProps;
13
+ fillHover?: tFillHoverProps;
14
+ height?: tHeightProps;
15
15
  scrollContainerProps?: typeof ScrollContainer;
16
16
  style?: CSSProperties;
17
- width?: widthPropsType;
17
+ width?: tWidthProps;
18
18
  }
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
3
- export interface IScrollbarProps extends TypeStyleAttributes {
2
+ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
3
+ export interface IScrollbarProps extends iStyleAttributes {
4
4
  children?: ReactNode;
5
5
  className?: string;
6
6
  noDefaultStyles?: boolean;
@@ -1,34 +1,34 @@
1
1
  import { CSSProperties, ReactNode } from 'react';
2
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
3
- import { borderColorHoverPropsType, borderColorPropsType, borderTypePropsType, borderWidthPropsType, fillPropsType, iconSizePropsType, itemColorPropsType, shapePropsType, textColorPropsType, textSizePropsType, textStylePropsType, textWeightPropsType, widthPropsType } from '../../types';
4
- import { appearanceKeysDefaultType } from '../../types/componentProps/appearanceKeys';
2
+ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
3
+ import { borderColorHoverPropsType, tBorderColorProps, borderTypePropsType, tBorderWidthProps, tFillProps, iconSizePropsType, tItemColorProps, tShapeProps, tTextColorProps, tTextSizeProps, textStylePropsType, tTextWeightProps, tWidthProps } from '../../types';
4
+ import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
5
5
  export interface ISearchThemeColor {
6
- borderColor?: borderColorPropsType;
6
+ borderColor?: tBorderColorProps;
7
7
  borderHover?: borderColorHoverPropsType;
8
8
  borderType?: borderTypePropsType;
9
- borderWidth?: borderWidthPropsType;
10
- fill?: fillPropsType;
11
- iconAfterFill?: itemColorPropsType;
9
+ borderWidth?: tBorderWidthProps;
10
+ fill?: tFillProps;
11
+ iconAfterFill?: tItemColorProps;
12
12
  iconAfterSize?: iconSizePropsType;
13
- iconBeforeFill?: itemColorPropsType;
13
+ iconBeforeFill?: tItemColorProps;
14
14
  iconBeforeSize?: iconSizePropsType;
15
- iconClearFill?: itemColorPropsType;
15
+ iconClearFill?: tItemColorProps;
16
16
  iconClearSize?: iconSizePropsType;
17
- inputFill?: fillPropsType;
18
- inputShape?: shapePropsType;
19
- inputTextColor?: textColorPropsType;
20
- inputTextSize?: textSizePropsType;
17
+ inputFill?: tFillProps;
18
+ inputShape?: tShapeProps;
19
+ inputTextColor?: tTextColorProps;
20
+ inputTextSize?: tTextSizeProps;
21
21
  inputTextStyle?: textStylePropsType;
22
- inputTextWeight?: textWeightPropsType;
23
- placeholderTextColor?: textColorPropsType;
24
- placeholderTextSize?: textSizePropsType;
22
+ inputTextWeight?: tTextWeightProps;
23
+ placeholderTextColor?: tTextColorProps;
24
+ placeholderTextSize?: tTextSizeProps;
25
25
  placeholderTextStyle?: textStylePropsType;
26
- placeholderTextWeight?: textWeightPropsType;
27
- shape?: shapePropsType;
26
+ placeholderTextWeight?: tTextWeightProps;
27
+ shape?: tShapeProps;
28
28
  size?: 'compact' | 'normal' | 's' | 'l';
29
- width?: widthPropsType;
29
+ width?: tWidthProps;
30
30
  }
31
- type appearanceKeysType = appearanceKeysDefaultType & {};
31
+ type appearanceKeysType = tAppearanceKeysDefault & {};
32
32
  export type searchAppearanceType = {
33
33
  [key in appearanceKeysType]?: ISearchThemeColor;
34
34
  };
@@ -36,7 +36,7 @@ export interface ISearchConfig {
36
36
  appearance: searchAppearanceType | undefined;
37
37
  setAppearance: (newComponent: searchAppearanceType) => void;
38
38
  }
39
- export interface ISearchProps extends ISearchThemeColor, TypeStyleAttributes {
39
+ export interface ISearchProps extends ISearchThemeColor, iStyleAttributes {
40
40
  after?: ReactNode;
41
41
  appearance?: appearanceKeysType;
42
42
  before?: ReactNode;
@@ -57,12 +57,12 @@ export interface ISearchProps extends ISearchThemeColor, TypeStyleAttributes {
57
57
  onFocus?: (() => void) | undefined;
58
58
  onKeyDown?: (() => void) | undefined;
59
59
  }
60
- export interface ISearchResultProps extends TypeStyleAttributes {
60
+ export interface ISearchResultProps extends iStyleAttributes {
61
61
  after?: ReactNode;
62
62
  before?: ReactNode;
63
63
  children?: ReactNode;
64
64
  className?: string;
65
- fill?: fillPropsType;
65
+ fill?: tFillProps;
66
66
  scrollHeight: number | string;
67
67
  type?: string;
68
68
  }
@@ -1,21 +1,21 @@
1
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
2
- import { borderColorPropsType, borderTypePropsType, borderWidthPropsType, fillHoverPropsType, fillPropsType, itemColorPropsType, shapePropsType, textColorActivePropsType, textColorPropsType, textSizePropsType, textWrapPropsType, widthPropsType } from '../../types';
3
- import { appearanceKeysDefaultType } from '../../types/componentProps/appearanceKeys';
1
+ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
2
+ import { tBorderColorProps, borderTypePropsType, tBorderWidthProps, tFillHoverProps, tFillProps, tItemColorProps, tShapeProps, textColorActivePropsType, tTextColorProps, tTextSizeProps, textWrapPropsType, tWidthProps } from '../../types';
3
+ import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
4
4
  export interface ISegmentedThemeColor {
5
5
  borderType?: borderTypePropsType;
6
- borderWidth?: borderWidthPropsType;
7
- fill?: fillPropsType;
8
- fillHover?: fillHoverPropsType;
9
- indicatorFill?: itemColorPropsType;
10
- inputBorderColor?: borderColorPropsType;
6
+ borderWidth?: tBorderWidthProps;
7
+ fill?: tFillProps;
8
+ fillHover?: tFillHoverProps;
9
+ indicatorFill?: tItemColorProps;
10
+ inputBorderColor?: tBorderColorProps;
11
11
  labelTextActiveColor?: textColorActivePropsType;
12
- labelTextColor?: textColorPropsType;
13
- labelTextSize?: textSizePropsType;
12
+ labelTextColor?: tTextColorProps;
13
+ labelTextSize?: tTextSizeProps;
14
14
  labelTextWrap?: textWrapPropsType;
15
- shape?: shapePropsType;
16
- width?: widthPropsType;
15
+ shape?: tShapeProps;
16
+ width?: tWidthProps;
17
17
  }
18
- type appearanceKeysType = appearanceKeysDefaultType & {};
18
+ type appearanceKeysType = tAppearanceKeysDefault & {};
19
19
  export type segmentedAppearanceType = {
20
20
  [key in appearanceKeysType]?: ISegmentedThemeColor;
21
21
  };
@@ -27,7 +27,7 @@ interface ISegment {
27
27
  value: string;
28
28
  label: string;
29
29
  }
30
- export interface ISegmentedProps extends ISegmentedThemeColor, TypeStyleAttributes {
30
+ export interface ISegmentedProps extends ISegmentedThemeColor, iStyleAttributes {
31
31
  activeSegment?: any;
32
32
  appearance?: appearanceKeysType;
33
33
  className?: string;
@@ -1,21 +1,21 @@
1
1
  import { ReactNode } from 'react';
2
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
3
- import { fillPropsType, iconSizePropsType, textColorHoverPropsType, textColorPropsType, textSizePropsType } from '../../types';
4
- export interface ISiteMenuProps extends TypeStyleAttributes {
2
+ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
3
+ import { tFillProps, iconSizePropsType, textColorHoverPropsType, tTextColorProps, tTextSizeProps } from '../../types';
4
+ export interface ISiteMenuProps extends iStyleAttributes {
5
5
  children?: ReactNode;
6
6
  className?: string;
7
7
  closeText?: string;
8
- closeTextColor?: textColorPropsType;
8
+ closeTextColor?: tTextColorProps;
9
9
  closeTextColorHover?: textColorHoverPropsType;
10
- closeTextSize?: textSizePropsType;
11
- fill?: fillPropsType;
10
+ closeTextSize?: tTextSizeProps;
11
+ fill?: tFillProps;
12
12
  iconClose?: ReactNode;
13
- iconCloseBgFill?: fillPropsType;
14
- iconCloseFill?: fillPropsType;
13
+ iconCloseBgFill?: tFillProps;
14
+ iconCloseFill?: tFillProps;
15
15
  iconCloseSize?: iconSizePropsType;
16
16
  onClose?: () => void;
17
17
  }
18
- export interface ISiteMenuButtonProps extends TypeStyleAttributes {
18
+ export interface ISiteMenuButtonProps extends iStyleAttributes {
19
19
  children?: ReactNode;
20
20
  className?: string;
21
21
  text?: string;
@@ -1,9 +1,9 @@
1
1
  import { CSSProperties, ReactNode, type Ref } from 'react';
2
2
  import { SwiperClass, type SwiperRef } from 'swiper/react';
3
3
  import { SwiperModule, SwiperOptions } from 'swiper/types';
4
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
5
- import { alignDirectionPropsType, alignPropsType, fillPropsType, shapePropsType, textColorPropsType, textWeightPropsType, titleSizePropsType } from '../../types';
6
- export interface ISwiperProps extends TypeStyleAttributes {
4
+ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
5
+ import { alignDirectionPropsType, alignPropsType, tFillProps, tShapeProps, tTextColorProps, tTextWeightProps, titleSizePropsType } from '../../types';
6
+ export interface ISwiperProps extends iStyleAttributes {
7
7
  activeSlideIndex?: number;
8
8
  align?: alignPropsType;
9
9
  alignDirection?: alignDirectionPropsType;
@@ -16,7 +16,7 @@ export interface ISwiperProps extends TypeStyleAttributes {
16
16
  children?: ReactNode;
17
17
  className?: string;
18
18
  direction?: 'horizontal' | 'vertical';
19
- fill?: fillPropsType;
19
+ fill?: tFillProps;
20
20
  forwardedRef: Ref<SwiperRef>;
21
21
  freeMode?: boolean;
22
22
  id?: string;
@@ -34,7 +34,7 @@ export interface ISwiperProps extends TypeStyleAttributes {
34
34
  set?: string;
35
35
  setNextBtnDisabled?: (isDisabled: boolean) => void;
36
36
  setPrevBtnDisabled?: (isDisabled: boolean) => void;
37
- shape?: shapePropsType;
37
+ shape?: tShapeProps;
38
38
  simulateTouch?: boolean;
39
39
  slidesPerView?: number | 'auto';
40
40
  spaceBetween?: string | number;
@@ -45,8 +45,8 @@ export interface ISwiperProps extends TypeStyleAttributes {
45
45
  title?: string;
46
46
  titleAfter?: ReactNode;
47
47
  titleSize?: titleSizePropsType;
48
- titleTextColor?: textColorPropsType;
49
- titleWeight?: textWeightPropsType;
48
+ titleTextColor?: tTextColorProps;
49
+ titleWeight?: tTextWeightProps;
50
50
  isChangeOnClickSlide?: boolean;
51
51
  isInit?: boolean;
52
52
  isNavigation?: boolean;
@@ -1,5 +1,5 @@
1
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
2
- export interface ISwitchProps extends TypeStyleAttributes {
1
+ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
2
+ export interface ISwitchProps extends iStyleAttributes {
3
3
  checked?: boolean;
4
4
  className?: string;
5
5
  disabled?: boolean;
@@ -1,45 +1,45 @@
1
1
  import { CSSProperties, ReactNode } from 'react';
2
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
3
- import { alignDirectionPropsType, alignPropsType, directionPropsType, fillHoverPropsType, fillPropsType, justifyContentPropsType, shapePropsType, sizePropsType, textColorActivePropsType, textColorHoverPropsType, textColorPropsType, textGradientPropsType, textSizePropsType, textStylePropsType, textWeightPropsType, textWrapPropsType, widthPropsType } from '../../types';
4
- import { appearanceKeysDefaultType } from '../../types/componentProps/appearanceKeys';
2
+ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
3
+ import { alignDirectionPropsType, alignPropsType, tDirectionProps, tFillHoverProps, tFillProps, justifyContentPropsType, tShapeProps, tSizeProps, textColorActivePropsType, textColorHoverPropsType, tTextColorProps, textGradientPropsType, tTextSizeProps, textStylePropsType, tTextWeightProps, textWrapPropsType, tWidthProps } from '../../types';
4
+ import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
5
5
  export interface ITabThemeColor {
6
6
  align?: alignPropsType;
7
7
  alignDirection?: alignDirectionPropsType;
8
8
  badgeAppearance?: appearanceKeysType;
9
- badgeSize?: sizePropsType;
10
- badgeTextColor?: textColorPropsType;
11
- badgeTextSize?: textSizePropsType;
9
+ badgeSize?: tSizeProps;
10
+ badgeTextColor?: tTextColorProps;
11
+ badgeTextSize?: tTextSizeProps;
12
12
  badgeValue?: string;
13
- dividerDirection?: directionPropsType;
14
- dividerFill?: fillPropsType;
15
- dividerFillActive?: fillPropsType;
16
- dividerFillActiveHover?: fillHoverPropsType;
17
- dividerFillDisabled?: fillPropsType;
18
- dividerFillHover?: fillHoverPropsType;
19
- dividerSize?: sizePropsType;
20
- fill?: fillPropsType;
21
- fillActive?: fillPropsType;
22
- fillActiveHover?: fillHoverPropsType;
23
- fillDisabled?: fillPropsType;
24
- fillHover?: fillHoverPropsType;
13
+ dividerDirection?: tDirectionProps;
14
+ dividerFill?: tFillProps;
15
+ dividerFillActive?: tFillProps;
16
+ dividerFillActiveHover?: tFillHoverProps;
17
+ dividerFillDisabled?: tFillProps;
18
+ dividerFillHover?: tFillHoverProps;
19
+ dividerSize?: tSizeProps;
20
+ fill?: tFillProps;
21
+ fillActive?: tFillProps;
22
+ fillActiveHover?: tFillHoverProps;
23
+ fillDisabled?: tFillProps;
24
+ fillHover?: tFillHoverProps;
25
25
  justifyContent?: justifyContentPropsType;
26
26
  label?: string;
27
- labelColor?: textColorPropsType;
27
+ labelColor?: tTextColorProps;
28
28
  labelColorActive?: textColorActivePropsType;
29
- labelColorDisabled?: textColorPropsType;
29
+ labelColorDisabled?: tTextColorProps;
30
30
  labelTextColorHover?: textColorHoverPropsType;
31
31
  labelTextGradient?: textGradientPropsType;
32
- labelTextSize?: textSizePropsType;
32
+ labelTextSize?: tTextSizeProps;
33
33
  labelTextStyle?: textStylePropsType;
34
- labelTextWeight?: textWeightPropsType;
34
+ labelTextWeight?: tTextWeightProps;
35
35
  labelTextWrap?: textWrapPropsType;
36
- linkFill?: fillPropsType;
37
- shape?: shapePropsType;
38
- size?: sizePropsType;
36
+ linkFill?: tFillProps;
37
+ shape?: tShapeProps;
38
+ size?: tSizeProps;
39
39
  type?: string;
40
- width?: widthPropsType;
40
+ width?: tWidthProps;
41
41
  }
42
- type appearanceKeysType = appearanceKeysDefaultType & {};
42
+ type appearanceKeysType = tAppearanceKeysDefault & {};
43
43
  export type tabAppearanceType = {
44
44
  [key in appearanceKeysType]?: ITabThemeColor;
45
45
  };
@@ -47,7 +47,7 @@ export interface ITabConfig {
47
47
  appearance: tabAppearanceType | undefined;
48
48
  setAppearance: (newComponent: tabAppearanceType) => void;
49
49
  }
50
- export interface ITabProps extends ITabThemeColor, TypeStyleAttributes {
50
+ export interface ITabProps extends ITabThemeColor, iStyleAttributes {
51
51
  after?: ReactNode;
52
52
  appearance?: appearanceKeysType;
53
53
  before?: ReactNode;
@@ -67,7 +67,7 @@ export interface ITabProps extends ITabThemeColor, TypeStyleAttributes {
67
67
  onClick?: () => void;
68
68
  onMouseEnter?: () => void;
69
69
  }
70
- export interface ITabGroupProps extends TypeStyleAttributes {
70
+ export interface ITabGroupProps extends iStyleAttributes {
71
71
  children?: ReactNode;
72
72
  className?: string;
73
73
  dataTour?: string;
@@ -1,15 +1,15 @@
1
1
  import { CSSProperties, ElementType, ReactNode } from 'react';
2
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
3
- import { sizePropsType, textAlignPropsType, textColorActivePropsType, textColorHoverPropsType, textColorPropsType, textGradientPropsType, textSizePropsType, textStylePropsType, textWeightPropsType, textWrapPropsType, typePropsType, widthPropsType } from '../../types';
4
- import { appearanceKeysDefaultType } from '../../types/componentProps/appearanceKeys';
2
+ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
3
+ import { tSizeProps, textAlignPropsType, textColorActivePropsType, textColorHoverPropsType, tTextColorProps, textGradientPropsType, tTextSizeProps, textStylePropsType, tTextWeightProps, textWrapPropsType, typePropsType, tWidthProps } from '../../types';
4
+ import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
5
5
  interface ITextThemeColor {
6
- size?: sizePropsType;
7
- textColor?: textColorPropsType;
6
+ size?: tSizeProps;
7
+ textColor?: tTextColorProps;
8
8
  textColorActive?: textColorActivePropsType;
9
9
  textColorGradient?: textGradientPropsType;
10
10
  textColorHover?: textColorHoverPropsType;
11
11
  }
12
- type appearanceKeysType = appearanceKeysDefaultType & {};
12
+ type appearanceKeysType = tAppearanceKeysDefault & {};
13
13
  type appearanceType = {
14
14
  [key in appearanceKeysType]: ITextThemeColor;
15
15
  };
@@ -17,7 +17,7 @@ export interface ITextConfig {
17
17
  appearance: appearanceType | undefined;
18
18
  setAppearance: (newComponent: appearanceType) => void;
19
19
  }
20
- export interface ITextProps extends ITextThemeColor, TypeStyleAttributes {
20
+ export interface ITextProps extends ITextThemeColor, iStyleAttributes {
21
21
  after?: ReactNode;
22
22
  appearance?: appearanceKeysType;
23
23
  before?: ReactNode;
@@ -32,24 +32,24 @@ export interface ITextProps extends ITextThemeColor, TypeStyleAttributes {
32
32
  tag?: ElementType;
33
33
  onClick?: () => void;
34
34
  onDoubleClick?: () => void;
35
- sizeDesktop?: sizePropsType;
36
- sizeMobile?: sizePropsType;
37
- sizeTablet?: sizePropsType;
38
- textColorDesktop?: textColorPropsType;
39
- textColorMobile?: textColorPropsType;
40
- textColorTablet?: textColorPropsType;
41
- textWeightDesktop?: textWeightPropsType;
42
- textWeightMobile?: textWeightPropsType;
43
- textWeightTablet?: textWeightPropsType;
35
+ sizeDesktop?: tSizeProps;
36
+ sizeMobile?: tSizeProps;
37
+ sizeTablet?: tSizeProps;
38
+ textColorDesktop?: tTextColorProps;
39
+ textColorMobile?: tTextColorProps;
40
+ textColorTablet?: tTextColorProps;
41
+ textWeightDesktop?: tTextWeightProps;
42
+ textWeightMobile?: tTextWeightProps;
43
+ textWeightTablet?: tTextWeightProps;
44
44
  type?: typePropsType;
45
45
  cursor?: string;
46
- size?: textSizePropsType;
46
+ size?: tTextSizeProps;
47
47
  textAlign?: textAlignPropsType;
48
- textColor?: textColorPropsType;
48
+ textColor?: tTextColorProps;
49
49
  textStyle?: textStylePropsType;
50
50
  textTruncate?: boolean;
51
- textWeight?: textWeightPropsType;
51
+ textWeight?: tTextWeightProps;
52
52
  textWrap?: textWrapPropsType;
53
- width?: widthPropsType;
53
+ width?: tWidthProps;
54
54
  }
55
55
  export {};
@@ -1,22 +1,22 @@
1
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
2
- import { borderColorHoverPropsType, borderColorPropsType, fillPropsType, itemColorPropsType, shapePropsType, sizePropsType, textColorPropsType, textSizePropsType, textWeightPropsType, widthPropsType } from '../../types';
3
- import { appearanceKeysDefaultType } from '../../types/componentProps/appearanceKeys';
4
- import { stateKeysDefaultType } from '../../types/componentProps/stateKeys';
1
+ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
2
+ import { borderColorHoverPropsType, tBorderColorProps, tFillProps, tItemColorProps, tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps, tTextWeightProps, tWidthProps } from '../../types';
3
+ import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
4
+ import { tStateKeysDefault } from '../../types/componentProps/stateKeys';
5
5
  export interface ITextareaThemeColor {
6
- borderColor?: borderColorPropsType;
6
+ borderColor?: tBorderColorProps;
7
7
  borderHover?: borderColorHoverPropsType;
8
- caret?: itemColorPropsType;
9
- fill?: fillPropsType;
10
- placeholderTextColor?: textColorPropsType;
11
- shape?: shapePropsType;
12
- size?: sizePropsType;
13
- textColor?: textColorPropsType;
14
- textSize?: textSizePropsType;
15
- textWeight?: textWeightPropsType;
16
- width?: widthPropsType;
8
+ caret?: tItemColorProps;
9
+ fill?: tFillProps;
10
+ placeholderTextColor?: tTextColorProps;
11
+ shape?: tShapeProps;
12
+ size?: tSizeProps;
13
+ textColor?: tTextColorProps;
14
+ textSize?: tTextSizeProps;
15
+ textWeight?: tTextWeightProps;
16
+ width?: tWidthProps;
17
17
  }
18
- type appearanceKeysType = appearanceKeysDefaultType & {};
19
- type stateKeysType = stateKeysDefaultType & {};
18
+ type appearanceKeysType = tAppearanceKeysDefault & {};
19
+ type stateKeysType = tStateKeysDefault & {};
20
20
  export type textareaAppearanceType = {
21
21
  [key in appearanceKeysType]?: ITextareaThemeColor;
22
22
  };
@@ -29,7 +29,7 @@ export interface ITextareaConfig {
29
29
  appearance: textareaAppearanceType | undefined;
30
30
  setAppearance: (newComponent: textareaAppearanceType) => void;
31
31
  }
32
- export interface ITextareaProps extends ITextareaThemeColor, TypeStyleAttributes {
32
+ export interface ITextareaProps extends ITextareaThemeColor, iStyleAttributes {
33
33
  appearance?: appearanceKeysType;
34
34
  className?: string;
35
35
  disabled?: boolean;
@@ -1,36 +1,36 @@
1
1
  import { CSSProperties, ReactNode } from 'react';
2
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
3
- import { alignDirectionPropsType, alignPropsType, borderColorHoverPropsType, borderColorPropsType, borderTypePropsType, borderWidthPropsType, directionPropsType, fillPropsType, shapePropsType, sizePropsType, textAlignPropsType, textColorPropsType, textSizePropsType, textWeightPropsType, textWrapPropsType, titleSizePropsType } from '../../types';
4
- export interface ITileProps extends TypeStyleAttributes {
2
+ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
3
+ import { alignDirectionPropsType, alignPropsType, borderColorHoverPropsType, tBorderColorProps, borderTypePropsType, tBorderWidthProps, tDirectionProps, tFillProps, tShapeProps, tSizeProps, textAlignPropsType, tTextColorProps, tTextSizeProps, tTextWeightProps, textWrapPropsType, titleSizePropsType } from '../../types';
4
+ export interface ITileProps extends iStyleAttributes {
5
5
  after?: ReactNode;
6
6
  align?: alignPropsType;
7
7
  alignDirection?: alignDirectionPropsType;
8
8
  badge?: string;
9
- badgeSize?: sizePropsType;
10
- badgeTextColor?: textColorPropsType;
11
- badgeTextSize?: textSizePropsType;
9
+ badgeSize?: tSizeProps;
10
+ badgeTextColor?: tTextColorProps;
11
+ badgeTextSize?: tTextSizeProps;
12
12
  before?: ReactNode;
13
- borderColor?: borderColorPropsType;
13
+ borderColor?: tBorderColorProps;
14
14
  borderColorHover?: borderColorHoverPropsType;
15
15
  borderType?: borderTypePropsType;
16
- borderWidth?: borderWidthPropsType;
16
+ borderWidth?: tBorderWidthProps;
17
17
  children?: ReactNode;
18
18
  className?: string;
19
- direction?: directionPropsType;
20
- fill?: fillPropsType;
19
+ direction?: tDirectionProps;
20
+ fill?: tFillProps;
21
21
  reverse?: boolean;
22
- shape?: shapePropsType;
22
+ shape?: tShapeProps;
23
23
  size?: string;
24
24
  style?: CSSProperties;
25
25
  text?: string;
26
- textColor?: textColorPropsType;
27
- textSize?: textSizePropsType;
26
+ textColor?: tTextColorProps;
27
+ textSize?: tTextSizeProps;
28
28
  textWrap?: textWrapPropsType;
29
29
  title?: string;
30
30
  titleTextAlign?: textAlignPropsType;
31
- titleTextColor?: textColorPropsType;
31
+ titleTextColor?: tTextColorProps;
32
32
  titleTextSize?: titleSizePropsType;
33
- titleTextWeight?: textWeightPropsType;
33
+ titleTextWeight?: tTextWeightProps;
34
34
  titleTextWrap?: textWrapPropsType;
35
35
  type?: string;
36
36
  onClick?: () => void;