@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
@@ -11,7 +11,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
11
11
  var clsx__default = /*#__PURE__*/_interopDefault(clsx);
12
12
 
13
13
  function Logo(props) {
14
- var className = props.className, href = props.href, link = props.link, mode = props.mode, size = props.size, source = props.source, src = props.src;
14
+ var alt = props.alt, className = props.className, href = props.href, link = props.link, mode = props.mode, size = props.size, source = props.source, src = props.src;
15
15
  var alignItemsClass = useDeviceTargetClass.useDeviceTargetClass(props, {
16
16
  prefix: 'logo_align-items_',
17
17
  propsKey: 'alignItems',
@@ -30,7 +30,7 @@ function Logo(props) {
30
30
  });
31
31
  // @ts-expect-error
32
32
  var logo = useStyles.useStyles(props).styles;
33
- return (jsxRuntime.jsxRuntimeExports.jsx("div", { className: clsx__default.default(className, 'logo', alignDirectionClass, alignClass, widthClass, alignItemsClass, size && "logo_size_".concat(size), mode && "logo_mode_".concat(mode)), style: logo, children: link || href ? (jsxRuntime.jsxRuntimeExports.jsxs(Link.LinkWrapper, { href: link || href, children: [' ', jsxRuntime.jsxRuntimeExports.jsx("img", { className: "logo__image", src: src || source })] })) : (jsxRuntime.jsxRuntimeExports.jsx("img", { className: "logo__image", src: src || source })) }));
33
+ return (jsxRuntime.jsxRuntimeExports.jsx("div", { className: clsx__default.default(className, 'logo', alignClass, alignDirectionClass, alignItemsClass, alt, mode && "logo_mode_".concat(mode), size && "logo_size_".concat(size), widthClass), style: logo, children: link || href ? (jsxRuntime.jsxRuntimeExports.jsxs(Link.LinkWrapper, { href: link || href, children: [' ', jsxRuntime.jsxRuntimeExports.jsx("img", { className: "logo__image", src: src || source })] })) : (jsxRuntime.jsxRuntimeExports.jsx("img", { className: "logo__image", src: src || source })) }));
34
34
  }
35
35
 
36
36
  exports.Logo = Logo;
@@ -71,6 +71,8 @@ var Modal = React__default.default.forwardRef(function Modal(props, ref) {
71
71
  // Show modal with children content
72
72
  var openModal = React.useCallback(function () {
73
73
  setIsOpen(true);
74
+ console.warn('======== openModal ========');
75
+ console.log('onOpenModal ', onOpenModal);
74
76
  // Callback
75
77
  if (typeof onOpenModal === 'function') {
76
78
  onOpenModal();
@@ -118,7 +120,12 @@ var Modal = React__default.default.forwardRef(function Modal(props, ref) {
118
120
  }
119
121
  }, []);
120
122
  // Save ref things
121
- React.useImperativeHandle(ref, function () { return ({ isOpen: isOpen, openModal: openModal, closeModal: closeModal, modalElement: modalElement }); });
123
+ React.useImperativeHandle(ref, function () { return ({ isOpen: isOpen, closeModal: closeModal, modalElement: modalElement, openModal: openModal }); }, [
124
+ isOpen,
125
+ openModal,
126
+ closeModal,
127
+ modalElement,
128
+ ]);
122
129
  var fillClass = useDeviceTargetClass.useDeviceTargetClass(props, {
123
130
  prefix: 'fill_',
124
131
  propsKey: 'fill',
@@ -23,7 +23,7 @@ var responseConfig = {
23
23
  },
24
24
  };
25
25
  function Response(props) {
26
- var after = props.after, before = props.before, appearance = props.appearance, imageSrc = props.imageSrc, className = props.className, title = props.title, titleTextSize = props.titleTextSize, titleTextWeight = props.titleTextWeight, titleTextColor = props.titleTextColor, message = props.message, messageTextColor = props.messageTextColor, messageTextSize = props.messageTextSize, primaryButton = props.primaryButton, primaryButtonAfter = props.primaryButtonAfter, primaryButtonAppearance = props.primaryButtonAppearance, primaryButtonBefore = props.primaryButtonBefore, primaryButtonFill = props.primaryButtonFill, primaryButtonFillHover = props.primaryButtonFillHover, primaryButtonLabel = props.primaryButtonLabel, primaryButtonLabelTextColor = props.primaryButtonLabelTextColor, primaryButtonLabelTextSize = props.primaryButtonLabelTextSize, primaryButtonShape = props.primaryButtonShape, primaryButtonSize = props.primaryButtonSize, primaryButtonWidth = props.primaryButtonWidth, secondaryButton = props.secondaryButton, secondaryButtonAfter = props.secondaryButtonAfter, secondaryButtonAppearance = props.secondaryButtonAppearance, secondaryButtonBefore = props.secondaryButtonBefore, secondaryButtonFill = props.secondaryButtonFill, secondaryButtonFillHover = props.secondaryButtonFillHover, secondaryButtonLabel = props.secondaryButtonLabel, secondaryButtonLabelTextColor = props.secondaryButtonLabelTextColor, secondaryButtonLabelTextSize = props.secondaryButtonLabelTextSize, secondaryButtonShape = props.secondaryButtonShape, secondaryButtonSize = props.secondaryButtonSize, secondaryButtonWidth = props.secondaryButtonWidth, set = props.set, onClickPrimaryButton = props.onClickPrimaryButton, onClickSecondaryButton = props.onClickSecondaryButton;
26
+ var after = props.after, before = props.before, appearance = props.appearance, imageSrc = props.imageSrc, className = props.className, title = props.title, titleTextColor = props.titleTextColor, titleTextSize = props.titleTextSize, titleTextWeight = props.titleTextWeight, message = props.message, messageTextColor = props.messageTextColor, messageTextSize = props.messageTextSize, messageTextWeight = props.messageTextWeight, primaryButton = props.primaryButton, primaryButtonAfter = props.primaryButtonAfter, primaryButtonAppearance = props.primaryButtonAppearance, primaryButtonBefore = props.primaryButtonBefore, primaryButtonFill = props.primaryButtonFill, primaryButtonFillHover = props.primaryButtonFillHover, primaryButtonLabel = props.primaryButtonLabel, primaryButtonLabelTextColor = props.primaryButtonLabelTextColor, primaryButtonLabelTextSize = props.primaryButtonLabelTextSize, primaryButtonShape = props.primaryButtonShape, primaryButtonSize = props.primaryButtonSize, primaryButtonWidth = props.primaryButtonWidth, secondaryButton = props.secondaryButton, secondaryButtonAfter = props.secondaryButtonAfter, secondaryButtonAppearance = props.secondaryButtonAppearance, secondaryButtonBefore = props.secondaryButtonBefore, secondaryButtonFill = props.secondaryButtonFill, secondaryButtonFillHover = props.secondaryButtonFillHover, secondaryButtonLabel = props.secondaryButtonLabel, secondaryButtonLabelTextColor = props.secondaryButtonLabelTextColor, secondaryButtonLabelTextSize = props.secondaryButtonLabelTextSize, secondaryButtonShape = props.secondaryButtonShape, secondaryButtonSize = props.secondaryButtonSize, secondaryButtonWidth = props.secondaryButtonWidth, set = props.set, onClickPrimaryButton = props.onClickPrimaryButton, onClickSecondaryButton = props.onClickSecondaryButton;
27
27
  var ImageComponent = React.useMemo(function () {
28
28
  if (imageSrc) {
29
29
  // eslint-disable-next-line react/prop-types
@@ -71,7 +71,7 @@ function Response(props) {
71
71
  ((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fillHover) &&
72
72
  "fill_hover_".concat(appearanceConfig.fillHover).replace(/([A-Z])/g, '-$1').toLowerCase()), shapeClass ||
73
73
  ((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.shape) &&
74
- "fill_hover_".concat(appearanceConfig.shape).replace(/([A-Z])/g, '-$1').toLowerCase()), borderColorClass, borderColorHoverClass, borderWidthClass, borderTypeClass, set && "response_set_".concat(set)), style: responseStyles, children: [before, ImageComponent || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.imageSrc), jsxRuntime.jsxRuntimeExports.jsxs(Group.Group, { className: "response__desc", width: "fill", children: [title && (jsxRuntime.jsxRuntimeExports.jsx(Title.Title, { className: "response__title", size: titleTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.titleTextSize) || 'h2', textColor: titleTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.titleTextColor), textWeight: titleTextWeight || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.titleTextWeight) || '600', children: title })), message && (jsxRuntime.jsxRuntimeExports.jsx(Text.Text, { className: "response__message", size: messageTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.messageTextSize) || 'xxl', textColor: messageTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.messageTextColor), children: message }))] }), (primaryButtonLabel ||
74
+ "fill_hover_".concat(appearanceConfig.shape).replace(/([A-Z])/g, '-$1').toLowerCase()), borderColorClass, borderColorHoverClass, borderWidthClass, borderTypeClass, set && "response_set_".concat(set)), style: responseStyles, children: [before, ImageComponent || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.imageSrc), jsxRuntime.jsxRuntimeExports.jsxs(Group.Group, { className: "response__desc", width: "fill", children: [title && (jsxRuntime.jsxRuntimeExports.jsx(Title.Title, { className: "response__title", size: titleTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.titleTextSize) || 'h2', textColor: titleTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.titleTextColor), textWeight: titleTextWeight || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.titleTextWeight) || '600', children: title })), message && (jsxRuntime.jsxRuntimeExports.jsx(Text.Text, { className: "response__message", size: messageTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.messageTextSize) || 'xxl', textColor: messageTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.messageTextColor), textWeight: messageTextWeight, children: message }))] }), (primaryButtonLabel ||
75
75
  primaryButton ||
76
76
  secondaryButtonLabel ||
77
77
  secondaryButton ||
@@ -1,5 +1,5 @@
1
- import { IAccordionProps } from './Accordion.interface';
2
- declare function Accordion(props: IAccordionProps): import("react/jsx-runtime").JSX.Element;
1
+ import type { iAccordionProps } from './Accordion.interface';
2
+ declare function Accordion(props: iAccordionProps): import("react/jsx-runtime").JSX.Element;
3
3
  declare namespace Accordion {
4
4
  var defaultProps: {
5
5
  initial: never[];
@@ -1,70 +1,70 @@
1
- import { CSSProperties, ReactNode } from 'react';
2
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
3
- import { borderColorPropsType, directionPropsType, fillHoverPropsType, fillPropsType, heightPropsType, itemColorPropsType, shapePropsType, sizePropsType, textColorPropsType, textWeightPropsType, widthPropsType } from '../../types';
4
- export interface IAccordionProps extends TypeStyleAttributes {
5
- children?: ReactNode;
1
+ import type { CSSProperties, ReactNode } from 'react';
2
+ import type { iStyleAttributes } from '../../hooks/styleAttributes.interface';
3
+ import type { tBorderColorProps, tDirectionProps, tFillHoverProps, tFillProps, tHeightProps, tItemColorProps, tShapeProps, tSizeProps, tTextColorProps, tTextWeightProps, tWidthProps } from '../../types';
4
+ interface iAccordionItemEventData {
5
+ id: number | string;
6
+ content?: ReactNode;
7
+ title: string;
8
+ isExpanded: boolean;
9
+ }
10
+ interface iAccordionProps extends iStyleAttributes {
11
+ borderColor?: tBorderColorProps;
12
+ children?: Element | React.ReactNode;
6
13
  className: string;
14
+ direction?: tDirectionProps;
15
+ fill?: tFillProps;
16
+ height?: tHeightProps;
7
17
  initial: any;
8
- isMultiple: boolean;
9
18
  items?: {
10
- content: ReactNode;
11
19
  id: number | string;
20
+ content?: ReactNode;
12
21
  title: string;
13
22
  }[];
23
+ shape?: tShapeProps;
14
24
  style?: CSSProperties;
15
- onClickItem?: ({}: {
16
- id: number | string;
17
- }) => void;
18
- borderColor?: borderColorPropsType;
19
- direction?: directionPropsType;
20
- fill?: fillPropsType;
21
- height?: heightPropsType;
22
- shape?: shapePropsType;
23
- width?: widthPropsType;
25
+ width?: tWidthProps;
26
+ isMultiple: boolean;
27
+ onClickItem?: (T: iAccordionItemEventData) => void;
24
28
  }
25
- export interface IAccordionItemProps extends TypeStyleAttributes {
29
+ interface iAccordionItemProps extends iStyleAttributes {
30
+ id: number | string;
26
31
  afterContent?: ReactNode;
27
32
  beforeContent?: ReactNode;
33
+ borderColor?: tBorderColorProps;
28
34
  children?: ReactNode;
29
35
  className?: string;
30
36
  content?: ReactNode;
31
- contentTextColor?: textColorPropsType;
32
- contentTextSize?: sizePropsType;
33
- contentTextWeight?: textWeightPropsType;
37
+ contentBorderColor?: tBorderColorProps;
38
+ contentFill?: tFillProps;
39
+ contentTextColor?: tTextColorProps;
40
+ contentTextSize?: tSizeProps;
41
+ contentTextWeight?: tTextWeightProps;
42
+ fill?: tFillProps;
43
+ fillDesktop?: tFillProps;
44
+ fillHover?: tFillHoverProps;
45
+ fillMobile?: tFillProps;
46
+ fillTablet?: tFillProps;
47
+ height?: tHeightProps;
34
48
  icon?: ReactNode;
35
- id: number | string;
36
- size?: sizePropsType;
49
+ iconFill?: tItemColorProps;
50
+ iconFillDesktop?: tItemColorProps;
51
+ iconFillMobile?: tItemColorProps;
52
+ iconFillTablet?: tItemColorProps;
53
+ shape?: tShapeProps;
54
+ shapeDesktop?: tShapeProps;
55
+ shapeMobile?: tShapeProps;
56
+ shapeTablet?: tShapeProps;
57
+ size?: tSizeProps;
37
58
  style?: CSSProperties;
38
59
  title?: string;
39
- titleTextColor?: textColorPropsType;
40
- titleTextSize?: sizePropsType;
41
- titleTextWeight?: textWeightPropsType;
60
+ titleBorderColor?: tBorderColorProps;
61
+ titleFill?: tFillProps;
62
+ titleFillHover?: tFillHoverProps;
63
+ titleTextColor?: tTextColorProps;
64
+ titleTextSize?: tSizeProps;
65
+ titleTextWeight?: tTextWeightProps;
66
+ width?: tWidthProps;
42
67
  isExpanded?: boolean;
43
- onClick?: ({}: {
44
- id: number | string;
45
- title?: string;
46
- content?: ReactNode;
47
- isExpanded?: boolean;
48
- }) => void;
49
- fillDesktop?: fillPropsType;
50
- fillMobile?: fillPropsType;
51
- fillTablet?: fillPropsType;
52
- iconFill?: itemColorPropsType;
53
- iconFillDesktop?: itemColorPropsType;
54
- iconFillMobile?: itemColorPropsType;
55
- iconFillTablet?: itemColorPropsType;
56
- shapeDesktop?: shapePropsType;
57
- shapeMobile?: shapePropsType;
58
- shapeTablet?: shapePropsType;
59
- borderColor?: borderColorPropsType;
60
- contentBorderColor?: borderColorPropsType;
61
- titleBorderColor?: borderColorPropsType;
62
- fill?: fillPropsType;
63
- fillHover?: fillHoverPropsType;
64
- contentFill?: fillPropsType;
65
- titleFill?: fillPropsType;
66
- titleFillHover?: fillHoverPropsType;
67
- shape?: shapePropsType;
68
- width?: widthPropsType;
69
- height?: heightPropsType;
68
+ onClick?: (T: iAccordionItemEventData) => void;
70
69
  }
70
+ export type { iAccordionItemEventData, iAccordionProps, iAccordionItemProps };
@@ -1,5 +1,5 @@
1
- import { IAccordionItemProps } from './Accordion.interface';
2
- declare function AccordionItem(props: IAccordionItemProps): import("react/jsx-runtime").JSX.Element;
1
+ import type { iAccordionItemProps } from './Accordion.interface';
2
+ declare function AccordionItem(props: iAccordionItemProps): import("react/jsx-runtime").JSX.Element;
3
3
  declare namespace AccordionItem {
4
4
  var defaultProps: {
5
5
  iconFill: string;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var Accordion = require('../Accordion-UbOVpiO4.js');
3
+ var Accordion = require('../Accordion-rCFDAon3.js');
4
4
  require('../_tslib-CKiUdo7p.js');
5
5
  require('../jsx-runtime-BBxmckJR.js');
6
6
  require('react');
@@ -1,29 +1,29 @@
1
1
  import { ElementType, ReactNode } from 'react';
2
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
3
- import { fillHoverPropsType, fillPropsType, iconFillSizePropsType, iconSizePropsType, itemColorPropsType, shapePropsType, sizePXPropsType, textColorPropsType, textSizePropsType, textWeightPropsType } from '../../types';
4
- export interface IAvatarProps extends TypeStyleAttributes {
2
+ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
3
+ import { tFillHoverProps, tFillProps, iconFillSizePropsType, iconSizePropsType, tItemColorProps, tShapeProps, sizePXPropsType, tTextColorProps, tTextSizeProps, tTextWeightProps } from '../../types';
4
+ export interface IAvatarProps extends iStyleAttributes {
5
5
  Dot?: ReactNode;
6
6
  after?: ReactNode;
7
7
  before?: ReactNode;
8
8
  className?: string;
9
- fill?: fillPropsType;
9
+ fill?: tFillProps;
10
10
  firstName?: string;
11
11
  icon?: ElementType;
12
- iconFill?: fillPropsType;
13
- iconFillHover?: fillHoverPropsType;
12
+ iconFill?: tFillProps;
13
+ iconFillHover?: tFillHoverProps;
14
14
  iconFillSize?: iconFillSizePropsType;
15
- iconItemFill?: itemColorPropsType;
16
- iconShape?: shapePropsType;
15
+ iconItemFill?: tItemColorProps;
16
+ iconShape?: tShapeProps;
17
17
  iconSize?: iconSizePropsType;
18
18
  iconSrc?: string;
19
19
  mode?: string;
20
20
  secondName?: string;
21
- shape?: shapePropsType;
21
+ shape?: tShapeProps;
22
22
  size?: sizePXPropsType;
23
23
  src?: string;
24
- textColor?: textColorPropsType;
25
- textSize?: textSizePropsType;
26
- textWeight?: textWeightPropsType;
24
+ textColor?: tTextColorProps;
25
+ textSize?: tTextSizeProps;
26
+ textWeight?: tTextWeightProps;
27
27
  type?: 'image' | 'text';
28
28
  onClick?: () => void;
29
29
  }
@@ -1,20 +1,20 @@
1
1
  import { CSSProperties, ReactNode } from 'react';
2
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
3
- import { borderColorHoverPropsType, borderColorPropsType, borderTypePropsType, borderWidthPropsType, fillPropsType, fillHoverPropsType, shapePropsType, sizePropsType, textColorPropsType, textSizePropsType } from '../../types';
4
- import { appearanceKeysDefaultType } from '../../types/componentProps/appearanceKeys';
2
+ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
3
+ import { borderColorHoverPropsType, tBorderColorProps, borderTypePropsType, tBorderWidthProps, tFillProps, tFillHoverProps, tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps } from '../../types';
4
+ import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
5
5
  export interface IBadgeThemeColor {
6
- borderColor?: borderColorPropsType;
6
+ borderColor?: tBorderColorProps;
7
7
  borderColorHover?: borderColorHoverPropsType;
8
8
  borderType?: borderTypePropsType;
9
- borderWidth?: borderWidthPropsType;
10
- fill?: fillPropsType;
11
- fillHover?: fillHoverPropsType;
12
- shape?: shapePropsType;
13
- size?: sizePropsType;
14
- textColor?: textColorPropsType;
15
- textSize?: textSizePropsType;
9
+ borderWidth?: tBorderWidthProps;
10
+ fill?: tFillProps;
11
+ fillHover?: tFillHoverProps;
12
+ shape?: tShapeProps;
13
+ size?: tSizeProps;
14
+ textColor?: tTextColorProps;
15
+ textSize?: tTextSizeProps;
16
16
  }
17
- type appearanceKeysType = appearanceKeysDefaultType & {};
17
+ type appearanceKeysType = tAppearanceKeysDefault & {};
18
18
  export type badgeAppearanceType = {
19
19
  [key in appearanceKeysType]?: IBadgeThemeColor;
20
20
  };
@@ -22,7 +22,7 @@ export interface IBadgeConfig {
22
22
  appearance: badgeAppearanceType | undefined;
23
23
  setAppearance: (newComponent: badgeAppearanceType) => void;
24
24
  }
25
- export interface IBadgeProps extends IBadgeThemeColor, TypeStyleAttributes {
25
+ export interface IBadgeProps extends IBadgeThemeColor, iStyleAttributes {
26
26
  appearance?: appearanceKeysType;
27
27
  children?: ReactNode;
28
28
  className?: string;
@@ -1,19 +1,19 @@
1
1
  import { ElementType, ReactNode } from 'react';
2
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
3
- import { directionPropsType, fillPropsType, iconSizePropsType, positionPropsType, shapePropsType, textColorHoverPropsType, textColorPropsType, textSizePropsType, underlinePropsType, widthPropsType } from '../../types';
4
- export interface IBreadcrumbsItemProps extends TypeStyleAttributes {
2
+ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
3
+ import { tDirectionProps, tFillProps, iconSizePropsType, positionPropsType, tShapeProps, textColorHoverPropsType, tTextColorProps, tTextSizeProps, underlinePropsType, tWidthProps } from '../../types';
4
+ export interface IBreadcrumbsItemProps extends iStyleAttributes {
5
5
  children?: ReactNode;
6
6
  className?: string;
7
7
  cursor?: string;
8
- fill?: fillPropsType;
9
- fillDesktop?: fillPropsType;
10
- fillMobile?: fillPropsType;
11
- fillTablet?: fillPropsType;
8
+ fill?: tFillProps;
9
+ fillDesktop?: tFillProps;
10
+ fillMobile?: tFillProps;
11
+ fillTablet?: tFillProps;
12
12
  href?: string;
13
13
  iconAfter?: ElementType;
14
14
  itemIconAfter?: ElementType;
15
- iconAfterBgFill?: fillPropsType;
16
- iconAfterFill?: fillPropsType;
15
+ iconAfterBgFill?: tFillProps;
16
+ iconAfterFill?: tFillProps;
17
17
  iconAfterSize?: iconSizePropsType;
18
18
  id?: string;
19
19
  position?: positionPropsType;
@@ -21,19 +21,19 @@ export interface IBreadcrumbsItemProps extends TypeStyleAttributes {
21
21
  positionMobile?: positionPropsType;
22
22
  positionTablet?: positionPropsType;
23
23
  set?: string;
24
- shape?: shapePropsType;
25
- shapeDesktop?: shapePropsType;
26
- shapeMobile?: shapePropsType;
27
- shapeTablet?: shapePropsType;
24
+ shape?: tShapeProps;
25
+ shapeDesktop?: tShapeProps;
26
+ shapeMobile?: tShapeProps;
27
+ shapeTablet?: tShapeProps;
28
28
  tag?: string;
29
29
  text?: string;
30
- textColor?: textColorPropsType;
30
+ textColor?: tTextColorProps;
31
31
  textColorHover?: textColorHoverPropsType;
32
- textSize?: textSizePropsType;
32
+ textSize?: tTextSizeProps;
33
33
  onClick?: () => void;
34
34
  underline?: underlinePropsType;
35
35
  }
36
- export interface IBreadcrumbsProps extends TypeStyleAttributes {
36
+ export interface IBreadcrumbsProps extends iStyleAttributes {
37
37
  breadcrumbsList?: {
38
38
  href?: string;
39
39
  id?: string;
@@ -41,18 +41,18 @@ export interface IBreadcrumbsProps extends TypeStyleAttributes {
41
41
  }[];
42
42
  children?: ReactNode;
43
43
  className?: string;
44
- direction?: directionPropsType;
45
- directionDesktop?: directionPropsType;
46
- directionMobile?: directionPropsType;
47
- directionTablet?: directionPropsType;
48
- fill?: fillPropsType;
49
- fillDesktop?: fillPropsType;
50
- fillMobile?: fillPropsType;
51
- fillTablet?: fillPropsType;
52
- iconAfterBgFill?: fillPropsType;
53
- iconAfterFill?: fillPropsType;
44
+ direction?: tDirectionProps;
45
+ directionDesktop?: tDirectionProps;
46
+ directionMobile?: tDirectionProps;
47
+ directionTablet?: tDirectionProps;
48
+ fill?: tFillProps;
49
+ fillDesktop?: tFillProps;
50
+ fillMobile?: tFillProps;
51
+ fillTablet?: tFillProps;
52
+ iconAfterBgFill?: tFillProps;
53
+ iconAfterFill?: tFillProps;
54
54
  iconAfterSize?: iconSizePropsType;
55
- itemTextColor?: textColorPropsType;
55
+ itemTextColor?: tTextColorProps;
56
56
  itemTextColorHover?: textColorHoverPropsType;
57
57
  itemUnderline?: underlinePropsType;
58
58
  position?: positionPropsType;
@@ -60,12 +60,12 @@ export interface IBreadcrumbsProps extends TypeStyleAttributes {
60
60
  positionMobile?: positionPropsType;
61
61
  positionTablet?: positionPropsType;
62
62
  set?: string;
63
- shape?: shapePropsType;
64
- shapeDesktop?: shapePropsType;
65
- shapeMobile?: shapePropsType;
66
- shapeTablet?: shapePropsType;
67
- width?: widthPropsType;
68
- widthDesktop?: widthPropsType;
69
- widthMobile?: widthPropsType;
70
- widthTablet?: widthPropsType;
63
+ shape?: tShapeProps;
64
+ shapeDesktop?: tShapeProps;
65
+ shapeMobile?: tShapeProps;
66
+ shapeTablet?: tShapeProps;
67
+ width?: tWidthProps;
68
+ widthDesktop?: tWidthProps;
69
+ widthMobile?: tWidthProps;
70
+ widthTablet?: tWidthProps;
71
71
  }
@@ -1,45 +1,45 @@
1
1
  import { CSSProperties, ElementType, ReactNode } from 'react';
2
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
3
- import { borderColorPropsType, borderTypePropsType, borderWidthPropsType, elevationPropsType, fillHoverPropsType, fillPropsType, iconFillSizePropsType, iconSizePropsType, itemColorPropsType, shapePropsType, sizePropsType, textColorHoverPropsType, textColorPropsType, textSizePropsType, textWeightPropsType, textWrapPropsType, widthPropsType } from '../../types';
4
- import { appearanceKeysDefaultType } from '../../types/componentProps/appearanceKeys';
2
+ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
3
+ import { tBorderColorProps, borderTypePropsType, tBorderWidthProps, elevationPropsType, tFillHoverProps, tFillProps, iconFillSizePropsType, iconSizePropsType, tItemColorProps, tShapeProps, tSizeProps, textColorHoverPropsType, tTextColorProps, tTextSizeProps, tTextWeightProps, textWrapPropsType, tWidthProps } from '../../types';
4
+ import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
5
5
  export interface IButtonThemeColor {
6
- borderColor?: borderColorPropsType;
6
+ borderColor?: tBorderColorProps;
7
7
  borderType?: borderTypePropsType;
8
- borderWidth?: borderWidthPropsType;
8
+ borderWidth?: tBorderWidthProps;
9
9
  elevation?: elevationPropsType;
10
- fill?: fillPropsType;
11
- fillHover?: fillHoverPropsType;
12
- fillIcon?: fillPropsType;
13
- fillIconAfter?: fillPropsType;
14
- fillIconBefore?: fillPropsType;
15
- iconAfterFill?: itemColorPropsType;
10
+ fill?: tFillProps;
11
+ fillHover?: tFillHoverProps;
12
+ fillIcon?: tFillProps;
13
+ fillIconAfter?: tFillProps;
14
+ fillIconBefore?: tFillProps;
15
+ iconAfterFill?: tItemColorProps;
16
16
  iconAfterFillSize?: iconFillSizePropsType;
17
- iconAfterShape?: shapePropsType;
17
+ iconAfterShape?: tShapeProps;
18
18
  iconAfterSize?: iconSizePropsType;
19
19
  iconAfterSrc?: string;
20
- iconBeforeFill?: itemColorPropsType;
20
+ iconBeforeFill?: tItemColorProps;
21
21
  iconBeforeFillSize?: iconFillSizePropsType;
22
- iconBeforeShape?: shapePropsType;
22
+ iconBeforeShape?: tShapeProps;
23
23
  iconBeforeSize?: iconSizePropsType;
24
24
  iconBeforeSrc?: string;
25
- iconFill?: itemColorPropsType;
25
+ iconFill?: 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;
33
- labelTextWeight?: textWeightPropsType;
32
+ labelTextSize?: tTextSizeProps;
33
+ labelTextWeight?: tTextWeightProps;
34
34
  labelTextWrap?: textWrapPropsType;
35
- loaderFill?: fillPropsType;
36
- loaderItemFill?: itemColorPropsType;
35
+ loaderFill?: tFillProps;
36
+ loaderItemFill?: tItemColorProps;
37
37
  loaderSet?: string;
38
- shape?: shapePropsType;
39
- size?: sizePropsType;
40
- width?: widthPropsType;
38
+ shape?: tShapeProps;
39
+ size?: tSizeProps;
40
+ width?: tWidthProps;
41
41
  }
42
- type appearanceKeysType = appearanceKeysDefaultType & {};
42
+ type appearanceKeysType = tAppearanceKeysDefault & {};
43
43
  export type buttonAppearanceType = {
44
44
  [key in appearanceKeysType]?: IButtonThemeColor;
45
45
  };
@@ -47,7 +47,7 @@ export interface IButtonConfig {
47
47
  appearance: buttonAppearanceType | undefined;
48
48
  setAppearance: (newComponent: buttonAppearanceType) => void;
49
49
  }
50
- export interface IButtonProps extends IButtonThemeColor, TypeStyleAttributes {
50
+ export interface IButtonProps extends IButtonThemeColor, iStyleAttributes {
51
51
  Badge?: ReactNode;
52
52
  after?: ReactNode;
53
53
  appearance?: appearanceKeysType;
@@ -1,11 +1,11 @@
1
1
  import { ReactNode } from 'react';
2
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
3
- import { captionPositionPropsType, fillGradientPropsType, fillPropsType } from '../../types';
2
+ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
3
+ import { captionPositionPropsType, fillGradientPropsType, tFillProps } from '../../types';
4
4
  export interface ICaptionThemeColor {
5
- fill: fillPropsType;
6
- fillMobile: fillPropsType;
7
- fillTablet: fillPropsType;
8
- fillDesktop: fillPropsType;
5
+ fill: tFillProps;
6
+ fillMobile: tFillProps;
7
+ fillTablet: tFillProps;
8
+ fillDesktop: tFillProps;
9
9
  fillGradient: fillGradientPropsType;
10
10
  fillGradientMobile: fillGradientPropsType;
11
11
  fillGradientTablet: fillGradientPropsType;
@@ -15,7 +15,7 @@ export interface ICaptionThemeColor {
15
15
  positionTablet: captionPositionPropsType;
16
16
  positionDesktop: captionPositionPropsType;
17
17
  }
18
- export interface ICaptionProps extends ICaptionThemeColor, Omit<TypeStyleAttributes, 'position'> {
18
+ export interface ICaptionProps extends ICaptionThemeColor, Omit<iStyleAttributes, 'position'> {
19
19
  children?: ReactNode;
20
20
  className?: string;
21
21
  }
@@ -1,26 +1,26 @@
1
1
  import { ElementType, ReactNode } from 'react';
2
- import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
3
- import { shapePropsType, sizePropsType, textColorPropsType, textSizePropsType } from '../../types';
4
- export interface ICardProps extends TypeStyleAttributes {
2
+ import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
3
+ import { tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps } from '../../types';
4
+ export interface ICardProps extends iStyleAttributes {
5
5
  children?: ReactNode;
6
6
  className?: string;
7
- size?: sizePropsType;
7
+ size?: tSizeProps;
8
8
  src?: string;
9
9
  text?: string;
10
- textSize?: textSizePropsType;
11
- textColor?: textColorPropsType;
10
+ textSize?: tTextSizeProps;
11
+ textColor?: tTextColorProps;
12
12
  textTag?: ElementType;
13
13
  title?: string;
14
- titleSize?: textSizePropsType;
14
+ titleSize?: tTextSizeProps;
15
15
  titleTag?: ElementType;
16
- titleColor?: textColorPropsType;
16
+ titleColor?: tTextColorProps;
17
17
  image?: ReactNode;
18
- imageShape?: shapePropsType;
18
+ imageShape?: tShapeProps;
19
19
  type?: string;
20
- shape?: shapePropsType;
21
- shapeMobile?: shapePropsType;
22
- shapeTablet?: shapePropsType;
23
- shapeDesktop?: shapePropsType;
20
+ shape?: tShapeProps;
21
+ shapeMobile?: tShapeProps;
22
+ shapeTablet?: tShapeProps;
23
+ shapeDesktop?: tShapeProps;
24
24
  width?: string;
25
25
  widthMobile?: string;
26
26
  widthTablet?: string;