@itcase/ui 1.8.21 → 1.8.22

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 (191) hide show
  1. package/dist/{Avatar_cjs_CiQ14ufF.js → Avatar_cjs_DSXs1Yrg.js} +2 -21
  2. package/dist/{Avatar_es_No9vSqji.js → Avatar_es_DByUaJL6.js} +2 -21
  3. package/dist/{Button_cjs_CnStmeGt.js → Button_cjs_CukkOE-v.js} +5 -4
  4. package/dist/{Button_es_BV1bepl1.js → Button_es_DXcCJuNX.js} +5 -4
  5. package/dist/{ChipsGroup_cjs_CL00pWKy.js → ChipsGroup_cjs_9wrMZrzL.js} +1 -1
  6. package/dist/{ChipsGroup_es_Ciln2otW.js → ChipsGroup_es_CjGZ-ulT.js} +1 -1
  7. package/dist/{DatePicker_cjs_DGgkpGbI.js → DatePicker_cjs_BriuTQqj.js} +3 -3
  8. package/dist/{DatePicker_es_BIOyGm22.js → DatePicker_es_DzY_fVii.js} +3 -3
  9. package/dist/{DropdownItem_cjs_DT-zspEr.js → DropdownItem_cjs_DY61IdLK.js} +1 -1
  10. package/dist/{DropdownItem_es_BJLFqVuH.js → DropdownItem_es_D8mY9vFZ.js} +1 -1
  11. package/dist/{Label_cjs_Cqcf6ffp.js → Label_cjs_CnwET26s.js} +11 -3
  12. package/dist/{Label_es_CeNdA70T.js → Label_es_Dc18d1gY.js} +11 -3
  13. package/dist/{Link_cjs_BlXrJ15R.js → Link_cjs_DbRGq2Yk.js} +9 -9
  14. package/dist/{Link_es_CyJn7NFb.js → Link_es_DxtZLeKY.js} +9 -9
  15. package/dist/{Tooltip_cjs_Cq5kuaIK.js → Tooltip_cjs_PkuRdzzy.js} +3 -3
  16. package/dist/{Tooltip_es_D0PSqI2c.js → Tooltip_es_BaGfb-qC.js} +3 -3
  17. package/dist/cjs/components/Accordion.js +2 -2
  18. package/dist/cjs/components/Avatar.js +3 -3
  19. package/dist/cjs/components/AvatarStack.js +5 -5
  20. package/dist/cjs/components/Badge.js +2 -2
  21. package/dist/cjs/components/Breadcrumbs.js +3 -3
  22. package/dist/cjs/components/Button.js +3 -3
  23. package/dist/cjs/components/Cell.js +15 -149
  24. package/dist/cjs/components/Chips.js +3 -3
  25. package/dist/cjs/components/Choice.js +2 -2
  26. package/dist/cjs/components/Code.js +2 -8
  27. package/dist/cjs/components/CookiesWarning.js +3 -3
  28. package/dist/cjs/components/DatePeriod.js +6 -6
  29. package/dist/cjs/components/DatePicker.js +5 -5
  30. package/dist/cjs/components/Dropdown.js +3 -3
  31. package/dist/cjs/components/Icon.js +2 -2
  32. package/dist/cjs/components/InputPassword.js +71 -129
  33. package/dist/cjs/components/Label.js +3 -3
  34. package/dist/cjs/components/Link.js +1 -1
  35. package/dist/cjs/components/List.js +1 -1
  36. package/dist/cjs/components/Logo.js +1 -1
  37. package/dist/cjs/components/MenuItem.js +29 -9
  38. package/dist/cjs/components/Modal.js +2 -2
  39. package/dist/cjs/components/Pagination.js +3 -3
  40. package/dist/cjs/components/Response/img.js +33 -0
  41. package/dist/cjs/components/Response.js +81 -213
  42. package/dist/cjs/components/Search.js +2 -2
  43. package/dist/cjs/components/Select.js +2 -2
  44. package/dist/cjs/components/Swiper.js +2 -2
  45. package/dist/cjs/components/Tab.js +2 -2
  46. package/dist/cjs/components/Tile.js +10 -172
  47. package/dist/cjs/components/Title.js +2 -2
  48. package/dist/cjs/components/Tooltip.js +2 -2
  49. package/dist/components/Accordion.js +2 -2
  50. package/dist/components/Avatar.js +3 -3
  51. package/dist/components/AvatarStack.js +5 -5
  52. package/dist/components/Badge.js +2 -2
  53. package/dist/components/Breadcrumbs.js +3 -3
  54. package/dist/components/Button.js +3 -3
  55. package/dist/components/Cell.js +15 -149
  56. package/dist/components/Chips.js +3 -3
  57. package/dist/components/Choice.js +2 -2
  58. package/dist/components/Code.js +2 -8
  59. package/dist/components/CookiesWarning.js +3 -3
  60. package/dist/components/DatePeriod.js +6 -6
  61. package/dist/components/DatePicker.js +5 -5
  62. package/dist/components/Dropdown.js +3 -3
  63. package/dist/components/Icon.js +2 -2
  64. package/dist/components/InputPassword.js +71 -129
  65. package/dist/components/Label.js +3 -3
  66. package/dist/components/Link.js +1 -1
  67. package/dist/components/List.js +1 -1
  68. package/dist/components/Logo.js +1 -1
  69. package/dist/components/MenuItem.js +29 -9
  70. package/dist/components/Modal.js +2 -2
  71. package/dist/components/Pagination.js +3 -3
  72. package/dist/components/Response/img.js +31 -0
  73. package/dist/components/Response.js +81 -213
  74. package/dist/components/Search.js +2 -2
  75. package/dist/components/Select.js +2 -2
  76. package/dist/components/Swiper.js +2 -2
  77. package/dist/components/Tab.js +2 -2
  78. package/dist/components/Tile.js +10 -172
  79. package/dist/components/Title.js +2 -2
  80. package/dist/components/Tooltip.js +2 -2
  81. package/dist/css/components/AvatarStack/AvatarStack.css +2 -15
  82. package/dist/css/components/Code/Code.css +3 -6
  83. package/dist/css/components/Label/Label.css +4 -4
  84. package/dist/css/components/MenuItem/MenuItem.css +19 -43
  85. package/dist/css/components/Response/Response.css +6 -3
  86. package/dist/css/components/Tab/Tab.css +14 -31
  87. package/dist/css/components/Tile/Tile.css +7 -5
  88. package/dist/css/styles/svg-color/svg_fill.css +5 -5
  89. package/dist/stories/Plsyground.mdx +0 -1
  90. package/dist/stories/index.stories.js +5 -8
  91. package/dist/types/components/Avatar/appearance/avatarAccent.d.ts +0 -4
  92. package/dist/types/components/Avatar/appearance/avatarDanger.d.ts +0 -1
  93. package/dist/types/components/Avatar/appearance/avatarInfo.d.ts +0 -4
  94. package/dist/types/components/Avatar/appearance/avatarPrimary.d.ts +0 -1
  95. package/dist/types/components/Avatar/appearance/avatarSecondary.d.ts +0 -1
  96. package/dist/types/components/Avatar/appearance/avatarSuccess.d.ts +1 -3
  97. package/dist/types/components/Avatar/appearance/avatarSurface.d.ts +0 -6
  98. package/dist/types/components/Button/appearance/buttonAccent.d.ts +1 -0
  99. package/dist/types/components/Cell/appearance/cellSize.d.ts +8 -44
  100. package/dist/types/components/Code/appearance/codeSize.d.ts +2 -8
  101. package/dist/types/components/{Response/appearance/responseDisabled.d.ts → InputPassword/appearance/inputPasswordDefault.d.ts} +9 -5
  102. package/dist/types/components/InputPassword/appearance/inputPasswordError.d.ts +15 -6
  103. package/dist/types/components/InputPassword/appearance/inputPasswordSize.d.ts +7 -7
  104. package/dist/types/components/InputPassword/appearance/inputPasswordSuccess.d.ts +15 -6
  105. package/dist/types/components/Label/appearance/labelAccent.d.ts +7 -0
  106. package/dist/types/components/Label/appearance/labelSize.d.ts +1 -0
  107. package/dist/types/components/Link/Link.interface.d.ts +1 -1
  108. package/dist/types/components/MenuItem/appearance/menuItemSize.d.ts +1 -0
  109. package/dist/types/components/MenuItem/appearance/menuItemSurface.d.ts +4 -2
  110. package/dist/types/components/Response/appearance/responceConfirm.d.ts +13 -0
  111. package/dist/types/components/Response/appearance/responceFail.d.ts +13 -0
  112. package/dist/types/components/Response/appearance/responceNothingFound.d.ts +13 -0
  113. package/dist/types/components/Response/appearance/responceRefresh.d.ts +13 -0
  114. package/dist/types/components/Response/appearance/responseError.d.ts +6 -4
  115. package/dist/types/components/Response/appearance/responseSuccess.d.ts +6 -4
  116. package/dist/types/components/Response/appearance/responseUnableLoadData.d.ts +13 -0
  117. package/dist/types/components/Response/appearance/responseWarning.d.ts +6 -4
  118. package/dist/types/components/Response/img/index.d.ts +12 -0
  119. package/dist/types/components/Tile/appearance/tileSize.d.ts +0 -8
  120. package/dist/types/components/Tile/appearance/tileSurface.d.ts +0 -1
  121. package/package.json +1 -1
  122. package/dist/cjs/components/InputMask.js +0 -65
  123. package/dist/cjs/components/Panel.js +0 -44
  124. package/dist/components/InputMask.js +0 -62
  125. package/dist/components/Panel.js +0 -41
  126. package/dist/css/components/InputMask/InputMask.css +0 -77
  127. package/dist/css/components/Panel/Panel.css +0 -107
  128. package/dist/stories/Accordion.mdx +0 -11
  129. package/dist/stories/AccordionItem.mdx +0 -15
  130. package/dist/stories/Breadcrumbs.mdx +0 -15
  131. package/dist/stories/BreadcrumbsItem.mdx +0 -17
  132. package/dist/stories/Dot.mdx +0 -19
  133. package/dist/stories/Drawer.mdx +0 -11
  134. package/dist/stories/Dropdown.mdx +0 -12
  135. package/dist/stories/DropdownItem.mdx +0 -19
  136. package/dist/stories/Image.mdx +0 -15
  137. package/dist/stories/Input.mdx +0 -31
  138. package/dist/stories/InputPassword.mdx +0 -15
  139. package/dist/stories/Label.mdx +0 -11
  140. package/dist/stories/ListItem.mdx +0 -11
  141. package/dist/stories/Logo.mdx +0 -24
  142. package/dist/stories/MenuItem.mdx +0 -15
  143. package/dist/stories/Modal.mdx +0 -15
  144. package/dist/stories/Notification.mdx +0 -23
  145. package/dist/stories/Radio.mdx +0 -28
  146. package/dist/stories/Response.mdx +0 -11
  147. package/dist/stories/SearchInput.mdx +0 -19
  148. package/dist/stories/Switch.mdx +0 -23
  149. package/dist/stories/Tab.mdx +0 -27
  150. package/dist/stories/Text.mdx +0 -35
  151. package/dist/types/components/Cell/appearance/cellAccent.d.ts +0 -21
  152. package/dist/types/components/Cell/appearance/cellDanger.d.ts +0 -7
  153. package/dist/types/components/Cell/appearance/cellError.d.ts +0 -11
  154. package/dist/types/components/Cell/appearance/cellInfo.d.ts +0 -21
  155. package/dist/types/components/Cell/appearance/cellPrimary.d.ts +0 -8
  156. package/dist/types/components/Cell/appearance/cellSecondary.d.ts +0 -8
  157. package/dist/types/components/Cell/appearance/cellSuccess.d.ts +0 -11
  158. package/dist/types/components/Cell/appearance/cellWarning.d.ts +0 -11
  159. package/dist/types/components/InputMask/InputMask.d.ts +0 -5
  160. package/dist/types/components/InputMask/InputMask.interface.d.ts +0 -54
  161. package/dist/types/components/InputMask/index.d.ts +0 -1
  162. package/dist/types/components/InputPassword/appearance/inputPasswordAccent.d.ts +0 -20
  163. package/dist/types/components/InputPassword/appearance/inputPasswordDanger.d.ts +0 -7
  164. package/dist/types/components/InputPassword/appearance/inputPasswordInfo.d.ts +0 -21
  165. package/dist/types/components/InputPassword/appearance/inputPasswordPrimary.d.ts +0 -8
  166. package/dist/types/components/InputPassword/appearance/inputPasswordSecondary.d.ts +0 -8
  167. package/dist/types/components/InputPassword/appearance/inputPasswordSurface.d.ts +0 -25
  168. package/dist/types/components/InputPassword/appearance/inputPasswordWarning.d.ts +0 -11
  169. package/dist/types/components/Panel/Panel.d.ts +0 -5
  170. package/dist/types/components/Panel/Panel.interface.d.ts +0 -58
  171. package/dist/types/components/Panel/index.d.ts +0 -1
  172. package/dist/types/components/Response/appearance/responseAccent.d.ts +0 -20
  173. package/dist/types/components/Response/appearance/responseDanger.d.ts +0 -7
  174. package/dist/types/components/Response/appearance/responseInfo.d.ts +0 -21
  175. package/dist/types/components/Response/appearance/responsePrimary.d.ts +0 -8
  176. package/dist/types/components/Response/appearance/responseRequire.d.ts +0 -20
  177. package/dist/types/components/Response/appearance/responseSecondary.d.ts +0 -8
  178. package/dist/types/components/Response/appearance/responseSize.d.ts +0 -59
  179. package/dist/types/components/Response/appearance/responseStyle.d.ts +0 -16
  180. package/dist/types/components/Response/appearance/responseSurface.d.ts +0 -25
  181. package/dist/types/components/Tile/appearance/tileAccent.d.ts +0 -20
  182. package/dist/types/components/Tile/appearance/tileDanger.d.ts +0 -7
  183. package/dist/types/components/Tile/appearance/tileDisabled.d.ts +0 -20
  184. package/dist/types/components/Tile/appearance/tileError.d.ts +0 -11
  185. package/dist/types/components/Tile/appearance/tileInfo.d.ts +0 -21
  186. package/dist/types/components/Tile/appearance/tilePrimary.d.ts +0 -8
  187. package/dist/types/components/Tile/appearance/tileRequire.d.ts +0 -20
  188. package/dist/types/components/Tile/appearance/tileSecondary.d.ts +0 -8
  189. package/dist/types/components/Tile/appearance/tileStyle.d.ts +0 -16
  190. package/dist/types/components/Tile/appearance/tileSuccess.d.ts +0 -11
  191. package/dist/types/components/Tile/appearance/tileWarning.d.ts +0 -11
