@itcase/ui 1.8.42 → 1.8.44

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 (172) hide show
  1. package/dist/{Avatar_cjs_BbeDJ-No.js → Avatar_cjs_Bp8wjwGw.js} +8 -10
  2. package/dist/{Avatar_es_B1Ao9Im_.js → Avatar_es_BIKf0hNV.js} +7 -9
  3. package/dist/{Button_cjs_Bzx1GdT5.js → Button_cjs_Chn18eOU.js} +104 -10
  4. package/dist/{Button_es_DhCLxWhq.js → Button_es_XnWb2XF3.js} +103 -9
  5. package/dist/{ChipsGroup_cjs_p99H-9a8.js → ChipsGroup_cjs_Deoz_rju.js} +9 -9
  6. package/dist/{ChipsGroup_es_CWq3TR_1.js → ChipsGroup_es_C1Qi_5A1.js} +8 -8
  7. package/dist/{DatePicker_cjs_Cq8vqj3E.js → DatePicker_cjs_B24qHiks.js} +13 -16
  8. package/dist/{DatePicker_es_DYs71cnU.js → DatePicker_es_BuC8mEcK.js} +10 -13
  9. package/dist/{Divider_cjs_BmCJj3TN.js → Divider_cjs_rxMMBfLC.js} +3 -5
  10. package/dist/{Divider_es_kY-30pft.js → Divider_es_CiRU0sTz.js} +3 -5
  11. package/dist/{DropdownItem_cjs_B1gGciTB.js → DropdownItem_cjs_DuqySfbd.js} +6 -8
  12. package/dist/{DropdownItem_es_JVT4f6Nb.js → DropdownItem_es_BBxfR35q.js} +5 -7
  13. package/dist/{Group_cjs_Cwt0gWk4.js → Group_cjs_CDLfU5D2.js} +5 -8
  14. package/dist/{Group_es_CYW2Hquh.js → Group_es_DSZxyI1e.js} +5 -8
  15. package/dist/{Tooltip_cjs_BBwH8sjA.js → Icon_cjs_DRZih-pc.js} +588 -599
  16. package/dist/{Tooltip_es_Y2aoFQW7.js → Icon_es_k9bHSLyL.js} +588 -599
  17. package/dist/{Input_cjs_CPmXkQGd.js → Input_cjs_BGLd0EQu.js} +3 -5
  18. package/dist/{Input_es_D9Y1Rj5Y.js → Input_es_D2mNCqiH.js} +3 -5
  19. package/dist/{Label_cjs_Mb8j2bLu.js → Label_cjs_D70CHJDE.js} +6 -8
  20. package/dist/{Label_es_CIDBUVgO.js → Label_es_HXrap3A4.js} +5 -7
  21. package/dist/{Link_cjs_DbRGq2Yk.js → Link_cjs_BqT6eVl6.js} +2 -4
  22. package/dist/{Link_es_DxtZLeKY.js → Link_es_BnUIX0QT.js} +2 -4
  23. package/dist/{Loader_cjs_Ca4i0sER.js → Loader_cjs_BShrE-Nb.js} +5 -7
  24. package/dist/{Loader_es_GYOr0UTX.js → Loader_es_BDb87cdb.js} +5 -7
  25. package/dist/{Overlay_cjs_CFOtnzDU.js → Overlay_cjs_BMrkRg7M.js} +3 -5
  26. package/dist/{Overlay_es_DczPjVL9.js → Overlay_es_D_izIIUB.js} +3 -5
  27. package/dist/{Text_cjs_C9fOm0nd.js → Text_cjs_BlNeIm_v.js} +5 -7
  28. package/dist/{Text_es_BfLRfj-5.js → Text_es_Ffjr5J1k.js} +5 -7
  29. package/dist/cjs/components/Accordion.js +7 -9
  30. package/dist/cjs/components/Avatar.js +9 -8
  31. package/dist/cjs/components/AvatarStack.js +8 -10
  32. package/dist/cjs/components/Badge.js +11 -10
  33. package/dist/cjs/components/Breadcrumbs.js +6 -8
  34. package/dist/cjs/components/Button.js +11 -10
  35. package/dist/cjs/components/Cell.js +8 -10
  36. package/dist/cjs/components/Checkbox.js +4 -6
  37. package/dist/cjs/components/Checkmark.js +3 -5
  38. package/dist/cjs/components/Chips.js +4 -4
  39. package/dist/cjs/components/Choice.js +9 -11
  40. package/dist/cjs/components/Code.js +3 -5
  41. package/dist/cjs/components/CookiesWarning.js +12 -14
  42. package/dist/cjs/components/Dadata.js +2 -1
  43. package/dist/cjs/components/DatePeriod.js +12 -15
  44. package/dist/cjs/components/DatePicker.js +9 -8
  45. package/dist/cjs/components/Divider.js +4 -3
  46. package/dist/cjs/components/Drawer.js +13 -15
  47. package/dist/cjs/components/Dropdown.js +6 -5
  48. package/dist/cjs/components/Group.js +3 -2
  49. package/dist/cjs/components/HeroTitle.js +7 -9
  50. package/dist/cjs/components/Icon.js +11 -10
  51. package/dist/cjs/components/Input.js +3 -2
  52. package/dist/cjs/components/InputPassword.js +9 -11
  53. package/dist/cjs/components/Label.js +6 -5
  54. package/dist/cjs/components/Link.js +2 -1
  55. package/dist/cjs/components/List.js +4 -6
  56. package/dist/cjs/components/Loader.js +5 -4
  57. package/dist/cjs/components/Logo.js +4 -6
  58. package/dist/cjs/components/MenuItem.js +31 -10
  59. package/dist/cjs/components/Modal.js +10 -12
  60. package/dist/cjs/components/Notification.js +7 -9
  61. package/dist/cjs/components/Overlay.js +4 -3
  62. package/dist/cjs/components/Pagination.js +10 -12
  63. package/dist/cjs/components/Radio.js +4 -6
  64. package/dist/cjs/components/Response.js +8 -10
  65. package/dist/cjs/components/Search.js +7 -9
  66. package/dist/cjs/components/Segmented.js +12 -14
  67. package/dist/cjs/components/Select.js +15 -22
  68. package/dist/cjs/components/Swiper.js +5 -4
  69. package/dist/cjs/components/Switch.js +4 -6
  70. package/dist/cjs/components/Tab.js +8 -10
  71. package/dist/cjs/components/Text.js +4 -3
  72. package/dist/cjs/components/Textarea.js +3 -5
  73. package/dist/cjs/components/Tile.js +7 -9
  74. package/dist/cjs/components/Title.js +11 -10
  75. package/dist/cjs/components/Tooltip.js +11 -10
  76. package/dist/cjs/components/Warning.js +168 -0
  77. package/dist/cjs/hooks/useAppearanceConfig/useAppearanceConfig.js +4 -6
  78. package/dist/components/Accordion.js +6 -8
  79. package/dist/components/Avatar.js +9 -8
  80. package/dist/components/AvatarStack.js +8 -10
  81. package/dist/components/Badge.js +8 -7
  82. package/dist/components/Breadcrumbs.js +5 -7
  83. package/dist/components/Button.js +11 -10
  84. package/dist/components/Cell.js +7 -9
  85. package/dist/components/Checkbox.js +4 -6
  86. package/dist/components/Checkmark.js +3 -5
  87. package/dist/components/Chips.js +4 -4
  88. package/dist/components/Choice.js +7 -9
  89. package/dist/components/Code.js +3 -5
  90. package/dist/components/CookiesWarning.js +12 -14
  91. package/dist/components/Dadata.js +2 -1
  92. package/dist/components/DatePeriod.js +12 -15
  93. package/dist/components/DatePicker.js +9 -8
  94. package/dist/components/Divider.js +4 -3
  95. package/dist/components/Drawer.js +12 -14
  96. package/dist/components/Dropdown.js +6 -5
  97. package/dist/components/Group.js +3 -2
  98. package/dist/components/HeroTitle.js +6 -8
  99. package/dist/components/Icon.js +8 -7
  100. package/dist/components/Input.js +3 -2
  101. package/dist/components/InputPassword.js +8 -10
  102. package/dist/components/Label.js +6 -5
  103. package/dist/components/Link.js +2 -1
  104. package/dist/components/List.js +4 -6
  105. package/dist/components/Loader.js +5 -4
  106. package/dist/components/Logo.js +4 -6
  107. package/dist/components/MenuItem.js +29 -8
  108. package/dist/components/Modal.js +9 -11
  109. package/dist/components/Notification.js +6 -8
  110. package/dist/components/Overlay.js +4 -3
  111. package/dist/components/Pagination.js +8 -10
  112. package/dist/components/Radio.js +4 -6
  113. package/dist/components/Response.js +8 -10
  114. package/dist/components/Search.js +5 -7
  115. package/dist/components/Segmented.js +10 -12
  116. package/dist/components/Select.js +11 -18
  117. package/dist/components/Swiper.js +4 -3
  118. package/dist/components/Switch.js +4 -6
  119. package/dist/components/Tab.js +7 -9
  120. package/dist/components/Text.js +4 -3
  121. package/dist/components/Textarea.js +3 -5
  122. package/dist/components/Tile.js +6 -8
  123. package/dist/components/Title.js +8 -7
  124. package/dist/components/Tooltip.js +8 -7
  125. package/dist/components/Warning.js +164 -0
  126. package/dist/css/components/MenuItem/MenuItem.css +2 -2
  127. package/dist/css/components/Warning/Warning.css +52 -0
  128. package/dist/css/mixins/mixin_utils.css +16 -0
  129. package/dist/hooks/useAppearanceConfig/useAppearanceConfig.js +4 -6
  130. package/dist/stories/Overview.mdx +6 -6
  131. package/dist/stories/Playground.mdx +5 -5
  132. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsSize.d.ts +7 -7
  133. package/dist/types/components/Button/appearance/buttonAccent.d.ts +11 -0
  134. package/dist/types/components/Button/appearance/buttonDanger.d.ts +11 -0
  135. package/dist/types/components/Button/appearance/buttonError.d.ts +11 -0
  136. package/dist/types/components/Button/appearance/buttonInfo.d.ts +11 -0
  137. package/dist/types/components/Button/appearance/buttonPrimary.d.ts +10 -0
  138. package/dist/types/components/Button/appearance/buttonSecondary.d.ts +10 -0
  139. package/dist/types/components/Button/appearance/buttonSuccess.d.ts +11 -0
  140. package/dist/types/components/Button/appearance/buttonSurface.d.ts +10 -0
  141. package/dist/types/components/Button/appearance/buttonWarning.d.ts +11 -0
  142. package/dist/types/components/Chips/stories/__mock__/index.d.ts +1 -1
  143. package/dist/types/components/Choice/stories/__mock__/index.d.ts +3 -3
  144. package/dist/types/components/CookiesWarning/CookiesWarning.d.ts +1 -0
  145. package/dist/types/components/DatePicker/DatePicker.appearance.d.ts +6 -6
  146. package/dist/types/components/DatePicker/appearance/datePickerSize.d.ts +6 -6
  147. package/dist/types/components/Drawer/appearance/drawerSurface.d.ts +1 -1
  148. package/dist/types/components/Dropdown/stories/__mock__/index.d.ts +6 -6
  149. package/dist/types/components/MenuItem/appearance/menuItemAccent.d.ts +8 -0
  150. package/dist/types/components/MenuItem/appearance/menuItemError.d.ts +7 -0
  151. package/dist/types/components/MenuItem/appearance/menuItemSurface.d.ts +8 -0
  152. package/dist/types/components/Notification/appearance/notificationDefault.d.ts +1 -1
  153. package/dist/types/components/Notification/appearance/notificationError.d.ts +1 -1
  154. package/dist/types/components/Notification/appearance/notificationInfo.d.ts +1 -1
  155. package/dist/types/components/Notification/appearance/notificationSuccess.d.ts +1 -1
  156. package/dist/types/components/Notification/appearance/notificationWarning.d.ts +1 -1
  157. package/dist/types/components/Pagination/appearance/paginationSize.d.ts +16 -16
  158. package/dist/types/components/Search/appearance/searchSize.d.ts +12 -12
  159. package/dist/types/components/Segmented/stories/__mock__/index.d.ts +8 -8
  160. package/dist/types/components/Tab/stories/__mock__/index.d.ts +1 -1
  161. package/dist/types/components/Warning/Warning.appearance.d.ts +101 -0
  162. package/dist/types/components/Warning/Warning.d.ts +4 -0
  163. package/dist/types/components/Warning/Warning.interface.d.ts +41 -0
  164. package/dist/types/components/Warning/appearance/warningAccent.d.ts +23 -0
  165. package/dist/types/components/Warning/appearance/warningError.d.ts +23 -0
  166. package/dist/types/components/Warning/appearance/warningInfo.d.ts +23 -0
  167. package/dist/types/components/Warning/appearance/warningSize.d.ts +11 -0
  168. package/dist/types/components/Warning/appearance/warningStyle.d.ts +14 -0
  169. package/dist/types/components/Warning/appearance/warningWarning.d.ts +23 -0
  170. package/dist/types/components/Warning/index.d.ts +2 -0
  171. package/dist/types/hooks/useAppearanceConfig/useAppearanceConfig.d.ts +1 -3
  172. package/package.json +13 -12
