@alma-oss/spirit-web-react 4.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 +240 -0
- package/bundles/web-react.umd.js +35315 -0
- package/bundles/web-react.umd.js.map +1 -0
- package/bundles/web-react.umd.min.js +16 -0
- package/bundles/web-react.umd.min.js.map +1 -0
- package/common/common.cjs +47 -0
- package/common/common.cjs.map +1 -0
- package/common/constants/constants.cjs +16 -0
- package/common/constants/constants.cjs.map +1 -0
- package/common/constants/environments.d.ts +8 -0
- package/common/constants/environments.js +9 -0
- package/common/constants/environments.js.map +1 -0
- package/common/constants/index.d.ts +1 -0
- package/common/constants/index.js +2 -0
- package/common/constants/index.js.map +1 -0
- package/common/constants/package.json +8 -0
- package/common/index.d.ts +2 -0
- package/common/index.js +3 -0
- package/common/index.js.map +1 -0
- package/common/package.json +8 -0
- package/common/utilities/index.d.ts +2 -0
- package/common/utilities/index.js +3 -0
- package/common/utilities/index.js.map +1 -0
- package/common/utilities/info.d.ts +2 -0
- package/common/utilities/info.js +14 -0
- package/common/utilities/info.js.map +1 -0
- package/common/utilities/package.json +8 -0
- package/common/utilities/utilities.cjs +39 -0
- package/common/utilities/utilities.cjs.map +1 -0
- package/common/utilities/warning.d.ts +2 -0
- package/common/utilities/warning.js +19 -0
- package/common/utilities/warning.js.map +1 -0
- package/components/Accordion/Accordion.cjs +900 -0
- package/components/Accordion/Accordion.cjs.map +1 -0
- package/components/Accordion/Accordion.d.ts +7 -0
- package/components/Accordion/Accordion.js +32 -0
- package/components/Accordion/Accordion.js.map +1 -0
- package/components/Accordion/AccordionContent.d.ts +7 -0
- package/components/Accordion/AccordionContent.js +33 -0
- package/components/Accordion/AccordionContent.js.map +1 -0
- package/components/Accordion/AccordionContext.d.ts +7 -0
- package/components/Accordion/AccordionContext.js +13 -0
- package/components/Accordion/AccordionContext.js.map +1 -0
- package/components/Accordion/AccordionHeader.d.ts +7 -0
- package/components/Accordion/AccordionHeader.js +44 -0
- package/components/Accordion/AccordionHeader.js.map +1 -0
- package/components/Accordion/AccordionItem.d.ts +7 -0
- package/components/Accordion/AccordionItem.js +29 -0
- package/components/Accordion/AccordionItem.js.map +1 -0
- package/components/Accordion/AccordionItemContext.d.ts +7 -0
- package/components/Accordion/AccordionItemContext.js +12 -0
- package/components/Accordion/AccordionItemContext.js.map +1 -0
- package/components/Accordion/UncontrolledAccordion.d.ts +7 -0
- package/components/Accordion/UncontrolledAccordion.js +23 -0
- package/components/Accordion/UncontrolledAccordion.js.map +1 -0
- package/components/Accordion/index.d.ts +11 -0
- package/components/Accordion/index.js +12 -0
- package/components/Accordion/index.js.map +1 -0
- package/components/Accordion/package.json +8 -0
- package/components/Accordion/useAccordion.d.ts +2 -0
- package/components/Accordion/useAccordion.js +31 -0
- package/components/Accordion/useAccordion.js.map +1 -0
- package/components/Accordion/useAccordionAriaProps.d.ts +23 -0
- package/components/Accordion/useAccordionAriaProps.js +24 -0
- package/components/Accordion/useAccordionAriaProps.js.map +1 -0
- package/components/Accordion/useAccordionStyleProps.d.ts +13 -0
- package/components/Accordion/useAccordionStyleProps.js +24 -0
- package/components/Accordion/useAccordionStyleProps.js.map +1 -0
- package/components/Accordion/useOpenItem.d.ts +3 -0
- package/components/Accordion/useOpenItem.js +14 -0
- package/components/Accordion/useOpenItem.js.map +1 -0
- package/components/ActionGroup/ActionGroup.cjs +541 -0
- package/components/ActionGroup/ActionGroup.cjs.map +1 -0
- package/components/ActionGroup/ActionGroup.d.ts +7 -0
- package/components/ActionGroup/ActionGroup.js +33 -0
- package/components/ActionGroup/ActionGroup.js.map +1 -0
- package/components/ActionGroup/index.d.ts +1 -0
- package/components/ActionGroup/index.js +2 -0
- package/components/ActionGroup/index.js.map +1 -0
- package/components/ActionGroup/package.json +8 -0
- package/components/Alert/Alert.cjs +490 -0
- package/components/Alert/Alert.cjs.map +1 -0
- package/components/Alert/Alert.d.ts +7 -0
- package/components/Alert/Alert.js +36 -0
- package/components/Alert/Alert.js.map +1 -0
- package/components/Alert/index.d.ts +2 -0
- package/components/Alert/index.js +3 -0
- package/components/Alert/index.js.map +1 -0
- package/components/Alert/package.json +8 -0
- package/components/Alert/useAlertIcon.d.ts +3 -0
- package/components/Alert/useAlertIcon.js +12 -0
- package/components/Alert/useAlertIcon.js.map +1 -0
- package/components/Alert/useAlertStyleProps.d.ts +7 -0
- package/components/Alert/useAlertStyleProps.js +28 -0
- package/components/Alert/useAlertStyleProps.js.map +1 -0
- package/components/Avatar/Avatar.cjs +376 -0
- package/components/Avatar/Avatar.cjs.map +1 -0
- package/components/Avatar/Avatar.d.ts +4 -0
- package/components/Avatar/Avatar.js +33 -0
- package/components/Avatar/Avatar.js.map +1 -0
- package/components/Avatar/constants.d.ts +11 -0
- package/components/Avatar/constants.js +19 -0
- package/components/Avatar/constants.js.map +1 -0
- package/components/Avatar/index.d.ts +2 -0
- package/components/Avatar/index.js +3 -0
- package/components/Avatar/index.js.map +1 -0
- package/components/Avatar/package.json +8 -0
- package/components/Avatar/useAvatarStyleProps.d.ts +7 -0
- package/components/Avatar/useAvatarStyleProps.js +28 -0
- package/components/Avatar/useAvatarStyleProps.js.map +1 -0
- package/components/Box/Box.cjs +402 -0
- package/components/Box/Box.cjs.map +1 -0
- package/components/Box/Box.d.ts +7 -0
- package/components/Box/Box.js +32 -0
- package/components/Box/Box.js.map +1 -0
- package/components/Box/index.d.ts +2 -0
- package/components/Box/index.js +3 -0
- package/components/Box/index.js.map +1 -0
- package/components/Box/package.json +8 -0
- package/components/Box/useBoxStyleProps.d.ts +7 -0
- package/components/Box/useBoxStyleProps.js +38 -0
- package/components/Box/useBoxStyleProps.js.map +1 -0
- package/components/Breadcrumbs/Breadcrumbs.cjs +575 -0
- package/components/Breadcrumbs/Breadcrumbs.cjs.map +1 -0
- package/components/Breadcrumbs/Breadcrumbs.d.ts +7 -0
- package/components/Breadcrumbs/Breadcrumbs.js +37 -0
- package/components/Breadcrumbs/Breadcrumbs.js.map +1 -0
- package/components/Breadcrumbs/BreadcrumbsItem.d.ts +7 -0
- package/components/Breadcrumbs/BreadcrumbsItem.js +37 -0
- package/components/Breadcrumbs/BreadcrumbsItem.js.map +1 -0
- package/components/Breadcrumbs/index.d.ts +3 -0
- package/components/Breadcrumbs/index.js +4 -0
- package/components/Breadcrumbs/index.js.map +1 -0
- package/components/Breadcrumbs/package.json +8 -0
- package/components/Breadcrumbs/useBreadcrumbsStyleProps.d.ts +9 -0
- package/components/Breadcrumbs/useBreadcrumbsStyleProps.js +32 -0
- package/components/Breadcrumbs/useBreadcrumbsStyleProps.js.map +1 -0
- package/components/Button/Button.cjs +696 -0
- package/components/Button/Button.cjs.map +1 -0
- package/components/Button/Button.d.ts +3 -0
- package/components/Button/Button.js +45 -0
- package/components/Button/Button.js.map +1 -0
- package/components/Button/index.d.ts +6 -0
- package/components/Button/index.js +7 -0
- package/components/Button/index.js.map +1 -0
- package/components/Button/package.json +8 -0
- package/components/Button/useButtonProps.d.ts +6 -0
- package/components/Button/useButtonProps.js +13 -0
- package/components/Button/useButtonProps.js.map +1 -0
- package/components/Button/useButtonStyleProps.d.ts +7 -0
- package/components/Button/useButtonStyleProps.js +46 -0
- package/components/Button/useButtonStyleProps.js.map +1 -0
- package/components/ButtonLink/ButtonLink.d.ts +3 -0
- package/components/ButtonLink/ButtonLink.js +42 -0
- package/components/ButtonLink/ButtonLink.js.map +1 -0
- package/components/ButtonLink/index.d.ts +3 -0
- package/components/ButtonLink/index.js +4 -0
- package/components/ButtonLink/index.js.map +1 -0
- package/components/ButtonLink/useButtonLinkProps.d.ts +6 -0
- package/components/ButtonLink/useButtonLinkProps.js +16 -0
- package/components/ButtonLink/useButtonLinkProps.js.map +1 -0
- package/components/ButtonLink/useButtonLinkStyleProps.d.ts +7 -0
- package/components/ButtonLink/useButtonLinkStyleProps.js +46 -0
- package/components/ButtonLink/useButtonLinkStyleProps.js.map +1 -0
- package/components/Card/Card.cjs +681 -0
- package/components/Card/Card.cjs.map +1 -0
- package/components/Card/Card.d.ts +7 -0
- package/components/Card/Card.js +33 -0
- package/components/Card/Card.js.map +1 -0
- package/components/Card/CardArtwork.d.ts +7 -0
- package/components/Card/CardArtwork.js +30 -0
- package/components/Card/CardArtwork.js.map +1 -0
- package/components/Card/CardBody.d.ts +7 -0
- package/components/Card/CardBody.js +29 -0
- package/components/Card/CardBody.js.map +1 -0
- package/components/Card/CardEyebrow.d.ts +7 -0
- package/components/Card/CardEyebrow.js +25 -0
- package/components/Card/CardEyebrow.js.map +1 -0
- package/components/Card/CardFooter.d.ts +7 -0
- package/components/Card/CardFooter.js +30 -0
- package/components/Card/CardFooter.js.map +1 -0
- package/components/Card/CardLink.d.ts +5 -0
- package/components/Card/CardLink.js +31 -0
- package/components/Card/CardLink.js.map +1 -0
- package/components/Card/CardLogo.d.ts +7 -0
- package/components/Card/CardLogo.js +25 -0
- package/components/Card/CardLogo.js.map +1 -0
- package/components/Card/CardMedia.d.ts +7 -0
- package/components/Card/CardMedia.js +45 -0
- package/components/Card/CardMedia.js.map +1 -0
- package/components/Card/CardTitle.d.ts +7 -0
- package/components/Card/CardTitle.js +31 -0
- package/components/Card/CardTitle.js.map +1 -0
- package/components/Card/index.d.ts +10 -0
- package/components/Card/index.js +11 -0
- package/components/Card/index.js.map +1 -0
- package/components/Card/package.json +8 -0
- package/components/Card/useCardMediaStyleProps.d.ts +7 -0
- package/components/Card/useCardMediaStyleProps.js +15 -0
- package/components/Card/useCardMediaStyleProps.js.map +1 -0
- package/components/Card/useCardStyleProps.d.ts +27 -0
- package/components/Card/useCardStyleProps.js +58 -0
- package/components/Card/useCardStyleProps.js.map +1 -0
- package/components/Checkbox/Checkbox.cjs +639 -0
- package/components/Checkbox/Checkbox.cjs.map +1 -0
- package/components/Checkbox/Checkbox.d.ts +4 -0
- package/components/Checkbox/Checkbox.js +39 -0
- package/components/Checkbox/Checkbox.js.map +1 -0
- package/components/Checkbox/index.d.ts +2 -0
- package/components/Checkbox/index.js +3 -0
- package/components/Checkbox/index.js.map +1 -0
- package/components/Checkbox/package.json +8 -0
- package/components/Checkbox/useCheckboxStyleProps.d.ts +13 -0
- package/components/Checkbox/useCheckboxStyleProps.js +49 -0
- package/components/Checkbox/useCheckboxStyleProps.js.map +1 -0
- package/components/Collapse/Collapse.cjs +601 -0
- package/components/Collapse/Collapse.cjs.map +1 -0
- package/components/Collapse/Collapse.d.ts +7 -0
- package/components/Collapse/Collapse.js +60 -0
- package/components/Collapse/Collapse.js.map +1 -0
- package/components/Collapse/UncontrolledCollapse.d.ts +7 -0
- package/components/Collapse/UncontrolledCollapse.js +38 -0
- package/components/Collapse/UncontrolledCollapse.js.map +1 -0
- package/components/Collapse/index.d.ts +5 -0
- package/components/Collapse/index.js +6 -0
- package/components/Collapse/index.js.map +1 -0
- package/components/Collapse/package.json +8 -0
- package/components/Collapse/useCollapse.d.ts +7 -0
- package/components/Collapse/useCollapse.js +15 -0
- package/components/Collapse/useCollapse.js.map +1 -0
- package/components/Collapse/useCollapseAriaProps.d.ts +18 -0
- package/components/Collapse/useCollapseAriaProps.js +37 -0
- package/components/Collapse/useCollapseAriaProps.js.map +1 -0
- package/components/Collapse/useCollapseStyleProps.d.ts +11 -0
- package/components/Collapse/useCollapseStyleProps.js +19 -0
- package/components/Collapse/useCollapseStyleProps.js.map +1 -0
- package/components/Collapse/useResizeHeight.d.ts +2 -0
- package/components/Collapse/useResizeHeight.js +13 -0
- package/components/Collapse/useResizeHeight.js.map +1 -0
- package/components/Container/Container.cjs +341 -0
- package/components/Container/Container.cjs.map +1 -0
- package/components/Container/Container.d.ts +6 -0
- package/components/Container/Container.js +33 -0
- package/components/Container/Container.js.map +1 -0
- package/components/Container/index.d.ts +2 -0
- package/components/Container/index.js +3 -0
- package/components/Container/index.js.map +1 -0
- package/components/Container/package.json +8 -0
- package/components/Container/useContainerStyleProps.d.ts +6 -0
- package/components/Container/useContainerStyleProps.js +28 -0
- package/components/Container/useContainerStyleProps.js.map +1 -0
- package/components/ControlButton/ControlButton.d.ts +3 -0
- package/components/ControlButton/ControlButton.js +39 -0
- package/components/ControlButton/ControlButton.js.map +1 -0
- package/components/ControlButton/index.d.ts +3 -0
- package/components/ControlButton/index.js +4 -0
- package/components/ControlButton/index.js.map +1 -0
- package/components/ControlButton/useControlButtonProps.d.ts +6 -0
- package/components/ControlButton/useControlButtonProps.js +13 -0
- package/components/ControlButton/useControlButtonProps.js.map +1 -0
- package/components/ControlButton/useControlButtonStyleProps.d.ts +7 -0
- package/components/ControlButton/useControlButtonStyleProps.js +36 -0
- package/components/ControlButton/useControlButtonStyleProps.js.map +1 -0
- package/components/Dialog/Dialog.cjs +275 -0
- package/components/Dialog/Dialog.cjs.map +1 -0
- package/components/Dialog/Dialog.d.ts +4 -0
- package/components/Dialog/Dialog.js +41 -0
- package/components/Dialog/Dialog.js.map +1 -0
- package/components/Dialog/index.d.ts +2 -0
- package/components/Dialog/index.js +3 -0
- package/components/Dialog/index.js.map +1 -0
- package/components/Dialog/package.json +8 -0
- package/components/Dialog/useDialog.d.ts +6 -0
- package/components/Dialog/useDialog.js +54 -0
- package/components/Dialog/useDialog.js.map +1 -0
- package/components/Divider/Divider.cjs +302 -0
- package/components/Divider/Divider.cjs.map +1 -0
- package/components/Divider/Divider.d.ts +6 -0
- package/components/Divider/Divider.js +13 -0
- package/components/Divider/Divider.js.map +1 -0
- package/components/Divider/index.d.ts +2 -0
- package/components/Divider/index.js +3 -0
- package/components/Divider/index.js.map +1 -0
- package/components/Divider/package.json +8 -0
- package/components/Divider/useDividerStyleProps.d.ts +6 -0
- package/components/Divider/useDividerStyleProps.js +9 -0
- package/components/Divider/useDividerStyleProps.js.map +1 -0
- package/components/Drawer/Drawer.cjs +1048 -0
- package/components/Drawer/Drawer.cjs.map +1 -0
- package/components/Drawer/Drawer.d.ts +7 -0
- package/components/Drawer/Drawer.js +35 -0
- package/components/Drawer/Drawer.js.map +1 -0
- package/components/Drawer/DrawerCloseButton.d.ts +7 -0
- package/components/Drawer/DrawerCloseButton.js +42 -0
- package/components/Drawer/DrawerCloseButton.js.map +1 -0
- package/components/Drawer/DrawerContext.d.ts +10 -0
- package/components/Drawer/DrawerContext.js +14 -0
- package/components/Drawer/DrawerContext.js.map +1 -0
- package/components/Drawer/DrawerPanel.d.ts +4 -0
- package/components/Drawer/DrawerPanel.js +28 -0
- package/components/Drawer/DrawerPanel.js.map +1 -0
- package/components/Drawer/constants.d.ts +2 -0
- package/components/Drawer/constants.js +4 -0
- package/components/Drawer/constants.js.map +1 -0
- package/components/Drawer/index.d.ts +5 -0
- package/components/Drawer/index.js +6 -0
- package/components/Drawer/index.js.map +1 -0
- package/components/Drawer/package.json +8 -0
- package/components/Drawer/useDrawerStyleProps.d.ts +14 -0
- package/components/Drawer/useDrawerStyleProps.js +27 -0
- package/components/Drawer/useDrawerStyleProps.js.map +1 -0
- package/components/Dropdown/Dropdown.cjs +611 -0
- package/components/Dropdown/Dropdown.cjs.map +1 -0
- package/components/Dropdown/Dropdown.d.ts +7 -0
- package/components/Dropdown/Dropdown.js +42 -0
- package/components/Dropdown/Dropdown.js.map +1 -0
- package/components/Dropdown/DropdownContext.d.ts +19 -0
- package/components/Dropdown/DropdownContext.js +20 -0
- package/components/Dropdown/DropdownContext.js.map +1 -0
- package/components/Dropdown/DropdownPopover.d.ts +9 -0
- package/components/Dropdown/DropdownPopover.js +29 -0
- package/components/Dropdown/DropdownPopover.js.map +1 -0
- package/components/Dropdown/DropdownTrigger.d.ts +7 -0
- package/components/Dropdown/DropdownTrigger.js +34 -0
- package/components/Dropdown/DropdownTrigger.js.map +1 -0
- package/components/Dropdown/UncontrolledDropdown.d.ts +7 -0
- package/components/Dropdown/UncontrolledDropdown.js +31 -0
- package/components/Dropdown/UncontrolledDropdown.js.map +1 -0
- package/components/Dropdown/index.d.ts +8 -0
- package/components/Dropdown/index.js +9 -0
- package/components/Dropdown/index.js.map +1 -0
- package/components/Dropdown/package.json +8 -0
- package/components/Dropdown/useDropdown.d.ts +13 -0
- package/components/Dropdown/useDropdown.js +29 -0
- package/components/Dropdown/useDropdown.js.map +1 -0
- package/components/Dropdown/useDropdownAriaProps.d.ts +31 -0
- package/components/Dropdown/useDropdownAriaProps.js +29 -0
- package/components/Dropdown/useDropdownAriaProps.js.map +1 -0
- package/components/Dropdown/useDropdownStyleProps.d.ts +10 -0
- package/components/Dropdown/useDropdownStyleProps.js +36 -0
- package/components/Dropdown/useDropdownStyleProps.js.map +1 -0
- package/components/EmptyState/EmptyState.cjs +472 -0
- package/components/EmptyState/EmptyState.cjs.map +1 -0
- package/components/EmptyState/EmptyState.d.ts +7 -0
- package/components/EmptyState/EmptyState.js +26 -0
- package/components/EmptyState/EmptyState.js.map +1 -0
- package/components/EmptyState/EmptyStateSection.d.ts +7 -0
- package/components/EmptyState/EmptyStateSection.js +26 -0
- package/components/EmptyState/EmptyStateSection.js.map +1 -0
- package/components/EmptyState/index.d.ts +3 -0
- package/components/EmptyState/index.js +4 -0
- package/components/EmptyState/index.js.map +1 -0
- package/components/EmptyState/package.json +8 -0
- package/components/EmptyState/useEmptyStateStyleProps.d.ts +9 -0
- package/components/EmptyState/useEmptyStateStyleProps.js +13 -0
- package/components/EmptyState/useEmptyStateStyleProps.js.map +1 -0
- package/components/Field/Field.cjs +545 -0
- package/components/Field/Field.cjs.map +1 -0
- package/components/Field/HelperText.d.ts +7 -0
- package/components/Field/HelperText.js +39 -0
- package/components/Field/HelperText.js.map +1 -0
- package/components/Field/Label.d.ts +7 -0
- package/components/Field/Label.js +24 -0
- package/components/Field/Label.js.map +1 -0
- package/components/Field/ValidationText.d.ts +7 -0
- package/components/Field/ValidationText.js +46 -0
- package/components/Field/ValidationText.js.map +1 -0
- package/components/Field/constants.d.ts +1 -0
- package/components/Field/constants.js +2 -0
- package/components/Field/constants.js.map +1 -0
- package/components/Field/index.d.ts +5 -0
- package/components/Field/index.js +6 -0
- package/components/Field/index.js.map +1 -0
- package/components/Field/package.json +8 -0
- package/components/Field/types.d.ts +15 -0
- package/components/Field/types.js +2 -0
- package/components/Field/types.js.map +1 -0
- package/components/Field/useAriaIds.d.ts +8 -0
- package/components/Field/useAriaIds.js +20 -0
- package/components/Field/useAriaIds.js.map +1 -0
- package/components/Field/useValidationIcon.d.ts +2 -0
- package/components/Field/useValidationIcon.js +10 -0
- package/components/Field/useValidationIcon.js.map +1 -0
- package/components/Field/useValidationTextRole.d.ts +5 -0
- package/components/Field/useValidationTextRole.js +17 -0
- package/components/Field/useValidationTextRole.js.map +1 -0
- package/components/FieldGroup/FieldGroup.cjs +648 -0
- package/components/FieldGroup/FieldGroup.cjs.map +1 -0
- package/components/FieldGroup/FieldGroup.d.ts +7 -0
- package/components/FieldGroup/FieldGroup.js +39 -0
- package/components/FieldGroup/FieldGroup.js.map +1 -0
- package/components/FieldGroup/index.d.ts +1 -0
- package/components/FieldGroup/index.js +2 -0
- package/components/FieldGroup/index.js.map +1 -0
- package/components/FieldGroup/package.json +8 -0
- package/components/FieldGroup/useFieldGroupStyleProps.d.ts +14 -0
- package/components/FieldGroup/useFieldGroupStyleProps.js +27 -0
- package/components/FieldGroup/useFieldGroupStyleProps.js.map +1 -0
- package/components/FileUploader/AttachmentActionButton.d.ts +7 -0
- package/components/FileUploader/AttachmentActionButton.js +29 -0
- package/components/FileUploader/AttachmentActionButton.js.map +1 -0
- package/components/FileUploader/AttachmentDismissButton.d.ts +7 -0
- package/components/FileUploader/AttachmentDismissButton.js +29 -0
- package/components/FileUploader/AttachmentDismissButton.js.map +1 -0
- package/components/FileUploader/AttachmentImagePreview.d.ts +7 -0
- package/components/FileUploader/AttachmentImagePreview.js +19 -0
- package/components/FileUploader/AttachmentImagePreview.js.map +1 -0
- package/components/FileUploader/FileUploader.cjs +1312 -0
- package/components/FileUploader/FileUploader.cjs.map +1 -0
- package/components/FileUploader/FileUploader.d.ts +7 -0
- package/components/FileUploader/FileUploader.js +37 -0
- package/components/FileUploader/FileUploader.js.map +1 -0
- package/components/FileUploader/FileUploaderAttachment.d.ts +7 -0
- package/components/FileUploader/FileUploaderAttachment.js +51 -0
- package/components/FileUploader/FileUploaderAttachment.js.map +1 -0
- package/components/FileUploader/FileUploaderContext.d.ts +9 -0
- package/components/FileUploader/FileUploaderContext.js +23 -0
- package/components/FileUploader/FileUploaderContext.js.map +1 -0
- package/components/FileUploader/FileUploaderInput.d.ts +7 -0
- package/components/FileUploader/FileUploaderInput.js +69 -0
- package/components/FileUploader/FileUploaderInput.js.map +1 -0
- package/components/FileUploader/FileUploaderList.d.ts +7 -0
- package/components/FileUploader/FileUploaderList.js +42 -0
- package/components/FileUploader/FileUploaderList.js.map +1 -0
- package/components/FileUploader/UncontrolledFileUploader.d.ts +7 -0
- package/components/FileUploader/UncontrolledFileUploader.js +32 -0
- package/components/FileUploader/UncontrolledFileUploader.js.map +1 -0
- package/components/FileUploader/constants.d.ts +17 -0
- package/components/FileUploader/constants.js +18 -0
- package/components/FileUploader/constants.js.map +1 -0
- package/components/FileUploader/index.d.ts +13 -0
- package/components/FileUploader/index.js +14 -0
- package/components/FileUploader/index.js.map +1 -0
- package/components/FileUploader/package.json +8 -0
- package/components/FileUploader/useFileQueue.d.ts +4 -0
- package/components/FileUploader/useFileQueue.js +51 -0
- package/components/FileUploader/useFileQueue.js.map +1 -0
- package/components/FileUploader/useFileUploaderAttachment.d.ts +10 -0
- package/components/FileUploader/useFileUploaderAttachment.js +18 -0
- package/components/FileUploader/useFileUploaderAttachment.js.map +1 -0
- package/components/FileUploader/useFileUploaderInput.d.ts +17 -0
- package/components/FileUploader/useFileUploaderInput.js +161 -0
- package/components/FileUploader/useFileUploaderInput.js.map +1 -0
- package/components/FileUploader/useFileUploaderStyleProps.d.ts +55 -0
- package/components/FileUploader/useFileUploaderStyleProps.js +92 -0
- package/components/FileUploader/useFileUploaderStyleProps.js.map +1 -0
- package/components/FileUploader/utils.d.ts +6 -0
- package/components/FileUploader/utils.js +61 -0
- package/components/FileUploader/utils.js.map +1 -0
- package/components/Flex/Flex.cjs +514 -0
- package/components/Flex/Flex.cjs.map +1 -0
- package/components/Flex/Flex.d.ts +7 -0
- package/components/Flex/Flex.js +35 -0
- package/components/Flex/Flex.js.map +1 -0
- package/components/Flex/index.d.ts +2 -0
- package/components/Flex/index.js +3 -0
- package/components/Flex/index.js.map +1 -0
- package/components/Flex/package.json +8 -0
- package/components/Flex/useFlexStyleProps.d.ts +12 -0
- package/components/Flex/useFlexStyleProps.js +38 -0
- package/components/Flex/useFlexStyleProps.js.map +1 -0
- package/components/Footer/Footer.cjs +337 -0
- package/components/Footer/Footer.cjs.map +1 -0
- package/components/Footer/Footer.d.ts +7 -0
- package/components/Footer/Footer.js +37 -0
- package/components/Footer/Footer.js.map +1 -0
- package/components/Footer/constants.d.ts +2 -0
- package/components/Footer/constants.js +3 -0
- package/components/Footer/constants.js.map +1 -0
- package/components/Footer/index.d.ts +1 -0
- package/components/Footer/index.js +2 -0
- package/components/Footer/index.js.map +1 -0
- package/components/Footer/package.json +8 -0
- package/components/Footer/useFooterStyleProps.d.ts +5 -0
- package/components/Footer/useFooterStyleProps.js +14 -0
- package/components/Footer/useFooterStyleProps.js.map +1 -0
- package/components/Grid/Grid.cjs +499 -0
- package/components/Grid/Grid.cjs.map +1 -0
- package/components/Grid/Grid.d.ts +7 -0
- package/components/Grid/Grid.js +33 -0
- package/components/Grid/Grid.js.map +1 -0
- package/components/Grid/GridItem.d.ts +7 -0
- package/components/Grid/GridItem.js +26 -0
- package/components/Grid/GridItem.js.map +1 -0
- package/components/Grid/index.d.ts +3 -0
- package/components/Grid/index.js +4 -0
- package/components/Grid/index.js.map +1 -0
- package/components/Grid/package.json +8 -0
- package/components/Grid/useGridItemStyleProps.d.ts +12 -0
- package/components/Grid/useGridItemStyleProps.js +36 -0
- package/components/Grid/useGridItemStyleProps.js.map +1 -0
- package/components/Grid/useGridStyleProps.d.ts +12 -0
- package/components/Grid/useGridStyleProps.js +42 -0
- package/components/Grid/useGridStyleProps.js.map +1 -0
- package/components/Header/Header.cjs +1261 -0
- package/components/Header/Header.cjs.map +1 -0
- package/components/Header/Header.d.ts +7 -0
- package/components/Header/Header.js +33 -0
- package/components/Header/Header.js.map +1 -0
- package/components/Header/HeaderButton.d.ts +7 -0
- package/components/Header/HeaderButton.js +13 -0
- package/components/Header/HeaderButton.js.map +1 -0
- package/components/Header/HeaderDesktopActions.d.ts +7 -0
- package/components/Header/HeaderDesktopActions.js +29 -0
- package/components/Header/HeaderDesktopActions.js.map +1 -0
- package/components/Header/HeaderDialog.d.ts +7 -0
- package/components/Header/HeaderDialog.js +32 -0
- package/components/Header/HeaderDialog.js.map +1 -0
- package/components/Header/HeaderDialogActions.d.ts +7 -0
- package/components/Header/HeaderDialogActions.js +26 -0
- package/components/Header/HeaderDialogActions.js.map +1 -0
- package/components/Header/HeaderDialogButton.d.ts +7 -0
- package/components/Header/HeaderDialogButton.js +13 -0
- package/components/Header/HeaderDialogButton.js.map +1 -0
- package/components/Header/HeaderDialogCloseButton.d.ts +7 -0
- package/components/Header/HeaderDialogCloseButton.js +37 -0
- package/components/Header/HeaderDialogCloseButton.js.map +1 -0
- package/components/Header/HeaderDialogContext.d.ts +12 -0
- package/components/Header/HeaderDialogContext.js +14 -0
- package/components/Header/HeaderDialogContext.js.map +1 -0
- package/components/Header/HeaderDialogLink.d.ts +4 -0
- package/components/Header/HeaderDialogLink.js +31 -0
- package/components/Header/HeaderDialogLink.js.map +1 -0
- package/components/Header/HeaderDialogNav.d.ts +7 -0
- package/components/Header/HeaderDialogNav.js +13 -0
- package/components/Header/HeaderDialogNav.js.map +1 -0
- package/components/Header/HeaderDialogNavItem.d.ts +7 -0
- package/components/Header/HeaderDialogNavItem.js +13 -0
- package/components/Header/HeaderDialogNavItem.js.map +1 -0
- package/components/Header/HeaderDialogText.d.ts +7 -0
- package/components/Header/HeaderDialogText.js +13 -0
- package/components/Header/HeaderDialogText.js.map +1 -0
- package/components/Header/HeaderLink.d.ts +4 -0
- package/components/Header/HeaderLink.js +31 -0
- package/components/Header/HeaderLink.js.map +1 -0
- package/components/Header/HeaderMobileActions.d.ts +7 -0
- package/components/Header/HeaderMobileActions.js +33 -0
- package/components/Header/HeaderMobileActions.js.map +1 -0
- package/components/Header/HeaderNav.d.ts +7 -0
- package/components/Header/HeaderNav.js +13 -0
- package/components/Header/HeaderNav.js.map +1 -0
- package/components/Header/HeaderNavItem.d.ts +7 -0
- package/components/Header/HeaderNavItem.js +13 -0
- package/components/Header/HeaderNavItem.js.map +1 -0
- package/components/Header/constants.d.ts +4 -0
- package/components/Header/constants.js +5 -0
- package/components/Header/constants.js.map +1 -0
- package/components/Header/index.d.ts +18 -0
- package/components/Header/index.js +19 -0
- package/components/Header/index.js.map +1 -0
- package/components/Header/package.json +8 -0
- package/components/Header/useHeaderStyleProps.d.ts +32 -0
- package/components/Header/useHeaderStyleProps.js +57 -0
- package/components/Header/useHeaderStyleProps.js.map +1 -0
- package/components/Heading/Heading.cjs +386 -0
- package/components/Heading/Heading.cjs.map +1 -0
- package/components/Heading/Heading.d.ts +7 -0
- package/components/Heading/Heading.js +37 -0
- package/components/Heading/Heading.js.map +1 -0
- package/components/Heading/index.d.ts +2 -0
- package/components/Heading/index.js +3 -0
- package/components/Heading/index.js.map +1 -0
- package/components/Heading/package.json +8 -0
- package/components/Heading/useHeadingStyleProps.d.ts +7 -0
- package/components/Heading/useHeadingStyleProps.js +26 -0
- package/components/Heading/useHeadingStyleProps.js.map +1 -0
- package/components/Icon/Icon.cjs +418 -0
- package/components/Icon/Icon.cjs.map +1 -0
- package/components/Icon/Icon.d.ts +4 -0
- package/components/Icon/Icon.js +43 -0
- package/components/Icon/Icon.js.map +1 -0
- package/components/Icon/constants.d.ts +1 -0
- package/components/Icon/constants.js +2 -0
- package/components/Icon/constants.js.map +1 -0
- package/components/Icon/index.d.ts +2 -0
- package/components/Icon/index.js +3 -0
- package/components/Icon/index.js.map +1 -0
- package/components/Icon/package.json +8 -0
- package/components/Icon/useIconBoxSize.d.ts +2 -0
- package/components/Icon/useIconBoxSize.js +3 -0
- package/components/Icon/useIconBoxSize.js.map +1 -0
- package/components/Icon/useIconStyleProps.d.ts +1324 -0
- package/components/Icon/useIconStyleProps.js +43 -0
- package/components/Icon/useIconStyleProps.js.map +1 -0
- package/components/Icon/utils.d.ts +4 -0
- package/components/Icon/utils.js +6 -0
- package/components/Icon/utils.js.map +1 -0
- package/components/IconBox/IconBox.cjs +632 -0
- package/components/IconBox/IconBox.cjs.map +1 -0
- package/components/IconBox/IconBox.d.ts +7 -0
- package/components/IconBox/IconBox.js +42 -0
- package/components/IconBox/IconBox.js.map +1 -0
- package/components/IconBox/constants.d.ts +32 -0
- package/components/IconBox/constants.js +19 -0
- package/components/IconBox/constants.js.map +1 -0
- package/components/IconBox/index.d.ts +3 -0
- package/components/IconBox/index.js +4 -0
- package/components/IconBox/index.js.map +1 -0
- package/components/IconBox/package.json +8 -0
- package/components/IconBox/useIconBoxColors.d.ts +9 -0
- package/components/IconBox/useIconBoxColors.js +22 -0
- package/components/IconBox/useIconBoxColors.js.map +1 -0
- package/components/IconBox/useIconBoxStyleProps.d.ts +13 -0
- package/components/IconBox/useIconBoxStyleProps.js +46 -0
- package/components/IconBox/useIconBoxStyleProps.js.map +1 -0
- package/components/Item/Item.cjs +545 -0
- package/components/Item/Item.cjs.map +1 -0
- package/components/Item/Item.d.ts +7 -0
- package/components/Item/Item.js +35 -0
- package/components/Item/Item.js.map +1 -0
- package/components/Item/index.d.ts +2 -0
- package/components/Item/index.js +3 -0
- package/components/Item/index.js.map +1 -0
- package/components/Item/package.json +8 -0
- package/components/Item/useItemStyleProps.d.ts +15 -0
- package/components/Item/useItemStyleProps.js +42 -0
- package/components/Item/useItemStyleProps.js.map +1 -0
- package/components/Link/Link.cjs +386 -0
- package/components/Link/Link.cjs.map +1 -0
- package/components/Link/Link.d.ts +4 -0
- package/components/Link/Link.js +34 -0
- package/components/Link/Link.js.map +1 -0
- package/components/Link/index.d.ts +2 -0
- package/components/Link/index.js +3 -0
- package/components/Link/index.js.map +1 -0
- package/components/Link/package.json +8 -0
- package/components/Link/useLinkStyleProps.d.ts +7 -0
- package/components/Link/useLinkStyleProps.js +34 -0
- package/components/Link/useLinkStyleProps.js.map +1 -0
- package/components/Matrix/Matrix.cjs +429 -0
- package/components/Matrix/Matrix.cjs.map +1 -0
- package/components/Matrix/Matrix.d.ts +7 -0
- package/components/Matrix/Matrix.js +37 -0
- package/components/Matrix/Matrix.js.map +1 -0
- package/components/Matrix/constant.d.ts +5 -0
- package/components/Matrix/constant.js +6 -0
- package/components/Matrix/constant.js.map +1 -0
- package/components/Matrix/index.d.ts +3 -0
- package/components/Matrix/index.js +4 -0
- package/components/Matrix/index.js.map +1 -0
- package/components/Matrix/package.json +8 -0
- package/components/Matrix/useMatrixStyleProps.d.ts +9 -0
- package/components/Matrix/useMatrixStyleProps.js +41 -0
- package/components/Matrix/useMatrixStyleProps.js.map +1 -0
- package/components/Modal/Modal.cjs +1167 -0
- package/components/Modal/Modal.cjs.map +1 -0
- package/components/Modal/Modal.d.ts +7 -0
- package/components/Modal/Modal.js +35 -0
- package/components/Modal/Modal.js.map +1 -0
- package/components/Modal/ModalBody.d.ts +7 -0
- package/components/Modal/ModalBody.js +25 -0
- package/components/Modal/ModalBody.js.map +1 -0
- package/components/Modal/ModalCloseButton.d.ts +7 -0
- package/components/Modal/ModalCloseButton.js +25 -0
- package/components/Modal/ModalCloseButton.js.map +1 -0
- package/components/Modal/ModalContext.d.ts +10 -0
- package/components/Modal/ModalContext.js +14 -0
- package/components/Modal/ModalContext.js.map +1 -0
- package/components/Modal/ModalDialog.d.ts +3 -0
- package/components/Modal/ModalDialog.js +33 -0
- package/components/Modal/ModalDialog.js.map +1 -0
- package/components/Modal/ModalFooter.d.ts +7 -0
- package/components/Modal/ModalFooter.js +28 -0
- package/components/Modal/ModalFooter.js.map +1 -0
- package/components/Modal/ModalHeader.d.ts +7 -0
- package/components/Modal/ModalHeader.js +34 -0
- package/components/Modal/ModalHeader.js.map +1 -0
- package/components/Modal/index.d.ts +8 -0
- package/components/Modal/index.js +9 -0
- package/components/Modal/index.js.map +1 -0
- package/components/Modal/package.json +8 -0
- package/components/Modal/useModalDialogStyleProps.d.ts +833 -0
- package/components/Modal/useModalDialogStyleProps.js +35 -0
- package/components/Modal/useModalDialogStyleProps.js.map +1 -0
- package/components/Modal/useModalStyleProps.d.ts +24 -0
- package/components/Modal/useModalStyleProps.js +49 -0
- package/components/Modal/useModalStyleProps.js.map +1 -0
- package/components/Navigation/Navigation.cjs +577 -0
- package/components/Navigation/Navigation.cjs.map +1 -0
- package/components/Navigation/Navigation.d.ts +7 -0
- package/components/Navigation/Navigation.js +31 -0
- package/components/Navigation/Navigation.js.map +1 -0
- package/components/Navigation/NavigationAction.d.ts +4 -0
- package/components/Navigation/NavigationAction.js +36 -0
- package/components/Navigation/NavigationAction.js.map +1 -0
- package/components/Navigation/NavigationAvatar.d.ts +4 -0
- package/components/Navigation/NavigationAvatar.js +36 -0
- package/components/Navigation/NavigationAvatar.js.map +1 -0
- package/components/Navigation/NavigationItem.d.ts +7 -0
- package/components/Navigation/NavigationItem.js +30 -0
- package/components/Navigation/NavigationItem.js.map +1 -0
- package/components/Navigation/index.d.ts +6 -0
- package/components/Navigation/index.js +7 -0
- package/components/Navigation/index.js.map +1 -0
- package/components/Navigation/package.json +8 -0
- package/components/Navigation/useNavigationActionProps.d.ts +6 -0
- package/components/Navigation/useNavigationActionProps.js +12 -0
- package/components/Navigation/useNavigationActionProps.js.map +1 -0
- package/components/Navigation/useNavigationStyleProps.d.ts +19 -0
- package/components/Navigation/useNavigationStyleProps.js +45 -0
- package/components/Navigation/useNavigationStyleProps.js.map +1 -0
- package/components/NoSsr/NoSsr.cjs +15 -0
- package/components/NoSsr/NoSsr.cjs.map +1 -0
- package/components/NoSsr/NoSsr.d.ts +8 -0
- package/components/NoSsr/NoSsr.js +12 -0
- package/components/NoSsr/NoSsr.js.map +1 -0
- package/components/NoSsr/index.d.ts +1 -0
- package/components/NoSsr/index.js +2 -0
- package/components/NoSsr/index.js.map +1 -0
- package/components/NoSsr/package.json +8 -0
- package/components/Pagination/Pagination.cjs +949 -0
- package/components/Pagination/Pagination.cjs.map +1 -0
- package/components/Pagination/Pagination.d.ts +7 -0
- package/components/Pagination/Pagination.js +27 -0
- package/components/Pagination/Pagination.js.map +1 -0
- package/components/Pagination/PaginationButtonLink.d.ts +4 -0
- package/components/Pagination/PaginationButtonLink.js +30 -0
- package/components/Pagination/PaginationButtonLink.js.map +1 -0
- package/components/Pagination/PaginationItem.d.ts +7 -0
- package/components/Pagination/PaginationItem.js +25 -0
- package/components/Pagination/PaginationItem.js.map +1 -0
- package/components/Pagination/PaginationLink.d.ts +4 -0
- package/components/Pagination/PaginationLink.js +30 -0
- package/components/Pagination/PaginationLink.js.map +1 -0
- package/components/Pagination/PaginationLinkNext.d.ts +4 -0
- package/components/Pagination/PaginationLinkNext.js +23 -0
- package/components/Pagination/PaginationLinkNext.js.map +1 -0
- package/components/Pagination/PaginationLinkPrevious.d.ts +4 -0
- package/components/Pagination/PaginationLinkPrevious.js +23 -0
- package/components/Pagination/PaginationLinkPrevious.js.map +1 -0
- package/components/Pagination/UncontrolledPagination.d.ts +6 -0
- package/components/Pagination/UncontrolledPagination.js +45 -0
- package/components/Pagination/UncontrolledPagination.js.map +1 -0
- package/components/Pagination/constants.d.ts +2 -0
- package/components/Pagination/constants.js +3 -0
- package/components/Pagination/constants.js.map +1 -0
- package/components/Pagination/index.d.ts +9 -0
- package/components/Pagination/index.js +10 -0
- package/components/Pagination/index.js.map +1 -0
- package/components/Pagination/package.json +8 -0
- package/components/Pagination/usePagination.d.ts +7 -0
- package/components/Pagination/usePagination.js +35 -0
- package/components/Pagination/usePagination.js.map +1 -0
- package/components/Pagination/usePaginationStyleProps.d.ts +11 -0
- package/components/Pagination/usePaginationStyleProps.js +16 -0
- package/components/Pagination/usePaginationStyleProps.js.map +1 -0
- package/components/PartnerLogo/PartnerLogo.cjs +362 -0
- package/components/PartnerLogo/PartnerLogo.cjs.map +1 -0
- package/components/PartnerLogo/PartnerLogo.d.ts +7 -0
- package/components/PartnerLogo/PartnerLogo.js +32 -0
- package/components/PartnerLogo/PartnerLogo.js.map +1 -0
- package/components/PartnerLogo/index.d.ts +3 -0
- package/components/PartnerLogo/index.js +4 -0
- package/components/PartnerLogo/index.js.map +1 -0
- package/components/PartnerLogo/package.json +8 -0
- package/components/PartnerLogo/usePartnerLogoStyleProps.d.ts +6 -0
- package/components/PartnerLogo/usePartnerLogoStyleProps.js +30 -0
- package/components/PartnerLogo/usePartnerLogoStyleProps.js.map +1 -0
- package/components/Pill/Pill.cjs +375 -0
- package/components/Pill/Pill.cjs.map +1 -0
- package/components/Pill/Pill.d.ts +7 -0
- package/components/Pill/Pill.js +32 -0
- package/components/Pill/Pill.js.map +1 -0
- package/components/Pill/constants.d.ts +4 -0
- package/components/Pill/constants.js +5 -0
- package/components/Pill/constants.js.map +1 -0
- package/components/Pill/index.d.ts +3 -0
- package/components/Pill/index.js +4 -0
- package/components/Pill/index.js.map +1 -0
- package/components/Pill/package.json +8 -0
- package/components/Pill/usePillStyleProps.d.ts +7 -0
- package/components/Pill/usePillStyleProps.js +24 -0
- package/components/Pill/usePillStyleProps.js.map +1 -0
- package/components/PricingPlan/PricingPlan.cjs +1783 -0
- package/components/PricingPlan/PricingPlan.cjs.map +1 -0
- package/components/PricingPlan/PricingPlan.d.ts +7 -0
- package/components/PricingPlan/PricingPlan.js +39 -0
- package/components/PricingPlan/PricingPlan.js.map +1 -0
- package/components/PricingPlan/PricingPlanBody.d.ts +7 -0
- package/components/PricingPlan/PricingPlanBody.js +43 -0
- package/components/PricingPlan/PricingPlanBody.js.map +1 -0
- package/components/PricingPlan/PricingPlanFeatureTitle.d.ts +10 -0
- package/components/PricingPlan/PricingPlanFeatureTitle.js +48 -0
- package/components/PricingPlan/PricingPlanFeatureTitle.js.map +1 -0
- package/components/PricingPlan/PricingPlanFooter.d.ts +7 -0
- package/components/PricingPlan/PricingPlanFooter.js +26 -0
- package/components/PricingPlan/PricingPlanFooter.js.map +1 -0
- package/components/PricingPlan/PricingPlanHeader.d.ts +7 -0
- package/components/PricingPlan/PricingPlanHeader.js +47 -0
- package/components/PricingPlan/PricingPlanHeader.js.map +1 -0
- package/components/PricingPlan/constants.d.ts +1 -0
- package/components/PricingPlan/constants.js +2 -0
- package/components/PricingPlan/constants.js.map +1 -0
- package/components/PricingPlan/index.d.ts +5 -0
- package/components/PricingPlan/index.js +6 -0
- package/components/PricingPlan/index.js.map +1 -0
- package/components/PricingPlan/package.json +8 -0
- package/components/PricingPlan/usePricingPlanStyleProps.d.ts +35 -0
- package/components/PricingPlan/usePricingPlanStyleProps.js +73 -0
- package/components/PricingPlan/usePricingPlanStyleProps.js.map +1 -0
- package/components/ProductLogo/ProductLogo.cjs +305 -0
- package/components/ProductLogo/ProductLogo.cjs.map +1 -0
- package/components/ProductLogo/ProductLogo.d.ts +7 -0
- package/components/ProductLogo/ProductLogo.js +24 -0
- package/components/ProductLogo/ProductLogo.js.map +1 -0
- package/components/ProductLogo/index.d.ts +2 -0
- package/components/ProductLogo/index.js +3 -0
- package/components/ProductLogo/index.js.map +1 -0
- package/components/ProductLogo/package.json +8 -0
- package/components/Radio/Radio.cjs +574 -0
- package/components/Radio/Radio.cjs.map +1 -0
- package/components/Radio/Radio.d.ts +4 -0
- package/components/Radio/Radio.js +33 -0
- package/components/Radio/Radio.js.map +1 -0
- package/components/Radio/index.d.ts +2 -0
- package/components/Radio/index.js +3 -0
- package/components/Radio/index.js.map +1 -0
- package/components/Radio/package.json +8 -0
- package/components/Radio/useRadioStyleProps.d.ts +12 -0
- package/components/Radio/useRadioStyleProps.js +45 -0
- package/components/Radio/useRadioStyleProps.js.map +1 -0
- package/components/ScrollView/ScrollView.cjs +808 -0
- package/components/ScrollView/ScrollView.cjs.map +1 -0
- package/components/ScrollView/ScrollView.d.ts +7 -0
- package/components/ScrollView/ScrollView.js +45 -0
- package/components/ScrollView/ScrollView.js.map +1 -0
- package/components/ScrollView/ScrollViewArrows.d.ts +7 -0
- package/components/ScrollView/ScrollViewArrows.js +42 -0
- package/components/ScrollView/ScrollViewArrows.js.map +1 -0
- package/components/ScrollView/constants.d.ts +8 -0
- package/components/ScrollView/constants.js +10 -0
- package/components/ScrollView/constants.js.map +1 -0
- package/components/ScrollView/index.d.ts +6 -0
- package/components/ScrollView/index.js +7 -0
- package/components/ScrollView/index.js.map +1 -0
- package/components/ScrollView/package.json +8 -0
- package/components/ScrollView/useScrollPosition.d.ts +16 -0
- package/components/ScrollView/useScrollPosition.js +52 -0
- package/components/ScrollView/useScrollPosition.js.map +1 -0
- package/components/ScrollView/useScrollViewArrows.d.ts +9 -0
- package/components/ScrollView/useScrollViewArrows.js +33 -0
- package/components/ScrollView/useScrollViewArrows.js.map +1 -0
- package/components/ScrollView/useScrollViewStyleProps.d.ts +18 -0
- package/components/ScrollView/useScrollViewStyleProps.js +34 -0
- package/components/ScrollView/useScrollViewStyleProps.js.map +1 -0
- package/components/Section/Section.cjs +442 -0
- package/components/Section/Section.cjs.map +1 -0
- package/components/Section/Section.d.ts +7 -0
- package/components/Section/Section.js +42 -0
- package/components/Section/Section.js.map +1 -0
- package/components/Section/index.d.ts +3 -0
- package/components/Section/index.js +4 -0
- package/components/Section/index.js.map +1 -0
- package/components/Section/package.json +8 -0
- package/components/Section/useSectionSizeProps.d.ts +6 -0
- package/components/Section/useSectionSizeProps.js +16 -0
- package/components/Section/useSectionSizeProps.js.map +1 -0
- package/components/Section/useSectionStyleProps.d.ts +6 -0
- package/components/Section/useSectionStyleProps.js +14 -0
- package/components/Section/useSectionStyleProps.js.map +1 -0
- package/components/SegmentedControl/SegmentedControl.cjs +509 -0
- package/components/SegmentedControl/SegmentedControl.cjs.map +1 -0
- package/components/SegmentedControl/SegmentedControl.d.ts +7 -0
- package/components/SegmentedControl/SegmentedControl.js +44 -0
- package/components/SegmentedControl/SegmentedControl.js.map +1 -0
- package/components/SegmentedControl/SegmentedControlContext.d.ts +12 -0
- package/components/SegmentedControl/SegmentedControlContext.js +15 -0
- package/components/SegmentedControl/SegmentedControlContext.js.map +1 -0
- package/components/SegmentedControl/SegmentedControlItem.d.ts +4 -0
- package/components/SegmentedControl/SegmentedControlItem.js +48 -0
- package/components/SegmentedControl/SegmentedControlItem.js.map +1 -0
- package/components/SegmentedControl/UncontrolledSegmentedControl.d.ts +7 -0
- package/components/SegmentedControl/UncontrolledSegmentedControl.js +49 -0
- package/components/SegmentedControl/UncontrolledSegmentedControl.js.map +1 -0
- package/components/SegmentedControl/index.d.ts +4 -0
- package/components/SegmentedControl/index.js +5 -0
- package/components/SegmentedControl/index.js.map +1 -0
- package/components/SegmentedControl/package.json +8 -0
- package/components/SegmentedControl/useSegmentedControl.d.ts +9 -0
- package/components/SegmentedControl/useSegmentedControl.js +25 -0
- package/components/SegmentedControl/useSegmentedControl.js.map +1 -0
- package/components/SegmentedControl/useSegmentedControlStyleProps.d.ts +12 -0
- package/components/SegmentedControl/useSegmentedControlStyleProps.js +35 -0
- package/components/SegmentedControl/useSegmentedControlStyleProps.js.map +1 -0
- package/components/Select/Select.cjs +636 -0
- package/components/Select/Select.cjs.map +1 -0
- package/components/Select/Select.d.ts +4 -0
- package/components/Select/Select.js +51 -0
- package/components/Select/Select.js.map +1 -0
- package/components/Select/index.d.ts +2 -0
- package/components/Select/index.js +3 -0
- package/components/Select/index.js.map +1 -0
- package/components/Select/package.json +8 -0
- package/components/Select/useSelectStyleProps.d.ts +19 -0
- package/components/Select/useSelectStyleProps.js +37 -0
- package/components/Select/useSelectStyleProps.js.map +1 -0
- package/components/Skeleton/Skeleton.cjs +507 -0
- package/components/Skeleton/Skeleton.cjs.map +1 -0
- package/components/Skeleton/SkeletonHeading.d.ts +7 -0
- package/components/Skeleton/SkeletonHeading.js +41 -0
- package/components/Skeleton/SkeletonHeading.js.map +1 -0
- package/components/Skeleton/SkeletonItem.d.ts +6 -0
- package/components/Skeleton/SkeletonItem.js +11 -0
- package/components/Skeleton/SkeletonItem.js.map +1 -0
- package/components/Skeleton/SkeletonShape.d.ts +7 -0
- package/components/Skeleton/SkeletonShape.js +37 -0
- package/components/Skeleton/SkeletonShape.js.map +1 -0
- package/components/Skeleton/SkeletonText.d.ts +7 -0
- package/components/Skeleton/SkeletonText.js +41 -0
- package/components/Skeleton/SkeletonText.js.map +1 -0
- package/components/Skeleton/constants.d.ts +1 -0
- package/components/Skeleton/constants.js +2 -0
- package/components/Skeleton/constants.js.map +1 -0
- package/components/Skeleton/index.d.ts +5 -0
- package/components/Skeleton/index.js +6 -0
- package/components/Skeleton/index.js.map +1 -0
- package/components/Skeleton/package.json +8 -0
- package/components/Skeleton/useSkeletonShapeStyleProps.d.ts +850 -0
- package/components/Skeleton/useSkeletonShapeStyleProps.js +49 -0
- package/components/Skeleton/useSkeletonShapeStyleProps.js.map +1 -0
- package/components/Skeleton/useSkeletonStyleProps.d.ts +12 -0
- package/components/Skeleton/useSkeletonStyleProps.js +34 -0
- package/components/Skeleton/useSkeletonStyleProps.js.map +1 -0
- package/components/SkipLink/SkipLink.cjs +364 -0
- package/components/SkipLink/SkipLink.cjs.map +1 -0
- package/components/SkipLink/SkipLink.d.ts +4 -0
- package/components/SkipLink/SkipLink.js +31 -0
- package/components/SkipLink/SkipLink.js.map +1 -0
- package/components/SkipLink/index.d.ts +2 -0
- package/components/SkipLink/index.js +3 -0
- package/components/SkipLink/index.js.map +1 -0
- package/components/SkipLink/package.json +8 -0
- package/components/SkipLink/useSkipLinkStyleProps.d.ts +6 -0
- package/components/SkipLink/useSkipLinkStyleProps.js +21 -0
- package/components/SkipLink/useSkipLinkStyleProps.js.map +1 -0
- package/components/Slider/Slider.cjs +648 -0
- package/components/Slider/Slider.cjs.map +1 -0
- package/components/Slider/Slider.d.ts +4 -0
- package/components/Slider/Slider.js +49 -0
- package/components/Slider/Slider.js.map +1 -0
- package/components/Slider/UncontrolledSlider.d.ts +7 -0
- package/components/Slider/UncontrolledSlider.js +14 -0
- package/components/Slider/UncontrolledSlider.js.map +1 -0
- package/components/Slider/constants.d.ts +7 -0
- package/components/Slider/constants.js +8 -0
- package/components/Slider/constants.js.map +1 -0
- package/components/Slider/index.d.ts +2 -0
- package/components/Slider/index.js +3 -0
- package/components/Slider/index.js.map +1 -0
- package/components/Slider/package.json +8 -0
- package/components/Slider/useSlider.d.ts +6 -0
- package/components/Slider/useSlider.js +13 -0
- package/components/Slider/useSlider.js.map +1 -0
- package/components/Slider/useSliderStyleProps.d.ts +14 -0
- package/components/Slider/useSliderStyleProps.js +43 -0
- package/components/Slider/useSliderStyleProps.js.map +1 -0
- package/components/Spinner/Spinner.cjs +448 -0
- package/components/Spinner/Spinner.cjs.map +1 -0
- package/components/Spinner/Spinner.d.ts +6 -0
- package/components/Spinner/Spinner.js +14 -0
- package/components/Spinner/Spinner.js.map +1 -0
- package/components/Spinner/index.d.ts +2 -0
- package/components/Spinner/index.js +3 -0
- package/components/Spinner/index.js.map +1 -0
- package/components/Spinner/package.json +8 -0
- package/components/Spinner/useSpinnerStyleProps.d.ts +6 -0
- package/components/Spinner/useSpinnerStyleProps.js +25 -0
- package/components/Spinner/useSpinnerStyleProps.js.map +1 -0
- package/components/SplitButton/SplitButton.cjs +1040 -0
- package/components/SplitButton/SplitButton.cjs.map +1 -0
- package/components/SplitButton/SplitButton.d.ts +4 -0
- package/components/SplitButton/SplitButton.js +32 -0
- package/components/SplitButton/SplitButton.js.map +1 -0
- package/components/SplitButton/UncontrolledSplitButton.d.ts +4 -0
- package/components/SplitButton/UncontrolledSplitButton.js +38 -0
- package/components/SplitButton/UncontrolledSplitButton.js.map +1 -0
- package/components/SplitButton/index.d.ts +3 -0
- package/components/SplitButton/index.js +4 -0
- package/components/SplitButton/index.js.map +1 -0
- package/components/SplitButton/package.json +8 -0
- package/components/SplitButton/useSplitButtonStyleProps.d.ts +4 -0
- package/components/SplitButton/useSplitButtonStyleProps.js +8 -0
- package/components/SplitButton/useSplitButtonStyleProps.js.map +1 -0
- package/components/Stack/Stack.cjs +433 -0
- package/components/Stack/Stack.cjs.map +1 -0
- package/components/Stack/Stack.d.ts +7 -0
- package/components/Stack/Stack.js +39 -0
- package/components/Stack/Stack.js.map +1 -0
- package/components/Stack/StackItem.d.ts +7 -0
- package/components/Stack/StackItem.js +30 -0
- package/components/Stack/StackItem.js.map +1 -0
- package/components/Stack/index.d.ts +2 -0
- package/components/Stack/index.js +3 -0
- package/components/Stack/index.js.map +1 -0
- package/components/Stack/package.json +8 -0
- package/components/Stack/useStackStyleProps.d.ts +14 -0
- package/components/Stack/useStackStyleProps.js +38 -0
- package/components/Stack/useStackStyleProps.js.map +1 -0
- package/components/Tabs/TabContent.d.ts +6 -0
- package/components/Tabs/TabContent.js +22 -0
- package/components/Tabs/TabContent.js.map +1 -0
- package/components/Tabs/TabContext.d.ts +8 -0
- package/components/Tabs/TabContext.js +14 -0
- package/components/Tabs/TabContext.js.map +1 -0
- package/components/Tabs/TabItem.d.ts +6 -0
- package/components/Tabs/TabItem.js +37 -0
- package/components/Tabs/TabItem.js.map +1 -0
- package/components/Tabs/TabLink.d.ts +4 -0
- package/components/Tabs/TabLink.js +33 -0
- package/components/Tabs/TabLink.js.map +1 -0
- package/components/Tabs/TabList.d.ts +7 -0
- package/components/Tabs/TabList.js +28 -0
- package/components/Tabs/TabList.js.map +1 -0
- package/components/Tabs/TabPane.d.ts +6 -0
- package/components/Tabs/TabPane.js +27 -0
- package/components/Tabs/TabPane.js.map +1 -0
- package/components/Tabs/Tabs.cjs +530 -0
- package/components/Tabs/Tabs.cjs.map +1 -0
- package/components/Tabs/Tabs.d.ts +6 -0
- package/components/Tabs/Tabs.js +7 -0
- package/components/Tabs/Tabs.js.map +1 -0
- package/components/Tabs/UncontrolledTabs.d.ts +6 -0
- package/components/Tabs/UncontrolledTabs.js +11 -0
- package/components/Tabs/UncontrolledTabs.js.map +1 -0
- package/components/Tabs/index.d.ts +11 -0
- package/components/Tabs/index.js +12 -0
- package/components/Tabs/index.js.map +1 -0
- package/components/Tabs/package.json +8 -0
- package/components/Tabs/useTabs.d.ts +5 -0
- package/components/Tabs/useTabs.js +10 -0
- package/components/Tabs/useTabs.js.map +1 -0
- package/components/Tabs/useTabsStyleProps.d.ts +15 -0
- package/components/Tabs/useTabsStyleProps.js +39 -0
- package/components/Tabs/useTabsStyleProps.js.map +1 -0
- package/components/Tag/Tag.cjs +383 -0
- package/components/Tag/Tag.cjs.map +1 -0
- package/components/Tag/Tag.d.ts +4 -0
- package/components/Tag/Tag.js +36 -0
- package/components/Tag/Tag.js.map +1 -0
- package/components/Tag/constants.d.ts +3 -0
- package/components/Tag/constants.js +4 -0
- package/components/Tag/constants.js.map +1 -0
- package/components/Tag/index.d.ts +3 -0
- package/components/Tag/index.js +4 -0
- package/components/Tag/index.js.map +1 -0
- package/components/Tag/package.json +8 -0
- package/components/Tag/useTagStyleProps.d.ts +7 -0
- package/components/Tag/useTagStyleProps.js +30 -0
- package/components/Tag/useTagStyleProps.js.map +1 -0
- package/components/Text/Text.cjs +385 -0
- package/components/Text/Text.cjs.map +1 -0
- package/components/Text/Text.d.ts +7 -0
- package/components/Text/Text.js +38 -0
- package/components/Text/Text.js.map +1 -0
- package/components/Text/index.d.ts +2 -0
- package/components/Text/index.js +3 -0
- package/components/Text/index.js.map +1 -0
- package/components/Text/package.json +8 -0
- package/components/Text/useTextStyleProps.d.ts +7 -0
- package/components/Text/useTextStyleProps.js +26 -0
- package/components/Text/useTextStyleProps.js.map +1 -0
- package/components/TextArea/TextArea.cjs +810 -0
- package/components/TextArea/TextArea.cjs.map +1 -0
- package/components/TextArea/TextArea.d.ts +4 -0
- package/components/TextArea/TextArea.js +30 -0
- package/components/TextArea/TextArea.js.map +1 -0
- package/components/TextArea/index.d.ts +1 -0
- package/components/TextArea/index.js +2 -0
- package/components/TextArea/index.js.map +1 -0
- package/components/TextArea/package.json +8 -0
- package/components/TextArea/useAdjustHeight.d.ts +13 -0
- package/components/TextArea/useAdjustHeight.js +37 -0
- package/components/TextArea/useAdjustHeight.js.map +1 -0
- package/components/TextField/TextField.cjs +754 -0
- package/components/TextField/TextField.cjs.map +1 -0
- package/components/TextField/TextField.d.ts +4 -0
- package/components/TextField/TextField.js +8 -0
- package/components/TextField/TextField.js.map +1 -0
- package/components/TextField/index.d.ts +1 -0
- package/components/TextField/index.js +2 -0
- package/components/TextField/index.js.map +1 -0
- package/components/TextField/package.json +8 -0
- package/components/TextFieldBase/TextFieldBase.cjs +750 -0
- package/components/TextFieldBase/TextFieldBase.cjs.map +1 -0
- package/components/TextFieldBase/TextFieldBase.d.ts +7 -0
- package/components/TextFieldBase/TextFieldBase.js +44 -0
- package/components/TextFieldBase/TextFieldBase.js.map +1 -0
- package/components/TextFieldBase/TextFieldBaseInput.d.ts +4 -0
- package/components/TextFieldBase/TextFieldBaseInput.js +27 -0
- package/components/TextFieldBase/TextFieldBaseInput.js.map +1 -0
- package/components/TextFieldBase/TextFieldBasePasswordToggle.d.ts +6 -0
- package/components/TextFieldBase/TextFieldBasePasswordToggle.js +17 -0
- package/components/TextFieldBase/TextFieldBasePasswordToggle.js.map +1 -0
- package/components/TextFieldBase/index.d.ts +1 -0
- package/components/TextFieldBase/index.js +2 -0
- package/components/TextFieldBase/index.js.map +1 -0
- package/components/TextFieldBase/package.json +8 -0
- package/components/TextFieldBase/usePasswordToggle.d.ts +4 -0
- package/components/TextFieldBase/usePasswordToggle.js +11 -0
- package/components/TextFieldBase/usePasswordToggle.js.map +1 -0
- package/components/TextFieldBase/useTextFieldBaseInputStyleProps.d.ts +8 -0
- package/components/TextFieldBase/useTextFieldBaseInputStyleProps.js +25 -0
- package/components/TextFieldBase/useTextFieldBaseInputStyleProps.js.map +1 -0
- package/components/TextFieldBase/useTextFieldBasePasswordToggleStyleProps.d.ts +8 -0
- package/components/TextFieldBase/useTextFieldBasePasswordToggleStyleProps.js +15 -0
- package/components/TextFieldBase/useTextFieldBasePasswordToggleStyleProps.js.map +1 -0
- package/components/TextFieldBase/useTextFieldBaseStyleProps.d.ts +15 -0
- package/components/TextFieldBase/useTextFieldBaseStyleProps.js +55 -0
- package/components/TextFieldBase/useTextFieldBaseStyleProps.js.map +1 -0
- package/components/TextFieldBase/withPasswordToggle.d.ts +10 -0
- package/components/TextFieldBase/withPasswordToggle.js +29 -0
- package/components/TextFieldBase/withPasswordToggle.js.map +1 -0
- package/components/Timeline/Timeline.cjs +514 -0
- package/components/Timeline/Timeline.cjs.map +1 -0
- package/components/Timeline/Timeline.d.ts +7 -0
- package/components/Timeline/Timeline.js +32 -0
- package/components/Timeline/Timeline.js.map +1 -0
- package/components/Timeline/TimelineContent.d.ts +7 -0
- package/components/Timeline/TimelineContent.js +25 -0
- package/components/Timeline/TimelineContent.js.map +1 -0
- package/components/Timeline/TimelineHeading.d.ts +7 -0
- package/components/Timeline/TimelineHeading.js +25 -0
- package/components/Timeline/TimelineHeading.js.map +1 -0
- package/components/Timeline/TimelineMarker.d.ts +7 -0
- package/components/Timeline/TimelineMarker.js +35 -0
- package/components/Timeline/TimelineMarker.js.map +1 -0
- package/components/Timeline/TimelineStep.d.ts +7 -0
- package/components/Timeline/TimelineStep.js +30 -0
- package/components/Timeline/TimelineStep.js.map +1 -0
- package/components/Timeline/constants.d.ts +6 -0
- package/components/Timeline/constants.js +8 -0
- package/components/Timeline/constants.js.map +1 -0
- package/components/Timeline/index.d.ts +6 -0
- package/components/Timeline/index.js +7 -0
- package/components/Timeline/index.js.map +1 -0
- package/components/Timeline/package.json +8 -0
- package/components/Timeline/useTimelineStyleProps.d.ts +20 -0
- package/components/Timeline/useTimelineStyleProps.js +49 -0
- package/components/Timeline/useTimelineStyleProps.js.map +1 -0
- package/components/Toast/Toast.cjs +736 -0
- package/components/Toast/Toast.cjs.map +1 -0
- package/components/Toast/Toast.d.ts +7 -0
- package/components/Toast/Toast.js +33 -0
- package/components/Toast/Toast.js.map +1 -0
- package/components/Toast/ToastBar.d.ts +7 -0
- package/components/Toast/ToastBar.js +38 -0
- package/components/Toast/ToastBar.js.map +1 -0
- package/components/Toast/ToastBarLink.d.ts +4 -0
- package/components/Toast/ToastBarLink.js +31 -0
- package/components/Toast/ToastBarLink.js.map +1 -0
- package/components/Toast/ToastBarMessage.d.ts +7 -0
- package/components/Toast/ToastBarMessage.js +23 -0
- package/components/Toast/ToastBarMessage.js.map +1 -0
- package/components/Toast/ToastCloseButton.d.ts +7 -0
- package/components/Toast/ToastCloseButton.js +32 -0
- package/components/Toast/ToastCloseButton.js.map +1 -0
- package/components/Toast/ToastContext.d.ts +43 -0
- package/components/Toast/ToastContext.js +102 -0
- package/components/Toast/ToastContext.js.map +1 -0
- package/components/Toast/UncontrolledToast.d.ts +7 -0
- package/components/Toast/UncontrolledToast.js +31 -0
- package/components/Toast/UncontrolledToast.js.map +1 -0
- package/components/Toast/constants.d.ts +9 -0
- package/components/Toast/constants.js +15 -0
- package/components/Toast/constants.js.map +1 -0
- package/components/Toast/index.d.ts +7 -0
- package/components/Toast/index.js +8 -0
- package/components/Toast/index.js.map +1 -0
- package/components/Toast/package.json +8 -0
- package/components/Toast/useToast.d.ts +1 -0
- package/components/Toast/useToast.js +11 -0
- package/components/Toast/useToast.js.map +1 -0
- package/components/Toast/useToastBarStyleProps.d.ts +31 -0
- package/components/Toast/useToastBarStyleProps.js +40 -0
- package/components/Toast/useToastBarStyleProps.js.map +1 -0
- package/components/Toast/useToastIcon.d.ts +2 -0
- package/components/Toast/useToastIcon.js +13 -0
- package/components/Toast/useToastIcon.js.map +1 -0
- package/components/Toast/useToastStyleProps.d.ts +9 -0
- package/components/Toast/useToastStyleProps.js +37 -0
- package/components/Toast/useToastStyleProps.js.map +1 -0
- package/components/Toggle/Toggle.cjs +647 -0
- package/components/Toggle/Toggle.cjs.map +1 -0
- package/components/Toggle/Toggle.d.ts +4 -0
- package/components/Toggle/Toggle.js +44 -0
- package/components/Toggle/Toggle.js.map +1 -0
- package/components/Toggle/index.d.ts +2 -0
- package/components/Toggle/index.js +3 -0
- package/components/Toggle/index.js.map +1 -0
- package/components/Toggle/package.json +8 -0
- package/components/Toggle/useToggleStyleProps.d.ts +13 -0
- package/components/Toggle/useToggleStyleProps.js +52 -0
- package/components/Toggle/useToggleStyleProps.js.map +1 -0
- package/components/Tooltip/Tooltip.cjs +867 -0
- package/components/Tooltip/Tooltip.cjs.map +1 -0
- package/components/Tooltip/Tooltip.d.ts +7 -0
- package/components/Tooltip/Tooltip.js +90 -0
- package/components/Tooltip/Tooltip.js.map +1 -0
- package/components/Tooltip/TooltipCloseButton.d.ts +7 -0
- package/components/Tooltip/TooltipCloseButton.js +29 -0
- package/components/Tooltip/TooltipCloseButton.js.map +1 -0
- package/components/Tooltip/TooltipContext.d.ts +29 -0
- package/components/Tooltip/TooltipContext.js +34 -0
- package/components/Tooltip/TooltipContext.js.map +1 -0
- package/components/Tooltip/TooltipPopover.d.ts +7 -0
- package/components/Tooltip/TooltipPopover.js +63 -0
- package/components/Tooltip/TooltipPopover.js.map +1 -0
- package/components/Tooltip/TooltipTrigger.d.ts +7 -0
- package/components/Tooltip/TooltipTrigger.js +31 -0
- package/components/Tooltip/TooltipTrigger.js.map +1 -0
- package/components/Tooltip/UncontrolledTooltip.d.ts +7 -0
- package/components/Tooltip/UncontrolledTooltip.js +23 -0
- package/components/Tooltip/UncontrolledTooltip.js.map +1 -0
- package/components/Tooltip/index.d.ts +7 -0
- package/components/Tooltip/index.js +8 -0
- package/components/Tooltip/index.js.map +1 -0
- package/components/Tooltip/package.json +8 -0
- package/components/Tooltip/useFloating.d.ts +58 -0
- package/components/Tooltip/useFloating.js +123 -0
- package/components/Tooltip/useFloating.js.map +1 -0
- package/components/Tooltip/useTooltip.d.ts +5 -0
- package/components/Tooltip/useTooltip.js +10 -0
- package/components/Tooltip/useTooltip.js.map +1 -0
- package/components/Tooltip/useTooltipStyleProps.d.ts +16 -0
- package/components/Tooltip/useTooltipStyleProps.js +39 -0
- package/components/Tooltip/useTooltipStyleProps.js.map +1 -0
- package/components/Truncate/Truncate.cjs +421 -0
- package/components/Truncate/Truncate.cjs.map +1 -0
- package/components/Truncate/Truncate.d.ts +7 -0
- package/components/Truncate/Truncate.js +36 -0
- package/components/Truncate/Truncate.js.map +1 -0
- package/components/Truncate/index.d.ts +3 -0
- package/components/Truncate/index.js +4 -0
- package/components/Truncate/index.js.map +1 -0
- package/components/Truncate/package.json +8 -0
- package/components/Truncate/useTruncateStyleProps.d.ts +14 -0
- package/components/Truncate/useTruncateStyleProps.js +30 -0
- package/components/Truncate/useTruncateStyleProps.js.map +1 -0
- package/components/Truncate/useTruncatedText.d.ts +6 -0
- package/components/Truncate/useTruncatedText.js +36 -0
- package/components/Truncate/useTruncatedText.js.map +1 -0
- package/components/UNSTABLE_Header/UNSTABLE_Header.cjs +400 -0
- package/components/UNSTABLE_Header/UNSTABLE_Header.cjs.map +1 -0
- package/components/UNSTABLE_Header/UNSTABLE_Header.d.ts +7 -0
- package/components/UNSTABLE_Header/UNSTABLE_Header.js +25 -0
- package/components/UNSTABLE_Header/UNSTABLE_Header.js.map +1 -0
- package/components/UNSTABLE_Header/UNSTABLE_HeaderLogo.d.ts +4 -0
- package/components/UNSTABLE_Header/UNSTABLE_HeaderLogo.js +31 -0
- package/components/UNSTABLE_Header/UNSTABLE_HeaderLogo.js.map +1 -0
- package/components/UNSTABLE_Header/index.d.ts +3 -0
- package/components/UNSTABLE_Header/index.js +4 -0
- package/components/UNSTABLE_Header/index.js.map +1 -0
- package/components/UNSTABLE_Header/package.json +8 -0
- package/components/UNSTABLE_Header/useUnstableHeaderStyleProps.d.ts +9 -0
- package/components/UNSTABLE_Header/useUnstableHeaderStyleProps.js +30 -0
- package/components/UNSTABLE_Header/useUnstableHeaderStyleProps.js.map +1 -0
- package/components/VisuallyHidden/VisuallyHidden.cjs +361 -0
- package/components/VisuallyHidden/VisuallyHidden.cjs.map +1 -0
- package/components/VisuallyHidden/VisuallyHidden.d.ts +7 -0
- package/components/VisuallyHidden/VisuallyHidden.js +26 -0
- package/components/VisuallyHidden/VisuallyHidden.js.map +1 -0
- package/components/VisuallyHidden/index.d.ts +1 -0
- package/components/VisuallyHidden/index.js +2 -0
- package/components/VisuallyHidden/index.js.map +1 -0
- package/components/VisuallyHidden/package.json +8 -0
- package/components/VisuallyHidden/useVisuallyHiddenProps.d.ts +7 -0
- package/components/VisuallyHidden/useVisuallyHiddenProps.js +21 -0
- package/components/VisuallyHidden/useVisuallyHiddenProps.js.map +1 -0
- package/components/components.cjs +8434 -0
- package/components/components.cjs.map +1 -0
- package/components/index.d.ts +62 -0
- package/components/index.js +63 -0
- package/components/index.js.map +1 -0
- package/components/package.json +8 -0
- package/constants/classes.d.ts +1 -0
- package/constants/classes.js +2 -0
- package/constants/classes.js.map +1 -0
- package/constants/colors.d.ts +4 -0
- package/constants/colors.js +5 -0
- package/constants/colors.js.map +1 -0
- package/constants/constants.cjs +244 -0
- package/constants/constants.cjs.map +1 -0
- package/constants/dictionaries.d.ts +139 -0
- package/constants/dictionaries.js +117 -0
- package/constants/dictionaries.js.map +1 -0
- package/constants/direction.d.ts +15 -0
- package/constants/direction.js +12 -0
- package/constants/direction.js.map +1 -0
- package/constants/index.d.ts +8 -0
- package/constants/index.js +9 -0
- package/constants/index.js.map +1 -0
- package/constants/media.d.ts +4 -0
- package/constants/media.js +5 -0
- package/constants/media.js.map +1 -0
- package/constants/package.json +8 -0
- package/constants/position.d.ts +6 -0
- package/constants/position.js +7 -0
- package/constants/position.js.map +1 -0
- package/constants/style.d.ts +40 -0
- package/constants/style.js +41 -0
- package/constants/style.js.map +1 -0
- package/constants/text.d.ts +10 -0
- package/constants/text.js +11 -0
- package/constants/text.js.map +1 -0
- package/context/ClassNamePrefixContext.d.ts +7 -0
- package/context/ClassNamePrefixContext.js +9 -0
- package/context/ClassNamePrefixContext.js.map +1 -0
- package/context/IconsContext.d.ts +7 -0
- package/context/IconsContext.js +9 -0
- package/context/IconsContext.js.map +1 -0
- package/context/PropsContext.d.ts +7 -0
- package/context/PropsContext.js +12 -0
- package/context/PropsContext.js.map +1 -0
- package/context/context.cjs +30 -0
- package/context/context.cjs.map +1 -0
- package/context/index.d.ts +3 -0
- package/context/index.js +4 -0
- package/context/index.js.map +1 -0
- package/context/package.json +8 -0
- package/hooks/__mocks__/useIcon.d.ts +1 -0
- package/hooks/__mocks__/useIcon.js +2 -0
- package/hooks/__mocks__/useIcon.js.map +1 -0
- package/hooks/hooks.cjs +684 -0
- package/hooks/hooks.cjs.map +1 -0
- package/hooks/index.d.ts +20 -0
- package/hooks/index.js +21 -0
- package/hooks/index.js.map +1 -0
- package/hooks/package.json +8 -0
- package/hooks/styleProps.d.ts +7 -0
- package/hooks/styleProps.js +46 -0
- package/hooks/styleProps.js.map +1 -0
- package/hooks/useAlignmentClass.d.ts +3 -0
- package/hooks/useAlignmentClass.js +7 -0
- package/hooks/useAlignmentClass.js.map +1 -0
- package/hooks/useAriaDescribedBy.d.ts +5 -0
- package/hooks/useAriaDescribedBy.js +4 -0
- package/hooks/useAriaDescribedBy.js.map +1 -0
- package/hooks/useCancelEvent.d.ts +2 -0
- package/hooks/useCancelEvent.js +39 -0
- package/hooks/useCancelEvent.js.map +1 -0
- package/hooks/useClassNamePrefix.d.ts +1 -0
- package/hooks/useClassNamePrefix.js +16 -0
- package/hooks/useClassNamePrefix.js.map +1 -0
- package/hooks/useClick.d.ts +2 -0
- package/hooks/useClick.js +12 -0
- package/hooks/useClick.js.map +1 -0
- package/hooks/useClickOutside.d.ts +6 -0
- package/hooks/useClickOutside.js +34 -0
- package/hooks/useClickOutside.js.map +1 -0
- package/hooks/useDeprecationMessage.d.ts +19 -0
- package/hooks/useDeprecationMessage.js +43 -0
- package/hooks/useDeprecationMessage.js.map +1 -0
- package/hooks/useDimensionStyle.d.ts +5 -0
- package/hooks/useDimensionStyle.js +16 -0
- package/hooks/useDimensionStyle.js.map +1 -0
- package/hooks/useDirectionClass.d.ts +2 -0
- package/hooks/useDirectionClass.js +5 -0
- package/hooks/useDirectionClass.js.map +1 -0
- package/hooks/useDragAndDrop.d.ts +7 -0
- package/hooks/useDragAndDrop.js +38 -0
- package/hooks/useDragAndDrop.js.map +1 -0
- package/hooks/useIcon.d.ts +1 -0
- package/hooks/useIcon.js +13 -0
- package/hooks/useIcon.js.map +1 -0
- package/hooks/useIconName.d.ts +1 -0
- package/hooks/useIconName.js +4 -0
- package/hooks/useIconName.js.map +1 -0
- package/hooks/useIsMounted.d.ts +1 -0
- package/hooks/useIsMounted.js +13 -0
- package/hooks/useIsMounted.js.map +1 -0
- package/hooks/useIsomorphicLayoutEffect.d.ts +2 -0
- package/hooks/useIsomorphicLayoutEffect.js +5 -0
- package/hooks/useIsomorphicLayoutEffect.js.map +1 -0
- package/hooks/useLastActiveFocus.d.ts +1 -0
- package/hooks/useLastActiveFocus.js +14 -0
- package/hooks/useLastActiveFocus.js.map +1 -0
- package/hooks/useResizeObserver.d.ts +12 -0
- package/hooks/useResizeObserver.js +66 -0
- package/hooks/useResizeObserver.js.map +1 -0
- package/hooks/useScrollControl.d.ts +2 -0
- package/hooks/useScrollControl.js +28 -0
- package/hooks/useScrollControl.js.map +1 -0
- package/hooks/useSpacingStyle.d.ts +3 -0
- package/hooks/useSpacingStyle.js +19 -0
- package/hooks/useSpacingStyle.js.map +1 -0
- package/hooks/useStyleUtilities.d.ts +10 -0
- package/hooks/useStyleUtilities.js +85 -0
- package/hooks/useStyleUtilities.js.map +1 -0
- package/hooks/useToggle.d.ts +1 -0
- package/hooks/useToggle.js +8 -0
- package/hooks/useToggle.js.map +1 -0
- package/hooks/useWrapClass.d.ts +3 -0
- package/hooks/useWrapClass.js +14 -0
- package/hooks/useWrapClass.js.map +1 -0
- package/index.cjs +8659 -0
- package/index.cjs.map +1 -0
- package/index.d.ts +6 -0
- package/index.js +7 -0
- package/index.js.map +1 -0
- package/package.json +143 -0
- package/spirit-web-react.cjs +8654 -0
- package/spirit-web-react.cjs.map +1 -0
- package/spirit-web-react.min.cjs +1 -0
- package/types/accordion.d.ts +25 -0
- package/types/accordion.js +2 -0
- package/types/accordion.js.map +1 -0
- package/types/actionGroup.d.ts +4 -0
- package/types/actionGroup.js +2 -0
- package/types/actionGroup.js.map +1 -0
- package/types/alert.d.ts +12 -0
- package/types/alert.js +2 -0
- package/types/alert.js.map +1 -0
- package/types/avatar.d.ts +12 -0
- package/types/avatar.js +2 -0
- package/types/avatar.js.map +1 -0
- package/types/box.d.ts +22 -0
- package/types/box.js +2 -0
- package/types/box.js.map +1 -0
- package/types/breadcrumbs.d.ts +25 -0
- package/types/breadcrumbs.js +2 -0
- package/types/breadcrumbs.js.map +1 -0
- package/types/button.d.ts +21 -0
- package/types/button.js +2 -0
- package/types/button.js.map +1 -0
- package/types/card.d.ts +67 -0
- package/types/card.js +3 -0
- package/types/card.js.map +1 -0
- package/types/checkbox.d.ts +11 -0
- package/types/checkbox.js +2 -0
- package/types/checkbox.js.map +1 -0
- package/types/collapse.d.ts +29 -0
- package/types/collapse.js +2 -0
- package/types/collapse.js.map +1 -0
- package/types/container.d.ts +11 -0
- package/types/container.js +2 -0
- package/types/container.js.map +1 -0
- package/types/controlButton.d.ts +14 -0
- package/types/controlButton.js +2 -0
- package/types/controlButton.js.map +1 -0
- package/types/divider.d.ts +3 -0
- package/types/divider.js +2 -0
- package/types/divider.js.map +1 -0
- package/types/drawer.d.ts +29 -0
- package/types/drawer.js +2 -0
- package/types/drawer.js.map +1 -0
- package/types/dropdown.d.ts +48 -0
- package/types/dropdown.js +6 -0
- package/types/dropdown.js.map +1 -0
- package/types/emptyState.d.ts +4 -0
- package/types/emptyState.js +2 -0
- package/types/emptyState.js.map +1 -0
- package/types/fieldGroup.d.ts +13 -0
- package/types/fieldGroup.js +2 -0
- package/types/fieldGroup.js.map +1 -0
- package/types/fileUploader.d.ts +118 -0
- package/types/fileUploader.js +2 -0
- package/types/fileUploader.js.map +1 -0
- package/types/flex.d.ts +31 -0
- package/types/flex.js +2 -0
- package/types/flex.js.map +1 -0
- package/types/footer.d.ts +9 -0
- package/types/footer.js +2 -0
- package/types/footer.js.map +1 -0
- package/types/grid.d.ts +48 -0
- package/types/grid.js +2 -0
- package/types/grid.js.map +1 -0
- package/types/header.d.ts +60 -0
- package/types/header.js +2 -0
- package/types/header.js.map +1 -0
- package/types/heading.d.ts +14 -0
- package/types/heading.js +2 -0
- package/types/heading.js.map +1 -0
- package/types/icon.d.ts +13 -0
- package/types/icon.js +2 -0
- package/types/icon.js.map +1 -0
- package/types/iconBox.d.ts +18 -0
- package/types/iconBox.js +2 -0
- package/types/iconBox.js.map +1 -0
- package/types/index.d.ts +60 -0
- package/types/index.js +61 -0
- package/types/index.js.map +1 -0
- package/types/item.d.ts +16 -0
- package/types/item.js +2 -0
- package/types/item.js.map +1 -0
- package/types/label.d.ts +12 -0
- package/types/label.js +2 -0
- package/types/label.js.map +1 -0
- package/types/link.d.ts +20 -0
- package/types/link.js +6 -0
- package/types/link.js.map +1 -0
- package/types/matrix.d.ts +17 -0
- package/types/matrix.js +2 -0
- package/types/matrix.js.map +1 -0
- package/types/modal.d.ts +44 -0
- package/types/modal.js +2 -0
- package/types/modal.js.map +1 -0
- package/types/navigation.d.ts +36 -0
- package/types/navigation.js +2 -0
- package/types/navigation.js.map +1 -0
- package/types/package.json +8 -0
- package/types/pagination.d.ts +44 -0
- package/types/pagination.js +2 -0
- package/types/pagination.js.map +1 -0
- package/types/partnerLogo.d.ts +7 -0
- package/types/partnerLogo.js +2 -0
- package/types/partnerLogo.js.map +1 -0
- package/types/pill.d.ts +13 -0
- package/types/pill.js +2 -0
- package/types/pill.js.map +1 -0
- package/types/pricingPlan.d.ts +32 -0
- package/types/pricingPlan.js +2 -0
- package/types/pricingPlan.js.map +1 -0
- package/types/productLogo.d.ts +3 -0
- package/types/productLogo.js +2 -0
- package/types/productLogo.js.map +1 -0
- package/types/radio.d.ts +10 -0
- package/types/radio.js +2 -0
- package/types/radio.js.map +1 -0
- package/types/scrollView.d.ts +30 -0
- package/types/scrollView.js +2 -0
- package/types/scrollView.js.map +1 -0
- package/types/section.d.ts +17 -0
- package/types/section.js +2 -0
- package/types/section.js.map +1 -0
- package/types/segmentedControl.d.ts +25 -0
- package/types/segmentedControl.js +2 -0
- package/types/segmentedControl.js.map +1 -0
- package/types/select.d.ts +15 -0
- package/types/select.js +2 -0
- package/types/select.js.map +1 -0
- package/types/shared/adornments.d.ts +3 -0
- package/types/shared/adornments.js +2 -0
- package/types/shared/adornments.js.map +1 -0
- package/types/shared/buttons.d.ts +1 -0
- package/types/shared/buttons.js +2 -0
- package/types/shared/buttons.js.map +1 -0
- package/types/shared/colors.d.ts +23 -0
- package/types/shared/colors.js +2 -0
- package/types/shared/colors.js.map +1 -0
- package/types/shared/columns.d.ts +1 -0
- package/types/shared/columns.js +2 -0
- package/types/shared/columns.js.map +1 -0
- package/types/shared/dialogs.d.ts +7 -0
- package/types/shared/dialogs.js +2 -0
- package/types/shared/dialogs.js.map +1 -0
- package/types/shared/dictionaries.d.ts +57 -0
- package/types/shared/dictionaries.js +2 -0
- package/types/shared/dictionaries.js.map +1 -0
- package/types/shared/directions.d.ts +5 -0
- package/types/shared/directions.js +2 -0
- package/types/shared/directions.js.map +1 -0
- package/types/shared/dragAndDrop.d.ts +7 -0
- package/types/shared/dragAndDrop.js +2 -0
- package/types/shared/dragAndDrop.js.map +1 -0
- package/types/shared/element.d.ts +35 -0
- package/types/shared/element.js +2 -0
- package/types/shared/element.js.map +1 -0
- package/types/shared/events.d.ts +8 -0
- package/types/shared/events.js +2 -0
- package/types/shared/events.js.map +1 -0
- package/types/shared/index.d.ts +33 -0
- package/types/shared/index.js +26 -0
- package/types/shared/index.js.map +1 -0
- package/types/shared/inputs.d.ts +31 -0
- package/types/shared/inputs.js +2 -0
- package/types/shared/inputs.js.map +1 -0
- package/types/shared/item.d.ts +3 -0
- package/types/shared/item.js +2 -0
- package/types/shared/item.js.map +1 -0
- package/types/shared/package.json +8 -0
- package/types/shared/positions.d.ts +3 -0
- package/types/shared/positions.js +2 -0
- package/types/shared/positions.js.map +1 -0
- package/types/shared/radii.d.ts +2 -0
- package/types/shared/radii.js +2 -0
- package/types/shared/radii.js.map +1 -0
- package/types/shared/refs.d.ts +5 -0
- package/types/shared/refs.js +2 -0
- package/types/shared/refs.js.map +1 -0
- package/types/shared/responsive.d.ts +4 -0
- package/types/shared/responsive.js +2 -0
- package/types/shared/responsive.js.map +1 -0
- package/types/shared/rest.d.ts +5 -0
- package/types/shared/rest.js +2 -0
- package/types/shared/rest.js.map +1 -0
- package/types/shared/shared.cjs +15 -0
- package/types/shared/shared.cjs.map +1 -0
- package/types/shared/sizes.d.ts +3 -0
- package/types/shared/sizes.js +2 -0
- package/types/shared/sizes.js.map +1 -0
- package/types/shared/style.d.ts +35 -0
- package/types/shared/style.js +2 -0
- package/types/shared/style.js.map +1 -0
- package/types/shared/text.d.ts +5 -0
- package/types/shared/text.js +2 -0
- package/types/shared/text.js.map +1 -0
- package/types/shared/tokens.d.ts +8 -0
- package/types/shared/tokens.js +2 -0
- package/types/shared/tokens.js.map +1 -0
- package/types/skeleton.d.ts +18 -0
- package/types/skeleton.js +2 -0
- package/types/skeleton.js.map +1 -0
- package/types/skipLink.d.ts +11 -0
- package/types/skipLink.js +2 -0
- package/types/skipLink.js.map +1 -0
- package/types/slider.d.ts +19 -0
- package/types/slider.js +2 -0
- package/types/slider.js.map +1 -0
- package/types/spinner.d.ts +7 -0
- package/types/spinner.js +2 -0
- package/types/spinner.js.map +1 -0
- package/types/splitButton.d.ts +26 -0
- package/types/splitButton.js +2 -0
- package/types/splitButton.js.map +1 -0
- package/types/stack.d.ts +18 -0
- package/types/stack.js +2 -0
- package/types/stack.js.map +1 -0
- package/types/tabs.d.ts +39 -0
- package/types/tabs.js +2 -0
- package/types/tabs.js.map +1 -0
- package/types/tag.d.ts +15 -0
- package/types/tag.js +2 -0
- package/types/tag.js.map +1 -0
- package/types/text.d.ts +14 -0
- package/types/text.js +2 -0
- package/types/text.js.map +1 -0
- package/types/textArea.d.ts +12 -0
- package/types/textArea.js +2 -0
- package/types/textArea.js.map +1 -0
- package/types/textField.d.ts +12 -0
- package/types/textField.js +2 -0
- package/types/textField.js.map +1 -0
- package/types/textFieldBase.d.ts +26 -0
- package/types/textFieldBase.js +2 -0
- package/types/textFieldBase.js.map +1 -0
- package/types/timeline.d.ts +29 -0
- package/types/timeline.js +2 -0
- package/types/timeline.js.map +1 -0
- package/types/toast.d.ts +50 -0
- package/types/toast.js +2 -0
- package/types/toast.js.map +1 -0
- package/types/toggle.d.ts +16 -0
- package/types/toggle.js +2 -0
- package/types/toggle.js.map +1 -0
- package/types/tooltip.d.ts +50 -0
- package/types/tooltip.js +9 -0
- package/types/tooltip.js.map +1 -0
- package/types/truncate.d.ts +13 -0
- package/types/truncate.js +6 -0
- package/types/truncate.js.map +1 -0
- package/types/types.cjs +99 -0
- package/types/types.cjs.map +1 -0
- package/types/unstableHeader.d.ts +14 -0
- package/types/unstableHeader.js +2 -0
- package/types/unstableHeader.js.map +1 -0
- package/types/visuallyHidden.d.ts +9 -0
- package/types/visuallyHidden.js +2 -0
- package/types/visuallyHidden.js.map +1 -0
- package/utils/assert.d.ts +6 -0
- package/utils/assert.js +33 -0
- package/utils/assert.js.map +1 -0
- package/utils/classname.d.ts +4 -0
- package/utils/classname.js +5 -0
- package/utils/classname.js.map +1 -0
- package/utils/colorObjectGenerators.d.ts +13 -0
- package/utils/colorObjectGenerators.js +32 -0
- package/utils/colorObjectGenerators.js.map +1 -0
- package/utils/compose.d.ts +1 -0
- package/utils/compose.js +2 -0
- package/utils/compose.js.map +1 -0
- package/utils/debounce.d.ts +1 -0
- package/utils/debounce.js +17 -0
- package/utils/debounce.js.map +1 -0
- package/utils/delayedCallback.d.ts +1 -0
- package/utils/delayedCallback.js +7 -0
- package/utils/delayedCallback.js.map +1 -0
- package/utils/htmlReactParser.d.ts +2 -0
- package/utils/htmlReactParser.js +14 -0
- package/utils/htmlReactParser.js.map +1 -0
- package/utils/index.d.ts +13 -0
- package/utils/index.js +14 -0
- package/utils/index.js.map +1 -0
- package/utils/mergeStyleProps.d.ts +18 -0
- package/utils/mergeStyleProps.js +35 -0
- package/utils/mergeStyleProps.js.map +1 -0
- package/utils/package.json +8 -0
- package/utils/responsive.d.ts +3 -0
- package/utils/responsive.js +23 -0
- package/utils/responsive.js.map +1 -0
- package/utils/ssr.d.ts +1 -0
- package/utils/ssr.js +2 -0
- package/utils/ssr.js.map +1 -0
- package/utils/string.d.ts +4 -0
- package/utils/string.js +22 -0
- package/utils/string.js.map +1 -0
- package/utils/stylePropsClassesGenerator.d.ts +9 -0
- package/utils/stylePropsClassesGenerator.js +23 -0
- package/utils/stylePropsClassesGenerator.js.map +1 -0
- package/utils/toPascalCase.d.ts +1 -0
- package/utils/toPascalCase.js +10 -0
- package/utils/toPascalCase.js.map +1 -0
- package/utils/utils.cjs +266 -0
- package/utils/utils.cjs.map +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toast.cjs","sources":["../../constants/dictionaries.js","../../constants/direction.js","../../constants/style.js","../../common/constants/environments.js","../../common/utilities/warning.js","../../context/ClassNamePrefixContext.js","../../types/card.js","../../types/shared/style.js","../../types/shared/tokens.js","../../types/shared/index.js","../../utils/assert.js","../../utils/classname.js","../../utils/htmlReactParser.js","../../utils/mergeStyleProps.js","../../utils/string.js","../../hooks/useStyleUtilities.js","../../hooks/styleProps.js","../../hooks/useClassNamePrefix.js","../../context/IconsContext.js","../../hooks/useIcon.js","../../hooks/useIconName.js","useToastStyleProps.js","Toast.js","../Icon/constants.js","../Icon/useIconBoxSize.js","../Icon/useIconStyleProps.js","../Icon/Icon.js","constants.js","../VisuallyHidden/useVisuallyHiddenProps.js","../VisuallyHidden/VisuallyHidden.js","useToastBarStyleProps.js","ToastCloseButton.js","useToastIcon.js","ToastBar.js","ToastBarMessage.js","ToastBarLink.js","ToastContext.js","useToast.js","UncontrolledToast.js"],"sourcesContent":["var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { componentColors, containers, emotionColors, textColors } from '@alma-oss/spirit-design-tokens';\nfunction createUppercaseKeyDictionary(obj) {\n return Object.fromEntries(Object.keys(obj).map((key) => [key.toUpperCase(), key]));\n}\nexport const AlignmentX = {\n LEFT: 'left',\n CENTER: 'center',\n RIGHT: 'right',\n};\nexport const AlignmentXExtended = Object.assign({ SPACE_BETWEEN: 'space-between', STRETCH: 'stretch' }, AlignmentX);\nexport const AlignmentY = {\n TOP: 'top',\n CENTER: 'center',\n BOTTOM: 'bottom',\n};\nexport const AlignmentYExtended = Object.assign({ BASELINE: 'baseline', STRETCH: 'stretch' }, AlignmentY);\nexport const TextAlignments = {\n LEFT: 'left',\n CENTER: 'center',\n RIGHT: 'right',\n};\nexport const BorderColors = {\n BASIC: 'basic',\n};\nexport const BorderRadii = {\n 0: '0',\n 100: '100',\n 200: '200',\n 300: '300',\n 400: '400',\n 500: '500',\n FULL: 'full',\n};\nexport const BorderStyles = {\n SOLID: 'solid',\n DOTTED: 'dotted',\n DASHED: 'dashed',\n};\nexport const BorderWidths = {\n 0: '0',\n 100: '100',\n 200: '200',\n};\nexport const BackgroundColors = {\n PRIMARY: 'primary',\n SECONDARY: 'secondary',\n TERTIARY: 'tertiary',\n};\nexport const ComponentButtonColors = createUppercaseKeyDictionary(componentColors.button);\nexport const EmotionColors = createUppercaseKeyDictionary(emotionColors);\nexport const LinkColors = {\n PRIMARY: 'primary',\n SECONDARY: 'secondary',\n TERTIARY: 'tertiary',\n};\nexport const TextColors = createUppercaseKeyDictionary(textColors);\nexport const Intensity = {\n BASIC: 'basic',\n SUBTLE: 'subtle',\n};\nexport const Emphasis = {\n REGULAR: 'regular',\n SEMIBOLD: 'semibold',\n BOLD: 'bold',\n ITALIC: 'italic',\n};\nexport const BackgroundGradients = {\n PRIMARY: 'primary',\n SECONDARY: 'secondary',\n};\nexport const Placements = {\n TOP: 'top',\n TOP_START: 'top-start',\n TOP_END: 'top-end',\n BOTTOM: 'bottom',\n BOTTOM_START: 'bottom-start',\n BOTTOM_END: 'bottom-end',\n LEFT: 'left',\n LEFT_START: 'left-start',\n LEFT_END: 'left-end',\n RIGHT: 'right',\n RIGHT_START: 'right-start',\n RIGHT_END: 'right-end',\n};\nexport const Sizes = {\n SMALL: 'small',\n MEDIUM: 'medium',\n LARGE: 'large',\n};\nexport const SizesExtended = Object.assign(Object.assign({ XSMALL: 'xsmall' }, Sizes), { XLARGE: 'xlarge' });\nconst _a = createUppercaseKeyDictionary(containers), { MAXWIDTH, PADDING } = _a, ContainerTokenSizes = __rest(_a, [\"MAXWIDTH\", \"PADDING\"]);\nexport { ContainerTokenSizes };\nexport const ValidationStates = {\n SUCCESS: 'success',\n WARNING: 'warning',\n DANGER: 'danger',\n};\nexport const FillVariants = {\n FILL: 'fill',\n OUTLINE: 'outline',\n};\nexport const ShapeVariants = {\n BOX: 'box',\n PILL: 'pill',\n};\n//# sourceMappingURL=dictionaries.js.map","export const Direction = {\n HORIZONTAL: 'horizontal',\n VERTICAL: 'vertical',\n};\nexport const DirectionExtended = Object.assign(Object.assign({}, Direction), { HORIZONTAL_REVERSED: 'horizontal-reversed' });\nexport var DirectionAxis;\n(function (DirectionAxis) {\n DirectionAxis[\"X\"] = \"x\";\n DirectionAxis[\"Y\"] = \"y\";\n})(DirectionAxis || (DirectionAxis = {}));\nexport const isDirectionHorizontal = (direction) => direction === Direction.HORIZONTAL;\n//# sourceMappingURL=direction.js.map","export const BackgroundStyleProps = {\n backgroundGradient: 'bg-gradient',\n};\nexport const BorderRadiusStyleProps = {\n borderRadius: 'rounded',\n};\nexport const SpacingStyleProp = {\n margin: 'm',\n marginTop: 'mt',\n marginRight: 'mr',\n marginBottom: 'mb',\n marginLeft: 'ml',\n marginX: 'mx',\n marginY: 'my',\n};\nexport const PaddingStyleProps = {\n padding: 'p',\n paddingBottom: 'pb',\n paddingLeft: 'pl',\n paddingRight: 'pr',\n paddingTop: 'pt',\n paddingX: 'px',\n paddingY: 'py',\n};\nexport const TextStyleProps = {\n isTextBalanced: 'text-wrap-pretty',\n textAlignment: 'text',\n textHyphens: 'text-hyphens',\n textWordBreak: 'text-word-break',\n};\nexport const HeadingStyleProps = {\n isTextBalanced: 'text-wrap-balance',\n};\nexport const DisplayStyleProps = {\n hideOn: 'd',\n hideFrom: 'd',\n};\nexport const ThemeStyleProps = {\n theme: '',\n};\n//# sourceMappingURL=style.js.map","export const ENVIRONMENTS = {\n DEVELOPMENT: 'development',\n TESTING: 'testing',\n PRODUCTION: 'production',\n};\nexport const isDevelopment = () => process.env.NODE_ENV === ENVIRONMENTS.DEVELOPMENT;\nexport const isTesting = () => process.env.NODE_ENV === ENVIRONMENTS.TESTING;\nexport const isProduction = () => process.env.NODE_ENV === ENVIRONMENTS.PRODUCTION;\n//# sourceMappingURL=environments.js.map","import { isProduction } from \"../constants/environments.js\";\nconst warning = (condition, message) => {\n if (!isProduction()) {\n if (condition) {\n return;\n }\n const text = `Warning: ${message}`;\n if (typeof console !== 'undefined') {\n console.warn(text);\n }\n try {\n throw Error(text);\n }\n catch (x) {\n }\n }\n};\nexport default warning;\n//# sourceMappingURL=warning.js.map","'use client';\nimport { createContext } from 'react';\nconst defaultContext = undefined;\nconst ClassNamePrefixContext = createContext(defaultContext);\nconst ClassNamePrefixProvider = ClassNamePrefixContext.Provider;\nconst ClassNamePrefixConsumer = ClassNamePrefixContext.Consumer;\nexport default ClassNamePrefixContext;\nexport { ClassNamePrefixConsumer, ClassNamePrefixProvider };\n//# sourceMappingURL=ClassNamePrefixContext.js.map","import { Sizes } from \"../constants/index.js\";\nexport const CardSizes = Object.assign(Object.assign({}, Sizes), { AUTO: 'auto' });\n//# sourceMappingURL=card.js.map","export const STYLE_SPACING_AUTO = 'auto';\n//# sourceMappingURL=style.js.map","export const BREAKPOINT_MOBILE = 'mobile';\n//# sourceMappingURL=tokens.js.map","export * from \"./adornments.js\";\nexport * from \"./buttons.js\";\nexport * from \"./colors.js\";\nexport * from \"./columns.js\";\nexport * from \"./dialogs.js\";\nexport * from \"./dictionaries.js\";\nexport * from \"./directions.js\";\nexport * from \"./dragAndDrop.js\";\nexport * from \"./element.js\";\nexport * from \"./events.js\";\nexport * from \"./inputs.js\";\nexport * from \"./item.js\";\nexport * from \"./positions.js\";\nexport * from \"./radii.js\";\nexport * from \"./refs.js\";\nexport * from \"./responsive.js\";\nexport * from \"./rest.js\";\nexport * from \"./sizes.js\";\nexport * from \"./style.js\";\nexport * from \"./tokens.js\";\nexport var SpiritBreakpoints;\n(function (SpiritBreakpoints) {\n SpiritBreakpoints[\"TABLET\"] = \"tablet\";\n SpiritBreakpoints[\"DESKTOP\"] = \"desktop\";\n})(SpiritBreakpoints || (SpiritBreakpoints = {}));\n//# sourceMappingURL=index.js.map","export const isNullish = (value) => value == null;\nexport const isEmptyString = (value) => typeof value === 'string' && value.trim() === '';\nexport const isEmptyArray = (value) => Array.isArray(value) && value.length === 0;\nexport const isEmptyObject = (value) => typeof value === 'object' && value !== null && Object.keys(value).length === 0;\nexport const isEnumerable = (value) => {\n if (typeof value === 'object' && value !== null) {\n for (const key in value) {\n if (Object.hasOwnProperty.call(value, key)) {\n return true;\n }\n }\n }\n return false;\n};\nexport const isEmpty = (value) => {\n if (isNullish(value)) {\n return true;\n }\n if (isEmptyString(value)) {\n return true;\n }\n if (isEmptyArray(value)) {\n return true;\n }\n if (isEmptyObject(value)) {\n return true;\n }\n if (isEnumerable(value)) {\n return false;\n }\n return false;\n};\n//# sourceMappingURL=assert.js.map","export const applyClassNamePrefix = (prefix) => (className) => prefix != null && prefix !== '' ? `${prefix}-${className}` : className;\nexport const applyColor = (color) => (className) => `${className}--${color}`;\nexport const applySize = (size) => (className) => `${className}--${size}`;\nexport const applyTheme = (theme) => (className) => `${className}--${theme}`;\n//# sourceMappingURL=classname.js.map","import htmlDomParser from 'html-dom-parser';\nimport domToReactLib from 'html-react-parser/lib/dom-to-react';\nexport const htmlReactParser = (html) => {\n if (typeof html !== 'string') {\n throw new TypeError('First argument must be a string');\n }\n if (!html) {\n return [];\n }\n const htmlToDOM = typeof htmlDomParser.default === 'function' ? htmlDomParser.default : htmlDomParser;\n const domToReact = typeof domToReactLib.default === 'function' ? domToReactLib.default : domToReactLib;\n return domToReact(htmlToDOM(html));\n};\n//# sourceMappingURL=htmlReactParser.js.map","export function mergeStyleProps(ElementTag, styleProps) {\n const isSpiritComponent = typeof ElementTag !== 'string' && !!(ElementTag === null || ElementTag === void 0 ? void 0 : ElementTag.spiritComponent);\n const isNonNullableObject = (styleProp) => typeof styleProp === 'object' && styleProp !== null;\n const extractClassNames = (styleProp) => {\n if (typeof styleProp === 'string') {\n return [styleProp];\n }\n if (isNonNullableObject(styleProp)) {\n return [styleProp.className, styleProp.UNSAFE_className].filter(Boolean);\n }\n return [];\n };\n const extractCssVariables = (styleProp) => isNonNullableObject(styleProp)\n ? Object.entries(styleProp)\n .filter(([key]) => key.startsWith('--'))\n .reduce((extractedCssVariable, [key, value]) => (Object.assign(Object.assign({}, extractedCssVariable), { [key]: value })), {})\n : {};\n const extractCssStylesAndVariables = (cssProperties, styleProp) => {\n if (!isNonNullableObject(styleProp)) {\n return cssProperties;\n }\n const typedStyleProp = styleProp;\n const styles = typedStyleProp.style || typedStyleProp.UNSAFE_style || {};\n const cssVariables = extractCssVariables(styleProp);\n return Object.assign(Object.assign(Object.assign({}, cssProperties), styles), cssVariables);\n };\n const mergedClasses = Object.values(styleProps).flatMap(extractClassNames).filter(Boolean).join(' ');\n const mergedStyles = Object.values(styleProps)\n .filter(isNonNullableObject)\n .reduce(extractCssStylesAndVariables, {});\n return isSpiritComponent\n ? { UNSAFE_className: mergedClasses, UNSAFE_style: mergedStyles }\n : { className: mergedClasses, style: mergedStyles };\n}\n//# sourceMappingURL=mergeStyleProps.js.map","export const camelCaseToKebabCase = (input) => input.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();\nexport const kebabCaseToCamelCase = (input) => input.replace(/-([a-z])/g, (g) => g[1].toUpperCase());\nexport const kebabCaseToCamelCaseValues = (input) => {\n if (typeof input === 'object' && input !== null) {\n const result = {};\n for (const [key, value] of Object.entries(input)) {\n result[key] = typeof value === 'string' ? kebabCaseToCamelCase(value) : value;\n }\n return result;\n }\n return input;\n};\nexport const stringOrObjectKebabCaseToCamelCase = (input) => {\n if (typeof input === 'string') {\n return kebabCaseToCamelCase(input);\n }\n if (typeof input === 'object' && input !== null) {\n return kebabCaseToCamelCaseValues(input);\n }\n return input;\n};\n//# sourceMappingURL=string.js.map","import { SpacingStyleProp as DefaultSpacingStyleProp, DisplayStyleProps, ThemeStyleProps } from \"../constants/index.js\";\nimport { BREAKPOINT_MOBILE, STYLE_SPACING_AUTO, } from \"../types/index.js\";\nimport { applyClassNamePrefix, camelCaseToKebabCase, isEmpty } from \"../utils/index.js\";\nconst CLASS_SEPARATOR = '-';\nconst normalizeSpacingValue = (value) => value === STYLE_SPACING_AUTO ? STYLE_SPACING_AUTO : value.replace(/[^0-9]/g, '');\nconst isSpaceToken = (value) => typeof value === 'string' && value.startsWith('space-');\nconst getUtilityValue = (value) => (isSpaceToken(value) ? normalizeSpacingValue(value) : value);\nconst isKeyIncluded = (object, key) => Object.keys(object).includes(key);\nconst processBreakpointProperties = (utilityName, propValue, prefix) => Object.keys(propValue).reduce((accumulatedBreakpointUtilities, breakpoint) => {\n const breakpointValue = propValue[breakpoint];\n if (typeof breakpointValue === 'string') {\n const utilityValue = getUtilityValue(breakpointValue);\n const infix = breakpoint === BREAKPOINT_MOBILE ? '' : `${CLASS_SEPARATOR}${breakpoint}`;\n accumulatedBreakpointUtilities.push(applyClassNamePrefix(prefix)(`${utilityName}${infix}${CLASS_SEPARATOR}${utilityValue}`));\n }\n return accumulatedBreakpointUtilities;\n}, []);\nconst processHideOnProperty = (utilityName, propValue, prefix) => {\n const breakpoints = Array.isArray(propValue) ? propValue : [propValue];\n return breakpoints.map((breakpoint) => applyClassNamePrefix(prefix)(`${utilityName}${CLASS_SEPARATOR}only${CLASS_SEPARATOR}${breakpoint}${CLASS_SEPARATOR}none`));\n};\nconst processHideFromProperty = (utilityName, propValue, prefix) => {\n const breakpoint = propValue;\n const infix = breakpoint === BREAKPOINT_MOBILE ? '' : `${CLASS_SEPARATOR}${breakpoint}`;\n return [applyClassNamePrefix(prefix)(`${utilityName}${infix}${CLASS_SEPARATOR}none`)];\n};\nconst processDisplayProperties = (utilityKey, utilityName, propValue, prefix) => {\n switch (utilityKey) {\n case 'hideOn':\n return processHideOnProperty(utilityName, propValue, prefix);\n case 'hideFrom':\n return processHideFromProperty(utilityName, propValue, prefix);\n default:\n return [];\n }\n};\nconst processProperties = (utilityKey, utilityName, propValue, prefix) => {\n if (utilityName === ThemeStyleProps.theme) {\n if (typeof propValue !== 'string') {\n return [];\n }\n const themeClassName = camelCaseToKebabCase(propValue);\n return [applyClassNamePrefix(prefix)(themeClassName)];\n }\n if (utilityKey in DisplayStyleProps) {\n return processDisplayProperties(utilityKey, utilityName, propValue, prefix);\n }\n if (typeof propValue === 'boolean') {\n return propValue ? [applyClassNamePrefix(prefix)(utilityName)] : [];\n }\n if (typeof propValue === 'string') {\n return [applyClassNamePrefix(prefix)(`${utilityName}-${getUtilityValue(propValue)}`)];\n }\n return processBreakpointProperties(utilityName, propValue, prefix);\n};\nconst isStylePropProcessable = (styleProps, stylePropKey, stylePropValue, options = { includesKey: true }) => {\n const isStylePropKeyIncluded = isKeyIncluded(styleProps, stylePropKey);\n const isProcessable = (options.includesKey ? isStylePropKeyIncluded : !isStylePropKeyIncluded) && !isEmpty(stylePropValue);\n return isProcessable;\n};\nexport const useStyleUtilities = (props, prefix = '', additionalProps = {}) => {\n const styleProps = Object.assign(Object.assign(Object.assign(Object.assign({}, DefaultSpacingStyleProp), DisplayStyleProps), ThemeStyleProps), additionalProps);\n const propEntries = Object.entries(props);\n const styleUtilities = propEntries.reduce((accumulatedUtilities, [key, propValue]) => {\n if (isStylePropProcessable(styleProps, key, propValue)) {\n const utilityName = styleProps[key];\n return [\n ...accumulatedUtilities,\n ...processProperties(key, utilityName, propValue, prefix),\n ];\n }\n return accumulatedUtilities;\n }, []);\n const updatedProps = propEntries.reduce((accumulatedProps, [key, propValue]) => {\n if (isStylePropProcessable(styleProps, key, propValue, { includesKey: false })) {\n return Object.assign(Object.assign({}, accumulatedProps), { [key]: propValue });\n }\n return accumulatedProps;\n }, {});\n return {\n styleUtilities,\n props: updatedProps,\n };\n};\n//# sourceMappingURL=useStyleUtilities.js.map","'use client';\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport { useContext } from 'react';\nimport { warning } from \"../common/utilities/index.js\";\nimport { ThemeStyleProps } from \"../constants/index.js\";\nimport ClassNamePrefixContext from \"../context/ClassNamePrefixContext.js\";\nimport { useStyleUtilities } from \"./useStyleUtilities.js\";\nexport function useStyleProps(props, additionalUtilities) {\n const classNamePrefix = useContext(ClassNamePrefixContext);\n const { UNSAFE_className, UNSAFE_style } = props, otherProps = __rest(props, [\"UNSAFE_className\", \"UNSAFE_style\"]);\n const styleUtilitiesConfig = Object.assign({ theme: ThemeStyleProps.theme }, (additionalUtilities !== null && additionalUtilities !== void 0 ? additionalUtilities : {}));\n const { styleUtilities, props: modifiedProps } = useStyleUtilities(otherProps, classNamePrefix, styleUtilitiesConfig);\n const style = Object.assign({}, UNSAFE_style);\n if (modifiedProps.className) {\n warning(false, 'The className prop is unsafe and is unsupported in Spirit Web React. ' +\n 'Please use style props with Spirit Design Tokens, or UNSAFE_className if you absolutely must do something custom. ' +\n 'Note that this may break in future versions due to DOM structure changes.');\n delete modifiedProps.className;\n }\n if (modifiedProps.style) {\n warning(false, 'The style prop is unsafe and is unsupported in Spirit Web React. ' +\n 'Please use style props with Spirit Design Tokens, or UNSAFE_style if you absolutely must do something custom. ' +\n 'Note that this may break in future versions due to DOM structure changes.');\n delete modifiedProps.style;\n }\n const styleProps = {\n style: Object.keys(style).length > 0 ? style : undefined,\n className: classNames(UNSAFE_className, ...styleUtilities) || undefined,\n };\n return {\n styleProps,\n props: modifiedProps,\n };\n}\n//# sourceMappingURL=styleProps.js.map","'use client';\nimport { useContext } from 'react';\nimport ClassNamePrefixContext from \"../context/ClassNamePrefixContext.js\";\nimport { applyClassNamePrefix } from \"../utils/classname.js\";\nexport const useClassNamePrefix = (className) => {\n const classNamePrefix = useContext(ClassNamePrefixContext);\n let prefixedClassName = className;\n if (className && classNamePrefix) {\n prefixedClassName = applyClassNamePrefix(classNamePrefix)(className);\n }\n else if (classNamePrefix) {\n prefixedClassName = classNamePrefix;\n }\n return prefixedClassName;\n};\n//# sourceMappingURL=useClassNamePrefix.js.map","'use client';\nimport { createContext } from 'react';\nconst defaultContext = undefined;\nconst IconsContext = createContext(defaultContext);\nconst IconsProvider = IconsContext.Provider;\nconst IconsConsumer = IconsContext.Consumer;\nexport default IconsContext;\nexport { IconsConsumer, IconsProvider };\n//# sourceMappingURL=IconsContext.js.map","'use client';\nimport { useContext } from 'react';\nimport warning from \"../common/utilities/warning.js\";\nimport IconsContext from \"../context/IconsContext.js\";\nexport const useIcon = (name) => {\n const icons = useContext(IconsContext);\n if (icons != null && icons[name] != null) {\n return icons[name];\n }\n warning(false, `The ${name} icon is missing from your assets or icon map provided by the IconsProvider. Please make sure you have provided all icons needed by used components.`);\n return '';\n};\n//# sourceMappingURL=useIcon.js.map","export function useIconName(key, iconMap, defaultKey = 'default') {\n return key && iconMap[key] ? iconMap[key] : iconMap[defaultKey];\n}\n//# sourceMappingURL=useIconName.js.map","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport { useClassNamePrefix } from \"../../hooks/index.js\";\nexport function useToastStyleProps(props) {\n const { alignmentX, alignmentY, isCollapsible } = props, restProps = __rest(props, [\"alignmentX\", \"alignmentY\", \"isCollapsible\"]);\n const toastClass = useClassNamePrefix('Toast');\n function processAlignments(alignments) {\n return alignments.map((alignment) => typeof alignment === 'object' && alignment !== null\n ? Object.keys(alignment).reduce((acc, key) => {\n const infix = key === 'mobile' ? '' : `--${key}`;\n return [...acc, `${toastClass}${infix}--${alignment[key]}`];\n }, [])\n : [`${toastClass}--${alignment}`]);\n }\n const alignmentClasses = [...processAlignments([alignmentX, alignmentY])];\n const collapsibleClass = `${toastClass}--collapsible`;\n const toastRootClass = classNames(toastClass, isCollapsible && collapsibleClass, ...alignmentClasses);\n const toastQueueClass = `${toastClass}__queue`;\n return {\n classProps: {\n root: toastRootClass,\n queue: toastQueueClass,\n },\n props: restProps,\n };\n}\n//# sourceMappingURL=useToastStyleProps.js.map","'use client';\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport React from 'react';\nimport { AlignmentX, AlignmentY } from \"../../constants/index.js\";\nimport { useStyleProps } from \"../../hooks/index.js\";\nimport { useToastStyleProps } from \"./useToastStyleProps.js\";\nconst defaultProps = {\n alignmentX: AlignmentX.CENTER,\n alignmentY: AlignmentY.BOTTOM,\n isCollapsible: true,\n};\nconst Toast = (props) => {\n const propsWithDefaults = Object.assign(Object.assign({}, defaultProps), props);\n const { children, alignmentX, alignmentY } = propsWithDefaults, restProps = __rest(propsWithDefaults, [\"children\", \"alignmentX\", \"alignmentY\"]);\n const { classProps, props: modifiedProps } = useToastStyleProps(Object.assign(Object.assign({}, restProps), { alignmentX, alignmentY }));\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n return (React.createElement(\"div\", Object.assign({}, otherProps, styleProps, { className: classNames(classProps.root, styleProps.className), role: \"log\" }),\n React.createElement(\"div\", { className: classProps.queue }, children)));\n};\nToast.spiritComponent = 'Toast';\nexport default Toast;\n//# sourceMappingURL=Toast.js.map","export const DEFAULT_BOX_SIZE = 24;\n//# sourceMappingURL=constants.js.map","import { DEFAULT_BOX_SIZE } from \"./constants.js\";\nexport const useIconBoxSize = (boxSize) => { var _a; return typeof boxSize === 'object' ? ((_a = boxSize.mobile) !== null && _a !== void 0 ? _a : DEFAULT_BOX_SIZE) : (boxSize !== null && boxSize !== void 0 ? boxSize : DEFAULT_BOX_SIZE); };\n//# sourceMappingURL=useIconBoxSize.js.map","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { cssVariablePrefix } from '@alma-oss/spirit-design-tokens';\nimport classNames from 'classnames';\nimport { TextColors } from \"../../constants/index.js\";\nimport { useClassNamePrefix } from \"../../hooks/index.js\";\nconst setCustomDimension = (prefix, size) => {\n const style = {};\n if (typeof size === 'object') {\n Object.entries(size).forEach(([breakpoint, breakpointSize]) => {\n const breakpointSuffix = breakpoint === 'mobile' ? '' : `-${breakpoint}`;\n style[`${prefix}${breakpointSuffix}`] = `${breakpointSize === null || breakpointSize === void 0 ? void 0 : breakpointSize.toString()}px`;\n });\n }\n return style;\n};\nexport const useIconStyleProps = (props) => {\n const { boxSize, color, name } = props, otherProps = __rest(props, [\"boxSize\", \"color\", \"name\"]);\n const stylePrefix = `--${cssVariablePrefix}icon`;\n const isDualtoneIcon = String(name).includes('-dualtone');\n const dualtoneColorWithDefault = isDualtoneIcon && !color ? TextColors.PRIMARY : color;\n const iconClass = useClassNamePrefix('Icon');\n const iconDualtoneColorClass = `${iconClass}--${dualtoneColorWithDefault}`;\n const classProps = classNames(iconClass, {\n [iconDualtoneColorClass]: color || dualtoneColorWithDefault,\n });\n const customizedIconStyle = Object.assign({}, (boxSize ? setCustomDimension(`${stylePrefix}-size`, boxSize) : {}));\n return {\n classProps,\n iconStyleProps: customizedIconStyle,\n props: otherProps,\n };\n};\n//# sourceMappingURL=useIconStyleProps.js.map","'use client';\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { forwardRef } from 'react';\nimport { useIcon, useStyleProps } from \"../../hooks/index.js\";\nimport { htmlReactParser, mergeStyleProps } from \"../../utils/index.js\";\nimport { DEFAULT_BOX_SIZE } from \"./constants.js\";\nimport { useIconBoxSize } from \"./useIconBoxSize.js\";\nimport { useIconStyleProps } from \"./useIconStyleProps.js\";\nconst defaultProps = {\n ariaHidden: true,\n boxSize: DEFAULT_BOX_SIZE,\n};\nconst _Icon = (props, ref) => {\n const propsWithDefaults = Object.assign(Object.assign({}, defaultProps), props);\n const { boxSize, name, title, ariaHidden } = propsWithDefaults, restProps = __rest(propsWithDefaults, [\"boxSize\", \"name\", \"title\", \"ariaHidden\"]);\n let icon = useIcon(name);\n const iconSize = useIconBoxSize(boxSize);\n const { classProps, iconStyleProps, props: modifiedProps } = useIconStyleProps(Object.assign({ boxSize, name }, restProps));\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps('svg', {\n classProps,\n iconStyleProps,\n styleProps,\n });\n if (title) {\n icon = `<title>${title}</title>${icon}`;\n }\n return (React.createElement(\"svg\", Object.assign({}, otherProps, mergedStyleProps, { viewBox: \"0 0 24 24\", fill: \"none\", width: iconSize, height: iconSize, \"aria-hidden\": ariaHidden, ref: ref }), htmlReactParser(icon)));\n};\nconst Icon = forwardRef(_Icon);\nIcon.spiritComponent = 'Icon';\nexport default Icon;\n//# sourceMappingURL=Icon.js.map","export const TRANSITION_DURATION = 250;\nexport const TRANSITIONING_STYLES = {\n entering: 'is-open is-transitioning',\n entered: 'is-open',\n exiting: 'is-hidden is-transitioning',\n exited: 'is-hidden',\n};\nexport const ICON_BOX_SIZE = 20;\nexport const TOAST_BAR_CLOSE_BUTTON_LABEL_DEFAULT = 'Close';\nexport const DEFAULT_TOAST_COLOR = 'neutral';\nexport const DEFAULT_TOAST_AUTO_CLOSE_INTERVAL = 3000;\nexport const ToastColorsExtended = {\n NEUTRAL: 'neutral',\n};\n//# sourceMappingURL=constants.js.map","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { useClassNamePrefix } from \"../../hooks/index.js\";\nexport function useVisuallyHiddenProps(props) {\n const restProps = __rest(props, []);\n const visuallyHiddenClass = useClassNamePrefix('accessibility-hidden');\n return {\n classProps: visuallyHiddenClass,\n props: restProps,\n };\n}\n//# sourceMappingURL=useVisuallyHiddenProps.js.map","'use client';\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React from 'react';\nimport { useStyleProps } from \"../../hooks/index.js\";\nimport { mergeStyleProps } from \"../../utils/index.js\";\nimport { useVisuallyHiddenProps } from \"./useVisuallyHiddenProps.js\";\nconst VisuallyHidden = (props) => {\n const { children, elementType: ElementTag = 'span' } = props, rest = __rest(props, [\"children\", \"elementType\"]);\n const { classProps, props: modifiedProps } = useVisuallyHiddenProps(rest);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps, otherProps });\n return (React.createElement(ElementTag, Object.assign({}, otherProps, mergedStyleProps), children));\n};\nVisuallyHidden.spiritComponent = 'VisuallyHidden';\nexport default VisuallyHidden;\n//# sourceMappingURL=VisuallyHidden.js.map","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport { useClassNamePrefix } from \"../../hooks/index.js\";\nimport { ToastColorsExtended } from '.';\nexport const useToastBarStyleProps = (props) => {\n const { color, isDismissible } = props, restProps = __rest(props, [\"color\", \"isDismissible\"]);\n const toastBarClass = useClassNamePrefix('ToastBar');\n const toastBarBoxClass = `${toastBarClass}__box`;\n const toastBarCloseClass = `${toastBarClass}__close`;\n const toastBarContainerClass = `${toastBarClass}__container`;\n const toastBarContentClass = `${toastBarClass}__content`;\n const toastBarLinkClass = `${toastBarClass}__link`;\n const toastBarLinkUnderlinedClass = useClassNamePrefix('link-underlined');\n const toastBarColorClass = `${toastBarClass}--${color || ToastColorsExtended.NEUTRAL}`;\n const toastBarDismissibleClass = `${toastBarClass}--dismissible`;\n const toastBarRootClasses = classNames(toastBarClass, toastBarColorClass, isDismissible && toastBarDismissibleClass);\n const toastBarLinkClasses = classNames(toastBarLinkClass, toastBarLinkUnderlinedClass);\n return {\n classProps: {\n root: toastBarRootClasses,\n box: toastBarBoxClass,\n close: toastBarCloseClass,\n container: toastBarContainerClass,\n content: toastBarContentClass,\n link: toastBarLinkClasses,\n },\n props: restProps,\n };\n};\n//# sourceMappingURL=useToastBarStyleProps.js.map","'use client';\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from \"../../hooks/index.js\";\nimport { Icon } from \"../Icon/index.js\";\nimport { VisuallyHidden } from \"../VisuallyHidden/index.js\";\nimport { useToastBarStyleProps } from \"./useToastBarStyleProps.js\";\nconst ToastCloseButton = (props) => {\n const { onClose, isOpen, id, closeLabel, isDismissible } = props, restProps = __rest(props, [\"onClose\", \"isOpen\", \"id\", \"closeLabel\", \"isDismissible\"]);\n const { classProps, props: modifiedProps } = useToastBarStyleProps(Object.assign({}, restProps));\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n if (isDismissible && onClose) {\n return (React.createElement(\"button\", Object.assign({}, otherProps, styleProps, { type: \"button\", className: classNames(classProps.close, styleProps.className), onClick: onClose, \"aria-expanded\": isOpen, \"aria-controls\": id }),\n React.createElement(Icon, { name: \"close\" }),\n React.createElement(VisuallyHidden, null, closeLabel)));\n }\n return null;\n};\nToastCloseButton.spiritComponent = 'ToastCloseButton';\nexport default ToastCloseButton;\n//# sourceMappingURL=ToastCloseButton.js.map","import { useIconName } from \"../../hooks/useIconName.js\";\nimport { DEFAULT_TOAST_COLOR } from \"./constants.js\";\nexport function useToastIcon({ color, iconName }) {\n const iconNameValue = useIconName(color, {\n danger: 'danger',\n informative: 'info',\n neutral: 'info',\n success: 'check-plain',\n warning: 'warning',\n }, DEFAULT_TOAST_COLOR);\n return iconName || iconNameValue;\n}\n//# sourceMappingURL=useToastIcon.js.map","'use client';\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport React, { useRef } from 'react';\nimport { Transition } from 'react-transition-group';\nimport { useStyleProps } from \"../../hooks/index.js\";\nimport { Icon } from \"../Icon/index.js\";\nimport { DEFAULT_TOAST_COLOR, ICON_BOX_SIZE, TOAST_BAR_CLOSE_BUTTON_LABEL_DEFAULT, TRANSITIONING_STYLES, TRANSITION_DURATION, } from \"./constants.js\";\nimport ToastCloseButton from \"./ToastCloseButton.js\";\nimport { useToastBarStyleProps } from \"./useToastBarStyleProps.js\";\nimport { useToastIcon } from \"./useToastIcon.js\";\nconst ToastBar = (props) => {\n const { id, children, closeLabel = TOAST_BAR_CLOSE_BUTTON_LABEL_DEFAULT, color = DEFAULT_TOAST_COLOR, hasIcon, iconName, isDismissible, isOpen = true, onClose = () => { } } = props, restProps = __rest(props, [\"id\", \"children\", \"closeLabel\", \"color\", \"hasIcon\", \"iconName\", \"isDismissible\", \"isOpen\", \"onClose\"]);\n const rootElementRef = useRef(null);\n const toastIconName = useToastIcon({ color, iconName });\n const { classProps, props: modifiedProps } = useToastBarStyleProps(Object.assign(Object.assign({}, restProps), { color,\n isDismissible }));\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n return (React.createElement(Transition, { in: isOpen, nodeRef: rootElementRef, timeout: TRANSITION_DURATION, unmountOnExit: true }, (transitionState) => (React.createElement(\"div\", Object.assign({}, styleProps, otherProps, { id: id, className: classNames(classProps.root, TRANSITIONING_STYLES[transitionState], styleProps.className), ref: rootElementRef }),\n React.createElement(\"div\", { className: classProps.box },\n React.createElement(\"div\", { className: classProps.container },\n (hasIcon || iconName) && React.createElement(Icon, { name: toastIconName, boxSize: ICON_BOX_SIZE }),\n React.createElement(\"div\", { className: classProps.content }, children)),\n React.createElement(ToastCloseButton, { id: id, isOpen: isOpen, closeLabel: closeLabel, onClose: onClose, isDismissible: isDismissible }))))));\n};\nToastBar.spiritComponent = 'ToastBar';\nexport default ToastBar;\n//# sourceMappingURL=ToastBar.js.map","'use client';\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useClassNamePrefix, useStyleProps } from \"../../hooks/index.js\";\nconst ToastBarMessage = (props) => {\n const { children } = props, restProps = __rest(props, [\"children\"]);\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n return (React.createElement(\"div\", Object.assign({}, styleProps, otherProps, { className: classNames(useClassNamePrefix('text-truncate-multiline'), styleProps.className) }), children));\n};\nToastBarMessage.spiritComponent = 'ToastBarMessage';\nexport default ToastBarMessage;\n//# sourceMappingURL=ToastBarMessage.js.map","'use client';\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { forwardRef } from 'react';\nimport { useStyleProps } from \"../../hooks/index.js\";\nimport { mergeStyleProps } from \"../../utils/index.js\";\nimport { useToastBarStyleProps } from \"./useToastBarStyleProps.js\";\nconst defaultProps = {\n elementType: 'a',\n};\nconst _ToastBarLink = (props, ref) => {\n const propsWithDefaults = Object.assign(Object.assign({}, defaultProps), props);\n const { elementType: ElementTag = defaultProps.elementType, children } = propsWithDefaults, restProps = __rest(propsWithDefaults, [\"elementType\", \"children\"]);\n const { classProps, props: modifiedProps } = useToastBarStyleProps(Object.assign({}, restProps));\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.link, styleProps, otherProps });\n return (React.createElement(ElementTag, Object.assign({}, otherProps, mergedStyleProps, { ref: ref }), children));\n};\nconst ToastBarLink = forwardRef(_ToastBarLink);\nToastBarLink.spiritComponent = 'ToastBarLink';\nexport default ToastBarLink;\n//# sourceMappingURL=ToastBarLink.js.map","'use client';\nimport React, { createContext, useCallback, useMemo, useReducer } from 'react';\nimport { delayedCallback } from \"../../utils/index.js\";\nimport { DEFAULT_TOAST_AUTO_CLOSE_INTERVAL } from \"./constants.js\";\nconst defaultToastContext = {\n clear: () => { },\n hide: () => { },\n queue: [],\n setQueue: () => { },\n show: () => { },\n};\nexport const ToastContext = createContext(defaultToastContext);\nconst reducer = (state, action) => {\n var _a, _b, _c, _d, _e, _f, _g;\n const { type, payload } = action;\n const { queue: currentQueue } = state;\n switch (type) {\n case 'show': {\n const newQueue = [\n ...currentQueue,\n {\n autoCloseInterval: ((_a = payload.options) === null || _a === void 0 ? void 0 : _a.autoCloseInterval) || DEFAULT_TOAST_AUTO_CLOSE_INTERVAL,\n color: ((_b = payload.options) === null || _b === void 0 ? void 0 : _b.color) || undefined,\n enableAutoClose: ((_c = payload.options) === null || _c === void 0 ? void 0 : _c.enableAutoClose) || true,\n hasIcon: ((_d = payload.options) === null || _d === void 0 ? void 0 : _d.hasIcon) || false,\n iconName: (_e = payload.options) === null || _e === void 0 ? void 0 : _e.iconName,\n id: payload.toastId,\n isDismissible: ((_f = payload.options) === null || _f === void 0 ? void 0 : _f.isDismissible) || false,\n linkProps: ((_g = payload.options) === null || _g === void 0 ? void 0 : _g.linkProps) || {},\n isOpen: true,\n content: {\n message: payload.content.message,\n link: payload.content.link || undefined,\n },\n },\n ];\n return { queue: newQueue };\n }\n case 'hide': {\n return { queue: currentQueue.filter((item) => item.id !== payload.id) };\n }\n case 'clear':\n return { queue: [] };\n default:\n throw new Error();\n }\n};\nconst initialToastState = {\n queue: [],\n};\nexport const ToastProvider = ({ children }) => {\n const [state, dispatch] = useReducer(reducer, initialToastState);\n const { queue } = state;\n const hide = useCallback((id) => {\n dispatch({ type: 'hide', payload: { id } });\n }, []);\n const clear = useCallback(() => {\n dispatch({ type: 'clear', payload: null });\n }, []);\n const show = useCallback((content, toastId, options) => {\n dispatch({ type: 'show', payload: { content, toastId, options } });\n (options === null || options === void 0 ? void 0 : options.enableAutoClose) &&\n delayedCallback(() => hide(toastId), (options === null || options === void 0 ? void 0 : options.autoCloseInterval) || DEFAULT_TOAST_AUTO_CLOSE_INTERVAL);\n }, []);\n const setQueue = useCallback((newQueue) => {\n dispatch({ type: 'clear', payload: null });\n newQueue.forEach((item) => {\n var _a, _b;\n const enableAutoClose = (_a = item.enableAutoClose) !== null && _a !== void 0 ? _a : true;\n const autoCloseInterval = item.autoCloseInterval || DEFAULT_TOAST_AUTO_CLOSE_INTERVAL;\n dispatch({\n type: 'show',\n payload: {\n content: {\n message: item.content.message,\n link: (_b = item.content.link) !== null && _b !== void 0 ? _b : undefined,\n },\n toastId: item.id,\n options: {\n autoCloseInterval,\n enableAutoClose,\n color: item.color,\n hasIcon: item.hasIcon || false,\n iconName: item.iconName,\n isDismissible: item.isDismissible || false,\n linkProps: item.linkProps || {},\n },\n },\n });\n enableAutoClose && delayedCallback(() => hide(item.id), autoCloseInterval || DEFAULT_TOAST_AUTO_CLOSE_INTERVAL);\n });\n }, []);\n const contextValue = useMemo(() => ({\n clear,\n hide,\n queue,\n setQueue,\n show,\n }), [hide, show, clear, queue.length, setQueue]);\n return React.createElement(ToastContext.Provider, { value: contextValue }, children);\n};\n//# sourceMappingURL=ToastContext.js.map","'use client';\nimport { useContext } from 'react';\nimport { ToastContext } from \"./ToastContext.js\";\nexport const useToast = () => {\n const currentToastContext = useContext(ToastContext);\n if (!currentToastContext) {\n throw new Error('useToast has to be used within <ToastProvider>');\n }\n return currentToastContext;\n};\n//# sourceMappingURL=useToast.js.map","'use client';\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React from 'react';\nimport Toast from \"./Toast.js\";\nimport ToastBar from \"./ToastBar.js\";\nimport ToastBarLink from \"./ToastBarLink.js\";\nimport ToastBarMessage from \"./ToastBarMessage.js\";\nimport { useToast } from \"./useToast.js\";\nconst UncontrolledToast = (props) => {\n const { alignmentX, alignmentY, isCollapsible, closeLabel } = props, restProps = __rest(props, [\"alignmentX\", \"alignmentY\", \"isCollapsible\", \"closeLabel\"]);\n const { hide, queue } = useToast();\n return (React.createElement(Toast, { alignmentX: alignmentX, alignmentY: alignmentY, isCollapsible: isCollapsible }, queue.map((item) => {\n const { color, iconName, id, isOpen, content, hasIcon, isDismissible, linkProps } = item;\n return (React.createElement(ToastBar, Object.assign({}, restProps, { key: id, id: id, closeLabel: closeLabel, color: color, hasIcon: hasIcon, iconName: iconName, isDismissible: isDismissible, onClose: () => hide(id), isOpen: isOpen && !!content }),\n React.createElement(ToastBarMessage, null, content.message),\n content.link && React.createElement(ToastBarLink, Object.assign({}, linkProps), content.link)));\n })));\n};\nUncontrolledToast.spiritComponent = 'UncontrolledToast';\nexport default UncontrolledToast;\n//# sourceMappingURL=UncontrolledToast.js.map"],"names":["__rest","this","componentColors","emotionColors","textColors","containers","defaultContext","createContext","DefaultSpacingStyleProp","useContext","defaultProps","cssVariablePrefix","forwardRef","ToastColorsExtended","useRef","Transition"],"mappings":";;;;;;;;;;AAAA,IAAIA,QAAM,GAAG,CAACC,SAAI,IAAIA,SAAI,CAAC,MAAM,KAAK,UAAU,CAAC,EAAE,CAAC,EAAE;AACtD,IAAI,IAAI,CAAC,GAAG,EAAE;AACd,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CA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
'use client';
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
import classNames from 'classnames';
|
|
14
|
+
import React from 'react';
|
|
15
|
+
import { AlignmentX, AlignmentY } from "../../constants/index.js";
|
|
16
|
+
import { useStyleProps } from "../../hooks/index.js";
|
|
17
|
+
import { useToastStyleProps } from "./useToastStyleProps.js";
|
|
18
|
+
const defaultProps = {
|
|
19
|
+
alignmentX: AlignmentX.CENTER,
|
|
20
|
+
alignmentY: AlignmentY.BOTTOM,
|
|
21
|
+
isCollapsible: true,
|
|
22
|
+
};
|
|
23
|
+
const Toast = (props) => {
|
|
24
|
+
const propsWithDefaults = Object.assign(Object.assign({}, defaultProps), props);
|
|
25
|
+
const { children, alignmentX, alignmentY } = propsWithDefaults, restProps = __rest(propsWithDefaults, ["children", "alignmentX", "alignmentY"]);
|
|
26
|
+
const { classProps, props: modifiedProps } = useToastStyleProps(Object.assign(Object.assign({}, restProps), { alignmentX, alignmentY }));
|
|
27
|
+
const { styleProps, props: otherProps } = useStyleProps(modifiedProps);
|
|
28
|
+
return (React.createElement("div", Object.assign({}, otherProps, styleProps, { className: classNames(classProps.root, styleProps.className), role: "log" }),
|
|
29
|
+
React.createElement("div", { className: classProps.queue }, children)));
|
|
30
|
+
};
|
|
31
|
+
Toast.spiritComponent = 'Toast';
|
|
32
|
+
export default Toast;
|
|
33
|
+
//# sourceMappingURL=Toast.js.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,OAAO,CAAC;AAEhC,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
import classNames from 'classnames';
|
|
14
|
+
import React, { useRef } from 'react';
|
|
15
|
+
import { Transition } from 'react-transition-group';
|
|
16
|
+
import { useStyleProps } from "../../hooks/index.js";
|
|
17
|
+
import { Icon } from "../Icon/index.js";
|
|
18
|
+
import { DEFAULT_TOAST_COLOR, ICON_BOX_SIZE, TOAST_BAR_CLOSE_BUTTON_LABEL_DEFAULT, TRANSITIONING_STYLES, TRANSITION_DURATION, } from "./constants.js";
|
|
19
|
+
import ToastCloseButton from "./ToastCloseButton.js";
|
|
20
|
+
import { useToastBarStyleProps } from "./useToastBarStyleProps.js";
|
|
21
|
+
import { useToastIcon } from "./useToastIcon.js";
|
|
22
|
+
const ToastBar = (props) => {
|
|
23
|
+
const { id, children, closeLabel = TOAST_BAR_CLOSE_BUTTON_LABEL_DEFAULT, color = DEFAULT_TOAST_COLOR, hasIcon, iconName, isDismissible, isOpen = true, onClose = () => { } } = props, restProps = __rest(props, ["id", "children", "closeLabel", "color", "hasIcon", "iconName", "isDismissible", "isOpen", "onClose"]);
|
|
24
|
+
const rootElementRef = useRef(null);
|
|
25
|
+
const toastIconName = useToastIcon({ color, iconName });
|
|
26
|
+
const { classProps, props: modifiedProps } = useToastBarStyleProps(Object.assign(Object.assign({}, restProps), { color,
|
|
27
|
+
isDismissible }));
|
|
28
|
+
const { styleProps, props: otherProps } = useStyleProps(modifiedProps);
|
|
29
|
+
return (React.createElement(Transition, { in: isOpen, nodeRef: rootElementRef, timeout: TRANSITION_DURATION, unmountOnExit: true }, (transitionState) => (React.createElement("div", Object.assign({}, styleProps, otherProps, { id: id, className: classNames(classProps.root, TRANSITIONING_STYLES[transitionState], styleProps.className), ref: rootElementRef }),
|
|
30
|
+
React.createElement("div", { className: classProps.box },
|
|
31
|
+
React.createElement("div", { className: classProps.container },
|
|
32
|
+
(hasIcon || iconName) && React.createElement(Icon, { name: toastIconName, boxSize: ICON_BOX_SIZE }),
|
|
33
|
+
React.createElement("div", { className: classProps.content }, children)),
|
|
34
|
+
React.createElement(ToastCloseButton, { id: id, isOpen: isOpen, closeLabel: closeLabel, onClose: onClose, isDismissible: isDismissible }))))));
|
|
35
|
+
};
|
|
36
|
+
ToastBar.spiritComponent = 'ToastBar';
|
|
37
|
+
export default ToastBar;
|
|
38
|
+
//# sourceMappingURL=ToastBar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToastBar.js","sourceRoot":"","sources":["../../../src/components/Toast/ToastBar.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;AAEb,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,EAAE,EAAyB,MAAM,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAyB,MAAM,wBAAwB,CAAC;AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EACL,mBAAmB,EACnB,aAAa,EACb,oCAAoC,EACpC,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,aAAa,CAAC;AACrB,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AACl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AAC,IAAI,EAAE,aAAa,EAAE,OAAO,EAAE,aAAa,GAAI;gBAC/E,6BAAK,SAAS,EAAE,UAAU,CAAC,OAAO,IAAG,QAAQ,CAAO,CAChD;YACN,oBAAC,gBAAgB,IACf,EAAE,EAAE,EAAE,EACN,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,OAAO,EAChB,aAAa,EAAE,aAAa,GAC5B,CACE,CACF,CACP,CACU,CACd,CAAC;AACJ,CAAC,CAAC;AAEF,QAAQ,CAAC,eAAe,GAAG,UAAU,CAAC;AAEtC,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
import React, { forwardRef } from 'react';
|
|
14
|
+
import { useStyleProps } from "../../hooks/index.js";
|
|
15
|
+
import { mergeStyleProps } from "../../utils/index.js";
|
|
16
|
+
import { useToastBarStyleProps } from "./useToastBarStyleProps.js";
|
|
17
|
+
const defaultProps = {
|
|
18
|
+
elementType: 'a',
|
|
19
|
+
};
|
|
20
|
+
const _ToastBarLink = (props, ref) => {
|
|
21
|
+
const propsWithDefaults = Object.assign(Object.assign({}, defaultProps), props);
|
|
22
|
+
const { elementType: ElementTag = defaultProps.elementType, children } = propsWithDefaults, restProps = __rest(propsWithDefaults, ["elementType", "children"]);
|
|
23
|
+
const { classProps, props: modifiedProps } = useToastBarStyleProps(Object.assign({}, restProps));
|
|
24
|
+
const { styleProps, props: otherProps } = useStyleProps(modifiedProps);
|
|
25
|
+
const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.link, styleProps, otherProps });
|
|
26
|
+
return (React.createElement(ElementTag, Object.assign({}, otherProps, mergedStyleProps, { ref: ref }), children));
|
|
27
|
+
};
|
|
28
|
+
const ToastBarLink = forwardRef(_ToastBarLink);
|
|
29
|
+
ToastBarLink.spiritComponent = 'ToastBarLink';
|
|
30
|
+
export default ToastBarLink;
|
|
31
|
+
//# sourceMappingURL=ToastBarLink.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToastBarLink.js","sourceRoot":"","sources":["../../../src/components/Toast/ToastBarLink.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;AAEb,OAAO,KAAK,EAAE,EAAuC,UAAU,EAAE,MAAM,OAAO,CAAC;AAC/E,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,MAAM,YAAY,GAA4B;IAC5C,WAAW,EAAE,GAAG;CACjB,CAAC;AAIF,MAAM,aAAa,GAAG,CAAC,KAAqB,EAAE,GAAoC,EAAE,EAAE;IACpF,MAAM,iBAAiB,mCAAQ,YAAY,GAAK,KAAK,CAAE,CAAC;IACxD,MAAM,EACJ,WAAW,EAAE,UAAU,GAAG,YAAY,CAAC,WAA0B,EACjE,QAAQ,KAEN,iBAAiB,EADhB,SAAS,UACV,iBAAiB,EAJf,2BAIL,CAAoB,CAAC;IACtB,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,aAAa,EAAE,GAAG,qBAAqB,mBAAM,SAAS,EAAG,CAAC;IACrF,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,aAAa,CAAC,aAAa,CAAC,CAAC;IACvE,MAAM,gBAAgB,GAAG,eAAe,CAAC,UAAU,EAAE,EAAE,UAAU,EAAE,UAAU,CAAC,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC,CAAC;IAE9G,OAAO,CACL,oBAAC,UAAU,oBAAK,UAAU,EAAM,gBAAgB,IAAE,GAAG,EAAE,GAAG,KACvD,QAA2B,CACjB,CACd,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,YAAY,GAAG,UAAU,CAAoC,aAAa,CAAC,CAAC;AAElF,YAAY,CAAC,eAAe,GAAG,cAAc,CAAC;AAE9C,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
import classNames from 'classnames';
|
|
14
|
+
import React from 'react';
|
|
15
|
+
import { useClassNamePrefix, useStyleProps } from "../../hooks/index.js";
|
|
16
|
+
const ToastBarMessage = (props) => {
|
|
17
|
+
const { children } = props, restProps = __rest(props, ["children"]);
|
|
18
|
+
const { styleProps, props: otherProps } = useStyleProps(restProps);
|
|
19
|
+
return (React.createElement("div", Object.assign({}, styleProps, otherProps, { className: classNames(useClassNamePrefix('text-truncate-multiline'), styleProps.className) }), children));
|
|
20
|
+
};
|
|
21
|
+
ToastBarMessage.spiritComponent = 'ToastBarMessage';
|
|
22
|
+
export default ToastBarMessage;
|
|
23
|
+
//# sourceMappingURL=ToastBarMessage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToastBarMessage.js","sourceRoot":"","sources":["../../../src/components/Toast/ToastBarMessage.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;AAEb,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGhE,MAAM,eAAe,GAAG,CAAC,KAAoB,EAAE,EAAE;IAC/C,MAAM,EAAE,QAAQ,KAAmB,KAAK,EAAnB,SAAS,UAAK,KAAK,EAAlC,YAA0B,CAAQ,CAAC;IACzC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,aAAa,CAAC,SAAS,CAAC,CAAC;IAEnE,OAAO,CACL,6CACM,UAAU,EACV,UAAU,IACd,SAAS,EAAE,UAAU,CAAC,kBAAkB,CAAC,yBAAyB,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,KAEzF,QAAQ,CACL,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,CAAC,eAAe,GAAG,iBAAiB,CAAC;AAEpD,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
import classNames from 'classnames';
|
|
14
|
+
import React from 'react';
|
|
15
|
+
import { useStyleProps } from "../../hooks/index.js";
|
|
16
|
+
import { Icon } from "../Icon/index.js";
|
|
17
|
+
import { VisuallyHidden } from "../VisuallyHidden/index.js";
|
|
18
|
+
import { useToastBarStyleProps } from "./useToastBarStyleProps.js";
|
|
19
|
+
const ToastCloseButton = (props) => {
|
|
20
|
+
const { onClose, isOpen, id, closeLabel, isDismissible } = props, restProps = __rest(props, ["onClose", "isOpen", "id", "closeLabel", "isDismissible"]);
|
|
21
|
+
const { classProps, props: modifiedProps } = useToastBarStyleProps(Object.assign({}, restProps));
|
|
22
|
+
const { styleProps, props: otherProps } = useStyleProps(modifiedProps);
|
|
23
|
+
if (isDismissible && onClose) {
|
|
24
|
+
return (React.createElement("button", Object.assign({}, otherProps, styleProps, { type: "button", className: classNames(classProps.close, styleProps.className), onClick: onClose, "aria-expanded": isOpen, "aria-controls": id }),
|
|
25
|
+
React.createElement(Icon, { name: "close" }),
|
|
26
|
+
React.createElement(VisuallyHidden, null, closeLabel)));
|
|
27
|
+
}
|
|
28
|
+
return null;
|
|
29
|
+
};
|
|
30
|
+
ToastCloseButton.spiritComponent = 'ToastCloseButton';
|
|
31
|
+
export default ToastCloseButton;
|
|
32
|
+
//# sourceMappingURL=ToastCloseButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToastCloseButton.js","sourceRoot":"","sources":["../../../src/components/Toast/ToastCloseButton.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;AAEb,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,MAAM,gBAAgB,GAAG,CAAC,KAA4B,EAAE,EAAE;IACxD,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,aAAa,KAAmB,KAAK,EAAnB,SAAS,UAAK,KAAK,EAAxE,0DAAgE,CAAQ,CAAC;IAC/E,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,aAAa,EAAE,GAAG,qBAAqB,mBAAM,SAAS,EAAG,CAAC;IACrF,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,aAAa,CAAC,aAAa,CAAC,CAAC;IAEvE,IAAI,aAAa,IAAI,OAAO,EAAE,CAAC;QAC7B,OAAO,CACL,gDACM,UAAU,EACV,UAAU,IACd,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,UAAU,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,SAAS,CAAC,EAC7D,OAAO,EAAE,OAAO,mBACD,MAAM,mBACN,EAAE;YAEjB,oBAAC,IAAI,IAAC,IAAI,EAAC,OAAO,GAAG;YACrB,oBAAC,cAAc,QAAE,UAAU,CAAkB,CACtC,CACV,CAAC;IACJ,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAEF,gBAAgB,CAAC,eAAe,GAAG,kBAAkB,CAAC;AAEtD,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React, { type FC, type ReactNode } from 'react';
|
|
2
|
+
import { type ToastColorType, type ToastLinkProps } from '../../types';
|
|
3
|
+
type ToastState = {
|
|
4
|
+
queue: ToastItem[];
|
|
5
|
+
};
|
|
6
|
+
export interface ToastItem {
|
|
7
|
+
autoCloseInterval?: number;
|
|
8
|
+
color?: ToastColorType;
|
|
9
|
+
enableAutoClose?: boolean;
|
|
10
|
+
hasIcon: boolean;
|
|
11
|
+
iconName?: string;
|
|
12
|
+
id: string;
|
|
13
|
+
isDismissible: boolean;
|
|
14
|
+
isOpen: boolean;
|
|
15
|
+
linkProps: ToastLinkProps;
|
|
16
|
+
content: {
|
|
17
|
+
message: JSX.Element | string;
|
|
18
|
+
link?: JSX.Element | string;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
export interface ToastContextType extends ToastState {
|
|
22
|
+
clear: () => void;
|
|
23
|
+
hide: (id: string) => void;
|
|
24
|
+
setQueue: (newQueue: ToastItem[]) => void;
|
|
25
|
+
show: (content: {
|
|
26
|
+
message: JSX.Element | string;
|
|
27
|
+
link?: JSX.Element | string;
|
|
28
|
+
}, id: string, options?: {
|
|
29
|
+
autoCloseInterval?: number;
|
|
30
|
+
color?: ToastColorType;
|
|
31
|
+
enableAutoClose?: boolean;
|
|
32
|
+
hasIcon?: boolean;
|
|
33
|
+
iconName?: string;
|
|
34
|
+
isDismissible?: boolean;
|
|
35
|
+
linkProps: ToastLinkProps;
|
|
36
|
+
}) => void;
|
|
37
|
+
}
|
|
38
|
+
export declare const ToastContext: React.Context<ToastContextType>;
|
|
39
|
+
interface ToastProviderProps {
|
|
40
|
+
children: ReactNode;
|
|
41
|
+
}
|
|
42
|
+
export declare const ToastProvider: FC<ToastProviderProps>;
|
|
43
|
+
export {};
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import React, { createContext, useCallback, useMemo, useReducer } from 'react';
|
|
3
|
+
import { delayedCallback } from "../../utils/index.js";
|
|
4
|
+
import { DEFAULT_TOAST_AUTO_CLOSE_INTERVAL } from "./constants.js";
|
|
5
|
+
const defaultToastContext = {
|
|
6
|
+
clear: () => { },
|
|
7
|
+
hide: () => { },
|
|
8
|
+
queue: [],
|
|
9
|
+
setQueue: () => { },
|
|
10
|
+
show: () => { },
|
|
11
|
+
};
|
|
12
|
+
export const ToastContext = createContext(defaultToastContext);
|
|
13
|
+
const reducer = (state, action) => {
|
|
14
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
15
|
+
const { type, payload } = action;
|
|
16
|
+
const { queue: currentQueue } = state;
|
|
17
|
+
switch (type) {
|
|
18
|
+
case 'show': {
|
|
19
|
+
const newQueue = [
|
|
20
|
+
...currentQueue,
|
|
21
|
+
{
|
|
22
|
+
autoCloseInterval: ((_a = payload.options) === null || _a === void 0 ? void 0 : _a.autoCloseInterval) || DEFAULT_TOAST_AUTO_CLOSE_INTERVAL,
|
|
23
|
+
color: ((_b = payload.options) === null || _b === void 0 ? void 0 : _b.color) || undefined,
|
|
24
|
+
enableAutoClose: ((_c = payload.options) === null || _c === void 0 ? void 0 : _c.enableAutoClose) || true,
|
|
25
|
+
hasIcon: ((_d = payload.options) === null || _d === void 0 ? void 0 : _d.hasIcon) || false,
|
|
26
|
+
iconName: (_e = payload.options) === null || _e === void 0 ? void 0 : _e.iconName,
|
|
27
|
+
id: payload.toastId,
|
|
28
|
+
isDismissible: ((_f = payload.options) === null || _f === void 0 ? void 0 : _f.isDismissible) || false,
|
|
29
|
+
linkProps: ((_g = payload.options) === null || _g === void 0 ? void 0 : _g.linkProps) || {},
|
|
30
|
+
isOpen: true,
|
|
31
|
+
content: {
|
|
32
|
+
message: payload.content.message,
|
|
33
|
+
link: payload.content.link || undefined,
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
];
|
|
37
|
+
return { queue: newQueue };
|
|
38
|
+
}
|
|
39
|
+
case 'hide': {
|
|
40
|
+
return { queue: currentQueue.filter((item) => item.id !== payload.id) };
|
|
41
|
+
}
|
|
42
|
+
case 'clear':
|
|
43
|
+
return { queue: [] };
|
|
44
|
+
default:
|
|
45
|
+
throw new Error();
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
const initialToastState = {
|
|
49
|
+
queue: [],
|
|
50
|
+
};
|
|
51
|
+
export const ToastProvider = ({ children }) => {
|
|
52
|
+
const [state, dispatch] = useReducer(reducer, initialToastState);
|
|
53
|
+
const { queue } = state;
|
|
54
|
+
const hide = useCallback((id) => {
|
|
55
|
+
dispatch({ type: 'hide', payload: { id } });
|
|
56
|
+
}, []);
|
|
57
|
+
const clear = useCallback(() => {
|
|
58
|
+
dispatch({ type: 'clear', payload: null });
|
|
59
|
+
}, []);
|
|
60
|
+
const show = useCallback((content, toastId, options) => {
|
|
61
|
+
dispatch({ type: 'show', payload: { content, toastId, options } });
|
|
62
|
+
(options === null || options === void 0 ? void 0 : options.enableAutoClose) &&
|
|
63
|
+
delayedCallback(() => hide(toastId), (options === null || options === void 0 ? void 0 : options.autoCloseInterval) || DEFAULT_TOAST_AUTO_CLOSE_INTERVAL);
|
|
64
|
+
}, []);
|
|
65
|
+
const setQueue = useCallback((newQueue) => {
|
|
66
|
+
dispatch({ type: 'clear', payload: null });
|
|
67
|
+
newQueue.forEach((item) => {
|
|
68
|
+
var _a, _b;
|
|
69
|
+
const enableAutoClose = (_a = item.enableAutoClose) !== null && _a !== void 0 ? _a : true;
|
|
70
|
+
const autoCloseInterval = item.autoCloseInterval || DEFAULT_TOAST_AUTO_CLOSE_INTERVAL;
|
|
71
|
+
dispatch({
|
|
72
|
+
type: 'show',
|
|
73
|
+
payload: {
|
|
74
|
+
content: {
|
|
75
|
+
message: item.content.message,
|
|
76
|
+
link: (_b = item.content.link) !== null && _b !== void 0 ? _b : undefined,
|
|
77
|
+
},
|
|
78
|
+
toastId: item.id,
|
|
79
|
+
options: {
|
|
80
|
+
autoCloseInterval,
|
|
81
|
+
enableAutoClose,
|
|
82
|
+
color: item.color,
|
|
83
|
+
hasIcon: item.hasIcon || false,
|
|
84
|
+
iconName: item.iconName,
|
|
85
|
+
isDismissible: item.isDismissible || false,
|
|
86
|
+
linkProps: item.linkProps || {},
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
});
|
|
90
|
+
enableAutoClose && delayedCallback(() => hide(item.id), autoCloseInterval || DEFAULT_TOAST_AUTO_CLOSE_INTERVAL);
|
|
91
|
+
});
|
|
92
|
+
}, []);
|
|
93
|
+
const contextValue = useMemo(() => ({
|
|
94
|
+
clear,
|
|
95
|
+
hide,
|
|
96
|
+
queue,
|
|
97
|
+
setQueue,
|
|
98
|
+
show,
|
|
99
|
+
}), [hide, show, clear, queue.length, setQueue]);
|
|
100
|
+
return React.createElement(ToastContext.Provider, { value: contextValue }, children);
|
|
101
|
+
};
|
|
102
|
+
//# sourceMappingURL=ToastContext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToastContext.js","sourceRoot":"","sources":["../../../src/components/Toast/ToastContext.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,KAAK,EAAE,EAA2B,aAAa,EAAE,WAAW,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAExG,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,iCAAiC,EAAE,MAAM,aAAa,CAAC;AA4ChE,MAAM,mBAAmB,GAAqB;IAC5C,KAAK,EAAE,GAAG,EAAE,GAAE,CAAC;IACf,IAAI,EAAE,GAAG,EAAE,GAAE,CAAC;IACd,KAAK,EAAE,EAAE;IACT,QAAQ,EAAE,GAAG,EAAE,GAAE,CAAC;IAClB,IAAI,EAAE,GAAG,EAAE,GAAE,CAAC;CACf,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAmB,mBAAmB,CAAC,CAAC;AA0BjF,MAAM,OAAO,GAAG,CAAC,KAAiB,EAAE,MAAkB,EAAc,EAAE;;IACpE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;IACjC,MAAM,EAAE,KAAK,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC;IAEtC,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,MAAM,CAAC,CAAC,CAAC;YACZ,MAAM,QAAQ,GAAG;gBACf,GAAG,YAAY;gBACf;oBACE,iBAAiB,EAAE,CAAA,MAAA,OAAO,CAAC,O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