@dmsi/wedgekit-react 0.0.864 → 0.0.865

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 (90) hide show
  1. package/dist/chunk-3N34VVYD.js +154 -0
  2. package/dist/{chunk-57HL5K5I.js → chunk-4DPSNQCM.js} +1 -1
  3. package/dist/{chunk-BH4UKMXV.js → chunk-5NRKL5CJ.js} +3 -3
  4. package/dist/{chunk-A57PKP6Z.js → chunk-E7XBOMT4.js} +6 -6
  5. package/dist/{chunk-CJPGHBV5.js → chunk-EGECC3PQ.js} +1 -1
  6. package/dist/{chunk-ZL6NXIGS.js → chunk-HT57FLRW.js} +1 -1
  7. package/dist/{chunk-BXEE6VGQ.js → chunk-KLH67DTH.js} +6 -23
  8. package/dist/{chunk-C5DKGJ4E.js → chunk-KOKA2IJC.js} +4 -4
  9. package/dist/{chunk-IPQIZG7U.js → chunk-N36EJLRW.js} +1 -1
  10. package/dist/{chunk-RFF2EFBX.js → chunk-OM7QLLI2.js} +2 -2
  11. package/dist/{chunk-FXJ7C6RF.js → chunk-PE3EZP56.js} +1 -1
  12. package/dist/chunk-WVGXD7HT.js +19 -0
  13. package/dist/{chunk-7OLDYFKY.js → chunk-X3NDEFVA.js} +1 -1
  14. package/dist/chunk-YV5FS7NV.js +89 -0
  15. package/dist/chunk-Z2HPSFEQ.js +14 -0
  16. package/dist/{chunk-RTZO2OU7.js → chunk-Z7XANQ47.js} +1 -1
  17. package/dist/components/CalendarRange.cjs +65 -46
  18. package/dist/components/CalendarRange.css +13 -0
  19. package/dist/components/CalendarRange.js +17 -14
  20. package/dist/components/CompactImagesPreview.js +3 -2
  21. package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +23 -4
  22. package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.css +13 -0
  23. package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +17 -14
  24. package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +32 -13
  25. package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.css +13 -0
  26. package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +17 -14
  27. package/dist/components/DataGrid/PinnedColumns.cjs +48 -29
  28. package/dist/components/DataGrid/PinnedColumns.css +13 -0
  29. package/dist/components/DataGrid/PinnedColumns.js +17 -14
  30. package/dist/components/DataGrid/TableBody/LoadingCell.cjs +24 -5
  31. package/dist/components/DataGrid/TableBody/LoadingCell.css +13 -0
  32. package/dist/components/DataGrid/TableBody/LoadingCell.js +17 -14
  33. package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +30 -11
  34. package/dist/components/DataGrid/TableBody/TableBodyRow.css +13 -0
  35. package/dist/components/DataGrid/TableBody/TableBodyRow.js +17 -14
  36. package/dist/components/DataGrid/TableBody/index.cjs +45 -26
  37. package/dist/components/DataGrid/TableBody/index.css +13 -0
  38. package/dist/components/DataGrid/TableBody/index.js +17 -14
  39. package/dist/components/DataGrid/index.cjs +135 -116
  40. package/dist/components/DataGrid/index.css +13 -0
  41. package/dist/components/DataGrid/index.js +17 -14
  42. package/dist/components/DataGrid/utils.cjs +24 -5
  43. package/dist/components/DataGrid/utils.css +13 -0
  44. package/dist/components/DataGrid/utils.js +17 -14
  45. package/dist/components/DataGridCell.js +6 -5
  46. package/dist/components/DateInput.cjs +85 -66
  47. package/dist/components/DateInput.css +13 -0
  48. package/dist/components/DateInput.js +17 -14
  49. package/dist/components/DateRangeInput.cjs +84 -65
  50. package/dist/components/DateRangeInput.css +13 -0
  51. package/dist/components/DateRangeInput.js +17 -14
  52. package/dist/components/EmblaCarousel/ArrowButtons.cjs +147 -0
  53. package/dist/components/EmblaCarousel/ArrowButtons.js +9 -0
  54. package/dist/components/EmblaCarousel/SelectedSnapDisplay.cjs +38 -0
  55. package/dist/components/EmblaCarousel/SelectedSnapDisplay.js +7 -0
  56. package/dist/components/EmblaCarousel/index.cjs +266 -2
  57. package/dist/components/EmblaCarousel/index.js +4 -1
  58. package/dist/components/Menu.js +4 -3
  59. package/dist/components/MenuOption.js +3 -2
  60. package/dist/components/MobileDataGrid/ColumnList.css +13 -0
  61. package/dist/components/MobileDataGrid/ColumnList.js +1 -1
  62. package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +31 -12
  63. package/dist/components/MobileDataGrid/ColumnSelector/index.css +13 -0
  64. package/dist/components/MobileDataGrid/ColumnSelector/index.js +17 -14
  65. package/dist/components/MobileDataGrid/MobileDataGridCard/index.js +1 -1
  66. package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +39 -20
  67. package/dist/components/MobileDataGrid/MobileDataGridHeader.css +13 -0
  68. package/dist/components/MobileDataGrid/MobileDataGridHeader.js +17 -14
  69. package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.js +1 -1
  70. package/dist/components/MobileDataGrid/RowDetailModalProvider/index.js +5 -4
  71. package/dist/components/MobileDataGrid/index.cjs +151 -132
  72. package/dist/components/MobileDataGrid/index.css +13 -0
  73. package/dist/components/MobileDataGrid/index.js +17 -14
  74. package/dist/components/Modal.js +3 -2
  75. package/dist/components/NestedMenu.js +3 -2
  76. package/dist/components/PDFViewer/DownloadIcon.js +4 -3
  77. package/dist/components/PDFViewer/index.js +5 -4
  78. package/dist/components/Password.js +3 -2
  79. package/dist/components/ProductImagePreview/index.js +4 -3
  80. package/dist/components/ProjectBar.js +2 -1
  81. package/dist/components/Stepper.js +3 -2
  82. package/dist/components/Tooltip.js +3 -2
  83. package/dist/components/index.cjs +222 -2
  84. package/dist/components/index.css +13 -0
  85. package/dist/components/index.js +17 -14
  86. package/dist/components/useMenuSystem.js +3 -2
  87. package/dist/hooks/index.js +5 -3
  88. package/dist/index.css +13 -0
  89. package/package.json +3 -3
  90. package/dist/chunk-SZ47M32R.js +0 -13
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/components/EmblaCarousel/SelectedSnapDisplay.tsx
21
+ var SelectedSnapDisplay_exports = {};
22
+ __export(SelectedSnapDisplay_exports, {
23
+ SelectedSnapDisplay: () => SelectedSnapDisplay
24
+ });
25
+ module.exports = __toCommonJS(SelectedSnapDisplay_exports);
26
+ var import_jsx_runtime = require("react/jsx-runtime");
27
+ var SelectedSnapDisplay = (props) => {
28
+ const { selectedSnap, snapCount } = props;
29
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "embla__selected-snap-display", children: [
30
+ selectedSnap + 1,
31
+ " / ",
32
+ snapCount
33
+ ] });
34
+ };
35
+ // Annotate the CommonJS export names for ESM import in node:
36
+ 0 && (module.exports = {
37
+ SelectedSnapDisplay
38
+ });
@@ -0,0 +1,7 @@
1
+ import {
2
+ SelectedSnapDisplay
3
+ } from "../../chunk-Z2HPSFEQ.js";
4
+ import "../../chunk-ORMEWXMH.js";
5
+ export {
6
+ SelectedSnapDisplay
7
+ };
@@ -1,10 +1,39 @@
1
1
  "use strict";
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
+ var __defProps = Object.defineProperties;
4
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
5
7
  var __getOwnPropNames = Object.getOwnPropertyNames;
