@dmsi/wedgekit-react 0.0.1241 → 1.0.0
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/README.md +4 -32
- package/dist/classNames.d.ts +41 -0
- package/dist/classNames.d.ts.map +1 -0
- package/dist/components/AccessCard.d.ts +14 -0
- package/dist/components/AccessCard.d.ts.map +1 -0
- package/dist/components/AccessCardGroup.d.ts +15 -0
- package/dist/components/AccessCardGroup.d.ts.map +1 -0
- package/dist/components/AccessChangerTabItem.d.ts +11 -0
- package/dist/components/AccessChangerTabItem.d.ts.map +1 -0
- package/dist/components/Accordion.d.ts +15 -0
- package/dist/components/Accordion.d.ts.map +1 -0
- package/dist/components/Alert.d.ts +13 -0
- package/dist/components/Alert.d.ts.map +1 -0
- package/dist/components/Breadcrumbs.d.ts +19 -0
- package/dist/components/Breadcrumbs.d.ts.map +1 -0
- package/dist/components/Button.d.ts +46 -0
- package/dist/components/Button.d.ts.map +1 -0
- package/dist/components/CalendarRange.d.ts +28 -0
- package/dist/components/CalendarRange.d.ts.map +1 -0
- package/dist/components/Caption.d.ts +15 -0
- package/dist/components/Caption.d.ts.map +1 -0
- package/dist/components/Card.d.ts +28 -0
- package/dist/components/Card.d.ts.map +1 -0
- package/dist/components/Checkbox.d.ts +12 -0
- package/dist/components/Checkbox.d.ts.map +1 -0
- package/dist/components/CompactImagesPreview.d.ts +25 -0
- package/dist/components/CompactImagesPreview.d.ts.map +1 -0
- package/dist/components/ContentTab.d.ts +12 -0
- package/dist/components/ContentTab.d.ts.map +1 -0
- package/dist/components/ContentTabs.d.ts +23 -0
- package/dist/components/ContentTabs.d.ts.map +1 -0
- package/dist/components/DMSiLogo.d.ts +2 -0
- package/dist/components/DMSiLogo.d.ts.map +1 -0
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.d.ts +8 -0
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.d.ts.map +1 -0
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.d.ts +9 -0
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.d.ts.map +1 -0
- package/dist/components/DataGrid/PinnedColumns.d.ts +26 -0
- package/dist/components/DataGrid/PinnedColumns.d.ts.map +1 -0
- package/dist/components/DataGrid/TableBody/LoadingCell.d.ts +7 -0
- package/dist/components/DataGrid/TableBody/LoadingCell.d.ts.map +1 -0
- package/dist/components/DataGrid/TableBody/TableBodyRow.d.ts +22 -0
- package/dist/components/DataGrid/TableBody/TableBodyRow.d.ts.map +1 -0
- package/dist/components/DataGrid/TableBody/index.d.ts +26 -0
- package/dist/components/DataGrid/TableBody/index.d.ts.map +1 -0
- package/dist/components/DataGrid/index.d.ts +5 -0
- package/dist/components/DataGrid/index.d.ts.map +1 -0
- package/dist/components/DataGrid/types.d.ts +74 -0
- package/dist/components/DataGrid/types.d.ts.map +1 -0
- package/dist/components/DataGrid/utils.d.ts +3 -0
- package/dist/components/DataGrid/utils.d.ts.map +1 -0
- package/dist/components/DataGridCell.d.ts +46 -0
- package/dist/components/DataGridCell.d.ts.map +1 -0
- package/dist/components/DataTable.d.ts +36 -0
- package/dist/components/DataTable.d.ts.map +1 -0
- package/dist/components/DateInput.d.ts +38 -0
- package/dist/components/DateInput.d.ts.map +1 -0
- package/dist/components/DateRangeInput.d.ts +36 -0
- package/dist/components/DateRangeInput.d.ts.map +1 -0
- package/dist/components/DebugJson.d.ts +5 -0
- package/dist/components/DebugJson.d.ts.map +1 -0
- package/dist/components/Display.d.ts +14 -0
- package/dist/components/Display.d.ts.map +1 -0
- package/dist/components/EditingContext.d.ts +14 -0
- package/dist/components/EditingContext.d.ts.map +1 -0
- package/dist/components/EmblaCarousel/ArrowButtons.d.ts +9 -0
- package/dist/components/EmblaCarousel/ArrowButtons.d.ts.map +1 -0
- package/dist/components/EmblaCarousel/SelectedSnapDisplay.d.ts +7 -0
- package/dist/components/EmblaCarousel/SelectedSnapDisplay.d.ts.map +1 -0
- package/dist/components/EmblaCarousel/index.d.ts +20 -0
- package/dist/components/EmblaCarousel/index.d.ts.map +1 -0
- package/dist/components/EmblaCarousel/usePrevNextButtons.d.ts +10 -0
- package/dist/components/EmblaCarousel/usePrevNextButtons.d.ts.map +1 -0
- package/dist/components/EmblaCarousel/useSelectedSnapDisplay.d.ts +8 -0
- package/dist/components/EmblaCarousel/useSelectedSnapDisplay.d.ts.map +1 -0
- package/dist/components/EmptyCartIcon.d.ts +2 -0
- package/dist/components/EmptyCartIcon.d.ts.map +1 -0
- package/dist/components/FilterGroup.d.ts +29 -0
- package/dist/components/FilterGroup.d.ts.map +1 -0
- package/dist/components/FullViewportBox.d.ts +6 -0
- package/dist/components/FullViewportBox.d.ts.map +1 -0
- package/dist/components/Grid.d.ts +22 -0
- package/dist/components/Grid.d.ts.map +1 -0
- package/dist/components/Heading.d.ts +15 -0
- package/dist/components/Heading.d.ts.map +1 -0
- package/dist/components/HorizontalDivider.d.ts +8 -0
- package/dist/components/HorizontalDivider.d.ts.map +1 -0
- package/dist/components/Icon.d.ts +11 -0
- package/dist/components/Icon.d.ts.map +1 -0
- package/dist/components/ImagePlaceholder.d.ts +3 -0
- package/dist/components/ImagePlaceholder.d.ts.map +1 -0
- package/dist/components/Input.d.ts +50 -0
- package/dist/components/Input.d.ts.map +1 -0
- package/dist/components/InputGroup.d.ts +12 -0
- package/dist/components/InputGroup.d.ts.map +1 -0
- package/dist/components/Label.d.ts +10 -0
- package/dist/components/Label.d.ts.map +1 -0
- package/dist/components/Link.d.ts +16 -0
- package/dist/components/Link.d.ts.map +1 -0
- package/dist/components/List.d.ts +7 -0
- package/dist/components/List.d.ts.map +1 -0
- package/dist/components/ListGroup.d.ts +26 -0
- package/dist/components/ListGroup.d.ts.map +1 -0
- package/dist/components/LiveChatComponent.d.ts +17 -0
- package/dist/components/LiveChatComponent.d.ts.map +1 -0
- package/dist/components/LoadingScrim.d.ts +14 -0
- package/dist/components/LoadingScrim.d.ts.map +1 -0
- package/dist/components/LogoAgilityTopBar.d.ts +2 -0
- package/dist/components/LogoAgilityTopBar.d.ts.map +1 -0
- package/dist/components/LogoDMSiTopBar.d.ts +2 -0
- package/dist/components/LogoDMSiTopBar.d.ts.map +1 -0
- package/dist/components/LogoMillworkTopBar.d.ts +2 -0
- package/dist/components/LogoMillworkTopBar.d.ts.map +1 -0
- package/dist/components/MainBar.d.ts +14 -0
- package/dist/components/MainBar.d.ts.map +1 -0
- package/dist/components/MaxViewportBox.d.ts +6 -0
- package/dist/components/MaxViewportBox.d.ts.map +1 -0
- package/dist/components/Menu.d.ts +23 -0
- package/dist/components/Menu.d.ts.map +1 -0
- package/dist/components/MenuOption.d.ts +65 -0
- package/dist/components/MenuOption.d.ts.map +1 -0
- package/dist/components/MobileDataGrid/ColumnList.d.ts +13 -0
- package/dist/components/MobileDataGrid/ColumnList.d.ts.map +1 -0
- package/dist/components/MobileDataGrid/ColumnSelector/index.d.ts +2 -0
- package/dist/components/MobileDataGrid/ColumnSelector/index.d.ts.map +1 -0
- package/dist/components/MobileDataGrid/GridContextProvider/GridContext.d.ts +24 -0
- package/dist/components/MobileDataGrid/GridContextProvider/GridContext.d.ts.map +1 -0
- package/dist/components/MobileDataGrid/GridContextProvider/index.d.ts +15 -0
- package/dist/components/MobileDataGrid/GridContextProvider/index.d.ts.map +1 -0
- package/dist/components/MobileDataGrid/GridContextProvider/useGridContext.d.ts +3 -0
- package/dist/components/MobileDataGrid/GridContextProvider/useGridContext.d.ts.map +1 -0
- package/dist/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.d.ts +6 -0
- package/dist/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.d.ts.map +1 -0
- package/dist/components/MobileDataGrid/MobileDataGridCard/index.d.ts +10 -0
- package/dist/components/MobileDataGrid/MobileDataGridCard/index.d.ts.map +1 -0
- package/dist/components/MobileDataGrid/MobileDataGridHeader.d.ts +7 -0
- package/dist/components/MobileDataGrid/MobileDataGridHeader.d.ts.map +1 -0
- package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.d.ts +2 -0
- package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.d.ts.map +1 -0
- package/dist/components/MobileDataGrid/RowDetailModalProvider/index.d.ts +2 -0
- package/dist/components/MobileDataGrid/RowDetailModalProvider/index.d.ts.map +1 -0
- package/dist/components/MobileDataGrid/dataGridReducer.d.ts +21 -0
- package/dist/components/MobileDataGrid/dataGridReducer.d.ts.map +1 -0
- package/dist/components/MobileDataGrid/index.d.ts +26 -0
- package/dist/components/MobileDataGrid/index.d.ts.map +1 -0
- package/dist/components/MobileDataGrid/types.d.ts +4 -0
- package/dist/components/MobileDataGrid/types.d.ts.map +1 -0
- package/dist/components/MobileNavMenu.d.ts +36 -0
- package/dist/components/MobileNavMenu.d.ts.map +1 -0
- package/dist/components/Modal.d.ts +30 -0
- package/dist/components/Modal.d.ts.map +1 -0
- package/dist/components/ModalButtons.d.ts +13 -0
- package/dist/components/ModalButtons.d.ts.map +1 -0
- package/dist/components/ModalContent.d.ts +7 -0
- package/dist/components/ModalContent.d.ts.map +1 -0
- package/dist/components/ModalHeader.d.ts +17 -0
- package/dist/components/ModalHeader.d.ts.map +1 -0
- package/dist/components/ModalScrim.d.ts +13 -0
- package/dist/components/ModalScrim.d.ts.map +1 -0
- package/dist/components/NavigationTab.d.ts +13 -0
- package/dist/components/NavigationTab.d.ts.map +1 -0
- package/dist/components/NavigationTabs.d.ts +18 -0
- package/dist/components/NavigationTabs.d.ts.map +1 -0
- package/dist/components/NestedMenu.d.ts +35 -0
- package/dist/components/NestedMenu.d.ts.map +1 -0
- package/dist/components/Notification.d.ts +17 -0
- package/dist/components/Notification.d.ts.map +1 -0
- package/dist/components/OptionPill.d.ts +14 -0
- package/dist/components/OptionPill.d.ts.map +1 -0
- package/dist/components/OrderCheckIcon.d.ts +5 -0
- package/dist/components/OrderCheckIcon.d.ts.map +1 -0
- package/dist/components/PDFViewer/DownloadIcon.d.ts +7 -0
- package/dist/components/PDFViewer/DownloadIcon.d.ts.map +1 -0
- package/dist/components/PDFViewer/PDFElement.d.ts +7 -0
- package/dist/components/PDFViewer/PDFElement.d.ts.map +1 -0
- package/dist/components/PDFViewer/PDFNavigation.d.ts +12 -0
- package/dist/components/PDFViewer/PDFNavigation.d.ts.map +1 -0
- package/dist/components/PDFViewer/PDFPage.d.ts +7 -0
- package/dist/components/PDFViewer/PDFPage.d.ts.map +1 -0
- package/dist/components/PDFViewer/index.d.ts +20 -0
- package/dist/components/PDFViewer/index.d.ts.map +1 -0
- package/dist/components/Pagination.d.ts +14 -0
- package/dist/components/Pagination.d.ts.map +1 -0
- package/dist/components/Paragraph.d.ts +10 -0
- package/dist/components/Paragraph.d.ts.map +1 -0
- package/dist/components/Password.d.ts +4 -0
- package/dist/components/Password.d.ts.map +1 -0
- package/dist/components/ProductImagePreview/CarouselPagination.d.ts +9 -0
- package/dist/components/ProductImagePreview/CarouselPagination.d.ts.map +1 -0
- package/dist/components/ProductImagePreview/MobileImageCarousel.d.ts +11 -0
- package/dist/components/ProductImagePreview/MobileImageCarousel.d.ts.map +1 -0
- package/dist/components/ProductImagePreview/ProductPrimaryImage.d.ts +22 -0
- package/dist/components/ProductImagePreview/ProductPrimaryImage.d.ts.map +1 -0
- package/dist/components/ProductImagePreview/Thumbnail.d.ts +11 -0
- package/dist/components/ProductImagePreview/Thumbnail.d.ts.map +1 -0
- package/dist/components/ProductImagePreview/ZoomWindow.d.ts +22 -0
- package/dist/components/ProductImagePreview/ZoomWindow.d.ts.map +1 -0
- package/dist/components/ProductImagePreview/index.d.ts +23 -0
- package/dist/components/ProductImagePreview/index.d.ts.map +1 -0
- package/dist/components/ProductImagePreview/useProductImagePreview.d.ts +42 -0
- package/dist/components/ProductImagePreview/useProductImagePreview.d.ts.map +1 -0
- package/dist/components/ProjectBar.d.ts +12 -0
- package/dist/components/ProjectBar.d.ts.map +1 -0
- package/dist/components/Radio.d.ts +10 -0
- package/dist/components/Radio.d.ts.map +1 -0
- package/dist/components/Search.d.ts +20 -0
- package/dist/components/Search.d.ts.map +1 -0
- package/dist/components/SearchResultImage/index.d.ts +9 -0
- package/dist/components/SearchResultImage/index.d.ts.map +1 -0
- package/dist/components/Select.d.ts +22 -0
- package/dist/components/Select.d.ts.map +1 -0
- package/dist/components/SideMenu.d.ts +9 -0
- package/dist/components/SideMenu.d.ts.map +1 -0
- package/dist/components/SideMenuGroup.d.ts +11 -0
- package/dist/components/SideMenuGroup.d.ts.map +1 -0
- package/dist/components/SideMenuItem.d.ts +15 -0
- package/dist/components/SideMenuItem.d.ts.map +1 -0
- package/dist/components/SimpleTable.d.ts +11 -0
- package/dist/components/SimpleTable.d.ts.map +1 -0
- package/dist/components/SkeletonParagraph.d.ts +16 -0
- package/dist/components/SkeletonParagraph.d.ts.map +1 -0
- package/dist/components/Spinner.d.ts +7 -0
- package/dist/components/Spinner.d.ts.map +1 -0
- package/dist/components/Stack.d.ts +64 -0
- package/dist/components/Stack.d.ts.map +1 -0
- package/dist/components/StatusPill.d.ts +10 -0
- package/dist/components/StatusPill.d.ts.map +1 -0
- package/dist/components/Stepper.d.ts +26 -0
- package/dist/components/Stepper.d.ts.map +1 -0
- package/dist/components/Subheader.d.ts +10 -0
- package/dist/components/Subheader.d.ts.map +1 -0
- package/dist/components/Surface.d.ts +9 -0
- package/dist/components/Surface.d.ts.map +1 -0
- package/dist/components/Swatch.d.ts +13 -0
- package/dist/components/Swatch.d.ts.map +1 -0
- package/dist/components/Textarea.d.ts +12 -0
- package/dist/components/Textarea.d.ts.map +1 -0
- package/dist/components/Theme.d.ts +8 -0
- package/dist/components/Theme.d.ts.map +1 -0
- package/dist/components/Time.d.ts +13 -0
- package/dist/components/Time.d.ts.map +1 -0
- package/dist/components/Toast.d.ts +20 -0
- package/dist/components/Toast.d.ts.map +1 -0
- package/dist/components/Tooltip.d.ts +13 -0
- package/dist/components/Tooltip.d.ts.map +1 -0
- package/dist/components/TopBar.d.ts +20 -0
- package/dist/components/TopBar.d.ts.map +1 -0
- package/dist/components/Upload.d.ts +10 -0
- package/dist/components/Upload.d.ts.map +1 -0
- package/dist/components/WorldpayIframe.d.ts +5 -0
- package/dist/components/WorldpayIframe.d.ts.map +1 -0
- package/dist/hooks/index.d.ts +9 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/useEditCell.d.ts +9 -0
- package/dist/hooks/useEditCell.d.ts.map +1 -0
- package/dist/hooks/useInfiniteScroll.d.ts +9 -0
- package/dist/hooks/useInfiniteScroll.d.ts.map +1 -0
- package/dist/hooks/useKeydown.d.ts +4 -0
- package/dist/hooks/useKeydown.d.ts.map +1 -0
- package/dist/hooks/useMatchesMedia.d.ts +3 -0
- package/dist/hooks/useMatchesMedia.d.ts.map +1 -0
- package/dist/hooks/useMenuSystem.d.ts +44 -0
- package/dist/hooks/useMenuSystem.d.ts.map +1 -0
- package/dist/hooks/useMounted.d.ts +2 -0
- package/dist/hooks/useMounted.d.ts.map +1 -0
- package/dist/hooks/useTableLayout/computeColumns.d.ts +49 -0
- package/dist/hooks/useTableLayout/computeColumns.d.ts.map +1 -0
- package/dist/hooks/useTableLayout/index.d.ts +3 -0
- package/dist/hooks/useTableLayout/index.d.ts.map +1 -0
- package/dist/hooks/useTableLayout/storage.d.ts +41 -0
- package/dist/hooks/useTableLayout/storage.d.ts.map +1 -0
- package/dist/hooks/useTableLayout/types.d.ts +56 -0
- package/dist/hooks/useTableLayout/types.d.ts.map +1 -0
- package/dist/hooks/useTableLayout/useTableLayout.d.ts +23 -0
- package/dist/hooks/useTableLayout/useTableLayout.d.ts.map +1 -0
- package/dist/index.d.ts +94 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +52855 -0
- package/dist/lib/design-system.d.ts +3 -0
- package/dist/lib/design-system.d.ts.map +1 -0
- package/dist/pdf-l6QfMa5e.js +17649 -0
- package/dist/styles.css +1 -0
- package/dist/types.d.ts +33 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/utils/date-patch-dashes.d.ts +17 -0
- package/dist/utils/date-patch-dashes.d.ts.map +1 -0
- package/dist/utils/date.d.ts +60 -0
- package/dist/utils/date.d.ts.map +1 -0
- package/dist/utils/formatting.d.ts +36 -0
- package/dist/utils/formatting.d.ts.map +1 -0
- package/dist/utils/index.d.ts +6 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/mergeObjectArrays.d.ts +12 -0
- package/dist/utils/mergeObjectArrays.d.ts.map +1 -0
- package/dist/utils.d.ts +3 -0
- package/dist/utils.d.ts.map +1 -0
- package/package.json +17 -83
- package/dist/chunk-3JUIYULW.js +0 -231
- package/dist/chunk-3UPUZBP5.js +0 -149
- package/dist/chunk-4RJKB7LC.js +0 -14
- package/dist/chunk-4UGMSWWA.js +0 -57
- package/dist/chunk-5IFPG6TS.js +0 -17
- package/dist/chunk-5N32SQ3R.js +0 -99
- package/dist/chunk-5UH6QUFB.js +0 -38
- package/dist/chunk-5UPADXVU.js +0 -2376
- package/dist/chunk-65HTZ3R2.js +0 -177
- package/dist/chunk-6YUQCRMX.js +0 -32
- package/dist/chunk-75USUR3I.js +0 -27
- package/dist/chunk-7IPESTQS.js +0 -93
- package/dist/chunk-7MBRCM3M.js +0 -66
- package/dist/chunk-7WDYXRMW.js +0 -110
- package/dist/chunk-7YA3TF73.js +0 -32
- package/dist/chunk-7Z3WINQ3.js +0 -59
- package/dist/chunk-7ZJIGTFN.js +0 -78
- package/dist/chunk-AJ5M6MVX.js +0 -7
- package/dist/chunk-AT4AWD6B.js +0 -44
- package/dist/chunk-BQNPOGD5.js +0 -105
- package/dist/chunk-BWPNXY7T.js +0 -78
- package/dist/chunk-CIYLALYO.js +0 -72
- package/dist/chunk-DNNX5EYX.js +0 -274
- package/dist/chunk-E3FOCECQ.js +0 -61
- package/dist/chunk-E7LGUC2B.js +0 -35
- package/dist/chunk-EA6Y4HXQ.js +0 -112
- package/dist/chunk-EWGHVZL5.js +0 -27
- package/dist/chunk-F4VE3THQ.js +0 -71
- package/dist/chunk-G242RHWI.js +0 -139
- package/dist/chunk-GOGNV5TF.js +0 -68
- package/dist/chunk-GYT5CL7R.js +0 -159
- package/dist/chunk-I3W5K76C.js +0 -142
- package/dist/chunk-ICJARSLG.js +0 -142
- package/dist/chunk-J3HNYUSG.js +0 -34
- package/dist/chunk-J4IMVWT5.js +0 -183
- package/dist/chunk-JRNU5BZ4.js +0 -52
- package/dist/chunk-K6RPFIMB.js +0 -77
- package/dist/chunk-KBIEWFQS.js +0 -27
- package/dist/chunk-KESCXOG3.js +0 -82
- package/dist/chunk-MAEVKATN.js +0 -110
- package/dist/chunk-MBZ55T2D.js +0 -51
- package/dist/chunk-MOBFZ672.js +0 -134
- package/dist/chunk-MVDGHWKO.js +0 -238
- package/dist/chunk-NAWP246H.js +0 -65
- package/dist/chunk-NKUETCDA.js +0 -44
- package/dist/chunk-NSZTJ5R4.js +0 -38
- package/dist/chunk-NT26ZKSI.js +0 -82
- package/dist/chunk-NW75QACN.js +0 -91
- package/dist/chunk-OG2PGA3X.js +0 -154
- package/dist/chunk-OM7QLLI2.js +0 -277
- package/dist/chunk-ORMEWXMH.js +0 -37
- package/dist/chunk-PABII472.js +0 -579
- package/dist/chunk-PBJ2MEHM.js +0 -483
- package/dist/chunk-PE3EZP56.js +0 -373
- package/dist/chunk-QBIEU25R.js +0 -61
- package/dist/chunk-QG6NWMGA.js +0 -138
- package/dist/chunk-QVWYTQKL.js +0 -29
- package/dist/chunk-S4XW2XZW.js +0 -192
- package/dist/chunk-SATCWGO7.js +0 -166
- package/dist/chunk-SBRRNFOP.js +0 -33
- package/dist/chunk-SJZNVG4N.js +0 -47
- package/dist/chunk-TBZ243DS.js +0 -173
- package/dist/chunk-UARCWLMD.js +0 -66
- package/dist/chunk-UZHBKSXJ.js +0 -87
- package/dist/chunk-VEEZ7VRJ.js +0 -137
- package/dist/chunk-VJVY6NPF.js +0 -32
- package/dist/chunk-VUKYIERA.js +0 -89
- package/dist/chunk-VXWSAIB5.js +0 -26
- package/dist/chunk-W5NXOJ4L.js +0 -104
- package/dist/chunk-WVGXD7HT.js +0 -19
- package/dist/chunk-WVUIIBRR.js +0 -51
- package/dist/chunk-X4OKKRN5.js +0 -140
- package/dist/chunk-X7BKBBIH.js +0 -114
- package/dist/chunk-XB2S2QMB.js +0 -67
- package/dist/chunk-XW4B4CUY.js +0 -329
- package/dist/chunk-Y5GD2FJA.js +0 -32
- package/dist/chunk-YULGJORA.js +0 -259
- package/dist/chunk-Z2HPSFEQ.js +0 -14
- package/dist/chunk-ZRFXUER3.js +0 -468
- package/dist/components/AccessCard.cjs +0 -661
- package/dist/components/AccessCard.js +0 -13
- package/dist/components/AccessCardGroup.cjs +0 -365
- package/dist/components/AccessCardGroup.js +0 -11
- package/dist/components/AccessChangerTabItem.cjs +0 -352
- package/dist/components/AccessChangerTabItem.js +0 -75
- package/dist/components/Accordion.cjs +0 -680
- package/dist/components/Accordion.js +0 -13
- package/dist/components/Alert.cjs +0 -850
- package/dist/components/Alert.js +0 -14
- package/dist/components/Breadcrumbs.cjs +0 -456
- package/dist/components/Breadcrumbs.js +0 -125
- package/dist/components/Button.cjs +0 -401
- package/dist/components/Button.js +0 -9
- package/dist/components/CalendarRange.cjs +0 -6569
- package/dist/components/CalendarRange.css +0 -5546
- package/dist/components/CalendarRange.js +0 -78
- package/dist/components/Caption.cjs +0 -365
- package/dist/components/Caption.js +0 -9
- package/dist/components/Card.cjs +0 -128
- package/dist/components/Card.js +0 -7
- package/dist/components/Checkbox.cjs +0 -421
- package/dist/components/Checkbox.js +0 -11
- package/dist/components/CompactImagesPreview.cjs +0 -604
- package/dist/components/CompactImagesPreview.js +0 -14
- package/dist/components/ContentTab.cjs +0 -483
- package/dist/components/ContentTab.js +0 -11
- package/dist/components/ContentTabs.cjs +0 -599
- package/dist/components/ContentTabs.js +0 -125
- package/dist/components/DMSiLogo.cjs +0 -97
- package/dist/components/DMSiLogo.js +0 -60
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +0 -6558
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.css +0 -5546
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +0 -74
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +0 -6558
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.css +0 -5546
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +0 -74
- package/dist/components/DataGrid/PinnedColumns.cjs +0 -6558
- package/dist/components/DataGrid/PinnedColumns.css +0 -5546
- package/dist/components/DataGrid/PinnedColumns.js +0 -74
- package/dist/components/DataGrid/TableBody/LoadingCell.cjs +0 -6560
- package/dist/components/DataGrid/TableBody/LoadingCell.css +0 -5546
- package/dist/components/DataGrid/TableBody/LoadingCell.js +0 -74
- package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +0 -6560
- package/dist/components/DataGrid/TableBody/TableBodyRow.css +0 -5546
- package/dist/components/DataGrid/TableBody/TableBodyRow.js +0 -74
- package/dist/components/DataGrid/TableBody/index.cjs +0 -6560
- package/dist/components/DataGrid/TableBody/index.css +0 -5546
- package/dist/components/DataGrid/TableBody/index.js +0 -74
- package/dist/components/DataGrid/index.cjs +0 -6563
- package/dist/components/DataGrid/index.css +0 -5546
- package/dist/components/DataGrid/index.js +0 -77
- package/dist/components/DataGrid/utils.cjs +0 -6558
- package/dist/components/DataGrid/utils.css +0 -5546
- package/dist/components/DataGrid/utils.js +0 -74
- package/dist/components/DataGridCell.cjs +0 -2531
- package/dist/components/DataGridCell.js +0 -30
- package/dist/components/DataTable.cjs +0 -847
- package/dist/components/DataTable.js +0 -775
- package/dist/components/DateInput.cjs +0 -6560
- package/dist/components/DateInput.css +0 -5546
- package/dist/components/DateInput.js +0 -74
- package/dist/components/DateRangeInput.cjs +0 -7151
- package/dist/components/DateRangeInput.css +0 -5546
- package/dist/components/DateRangeInput.js +0 -652
- package/dist/components/DebugJson.cjs +0 -58
- package/dist/components/DebugJson.js +0 -35
- package/dist/components/Display.cjs +0 -263
- package/dist/components/Display.js +0 -12
- package/dist/components/EditingContext.cjs +0 -86
- package/dist/components/EditingContext.js +0 -12
- package/dist/components/EmblaCarousel/ArrowButtons.cjs +0 -151
- package/dist/components/EmblaCarousel/ArrowButtons.js +0 -9
- package/dist/components/EmblaCarousel/SelectedSnapDisplay.cjs +0 -38
- package/dist/components/EmblaCarousel/SelectedSnapDisplay.js +0 -7
- package/dist/components/EmblaCarousel/index.cjs +0 -420
- package/dist/components/EmblaCarousel/index.js +0 -12
- package/dist/components/EmptyCartIcon.cjs +0 -51
- package/dist/components/EmptyCartIcon.js +0 -7
- package/dist/components/FilterGroup.cjs +0 -1801
- package/dist/components/FilterGroup.js +0 -267
- package/dist/components/FooterBar.cjs +0 -64
- package/dist/components/FooterBar.js +0 -31
- package/dist/components/FullViewportBox.cjs +0 -60
- package/dist/components/FullViewportBox.js +0 -27
- package/dist/components/Grid.cjs +0 -135
- package/dist/components/Grid.js +0 -7
- package/dist/components/Heading.cjs +0 -267
- package/dist/components/Heading.js +0 -14
- package/dist/components/HorizontalDivider.cjs +0 -82
- package/dist/components/HorizontalDivider.js +0 -26
- package/dist/components/Icon.cjs +0 -101
- package/dist/components/Icon.js +0 -7
- package/dist/components/ImagePlaceholder.cjs +0 -65
- package/dist/components/ImagePlaceholder.js +0 -7
- package/dist/components/Input.cjs +0 -923
- package/dist/components/Input.js +0 -23
- package/dist/components/InputGroup.cjs +0 -307
- package/dist/components/InputGroup.js +0 -68
- package/dist/components/Label.cjs +0 -252
- package/dist/components/Label.js +0 -8
- package/dist/components/Link.cjs +0 -304
- package/dist/components/Link.js +0 -8
- package/dist/components/List.cjs +0 -39
- package/dist/components/List.js +0 -16
- package/dist/components/ListGroup.cjs +0 -568
- package/dist/components/ListGroup.js +0 -11
- package/dist/components/LiveChatComponent.cjs +0 -63
- package/dist/components/LiveChatComponent.js +0 -40
- package/dist/components/LoadingScrim.cjs +0 -90
- package/dist/components/LoadingScrim.js +0 -28
- package/dist/components/LogoAgilityTopBar.cjs +0 -133
- package/dist/components/LogoAgilityTopBar.js +0 -96
- package/dist/components/LogoDMSiTopBar.cjs +0 -97
- package/dist/components/LogoDMSiTopBar.js +0 -7
- package/dist/components/LogoMillworkTopBar.cjs +0 -239
- package/dist/components/LogoMillworkTopBar.js +0 -202
- package/dist/components/MainBar.cjs +0 -234
- package/dist/components/MainBar.js +0 -66
- package/dist/components/MaxViewportBox.cjs +0 -45
- package/dist/components/MaxViewportBox.js +0 -22
- package/dist/components/Menu.cjs +0 -505
- package/dist/components/Menu.js +0 -14
- package/dist/components/MenuOption.cjs +0 -695
- package/dist/components/MenuOption.js +0 -18
- package/dist/components/MobileDataGrid/ColumnList.cjs +0 -991
- package/dist/components/MobileDataGrid/ColumnList.css +0 -5546
- package/dist/components/MobileDataGrid/ColumnList.js +0 -20
- package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +0 -6668
- package/dist/components/MobileDataGrid/ColumnSelector/index.css +0 -5546
- package/dist/components/MobileDataGrid/ColumnSelector/index.js +0 -74
- package/dist/components/MobileDataGrid/GridContextProvider/GridContext.cjs +0 -31
- package/dist/components/MobileDataGrid/GridContextProvider/GridContext.js +0 -7
- package/dist/components/MobileDataGrid/GridContextProvider/index.cjs +0 -186
- package/dist/components/MobileDataGrid/GridContextProvider/index.js +0 -8
- package/dist/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.cjs +0 -333
- package/dist/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.js +0 -12
- package/dist/components/MobileDataGrid/MobileDataGridCard/index.cjs +0 -907
- package/dist/components/MobileDataGrid/MobileDataGridCard/index.js +0 -19
- package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +0 -6978
- package/dist/components/MobileDataGrid/MobileDataGridHeader.css +0 -5546
- package/dist/components/MobileDataGrid/MobileDataGridHeader.js +0 -74
- package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.cjs +0 -620
- package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.js +0 -16
- package/dist/components/MobileDataGrid/RowDetailModalProvider/index.cjs +0 -1457
- package/dist/components/MobileDataGrid/RowDetailModalProvider/index.js +0 -29
- package/dist/components/MobileDataGrid/index.cjs +0 -7489
- package/dist/components/MobileDataGrid/index.css +0 -5546
- package/dist/components/MobileDataGrid/index.js +0 -74
- package/dist/components/Modal.cjs +0 -995
- package/dist/components/Modal.js +0 -23
- package/dist/components/ModalButtons.cjs +0 -491
- package/dist/components/ModalButtons.js +0 -11
- package/dist/components/ModalContent.cjs +0 -204
- package/dist/components/ModalContent.js +0 -8
- package/dist/components/ModalHeader.cjs +0 -563
- package/dist/components/ModalHeader.js +0 -12
- package/dist/components/ModalScrim.cjs +0 -69
- package/dist/components/ModalScrim.js +0 -7
- package/dist/components/NavigationTab.cjs +0 -522
- package/dist/components/NavigationTab.js +0 -11
- package/dist/components/NavigationTabs.cjs +0 -572
- package/dist/components/NavigationTabs.js +0 -61
- package/dist/components/NestedMenu.cjs +0 -1275
- package/dist/components/NestedMenu.js +0 -164
- package/dist/components/Notification.cjs +0 -871
- package/dist/components/Notification.js +0 -126
- package/dist/components/OptionPill.cjs +0 -597
- package/dist/components/OptionPill.js +0 -12
- package/dist/components/OrderCheckIcon.cjs +0 -85
- package/dist/components/OrderCheckIcon.js +0 -7
- package/dist/components/PDFViewer/DownloadIcon.cjs +0 -618
- package/dist/components/PDFViewer/DownloadIcon.js +0 -17
- package/dist/components/PDFViewer/PDFElement.cjs +0 -571
- package/dist/components/PDFViewer/PDFElement.js +0 -11
- package/dist/components/PDFViewer/PDFNavigation.cjs +0 -828
- package/dist/components/PDFViewer/PDFNavigation.js +0 -14
- package/dist/components/PDFViewer/PDFPage.cjs +0 -56
- package/dist/components/PDFViewer/PDFPage.js +0 -7
- package/dist/components/PDFViewer/index.cjs +0 -1941
- package/dist/components/PDFViewer/index.js +0 -182
- package/dist/components/Pagination.cjs +0 -436
- package/dist/components/Pagination.js +0 -10
- package/dist/components/Paragraph.cjs +0 -261
- package/dist/components/Paragraph.js +0 -8
- package/dist/components/Password.cjs +0 -1123
- package/dist/components/Password.js +0 -75
- package/dist/components/ProductImagePreview/CarouselPagination.cjs +0 -75
- package/dist/components/ProductImagePreview/CarouselPagination.js +0 -7
- package/dist/components/ProductImagePreview/MobileImageCarousel.cjs +0 -216
- package/dist/components/ProductImagePreview/MobileImageCarousel.js +0 -7
- package/dist/components/ProductImagePreview/ProductPrimaryImage.cjs +0 -213
- package/dist/components/ProductImagePreview/ProductPrimaryImage.js +0 -7
- package/dist/components/ProductImagePreview/Thumbnail.cjs +0 -112
- package/dist/components/ProductImagePreview/Thumbnail.js +0 -8
- package/dist/components/ProductImagePreview/ZoomWindow.cjs +0 -198
- package/dist/components/ProductImagePreview/ZoomWindow.js +0 -8
- package/dist/components/ProductImagePreview/index.cjs +0 -1446
- package/dist/components/ProductImagePreview/index.js +0 -22
- package/dist/components/ProjectBar.cjs +0 -279
- package/dist/components/ProjectBar.js +0 -71
- package/dist/components/Radio.cjs +0 -386
- package/dist/components/Radio.js +0 -10
- package/dist/components/Search.cjs +0 -1033
- package/dist/components/Search.js +0 -14
- package/dist/components/SearchResultImage/index.cjs +0 -92
- package/dist/components/SearchResultImage/index.js +0 -8
- package/dist/components/Select.cjs +0 -1012
- package/dist/components/Select.js +0 -14
- package/dist/components/SideMenu.cjs +0 -61
- package/dist/components/SideMenu.js +0 -28
- package/dist/components/SideMenuGroup.cjs +0 -593
- package/dist/components/SideMenuGroup.js +0 -97
- package/dist/components/SideMenuItem.cjs +0 -568
- package/dist/components/SideMenuItem.js +0 -95
- package/dist/components/SimpleTable.cjs +0 -547
- package/dist/components/SimpleTable.js +0 -10
- package/dist/components/SkeletonParagraph.cjs +0 -51
- package/dist/components/SkeletonParagraph.js +0 -7
- package/dist/components/Spinner.cjs +0 -57
- package/dist/components/Spinner.js +0 -7
- package/dist/components/Stack.cjs +0 -434
- package/dist/components/Stack.js +0 -8
- package/dist/components/StatusPill.cjs +0 -303
- package/dist/components/StatusPill.js +0 -64
- package/dist/components/Stepper.cjs +0 -1478
- package/dist/components/Stepper.js +0 -239
- package/dist/components/Subheader.cjs +0 -255
- package/dist/components/Subheader.js +0 -8
- package/dist/components/Surface.cjs +0 -101
- package/dist/components/Surface.js +0 -7
- package/dist/components/Swatch.cjs +0 -2089
- package/dist/components/Swatch.js +0 -1513
- package/dist/components/Textarea.cjs +0 -330
- package/dist/components/Textarea.js +0 -136
- package/dist/components/Theme.cjs +0 -51
- package/dist/components/Theme.js +0 -7
- package/dist/components/Time.cjs +0 -1511
- package/dist/components/Time.js +0 -373
- package/dist/components/Toast.cjs +0 -764
- package/dist/components/Toast.js +0 -243
- package/dist/components/Tooltip.cjs +0 -337
- package/dist/components/Tooltip.js +0 -14
- package/dist/components/TopBar.cjs +0 -392
- package/dist/components/TopBar.js +0 -148
- package/dist/components/Upload.cjs +0 -823
- package/dist/components/Upload.js +0 -132
- package/dist/components/WorldpayIframe.cjs +0 -45
- package/dist/components/WorldpayIframe.js +0 -22
- package/dist/components/index.cjs +0 -9453
- package/dist/components/index.css +0 -5546
- package/dist/components/index.js +0 -174
- package/dist/components/useMenuSystem.cjs +0 -442
- package/dist/components/useMenuSystem.js +0 -15
- package/dist/components/useMounted.cjs +0 -39
- package/dist/components/useMounted.js +0 -8
- package/dist/fonts.css +0 -21
- package/dist/hooks/index.cjs +0 -523
- package/dist/hooks/index.js +0 -22
- package/dist/icons-light[FILL]-PPZXOLWS.woff2 +0 -0
- package/dist/icons-normal[FILL]-PPZXOLWS.woff2 +0 -0
- package/dist/index.css +0 -5524
- package/dist/open-sans-55T6A4JE.woff2 +0 -0
- package/dist/types.cjs +0 -18
- package/dist/types.js +0 -0
- package/dist/utils/index.cjs +0 -264
- package/dist/utils/index.js +0 -43
package/dist/chunk-65HTZ3R2.js
DELETED
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__spreadProps,
|
|
3
|
-
__spreadValues
|
|
4
|
-
} from "./chunk-ORMEWXMH.js";
|
|
5
|
-
|
|
6
|
-
// src/components/ProductImagePreview/ProductPrimaryImage.tsx
|
|
7
|
-
import { useRef, useState, useCallback, useMemo, useEffect } from "react";
|
|
8
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
-
var placeholderImageUri = "/placeholder.svg";
|
|
10
|
-
function ProductPrimaryImage({
|
|
11
|
-
image,
|
|
12
|
-
width,
|
|
13
|
-
height,
|
|
14
|
-
zoomEnabled = false,
|
|
15
|
-
zoomLensSize = 140,
|
|
16
|
-
scrollToZoomEnabled = false,
|
|
17
|
-
className = "",
|
|
18
|
-
isPlaceholder = false,
|
|
19
|
-
onImageError,
|
|
20
|
-
onZoomPositionChange,
|
|
21
|
-
onScrollZoom
|
|
22
|
-
}) {
|
|
23
|
-
const containerRef = useRef(null);
|
|
24
|
-
const lastPointRef = useRef(null);
|
|
25
|
-
const rafRef = useRef(null);
|
|
26
|
-
const [active, setActive] = useState(false);
|
|
27
|
-
const [, forceRerender] = useState(0);
|
|
28
|
-
const imageSrc = useMemo(() => image == null ? void 0 : image.src, [image == null ? void 0 : image.src]);
|
|
29
|
-
const schedule = () => {
|
|
30
|
-
if (rafRef.current != null) return;
|
|
31
|
-
rafRef.current = requestAnimationFrame(() => {
|
|
32
|
-
rafRef.current = null;
|
|
33
|
-
forceRerender((n) => n + 1);
|
|
34
|
-
});
|
|
35
|
-
};
|
|
36
|
-
const handlePointerEnter = useCallback(() => {
|
|
37
|
-
if (!zoomEnabled) return;
|
|
38
|
-
setActive(true);
|
|
39
|
-
const el = containerRef.current;
|
|
40
|
-
if (el) {
|
|
41
|
-
const r = el.getBoundingClientRect();
|
|
42
|
-
const pt2 = lastPointRef.current;
|
|
43
|
-
onZoomPositionChange == null ? void 0 : onZoomPositionChange(
|
|
44
|
-
pt2 ? __spreadProps(__spreadValues({}, pt2), { w: r.width, h: r.height, lensSize: zoomLensSize }) : null,
|
|
45
|
-
true
|
|
46
|
-
);
|
|
47
|
-
}
|
|
48
|
-
}, [zoomEnabled, onZoomPositionChange, zoomLensSize]);
|
|
49
|
-
const handlePointerLeave = useCallback(() => {
|
|
50
|
-
if (!zoomEnabled) return;
|
|
51
|
-
setActive(false);
|
|
52
|
-
lastPointRef.current = null;
|
|
53
|
-
onZoomPositionChange == null ? void 0 : onZoomPositionChange(null, false);
|
|
54
|
-
}, [zoomEnabled, onZoomPositionChange]);
|
|
55
|
-
const handlePointerMove = useCallback(
|
|
56
|
-
(e) => {
|
|
57
|
-
if (isPlaceholder) return;
|
|
58
|
-
if (!zoomEnabled || !active) return;
|
|
59
|
-
if (e.pointerType === "touch") return;
|
|
60
|
-
const el = containerRef.current;
|
|
61
|
-
if (!el) return;
|
|
62
|
-
const rect = el.getBoundingClientRect();
|
|
63
|
-
const rawX = (e.clientX - rect.left) / rect.width;
|
|
64
|
-
const rawY = (e.clientY - rect.top) / rect.height;
|
|
65
|
-
const size = zoomLensSize != null ? zoomLensSize : 140;
|
|
66
|
-
const left = Math.max(
|
|
67
|
-
0,
|
|
68
|
-
Math.min(rect.width - size, rawX * rect.width - size / 2)
|
|
69
|
-
);
|
|
70
|
-
const top = Math.max(
|
|
71
|
-
0,
|
|
72
|
-
Math.min(rect.height - size, rawY * rect.height - size / 2)
|
|
73
|
-
);
|
|
74
|
-
const centerXNorm = (left + size / 2) / rect.width;
|
|
75
|
-
const centerYNorm = (top + size / 2) / rect.height;
|
|
76
|
-
lastPointRef.current = {
|
|
77
|
-
x: centerXNorm,
|
|
78
|
-
y: centerYNorm
|
|
79
|
-
};
|
|
80
|
-
schedule();
|
|
81
|
-
onZoomPositionChange == null ? void 0 : onZoomPositionChange(
|
|
82
|
-
lastPointRef.current ? __spreadProps(__spreadValues({}, lastPointRef.current), {
|
|
83
|
-
w: rect.width,
|
|
84
|
-
h: rect.height,
|
|
85
|
-
lensSize: zoomLensSize
|
|
86
|
-
}) : null,
|
|
87
|
-
true
|
|
88
|
-
);
|
|
89
|
-
},
|
|
90
|
-
[isPlaceholder, zoomEnabled, active, zoomLensSize, onZoomPositionChange]
|
|
91
|
-
);
|
|
92
|
-
useEffect(() => {
|
|
93
|
-
const container = containerRef.current;
|
|
94
|
-
if (!container || !scrollToZoomEnabled) return;
|
|
95
|
-
const handleNativeWheel = (e) => {
|
|
96
|
-
e.preventDefault();
|
|
97
|
-
e.stopPropagation();
|
|
98
|
-
if (!zoomEnabled || !active) return;
|
|
99
|
-
const delta = e.deltaY > 0 ? -0.2 : 0.2;
|
|
100
|
-
onScrollZoom == null ? void 0 : onScrollZoom(delta);
|
|
101
|
-
};
|
|
102
|
-
container.addEventListener("wheel", handleNativeWheel, { passive: false });
|
|
103
|
-
return () => {
|
|
104
|
-
container.removeEventListener("wheel", handleNativeWheel);
|
|
105
|
-
};
|
|
106
|
-
}, [scrollToZoomEnabled, zoomEnabled, active, onScrollZoom]);
|
|
107
|
-
const handleImgError = useCallback(
|
|
108
|
-
(e) => {
|
|
109
|
-
onImageError == null ? void 0 : onImageError(imageSrc);
|
|
110
|
-
if (!placeholderImageUri) return;
|
|
111
|
-
const img = e.currentTarget;
|
|
112
|
-
if (img.src === placeholderImageUri) return;
|
|
113
|
-
img.src = placeholderImageUri;
|
|
114
|
-
},
|
|
115
|
-
[imageSrc, onImageError]
|
|
116
|
-
);
|
|
117
|
-
const pt = lastPointRef.current;
|
|
118
|
-
let lensStyle;
|
|
119
|
-
if (pt && active && zoomEnabled) {
|
|
120
|
-
const size = zoomLensSize;
|
|
121
|
-
const leftRaw = pt.x * width - size / 2;
|
|
122
|
-
const topRaw = pt.y * height - size / 2;
|
|
123
|
-
lensStyle = {
|
|
124
|
-
width: size,
|
|
125
|
-
height: size,
|
|
126
|
-
left: Math.max(0, Math.min(width - size, leftRaw)),
|
|
127
|
-
top: Math.max(0, Math.min(height - size, topRaw))
|
|
128
|
-
};
|
|
129
|
-
}
|
|
130
|
-
return /* @__PURE__ */ jsxs(
|
|
131
|
-
"div",
|
|
132
|
-
{
|
|
133
|
-
ref: containerRef,
|
|
134
|
-
className: [
|
|
135
|
-
"relative overflow-hidden bg-white rounded flex items-center justify-center select-none",
|
|
136
|
-
zoomEnabled ? "cursor-crosshair" : "",
|
|
137
|
-
className
|
|
138
|
-
].join(" "),
|
|
139
|
-
style: {
|
|
140
|
-
maxWidth: width,
|
|
141
|
-
maxHeight: height,
|
|
142
|
-
minWidth: width,
|
|
143
|
-
minHeight: height,
|
|
144
|
-
aspectRatio: "1 / 1"
|
|
145
|
-
},
|
|
146
|
-
onPointerEnter: handlePointerEnter,
|
|
147
|
-
onPointerLeave: handlePointerLeave,
|
|
148
|
-
onPointerMove: handlePointerMove,
|
|
149
|
-
children: [
|
|
150
|
-
/* @__PURE__ */ jsx(
|
|
151
|
-
"img",
|
|
152
|
-
{
|
|
153
|
-
src: imageSrc != null ? imageSrc : placeholderImageUri,
|
|
154
|
-
alt: (image == null ? void 0 : image.alt) || "Product image",
|
|
155
|
-
className: "object-cover min-w-full min-h-full select-none",
|
|
156
|
-
draggable: false,
|
|
157
|
-
loading: "lazy",
|
|
158
|
-
onError: handleImgError
|
|
159
|
-
},
|
|
160
|
-
imageSrc
|
|
161
|
-
),
|
|
162
|
-
zoomEnabled && active && lensStyle && /* @__PURE__ */ jsx(
|
|
163
|
-
"div",
|
|
164
|
-
{
|
|
165
|
-
"aria-hidden": true,
|
|
166
|
-
className: "absolute pointer-events-none border border-white/70 shadow-[0_0_0_1px_rgba(0,0,0,0.15)] rounded-md bg-white/10 backdrop-blur-[1px]",
|
|
167
|
-
style: lensStyle
|
|
168
|
-
}
|
|
169
|
-
)
|
|
170
|
-
]
|
|
171
|
-
}
|
|
172
|
-
);
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
export {
|
|
176
|
-
ProductPrimaryImage
|
|
177
|
-
};
|
package/dist/chunk-6YUQCRMX.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
layoutPaddding
|
|
3
|
-
} from "./chunk-SATCWGO7.js";
|
|
4
|
-
|
|
5
|
-
// src/components/ModalContent.tsx
|
|
6
|
-
import clsx from "clsx";
|
|
7
|
-
import { jsx } from "react/jsx-runtime";
|
|
8
|
-
function ModalContent({
|
|
9
|
-
fixedHeightScrolling,
|
|
10
|
-
children,
|
|
11
|
-
id,
|
|
12
|
-
testid
|
|
13
|
-
}) {
|
|
14
|
-
return /* @__PURE__ */ jsx(
|
|
15
|
-
"div",
|
|
16
|
-
{
|
|
17
|
-
id,
|
|
18
|
-
"data-testid": testid,
|
|
19
|
-
className: clsx(
|
|
20
|
-
"flex-grow desktop:flex-grow-0",
|
|
21
|
-
layoutPaddding,
|
|
22
|
-
fixedHeightScrolling && "overflow-auto"
|
|
23
|
-
),
|
|
24
|
-
children
|
|
25
|
-
}
|
|
26
|
-
);
|
|
27
|
-
}
|
|
28
|
-
ModalContent.displayName = "ModalContent";
|
|
29
|
-
|
|
30
|
-
export {
|
|
31
|
-
ModalContent
|
|
32
|
-
};
|
package/dist/chunk-75USUR3I.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
// src/components/EmptyCartIcon.tsx
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
function EmptyCartIcon() {
|
|
4
|
-
return /* @__PURE__ */ jsx(
|
|
5
|
-
"svg",
|
|
6
|
-
{
|
|
7
|
-
width: "211",
|
|
8
|
-
height: "196",
|
|
9
|
-
viewBox: "0 0 211 196",
|
|
10
|
-
fill: "none",
|
|
11
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
-
children: /* @__PURE__ */ jsx(
|
|
13
|
-
"path",
|
|
14
|
-
{
|
|
15
|
-
"fill-rule": "evenodd",
|
|
16
|
-
"clip-rule": "evenodd",
|
|
17
|
-
d: "M54.5305 76.3333H137.059L154.793 141.333L22.0305 141.333L54.5305 76.3333ZM3.60295 152.73C7.57878 159.165 14.4688 163 22.0305 163L160.697 163L167.381 187.516C168.67 192.228 172.95 195.5 177.835 195.5H199.502C205.493 195.5 210.335 190.647 210.335 184.667C210.335 178.687 205.493 173.833 199.502 173.833H186.112L155.79 62.6508C154.5 57.9383 150.221 54.6667 145.335 54.6667L47.8354 54.6667C43.7296 54.6667 39.9813 56.985 38.1396 60.6575L2.64963 131.648C-0.741211 138.419 -0.372879 146.295 3.60295 152.73ZM150.75 33C159.72 33 167 25.7308 167 16.75C167 7.76917 159.72 0.5 150.75 0.5C141.78 0.5 134.5 7.76917 134.5 16.75C134.5 25.7308 141.78 33 150.75 33ZM58.6666 16.75C58.6666 25.7308 51.3866 33 42.4166 33C33.4466 33 26.1666 25.7308 26.1666 16.75C26.1666 7.76917 33.4466 0.5 42.4166 0.5C51.3866 0.5 58.6666 7.76917 58.6666 16.75Z",
|
|
18
|
-
fill: "#6B6D6D"
|
|
19
|
-
}
|
|
20
|
-
)
|
|
21
|
-
}
|
|
22
|
-
);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export {
|
|
26
|
-
EmptyCartIcon
|
|
27
|
-
};
|
package/dist/chunk-7IPESTQS.js
DELETED
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__objRest,
|
|
3
|
-
__spreadProps,
|
|
4
|
-
__spreadValues
|
|
5
|
-
} from "./chunk-ORMEWXMH.js";
|
|
6
|
-
|
|
7
|
-
// src/components/EmblaCarousel/ArrowButtons.tsx
|
|
8
|
-
import clsx from "clsx";
|
|
9
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
var arrowButtonStyles = clsx(
|
|
11
|
-
"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"
|
|
12
|
-
);
|
|
13
|
-
var PrevButton = (props) => {
|
|
14
|
-
const _a = props, { children, disabled, className, iconClassName, circleChevron } = _a, restProps = __objRest(_a, ["children", "disabled", "className", "iconClassName", "circleChevron"]);
|
|
15
|
-
return /* @__PURE__ */ jsxs(
|
|
16
|
-
"button",
|
|
17
|
-
__spreadProps(__spreadValues({
|
|
18
|
-
className: clsx(
|
|
19
|
-
arrowButtonStyles,
|
|
20
|
-
!disabled && "border-border-primary-normal hover:border-border-action-hover active:border-border-action-active",
|
|
21
|
-
disabled && "border-border-action-disabled",
|
|
22
|
-
className
|
|
23
|
-
),
|
|
24
|
-
type: "button"
|
|
25
|
-
}, restProps), {
|
|
26
|
-
children: [
|
|
27
|
-
/* @__PURE__ */ jsx(
|
|
28
|
-
"svg",
|
|
29
|
-
{
|
|
30
|
-
className: clsx(
|
|
31
|
-
"size-3 transition-colors duration-300 ease-in-out",
|
|
32
|
-
!disabled && circleChevron && "text-text-primary-normal",
|
|
33
|
-
disabled && "text-icon-primary-disabled",
|
|
34
|
-
iconClassName
|
|
35
|
-
),
|
|
36
|
-
viewBox: "0 0 532 532",
|
|
37
|
-
children: /* @__PURE__ */ jsx(
|
|
38
|
-
"path",
|
|
39
|
-
{
|
|
40
|
-
fill: "currentColor",
|
|
41
|
-
d: "M355.66 11.354c13.793-13.805 36.208-13.805 50.001 0 13.785 13.804 13.785 36.238 0 50.034L201.22 266l204.442 204.61c13.785 13.805 13.785 36.239 0 50.044-13.793 13.796-36.208 13.796-50.002 0a5994246.277 5994246.277 0 0 0-229.332-229.454 35.065 35.065 0 0 1-10.326-25.126c0-9.2 3.393-18.26 10.326-25.2C172.192 194.973 332.731 34.31 355.66 11.354Z"
|
|
42
|
-
}
|
|
43
|
-
)
|
|
44
|
-
}
|
|
45
|
-
),
|
|
46
|
-
children
|
|
47
|
-
]
|
|
48
|
-
})
|
|
49
|
-
);
|
|
50
|
-
};
|
|
51
|
-
var NextButton = (props) => {
|
|
52
|
-
const _a = props, { children, disabled, className, iconClassName, circleChevron } = _a, restProps = __objRest(_a, ["children", "disabled", "className", "iconClassName", "circleChevron"]);
|
|
53
|
-
return /* @__PURE__ */ jsxs(
|
|
54
|
-
"button",
|
|
55
|
-
__spreadProps(__spreadValues({
|
|
56
|
-
className: clsx(
|
|
57
|
-
arrowButtonStyles,
|
|
58
|
-
!disabled && "border-border-primary-normal hover:border-border-action-hover active:border-border-action-active",
|
|
59
|
-
disabled && "border-border-action-disabled",
|
|
60
|
-
className
|
|
61
|
-
),
|
|
62
|
-
type: "button"
|
|
63
|
-
}, restProps), {
|
|
64
|
-
children: [
|
|
65
|
-
/* @__PURE__ */ jsx(
|
|
66
|
-
"svg",
|
|
67
|
-
{
|
|
68
|
-
className: clsx(
|
|
69
|
-
"size-3 transition-colors duration-300 ease-in-out",
|
|
70
|
-
!disabled && circleChevron && "text-text-primary-normal",
|
|
71
|
-
disabled && "text-icon-primary-disabled",
|
|
72
|
-
iconClassName
|
|
73
|
-
),
|
|
74
|
-
viewBox: "0 0 532 532",
|
|
75
|
-
children: /* @__PURE__ */ jsx(
|
|
76
|
-
"path",
|
|
77
|
-
{
|
|
78
|
-
fill: "currentColor",
|
|
79
|
-
d: "M176.34 520.646c-13.793 13.805-36.208 13.805-50.001 0-13.785-13.804-13.785-36.238 0-50.034L330.78 266 126.34 61.391c-13.785-13.805-13.785-36.239 0-50.044 13.793-13.796 36.208-13.796 50.002 0 22.928 22.947 206.395 206.507 229.332 229.454a35.065 35.065 0 0 1 10.326 25.126c0 9.2-3.393 18.26-10.326 25.2-45.865 45.901-206.404 206.564-229.332 229.52Z"
|
|
80
|
-
}
|
|
81
|
-
)
|
|
82
|
-
}
|
|
83
|
-
),
|
|
84
|
-
children
|
|
85
|
-
]
|
|
86
|
-
})
|
|
87
|
-
);
|
|
88
|
-
};
|
|
89
|
-
|
|
90
|
-
export {
|
|
91
|
-
PrevButton,
|
|
92
|
-
NextButton
|
|
93
|
-
};
|
package/dist/chunk-7MBRCM3M.js
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
componentPaddingXUsingComponentGap,
|
|
3
|
-
typography
|
|
4
|
-
} from "./chunk-SATCWGO7.js";
|
|
5
|
-
import {
|
|
6
|
-
__objRest,
|
|
7
|
-
__spreadProps,
|
|
8
|
-
__spreadValues
|
|
9
|
-
} from "./chunk-ORMEWXMH.js";
|
|
10
|
-
|
|
11
|
-
// src/components/Paragraph.tsx
|
|
12
|
-
import clsx from "clsx";
|
|
13
|
-
import { jsx } from "react/jsx-runtime";
|
|
14
|
-
var Paragraph = (_a) => {
|
|
15
|
-
var _b = _a, {
|
|
16
|
-
className,
|
|
17
|
-
color,
|
|
18
|
-
padded,
|
|
19
|
-
align = "left",
|
|
20
|
-
tall,
|
|
21
|
-
addOverflow,
|
|
22
|
-
children,
|
|
23
|
-
as = "p",
|
|
24
|
-
id,
|
|
25
|
-
testid
|
|
26
|
-
} = _b, props = __objRest(_b, [
|
|
27
|
-
"className",
|
|
28
|
-
"color",
|
|
29
|
-
"padded",
|
|
30
|
-
"align",
|
|
31
|
-
"tall",
|
|
32
|
-
"addOverflow",
|
|
33
|
-
"children",
|
|
34
|
-
"as",
|
|
35
|
-
"id",
|
|
36
|
-
"testid"
|
|
37
|
-
]);
|
|
38
|
-
const Element = as;
|
|
39
|
-
return /* @__PURE__ */ jsx(
|
|
40
|
-
Element,
|
|
41
|
-
__spreadProps(__spreadValues({
|
|
42
|
-
id,
|
|
43
|
-
"data-testid": testid
|
|
44
|
-
}, props), {
|
|
45
|
-
className: clsx(
|
|
46
|
-
typography.paragraph,
|
|
47
|
-
className,
|
|
48
|
-
padded && componentPaddingXUsingComponentGap,
|
|
49
|
-
align === "left" && "text-left",
|
|
50
|
-
align === "center" && "text-center",
|
|
51
|
-
align === "right" && "text-right",
|
|
52
|
-
tall && "!leading-6",
|
|
53
|
-
addOverflow && "whitespace-nowrap text-ellipsis overflow-hidden"
|
|
54
|
-
),
|
|
55
|
-
style: __spreadProps(__spreadValues({}, props.style), {
|
|
56
|
-
color: color ? `var(--color-${color})` : void 0
|
|
57
|
-
}),
|
|
58
|
-
children
|
|
59
|
-
})
|
|
60
|
-
);
|
|
61
|
-
};
|
|
62
|
-
Paragraph.displayName = "Paragraph";
|
|
63
|
-
|
|
64
|
-
export {
|
|
65
|
-
Paragraph
|
|
66
|
-
};
|
package/dist/chunk-7WDYXRMW.js
DELETED
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
baseTransition,
|
|
3
|
-
componentPaddingY,
|
|
4
|
-
typography
|
|
5
|
-
} from "./chunk-SATCWGO7.js";
|
|
6
|
-
import {
|
|
7
|
-
__objRest,
|
|
8
|
-
__spreadProps,
|
|
9
|
-
__spreadValues
|
|
10
|
-
} from "./chunk-ORMEWXMH.js";
|
|
11
|
-
|
|
12
|
-
// src/components/Link.tsx
|
|
13
|
-
import clsx from "clsx";
|
|
14
|
-
import { jsx } from "react/jsx-runtime";
|
|
15
|
-
var Link = (_a) => {
|
|
16
|
-
var _b = _a, {
|
|
17
|
-
as = "a",
|
|
18
|
-
className,
|
|
19
|
-
variant = "primary",
|
|
20
|
-
typographyStyle = "paragraph",
|
|
21
|
-
disabled = false,
|
|
22
|
-
color,
|
|
23
|
-
paddedY,
|
|
24
|
-
align,
|
|
25
|
-
underline = false,
|
|
26
|
-
testid,
|
|
27
|
-
active,
|
|
28
|
-
block = false,
|
|
29
|
-
addOverflow,
|
|
30
|
-
notUnderline = false
|
|
31
|
-
} = _b, props = __objRest(_b, [
|
|
32
|
-
"as",
|
|
33
|
-
"className",
|
|
34
|
-
"variant",
|
|
35
|
-
"typographyStyle",
|
|
36
|
-
"disabled",
|
|
37
|
-
"color",
|
|
38
|
-
"paddedY",
|
|
39
|
-
"align",
|
|
40
|
-
"underline",
|
|
41
|
-
"testid",
|
|
42
|
-
"active",
|
|
43
|
-
"block",
|
|
44
|
-
"addOverflow",
|
|
45
|
-
"notUnderline"
|
|
46
|
-
]);
|
|
47
|
-
const Component = as;
|
|
48
|
-
const primaryStateStyles = variant === "primary" && !disabled && clsx(
|
|
49
|
-
active ? "text-text-link-active" : "text-text-link-normal",
|
|
50
|
-
"hover:text-text-link-hover active:text-text-link-active"
|
|
51
|
-
);
|
|
52
|
-
const secondaryStateStyles = variant === "secondary" && !disabled && clsx(
|
|
53
|
-
active ? "text-text-link-active" : "text-text-primary-normal",
|
|
54
|
-
"hover:text-text-link-hover active:text-text-link-active"
|
|
55
|
-
);
|
|
56
|
-
const criticalStateStyles = variant === "critical" && !disabled && clsx(
|
|
57
|
-
active ? "text-text-action-critical-active" : "text-text-action-critical-normal",
|
|
58
|
-
"hover:text-text-action-critical-hover active:text-text-action-critical-active"
|
|
59
|
-
);
|
|
60
|
-
const criticalStateDisabledStyles = disabled && variant === "critical" && clsx("text-text-action-critical-disabled");
|
|
61
|
-
const disabledStateStyles = disabled && ["primary", "secondary"].includes(variant) && clsx("text-text-link-disabled");
|
|
62
|
-
const disabledStyles = disabled && clsx("pointer-events-none cursor-default");
|
|
63
|
-
const underlineStyles = underline ? "decoration-current" : notUnderline ? "decoration-decoration-not-underline" : "decoration-decoration-underline";
|
|
64
|
-
const paddingY = paddedY && componentPaddingY;
|
|
65
|
-
return /* @__PURE__ */ jsx(
|
|
66
|
-
Component,
|
|
67
|
-
__spreadProps(__spreadValues({
|
|
68
|
-
className: clsx(
|
|
69
|
-
"inline",
|
|
70
|
-
disabled ? "cursor-default" : "cursor-pointer",
|
|
71
|
-
"underline decoration-[10%] underline-offset-[32%]",
|
|
72
|
-
!disabled && "hover:decoration-current",
|
|
73
|
-
!disabled && "active:decoration-decoration-underline",
|
|
74
|
-
"flex flex-col justify-center",
|
|
75
|
-
align === "left" && "items-start",
|
|
76
|
-
align === "center" && "items-center",
|
|
77
|
-
align === "right" && "items-end",
|
|
78
|
-
baseTransition,
|
|
79
|
-
primaryStateStyles,
|
|
80
|
-
secondaryStateStyles,
|
|
81
|
-
criticalStateStyles,
|
|
82
|
-
criticalStateDisabledStyles,
|
|
83
|
-
disabledStateStyles,
|
|
84
|
-
disabledStyles,
|
|
85
|
-
underlineStyles,
|
|
86
|
-
typographyStyle === "caption" && typography.caption,
|
|
87
|
-
typographyStyle === "paragraph" && typography.paragraph,
|
|
88
|
-
align === "left" && "text-left",
|
|
89
|
-
align === "center" && "text-center",
|
|
90
|
-
align === "right" && "text-right",
|
|
91
|
-
paddingY,
|
|
92
|
-
addOverflow && "whitespace-nowrap text-ellipsis overflow-hidden",
|
|
93
|
-
className,
|
|
94
|
-
block ? "w-full" : "w-fit"
|
|
95
|
-
)
|
|
96
|
-
}, props), {
|
|
97
|
-
style: __spreadProps(__spreadValues({}, props.style), {
|
|
98
|
-
color: color ? `var(--color-${color})` : void 0
|
|
99
|
-
}),
|
|
100
|
-
"aria-disabled": disabled,
|
|
101
|
-
tabIndex: disabled ? -1 : void 0,
|
|
102
|
-
"data-testid": testid
|
|
103
|
-
})
|
|
104
|
-
);
|
|
105
|
-
};
|
|
106
|
-
Link.displayName = "Link";
|
|
107
|
-
|
|
108
|
-
export {
|
|
109
|
-
Link
|
|
110
|
-
};
|
package/dist/chunk-7YA3TF73.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
formatDate
|
|
3
|
-
} from "./chunk-TBZ243DS.js";
|
|
4
|
-
import {
|
|
5
|
-
Paragraph
|
|
6
|
-
} from "./chunk-7MBRCM3M.js";
|
|
7
|
-
|
|
8
|
-
// src/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.tsx
|
|
9
|
-
import { jsxs } from "react/jsx-runtime";
|
|
10
|
-
function MobileDataGridColumn(props) {
|
|
11
|
-
var _a, _b;
|
|
12
|
-
const { column, data } = props;
|
|
13
|
-
let value;
|
|
14
|
-
if (column.id) {
|
|
15
|
-
value = data[column.id];
|
|
16
|
-
if (((_a = column.meta) == null ? void 0 : _a.format) === "date" && typeof value === "string") {
|
|
17
|
-
value = formatDate(value);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
return /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-2 flex-1", children: [
|
|
21
|
-
/* @__PURE__ */ jsxs(Paragraph, { color: "text-secondary-normal", className: "text-left", children: [
|
|
22
|
-
(_b = column.header) == null ? void 0 : _b.toString(),
|
|
23
|
-
":"
|
|
24
|
-
] }),
|
|
25
|
-
" ",
|
|
26
|
-
value ? value : null
|
|
27
|
-
] });
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export {
|
|
31
|
-
MobileDataGridColumn
|
|
32
|
-
};
|
package/dist/chunk-7Z3WINQ3.js
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
typography
|
|
3
|
-
} from "./chunk-SATCWGO7.js";
|
|
4
|
-
import {
|
|
5
|
-
__objRest,
|
|
6
|
-
__spreadProps,
|
|
7
|
-
__spreadValues
|
|
8
|
-
} from "./chunk-ORMEWXMH.js";
|
|
9
|
-
|
|
10
|
-
// src/components/Subheader.tsx
|
|
11
|
-
import clsx from "clsx";
|
|
12
|
-
import { jsx } from "react/jsx-runtime";
|
|
13
|
-
var Subheader = (_a) => {
|
|
14
|
-
var _b = _a, {
|
|
15
|
-
className,
|
|
16
|
-
children,
|
|
17
|
-
as = "span",
|
|
18
|
-
align,
|
|
19
|
-
color,
|
|
20
|
-
tall,
|
|
21
|
-
id,
|
|
22
|
-
testid
|
|
23
|
-
} = _b, props = __objRest(_b, [
|
|
24
|
-
"className",
|
|
25
|
-
"children",
|
|
26
|
-
"as",
|
|
27
|
-
"align",
|
|
28
|
-
"color",
|
|
29
|
-
"tall",
|
|
30
|
-
"id",
|
|
31
|
-
"testid"
|
|
32
|
-
]);
|
|
33
|
-
const Element = as;
|
|
34
|
-
return /* @__PURE__ */ jsx(
|
|
35
|
-
Element,
|
|
36
|
-
__spreadProps(__spreadValues({
|
|
37
|
-
id,
|
|
38
|
-
"data-testid": testid,
|
|
39
|
-
className: clsx(
|
|
40
|
-
typography.subheader,
|
|
41
|
-
className,
|
|
42
|
-
align === "left" && "text-left",
|
|
43
|
-
align === "center" && "text-center",
|
|
44
|
-
align === "right" && "text-right",
|
|
45
|
-
tall && "!leading-6"
|
|
46
|
-
),
|
|
47
|
-
style: __spreadProps(__spreadValues({}, props.style), {
|
|
48
|
-
color: color ? `var(--color-${color})` : void 0
|
|
49
|
-
})
|
|
50
|
-
}, props), {
|
|
51
|
-
children
|
|
52
|
-
})
|
|
53
|
-
);
|
|
54
|
-
};
|
|
55
|
-
Subheader.displayName = "Subheader";
|
|
56
|
-
|
|
57
|
-
export {
|
|
58
|
-
Subheader
|
|
59
|
-
};
|
package/dist/chunk-7ZJIGTFN.js
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ModalContent
|
|
3
|
-
} from "./chunk-E3FOCECQ.js";
|
|
4
|
-
import {
|
|
5
|
-
useGridContext
|
|
6
|
-
} from "./chunk-5IFPG6TS.js";
|
|
7
|
-
import {
|
|
8
|
-
Modal
|
|
9
|
-
} from "./chunk-DNNX5EYX.js";
|
|
10
|
-
import {
|
|
11
|
-
Heading2
|
|
12
|
-
} from "./chunk-GOGNV5TF.js";
|
|
13
|
-
import {
|
|
14
|
-
Button
|
|
15
|
-
} from "./chunk-J4IMVWT5.js";
|
|
16
|
-
import {
|
|
17
|
-
Stack
|
|
18
|
-
} from "./chunk-MVDGHWKO.js";
|
|
19
|
-
import {
|
|
20
|
-
Icon
|
|
21
|
-
} from "./chunk-NKUETCDA.js";
|
|
22
|
-
|
|
23
|
-
// src/components/MobileDataGrid/RowDetailModalProvider/index.tsx
|
|
24
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
25
|
-
function RowDetailModalProvider() {
|
|
26
|
-
var _a;
|
|
27
|
-
const context = useGridContext();
|
|
28
|
-
const {
|
|
29
|
-
id,
|
|
30
|
-
testid,
|
|
31
|
-
isRowDetailOpen,
|
|
32
|
-
currentRow,
|
|
33
|
-
primaryKey,
|
|
34
|
-
closeRowDetail
|
|
35
|
-
} = context;
|
|
36
|
-
return /* @__PURE__ */ jsx(
|
|
37
|
-
Modal,
|
|
38
|
-
{
|
|
39
|
-
fixedHeightScrolling: true,
|
|
40
|
-
open: isRowDetailOpen,
|
|
41
|
-
onClose: closeRowDetail,
|
|
42
|
-
hideCloseIcon: true,
|
|
43
|
-
size: "medium",
|
|
44
|
-
className: "!p-0",
|
|
45
|
-
headerIcon: /* @__PURE__ */ jsxs(
|
|
46
|
-
Stack,
|
|
47
|
-
{
|
|
48
|
-
horizontal: true,
|
|
49
|
-
horizontalMobile: true,
|
|
50
|
-
items: "center",
|
|
51
|
-
justify: "between",
|
|
52
|
-
width: "full",
|
|
53
|
-
children: [
|
|
54
|
-
/* @__PURE__ */ jsx(Heading2, { children: (_a = currentRow == null ? void 0 : currentRow[primaryKey != null ? primaryKey : "id"]) != null ? _a : "Grid Detail" }),
|
|
55
|
-
/* @__PURE__ */ jsx(
|
|
56
|
-
Button,
|
|
57
|
-
{
|
|
58
|
-
id: id ? `${id}-close-button` : void 0,
|
|
59
|
-
testid: testid ? `${testid}-close-button` : void 0,
|
|
60
|
-
iconOnly: true,
|
|
61
|
-
variant: "tertiary",
|
|
62
|
-
onClick: closeRowDetail,
|
|
63
|
-
leftIcon: /* @__PURE__ */ jsx("span", { className: "text-icon-primary-normal contents", children: /* @__PURE__ */ jsx(Icon, { name: "close", size: 24 }) })
|
|
64
|
-
}
|
|
65
|
-
)
|
|
66
|
-
]
|
|
67
|
-
}
|
|
68
|
-
),
|
|
69
|
-
customActions: /* @__PURE__ */ jsx(Button, { onClick: closeRowDetail, className: "w-full", children: "Close" }),
|
|
70
|
-
showButtons: true,
|
|
71
|
-
children: /* @__PURE__ */ jsx("div", { className: "bg-white max-h-full flex flex-col flex-grow-1", children: /* @__PURE__ */ jsx(ModalContent, {}) })
|
|
72
|
-
}
|
|
73
|
-
);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export {
|
|
77
|
-
RowDetailModalProvider
|
|
78
|
-
};
|