@itcase/ui 1.8.110 → 1.8.111

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 (164) hide show
  1. package/dist/{Avatar_cjs_joB9qjwk.js → Avatar_cjs_CQhA8iu9.js} +2 -2
  2. package/dist/{Avatar_es_C3HGSiHU.js → Avatar_es__NA_FQGM.js} +2 -2
  3. package/dist/{Button_cjs_mau_55Fl.js → Button_cjs_B2eZhvoC.js} +5 -5
  4. package/dist/{Button_es_D_IlkeBp.js → Button_es_C8qinRU4.js} +5 -5
  5. package/dist/{ChipsGroup_cjs_D454M1-p.js → ChipsGroup_cjs_ChJ71i_A.js} +2 -2
  6. package/dist/{ChipsGroup_es_BKG5mK5N.js → ChipsGroup_es_Dj0Lu5zm.js} +2 -2
  7. package/dist/{DatePicker_cjs_C9rI2uTl.js → DatePicker_cjs_CpN9wFK4.js} +5 -5
  8. package/dist/{DatePicker_es_Bi6lgbTb.js → DatePicker_es_B6WjNDiN.js} +5 -5
  9. package/dist/{DropdownItem_cjs_D2hHKA5E.js → DropdownItem_cjs_DUIefLij.js} +2 -2
  10. package/dist/{DropdownItem_es_D9JBMV70.js → DropdownItem_es_uFi08Joi.js} +2 -2
  11. package/dist/{Icon_cjs_ZerVip3X.js → Icon_cjs_D-UNVTqI.js} +6 -6
  12. package/dist/{Icon_es_C76te22j.js → Icon_es_Cstv1LFr.js} +6 -6
  13. package/dist/{Input_cjs_TC7DOpvh.js → Input_cjs_D18gXu6j.js} +14 -30
  14. package/dist/{Input_es_RtN2gtZq.js → Input_es_CHuhHbMo.js} +14 -30
  15. package/dist/{Label_cjs_CaTh_laL.js → Label_cjs_BvS_ANE3.js} +4 -4
  16. package/dist/{Label_es_CoIII7Ty.js → Label_es_C4Icioi8.js} +4 -4
  17. package/dist/{Link_cjs_BqT6eVl6.js → Link_cjs_C5UsZUiF.js} +2 -2
  18. package/dist/{Link_es_BnUIX0QT.js → Link_es_XiqbdwLp.js} +2 -2
  19. package/dist/{Loader_cjs_c6yF7akz.js → Loader_cjs_Cme6Hi0B.js} +3 -3
  20. package/dist/{Loader_es_C8ETXkiZ.js → Loader_es_ByhTIMxS.js} +3 -3
  21. package/dist/{Text_cjs_DpRclhwc.js → Text_cjs_0EINiUq4.js} +7 -4
  22. package/dist/{Text_es_CtCwsa3V.js → Text_es_CwV9rjFD.js} +7 -4
  23. package/dist/cjs/components/Accordion.js +3 -3
  24. package/dist/cjs/components/Avatar.js +4 -4
  25. package/dist/cjs/components/AvatarStack.js +4 -4
  26. package/dist/cjs/components/Badge.js +3 -3
  27. package/dist/cjs/components/Breadcrumbs.js +3 -3
  28. package/dist/cjs/components/Button.js +5 -5
  29. package/dist/cjs/components/Cell.js +4 -4
  30. package/dist/cjs/components/Checkbox.js +2 -2
  31. package/dist/cjs/components/Chips.js +4 -4
  32. package/dist/cjs/components/Choice.js +23 -21
  33. package/dist/cjs/components/Code.js +3 -3
  34. package/dist/cjs/components/CookiesWarning.js +5 -5
  35. package/dist/cjs/components/Dadata.js +1 -1
  36. package/dist/cjs/components/DatePeriod.js +11 -11
  37. package/dist/cjs/components/DatePicker.js +8 -8
  38. package/dist/cjs/components/Drawer.js +3 -3
  39. package/dist/cjs/components/Dropdown.js +4 -4
  40. package/dist/cjs/components/HeroTitle.js +5 -5
  41. package/dist/cjs/components/Icon.js +3 -3
  42. package/dist/cjs/components/Input.js +1 -1
  43. package/dist/cjs/components/InputPassword.js +6 -10
  44. package/dist/cjs/components/Label.js +4 -4
  45. package/dist/cjs/components/Link.js +1 -1
  46. package/dist/cjs/components/List.js +1 -1
  47. package/dist/cjs/components/Loader.js +2 -2
  48. package/dist/cjs/components/Logo.js +1 -1
  49. package/dist/cjs/components/MenuItem.js +4 -4
  50. package/dist/cjs/components/Modal.js +6 -6
  51. package/dist/cjs/components/ModalSheetBottom.js +5 -5
  52. package/dist/cjs/components/Notification.js +3 -3
  53. package/dist/cjs/components/Pagination.js +6 -6
  54. package/dist/cjs/components/Radio.js +58 -36
  55. package/dist/cjs/components/Response.js +5 -5
  56. package/dist/cjs/components/Search.js +5 -5
  57. package/dist/cjs/components/Segmented.js +12 -11
  58. package/dist/cjs/components/Select.js +104 -78
  59. package/dist/cjs/components/Swiper.js +3 -3
  60. package/dist/cjs/components/Switch.js +2 -2
  61. package/dist/cjs/components/Tab.js +4 -4
  62. package/dist/cjs/components/Text.js +1 -1
  63. package/dist/cjs/components/Textarea.js +31 -26
  64. package/dist/cjs/components/Tile.js +3 -3
  65. package/dist/cjs/components/Title.js +3 -3
  66. package/dist/cjs/components/Tooltip.js +3 -3
  67. package/dist/cjs/components/Warning.js +3 -3
  68. package/dist/cjs/hooks/useAppearanceConfig/useAppearanceConfig.js +8 -4
  69. package/dist/components/Accordion.js +3 -3
  70. package/dist/components/Avatar.js +4 -4
  71. package/dist/components/AvatarStack.js +4 -4
  72. package/dist/components/Badge.js +3 -3
  73. package/dist/components/Breadcrumbs.js +3 -3
  74. package/dist/components/Button.js +5 -5
  75. package/dist/components/Cell.js +4 -4
  76. package/dist/components/Checkbox.js +2 -2
  77. package/dist/components/Chips.js +4 -4
  78. package/dist/components/Choice.js +23 -21
  79. package/dist/components/Code.js +3 -3
  80. package/dist/components/CookiesWarning.js +5 -5
  81. package/dist/components/Dadata.js +1 -1
  82. package/dist/components/DatePeriod.js +11 -11
  83. package/dist/components/DatePicker.js +8 -8
  84. package/dist/components/Drawer.js +3 -3
  85. package/dist/components/Dropdown.js +4 -4
  86. package/dist/components/HeroTitle.js +5 -5
  87. package/dist/components/Icon.js +3 -3
  88. package/dist/components/Input.js +1 -1
  89. package/dist/components/InputPassword.js +6 -10
  90. package/dist/components/Label.js +4 -4
  91. package/dist/components/Link.js +1 -1
  92. package/dist/components/List.js +1 -1
  93. package/dist/components/Loader.js +2 -2
  94. package/dist/components/Logo.js +1 -1
  95. package/dist/components/MenuItem.js +4 -4
  96. package/dist/components/Modal.js +6 -6
  97. package/dist/components/ModalSheetBottom.js +5 -5
  98. package/dist/components/Notification.js +3 -3
  99. package/dist/components/Pagination.js +6 -6
  100. package/dist/components/Radio.js +58 -36
  101. package/dist/components/Response.js +5 -5
  102. package/dist/components/Search.js +5 -5
  103. package/dist/components/Segmented.js +12 -11
  104. package/dist/components/Select.js +104 -78
  105. package/dist/components/Swiper.js +3 -3
  106. package/dist/components/Switch.js +2 -2
  107. package/dist/components/Tab.js +4 -4
  108. package/dist/components/Text.js +1 -1
  109. package/dist/components/Textarea.js +31 -26
  110. package/dist/components/Tile.js +3 -3
  111. package/dist/components/Title.js +3 -3
  112. package/dist/components/Tooltip.js +3 -3
  113. package/dist/components/Warning.js +3 -3
  114. package/dist/css/components/Choice/Choice.css +12 -1
  115. package/dist/css/components/Choice/css/__item/choice__item.css +1 -1
  116. package/dist/css/components/Choice/css/__item/choice__item_size.css +5 -0
  117. package/dist/css/components/DatePicker/DatePicker.css +18 -18
  118. package/dist/css/components/Group/Group.css +5 -0
  119. package/dist/css/components/Input/Input.css +10 -7
  120. package/dist/css/components/Radio/Radio.css +436 -5
  121. package/dist/css/components/Segmented/Segmented.css +15 -17
  122. package/dist/css/components/Segmented/css/__item/segmaented__item.css +12 -0
  123. package/dist/css/components/Select/Select.css +12 -1
  124. package/dist/css/components/Select/css/__placeholder/select__placeholder.css +3 -0
  125. package/dist/css/components/Select/css/__single-value/select__single-value.css +5 -0
  126. package/dist/css/components/Textarea/Textarea.css +7 -6
  127. package/dist/css/styles/bundle.css +36 -46
  128. package/dist/css/styles/fill/fill.css +0 -3
  129. package/dist/css/styles/text-align/text-align.css +1 -1
  130. package/dist/css/styles/text-weight/text-weight.css +35 -42
  131. package/dist/hooks/useAppearanceConfig/useAppearanceConfig.js +8 -4
  132. package/dist/types/components/Choice/appearance/choiceDefault.d.ts +1 -0
  133. package/dist/types/components/Choice/appearance/choiceDisabled.d.ts +3 -1
  134. package/dist/types/components/Code/Code.interface.d.ts +1 -0
  135. package/dist/types/components/Input/appearance/inputDefault.d.ts +2 -2
  136. package/dist/types/components/Input/appearance/inputDisabled.d.ts +1 -0
  137. package/dist/types/components/Input/appearance/inputRequire.d.ts +1 -0
  138. package/dist/types/components/Input/appearance/inputStyle.d.ts +1 -0
  139. package/dist/types/components/Radio/Radio.appearance.d.ts +37 -16
  140. package/dist/types/components/Radio/appearance/radioDefault.d.ts +7 -4
  141. package/dist/types/components/Radio/appearance/radioDisabled.d.ts +4 -2
  142. package/dist/types/components/Radio/appearance/radioError.d.ts +4 -2
  143. package/dist/types/components/Radio/appearance/radioRequire.d.ts +4 -2
  144. package/dist/types/components/Radio/appearance/radioShape.d.ts +4 -4
  145. package/dist/types/components/Radio/appearance/radioStyle.d.ts +10 -0
  146. package/dist/types/components/Radio/appearance/radioSuccess.d.ts +4 -2
  147. package/dist/types/components/Segmented/appearance/segmentedWarning.d.ts +1 -0
  148. package/dist/types/components/Select/appearance/selectDefault.d.ts +5 -5
  149. package/dist/types/components/Select/appearance/selectDisabled.d.ts +0 -1
  150. package/dist/types/components/Select/appearance/selectError.d.ts +16 -8
  151. package/dist/types/components/Select/appearance/selectRequire.d.ts +16 -8
  152. package/dist/types/components/Select/appearance/selectShape.d.ts +4 -4
  153. package/dist/types/components/Select/appearance/selectSize.d.ts +3 -0
  154. package/dist/types/components/Select/appearance/selectStyle.d.ts +5 -4
  155. package/dist/types/components/Select/appearance/selectSuccess.d.ts +16 -10
  156. package/dist/types/components/Textarea/appearance/textareaDefault.d.ts +7 -5
  157. package/dist/types/components/Textarea/appearance/textareaDisabled.d.ts +2 -2
  158. package/dist/types/components/Textarea/appearance/textareaError.d.ts +2 -2
  159. package/dist/types/components/Textarea/appearance/textareaRequire.d.ts +2 -2
  160. package/dist/types/components/Textarea/appearance/textareaShape.d.ts +4 -4
  161. package/dist/types/components/Textarea/appearance/textareaStyle.d.ts +4 -2
  162. package/dist/types/components/Textarea/appearance/textareaSuccess.d.ts +3 -2
  163. package/dist/types/hooks/useAppearanceConfig/useAppearanceConfig.d.ts +1 -1
  164. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var Icon = require('../../Icon_cjs_ZerVip3X.js');