8
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
6
9
  var __getProtoOf = Object.getPrototypeOf;
7
10
  var __hasOwnProp = Object.prototype.hasOwnProperty;
11
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
12
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
13
+ var __spreadValues = (a, b) => {
14
+ for (var prop in b || (b = {}))
15
+ if (__hasOwnProp.call(b, prop))
16
+ __defNormalProp(a, prop, b[prop]);
17
+ if (__getOwnPropSymbols)
18
+ for (var prop of __getOwnPropSymbols(b)) {
19
+ if (__propIsEnum.call(b, prop))
20
+ __defNormalProp(a, prop, b[prop]);
21
+ }
22
+ return a;
23
+ };
24
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
25
+ var __objRest = (source, exclude) => {
26
+ var target = {};
27
+ for (var prop in source)
28
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
29
+ target[prop] = source[prop];
30
+ if (source != null && __getOwnPropSymbols)
31
+ for (var prop of __getOwnPropSymbols(source)) {
32
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
33
+ target[prop] = source[prop];
34
+ }
35
+ return target;
36
+ };
8
37
  var __export = (target, all) => {
9
38
  for (var name in all)
10
39
  __defProp(target, name, { get: all[name], enumerable: true });
@@ -34,11 +63,246 @@ __export(EmblaCarousel_exports, {
34
63
  default: () => EmblaCarousel_default
35
64
  });
36
65
  module.exports = __toCommonJS(EmblaCarousel_exports);
66
+ var import_react4 = require("react");
37
67
  var import_embla_carousel_react = __toESM(require("embla-carousel-react"), 1);
68
+
69
+ // src/components/EmblaCarousel/SelectedSnapDisplay.tsx
38
70
  var import_jsx_runtime = require("react/jsx-runtime");
71
+ var SelectedSnapDisplay = (props) => {
72
+ const { selectedSnap, snapCount } = props;
73
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "embla__selected-snap-display", children: [
74
+ selectedSnap + 1,
75
+ " / ",
76
+ snapCount
77
+ ] });
78
+ };
79
+
80
+ // src/components/EmblaCarousel/useSelectedSnapDisplay.ts
81
+ var import_react = require("react");
82
+ var useSelectedSnapDisplay = (emblaApi) => {
83
+ const [selectedSnap, setSelectedSnap] = (0, import_react.useState)(0);
84
+ const [snapCount, setSnapCount] = (0, import_react.useState)(0);
85
+ const updateScrollSnapState = (0, import_react.useCallback)((emblaApi2) => {
86
+ setSnapCount(emblaApi2.slideNodes().length);
87
+ setSelectedSnap(emblaApi2.selectedSnap());
88
+ }, []);
89
+ (0, import_react.useEffect)(() => {
90
+ if (!emblaApi) return;
91
+ updateScrollSnapState(emblaApi);
92
+ emblaApi.on("select", updateScrollSnapState);
93
+ emblaApi.on("reinit", updateScrollSnapState);
94
+ }, [emblaApi, updateScrollSnapState]);
95
+ return {
96
+ selectedSnap,
97
+ snapCount
98
+ };
99
+ };
100
+
101
+ // src/components/EmblaCarousel/ArrowButtons.tsx
102
+ var import_clsx = __toESM(require("clsx"), 1);
103
+ var import_jsx_runtime2 = require("react/jsx-runtime");
104
+ var arrowButtonStyles = (0, import_clsx.default)(
105
+ "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"
106
+ );
107
+ var PrevButton = (props) => {
108
+ const _a = props, { children, disabled } = _a, restProps = __objRest(_a, ["children", "disabled"]);
109
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
110
+ "button",
111
+ __spreadProps(__spreadValues({
112
+ className: (0, import_clsx.default)(
113
+ arrowButtonStyles,
114
+ !disabled && "border-border-primary-normal hover:border-border-action-hover active:border-border-action-active",
115
+ disabled && "border-border-action-disabled"
116
+ ),
117
+ type: "button"
118
+ }, restProps), {
119
+ children: [
120
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
121
+ "svg",
122
+ {
123
+ className: (0, import_clsx.default)(
124
+ "size-3 transition-colors duration-300 ease-in-out",
125
+ !disabled && "text-text-primary-normal",
126
+ disabled && "text-icon-primary-disabled"
127
+ ),
128
+ viewBox: "0 0 532 532",
129
+ children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
130
+ "path",
131
+ {
132
+ fill: "currentColor",
133
+ d: "M355.66 11.354c13.793-13.805 36.208-13.805 50.001 0 13.785 13.804 13.785 36.238 0 50.034L201.22 266l204.442 204.61c13.785 13.805 13.785 36.239 0 50.044-13.793 13.796-36.208 13.796-50.002 0a5994246.277 5994246.277 0 0 0-229.332-229.454 35.065 35.065 0 0 1-10.326-25.126c0-9.2 3.393-18.26 10.326-25.2C172.192 194.973 332.731 34.31 355.66 11.354Z"
134
+ }
135
+ )
136
+ }
137
+ ),
138
+ children
139
+ ]
140
+ })
141
+ );
142
+ };
143
+ var NextButton = (props) => {
144
+ const _a = props, { children, disabled } = _a, restProps = __objRest(_a, ["children", "disabled"]);
145
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
146
+ "button",
147
+ __spreadProps(__spreadValues({
148
+ className: (0, import_clsx.default)(
149
+ arrowButtonStyles,
150
+ !disabled && "border-border-primary-normal hover:border-border-action-hover active:border-border-action-active",
151
+ disabled && "border-border-action-disabled"
152
+ ),
153
+ type: "button"
154
+ }, restProps), {
155
+ children: [
156
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
157
+ "svg",
158
+ {
159
+ className: (0, import_clsx.default)(
160
+ "size-3 transition-colors duration-300 ease-in-out",
161
+ !disabled && "text-text-primary-normal",
162
+ disabled && "text-icon-primary-disabled"
163
+ ),
164
+ viewBox: "0 0 532 532",
165
+ children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
166
+ "path",
167
+ {
168
+ fill: "currentColor",
169
+ d: "M176.34 520.646c-13.793 13.805-36.208 13.805-50.001 0-13.785-13.804-13.785-36.238 0-50.034L330.78 266 126.34 61.391c-13.785-13.805-13.785-36.239 0-50.044 13.793-13.796 36.208-13.796 50.002 0 22.928 22.947 206.395 206.507 229.332 229.454a35.065 35.065 0 0 1 10.326 25.126c0 9.2-3.393 18.26-10.326 25.2-45.865 45.901-206.404 206.564-229.332 229.52Z"
170
+ }
171
+ )
172
+ }
173
+ ),
174
+ children
175
+ ]
176
+ })
177
+ );
178
+ };
179
+
180
+ // src/components/EmblaCarousel/usePrevNextButtons.ts
181
+ var import_react2 = require("react");
182
+ var usePrevNextButtons = (emblaApi) => {
183
+ const [prevBtnDisabled, setPrevBtnDisabled] = (0, import_react2.useState)(true);
184
+ const [nextBtnDisabled, setNextBtnDisabled] = (0, import_react2.useState)(true);
185
+ const onPrevButtonClick = (0, import_react2.useCallback)(() => {
186
+ if (!emblaApi) return;
187
+ emblaApi.goToPrev();
188
+ }, [emblaApi]);
189
+ const onNextButtonClick = (0, import_react2.useCallback)(() => {
190
+ if (!emblaApi) return;
191
+ emblaApi.goToNext();
192
+ }, [emblaApi]);
193
+ const onSelect = (0, import_react2.useCallback)((emblaApi2) => {
194
+ setPrevBtnDisabled(!emblaApi2.canGoToPrev());
195
+ setNextBtnDisabled(!emblaApi2.canGoToNext());
196
+ }, []);
197
+ (0, import_react2.useEffect)(() => {
198
+ if (!emblaApi) return;
199
+ onSelect(emblaApi);
200
+ emblaApi.on("reinit", onSelect).on("select", onSelect);
201
+ }, [emblaApi, onSelect]);
202
+ return {
203
+ prevBtnDisabled,
204
+ nextBtnDisabled,
205
+ onPrevButtonClick,
206
+ onNextButtonClick
207
+ };
208
+ };
209
+
210
+ // src/hooks/useMatchesMedia.ts
211
+ var import_react3 = require("react");
212
+ var useMatchesMedia = (query) => {
213
+ const [matches, setMatches] = (0, import_react3.useState)();
214
+ (0, import_react3.useLayoutEffect)(() => {
215
+ const mediaQueryList = window.matchMedia(query);
216
+ const listener = () => setMatches(mediaQueryList.matches);
217
+ listener();
218
+ mediaQueryList.addEventListener("change", listener);
219
+ return () => mediaQueryList.removeEventListener("change", listener);
220
+ }, [query]);
221
+ return matches;
222
+ };
223
+ var useMatchesMobile = () => useMatchesMedia("(width < 48rem)");
224
+
225
+ // src/components/EmblaCarousel/index.tsx
226
+ var import_jsx_runtime3 = require("react/jsx-runtime");
227
+ var TWEEN_FACTOR_BASE = 0.2;
39
228
  var EmblaCarousel = ({ options, children }) => {
40
- const [emblaRef] = (0, import_embla_carousel_react.default)(options);
41
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("section", { className: "w-full m-auto", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "embla__viewport overflow-hidden", ref: emblaRef, children: /* @__PURE__ */ (0, import_jsx_runtime.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", children }) }) });
229
+ const [emblaRef, emblaApi] = (0, import_embla_carousel_react.default)(options);
230
+ const tweenFactor = (0, import_react4.useRef)(0);
231
+ const tweenNodes = (0, import_react4.useRef)([]);
232
+ const isMobile = useMatchesMobile();
233
+ const {
234
+ prevBtnDisabled,
235
+ nextBtnDisabled,
236
+ onPrevButtonClick,
237
+ onNextButtonClick
238
+ } = usePrevNextButtons(emblaApi);
239
+ const { selectedSnap, snapCount } = useSelectedSnapDisplay(emblaApi);
240
+ const setTweenNodes = (0, import_react4.useCallback)((emblaApi2) => {
241
+ tweenNodes.current = emblaApi2.slideNodes().map((slideNode) => {
242
+ return slideNode.querySelector(".embla__parallax__layer");
243
+ });
244
+ }, []);
245
+ const setTweenFactor = (0, import_react4.useCallback)((emblaApi2) => {
246
+ tweenFactor.current = TWEEN_FACTOR_BASE * emblaApi2.snapList().length;
247
+ }, []);
248
+ const tweenParallax = (0, import_react4.useCallback)(
249
+ (emblaApi2, event) => {
250
+ const engine = emblaApi2.internalEngine();
251
+ const scrollProgress = emblaApi2.scrollProgress();
252
+ const slidesInView = emblaApi2.slidesInView();
253
+ const isScrollEvent = (event == null ? void 0 : event.type) === "scroll";
254
+ emblaApi2.snapList().forEach((scrollSnap, snapIndex) => {
255
+ let diffToTarget = scrollSnap - scrollProgress;
256
+ const slidesInSnap = engine.scrollSnapList.slidesBySnap[snapIndex];
257
+ slidesInSnap.forEach((slideIndex) => {
258
+ if (isScrollEvent && !slidesInView.includes(slideIndex)) return;
259
+ if (engine.options.loop) {
260
+ engine.slideLooper.loopPoints.forEach((loopItem) => {
261
+ const target = loopItem.target();
262
+ if (slideIndex === loopItem.index && target !== 0) {
263
+ const sign = Math.sign(target);
264
+ if (sign === -1) {
265
+ diffToTarget = scrollSnap - (1 + scrollProgress);
266
+ }
267
+ if (sign === 1) {
268
+ diffToTarget = scrollSnap + (1 - scrollProgress);
269
+ }
270
+ }
271
+ });
272
+ }
273
+ const translate = diffToTarget * (-1 * tweenFactor.current) * 100;
274
+ const tweenNode = tweenNodes.current[slideIndex];
275
+ if (tweenNode) {
276
+ tweenNode.style.transform = `translateX(${translate}%)`;
277
+ }
278
+ });
279
+ });
280
+ },
281
+ []
282
+ );
283
+ (0, import_react4.useEffect)(() => {
284
+ if (!emblaApi || !isMobile) return;
285
+ setTweenNodes(emblaApi);
286
+ setTweenFactor(emblaApi);
287
+ tweenParallax(emblaApi);
288
+ emblaApi.on("reinit", setTweenNodes).on("reinit", setTweenFactor).on("reinit", tweenParallax).on("scroll", tweenParallax).on("slidefocus", tweenParallax);
289
+ }, [emblaApi, tweenParallax, isMobile, setTweenNodes, setTweenFactor]);
290
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("section", { className: "w-full m-auto grid gap-4", children: [
291
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: "embla__viewport overflow-hidden", ref: emblaRef, children: /* @__PURE__ */ (0, import_jsx_runtime3.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 }) }),
292
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "justify-between hidden desktop:flex", children: [
293
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "flex items-center gap-2", children: [
294
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(PrevButton, { onClick: onPrevButtonClick, disabled: prevBtnDisabled }),
295
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(NextButton, { onClick: onNextButtonClick, disabled: nextBtnDisabled })
296
+ ] }),
297
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
298
+ SelectedSnapDisplay,
299
+ {
300
+ selectedSnap,
301
+ snapCount
302
+ }
303
+ )
304
+ ] })
305
+ ] });
42
306
  };
