@dmsi/wedgekit-react 0.0.850 → 0.0.851
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.
- package/dist/chunk-SZ47M32R.js +13 -0
- package/dist/components/CalendarRange.cjs +29 -25
- package/dist/components/CalendarRange.css +17 -0
- package/dist/components/CalendarRange.js +5 -4
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +6 -2
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.css +17 -0
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +5 -4
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +13 -9
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.css +17 -0
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +5 -4
- package/dist/components/DataGrid/PinnedColumns.cjs +24 -20
- package/dist/components/DataGrid/PinnedColumns.css +17 -0
- package/dist/components/DataGrid/PinnedColumns.js +5 -4
- package/dist/components/DataGrid/TableBody/LoadingCell.cjs +9 -5
- package/dist/components/DataGrid/TableBody/LoadingCell.css +17 -0
- package/dist/components/DataGrid/TableBody/LoadingCell.js +5 -4
- package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +11 -7
- package/dist/components/DataGrid/TableBody/TableBodyRow.css +17 -0
- package/dist/components/DataGrid/TableBody/TableBodyRow.js +5 -4
- package/dist/components/DataGrid/TableBody/index.cjs +24 -20
- package/dist/components/DataGrid/TableBody/index.css +17 -0
- package/dist/components/DataGrid/TableBody/index.js +5 -4
- package/dist/components/DataGrid/index.cjs +84 -80
- package/dist/components/DataGrid/index.css +17 -0
- package/dist/components/DataGrid/index.js +5 -4
- package/dist/components/DataGrid/utils.cjs +7 -3
- package/dist/components/DataGrid/utils.css +17 -0
- package/dist/components/DataGrid/utils.js +5 -4
- package/dist/components/DateInput.cjs +35 -31
- package/dist/components/DateInput.css +17 -0
- package/dist/components/DateInput.js +5 -4
- package/dist/components/DateRangeInput.cjs +35 -31
- package/dist/components/DateRangeInput.css +17 -0
- package/dist/components/DateRangeInput.js +5 -4
- package/dist/components/EmblaCarousel/index.cjs +47 -0
- package/dist/components/EmblaCarousel/index.js +9 -0
- package/dist/components/MobileDataGrid/ColumnList.css +17 -0
- package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +12 -8
- package/dist/components/MobileDataGrid/ColumnSelector/index.css +17 -0
- package/dist/components/MobileDataGrid/ColumnSelector/index.js +5 -4
- package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +20 -16
- package/dist/components/MobileDataGrid/MobileDataGridHeader.css +17 -0
- package/dist/components/MobileDataGrid/MobileDataGridHeader.js +5 -4
- package/dist/components/MobileDataGrid/index.cjs +93 -89
- package/dist/components/MobileDataGrid/index.css +17 -0
- package/dist/components/MobileDataGrid/index.js +5 -4
- package/dist/components/ProductImagePreview/index.js +2 -2
- package/dist/components/index.cjs +10 -0
- package/dist/components/index.css +17 -0
- package/dist/components/index.js +8 -4
- package/dist/index.css +17 -0
- package/package.json +3 -1
- package/dist/{chunk-GQDUOL5Y.js → chunk-C5DKGJ4E.js} +3 -3
- /package/dist/{chunk-UIF3AIAT.js → chunk-ILHEM6BK.js} +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// src/components/EmblaCarousel/index.tsx
|
|
2
|
+
import useEmblaCarousel from "embla-carousel-react";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
var EmblaCarousel = ({ options, children }) => {
|
|
5
|
+
const [emblaRef] = useEmblaCarousel(options);
|
|
6
|
+
return /* @__PURE__ */ jsx("section", { className: "w-full m-auto", children: /* @__PURE__ */ jsx("div", { className: "embla__viewport overflow-hidden", ref: emblaRef, children: /* @__PURE__ */ 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 }) }) });
|
|
7
|
+
};
|
|
8
|
+
var EmblaCarousel_default = EmblaCarousel;
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
EmblaCarousel,
|
|
12
|
+
EmblaCarousel_default
|
|
13
|
+
};
|
|
@@ -5603,8 +5603,12 @@ var import_clsx41 = __toESM(require("clsx"), 1);
|
|
|
5603
5603
|
var import_react39 = require("react");
|
|
5604
5604
|
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
5605
5605
|
|
|
5606
|
-
// src/components/
|
|
5606
|
+
// src/components/EmblaCarousel/index.tsx
|
|
5607
|
+
var import_embla_carousel_react = __toESM(require("embla-carousel-react"), 1);
|
|
5607
5608
|
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
5609
|
+
|
|
5610
|
+
// src/components/CalendarRange.tsx
|
|
5611
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
5608
5612
|
function isWeekend(date) {
|
|
5609
5613
|
return date.dayOfWeek === 6 || date.dayOfWeek === 7;
|
|
5610
5614
|
}
|
|
@@ -5642,7 +5646,7 @@ function DateCell(_a) {
|
|
|
5642
5646
|
"id",
|
|
5643
5647
|
"testid"
|
|
5644
5648
|
]);
|
|
5645
|
-
return /* @__PURE__ */ (0,
|
|
5649
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
5646
5650
|
"span",
|
|
5647
5651
|
__spreadProps(__spreadValues({}, props), {
|
|
5648
5652
|
id,
|
|
@@ -5798,7 +5802,7 @@ function CalendarRange({
|
|
|
5798
5802
|
}
|
|
5799
5803
|
return false;
|
|
5800
5804
|
}
|
|
5801
|
-
return /* @__PURE__ */ (0,
|
|
5805
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
5802
5806
|
"div",
|
|
5803
5807
|
{
|
|
5804
5808
|
id,
|
|
@@ -5811,7 +5815,7 @@ function CalendarRange({
|
|
|
5811
5815
|
// baseTransition,
|
|
5812
5816
|
"overflow-hidden"
|
|
5813
5817
|
),
|
|
5814
|
-
children: /* @__PURE__ */ (0,
|
|
5818
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
5815
5819
|
"div",
|
|
5816
5820
|
{
|
|
5817
5821
|
className: (0, import_clsx42.default)(
|
|
@@ -5819,7 +5823,7 @@ function CalendarRange({
|
|
|
5819
5823
|
layoutGap
|
|
5820
5824
|
),
|
|
5821
5825
|
children: (mode === "double" ? [0, 1] : [0]).map((offset, idx) => {
|
|
5822
|
-
return /* @__PURE__ */ (0,
|
|
5826
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
5823
5827
|
CalendarPane,
|
|
5824
5828
|
{
|
|
5825
5829
|
getMonthData,
|
|
@@ -5884,13 +5888,13 @@ function CalendarPane({
|
|
|
5884
5888
|
const month = getMonthData(offset);
|
|
5885
5889
|
const totalCells = 42;
|
|
5886
5890
|
const emptyCells = month.firstDayOffset;
|
|
5887
|
-
return /* @__PURE__ */ (0,
|
|
5888
|
-
/* @__PURE__ */ (0,
|
|
5891
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_react40.default.Fragment, { children: [
|
|
5892
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
5889
5893
|
"div",
|
|
5890
5894
|
{
|
|
5891
5895
|
className: (0, import_clsx42.default)("flex flex-col"),
|
|
5892
5896
|
children: [
|
|
5893
|
-
/* @__PURE__ */ (0,
|
|
5897
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
5894
5898
|
"div",
|
|
5895
5899
|
{
|
|
5896
5900
|
className: (0, import_clsx42.default)(
|
|
@@ -5899,7 +5903,7 @@ function CalendarPane({
|
|
|
5899
5903
|
"text-text-action-primary-normal"
|
|
5900
5904
|
),
|
|
5901
5905
|
children: [
|
|
5902
|
-
idx === 0 ? /* @__PURE__ */ (0,
|
|
5906
|
+
idx === 0 ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
5903
5907
|
"button",
|
|
5904
5908
|
{
|
|
5905
5909
|
id: id ? `${id}-prev-month-button` : void 0,
|
|
@@ -5911,11 +5915,11 @@ function CalendarPane({
|
|
|
5911
5915
|
),
|
|
5912
5916
|
"aria-label": "Previous month",
|
|
5913
5917
|
onClick: () => setBaseMonth(baseMonth.subtract({ months: 1 })),
|
|
5914
|
-
children: /* @__PURE__ */ (0,
|
|
5918
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Icon, { name: "chevron_left", size: 24 })
|
|
5915
5919
|
}
|
|
5916
|
-
) : /* @__PURE__ */ (0,
|
|
5917
|
-
/* @__PURE__ */ (0,
|
|
5918
|
-
/* @__PURE__ */ (0,
|
|
5920
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { className: (0, import_clsx42.default)(componentPadding, "mr-1") }),
|
|
5921
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "flex gap-desktop-compact-component-padding", children: [
|
|
5922
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
5919
5923
|
"button",
|
|
5920
5924
|
{
|
|
5921
5925
|
ref: (el) => {
|
|
@@ -5930,13 +5934,13 @@ function CalendarPane({
|
|
|
5930
5934
|
children: month.name
|
|
5931
5935
|
}
|
|
5932
5936
|
),
|
|
5933
|
-
/* @__PURE__ */ (0,
|
|
5937
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
5934
5938
|
Menu,
|
|
5935
5939
|
{
|
|
5936
5940
|
show: monthMenuOpen,
|
|
5937
5941
|
positionTo: monthMenuRef,
|
|
5938
5942
|
setShow: () => setMonthMenuOpen(false),
|
|
5939
|
-
children: months.map((x) => [x, getMonthDataWith(x + 1)]).map(([x, m]) => /* @__PURE__ */ (0,
|
|
5943
|
+
children: months.map((x) => [x, getMonthDataWith(x + 1)]).map(([x, m]) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
5940
5944
|
MenuOption,
|
|
5941
5945
|
{
|
|
5942
5946
|
selected: baseMonth.month === x + 1,
|
|
@@ -5950,7 +5954,7 @@ function CalendarPane({
|
|
|
5950
5954
|
))
|
|
5951
5955
|
}
|
|
5952
5956
|
),
|
|
5953
|
-
/* @__PURE__ */ (0,
|
|
5957
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
5954
5958
|
"button",
|
|
5955
5959
|
{
|
|
5956
5960
|
ref: (el) => {
|
|
@@ -5965,13 +5969,13 @@ function CalendarPane({
|
|
|
5965
5969
|
children: month.year
|
|
5966
5970
|
}
|
|
5967
5971
|
),
|
|
5968
|
-
/* @__PURE__ */ (0,
|
|
5972
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
5969
5973
|
Menu,
|
|
5970
5974
|
{
|
|
5971
5975
|
show: yearMenuOpen,
|
|
5972
5976
|
positionTo: yearMenuRef,
|
|
5973
5977
|
setShow: () => setYearMenuOpen(false),
|
|
5974
|
-
children: years.map((y) => /* @__PURE__ */ (0,
|
|
5978
|
+
children: years.map((y) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
5975
5979
|
MenuOption,
|
|
5976
5980
|
{
|
|
5977
5981
|
selected: baseMonth.year === y,
|
|
@@ -5986,7 +5990,7 @@ function CalendarPane({
|
|
|
5986
5990
|
}
|
|
5987
5991
|
)
|
|
5988
5992
|
] }),
|
|
5989
|
-
(mode === "double" ? idx === 1 : true) ? /* @__PURE__ */ (0,
|
|
5993
|
+
(mode === "double" ? idx === 1 : true) ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
5990
5994
|
"button",
|
|
5991
5995
|
{
|
|
5992
5996
|
id: id ? `${id}-next-month-button` : void 0,
|
|
@@ -5998,13 +6002,13 @@ function CalendarPane({
|
|
|
5998
6002
|
),
|
|
5999
6003
|
"aria-label": "Next month",
|
|
6000
6004
|
onClick: () => setBaseMonth(baseMonth.add({ months: 1 })),
|
|
6001
|
-
children: /* @__PURE__ */ (0,
|
|
6005
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Icon, { name: "chevron_right", size: 24 })
|
|
6002
6006
|
}
|
|
6003
|
-
) : /* @__PURE__ */ (0,
|
|
6007
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { className: (0, import_clsx42.default)(componentPadding, "ml-1") })
|
|
6004
6008
|
]
|
|
6005
6009
|
}
|
|
6006
6010
|
),
|
|
6007
|
-
/* @__PURE__ */ (0,
|
|
6011
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: (0, import_clsx42.default)("grid grid-cols-7"), children: weekDays.map((d) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6008
6012
|
"span",
|
|
6009
6013
|
{
|
|
6010
6014
|
className: (0, import_clsx42.default)(
|
|
@@ -6016,7 +6020,7 @@ function CalendarPane({
|
|
|
6016
6020
|
},
|
|
6017
6021
|
d
|
|
6018
6022
|
)) }),
|
|
6019
|
-
/* @__PURE__ */ (0,
|
|
6023
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: (0, import_clsx42.default)("grid grid-cols-7"), children: Array.from({ length: totalCells }).map((_, i) => {
|
|
6020
6024
|
const day = i - emptyCells + 1;
|
|
6021
6025
|
const date = month.date.with({ day: 1 }).add({
|
|
6022
6026
|
days: i - emptyCells
|
|
@@ -6030,7 +6034,7 @@ function CalendarPane({
|
|
|
6030
6034
|
const hoverDateIsAfterPendingFrom = hoveredDate && pendingFrom && import_polyfill.Temporal.PlainDate.compare(hoveredDate, pendingFrom) >= 0;
|
|
6031
6035
|
const isRangeStart = mode === "single" && disableRange ? false : !pendingFrom && isInMonth && fromDate && date.equals(fromDate) || hoverDateIsAfterPendingFrom && date.equals(pendingFrom);
|
|
6032
6036
|
const isRangeEnd = mode === "single" && disableRange ? false : !pendingFrom && isInMonth && toDate && date.equals(toDate) || hoverDateIsBeforePendingFrom && date.equals(pendingFrom);
|
|
6033
|
-
return /* @__PURE__ */ (0,
|
|
6037
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6034
6038
|
DateCell,
|
|
6035
6039
|
{
|
|
6036
6040
|
id: id ? `${id}-date-${date.toString()}` : void 0,
|
|
@@ -6055,7 +6059,7 @@ function CalendarPane({
|
|
|
6055
6059
|
]
|
|
6056
6060
|
}
|
|
6057
6061
|
),
|
|
6058
|
-
mode === "double" && idx === 0 && /* @__PURE__ */ (0,
|
|
6062
|
+
mode === "double" && idx === 0 && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6059
6063
|
"div",
|
|
6060
6064
|
{
|
|
6061
6065
|
className: (0, import_clsx42.default)(
|
|
@@ -632,6 +632,9 @@
|
|
|
632
632
|
.m-4 {
|
|
633
633
|
margin: calc(var(--spacing) * 4);
|
|
634
634
|
}
|
|
635
|
+
.m-auto {
|
|
636
|
+
margin: auto;
|
|
637
|
+
}
|
|
635
638
|
.m-mobile-container-padding {
|
|
636
639
|
margin: var(--spacing-mobile-container-padding);
|
|
637
640
|
}
|
|
@@ -1031,6 +1034,14 @@
|
|
|
1031
1034
|
.cursor-pointer {
|
|
1032
1035
|
cursor: pointer;
|
|
1033
1036
|
}
|
|
1037
|
+
.touch-pan-y {
|
|
1038
|
+
--tw-pan-y: pan-y;
|
|
1039
|
+
touch-action: var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,);
|
|
1040
|
+
}
|
|
1041
|
+
.touch-pinch-zoom {
|
|
1042
|
+
--tw-pinch-zoom: pinch-zoom;
|
|
1043
|
+
touch-action: var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,);
|
|
1044
|
+
}
|
|
1034
1045
|
.resize {
|
|
1035
1046
|
resize: both;
|
|
1036
1047
|
}
|
|
@@ -5254,6 +5265,9 @@ body {
|
|
|
5254
5265
|
@property --tw-rotate-z { syntax: "*"; inherits: false; }
|
|
5255
5266
|
@property --tw-skew-x { syntax: "*"; inherits: false; }
|
|
5256
5267
|
@property --tw-skew-y { syntax: "*"; inherits: false; }
|
|
5268
|
+
@property --tw-pan-x { syntax: "*"; inherits: false; }
|
|
5269
|
+
@property --tw-pan-y { syntax: "*"; inherits: false; }
|
|
5270
|
+
@property --tw-pinch-zoom { syntax: "*"; inherits: false; }
|
|
5257
5271
|
@property --tw-space-y-reverse { syntax: "*"; inherits: false; initial-value: 0; }
|
|
5258
5272
|
@property --tw-space-x-reverse { syntax: "*"; inherits: false; initial-value: 0; }
|
|
5259
5273
|
@property --tw-divide-x-reverse { syntax: "*"; inherits: false; initial-value: 0; }
|
|
@@ -5328,6 +5342,9 @@ body {
|
|
|
5328
5342
|
--tw-rotate-z: initial;
|
|
5329
5343
|
--tw-skew-x: initial;
|
|
5330
5344
|
--tw-skew-y: initial;
|
|
5345
|
+
--tw-pan-x: initial;
|
|
5346
|
+
--tw-pan-y: initial;
|
|
5347
|
+
--tw-pinch-zoom: initial;
|
|
5331
5348
|
--tw-space-y-reverse: 0;
|
|
5332
5349
|
--tw-space-x-reverse: 0;
|
|
5333
5350
|
--tw-divide-x-reverse: 0;
|
|
@@ -2,17 +2,18 @@ import {
|
|
|
2
2
|
CalendarRange,
|
|
3
3
|
CalendarRange_default,
|
|
4
4
|
isWeekend
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-ILHEM6BK.js";
|
|
6
6
|
import "../chunk-WJJB7IJZ.js";
|
|
7
|
-
import "../chunk-M7INAUAJ.js";
|
|
8
7
|
import "../chunk-Q4YDNW7N.js";
|
|
9
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-M7INAUAJ.js";
|
|
9
|
+
import "../chunk-C5DKGJ4E.js";
|
|
10
|
+
import "../chunk-2IKT6IHB.js";
|
|
10
11
|
import "../chunk-YCDDBSVU.js";
|
|
11
12
|
import "../chunk-3X3Y4TMS.js";
|
|
12
13
|
import "../chunk-BQNPOGD5.js";
|
|
13
14
|
import "../chunk-Y5GD2FJA.js";
|
|
14
15
|
import "../chunk-MBZ55T2D.js";
|
|
15
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-SZ47M32R.js";
|
|
16
17
|
import "../chunk-B4AE3DCA.js";
|
|
17
18
|
import "../chunk-FP3Y5JJN.js";
|
|
18
19
|
import "../chunk-5IFPG6TS.js";
|
|
@@ -6036,8 +6036,12 @@ var import_clsx42 = __toESM(require("clsx"), 1);
|
|
|
6036
6036
|
var import_react39 = require("react");
|
|
6037
6037
|
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
6038
6038
|
|
|
6039
|
-
// src/components/
|
|
6039
|
+
// src/components/EmblaCarousel/index.tsx
|
|
6040
|
+
var import_embla_carousel_react = __toESM(require("embla-carousel-react"), 1);
|
|
6040
6041
|
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
6042
|
+
|
|
6043
|
+
// src/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.tsx
|
|
6044
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
6041
6045
|
function ColumnSelectorMenuOption({
|
|
6042
6046
|
id,
|
|
6043
6047
|
testid,
|
|
@@ -6046,7 +6050,7 @@ function ColumnSelectorMenuOption({
|
|
|
6046
6050
|
}) {
|
|
6047
6051
|
const [isVisible, setIsVisible] = (0, import_react40.useState)(column.getIsVisible());
|
|
6048
6052
|
const label = typeof column.columnDef.header === "string" ? column.columnDef.header : null;
|
|
6049
|
-
return /* @__PURE__ */ (0,
|
|
6053
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(MenuOption, { id, testid, defaultChecked: isVisible, children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6050
6054
|
Checkbox,
|
|
6051
6055
|
{
|
|
6052
6056
|
id: id ? `${id}-checkbox` : void 0,
|
|
@@ -632,6 +632,9 @@
|
|
|
632
632
|
.m-4 {
|
|
633
633
|
margin: calc(var(--spacing) * 4);
|
|
634
634
|
}
|
|
635
|
+
.m-auto {
|
|
636
|
+
margin: auto;
|
|
637
|
+
}
|
|
635
638
|
.m-mobile-container-padding {
|
|
636
639
|
margin: var(--spacing-mobile-container-padding);
|
|
637
640
|
}
|
|
@@ -1031,6 +1034,14 @@
|
|
|
1031
1034
|
.cursor-pointer {
|
|
1032
1035
|
cursor: pointer;
|
|
1033
1036
|
}
|
|
1037
|
+
.touch-pan-y {
|
|
1038
|
+
--tw-pan-y: pan-y;
|
|
1039
|
+
touch-action: var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,);
|
|
1040
|
+
}
|
|
1041
|
+
.touch-pinch-zoom {
|
|
1042
|
+
--tw-pinch-zoom: pinch-zoom;
|
|
1043
|
+
touch-action: var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,);
|
|
1044
|
+
}
|
|
1034
1045
|
.resize {
|
|
1035
1046
|
resize: both;
|
|
1036
1047
|
}
|
|
@@ -5254,6 +5265,9 @@ body {
|
|
|
5254
5265
|
@property --tw-rotate-z { syntax: "*"; inherits: false; }
|
|
5255
5266
|
@property --tw-skew-x { syntax: "*"; inherits: false; }
|
|
5256
5267
|
@property --tw-skew-y { syntax: "*"; inherits: false; }
|
|
5268
|
+
@property --tw-pan-x { syntax: "*"; inherits: false; }
|
|
5269
|
+
@property --tw-pan-y { syntax: "*"; inherits: false; }
|
|
5270
|
+
@property --tw-pinch-zoom { syntax: "*"; inherits: false; }
|
|
5257
5271
|
@property --tw-space-y-reverse { syntax: "*"; inherits: false; initial-value: 0; }
|
|
5258
5272
|
@property --tw-space-x-reverse { syntax: "*"; inherits: false; initial-value: 0; }
|
|
5259
5273
|
@property --tw-divide-x-reverse { syntax: "*"; inherits: false; initial-value: 0; }
|
|
@@ -5328,6 +5342,9 @@ body {
|
|
|
5328
5342
|
--tw-rotate-z: initial;
|
|
5329
5343
|
--tw-skew-x: initial;
|
|
5330
5344
|
--tw-skew-y: initial;
|
|
5345
|
+
--tw-pan-x: initial;
|
|
5346
|
+
--tw-pan-y: initial;
|
|
5347
|
+
--tw-pinch-zoom: initial;
|
|
5331
5348
|
--tw-space-y-reverse: 0;
|
|
5332
5349
|
--tw-space-x-reverse: 0;
|
|
5333
5350
|
--tw-divide-x-reverse: 0;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ColumnSelectorMenuOption
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-ILHEM6BK.js";
|
|
4
4
|
import "../../../chunk-WJJB7IJZ.js";
|
|
5
|
-
import "../../../chunk-M7INAUAJ.js";
|
|
6
5
|
import "../../../chunk-Q4YDNW7N.js";
|
|
7
|
-
import "../../../chunk-
|
|
6
|
+
import "../../../chunk-M7INAUAJ.js";
|
|
7
|
+
import "../../../chunk-C5DKGJ4E.js";
|
|
8
|
+
import "../../../chunk-2IKT6IHB.js";
|
|
8
9
|
import "../../../chunk-YCDDBSVU.js";
|
|
9
10
|
import "../../../chunk-3X3Y4TMS.js";
|
|
10
11
|
import "../../../chunk-BQNPOGD5.js";
|
|
11
12
|
import "../../../chunk-Y5GD2FJA.js";
|
|
12
13
|
import "../../../chunk-MBZ55T2D.js";
|
|
13
|
-
import "../../../chunk-
|
|
14
|
+
import "../../../chunk-SZ47M32R.js";
|
|
14
15
|
import "../../../chunk-B4AE3DCA.js";
|
|
15
16
|
import "../../../chunk-FP3Y5JJN.js";
|
|
16
17
|
import "../../../chunk-5IFPG6TS.js";
|
|
@@ -5958,9 +5958,13 @@ var import_clsx42 = __toESM(require("clsx"), 1);
|
|
|
5958
5958
|
var import_react38 = require("react");
|
|
5959
5959
|
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
5960
5960
|
|
|
5961
|
+
// src/components/EmblaCarousel/index.tsx
|
|
5962
|
+
var import_embla_carousel_react = __toESM(require("embla-carousel-react"), 1);
|
|
5963
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
5964
|
+
|
|
5961
5965
|
// src/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.tsx
|
|
5962
5966
|
var import_react39 = require("react");
|
|
5963
|
-
var
|
|
5967
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
5964
5968
|
function ColumnSelectorMenuOption({
|
|
5965
5969
|
id,
|
|
5966
5970
|
testid,
|
|
@@ -5969,7 +5973,7 @@ function ColumnSelectorMenuOption({
|
|
|
5969
5973
|
}) {
|
|
5970
5974
|
const [isVisible, setIsVisible] = (0, import_react39.useState)(column.getIsVisible());
|
|
5971
5975
|
const label = typeof column.columnDef.header === "string" ? column.columnDef.header : null;
|
|
5972
|
-
return /* @__PURE__ */ (0,
|
|
5976
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(MenuOption, { id, testid, defaultChecked: isVisible, children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
5973
5977
|
Checkbox,
|
|
5974
5978
|
{
|
|
5975
5979
|
id: id ? `${id}-checkbox` : void 0,
|
|
@@ -5985,7 +5989,7 @@ function ColumnSelectorMenuOption({
|
|
|
5985
5989
|
}
|
|
5986
5990
|
|
|
5987
5991
|
// src/components/DataGrid/ColumnSelectorHeaderCell/index.tsx
|
|
5988
|
-
var
|
|
5992
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
5989
5993
|
function ColumnSelectorHeaderCell({
|
|
5990
5994
|
id,
|
|
5991
5995
|
testid,
|
|
@@ -5995,7 +5999,7 @@ function ColumnSelectorHeaderCell({
|
|
|
5995
5999
|
}) {
|
|
5996
6000
|
const ref = (0, import_react40.useRef)(null);
|
|
5997
6001
|
const [show, setShow] = (0, import_react40.useState)(false);
|
|
5998
|
-
return /* @__PURE__ */ (0,
|
|
6002
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
5999
6003
|
DataGridCell,
|
|
6000
6004
|
{
|
|
6001
6005
|
id,
|
|
@@ -6005,7 +6009,7 @@ function ColumnSelectorHeaderCell({
|
|
|
6005
6009
|
color: "text-secondary-normal",
|
|
6006
6010
|
ref,
|
|
6007
6011
|
children: [
|
|
6008
|
-
/* @__PURE__ */ (0,
|
|
6012
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6009
6013
|
Button,
|
|
6010
6014
|
{
|
|
6011
6015
|
id: id ? `${id}-button` : void 0,
|
|
@@ -6013,10 +6017,10 @@ function ColumnSelectorHeaderCell({
|
|
|
6013
6017
|
onClick: () => setShow((prev) => !prev),
|
|
6014
6018
|
variant: "navigation",
|
|
6015
6019
|
iconOnly: true,
|
|
6016
|
-
leftIcon: /* @__PURE__ */ (0,
|
|
6020
|
+
leftIcon: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Icon, { name: "tune" })
|
|
6017
6021
|
}
|
|
6018
6022
|
),
|
|
6019
|
-
/* @__PURE__ */ (0,
|
|
6023
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
6020
6024
|
Menu,
|
|
6021
6025
|
{
|
|
6022
6026
|
id: id ? `${id}-menu` : void 0,
|
|
@@ -6027,7 +6031,7 @@ function ColumnSelectorHeaderCell({
|
|
|
6027
6031
|
setShow,
|
|
6028
6032
|
calculateMinMaxHeight: true,
|
|
6029
6033
|
children: [
|
|
6030
|
-
/* @__PURE__ */ (0,
|
|
6034
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6031
6035
|
Button,
|
|
6032
6036
|
{
|
|
6033
6037
|
id: id ? `${id}-reset-button` : void 0,
|
|
@@ -6043,7 +6047,7 @@ function ColumnSelectorHeaderCell({
|
|
|
6043
6047
|
table.getAllColumns().filter((x) => {
|
|
6044
6048
|
var _a;
|
|
6045
6049
|
return (_a = x.columnDef.meta) == null ? void 0 : _a.inVisibilityMenu;
|
|
6046
|
-
}).map((column) => /* @__PURE__ */ (0,
|
|
6050
|
+
}).map((column) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6047
6051
|
ColumnSelectorMenuOption,
|
|
6048
6052
|
{
|
|
6049
6053
|
id: id ? `${id}-option-${column.id}` : void 0,
|
|
@@ -632,6 +632,9 @@
|
|
|
632
632
|
.m-4 {
|
|
633
633
|
margin: calc(var(--spacing) * 4);
|
|
634
634
|
}
|
|
635
|
+
.m-auto {
|
|
636
|
+
margin: auto;
|
|
637
|
+
}
|
|
635
638
|
.m-mobile-container-padding {
|
|
636
639
|
margin: var(--spacing-mobile-container-padding);
|
|
637
640
|
}
|
|
@@ -1031,6 +1034,14 @@
|
|
|
1031
1034
|
.cursor-pointer {
|
|
1032
1035
|
cursor: pointer;
|
|
1033
1036
|
}
|
|
1037
|
+
.touch-pan-y {
|
|
1038
|
+
--tw-pan-y: pan-y;
|
|
1039
|
+
touch-action: var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,);
|
|
1040
|
+
}
|
|
1041
|
+
.touch-pinch-zoom {
|
|
1042
|
+
--tw-pinch-zoom: pinch-zoom;
|
|
1043
|
+
touch-action: var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,);
|
|
1044
|
+
}
|
|
1034
1045
|
.resize {
|
|
1035
1046
|
resize: both;
|
|
1036
1047
|
}
|
|
@@ -5254,6 +5265,9 @@ body {
|
|
|
5254
5265
|
@property --tw-rotate-z { syntax: "*"; inherits: false; }
|
|
5255
5266
|
@property --tw-skew-x { syntax: "*"; inherits: false; }
|
|
5256
5267
|
@property --tw-skew-y { syntax: "*"; inherits: false; }
|
|
5268
|
+
@property --tw-pan-x { syntax: "*"; inherits: false; }
|
|
5269
|
+
@property --tw-pan-y { syntax: "*"; inherits: false; }
|
|
5270
|
+
@property --tw-pinch-zoom { syntax: "*"; inherits: false; }
|
|
5257
5271
|
@property --tw-space-y-reverse { syntax: "*"; inherits: false; initial-value: 0; }
|
|
5258
5272
|
@property --tw-space-x-reverse { syntax: "*"; inherits: false; initial-value: 0; }
|
|
5259
5273
|
@property --tw-divide-x-reverse { syntax: "*"; inherits: false; initial-value: 0; }
|
|
@@ -5328,6 +5342,9 @@ body {
|
|
|
5328
5342
|
--tw-rotate-z: initial;
|
|
5329
5343
|
--tw-skew-x: initial;
|
|
5330
5344
|
--tw-skew-y: initial;
|
|
5345
|
+
--tw-pan-x: initial;
|
|
5346
|
+
--tw-pan-y: initial;
|
|
5347
|
+
--tw-pinch-zoom: initial;
|
|
5331
5348
|
--tw-space-y-reverse: 0;
|
|
5332
5349
|
--tw-space-x-reverse: 0;
|
|
5333
5350
|
--tw-divide-x-reverse: 0;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ColumnSelectorHeaderCell
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-ILHEM6BK.js";
|
|
4
4
|
import "../../../chunk-WJJB7IJZ.js";
|
|
5
|
-
import "../../../chunk-M7INAUAJ.js";
|
|
6
5
|
import "../../../chunk-Q4YDNW7N.js";
|
|
7
|
-
import "../../../chunk-
|
|
6
|
+
import "../../../chunk-M7INAUAJ.js";
|
|
7
|
+
import "../../../chunk-C5DKGJ4E.js";
|
|
8
|
+
import "../../../chunk-2IKT6IHB.js";
|
|
8
9
|
import "../../../chunk-YCDDBSVU.js";
|
|
9
10
|
import "../../../chunk-3X3Y4TMS.js";
|
|
10
11
|
import "../../../chunk-BQNPOGD5.js";
|
|
11
12
|
import "../../../chunk-Y5GD2FJA.js";
|
|
12
13
|
import "../../../chunk-MBZ55T2D.js";
|
|
13
|
-
import "../../../chunk-
|
|
14
|
+
import "../../../chunk-SZ47M32R.js";
|
|
14
15
|
import "../../../chunk-B4AE3DCA.js";
|
|
15
16
|
import "../../../chunk-FP3Y5JJN.js";
|
|
16
17
|
import "../../../chunk-5IFPG6TS.js";
|