@itcase/ui 1.0.20 → 1.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -122,7 +122,6 @@ var Button = /*#__PURE__*/React__default.default.forwardRef(function Button(prop
122
122
  var _useStyles = useStyles.useStyles(props),
123
123
  buttonStyles = _useStyles.styles,
124
124
  labelStyles = _useStyles.label;
125
- console.log(isDisabled);
126
125
  return /*#__PURE__*/React__default.default.createElement(index.LinkWrapper, {
127
126
  className: clsx__default.default(className, 'button', type && "button_type_" + type, borderWidthClass, borderColorClass, borderTypeClass, fillClass, fillHoverClass, shapeClass, sizeClass, widthClass, elevationClass, Badge && 'button_type_badge', loading && 'button_state_loading', !label && (iconBefore || iconAfter || icon) && 'button_type_icon', label && (iconBefore || iconAfter || before || after) && "button_type_with-icon button_type_with-icon_" + size),
128
127
  DefaultComponent: "button",
@@ -10102,25 +10102,44 @@ var ru = locale;
10102
10102
 
10103
10103
  function DatePickerInput(props) {
10104
10104
  var className = props.className,
10105
+ value = props.value,
10105
10106
  inputProps = props.inputProps,
10106
10107
  datePickerProps = props.datePickerProps,
10107
10108
  onChange = props.onChange;
10108
- var _useState = React.useState(function () {
10109
- return datePickerProps.isStartDefaultNull ? null : new Date();
10110
- }),
10111
- startDate = _useState[0],
10112
- setStartDate = _useState[1];
10113
- var _useState2 = React.useState(null),
10114
- endDate = _useState2[0],
10115
- setEndDate = _useState2[1];
10116
- var onChangeDate = React.useCallback(function (date) {
10117
- setStartDate(date);
10118
- onChange && onChange(date);
10119
- }, []);
10109
+
10110
+ // const [startDate, setStartDate] = useState(() =>
10111
+ // datePickerProps.isStartDefaultNull ? null : new Date(),
10112
+ // )
10113
+
10114
+ var startDate = React.useMemo(function () {
10115
+ if (value) {
10116
+ if (typeof value === 'string') {
10117
+ return new Date(value);
10118
+ }
10119
+ return value;
10120
+ }
10121
+ if (datePickerProps.isStartDefaultNull) {
10122
+ return null;
10123
+ }
10124
+ return new Date();
10125
+ }, [value, datePickerProps.isStartDefaultNull]);
10126
+ var _useState = React.useState(null),
10127
+ endDate = _useState[0],
10128
+ setEndDate = _useState[1];
10129
+
10130
+ // const onChangeDate = useCallback(
10131
+ // (date) => {
10132
+ // setStartDate(date)
10133
+ // onChange && onChange(date)
10134
+ // },
10135
+ // [onChange],
10136
+ // )
10137
+
10120
10138
  var handleChange = function handleChange(_ref) {
10121
10139
  var newStartDate = _ref[0],
10122
10140
  newEndDate = _ref[1];
10123
- setStartDate(newStartDate);
10141
+ onChange && onChange(newStartDate);
10142
+ // setStartDate(newStartDate)
10124
10143
  setEndDate(newEndDate);
10125
10144
  };
10126
10145
  var renderDayContents = function renderDayContents(day, date) {
@@ -10189,7 +10208,7 @@ function DatePickerInput(props) {
10189
10208
  renderDayContents: renderDayContents,
10190
10209
  selected: startDate,
10191
10210
  startDate: startDate,
10192
- onChange: datePickerProps != null && datePickerProps.selectsRange ? handleChange : onChangeDate
10211
+ onChange: datePickerProps != null && datePickerProps.selectsRange ? handleChange : onChange
10193
10212
  }, datePickerProps)));
10194
10213
  }
10195
10214
  var DatePickerСustomInput = /*#__PURE__*/React.forwardRef(function (props, ref) {
@@ -22,7 +22,7 @@ var inputConfig = {
22
22
  inputConfig.state = newComponent;
23
23
  }
24
24
  };
25
- function Input(props) {
25
+ var Input = /*#__PURE__*/React__default.default.forwardRef(function Input(props, ref) {
26
26
  var _inputConfig$state$st, _inputConfig$state$st2, _inputConfig$state$st3;
27
27
  var state = props.state,
28
28
  id = props.id,
@@ -32,7 +32,6 @@ function Input(props) {
32
32
  placeholder = props.placeholder,
33
33
  disabled = props.disabled,
34
34
  value = props.value,
35
- inputRef = props.inputRef,
36
35
  onBlur = props.onBlur,
37
36
  onChange = props.onChange,
38
37
  onFocus = props.onFocus,
@@ -86,7 +85,7 @@ function Input(props) {
86
85
  type: type,
87
86
  id: id,
88
87
  index: index,
89
- ref: inputRef,
88
+ ref: ref,
90
89
  disabled: disabled,
91
90
  placeholder: placeholder,
92
91
  value: value,
@@ -95,7 +94,7 @@ function Input(props) {
95
94
  onFocus: onFocus,
96
95
  onKeyDown: onKeyDown
97
96
  });
98
- }
97
+ });
99
98
  Input.propTypes = {
100
99
  id: PropTypes__default.default.string,
101
100
  className: PropTypes__default.default.string,
@@ -83,6 +83,10 @@ var Segmented = /*#__PURE__*/React__default.default.forwardRef(function (props,
83
83
  prefix: 'segmented_width_',
84
84
  propsKey: 'width'
85
85
  });
86
+ var fillHoverClass = useDeviceTargetClass.useDeviceTargetClass(props, {
87
+ prefix: 'fill_hover_',
88
+ propsKey: 'fillHover'
89
+ });
86
90
  return /*#__PURE__*/React__default.default.createElement("div", {
87
91
  className: clsx__default.default(className, 'segmented', shapeClass, fillClass, widthClass, size && "segmented_size_" + size, type && "segmented_type_" + type),
88
92
  ref: controlRef
@@ -92,7 +96,7 @@ var Segmented = /*#__PURE__*/React__default.default.forwardRef(function (props,
92
96
  className: clsx__default.default('segmented__wrapper-inner', borderColorClass, borderWidthClass, borderTypeClass)
93
97
  }, segments == null ? void 0 : segments.map(function (item, i) {
94
98
  return /*#__PURE__*/React__default.default.createElement("div", {
95
- className: clsx__default.default('segmented__item', item.value === activeSegment.value && 'segmented__item_active'),
99
+ className: clsx__default.default('segmented__item', fillHoverClass, item.value === activeSegment.value && 'segmented__item_active'),
96
100
  key: item.value,
97
101
  ref: segmentsRefs.get(item.value)
98
102
  }, /*#__PURE__*/React__default.default.createElement("input", {
@@ -7521,9 +7521,10 @@ var SelectControl = function SelectControl(props) {
7521
7521
  var _props$selectProps = props.selectProps,
7522
7522
  inputFill = _props$selectProps.inputFill,
7523
7523
  inputShape = _props$selectProps.inputShape,
7524
- inputBorderColor = _props$selectProps.inputBorderColor;
7524
+ inputBorderColor = _props$selectProps.inputBorderColor,
7525
+ inputBorderColorHover = _props$selectProps.inputBorderColorHover;
7525
7526
  return /*#__PURE__*/React__namespace.default.createElement(Select$1.components.Control, Object.assign({}, props, {
7526
- className: clsx__default.default(inputFill, inputShape, inputBorderColor && "border-color_" + inputBorderColor)
7527
+ className: clsx__default.default(inputFill, inputShape, inputBorderColor && "border-color_" + inputBorderColor, inputBorderColorHover && "border-color_hover_" + inputBorderColorHover)
7527
7528
  }));
7528
7529
  };
7529
7530
  SelectControl.propTypes = {
@@ -7850,6 +7851,9 @@ var SelectContainer = /*#__PURE__*/React__namespace.default.forwardRef(function
7850
7851
  var inputBorderColorClass = useDeviceTargetClass.useDeviceTargetClass(props, {
7851
7852
  propsKey: 'inputBorderColor'
7852
7853
  });
7854
+ var inputBorderColorHoverClass = useDeviceTargetClass.useDeviceTargetClass(props, {
7855
+ propsKey: 'inputBorderColorHover'
7856
+ });
7853
7857
  var placeholderTextSizeClass = useDeviceTargetClass.useDeviceTargetClass(props, {
7854
7858
  propsKey: 'placeholderTextSize'
7855
7859
  });
@@ -7917,6 +7921,7 @@ var SelectContainer = /*#__PURE__*/React__namespace.default.forwardRef(function
7917
7921
  inputCaretColor: inputCaretColorClass,
7918
7922
  inputShape: inputShapeClass,
7919
7923
  inputBorderColor: inputBorderColorClass,
7924
+ inputBorderColorHover: inputBorderColorHoverClass,
7920
7925
  placeholder: placeholder,
7921
7926
  placeholderTextSize: placeholderTextSizeClass,
7922
7927
  placeholderTextColor: placeholderTextColorClass,
@@ -40,6 +40,10 @@ function Textarea(props) {
40
40
  prefix: 'border-color_',
41
41
  propsKey: 'borderColor'
42
42
  });
43
+ var borderColorHoverClass = useDeviceTargetClass.useDeviceTargetClass(props, {
44
+ prefix: 'border-color_hover_',
45
+ propsKey: 'borderHover'
46
+ });
43
47
  var sizeClass = useDeviceTargetClass.useDeviceTargetClass(props, {
44
48
  prefix: 'textarea_size_',
45
49
  propsKey: 'size'
@@ -73,7 +77,7 @@ function Textarea(props) {
73
77
  propsKey: 'width'
74
78
  });
75
79
  return /*#__PURE__*/React__default.default.createElement("textarea", {
76
- className: clsx__default.default(className, 'textarea', (textSizeClass || textColorClass || weightClass) && 'text', caretClass, fillClass, borderColorClass, placeholderClass, shapeClass, textSizeClass, textColorClass, weightClass, widthClass, sizeClass),
80
+ className: clsx__default.default(className, 'textarea', (textSizeClass || textColorClass || weightClass) && 'text', caretClass, fillClass, borderColorClass, borderColorHoverClass, placeholderClass, shapeClass, textSizeClass, textColorClass, weightClass, widthClass, sizeClass),
77
81
  id: id,
78
82
  disabled: disabled,
79
83
  placeholder: placeholder,
@@ -723,9 +723,13 @@
723
723
  .react-datepicker {
724
724
  background: var(--date-picker-background);
725
725
  border-radius: var(--date-picker-border-radius);
726
- border: var(--date-picker-border);
726
+ border: none;
727
727
  box-shadow: var(--date-picker-box-shadow);
728
728
  font-size: inherit;
729
+ display: flex;
730
+ &-popper {
731
+ z-index: 10;
732
+ }
729
733
  &__triangle {
730
734
  display: none;
731
735
  }
@@ -735,6 +739,14 @@
735
739
  z-index: 1000 !important;
736
740
  }
737
741
  }
742
+ &__header {
743
+ background: var(--date-picker-background);
744
+ border: none;
745
+ padding: 0;
746
+ &--time {
747
+ padding: 0;
748
+ }
749
+ }
738
750
  &__month {
739
751
  margin: 0;
740
752
  &-container {
@@ -796,7 +808,11 @@
796
808
  background: var(--date-picker-day-hover-background);
797
809
  color: var(--date-picker-day-hover-text-color);
798
810
  }
799
- &--in-selecting-range:not(.react-datepicker__day--in-range):not(.react-datepicker__month-text--in-range):not(.react-datepicker__quarter-text--in-range):not(.react-datepicker__year-text--in-range) {
811
+ &--in-selecting-range:not(.react-datepicker__day--in-range):not(
812
+ .react-datepicker__month-text--in-range
813
+ ):not(.react-datepicker__quarter-text--in-range):not(
814
+ .react-datepicker__year-text--in-range
815
+ ) {
800
816
  background: var(--date-picker-day-selected-background);
801
817
  & .button__label {
802
818
  color: var(--date-picker-day-selected-text-color);
@@ -841,6 +857,41 @@
841
857
  & .button__label {
842
858
  color: var(--date-picker-day-today-text-color);
843
859
  }
860
+ &:hover {
861
+ background: var(--date-picker-day-hover-background);
862
+ }
863
+ &.react-datepicker__day--in-range {
864
+ border-radius: 0;
865
+ background: var(--date-picker-day-selected-background);
866
+ & .button__label {
867
+ color: var(--date-picker-day-selected-text-color);
868
+ }
869
+ &:hover {
870
+ background: var(--date-picker-day-selected-background) !important;
871
+ & .button__label {
872
+ color: var(--date-picker-day-selected-text-color) !important;
873
+ }
874
+ }
875
+ }
876
+ &.react-datepicker__day--range {
877
+ background-color: var(--date-picker-day-range-background) !important;
878
+ border-radius: var(--date-picker-day-range-border-radius) !important;
879
+ & .button__label {
880
+ color: var(--date-picker-day-range-text-color) !important;
881
+ }
882
+ &-start {
883
+ border-radius: var(--date-picker-day-range-start-border-radius) !important;
884
+ &:hover {
885
+ border-radius: var(--date-picker-day-range-start-border-radius) !important;
886
+ }
887
+ }
888
+ &-end {
889
+ border-radius: var(--date-picker-day-range-end-border-radius) !important;
890
+ &:hover {
891
+ border-radius: var(--date-picker-day-range-end-border-radius) !important;
892
+ }
893
+ }
894
+ }
844
895
  }
845
896
  &--today.react-datepicker__day--selecting-range-start.react-datepicker__day--selecting-range-end {
846
897
  border-radius: var(--date-picker-day-border-radius) !important;
@@ -849,14 +900,72 @@
849
900
  color: var(--date-picker-day-today-text-color);
850
901
  }
851
902
  }
852
- &--keyboard-selected {
903
+ /* &--keyboard-selected {
853
904
  background: transparent;
854
- }
905
+ } */
855
906
  &--selected {
856
907
  background: var(--date-picker-day-selected-background);
857
908
  & .button__label {
858
909
  color: var(--date-picker-day-selected-text-color);
859
910
  }
911
+ &:hover {
912
+ background: var(--date-picker-day-selected-background) !important;
913
+ }
914
+ }
915
+ &--weekend {
916
+ background: var(--date-picker-day-weekend-background);
917
+ & .button__label {
918
+ color: var(--date-picker-day-weekend-text-color);
919
+ }
920
+ &:hover {
921
+ background: var(--date-picker-day-hover-background);
922
+ }
923
+ &.react-datepicker__day--selected {
924
+ background: var(--date-picker-day-selected-background);
925
+ & .button__label {
926
+ color: var(--date-picker-day-selected-text-color);
927
+ }
928
+ &:hover {
929
+ background: var(--date-picker-day-selected-background) !important;
930
+ }
931
+ }
932
+ &.react-datepicker__day--outside-month {
933
+ & .button__label {
934
+ color: var(--date-picker-day-weekend-outside-text-color) !important;
935
+ }
936
+ }
937
+ &.react-datepicker__day--in-range {
938
+ border-radius: 0;
939
+ background: var(--date-picker-day-selected-background);
940
+ & .button__label {
941
+ color: var(--date-picker-day-selected-text-color);
942
+ }
943
+ &:hover {
944
+ background: var(--date-picker-day-selected-background) !important;
945
+ & .button__label {
946
+ color: var(--date-picker-day-selected-text-color) !important;
947
+ }
948
+ }
949
+ }
950
+ &.react-datepicker__day--range {
951
+ background-color: var(--date-picker-day-range-background) !important;
952
+ border-radius: var(--date-picker-day-range-border-radius) !important;
953
+ & .button__label {
954
+ color: var(--date-picker-day-range-text-color) !important;
955
+ }
956
+ &-start {
957
+ border-radius: var(--date-picker-day-range-start-border-radius) !important;
958
+ &:hover {
959
+ border-radius: var(--date-picker-day-range-start-border-radius) !important;
960
+ }
961
+ }
962
+ &-end {
963
+ border-radius: var(--date-picker-day-range-end-border-radius) !important;
964
+ &:hover {
965
+ border-radius: var(--date-picker-day-range-end-border-radius) !important;
966
+ }
967
+ }
968
+ }
860
969
  }
861
970
  &--outside-month {
862
971
  background: var(--date-picker-day-outside-background) !important;
@@ -874,33 +983,36 @@
874
983
  }
875
984
  }
876
985
  &__time {
877
- background: var(--date-picker-container-background) !important;
878
986
  width: 95px;
987
+ background: var(--date-picker-background) !important;
879
988
  &-container {
880
989
  width: auto;
881
- padding: var(--date-picker-container-padding);
990
+ float: none;
991
+ padding: var(--date-picker-padding);
882
992
  display: flex;
883
993
  flex-direction: column;
884
994
  gap: 24px;
885
- border-left: 1px solid var(--date-picker-container-border-color);
995
+ border-left: var(--date-picker-border);
996
+ ^&-box {
997
+ }
886
998
  }
887
999
  &-list {
888
- height: 300px !important;
1000
+ height: 240px !important;
889
1001
  &-item {
890
1002
  border-radius: var(--date-picker-day-border-radius);
891
1003
  font-size: var(--date-picker-name-size);
892
1004
  line-height: 30px;
893
- max-height: var(--date-picker-height);
1005
+ max-height: var(--date-picker-day-height);
894
1006
  &:hover {
895
- background: var(--date-picker-day-background-hover) !important;
1007
+ background: var(--date-picker-day-hover-background) !important;
896
1008
  }
897
1009
  &--selected {
898
- background: var(--date-picker-selected-background) !important;
899
- color: var(--date-picker-selected-color) !important;
1010
+ background: var(--date-picker-day-selected-background) !important;
1011
+ color: var(--date-picker-day-selected-text-color) !important;
900
1012
  font-weight: var(--date-picker-selected-weight) !important;
901
- }
902
- &--selected:hover {
903
- background: var(--date-picker-selected-background-hover) !important;
1013
+ &:hover {
1014
+ background: var(--date-picker-day-selected-background) !important;
1015
+ }
904
1016
  }
905
1017
  }
906
1018
  }
@@ -916,7 +1028,7 @@
916
1028
  margin: 0;
917
1029
  padding: 4px;
918
1030
  float: none;
919
- border-top: 1px solid var(--date-picker-container-border-color);
1031
+ border-top: var(--date-picker-border);
920
1032
  text-align: center;
921
1033
  ^^&-time {
922
1034
  &__caption {
@@ -965,26 +1077,41 @@
965
1077
  }
966
1078
  }
967
1079
  :root {
1080
+ --date-picker-name-size: 18px;
1081
+ --date-picker-name-weight: 400;
1082
+ --date-picker-selected-weight: 400;
1083
+ --date-picker-input-border-radius: 6px;
1084
+
1085
+ --date-picker-background: var(--color-surface-primary);
1086
+ --date-picker-padding: 24px 12px;
1087
+ --date-picker-box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.2);
1088
+ --date-picker-border-radius: 12px;
1089
+ --date-picker-border: 1px solid var(--color-surface-tertiary);
1090
+
968
1091
  --date-picker-day-width: 40px;
969
1092
  --date-picker-day-height: 40px;
970
1093
  --date-picker-day-padding: 8px 0;
971
1094
  --date-picker-day-border-radius: 6px;
972
- --date-picker-input-border-radius: 6px;
973
- --date-picker-day-color-hover: var(--color-surface-text-secondary);
974
- --date-picker-day-background-hover: var(--color-accent-tertiary);
975
- --date-picker-month-border-radius: 12px;
976
- --date-picker-container-border-color: var(--color-surface-tertiary);
977
- --date-picker-container-background: var(--color-surface-primary);
978
- --date-picker-container-padding: 24px 12px;
979
- --date-picker-container-box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.2);
980
- --date-picker-name-color: var(--color-surface-text);
981
- --date-picker-name-size: 18px;
982
- --date-picker-name-weight: 400;
983
- --date-picker-selected-color: var(--color-accent-text-primary);
984
- --date-picker-selected-weight: 400;
985
- --date-picker-selected-background: var(--color-accent-primary);
986
- --date-picker-selected-background-hover: var(--color-accent-primary-hover);
987
- --date-picker-outside-color: var(--color-surface-text-quaternary);
988
- --date-picker-weekend-color: var(--color-secondary-primary);
989
- --date-picker-outside-weekend-color: var(--color-secondary-text-disabled);
1095
+
1096
+ --date-picker-day-hover-background: var(--color-accent-tertiary);
1097
+ --date-picker-day-hover-text-color: var(--color-surface-text-secondary);
1098
+
1099
+ --date-picker-day-range-background: var(--color-accent-tertiary);
1100
+ --date-picker-day-range-text-color: var(--color-accent-text-secondary);
1101
+ --date-picker-day-range-border-radius: 0;
1102
+ --date-picker-day-range-start-border-radius: 12px 0 0 12px;
1103
+ --date-picker-day-range-end-border-radius: 0 12px 12px 0;
1104
+
1105
+ --date-picker-day-today-background: var(--color-surface-secondary);
1106
+ --date-picker-day-today-text-color: var(--color-surface-text-primary);
1107
+
1108
+ --date-picker-day-weekend-background: var(--color-surface-primary);
1109
+ --date-picker-day-weekend-text-color: var(--color-secondary-text-secondary);
1110
+ --date-picker-day-weekend-outside-text-color: var(--color-secondary-text-disabled);
1111
+
1112
+ --date-picker-day-selected-background: var(--color-accent-primary);
1113
+ --date-picker-day-selected-text-color: var(--color-accent-text-primary);
1114
+
1115
+ --date-picker-day-outside-background: var(--color-surface-primary);
1116
+ --date-picker-day-outside-text-color: var(--color-surface-text-quaternary);
990
1117
  }
@@ -57,5 +57,5 @@
57
57
  }
58
58
  }
59
59
  }
60
- }
60
+ }
61
61
  }
@@ -20,7 +20,29 @@
20
20
  &_set {
21
21
  &_float {
22
22
  width: 320px;
23
- margin: 16px 24px;
23
+ ^^&-wrapper {
24
+ display: flex;
25
+ flex-direction: column;
26
+ gap: 4px;
27
+ border-radius: 8px;
28
+ @mixin elevation-8;
29
+ padding: 12px 16px;
30
+ }
31
+ }
32
+ }
33
+ }
34
+ .notification__item {
35
+ &_set {
36
+ &_top {
37
+ width: 320px;
38
+ ^^&-wrapper {
39
+ padding: 12px 0;
40
+ display: flex;
41
+ flex-direction: column;
42
+ justify-content: center;
43
+ align-items: center;
44
+ gap: 4px;
45
+ }
24
46
  }
25
47
  }
26
48
  }
@@ -28,9 +50,6 @@
28
50
  &_status {
29
51
  &_success {
30
52
  ^^&-wrapper {
31
- border-radius: 8px;
32
- @mixin elevation-8;
33
- padding: 12px 16px;
34
53
  background: var(--color-success-primary);
35
54
  ^^^&-title {
36
55
  color: var(--color-success-text-secondary);
@@ -44,9 +63,6 @@
44
63
  }
45
64
  &_error {
46
65
  ^^&-wrapper {
47
- border-radius: 8px;
48
- @mixin elevation-8;
49
- padding: 12px 16px;
50
66
  background: var(--color-error-primary);
51
67
  ^^^&-title {
52
68
  color: var(--color-error-text-secondary);
@@ -58,5 +74,18 @@
58
74
  }
59
75
  }
60
76
  }
77
+ &_warning {
78
+ ^^&-wrapper {
79
+ background: var(--color-primary-primary);
80
+ ^^^&-title {
81
+ color: var(--color-primary-text-primary);
82
+ @mixin h5;
83
+ }
84
+ ^^^&-text {
85
+ color: var(--color-primary-text-primary);
86
+ @mixin text-s;
87
+ }
88
+ }
89
+ }
61
90
  }
62
91
  }
@@ -3,6 +3,11 @@
3
3
  grid-template-columns: auto 1fr;
4
4
  grid-template-rows: auto auto;
5
5
  column-gap: 4px;
6
+ &:hover {
7
+ .radio-button__state {
8
+ border-color: var(--radio-button-state-hover-border);
9
+ }
10
+ }
6
11
  &__item {
7
12
  position: relative;
8
13
  cursor: pointer;
@@ -97,3 +102,6 @@
97
102
  }
98
103
  }
99
104
  }
105
+ :root {
106
+ --radio-button-state-hover-border: var(--color-surface-border-tertiary);
107
+ }
@@ -21,6 +21,7 @@
21
21
  transition: left 0.3s ease, width 0.3s ease;
22
22
  }
23
23
  ^^&__item {
24
+ border-radius: 6px;
24
25
  min-width: 120px;
25
26
  position: relative;
26
27
  display: flex;
@@ -262,7 +262,7 @@
262
262
  overflow: hidden;
263
263
  display: flex;
264
264
  flex: 1;
265
- flex-wrap: wrap;
265
+ flex-wrap: nowrap;
266
266
  align-items: center;
267
267
  &--is-multi {
268
268
  gap: 8px;
@@ -4,7 +4,7 @@
4
4
  overflow: hidden;
5
5
  display: flex;
6
6
  flex: 1;
7
- flex-wrap: wrap;
7
+ flex-wrap: nowrap;
8
8
  align-items: center;
9
9
  &--is-multi {
10
10
  gap: 8px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/ui",
3
- "version": "1.0.20",
3
+ "version": "1.0.22",
4
4
  "description": "UI components (Modal, Loader, Popup, etc)",
5
5
  "keywords": [
6
6
  "Modal",