@@ -1,17 +1,13 @@
1
1
  declare const avatarAppearanceInfo: {
2
2
  info: {
3
3
  fill: string;
4
- fillHover: string;
5
4
  borderColor: string;
6
5
  textColor: string;
7
- textColorHover: string;
8
6
  };
9
7
  infoSecondary: {
10
8
  fill: string;
11
- fillHover: string;
12
9
  borderColor: string;
13
10
  textColor: string;
14
- textColorHover: string;
15
11
  };
16
12
  };
17
13
  export { avatarAppearanceInfo };
@@ -1,7 +1,6 @@
1
1
  declare const avatarAppearancePrimary: {
2
2
  primary: {
3
3
  fill: string;
4
- fillHover: string;
5
4
  textColor: string;
6
5
  };
7
6
  };
@@ -1,7 +1,6 @@
1
1
  declare const avatarAppearanceSecondary: {
2
2
  secondary: {
3
3
  fill: string;
4
- fillHover: string;
5
4
  textColor: string;
6
5
  };
7
6
  };
@@ -1,9 +1,7 @@
1
1
  declare const avatarAppearanceSuccess: {
2
2
  success: {
3
3
  fill: string;
4
- fillHover: string;
5
- textColorPropsColor: string;
6
- textColorPropsColorHover: string;
4
+ textColor: string;
7
5
  };
8
6
  };