43
307
  var EmblaCarousel_default = EmblaCarousel;
44
308
  // Annotate the CommonJS export names for ESM import in node:
@@ -1,7 +1,10 @@
1
1
  import {
2
2
  EmblaCarousel,
3
3
  EmblaCarousel_default
4
- } from "../../chunk-SZ47M32R.js";
4
+ } from "../../chunk-3N34VVYD.js";
5
+ import "../../chunk-YV5FS7NV.js";
6
+ import "../../chunk-Z2HPSFEQ.js";
7
+ import "../../chunk-WVGXD7HT.js";
5
8
  import "../../chunk-ORMEWXMH.js";
6
9
  export {
7
10
  EmblaCarousel,
@@ -1,9 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  Menu
4
- } from "../chunk-RFF2EFBX.js";
5
- import "../chunk-FXJ7C6RF.js";
6
- import "../chunk-BXEE6VGQ.js";
4
+ } from "../chunk-OM7QLLI2.js";
5
+ import "../chunk-PE3EZP56.js";
6
+ import "../chunk-KLH67DTH.js";
7
+ import "../chunk-WVGXD7HT.js";
7
8
  import "../chunk-VXWSAIB5.js";
8
9
  import "../chunk-MMZTPVYB.js";
9
10
  import "../chunk-5UH6QUFB.js";
