@dmsi/wedgekit-react 0.0.915 → 0.0.917

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 (54) hide show
  1. package/dist/{chunk-YV5FS7NV.js → chunk-7IPESTQS.js} +13 -9
  2. package/dist/{chunk-3N34VVYD.js → chunk-ZACRFGND.js} +102 -26
  3. package/dist/components/CalendarRange.cjs +17 -15
  4. package/dist/components/CalendarRange.css +49 -0
  5. package/dist/components/CalendarRange.js +2 -2
  6. package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +3 -1
  7. package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.css +49 -0
  8. package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +2 -2
  9. package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +3 -1
  10. package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.css +49 -0
  11. package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +2 -2
  12. package/dist/components/DataGrid/PinnedColumns.cjs +6 -4
  13. package/dist/components/DataGrid/PinnedColumns.css +49 -0
  14. package/dist/components/DataGrid/PinnedColumns.js +2 -2
  15. package/dist/components/DataGrid/TableBody/LoadingCell.cjs +3 -1
  16. package/dist/components/DataGrid/TableBody/LoadingCell.css +49 -0
  17. package/dist/components/DataGrid/TableBody/LoadingCell.js +2 -2
  18. package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +6 -4
  19. package/dist/components/DataGrid/TableBody/TableBodyRow.css +49 -0
  20. package/dist/components/DataGrid/TableBody/TableBodyRow.js +2 -2
  21. package/dist/components/DataGrid/TableBody/index.cjs +8 -6
  22. package/dist/components/DataGrid/TableBody/index.css +49 -0
  23. package/dist/components/DataGrid/TableBody/index.js +2 -2
  24. package/dist/components/DataGrid/index.cjs +17 -15
  25. package/dist/components/DataGrid/index.css +49 -0
  26. package/dist/components/DataGrid/index.js +2 -2
  27. package/dist/components/DataGrid/utils.cjs +5 -3
  28. package/dist/components/DataGrid/utils.css +49 -0
  29. package/dist/components/DataGrid/utils.js +2 -2
  30. package/dist/components/DateInput.cjs +19 -17
  31. package/dist/components/DateInput.css +49 -0
  32. package/dist/components/DateInput.js +2 -2
  33. package/dist/components/DateRangeInput.cjs +17 -15
  34. package/dist/components/DateRangeInput.css +49 -0
  35. package/dist/components/DateRangeInput.js +2 -2
  36. package/dist/components/EmblaCarousel/ArrowButtons.cjs +13 -9
  37. package/dist/components/EmblaCarousel/ArrowButtons.js +1 -1
  38. package/dist/components/EmblaCarousel/index.cjs +113 -33
  39. package/dist/components/EmblaCarousel/index.js +2 -2
  40. package/dist/components/MobileDataGrid/ColumnList.css +49 -0
  41. package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +3 -1
  42. package/dist/components/MobileDataGrid/ColumnSelector/index.css +49 -0
  43. package/dist/components/MobileDataGrid/ColumnSelector/index.js +2 -2
  44. package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +3 -1
  45. package/dist/components/MobileDataGrid/MobileDataGridHeader.css +49 -0
  46. package/dist/components/MobileDataGrid/MobileDataGridHeader.js +2 -2
  47. package/dist/components/MobileDataGrid/index.cjs +21 -19
  48. package/dist/components/MobileDataGrid/index.css +49 -0
  49. package/dist/components/MobileDataGrid/index.js +2 -2
  50. package/dist/components/index.cjs +113 -33
  51. package/dist/components/index.css +49 -0
  52. package/dist/components/index.js +2 -2
  53. package/dist/index.css +49 -0
  54. package/package.json +2 -1