9
7
  export { avatarAppearanceSuccess };
@@ -1,24 +1,18 @@
1
1
  declare const avatarAppearanceSurface: {
2
2
  surfacePrimary: {
3
3
  fill: string;
4
- fillHover: string;
5
4
  textColor: string;
6
5
  };
7
6
  surfaceQuaternary: {
8
7
  fill: string;
9
- fillHover: string;
10
8
  textColor: string;
11
9
  };
12
10
  surfaceSecondary: {
13
11
  fill: string;
14
- fillHover: string;
15
12
  textColor: string;
16
- loaderFill: string;
17
- loaderItemFill: string;
18
13
  };
19
14
  surfaceTertiary: {
20
15
  fill: string;
21
- fillHover: string;
22
16
  textColor: string;
23
17
  };
24
18
  };
@@ -7,6 +7,7 @@ declare const buttonAppearanceAccent: {
7
7
  borderColor: string;
8
8
  iconAfterFillIcon: string;
9
9
  iconBeforeFillIcon: string;
10
+ iconFillIcon: string;
10
11
  loaderFill: string;
11
12
  loaderItemFill: string;
12
13
  };
@@ -1,59 +1,23 @@
1
1
  declare const cellAppearanceSize: {
2
- sizeXXL: {
3
- size: string;
4
- labelTextSize: string;
5
- iconAfterFillSize: string;
6
- iconAfterSize: string;
7
- iconBeforeFillSize: string;
8
- iconBeforeSize: string;
9
- };
10
2
  sizeXL: {
11
3
  size: string;
12
- labelTextSize: string;
13
- iconAfterFillSize: string;
14
- iconAfterSize: string;
15
- iconBeforeFillSize: string;
16
- iconBeforeSize: string;
4
+ titleTextSize: string;
5
+ valueTextSize: string;
17
6
  };
18
7
  sizeL: {
19
8
  size: string;
20
- labelTextSize: string;
21
- iconAfterFillSize: string;
22
- iconAfterSize: string;
23
- iconBeforeFillSize: string;
24
- iconBeforeSize: string;
9
+ titleTextSize: string;
10
+ valueTextSize: string;
25
11
  };
26
12
  sizeM: {
27
13
  size: string;
28
- labelTextSize: string;
29
- iconAfterFillSize: string;
30
- iconAfterSize: string;
31
- iconBeforeFillSize: string;
32
- iconBeforeSize: string;
14
+ titleTextSize: string;
15
+ valueTextSize: string;
33
16
  };
34
17
  sizeS: {
35
18
  size: string;
36
- labelTextSize: string;
37
- iconAfterFillSize: string;
38
- iconAfterSize: string;
39
- iconBeforeFillSize: string;
40
- iconBeforeSize: string;
41
- };
42
- sizeXS: {
43
- size: string;
44
- labelTextSize: string;
45
- iconAfterFillSize: string;
46
- iconAfterSize: string;
47
- iconBeforeFillSize: string;
48
- iconBeforeSize: string;
49
- };
50
- sizeXXS: {
51
- size: string;
52
- labelTextSize: string;
53
- iconAfterFillSize: string;
54
- iconAfterSize: string;
55
- iconBeforeFillSize: string;
56
- iconBeforeSize: string;
19
+ titleTextSize: string;
20
+ valueTextSize: string;
57
21
  };
58
22
  };