@@ -1,9 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  MenuOption
4
- } from "../chunk-7OLDYFKY.js";
4
+ } from "../chunk-X3NDEFVA.js";
5
5
  import "../chunk-HXGJVYGQ.js";
6
- import "../chunk-BXEE6VGQ.js";
6
+ import "../chunk-KLH67DTH.js";
7
+ import "../chunk-WVGXD7HT.js";
7
8
  import "../chunk-VXWSAIB5.js";
8
9
  import "../chunk-MMZTPVYB.js";
9
10
  import "../chunk-5UH6QUFB.js";
@@ -759,6 +759,10 @@
759
759
  width: calc(var(--spacing) * 6);
760
760
  height: calc(var(--spacing) * 6);
761
761
  }
762
+ .size-9 {
763
+ width: calc(var(--spacing) * 9);
764
+ height: calc(var(--spacing) * 9);
765
+ }
762
766
  .\!h-4\.5 {
763
767
  height: calc(var(--spacing) * 4.5) !important;
764
768
  }
@@ -1063,6 +1067,9 @@
1063
1067
  .\[appearance\:textfield\] {
1064
1068
  appearance: textfield;
1065
1069
  }
1070
+ .appearance-none {
1071
+ appearance: none;
1072
+ }
1066
1073
  .grid-cols-1 {
1067
1074
  grid-template-columns: repeat(1, minmax(0, 1fr));
1068
1075
  }
