@dfds-ui/react-components 2.0.23-alpha.9bb07bfd → 2.0.23-alpha.a4c7ef7a
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/accordion/Accordion.js +1 -1
- package/accordion/AccordionContent.js +1 -1
- package/accordion/AccordionSmall.js +1 -1
- package/app-bar/AppBar.js +3 -3
- package/app-bar/AppBarContext.js +2 -2
- package/app-bar/AppBarDrawer.js +1 -1
- package/app-bar/AppBarIconButton.js +1 -1
- package/app-bar/AppBarItem.d.ts +1 -1
- package/app-bar/AppBarItem.js +3 -3
- package/assertions/banner/Banner.js +3 -3
- package/assertions/banner/BannerAction.js +1 -1
- package/assertions/toast/Toast.js +1 -1
- package/assertions/toast/Toaster.js +19 -21
- package/badge/Badge.js +1 -1
- package/button/Button.js +1 -1
- package/button/IconButton.js +1 -1
- package/button-stack/ButtonStack.js +1 -1
- package/card/Card.js +8 -8
- package/card/CardActions.js +1 -1
- package/card/CardContent.js +1 -1
- package/card/CardMedia.js +1 -1
- package/card/CardPriceTag.js +1 -1
- package/card/CardTitle.js +1 -1
- package/chip/Chip.js +3 -3
- package/cjs/accordion/Accordion.d.ts +101 -0
- package/cjs/accordion/Accordion.js +2 -3
- package/cjs/accordion/AccordionContent.d.ts +13 -0
- package/cjs/accordion/AccordionContent.js +2 -3
- package/cjs/accordion/AccordionSmall.d.ts +55 -0
- package/cjs/accordion/AccordionSmall.js +2 -3
- package/cjs/accordion/index.d.ts +3 -0
- package/cjs/app-bar/AppBar.d.ts +13 -0
- package/cjs/app-bar/AppBar.js +2 -3
- package/cjs/app-bar/AppBarContext.d.ts +12 -0
- package/cjs/app-bar/AppBarDrawer.d.ts +5 -0
- package/cjs/app-bar/AppBarDrawer.js +2 -3
- package/cjs/app-bar/AppBarIconButton.d.ts +10 -0
- package/cjs/app-bar/AppBarIconButton.js +2 -3
- package/cjs/app-bar/AppBarItem.d.ts +23 -0
- package/cjs/app-bar/AppBarItem.js +3 -5
- package/cjs/app-bar/AppBarListItem.d.ts +16 -0
- package/cjs/app-bar/AppBarListItem.js +1 -2
- package/cjs/app-bar/index.d.ts +7 -0
- package/cjs/assertions/banner/Banner.d.ts +74 -0
- package/cjs/assertions/banner/Banner.js +3 -5
- package/cjs/assertions/banner/BannerAction.d.ts +19 -0
- package/cjs/assertions/banner/BannerAction.js +1 -1
- package/cjs/assertions/banner/BannerTypography.d.ts +7 -0
- package/cjs/assertions/banner/index.d.ts +3 -0
- package/cjs/assertions/index.d.ts +2 -0
- package/cjs/assertions/toast/Toast.d.ts +11 -0
- package/cjs/assertions/toast/Toast.js +2 -3
- package/cjs/assertions/toast/Toaster.d.ts +19 -0
- package/cjs/assertions/toast/Toaster.js +1 -2
- package/cjs/assertions/toast/index.d.ts +2 -0
- package/cjs/badge/Badge.d.ts +26 -0
- package/cjs/badge/Badge.js +1 -1
- package/cjs/badge/index.d.ts +2 -0
- package/cjs/button/BadgeIcon.d.ts +7 -0
- package/cjs/button/BadgeIcon.js +1 -2
- package/cjs/button/BaseButton.d.ts +14 -0
- package/cjs/button/BaseButton.js +2 -4
- package/cjs/button/Button.d.ts +19 -0
- package/cjs/button/Button.js +2 -3
- package/cjs/button/IconButton.d.ts +75 -0
- package/cjs/button/IconButton.js +2 -3
- package/cjs/button/LinkButton.d.ts +8 -0
- package/cjs/button/LinkButton.js +1 -2
- package/cjs/button/button-style.d.ts +7 -0
- package/cjs/button/button-style.js +8 -15
- package/cjs/button/index.d.ts +7 -0
- package/cjs/button-stack/ButtonStack.d.ts +11 -0
- package/cjs/button-stack/ButtonStack.js +2 -3
- package/cjs/button-stack/index.d.ts +1 -0
- package/cjs/card/Card.d.ts +18 -0
- package/cjs/card/Card.js +3 -5
- package/cjs/card/CardActions.d.ts +4 -0
- package/cjs/card/CardActions.js +2 -3
- package/cjs/card/CardContent.d.ts +13 -0
- package/cjs/card/CardContent.js +2 -3
- package/cjs/card/CardMedia.d.ts +18 -0
- package/cjs/card/CardMedia.js +2 -3
- package/cjs/card/CardPriceTag.d.ts +25 -0
- package/cjs/card/CardPriceTag.js +2 -3
- package/cjs/card/CardTitle.d.ts +18 -0
- package/cjs/card/CardTitle.js +2 -3
- package/cjs/card/index.d.ts +6 -0
- package/cjs/chip/Chip.d.ts +19 -0
- package/cjs/chip/Chip.js +2 -3
- package/cjs/chip/index.d.ts +2 -0
- package/cjs/common/LockBodyScroll.d.ts +25 -0
- package/cjs/common/LockBodyScroll.js +3 -5
- package/cjs/common/arrow.d.ts +6 -0
- package/cjs/common/emotionCloneElement.d.ts +3 -0
- package/cjs/common/emotionCloneElement.js +1 -2
- package/cjs/common/intent.d.ts +3 -0
- package/cjs/common/miniMoize.d.ts +1 -0
- package/cjs/common/polymorphic.d.ts +25 -0
- package/cjs/common/use-media.d.ts +1 -0
- package/cjs/common/useOnClickOutside.d.ts +4 -0
- package/cjs/common/utils.d.ts +3 -0
- package/cjs/counter/Counter.d.ts +26 -0
- package/cjs/counter/Counter.js +2 -4
- package/cjs/counter/PluralCounter.d.ts +13 -0
- package/cjs/counter/PluralCounter.js +2 -3
- package/cjs/counter/index.d.ts +2 -0
- package/cjs/data-table/DataTable.d.ts +10 -0
- package/cjs/data-table/DataTable.js +2 -3
- package/cjs/data-table/index.d.ts +1 -0
- package/cjs/date-range-picker/DatePickerDefaultStyles.d.ts +2 -0
- package/cjs/date-range-picker/DatePickerDefaultStyles.js +1 -2
- package/cjs/date-range-picker/DatePickerDfdsStyles.d.ts +2 -0
- package/cjs/date-range-picker/DatePickerDfdsStyles.js +1 -2
- package/cjs/date-range-picker/DateRangePicker.d.ts +33 -0
- package/cjs/date-range-picker/DateRangePicker.js +1 -2
- package/cjs/date-range-picker/index.d.ts +1 -0
- package/cjs/divider/Divider.d.ts +26 -0
- package/cjs/divider/Divider.js +2 -3
- package/cjs/divider/index.d.ts +1 -0
- package/cjs/drawer/Drawer.d.ts +31 -0
- package/cjs/drawer/Drawer.js +3 -5
- package/cjs/drawer/index.d.ts +1 -0
- package/cjs/dropdown-menu/Dropdown.d.ts +46 -0
- package/cjs/dropdown-menu/Dropdown.js +2 -3
- package/cjs/dropdown-menu/DropdownContext.d.ts +13 -0
- package/cjs/dropdown-menu/DropdownContext.js +2 -4
- package/cjs/dropdown-menu/MenuCheckbox.d.ts +34 -0
- package/cjs/dropdown-menu/MenuCheckbox.js +1 -2
- package/cjs/dropdown-menu/MenuItem.d.ts +45 -0
- package/cjs/dropdown-menu/MenuItem.js +2 -3
- package/cjs/dropdown-menu/MenuTitle.d.ts +14 -0
- package/cjs/dropdown-menu/MenuTitle.js +1 -2
- package/cjs/dropdown-menu/index.d.ts +5 -0
- package/cjs/elevation/index.d.ts +3 -0
- package/cjs/elevation/index.js +1 -2
- package/cjs/flexbox/FlexBox.d.ts +100 -0
- package/cjs/flexbox/FlexBox.js +2 -4
- package/cjs/flexbox/index.d.ts +1 -0
- package/cjs/footer/Footer.d.ts +7 -0
- package/cjs/footer/Footer.js +1 -2
- package/cjs/footer/index.d.ts +1 -0
- package/cjs/forms/assistive-text/AssistiveText.d.ts +8 -0
- package/cjs/forms/assistive-text/AssistiveText.js +1 -2
- package/cjs/forms/asterisk/Asterisk.d.ts +3 -0
- package/cjs/forms/asterisk/Asterisk.js +1 -2
- package/cjs/forms/checkbox/Checkbox.d.ts +39 -0
- package/cjs/forms/checkbox/Checkbox.js +2 -3
- package/cjs/forms/checkbox/ExampleControlComponent.d.ts +10 -0
- package/cjs/forms/checkbox/ExampleControlComponent.js +2 -3
- package/cjs/forms/checkbox/index.d.ts +1 -0
- package/cjs/forms/email-field/EmailField.d.ts +6 -0
- package/cjs/forms/email-field/EmailField.js +2 -3
- package/cjs/forms/error-text/ErrorText.d.ts +8 -0
- package/cjs/forms/error-text/ErrorText.js +1 -2
- package/cjs/forms/field/Field.d.ts +10 -0
- package/cjs/forms/field/Field.js +1 -2
- package/cjs/forms/index.d.ts +21 -0
- package/cjs/forms/input/Input.d.ts +19 -0
- package/cjs/forms/input/Input.js +2 -3
- package/cjs/forms/input/InputComposition.d.ts +43 -0
- package/cjs/forms/input/InputComposition.js +5 -8
- package/cjs/forms/label/Label.d.ts +10 -0
- package/cjs/forms/label/Label.js +2 -3
- package/cjs/forms/number-field/NumberField.d.ts +6 -0
- package/cjs/forms/number-field/NumberField.js +2 -3
- package/cjs/forms/password-field/PasswordField.d.ts +4 -0
- package/cjs/forms/password-field/PasswordField.js +1 -2
- package/cjs/forms/radio/Radio.d.ts +35 -0
- package/cjs/forms/radio/Radio.js +3 -5
- package/cjs/forms/reactselect/ReactSelect.d.ts +25 -0
- package/cjs/forms/reactselect/ReactSelect.js +4 -7
- package/cjs/forms/searchable-select/AsyncSearchableSelect.d.ts +6 -0
- package/cjs/forms/searchable-select/AsyncSearchableSelect.js +2 -3
- package/cjs/forms/select/Select.d.ts +16 -0
- package/cjs/forms/select/Select.js +2 -3
- package/cjs/forms/select-field/SelectField.d.ts +17 -0
- package/cjs/forms/select-field/SelectField.js +3 -4
- package/cjs/forms/switch/Switch.d.ts +13 -0
- package/cjs/forms/switch/Switch.js +2 -3
- package/cjs/forms/tel-field/TelField.d.ts +6 -0
- package/cjs/forms/tel-field/TelField.js +2 -3
- package/cjs/forms/text-field/TextField.d.ts +26 -0
- package/cjs/forms/text-field/TextField.js +3 -4
- package/cjs/global-styles/GlobalStyles.d.ts +3 -0
- package/cjs/global-styles/ResetStyles.d.ts +9 -0
- package/cjs/global-styles/sanitize.d.ts +1 -0
- package/cjs/global-styles/sanitize.js +2 -3
- package/cjs/grid/Column.d.ts +10 -0
- package/cjs/grid/Column.js +2 -3
- package/cjs/grid/Container.d.ts +15 -0
- package/cjs/grid/Container.js +2 -3
- package/cjs/grid/index.d.ts +2 -0
- package/cjs/hero/Hero.d.ts +10 -0
- package/cjs/hero/Hero.js +1 -2
- package/cjs/hero/index.d.ts +1 -0
- package/cjs/hero/stripes.d.ts +6 -0
- package/cjs/hero/stripes.js +1 -2
- package/cjs/ie-banner/IEBanner.d.ts +11 -0
- package/cjs/ie-banner/IEBanner.js +1 -2
- package/cjs/ie-banner/index.d.ts +1 -0
- package/cjs/index.d.ts +44 -0
- package/cjs/layout/LayoutLegacy.d.ts +2 -0
- package/cjs/lists/FeatureList.d.ts +24 -0
- package/cjs/lists/FeatureList.js +3 -5
- package/cjs/lists/ListAddon.d.ts +11 -0
- package/cjs/lists/ListAddon.js +2 -3
- package/cjs/lists/ListDivider.d.ts +5 -0
- package/cjs/lists/ListDivider.js +2 -3
- package/cjs/lists/ListIcon.d.ts +18 -0
- package/cjs/lists/ListIcon.js +2 -3
- package/cjs/lists/ListItem.d.ts +46 -0
- package/cjs/lists/ListItem.js +2 -3
- package/cjs/lists/ListText.d.ts +39 -0
- package/cjs/lists/ListText.js +2 -3
- package/cjs/lists/ListTextGroup.d.ts +15 -0
- package/cjs/lists/ListTextGroup.js +2 -3
- package/cjs/lists/ListTitle.d.ts +4 -0
- package/cjs/lists/ListTitle.js +2 -3
- package/cjs/lists/index.d.ts +8 -0
- package/cjs/loader/DfdsLoader.d.ts +9 -0
- package/cjs/loader/DfdsLoader.js +1 -2
- package/cjs/loader/Loader.d.ts +6 -0
- package/cjs/loader/Loader.js +1 -2
- package/cjs/loader/index.d.ts +2 -0
- package/cjs/localization/LocaleFlag.d.ts +13 -0
- package/cjs/localization/LocaleFlag.js +1 -1
- package/cjs/localization/index.d.ts +2 -0
- package/cjs/localization/locales.d.ts +35 -0
- package/cjs/localization/locales.js +3 -6
- package/cjs/logo/Logo.d.ts +11 -0
- package/cjs/logo/Logo.js +2 -3
- package/cjs/logo/index.d.ts +1 -0
- package/cjs/media/index.d.ts +2 -0
- package/cjs/media/index.js +1 -2
- package/cjs/menu/Menu.d.ts +7 -0
- package/cjs/menu/Menu.js +2 -3
- package/cjs/menu/index.d.ts +2 -0
- package/cjs/mobile-stepper/MobileStepper.d.ts +25 -0
- package/cjs/mobile-stepper/MobileStepper.js +2 -3
- package/cjs/mobile-stepper/index.d.ts +1 -0
- package/cjs/nav-bar/NavBar.d.ts +35 -0
- package/cjs/nav-bar/NavBar.js +4 -7
- package/cjs/nav-bar/index.d.ts +2 -0
- package/cjs/nav-menu/NavMenuItem.d.ts +10 -0
- package/cjs/nav-menu/NavMenuItem.js +1 -2
- package/cjs/nav-menu/index.d.ts +1 -0
- package/cjs/pagination/Pagination.d.ts +44 -0
- package/cjs/pagination/Pagination.js +1 -2
- package/cjs/pagination/Pagination.styles.d.ts +6 -0
- package/cjs/pagination/Pagination.styles.js +6 -12
- package/cjs/pagination/index.d.ts +1 -0
- package/cjs/popper/Popper.d.ts +29 -0
- package/cjs/popper/Popper.js +2 -3
- package/cjs/popper/index.d.ts +1 -0
- package/cjs/progress-bar/ProgressBar.d.ts +8 -0
- package/cjs/progress-bar/ProgressBar.js +1 -2
- package/cjs/progress-bar/index.d.ts +2 -0
- package/cjs/schedule/ScheduleItem.d.ts +21 -0
- package/cjs/schedule/ScheduleItem.js +2 -4
- package/cjs/schedule/ScheduleList.d.ts +11 -0
- package/cjs/schedule/ScheduleList.js +2 -3
- package/cjs/schedule/index.d.ts +2 -0
- package/cjs/side-sheet/SideSheet.d.ts +57 -0
- package/cjs/side-sheet/SideSheet.js +2 -3
- package/cjs/side-sheet/SideSheetCloseButton.d.ts +13 -0
- package/cjs/side-sheet/SideSheetCloseButton.js +2 -3
- package/cjs/side-sheet/SideSheetContent.d.ts +7 -0
- package/cjs/side-sheet/SideSheetContent.js +2 -3
- package/cjs/side-sheet/SideSheetFooter.d.ts +7 -0
- package/cjs/side-sheet/SideSheetFooter.js +2 -3
- package/cjs/side-sheet/SideSheetHeader.d.ts +9 -0
- package/cjs/side-sheet/SideSheetHeader.js +2 -3
- package/cjs/side-sheet/SideSheetHeadline.d.ts +7 -0
- package/cjs/side-sheet/SideSheetHeadline.js +1 -2
- package/cjs/side-sheet/index.d.ts +4 -0
- package/cjs/site-layout/SiteLayout.d.ts +36 -0
- package/cjs/site-layout/SiteLayout.js +4 -6
- package/cjs/site-layout/index.d.ts +2 -0
- package/cjs/skeleton/Skeleton.d.ts +8 -0
- package/cjs/skeleton/Skeleton.js +2 -3
- package/cjs/skeleton/index.d.ts +1 -0
- package/cjs/social-media-link-list/SocialMediaLinkList.d.ts +26 -0
- package/cjs/social-media-link-list/SocialMediaLinkList.js +3 -5
- package/cjs/social-media-link-list/index.d.ts +1 -0
- package/cjs/spinner/Spinner.d.ts +58 -0
- package/cjs/spinner/Spinner.js +3 -5
- package/cjs/spinner/index.d.ts +1 -0
- package/cjs/step/Step.d.ts +45 -0
- package/cjs/step/Step.js +2 -3
- package/cjs/step/Step.styles.d.ts +4 -0
- package/cjs/step/Step.styles.js +4 -8
- package/cjs/step/StepButton.d.ts +4 -0
- package/cjs/step/StepButton.js +1 -2
- package/cjs/step/StepContent.d.ts +6 -0
- package/cjs/step/StepContent.js +1 -2
- package/cjs/step/StepContext.d.ts +12 -0
- package/cjs/step/StepContext.js +1 -2
- package/cjs/step/StepLabel.d.ts +7 -0
- package/cjs/step/StepLabel.js +1 -2
- package/cjs/step/index.d.ts +1 -0
- package/cjs/stepper/Stepper.d.ts +25 -0
- package/cjs/stepper/Stepper.js +2 -3
- package/cjs/stepper/StepperContext.d.ts +9 -0
- package/cjs/stepper/StepperContext.js +1 -2
- package/cjs/stepper/index.d.ts +1 -0
- package/cjs/stepper-feedback-message/StepperFeedbackMessage.d.ts +5 -0
- package/cjs/stepper-feedback-message/StepperFeedbackMessage.js +1 -2
- package/cjs/stepper-feedback-message/index.d.ts +1 -0
- package/cjs/styles/index.d.ts +3 -0
- package/cjs/styles/media.d.ts +21 -0
- package/cjs/styles/media.js +2 -4
- package/cjs/styles/rem.d.ts +1 -0
- package/cjs/styles/style-helpers.d.ts +1 -0
- package/cjs/styles/theme.d.ts +39 -0
- package/cjs/styles/theme.js +2 -4
- package/cjs/surface/Surface.d.ts +32 -0
- package/cjs/surface/Surface.js +2 -3
- package/cjs/surface/index.d.ts +1 -0
- package/cjs/tab/Tab.d.ts +12 -0
- package/cjs/tab/Tab.js +2 -3
- package/cjs/tab/TabPanel.d.ts +7 -0
- package/cjs/tab/TabPanel.js +1 -2
- package/cjs/tab/Tabs.d.ts +11 -0
- package/cjs/tab/Tabs.js +2 -3
- package/cjs/tab/TabsContext.d.ts +16 -0
- package/cjs/tab/TabsContext.js +2 -4
- package/cjs/tab/index.d.ts +4 -0
- package/cjs/table/Table.d.ts +22 -0
- package/cjs/table/Table.js +3 -5
- package/cjs/table/TableBody.d.ts +9 -0
- package/cjs/table/TableBody.js +3 -5
- package/cjs/table/TableDataCell.d.ts +14 -0
- package/cjs/table/TableDataCell.js +3 -5
- package/cjs/table/TableHead.d.ts +14 -0
- package/cjs/table/TableHead.js +4 -7
- package/cjs/table/TableHeaderCell.d.ts +15 -0
- package/cjs/table/TableHeaderCell.js +3 -5
- package/cjs/table/TableRow.d.ts +17 -0
- package/cjs/table/TableRow.js +3 -5
- package/cjs/table/index.d.ts +6 -0
- package/cjs/test/Test.d.ts +8 -0
- package/cjs/test/Test.js +1 -2
- package/cjs/tooltip/Tooltip.d.ts +26 -0
- package/cjs/tooltip/Tooltip.js +2 -3
- package/cjs/tooltip/index.d.ts +2 -0
- package/cjs/typography/Headlines.d.ts +70 -0
- package/cjs/typography/Headlines.js +9 -17
- package/cjs/typography/Text.d.ts +5 -0
- package/cjs/typography/Text.js +2 -3
- package/cjs/typography/index.d.ts +2 -0
- package/common/LockBodyScroll.js +1 -1
- package/common/use-media.js +2 -2
- package/counter/Counter.js +2 -2
- package/counter/PluralCounter.js +3 -3
- package/data-table/DataTable.js +3 -3
- package/date-range-picker/DateRangePicker.js +4 -4
- package/divider/Divider.js +1 -1
- package/drawer/Drawer.js +1 -1
- package/dropdown-menu/Dropdown.js +3 -3
- package/dropdown-menu/MenuItem.js +3 -3
- package/flexbox/FlexBox.js +1 -1
- package/forms/checkbox/Checkbox.js +1 -1
- package/forms/checkbox/ExampleControlComponent.js +3 -3
- package/forms/input/Input.js +1 -1
- package/forms/input/InputComposition.js +1 -1
- package/forms/label/Label.js +1 -1
- package/forms/password-field/PasswordField.js +2 -2
- package/forms/radio/Radio.js +1 -1
- package/forms/reactselect/ReactSelect.js +1 -1
- package/forms/searchable-select/AsyncSearchableSelect.js +1 -1
- package/forms/select/Select.js +1 -1
- package/forms/select-field/SelectField.js +1 -1
- package/forms/switch/Switch.js +1 -1
- package/forms/text-field/TextField.js +1 -1
- package/grid/Column.js +1 -1
- package/grid/Container.js +7 -8
- package/ie-banner/IEBanner.js +2 -2
- package/lists/FeatureList.js +1 -1
- package/lists/ListAddon.js +1 -1
- package/lists/ListDivider.js +1 -1
- package/lists/ListIcon.js +1 -1
- package/lists/ListItem.js +1 -1
- package/lists/ListText.js +1 -1
- package/lists/ListTextGroup.js +1 -1
- package/lists/ListTitle.js +1 -1
- package/localization/LocaleFlag.js +1 -1
- package/logo/Logo.js +1 -1
- package/menu/Menu.js +1 -1
- package/mobile-stepper/MobileStepper.js +2 -2
- package/nav-bar/NavBar.js +3 -3
- package/package.json +9 -9
- package/popper/Popper.js +1 -1
- package/schedule/ScheduleList.js +1 -1
- package/side-sheet/SideSheet.js +3 -3
- package/side-sheet/SideSheetCloseButton.js +1 -1
- package/side-sheet/SideSheetContent.js +1 -1
- package/side-sheet/SideSheetFooter.js +1 -1
- package/side-sheet/SideSheetHeader.js +1 -1
- package/site-layout/SiteLayout.js +1 -1
- package/skeleton/Skeleton.js +1 -1
- package/social-media-link-list/SocialMediaLinkList.js +1 -1
- package/spinner/Spinner.js +1 -1
- package/step/Step.js +1 -1
- package/stepper/Stepper.js +1 -1
- package/surface/Surface.js +1 -1
- package/tab/Tab.js +1 -1
- package/tab/Tabs.js +3 -3
- package/table/Table.js +1 -1
- package/table/TableBody.js +1 -1
- package/table/TableDataCell.js +1 -1
- package/table/TableHead.js +1 -1
- package/table/TableHeaderCell.js +1 -1
- package/table/TableRow.js +2 -3
- package/tooltip/Tooltip.js +1 -1
- package/typography/Headlines.js +1 -1
|
@@ -18,7 +18,7 @@ const _excluded = ["children", "isOpen", "header", "disabled", "heading", "secon
|
|
|
18
18
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
19
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
20
20
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
21
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
21
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
22
22
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
23
23
|
var _ref = process.env.NODE_ENV === "production" ? {
|
|
24
24
|
name: "82a6rk",
|
|
@@ -117,5 +117,4 @@ const Accordion = _ref2 => {
|
|
|
117
117
|
}, children)));
|
|
118
118
|
};
|
|
119
119
|
exports.Accordion = Accordion;
|
|
120
|
-
var _default = Accordion;
|
|
121
|
-
exports.default = _default;
|
|
120
|
+
var _default = exports.default = Accordion;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare type AccordionContentProps = {
|
|
3
|
+
/**
|
|
4
|
+
* The compressed variant removes the `margin-bottom` of the Accordion.
|
|
5
|
+
*/
|
|
6
|
+
variant?: 'default' | 'compressed';
|
|
7
|
+
/**
|
|
8
|
+
* Specify the content padding of the Accordion.
|
|
9
|
+
*/
|
|
10
|
+
type?: 'small' | 'medium';
|
|
11
|
+
};
|
|
12
|
+
export declare const AccordionContent: React.FunctionComponent<AccordionContentProps>;
|
|
13
|
+
export default AccordionContent;
|
|
@@ -12,7 +12,7 @@ const _excluded = ["variant", "type", "children"];
|
|
|
12
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
13
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
14
14
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
15
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
15
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
16
16
|
const AccordionContent = _ref => {
|
|
17
17
|
let variant = _ref.variant,
|
|
18
18
|
type = _ref.type,
|
|
@@ -24,5 +24,4 @@ const AccordionContent = _ref => {
|
|
|
24
24
|
}, rest), children);
|
|
25
25
|
};
|
|
26
26
|
exports.AccordionContent = AccordionContent;
|
|
27
|
-
var _default = AccordionContent;
|
|
28
|
-
exports.default = _default;
|
|
27
|
+
var _default = exports.default = AccordionContent;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare type AccordionSmallHeaderProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Add a heading to the Accordion.
|
|
5
|
+
*/
|
|
6
|
+
heading: string;
|
|
7
|
+
/**
|
|
8
|
+
* Add a secondary heading to the Accordion.
|
|
9
|
+
*/
|
|
10
|
+
secondaryHeading?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Specify the duration of the transition between open and closed.
|
|
13
|
+
*/
|
|
14
|
+
transitionDuration?: string;
|
|
15
|
+
/**
|
|
16
|
+
* If set to `true` the Accordion is open.
|
|
17
|
+
*/
|
|
18
|
+
isOpen?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Disable the Accordion.
|
|
21
|
+
*/
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Use the Accordion without animation.
|
|
25
|
+
*/
|
|
26
|
+
noAnimation?: boolean;
|
|
27
|
+
onToggle?: () => void;
|
|
28
|
+
};
|
|
29
|
+
export declare const AccordionSmallHeader: React.FunctionComponent<AccordionSmallHeaderProps>;
|
|
30
|
+
export declare type AccordionSmallProps = {
|
|
31
|
+
/**
|
|
32
|
+
* Add a heading to the Accordion.
|
|
33
|
+
*/
|
|
34
|
+
heading: string;
|
|
35
|
+
/**
|
|
36
|
+
* Specify the duration of the transition between open and closed.
|
|
37
|
+
*/
|
|
38
|
+
transitionDuration?: string;
|
|
39
|
+
/**
|
|
40
|
+
* If set to `true` the Accordion is open.
|
|
41
|
+
*/
|
|
42
|
+
isOpen?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Disable the Accordion.
|
|
45
|
+
*/
|
|
46
|
+
disabled?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Use the Accordion without animation.
|
|
49
|
+
*/
|
|
50
|
+
noAnimation?: boolean;
|
|
51
|
+
onToggle?: () => void;
|
|
52
|
+
collapseProps?: object;
|
|
53
|
+
};
|
|
54
|
+
export declare const AccordionSmall: React.FunctionComponent<AccordionSmallProps>;
|
|
55
|
+
export default AccordionSmall;
|
|
@@ -17,7 +17,7 @@ const _excluded = ["children", "isOpen", "disabled", "heading", "transitionDurat
|
|
|
17
17
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
18
18
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
19
19
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
20
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
20
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
21
21
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
22
22
|
const AccordionSmallHeader = ({
|
|
23
23
|
heading,
|
|
@@ -87,5 +87,4 @@ const AccordionSmall = _ref2 => {
|
|
|
87
87
|
}));
|
|
88
88
|
};
|
|
89
89
|
exports.AccordionSmall = AccordionSmall;
|
|
90
|
-
var _default = AccordionSmall;
|
|
91
|
-
exports.default = _default;
|
|
90
|
+
var _default = exports.default = AccordionSmall;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare type Breakpoint = 's' | 'm' | 'l';
|
|
3
|
+
declare const AppBar: React.FC<{
|
|
4
|
+
leftActions?: React.ReactNode;
|
|
5
|
+
actions?: React.ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
logoProps?: any;
|
|
8
|
+
menuBreakpoint?: Breakpoint;
|
|
9
|
+
hasMenuButton?: boolean;
|
|
10
|
+
handleMenuButtonClick?: () => void;
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
}>;
|
|
13
|
+
export default AppBar;
|
package/cjs/app-bar/AppBar.js
CHANGED
|
@@ -28,7 +28,7 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
|
|
|
28
28
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
29
29
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
30
30
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
31
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
31
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
32
32
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
33
33
|
const Logo = /*#__PURE__*/(0, _base.default)(_logo.Logo, process.env.NODE_ENV === "production" ? {
|
|
34
34
|
target: "e5a40re3"
|
|
@@ -192,5 +192,4 @@ const AppBar = _ref3 => {
|
|
|
192
192
|
ref: rightRef
|
|
193
193
|
}, actions)), (0, _react2.jsx)(_divider.Divider, null));
|
|
194
194
|
};
|
|
195
|
-
var _default = AppBar;
|
|
196
|
-
exports.default = _default;
|
|
195
|
+
var _default = exports.default = AppBar;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare type AppBarState = {
|
|
3
|
+
drawerOpen: boolean;
|
|
4
|
+
setDrawerOpen: React.Dispatch<React.SetStateAction<boolean>>;
|
|
5
|
+
height: number;
|
|
6
|
+
setHeight: React.Dispatch<React.SetStateAction<number>>;
|
|
7
|
+
};
|
|
8
|
+
export declare const AppBarProvider: React.FC<{
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
}>;
|
|
11
|
+
export declare const useAppBarContext: () => AppBarState;
|
|
12
|
+
export {};
|
|
@@ -16,7 +16,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
16
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
17
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
18
18
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
19
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
19
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
20
20
|
const APPBAR_HEIGHT = '3rem';
|
|
21
21
|
const StyledDrawer = /*#__PURE__*/(0, _base.default)(_material.Drawer, process.env.NODE_ENV === "production" ? {
|
|
22
22
|
target: "evgyi4x0"
|
|
@@ -35,5 +35,4 @@ const AppBarDrawer = _ref => {
|
|
|
35
35
|
onClose: () => setDrawerOpen(false)
|
|
36
36
|
}, props), children);
|
|
37
37
|
};
|
|
38
|
-
var _default = AppBarDrawer;
|
|
39
|
-
exports.default = _default;
|
|
38
|
+
var _default = exports.default = AppBarDrawer;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare type AppBarIconButtonProps = {
|
|
3
|
+
isActive?: boolean;
|
|
4
|
+
ariaLabel: string;
|
|
5
|
+
icon: React.ElementType;
|
|
6
|
+
showTooltip?: boolean;
|
|
7
|
+
onClick?: (event: React.MouseEvent) => void;
|
|
8
|
+
};
|
|
9
|
+
declare const AppBarIconButton: React.FC<AppBarIconButtonProps>;
|
|
10
|
+
export default AppBarIconButton;
|
|
@@ -12,7 +12,7 @@ const _excluded = ["isActive", "ariaLabel", "showTooltip"];
|
|
|
12
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
13
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
14
14
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
15
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
15
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
16
16
|
function iconButtonStyles({
|
|
17
17
|
isActive
|
|
18
18
|
}) {
|
|
@@ -34,5 +34,4 @@ const AppBarIconButton = _ref => {
|
|
|
34
34
|
disableTooltip: !showTooltip
|
|
35
35
|
}, rest));
|
|
36
36
|
};
|
|
37
|
-
var _default = AppBarIconButton;
|
|
38
|
-
exports.default = _default;
|
|
37
|
+
var _default = exports.default = AppBarIconButton;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PopperProps } from '@mui/material';
|
|
3
|
+
export declare type AppBarItemProps = {
|
|
4
|
+
id: string;
|
|
5
|
+
Icon?: React.ElementType;
|
|
6
|
+
LeadingIcon?: React.ElementType;
|
|
7
|
+
TrailingIcon?: React.ElementType;
|
|
8
|
+
title: string;
|
|
9
|
+
divider?: 'start' | 'end' | 'both';
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
as?: React.ElementType;
|
|
12
|
+
onClick?: () => void;
|
|
13
|
+
placement?: 'bottom-start' | 'bottom-end';
|
|
14
|
+
isActive?: boolean;
|
|
15
|
+
AppBarPopperProps?: Omit<PopperProps, 'open'>;
|
|
16
|
+
};
|
|
17
|
+
export declare const MenuPopOverContext: React.Context<{
|
|
18
|
+
handlePopoverClose: () => void;
|
|
19
|
+
} | undefined>;
|
|
20
|
+
export declare const AppBarPopper: import("@emotion/styled").StyledComponent<Pick<PopperProps, "key" | "id" | "open" | "color" | "transition" | "translate" | "hidden" | "slot" | "style" | "title" | "dir" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "inputMode" | "tabIndex" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "component" | "sx" | "components" | "container" | "placement" | "disablePortal" | "modifiers" | "anchorEl" | "componentsProps" | "keepMounted" | "popperOptions" | "popperRef"> & React.RefAttributes<HTMLDivElement> & {
|
|
21
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
22
|
+
}, {}, {}>;
|
|
23
|
+
export declare const AppBarItem: React.FC<AppBarItemProps & JSX.IntrinsicElements['a']>;
|
|
@@ -24,7 +24,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
24
24
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
25
25
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
26
26
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
27
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
27
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
28
28
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
29
29
|
function menuCategoryStyles({
|
|
30
30
|
isActive
|
|
@@ -60,15 +60,13 @@ const MenuItemBlock = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
|
60
60
|
ref: ref
|
|
61
61
|
}, children);
|
|
62
62
|
});
|
|
63
|
-
const MenuPopOverContext = /*#__PURE__*/_react.default.createContext(undefined);
|
|
64
|
-
exports.
|
|
65
|
-
const AppBarPopper = /*#__PURE__*/(0, _base.default)(_material.Popper, process.env.NODE_ENV === "production" ? {
|
|
63
|
+
const MenuPopOverContext = exports.MenuPopOverContext = /*#__PURE__*/_react.default.createContext(undefined);
|
|
64
|
+
const AppBarPopper = exports.AppBarPopper = /*#__PURE__*/(0, _base.default)(_material.Popper, process.env.NODE_ENV === "production" ? {
|
|
66
65
|
target: "ekec190"
|
|
67
66
|
} : {
|
|
68
67
|
target: "ekec190",
|
|
69
68
|
label: "AppBarPopper"
|
|
70
69
|
})("border-radius:", _theme.theme.radii.m, ";background-color:", _theme.theme.colors.surface.primary, ";box-shadow:", _theme.theme.elevation[4], ";width:max-content;min-width:8rem;max-width:25rem;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hcHAtYmFyL0FwcEJhckl0ZW0udHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtHMEMiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL2FwcC1iYXIvQXBwQmFySXRlbS50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QsIHsgZm9yd2FyZFJlZiB9IGZyb20gJ3JlYWN0J1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCB7IHRoZW1lIH0gZnJvbSAnQGRmZHMtdWkvdGhlbWUnXG5pbXBvcnQgeyBQb3BwZXIgfSBmcm9tICdAbXVpL21hdGVyaWFsJ1xuaW1wb3J0IHsgVGV4dCB9IGZyb20gJ0BkZmRzLXVpL3R5cG9ncmFwaHknXG5pbXBvcnQgeyBDbGlja0F3YXlMaXN0ZW5lciB9IGZyb20gJ0BtdWkvYmFzZSdcbmltcG9ydCB7IENoZXZyb25Eb3duIH0gZnJvbSAnQGRmZHMtdWkvaWNvbnMvc3lzdGVtJ1xuaW1wb3J0IHsgUG9wcGVyUHJvcHMgfSBmcm9tICdAbXVpL21hdGVyaWFsJ1xuXG5leHBvcnQgdHlwZSBBcHBCYXJJdGVtUHJvcHMgPSB7XG4gIGlkOiBzdHJpbmdcbiAgSWNvbj86IFJlYWN0LkVsZW1lbnRUeXBlXG4gIExlYWRpbmdJY29uPzogUmVhY3QuRWxlbWVudFR5cGVcbiAgVHJhaWxpbmdJY29uPzogUmVhY3QuRWxlbWVudFR5cGVcbiAgdGl0bGU6IHN0cmluZ1xuICBkaXZpZGVyPzogJ3N0YXJ0JyB8ICdlbmQnIHwgJ2JvdGgnXG4gIGNoaWxkcmVuPzogUmVhY3QuUmVhY3ROb2RlXG4gIGFzPzogUmVhY3QuRWxlbWVudFR5cGVcbiAgb25DbGljaz86ICgpID0+IHZvaWRcbiAgcGxhY2VtZW50PzogJ2JvdHRvbS1zdGFydCcgfCAnYm90dG9tLWVuZCdcbiAgaXNBY3RpdmU/OiBib29sZWFuXG4gIEFwcEJhclBvcHBlclByb3BzPzogT21pdDxQb3BwZXJQcm9wcywgJ29wZW4nPlxufVxuXG5mdW5jdGlvbiBtZW51Q2F0ZWdvcnlTdHlsZXMoeyBpc0FjdGl2ZSB9OiB7IGlzQWN0aXZlPzogYm9vbGVhbiB9KSB7XG4gIHJldHVybiBjc3NgXG4gICAgaGVpZ2h0OiAxMDAlO1xuICAgIGRpc3BsYXk6IGlubGluZS1mbGV4O1xuICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgcGFkZGluZzogMCAwLjc1cmVtO1xuICAgIGNvbG9yOiAke3RoZW1lLmNvbG9ycy5wcmltYXJ5Lm1haW59O1xuICAgIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgJHtpc0FjdGl2ZSAmJlxuICAgIGNzc2BcbiAgICAgIGNvbG9yOiAke3RoZW1lLmNvbG9ycy5zZWNvbmRhcnkubWFpbn07XG4gICAgYH1cblxuICAgICR7dGhlbWUuc3RhdGVzLm92ZXJsYXkoaXNBY3RpdmUsIHtcbiAgICAgIGNvbG9yOiB0aGVtZS5jb2xvcnMudGV4dC5zZWNvbmRhcnkucHJpbWFyeSxcbiAgICB9KX07XG4gIGBcbn1cblxudHlwZSBNZW51SXRlbUJsb2NrUHJvcHMgPSB7XG4gIGRpdmlkZXI/OiAnc3RhcnQnIHwgJ2VuZCcgfCAnYm90aCdcbiAgY2hpbGRyZW4/OiBSZWFjdC5SZWFjdE5vZGVcbn1cblxuY29uc3QgTWVudUl0ZW1CbG9jayA9IGZvcndhcmRSZWY8SFRNTERpdkVsZW1lbnQsIE1lbnVJdGVtQmxvY2tQcm9wcz4oKHsgZGl2aWRlciwgY2hpbGRyZW4gfSwgcmVmKSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgY3NzPXtjc3NgXG4gICAgICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICAgICAgYm94LXNpemluZzogYm9yZGVyLWJveDtcbiAgICAgICAgZGlzcGxheTogYmxvY2s7XG4gICAgICAgIGhlaWdodDogMTAwJTtcblxuICAgICAgICAmOjpiZWZvcmUsXG4gICAgICAgICY6OmFmdGVyIHtcbiAgICAgICAgICBkaXNwbGF5OiBub25lO1xuICAgICAgICAgIGNvbnRlbnQ6ICcnO1xuICAgICAgICAgIGhlaWdodDogMS41cmVtO1xuICAgICAgICAgIHdpZHRoOiAxcHg7XG4gICAgICAgICAgYmFja2dyb3VuZDogJHt0aGVtZS5jb2xvcnMucHJpbWFyeS5tYWlufTtcbiAgICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgICAgdG9wOiA1MCU7XG4gICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKC01MCUpO1xuICAgICAgICB9XG5cbiAgICAgICAgJHtkaXZpZGVyICYmXG4gICAgICAgIFsnZW5kJywgJ2JvdGgnXS5pbmNsdWRlcyhkaXZpZGVyKSAmJlxuICAgICAgICBjc3NgXG4gICAgICAgICAgJjo6YWZ0ZXIge1xuICAgICAgICAgICAgZGlzcGxheTogYmxvY2s7XG4gICAgICAgICAgICByaWdodDogMDtcbiAgICAgICAgICB9XG4gICAgICAgIGB9XG5cbiAgICAgICAgJHtkaXZpZGVyICYmXG4gICAgICAgIFsnc3RhcnQnLCAnYm90aCddLmluY2x1ZGVzKGRpdmlkZXIpICYmXG4gICAgICAgIGNzc2BcbiAgICAgICAgICAmOjpiZWZvcmUge1xuICAgICAgICAgICAgZGlzcGxheTogYmxvY2s7XG4gICAgICAgICAgICBsZWZ0OiAwO1xuICAgICAgICAgIH1cbiAgICAgICAgYH1cbiAgICAgIGB9XG4gICAgICByZWY9e3JlZn1cbiAgICA+XG4gICAgICB7Y2hpbGRyZW59XG4gICAgPC9kaXY+XG4gIClcbn0pXG5cbmV4cG9ydCBjb25zdCBNZW51UG9wT3ZlckNvbnRleHQgPSBSZWFjdC5jcmVhdGVDb250ZXh0PHsgaGFuZGxlUG9wb3ZlckNsb3NlOiAoKSA9PiB2b2lkIH0gfCB1bmRlZmluZWQ+KHVuZGVmaW5lZClcblxuZXhwb3J0IGNvbnN0IEFwcEJhclBvcHBlciA9IHN0eWxlZChQb3BwZXIpYFxuICBib3JkZXItcmFkaXVzOiAke3RoZW1lLnJhZGlpLm19O1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAke3RoZW1lLmNvbG9ycy5zdXJmYWNlLnByaW1hcnl9O1xuICBib3gtc2hhZG93OiAke3RoZW1lLmVsZXZhdGlvbls0XX07XG4gIHdpZHRoOiBtYXgtY29udGVudDtcbiAgbWluLXdpZHRoOiA4cmVtO1xuICBtYXgtd2lkdGg6IDI1cmVtO1xuYFxuXG5leHBvcnQgY29uc3QgQXBwQmFySXRlbTogUmVhY3QuRkM8QXBwQmFySXRlbVByb3BzICYgSlNYLkludHJpbnNpY0VsZW1lbnRzWydhJ10+ID0gKHtcbiAgaWQsXG4gIEljb24sXG4gIExlYWRpbmdJY29uLFxuICBUcmFpbGluZ0ljb24sXG4gIHRpdGxlLFxuICBkaXZpZGVyLFxuICBjaGlsZHJlbixcbiAgb25DbGljayxcbiAgcGxhY2VtZW50ID0gJ2JvdHRvbS1zdGFydCcsXG4gIGlzQWN0aXZlLFxuICBhcyA9ICdkaXYnLFxuICBBcHBCYXJQb3BwZXJQcm9wcyA9IHt9LFxuICAuLi5yZXN0XG59KSA9PiB7XG4gIGNvbnN0IFthbmNob3JFbCwgc2V0QW5jaG9yRWxdID0gUmVhY3QudXNlU3RhdGUobnVsbClcbiAgY29uc3QgaGFuZGxlUG9wb3Zlck9wZW4gPSAoZXZlbnQ6IGFueSkgPT4ge1xuICAgIHNldEFuY2hvckVsKGV2ZW50LmN1cnJlbnRUYXJnZXQpXG4gICAgaWYgKG9uQ2xpY2spIHtcbiAgICAgIG9uQ2xpY2soKVxuICAgIH1cbiAgfVxuXG4gIGNvbnN0IGhhbmRsZVBvcG92ZXJDbG9zZSA9ICgpID0+IHtcbiAgICBzZXRBbmNob3JFbChudWxsKVxuICB9XG4gIGNvbnN0IG9wZW4gPSBCb29sZWFuKGFuY2hvckVsKVxuICBjb25zdCBNZW51Q2F0ZWdvcnkgPSBhc1xuXG4gIHJldHVybiAoXG4gICAgPE1lbnVQb3BPdmVyQ29udGV4dC5Qcm92aWRlciB2YWx1ZT17eyBoYW5kbGVQb3BvdmVyQ2xvc2UgfX0+XG4gICAgICA8Q2xpY2tBd2F5TGlzdGVuZXIgb25DbGlja0F3YXk9e2hhbmRsZVBvcG92ZXJDbG9zZX0+XG4gICAgICAgIDxNZW51SXRlbUJsb2NrIGRpdmlkZXI9e2RpdmlkZXJ9PlxuICAgICAgICAgIDxNZW51Q2F0ZWdvcnlcbiAgICAgICAgICAgIGNzcz17bWVudUNhdGVnb3J5U3R5bGVzKHsgaXNBY3RpdmUgfSl9XG4gICAgICAgICAgICBhcmlhLW93bnM9e29wZW4gPyBpZCA6IHVuZGVmaW5lZH1cbiAgICAgICAgICAgIGFyaWEtaGFzcG9wdXA9XCJ0cnVlXCJcbiAgICAgICAgICAgIHsuLi5yZXN0fVxuICAgICAgICAgICAgey4uLihjaGlsZHJlbiAmJiB7IG9uQ2xpY2s6ICFvcGVuID8gaGFuZGxlUG9wb3Zlck9wZW4gOiBoYW5kbGVQb3BvdmVyQ2xvc2UgfSl9XG4gICAgICAgICAgPlxuICAgICAgICAgICAge0ljb24gPyAoXG4gICAgICAgICAgICAgIDxJY29uXG4gICAgICAgICAgICAgICAgY3NzPXtjc3NgXG4gICAgICAgICAgICAgICAgICBmb250LXNpemU6IDEuNXJlbTtcbiAgICAgICAgICAgICAgICBgfVxuICAgICAgICAgICAgICAgIGFyaWEtbGFiZWw9e3RpdGxlfVxuICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgKSA6IChcbiAgICAgICAgICAgICAgPD5cbiAgICAgICAgICAgICAgICB7TGVhZGluZ0ljb24gJiYgKFxuICAgICAgICAgICAgICAgICAgPExlYWRpbmdJY29uXG4gICAgICAgICAgICAgICAgICAgIGNzcz17Y3NzYFxuICAgICAgICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogMC4yNXJlbTtcbiAgICAgICAgICAgICAgICAgICAgYH1cbiAgICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICAgICAgKX1cbiAgICAgICAgICAgICAgICA8VGV4dFxuICAgICAgICAgICAgICAgICAgc3R5bGVkQXM9XCJhY3Rpb25Cb2xkXCJcbiAgICAgICAgICAgICAgICAgIGFzPVwic3BhblwiXG4gICAgICAgICAgICAgICAgICBjc3M9e2Nzc2BcbiAgICAgICAgICAgICAgICAgICAgZm9udC1zaXplOiAxNnB4O1xuICAgICAgICAgICAgICAgICAgYH1cbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICB7dGl0bGV9XG4gICAgICAgICAgICAgICAgPC9UZXh0PlxuICAgICAgICAgICAgICAgIHtUcmFpbGluZ0ljb24gPyAoXG4gICAgICAgICAgICAgICAgICA8VHJhaWxpbmdJY29uXG4gICAgICAgICAgICAgICAgICAgIGNzcz17Y3NzYFxuICAgICAgICAgICAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiAwLjI1cmVtO1xuICAgICAgICAgICAgICAgICAgICBgfVxuICAgICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgICApIDogKFxuICAgICAgICAgICAgICAgICAgY2hpbGRyZW4gJiYgKFxuICAgICAgICAgICAgICAgICAgICA8Q2hldnJvbkRvd25cbiAgICAgICAgICAgICAgICAgICAgICBjc3M9e2Nzc2BcbiAgICAgICAgICAgICAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiAwLjI1cmVtO1xuICAgICAgICAgICAgICAgICAgICAgIGB9XG4gICAgICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgKX1cbiAgICAgICAgICAgICAgPC8+XG4gICAgICAgICAgICApfVxuICAgICAgICAgIDwvTWVudUNhdGVnb3J5PlxuICAgICAgICAgIHtjaGlsZHJlbiAmJiAoXG4gICAgICAgICAgICA8QXBwQmFyUG9wcGVyXG4gICAgICAgICAgICAgIG9wZW49e29wZW59XG4gICAgICAgICAgICAgIGlkPXtpZH1cbiAgICAgICAgICAgICAgYW5jaG9yRWw9e2FuY2hvckVsfVxuICAgICAgICAgICAgICBwbGFjZW1lbnQ9e3BsYWNlbWVudH1cbiAgICAgICAgICAgICAgZGlzYWJsZVBvcnRhbFxuICAgICAgICAgICAgICB7Li4uQXBwQmFyUG9wcGVyUHJvcHN9XG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgIHtjaGlsZHJlbn1cbiAgICAgICAgICAgIDwvQXBwQmFyUG9wcGVyPlxuICAgICAgICAgICl9XG4gICAgICAgIDwvTWVudUl0ZW1CbG9jaz5cbiAgICAgIDwvQ2xpY2tBd2F5TGlzdGVuZXI+XG4gICAgPC9NZW51UG9wT3ZlckNvbnRleHQuUHJvdmlkZXI+XG4gIClcbn1cbiJdfQ== */"));
|
|
71
|
-
exports.AppBarPopper = AppBarPopper;
|
|
72
70
|
var _ref = process.env.NODE_ENV === "production" ? {
|
|
73
71
|
name: "1y2mh23",
|
|
74
72
|
styles: "margin-left:0.25rem"
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const AppBarListItem: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
multiline?: boolean | undefined;
|
|
4
|
+
selected?: boolean | undefined;
|
|
5
|
+
condensed?: boolean | undefined;
|
|
6
|
+
tabIndex?: number | undefined;
|
|
7
|
+
clickable?: boolean | undefined;
|
|
8
|
+
divider?: boolean | undefined;
|
|
9
|
+
onClick?: (() => void) | undefined;
|
|
10
|
+
flexBoxProps?: import("../flexbox").FlexBoxProps | undefined;
|
|
11
|
+
className?: string | undefined;
|
|
12
|
+
children?: import("react").ReactNode;
|
|
13
|
+
} & import("..").PolymorphicComponentProps & {
|
|
14
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
15
|
+
}, {}, {}>;
|
|
16
|
+
export default AppBarListItem;
|
|
@@ -17,5 +17,4 @@ const AppBarListItem = /*#__PURE__*/(0, _base.default)(_ListItem.default, proces
|
|
|
17
17
|
})("&:active{color:", _theme.theme.colors.secondary.main, ";}", p => p.selected && /*#__PURE__*/(0, _react.css)("background:", _theme.theme.colors.surface.primary, ";color:", _theme.theme.colors.secondary.main, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:AppBarListItem;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hcHAtYmFyL0FwcEJhckxpc3RJdGVtLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFZTyIsImZpbGUiOiIuLi8uLi8uLi9zcmMvYXBwLWJhci9BcHBCYXJMaXN0SXRlbS50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcbmltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IExpc3RJdGVtIGZyb20gJy4uL2xpc3RzL0xpc3RJdGVtJ1xuaW1wb3J0IHsgdGhlbWUgfSBmcm9tICdAZGZkcy11aS90aGVtZSdcblxuY29uc3QgQXBwQmFyTGlzdEl0ZW0gPSBzdHlsZWQoTGlzdEl0ZW0pYFxuICAmOmFjdGl2ZSB7XG4gICAgY29sb3I6ICR7dGhlbWUuY29sb3JzLnNlY29uZGFyeS5tYWlufTtcbiAgfVxuXG4gICR7KHApID0+XG4gICAgcC5zZWxlY3RlZCAmJlxuICAgIGNzc2BcbiAgICAgIGJhY2tncm91bmQ6ICR7dGhlbWUuY29sb3JzLnN1cmZhY2UucHJpbWFyeX07XG4gICAgICBjb2xvcjogJHt0aGVtZS5jb2xvcnMuc2Vjb25kYXJ5Lm1haW59O1xuICAgIGB9XG5cbiAgJHsocCkgPT5cbiAgICB0aGVtZS5zdGF0ZXMub3ZlcmxheShwLnNlbGVjdGVkLCB7XG4gICAgICBjb2xvcjogdGhlbWUuY29sb3JzLnNlY29uZGFyeS5tYWluLFxuICAgIH0pfVxuYFxuXG5leHBvcnQgZGVmYXVsdCBBcHBCYXJMaXN0SXRlbVxuIl19 */"), " ", p => _theme.theme.states.overlay(p.selected, {
|
|
18
18
|
color: _theme.theme.colors.secondary.main
|
|
19
19
|
}), ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hcHAtYmFyL0FwcEJhckxpc3RJdGVtLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFLdUMiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL2FwcC1iYXIvQXBwQmFyTGlzdEl0ZW0udHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCBMaXN0SXRlbSBmcm9tICcuLi9saXN0cy9MaXN0SXRlbSdcbmltcG9ydCB7IHRoZW1lIH0gZnJvbSAnQGRmZHMtdWkvdGhlbWUnXG5cbmNvbnN0IEFwcEJhckxpc3RJdGVtID0gc3R5bGVkKExpc3RJdGVtKWBcbiAgJjphY3RpdmUge1xuICAgIGNvbG9yOiAke3RoZW1lLmNvbG9ycy5zZWNvbmRhcnkubWFpbn07XG4gIH1cblxuICAkeyhwKSA9PlxuICAgIHAuc2VsZWN0ZWQgJiZcbiAgICBjc3NgXG4gICAgICBiYWNrZ3JvdW5kOiAke3RoZW1lLmNvbG9ycy5zdXJmYWNlLnByaW1hcnl9O1xuICAgICAgY29sb3I6ICR7dGhlbWUuY29sb3JzLnNlY29uZGFyeS5tYWlufTtcbiAgICBgfVxuXG4gICR7KHApID0+XG4gICAgdGhlbWUuc3RhdGVzLm92ZXJsYXkocC5zZWxlY3RlZCwge1xuICAgICAgY29sb3I6IHRoZW1lLmNvbG9ycy5zZWNvbmRhcnkubWFpbixcbiAgICB9KX1cbmBcblxuZXhwb3J0IGRlZmF1bHQgQXBwQmFyTGlzdEl0ZW1cbiJdfQ== */"));
|
|
20
|
-
var _default = AppBarListItem;
|
|
21
|
-
exports.default = _default;
|
|
20
|
+
var _default = exports.default = AppBarListItem;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { useAppBarContext, AppBarProvider } from './AppBarContext';
|
|
2
|
+
import { AppBarItem, MenuPopOverContext } from './AppBarItem';
|
|
3
|
+
export { default as AppBarDrawer } from './AppBarDrawer';
|
|
4
|
+
export { default as AppBar } from './AppBar';
|
|
5
|
+
export { default as AppBarIconButton } from './AppBarIconButton';
|
|
6
|
+
export { default as AppBarListItem } from './AppBarListItem';
|
|
7
|
+
export { useAppBarContext, AppBarProvider, AppBarItem, MenuPopOverContext };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import React, { ElementType, FunctionComponent, ReactNode } from 'react';
|
|
2
|
+
import { Intent } from '../../common/intent';
|
|
3
|
+
export declare type BannerVariant = 'lowEmphasis' | 'mediumEmphasis' | 'highEmphasis' | 'default' | 'inverted';
|
|
4
|
+
export declare type BannerStickyPosition = 'top' | 'bottom' | 'bottom-right';
|
|
5
|
+
export declare type BannerProps = {
|
|
6
|
+
/**
|
|
7
|
+
* Specifies the intent of the Banner (change the color of the banner icon to match intended status)
|
|
8
|
+
*/
|
|
9
|
+
intent?: Intent;
|
|
10
|
+
/**
|
|
11
|
+
* Actions to be displayed inside the banner
|
|
12
|
+
*/
|
|
13
|
+
actions?: ReactNode;
|
|
14
|
+
/**
|
|
15
|
+
* Class name to be added to the banner
|
|
16
|
+
*/
|
|
17
|
+
className?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Add a close icon in the top-right corner which will invoke the provided callback
|
|
20
|
+
*/
|
|
21
|
+
onRequestClose?: () => void;
|
|
22
|
+
/**
|
|
23
|
+
* Specifies the ariaLabel to be added to the close(x) button
|
|
24
|
+
*/
|
|
25
|
+
closeLabel?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Specifies the variation of the banner.
|
|
28
|
+
*
|
|
29
|
+
* `default` and `inverted` variants are deprecated
|
|
30
|
+
*/
|
|
31
|
+
variant?: BannerVariant;
|
|
32
|
+
/**
|
|
33
|
+
* Specifies if the Banner should be displayed with `position: fixed;`
|
|
34
|
+
*
|
|
35
|
+
* When the value is `undefined` the Banner default to being sticky if `variant` is set to `inverted`
|
|
36
|
+
*/
|
|
37
|
+
sticky?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Specifies the position of the Sticky Banner.
|
|
40
|
+
*/
|
|
41
|
+
stickyPosition?: BannerStickyPosition;
|
|
42
|
+
/**
|
|
43
|
+
* Specifies if the Banner should have a border/divider at the bottom.
|
|
44
|
+
*/
|
|
45
|
+
divider?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Specify a custom icon to replace the one derived from `intent`
|
|
48
|
+
*
|
|
49
|
+
* @type {ElementType<{ className?: string }>}
|
|
50
|
+
*/
|
|
51
|
+
icon?: ElementType<{
|
|
52
|
+
className?: string;
|
|
53
|
+
}>;
|
|
54
|
+
/**
|
|
55
|
+
* Specifies if the actions should always appear below the content
|
|
56
|
+
*/
|
|
57
|
+
wrapActions?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Content of the Banner
|
|
60
|
+
*/
|
|
61
|
+
children?: ReactNode;
|
|
62
|
+
/**
|
|
63
|
+
* Specifies if the banner should be narrow
|
|
64
|
+
*/
|
|
65
|
+
isNarrow?: boolean;
|
|
66
|
+
};
|
|
67
|
+
interface BannerContextInterface {
|
|
68
|
+
intent: NonNullable<BannerProps['intent']>;
|
|
69
|
+
variant: NonNullable<BannerProps['variant']>;
|
|
70
|
+
}
|
|
71
|
+
export declare const BannerContext: React.Context<BannerContextInterface | undefined>;
|
|
72
|
+
export declare const useBannerContext: () => BannerContextInterface;
|
|
73
|
+
export declare const Banner: FunctionComponent<BannerProps>;
|
|
74
|
+
export default Banner;
|
|
@@ -23,7 +23,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
23
23
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
24
24
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
25
25
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
26
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
26
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
27
27
|
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
|
28
28
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
29
29
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
@@ -128,8 +128,7 @@ const BannerCloseButton = _ref3 => {
|
|
|
128
128
|
"data-testid": "banner-close"
|
|
129
129
|
}, props)));
|
|
130
130
|
};
|
|
131
|
-
const BannerContext = /*#__PURE__*/(0, _react.createContext)(undefined);
|
|
132
|
-
exports.BannerContext = BannerContext;
|
|
131
|
+
const BannerContext = exports.BannerContext = /*#__PURE__*/(0, _react.createContext)(undefined);
|
|
133
132
|
const useBannerContext = () => {
|
|
134
133
|
const ctx = (0, _react.useContext)(BannerContext);
|
|
135
134
|
if (ctx === undefined) {
|
|
@@ -247,5 +246,4 @@ const Banner = _ref4 => {
|
|
|
247
246
|
})));
|
|
248
247
|
};
|
|
249
248
|
exports.Banner = Banner;
|
|
250
|
-
var _default = Banner;
|
|
251
|
-
exports.default = _default;
|
|
249
|
+
var _default = exports.default = Banner;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
export declare type BannerActionVariation = 'primary' | 'secondary' | 'primary-thick' | 'secondary-thick';
|
|
3
|
+
export interface BannerActionProps {
|
|
4
|
+
variation?: BannerActionVariation;
|
|
5
|
+
onClick?: () => void;
|
|
6
|
+
/**
|
|
7
|
+
* className to be assigned to the button
|
|
8
|
+
*/
|
|
9
|
+
className?: string;
|
|
10
|
+
/**
|
|
11
|
+
* HTML tag or custom component being rendered
|
|
12
|
+
*/
|
|
13
|
+
as?: React.ElementType;
|
|
14
|
+
/**
|
|
15
|
+
* Updates component with children prop accordingly to the @types update
|
|
16
|
+
*/
|
|
17
|
+
children?: ReactNode;
|
|
18
|
+
}
|
|
19
|
+
export declare const BannerAction: React.FunctionComponent<BannerActionProps>;
|
|
@@ -14,7 +14,7 @@ const _excluded = ["variation"];
|
|
|
14
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
15
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
16
16
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
17
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
17
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
18
18
|
const getVariationStyle = bannerVariant => {
|
|
19
19
|
switch (bannerVariant) {
|
|
20
20
|
case 'lowEmphasis':
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Intent } from '../../common/intent';
|
|
3
|
+
export declare type ToastProps = {
|
|
4
|
+
intent?: Intent;
|
|
5
|
+
className?: string;
|
|
6
|
+
onRequestClose?: () => void;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
onRequestAction?: () => void;
|
|
9
|
+
};
|
|
10
|
+
declare const Toast: React.FunctionComponent<ToastProps>;
|
|
11
|
+
export default Toast;
|
|
@@ -17,7 +17,7 @@ const _excluded = ["intent", "onRequestClose", "onRequestAction", "children", "l
|
|
|
17
17
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
18
18
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
19
19
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
20
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
20
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
21
21
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
22
22
|
const ToastWrapper = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
|
|
23
23
|
target: "e145csjx4"
|
|
@@ -83,5 +83,4 @@ const Toast = _ref2 => {
|
|
|
83
83
|
"data-testid": "toast-close"
|
|
84
84
|
})));
|
|
85
85
|
};
|
|
86
|
-
var _default = Toast;
|
|
87
|
-
exports.default = _default;
|
|
86
|
+
var _default = exports.default = Toast;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React, { PropsWithChildren, FunctionComponent } from 'react';
|
|
2
|
+
import { ToastProps } from './Toast';
|
|
3
|
+
declare type TimeoutType = {
|
|
4
|
+
timeout?: number;
|
|
5
|
+
};
|
|
6
|
+
declare type ToasterState = {
|
|
7
|
+
open: boolean;
|
|
8
|
+
hasActive: boolean;
|
|
9
|
+
toastProps: ToastProps | null;
|
|
10
|
+
} & TimeoutType;
|
|
11
|
+
export declare const useToaster: () => {
|
|
12
|
+
addToast: (props: PropsWithChildren<ToastProps & TimeoutType>) => Promise<void>;
|
|
13
|
+
state: ToasterState;
|
|
14
|
+
};
|
|
15
|
+
declare const Toaster: FunctionComponent<{
|
|
16
|
+
children: React.ReactNode | React.ReactNode[];
|
|
17
|
+
globalTimeout?: number;
|
|
18
|
+
}>;
|
|
19
|
+
export default Toaster;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Intent } from '../common/intent';
|
|
3
|
+
import { FlexBoxProps } from '../flexbox/FlexBox';
|
|
4
|
+
export declare type BadgeProps = {
|
|
5
|
+
/**
|
|
6
|
+
* Specifies the intent of the Badge
|
|
7
|
+
*/
|
|
8
|
+
intent?: Intent;
|
|
9
|
+
/**
|
|
10
|
+
* Text to be shown in the badge (usually just a string)
|
|
11
|
+
*/
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
/**
|
|
14
|
+
* Class name to be added to the badge
|
|
15
|
+
*/
|
|
16
|
+
className?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Props controlling the flexbox
|
|
19
|
+
*/
|
|
20
|
+
flexBoxProps?: FlexBoxProps;
|
|
21
|
+
/**
|
|
22
|
+
* HTML tag or custom component being rendered
|
|
23
|
+
*/
|
|
24
|
+
as?: React.ElementType;
|
|
25
|
+
};
|
|
26
|
+
export default function Badge({ as, children, intent, flexBoxProps, ...rest }: BadgeProps): JSX.Element;
|
package/cjs/badge/Badge.js
CHANGED
|
@@ -14,7 +14,7 @@ const _excluded = ["as", "children", "intent", "flexBoxProps"];
|
|
|
14
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
15
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
16
16
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
17
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
17
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
18
18
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
19
19
|
var _ref = process.env.NODE_ENV === "production" ? {
|
|
20
20
|
name: "1h52dri",
|