@orangesk/orange-design-system 3.5.0 → 3.6.1
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/BodyBanner/style.css +1 -1
- package/build/components/BodyBanner/style.css.map +1 -1
- package/build/components/Icon/style.css +1 -1
- package/build/components/Icon/style.css.map +1 -1
- package/build/components/PromoBanner/style.css +1 -1
- package/build/components/PromoBanner/style.css.map +1 -1
- package/build/components/StarRating/style.css +1 -1
- package/build/components/StarRating/style.css.map +1 -1
- package/build/components/Tile/style.css +1 -1
- package/build/components/Tile/style.css.map +1 -1
- package/build/components/index.js +1 -1
- package/build/components/index.js.map +1 -1
- package/build/components/types/index.d.ts +2 -0
- package/build/lib/base.css.map +1 -1
- package/build/lib/components.css +1 -1
- package/build/lib/components.css.map +1 -1
- package/build/lib/footer.js +1 -1
- package/build/lib/footer.js.map +1 -1
- package/build/lib/megamenu.js +1 -1
- package/build/lib/megamenu.js.map +1 -1
- package/build/lib/scripts.js +1 -1
- 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 +48 -48
- package/src/assets/icons/age-rating-3.svg +0 -0
- package/src/assets/icons/assistent.svg +0 -0
- package/src/assets/icons/boxes.svg +0 -0
- package/src/assets/icons/business-lounge.svg +0 -0
- package/src/assets/icons/calendar-30.svg +0 -0
- package/src/assets/icons/calendar-month.svg +0 -0
- package/src/assets/icons/communication-settings.svg +0 -0
- package/src/assets/icons/cookies.svg +0 -0
- package/src/assets/icons/currency-euro.svg +0 -0
- package/src/assets/icons/data-services.svg +0 -0
- package/src/assets/icons/device-mobile-package.svg +0 -0
- package/src/assets/icons/futher-education.svg +0 -0
- package/src/assets/icons/modifier-delete.svg +0 -0
- package/src/assets/icons/orange-experts-orange-business-consultant.svg +0 -0
- package/src/assets/icons/orange-messenger.svg +0 -0
- package/src/assets/icons/orange-reflect.svg +0 -0
- package/src/assets/icons/personal-smartphone-trainer.svg +0 -0
- package/src/assets/icons/unlimited-calls.svg +0 -0
- package/src/components/Accordion/Accordion.tsx +2 -1
- package/src/components/Accordion/AccordionItem.tsx +2 -1
- package/src/components/Alert/Alert.tsx +2 -1
- package/src/components/Avatar/Avatar.tsx +2 -1
- package/src/components/BlockAction/BlockAction.tsx +2 -1
- package/src/components/BlockAction/BlockActionControl.tsx +2 -1
- package/src/components/BlockAction/BlockActionIndicator.tsx +2 -1
- package/src/components/BlockAction/CloneElementWithClassName.tsx +2 -1
- package/src/components/BlockAction/Context.tsx +2 -1
- package/src/components/BlockAction/index.tsx +2 -1
- package/src/components/BodyBanner/styles/mixins.scss +15 -1
- package/src/components/BodyBanner/tests/BodyBanner.conformance.test.jsx +7 -4
- package/src/components/Button/IconButton.tsx +2 -1
- package/src/components/Button/index.tsx +2 -1
- package/src/components/Carousel/Carousel.tsx +2 -1
- package/src/components/Carousel/CarouselItem.tsx +2 -1
- package/src/components/CarouselHero/CarouselHero.tsx +2 -1
- package/src/components/CarouselHero/CarouselHeroItem.tsx +2 -1
- package/src/components/CarouselPromotions/CarouselPromotions.static.ts +1 -1
- package/src/components/CarouselPromotions/CarouselPromotions.tsx +2 -1
- package/src/components/CarouselPromotions/CarouselPromotionsItem.tsx +2 -1
- package/src/components/CarouselPromotions/styles/mixins.scss +2 -3
- package/src/components/Countdown/Countdown.react.ts +2 -2
- package/src/components/Countdown/Countdown.static.ts +5 -3
- package/src/components/Countdown/Countdown.tsx +2 -2
- package/src/components/Countdown/CountdownTag.static.ts +5 -3
- package/src/components/Countdown/CountdownTag.tsx +1 -1
- package/src/components/Divider/Divider.tsx +2 -1
- package/src/components/Dropdown/Dropdown.static.ts +2 -1
- package/src/components/Dropdown/Dropdown.tsx +5 -3
- package/src/components/Dropdown/DropdownItem.tsx +2 -1
- package/src/components/Dropdown/DropdownToggleButton.tsx +1 -1
- package/src/components/Dropdown/constants.ts +1 -0
- package/src/components/FeatureAccordion/FeatureAccordion.tsx +2 -1
- package/src/components/FeatureAccordion/FeatureAccordionItem.tsx +2 -1
- package/src/components/Forms/Autocomplete/Autocomplete.static.ts +2 -2
- package/src/components/Forms/Field/Field.tsx +2 -1
- package/src/components/Forms/Field/Label.tsx +2 -1
- package/src/components/Forms/Fieldset/Fieldset.tsx +2 -1
- package/src/components/Forms/File/File.tsx +2 -1
- package/src/components/Forms/Group/Group.tsx +2 -1
- package/src/components/Forms/Group/Item.tsx +2 -1
- package/src/components/Forms/RangeSlider/RangeSlider.static.ts +4 -2
- package/src/components/Forms/Select/index.tsx +2 -1
- package/src/components/Gauge/Gauge.tsx +2 -1
- package/src/components/Icon/Pictogram.tsx +2 -1
- package/src/components/Icon/SpritePathContext.tsx +2 -1
- package/src/components/Icon/styles/config.scss +17 -2
- package/src/components/Icon/styles/export/size.js +4 -3
- package/src/components/Icon/styles/style.scss +9 -0
- package/src/components/Icon/tests/Icon.styles.unit.test.jsx +12 -0
- package/src/components/Loader/Loader.tsx +2 -1
- package/src/components/Loader/LoaderFullscreen.tsx +2 -1
- package/src/components/Megamenu/Megamenu.tsx +2 -7
- package/src/components/Megamenu/MegamenuBlog.tsx +1 -1
- package/src/components/Modal/ModalCloseButton.tsx +2 -2
- package/src/components/Pagination/Separator.tsx +1 -1
- package/src/components/Pill/Pill.tsx +2 -1
- package/src/components/PromoBanner/styles/mixins.scss +10 -0
- package/src/components/PromoBanner/styles/style.scss +5 -0
- package/src/components/PromotionCard/PromotionCard.tsx +2 -2
- package/src/components/SkipLink/SkipLink.tsx +2 -1
- package/src/components/StarRating/StarRating.tsx +5 -1
- package/src/components/StarRating/styles/style.scss +9 -2
- package/src/components/StarRating/tests/StarRating.unit.test.jsx +7 -1
- package/src/components/Table/Footer.tsx +1 -1
- package/src/components/Table/Header.tsx +1 -1
- package/src/components/Table/Row.tsx +1 -1
- package/src/components/Table/Rows.tsx +1 -1
- package/src/components/Table/Table.tsx +1 -1
- package/src/components/Table/TableContext.ts +1 -1
- package/src/components/Tag/Tag.tsx +4 -3
- package/src/components/Tag/TagButton.tsx +1 -1
- package/src/components/Tag/constants.ts +1 -0
- package/src/components/Tag/styles/mixins.scss +2 -2
- package/src/components/Tile/Tile.tsx +3 -2
- package/src/components/Tile/styles/mixins.scss +2 -4
- package/src/components/Tile/styles/style.scss +9 -1
- package/src/components/Tooltip/InfoTooltip.tsx +2 -1
- package/src/components/Tooltip/Tooltip.static.ts +2 -2
- package/src/styles/tokens/space.scss +3 -1
- package/src/styles/tools/generate.scss +4 -2
- package/src/styles/utilities/color.scss +7 -6
- package/build/components/tsconfig.tsbuildinfo +0 -1
- package/build/components/types/src/components/Accordion/Accordion.d.ts +0 -19
- package/build/components/types/src/components/Accordion/Accordion.static.d.ts +0 -20
- package/build/components/types/src/components/Accordion/AccordionHeader.d.ts +0 -18
- package/build/components/types/src/components/Accordion/AccordionItem.d.ts +0 -20
- package/build/components/types/src/components/Accordion/HeadingContext.d.ts +0 -2
- package/build/components/types/src/components/Accordion/index.d.ts +0 -2
- package/build/components/types/src/components/Accordion/tests/data.d.ts +0 -5
- package/build/components/types/src/components/Alert/Alert.d.ts +0 -23
- package/build/components/types/src/components/Alert/data.d.ts +0 -7
- package/build/components/types/src/components/Alert/index.d.ts +0 -1
- package/build/components/types/src/components/AnchorNavigation/AnchorNavigation.d.ts +0 -16
- package/build/components/types/src/components/AnchorNavigation/AnchorNavigation.static.d.ts +0 -102
- package/build/components/types/src/components/AnchorNavigation/index.d.ts +0 -1
- package/build/components/types/src/components/Avatar/Avatar.d.ts +0 -7
- package/build/components/types/src/components/Avatar/index.d.ts +0 -2
- package/build/components/types/src/components/Bar/Bar.d.ts +0 -22
- package/build/components/types/src/components/Bar/BarBreak.d.ts +0 -12
- package/build/components/types/src/components/Bar/BarItem.d.ts +0 -16
- package/build/components/types/src/components/Bar/index.d.ts +0 -3
- package/build/components/types/src/components/BlockAction/BlockAction.d.ts +0 -11
- package/build/components/types/src/components/BlockAction/BlockAction.static.d.ts +0 -19
- package/build/components/types/src/components/BlockAction/BlockActionControl.d.ts +0 -9
- package/build/components/types/src/components/BlockAction/BlockActionIndicator.d.ts +0 -9
- package/build/components/types/src/components/BlockAction/CloneElementWithClassName.d.ts +0 -8
- package/build/components/types/src/components/BlockAction/Context.d.ts +0 -15
- package/build/components/types/src/components/BlockAction/index.d.ts +0 -13
- package/build/components/types/src/components/BodyBanner/BodyBanner.d.ts +0 -20
- package/build/components/types/src/components/BodyBanner/index.d.ts +0 -1
- package/build/components/types/src/components/Breadcrumbs/BreadcrumbItem.d.ts +0 -15
- package/build/components/types/src/components/Breadcrumbs/Breadcrumbs.d.ts +0 -18
- package/build/components/types/src/components/Breadcrumbs/index.d.ts +0 -1
- package/build/components/types/src/components/Button/Button.d.ts +0 -25
- package/build/components/types/src/components/Button/IconButton.d.ts +0 -18
- package/build/components/types/src/components/Button/index.d.ts +0 -15
- package/build/components/types/src/components/Buttons/Buttons.d.ts +0 -8
- package/build/components/types/src/components/Buttons/index.d.ts +0 -1
- package/build/components/types/src/components/Card/Card.d.ts +0 -11
- package/build/components/types/src/components/Card/CardProductHeader.d.ts +0 -9
- package/build/components/types/src/components/Card/CardSection.d.ts +0 -14
- package/build/components/types/src/components/Card/index.d.ts +0 -4
- package/build/components/types/src/components/Card/tests/data.d.ts +0 -5
- package/build/components/types/src/components/Carousel/Carousel.d.ts +0 -23
- package/build/components/types/src/components/Carousel/Carousel.static.d.ts +0 -101
- package/build/components/types/src/components/Carousel/CarouselItem.d.ts +0 -7
- package/build/components/types/src/components/Carousel/constants.d.ts +0 -27
- package/build/components/types/src/components/Carousel/index.d.ts +0 -2
- package/build/components/types/src/components/CarouselHero/CarouselHero.d.ts +0 -19
- package/build/components/types/src/components/CarouselHero/CarouselHero.static.d.ts +0 -50
- package/build/components/types/src/components/CarouselHero/CarouselHeroItem.d.ts +0 -8
- package/build/components/types/src/components/CarouselHero/constants.d.ts +0 -33
- package/build/components/types/src/components/CarouselHero/index.d.ts +0 -2
- package/build/components/types/src/components/CarouselPromotions/CarouselPromotions.d.ts +0 -9
- package/build/components/types/src/components/CarouselPromotions/CarouselPromotions.static.d.ts +0 -36
- package/build/components/types/src/components/CarouselPromotions/CarouselPromotionsItem.d.ts +0 -12
- package/build/components/types/src/components/CarouselPromotions/constants.d.ts +0 -20
- package/build/components/types/src/components/CarouselPromotions/index.d.ts +0 -2
- package/build/components/types/src/components/CartTable/CartTable.d.ts +0 -13
- package/build/components/types/src/components/CartTable/FooterNameColumn.d.ts +0 -7
- package/build/components/types/src/components/CartTable/FooterPriceColumn.d.ts +0 -9
- package/build/components/types/src/components/CartTable/Price.d.ts +0 -10
- package/build/components/types/src/components/CartTable/data.d.ts +0 -33
- package/build/components/types/src/components/CartTable/generateFooter.d.ts +0 -22
- package/build/components/types/src/components/CartTable/generateRow.d.ts +0 -21
- package/build/components/types/src/components/CartTable/generateTotal.d.ts +0 -45
- package/build/components/types/src/components/CartTable/index.d.ts +0 -1
- package/build/components/types/src/components/Code/Code.d.ts +0 -16
- package/build/components/types/src/components/Code/index.d.ts +0 -6
- package/build/components/types/src/components/Container/Container.d.ts +0 -3
- package/build/components/types/src/components/Container/index.d.ts +0 -1
- package/build/components/types/src/components/Controls/Controls.d.ts +0 -15
- package/build/components/types/src/components/Controls/index.d.ts +0 -1
- package/build/components/types/src/components/Countdown/Countdown.d.ts +0 -10
- package/build/components/types/src/components/Countdown/Countdown.react.d.ts +0 -8
- package/build/components/types/src/components/Countdown/Countdown.shared.d.ts +0 -54
- package/build/components/types/src/components/Countdown/Countdown.static.d.ts +0 -21
- package/build/components/types/src/components/Countdown/CountdownTag.d.ts +0 -9
- package/build/components/types/src/components/Countdown/CountdownTag.static.d.ts +0 -16
- package/build/components/types/src/components/Countdown/constants.d.ts +0 -28
- package/build/components/types/src/components/Countdown/index.d.ts +0 -3
- package/build/components/types/src/components/Cover/Cover.d.ts +0 -42
- package/build/components/types/src/components/Cover/index.d.ts +0 -2
- package/build/components/types/src/components/Divider/Divider.d.ts +0 -9
- package/build/components/types/src/components/Divider/index.d.ts +0 -1
- package/build/components/types/src/components/DocumentationSidebar/DocumentationSidebar.d.ts +0 -18
- package/build/components/types/src/components/DocumentationSidebar/index.d.ts +0 -3
- package/build/components/types/src/components/Dropdown/Dropdown.d.ts +0 -22
- package/build/components/types/src/components/Dropdown/Dropdown.static.d.ts +0 -28
- package/build/components/types/src/components/Dropdown/DropdownDivider.d.ts +0 -3
- package/build/components/types/src/components/Dropdown/DropdownItem.d.ts +0 -9
- package/build/components/types/src/components/Dropdown/DropdownToggleButton.d.ts +0 -7
- package/build/components/types/src/components/Dropdown/index.d.ts +0 -4
- package/build/components/types/src/components/Expander/Expander.d.ts +0 -25
- package/build/components/types/src/components/Expander/Expander.static.d.ts +0 -14
- package/build/components/types/src/components/Expander/index.d.ts +0 -1
- package/build/components/types/src/components/FeatureAccordion/FeatureAccordion.d.ts +0 -25
- package/build/components/types/src/components/FeatureAccordion/FeatureAccordion.static.d.ts +0 -19
- package/build/components/types/src/components/FeatureAccordion/FeatureAccordionItem.d.ts +0 -12
- package/build/components/types/src/components/FeatureAccordion/index.d.ts +0 -2
- package/build/components/types/src/components/Footer/Footer.d.ts +0 -8
- package/build/components/types/src/components/Footer/Footer.static.d.ts +0 -21
- package/build/components/types/src/components/Footer/PlanObnovy.d.ts +0 -1
- package/build/components/types/src/components/Footer/constants.d.ts +0 -20
- package/build/components/types/src/components/Footer/data.d.ts +0 -26
- package/build/components/types/src/components/Footer/index.d.ts +0 -1
- package/build/components/types/src/components/Footer/static.d.ts +0 -21
- package/build/components/types/src/components/Forms/Autocomplete/Autocomplete.d.ts +0 -19
- package/build/components/types/src/components/Forms/Autocomplete/Autocomplete.static.d.ts +0 -33
- package/build/components/types/src/components/Forms/Autocomplete/index.d.ts +0 -1
- package/build/components/types/src/components/Forms/Checkbox/Checkbox.d.ts +0 -21
- package/build/components/types/src/components/Forms/Checkbox/index.d.ts +0 -1
- package/build/components/types/src/components/Forms/DatePicker/DatePicker.d.ts +0 -84
- package/build/components/types/src/components/Forms/DatePicker/DatePicker.static.d.ts +0 -69
- package/build/components/types/src/components/Forms/DatePicker/index.d.ts +0 -1
- package/build/components/types/src/components/Forms/Field/Control.d.ts +0 -6
- package/build/components/types/src/components/Forms/Field/Description.d.ts +0 -7
- package/build/components/types/src/components/Forms/Field/Field.d.ts +0 -17
- package/build/components/types/src/components/Forms/Field/FieldContext.d.ts +0 -18
- package/build/components/types/src/components/Forms/Field/Label.d.ts +0 -11
- package/build/components/types/src/components/Forms/Field/Messages.d.ts +0 -12
- package/build/components/types/src/components/Forms/Field/Tooltip.d.ts +0 -11
- package/build/components/types/src/components/Forms/Field/index.d.ts +0 -1
- package/build/components/types/src/components/Forms/Field/utils.d.ts +0 -16
- package/build/components/types/src/components/Forms/Fieldset/Fieldset.d.ts +0 -16
- package/build/components/types/src/components/Forms/Fieldset/FieldsetContext.d.ts +0 -7
- package/build/components/types/src/components/Forms/Fieldset/docsData.d.ts +0 -59
- package/build/components/types/src/components/Forms/Fieldset/index.d.ts +0 -1
- package/build/components/types/src/components/Forms/File/File.d.ts +0 -17
- package/build/components/types/src/components/Forms/File/File.static.d.ts +0 -27
- package/build/components/types/src/components/Forms/File/index.d.ts +0 -1
- package/build/components/types/src/components/Forms/Group/Group.d.ts +0 -16
- package/build/components/types/src/components/Forms/Group/Item.d.ts +0 -8
- package/build/components/types/src/components/Forms/Group/index.d.ts +0 -1
- package/build/components/types/src/components/Forms/Hint/Hint.d.ts +0 -7
- package/build/components/types/src/components/Forms/Hint/index.d.ts +0 -1
- package/build/components/types/src/components/Forms/InputStepper/InputStepper.d.ts +0 -21
- package/build/components/types/src/components/Forms/InputStepper/InputStepper.static.d.ts +0 -24
- package/build/components/types/src/components/Forms/InputStepper/index.d.ts +0 -1
- package/build/components/types/src/components/Forms/Label/Label.d.ts +0 -8
- package/build/components/types/src/components/Forms/Label/index.d.ts +0 -1
- package/build/components/types/src/components/Forms/Message/Message.d.ts +0 -12
- package/build/components/types/src/components/Forms/Message/index.d.ts +0 -1
- package/build/components/types/src/components/Forms/Radio/Radio.d.ts +0 -21
- package/build/components/types/src/components/Forms/Radio/index.d.ts +0 -1
- package/build/components/types/src/components/Forms/RangeSlider/RangeSlider.d.ts +0 -40
- package/build/components/types/src/components/Forms/RangeSlider/RangeSlider.static.d.ts +0 -24
- package/build/components/types/src/components/Forms/RangeSlider/data.d.ts +0 -49
- package/build/components/types/src/components/Forms/RangeSlider/index.d.ts +0 -1
- package/build/components/types/src/components/Forms/Select/Select.d.ts +0 -33
- package/build/components/types/src/components/Forms/Select/index.d.ts +0 -3
- package/build/components/types/src/components/Forms/TextArea/TextArea.d.ts +0 -29
- package/build/components/types/src/components/Forms/TextArea/index.d.ts +0 -1
- package/build/components/types/src/components/Forms/TextInput/TextInput.d.ts +0 -35
- package/build/components/types/src/components/Forms/TextInput/index.d.ts +0 -1
- package/build/components/types/src/components/Forms/index.d.ts +0 -16
- package/build/components/types/src/components/Gauge/Gauge.d.ts +0 -11
- package/build/components/types/src/components/Gauge/GaugeMaker.d.ts +0 -3
- package/build/components/types/src/components/Gauge/index.d.ts +0 -1
- package/build/components/types/src/components/Grid/Grid.d.ts +0 -14
- package/build/components/types/src/components/Grid/GridCol.d.ts +0 -12
- package/build/components/types/src/components/Grid/index.d.ts +0 -2
- package/build/components/types/src/components/Hero/Hero.d.ts +0 -49
- package/build/components/types/src/components/Hero/index.d.ts +0 -1
- package/build/components/types/src/components/Icon/Icon.d.ts +0 -30
- package/build/components/types/src/components/Icon/IconSearch.d.ts +0 -6
- package/build/components/types/src/components/Icon/IconSearchWrapper.d.ts +0 -1
- package/build/components/types/src/components/Icon/Pictogram.d.ts +0 -22
- package/build/components/types/src/components/Icon/PictogramSearch.d.ts +0 -6
- package/build/components/types/src/components/Icon/PictogramSearchWrapper.d.ts +0 -1
- package/build/components/types/src/components/Icon/SpritePathContext.d.ts +0 -8
- package/build/components/types/src/components/Icon/iconSearchTags.d.ts +0 -427
- package/build/components/types/src/components/Icon/iconUtils.d.ts +0 -2
- package/build/components/types/src/components/Icon/index.d.ts +0 -3
- package/build/components/types/src/components/IconList/IconList.d.ts +0 -13
- package/build/components/types/src/components/IconList/Item.d.ts +0 -9
- package/build/components/types/src/components/IconList/index.d.ts +0 -2
- package/build/components/types/src/components/Image/Image.d.ts +0 -20
- package/build/components/types/src/components/Image/index.d.ts +0 -1
- package/build/components/types/src/components/Link/Link.d.ts +0 -18
- package/build/components/types/src/components/Link/index.d.ts +0 -1
- package/build/components/types/src/components/List/ClickableControl.d.ts +0 -9
- package/build/components/types/src/components/List/List.d.ts +0 -13
- package/build/components/types/src/components/List/ListItem.d.ts +0 -16
- package/build/components/types/src/components/List/index.d.ts +0 -2
- package/build/components/types/src/components/Loader/Loader.d.ts +0 -14
- package/build/components/types/src/components/Loader/Loader.static.d.ts +0 -19
- package/build/components/types/src/components/Loader/LoaderFullscreen.d.ts +0 -7
- package/build/components/types/src/components/Loader/index.d.ts +0 -2
- package/build/components/types/src/components/Megamenu/BrandMark.d.ts +0 -1
- package/build/components/types/src/components/Megamenu/Logo.d.ts +0 -1
- package/build/components/types/src/components/Megamenu/LogoJeTu.d.ts +0 -1
- package/build/components/types/src/components/Megamenu/MegaMenuIcon.d.ts +0 -13
- package/build/components/types/src/components/Megamenu/Megamenu.d.ts +0 -20
- package/build/components/types/src/components/Megamenu/Megamenu.static.d.ts +0 -63
- package/build/components/types/src/components/Megamenu/MegamenuBlog.d.ts +0 -2
- package/build/components/types/src/components/Megamenu/MegamenuSearchContent.d.ts +0 -10
- package/build/components/types/src/components/Megamenu/MyOrangeMobilePanel.d.ts +0 -8
- package/build/components/types/src/components/Megamenu/constants.d.ts +0 -86
- package/build/components/types/src/components/Megamenu/data.d.ts +0 -29
- package/build/components/types/src/components/Megamenu/ids.d.ts +0 -11
- package/build/components/types/src/components/Megamenu/index.d.ts +0 -3
- package/build/components/types/src/components/Megamenu/shared.d.ts +0 -40
- package/build/components/types/src/components/Megamenu/static.d.ts +0 -21
- package/build/components/types/src/components/Modal/Modal.d.ts +0 -39
- package/build/components/types/src/components/Modal/Modal.static.d.ts +0 -37
- package/build/components/types/src/components/Modal/ModalBody.d.ts +0 -12
- package/build/components/types/src/components/Modal/ModalCloseButton.d.ts +0 -8
- package/build/components/types/src/components/Modal/ModalProductFooter.d.ts +0 -10
- package/build/components/types/src/components/Modal/ModalProductHeader.d.ts +0 -11
- package/build/components/types/src/components/Modal/ModalTitle.d.ts +0 -9
- package/build/components/types/src/components/Modal/index.d.ts +0 -6
- package/build/components/types/src/components/Pagination/Pagination.d.ts +0 -25
- package/build/components/types/src/components/Pagination/PaginationItem.d.ts +0 -21
- package/build/components/types/src/components/Pagination/Separator.d.ts +0 -6
- package/build/components/types/src/components/Pagination/helpers.d.ts +0 -23
- package/build/components/types/src/components/Pagination/index.d.ts +0 -3
- package/build/components/types/src/components/Pill/Pill.d.ts +0 -11
- package/build/components/types/src/components/Pill/index.d.ts +0 -1
- package/build/components/types/src/components/Preview/CodeExample.d.ts +0 -12
- package/build/components/types/src/components/Preview/Preview.d.ts +0 -9
- package/build/components/types/src/components/Preview/PreviewGenerator.d.ts +0 -30
- package/build/components/types/src/components/Preview/PreviewTitleBar.d.ts +0 -9
- package/build/components/types/src/components/Preview/getElementDisplayName.d.ts +0 -1
- package/build/components/types/src/components/Preview/index.d.ts +0 -9
- package/build/components/types/src/components/Progress/Progress.d.ts +0 -14
- package/build/components/types/src/components/Progress/index.d.ts +0 -1
- package/build/components/types/src/components/PromoBanner/PromoBanner.d.ts +0 -25
- package/build/components/types/src/components/PromoBanner/index.d.ts +0 -1
- package/build/components/types/src/components/PromotionCard/PromotionCard.d.ts +0 -9
- package/build/components/types/src/components/PromotionCard/PromotionCardContent.d.ts +0 -8
- package/build/components/types/src/components/PromotionCard/PromotionCardImageWrapper.d.ts +0 -8
- package/build/components/types/src/components/PromotionCard/PromotionCardSection.d.ts +0 -9
- package/build/components/types/src/components/PromotionCard/PromotionCardTitle.d.ts +0 -8
- package/build/components/types/src/components/PromotionCard/constants.d.ts +0 -5
- package/build/components/types/src/components/PromotionCard/index.d.ts +0 -5
- package/build/components/types/src/components/Section/Section.d.ts +0 -26
- package/build/components/types/src/components/Section/index.d.ts +0 -1
- package/build/components/types/src/components/Skeleton/Skeleton.d.ts +0 -3
- package/build/components/types/src/components/Skeleton/index.d.ts +0 -1
- package/build/components/types/src/components/SkipLink/SkipLink.d.ts +0 -6
- package/build/components/types/src/components/SkipLink/index.d.ts +0 -1
- package/build/components/types/src/components/SocialButton/SocialButton.d.ts +0 -13
- package/build/components/types/src/components/SocialButton/index.d.ts +0 -1
- package/build/components/types/src/components/StarRating/StarRating.d.ts +0 -9
- package/build/components/types/src/components/StarRating/index.d.ts +0 -1
- package/build/components/types/src/components/Stepbar/Stepbar.d.ts +0 -19
- package/build/components/types/src/components/Stepbar/index.d.ts +0 -1
- package/build/components/types/src/components/Sticker/Sticker.d.ts +0 -10
- package/build/components/types/src/components/Sticker/index.d.ts +0 -2
- package/build/components/types/src/components/Table/Cell.d.ts +0 -11
- package/build/components/types/src/components/Table/Footer.d.ts +0 -3
- package/build/components/types/src/components/Table/Header.d.ts +0 -3
- package/build/components/types/src/components/Table/Row.d.ts +0 -10
- package/build/components/types/src/components/Table/Rows.d.ts +0 -3
- package/build/components/types/src/components/Table/Table.d.ts +0 -24
- package/build/components/types/src/components/Table/Table.static.d.ts +0 -23
- package/build/components/types/src/components/Table/TableContext.d.ts +0 -4
- package/build/components/types/src/components/Table/docsData.d.ts +0 -41
- package/build/components/types/src/components/Table/index.d.ts +0 -2
- package/build/components/types/src/components/Table/types.d.ts +0 -35
- package/build/components/types/src/components/Tabs/Tab.d.ts +0 -13
- package/build/components/types/src/components/Tabs/TabPanel.d.ts +0 -20
- package/build/components/types/src/components/Tabs/Tabs.d.ts +0 -18
- package/build/components/types/src/components/Tabs/Tabs.static.d.ts +0 -40
- package/build/components/types/src/components/Tabs/index.d.ts +0 -3
- package/build/components/types/src/components/Tag/Tag.d.ts +0 -29
- package/build/components/types/src/components/Tag/TagButton.d.ts +0 -12
- package/build/components/types/src/components/Tag/index.d.ts +0 -3
- package/build/components/types/src/components/Tile/Tile.d.ts +0 -16
- package/build/components/types/src/components/Tile/index.d.ts +0 -1
- package/build/components/types/src/components/Timeline/Timeline.d.ts +0 -13
- package/build/components/types/src/components/Timeline/index.d.ts +0 -2
- package/build/components/types/src/components/Tooltip/InfoTooltip.d.ts +0 -8
- package/build/components/types/src/components/Tooltip/Tooltip.d.ts +0 -24
- package/build/components/types/src/components/Tooltip/Tooltip.static.d.ts +0 -30
- package/build/components/types/src/components/Tooltip/index.d.ts +0 -2
- package/build/components/types/src/components/Tooltip/tests/BaseWrapper.d.ts +0 -3
- package/build/components/types/src/components/index.d.ts +0 -54
- package/build/components/types/src/components/static.d.ts +0 -1
- package/build/components/types/src/docs/utils/SpacePreview.d.ts +0 -2
- package/build/components/types/src/docs/utils/ToggleButton.d.ts +0 -9
- package/build/components/types/src/scripts/index.d.ts +0 -131
- package/build/components/types/src/scripts/lib/moduleFactory.d.ts +0 -3
- package/build/components/types/src/scripts/modules/SameHeight.d.ts +0 -22
- package/build/components/types/src/scripts/modules/SpacePreview/SpacePreview.d.ts +0 -23
- package/build/components/types/src/scripts/modules/SpacePreview/index.d.ts +0 -2
- package/build/components/types/src/scripts/modules/Toggle.d.ts +0 -42
- package/build/components/types/src/scripts/modules/toggleUtil.d.ts +0 -13
- package/build/components/types/src/styles/export/breakpoint.d.ts +0 -9
- package/build/components/types/src/styles/export/color.d.ts +0 -107
- package/build/components/types/src/styles/export/space.d.ts +0 -9
- package/build/components/types/src/utils/ConditionalWrapper.d.ts +0 -10
- package/build/components/types/src/utils/classes.d.ts +0 -5
- package/build/components/types/src/utils/color.d.ts +0 -20
- package/build/components/types/src/utils/constants.d.ts +0 -18
- package/build/components/types/src/utils/formatCode.d.ts +0 -5
- package/build/components/types/src/utils/generateId.d.ts +0 -6
- package/build/components/types/src/utils/helpers.d.ts +0 -11
- package/build/components/types/src/utils/hooks.d.ts +0 -30
- package/build/components/types/src/utils/index.d.ts +0 -5
- package/build/components/types/src/utils/keyboard.d.ts +0 -14
- package/build/lib/tsconfig.tsbuildinfo +0 -1
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface ExpanderProps {
|
|
3
|
-
/** Custom summary text renderer. Passes props as function parameter. */
|
|
4
|
-
renderSummary?: (props: ExpanderProps) => React.ReactNode;
|
|
5
|
-
/** Custom summary text renderer when details are opened. Passes props as function parameter. */
|
|
6
|
-
renderSummaryOpened?: (props: ExpanderProps) => React.ReactNode;
|
|
7
|
-
/** Trigger text */
|
|
8
|
-
summary?: string;
|
|
9
|
-
/** Trigger text when details are opened */
|
|
10
|
-
summaryOpened?: string;
|
|
11
|
-
/** Additional CSS classes */
|
|
12
|
-
className?: string;
|
|
13
|
-
/** Child elements */
|
|
14
|
-
children?: React.ReactNode;
|
|
15
|
-
/** Expander takes full width of its container */
|
|
16
|
-
isFullWidth?: boolean;
|
|
17
|
-
/** Position of trigger relative to content when opened */
|
|
18
|
-
placement?: "top" | "bottom";
|
|
19
|
-
/** Group identifier for syncing multiple expanders together */
|
|
20
|
-
toggleGroup?: string;
|
|
21
|
-
/** Initial open state */
|
|
22
|
-
open?: boolean;
|
|
23
|
-
}
|
|
24
|
-
export declare const Expander: React.FC<ExpanderProps>;
|
|
25
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
interface HTMLElementWithExpander extends HTMLDetailsElement {
|
|
2
|
-
ODS_Expander?: Expander;
|
|
3
|
-
}
|
|
4
|
-
export default class Expander {
|
|
5
|
-
private element;
|
|
6
|
-
constructor(element: HTMLElement);
|
|
7
|
-
toggle(): void;
|
|
8
|
-
private syncGroup;
|
|
9
|
-
init(): void;
|
|
10
|
-
update(): void;
|
|
11
|
-
destroy(): void;
|
|
12
|
-
static getInstance(el: HTMLElementWithExpander | null): Expander | null;
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Expander } from "./Expander";
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface FeatureAccordionImageSrc {
|
|
3
|
-
src: string;
|
|
4
|
-
srcSet?: string;
|
|
5
|
-
}
|
|
6
|
-
export interface FeatureAccordionImageResponsive {
|
|
7
|
-
default: string;
|
|
8
|
-
sm?: string;
|
|
9
|
-
md?: string;
|
|
10
|
-
lg?: string;
|
|
11
|
-
xl?: string;
|
|
12
|
-
xxl?: string;
|
|
13
|
-
[key: string]: string | undefined;
|
|
14
|
-
}
|
|
15
|
-
export type FeatureAccordionImage = FeatureAccordionImageSrc | FeatureAccordionImageResponsive;
|
|
16
|
-
interface AccordionProps {
|
|
17
|
-
/** Additional CSS classes */
|
|
18
|
-
className?: string;
|
|
19
|
-
/** Additional CSS classes for preview area */
|
|
20
|
-
previewClassName?: string;
|
|
21
|
-
}
|
|
22
|
-
declare const FeatureAccordion: (props: AccordionProps & {
|
|
23
|
-
children: React.ReactNode;
|
|
24
|
-
}) => React.JSX.Element;
|
|
25
|
-
export { FeatureAccordion };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
interface FeatureAccordionConfig {
|
|
2
|
-
bodiesSelector: string;
|
|
3
|
-
buttonSelector: string;
|
|
4
|
-
}
|
|
5
|
-
export default class FeatureAccordion {
|
|
6
|
-
private element;
|
|
7
|
-
private config;
|
|
8
|
-
private bodies;
|
|
9
|
-
private buttons;
|
|
10
|
-
private images;
|
|
11
|
-
constructor(element: HTMLElement, config?: Partial<FeatureAccordionConfig>);
|
|
12
|
-
private init;
|
|
13
|
-
private onClick;
|
|
14
|
-
private setActive;
|
|
15
|
-
destroy(): void;
|
|
16
|
-
update(): void;
|
|
17
|
-
static getInstance(el: HTMLElement): FeatureAccordion | null;
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { AccordionItemProps } from "../Accordion/AccordionItem";
|
|
3
|
-
import type { FeatureAccordionImage } from "./FeatureAccordion";
|
|
4
|
-
interface FeatureAccordionItemProps extends AccordionItemProps {
|
|
5
|
-
image?: string | FeatureAccordionImage;
|
|
6
|
-
imageUrl?: string;
|
|
7
|
-
imageAlt?: string;
|
|
8
|
-
imageSrcSet?: string;
|
|
9
|
-
[key: string]: any;
|
|
10
|
-
}
|
|
11
|
-
declare const FeatureAccordionItem: React.FC<FeatureAccordionItemProps>;
|
|
12
|
-
export { FeatureAccordionItem };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
interface FooterSection {
|
|
2
|
-
element: HTMLElement;
|
|
3
|
-
toggle: HTMLButtonElement | null;
|
|
4
|
-
panel: HTMLElement | null;
|
|
5
|
-
}
|
|
6
|
-
export default class Footer {
|
|
7
|
-
element: HTMLElement;
|
|
8
|
-
sections: FooterSection[];
|
|
9
|
-
mediaQueryList: MediaQueryList;
|
|
10
|
-
onToggleClick: (event: Event) => void;
|
|
11
|
-
onMediaQueryChange: () => void;
|
|
12
|
-
constructor(element: HTMLElement);
|
|
13
|
-
static getInstance(el: HTMLElement): Footer | null;
|
|
14
|
-
init(): void;
|
|
15
|
-
private setSectionState;
|
|
16
|
-
private syncViewportState;
|
|
17
|
-
private handleToggleClick;
|
|
18
|
-
destroy(): void;
|
|
19
|
-
update(): void;
|
|
20
|
-
}
|
|
21
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const PlanObnovyImage: () => import("react").JSX.Element;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export declare const CLASS_ROOT = "footer";
|
|
2
|
-
export declare const CLASS_CONTAINER = "footer__container";
|
|
3
|
-
export declare const CLASS_LOGO = "footer__logo";
|
|
4
|
-
export declare const CLASS_TITLE = "footer__title";
|
|
5
|
-
export declare const CLASS_LIST = "footer__list";
|
|
6
|
-
export declare const CLASS_LIST_SPACE_SMALL = "footer__list--space-small";
|
|
7
|
-
export declare const CLASS_LIST_INLINE = "footer__list--inline";
|
|
8
|
-
export declare const CLASS_LIST_STACK_SM_DOWN = "footer__list--stack-sm-down";
|
|
9
|
-
export declare const CLASS_LIST_BREAK_SM_DOWN = "footer__list-break--sm-down";
|
|
10
|
-
export declare const CLASS_LIST_ITEM_LEAD = "footer__list-item--lead";
|
|
11
|
-
export declare const CLASS_BOTTOM = "footer__bottom";
|
|
12
|
-
export declare const CLASS_BOTTOM_COPYRIGHT = "footer__bottom-copyright";
|
|
13
|
-
export declare const CLASS_MENU = "footer__menu";
|
|
14
|
-
export declare const CLASS_MENU_SECTION = "footer__menu-section";
|
|
15
|
-
export declare const CLASS_BAR = "footer__bar";
|
|
16
|
-
export declare const CLASS_MB_LARGE = "footer--mb-xlarge";
|
|
17
|
-
export declare const CLASS_ACCORDION_TOGGLE = "footer__accordion-toggle";
|
|
18
|
-
export declare const CLASS_ACCORDION_ICON = "footer__accordion-icon";
|
|
19
|
-
export declare const CLASS_DIVIDER = "footer__divider";
|
|
20
|
-
export declare const CLASS_DIVIDER_HIDE_XS_DOWN = "footer__divider--hide-xs-down";
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { SocialName } from "../SocialButton/SocialButton";
|
|
2
|
-
declare const data: {
|
|
3
|
-
columns: {
|
|
4
|
-
title: string;
|
|
5
|
-
links: {
|
|
6
|
-
label: string;
|
|
7
|
-
url: string;
|
|
8
|
-
}[];
|
|
9
|
-
}[];
|
|
10
|
-
bottomLinks: {
|
|
11
|
-
label: string;
|
|
12
|
-
url: string;
|
|
13
|
-
}[];
|
|
14
|
-
copyright: string;
|
|
15
|
-
};
|
|
16
|
-
export declare const socials: Array<{
|
|
17
|
-
name: SocialName;
|
|
18
|
-
url: string;
|
|
19
|
-
label: string;
|
|
20
|
-
}>;
|
|
21
|
-
export declare const apps: {
|
|
22
|
-
label: string;
|
|
23
|
-
src: string;
|
|
24
|
-
url: string;
|
|
25
|
-
}[];
|
|
26
|
-
export default data;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Footer } from "./Footer";
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import Footer from "./Footer.static";
|
|
2
|
-
import "./styles/style.scss";
|
|
3
|
-
export declare const customFooterModuleSelectorPairs: {
|
|
4
|
-
Module: typeof Footer;
|
|
5
|
-
name: string;
|
|
6
|
-
selector: string;
|
|
7
|
-
}[];
|
|
8
|
-
declare global {
|
|
9
|
-
interface Window {
|
|
10
|
-
ODSFooter: {
|
|
11
|
-
Footer: typeof Footer;
|
|
12
|
-
instances: Footer[];
|
|
13
|
-
init: () => void;
|
|
14
|
-
destroy: () => void;
|
|
15
|
-
initModulesWithin: (container: any) => {};
|
|
16
|
-
destroyModulesWithin: (container: any, removeOrphanedNodes?: boolean | undefined) => {};
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
export { Footer };
|
|
21
|
-
export default Footer;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export type AutocompleteOption = string | {
|
|
3
|
-
title: string;
|
|
4
|
-
value: string;
|
|
5
|
-
};
|
|
6
|
-
export interface AutocompleteProps extends Omit<React.SelectHTMLAttributes<HTMLSelectElement>, "size" | "value"> {
|
|
7
|
-
/** Module config. For more see accessible-autocomplete docs */
|
|
8
|
-
autocompleteConfig?: Record<string, any>;
|
|
9
|
-
/** Array of string options */
|
|
10
|
-
options?: AutocompleteOption[];
|
|
11
|
-
/** Placeholder text */
|
|
12
|
-
placeholder?: string;
|
|
13
|
-
/** Additional CSS classes */
|
|
14
|
-
className?: string;
|
|
15
|
-
/** Select value */
|
|
16
|
-
value?: string | string[];
|
|
17
|
-
}
|
|
18
|
-
declare const Autocomplete: React.FC<AutocompleteProps>;
|
|
19
|
-
export { Autocomplete };
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export interface AutocompleteConfig {
|
|
2
|
-
autoselect: boolean;
|
|
3
|
-
autocomplete?: string;
|
|
4
|
-
wrapperClassName: string;
|
|
5
|
-
menuClassName: string;
|
|
6
|
-
optionClassName: string;
|
|
7
|
-
customInputClassName: string;
|
|
8
|
-
displayMenu: string;
|
|
9
|
-
onConfirm?: (value: unknown) => void;
|
|
10
|
-
tClearButton: () => string;
|
|
11
|
-
tAssistiveHint: () => string;
|
|
12
|
-
}
|
|
13
|
-
export declare const defaultConfig: AutocompleteConfig;
|
|
14
|
-
export default class Autocomplete {
|
|
15
|
-
private element;
|
|
16
|
-
private config;
|
|
17
|
-
private instance;
|
|
18
|
-
private teardownClearButton;
|
|
19
|
-
constructor(element: HTMLElement, config?: Partial<AutocompleteConfig>);
|
|
20
|
-
private init;
|
|
21
|
-
private getWrapper;
|
|
22
|
-
private getInput;
|
|
23
|
-
private initEnhancedControls;
|
|
24
|
-
private syncInputState;
|
|
25
|
-
private initClearButton;
|
|
26
|
-
private preventDefault;
|
|
27
|
-
private stopPropagation;
|
|
28
|
-
private onClearButtonClick;
|
|
29
|
-
private onPageshow;
|
|
30
|
-
destroy(): void;
|
|
31
|
-
update(): void;
|
|
32
|
-
static getInstance(el: HTMLElement): Autocomplete | null;
|
|
33
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Autocomplete } from "./Autocomplete";
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export type CheckboxSize = "default" | "large";
|
|
3
|
-
export interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> {
|
|
4
|
-
/** Html id attribute */
|
|
5
|
-
id: string;
|
|
6
|
-
/** Checked state. */
|
|
7
|
-
isChecked?: boolean;
|
|
8
|
-
/** Disabled state. */
|
|
9
|
-
isDisabled?: boolean;
|
|
10
|
-
/** Invalid state */
|
|
11
|
-
isInvalid?: boolean;
|
|
12
|
-
/** Checkbox is displayed as Toggle */
|
|
13
|
-
isToggle?: boolean;
|
|
14
|
-
/** Html name attribute. Id is used when not set.*/
|
|
15
|
-
name?: string;
|
|
16
|
-
/** Size of element. */
|
|
17
|
-
size?: CheckboxSize;
|
|
18
|
-
className?: string;
|
|
19
|
-
}
|
|
20
|
-
declare const Checkbox: React.FC<CheckboxProps>;
|
|
21
|
-
export { Checkbox };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Checkbox } from "./Checkbox";
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface DayPickrWeekday {
|
|
3
|
-
name: string;
|
|
4
|
-
shortname: string;
|
|
5
|
-
}
|
|
6
|
-
interface DayPickrL10n {
|
|
7
|
-
prevMonth: string;
|
|
8
|
-
nextMonth: string;
|
|
9
|
-
month: string;
|
|
10
|
-
year: string;
|
|
11
|
-
weekdays: DayPickrWeekday[];
|
|
12
|
-
months: string[];
|
|
13
|
-
openButton: string;
|
|
14
|
-
closeButton: string;
|
|
15
|
-
}
|
|
16
|
-
interface DayPickrClasses {
|
|
17
|
-
wrapper?: string;
|
|
18
|
-
header?: string;
|
|
19
|
-
select?: string;
|
|
20
|
-
selectDisplay?: string;
|
|
21
|
-
monthSelect?: string;
|
|
22
|
-
yearSelect?: string;
|
|
23
|
-
button?: string;
|
|
24
|
-
paginationButton?: string;
|
|
25
|
-
nextMonthButton?: string;
|
|
26
|
-
prevMonthButton?: string;
|
|
27
|
-
yearMonthWrapper?: string;
|
|
28
|
-
pagination?: string;
|
|
29
|
-
table?: string;
|
|
30
|
-
tableRow?: string;
|
|
31
|
-
tableCell?: string;
|
|
32
|
-
tableHeaderRow?: string;
|
|
33
|
-
tableHeaderCell?: string;
|
|
34
|
-
dayButton?: string;
|
|
35
|
-
isToday?: string;
|
|
36
|
-
isSelected?: string;
|
|
37
|
-
srOnly?: string;
|
|
38
|
-
input?: string;
|
|
39
|
-
closeButton?: string;
|
|
40
|
-
toggleButton?: string;
|
|
41
|
-
}
|
|
42
|
-
interface DayPickrIcon {
|
|
43
|
-
type: string;
|
|
44
|
-
xmlns?: string;
|
|
45
|
-
viewBox?: string;
|
|
46
|
-
className?: string;
|
|
47
|
-
children?: Array<{
|
|
48
|
-
type: string;
|
|
49
|
-
d?: string;
|
|
50
|
-
"fill-rule"?: string;
|
|
51
|
-
}>;
|
|
52
|
-
}
|
|
53
|
-
export interface DayPickrConfig {
|
|
54
|
-
locale?: string;
|
|
55
|
-
classes?: DayPickrClasses;
|
|
56
|
-
firstDayOfWeek?: number;
|
|
57
|
-
l10n?: Partial<DayPickrL10n>;
|
|
58
|
-
parseDate?: (date: string) => Date | false;
|
|
59
|
-
calendarIcon?: DayPickrIcon;
|
|
60
|
-
disabledDayFn?: (date: Date) => boolean;
|
|
61
|
-
}
|
|
62
|
-
export interface DatePickerProps {
|
|
63
|
-
/**
|
|
64
|
-
* daypickr config object
|
|
65
|
-
* @see https://github.com/lightingbeetle/daypickr/
|
|
66
|
-
* Only the most common options are typed, but you can pass any valid daypickr config
|
|
67
|
-
*/
|
|
68
|
-
dayPickrConfig?: DayPickrConfig;
|
|
69
|
-
/**
|
|
70
|
-
* All days except ones in array will be disabled
|
|
71
|
-
* Use YYYY-MM-DD format
|
|
72
|
-
*/
|
|
73
|
-
enabledDays?: string[];
|
|
74
|
-
/**
|
|
75
|
-
* ID of both visible ({id}-input) and hidden ({id}-value) input elements
|
|
76
|
-
*/
|
|
77
|
-
id?: string;
|
|
78
|
-
/**
|
|
79
|
-
* Name of the hidden input element that contains date value
|
|
80
|
-
*/
|
|
81
|
-
name?: string;
|
|
82
|
-
}
|
|
83
|
-
declare const DatePicker: React.FC<DatePickerProps>;
|
|
84
|
-
export { DatePicker };
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
export interface DayPickrWeekday {
|
|
2
|
-
name: string;
|
|
3
|
-
shortname: string;
|
|
4
|
-
}
|
|
5
|
-
export interface DayPickrL10n {
|
|
6
|
-
prevMonth: string;
|
|
7
|
-
nextMonth: string;
|
|
8
|
-
month: string;
|
|
9
|
-
year: string;
|
|
10
|
-
weekdays: DayPickrWeekday[];
|
|
11
|
-
months: string[];
|
|
12
|
-
openButton: string;
|
|
13
|
-
closeButton: string;
|
|
14
|
-
}
|
|
15
|
-
export interface DayPickrClasses {
|
|
16
|
-
wrapper?: string;
|
|
17
|
-
header?: string;
|
|
18
|
-
select?: string;
|
|
19
|
-
selectDisplay?: string;
|
|
20
|
-
monthSelect?: string;
|
|
21
|
-
yearSelect?: string;
|
|
22
|
-
button?: string;
|
|
23
|
-
paginationButton?: string;
|
|
24
|
-
nextMonthButton?: string;
|
|
25
|
-
prevMonthButton?: string;
|
|
26
|
-
yearMonthWrapper?: string;
|
|
27
|
-
pagination?: string;
|
|
28
|
-
table?: string;
|
|
29
|
-
tableRow?: string;
|
|
30
|
-
tableCell?: string;
|
|
31
|
-
tableHeaderRow?: string;
|
|
32
|
-
tableHeaderCell?: string;
|
|
33
|
-
dayButton?: string;
|
|
34
|
-
isToday?: string;
|
|
35
|
-
isSelected?: string;
|
|
36
|
-
srOnly?: string;
|
|
37
|
-
input?: string;
|
|
38
|
-
closeButton?: string;
|
|
39
|
-
toggleButton?: string;
|
|
40
|
-
}
|
|
41
|
-
export interface DayPickrIcon {
|
|
42
|
-
type: string;
|
|
43
|
-
xmlns?: string;
|
|
44
|
-
viewBox?: string;
|
|
45
|
-
className?: string;
|
|
46
|
-
children?: Array<{
|
|
47
|
-
type: string;
|
|
48
|
-
d?: string;
|
|
49
|
-
"fill-rule"?: string;
|
|
50
|
-
}>;
|
|
51
|
-
}
|
|
52
|
-
export interface DayPickrConfig {
|
|
53
|
-
locale?: string;
|
|
54
|
-
classes?: DayPickrClasses;
|
|
55
|
-
firstDayOfWeek?: number;
|
|
56
|
-
l10n?: Partial<DayPickrL10n>;
|
|
57
|
-
parseDate?: (date: string) => Date | false;
|
|
58
|
-
calendarIcon?: DayPickrIcon;
|
|
59
|
-
disabledDayFn?: (date: Date) => boolean;
|
|
60
|
-
}
|
|
61
|
-
export declare const defaultConfig: DayPickrConfig;
|
|
62
|
-
export default class DatePickerStatic {
|
|
63
|
-
element: HTMLElement;
|
|
64
|
-
config: DayPickrConfig;
|
|
65
|
-
instance: any;
|
|
66
|
-
constructor(element: HTMLElement, config: DayPickrConfig);
|
|
67
|
-
init(): void;
|
|
68
|
-
destroy(): void;
|
|
69
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { DatePicker } from "./DatePicker";
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { FieldContextType } from "./FieldContext";
|
|
3
|
-
export interface InputFieldProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
control: FieldContextType["control"];
|
|
6
|
-
hint?: React.ReactNode;
|
|
7
|
-
label?: React.ReactNode;
|
|
8
|
-
labelAfter?: React.ReactNode;
|
|
9
|
-
messages?: Array<{
|
|
10
|
-
type: string;
|
|
11
|
-
text: string;
|
|
12
|
-
}>;
|
|
13
|
-
tooltip?: React.ReactNode;
|
|
14
|
-
[key: string]: any;
|
|
15
|
-
}
|
|
16
|
-
declare const Field: React.FC<InputFieldProps>;
|
|
17
|
-
export { Field };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export interface FieldContextType {
|
|
2
|
-
controlId?: string;
|
|
3
|
-
messages?: any[];
|
|
4
|
-
control?: {
|
|
5
|
-
type?: string;
|
|
6
|
-
control?: any;
|
|
7
|
-
renderControl?: (props: any) => React.ReactNode;
|
|
8
|
-
isToggle?: boolean;
|
|
9
|
-
[key: string]: any;
|
|
10
|
-
};
|
|
11
|
-
hint?: React.ReactNode;
|
|
12
|
-
label?: React.ReactNode;
|
|
13
|
-
labelAfter?: React.ReactNode;
|
|
14
|
-
tooltip?: React.ReactNode;
|
|
15
|
-
isRadioCheck?: boolean;
|
|
16
|
-
}
|
|
17
|
-
declare const FieldContext: import("react").Context<FieldContextType | null>;
|
|
18
|
-
export { FieldContext };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { MessageType as MessageTypeEnum } from "../Message/Message";
|
|
3
|
-
export interface MessageType {
|
|
4
|
-
isMain: boolean;
|
|
5
|
-
type: MessageTypeEnum;
|
|
6
|
-
text: React.ReactNode;
|
|
7
|
-
}
|
|
8
|
-
export interface MessagesProps {
|
|
9
|
-
isMain?: boolean;
|
|
10
|
-
}
|
|
11
|
-
declare const Messages: React.FC<MessagesProps>;
|
|
12
|
-
export { Messages };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { TooltipPlacement } from "../../Tooltip/Tooltip";
|
|
3
|
-
export interface FormTooltipProps {
|
|
4
|
-
id: string;
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
className?: string;
|
|
7
|
-
placement?: TooltipPlacement;
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
}
|
|
10
|
-
declare const FormTooltip: React.FC<FormTooltipProps>;
|
|
11
|
-
export { FormTooltip };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Field } from "./Field";
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface Message {
|
|
3
|
-
[key: string]: any;
|
|
4
|
-
}
|
|
5
|
-
export declare const getDescribedBy: (hint: string | undefined | React.ReactNode, messages: Message[], tooltip: string | undefined | React.ReactNode, id: string) => string;
|
|
6
|
-
interface InnerControl {
|
|
7
|
-
id?: string;
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
}
|
|
10
|
-
interface Control {
|
|
11
|
-
id?: string;
|
|
12
|
-
control?: InnerControl;
|
|
13
|
-
[key: string]: any;
|
|
14
|
-
}
|
|
15
|
-
export declare const getControlId: (control: Control) => string;
|
|
16
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
export interface FieldsetMessage {
|
|
3
|
-
[key: string]: any;
|
|
4
|
-
}
|
|
5
|
-
export interface FieldsetProps extends React.FieldsetHTMLAttributes<HTMLFieldSetElement> {
|
|
6
|
-
/** Required `<legend />` for fieldset */
|
|
7
|
-
legend: ReactNode;
|
|
8
|
-
/** Additional legend props */
|
|
9
|
-
legendProps?: React.HTMLAttributes<HTMLLegendElement>;
|
|
10
|
-
description?: ReactNode;
|
|
11
|
-
messages?: FieldsetMessage[];
|
|
12
|
-
className?: string;
|
|
13
|
-
children?: ReactNode;
|
|
14
|
-
}
|
|
15
|
-
declare const Fieldset: React.FC<FieldsetProps>;
|
|
16
|
-
export { Fieldset };
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
export declare const deliveryFields: {
|
|
2
|
-
label: string;
|
|
3
|
-
control: {
|
|
4
|
-
type: string;
|
|
5
|
-
};
|
|
6
|
-
}[];
|
|
7
|
-
export declare const deliveryValues: string[];
|
|
8
|
-
export declare const inlineDateFields: {
|
|
9
|
-
label: string;
|
|
10
|
-
control: {
|
|
11
|
-
type: string;
|
|
12
|
-
width: string;
|
|
13
|
-
};
|
|
14
|
-
pattern: string;
|
|
15
|
-
inputMode: string;
|
|
16
|
-
}[];
|
|
17
|
-
export declare const separateMessages: {
|
|
18
|
-
type: string;
|
|
19
|
-
fieldLabel: string;
|
|
20
|
-
text: string;
|
|
21
|
-
}[];
|
|
22
|
-
export declare const inlineErrorFields: ({
|
|
23
|
-
control: {
|
|
24
|
-
isInvalid: boolean;
|
|
25
|
-
type: string;
|
|
26
|
-
width: string;
|
|
27
|
-
};
|
|
28
|
-
label: string;
|
|
29
|
-
pattern: string;
|
|
30
|
-
inputMode: string;
|
|
31
|
-
} | {
|
|
32
|
-
control: {
|
|
33
|
-
defaultValue: string;
|
|
34
|
-
isValid: boolean;
|
|
35
|
-
type: string;
|
|
36
|
-
width: string;
|
|
37
|
-
};
|
|
38
|
-
label: string;
|
|
39
|
-
pattern: string;
|
|
40
|
-
inputMode: string;
|
|
41
|
-
})[];
|
|
42
|
-
export declare const deliveryStateFields: ({
|
|
43
|
-
messages: {
|
|
44
|
-
type: string;
|
|
45
|
-
text: string;
|
|
46
|
-
}[];
|
|
47
|
-
control: {
|
|
48
|
-
defaultValue: string;
|
|
49
|
-
type: string;
|
|
50
|
-
};
|
|
51
|
-
label: string;
|
|
52
|
-
} | {
|
|
53
|
-
control: {
|
|
54
|
-
isValid: boolean;
|
|
55
|
-
defaultValue: string;
|
|
56
|
-
type: string;
|
|
57
|
-
};
|
|
58
|
-
label: string;
|
|
59
|
-
})[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Fieldset } from "./Fieldset";
|