59
23
  export { cellAppearanceSize };
@@ -2,18 +2,12 @@ declare const codeAppearanceSize: {
2
2
  sizeL: {
3
3
  size: string;
4
4
  labelTextSize: string;
5
- iconAfterFillSize: string;
6
- iconAfterSize: string;
7
- iconBeforeFillSize: string;
8
- iconBeforeSize: string;
5
+ inputSize: string;
9
6
  };
10
7
  sizeM: {
11
8
  size: string;
12
9
  labelTextSize: string;
13
- iconAfterFillSize: string;
14
- iconAfterSize: string;
15
- iconBeforeFillSize: string;
16
- iconBeforeSize: string;
10
+ inputSize: string;
17
11
  };
18
12
  };
19
13
  export { codeAppearanceSize };
@@ -1,20 +1,24 @@
1
- declare const responseAppearanceDisabled: {
2
- disabledPrimary: {
1
+ declare const inputPasswordAppearanceDefault: {
2
+ defaultPrimary: {
3
3
  fill: string;
4
4
  borderColor: string;
5
5
  borderHover: string;
6
6
  textColor: string;
7
+ textColorDisabled: string;
8
+ caret: string;
7
9
  iconBeforeFill: string;
8
10
  iconClearFill: string;
9
- placeholderTextColor: string;
10
11
  };
11
- disabledSecondary: {
12
+ defaultSecondary: {
12
13
  fill: string;
13
14
  borderColor: string;
14
15
  borderHover: string;
16
+ textColor: string;
17
+ textColorDisabled: string;
18
+ caret: string;
15
19
  iconBeforeFill: string;
16
20
  iconClearFill: string;
17
21
  placeholderTextColor: string;
18
22
  };
19
23
  };
20
- export { responseAppearanceDisabled };
24
+ export { inputPasswordAppearanceDefault };
@@ -1,11 +1,20 @@
1
1
  declare const inputPasswordAppearanceError: {
2
- error: {
2
+ errorPrimary: {
3
3
  fill: string;
4
- fillHover: string;
5
- labelTextColor: string;
6
- labelTextColorHover: string;
7
- loaderFill: string;
8
- loaderItemFill: string;
4
+ borderColor: string;
5
+ borderHover: string;
6
+ textColor: string;
7
+ iconBeforeFill: string;
8
+ iconClearFill: string;
9
+ placeholderTextColor: string;
10
+ };
11
+ errorSecondary: {
12
+ fill: string;
13
+ borderColor: string;
14
+ borderHover: string;
15
+ iconBeforeFill: string;
16
+ iconClearFill: string;
17
+ placeholderTextColor: string;
9
18
  };
10
19
  };
11
20
  export { inputPasswordAppearanceError };
@@ -1,7 +1,7 @@
1
1
  declare const inputPasswordAppearanceSize: {
2
2
  sizeXXL: {
3
3
  size: string;
4
- labelTextSize: string;
4
+ textSize: string;
5
5
  iconAfterFillSize: string;
6
6
  iconAfterSize: string;
7
7
  iconBeforeFillSize: string;
@@ -9,7 +9,7 @@ declare const inputPasswordAppearanceSize: {
9
9
  };
10
10
  sizeXL: {
11
11
  size: string;
12
- labelTextSize: string;
12
+ textSize: string;
13
13
  iconAfterFillSize: string;
14
14
  iconAfterSize: string;
15
15
  iconBeforeFillSize: string;
@@ -17,7 +17,7 @@ declare const inputPasswordAppearanceSize: {
17
17
  };
18
18
  sizeL: {
19
19
  size: string;
20
- labelTextSize: string;
20
+ textSize: string;
21
21
  iconAfterFillSize: string;
22
22
  iconAfterSize: string;
23
23
  iconBeforeFillSize: string;
@@ -25,7 +25,7 @@ declare const inputPasswordAppearanceSize: {
25
25
  };
26
26
  sizeM: {
27
27
  size: string;
28
- labelTextSize: string;
28
+ textSize: string;
29
29
  iconAfterFillSize: string;
30
30
  iconAfterSize: string;
31
31
  iconBeforeFillSize: string;
@@ -33,7 +33,7 @@ declare const inputPasswordAppearanceSize: {
33
33
  };
34
34
  sizeS: {
35
35
  size: string;
36
- labelTextSize: string;
36
+ textSize: string;
37
37
  iconAfterFillSize: string;
38
38
  iconAfterSize: string;
39
39
  iconBeforeFillSize: string;
@@ -41,7 +41,7 @@ declare const inputPasswordAppearanceSize: {
41
41
  };
42
42
  sizeXS: {
43
43
  size: string;
44
- labelTextSize: string;
44
+ textSize: string;
45
45
  iconAfterFillSize: string;
46
46
  iconAfterSize: string;
47
47
  iconBeforeFillSize: string;
@@ -49,7 +49,7 @@ declare const inputPasswordAppearanceSize: {
49
49
  };
50
50
  sizeXXS: {
51
51
  size: string;
52
- labelTextSize: string;
52
+ textSize: string;
53
53
  iconAfterFillSize: string;
54
54
  iconAfterSize: string;
55
55
  iconBeforeFillSize: string;
@@ -1,11 +1,20 @@
1
1
  declare const inputPasswordAppearanceSuccess: {
2
- success: {
2
+ successPrimary: {
3
3
  fill: string;
4
- fillHover: string;
5
- labelTextColor: string;
6
- labelTextColorHover: string;
7
- loaderFill: string;
8
- loaderItemFill: string;
4
+ borderColor: string;
5
+ borderHover: string;
6
+ textColor: string;
7
+ iconBeforeFill: string;
8
+ iconClearFill: string;
9
+ placeholderTextColor: string;
10
+ };
11
+ successSecondary: {
12
+ fill: string;
13
+ borderColor: string;
14
+ borderHover: string;
15
+ iconBeforeFill: string;
16
+ iconClearFill: string;
17
+ placeholderTextColor: string;
9
18
  };
10
19
  };
11
20
  export { inputPasswordAppearanceSuccess };
@@ -4,6 +4,13 @@ declare const labelAppearanceAccent: {
4
4
  labelTextColor: string;
5
5
  labelTextColorHover: string;
6
6
  };
7
+ accentPrimary: {
8
+ fill: string;
9
+ labelTextColor: string;
10
+ labelTextColorHover: string;
11
+ iconBeforeFillIcon: string;
12
+ iconAfterFillIcon: string;
13
+ };
7
14
  accentTertiary: {
8
15
  fill: string;
9
16
  labelTextColor: string;
@@ -1,5 +1,6 @@
1
1
  declare const labelAppearanceSize: {
2
2
  sizeXXL: {
3
+ size: string;
3
4
  labelTextSize: string;
4
5
  iconAfterFillSize: number;
5
6
  iconAfterSize: number;
@@ -56,9 +56,9 @@ export interface LinkWrapperProps extends LinkThemeColor, StyleAttributes {
56
56
  children?: ReactNode;
57
57
  className?: string;
58
58
  Component?: ElementType;
59
- DefaultComponent?: ElementType;
60
59
  disabled?: boolean;
61
60
  href?: string;
61
+ LinkComponent?: ElementType;
62
62
  rel?: string;
63
63
  style?: CSSProperties;
64
64
  target?: string;
@@ -18,6 +18,7 @@ declare const menuItemAppearanceSize: {
18
18
  sizeL: {
19
19
  size: string;
20
20
  labelTextSize: string;
21
+ descTextSize: string;
21
22
  iconAfterFillSize: string;
22
23
  iconAfterSize: string;
23
24
  iconBeforeFillSize: string;
@@ -1,8 +1,12 @@
1
1
  declare const menuItemAppearanceSurface: {
2
2
  surfacePrimary: {
3
3
  fill: string;
4
+ fillActive: string;
5
+ fillActiveHover: string;
4
6
  fillHover: string;
5
7
  labelTextColor: string;
8
+ iconAfterFillIcon: string;
9
+ iconBeforeFillIcon: string;
6
10
  };
7
11
  surfaceQuaternary: {
8
12
  fill: string;
@@ -13,8 +17,6 @@ declare const menuItemAppearanceSurface: {
13
17
  fill: string;
14
18
  fillHover: string;
15
19
  labelTextColor: string;
16
- loaderFill: string;
17
- loaderItemFill: string;
18
20
  };
19
21
  surfaceTertiary: {
20
22
  fill: string;
@@ -0,0 +1,13 @@
1
+ declare const responseAppearanceConfirm: {
2
+ confirm: {
3
+ fill: string;
4
+ titleTextColor: string;
5
+ labelTextColor: string;
6
+ primaryButtonAppearance: string;
7
+ secondaryButtonAppearance: string;
8
+ svgFill: string;
9
+ SvgImage: any;
10
+ svgPathFill: string;
11
+ };
12
+ };
13
+ export { responseAppearanceConfirm };
@@ -0,0 +1,13 @@
1
+ declare const responseAppearanceFail: {
2
+ fail: {
3
+ fill: string;
4
+ titleTextColor: string;
5
+ labelTextColor: string;
6
+ primaryButtonAppearance: string;
7
+ secondaryButtonAppearance: string;
8
+ svgFill: string;
9
+ SvgImage: any;
10
+ svgPathFill: string;
11
+ };
12
+ };
13
+ export { responseAppearanceFail };
@@ -0,0 +1,13 @@
1
+ declare const responseAppearanceNothingFound: {
2
+ nothingFound: {
3
+ fill: string;
4
+ titleTextColor: string;
5
+ labelTextColor: string;
6
+ primaryButtonAppearance: string;
7
+ secondaryButtonAppearance: string;
8
+ svgFill: string;
9
+ SvgImage: any;
10
+ svgPathFill: string;
11
+ };
12
+ };
13
+ export { responseAppearanceNothingFound };
@@ -0,0 +1,13 @@
1
+ declare const responseAppearanceRefresh: {
2
+ refresh: {
3
+ fill: string;
4
+ titleTextColor: string;
5
+ labelTextColor: string;
6
+ primaryButtonAppearance: string;
7
+ secondaryButtonAppearance: string;
8
+ svgFill: string;
9
+ SvgImage: any;
10
+ svgPathFill: string;
11
+ };
12
+ };
13
+ export { responseAppearanceRefresh };
@@ -1,11 +1,13 @@
1
1
  declare const responseAppearanceError: {
2
2
  error: {
3
3
  fill: string;
4
- fillHover: string;
4
+ titleTextColor: string;
5
5
  labelTextColor: string;
6
- labelTextColorHover: string;
7
- loaderFill: string;
8
- loaderItemFill: string;
6
+ primaryButtonAppearance: string;
7
+ secondaryButtonAppearance: string;
8
+ svgFill: string;
9
+ SvgImage: any;
10
+ svgPathFill: string;
9
11
  };
10
12
  };
11
13
  export { responseAppearanceError };
@@ -1,11 +1,13 @@
1
1
  declare const responseAppearanceSuccess: {
2
2
  success: {
3
3
  fill: string;
4
- fillHover: string;
4
+ titleTextColor: string;
5
5
  labelTextColor: string;
6
- labelTextColorHover: string;
7
- loaderFill: string;
8
- loaderItemFill: string;
6
+ primaryButtonAppearance: string;
7
+ secondaryButtonAppearance: string;
8
+ svgFill: string;
9
+ SvgImage: any;
10
+ svgPathFill: string;
9
11
  };
10
12
  };
11
13
  export { responseAppearanceSuccess };
@@ -0,0 +1,13 @@
1
+ declare const responseAppearanceUnableLoadData: {
2
+ unableLoadData: {
3
+ fill: string;
4
+ titleTextColor: string;
5
+ labelTextColor: string;
6
+ primaryButtonAppearance: string;
7
+ secondaryButtonAppearance: string;
8
+ svgFill: string;
9
+ SvgImage: any;
10
+ svgPathFill: string;
11
+ };
12
+ };
13
+ export { responseAppearanceUnableLoadData };
@@ -1,11 +1,13 @@
1
1
  declare const responseAppearanceWarning: {
2
2
  warning: {
3
3
  fill: string;
4
- fillHover: string;
4
+ titleTextColor: string;
5
5
  labelTextColor: string;
6
- labelTextColorHover: string;
7
- loaderFill: string;
8
- loaderItemFill: string;
6
+ primaryButtonAppearance: string;
7
+ secondaryButtonAppearance: string;
8
+ svgFill: string;
9
+ SvgImage: any;
10
+ svgPathFill: string;
9
11
  };
10
12
  };
11
13
  export { responseAppearanceWarning };
@@ -0,0 +1,12 @@
1
+ declare const resposeIcon: {
2
+ Warning: any;
3
+ Success: any;
4
+ Confirm: any;
5
+ Search: any;
6
+ Error: any;
7
+ Fail: any;
8
+ NothingFound: any;
9
+ Refresh: any;
10
+ UnableLoadData: any;
11
+ };
12
+ export { resposeIcon };
@@ -1,12 +1,4 @@
1
1
  declare const tileAppearanceSize: {
2
- sizeXXL: {
3
- size: string;
4
- labelTextSize: string;
5
- iconAfterFillSize: string;
6
- iconAfterSize: string;
7
- iconBeforeFillSize: string;
8
- iconBeforeSize: string;
9
- };
10
2
  sizeXL: {
11
3
  size: string;
12
4
  labelTextSize: string;
@@ -13,7 +13,6 @@ declare const tileAppearanceSurface: {
13
13
  fill: string;
14
14
  fillHover: string;
15
15
  labelTextColor: string;
16
- loaderFill: string;
17
16
  loaderItemFill: string;
18
17
  };
19
18
  surfaceTertiary: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/ui",
3
- "version": "1.8.21",
3
+ "version": "1.8.22",
4
4
  "description": "UI components (Modal, Loader, Popup, etc)",
5
5
  "keywords": [
6
6
  "Modal",
@@ -1,65 +0,0 @@
1
- 'use strict';
2
-
3
- var tslib_es6 = require('../../tslib.es6_cjs_CCZ3TN_7.js');
4
- var jsxRuntime = require('react/jsx-runtime');
5
- var React = require('react');
6
- var clsx = require('clsx');
7
- var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
8
- require('lodash/camelCase');
9
- require('lodash/castArray');
10
- require('lodash/upperFirst');
11
- require('../context/Notifications.js');
12
- require('uuid');
13
- require('@itcase/common');
14
- require('../context/UIContext.js');
15
- require('../hooks/useMediaQueries/useMediaQueries.js');
16
- require('react-responsive');
17
- require('../utils/setViewportProperty.js');
18
-
19
- var inputMaskConfig = {
20
- appearance: undefined,
21
- state: undefined,
22
- setAppearance: function (appearanceConfig) {
23
- inputMaskConfig.appearance = appearanceConfig;
24
- },
25
- setState: function (newComponent) {
26
- inputMaskConfig.state = newComponent;
27
- },
28
- };
29
- var InputMask = React.forwardRef(function Input(props, ref) {
30
- var id = props.id, className = props.className,
31
- // state,
32
- _a = props.type,
33
- // state,
34
- type = _a === void 0 ? 'text' : _a, name = props.name, appearance = props.appearance, isDisabled = props.isDisabled, dataTestId = props.dataTestId, index = props.index, placeholder = props.placeholder, value = props.value, onBlur = props.onBlur, onChange = props.onChange, onFocus = props.onFocus, onKeyDown = props.onKeyDown;
35
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
36
- var _a;
37
- return (tslib_es6.__assign(tslib_es6.__assign({}, resultConfig), (_a = inputMaskConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
38
- }, {});
39
- // const stateConfig = useMemo(
40
- // () => state && inputMaskConfig.state && inputMaskConfig.state[state],
41
- // [state, inputMaskConfig],
42
- // )
43
- var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
44
- var fillClass = propsGenerator.fillClass, fillDisabledClass = propsGenerator.fillDisabledClass, borderColorClass = propsGenerator.borderColorClass, borderColorDisabledClass = propsGenerator.borderColorDisabledClass, borderWidthClass = propsGenerator.borderWidthClass, borderWidthDisabledClass = propsGenerator.borderWidthDisabledClass, textColorClass = propsGenerator.textColorClass, textColorDisabledClass = propsGenerator.textColorDisabledClass, textSizeClass = propsGenerator.textSizeClass, textWeightClass = propsGenerator.textWeightClass, placeholderTextColorDisabledClass = propsGenerator.placeholderTextColorDisabledClass, caretClass = propsGenerator.caretClass, placeholderTextColorClass = propsGenerator.placeholderTextColorClass, shapeClass = propsGenerator.shapeClass, _b = propsGenerator.sizeClass, sizeClass = _b === void 0 ? 'm' : _b, widthClass = propsGenerator.widthClass;
45
- return (jsxRuntime.jsx("input", { id: String(id), className: clsx(className, 'input', type === 'number' && 'input_type_number', (textSizeClass || textColorClass || textWeightClass) && 'text', caretClass && "caret-color_".concat(caretClass), !isDisabled
46
- ? fillClass && "fill_".concat(fillClass)
47
- : fillDisabledClass && "fill_disabled_".concat(fillDisabledClass), shapeClass && "input_shape_".concat(shapeClass), textSizeClass && "text_size_".concat(textSizeClass), textWeightClass && "text-weight_".concat(textWeightClass), widthClass && "width_".concat(widthClass), !isDisabled
48
- ? borderWidthClass && "border-width_".concat(borderWidthClass)
49
- : borderWidthDisabledClass &&
50
- "border-width_disabled_".concat(borderWidthDisabledClass), sizeClass && "input_size_".concat(sizeClass), !isDisabled
51
- ? borderColorClass && "border-color_".concat(borderColorClass)
52
- : borderColorDisabledClass &&
53
- "border-color_disabled_".concat(borderColorDisabledClass), !isDisabled
54
- ? placeholderTextColorClass &&
55
- "placeholder-text-color_".concat(placeholderTextColorClass)
56
- : placeholderTextColorDisabledClass &&
57
- "placeholder-text-color_disabled_".concat(placeholderTextColorDisabledClass), !isDisabled
58
- ? textColorClass && "text-color_".concat(textColorClass)
59
- : textColorDisabledClass && "text-color_".concat(textColorDisabledClass)), type: type, disabled: isDisabled, "data-test-id": dataTestId || (name ? "".concat(name, "InputMask") : 'inputMask'), index: index, placeholder: placeholder,
60
- // @ts-expect-error
61
- ref: ref, value: value, onBlur: onBlur, onChange: onChange, onFocus: onFocus, onKeyDown: onKeyDown }));
62
- });
63
-
64
- exports.InputMask = InputMask;
65
- exports.inputMaskConfig = inputMaskConfig;