@itcase/ui 1.8.35 → 1.8.36

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 (147) hide show
  1. package/dist/{Avatar_cjs_kADy_b4o.js → Avatar_cjs_DBoMi2WA.js} +1 -1
  2. package/dist/{Avatar_es_DbGpnL99.js → Avatar_es_DHREqfOD.js} +1 -1
  3. package/dist/{Button_cjs_CW6ENTbm.js → Button_cjs_djJUZATX.js} +2 -2
  4. package/dist/{Button_es_DTUagqgU.js → Button_es_X1DzVhok.js} +2 -2
  5. package/dist/ChipsGroup_cjs_5xsEchPo.js +314 -0
  6. package/dist/ChipsGroup_es_4TOkv-fm.js +309 -0
  7. package/dist/{DatePicker_cjs_Bx5_lZNT.js → DatePicker_cjs_DffhgUnQ.js} +4 -4
  8. package/dist/{DatePicker_es_A1FcasHs.js → DatePicker_es_GmkagjKf.js} +4 -4
  9. package/dist/{DropdownItem_cjs_tH2DBClp.js → DropdownItem_cjs_DxBpJAi9.js} +1 -1
  10. package/dist/{DropdownItem_es_BeVv-pDA.js → DropdownItem_es_Loneq6M7.js} +1 -1
  11. package/dist/{Input_cjs_arr_wxD2.js → Input_cjs_CPmXkQGd.js} +1 -0
  12. package/dist/{Input_es_BW6cZThr.js → Input_es_D9Y1Rj5Y.js} +1 -0
  13. package/dist/{Label_cjs_CP4b6Mg2.js → Label_cjs_C88e2CIP.js} +49 -49
  14. package/dist/{Label_es_DFSiy5sL.js → Label_es_Bn2aRjLl.js} +49 -49
  15. package/dist/{Loader_cjs_CCrbD8Em.js → Loader_cjs_Ca4i0sER.js} +4 -2
  16. package/dist/{Loader_es_B2auu_rc.js → Loader_es_GYOr0UTX.js} +4 -2
  17. package/dist/{Tooltip_cjs_DinScDnC.js → Tooltip_cjs_oS1iOamX.js} +4 -2
  18. package/dist/{Tooltip_es_B0nm9irO.js → Tooltip_es_LV5ZNg3B.js} +4 -2
  19. package/dist/cjs/components/Accordion.js +1 -1
  20. package/dist/cjs/components/Avatar.js +2 -2
  21. package/dist/cjs/components/AvatarStack.js +2 -2
  22. package/dist/cjs/components/Badge.js +1 -1
  23. package/dist/cjs/components/Breadcrumbs/stories/__mock__.js +13 -6
  24. package/dist/cjs/components/Breadcrumbs.js +17 -18
  25. package/dist/cjs/components/Button.js +3 -3
  26. package/dist/cjs/components/Cell.js +2 -2
  27. package/dist/cjs/components/Chips/stories/__mock__.js +31 -0
  28. package/dist/cjs/components/Chips.js +4 -4
  29. package/dist/cjs/components/Choice/stories/__mock__.js +15 -15
  30. package/dist/cjs/components/Choice.js +7 -7
  31. package/dist/cjs/components/CookiesWarning.js +3 -3
  32. package/dist/cjs/components/Dadata.js +1 -1
  33. package/dist/cjs/components/DatePeriod.js +7 -7
  34. package/dist/cjs/components/DatePicker.js +6 -6
  35. package/dist/cjs/components/Drawer.js +1 -1
  36. package/dist/cjs/components/Dropdown/stories/__mock__.js +3 -2
  37. package/dist/cjs/components/Dropdown.js +2 -2
  38. package/dist/cjs/components/HeroTitle.js +1 -1
  39. package/dist/cjs/components/Icon.js +1 -1
  40. package/dist/cjs/components/Input.js +1 -1
  41. package/dist/cjs/components/InputPassword.js +1 -1
  42. package/dist/cjs/components/Label.js +2 -2
  43. package/dist/cjs/components/Loader.js +1 -1
  44. package/dist/cjs/components/MenuItem.js +12 -5
  45. package/dist/cjs/components/Modal.js +2 -2
  46. package/dist/cjs/components/Notification.js +1 -1
  47. package/dist/cjs/components/Pagination.js +2 -4
  48. package/dist/cjs/components/Response.js +3 -3
  49. package/dist/cjs/components/ScrollOnDrag.js +5 -3
  50. package/dist/cjs/components/Search.js +1 -1
  51. package/dist/cjs/components/Segmented/stories/__mock__.js +24 -9
  52. package/dist/cjs/components/Segmented.js +80 -51
  53. package/dist/cjs/components/Select.js +1 -1
  54. package/dist/cjs/components/Swiper.js +1 -1
  55. package/dist/cjs/components/Tab.js +1 -1
  56. package/dist/cjs/components/Textarea.js +8 -9
  57. package/dist/cjs/components/Tile.js +1 -1
  58. package/dist/cjs/components/Title.js +1 -1
  59. package/dist/cjs/components/Tooltip.js +1 -1
  60. package/dist/cjs/hooks/useStyles/styleAttributes.js +1 -1
  61. package/dist/components/Accordion.js +1 -1
  62. package/dist/components/Avatar.js +2 -2
  63. package/dist/components/AvatarStack.js +2 -2
  64. package/dist/components/Badge.js +1 -1
  65. package/dist/components/Breadcrumbs/stories/__mock__.js +13 -7
  66. package/dist/components/Breadcrumbs.js +17 -18
  67. package/dist/components/Button.js +3 -3
  68. package/dist/components/Cell.js +2 -2
  69. package/dist/components/Chips/stories/__mock__.js +29 -0
  70. package/dist/components/Chips.js +4 -4
  71. package/dist/components/Choice/stories/__mock__.js +15 -15
  72. package/dist/components/Choice.js +7 -7
  73. package/dist/components/CookiesWarning.js +3 -3
  74. package/dist/components/Dadata.js +1 -1
  75. package/dist/components/DatePeriod.js +7 -7
  76. package/dist/components/DatePicker.js +6 -6
  77. package/dist/components/Drawer.js +1 -1
  78. package/dist/components/Dropdown/stories/__mock__.js +3 -2
  79. package/dist/components/Dropdown.js +2 -2
  80. package/dist/components/HeroTitle.js +1 -1
  81. package/dist/components/Icon.js +1 -1
  82. package/dist/components/Input.js +1 -1
  83. package/dist/components/InputPassword.js +1 -1
  84. package/dist/components/Label.js +2 -2
  85. package/dist/components/Loader.js +1 -1
  86. package/dist/components/MenuItem.js +12 -5
  87. package/dist/components/Modal.js +2 -2
  88. package/dist/components/Notification.js +1 -1
  89. package/dist/components/Pagination.js +3 -5
  90. package/dist/components/Response.js +3 -3
  91. package/dist/components/ScrollOnDrag.js +7 -5
  92. package/dist/components/Search.js +1 -1
  93. package/dist/components/Segmented/stories/__mock__.js +23 -11
  94. package/dist/components/Segmented.js +80 -51
  95. package/dist/components/Select.js +1 -1
  96. package/dist/components/Swiper.js +1 -1
  97. package/dist/components/Tab.js +1 -1
  98. package/dist/components/Textarea.js +8 -9
  99. package/dist/components/Tile.js +1 -1
  100. package/dist/components/Title.js +1 -1
  101. package/dist/components/Tooltip.js +1 -1
  102. package/dist/css/components/Breadcrumbs/Breadcrumbs.css +15 -6
  103. package/dist/css/components/Chips/Chips.css +40 -14
  104. package/dist/css/components/Loader/Loader.css +1 -19
  105. package/dist/css/components/MenuItem/MenuItem.css +22 -30
  106. package/dist/css/components/ScrollOnDrag/ScrollOnDrag.css +230 -4
  107. package/dist/css/components/Segmented/Segmented.css +53 -6
  108. package/dist/css/components/Segmented/css/__item/segmaented__item.css +31 -0
  109. package/dist/css/styles/centering/centering.css +17 -0
  110. package/dist/css/styles/shape-strength/shape-strength.css +6 -0
  111. package/dist/hooks/useStyles/styleAttributes.js +1 -1
  112. package/dist/stories/ChipsOverview.mdx +26 -14
  113. package/dist/stories/ChipsPlayground.mdx +3 -3
  114. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsStyle.d.ts +5 -5
  115. package/dist/types/components/Breadcrumbs/stories/__mock__/index.d.ts +24 -1
  116. package/dist/types/components/Chips/Chips.interface.d.ts +1 -0
  117. package/dist/types/components/Chips/appearance/chipsAccent.d.ts +9 -1
  118. package/dist/types/components/Chips/appearance/chipsDanger.d.ts +16 -1
  119. package/dist/types/components/Chips/appearance/chipsError.d.ts +16 -1
  120. package/dist/types/components/Chips/appearance/chipsInfo.d.ts +16 -1
  121. package/dist/types/components/Chips/appearance/chipsPrimary.d.ts +11 -2
  122. package/dist/types/components/Chips/appearance/chipsSecondary.d.ts +10 -2
  123. package/dist/types/components/Chips/appearance/chipsStyle.d.ts +3 -1
  124. package/dist/types/components/Chips/appearance/chipsSuccess.d.ts +16 -1
  125. package/dist/types/components/Chips/appearance/chipsSurface.d.ts +11 -1
  126. package/dist/types/components/Chips/appearance/chipsWarning.d.ts +16 -1
  127. package/dist/types/components/Chips/stories/__mock__/index.d.ts +14 -0
  128. package/dist/types/components/Choice/appearance/choiceStyle.d.ts +5 -5
  129. package/dist/types/components/Choice/stories/__mock__/index.d.ts +3 -9
  130. package/dist/types/components/Input/appearance/inputDefault.d.ts +1 -0
  131. package/dist/types/components/Label/appearance/labelDisable.d.ts +2 -2
  132. package/dist/types/components/MenuItem/appearance/menuItemSurface.d.ts +5 -0
  133. package/dist/types/components/Segmented/Segmented.interface.d.ts +5 -2
  134. package/dist/types/components/Segmented/appearance/segmentedDefault.d.ts +8 -11
  135. package/dist/types/components/Segmented/appearance/segmentedDisabled.d.ts +9 -11
  136. package/dist/types/components/Segmented/appearance/segmentedError.d.ts +9 -2
  137. package/dist/types/components/Segmented/appearance/segmentedSize.d.ts +5 -0
  138. package/dist/types/components/Segmented/appearance/segmentedStyle.d.ts +5 -3
  139. package/dist/types/components/Segmented/appearance/segmentedSuccess.d.ts +8 -0
  140. package/dist/types/components/Segmented/appearance/segmentedWarning.d.ts +9 -1
  141. package/dist/types/components/Segmented/stories/__mock__/index.d.ts +30 -8
  142. package/dist/types/components/Textarea/appearance/textareaDefault.d.ts +1 -0
  143. package/dist/types/components/Textarea/appearance/textareaStyle.d.ts +4 -4
  144. package/dist/types/context/UIContext.d.ts +3 -5
  145. package/package.json +3 -2
  146. package/dist/ChipsGroup_cjs_j3QOma3U.js +0 -200
  147. package/dist/ChipsGroup_es_DF1fhn97.js +0 -195