3
+ var Icon = require('../../Icon_cjs_D-UNVTqI.js');
4
4
  require('../../tslib.es6_cjs_CCZ3TN_7.js');
5
5
  require('react/jsx-runtime');
6
6
  require('react');
@@ -24,8 +24,8 @@ require('../hooks.js');
24
24
  require('../hooks/useStyles/styleAttributes.js');
25
25
  require('../hooks/useStyles/useStyles.js');
26
26
  require('lodash/maxBy');
27
- require('../../Link_cjs_BqT6eVl6.js');
28
- require('../../Text_cjs_DpRclhwc.js');
27
+ require('../../Link_cjs_C5UsZUiF.js');
28
+ require('../../Text_cjs_0EINiUq4.js');
29
29
 
30
30
 
31
31
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var Input = require('../../Input_cjs_TC7DOpvh.js');
3
+ var Input = require('../../Input_cjs_D18gXu6j.js');
4
4
  require('react/jsx-runtime');
5
5
  require('react');
6
6
  require('clsx');
@@ -6,7 +6,7 @@ var React = require('react');
6
6
  var clsx = require('clsx');
7
7
  var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
8
8
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
9
- var Icon = require('../../Icon_cjs_ZerVip3X.js');
9
+ var Icon = require('../../Icon_cjs_D-UNVTqI.js');
10
10
  require('lodash/camelCase');
11
11
  require('lodash/castArray');
12
12
  require('lodash/upperFirst');
@@ -24,8 +24,8 @@ require('../hoc/urlWithAssetPrefix.js');
24
24
  require('../context/UrlAssetPrefix.js');
25
25
  require('../hooks/useStyles/useStyles.js');
26
26
  require('lodash/maxBy');
27
- require('../../Link_cjs_BqT6eVl6.js');
28
- require('../../Text_cjs_DpRclhwc.js');
27
+ require('../../Link_cjs_C5UsZUiF.js');
28
+ require('../../Text_cjs_0EINiUq4.js');
29
29
 
30
30
  var inputPasswordAppearanceDefault = {
31
31
  defaultPrimary: {
@@ -215,7 +215,7 @@ var inputPasswordConfig = {
215
215
  },
216
216
  };
217
217
  function InputPassword(props) {
218
- var id = props.id, className = props.className, appearance = props.appearance, disabled = props.disabled, iconFill = props.iconFill, iconFillHover = props.iconFillHover, iconRevealableHide = props.iconRevealableHide, iconRevealableShow = props.iconRevealableShow, iconShape = props.iconShape, iconSize = props.iconSize, imageRevealableHide = props.imageRevealableHide, imageRevealableShow = props.imageRevealableShow, placeholder = props.placeholder,
218
+ var id = props.id, className = props.className, appearance = props.appearance, isDisabled = props.isDisabled, iconFill = props.iconFill, iconFillHover = props.iconFillHover, iconRevealableHide = props.iconRevealableHide, iconRevealableShow = props.iconRevealableShow, iconShape = props.iconShape, iconSize = props.iconSize, imageRevealableHide = props.imageRevealableHide, imageRevealableShow = props.imageRevealableShow, placeholder = props.placeholder,
219
219
  // state,
220
220
  value = props.value, isRevealable = props.isRevealable, onBlur = props.onBlur, onChange = props.onChange, onFocus = props.onFocus, onKeyDown = props.onKeyDown;
221
221
  var _a = React.useState(false), isRevealed = _a[0], setIsRevealed = _a[1];
@@ -226,15 +226,11 @@ function InputPassword(props) {
226
226
  e.preventDefault();
227
227
  setIsRevealed(function (prev) { return !prev; });
228
228
  }, [setIsRevealed]);
229
- // const stateConfig = useMemo(
230
- // () => state && inputPasswordConfig.state && inputPasswordConfig.state[state],
231
- // [state, inputPasswordConfig],
232
- // )
233
- var appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, inputPasswordConfig);
229
+ var appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, inputPasswordConfig, isDisabled);
234
230
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
235
231
  var fillClass = propsGenerator.fillClass, borderColorClass = propsGenerator.borderColorClass, borderWidthClass = propsGenerator.borderWidthClass, textColorClass = propsGenerator.textColorClass, textSizeClass = propsGenerator.textSizeClass, textWeightClass = propsGenerator.textWeightClass, caretClass = propsGenerator.caretClass, placeholderTextColorClass = propsGenerator.placeholderTextColorClass, shapeClass = propsGenerator.shapeClass, _b = propsGenerator.sizeClass, sizeClass = _b === void 0 ? 'm' : _b, widthClass = propsGenerator.widthClass;