@@ -8662,6 +8662,7 @@ function AccessCardGroup(props) {
8662
8662
  // src/components/EmblaCarousel/index.tsx
8663
8663
  var import_react43 = require("react");
8664
8664
  var import_embla_carousel_react = __toESM(require("embla-carousel-react"), 1);
8665
+ var import_embla_carousel_autoplay = __toESM(require("embla-carousel-autoplay"), 1);
8665
8666
 
8666
8667
  // src/components/EmblaCarousel/SelectedSnapDisplay.tsx
8667
8668
  var import_jsx_runtime67 = require("react/jsx-runtime");
@@ -8699,17 +8700,18 @@ var useSelectedSnapDisplay = (emblaApi) => {
8699
8700
  var import_clsx44 = __toESM(require("clsx"), 1);
8700
8701
  var import_jsx_runtime68 = require("react/jsx-runtime");
8701
8702
  var arrowButtonStyles = (0, import_clsx44.default)(
8702
- "appearance-none bg-transparent border cursor-pointer p-2 flex items-center justify-center size-9 rounded-full transition-colors duration-300 ease-in-out"
8703
+ "appearance-none bg-transparent border cursor-pointer p-2 flex items-center justify-center size-9 rounded-full transition-colors duration-300 ease-in-out group"
8703
8704
  );
8704
8705
  var PrevButton = (props) => {
8705
- const _a = props, { children, disabled } = _a, restProps = __objRest(_a, ["children", "disabled"]);
8706
+ const _a = props, { children, disabled, className, iconClassName, circleChevron } = _a, restProps = __objRest(_a, ["children", "disabled", "className", "iconClassName", "circleChevron"]);
8706
8707
  return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
8707
8708
  "button",
8708
8709
  __spreadProps(__spreadValues({
8709
8710
  className: (0, import_clsx44.default)(
8710
8711
  arrowButtonStyles,
8711
8712
  !disabled && "border-border-primary-normal hover:border-border-action-hover active:border-border-action-active",
8712
- disabled && "border-border-action-disabled"
8713
+ disabled && "border-border-action-disabled",
8714
+ className
8713
8715
  ),
8714
8716
  type: "button"
8715
8717
  }, restProps), {
@@ -8719,8 +8721,9 @@ var PrevButton = (props) => {
8719
8721
  {
8720
8722
  className: (0, import_clsx44.default)(
8721
8723
  "size-3 transition-colors duration-300 ease-in-out",
8722
- !disabled && "text-text-primary-normal",
8723
- disabled && "text-icon-primary-disabled"
8724
+ !disabled && circleChevron && "text-text-primary-normal",
8725
+ disabled && "text-icon-primary-disabled",
8726
+ iconClassName
8724
8727
  ),
8725
8728
  viewBox: "0 0 532 532",
8726
8729
  children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
@@ -8738,14 +8741,15 @@ var PrevButton = (props) => {
8738
8741
  );
8739
8742
  };
8740
8743
  var NextButton = (props) => {
8741
- const _a = props, { children, disabled } = _a, restProps = __objRest(_a, ["children", "disabled"]);
8744
+ const _a = props, { children, disabled, className, iconClassName, circleChevron } = _a, restProps = __objRest(_a, ["children", "disabled", "className", "iconClassName", "circleChevron"]);
8742
8745
  return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
8743
8746
  "button",
8744
8747
  __spreadProps(__spreadValues({
8745
8748
  className: (0, import_clsx44.default)(
8746
8749
  arrowButtonStyles,
8747
8750
  !disabled && "border-border-primary-normal hover:border-border-action-hover active:border-border-action-active",
8748
- disabled && "border-border-action-disabled"
8751
+ disabled && "border-border-action-disabled",
8752
+ className
8749
8753
  ),
8750
8754
  type: "button"
8751
8755
  }, restProps), {
@@ -8755,8 +8759,9 @@ var NextButton = (props) => {
8755
8759
  {
8756
8760
  className: (0, import_clsx44.default)(
8757
8761
  "size-3 transition-colors duration-300 ease-in-out",
8758
- !disabled && "text-text-primary-normal",
8759
- disabled && "text-icon-primary-disabled"
8762
+ !disabled && circleChevron && "text-text-primary-normal",
8763
+ disabled && "text-icon-primary-disabled",
8764
+ iconClassName
8760
8765
  ),
8761
8766
  viewBox: "0 0 532 532",
8762
8767
  children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
@@ -8805,13 +8810,27 @@ var usePrevNextButtons = (emblaApi) => {
8805
8810
  };
8806
8811
 
8807
8812
  // src/components/EmblaCarousel/index.tsx
8813
+ var import_clsx45 = __toESM(require("clsx"), 1);
8808
8814
  var import_jsx_runtime69 = require("react/jsx-runtime");
8809
8815
  var TWEEN_FACTOR_BASE = 0.2;
8810
- var EmblaCarousel = ({ options, children }) => {
8811
- const [emblaRef, emblaApi] = (0, import_embla_carousel_react.default)(options);
8812
- const tweenFactor = (0, import_react43.useRef)(0);
8813
- const tweenNodes = (0, import_react43.useRef)([]);
8814
- const isMobile = useMatchesMobile();
8816
+ var EmblaCarousel = ({
8817
+ options,
8818
+ children,
8819
+ testid,
8820
+ leftRightChevrons = false,
8821
+ autoplay = false,
8822
+ chevronThemeColor = false
8823
+ }) => {
8824
+ const autoplayPlugin = (0, import_embla_carousel_autoplay.default)({ delay: 4e3 });
8825
+ const [emblaRef, emblaApi] = (0, import_embla_carousel_react.default)(
8826
+ options,
8827
+ autoplay ? [autoplayPlugin] : []
8828
+ );
8829
+ (0, import_react43.useEffect)(() => {
8830
+ var _a, _b;
8831
+ if (!emblaApi || !autoplay) return;
8832
+ (_b = (_a = emblaApi.plugins()) == null ? void 0 : _a.autoplay) == null ? void 0 : _b.play();
8833
+ }, [emblaApi, autoplay]);
8815
8834
  const {
8816
8835
  prevBtnDisabled,
8817
8836
  nextBtnDisabled,
@@ -8819,21 +8838,24 @@ var EmblaCarousel = ({ options, children }) => {
8819
8838
  onNextButtonClick
8820
8839
  } = usePrevNextButtons(emblaApi);
8821
8840
  const { selectedSnap, snapCount } = useSelectedSnapDisplay(emblaApi);
8822
- const setTweenNodes = (0, import_react43.useCallback)((emblaApi2) => {
8823
- tweenNodes.current = emblaApi2.slideNodes().map((slideNode) => {
8841
+ const tweenFactor = (0, import_react43.useRef)(0);
8842
+ const tweenNodes = (0, import_react43.useRef)([]);
8843
+ const isMobile = useMatchesMobile();
8844
+ const setTweenNodes = (0, import_react43.useCallback)((api) => {
8845
+ tweenNodes.current = api.slideNodes().map((slideNode) => {
8824
8846
  return slideNode.querySelector(".embla__parallax__layer");
8825
8847
  });
8826
8848
  }, []);
8827
- const setTweenFactor = (0, import_react43.useCallback)((emblaApi2) => {
8828
- tweenFactor.current = TWEEN_FACTOR_BASE * emblaApi2.snapList().length;
8849
+ const setTweenFactor = (0, import_react43.useCallback)((api) => {
8850
+ tweenFactor.current = TWEEN_FACTOR_BASE * api.snapList().length;
8829
8851
  }, []);
8830
8852
  const tweenParallax = (0, import_react43.useCallback)(
8831
- (emblaApi2, event) => {
8832
- const engine = emblaApi2.internalEngine();
8833
- const scrollProgress = emblaApi2.scrollProgress();
8834
- const slidesInView = emblaApi2.slidesInView();
8853
+ (api, event) => {
8854
+ const engine = api.internalEngine();
8855
+ const scrollProgress = api.scrollProgress();
8856
+ const slidesInView = api.slidesInView();
8835
8857
  const isScrollEvent = (event == null ? void 0 : event.type) === "scroll";
8836
- emblaApi2.snapList().forEach((scrollSnap, snapIndex) => {
8858
+ api.snapList().forEach((scrollSnap, snapIndex) => {
8837
8859
  let diffToTarget = scrollSnap - scrollProgress;
8838
8860
  const slidesInSnap = engine.scrollSnapList.slidesBySnap[snapIndex];
8839
8861
  slidesInSnap.forEach((slideIndex) => {
@@ -8843,12 +8865,10 @@ var EmblaCarousel = ({ options, children }) => {
8843
8865
  const target = loopItem.target();
8844
8866
  if (slideIndex === loopItem.index && target !== 0) {
8845
8867
  const sign = Math.sign(target);
8846
- if (sign === -1) {
8868
+ if (sign === -1)
8847
8869
  diffToTarget = scrollSnap - (1 + scrollProgress);
8848
- }
8849
- if (sign === 1) {
8870
+ if (sign === 1)
8850
8871
  diffToTarget = scrollSnap + (1 - scrollProgress);
8851
- }
8852
8872
  }
8853
8873
  });
8854
8874
  }
@@ -8868,13 +8888,46 @@ var EmblaCarousel = ({ options, children }) => {
8868
8888
  setTweenFactor(emblaApi);
8869
8889
  tweenParallax(emblaApi);
8870
8890
  emblaApi.on("reinit", setTweenNodes).on("reinit", setTweenFactor).on("reinit", tweenParallax).on("scroll", tweenParallax).on("slidefocus", tweenParallax);
8871
- }, [emblaApi, tweenParallax, isMobile, setTweenNodes, setTweenFactor]);
8872
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("section", { className: "w-full m-auto grid gap-4", children: [
8873
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "embla__viewport overflow-hidden", ref: emblaRef, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "embla__container flex touch-pan-y touch-pinch-zoom gap-mobile-layout-gap desktop:gap-desktop-layout-gap compact:gap-compact-layout-gap pb-3", children }) }),
8874
- /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "justify-between hidden desktop:flex", children: [
8891
+ }, [emblaApi, isMobile, setTweenNodes, setTweenFactor, tweenParallax]);
8892
+ const handlePrev = () => {
8893
+ var _a, _b;
8894
+ onPrevButtonClick();
8895
+ (_b = (_a = emblaApi == null ? void 0 : emblaApi.plugins()) == null ? void 0 : _a.autoplay) == null ? void 0 : _b.reset();
8896
+ };
8897
+ const handleNext = () => {
8898
+ var _a, _b;
8899
+ onNextButtonClick();
8900
+ (_b = (_a = emblaApi == null ? void 0 : emblaApi.plugins()) == null ? void 0 : _a.autoplay) == null ? void 0 : _b.reset();
8901
+ };
8902
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("section", { className: "w-full m-auto grid gap-4 relative", "data-testid": testid, children: [
8903
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "embla__viewport overflow-hidden", ref: emblaRef, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
8904
+ "div",
8905
+ {
8906
+ className: (0, import_clsx45.default)(
8907
+ "embla__container flex touch-pan-y touch-pinch-zoom",
8908
+ !leftRightChevrons && "pb-3"
8909
+ ),
8910
+ children
8911
+ }
8912
+ ) }),
8913
+ !leftRightChevrons ? /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "justify-between hidden desktop:flex", children: [
8875
8914
  /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "flex items-center gap-2", children: [
8876
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(PrevButton, { onClick: onPrevButtonClick, disabled: prevBtnDisabled }),
8877
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(NextButton, { onClick: onNextButtonClick, disabled: nextBtnDisabled })
8915
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
8916
+ PrevButton,
8917
+ {
8918
+ circleChevron: true,
8919
+ onClick: handlePrev,
8920
+ disabled: prevBtnDisabled
8921
+ }
8922
+ ),
8923
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
8924
+ NextButton,
8925
+ {
8926
+ circleChevron: true,
8927
+ onClick: handleNext,
8928
+ disabled: nextBtnDisabled
8929
+ }
8930
+ )
8878
8931
  ] }),
8879
8932
  /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
8880
8933
  SelectedSnapDisplay,
@@ -8883,6 +8936,33 @@ var EmblaCarousel = ({ options, children }) => {
8883
8936
  snapCount
8884
8937
  }
8885
8938
  )
8939
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(import_jsx_runtime69.Fragment, { children: [
8940
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
8941
+ PrevButton,
8942
+ {
8943
+ className: "absolute top-1/2 -translate-y-1/2 left-0 border-transparent! size-10! desktop:size-12!",
8944
+ iconClassName: (0, import_clsx45.default)(
8945
+ "size-6! desktop:size-8!",
8946
+ chevronThemeColor && "text-text-link-normal group-hover:text-text-link-hover group-active:text-text-link-active",
8947
+ !chevronThemeColor && "text-white group-hover:text-text-link-normal group-active:text-text-link-active"
8948
+ ),
8949
+ onClick: handlePrev,
8950
+ disabled: prevBtnDisabled
8951
+ }
8952
+ ),
8953
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
8954
+ NextButton,
8955
+ {
8956
+ className: "absolute top-1/2 -translate-y-1/2 right-0 border-transparent! size-10! desktop:size-12!",
8957
+ iconClassName: (0, import_clsx45.default)(
8958
+ "size-6! desktop:size-8!",
8959
+ chevronThemeColor && "text-text-link-normal group-hover:text-text-link-hover group-active:text-text-link-active",
8960
+ !chevronThemeColor && "text-white group-hover:text-text-link-normal group-active:text-text-link-active"
8961
+ ),
8962
+ onClick: handleNext,
8963
+ disabled: nextBtnDisabled
8964
+ }
8965
+ )
8886
8966
  ] })
8887
8967
  ] });
8888
8968
  };
@@ -563,6 +563,9 @@
563
563
  .top-0 {
564
564
  top: calc(var(--spacing) * 0);
565
565
  }
566
+ .top-1\/2 {
567
+ top: calc(1/2 * 100%);
568
+ }
566
569
  .top-2 {
567
570
  top: calc(var(--spacing) * 2);
568
571
  }
@@ -756,10 +759,18 @@
756
759
  width: calc(var(--spacing) * 6);
757
760
  height: calc(var(--spacing) * 6);
758
761
  }
762
+ .size-6\! {
763
+ width: calc(var(--spacing) * 6) !important;
764
+ height: calc(var(--spacing) * 6) !important;
765
+ }
759
766
  .size-9 {
760
767
  width: calc(var(--spacing) * 9);
761
768
  height: calc(var(--spacing) * 9);
762
769
  }
770
+ .size-10\! {
771
+ width: calc(var(--spacing) * 10) !important;
772
+ height: calc(var(--spacing) * 10) !important;
773
+ }
763
774
  .\!h-4\.5 {
764
775
  height: calc(var(--spacing) * 4.5) !important;
765
776
  }
@@ -1004,6 +1015,10 @@
1004
1015
  --tw-translate-x: calc(var(--spacing) * 0);
1005
1016
  translate: var(--tw-translate-x) var(--tw-translate-y);
1006
1017
  }
1018
+ .-translate-y-1\/2 {
1019
+ --tw-translate-y: calc(calc(1/2 * 100%) * -1);
1020
+ translate: var(--tw-translate-x) var(--tw-translate-y);
1021
+ }
1007
1022
  .translate-y-2\/4 {
1008
1023
  --tw-translate-y: calc(2/4 * 100%);
1009
1024
  translate: var(--tw-translate-x) var(--tw-translate-y);
@@ -1463,6 +1478,9 @@
1463
1478
  .border-transparent {
1464
1479
  border-color: transparent;
1465
1480
  }
1481
+ .border-transparent\! {
1482
+ border-color: transparent !important;
1483
+ }
1466
1484
  .border-warning-400 {
1467
1485
  border-color: var(--color-warning-400);
1468
1486
  }
@@ -2782,6 +2800,25 @@
2782
2800
  }
2783
2801
  }
2784
2802
  }
2803
+ .group-hover\:text-text-link-hover {
2804
+ &:is(:where(.group):hover *) {
2805
+ @media (hover: hover) {
2806
+ color: var(--color-text-link-hover);
2807
+ }
2808
+ }
2809
+ }
2810
+ .group-hover\:text-text-link-normal {
2811
+ &:is(:where(.group):hover *) {
2812
+ @media (hover: hover) {
2813
+ color: var(--color-text-link-normal);
2814
+ }
2815
+ }
2816
+ }
2817
+ .group-active\:text-text-link-active {
2818
+ &:is(:where(.group):active *) {
2819
+ color: var(--color-text-link-active);
2820
+ }
2821
+ }
2785
2822
  .group-data-\[checked\]\:translate-x-3 {
2786
2823
  &:is(:where(.group)[data-checked] *) {
2787
2824
  --tw-translate-x: calc(var(--spacing) * 3);
@@ -4265,6 +4302,18 @@
4265
4302
  display: none;
4266
4303
  }
4267
4304
  }
4305
+ .desktop\:size-8\! {
4306
+ @container root (width >= 48rem) {
4307
+ width: calc(var(--spacing) * 8) !important;
4308
+ height: calc(var(--spacing) * 8) !important;
4309
+ }
4310
+ }
4311
+ .desktop\:size-12\! {
4312
+ @container root (width >= 48rem) {
4313
+ width: calc(var(--spacing) * 12) !important;
4314
+ height: calc(var(--spacing) * 12) !important;
4315
+ }
4316
+ }
4268
4317
  .desktop\:h-\[190px\] {
4269
4318
  @container root (width >= 48rem) {
4270
4319
  height: 190px;
@@ -19,7 +19,7 @@ import {
19
19
  } from "../chunk-Y5GD2FJA.js";
20
20
  import {
21
21
  EmblaCarousel
22
- } from "../chunk-3N34VVYD.js";
22
+ } from "../chunk-ZACRFGND.js";
23
23
  import "../chunk-EJVCDJ7U.js";
24
24
  import "../chunk-27DJTEAB.js";
25
25
  import {
@@ -27,7 +27,7 @@ import {
27
27
  } from "../chunk-5IFPG6TS.js";
28
28
  import "../chunk-XWYDWH4W.js";
29
29
  import "../chunk-AJ5M6MVX.js";
30
- import "../chunk-YV5FS7NV.js";
30
+ import "../chunk-7IPESTQS.js";
31
31
  import "../chunk-Z2HPSFEQ.js";
32
32
  import "../chunk-AT4AWD6B.js";
33
33
  import "../chunk-EWGHVZL5.js";
package/dist/index.css CHANGED
@@ -541,6 +541,9 @@
541
541
  .top-0 {
542
542
  top: calc(var(--spacing) * 0);
543
543
  }
544
+ .top-1\/2 {
545
+ top: calc(1/2 * 100%);
546
+ }
544
547
  .top-2 {
545
548
  top: calc(var(--spacing) * 2);
546
549
  }
@@ -734,10 +737,18 @@
734
737
  width: calc(var(--spacing) * 6);
735
738
  height: calc(var(--spacing) * 6);
736
739
  }
740
+ .size-6\! {
741
+ width: calc(var(--spacing) * 6) !important;
742
+ height: calc(var(--spacing) * 6) !important;
743
+ }
737
744
  .size-9 {
738
745
  width: calc(var(--spacing) * 9);
739
746
  height: calc(var(--spacing) * 9);
740
747
  }
748
+ .size-10\! {
749
+ width: calc(var(--spacing) * 10) !important;
750
+ height: calc(var(--spacing) * 10) !important;
751
+ }
741
752
  .\!h-4\.5 {
742
753
  height: calc(var(--spacing) * 4.5) !important;
743
754
  }
@@ -982,6 +993,10 @@
982
993
  --tw-translate-x: calc(var(--spacing) * 0);
983
994
  translate: var(--tw-translate-x) var(--tw-translate-y);
984
995
  }
996
+ .-translate-y-1\/2 {
997
+ --tw-translate-y: calc(calc(1/2 * 100%) * -1);
998
+ translate: var(--tw-translate-x) var(--tw-translate-y);
999
+ }
985
1000
  .translate-y-2\/4 {
986
1001
  --tw-translate-y: calc(2/4 * 100%);
987
1002
  translate: var(--tw-translate-x) var(--tw-translate-y);
@@ -1441,6 +1456,9 @@
1441
1456
  .border-transparent {
1442
1457
  border-color: transparent;
1443
1458
  }
1459
+ .border-transparent\! {
1460
+ border-color: transparent !important;
1461
+ }
1444
1462
  .border-warning-400 {
1445
1463
  border-color: var(--color-warning-400);
1446
1464
  }
@@ -2760,6 +2778,25 @@
2760
2778
  }
2761
2779
  }
2762
2780
  }
2781
+ .group-hover\:text-text-link-hover {
2782
+ &:is(:where(.group):hover *) {
2783
+ @media (hover: hover) {
2784
+ color: var(--color-text-link-hover);
2785
+ }
2786
+ }
2787
+ }
2788
+ .group-hover\:text-text-link-normal {
2789
+ &:is(:where(.group):hover *) {
2790
+ @media (hover: hover) {
2791
+ color: var(--color-text-link-normal);
2792
+ }
2793
+ }
2794
+ }
2795
+ .group-active\:text-text-link-active {
2796
+ &:is(:where(.group):active *) {
2797
+ color: var(--color-text-link-active);
2798
+ }
2799
+ }
2763
2800
  .group-data-\[checked\]\:translate-x-3 {
2764
2801
  &:is(:where(.group)[data-checked] *) {
2765
2802
  --tw-translate-x: calc(var(--spacing) * 3);
@@ -4243,6 +4280,18 @@
4243
4280
  display: none;
4244
4281
  }
4245
4282
  }
4283
+ .desktop\:size-8\! {
4284
+ @container root (width >= 48rem) {
4285
+ width: calc(var(--spacing) * 8) !important;
4286
+ height: calc(var(--spacing) * 8) !important;
4287
+ }
4288
+ }
4289
+ .desktop\:size-12\! {
4290
+ @container root (width >= 48rem) {
4291
+ width: calc(var(--spacing) * 12) !important;
4292
+ height: calc(var(--spacing) * 12) !important;
4293
+ }
4294
+ }
4246
4295
  .desktop\:h-\[190px\] {
4247
4296
  @container root (width >= 48rem) {
4248
4297
  height: 190px;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dmsi/wedgekit-react",
3
3
  "private": false,
4
- "version": "0.0.915",
4
+ "version": "0.0.917",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "build": "tsup",
@@ -62,6 +62,7 @@
62
62
  "@tanstack/react-virtual": "^3.13.12",
63
63
  "clsx": "^2.1.1",
64
64
  "embla-carousel": "^9.0.0-rc01",
65
+ "embla-carousel-autoplay": "^9.0.0-rc01",
65
66
  "embla-carousel-react": "^9.0.0-rc01",
66
67
  "pdfjs-dist": "^5.4.149",
67
68
  "react-use": "^17.6.0"