@vodafone_de/brix-components 3.0.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/LICENSE +393 -0
- package/README.md +4 -0
- package/dist/components/Accordion/index.d.ts +5 -0
- package/dist/components/Accordion/props.d.ts +63 -0
- package/dist/components/Accordion/styled.d.ts +6 -0
- package/dist/components/AccordionGroup/AccordionGroupSingleExpand.d.ts +7 -0
- package/dist/components/AccordionGroup/index.d.ts +5 -0
- package/dist/components/AccordionGroup/props.d.ts +15 -0
- package/dist/components/AccordionGroup/stories/scrollToViewFixedHeaderStoryObj.d.ts +3 -0
- package/dist/components/AccordionGroup/styled.d.ts +2 -0
- package/dist/components/Badge/index.d.ts +5 -0
- package/dist/components/Badge/props.d.ts +30 -0
- package/dist/components/Badge/styled.d.ts +2 -0
- package/dist/components/Body/index.d.ts +5 -0
- package/dist/components/Body/index.js +9 -0
- package/dist/components/Body/props.d.ts +40 -0
- package/dist/components/Body/styled.d.ts +4 -0
- package/dist/components/BottomBar/index.d.ts +5 -0
- package/dist/components/BottomBar/props.d.ts +18 -0
- package/dist/components/BottomBar/styled.d.ts +3 -0
- package/dist/components/Button/ButtonAppearanceHelper.d.ts +5 -0
- package/dist/components/Button/getButtonIcon.d.ts +2 -0
- package/dist/components/Button/index.d.ts +6 -0
- package/dist/components/Button/props.d.ts +40 -0
- package/dist/components/Button/styled.d.ts +10 -0
- package/dist/components/ButtonAsLink/index.d.ts +5 -0
- package/dist/components/ButtonAsLink/props.d.ts +14 -0
- package/dist/components/ButtonAsLink/styled.d.ts +2 -0
- package/dist/components/ButtonGroup/index.d.ts +5 -0
- package/dist/components/ButtonGroup/props.d.ts +30 -0
- package/dist/components/Card/index.d.ts +5 -0
- package/dist/components/Card/props.d.ts +28 -0
- package/dist/components/Card/styled.d.ts +2 -0
- package/dist/components/Carousel/components/CarouselContext.d.ts +20 -0
- package/dist/components/Carousel/components/CarouselIndicator.d.ts +2 -0
- package/dist/components/Carousel/components/CarouselInner.d.ts +4 -0
- package/dist/components/Carousel/components/CarouselItem.d.ts +3 -0
- package/dist/components/Carousel/components/CarouselNavigation.d.ts +7 -0
- package/dist/components/Carousel/index.d.ts +5 -0
- package/dist/components/Carousel/props.d.ts +88 -0
- package/dist/components/Carousel/stories/productCards.d.ts +6 -0
- package/dist/components/Carousel/styled.d.ts +19 -0
- package/dist/components/Carousel/utils/carouselDefaultGridConfig.d.ts +2 -0
- package/dist/components/Carousel/utils/getItemByScroll.d.ts +2 -0
- package/dist/components/Carousel/utils/getItems.d.ts +2 -0
- package/dist/components/Carousel/utils/scrollTo.d.ts +1 -0
- package/dist/components/Carousel/utils/useScrollSpy.d.ts +2 -0
- package/dist/components/Checkbox/assets/CheckedBox.d.ts +3 -0
- package/dist/components/Checkbox/assets/UncheckedBox.d.ts +3 -0
- package/dist/components/Checkbox/index.d.ts +5 -0
- package/dist/components/Checkbox/props.d.ts +20 -0
- package/dist/components/Checkbox/styled.d.ts +13 -0
- package/dist/components/CheckboxGroup/index.d.ts +5 -0
- package/dist/components/CheckboxGroup/props.d.ts +21 -0
- package/dist/components/CheckboxGroup/styled.d.ts +2 -0
- package/dist/components/Collapsible/index.d.ts +5 -0
- package/dist/components/Collapsible/props.d.ts +15 -0
- package/dist/components/Collapsible/styled.d.ts +3 -0
- package/dist/components/ColorSwatch/index.d.ts +5 -0
- package/dist/components/ColorSwatch/props.d.ts +19 -0
- package/dist/components/ColorSwatch/styled.d.ts +5 -0
- package/dist/components/ColorSwatchGroup/index.d.ts +5 -0
- package/dist/components/ColorSwatchGroup/props.d.ts +17 -0
- package/dist/components/ColorSwatchGroup/styled.d.ts +4 -0
- package/dist/components/Container/index.d.ts +5 -0
- package/dist/components/Container/props.d.ts +27 -0
- package/dist/components/Container/styled.d.ts +3 -0
- package/dist/components/DateInput/index.d.ts +4 -0
- package/dist/components/DateInput/props.d.ts +13 -0
- package/dist/components/DateInput/styled.d.ts +4 -0
- package/dist/components/DemoBox/index.d.ts +5 -0
- package/dist/components/DemoBox/props.d.ts +5 -0
- package/dist/components/DemoBox/styled.d.ts +2 -0
- package/dist/components/Dialog/index.d.ts +5 -0
- package/dist/components/Dialog/props.d.ts +47 -0
- package/dist/components/Dialog/styled.d.ts +9 -0
- package/dist/components/DiscoveryCard/components/DiscoveryCardLinkedImage.d.ts +4 -0
- package/dist/components/DiscoveryCard/index.d.ts +5 -0
- package/dist/components/DiscoveryCard/props.d.ts +45 -0
- package/dist/components/DiscoveryCard/styled.d.ts +6 -0
- package/dist/components/DiscoveryCardGroup/index.d.ts +5 -0
- package/dist/components/DiscoveryCardGroup/props.d.ts +21 -0
- package/dist/components/DiscoveryCardGroup/styled.d.ts +6 -0
- package/dist/components/Divider/index.d.ts +5 -0
- package/dist/components/Divider/props.d.ts +5 -0
- package/dist/components/Divider/styled.d.ts +2 -0
- package/dist/components/Fieldset/index.d.ts +4 -0
- package/dist/components/Fieldset/props.d.ts +38 -0
- package/dist/components/Fieldset/styled.d.ts +2 -0
- package/dist/components/FilterGroup/index.d.ts +5 -0
- package/dist/components/FilterGroup/props.d.ts +29 -0
- package/dist/components/FilterGroup/styled.d.ts +7 -0
- package/dist/components/Flex/index.d.ts +5 -0
- package/dist/components/Flex/props.d.ts +35 -0
- package/dist/components/Flex/stories/autoAndFullItemArgs.d.ts +2 -0
- package/dist/components/Flex/stories/autoAndFullItemVerticalArgs.d.ts +2 -0
- package/dist/components/Flex/stories/fullAndAutoItemArgs.d.ts +2 -0
- package/dist/components/Flex/stories/fullAndAutoItemVerticalArgs.d.ts +2 -0
- package/dist/components/Flex/stories/justifyBetweenArgs.d.ts +2 -0
- package/dist/components/Flex/stories/justifyBetweenVerticalArgs.d.ts +2 -0
- package/dist/components/Flex/stories/justifyCenterArgs.d.ts +2 -0
- package/dist/components/Flex/stories/justifyCenterVerticalArgs.d.ts +2 -0
- package/dist/components/Flex/stories/justifyEndArgs.d.ts +2 -0
- package/dist/components/Flex/stories/justifyEndVerticalArgs.d.ts +2 -0
- package/dist/components/Flex/stories/justifyStartArgs.d.ts +2 -0
- package/dist/components/Flex/stories/justifyStartVerticalArgs.d.ts +2 -0
- package/dist/components/Flex/stories/twoFullItemsArgs.d.ts +2 -0
- package/dist/components/Flex/stories/twoFullItemsVerticalArgs.d.ts +2 -0
- package/dist/components/Flex/stories/xlGapSpacingArgs.d.ts +2 -0
- package/dist/components/Flex/styled.d.ts +2 -0
- package/dist/components/FlexItem/index.d.ts +5 -0
- package/dist/components/FlexItem/props.d.ts +17 -0
- package/dist/components/FlexItem/styled.d.ts +2 -0
- package/dist/components/FootnoteContent/index.d.ts +5 -0
- package/dist/components/FootnoteContent/props.d.ts +17 -0
- package/dist/components/FootnoteContent/styled.d.ts +2 -0
- package/dist/components/FootnoteLink/index.d.ts +5 -0
- package/dist/components/FootnoteLink/props.d.ts +24 -0
- package/dist/components/FootnoteLink/styled.d.ts +1 -0
- package/dist/components/Form/index.d.ts +5 -0
- package/dist/components/Form/props.d.ts +15 -0
- package/dist/components/Form/styled.d.ts +2 -0
- package/dist/components/FormElement/index.d.ts +5 -0
- package/dist/components/FormElement/props.d.ts +12 -0
- package/dist/components/FormElement/styled.d.ts +4 -0
- package/dist/components/FormHelperLabel/index.d.ts +10 -0
- package/dist/components/FormHelperLabel/props.d.ts +5 -0
- package/dist/components/FormHelperMessage/index.d.ts +5 -0
- package/dist/components/FormHelperMessage/props.d.ts +18 -0
- package/dist/components/FormHelperMessage/styled.d.ts +5 -0
- package/dist/components/FormHelperStatusIcon/index.d.ts +14 -0
- package/dist/components/FormHelperStatusIcon/props.d.ts +5 -0
- package/dist/components/FormHelperStatusIcon/styled.d.ts +3 -0
- package/dist/components/GoogleMap/components/ConsentMessage/bg.d.ts +6 -0
- package/dist/components/GoogleMap/components/ConsentMessage/index.d.ts +4 -0
- package/dist/components/GoogleMap/components/ConsentMessage/props.d.ts +23 -0
- package/dist/components/GoogleMap/components/ConsentMessage/styled.d.ts +7 -0
- package/dist/components/GoogleMap/components/Map/MapInner.d.ts +4 -0
- package/dist/components/GoogleMap/components/Map/MapProvider.d.ts +4 -0
- package/dist/components/GoogleMap/components/Map/props.d.ts +6 -0
- package/dist/components/GoogleMap/index.d.ts +5 -0
- package/dist/components/GoogleMap/props.d.ts +45 -0
- package/dist/components/GoogleMap/styled.d.ts +2 -0
- package/dist/components/Grid/getColumnWidth.d.ts +3 -0
- package/dist/components/Grid/getOffset.d.ts +3 -0
- package/dist/components/Grid/helpers.d.ts +5 -0
- package/dist/components/Grid/index.d.ts +5 -0
- package/dist/components/Grid/props.d.ts +48 -0
- package/dist/components/Grid/stories/alignGridCenterArgs.d.ts +2 -0
- package/dist/components/Grid/stories/alignGridItemArgs.d.ts +2 -0
- package/dist/components/Grid/stories/alignGridRightArgs.d.ts +2 -0
- package/dist/components/Grid/stories/grid12Args.d.ts +2 -0
- package/dist/components/Grid/stories/grid222222Args.d.ts +2 -0
- package/dist/components/Grid/stories/grid3333Args.d.ts +2 -0
- package/dist/components/Grid/stories/grid363Args.d.ts +2 -0
- package/dist/components/Grid/stories/grid444Args.d.ts +2 -0
- package/dist/components/Grid/stories/grid64Args.d.ts +2 -0
- package/dist/components/Grid/stories/grid66Args.d.ts +2 -0
- package/dist/components/Grid/stories/grid75Args.d.ts +2 -0
- package/dist/components/Grid/stories/nestingArgs.d.ts +2 -0
- package/dist/components/Grid/stories/noSpacingArgs.d.ts +2 -0
- package/dist/components/Grid/stories/offsetArgs.d.ts +2 -0
- package/dist/components/Grid/stories/responsiveArgs.d.ts +2 -0
- package/dist/components/Grid/stories/stretchArgs.d.ts +2 -0
- package/dist/components/Grid/stories/tagOrderedListArgs.d.ts +2 -0
- package/dist/components/Grid/stories/tagUnorderedListArgs.d.ts +2 -0
- package/dist/components/Grid/styled.d.ts +2 -0
- package/dist/components/GridItem/index.d.ts +5 -0
- package/dist/components/GridItem/props.d.ts +25 -0
- package/dist/components/GridItem/styled.d.ts +3 -0
- package/dist/components/Heading/index.d.ts +5 -0
- package/dist/components/Heading/props.d.ts +46 -0
- package/dist/components/Heading/styled.d.ts +8 -0
- package/dist/components/HifiIcon/index.d.ts +5 -0
- package/dist/components/HifiIcon/props.d.ts +23 -0
- package/dist/components/HifiIcon/styled.d.ts +2 -0
- package/dist/components/Icon/index.d.ts +14 -0
- package/dist/components/Icon/props.d.ts +17 -0
- package/dist/components/IconButton/index.d.ts +5 -0
- package/dist/components/IconButton/props.d.ts +42 -0
- package/dist/components/IconButton/styled.d.ts +4 -0
- package/dist/components/IconSnippet/index.d.ts +5 -0
- package/dist/components/IconSnippet/props.d.ts +53 -0
- package/dist/components/IconSnippet/styled.d.ts +6 -0
- package/dist/components/IconSnippetList/index.d.ts +5 -0
- package/dist/components/IconSnippetList/props.d.ts +19 -0
- package/dist/components/IconSnippetList/styled.d.ts +2 -0
- package/dist/components/Image/index.d.ts +5 -0
- package/dist/components/Image/props.d.ts +61 -0
- package/dist/components/Image/styled.d.ts +2 -0
- package/dist/components/ImageHeader/index.d.ts +5 -0
- package/dist/components/ImageHeader/props.d.ts +69 -0
- package/dist/components/ImageHeader/styled.d.ts +9 -0
- package/dist/components/InlineLink/index.d.ts +5 -0
- package/dist/components/InlineLink/props.d.ts +16 -0
- package/dist/components/InlineLink/styled.d.ts +2 -0
- package/dist/components/Input/index.d.ts +8 -0
- package/dist/components/Input/props.d.ts +48 -0
- package/dist/components/Input/styled.d.ts +7 -0
- package/dist/components/Label/index.d.ts +5 -0
- package/dist/components/Label/props.d.ts +12 -0
- package/dist/components/Label/styled.d.ts +2 -0
- package/dist/components/Legend/index.d.ts +5 -0
- package/dist/components/Legend/props.d.ts +17 -0
- package/dist/components/Legend/styled.d.ts +1 -0
- package/dist/components/Link/getLinkIcon.d.ts +3 -0
- package/dist/components/Link/index.d.ts +6 -0
- package/dist/components/Link/props.d.ts +28 -0
- package/dist/components/Link/styled.d.ts +4 -0
- package/dist/components/LinkAsButton/index.d.ts +5 -0
- package/dist/components/LinkAsButton/props.d.ts +13 -0
- package/dist/components/LinkAsButton/styled.d.ts +2 -0
- package/dist/components/LinkList/index.d.ts +5 -0
- package/dist/components/LinkList/props.d.ts +29 -0
- package/dist/components/LinkList/styled.d.ts +3 -0
- package/dist/components/LinkListItem/index.d.ts +5 -0
- package/dist/components/LinkListItem/props.d.ts +46 -0
- package/dist/components/LinkListItem/styled.d.ts +11 -0
- package/dist/components/LoadingSpinner/LoadingSpinnerSVG.d.ts +4 -0
- package/dist/components/LoadingSpinner/index.d.ts +5 -0
- package/dist/components/LoadingSpinner/props.d.ts +46 -0
- package/dist/components/LoadingSpinner/styled.d.ts +20 -0
- package/dist/components/Notification/index.d.ts +5 -0
- package/dist/components/Notification/notificationStatusVariants.d.ts +12 -0
- package/dist/components/Notification/props.d.ts +30 -0
- package/dist/components/Notification/styled.d.ts +10 -0
- package/dist/components/Overlay/index.d.ts +5 -0
- package/dist/components/Overlay/props.d.ts +9 -0
- package/dist/components/Overlay/styled.d.ts +2 -0
- package/dist/components/PickerGroup/Pickers.d.ts +9 -0
- package/dist/components/PickerGroup/components/Picker/index.d.ts +5 -0
- package/dist/components/PickerGroup/components/Picker/props.d.ts +75 -0
- package/dist/components/PickerGroup/components/Picker/styled.d.ts +5 -0
- package/dist/components/PickerGroup/components/PickerElementIcon/index.d.ts +4 -0
- package/dist/components/PickerGroup/components/PickerElementIcon/styled.d.ts +1 -0
- package/dist/components/PickerGroup/components/PickerElementImage/index.d.ts +4 -0
- package/dist/components/PickerGroup/components/PickerElementImage/styled.d.ts +1 -0
- package/dist/components/PickerGroup/components/PickerElementLabel/styled.d.ts +1 -0
- package/dist/components/PickerGroup/components/PickerElementSuffix/styled.d.ts +1 -0
- package/dist/components/PickerGroup/index.d.ts +5 -0
- package/dist/components/PickerGroup/props.d.ts +29 -0
- package/dist/components/Price/index.d.ts +7 -0
- package/dist/components/Price/props.d.ts +65 -0
- package/dist/components/Price/styled.d.ts +7 -0
- package/dist/components/ProductCard/index.d.ts +5 -0
- package/dist/components/ProductCard/props.d.ts +33 -0
- package/dist/components/ProductCard/styled.d.ts +6 -0
- package/dist/components/RadioGroup/components/Radio/assets/RadioSVG.d.ts +3 -0
- package/dist/components/RadioGroup/components/Radio/index.d.ts +4 -0
- package/dist/components/RadioGroup/components/Radio/props.d.ts +15 -0
- package/dist/components/RadioGroup/components/Radio/styled.d.ts +8 -0
- package/dist/components/RadioGroup/index.d.ts +5 -0
- package/dist/components/RadioGroup/props.d.ts +25 -0
- package/dist/components/ResponsiveImage/index.d.ts +5 -0
- package/dist/components/ResponsiveImage/props.d.ts +16 -0
- package/dist/components/ResponsiveImage/styled.d.ts +4 -0
- package/dist/components/RichText/index.d.ts +5 -0
- package/dist/components/RichText/parseHtml.d.ts +17 -0
- package/dist/components/RichText/props.d.ts +22 -0
- package/dist/components/ScreenreaderOnly/index.d.ts +5 -0
- package/dist/components/ScreenreaderOnly/props.d.ts +9 -0
- package/dist/components/ScreenreaderOnly/styled.d.ts +2 -0
- package/dist/components/SearchInput/index.d.ts +4 -0
- package/dist/components/SearchInput/props.d.ts +34 -0
- package/dist/components/SearchInput/styled.d.ts +13 -0
- package/dist/components/SelectInput/index.d.ts +8 -0
- package/dist/components/SelectInput/props.d.ts +19 -0
- package/dist/components/SelectInput/styled.d.ts +5 -0
- package/dist/components/Stepper/index.d.ts +5 -0
- package/dist/components/Stepper/props.d.ts +23 -0
- package/dist/components/Stepper/styled.d.ts +6 -0
- package/dist/components/SuggestInput/SuggestInputFormElement.d.ts +4 -0
- package/dist/components/SuggestInput/components/SuggestInputList/index.d.ts +4 -0
- package/dist/components/SuggestInput/components/SuggestInputList/props.d.ts +13 -0
- package/dist/components/SuggestInput/components/SuggestInputList/styled.d.ts +8 -0
- package/dist/components/SuggestInput/index.d.ts +4 -0
- package/dist/components/SuggestInput/props.d.ts +37 -0
- package/dist/components/SuggestInput/styled.d.ts +13 -0
- package/dist/components/Switch/getHandleIcon.d.ts +1 -0
- package/dist/components/Switch/index.d.ts +5 -0
- package/dist/components/Switch/props.d.ts +20 -0
- package/dist/components/Switch/styled.d.ts +8 -0
- package/dist/components/TabularPrice/index.d.ts +5 -0
- package/dist/components/TabularPrice/props.d.ts +17 -0
- package/dist/components/TabularPrice/styled.d.ts +3 -0
- package/dist/components/TextList/index.d.ts +5 -0
- package/dist/components/TextList/props.d.ts +37 -0
- package/dist/components/TextList/styled.d.ts +3 -0
- package/dist/components/Textarea/index.d.ts +4 -0
- package/dist/components/Textarea/props.d.ts +17 -0
- package/dist/components/Textarea/styled.d.ts +11 -0
- package/dist/components/Tray/index.d.ts +5 -0
- package/dist/components/Tray/props.d.ts +43 -0
- package/dist/components/Tray/styled.d.ts +7 -0
- package/dist/foundations/GlobalStyle/index.d.ts +3 -0
- package/dist/foundations/GlobalStyle/index.js +517 -0
- package/dist/foundations/PatternProps/index.d.ts +18 -0
- package/dist/foundations/cssObjects/screenreaderOnly.d.ts +2 -0
- package/dist/foundations/cssVars.d.ts +7 -0
- package/dist/foundations/media-query/forcedColors/index.d.ts +7 -0
- package/dist/foundations/media-query/reducedMotion/index.d.ts +11 -0
- package/dist/foundations/media-query/viewport/index.d.ts +11 -0
- package/dist/foundations/tags.d.ts +19 -0
- package/dist/foundations/token/base/baseColors.d.ts +31 -0
- package/dist/foundations/token/base/shadow.d.ts +1 -0
- package/dist/foundations/token/breakpoint.d.ts +4 -0
- package/dist/foundations/token/easing.d.ts +2 -0
- package/dist/foundations/token/getBackgroundColor/index.d.ts +2 -0
- package/dist/foundations/token/getBodySize/index.d.ts +3 -0
- package/dist/foundations/token/getBodySize/index.js +4 -0
- package/dist/foundations/token/getBorderColor/index.d.ts +2 -0
- package/dist/foundations/token/getBorderRadius/index.d.ts +2 -0
- package/dist/foundations/token/getBorderWidth/index.d.ts +2 -0
- package/dist/foundations/token/getBottomSpacing/index.d.ts +3 -0
- package/dist/foundations/token/getFontWeight/index.d.ts +2 -0
- package/dist/foundations/token/getHeadingSize/index.d.ts +3 -0
- package/dist/foundations/token/getHoverColor/index.d.ts +3 -0
- package/dist/foundations/token/getIconColor/index.d.ts +2 -0
- package/dist/foundations/token/getObjectColor/index.d.ts +2 -0
- package/dist/foundations/token/getOpacity/index.d.ts +2 -0
- package/dist/foundations/token/getPressColor/index.d.ts +3 -0
- package/dist/foundations/token/getSpacing/index.d.ts +2 -0
- package/dist/foundations/token/getTextColor/index.d.ts +2 -0
- package/dist/foundations/token/getTextDecoration/index.d.ts +2 -0
- package/dist/foundations/token/types/BackgroundColor.d.ts +7 -0
- package/dist/foundations/token/types/BorderColor.d.ts +13 -0
- package/dist/foundations/token/types/BorderRadius.d.ts +5 -0
- package/dist/foundations/token/types/BorderWidth.d.ts +9 -0
- package/dist/foundations/token/types/FontWeight.d.ts +4 -0
- package/dist/foundations/token/types/HeadingSize.d.ts +6 -0
- package/dist/foundations/token/types/IconColor.d.ts +10 -0
- package/dist/foundations/token/types/ObjectColor.d.ts +12 -0
- package/dist/foundations/token/types/Opacity.d.ts +3 -0
- package/dist/foundations/token/types/Spacing.d.ts +53 -0
- package/dist/foundations/token/types/TextBodySize.d.ts +3 -0
- package/dist/foundations/token/types/TextColor.d.ts +8 -0
- package/dist/foundations/token/types/TextDecoration.d.ts +4 -0
- package/dist/foundations/token/types/Viewport.d.ts +4 -0
- package/dist/foundations/types/ButtonAppearances.d.ts +4 -0
- package/dist/foundations/types/CornerStyle.d.ts +3 -0
- package/dist/foundations/types/PositionType.d.ts +6 -0
- package/dist/foundations/types/PositionedIconInterface.d.ts +6 -0
- package/dist/foundations/types/SizeTypes.d.ts +3 -0
- package/dist/foundations/types/SystemIconWithPosition.d.ts +5 -0
- package/dist/foundations/types/Theme.d.ts +1 -0
- package/dist/hooks/useFocusWithin/index.d.ts +2 -0
- package/dist/hooks/useForcedColors/index.d.ts +1 -0
- package/dist/hooks/useMediaQuery/index.d.ts +1 -0
- package/dist/hooks/useReducedMotion/index.d.ts +1 -0
- package/dist/hooks/useThirdPartyConsent/index.d.ts +18 -0
- package/dist/hooks/useViewport/index.d.ts +2 -0
- package/dist/index-BoPDwZgt.js +18 -0
- package/dist/index-DRj4iUs9.js +117 -0
- package/package.json +35 -0
|
@@ -0,0 +1,517 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import styled, { keyframes, css, createGlobalStyle } from "styled-components";
|
|
3
|
+
import { g as getCssVar, a as getBodySize } from "../../index-BoPDwZgt.js";
|
|
4
|
+
import { f as filterProps, g as getBottomSpacing, s as spacingNone, B as Body, a as getSpacing } from "../../index-DRj4iUs9.js";
|
|
5
|
+
const forcedColorsQuery = `(forced-colors: active)`;
|
|
6
|
+
const forcedColors = (stylesInViewport) => {
|
|
7
|
+
return {
|
|
8
|
+
[`@media ${forcedColorsQuery}`]: {
|
|
9
|
+
...stylesInViewport
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
const reducedMotionQuery = `(prefers-reduced-motion)`;
|
|
14
|
+
const reducedMotion = (stylesInViewport) => {
|
|
15
|
+
return {
|
|
16
|
+
[`@media ${reducedMotionQuery}`]: {
|
|
17
|
+
...stylesInViewport
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
const breakpoint_medium_number = 768;
|
|
22
|
+
const breakpoint_medium = `${breakpoint_medium_number}px`;
|
|
23
|
+
const breakpoint_large_number = 1025;
|
|
24
|
+
const breakpoint_large = `${breakpoint_large_number}px`;
|
|
25
|
+
const mediumMediaQuery = `screen and (min-width: ${breakpoint_medium})`;
|
|
26
|
+
const largeMediaQuery = `screen and (min-width: ${breakpoint_large})`;
|
|
27
|
+
const md = (stylesInViewport) => {
|
|
28
|
+
return {
|
|
29
|
+
[`@media ${mediumMediaQuery}`]: {
|
|
30
|
+
...stylesInViewport
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
const lg = (stylesInViewport) => {
|
|
35
|
+
return {
|
|
36
|
+
[`@media ${largeMediaQuery}`]: {
|
|
37
|
+
...stylesInViewport
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
const viewport = {
|
|
42
|
+
md,
|
|
43
|
+
lg
|
|
44
|
+
};
|
|
45
|
+
const getBackgroundColor = (color) => getCssVar(color);
|
|
46
|
+
const headingSizes = {
|
|
47
|
+
xl: {
|
|
48
|
+
fontSize: getCssVar("headingXlFontSize"),
|
|
49
|
+
lineHeight: getCssVar("headingXlLineHeight")
|
|
50
|
+
},
|
|
51
|
+
lg: {
|
|
52
|
+
fontSize: getCssVar("headingLgFontSize"),
|
|
53
|
+
lineHeight: getCssVar("headingLgLineHeight")
|
|
54
|
+
},
|
|
55
|
+
md: {
|
|
56
|
+
fontSize: getCssVar("headingMdFontSize"),
|
|
57
|
+
lineHeight: getCssVar("headingMdLineHeight")
|
|
58
|
+
},
|
|
59
|
+
sm: {
|
|
60
|
+
fontSize: getCssVar("headingSmFontSize"),
|
|
61
|
+
lineHeight: getCssVar("headingSmLineHeight")
|
|
62
|
+
},
|
|
63
|
+
xs: {
|
|
64
|
+
fontSize: getCssVar("headingXsFontSize"),
|
|
65
|
+
lineHeight: getCssVar("headingXsLineHeight")
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
const getHeadingSize = (size) => headingSizes[size];
|
|
69
|
+
const getObjectColor = (color) => getCssVar(color);
|
|
70
|
+
const baseOpacity60 = "opacity60";
|
|
71
|
+
const baseOpacity38 = "opacity38";
|
|
72
|
+
const opacities = {
|
|
73
|
+
Overlay: baseOpacity60,
|
|
74
|
+
Disabled: baseOpacity38
|
|
75
|
+
};
|
|
76
|
+
const getOpacity = (opacity) => getCssVar(opacities[opacity]);
|
|
77
|
+
const colorBackgroundOverlay = "colorBackgroundOverlay";
|
|
78
|
+
const opacityOverlay = "Overlay";
|
|
79
|
+
const largeSize = "lg";
|
|
80
|
+
const loadingSpinnerOverlays = {
|
|
81
|
+
Light: `rgba(255, 255, 255, ${getOpacity(opacityOverlay)})`,
|
|
82
|
+
Dark: `rgba(38, 38, 38, ${getOpacity(opacityOverlay)})`
|
|
83
|
+
};
|
|
84
|
+
const loadingSpinnerOverlayCssVar = "loadingSpinnerOverlay";
|
|
85
|
+
const calculateSpinnerHeight = (size, bottomSpacing, label) => {
|
|
86
|
+
const spinnerHeight = spinnerSvgSizes[size];
|
|
87
|
+
const labelHeight = label ? `${mapLabelStyleToSpinnerSize[size].fontSize} * ${mapLabelStyleToSpinnerSize[size].lineHeight}` : "0px";
|
|
88
|
+
return `calc(${spinnerHeight} + ${getSpacing(bottomSpacing)} + ${labelHeight})`;
|
|
89
|
+
};
|
|
90
|
+
const spinnerSvgSizes = {
|
|
91
|
+
xs: "24px",
|
|
92
|
+
sm: "76px",
|
|
93
|
+
md: "148px",
|
|
94
|
+
lg: "300px"
|
|
95
|
+
};
|
|
96
|
+
styled.div.withConfig({
|
|
97
|
+
shouldForwardProp: filterProps(),
|
|
98
|
+
displayName: "LoadingSpinnerContainerStyled",
|
|
99
|
+
componentId: "sc-1bnjzqj-0"
|
|
100
|
+
})({
|
|
101
|
+
position: "relative",
|
|
102
|
+
height: "100%"
|
|
103
|
+
}, ({
|
|
104
|
+
coversFullPage
|
|
105
|
+
}) => {
|
|
106
|
+
if (coversFullPage) {
|
|
107
|
+
return {
|
|
108
|
+
position: "fixed",
|
|
109
|
+
zIndex: "1001"
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
return {};
|
|
113
|
+
}, ({
|
|
114
|
+
bottomSpacing = spacingNone
|
|
115
|
+
}) => getBottomSpacing({
|
|
116
|
+
bottomSpacing
|
|
117
|
+
}));
|
|
118
|
+
styled.div.withConfig({
|
|
119
|
+
shouldForwardProp: filterProps(),
|
|
120
|
+
displayName: "LoadingSpinnerContentStyled",
|
|
121
|
+
componentId: "sc-1bnjzqj-1"
|
|
122
|
+
})({
|
|
123
|
+
display: "flex",
|
|
124
|
+
flexDirection: "column",
|
|
125
|
+
minHeight: "100%",
|
|
126
|
+
width: "fit-content",
|
|
127
|
+
justifyContent: "center",
|
|
128
|
+
alignItems: "center"
|
|
129
|
+
}, ({
|
|
130
|
+
hasOverlay
|
|
131
|
+
}) => {
|
|
132
|
+
if (hasOverlay) {
|
|
133
|
+
return {
|
|
134
|
+
background: getBackgroundColor(colorBackgroundOverlay),
|
|
135
|
+
position: "absolute",
|
|
136
|
+
zIndex: 1001,
|
|
137
|
+
width: "100%",
|
|
138
|
+
left: 0,
|
|
139
|
+
top: 0
|
|
140
|
+
};
|
|
141
|
+
} else {
|
|
142
|
+
return {};
|
|
143
|
+
}
|
|
144
|
+
}, ({
|
|
145
|
+
coversFullPage
|
|
146
|
+
}) => {
|
|
147
|
+
if (coversFullPage) {
|
|
148
|
+
return {
|
|
149
|
+
position: "fixed",
|
|
150
|
+
zIndex: "1001"
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
return {};
|
|
154
|
+
});
|
|
155
|
+
styled.div.withConfig({
|
|
156
|
+
shouldForwardProp: filterProps(),
|
|
157
|
+
displayName: "LoadingSpinnerChildrenStyled",
|
|
158
|
+
componentId: "sc-1bnjzqj-2"
|
|
159
|
+
})({
|
|
160
|
+
width: "100%",
|
|
161
|
+
height: "100%",
|
|
162
|
+
"> *": {
|
|
163
|
+
minHeight: "inherit"
|
|
164
|
+
}
|
|
165
|
+
}, ({
|
|
166
|
+
size = largeSize,
|
|
167
|
+
bottomSpacing = spacingNone,
|
|
168
|
+
label,
|
|
169
|
+
isActive
|
|
170
|
+
}) => {
|
|
171
|
+
return isActive ? {
|
|
172
|
+
minHeight: calculateSpinnerHeight(size, bottomSpacing, label)
|
|
173
|
+
} : {};
|
|
174
|
+
});
|
|
175
|
+
styled.svg.withConfig({
|
|
176
|
+
shouldForwardProp: filterProps(),
|
|
177
|
+
displayName: "LoadingSpinnerSVGStyled",
|
|
178
|
+
componentId: "sc-1bnjzqj-3"
|
|
179
|
+
})({
|
|
180
|
+
...forcedColors({
|
|
181
|
+
stroke: "CanvasText"
|
|
182
|
+
}),
|
|
183
|
+
zIndex: 1001,
|
|
184
|
+
stroke: getObjectColor("colorObjectBrand")
|
|
185
|
+
}, ({
|
|
186
|
+
size = largeSize
|
|
187
|
+
}) => {
|
|
188
|
+
if (size === "xs") {
|
|
189
|
+
return {
|
|
190
|
+
width: "20px",
|
|
191
|
+
height: "20px",
|
|
192
|
+
...viewport.md({
|
|
193
|
+
width: spinnerSvgSizes[size],
|
|
194
|
+
height: spinnerSvgSizes[size]
|
|
195
|
+
})
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
return {
|
|
199
|
+
width: spinnerSvgSizes[size],
|
|
200
|
+
height: spinnerSvgSizes[size]
|
|
201
|
+
};
|
|
202
|
+
});
|
|
203
|
+
const loadingSpinnerRotate = keyframes({
|
|
204
|
+
to: {
|
|
205
|
+
strokeDashoffset: 610
|
|
206
|
+
}
|
|
207
|
+
});
|
|
208
|
+
const loadingSpinnerXsRotate = keyframes({
|
|
209
|
+
to: {
|
|
210
|
+
strokeDashoffset: 166
|
|
211
|
+
}
|
|
212
|
+
});
|
|
213
|
+
const LoadingSpinnerPathStyled = styled.path.withConfig({
|
|
214
|
+
shouldForwardProp: filterProps(),
|
|
215
|
+
displayName: "LoadingSpinnerPathStyled",
|
|
216
|
+
componentId: "sc-1bnjzqj-4"
|
|
217
|
+
})({
|
|
218
|
+
fill: "none",
|
|
219
|
+
strokeLinejoin: "round",
|
|
220
|
+
strokeLinecap: "round",
|
|
221
|
+
strokeDasharray: "120 32",
|
|
222
|
+
animationDuration: "5.0s",
|
|
223
|
+
animationTimingFunction: "linear",
|
|
224
|
+
animationIterationCount: "infinite"
|
|
225
|
+
}, reducedMotion({
|
|
226
|
+
animation: "none"
|
|
227
|
+
}), css(["animation-name:", ";"], loadingSpinnerRotate));
|
|
228
|
+
styled(LoadingSpinnerPathStyled).withConfig({
|
|
229
|
+
shouldForwardProp: filterProps(),
|
|
230
|
+
displayName: "LoadingSpinnerPathOuter3Styled",
|
|
231
|
+
componentId: "sc-1bnjzqj-5"
|
|
232
|
+
})({
|
|
233
|
+
strokeWidth: 2,
|
|
234
|
+
opacity: "0.3"
|
|
235
|
+
});
|
|
236
|
+
styled(LoadingSpinnerPathStyled).withConfig({
|
|
237
|
+
shouldForwardProp: filterProps(),
|
|
238
|
+
displayName: "LoadingSpinnerPathOuter2Styled",
|
|
239
|
+
componentId: "sc-1bnjzqj-6"
|
|
240
|
+
})({
|
|
241
|
+
strokeWidth: 3,
|
|
242
|
+
opacity: "0.6"
|
|
243
|
+
});
|
|
244
|
+
styled(LoadingSpinnerPathStyled).withConfig({
|
|
245
|
+
shouldForwardProp: filterProps(),
|
|
246
|
+
displayName: "LoadingSpinnerPathOuter1Styled",
|
|
247
|
+
componentId: "sc-1bnjzqj-7"
|
|
248
|
+
})({
|
|
249
|
+
strokeWidth: 4
|
|
250
|
+
});
|
|
251
|
+
styled.path.withConfig({
|
|
252
|
+
shouldForwardProp: filterProps(),
|
|
253
|
+
displayName: "LoadingSpinnerPathCenterStyled",
|
|
254
|
+
componentId: "sc-1bnjzqj-8"
|
|
255
|
+
})({
|
|
256
|
+
...forcedColors({
|
|
257
|
+
fill: "CanvasText"
|
|
258
|
+
}),
|
|
259
|
+
fill: "#E60000"
|
|
260
|
+
});
|
|
261
|
+
styled.path.withConfig({
|
|
262
|
+
shouldForwardProp: filterProps(),
|
|
263
|
+
displayName: "LoadingSpinnerPathXsStyled",
|
|
264
|
+
componentId: "sc-1bnjzqj-9"
|
|
265
|
+
})({
|
|
266
|
+
fill: "none",
|
|
267
|
+
strokeLinecap: "butt",
|
|
268
|
+
strokeWidth: 2,
|
|
269
|
+
strokeDasharray: "48 8",
|
|
270
|
+
strokeDashoffset: 56,
|
|
271
|
+
animationDuration: "5.0s",
|
|
272
|
+
animationTimingFunction: "linear",
|
|
273
|
+
animationIterationCount: "infinite"
|
|
274
|
+
}, css(["animation-name:", ";"], loadingSpinnerXsRotate));
|
|
275
|
+
const mapLabelStyleToSpinnerSize = {
|
|
276
|
+
xs: getBodySize("md"),
|
|
277
|
+
sm: getHeadingSize("xs"),
|
|
278
|
+
md: getHeadingSize("sm"),
|
|
279
|
+
lg: getHeadingSize("lg")
|
|
280
|
+
};
|
|
281
|
+
styled(Body).withConfig({
|
|
282
|
+
shouldForwardProp: filterProps(),
|
|
283
|
+
displayName: "LoadingSpinnerLabelStyled",
|
|
284
|
+
componentId: "sc-1bnjzqj-10"
|
|
285
|
+
})(({
|
|
286
|
+
size = "lg"
|
|
287
|
+
}) => {
|
|
288
|
+
return mapLabelStyleToSpinnerSize[size];
|
|
289
|
+
}, getBottomSpacing({
|
|
290
|
+
bottomSpacing: spacingNone
|
|
291
|
+
}), {
|
|
292
|
+
textAlign: "center"
|
|
293
|
+
});
|
|
294
|
+
const colorVodafoneRed = "colorVodafoneRed";
|
|
295
|
+
const colorVodafoneRedTint = "colorVodafoneRedTint";
|
|
296
|
+
const colorRed = "colorRed";
|
|
297
|
+
const colorRedTint = "colorRedTint";
|
|
298
|
+
const colorVodafoneDarkRed = "colorVodafoneDarkRed";
|
|
299
|
+
const colorVodafoneDarkRedTint = "colorVodafoneDarkRedTint";
|
|
300
|
+
const colorTurquoise = "colorTurquoise";
|
|
301
|
+
const colorTurquoiseTint = "colorTurquoiseTint";
|
|
302
|
+
const colorFreshOrange = "colorFreshOrange";
|
|
303
|
+
const colorFreshOrangeTint = "colorFreshOrangeTint";
|
|
304
|
+
const colorLemonYellow = "colorLemonYellow";
|
|
305
|
+
const colorLemonYellowTint = "colorLemonYellowTint";
|
|
306
|
+
const colorSpringGreen = "colorSpringGreen";
|
|
307
|
+
const colorSpringGreenTint = "colorSpringGreenTint";
|
|
308
|
+
const colorBlue = "colorBlue";
|
|
309
|
+
const colorBlueTint = "colorBlueTint";
|
|
310
|
+
const colorAquaBlue = "colorAquaBlue";
|
|
311
|
+
const colorAquaBlueTint = "colorAquaBlueTint";
|
|
312
|
+
const colorVodafoneWhite = "colorVodafoneWhite";
|
|
313
|
+
const colorVodafoneWhiteAlpha = "colorVodafoneWhiteAlpha";
|
|
314
|
+
const colorBlack05 = "colorBlack05";
|
|
315
|
+
const colorBlack25 = "colorBlack25";
|
|
316
|
+
const colorBlack50 = "colorBlack50";
|
|
317
|
+
const colorBlack60 = "colorBlack60";
|
|
318
|
+
const colorBlack85 = "colorBlack85";
|
|
319
|
+
const colorBlack95 = "colorBlack95";
|
|
320
|
+
const colorBlack95Alpha = "colorBlack95Alpha";
|
|
321
|
+
const colorVodafoneGradient = "colorVodafoneGradient";
|
|
322
|
+
const backgroundColors = {
|
|
323
|
+
colorBackgroundBrand: {
|
|
324
|
+
Light: colorVodafoneDarkRed,
|
|
325
|
+
Dark: colorVodafoneDarkRedTint
|
|
326
|
+
},
|
|
327
|
+
colorBackgroundBrandGradient: {
|
|
328
|
+
Light: colorVodafoneGradient
|
|
329
|
+
},
|
|
330
|
+
colorBackgroundNeutral: {
|
|
331
|
+
Light: colorVodafoneWhite,
|
|
332
|
+
Dark: colorBlack85
|
|
333
|
+
},
|
|
334
|
+
colorBackgroundSubtle: {
|
|
335
|
+
Light: colorBlack05,
|
|
336
|
+
Dark: colorBlack95
|
|
337
|
+
},
|
|
338
|
+
colorBackgroundOverlay: {
|
|
339
|
+
Light: colorVodafoneWhiteAlpha,
|
|
340
|
+
Dark: colorBlack95Alpha
|
|
341
|
+
},
|
|
342
|
+
colorBackgroundOverlayStatic: {
|
|
343
|
+
Light: colorBlack95Alpha,
|
|
344
|
+
Dark: colorBlack95Alpha
|
|
345
|
+
}
|
|
346
|
+
};
|
|
347
|
+
const borderColors = {
|
|
348
|
+
colorBorderBrand: {
|
|
349
|
+
Light: colorVodafoneRed,
|
|
350
|
+
Dark: colorVodafoneRedTint
|
|
351
|
+
},
|
|
352
|
+
colorBorderNeutral: {
|
|
353
|
+
Light: colorBlack95,
|
|
354
|
+
Dark: colorVodafoneWhite
|
|
355
|
+
},
|
|
356
|
+
colorBorderSubtle: {
|
|
357
|
+
Light: colorBlack25,
|
|
358
|
+
Dark: colorBlack50
|
|
359
|
+
},
|
|
360
|
+
colorBorderInverse: {
|
|
361
|
+
Light: colorVodafoneWhite,
|
|
362
|
+
Dark: colorBlack95
|
|
363
|
+
},
|
|
364
|
+
colorBorderAccent: {
|
|
365
|
+
Light: colorLemonYellow,
|
|
366
|
+
Dark: colorLemonYellowTint
|
|
367
|
+
},
|
|
368
|
+
colorBorderSuccess: {
|
|
369
|
+
Light: colorSpringGreen,
|
|
370
|
+
Dark: colorSpringGreenTint
|
|
371
|
+
},
|
|
372
|
+
colorBorderCritical: {
|
|
373
|
+
Light: colorRed,
|
|
374
|
+
Dark: colorRedTint
|
|
375
|
+
},
|
|
376
|
+
colorBorderWarning: {
|
|
377
|
+
Light: colorFreshOrange,
|
|
378
|
+
Dark: colorFreshOrangeTint
|
|
379
|
+
},
|
|
380
|
+
colorBorderInformation: {
|
|
381
|
+
Light: colorBlue,
|
|
382
|
+
Dark: colorBlueTint
|
|
383
|
+
},
|
|
384
|
+
colorBorderSelected: {
|
|
385
|
+
Light: colorTurquoise,
|
|
386
|
+
Dark: colorTurquoiseTint
|
|
387
|
+
},
|
|
388
|
+
colorBorderUnselected: {
|
|
389
|
+
Light: colorBlack50,
|
|
390
|
+
Dark: colorBlack25
|
|
391
|
+
},
|
|
392
|
+
colorBorderFocus: {
|
|
393
|
+
Light: colorAquaBlue,
|
|
394
|
+
Dark: colorAquaBlueTint
|
|
395
|
+
}
|
|
396
|
+
};
|
|
397
|
+
const iconColors = {
|
|
398
|
+
colorIconBrand: {
|
|
399
|
+
Light: colorRed,
|
|
400
|
+
Dark: colorRedTint
|
|
401
|
+
},
|
|
402
|
+
colorIconNeutral: {
|
|
403
|
+
Light: colorBlack95,
|
|
404
|
+
Dark: colorVodafoneWhite
|
|
405
|
+
},
|
|
406
|
+
colorIconNeutralStatic: {
|
|
407
|
+
Light: colorBlack95
|
|
408
|
+
},
|
|
409
|
+
colorIconInverse: {
|
|
410
|
+
Light: colorVodafoneWhite,
|
|
411
|
+
Dark: colorBlack95
|
|
412
|
+
},
|
|
413
|
+
colorIconInverseStatic: {
|
|
414
|
+
Light: colorVodafoneWhite,
|
|
415
|
+
Dark: colorVodafoneWhite
|
|
416
|
+
},
|
|
417
|
+
colorIconSuccess: {
|
|
418
|
+
Light: colorSpringGreen,
|
|
419
|
+
Dark: colorSpringGreenTint
|
|
420
|
+
},
|
|
421
|
+
colorIconCritical: {
|
|
422
|
+
Light: colorRed,
|
|
423
|
+
Dark: colorRedTint
|
|
424
|
+
},
|
|
425
|
+
colorIconWarning: {
|
|
426
|
+
Light: colorFreshOrange,
|
|
427
|
+
Dark: colorFreshOrangeTint
|
|
428
|
+
},
|
|
429
|
+
colorIconInformation: {
|
|
430
|
+
Light: colorBlue,
|
|
431
|
+
Dark: colorBlueTint
|
|
432
|
+
}
|
|
433
|
+
};
|
|
434
|
+
const objectColors = {
|
|
435
|
+
colorObjectBrand: {
|
|
436
|
+
Light: colorVodafoneRed,
|
|
437
|
+
Dark: colorVodafoneRedTint
|
|
438
|
+
},
|
|
439
|
+
colorObjectNeutral: {
|
|
440
|
+
Light: colorBlack95,
|
|
441
|
+
Dark: colorVodafoneWhite
|
|
442
|
+
},
|
|
443
|
+
colorObjectSubtle: {
|
|
444
|
+
Light: colorBlack25,
|
|
445
|
+
Dark: colorBlack50
|
|
446
|
+
},
|
|
447
|
+
colorObjectInverse: {
|
|
448
|
+
Light: colorVodafoneWhite,
|
|
449
|
+
Dark: colorBlack95
|
|
450
|
+
},
|
|
451
|
+
colorObjectAccent: {
|
|
452
|
+
Light: colorLemonYellow,
|
|
453
|
+
Dark: colorLemonYellowTint
|
|
454
|
+
},
|
|
455
|
+
colorObjectSuccess: {
|
|
456
|
+
Light: colorSpringGreen,
|
|
457
|
+
Dark: colorSpringGreenTint
|
|
458
|
+
},
|
|
459
|
+
colorObjectCritical: {
|
|
460
|
+
Light: colorRed,
|
|
461
|
+
Dark: colorRedTint
|
|
462
|
+
},
|
|
463
|
+
colorObjectWarning: {
|
|
464
|
+
Light: colorFreshOrange,
|
|
465
|
+
Dark: colorFreshOrangeTint
|
|
466
|
+
},
|
|
467
|
+
colorObjectInformation: {
|
|
468
|
+
Light: colorBlue,
|
|
469
|
+
Dark: colorBlueTint
|
|
470
|
+
},
|
|
471
|
+
colorObjectSelected: {
|
|
472
|
+
Light: colorTurquoise,
|
|
473
|
+
Dark: colorTurquoiseTint
|
|
474
|
+
},
|
|
475
|
+
colorObjectUnselected: {
|
|
476
|
+
Light: colorBlack50,
|
|
477
|
+
Dark: colorBlack25
|
|
478
|
+
}
|
|
479
|
+
};
|
|
480
|
+
const textColors = {
|
|
481
|
+
colorTextBrand: {
|
|
482
|
+
Light: colorRed,
|
|
483
|
+
Dark: colorRedTint
|
|
484
|
+
},
|
|
485
|
+
colorTextNeutral: {
|
|
486
|
+
Light: colorBlack95,
|
|
487
|
+
Dark: colorVodafoneWhite
|
|
488
|
+
},
|
|
489
|
+
colorTextNeutralStatic: {
|
|
490
|
+
Light: colorBlack95,
|
|
491
|
+
Dark: colorBlack95
|
|
492
|
+
},
|
|
493
|
+
colorTextInverse: {
|
|
494
|
+
Light: colorVodafoneWhite,
|
|
495
|
+
Dark: colorBlack95
|
|
496
|
+
},
|
|
497
|
+
colorTextInverseStatic: {
|
|
498
|
+
Light: colorVodafoneWhite,
|
|
499
|
+
Dark: colorVodafoneWhite
|
|
500
|
+
},
|
|
501
|
+
colorTextCritical: {
|
|
502
|
+
Light: colorRed,
|
|
503
|
+
Dark: colorRedTint
|
|
504
|
+
},
|
|
505
|
+
colorTextPlaceholder: {
|
|
506
|
+
Light: colorBlack60,
|
|
507
|
+
Dark: colorBlack25
|
|
508
|
+
}
|
|
509
|
+
};
|
|
510
|
+
const cssVars = css([":root{--fontSize14:14px;--fontSize16:16px;--fontSize18:18px;--fontSize20:20px;--fontSize24:24px;--fontSize28:28px;--fontSize32:32px;--fontSize40:40px;--fontSize56:56px;--fontSize64:64px;--lineHeight112:1.125;--lineHeight114:1.1428571429;--lineHeight120:1.2;--lineHeight125:1.25;--lineHeight128:1.2857142857;--lineHeight133:1.3333333333;--lineHeight140:1.4;--lineHeight144:1.4444444444;--fontWeightLight:300;--fontWeightRegular:400;--fontWeightBold:700;--shadow28:rgba(0,0,0,0.2) 0px 2px 8px;--spacing0:0px;--spacing4:4px;--spacing8:8px;--spacing12:12px;--spacing16:16px;--spacing20:20px;--spacing24:24px;--spacing28:28px;--spacing32:32px;--spacing40:40px;--spacing48:48px;--spacing56:56px;--spacing64:64px;--spacing72:72px;--spacing80:80px;--spacingNone:var(--spacing0);--spacing2Xs:var(--spacing4);--spacingXs:var(--spacing8);--spacingSm:var(--spacing12);--spacingMd:var(--spacing16);--spacingLg:var(--spacing20);--spacingXl:var(--spacing24);--spacing2Xl:var(--spacing24);--spacing3Xl:var(--spacing32);--spacing4Xl:var(--spacing40);--spacing5Xl:var(--spacing48);--spacing6Xl:var(--spacing48);--spacing7Xl:var(--spacing48);@media screen and (min-width:", "){--spacingMd:var(--spacing20);--spacingLg:var(--spacing20);--spacingXl:var(--spacing28);--spacing2Xl:var(--spacing32);--spacing3Xl:var(--spacing40);--spacing4Xl:var(--spacing48);--spacing5Xl:var(--spacing56);--spacing6Xl:var(--spacing56);--spacing7Xl:var(--spacing56);}@media screen and (min-width:", "){--spacingSm:var(--spacing16);--spacingLg:var(--spacing24);--spacingXl:var(--spacing32);--spacing2Xl:var(--spacing40);--spacing3Xl:var(--spacing48);--spacing4Xl:var(--spacing56);--spacing5Xl:var(--spacing64);--spacing6Xl:var(--spacing72);--spacing7Xl:var(--spacing80);}--borderRadius0:0px;--borderRadius3:3px;--borderRadius6:6px;--borderRadius100:100px;--textDecorationNone:none;--textDecorationUnderline:underline;--textDecorationStrikethrough:line-through;--opacity60:0.6;--opacity38:0.38;--borderWidth0:0px;--borderWidth1:1px;--borderWidth2:2px;--borderWidth4:4px;--colorVodafoneRed:#e60000;--colorVodafoneRedTint:#ea1a1a;--colorRed:#bd0000;--colorRedTint:#f06666;--colorVodafoneDarkRed:#820000;--colorVodafoneDarkRedTint:#8a0f0f;--colorTurquoise:#00697c;--colorTurquoiseTint:#0096ad;--colorAubergine:#5e2750;--colorAubergineTint:#b04a98;--colorFreshOrange:#eb6100;--colorFreshOrangeTint:#eb9700;--colorLemonYellow:#fecb00;--colorLemonYellowTint:#fecb00;--colorSpringGreen:#008a00;--colorSpringGreenTint:#b7bf10;--colorBlue:#005ea5;--colorBlueTint:#5f9bc8;--colorAquaBlue:#0096ad;--colorAquaBlueTint:#00b0ca;--colorVodafoneWhite:#ffffff;--colorVodafoneWhiteAlpha:#ffffffb3;--colorBlack05:#f2f2f2;--colorBlack25:#bebebe;--colorBlack50:#7e7e7e;--colorBlack60:#666666;--colorBlack85:#262626;--colorBlack95:#0d0d0d;--colorBlack95Alpha:#0d0d0db3;--colorVodafoneGradient:linear-gradient(45deg,#8a0f0f 0%,#e60000 100%);--colorObjectBrand:var(--", ");--colorObjectNeutral:var(--", ");--colorObjectSubtle:var(--", ");--colorObjectInverse:var(--", ");--colorObjectAccent:var(--", ");--colorObjectSuccess:var(--", ");--colorObjectCritical:var(--", ");--colorObjectWarning:var(--", ");--colorObjectInformation:var(--", ");--colorObjectSelected:var(--", ");--colorObjectUnselected:var(--", ");--colorObjectBrandHover:color-mix(in srgb,var(--colorObjectBrand),#000 8%);--colorObjectNeutralHover:color-mix(in srgb,var(--colorObjectNeutral),#fff 8%);--colorObjectSubtleHover:color-mix(in srgb,var(--colorObjectSubtle),#000 8%);--colorObjectInverseHover:color-mix(in srgb,var(--colorObjectInverse),#000 8%);--colorObjectAccentHover:color-mix(in srgb,var(--colorObjectAccent),#000 8%);--colorObjectSuccessHover:color-mix(in srgb,var(--colorObjectSuccess),#000 8%);--colorObjectCriticalHover:color-mix(in srgb,var(--colorObjectCritical),#000 8%);--colorObjectWarningHover:color-mix(in srgb,var(--colorObjectWarning),#000 8%);--colorObjectInformationHover:color-mix(in srgb,var(--colorObjectInformation),#000 8%);--colorObjectSelectedHover:color-mix(in srgb,var(--colorObjectSelected),#000 8%);--colorObjectUnselectedHover:color-mix(in srgb,var(--colorObjectUnselected),#000 8%);--colorObjectBrandPress:color-mix(in srgb,var(--colorObjectBrand),#000 16%);--colorObjectNeutralPress:color-mix(in srgb,var(--colorObjectNeutral),#fff 16%);--colorObjectSubtlePress:color-mix(in srgb,var(--colorObjectSubtle),#000 16%);--colorObjectInversePress:color-mix(in srgb,var(--colorObjectInverse),#000 16%);--colorObjectAccentPress:color-mix(in srgb,var(--colorObjectAccent),#000 16%);--colorObjectSuccessPress:color-mix(in srgb,var(--colorObjectSuccess),#000 16%);--colorObjectCriticalPress:color-mix(in srgb,var(--colorObjectCritical),#000 16%);--colorObjectWarningPress:color-mix(in srgb,var(--colorObjectWarning),#000 16%);--colorObjectInformationPress:color-mix(in srgb,var(--colorObjectInformation),#000 16%);--colorObjectSelectedPress:color-mix(in srgb,var(--colorObjectSelected),#000 16%);--colorObjectUnselectedPress:color-mix(in srgb,var(--colorObjectUnselected),#000 16%);--colorBackgroundBrand:var(--", ");--colorBackgroundBrandGradient:var(--", ");--colorBackgroundNeutral:var(--", ");--colorBackgroundSubtle:var(--", ");--colorBackgroundOverlay:var(--", ");--colorBackgroundOverlayStatic:var(--", ");--colorBackgroundBrandHover:color-mix(in srgb,var(--colorBackgroundBrand),#000 8%);--colorBackgroundNeutralHover:color-mix(in srgb,var(--colorBackgroundNeutral),#000 8%);--colorBackgroundSubtleHover:color-mix(in srgb,var(--colorBackgroundSubtle),#000 8%);--colorBackgroundBrandPress:color-mix(in srgb,var(--colorBackgroundBrand),#000 16%);--colorBackgroundNeutralPress:color-mix(in srgb,var(--colorBackgroundNeutral),#000 16%);--colorBackgroundSubtlePress:color-mix(in srgb,var(--colorBackgroundSubtle),#000 16%);--colorTextBrand:var(--", ");--colorTextNeutral:var(--", ");--colorTextNeutralStatic:var(--", ");--colorTextInverse:var(--", ");--colorTextInverseStatic:var(--", ");--colorTextCritical:var(--", ");--colorTextPlaceholder:var(--", ");--colorBorderBrand:var(--", ");--colorBorderNeutral:var(--", ");--colorBorderSubtle:var(--", ");--colorBorderInverse:var(--", ");--colorBorderAccent:var(--", ");--colorBorderSuccess:var(--", ");--colorBorderCritical:var(--", ");--colorBorderWarning:var(--", ");--colorBorderInformation:var(--", ");--colorBorderSelected:var(--", ");--colorBorderUnselected:var(--", ");--colorBorderFocus:var(--", ");--colorIconBrand:var(--", ");--colorIconNeutral:var(--", ");--colorIconNeutralStatic:var(--", ");--colorIconInverse:var(--", ");--colorIconInverseStatic:var(--", ");--colorIconSuccess:var(--", ");--colorIconCritical:var(--", ");--colorIconWarning:var(--", ");--colorIconInformation:var(--", ");--", ":", ";.Dark{--colorObjectBrand:var(--", ");--colorObjectNeutral:var(--", ");--colorObjectSubtle:var(--", ");--colorObjectInverse:var(--", ");--colorObjectAccent:var(--", ");--colorObjectSuccess:var(--", ");--colorObjectCritical:var(--", ");--colorObjectWarning:var(--", ");--colorObjectInformation:var(--", ");--colorObjectSelected:var(--", ");--colorObjectUnselected:var(--", ");--colorObjectBrandHover:color-mix(in srgb,var(--colorObjectBrand),#000 8%);--colorObjectNeutralHover:color-mix(in srgb,var(--colorObjectNeutral),#000 8%);--colorObjectSubtleHover:color-mix(in srgb,var(--colorObjectSubtle),#000 8%);--colorObjectInverseHover:color-mix(in srgb,var(--colorObjectInverse),#fff 8%);--colorObjectAccentHover:color-mix(in srgb,var(--colorObjectAccent),#000 8%);--colorObjectSuccessHover:color-mix(in srgb,var(--colorObjectSuccess),#000 8%);--colorObjectCriticalHover:color-mix(in srgb,var(--colorObjectCritical),#000 8%);--colorObjectWarningHover:color-mix(in srgb,var(--colorObjectWarning),#000 8%);--colorObjectInformationHover:color-mix(in srgb,var(--colorObjectInformation),#000 8%);--colorObjectSelectedHover:color-mix(in srgb,var(--colorObjectSelected),#000 8%);--colorObjectUnselectedHover:color-mix(in srgb,var(--colorObjectUnselected),#000 8%);--colorObjectBrandPress:color-mix(in srgb,var(--colorObjectBrand),#000 16%);--colorObjectNeutralPress:color-mix(in srgb,var(--colorObjectNeutral),#000 16%);--colorObjectSubtlePress:color-mix(in srgb,var(--colorObjectSubtle),#000 16%);--colorObjectInversePress:color-mix(in srgb,var(--colorObjectInverse),#fff 16%);--colorObjectAccentPress:color-mix(in srgb,var(--colorObjectAccent),#000 16%);--colorObjectSuccessPress:color-mix(in srgb,var(--colorObjectSuccess),#000 16%);--colorObjectCriticalPress:color-mix(in srgb,var(--colorObjectCritical),#000 16%);--colorObjectWarningPress:color-mix(in srgb,var(--colorObjectWarning),#000 16%);--colorObjectInformationPress:color-mix(in srgb,var(--colorObjectInformation),#000 16%);--colorObjectSelectedPress:color-mix(in srgb,var(--colorObjectSelected),#000 16%);--colorObjectUnselectedPress:color-mix(in srgb,var(--colorObjectUnselected),#000 16%);--colorBackgroundBrand:var(--", ");--colorBackgroundNeutral:var(--", ");--colorBackgroundSubtle:var(--", ");--colorBackgroundOverlay:var(--", ");--colorBackgroundOverlayStatic:var(--", ");--colorBackgroundBrandHover:color-mix(in srgb,var(--colorBackgroundBrand),#000 8%);--colorBackgroundNeutralHover:color-mix(in srgb,var(--colorBackgroundNeutral),#fff 8%);--colorBackgroundSubtleHover:color-mix(in srgb,var(--colorBackgroundSubtle),#fff 8%);--colorBackgroundBrandPress:color-mix(in srgb,var(--colorBackgroundBrand),#000 16%);--colorBackgroundNeutralPress:color-mix(in srgb,var(--colorBackgroundNeutral),#fff 16%);--colorBackgroundSubtlePress:color-mix(in srgb,var(--colorBackgroundSubtle),#fff 16%);--colorTextBrand:var(--", ");--colorTextNeutral:var(--", ");--colorTextNeutralStatic:var(--", ");--colorTextInverse:var(--", ");--colorTextInverseStatic:var(--", ");--colorTextCritical:var(--", ");--colorTextPlaceholder:var(--", ");--colorBorderBrand:var(--", ");--colorBorderNeutral:var(--", ");--colorBorderSubtle:var(--", ");--colorBorderInverse:var(--", ");--colorBorderAccent:var(--", ");--colorBorderSuccess:var(--", ");--colorBorderCritical:var(--", ");--colorBorderWarning:var(--", ");--colorBorderInformation:var(--", ");--colorBorderSelected:var(--", ");--colorBorderUnselected:var(--", ");--colorBorderFocus:var(--", ");--colorIconBrand:var(--", ");--colorIconNeutral:var(--", ");--colorIconNeutralStatic:var(--", ");--colorIconInverse:var(--", ");--colorIconInverseStatic:var(--", ");--colorIconSuccess:var(--", ");--colorIconCritical:var(--", ");--colorIconWarning:var(--", ");--colorIconInformation:var(--", ");--", ":", ";}.DarkMobile{@media screen and (max-width:", "){--colorObjectBrand:var(--", ");--colorObjectNeutral:var(--", ");--colorObjectSubtle:var(--", ");--colorObjectInverse:var(--", ");--colorObjectAccent:var(--", ");--colorObjectSuccess:var(--", ");--colorObjectCritical:var(--", ");--colorObjectWarning:var(--", ");--colorObjectInformation:var(--", ");--colorObjectSelected:var(--", ");--colorObjectUnselected:var(--", ");--colorObjectBrandHover:color-mix(in srgb,var(--colorObjectBrand),#000 8%);--colorObjectNeutralHover:color-mix(in srgb,var(--colorObjectNeutral),#000 8%);--colorObjectSubtleHover:color-mix(in srgb,var(--colorObjectSubtle),#000 8%);--colorObjectInverseHover:color-mix(in srgb,var(--colorObjectInverse),#fff 8%);--colorObjectAccentHover:color-mix(in srgb,var(--colorObjectAccent),#000 8%);--colorObjectSuccessHover:color-mix(in srgb,var(--colorObjectSuccess),#000 8%);--colorObjectCriticalHover:color-mix(in srgb,var(--colorObjectCritical),#000 8%);--colorObjectWarningHover:color-mix(in srgb,var(--colorObjectWarning),#000 8%);--colorObjectInformationHover:color-mix(in srgb,var(--colorObjectInformation),#000 8%);--colorObjectSelectedHover:color-mix(in srgb,var(--colorObjectSelected),#000 8%);--colorObjectUnselectedHover:color-mix(in srgb,var(--colorObjectUnselected),#000 8%);--colorObjectBrandPress:color-mix(in srgb,var(--colorObjectBrand),#000 16%);--colorObjectNeutralPress:color-mix(in srgb,var(--colorObjectNeutral),#000 16%);--colorObjectSubtlePress:color-mix(in srgb,var(--colorObjectSubtle),#000 16%);--colorObjectInversePress:color-mix(in srgb,var(--colorObjectInverse),#fff 16%);--colorObjectAccentPress:color-mix(in srgb,var(--colorObjectAccent),#000 16%);--colorObjectSuccessPress:color-mix(in srgb,var(--colorObjectSuccess),#000 16%);--colorObjectCriticalPress:color-mix(in srgb,var(--colorObjectCritical),#000 16%);--colorObjectWarningPress:color-mix(in srgb,var(--colorObjectWarning),#000 16%);--colorObjectInformationPress:color-mix(in srgb,var(--colorObjectInformation),#000 16%);--colorObjectSelectedPress:color-mix(in srgb,var(--colorObjectSelected),#000 16%);--colorObjectUnselectedPress:color-mix(in srgb,var(--colorObjectUnselected),#000 16%);--colorBackgroundBrand:var(--", ");--colorBackgroundNeutral:var(--", ");--colorBackgroundSubtle:var(--", ");--colorBackgroundBrandHover:color-mix(in srgb,var(--colorBackgroundBrand),#000 8%);--colorBackgroundNeutralHover:color-mix(in srgb,var(--colorBackgroundNeutral),#fff 8%);--colorBackgroundSubtleHover:color-mix(in srgb,var(--colorBackgroundSubtle),#fff 8%);--colorBackgroundBrandPress:color-mix(in srgb,var(--colorBackgroundBrand),#000 16%);--colorBackgroundNeutralPress:color-mix(in srgb,var(--colorBackgroundNeutral),#fff 16%);--colorBackgroundSubtlePress:color-mix(in srgb,var(--colorBackgroundSubtle),#fff 16%);--colorTextBrand:var(--", ");--colorTextNeutral:var(--", ");--colorTextNeutralStatic:var(--", ");--colorTextInverse:var(--", ");--colorTextInverseStatic:var(--", ");--colorTextCritical:var(--", ");--colorTextPlaceholder:var(--", ");--colorBorderBrand:var(--", ");--colorBorderNeutral:var(--", ");--colorBorderSubtle:var(--", ");--colorBorderInverse:var(--", ");--colorBorderAccent:var(--", ");--colorBorderSuccess:var(--", ");--colorBorderCritical:var(--", ");--colorBorderWarning:var(--", ");--colorBorderInformation:var(--", ");--colorBorderSelected:var(--", ");--colorBorderUnselected:var(--", ");--colorBorderFocus:var(--", ");--colorIconBrand:var(--", ");--colorIconNeutral:var(--", ");--colorIconNeutralStatic:var(--", ");--colorIconInverse:var(--", ");--colorIconInverseStatic:var(--", ");--colorIconSuccess:var(--", ");--colorIconCritical:var(--", ");--colorIconWarning:var(--", ");--colorIconInformation:var(--", ");--", ":", ";}}}:root{--bodyMdFontSize:var(--fontSize16);--bodyMdLineHeight:var(--lineHeight125);@media screen and (min-width:", "){--bodyMdFontSize:var(--fontSize18);--bodyMdLineHeight:var(--lineHeight144);}--bodySmFontSize:var(--fontSize14);--bodySmLineHeight:var(--lineHeight128);--headingXlFontSize:var(--fontSize32);--headingXlLineHeight:var(--lineHeight125);@media screen and (min-width:", "){--headingXlFontSize:var(--fontSize56);--headingXlLineHeight:var(--lineHeight114);}@media screen and (min-width:", "){--headingXlFontSize:var(--fontSize64);--headingXlLineHeight:var(--lineHeight112);}--headingLgFontSize:var(--fontSize28);--headingLgLineHeight:var(--lineHeight128);@media screen and (min-width:", "){--headingLgFontSize:var(--fontSize40);--headingLgLineHeight:var(--lineHeight120);}@media screen and (min-width:", "){--headingLgFontSize:var(--fontSize56);--headingLgLineHeight:var(--lineHeight114);}--headingMdFontSize:var(--fontSize24);--headingMdLineHeight:var(--lineHeight133);@media screen and (min-width:", "){--headingMdFontSize:var(--fontSize32);--headingMdLineHeight:var(--lineHeight125);}@media screen and (min-width:", "){--headingMdFontSize:var(--fontSize40);--headingMdLineHeight:var(--lineHeight120);}--headingSmFontSize:var(--fontSize20);--headingSmLineHeight:var(--lineHeight140);@media screen and (min-width:", "){--headingSmFontSize:var(--fontSize24);--headingSmLineHeight:var(--lineHeight133);}@media screen and (min-width:", "){--headingSmFontSize:var(--fontSize28);--headingSmLineHeight:var(--lineHeight128);}--headingXsFontSize:var(--fontSize18);--headingXsLineHeight:var(--lineHeight144);@media screen and (min-width:", "){--headingXsFontSize:var(--fontSize20);--headingXsLineHeight:var(--lineHeight140);}@media screen and (min-width:", "){--headingXsFontSize:var(--fontSize20);--headingXsLineHeight:var(--lineHeight140);}}:root{--iconSize2xs:16px;--iconSizeXs:20px;--iconSizeSm:20px;--iconSizeMd:24px;--iconSizeLg:32px;--iconSizeXl:36px;--iconSize2xl:40px;--iconSize3xl:48px;--iconSize4xl:56px;--iconSize5xl:64px;--iconSize6xl:72px;--iconSize7xl:84px;--iconSize8xl:96px;--iconSize9xl:120px;@media screen and (min-width:", "){--iconSize2xs:16px;--iconSizeXs:20px;--iconSizeSm:24px;--iconSizeMd:32px;--iconSizeLg:36px;--iconSizeXl:40px;--iconSize2xl:48px;--iconSize3xl:56px;--iconSize4xl:64px;--iconSize5xl:72px;--iconSize6xl:84px;--iconSize7xl:96px;--iconSize8xl:120px;--iconSize9xl:192px;}}"], breakpoint_medium, breakpoint_large, objectColors.colorObjectBrand.Light, objectColors.colorObjectNeutral.Light, objectColors.colorObjectSubtle.Light, objectColors.colorObjectInverse.Light, objectColors.colorObjectAccent.Light, objectColors.colorObjectSuccess.Light, objectColors.colorObjectCritical.Light, objectColors.colorObjectWarning.Light, objectColors.colorObjectInformation.Light, objectColors.colorObjectSelected.Light, objectColors.colorObjectUnselected.Light, backgroundColors.colorBackgroundBrand.Light, backgroundColors.colorBackgroundBrandGradient.Light, backgroundColors.colorBackgroundNeutral.Light, backgroundColors.colorBackgroundSubtle.Light, backgroundColors.colorBackgroundOverlay.Light, backgroundColors.colorBackgroundOverlayStatic.Light, textColors.colorTextBrand.Light, textColors.colorTextNeutral.Light, textColors.colorTextNeutralStatic.Light, textColors.colorTextInverse.Light, textColors.colorTextInverseStatic.Light, textColors.colorTextCritical.Light, textColors.colorTextPlaceholder.Light, borderColors.colorBorderBrand.Light, borderColors.colorBorderNeutral.Light, borderColors.colorBorderSubtle.Light, borderColors.colorBorderInverse.Light, borderColors.colorBorderAccent.Light, borderColors.colorBorderSuccess.Light, borderColors.colorBorderCritical.Light, borderColors.colorBorderWarning.Light, borderColors.colorBorderInformation.Light, borderColors.colorBorderSelected.Light, borderColors.colorBorderUnselected.Light, borderColors.colorBorderFocus.Light, iconColors.colorIconBrand.Light, iconColors.colorIconNeutral.Light, iconColors.colorIconNeutralStatic.Light, iconColors.colorIconInverse.Light, iconColors.colorIconInverseStatic.Light, iconColors.colorIconSuccess.Light, iconColors.colorIconCritical.Light, iconColors.colorIconWarning.Light, iconColors.colorIconInformation.Light, loadingSpinnerOverlayCssVar, loadingSpinnerOverlays.Light, objectColors.colorObjectBrand.Dark, objectColors.colorObjectNeutral.Dark, objectColors.colorObjectSubtle.Dark, objectColors.colorObjectInverse.Dark, objectColors.colorObjectAccent.Dark, objectColors.colorObjectSuccess.Dark, objectColors.colorObjectCritical.Dark, objectColors.colorObjectWarning.Dark, objectColors.colorObjectInformation.Dark, objectColors.colorObjectSelected.Dark, objectColors.colorObjectUnselected.Dark, backgroundColors.colorBackgroundBrand.Dark, backgroundColors.colorBackgroundNeutral.Dark, backgroundColors.colorBackgroundSubtle.Dark, backgroundColors.colorBackgroundOverlay.Dark, backgroundColors.colorBackgroundOverlayStatic.Dark, textColors.colorTextBrand.Dark, textColors.colorTextNeutral.Dark, textColors.colorTextNeutralStatic.Dark, textColors.colorTextInverse.Dark, textColors.colorTextInverseStatic.Dark, textColors.colorTextCritical.Dark, textColors.colorTextPlaceholder.Dark, borderColors.colorBorderBrand.Dark, borderColors.colorBorderNeutral.Dark, borderColors.colorBorderSubtle.Dark, borderColors.colorBorderInverse.Dark, borderColors.colorBorderAccent.Dark, borderColors.colorBorderSuccess.Dark, borderColors.colorBorderCritical.Dark, borderColors.colorBorderWarning.Dark, borderColors.colorBorderInformation.Dark, borderColors.colorBorderSelected.Dark, borderColors.colorBorderUnselected.Dark, borderColors.colorBorderFocus.Dark, iconColors.colorIconBrand.Dark, iconColors.colorIconNeutral.Dark, iconColors.colorIconBrand.Dark, iconColors.colorIconInverse.Dark, iconColors.colorIconInverseStatic.Dark, iconColors.colorIconSuccess.Dark, iconColors.colorIconCritical.Dark, iconColors.colorIconWarning.Dark, iconColors.colorIconInformation.Dark, loadingSpinnerOverlayCssVar, loadingSpinnerOverlays.Dark, breakpoint_medium, objectColors.colorObjectBrand.Dark, objectColors.colorObjectNeutral.Dark, objectColors.colorObjectSubtle.Dark, objectColors.colorObjectInverse.Dark, objectColors.colorObjectAccent.Dark, objectColors.colorObjectSuccess.Dark, objectColors.colorObjectCritical.Dark, objectColors.colorObjectWarning.Dark, objectColors.colorObjectInformation.Dark, objectColors.colorObjectSelected.Dark, objectColors.colorObjectUnselected.Dark, backgroundColors.colorBackgroundBrand.Dark, backgroundColors.colorBackgroundNeutral.Dark, backgroundColors.colorBackgroundSubtle.Dark, textColors.colorTextBrand.Dark, textColors.colorTextNeutral.Dark, textColors.colorTextNeutralStatic.Dark, textColors.colorTextInverse.Dark, textColors.colorTextInverseStatic.Dark, textColors.colorTextCritical.Dark, textColors.colorTextPlaceholder.Dark, borderColors.colorBorderBrand.Dark, borderColors.colorBorderNeutral.Dark, borderColors.colorBorderSubtle.Dark, borderColors.colorBorderInverse.Dark, borderColors.colorBorderAccent.Dark, borderColors.colorBorderSuccess.Dark, borderColors.colorBorderCritical.Dark, borderColors.colorBorderWarning.Dark, borderColors.colorBorderInformation.Dark, borderColors.colorBorderSelected.Dark, borderColors.colorBorderUnselected.Dark, borderColors.colorBorderFocus.Dark, iconColors.colorIconBrand.Dark, iconColors.colorIconNeutral.Dark, iconColors.colorIconBrand.Dark, iconColors.colorIconInverse.Dark, iconColors.colorIconInverseStatic.Dark, iconColors.colorIconSuccess.Dark, iconColors.colorIconCritical.Dark, iconColors.colorIconWarning.Dark, iconColors.colorIconInformation.Dark, loadingSpinnerOverlayCssVar, loadingSpinnerOverlays.Dark, breakpoint_medium, breakpoint_medium, breakpoint_large, breakpoint_medium, breakpoint_large, breakpoint_medium, breakpoint_large, breakpoint_medium, breakpoint_large, breakpoint_medium, breakpoint_large, breakpoint_medium);
|
|
511
|
+
const getWebFont = (_localWebfont = false) => {
|
|
512
|
+
return "https://www.vodafone.de/simplicity/assets/css/fonts/VodafoneVF_Wght_W.woff2";
|
|
513
|
+
};
|
|
514
|
+
const GlobalStyle = createGlobalStyle(['@font-face{font-family:"VodafoneVari";src:url(', ' ) format("woff2");font-style:normal;font-display:swap;}@font-face{font-family:"Vodafone";src:url(https://www.vodafone.de/simplicity/assets/css/fonts/VodafoneRg.eot);src:url(https://www.vodafone.de/simplicity/assets/css/fonts/VodafoneRg.woff2) format("woff2"),url(https://www.vodafone.de/simplicity/assets/css/fonts/VodafoneRg.woff) format("woff");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:"Vodafone";src:url(https://www.vodafone.de/simplicity/assets/css/fonts/vodafonergbd-webfont.eot);src:url(https://www.vodafone.de/simplicity/assets/css/fonts/vodafonergbd-webfont.woff2) format("woff2"),url(https://www.vodafone.de/simplicity/assets/css/fonts/vodafonergbd-webfont.woff) format("woff");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:"Vodafone";src:url(https://www.vodafone.de/simplicity/assets/css/fonts/VodafoneLt.eot);src:url(https://www.vodafone.de/simplicity/assets/css/fonts/VodafoneLt.woff2) format("woff2"),url(https://www.vodafone.de/simplicity/assets/css/fonts/VodafoneLt.woff) format("woff");font-weight:100;font-style:normal;font-display:swap}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,button,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:top;}p{vertical-align:baseline;}html{line-height:1;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;}ol,ul{list-style:none;}table{border-collapse:collapse;border-spacing:0;}caption,th,td{text-align:left;font-weight:normal;vertical-align:middle;}q,blockquote{quotes:none;}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none;}a img{border:0;}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary{display:block;}html{font-size:14px}body{color:#333;font-family:"VodafoneVari","Arial",Arial,sans-serif;font-size:1rem;font-weight:400;line-height:1;background:#fff;}*{box-sizing:border-box;}input,textarea{font-family:"VodafoneVari","Arial",sans-serif;border:none;box-shadow:none;max-width:100%;}input:focus{border:none;}hr{margin-block-start:0;}select{-moz-appearance:none;-webkit-appearance:none;appearance:none;}.HideOverflowY{overflow-y:hidden;}.HasObscuringBottomBar{scroll-padding-bottom:var(--bottomBarHeight);padding-bottom:var(--bottomBarHeight)}', ""], (props) => getWebFont(props.localWebfont), cssVars);
|
|
515
|
+
export {
|
|
516
|
+
GlobalStyle
|
|
517
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Spacing } from '../token/types/Spacing';
|
|
2
|
+
export interface PatternProps {
|
|
3
|
+
/** Component name. is used in cms & bob and in brix to render children dynamically
|
|
4
|
+
* @TODO discuss refactoring of RIT prerender. Maybe using displayName could fulfil the purpose, but be closer to standard React
|
|
5
|
+
*/
|
|
6
|
+
component?: string;
|
|
7
|
+
/** a concrete and "unique" component identifier. is pre loops in react mandatory anyway, but in cms all components get a key
|
|
8
|
+
* https://react.dev/learn/rendering-lists#rules-of-keys
|
|
9
|
+
*/
|
|
10
|
+
uid?: string;
|
|
11
|
+
/** a concrete and "unique" component identifier. is pre loops in react mandatory anyway, but in cms all components get a key
|
|
12
|
+
* https://react.dev/learn/rendering-lists#rules-of-keys
|
|
13
|
+
* @deprecated use uid instead and refactor in cms
|
|
14
|
+
*/
|
|
15
|
+
key?: string;
|
|
16
|
+
/** optional bottom spacing to maintain the space to the next Pattern below*/
|
|
17
|
+
bottomSpacing?: Spacing;
|
|
18
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Color } from './token/base/baseColors';
|
|
2
|
+
import { BackgroundColor } from './token/types/BackgroundColor';
|
|
3
|
+
import { ObjectColor } from './token/types/ObjectColor';
|
|
4
|
+
import { Theme } from './types/Theme';
|
|
5
|
+
export declare const backgroundColors: Record<BackgroundColor, Record<Theme, Color>>;
|
|
6
|
+
export declare const objectColors: Record<ObjectColor, Record<Theme, Color>>;
|
|
7
|
+
export declare const cssVars: import('styled-components').RuleSet<object>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CSSObject } from 'styled-components';
|
|
2
|
+
export declare const forcedColorsQuery = "(forced-colors: active)";
|
|
3
|
+
/**
|
|
4
|
+
* Media query that is applied when the user has user defined colors.
|
|
5
|
+
*/
|
|
6
|
+
declare const forcedColors: (stylesInViewport: CSSObject) => CSSObject;
|
|
7
|
+
export default forcedColors;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CSSObject } from 'styled-components';
|
|
2
|
+
export declare const reducedMotionQuery = "(prefers-reduced-motion)";
|
|
3
|
+
/**
|
|
4
|
+
* Media query that is applied when the user has enabled reduced motion in the OS.
|
|
5
|
+
*/
|
|
6
|
+
declare const reducedMotion: (stylesInViewport: CSSObject) => CSSObject;
|
|
7
|
+
export default reducedMotion;
|
|
8
|
+
/**
|
|
9
|
+
* Media query that is applied when the user has not enabled reduced motion in the OS.
|
|
10
|
+
*/
|
|
11
|
+
export declare const noReducedMotion: (stylesInViewport: CSSObject) => CSSObject;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CSSObject } from 'styled-components';
|
|
2
|
+
export declare const mediumMediaQuery = "screen and (min-width: 768px)";
|
|
3
|
+
export declare const largeMediaQuery = "screen and (min-width: 1025px)";
|
|
4
|
+
/**
|
|
5
|
+
* breakpoint_x_large and up
|
|
6
|
+
*/
|
|
7
|
+
declare const viewport: {
|
|
8
|
+
md: (stylesInViewport: CSSObject) => CSSObject;
|
|
9
|
+
lg: (stylesInViewport: CSSObject) => CSSObject;
|
|
10
|
+
};
|
|
11
|
+
export default viewport;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const h1TagName = "h1";
|
|
2
|
+
export declare const h2TagName = "h2";
|
|
3
|
+
export declare const h3TagName = "h3";
|
|
4
|
+
export declare const h4TagName = "h4";
|
|
5
|
+
export declare const h5TagName = "h5";
|
|
6
|
+
export declare const h6TagName = "h6";
|
|
7
|
+
export type HeadingHtmlTag = typeof h1TagName | typeof h2TagName | typeof h3TagName | typeof h4TagName | typeof h5TagName | typeof h6TagName;
|
|
8
|
+
export declare const headingHtmlTags: string[];
|
|
9
|
+
export declare const pTagName = "p";
|
|
10
|
+
export declare const divTagName = "div";
|
|
11
|
+
export declare const spanTagName = "span";
|
|
12
|
+
export declare const strongTagName = "strong";
|
|
13
|
+
export declare const supTagName = "sup";
|
|
14
|
+
export declare const ulTagName = "ul";
|
|
15
|
+
export declare const olTagName = "ol";
|
|
16
|
+
export declare const liTagName = "li";
|
|
17
|
+
export declare const sectionTagName = "section";
|
|
18
|
+
export declare const articleTagName = "article";
|
|
19
|
+
export declare const asideTagName = "aside";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const colorVodafoneRed = "colorVodafoneRed";
|
|
2
|
+
export declare const colorVodafoneRedTint = "colorVodafoneRedTint";
|
|
3
|
+
export declare const colorRed = "colorRed";
|
|
4
|
+
export declare const colorRedTint = "colorRedTint";
|
|
5
|
+
export declare const colorVodafoneDarkRed = "colorVodafoneDarkRed";
|
|
6
|
+
export declare const colorVodafoneDarkRedTint = "colorVodafoneDarkRedTint";
|
|
7
|
+
export declare const colorTurquoise = "colorTurquoise";
|
|
8
|
+
export declare const colorTurquoiseTint = "colorTurquoiseTint";
|
|
9
|
+
export declare const colorAubergine = "colorAubergine";
|
|
10
|
+
export declare const colorAubergineTint = "colorAubergineTint";
|
|
11
|
+
export declare const colorFreshOrange = "colorFreshOrange";
|
|
12
|
+
export declare const colorFreshOrangeTint = "colorFreshOrangeTint";
|
|
13
|
+
export declare const colorLemonYellow = "colorLemonYellow";
|
|
14
|
+
export declare const colorLemonYellowTint = "colorLemonYellowTint";
|
|
15
|
+
export declare const colorSpringGreen = "colorSpringGreen";
|
|
16
|
+
export declare const colorSpringGreenTint = "colorSpringGreenTint";
|
|
17
|
+
export declare const colorBlue = "colorBlue";
|
|
18
|
+
export declare const colorBlueTint = "colorBlueTint";
|
|
19
|
+
export declare const colorAquaBlue = "colorAquaBlue";
|
|
20
|
+
export declare const colorAquaBlueTint = "colorAquaBlueTint";
|
|
21
|
+
export declare const colorVodafoneWhite = "colorVodafoneWhite";
|
|
22
|
+
export declare const colorVodafoneWhiteAlpha = "colorVodafoneWhiteAlpha";
|
|
23
|
+
export declare const colorBlack05 = "colorBlack05";
|
|
24
|
+
export declare const colorBlack25 = "colorBlack25";
|
|
25
|
+
export declare const colorBlack50 = "colorBlack50";
|
|
26
|
+
export declare const colorBlack60 = "colorBlack60";
|
|
27
|
+
export declare const colorBlack85 = "colorBlack85";
|
|
28
|
+
export declare const colorBlack95 = "colorBlack95";
|
|
29
|
+
export declare const colorBlack95Alpha = "colorBlack95Alpha";
|
|
30
|
+
export declare const colorVodafoneGradient = "colorVodafoneGradient";
|
|
31
|
+
export type Color = typeof colorVodafoneRed | typeof colorVodafoneRedTint | typeof colorRed | typeof colorRedTint | typeof colorVodafoneDarkRed | typeof colorVodafoneDarkRedTint | typeof colorTurquoise | typeof colorTurquoiseTint | typeof colorAubergine | typeof colorAubergineTint | typeof colorFreshOrange | typeof colorFreshOrangeTint | typeof colorLemonYellow | typeof colorLemonYellowTint | typeof colorSpringGreen | typeof colorSpringGreenTint | typeof colorBlue | typeof colorBlueTint | typeof colorAquaBlue | typeof colorAquaBlueTint | typeof colorVodafoneWhite | typeof colorVodafoneWhiteAlpha | typeof colorBlack05 | typeof colorBlack25 | typeof colorBlack50 | typeof colorBlack60 | typeof colorBlack85 | typeof colorBlack95 | typeof colorBlack95Alpha | typeof colorVodafoneGradient;
|