@dmsi/wedgekit-react 0.0.863 → 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.
- package/dist/chunk-3N34VVYD.js +154 -0
- package/dist/{chunk-57HL5K5I.js → chunk-4DPSNQCM.js} +1 -1
- package/dist/{chunk-BH4UKMXV.js → chunk-5NRKL5CJ.js} +3 -3
- package/dist/{chunk-A57PKP6Z.js → chunk-E7XBOMT4.js} +6 -6
- package/dist/{chunk-CJPGHBV5.js → chunk-EGECC3PQ.js} +1 -1
- package/dist/{chunk-ZL6NXIGS.js → chunk-HT57FLRW.js} +1 -1
- package/dist/{chunk-BXEE6VGQ.js → chunk-KLH67DTH.js} +6 -23
- package/dist/{chunk-C5DKGJ4E.js → chunk-KOKA2IJC.js} +4 -4
- package/dist/{chunk-IPQIZG7U.js → chunk-N36EJLRW.js} +1 -1
- package/dist/{chunk-RFF2EFBX.js → chunk-OM7QLLI2.js} +2 -2
- package/dist/{chunk-FXJ7C6RF.js → chunk-PE3EZP56.js} +1 -1
- package/dist/chunk-WVGXD7HT.js +19 -0
- package/dist/{chunk-7OLDYFKY.js → chunk-X3NDEFVA.js} +1 -1
- package/dist/chunk-YV5FS7NV.js +89 -0
- package/dist/chunk-Z2HPSFEQ.js +14 -0
- package/dist/{chunk-RTZO2OU7.js → chunk-Z7XANQ47.js} +1 -1
- package/dist/components/CalendarRange.cjs +65 -46
- package/dist/components/CalendarRange.css +13 -0
- package/dist/components/CalendarRange.js +17 -14
- package/dist/components/CompactImagesPreview.js +3 -2
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +23 -4
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.css +13 -0
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +17 -14
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +32 -13
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.css +13 -0
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +17 -14
- package/dist/components/DataGrid/PinnedColumns.cjs +48 -29
- package/dist/components/DataGrid/PinnedColumns.css +13 -0
- package/dist/components/DataGrid/PinnedColumns.js +17 -14
- package/dist/components/DataGrid/TableBody/LoadingCell.cjs +24 -5
- package/dist/components/DataGrid/TableBody/LoadingCell.css +13 -0
- package/dist/components/DataGrid/TableBody/LoadingCell.js +17 -14
- package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +30 -11
- package/dist/components/DataGrid/TableBody/TableBodyRow.css +13 -0
- package/dist/components/DataGrid/TableBody/TableBodyRow.js +17 -14
- package/dist/components/DataGrid/TableBody/index.cjs +45 -26
- package/dist/components/DataGrid/TableBody/index.css +13 -0
- package/dist/components/DataGrid/TableBody/index.js +17 -14
- package/dist/components/DataGrid/index.cjs +135 -116
- package/dist/components/DataGrid/index.css +13 -0
- package/dist/components/DataGrid/index.js +17 -14
- package/dist/components/DataGrid/utils.cjs +24 -5
- package/dist/components/DataGrid/utils.css +13 -0
- package/dist/components/DataGrid/utils.js +17 -14
- package/dist/components/DataGridCell.js +6 -5
- package/dist/components/DateInput.cjs +85 -66
- package/dist/components/DateInput.css +13 -0
- package/dist/components/DateInput.js +17 -14
- package/dist/components/DateRangeInput.cjs +84 -65
- package/dist/components/DateRangeInput.css +13 -0
- package/dist/components/DateRangeInput.js +17 -14
- package/dist/components/EmblaCarousel/ArrowButtons.cjs +147 -0
- package/dist/components/EmblaCarousel/ArrowButtons.js +9 -0
- package/dist/components/EmblaCarousel/SelectedSnapDisplay.cjs +38 -0
- package/dist/components/EmblaCarousel/SelectedSnapDisplay.js +7 -0
- package/dist/components/EmblaCarousel/index.cjs +266 -2
- package/dist/components/EmblaCarousel/index.js +4 -1
- package/dist/components/Menu.js +4 -3
- package/dist/components/MenuOption.js +3 -2
- package/dist/components/MobileDataGrid/ColumnList.css +13 -0
- package/dist/components/MobileDataGrid/ColumnList.js +1 -1
- package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +31 -12
- package/dist/components/MobileDataGrid/ColumnSelector/index.css +13 -0
- package/dist/components/MobileDataGrid/ColumnSelector/index.js +17 -14
- package/dist/components/MobileDataGrid/MobileDataGridCard/index.js +1 -1
- package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +39 -20
- package/dist/components/MobileDataGrid/MobileDataGridHeader.css +13 -0
- package/dist/components/MobileDataGrid/MobileDataGridHeader.js +17 -14
- package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.js +1 -1
- package/dist/components/MobileDataGrid/RowDetailModalProvider/index.js +5 -4
- package/dist/components/MobileDataGrid/index.cjs +151 -132
- package/dist/components/MobileDataGrid/index.css +13 -0
- package/dist/components/MobileDataGrid/index.js +17 -14
- package/dist/components/Modal.js +3 -2
- package/dist/components/NestedMenu.js +3 -2
- package/dist/components/PDFViewer/DownloadIcon.js +4 -3
- package/dist/components/PDFViewer/index.js +5 -4
- package/dist/components/Password.js +3 -2
- package/dist/components/ProductImagePreview/index.js +4 -3
- package/dist/components/ProjectBar.js +2 -1
- package/dist/components/Stepper.js +3 -2
- package/dist/components/Tooltip.js +3 -2
- package/dist/components/index.cjs +222 -2
- package/dist/components/index.css +13 -0
- package/dist/components/index.js +17 -14
- package/dist/components/useMenuSystem.js +3 -2
- package/dist/hooks/index.js +5 -3
- package/dist/index.css +13 -0
- package/package.json +3 -3
- package/dist/chunk-SZ47M32R.js +0 -13
|
@@ -64,7 +64,7 @@ __export(CalendarRange_exports, {
|
|
|
64
64
|
isWeekend: () => isWeekend
|
|
65
65
|
});
|
|
66
66
|
module.exports = __toCommonJS(CalendarRange_exports);
|
|
67
|
-
var
|
|
67
|
+
var import_clsx43 = __toESM(require("clsx"), 1);
|
|
68
68
|
|
|
69
69
|
// src/classNames.ts
|
|
70
70
|
var import_clsx = __toESM(require("clsx"), 1);
|
|
@@ -242,7 +242,7 @@ function Icon(_a) {
|
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
// src/components/CalendarRange.tsx
|
|
245
|
-
var
|
|
245
|
+
var import_react43 = __toESM(require("react"), 1);
|
|
246
246
|
var import_polyfill = require("@js-temporal/polyfill");
|
|
247
247
|
|
|
248
248
|
// src/components/DataGridCell.tsx
|
|
@@ -5658,11 +5658,30 @@ var import_react39 = require("react");
|
|
|
5658
5658
|
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
5659
5659
|
|
|
5660
5660
|
// src/components/EmblaCarousel/index.tsx
|
|
5661
|
+
var import_react42 = require("react");
|
|
5661
5662
|
var import_embla_carousel_react = __toESM(require("embla-carousel-react"), 1);
|
|
5663
|
+
|
|
5664
|
+
// src/components/EmblaCarousel/SelectedSnapDisplay.tsx
|
|
5662
5665
|
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
5663
5666
|
|
|
5664
|
-
// src/components/
|
|
5667
|
+
// src/components/EmblaCarousel/useSelectedSnapDisplay.ts
|
|
5668
|
+
var import_react40 = require("react");
|
|
5669
|
+
|
|
5670
|
+
// src/components/EmblaCarousel/ArrowButtons.tsx
|
|
5671
|
+
var import_clsx42 = __toESM(require("clsx"), 1);
|
|
5665
5672
|
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
5673
|
+
var arrowButtonStyles = (0, import_clsx42.default)(
|
|
5674
|
+
"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"
|
|
5675
|
+
);
|
|
5676
|
+
|
|
5677
|
+
// src/components/EmblaCarousel/usePrevNextButtons.ts
|
|
5678
|
+
var import_react41 = require("react");
|
|
5679
|
+
|
|
5680
|
+
// src/components/EmblaCarousel/index.tsx
|
|
5681
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
5682
|
+
|
|
5683
|
+
// src/components/CalendarRange.tsx
|
|
5684
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
5666
5685
|
function isWeekend(date) {
|
|
5667
5686
|
return date.dayOfWeek === 6 || date.dayOfWeek === 7;
|
|
5668
5687
|
}
|
|
@@ -5700,12 +5719,12 @@ function DateCell(_a) {
|
|
|
5700
5719
|
"id",
|
|
5701
5720
|
"testid"
|
|
5702
5721
|
]);
|
|
5703
|
-
return /* @__PURE__ */ (0,
|
|
5722
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
5704
5723
|
"span",
|
|
5705
5724
|
__spreadProps(__spreadValues({}, props), {
|
|
5706
5725
|
id,
|
|
5707
5726
|
"data-testid": testid,
|
|
5708
|
-
className: (0,
|
|
5727
|
+
className: (0, import_clsx43.default)(
|
|
5709
5728
|
"flex items-center justify-center aspect-square select-none transition-colors border duration-100 font-medium",
|
|
5710
5729
|
typography.caption,
|
|
5711
5730
|
cellPadding,
|
|
@@ -5776,20 +5795,20 @@ function CalendarRange({
|
|
|
5776
5795
|
const fromDate = parseDate(from);
|
|
5777
5796
|
const toDate = parseDate(to);
|
|
5778
5797
|
const today = import_polyfill.Temporal.Now.plainDateISO();
|
|
5779
|
-
const [baseMonth, setBaseMonth] = (0,
|
|
5798
|
+
const [baseMonth, setBaseMonth] = (0, import_react43.useState)(
|
|
5780
5799
|
fromDate != null ? fromDate : today.with({ day: 1 })
|
|
5781
5800
|
);
|
|
5782
|
-
const [selecting, setSelecting] = (0,
|
|
5783
|
-
const [pendingFrom, setPendingFrom] = (0,
|
|
5784
|
-
const [hoveredDate, setHoveredDate] = (0,
|
|
5785
|
-
(0,
|
|
5801
|
+
const [selecting, setSelecting] = (0, import_react43.useState)("from");
|
|
5802
|
+
const [pendingFrom, setPendingFrom] = (0, import_react43.useState)(void 0);
|
|
5803
|
+
const [hoveredDate, setHoveredDate] = (0, import_react43.useState)(void 0);
|
|
5804
|
+
(0, import_react43.useEffect)(() => {
|
|
5786
5805
|
if (fromDate) {
|
|
5787
5806
|
setBaseMonth(fromDate.with({ day: 1 }));
|
|
5788
5807
|
} else if (toDate) {
|
|
5789
5808
|
setBaseMonth(toDate.with({ day: 1 }));
|
|
5790
5809
|
}
|
|
5791
5810
|
}, [from, to]);
|
|
5792
|
-
(0,
|
|
5811
|
+
(0, import_react43.useEffect)(() => {
|
|
5793
5812
|
if (fromDate && toDate) {
|
|
5794
5813
|
setSelecting("from");
|
|
5795
5814
|
setPendingFrom(void 0);
|
|
@@ -5856,12 +5875,12 @@ function CalendarRange({
|
|
|
5856
5875
|
}
|
|
5857
5876
|
return false;
|
|
5858
5877
|
}
|
|
5859
|
-
return /* @__PURE__ */ (0,
|
|
5878
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
5860
5879
|
"div",
|
|
5861
5880
|
{
|
|
5862
5881
|
id,
|
|
5863
5882
|
"data-testid": testid,
|
|
5864
|
-
className: (0,
|
|
5883
|
+
className: (0, import_clsx43.default)(
|
|
5865
5884
|
"relative bg-background-grouped-primary-normal rounded-base w-fit",
|
|
5866
5885
|
layoutPaddding,
|
|
5867
5886
|
layoutGap,
|
|
@@ -5869,15 +5888,15 @@ function CalendarRange({
|
|
|
5869
5888
|
// baseTransition,
|
|
5870
5889
|
"overflow-hidden"
|
|
5871
5890
|
),
|
|
5872
|
-
children: /* @__PURE__ */ (0,
|
|
5891
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
5873
5892
|
"div",
|
|
5874
5893
|
{
|
|
5875
|
-
className: (0,
|
|
5894
|
+
className: (0, import_clsx43.default)(
|
|
5876
5895
|
"flex flex-row items-start justify-start bg-background-primary-normal overflow-clip",
|
|
5877
5896
|
layoutGap
|
|
5878
5897
|
),
|
|
5879
5898
|
children: (mode === "double" ? [0, 1] : [0]).map((offset, idx) => {
|
|
5880
|
-
return /* @__PURE__ */ (0,
|
|
5899
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
5881
5900
|
CalendarPane,
|
|
5882
5901
|
{
|
|
5883
5902
|
getMonthData,
|
|
@@ -5935,45 +5954,45 @@ function CalendarPane({
|
|
|
5935
5954
|
const years = Array.from({ length: 100 }).map(
|
|
5936
5955
|
(_, i) => baseMonth.year - 50 + i
|
|
5937
5956
|
);
|
|
5938
|
-
const [monthMenuOpen, setMonthMenuOpen] = (0,
|
|
5939
|
-
const [yearMenuOpen, setYearMenuOpen] = (0,
|
|
5940
|
-
const monthMenuRef = (0,
|
|
5941
|
-
const yearMenuRef = (0,
|
|
5957
|
+
const [monthMenuOpen, setMonthMenuOpen] = (0, import_react43.useState)(false);
|
|
5958
|
+
const [yearMenuOpen, setYearMenuOpen] = (0, import_react43.useState)(false);
|
|
5959
|
+
const monthMenuRef = (0, import_react43.useRef)(null);
|
|
5960
|
+
const yearMenuRef = (0, import_react43.useRef)(null);
|
|
5942
5961
|
const month = getMonthData(offset);
|
|
5943
5962
|
const totalCells = 42;
|
|
5944
5963
|
const emptyCells = month.firstDayOffset;
|
|
5945
|
-
return /* @__PURE__ */ (0,
|
|
5946
|
-
/* @__PURE__ */ (0,
|
|
5964
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(import_react43.default.Fragment, { children: [
|
|
5965
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
|
|
5947
5966
|
"div",
|
|
5948
5967
|
{
|
|
5949
|
-
className: (0,
|
|
5968
|
+
className: (0, import_clsx43.default)("flex flex-col"),
|
|
5950
5969
|
children: [
|
|
5951
|
-
/* @__PURE__ */ (0,
|
|
5970
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
|
|
5952
5971
|
"div",
|
|
5953
5972
|
{
|
|
5954
|
-
className: (0,
|
|
5973
|
+
className: (0, import_clsx43.default)(
|
|
5955
5974
|
"flex flex-row items-center justify-between",
|
|
5956
5975
|
typography.label,
|
|
5957
5976
|
"text-text-action-primary-normal"
|
|
5958
5977
|
),
|
|
5959
5978
|
children: [
|
|
5960
|
-
idx === 0 ? /* @__PURE__ */ (0,
|
|
5979
|
+
idx === 0 ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
5961
5980
|
"button",
|
|
5962
5981
|
{
|
|
5963
5982
|
id: id ? `${id}-prev-month-button` : void 0,
|
|
5964
5983
|
"data-testid": testid ? `${testid}-prev-month-button` : void 0,
|
|
5965
5984
|
type: "button",
|
|
5966
|
-
className: (0,
|
|
5985
|
+
className: (0, import_clsx43.default)(
|
|
5967
5986
|
"flex items-center justify-center rounded-base hover:bg-action-100 active:bg-action-300 text-icon-action-primary-normal",
|
|
5968
5987
|
componentPadding
|
|
5969
5988
|
),
|
|
5970
5989
|
"aria-label": "Previous month",
|
|
5971
5990
|
onClick: () => setBaseMonth(baseMonth.subtract({ months: 1 })),
|
|
5972
|
-
children: /* @__PURE__ */ (0,
|
|
5991
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Icon, { name: "chevron_left", size: 24 })
|
|
5973
5992
|
}
|
|
5974
|
-
) : /* @__PURE__ */ (0,
|
|
5975
|
-
/* @__PURE__ */ (0,
|
|
5976
|
-
/* @__PURE__ */ (0,
|
|
5993
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { className: (0, import_clsx43.default)(componentPadding, "mr-1") }),
|
|
5994
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "flex gap-desktop-compact-component-padding", children: [
|
|
5995
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
5977
5996
|
"button",
|
|
5978
5997
|
{
|
|
5979
5998
|
ref: (el) => {
|
|
@@ -5988,13 +6007,13 @@ function CalendarPane({
|
|
|
5988
6007
|
children: month.name
|
|
5989
6008
|
}
|
|
5990
6009
|
),
|
|
5991
|
-
/* @__PURE__ */ (0,
|
|
6010
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
5992
6011
|
Menu,
|
|
5993
6012
|
{
|
|
5994
6013
|
show: monthMenuOpen,
|
|
5995
6014
|
positionTo: monthMenuRef,
|
|
5996
6015
|
setShow: () => setMonthMenuOpen(false),
|
|
5997
|
-
children: months.map((x) => [x, getMonthDataWith(x + 1)]).map(([x, m]) => /* @__PURE__ */ (0,
|
|
6016
|
+
children: months.map((x) => [x, getMonthDataWith(x + 1)]).map(([x, m]) => /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
5998
6017
|
MenuOption,
|
|
5999
6018
|
{
|
|
6000
6019
|
selected: baseMonth.month === x + 1,
|
|
@@ -6008,7 +6027,7 @@ function CalendarPane({
|
|
|
6008
6027
|
))
|
|
6009
6028
|
}
|
|
6010
6029
|
),
|
|
6011
|
-
/* @__PURE__ */ (0,
|
|
6030
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
6012
6031
|
"button",
|
|
6013
6032
|
{
|
|
6014
6033
|
ref: (el) => {
|
|
@@ -6023,13 +6042,13 @@ function CalendarPane({
|
|
|
6023
6042
|
children: month.year
|
|
6024
6043
|
}
|
|
6025
6044
|
),
|
|
6026
|
-
/* @__PURE__ */ (0,
|
|
6045
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
6027
6046
|
Menu,
|
|
6028
6047
|
{
|
|
6029
6048
|
show: yearMenuOpen,
|
|
6030
6049
|
positionTo: yearMenuRef,
|
|
6031
6050
|
setShow: () => setYearMenuOpen(false),
|
|
6032
|
-
children: years.map((y) => /* @__PURE__ */ (0,
|
|
6051
|
+
children: years.map((y) => /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
6033
6052
|
MenuOption,
|
|
6034
6053
|
{
|
|
6035
6054
|
selected: baseMonth.year === y,
|
|
@@ -6044,28 +6063,28 @@ function CalendarPane({
|
|
|
6044
6063
|
}
|
|
6045
6064
|
)
|
|
6046
6065
|
] }),
|
|
6047
|
-
(mode === "double" ? idx === 1 : true) ? /* @__PURE__ */ (0,
|
|
6066
|
+
(mode === "double" ? idx === 1 : true) ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
6048
6067
|
"button",
|
|
6049
6068
|
{
|
|
6050
6069
|
id: id ? `${id}-next-month-button` : void 0,
|
|
6051
6070
|
"data-testid": testid ? `${testid}-next-month-button` : void 0,
|
|
6052
6071
|
type: "button",
|
|
6053
|
-
className: (0,
|
|
6072
|
+
className: (0, import_clsx43.default)(
|
|
6054
6073
|
"flex items-center justify-center rounded-base hover:bg-action-100 active:bg-action-300 text-icon-action-primary-normal",
|
|
6055
6074
|
componentPadding
|
|
6056
6075
|
),
|
|
6057
6076
|
"aria-label": "Next month",
|
|
6058
6077
|
onClick: () => setBaseMonth(baseMonth.add({ months: 1 })),
|
|
6059
|
-
children: /* @__PURE__ */ (0,
|
|
6078
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Icon, { name: "chevron_right", size: 24 })
|
|
6060
6079
|
}
|
|
6061
|
-
) : /* @__PURE__ */ (0,
|
|
6080
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { className: (0, import_clsx43.default)(componentPadding, "ml-1") })
|
|
6062
6081
|
]
|
|
6063
6082
|
}
|
|
6064
6083
|
),
|
|
6065
|
-
/* @__PURE__ */ (0,
|
|
6084
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: (0, import_clsx43.default)("grid grid-cols-7"), children: weekDays.map((d) => /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
6066
6085
|
"span",
|
|
6067
6086
|
{
|
|
6068
|
-
className: (0,
|
|
6087
|
+
className: (0, import_clsx43.default)(
|
|
6069
6088
|
typography.caption,
|
|
6070
6089
|
"text-text-secondary-normal text-center",
|
|
6071
6090
|
"w-10"
|
|
@@ -6074,7 +6093,7 @@ function CalendarPane({
|
|
|
6074
6093
|
},
|
|
6075
6094
|
d
|
|
6076
6095
|
)) }),
|
|
6077
|
-
/* @__PURE__ */ (0,
|
|
6096
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: (0, import_clsx43.default)("grid grid-cols-7"), children: Array.from({ length: totalCells }).map((_, i) => {
|
|
6078
6097
|
const day = i - emptyCells + 1;
|
|
6079
6098
|
const date = month.date.with({ day: 1 }).add({
|
|
6080
6099
|
days: i - emptyCells
|
|
@@ -6088,7 +6107,7 @@ function CalendarPane({
|
|
|
6088
6107
|
const hoverDateIsAfterPendingFrom = hoveredDate && pendingFrom && import_polyfill.Temporal.PlainDate.compare(hoveredDate, pendingFrom) >= 0;
|
|
6089
6108
|
const isRangeStart = mode === "single" && disableRange ? false : !pendingFrom && isInMonth && fromDate && date.equals(fromDate) || hoverDateIsAfterPendingFrom && date.equals(pendingFrom);
|
|
6090
6109
|
const isRangeEnd = mode === "single" && disableRange ? false : !pendingFrom && isInMonth && toDate && date.equals(toDate) || hoverDateIsBeforePendingFrom && date.equals(pendingFrom);
|
|
6091
|
-
return /* @__PURE__ */ (0,
|
|
6110
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
6092
6111
|
DateCell,
|
|
6093
6112
|
{
|
|
6094
6113
|
id: id ? `${id}-date-${date.toString()}` : void 0,
|
|
@@ -6113,10 +6132,10 @@ function CalendarPane({
|
|
|
6113
6132
|
]
|
|
6114
6133
|
}
|
|
6115
6134
|
),
|
|
6116
|
-
mode === "double" && idx === 0 && /* @__PURE__ */ (0,
|
|
6135
|
+
mode === "double" && idx === 0 && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
6117
6136
|
"div",
|
|
6118
6137
|
{
|
|
6119
|
-
className: (0,
|
|
6138
|
+
className: (0, import_clsx43.default)(
|
|
6120
6139
|
"self-stretch bg-border-primary-normal rounded-base",
|
|
6121
6140
|
// 1px width, full height, matches Figma divider
|
|
6122
6141
|
"w-px"
|
|
@@ -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
|
}
|
|
@@ -2,23 +2,25 @@ import {
|
|
|
2
2
|
CalendarRange,
|
|
3
3
|
CalendarRange_default,
|
|
4
4
|
isWeekend
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-E7XBOMT4.js";
|
|
6
|
+
import "../chunk-4DPSNQCM.js";
|
|
7
7
|
import "../chunk-Q4YDNW7N.js";
|
|
8
8
|
import "../chunk-M7INAUAJ.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-KOKA2IJC.js";
|
|
10
|
+
import "../chunk-MBZ55T2D.js";
|
|
10
11
|
import "../chunk-2IKT6IHB.js";
|
|
11
12
|
import "../chunk-YCDDBSVU.js";
|
|
12
13
|
import "../chunk-3X3Y4TMS.js";
|
|
13
14
|
import "../chunk-BQNPOGD5.js";
|
|
14
15
|
import "../chunk-Y5GD2FJA.js";
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-SZ47M32R.js";
|
|
16
|
+
import "../chunk-3N34VVYD.js";
|
|
17
17
|
import "../chunk-B4AE3DCA.js";
|
|
18
18
|
import "../chunk-FP3Y5JJN.js";
|
|
19
19
|
import "../chunk-5IFPG6TS.js";
|
|
20
|
-
import "../chunk-AJ5M6MVX.js";
|
|
21
20
|
import "../chunk-6EYMKEJ6.js";
|
|
21
|
+
import "../chunk-AJ5M6MVX.js";
|
|
22
|
+
import "../chunk-YV5FS7NV.js";
|
|
23
|
+
import "../chunk-Z2HPSFEQ.js";
|
|
22
24
|
import "../chunk-AT4AWD6B.js";
|
|
23
25
|
import "../chunk-EWGHVZL5.js";
|
|
24
26
|
import "../chunk-FZ2TEKOE.js";
|
|
@@ -26,8 +28,8 @@ import "../chunk-FESS4LWU.js";
|
|
|
26
28
|
import "../chunk-KBIEWFQS.js";
|
|
27
29
|
import "../chunk-NSZTJ5R4.js";
|
|
28
30
|
import "../chunk-LB7UT6F3.js";
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-HT57FLRW.js";
|
|
32
|
+
import "../chunk-N36EJLRW.js";
|
|
31
33
|
import "../chunk-4RJKB7LC.js";
|
|
32
34
|
import "../chunk-UUKHQUSF.js";
|
|
33
35
|
import "../chunk-WVVEOCEH.js";
|
|
@@ -38,17 +40,18 @@ import "../chunk-UAMI54FE.js";
|
|
|
38
40
|
import "../chunk-SJZNVG4N.js";
|
|
39
41
|
import "../chunk-75USUR3I.js";
|
|
40
42
|
import "../chunk-BWPNXY7T.js";
|
|
41
|
-
import "../chunk-
|
|
42
|
-
import "../chunk-
|
|
43
|
-
import "../chunk-
|
|
44
|
-
import "../chunk-
|
|
43
|
+
import "../chunk-5NRKL5CJ.js";
|
|
44
|
+
import "../chunk-OM7QLLI2.js";
|
|
45
|
+
import "../chunk-PE3EZP56.js";
|
|
46
|
+
import "../chunk-X3NDEFVA.js";
|
|
45
47
|
import "../chunk-FHXCCVOG.js";
|
|
46
48
|
import "../chunk-7T5RGDCN.js";
|
|
47
49
|
import "../chunk-HXGJVYGQ.js";
|
|
48
50
|
import "../chunk-WVUIIBRR.js";
|
|
49
51
|
import "../chunk-M7WHWZ2J.js";
|
|
50
|
-
import "../chunk-
|
|
51
|
-
import "../chunk-
|
|
52
|
+
import "../chunk-EGECC3PQ.js";
|
|
53
|
+
import "../chunk-KLH67DTH.js";
|
|
54
|
+
import "../chunk-WVGXD7HT.js";
|
|
52
55
|
import "../chunk-VXWSAIB5.js";
|
|
53
56
|
import "../chunk-MMZTPVYB.js";
|
|
54
57
|
import "../chunk-5UH6QUFB.js";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CompactImagesPreview
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-EGECC3PQ.js";
|
|
4
|
+
import "../chunk-KLH67DTH.js";
|
|
5
|
+
import "../chunk-WVGXD7HT.js";
|
|
5
6
|
import "../chunk-VXWSAIB5.js";
|
|
6
7
|
import "../chunk-MMZTPVYB.js";
|
|
7
8
|
import "../chunk-5UH6QUFB.js";
|
|
@@ -62,7 +62,7 @@ __export(ColumnSelectorMenuOption_exports, {
|
|
|
62
62
|
ColumnSelectorMenuOption: () => ColumnSelectorMenuOption
|
|
63
63
|
});
|
|
64
64
|
module.exports = __toCommonJS(ColumnSelectorMenuOption_exports);
|
|
65
|
-
var
|
|
65
|
+
var import_react43 = require("react");
|
|
66
66
|
|
|
67
67
|
// src/components/DataGridCell.tsx
|
|
68
68
|
var import_sortable = require("@dnd-kit/sortable");
|
|
@@ -6089,20 +6089,39 @@ var import_react39 = require("react");
|
|
|
6089
6089
|
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
6090
6090
|
|
|
6091
6091
|
// src/components/EmblaCarousel/index.tsx
|
|
6092
|
+
var import_react42 = require("react");
|
|
6092
6093
|
var import_embla_carousel_react = __toESM(require("embla-carousel-react"), 1);
|
|
6094
|
+
|
|
6095
|
+
// src/components/EmblaCarousel/SelectedSnapDisplay.tsx
|
|
6093
6096
|
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
6094
6097
|
|
|
6095
|
-
// src/components/
|
|
6098
|
+
// src/components/EmblaCarousel/useSelectedSnapDisplay.ts
|
|
6099
|
+
var import_react40 = require("react");
|
|
6100
|
+
|
|
6101
|
+
// src/components/EmblaCarousel/ArrowButtons.tsx
|
|
6102
|
+
var import_clsx43 = __toESM(require("clsx"), 1);
|
|
6096
6103
|
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
6104
|
+
var arrowButtonStyles = (0, import_clsx43.default)(
|
|
6105
|
+
"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"
|
|
6106
|
+
);
|
|
6107
|
+
|
|
6108
|
+
// src/components/EmblaCarousel/usePrevNextButtons.ts
|
|
6109
|
+
var import_react41 = require("react");
|
|
6110
|
+
|
|
6111
|
+
// src/components/EmblaCarousel/index.tsx
|
|
6112
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
6113
|
+
|
|
6114
|
+
// src/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.tsx
|
|
6115
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
6097
6116
|
function ColumnSelectorMenuOption({
|
|
6098
6117
|
id,
|
|
6099
6118
|
testid,
|
|
6100
6119
|
column,
|
|
6101
6120
|
toggleColumnVisibility
|
|
6102
6121
|
}) {
|
|
6103
|
-
const [isVisible, setIsVisible] = (0,
|
|
6122
|
+
const [isVisible, setIsVisible] = (0, import_react43.useState)(column.getIsVisible());
|
|
6104
6123
|
const label = typeof column.columnDef.header === "string" ? column.columnDef.header : null;
|
|
6105
|
-
return /* @__PURE__ */ (0,
|
|
6124
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(MenuOption, { id, testid, defaultChecked: isVisible, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
6106
6125
|
Checkbox,
|
|
6107
6126
|
{
|
|
6108
6127
|
id: id ? `${id}-checkbox` : 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
|
ColumnSelectorMenuOption
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
28
|
-
import "../../../chunk-
|
|
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-
|
|
40
|
-
import "../../../chunk-
|
|
41
|
-
import "../../../chunk-
|
|
42
|
-
import "../../../chunk-
|
|
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-
|
|
49
|
-
import "../../../chunk-
|
|
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";
|