@orangesk/orange-design-system 3.4.0 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/components/Carousel/style.css +1 -1
- package/build/components/Carousel/style.css.map +1 -1
- package/build/components/Footer/style.css +1 -1
- package/build/components/Footer/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/Megamenu/style.css +1 -1
- package/build/components/Megamenu/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/Table/style.css +1 -1
- package/build/components/Table/style.css.map +1 -1
- package/build/components/Tooltip/style.css +1 -1
- package/build/components/Tooltip/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 +11 -3
- 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.css +1 -1
- package/build/lib/footer.css.map +1 -1
- package/build/lib/footer.js +1 -1
- package/build/lib/footer.js.map +1 -1
- package/build/lib/megamenu.css +1 -1
- package/build/lib/megamenu.css.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 +45 -46
- 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/Button/IconButton.tsx +2 -1
- package/src/components/Button/index.tsx +2 -1
- package/src/components/Carousel/Carousel.static.ts +25 -9
- package/src/components/Carousel/Carousel.tsx +7 -1
- package/src/components/Carousel/CarouselItem.tsx +2 -1
- package/src/components/Carousel/constants.ts +1 -0
- package/src/components/Carousel/styles/style.scss +2 -1
- package/src/components/Carousel/tests/Carousel.static.test.jsx +85 -0
- package/src/components/Carousel/tests/Carousel.unit.test.jsx +9 -0
- 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/Footer/styles/style.scss +2 -0
- 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 +17 -10
- package/src/components/Megamenu/MegamenuBlog.tsx +1 -1
- package/src/components/Megamenu/MyOrangeMobilePanel.tsx +24 -11
- package/src/components/Megamenu/styles/mixins.scss +6 -1
- package/src/components/Megamenu/tests/Megamenu.unit.test.jsx +33 -2
- 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/Table/styles/config.scss +1 -0
- package/src/components/Table/styles/style.scss +6 -0
- 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/Tooltip/InfoTooltip.tsx +2 -1
- package/src/components/Tooltip/Tooltip.static.ts +2 -2
- package/src/components/Tooltip/styles/style.scss +5 -0
- 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 -21
- package/build/components/types/src/components/Carousel/Carousel.static.d.ts +0 -100
- package/build/components/types/src/components/Carousel/CarouselItem.d.ts +0 -7
- package/build/components/types/src/components/Carousel/constants.d.ts +0 -26
- 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 -16
- 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 -7
- 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,30 +0,0 @@
|
|
|
1
|
-
import { Instance as PopperInstance, Options as PopperOptions } from "@popperjs/core";
|
|
2
|
-
export interface TooltipConfig {
|
|
3
|
-
rootContainerSelector: string;
|
|
4
|
-
removeDialogOnDestroy: boolean;
|
|
5
|
-
popperOptions: PopperOptions;
|
|
6
|
-
}
|
|
7
|
-
export declare const defaultConfig: TooltipConfig;
|
|
8
|
-
export default class Tooltip {
|
|
9
|
-
element: HTMLElement;
|
|
10
|
-
config: TooltipConfig;
|
|
11
|
-
instance: PopperInstance;
|
|
12
|
-
trigger: HTMLElement;
|
|
13
|
-
rootContainer?: HTMLElement | null;
|
|
14
|
-
transitioner: any;
|
|
15
|
-
private isOpen;
|
|
16
|
-
private ignoreNextBlur;
|
|
17
|
-
constructor(element: HTMLElement, config?: Partial<TooltipConfig>);
|
|
18
|
-
static getInstance(el: HTMLElement): Tooltip | null;
|
|
19
|
-
wrapLastWordAndButton(): void;
|
|
20
|
-
private init;
|
|
21
|
-
private onDialogMouseDown;
|
|
22
|
-
private onDocumentClick;
|
|
23
|
-
private handleVisibility;
|
|
24
|
-
private onKeydown;
|
|
25
|
-
private toggle;
|
|
26
|
-
show(): void;
|
|
27
|
-
hide(): void;
|
|
28
|
-
update(): void;
|
|
29
|
-
destroy(): void;
|
|
30
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { Accordion, AccordionItem } from "./Accordion";
|
|
2
|
-
import { Alert } from "./Alert";
|
|
3
|
-
import { AnchorNavigation } from "./AnchorNavigation";
|
|
4
|
-
import { Avatar } from "./Avatar";
|
|
5
|
-
import { Bar, BarBreak, BarItem } from "./Bar";
|
|
6
|
-
import { BlockAction, BlockActionControl, BlockActionIndicator, BlockActionOverride } from "./BlockAction";
|
|
7
|
-
import { BodyBanner } from "./BodyBanner";
|
|
8
|
-
import { Breadcrumbs } from "./Breadcrumbs";
|
|
9
|
-
import { Button, ButtonFill, ButtonGhost, ButtonPrimary, IconButton } from "./Button";
|
|
10
|
-
import { Buttons } from "./Buttons";
|
|
11
|
-
import { Card, CardProductHeader, CardSection } from "./Card";
|
|
12
|
-
import { Carousel, CarouselItem } from "./Carousel";
|
|
13
|
-
import { CarouselHero, CarouselHeroItem } from "./CarouselHero";
|
|
14
|
-
import { CarouselPromotions } from "./CarouselPromotions";
|
|
15
|
-
import { CartTable } from "./CartTable";
|
|
16
|
-
import { Container } from "./Container";
|
|
17
|
-
import { Controls } from "./Controls";
|
|
18
|
-
import { Countdown, CountdownTag } from "./Countdown";
|
|
19
|
-
import { Cover } from "./Cover";
|
|
20
|
-
import { Divider } from "./Divider";
|
|
21
|
-
import { Dropdown, DropdownDivider, DropdownItem, DropdownToggleButton } from "./Dropdown";
|
|
22
|
-
import { Expander } from "./Expander/Expander";
|
|
23
|
-
import { FeatureAccordion, FeatureAccordionItem } from "./FeatureAccordion";
|
|
24
|
-
import { Autocomplete, Checkbox, Field, Fieldset, File, Group, Hint, InputStepper, Label, Message, Radio, RangeSlider, Select, TextArea, TextInput } from "./Forms";
|
|
25
|
-
import { Gauge } from "./Gauge";
|
|
26
|
-
import { Grid, GridCol } from "./Grid";
|
|
27
|
-
import { Hero } from "./Hero";
|
|
28
|
-
import { Icon, Pictogram, SpritePathContext, SpritePathProvider } from "./Icon";
|
|
29
|
-
import { IconList, Item } from "./IconList";
|
|
30
|
-
import { Image } from "./Image";
|
|
31
|
-
import { Link } from "./Link";
|
|
32
|
-
import { List, ListItem } from "./List";
|
|
33
|
-
import { Loader, LoaderFullscreen } from "./Loader";
|
|
34
|
-
import { Megamenu, MegamenuBlog } from "./Megamenu";
|
|
35
|
-
import { Modal, ModalBody, ModalCloseButton, ModalProductFooter, ModalProductHeader, ModalTitle } from "./Modal";
|
|
36
|
-
import { Pagination } from "./Pagination";
|
|
37
|
-
import { Pill } from "./Pill";
|
|
38
|
-
import { Progress } from "./Progress";
|
|
39
|
-
import { PromoBanner } from "./PromoBanner";
|
|
40
|
-
import { PromotionCard, PromotionCardContent, PromotionCardImageWrapper, PromotionCardSection, PromotionCardTitle } from "./PromotionCard";
|
|
41
|
-
import { Section } from "./Section";
|
|
42
|
-
import { Skeleton } from "./Skeleton";
|
|
43
|
-
import { SkipLink } from "./SkipLink";
|
|
44
|
-
import { SocialButton } from "./SocialButton";
|
|
45
|
-
import { StarRating } from "./StarRating";
|
|
46
|
-
import { Stepbar } from "./Stepbar";
|
|
47
|
-
import { Sticker } from "./Sticker";
|
|
48
|
-
import { Table } from "./Table";
|
|
49
|
-
import { Tab, TabPanel, Tabs } from "./Tabs";
|
|
50
|
-
import { Tag, TagButton } from "./Tag";
|
|
51
|
-
import { Tile } from "./Tile";
|
|
52
|
-
import { Timeline } from "./Timeline";
|
|
53
|
-
import { InfoTooltip, Tooltip } from "./Tooltip";
|
|
54
|
-
export { Accordion, AccordionItem, Alert, AnchorNavigation, Autocomplete, Avatar, Bar, BarBreak, BarItem, BlockAction, BlockActionControl, BlockActionIndicator, BlockActionOverride, BodyBanner, Breadcrumbs, Button, ButtonFill, ButtonGhost, ButtonPrimary, Buttons, Card, CardProductHeader, CardSection, Carousel, CarouselHero, CarouselHeroItem, CarouselItem, CarouselPromotions, CartTable, Checkbox, Container, Controls, Countdown, CountdownTag, Cover, Divider, Dropdown, DropdownDivider, DropdownItem, DropdownToggleButton, Expander, FeatureAccordion, FeatureAccordionItem, Field, Fieldset, File, Gauge, Grid, GridCol, Group, Hero, Hint, Icon, IconButton, IconList, Image, InfoTooltip, InputStepper, Item, Label, Link, List, ListItem, Loader, LoaderFullscreen, Megamenu, MegamenuBlog, Message, Modal, ModalBody, ModalCloseButton, ModalProductFooter, ModalProductHeader, ModalTitle, Pagination, Pictogram, Pill, Progress, PromoBanner, PromotionCard, PromotionCardContent, PromotionCardImageWrapper, PromotionCardSection, PromotionCardTitle, Radio, RangeSlider, Section, Select, Skeleton, SkipLink, SocialButton, SpritePathContext, SpritePathProvider, StarRating, Stepbar, Sticker, Tab, Table, TabPanel, Tabs, Tag, TagButton, TextArea, TextInput, Tile, Timeline, Tooltip, };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../scripts/index";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
import { ButtonProps } from "@/components/Button/Button";
|
|
3
|
-
import { IconButtonProps } from "@/components/Button/IconButton";
|
|
4
|
-
type ToggleButtonProps = ButtonProps & {
|
|
5
|
-
children?: ReactNode;
|
|
6
|
-
iconName?: IconButtonProps["iconName"];
|
|
7
|
-
};
|
|
8
|
-
declare const ToggleButton: React.FC<ToggleButtonProps>;
|
|
9
|
-
export default ToggleButton;
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
import CountdownTag from "@/components/Countdown/CountdownTag.static";
|
|
2
|
-
import Accordion from "../components/Accordion/Accordion.static";
|
|
3
|
-
import AnchorNavigation from "../components/AnchorNavigation/AnchorNavigation.static";
|
|
4
|
-
import BlockAction from "../components/BlockAction/BlockAction.static";
|
|
5
|
-
import Carousel from "../components/Carousel/Carousel.static";
|
|
6
|
-
import CarouselHero from "../components/CarouselHero/CarouselHero.static";
|
|
7
|
-
import CarouselPromotions from "../components/CarouselPromotions/CarouselPromotions.static";
|
|
8
|
-
import Countdown from "../components/Countdown/Countdown.static";
|
|
9
|
-
import Dropdown from "../components/Dropdown/Dropdown.static";
|
|
10
|
-
import Expander from "../components/Expander/Expander.static";
|
|
11
|
-
import FeatureAccordion from "../components/FeatureAccordion/FeatureAccordion.static";
|
|
12
|
-
import Autocomplete from "../components/Forms/Autocomplete/Autocomplete.static";
|
|
13
|
-
import DatePicker from "../components/Forms/DatePicker/DatePicker.static";
|
|
14
|
-
import File from "../components/Forms/File/File.static";
|
|
15
|
-
import InputStepper from "../components/Forms/InputStepper/InputStepper.static";
|
|
16
|
-
import RangeSlider from "../components/Forms/RangeSlider/RangeSlider.static";
|
|
17
|
-
import Loader from "../components/Loader/Loader.static";
|
|
18
|
-
import Modal from "../components/Modal/Modal.static";
|
|
19
|
-
import Table from "../components/Table/Table.static";
|
|
20
|
-
import Tabs from "../components/Tabs/Tabs.static";
|
|
21
|
-
import Tooltip from "../components/Tooltip/Tooltip.static";
|
|
22
|
-
import SameHeight from "./modules/SameHeight";
|
|
23
|
-
import Toggle from "./modules/Toggle";
|
|
24
|
-
export declare const moduleSelectorPairs: ({
|
|
25
|
-
Module: typeof Accordion;
|
|
26
|
-
name: string;
|
|
27
|
-
selector: string;
|
|
28
|
-
} | {
|
|
29
|
-
Module: typeof AnchorNavigation;
|
|
30
|
-
name: string;
|
|
31
|
-
selector: string;
|
|
32
|
-
} | {
|
|
33
|
-
Module: typeof Autocomplete;
|
|
34
|
-
name: string;
|
|
35
|
-
selector: string;
|
|
36
|
-
} | {
|
|
37
|
-
Module: typeof DatePicker;
|
|
38
|
-
name: string;
|
|
39
|
-
selector: string;
|
|
40
|
-
} | {
|
|
41
|
-
Module: typeof Dropdown;
|
|
42
|
-
name: string;
|
|
43
|
-
selector: string;
|
|
44
|
-
} | {
|
|
45
|
-
Module: typeof Expander;
|
|
46
|
-
name: string;
|
|
47
|
-
selector: string;
|
|
48
|
-
} | {
|
|
49
|
-
Module: typeof BlockAction;
|
|
50
|
-
name: string;
|
|
51
|
-
selector: string;
|
|
52
|
-
} | {
|
|
53
|
-
Module: typeof Carousel;
|
|
54
|
-
name: string;
|
|
55
|
-
selector: string;
|
|
56
|
-
} | {
|
|
57
|
-
Module: typeof CarouselHero;
|
|
58
|
-
name: string;
|
|
59
|
-
selector: string;
|
|
60
|
-
} | {
|
|
61
|
-
Module: typeof CarouselPromotions;
|
|
62
|
-
name: string;
|
|
63
|
-
selector: string;
|
|
64
|
-
} | {
|
|
65
|
-
Module: typeof Countdown;
|
|
66
|
-
name: string;
|
|
67
|
-
selector: string;
|
|
68
|
-
} | {
|
|
69
|
-
Module: typeof CountdownTag;
|
|
70
|
-
name: string;
|
|
71
|
-
selector: string;
|
|
72
|
-
} | {
|
|
73
|
-
Module: typeof FeatureAccordion;
|
|
74
|
-
name: string;
|
|
75
|
-
selector: string;
|
|
76
|
-
} | {
|
|
77
|
-
Module: typeof File;
|
|
78
|
-
name: string;
|
|
79
|
-
selector: string;
|
|
80
|
-
} | {
|
|
81
|
-
Module: typeof Loader;
|
|
82
|
-
name: string;
|
|
83
|
-
selector: string;
|
|
84
|
-
} | {
|
|
85
|
-
Module: typeof Modal;
|
|
86
|
-
name: string;
|
|
87
|
-
selector: string;
|
|
88
|
-
} | {
|
|
89
|
-
Module: typeof SameHeight;
|
|
90
|
-
name: string;
|
|
91
|
-
selector: string;
|
|
92
|
-
} | {
|
|
93
|
-
Module: typeof RangeSlider;
|
|
94
|
-
name: string;
|
|
95
|
-
selector: string;
|
|
96
|
-
} | {
|
|
97
|
-
Module: typeof InputStepper;
|
|
98
|
-
name: string;
|
|
99
|
-
selector: string;
|
|
100
|
-
} | {
|
|
101
|
-
Module: typeof Table;
|
|
102
|
-
name: string;
|
|
103
|
-
selector: string;
|
|
104
|
-
} | {
|
|
105
|
-
Module: typeof Tabs;
|
|
106
|
-
name: string;
|
|
107
|
-
selector: string;
|
|
108
|
-
} | {
|
|
109
|
-
Module: typeof Toggle;
|
|
110
|
-
name: string;
|
|
111
|
-
selector: string;
|
|
112
|
-
} | {
|
|
113
|
-
Module: typeof Tooltip;
|
|
114
|
-
name: string;
|
|
115
|
-
selector: string;
|
|
116
|
-
})[];
|
|
117
|
-
declare global {
|
|
118
|
-
interface Window {
|
|
119
|
-
ODS: {
|
|
120
|
-
modules: Record<string, any>;
|
|
121
|
-
instances: Record<string, any>;
|
|
122
|
-
moduleSelectorPairs: Array<{
|
|
123
|
-
name: string;
|
|
124
|
-
Module: any;
|
|
125
|
-
selector: string;
|
|
126
|
-
}>;
|
|
127
|
-
initModulesWithin: (container: any) => {};
|
|
128
|
-
destroyModulesWithin: (container: any, removeOrphanedNodes?: boolean | undefined) => {};
|
|
129
|
-
};
|
|
130
|
-
}
|
|
131
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export default class SameHeight {
|
|
2
|
-
static getInstance(el: any): any;
|
|
3
|
-
constructor(element: any);
|
|
4
|
-
element: any;
|
|
5
|
-
children: any;
|
|
6
|
-
updateHeight(): void;
|
|
7
|
-
intervalId: any;
|
|
8
|
-
temporarilyShowHiddenElements(): void;
|
|
9
|
-
originalDisplayStates: any[] | undefined;
|
|
10
|
-
restoreHiddenElements(): void;
|
|
11
|
-
getCarouselElement(): any;
|
|
12
|
-
isInsideOrIsCarousel(): any;
|
|
13
|
-
getCarouselSlides(): any;
|
|
14
|
-
groupElementsIntoRows(elements: any, carouselElement: any): any[];
|
|
15
|
-
groupElementsByTypeAndPosition(elements: any): {};
|
|
16
|
-
init(): void;
|
|
17
|
-
waitForCarouselThenUpdate(carouselElement: any): void;
|
|
18
|
-
waitForImagesToLoad(imgLoaded: any, callback: any): void;
|
|
19
|
-
setupCarouselListeners(carouselElement: any): void;
|
|
20
|
-
update(): void;
|
|
21
|
-
destroy(): void;
|
|
22
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export default SpacePreview;
|
|
2
|
-
declare class SpacePreview {
|
|
3
|
-
constructor(element: any, config: any);
|
|
4
|
-
element: any;
|
|
5
|
-
config: any;
|
|
6
|
-
addSpaces(): void;
|
|
7
|
-
removeSpaces(): void;
|
|
8
|
-
prepareSpaces(target: any, id: any): void;
|
|
9
|
-
getTargets(): any[];
|
|
10
|
-
update(): void;
|
|
11
|
-
targets: any[];
|
|
12
|
-
spaces: any[];
|
|
13
|
-
spaceElements: any[];
|
|
14
|
-
init(): void;
|
|
15
|
-
createSpaceElement(target: any, { type, position, pxSize, size }: {
|
|
16
|
-
type: any;
|
|
17
|
-
position: any;
|
|
18
|
-
pxSize: any;
|
|
19
|
-
size: any;
|
|
20
|
-
}): HTMLDivElement;
|
|
21
|
-
createSpaceElements(target: any, id: any): any;
|
|
22
|
-
destroy(): void;
|
|
23
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
export declare const TRIGGER_EVT = "toggleTrigger";
|
|
2
|
-
export declare const TOGGLE_EVT = "toggle";
|
|
3
|
-
interface ToggleConfig {
|
|
4
|
-
activeClass: string;
|
|
5
|
-
settingsAttr: string;
|
|
6
|
-
}
|
|
7
|
-
interface ToggleSetting {
|
|
8
|
-
target: string;
|
|
9
|
-
attribute: string;
|
|
10
|
-
action?: string;
|
|
11
|
-
value?: string | boolean;
|
|
12
|
-
clickOutside?: boolean;
|
|
13
|
-
}
|
|
14
|
-
interface ToggleTarget extends Omit<ToggleSetting, "target"> {
|
|
15
|
-
element: Element;
|
|
16
|
-
value?: string | boolean;
|
|
17
|
-
dispatchEvent?: boolean;
|
|
18
|
-
}
|
|
19
|
-
declare class Toggle {
|
|
20
|
-
private element;
|
|
21
|
-
private config;
|
|
22
|
-
private settings;
|
|
23
|
-
private targets;
|
|
24
|
-
private hasClickOutside;
|
|
25
|
-
constructor(element: HTMLElement, config?: Partial<ToggleConfig>);
|
|
26
|
-
doToggle(props: ToggleTarget): ToggleTarget;
|
|
27
|
-
init(): ToggleTarget[];
|
|
28
|
-
handleClick(): void;
|
|
29
|
-
handleClickOutside(event: Event): void;
|
|
30
|
-
destroy(): void;
|
|
31
|
-
update(): void;
|
|
32
|
-
static getTargetElementsFromString({ target, trigger, }: {
|
|
33
|
-
target: string;
|
|
34
|
-
trigger: HTMLElement;
|
|
35
|
-
}): Element[];
|
|
36
|
-
parseSettings(): ToggleSetting[];
|
|
37
|
-
setupTargets(): ToggleTarget[];
|
|
38
|
-
removeNonExistentTargets(): void;
|
|
39
|
-
addNewTargets(): void;
|
|
40
|
-
static getInstance(el: HTMLElement): Toggle | null;
|
|
41
|
-
}
|
|
42
|
-
export default Toggle;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
interface ToggleProps {
|
|
2
|
-
element: Element | null;
|
|
3
|
-
attribute: string;
|
|
4
|
-
action?: string;
|
|
5
|
-
value?: string | boolean;
|
|
6
|
-
dispatchEvent?: boolean;
|
|
7
|
-
eventDetail?: {
|
|
8
|
-
trigger: Element;
|
|
9
|
-
element: Element;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
export default function toggle(props: ToggleProps): string | boolean | null;
|
|
13
|
-
export {};
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
export const exports: {
|
|
2
|
-
"light-background-primary": string;
|
|
3
|
-
"light-background-secondary": string;
|
|
4
|
-
"light-background-contrast": string;
|
|
5
|
-
"light-background-accent": string;
|
|
6
|
-
"light-background-accent1-blog": string;
|
|
7
|
-
"light-background-accent2-blog": string;
|
|
8
|
-
"light-surface-primary": string;
|
|
9
|
-
"light-surface-secondary": string;
|
|
10
|
-
"light-surface-tertiary": string;
|
|
11
|
-
"light-surface-subtle": string;
|
|
12
|
-
"light-surface-moderate": string;
|
|
13
|
-
"light-surface-contrast": string;
|
|
14
|
-
"light-surface-accent": string;
|
|
15
|
-
"light-fill-primary": string;
|
|
16
|
-
"light-fill-secondary": string;
|
|
17
|
-
"light-fill-tertiary": string;
|
|
18
|
-
"light-fill-subtle": string;
|
|
19
|
-
"light-fill-moderate": string;
|
|
20
|
-
"light-fill-disabled": string;
|
|
21
|
-
"light-fill-contrast": string;
|
|
22
|
-
"light-fill-accent1": string;
|
|
23
|
-
"light-fill-accent2": string;
|
|
24
|
-
"light-fill-accent3": string;
|
|
25
|
-
"light-fill-accent4": string;
|
|
26
|
-
"light-fill-accent5": string;
|
|
27
|
-
"light-fill-accent6": string;
|
|
28
|
-
"light-fill-information": string;
|
|
29
|
-
"light-fill-positive": string;
|
|
30
|
-
"light-fill-warning": string;
|
|
31
|
-
"light-fill-negative": string;
|
|
32
|
-
"light-border-subtle": string;
|
|
33
|
-
"light-border-strong": string;
|
|
34
|
-
"light-border-contrast": string;
|
|
35
|
-
"light-border-accent": string;
|
|
36
|
-
"light-border-information": string;
|
|
37
|
-
"light-border-positive": string;
|
|
38
|
-
"light-border-warning": string;
|
|
39
|
-
"light-border-negative": string;
|
|
40
|
-
"light-icon-default": string;
|
|
41
|
-
"light-icon-inverse": string;
|
|
42
|
-
"light-icon-brand": string;
|
|
43
|
-
"light-icon-accent": string;
|
|
44
|
-
"light-icon-disabled": string;
|
|
45
|
-
"light-icon-information": string;
|
|
46
|
-
"light-icon-positive": string;
|
|
47
|
-
"light-icon-warning": string;
|
|
48
|
-
"light-icon-negative": string;
|
|
49
|
-
"light-text-default": string;
|
|
50
|
-
"light-text-secondary": string;
|
|
51
|
-
"light-text-disabled": string;
|
|
52
|
-
"light-text-inverse": string;
|
|
53
|
-
"light-text-accent": string;
|
|
54
|
-
"dark-background-primary": string;
|
|
55
|
-
"dark-background-secondary": string;
|
|
56
|
-
"dark-background-contrast": string;
|
|
57
|
-
"dark-background-accent": string;
|
|
58
|
-
"dark-background-accent1-blog": string;
|
|
59
|
-
"dark-background-accent2-blog": string;
|
|
60
|
-
"dark-surface-primary": string;
|
|
61
|
-
"dark-surface-secondary": string;
|
|
62
|
-
"dark-surface-tertiary": string;
|
|
63
|
-
"dark-surface-subtle": string;
|
|
64
|
-
"dark-surface-moderate": string;
|
|
65
|
-
"dark-surface-contrast": string;
|
|
66
|
-
"dark-surface-accent": string;
|
|
67
|
-
"dark-fill-primary": string;
|
|
68
|
-
"dark-fill-secondary": string;
|
|
69
|
-
"dark-fill-tertiary": string;
|
|
70
|
-
"dark-fill-subtle": string;
|
|
71
|
-
"dark-fill-moderate": string;
|
|
72
|
-
"dark-fill-disabled": string;
|
|
73
|
-
"dark-fill-contrast": string;
|
|
74
|
-
"dark-fill-accent1": string;
|
|
75
|
-
"dark-fill-accent2": string;
|
|
76
|
-
"dark-fill-accent3": string;
|
|
77
|
-
"dark-fill-accent4": string;
|
|
78
|
-
"dark-fill-accent5": string;
|
|
79
|
-
"dark-icon-accent6": string;
|
|
80
|
-
"dark-fill-information": string;
|
|
81
|
-
"dark-fill-positive": string;
|
|
82
|
-
"dark-fill-warning": string;
|
|
83
|
-
"dark-fill-negative": string;
|
|
84
|
-
"dark-border-subtle": string;
|
|
85
|
-
"dark-border-strong": string;
|
|
86
|
-
"dark-border-contrast": string;
|
|
87
|
-
"dark-border-accent": string;
|
|
88
|
-
"dark-border-information": string;
|
|
89
|
-
"dark-border-positive": string;
|
|
90
|
-
"dark-border-warning": string;
|
|
91
|
-
"dark-border-negative": string;
|
|
92
|
-
"dark-icon-default": string;
|
|
93
|
-
"dark-icon-inverse": string;
|
|
94
|
-
"dark-icon-brand": string;
|
|
95
|
-
"dark-icon-accent": string;
|
|
96
|
-
"dark-icon-disabled": string;
|
|
97
|
-
"dark-icon-information": string;
|
|
98
|
-
"dark-icon-positive": string;
|
|
99
|
-
"dark-icon-warning": string;
|
|
100
|
-
"dark-icon-negative": string;
|
|
101
|
-
"dark-text-default": string;
|
|
102
|
-
"dark-text-secondary": string;
|
|
103
|
-
"dark-text-disabled": string;
|
|
104
|
-
"dark-text-inverse": string;
|
|
105
|
-
"dark-text-accent": string;
|
|
106
|
-
};
|
|
107
|
-
export default exports;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React, { ReactElement, ReactNode } from "react";
|
|
2
|
-
interface ConditionalWrapperProps {
|
|
3
|
-
/** When to wrap children */
|
|
4
|
-
condition: boolean;
|
|
5
|
-
/** Wrapper element */
|
|
6
|
-
wrapper: ReactElement;
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
}
|
|
9
|
-
declare const ConditionalWrapper: React.FC<ConditionalWrapperProps>;
|
|
10
|
-
export default ConditionalWrapper;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export function genClassModsFromString(prefix: any, mod: any): any;
|
|
2
|
-
export function getClassModsFromObject(prefix: any, mod: any, postfix: any): string;
|
|
3
|
-
export function genResponsiveClasses(prefix: any, mod: any, postfix: any): (string | {
|
|
4
|
-
[x: string]: boolean;
|
|
5
|
-
} | null)[];
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Format color to correct object format by color name
|
|
3
|
-
* if more shades are defined
|
|
4
|
-
* {
|
|
5
|
-
* [shade1]: [hex1],
|
|
6
|
-
* [shade2]: [hex2],
|
|
7
|
-
* ...
|
|
8
|
-
* }
|
|
9
|
-
* @param {string} colorName
|
|
10
|
-
* @param {array} colorPalette
|
|
11
|
-
*/
|
|
12
|
-
export function getShadesByName(colorName: string, colorPalette?: array): any;
|
|
13
|
-
export function getPaletteFromColors(color: any): {
|
|
14
|
-
type: string;
|
|
15
|
-
value: {};
|
|
16
|
-
} | {
|
|
17
|
-
value: {
|
|
18
|
-
hex: any;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export namespace breakpoints {
|
|
2
|
-
let xs: number;
|
|
3
|
-
let sm: number;
|
|
4
|
-
let md: number;
|
|
5
|
-
let lg: number;
|
|
6
|
-
let xl: number;
|
|
7
|
-
let xxl: number;
|
|
8
|
-
}
|
|
9
|
-
export namespace keys {
|
|
10
|
-
let TAB: string[];
|
|
11
|
-
let ENTER: string[];
|
|
12
|
-
let ESC: string[];
|
|
13
|
-
let SPACE: string[];
|
|
14
|
-
let ARROWLEFT: string[];
|
|
15
|
-
let ARROWUP: string[];
|
|
16
|
-
let ARROWRIGHT: string[];
|
|
17
|
-
let ARROWDOWN: string[];
|
|
18
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export function isObject(val: any): boolean;
|
|
2
|
-
export function dateToYYYYMMDD(date: any): string;
|
|
3
|
-
export function windowOffset(el: any): {
|
|
4
|
-
x: number;
|
|
5
|
-
y: number;
|
|
6
|
-
};
|
|
7
|
-
export function getSiblings(el: any): false | any[];
|
|
8
|
-
export function capitalize(string: any): any;
|
|
9
|
-
export function lowerCamelCase(string: any): any;
|
|
10
|
-
export function formatPrice(price: any, format: any): string;
|
|
11
|
-
export function objectToString(object: object, spaceCount?: number): string;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { RefCallback, type RefObject } from "react";
|
|
2
|
-
type StaticClassType<T = any> = new (element: HTMLElement, config?: any) => T;
|
|
3
|
-
interface StaticInstance {
|
|
4
|
-
update?: (config: any) => void;
|
|
5
|
-
destroy?: () => void;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* A hook to create and manage an instance of a "static" class
|
|
9
|
-
* @param StaticClass The class to instantiate
|
|
10
|
-
* @param config Configuration options for the class
|
|
11
|
-
* @returns [ref callback, instance reference]
|
|
12
|
-
*/
|
|
13
|
-
declare const useStatic: <T extends StaticInstance>(StaticClass: StaticClassType<T>, config?: Record<string, any>) => [RefCallback<HTMLElement>, RefObject<T | null>];
|
|
14
|
-
/**
|
|
15
|
-
* A hook for creating React portals
|
|
16
|
-
* From https://www.jayfreestone.com/writing/react-portals-with-hooks/
|
|
17
|
-
* @param id The id of the target DOM element
|
|
18
|
-
* @returns A DOM element that can be used as a portal container
|
|
19
|
-
*/
|
|
20
|
-
declare function usePortal(id: string): HTMLDivElement;
|
|
21
|
-
/**
|
|
22
|
-
* Returns unique string for the `id` attribute.
|
|
23
|
-
*
|
|
24
|
-
* @param id Provided id
|
|
25
|
-
* @param name Optional prefix
|
|
26
|
-
* @returns A unique ID string
|
|
27
|
-
*/
|
|
28
|
-
declare const useUniqueId: (id?: string, name?: string) => string;
|
|
29
|
-
declare function useHydrationSafeId(providedId?: string): string;
|
|
30
|
-
export { useHydrationSafeId, usePortal, useStatic, useUniqueId };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export class RovingTabindex {
|
|
2
|
-
constructor(elems: any, config?: {
|
|
3
|
-
direction: string;
|
|
4
|
-
});
|
|
5
|
-
elems: any;
|
|
6
|
-
config: {
|
|
7
|
-
direction: string;
|
|
8
|
-
};
|
|
9
|
-
isActive: boolean;
|
|
10
|
-
onKeydown(e: any): void;
|
|
11
|
-
init(): void;
|
|
12
|
-
destroy(): void;
|
|
13
|
-
update(elems: any): void;
|
|
14
|
-
}
|