@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../node_modules/tslib/tslib.es6.js","../../../node_modules/classnames/index.js","../../../src/utils/ConditionalWrapper.tsx","../../../src/utils/hooks.ts","../../../src/components/Table/TableContext.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/Table/Cell.tsx","../../../src/components/Table/Header.tsx","../../../src/components/Button/Button.tsx","../../../src/components/Icon/SpritePathContext.tsx","../../../src/components/Icon/Icon.tsx","../../../src/components/Button/IconButton.tsx","../../../src/components/Table/Row.tsx","../../../src/components/Table/Rows.tsx","../../../src/components/Table/Footer.tsx","../../../src/scripts/modules/toggleUtil.ts","../../../src/scripts/modules/Toggle.ts","../../../src/components/Table/Table.static.ts","../../../src/components/Table/Table.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","import React, { cloneElement, ReactElement, ReactNode } from \"react\";\n\ninterface ConditionalWrapperProps {\n /** When to wrap children */\n condition: boolean;\n /** Wrapper element */\n wrapper: ReactElement;\n children: ReactNode;\n}\n\nconst ConditionalWrapper: React.FC<ConditionalWrapperProps> = ({\n condition,\n wrapper,\n children,\n}) => {\n if (condition) {\n return cloneElement(wrapper, undefined, children);\n }\n return children;\n};\n\nConditionalWrapper.displayName = \"ConditionalWrapper\";\n\nexport default ConditionalWrapper;\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","import React from \"react\";\nimport { TableContextType } from \"./types\";\n\nconst TableContext = React.createContext<TableContextType>({\n headers: [],\n rows: [],\n});\n\nexport default TableContext;\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 React from \"react\";\n\nexport const cellTags = [\"th\", \"td\"] as const;\n\nexport type CellTag = (typeof cellTags)[number];\n\nexport interface CellProps extends React.HTMLAttributes<HTMLTableCellElement> {\n /** Render cell as */\n tag?: CellTag;\n /** Scope attribute for th elements */\n scope?: string;\n}\n\nconst Cell: React.FC<CellProps> = ({ tag = \"td\", ...other }) => {\n const Tag = tag;\n\n return <Tag {...other} />;\n};\n\nCell.displayName = \"TableCell\";\n\nexport { Cell };\n","\"use client\";\n\nimport React from \"react\";\n\nimport TableContext from \"./TableContext\";\nimport { Cell } from \"./Cell\";\nimport { TableHeader } from \"./types\";\n\ninterface SortOptions {\n none: string;\n ascending: string;\n descending: string;\n}\n\nconst Header: React.FC = () => {\n const { headers, expandableRows } = React.useContext(TableContext);\n const sortOptions: SortOptions = {\n none: `zoradiť vzostupne podľa`,\n ascending: `zoradiť zostupne podľa`,\n descending: `vypnúť zoradenie poďľa`,\n };\n\n return (\n <thead>\n <tr>\n {headers.map((header: TableHeader, i: number) => {\n const {\n isSortable,\n sort = \"none\",\n label,\n cellProps,\n headCellProps,\n } = header;\n return (\n <Cell\n tag=\"th\"\n key={i.toString()}\n {...cellProps}\n {...headCellProps}\n {...(isSortable && {\n \"aria-sort\": sort,\n })}\n scope=\"col\"\n >\n {label}\n {isSortable && (\n <>\n {\" \"}\n <button type=\"button\" className=\"table__sort-button\">\n <span className=\"sr-only\">\n {sortOptions[sort]} {label}\n </span>\n </button>\n </>\n )}\n </Cell>\n );\n })}\n {expandableRows?.hasExpandableRows && (\n <Cell tag=\"th\" scope=\"col\" className=\"table__cell--shrink\">\n <span className=\"sr-only\">\n {expandableRows?.expandableRowsCaptions?.header}\n </span>\n </Cell>\n )}\n </tr>\n </thead>\n );\n};\n\nHeader.displayName = \"TableHeader\";\n\nexport { Header };\n","import React from \"react\";\nimport cx from \"classnames\";\n\nexport type ButtonSize = \"small\" | \"large\";\nexport type ButtonType = \"primary\" | \"fill\" | \"ghost\";\n\ninterface CommonProps {\n elemRef?: React.Ref<any>;\n htmlType?: \"button\" | \"submit\" | \"reset\";\n isActive?: boolean;\n isDefault?: boolean;\n isDisabled?: boolean;\n colorScheme?: \"dark\" | \"light\";\n isSquare?: boolean;\n size?: ButtonSize;\n type?: ButtonType;\n className?: string;\n children?: React.ReactNode;\n}\n\ntype AnchorProps = CommonProps &\n Omit<\n React.AnchorHTMLAttributes<HTMLAnchorElement>,\n keyof CommonProps | \"type\" | \"ref\"\n > & {\n href: string;\n };\n\ntype NativeButtonProps = CommonProps &\n Omit<\n React.ButtonHTMLAttributes<HTMLButtonElement>,\n keyof CommonProps | \"href\" | \"ref\"\n > & {\n href?: undefined;\n };\n\nexport type ButtonProps = AnchorProps | NativeButtonProps;\n\nconst CLASS_ROOT = \"btn\";\n\nconst Button = React.forwardRef<any, ButtonProps>((props, ref) => {\n const {\n className,\n children,\n htmlType = \"button\",\n href,\n isActive,\n isDefault,\n isDisabled,\n colorScheme,\n size,\n isSquare,\n type,\n elemRef,\n ...other\n } = props;\n\n const classes = cx(\n CLASS_ROOT,\n {\n [`${CLASS_ROOT}--square`]: isSquare,\n [`${CLASS_ROOT}--${size}`]: size,\n [`${CLASS_ROOT}--${type}`]: type,\n [`${CLASS_ROOT}--default`]: isDefault,\n \"is-dark\": colorScheme === \"dark\",\n \"is-light\": colorScheme === \"light\",\n \"is-active\": isActive,\n },\n className,\n );\n\n if (href) {\n // Anchor element\n const anchorProps = other as React.AnchorHTMLAttributes<HTMLAnchorElement>;\n return (\n <a\n href={href}\n className={classes}\n aria-disabled={isDisabled ? \"true\" : undefined}\n ref={elemRef || ref}\n {...anchorProps}\n >\n {children}\n </a>\n );\n } else {\n // Button element\n const buttonProps = other as React.ButtonHTMLAttributes<HTMLButtonElement>;\n return (\n <button\n type={htmlType}\n className={classes}\n disabled={isDisabled ? true : undefined}\n aria-disabled={isDisabled ? \"true\" : undefined}\n ref={elemRef || ref}\n {...buttonProps}\n >\n {children}\n </button>\n );\n }\n});\n\nButton.displayName = \"Button\";\n\nexport { Button };\n","\"use client\";\n\nimport React, { ReactNode } from \"react\";\n\nexport const SpritePathContext = React.createContext(\"/sprite.svg\");\n\ninterface SpritePathProviderProps {\n children: ReactNode;\n value?: string;\n}\n\nexport const SpritePathProvider: React.FC<SpritePathProviderProps> = ({\n children,\n value = \"/sprite.svg\",\n ...other\n}) => {\n return (\n <SpritePathContext.Provider value={value} {...other}>\n {React.Children.only(children)}\n </SpritePathContext.Provider>\n );\n};\n","\"use client\";\n\nimport React, { useContext } from \"react\";\nimport cx from \"classnames\";\nimport { SpritePathContext } from \"./SpritePathContext\";\n\nexport type IconColor = \"info\" | \"success\" | \"warning\" | \"danger\" | \"orange\";\nexport type IconSize =\n | \"small\"\n | \"medium\"\n | \"large\"\n | \"xlarge\"\n | \"xxlarge\"\n | \"huge\";\n\nexport interface IconProps extends React.SVGAttributes<SVGSVGElement> {\n /** Accessible label for the icon. */\n alt?: string;\n /** Icon color. */\n color?: IconColor;\n /** Icon name (required). */\n name: string;\n /** Icon size. */\n size?: IconSize;\n /** Path to the SVG sprite. */\n spritePath?: string;\n className?: string;\n}\n\nconst CLASS_ROOT = \"icon\";\n\nconst Icon: React.FC<IconProps> = ({\n className,\n alt,\n color,\n name,\n size,\n spritePath = \"/sprite.svg\",\n ...other\n}) => {\n const contextPath = useContext(SpritePathContext);\n\n const classes = cx(\n CLASS_ROOT,\n {\n [`${CLASS_ROOT}--${size}`]: size,\n [`${CLASS_ROOT}--${color}`]: color,\n },\n className,\n );\n\n return (\n <svg\n className={classes}\n aria-hidden={alt !== undefined ? undefined : \"true\"}\n role={alt !== undefined ? \"img\" : undefined}\n {...other}\n >\n {alt !== undefined && alt.length > 0 && <title>{alt}</title>}\n <use\n xlinkHref={\n spritePath !== \"/sprite.svg\" || typeof contextPath === \"undefined\"\n ? `${spritePath}#${name}`\n : `${contextPath}#${name}`\n }\n />\n </svg>\n );\n};\n\nIcon.displayName = \"Icon\";\n\nexport { Icon };\n","import React from \"react\";\nimport cx from \"classnames\";\n\nimport { Icon } from \"../Icon\";\nimport { Button, ButtonSize } from \"./Button\";\n\nexport type IconPosition = \"left\" | \"right\";\n\nexport interface IconButtonProps\n extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, \"type\" | \"ref\"> {\n /** Name of the icon */\n iconName: string;\n /** Position of the icon */\n iconPosition?: IconPosition;\n /** Class of the icon */\n iconClassName?: string;\n /** Button size. Also affects icon size */\n size?: ButtonSize;\n /** Use square button. Children are rendered as visually hidden */\n isSquare?: boolean;\n children?: React.ReactNode;\n}\n\nconst IconButton = React.forwardRef<HTMLButtonElement, IconButtonProps>(\n (\n {\n iconName,\n iconPosition = \"left\",\n iconClassName,\n children,\n size,\n isSquare,\n ...other\n },\n ref,\n ) => {\n const IconComponent = ({ className, ...props }: { className?: string }) => (\n <Icon\n name={iconName}\n size={size ?? \"medium\"}\n className={cx(iconClassName, className)}\n {...props}\n />\n );\n\n if (isSquare) {\n return (\n <Button size={size} isSquare {...other} ref={ref}>\n <IconComponent />\n <span className=\"visually-hidden\">{children}</span>\n </Button>\n );\n }\n\n return (\n <Button ref={ref} size={size} {...other}>\n {iconPosition === \"left\" && <IconComponent className=\"btn__icon-left\" />}\n {children}\n {iconPosition === \"right\" && <IconComponent className=\"btn__icon-right\" />}\n </Button>\n );\n },\n);\n\nIconButton.displayName = \"IconButton\";\n\nexport { IconButton };\n","\"use client\";\n\nimport React from \"react\";\n\nimport { Button } from \"../Button/\";\nimport { Icon } from \"../Icon/\";\n\nimport TableContext from \"./TableContext\";\nimport { Cell } from \"./Cell\";\nimport { TableRow } from \"./types\";\n\ninterface RowProps {\n row: TableRow;\n}\n\nconst Row = ({ row }: RowProps) => {\n const { headers, expandableRows } = React.useContext(TableContext);\n return headers.map(({ key, cellProps }, index, array) => {\n const cell = row[key];\n const isObject = typeof cell === \"object\" && cell !== null;\n const value = isObject && \"value\" in cell ? cell.value : cell;\n const props =\n isObject && \"value\" in cell\n ? Object.entries(cell)\n .filter(([k]) => k !== \"value\")\n .reduce((acc, [k, v]) => ({ ...acc, [k]: v }), {})\n : {};\n const rl = row?.expand?.length || 0;\n return (\n <React.Fragment key={key}>\n <Cell {...cellProps} {...props}>\n {value ? (value as React.ReactNode) : \"\"}\n </Cell>\n {index === array.length - 1 &&\n expandableRows?.hasExpandableRows &&\n (row?.expand ? (\n <Cell className=\"align-right table__cell--shrink table__cell--expand\">\n <Button\n type=\"ghost\"\n htmlType=\"button\"\n size=\"small\"\n isSquare\n className=\"mb-none\"\n data-subrow-toggle\n aria-expanded={row.isExpanded ? \"true\" : \"false\"}\n aria-controls={row.expand?.map((r) => r.id).join(\" \")}\n >\n <span className=\"visually-hidden\">\n {`Zobraziť ${rl} súvisiac${\n rl > 4 ? \"ich\" : rl > 1 ? \"e\" : \"i\"\n } riad${rl > 4 ? \"kov\" : rl > 1 ? \"ky\" : \"ok\"}`}\n </span>\n <Icon name=\"chevron-down\" size=\"large\" />\n </Button>\n </Cell>\n ) : (\n <Cell className=\"align-right table__cell--shrink\">\n <span className=\"sr-only\">\n {expandableRows?.expandableRowsCaptions?.emptyRow}\n </span>\n </Cell>\n ))}\n </React.Fragment>\n );\n });\n};\n\nRow.displayName = \"TableRow\";\n\nexport { Row };\n","\"use client\";\n\nimport React from \"react\";\n\nimport TableContext from \"./TableContext\";\nimport { Row } from \"./Row\";\nimport { TableRow } from \"./types\";\n\nconst Rows: React.FC = () => {\n const { rows } = React.useContext(TableContext);\n return (\n <tbody>\n {rows.map((row, i) => (\n <React.Fragment key={i.toString()}>\n <tr>\n <Row row={row} />\n </tr>\n {row?.expand?.map(({ id, ...expandableRow }, j) => (\n <tr\n key={j.toString()}\n id={id}\n className=\"table__subrow\"\n hidden={row.isExpanded ? undefined : true}\n >\n <Row row={expandableRow as TableRow} />\n </tr>\n ))}\n </React.Fragment>\n ))}\n </tbody>\n );\n};\n\nRows.displayName = \"TableRows\";\n\nexport { Rows };\n","\"use client\";\n\nimport React from \"react\";\n\nimport { Row } from \"./Row\";\nimport TableContext from \"./TableContext\";\nimport { TableContextType, TableRow } from \"./types\";\n\nconst Footer: React.FC = () => {\n const { footers } = React.useContext(TableContext) as TableContextType;\n\n return footers ? (\n <tfoot>\n {footers.map((row: TableRow, i: number) => (\n <tr key={i.toString()}>\n <Row row={row} />\n </tr>\n ))}\n </tfoot>\n ) : null;\n};\n\nFooter.displayName = \"TableFooter\";\n\nexport { Footer };\n","import { TOGGLE_EVT } from \"./Toggle\";\n\ninterface ToggleProps {\n element: Element | null;\n attribute: string;\n action?: string;\n value?: string | boolean;\n dispatchEvent?: boolean;\n eventDetail?: {\n trigger: Element;\n element: Element;\n };\n}\n\nexport default function toggle(props: ToggleProps): string | boolean | null {\n const {\n element,\n attribute,\n action,\n value,\n dispatchEvent = true,\n eventDetail,\n } = props;\n let returnValue: string | boolean | null = null;\n\n if (!element || !(element instanceof Element)) {\n return returnValue;\n }\n\n if (action === \"focus\") {\n setTimeout(() => (element as HTMLElement).focus(), 20);\n }\n\n if (action === \"click\") {\n (element as HTMLElement).click();\n }\n\n if (attribute === \"class\" && typeof value === \"string\") {\n element.classList.toggle(value);\n returnValue = value;\n }\n\n if (attribute === \"text\") {\n const oldText = element.textContent;\n element.textContent = value?.toString() || \"\";\n returnValue = oldText;\n }\n\n if (\n attribute !== \"class\" &&\n attribute !== \"text\" &&\n typeof action === \"undefined\"\n ) {\n returnValue = element.getAttribute(attribute);\n\n if (attribute === \"hidden\") {\n if (element.hasAttribute(attribute)) {\n element.removeAttribute(attribute);\n } else {\n element.setAttribute(attribute, \"\");\n }\n } else if (!value) {\n element.setAttribute(attribute, String(!(returnValue === \"true\")));\n } else {\n element.setAttribute(attribute, String(value));\n }\n }\n\n if (dispatchEvent) {\n element.dispatchEvent(\n new CustomEvent(TOGGLE_EVT, {\n detail: eventDetail,\n bubbles: true,\n }),\n );\n }\n\n return returnValue;\n}\n","// ---------------------------------------------------\n// Toggle\n// module for handling toggle actions\n\nimport toggle from \"./toggleUtil\";\n\nexport const TRIGGER_EVT = \"toggleTrigger\";\nexport const TOGGLE_EVT = \"toggle\";\n\ninterface ToggleConfig {\n activeClass: string;\n settingsAttr: string;\n}\n\ninterface ToggleSetting {\n target: string;\n attribute: string;\n action?: string;\n value?: string | boolean;\n}\n\ninterface ToggleTarget extends Omit<ToggleSetting, \"target\"> {\n element: Element;\n value?: string | boolean;\n dispatchEvent?: boolean;\n}\n\nconst defaultConfig: ToggleConfig = {\n activeClass: \"is-active\",\n settingsAttr: \"data-toggle\",\n};\n\nclass Toggle {\n private element: HTMLElement;\n private config: ToggleConfig;\n private settings: ToggleSetting[];\n private targets: ToggleTarget[];\n\n constructor(element: HTMLElement, config?: Partial<ToggleConfig>) {\n this.element = element;\n this.config = { ...defaultConfig, ...config };\n\n this.settings = [];\n this.targets = [];\n\n this.handleClick = this.handleClick.bind(this);\n\n (this.element as any).ODS_Toggle = this;\n\n this.init();\n\n return this;\n }\n\n doToggle(props: ToggleTarget): ToggleTarget {\n const { dispatchEvent = true } = props;\n const { element, attribute, value: initialValue, action } = props;\n\n const returnProps = { ...props };\n const eventDetail = { trigger: this.element, element };\n\n let attributeToUse = attribute;\n let elementToUse = element;\n let value = initialValue;\n\n if (attributeToUse === \"icon\") {\n attributeToUse = \"xlink:href\";\n elementToUse = element.querySelector(\"use\") as Element;\n }\n\n if (attributeToUse === \"text\") {\n elementToUse = (element.querySelector(\"[data-toggle-text-target]\") ||\n element) as Element;\n }\n\n if (typeof value === \"undefined\") {\n value = false;\n }\n\n const toggleResult = toggle({\n element: elementToUse,\n attribute: attributeToUse,\n action,\n value,\n dispatchEvent,\n eventDetail,\n });\n\n if (toggleResult !== null) {\n returnProps.value = toggleResult as string | boolean;\n }\n\n return returnProps;\n }\n\n init(): ToggleTarget[] {\n this.settings = this.parseSettings();\n this.targets = this.setupTargets();\n this.element.addEventListener(\"click\", this.handleClick);\n return this.targets;\n }\n\n handleClick(): void {\n this.targets = this.targets.map((target) => this.doToggle(target));\n this.element.dispatchEvent(new CustomEvent(TRIGGER_EVT, { bubbles: true }));\n }\n\n destroy(): void {\n this.element.removeEventListener(\"click\", this.handleClick);\n this.settings = [];\n this.targets = [];\n }\n\n update(): void {\n this.removeNonExistentTargets();\n this.addNewTargets();\n }\n\n static getTargetElementsFromString({\n target,\n trigger,\n }: {\n target: string;\n trigger: HTMLElement;\n }): Element[] {\n const selector = target.trim();\n\n if (selector === \"self\") {\n return [trigger];\n }\n\n if (selector === \"parent\") {\n return [trigger.parentNode as Element];\n }\n\n if (selector === \"previous\") {\n return [trigger.previousElementSibling as Element];\n }\n\n if (selector === \"next\") {\n return [trigger.nextElementSibling as Element];\n }\n\n if (typeof selector === \"string\") {\n // don't be tempted to remove this querySelectorAll\n // selector like '.target-elements' whould not work as expected\n return Array.from(document.querySelectorAll(selector));\n }\n\n // add log why we endup here\n return [];\n }\n\n parseSettings(): ToggleSetting[] {\n const jsonSettings = this.element.getAttribute(this.config.settingsAttr);\n const ariaControls = this.element.getAttribute(\"aria-controls\");\n\n let settings: ToggleSetting[] = [];\n\n try {\n if (jsonSettings) {\n settings = JSON.parse(jsonSettings);\n }\n } catch (e) {\n console.warn(\"Invalid JSON in data-toggle attribute\", e);\n }\n\n if (ariaControls) {\n const ariaExpanded = this.element.getAttribute(\"aria-expanded\");\n\n settings = [\n ...(ariaExpanded\n ? [\n {\n target: \"self\",\n attribute: \"aria-expanded\",\n },\n ]\n : []),\n {\n target: ariaControls\n .split(\" \")\n .map((a) => `#${a}`)\n .join(\",\"),\n attribute: \"hidden\",\n },\n ...(Array.isArray(settings) ? settings : []),\n ];\n }\n\n return settings;\n }\n\n setupTargets(): ToggleTarget[] {\n const trigger = this.element;\n\n return this.settings.reduce<ToggleTarget[]>((allSettings, setting) => {\n if (!setting || !setting.target) {\n return allSettings;\n }\n\n return [\n ...allSettings,\n ...setting.target.split(\",\").reduce<ToggleTarget[]>(\n (targetSettings, target) => [\n ...targetSettings,\n ...Toggle.getTargetElementsFromString({\n target,\n trigger,\n }).map((element) => ({\n ...setting,\n element,\n })),\n ],\n [],\n ),\n ];\n }, []);\n }\n\n removeNonExistentTargets(): void {\n this.targets = this.targets.filter((target) =>\n document.contains(target.element),\n );\n }\n\n addNewTargets(): void {\n const allTargets = this.setupTargets();\n const newTargets = allTargets.filter(\n (newTarget) =>\n !this.targets.find(\n (target) =>\n target.element === newTarget.element &&\n target.action === newTarget.action,\n ),\n );\n\n this.targets = [...this.targets, ...newTargets];\n }\n\n static getInstance(el: HTMLElement): Toggle | null {\n return el && (el as any).ODS_Toggle ? (el as any).ODS_Toggle : null;\n }\n}\n\nexport default Toggle;\n","import toggle from \"../../scripts/modules/toggleUtil\";\n\ninterface TableConfig {\n expandButtonSelector: string;\n scrollableContainerSelector: string;\n responsiveTableSelector: string;\n}\n\nexport const defaultConfig: TableConfig = {\n expandButtonSelector: \"[data-subrow-toggle]\",\n scrollableContainerSelector: \".table-scrollable\",\n responsiveTableSelector: `[data-table=\"responsive\"]`,\n};\n\nexport default class Table {\n private element: HTMLElement;\n private config: TableConfig;\n private expandButtons: HTMLElement[];\n private scrollableContainer: HTMLElement | null;\n private resizeObserver: ResizeObserver;\n\n constructor(element: HTMLElement, config?: Partial<TableConfig>) {\n this.element = element;\n this.config = { ...defaultConfig, ...config };\n\n this.addRole = this.addRole.bind(this);\n this.addARIA = this.addARIA.bind(this);\n this.onExpandClick = this.onExpandClick.bind(this);\n\n this.expandButtons = [];\n this.scrollableContainer = null;\n\n (this.element as any).ODS_Table = this;\n\n this.resizeObserver = new ResizeObserver((entries) => {\n if (!this.scrollableContainer) return;\n\n const containerRect = this.scrollableContainer.getBoundingClientRect();\n\n entries.forEach((entry) => {\n if (entry.contentRect.width > containerRect.width) {\n this.scrollableContainer?.setAttribute(\"tabindex\", \"0\");\n } else {\n this.scrollableContainer?.removeAttribute(\"tabindex\");\n }\n });\n });\n\n this.init();\n\n return this;\n }\n\n private addRole(selector: string, role: string): void {\n const items = Array.from(this.element.querySelectorAll(selector));\n\n items.forEach((item) => {\n item.setAttribute(\"role\", role);\n });\n }\n\n private addARIA(): void {\n try {\n this.element.setAttribute(\"role\", \"table\");\n this.addRole(\"thead, tbody, tfoot\", \"rowgroup\");\n this.addRole(\"tr\", \"row\");\n this.addRole(\"td\", \"cell\");\n this.addRole(\"th\", \"columnheader\");\n this.addRole(\"th[scope=row]\", \"rowheader\");\n // caption role not needed as it is not a real role and\n // browsers do not dump their own role with display block\n } catch (e) {\n console.log(\"Table.addARIA(): \" + e);\n }\n }\n\n private onExpandClick(e: Event): void {\n const button = e.currentTarget as HTMLElement;\n const ariaControls = button.getAttribute(\"aria-controls\") ?? \"\";\n const controlRows = this.element.querySelectorAll(\n ariaControls\n .split(\" \")\n .map((id) => `#${id}`)\n .join(\",\"),\n );\n\n toggle({\n element: button,\n attribute: \"aria-expanded\",\n });\n\n controlRows.forEach((row) => {\n toggle({\n element: row as HTMLElement,\n attribute: \"hidden\",\n });\n });\n }\n\n private init(): void {\n this.expandButtons = Array.from(\n this.element.querySelectorAll<HTMLElement>(\n this.config.expandButtonSelector,\n ),\n );\n\n this.expandButtons.forEach((button) => {\n button.addEventListener(\"click\", this.onExpandClick);\n });\n\n if (this.element.matches(this.config.responsiveTableSelector)) {\n this.addARIA();\n }\n this.maybeInitScrollable();\n }\n\n private maybeInitScrollable(): boolean | undefined {\n this.scrollableContainer = this.element.closest<HTMLElement>(\n this.config.scrollableContainerSelector,\n );\n if (this.scrollableContainer) {\n this.resizeObserver.observe(this.element);\n return true;\n }\n return undefined;\n }\n\n public destroy(): void {\n this.expandButtons.forEach((button) => {\n button.removeEventListener(\"click\", this.onExpandClick);\n });\n\n this.resizeObserver.disconnect();\n\n this.expandButtons = [];\n }\n\n public update(): void {\n this.destroy();\n this.init();\n }\n\n static getInstance(el: HTMLElement): Table | null {\n return el && (el as any).ODS_Table ? (el as any).ODS_Table : null;\n }\n}\n","\"use client\";\n\nimport React, { useId } from \"react\";\nimport cx from \"classnames\";\n\nimport ConditionalWrapper from \"../../utils/ConditionalWrapper\";\nimport { useStatic } from \"../../utils/hooks\";\n\nimport { Header } from \"./Header\";\nimport TableContext from \"./TableContext\";\nimport { Rows } from \"./Rows\";\nimport { Footer } from \"./Footer\";\nimport TableStatic from \"./Table.static\";\nimport { TableHeader, TableRow, ExpandableRowsCaptions } from \"./types\";\n\ninterface TableProps extends React.TableHTMLAttributes<HTMLTableElement> {\n /** Caption helps users with screen readers to find a table and understand what it's about and decide if they want to read it. */\n caption?: React.ReactNode;\n expandableRowsCaptions?: ExpandableRowsCaptions;\n /** Foot element for table */\n footers?: TableRow[];\n /** Labels for headers in the table. Value of the key in headers match with the key name in rows */\n headers: TableHeader[];\n /** Compact table only takes spaced needed to display its content */\n isCompact?: boolean;\n /** If table has horizontal scrollbar */\n isScrollable?: boolean;\n /** Different colors for even and odd rows. */\n isStriped?: boolean;\n /** rows to print out in the table. */\n rows: TableRow[];\n className?: string;\n /** Sets color scheme */\n colorScheme?: \"dark\" | \"light\";\n}\n\nconst CLASS_ROOT = \"table\";\n\nconst Table: React.FC<TableProps> = ({\n className,\n caption,\n headers,\n rows,\n footers,\n isCompact,\n isStriped,\n isScrollable,\n colorScheme,\n expandableRowsCaptions = {\n header: \"Rozšíriteľný\",\n emptyRow: \"Nerozšíriteľný riadok\",\n },\n ...other\n}) => {\n const [tableRef] = useStatic(TableStatic);\n const idPrefix = useId();\n\n const classes = cx(\n CLASS_ROOT,\n {\n [`${CLASS_ROOT}--striped`]: isStriped,\n [`${CLASS_ROOT}--compact`]: isCompact,\n \"is-dark\": colorScheme === \"dark\",\n \"is-light\": colorScheme === \"light\",\n },\n className,\n );\n\n const captionId = `${idPrefix}-caption`;\n\n const expandableRows = {\n hasExpandableRows: rows.some(\n (row) => row && row.expand && row.expand.length > 0,\n ),\n expandableRowsCaptions,\n };\n\n const customRows = rows.map((row, rowIndex) => {\n if (row && row.expand) {\n return {\n ...row,\n expand: row.expand.map((expandableRow, expandIndex) => ({\n ...expandableRow,\n id: `${idPrefix}-row-${rowIndex}-${expandIndex}`,\n })),\n };\n }\n\n return row;\n });\n\n const context = {\n headers,\n footers,\n rows: customRows,\n expandableRows,\n };\n\n const table = (\n <TableContext.Provider value={context}>\n <ConditionalWrapper\n condition={isScrollable || false}\n wrapper={\n <div\n className={`${CLASS_ROOT}-scrollable`}\n role=\"group\"\n {...(caption && { \"aria-labelledby\": captionId })}\n />\n }\n >\n <table ref={tableRef} className={classes} {...other}>\n {caption && (\n <caption {...(isScrollable && { id: captionId })}>\n {caption}\n </caption>\n )}\n <Header />\n <Rows />\n <Footer />\n </table>\n </ConditionalWrapper>\n </TableContext.Provider>\n );\n\n return table;\n};\n\nTable.displayName = \"Table\";\n\nexport { Table };\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","ConditionalWrapper","_ref","condition","wrapper","children","cloneElement","undefined","displayName","TableContext","React","createContext","headers","rows","process","env","NODE_ENV","getComponentNameFromType","type","$$typeof","REACT_CLIENT_REFERENCE","name","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","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","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","Cell","_a","_a$tag","other","Tag","_jsx","_objectSpread","Header","_React$useContext","useContext","expandableRows","sortOptions","none","ascending","descending","_jsxs","map","header","isSortable","_header$sort","sort","label","cellProps","headCellProps","scope","_Fragment","className","hasExpandableRows","expandableRowsCaptions","CLASS_ROOT","Button","forwardRef","_props$htmlType","htmlType","href","isActive","isDefault","isDisabled","colorScheme","size","isSquare","elemRef","cx","_defineProperty","concat","anchorProps","buttonProps","disabled","SpritePathContext","Icon","alt","color","_a$spritePath","spritePath","contextPath","role","xlinkHref","iconName","_a$iconPosition","iconPosition","iconClassName","IconComponent","Row","row","_ref2","index","array","cell","isObject","_typeof","entries","_ref3","_slicedToArray","reduce","acc","_ref5","_ref6","v","assign","rl","expand","isExpanded","_b","r","id","_c","emptyRow","Rows","j","expandableRow","hidden","Footer","footers","toggle","element","attribute","action","_props$dispatchEvent","dispatchEvent","eventDetail","returnValue","Element","setTimeout","focus","click","classList","oldText","textContent","getAttribute","hasAttribute","removeAttribute","setAttribute","String","CustomEvent","detail","bubbles","defaultConfig","expandButtonSelector","scrollableContainerSelector","responsiveTableSelector","Table","_this","_classCallCheck","addRole","addARIA","onExpandClick","expandButtons","scrollableContainer","ODS_Table","resizeObserver","ResizeObserver","containerRect","getBoundingClientRect","forEach","entry","contentRect","width","init","selector","from","querySelectorAll","item","log","button","currentTarget","ariaControls","controlRows","split","_this2","addEventListener","matches","maybeInitScrollable","closest","observe","_this3","removeEventListener","disconnect","destroy","el","caption","isCompact","isStriped","isScrollable","_a$expandableRowsCapt","_useStatic","StaticClass","instance","useRef","configRef","useEffect","current","useCallback","currentConfig","update","useStatic","TableStatic","tableRef","idPrefix","useId","captionId","some","context","rowIndex","expandIndex","Provider"],"mappings":"4+EA0CO,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,EAAEQ,OAAQD,IAC3DT,EAAEO,QAAQL,EAAEO,IAAM,GAAKN,OAAOC,UAAUO,qBAAqBL,KAAKP,EAAGG,EAAEO,MACvER,EAAEC,EAAEO,IAAMV,EAAEG,EAAEO,IAF4B,CAItD,OAAOR,CACX,qGAoRkD,mBAApBW,iBAAiCA;;;;;yBCjU9D,WAGA,IAAIC,EAAS,CAAA,EAAGR,eAEhB,SAASS,IAGR,IAFA,IAAIC,EAAU,GAELN,EAAI,EAAGA,EAAIO,UAAUN,OAAQD,IAAK,CAC1C,IAAIQ,EAAMD,UAAUP,GAChBQ,IACHF,EAAUG,EAAYH,EAASI,EAAWF,IAE9C,CAEE,OAAOF,CACT,CAEC,SAASI,EAAYF,GACpB,GAAmB,iBAARA,GAAmC,iBAARA,EACrC,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H,CACT,GAMErD,eAAAA,GA6BF,OAzBEL,EAAAA,IAAClH,EAAaqS,SAAQ,CAACnT,MAAOgT,EAAQtS,SACpCsH,EAAAA,IAAC1H,EAAkB,CACjBE,UAAWqR,IAAgB,EAC3BpR,QACEuH,EAAAA,IAAA,MAAAC,EAAA,CACEoB,UAAS,GAAAkB,OAAKf,EAAU,eACxB0B,KAAK,SACAwG,GAAW,CAAE,kBAAmBoB,KAExCpS,SAEDgI,EAAAA,KAAA,QAAAT,EAAAA,EAAA,CAAOjE,IAAK2O,EAAUtJ,UAAWhK,GAAayI,GAAK,GAAA,CAAApH,SAAA,CAChDgR,GACC1J,MAAA,UAAAC,EAAAA,EAAA,CAAA,EAAc4J,GAAgB,CAAE9E,GAAI+F,IAAW,CAAA,EAAA,CAAApS,SAC5CgR,KAGL1J,EAAAA,IAACE,EAAM,CAAA,GACPF,EAAAA,IAACkF,MACDlF,MAACsF,aAOX,EAEA6B,EAAMtO,YAAc","x_google_ignoreList":[0,1,5,6,7]}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../node_modules/tslib/tslib.es6.js","../../../node_modules/classnames/index.js","../../../src/utils/ConditionalWrapper.tsx","../../../src/utils/hooks.ts","../../../src/components/Table/TableContext.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/Table/Cell.tsx","../../../src/components/Table/Header.tsx","../../../src/components/Button/Button.tsx","../../../src/components/Icon/SpritePathContext.tsx","../../../src/components/Icon/Icon.tsx","../../../src/components/Button/IconButton.tsx","../../../src/components/Table/Row.tsx","../../../src/components/Table/Rows.tsx","../../../src/components/Table/Footer.tsx","../../../src/scripts/modules/toggleUtil.ts","../../../src/scripts/modules/Toggle.ts","../../../src/components/Table/Table.static.ts","../../../src/components/Table/Table.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","import React, { cloneElement, ReactElement, ReactNode } from \"react\";\n\ninterface ConditionalWrapperProps {\n /** When to wrap children */\n condition: boolean;\n /** Wrapper element */\n wrapper: ReactElement;\n children: ReactNode;\n}\n\nconst ConditionalWrapper: React.FC<ConditionalWrapperProps> = ({\n condition,\n wrapper,\n children,\n}) => {\n if (condition) {\n return cloneElement(wrapper, undefined, children);\n }\n return children;\n};\n\nConditionalWrapper.displayName = \"ConditionalWrapper\";\n\nexport default ConditionalWrapper;\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","import React from \"react\";\nimport { TableContextType } from \"./types\";\n\nconst TableContext = React.createContext<TableContextType>({\n headers: [],\n rows: [],\n});\n\nexport default TableContext;\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 React from \"react\";\n\nexport const cellTags = [\"th\", \"td\"] as const;\n\nexport type CellTag = (typeof cellTags)[number];\n\nexport interface CellProps extends React.HTMLAttributes<HTMLTableCellElement> {\n /** Render cell as */\n tag?: CellTag;\n /** Scope attribute for th elements */\n scope?: string;\n}\n\nconst Cell: React.FC<CellProps> = ({ tag = \"td\", ...other }) => {\n const Tag = tag;\n\n return <Tag {...other} />;\n};\n\nCell.displayName = \"TableCell\";\n\nexport { Cell };\n","\"use client\";\n\nimport React from \"react\";\n\nimport TableContext from \"./TableContext\";\nimport { Cell } from \"./Cell\";\nimport { TableHeader } from \"./types\";\n\ninterface SortOptions {\n none: string;\n ascending: string;\n descending: string;\n}\n\nconst Header: React.FC = () => {\n const { headers, expandableRows } = React.useContext(TableContext);\n const sortOptions: SortOptions = {\n none: `zoradiť vzostupne podľa`,\n ascending: `zoradiť zostupne podľa`,\n descending: `vypnúť zoradenie poďľa`,\n };\n\n return (\n <thead>\n <tr>\n {headers.map((header: TableHeader, i: number) => {\n const {\n isSortable,\n sort = \"none\",\n label,\n cellProps,\n headCellProps,\n } = header;\n return (\n <Cell\n tag=\"th\"\n key={i.toString()}\n {...cellProps}\n {...headCellProps}\n {...(isSortable && {\n \"aria-sort\": sort,\n })}\n scope=\"col\"\n >\n {label}\n {isSortable && (\n <>\n {\" \"}\n <button type=\"button\" className=\"table__sort-button\">\n <span className=\"sr-only\">\n {sortOptions[sort]} {label}\n </span>\n </button>\n </>\n )}\n </Cell>\n );\n })}\n {expandableRows?.hasExpandableRows && (\n <Cell tag=\"th\" scope=\"col\" className=\"table__cell--shrink\">\n <span className=\"sr-only\">\n {expandableRows?.expandableRowsCaptions?.header}\n </span>\n </Cell>\n )}\n </tr>\n </thead>\n );\n};\n\nHeader.displayName = \"TableHeader\";\n\nexport { Header };\n","import React from \"react\";\nimport cx from \"classnames\";\n\nexport type ButtonSize = \"small\" | \"large\";\nexport type ButtonType = \"primary\" | \"fill\" | \"ghost\";\n\ninterface CommonProps {\n elemRef?: React.Ref<any>;\n htmlType?: \"button\" | \"submit\" | \"reset\";\n isActive?: boolean;\n isDefault?: boolean;\n isDisabled?: boolean;\n colorScheme?: \"dark\" | \"light\";\n isSquare?: boolean;\n size?: ButtonSize;\n type?: ButtonType;\n className?: string;\n children?: React.ReactNode;\n}\n\ntype AnchorProps = CommonProps &\n Omit<\n React.AnchorHTMLAttributes<HTMLAnchorElement>,\n keyof CommonProps | \"type\" | \"ref\"\n > & {\n href: string;\n };\n\ntype NativeButtonProps = CommonProps &\n Omit<\n React.ButtonHTMLAttributes<HTMLButtonElement>,\n keyof CommonProps | \"href\" | \"ref\"\n > & {\n href?: undefined;\n };\n\nexport type ButtonProps = AnchorProps | NativeButtonProps;\n\nconst CLASS_ROOT = \"btn\";\n\nconst Button = React.forwardRef<any, ButtonProps>((props, ref) => {\n const {\n className,\n children,\n htmlType = \"button\",\n href,\n isActive,\n isDefault,\n isDisabled,\n colorScheme,\n size,\n isSquare,\n type,\n elemRef,\n ...other\n } = props;\n\n const classes = cx(\n CLASS_ROOT,\n {\n [`${CLASS_ROOT}--square`]: isSquare,\n [`${CLASS_ROOT}--${size}`]: size,\n [`${CLASS_ROOT}--${type}`]: type,\n [`${CLASS_ROOT}--default`]: isDefault,\n \"is-dark\": colorScheme === \"dark\",\n \"is-light\": colorScheme === \"light\",\n \"is-active\": isActive,\n },\n className,\n );\n\n if (href) {\n // Anchor element\n const anchorProps = other as React.AnchorHTMLAttributes<HTMLAnchorElement>;\n return (\n <a\n href={href}\n className={classes}\n aria-disabled={isDisabled ? \"true\" : undefined}\n ref={elemRef || ref}\n {...anchorProps}\n >\n {children}\n </a>\n );\n } else {\n // Button element\n const buttonProps = other as React.ButtonHTMLAttributes<HTMLButtonElement>;\n return (\n <button\n type={htmlType}\n className={classes}\n disabled={isDisabled ? true : undefined}\n aria-disabled={isDisabled ? \"true\" : undefined}\n ref={elemRef || ref}\n {...buttonProps}\n >\n {children}\n </button>\n );\n }\n});\n\nButton.displayName = \"Button\";\n\nexport { Button };\n","\"use client\";\n\nimport React, { ReactNode } from \"react\";\n\nexport const SpritePathContext = React.createContext(\"/sprite.svg\");\n\ninterface SpritePathProviderProps {\n children: ReactNode;\n value?: string;\n}\n\nexport const SpritePathProvider: React.FC<SpritePathProviderProps> = ({\n children,\n value = \"/sprite.svg\",\n ...other\n}) => {\n return (\n <SpritePathContext.Provider value={value} {...other}>\n {React.Children.only(children)}\n </SpritePathContext.Provider>\n );\n};\n","\"use client\";\n\nimport React, { useContext } from \"react\";\nimport cx from \"classnames\";\nimport { SpritePathContext } from \"./SpritePathContext\";\n\nexport type IconColor = \"info\" | \"success\" | \"warning\" | \"danger\" | \"orange\";\nexport type IconSize =\n | \"small\"\n | \"medium\"\n | \"large\"\n | \"xlarge\"\n | \"xxlarge\"\n | \"huge\";\n\nexport interface IconProps extends React.SVGAttributes<SVGSVGElement> {\n /** Accessible label for the icon. */\n alt?: string;\n /** Icon color. */\n color?: IconColor;\n /** Icon name (required). */\n name: string;\n /** Icon size. */\n size?: IconSize;\n /** Path to the SVG sprite. */\n spritePath?: string;\n className?: string;\n}\n\nconst CLASS_ROOT = \"icon\";\n\nconst Icon: React.FC<IconProps> = ({\n className,\n alt,\n color,\n name,\n size,\n spritePath = \"/sprite.svg\",\n ...other\n}) => {\n const contextPath = useContext(SpritePathContext);\n\n const classes = cx(\n CLASS_ROOT,\n {\n [`${CLASS_ROOT}--${size}`]: size,\n [`${CLASS_ROOT}--${color}`]: color,\n },\n className,\n );\n\n return (\n <svg\n className={classes}\n aria-hidden={alt !== undefined ? undefined : \"true\"}\n role={alt !== undefined ? \"img\" : undefined}\n {...other}\n >\n {alt !== undefined && alt.length > 0 && <title>{alt}</title>}\n <use\n xlinkHref={\n spritePath !== \"/sprite.svg\" || typeof contextPath === \"undefined\"\n ? `${spritePath}#${name}`\n : `${contextPath}#${name}`\n }\n />\n </svg>\n );\n};\n\nIcon.displayName = \"Icon\";\n\nexport { Icon };\n","import React from \"react\";\nimport cx from \"classnames\";\n\nimport { Icon } from \"../Icon\";\nimport { Button, ButtonSize } from \"./Button\";\n\nexport type IconPosition = \"left\" | \"right\";\n\nexport interface IconButtonProps\n extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, \"type\" | \"ref\"> {\n /** Name of the icon */\n iconName: string;\n /** Position of the icon */\n iconPosition?: IconPosition;\n /** Class of the icon */\n iconClassName?: string;\n /** Button size. Also affects icon size */\n size?: ButtonSize;\n /** Use square button. Children are rendered as visually hidden */\n isSquare?: boolean;\n children?: React.ReactNode;\n}\n\nconst IconButton = React.forwardRef<HTMLButtonElement, IconButtonProps>(\n (\n {\n iconName,\n iconPosition = \"left\",\n iconClassName,\n children,\n size,\n isSquare,\n ...other\n },\n ref,\n ) => {\n const IconComponent = ({ className, ...props }: { className?: string }) => (\n <Icon\n name={iconName}\n size={size ?? \"medium\"}\n className={cx(iconClassName, className)}\n {...props}\n />\n );\n\n if (isSquare) {\n return (\n <Button size={size} isSquare {...other} ref={ref}>\n <IconComponent />\n <span className=\"visually-hidden\">{children}</span>\n </Button>\n );\n }\n\n return (\n <Button ref={ref} size={size} {...other}>\n {iconPosition === \"left\" && <IconComponent className=\"btn__icon-left\" />}\n {children}\n {iconPosition === \"right\" && <IconComponent className=\"btn__icon-right\" />}\n </Button>\n );\n },\n);\n\nIconButton.displayName = \"IconButton\";\n\nexport { IconButton };\n","\"use client\";\n\nimport React from \"react\";\n\nimport { Button } from \"../Button/\";\nimport { Icon } from \"../Icon/\";\n\nimport TableContext from \"./TableContext\";\nimport { Cell } from \"./Cell\";\nimport { TableRow } from \"./types\";\n\ninterface RowProps {\n row: TableRow;\n}\n\nconst Row = ({ row }: RowProps) => {\n const { headers, expandableRows } = React.useContext(TableContext);\n return headers.map(({ key, cellProps }, index, array) => {\n const cell = row[key];\n const isObject = typeof cell === \"object\" && cell !== null;\n const value = isObject && \"value\" in cell ? cell.value : cell;\n const props =\n isObject && \"value\" in cell\n ? Object.entries(cell)\n .filter(([k]) => k !== \"value\")\n .reduce((acc, [k, v]) => ({ ...acc, [k]: v }), {})\n : {};\n const rl = row?.expand?.length || 0;\n return (\n <React.Fragment key={key}>\n <Cell {...cellProps} {...props}>\n {value ? (value as React.ReactNode) : \"\"}\n </Cell>\n {index === array.length - 1 &&\n expandableRows?.hasExpandableRows &&\n (row?.expand ? (\n <Cell className=\"align-right table__cell--shrink table__cell--expand\">\n <Button\n type=\"ghost\"\n htmlType=\"button\"\n size=\"small\"\n isSquare\n className=\"mb-none\"\n data-subrow-toggle\n aria-expanded={row.isExpanded ? \"true\" : \"false\"}\n aria-controls={row.expand?.map((r) => r.id).join(\" \")}\n >\n <span className=\"visually-hidden\">\n {`Zobraziť ${rl} súvisiac${\n rl > 4 ? \"ich\" : rl > 1 ? \"e\" : \"i\"\n } riad${rl > 4 ? \"kov\" : rl > 1 ? \"ky\" : \"ok\"}`}\n </span>\n <Icon name=\"chevron-down\" size=\"large\" />\n </Button>\n </Cell>\n ) : (\n <Cell className=\"align-right table__cell--shrink\">\n <span className=\"sr-only\">\n {expandableRows?.expandableRowsCaptions?.emptyRow}\n </span>\n </Cell>\n ))}\n </React.Fragment>\n );\n });\n};\n\nRow.displayName = \"TableRow\";\n\nexport { Row };\n","\"use client\";\n\nimport React from \"react\";\n\nimport TableContext from \"./TableContext\";\nimport { Row } from \"./Row\";\nimport { TableRow } from \"./types\";\n\nconst Rows: React.FC = () => {\n const { rows } = React.useContext(TableContext);\n return (\n <tbody>\n {rows.map((row, i) => (\n <React.Fragment key={i.toString()}>\n <tr>\n <Row row={row} />\n </tr>\n {row?.expand?.map(({ id, ...expandableRow }, j) => (\n <tr\n key={j.toString()}\n id={id}\n className=\"table__subrow\"\n hidden={row.isExpanded ? undefined : true}\n >\n <Row row={expandableRow as TableRow} />\n </tr>\n ))}\n </React.Fragment>\n ))}\n </tbody>\n );\n};\n\nRows.displayName = \"TableRows\";\n\nexport { Rows };\n","\"use client\";\n\nimport React from \"react\";\n\nimport { Row } from \"./Row\";\nimport TableContext from \"./TableContext\";\nimport { TableContextType, TableRow } from \"./types\";\n\nconst Footer: React.FC = () => {\n const { footers } = React.useContext(TableContext) as TableContextType;\n\n return footers ? (\n <tfoot>\n {footers.map((row: TableRow, i: number) => (\n <tr key={i.toString()}>\n <Row row={row} />\n </tr>\n ))}\n </tfoot>\n ) : null;\n};\n\nFooter.displayName = \"TableFooter\";\n\nexport { Footer };\n","import { TOGGLE_EVT } from \"./Toggle\";\n\ninterface ToggleProps {\n element: Element | null;\n attribute: string;\n action?: string;\n value?: string | boolean;\n dispatchEvent?: boolean;\n eventDetail?: {\n trigger: Element;\n element: Element;\n };\n}\n\nexport default function toggle(props: ToggleProps): string | boolean | null {\n const {\n element,\n attribute,\n action,\n value,\n dispatchEvent = true,\n eventDetail,\n } = props;\n let returnValue: string | boolean | null = null;\n\n if (!element || !(element instanceof Element)) {\n return returnValue;\n }\n\n if (action === \"focus\") {\n setTimeout(() => (element as HTMLElement).focus(), 20);\n }\n\n if (action === \"click\") {\n (element as HTMLElement).click();\n }\n\n if (attribute === \"class\" && typeof value === \"string\") {\n element.classList.toggle(value);\n returnValue = value;\n }\n\n if (attribute === \"text\") {\n const oldText = element.textContent;\n element.textContent = value?.toString() || \"\";\n returnValue = oldText;\n }\n\n if (\n attribute !== \"class\" &&\n attribute !== \"text\" &&\n typeof action === \"undefined\"\n ) {\n returnValue = element.getAttribute(attribute);\n\n if (attribute === \"hidden\") {\n if (element.hasAttribute(attribute)) {\n element.removeAttribute(attribute);\n } else {\n element.setAttribute(attribute, \"\");\n }\n } else if (!value) {\n element.setAttribute(attribute, String(!(returnValue === \"true\")));\n } else {\n element.setAttribute(attribute, String(value));\n }\n }\n\n if (dispatchEvent) {\n element.dispatchEvent(\n new CustomEvent(TOGGLE_EVT, {\n detail: eventDetail,\n bubbles: true,\n }),\n );\n }\n\n return returnValue;\n}\n","// ---------------------------------------------------\n// Toggle\n// module for handling toggle actions\n\nimport toggle from \"./toggleUtil\";\n\nexport const TRIGGER_EVT = \"toggleTrigger\";\nexport const TOGGLE_EVT = \"toggle\";\n\ninterface ToggleConfig {\n activeClass: string;\n settingsAttr: string;\n}\n\ninterface ToggleSetting {\n target: string;\n attribute: string;\n action?: string;\n value?: string | boolean;\n}\n\ninterface ToggleTarget extends Omit<ToggleSetting, \"target\"> {\n element: Element;\n value?: string | boolean;\n dispatchEvent?: boolean;\n}\n\nconst defaultConfig: ToggleConfig = {\n activeClass: \"is-active\",\n settingsAttr: \"data-toggle\",\n};\n\nclass Toggle {\n private element: HTMLElement;\n private config: ToggleConfig;\n private settings: ToggleSetting[];\n private targets: ToggleTarget[];\n\n constructor(element: HTMLElement, config?: Partial<ToggleConfig>) {\n this.element = element;\n this.config = { ...defaultConfig, ...config };\n\n this.settings = [];\n this.targets = [];\n\n this.handleClick = this.handleClick.bind(this);\n\n (this.element as any).ODS_Toggle = this;\n\n this.init();\n\n return this;\n }\n\n doToggle(props: ToggleTarget): ToggleTarget {\n const { dispatchEvent = true } = props;\n const { element, attribute, value: initialValue, action } = props;\n\n const returnProps = { ...props };\n const eventDetail = { trigger: this.element, element };\n\n let attributeToUse = attribute;\n let elementToUse = element;\n let value = initialValue;\n\n if (attributeToUse === \"icon\") {\n attributeToUse = \"xlink:href\";\n elementToUse = element.querySelector(\"use\") as Element;\n }\n\n if (attributeToUse === \"text\") {\n elementToUse = (element.querySelector(\"[data-toggle-text-target]\") ||\n element) as Element;\n }\n\n if (typeof value === \"undefined\") {\n value = false;\n }\n\n const toggleResult = toggle({\n element: elementToUse,\n attribute: attributeToUse,\n action,\n value,\n dispatchEvent,\n eventDetail,\n });\n\n if (toggleResult !== null) {\n returnProps.value = toggleResult as string | boolean;\n }\n\n return returnProps;\n }\n\n init(): ToggleTarget[] {\n this.settings = this.parseSettings();\n this.targets = this.setupTargets();\n this.element.addEventListener(\"click\", this.handleClick);\n return this.targets;\n }\n\n handleClick(): void {\n this.targets = this.targets.map((target) => this.doToggle(target));\n this.element.dispatchEvent(new CustomEvent(TRIGGER_EVT, { bubbles: true }));\n }\n\n destroy(): void {\n this.element.removeEventListener(\"click\", this.handleClick);\n this.settings = [];\n this.targets = [];\n }\n\n update(): void {\n this.removeNonExistentTargets();\n this.addNewTargets();\n }\n\n static getTargetElementsFromString({\n target,\n trigger,\n }: {\n target: string;\n trigger: HTMLElement;\n }): Element[] {\n const selector = target.trim();\n\n if (selector === \"self\") {\n return [trigger];\n }\n\n if (selector === \"parent\") {\n return [trigger.parentNode as Element];\n }\n\n if (selector === \"previous\") {\n return [trigger.previousElementSibling as Element];\n }\n\n if (selector === \"next\") {\n return [trigger.nextElementSibling as Element];\n }\n\n if (typeof selector === \"string\") {\n // don't be tempted to remove this querySelectorAll\n // selector like '.target-elements' whould not work as expected\n return Array.from(document.querySelectorAll(selector));\n }\n\n // add log why we endup here\n return [];\n }\n\n parseSettings(): ToggleSetting[] {\n const jsonSettings = this.element.getAttribute(this.config.settingsAttr);\n const ariaControls = this.element.getAttribute(\"aria-controls\");\n\n let settings: ToggleSetting[] = [];\n\n try {\n if (jsonSettings) {\n settings = JSON.parse(jsonSettings);\n }\n } catch (e) {\n console.warn(\"Invalid JSON in data-toggle attribute\", e);\n }\n\n if (ariaControls) {\n const ariaExpanded = this.element.getAttribute(\"aria-expanded\");\n\n settings = [\n ...(ariaExpanded\n ? [\n {\n target: \"self\",\n attribute: \"aria-expanded\",\n },\n ]\n : []),\n {\n target: ariaControls\n .split(\" \")\n .map((a) => `#${a}`)\n .join(\",\"),\n attribute: \"hidden\",\n },\n ...(Array.isArray(settings) ? settings : []),\n ];\n }\n\n return settings;\n }\n\n setupTargets(): ToggleTarget[] {\n const trigger = this.element;\n\n return this.settings.reduce<ToggleTarget[]>((allSettings, setting) => {\n if (!setting || !setting.target) {\n return allSettings;\n }\n\n return [\n ...allSettings,\n ...setting.target.split(\",\").reduce<ToggleTarget[]>(\n (targetSettings, target) => [\n ...targetSettings,\n ...Toggle.getTargetElementsFromString({\n target,\n trigger,\n }).map((element) => ({\n ...setting,\n element,\n })),\n ],\n [],\n ),\n ];\n }, []);\n }\n\n removeNonExistentTargets(): void {\n this.targets = this.targets.filter((target) =>\n document.contains(target.element),\n );\n }\n\n addNewTargets(): void {\n const allTargets = this.setupTargets();\n const newTargets = allTargets.filter(\n (newTarget) =>\n !this.targets.find(\n (target) =>\n target.element === newTarget.element &&\n target.action === newTarget.action,\n ),\n );\n\n this.targets = [...this.targets, ...newTargets];\n }\n\n static getInstance(el: HTMLElement): Toggle | null {\n return el && (el as any).ODS_Toggle ? (el as any).ODS_Toggle : null;\n }\n}\n\nexport default Toggle;\n","import toggle from \"../../scripts/modules/toggleUtil\";\n\ninterface TableConfig {\n expandButtonSelector: string;\n scrollableContainerSelector: string;\n responsiveTableSelector: string;\n}\n\nexport const defaultConfig: TableConfig = {\n expandButtonSelector: \"[data-subrow-toggle]\",\n scrollableContainerSelector: \".table-scrollable\",\n responsiveTableSelector: `[data-table=\"responsive\"]`,\n};\n\nexport default class Table {\n private element: HTMLElement;\n private config: TableConfig;\n private expandButtons: HTMLElement[];\n private scrollableContainer: HTMLElement | null;\n private resizeObserver: ResizeObserver;\n\n constructor(element: HTMLElement, config?: Partial<TableConfig>) {\n this.element = element;\n this.config = { ...defaultConfig, ...config };\n\n this.addRole = this.addRole.bind(this);\n this.addARIA = this.addARIA.bind(this);\n this.onExpandClick = this.onExpandClick.bind(this);\n\n this.expandButtons = [];\n this.scrollableContainer = null;\n\n (this.element as any).ODS_Table = this;\n\n this.resizeObserver = new ResizeObserver((entries) => {\n if (!this.scrollableContainer) return;\n\n const containerRect = this.scrollableContainer.getBoundingClientRect();\n\n entries.forEach((entry) => {\n if (entry.contentRect.width > containerRect.width) {\n this.scrollableContainer?.setAttribute(\"tabindex\", \"0\");\n } else {\n this.scrollableContainer?.removeAttribute(\"tabindex\");\n }\n });\n });\n\n this.init();\n\n return this;\n }\n\n private addRole(selector: string, role: string): void {\n const items = Array.from(this.element.querySelectorAll(selector));\n\n items.forEach((item) => {\n item.setAttribute(\"role\", role);\n });\n }\n\n private addARIA(): void {\n try {\n this.element.setAttribute(\"role\", \"table\");\n this.addRole(\"thead, tbody, tfoot\", \"rowgroup\");\n this.addRole(\"tr\", \"row\");\n this.addRole(\"td\", \"cell\");\n this.addRole(\"th\", \"columnheader\");\n this.addRole(\"th[scope=row]\", \"rowheader\");\n // caption role not needed as it is not a real role and\n // browsers do not dump their own role with display block\n } catch (e) {\n console.log(\"Table.addARIA(): \" + e);\n }\n }\n\n private onExpandClick(e: Event): void {\n const button = e.currentTarget as HTMLElement;\n const ariaControls = button.getAttribute(\"aria-controls\") ?? \"\";\n const controlRows = this.element.querySelectorAll(\n ariaControls\n .split(\" \")\n .map((id) => `#${id}`)\n .join(\",\"),\n );\n\n toggle({\n element: button,\n attribute: \"aria-expanded\",\n });\n\n controlRows.forEach((row) => {\n toggle({\n element: row as HTMLElement,\n attribute: \"hidden\",\n });\n });\n }\n\n private init(): void {\n this.expandButtons = Array.from(\n this.element.querySelectorAll<HTMLElement>(\n this.config.expandButtonSelector,\n ),\n );\n\n this.expandButtons.forEach((button) => {\n button.addEventListener(\"click\", this.onExpandClick);\n });\n\n if (this.element.matches(this.config.responsiveTableSelector)) {\n this.addARIA();\n }\n this.maybeInitScrollable();\n }\n\n private maybeInitScrollable(): boolean | undefined {\n this.scrollableContainer = this.element.closest<HTMLElement>(\n this.config.scrollableContainerSelector,\n );\n if (this.scrollableContainer) {\n this.resizeObserver.observe(this.element);\n return true;\n }\n return undefined;\n }\n\n public destroy(): void {\n this.expandButtons.forEach((button) => {\n button.removeEventListener(\"click\", this.onExpandClick);\n });\n\n this.resizeObserver.disconnect();\n\n this.expandButtons = [];\n }\n\n public update(): void {\n this.destroy();\n this.init();\n }\n\n static getInstance(el: HTMLElement): Table | null {\n return el && (el as any).ODS_Table ? (el as any).ODS_Table : null;\n }\n}\n","\"use client\";\n\nimport React, { useId } from \"react\";\nimport cx from \"classnames\";\n\nimport ConditionalWrapper from \"../../utils/ConditionalWrapper\";\nimport { useStatic } from \"../../utils/hooks\";\n\nimport { Header } from \"./Header\";\nimport TableContext from \"./TableContext\";\nimport { Rows } from \"./Rows\";\nimport { Footer } from \"./Footer\";\nimport TableStatic from \"./Table.static\";\nimport { TableHeader, TableRow, ExpandableRowsCaptions } from \"./types\";\n\ninterface TableProps extends React.TableHTMLAttributes<HTMLTableElement> {\n /** Caption helps users with screen readers to find a table and understand what it's about and decide if they want to read it. */\n caption?: React.ReactNode;\n expandableRowsCaptions?: ExpandableRowsCaptions;\n /** Foot element for table */\n footers?: TableRow[];\n /** Labels for headers in the table. Value of the key in headers match with the key name in rows */\n headers: TableHeader[];\n /** Compact table only takes spaced needed to display its content */\n isCompact?: boolean;\n /** If table has horizontal scrollbar */\n isScrollable?: boolean;\n /** Different colors for even and odd rows. */\n isStriped?: boolean;\n /** rows to print out in the table. */\n rows: TableRow[];\n className?: string;\n /** Sets color scheme */\n colorScheme?: \"dark\" | \"light\";\n}\n\nconst CLASS_ROOT = \"table\";\n\nconst Table: React.FC<TableProps> = ({\n className,\n caption,\n headers,\n rows,\n footers,\n isCompact,\n isStriped,\n isScrollable,\n colorScheme,\n expandableRowsCaptions = {\n header: \"Rozšíriteľný\",\n emptyRow: \"Nerozšíriteľný riadok\",\n },\n ...other\n}) => {\n const [tableRef] = useStatic(TableStatic);\n const idPrefix = useId();\n\n const classes = cx(\n CLASS_ROOT,\n {\n [`${CLASS_ROOT}--striped`]: isStriped,\n [`${CLASS_ROOT}--compact`]: isCompact,\n \"is-dark\": colorScheme === \"dark\",\n \"is-light\": colorScheme === \"light\",\n },\n className,\n );\n\n const captionId = `${idPrefix}-caption`;\n\n const expandableRows = {\n hasExpandableRows: rows.some(\n (row) => row && row.expand && row.expand.length > 0,\n ),\n expandableRowsCaptions,\n };\n\n const customRows = rows.map((row, rowIndex) => {\n if (row && row.expand) {\n return {\n ...row,\n expand: row.expand.map((expandableRow, expandIndex) => ({\n ...expandableRow,\n id: `${idPrefix}-row-${rowIndex}-${expandIndex}`,\n })),\n };\n }\n\n return row;\n });\n\n const context = {\n headers,\n footers,\n rows: customRows,\n expandableRows,\n };\n\n const table = (\n <TableContext.Provider value={context}>\n <ConditionalWrapper\n condition={isScrollable || false}\n wrapper={\n <div\n className={`${CLASS_ROOT}-scrollable`}\n role=\"group\"\n {...(caption && { \"aria-labelledby\": captionId })}\n />\n }\n >\n <table ref={tableRef} className={classes} {...other}>\n {caption && (\n <caption {...(isScrollable && { id: captionId })}>\n {caption}\n </caption>\n )}\n <Header />\n <Rows />\n <Footer />\n </table>\n </ConditionalWrapper>\n </TableContext.Provider>\n );\n\n return table;\n};\n\nTable.displayName = \"Table\";\n\nexport { Table };\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","ConditionalWrapper","_ref","condition","wrapper","children","cloneElement","undefined","displayName","TableContext","React","createContext","headers","rows","process","env","NODE_ENV","getComponentNameFromType","type","$$typeof","REACT_CLIENT_REFERENCE","name","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","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","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","Cell","_a","_a$tag","other","Tag","_jsx","_objectSpread","Header","_React$useContext","useContext","expandableRows","sortOptions","none","ascending","descending","_jsxs","map","header","isSortable","_header$sort","sort","label","cellProps","headCellProps","scope","_Fragment","className","hasExpandableRows","expandableRowsCaptions","CLASS_ROOT","Button","forwardRef","_props$htmlType","htmlType","href","isActive","isDefault","isDisabled","colorScheme","size","isSquare","elemRef","cx","_defineProperty","concat","anchorProps","buttonProps","disabled","SpritePathContext","Icon","alt","color","_a$spritePath","spritePath","contextPath","role","xlinkHref","iconName","_a$iconPosition","iconPosition","iconClassName","IconComponent","Row","row","_ref2","index","array","cell","isObject","_typeof","entries","_ref3","_slicedToArray","reduce","acc","_ref5","_ref6","v","assign","rl","expand","isExpanded","_b","r","id","_c","emptyRow","Rows","j","expandableRow","hidden","Footer","footers","toggle","element","attribute","action","_props$dispatchEvent","dispatchEvent","eventDetail","returnValue","Element","setTimeout","focus","click","classList","oldText","textContent","getAttribute","hasAttribute","removeAttribute","setAttribute","String","CustomEvent","detail","bubbles","defaultConfig","expandButtonSelector","scrollableContainerSelector","responsiveTableSelector","Table","_this","_classCallCheck","addRole","addARIA","onExpandClick","expandButtons","scrollableContainer","ODS_Table","resizeObserver","ResizeObserver","containerRect","getBoundingClientRect","forEach","entry","contentRect","width","init","selector","from","querySelectorAll","item","log","button","currentTarget","ariaControls","controlRows","split","_this2","addEventListener","matches","maybeInitScrollable","closest","observe","_this3","removeEventListener","disconnect","destroy","el","caption","isCompact","isStriped","isScrollable","_a$expandableRowsCapt","_useStatic","StaticClass","instance","useRef","configRef","useEffect","current","useCallback","currentConfig","update","useStatic","TableStatic","tableRef","idPrefix","useId","captionId","some","context","rowIndex","expandIndex","Provider"],"mappings":"4+EA0CO,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,EAAEQ,OAAQD,IAC3DT,EAAEO,QAAQL,EAAEO,IAAM,GAAKN,OAAOC,UAAUO,qBAAqBL,KAAKP,EAAGG,EAAEO,MACvER,EAAEC,EAAEO,IAAMV,EAAEG,EAAEO,IAF4B,CAItD,OAAOR,CACX,qGAoRkD,mBAApBW,iBAAiCA;;;;;yBCjU9D,WAGA,IAAIC,EAAS,CAAA,EAAGR,eAEhB,SAASS,IAGR,IAFA,IAAIC,EAAU,GAELN,EAAI,EAAGA,EAAIO,UAAUN,OAAQD,IAAK,CAC1C,IAAIQ,EAAMD,UAAUP,GAChBQ,IACHF,EAAUG,EAAYH,EAASI,EAAWF,IAE9C,CAEE,OAAOF,CACT,CAEC,SAASI,EAAYF,GACpB,GAAmB,iBAARA,GAAmC,iBAARA,EACrC,OAAOA,EAGR,GAAmB,iBAARA,EACV,MAAO,GAGR,GAAIG,MAAMC,QAAQJ,GACjB,OAA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AAQ,CAACpT,MAAOiT,EAAQvS,SACpCuH,EAAAA,IAAC3H,EAAkB,CACjBE,UAAWsR,IAAgB,EAC3BrR,QACEwH,EAAAA,IAAA,MAAAC,EAAA,CACEoB,UAAS,GAAAkB,OAAKf,EAAU,eACxB0B,KAAK,SACAwG,GAAW,CAAE,kBAAmBoB,KAExCrS,SAEDiI,EAAAA,KAAA,QAAAT,EAAAA,EAAA,CAAOlE,IAAK4O,EAAUtJ,UAAWjK,GAAa0I,GAAK,GAAA,CAAArH,SAAA,CAChDiR,GACC1J,MAAA,UAAAC,EAAAA,EAAA,CAAA,EAAc4J,GAAgB,CAAE9E,GAAI+F,IAAW,CAAA,EAAA,CAAArS,SAC5CiR,KAGL1J,EAAAA,IAACE,EAAM,CAAA,GACPF,EAAAA,IAACkF,MACDlF,MAACsF,aAOX,EAEA6B,EAAMvO,YAAc","x_google_ignoreList":[0,1,5,6,7]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@layer components{.table{background-color:var(--color-background-primary);color:var(--color-text-default);margin-bottom:1.25rem;width:100%}.table td,.table th{font-size:inherit;line-height:inherit;padding:.625rem .625rem .625rem 0;vertical-align:middle}.table thead th{border-bottom:2px solid var(--color-border-strong);font-weight:700;text-align:left;vertical-align:bottom}.table tr{border-bottom:1px solid var(--color-border-strong);line-height:1.25rem}.table thead>tr{border-bottom-width:2px}.table tbody>th{font-weight:400}.table tr>:first-of-type{padding-left:.625rem}.table tbody+tbody{border-top:2px solid var(--color-border-strong)}.table>tfoot>tr{border-bottom-width:0;border-top:2px solid var(--color-border-contrast)}.table>tfoot>tr:not(:first-child){border-top-color:var(--color-border-strong)}.table--striped tbody tr:nth-of-type(odd){background-color:var(--color-background-secondary)}.table--compact{width:auto}.table-scrollable{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}@media screen and (max-width:767.98px){.table-scrollable--sm{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}}@media screen and (max-width:991.98px){.table-scrollable--md{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}}@media screen and (max-width:1239.98px){.table-scrollable--lg{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}}@media screen and (max-width:1379.98px){.table-scrollable--xl{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}}.table__sort-button{cursor:pointer;display:inline-block;height:1.25rem;position:relative;vertical-align:bottom;width:1.25rem}.table__sort-button:after,.table__sort-button:before{border-left:5px solid transparent;border-right:5px solid transparent;content:"";left:.3125rem;position:absolute;transition:opacity .1s ease 0s}.table__sort-button:before{border-bottom:5px solid var(--color-border-contrast);top:4px}.table__sort-button:after{border-top:5px solid var(--color-border-contrast);top:12px}[aria-sort=ascending] .table__sort-button:after,[aria-sort=descending] .table__sort-button:before{opacity:.3}.table__subrow{background-color:var(--color-surface-subtle)}.table button[aria-expanded=true]>svg{transform:rotate(180deg)}.table__cell--expand{padding-bottom:0!important;padding-top:4px!important}.table__cell--shrink{width:.1%}.table__cell--fill{width:100%}.icon{fill:currentColor;height:1em;vertical-align:text-bottom;width:1em}.icon--small{height:1rem;width:1rem}.icon--medium{height:1.5rem;width:1.5rem}.icon--large{height:2rem;width:2rem}.icon--xlarge{height:2.5rem;width:2.5rem}.icon--xxlarge{height:3rem;width:3rem}.icon--huge{height:3.5rem;width:3.5rem}}@layer components{@media screen and (min-width:768px){.icon--xlarge{height:3rem;width:3rem}.icon--xxlarge{height:4rem;width:4rem}.icon--huge{height:5rem;width:5rem}}.icon--info{color:var(--color-icon-information)}.icon--success{color:var(--color-icon-positive)}.icon--warning{color:var(--color-icon-warning)}.icon--danger{color:var(--color-icon-negative)}.icon--orange{color:var(--color-icon-brand)}use{pointer-events:none}.btn{align-items:center;border:2px solid transparent;border-radius:.3125rem;cursor:pointer;display:inline-flex;font-size:1.125rem;font-weight:700;justify-content:center;line-height:1.111111;margin-bottom:1.25rem;text-align:center;text-decoration:none;
|
|
1
|
+
@layer components{.table{background-color:var(--color-background-primary);color:var(--color-text-default);margin-bottom:1.25rem;width:100%}.table td,.table th{font-size:inherit;line-height:inherit;padding:.625rem .625rem .625rem 0;vertical-align:middle}.table thead th{border-bottom:2px solid var(--color-border-strong);font-weight:700;text-align:left;vertical-align:bottom}.table tr{border-bottom:1px solid var(--color-border-strong);line-height:1.25rem}.table thead>tr{border-bottom-width:2px}.table tbody>th{font-weight:400}.table tr>:first-of-type{padding-left:.625rem}.table tbody+tbody{border-top:2px solid var(--color-border-strong)}.table>tfoot>tr{border-bottom-width:0;border-top:2px solid var(--color-border-contrast)}.table>tfoot>tr:not(:first-child){border-top-color:var(--color-border-strong)}.table--striped tbody tr:nth-of-type(odd){background-color:var(--color-background-secondary)}.table--compact{width:auto}.table-scrollable{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}@media screen and (max-width:767.98px){.table-scrollable--sm{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}}@media screen and (max-width:991.98px){.table-scrollable--md{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}}@media screen and (max-width:1239.98px){.table-scrollable--lg{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}}@media screen and (max-width:1379.98px){.table-scrollable--xl{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;width:100%}}.table__sort-button{cursor:pointer;display:inline-block;height:1.25rem;position:relative;vertical-align:bottom;width:1.25rem}.table__sort-button:after,.table__sort-button:before{border-left:5px solid transparent;border-right:5px solid transparent;content:"";left:.3125rem;position:absolute;transition:opacity .1s ease 0s}.table__sort-button:before{border-bottom:5px solid var(--color-border-contrast);top:4px}.table__sort-button:after{border-top:5px solid var(--color-border-contrast);top:12px}[aria-sort=ascending] .table__sort-button:after,[aria-sort=descending] .table__sort-button:before{opacity:.3}.table__subrow{background-color:var(--color-surface-subtle)}.table button[aria-expanded=true]>svg{transform:rotate(180deg)}.table__cell--expand{padding-bottom:0!important;padding-top:4px!important}.table__cell--shrink{width:.1%}.table__cell--fill{width:100%}.icon{fill:currentColor;height:1em;vertical-align:text-bottom;width:1em}.icon--small{height:1rem;width:1rem}.icon--medium{height:1.5rem;width:1.5rem}.icon--large{height:2rem;width:2rem}.icon--xlarge{height:2.5rem;width:2.5rem}.icon--xxlarge{height:3rem;width:3rem}.icon--huge{height:3.5rem;width:3.5rem}}@layer components{@media screen and (min-width:768px){.icon--xlarge{height:3rem;width:3rem}.icon--xxlarge{height:4rem;width:4rem}.icon--huge{height:5rem;width:5rem}}.icon--info{color:var(--color-icon-information)}.icon--success{color:var(--color-icon-positive)}.icon--warning{color:var(--color-icon-warning)}.icon--danger{color:var(--color-icon-negative)}.icon--orange{color:var(--color-icon-brand)}use{pointer-events:none}.btn{align-items:center;border:2px solid transparent;border-radius:.3125rem;cursor:pointer;display:inline-flex;font-size:1.125rem;font-weight:700;justify-content:center;line-height:1.111111;margin-bottom:1.25rem;text-align:center;text-decoration:none;vertical-align:baseline}.btn.is-active,.btn:active{transition-property:none}.btn:not(:last-of-type){margin-right:.625rem}.btn{min-height:2.5rem;padding:.375rem .9375rem}.btn--small{min-height:1.875rem;padding:.125rem .625rem}.btn--large{min-height:3.125rem;padding:.125rem 1.25rem}.btn{background-color:transparent;border-color:var(--color-border-contrast);color:var(--color-text-default)}}@layer components{@media (hover:hover){.btn:hover{background-color:var(--color-fill-contrast);border-color:transparent;color:var(--color-text-inverse);z-index:2}}.btn:focus-visible{outline:2px solid var(--color-border-contrast);outline-offset:2px;z-index:2}.btn.is-active,.btn:active{background-color:var(--color-fill-tertiary);border-color:transparent;color:var(--color-text-inverse);z-index:2}.btn[aria-disabled=true],.btn[disabled]{background-color:transparent;border-color:var(--color-fill-disabled);color:var(--color-text-disabled);cursor:not-allowed}.btn--primary{background-color:var(--color-fill-tertiary);border-color:transparent;color:var(--color-text-inverse)}@media (hover:hover){.btn--primary:hover{background-color:var(--color-fill-contrast);border-color:transparent;color:var(--color-text-inverse);z-index:2}}.btn--primary:focus-visible{outline:2px solid var(--color-border-contrast);outline-offset:2px;z-index:2}.btn--primary.is-active,.btn--primary:active{background-color:transparent;border-color:var(--color-border-contrast);color:var(--color-fill-contrast);z-index:2}.btn--primary[aria-disabled=true],.btn--primary[disabled]{background-color:var(--color-fill-disabled);border-color:var(--color-fill-disabled);color:var(--color-text-inverse);cursor:not-allowed}.btn--fill{background-color:var(--color-fill-contrast);border-color:transparent;color:var(--color-text-inverse)}@media (hover:hover){.btn--fill:hover{background-color:transparent;border-color:var(--color-border-contrast);color:var(--color-text-default);z-index:2}}.btn--fill:focus-visible{outline:2px solid var(--color-border-contrast);outline-offset:2px;z-index:2}.btn--fill.is-active,.btn--fill:active{background-color:var(--color-fill-tertiary);border-color:transparent;color:var(--color-text-inverse);z-index:2}.btn--fill[aria-disabled=true],.btn--fill[disabled]{background-color:var(--color-fill-disabled);border-color:var(--color-fill-disabled);color:var(--color-text-inverse);cursor:not-allowed}.btn--ghost{background-color:transparent;border-color:transparent;color:var(--color-text-default)}@media (hover:hover){.btn--ghost:hover{background-color:transparent;border-color:var(--color-border-contrast);color:var(--color-text-default);z-index:2}}.btn--ghost:focus-visible{outline:2px solid var(--color-border-contrast);outline-offset:2px;z-index:2}.btn--ghost.is-active,.btn--ghost:active{background-color:transparent;border-color:var(--color-border-contrast);color:var(--color-fill-tertiary);z-index:2}.btn--ghost[aria-disabled=true],.btn--ghost[disabled]{background-color:transparent;border-color:transparent;color:var(--color-text-disabled);cursor:not-allowed}.btn--square{align-items:center;display:inline-flex;flex:0 0 auto;flex-flow:row;justify-content:center;line-height:0;padding:0}.btn--square.btn{height:2.5rem;width:2.5rem}.btn--square.btn--small{height:1.875rem;width:1.875rem}.btn--square.btn--large{height:3.125rem;width:3.125rem}.btn__icon-left{backface-visibility:hidden;margin-left:-.25em;margin-right:.5em}.btn__icon-right{backface-visibility:hidden;margin-left:.5em;margin-right:-.25em}.btn--large .icon--large{margin-bottom:-.1875rem;margin-top:-.1875rem}}
|
|
2
2
|
/*# sourceMappingURL=style.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["style.scss"],"names":[],"mappings":"AAAA,kBACE,OAIE,gDAAiD,CADjD,+BAAgC,CADhC,qBAAsB,CADtB,UAIF,CACA,oBAIE,iBAAkB,CAClB,mBAAoB,CAHpB,iCAAqC,CACrC,qBAGF,CACA,gBAGE,kDAAmD,CACnD,eAAgB,CAFhB,eAAgB,CADhB,qBAIF,CACA,UAEE,kDAAmD,CADnD,mBAEF,CACA,gBACE,uBACF,CACA,gBACE,eACF,CACA,yBACE,oBACF,CACA,mBACE,+CACF,CACA,gBACE,qBAAsB,CACtB,iDACF,CACA,kCACE,2CACF,CACA,0CACE,kDACF,CACA,gBACE,UACF,CACA,kBAIE,gCAAiC,CAHjC,aAAc,CAEd,eAAgB,CADhB,UAGF,CACA,uCACE,sBAIE,gCAAiC,CAHjC,aAAc,CAEd,eAAgB,CADhB,UAGF,CACF,CACA,uCACE,sBAIE,gCAAiC,CAHjC,aAAc,CAEd,eAAgB,CADhB,UAGF,CACF,CACA,wCACE,sBAIE,gCAAiC,CAHjC,aAAc,CAEd,eAAgB,CADhB,UAGF,CACF,CACA,wCACE,sBAIE,gCAAiC,CAHjC,aAAc,CAEd,eAAgB,CADhB,UAGF,CACF,CACA,oBAME,cAAe,CAJf,oBAAqB,CAErB,cAAe,CAHf,iBAAkB,CAIlB,qBAAsB,CAFtB,aAIF,CACA,qDAIE,iCAAkC,CAClC,kCAAmC,CAJnC,UAAW,CAEX,aAAe,CADf,iBAAkB,CAIlB,8BACF,CACA,2BAEE,oDAAqD,CADrD,OAEF,CACA,0BAEE,iDAAkD,CADlD,QAEF,CAIA,kGACE,UACF,CACA,eACE,4CACF,CACA,sCACE,wBACF,CACA,qBAEE,0BAA4B,CAD5B,yBAEF,CACA,qBACE,SACF,CACA,mBACE,UACF,CAnIA,MACE,iBAAkB,CAElB,UAAW,CACX,0BAA2B,CAF3B,SAGF,CACA,aAEE,WAAY,CADZ,UAEF,CACA,cAEE,aAAc,CADd,YAEF,CACA,aAEE,WAAY,CADZ,UAEF,CACA,cAEE,aAAc,CADd,YAEF,CACA,eAEE,WAAY,CADZ,UAEF,CACA,YAEE,aAAc,CADd,YAEF,CAuGF,CArIA,kBA+BE,oCACE,cAEE,WAAY,CADZ,UAEF,CACA,eAEE,WAAY,CADZ,UAEF,CACA,YAEE,WAAY,CADZ,UAEF,CACF,CACA,YACE,mCACF,CACA,eACE,gCACF,CACA,eACE,+BACF,CACA,cACE,gCACF,CACA,cACE,6BACF,CACA,IACE,mBACF,CA7DA,
|
|
1
|
+
{"version":3,"sources":["style.scss"],"names":[],"mappings":"AAAA,kBACE,OAIE,gDAAiD,CADjD,+BAAgC,CADhC,qBAAsB,CADtB,UAIF,CACA,oBAIE,iBAAkB,CAClB,mBAAoB,CAHpB,iCAAqC,CACrC,qBAGF,CACA,gBAGE,kDAAmD,CACnD,eAAgB,CAFhB,eAAgB,CADhB,qBAIF,CACA,UAEE,kDAAmD,CADnD,mBAEF,CACA,gBACE,uBACF,CACA,gBACE,eACF,CACA,yBACE,oBACF,CACA,mBACE,+CACF,CACA,gBACE,qBAAsB,CACtB,iDACF,CACA,kCACE,2CACF,CACA,0CACE,kDACF,CACA,gBACE,UACF,CACA,kBAIE,gCAAiC,CAHjC,aAAc,CAEd,eAAgB,CADhB,UAGF,CACA,uCACE,sBAIE,gCAAiC,CAHjC,aAAc,CAEd,eAAgB,CADhB,UAGF,CACF,CACA,uCACE,sBAIE,gCAAiC,CAHjC,aAAc,CAEd,eAAgB,CADhB,UAGF,CACF,CACA,wCACE,sBAIE,gCAAiC,CAHjC,aAAc,CAEd,eAAgB,CADhB,UAGF,CACF,CACA,wCACE,sBAIE,gCAAiC,CAHjC,aAAc,CAEd,eAAgB,CADhB,UAGF,CACF,CACA,oBAME,cAAe,CAJf,oBAAqB,CAErB,cAAe,CAHf,iBAAkB,CAIlB,qBAAsB,CAFtB,aAIF,CACA,qDAIE,iCAAkC,CAClC,kCAAmC,CAJnC,UAAW,CAEX,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CACA,yBAEE,uBAAyB,CADzB,oBAEF,CACF","file":"style.css","sourcesContent":["@layer components {\n .btn {\n border: 2px solid transparent;\n font-size: 1.125rem;\n font-weight: bold;\n line-height: 1.111111;\n border-radius: 0.3125rem;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n text-decoration: none;\n vertical-align: baseline;\n cursor: pointer;\n margin-bottom: 1.25rem;\n }\n .btn:focus-visible {\n outline: 2px solid var(--color-border-contrast);\n outline-offset: 2px;\n }\n .btn:active, .btn.is-active {\n transition-property: none;\n z-index: 2;\n }\n .btn[aria-disabled=true], .btn[disabled] {\n cursor: not-allowed;\n }\n .btn:not(:last-of-type) {\n margin-right: 0.625rem;\n }\n .btn {\n min-height: 2.5rem;\n padding: 0.375rem 0.9375rem;\n }\n .btn--small {\n min-height: 1.875rem;\n padding: 0.125rem 0.625rem;\n }\n .btn--large {\n min-height: 3.125rem;\n padding: 0.125rem 1.25rem;\n }\n .btn {\n color: var(--color-text-default);\n background-color: transparent;\n border-color: var(--color-border-contrast);\n }\n @media (hover: hover) {\n .btn:hover {\n color: var(--color-text-inverse);\n background-color: var(--color-fill-contrast);\n border-color: transparent;\n z-index: 2;\n }\n }\n .btn:focus-visible {\n outline: 2px solid var(--color-border-contrast);\n outline-offset: 2px;\n z-index: 2;\n }\n .btn:active, .btn.is-active {\n color: var(--color-text-inverse);\n background-color: var(--color-fill-tertiary);\n border-color: transparent;\n z-index: 2;\n }\n .btn[aria-disabled=true], .btn[disabled] {\n color: var(--color-text-disabled);\n background-color: transparent;\n border-color: var(--color-fill-disabled);\n cursor: not-allowed;\n }\n .btn--primary {\n color: var(--color-text-inverse);\n background-color: var(--color-fill-tertiary);\n border-color: transparent;\n }\n @media (hover: hover) {\n .btn--primary:hover {\n color: var(--color-text-inverse);\n background-color: var(--color-fill-contrast);\n border-color: transparent;\n z-index: 2;\n }\n }\n .btn--primary:focus-visible {\n outline: 2px solid var(--color-border-contrast);\n outline-offset: 2px;\n z-index: 2;\n }\n .btn--primary:active, .btn--primary.is-active {\n color: var(--color-fill-contrast);\n background-color: transparent;\n border-color: var(--color-border-contrast);\n z-index: 2;\n }\n .btn--primary[aria-disabled=true], .btn--primary[disabled] {\n color: var(--color-text-inverse);\n background-color: var(--color-fill-disabled);\n border-color: var(--color-fill-disabled);\n cursor: not-allowed;\n }\n .btn--fill {\n color: var(--color-text-inverse);\n background-color: var(--color-fill-contrast);\n border-color: transparent;\n }\n @media (hover: hover) {\n .btn--fill:hover {\n color: var(--color-text-default);\n background-color: transparent;\n border-color: var(--color-border-contrast);\n z-index: 2;\n }\n }\n .btn--fill:focus-visible {\n outline: 2px solid var(--color-border-contrast);\n outline-offset: 2px;\n z-index: 2;\n }\n .btn--fill:active, .btn--fill.is-active {\n color: var(--color-text-inverse);\n background-color: var(--color-fill-tertiary);\n border-color: transparent;\n z-index: 2;\n }\n .btn--fill[aria-disabled=true], .btn--fill[disabled] {\n color: var(--color-text-inverse);\n background-color: var(--color-fill-disabled);\n border-color: var(--color-fill-disabled);\n cursor: not-allowed;\n }\n .btn--ghost {\n color: var(--color-text-default);\n background-color: transparent;\n border-color: transparent;\n }\n @media (hover: hover) {\n .btn--ghost:hover {\n color: var(--color-text-default);\n background-color: transparent;\n border-color: var(--color-border-contrast);\n z-index: 2;\n }\n }\n .btn--ghost:focus-visible {\n outline: 2px solid var(--color-border-contrast);\n outline-offset: 2px;\n z-index: 2;\n }\n .btn--ghost:active, .btn--ghost.is-active {\n color: var(--color-fill-tertiary);\n background-color: transparent;\n border-color: var(--color-border-contrast);\n z-index: 2;\n }\n .btn--ghost[aria-disabled=true], .btn--ghost[disabled] {\n color: var(--color-text-disabled);\n background-color: transparent;\n border-color: transparent;\n cursor: not-allowed;\n }\n .btn--square {\n display: inline-flex;\n flex: 0 0 auto;\n flex-flow: row;\n justify-content: center;\n align-items: center;\n padding: 0;\n line-height: 0;\n }\n .btn--square.btn {\n width: 2.5rem;\n height: 2.5rem;\n }\n .btn--square.btn--small {\n width: 1.875rem;\n height: 1.875rem;\n }\n .btn--square.btn--large {\n width: 3.125rem;\n height: 3.125rem;\n }\n .btn__icon-left {\n backface-visibility: hidden;\n margin-left: -0.25em;\n margin-right: 0.5em;\n }\n .btn__icon-right {\n backface-visibility: hidden;\n margin-left: 0.5em;\n margin-right: -0.25em;\n }\n .btn--large .icon--large {\n margin-top: -0.1875rem;\n margin-bottom: -0.1875rem;\n }\n}"]}
|