@dmsi/wedgekit-react 0.0.916 → 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.
- package/dist/{chunk-YV5FS7NV.js → chunk-7IPESTQS.js} +13 -9
- package/dist/{chunk-3N34VVYD.js → chunk-ZACRFGND.js} +102 -26
- package/dist/components/CalendarRange.cjs +17 -15
- package/dist/components/CalendarRange.css +49 -0
- package/dist/components/CalendarRange.js +2 -2
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +3 -1
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.css +49 -0
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +2 -2
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +3 -1
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.css +49 -0
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +2 -2
- package/dist/components/DataGrid/PinnedColumns.cjs +6 -4
- package/dist/components/DataGrid/PinnedColumns.css +49 -0
- package/dist/components/DataGrid/PinnedColumns.js +2 -2
- package/dist/components/DataGrid/TableBody/LoadingCell.cjs +3 -1
- package/dist/components/DataGrid/TableBody/LoadingCell.css +49 -0
- package/dist/components/DataGrid/TableBody/LoadingCell.js +2 -2
- package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +6 -4
- package/dist/components/DataGrid/TableBody/TableBodyRow.css +49 -0
- package/dist/components/DataGrid/TableBody/TableBodyRow.js +2 -2
- package/dist/components/DataGrid/TableBody/index.cjs +8 -6
- package/dist/components/DataGrid/TableBody/index.css +49 -0
- package/dist/components/DataGrid/TableBody/index.js +2 -2
- package/dist/components/DataGrid/index.cjs +17 -15
- package/dist/components/DataGrid/index.css +49 -0
- package/dist/components/DataGrid/index.js +2 -2
- package/dist/components/DataGrid/utils.cjs +5 -3
- package/dist/components/DataGrid/utils.css +49 -0
- package/dist/components/DataGrid/utils.js +2 -2
- package/dist/components/DateInput.cjs +19 -17
- package/dist/components/DateInput.css +49 -0
- package/dist/components/DateInput.js +2 -2
- package/dist/components/DateRangeInput.cjs +17 -15
- package/dist/components/DateRangeInput.css +49 -0
- package/dist/components/DateRangeInput.js +2 -2
- package/dist/components/EmblaCarousel/ArrowButtons.cjs +13 -9
- package/dist/components/EmblaCarousel/ArrowButtons.js +1 -1
- package/dist/components/EmblaCarousel/index.cjs +113 -33
- package/dist/components/EmblaCarousel/index.js +2 -2
- package/dist/components/MobileDataGrid/ColumnList.css +49 -0
- package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +3 -1
- package/dist/components/MobileDataGrid/ColumnSelector/index.css +49 -0
- package/dist/components/MobileDataGrid/ColumnSelector/index.js +2 -2
- package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +3 -1
- package/dist/components/MobileDataGrid/MobileDataGridHeader.css +49 -0
- package/dist/components/MobileDataGrid/MobileDataGridHeader.js +2 -2
- package/dist/components/MobileDataGrid/index.cjs +21 -19
- package/dist/components/MobileDataGrid/index.css +49 -0
- package/dist/components/MobileDataGrid/index.js +2 -2
- package/dist/components/index.cjs +113 -33
- package/dist/components/index.css +49 -0
- package/dist/components/index.js +2 -2
- package/dist/index.css +49 -0
- package/package.json +2 -1
|
@@ -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;
|
|
@@ -11,13 +11,13 @@ import "../../../chunk-YCDDBSVU.js";
|
|
|
11
11
|
import "../../../chunk-3X3Y4TMS.js";
|
|
12
12
|
import "../../../chunk-BQNPOGD5.js";
|
|
13
13
|
import "../../../chunk-Y5GD2FJA.js";
|
|
14
|
-
import "../../../chunk-
|
|
14
|
+
import "../../../chunk-ZACRFGND.js";
|
|
15
15
|
import "../../../chunk-EJVCDJ7U.js";
|
|
16
16
|
import "../../../chunk-27DJTEAB.js";
|
|
17
17
|
import "../../../chunk-5IFPG6TS.js";
|
|
18
18
|
import "../../../chunk-XWYDWH4W.js";
|
|
19
19
|
import "../../../chunk-AJ5M6MVX.js";
|
|
20
|
-
import "../../../chunk-
|
|
20
|
+
import "../../../chunk-7IPESTQS.js";
|
|
21
21
|
import "../../../chunk-Z2HPSFEQ.js";
|
|
22
22
|
import "../../../chunk-AT4AWD6B.js";
|
|
23
23
|
import "../../../chunk-EWGHVZL5.js";
|
|
@@ -5009,6 +5009,7 @@ var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
|
5009
5009
|
// src/components/EmblaCarousel/index.tsx
|
|
5010
5010
|
var import_react38 = require("react");
|
|
5011
5011
|
var import_embla_carousel_react = __toESM(require("embla-carousel-react"), 1);
|
|
5012
|
+
var import_embla_carousel_autoplay = __toESM(require("embla-carousel-autoplay"), 1);
|
|
5012
5013
|
|
|
5013
5014
|
// src/components/EmblaCarousel/SelectedSnapDisplay.tsx
|
|
5014
5015
|
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
@@ -5020,13 +5021,14 @@ var import_react36 = require("react");
|
|
|
5020
5021
|
var import_clsx39 = __toESM(require("clsx"), 1);
|
|
5021
5022
|
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
5022
5023
|
var arrowButtonStyles = (0, import_clsx39.default)(
|
|
5023
|
-
"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"
|
|
5024
|
+
"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"
|
|
5024
5025
|
);
|
|
5025
5026
|
|
|
5026
5027
|
// src/components/EmblaCarousel/usePrevNextButtons.ts
|
|
5027
5028
|
var import_react37 = require("react");
|
|
5028
5029
|
|
|
5029
5030
|
// src/components/EmblaCarousel/index.tsx
|
|
5031
|
+
var import_clsx40 = __toESM(require("clsx"), 1);
|
|
5030
5032
|
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
5031
5033
|
|
|
5032
5034
|
// src/components/DataGrid/index.tsx
|
|
@@ -5036,17 +5038,17 @@ var import_core = require("@dnd-kit/core");
|
|
|
5036
5038
|
var import_sortable2 = require("@dnd-kit/sortable");
|
|
5037
5039
|
var import_modifiers = require("@dnd-kit/modifiers");
|
|
5038
5040
|
var import_react_virtual2 = require("@tanstack/react-virtual");
|
|
5039
|
-
var
|
|
5041
|
+
var import_clsx45 = __toESM(require("clsx"), 1);
|
|
5040
5042
|
|
|
5041
5043
|
// src/components/DataGrid/PinnedColumns.tsx
|
|
5042
5044
|
var import_react_table2 = require("@tanstack/react-table");
|
|
5043
|
-
var
|
|
5045
|
+
var import_clsx44 = __toESM(require("clsx"), 1);
|
|
5044
5046
|
|
|
5045
5047
|
// src/components/DataGrid/utils.tsx
|
|
5046
|
-
var
|
|
5048
|
+
var import_clsx41 = __toESM(require("clsx"), 1);
|
|
5047
5049
|
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
5048
5050
|
function getSortIcon(sort, nextSort = false) {
|
|
5049
|
-
const iconClassName = (0,
|
|
5051
|
+
const iconClassName = (0, import_clsx41.default)(
|
|
5050
5052
|
"text-icon-on-action-primary-normal",
|
|
5051
5053
|
nextSort && "hidden group-hover:block"
|
|
5052
5054
|
);
|
|
@@ -5062,10 +5064,10 @@ var import_react42 = __toESM(require("react"), 1);
|
|
|
5062
5064
|
|
|
5063
5065
|
// src/components/DataGrid/TableBody/index.tsx
|
|
5064
5066
|
var import_react_virtual = require("@tanstack/react-virtual");
|
|
5065
|
-
var
|
|
5067
|
+
var import_clsx43 = __toESM(require("clsx"), 1);
|
|
5066
5068
|
|
|
5067
5069
|
// src/components/DataGrid/TableBody/TableBodyRow.tsx
|
|
5068
|
-
var
|
|
5070
|
+
var import_clsx42 = __toESM(require("clsx"), 1);
|
|
5069
5071
|
var import_react_table = require("@tanstack/react-table");
|
|
5070
5072
|
var import_react39 = __toESM(require("react"), 1);
|
|
5071
5073
|
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
@@ -5108,7 +5110,7 @@ function TableBodyRow({
|
|
|
5108
5110
|
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
|
|
5109
5111
|
"tr",
|
|
5110
5112
|
{
|
|
5111
|
-
className: (0,
|
|
5113
|
+
className: (0, import_clsx42.default)(
|
|
5112
5114
|
"min-h-10",
|
|
5113
5115
|
"transition-colors",
|
|
5114
5116
|
showFilterRow && !disabled ? "even:bg-background-grouped-primary-normal odd:bg-background-grouped-secondary-normal" : "odd:bg-background-grouped-primary-normal even:bg-background-grouped-secondary-normal",
|
|
@@ -5146,7 +5148,7 @@ function TableBodyRow({
|
|
|
5146
5148
|
id: id ? `${id}-row-${row.id}-cell-${cell.id}` : void 0,
|
|
5147
5149
|
testid: testid ? `${testid}-row-${row.id}-cell-${cell.id}` : void 0,
|
|
5148
5150
|
cell,
|
|
5149
|
-
className: (0,
|
|
5151
|
+
className: (0, import_clsx42.default)({
|
|
5150
5152
|
"justify-start": cellAlignment === "left",
|
|
5151
5153
|
"justify-end": cellAlignment === "right"
|
|
5152
5154
|
}),
|
|
@@ -5252,7 +5254,7 @@ function TableBody({
|
|
|
5252
5254
|
return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
|
|
5253
5255
|
"tbody",
|
|
5254
5256
|
{
|
|
5255
|
-
className: (0,
|
|
5257
|
+
className: (0, import_clsx43.default)(locked ? "shadow-16" : ""),
|
|
5256
5258
|
style: {
|
|
5257
5259
|
display: "grid",
|
|
5258
5260
|
height: `${showFilterRow ? rowVirtualizer.getTotalSize() + 40 : rowVirtualizer.getTotalSize()}px`,
|
|
@@ -5499,7 +5501,7 @@ function PinnedColumns(_a) {
|
|
|
5499
5501
|
return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
|
|
5500
5502
|
"table",
|
|
5501
5503
|
{
|
|
5502
|
-
className: (0,
|
|
5504
|
+
className: (0, import_clsx44.default)(
|
|
5503
5505
|
"flex flex-col min-h-min sticky z-20",
|
|
5504
5506
|
pinDirection === "left" ? "left-0" : "right-0"
|
|
5505
5507
|
),
|
|
@@ -5529,7 +5531,7 @@ function PinnedColumns(_a) {
|
|
|
5529
5531
|
header,
|
|
5530
5532
|
center: centerHeader,
|
|
5531
5533
|
width: customHeaderWidth,
|
|
5532
|
-
className: (0,
|
|
5534
|
+
className: (0, import_clsx44.default)(
|
|
5533
5535
|
header.column.getCanSort() ? "cursor-pointer" : "cursor-grab",
|
|
5534
5536
|
"group",
|
|
5535
5537
|
{
|
|
@@ -5891,7 +5893,7 @@ function DataGrid({
|
|
|
5891
5893
|
/* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
|
|
5892
5894
|
"div",
|
|
5893
5895
|
{
|
|
5894
|
-
className: (0,
|
|
5896
|
+
className: (0, import_clsx45.default)(
|
|
5895
5897
|
"flex overflow-auto scrollbar-thin relative contain-paint will-change-transform",
|
|
5896
5898
|
empty ? "overflow-y-hidden" : "min-h-[120px]"
|
|
5897
5899
|
),
|
|
@@ -5946,7 +5948,7 @@ function DataGrid({
|
|
|
5946
5948
|
header,
|
|
5947
5949
|
locked: (_d2 = header.column.columnDef.meta) == null ? void 0 : _d2.locked,
|
|
5948
5950
|
center: centerHeader,
|
|
5949
|
-
className: (0,
|
|
5951
|
+
className: (0, import_clsx45.default)(
|
|
5950
5952
|
header.column.getCanSort() ? "cursor-pointer" : "cursor-grab",
|
|
5951
5953
|
"group",
|
|
5952
5954
|
{
|
|
@@ -6071,7 +6073,7 @@ function DataGrid({
|
|
|
6071
6073
|
empty && /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
|
|
6072
6074
|
"div",
|
|
6073
6075
|
{
|
|
6074
|
-
className: (0,
|
|
6076
|
+
className: (0, import_clsx45.default)(
|
|
6075
6077
|
NO_RESULTS_HEIGHT,
|
|
6076
6078
|
"flex flex-col items-center justify-center",
|
|
6077
6079
|
componentGap,
|
|
@@ -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;
|
|
@@ -13,13 +13,13 @@ import "../../chunk-YCDDBSVU.js";
|
|
|
13
13
|
import "../../chunk-3X3Y4TMS.js";
|
|
14
14
|
import "../../chunk-BQNPOGD5.js";
|
|
15
15
|
import "../../chunk-Y5GD2FJA.js";
|
|
16
|
-
import "../../chunk-
|
|
16
|
+
import "../../chunk-ZACRFGND.js";
|
|
17
17
|
import "../../chunk-EJVCDJ7U.js";
|
|
18
18
|
import "../../chunk-27DJTEAB.js";
|
|
19
19
|
import "../../chunk-5IFPG6TS.js";
|
|
20
20
|
import "../../chunk-XWYDWH4W.js";
|
|
21
21
|
import "../../chunk-AJ5M6MVX.js";
|
|
22
|
-
import "../../chunk-
|
|
22
|
+
import "../../chunk-7IPESTQS.js";
|
|
23
23
|
import "../../chunk-Z2HPSFEQ.js";
|
|
24
24
|
import "../../chunk-AT4AWD6B.js";
|
|
25
25
|
import "../../chunk-EWGHVZL5.js";
|
|
@@ -62,7 +62,7 @@ __export(utils_exports, {
|
|
|
62
62
|
getSortIcon: () => getSortIcon
|
|
63
63
|
});
|
|
64
64
|
module.exports = __toCommonJS(utils_exports);
|
|
65
|
-
var
|
|
65
|
+
var import_clsx45 = __toESM(require("clsx"), 1);
|
|
66
66
|
|
|
67
67
|
// src/components/DataGridCell.tsx
|
|
68
68
|
var import_sortable = require("@dnd-kit/sortable");
|
|
@@ -6158,6 +6158,7 @@ var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
|
6158
6158
|
// src/components/EmblaCarousel/index.tsx
|
|
6159
6159
|
var import_react43 = require("react");
|
|
6160
6160
|
var import_embla_carousel_react = __toESM(require("embla-carousel-react"), 1);
|
|
6161
|
+
var import_embla_carousel_autoplay = __toESM(require("embla-carousel-autoplay"), 1);
|
|
6161
6162
|
|
|
6162
6163
|
// src/components/EmblaCarousel/SelectedSnapDisplay.tsx
|
|
6163
6164
|
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
@@ -6169,19 +6170,20 @@ var import_react41 = require("react");
|
|
|
6169
6170
|
var import_clsx43 = __toESM(require("clsx"), 1);
|
|
6170
6171
|
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
6171
6172
|
var arrowButtonStyles = (0, import_clsx43.default)(
|
|
6172
|
-
"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"
|
|
6173
|
+
"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"
|
|
6173
6174
|
);
|
|
6174
6175
|
|
|
6175
6176
|
// src/components/EmblaCarousel/usePrevNextButtons.ts
|
|
6176
6177
|
var import_react42 = require("react");
|
|
6177
6178
|
|
|
6178
6179
|
// src/components/EmblaCarousel/index.tsx
|
|
6180
|
+
var import_clsx44 = __toESM(require("clsx"), 1);
|
|
6179
6181
|
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
6180
6182
|
|
|
6181
6183
|
// src/components/DataGrid/utils.tsx
|
|
6182
6184
|
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
6183
6185
|
function getSortIcon(sort, nextSort = false) {
|
|
6184
|
-
const iconClassName = (0,
|
|
6186
|
+
const iconClassName = (0, import_clsx45.default)(
|
|
6185
6187
|
"text-icon-on-action-primary-normal",
|
|
6186
6188
|
nextSort && "hidden group-hover:block"
|
|
6187
6189
|
);
|
|
@@ -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;
|
|
@@ -11,13 +11,13 @@ import "../../chunk-YCDDBSVU.js";
|
|
|
11
11
|
import "../../chunk-3X3Y4TMS.js";
|
|
12
12
|
import "../../chunk-BQNPOGD5.js";
|
|
13
13
|
import "../../chunk-Y5GD2FJA.js";
|
|
14
|
-
import "../../chunk-
|
|
14
|
+
import "../../chunk-ZACRFGND.js";
|
|
15
15
|
import "../../chunk-EJVCDJ7U.js";
|
|
16
16
|
import "../../chunk-27DJTEAB.js";
|
|
17
17
|
import "../../chunk-5IFPG6TS.js";
|
|
18
18
|
import "../../chunk-XWYDWH4W.js";
|
|
19
19
|
import "../../chunk-AJ5M6MVX.js";
|
|
20
|
-
import "../../chunk-
|
|
20
|
+
import "../../chunk-7IPESTQS.js";
|
|
21
21
|
import "../../chunk-Z2HPSFEQ.js";
|
|
22
22
|
import "../../chunk-AT4AWD6B.js";
|
|
23
23
|
import "../../chunk-EWGHVZL5.js";
|
|
@@ -64,7 +64,7 @@ __export(DateInput_exports, {
|
|
|
64
64
|
module.exports = __toCommonJS(DateInput_exports);
|
|
65
65
|
var import_react43 = require("react");
|
|
66
66
|
var import_react_dom4 = require("react-dom");
|
|
67
|
-
var
|
|
67
|
+
var import_clsx45 = __toESM(require("clsx"), 1);
|
|
68
68
|
|
|
69
69
|
// src/components/Input.tsx
|
|
70
70
|
var import_react = require("react");
|
|
@@ -834,7 +834,7 @@ Currency.displayName = "Currency";
|
|
|
834
834
|
Percentage.displayName = "Percentage";
|
|
835
835
|
|
|
836
836
|
// src/components/CalendarRange.tsx
|
|
837
|
-
var
|
|
837
|
+
var import_clsx44 = __toESM(require("clsx"), 1);
|
|
838
838
|
var import_react42 = __toESM(require("react"), 1);
|
|
839
839
|
var import_polyfill = require("@js-temporal/polyfill");
|
|
840
840
|
|
|
@@ -5351,6 +5351,7 @@ var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
|
5351
5351
|
// src/components/EmblaCarousel/index.tsx
|
|
5352
5352
|
var import_react41 = require("react");
|
|
5353
5353
|
var import_embla_carousel_react = __toESM(require("embla-carousel-react"), 1);
|
|
5354
|
+
var import_embla_carousel_autoplay = __toESM(require("embla-carousel-autoplay"), 1);
|
|
5354
5355
|
|
|
5355
5356
|
// src/components/EmblaCarousel/SelectedSnapDisplay.tsx
|
|
5356
5357
|
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
@@ -5362,13 +5363,14 @@ var import_react39 = require("react");
|
|
|
5362
5363
|
var import_clsx42 = __toESM(require("clsx"), 1);
|
|
5363
5364
|
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
5364
5365
|
var arrowButtonStyles = (0, import_clsx42.default)(
|
|
5365
|
-
"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"
|
|
5366
|
+
"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"
|
|
5366
5367
|
);
|
|
5367
5368
|
|
|
5368
5369
|
// src/components/EmblaCarousel/usePrevNextButtons.ts
|
|
5369
5370
|
var import_react40 = require("react");
|
|
5370
5371
|
|
|
5371
5372
|
// src/components/EmblaCarousel/index.tsx
|
|
5373
|
+
var import_clsx43 = __toESM(require("clsx"), 1);
|
|
5372
5374
|
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
5373
5375
|
|
|
5374
5376
|
// src/components/CalendarRange.tsx
|
|
@@ -5412,7 +5414,7 @@ function DateCell(_a) {
|
|
|
5412
5414
|
__spreadProps(__spreadValues({}, props), {
|
|
5413
5415
|
id,
|
|
5414
5416
|
"data-testid": testid,
|
|
5415
|
-
className: (0,
|
|
5417
|
+
className: (0, import_clsx44.default)(
|
|
5416
5418
|
"flex items-center justify-center aspect-square select-none transition-colors border duration-100 font-medium",
|
|
5417
5419
|
typography.caption,
|
|
5418
5420
|
cellPadding,
|
|
@@ -5568,7 +5570,7 @@ function CalendarRange({
|
|
|
5568
5570
|
{
|
|
5569
5571
|
id,
|
|
5570
5572
|
"data-testid": testid,
|
|
5571
|
-
className: (0,
|
|
5573
|
+
className: (0, import_clsx44.default)(
|
|
5572
5574
|
"relative bg-background-grouped-primary-normal rounded-base w-fit",
|
|
5573
5575
|
layoutPaddding,
|
|
5574
5576
|
layoutGap,
|
|
@@ -5579,7 +5581,7 @@ function CalendarRange({
|
|
|
5579
5581
|
children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
5580
5582
|
"div",
|
|
5581
5583
|
{
|
|
5582
|
-
className: (0,
|
|
5584
|
+
className: (0, import_clsx44.default)(
|
|
5583
5585
|
"flex flex-row items-start justify-start bg-background-primary-normal overflow-clip",
|
|
5584
5586
|
layoutGap
|
|
5585
5587
|
),
|
|
@@ -5653,12 +5655,12 @@ function CalendarPane({
|
|
|
5653
5655
|
/* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
|
|
5654
5656
|
"div",
|
|
5655
5657
|
{
|
|
5656
|
-
className: (0,
|
|
5658
|
+
className: (0, import_clsx44.default)("flex flex-col"),
|
|
5657
5659
|
children: [
|
|
5658
5660
|
/* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
|
|
5659
5661
|
"div",
|
|
5660
5662
|
{
|
|
5661
|
-
className: (0,
|
|
5663
|
+
className: (0, import_clsx44.default)(
|
|
5662
5664
|
"flex flex-row items-center justify-between",
|
|
5663
5665
|
typography.label,
|
|
5664
5666
|
"text-text-action-primary-normal"
|
|
@@ -5670,7 +5672,7 @@ function CalendarPane({
|
|
|
5670
5672
|
id: id ? `${id}-prev-month-button` : void 0,
|
|
5671
5673
|
"data-testid": testid ? `${testid}-prev-month-button` : void 0,
|
|
5672
5674
|
type: "button",
|
|
5673
|
-
className: (0,
|
|
5675
|
+
className: (0, import_clsx44.default)(
|
|
5674
5676
|
"flex items-center justify-center rounded-base hover:bg-action-100 active:bg-action-300 text-icon-action-primary-normal",
|
|
5675
5677
|
componentPadding
|
|
5676
5678
|
),
|
|
@@ -5678,7 +5680,7 @@ function CalendarPane({
|
|
|
5678
5680
|
onClick: () => setBaseMonth(baseMonth.subtract({ months: 1 })),
|
|
5679
5681
|
children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Icon, { name: "chevron_left", size: 24 })
|
|
5680
5682
|
}
|
|
5681
|
-
) : /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: (0,
|
|
5683
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: (0, import_clsx44.default)(componentPadding, "mr-1") }),
|
|
5682
5684
|
/* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: "flex gap-desktop-compact-component-padding", children: [
|
|
5683
5685
|
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
5684
5686
|
"button",
|
|
@@ -5757,7 +5759,7 @@ function CalendarPane({
|
|
|
5757
5759
|
id: id ? `${id}-next-month-button` : void 0,
|
|
5758
5760
|
"data-testid": testid ? `${testid}-next-month-button` : void 0,
|
|
5759
5761
|
type: "button",
|
|
5760
|
-
className: (0,
|
|
5762
|
+
className: (0, import_clsx44.default)(
|
|
5761
5763
|
"flex items-center justify-center rounded-base hover:bg-action-100 active:bg-action-300 text-icon-action-primary-normal",
|
|
5762
5764
|
componentPadding
|
|
5763
5765
|
),
|
|
@@ -5765,14 +5767,14 @@ function CalendarPane({
|
|
|
5765
5767
|
onClick: () => setBaseMonth(baseMonth.add({ months: 1 })),
|
|
5766
5768
|
children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Icon, { name: "chevron_right", size: 24 })
|
|
5767
5769
|
}
|
|
5768
|
-
) : /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: (0,
|
|
5770
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: (0, import_clsx44.default)(componentPadding, "ml-1") })
|
|
5769
5771
|
]
|
|
5770
5772
|
}
|
|
5771
5773
|
),
|
|
5772
|
-
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: (0,
|
|
5774
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: (0, import_clsx44.default)("grid grid-cols-7"), children: weekDays.map((d) => /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
5773
5775
|
"span",
|
|
5774
5776
|
{
|
|
5775
|
-
className: (0,
|
|
5777
|
+
className: (0, import_clsx44.default)(
|
|
5776
5778
|
typography.caption,
|
|
5777
5779
|
"text-text-secondary-normal text-center",
|
|
5778
5780
|
"w-10"
|
|
@@ -5781,7 +5783,7 @@ function CalendarPane({
|
|
|
5781
5783
|
},
|
|
5782
5784
|
d
|
|
5783
5785
|
)) }),
|
|
5784
|
-
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: (0,
|
|
5786
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: (0, import_clsx44.default)("grid grid-cols-7"), children: Array.from({ length: totalCells }).map((_, i) => {
|
|
5785
5787
|
const day = i - emptyCells + 1;
|
|
5786
5788
|
const date = month.date.with({ day: 1 }).add({
|
|
5787
5789
|
days: i - emptyCells
|
|
@@ -5823,7 +5825,7 @@ function CalendarPane({
|
|
|
5823
5825
|
mode === "double" && idx === 0 && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
5824
5826
|
"div",
|
|
5825
5827
|
{
|
|
5826
|
-
className: (0,
|
|
5828
|
+
className: (0, import_clsx44.default)(
|
|
5827
5829
|
"self-stretch bg-border-primary-normal rounded-base",
|
|
5828
5830
|
// 1px width, full height, matches Figma divider
|
|
5829
5831
|
"w-px"
|
|
@@ -6100,7 +6102,7 @@ var DateInput = (_a) => {
|
|
|
6100
6102
|
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
6101
6103
|
"div",
|
|
6102
6104
|
{
|
|
6103
|
-
className: (0,
|
|
6105
|
+
className: (0, import_clsx45.default)(
|
|
6104
6106
|
"fixed inset-0 z-50",
|
|
6105
6107
|
isMobile && "overflow-y-auto bg-neutral-600/50"
|
|
6106
6108
|
),
|