@@ -4,8 +4,8 @@ declare const choiceListMock: {
4
4
  };
5
5
  choices: {
6
6
  label: string;
7
- iconAfter: any;
8
- iconBefore: any;
7
+ iconAfter: string;
8
+ iconBefore: string;
9
9
  value: number;
10
10
  }[];
11
11
  };
@@ -14,7 +14,7 @@ declare const choiceListIconMock: {
14
14
  value: number;
15
15
  };
16
16
  choices: {
17
- icon: any;
17
+ icon: string;
18
18
  value: number;
19
19
  }[];
20
20
  };
@@ -1,3 +1,4 @@
1
+ import { LabelConfig } from 'src/components/Label/Label.interface';
1
2
  import type { CookiesWarningProps } from './CookiesWarning.interface';
2
3
  declare const cookiesWarningConfig: LabelConfig;
3
4
  declare function CookiesWarning(props: CookiesWarningProps): false | import("react/jsx-runtime").JSX.Element;
@@ -21,16 +21,16 @@ export declare const datePickerAppearance: {
21
21
  daySize: string;
22
22
  dayTextSize: string;
23
23
  iconFillSize: number;
24
- iconLeft: any;
25
- iconRight: any;
24
+ iconLeft: string;
25
+ iconRight: string;
26
26
  };