@@ -2122,6 +2129,9 @@
2122
2129
  .pb-2 {
2123
2130
  padding-bottom: calc(var(--spacing) * 2);
2124
2131
  }
2132
+ .pb-3 {
2133
+ padding-bottom: calc(var(--spacing) * 3);
2134
+ }
2125
2135
  .pb-mobile-component-padding {
2126
2136
  padding-bottom: var(--spacing-mobile-component-padding);
2127
2137
  }
@@ -2345,6 +2355,9 @@
2345
2355
  .text-icon-on-action-secondary-normal {
2346
2356
  color: var(--color-icon-on-action-secondary-normal);
2347
2357
  }
2358
+ .text-icon-primary-disabled {
2359
+ color: var(--color-icon-primary-disabled);
2360
+ }
2348
2361
  .text-icon-primary-normal {
2349
2362
  color: var(--color-icon-primary-normal);
2350
2363
  }
@@ -3,8 +3,8 @@ import {
3
3
  } from "../../chunk-B4AE3DCA.js";
4
4
  import "../../chunk-FP3Y5JJN.js";
5
5
  import "../../chunk-5IFPG6TS.js";
6
- import "../../chunk-AJ5M6MVX.js";
7
6
  import "../../chunk-6EYMKEJ6.js";
7
+ import "../../chunk-AJ5M6MVX.js";
8
8
  import "../../chunk-M7WHWZ2J.js";