236
232
  return (jsxRuntime.jsxs("div", { className: "input-password", children: [jsxRuntime.jsx("input", { id: String(id), className: clsx(className, 'input-password__input', (textSizeClass || textColorClass || textWeightClass) && 'text', caretClass && "caret-color_".concat(caretClass), fillClass && "fill_".concat(fillClass), shapeClass && "input-password__input_shape_".concat(shapeClass), textSizeClass && "text_size_".concat(textSizeClass), textWeightClass && "text-weight_".concat(textWeightClass), widthClass && "width_".concat(widthClass), borderWidthClass && "border-width_".concat(borderWidthClass), sizeClass && "input-password__input_size_".concat(sizeClass), borderColorClass && "border-color_".concat(borderColorClass), placeholderTextColorClass &&
237
- "placeholder-text-color_".concat(placeholderTextColorClass), textColorClass && "text-color_".concat(textColorClass)), type: inputType, disabled: disabled, placeholder: placeholder, value: value, onBlur: onBlur, onChange: onChange, onFocus: onFocus, onKeyDown: onKeyDown }), isRevealable && (jsxRuntime.jsx(Icon.Icon, { className: "input-password__icon", size: iconSize, iconFill: iconFill, iconFillHover: iconFillHover, imageSrc: isRevealed ? imageRevealableHide : imageRevealableShow, shape: iconShape, SvgImage: isRevealed ? iconRevealableHide : iconRevealableShow, onClick: revealeHandler }))] }));
233
+ "placeholder-text-color_".concat(placeholderTextColorClass), textColorClass && "text-color_".concat(textColorClass)), type: inputType, disabled: isDisabled, placeholder: placeholder, value: value, onBlur: onBlur, onChange: onChange, onFocus: onFocus, onKeyDown: onKeyDown }), isRevealable && (jsxRuntime.jsx(Icon.Icon, { className: "input-password__icon", size: iconSize, iconFill: iconFill, iconFillHover: iconFillHover, imageSrc: isRevealed ? imageRevealableHide : imageRevealableShow, shape: iconShape, SvgImage: isRevealed ? iconRevealableHide : iconRevealableShow, onClick: revealeHandler }))] }));
238
234
  }
239
235
 
240
236
  exports.InputPassword = InputPassword;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var Label = require('../../Label_cjs_CaTh_laL.js');
3
+ var Label = require('../../Label_cjs_BvS_ANE3.js');
4
4
  require('react/jsx-runtime');
5
5
  require('react');
6
6
  require('clsx');
@@ -21,12 +21,12 @@ require('../hooks.js');
21
21
  require('../hooks/useStyles/styleAttributes.js');
22
22
  require('../hooks/useStyles/useStyles.js');
23
23
  require('lodash/maxBy');
24
- require('../../Icon_cjs_ZerVip3X.js');
24
+ require('../../Icon_cjs_D-UNVTqI.js');
25
25
  require('react-inlinesvg');
26
26
  require('../hoc/urlWithAssetPrefix.js');
27
27
  require('../context/UrlAssetPrefix.js');
28
- require('../../Link_cjs_BqT6eVl6.js');
29
- require('../../Text_cjs_DpRclhwc.js');
28
+ require('../../Link_cjs_C5UsZUiF.js');
29
+ require('../../Text_cjs_0EINiUq4.js');
30
30
 
31
31
 
32
32
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var Link = require('../../Link_cjs_BqT6eVl6.js');
3
+ var Link = require('../../Link_cjs_C5UsZUiF.js');
4
4
  require('../../tslib.es6_cjs_CCZ3TN_7.js');
5
5
  require('react/jsx-runtime');
6
6
  require('react');
@@ -6,7 +6,7 @@ var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceCon
6
6
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
7
7
  var useStyles = require('../hooks/useStyles/useStyles.js');
8
8
  var tslib_es6 = require('../../tslib.es6_cjs_CCZ3TN_7.js');
9
- var Link = require('../../Link_cjs_BqT6eVl6.js');
9
+ var Link = require('../../Link_cjs_C5UsZUiF.js');
10
10
  require('react');
11
11
  require('lodash/camelCase');
12
12
  require('lodash/castArray');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var Loader = require('../../Loader_cjs_c6yF7akz.js');
3
+ var Loader = require('../../Loader_cjs_Cme6Hi0B.js');
4
4
  require('react/jsx-runtime');
5
5
  require('clsx');
6
6
  require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
@@ -21,7 +21,7 @@ require('../hooks.js');
21
21
  require('../hooks/useStyles/styleAttributes.js');
22
22
  require('../hooks/useStyles/useStyles.js');
23
23
  require('lodash/maxBy');
24
- require('../../Text_cjs_DpRclhwc.js');
24
+ require('../../Text_cjs_0EINiUq4.js');
25
25
 
26
26
 
27
27
 
@@ -6,7 +6,7 @@ var urlWithAssetPrefix = require('../hoc/urlWithAssetPrefix.js');
6
6
  var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
7
7
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
8
8
  var useStyles = require('../hooks/useStyles/useStyles.js');
9
- var Link = require('../../Link_cjs_BqT6eVl6.js');
9
+ var Link = require('../../Link_cjs_C5UsZUiF.js');
10
10
  require('../../tslib.es6_cjs_CCZ3TN_7.js');
11
11
  require('react');
12
12
  require('@itcase/common');
@@ -6,9 +6,9 @@ var clsx = require('clsx');
6
6
  var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
7
7
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
8
8
  var useStyles = require('../hooks/useStyles/useStyles.js');
9
- var Icon = require('../../Icon_cjs_ZerVip3X.js');
10
- var Link = require('../../Link_cjs_BqT6eVl6.js');
11
- var Text = require('../../Text_cjs_DpRclhwc.js');
9
+ var Icon = require('../../Icon_cjs_D-UNVTqI.js');
10
+ var Link = require('../../Link_cjs_C5UsZUiF.js');
11
+ var Text = require('../../Text_cjs_0EINiUq4.js');
12
12
  var tslib_es6 = require('../../tslib.es6_cjs_CCZ3TN_7.js');
13
13
  require('lodash/camelCase');
14
14
  require('lodash/castArray');
@@ -199,7 +199,7 @@ function MenuItem(props) {
199
199
  (_a = tooltipRef.current) === null || _a === void 0 ? void 0 : _a.closeTooltip();
200
200
  }
201
201
  }, [showTooltip]);