@@ -1,2 +1,17 @@
1
- declare const chipsAppearanceSuccess: {};
1
+ declare const chipsAppearanceSuccess: {
2
+ successMutedPrimary: {
3
+ fill: string;
4
+ labelTextColor: string;
5
+ borderColor: string;
6
+ iconAfterFillIcon: string;
7
+ iconBeforeFillIcon: string;
8
+ };
9
+ successPrimary: {
10
+ fill: string;
11
+ labelTextColor: string;
12
+ borderColor: string;
13
+ iconAfterFillIcon: string;
14
+ iconBeforeFillIcon: string;
15
+ };
16
+ };
2
17
  export { chipsAppearanceSuccess };
@@ -1,4 +1,11 @@
1
1
  declare const chipsAppearanceSurface: {
2
+ surfaceMutedPrimary: {
3
+ fill: string;
4
+ labelTextColor: string;
5
+ borderColor: string;
6
+ iconAfterFillIcon: string;
7
+ iconBeforeFillIcon: string;
8
+ };
2
9
  surfacePrimary: {
3
10
  fill: string;
4
11
  fillActive: string;
@@ -9,8 +16,11 @@ declare const chipsAppearanceSurface: {
9
16
  labelTextHoverColor: string;
10
17
  borderColor: string;
11
18
  activeIconItemFill: string;
12
- iconBeforeFillIcon: string;
13
19
  badgeAppearance: string;
20
+ iconAfterFillActiveIcon: string;
21
+ iconAfterFillIcon: string;
22
+ iconBeforeFillActiveIcon: string;
23
+ iconBeforeFillIcon: string;
14
24
  };
15
25
  surfaceSecondary: {
16
26
  fill: string;
@@ -1,2 +1,17 @@
1
- declare const chipsAppearanceWarning: {};
1
+ declare const chipsAppearanceWarning: {
2
+ warningMutedPrimary: {
3
+ fill: string;
4
+ labelTextColor: string;
5
+ borderColor: string;
6
+ iconAfterFillIcon: string;
7
+ iconBeforeFillIcon: string;
8
+ };
9
+ warningPrimary: {
10
+ fill: string;
11
+ labelTextColor: string;
12
+ borderColor: string;
13
+ iconAfterFillIcon: string;
14
+ iconBeforeFillIcon: string;
15
+ };
16
+ };
2
17
  export { chipsAppearanceWarning };
@@ -0,0 +1,14 @@
1
+ declare const chipsListMock: {
2
+ chipsList: ({
3
+ id: number;
4
+ label: string;
5
+ isActive: boolean;
6
+ iconAfter?: undefined;
7
+ } | {
8
+ id: number;
9
+ label: string;
10
+ iconAfter: any;
11
+ isActive: boolean;
12
+ })[];
13
+ };
14
+ export { chipsListMock };
@@ -1,19 +1,19 @@
1
1
  declare const choiceAppearanceStyle: {
2
- full: {
2
+ solid: {
3
3
  borderColor: string;
4
4
  };
5
- ghost: {
5
+ outlined: {
6
6
  fill: string;
7
7
  fillItem: string;
8
8
  fillItemActive: string;
9
+ };
10
+ full: {
9
11
  borderColor: string;
10
12
  };
11
- outlined: {
13
+ ghost: {
12
14
  fill: string;
13
15
  fillItem: string;
14
16
  fillItemActive: string;
15
- };
16
- solid: {
17
17
  borderColor: string;
18
18
  };
19
19
  };
@@ -4,12 +4,8 @@ declare const choiceListMock: {
4
4
  };
5
5
  choices: {
6
6
  label: string;
7
- iconAfter: {
8
- Default: any;
9
- };
10
- iconBefore: {
11
- Default: any;
12
- };
7
+ iconAfter: any;
8
+ iconBefore: any;
13
9
  value: number;
14
10
  }[];
15
11
  };
@@ -18,9 +14,7 @@ declare const choiceListIconMock: {
18
14
  value: number;
19
15
  };
20
16
  choices: {
21
- icon: {
22
- Default: any;
23
- };
17
+ icon: any;
24
18
  value: number;
25
19
  }[];
26
20
  };
@@ -8,6 +8,7 @@ declare const inputAppearanceDefault: {
8
8
  caret: string;
9
9
  iconBeforeFill: string;
10
10
  iconClearFill: string;
11
+ placeholderTextColor: string;
11
12
  };
12
13
  defaultSecondary: {
13
14
  fill: string;
@@ -1,12 +1,12 @@
1
1
  declare const labelAppearanceDisable: {
2
- disablePrimary: {
2
+ disableMutedPrimary: {
3
3
  fill: string;
4
4
  labelTextColor: string;
5
5
  borderColor: string;
6
6
  iconAfterFillIcon: string;
7
7
  iconBeforeFillIcon: string;
8
8
  };
9
- disableMuted: {
9
+ disablePrimary: {
10
10
  fill: string;
11
11
  labelTextColor: string;
12
12
  borderColor: string;
@@ -11,8 +11,13 @@ declare const menuItemAppearanceSurface: {
11
11
  };
12
12
  surfaceSecondary: {
13
13
  fill: string;
14
+ fillActive: string;
15
+ fillActiveHover: string;
14
16
  fillHover: string;
15
17
  labelTextColor: string;
18
+ borderColor: string;
19
+ iconAfterFillIcon: string;
20
+ iconBeforeFillIcon: string;
16
21
  };
17
22
  surfaceTertiary: {
18
23
  fill: string;
@@ -26,9 +26,11 @@ export interface SegmentedConfig {
26
26
  appearance: SegmentedAppearanceType | undefined;
27
27
  setAppearance: (newComponent: SegmentedAppearanceType) => void;
28
28
  }
29
- interface Segment {
29
+ export interface Segment {
30
+ iconAfter?: string;
31
+ iconBefore?: string;
30
32
  label: string;
31
- value: string;
33
+ value: number;
32
34
  }
33
35
  export interface SegmentedProps extends SegmentedThemeColor, StyleAttributes {
34
36
  [key: number | string | symbol]: any;
@@ -40,6 +42,7 @@ export interface SegmentedProps extends SegmentedThemeColor, StyleAttributes {
40
42
  size?: string;
41
43
  type?: string;
42
44
  value?: string;
45
+ isActive?: boolean;
43
46
  isDisabled?: boolean;
44
47
  isSkeleton: boolean;
45
48
  onChange?: (value: string, name?: string) => void;
@@ -5,19 +5,16 @@ declare const segmentedAppearanceDefault: {
5
5
  fillActiveHover: string;
6
6
  fillHover: string;
7
7
  labelTextActiveColor: string;
8
+ labelTextActiveHoverColor: string;
8
9
  labelTextColor: string;
10
+ iconAfterFill: string;
11
+ iconAfterFillActive: string;
12
+ iconBeforeFill: string;
13
+ iconBeforeFillActive: string;
14
+ iconFill: string;
15
+ iconFillActive: string;
9
16
  indicatorFill: string;
10
- shape: string;
11
- };
12
- defaultSecondary: {
13
- fill: string;
14
- fillActive: string;
15
- fillActiveHover: string;
16
- fillHover: string;
17
- labelTextActiveColor: string;
18
- labelTextColor: string;
19
- indicatorFill: string;
20
- shape: string;
17
+ inputBorderColor: string;
21
18
  };
22
19
  };
23
20
  export { segmentedAppearanceDefault };
@@ -1,18 +1,16 @@
1
1
  declare const segmentedAppearanceDisabled: {
2
2
  disabledPrimary: {
3
3
  fill: string;
4
- borderColor: string;
5
- borderHover: string;
6
- textColor: string;
4
+ fillActive: string;
5
+ fillHover: string;
6
+ labelTextColor: string;
7
+ iconAfterFill: string;
8
+ iconAfterFillActive: string;
7
9
  iconBeforeFill: string;
8
- iconClearFill: string;
9
- };
10
- disabledSecondary: {
11
- fill: string;
12
- borderColor: string;
13
- borderHover: string;
14
- iconBeforeFill: string;
15
- iconClearFill: string;
10
+ iconBeforeFillActive: string;
11
+ iconFill: string;
12
+ iconFillActive: string;
13
+ inputBorderColor: string;
16
14
  };
17
15
  };
18
16
  export { segmentedAppearanceDisabled };
@@ -1,9 +1,16 @@
1
1
  declare const segmentedAppearanceError: {
2
- error: {
2
+ errorPrimary: {
3
3
  fill: string;
4
+ fillActive: string;
4
5
  fillHover: string;
5
6
  labelTextColor: string;
6
- labelTextColorHover: string;
7
+ iconAfterFill: string;
8
+ iconAfterFillActive: string;
9
+ iconBeforeFill: string;
10
+ iconBeforeFillActive: string;
11
+ iconFill: string;
12
+ iconFillActive: string;
13
+ inputBorderColor: string;
7
14
  };
8
15
  };
9
16
  export { segmentedAppearanceError };
@@ -2,22 +2,27 @@ declare const segmentedAppearanceSize: {
2
2
  sizeL: {
3
3
  size: string;
4
4
  labelTextSize: string;
5
+ iconSize: string;
5
6
  };
6
7
  sizeM: {
7
8
  size: string;
8
9
  labelTextSize: string;
10
+ iconSize: string;
9
11
  };
10
12
  sizeS: {
11
13
  size: string;
12
14
  labelTextSize: string;
15
+ iconSize: string;
13
16
  };
14
17
  sizeXS: {
15
18
  size: string;
16
19
  labelTextSize: string;
20
+ iconSize: string;
17
21
  };
18
22
  sizeXSS: {
19
23
  size: string;
20
24
  labelTextSize: string;
25
+ iconSize: string;
21
26
  };
22
27
  };
23
28
  export { segmentedAppearanceSize };
@@ -1,16 +1,18 @@
1
1
  declare const segmentedAppearanceStyle: {
2
2
  solid: {
3
- borderColor: string;
3
+ inputBorderColor: string;
4
4
  };
5
5
  outlined: {
6
6
  fill: string;
7
+ fillActive: string;
7
8
  };
8
9
  full: {
9
- borderColor: string;
10
+ inputBorderColor: string;
10
11
  };
11
12
  ghost: {
12
13
  fill: string;
13
- borderColor: string;
14
+ fillActive: string;
15
+ inputBorderColor: string;
14
16
  };
15
17
  };
16
18
  export { segmentedAppearanceStyle };
@@ -1,9 +1,17 @@
1
1
  declare const segmentedAppearanceSuccess: {
2
2
  successPrimary: {
3
3
  fill: string;
4
+ fillActive: string;
4
5
  fillHover: string;
5
6
  labelTextColor: string;
6
7
  labelTextColorHover: string;
8
+ iconAfterFill: string;
9
+ iconAfterFillActive: string;
10
+ iconBeforeFill: string;
11
+ iconBeforeFillActive: string;
12
+ iconFill: string;
13
+ iconFillActive: string;
14
+ inputBorderColor: string;
7
15
  };
8
16
  };
9
17
  export { segmentedAppearanceSuccess };
@@ -1,9 +1,17 @@
1
1
  declare const segmentedAppearanceWarning: {
2
- warning: {
2
+ warningPrimary: {
3
3
  fill: string;
4
+ fillActive: string;
4
5
  fillHover: string;
5
6
  labelTextColor: string;
6
7
  labelTextColorHover: string;
8
+ iconAfterFill: string;
9
+ iconAfterFillActive: string;
10
+ iconBeforeFill: string;
11
+ iconBeforeFillActive: string;
12
+ iconFill: string;
13
+ iconFillActive: string;
14
+ inputBorderColor: string;
7
15
  };
8
16
  };
9
17
  export { segmentedAppearanceWarning };
@@ -4,14 +4,36 @@ declare const segmentedArgsMock: {
4
4
  };
5
5
  segments: {
6
6
  label: string;
7
- iconAfter: {
8
- Default: any;
9
- };
10
- iconBefore: {
11
- Default: any;
12
- };
7
+ iconAfter: any;
8
+ iconBefore: any;
13
9
  value: number;
14
10
  }[];
15
- shape: string;
16
11
  };
17
- export { segmentedArgsMock };
12
+ declare const segmentedArgsLabelMock: {
13
+ label: string;
14
+ value: number;
15
+ }[];
16
+ declare const segmentedArgsIconMock: {
17
+ iconBefore: string | undefined;
18
+ }[];
19
+ declare const segmentedArgsMockSize: {
20
+ 14: {
21
+ iconAfter: any;
22
+ iconBefore: any;
23
+ label: string;
24
+ value: number;
25
+ }[];
26
+ 16: {
27
+ iconAfter: any;
28
+ iconBefore: any;
29
+ label: string;
30
+ value: number;
31
+ }[];
32
+ 20: {
33
+ iconAfter: any;
34
+ iconBefore: any;
35
+ label: string;
36
+ value: number;
37
+ }[];
38
+ };
39
+ export { segmentedArgsMock, segmentedArgsLabelMock, segmentedArgsMockSize, segmentedArgsIconMock, };
@@ -5,6 +5,7 @@ declare const textareaAppearanceDefault: {
5
5
  borderHover: string;
6
6
  iconBeforeFill: string;
7
7
  iconClearFill: string;
8
+ placeholderTextColor: string;
8
9
  };
9
10
  defaultSecondary: {
10
11
  fill: string;
@@ -1,13 +1,13 @@
1
1
  declare const textareaAppearanceStyle: {
2
- full: {};
3
- ghost: {
4
- fill: string;
2
+ solid: {
5
3
  borderWidth: string;
6
4
  };
7
5
  outlined: {
8
6
  fill: string;
9
7
  };
10
- solid: {
8
+ full: {};
9
+ ghost: {
10
+ fill: string;
11
11
  borderWidth: string;
12
12
  };
13
13
  };
@@ -1,15 +1,13 @@
1
1
  import { ReactNode } from 'react';
2
- type DeviceType = '' | 'desktop' | 'mobile' | 'tablet';
3
- interface iUIProvider {
2
+ type UIProviderProps = {
4
3
  children?: ReactNode;
5
- deviceCurrentMainType: DeviceType;
6
4
  userDeviceState?: {
7
5
  isDesktop?: boolean;
8
6
  isMobile?: boolean;
9
7
  isTablet?: boolean;
10
8
  };
11
- }
12
- declare const UIProvider: import("react").NamedExoticComponent<iUIProvider>;
9
+ };
10
+ declare const UIProvider: import("react").NamedExoticComponent<UIProviderProps>;
13
11
  declare function useUserDeviceContext(): {
14
12
  isMobile: boolean;
15
13
  isTablet: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/ui",
3
- "version": "1.8.35",
3
+ "version": "1.8.36",
4
4
  "description": "UI components (Modal, Loader, Popup, etc)",
5
5
  "keywords": [
6
6
  "Modal",
@@ -97,7 +97,7 @@
97
97
  "dependencies": {
98
98
  "@emotion/is-prop-valid": "^1.3.1",
99
99
  "@itcase/common": "^1.2.28",
100
- "@itcase/icons": "^1.2.4",
100
+ "@itcase/icons": "^1.2.5",
101
101
  "@itcase/storybook-config": "^1.1.14",
102
102
  "@itcase/tokens-am": "^1.1.9",
103
103
  "@itcase/tokens-baikal": "^1.1.9",
@@ -126,6 +126,7 @@
126
126
  "react-scroll": "^1.9.3",
127
127
  "react-scrollbars-custom": "^4.1.1",
128
128
  "react-select": "^5.10.1",
129
+ "simplebar-react": "^3.3.1",
129
130
  "swiper": "^11.2.8",
130
131
  "uuid": "^11.1.0"
131
132
  },