@itcase/ui-web 1.9.82 → 1.9.83

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 (286) hide show
  1. package/dist/Avatar_cjs_B7uiPPJz.js +1 -0
  2. package/dist/Avatar_es_sVVoRDHX.js +1 -0
  3. package/dist/Button_cjs_CKSxHfMM.js +1 -0
  4. package/dist/Button_es_byVASRY8.js +1 -0
  5. package/dist/{ChipsGroup_cjs_BlbEYAYF.js → ChipsGroup_cjs_BeOUW9Ph.js} +1 -1
  6. package/dist/{ChipsGroup_es_oBJDKTBL.js → ChipsGroup_es_CVn85hj2.js} +1 -1
  7. package/dist/{DatePicker_cjs_D96Oz7cl.js → DatePicker_cjs_YbxC7o6W.js} +1 -1
  8. package/dist/{DatePicker_es_DMePdexK.js → DatePicker_es_B_Ohymbm.js} +1 -1
  9. package/dist/Group_cjs_CiLUYKP7.js +1 -0
  10. package/dist/Group_es_DIuSNHx3.js +1 -0
  11. package/dist/Input_cjs_CgWxKHuR.js +1 -0
  12. package/dist/Input_es_BLo9TAve.js +1 -0
  13. package/dist/Label_cjs_NYoev96S.js +1 -0
  14. package/dist/Label_es_C-a522jk.js +1 -0
  15. package/dist/{Loader_cjs_CGugAIv_.js → Loader_cjs_BFLrUlMX.js} +1 -1
  16. package/dist/{Loader_es_DWZILN4t.js → Loader_es_pnhZ5s_O.js} +1 -1
  17. package/dist/SelectContainer_cjs_DfKmrpLN.js +1 -0
  18. package/dist/SelectContainer_es_DicmpT12.js +1 -0
  19. package/dist/cjs/components/Accordion.js +1 -1
  20. package/dist/cjs/components/Avatar.js +1 -1
  21. package/dist/cjs/components/AvatarStack.js +1 -1
  22. package/dist/cjs/components/Badge.js +1 -1
  23. package/dist/cjs/components/Breadcrumbs.js +1 -1
  24. package/dist/cjs/components/Button.js +1 -1
  25. package/dist/cjs/components/Cell.js +1 -1
  26. package/dist/cjs/components/Checkbox.js +1 -1
  27. package/dist/cjs/components/Checkmark.js +1 -1
  28. package/dist/cjs/components/Chips.js +1 -1
  29. package/dist/cjs/components/Choice.js +1 -1
  30. package/dist/cjs/components/Code.js +1 -1
  31. package/dist/cjs/components/CookiesWarning.js +1 -1
  32. package/dist/cjs/components/Dadata.js +1 -1
  33. package/dist/cjs/components/DatePeriod.js +1 -1
  34. package/dist/cjs/components/DatePicker.js +1 -1
  35. package/dist/cjs/components/Divider.js +1 -1
  36. package/dist/cjs/components/Drawer.js +1 -1
  37. package/dist/cjs/components/Dropdown.js +1 -1
  38. package/dist/cjs/components/Dropzone.js +1 -1
  39. package/dist/cjs/components/Group.js +1 -1
  40. package/dist/cjs/components/HeroTitle.js +1 -1
  41. package/dist/cjs/components/Icon.js +1 -1
  42. package/dist/cjs/components/Input.js +1 -1
  43. package/dist/cjs/components/InputNumber.js +1 -1
  44. package/dist/cjs/components/InputPassword.js +1 -1
  45. package/dist/cjs/components/Label.js +1 -1
  46. package/dist/cjs/components/Link.js +1 -1
  47. package/dist/cjs/components/List.js +1 -1
  48. package/dist/cjs/components/Loader.js +1 -1
  49. package/dist/cjs/components/Logo.js +1 -1
  50. package/dist/cjs/components/MenuItem.js +1 -1
  51. package/dist/cjs/components/Modal.js +1 -1
  52. package/dist/cjs/components/ModalSheetBottom.js +1 -1
  53. package/dist/cjs/components/Notification.js +1 -1
  54. package/dist/cjs/components/Pagination.js +1 -1
  55. package/dist/cjs/components/Radio.js +1 -1
  56. package/dist/cjs/components/Response.js +1 -1
  57. package/dist/cjs/components/Search.js +1 -1
  58. package/dist/cjs/components/Segmented.js +1 -1
  59. package/dist/cjs/components/Select.js +1 -1
  60. package/dist/cjs/components/Swiper.js +1 -1
  61. package/dist/cjs/components/Switch.js +1 -1
  62. package/dist/cjs/components/Tab.js +1 -1
  63. package/dist/cjs/components/Text.js +1 -1
  64. package/dist/cjs/components/Textarea.js +1 -1
  65. package/dist/cjs/components/Tile.js +1 -1
  66. package/dist/cjs/components/Title.js +1 -1
  67. package/dist/cjs/components/Tooltip.js +1 -1
  68. package/dist/cjs/components/Warning.js +1 -1
  69. package/dist/components/Accordion.js +1 -1
  70. package/dist/components/Avatar.js +1 -1
  71. package/dist/components/AvatarStack.js +1 -1
  72. package/dist/components/Badge.js +1 -1
  73. package/dist/components/Breadcrumbs.js +1 -1
  74. package/dist/components/Button.js +1 -1
  75. package/dist/components/Cell.js +1 -1
  76. package/dist/components/Checkbox.js +1 -1
  77. package/dist/components/Checkmark.js +1 -1
  78. package/dist/components/Chips.js +1 -1
  79. package/dist/components/Choice.js +1 -1
  80. package/dist/components/Code.js +1 -1
  81. package/dist/components/CookiesWarning.js +1 -1
  82. package/dist/components/Dadata.js +1 -1
  83. package/dist/components/DatePeriod.js +1 -1
  84. package/dist/components/DatePicker.js +1 -1
  85. package/dist/components/Divider.js +1 -1
  86. package/dist/components/Drawer.js +1 -1
  87. package/dist/components/Dropdown.js +1 -1
  88. package/dist/components/Dropzone.js +1 -1
  89. package/dist/components/Group.js +1 -1
  90. package/dist/components/HeroTitle.js +1 -1
  91. package/dist/components/Icon.js +1 -1
  92. package/dist/components/Input.js +1 -1
  93. package/dist/components/InputNumber.js +1 -1
  94. package/dist/components/InputPassword.js +1 -1
  95. package/dist/components/Label.js +1 -1
  96. package/dist/components/Link.js +1 -1
  97. package/dist/components/List.js +1 -1
  98. package/dist/components/Loader.js +1 -1
  99. package/dist/components/Logo.js +1 -1
  100. package/dist/components/MenuItem.js +1 -1
  101. package/dist/components/Modal.js +1 -1
  102. package/dist/components/ModalSheetBottom.js +1 -1
  103. package/dist/components/Notification.js +1 -1
  104. package/dist/components/Pagination.js +1 -1
  105. package/dist/components/Radio.js +1 -1
  106. package/dist/components/Response.js +1 -1
  107. package/dist/components/Search.js +1 -1
  108. package/dist/components/Segmented.js +1 -1
  109. package/dist/components/Select.js +1 -1
  110. package/dist/components/Swiper.js +1 -1
  111. package/dist/components/Switch.js +1 -1
  112. package/dist/components/Tab.js +1 -1
  113. package/dist/components/Text.js +1 -1
  114. package/dist/components/Textarea.js +1 -1
  115. package/dist/components/Tile.js +1 -1
  116. package/dist/components/Title.js +1 -1
  117. package/dist/components/Tooltip.js +1 -1
  118. package/dist/components/Warning.js +1 -1
  119. package/dist/css/styles/bundles.css +9 -2
  120. package/dist/primitives_cjs_C-jtJ9pL.js +1 -0
  121. package/dist/primitives_es_CJQjjxtH.js +1 -0
  122. package/dist/types/components/Accordion/Accordion.interface.d.ts +1 -3
  123. package/dist/types/components/Accordion/Accordion.js +2 -2
  124. package/dist/types/components/Accordion/AccordionItem.js +2 -2
  125. package/dist/types/components/Avatar/Avatar.interface.d.ts +1 -2
  126. package/dist/types/components/Avatar/Avatar.js +2 -2
  127. package/dist/types/components/Avatar/appearance/avatarShape.js +0 -4
  128. package/dist/types/components/Badge/Badge.interface.d.ts +1 -2
  129. package/dist/types/components/Badge/Badge.js +2 -2
  130. package/dist/types/components/Badge/appearance/badgeShape.js +0 -4
  131. package/dist/types/components/Button/Button.d.ts +0 -1
  132. package/dist/types/components/Button/Button.interface.d.ts +1 -2
  133. package/dist/types/components/Button/Button.js +2 -2
  134. package/dist/types/components/Button/__test__/ButtonTest.stories.d.ts +0 -1
  135. package/dist/types/components/Button/appearance/buttonShape.js +0 -4
  136. package/dist/types/components/Button/stories/ButtonDefault.stories.d.ts +0 -1
  137. package/dist/types/components/Button/stories/ButtonDemo.stories.d.ts +0 -1
  138. package/dist/types/components/Button/stories/ButtonIcon.stories.d.ts +0 -1
  139. package/dist/types/components/Button/stories/ButtonLabel.stories.d.ts +0 -1
  140. package/dist/types/components/Button/stories/ButtonLoading.stories.d.ts +0 -1
  141. package/dist/types/components/Button/stories/ButtonMuted.stories.d.ts +0 -1
  142. package/dist/types/components/Button/stories/ButtonMutedIcon.stories.d.ts +0 -1
  143. package/dist/types/components/Button/stories/ButtonShape.stories.d.ts +0 -1
  144. package/dist/types/components/Button/stories/ButtonSize.stories.d.ts +0 -1
  145. package/dist/types/components/Checkbox/Checkbox.interface.d.ts +1 -2
  146. package/dist/types/components/Checkbox/Checkbox.js +2 -2
  147. package/dist/types/components/Checkbox/appearance/checkboxShape.js +0 -1
  148. package/dist/types/components/Chips/Chips.interface.d.ts +1 -2
  149. package/dist/types/components/Chips/Chips.js +2 -2
  150. package/dist/types/components/Chips/appearance/chipsShape.js +0 -4
  151. package/dist/types/components/Choice/Choice.interface.d.ts +1 -2
  152. package/dist/types/components/Choice/Choice.js +3 -3
  153. package/dist/types/components/Choice/appearance/choiceShape.js +0 -4
  154. package/dist/types/components/Code/Code.interface.d.ts +1 -2
  155. package/dist/types/components/Code/Code.js +2 -2
  156. package/dist/types/components/Code/appearance/codeShape.js +0 -4
  157. package/dist/types/components/DatePeriod/DatePeriod.interface.d.ts +1 -2
  158. package/dist/types/components/DatePeriod/DatePeriod.js +2 -2
  159. package/dist/types/components/DatePeriod/appearance/datePeriodShape.js +0 -4
  160. package/dist/types/components/Divider/Divider.interface.d.ts +1 -2
  161. package/dist/types/components/Divider/Divider.js +2 -2
  162. package/dist/types/components/Dropdown/Dropdown.interface.d.ts +1 -3
  163. package/dist/types/components/Dropdown/Dropdown.js +2 -2
  164. package/dist/types/components/Dropdown/DropdownItem.js +2 -2
  165. package/dist/types/components/Dropdown/appearance/dropdownShape.js +0 -4
  166. package/dist/types/components/Dropzone/Dropzone.interface.d.ts +1 -2
  167. package/dist/types/components/Dropzone/appearance/dropzoneShape.js +0 -4
  168. package/dist/types/components/Group/Group.d.ts +0 -1
  169. package/dist/types/components/Group/Group.interface.d.ts +1 -2
  170. package/dist/types/components/Group/Group.js +2 -2
  171. package/dist/types/components/Group/stories/GroupAlignItems.stories.d.ts +0 -2
  172. package/dist/types/components/Group/stories/GroupAlignSelf.stories.d.ts +0 -2
  173. package/dist/types/components/Group/stories/GroupColumns.stories.d.ts +0 -2
  174. package/dist/types/components/Group/stories/GroupDirection.stories.d.ts +0 -2
  175. package/dist/types/components/Group/stories/GroupJustifyContent.stories.d.ts +0 -2
  176. package/dist/types/components/Group/stories/GroupWrap.stories.d.ts +0 -2
  177. package/dist/types/components/Icon/Icon.interface.d.ts +1 -2
  178. package/dist/types/components/Icon/Icon.js +2 -2
  179. package/dist/types/components/Icon/appearance/iconShape.js +0 -4
  180. package/dist/types/components/Input/Input.interface.d.ts +1 -2
  181. package/dist/types/components/Input/Input.js +2 -2
  182. package/dist/types/components/Input/appearance/inputShape.js +0 -4
  183. package/dist/types/components/InputNumber/InputNumber.interfaces.d.ts +1 -2
  184. package/dist/types/components/InputNumber/InputNumber.js +2 -2
  185. package/dist/types/components/InputNumber/appearance/InputNumberShape.js +0 -4
  186. package/dist/types/components/InputPassword/InputPassword.interface.d.ts +1 -2
  187. package/dist/types/components/InputPassword/InputPassword.js +2 -2
  188. package/dist/types/components/InputPassword/appearance/inputPasswordShape.js +0 -4
  189. package/dist/types/components/Label/Label.interface.d.ts +1 -2
  190. package/dist/types/components/Label/Label.js +2 -2
  191. package/dist/types/components/Label/appearance/labelShape.js +0 -4
  192. package/dist/types/components/Loader/Loader.interface.d.ts +1 -2
  193. package/dist/types/components/Loader/Loader.js +2 -2
  194. package/dist/types/components/MenuItem/MenuItem.interface.d.ts +1 -3
  195. package/dist/types/components/MenuItem/MenuItem.js +3 -5
  196. package/dist/types/components/MenuItem/appearance/menuItemShape.js +0 -4
  197. package/dist/types/components/Modal/Modal.d.ts +0 -1
  198. package/dist/types/components/Modal/Modal.interface.d.ts +1 -2
  199. package/dist/types/components/Modal/Modal.js +2 -2
  200. package/dist/types/components/Modal/appearance/modalShape.js +0 -4
  201. package/dist/types/components/Modal/stories/ModalAbsoluteHeader.stories.d.ts +0 -1
  202. package/dist/types/components/Modal/stories/ModalDemo.stories.d.ts +0 -1
  203. package/dist/types/components/Modal/stories/ModalScroll.stories.d.ts +0 -1
  204. package/dist/types/components/Modal/stories/ModalSize.stories.d.ts +0 -1
  205. package/dist/types/components/Modal/stories/ModalStickyHeader.stories.d.ts +0 -1
  206. package/dist/types/components/Modal/stories/ModalStyle.stories.d.ts +0 -1
  207. package/dist/types/components/Notification/Notification.interface.d.ts +1 -2
  208. package/dist/types/components/Notification/Notification.js +2 -2
  209. package/dist/types/components/Notification/appearance/notificationShape.js +0 -4
  210. package/dist/types/components/Pagination/Pagination.interface.d.ts +1 -3
  211. package/dist/types/components/Pagination/Pagination.js +2 -3
  212. package/dist/types/components/Pagination/appearance/paginationShape.js +0 -8
  213. package/dist/types/components/Radio/Radio.interface.d.ts +1 -2
  214. package/dist/types/components/Radio/Radio.js +2 -2
  215. package/dist/types/components/Radio/appearance/radioShape.js +0 -4
  216. package/dist/types/components/Response/Response.d.ts +0 -1
  217. package/dist/types/components/Response/Response.interface.d.ts +1 -2
  218. package/dist/types/components/Response/Response.js +2 -2
  219. package/dist/types/components/Response/stories/ResponseConfirm.stories.d.ts +0 -1
  220. package/dist/types/components/Response/stories/ResponseDemo.stories.d.ts +0 -1
  221. package/dist/types/components/Response/stories/ResponseError.stories.d.ts +0 -1
  222. package/dist/types/components/Response/stories/ResponseFail.stories.d.ts +0 -1
  223. package/dist/types/components/Response/stories/ResponseNothingFound.stories.d.ts +0 -1
  224. package/dist/types/components/Response/stories/ResponseRefresh.stories.d.ts +0 -1
  225. package/dist/types/components/Response/stories/ResponseSuccess.stories.d.ts +0 -1
  226. package/dist/types/components/Response/stories/ResponseUnableLoadData.stories.d.ts +0 -1
  227. package/dist/types/components/Response/stories/ResponseWarning.stories.d.ts +0 -1
  228. package/dist/types/components/Search/Search.interface.d.ts +1 -3
  229. package/dist/types/components/Search/SearchInput.d.ts +0 -1
  230. package/dist/types/components/Search/SearchInput.js +2 -2
  231. package/dist/types/components/Search/SearchResult.d.ts +0 -1
  232. package/dist/types/components/Search/SearchResult.js +2 -2
  233. package/dist/types/components/Search/appearance/searchShape.js +0 -4
  234. package/dist/types/components/Search/stories/SearchInputDefault.stories.d.ts +0 -1
  235. package/dist/types/components/Search/stories/SearchInputDemo.stories.d.ts +0 -1
  236. package/dist/types/components/Search/stories/SearchInputDisabled.stories.d.ts +0 -1
  237. package/dist/types/components/Search/stories/SearchInputError.stories.d.ts +0 -1
  238. package/dist/types/components/Search/stories/SearchInputRequire.stories.d.ts +0 -1
  239. package/dist/types/components/Search/stories/SearchInputShape.stories.d.ts +0 -1
  240. package/dist/types/components/Search/stories/SearchInputSize.stories.d.ts +0 -1
  241. package/dist/types/components/Search/stories/SearchInputStyle.stories.d.ts +0 -1
  242. package/dist/types/components/Search/stories/SearchInputSuccess.stories.d.ts +0 -1
  243. package/dist/types/components/Segmented/Segmented.interface.d.ts +1 -2
  244. package/dist/types/components/Segmented/Segmented.js +2 -2
  245. package/dist/types/components/Segmented/appearance/segmentedShape.js +0 -4
  246. package/dist/types/components/Select/Select.interface.d.ts +1 -5
  247. package/dist/types/components/Select/SelectContainer.js +3 -3
  248. package/dist/types/components/Select/SelectMenu.js +2 -2
  249. package/dist/types/components/Select/SelectOption.js +2 -2
  250. package/dist/types/components/Select/appearance/selectShape.js +0 -4
  251. package/dist/types/components/Tab/Tab.interface.d.ts +1 -2
  252. package/dist/types/components/Tab/Tab.js +2 -2
  253. package/dist/types/components/Textarea/Textarea.interface.d.ts +1 -2
  254. package/dist/types/components/Textarea/Textarea.js +2 -2
  255. package/dist/types/components/Textarea/appearance/textareaShape.js +0 -4
  256. package/dist/types/components/Tile/Tile.interface.d.ts +1 -2
  257. package/dist/types/components/Tile/Tile.js +2 -2
  258. package/dist/types/components/Tile/appearance/tileShape.js +0 -4
  259. package/dist/types/components/Tooltip/Tooltip.d.ts +0 -1
  260. package/dist/types/components/Tooltip/Tooltip.interface.d.ts +1 -2
  261. package/dist/types/components/Tooltip/Tooltip.js +2 -2
  262. package/dist/types/components/Tooltip/appearance/tooltipShape.js +0 -4
  263. package/dist/types/components/Tooltip/stories/TooltipAppearance.stories.d.ts +0 -1
  264. package/dist/types/components/Tooltip/stories/TooltipArrow.stories.d.ts +0 -1
  265. package/dist/types/components/Tooltip/stories/TooltipCustom.stories.d.ts +0 -1
  266. package/dist/types/components/Tooltip/stories/TooltipDemo.stories.d.ts +0 -1
  267. package/dist/types/components/Tooltip/stories/TooltipSize.stories.d.ts +0 -1
  268. package/dist/types/components/Tooltip/stories/TooltipStyle.stories.d.ts +0 -1
  269. package/dist/types/components/Warning/Warning.interface.d.ts +1 -2
  270. package/dist/types/components/Warning/Warning.js +2 -2
  271. package/dist/types/components/Warning/appearance/warningShape.js +0 -4
  272. package/package.json +3 -3
  273. package/dist/Avatar_cjs_DdnwG1w2.js +0 -1
  274. package/dist/Avatar_es_euIbzcZ-.js +0 -1
  275. package/dist/Button_cjs_CzPantyj.js +0 -1
  276. package/dist/Button_es_BVekDLIK.js +0 -1
  277. package/dist/Group_cjs_BflQVW_G.js +0 -1
  278. package/dist/Group_es_YMaKEE-1.js +0 -1
  279. package/dist/Input_cjs_lvK2GCQw.js +0 -1
  280. package/dist/Input_es_BrC02Clu.js +0 -1
  281. package/dist/Label_cjs_BQhRLATI.js +0 -1
  282. package/dist/Label_es_CXOrFvDM.js +0 -1
  283. package/dist/SelectContainer_cjs_MCml-znP.js +0 -1
  284. package/dist/SelectContainer_es_DhPannXl.js +0 -1
  285. package/dist/primitives_cjs_CHD2pBSn.js +0 -1
  286. package/dist/primitives_es_AOPzysvv.js +0 -1