27
27
  sizeM: {
28
28
  size: string;
29
29
  daySize: string;
30
30
  dayTextSize: string;
31
31
  iconFillSize: number;
32
- iconLeft: any;
33
- iconRight: any;
32
+ iconLeft: string;
33
+ iconRight: string;
34
34
  iconSize: number;
35
35
  monthTextSize: string;
36
36
  yearTextSize: string;
@@ -40,8 +40,8 @@ export declare const datePickerAppearance: {
40
40
  daySize: string;
41
41
  dayTextSize: string;
42
42
  iconFillSize: number;
43
- iconLeft: any;
44
- iconRight: any;
43
+ iconLeft: string;
44
+ iconRight: string;
45
45
  };
46
46
  surfacePrimary: {
47
47
  dayTextColor: string;
@@ -4,16 +4,16 @@ declare const datePickerSize: {
4
4
  daySize: string;
5
5
  dayTextSize: string;
6
6
  iconFillSize: number;
7
- iconLeft: any;
8
- iconRight: any;
7
+ iconLeft: string;
8
+ iconRight: string;
9
9
  };
10
10
  sizeM: {
11
11
  size: string;
12
12
  daySize: string;
13
13
  dayTextSize: string;
14
14
  iconFillSize: number;
15
- iconLeft: any;
16
- iconRight: any;
15
+ iconLeft: string;
16
+ iconRight: string;
17
17
  iconSize: number;
18
18
  monthTextSize: string;
19
19
  yearTextSize: string;
@@ -23,8 +23,8 @@ declare const datePickerSize: {
23
23
  daySize: string;
24
24
  dayTextSize: string;
25
25
  iconFillSize: number;
26
- iconLeft: any;
27
- iconRight: any;
26
+ iconLeft: string;
27
+ iconRight: string;
28
28
  };
29
29
  };
30
30
  export { datePickerSize };
@@ -7,7 +7,7 @@ declare const drawerAppearanceSurface: {
7
7
  descTextColor: string;
8
8
  descTextSize: string;
9
9
  iconSize: number;
10
- closeIcon: any;
10
+ closeIcon: string;
11
11
  closeIconFillIcon: string;
12
12
  };
13
13
  surfaceSecondary: {
@@ -15,14 +15,14 @@ declare const dropdownListMock: ({
15
15
  } | {
16
16
  key: number;
17
17
  label: string;
18
- iconBefore: any;
18
+ iconBefore: string;
19
19
  isActive: boolean;
20
20
  badgeValue?: undefined;
21
21
  iconAfter?: undefined;
22
22
  } | {
23
23
  key: number;
24
24
  label: string;
25
- iconAfter: any;
25
+ iconAfter: string;
26
26
  isActive: boolean;
27
27
  badgeValue?: undefined;
28
28
  iconBefore?: undefined;
@@ -58,27 +58,27 @@ declare const dropdownListSimpleMock: ({
58
58
  declare const dropdownListBeforeMock: ({
59
59
  key: number;
60
60
  label: string;
61
- iconBefore: any;
61
+ iconBefore: string;
62
62
  isActive: boolean;
63
63
  badgeValue?: undefined;
64
64
  } | {
65
65
  key: number;
66
66
  label: string;
67
67
  badgeValue: number;
68
- iconBefore: any;
68
+ iconBefore: string;
69
69
  isActive: boolean;
70
70
  })[];
71
71
  declare const dropdownListAfterMock: ({
72
72
  key: number;
73
73
  label: string;
74
- iconAfter: any;
74
+ iconAfter: string;
75
75
  isActive: boolean;
76
76
  badgeValue?: undefined;
77
77
  } | {
78
78
  key: number;
79
79
  label: string;
80
80
  badgeValue: number;
81
- iconAfter: any;
81
+ iconAfter: string;
82
82
  isActive: boolean;
83
83
  })[];
84
84
  export { dropdownListMock, dropdownListSimpleMock, dropdownListBeforeMock, dropdownListAfterMock, dropdownListMessageMock, dropdownListBadgeMock, };
@@ -1,4 +1,12 @@
1
1
  declare const menuItemAppearanceAccent: {
2
+ accentMutedPrimary: {
3
+ fill: string;
4
+ fillHover: string;
5
+ labelTextColor: string;
6
+ borderColor: string;
7
+ iconAfterFillIcon: string;
8
+ iconBeforeFillIcon: string;
9
+ };
2
10
  accentPrimary: {
3
11
  fill: string;
4
12
  fillHover: string;
@@ -1,4 +1,11 @@
1
1
  declare const menuItemAppearanceError: {
2
+ errorMutedPrimary: {
3
+ fill: string;
4
+ labelTextColor: string;
5
+ labelTextColorHover: string;
6
+ iconAfterFillIcon: string;
7
+ iconBeforeFillIcon: string;
8
+ };
2
9
  errorPrimary: {
3
10
  fill: string;
4
11
  fillHover: string;
@@ -1,4 +1,12 @@
1
1
  declare const menuItemAppearanceSurface: {
2
+ surfaceMutedPrimary: {
3
+ fill: string;
4
+ fillActive: string;
5
+ fillActiveHover: string;
6
+ labelTextColor: string;
7
+ iconAfterFillIcon: string;
8
+ iconBeforeFillIcon: string;
9
+ };
2
10
  surfacePrimary: {
3
11
  fill: string;
4
12
  fillActive: string;
@@ -9,7 +9,7 @@ declare const notificationAppearanceDefault: {
9
9
  borderColor: string;
10
10
  textColor: string;
11
11
  iconSize: number;
12
- closeIcon: any;
12
+ closeIcon: string;
13
13
  closeIconFillIcon: string;
14
14
  };
15
15
  };
@@ -9,7 +9,7 @@ declare const notificationAppearanceError: {
9
9
  borderColor: string;
10
10
  textColor: string;
11
11
  iconSize: number;
12
- closeIcon: any;
12
+ closeIcon: string;
13
13
  closeIconFillIcon: string;
14
14
  };
15
15
  };
@@ -9,7 +9,7 @@ declare const notificationAppearanceInfo: {
9
9
  borderColor: string;
10
10
  textColor: string;
11
11
  iconSize: number;
12
- closeIcon: any;
12
+ closeIcon: string;
13
13
  closeIconFillIcon: string;
14
14
  };
15
15
  };
@@ -9,7 +9,7 @@ declare const notificationAppearanceSuccess: {
9
9
  borderColor: string;
10
10
  textColor: string;
11
11
  iconSize: number;
12
- closeIcon: any;
12
+ closeIcon: string;
13
13
  closeIconFillIcon: string;
14
14
  };
15
15
  };
@@ -9,7 +9,7 @@ declare const notificationAppearanceWarning: {
9
9
  borderColor: string;
10
10
  textColor: string;
11
11
  iconSize: number;
12
- closeIcon: any;
12
+ closeIcon: string;
13
13
  closeIconFillIcon: string;
14
14
  };
15
15
  };
@@ -3,74 +3,74 @@ declare const paginationAppearanceSize: {
3
3
  size: string;
4
4
  labelTextSize: string;
5
5
  textSize: string;
6
- builderIcon: any;
6
+ builderIcon: string;
7
7
  iconAfterFillSize: string;
8
8
  iconAfterSize: string;
9
9
  iconBeforeFillSize: string;
10
10
  iconBeforeSize: string;
11
- nextIcon: any;
11
+ nextIcon: string;
12
12
  pageCountDescTextSize: string;
13
13
  pageCountDropdownItemDividerSize: string;
14
14
  pageCountDropdownItemLabelSize: string;
15
15
  pageCountDropdownItemSize: string;
16
16
  pageCountDropdownItemWidth: string;
17
- pageCountInputIcon: any;
17
+ pageCountInputIcon: string;
18
18
  pageCountInputIconFillSize: string;
19
19
  pageCountInputTextSize: string;
20
- previousIcon: any;
20
+ previousIcon: string;
21
21
  };
22
22
  sizeM: {
23
23
  size: string;
24
24
  labelTextSize: string;
25
25
  textSize: string;
26
- builderIcon: any;
26
+ builderIcon: string;
27
27
  iconAfterFillSize: string;
28
28
  iconAfterSize: string;
29
29
  iconBeforeFillSize: string;
30
30
  iconBeforeSize: string;
31
- nextIcon: any;
31
+ nextIcon: string;
32
32
  pageCountDescTextSize: string;
33
33
  pageCountDropdownItemDividerSize: string;
34
34
  pageCountDropdownItemLabelSize: string;
35
35
  pageCountDropdownItemSize: string;
36
- pageCountInputIcon: any;
36
+ pageCountInputIcon: string;
37
37
  pageCountInputIconFillSize: string;
38
38
  pageCountInputTextSize: string;
39
- previousIcon: any;
39
+ previousIcon: string;
40
40
  };
41
41
  sizeS: {
42
42
  size: string;
43
43
  labelTextSize: string;
44
44
  textSize: string;
45
- builderIcon: any;
45
+ builderIcon: string;
46
46
  iconAfterFillSize: string;
47
47
  iconAfterSize: string;
48
48
  iconBeforeFillSize: string;
49
49
  iconBeforeSize: string;
50
- nextIcon: any;
50
+ nextIcon: string;
51
51
  pageCountDescTextSize: string;
52
52
  pageCountDropdownItemDividerSize: string;
53
53
  pageCountDropdownItemLabelSize: string;
54
54
  pageCountDropdownItemSize: string;
55
- pageCountInputIcon: any;
55
+ pageCountInputIcon: string;
56
56
  pageCountInputTextSize: string;
57
- previousIcon: any;
57
+ previousIcon: string;
58
58
  };
59
59
  sizeXS: {
60
60
  size: string;
61
61
  labelTextSize: string;
62
62
  textSize: string;
63
63
  beforeSize: string;
64
- builderIcon: any;
64
+ builderIcon: string;
65
65
  iconAfterFillSize: string;
66
- nextIcon: any;
66
+ nextIcon: string;
67
67
  pageCountDescTextSize: string;
68
68
  pageCountDropdownItemDividerSize: string;
69
69
  pageCountDropdownItemLabelSize: string;
70
70
  pageCountDropdownItemSize: string;
71
- pageCountInputIcon: any;
71
+ pageCountInputIcon: string;
72
72
  pageCountInputTextSize: string;
73
- previousIcon: any;
73
+ previousIcon: string;
74
74
  };
75
75
  };
76
76
  export { paginationAppearanceSize };
@@ -1,43 +1,43 @@
1
1
  declare const searchAppearanceSize: {
2
2
  sizeXXL: {
3
3
  size: string;
4
- iconBefore: any;
5
- iconClear: any;
4
+ iconBefore: string;
5
+ iconClear: string;
6
6
  inputTextSize: string;
7
7
  placeholderTextSize: string;
8
8
  };
9
9
  sizeXL: {
10
10
  size: string;
11
- iconBefore: any;
12
- iconClear: any;
11
+ iconBefore: string;
12
+ iconClear: string;
13
13
  inputTextSize: string;
14
14
  placeholderTextSize: string;
15
15
  };
16
16
  sizeL: {
17
17
  size: string;
18
- iconBefore: any;
19
- iconClear: any;
18
+ iconBefore: string;
19
+ iconClear: string;
20
20
  inputTextSize: string;
21
21
  placeholderTextSize: string;
22
22
  };
23
23
  sizeM: {
24
24
  size: string;
25
- iconBefore: any;
26
- iconClear: any;
25
+ iconBefore: string;
26
+ iconClear: string;
27
27
  inputTextSize: string;
28
28
  placeholderTextSize: string;
29
29
  };
30
30
  sizeS: {
31
31
  size: string;
32
- iconBefore: any;
33
- iconClear: any;
32
+ iconBefore: string;
33
+ iconClear: string;
34
34
  inputTextSize: string;
35
35
  placeholderTextSize: string;
36
36
  };
37
37
  sizeXS: {
38
38
  size: string;
39
- iconBefore: any;
40
- iconClear: any;
39
+ iconBefore: string;
40
+ iconClear: string;
41
41
  inputTextSize: string;
42
42
  placeholderTextSize: string;
43
43
  };
@@ -4,8 +4,8 @@ declare const segmentedMock: {
4
4
  };
5
5
  segments: {
6
6
  label: string;
7
- iconAfter: any;
8
- iconBefore: any;
7
+ iconAfter: string;
8
+ iconBefore: string;
9
9
  value: number;
10
10
  }[];
11
11
  };
@@ -18,20 +18,20 @@ declare const segmentedIconMock: {
18
18
  }[];
19
19
  declare const segmentedMockSize: {
20
20
  14: {
21
- iconAfter: any;
22
- iconBefore: any;
21
+ iconAfter: string;
22
+ iconBefore: string;
23
23
  label: string;
24
24
  value: number;
25
25
  }[];
26
26
  16: {
27
- iconAfter: any;
28
- iconBefore: any;
27
+ iconAfter: string;
28
+ iconBefore: string;
29
29
  label: string;
30
30
  value: number;
31
31
  }[];
32
32
  20: {
33
- iconAfter: any;
34
- iconBefore: any;
33
+ iconAfter: string;
34
+ iconBefore: string;
35
35
  label: string;
36
36
  value: number;
37
37
  }[];
@@ -14,7 +14,7 @@ declare const tabListMock: {
14
14
  } | {
15
15
  key: number;
16
16
  label: string;
17
- icon: any;
17
+ icon: string;
18
18
  isActive: boolean;
19
19
  badgeValue?: undefined;
20
20
  })[];
@@ -0,0 +1,101 @@
1
+ export declare const warningAppearance: {
2
+ sizeL: {
3
+ size: string;
4
+ labelTextSize: string;
5
+ labelTextWeight: string;
6
+ descriptionTextSize: string;
7
+ iconAfterSize: string;
8
+ iconBeforeSize: string;
9
+ };
10
+ solid: {
11
+ borderColor: string;
12
+ };
13
+ outlined: {
14
+ fill: string;
15
+ };
16
+ full: {};
17
+ ghost: {
18
+ fill: string;
19
+ borderColor: string;
20
+ };
21
+ infoMutedPrimary: {
22
+ fill: string;
23
+ labelTextColor: string;
24
+ descriptionTextColor: string;
25
+ borderColor: string;
26
+ iconAfter: string;
27
+ iconAfterFillIcon: string;
28
+ iconBefore: string;
29
+ iconBeforeFillIcon: string;
30
+ };
31
+ infoPrimary: {
32
+ fill: string;
33
+ labelTextColor: string;
34
+ descriptionTextColor: string;
35
+ borderColor: string;
36
+ iconAfter: string;
37
+ iconAfterFillIcon: string;
38
+ iconBefore: string;
39
+ iconBeforeFillIcon: string;
40
+ };
41
+ errorMutedPrimary: {
42
+ fill: string;
43
+ labelTextColor: string;
44
+ descriptionTextColor: string;
45
+ borderColor: string;
46
+ iconAfter: string;
47
+ iconAfterFillIcon: string;
48
+ iconBefore: string;
49
+ iconBeforeFillIcon: string;
50
+ };
51
+ errorPrimary: {
52
+ fill: string;
53
+ labelTextColor: string;
54
+ descriptionTextColor: string;
55
+ borderColor: string;
56
+ iconAfter: string;
57
+ iconAfterFillIcon: string;
58
+ iconBefore: string;
59
+ iconBeforeFillIcon: string;
60
+ };
61
+ warningMutedPrimary: {
62
+ fill: string;
63
+ labelTextColor: string;
64
+ descriptionTextColor: string;
65
+ borderColor: string;
66
+ iconAfter: string;
67
+ iconAfterFillIcon: string;
68
+ iconBefore: string;
69
+ iconBeforeFillIcon: string;
70
+ };
71
+ warningPrimary: {
72
+ fill: string;
73
+ labelTextColor: string;
74
+ descriptionTextColor: string;
75
+ borderColor: string;
76
+ iconAfter: string;
77
+ iconAfterFillIcon: string;
78
+ iconBefore: string;
79
+ iconBeforeFillIcon: string;
80
+ };
81
+ accentMutedPrimary: {
82
+ fill: string;
83
+ labelTextColor: string;
84
+ descriptionTextColor: string;
85
+ borderColor: string;
86
+ iconAfter: string;
87
+ iconAfterFillIcon: string;
88
+ iconBefore: string;
89
+ iconBeforeFillIcon: string;
90
+ };
91
+ accentPrimary: {
92
+ fill: string;
93
+ labelTextColor: string;
94
+ descriptionTextColor: string;
95
+ borderColor: string;
96
+ iconAfter: string;
97
+ iconAfterFillIcon: string;
98
+ iconBefore: string;
99
+ iconBeforeFillIcon: string;
100
+ };
101
+ };
@@ -0,0 +1,4 @@
1
+ import { WarningConfig, WarningProps } from './Warning.interface';
2
+ declare const warningConfig: WarningConfig;
3
+ declare function Warning(props: WarningProps): import("react/jsx-runtime").JSX.Element;
4
+ export { Warning, warningConfig };
@@ -0,0 +1,41 @@
1
+ import type { CSSProperties, ElementType } from 'react';
2
+ import { AppearanceKeysDefault, BorderColorProps, FillProps, ItemColorProps, ShapeProps, SizePXProps, TextColorProps, TextSizeProps, TextWeightProps } from '@itcase/types';
3
+ interface WarningThemeColor {
4
+ borderColor?: BorderColorProps;
5
+ descriptionTextColor: TextColorProps;
6
+ descriptionTextSize: TextSizeProps;
7
+ fill?: FillProps;
8
+ iconAfter: ElementType;
9
+ iconAfterFillIcon: ItemColorProps;
10
+ iconAfterSize: SizePXProps;
11
+ iconAfterSrc: string;
12
+ iconBefore: ElementType;
13
+ iconBeforeFill: FillProps;
14
+ iconBeforeFillIcon: ItemColorProps;
15
+ iconBeforeSize: SizePXProps;
16
+ iconBeforeSrc: string;
17
+ labelTextColor?: TextColorProps;
18
+ labelTextSize?: TextSizeProps;
19
+ labelTextWeight: TextWeightProps;
20
+ size: TextSizeProps;
21
+ }
22
+ type WarningAppearance = {
23
+ [key in AppearanceKeysDefault]?: WarningThemeColor;
24
+ };
25
+ interface WarningConfig {
26
+ [key: number | string | symbol]: any;
27
+ appearance: WarningAppearance | undefined;
28
+ setAppearance: (newComponent: WarningAppearance) => void;
29
+ }
30
+ interface WarningProps {
31
+ appearance?: string;
32
+ className: string;
33
+ description?: string;
34
+ iconAfterSrc?: string;
35
+ iconBeforeSrc?: string;
36
+ label?: string;
37
+ shape?: ShapeProps;
38
+ style?: CSSProperties;
39
+ isSkeleton?: boolean;
40
+ }
41
+ export { WarningProps, WarningConfig };
@@ -0,0 +1,23 @@
1
+ declare const warningAppearanceAccent: {
2
+ accentMutedPrimary: {
3
+ fill: string;
4
+ labelTextColor: string;
5
+ descriptionTextColor: string;
6
+ borderColor: string;
7
+ iconAfter: string;
8
+ iconAfterFillIcon: string;
9
+ iconBefore: string;
10
+ iconBeforeFillIcon: string;
11
+ };
12
+ accentPrimary: {
13
+ fill: string;
14
+ labelTextColor: string;
15
+ descriptionTextColor: string;
16
+ borderColor: string;
17
+ iconAfter: string;
18
+ iconAfterFillIcon: string;
19
+ iconBefore: string;
20
+ iconBeforeFillIcon: string;
21
+ };
22
+ };
23
+ export { warningAppearanceAccent };
@@ -0,0 +1,23 @@
1
+ declare const warningAppearanceError: {
2
+ errorMutedPrimary: {
3
+ fill: string;
4
+ labelTextColor: string;
5
+ descriptionTextColor: string;
6
+ borderColor: string;
7
+ iconAfter: string;
8
+ iconAfterFillIcon: string;
9
+ iconBefore: string;
10
+ iconBeforeFillIcon: string;
11
+ };
12
+ errorPrimary: {
13
+ fill: string;
14
+ labelTextColor: string;
15
+ descriptionTextColor: string;
16
+ borderColor: string;
17
+ iconAfter: string;
18
+ iconAfterFillIcon: string;
19
+ iconBefore: string;
20
+ iconBeforeFillIcon: string;
21
+ };
22
+ };
23
+ export { warningAppearanceError };
@@ -0,0 +1,23 @@
1
+ declare const warningAppearanceInfo: {
2
+ infoMutedPrimary: {
3
+ fill: string;
4
+ labelTextColor: string;
5
+ descriptionTextColor: string;
6
+ borderColor: string;
7
+ iconAfter: string;
8
+ iconAfterFillIcon: string;
9
+ iconBefore: string;
10
+ iconBeforeFillIcon: string;
11
+ };
12
+ infoPrimary: {
13
+ fill: string;
14
+ labelTextColor: string;
15
+ descriptionTextColor: string;
16
+ borderColor: string;
17
+ iconAfter: string;
18
+ iconAfterFillIcon: string;
19
+ iconBefore: string;
20
+ iconBeforeFillIcon: string;
21
+ };
22
+ };
23
+ export { warningAppearanceInfo };
@@ -0,0 +1,11 @@
1
+ declare const warningAppearanceSize: {
2
+ sizeL: {
3
+ size: string;
4
+ labelTextSize: string;
5
+ labelTextWeight: string;
6
+ descriptionTextSize: string;
7
+ iconAfterSize: string;
8
+ iconBeforeSize: string;
9
+ };
10
+ };
11
+ export { warningAppearanceSize };