202
- var appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, menuItemConfig);
202
+ var appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, menuItemConfig, isDisabled);
203
203
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
204
204
  var directionClass = propsGenerator.directionClass, justifyContentClass = propsGenerator.justifyContentClass, alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelStyle = propsGenerator.labelStyle, labelTextActiveColor = propsGenerator.labelTextActiveColor, labelTextActiveHoverColor = propsGenerator.labelTextActiveHoverColor, labelTextColor = propsGenerator.labelTextColor, labelTextColorDisabled = propsGenerator.labelTextColorDisabled, labelTextHoverColor = propsGenerator.labelTextHoverColor, labelTextSize = propsGenerator.labelTextSize, labelWeight = propsGenerator.labelWeight, labelWrap = propsGenerator.labelWrap, borderColorClass = propsGenerator.borderColorClass, iconAfter = propsGenerator.iconAfter, iconAfterFill = propsGenerator.iconAfterFill, iconAfterFillIcon = propsGenerator.iconAfterFillIcon, iconAfterFillSize = propsGenerator.iconAfterFillSize, iconAfterShape = propsGenerator.iconAfterShape, iconAfterSize = propsGenerator.iconAfterSize, iconAfterSrc = propsGenerator.iconAfterSrc, iconBadgeAppearance = propsGenerator.iconBadgeAppearance, iconBadgeShape = propsGenerator.iconBadgeShape, iconBadgeSize = propsGenerator.iconBadgeSize, iconBadgeTextColor = propsGenerator.iconBadgeTextColor, iconBadgeTextSize = propsGenerator.iconBadgeTextSize, iconBadgeValue = propsGenerator.iconBadgeValue, iconBefore = propsGenerator.iconBefore, iconBeforeFill = propsGenerator.iconBeforeFill, iconBeforeFillIcon = propsGenerator.iconBeforeFillIcon, iconBeforeFillSize = propsGenerator.iconBeforeFillSize, iconBeforeShape = propsGenerator.iconBeforeShape, iconBeforeSize = propsGenerator.iconBeforeSize, iconBeforeSrc = propsGenerator.iconBeforeSrc, shapeClass = propsGenerator.shapeClass, shapeStrengthClass = propsGenerator.shapeStrengthClass, sizeClass = propsGenerator.sizeClass, tooltipFill = propsGenerator.tooltipFill, tooltipShapeStrength = propsGenerator.tooltipShapeStrength, tooltipText = propsGenerator.tooltipText, tooltipTextColor = propsGenerator.tooltipTextColor, tooltipTitleTextColor = propsGenerator.tooltipTitleTextColor, typeClass = propsGenerator.typeClass, widthClass = propsGenerator.widthClass, isSkeleton = propsGenerator.isSkeleton;
205
205
  // @ts-expect-error
@@ -7,11 +7,11 @@ var ReactDOM = require('react-dom');
7
7
  var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
8
8
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
9
9
  var useStyles = require('../hooks/useStyles/useStyles.js');
10
- var Icon = require('../../Icon_cjs_ZerVip3X.js');
10
+ var Icon = require('../../Icon_cjs_D-UNVTqI.js');
11
11
  var Overlay = require('../../Overlay_cjs_CcfJYN5o.js');
12
12
  var tslib_es6 = require('../../tslib.es6_cjs_CCZ3TN_7.js');
13
13
  var _default = require('@itcase/icons/default');
14
- var Loader = require('../../Loader_cjs_c6yF7akz.js');
14
+ var Loader = require('../../Loader_cjs_Cme6Hi0B.js');
15
15
  require('lodash/camelCase');
16
16
  require('lodash/castArray');
17
17
  require('lodash/upperFirst');
@@ -28,8 +28,8 @@ require('lodash/maxBy');
28
28
  require('react-inlinesvg');
29
29
  require('../hoc/urlWithAssetPrefix.js');
30
30
  require('../context/UrlAssetPrefix.js');
31
- require('../../Link_cjs_BqT6eVl6.js');
32
- require('../../Text_cjs_DpRclhwc.js');
31
+ require('../../Link_cjs_C5UsZUiF.js');
32
+ require('../../Text_cjs_0EINiUq4.js');
33
33
 
