@progressiveui/react 1.22.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/.storybook/Logo.js +62 -0
- package/.storybook/WfpTheme.js +38 -0
- package/.storybook/main.ts +42 -0
- package/.storybook/manager.js +9 -0
- package/.storybook/preview.tsx +72 -0
- package/.storybook/reactHookFormDecorator.module.scss +5 -0
- package/.storybook/reactHookFormDecorator.tsx +59 -0
- package/.storybook/storybook.scss +60 -0
- package/.storybook/theme.js +14 -0
- package/LICENSE +201 -0
- package/README.md +15 -0
- package/config/jest/cssTransform.js +13 -0
- package/config/jest/fileTransform.js +11 -0
- package/config/jest/jsTransform.js +8 -0
- package/config/jest/setup.js +16 -0
- package/config/polyfills.js +22 -0
- package/es/dist/components/Accordion/__tests__/utils.d.ts +12 -0
- package/es/dist/components/Accordion/components/Accordion.d.ts +7 -0
- package/es/dist/components/Accordion/components/AccordionItem.d.ts +46 -0
- package/es/dist/components/Accordion/components/AccordionProvider.d.ts +7 -0
- package/es/dist/components/Accordion/components/ControlledAccordion.d.ts +8 -0
- package/es/dist/components/Accordion/components/withAccordionItem.d.ts +11 -0
- package/es/dist/components/Accordion/hooks/useAccordion.d.ts +5 -0
- package/es/dist/components/Accordion/hooks/useAccordionContext.d.ts +5 -0
- package/es/dist/components/Accordion/hooks/useAccordionItem.d.ts +7 -0
- package/es/dist/components/Accordion/hooks/useAccordionItemEffect.d.ts +13 -0
- package/es/dist/components/Accordion/hooks/useAccordionProvider.d.ts +3 -0
- package/es/dist/components/Accordion/hooks/useAccordionState.d.ts +14 -0
- package/es/dist/components/Accordion/hooks/useHeightTransition.d.ts +4 -0
- package/es/dist/components/Accordion/hooks/useId.d.ts +3 -0
- package/es/dist/components/Accordion/hooks/useMergeRef.d.ts +4 -0
- package/es/dist/components/Accordion/index.d.ts +17 -0
- package/es/dist/components/Accordion/utils/bem.d.ts +7 -0
- package/es/dist/components/Accordion/utils/constants.d.ts +58 -0
- package/es/dist/components/Accordion/utils/mergeProps.d.ts +2 -0
- package/es/dist/components/Accordion/utils/useIsomorphicLayoutEffect.d.ts +3 -0
- package/es/dist/components/AnchorNavigation/AnchorNavigation.d.ts +6 -0
- package/es/dist/components/AnchorNavigation/index.d.ts +1 -0
- package/es/dist/components/AuthLayout/AuthLayout.d.ts +20 -0
- package/es/dist/components/AuthLayout/index.d.ts +1 -0
- package/es/dist/components/Avatar/Avatar.d.ts +33 -0
- package/es/dist/components/Avatar/index.d.ts +1 -0
- package/es/dist/components/BannerNavigation/BannerNavigation.d.ts +20 -0
- package/es/dist/components/BannerNavigation/BannerNavigationWithContent.d.ts +13 -0
- package/es/dist/components/BannerNavigation/index.d.ts +2 -0
- package/es/dist/components/Breadcrumb/Breadcrumb.d.ts +11 -0
- package/es/dist/components/Breadcrumb/index.d.ts +1 -0
- package/es/dist/components/BreadcrumbHome/BreadcrumbHome.d.ts +13 -0
- package/es/dist/components/BreadcrumbHome/index.d.ts +1 -0
- package/es/dist/components/BreadcrumbItem/BreadcrumbItem.d.ts +21 -0
- package/es/dist/components/BreadcrumbItem/index.d.ts +1 -0
- package/es/dist/components/Button/Button.Skeleton.d.ts +7 -0
- package/es/dist/components/Button/Button.d.ts +55 -0
- package/es/dist/components/Button/index.d.ts +1 -0
- package/es/dist/components/Card/Card.d.ts +61 -0
- package/es/dist/components/Card/CardExternal.d.ts +37 -0
- package/es/dist/components/Card/index.d.ts +2 -0
- package/es/dist/components/Checkbox/Checkbox.d.ts +37 -0
- package/es/dist/components/Checkbox/index.d.ts +1 -0
- package/es/dist/components/ContentSwitcher/ContentSwitcher.d.ts +12 -0
- package/es/dist/components/ContentSwitcher/index.d.ts +1 -0
- package/es/dist/components/ContextMenu/ContextMenu.d.ts +31 -0
- package/es/dist/components/ContextMenu/index.d.ts +1 -0
- package/es/dist/components/Credits/Credits.d.ts +10 -0
- package/es/dist/components/Credits/index.d.ts +1 -0
- package/es/dist/components/DatePicker/DatePicker.d.ts +8 -0
- package/es/dist/components/DatePicker/DatePickerInput.d.ts +38 -0
- package/es/dist/components/DatePicker/DateRangePicker.d.ts +8 -0
- package/es/dist/components/DatePicker/DateRangePickerInput.d.ts +34 -0
- package/es/dist/components/DatePicker/index.d.ts +4 -0
- package/es/dist/components/DatePickerNew/DateRangePickerInput.d.ts +11 -0
- package/es/dist/components/Empty/Empty.d.ts +40 -0
- package/es/dist/components/Empty/index.d.ts +1 -0
- package/es/dist/components/Footer/Footer.d.ts +47 -0
- package/es/dist/components/Footer/FooterExternal.d.ts +22 -0
- package/es/dist/components/Footer/index.d.ts +2 -0
- package/es/dist/components/Form/Form.d.ts +15 -0
- package/es/dist/components/Form/index.d.ts +1 -0
- package/es/dist/components/FormGroup/FormGroup.d.ts +14 -0
- package/es/dist/components/FormGroup/index.d.ts +1 -0
- package/es/dist/components/FormHint/FormHint.d.ts +15 -0
- package/es/dist/components/FormHint/index.d.ts +1 -0
- package/es/dist/components/FormItem/FormItem.d.ts +17 -0
- package/es/dist/components/FormItem/index.d.ts +1 -0
- package/es/dist/components/FormLabel/FormLabel.d.ts +15 -0
- package/es/dist/components/FormLabel/index.d.ts +1 -0
- package/es/dist/components/Hero/Hero.d.ts +53 -0
- package/es/dist/components/Hero/HeroExternal.d.ts +22 -0
- package/es/dist/components/Hero/index.d.ts +2 -0
- package/es/dist/components/InfoBar/InfoBar.d.ts +23 -0
- package/es/dist/components/InfoBar/index.d.ts +1 -0
- package/es/dist/components/InlineLoading/InlineLoading.d.ts +26 -0
- package/es/dist/components/InlineLoading/index.d.ts +1 -0
- package/es/dist/components/Input/Input.d.ts +152 -0
- package/es/dist/components/Input/index.d.ts +3 -0
- package/es/dist/components/Input/useInput.d.ts +123 -0
- package/es/dist/components/InputGroup/InputGroup.d.ts +48 -0
- package/es/dist/components/InputGroup/index.d.ts +1 -0
- package/es/dist/components/Item/Item.d.ts +59 -0
- package/es/dist/components/Item/index.d.ts +1 -0
- package/es/dist/components/Link/Link.d.ts +37 -0
- package/es/dist/components/Link/index.d.ts +1 -0
- package/es/dist/components/List/List.d.ts +32 -0
- package/es/dist/components/List/ListItem.d.ts +25 -0
- package/es/dist/components/List/index.d.ts +2 -0
- package/es/dist/components/Loading/Loading.d.ts +16 -0
- package/es/dist/components/Loading/index.d.ts +7 -0
- package/es/dist/components/MainNavigation/MainNavigation.d.ts +51 -0
- package/es/dist/components/MainNavigation/MainNavigationContext.d.ts +25 -0
- package/es/dist/components/MainNavigation/MainNavigationExternal.d.ts +72 -0
- package/es/dist/components/MainNavigation/MobileButton.d.ts +17 -0
- package/es/dist/components/MainNavigation/index.d.ts +4 -0
- package/es/dist/components/MainNavigation/useMainNavigation.d.ts +7 -0
- package/es/dist/components/MainNavigationItem/MainNavigationItem.d.ts +29 -0
- package/es/dist/components/MainNavigationItem/index.d.ts +1 -0
- package/es/dist/components/MdxComponents/MdxComponentsNew.d.ts +2 -0
- package/es/dist/components/MdxComponents/index.d.ts +1 -0
- package/es/dist/components/Modal/Modal.d.ts +122 -0
- package/es/dist/components/Modal/ModalFooter.d.ts +8 -0
- package/es/dist/components/Modal/index.d.ts +2 -0
- package/es/dist/components/ModalWrapper/ModalWrapper.d.ts +53 -0
- package/es/dist/components/ModalWrapper/index.d.ts +1 -0
- package/es/dist/components/Module/Module.d.ts +38 -0
- package/es/dist/components/Module/ModuleBody.d.ts +21 -0
- package/es/dist/components/Module/ModuleFooter.d.ts +10 -0
- package/es/dist/components/Module/ModuleHeader.d.ts +16 -0
- package/es/dist/components/Module/index.d.ts +4 -0
- package/es/dist/components/Notification/Callout.d.ts +59 -0
- package/es/dist/components/Notification/NotificationActionButton.d.ts +18 -0
- package/es/dist/components/Notification/NotificationButton.d.ts +36 -0
- package/es/dist/components/Notification/NotificationIcon.d.ts +8 -0
- package/es/dist/components/Notification/NotificationTextDetails.d.ts +10 -0
- package/es/dist/components/Notification/ToastNotification.d.ts +10 -0
- package/es/dist/components/Notification/index.d.ts +5 -0
- package/es/dist/components/NumberInput/NumberInput.Skeleton.d.ts +10 -0
- package/es/dist/components/NumberInput/NumberInput.d.ts +64 -0
- package/es/dist/components/NumberInput/index.d.ts +2 -0
- package/es/dist/components/Pagination/Pagination.d.ts +92 -0
- package/es/dist/components/Pagination/index.d.ts +1 -0
- package/es/dist/components/RadioButton/RadioButton.d.ts +27 -0
- package/es/dist/components/RadioButton/index.d.ts +2 -0
- package/es/dist/components/ReadMore/ReadMore.d.ts +45 -0
- package/es/dist/components/ReadMore/index.d.ts +1 -0
- package/es/dist/components/Search/Search.d.ts +50 -0
- package/es/dist/components/Search/index.d.ts +1 -0
- package/es/dist/components/SecondaryNavigation/SecondaryNavigation.d.ts +19 -0
- package/es/dist/components/SecondaryNavigation/SecondaryNavigationTitle.d.ts +8 -0
- package/es/dist/components/SecondaryNavigation/index.d.ts +2 -0
- package/es/dist/components/Select/Select.d.ts +24 -0
- package/es/dist/components/Select/index.d.ts +1 -0
- package/es/dist/components/SelectItem/SelectItem.d.ts +28 -0
- package/es/dist/components/SelectItem/index.d.ts +1 -0
- package/es/dist/components/SelectItemGroup/SelectItemGroup.d.ts +21 -0
- package/es/dist/components/SelectItemGroup/index.d.ts +1 -0
- package/es/dist/components/Sidebar/Sidebar.d.ts +46 -0
- package/es/dist/components/Sidebar/index.d.ts +1 -0
- package/es/dist/components/SkeletonText/SkeletonText.d.ts +22 -0
- package/es/dist/components/SkeletonText/index.d.ts +1 -0
- package/es/dist/components/Slider/Slider.d.ts +71 -0
- package/es/dist/components/Slider/index.d.ts +1 -0
- package/es/dist/components/StepNavigation/StepNavigation.Skeleton.d.ts +2 -0
- package/es/dist/components/StepNavigation/StepNavigation.d.ts +42 -0
- package/es/dist/components/StepNavigation/index.d.ts +2 -0
- package/es/dist/components/StepNavigationItem/StepNavigationItem.d.ts +55 -0
- package/es/dist/components/StepNavigationItem/index.d.ts +1 -0
- package/es/dist/components/Story/Story.d.ts +7 -0
- package/es/dist/components/Story/index.d.ts +1 -0
- package/es/dist/components/SubNavigation/SubNavigation.d.ts +5 -0
- package/es/dist/components/SubNavigation/SubNavigationContent.d.ts +9 -0
- package/es/dist/components/SubNavigation/SubNavigationFilter.d.ts +9 -0
- package/es/dist/components/SubNavigation/SubNavigationGroup.d.ts +17 -0
- package/es/dist/components/SubNavigation/SubNavigationHeader.d.ts +9 -0
- package/es/dist/components/SubNavigation/SubNavigationItem.d.ts +9 -0
- package/es/dist/components/SubNavigation/SubNavigationLink.d.ts +9 -0
- package/es/dist/components/SubNavigation/SubNavigationList.d.ts +9 -0
- package/es/dist/components/SubNavigation/SubNavigationTitle.d.ts +9 -0
- package/es/dist/components/SubNavigation/index.d.ts +9 -0
- package/es/dist/components/Tab/Tab.d.ts +83 -0
- package/es/dist/components/Tab/index.d.ts +2 -0
- package/es/dist/components/Tab/useTab.d.ts +12 -0
- package/es/dist/components/TabContent/TabContent.d.ts +13 -0
- package/es/dist/components/TabContent/index.d.ts +1 -0
- package/es/dist/components/Table/Table.d.ts +8 -0
- package/es/dist/components/Table/TableSorting.d.ts +11 -0
- package/es/dist/components/Table/index.d.ts +2 -0
- package/es/dist/components/TablePagination/TablePagination.d.ts +33 -0
- package/es/dist/components/TablePagination/index.d.ts +1 -0
- package/es/dist/components/Tabs/Tabs.d.ts +67 -0
- package/es/dist/components/Tabs/TabsContext.d.ts +8 -0
- package/es/dist/components/Tabs/index.d.ts +1 -0
- package/es/dist/components/Tag/Tag.d.ts +14 -0
- package/es/dist/components/Tag/index.d.ts +2 -0
- package/es/dist/components/Text/Text.d.ts +30 -0
- package/es/dist/components/Text/index.d.ts +1 -0
- package/es/dist/components/TextArea/TextArea.d.ts +8 -0
- package/es/dist/components/TextArea/index.d.ts +1 -0
- package/es/dist/components/TextInput/TextInput.d.ts +7 -0
- package/es/dist/components/TextInput/index.d.ts +1 -0
- package/es/dist/components/Toggle/Toggle.d.ts +38 -0
- package/es/dist/components/Toggle/index.d.ts +1 -0
- package/es/dist/components/Tooltip/Tooltip.d.ts +103 -0
- package/es/dist/components/Tooltip/index.d.ts +2 -0
- package/es/dist/components/Unit/InvalidUnit.d.ts +2 -0
- package/es/dist/components/Unit/SimpleCalc.d.ts +17 -0
- package/es/dist/components/Unit/StringUnit.d.ts +2 -0
- package/es/dist/components/Unit/SvgUnit.d.ts +2 -0
- package/es/dist/components/Unit/Unit.d.ts +54 -0
- package/es/dist/components/Unit/UnitList.d.ts +96 -0
- package/es/dist/components/Unit/YearMonthCalc.d.ts +7 -0
- package/es/dist/components/Unit/currencyCalc.d.ts +21 -0
- package/es/dist/components/Unit/index.d.ts +1 -0
- package/es/dist/components/Unit/percentageCalc.d.ts +18 -0
- package/es/dist/components/Unit/scaleLookup.d.ts +24 -0
- package/es/dist/components/User/User.d.ts +55 -0
- package/es/dist/components/User/index.d.ts +1 -0
- package/es/dist/components/Value/Value.d.ts +11 -0
- package/es/dist/components/Value/index.d.ts +1 -0
- package/es/dist/components/WFPCoreSettings/WFPCoreProvider.d.ts +21 -0
- package/es/dist/components/WFPCoreSettings/defaults.d.ts +2 -0
- package/es/dist/components/WFPCoreSettings/index.d.ts +4 -0
- package/es/dist/components/WFPCoreSettings/useTheme.d.ts +2 -0
- package/es/dist/components/WFPCoreSettings/withWFPCoreSettings.d.ts +2 -0
- package/es/dist/components/Wrapper/Wrapper.d.ts +22 -0
- package/es/dist/components/Wrapper/index.d.ts +2 -0
- package/es/dist/globals/data/colors.d.ts +609 -0
- package/es/dist/globals/js/settings.d.ts +34 -0
- package/es/dist/hooks/index.d.ts +1 -0
- package/es/dist/hooks/togglable.d.ts +5 -0
- package/es/dist/hooks/useHeightTransition.d.ts +4 -0
- package/es/dist/hooks/useId.d.ts +3 -0
- package/es/dist/hooks/useIsomorphicLayoutEffect.d.ts +12 -0
- package/es/dist/hooks/useMediaQuery.d.ts +19 -0
- package/es/dist/hooks/useMergeRef.d.ts +4 -0
- package/es/dist/hooks/useSettings.d.ts +2 -0
- package/es/dist/index.d.ts +75 -0
- package/es/dist/internal/FeatureFlags.d.ts +19 -0
- package/es/dist/prop-types/types.d.ts +5 -0
- package/es/dist/tools/uniqueId.d.ts +2 -0
- package/es/index.js +5470 -0
- package/lib/dist/components/Accordion/__tests__/utils.d.ts +12 -0
- package/lib/dist/components/Accordion/components/Accordion.d.ts +7 -0
- package/lib/dist/components/Accordion/components/AccordionItem.d.ts +46 -0
- package/lib/dist/components/Accordion/components/AccordionProvider.d.ts +7 -0
- package/lib/dist/components/Accordion/components/ControlledAccordion.d.ts +8 -0
- package/lib/dist/components/Accordion/components/withAccordionItem.d.ts +11 -0
- package/lib/dist/components/Accordion/hooks/useAccordion.d.ts +5 -0
- package/lib/dist/components/Accordion/hooks/useAccordionContext.d.ts +5 -0
- package/lib/dist/components/Accordion/hooks/useAccordionItem.d.ts +7 -0
- package/lib/dist/components/Accordion/hooks/useAccordionItemEffect.d.ts +13 -0
- package/lib/dist/components/Accordion/hooks/useAccordionProvider.d.ts +3 -0
- package/lib/dist/components/Accordion/hooks/useAccordionState.d.ts +14 -0
- package/lib/dist/components/Accordion/hooks/useHeightTransition.d.ts +4 -0
- package/lib/dist/components/Accordion/hooks/useId.d.ts +3 -0
- package/lib/dist/components/Accordion/hooks/useMergeRef.d.ts +4 -0
- package/lib/dist/components/Accordion/index.d.ts +17 -0
- package/lib/dist/components/Accordion/utils/bem.d.ts +7 -0
- package/lib/dist/components/Accordion/utils/constants.d.ts +58 -0
- package/lib/dist/components/Accordion/utils/mergeProps.d.ts +2 -0
- package/lib/dist/components/Accordion/utils/useIsomorphicLayoutEffect.d.ts +3 -0
- package/lib/dist/components/AnchorNavigation/AnchorNavigation.d.ts +6 -0
- package/lib/dist/components/AnchorNavigation/index.d.ts +1 -0
- package/lib/dist/components/AuthLayout/AuthLayout.d.ts +20 -0
- package/lib/dist/components/AuthLayout/index.d.ts +1 -0
- package/lib/dist/components/Avatar/Avatar.d.ts +33 -0
- package/lib/dist/components/Avatar/index.d.ts +1 -0
- package/lib/dist/components/BannerNavigation/BannerNavigation.d.ts +20 -0
- package/lib/dist/components/BannerNavigation/BannerNavigationWithContent.d.ts +13 -0
- package/lib/dist/components/BannerNavigation/index.d.ts +2 -0
- package/lib/dist/components/Breadcrumb/Breadcrumb.d.ts +11 -0
- package/lib/dist/components/Breadcrumb/index.d.ts +1 -0
- package/lib/dist/components/BreadcrumbHome/BreadcrumbHome.d.ts +13 -0
- package/lib/dist/components/BreadcrumbHome/index.d.ts +1 -0
- package/lib/dist/components/BreadcrumbItem/BreadcrumbItem.d.ts +21 -0
- package/lib/dist/components/BreadcrumbItem/index.d.ts +1 -0
- package/lib/dist/components/Button/Button.Skeleton.d.ts +7 -0
- package/lib/dist/components/Button/Button.d.ts +55 -0
- package/lib/dist/components/Button/index.d.ts +1 -0
- package/lib/dist/components/Card/Card.d.ts +61 -0
- package/lib/dist/components/Card/CardExternal.d.ts +37 -0
- package/lib/dist/components/Card/index.d.ts +2 -0
- package/lib/dist/components/Checkbox/Checkbox.d.ts +37 -0
- package/lib/dist/components/Checkbox/index.d.ts +1 -0
- package/lib/dist/components/ContentSwitcher/ContentSwitcher.d.ts +12 -0
- package/lib/dist/components/ContentSwitcher/index.d.ts +1 -0
- package/lib/dist/components/ContextMenu/ContextMenu.d.ts +31 -0
- package/lib/dist/components/ContextMenu/index.d.ts +1 -0
- package/lib/dist/components/Credits/Credits.d.ts +10 -0
- package/lib/dist/components/Credits/index.d.ts +1 -0
- package/lib/dist/components/DatePicker/DatePicker.d.ts +8 -0
- package/lib/dist/components/DatePicker/DatePickerInput.d.ts +38 -0
- package/lib/dist/components/DatePicker/DateRangePicker.d.ts +8 -0
- package/lib/dist/components/DatePicker/DateRangePickerInput.d.ts +34 -0
- package/lib/dist/components/DatePicker/index.d.ts +4 -0
- package/lib/dist/components/DatePickerNew/DateRangePickerInput.d.ts +11 -0
- package/lib/dist/components/Empty/Empty.d.ts +40 -0
- package/lib/dist/components/Empty/index.d.ts +1 -0
- package/lib/dist/components/Footer/Footer.d.ts +47 -0
- package/lib/dist/components/Footer/FooterExternal.d.ts +22 -0
- package/lib/dist/components/Footer/index.d.ts +2 -0
- package/lib/dist/components/Form/Form.d.ts +15 -0
- package/lib/dist/components/Form/index.d.ts +1 -0
- package/lib/dist/components/FormGroup/FormGroup.d.ts +14 -0
- package/lib/dist/components/FormGroup/index.d.ts +1 -0
- package/lib/dist/components/FormHint/FormHint.d.ts +15 -0
- package/lib/dist/components/FormHint/index.d.ts +1 -0
- package/lib/dist/components/FormItem/FormItem.d.ts +17 -0
- package/lib/dist/components/FormItem/index.d.ts +1 -0
- package/lib/dist/components/FormLabel/FormLabel.d.ts +15 -0
- package/lib/dist/components/FormLabel/index.d.ts +1 -0
- package/lib/dist/components/Hero/Hero.d.ts +53 -0
- package/lib/dist/components/Hero/HeroExternal.d.ts +22 -0
- package/lib/dist/components/Hero/index.d.ts +2 -0
- package/lib/dist/components/InfoBar/InfoBar.d.ts +23 -0
- package/lib/dist/components/InfoBar/index.d.ts +1 -0
- package/lib/dist/components/InlineLoading/InlineLoading.d.ts +26 -0
- package/lib/dist/components/InlineLoading/index.d.ts +1 -0
- package/lib/dist/components/Input/Input.d.ts +152 -0
- package/lib/dist/components/Input/index.d.ts +3 -0
- package/lib/dist/components/Input/useInput.d.ts +123 -0
- package/lib/dist/components/InputGroup/InputGroup.d.ts +48 -0
- package/lib/dist/components/InputGroup/index.d.ts +1 -0
- package/lib/dist/components/Item/Item.d.ts +59 -0
- package/lib/dist/components/Item/index.d.ts +1 -0
- package/lib/dist/components/Link/Link.d.ts +37 -0
- package/lib/dist/components/Link/index.d.ts +1 -0
- package/lib/dist/components/List/List.d.ts +32 -0
- package/lib/dist/components/List/ListItem.d.ts +25 -0
- package/lib/dist/components/List/index.d.ts +2 -0
- package/lib/dist/components/Loading/Loading.d.ts +16 -0
- package/lib/dist/components/Loading/index.d.ts +7 -0
- package/lib/dist/components/MainNavigation/MainNavigation.d.ts +51 -0
- package/lib/dist/components/MainNavigation/MainNavigationContext.d.ts +25 -0
- package/lib/dist/components/MainNavigation/MainNavigationExternal.d.ts +72 -0
- package/lib/dist/components/MainNavigation/MobileButton.d.ts +17 -0
- package/lib/dist/components/MainNavigation/index.d.ts +4 -0
- package/lib/dist/components/MainNavigation/useMainNavigation.d.ts +7 -0
- package/lib/dist/components/MainNavigationItem/MainNavigationItem.d.ts +29 -0
- package/lib/dist/components/MainNavigationItem/index.d.ts +1 -0
- package/lib/dist/components/MdxComponents/MdxComponentsNew.d.ts +2 -0
- package/lib/dist/components/MdxComponents/index.d.ts +1 -0
- package/lib/dist/components/Modal/Modal.d.ts +122 -0
- package/lib/dist/components/Modal/ModalFooter.d.ts +8 -0
- package/lib/dist/components/Modal/index.d.ts +2 -0
- package/lib/dist/components/ModalWrapper/ModalWrapper.d.ts +53 -0
- package/lib/dist/components/ModalWrapper/index.d.ts +1 -0
- package/lib/dist/components/Module/Module.d.ts +38 -0
- package/lib/dist/components/Module/ModuleBody.d.ts +21 -0
- package/lib/dist/components/Module/ModuleFooter.d.ts +10 -0
- package/lib/dist/components/Module/ModuleHeader.d.ts +16 -0
- package/lib/dist/components/Module/index.d.ts +4 -0
- package/lib/dist/components/Notification/Callout.d.ts +59 -0
- package/lib/dist/components/Notification/NotificationActionButton.d.ts +18 -0
- package/lib/dist/components/Notification/NotificationButton.d.ts +36 -0
- package/lib/dist/components/Notification/NotificationIcon.d.ts +8 -0
- package/lib/dist/components/Notification/NotificationTextDetails.d.ts +10 -0
- package/lib/dist/components/Notification/ToastNotification.d.ts +10 -0
- package/lib/dist/components/Notification/index.d.ts +5 -0
- package/lib/dist/components/NumberInput/NumberInput.Skeleton.d.ts +10 -0
- package/lib/dist/components/NumberInput/NumberInput.d.ts +64 -0
- package/lib/dist/components/NumberInput/index.d.ts +2 -0
- package/lib/dist/components/Pagination/Pagination.d.ts +92 -0
- package/lib/dist/components/Pagination/index.d.ts +1 -0
- package/lib/dist/components/RadioButton/RadioButton.d.ts +27 -0
- package/lib/dist/components/RadioButton/index.d.ts +2 -0
- package/lib/dist/components/ReadMore/ReadMore.d.ts +45 -0
- package/lib/dist/components/ReadMore/index.d.ts +1 -0
- package/lib/dist/components/Search/Search.d.ts +50 -0
- package/lib/dist/components/Search/index.d.ts +1 -0
- package/lib/dist/components/SecondaryNavigation/SecondaryNavigation.d.ts +19 -0
- package/lib/dist/components/SecondaryNavigation/SecondaryNavigationTitle.d.ts +8 -0
- package/lib/dist/components/SecondaryNavigation/index.d.ts +2 -0
- package/lib/dist/components/Select/Select.d.ts +24 -0
- package/lib/dist/components/Select/index.d.ts +1 -0
- package/lib/dist/components/SelectItem/SelectItem.d.ts +28 -0
- package/lib/dist/components/SelectItem/index.d.ts +1 -0
- package/lib/dist/components/SelectItemGroup/SelectItemGroup.d.ts +21 -0
- package/lib/dist/components/SelectItemGroup/index.d.ts +1 -0
- package/lib/dist/components/Sidebar/Sidebar.d.ts +46 -0
- package/lib/dist/components/Sidebar/index.d.ts +1 -0
- package/lib/dist/components/SkeletonText/SkeletonText.d.ts +22 -0
- package/lib/dist/components/SkeletonText/index.d.ts +1 -0
- package/lib/dist/components/Slider/Slider.d.ts +71 -0
- package/lib/dist/components/Slider/index.d.ts +1 -0
- package/lib/dist/components/StepNavigation/StepNavigation.Skeleton.d.ts +2 -0
- package/lib/dist/components/StepNavigation/StepNavigation.d.ts +42 -0
- package/lib/dist/components/StepNavigation/index.d.ts +2 -0
- package/lib/dist/components/StepNavigationItem/StepNavigationItem.d.ts +55 -0
- package/lib/dist/components/StepNavigationItem/index.d.ts +1 -0
- package/lib/dist/components/Story/Story.d.ts +7 -0
- package/lib/dist/components/Story/index.d.ts +1 -0
- package/lib/dist/components/SubNavigation/SubNavigation.d.ts +5 -0
- package/lib/dist/components/SubNavigation/SubNavigationContent.d.ts +9 -0
- package/lib/dist/components/SubNavigation/SubNavigationFilter.d.ts +9 -0
- package/lib/dist/components/SubNavigation/SubNavigationGroup.d.ts +17 -0
- package/lib/dist/components/SubNavigation/SubNavigationHeader.d.ts +9 -0
- package/lib/dist/components/SubNavigation/SubNavigationItem.d.ts +9 -0
- package/lib/dist/components/SubNavigation/SubNavigationLink.d.ts +9 -0
- package/lib/dist/components/SubNavigation/SubNavigationList.d.ts +9 -0
- package/lib/dist/components/SubNavigation/SubNavigationTitle.d.ts +9 -0
- package/lib/dist/components/SubNavigation/index.d.ts +9 -0
- package/lib/dist/components/Tab/Tab.d.ts +83 -0
- package/lib/dist/components/Tab/index.d.ts +2 -0
- package/lib/dist/components/Tab/useTab.d.ts +12 -0
- package/lib/dist/components/TabContent/TabContent.d.ts +13 -0
- package/lib/dist/components/TabContent/index.d.ts +1 -0
- package/lib/dist/components/Table/Table.d.ts +8 -0
- package/lib/dist/components/Table/TableSorting.d.ts +11 -0
- package/lib/dist/components/Table/index.d.ts +2 -0
- package/lib/dist/components/TablePagination/TablePagination.d.ts +33 -0
- package/lib/dist/components/TablePagination/index.d.ts +1 -0
- package/lib/dist/components/Tabs/Tabs.d.ts +67 -0
- package/lib/dist/components/Tabs/TabsContext.d.ts +8 -0
- package/lib/dist/components/Tabs/index.d.ts +1 -0
- package/lib/dist/components/Tag/Tag.d.ts +14 -0
- package/lib/dist/components/Tag/index.d.ts +2 -0
- package/lib/dist/components/Text/Text.d.ts +30 -0
- package/lib/dist/components/Text/index.d.ts +1 -0
- package/lib/dist/components/TextArea/TextArea.d.ts +8 -0
- package/lib/dist/components/TextArea/index.d.ts +1 -0
- package/lib/dist/components/TextInput/TextInput.d.ts +7 -0
- package/lib/dist/components/TextInput/index.d.ts +1 -0
- package/lib/dist/components/Toggle/Toggle.d.ts +38 -0
- package/lib/dist/components/Toggle/index.d.ts +1 -0
- package/lib/dist/components/Tooltip/Tooltip.d.ts +103 -0
- package/lib/dist/components/Tooltip/index.d.ts +2 -0
- package/lib/dist/components/UNCoreSettings/UNCoreProvider.d.ts +21 -0
- package/lib/dist/components/UNCoreSettings/defaults.d.ts +2 -0
- package/lib/dist/components/UNCoreSettings/index.d.ts +4 -0
- package/lib/dist/components/UNCoreSettings/useTheme.d.ts +2 -0
- package/lib/dist/components/UNCoreSettings/withUNCoreSettings.d.ts +2 -0
- package/lib/dist/components/Unit/InvalidUnit.d.ts +2 -0
- package/lib/dist/components/Unit/SimpleCalc.d.ts +17 -0
- package/lib/dist/components/Unit/StringUnit.d.ts +2 -0
- package/lib/dist/components/Unit/SvgUnit.d.ts +2 -0
- package/lib/dist/components/Unit/Unit.d.ts +54 -0
- package/lib/dist/components/Unit/UnitList.d.ts +96 -0
- package/lib/dist/components/Unit/YearMonthCalc.d.ts +7 -0
- package/lib/dist/components/Unit/currencyCalc.d.ts +21 -0
- package/lib/dist/components/Unit/index.d.ts +1 -0
- package/lib/dist/components/Unit/percentageCalc.d.ts +18 -0
- package/lib/dist/components/Unit/scaleLookup.d.ts +24 -0
- package/lib/dist/components/User/User.d.ts +55 -0
- package/lib/dist/components/User/index.d.ts +1 -0
- package/lib/dist/components/Value/Value.d.ts +11 -0
- package/lib/dist/components/Value/index.d.ts +1 -0
- package/lib/dist/components/WFPCoreSettings/WFPCoreProvider.d.ts +21 -0
- package/lib/dist/components/WFPCoreSettings/defaults.d.ts +2 -0
- package/lib/dist/components/WFPCoreSettings/index.d.ts +4 -0
- package/lib/dist/components/WFPCoreSettings/useTheme.d.ts +2 -0
- package/lib/dist/components/WFPCoreSettings/withWFPCoreSettings.d.ts +2 -0
- package/lib/dist/components/Wrapper/Wrapper.d.ts +22 -0
- package/lib/dist/components/Wrapper/index.d.ts +2 -0
- package/lib/dist/globals/data/colors.d.ts +609 -0
- package/lib/dist/globals/js/settings.d.ts +34 -0
- package/lib/dist/hooks/index.d.ts +1 -0
- package/lib/dist/hooks/togglable.d.ts +5 -0
- package/lib/dist/hooks/useHeightTransition.d.ts +4 -0
- package/lib/dist/hooks/useId.d.ts +3 -0
- package/lib/dist/hooks/useIsomorphicLayoutEffect.d.ts +12 -0
- package/lib/dist/hooks/useMediaQuery.d.ts +19 -0
- package/lib/dist/hooks/useMergeRef.d.ts +4 -0
- package/lib/dist/hooks/useSettings.d.ts +2 -0
- package/lib/dist/index.d.ts +75 -0
- package/lib/dist/indexStories.d.ts +1 -0
- package/lib/dist/internal/FeatureFlags.d.ts +19 -0
- package/lib/dist/prop-types/types.d.ts +5 -0
- package/lib/dist/tools/uniqueId.d.ts +2 -0
- package/lib/index.js +5670 -0
- package/package.json +170 -0
- package/src/assets/internal/background-contrast.png +0 -0
- package/src/assets/internal/brand-color.png +0 -0
- package/src/assets/internal/branding.svg +31 -0
- package/src/assets/internal/colors.png +0 -0
- package/src/assets/internal/hero-image.jpg +0 -0
- package/src/assets/internal/mobile-android-general.png +0 -0
- package/src/assets/internal/secondary-color.png +0 -0
- package/src/assets/internal/toolkit.svg +17 -0
- package/src/assets/internal/usability.svg +12 -0
- package/src/assets/internal/wfp-favicon-png32.png +0 -0
- package/src/assets/internal/wfp-favicon-png512.png +0 -0
- package/src/assets/internal/wfp-favicon-preview-png32.png +0 -0
- package/src/assets/internal/wfp-favicon-preview-png512.png +0 -0
- package/src/assets/internal/yemen-hero-min.jpg +0 -0
- package/src/components/Accordion/Accordion.stories.tsx +41 -0
- package/src/components/Accordion/README.mdx +0 -0
- package/src/components/Accordion/__tests__/components/Accordion.test.tsx.new +122 -0
- package/src/components/Accordion/__tests__/components/AccordionItem.test.tsx.new +353 -0
- package/src/components/Accordion/__tests__/components/AccordionMock.test.tsx.new +18 -0
- package/src/components/Accordion/__tests__/components/ControlledAccordion.test.tsx.new +38 -0
- package/src/components/Accordion/__tests__/hooks/useAccordionProvider.test.ts +56 -0
- package/src/components/Accordion/__tests__/hooks/useAccordionState.test.tsx.new +54 -0
- package/src/components/Accordion/__tests__/hooks/useId.test.ts +19 -0
- package/src/components/Accordion/__tests__/ssr.test.ts +32 -0
- package/src/components/Accordion/__tests__/utils.tsx +48 -0
- package/src/components/Accordion/components/Accordion.tsx +44 -0
- package/src/components/Accordion/components/AccordionItem.tsx +181 -0
- package/src/components/Accordion/components/AccordionProvider.tsx +9 -0
- package/src/components/Accordion/components/ControlledAccordion.tsx +35 -0
- package/src/components/Accordion/components/withAccordionItem.tsx +37 -0
- package/src/components/Accordion/hooks/useAccordion.ts +56 -0
- package/src/components/Accordion/hooks/useAccordionContext.ts +32 -0
- package/src/components/Accordion/hooks/useAccordionItem.ts +31 -0
- package/src/components/Accordion/hooks/useAccordionItemEffect.ts +36 -0
- package/src/components/Accordion/hooks/useAccordionProvider.ts +35 -0
- package/src/components/Accordion/hooks/useAccordionState.ts +14 -0
- package/src/components/Accordion/index.ts +23 -0
- package/src/components/Accordion/utils/bem.ts +33 -0
- package/src/components/Accordion/utils/constants.ts +82 -0
- package/src/components/Accordion/utils/mergeProps.ts +24 -0
- package/src/components/Accordion/utils/useIsomorphicLayoutEffect.ts +15 -0
- package/src/components/AnchorNavigation/AnchorNavigation-test.js +48 -0
- package/src/components/AnchorNavigation/AnchorNavigation.stories.tsx +56 -0
- package/src/components/AnchorNavigation/AnchorNavigation.tsx +29 -0
- package/src/components/AnchorNavigation/README.mdx +0 -0
- package/src/components/AnchorNavigation/index.ts +1 -0
- package/src/components/AuthLayout/AuthLayout-test.js +46 -0
- package/src/components/AuthLayout/AuthLayout.stories.tsx +146 -0
- package/src/components/AuthLayout/AuthLayout.tsx +64 -0
- package/src/components/AuthLayout/README.mdx +0 -0
- package/src/components/AuthLayout/index.ts +1 -0
- package/src/components/Avatar/Avatar.stories.tsx +19 -0
- package/src/components/Avatar/Avatar.tsx +99 -0
- package/src/components/Avatar/index.ts +1 -0
- package/src/components/BannerNavigation/BannerNavigation-test.js +48 -0
- package/src/components/BannerNavigation/BannerNavigation.hbs +45 -0
- package/src/components/BannerNavigation/BannerNavigation.stories.tsx +64 -0
- package/src/components/BannerNavigation/BannerNavigation.tsx +55 -0
- package/src/components/BannerNavigation/BannerNavigation.twig +16 -0
- package/src/components/BannerNavigation/BannerNavigationWithContent.tsx +93 -0
- package/src/components/BannerNavigation/README.mdx +62 -0
- package/src/components/BannerNavigation/index.ts +2 -0
- package/src/components/BannerNavigation/kinds.js +3 -0
- package/src/components/Breadcrumb/Breadcrumb-test.js +50 -0
- package/src/components/Breadcrumb/Breadcrumb.Skeleton.jsx +22 -0
- package/src/components/Breadcrumb/Breadcrumb.hbs +16 -0
- package/src/components/Breadcrumb/Breadcrumb.stories.tsx +39 -0
- package/src/components/Breadcrumb/Breadcrumb.tsx +27 -0
- package/src/components/Breadcrumb/README.mdx +23 -0
- package/src/components/Breadcrumb/index.ts +2 -0
- package/src/components/BreadcrumbHome/BreadcrumbHome.tsx +37 -0
- package/src/components/BreadcrumbHome/index.ts +1 -0
- package/src/components/BreadcrumbItem/BreadcrumbItem.tsx +54 -0
- package/src/components/BreadcrumbItem/index.ts +1 -0
- package/src/components/Button/Button.Skeleton.tsx +30 -0
- package/src/components/Button/Button.d.ts +7 -0
- package/src/components/Button/Button.stories.tsx +339 -0
- package/src/components/Button/Button.test.tsx +135 -0
- package/src/components/Button/Button.tsx +201 -0
- package/src/components/Button/Button.twig +1 -0
- package/src/components/Button/README.mdx +34 -0
- package/src/components/Button/__snapshots__/Button.test.tsx.snap +12 -0
- package/src/components/Button/index.ts +2 -0
- package/src/components/Card/Card-old.js +187 -0
- package/src/components/Card/Card-test.js +27 -0
- package/src/components/Card/Card.stories.tsx +105 -0
- package/src/components/Card/Card.tsx +159 -0
- package/src/components/Card/Card.twig +21 -0
- package/src/components/Card/CardExternal.tsx +174 -0
- package/src/components/Card/README.mdx +1 -0
- package/src/components/Card/index.ts +2 -0
- package/src/components/Checkbox/Checkbox-old.js +132 -0
- package/src/components/Checkbox/Checkbox-test.js +205 -0
- package/src/components/Checkbox/Checkbox.Skeleton.js +37 -0
- package/src/components/Checkbox/Checkbox.hbs +15 -0
- package/src/components/Checkbox/Checkbox.legacy.js +126 -0
- package/src/components/Checkbox/Checkbox.stories.tsx +179 -0
- package/src/components/Checkbox/Checkbox.tsx +123 -0
- package/src/components/Checkbox/README.mdx +59 -0
- package/src/components/Checkbox/index.ts +1 -0
- package/src/components/CheckboxGroup/README.md +29 -0
- package/src/components/CheckboxGroup/RadioButtonGroup.js +158 -0
- package/src/components/CheckboxGroup/RadioButtonGroupWithoutControls.js +46 -0
- package/src/components/CheckboxGroup/index.js +1 -0
- package/src/components/ContentSwitcher/ContentSwitcher-test.js +117 -0
- package/src/components/ContentSwitcher/ContentSwitcher.hbs +5 -0
- package/src/components/ContentSwitcher/ContentSwitcher.stories.tsx +94 -0
- package/src/components/ContentSwitcher/ContentSwitcher.tsx +57 -0
- package/src/components/ContentSwitcher/README.mdx +31 -0
- package/src/components/ContentSwitcher/index.ts +1 -0
- package/src/components/ContextMenu/ContextMenu.stories.tsx +137 -0
- package/src/components/ContextMenu/ContextMenu.tsx +89 -0
- package/src/components/ContextMenu/README.mdx +13 -0
- package/src/components/ContextMenu/index.ts +1 -0
- package/src/components/Credits/Credits-test.js +25 -0
- package/src/components/Credits/Credits.hbs +4 -0
- package/src/components/Credits/Credits.stories.tsx +30 -0
- package/src/components/Credits/Credits.tsx +31 -0
- package/src/components/Credits/README.mdx +1 -0
- package/src/components/Credits/index.ts +1 -0
- package/src/components/DatePicker/DatePicker.stories.tsx +51 -0
- package/src/components/DatePicker/DatePicker.tsx +53 -0
- package/src/components/DatePicker/DatePickerInput.tsx +82 -0
- package/src/components/DatePicker/DatePickerNew.stories.js.new +195 -0
- package/src/components/DatePicker/DateRangePicker.tsx +63 -0
- package/src/components/DatePicker/DateRangePickerInput.tsx +106 -0
- package/src/components/DatePicker/README.mdx +50 -0
- package/src/components/DatePicker/index.ts +4 -0
- package/src/components/Empty/Empty-test.js +69 -0
- package/src/components/Empty/Empty.stories.tsx +54 -0
- package/src/components/Empty/Empty.tsx +95 -0
- package/src/components/Empty/README.mdx +28 -0
- package/src/components/Empty/index.ts +1 -0
- package/src/components/Footer/Footer-external.hbs +22 -0
- package/src/components/Footer/Footer-internal.hbs +30 -0
- package/src/components/Footer/Footer.stories.tsx +331 -0
- package/src/components/Footer/Footer.test.tsx +64 -0
- package/src/components/Footer/Footer.tsx +156 -0
- package/src/components/Footer/FooterExternal.tsx +172 -0
- package/src/components/Footer/README.mdx +20 -0
- package/src/components/Footer/index.ts +2 -0
- package/src/components/Form/Form-test.js +56 -0
- package/src/components/Form/Form.stories.tsx +485 -0
- package/src/components/Form/Form.tsx +40 -0
- package/src/components/Form/README.mdx +46 -0
- package/src/components/Form/index.ts +1 -0
- package/src/components/FormGroup/FormGroup-old.js +100 -0
- package/src/components/FormGroup/FormGroup-test.js +49 -0
- package/src/components/FormGroup/FormGroup.stories.tsx.new +306 -0
- package/src/components/FormGroup/FormGroup.tsx +63 -0
- package/src/components/FormGroup/README.mdx +7 -0
- package/src/components/FormGroup/index.ts +1 -0
- package/src/components/FormHint/FormHint-old.js +44 -0
- package/src/components/FormHint/FormHint-test.js +13 -0
- package/src/components/FormHint/FormHint.stories.tsx +72 -0
- package/src/components/FormHint/FormHint.tsx +37 -0
- package/src/components/FormHint/README.mdx +13 -0
- package/src/components/FormHint/index.ts +1 -0
- package/src/components/FormItem/FormItem-test.js +10 -0
- package/src/components/FormItem/FormItem.tsx +45 -0
- package/src/components/FormItem/RfFormItem.js +44 -0
- package/src/components/FormItem/__snapshots__/FormItem-test.js.snap +7 -0
- package/src/components/FormItem/index.ts +1 -0
- package/src/components/FormLabel/FormLabel-test.js +10 -0
- package/src/components/FormLabel/FormLabel.hbs +1 -0
- package/src/components/FormLabel/FormLabel.stories.tsx +15 -0
- package/src/components/FormLabel/FormLabel.tsx +35 -0
- package/src/components/FormLabel/README.mdx +1 -0
- package/src/components/FormLabel/RfFormLabel.js +38 -0
- package/src/components/FormLabel/__snapshots__/FormLabel-test.js.snap +7 -0
- package/src/components/FormLabel/index.ts +1 -0
- package/src/components/Hero/Hero-old.js +154 -0
- package/src/components/Hero/Hero-test.js +81 -0
- package/src/components/Hero/Hero.hbs +4 -0
- package/src/components/Hero/Hero.stories.tsx +356 -0
- package/src/components/Hero/Hero.tsx +142 -0
- package/src/components/Hero/Hero.twig +10 -0
- package/src/components/Hero/HeroExternal-old.js +54 -0
- package/src/components/Hero/HeroExternal.tsx +64 -0
- package/src/components/Hero/README.mdx +5 -0
- package/src/components/Hero/index.ts +2 -0
- package/src/components/InfoBar/InfoBar-test.js +17 -0
- package/src/components/InfoBar/InfoBar.stories.tsx +42 -0
- package/src/components/InfoBar/InfoBar.test.tsx +46 -0
- package/src/components/InfoBar/InfoBar.tsx +46 -0
- package/src/components/InfoBar/README.mdx +5 -0
- package/src/components/InfoBar/__snapshots__/InfoBar.test.tsx.snap +15 -0
- package/src/components/InfoBar/index.ts +1 -0
- package/src/components/InlineLoading/InlineLoading-FCold.js +90 -0
- package/src/components/InlineLoading/InlineLoading-Old.js +102 -0
- package/src/components/InlineLoading/InlineLoading-test.js +90 -0
- package/src/components/InlineLoading/InlineLoading.stories.tsx +39 -0
- package/src/components/InlineLoading/InlineLoading.tsx +79 -0
- package/src/components/InlineLoading/README.mdx +89 -0
- package/src/components/InlineLoading/index.ts +1 -0
- package/src/components/InlineLoading/inline-loading.config.js +25 -0
- package/src/components/InlineLoading/inline-loading.hbs +28 -0
- package/src/components/InlineLoading/inline-loading.js +135 -0
- package/src/components/Input/Input-test.js +120 -0
- package/src/components/Input/Input.stories.tsx +48 -0
- package/src/components/Input/Input.tsx +345 -0
- package/src/components/Input/README.mdx +46 -0
- package/src/components/Input/index.tsx +13 -0
- package/src/components/Input/useInput.tsx +189 -0
- package/src/components/InputGroup/InputGroup-old.js +166 -0
- package/src/components/InputGroup/InputGroup-test.js +114 -0
- package/src/components/InputGroup/InputGroup.stories.tsx +265 -0
- package/src/components/InputGroup/InputGroup.tsx +132 -0
- package/src/components/InputGroup/README.mdx +19 -0
- package/src/components/InputGroup/RadioButtonGroupWithoutControls.js +36 -0
- package/src/components/InputGroup/index.tsx +1 -0
- package/src/components/Item/Item-test.js +33 -0
- package/src/components/Item/Item.stories.tsx +158 -0
- package/src/components/Item/Item.tsx +134 -0
- package/src/components/Item/README.mdx +28 -0
- package/src/components/Item/index.ts +1 -0
- package/src/components/Link/Link-test.e2e.js +35 -0
- package/src/components/Link/Link-test.js +115 -0
- package/src/components/Link/Link.mdx +41 -0
- package/src/components/Link/Link.stories.tsx +95 -0
- package/src/components/Link/Link.test.tsx +100 -0
- package/src/components/Link/Link.tsx +91 -0
- package/src/components/Link/README.mdx +35 -0
- package/src/components/Link/__snapshots__/Link.test.tsx.snap +12 -0
- package/src/components/Link/index.ts +1 -0
- package/src/components/Link/link-avt.md +32 -0
- package/src/components/List/List-test.js +27 -0
- package/src/components/List/List.hbs +11 -0
- package/src/components/List/List.stories.tsx +195 -0
- package/src/components/List/List.tsx +91 -0
- package/src/components/List/ListItem.tsx +54 -0
- package/src/components/List/README.mdx +19 -0
- package/src/components/List/index.ts +2 -0
- package/src/components/Loading/Loading-oldClass.js +93 -0
- package/src/components/Loading/Loading-oldFC.js +80 -0
- package/src/components/Loading/Loading-test.js +68 -0
- package/src/components/Loading/Loading.stories.tsx +94 -0
- package/src/components/Loading/Loading.tsx +74 -0
- package/src/components/Loading/README.mdx +23 -0
- package/src/components/Loading/index.ts +8 -0
- package/src/components/Loading/loading-vanilla.js +137 -0
- package/src/components/Loading/loading.config.js +42 -0
- package/src/components/Loading/loading.hbs +18 -0
- package/src/components/MainNavigation/MainNavigation-test.js +26 -0
- package/src/components/MainNavigation/MainNavigation.hbs +180 -0
- package/src/components/MainNavigation/MainNavigation.stories.tsx +681 -0
- package/src/components/MainNavigation/MainNavigation.tsx +174 -0
- package/src/components/MainNavigation/MainNavigationContext.ts +34 -0
- package/src/components/MainNavigation/MainNavigationExternal.tsx +338 -0
- package/src/components/MainNavigation/MainNavigationRtl-story.legacy.js +95 -0
- package/src/components/MainNavigation/MobileButton.tsx +29 -0
- package/src/components/MainNavigation/README.mdx.legacy +173 -0
- package/src/components/MainNavigation/index.ts +4 -0
- package/src/components/MainNavigation/main-navigation.js +74 -0
- package/src/components/MainNavigation/useMainNavigation.tsx +17 -0
- package/src/components/MainNavigationItem/MainNavigationItem.tsx +110 -0
- package/src/components/MainNavigationItem/index.ts +1 -0
- package/src/components/MdxComponents/MdxComponents.stories.tsx +32 -0
- package/src/components/MdxComponents/MdxComponentsNew.tsx +181 -0
- package/src/components/MdxComponents/README.mdx +22 -0
- package/src/components/MdxComponents/index.ts +1 -0
- package/src/components/MdxComponents/markdown.mdx +109 -0
- package/src/components/Modal/Modal-test.js +206 -0
- package/src/components/Modal/Modal.hbs +26 -0
- package/src/components/Modal/Modal.stories.tsx +36 -0
- package/src/components/Modal/Modal.tsx +378 -0
- package/src/components/Modal/ModalFooter-old.js +41 -0
- package/src/components/Modal/ModalFooter.tsx +60 -0
- package/src/components/Modal/ModalHeader.js +25 -0
- package/src/components/Modal/ModalWithControls-story.legacy.js +44 -0
- package/src/components/Modal/README.mdx.legacy +102 -0
- package/src/components/Modal/index.ts +2 -0
- package/src/components/ModalWrapper/ModalWrapper-old.js +141 -0
- package/src/components/ModalWrapper/ModalWrapper-test.js +108 -0
- package/src/components/ModalWrapper/ModalWrapper.stories.tsx +109 -0
- package/src/components/ModalWrapper/ModalWrapper.tsx +149 -0
- package/src/components/ModalWrapper/README.mdx +16 -0
- package/src/components/ModalWrapper/index.ts +1 -0
- package/src/components/Module/Module-old.js +74 -0
- package/src/components/Module/Module-test.js +54 -0
- package/src/components/Module/Module.hbs +3 -0
- package/src/components/Module/Module.stories.tsx +108 -0
- package/src/components/Module/Module.tsx +75 -0
- package/src/components/Module/ModuleBody.tsx +42 -0
- package/src/components/Module/ModuleFooter.tsx +26 -0
- package/src/components/Module/ModuleHeader.tsx +34 -0
- package/src/components/Module/README.mdx +28 -0
- package/src/components/Module/index.ts +6 -0
- package/src/components/Notification/Callout.tsx +141 -0
- package/src/components/Notification/InlineNotification.tsx.legacy +142 -0
- package/src/components/Notification/Notification-test.js +258 -0
- package/src/components/Notification/Notification.stories.tsx +286 -0
- package/src/components/Notification/NotificationActionButton.tsx +48 -0
- package/src/components/Notification/NotificationButton.tsx +86 -0
- package/src/components/Notification/NotificationIcon.tsx +41 -0
- package/src/components/Notification/NotificationTextDetails.tsx +51 -0
- package/src/components/Notification/README.mdx +26 -0
- package/src/components/Notification/ToastNotification.tsx +110 -0
- package/src/components/Notification/a11yIconWarningSolid.js +36 -0
- package/src/components/Notification/index.ts +7 -0
- package/src/components/NumberInput/NumberInput-test.js +285 -0
- package/src/components/NumberInput/NumberInput.Skeleton.tsx +29 -0
- package/src/components/NumberInput/NumberInput.js.legacy +255 -0
- package/src/components/NumberInput/NumberInput.legacy.js +330 -0
- package/src/components/NumberInput/NumberInput.stories.tsx +79 -0
- package/src/components/NumberInput/NumberInput.tsx +215 -0
- package/src/components/NumberInput/README.mdx +16 -0
- package/src/components/NumberInput/index.ts +2 -0
- package/src/components/Pagination/Pagination-fc.js +217 -0
- package/src/components/Pagination/Pagination-old.js +346 -0
- package/src/components/Pagination/Pagination-test.js +400 -0
- package/src/components/Pagination/Pagination.Skeleton.jsx +22 -0
- package/src/components/Pagination/Pagination.stories.tsx +22 -0
- package/src/components/Pagination/Pagination.tsx +263 -0
- package/src/components/Pagination/README.mdx +27 -0
- package/src/components/Pagination/index.js +2 -0
- package/src/components/RadioButton/README.mdx +34 -0
- package/src/components/RadioButton/RadioButton-fc.js +103 -0
- package/src/components/RadioButton/RadioButton-old.js +109 -0
- package/src/components/RadioButton/RadioButton-test.js +131 -0
- package/src/components/RadioButton/RadioButton.Skeleton.jsx +20 -0
- package/src/components/RadioButton/RadioButton.hbs +7 -0
- package/src/components/RadioButton/RadioButton.stories.tsx +183 -0
- package/src/components/RadioButton/RadioButton.tsx +85 -0
- package/src/components/RadioButton/index.ts +3 -0
- package/src/components/RadioButtonGroup/README.md +31 -0
- package/src/components/RadioButtonGroup/RadioButtonGroup-test.js +65 -0
- package/src/components/RadioButtonGroup/RadioButtonGroup.js +172 -0
- package/src/components/RadioButtonGroup/RadioButtonGroupWithoutControls.js +44 -0
- package/src/components/RadioButtonGroup/index.js +1 -0
- package/src/components/ReactSelect/README.mdx +33 -0
- package/src/components/ReactSelect/ReactSelect.stories.tsx +56 -0
- package/src/components/ReadMore/README.mdx +30 -0
- package/src/components/ReadMore/ReadMore-test.js +17 -0
- package/src/components/ReadMore/ReadMore.stories.tsx +37 -0
- package/src/components/ReadMore/ReadMore.tsx +185 -0
- package/src/components/ReadMore/index.js +1 -0
- package/src/components/Search/README.mdx +22 -0
- package/src/components/Search/Search-test.js +178 -0
- package/src/components/Search/Search.stories.tsx +112 -0
- package/src/components/Search/Search.tsx +177 -0
- package/src/components/Search/index.ts +2 -0
- package/src/components/SecondaryNavigation/README.mdx +1 -0
- package/src/components/SecondaryNavigation/SecondaryNavigation-old.js +80 -0
- package/src/components/SecondaryNavigation/SecondaryNavigation-test.js +27 -0
- package/src/components/SecondaryNavigation/SecondaryNavigation.hbs +35 -0
- package/src/components/SecondaryNavigation/SecondaryNavigation.stories.tsx +133 -0
- package/src/components/SecondaryNavigation/SecondaryNavigation.tsx +56 -0
- package/src/components/SecondaryNavigation/SecondaryNavigationTitle.tsx +24 -0
- package/src/components/SecondaryNavigation/index.js +2 -0
- package/src/components/Select/README.mdx +17 -0
- package/src/components/Select/Select-test.js +165 -0
- package/src/components/Select/Select.Skeleton.js +25 -0
- package/src/components/Select/Select.stories.tsx +54 -0
- package/src/components/Select/Select.tsx +98 -0
- package/src/components/Select/index.ts +1 -0
- package/src/components/SelectItem/SelectItem-old.js +40 -0
- package/src/components/SelectItem/SelectItem-test.js +45 -0
- package/src/components/SelectItem/SelectItem.tsx +57 -0
- package/src/components/SelectItem/index.ts +1 -0
- package/src/components/SelectItemGroup/SelectItemGroup-test.js +34 -0
- package/src/components/SelectItemGroup/SelectItemGroup.tsx +40 -0
- package/src/components/SelectItemGroup/index.ts +1 -0
- package/src/components/Sidebar/PHONEBOOK.json +1101 -0
- package/src/components/Sidebar/README.mdx +0 -0
- package/src/components/Sidebar/Sidebar-test.js +55 -0
- package/src/components/Sidebar/Sidebar.stories.tsx.new +430 -0
- package/src/components/Sidebar/Sidebar.tsx +164 -0
- package/src/components/Sidebar/index.ts +8 -0
- package/src/components/SkeletonText/README.mdx +29 -0
- package/src/components/SkeletonText/SkeletonText-old.js +95 -0
- package/src/components/SkeletonText/SkeletonText-test.js +23 -0
- package/src/components/SkeletonText/SkeletonText.stories.tsx +19 -0
- package/src/components/SkeletonText/SkeletonText.tsx +90 -0
- package/src/components/SkeletonText/index.ts +1 -0
- package/src/components/Slider/README.mdx +21 -0
- package/src/components/Slider/Slider-old.js +315 -0
- package/src/components/Slider/Slider-test.js +145 -0
- package/src/components/Slider/Slider.Skeleton.jsx +29 -0
- package/src/components/Slider/Slider.legacy.js +476 -0
- package/src/components/Slider/Slider.stories.tsx +116 -0
- package/src/components/Slider/Slider.tsx +242 -0
- package/src/components/Slider/index.ts +2 -0
- package/src/components/StepNavigation/README.mdx +16 -0
- package/src/components/StepNavigation/StepNavigation-test.js +20 -0
- package/src/components/StepNavigation/StepNavigation.Skeleton.tsx +33 -0
- package/src/components/StepNavigation/StepNavigation.hbs +14 -0
- package/src/components/StepNavigation/StepNavigation.stories.tsx +131 -0
- package/src/components/StepNavigation/StepNavigation.tsx +159 -0
- package/src/components/StepNavigation/index.ts +2 -0
- package/src/components/StepNavigationItem/StepNavigationItem-test.js +24 -0
- package/src/components/StepNavigationItem/StepNavigationItem.tsx +155 -0
- package/src/components/StepNavigationItem/index.ts +1 -0
- package/src/components/Story/README.mdx +27 -0
- package/src/components/Story/Story-text.js +22 -0
- package/src/components/Story/Story.hbs +12 -0
- package/src/components/Story/Story.stories.tsx +109 -0
- package/src/components/Story/Story.tsx +25 -0
- package/src/components/Story/index.ts +1 -0
- package/src/components/SubNavigation/README.mdx +111 -0
- package/src/components/SubNavigation/SubNavigation-test.js +161 -0
- package/src/components/SubNavigation/SubNavigation.stories.tsx +249 -0
- package/src/components/SubNavigation/SubNavigation.tsx +6 -0
- package/src/components/SubNavigation/SubNavigationContent.tsx +26 -0
- package/src/components/SubNavigation/SubNavigationFilter.tsx +26 -0
- package/src/components/SubNavigation/SubNavigationGroup.tsx +48 -0
- package/src/components/SubNavigation/SubNavigationHeader.tsx +26 -0
- package/src/components/SubNavigation/SubNavigationItem.tsx +25 -0
- package/src/components/SubNavigation/SubNavigationLink.tsx +25 -0
- package/src/components/SubNavigation/SubNavigationList.tsx +25 -0
- package/src/components/SubNavigation/SubNavigationTitle.tsx +26 -0
- package/src/components/SubNavigation/index.ts +9 -0
- package/src/components/Tab/Tab-oldClass.js +209 -0
- package/src/components/Tab/Tab-oldFunc.js +206 -0
- package/src/components/Tab/Tab-test.js +93 -0
- package/src/components/Tab/Tab.tsx +149 -0
- package/src/components/Tab/index.ts +3 -0
- package/src/components/Tab/useTab.tsx +89 -0
- package/src/components/TabContent/TabContent-old.js +30 -0
- package/src/components/TabContent/TabContent-test.js +28 -0
- package/src/components/TabContent/TabContent.tsx +26 -0
- package/src/components/TabContent/index.ts +1 -0
- package/src/components/Table/README.mdx +0 -0
- package/src/components/Table/Table-test.js +22 -0
- package/src/components/Table/Table.stories.tsx +524 -0
- package/src/components/Table/Table.tsx +34 -0
- package/src/components/Table/TableResponsive-story-legacy.js +216 -0
- package/src/components/Table/TableSimple-story-legacy.js +39 -0
- package/src/components/Table/TableSorting.tsx +31 -0
- package/src/components/Table/index.ts +2 -0
- package/src/components/Table/makeData.js +75 -0
- package/src/components/TablePagination/TablePagination.tsx +98 -0
- package/src/components/TablePagination/index.ts +1 -0
- package/src/components/Tabs/README.mdx +113 -0
- package/src/components/Tabs/Tabs-old.js.legacy +281 -0
- package/src/components/Tabs/Tabs-test.js +284 -0
- package/src/components/Tabs/Tabs.Skeleton.jsx +33 -0
- package/src/components/Tabs/Tabs.hbs +14 -0
- package/src/components/Tabs/Tabs.stories.tsx +73 -0
- package/src/components/Tabs/Tabs.tsx +270 -0
- package/src/components/Tabs/TabsContext.ts +15 -0
- package/src/components/Tabs/index.ts +2 -0
- package/src/components/Tag/README.mdx +19 -0
- package/src/components/Tag/Tag-test.js +42 -0
- package/src/components/Tag/Tag.Skeleton.jsx +9 -0
- package/src/components/Tag/Tag.stories.tsx +20 -0
- package/src/components/Tag/Tag.tsx +46 -0
- package/src/components/Tag/index.ts +3 -0
- package/src/components/Tag/tag.config.js +69 -0
- package/src/components/Tag/tag.hbs +10 -0
- package/src/components/Text/README.mdx +57 -0
- package/src/components/Text/Text-test.js +19 -0
- package/src/components/Text/Text.js.legacy +102 -0
- package/src/components/Text/Text.stories.tsx +390 -0
- package/src/components/Text/Text.tsx +81 -0
- package/src/components/Text/index.ts +2 -0
- package/src/components/TextArea/README.mdx +3 -0
- package/src/components/TextArea/TextArea-old.js +207 -0
- package/src/components/TextArea/TextArea-test.js +167 -0
- package/src/components/TextArea/TextArea.Skeleton.jsx +21 -0
- package/src/components/TextArea/TextArea.stories.tsx +43 -0
- package/src/components/TextArea/TextArea.tsx +40 -0
- package/src/components/TextArea/index.ts +2 -0
- package/src/components/TextInput/README.mdx +3 -0
- package/src/components/TextInput/TextInput-old.js +162 -0
- package/src/components/TextInput/TextInput-test.js +156 -0
- package/src/components/TextInput/TextInput.Skeleton.jsx +21 -0
- package/src/components/TextInput/TextInput.hbs +4 -0
- package/src/components/TextInput/TextInput.legacy.js +162 -0
- package/src/components/TextInput/TextInput.stories.tsx +80 -0
- package/src/components/TextInput/TextInput.tsx +52 -0
- package/src/components/TextInput/index.ts +2 -0
- package/src/components/Toggle/README.mdx +4 -0
- package/src/components/Toggle/Toggle-old.js +113 -0
- package/src/components/Toggle/Toggle-test.js +114 -0
- package/src/components/Toggle/Toggle.Skeleton.jsx +18 -0
- package/src/components/Toggle/Toggle.stories.tsx +21 -0
- package/src/components/Toggle/Toggle.tsx +113 -0
- package/src/components/Toggle/index.ts +2 -0
- package/src/components/Tooltip/Empty.js +5 -0
- package/src/components/Tooltip/README.mdx +1 -0
- package/src/components/Tooltip/Tooltip.stories.tsx +99 -0
- package/src/components/Tooltip/Tooltip.tsx +235 -0
- package/src/components/Tooltip/_mixins.scss +107 -0
- package/src/components/Tooltip/_tooltip.legacy.scss +58 -0
- package/src/components/Tooltip/_tooltip.scss +112 -0
- package/src/components/Tooltip/_vars.scss +6 -0
- package/src/components/Tooltip/animations/fade.scss +10 -0
- package/src/components/Tooltip/backdrop.scss +66 -0
- package/src/components/Tooltip/index.tsx +2 -0
- package/src/components/Tooltip/legacy/_mixins.scss +191 -0
- package/src/components/Tooltip/legacy/_tooltip.scss +70 -0
- package/src/components/Tooltip/legacy/_vars.scss +5 -0
- package/src/components/Tooltip/legacy/themes/light.scss +30 -0
- package/src/components/Tooltip/svg-arrow.scss +37 -0
- package/src/components/Tooltip/themes/light-border.scss +158 -0
- package/src/components/Tooltip/themes/light.scss +28 -0
- package/src/components/Unit/InvalidUnit.tsx +11 -0
- package/src/components/Unit/README.mdx +1 -0
- package/src/components/Unit/SimpleCalc.tsx +49 -0
- package/src/components/Unit/StringUnit.tsx +13 -0
- package/src/components/Unit/SvgUnit.tsx +22 -0
- package/src/components/Unit/Unit-old.js +138 -0
- package/src/components/Unit/Unit-test.js +18 -0
- package/src/components/Unit/Unit.hbs +1 -0
- package/src/components/Unit/Unit.stories.tsx +161 -0
- package/src/components/Unit/Unit.tsx +158 -0
- package/src/components/Unit/UnitList.tsx +84 -0
- package/src/components/Unit/YearMonthCalc.tsx +59 -0
- package/src/components/Unit/currencyCalc.tsx +124 -0
- package/src/components/Unit/index.js +1 -0
- package/src/components/Unit/percentageCalc.tsx +73 -0
- package/src/components/Unit/scaleLookup.tsx +19 -0
- package/src/components/User/README.mdx +1 -0
- package/src/components/User/User-test.js +50 -0
- package/src/components/User/User.hbs +8 -0
- package/src/components/User/User.stories.tsx +100 -0
- package/src/components/User/User.tsx +111 -0
- package/src/components/User/index.ts +1 -0
- package/src/components/Value/README.mdx +1 -0
- package/src/components/Value/Value-test.js +28 -0
- package/src/components/Value/Value.stories.tsx +28 -0
- package/src/components/Value/Value.tsx +34 -0
- package/src/components/Value/index.ts +1 -0
- package/src/components/WFPCoreSettings/WFPCoreProvider.tsx +125 -0
- package/src/components/WFPCoreSettings/defaults.ts +3 -0
- package/src/components/WFPCoreSettings/index.ts +4 -0
- package/src/components/WFPCoreSettings/useTheme.tsx +7 -0
- package/src/components/WFPCoreSettings/withWFPCoreSettings.tsx +12 -0
- package/src/components/Wrapper/README.mdx +11 -0
- package/src/components/Wrapper/Wrapper-test.js +51 -0
- package/src/components/Wrapper/Wrapper.stories.tsx +26 -0
- package/src/components/Wrapper/Wrapper.test.tsx +94 -0
- package/src/components/Wrapper/Wrapper.tsx +86 -0
- package/src/components/Wrapper/__snapshots__/Wrapper.test.tsx.snap +11 -0
- package/src/components/Wrapper/index.ts +2 -0
- package/src/globals/data/colors.js +716 -0
- package/src/globals/data/colors.json +273 -0
- package/src/globals/js/boot.js +39 -0
- package/src/globals/js/components.js +36 -0
- package/src/globals/js/index.js +1 -0
- package/src/globals/js/misc/event-matches.js +29 -0
- package/src/globals/js/misc/get-launching-details.js +24 -0
- package/src/globals/js/misc/mixin.js +30 -0
- package/src/globals/js/misc/on.js +9 -0
- package/src/globals/js/misc/resize.js +53 -0
- package/src/globals/js/misc/svg-toggle-class.js +23 -0
- package/src/globals/js/mixins/README.md +207 -0
- package/src/globals/js/mixins/create-component.js +69 -0
- package/src/globals/js/mixins/evented-show-hide-state.js +40 -0
- package/src/globals/js/mixins/evented-state.js +124 -0
- package/src/globals/js/mixins/handles.js +45 -0
- package/src/globals/js/mixins/init-component-by-event.js +84 -0
- package/src/globals/js/mixins/init-component-by-launcher.js +89 -0
- package/src/globals/js/mixins/init-component-by-search.js +41 -0
- package/src/globals/js/mixins/track-blur.js +45 -0
- package/src/globals/js/settings.tsx +49 -0
- package/src/globals/js/watch.js +95 -0
- package/src/globals/scss/styles.scss +146 -0
- package/src/hooks/index.js +1 -0
- package/src/hooks/togglable.js +12 -0
- package/src/hooks/useHeightTransition.ts +33 -0
- package/src/hooks/useId.ts +14 -0
- package/src/hooks/useIsomorphicLayoutEffect.tsx +14 -0
- package/src/hooks/useMediaQuery.tsx +79 -0
- package/src/hooks/useMergeRef.ts +24 -0
- package/src/hooks/useSettings.tsx +20 -0
- package/src/hooks/useWizard.js +77 -0
- package/src/index.ts +185 -0
- package/src/indexStories.ts +44 -0
- package/src/internal/FeatureFlags.js +21 -0
- package/src/internal/FloatingMenu.js +352 -0
- package/src/internal/OptimizedResize.js +54 -0
- package/src/internal/RfFormJest.js +45 -0
- package/src/internal/RfFormWrapper.js +86 -0
- package/src/internal/configureStore.js +13 -0
- package/src/internal/loadDefaultData.js +20 -0
- package/src/internal/useDetectPrint.js.legacy +20 -0
- package/src/internal/withTests.js +7 -0
- package/src/prop-types/types.ts +32 -0
- package/src/tools/__tests__/uniqueId.test.ts +16 -0
- package/src/tools/mergeRefs.js +23 -0
- package/src/tools/setupGetInstanceId.js +10 -0
- package/src/tools/uniqueId.ts +8 -0
- package/src/tools/withState.js +21 -0
- package/src/tools/wrapComponent.js +23 -0
- package/src/utils/index.d.ts +138 -0
- package/umd/dist/components/Accordion/__tests__/utils.d.ts +12 -0
- package/umd/dist/components/Accordion/components/Accordion.d.ts +7 -0
- package/umd/dist/components/Accordion/components/AccordionItem.d.ts +46 -0
- package/umd/dist/components/Accordion/components/AccordionProvider.d.ts +7 -0
- package/umd/dist/components/Accordion/components/ControlledAccordion.d.ts +8 -0
- package/umd/dist/components/Accordion/components/withAccordionItem.d.ts +11 -0
- package/umd/dist/components/Accordion/hooks/useAccordion.d.ts +5 -0
- package/umd/dist/components/Accordion/hooks/useAccordionContext.d.ts +5 -0
- package/umd/dist/components/Accordion/hooks/useAccordionItem.d.ts +7 -0
- package/umd/dist/components/Accordion/hooks/useAccordionItemEffect.d.ts +13 -0
- package/umd/dist/components/Accordion/hooks/useAccordionProvider.d.ts +3 -0
- package/umd/dist/components/Accordion/hooks/useAccordionState.d.ts +14 -0
- package/umd/dist/components/Accordion/hooks/useHeightTransition.d.ts +4 -0
- package/umd/dist/components/Accordion/hooks/useId.d.ts +3 -0
- package/umd/dist/components/Accordion/hooks/useMergeRef.d.ts +4 -0
- package/umd/dist/components/Accordion/index.d.ts +17 -0
- package/umd/dist/components/Accordion/utils/bem.d.ts +7 -0
- package/umd/dist/components/Accordion/utils/constants.d.ts +58 -0
- package/umd/dist/components/Accordion/utils/mergeProps.d.ts +2 -0
- package/umd/dist/components/Accordion/utils/useIsomorphicLayoutEffect.d.ts +3 -0
- package/umd/dist/components/AnchorNavigation/AnchorNavigation.d.ts +6 -0
- package/umd/dist/components/AnchorNavigation/index.d.ts +1 -0
- package/umd/dist/components/AuthLayout/AuthLayout.d.ts +20 -0
- package/umd/dist/components/AuthLayout/index.d.ts +1 -0
- package/umd/dist/components/Avatar/Avatar.d.ts +33 -0
- package/umd/dist/components/Avatar/index.d.ts +1 -0
- package/umd/dist/components/BannerNavigation/BannerNavigation.d.ts +20 -0
- package/umd/dist/components/BannerNavigation/BannerNavigationWithContent.d.ts +13 -0
- package/umd/dist/components/BannerNavigation/index.d.ts +2 -0
- package/umd/dist/components/Breadcrumb/Breadcrumb.d.ts +11 -0
- package/umd/dist/components/Breadcrumb/index.d.ts +1 -0
- package/umd/dist/components/BreadcrumbHome/BreadcrumbHome.d.ts +13 -0
- package/umd/dist/components/BreadcrumbHome/index.d.ts +1 -0
- package/umd/dist/components/BreadcrumbItem/BreadcrumbItem.d.ts +21 -0
- package/umd/dist/components/BreadcrumbItem/index.d.ts +1 -0
- package/umd/dist/components/Button/Button.Skeleton.d.ts +7 -0
- package/umd/dist/components/Button/Button.d.ts +55 -0
- package/umd/dist/components/Button/index.d.ts +1 -0
- package/umd/dist/components/Card/Card.d.ts +61 -0
- package/umd/dist/components/Card/CardExternal.d.ts +37 -0
- package/umd/dist/components/Card/index.d.ts +2 -0
- package/umd/dist/components/Checkbox/Checkbox.d.ts +37 -0
- package/umd/dist/components/Checkbox/index.d.ts +1 -0
- package/umd/dist/components/ContentSwitcher/ContentSwitcher.d.ts +12 -0
- package/umd/dist/components/ContentSwitcher/index.d.ts +1 -0
- package/umd/dist/components/ContextMenu/ContextMenu.d.ts +31 -0
- package/umd/dist/components/ContextMenu/index.d.ts +1 -0
- package/umd/dist/components/Credits/Credits.d.ts +10 -0
- package/umd/dist/components/Credits/index.d.ts +1 -0
- package/umd/dist/components/DatePicker/DatePicker.d.ts +8 -0
- package/umd/dist/components/DatePicker/DatePickerInput.d.ts +38 -0
- package/umd/dist/components/DatePicker/DateRangePicker.d.ts +8 -0
- package/umd/dist/components/DatePicker/DateRangePickerInput.d.ts +34 -0
- package/umd/dist/components/DatePicker/index.d.ts +4 -0
- package/umd/dist/components/DatePickerNew/DateRangePickerInput.d.ts +11 -0
- package/umd/dist/components/Empty/Empty.d.ts +40 -0
- package/umd/dist/components/Empty/index.d.ts +1 -0
- package/umd/dist/components/Footer/Footer.d.ts +47 -0
- package/umd/dist/components/Footer/FooterExternal.d.ts +22 -0
- package/umd/dist/components/Footer/index.d.ts +2 -0
- package/umd/dist/components/Form/Form.d.ts +15 -0
- package/umd/dist/components/Form/index.d.ts +1 -0
- package/umd/dist/components/FormGroup/FormGroup.d.ts +14 -0
- package/umd/dist/components/FormGroup/index.d.ts +1 -0
- package/umd/dist/components/FormHint/FormHint.d.ts +15 -0
- package/umd/dist/components/FormHint/index.d.ts +1 -0
- package/umd/dist/components/FormItem/FormItem.d.ts +17 -0
- package/umd/dist/components/FormItem/index.d.ts +1 -0
- package/umd/dist/components/FormLabel/FormLabel.d.ts +15 -0
- package/umd/dist/components/FormLabel/index.d.ts +1 -0
- package/umd/dist/components/Hero/Hero.d.ts +53 -0
- package/umd/dist/components/Hero/HeroExternal.d.ts +22 -0
- package/umd/dist/components/Hero/index.d.ts +2 -0
- package/umd/dist/components/InfoBar/InfoBar.d.ts +23 -0
- package/umd/dist/components/InfoBar/index.d.ts +1 -0
- package/umd/dist/components/InlineLoading/InlineLoading.d.ts +26 -0
- package/umd/dist/components/InlineLoading/index.d.ts +1 -0
- package/umd/dist/components/Input/Input.d.ts +152 -0
- package/umd/dist/components/Input/index.d.ts +3 -0
- package/umd/dist/components/Input/useInput.d.ts +123 -0
- package/umd/dist/components/InputGroup/InputGroup.d.ts +48 -0
- package/umd/dist/components/InputGroup/index.d.ts +1 -0
- package/umd/dist/components/Item/Item.d.ts +59 -0
- package/umd/dist/components/Item/index.d.ts +1 -0
- package/umd/dist/components/Link/Link.d.ts +37 -0
- package/umd/dist/components/Link/index.d.ts +1 -0
- package/umd/dist/components/List/List.d.ts +32 -0
- package/umd/dist/components/List/ListItem.d.ts +25 -0
- package/umd/dist/components/List/index.d.ts +2 -0
- package/umd/dist/components/Loading/Loading.d.ts +16 -0
- package/umd/dist/components/Loading/index.d.ts +7 -0
- package/umd/dist/components/MainNavigation/MainNavigation.d.ts +51 -0
- package/umd/dist/components/MainNavigation/MainNavigationContext.d.ts +25 -0
- package/umd/dist/components/MainNavigation/MainNavigationExternal.d.ts +72 -0
- package/umd/dist/components/MainNavigation/MobileButton.d.ts +17 -0
- package/umd/dist/components/MainNavigation/index.d.ts +4 -0
- package/umd/dist/components/MainNavigation/useMainNavigation.d.ts +7 -0
- package/umd/dist/components/MainNavigationItem/MainNavigationItem.d.ts +29 -0
- package/umd/dist/components/MainNavigationItem/index.d.ts +1 -0
- package/umd/dist/components/MdxComponents/MdxComponentsNew.d.ts +2 -0
- package/umd/dist/components/MdxComponents/index.d.ts +1 -0
- package/umd/dist/components/Modal/Modal.d.ts +122 -0
- package/umd/dist/components/Modal/ModalFooter.d.ts +8 -0
- package/umd/dist/components/Modal/index.d.ts +2 -0
- package/umd/dist/components/ModalWrapper/ModalWrapper.d.ts +53 -0
- package/umd/dist/components/ModalWrapper/index.d.ts +1 -0
- package/umd/dist/components/Module/Module.d.ts +38 -0
- package/umd/dist/components/Module/ModuleBody.d.ts +21 -0
- package/umd/dist/components/Module/ModuleFooter.d.ts +10 -0
- package/umd/dist/components/Module/ModuleHeader.d.ts +16 -0
- package/umd/dist/components/Module/index.d.ts +4 -0
- package/umd/dist/components/Notification/Callout.d.ts +59 -0
- package/umd/dist/components/Notification/NotificationActionButton.d.ts +18 -0
- package/umd/dist/components/Notification/NotificationButton.d.ts +36 -0
- package/umd/dist/components/Notification/NotificationIcon.d.ts +8 -0
- package/umd/dist/components/Notification/NotificationTextDetails.d.ts +10 -0
- package/umd/dist/components/Notification/ToastNotification.d.ts +10 -0
- package/umd/dist/components/Notification/index.d.ts +5 -0
- package/umd/dist/components/NumberInput/NumberInput.Skeleton.d.ts +10 -0
- package/umd/dist/components/NumberInput/NumberInput.d.ts +64 -0
- package/umd/dist/components/NumberInput/index.d.ts +2 -0
- package/umd/dist/components/Pagination/Pagination.d.ts +92 -0
- package/umd/dist/components/Pagination/index.d.ts +1 -0
- package/umd/dist/components/RadioButton/RadioButton.d.ts +27 -0
- package/umd/dist/components/RadioButton/index.d.ts +2 -0
- package/umd/dist/components/ReadMore/ReadMore.d.ts +45 -0
- package/umd/dist/components/ReadMore/index.d.ts +1 -0
- package/umd/dist/components/Search/Search.d.ts +50 -0
- package/umd/dist/components/Search/index.d.ts +1 -0
- package/umd/dist/components/SecondaryNavigation/SecondaryNavigation.d.ts +19 -0
- package/umd/dist/components/SecondaryNavigation/SecondaryNavigationTitle.d.ts +8 -0
- package/umd/dist/components/SecondaryNavigation/index.d.ts +2 -0
- package/umd/dist/components/Select/Select.d.ts +24 -0
- package/umd/dist/components/Select/index.d.ts +1 -0
- package/umd/dist/components/SelectItem/SelectItem.d.ts +28 -0
- package/umd/dist/components/SelectItem/index.d.ts +1 -0
- package/umd/dist/components/SelectItemGroup/SelectItemGroup.d.ts +21 -0
- package/umd/dist/components/SelectItemGroup/index.d.ts +1 -0
- package/umd/dist/components/Sidebar/Sidebar.d.ts +46 -0
- package/umd/dist/components/Sidebar/index.d.ts +1 -0
- package/umd/dist/components/SkeletonText/SkeletonText.d.ts +22 -0
- package/umd/dist/components/SkeletonText/index.d.ts +1 -0
- package/umd/dist/components/Slider/Slider.d.ts +71 -0
- package/umd/dist/components/Slider/index.d.ts +1 -0
- package/umd/dist/components/StepNavigation/StepNavigation.Skeleton.d.ts +2 -0
- package/umd/dist/components/StepNavigation/StepNavigation.d.ts +42 -0
- package/umd/dist/components/StepNavigation/index.d.ts +2 -0
- package/umd/dist/components/StepNavigationItem/StepNavigationItem.d.ts +55 -0
- package/umd/dist/components/StepNavigationItem/index.d.ts +1 -0
- package/umd/dist/components/Story/Story.d.ts +7 -0
- package/umd/dist/components/Story/index.d.ts +1 -0
- package/umd/dist/components/SubNavigation/SubNavigation.d.ts +5 -0
- package/umd/dist/components/SubNavigation/SubNavigationContent.d.ts +9 -0
- package/umd/dist/components/SubNavigation/SubNavigationFilter.d.ts +9 -0
- package/umd/dist/components/SubNavigation/SubNavigationGroup.d.ts +17 -0
- package/umd/dist/components/SubNavigation/SubNavigationHeader.d.ts +9 -0
- package/umd/dist/components/SubNavigation/SubNavigationItem.d.ts +9 -0
- package/umd/dist/components/SubNavigation/SubNavigationLink.d.ts +9 -0
- package/umd/dist/components/SubNavigation/SubNavigationList.d.ts +9 -0
- package/umd/dist/components/SubNavigation/SubNavigationTitle.d.ts +9 -0
- package/umd/dist/components/SubNavigation/index.d.ts +9 -0
- package/umd/dist/components/Tab/Tab.d.ts +83 -0
- package/umd/dist/components/Tab/index.d.ts +2 -0
- package/umd/dist/components/Tab/useTab.d.ts +12 -0
- package/umd/dist/components/TabContent/TabContent.d.ts +13 -0
- package/umd/dist/components/TabContent/index.d.ts +1 -0
- package/umd/dist/components/Table/Table.d.ts +8 -0
- package/umd/dist/components/Table/TableSorting.d.ts +11 -0
- package/umd/dist/components/Table/index.d.ts +2 -0
- package/umd/dist/components/TablePagination/TablePagination.d.ts +33 -0
- package/umd/dist/components/TablePagination/index.d.ts +1 -0
- package/umd/dist/components/Tabs/Tabs.d.ts +67 -0
- package/umd/dist/components/Tabs/TabsContext.d.ts +8 -0
- package/umd/dist/components/Tabs/index.d.ts +1 -0
- package/umd/dist/components/Tag/Tag.d.ts +14 -0
- package/umd/dist/components/Tag/index.d.ts +2 -0
- package/umd/dist/components/Text/Text.d.ts +30 -0
- package/umd/dist/components/Text/index.d.ts +1 -0
- package/umd/dist/components/TextArea/TextArea.d.ts +8 -0
- package/umd/dist/components/TextArea/index.d.ts +1 -0
- package/umd/dist/components/TextInput/TextInput.d.ts +7 -0
- package/umd/dist/components/TextInput/index.d.ts +1 -0
- package/umd/dist/components/Toggle/Toggle.d.ts +38 -0
- package/umd/dist/components/Toggle/index.d.ts +1 -0
- package/umd/dist/components/Tooltip/Tooltip.d.ts +103 -0
- package/umd/dist/components/Tooltip/index.d.ts +2 -0
- package/umd/dist/components/UNCoreSettings/UNCoreProvider.d.ts +21 -0
- package/umd/dist/components/UNCoreSettings/defaults.d.ts +2 -0
- package/umd/dist/components/UNCoreSettings/index.d.ts +4 -0
- package/umd/dist/components/UNCoreSettings/useTheme.d.ts +2 -0
- package/umd/dist/components/UNCoreSettings/withUNCoreSettings.d.ts +2 -0
- package/umd/dist/components/Unit/InvalidUnit.d.ts +2 -0
- package/umd/dist/components/Unit/SimpleCalc.d.ts +17 -0
- package/umd/dist/components/Unit/StringUnit.d.ts +2 -0
- package/umd/dist/components/Unit/SvgUnit.d.ts +2 -0
- package/umd/dist/components/Unit/Unit.d.ts +54 -0
- package/umd/dist/components/Unit/UnitList.d.ts +96 -0
- package/umd/dist/components/Unit/YearMonthCalc.d.ts +7 -0
- package/umd/dist/components/Unit/currencyCalc.d.ts +21 -0
- package/umd/dist/components/Unit/index.d.ts +1 -0
- package/umd/dist/components/Unit/percentageCalc.d.ts +18 -0
- package/umd/dist/components/Unit/scaleLookup.d.ts +24 -0
- package/umd/dist/components/User/User.d.ts +55 -0
- package/umd/dist/components/User/index.d.ts +1 -0
- package/umd/dist/components/Value/Value.d.ts +11 -0
- package/umd/dist/components/Value/index.d.ts +1 -0
- package/umd/dist/components/WFPCoreSettings/WFPCoreProvider.d.ts +21 -0
- package/umd/dist/components/WFPCoreSettings/defaults.d.ts +2 -0
- package/umd/dist/components/WFPCoreSettings/index.d.ts +4 -0
- package/umd/dist/components/WFPCoreSettings/useTheme.d.ts +2 -0
- package/umd/dist/components/WFPCoreSettings/withWFPCoreSettings.d.ts +2 -0
- package/umd/dist/components/Wrapper/Wrapper.d.ts +22 -0
- package/umd/dist/components/Wrapper/index.d.ts +2 -0
- package/umd/dist/globals/data/colors.d.ts +609 -0
- package/umd/dist/globals/js/settings.d.ts +34 -0
- package/umd/dist/hooks/index.d.ts +1 -0
- package/umd/dist/hooks/togglable.d.ts +5 -0
- package/umd/dist/hooks/useHeightTransition.d.ts +4 -0
- package/umd/dist/hooks/useId.d.ts +3 -0
- package/umd/dist/hooks/useIsomorphicLayoutEffect.d.ts +12 -0
- package/umd/dist/hooks/useMediaQuery.d.ts +19 -0
- package/umd/dist/hooks/useMergeRef.d.ts +4 -0
- package/umd/dist/hooks/useSettings.d.ts +2 -0
- package/umd/dist/index.d.ts +75 -0
- package/umd/dist/indexStories.d.ts +1 -0
- package/umd/dist/internal/FeatureFlags.d.ts +19 -0
- package/umd/dist/prop-types/types.d.ts +5 -0
- package/umd/dist/tools/uniqueId.d.ts +2 -0
- package/umd/index.js +5470 -0
- package/umd/index.js.map +1 -0
- package/umd/index.min.js +1 -0
- package/umd/index.min.js.map +1 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export { Accordion } from "./components/Accordion";
|
|
2
|
+
export { AccordionItem } from "./components/AccordionItem";
|
|
3
|
+
export { AccordionProvider } from "./components/AccordionProvider";
|
|
4
|
+
export { ControlledAccordion } from "./components/ControlledAccordion";
|
|
5
|
+
export { withAccordionItem } from "./components/withAccordionItem";
|
|
6
|
+
export { useAccordion } from "./hooks/useAccordion";
|
|
7
|
+
export { useAccordionItem } from "./hooks/useAccordionItem";
|
|
8
|
+
export { useAccordionItemEffect } from "./hooks/useAccordionItemEffect";
|
|
9
|
+
export { useAccordionProvider } from "./hooks/useAccordionProvider";
|
|
10
|
+
export { useAccordionState } from "./hooks/useAccordionState";
|
|
11
|
+
export { useHeightTransition } from "../../hooks/useHeightTransition";
|
|
12
|
+
export { useMergeRef } from "../../hooks/useMergeRef";
|
|
13
|
+
export type { AccordionProps } from "./components/Accordion";
|
|
14
|
+
export type { AccordionItemProps } from "./components/AccordionItem";
|
|
15
|
+
export type { ControlledAccordionProps } from "./components/ControlledAccordion";
|
|
16
|
+
export type { ItemStateProps } from "./components/withAccordionItem";
|
|
17
|
+
export type { AccordionProviderOptions, AccordionProviderValue, ItemState, ItemStateOptions, TransitionProp, } from "./utils/constants";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ClassNameProp, Modifiers } from './constants';
|
|
2
|
+
/**
|
|
3
|
+
* Generate className following BEM methodology: http://getbem.com/naming/
|
|
4
|
+
* Modifier value can be one of the types: boolean, string
|
|
5
|
+
*/
|
|
6
|
+
declare const bem: (block: string, element?: string, modifiers?: Modifiers) => <P>(className?: ClassNameProp<P> | undefined, props?: P | undefined) => string;
|
|
7
|
+
export { bem };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { HTMLAttributes } from "react";
|
|
2
|
+
import { TransitionState, TransitionMapResult, TransitionMapOptions, TransitionOptions } from "react-transition-state";
|
|
3
|
+
export declare const ACCORDION_BLOCK = "szh-accordion";
|
|
4
|
+
export declare const ACCORDION_PREFIX = "szh-adn";
|
|
5
|
+
export declare const ACCORDION_ATTR: string;
|
|
6
|
+
export declare const ACCORDION_BTN_ATTR: string;
|
|
7
|
+
export type Modifiers = {
|
|
8
|
+
readonly [index: string]: boolean | string;
|
|
9
|
+
};
|
|
10
|
+
export type ClassNameProp<P> = string | ((props: P) => string);
|
|
11
|
+
export interface ElementProps<E extends HTMLElement, P = undefined> extends Omit<HTMLAttributes<E>, "className" | "children"> {
|
|
12
|
+
className?: P extends undefined ? string : ClassNameProp<P>;
|
|
13
|
+
"data-testid"?: string | number;
|
|
14
|
+
}
|
|
15
|
+
export type ItemKey = Element | string | number;
|
|
16
|
+
export type TransitionProp = boolean | {
|
|
17
|
+
enter?: boolean;
|
|
18
|
+
exit?: boolean;
|
|
19
|
+
preEnter?: boolean;
|
|
20
|
+
preExit?: boolean;
|
|
21
|
+
};
|
|
22
|
+
export interface ItemState {
|
|
23
|
+
readonly state: TransitionState;
|
|
24
|
+
readonly toggle: (toEnter?: boolean) => void;
|
|
25
|
+
disabled?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export interface ItemStateOptions {
|
|
28
|
+
itemKey?: string | number;
|
|
29
|
+
initialEntered?: boolean;
|
|
30
|
+
disabled?: boolean;
|
|
31
|
+
}
|
|
32
|
+
export interface AccordionProviderOptions extends Omit<TransitionMapOptions<ItemKey>, "enter" | "exit" | "preEnter" | "preExit" | "timeout"> {
|
|
33
|
+
/**
|
|
34
|
+
* The transition behavior for the accordion.
|
|
35
|
+
* It can take a TransitionProp type which specifies the type of transition.
|
|
36
|
+
*/
|
|
37
|
+
transition?: TransitionProp;
|
|
38
|
+
/**
|
|
39
|
+
* Set the timeout duration for transitions.
|
|
40
|
+
* It uses the 'timeout' type from TransitionOptions to specify the duration in milliseconds.
|
|
41
|
+
*/
|
|
42
|
+
transitionTimeout?: TransitionOptions["timeout"];
|
|
43
|
+
}
|
|
44
|
+
export interface AccordionProviderValue extends TransitionMapResult<ItemKey> {
|
|
45
|
+
/**
|
|
46
|
+
* Determines whether the accordion item should be mounted
|
|
47
|
+
* in the DOM only when it enters. A true value means the item will only mount when
|
|
48
|
+
* it is opened (entered state).
|
|
49
|
+
*/
|
|
50
|
+
mountOnEnter: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Indicates whether the accordion item should be in the
|
|
53
|
+
* entered (or opened) state initially. This can be used to display the accordion item
|
|
54
|
+
* as open by default when the component is first rendered.
|
|
55
|
+
*/
|
|
56
|
+
initialEntered: boolean;
|
|
57
|
+
}
|
|
58
|
+
export declare const AccordionContext: import("react").Context<Partial<AccordionProviderValue>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AnchorNavigation';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { PropsWithChildren } from 'react';
|
|
3
|
+
type AuthLayoutProps = PropsWithChildren<{
|
|
4
|
+
/**
|
|
5
|
+
* The CSS class name to be placed on the wrapping element.
|
|
6
|
+
*/
|
|
7
|
+
className?: string;
|
|
8
|
+
/**
|
|
9
|
+
* The image is set as background on the left section when provided
|
|
10
|
+
*/
|
|
11
|
+
image?: React.ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* This usually consist of `<BackgroundContent/>` if you wish to provide content and background color instead of an image
|
|
14
|
+
*/
|
|
15
|
+
backgroundContent?: React.ReactNode;
|
|
16
|
+
}>;
|
|
17
|
+
declare const AuthLayout: React.FC<AuthLayoutProps>;
|
|
18
|
+
type BackgroundContentProps = React.ComponentPropsWithRef<'div'>;
|
|
19
|
+
declare const BackgroundContent: React.FC<BackgroundContentProps>;
|
|
20
|
+
export { BackgroundContent, AuthLayout };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AuthLayout, BackgroundContent } from './AuthLayout';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { User as UserIcon } from "@progressiveui/icons-react";
|
|
3
|
+
export interface AvatarProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
4
|
+
/**
|
|
5
|
+
* Provide the alt text for the image.
|
|
6
|
+
*/
|
|
7
|
+
alt?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Specify the type of Tag @design
|
|
10
|
+
*/
|
|
11
|
+
missingImage?: "avatar" | "letter";
|
|
12
|
+
/**
|
|
13
|
+
* Url to an avatar image The size of the image is 25px * 25px.
|
|
14
|
+
* Provide at least 50px * 50px to support HiDPI displays.
|
|
15
|
+
*/
|
|
16
|
+
image?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The username which will be displayed in the avatar.
|
|
19
|
+
*/
|
|
20
|
+
name?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Additional props for the UserIcon component
|
|
23
|
+
*/
|
|
24
|
+
userIconProps?: React.ComponentProps<typeof UserIcon>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Avatar is used to display a user image or icon.
|
|
28
|
+
*/
|
|
29
|
+
declare function Avatar({ alt, className, image, missingImage, name, userIconProps, ...other }: AvatarProps): import("react/jsx-runtime").JSX.Element | null;
|
|
30
|
+
declare namespace Avatar {
|
|
31
|
+
var displayName: string;
|
|
32
|
+
}
|
|
33
|
+
export default Avatar;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Avatar";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export interface BannerNavigationItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/**
|
|
4
|
+
* The CSS class name to be placed on the wrapping element.
|
|
5
|
+
*/
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
declare const BannerNavigationItem: React.FC<BannerNavigationItemProps>;
|
|
9
|
+
export interface BannerNavigationProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
10
|
+
/**
|
|
11
|
+
* The CSS class name to be placed on the wrapping element.
|
|
12
|
+
*/
|
|
13
|
+
className?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Specify the max-width on desktop devices (same as \`Wrapper\` component)
|
|
16
|
+
*/
|
|
17
|
+
pageWidth?: "sm" | "md" | "lg" | "full";
|
|
18
|
+
}
|
|
19
|
+
declare const BannerNavigation: React.FC<BannerNavigationProps>;
|
|
20
|
+
export { BannerNavigation, BannerNavigationItem };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
type BannerNavigationWithContentProps = {
|
|
3
|
+
/**
|
|
4
|
+
* A onChange Function for the search
|
|
5
|
+
*/
|
|
6
|
+
searchOnChange?: () => {};
|
|
7
|
+
/**
|
|
8
|
+
* Allows to disable the search input
|
|
9
|
+
*/
|
|
10
|
+
search?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare const BannerNavigationWithContent: React.FC<BannerNavigationWithContentProps>;
|
|
13
|
+
export { BannerNavigationWithContent };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* The breadcrumb is a secondary navigation pattern that helps a user understand the hierarchy among levels and navigate back through them. */
|
|
4
|
+
interface BreadcrumbProps extends React.ComponentPropsWithoutRef<"div"> {
|
|
5
|
+
/**
|
|
6
|
+
* Pass in the BreadcrumbItem's for your Breadcrumb
|
|
7
|
+
*/
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
declare const Breadcrumb: ({ children, className, ...other }: BreadcrumbProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default Breadcrumb;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Breadcrumb";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
interface BreadcrumbHomeProps {
|
|
3
|
+
/**
|
|
4
|
+
* Specify an optional text for the `Home` Icon
|
|
5
|
+
*/
|
|
6
|
+
hometext?: React.ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Specify an optional className to be added to the `Home` Icon
|
|
9
|
+
*/
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
declare const BreadcrumbHome: React.FC<BreadcrumbHomeProps>;
|
|
13
|
+
export default BreadcrumbHome;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './BreadcrumbHome';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface BreadcrumbItemProps extends React.ComponentPropsWithoutRef<"div"> {
|
|
3
|
+
/**
|
|
4
|
+
* Specify an link for the `BreadcrumbItem`
|
|
5
|
+
*/
|
|
6
|
+
href?: string;
|
|
7
|
+
/**
|
|
8
|
+
* The children elements, usually a link
|
|
9
|
+
*/
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* Specify `BreadcrumbItem` to be interactive/enabled or non-interactive/disabled
|
|
13
|
+
*/
|
|
14
|
+
disableLink?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Specify an optional className to be added to the `BreadcrumbItem` Icon
|
|
17
|
+
*/
|
|
18
|
+
className?: string;
|
|
19
|
+
}
|
|
20
|
+
declare const BreadcrumbItem: ({ children, className, disableLink, href, ...other }: BreadcrumbItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export default BreadcrumbItem;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './BreadcrumbItem';
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { ButtonKind } from "../../utils";
|
|
3
|
+
interface ButtonBaseProps {
|
|
4
|
+
/**
|
|
5
|
+
* Content of the Button @design
|
|
6
|
+
*/
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* Specify whether the Button should be a small variant @design
|
|
10
|
+
*/
|
|
11
|
+
small?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Specify whether the Button should be a large variant
|
|
14
|
+
*/
|
|
15
|
+
large?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Specify btnSolid to buttons on solid background to make it stand out
|
|
18
|
+
*/
|
|
19
|
+
btnSolid?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Specify the kind of Button you want to create @design
|
|
22
|
+
*/
|
|
23
|
+
kind?: ButtonKind;
|
|
24
|
+
/**
|
|
25
|
+
* Optionally specify an href for your Button to become an element
|
|
26
|
+
*/
|
|
27
|
+
href?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Specify an `icon` to include in the Button through an object representing the SVG data of the icon, similar to the `Icon` component @design
|
|
30
|
+
*/
|
|
31
|
+
icon?: React.ReactNode | React.ComponentType<any>;
|
|
32
|
+
/**
|
|
33
|
+
* Optionally specify an href for your Button to become an element @design
|
|
34
|
+
*/
|
|
35
|
+
iconReverse?: boolean;
|
|
36
|
+
iconDescription?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Specify whether the Button should be disabled, or not
|
|
39
|
+
*/
|
|
40
|
+
disabled?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Optional prop to specify the tabIndex of the Button
|
|
43
|
+
*/
|
|
44
|
+
tabIndex?: number;
|
|
45
|
+
target?: React.AnchorHTMLAttributes<HTMLAnchorElement>["target"];
|
|
46
|
+
useFlexbox?: boolean;
|
|
47
|
+
id?: string;
|
|
48
|
+
}
|
|
49
|
+
interface ButtonButtonProps extends ButtonBaseProps, React.ComponentPropsWithoutRef<"button"> {
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Buttons express what action will occur when the user clicks or touches it. Buttons are used to initialize an action, either in the background or foreground of an experience. */
|
|
53
|
+
export type ButtonRef<T extends React.ElementType> = React.ComponentPropsWithRef<T>["ref"];
|
|
54
|
+
export declare const Button: React.ForwardRefExoticComponent<ButtonButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
55
|
+
export default Button;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Button";
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { PropsWithChildren } from 'react';
|
|
3
|
+
import { CardKind } from '../../utils';
|
|
4
|
+
/**
|
|
5
|
+
* Cards are a convenient means of displaying content composed of different types of objects. It is a multi usage component which creates boxes that are usually teasing some kind of content. */
|
|
6
|
+
type CardProps = PropsWithChildren<{
|
|
7
|
+
/**
|
|
8
|
+
Additional className which will be added
|
|
9
|
+
*/
|
|
10
|
+
className?: string;
|
|
11
|
+
/**
|
|
12
|
+
An optimized photograph
|
|
13
|
+
*/
|
|
14
|
+
image?: string;
|
|
15
|
+
/**
|
|
16
|
+
isExternal if true, opens link in a different window
|
|
17
|
+
*/
|
|
18
|
+
isExternal?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
Render the Card as link
|
|
21
|
+
*/
|
|
22
|
+
isLink?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
A short sentence to explain the content of the node (max 180 characters)
|
|
25
|
+
*/
|
|
26
|
+
subTitle?: React.ReactNode;
|
|
27
|
+
/**
|
|
28
|
+
A search-friendly title (ideally 50 characters, max 100)
|
|
29
|
+
*/
|
|
30
|
+
title?: string | React.ReactNode;
|
|
31
|
+
/**
|
|
32
|
+
Additional metadatas
|
|
33
|
+
*/
|
|
34
|
+
metadata?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Alternative text for image
|
|
37
|
+
*/
|
|
38
|
+
alt?: string;
|
|
39
|
+
/**
|
|
40
|
+
* The content of the Card
|
|
41
|
+
*/
|
|
42
|
+
children?: React.ReactNode;
|
|
43
|
+
/**
|
|
44
|
+
Kind of Card
|
|
45
|
+
*/
|
|
46
|
+
kind?: CardKind;
|
|
47
|
+
/**
|
|
48
|
+
The URL where the content uploaded is located.
|
|
49
|
+
*/
|
|
50
|
+
url?: string;
|
|
51
|
+
/**
|
|
52
|
+
* override default card width with preferred width
|
|
53
|
+
*/
|
|
54
|
+
cardWidth?: string;
|
|
55
|
+
/**
|
|
56
|
+
* override default card width with preferred width
|
|
57
|
+
*/
|
|
58
|
+
cardHeight?: string;
|
|
59
|
+
}>;
|
|
60
|
+
declare const Card: React.FC<CardProps>;
|
|
61
|
+
export default Card;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import PropTypes from "prop-types";
|
|
3
|
+
interface CardExternalProps {
|
|
4
|
+
label?: string;
|
|
5
|
+
labelStatus?: boolean;
|
|
6
|
+
interactive?: boolean;
|
|
7
|
+
image?: string;
|
|
8
|
+
heading?: string;
|
|
9
|
+
subHeading?: string;
|
|
10
|
+
caption?: string;
|
|
11
|
+
tag?: string;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
className?: string;
|
|
14
|
+
truncated?: boolean;
|
|
15
|
+
}
|
|
16
|
+
declare const CardExternal: {
|
|
17
|
+
({ label, labelStatus, interactive, image, heading, subHeading, caption, tag, children, className, ...other }: CardExternalProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
propTypes: {
|
|
19
|
+
/**
|
|
20
|
+
label description for card if any
|
|
21
|
+
*/
|
|
22
|
+
label: PropTypes.Requireable<string>;
|
|
23
|
+
/**
|
|
24
|
+
labelStatus is either true or false, it applies for card if any
|
|
25
|
+
*/
|
|
26
|
+
labelStatus: PropTypes.Requireable<boolean>;
|
|
27
|
+
image: PropTypes.Requireable<string>;
|
|
28
|
+
heading: PropTypes.Requireable<string>;
|
|
29
|
+
subHeading: PropTypes.Requireable<string>;
|
|
30
|
+
caption: PropTypes.Requireable<string>;
|
|
31
|
+
tag: PropTypes.Requireable<string>;
|
|
32
|
+
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
33
|
+
interactive: PropTypes.Requireable<boolean>;
|
|
34
|
+
className: PropTypes.Requireable<string>;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export default CardExternal;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
interface CheckboxProps extends Omit<React.ComponentPropsWithRef<"input">, "onChange"> {
|
|
3
|
+
/**
|
|
4
|
+
* Specify whether the Checkbox is in an indeterminate state
|
|
5
|
+
*/
|
|
6
|
+
indeterminate?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Provide a label to provide a description of the Checkbox input that you are
|
|
9
|
+
* exposing to the user
|
|
10
|
+
*/
|
|
11
|
+
labelText?: React.ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* Specify whether the label should be hidden, or not
|
|
14
|
+
*/
|
|
15
|
+
hideLabel?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Invalid state for the checkbox
|
|
18
|
+
*/
|
|
19
|
+
invalid?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Provide the text that is displayed when the checkbox is in an invalid state
|
|
22
|
+
*/
|
|
23
|
+
invalidText?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The CSS class name to be placed on the wrapping element
|
|
26
|
+
*/
|
|
27
|
+
wrapperClassName?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @param event | The event triggering the change
|
|
31
|
+
* @param checked | The new value of the checkbox
|
|
32
|
+
* @param customId | The id of the checkbox
|
|
33
|
+
*/
|
|
34
|
+
onChange?(event: React.ChangeEvent<HTMLInputElement>, checked?: boolean, customId?: string): void;
|
|
35
|
+
}
|
|
36
|
+
export declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
37
|
+
export default Checkbox;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Checkbox';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { PropsWithChildren } from "react";
|
|
3
|
+
/** ContentSwitcher manipulates the content shown following an exclusive or “either/or” pattern. It is used to toggle between two or more content sections within the same space on screen. Only one section can be shown at a time.
|
|
4
|
+
*/
|
|
5
|
+
type ContentSwitcherProps = PropsWithChildren<{
|
|
6
|
+
className?: string;
|
|
7
|
+
selectedIndex?: number;
|
|
8
|
+
small?: boolean;
|
|
9
|
+
onChange: (data?: object) => void;
|
|
10
|
+
}>;
|
|
11
|
+
declare const ContentSwitcher: React.FC<ContentSwitcherProps>;
|
|
12
|
+
export default ContentSwitcher;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ContentSwitcher';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { PropsWithChildren } from 'react';
|
|
3
|
+
/** Context menu are used as navigational elements. They should contain commands that apply to the target object. */
|
|
4
|
+
type ContextMenuProps = PropsWithChildren<{
|
|
5
|
+
/**
|
|
6
|
+
* Provide content to display when contextMenu is clicked
|
|
7
|
+
*/
|
|
8
|
+
content?: React.ReactNode;
|
|
9
|
+
/**
|
|
10
|
+
* Provide a href prop as an alternative to onClick
|
|
11
|
+
*/
|
|
12
|
+
href?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Inline links are used within a sentence or paragraph and are styled with an underline. They should not be paired with an icon.
|
|
15
|
+
*/
|
|
16
|
+
inline?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Provide a custom className
|
|
19
|
+
*/
|
|
20
|
+
className?: string;
|
|
21
|
+
}>;
|
|
22
|
+
declare const ContextMenu: React.FC<ContextMenuProps>;
|
|
23
|
+
type ContextMenuGroupProps = PropsWithChildren<{
|
|
24
|
+
className?: string;
|
|
25
|
+
}>;
|
|
26
|
+
declare const ContextMenuGroup: React.FC<ContextMenuGroupProps>;
|
|
27
|
+
interface ContextMenuItemProps extends React.ComponentPropsWithRef<'div'> {
|
|
28
|
+
className?: string;
|
|
29
|
+
}
|
|
30
|
+
declare const ContextMenuItem: React.FC<ContextMenuItemProps>;
|
|
31
|
+
export { ContextMenu, ContextMenuItem, ContextMenuGroup };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ContextMenu, ContextMenuGroup, ContextMenuItem } from './ContextMenu';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
interface CreditsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/**
|
|
4
|
+
Specifiy the info content
|
|
5
|
+
*/
|
|
6
|
+
info?: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
/** Credits are mostly used when a photo need a source attribution. */
|
|
9
|
+
declare const Credits: React.FC<CreditsProps>;
|
|
10
|
+
export default Credits;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Credits';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { InputProps } from "../Input";
|
|
3
|
+
import { DatePickerInputProps } from "./DatePickerInput";
|
|
4
|
+
/** DatePicker with the Input wrapper */
|
|
5
|
+
interface DatePickerProps extends InputProps, DatePickerInputProps {
|
|
6
|
+
}
|
|
7
|
+
declare const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<HTMLInputElement>>;
|
|
8
|
+
export default DatePicker;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export interface DatePickerInputProps {
|
|
3
|
+
/**
|
|
4
|
+
* The starting date value, formatted as a string.
|
|
5
|
+
*/
|
|
6
|
+
startDate?: string;
|
|
7
|
+
/**
|
|
8
|
+
* The ending date value, formatted as a string.
|
|
9
|
+
*/
|
|
10
|
+
endDate?: string;
|
|
11
|
+
/**
|
|
12
|
+
* The DatePicker component to be used (react-datepicker by default)
|
|
13
|
+
*/
|
|
14
|
+
datePicker?: React.ComponentType<any>;
|
|
15
|
+
/**
|
|
16
|
+
* Function to set the starting date. Typically used as an event handler.
|
|
17
|
+
*/
|
|
18
|
+
setStartDate?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Function to set the ending date. Typically used as an event handler.
|
|
21
|
+
*/
|
|
22
|
+
setEndDate?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Additional props for the start date DatePicker component.
|
|
25
|
+
* Can be used to pass custom settings or event handlers.
|
|
26
|
+
*/
|
|
27
|
+
fromProps?: object;
|
|
28
|
+
/**
|
|
29
|
+
* Additional props for the end date DatePicker component.
|
|
30
|
+
* Can be used to pass custom settings or event handlers.
|
|
31
|
+
*/
|
|
32
|
+
toProps?: object;
|
|
33
|
+
/**
|
|
34
|
+
* Additional props for the DatePicker component.
|
|
35
|
+
*/
|
|
36
|
+
datePickerProps?: object;
|
|
37
|
+
}
|
|
38
|
+
export declare const DatePickerInput: React.ForwardRefExoticComponent<DatePickerInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { InputProps } from "../Input";
|
|
3
|
+
import { DateRangePickerInputProps } from "./DateRangePickerInput";
|
|
4
|
+
/** DatePicker with the Input wrapper */
|
|
5
|
+
interface DateRangePickerProps extends InputProps, DateRangePickerInputProps, React.ComponentPropsWithRef<"input"> {
|
|
6
|
+
}
|
|
7
|
+
declare const DateRangePicker: React.FC<DateRangePickerProps>;
|
|
8
|
+
export default DateRangePicker;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export interface DateRangePickerInputProps {
|
|
3
|
+
/**
|
|
4
|
+
* The starting date value, formatted as a string.
|
|
5
|
+
*/
|
|
6
|
+
startDate?: string;
|
|
7
|
+
/**
|
|
8
|
+
* The ending date value, formatted as a string.
|
|
9
|
+
*/
|
|
10
|
+
endDate?: string;
|
|
11
|
+
/**
|
|
12
|
+
* The DatePicker component to be used (react-datepicker by default)
|
|
13
|
+
*/
|
|
14
|
+
datePicker?: React.ComponentType<any>;
|
|
15
|
+
/**
|
|
16
|
+
* Function to set the starting date. Typically used as an event handler.
|
|
17
|
+
*/
|
|
18
|
+
setStartDate?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Function to set the ending date. Typically used as an event handler.
|
|
21
|
+
*/
|
|
22
|
+
setEndDate?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Additional props for the start date DatePicker component.
|
|
25
|
+
* Can be used to pass custom settings or event handlers.
|
|
26
|
+
*/
|
|
27
|
+
fromProps?: object;
|
|
28
|
+
/**
|
|
29
|
+
* Additional props for the end date DatePicker component.
|
|
30
|
+
* Can be used to pass custom settings or event handlers.
|
|
31
|
+
*/
|
|
32
|
+
toProps?: object;
|
|
33
|
+
}
|
|
34
|
+
export declare const DateRangePickerInput: React.ForwardRefExoticComponent<DateRangePickerInputProps & React.RefAttributes<HTMLInputElement>>;
|