9
9
  import "../../chunk-VXWSAIB5.js";
10
10
  import "../../chunk-MMZTPVYB.js";
@@ -62,7 +62,7 @@ __export(ColumnSelector_exports, {
62
62
  ColumnSelector: () => ColumnSelector
63
63
  });
64
64
  module.exports = __toCommonJS(ColumnSelector_exports);
65
- var import_react40 = require("react");
65
+ var import_react43 = require("react");
66
66
 
67
67
  // src/components/DataGridCell.tsx
68
68
  var import_sortable = require("@dnd-kit/sortable");
@@ -6120,15 +6120,34 @@ var import_react39 = require("react");
6120
6120
  var import_jsx_runtime65 = require("react/jsx-runtime");
6121
6121
 
6122
6122
  // src/components/EmblaCarousel/index.tsx
6123
+ var import_react42 = require("react");
6123
6124
  var import_embla_carousel_react = __toESM(require("embla-carousel-react"), 1);
6125
+
6126
+ // src/components/EmblaCarousel/SelectedSnapDisplay.tsx
6124
6127
  var import_jsx_runtime66 = require("react/jsx-runtime");
6125
6128
 
6126
- // src/components/MobileDataGrid/ColumnSelector/index.tsx
6129
+ // src/components/EmblaCarousel/useSelectedSnapDisplay.ts
6130
+ var import_react40 = require("react");
6131
+
6132
+ // src/components/EmblaCarousel/ArrowButtons.tsx
6133
+ var import_clsx43 = __toESM(require("clsx"), 1);
6127
6134
  var import_jsx_runtime67 = require("react/jsx-runtime");