34
34
  var modalAppearanceShape = {
35
35
  circular: {
@@ -135,7 +135,7 @@ var getOrCreateModalElement = function (modalQuerySelector, className) {
135
135
  };
136
136
  // Modal component that is an abstraction around the portal API.
137
137
  var Modal = React.forwardRef(function Modal(props, ref) {
138
- var id = props.id, dataTestId = props.dataTestId, dataTour = props.dataTour, className = props.className, appearance = props.appearance, title = props.title, contentClassName = props.contentClassName, _a = props.modalQuerySelector, modalQuerySelector = _a === void 0 ? '#modal-global' : _a, _b = props.scroll, scroll = _b === void 0 ? false : _b, _c = props.stickyHeader, stickyHeader = _c === void 0 ? false : _c, _d = props.isCloseOnBlur, isCloseOnBlur = _d === void 0 ? true : _d, _e = props.isOpen, initialIsOpen = _e === void 0 ? false : _e, _f = props.isOverlay, isOverlay = _f === void 0 ? true : _f, _g = props.isScrollOnOpen, isScrollOnOpen = _g === void 0 ? true : _g, _h = props.isSetFocusOnOpen, isSetFocusOnOpen = _h === void 0 ? true : _h, isSkeleton = props.isSkeleton, onClickOverlay = props.onClickOverlay, onCloseModal = props.onCloseModal, onOpenModal = props.onOpenModal, children = props.children;
138
+ var id = props.id, dataTestId = props.dataTestId, dataTour = props.dataTour, className = props.className, appearance = props.appearance, title = props.title, contentClassName = props.contentClassName, _a = props.modalQuerySelector, modalQuerySelector = _a === void 0 ? '#modal-global' : _a, _b = props.scroll, scroll = _b === void 0 ? false : _b, _c = props.stickyHeader, stickyHeader = _c === void 0 ? false : _c, _d = props.isCloseOnBlur, isCloseOnBlur = _d === void 0 ? true : _d, _e = props.isOpen, initialIsOpen = _e === void 0 ? false : _e, _f = props.isOverlay, isOverlay = _f === void 0 ? true : _f, isDisabled = props.isDisabled, _g = props.isScrollOnOpen, isScrollOnOpen = _g === void 0 ? true : _g, _h = props.isSetFocusOnOpen, isSetFocusOnOpen = _h === void 0 ? true : _h, isSkeleton = props.isSkeleton, onClickOverlay = props.onClickOverlay, onCloseModal = props.onCloseModal, onOpenModal = props.onOpenModal, children = props.children;
139
139
  // Query DOM element
140
140
  var _j = React.useState(null), modalElement = _j[0], setModalElement = _j[1];
141
141
  var _k = React.useState(initialIsOpen), isOpen = _k[0], setIsOpen = _k[1];
@@ -217,7 +217,7 @@ var Modal = React.forwardRef(function Modal(props, ref) {
217
217
  }, [addModalProps, className, modalQuerySelector]);
218
218
  // Save ref things
219
219
  React.useImperativeHandle(ref, function () { return ({ modalElement: modalElement, openModal: openModal, closeModal: closeModal, isOpen: isOpen }); }, [isOpen, openModal, closeModal, modalElement]);
220
- var appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, modalConfig);
220
+ var appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, modalConfig, isDisabled);
221
221
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
222
222
  var fillClass = propsGenerator.fillClass, titleTextColor = propsGenerator.titleTextColor, titleTextColorHover = propsGenerator.titleTextColorHover, titleTextSize = propsGenerator.titleTextSize, titleTextTruncate = propsGenerator.titleTextTruncate, titleTextWeight = propsGenerator.titleTextWeight, titleTextWidth = propsGenerator.titleTextWidth, titleTextWrap = propsGenerator.titleTextWrap, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, elevationClass = propsGenerator.elevationClass, overlayFill = propsGenerator.overlayFill, overlayOpacity = propsGenerator.overlayOpacity, shapeClass = propsGenerator.shapeClass, shapeStrengthClass = propsGenerator.shapeStrengthClass, sizeClass = propsGenerator.sizeClass, closeIconAppearance = propsGenerator.closeIconAppearance, closeIconAppearanceSize = propsGenerator.closeIconAppearanceSize, closeIconFillSize = propsGenerator.closeIconFillSize, closeIconImage = propsGenerator.closeIconImage, closeIconShape = propsGenerator.closeIconShape, closeIconSize = propsGenerator.closeIconSize;
223
223
  // @ts-expect-error
@@ -7,7 +7,7 @@ var reactModalSheet = require('react-modal-sheet');
7
7
  var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
8
8
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
9
9
  var useStyles = require('../hooks/useStyles/useStyles.js');
10
- var Icon = require('../../Icon_cjs_ZerVip3X.js');
10
+ var Icon = require('../../Icon_cjs_D-UNVTqI.js');
11
11
  require('lodash/camelCase');
12
12
  require('lodash/castArray');
13
13
  require('lodash/upperFirst');
@@ -25,8 +25,8 @@ require('clsx');
25
25
  require('react-inlinesvg');
26
26
  require('../hoc/urlWithAssetPrefix.js');
27
27
  require('../context/UrlAssetPrefix.js');
28
- require('../../Link_cjs_BqT6eVl6.js');
29
- require('../../Text_cjs_DpRclhwc.js');
28
+ require('../../Link_cjs_C5UsZUiF.js');
29
+ require('../../Text_cjs_0EINiUq4.js');
30
30
 
31
31
  var modalSheetBottomAppearance = {
32
32
  sizeL: {
@@ -45,7 +45,7 @@ var modalSheetBottomAppearance = {
45
45
  var modalSheetBottomConfig = {
46
46
  appearance: modalSheetBottomAppearance};
47
47
  var ModalSheetBottom = React.forwardRef(function Modal(props, ref) {
48
- var dataTestId = props.dataTestId, dataTour = props.dataTour, appearance = props.appearance, initialIsOpen = props.initialIsOpen, title = props.title, closeButton = props.closeButton, onCloseModalSheetBottom = props.onCloseModalSheetBottom, onOpenModalSheetBottom = props.onOpenModalSheetBottom, children = props.children;
48
+ var dataTestId = props.dataTestId, dataTour = props.dataTour, appearance = props.appearance, initialIsOpen = props.initialIsOpen, title = props.title, isDisabled = props.isDisabled, closeButton = props.closeButton, onCloseModalSheetBottom = props.onCloseModalSheetBottom, onOpenModalSheetBottom = props.onOpenModalSheetBottom, children = props.children;
49
49
  var _a = React.useState(initialIsOpen), isOpen = _a[0], setIsOpen = _a[1];
50
50
  var openModalSheetBottom = React.useCallback(function () {
51
51
  setIsOpen(true);
@@ -61,7 +61,7 @@ var ModalSheetBottom = React.forwardRef(function Modal(props, ref) {
61
61
  closeModal: closeModalSheetBottom,
62
62
  isOpen: isOpen,
63
63
  }); }, [isOpen, openModalSheetBottom, closeModalSheetBottom]);
64
- var appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, modalSheetBottomConfig);
64
+ var appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, modalSheetBottomConfig, isDisabled);
65
65
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
66
66
  var titleTextColor = propsGenerator.titleTextColor, titleTextColorHover = propsGenerator.titleTextColorHover, titleTextSize = propsGenerator.titleTextSize, titleTextTruncate = propsGenerator.titleTextTruncate, titleTextWeight = propsGenerator.titleTextWeight, titleTextWidth = propsGenerator.titleTextWidth, titleTextWrap = propsGenerator.titleTextWrap;
67
67
  // @ts-expect-error
@@ -5,8 +5,8 @@ var clsx = require('clsx');
5
5
  var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
6
6
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
7
7
  var useStyles = require('../hooks/useStyles/useStyles.js');
8
- var Icon = require('../../Icon_cjs_ZerVip3X.js');
9
- var Text = require('../../Text_cjs_DpRclhwc.js');
8
+ var Icon = require('../../Icon_cjs_D-UNVTqI.js');
9
+ var Text = require('../../Text_cjs_0EINiUq4.js');
10
10
  var tslib_es6 = require('../../tslib.es6_cjs_CCZ3TN_7.js');
11
11
  var _default = require('@itcase/icons/default');
12
12
  var Notifications = require('../context/Notifications.js');
@@ -26,7 +26,7 @@ require('lodash/maxBy');
26
26
  require('react-inlinesvg');
27
27
  require('../hoc/urlWithAssetPrefix.js');
28
28
  require('../context/UrlAssetPrefix.js');
29
- require('../../Link_cjs_BqT6eVl6.js');
29
+ require('../../Link_cjs_C5UsZUiF.js');
30
30
 
31
31
  var notificationAppearanceDefault = {
32
32
  defaultPrimary: {
@@ -8,9 +8,9 @@ var ReactPaginate = require('react-paginate');
8
8
  var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
9
9
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
10
10
  var useStyles = require('../hooks/useStyles/useStyles.js');
11
- var DropdownItem = require('../../DropdownItem_cjs_D2hHKA5E.js');
12
- var Icon = require('../../Icon_cjs_ZerVip3X.js');
13
- var Text = require('../../Text_cjs_DpRclhwc.js');
11
+ var DropdownItem = require('../../DropdownItem_cjs_DUIefLij.js');
12
+ var Icon = require('../../Icon_cjs_D-UNVTqI.js');
13
+ var Text = require('../../Text_cjs_0EINiUq4.js');
14
14
  var tslib_es6 = require('../../tslib.es6_cjs_CCZ3TN_7.js');
15
15
  var _default = require('@itcase/icons/default');
16
16
  require('lodash/camelCase');
@@ -30,7 +30,7 @@ require('../../Divider_cjs_DUYtmwn2.js');
30
30
  require('react-inlinesvg');
31
31
  require('../hoc/urlWithAssetPrefix.js');
32
32
  require('../context/UrlAssetPrefix.js');
33
- require('../../Link_cjs_BqT6eVl6.js');
33
+ require('../../Link_cjs_C5UsZUiF.js');
34
34
 
35
35
  var paginationAppearanceAccent = {
36
36
  accent: {
@@ -203,7 +203,7 @@ var paginationConfig = {
203
203
  },
204
204
  };
205
205
  function Pagination(props) {
206
- var className = props.className, appearance = props.appearance, _a = props.allItemsCount, allItemsCount = _a === void 0 ? 0 : _a, dataTestId = props.dataTestId, dataTour = props.dataTour, _b = props.pageCountArray, pageCountArray = _b === void 0 ? [10, 20, 50, 100] : _b, _c = props.pageCountDesc, pageCountDesc = _c === void 0 ? 'кол-во строк' : _c, pageCountDropdownItemDividerDirection = props.pageCountDropdownItemDividerDirection, _d = props.pageNumber, pageNumber = _d === void 0 ? 0 : _d, _e = props.perPageCount, perPageCount = _e === void 0 ? 0 : _e, isPageCount = props.isPageCount, _f = props.isPageCountDropdownReversed, isPageCountDropdownReversed = _f === void 0 ? false : _f, isPageLabelBuilder = props.isPageLabelBuilder, isSkeleton = props.isSkeleton, onChangePage = props.onChangePage, onChangePerPageCount = props.onChangePerPageCount,
206
+ var className = props.className, appearance = props.appearance, _a = props.allItemsCount, allItemsCount = _a === void 0 ? 0 : _a, dataTestId = props.dataTestId, dataTour = props.dataTour, _b = props.pageCountArray, pageCountArray = _b === void 0 ? [10, 20, 50, 100] : _b, _c = props.pageCountDesc, pageCountDesc = _c === void 0 ? 'кол-во строк' : _c, pageCountDropdownItemDividerDirection = props.pageCountDropdownItemDividerDirection, _d = props.pageNumber, pageNumber = _d === void 0 ? 0 : _d, _e = props.perPageCount, perPageCount = _e === void 0 ? 0 : _e, isPageCount = props.isPageCount, isDisabled = props.isDisabled, _f = props.isPageCountDropdownReversed, isPageCountDropdownReversed = _f === void 0 ? false : _f, isPageLabelBuilder = props.isPageLabelBuilder, isSkeleton = props.isSkeleton, onChangePage = props.onChangePage, onChangePerPageCount = props.onChangePerPageCount,
207
207
  /**
208
208
  * @deprecated The method should not be used
209
209
  */
@@ -260,7 +260,7 @@ function Pagination(props) {
260
260
  }
261
261
  return 0;
262
262
  }, [pageNumber]);
263
- var appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, paginationConfig);
263
+ var appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, paginationConfig, isDisabled);
264
264
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
265
265
  var justifyContentClass = propsGenerator.justifyContentClass, fillActiveClass = propsGenerator.fillActiveClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, fillInputClass = propsGenerator.fillInputClass, fillInputHoverClass = propsGenerator.fillInputHoverClass, textColorClass = propsGenerator.textColorClass, textSizeClass = propsGenerator.textSizeClass, builderIcon = propsGenerator.builderIcon, builderIconFill = propsGenerator.builderIconFill, builderIconFillIcon = propsGenerator.builderIconFillIcon, builderIconFillSize = propsGenerator.builderIconFillSize, builderIconSize = propsGenerator.builderIconSize, marginPagesDisplayed = propsGenerator.marginPagesDisplayed, nextIcon = propsGenerator.nextIcon, nextIconFill = propsGenerator.nextIconFill, nextIconFillIcon = propsGenerator.nextIconFillIcon, nextIconFillSize = propsGenerator.nextIconFillSize, nextIconSize = propsGenerator.nextIconSize, pageCountDescTextColor = propsGenerator.pageCountDescTextColor, pageCountDescTextSize = propsGenerator.pageCountDescTextSize, pageCountDropdownAlignment = propsGenerator.pageCountDropdownAlignment, pageCountDropdownElevation = propsGenerator.pageCountDropdownElevation, pageCountDropdownFill = propsGenerator.pageCountDropdownFill, pageCountDropdownItemDividerFill = propsGenerator.pageCountDropdownItemDividerFill, pageCountDropdownItemDividerSize = propsGenerator.pageCountDropdownItemDividerSize, pageCountDropdownItemFill = propsGenerator.pageCountDropdownItemFill, pageCountDropdownItemFillActive = propsGenerator.pageCountDropdownItemFillActive, pageCountDropdownItemFillActiveHover = propsGenerator.pageCountDropdownItemFillActiveHover, pageCountDropdownItemFillHover = propsGenerator.pageCountDropdownItemFillHover, pageCountDropdownItemLabelAlign = propsGenerator.pageCountDropdownItemLabelAlign, pageCountDropdownItemLabelColor = propsGenerator.pageCountDropdownItemLabelColor, pageCountDropdownItemLabelColorActive = propsGenerator.pageCountDropdownItemLabelColorActive, pageCountDropdownItemLabelColorActiveHover = propsGenerator.pageCountDropdownItemLabelColorActiveHover, pageCountDropdownItemLabelColorHover = propsGenerator.pageCountDropdownItemLabelColorHover, pageCountDropdownItemLabelSize = propsGenerator.pageCountDropdownItemLabelSize, pageCountDropdownItemLabelWrap = propsGenerator.pageCountDropdownItemLabelWrap, pageCountDropdownItemShowDivider = propsGenerator.pageCountDropdownItemShowDivider, pageCountDropdownItemSize = propsGenerator.pageCountDropdownItemSize, pageCountDropdownItemWidth = propsGenerator.pageCountDropdownItemWidth, pageCountDropdownShape = propsGenerator.pageCountDropdownShape, pageCountInputIcon = propsGenerator.pageCountInputIcon, pageCountInputIconColor = propsGenerator.pageCountInputIconColor, pageCountInputIconFillSize = propsGenerator.pageCountInputIconFillSize, pageCountInputIconSrc = propsGenerator.pageCountInputIconSrc, pageCountInputTextColor = propsGenerator.pageCountInputTextColor, pageCountInputTextSize = propsGenerator.pageCountInputTextSize, pageRangeDisplayed = propsGenerator.pageRangeDisplayed, previousIcon = propsGenerator.previousIcon, previousIconFill = propsGenerator.previousIconFill, previousIconFillIcon = propsGenerator.previousIconFillIcon, previousIconFillSize = propsGenerator.previousIconFillSize, previousIconSize = propsGenerator.previousIconSize, sizeClass = propsGenerator.sizeClass;
266
266
  var paginationStyles = useStyles.useStyles(props).styles;
@@ -4,7 +4,7 @@ var jsxRuntime = require('react/jsx-runtime');
4
4
  var clsx = require('clsx');
5
5
  var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
6
6
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
7
- var Text = require('../../Text_cjs_DpRclhwc.js');
7
+ var Text = require('../../Text_cjs_0EINiUq4.js');
8
8
  var tslib_es6 = require('../../tslib.es6_cjs_CCZ3TN_7.js');
9
9
  require('react');
10
10
  require('lodash/camelCase');
@@ -27,13 +27,16 @@ var radioAppearanceDefault = {
27
27
  fill: 'surfaceSecondary',
28
28
  fillCheckmark: 'surfaceQuaternary',
29
29
  fillDisabled: 'errorPrimary',
30
- fillRadioClass: 'accentPrimary',
30
+ fillRadio: 'surfaceSecondary',
31
+ fillRadioHover: 'surfaceTertiary',
31
32
  labelTextColor: 'surfaceTextPrimary',
32
33
  descTextColor: 'surfaceTextPrimary',
33
34
  borderColor: 'surfaceBorderQuaternary',
34
- borderColorCheckmark: 'accentPrimary',
35
- borderColorRadio: 'surfaceBorderQuaternary',
36
- borderColorRadioActive: 'surfaceBorderQuaternary',
35
+ borderRadioColor: 'surfaceBorderQuaternary',
36
+ borderRadioColorHover: 'surfaceBorderQuaternary',
37
+ borderRadioColorActive: 'surfaceBorderQuaternary',
38
+ borderRadioColorActiveHover: 'surfaceBorderQuaternary',
39
+ shape: 'circular',
37
40
  },
38
41
  };
39
42
 
@@ -44,8 +47,10 @@ var radioAppearanceDisabled = {
44
47
  labelTextColor: 'surfaceTextDisabled',
45
48
  descTextColor: 'surfaceTextDisabled',
46
49
  borderColor: 'surfaceBorderDisabled',
47
- borderColorRadio: 'surfaceBorderDisabled',
48
- borderColorRadioActive: 'surfaceBorderDisabled',
50
+ borderRadioColor: 'surfaceBorderQuaternary',
51
+ borderRadioColorHover: 'surfaceBorderQuaternary',
52
+ borderRadioColorActive: 'surfaceBorderQuaternary',
53
+ borderRadioColorActiveHover: 'surfaceBorderQuaternary',
49
54
  },
50
55
  };
51
56
 
@@ -56,8 +61,10 @@ var radioAppearanceError = {
56
61
  labelTextColor: 'surfaceTextPrimary',
57
62
  descTextColor: 'surfaceTextPrimary',
58
63
  borderColor: 'errorBorderQuaternary',
59
- borderColorRadio: 'errorBorderQuaternary',
60
- borderColorRadioActive: 'errorBorderQuaternary',
64
+ borderRadioColor: 'surfaceBorderQuaternary',
65
+ borderRadioColorHover: 'surfaceBorderQuaternary',
66
+ borderRadioColorActive: 'surfaceBorderQuaternary',
67
+ borderRadioColorActiveHover: 'surfaceBorderQuaternary',
61
68
  },
62
69
  };
63
70
 
@@ -68,8 +75,10 @@ var radioAppearanceRequire = {
68
75
  labelTextColor: 'surfaceTextPrimary',
69
76
  descTextColor: 'surfaceTextPrimary',
70
77
  borderColor: 'warningBorderSecondary',
71
- borderColorRadio: 'warningBorderSecondary',
72
- borderColorRadioActive: 'warningBorderSecondary',
78
+ borderRadioColor: 'surfaceBorderQuaternary',
79
+ borderRadioColorHover: 'surfaceBorderQuaternary',
80
+ borderRadioColorActive: 'surfaceBorderQuaternary',
81
+ borderRadioColorActiveHover: 'surfaceBorderQuaternary',
73
82
  },
74
83
  };
75
84
 
@@ -80,21 +89,21 @@ var radioAppearanceShape = {
80
89
  rounded: {
81
90
  shape: 'rounded',
82
91
  },
83
- roundedS: {
84
- shape: 'rounded',
85
- shapeStrength: '0_5m',
86
- },
87
- roundedM: {
92
+ roundedXL: {
88
93
  shape: 'rounded',
89
- shapeStrength: '1m',
94
+ shapeStrength: '2m',
90
95
  },
91
96
  roundedL: {
92
97
  shape: 'rounded',
93
98
  shapeStrength: '1_5m',
94
99
  },
95
- roundedXL: {
100
+ roundedM: {
96
101
  shape: 'rounded',
97
- shapeStrength: '2m',
102
+ shapeStrength: '1m',
103
+ },
104
+ roundedS: {
105
+ shape: 'rounded',
106
+ shapeStrength: '0_5m',
98
107
  },
99
108
  };
100
109
 
@@ -118,15 +127,25 @@ var radioAppearanceSize = {
118
127
 
119
128
  var radioAppearanceStyle = {
120
129
  solid: {
130
+ fill: 'none',
131
+ fillHover: 'none',
121
132
  borderColor: 'none',
133
+ borderColorHover: 'none',
134
+ borderRadioColor: 'none',
135
+ borderRadioColorActive: 'none',
136
+ borderRadioColorActiveHover: 'none',
137
+ borderRadioColorHover: 'none',
122
138
  },
123
139
  outlined: {
124
140
  fill: 'none',
141
+ fillHover: 'none',
125
142
  },
126
143
  full: {},
127
144
  ghost: {
128
145
  fill: 'none',
146
+ fillHover: 'none',
129
147
  borderColor: 'none',
148
+ borderColorHover: 'none',
130
149
  },
131
150
  };
132
151
 
@@ -137,8 +156,10 @@ var radioAppearanceSuccess = {
137
156
  labelTextColor: 'surfaceTextPrimary',
138
157
  descTextColor: 'surfaceTextPrimary',
139
158
  borderColor: 'accentBorderSecondary',
140
- borderColorRadio: 'accentBorderSecondary',
141
- borderColorRadioActive: 'accentBorderSecondary',
159
+ borderRadioColor: 'surfaceBorderQuaternary',
160
+ borderRadioColorHover: 'surfaceBorderQuaternary',
161
+ borderRadioColorActive: 'surfaceBorderQuaternary',
162
+ borderRadioColorActiveHover: 'surfaceBorderQuaternary',
142
163
  },
143
164
  };
144
165
 
@@ -152,22 +173,23 @@ var radioConfig = {
152
173
  };
153
174
  function Radio(props) {
154
175
  var id = props.id, className = props.className, appearance = props.appearance, label = props.label, desc = props.desc, isDisabled = props.isDisabled, checked = props.checked, _a = props.tag, Tag = _a === void 0 ? 'label' : _a, value = props.value, isActive = props.isActive, isSkeleton = props.isSkeleton, onChange = props.onChange;
155
- var appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, radioConfig);
176
+ var appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, radioConfig, isDisabled);
156
177
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
157
- var fillCheckmarkClass = propsGenerator.fillCheckmarkClass, fillClass = propsGenerator.fillClass, fillRadioActiveClass = propsGenerator.fillRadioActiveClass, fillRadioActiveHoverClass = propsGenerator.fillRadioActiveHoverClass, fillRadioClass = propsGenerator.fillRadioClass, fillRadioHoverClass = propsGenerator.fillRadioHoverClass, labelTextColor = propsGenerator.labelTextColor, labelTextSize = propsGenerator.labelTextSize, labelTextWeight = propsGenerator.labelTextWeight, descTextColor = propsGenerator.descTextColor, descTextSize = propsGenerator.descTextSize, descTextWeight = propsGenerator.descTextWeight, borderColorClass = propsGenerator.borderColorClass, borderColorRadioActiveClass = propsGenerator.borderColorRadioActiveClass, borderColorRadioActiveHoverClass = propsGenerator.borderColorRadioActiveHoverClass, borderColorRadioClass = propsGenerator.borderColorRadioClass, borderColorRadioHoverClass = propsGenerator.borderColorRadioHoverClass, shapeClass = propsGenerator.shapeClass, shapeStrengthClass = propsGenerator.shapeStrengthClass, sizeClass = propsGenerator.sizeClass;
158
- return (jsxRuntime.jsxs(Tag, { className: clsx(className, 'radio', fillClass && "fill_".concat(fillClass), borderColorClass && "border-color_".concat(borderColorClass), isSkeleton && 'radio_skeleton', sizeClass && "radio_size_".concat(sizeClass)), htmlFor: id, children: [jsxRuntime.jsxs("div", { className: "radio__item", children: [jsxRuntime.jsx("input", { id: id, className: "radio__input", type: "radio", disabled: isDisabled && 'disabled', checked: checked, value: value, onChange: onChange }), jsxRuntime.jsx("div", { className: clsx('radio__state', !checked || !isActive
159
- ? fillRadioClass && "fill_".concat(fillRadioClass)
160
- : fillRadioActiveClass && "fill_active_".concat(fillRadioActiveClass), !checked || !isActive
161
- ? fillRadioHoverClass && "fill_hover_".concat(fillRadioHoverClass)
162
- : fillRadioActiveHoverClass &&
163
- "fill_active_hover_".concat(fillRadioActiveHoverClass), !checked || !isActive
164
- ? borderColorRadioClass && "border-color_".concat(borderColorRadioClass)
165
- : borderColorRadioActiveClass &&
166
- "border-color_active_".concat(borderColorRadioActiveClass), !checked || !isActive
167
- ? borderColorRadioHoverClass &&
168
- "border-color_hover_".concat(borderColorRadioHoverClass)
169
- : borderColorRadioActiveHoverClass &&
170
- "border-color_active_hover_".concat(borderColorRadioActiveHoverClass), shapeClass && "shape_".concat(shapeClass), shapeStrengthClass && "shape-strength_".concat(shapeStrengthClass)), children: "\u00A0" }), jsxRuntime.jsx("div", { className: clsx('radio__state-checkmark', checked && fillCheckmarkClass && "fill_".concat(fillCheckmarkClass)), children: "\u00A0" })] }), label && (jsxRuntime.jsx(Text.Text, { className: "radio__label", size: labelTextSize, textColor: labelTextColor, textWeight: labelTextWeight, children: label })), desc && (jsxRuntime.jsx(Text.Text, { className: "radio__desc", size: descTextSize, textColor: descTextColor, textWeight: descTextWeight, children: desc }))] }));
178
+ var fillCheckmarkClass = propsGenerator.fillCheckmarkClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, fillRadioActiveClass = propsGenerator.fillRadioActiveClass, fillRadioActiveHoverClass = propsGenerator.fillRadioActiveHoverClass, fillRadioClass = propsGenerator.fillRadioClass, fillRadioHoverClass = propsGenerator.fillRadioHoverClass, labelTextColor = propsGenerator.labelTextColor, labelTextSize = propsGenerator.labelTextSize, labelTextWeight = propsGenerator.labelTextWeight, descTextColor = propsGenerator.descTextColor, descTextSize = propsGenerator.descTextSize, descTextWeight = propsGenerator.descTextWeight, borderRadioColorClass = propsGenerator.borderRadioColorClass, borderRadioColorActiveClass = propsGenerator.borderRadioColorActiveClass, borderRadioColorActiveHoverClass = propsGenerator.borderRadioColorActiveHoverClass, borderRadioColorHoverClass = propsGenerator.borderRadioColorHoverClass, shapeClass = propsGenerator.shapeClass, shapeStrengthClass = propsGenerator.shapeStrengthClass, sizeClass = propsGenerator.sizeClass;
179
+ return (jsxRuntime.jsxs(Tag, { className: clsx(className, 'radio', fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_".concat(fillHoverClass), isSkeleton && 'radio_skeleton', sizeClass && "radio_size_".concat(sizeClass), !checked || !isActive
180
+ ? fillRadioClass && "radio_fill_".concat(fillRadioClass)
181
+ : fillRadioActiveClass && "radio_fill_active_".concat(fillRadioActiveClass), !checked || !isActive
182
+ ? fillRadioHoverClass && "radio_fill_hover_".concat(fillRadioHoverClass)
183
+ : fillRadioActiveHoverClass &&
184
+ "radio_fill_active_hover_".concat(fillRadioActiveHoverClass), !checked || !isActive
185
+ ? borderRadioColorClass &&
186
+ "radio_border-color_".concat(borderRadioColorClass)
187
+ : borderRadioColorActiveClass &&
188
+ "radio_border-color_active_".concat(borderRadioColorActiveClass), !checked || !isActive
189
+ ? borderRadioColorHoverClass &&
190
+ "radio_border-color_hover_".concat(borderRadioColorHoverClass)
191
+ : borderRadioColorActiveHoverClass &&
192
+ "radio_border-color_active_hover_".concat(borderRadioColorActiveHoverClass)), htmlFor: id, children: [jsxRuntime.jsxs("div", { className: clsx('radio__item'), children: [jsxRuntime.jsx("input", { id: String(id), className: "radio__input", type: "radio", disabled: isDisabled && 'disabled', checked: checked, value: value, onChange: onChange }), jsxRuntime.jsx("div", { className: clsx('radio__state', shapeClass && "shape_".concat(shapeClass), shapeStrengthClass && "shape-strength_".concat(shapeStrengthClass)), children: "\u00A0" }), jsxRuntime.jsx("div", { className: clsx('radio__state-checkmark', checked && fillCheckmarkClass && "fill_".concat(fillCheckmarkClass)), children: "\u00A0" })] }), label && (jsxRuntime.jsx(Text.Text, { className: "radio__label", size: labelTextSize, textColor: labelTextColor, textWeight: labelTextWeight, children: label })), desc && (jsxRuntime.jsx(Text.Text, { className: "radio__desc", size: descTextSize, textColor: descTextColor, textWeight: descTextWeight, children: desc }))] }));
171
193
  }
172
194
 
173
195
  exports.Radio = Radio;
@@ -9,9 +9,9 @@ var urlWithAssetPrefix = require('../hoc/urlWithAssetPrefix.js');
9
9
  var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
10
10
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
11
11
  var useStyles = require('../hooks/useStyles/useStyles.js');
12
- var Button = require('../../Button_cjs_mau_55Fl.js');
12
+ var Button = require('../../Button_cjs_B2eZhvoC.js');
13
13
  var Group = require('../../Group_cjs_BxBk5T7A.js');
14
- var Text = require('../../Text_cjs_DpRclhwc.js');
14
+ var Text = require('../../Text_cjs_0EINiUq4.js');
15
15
  require('@itcase/common');
16
16
  require('../context/UrlAssetPrefix.js');
17
17
  require('lodash/camelCase');
@@ -26,10 +26,10 @@ require('../utils/setViewportProperty.js');
26
26
  require('../hooks.js');
27
27
  require('../hooks/useStyles/styleAttributes.js');
28
28
  require('lodash/maxBy');
29
- require('../../Icon_cjs_ZerVip3X.js');
29
+ require('../../Icon_cjs_D-UNVTqI.js');
30
30
  require('react-inlinesvg');
31
- require('../../Link_cjs_BqT6eVl6.js');
32
- require('../../Loader_cjs_c6yF7akz.js');
31
+ require('../../Link_cjs_C5UsZUiF.js');
32
+ require('../../Loader_cjs_Cme6Hi0B.js');
33
33
 
34
34
  var responseAppearanceConfirm = {
35
35
  confirm: {
@@ -8,8 +8,8 @@ var clsx = require('clsx');
8
8
  var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
9
9
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
10
10
  var useStyles = require('../hooks/useStyles/useStyles.js');
11
- var Icon = require('../../Icon_cjs_ZerVip3X.js');
12
- var Text = require('../../Text_cjs_DpRclhwc.js');
11
+ var Icon = require('../../Icon_cjs_D-UNVTqI.js');
12
+ var Text = require('../../Text_cjs_0EINiUq4.js');
13
13
  var Scrollbar = require('../../Scrollbar_cjs_DcKOfcNp.js');
14
14
  require('lodash/camelCase');
15
15
  require('lodash/castArray');
@@ -27,7 +27,7 @@ require('lodash/maxBy');
27
27
  require('react-inlinesvg');
28
28
  require('../hoc/urlWithAssetPrefix.js');
29
29
  require('../context/UrlAssetPrefix.js');
30
- require('../../Link_cjs_BqT6eVl6.js');
30
+ require('../../Link_cjs_C5UsZUiF.js');
31
31
  require('react-scrollbars-custom');
32
32
 
33
33
  var searchAppearanceDefault = {
@@ -201,7 +201,7 @@ var searchInputConfig = {
201
201
  },
202
202
  };
203
203
  var SearchInput = React.forwardRef(function SearchInput(props, ref) {
204
- var dataTour = props.dataTour, className = props.className, appearance = props.appearance, placeholder = props.placeholder, value = props.value, before = props.before, after = props.after, isActive = props.isActive, isSkeleton = props.isSkeleton, onChange = props.onChange, onClickClean = props.onClickClean, onFocus = props.onFocus, onKeyDown = props.onKeyDown;
204
+ var dataTour = props.dataTour, className = props.className, appearance = props.appearance, placeholder = props.placeholder, value = props.value, before = props.before, after = props.after, isActive = props.isActive, isSkeleton = props.isSkeleton, isDisabled = props.isDisabled, onChange = props.onChange, onClickClean = props.onClickClean, onFocus = props.onFocus, onKeyDown = props.onKeyDown;
205
205
  var onChangeSearchInput = React.useCallback(function (event) {
206
206
  onChange && onChange(event.target.value);
207
207
  }, [onChange]);
@@ -212,7 +212,7 @@ var SearchInput = React.forwardRef(function SearchInput(props, ref) {
212
212
  onClickClean();
213
213
  }
214
214
  }, [onChange, onClickClean]);
215
- var appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, searchInputConfig);
215
+ var appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, searchInputConfig, isDisabled);
216
216
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
217
217
  var size = propsGenerator.size, fillClass = propsGenerator.fillClass, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, iconAfter = propsGenerator.iconAfter, iconAfterFill = propsGenerator.iconAfterFill, iconAfterSize = propsGenerator.iconAfterSize, iconAfterSrc = propsGenerator.iconAfterSrc, iconBefore = propsGenerator.iconBefore, iconBeforeFill = propsGenerator.iconBeforeFill, iconBeforeSize = propsGenerator.iconBeforeSize, iconBeforeSrc = propsGenerator.iconBeforeSrc, iconClear = propsGenerator.iconClear, iconClearFill = propsGenerator.iconClearFill, iconClearSize = propsGenerator.iconClearSize, iconClearSrc = propsGenerator.iconClearSrc, inputFillClass = propsGenerator.inputFillClass, inputTextColorClass = propsGenerator.inputTextColorClass, inputTextSizeClass = propsGenerator.inputTextSizeClass, inputTextStyleClass = propsGenerator.inputTextStyleClass, inputTextWeightClass = propsGenerator.inputTextWeightClass, placeholderTextColor = propsGenerator.placeholderTextColor, placeholderTextSize = propsGenerator.placeholderTextSize, placeholderTextStyle = propsGenerator.placeholderTextStyle, placeholderTextWeight = propsGenerator.placeholderTextWeight, shapeClass = propsGenerator.shapeClass, shapeStrengthClass = propsGenerator.shapeStrengthClass, widthClass = propsGenerator.widthClass;
218
218
  var searchInputStyles = useStyles.useStyles(props).styles;