@orangesk/orange-design-system 2.0.0-alpha.2 → 2.0.0-alpha.3
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/build/components/Accordion/index.js +2 -2
- package/build/components/Accordion/index.js.map +1 -1
- package/build/components/Alert/index.js +1 -1
- package/build/components/Alert/index.js.map +1 -1
- package/build/components/Alert/style.css +1 -1
- package/build/components/Alert/style.css.map +1 -1
- package/build/components/AnchorNavigation/index.js +16 -0
- package/build/components/AnchorNavigation/index.js.map +1 -0
- package/build/components/AnchorNavigation/style.css +2 -0
- package/build/components/AnchorNavigation/style.css.map +1 -0
- package/build/components/Bar/index.js +1 -1
- package/build/components/Bar/index.js.map +1 -1
- package/build/components/BlockAction/index.js +1 -1
- package/build/components/BlockAction/index.js.map +1 -1
- package/build/components/BodyBanner/index.js +1 -1
- package/build/components/BodyBanner/index.js.map +1 -1
- package/build/components/Breadcrumbs/index.js +2 -2
- package/build/components/Breadcrumbs/index.js.map +1 -1
- package/build/components/Breadcrumbs/style.css +1 -1
- package/build/components/Breadcrumbs/style.css.map +1 -1
- package/build/components/Button/index.js +1 -1
- package/build/components/Button/index.js.map +1 -1
- package/build/components/Button/style.css +1 -1
- package/build/components/Button/style.css.map +1 -1
- package/build/components/Buttons/index.js +1 -1
- package/build/components/Buttons/index.js.map +1 -1
- package/build/components/Card/index.js +1 -1
- package/build/components/Card/index.js.map +1 -1
- package/build/components/Card/style.css +1 -1
- package/build/components/Card/style.css.map +1 -1
- package/build/components/Carousel/index.js +3 -18
- package/build/components/Carousel/index.js.map +1 -1
- package/build/components/Carousel/style.css +1 -1
- package/build/components/Carousel/style.css.map +1 -1
- package/build/components/CarouselPromotions/index.js +3 -3
- package/build/components/CarouselPromotions/index.js.map +1 -1
- package/build/components/CartTable/index.js +2 -2
- package/build/components/CartTable/index.js.map +1 -1
- package/build/components/CartTable/style.css +1 -1
- package/build/components/CartTable/style.css.map +1 -1
- package/build/components/Code/index.js +11 -0
- package/build/components/Code/index.js.map +1 -0
- package/build/components/Code/style.css +2 -0
- package/build/components/Code/style.css.map +1 -0
- package/build/components/Container/index.js +1 -1
- package/build/components/Container/index.js.map +1 -1
- package/build/components/Controls/index.js +1 -1
- package/build/components/Controls/index.js.map +1 -1
- package/build/components/Controls/style.css +1 -1
- package/build/components/Controls/style.css.map +1 -1
- package/build/components/Cover/index.js +1 -1
- package/build/components/Cover/index.js.map +1 -1
- package/build/components/Divider/index.js +1 -1
- package/build/components/Divider/index.js.map +1 -1
- package/build/components/DocumentationSidebar/index.js +16 -0
- package/build/components/DocumentationSidebar/index.js.map +1 -0
- package/build/components/DocumentationSidebar/style.css +2 -0
- package/build/components/DocumentationSidebar/style.css.map +1 -0
- package/build/components/Dropdown/index.js +1 -1
- package/build/components/Dropdown/index.js.map +1 -1
- package/build/components/Dropdown/style.css +1 -1
- package/build/components/Dropdown/style.css.map +1 -1
- package/build/components/Expander/index.js +1 -1
- package/build/components/Expander/index.js.map +1 -1
- package/build/components/FeatureAccordion/index.js +2 -2
- package/build/components/FeatureAccordion/index.js.map +1 -1
- package/build/components/Footer/index.js +1 -1
- package/build/components/Footer/index.js.map +1 -1
- package/build/components/Footer/style.css +1 -1
- package/build/components/Footer/style.css.map +1 -1
- package/build/components/Forms/index.js +4 -4
- package/build/components/Forms/index.js.map +1 -1
- package/build/components/Forms/style.css +1 -1
- package/build/components/Forms/style.css.map +1 -1
- package/build/components/Gauge/index.js +1 -1
- package/build/components/Gauge/index.js.map +1 -1
- package/build/components/Grid/index.js +1 -1
- package/build/components/Grid/index.js.map +1 -1
- package/build/components/Hero/index.js +16 -0
- package/build/components/Hero/index.js.map +1 -0
- package/build/components/Hero/style.css +2 -0
- package/build/components/Hero/style.css.map +1 -0
- package/build/components/Icon/index.js +1 -1
- package/build/components/Icon/index.js.map +1 -1
- package/build/components/IconList/index.js +16 -0
- package/build/components/IconList/index.js.map +1 -0
- package/build/components/IconList/style.css +2 -0
- package/build/components/IconList/style.css.map +1 -0
- package/build/components/Image/index.js +1 -1
- package/build/components/Image/index.js.map +1 -1
- package/build/components/Link/style.css +1 -1
- package/build/components/Link/style.css.map +1 -1
- package/build/components/List/index.js +1 -1
- package/build/components/List/index.js.map +1 -1
- package/build/components/Loader/index.js +1 -1
- package/build/components/Loader/index.js.map +1 -1
- package/build/components/Modal/index.js +1 -1
- package/build/components/Modal/index.js.map +1 -1
- package/build/components/Modal/style.css +1 -1
- package/build/components/Modal/style.css.map +1 -1
- package/build/components/Pagination/index.js +1 -1
- package/build/components/Pagination/index.js.map +1 -1
- package/build/components/Pagination/style.css +1 -1
- package/build/components/Pagination/style.css.map +1 -1
- package/build/components/Preview/index.js +83 -0
- package/build/components/Preview/index.js.map +1 -0
- package/build/components/Preview/style.css +2 -0
- package/build/components/Preview/style.css.map +1 -0
- package/build/components/Progress/index.js +1 -1
- package/build/components/Progress/index.js.map +1 -1
- package/build/components/PromoBanner/index.js +16 -0
- package/build/components/PromoBanner/index.js.map +1 -0
- package/build/components/PromoBanner/style.css +2 -0
- package/build/components/PromoBanner/style.css.map +1 -0
- package/build/components/PromotionCard/index.js +16 -0
- package/build/components/PromotionCard/index.js.map +1 -0
- package/build/components/PromotionCard/style.css +2 -0
- package/build/components/PromotionCard/style.css.map +1 -0
- package/build/components/Section/index.js +1 -1
- package/build/components/Section/index.js.map +1 -1
- package/build/components/Skeleton/index.js +1 -1
- package/build/components/Skeleton/index.js.map +1 -1
- package/build/components/SkipLink/index.js +16 -0
- package/build/components/SkipLink/index.js.map +1 -0
- package/build/components/SkipLink/style.css +2 -0
- package/build/components/SkipLink/style.css.map +1 -0
- package/build/components/Stepbar/index.js +16 -0
- package/build/components/Stepbar/index.js.map +1 -0
- package/build/components/Stepbar/style.css +2 -0
- package/build/components/Stepbar/style.css.map +1 -0
- package/build/components/Sticker/index.js +1 -1
- package/build/components/Sticker/index.js.map +1 -1
- package/build/components/Table/index.js +2 -2
- package/build/components/Table/index.js.map +1 -1
- package/build/components/Table/style.css +1 -1
- package/build/components/Table/style.css.map +1 -1
- package/build/components/Tabs/index.js +1 -1
- package/build/components/Tabs/index.js.map +1 -1
- package/build/components/Tag/index.js +1 -1
- package/build/components/Tag/index.js.map +1 -1
- package/build/components/Testimonial/index.js +1 -1
- package/build/components/Testimonial/index.js.map +1 -1
- package/build/components/Tile/index.js +1 -1
- package/build/components/Tile/index.js.map +1 -1
- package/build/components/Tooltip/index.js +2 -2
- package/build/components/Tooltip/index.js.map +1 -1
- package/build/components/Tooltip/style.css +1 -1
- package/build/components/Tooltip/style.css.map +1 -1
- package/build/components/index.css +1 -1
- package/build/components/index.css.map +1 -1
- package/build/components/index.js +5 -20
- package/build/components/index.js.map +1 -1
- package/build/components/static.js +3 -3
- package/build/components/static.js.map +1 -1
- package/build/components/types/mdx-components.d.ts +2 -0
- package/build/components/types/next.config.d.ts +3 -0
- package/build/components/types/src/app/ODSLib.d.ts +1 -0
- package/build/components/types/src/app/components/accordion/AccordionClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/alert/AlertClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/anchor-navigation/AnchorNavigationClientWrapper.d.ts +2 -0
- package/build/components/types/src/app/components/body-banner/BodyBannerClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/code/CodeClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/cover/CoverClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/expander/ExpanderClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/feature-accordion/FeatureAccordionClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/forms/autocomplete/AutocompleteClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/forms/datepicker/DatePickerClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/forms/radio/RadioClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/gauge/GaugeClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/hero/HeroClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/icon-list/IconListClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/list/ListClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/pagination/PaginationClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/progress/ProgressClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/promo-banner/PromoBannerClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/promotion-card/PromotionCardWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/sticker/StickerClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/tag/TagClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/components/testimonial/TestimonialClientWrapper.d.ts +1 -0
- package/build/components/types/src/app/layout.d.ts +4 -0
- package/build/components/types/src/app/menuItems.d.ts +24 -0
- package/build/components/types/src/components/Accordion/tests/data.d.ts +5 -0
- package/build/components/types/src/components/AnchorNavigation/AnchorNavigation.d.ts +17 -0
- package/build/components/types/src/components/AnchorNavigation/AnchorNavigation.static.d.ts +24 -0
- package/build/components/types/src/components/AnchorNavigation/index.d.ts +2 -0
- package/build/components/types/src/components/BlockAction/BlockAction.static.d.ts +19 -0
- package/build/components/types/{components → src/components}/Breadcrumbs/Breadcrumbs.d.ts +1 -2
- package/build/components/types/{components → src/components}/Card/CardProductHeader.d.ts +1 -1
- package/build/components/types/src/components/Card/tests/data.d.ts +5 -0
- package/build/components/types/{components → src/components}/Carousel/Carousel.d.ts +2 -2
- package/build/components/types/src/components/Carousel/Carousel.static.d.ts +33 -0
- package/build/components/types/{components → src/components}/Carousel/constants.d.ts +9 -3
- package/build/components/types/{components → src/components}/CarouselPromotions/CarouselPromotions.d.ts +2 -2
- package/build/components/types/src/components/CarouselPromotions/CarouselPromotions.static.d.ts +31 -0
- package/build/components/types/{components → src/components}/CarouselPromotions/constants.d.ts +2 -0
- package/build/components/types/src/components/CartTable/data.d.ts +33 -0
- package/build/components/types/src/components/Code/Code.d.ts +16 -0
- package/build/components/types/src/components/Code/index.d.ts +6 -0
- package/build/components/types/src/components/Code/oneDarkProTheme.d.ts +13 -0
- package/build/components/types/{components → src/components}/Controls/Controls.d.ts +1 -1
- package/build/components/types/src/components/DocumentationSidebar/DocumentationSidebar.d.ts +16 -0
- package/build/components/types/src/components/DocumentationSidebar/index.d.ts +3 -0
- package/build/components/types/src/components/Expander/index.d.ts +2 -0
- package/build/components/types/src/components/Forms/DatePicker/DatePicker.d.ts +84 -0
- package/build/components/types/src/components/Forms/DatePicker/DatePicker.static.d.ts +69 -0
- package/build/components/types/src/components/Forms/DatePicker/index.d.ts +2 -0
- package/build/components/types/{components → src/components}/Forms/Field/Control.d.ts +1 -1
- package/build/components/types/{components → src/components}/Forms/Field/Description.d.ts +1 -1
- package/build/components/types/{components → src/components}/Forms/Field/FieldContext.d.ts +1 -1
- package/build/components/types/{components → src/components}/Forms/Field/Label.d.ts +1 -1
- package/build/components/types/{components → src/components}/Forms/Field/Messages.d.ts +1 -1
- package/build/components/types/{components → src/components}/Forms/Field/Tooltip.d.ts +1 -1
- package/build/components/types/{components → src/components}/Forms/Fieldset/FieldsetContext.d.ts +1 -1
- package/build/components/types/src/components/Forms/Fieldset/docsData.d.ts +59 -0
- package/build/components/types/{components → src/components}/Forms/index.d.ts +1 -0
- package/build/components/types/src/components/Gauge/GaugeMaker.d.ts +3 -0
- package/build/components/types/src/components/Hero/Hero.d.ts +52 -0
- package/build/components/types/src/components/Hero/HeroPlayground.d.ts +2 -0
- package/build/components/types/src/components/Hero/index.d.ts +2 -0
- package/build/components/types/src/components/Icon/iconSearchTags.d.ts +419 -0
- package/build/components/types/src/components/IconList/IconList.d.ts +13 -0
- package/build/components/types/src/components/IconList/Item.d.ts +9 -0
- package/build/components/types/src/components/IconList/index.d.ts +3 -0
- package/build/components/types/src/components/Preview/CodeExample.d.ts +9 -0
- package/build/components/types/src/components/Preview/Interact/ButtonShowPropsGroup.d.ts +10 -0
- package/build/components/types/src/components/Preview/Interact/Interact.d.ts +17 -0
- package/build/components/types/src/components/Preview/Interact/PropCheckbox.d.ts +15 -0
- package/build/components/types/src/components/Preview/Interact/PropFormField.d.ts +7 -0
- package/build/components/types/src/components/Preview/Interact/PropInput.d.ts +17 -0
- package/build/components/types/src/components/Preview/Interact/PropLabelWithTooltip.d.ts +17 -0
- package/build/components/types/src/components/Preview/Interact/PropSelect.d.ts +15 -0
- package/build/components/types/src/components/Preview/Interact/PropsGroup.d.ts +10 -0
- package/build/components/types/src/components/Preview/Interact/Tooltip.d.ts +8 -0
- package/build/components/types/src/components/Preview/Interact/helpers.d.ts +19 -0
- package/build/components/types/src/components/Preview/Interact/state.d.ts +14 -0
- package/build/components/types/src/components/Preview/Preview.d.ts +26 -0
- package/build/components/types/src/components/Preview/PreviewTitleBar.d.ts +9 -0
- package/build/components/types/src/components/Preview/index.d.ts +7 -0
- package/build/components/types/src/components/PromoBanner/PromoBanner.d.ts +12 -0
- package/build/components/types/src/components/PromoBanner/index.d.ts +2 -0
- package/build/components/types/src/components/PromotionCard/PromotionCard.d.ts +9 -0
- package/build/components/types/src/components/PromotionCard/PromotionCardContent.d.ts +8 -0
- package/build/components/types/src/components/PromotionCard/PromotionCardImageWrapper.d.ts +8 -0
- package/build/components/types/src/components/PromotionCard/PromotionCardSection.d.ts +9 -0
- package/build/components/types/src/components/PromotionCard/PromotionCardTitle.d.ts +8 -0
- package/build/components/types/src/components/PromotionCard/constants.d.ts +5 -0
- package/build/components/types/src/components/PromotionCard/index.d.ts +6 -0
- package/build/components/types/src/components/SkipLink/SkipLink.d.ts +6 -0
- package/build/components/types/src/components/SkipLink/index.d.ts +2 -0
- package/build/components/types/src/components/Stepbar/Stepbar.d.ts +21 -0
- package/build/components/types/src/components/Stepbar/index.d.ts +2 -0
- package/build/components/types/src/components/Table/docsData.d.ts +39 -0
- package/build/components/types/src/components/Tooltip/tests/BaseWrapper.d.ts +3 -0
- package/build/components/types/{components → src/components}/index.d.ts +7 -1
- package/build/components/types/src/components/static.d.ts +1 -0
- package/build/components/types/src/lib/scripts.d.ts +1 -0
- package/build/components/types/src/scripts/index.d.ts +102 -0
- package/build/components/types/src/scripts/lib/moduleFactory.d.ts +3 -0
- package/build/components/types/src/scripts/modules/SameHeight.d.ts +15 -0
- package/build/lib/before-components.css +1 -1
- package/build/lib/before-components.css.map +1 -1
- package/build/lib/components.css +1 -1
- package/build/lib/components.css.map +1 -1
- package/build/lib/scripts.js +3 -3
- package/build/lib/scripts.js.map +1 -1
- package/build/lib/style.css +1 -1
- package/build/lib/style.css.map +1 -1
- package/package.json +36 -29
- package/src/components/Accordion/tests/{data.js → data.ts} +9 -7
- package/src/components/Alert/styles/config.scss +4 -3
- package/src/components/AnchorNavigation/AnchorNavigation.static.ts +115 -0
- package/src/components/AnchorNavigation/AnchorNavigation.tsx +81 -0
- package/src/components/AnchorNavigation/index.tsx +3 -0
- package/src/components/AnchorNavigation/styles/mixins.scss +126 -0
- package/src/components/AnchorNavigation/styles/style.scss +22 -0
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +4 -4
- package/src/components/Breadcrumbs/styles/mixins.scss +16 -28
- package/src/components/Breadcrumbs/styles/style.scss +2 -13
- package/src/components/Breadcrumbs/tests/Breadcrumbs.integration.test.js +16 -14
- package/src/components/Breadcrumbs/tests/Breadcrumbs.unit.test.js +27 -19
- package/src/components/Button/styles/config.scss +0 -8
- package/src/components/Card/CardProductHeader.tsx +6 -4
- package/src/components/Card/styles/style.scss +13 -11
- package/src/components/Card/tests/CardProductHeader.unit.test.js +10 -0
- package/src/components/Carousel/CHANGELOG.md +11 -0
- package/src/components/Carousel/Carousel.mdx +29 -33
- package/src/components/Carousel/Carousel.static.ts +127 -93
- package/src/components/Carousel/Carousel.tsx +12 -7
- package/src/components/Carousel/constants.ts +10 -4
- package/src/components/Carousel/styles/config.scss +0 -13
- package/src/components/Carousel/styles/mixins.scss +21 -56
- package/src/components/Carousel/styles/style.scss +13 -12
- package/src/components/Carousel/tests/Carousel.unit.test.js +95 -38
- package/src/components/Carousel/tests/CarouselItem.unit.test.js +4 -0
- package/src/components/CarouselPromotions/CarouselPromotions.static.ts +131 -98
- package/src/components/CarouselPromotions/CarouselPromotions.tsx +10 -7
- package/src/components/CarouselPromotions/constants.ts +3 -1
- package/src/components/CarouselPromotions/tests/CarouselPromotions.unit.test.js +155 -5
- package/src/components/Code/Code.tsx +85 -0
- package/src/components/Code/index.tsx +16 -0
- package/src/components/Code/oneDarkProTheme.ts +70 -0
- package/src/components/Code/styles/style.scss +58 -0
- package/src/components/Container/tests/Container.conformance.test.js +0 -1
- package/src/components/Container/tests/Container.unit.test.js +0 -9
- package/src/components/Controls/styles/config.scss +0 -9
- package/src/components/DocumentationSidebar/DocumentationSidebar.tsx +171 -0
- package/src/components/DocumentationSidebar/index.ts +4 -0
- package/src/components/DocumentationSidebar/styles/style.scss +230 -0
- package/src/components/Dropdown/styles/config.scss +0 -2
- package/src/components/Forms/Autocomplete/styles/mixins.scss +1 -0
- package/src/components/Forms/DatePicker/DatePicker.mdx +149 -0
- package/src/components/Forms/DatePicker/DatePicker.static.ts +211 -0
- package/src/components/Forms/DatePicker/DatePicker.tsx +129 -0
- package/src/components/Forms/DatePicker/index.ts +3 -0
- package/src/components/Forms/DatePicker/styles/style.scss +183 -0
- package/src/components/Forms/DatePicker/tests/DatePicker.unit.test.js +262 -0
- package/src/components/Forms/Field/Control.tsx +7 -7
- package/src/components/Forms/Field/Description.tsx +5 -5
- package/src/components/Forms/Field/Field.tsx +10 -8
- package/src/components/Forms/Field/FieldContext.tsx +1 -1
- package/src/components/Forms/Field/Label.tsx +2 -2
- package/src/components/Forms/Field/Messages.tsx +3 -3
- package/src/components/Forms/Field/Tooltip.tsx +3 -1
- package/src/components/Forms/Field/tests/Label.unit.test.js +15 -15
- package/src/components/Forms/Field/tests/Messages.unit.test.js +3 -3
- package/src/components/Forms/Field/tests/Tooltip.unit.test.js +3 -3
- package/src/components/Forms/Fieldset/Fieldset.tsx +2 -2
- package/src/components/Forms/Fieldset/FieldsetContext.ts +1 -1
- package/src/components/Forms/Group/styles/mixins.scss +0 -4
- package/src/components/Forms/Message/Message.tsx +1 -7
- package/src/components/Forms/Message/styles/config.scss +0 -6
- package/src/components/Forms/Message/styles/mixins.scss +0 -8
- package/src/components/Forms/Message/styles/style.scss +0 -1
- package/src/components/Forms/Message/tests/Message.unit.test.js +0 -12
- package/src/components/Forms/index.ts +1 -1
- package/src/components/Grid/tests/Grid.unit.test.js +572 -0
- package/src/components/Grid/tests/GridCol.unit.test.js +223 -0
- package/src/components/Hero/Hero.mdx +168 -0
- package/src/components/Hero/Hero.tsx +182 -0
- package/src/components/Hero/HeroPlayground.tsx +369 -0
- package/src/components/Hero/index.ts +3 -0
- package/src/components/Hero/styles/config.scss +23 -0
- package/src/components/Hero/styles/mixins.scss +173 -0
- package/src/components/Hero/styles/style.scss +59 -0
- package/src/components/Hero/tests/Hero.conformance.test.js +29 -0
- package/src/components/Hero/tests/Hero.unit.test.js +272 -0
- package/src/components/Hero/tests/data.js +40 -0
- package/src/components/Icon/IconSearch.jsx +2 -0
- package/src/components/IconList/IconList.mdx +53 -0
- package/src/components/IconList/IconList.tsx +30 -0
- package/src/components/IconList/Item.tsx +39 -0
- package/src/components/IconList/index.ts +4 -0
- package/src/components/IconList/styles/config.scss +3 -0
- package/src/components/IconList/styles/mixins.scss +33 -0
- package/src/components/IconList/styles/style.scss +21 -0
- package/src/components/IconList/tests/IconList.conformance.test.js +55 -0
- package/src/components/IconList/tests/IconList.unit.test.js +79 -0
- package/src/components/IconList/tests/Item.unit.test.js +143 -0
- package/src/components/Link/styles/style.scss +14 -14
- package/src/components/Pagination/styles/mixins.scss +2 -2
- package/src/components/Preview/CodeExample.tsx +238 -0
- package/src/components/Preview/Interact/ButtonShowPropsGroup.tsx +38 -0
- package/src/components/Preview/Interact/Interact.tsx +263 -0
- package/src/components/Preview/Interact/PropCheckbox.tsx +50 -0
- package/src/components/Preview/Interact/PropFormField.tsx +76 -0
- package/src/components/Preview/Interact/PropInput.tsx +72 -0
- package/src/components/Preview/Interact/PropLabelWithTooltip.tsx +77 -0
- package/src/components/Preview/Interact/PropSelect.tsx +60 -0
- package/src/components/Preview/Interact/PropsGroup.tsx +49 -0
- package/src/components/Preview/Interact/Tooltip.tsx +17 -0
- package/src/components/Preview/Interact/helpers.ts +60 -0
- package/src/components/Preview/Interact/state.ts +18 -0
- package/src/components/Preview/Preview.docs.mdx +153 -0
- package/src/components/Preview/Preview.test.js +66 -0
- package/src/components/Preview/Preview.tsx +273 -0
- package/src/components/Preview/PreviewTitleBar.tsx +32 -0
- package/src/components/Preview/index.tsx +16 -0
- package/src/components/Preview/styles/style.scss +340 -0
- package/src/components/PromoBanner/PromoBanner.tsx +65 -0
- package/src/components/PromoBanner/index.ts +2 -0
- package/src/components/PromoBanner/styles/mixins.scss +37 -0
- package/src/components/PromoBanner/styles/style.scss +23 -0
- package/src/components/PromotionCard/PromotionCard.mdx +191 -0
- package/src/components/PromotionCard/PromotionCard.tsx +31 -0
- package/src/components/PromotionCard/PromotionCardContent.tsx +25 -0
- package/src/components/PromotionCard/PromotionCardImageWrapper.tsx +25 -0
- package/src/components/PromotionCard/PromotionCardSection.tsx +29 -0
- package/src/components/PromotionCard/PromotionCardTitle.tsx +24 -0
- package/src/components/PromotionCard/constants.ts +5 -0
- package/src/components/PromotionCard/index.ts +7 -0
- package/src/components/PromotionCard/styles/config.scss +4 -0
- package/src/components/PromotionCard/styles/mixins.scss +89 -0
- package/src/components/PromotionCard/styles/style.scss +25 -0
- package/src/components/SkipLink/SkipLink.mdx +23 -0
- package/src/components/SkipLink/SkipLink.tsx +25 -0
- package/src/components/SkipLink/index.ts +3 -0
- package/src/components/SkipLink/styles/style.scss +20 -0
- package/src/components/SkipLink/tests/SkipLink.unit.test.js +88 -0
- package/src/components/Stepbar/Stepbar.mdx +137 -0
- package/src/components/Stepbar/Stepbar.tsx +100 -0
- package/src/components/Stepbar/index.ts +3 -0
- package/src/components/Stepbar/styles/config.scss +91 -0
- package/src/components/Stepbar/styles/mixins.scss +132 -0
- package/src/components/Stepbar/styles/style.scss +77 -0
- package/src/components/Stepbar/tests/Stepbar.conformance.test.js +34 -0
- package/src/components/Stepbar/tests/Stepbar.unit.test.js +92 -0
- package/src/components/Tooltip/styles/config.scss +1 -0
- package/src/components/Tooltip/tests/Tooltip.unit.test.js +2 -2
- package/src/components/index.ts +24 -1
- package/src/styles/before-components.scss +10 -0
- package/build/404.html +0 -1
- package/build/_next/static/BGy4QLZfZPwswIZT7YGE2/_buildManifest.js +0 -1
- package/build/_next/static/BGy4QLZfZPwswIZT7YGE2/_ssgManifest.js +0 -1
- package/build/_next/static/chunks/1206-59e86c9be0c6edc8.js +0 -1
- package/build/_next/static/chunks/1684-f3cca2440b2d04c9.js +0 -1
- package/build/_next/static/chunks/1790-42537fde486481dc.js +0 -1
- package/build/_next/static/chunks/1856-87fba6dedcfa51f4.js +0 -1
- package/build/_next/static/chunks/2355.4c3c65d46ce6edf1.js +0 -1
- package/build/_next/static/chunks/2366-ccdf9c167d62c230.js +0 -1
- package/build/_next/static/chunks/2511.d334cb67ac6af21d.js +0 -1
- package/build/_next/static/chunks/2735.7a75728bb235d0d4.js +0 -1
- package/build/_next/static/chunks/3557.53c406667aa62240.js +0 -1
- package/build/_next/static/chunks/4bd1b696-63246a30a5dafad8.js +0 -1
- package/build/_next/static/chunks/5426-60b8df37a33e8cf3.js +0 -1
- package/build/_next/static/chunks/579-22f1eb9ccb4fc983.js +0 -1
- package/build/_next/static/chunks/6729-c9c23d280815e7ae.js +0 -1
- package/build/_next/static/chunks/7916.f1f5aa6f1d094885.js +0 -1
- package/build/_next/static/chunks/7998-4f9ee8dd2d772e13.js +0 -1
- package/build/_next/static/chunks/9186-7ca86a881bc0fae7.js +0 -4
- package/build/_next/static/chunks/app/_not-found/page-a9506bc9a3364319.js +0 -1
- package/build/_next/static/chunks/app/components/accordion/page-aa200fabd855563b.js +0 -1
- package/build/_next/static/chunks/app/components/alert/page-7c67ea9c86227082.js +0 -1
- package/build/_next/static/chunks/app/components/bar/page-c30f8fd11c4651d6.js +0 -1
- package/build/_next/static/chunks/app/components/block-action/page-7274174a43629f9f.js +0 -1
- package/build/_next/static/chunks/app/components/body-banner/page-15ff1f59b2aa843d.js +0 -1
- package/build/_next/static/chunks/app/components/button/page-0e30b9dfcecf1399.js +0 -1
- package/build/_next/static/chunks/app/components/buttons/page-fffd250aa886c49b.js +0 -1
- package/build/_next/static/chunks/app/components/card/page-cd4cf793507e5671.js +0 -1
- package/build/_next/static/chunks/app/components/carousel/page-b365266404937787.js +0 -1
- package/build/_next/static/chunks/app/components/carousel-promotions/page-a44240a70a405853.js +0 -1
- package/build/_next/static/chunks/app/components/cart-table/page-c33464d94e85aacb.js +0 -1
- package/build/_next/static/chunks/app/components/controls/page-ab8a0113b4b2e54b.js +0 -1
- package/build/_next/static/chunks/app/components/cover/page-c5a39a466cf72302.js +0 -1
- package/build/_next/static/chunks/app/components/divider/page-048e0ea7f0f61c9f.js +0 -1
- package/build/_next/static/chunks/app/components/dropdown/page-86dc20ead95d1104.js +0 -1
- package/build/_next/static/chunks/app/components/expander/page-37e9fdf98c038541.js +0 -1
- package/build/_next/static/chunks/app/components/feature-accordion/page-994e106b83948b2a.js +0 -1
- package/build/_next/static/chunks/app/components/footer/page-39f76624a4c5435a.js +0 -1
- package/build/_next/static/chunks/app/components/forms/addons/page-b819ad9999952653.js +0 -1
- package/build/_next/static/chunks/app/components/forms/autocomplete/page-0cfae5a356eefe59.js +0 -1
- package/build/_next/static/chunks/app/components/forms/captions/hint/page-36a64250bd583aca.js +0 -1
- package/build/_next/static/chunks/app/components/forms/captions/label/page-84cb1a7b98fb64c8.js +0 -1
- package/build/_next/static/chunks/app/components/forms/captions/message/page-c22889abedb1d070.js +0 -1
- package/build/_next/static/chunks/app/components/forms/checkbox/page-8428d9a5becd0678.js +0 -1
- package/build/_next/static/chunks/app/components/forms/field/page-3c75a0c1a8f4867a.js +0 -1
- package/build/_next/static/chunks/app/components/forms/fieldset/page-5e7316fdf0310e1e.js +0 -1
- package/build/_next/static/chunks/app/components/forms/file/page-a83e9d5be583038b.js +0 -1
- package/build/_next/static/chunks/app/components/forms/inputstepper/page-2a61408ee3dd66a3.js +0 -1
- package/build/_next/static/chunks/app/components/forms/radio/page-d25e81a49e31fd5f.js +0 -1
- package/build/_next/static/chunks/app/components/forms/rangeslider/page-2b516b597dabcdde.js +0 -1
- package/build/_next/static/chunks/app/components/forms/select/page-28d631ad9ea28a9c.js +0 -1
- package/build/_next/static/chunks/app/components/forms/text-area/page-167de9c3a457c62a.js +0 -1
- package/build/_next/static/chunks/app/components/forms/text-input/page-5798b254c725bec1.js +0 -1
- package/build/_next/static/chunks/app/components/gauge/page-8299bca301ad707b.js +0 -1
- package/build/_next/static/chunks/app/components/icon/page-3d2696eb1415bbb8.js +0 -1
- package/build/_next/static/chunks/app/components/link/page-5691bc96657b379e.js +0 -1
- package/build/_next/static/chunks/app/components/list/page-93428135db5e0f50.js +0 -1
- package/build/_next/static/chunks/app/components/loader/page-60a3331abd258bde.js +0 -1
- package/build/_next/static/chunks/app/components/modal/page-193e4d93ab10dc9a.js +0 -1
- package/build/_next/static/chunks/app/components/pagination/page-dd52f805ef5196de.js +0 -1
- package/build/_next/static/chunks/app/components/progress/page-4ac45801c7ec5663.js +0 -1
- package/build/_next/static/chunks/app/components/skeleton/page-71307720865ef677.js +0 -1
- package/build/_next/static/chunks/app/components/sticker/page-c79c492044c10f40.js +0 -1
- package/build/_next/static/chunks/app/components/table/page-9dc77bc63b3b5895.js +0 -1
- package/build/_next/static/chunks/app/components/tabs/page-dcc36f18992b00f9.js +0 -1
- package/build/_next/static/chunks/app/components/tag/page-ba00a3d16f7f6d11.js +0 -1
- package/build/_next/static/chunks/app/components/testimonial/page-a3615b0a32c32fe1.js +0 -1
- package/build/_next/static/chunks/app/components/tile/page-b354dd7941df8670.js +0 -1
- package/build/_next/static/chunks/app/components/tooltip/page-9861cd4f82830d82.js +0 -1
- package/build/_next/static/chunks/app/javascript/toggle/page-8b83ddce80f9d755.js +0 -1
- package/build/_next/static/chunks/app/layout-41aa6f28da614a69.js +0 -1
- package/build/_next/static/chunks/app/page-e1799527aabeb98a.js +0 -1
- package/build/_next/static/chunks/app/utilities/horizontal-scroll/page-c6ee529373c337f9.js +0 -1
- package/build/_next/static/chunks/framework-fda66049c8bbcca5.js +0 -1
- package/build/_next/static/chunks/main-3e6405259d828a22.js +0 -1
- package/build/_next/static/chunks/main-app-a265e200b32683f1.js +0 -1
- package/build/_next/static/chunks/pages/_app-eb694f3fd49020c8.js +0 -1
- package/build/_next/static/chunks/pages/_error-2b3482c094a540b4.js +0 -1
- package/build/_next/static/chunks/polyfills-42372ed130431b0a.js +0 -1
- package/build/_next/static/chunks/webpack-1a128887cf981885.js +0 -1
- package/build/_next/static/css/05453e813192b05b.css +0 -1
- package/build/_next/static/css/05c85c9ea7e2ea58.css +0 -1
- package/build/_next/static/css/0e5de495ff48931f.css +0 -1
- package/build/_next/static/css/1139a47c85362386.css +0 -1
- package/build/_next/static/css/1b3f28cfd13039ad.css +0 -1
- package/build/_next/static/css/1fdf8ee56483471a.css +0 -1
- package/build/_next/static/css/286405eb07784ddd.css +0 -1
- package/build/_next/static/css/2cb6b1436172662a.css +0 -1
- package/build/_next/static/css/33a9af3bd42f0314.css +0 -1
- package/build/_next/static/css/3632d2fdde580dcb.css +0 -1
- package/build/_next/static/css/37365c3a0857a3c5.css +0 -1
- package/build/_next/static/css/412dd278760dc9fc.css +0 -1
- package/build/_next/static/css/417edeeaaadbac4d.css +0 -1
- package/build/_next/static/css/43c66157c59241c2.css +0 -1
- package/build/_next/static/css/57b0c84bbf7d7098.css +0 -1
- package/build/_next/static/css/5b55b50737ef7662.css +0 -1
- package/build/_next/static/css/5ec7df8d7719c810.css +0 -1
- package/build/_next/static/css/62680b6eacd53665.css +0 -1
- package/build/_next/static/css/645dada84db193d4.css +0 -1
- package/build/_next/static/css/7058542e728d5b05.css +0 -1
- package/build/_next/static/css/7108a96a607fe7c5.css +0 -1
- package/build/_next/static/css/7202aa220abab0eb.css +0 -1
- package/build/_next/static/css/75e15d3944ffd4f3.css +0 -1
- package/build/_next/static/css/77590e66868bf291.css +0 -1
- package/build/_next/static/css/7c62e057927bfe3a.css +0 -1
- package/build/_next/static/css/7d4c59347b15c45f.css +0 -1
- package/build/_next/static/css/7f570791ca140154.css +0 -1
- package/build/_next/static/css/8ed102a331809889.css +0 -1
- package/build/_next/static/css/a88042aa83a2c354.css +0 -1
- package/build/_next/static/css/a9a58f4c38bee2fd.css +0 -1
- package/build/_next/static/css/ac1d2e9b77b16926.css +0 -1
- package/build/_next/static/css/ae4b3848536f0c88.css +0 -1
- package/build/_next/static/css/b0ab7f81488aec78.css +0 -1
- package/build/_next/static/css/b853a4f8d045643a.css +0 -1
- package/build/_next/static/css/bcaa5e7fd24949ed.css +0 -1
- package/build/_next/static/css/d38343a4cf5388d8.css +0 -1
- package/build/_next/static/css/d829c1a3f2fcd594.css +0 -1
- package/build/_next/static/css/dbfffa33262d63c5.css +0 -1
- package/build/_next/static/css/dfae3c27eaeb27f7.css +0 -1
- package/build/_next/static/css/e0b468ba3d618325.css +0 -1
- package/build/_next/static/css/e5e018b7f5cf6e41.css +0 -1
- package/build/_next/static/css/e6a4dfa3d63d18c0.css +0 -1
- package/build/_next/static/css/ee49dfd49ae395ac.css +0 -1
- package/build/_next/static/css/ef46db3751d8e999.css +0 -0
- package/build/_next/static/css/f2867b2bd265a443.css +0 -1
- package/build/_next/static/media/671791babd225be4-s.p.woff2 +0 -0
- package/build/_next/static/media/c62d990acddde5f0-s.p.woff2 +0 -0
- package/build/_next/static/media/dfdbb1c4973e0bd7-s.p.woff2 +0 -0
- package/build/_next/static/media/phones.a832cbb3.png +0 -0
- package/build/components/accordion.html +0 -18
- package/build/components/accordion.txt +0 -28
- package/build/components/alert.html +0 -4
- package/build/components/alert.txt +0 -32
- package/build/components/bar.html +0 -10
- package/build/components/bar.txt +0 -27
- package/build/components/block-action.html +0 -4
- package/build/components/block-action.txt +0 -26
- package/build/components/body-banner.html +0 -1
- package/build/components/body-banner.txt +0 -28
- package/build/components/button.html +0 -2
- package/build/components/button.txt +0 -29
- package/build/components/buttons.html +0 -1
- package/build/components/buttons.txt +0 -29
- package/build/components/card.html +0 -20
- package/build/components/card.txt +0 -35
- package/build/components/carousel-promotions.html +0 -20
- package/build/components/carousel-promotions.txt +0 -31
- package/build/components/carousel.html +0 -5
- package/build/components/carousel.txt +0 -32
- package/build/components/cart-table.html +0 -39
- package/build/components/cart-table.txt +0 -35
- package/build/components/controls.html +0 -2
- package/build/components/controls.txt +0 -29
- package/build/components/cover.html +0 -1
- package/build/components/cover.txt +0 -26
- package/build/components/divider.html +0 -6
- package/build/components/divider.txt +0 -29
- package/build/components/dropdown.html +0 -18
- package/build/components/dropdown.txt +0 -36
- package/build/components/expander.html +0 -1
- package/build/components/expander.txt +0 -27
- package/build/components/feature-accordion.html +0 -1
- package/build/components/feature-accordion.txt +0 -31
- package/build/components/footer.html +0 -2
- package/build/components/footer.txt +0 -31
- package/build/components/forms/addons.html +0 -2
- package/build/components/forms/addons.txt +0 -26
- package/build/components/forms/autocomplete.html +0 -2
- package/build/components/forms/autocomplete.txt +0 -27
- package/build/components/forms/captions/hint.html +0 -4
- package/build/components/forms/captions/hint.txt +0 -26
- package/build/components/forms/captions/label.html +0 -4
- package/build/components/forms/captions/label.txt +0 -24
- package/build/components/forms/captions/message.html +0 -1
- package/build/components/forms/captions/message.txt +0 -24
- package/build/components/forms/checkbox.html +0 -2
- package/build/components/forms/checkbox.txt +0 -27
- package/build/components/forms/field.html +0 -3
- package/build/components/forms/field.txt +0 -24
- package/build/components/forms/fieldset.html +0 -2
- package/build/components/forms/fieldset.txt +0 -26
- package/build/components/forms/file.html +0 -1
- package/build/components/forms/file.txt +0 -24
- package/build/components/forms/inputstepper.html +0 -2
- package/build/components/forms/inputstepper.txt +0 -26
- package/build/components/forms/radio.html +0 -1
- package/build/components/forms/radio.txt +0 -37
- package/build/components/forms/rangeslider.html +0 -2
- package/build/components/forms/rangeslider.txt +0 -26
- package/build/components/forms/select.html +0 -1
- package/build/components/forms/select.txt +0 -24
- package/build/components/forms/text-area.html +0 -1
- package/build/components/forms/text-area.txt +0 -24
- package/build/components/forms/text-input.html +0 -1
- package/build/components/forms/text-input.txt +0 -24
- package/build/components/gauge.html +0 -15
- package/build/components/gauge.txt +0 -28
- package/build/components/icon.html +0 -1
- package/build/components/icon.txt +0 -24
- package/build/components/link.html +0 -6
- package/build/components/link.txt +0 -29
- package/build/components/list.html +0 -1
- package/build/components/list.txt +0 -30
- package/build/components/loader.html +0 -18
- package/build/components/loader.txt +0 -32
- package/build/components/modal.html +0 -2
- package/build/components/modal.txt +0 -33
- package/build/components/pagination.html +0 -1
- package/build/components/pagination.txt +0 -27
- package/build/components/progress.html +0 -1
- package/build/components/progress.txt +0 -33
- package/build/components/skeleton.html +0 -13
- package/build/components/skeleton.txt +0 -30
- package/build/components/sticker.html +0 -1
- package/build/components/sticker.txt +0 -27
- package/build/components/table.html +0 -2
- package/build/components/table.txt +0 -30
- package/build/components/tabs.html +0 -2
- package/build/components/tabs.txt +0 -29
- package/build/components/tag.html +0 -7
- package/build/components/tag.txt +0 -30
- package/build/components/testimonial.html +0 -1
- package/build/components/testimonial.txt +0 -28
- package/build/components/tile.html +0 -19
- package/build/components/tile.txt +0 -37
- package/build/components/tooltip.html +0 -4
- package/build/components/tooltip.txt +0 -26
- package/build/components/types/components/Carousel/Carousel.static.d.ts +0 -58
- package/build/components/types/components/CarouselPromotions/CarouselPromotions.static.d.ts +0 -47
- package/build/index.html +0 -65
- package/build/index.txt +0 -24
- package/build/javascript/toggle.html +0 -1
- package/build/javascript/toggle.txt +0 -29
- package/build/utilities/horizontal-scroll.html +0 -4
- package/build/utilities/horizontal-scroll.txt +0 -26
- package/src/components/Grid/tests/Grid.unit.test.tsx +0 -533
- package/src/components/Grid/tests/GridCol.unit.test.tsx +0 -199
- /package/build/components/types/{components → src/components}/Accordion/Accordion.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Accordion/Accordion.static.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Accordion/AccordionHeader.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Accordion/AccordionItem.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Accordion/HeadingContext.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Accordion/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Alert/Alert.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Alert/data.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Alert/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Bar/Bar.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Bar/BarBreak.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Bar/BarItem.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Bar/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/BlockAction/BlockAction.d.ts +0 -0
- /package/build/components/types/{components → src/components}/BlockAction/BlockActionControl.d.ts +0 -0
- /package/build/components/types/{components → src/components}/BlockAction/BlockActionIndicator.d.ts +0 -0
- /package/build/components/types/{components → src/components}/BlockAction/CloneElementWithClassName.d.ts +0 -0
- /package/build/components/types/{components → src/components}/BlockAction/Context.d.ts +0 -0
- /package/build/components/types/{components → src/components}/BlockAction/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/BodyBanner/BodyBanner.d.ts +0 -0
- /package/build/components/types/{components → src/components}/BodyBanner/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Breadcrumbs/BreadcrumbItem.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Breadcrumbs/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Button/Button.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Button/IconButton.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Button/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Buttons/Buttons.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Buttons/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Card/Card.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Card/CardSection.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Card/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Carousel/CarouselItem.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Carousel/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/CarouselPromotions/CarouselPromotionsItem.d.ts +0 -0
- /package/build/components/types/{components → src/components}/CarouselPromotions/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/CartTable/CartTable.d.ts +0 -0
- /package/build/components/types/{components → src/components}/CartTable/FooterNameColumn.d.ts +0 -0
- /package/build/components/types/{components → src/components}/CartTable/FooterPriceColumn.d.ts +0 -0
- /package/build/components/types/{components → src/components}/CartTable/Price.d.ts +0 -0
- /package/build/components/types/{components → src/components}/CartTable/generateFooter.d.ts +0 -0
- /package/build/components/types/{components → src/components}/CartTable/generateRow.d.ts +0 -0
- /package/build/components/types/{components → src/components}/CartTable/generateTotal.d.ts +0 -0
- /package/build/components/types/{components → src/components}/CartTable/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Container/Container.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Container/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Controls/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Cover/Cover.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Cover/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Divider/Divider.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Divider/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Dropdown/Dropdown.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Dropdown/Dropdown.static.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Dropdown/DropdownDivider.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Dropdown/DropdownItem.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Dropdown/DropdownToggleButton.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Dropdown/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Expander/Expander.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Expander/Expander.static.d.ts +0 -0
- /package/build/components/types/{components → src/components}/FeatureAccordion/FeatureAccordion.d.ts +0 -0
- /package/build/components/types/{components → src/components}/FeatureAccordion/FeatureAccordion.static.d.ts +0 -0
- /package/build/components/types/{components → src/components}/FeatureAccordion/FeatureAccordionItem.d.ts +0 -0
- /package/build/components/types/{components → src/components}/FeatureAccordion/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Footer/Footer.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Footer/data.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Footer/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/Autocomplete/Autocomplete.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/Autocomplete/Autocomplete.static.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/Autocomplete/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/Checkbox/Checkbox.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/Checkbox/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/Field/Field.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/Field/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/Field/utils.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/Fieldset/Fieldset.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/Fieldset/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/File/File.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/File/File.static.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/File/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/Group/Group.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/Group/Item.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/Group/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/Hint/Hint.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/Hint/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/InputStepper/InputStepper.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/InputStepper/InputStepper.static.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/InputStepper/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/Label/Label.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/Label/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/Message/Message.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/Message/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/Radio/Radio.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/Radio/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/RangeSlider/RangeSlider.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/RangeSlider/RangeSlider.static.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/RangeSlider/data.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/RangeSlider/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/Select/Select.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/Select/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/TextArea/TextArea.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/TextArea/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/TextInput/TextInput.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Forms/TextInput/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Gauge/Gauge.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Gauge/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Grid/Grid.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Grid/GridCol.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Grid/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Icon/Icon.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Icon/SpritePathContext.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Icon/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Image/Image.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Image/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Link/Link.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Link/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/List/ClickableControl.d.ts +0 -0
- /package/build/components/types/{components → src/components}/List/List.d.ts +0 -0
- /package/build/components/types/{components → src/components}/List/ListItem.d.ts +0 -0
- /package/build/components/types/{components → src/components}/List/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Loader/Loader.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Loader/Loader.static.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Loader/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Modal/Modal.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Modal/Modal.static.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Modal/ModalBody.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Modal/ModalCloseButton.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Modal/ModalTitle.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Modal/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Pagination/Pagination.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Pagination/PaginationItem.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Pagination/Separator.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Pagination/helpers.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Pagination/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Progress/Progress.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Progress/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Section/Section.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Section/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Skeleton/Skeleton.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Skeleton/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Sticker/Sticker.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Sticker/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Table/Cell.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Table/Footer.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Table/Header.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Table/Row.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Table/Rows.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Table/Table.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Table/Table.static.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Table/TableContext.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Table/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Table/types.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Tabs/Tab.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Tabs/TabPanel.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Tabs/Tabs.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Tabs/Tabs.static.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Tabs/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Tag/Tag.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Tag/TagButton.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Tag/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Testimonial/Testimonial.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Testimonial/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Tile/Tile.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Tile/index.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Tooltip/InfoTooltip.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Tooltip/Tooltip.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Tooltip/Tooltip.static.d.ts +0 -0
- /package/build/components/types/{components → src/components}/Tooltip/index.d.ts +0 -0
- /package/build/components/types/{docs → src/docs}/utils/ToggleButton.d.ts +0 -0
- /package/build/components/types/{scripts → src/scripts}/modules/Toggle.d.ts +0 -0
- /package/build/components/types/{scripts → src/scripts}/modules/toggleUtil.d.ts +0 -0
- /package/build/components/types/{styles → src/styles}/export/breakpoint.d.ts +0 -0
- /package/build/components/types/{utils → src/utils}/ConditionalWrapper.d.ts +0 -0
- /package/build/components/types/{utils → src/utils}/classes.d.ts +0 -0
- /package/build/components/types/{utils → src/utils}/color.d.ts +0 -0
- /package/build/components/types/{utils → src/utils}/constants.d.ts +0 -0
- /package/build/components/types/{utils → src/utils}/generateId.d.ts +0 -0
- /package/build/components/types/{utils → src/utils}/helpers.d.ts +0 -0
- /package/build/components/types/{utils → src/utils}/hooks.d.ts +0 -0
- /package/build/components/types/{utils → src/utils}/index.d.ts +0 -0
- /package/build/components/types/{utils → src/utils}/keyboard.d.ts +0 -0
|
@@ -12,5 +12,5 @@ import e,{useRef as t,useEffect as r,useCallback as n}from"react";function i(e,t
|
|
|
12
12
|
*
|
|
13
13
|
* This source code is licensed under the MIT license found in the
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
|
-
*/function x(){return j||(j=1,"production"!==process.env.NODE_ENV&&function(){function t(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===j?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case b:return"Fragment";case p:return"Profiler";case y:return"StrictMode";case g:return"Suspense";case O:return"SuspenseList";case S:return"Activity"}if("object"==typeof e)switch("number"==typeof e.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case d:return"Portal";case v:return(e.displayName||"Context")+".Provider";case h:return(e._context.displayName||"Context")+".Consumer";case m:var r=e.render;return(e=e.displayName)||(e=""!==(e=r.displayName||r.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case k:return null!==(r=e.displayName||null)?r:t(e.type)||"Memo";case T:r=e._payload,e=e._init;try{return t(e(r))}catch(e){}}return null}function r(e){return""+e}function n(e){try{r(e);var t=!1}catch(e){t=!0}if(t){var n=(t=console).error,i="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",i),r(e)}}function i(e){if(e===b)return"<>";if("object"==typeof e&&null!==e&&e.$$typeof===T)return"<...>";try{var r=t(e);return r?"<"+r+">":"<...>"}catch(e){return"<...>"}}function a(){return Error("react-stack-top-frame")}function o(){var e=t(this.type);return _[e]||(_[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(e=this.props.ref)?e:null}function s(e,r,i,a,s,u,d,b){var y,p=r.children;if(void 0!==p)if(a)if(P(p)){for(a=0;a<p.length;a++)l(p[a]);Object.freeze&&Object.freeze(p)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else l(p);if(x.call(r,"key")){p=t(e);var h=Object.keys(r).filter(function(e){return"key"!==e});a=0<h.length?"{key: someKey, "+h.join(": ..., ")+": ...}":"{key: someKey}",D[p+a]||(h=0<h.length?"{"+h.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',a,p,h,p),D[p+a]=!0)}if(p=null,void 0!==i&&(n(i),p=""+i),function(e){if(x.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(r)&&(n(r.key),p=""+r.key),"key"in r)for(var v in i={},r)"key"!==v&&(i[v]=r[v]);else i=r;return p&&function(e,t){function r(){c||(c=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(i,"function"==typeof e?e.displayName||e.name||"Unknown":e),function(e,t,r,n,i,a,s,l){return r=a.ref,e={$$typeof:f,type:e,key:t,props:a,_owner:i},null!==(void 0!==r?r:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:o}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:s}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:l}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(e,p,u,0,null===(y=A.A)?null:y.getOwner(),i,d,b)}function l(e){"object"==typeof e&&null!==e&&e.$$typeof===f&&e._store&&(e._store.validated=1)}var c,u=e,f=Symbol.for("react.transitional.element"),d=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),h=Symbol.for("react.consumer"),v=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),O=Symbol.for("react.suspense_list"),k=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),S=Symbol.for("react.activity"),j=Symbol.for("react.client.reference"),A=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,x=Object.prototype.hasOwnProperty,P=Array.isArray,R=console.createTask?console.createTask:function(){return null},_={},E=(u={"react-stack-bottom-frame":function(e){return e()}})["react-stack-bottom-frame"].bind(u,a)(),N=R(i(a)),D={};w.Fragment=b,w.jsx=function(e,t,r,n,a){var o=1e4>A.recentlyCreatedOwnerStacks++;return s(e,t,r,!1,0,a,o?Error("react-stack-top-frame"):E,o?R(i(e)):N)},w.jsxs=function(e,t,r,n,a){var o=1e4>A.recentlyCreatedOwnerStacks++;return s(e,t,r,!0,0,a,o?Error("react-stack-top-frame"):E,o?R(i(e)):N)}}()),w}var P=(A||(A=1,"production"===process.env.NODE_ENV?T.exports=function(){if(k)return S;k=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(t,r,n){var i=null;if(void 0!==n&&(i=""+n),void 0!==r.key&&(i=""+r.key),"key"in r)for(var a in n={},r)"key"!==a&&(n[a]=r[a]);else n=r;return r=n.ref,{$$typeof:e,type:t,key:i,ref:void 0!==r?r:null,props:n}}return S.Fragment=t,S.jsx=r,S.jsxs=r,S}():T.exports=x()),T.exports),R=function(e){var t=e.href,r=e.children,n=e.className,i=e.controls,a=e.isDisabled,o=e.isActive,s=b(e,["href","children","className","controls","isDisabled","isActive"]),l=m("tab-list__tab",n),c=o?0:-1,f=t?"a":"button";return P.jsx("li",{className:"tab-list__item",role:"presentation",children:P.jsx(f,u(u({type:t?void 0:"button",role:t?void 0:"tab",href:t,className:l,"aria-selected":o,"aria-controls":i||void 0,tabIndex:c,"aria-disabled":a},s),{},{children:r}))})};R.displayName="Tab";var _={TAB:["Tab"],ARROWLEFT:["Left","ArrowLeft"],ARROWUP:["Up","ArrowUp"],ARROWRIGHT:["Right","ArrowRight"],ARROWDOWN:["Down","ArrowDown"]},E=function(){return s(function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{direction:"horizontal"};a(this,e),this.elems=t,this.config=r,this.isActive=!1,this.onKeydown=this.onKeydown.bind(this)},[{key:"init",value:function(){document.addEventListener("keydown",this.onKeydown),this.isActive=!0}},{key:"destroy",value:function(){document.removeEventListener("keydown",this.onKeydown),this.isActive=!1}},{key:"update",value:function(e){this.elems=e}},{key:"onKeydown",value:function(e){var t=this.elems.indexOf(document.activeElement);(_.ARROWUP.includes(e.key)||_.ARROWDOWN.includes(e.key))&&"horizontal"===this.config.direction||(_.ARROWLEFT.includes(e.key)||_.ARROWRIGHT.includes(e.key))&&"vertical"===this.config.direction||((_.ARROWDOWN.includes(e.key)||_.ARROWRIGHT.includes(e.key))&&(e.preventDefault(),t>=0&&t<this.elems.length-1?this.elems[t+1].focus():this.elems[0].focus()),(_.ARROWUP.includes(e.key)||_.ARROWLEFT.includes(e.key))&&(e.preventDefault(),t>=1?this.elems[t-1].focus():this.elems[this.elems.length-1].focus()),_.TAB.includes(e.key)&&this.destroy())}}])}(),N={tabSelector:'[role="tab"]'},D=function(){return s(function e(t,r){return a(this,e),this.isActive=function(e){return!!e&&!e.hasAttribute("hidden")},this.isSelected=function(e){return"true"===e.getAttribute("aria-selected")},this.element=t,this.config=Object.assign(Object.assign({},N),r),this.tabs=[],this.tabPanels=[],this.activeTabIndex=null,this.rovingTabindex=null,this.handleClick=this.handleClick.bind(this),this.handleTabFocus=this.handleTabFocus.bind(this),this.element.ODS_Tabs=this,this.init(),this},[{key:"init",value:function(){var e=this;this.tabs=Array.from(this.element.querySelectorAll(this.config.tabSelector)),this.tabs.map(function(t,r){var n=t.getAttribute("aria-controls");return e.tabPanels.push(n?document.getElementById(n):null),t.addEventListener("click",e.handleClick),t.addEventListener("focus",e.handleTabFocus),e.isSelected(t)&&(e.activeTabIndex=r),t}),this.rovingTabindex?this.rovingTabindex.update(this.tabs):this.rovingTabindex=new E(this.tabs,{direction:"any"}),null!==this.activeTabIndex?this.toggleTabPanel(this.tabPanels[this.activeTabIndex],"on"):this.tabs.length>0&&this.activateNthTab(0)}},{key:"destroy",value:function(){var e=this;this.tabs.map(function(t){return t.removeEventListener("click",e.handleClick),t.removeEventListener("focus",e.handleTabFocus),t}),this.tabs=[],this.tabPanels=[],this.rovingTabindex&&this.rovingTabindex.destroy(),this.element.ODS_Tabs=null}},{key:"update",value:function(){this.destroy(),this.init()}},{key:"handleClick",value:function(e){var t=this,r=e.currentTarget;r.hasAttribute("aria-disabled")?e.preventDefault():(this.tabs.map(function(e,n){return e===r?(t.activeTabIndex=n,t.toggleTab(e,"on")):t.toggleTab(e,"off")}),this.tabPanels.map(function(e){return e&&e.getAttribute("id")===r.getAttribute("aria-controls")?t.toggleTabPanel(e,"on"):t.toggleTabPanel(e,"off")}))}},{key:"toggleTab",value:function(e,t){var r=this.isSelected(e);"on"!==t||r||(e.setAttribute("aria-selected","true"),e.setAttribute("tabindex","0")),"off"===t&&r&&(e.setAttribute("aria-selected","false"),e.setAttribute("tabindex","-1"))}},{key:"toggleTabPanel",value:function(e,t){if(e){var r=this.isActive(e);"on"!==t||r||e.removeAttribute("hidden"),"off"===t&&r&&e.setAttribute("hidden","")}}},{key:"activateNthTab",value:function(e){var t=this;this.tabs.map(function(r,n){return n===e?(t.activeTabIndex=n,t.toggleTab(r,"on")):t.toggleTab(r,"off")}),this.tabPanels.map(function(r,n){return n===e?t.toggleTabPanel(r,"on"):t.toggleTabPanel(r,"off")})}},{key:"handleTabFocus",value:function(){this.rovingTabindex&&!this.rovingTabindex.isActive&&this.rovingTabindex.init()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Tabs?e.ODS_Tabs:null}}])}(),I=function(i){var a=i.activeTabIndex,o=void 0===a?0:a,s=i.className,c=i.classesTabNav,d=i.isFullWidth,y=i.isLink,p=i.hasEqualTabWidth,h=i.variant,v=void 0===h?"standard":h,g=i.children,O=i.colorScheme,k=b(i,["activeTabIndex","className","classesTabNav","isFullWidth","isLink","hasEqualTabWidth","variant","children","colorScheme"]),T="tab-list",S=m(T,l({},"".concat(T,"--equal"),p),l({},"".concat(T,"--fullwidth"),d),l({},"".concat(T,"--light"),"light"===v),{"is-dark":"dark"===O},{"is-light":"light"===O},c,s),j=function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t(null),o=t(i);r(function(){o.current=null!=i?i:{}},[i]);var s=n(function(t){var r,n,i=o.current;t&&(null===a.current?a.current=new e(t,i):null===(n=(r=a.current).update)||void 0===n||n.call(r,i))},[e]);return r(function(){return function(){var e,t;a.current&&(null===(t=(e=a.current).destroy)||void 0===t||t.call(e),a.current=null)}},[]),[s,a]}(D),A=f(j,1)[0];return P.jsxs(P.Fragment,{children:[P.jsxs("ul",u(u({className:S,role:y?"navigation":"tablist",ref:A,"data-tabs":y?void 0:"true"},k),{},{children:[g.map(function(t,r){var n=r===o,i=t.props,a=i.renderTab,s=i.id,l=i.isDisabled,c=i.tab,u=i.href;if(!a)return e.createElement(R,{key:s,controls:u?"":s,href:u,isDisabled:l,isActive:n},c);var f=a(t.props);return e.cloneElement(f,{key:s,isActive:n})}),d&&P.jsx("li",{role:"presentation",className:"tab-list__hr"})]})),y?null:g.map(function(t,r){var n=r===o,i=t.props.id;return e.cloneElement(t,{key:i,isActive:n,tab:void 0})})]})};I.displayName="Tabs";var W=function(e){var t=e.children,r=e.isActive,n=e.id,i=e.href,a=b(e,["children","isActive","id","href"]),o=n||O();return P.jsx("div",u(u({id:o,role:i?"":"tabpanel",tabIndex:0,hidden:!r},a),{},{children:t}))};W.displayName="TabPanel";export{R as Tab,W as TabPanel,I as Tabs};
|
|
15
|
+
*/function x(){return j||(j=1,"production"!==process.env.NODE_ENV&&function(){function t(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===j?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case b:return"Fragment";case p:return"Profiler";case y:return"StrictMode";case g:return"Suspense";case O:return"SuspenseList";case S:return"Activity"}if("object"==typeof e)switch("number"==typeof e.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case d:return"Portal";case v:return(e.displayName||"Context")+".Provider";case h:return(e._context.displayName||"Context")+".Consumer";case m:var r=e.render;return(e=e.displayName)||(e=""!==(e=r.displayName||r.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case k:return null!==(r=e.displayName||null)?r:t(e.type)||"Memo";case T:r=e._payload,e=e._init;try{return t(e(r))}catch(e){}}return null}function r(e){return""+e}function n(e){try{r(e);var t=!1}catch(e){t=!0}if(t){var n=(t=console).error,i="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",i),r(e)}}function i(e){if(e===b)return"<>";if("object"==typeof e&&null!==e&&e.$$typeof===T)return"<...>";try{var r=t(e);return r?"<"+r+">":"<...>"}catch(e){return"<...>"}}function a(){return Error("react-stack-top-frame")}function o(){var e=t(this.type);return R[e]||(R[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(e=this.props.ref)?e:null}function s(e,r,i,a,s,u,d,b){var y,p=r.children;if(void 0!==p)if(a)if(P(p)){for(a=0;a<p.length;a++)l(p[a]);Object.freeze&&Object.freeze(p)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else l(p);if(x.call(r,"key")){p=t(e);var h=Object.keys(r).filter(function(e){return"key"!==e});a=0<h.length?"{key: someKey, "+h.join(": ..., ")+": ...}":"{key: someKey}",D[p+a]||(h=0<h.length?"{"+h.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',a,p,h,p),D[p+a]=!0)}if(p=null,void 0!==i&&(n(i),p=""+i),function(e){if(x.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(r)&&(n(r.key),p=""+r.key),"key"in r)for(var v in i={},r)"key"!==v&&(i[v]=r[v]);else i=r;return p&&function(e,t){function r(){c||(c=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(i,"function"==typeof e?e.displayName||e.name||"Unknown":e),function(e,t,r,n,i,a,s,l){return r=a.ref,e={$$typeof:f,type:e,key:t,props:a,_owner:i},null!==(void 0!==r?r:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:o}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:s}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:l}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(e,p,u,0,null===(y=A.A)?null:y.getOwner(),i,d,b)}function l(e){"object"==typeof e&&null!==e&&e.$$typeof===f&&e._store&&(e._store.validated=1)}var c,u=e,f=Symbol.for("react.transitional.element"),d=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),h=Symbol.for("react.consumer"),v=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),O=Symbol.for("react.suspense_list"),k=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),S=Symbol.for("react.activity"),j=Symbol.for("react.client.reference"),A=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,x=Object.prototype.hasOwnProperty,P=Array.isArray,_=console.createTask?console.createTask:function(){return null},R={},E=(u={react_stack_bottom_frame:function(e){return e()}}).react_stack_bottom_frame.bind(u,a)(),N=_(i(a)),D={};w.Fragment=b,w.jsx=function(e,t,r,n,a){var o=1e4>A.recentlyCreatedOwnerStacks++;return s(e,t,r,!1,0,a,o?Error("react-stack-top-frame"):E,o?_(i(e)):N)},w.jsxs=function(e,t,r,n,a){var o=1e4>A.recentlyCreatedOwnerStacks++;return s(e,t,r,!0,0,a,o?Error("react-stack-top-frame"):E,o?_(i(e)):N)}}()),w}var P=(A||(A=1,"production"===process.env.NODE_ENV?T.exports=function(){if(k)return S;k=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(t,r,n){var i=null;if(void 0!==n&&(i=""+n),void 0!==r.key&&(i=""+r.key),"key"in r)for(var a in n={},r)"key"!==a&&(n[a]=r[a]);else n=r;return r=n.ref,{$$typeof:e,type:t,key:i,ref:void 0!==r?r:null,props:n}}return S.Fragment=t,S.jsx=r,S.jsxs=r,S}():T.exports=x()),T.exports),_=function(e){var t=e.href,r=e.children,n=e.className,i=e.controls,a=e.isDisabled,o=e.isActive,s=b(e,["href","children","className","controls","isDisabled","isActive"]),l=m("tab-list__tab",n),c=o?0:-1,f=t?"a":"button";return P.jsx("li",{className:"tab-list__item",role:"presentation",children:P.jsx(f,u(u({type:t?void 0:"button",role:t?void 0:"tab",href:t,className:l,"aria-selected":o,"aria-controls":i||void 0,tabIndex:c,"aria-disabled":a},s),{},{children:r}))})};_.displayName="Tab";var R={TAB:["Tab"],ARROWLEFT:["Left","ArrowLeft"],ARROWUP:["Up","ArrowUp"],ARROWRIGHT:["Right","ArrowRight"],ARROWDOWN:["Down","ArrowDown"]},E=function(){return s(function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{direction:"horizontal"};a(this,e),this.elems=t,this.config=r,this.isActive=!1,this.onKeydown=this.onKeydown.bind(this)},[{key:"init",value:function(){document.addEventListener("keydown",this.onKeydown),this.isActive=!0}},{key:"destroy",value:function(){document.removeEventListener("keydown",this.onKeydown),this.isActive=!1}},{key:"update",value:function(e){this.elems=e}},{key:"onKeydown",value:function(e){var t=this.elems.indexOf(document.activeElement);(R.ARROWUP.includes(e.key)||R.ARROWDOWN.includes(e.key))&&"horizontal"===this.config.direction||(R.ARROWLEFT.includes(e.key)||R.ARROWRIGHT.includes(e.key))&&"vertical"===this.config.direction||((R.ARROWDOWN.includes(e.key)||R.ARROWRIGHT.includes(e.key))&&(e.preventDefault(),t>=0&&t<this.elems.length-1?this.elems[t+1].focus():this.elems[0].focus()),(R.ARROWUP.includes(e.key)||R.ARROWLEFT.includes(e.key))&&(e.preventDefault(),t>=1?this.elems[t-1].focus():this.elems[this.elems.length-1].focus()),R.TAB.includes(e.key)&&this.destroy())}}])}(),N={tabSelector:'[role="tab"]'},D=function(){return s(function e(t,r){return a(this,e),this.isActive=function(e){return!!e&&!e.hasAttribute("hidden")},this.isSelected=function(e){return"true"===e.getAttribute("aria-selected")},this.element=t,this.config=Object.assign(Object.assign({},N),r),this.tabs=[],this.tabPanels=[],this.activeTabIndex=null,this.rovingTabindex=null,this.handleClick=this.handleClick.bind(this),this.handleTabFocus=this.handleTabFocus.bind(this),this.element.ODS_Tabs=this,this.init(),this},[{key:"init",value:function(){var e=this;this.tabs=Array.from(this.element.querySelectorAll(this.config.tabSelector)),this.tabs.map(function(t,r){var n=t.getAttribute("aria-controls");return e.tabPanels.push(n?document.getElementById(n):null),t.addEventListener("click",e.handleClick),t.addEventListener("focus",e.handleTabFocus),e.isSelected(t)&&(e.activeTabIndex=r),t}),this.rovingTabindex?this.rovingTabindex.update(this.tabs):this.rovingTabindex=new E(this.tabs,{direction:"any"}),null!==this.activeTabIndex?this.toggleTabPanel(this.tabPanels[this.activeTabIndex],"on"):this.tabs.length>0&&this.activateNthTab(0)}},{key:"destroy",value:function(){var e=this;this.tabs.map(function(t){return t.removeEventListener("click",e.handleClick),t.removeEventListener("focus",e.handleTabFocus),t}),this.tabs=[],this.tabPanels=[],this.rovingTabindex&&this.rovingTabindex.destroy(),this.element.ODS_Tabs=null}},{key:"update",value:function(){this.destroy(),this.init()}},{key:"handleClick",value:function(e){var t=this,r=e.currentTarget;r.hasAttribute("aria-disabled")?e.preventDefault():(this.tabs.map(function(e,n){return e===r?(t.activeTabIndex=n,t.toggleTab(e,"on")):t.toggleTab(e,"off")}),this.tabPanels.map(function(e){return e&&e.getAttribute("id")===r.getAttribute("aria-controls")?t.toggleTabPanel(e,"on"):t.toggleTabPanel(e,"off")}))}},{key:"toggleTab",value:function(e,t){var r=this.isSelected(e);"on"!==t||r||(e.setAttribute("aria-selected","true"),e.setAttribute("tabindex","0")),"off"===t&&r&&(e.setAttribute("aria-selected","false"),e.setAttribute("tabindex","-1"))}},{key:"toggleTabPanel",value:function(e,t){if(e){var r=this.isActive(e);"on"!==t||r||e.removeAttribute("hidden"),"off"===t&&r&&e.setAttribute("hidden","")}}},{key:"activateNthTab",value:function(e){var t=this;this.tabs.map(function(r,n){return n===e?(t.activeTabIndex=n,t.toggleTab(r,"on")):t.toggleTab(r,"off")}),this.tabPanels.map(function(r,n){return n===e?t.toggleTabPanel(r,"on"):t.toggleTabPanel(r,"off")})}},{key:"handleTabFocus",value:function(){this.rovingTabindex&&!this.rovingTabindex.isActive&&this.rovingTabindex.init()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Tabs?e.ODS_Tabs:null}}])}(),I=function(i){var a=i.activeTabIndex,o=void 0===a?0:a,s=i.className,c=i.classesTabNav,d=i.isFullWidth,y=i.isLink,p=i.hasEqualTabWidth,h=i.variant,v=void 0===h?"standard":h,g=i.children,O=i.colorScheme,k=b(i,["activeTabIndex","className","classesTabNav","isFullWidth","isLink","hasEqualTabWidth","variant","children","colorScheme"]),T="tab-list",S=m(T,l({},"".concat(T,"--equal"),p),l({},"".concat(T,"--fullwidth"),d),l({},"".concat(T,"--light"),"light"===v),{"is-dark":"dark"===O},{"is-light":"light"===O},c,s),j=function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t(null),o=t(i);r(function(){o.current=null!=i?i:{}},[i]);var s=n(function(t){var r,n,i=o.current;t&&(null===a.current?a.current=new e(t,i):null===(n=(r=a.current).update)||void 0===n||n.call(r,i))},[e]);return r(function(){return function(){var e,t;a.current&&(null===(t=(e=a.current).destroy)||void 0===t||t.call(e),a.current=null)}},[]),[s,a]}(D),A=f(j,1)[0];return P.jsxs(P.Fragment,{children:[P.jsxs("ul",u(u({className:S,role:y?"navigation":"tablist",ref:A,"data-tabs":y?void 0:"true"},k),{},{children:[g.map(function(t,r){var n=r===o,i=t.props,a=i.renderTab,s=i.id,l=i.isDisabled,c=i.tab,u=i.href;if(!a)return e.createElement(_,{key:s,controls:u?"":s,href:u,isDisabled:l,isActive:n},c);var f=a(t.props);return e.cloneElement(f,{key:s,isActive:n})}),d&&P.jsx("li",{role:"presentation",className:"tab-list__hr"})]})),y?null:g.map(function(t,r){var n=r===o,i=t.props.id;return e.cloneElement(t,{key:i,isActive:n,tab:void 0})})]})};I.displayName="Tabs";var W=function(e){var t=e.children,r=e.isActive,n=e.id,i=e.href,a=b(e,["children","isActive","id","href"]),o=n||O();return P.jsx("div",u(u({id:o,role:i?"":"tabpanel",tabIndex:0,hidden:!r},a),{},{children:t}))};W.displayName="TabPanel";export{_ as Tab,W as TabPanel,I as Tabs};
|
|
16
16
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../node_modules/tslib/tslib.es6.js","../../../node_modules/classnames/index.js","../../../src/utils/generateId.ts","../../../src/utils/hooks.ts","../../../node_modules/react/cjs/react-jsx-runtime.development.js","../../../node_modules/react/jsx-runtime.js","../../../node_modules/react/cjs/react-jsx-runtime.production.js","../../../src/components/Tabs/Tab.tsx","../../../src/utils/constants.js","../../../src/utils/keyboard.js","../../../src/components/Tabs/Tabs.static.ts","../../../src/components/Tabs/Tabs.tsx","../../../src/components/Tabs/TabPanel.tsx"],"sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\r\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\r\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\r\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\r\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\r\n var _, done = false;\r\n for (var i = decorators.length - 1; i >= 0; i--) {\r\n var context = {};\r\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\r\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\r\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\r\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\r\n if (kind === \"accessor\") {\r\n if (result === void 0) continue;\r\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\r\n if (_ = accept(result.get)) descriptor.get = _;\r\n if (_ = accept(result.set)) descriptor.set = _;\r\n if (_ = accept(result.init)) initializers.unshift(_);\r\n }\r\n else if (_ = accept(result)) {\r\n if (kind === \"field\") initializers.unshift(_);\r\n else descriptor[key] = _;\r\n }\r\n }\r\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\r\n done = true;\r\n};\r\n\r\nexport function __runInitializers(thisArg, initializers, value) {\r\n var useValue = arguments.length > 2;\r\n for (var i = 0; i < initializers.length; i++) {\r\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\r\n }\r\n return useValue ? value : void 0;\r\n};\r\n\r\nexport function __propKey(x) {\r\n return typeof x === \"symbol\" ? x : \"\".concat(x);\r\n};\r\n\r\nexport function __setFunctionName(f, name, prefix) {\r\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\r\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\r\n};\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\r\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\r\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nvar ownKeys = function(o) {\r\n ownKeys = Object.getOwnPropertyNames || function (o) {\r\n var ar = [];\r\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\r\n return ar;\r\n };\r\n return ownKeys(o);\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n\r\nexport function __addDisposableResource(env, value, async) {\r\n if (value !== null && value !== void 0) {\r\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\r\n var dispose, inner;\r\n if (async) {\r\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\r\n dispose = value[Symbol.asyncDispose];\r\n }\r\n if (dispose === void 0) {\r\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\r\n dispose = value[Symbol.dispose];\r\n if (async) inner = dispose;\r\n }\r\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\r\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\r\n env.stack.push({ value: value, dispose: dispose, async: async });\r\n }\r\n else if (async) {\r\n env.stack.push({ async: true });\r\n }\r\n return value;\r\n\r\n}\r\n\r\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\r\n var e = new Error(message);\r\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\r\n};\r\n\r\nexport function __disposeResources(env) {\r\n function fail(e) {\r\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\r\n env.hasError = true;\r\n }\r\n var r, s = 0;\r\n function next() {\r\n while (r = env.stack.pop()) {\r\n try {\r\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\r\n if (r.dispose) {\r\n var result = r.dispose.call(r.value);\r\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\r\n }\r\n else s |= 1;\r\n }\r\n catch (e) {\r\n fail(e);\r\n }\r\n }\r\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\r\n if (env.hasError) throw env.error;\r\n }\r\n return next();\r\n}\r\n\r\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\r\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\r\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\r\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\r\n });\r\n }\r\n return path;\r\n}\r\n\r\nexport default {\r\n __extends: __extends,\r\n __assign: __assign,\r\n __rest: __rest,\r\n __decorate: __decorate,\r\n __param: __param,\r\n __esDecorate: __esDecorate,\r\n __runInitializers: __runInitializers,\r\n __propKey: __propKey,\r\n __setFunctionName: __setFunctionName,\r\n __metadata: __metadata,\r\n __awaiter: __awaiter,\r\n __generator: __generator,\r\n __createBinding: __createBinding,\r\n __exportStar: __exportStar,\r\n __values: __values,\r\n __read: __read,\r\n __spread: __spread,\r\n __spreadArrays: __spreadArrays,\r\n __spreadArray: __spreadArray,\r\n __await: __await,\r\n __asyncGenerator: __asyncGenerator,\r\n __asyncDelegator: __asyncDelegator,\r\n __asyncValues: __asyncValues,\r\n __makeTemplateObject: __makeTemplateObject,\r\n __importStar: __importStar,\r\n __importDefault: __importDefault,\r\n __classPrivateFieldGet: __classPrivateFieldGet,\r\n __classPrivateFieldSet: __classPrivateFieldSet,\r\n __classPrivateFieldIn: __classPrivateFieldIn,\r\n __addDisposableResource: __addDisposableResource,\r\n __disposeResources: __disposeResources,\r\n __rewriteRelativeImportExtension: __rewriteRelativeImportExtension,\r\n};\r\n","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","let idx = 0;\nconst uuid = (): number => (idx += 1);\n\n/**\n * Generates a unique ID string with an optional name prefix\n * @param name Optional prefix for the ID\n * @returns A unique ID string\n */\nexport default function generateId(name?: string): string {\n return `id${name ? `-${name}` : \"\"}-${uuid()}`;\n}\n","\"use client\";\n\nimport {\n useEffect,\n useCallback,\n useRef,\n useMemo,\n RefCallback,\n type RefObject,\n useState,\n} from \"react\";\n\nimport generateId from \"./generateId\";\n\n// Generic type for any class constructor\ntype StaticClassType<T = any> = new (element: HTMLElement, config?: any) => T;\n\n// Define a generic interface for static class instances\ninterface StaticInstance {\n update?: (config: any) => void;\n destroy?: () => void;\n}\n\n/**\n * A hook to create and manage an instance of a \"static\" class\n * @param StaticClass The class to instantiate\n * @param config Configuration options for the class\n * @returns [ref callback, instance reference]\n */\nconst useStatic = <T extends StaticInstance>(\n StaticClass: StaticClassType<T>,\n config: Record<string, any> = {},\n): [RefCallback<HTMLElement>, RefObject<T | null>] => {\n const instance = useRef<T | null>(null);\n const configRef = useRef(config);\n\n useEffect(() => {\n configRef.current = config ?? {};\n }, [config]);\n\n const ref = useCallback(\n (node: HTMLElement | null) => {\n // use latest config available\n const currentConfig = configRef.current;\n if (node) {\n if (instance.current === null) {\n instance.current = new StaticClass(node, currentConfig);\n } else {\n instance.current.update?.(currentConfig);\n }\n }\n },\n [StaticClass],\n );\n\n useEffect(\n () => () => {\n if (instance.current) {\n instance.current.destroy?.();\n instance.current = null;\n }\n },\n [],\n );\n\n return [ref, instance];\n};\n\n/**\n * A hook for creating React portals\n * From https://www.jayfreestone.com/writing/react-portals-with-hooks/\n * @param id The id of the target DOM element\n * @returns A DOM element that can be used as a portal container\n */\nfunction usePortal(id: string): HTMLDivElement {\n const rootElemRef = useRef<HTMLDivElement | null>(null);\n\n useEffect(\n function setupElement() {\n if (typeof document === \"undefined\") return;\n\n // Create element if it doesn't exist\n if (!rootElemRef.current) {\n rootElemRef.current = document.createElement(\"div\");\n }\n\n // Look for existing target dom element to append to\n const parentElem = document.querySelector(`#${id}`);\n\n // Add the detached element to the parent\n if (parentElem && rootElemRef.current) {\n parentElem.appendChild(rootElemRef.current);\n }\n\n // This function is run on unmount\n return function removeElement() {\n rootElemRef.current?.remove();\n };\n },\n [id],\n );\n\n function getRootElem(): HTMLDivElement {\n if (typeof document === \"undefined\") {\n throw new Error(\"usePortal must be used in a browser environment\");\n }\n\n if (!rootElemRef.current) {\n rootElemRef.current = document.createElement(\"div\");\n }\n return rootElemRef.current;\n }\n\n return getRootElem();\n}\n\n/**\n * Returns unique string for the `id` attribute.\n *\n * @param id Provided id\n * @param name Optional prefix\n * @returns A unique ID string\n */\nconst useUniqueId = (id?: string, name?: string): string =>\n useMemo(() => id ?? generateId(name), [id, name]);\n\n/**\n * Hydration-safe hook for generating a unique, numeric ID for tooltips and similar components.\n * Ensures IDs are consistent between SSR and client, and match test expectations.\n * @param providedId Optional externally provided ID\n * @returns Hydration-safe unique ID string (e.g., \"id-1\")\n */\nconst idCounter = { current: 0 };\n\nfunction useHydrationSafeId(providedId?: string): string {\n const [hydratedId, setHydratedId] = useState<string | undefined>(providedId);\n const idRef = useRef<string | undefined>(providedId);\n\n useEffect(() => {\n if (!providedId) {\n idCounter.current += 1;\n const newId = `id-${idCounter.current}`;\n idRef.current = newId;\n setHydratedId(newId);\n }\n }, [providedId]);\n\n return hydratedId || idRef.current || providedId || \"id-0\";\n}\n\nexport { useStatic, usePortal, useUniqueId, useHydrationSafeId };\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return (type.displayName || \"Context\") + \".Provider\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(\n type,\n key,\n self,\n source,\n owner,\n props,\n debugStack,\n debugTask\n ) {\n self = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== self ? self : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n source,\n self,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n self,\n source,\n getOwner(),\n maybeKey,\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_ELEMENT_TYPE &&\n node._store &&\n (node._store.validated = 1);\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\");\n Symbol.for(\"react.provider\");\n var REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n \"react-stack-bottom-frame\": function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React[\"react-stack-bottom-frame\"].bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey, source, self) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n source,\n self,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey, source, self) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n source,\n self,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","/**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nfunction jsxProd(type, config, maybeKey) {\n var key = null;\n void 0 !== maybeKey && (key = \"\" + maybeKey);\n void 0 !== config.key && (key = \"\" + config.key);\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n config = maybeKey.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== config ? config : null,\n props: maybeKey\n };\n}\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsxProd;\nexports.jsxs = jsxProd;\n","import cx from \"classnames\";\n\ninterface TabProps\n extends React.HTMLAttributes<HTMLButtonElement | HTMLAnchorElement> {\n /** Id of the tabpanel this tab controls. */\n controls?: string;\n href?: string;\n /** Active state */\n isActive?: boolean;\n /** Disabled state. */\n isDisabled?: boolean;\n className?: string;\n children?: React.ReactNode;\n}\n\nconst CLASS_TABLIST_ITEM = \"tab-list__item\";\nconst CLASS_TABLIST_TAB = \"tab-list__tab\";\n\nconst Tab: React.FC<TabProps> = ({\n href,\n children,\n className,\n controls,\n isDisabled,\n isActive,\n ...other\n}) => {\n const tabClasses = cx(CLASS_TABLIST_TAB, className);\n\n const tabindex = isActive ? 0 : -1;\n\n const Tag = href ? \"a\" : \"button\";\n\n return (\n <li className={CLASS_TABLIST_ITEM} role=\"presentation\">\n <Tag\n type={href ? undefined : \"button\"}\n role={href ? undefined : \"tab\"}\n href={href}\n className={tabClasses}\n aria-selected={isActive}\n aria-controls={controls || undefined}\n tabIndex={tabindex}\n aria-disabled={isDisabled}\n {...other}\n >\n {children}\n </Tag>\n </li>\n );\n};\n\nTab.displayName = \"Tab\";\n\nexport { Tab };\n","export const breakpoints = {\n xs: 0,\n sm: 480,\n md: 768,\n lg: 992,\n xl: 1240,\n xxl: 1380,\n};\n\n// we use array to include old browser key names like IE11\n// ie. navigation keys https://developer.mozilla.org/en-US/docs/Web/API/UI_Events/Keyboard_event_key_values#navigation_keys\nexport const keys = {\n TAB: ['Tab'],\n ENTER: ['Enter'],\n ESC: ['Esc', 'Escape'],\n SPACE: ['Spacebar', ' '],\n ARROWLEFT: ['Left', 'ArrowLeft'],\n ARROWUP: ['Up', 'ArrowUp'],\n ARROWRIGHT: ['Right', 'ArrowRight'],\n ARROWDOWN: ['Down', 'ArrowDown'],\n};\n","import { keys } from './constants';\n\n \nexport class RovingTabindex {\n constructor(\n elems,\n config = {\n direction: 'horizontal',\n }\n ) {\n this.elems = elems;\n this.config = config;\n\n this.isActive = false;\n\n this.onKeydown = this.onKeydown.bind(this);\n }\n\n init() {\n document.addEventListener('keydown', this.onKeydown);\n this.isActive = true;\n }\n\n destroy() {\n document.removeEventListener('keydown', this.onKeydown);\n this.isActive = false;\n }\n\n update(elems) {\n this.elems = elems;\n }\n\n onKeydown(e) {\n const activeElemIndex = this.elems.indexOf(document.activeElement);\n\n if (\n (keys.ARROWUP.includes(e.key) || keys.ARROWDOWN.includes(e.key)) &&\n this.config.direction === 'horizontal'\n ) {\n return;\n }\n\n if (\n (keys.ARROWLEFT.includes(e.key) || keys.ARROWRIGHT.includes(e.key)) &&\n this.config.direction === 'vertical'\n ) {\n return;\n }\n\n if (keys.ARROWDOWN.includes(e.key) || keys.ARROWRIGHT.includes(e.key)) {\n e.preventDefault();\n if (activeElemIndex >= 0 && activeElemIndex < this.elems.length - 1) {\n this.elems[activeElemIndex + 1].focus();\n } else {\n this.elems[0].focus();\n }\n }\n\n if (keys.ARROWUP.includes(e.key) || keys.ARROWLEFT.includes(e.key)) {\n e.preventDefault();\n if (activeElemIndex >= 1) {\n this.elems[activeElemIndex - 1].focus();\n } else {\n this.elems[this.elems.length - 1].focus();\n }\n }\n\n if (keys.TAB.includes(e.key)) {\n this.destroy();\n }\n }\n}\n","import { RovingTabindex } from \"../../utils/keyboard\";\n\ninterface TabsConfig {\n tabSelector: string;\n}\n\nexport const defaultConfig: TabsConfig = {\n tabSelector: '[role=\"tab\"]',\n};\n\nexport const configDocs = {\n tabSelector: \"Tab element selector\",\n};\n\nexport default class Tabs {\n private element: HTMLElement;\n private config: TabsConfig;\n private tabs: HTMLElement[];\n private tabPanels: (HTMLElement | null)[];\n private activeTabIndex: number | null;\n private rovingTabindex: RovingTabindex | null;\n\n constructor(element: HTMLElement, config?: Partial<TabsConfig>) {\n this.element = element;\n this.config = { ...defaultConfig, ...config };\n\n this.tabs = [];\n this.tabPanels = [];\n this.activeTabIndex = null;\n\n this.rovingTabindex = null;\n\n this.handleClick = this.handleClick.bind(this);\n this.handleTabFocus = this.handleTabFocus.bind(this);\n\n (this.element as any).ODS_Tabs = this;\n\n this.init();\n\n return this;\n }\n\n static getInstance(el: HTMLElement): Tabs | null {\n return el && (el as any).ODS_Tabs ? (el as any).ODS_Tabs : null;\n }\n\n private init(): void {\n this.tabs = Array.from(\n this.element.querySelectorAll<HTMLElement>(this.config.tabSelector),\n );\n\n this.tabs.map((tab, index) => {\n const controlId = tab.getAttribute(\"aria-controls\");\n this.tabPanels.push(\n controlId ? document.getElementById(controlId) : null,\n );\n tab.addEventListener(\"click\", this.handleClick);\n tab.addEventListener(\"focus\", this.handleTabFocus);\n\n if (this.isSelected(tab)) {\n this.activeTabIndex = index;\n }\n\n return tab;\n });\n\n if (!this.rovingTabindex) {\n this.rovingTabindex = new RovingTabindex(this.tabs, {\n direction: \"any\",\n });\n } else {\n this.rovingTabindex.update(this.tabs);\n }\n\n if (this.activeTabIndex !== null) {\n this.toggleTabPanel(this.tabPanels[this.activeTabIndex], \"on\");\n } else if (this.tabs.length > 0) {\n this.activateNthTab(0);\n }\n }\n\n destroy(): void {\n this.tabs.map((tab) => {\n tab.removeEventListener(\"click\", this.handleClick);\n tab.removeEventListener(\"focus\", this.handleTabFocus);\n return tab;\n });\n\n this.tabs = [];\n this.tabPanels = [];\n if (this.rovingTabindex) {\n this.rovingTabindex.destroy();\n }\n (this.element as any).ODS_Tabs = null;\n }\n\n update(): void {\n this.destroy();\n this.init();\n }\n\n private isActive = (el: HTMLElement | null): boolean =>\n el ? !el.hasAttribute(\"hidden\") : false;\n\n private isSelected = (el: HTMLElement): boolean =>\n el.getAttribute(\"aria-selected\") === \"true\";\n\n private handleClick(e: MouseEvent): void {\n const clickedTab = e.currentTarget as HTMLElement;\n\n if (clickedTab.hasAttribute(\"aria-disabled\")) {\n e.preventDefault();\n return;\n }\n\n this.tabs.map((tab, i) => {\n if (tab === clickedTab) {\n this.activeTabIndex = i;\n return this.toggleTab(tab, \"on\");\n }\n return this.toggleTab(tab, \"off\");\n });\n\n this.tabPanels.map((tabPanel) => {\n if (\n tabPanel &&\n tabPanel.getAttribute(\"id\") === clickedTab.getAttribute(\"aria-controls\")\n ) {\n return this.toggleTabPanel(tabPanel, \"on\");\n }\n return this.toggleTabPanel(tabPanel, \"off\");\n });\n }\n\n private toggleTab(el: HTMLElement, state: \"on\" | \"off\"): void {\n const isActive = this.isSelected(el);\n\n if (state === \"on\" && !isActive) {\n el.setAttribute(\"aria-selected\", \"true\");\n el.setAttribute(\"tabindex\", \"0\");\n }\n\n if (state === \"off\" && isActive) {\n el.setAttribute(\"aria-selected\", \"false\");\n el.setAttribute(\"tabindex\", \"-1\");\n }\n }\n\n private toggleTabPanel(el: HTMLElement | null, state: \"on\" | \"off\"): void {\n if (!el) return;\n\n const isActive = this.isActive(el);\n\n if (state === \"on\" && !isActive) {\n el.removeAttribute(\"hidden\");\n }\n\n if (state === \"off\" && isActive) {\n el.setAttribute(\"hidden\", \"\");\n }\n }\n\n activateNthTab(index: number): void {\n this.tabs.map((tab, i) => {\n if (i === index) {\n this.activeTabIndex = i;\n return this.toggleTab(tab, \"on\");\n }\n return this.toggleTab(tab, \"off\");\n });\n\n this.tabPanels.map((tabPanel, i) => {\n if (i === index) {\n return this.toggleTabPanel(tabPanel, \"on\");\n }\n return this.toggleTabPanel(tabPanel, \"off\");\n });\n }\n\n private handleTabFocus(): void {\n if (this.rovingTabindex && !this.rovingTabindex.isActive) {\n this.rovingTabindex.init();\n }\n }\n}\n","\"use client\";\n\nimport React from \"react\";\nimport cx from \"classnames\";\n\nimport { useStatic } from \"../../utils/hooks\";\nimport { Tab } from \"./Tab\";\nimport TabsStatic from \"./Tabs.static\";\n\nexport const variants = [\"standard\", \"light\"] as const;\n\nexport type TabsVariant = (typeof variants)[number];\n\n// Define the expected props for TabPanel children\nexport interface TabPanelProps {\n id: string;\n isDisabled?: boolean;\n isActive?: boolean;\n tab: React.ReactNode;\n href?: string;\n renderTab?: (props: TabPanelProps) => React.ReactElement;\n}\n\ninterface TabsProps extends React.HTMLAttributes<HTMLUListElement> {\n /** Active Tab index */\n activeTabIndex?: number;\n /** Additional classes for tabs header. */\n classesTabNav?: string;\n /** Color theme for the tabs */\n colorScheme?: \"dark\" | \"light\";\n /** All tabs have equal width inside a full-width container */\n hasEqualTabWidth?: boolean;\n /** Fullwidth container */\n isFullWidth?: boolean;\n /** Tabs behave as links rather than tabs */\n isLink?: boolean;\n /** Visual variant of the tabs */\n variant?: TabsVariant;\n /** Tab panels as children */\n children: React.ReactElement<TabPanelProps>[];\n}\n\nconst Tabs: React.FC<TabsProps> = ({\n activeTabIndex = 0,\n className,\n classesTabNav,\n isFullWidth,\n isLink,\n hasEqualTabWidth,\n variant = \"standard\",\n children,\n colorScheme,\n ...other\n}) => {\n const CLASS_TABNAV = \"tab-list\";\n\n const tabNavClasses = cx(\n CLASS_TABNAV,\n { [`${CLASS_TABNAV}--equal`]: hasEqualTabWidth },\n { [`${CLASS_TABNAV}--fullwidth`]: isFullWidth },\n { [`${CLASS_TABNAV}--light`]: variant === \"light\" },\n { \"is-dark\": colorScheme === \"dark\" },\n { \"is-light\": colorScheme === \"light\" },\n classesTabNav,\n className,\n );\n\n const [tabListRef] = useStatic(TabsStatic);\n\n function getTabs() {\n return children.map((tabPanel, i) => {\n const isActive = i === activeTabIndex;\n const { renderTab, id, isDisabled, tab, href } =\n tabPanel.props as TabPanelProps;\n\n if (!renderTab) {\n return React.createElement(\n Tab,\n {\n key: id,\n controls: !href ? id : \"\",\n href,\n isDisabled,\n isActive,\n },\n tab,\n );\n }\n\n const renderedTab = renderTab(tabPanel.props as TabPanelProps);\n return React.cloneElement(renderedTab, {\n key: id,\n isActive,\n } as React.HTMLAttributes<HTMLElement>);\n });\n }\n\n function getPanels() {\n return children.map((tabPanel, i) => {\n const isActive = i === activeTabIndex;\n const { id } = tabPanel.props;\n return React.cloneElement(tabPanel, {\n key: id,\n isActive,\n tab: undefined,\n } as Partial<TabPanelProps>);\n });\n }\n\n return (\n <>\n <ul\n className={tabNavClasses}\n role={isLink ? \"navigation\" : \"tablist\"}\n ref={tabListRef}\n data-tabs={isLink ? undefined : \"true\"}\n {...other}\n >\n {getTabs()}\n {isFullWidth && <li role=\"presentation\" className=\"tab-list__hr\" />}\n </ul>\n {!isLink ? getPanels() : null}\n </>\n );\n};\n\nTabs.displayName = \"Tabs\";\n\nexport { Tabs };\n","\"use client\";\n\nimport generateId from \"../../utils/generateId\";\n\ninterface TabPanelProps extends React.HTMLAttributes<HTMLDivElement> {\n /** Optional href for the tab */\n href?: string;\n /** Tabpanel id */\n id?: string;\n /** Active state */\n isActive?: boolean;\n /** Additional class names */\n className?: string;\n /** Children components */\n children?: React.ReactNode;\n}\n\nconst TabPanel: React.FC<TabPanelProps> = ({\n children,\n isActive,\n id,\n href,\n ...other\n}) => {\n const currentId = id || generateId();\n\n return (\n <div\n id={currentId}\n role={href ? \"\" : \"tabpanel\"}\n tabIndex={0}\n hidden={!isActive}\n {...other}\n >\n {children}\n </div>\n );\n};\n\nTabPanel.displayName = \"TabPanel\";\n\nexport { TabPanel };\n"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","SuppressedError","hasOwn","classNames","classes","arguments","arg","appendClass","parseValue","Array","isArray","apply","toString","includes","key","value","newClass","module","exports","default","window","idx","generateId","name","concat","process","env","NODE_ENV","getComponentNameFromType","type","$$typeof","REACT_CLIENT_REFERENCE","displayName","REACT_FRAGMENT_TYPE","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_ACTIVITY_TYPE","tag","console","error","REACT_PORTAL_TYPE","REACT_CONTEXT_TYPE","REACT_CONSUMER_TYPE","_context","REACT_FORWARD_REF_TYPE","innerType","render","REACT_MEMO_TYPE","REACT_LAZY_TYPE","_payload","_init","x","testStringCoercion","checkKeyStringCoercion","JSCompiler_inline_result","JSCompiler_temp_const","JSCompiler_inline_result$jscomp$0","Symbol","toStringTag","constructor","getTaskName","UnknownOwner","Error","elementRefGetterWithDeprecationWarning","componentName","this","didWarnAboutElementRef","props","ref","jsxDEVImpl","config","maybeKey","isStaticChildren","source","self","debugStack","debugTask","dispatcher","children","isArrayImpl","validateChildKeys","freeze","keys","filter","k","join","didWarnAboutKeySpread","getter","getOwnPropertyDescriptor","get","isReactWarning","hasValidKey","propName","warnAboutAccessingKey","specialPropKeyWarningShown","defineProperty","configurable","defineKeyPropWarningGetter","owner","REACT_ELEMENT_TYPE","_owner","enumerable","_store","writable","ReactElement","ReactSharedInternals","A","getOwner","node","validated","React","require$$0","for","__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE","createTask","unknownOwnerDebugStack","callStackForError","bind","unknownOwnerDebugTask","reactJsxRuntime_development","Fragment","jsx","trackActualOwner","recentlyCreatedOwnerStacks","jsxs","jsxRuntimeModule","jsxProd","reactJsxRuntime_production","require$$1","Tab","_a","href","className","controls","isDisabled","isActive","other","tabClasses","cx","tabindex","Tag","_jsx","role","_objectSpread","undefined","tabIndex","TAB","ARROWLEFT","ARROWUP","ARROWRIGHT","ARROWDOWN","RovingTabindex","_createClass","elems","direction","_classCallCheck","onKeydown","document","addEventListener","removeEventListener","activeElemIndex","activeElement","preventDefault","focus","destroy","defaultConfig","tabSelector","Tabs","element","el","hasAttribute","isSelected","getAttribute","assign","tabs","tabPanels","activeTabIndex","rovingTabindex","handleClick","handleTabFocus","ODS_Tabs","init","_this","from","querySelectorAll","map","tab","index","controlId","push","getElementById","update","toggleTabPanel","activateNthTab","_this2","_this3","clickedTab","currentTarget","toggleTab","tabPanel","state","setAttribute","removeAttribute","_this4","_a$activeTabIndex","classesTabNav","isFullWidth","isLink","hasEqualTabWidth","_a$variant","variant","colorScheme","CLASS_TABNAV","tabNavClasses","_defineProperty","_useStatic","StaticClass","instance","useRef","configRef","useEffect","current","useCallback","currentConfig","_b","useStatic","TabsStatic","tabListRef","_slicedToArray","_jsxs","_Fragment","_tabPanel$props","renderTab","id","createElement","renderedTab","cloneElement","TabPanel","currentId","hidden"],"mappings":"s4EA0CO,SAASA,EAAOC,EAAGC,GACtB,IAAIC,EAAI,CAAA,EACR,IAAK,IAAIC,KAAKH,EAAOI,OAAOC,UAAUC,eAAeC,KAAKP,EAAGG,IAAMF,EAAEO,QAAQL,GAAK,IAC9ED,EAAEC,GAAKH,EAAEG,IACb,GAAS,MAALH,GAAqD,mBAAjCI,OAAOK,sBACtB,KAAIC,EAAI,EAAb,IAAgBP,EAAIC,OAAOK,sBAAsBT,GAAIU,EAAIP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EAAAA,IAAA,KAAA,CAAIC,KAAK,eAAeV,UAAU,qBAElD2E,EAAuB,KAvBpBjI,EAAS2G,IAAI,SAACc,EAAU3M,GAC7B,IAAM2I,EAAW3I,IAAMoL,EACfyD,EAAOlC,EAASpI,MAAhBsK,GACR,OAAO3H,EAAM8H,aAAarC,EAAU,CAClC3L,IAAK6N,EACLlG,SAAAA,EACAmD,SAAK1C,GAET,KAkBJ,EAEAuB,EAAKzI,YAAc,OC7GnB,IAAM+M,EAAoC,SAAC3G,GAAA,IACzCpD,EAGIoD,EAHJpD,SACAyD,EAEIL,EAFJK,SACAkG,EACIvG,EADJuG,GACAtG,EAAID,EAAJC,KACGK,EAAKvJ,EAAAiJ,EALiC,CAAA,WAAA,WAAA,KAAA,SAOnC4G,EAAYL,GAAMrN,IAExB,OACEyH,MAAA,MAAAE,EAAAA,EAAA,CACE0F,GAAIK,EACJhG,KAAMX,EAAO,GAAK,WAClBc,SAAU,EACV8F,QAASxG,GACLC,GAAK,GAAA,CAAA1D,SAERA,IAGP,EAEA+J,EAAS/M,YAAc","x_google_ignoreList":[0,1,4,5,6]}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../node_modules/tslib/tslib.es6.js","../../../node_modules/classnames/index.js","../../../src/utils/generateId.ts","../../../src/utils/hooks.ts","../../../node_modules/react/cjs/react-jsx-runtime.development.js","../../../node_modules/react/jsx-runtime.js","../../../node_modules/react/cjs/react-jsx-runtime.production.js","../../../src/components/Tabs/Tab.tsx","../../../src/utils/constants.js","../../../src/utils/keyboard.js","../../../src/components/Tabs/Tabs.static.ts","../../../src/components/Tabs/Tabs.tsx","../../../src/components/Tabs/TabPanel.tsx"],"sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\r\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\r\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\r\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\r\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\r\n var _, done = false;\r\n for (var i = decorators.length - 1; i >= 0; i--) {\r\n var context = {};\r\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\r\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\r\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\r\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\r\n if (kind === \"accessor\") {\r\n if (result === void 0) continue;\r\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\r\n if (_ = accept(result.get)) descriptor.get = _;\r\n if (_ = accept(result.set)) descriptor.set = _;\r\n if (_ = accept(result.init)) initializers.unshift(_);\r\n }\r\n else if (_ = accept(result)) {\r\n if (kind === \"field\") initializers.unshift(_);\r\n else descriptor[key] = _;\r\n }\r\n }\r\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\r\n done = true;\r\n};\r\n\r\nexport function __runInitializers(thisArg, initializers, value) {\r\n var useValue = arguments.length > 2;\r\n for (var i = 0; i < initializers.length; i++) {\r\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\r\n }\r\n return useValue ? value : void 0;\r\n};\r\n\r\nexport function __propKey(x) {\r\n return typeof x === \"symbol\" ? x : \"\".concat(x);\r\n};\r\n\r\nexport function __setFunctionName(f, name, prefix) {\r\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\r\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\r\n};\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\r\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\r\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nvar ownKeys = function(o) {\r\n ownKeys = Object.getOwnPropertyNames || function (o) {\r\n var ar = [];\r\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\r\n return ar;\r\n };\r\n return ownKeys(o);\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n\r\nexport function __addDisposableResource(env, value, async) {\r\n if (value !== null && value !== void 0) {\r\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\r\n var dispose, inner;\r\n if (async) {\r\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\r\n dispose = value[Symbol.asyncDispose];\r\n }\r\n if (dispose === void 0) {\r\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\r\n dispose = value[Symbol.dispose];\r\n if (async) inner = dispose;\r\n }\r\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\r\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\r\n env.stack.push({ value: value, dispose: dispose, async: async });\r\n }\r\n else if (async) {\r\n env.stack.push({ async: true });\r\n }\r\n return value;\r\n\r\n}\r\n\r\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\r\n var e = new Error(message);\r\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\r\n};\r\n\r\nexport function __disposeResources(env) {\r\n function fail(e) {\r\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\r\n env.hasError = true;\r\n }\r\n var r, s = 0;\r\n function next() {\r\n while (r = env.stack.pop()) {\r\n try {\r\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\r\n if (r.dispose) {\r\n var result = r.dispose.call(r.value);\r\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\r\n }\r\n else s |= 1;\r\n }\r\n catch (e) {\r\n fail(e);\r\n }\r\n }\r\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\r\n if (env.hasError) throw env.error;\r\n }\r\n return next();\r\n}\r\n\r\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\r\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\r\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\r\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\r\n });\r\n }\r\n return path;\r\n}\r\n\r\nexport default {\r\n __extends: __extends,\r\n __assign: __assign,\r\n __rest: __rest,\r\n __decorate: __decorate,\r\n __param: __param,\r\n __esDecorate: __esDecorate,\r\n __runInitializers: __runInitializers,\r\n __propKey: __propKey,\r\n __setFunctionName: __setFunctionName,\r\n __metadata: __metadata,\r\n __awaiter: __awaiter,\r\n __generator: __generator,\r\n __createBinding: __createBinding,\r\n __exportStar: __exportStar,\r\n __values: __values,\r\n __read: __read,\r\n __spread: __spread,\r\n __spreadArrays: __spreadArrays,\r\n __spreadArray: __spreadArray,\r\n __await: __await,\r\n __asyncGenerator: __asyncGenerator,\r\n __asyncDelegator: __asyncDelegator,\r\n __asyncValues: __asyncValues,\r\n __makeTemplateObject: __makeTemplateObject,\r\n __importStar: __importStar,\r\n __importDefault: __importDefault,\r\n __classPrivateFieldGet: __classPrivateFieldGet,\r\n __classPrivateFieldSet: __classPrivateFieldSet,\r\n __classPrivateFieldIn: __classPrivateFieldIn,\r\n __addDisposableResource: __addDisposableResource,\r\n __disposeResources: __disposeResources,\r\n __rewriteRelativeImportExtension: __rewriteRelativeImportExtension,\r\n};\r\n","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","let idx = 0;\nconst uuid = (): number => (idx += 1);\n\n/**\n * Generates a unique ID string with an optional name prefix\n * @param name Optional prefix for the ID\n * @returns A unique ID string\n */\nexport default function generateId(name?: string): string {\n return `id${name ? `-${name}` : \"\"}-${uuid()}`;\n}\n","\"use client\";\n\nimport {\n useEffect,\n useCallback,\n useRef,\n useMemo,\n RefCallback,\n type RefObject,\n useState,\n} from \"react\";\n\nimport generateId from \"./generateId\";\n\n// Generic type for any class constructor\ntype StaticClassType<T = any> = new (element: HTMLElement, config?: any) => T;\n\n// Define a generic interface for static class instances\ninterface StaticInstance {\n update?: (config: any) => void;\n destroy?: () => void;\n}\n\n/**\n * A hook to create and manage an instance of a \"static\" class\n * @param StaticClass The class to instantiate\n * @param config Configuration options for the class\n * @returns [ref callback, instance reference]\n */\nconst useStatic = <T extends StaticInstance>(\n StaticClass: StaticClassType<T>,\n config: Record<string, any> = {},\n): [RefCallback<HTMLElement>, RefObject<T | null>] => {\n const instance = useRef<T | null>(null);\n const configRef = useRef(config);\n\n useEffect(() => {\n configRef.current = config ?? {};\n }, [config]);\n\n const ref = useCallback(\n (node: HTMLElement | null) => {\n // use latest config available\n const currentConfig = configRef.current;\n if (node) {\n if (instance.current === null) {\n instance.current = new StaticClass(node, currentConfig);\n } else {\n instance.current.update?.(currentConfig);\n }\n }\n },\n [StaticClass],\n );\n\n useEffect(\n () => () => {\n if (instance.current) {\n instance.current.destroy?.();\n instance.current = null;\n }\n },\n [],\n );\n\n return [ref, instance];\n};\n\n/**\n * A hook for creating React portals\n * From https://www.jayfreestone.com/writing/react-portals-with-hooks/\n * @param id The id of the target DOM element\n * @returns A DOM element that can be used as a portal container\n */\nfunction usePortal(id: string): HTMLDivElement {\n const rootElemRef = useRef<HTMLDivElement | null>(null);\n\n useEffect(\n function setupElement() {\n if (typeof document === \"undefined\") return;\n\n // Create element if it doesn't exist\n if (!rootElemRef.current) {\n rootElemRef.current = document.createElement(\"div\");\n }\n\n // Look for existing target dom element to append to\n const parentElem = document.querySelector(`#${id}`);\n\n // Add the detached element to the parent\n if (parentElem && rootElemRef.current) {\n parentElem.appendChild(rootElemRef.current);\n }\n\n // This function is run on unmount\n return function removeElement() {\n rootElemRef.current?.remove();\n };\n },\n [id],\n );\n\n function getRootElem(): HTMLDivElement {\n if (typeof document === \"undefined\") {\n throw new Error(\"usePortal must be used in a browser environment\");\n }\n\n if (!rootElemRef.current) {\n rootElemRef.current = document.createElement(\"div\");\n }\n return rootElemRef.current;\n }\n\n return getRootElem();\n}\n\n/**\n * Returns unique string for the `id` attribute.\n *\n * @param id Provided id\n * @param name Optional prefix\n * @returns A unique ID string\n */\nconst useUniqueId = (id?: string, name?: string): string =>\n useMemo(() => id ?? generateId(name), [id, name]);\n\n/**\n * Hydration-safe hook for generating a unique, numeric ID for tooltips and similar components.\n * Ensures IDs are consistent between SSR and client, and match test expectations.\n * @param providedId Optional externally provided ID\n * @returns Hydration-safe unique ID string (e.g., \"id-1\")\n */\nconst idCounter = { current: 0 };\n\nfunction useHydrationSafeId(providedId?: string): string {\n const [hydratedId, setHydratedId] = useState<string | undefined>(providedId);\n const idRef = useRef<string | undefined>(providedId);\n\n useEffect(() => {\n if (!providedId) {\n idCounter.current += 1;\n const newId = `id-${idCounter.current}`;\n idRef.current = newId;\n setHydratedId(newId);\n }\n }, [providedId]);\n\n return hydratedId || idRef.current || providedId || \"id-0\";\n}\n\nexport { useStatic, usePortal, useUniqueId, useHydrationSafeId };\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return (type.displayName || \"Context\") + \".Provider\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(\n type,\n key,\n self,\n source,\n owner,\n props,\n debugStack,\n debugTask\n ) {\n self = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== self ? self : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n source,\n self,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n self,\n source,\n getOwner(),\n maybeKey,\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_ELEMENT_TYPE &&\n node._store &&\n (node._store.validated = 1);\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\");\n Symbol.for(\"react.provider\");\n var REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey, source, self) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n source,\n self,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey, source, self) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n source,\n self,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","/**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nfunction jsxProd(type, config, maybeKey) {\n var key = null;\n void 0 !== maybeKey && (key = \"\" + maybeKey);\n void 0 !== config.key && (key = \"\" + config.key);\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n config = maybeKey.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== config ? config : null,\n props: maybeKey\n };\n}\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsxProd;\nexports.jsxs = jsxProd;\n","import cx from \"classnames\";\n\ninterface TabProps\n extends React.HTMLAttributes<HTMLButtonElement | HTMLAnchorElement> {\n /** Id of the tabpanel this tab controls. */\n controls?: string;\n href?: string;\n /** Active state */\n isActive?: boolean;\n /** Disabled state. */\n isDisabled?: boolean;\n className?: string;\n children?: React.ReactNode;\n}\n\nconst CLASS_TABLIST_ITEM = \"tab-list__item\";\nconst CLASS_TABLIST_TAB = \"tab-list__tab\";\n\nconst Tab: React.FC<TabProps> = ({\n href,\n children,\n className,\n controls,\n isDisabled,\n isActive,\n ...other\n}) => {\n const tabClasses = cx(CLASS_TABLIST_TAB, className);\n\n const tabindex = isActive ? 0 : -1;\n\n const Tag = href ? \"a\" : \"button\";\n\n return (\n <li className={CLASS_TABLIST_ITEM} role=\"presentation\">\n <Tag\n type={href ? undefined : \"button\"}\n role={href ? undefined : \"tab\"}\n href={href}\n className={tabClasses}\n aria-selected={isActive}\n aria-controls={controls || undefined}\n tabIndex={tabindex}\n aria-disabled={isDisabled}\n {...other}\n >\n {children}\n </Tag>\n </li>\n );\n};\n\nTab.displayName = \"Tab\";\n\nexport { Tab };\n","export const breakpoints = {\n xs: 0,\n sm: 480,\n md: 768,\n lg: 992,\n xl: 1240,\n xxl: 1380,\n};\n\n// we use array to include old browser key names like IE11\n// ie. navigation keys https://developer.mozilla.org/en-US/docs/Web/API/UI_Events/Keyboard_event_key_values#navigation_keys\nexport const keys = {\n TAB: ['Tab'],\n ENTER: ['Enter'],\n ESC: ['Esc', 'Escape'],\n SPACE: ['Spacebar', ' '],\n ARROWLEFT: ['Left', 'ArrowLeft'],\n ARROWUP: ['Up', 'ArrowUp'],\n ARROWRIGHT: ['Right', 'ArrowRight'],\n ARROWDOWN: ['Down', 'ArrowDown'],\n};\n","import { keys } from './constants';\n\n \nexport class RovingTabindex {\n constructor(\n elems,\n config = {\n direction: 'horizontal',\n }\n ) {\n this.elems = elems;\n this.config = config;\n\n this.isActive = false;\n\n this.onKeydown = this.onKeydown.bind(this);\n }\n\n init() {\n document.addEventListener('keydown', this.onKeydown);\n this.isActive = true;\n }\n\n destroy() {\n document.removeEventListener('keydown', this.onKeydown);\n this.isActive = false;\n }\n\n update(elems) {\n this.elems = elems;\n }\n\n onKeydown(e) {\n const activeElemIndex = this.elems.indexOf(document.activeElement);\n\n if (\n (keys.ARROWUP.includes(e.key) || keys.ARROWDOWN.includes(e.key)) &&\n this.config.direction === 'horizontal'\n ) {\n return;\n }\n\n if (\n (keys.ARROWLEFT.includes(e.key) || keys.ARROWRIGHT.includes(e.key)) &&\n this.config.direction === 'vertical'\n ) {\n return;\n }\n\n if (keys.ARROWDOWN.includes(e.key) || keys.ARROWRIGHT.includes(e.key)) {\n e.preventDefault();\n if (activeElemIndex >= 0 && activeElemIndex < this.elems.length - 1) {\n this.elems[activeElemIndex + 1].focus();\n } else {\n this.elems[0].focus();\n }\n }\n\n if (keys.ARROWUP.includes(e.key) || keys.ARROWLEFT.includes(e.key)) {\n e.preventDefault();\n if (activeElemIndex >= 1) {\n this.elems[activeElemIndex - 1].focus();\n } else {\n this.elems[this.elems.length - 1].focus();\n }\n }\n\n if (keys.TAB.includes(e.key)) {\n this.destroy();\n }\n }\n}\n","import { RovingTabindex } from \"../../utils/keyboard\";\n\ninterface TabsConfig {\n tabSelector: string;\n}\n\nexport const defaultConfig: TabsConfig = {\n tabSelector: '[role=\"tab\"]',\n};\n\nexport const configDocs = {\n tabSelector: \"Tab element selector\",\n};\n\nexport default class Tabs {\n private element: HTMLElement;\n private config: TabsConfig;\n private tabs: HTMLElement[];\n private tabPanels: (HTMLElement | null)[];\n private activeTabIndex: number | null;\n private rovingTabindex: RovingTabindex | null;\n\n constructor(element: HTMLElement, config?: Partial<TabsConfig>) {\n this.element = element;\n this.config = { ...defaultConfig, ...config };\n\n this.tabs = [];\n this.tabPanels = [];\n this.activeTabIndex = null;\n\n this.rovingTabindex = null;\n\n this.handleClick = this.handleClick.bind(this);\n this.handleTabFocus = this.handleTabFocus.bind(this);\n\n (this.element as any).ODS_Tabs = this;\n\n this.init();\n\n return this;\n }\n\n static getInstance(el: HTMLElement): Tabs | null {\n return el && (el as any).ODS_Tabs ? (el as any).ODS_Tabs : null;\n }\n\n private init(): void {\n this.tabs = Array.from(\n this.element.querySelectorAll<HTMLElement>(this.config.tabSelector),\n );\n\n this.tabs.map((tab, index) => {\n const controlId = tab.getAttribute(\"aria-controls\");\n this.tabPanels.push(\n controlId ? document.getElementById(controlId) : null,\n );\n tab.addEventListener(\"click\", this.handleClick);\n tab.addEventListener(\"focus\", this.handleTabFocus);\n\n if (this.isSelected(tab)) {\n this.activeTabIndex = index;\n }\n\n return tab;\n });\n\n if (!this.rovingTabindex) {\n this.rovingTabindex = new RovingTabindex(this.tabs, {\n direction: \"any\",\n });\n } else {\n this.rovingTabindex.update(this.tabs);\n }\n\n if (this.activeTabIndex !== null) {\n this.toggleTabPanel(this.tabPanels[this.activeTabIndex], \"on\");\n } else if (this.tabs.length > 0) {\n this.activateNthTab(0);\n }\n }\n\n destroy(): void {\n this.tabs.map((tab) => {\n tab.removeEventListener(\"click\", this.handleClick);\n tab.removeEventListener(\"focus\", this.handleTabFocus);\n return tab;\n });\n\n this.tabs = [];\n this.tabPanels = [];\n if (this.rovingTabindex) {\n this.rovingTabindex.destroy();\n }\n (this.element as any).ODS_Tabs = null;\n }\n\n update(): void {\n this.destroy();\n this.init();\n }\n\n private isActive = (el: HTMLElement | null): boolean =>\n el ? !el.hasAttribute(\"hidden\") : false;\n\n private isSelected = (el: HTMLElement): boolean =>\n el.getAttribute(\"aria-selected\") === \"true\";\n\n private handleClick(e: MouseEvent): void {\n const clickedTab = e.currentTarget as HTMLElement;\n\n if (clickedTab.hasAttribute(\"aria-disabled\")) {\n e.preventDefault();\n return;\n }\n\n this.tabs.map((tab, i) => {\n if (tab === clickedTab) {\n this.activeTabIndex = i;\n return this.toggleTab(tab, \"on\");\n }\n return this.toggleTab(tab, \"off\");\n });\n\n this.tabPanels.map((tabPanel) => {\n if (\n tabPanel &&\n tabPanel.getAttribute(\"id\") === clickedTab.getAttribute(\"aria-controls\")\n ) {\n return this.toggleTabPanel(tabPanel, \"on\");\n }\n return this.toggleTabPanel(tabPanel, \"off\");\n });\n }\n\n private toggleTab(el: HTMLElement, state: \"on\" | \"off\"): void {\n const isActive = this.isSelected(el);\n\n if (state === \"on\" && !isActive) {\n el.setAttribute(\"aria-selected\", \"true\");\n el.setAttribute(\"tabindex\", \"0\");\n }\n\n if (state === \"off\" && isActive) {\n el.setAttribute(\"aria-selected\", \"false\");\n el.setAttribute(\"tabindex\", \"-1\");\n }\n }\n\n private toggleTabPanel(el: HTMLElement | null, state: \"on\" | \"off\"): void {\n if (!el) return;\n\n const isActive = this.isActive(el);\n\n if (state === \"on\" && !isActive) {\n el.removeAttribute(\"hidden\");\n }\n\n if (state === \"off\" && isActive) {\n el.setAttribute(\"hidden\", \"\");\n }\n }\n\n activateNthTab(index: number): void {\n this.tabs.map((tab, i) => {\n if (i === index) {\n this.activeTabIndex = i;\n return this.toggleTab(tab, \"on\");\n }\n return this.toggleTab(tab, \"off\");\n });\n\n this.tabPanels.map((tabPanel, i) => {\n if (i === index) {\n return this.toggleTabPanel(tabPanel, \"on\");\n }\n return this.toggleTabPanel(tabPanel, \"off\");\n });\n }\n\n private handleTabFocus(): void {\n if (this.rovingTabindex && !this.rovingTabindex.isActive) {\n this.rovingTabindex.init();\n }\n }\n}\n","\"use client\";\n\nimport React from \"react\";\nimport cx from \"classnames\";\n\nimport { useStatic } from \"../../utils/hooks\";\nimport { Tab } from \"./Tab\";\nimport TabsStatic from \"./Tabs.static\";\n\nexport const variants = [\"standard\", \"light\"] as const;\n\nexport type TabsVariant = (typeof variants)[number];\n\n// Define the expected props for TabPanel children\nexport interface TabPanelProps {\n id: string;\n isDisabled?: boolean;\n isActive?: boolean;\n tab: React.ReactNode;\n href?: string;\n renderTab?: (props: TabPanelProps) => React.ReactElement;\n}\n\ninterface TabsProps extends React.HTMLAttributes<HTMLUListElement> {\n /** Active Tab index */\n activeTabIndex?: number;\n /** Additional classes for tabs header. */\n classesTabNav?: string;\n /** Color theme for the tabs */\n colorScheme?: \"dark\" | \"light\";\n /** All tabs have equal width inside a full-width container */\n hasEqualTabWidth?: boolean;\n /** Fullwidth container */\n isFullWidth?: boolean;\n /** Tabs behave as links rather than tabs */\n isLink?: boolean;\n /** Visual variant of the tabs */\n variant?: TabsVariant;\n /** Tab panels as children */\n children: React.ReactElement<TabPanelProps>[];\n}\n\nconst Tabs: React.FC<TabsProps> = ({\n activeTabIndex = 0,\n className,\n classesTabNav,\n isFullWidth,\n isLink,\n hasEqualTabWidth,\n variant = \"standard\",\n children,\n colorScheme,\n ...other\n}) => {\n const CLASS_TABNAV = \"tab-list\";\n\n const tabNavClasses = cx(\n CLASS_TABNAV,\n { [`${CLASS_TABNAV}--equal`]: hasEqualTabWidth },\n { [`${CLASS_TABNAV}--fullwidth`]: isFullWidth },\n { [`${CLASS_TABNAV}--light`]: variant === \"light\" },\n { \"is-dark\": colorScheme === \"dark\" },\n { \"is-light\": colorScheme === \"light\" },\n classesTabNav,\n className,\n );\n\n const [tabListRef] = useStatic(TabsStatic);\n\n function getTabs() {\n return children.map((tabPanel, i) => {\n const isActive = i === activeTabIndex;\n const { renderTab, id, isDisabled, tab, href } =\n tabPanel.props as TabPanelProps;\n\n if (!renderTab) {\n return React.createElement(\n Tab,\n {\n key: id,\n controls: !href ? id : \"\",\n href,\n isDisabled,\n isActive,\n },\n tab,\n );\n }\n\n const renderedTab = renderTab(tabPanel.props as TabPanelProps);\n return React.cloneElement(renderedTab, {\n key: id,\n isActive,\n } as React.HTMLAttributes<HTMLElement>);\n });\n }\n\n function getPanels() {\n return children.map((tabPanel, i) => {\n const isActive = i === activeTabIndex;\n const { id } = tabPanel.props;\n return React.cloneElement(tabPanel, {\n key: id,\n isActive,\n tab: undefined,\n } as Partial<TabPanelProps>);\n });\n }\n\n return (\n <>\n <ul\n className={tabNavClasses}\n role={isLink ? \"navigation\" : \"tablist\"}\n ref={tabListRef}\n data-tabs={isLink ? undefined : \"true\"}\n {...other}\n >\n {getTabs()}\n {isFullWidth && <li role=\"presentation\" className=\"tab-list__hr\" />}\n </ul>\n {!isLink ? getPanels() : null}\n </>\n );\n};\n\nTabs.displayName = \"Tabs\";\n\nexport { Tabs };\n","\"use client\";\n\nimport generateId from \"../../utils/generateId\";\n\ninterface TabPanelProps extends React.HTMLAttributes<HTMLDivElement> {\n /** Optional href for the tab */\n href?: string;\n /** Tabpanel id */\n id?: string;\n /** Active state */\n isActive?: boolean;\n /** Additional class names */\n className?: string;\n /** Children components */\n children?: React.ReactNode;\n}\n\nconst TabPanel: React.FC<TabPanelProps> = ({\n children,\n isActive,\n id,\n href,\n ...other\n}) => {\n const currentId = id || generateId();\n\n return (\n <div\n id={currentId}\n role={href ? \"\" : \"tabpanel\"}\n tabIndex={0}\n hidden={!isActive}\n {...other}\n >\n {children}\n </div>\n );\n};\n\nTabPanel.displayName = \"TabPanel\";\n\nexport { TabPanel };\n"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","SuppressedError","hasOwn","classNames","classes","arguments","arg","appendClass","parseValue","Array","isArray","apply","toString","includes","key","value","newClass","module","exports","default","window","idx","generateId","name","concat","process","env","NODE_ENV","getComponentNameFromType","type","$$typeof","REACT_CLIENT_REFERENCE","displayName","REACT_FRAGMENT_TYPE","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_ACTIVITY_TYPE","tag","console","error","REACT_PORTAL_TYPE","REACT_CONTEXT_TYPE","REACT_CONSUMER_TYPE","_context","REACT_FORWARD_REF_TYPE","innerType","render","REACT_MEMO_TYPE","REACT_LAZY_TYPE","_payload","_init","x","testStringCoercion","checkKeyStringCoercion","JSCompiler_inline_result","JSCompiler_temp_const","JSCompiler_inline_result$jscomp$0","Symbol","toStringTag","constructor","getTaskName","UnknownOwner","Error","elementRefGetterWithDeprecationWarning","componentName","this","didWarnAboutElementRef","props","ref","jsxDEVImpl","config","maybeKey","isStaticChildren","source","self","debugStack","debugTask","dispatcher","children","isArrayImpl","validateChildKeys","freeze","keys","filter","k","join","didWarnAboutKeySpread","getter","getOwnPropertyDescriptor","get","isReactWarning","hasValidKey","propName","warnAboutAccessingKey","specialPropKeyWarningShown","defineProperty","configurable","defineKeyPropWarningGetter","owner","REACT_ELEMENT_TYPE","_owner","enumerable","_store","writable","ReactElement","ReactSharedInternals","A","getOwner","node","validated","React","require$$0","for","__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE","createTask","unknownOwnerDebugStack","react_stack_bottom_frame","callStackForError","bind","unknownOwnerDebugTask","reactJsxRuntime_development","Fragment","jsx","trackActualOwner","recentlyCreatedOwnerStacks","jsxs","jsxRuntimeModule","jsxProd","reactJsxRuntime_production","require$$1","Tab","_a","href","className","controls","isDisabled","isActive","other","tabClasses","cx","tabindex","Tag","_jsx","role","_objectSpread","undefined","tabIndex","TAB","ARROWLEFT","ARROWUP","ARROWRIGHT","ARROWDOWN","RovingTabindex","_createClass","elems","direction","_classCallCheck","onKeydown","document","addEventListener","removeEventListener","activeElemIndex","activeElement","preventDefault","focus","destroy","defaultConfig","tabSelector","Tabs","element","el","hasAttribute","isSelected","getAttribute","assign","tabs","tabPanels","activeTabIndex","rovingTabindex","handleClick","handleTabFocus","ODS_Tabs","init","_this","from","querySelectorAll","map","tab","index","controlId","push","getElementById","update","toggleTabPanel","activateNthTab","_this2","_this3","clickedTab","currentTarget","toggleTab","tabPanel","state","setAttribute","removeAttribute","_this4","_a$activeTabIndex","classesTabNav","isFullWidth","isLink","hasEqualTabWidth","_a$variant","variant","colorScheme","CLASS_TABNAV","tabNavClasses","_defineProperty","_useStatic","StaticClass","instance","useRef","configRef","useEffect","current","useCallback","currentConfig","_b","useStatic","TabsStatic","tabListRef","_slicedToArray","_jsxs","_Fragment","_tabPanel$props","renderTab","id","createElement","renderedTab","cloneElement","TabPanel","currentId","hidden"],"mappings":"s4EA0CO,SAASA,EAAOC,EAAGC,GACtB,IAAIC,EAAI,CAAA,EACR,IAAK,IAAIC,KAAKH,EAAOI,OAAOC,UAAUC,eAAeC,KAAKP,EAAGG,IAAMF,EAAEO,QAAQL,GAAK,IAC9ED,EAAEC,GAAKH,EAAEG,IACb,G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,EAAcH,EAAUjC,EAASrI,OACvC,OAAO2C,EAAM+H,aAAaD,EAAa,CACrChO,IAAK8N,EACLlG,SAAAA,GAEJ,GAyBKuE,GAAejE,EAAAA,IAAA,KAAA,CAAIC,KAAK,eAAeV,UAAU,qBAElD2E,EAAuB,KAvBpBlI,EAAS4G,IAAI,SAACc,EAAU5M,GAC7B,IAAM4I,EAAW5I,IAAMqL,EACfyD,EAAOlC,EAASrI,MAAhBuK,GACR,OAAO5H,EAAM+H,aAAarC,EAAU,CAClC5L,IAAK8N,EACLlG,SAAAA,EACAmD,SAAK1C,GAET,KAkBJ,EAEAuB,EAAK1I,YAAc,OC7GnB,IAAMgN,EAAoC,SAAC3G,GAAA,IACzCrD,EAGIqD,EAHJrD,SACA0D,EAEIL,EAFJK,SACAkG,EACIvG,EADJuG,GACAtG,EAAID,EAAJC,KACGK,EAAKxJ,EAAAkJ,EALiC,CAAA,WAAA,WAAA,KAAA,SAOnC4G,EAAYL,GAAMtN,IAExB,OACE0H,MAAA,MAAAE,EAAAA,EAAA,CACE0F,GAAIK,EACJhG,KAAMX,EAAO,GAAK,WAClBc,SAAU,EACV8F,QAASxG,GACLC,GAAK,GAAA,CAAA3D,SAERA,IAGP,EAEAgK,EAAShN,YAAc","x_google_ignoreList":[0,1,4,5,6]}
|
|
@@ -12,5 +12,5 @@ import e,{useContext as r}from"react";function t(e,r,t){return(r=function(e){var
|
|
|
12
12
|
*
|
|
13
13
|
* This source code is licensed under the MIT license found in the
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
|
-
*/function v(){return d||(d=1,"production"!==process.env.NODE_ENV&&function(){function r(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===
|
|
15
|
+
*/function v(){return d||(d=1,"production"!==process.env.NODE_ENV&&function(){function r(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===_?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case y:return"Fragment";case b:return"Profiler";case d:return"StrictMode";case O:return"Suspense";case h:return"SuspenseList";case w:return"Activity"}if("object"==typeof e)switch("number"==typeof e.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case p:return"Portal";case g:return(e.displayName||"Context")+".Provider";case v:return(e._context.displayName||"Context")+".Consumer";case j:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case k:return null!==(t=e.displayName||null)?t:r(e.type)||"Memo";case S:t=e._payload,e=e._init;try{return r(e(t))}catch(e){}}return null}function t(e){return""+e}function n(e){try{t(e);var r=!1}catch(e){r=!0}if(r){var n=(r=console).error,o="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",o),t(e)}}function o(e){if(e===y)return"<>";if("object"==typeof e&&null!==e&&e.$$typeof===S)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch(e){return"<...>"}}function a(){return Error("react-stack-top-frame")}function i(){var e=r(this.type);return R[e]||(R[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(e=this.props.ref)?e:null}function c(e,t,o,a,c,u,p,y){var d,b=t.children;if(void 0!==b)if(a)if(P(b)){for(a=0;a<b.length;a++)s(b[a]);Object.freeze&&Object.freeze(b)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else s(b);if(x.call(t,"key")){b=r(e);var m=Object.keys(t).filter(function(e){return"key"!==e});a=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[b+a]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',a,b,m,b),D[b+a]=!0)}if(b=null,void 0!==o&&(n(o),b=""+o),function(e){if(x.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return void 0!==e.key}(t)&&(n(t.key),b=""+t.key),"key"in t)for(var v in o={},t)"key"!==v&&(o[v]=t[v]);else o=t;return b&&function(e,r){function t(){l||(l=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",r))}t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}(o,"function"==typeof e?e.displayName||e.name||"Unknown":e),function(e,r,t,n,o,a,c,s){return t=a.ref,e={$$typeof:f,type:e,key:r,props:a,_owner:o},null!==(void 0!==t?t:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:i}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:c}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:s}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(e,b,u,0,null===(d=N.A)?null:d.getOwner(),o,p,y)}function s(e){"object"==typeof e&&null!==e&&e.$$typeof===f&&e._store&&(e._store.validated=1)}var l,u=e,f=Symbol.for("react.transitional.element"),p=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),b=Symbol.for("react.profiler"),v=Symbol.for("react.consumer"),g=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),k=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),w=Symbol.for("react.activity"),_=Symbol.for("react.client.reference"),N=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,x=Object.prototype.hasOwnProperty,P=Array.isArray,E=console.createTask?console.createTask:function(){return null},R={},T=(u={react_stack_bottom_frame:function(e){return e()}}).react_stack_bottom_frame.bind(u,a)(),C=E(o(a)),D={};m.Fragment=y,m.jsx=function(e,r,t,n,a){var i=1e4>N.recentlyCreatedOwnerStacks++;return c(e,r,t,!1,0,a,i?Error("react-stack-top-frame"):T,i?E(o(e)):C)},m.jsxs=function(e,r,t,n,a){var i=1e4>N.recentlyCreatedOwnerStacks++;return c(e,r,t,!0,0,a,i?Error("react-stack-top-frame"):T,i?E(o(e)):C)}}()),m}var g=(b||(b=1,"production"===process.env.NODE_ENV?p.exports=function(){if(u)return y;u=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function t(r,t,n){var o=null;if(void 0!==n&&(o=""+n),void 0!==t.key&&(o=""+t.key),"key"in t)for(var a in n={},t)"key"!==a&&(n[a]=t[a]);else n=t;return t=n.ref,{$$typeof:e,type:r,key:o,ref:void 0!==t?t:null,props:n}}return y.Fragment=r,y.jsx=t,y.jsxs=t,y}():p.exports=v()),p.exports),j="tag",O=e.forwardRef(function(r,n){var i=r.color,c=r.size,s=r.isInverse,l=r.isDisabled,u=r.className,p=r.children,y=r.actionButton,d=a(r,["color","size","isInverse","isDisabled","className","children","actionButton"]),b=f(j,u,t(t({"tag--inverse":s},"tag--".concat(i),i),"tag--".concat(c),c));if("onClick"in r&&r.onClick){var m=d,v=m.onClick,O=a(m,["onClick"]);return g.jsx("button",o(o({type:"button",className:b,onClick:v,disabled:!!l||void 0,"aria-disabled":l?"true":void 0,ref:n},O),{},{children:p}))}if("actionButton"in r&&y){var h=d;return g.jsxs("div",{ref:n,className:"".concat(j,"__wrapper"),children:[g.jsx("span",o(o({className:b,"aria-disabled":l?"true":void 0},h),{},{children:p})),e.isValidElement(y)?e.cloneElement(y,{size:c,isDisabled:l}):y]})}var k=d;return g.jsxs("span",o(o({className:b,ref:n},k),{},{children:[p," ",y]}))});O.displayName="Tag";var h=e.createContext("/sprite.svg"),k="icon",S=function(e){var n=e.className,i=e.alt,c=e.color,s=e.name,l=e.size,u=e.spritePath,p=void 0===u?"/sprite.svg":u,y=a(e,["className","alt","color","name","size","spritePath"]),d=r(h),b=f(k,t(t({},"".concat(k,"--").concat(l),l),"".concat(k,"--").concat(c),c),n);return g.jsxs("svg",o(o({className:b,"aria-hidden":void 0!==i?void 0:"true",role:void 0!==i?"img":void 0},y),{},{children:[void 0!==i&&i.length>0&&g.jsx("title",{children:i}),g.jsx("use",{xlinkHref:"/sprite.svg"!==p||void 0===d?"".concat(p,"#").concat(s):"".concat(d,"#").concat(s)})]}))};S.displayName="Icon";var w="".concat(j,"__action"),_=e.forwardRef(function(e,r){var n=e.className,i=e.onClick,c=e.isDisabled,s=e.iconName,l=e.ariaLabel,u=e.size,p=a(e,["className","onClick","isDisabled","iconName","ariaLabel","size"]),y=f(w,t({},"".concat(w,"--").concat(u),u),n);return g.jsx("button",o(o({type:"button",className:y,onClick:i,disabled:!!c||void 0,"aria-disabled":c?"true":void 0,"aria-label":l,ref:r},p),{},{children:g.jsx(S,{size:"large"===u?"medium":"small",name:s})}))});_.displayName="TagButton";export{O as Tag,_ as TagButton};
|
|
16
16
|
//# sourceMappingURL=index.js.map
|