@itcase/ui 1.1.4 → 1.1.6

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.
@@ -126,6 +126,7 @@ function ScrollOnDrag(props) {
126
126
  const {
127
127
  children,
128
128
  className,
129
+ isScrollHidden,
129
130
  speed
130
131
  } = props;
131
132
  const ref = React.useRef(null);
@@ -175,7 +176,7 @@ function ScrollOnDrag(props) {
175
176
  styles: groupStyles
176
177
  } = useStyles.useStyles(props);
177
178
  return /*#__PURE__*/React__default.default.createElement("div", Object.assign({
178
- className: clsx__default.default(className, 'scrolldrag', borderColorClass, borderTypeClass, borderWidthClass, elevationClass, fillClass, fillHoverClass, heightClass, widthClass)
179
+ className: clsx__default.default(className, 'scrolldrag', isScrollHidden === true && 'scrolldrag_scroll_hidden', borderColorClass, borderTypeClass, borderWidthClass, elevationClass, fillClass, fillHoverClass, heightClass, widthClass)
179
180
  }, events, {
180
181
  ref: ref,
181
182
  style: groupStyles
@@ -191,6 +192,8 @@ ScrollOnDrag.propTypes = {
191
192
  fill: PropTypes__default.default.oneOf(fill.default),
192
193
  fillHover: PropTypes__default.default.oneOf(fillHover.default),
193
194
  height: PropTypes__default.default.oneOf(height.default),
195
+ isScrollHidden: PropTypes__default.default.bool,
196
+ speed: PropTypes__default.default.number,
194
197
  width: PropTypes__default.default.oneOf(width.default)
195
198
  };
196
199
  ScrollOnDrag.__docgenInfo = {
@@ -275,6 +278,20 @@ ScrollOnDrag.__docgenInfo = {
275
278
  },
276
279
  "required": false
277
280
  },
281
+ "isScrollHidden": {
282
+ "description": "",
283
+ "type": {
284
+ "name": "bool"
285
+ },
286
+ "required": false
287
+ },
288
+ "speed": {
289
+ "description": "",
290
+ "type": {
291
+ "name": "number"
292
+ },
293
+ "required": false
294
+ },
278
295
  "width": {
279
296
  "description": "",
280
297
  "type": {
@@ -76,7 +76,7 @@ const Segmented = /*#__PURE__*/React__default.default.forwardRef((props, ref) =>
76
76
  });
77
77
  const borderColorClass = useDeviceTargetClass.useDeviceTargetClass(props, {
78
78
  prefix: 'border-color_',
79
- propsKey: 'borderColor'
79
+ propsKey: 'inputBorderColor'
80
80
  });
81
81
  const borderWidthClass = useDeviceTargetClass.useDeviceTargetClass(props, {
82
82
  prefix: 'border-width_',
@@ -8223,19 +8223,37 @@ const SelectContainer = /*#__PURE__*/React__namespace.default.forwardRef(functio
8223
8223
  }
8224
8224
  };
8225
8225
  }, []);
8226
+ const selectAppearanceItem = selectConfig.appearance[appearance] || {};
8226
8227
  return /*#__PURE__*/React__namespace.default.createElement(SelectComponent, {
8227
- className: clsx__default.default(className, 'select', fillClass, fillHoverClass, shapeClass, borderColorClass, sizeClass || selectConfig.appearance[appearance]?.size && `select_size_${selectConfig.appearance[appearance].size}`.replace(/([A-Z])/g, '-$1').toLowerCase(), hideValueContainer && 'select_state_hide-value-container', set && `select_set_${set}`),
8228
- classNamePrefix: "select",
8229
- styles: clearStyle,
8230
8228
  after: after,
8231
8229
  badgeAppearance: badgeAppearance,
8232
8230
  badgeSize: badgeSize,
8233
8231
  badgeTextSize: badgeTextSize,
8234
8232
  before: before,
8233
+ className: clsx__default.default(className, 'select', fillClass, fillHoverClass, shapeClass, borderColorClass, sizeClass || selectAppearanceItem.size && `select_size_${selectAppearanceItem.size}`.replace(/([A-Z])/g, '-$1').toLowerCase(), hideValueContainer && 'select_state_hide-value-container', set && `select_set_${set}`),
8234
+ classNamePrefix: "select",
8235
8235
  clearIcon: clearIcon,
8236
8236
  clearIconFill: clearIconFill,
8237
8237
  clearIconStroke: clearIconStroke,
8238
8238
  closeMenuOnSelect: closeMenuOnSelect ?? false,
8239
+ components: {
8240
+ Control: SelectControl,
8241
+ IndicatorsContainer: SelectIndicatorsContainer,
8242
+ ClearIndicator: SelectClearIndicator,
8243
+ DropdownIndicator: SelectDropdownIndicator,
8244
+ IndicatorSeparator: () => null,
8245
+ Input: SelectInput,
8246
+ Menu: SelectMenu,
8247
+ MultiValueContainer: SelectMultiValueContainer,
8248
+ MultiValueRemove: SelectMultiValueRemove,
8249
+ MultiValueLabel: SelectMultiValueLabel,
8250
+ Option: SelectOption,
8251
+ SingleValue: SelectSingleValue,
8252
+ Placeholder: SelectPlaceholder,
8253
+ ValueContainer: SelectValueContainer,
8254
+ NoOptionsMessage: SelectNoOptions,
8255
+ GroupHeading: SelectGroupHeading
8256
+ },
8239
8257
  defaultValue: initialValue,
8240
8258
  dividerDirection: dividerDirection,
8241
8259
  dividerFill: dividerFill,
@@ -8243,7 +8261,7 @@ const SelectContainer = /*#__PURE__*/React__namespace.default.forwardRef(functio
8243
8261
  dropdownIcon: dropdownIcon,
8244
8262
  dropdownIconFill: dropdownIconFill,
8245
8263
  dropdownIconStroke: dropdownIconStroke,
8246
- elevation: elevation || selectConfig.appearance[appearance].elevation,
8264
+ elevation: elevation || selectAppearanceItem.elevation,
8247
8265
  filterOption: filterOption,
8248
8266
  headingFill: headingFillClass,
8249
8267
  headingFillHover: headingFillHoverClass,
@@ -8253,13 +8271,16 @@ const SelectContainer = /*#__PURE__*/React__namespace.default.forwardRef(functio
8253
8271
  hideSelectedOptions: hideSelectedOptions,
8254
8272
  inputAfter: inputAfter,
8255
8273
  inputBefore: inputBefore,
8256
- inputBorderColor: inputBorderColorClass || selectConfig.appearance[appearance]?.inputBorderColor.replace(/([A-Z])/g, '-$1').toLowerCase(),
8257
- inputBorderColorHover: inputBorderColorHoverClass || selectConfig.appearance[appearance]?.inputBorderColorHover.replace(/([A-Z])/g, '-$1').toLowerCase(),
8274
+ inputBorderColor: inputBorderColorClass || selectAppearanceItem.inputBorderColor && selectAppearanceItem.inputBorderColor.replace(/([A-Z])/g, '-$1').toLowerCase(),
8275
+ inputBorderColorHover: inputBorderColorHoverClass || selectAppearanceItem.inputBorderColorHover && selectAppearanceItem.inputBorderColorHover.replace(/([A-Z])/g, '-$1').toLowerCase(),
8258
8276
  inputCaretColor: inputCaretColorClass,
8259
- inputFill: inputFillClass || selectConfig.appearance[appearance]?.inputFill && `select__control_fill_${selectConfig.appearance[appearance].inputFill}`.replace(/([A-Z])/g, '-$1').toLowerCase(),
8260
- inputShape: inputShapeClass || selectConfig.appearance[appearance]?.inputShape && `select__control_shape_${selectConfig.appearance[appearance].inputShape}`.replace(/([A-Z])/g, '-$1').toLowerCase(),
8261
- inputTextColor: inputTextColorClass || selectConfig.appearance[appearance].inputTextColor,
8262
- inputTextSize: inputTextSizeClass || selectConfig.appearance[appearance].inputTextSize,
8277
+ inputFill: inputFillClass || selectAppearanceItem.inputFill && `select__control_fill_${selectAppearanceItem.inputFill}`.replace(/([A-Z])/g, '-$1').toLowerCase(),
8278
+ inputShape: inputShapeClass || selectAppearanceItem.inputShape && `select__control_shape_${selectAppearanceItem.inputShape}`.replace(/([A-Z])/g, '-$1').toLowerCase(),
8279
+ inputTextColor: inputTextColorClass || selectAppearanceItem.inputTextColor,
8280
+ inputTextSize: inputTextSizeClass || selectAppearanceItem.inputTextSize,
8281
+ isClearable: isClearable,
8282
+ isMulti: isMulti,
8283
+ isSearchable: isSearchable,
8263
8284
  menuAfter: menuAfter,
8264
8285
  menuBefore: menuBefore,
8265
8286
  menuItemSize: menuItemSize,
@@ -8272,50 +8293,30 @@ const SelectContainer = /*#__PURE__*/React__namespace.default.forwardRef(functio
8272
8293
  noOptionBorder: optionBorderClass,
8273
8294
  noOptionBorderType: optionBorderTypeClass,
8274
8295
  noOptionsFill: optionFillClass,
8275
- noOptionsText: noOptionsText || selectConfig.appearance[appearance].noOptionsText,
8276
- noOptionsTextColor: noOptionsTextColorClass || selectConfig.appearance[appearance].noOptionsTextColor,
8277
- noOptionsTextSize: noOptionsTextSizeClass || selectConfig.appearance[appearance].noOptionsTextSize,
8296
+ noOptionsText: noOptionsText || selectAppearanceItem.noOptionsText,
8297
+ noOptionsTextColor: noOptionsTextColorClass || selectAppearanceItem.noOptionsTextColor,
8298
+ noOptionsTextSize: noOptionsTextSizeClass || selectAppearanceItem.noOptionsTextSize,
8278
8299
  openMenuOnClick: openMenuOnClick,
8279
8300
  optionAfter: optionAfter,
8280
8301
  optionBefore: optionBefore,
8281
8302
  optionBorder: optionBorderClass,
8282
8303
  optionBorderType: optionBorderTypeClass,
8283
- optionFill: optionFillClass || selectConfig.appearance[appearance]?.optionFill && `fill_${selectConfig.appearance[appearance].optionFill}`.replace(/([A-Z])/g, '-$1').toLowerCase(),
8284
- optionFillHover: optionFillHoverClass || selectConfig.appearance[appearance]?.optionFillHover && `fill_hover_${selectConfig.appearance[appearance].optionFillHover}`.replace(/([A-Z])/g, '-$1').toLowerCase(),
8304
+ optionFill: optionFillClass || selectAppearanceItem.optionFill && `fill_${selectAppearanceItem.optionFill}`.replace(/([A-Z])/g, '-$1').toLowerCase(),
8305
+ optionFillHover: optionFillHoverClass || selectAppearanceItem.optionFillHover && `fill_hover_${selectAppearanceItem.optionFillHover}`.replace(/([A-Z])/g, '-$1').toLowerCase(),
8285
8306
  options: options,
8286
8307
  optionSelected: optionSelected,
8287
8308
  optionShape: optionShapeClass,
8288
- optionTextColor: optionTextColorClass || selectConfig.appearance[appearance].optionTextColor,
8289
- optionTextSize: optionTextSizeClass || selectConfig.appearance[appearance].optionTextSize,
8290
- placeholder: placeholder || selectConfig.appearance[appearance].placeholder,
8291
- placeholderTextColor: placeholderTextColor || selectConfig.appearance[appearance].placeholderTextColor,
8292
- placeholderTextSize: placeholderTextSize || selectConfig.appearance[appearance].placeholderTextSize,
8309
+ optionTextColor: optionTextColorClass || selectAppearanceItem.optionTextColor,
8310
+ optionTextSize: optionTextSizeClass || selectAppearanceItem.optionTextSize,
8311
+ placeholder: placeholder || selectAppearanceItem.placeholder,
8312
+ placeholderTextColor: placeholderTextColor || selectAppearanceItem.placeholderTextColor,
8313
+ placeholderTextSize: placeholderTextSize || selectAppearanceItem.placeholderTextSize,
8293
8314
  ref: selectRef,
8294
8315
  set: set,
8295
- showDivider: showDivider,
8296
8316
  showBadge: showBadge,
8317
+ showDivider: showDivider,
8318
+ styles: clearStyle,
8297
8319
  value: value,
8298
- components: {
8299
- Control: SelectControl,
8300
- IndicatorsContainer: SelectIndicatorsContainer,
8301
- ClearIndicator: SelectClearIndicator,
8302
- DropdownIndicator: SelectDropdownIndicator,
8303
- IndicatorSeparator: () => null,
8304
- Input: SelectInput,
8305
- Menu: SelectMenu,
8306
- MultiValueContainer: SelectMultiValueContainer,
8307
- MultiValueRemove: SelectMultiValueRemove,
8308
- MultiValueLabel: SelectMultiValueLabel,
8309
- Option: SelectOption,
8310
- SingleValue: SelectSingleValue,
8311
- Placeholder: SelectPlaceholder,
8312
- ValueContainer: SelectValueContainer,
8313
- NoOptionsMessage: SelectNoOptions,
8314
- GroupHeading: SelectGroupHeading
8315
- },
8316
- isClearable: isClearable,
8317
- isMulti: isMulti,
8318
- isSearchable: isSearchable,
8319
8320
  onChange: onChange
8320
8321
  });
8321
8322
  });
@@ -1259,6 +1259,13 @@ function updateProgress(translate) {
1259
1259
  swiper.emit('progress', progress);
1260
1260
  }
1261
1261
 
1262
+ const toggleSlideClasses = (slideEl, condition, className) => {
1263
+ if (condition && !slideEl.classList.contains(className)) {
1264
+ slideEl.classList.add(className);
1265
+ } else if (!condition && slideEl.classList.contains(className)) {
1266
+ slideEl.classList.remove(className);
1267
+ }
1268
+ };
1262
1269
  function updateSlidesClasses() {
1263
1270
  const swiper = this;
1264
1271
  const {
@@ -1272,9 +1279,6 @@ function updateSlidesClasses() {
1272
1279
  const getFilteredSlide = selector => {
1273
1280
  return elementChildren(slidesEl, `.${params.slideClass}${selector}, swiper-slide${selector}`)[0];
1274
1281
  };
1275
- slides.forEach(slideEl => {
1276
- slideEl.classList.remove(params.slideActiveClass, params.slideNextClass, params.slidePrevClass);
1277
- });
1278
1282
  let activeSlide;
1279
1283
  let prevSlide;
1280
1284
  let nextSlide;
@@ -1297,35 +1301,25 @@ function updateSlidesClasses() {
1297
1301
  }
1298
1302
  }
1299
1303
  if (activeSlide) {
1300
- // Active classes
1301
- activeSlide.classList.add(params.slideActiveClass);
1302
- if (gridEnabled) {
1303
- if (nextSlide) {
1304
- nextSlide.classList.add(params.slideNextClass);
1305
- }
1306
- if (prevSlide) {
1307
- prevSlide.classList.add(params.slidePrevClass);
1308
- }
1309
- } else {
1304
+ if (!gridEnabled) {
1310
1305
  // Next Slide
1311
1306
  nextSlide = elementNextAll(activeSlide, `.${params.slideClass}, swiper-slide`)[0];
1312
1307
  if (params.loop && !nextSlide) {
1313
1308
  nextSlide = slides[0];
1314
1309
  }
1315
- if (nextSlide) {
1316
- nextSlide.classList.add(params.slideNextClass);
1317
- }
1318
1310
 
1319
1311
  // Prev Slide
1320
1312
  prevSlide = elementPrevAll(activeSlide, `.${params.slideClass}, swiper-slide`)[0];
1321
1313
  if (params.loop && !prevSlide === 0) {
1322
1314
  prevSlide = slides[slides.length - 1];
1323
1315
  }
1324
- if (prevSlide) {
1325
- prevSlide.classList.add(params.slidePrevClass);
1326
- }
1327
1316
  }
1328
1317
  }
1318
+ slides.forEach(slideEl => {
1319
+ toggleSlideClasses(slideEl, slideEl === activeSlide, params.slideActiveClass);
1320
+ toggleSlideClasses(slideEl, slideEl === nextSlide, params.slideNextClass);
1321
+ toggleSlideClasses(slideEl, slideEl === prevSlide, params.slidePrevClass);
1322
+ });
1329
1323
  swiper.emitSlidesClasses();
1330
1324
  }
1331
1325
 
@@ -1703,6 +1697,7 @@ function translateTo(translate, speed, runCallbacks, translateBounds, internal)
1703
1697
  swiper.wrapperEl.removeEventListener('transitionend', swiper.onTranslateToWrapperTransitionEnd);
1704
1698
  swiper.onTranslateToWrapperTransitionEnd = null;
1705
1699
  delete swiper.onTranslateToWrapperTransitionEnd;
1700
+ swiper.animating = false;
1706
1701
  if (runCallbacks) {
1707
1702
  swiper.emit('transitionEnd');
1708
1703
  }
@@ -1810,9 +1805,6 @@ function slideTo(index, speed, runCallbacks, internal, initial) {
1810
1805
  if (index === void 0) {
1811
1806
  index = 0;
1812
1807
  }
1813
- if (speed === void 0) {
1814
- speed = this.params.speed;
1815
- }
1816
1808
  if (runCallbacks === void 0) {
1817
1809
  runCallbacks = true;
1818
1810
  }
@@ -1832,9 +1824,12 @@ function slideTo(index, speed, runCallbacks, internal, initial) {
1832
1824
  wrapperEl,
1833
1825
  enabled
1834
1826
  } = swiper;
1835
- if (swiper.animating && params.preventInteractionOnTransition || !enabled && !internal && !initial || swiper.destroyed) {
1827
+ if (!enabled && !internal && !initial || swiper.destroyed || swiper.animating && params.preventInteractionOnTransition) {
1836
1828
  return false;
1837
1829
  }
1830
+ if (typeof speed === 'undefined') {
1831
+ speed = swiper.params.speed;
1832
+ }
1838
1833
  const skip = Math.min(swiper.params.slidesPerGroupSkip, slideIndex);
1839
1834
  let snapIndex = skip + Math.floor((slideIndex - skip) / swiper.params.slidesPerGroup);
1840
1835
  if (snapIndex >= snapGrid.length) snapIndex = snapGrid.length - 1;
@@ -1961,9 +1956,6 @@ function slideToLoop(index, speed, runCallbacks, internal) {
1961
1956
  if (index === void 0) {
1962
1957
  index = 0;
1963
1958
  }
1964
- if (speed === void 0) {
1965
- speed = this.params.speed;
1966
- }
1967
1959
  if (runCallbacks === void 0) {
1968
1960
  runCallbacks = true;
1969
1961
  }
@@ -1973,6 +1965,9 @@ function slideToLoop(index, speed, runCallbacks, internal) {
1973
1965
  }
1974
1966
  const swiper = this;
1975
1967
  if (swiper.destroyed) return;
1968
+ if (typeof speed === 'undefined') {
1969
+ speed = swiper.params.speed;
1970
+ }
1976
1971
  const gridEnabled = swiper.grid && swiper.params.grid && swiper.params.grid.rows > 1;
1977
1972
  let newIndex = index;
1978
1973
  if (swiper.params.loop) {
@@ -2004,6 +1999,9 @@ function slideToLoop(index, speed, runCallbacks, internal) {
2004
1999
  if (centeredSlides) {
2005
2000
  needLoopFix = needLoopFix || targetSlideIndex < Math.ceil(slidesPerView / 2);
2006
2001
  }
2002
+ if (internal && centeredSlides && swiper.params.slidesPerView !== 'auto' && !gridEnabled) {
2003
+ needLoopFix = false;
2004
+ }
2007
2005
  if (needLoopFix) {
2008
2006
  const direction = centeredSlides ? targetSlideIndex < swiper.activeIndex ? 'prev' : 'next' : targetSlideIndex - swiper.activeIndex - 1 < swiper.params.slidesPerView ? 'next' : 'prev';
2009
2007
  swiper.loopFix({
@@ -2029,9 +2027,6 @@ function slideToLoop(index, speed, runCallbacks, internal) {
2029
2027
 
2030
2028
  /* eslint no-unused-vars: "off" */
2031
2029
  function slideNext(speed, runCallbacks, internal) {
2032
- if (speed === void 0) {
2033
- speed = this.params.speed;
2034
- }
2035
2030
  if (runCallbacks === void 0) {
2036
2031
  runCallbacks = true;
2037
2032
  }
@@ -2042,6 +2037,9 @@ function slideNext(speed, runCallbacks, internal) {
2042
2037
  animating
2043
2038
  } = swiper;
2044
2039
  if (!enabled || swiper.destroyed) return swiper;
2040
+ if (typeof speed === 'undefined') {
2041
+ speed = swiper.params.speed;
2042
+ }
2045
2043
  let perGroup = params.slidesPerGroup;
2046
2044
  if (params.slidesPerView === 'auto' && params.slidesPerGroup === 1 && params.slidesPerGroupAuto) {
2047
2045
  perGroup = Math.max(swiper.slidesPerViewDynamic('current', true), 1);
@@ -2070,9 +2068,6 @@ function slideNext(speed, runCallbacks, internal) {
2070
2068
 
2071
2069
  /* eslint no-unused-vars: "off" */
2072
2070
  function slidePrev(speed, runCallbacks, internal) {
2073
- if (speed === void 0) {
2074
- speed = this.params.speed;
2075
- }
2076
2071
  if (runCallbacks === void 0) {
2077
2072
  runCallbacks = true;
2078
2073
  }
@@ -2086,6 +2081,9 @@ function slidePrev(speed, runCallbacks, internal) {
2086
2081
  animating
2087
2082
  } = swiper;
2088
2083
  if (!enabled || swiper.destroyed) return swiper;
2084
+ if (typeof speed === 'undefined') {
2085
+ speed = swiper.params.speed;
2086
+ }
2089
2087
  const isVirtual = swiper.virtual && params.virtual.enabled;
2090
2088
  if (params.loop) {
2091
2089
  if (animating && !isVirtual && params.loopPreventsSliding) return false;
@@ -2138,22 +2136,19 @@ function slidePrev(speed, runCallbacks, internal) {
2138
2136
 
2139
2137
  /* eslint no-unused-vars: "off" */
2140
2138
  function slideReset(speed, runCallbacks, internal) {
2141
- if (speed === void 0) {
2142
- speed = this.params.speed;
2143
- }
2144
2139
  if (runCallbacks === void 0) {
2145
2140
  runCallbacks = true;
2146
2141
  }
2147
2142
  const swiper = this;
2148
2143
  if (swiper.destroyed) return;
2144
+ if (typeof speed === 'undefined') {
2145
+ speed = swiper.params.speed;
2146
+ }
2149
2147
  return swiper.slideTo(swiper.activeIndex, speed, runCallbacks, internal);
2150
2148
  }
2151
2149
 
2152
2150
  /* eslint no-unused-vars: "off" */
2153
2151
  function slideToClosest(speed, runCallbacks, internal, threshold) {
2154
- if (speed === void 0) {
2155
- speed = this.params.speed;
2156
- }
2157
2152
  if (runCallbacks === void 0) {
2158
2153
  runCallbacks = true;
2159
2154
  }
@@ -2162,6 +2157,9 @@ function slideToClosest(speed, runCallbacks, internal, threshold) {
2162
2157
  }
2163
2158
  const swiper = this;
2164
2159
  if (swiper.destroyed) return;
2160
+ if (typeof speed === 'undefined') {
2161
+ speed = swiper.params.speed;
2162
+ }
2165
2163
  let index = swiper.activeIndex;
2166
2164
  const skip = Math.min(swiper.params.slidesPerGroupSkip, index);
2167
2165
  const snapIndex = skip + Math.floor((index - skip) / swiper.params.slidesPerGroup);
@@ -3340,6 +3338,8 @@ function setBreakpoint() {
3340
3338
  const breakpointParams = breakpointOnlyParams || swiper.originalParams;
3341
3339
  const wasMultiRow = isGridEnabled(swiper, params);
3342
3340
  const isMultiRow = isGridEnabled(swiper, breakpointParams);
3341
+ const wasGrabCursor = swiper.params.grabCursor;
3342
+ const isGrabCursor = breakpointParams.grabCursor;
3343
3343
  const wasEnabled = params.enabled;
3344
3344
  if (wasMultiRow && !isMultiRow) {
3345
3345
  el.classList.remove(`${params.containerModifierClass}grid`, `${params.containerModifierClass}grid-column`);
@@ -3351,6 +3351,11 @@ function setBreakpoint() {
3351
3351
  }
3352
3352
  swiper.emitContainerClasses();
3353
3353
  }
3354
+ if (wasGrabCursor && !isGrabCursor) {
3355
+ swiper.unsetGrabCursor();
3356
+ } else if (!wasGrabCursor && isGrabCursor) {
3357
+ swiper.setGrabCursor();
3358
+ }
3354
3359
 
3355
3360
  // Toggle navigation, pagination, scrollbar
3356
3361
  ['navigation', 'pagination', 'scrollbar'].forEach(prop => {
@@ -4676,7 +4681,7 @@ const updateOnVirtualData = swiper => {
4676
4681
  };
4677
4682
 
4678
4683
  /**
4679
- * Swiper React 11.0.7
4684
+ * Swiper React 11.1.0
4680
4685
  * Most modern mobile touch slider and framework with hardware accelerated transitions
4681
4686
  * https://swiperjs.com
4682
4687
  *
@@ -4684,7 +4689,7 @@ const updateOnVirtualData = swiper => {
4684
4689
  *
4685
4690
  * Released under the MIT License
4686
4691
  *
4687
- * Released on: February 27, 2024
4692
+ * Released on: March 28, 2024
4688
4693
  */
4689
4694
 
4690
4695
 
@@ -12,16 +12,6 @@
12
12
  top: 6px;
13
13
  width: 9px;
14
14
  }
15
- .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle {
16
- fill: #f0f0f0;
17
- color: #f0f0f0;
18
- stroke: #aeaeae;
19
- }
20
- .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle {
21
- fill: #fff;
22
- color: #fff;
23
- stroke: #aeaeae;
24
- }
25
15
  .react-datepicker-wrapper {
26
16
  display: inline-block;
27
17
  padding: 0;
@@ -50,6 +40,17 @@
50
40
  z-index: 1;
51
41
  line-height: 0;
52
42
  }
43
+ .react-datepicker-popper .react-datepicker__triangle {
44
+ stroke: #aeaeae;
45
+ }
46
+ .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle {
47
+ fill: #f0f0f0;
48
+ color: #f0f0f0;
49
+ }
50
+ .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle {
51
+ fill: #fff;
52
+ color: #fff;
53
+ }
53
54
  .react-datepicker__header {
54
55
  text-align: center;
55
56
  background-color: #f0f0f0;
@@ -38,20 +38,14 @@
38
38
  }
39
39
  }
40
40
  .grid {
41
- @each $val in auto, normal, stretch, center, start, end, space-around, space-between, space-evenly, safe center, unsafe center, self-start, self-end, first, baseline, first, baseline, last baseline {
41
+ @each $val in auto, normal, stretch, center, start, end, space-around, space-between, space-evenly,
42
+ safe center, unsafe center, self-start, self-end, first, baseline, first, baseline,
43
+ last baseline {
42
44
  &_align-content_$(val) {
43
- & > ^&__wrapper {
44
- & > div {
45
- align-content: $(val);
46
- }
47
- }
45
+ align-content: $(val);
48
46
  }
49
47
  &_align-items_$(val) {
50
- & > ^&__wrapper {
51
- & > div {
52
- align-items: $(val);
53
- }
54
- }
48
+ align-items: $(val);
55
49
  }
56
50
  }
57
51
  }
@@ -86,16 +80,14 @@
86
80
  }
87
81
  }
88
82
  .grid {
89
- @each $val in auto, legacy, normal, stretch, center, start, end, left, right, space-around, space-between, space-evenly, safe, center, unsafe center, self-start, self-end, left, right, baseline, first baseline, last baseline {
83
+ @each $val in auto, legacy, normal, stretch, center, start, end, left, right, space-around,
84
+ space-between, space-evenly, safe, center, unsafe center, self-start, self-end, left, right,
85
+ baseline, first baseline, last baseline {
90
86
  &_justify-content_$(val) {
91
87
  justify-content: $(val);
92
88
  }
93
89
  &_justify-items_$(val) {
94
- & > ^&__wrapper {
95
- & > div {
96
- justify-items: $(val);
97
- }
98
- }
90
+ justify-items: $(val);
99
91
  }
100
92
  }
101
93
  }
@@ -36,6 +36,14 @@
36
36
  background: var(--input-state-focus-background);
37
37
  border: solid 1px var(--input-state-focus-border);
38
38
  }
39
+ &_required {
40
+ background: var(--input-state-required-background);
41
+ border: solid 1px var(--input-state-required-border);
42
+ }
43
+ &_custom {
44
+ background: var(--input-state-custom-background);
45
+ border: solid 1px var(--input-state-custom-border);
46
+ }
39
47
  }
40
48
  }
41
49
  .input {
@@ -84,9 +84,9 @@
84
84
  :root {
85
85
  --menu-item-size-xxs-padding: 0 4px;
86
86
  --menu-item-size-xs-padding: 0 4px;
87
- --menu-item-size-s-padding: 1px 4px;
88
- --menu-item-size-m-padding: 2px 4px;
89
- --menu-item-size-l-padding: 4px 6px;
90
- --menu-item-size-xl-padding: 7px 8px;
91
- --menu-item-size-xxl-padding: 4px 10px;
87
+ --menu-item-size-s-padding: 3px 4px;
88
+ --menu-item-size-m-padding: 4px 4px;
89
+ --menu-item-size-l-padding: 6px 6px;
90
+ --menu-item-size-xl-padding: 10px 8px;
91
+ --menu-item-size-xxl-padding: 12px 10px;
92
92
  }
@@ -29,6 +29,7 @@
29
29
  min-height: 200px;
30
30
  max-width: var(--modal-max-width, 1200px);
31
31
  position: relative;
32
+ z-index: 100;
32
33
  &:focus {
33
34
  outline: 0;
34
35
  }
@@ -1,6 +1,16 @@
1
1
  .scrolldrag {
2
2
  white-space: nowrap;
3
3
  padding: 0 5px;
4
- display: inline-block;
5
4
  overflow: scroll hidden;
5
+ display: inline-block;
6
+ cursor: grab;
7
+ &_scroll_hidden {
8
+ overflow: auto;
9
+ -ms-overflow-style: none;
10
+ scrollbar-width: none;
11
+ &::-webkit-scrollbar {
12
+ width: 0;
13
+ height: 0;
14
+ }
15
+ }
6
16
  }
@@ -337,7 +337,7 @@
337
337
  .select {
338
338
  &__single-value {
339
339
  display: flex;
340
- position: absolute;
340
+ /* position: absolute; */
341
341
  }
342
342
  }
343
343
 
@@ -1,6 +1,6 @@
1
1
  .select {
2
2
  &__single-value {
3
3
  display: flex;
4
- position: absolute;
4
+ /* position: absolute; */
5
5
  }
6
6
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Swiper 11.0.7
2
+ * Swiper 11.1.0
3
3
  * Most modern mobile touch slider and framework with hardware accelerated transitions
4
4
  * https://swiperjs.com
5
5
  *
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * Released under the MIT License
9
9
  *
10
- * Released on: February 27, 2024
10
+ * Released on: March 28, 2024
11
11
  */
12
12
 
13
13
  /* FONT_START */