@dmsi/wedgekit-react 0.0.369 → 0.0.371
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-RLLQRVM7.js → chunk-2H35FETR.js} +18 -10
- package/dist/chunk-2IKT6IHB.js +190 -0
- package/dist/chunk-4UNWXB4A.js +89 -0
- package/dist/chunk-5IFPG6TS.js +17 -0
- package/dist/{chunk-6GAYJCFE.js → chunk-6DPFKSCT.js} +1 -1
- package/dist/{chunk-ZFOANBWG.js → chunk-AG43RS4Q.js} +2 -1
- package/dist/chunk-AJ5M6MVX.js +7 -0
- package/dist/chunk-AT4AWD6B.js +44 -0
- package/dist/chunk-BQNPOGD5.js +105 -0
- package/dist/chunk-CQFPNZTN.js +172 -0
- package/dist/chunk-EJSPFQCY.js +29 -0
- package/dist/chunk-ER6RCOH3.js +97 -0
- package/dist/{chunk-4VER5OEU.js → chunk-FBE2HGEF.js} +35 -11
- package/dist/chunk-HPQWEZJL.js +45 -0
- package/dist/{chunk-URCLLHO5.js → chunk-IBX6DVHU.js} +376 -102
- package/dist/{chunk-I3WFZOFY.js → chunk-J5V2JRIK.js} +1 -1
- package/dist/chunk-JGJUVJKD.js +283 -0
- package/dist/chunk-KEMCFN4U.js +78 -0
- package/dist/chunk-M6TSTDNZ.js +22 -0
- package/dist/chunk-M7INAUAJ.js +140 -0
- package/dist/chunk-MBZ55T2D.js +51 -0
- package/dist/chunk-N6PNLLNS.js +77 -0
- package/dist/{chunk-ZA5E7ZYM.js → chunk-NXGUDYRR.js} +1 -1
- package/dist/chunk-P36QKH26.js +143 -0
- package/dist/chunk-PTRZHGHA.js +89 -0
- package/dist/chunk-QVWYTQKL.js +29 -0
- package/dist/{chunk-6CPGOW6J.js → chunk-T36HX6QY.js} +6 -4
- package/dist/chunk-U6PUOGG4.js +114 -0
- package/dist/{chunk-NQXZBWDZ.js → chunk-V6U7LU6M.js} +15 -6
- package/dist/chunk-VJVY6NPF.js +32 -0
- package/dist/chunk-VVXPGI2P.js +61 -0
- package/dist/{chunk-ARQBSR3I.js → chunk-YCKRVNJ3.js} +4 -4
- package/dist/chunk-YYHQLQDQ.js +68 -0
- package/dist/components/Accordion.cjs +47 -14
- package/dist/components/Accordion.js +2 -2
- package/dist/components/CalendarRange.cjs +700 -46
- package/dist/components/CalendarRange.css +186 -3
- package/dist/components/CalendarRange.js +43 -11
- package/dist/components/CompactImagesPreview.cjs +485 -0
- package/dist/components/CompactImagesPreview.js +13 -0
- package/dist/components/ContentTabs.cjs +3 -2
- package/dist/components/ContentTabs.js +3 -2
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +4687 -0
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.css +5051 -0
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +62 -0
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +4687 -0
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.css +5051 -0
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +62 -0
- package/dist/components/DataGrid/PinnedColumns.cjs +4687 -0
- package/dist/components/DataGrid/PinnedColumns.css +5051 -0
- package/dist/components/DataGrid/PinnedColumns.js +62 -0
- package/dist/components/DataGrid/TableBody/LoadingCell.cjs +4689 -0
- package/dist/components/DataGrid/TableBody/LoadingCell.css +5051 -0
- package/dist/components/DataGrid/TableBody/LoadingCell.js +62 -0
- package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +4689 -0
- package/dist/components/DataGrid/TableBody/TableBodyRow.css +5051 -0
- package/dist/components/DataGrid/TableBody/TableBodyRow.js +62 -0
- package/dist/components/DataGrid/TableBody/index.cjs +4689 -0
- package/dist/components/DataGrid/TableBody/index.css +5051 -0
- package/dist/components/DataGrid/TableBody/index.js +62 -0
- package/dist/components/DataGrid/index.cjs +4692 -0
- package/dist/components/DataGrid/index.css +5051 -0
- package/dist/components/DataGrid/index.js +65 -0
- package/dist/components/DataGrid/utils.cjs +4687 -0
- package/dist/components/DataGrid/utils.css +5051 -0
- package/dist/components/DataGrid/utils.js +62 -0
- package/dist/components/DataGridCell.js +6 -6
- package/dist/components/DateInput.cjs +721 -67
- package/dist/components/DateInput.css +186 -3
- package/dist/components/DateInput.js +45 -13
- package/dist/components/DateRangeInput.cjs +721 -67
- package/dist/components/DateRangeInput.css +186 -3
- package/dist/components/DateRangeInput.js +45 -13
- package/dist/components/FilterGroup.js +3 -3
- package/dist/components/Grid.cjs +3 -1
- package/dist/components/Grid.js +3 -92
- package/dist/components/ImagePlaceholder.cjs +65 -0
- package/dist/components/ImagePlaceholder.js +7 -0
- package/dist/components/Input.js +2 -2
- package/dist/components/MenuOption.js +2 -2
- package/dist/components/MobileDataGrid/ColumnList.cjs +845 -0
- package/dist/components/MobileDataGrid/ColumnList.js +17 -0
- package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +4797 -0
- package/dist/components/MobileDataGrid/ColumnSelector/index.css +5051 -0
- package/dist/components/MobileDataGrid/ColumnSelector/index.js +62 -0
- package/dist/components/MobileDataGrid/GridContextProvider/GridContext.cjs +31 -0
- package/dist/components/MobileDataGrid/GridContextProvider/GridContext.js +7 -0
- package/dist/components/MobileDataGrid/GridContextProvider/index.cjs +177 -0
- package/dist/components/MobileDataGrid/GridContextProvider/index.js +8 -0
- package/dist/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.cjs +269 -0
- package/dist/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.js +9 -0
- package/dist/components/MobileDataGrid/MobileDataGridCard/index.cjs +790 -0
- package/dist/components/MobileDataGrid/MobileDataGridCard/index.js +16 -0
- package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +5059 -0
- package/dist/components/MobileDataGrid/MobileDataGridHeader.css +5051 -0
- package/dist/components/MobileDataGrid/MobileDataGridHeader.js +62 -0
- package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.cjs +509 -0
- package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.js +13 -0
- package/dist/components/MobileDataGrid/RowDetailModalProvider/index.cjs +1261 -0
- package/dist/components/MobileDataGrid/RowDetailModalProvider/index.js +27 -0
- package/dist/components/MobileDataGrid/index.cjs +5521 -0
- package/dist/components/MobileDataGrid/index.css +5051 -0
- package/dist/components/MobileDataGrid/index.js +62 -0
- package/dist/components/Modal.cjs +24 -13
- package/dist/components/Modal.js +3 -3
- package/dist/components/ModalHeader.cjs +6 -4
- package/dist/components/ModalHeader.js +1 -1
- package/dist/components/ModalScrim.cjs +2 -1
- package/dist/components/ModalScrim.js +1 -1
- package/dist/components/NestedMenu.js +4 -4
- package/dist/components/Notification.cjs +15 -6
- package/dist/components/Notification.js +1 -1
- package/dist/components/PDFViewer/DownloadIcon.cjs +394 -0
- package/dist/components/PDFViewer/DownloadIcon.js +10 -0
- package/dist/components/PDFViewer/PDFElement.cjs +515 -0
- package/dist/components/PDFViewer/PDFElement.js +11 -0
- package/dist/components/{MobileDataGrid.cjs → PDFViewer/PDFNavigation.cjs} +318 -402
- package/dist/components/PDFViewer/PDFNavigation.js +13 -0
- package/dist/components/PDFViewer/PDFPage.cjs +56 -0
- package/dist/components/PDFViewer/PDFPage.js +7 -0
- package/dist/components/{PDFViewer.cjs → PDFViewer/index.cjs} +290 -202
- package/dist/components/PDFViewer/index.js +29 -0
- package/dist/components/Password.js +2 -2
- package/dist/components/ProductImagePreview/CarouselPagination.cjs +75 -0
- package/dist/components/ProductImagePreview/CarouselPagination.js +7 -0
- package/dist/components/ProductImagePreview/MobileImageCarousel.cjs +214 -0
- package/dist/components/ProductImagePreview/MobileImageCarousel.js +7 -0
- package/dist/components/ProductImagePreview/ProductPrimaryImage.cjs +255 -0
- package/dist/components/ProductImagePreview/ProductPrimaryImage.js +9 -0
- package/dist/components/ProductImagePreview/Thumbnail.cjs +105 -0
- package/dist/components/ProductImagePreview/Thumbnail.js +8 -0
- package/dist/components/ProductImagePreview/ZoomWindow.cjs +198 -0
- package/dist/components/ProductImagePreview/ZoomWindow.js +8 -0
- package/dist/components/ProductImagePreview/index.cjs +1369 -0
- package/dist/components/ProductImagePreview/index.js +22 -0
- package/dist/components/Search.js +3 -3
- package/dist/components/Select.js +3 -3
- package/dist/components/SideMenuGroup.cjs +15 -6
- package/dist/components/SideMenuGroup.js +1 -1
- package/dist/components/SideMenuItem.cjs +15 -6
- package/dist/components/SideMenuItem.js +1 -1
- package/dist/components/SkeletonParagraph.cjs +33 -0
- package/dist/components/SkeletonParagraph.js +10 -0
- package/dist/components/Stack.cjs +15 -6
- package/dist/components/Stack.js +1 -1
- package/dist/components/Stepper.cjs +61 -53
- package/dist/components/Stepper.js +63 -55
- package/dist/components/Surface.js +3 -39
- package/dist/components/Swatch.cjs +15 -6
- package/dist/components/Swatch.js +4 -4
- package/dist/components/Time.cjs +15 -6
- package/dist/components/Time.js +5 -5
- package/dist/components/Upload.cjs +15 -6
- package/dist/components/Upload.js +1 -1
- package/dist/components/index.cjs +2559 -14
- package/dist/components/index.css +186 -3
- package/dist/components/index.js +57 -14
- package/dist/index.css +186 -3
- package/package.json +1 -1
- package/src/components/Accordion.tsx +23 -4
- package/src/components/CompactImagesPreview.tsx +99 -0
- package/src/components/ContentTabs.tsx +3 -1
- package/src/components/DataGrid/types.ts +5 -0
- package/src/components/Grid.tsx +2 -0
- package/src/components/ImagePlaceholder.tsx +22 -0
- package/src/components/MobileDataGrid/ColumnList.tsx +66 -0
- package/src/components/MobileDataGrid/ColumnSelector/index.tsx +97 -0
- package/src/components/MobileDataGrid/GridContextProvider/GridContext.tsx +25 -0
- package/src/components/MobileDataGrid/GridContextProvider/index.tsx +132 -0
- package/src/components/MobileDataGrid/GridContextProvider/useGridContext.ts +10 -0
- package/src/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.tsx +20 -0
- package/src/components/MobileDataGrid/MobileDataGridCard/index.tsx +129 -0
- package/src/components/MobileDataGrid/MobileDataGridHeader.tsx +80 -0
- package/src/components/MobileDataGrid/RowDetailModalProvider/ModalContent.tsx +42 -0
- package/src/components/MobileDataGrid/RowDetailModalProvider/index.tsx +68 -0
- package/src/components/MobileDataGrid/dataGridReducer.ts +55 -0
- package/src/components/MobileDataGrid/index.tsx +92 -0
- package/src/components/MobileDataGrid/types.ts +4 -0
- package/src/components/Modal.tsx +31 -12
- package/src/components/ModalButtons.tsx +1 -1
- package/src/components/ModalHeader.tsx +5 -2
- package/src/components/ModalScrim.tsx +3 -2
- package/src/components/PDFViewer/DownloadIcon.tsx +22 -0
- package/src/components/PDFViewer/PDFElement.tsx +90 -0
- package/src/components/PDFViewer/PDFNavigation.tsx +68 -0
- package/src/components/PDFViewer/PDFPage.tsx +34 -0
- package/src/components/PDFViewer/index.tsx +128 -0
- package/src/components/ProductImagePreview/CarouselPagination.tsx +54 -0
- package/src/components/ProductImagePreview/MobileImageCarousel.tsx +226 -0
- package/src/components/ProductImagePreview/ProductPrimaryImage.tsx +218 -0
- package/src/components/ProductImagePreview/Thumbnail.tsx +49 -0
- package/src/components/ProductImagePreview/ZoomWindow.tsx +136 -0
- package/src/components/ProductImagePreview/index.tsx +182 -0
- package/src/components/ProductImagePreview/useProductImagePreview.ts +211 -0
- package/src/components/SkeletonParagraph.tsx +5 -0
- package/src/components/Stack.tsx +29 -6
- package/src/components/Stepper.tsx +5 -1
- package/src/components/index.ts +4 -0
- package/src/types.ts +2 -1
- package/dist/components/MobileDataGrid.js +0 -150
- package/dist/components/PDFViewer.js +0 -250
- package/src/components/MobileDataGrid.tsx +0 -163
- package/src/components/PDFViewer.tsx +0 -264
- package/dist/{chunk-OXSBIBGT.js → chunk-CKQNJNU3.js} +3 -3
- package/dist/{chunk-RJUN52HJ.js → chunk-ZL5X7KP6.js} +3 -3
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Display1
|
|
3
|
+
} from "../chunk-GICZ5RWY.js";
|
|
1
4
|
import {
|
|
2
5
|
Heading2,
|
|
3
6
|
Heading3
|
|
4
7
|
} from "../chunk-EU73QPW7.js";
|
|
5
|
-
import {
|
|
6
|
-
Display1
|
|
7
|
-
} from "../chunk-GICZ5RWY.js";
|
|
8
8
|
import {
|
|
9
9
|
Stack
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-V6U7LU6M.js";
|
|
11
11
|
import {
|
|
12
12
|
Paragraph
|
|
13
13
|
} from "../chunk-OGIFIPKH.js";
|
package/dist/components/Time.cjs
CHANGED
|
@@ -804,7 +804,9 @@ var Stack = (_a) => {
|
|
|
804
804
|
noGap,
|
|
805
805
|
marginTop,
|
|
806
806
|
marginBottom,
|
|
807
|
-
testid
|
|
807
|
+
testid,
|
|
808
|
+
bottom,
|
|
809
|
+
zIndex
|
|
808
810
|
} = _b, props = __objRest(_b, [
|
|
809
811
|
"children",
|
|
810
812
|
"items",
|
|
@@ -841,8 +843,11 @@ var Stack = (_a) => {
|
|
|
841
843
|
"noGap",
|
|
842
844
|
"marginTop",
|
|
843
845
|
"marginBottom",
|
|
844
|
-
"testid"
|
|
846
|
+
"testid",
|
|
847
|
+
"bottom",
|
|
848
|
+
"zIndex"
|
|
845
849
|
]);
|
|
850
|
+
var _a2, _b2, _c, _d, _e;
|
|
846
851
|
const flexClassNames = getFlexClassNames({ items, justify, grow });
|
|
847
852
|
const gapClassNames = useGapClassNames(sizing);
|
|
848
853
|
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
@@ -853,9 +858,9 @@ var Stack = (_a) => {
|
|
|
853
858
|
}, props), {
|
|
854
859
|
style: {
|
|
855
860
|
height: height === "full" ? "100%" : height !== void 0 ? `${height}px` : void 0,
|
|
856
|
-
maxHeight: maxHeight !== void 0 ? `${maxHeight}px` : void 0,
|
|
857
|
-
|
|
858
|
-
|
|
861
|
+
maxHeight: maxHeight !== void 0 ? isNaN(+maxHeight) ? maxHeight : `${maxHeight}px` : (_a2 = props.style) == null ? void 0 : _a2.maxHeight,
|
|
862
|
+
maxWidth: maxWidth !== void 0 ? isNaN(+maxWidth) ? maxWidth : `${maxWidth}px` : (_b2 = props.style) == null ? void 0 : _b2.maxWidth,
|
|
863
|
+
minHeight: minHeight !== void 0 ? isNaN(+minHeight) ? minHeight : `${minHeight}px` : (_c = props.style) == null ? void 0 : _c.minHeight,
|
|
859
864
|
width: width !== void 0 && typeof width === "number" ? `${width}px` : void 0,
|
|
860
865
|
minWidth: minWidth !== void 0 ? `${minWidth}px` : void 0,
|
|
861
866
|
border: borderColor ? `1px solid var(--color-${borderColor})` : void 0,
|
|
@@ -864,7 +869,11 @@ var Stack = (_a) => {
|
|
|
864
869
|
flexShrink: flexShrink !== void 0 ? flexShrink : void 0,
|
|
865
870
|
position: position !== void 0 ? position : void 0,
|
|
866
871
|
top: top !== void 0 ? `${top}px` : void 0,
|
|
867
|
-
|
|
872
|
+
bottom: bottom !== void 0 ? `${bottom}px` : void 0,
|
|
873
|
+
left: left !== void 0 ? `${left}px` : void 0,
|
|
874
|
+
borderBlock: (_d = props.style) == null ? void 0 : _d.borderBlock,
|
|
875
|
+
marginInline: (_e = props.style) == null ? void 0 : _e.marginInline,
|
|
876
|
+
zIndex: zIndex !== void 0 ? zIndex : void 0
|
|
868
877
|
},
|
|
869
878
|
className: (0, import_clsx5.default)(
|
|
870
879
|
"scrollbar-thin",
|
package/dist/components/Time.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
InputBase
|
|
3
|
+
} from "../chunk-ZL5X7KP6.js";
|
|
4
|
+
import "../chunk-7CS736EF.js";
|
|
1
5
|
import {
|
|
2
6
|
findDocumentRoot
|
|
3
7
|
} from "../chunk-VXWSAIB5.js";
|
|
4
8
|
import "../chunk-TYTD4FLW.js";
|
|
5
|
-
import {
|
|
6
|
-
InputBase
|
|
7
|
-
} from "../chunk-RJUN52HJ.js";
|
|
8
9
|
import "../chunk-5UH6QUFB.js";
|
|
9
|
-
import "../chunk-7CS736EF.js";
|
|
10
10
|
import {
|
|
11
11
|
Stack
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-V6U7LU6M.js";
|
|
13
13
|
import {
|
|
14
14
|
Icon
|
|
15
15
|
} from "../chunk-NKUETCDA.js";
|
|
@@ -485,7 +485,9 @@ var Stack = (_a) => {
|
|
|
485
485
|
noGap,
|
|
486
486
|
marginTop,
|
|
487
487
|
marginBottom,
|
|
488
|
-
testid
|
|
488
|
+
testid,
|
|
489
|
+
bottom,
|
|
490
|
+
zIndex
|
|
489
491
|
} = _b, props = __objRest(_b, [
|
|
490
492
|
"children",
|
|
491
493
|
"items",
|
|
@@ -522,8 +524,11 @@ var Stack = (_a) => {
|
|
|
522
524
|
"noGap",
|
|
523
525
|
"marginTop",
|
|
524
526
|
"marginBottom",
|
|
525
|
-
"testid"
|
|
527
|
+
"testid",
|
|
528
|
+
"bottom",
|
|
529
|
+
"zIndex"
|
|
526
530
|
]);
|
|
531
|
+
var _a2, _b2, _c, _d, _e;
|
|
527
532
|
const flexClassNames = getFlexClassNames({ items, justify, grow });
|
|
528
533
|
const gapClassNames = useGapClassNames(sizing);
|
|
529
534
|
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
@@ -534,9 +539,9 @@ var Stack = (_a) => {
|
|
|
534
539
|
}, props), {
|
|
535
540
|
style: {
|
|
536
541
|
height: height === "full" ? "100%" : height !== void 0 ? `${height}px` : void 0,
|
|
537
|
-
maxHeight: maxHeight !== void 0 ? `${maxHeight}px` : void 0,
|
|
538
|
-
|
|
539
|
-
|
|
542
|
+
maxHeight: maxHeight !== void 0 ? isNaN(+maxHeight) ? maxHeight : `${maxHeight}px` : (_a2 = props.style) == null ? void 0 : _a2.maxHeight,
|
|
543
|
+
maxWidth: maxWidth !== void 0 ? isNaN(+maxWidth) ? maxWidth : `${maxWidth}px` : (_b2 = props.style) == null ? void 0 : _b2.maxWidth,
|
|
544
|
+
minHeight: minHeight !== void 0 ? isNaN(+minHeight) ? minHeight : `${minHeight}px` : (_c = props.style) == null ? void 0 : _c.minHeight,
|
|
540
545
|
width: width !== void 0 && typeof width === "number" ? `${width}px` : void 0,
|
|
541
546
|
minWidth: minWidth !== void 0 ? `${minWidth}px` : void 0,
|
|
542
547
|
border: borderColor ? `1px solid var(--color-${borderColor})` : void 0,
|
|
@@ -545,7 +550,11 @@ var Stack = (_a) => {
|
|
|
545
550
|
flexShrink: flexShrink !== void 0 ? flexShrink : void 0,
|
|
546
551
|
position: position !== void 0 ? position : void 0,
|
|
547
552
|
top: top !== void 0 ? `${top}px` : void 0,
|
|
548
|
-
|
|
553
|
+
bottom: bottom !== void 0 ? `${bottom}px` : void 0,
|
|
554
|
+
left: left !== void 0 ? `${left}px` : void 0,
|
|
555
|
+
borderBlock: (_d = props.style) == null ? void 0 : _d.borderBlock,
|
|
556
|
+
marginInline: (_e = props.style) == null ? void 0 : _e.marginInline,
|
|
557
|
+
zIndex: zIndex !== void 0 ? zIndex : void 0
|
|
549
558
|
},
|
|
550
559
|
className: (0, import_clsx5.default)(
|
|
551
560
|
"scrollbar-thin",
|