@easypost/easy-ui 1.0.0-alpha.7 → 1.0.0-alpha.70
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/Badge/index.js +16 -16
- package/Badge/index.mjs +14 -14
- package/Banner/index.js +7 -7
- package/Banner/index.mjs +5 -5
- package/Button/Button.d.ts +12 -10
- package/Button/Button.d.ts.map +1 -1
- package/Button/Button.stories.d.ts +11 -9
- package/Button/Button.stories.d.ts.map +1 -1
- package/Button/index.js +2 -92
- package/Button/index.mjs +2 -92
- package/Button/utilities.d.ts +4 -0
- package/Button/utilities.d.ts.map +1 -1
- package/CHANGELOG.md +545 -0
- package/Calendar/Calendar.d.ts +67 -0
- package/Calendar/Calendar.d.ts.map +1 -0
- package/Calendar/Calendar.stories.d.ts +15 -0
- package/Calendar/Calendar.stories.d.ts.map +1 -0
- package/Calendar/Calendar.test.d.ts +2 -0
- package/Calendar/Calendar.test.d.ts.map +1 -0
- package/Calendar/CalendarBase.d.ts +57 -0
- package/Calendar/CalendarBase.d.ts.map +1 -0
- package/Calendar/CalendarCell.d.ts +12 -0
- package/Calendar/CalendarCell.d.ts.map +1 -0
- package/Calendar/CalendarGrid.d.ts +9 -0
- package/Calendar/CalendarGrid.d.ts.map +1 -0
- package/Calendar/CalendarHeader.d.ts +20 -0
- package/Calendar/CalendarHeader.d.ts.map +1 -0
- package/Calendar/index.d.ts +2 -0
- package/Calendar/index.d.ts.map +1 -0
- package/Calendar/index.js +4 -0
- package/Calendar/index.mjs +4 -0
- package/Card/Card.d.ts +62 -5
- package/Card/Card.d.ts.map +1 -1
- package/Card/Card.stories.d.ts +5 -0
- package/Card/Card.stories.d.ts.map +1 -1
- package/Card/index.js +3 -84
- package/Card/index.mjs +3 -84
- package/CheckableCard/CheckableCard.d.ts +28 -0
- package/CheckableCard/CheckableCard.d.ts.map +1 -0
- package/CheckableCard/CheckableCard.stories.d.ts +7 -0
- package/CheckableCard/CheckableCard.stories.d.ts.map +1 -0
- package/CheckableCard/CheckableCard.test.d.ts +2 -0
- package/CheckableCard/CheckableCard.test.d.ts.map +1 -0
- package/CheckableCard/index.d.ts +2 -0
- package/CheckableCard/index.d.ts.map +1 -0
- package/CheckableCard/index.js +65 -0
- package/CheckableCard/index.mjs +65 -0
- package/Checkbox/Checkbox.d.ts +1 -1
- package/Checkbox/Checkbox.d.ts.map +1 -1
- package/Checkbox/Checkbox.test.d.ts +1 -2
- package/Checkbox/Checkbox.test.d.ts.map +1 -1
- package/Checkbox/index.js +3 -231
- package/Checkbox/index.mjs +3 -215
- package/CodeBlock/CodeBlock.d.ts +6 -0
- package/CodeBlock/CodeBlock.d.ts.map +1 -1
- package/CodeBlock/CodeBlock.stories.d.ts.map +1 -1
- package/CodeBlock/LanguageMenu.d.ts.map +1 -1
- package/CodeBlock/index.js +177 -177
- package/CodeBlock/index.mjs +160 -160
- package/CodeSnippet/CodeSnippet.d.ts +3 -3
- package/CodeSnippet/CodeSnippet.d.ts.map +1 -1
- package/CodeSnippet/CodeSnippet.stories.d.ts.map +1 -1
- package/CodeSnippet/SyntaxHighlighter.d.ts +7 -0
- package/CodeSnippet/SyntaxHighlighter.d.ts.map +1 -1
- package/CodeSnippet/index.js +2 -9
- package/CodeSnippet/index.mjs +2 -9
- package/CodeSnippet/theme.d.ts +0 -1
- package/CodeSnippet/theme.d.ts.map +1 -1
- package/DataGrid/ActionsCellContent.d.ts +8 -0
- package/DataGrid/ActionsCellContent.d.ts.map +1 -0
- package/DataGrid/Cell.d.ts +15 -0
- package/DataGrid/Cell.d.ts.map +1 -0
- package/DataGrid/ColumnHeader.d.ts +10 -0
- package/DataGrid/ColumnHeader.d.ts.map +1 -0
- package/DataGrid/DataGrid.d.ts +39 -0
- package/DataGrid/DataGrid.d.ts.map +1 -0
- package/DataGrid/DataGrid.stories.d.ts +19 -0
- package/DataGrid/DataGrid.stories.d.ts.map +1 -0
- package/DataGrid/DataGrid.test.d.ts +2 -0
- package/DataGrid/DataGrid.test.d.ts.map +1 -0
- package/DataGrid/ExpandCellContent.d.ts +8 -0
- package/DataGrid/ExpandCellContent.d.ts.map +1 -0
- package/DataGrid/ExpandedRowContent.d.ts +7 -0
- package/DataGrid/ExpandedRowContent.d.ts.map +1 -0
- package/DataGrid/HeaderRow.d.ts +11 -0
- package/DataGrid/HeaderRow.d.ts.map +1 -0
- package/DataGrid/Row.d.ts +16 -0
- package/DataGrid/Row.d.ts.map +1 -0
- package/DataGrid/RowGroup.d.ts +8 -0
- package/DataGrid/RowGroup.d.ts.map +1 -0
- package/DataGrid/SortIndicator.d.ts +7 -0
- package/DataGrid/SortIndicator.d.ts.map +1 -0
- package/DataGrid/Table.d.ts +8 -0
- package/DataGrid/Table.d.ts.map +1 -0
- package/DataGrid/VisuallyHiddenCellContent.d.ts +7 -0
- package/DataGrid/VisuallyHiddenCellContent.d.ts.map +1 -0
- package/DataGrid/constants.d.ts +5 -0
- package/DataGrid/constants.d.ts.map +1 -0
- package/DataGrid/context.d.ts +31 -0
- package/DataGrid/context.d.ts.map +1 -0
- package/DataGrid/index.d.ts +2 -0
- package/DataGrid/index.d.ts.map +1 -0
- package/DataGrid/index.js +2738 -0
- package/DataGrid/index.mjs +2738 -0
- package/DataGrid/useEdgeInterceptors.d.ts +15 -0
- package/DataGrid/useEdgeInterceptors.d.ts.map +1 -0
- package/DataGrid/useExpandedRow.d.ts +14 -0
- package/DataGrid/useExpandedRow.d.ts.map +1 -0
- package/DataGrid/useGridTemplate.d.ts +14 -0
- package/DataGrid/useGridTemplate.d.ts.map +1 -0
- package/DatePicker/DateField.d.ts +14 -0
- package/DatePicker/DateField.d.ts.map +1 -0
- package/DatePicker/DatePicker.d.ts +91 -0
- package/DatePicker/DatePicker.d.ts.map +1 -0
- package/DatePicker/DatePicker.stories.d.ts +14 -0
- package/DatePicker/DatePicker.stories.d.ts.map +1 -0
- package/DatePicker/DatePicker.test.d.ts +2 -0
- package/DatePicker/DatePicker.test.d.ts.map +1 -0
- package/DatePicker/DatePickerBase.d.ts +32 -0
- package/DatePicker/DatePickerBase.d.ts.map +1 -0
- package/DatePicker/DatePickerOverlay.d.ts +12 -0
- package/DatePicker/DatePickerOverlay.d.ts.map +1 -0
- package/DatePicker/DatePickerTrigger.d.ts +20 -0
- package/DatePicker/DatePickerTrigger.d.ts.map +1 -0
- package/DatePicker/index.d.ts +2 -0
- package/DatePicker/index.d.ts.map +1 -0
- package/DatePicker/index.js +275 -0
- package/DatePicker/index.mjs +275 -0
- package/DateRangePicker/DateRangePicker.d.ts +89 -0
- package/DateRangePicker/DateRangePicker.d.ts.map +1 -0
- package/DateRangePicker/DateRangePicker.stories.d.ts +14 -0
- package/DateRangePicker/DateRangePicker.stories.d.ts.map +1 -0
- package/DateRangePicker/DateRangePicker.test.d.ts +2 -0
- package/DateRangePicker/DateRangePicker.test.d.ts.map +1 -0
- package/DateRangePicker/index.d.ts +2 -0
- package/DateRangePicker/index.d.ts.map +1 -0
- package/DateRangePicker/index.js +434 -0
- package/DateRangePicker/index.mjs +434 -0
- package/Drawer/Drawer.d.ts +53 -0
- package/Drawer/Drawer.d.ts.map +1 -0
- package/Drawer/Drawer.stories.d.ts +14 -0
- package/Drawer/Drawer.stories.d.ts.map +1 -0
- package/Drawer/Drawer.test.d.ts +2 -0
- package/Drawer/Drawer.test.d.ts.map +1 -0
- package/Drawer/DrawerBanner.d.ts +9 -0
- package/Drawer/DrawerBanner.d.ts.map +1 -0
- package/Drawer/DrawerBody.d.ts +10 -0
- package/Drawer/DrawerBody.d.ts.map +1 -0
- package/Drawer/DrawerCloseButton.d.ts +3 -0
- package/Drawer/DrawerCloseButton.d.ts.map +1 -0
- package/Drawer/DrawerContainer.d.ts +18 -0
- package/Drawer/DrawerContainer.d.ts.map +1 -0
- package/Drawer/DrawerContentArea.d.ts +17 -0
- package/Drawer/DrawerContentArea.d.ts.map +1 -0
- package/Drawer/DrawerHeader.d.ts +12 -0
- package/Drawer/DrawerHeader.d.ts.map +1 -0
- package/Drawer/DrawerTrigger.d.ts +26 -0
- package/Drawer/DrawerTrigger.d.ts.map +1 -0
- package/Drawer/DrawerUnderlay.d.ts +23 -0
- package/Drawer/DrawerUnderlay.d.ts.map +1 -0
- package/Drawer/context.d.ts +21 -0
- package/Drawer/context.d.ts.map +1 -0
- package/Drawer/index.d.ts +2 -0
- package/Drawer/index.d.ts.map +1 -0
- package/Drawer/index.js +2068 -0
- package/Drawer/index.mjs +2052 -0
- package/Drawer/useIntersectionDetection.d.ts +10 -0
- package/Drawer/useIntersectionDetection.d.ts.map +1 -0
- package/DropdownButton/DropdownButton.d.ts +3 -3
- package/DropdownButton/DropdownButton.d.ts.map +1 -1
- package/DropdownButton/DropdownButton.stories.d.ts +5 -5
- package/DropdownButton/DropdownButton.stories.d.ts.map +1 -1
- package/DropdownButton/index.js +17 -20
- package/DropdownButton/index.mjs +14 -17
- package/EmptyStateCard/EmptyStateCard.d.ts +87 -0
- package/EmptyStateCard/EmptyStateCard.d.ts.map +1 -0
- package/EmptyStateCard/EmptyStateCard.stories.d.ts +10 -0
- package/EmptyStateCard/EmptyStateCard.stories.d.ts.map +1 -0
- package/EmptyStateCard/EmptyStateCard.test.d.ts +2 -0
- package/EmptyStateCard/EmptyStateCard.test.d.ts.map +1 -0
- package/EmptyStateCard/index.d.ts +2 -0
- package/EmptyStateCard/index.d.ts.map +1 -0
- package/EmptyStateCard/index.js +127 -0
- package/EmptyStateCard/index.mjs +127 -0
- package/EmptyStateCard/utilities.d.ts +3 -0
- package/EmptyStateCard/utilities.d.ts.map +1 -0
- package/FocusedProductLayout/BackArrow.d.ts +4 -0
- package/FocusedProductLayout/BackArrow.d.ts.map +1 -0
- package/FocusedProductLayout/Content.d.ts +10 -0
- package/FocusedProductLayout/Content.d.ts.map +1 -0
- package/FocusedProductLayout/FocusedProductLayout.d.ts +111 -0
- package/FocusedProductLayout/FocusedProductLayout.d.ts.map +1 -0
- package/FocusedProductLayout/FocusedProductLayout.stories.d.ts +12 -0
- package/FocusedProductLayout/FocusedProductLayout.stories.d.ts.map +1 -0
- package/FocusedProductLayout/FocusedProductLayout.test.d.ts +2 -0
- package/FocusedProductLayout/FocusedProductLayout.test.d.ts.map +1 -0
- package/FocusedProductLayout/HeaderAtTopOfPage.d.ts +11 -0
- package/FocusedProductLayout/HeaderAtTopOfPage.d.ts.map +1 -0
- package/FocusedProductLayout/HeaderInContentArea.d.ts +11 -0
- package/FocusedProductLayout/HeaderInContentArea.d.ts.map +1 -0
- package/FocusedProductLayout/SidePanel.d.ts +13 -0
- package/FocusedProductLayout/SidePanel.d.ts.map +1 -0
- package/FocusedProductLayout/WizardContent.d.ts +49 -0
- package/FocusedProductLayout/WizardContent.d.ts.map +1 -0
- package/FocusedProductLayout/index.d.ts +2 -0
- package/FocusedProductLayout/index.d.ts.map +1 -0
- package/FocusedProductLayout/index.js +186 -0
- package/FocusedProductLayout/index.mjs +186 -0
- package/ForgeLayout/ForgeLayout.d.ts +138 -0
- package/ForgeLayout/ForgeLayout.d.ts.map +1 -0
- package/ForgeLayout/ForgeLayout.stories.d.ts +9 -0
- package/ForgeLayout/ForgeLayout.stories.d.ts.map +1 -0
- package/ForgeLayout/ForgeLayout.test.d.ts +2 -0
- package/ForgeLayout/ForgeLayout.test.d.ts.map +1 -0
- package/ForgeLayout/ForgeLayoutActions.d.ts +50 -0
- package/ForgeLayout/ForgeLayoutActions.d.ts.map +1 -0
- package/ForgeLayout/ForgeLayoutControls.d.ts +38 -0
- package/ForgeLayout/ForgeLayoutControls.d.ts.map +1 -0
- package/ForgeLayout/ForgeLayoutHeader.d.ts +18 -0
- package/ForgeLayout/ForgeLayoutHeader.d.ts.map +1 -0
- package/ForgeLayout/ForgeLayoutNav.d.ts +35 -0
- package/ForgeLayout/ForgeLayoutNav.d.ts.map +1 -0
- package/ForgeLayout/index.d.ts +2 -0
- package/ForgeLayout/index.d.ts.map +1 -0
- package/ForgeLayout/index.js +500 -0
- package/ForgeLayout/index.mjs +500 -0
- package/FormLayout/FormLayout.d.ts +55 -0
- package/FormLayout/FormLayout.d.ts.map +1 -0
- package/FormLayout/FormLayout.stories.d.ts +13 -0
- package/FormLayout/FormLayout.stories.d.ts.map +1 -0
- package/FormLayout/FormLayout.test.d.ts +2 -0
- package/FormLayout/FormLayout.test.d.ts.map +1 -0
- package/FormLayout/Grid.d.ts +19 -0
- package/FormLayout/Grid.d.ts.map +1 -0
- package/FormLayout/Header.d.ts +9 -0
- package/FormLayout/Header.d.ts.map +1 -0
- package/FormLayout/HelperText.d.ts +13 -0
- package/FormLayout/HelperText.d.ts.map +1 -0
- package/FormLayout/Section.d.ts +12 -0
- package/FormLayout/Section.d.ts.map +1 -0
- package/FormLayout/Title.d.ts +23 -0
- package/FormLayout/Title.d.ts.map +1 -0
- package/FormLayout/context.d.ts +2 -0
- package/FormLayout/context.d.ts.map +1 -0
- package/FormLayout/index.d.ts +2 -0
- package/FormLayout/index.d.ts.map +1 -0
- package/FormLayout/index.js +126 -0
- package/FormLayout/index.mjs +126 -0
- package/HorizontalGrid/index.js +2 -62
- package/HorizontalGrid/index.mjs +2 -62
- package/HorizontalStack/index.js +2 -48
- package/HorizontalStack/index.mjs +2 -48
- package/Icon/Icon.d.ts +19 -4
- package/Icon/Icon.d.ts.map +1 -1
- package/Icon/Icon.stories.d.ts.map +1 -1
- package/Icon/index.js +2 -38
- package/Icon/index.mjs +2 -38
- package/IconButton/IconButton.d.ts +3 -3
- package/IconButton/IconButton.d.ts.map +1 -1
- package/IconButton/IconButton.stories.d.ts +5 -5
- package/IconButton/IconButton.stories.d.ts.map +1 -1
- package/IconButton/index.js +17 -20
- package/IconButton/index.mjs +13 -16
- package/InputField/InputField.d.ts +7 -4
- package/InputField/InputField.d.ts.map +1 -1
- package/InputField/InputField.test.d.ts.map +1 -1
- package/InputField/Label.d.ts +0 -5
- package/InputField/Label.d.ts.map +1 -1
- package/InputField/index.js +2 -283
- package/InputField/index.mjs +2 -267
- package/InputField/inputText.d.ts +24 -0
- package/InputField/inputText.d.ts.map +1 -0
- package/InputField/utilities.d.ts +3 -1
- package/InputField/utilities.d.ts.map +1 -1
- package/KebabButton/KebabButton.d.ts +19 -0
- package/KebabButton/KebabButton.d.ts.map +1 -0
- package/KebabButton/KebabButton.stories.d.ts +7 -0
- package/KebabButton/KebabButton.stories.d.ts.map +1 -0
- package/KebabButton/KebabButton.test.d.ts +2 -0
- package/KebabButton/KebabButton.test.d.ts.map +1 -0
- package/KebabButton/index.d.ts +2 -0
- package/KebabButton/index.d.ts.map +1 -0
- package/KebabButton/index.js +4 -0
- package/KebabButton/index.mjs +4 -0
- package/Menu/Menu.stories.d.ts +4 -0
- package/Menu/Menu.stories.d.ts.map +1 -1
- package/Menu/MenuItem.d.ts.map +1 -1
- package/Menu/MenuOverlay.d.ts +18 -2
- package/Menu/MenuOverlay.d.ts.map +1 -1
- package/Menu/MenuSection.d.ts +2 -0
- package/Menu/MenuSection.d.ts.map +1 -1
- package/Menu/MenuTrigger.d.ts.map +1 -1
- package/Menu/index.js +2 -394
- package/Menu/index.mjs +2 -394
- package/Menu/utilities.d.ts +17 -1
- package/Menu/utilities.d.ts.map +1 -1
- package/Modal/Modal.d.ts +53 -0
- package/Modal/Modal.d.ts.map +1 -0
- package/Modal/Modal.stories.d.ts +15 -0
- package/Modal/Modal.stories.d.ts.map +1 -0
- package/Modal/Modal.test.d.ts +2 -0
- package/Modal/Modal.test.d.ts.map +1 -0
- package/Modal/ModalBody.d.ts +10 -0
- package/Modal/ModalBody.d.ts.map +1 -0
- package/Modal/ModalContainer.d.ts +26 -0
- package/Modal/ModalContainer.d.ts.map +1 -0
- package/Modal/ModalFooter.d.ts +25 -0
- package/Modal/ModalFooter.d.ts.map +1 -0
- package/Modal/ModalHeader.d.ts +35 -0
- package/Modal/ModalHeader.d.ts.map +1 -0
- package/Modal/ModalTrigger.d.ts +26 -0
- package/Modal/ModalTrigger.d.ts.map +1 -0
- package/Modal/ModalUnderlay.d.ts +19 -0
- package/Modal/ModalUnderlay.d.ts.map +1 -0
- package/Modal/context.d.ts +23 -0
- package/Modal/context.d.ts.map +1 -0
- package/Modal/index.d.ts +2 -0
- package/Modal/index.d.ts.map +1 -0
- package/Modal/index.js +292 -0
- package/Modal/index.mjs +292 -0
- package/Modal/useIntersectionDetection.d.ts +10 -0
- package/Modal/useIntersectionDetection.d.ts.map +1 -0
- package/MultiSelect/MultiSelect.d.ts +123 -0
- package/MultiSelect/MultiSelect.d.ts.map +1 -0
- package/MultiSelect/MultiSelect.stories.d.ts +11 -0
- package/MultiSelect/MultiSelect.stories.d.ts.map +1 -0
- package/MultiSelect/MultiSelect.test.d.ts +2 -0
- package/MultiSelect/MultiSelect.test.d.ts.map +1 -0
- package/MultiSelect/MultiSelectDropdown.d.ts +22 -0
- package/MultiSelect/MultiSelectDropdown.d.ts.map +1 -0
- package/MultiSelect/index.d.ts +2 -0
- package/MultiSelect/index.d.ts.map +1 -0
- package/MultiSelect/index.js +1987 -0
- package/MultiSelect/index.mjs +1972 -0
- package/MultiSelect/utilities.d.ts +3 -0
- package/MultiSelect/utilities.d.ts.map +1 -0
- package/NexusLayout/NexusLayout.d.ts +97 -0
- package/NexusLayout/NexusLayout.d.ts.map +1 -0
- package/NexusLayout/NexusLayout.stories.d.ts +8 -0
- package/NexusLayout/NexusLayout.stories.d.ts.map +1 -0
- package/NexusLayout/NexusLayout.test.d.ts +2 -0
- package/NexusLayout/NexusLayout.test.d.ts.map +1 -0
- package/NexusLayout/NexusLayoutActions.d.ts +38 -0
- package/NexusLayout/NexusLayoutActions.d.ts.map +1 -0
- package/NexusLayout/NexusLayoutMultipage.d.ts +27 -0
- package/NexusLayout/NexusLayoutMultipage.d.ts.map +1 -0
- package/NexusLayout/NexusLayoutMultipageSidebarNav.d.ts +31 -0
- package/NexusLayout/NexusLayoutMultipageSidebarNav.d.ts.map +1 -0
- package/NexusLayout/NexusLayoutNav.d.ts +28 -0
- package/NexusLayout/NexusLayoutNav.d.ts.map +1 -0
- package/NexusLayout/index.d.ts +2 -0
- package/NexusLayout/index.d.ts.map +1 -0
- package/NexusLayout/index.js +353 -0
- package/NexusLayout/index.mjs +353 -0
- package/Notification/index.js +5 -1535
- package/Notification/index.mjs +5 -1519
- package/Pagination/Pagination.d.ts +81 -0
- package/Pagination/Pagination.d.ts.map +1 -0
- package/Pagination/Pagination.stories.d.ts +9 -0
- package/Pagination/Pagination.stories.d.ts.map +1 -0
- package/Pagination/Pagination.test.d.ts +2 -0
- package/Pagination/Pagination.test.d.ts.map +1 -0
- package/Pagination/PaginationButton.d.ts +9 -0
- package/Pagination/PaginationButton.d.ts.map +1 -0
- package/Pagination/PaginationDropdown.d.ts +24 -0
- package/Pagination/PaginationDropdown.d.ts.map +1 -0
- package/Pagination/index.d.ts +2 -0
- package/Pagination/index.d.ts.map +1 -0
- package/Pagination/index.js +119 -0
- package/Pagination/index.mjs +119 -0
- package/PillGroup/PillGroup.d.ts +80 -0
- package/PillGroup/PillGroup.d.ts.map +1 -0
- package/PillGroup/PillGroup.stories.d.ts +11 -0
- package/PillGroup/PillGroup.stories.d.ts.map +1 -0
- package/PillGroup/PillGroup.test.d.ts +2 -0
- package/PillGroup/PillGroup.test.d.ts.map +1 -0
- package/PillGroup/index.d.ts +2 -0
- package/PillGroup/index.d.ts.map +1 -0
- package/PillGroup/index.js +5 -0
- package/PillGroup/index.mjs +5 -0
- package/ProductLayout/HelpMenu.d.ts +8 -0
- package/ProductLayout/HelpMenu.d.ts.map +1 -0
- package/ProductLayout/LayoutScreenSizeRenderer.d.ts +21 -0
- package/ProductLayout/LayoutScreenSizeRenderer.d.ts.map +1 -0
- package/ProductLayout/ProductLayout.d.ts +75 -0
- package/ProductLayout/ProductLayout.d.ts.map +1 -0
- package/ProductLayout/ProductLayout.stories.d.ts +8 -0
- package/ProductLayout/ProductLayout.stories.d.ts.map +1 -0
- package/ProductLayout/ProductLayout.test.d.ts +2 -0
- package/ProductLayout/ProductLayout.test.d.ts.map +1 -0
- package/ProductLayout/ProductLayoutContent.d.ts +9 -0
- package/ProductLayout/ProductLayoutContent.d.ts.map +1 -0
- package/ProductLayout/ProductLayoutHeader.d.ts +44 -0
- package/ProductLayout/ProductLayoutHeader.d.ts.map +1 -0
- package/ProductLayout/ProductLayoutSidebar.d.ts +9 -0
- package/ProductLayout/ProductLayoutSidebar.d.ts.map +1 -0
- package/ProductLayout/ProductLayoutTabbedContent.d.ts +15 -0
- package/ProductLayout/ProductLayoutTabbedContent.d.ts.map +1 -0
- package/ProductLayout/constants.d.ts +2 -0
- package/ProductLayout/constants.d.ts.map +1 -0
- package/ProductLayout/context.d.ts +13 -0
- package/ProductLayout/context.d.ts.map +1 -0
- package/ProductLayout/index.d.ts +2 -0
- package/ProductLayout/index.d.ts.map +1 -0
- package/ProductLayout/index.js +278 -0
- package/ProductLayout/index.mjs +278 -0
- package/Provider/Provider.d.ts +22 -5
- package/Provider/Provider.d.ts.map +1 -1
- package/Provider/index.js +20 -18
- package/Provider/index.mjs +19 -17
- package/README.md +20 -14
- package/RadioButtonGroup/RadioButtonGroup.d.ts +103 -0
- package/RadioButtonGroup/RadioButtonGroup.d.ts.map +1 -0
- package/RadioButtonGroup/RadioButtonGroup.stories.d.ts +11 -0
- package/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -0
- package/RadioButtonGroup/RadioButtonGroup.test.d.ts +2 -0
- package/RadioButtonGroup/RadioButtonGroup.test.d.ts.map +1 -0
- package/RadioButtonGroup/index.d.ts +2 -0
- package/RadioButtonGroup/index.d.ts.map +1 -0
- package/RadioButtonGroup/index.js +260 -0
- package/RadioButtonGroup/index.mjs +260 -0
- package/RadioGroup/index.js +3 -297
- package/RadioGroup/index.mjs +3 -297
- package/RangeCalendar/RangeCalendar.d.ts +71 -0
- package/RangeCalendar/RangeCalendar.d.ts.map +1 -0
- package/RangeCalendar/RangeCalendar.stories.d.ts +15 -0
- package/RangeCalendar/RangeCalendar.stories.d.ts.map +1 -0
- package/RangeCalendar/RangeCalendar.test.d.ts +3 -0
- package/RangeCalendar/RangeCalendar.test.d.ts.map +1 -0
- package/RangeCalendar/index.d.ts +2 -0
- package/RangeCalendar/index.d.ts.map +1 -0
- package/RangeCalendar/index.js +4 -0
- package/RangeCalendar/index.mjs +4 -0
- package/SearchNav/CTAGroup.d.ts +21 -0
- package/SearchNav/CTAGroup.d.ts.map +1 -0
- package/SearchNav/CondensedSearchNav.d.ts +9 -0
- package/SearchNav/CondensedSearchNav.d.ts.map +1 -0
- package/SearchNav/Logo.d.ts +13 -0
- package/SearchNav/Logo.d.ts.map +1 -0
- package/SearchNav/LogoGroup.d.ts +21 -0
- package/SearchNav/LogoGroup.d.ts.map +1 -0
- package/SearchNav/PrimaryCTAItem.d.ts +14 -0
- package/SearchNav/PrimaryCTAItem.d.ts.map +1 -0
- package/SearchNav/Search.d.ts +13 -0
- package/SearchNav/Search.d.ts.map +1 -0
- package/SearchNav/SearchNav.d.ts +105 -0
- package/SearchNav/SearchNav.d.ts.map +1 -0
- package/SearchNav/SearchNav.stories.d.ts +14 -0
- package/SearchNav/SearchNav.stories.d.ts.map +1 -0
- package/SearchNav/SearchNav.test.d.ts +2 -0
- package/SearchNav/SearchNav.test.d.ts.map +1 -0
- package/SearchNav/SecondaryCTAItem.d.ts +23 -0
- package/SearchNav/SecondaryCTAItem.d.ts.map +1 -0
- package/SearchNav/Selector.d.ts +15 -0
- package/SearchNav/Selector.d.ts.map +1 -0
- package/SearchNav/SelectorTrigger.d.ts +14 -0
- package/SearchNav/SelectorTrigger.d.ts.map +1 -0
- package/SearchNav/Separator.d.ts +9 -0
- package/SearchNav/Separator.d.ts.map +1 -0
- package/SearchNav/Title.d.ts +12 -0
- package/SearchNav/Title.d.ts.map +1 -0
- package/SearchNav/context.d.ts +20 -0
- package/SearchNav/context.d.ts.map +1 -0
- package/SearchNav/index.d.ts +2 -0
- package/SearchNav/index.d.ts.map +1 -0
- package/SearchNav/index.js +476 -0
- package/SearchNav/index.mjs +460 -0
- package/SearchNav/utilities.d.ts +14 -0
- package/SearchNav/utilities.d.ts.map +1 -0
- package/SectionCard/SectionCard.d.ts +53 -0
- package/SectionCard/SectionCard.d.ts.map +1 -0
- package/SectionCard/SectionCard.stories.d.ts +11 -0
- package/SectionCard/SectionCard.stories.d.ts.map +1 -0
- package/SectionCard/SectionCard.test.d.ts +2 -0
- package/SectionCard/SectionCard.test.d.ts.map +1 -0
- package/SectionCard/index.d.ts +2 -0
- package/SectionCard/index.d.ts.map +1 -0
- package/SectionCard/index.js +103 -0
- package/SectionCard/index.mjs +103 -0
- package/Select/Select.d.ts +4 -3
- package/Select/Select.d.ts.map +1 -1
- package/Select/Select.stories.d.ts.map +1 -1
- package/Select/SelectField.d.ts +3 -4
- package/Select/SelectField.d.ts.map +1 -1
- package/Select/SelectOverlay.d.ts.map +1 -1
- package/Select/index.js +28 -722
- package/Select/index.mjs +13 -707
- package/SelectorErrorTooltip/index.js +2 -104
- package/SelectorErrorTooltip/index.mjs +2 -88
- package/Spinner/Spinner.d.ts +73 -0
- package/Spinner/Spinner.d.ts.map +1 -0
- package/Spinner/Spinner.stories.d.ts +11 -0
- package/Spinner/Spinner.stories.d.ts.map +1 -0
- package/Spinner/Spinner.test.d.ts +2 -0
- package/Spinner/Spinner.test.d.ts.map +1 -0
- package/Spinner/index.d.ts +2 -0
- package/Spinner/index.d.ts.map +1 -0
- package/Spinner/index.js +4 -0
- package/Spinner/index.mjs +4 -0
- package/SplitToggleCard/SplitToggleCard.d.ts +57 -0
- package/SplitToggleCard/SplitToggleCard.d.ts.map +1 -0
- package/SplitToggleCard/SplitToggleCard.stories.d.ts +11 -0
- package/SplitToggleCard/SplitToggleCard.stories.d.ts.map +1 -0
- package/SplitToggleCard/SplitToggleCard.test.d.ts +2 -0
- package/SplitToggleCard/SplitToggleCard.test.d.ts.map +1 -0
- package/SplitToggleCard/index.d.ts +2 -0
- package/SplitToggleCard/index.d.ts.map +1 -0
- package/SplitToggleCard/index.js +50 -0
- package/SplitToggleCard/index.mjs +50 -0
- package/Stepper/Step.d.ts +33 -0
- package/Stepper/Step.d.ts.map +1 -0
- package/Stepper/StepButton.d.ts +25 -0
- package/Stepper/StepButton.d.ts.map +1 -0
- package/Stepper/Stepper.d.ts +104 -0
- package/Stepper/Stepper.d.ts.map +1 -0
- package/Stepper/Stepper.stories.d.ts +10 -0
- package/Stepper/Stepper.stories.d.ts.map +1 -0
- package/Stepper/Stepper.test.d.ts +2 -0
- package/Stepper/Stepper.test.d.ts.map +1 -0
- package/Stepper/StepperContext.d.ts +11 -0
- package/Stepper/StepperContext.d.ts.map +1 -0
- package/Stepper/index.d.ts +2 -0
- package/Stepper/index.d.ts.map +1 -0
- package/Stepper/index.js +4 -0
- package/Stepper/index.mjs +4 -0
- package/TabNav/TabNav.d.ts +29 -0
- package/TabNav/TabNav.d.ts.map +1 -0
- package/TabNav/TabNav.stories.d.ts +9 -0
- package/TabNav/TabNav.stories.d.ts.map +1 -0
- package/TabNav/TabNav.test.d.ts +2 -0
- package/TabNav/TabNav.test.d.ts.map +1 -0
- package/TabNav/TabNavItem.d.ts +12 -0
- package/TabNav/TabNavItem.d.ts.map +1 -0
- package/TabNav/index.d.ts +2 -0
- package/TabNav/index.d.ts.map +1 -0
- package/TabNav/index.js +4 -0
- package/TabNav/index.mjs +4 -0
- package/TabPanels/TabPanels.d.ts +68 -0
- package/TabPanels/TabPanels.d.ts.map +1 -0
- package/TabPanels/TabPanels.stories.d.ts +14 -0
- package/TabPanels/TabPanels.stories.d.ts.map +1 -0
- package/TabPanels/TabPanels.test.d.ts +2 -0
- package/TabPanels/TabPanels.test.d.ts.map +1 -0
- package/TabPanels/TabPanelsItem.d.ts +15 -0
- package/TabPanels/TabPanelsItem.d.ts.map +1 -0
- package/TabPanels/TabPanelsPanels.d.ts +14 -0
- package/TabPanels/TabPanelsPanels.d.ts.map +1 -0
- package/TabPanels/TabPanelsTabs.d.ts +15 -0
- package/TabPanels/TabPanelsTabs.d.ts.map +1 -0
- package/TabPanels/context.d.ts +10 -0
- package/TabPanels/context.d.ts.map +1 -0
- package/TabPanels/index.d.ts +2 -0
- package/TabPanels/index.d.ts.map +1 -0
- package/TabPanels/index.js +316 -0
- package/TabPanels/index.mjs +316 -0
- package/Tabs/Edge.d.ts +8 -0
- package/Tabs/Edge.d.ts.map +1 -0
- package/Tabs/Tabs.d.ts +23 -0
- package/Tabs/Tabs.d.ts.map +1 -0
- package/Tabs/TabsItem.d.ts +13 -0
- package/Tabs/TabsItem.d.ts.map +1 -0
- package/Tabs/context.d.ts +7 -0
- package/Tabs/context.d.ts.map +1 -0
- package/Tabs/index.d.ts +2 -0
- package/Tabs/index.d.ts.map +1 -0
- package/Tabs/index.js +4 -0
- package/Tabs/index.mjs +4 -0
- package/Tabs/useIndicatorSizing.d.ts +11 -0
- package/Tabs/useIndicatorSizing.d.ts.map +1 -0
- package/Tabs/useScrollIntoViewIfNeeded.d.ts +11 -0
- package/Tabs/useScrollIntoViewIfNeeded.d.ts.map +1 -0
- package/Tabs/useScrollbar.d.ts +6 -0
- package/Tabs/useScrollbar.d.ts.map +1 -0
- package/Tabs/util.d.ts +9 -0
- package/Tabs/util.d.ts.map +1 -0
- package/Text/Text.d.ts +13 -5
- package/Text/Text.d.ts.map +1 -1
- package/Text/Text.stories.d.ts +1 -0
- package/Text/Text.stories.d.ts.map +1 -1
- package/Text/index.js +2 -85
- package/Text/index.mjs +2 -85
- package/TextField/TextField.d.ts +3 -3
- package/TextField/TextField.d.ts.map +1 -1
- package/TextField/TextField.stories.d.ts +1 -0
- package/TextField/TextField.stories.d.ts.map +1 -1
- package/TextField/index.js +2 -33
- package/TextField/index.mjs +2 -33
- package/Textarea/Textarea.d.ts +3 -3
- package/Textarea/Textarea.d.ts.map +1 -1
- package/Textarea/Textarea.stories.d.ts.map +1 -1
- package/Textarea/index.js +32 -20
- package/Textarea/index.mjs +32 -20
- package/Theme/index.js +5 -145
- package/Theme/index.mjs +5 -145
- package/Toggle/Toggle.d.ts +34 -1
- package/Toggle/Toggle.d.ts.map +1 -1
- package/Toggle/index.js +2 -117
- package/Toggle/index.mjs +2 -117
- package/ToggleCard/ToggleCard.d.ts +88 -0
- package/ToggleCard/ToggleCard.d.ts.map +1 -0
- package/ToggleCard/ToggleCard.stories.d.ts +12 -0
- package/ToggleCard/ToggleCard.stories.d.ts.map +1 -0
- package/ToggleCard/ToggleCard.test.d.ts +2 -0
- package/ToggleCard/ToggleCard.test.d.ts.map +1 -0
- package/ToggleCard/index.d.ts +2 -0
- package/ToggleCard/index.d.ts.map +1 -0
- package/ToggleCard/index.js +47 -0
- package/ToggleCard/index.mjs +47 -0
- package/Tooltip/Tooltip.stories.d.ts +2 -0
- package/Tooltip/Tooltip.stories.d.ts.map +1 -1
- package/Tooltip/index.js +2 -11
- package/Tooltip/index.mjs +1 -10
- package/UnstyledButton/UnstyledButton.d.ts +2 -2
- package/UnstyledButton/UnstyledButton.d.ts.map +1 -1
- package/UnstyledButton/UnstyledPressButton.d.ts +10 -0
- package/UnstyledButton/UnstyledPressButton.d.ts.map +1 -0
- package/UnstyledButton/index.js +2 -7
- package/UnstyledButton/index.mjs +1 -6
- package/VerticalNav/Container.d.ts +4 -0
- package/VerticalNav/Container.d.ts.map +1 -0
- package/VerticalNav/ExpandButton.d.ts +7 -0
- package/VerticalNav/ExpandButton.d.ts.map +1 -0
- package/VerticalNav/Item.d.ts +37 -0
- package/VerticalNav/Item.d.ts.map +1 -0
- package/VerticalNav/ListVerticalNav.d.ts +29 -0
- package/VerticalNav/ListVerticalNav.d.ts.map +1 -0
- package/VerticalNav/NavItem.d.ts +13 -0
- package/VerticalNav/NavItem.d.ts.map +1 -0
- package/VerticalNav/Subnav.d.ts +18 -0
- package/VerticalNav/Subnav.d.ts.map +1 -0
- package/VerticalNav/SubnavItem.d.ts +9 -0
- package/VerticalNav/SubnavItem.d.ts.map +1 -0
- package/VerticalNav/SubnavItemDot.d.ts +7 -0
- package/VerticalNav/SubnavItemDot.d.ts.map +1 -0
- package/VerticalNav/SupplementaryAction.d.ts +26 -0
- package/VerticalNav/SupplementaryAction.d.ts.map +1 -0
- package/VerticalNav/TreeVerticalNav.d.ts +58 -0
- package/VerticalNav/TreeVerticalNav.d.ts.map +1 -0
- package/VerticalNav/VerticalNav.d.ts +29 -0
- package/VerticalNav/VerticalNav.d.ts.map +1 -0
- package/VerticalNav/VerticalNav.stories.d.ts +13 -0
- package/VerticalNav/VerticalNav.stories.d.ts.map +1 -0
- package/VerticalNav/VerticalNav.test.d.ts +2 -0
- package/VerticalNav/VerticalNav.test.d.ts.map +1 -0
- package/VerticalNav/context.d.ts +4 -0
- package/VerticalNav/context.d.ts.map +1 -0
- package/VerticalNav/index.d.ts +2 -0
- package/VerticalNav/index.d.ts.map +1 -0
- package/VerticalNav/index.js +293 -0
- package/VerticalNav/index.mjs +293 -0
- package/VerticalStack/VerticalStack.d.ts +2 -3
- package/VerticalStack/VerticalStack.d.ts.map +1 -1
- package/VerticalStack/index.js +2 -53
- package/VerticalStack/index.mjs +2 -53
- package/__chunks__/ArrowBack-BFS-tCpV.mjs +41 -0
- package/__chunks__/ArrowBack-C_LSatif.js +57 -0
- package/__chunks__/ArrowForwardIos-DSeLeLhY.mjs +41 -0
- package/__chunks__/ArrowForwardIos-DpRiDPNZ.js +57 -0
- package/__chunks__/Button-BPRaVGPL.js +92 -0
- package/__chunks__/Button-BoPQ-Fx9.js +161 -0
- package/__chunks__/Button-DF_rdiaE.mjs +93 -0
- package/__chunks__/Button-DHEZ4A2s.mjs +162 -0
- package/__chunks__/Calendar-BypbgQDc.mjs +42 -0
- package/__chunks__/Calendar-Tx6YYe1Z.js +41 -0
- package/__chunks__/CalendarBase-CyfGzPs0.js +3494 -0
- package/__chunks__/CalendarBase-d72EQzpy.mjs +3495 -0
- package/__chunks__/Card-D1i8zLMR.js +278 -0
- package/__chunks__/Card-ULdlYqfr.mjs +279 -0
- package/__chunks__/CheckCircle-C9h2PNWU.mjs +41 -0
- package/__chunks__/CheckCircle-lgmtkEe6.js +57 -0
- package/__chunks__/Checkbox-CAqgwqP5.mjs +239 -0
- package/__chunks__/Checkbox-CQ1sLqDH.js +254 -0
- package/__chunks__/Close-BQ2IlPyf.js +57 -0
- package/__chunks__/Close-Cq6Q6MN6.mjs +41 -0
- package/__chunks__/CodeSnippet-BaPDU5UY.js +5703 -0
- package/__chunks__/CodeSnippet-nq2cOEYD.mjs +5704 -0
- package/__chunks__/DatePickerBase-D_Cbxxc6.js +3122 -0
- package/__chunks__/DatePickerBase-ix3RmplD.mjs +3108 -0
- package/__chunks__/Dialog-CuqmbMC4.js +291 -0
- package/__chunks__/Dialog-D9aIj4DH.mjs +292 -0
- package/__chunks__/{ExpandMore400-7c5263a4.mjs → ExpandMore400-CH7GNxqk.mjs} +9 -17
- package/__chunks__/{ExpandMore400-92646971.js → ExpandMore400-CJpvxyJm.js} +9 -17
- package/__chunks__/FocusScope-CUJV-jWH.mjs +706 -0
- package/__chunks__/FocusScope-Djtxzznf.js +705 -0
- package/__chunks__/HelpMenu-BMczxdnx.mjs +110 -0
- package/__chunks__/HelpMenu-OAKEfgwn.js +125 -0
- package/__chunks__/HorizontalGrid-B666Dz0t.js +61 -0
- package/__chunks__/HorizontalGrid-BZzIqRyv.mjs +62 -0
- package/__chunks__/HorizontalStack-ClWTvZqM.js +49 -0
- package/__chunks__/HorizontalStack-ycH41R6u.mjs +50 -0
- package/__chunks__/Icon-BlcrcY3U.js +39 -0
- package/__chunks__/Icon-CQ73-QIg.mjs +40 -0
- package/__chunks__/InputCaption-BL_NLjoT.js +60 -0
- package/__chunks__/InputCaption-CWtoKFv-.mjs +61 -0
- package/__chunks__/InputField-2I7cBW-k.js +239 -0
- package/__chunks__/InputField-BEQE01Ks.mjs +224 -0
- package/__chunks__/InputIcon-CktsE7z9.mjs +112 -0
- package/__chunks__/InputIcon-Djdhmk7P.js +111 -0
- package/__chunks__/Item-BhrTPNN2.mjs +80 -0
- package/__chunks__/Item-CfWjPrxx.js +79 -0
- package/__chunks__/KebabButton-CpClD-ta.js +121 -0
- package/__chunks__/KebabButton-D_JdD9tg.mjs +106 -0
- package/__chunks__/KeyboardDoubleArrowRight-AAMLvGk-.mjs +79 -0
- package/__chunks__/KeyboardDoubleArrowRight-Ber8mUIO.js +95 -0
- package/__chunks__/LiveAnnouncer-BSV5-C0m.mjs +81 -0
- package/__chunks__/LiveAnnouncer-CzeNwq2D.js +80 -0
- package/__chunks__/Menu-ChrJLF1b.js +505 -0
- package/__chunks__/Menu-DZBO3sp5.mjs +506 -0
- package/__chunks__/Menu-OacI_98l.js +57 -0
- package/__chunks__/Menu-qMqvSorL.mjs +41 -0
- package/__chunks__/Notification-BoupUo2q.mjs +1367 -0
- package/__chunks__/Notification-fbWzf7BF.js +1382 -0
- package/__chunks__/NumberFormatter-CXW1Iqpu.js +153 -0
- package/__chunks__/NumberFormatter-p5KNJNTT.mjs +154 -0
- package/__chunks__/Overlay-CwJbrICR.js +164 -0
- package/__chunks__/Overlay-zuiAML3I.mjs +165 -0
- package/__chunks__/PillGroup-3zK1GHRU.mjs +2146 -0
- package/__chunks__/PillGroup-6MG9UkFs.js +2145 -0
- package/__chunks__/RadioGroup-BKpolhQi.js +331 -0
- package/__chunks__/RadioGroup-mbzALykd.mjs +332 -0
- package/__chunks__/RangeCalendar-BbXSVgVP.js +227 -0
- package/__chunks__/RangeCalendar-Bctey6Vi.mjs +228 -0
- package/__chunks__/Search-BY7IgEyX.js +57 -0
- package/__chunks__/Search-Cyblmqo5.mjs +41 -0
- package/__chunks__/SelectOverlay-BXGkUiwu.mjs +414 -0
- package/__chunks__/SelectOverlay-CdA5k1EB.js +413 -0
- package/__chunks__/SelectionManager-DCO_d3m1.mjs +708 -0
- package/__chunks__/SelectionManager-DuX6geJg.js +707 -0
- package/__chunks__/SelectorErrorTooltip-BpiNAFuB.js +90 -0
- package/__chunks__/SelectorErrorTooltip-CPVNpxGK.mjs +75 -0
- package/__chunks__/Spinner-DGw1szSS.js +99 -0
- package/__chunks__/Spinner-w1oZ97DZ.mjs +100 -0
- package/__chunks__/Stepper-0S2slVvL.mjs +169 -0
- package/__chunks__/Stepper-C0LQwSRc.js +168 -0
- package/__chunks__/TabNav-Bhq7vuFD.js +57 -0
- package/__chunks__/TabNav-CmEu1osE.mjs +58 -0
- package/__chunks__/Tabs-Bgb2pnmW.js +253 -0
- package/__chunks__/Tabs-CVXhD1Q9.mjs +254 -0
- package/__chunks__/Text-BY4p1xZ-.mjs +110 -0
- package/__chunks__/Text-C6DuTMMj.js +109 -0
- package/__chunks__/TextField-BhrZgTyN.mjs +45 -0
- package/__chunks__/TextField-CjTtasRE.js +44 -0
- package/__chunks__/Theme-BTOgcCP2.js +146 -0
- package/__chunks__/Theme-ByVPHaBx.mjs +147 -0
- package/__chunks__/Toggle-DVZ0H58G.mjs +135 -0
- package/__chunks__/Toggle-DXWt5hLD.js +134 -0
- package/__chunks__/{index-e989a741.mjs → Tooltip-Dg1Eau1x.mjs} +123 -131
- package/__chunks__/{index-affe5510.js → Tooltip-vmnwEvfN.js} +134 -142
- package/__chunks__/{index-45f05366.mjs → UnstyledButton-D_DzFe67.mjs} +17 -72
- package/__chunks__/UnstyledButton-yd6ZL2Yi.js +77 -0
- package/__chunks__/VerticalStack-BIhfodYr.mjs +55 -0
- package/__chunks__/VerticalStack-DIWUMCDj.js +54 -0
- package/__chunks__/VisuallyHidden-DcUrMWfu.js +74 -0
- package/__chunks__/VisuallyHidden-cQCgS6_a.mjs +75 -0
- package/__chunks__/_commonjsHelpers-Bc2YnDe1.js +7 -0
- package/__chunks__/_commonjsHelpers-DWwsNxpa.mjs +8 -0
- package/__chunks__/ariaHideOutside-CvJKAP9c.mjs +377 -0
- package/__chunks__/ariaHideOutside-DkYn-eBq.js +376 -0
- package/__chunks__/context-BZCcafjG.mjs +92 -0
- package/__chunks__/context-CYcq9Zvo.js +120 -0
- package/__chunks__/context-D3NeXov7.js +91 -0
- package/__chunks__/context-EpOG85wC.mjs +121 -0
- package/__chunks__/filterDOMProps-D3iOHP0H.js +27 -0
- package/__chunks__/filterDOMProps-EDDcM64A.mjs +28 -0
- package/__chunks__/focusSafely-CCOEuEpK.mjs +15 -0
- package/__chunks__/focusSafely-wmTq_iKq.js +14 -0
- package/__chunks__/getScrollParent-B5CCP-yO.mjs +10 -0
- package/__chunks__/getScrollParent-DNz2ReWu.js +9 -0
- package/__chunks__/index-CTw89HMx.js +198 -0
- package/__chunks__/index-CUcRN4NO.js +311 -0
- package/__chunks__/index-DCSYt1ke.mjs +199 -0
- package/__chunks__/index-Izk6uvQC.mjs +312 -0
- package/__chunks__/isScrollable-CE3Xdlg4.js +9 -0
- package/__chunks__/isScrollable-DwbLAiO0.mjs +10 -0
- package/__chunks__/isVirtualEvent-B_Z4yzgm.mjs +75 -0
- package/__chunks__/isVirtualEvent-C-tB2MCl.js +74 -0
- package/__chunks__/lodash-B19QVK6q.mjs +5492 -0
- package/__chunks__/lodash-CS8bkZ7S.js +5491 -0
- package/__chunks__/mergeProps-DSi85raC.mjs +227 -0
- package/__chunks__/mergeProps-DniMwM6P.js +226 -0
- package/__chunks__/mergeRefs-CCV6itCY.mjs +12 -0
- package/__chunks__/mergeRefs-CQsNYO0P.js +11 -0
- package/__chunks__/number-C4N6pKyl.js +6 -0
- package/__chunks__/number-CLRm_tTs.mjs +7 -0
- package/__chunks__/objectWithoutPropertiesLoose-3GpnIKeG.js +29 -0
- package/__chunks__/objectWithoutPropertiesLoose-ij10PUAf.mjs +30 -0
- package/__chunks__/omit-CC3uE8z5.js +2245 -0
- package/__chunks__/omit-CYoLXTjq.mjs +2246 -0
- package/__chunks__/{overlayscrollbars-react.es-f2a0bcff.js → overlayscrollbars-react-BFy4nomP.js} +982 -880
- package/__chunks__/{overlayscrollbars-react.es-7f332a3b.mjs → overlayscrollbars-react-BiRJpzDY.mjs} +982 -880
- package/__chunks__/scrollIntoView-BN4yt25y.js +114 -0
- package/__chunks__/scrollIntoView-wURtlgJt.mjs +115 -0
- package/__chunks__/{tokens-ad06cd2c.js → tokens-BmCk-Bk0.js} +153 -126
- package/__chunks__/{tokens-3c27019b.mjs → tokens-BolVbjJp.mjs} +153 -126
- package/__chunks__/useButton-B_VJe1i5.js +70 -0
- package/__chunks__/useButton-CdgRb7pd.mjs +71 -0
- package/__chunks__/useCollator-B-keb3wA.mjs +13 -0
- package/__chunks__/useCollator-DGrSWVh4.js +12 -0
- package/__chunks__/{import-6a831ca1.mjs → useControlledState-CFWhSD5C.mjs} +5 -14
- package/__chunks__/{import-dea5a24d.js → useControlledState-mnKBd6Uc.js} +4 -13
- package/__chunks__/useDialog-Bxep5NaV.mjs +72 -0
- package/__chunks__/useDialog-DJ-g6m8Y.js +71 -0
- package/__chunks__/useEdgeInterceptors-BE1QLRt6.js +48 -0
- package/__chunks__/useEdgeInterceptors-DUaDYOew.mjs +49 -0
- package/__chunks__/useEvent-B0fsKtsf.mjs +23 -0
- package/__chunks__/useEvent-DY7dR7Mi.js +22 -0
- package/__chunks__/useField-B6VplZ_n.mjs +39 -0
- package/__chunks__/useField-BJW_bXVD.js +38 -0
- package/__chunks__/useFilter-D-K0Oj-7.mjs +65 -0
- package/__chunks__/useFilter-DpnZ54nd.js +64 -0
- package/__chunks__/useFocus-l6ZlVMHW.js +37 -0
- package/__chunks__/useFocus-lnK5BCt2.mjs +38 -0
- package/__chunks__/useFocusRing-KIEn23AD.mjs +43 -0
- package/__chunks__/useFocusRing-f5StfjhA.js +42 -0
- package/__chunks__/useFocusVisible-Bb3k4_O_.mjs +272 -0
- package/__chunks__/useFocusVisible-CiIrKjuz.js +271 -0
- package/__chunks__/useFocusWithin-BGNdxo9d.mjs +48 -0
- package/__chunks__/useFocusWithin-C-45XiL1.js +47 -0
- package/__chunks__/useFocusable-BQyiwtXU.js +99 -0
- package/__chunks__/useFocusable-DxcU91xN.mjs +100 -0
- package/__chunks__/useFormReset-Bgj93eR3.js +21 -0
- package/__chunks__/useFormReset-DA1Lwdha.mjs +22 -0
- package/__chunks__/useFormValidation-BeqiYVJN.js +262 -0
- package/__chunks__/useFormValidation-CCe1AoIX.mjs +263 -0
- package/__chunks__/useHasTabbableChild-CepF5tQS.js +36 -0
- package/__chunks__/useHasTabbableChild-DOO1szWv.mjs +37 -0
- package/__chunks__/useHighlightSelectionDescription-B_YjQEPD.mjs +572 -0
- package/__chunks__/useHighlightSelectionDescription-nSfKxNPA.js +570 -0
- package/__chunks__/useHover-BIKwjrCT.js +109 -0
- package/__chunks__/useHover-BOYR4wqI.mjs +110 -0
- package/__chunks__/useIntersectionDetection-BvUmtDgl.mjs +22 -0
- package/__chunks__/useIntersectionDetection-DI5n4zwA.js +21 -0
- package/__chunks__/useLabel-D37VV43W.mjs +27 -0
- package/__chunks__/useLabel-t-N6anB8.js +26 -0
- package/__chunks__/useLabels-5f58TiCH.mjs +23 -0
- package/__chunks__/useLabels-KmwewLTv.js +22 -0
- package/__chunks__/useLink-BGK9UEQW.mjs +95 -0
- package/__chunks__/useLink-CQhl3ZGL.js +94 -0
- package/__chunks__/useListBoxSection-Dl15OiHe.mjs +195 -0
- package/__chunks__/useListBoxSection-TdoNdwIM.js +194 -0
- package/__chunks__/useListState-AFrlkW73.mjs +182 -0
- package/__chunks__/useListState-I5rva0Fq.js +181 -0
- package/__chunks__/useLocalizedStringFormatter-BHXy3Wtu.mjs +122 -0
- package/__chunks__/useLocalizedStringFormatter-CaF1VsOH.js +121 -0
- package/__chunks__/useMenuTrigger-DDKy3dcp.mjs +264 -0
- package/__chunks__/useMenuTrigger-DhSBxWW5.js +263 -0
- package/__chunks__/useMenuTriggerState-BJJ3WdLH.mjs +67 -0
- package/__chunks__/useMenuTriggerState-DTZmPbSP.js +66 -0
- package/__chunks__/useModalOverlay-BeCxNyVY.mjs +48 -0
- package/__chunks__/useModalOverlay-gSHY_FAb.js +47 -0
- package/__chunks__/useObjectRef-BOGMJ5vM.js +18 -0
- package/__chunks__/useObjectRef-wU82Pkgx.mjs +19 -0
- package/__chunks__/useOverlayPosition-CTTQ0gZN.mjs +473 -0
- package/__chunks__/useOverlayPosition-DJGEWKwM.js +472 -0
- package/__chunks__/useOverlayTrigger-BvP35sYf.mjs +28 -0
- package/__chunks__/useOverlayTrigger-CiUR_pLO.js +27 -0
- package/__chunks__/usePress-CqfuY_T7.mjs +800 -0
- package/__chunks__/usePress-DTGD4Sub.js +799 -0
- package/__chunks__/useResizeObserver-BsbT3mjh.js +34 -0
- package/__chunks__/useResizeObserver-Dyb4wvuA.mjs +35 -0
- package/__chunks__/useSelectableItem-BEkjpB_K.js +615 -0
- package/__chunks__/useSelectableItem-DeFiKyU1.mjs +616 -0
- package/__chunks__/useSelectableList-DPJUwWwV.mjs +280 -0
- package/__chunks__/useSelectableList-Dk3TxzYJ.js +279 -0
- package/__chunks__/useSingleSelectListState-5RB1w9vv.js +55 -0
- package/__chunks__/useSingleSelectListState-DuCUY6dR.mjs +56 -0
- package/__chunks__/useTextField-CspDdKaL.mjs +110 -0
- package/__chunks__/useTextField-DM-ZTn9j.js +109 -0
- package/__chunks__/{import-eb35a9b9.mjs → useToggle-CbrJW7jr.mjs} +22 -29
- package/__chunks__/useToggle-Cu5EqIJD.js +74 -0
- package/__chunks__/useToggleState-CdbEMLRz.js +18 -0
- package/__chunks__/useToggleState-kFojjzgV.mjs +19 -0
- package/__chunks__/useTreeState-D6aHf9kN.js +142 -0
- package/__chunks__/useTreeState-w_raYfy2.mjs +143 -0
- package/__chunks__/useTriggerWidth-74VNM0k9.mjs +133 -0
- package/__chunks__/useTriggerWidth-B-IM2wNY.js +132 -0
- package/__chunks__/useUpdateEffect-BLgGnNgL.mjs +19 -0
- package/__chunks__/useUpdateEffect-CssYIsWI.js +18 -0
- package/__chunks__/utilities-CczOI9Hn.mjs +358 -0
- package/__chunks__/utilities-DIZYscJV.js +357 -0
- package/__chunks__/utils-BIfsWYLR.mjs +148 -0
- package/__chunks__/utils-BlKqJM2_.js +147 -0
- package/package.json +17 -15
- package/style.css +5224 -1686
- package/styles/_accessibility.scss +48 -0
- package/styles/_common.scss +8 -0
- package/styles/_media-queries.scss +25 -0
- package/styles/_poppins-fallback.scss +73 -0
- package/styles/_responsive-props.scss +90 -0
- package/styles/_scrollbars.scss +52 -0
- package/styles/_string-functions.scss +26 -0
- package/styles/_token-helpers.scss +41 -0
- package/styles/_typography.scss +53 -0
- package/styles/_unstyled.scss +32 -0
- package/styles/global.scss +32 -0
- package/types.d.ts +10 -4
- package/types.d.ts.map +1 -1
- package/utilities/EasyPostLogo.d.ts +3 -0
- package/utilities/EasyPostLogo.d.ts.map +1 -0
- package/utilities/css.d.ts +1 -0
- package/utilities/css.d.ts.map +1 -1
- package/utilities/css.js +20 -1
- package/utilities/css.mjs +20 -1
- package/utilities/react.d.ts +17 -1
- package/utilities/react.d.ts.map +1 -1
- package/utilities/react.js +44 -307
- package/utilities/react.mjs +43 -306
- package/utilities/storybook.d.ts +60 -2
- package/utilities/storybook.d.ts.map +1 -1
- package/utilities/test.d.ts +21 -3
- package/utilities/test.d.ts.map +1 -1
- package/utilities/tokens.d.ts.map +1 -1
- package/{Menu → utilities}/useScrollbar.d.ts +2 -4
- package/utilities/useScrollbar.d.ts.map +1 -0
- package/utilities/useScrollbar.js +22 -0
- package/utilities/useScrollbar.mjs +22 -0
- package/Menu/useScrollbar.d.ts.map +0 -1
- package/__chunks__/InputIcon-1f2ed127.mjs +0 -148
- package/__chunks__/InputIcon-f456e366.js +0 -147
- package/__chunks__/import-0f8555a4.js +0 -1121
- package/__chunks__/import-19bc38ac.mjs +0 -679
- package/__chunks__/import-24a482e1.js +0 -59
- package/__chunks__/import-26676303.js +0 -1436
- package/__chunks__/import-29af6941.mjs +0 -60
- package/__chunks__/import-3faba3a6.mjs +0 -1437
- package/__chunks__/import-890ae60e.js +0 -81
- package/__chunks__/import-a1e0f814.js +0 -678
- package/__chunks__/import-c4caaddf.mjs +0 -1122
- package/__chunks__/index-5f429325.js +0 -132
- package/__chunks__/index-72137376.mjs +0 -5421
- package/__chunks__/index-a7b6b429.js +0 -5420
- package/__chunks__/omit-f17deb8f.mjs +0 -1296
- package/__chunks__/omit-fca26542.js +0 -1295
- package/__chunks__/real-module-515df21d.mjs +0 -216
- package/__chunks__/real-module-e36b1436.js +0 -215
- package/__chunks__/useTriggerWidth-b554acaf.mjs +0 -2031
- package/__chunks__/useTriggerWidth-e11bf6d6.js +0 -2030
|
@@ -0,0 +1,500 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __defProps = Object.defineProperties;
|
|
3
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
7
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
+
var __spreadValues = (a, b) => {
|
|
9
|
+
for (var prop in b || (b = {}))
|
|
10
|
+
if (__hasOwnProp.call(b, prop))
|
|
11
|
+
__defNormalProp(a, prop, b[prop]);
|
|
12
|
+
if (__getOwnPropSymbols)
|
|
13
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
14
|
+
if (__propIsEnum.call(b, prop))
|
|
15
|
+
__defNormalProp(a, prop, b[prop]);
|
|
16
|
+
}
|
|
17
|
+
return a;
|
|
18
|
+
};
|
|
19
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
+
var __objRest = (source, exclude) => {
|
|
21
|
+
var target = {};
|
|
22
|
+
for (var prop in source)
|
|
23
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
24
|
+
target[prop] = source[prop];
|
|
25
|
+
if (source != null && __getOwnPropSymbols)
|
|
26
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
27
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
28
|
+
target[prop] = source[prop];
|
|
29
|
+
}
|
|
30
|
+
return target;
|
|
31
|
+
};
|
|
32
|
+
import React__default, { useState, useCallback, forwardRef, useRef, useMemo, useContext, createContext, Fragment } from "react";
|
|
33
|
+
import { classNames, variationName } from "../utilities/css.mjs";
|
|
34
|
+
import { b as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../__chunks__/Button-DHEZ4A2s.mjs";
|
|
35
|
+
import { H as HorizontalStack } from "../__chunks__/HorizontalStack-ycH41R6u.mjs";
|
|
36
|
+
import { I as Icon } from "../__chunks__/Icon-CQ73-QIg.mjs";
|
|
37
|
+
import { M as Menu } from "../__chunks__/Menu-DZBO3sp5.mjs";
|
|
38
|
+
import { T as Text } from "../__chunks__/Text-BY4p1xZ-.mjs";
|
|
39
|
+
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../__chunks__/useFocusRing-KIEn23AD.mjs";
|
|
40
|
+
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../__chunks__/useHover-BOYR4wqI.mjs";
|
|
41
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "../__chunks__/usePress-CqfuY_T7.mjs";
|
|
42
|
+
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "../__chunks__/mergeProps-DSi85raC.mjs";
|
|
43
|
+
import { $ as $298d61e98472621b$export$dcf14c9974fe2767 } from "../__chunks__/useLink-BGK9UEQW.mjs";
|
|
44
|
+
import { V as VerticalStack } from "../__chunks__/VerticalStack-BIhfodYr.mjs";
|
|
45
|
+
import { $ as $de32f1b87079253c$export$2e1e1122cf0cba88, a as $07b14b47974efb58$export$5b6b19405a83ff9d, b as $de32f1b87079253c$export$3ddf2d174ce01153 } from "../__chunks__/Dialog-D9aIj4DH.mjs";
|
|
46
|
+
import { A as ArrowBack } from "../__chunks__/ArrowBack-BFS-tCpV.mjs";
|
|
47
|
+
import { S as Search } from "../__chunks__/Search-Cyblmqo5.mjs";
|
|
48
|
+
import { E as ExpandMore400 } from "../__chunks__/ExpandMore400-CH7GNxqk.mjs";
|
|
49
|
+
import { U as UnstyledButton } from "../__chunks__/UnstyledButton-D_DzFe67.mjs";
|
|
50
|
+
import { R as RadioGroup, u as useRadioGroupContext } from "../__chunks__/RadioGroup-mbzALykd.mjs";
|
|
51
|
+
import { T as TextField } from "../__chunks__/TextField-BhrZgTyN.mjs";
|
|
52
|
+
import { flattenChildren } from "../utilities/react.mjs";
|
|
53
|
+
const button = "_button_1oj7m_5";
|
|
54
|
+
const focused$1 = "_focused_1oj7m_26";
|
|
55
|
+
const hovered$1 = "_hovered_1oj7m_40";
|
|
56
|
+
const selected$1 = "_selected_1oj7m_45";
|
|
57
|
+
const open = "_open_1oj7m_46";
|
|
58
|
+
const badgeContainer = "_badgeContainer_1oj7m_51";
|
|
59
|
+
const badge = "_badge_1oj7m_51";
|
|
60
|
+
const styles$4 = {
|
|
61
|
+
button,
|
|
62
|
+
focused: focused$1,
|
|
63
|
+
hovered: hovered$1,
|
|
64
|
+
selected: selected$1,
|
|
65
|
+
open,
|
|
66
|
+
badgeContainer,
|
|
67
|
+
badge
|
|
68
|
+
};
|
|
69
|
+
function ForgeLayoutActions(props) {
|
|
70
|
+
const { children } = props;
|
|
71
|
+
return React__default.createElement(HorizontalStack, {
|
|
72
|
+
wrap: false,
|
|
73
|
+
gap: "1",
|
|
74
|
+
align: "end"
|
|
75
|
+
}, children);
|
|
76
|
+
}
|
|
77
|
+
function ForgeLayoutMenuAction(props) {
|
|
78
|
+
const { accessibilityLabel = "Actions", iconSymbol, children, renderBadge } = props;
|
|
79
|
+
const [isOpen, setIsOpen] = useState(false);
|
|
80
|
+
const handleOpenChange = useCallback((isOpen2) => {
|
|
81
|
+
setIsOpen(isOpen2);
|
|
82
|
+
}, []);
|
|
83
|
+
const { focusProps, isFocusVisible } = $f7dceffc5ad7768b$export$4e328f61c538687f({});
|
|
84
|
+
const { hoverProps, isHovered } = $6179b936705e76d3$export$ae780daf29e6d456({});
|
|
85
|
+
const className = classNames(styles$4.button, isFocusVisible && styles$4.focused, isHovered && styles$4.hovered, isOpen && styles$4.open);
|
|
86
|
+
return React__default.createElement(Menu, {
|
|
87
|
+
isOpen,
|
|
88
|
+
onOpenChange: handleOpenChange
|
|
89
|
+
}, React__default.createElement(Menu.Trigger, null, React__default.createElement(PressableButton, __spreadValues({
|
|
90
|
+
className
|
|
91
|
+
}, $3ef42575df84b30b$export$9d1611c77c2fe928(focusProps, hoverProps)), React__default.createElement(Text, {
|
|
92
|
+
visuallyHidden: true
|
|
93
|
+
}, accessibilityLabel), React__default.createElement(Icon, {
|
|
94
|
+
symbol: iconSymbol
|
|
95
|
+
}), renderBadge && React__default.createElement("div", {
|
|
96
|
+
className: styles$4.badgeContainer
|
|
97
|
+
}, renderBadge()))), children);
|
|
98
|
+
}
|
|
99
|
+
function ForgeLayoutLinkAction(props) {
|
|
100
|
+
const { accessibilityLabel = "Actions", iconSymbol, renderBadge, isSelected } = props;
|
|
101
|
+
const ref = useRef(null);
|
|
102
|
+
const { linkProps } = $298d61e98472621b$export$dcf14c9974fe2767(props, ref);
|
|
103
|
+
const { focusProps, isFocusVisible } = $f7dceffc5ad7768b$export$4e328f61c538687f(props);
|
|
104
|
+
const { hoverProps, isHovered } = $6179b936705e76d3$export$ae780daf29e6d456(props);
|
|
105
|
+
const className = classNames(styles$4.button, isFocusVisible && styles$4.focused, isHovered && styles$4.hovered, isSelected && styles$4.selected);
|
|
106
|
+
return React__default.createElement("a", __spreadProps(__spreadValues({
|
|
107
|
+
ref,
|
|
108
|
+
className
|
|
109
|
+
}, $3ef42575df84b30b$export$9d1611c77c2fe928(hoverProps, focusProps, linkProps)), {
|
|
110
|
+
"aria-current": isSelected ? "true" : void 0
|
|
111
|
+
}), React__default.createElement(Text, {
|
|
112
|
+
visuallyHidden: true
|
|
113
|
+
}, accessibilityLabel), React__default.createElement(Icon, {
|
|
114
|
+
symbol: iconSymbol
|
|
115
|
+
}), renderBadge && React__default.createElement("div", {
|
|
116
|
+
className: styles$4.badgeContainer
|
|
117
|
+
}, renderBadge()));
|
|
118
|
+
}
|
|
119
|
+
function ForgeLayoutButtonAction(props) {
|
|
120
|
+
const _a = props, { accessibilityLabel = "Actions", iconSymbol, renderBadge, isSelected } = _a, buttonProps = __objRest(_a, ["accessibilityLabel", "iconSymbol", "renderBadge", "isSelected"]);
|
|
121
|
+
const ref = useRef(null);
|
|
122
|
+
const className = classNames(styles$4.button, isSelected && styles$4.selected);
|
|
123
|
+
return React__default.createElement($d2b4bc8c273e7be6$export$353f5b6fc5456de1, __spreadValues({
|
|
124
|
+
ref,
|
|
125
|
+
className,
|
|
126
|
+
"aria-current": isSelected ? "true" : void 0
|
|
127
|
+
}, buttonProps), React__default.createElement(Text, {
|
|
128
|
+
visuallyHidden: true
|
|
129
|
+
}, accessibilityLabel), React__default.createElement(Icon, {
|
|
130
|
+
symbol: iconSymbol
|
|
131
|
+
}), renderBadge && React__default.createElement("div", {
|
|
132
|
+
className: styles$4.badgeContainer
|
|
133
|
+
}, renderBadge()));
|
|
134
|
+
}
|
|
135
|
+
function ForgeLayoutActionBadge(props) {
|
|
136
|
+
const { children } = props;
|
|
137
|
+
return React__default.createElement("div", {
|
|
138
|
+
className: styles$4.badge
|
|
139
|
+
}, children);
|
|
140
|
+
}
|
|
141
|
+
const PressableButton = forwardRef((props, ref) => {
|
|
142
|
+
const { pressProps } = $f6c31cce2adf654f$export$45712eceda6fad21(props);
|
|
143
|
+
return React__default.createElement("button", __spreadProps(__spreadValues({}, pressProps), {
|
|
144
|
+
ref,
|
|
145
|
+
className: classNames(pressProps.className)
|
|
146
|
+
}));
|
|
147
|
+
});
|
|
148
|
+
PressableButton.displayName = "PressableButton";
|
|
149
|
+
const nav = "_nav_1o8of_5";
|
|
150
|
+
const link = "_link_1o8of_18";
|
|
151
|
+
const focused = "_focused_1o8of_27";
|
|
152
|
+
const hovered = "_hovered_1o8of_39";
|
|
153
|
+
const selected = "_selected_1o8of_43";
|
|
154
|
+
const styles$3 = {
|
|
155
|
+
nav,
|
|
156
|
+
link,
|
|
157
|
+
focused,
|
|
158
|
+
hovered,
|
|
159
|
+
selected
|
|
160
|
+
};
|
|
161
|
+
const ForgeLayoutNavContext = React__default.createContext(null);
|
|
162
|
+
const useForgeLayoutNav = () => {
|
|
163
|
+
const context = useContext(ForgeLayoutNavContext);
|
|
164
|
+
if (!context) {
|
|
165
|
+
throw new Error("useForgeLayoutNav must be used within a ForgeLayoutNav");
|
|
166
|
+
}
|
|
167
|
+
return context;
|
|
168
|
+
};
|
|
169
|
+
function ForgeLayoutNav(props) {
|
|
170
|
+
const { navState = "expanded" } = useForgeLayout();
|
|
171
|
+
const { selectedHref, title = "Main", children } = props;
|
|
172
|
+
const context = useMemo(() => {
|
|
173
|
+
return {
|
|
174
|
+
selectedHref
|
|
175
|
+
};
|
|
176
|
+
}, [selectedHref]);
|
|
177
|
+
if (navState === "collapsed") {
|
|
178
|
+
return null;
|
|
179
|
+
}
|
|
180
|
+
return React__default.createElement(ForgeLayoutNavContext.Provider, {
|
|
181
|
+
value: context
|
|
182
|
+
}, React__default.createElement("div", {
|
|
183
|
+
className: styles$3.nav
|
|
184
|
+
}, React__default.createElement(VerticalStack, {
|
|
185
|
+
as: "nav",
|
|
186
|
+
"aria-label": title,
|
|
187
|
+
gap: "1",
|
|
188
|
+
inlineAlign: "start"
|
|
189
|
+
}, React__default.createElement(Logo, null), children)));
|
|
190
|
+
}
|
|
191
|
+
function ForgeLayoutNavSection(props) {
|
|
192
|
+
const { title, children } = props;
|
|
193
|
+
return React__default.createElement(VerticalStack, {
|
|
194
|
+
gap: "1",
|
|
195
|
+
inlineAlign: "start"
|
|
196
|
+
}, React__default.createElement(Text, {
|
|
197
|
+
variant: "overline",
|
|
198
|
+
color: "primary.600"
|
|
199
|
+
}, title), children);
|
|
200
|
+
}
|
|
201
|
+
function ForgeLayoutNavLink(props) {
|
|
202
|
+
const { href, iconSymbol, children } = props;
|
|
203
|
+
const { selectedHref } = useForgeLayoutNav();
|
|
204
|
+
const ref = useRef(null);
|
|
205
|
+
const { linkProps } = $298d61e98472621b$export$dcf14c9974fe2767(props, ref);
|
|
206
|
+
const { focusProps, isFocusVisible } = $f7dceffc5ad7768b$export$4e328f61c538687f(props);
|
|
207
|
+
const { hoverProps, isHovered } = $6179b936705e76d3$export$ae780daf29e6d456(props);
|
|
208
|
+
const isSelected = href === selectedHref;
|
|
209
|
+
const className = classNames(styles$3.link, isFocusVisible && styles$3.focused, isHovered && styles$3.hovered, isSelected && styles$3.selected);
|
|
210
|
+
return React__default.createElement("a", __spreadProps(__spreadValues({
|
|
211
|
+
ref,
|
|
212
|
+
className
|
|
213
|
+
}, $3ef42575df84b30b$export$9d1611c77c2fe928(hoverProps, focusProps, linkProps)), {
|
|
214
|
+
"aria-current": isSelected ? "page" : void 0
|
|
215
|
+
}), React__default.createElement(Icon, {
|
|
216
|
+
symbol: iconSymbol
|
|
217
|
+
}), React__default.createElement(Text, {
|
|
218
|
+
variant: "subtitle2"
|
|
219
|
+
}, children));
|
|
220
|
+
}
|
|
221
|
+
function Logo() {
|
|
222
|
+
return React__default.createElement("svg", {
|
|
223
|
+
width: "120",
|
|
224
|
+
height: "36",
|
|
225
|
+
viewBox: "0 0 120 36",
|
|
226
|
+
fill: "none",
|
|
227
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
228
|
+
}, React__default.createElement("path", {
|
|
229
|
+
d: "M101.442 9.95833H104.164V7.80189H101.442C101.261 7.80189 101.169 7.70856 101.169 7.54911V5.41406H98.7428V14.592C98.7428 17.0013 99.7867 18.3332 102.509 18.3332H104.164V16.1749H102.871C101.442 16.1749 101.169 15.5332 101.169 14.2479V10.2325C101.171 10.0497 101.261 9.95833 101.442 9.95833ZM95.138 12.1148L94.2305 11.6559C93.2327 11.1503 92.9828 10.9442 92.9828 10.4853C92.9828 9.98166 93.3673 9.65888 94.071 9.65888C94.6843 9.65888 95.4091 9.88833 96.2492 10.3706L97.1797 8.49024C96.0454 7.73189 94.9111 7.52577 93.9575 7.52577C91.8927 7.52577 90.5777 8.83442 90.5777 10.5553C90.5777 12.0234 91.3044 12.9412 93.1866 13.8356L94.0479 14.2479C94.9554 14.6834 95.2283 15.0062 95.2283 15.4185C95.2283 16.0387 94.6381 16.3363 93.7076 16.3363C92.8694 16.3363 92.0523 16.0835 91.191 15.5565L90.2374 17.5302C91.4178 18.2866 92.7329 18.5394 93.821 18.5394C96.0896 18.5394 97.6777 17.4154 97.6777 15.3037C97.6777 13.9037 96.9529 13.0326 95.138 12.1148ZM84.339 7.52577C81.1187 7.52577 78.8943 9.7736 78.8943 13.0326C78.8943 16.2896 81.1187 18.5394 84.339 18.5394C87.5612 18.5394 89.7837 16.2896 89.7837 13.0326C89.7817 9.7736 87.5593 7.52577 84.339 7.52577ZM84.339 16.3363C82.5472 16.3363 81.3667 15.0276 81.3667 13.0326C81.3667 11.0356 82.5472 9.72888 84.339 9.72888C86.1308 9.72888 87.3112 11.0356 87.3112 13.0326C87.3093 15.0276 86.1289 16.3363 84.339 16.3363ZM72.4518 7.52577C69.2757 7.52577 67.1898 9.59082 67.1898 13.1473V23.1283H69.616V17.5982C69.616 17.4602 69.6853 17.3921 69.7756 17.3921C69.8429 17.3921 69.889 17.4154 69.9794 17.5068C70.5696 18.0805 71.6117 18.5394 72.7017 18.5394C75.7644 18.5394 77.9869 16.2896 77.9869 13.0326C77.9849 9.7736 75.7625 7.52577 72.4518 7.52577ZM72.5402 16.3363C70.7484 16.3363 69.568 15.0276 69.568 13.0326C69.568 11.0356 70.7484 9.72888 72.5402 9.72888C74.3321 9.72888 75.5125 11.0356 75.5125 13.0326C75.5125 15.0276 74.3321 16.3363 72.5402 16.3363ZM54.0549 12.1148L53.1474 11.6559C52.1477 11.1503 51.8997 10.9442 51.8997 10.4853C51.8997 9.98166 52.2842 9.65888 52.9878 9.65888C53.6011 9.65888 54.3259 9.88833 55.1661 10.3706L56.0966 8.49024C54.9623 7.73189 53.828 7.52577 52.8744 7.52577C50.8096 7.52577 49.4946 8.83442 49.4946 10.5553C49.4946 12.0234 50.2194 12.9412 52.1035 13.8356L52.9648 14.2479C53.8722 14.6834 54.1452 15.0062 54.1452 15.4185C54.1452 16.0387 53.555 16.3363 52.6245 16.3363C51.7862 16.3363 50.9692 16.0835 50.1059 15.5565L49.1543 17.5302C50.3328 18.2866 51.6497 18.5394 52.7379 18.5394C55.0065 18.5394 56.5946 17.4154 56.5946 15.3037C56.5926 13.9037 55.8698 13.0326 54.0549 12.1148ZM45.7052 7.80189V8.46691C45.7052 8.60497 45.6379 8.67303 45.5475 8.67303C45.4783 8.67303 45.4341 8.64969 45.3438 8.5583C44.7535 7.98468 43.7096 7.52577 42.6214 7.52577C39.5588 7.52577 37.3344 9.7736 37.3344 13.0326C37.3344 16.2896 39.5588 18.5394 42.6214 18.5394C43.7096 18.5394 44.7535 18.0805 45.3438 17.5068C45.4341 17.4154 45.4783 17.3921 45.5475 17.3921C45.6379 17.3921 45.7052 17.4602 45.7052 17.5982V18.2632H48.1334V7.80189H45.7052ZM42.7791 16.3363C40.9872 16.3363 39.8068 15.0276 39.8068 13.0326C39.8068 11.0356 40.9872 9.72888 42.7791 9.72888C44.5709 9.72888 45.7513 11.0356 45.7513 13.0326C45.7513 15.0276 44.569 16.3363 42.7791 16.3363ZM28.4426 13.9037H36.3366C36.3827 13.6509 36.4269 13.4001 36.4269 12.9645C36.4269 9.8436 34.3852 7.52577 31.2091 7.52577C28.1465 7.52577 25.7202 9.7736 25.7202 13.0559C25.7202 16.2896 27.9196 18.5394 31.1649 18.5394C33.1163 18.5394 34.7485 17.7363 35.9501 16.0154L34.2275 14.6154C33.2509 15.924 32.2761 16.3363 31.2322 16.3363C29.2366 16.3363 28.3291 14.9148 28.2157 14.2032C28.1676 13.9737 28.2388 13.9037 28.4426 13.9037ZM28.3291 11.6092C28.6694 10.462 29.8268 9.65888 31.1188 9.65888C32.3896 9.65888 33.5239 10.462 33.8642 11.6092C33.9315 11.8386 33.9084 12 33.7046 12H28.4868C28.2811 12 28.258 11.8386 28.3291 11.6092Z",
|
|
230
|
+
fill: "#0B2780"
|
|
231
|
+
}), React__default.createElement("path", {
|
|
232
|
+
d: "M67.2155 7.78125L63.5979 17.357C62.5509 20.1562 61.5713 21.4074 58.1581 23.021L57.1361 20.9736C59.0645 19.9711 60.0402 19.2559 60.6206 18.2264L56.521 7.78125H59.1377L61.7313 14.8102C61.7988 14.9683 61.8682 15.0146 61.9589 15.0146C62.0495 15.0146 62.1401 14.9683 62.1864 14.8102L64.6431 7.78125H67.2155Z",
|
|
233
|
+
fill: "#0B2780"
|
|
234
|
+
}), React__default.createElement("path", {
|
|
235
|
+
d: "M10.8781 14.2855C10.6921 14.2855 10.5517 14.2624 10.3894 14.1717L5.43906 11.3744V13.8305L10.3894 16.6298C10.5517 16.7204 10.6921 16.7435 10.8781 16.7435C11.0424 16.7435 11.2283 16.6972 11.3688 16.6298L21.7582 10.7594V13.2175L11.3688 19.0627C11.2283 19.1533 11.0661 19.1996 10.8781 19.1996C10.7159 19.1996 10.5517 19.1533 10.3894 19.0627L5.43906 16.2885V18.7215L10.3894 21.5208C10.5517 21.6114 10.7159 21.6345 10.8781 21.6345C11.0661 21.6345 11.2521 21.5882 11.3688 21.5208L21.7582 15.6735V17.2197C21.7582 17.7672 21.4555 18.2897 20.9648 18.5634L11.6715 23.7956C11.44 23.9306 11.1591 24 10.8781 24C10.5992 24 10.3419 23.9306 10.0847 23.7956L0.793405 18.5634C0.302722 18.2897 0 17.7672 0 17.2197V6.77837C0 6.20965 0.302722 5.6872 0.793405 5.41345L10.0847 0.204353C10.3419 0.0694027 10.5992 0 10.8781 0C11.1591 0 11.44 0.0694027 11.6715 0.204353L20.9648 5.41345C21.4555 5.6872 21.7582 6.20965 21.7582 6.77837V8.32645L11.3688 14.1717C11.2283 14.2411 11.0424 14.2855 10.8781 14.2855Z",
|
|
236
|
+
fill: "#0B2780"
|
|
237
|
+
}), React__default.createElement("path", {
|
|
238
|
+
d: "M47.6641 25.02V26.15H44.7541V27.94H46.9841V29.05H44.7541V32H43.3541V25.02H47.6641ZM52.6168 32.09C52.0835 32.09 51.6035 31.9733 51.1768 31.74C50.7501 31.5 50.4135 31.1633 50.1668 30.73C49.9268 30.2967 49.8068 29.7967 49.8068 29.23C49.8068 28.6633 49.9301 28.1633 50.1768 27.73C50.4301 27.2967 50.7735 26.9633 51.2068 26.73C51.6401 26.49 52.1235 26.37 52.6568 26.37C53.1901 26.37 53.6735 26.49 54.1068 26.73C54.5401 26.9633 54.8801 27.2967 55.1268 27.73C55.3801 28.1633 55.5068 28.6633 55.5068 29.23C55.5068 29.7967 55.3768 30.2967 55.1168 30.73C54.8635 31.1633 54.5168 31.5 54.0768 31.74C53.6435 31.9733 53.1568 32.09 52.6168 32.09ZM52.6168 30.87C52.8701 30.87 53.1068 30.81 53.3268 30.69C53.5535 30.5633 53.7335 30.3767 53.8668 30.13C54.0001 29.8833 54.0668 29.5833 54.0668 29.23C54.0668 28.7033 53.9268 28.3 53.6468 28.02C53.3735 27.7333 53.0368 27.59 52.6368 27.59C52.2368 27.59 51.9001 27.7333 51.6268 28.02C51.3601 28.3 51.2268 28.7033 51.2268 29.23C51.2268 29.7567 51.3568 30.1633 51.6168 30.45C51.8835 30.73 52.2168 30.87 52.6168 30.87ZM59.4338 27.32C59.6138 27.0267 59.8471 26.7967 60.1338 26.63C60.4271 26.4633 60.7604 26.38 61.1338 26.38V27.85H60.7638C60.3238 27.85 59.9904 27.9533 59.7638 28.16C59.5438 28.3667 59.4338 28.7267 59.4338 29.24V32H58.0338V26.46H59.4338V27.32ZM65.7467 26.37C66.1601 26.37 66.5234 26.4533 66.8367 26.62C67.1501 26.78 67.3967 26.99 67.5767 27.25V26.46H68.9867V32.04C68.9867 32.5533 68.8834 33.01 68.6767 33.41C68.4701 33.8167 68.1601 34.1367 67.7467 34.37C67.3334 34.61 66.8334 34.73 66.2467 34.73C65.4601 34.73 64.8134 34.5467 64.3067 34.18C63.8067 33.8133 63.5234 33.3133 63.4567 32.68H64.8467C64.9201 32.9333 65.0767 33.1333 65.3167 33.28C65.5634 33.4333 65.8601 33.51 66.2067 33.51C66.6134 33.51 66.9434 33.3867 67.1967 33.14C67.4501 32.9 67.5767 32.5333 67.5767 32.04V31.18C67.3967 31.44 67.1467 31.6567 66.8267 31.83C66.5134 32.0033 66.1534 32.09 65.7467 32.09C65.2801 32.09 64.8534 31.97 64.4667 31.73C64.0801 31.49 63.7734 31.1533 63.5467 30.72C63.3267 30.28 63.2167 29.7767 63.2167 29.21C63.2167 28.65 63.3267 28.1533 63.5467 27.72C63.7734 27.2867 64.0767 26.9533 64.4567 26.72C64.8434 26.4867 65.2734 26.37 65.7467 26.37ZM67.5767 29.23C67.5767 28.89 67.5101 28.6 67.3767 28.36C67.2434 28.1133 67.0634 27.9267 66.8367 27.8C66.6101 27.6667 66.3667 27.6 66.1067 27.6C65.8467 27.6 65.6067 27.6633 65.3867 27.79C65.1667 27.9167 64.9867 28.1033 64.8467 28.35C64.7134 28.59 64.6467 28.8767 64.6467 29.21C64.6467 29.5433 64.7134 29.8367 64.8467 30.09C64.9867 30.3367 65.1667 30.5267 65.3867 30.66C65.6134 30.7933 65.8534 30.86 66.1067 30.86C66.3667 30.86 66.6101 30.7967 66.8367 30.67C67.0634 30.5367 67.2434 30.35 67.3767 30.11C67.5101 29.8633 67.5767 29.57 67.5767 29.23ZM77.0041 29.11C77.0041 29.31 76.9907 29.49 76.9641 29.65H72.9141C72.9474 30.05 73.0874 30.3633 73.3341 30.59C73.5807 30.8167 73.8841 30.93 74.2441 30.93C74.7641 30.93 75.1341 30.7067 75.3541 30.26H76.8641C76.7041 30.7933 76.3974 31.2333 75.9441 31.58C75.4907 31.92 74.9341 32.09 74.2741 32.09C73.7407 32.09 73.2607 31.9733 72.8341 31.74C72.4141 31.5 72.0841 31.1633 71.8441 30.73C71.6107 30.2967 71.4941 29.7967 71.4941 29.23C71.4941 28.6567 71.6107 28.1533 71.8441 27.72C72.0774 27.2867 72.4041 26.9533 72.8241 26.72C73.2441 26.4867 73.7274 26.37 74.2741 26.37C74.8007 26.37 75.2707 26.4833 75.6841 26.71C76.1041 26.9367 76.4274 27.26 76.6541 27.68C76.8874 28.0933 77.0041 28.57 77.0041 29.11ZM75.5541 28.71C75.5474 28.35 75.4174 28.0633 75.1641 27.85C74.9107 27.63 74.6007 27.52 74.2341 27.52C73.8874 27.52 73.5941 27.6267 73.3541 27.84C73.1207 28.0467 72.9774 28.3367 72.9241 28.71H75.5541Z",
|
|
239
|
+
fill: "#0B2780"
|
|
240
|
+
}));
|
|
241
|
+
}
|
|
242
|
+
const header = "_header_1qwm3_5";
|
|
243
|
+
const headerBg = "_headerBg_1qwm3_19";
|
|
244
|
+
const styles$2 = {
|
|
245
|
+
header,
|
|
246
|
+
headerBg
|
|
247
|
+
};
|
|
248
|
+
const ForgeLayoutHeaderContext = createContext(null);
|
|
249
|
+
const useForgeLayoutHeader = () => {
|
|
250
|
+
const context = useContext(ForgeLayoutHeaderContext);
|
|
251
|
+
if (!context) {
|
|
252
|
+
throw new Error("useForgeLayoutHeader must be used within a ForgeLayoutHeader");
|
|
253
|
+
}
|
|
254
|
+
return context;
|
|
255
|
+
};
|
|
256
|
+
function ForgeLayoutHeader(props) {
|
|
257
|
+
const { areControlsGrouped = true, children } = props;
|
|
258
|
+
return React__default.createElement(ForgeLayoutHeaderContext.Provider, {
|
|
259
|
+
value: {
|
|
260
|
+
areControlsGrouped
|
|
261
|
+
}
|
|
262
|
+
}, React__default.createElement("header", {
|
|
263
|
+
className: styles$2.header
|
|
264
|
+
}, React__default.createElement("div", {
|
|
265
|
+
className: styles$2.headerBg
|
|
266
|
+
}), children));
|
|
267
|
+
}
|
|
268
|
+
const controls = "_controls_1ltbe_5";
|
|
269
|
+
const breadcrumbNavigationContainer = "_breadcrumbNavigationContainer_1ltbe_12";
|
|
270
|
+
const backButtonContainer = "_backButtonContainer_1ltbe_19";
|
|
271
|
+
const backButton = "_backButton_1ltbe_19";
|
|
272
|
+
const breadcrumbsContainer = "_breadcrumbsContainer_1ltbe_34";
|
|
273
|
+
const trigger = "_trigger_1ltbe_38";
|
|
274
|
+
const triggerPopoverOpen = "_triggerPopoverOpen_1ltbe_60";
|
|
275
|
+
const popover = "_popover_1ltbe_64";
|
|
276
|
+
const searchContainer = "_searchContainer_1ltbe_72";
|
|
277
|
+
const styles$1 = {
|
|
278
|
+
controls,
|
|
279
|
+
breadcrumbNavigationContainer,
|
|
280
|
+
backButtonContainer,
|
|
281
|
+
backButton,
|
|
282
|
+
breadcrumbsContainer,
|
|
283
|
+
trigger,
|
|
284
|
+
triggerPopoverOpen,
|
|
285
|
+
popover,
|
|
286
|
+
searchContainer
|
|
287
|
+
};
|
|
288
|
+
const TEST_MODE = "Test";
|
|
289
|
+
const PRODUCTION_MODE = "Production";
|
|
290
|
+
const POPOVER_CROSS_OFFSET = 116;
|
|
291
|
+
const POPOVER_OFFSET = 2;
|
|
292
|
+
function ForgeLayoutControls(props) {
|
|
293
|
+
const { navState } = useForgeLayout();
|
|
294
|
+
const { areControlsGrouped } = useForgeLayoutHeader();
|
|
295
|
+
const { children, visibleWhenNavStateIs = "expanded" } = props;
|
|
296
|
+
if (navState !== visibleWhenNavStateIs) {
|
|
297
|
+
return null;
|
|
298
|
+
}
|
|
299
|
+
return React__default.createElement(React__default.Fragment, null, areControlsGrouped ? React__default.createElement("div", {
|
|
300
|
+
className: styles$1.controls
|
|
301
|
+
}, children) : React__default.createElement(React__default.Fragment, null, children));
|
|
302
|
+
}
|
|
303
|
+
function ForgeLayoutBreadcrumbsNavigation(props) {
|
|
304
|
+
const { children } = props;
|
|
305
|
+
const { backButton: backButton2, breadcrumbs } = useMemo(() => {
|
|
306
|
+
const breadcrumbNavigationChildren = flattenChildren(children);
|
|
307
|
+
const backButton22 = breadcrumbNavigationChildren.length > 0 ? breadcrumbNavigationChildren[0] : null;
|
|
308
|
+
const breadcrumbs2 = breadcrumbNavigationChildren.length > 1 ? breadcrumbNavigationChildren[1] : null;
|
|
309
|
+
if (!backButton22 || !breadcrumbs2) {
|
|
310
|
+
throw new Error("ForgeLayout.BreadcrumbNavigation must contain ForgeLayout.BackButton and ForgeLayout.Breadcrumbs");
|
|
311
|
+
}
|
|
312
|
+
return {
|
|
313
|
+
backButton: backButton22,
|
|
314
|
+
breadcrumbs: breadcrumbs2
|
|
315
|
+
};
|
|
316
|
+
}, [children]);
|
|
317
|
+
return React__default.createElement("div", {
|
|
318
|
+
className: styles$1.breadcrumbNavigationContainer
|
|
319
|
+
}, React__default.createElement("div", {
|
|
320
|
+
className: styles$1.backButtonContainer
|
|
321
|
+
}, backButton2), React__default.createElement("div", {
|
|
322
|
+
className: styles$1.breadcrumbsContainer
|
|
323
|
+
}, breadcrumbs));
|
|
324
|
+
}
|
|
325
|
+
function ForgeLayoutBackButton(props) {
|
|
326
|
+
const _a = props, { children } = _a, restButtonProps = __objRest(_a, ["children"]);
|
|
327
|
+
return React__default.createElement(UnstyledButton, __spreadProps(__spreadValues({}, restButtonProps), {
|
|
328
|
+
className: styles$1.backButton
|
|
329
|
+
}), React__default.createElement(Icon, {
|
|
330
|
+
symbol: ArrowBack,
|
|
331
|
+
size: "sm"
|
|
332
|
+
}), React__default.createElement(Text, {
|
|
333
|
+
variant: "subtitle1"
|
|
334
|
+
}, children));
|
|
335
|
+
}
|
|
336
|
+
function ForgeLayoutBreadcrumbs(props) {
|
|
337
|
+
const { children } = props;
|
|
338
|
+
const breadcrumbs = useMemo(() => flattenChildren(children), [children]);
|
|
339
|
+
return React__default.createElement(HorizontalStack, {
|
|
340
|
+
blockAlign: "center",
|
|
341
|
+
gap: "0.5"
|
|
342
|
+
}, breadcrumbs.map((breadcrumb, idx) => {
|
|
343
|
+
if (idx === 0) {
|
|
344
|
+
return React__default.createElement(Fragment, {
|
|
345
|
+
key: idx
|
|
346
|
+
}, breadcrumb);
|
|
347
|
+
} else {
|
|
348
|
+
return React__default.createElement(Fragment, {
|
|
349
|
+
key: idx
|
|
350
|
+
}, React__default.createElement(ForgeLayoutBreadcrumb, {
|
|
351
|
+
key: idx
|
|
352
|
+
}, ">"), breadcrumb);
|
|
353
|
+
}
|
|
354
|
+
}));
|
|
355
|
+
}
|
|
356
|
+
function ForgeLayoutBreadcrumb(props) {
|
|
357
|
+
const { children } = props;
|
|
358
|
+
return React__default.createElement(Text, {
|
|
359
|
+
variant: "body1",
|
|
360
|
+
color: "neutral.700"
|
|
361
|
+
}, children);
|
|
362
|
+
}
|
|
363
|
+
function ForgeLayoutModeSwitcher(props) {
|
|
364
|
+
const { onModeChange } = props;
|
|
365
|
+
const { mode } = useForgeLayout();
|
|
366
|
+
const [isOpen, setIsOpen] = useState(false);
|
|
367
|
+
return React__default.createElement($de32f1b87079253c$export$2e1e1122cf0cba88, null, React__default.createElement($d2b4bc8c273e7be6$export$353f5b6fc5456de1, {
|
|
368
|
+
className: classNames(styles$1.trigger, isOpen && styles$1.triggerPopoverOpen),
|
|
369
|
+
onPress: () => setIsOpen(true)
|
|
370
|
+
}, React__default.createElement(Text, {
|
|
371
|
+
variant: "subtitle1",
|
|
372
|
+
color: mode === "test" ? "warning.600" : "positive.600",
|
|
373
|
+
truncate: true
|
|
374
|
+
}, mode === "test" ? TEST_MODE : PRODUCTION_MODE), React__default.createElement(Icon, {
|
|
375
|
+
symbol: ExpandMore400,
|
|
376
|
+
size: "md",
|
|
377
|
+
color: "neutral.500"
|
|
378
|
+
})), React__default.createElement($07b14b47974efb58$export$5b6b19405a83ff9d, {
|
|
379
|
+
className: styles$1.popover,
|
|
380
|
+
offset: POPOVER_OFFSET,
|
|
381
|
+
crossOffset: POPOVER_CROSS_OFFSET,
|
|
382
|
+
isOpen,
|
|
383
|
+
onOpenChange: setIsOpen
|
|
384
|
+
}, React__default.createElement($de32f1b87079253c$export$3ddf2d174ce01153, null, React__default.createElement(VerticalStack, {
|
|
385
|
+
gap: "1"
|
|
386
|
+
}, React__default.createElement(Text, {
|
|
387
|
+
variant: "subtitle1",
|
|
388
|
+
color: "neutral.800"
|
|
389
|
+
}, "Instance Switcher"), React__default.createElement(RadioGroup, {
|
|
390
|
+
"aria-label": "Select a mode",
|
|
391
|
+
onChange: onModeChange,
|
|
392
|
+
value: mode
|
|
393
|
+
}, React__default.createElement(ForgeLayoutModeSwitcherRadioGroupItem, {
|
|
394
|
+
value: "test"
|
|
395
|
+
}), React__default.createElement(ForgeLayoutModeSwitcherRadioGroupItem, {
|
|
396
|
+
value: "production"
|
|
397
|
+
}))))));
|
|
398
|
+
}
|
|
399
|
+
function ForgeLayoutModeSwitcherRadioGroupItem(props) {
|
|
400
|
+
const _a = props, { value } = _a, restProps = __objRest(_a, ["value"]);
|
|
401
|
+
const state = useRadioGroupContext();
|
|
402
|
+
const isSelected = value === state.selectedValue;
|
|
403
|
+
return React__default.createElement(RadioGroup.Item, __spreadValues({
|
|
404
|
+
value
|
|
405
|
+
}, restProps), React__default.createElement(VerticalStack, null, React__default.createElement(Text, {
|
|
406
|
+
variant: "subtitle2",
|
|
407
|
+
color: isSelected ? "primary.800" : "primary.700"
|
|
408
|
+
}, value === "test" ? TEST_MODE : PRODUCTION_MODE), React__default.createElement(Text, {
|
|
409
|
+
variant: "overline"
|
|
410
|
+
}, "View data using the", " ", React__default.createElement(Text, {
|
|
411
|
+
color: value === "test" ? "warning.600" : "positive.600"
|
|
412
|
+
}, value === "test" ? TEST_MODE.toUpperCase() : PRODUCTION_MODE.toUpperCase(), " ", "API", " "), "keys")));
|
|
413
|
+
}
|
|
414
|
+
function ForgeLayoutSearch(props) {
|
|
415
|
+
const _a = props, { "aria-label": ariaLabel = "Search for content" } = _a, textFieldProps = __objRest(_a, ["aria-label"]);
|
|
416
|
+
return React__default.createElement("div", {
|
|
417
|
+
className: styles$1.searchContainer
|
|
418
|
+
}, React__default.createElement(TextField, __spreadValues({
|
|
419
|
+
size: "sm",
|
|
420
|
+
type: "search",
|
|
421
|
+
"aria-label": ariaLabel,
|
|
422
|
+
placeholder: "/ search",
|
|
423
|
+
iconAtStart: Search
|
|
424
|
+
}, textFieldProps)));
|
|
425
|
+
}
|
|
426
|
+
const ForgeLayout$1 = "_ForgeLayout_1o1ox_5";
|
|
427
|
+
const modeTest = "_modeTest_1o1ox_22";
|
|
428
|
+
const bg = "_bg_1o1ox_28";
|
|
429
|
+
const backgroundDecoration01 = "_backgroundDecoration01_1o1ox_37";
|
|
430
|
+
const body = "_body_1o1ox_43";
|
|
431
|
+
const content = "_content_1o1ox_49";
|
|
432
|
+
const styles = {
|
|
433
|
+
ForgeLayout: ForgeLayout$1,
|
|
434
|
+
modeTest,
|
|
435
|
+
bg,
|
|
436
|
+
backgroundDecoration01,
|
|
437
|
+
body,
|
|
438
|
+
content
|
|
439
|
+
};
|
|
440
|
+
const ForgeLayoutContext = React__default.createContext(null);
|
|
441
|
+
const useForgeLayout = () => {
|
|
442
|
+
const context = useContext(ForgeLayoutContext);
|
|
443
|
+
if (!context) {
|
|
444
|
+
throw new Error("useForgeLayout must be used within a ForgeLayout");
|
|
445
|
+
}
|
|
446
|
+
return context;
|
|
447
|
+
};
|
|
448
|
+
function ForgeLayout(props) {
|
|
449
|
+
const { backgroundDecoration = "01", mode = "production", navState = "expanded", children } = props;
|
|
450
|
+
const className = classNames(styles.ForgeLayout, styles[variationName("mode", mode)], styles[variationName("navState", navState)]);
|
|
451
|
+
const bgClassName = classNames(styles.bg, styles[variationName("backgroundDecoration", backgroundDecoration)]);
|
|
452
|
+
const context = useMemo(() => {
|
|
453
|
+
return {
|
|
454
|
+
mode,
|
|
455
|
+
navState
|
|
456
|
+
};
|
|
457
|
+
}, [mode, navState]);
|
|
458
|
+
return React__default.createElement(ForgeLayoutContext.Provider, {
|
|
459
|
+
value: context
|
|
460
|
+
}, React__default.createElement("div", {
|
|
461
|
+
className: bgClassName
|
|
462
|
+
}), React__default.createElement("div", {
|
|
463
|
+
className
|
|
464
|
+
}, children));
|
|
465
|
+
}
|
|
466
|
+
function ForgeLayoutBody(props) {
|
|
467
|
+
const { children } = props;
|
|
468
|
+
return React__default.createElement("div", {
|
|
469
|
+
className: styles.body
|
|
470
|
+
}, children);
|
|
471
|
+
}
|
|
472
|
+
function ForgeLayoutContent(props) {
|
|
473
|
+
const { children } = props;
|
|
474
|
+
return React__default.createElement("main", {
|
|
475
|
+
className: styles.content
|
|
476
|
+
}, children);
|
|
477
|
+
}
|
|
478
|
+
ForgeLayout.Nav = ForgeLayoutNav;
|
|
479
|
+
ForgeLayout.NavSection = ForgeLayoutNavSection;
|
|
480
|
+
ForgeLayout.NavLink = ForgeLayoutNavLink;
|
|
481
|
+
ForgeLayout.Body = ForgeLayoutBody;
|
|
482
|
+
ForgeLayout.Header = ForgeLayoutHeader;
|
|
483
|
+
ForgeLayout.Controls = ForgeLayoutControls;
|
|
484
|
+
ForgeLayout.BreadcrumbsNavigation = ForgeLayoutBreadcrumbsNavigation;
|
|
485
|
+
ForgeLayout.BackButton = ForgeLayoutBackButton;
|
|
486
|
+
ForgeLayout.Breadcrumbs = ForgeLayoutBreadcrumbs;
|
|
487
|
+
ForgeLayout.Breadcrumb = ForgeLayoutBreadcrumb;
|
|
488
|
+
ForgeLayout.ModeSwitcher = ForgeLayoutModeSwitcher;
|
|
489
|
+
ForgeLayout.Search = ForgeLayoutSearch;
|
|
490
|
+
ForgeLayout.Actions = ForgeLayoutActions;
|
|
491
|
+
ForgeLayout.ActionBadge = ForgeLayoutActionBadge;
|
|
492
|
+
ForgeLayout.MenuAction = ForgeLayoutMenuAction;
|
|
493
|
+
ForgeLayout.LinkAction = ForgeLayoutLinkAction;
|
|
494
|
+
ForgeLayout.ButtonAction = ForgeLayoutButtonAction;
|
|
495
|
+
ForgeLayout.Content = ForgeLayoutContent;
|
|
496
|
+
ForgeLayout.useForgeLayoutNav = useForgeLayoutNav;
|
|
497
|
+
export {
|
|
498
|
+
ForgeLayout,
|
|
499
|
+
useForgeLayout
|
|
500
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import React, { ComponentProps, ElementType, ReactNode } from "react";
|
|
2
|
+
export type FormLayoutProps<T extends ElementType> = ComponentProps<T> & {
|
|
3
|
+
/**
|
|
4
|
+
* Override the default element with a custom one.
|
|
5
|
+
*
|
|
6
|
+
* @default div
|
|
7
|
+
*/
|
|
8
|
+
as?: T;
|
|
9
|
+
/**
|
|
10
|
+
* Content of the form layout.
|
|
11
|
+
*/
|
|
12
|
+
children: ReactNode;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Arranges a layout of form elements with preset spacing.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```tsx
|
|
19
|
+
* <FormLayout>
|
|
20
|
+
* <FormLayout.Header>
|
|
21
|
+
* <FormLayout.Title>Form Title</FormLayout.Title>
|
|
22
|
+
* <FormLayout.HelperText>Form info text</FormLayout.HelperText>
|
|
23
|
+
* </FormLayout.Header>
|
|
24
|
+
* <TextField
|
|
25
|
+
* label="Input 1"
|
|
26
|
+
* placeholder="Placeholder text"
|
|
27
|
+
* helperText="Helper text"
|
|
28
|
+
* />
|
|
29
|
+
* <TextField
|
|
30
|
+
* label="Input 2"
|
|
31
|
+
* placeholder="Placeholder text"
|
|
32
|
+
* helperText="Helper text"
|
|
33
|
+
* />
|
|
34
|
+
* <TextField
|
|
35
|
+
* label="Input 3"
|
|
36
|
+
* placeholder="Placeholder text"
|
|
37
|
+
* helperText="Helper text"
|
|
38
|
+
* />
|
|
39
|
+
* <TextField
|
|
40
|
+
* label="Input 4"
|
|
41
|
+
* placeholder="Placeholder text"
|
|
42
|
+
* helperText="Helper text"
|
|
43
|
+
* />
|
|
44
|
+
* </FormLayout>
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
export declare function FormLayout<T extends ElementType = "div">(props: FormLayoutProps<T>): React.JSX.Element;
|
|
48
|
+
export declare namespace FormLayout {
|
|
49
|
+
var Header: typeof import("./Header").Header;
|
|
50
|
+
var Section: typeof import("./Section").Section;
|
|
51
|
+
var Grid: typeof import("./Grid").Grid;
|
|
52
|
+
var Title: typeof import("./Title").Title;
|
|
53
|
+
var HelperText: typeof import("./HelperText").HelperText;
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=FormLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormLayout.d.ts","sourceRoot":"","sources":["../../src/FormLayout/FormLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAUtE,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,WAAW,IAAI,cAAc,CAAC,CAAC,CAAC,GAAG;IACvE;;;;OAIG;IACH,EAAE,CAAC,EAAE,CAAC,CAAC;IAEP;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,wBAAgB,UAAU,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,EACtD,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC,qBAS1B;yBAVe,UAAU"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { FormLayout } from "./FormLayout";
|
|
3
|
+
type Story = StoryObj<typeof FormLayout>;
|
|
4
|
+
declare const meta: Meta<typeof FormLayout>;
|
|
5
|
+
export default meta;
|
|
6
|
+
export declare const Basic: Story;
|
|
7
|
+
export declare const Sections: Story;
|
|
8
|
+
export declare const Columns: Story;
|
|
9
|
+
export declare const Nesting: Story;
|
|
10
|
+
export declare const AsAForm: Story;
|
|
11
|
+
export declare const SectionAction: Story;
|
|
12
|
+
export declare const WithTabs: Story;
|
|
13
|
+
//# sourceMappingURL=FormLayout.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormLayout.stories.d.ts","sourceRoot":"","sources":["../../src/FormLayout/FormLayout.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAMlD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAI1C,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAKzC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAiBjC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,KAAK,EAAE,KA6BnB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAyCtB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KA+BrB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAoErB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAuCrB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KA6C3B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAmDtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormLayout.test.d.ts","sourceRoot":"","sources":["../../src/FormLayout/FormLayout.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
import { HorizontalGridProps } from "../HorizontalGrid";
|
|
3
|
+
export type GridProps = {
|
|
4
|
+
/**
|
|
5
|
+
* Content of the grid.
|
|
6
|
+
*/
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* The number of columns to display. Accepts either a single value, an
|
|
10
|
+
* array of column values, or an object of values for different screen sizes.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* columns={6}
|
|
14
|
+
* columns={{xs: 1, sm: 1, md: 3, lg: 6, xl: 6}}
|
|
15
|
+
*/
|
|
16
|
+
columns: HorizontalGridProps["columns"];
|
|
17
|
+
};
|
|
18
|
+
export declare function Grid(props: GridProps): React.JSX.Element;
|
|
19
|
+
//# sourceMappingURL=Grid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../src/FormLayout/Grid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAkB,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExE,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IAEpB;;;;;;;OAOG;IACH,OAAO,EAAE,mBAAmB,CAAC,SAAS,CAAC,CAAC;CACzC,CAAC;AAEF,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,qBAOpC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
export type HeaderProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Content of the form or section header.
|
|
5
|
+
*/
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
};
|
|
8
|
+
export declare function Header(props: HeaderProps): React.JSX.Element;
|
|
9
|
+
//# sourceMappingURL=Header.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../src/FormLayout/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIzC,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,wBAAgB,MAAM,CAAC,KAAK,EAAE,WAAW,qBAGxC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
export type HelperTextProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Id to assign to the HTML element.
|
|
5
|
+
*/
|
|
6
|
+
id?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Content of the helper text.
|
|
9
|
+
*/
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
};
|
|
12
|
+
export declare function HelperText(props: HelperTextProps): React.JSX.Element;
|
|
13
|
+
//# sourceMappingURL=HelperText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HelperText.d.ts","sourceRoot":"","sources":["../../src/FormLayout/HelperText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGzC,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,qBAOhD"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
export type SectionProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Content of the form section.
|
|
5
|
+
*/
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
};
|
|
8
|
+
export declare function Section(props: SectionProps): React.JSX.Element;
|
|
9
|
+
export declare namespace Section {
|
|
10
|
+
var displayName: string;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=Section.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../src/FormLayout/Section.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAEZ,SAAS,EAGV,MAAM,OAAO,CAAC;AAQf,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,wBAAgB,OAAO,CAAC,KAAK,EAAE,YAAY,qBAuB1C;yBAvBe,OAAO"}
|