6135
+ var arrowButtonStyles = (0, import_clsx43.default)(
6136
+ "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"
6137
+ );
6138
+
6139
+ // src/components/EmblaCarousel/usePrevNextButtons.ts
6140
+ var import_react41 = require("react");
6141
+
6142
+ // src/components/EmblaCarousel/index.tsx
6143
+ var import_jsx_runtime68 = require("react/jsx-runtime");
6144
+
6145
+ // src/components/MobileDataGrid/ColumnSelector/index.tsx
6146
+ var import_jsx_runtime69 = require("react/jsx-runtime");
6128
6147
  function ColumnSelector() {
6129
6148
  const context = useGridContext();
6130
- const ref = (0, import_react40.useRef)(null);
6131
- const [show, setShow] = (0, import_react40.useState)(false);
6149
+ const ref = (0, import_react43.useRef)(null);
6150
+ const [show, setShow] = (0, import_react43.useState)(false);
6132
6151
  const {
6133
6152
  columns,
6134
6153
  id,
@@ -6139,13 +6158,13 @@ function ColumnSelector() {
6139
6158
  resetColumnVisibility,
6140
6159
  dispatch
6141
6160
  } = context;
6142
- const toggleColumnVisibility = (0, import_react40.useCallback)(
6161
+ const toggleColumnVisibility = (0, import_react43.useCallback)(
6143
6162
  (index, visible) => {
6144
6163
  dispatch({ type: "UPDATE", index, payload: { meta: { visible } } });
6145
6164
  },
6146
6165
  [dispatch]
6147
6166
  );
6148
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
6167
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
6149
6168
  "div",
6150
6169
  {
6151
6170
  id: id ? `${id}-column-selector` : void 0,
@@ -6153,7 +6172,7 @@ function ColumnSelector() {
6153
6172
  className: "text-text-secondary-normal border-l border-brand-200 p-mobile-container-padding",
6154
6173
  ref,
6155
6174
  children: [
6156
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
6175
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6157
6176
  Button,
6158
6177
  {
6159
6178
  id: id ? `${id}-button` : void 0,
@@ -6162,10 +6181,10 @@ function ColumnSelector() {
6162
6181
  variant: "navigation",
6163
6182
  iconOnly: true,
6164
6183
  size: 24,
6165
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Icon, { name: "tune" })
6184
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Icon, { name: "tune" })
6166
6185
  }
6167
6186
  ),
6168
- /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
6187
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
6169
6188
  Menu,
6170
6189
  {
6171
6190
  id: id ? `${id}-menu` : void 0,
@@ -6176,7 +6195,7 @@ function ColumnSelector() {
6176
6195
  setShow,
6177
6196
  calculateMinMaxHeight: true,
6178
6197
  children: [
6179
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
6198
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6180
6199
  Button,
6181
6200
  {
6182
6201
  id: id ? `${id}-reset-button` : void 0,
@@ -6194,11 +6213,11 @@ function ColumnSelector() {
6194
6213
  return (_a = x.meta) == null ? void 0 : _a.inVisibilityMenu;
6195
6214
  }).map((column) => {
6196
6215
  var _a, _b, _c;
6197
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
6216
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6198
6217
  MenuOption,
6199
6218
  {
6200
6219
  testid: testid ? `${testid}-option-${column.id}` : void 0,
6201
- children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
6220
+ children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6202
6221
  Checkbox,
6203
6222
  {
6204
6223
  id: id ? `${id}-checkbox-${column.id}` : void 0,
@@ -759,6 +759,10 @@
759
759
  width: calc(var(--spacing) * 6);
760
760
  height: calc(var(--spacing) * 6);
761
761
  }
762
+ .size-9 {
763
+ width: calc(var(--spacing) * 9);
764
+ height: calc(var(--spacing) * 9);
765
+ }
762
766
  .\!h-4\.5 {
763
767
  height: calc(var(--spacing) * 4.5) !important;
764
768
  }
@@ -1063,6 +1067,9 @@
1063
1067
  .\[appearance\:textfield\] {
1064
1068
  appearance: textfield;
1065
1069
  }
1070
+ .appearance-none {
1071
+ appearance: none;
1072
+ }
1066
1073
  .grid-cols-1 {
1067
1074
  grid-template-columns: repeat(1, minmax(0, 1fr));
1068
1075
  }
@@ -2122,6 +2129,9 @@
2122
2129
  .pb-2 {
2123
2130
  padding-bottom: calc(var(--spacing) * 2);
2124
2131
  }
2132
+ .pb-3 {
2133
+ padding-bottom: calc(var(--spacing) * 3);
2134
+ }
2125
2135
  .pb-mobile-component-padding {
2126
2136
  padding-bottom: var(--spacing-mobile-component-padding);
2127
2137
  }
@@ -2345,6 +2355,9 @@
2345
2355
  .text-icon-on-action-secondary-normal {
2346
2356
  color: var(--color-icon-on-action-secondary-normal);
2347
2357
  }
2358
+ .text-icon-primary-disabled {
2359
+ color: var(--color-icon-primary-disabled);
2360
+ }
2348
2361
  .text-icon-primary-normal {
2349
2362
  color: var(--color-icon-primary-normal);
2350
2363
  }
@@ -1,22 +1,24 @@
1
1
  import {
2
2
  ColumnSelector
3
- } from "../../../chunk-A57PKP6Z.js";
4
- import "../../../chunk-57HL5K5I.js";
3
+ } from "../../../chunk-E7XBOMT4.js";
4
+ import "../../../chunk-4DPSNQCM.js";
5
5
  import "../../../chunk-Q4YDNW7N.js";
6
6
  import "../../../chunk-M7INAUAJ.js";
7
- import "../../../chunk-C5DKGJ4E.js";
7
+ import "../../../chunk-KOKA2IJC.js";
8
+ import "../../../chunk-MBZ55T2D.js";
8
9
  import "../../../chunk-2IKT6IHB.js";
9
10
  import "../../../chunk-YCDDBSVU.js";
10
11
  import "../../../chunk-3X3Y4TMS.js";
11
12
  import "../../../chunk-BQNPOGD5.js";
12
13
  import "../../../chunk-Y5GD2FJA.js";
13
- import "../../../chunk-MBZ55T2D.js";
14
- import "../../../chunk-SZ47M32R.js";
14
+ import "../../../chunk-3N34VVYD.js";
15
15
  import "../../../chunk-B4AE3DCA.js";
16
16
  import "../../../chunk-FP3Y5JJN.js";
17
17
  import "../../../chunk-5IFPG6TS.js";
18
- import "../../../chunk-AJ5M6MVX.js";
19
18
  import "../../../chunk-6EYMKEJ6.js";
19
+ import "../../../chunk-AJ5M6MVX.js";
20
+ import "../../../chunk-YV5FS7NV.js";
21
+ import "../../../chunk-Z2HPSFEQ.js";
20
22
  import "../../../chunk-AT4AWD6B.js";
21
23
  import "../../../chunk-EWGHVZL5.js";
22
24
  import "../../../chunk-FZ2TEKOE.js";
@@ -24,8 +26,8 @@ import "../../../chunk-FESS4LWU.js";
24
26
  import "../../../chunk-KBIEWFQS.js";
25
27
  import "../../../chunk-NSZTJ5R4.js";
26
28
  import "../../../chunk-LB7UT6F3.js";
27
- import "../../../chunk-ZL6NXIGS.js";
28
- import "../../../chunk-IPQIZG7U.js";
29
+ import "../../../chunk-HT57FLRW.js";
30
+ import "../../../chunk-N36EJLRW.js";
29
31
  import "../../../chunk-4RJKB7LC.js";
30
32
  import "../../../chunk-UUKHQUSF.js";
31
33
  import "../../../chunk-WVVEOCEH.js";
@@ -36,17 +38,18 @@ import "../../../chunk-UAMI54FE.js";
36
38
  import "../../../chunk-SJZNVG4N.js";
37
39
  import "../../../chunk-75USUR3I.js";
38
40
  import "../../../chunk-BWPNXY7T.js";
39
- import "../../../chunk-BH4UKMXV.js";
40
- import "../../../chunk-RFF2EFBX.js";
41
- import "../../../chunk-FXJ7C6RF.js";
42
- import "../../../chunk-7OLDYFKY.js";
41
+ import "../../../chunk-5NRKL5CJ.js";
42
+ import "../../../chunk-OM7QLLI2.js";
43
+ import "../../../chunk-PE3EZP56.js";
44
+ import "../../../chunk-X3NDEFVA.js";
43
45
  import "../../../chunk-FHXCCVOG.js";
44
46
  import "../../../chunk-7T5RGDCN.js";
45
47
  import "../../../chunk-HXGJVYGQ.js";
46
48
  import "../../../chunk-WVUIIBRR.js";
47
49
  import "../../../chunk-M7WHWZ2J.js";
48
- import "../../../chunk-CJPGHBV5.js";
49
- import "../../../chunk-BXEE6VGQ.js";
50
+ import "../../../chunk-EGECC3PQ.js";
51
+ import "../../../chunk-KLH67DTH.js";
52
+ import "../../../chunk-WVGXD7HT.js";
50
53
  import "../../../chunk-VXWSAIB5.js";
51
54
  import "../../../chunk-MMZTPVYB.js";
52
55
  import "../../../chunk-5UH6QUFB.js";
@@ -2,8 +2,8 @@ import {
2
2
  MobileDataGridCard
3
3
  } from "../../../chunk-FP3Y5JJN.js";
4
4
  import "../../../chunk-5IFPG6TS.js";
5
- import "../../../chunk-AJ5M6MVX.js";
6
5
  import "../../../chunk-6EYMKEJ6.js";
6
+ import "../../../chunk-AJ5M6MVX.js";
7
7
  import "../../../chunk-M7WHWZ2J.js";
8
8
  import "../../../chunk-VXWSAIB5.js";
9
9
  import "../../../chunk-MMZTPVYB.js";