@@ -7,19 +7,15 @@ const dropzoneAppearanceShape = {
7
7
  },
8
8
  roundedXL: {
9
9
  shape: 'rounded',
10
- shapeStrength: '2m',
11
10
  },
12
11
  roundedL: {
13
12
  shape: 'rounded',
14
- shapeStrength: '1_5m',
15
13
  },
16
14
  roundedM: {
17
15
  shape: 'rounded',
18
- shapeStrength: '1m',
19
16
  },
20
17
  roundedS: {
21
18
  shape: 'rounded',
22
- shapeStrength: '0_5m',
23
19
  },
24
20
  };
25
21
  export { dropzoneAppearanceShape };
@@ -26,7 +26,6 @@ declare const Group: React.ForwardRefExoticComponent<{
26
26
  justifyContent?: import("@itcase/types-ui").JustifyContentProps;
27
27
  labelTextColor?: import("../Label").LabelProps["labelTextColor"];
28
28
  shape?: import("@itcase/types-ui").ShapeProps;
29
- shapeStrength?: import("@itcase/types-ui").ShapeStrengthProps;
30
29
  stacking?: import("@itcase/types-ui").StackingProps;
31
30
  textColor?: import("../Text").TextProps["textColor"];
32
31
  textColorActive?: import("../Text").TextProps["textColorActive"];
@@ -1,6 +1,6 @@
1
1
  import type { CSSProperties, ElementType, MouseEventHandler, ReactNode } from 'react';
2
2
  import { GeneratedId } from '@itcase/types-core';
3
- import { AlignProps, AppearanceConfig, AppearanceKeysDefault, BorderColorActiveProps, BorderColorProps, BorderTypeProps, BorderWidthProps, DirectionProps, ElevationProps, FillActiveHoverProps, FillActiveProps, FillHoverProps, FillProps, HeightProps, JustifyContentProps, ShapeProps, ShapeStrengthProps, StackingProps, WidthProps, WrapProps } from '@itcase/types-ui';
3
+ import { AlignProps, AppearanceConfig, AppearanceKeysDefault, BorderColorActiveProps, BorderColorProps, BorderTypeProps, BorderWidthProps, DirectionProps, ElevationProps, FillActiveHoverProps, FillActiveProps, FillHoverProps, FillProps, HeightProps, JustifyContentProps, ShapeProps, StackingProps, WidthProps, WrapProps } from '@itcase/types-ui';
4
4
  import { StyleAttributes } from '@itcase/ui-core/hooks';
5
5
  import { IconProps } from 'src/components/Icon/Icon.interface';
6
6
  import { LabelProps } from 'src/components/Label/Label.interface';
@@ -30,7 +30,6 @@ type GroupAppearanceProps = {
30
30
  justifyContent?: JustifyContentProps;
31
31
  labelTextColor?: LabelProps['labelTextColor'];
32
32
  shape?: ShapeProps;
33
- shapeStrength?: ShapeStrengthProps;
34
33
  stacking?: StackingProps;
35
34
  textColor?: TextProps['textColor'];
36
35
  textColorActive?: TextProps['textColorActive'];
@@ -13,7 +13,7 @@ const Group = React.forwardRef(function Group(props, ref) {
13
13
  const { id, appearance, className, dataTestId, dataTour, name, dataId, easing, htmlFor, print, scroll, style, tag: Tag = 'div', isActive, isDisabled, onClick, onMouseDown, onMouseEnter, onMouseLeave, children, } = props;
14
14
  const appearanceConfig = useAppearanceConfig(appearance, groupConfig);
15
15
  const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
16
- const { directionClass, flexGrowClass, justifyContentClass, alignClass, alignDirectionClass, fillActiveClass, fillActiveHoverClass, fillClass, fillDisabledClass, fillHoverClass, borderColorActiveClass, borderColorActiveHoverClass, borderColorClass, borderColorHoverClass, borderTypeClass, borderWidthClass, textColorActiveClass, textColorClass, textColorHoverClass, columnsClass, elevationClass, heightClass, hoverFilterClass, iconFillHoverClass, shapeClass, shapeStrengthClass, stackingClass, widthClass, wrapClass, } = propsGenerator;
16
+ const { directionClass, flexGrowClass, justifyContentClass, alignClass, alignDirectionClass, fillActiveClass, fillActiveHoverClass, fillClass, fillDisabledClass, fillHoverClass, borderColorActiveClass, borderColorActiveHoverClass, borderColorClass, borderColorHoverClass, borderTypeClass, borderWidthClass, textColorActiveClass, textColorClass, textColorHoverClass, columnsClass, elevationClass, heightClass, hoverFilterClass, iconFillHoverClass, shapeClass, stackingClass, widthClass, wrapClass, } = propsGenerator;
17
17
  const { styles: groupStyles } = useStyles(props);
18
18
  return (_jsx(Tag, { id: id, className: clsx(className, 'group', easing && `easing_${easing}`, widthClass && `width_${widthClass}`, heightClass && `height_${heightClass}`, hoverFilterClass && `hover-filter_${hoverFilterClass}`, columnsClass && `group_columns_${columnsClass}`, alignDirectionClass && `align_${alignDirectionClass}`, directionClass && `group_direction_${directionClass}`, alignClass && `align_${alignClass}`, justifyContentClass && `justify-content_${justifyContentClass}`, textColorClass && `group_text-color_${textColorClass}`, textColorActiveClass &&
19
19
  `group_text-color_active_${textColorActiveClass}`, textColorHoverClass && `group_text-color_hover_${textColorHoverClass}`, iconFillHoverClass && `group_icon_fill_hover_${iconFillHoverClass}`, !isDisabled
@@ -25,7 +25,7 @@ const Group = React.forwardRef(function Group(props, ref) {
25
25
  ? fillHoverClass && `fill_hover_${fillHoverClass}`
26
26
  : fillActiveHoverClass &&
27
27
  `fill_active_hover_${fillActiveHoverClass}`
28
- : fillDisabledClass && `fill_${fillDisabledClass}`, scroll && `group_scroll_${scroll}`, stackingClass && `group_stacking_${stackingClass}`, wrapClass && `group_wrap_${wrapClass}`, flexGrowClass && `flex-grow_${flexGrowClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, !isDisabled
28
+ : fillDisabledClass && `fill_${fillDisabledClass}`, scroll && `group_scroll_${scroll}`, stackingClass && `group_stacking_${stackingClass}`, wrapClass && `group_wrap_${wrapClass}`, flexGrowClass && `flex-grow_${flexGrowClass}`, shapeClass && `shape_${shapeClass}`, !isDisabled
29
29
  ? !isActive
30
30
  ? borderColorClass && `border-color_${borderColorClass}`
31
31
  : borderColorActiveClass &&
@@ -26,7 +26,6 @@ declare const meta: {
26
26
  justifyContent?: import("@itcase/types-ui").JustifyContentProps;
27
27
  labelTextColor?: import("../../Label").LabelProps["labelTextColor"];
28
28
  shape?: import("@itcase/types-ui").ShapeProps;
29
- shapeStrength?: import("@itcase/types-ui").ShapeStrengthProps;
30
29
  stacking?: import("@itcase/types-ui").StackingProps;
31
30
  textColor?: import("src/components/Text").TextProps["textColor"];
32
31
  textColorActive?: import("src/components/Text").TextProps["textColorActive"];
@@ -88,7 +87,6 @@ declare const meta: {
88
87
  justifyContent?: import("@itcase/types-ui").JustifyContentProps;
89
88
  labelTextColor?: import("../../Label").LabelProps["labelTextColor"];
90
89
  shape?: import("@itcase/types-ui").ShapeProps;
91
- shapeStrength?: import("@itcase/types-ui").ShapeStrengthProps;
92
90
  stacking?: import("@itcase/types-ui").StackingProps;
93
91
  textColor?: import("src/components/Text").TextProps["textColor"];
94
92
  textColorActive?: import("src/components/Text").TextProps["textColorActive"];
@@ -26,7 +26,6 @@ declare const meta: {
26
26
  justifyContent?: import("@itcase/types-ui").JustifyContentProps;
27
27
  labelTextColor?: import("../../Label").LabelProps["labelTextColor"];
28
28
  shape?: import("@itcase/types-ui").ShapeProps;
29
- shapeStrength?: import("@itcase/types-ui").ShapeStrengthProps;
30
29
  stacking?: import("@itcase/types-ui").StackingProps;
31
30
  textColor?: import("src/components/Text").TextProps["textColor"];
32
31
  textColorActive?: import("src/components/Text").TextProps["textColorActive"];
@@ -88,7 +87,6 @@ declare const meta: {
88
87
  justifyContent?: import("@itcase/types-ui").JustifyContentProps;
89
88
  labelTextColor?: import("../../Label").LabelProps["labelTextColor"];
90
89
  shape?: import("@itcase/types-ui").ShapeProps;
91
- shapeStrength?: import("@itcase/types-ui").ShapeStrengthProps;
92
90
  stacking?: import("@itcase/types-ui").StackingProps;
93
91
  textColor?: import("src/components/Text").TextProps["textColor"];
94
92
  textColorActive?: import("src/components/Text").TextProps["textColorActive"];
@@ -26,7 +26,6 @@ declare const meta: {
26
26
  justifyContent?: import("@itcase/types-ui").JustifyContentProps;
27
27
  labelTextColor?: import("../../Label").LabelProps["labelTextColor"];
28
28
  shape?: import("@itcase/types-ui").ShapeProps;
29
- shapeStrength?: import("@itcase/types-ui").ShapeStrengthProps;
30
29
  stacking?: import("@itcase/types-ui").StackingProps;
31
30
  textColor?: import("src/components/Text").TextProps["textColor"];
32
31
  textColorActive?: import("src/components/Text").TextProps["textColorActive"];
@@ -88,7 +87,6 @@ declare const meta: {
88
87
  justifyContent?: import("@itcase/types-ui").JustifyContentProps;
89
88
  labelTextColor?: import("../../Label").LabelProps["labelTextColor"];
90
89
  shape?: import("@itcase/types-ui").ShapeProps;
91
- shapeStrength?: import("@itcase/types-ui").ShapeStrengthProps;
92
90
  stacking?: import("@itcase/types-ui").StackingProps;
93
91
  textColor?: import("src/components/Text").TextProps["textColor"];
94
92
  textColorActive?: import("src/components/Text").TextProps["textColorActive"];
@@ -26,7 +26,6 @@ declare const meta: {
26
26
  justifyContent?: import("@itcase/types-ui").JustifyContentProps;
27
27
  labelTextColor?: import("../../Label").LabelProps["labelTextColor"];
28
28
  shape?: import("@itcase/types-ui").ShapeProps;
29
- shapeStrength?: import("@itcase/types-ui").ShapeStrengthProps;
30
29
  stacking?: import("@itcase/types-ui").StackingProps;
31
30
  textColor?: import("src/components/Text").TextProps["textColor"];
32
31
  textColorActive?: import("src/components/Text").TextProps["textColorActive"];
@@ -87,7 +86,6 @@ declare const meta: {
87
86
  justifyContent?: import("@itcase/types-ui").JustifyContentProps;
88
87
  labelTextColor?: import("../../Label").LabelProps["labelTextColor"];
89
88
  shape?: import("@itcase/types-ui").ShapeProps;
90
- shapeStrength?: import("@itcase/types-ui").ShapeStrengthProps;
91
89
  stacking?: import("@itcase/types-ui").StackingProps;
92
90
  textColor?: import("src/components/Text").TextProps["textColor"];
93
91
  textColorActive?: import("src/components/Text").TextProps["textColorActive"];
@@ -26,7 +26,6 @@ declare const meta: {
26
26
  justifyContent?: import("@itcase/types-ui").JustifyContentProps;
27
27
  labelTextColor?: import("../../Label").LabelProps["labelTextColor"];
28
28
  shape?: import("@itcase/types-ui").ShapeProps;
29
- shapeStrength?: import("@itcase/types-ui").ShapeStrengthProps;
30
29
  stacking?: import("@itcase/types-ui").StackingProps;
31
30
  textColor?: import("src/components/Text").TextProps["textColor"];
32
31
  textColorActive?: import("src/components/Text").TextProps["textColorActive"];
@@ -88,7 +87,6 @@ declare const meta: {
88
87
  justifyContent?: import("@itcase/types-ui").JustifyContentProps;
89
88
  labelTextColor?: import("../../Label").LabelProps["labelTextColor"];
90
89
  shape?: import("@itcase/types-ui").ShapeProps;
91
- shapeStrength?: import("@itcase/types-ui").ShapeStrengthProps;
92
90
  stacking?: import("@itcase/types-ui").StackingProps;
93
91
  textColor?: import("src/components/Text").TextProps["textColor"];
94
92
  textColorActive?: import("src/components/Text").TextProps["textColorActive"];
@@ -26,7 +26,6 @@ declare const meta: {
26
26
  justifyContent?: import("@itcase/types-ui").JustifyContentProps;
27
27
  labelTextColor?: import("../../Label").LabelProps["labelTextColor"];
28
28
  shape?: import("@itcase/types-ui").ShapeProps;
29
- shapeStrength?: import("@itcase/types-ui").ShapeStrengthProps;
30
29
  stacking?: import("@itcase/types-ui").StackingProps;
31
30
  textColor?: import("src/components/Text").TextProps["textColor"];
32
31
  textColorActive?: import("src/components/Text").TextProps["textColorActive"];
@@ -88,7 +87,6 @@ declare const meta: {
88
87
  justifyContent?: import("@itcase/types-ui").JustifyContentProps;
89
88
  labelTextColor?: import("../../Label").LabelProps["labelTextColor"];
90
89
  shape?: import("@itcase/types-ui").ShapeProps;
91
- shapeStrength?: import("@itcase/types-ui").ShapeStrengthProps;
92
90
  stacking?: import("@itcase/types-ui").StackingProps;
93
91
  textColor?: import("src/components/Text").TextProps["textColor"];
94
92
  textColorActive?: import("src/components/Text").TextProps["textColorActive"];
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties, FunctionComponent, MouseEvent, ReactNode, SVGAttributes, SVGProps } from 'react';
2
- import { AlignmentProps, AlignProps, AppearanceConfig, AppearanceKeysIcon, AppearanceSizeKey, BorderColorHoverProps, BorderColorProps, BorderTypeProps, BorderWidthProps, CenteringProps, CompositeAppearanceIconKeys, DirectionProps, FillActiveHoverProps, FillActiveProps, FillDisabledProps, FillHoverProps, FillProps, FillSizeProps, IconFillSizeProps, IconSizeProps, ItemFillProps, ShapeProps, ShapeStrengthProps, SizePXProps, TextColorProps, TextSizeProps } from '@itcase/types-ui';
2
+ import { AlignmentProps, AlignProps, AppearanceConfig, AppearanceKeysIcon, AppearanceSizeKey, BorderColorHoverProps, BorderColorProps, BorderTypeProps, BorderWidthProps, CenteringProps, CompositeAppearanceIconKeys, DirectionProps, FillActiveHoverProps, FillActiveProps, FillDisabledProps, FillHoverProps, FillProps, FillSizeProps, IconFillSizeProps, IconSizeProps, ItemFillProps, ShapeProps, SizePXProps, TextColorProps, TextSizeProps } from '@itcase/types-ui';
3
3
  import { StyleAttributes } from '@itcase/ui-core/hooks';
4
4
  import { BadgeProps } from '../Badge/Badge.interface';
5
5
  import { LinkWrapperProps } from '../Link/Link.interface';
@@ -34,7 +34,6 @@ type IconAppearanceProps = {
34
34
  iconShape?: ShapeProps;
35
35
  iconSize?: IconSizeProps;
36
36
  shape?: ShapeProps;
37
- shapeStrength?: ShapeStrengthProps;
38
37
  size?: SizePXProps;
39
38
  textColor?: TextColorProps;
40
39
  textSize?: TextSizeProps;
@@ -42,7 +42,7 @@ const Icon = urlWithAssetPrefix(React.forwardRef(function Icon(props, ref) {
42
42
  }, [SvgImage, imageSrc, width, height, svgImageStyles, saveFillStroke]);
43
43
  const appearanceConfig = useAppearanceConfig(appearance, iconConfig, isDisabled);
44
44
  const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
45
- const { alignmentClass, fillActiveClass, fillActiveHoverClass, fillClass, fillDisabledClass, fillHoverClass, fillSizeClass, borderColorClass, borderColorHoverClass, borderTypeClass, borderWidthClass, badgeAppearance, badgeAppearanceSize, badgeShape, badgeSize, badgeTextColor, badgeTextSize, badgeValue, centeringClass, iconFillActiveClass, iconFillActiveHoverClass, iconFillClass, iconFillDisabledClass, iconFillHoverClass, iconSizeClass, shapeClass, shapeStrengthClass, tooltipAppearance, tooltipText, tooltipTextSize, tooltipTitle, tooltipTitleSize, } = propsGenerator;
45
+ const { alignmentClass, fillActiveClass, fillActiveHoverClass, fillClass, fillDisabledClass, fillHoverClass, fillSizeClass, borderColorClass, borderColorHoverClass, borderTypeClass, borderWidthClass, badgeAppearance, badgeAppearanceSize, badgeShape, badgeSize, badgeTextColor, badgeTextSize, badgeValue, centeringClass, iconFillActiveClass, iconFillActiveHoverClass, iconFillClass, iconFillDisabledClass, iconFillHoverClass, iconSizeClass, shapeClass, tooltipAppearance, tooltipText, tooltipTextSize, tooltipTitle, tooltipTitleSize, } = propsGenerator;
46
46
  const { styles: iconStyles } = useStyles(props);
47
47
  return (_jsxs("div", { id: id, className: clsx(className, 'icon', !isActive
48
48
  ? fillClass && `fill_${fillClass}`
@@ -56,7 +56,7 @@ const Icon = urlWithAssetPrefix(React.forwardRef(function Icon(props, ref) {
56
56
  : iconFillActiveHoverClass &&
57
57
  `icon_fill_active_hover_${iconFillActiveHoverClass}`, isDisabled &&
58
58
  iconFillDisabledClass &&
59
- `icon_fill_disabled_${iconFillDisabledClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, borderColorClass && `border-color_${borderColorClass}`, borderColorHoverClass &&
59
+ `icon_fill_disabled_${iconFillDisabledClass}`, shapeClass && `shape_${shapeClass}`, borderColorClass && `border-color_${borderColorClass}`, borderColorHoverClass &&
60
60
  `border-color_hover_${borderColorHoverClass}`, borderWidthClass && `border-width_${borderWidthClass}`, borderTypeClass && `border_type_${borderTypeClass}`, badgeValue && 'icon_with-badge', centeringClass && `centering_${centeringClass}`, onClick && 'cursor_type_pointer', isSkeleton && `skeleton`), ref: ref, "data-testid": dataTestId, "data-tour": dataTour, style: iconStyles, onClick: onClick, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, children: [before, _jsxs(LinkWrapper, { className: clsx((link || href || onClick) && 'cursor_type_pointer', link || href ? 'icon__link' : 'icon__item', iconSizeClass && `icon_size_${iconSizeClass}`), href: link || href, LinkComponent: "div", rel: linkRel, target: linkTarget, children: [ImageComponent, (badgeValue || notification) && (_jsx(Badge, { appearance: mergeAppearanceKeys(badgeAppearance, badgeAppearanceSize), className: clsx(badgeClass, 'icon__badge'), size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue })), showTooltip && (_jsx(Tooltip, { appearance: tooltipAppearance, className: clsx(className, 'icon__tooltip', alignmentClass && `alignment_${alignmentClass}`), title: tooltipTitle, titleSize: tooltipTitleSize, text: tooltipText, textSize: tooltipTextSize }))] }), after] }));
61
61
  }));
62
62
  const removeFillStroke = (code) => {
@@ -7,19 +7,15 @@ const iconAppearanceShape = {
7
7
  },
8
8
  roundedXL: {
9
9
  shape: 'rounded',
10
- shapeStrength: '2m',
11
10
  },
12
11
  roundedL: {
13
12
  shape: 'rounded',
14
- shapeStrength: '1_5m',
15
13
  },
16
14
  roundedM: {
17
15
  shape: 'rounded',
18
- shapeStrength: '1m',
19
16
  },
20
17
  roundedS: {
21
18
  shape: 'rounded',
22
- shapeStrength: '0_5m',
23
19
  },
24
20
  };
25
21
  export { iconAppearanceShape };
@@ -1,4 +1,4 @@
1
- import { AppearanceConfig, AppearanceKeysState, BorderColorHoverProps, BorderColorProps, BorderWidthProps, CompositeAppearanceStateDefault, FillHoverProps, FillProps, ShapeProps, ShapeStrengthProps, SizeProps, WidthProps } from '@itcase/types-ui';
1
+ import { AppearanceConfig, AppearanceKeysState, BorderColorHoverProps, BorderColorProps, BorderWidthProps, CompositeAppearanceStateDefault, FillHoverProps, FillProps, ShapeProps, SizeProps, WidthProps } from '@itcase/types-ui';
2
2
  import type { StyleAttributes } from '@itcase/ui-core/hooks';
3
3
  import { TextProps } from 'src/components/Text/Text.interface';
4
4
  type InputAppearanceProps = {
@@ -15,7 +15,6 @@ type InputAppearanceProps = {
15
15
  placeholderTextColor?: TextProps['textColor'];
16
16
  placeholderTextColorDisabled?: TextProps['textColor'];
17
17
  shape?: ShapeProps;
18
- shapeStrength?: ShapeStrengthProps;
19
18
  size?: SizeProps;
20
19
  textColor?: TextProps['textColor'];
21
20
  textSize?: TextProps['size'];
@@ -13,9 +13,9 @@ const Input = React.forwardRef(function Input(props, ref) {
13
13
  const { id, appearance, className, dataTestId, dataTour, type = 'text', name, autocomplete, index, placeholder, value, isDisabled, isSkeleton, isReadOnly, onClick, onBlur, onChange, onFocus, onKeyDown, } = props;
14
14
  const appearanceConfig = useAppearanceConfig(appearance, inputConfig, isDisabled);
15
15
  const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
16
- const { fillClass, fillHoverClass, borderColorClass, borderColorHoverClass, borderWidthClass, textColorClass, textSizeClass, textWeightClass, caretClass, placeholderTextColorClass, shapeClass, shapeStrengthClass, sizeClass, widthClass, } = propsGenerator;
16
+ const { fillClass, fillHoverClass, borderColorClass, borderColorHoverClass, borderWidthClass, textColorClass, textSizeClass, textWeightClass, caretClass, placeholderTextColorClass, shapeClass, sizeClass, widthClass, } = propsGenerator;
17
17
  const fallbackId = useId();
18
18
  return (_jsx("input", { id: String(id ?? fallbackId), className: clsx(className, 'input', type === 'number' && 'input_type_number', isDisabled && 'input_state_disabled', (textSizeClass || textColorClass || textWeightClass) && 'text', borderColorClass && `border-color_${borderColorClass}`, borderColorHoverClass && `border-color_hover_${borderColorHoverClass}`, borderWidthClass && `border-width_${borderWidthClass}`, caretClass && `caret-color_${caretClass}`, fillClass && `fill_${fillClass}`, fillHoverClass && `fill_hover_${fillHoverClass}`, placeholderTextColorClass &&
19
- `placeholder-text-color_${placeholderTextColorClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, sizeClass && `input_size_${sizeClass}`, textColorClass && `text-color_${textColorClass}`, textColorClass && `text-color_${textColorClass}`, textSizeClass && `text_size_${textSizeClass}`, textWeightClass && `text-weight_${textWeightClass}`, widthClass && `width_${widthClass}`, isSkeleton && 'skeleton'), type: type, ref: ref, autoComplete: autocomplete, "data-index": index, "data-testid": dataTestId || (name ? `${name}-input` : 'input'), "data-tour": dataTour, disabled: isDisabled, placeholder: placeholder, readOnly: isReadOnly, value: value, onClick: onClick, onBlur: onBlur, onChange: onChange, onFocus: onFocus, onKeyDown: onKeyDown }));
19
+ `placeholder-text-color_${placeholderTextColorClass}`, shapeClass && `shape_${shapeClass}`, sizeClass && `input_size_${sizeClass}`, textColorClass && `text-color_${textColorClass}`, textColorClass && `text-color_${textColorClass}`, textSizeClass && `text_size_${textSizeClass}`, textWeightClass && `text-weight_${textWeightClass}`, widthClass && `width_${widthClass}`, isSkeleton && 'skeleton'), type: type, ref: ref, autoComplete: autocomplete, "data-index": index, "data-testid": dataTestId || (name ? `${name}-input` : 'input'), "data-tour": dataTour, disabled: isDisabled, placeholder: placeholder, readOnly: isReadOnly, value: value, onClick: onClick, onBlur: onBlur, onChange: onChange, onFocus: onFocus, onKeyDown: onKeyDown }));
20
20
  });
21
21
  export { Input, inputConfig };
@@ -7,19 +7,15 @@ const inputAppearanceShape = {
7
7
  },
8
8
  roundedXL: {
9
9
  shape: 'rounded',
10
- shapeStrength: '2m',
11
10
  },
12
11
  roundedL: {
13
12
  shape: 'rounded',
14
- shapeStrength: '1_5m',
15
13
  },
16
14
  roundedM: {
17
15
  shape: 'rounded',
18
- shapeStrength: '1m',
19
16
  },
20
17
  roundedS: {
21
18
  shape: 'rounded',
22
- shapeStrength: '0_5m',
23
19
  },
24
20
  };
25
21
  export { inputAppearanceShape };
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties } from 'react';
2
- import { AppearanceConfig, AppearanceKeysState, BorderColorHoverProps, BorderColorProps, BorderWidthProps, CompositeAppearanceStateDefault, FillHoverProps, FillProps, ShapeProps, ShapeStrengthProps, SizeProps, SvgFillHoverProps, SvgFillProps } from '@itcase/types-ui';
2
+ import { AppearanceConfig, AppearanceKeysState, BorderColorHoverProps, BorderColorProps, BorderWidthProps, CompositeAppearanceStateDefault, FillHoverProps, FillProps, ShapeProps, SizeProps, SvgFillHoverProps, SvgFillProps } from '@itcase/types-ui';
3
3
  import { StyleAttributes } from '@itcase/ui-core/hooks';
4
4
  import { ButtonProps } from 'src/components/Button/Button.interface';
5
5
  import { IconProps } from 'src/components/Icon/Icon.interface';
@@ -23,7 +23,6 @@ type InputNumberAppearanceProps = {
23
23
  inputNumberTextWeight?: TextProps['textWeight'];
24
24
  labelTextWeight?: TextProps['textWeight'];
25
25
  shape?: ShapeProps;
26
- shapeStrength?: ShapeStrengthProps;
27
26
  size?: SizeProps;
28
27
  svgFill?: SvgFillProps;
29
28
  svgFillHover?: SvgFillHoverProps;
@@ -32,11 +32,11 @@ const InputNumber = (props) => {
32
32
  };
33
33
  const appearanceConfig = useAppearanceConfig(appearance, inputNumberConfig);
34
34
  const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
35
- const { fillClass, fillHoverClass, borderColorClass, borderColorHoverClass, borderWidthClass, iconFill, iconFillHover, iconFillIcon, iconMinus, iconPlus, iconShape, iconSize, inputNumberTextColorClass, inputNumberTextSizeClass, inputNumberTextWeightClass, shapeClass, shapeStrengthClass, sizeClass, widthClass, } = propsGenerator;
35
+ const { fillClass, fillHoverClass, borderColorClass, borderColorHoverClass, borderWidthClass, iconFill, iconFillHover, iconFillIcon, iconMinus, iconPlus, iconShape, iconSize, inputNumberTextColorClass, inputNumberTextSizeClass, inputNumberTextWeightClass, shapeClass, sizeClass, widthClass, } = propsGenerator;
36
36
  if (type === 'native') {
37
37
  return (_jsx("input", { id: String(id), type: "number", min: min, max: max, step: step, value: number, onChange: (event) => handleInputValue(event) }));
38
38
  }
39
- return (_jsxs("div", { id: String(id), className: clsx(className, 'input-number', 'input-number__custom', borderColorClass && `border-color_${borderColorClass}`, borderColorHoverClass && `border-color_hover_${borderColorHoverClass}`, borderWidthClass && `border-width_${borderWidthClass}`, fillClass && `fill_${fillClass}`, fillHoverClass && `fill_hover_${fillHoverClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, sizeClass && `input-number_size_${sizeClass}`, widthClass && `width_${widthClass}`), "data-tour": dataTour, "date-testid": dataTestId, children: [_jsx(Button, { className: "input-number__icon", icon: iconMinus, iconFill: iconFill, iconFillHover: iconFillHover, iconFillIcon: iconFillIcon, iconShape: iconShape, iconSize: iconSize, onClick: () => handleChangeValue('minus') }), _jsx("input", { className: clsx(inputNumberTextColorClass &&
39
+ return (_jsxs("div", { id: String(id), className: clsx(className, 'input-number', 'input-number__custom', borderColorClass && `border-color_${borderColorClass}`, borderColorHoverClass && `border-color_hover_${borderColorHoverClass}`, borderWidthClass && `border-width_${borderWidthClass}`, fillClass && `fill_${fillClass}`, fillHoverClass && `fill_hover_${fillHoverClass}`, shapeClass && `shape_${shapeClass}`, sizeClass && `input-number_size_${sizeClass}`, widthClass && `width_${widthClass}`), "data-tour": dataTour, "date-testid": dataTestId, children: [_jsx(Button, { className: "input-number__icon", icon: iconMinus, iconFill: iconFill, iconFillHover: iconFillHover, iconFillIcon: iconFillIcon, iconShape: iconShape, iconSize: iconSize, onClick: () => handleChangeValue('minus') }), _jsx("input", { className: clsx(inputNumberTextColorClass &&
40
40
  `text-color_${inputNumberTextColorClass}`, inputNumberTextSizeClass && `text_size_${inputNumberTextSizeClass}`, inputNumberTextWeightClass &&
41
41
  `text-weight_${inputNumberTextWeightClass}`), type: "number", min: min, max: max, "data-testid": dataTestId || (name ? `${name}-input-number` : 'input-number'), step: step, value: number, onChange: (event) => handleInputValue(event) }), _jsx(Button, { className: "input-number__icon", icon: iconPlus, iconFill: iconFill, iconFillHover: iconFillHover, iconFillIcon: iconFillIcon, iconShape: iconShape, iconSize: iconSize, onClick: () => handleChangeValue('plus') })] }));
42
42
  };
@@ -7,19 +7,15 @@ const inputNumberAppearanceShape = {
7
7
  },
8
8
  roundedXL: {
9
9
  shape: 'rounded',
10
- shapeStrength: '2m',
11
10
  },
12
11
  roundedL: {
13
12
  shape: 'rounded',
14
- shapeStrength: '1_5m',
15
13
  },
16
14
  roundedM: {
17
15
  shape: 'rounded',
18
- shapeStrength: '1m',
19
16
  },
20
17
  roundedS: {
21
18
  shape: 'rounded',
22
- shapeStrength: '0_5m',
23
19
  },
24
20
  };
25
21
  export { inputNumberAppearanceShape };
@@ -1,4 +1,4 @@
1
- import { AppearanceConfig, AppearanceKeysState, BorderColorHoverProps, BorderColorProps, BorderWidthProps, CompositeAppearanceStateDefault, FillHoverProps, FillProps, ItemFillProps, ShapeProps, ShapeStrengthProps, SizeProps, WidthProps } from '@itcase/types-ui';
1
+ import { AppearanceConfig, AppearanceKeysState, BorderColorHoverProps, BorderColorProps, BorderWidthProps, CompositeAppearanceStateDefault, FillHoverProps, FillProps, ItemFillProps, ShapeProps, SizeProps, WidthProps } from '@itcase/types-ui';
2
2
  import { StyleAttributes } from '@itcase/ui-core/hooks';
3
3
  import { IconProps } from 'src/components/Icon/Icon.interface';
4
4
  import { TextProps } from 'src/components/Text/Text.interface';
@@ -20,7 +20,6 @@ type InputAppearanceProps = {
20
20
  isRevealable?: boolean;
21
21
  placeholderTextColor?: TextProps['textColor'];
22
22
  shape?: ShapeProps;
23
- shapeStrength?: ShapeStrengthProps;
24
23
  size?: SizeProps;
25
24
  textColor?: TextProps['textColor'];
26
25
  textSize?: TextProps['size'];
@@ -22,9 +22,9 @@ function InputPassword(props) {
22
22
  }, []);
23
23
  const appearanceConfig = useAppearanceConfig(appearance, inputPasswordConfig, isDisabled);
24
24
  const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
25
- const { fillClass, fillHoverClass, borderColorClass, borderColorHoverClass, borderWidthClass, textColorClass, textSizeClass, textWeightClass, caretClass, iconFill, iconFillHover, iconRevealableHide, iconRevealableShow, iconShape, iconSize, imageRevealableHide, imageRevealableShow, placeholderTextColorClass, shapeClass, shapeStrengthClass, sizeClass, widthClass, } = propsGenerator;
25
+ const { fillClass, fillHoverClass, borderColorClass, borderColorHoverClass, borderWidthClass, textColorClass, textSizeClass, textWeightClass, caretClass, iconFill, iconFillHover, iconRevealableHide, iconRevealableShow, iconShape, iconSize, imageRevealableHide, imageRevealableShow, placeholderTextColorClass, shapeClass, sizeClass, widthClass, } = propsGenerator;
26
26
  return (_jsxs("div", { className: "input-password", children: [_jsx("input", { id: String(id), className: clsx(className, 'input-password__input', (textSizeClass || textColorClass || textWeightClass) && 'text', borderColorClass && `border-color_${borderColorClass}`, borderColorHoverClass &&
27
27
  `border-color_hover_${borderColorHoverClass}`, borderWidthClass && `border-width_${borderWidthClass}`, caretClass && `caret-color_${caretClass}`, fillClass && `fill_${fillClass}`, fillHoverClass && `fill_hover_${fillHoverClass}`, placeholderTextColorClass &&
28
- `placeholder-text-color_${placeholderTextColorClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, sizeClass && `input-password__input_size_${sizeClass}`, textColorClass && `text-color_${textColorClass}`, textColorClass && `text-color_${textColorClass}`, textSizeClass && `text_size_${textSizeClass}`, textWeightClass && `text-weight_${textWeightClass}`, widthClass && `width_${widthClass}`), type: inputType, "data-testid": dataTestId || (name ? `${name}-input-password` : 'input-password'), "data-tour": dataTour, "date-testid": dataTestId, disabled: isDisabled, placeholder: placeholder, value: value, onBlur: onBlur, onChange: onChange, onFocus: onFocus, onKeyDown: onKeyDown }), _jsx(Icon, { className: "input-password__icon", size: iconSize, iconFill: iconFill, iconFillHover: iconFillHover, imageSrc: isRevealed ? imageRevealableHide : imageRevealableShow, shape: iconShape, SvgImage: isRevealed ? iconRevealableHide : iconRevealableShow, onClick: onClickIconReveal })] }));
28
+ `placeholder-text-color_${placeholderTextColorClass}`, shapeClass && `shape_${shapeClass}`, sizeClass && `input-password__input_size_${sizeClass}`, textColorClass && `text-color_${textColorClass}`, textColorClass && `text-color_${textColorClass}`, textSizeClass && `text_size_${textSizeClass}`, textWeightClass && `text-weight_${textWeightClass}`, widthClass && `width_${widthClass}`), type: inputType, "data-testid": dataTestId || (name ? `${name}-input-password` : 'input-password'), "data-tour": dataTour, "date-testid": dataTestId, disabled: isDisabled, placeholder: placeholder, value: value, onBlur: onBlur, onChange: onChange, onFocus: onFocus, onKeyDown: onKeyDown }), _jsx(Icon, { className: "input-password__icon", size: iconSize, iconFill: iconFill, iconFillHover: iconFillHover, imageSrc: isRevealed ? imageRevealableHide : imageRevealableShow, shape: iconShape, SvgImage: isRevealed ? iconRevealableHide : iconRevealableShow, onClick: onClickIconReveal })] }));
29
29
  }
30
30
  export { InputPassword, inputPasswordConfig };
@@ -7,19 +7,15 @@ const inputPasswordAppearanceShape = {
7
7
  },
8
8
  roundedXL: {
9
9
  shape: 'rounded',
10
- shapeStrength: '2m',
11
10
  },
12
11
  roundedL: {
13
12
  shape: 'rounded',
14
- shapeStrength: '1_5m',
15
13
  },
16
14
  roundedM: {
17
15
  shape: 'rounded',
18
- shapeStrength: '1m',
19
16
  },
20
17
  roundedS: {
21
18
  shape: 'rounded',
22
- shapeStrength: '0_5m',
23
19
  },
24
20
  };
25
21
  export { inputPasswordAppearanceShape };
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties, MouseEvent, ReactNode } from 'react';
2
- import { AlignProps, AppearanceConfig, AppearanceKeysDefault, BorderColorProps, BorderTypeProps, CompositeAppearanceKeys, FillGradientProps, FillHoverProps, FillProps, ShapeProps, ShapeStrengthProps, SizeProps, WrapProps } from '@itcase/types-ui';
2
+ import { AlignProps, AppearanceConfig, AppearanceKeysDefault, BorderColorProps, BorderTypeProps, CompositeAppearanceKeys, FillGradientProps, FillHoverProps, FillProps, ShapeProps, SizeProps, WrapProps } from '@itcase/types-ui';
3
3
  import { StyleAttributes } from '@itcase/ui-core/hooks';
4
4
  import { IconProps } from 'src/components/Icon/Icon.interface';
5
5
  import { TextProps } from 'src/components/Text/Text.interface';
@@ -30,7 +30,6 @@ type LabelAppearanceProps = {
30
30
  labelTextWeight?: TextProps['textWeight'];
31
31
  labelTextWrap?: TextProps['textWrap'];
32
32
  shape?: ShapeProps;
33
- shapeStrength?: ShapeStrengthProps;
34
33
  size?: SizeProps;
35
34
  tooltipAlignment?: TooltipProps['alignment'];
36
35
  tooltipAppearance?: TooltipProps['appearance'];
@@ -23,8 +23,8 @@ function Label(props) {
23
23
  }, []);
24
24
  const appearanceConfig = useAppearanceConfig(appearance, labelConfig, isDisabled);
25
25
  const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
26
- const { alignClass, fillClass, fillHoverClass, labelTextColor, labelTextColorHover, labelTextSize, labelTextWeight, labelTextWrap, borderColorClass, borderTypeClass, iconAfter, iconAfterFill, iconAfterFillIcon, iconAfterFillSize, iconAfterShape, iconAfterSize, iconAfterSrc, iconBefore, iconBeforeFill, iconBeforeFillIcon, iconBeforeFillSize, iconBeforeShape, iconBeforeSize, iconBeforeSrc, shapeClass, shapeStrengthClass, sizeClass, tooltipAlignment, tooltipAppearance, tooltipArrowPosition, tooltipText, tooltipTextSize, tooltipTextWeight, tooltipTitle, tooltipTitleSize, tooltipTitleWeight, widthClass, wrapClass, } = propsGenerator;
26
+ const { alignClass, fillClass, fillHoverClass, labelTextColor, labelTextColorHover, labelTextSize, labelTextWeight, labelTextWrap, borderColorClass, borderTypeClass, iconAfter, iconAfterFill, iconAfterFillIcon, iconAfterFillSize, iconAfterShape, iconAfterSize, iconAfterSrc, iconBefore, iconBeforeFill, iconBeforeFillIcon, iconBeforeFillSize, iconBeforeShape, iconBeforeSize, iconBeforeSrc, shapeClass, sizeClass, tooltipAlignment, tooltipAppearance, tooltipArrowPosition, tooltipText, tooltipTextSize, tooltipTextWeight, tooltipTitle, tooltipTitleSize, tooltipTitleWeight, widthClass, wrapClass, } = propsGenerator;
27
27
  const { styles: labelStyles } = useStyles(props);
28
- return (_jsxs("div", { className: clsx(className, 'label', fillClass && `fill_${fillClass}`, fillHoverClass && `fill_hover_${fillHoverClass}`, shapeClass && `shape_${shapeClass}`, borderColorClass && `border-color_${borderColorClass}`, borderTypeClass && `border_type_${borderTypeClass}`, sizeClass && `label_size_${sizeClass}`, wrapClass && `word-wrap_${wrapClass}`, widthClass && `label_width_${widthClass}`, alignClass && `align_${alignClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, isSkeleton && `skeleton`, onClick && (cursor || 'cursor_type_pointer')), "data-testid": dataTestId, "data-tour": dataTour, style: labelStyles, onClick: onClick, onMouseEnter: onMouseEnterLabel, onMouseLeave: onMouseLeaveLabel, children: [before, (iconBefore || iconBeforeSrc) && (_jsx(Icon, { className: clsx('label__icon_before'), fill: iconBeforeFill, fillSize: iconBeforeFillSize, iconFill: iconBeforeFillIcon, iconSize: iconBeforeSize, imageSrc: iconBeforeSrc, shape: iconBeforeShape, SvgImage: iconBefore })), _jsxs("div", { className: "label__inner", children: [typeof label === 'string' ? (_jsx(Text, { className: "label__text", size: labelTextSize, textColor: labelTextColor, textColorHover: labelTextColorHover, textWeight: labelTextWeight, textWrap: labelTextWrap, children: label })) : (_jsx("div", { className: "label__text", children: label })), children, tooltipContent && (_jsx(Tooltip, { appearance: tooltipAppearance, className: "label__tooltip", ref: tooltipRef, alignment: tooltipAlignment, title: tooltipTitle, titleSize: tooltipTitleSize, titleWeight: tooltipTitleWeight, text: tooltipText, textSize: tooltipTextSize, textWeight: tooltipTextWeight, arrowPosition: tooltipArrowPosition, children: tooltipContent }))] }), (iconAfter || iconAfterSrc) && (_jsx(Icon, { className: clsx('label__icon_after'), fill: iconAfterFill, fillSize: iconAfterFillSize, iconFill: iconAfterFillIcon, iconSize: iconAfterSize, imageSrc: iconAfterSrc, shape: iconAfterShape, SvgImage: iconAfter })), after] }));
28
+ return (_jsxs("div", { className: clsx(className, 'label', fillClass && `fill_${fillClass}`, fillHoverClass && `fill_hover_${fillHoverClass}`, shapeClass && `shape_${shapeClass}`, borderColorClass && `border-color_${borderColorClass}`, borderTypeClass && `border_type_${borderTypeClass}`, sizeClass && `label_size_${sizeClass}`, wrapClass && `word-wrap_${wrapClass}`, widthClass && `label_width_${widthClass}`, alignClass && `align_${alignClass}`, isSkeleton && `skeleton`, onClick && (cursor || 'cursor_type_pointer')), "data-testid": dataTestId, "data-tour": dataTour, style: labelStyles, onClick: onClick, onMouseEnter: onMouseEnterLabel, onMouseLeave: onMouseLeaveLabel, children: [before, (iconBefore || iconBeforeSrc) && (_jsx(Icon, { className: clsx('label__icon_before'), fill: iconBeforeFill, fillSize: iconBeforeFillSize, iconFill: iconBeforeFillIcon, iconSize: iconBeforeSize, imageSrc: iconBeforeSrc, shape: iconBeforeShape, SvgImage: iconBefore })), _jsxs("div", { className: "label__inner", children: [typeof label === 'string' ? (_jsx(Text, { className: "label__text", size: labelTextSize, textColor: labelTextColor, textColorHover: labelTextColorHover, textWeight: labelTextWeight, textWrap: labelTextWrap, children: label })) : (_jsx("div", { className: "label__text", children: label })), children, tooltipContent && (_jsx(Tooltip, { appearance: tooltipAppearance, className: "label__tooltip", ref: tooltipRef, alignment: tooltipAlignment, title: tooltipTitle, titleSize: tooltipTitleSize, titleWeight: tooltipTitleWeight, text: tooltipText, textSize: tooltipTextSize, textWeight: tooltipTextWeight, arrowPosition: tooltipArrowPosition, children: tooltipContent }))] }), (iconAfter || iconAfterSrc) && (_jsx(Icon, { className: clsx('label__icon_after'), fill: iconAfterFill, fillSize: iconAfterFillSize, iconFill: iconAfterFillIcon, iconSize: iconAfterSize, imageSrc: iconAfterSrc, shape: iconAfterShape, SvgImage: iconAfter })), after] }));
29
29
  }
30
30
  export { Label, labelConfig };
@@ -7,19 +7,15 @@ const labelAppearanceShape = {
7
7
  },
8
8
  roundedXL: {
9
9
  shape: 'rounded',
10
- shapeStrength: '2m',
11
10
  },
12
11
  roundedL: {
13
12
  shape: 'rounded',
14
- shapeStrength: '1_5m',
15
13
  },
16
14
  roundedM: {
17
15
  shape: 'rounded',
18
- shapeStrength: '1m',
19
16
  },
20
17
  roundedS: {
21
18
  shape: 'rounded',
22
- shapeStrength: '0_5m',
23
19
  },
24
20
  };
25
21
  export { labelAppearanceShape };
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties, ReactNode } from 'react';
2
- import { AppearanceConfig, AppearanceKeysDefault, BorderColorProps, CompositeAppearanceKeys, FillProps, ItemFillProps, ShapeProps, ShapeStrengthProps, SizeProps } from '@itcase/types-ui';
2
+ import { AppearanceConfig, AppearanceKeysDefault, BorderColorProps, CompositeAppearanceKeys, FillProps, ItemFillProps, ShapeProps, SizeProps } from '@itcase/types-ui';
3
3
  import { StyleAttributes } from '@itcase/ui-core/hooks';
4
4
  import { TextProps } from '../Text/Text.interface';
5
5
  type LoaderAppearanceProps = {
@@ -19,7 +19,6 @@ type LoaderProps = LoaderAppearanceProps & StyleAttributes & {
19
19
  isDisabled?: boolean;
20
20
  isSkeleton?: boolean;
21
21
  shape?: ShapeProps;
22
- shapeStrength?: ShapeStrengthProps;
23
22
  style?: CSSProperties;
24
23
  text?: string;
25
24
  type?: 'circular' | 'dot';
@@ -13,8 +13,8 @@ function Loader(props) {
13
13
  const { appearance, className, dataTestId, dataTour, type = 'dot', text, isDisabled, isSkeleton, children, } = props;
14
14
  const appearanceConfig = useAppearanceConfig(appearance, loaderConfig, isDisabled);
15
15
  const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
16
- const { fillClass, borderColorClass, textColor, textSize, heightClass, itemFillClass, shapeClass, shapeStrengthClass, sizeClass, widthClass, } = propsGenerator;
16
+ const { fillClass, borderColorClass, textColor, textSize, heightClass, itemFillClass, shapeClass, sizeClass, widthClass, } = propsGenerator;
17
17
  const { styles: loader } = useStyles(props);
18
- return (_jsxs("div", { className: clsx('loader', className, widthClass && `width_${widthClass}`, heightClass && `height_${heightClass}`, fillClass && `fill_${fillClass}`, sizeClass && `loader_size_${sizeClass}`, isSkeleton && `skeleton`, type && `loader_type_${type}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`), "data-testid": dataTestId, "data-tour": dataTour, style: loader, children: [children || (_jsxs("div", { className: "loader__inner", children: [_jsx("span", { className: clsx('loader__item', itemFillClass && `fill_${itemFillClass}`, type === 'circular' && `border-color_${borderColorClass}`), children: "\u00A0" }), _jsx("span", { className: clsx('loader__item', itemFillClass && `fill_${itemFillClass}`), children: "\u00A0" }), _jsx("span", { className: clsx('loader__item', itemFillClass && `fill_${itemFillClass}`), children: "\u00A0" })] })), text && (_jsx(Text, { className: "loader__text", size: textSize, textColor: textColor, children: text }))] }));
18
+ return (_jsxs("div", { className: clsx('loader', className, widthClass && `width_${widthClass}`, heightClass && `height_${heightClass}`, fillClass && `fill_${fillClass}`, sizeClass && `loader_size_${sizeClass}`, isSkeleton && `skeleton`, type && `loader_type_${type}`, shapeClass && `shape_${shapeClass}`), "data-testid": dataTestId, "data-tour": dataTour, style: loader, children: [children || (_jsxs("div", { className: "loader__inner", children: [_jsx("span", { className: clsx('loader__item', itemFillClass && `fill_${itemFillClass}`, type === 'circular' && `border-color_${borderColorClass}`), children: "\u00A0" }), _jsx("span", { className: clsx('loader__item', itemFillClass && `fill_${itemFillClass}`), children: "\u00A0" }), _jsx("span", { className: clsx('loader__item', itemFillClass && `fill_${itemFillClass}`), children: "\u00A0" })] })), text && (_jsx(Text, { className: "loader__text", size: textSize, textColor: textColor, children: text }))] }));
19
19
  }
20
20
  export { Loader, loaderConfig };
@@ -1,6 +1,6 @@
1
1
  import type { CSSProperties, ElementType, ReactNode } from 'react';
2
2
  import type { LinkProps } from 'react-scroll';
3
- import type { AlignProps, AppearanceConfig, AppearanceKeysDefault, ArrowPosition, BorderColorProps, CompositeAppearanceKeys, DirectionProps, FillActiveHoverProps, FillActiveProps, FillHoverProps, FillProps, JustifyContentProps, ShapeProps, ShapeStrengthProps, TextSizeProps, UnderlineProps } from '@itcase/types-ui';
3
+ import type { AlignProps, AppearanceConfig, AppearanceKeysDefault, ArrowPosition, BorderColorProps, CompositeAppearanceKeys, DirectionProps, FillActiveHoverProps, FillActiveProps, FillHoverProps, FillProps, JustifyContentProps, ShapeProps, TextSizeProps, UnderlineProps } from '@itcase/types-ui';
4
4
  import { StyleAttributes } from '@itcase/ui-core/hooks';
5
5
  import type { IconProps } from '../Icon/Icon.interface';
6
6
  import type { TextProps } from '../Text/Text.interface';
@@ -47,11 +47,9 @@ type MenuItemAppearanceProps = {
47
47
  labelWeight?: TextProps['textWeight'];
48
48
  labelWrap?: TextProps['textWrap'];
49
49
  shape?: ShapeProps;
50
- shapeStrength?: ShapeStrengthProps;
51
50
  size?: TextSizeProps;
52
51
  tooltipFill?: TooltipProps['fill'];
53
52
  tooltipShape?: TooltipProps['shape'];
54
- tooltipShapeStrength?: TooltipProps['shapeStrength'];
55
53
  tooltipSize?: TooltipProps['size'];
56
54
  tooltipText?: TooltipProps['text'];
57
55
  tooltipTextColor?: TooltipProps['textColor'];
@@ -17,18 +17,16 @@ function MenuItem(props) {
17
17
  const { appearance, className, dataTestId, dataTour, label, easing, href, link, LinkComponent, rel, showTooltip, target, tooltipAppearance, tooltipArrowPosition, tooltipContent, underline, before, after, isActive, isDisabled, onClick, children, } = props;
18
18
  const appearanceConfig = useAppearanceConfig(appearance, menuItemConfig, isDisabled);
19
19
  const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
20
- const { directionClass, justifyContentClass, alignClass, alignDirectionClass, fillActiveClass, fillActiveHoverClass, fillClass, fillHoverClass, labelTextActiveColor, labelTextActiveColorHover, labelTextColor, labelTextColorDisabled, labelTextColorHover, labelTextSize, labelWeight, labelWrap, borderColorClass, iconAfter, iconAfterFill, iconAfterFillIcon, iconAfterFillSize, iconAfterShape, iconAfterSize, iconAfterSrc, iconBadgeAppearance, iconBadgeShape, iconBadgeSize, iconBadgeTextColor, iconBadgeTextSize, iconBadgeValue, iconBefore, iconBeforeFill, iconBeforeFillIcon, iconBeforeFillSize, iconBeforeShape, iconBeforeSize, iconBeforeSrc, shapeClass, shapeStrengthClass, sizeClass, tooltipFill, tooltipPlacement = 'top', tooltipShape, tooltipShapeStrength, tooltipSize, tooltipText, tooltipTextColor, tooltipTextSize, tooltipTitle, tooltipTitleTextColor, typeClass, widthClass, isSkeleton, } = propsGenerator;
20
+ const { directionClass, justifyContentClass, alignClass, alignDirectionClass, fillActiveClass, fillActiveHoverClass, fillClass, fillHoverClass, labelTextActiveColor, labelTextActiveColorHover, labelTextColor, labelTextColorDisabled, labelTextColorHover, labelTextSize, labelWeight, labelWrap, borderColorClass, iconAfter, iconAfterFill, iconAfterFillIcon, iconAfterFillSize, iconAfterShape, iconAfterSize, iconAfterSrc, iconBadgeAppearance, iconBadgeShape, iconBadgeSize, iconBadgeTextColor, iconBadgeTextSize, iconBadgeValue, iconBefore, iconBeforeFill, iconBeforeFillIcon, iconBeforeFillSize, iconBeforeShape, iconBeforeSize, iconBeforeSrc, shapeClass, sizeClass, tooltipFill, tooltipPlacement = 'top', tooltipShape, tooltipSize, tooltipText, tooltipTextColor, tooltipTextSize, tooltipTitle, tooltipTitleTextColor, typeClass, widthClass, isSkeleton, } = propsGenerator;
21
21
  const { styles: menuItem } = useStyles(props);
22
22
  const TooltipWrapperComponent = showTooltip ? TooltipWrapper : React.Fragment;
23
- return (_jsx(TooltipWrapperComponent, { appearance: tooltipAppearance, minWidth: "auto", size: tooltipSize, fill: tooltipFill, title: tooltipTitle, titleColor: tooltipTitleTextColor, text: tooltipText, textColor: tooltipTextColor, textSize: tooltipTextSize, arrowPosition: tooltipArrowPosition, placement: tooltipPlacement, shape: tooltipShape, shapeStrength: tooltipShapeStrength, tooltipContent: tooltipContent, children: _jsx("div", { className: clsx('menu-item', easing && `easing_${easing}`, isActive && 'menu-item_state_active', isDisabled && `menu-item_state_disabled`, directionClass && `menu-item_direction_${directionClass}`, className, (iconBefore || iconBeforeSrc || iconAfter || iconAfterSrc) &&
23
+ return (_jsx(TooltipWrapperComponent, { appearance: tooltipAppearance, minWidth: "auto", size: tooltipSize, fill: tooltipFill, title: tooltipTitle, titleColor: tooltipTitleTextColor, text: tooltipText, textColor: tooltipTextColor, textSize: tooltipTextSize, arrowPosition: tooltipArrowPosition, placement: tooltipPlacement, shape: tooltipShape, tooltipContent: tooltipContent, children: _jsx("div", { className: clsx('menu-item', easing && `easing_${easing}`, isActive && 'menu-item_state_active', isDisabled && `menu-item_state_disabled`, directionClass && `menu-item_direction_${directionClass}`, className, (iconBefore || iconBeforeSrc || iconAfter || iconAfterSrc) &&
24
24
  'menu-item_label-icon', sizeClass && `menu-item_size_${sizeClass}`, borderColorClass && `border-color_${borderColorClass}`, !isActive
25
25
  ? fillClass && `fill_${fillClass}`
26
26
  : fillActiveClass && `fill_active_${fillActiveClass}`, !isActive
27
27
  ? fillHoverClass && `fill_hover_${fillHoverClass}`
28
28
  : fillActiveHoverClass &&
29
- `fill_active_hover_${fillActiveHoverClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass
30
- ? `shape-strength_${shapeStrengthClass}`
31
- : shapeClass === 'rounded' && 'shape-strength_default', typeClass && `menu-item_type_${typeClass}`, widthClass && `width_${widthClass}`, justifyContentClass &&
29
+ `fill_active_hover_${fillActiveHoverClass}`, shapeClass && `shape_${shapeClass}`, shapeClass === 'rounded' && 'shape-strength_default', typeClass && `menu-item_type_${typeClass}`, widthClass && `width_${widthClass}`, justifyContentClass &&
32
30
  `menu-item_justify-content_${justifyContentClass}`, isSkeleton && `skeleton`), "data-testid": dataTestId, "data-tour": dataTour, style: menuItem, children: _jsxs(Link, { className: clsx('menu-item__wrapper', alignDirectionClass && `align_${alignDirectionClass}`, alignClass && `align_${alignClass}`), href: link || href, LinkComponent: LinkComponent, rel: rel, target: target, underline: underline, onClick: onClick, children: [before, children || (_jsxs(React.Fragment, { children: [(iconBefore || iconBeforeSrc) && (_jsx(Icon, { className: clsx('menu-item__icon_before', iconBadgeValue && 'menu-item__icon_before-badge'), fill: iconBeforeFill, fillSize: iconBeforeFillSize, badgeAppearance: iconBadgeAppearance, badgeClass: 'menu-item__icon_before_badge', badgeShape: iconBadgeShape, badgeSize: iconBadgeSize, badgeTextColor: iconBadgeTextColor, badgeTextSize: iconBadgeTextSize, badgeValue: iconBadgeValue, iconFill: iconBeforeFillIcon, iconSize: iconBeforeSize, imageSrc: iconBeforeSrc, shape: iconBeforeShape, SvgImage: iconBefore })), label && (_jsx(Text, { className: "menu-item__label", size: labelTextSize, textColor: labelTextColor, textColorActive: labelTextActiveColor, textColorActiveHover: labelTextActiveColorHover, textColorDisabled: labelTextColorDisabled, textColorHover: labelTextColorHover, textWeight: labelWeight, textWrap: labelWrap, isActive: isActive, isDisabled: isDisabled, children: label })), (iconAfter || iconAfterSrc) && (_jsx(Icon, { className: clsx('menu-item__icon_after', iconBadgeValue && 'menu-item__icon_after-badge'), fill: iconAfterFill, fillSize: iconAfterFillSize, badgeAppearance: iconBadgeAppearance, badgeClass: "menu-item__icon_after_badge", badgeShape: iconBadgeShape, badgeSize: iconBadgeSize, badgeTextColor: iconBadgeTextColor, badgeTextSize: iconBadgeTextSize, badgeValue: iconBadgeValue, iconFill: iconAfterFillIcon, iconSize: iconAfterSize, imageSrc: iconAfterSrc, shape: iconAfterShape, SvgImage: iconAfter }))] })), after] }) }) }));
33
31
  }
34
32
  export { MenuItem, menuItemConfig };
@@ -7,19 +7,15 @@ const menuItemAppearanceShape = {
7
7
  },
8
8
  roundedXL: {
9
9
  shape: 'rounded',
10
- shapeStrength: '2m',
11
10
  },
12
11
  roundedL: {
13
12
  shape: 'rounded',
14
- shapeStrength: '1_5m',
15
13
  },
16
14
  roundedM: {
17
15
  shape: 'rounded',
18
- shapeStrength: '1m',
19
16
  },
20
17
  roundedS: {
21
18
  shape: 'rounded',
22
- shapeStrength: '0_5m',
23
19
  },
24
20
  };
25
21
  export { menuItemAppearanceShape };
@@ -21,7 +21,6 @@ declare const Modal: React.ForwardRefExoticComponent<{
21
21
  overlayOpacity?: import("src/components/Overlay").OverlayProps["opacity"];
22
22
  print?: boolean;
23
23
  shape?: import("@itcase/types-ui").ShapeProps;
24
- shapeStrength?: import("@itcase/types-ui").ShapeStrengthProps;
25
24
  size?: import("@itcase/types-ui").SizeProps;
26
25
  textColor?: import("../Text").TextProps["textColor"];
27
26
  textSize?: import("../Text").TextProps["size"];
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties, MouseEventHandler, ReactNode } from 'react';
2
- import { AppearanceConfig, AppearanceIconSizeKey, AppearanceKeysDefault, BorderColorProps, BorderTypeProps, BorderWidthProps, CompositeAppearanceKeys, ElevationProps, FillProps, ItemFillProps, ShapeProps, ShapeStrengthProps, SizeProps, WidthProps } from '@itcase/types-ui';
2
+ import { AppearanceConfig, AppearanceIconSizeKey, AppearanceKeysDefault, BorderColorProps, BorderTypeProps, BorderWidthProps, CompositeAppearanceKeys, ElevationProps, FillProps, ItemFillProps, ShapeProps, SizeProps, WidthProps } from '@itcase/types-ui';
3
3
  import { StyleAttributes } from '@itcase/ui-core/hooks';
4
4
  import { IconProps } from 'src/components/Icon/Icon.interface';
5
5
  import { OverlayProps } from 'src/components/Overlay/Overlay.interface';
@@ -25,7 +25,6 @@ type ModalAppearanceProps = {
25
25
  overlayOpacity?: OverlayProps['opacity'];
26
26
  print?: boolean;
27
27
  shape?: ShapeProps;
28
- shapeStrength?: ShapeStrengthProps;
29
28
  size?: SizeProps;
30
29
  textColor?: TextProps['textColor'];
31
30
  textSize?: TextProps['size'];