@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 @@
|
|
|
1
|
+
export declare const shadow28 = "shadow28";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const colorBackgroundBrand = "colorBackgroundBrand";
|
|
2
|
+
export declare const colorBackgroundBrandGradient = "colorBackgroundBrandGradient";
|
|
3
|
+
export declare const colorBackgroundNeutral = "colorBackgroundNeutral";
|
|
4
|
+
export declare const colorBackgroundSubtle = "colorBackgroundSubtle";
|
|
5
|
+
export declare const colorBackgroundOverlay = "colorBackgroundOverlay";
|
|
6
|
+
export declare const colorBackgroundOverlayStatic = "colorBackgroundOverlayStatic";
|
|
7
|
+
export type BackgroundColor = typeof colorBackgroundBrand | typeof colorBackgroundBrandGradient | typeof colorBackgroundNeutral | typeof colorBackgroundSubtle | typeof colorBackgroundOverlay | typeof colorBackgroundOverlayStatic;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const colorBorderBrand = "colorBorderBrand";
|
|
2
|
+
export declare const colorBorderNeutral = "colorBorderNeutral";
|
|
3
|
+
export declare const colorBorderSubtle = "colorBorderSubtle";
|
|
4
|
+
export declare const colorBorderInverse = "colorBorderInverse";
|
|
5
|
+
export declare const colorBorderAccent = "colorBorderAccent";
|
|
6
|
+
export declare const colorBorderSuccess = "colorBorderSuccess";
|
|
7
|
+
export declare const colorBorderCritical = "colorBorderCritical";
|
|
8
|
+
export declare const colorBorderWarning = "colorBorderWarning";
|
|
9
|
+
export declare const colorBorderInformation = "colorBorderInformation";
|
|
10
|
+
export declare const colorBorderUnselected = "colorBorderUnselected";
|
|
11
|
+
export declare const colorBorderSelected = "colorBorderSelected";
|
|
12
|
+
export declare const colorBorderFocus = "colorBorderFocus";
|
|
13
|
+
export type BorderColor = typeof colorBorderBrand | typeof colorBorderNeutral | typeof colorBorderSubtle | typeof colorBorderInverse | typeof colorBorderAccent | typeof colorBorderSuccess | typeof colorBorderCritical | typeof colorBorderWarning | typeof colorBorderInformation | typeof colorBorderUnselected | typeof colorBorderSelected | typeof colorBorderFocus;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const borderRadiusNone = "borderRadiusNone";
|
|
2
|
+
export declare const borderRadiusSm = "borderRadiusSm";
|
|
3
|
+
export declare const borderRadiusMd = "borderRadiusMd";
|
|
4
|
+
export declare const borderRadiusFull = "borderRadiusFull";
|
|
5
|
+
export type BorderRadius = typeof borderRadiusNone | typeof borderRadiusSm | typeof borderRadiusMd | typeof borderRadiusFull;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const borderWidthNone = "None";
|
|
2
|
+
export declare const borderWidthDivider = "Divider";
|
|
3
|
+
export declare const borderWidthUnselected = "Unselected";
|
|
4
|
+
export declare const borderWidthSelected = "Selected";
|
|
5
|
+
export declare const borderWidthNavigation = "Navigation";
|
|
6
|
+
export declare const borderWidthFocus = "Focus";
|
|
7
|
+
export declare const borderWidthSm = "Sm";
|
|
8
|
+
export declare const borderWidthMd = "Md";
|
|
9
|
+
export type GetBorderWidth = typeof borderWidthNone | typeof borderWidthDivider | typeof borderWidthUnselected | typeof borderWidthSelected | typeof borderWidthNavigation | typeof borderWidthFocus | typeof borderWidthMd | typeof borderWidthSm;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const textHeadingXl = "xl";
|
|
2
|
+
export declare const textHeadingLg = "lg";
|
|
3
|
+
export declare const textHeadingMd = "md";
|
|
4
|
+
export declare const textHeadingSm = "sm";
|
|
5
|
+
export declare const textHeadingXs = "xs";
|
|
6
|
+
export type TextHeadingSize = typeof textHeadingXl | typeof textHeadingLg | typeof textHeadingMd | typeof textHeadingSm | typeof textHeadingXs;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const colorIconBrand = "colorIconBrand";
|
|
2
|
+
export declare const colorIconNeutral = "colorIconNeutral";
|
|
3
|
+
export declare const colorIconNeutralStatic = "colorIconNeutralStatic";
|
|
4
|
+
export declare const colorIconInverse = "colorIconInverse";
|
|
5
|
+
export declare const colorIconInverseStatic = "colorIconInverseStatic";
|
|
6
|
+
export declare const colorIconSuccess = "colorIconSuccess";
|
|
7
|
+
export declare const colorIconCritical = "colorIconCritical";
|
|
8
|
+
export declare const colorIconWarning = "colorIconWarning";
|
|
9
|
+
export declare const colorIconInformation = "colorIconInformation";
|
|
10
|
+
export type IconColor = typeof colorIconBrand | typeof colorIconNeutral | typeof colorIconNeutralStatic | typeof colorIconInverse | typeof colorIconInverseStatic | typeof colorIconSuccess | typeof colorIconCritical | typeof colorIconWarning | typeof colorIconInformation;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const colorObjectBrand = "colorObjectBrand";
|
|
2
|
+
export declare const colorObjectNeutral = "colorObjectNeutral";
|
|
3
|
+
export declare const colorObjectSubtle = "colorObjectSubtle";
|
|
4
|
+
export declare const colorObjectInverse = "colorObjectInverse";
|
|
5
|
+
export declare const colorObjectAccent = "colorObjectAccent";
|
|
6
|
+
export declare const colorObjectSuccess = "colorObjectSuccess";
|
|
7
|
+
export declare const colorObjectCritical = "colorObjectCritical";
|
|
8
|
+
export declare const colorObjectWarning = "colorObjectWarning";
|
|
9
|
+
export declare const colorObjectInformation = "colorObjectInformation";
|
|
10
|
+
export declare const colorObjectSelected = "colorObjectSelected";
|
|
11
|
+
export declare const colorObjectUnselected = "colorObjectUnselected";
|
|
12
|
+
export type ObjectColor = typeof colorObjectBrand | typeof colorObjectNeutral | typeof colorObjectSubtle | typeof colorObjectInverse | typeof colorObjectAccent | typeof colorObjectSuccess | typeof colorObjectCritical | typeof colorObjectWarning | typeof colorObjectInformation | typeof colorObjectSelected | typeof colorObjectUnselected;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 0/0/0
|
|
3
|
+
*/
|
|
4
|
+
export declare const spacingNone = "None";
|
|
5
|
+
/**
|
|
6
|
+
* 4/4/4
|
|
7
|
+
*/
|
|
8
|
+
export declare const spacing2Xs = "2Xs";
|
|
9
|
+
/**
|
|
10
|
+
* 8/8/8
|
|
11
|
+
*/
|
|
12
|
+
export declare const spacingXs = "Xs";
|
|
13
|
+
/**
|
|
14
|
+
* 12/12/16
|
|
15
|
+
*/
|
|
16
|
+
export declare const spacingSm = "Sm";
|
|
17
|
+
/**
|
|
18
|
+
* 16/20/20
|
|
19
|
+
*/
|
|
20
|
+
export declare const spacingMd = "Md";
|
|
21
|
+
/**
|
|
22
|
+
* 20/20/24
|
|
23
|
+
*/
|
|
24
|
+
export declare const spacingLg = "Lg";
|
|
25
|
+
/**
|
|
26
|
+
* 24/28/32
|
|
27
|
+
*/
|
|
28
|
+
export declare const spacingXl = "Xl";
|
|
29
|
+
/**
|
|
30
|
+
* 24/32/40
|
|
31
|
+
*/
|
|
32
|
+
export declare const spacing2Xl = "2Xl";
|
|
33
|
+
/**
|
|
34
|
+
* 32/40/48
|
|
35
|
+
*/
|
|
36
|
+
export declare const spacing3Xl = "3Xl";
|
|
37
|
+
/**
|
|
38
|
+
* 40/48/56
|
|
39
|
+
*/
|
|
40
|
+
export declare const spacing4Xl = "4Xl";
|
|
41
|
+
/**
|
|
42
|
+
* 48/56/64
|
|
43
|
+
*/
|
|
44
|
+
export declare const spacing5Xl = "5Xl";
|
|
45
|
+
/**
|
|
46
|
+
* 48/56/72
|
|
47
|
+
*/
|
|
48
|
+
export declare const spacing6Xl = "6Xl";
|
|
49
|
+
/**
|
|
50
|
+
* 48/56/80
|
|
51
|
+
*/
|
|
52
|
+
export declare const spacing7Xl = "7Xl";
|
|
53
|
+
export type Spacing = typeof spacingNone | typeof spacing2Xs | typeof spacingXs | typeof spacingSm | typeof spacingMd | typeof spacingLg | typeof spacingXl | typeof spacing2Xl | typeof spacing3Xl | typeof spacing4Xl | typeof spacing5Xl | typeof spacing6Xl | typeof spacing7Xl;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const colorTextBrand = "colorTextBrand";
|
|
2
|
+
export declare const colorTextNeutral = "colorTextNeutral";
|
|
3
|
+
export declare const colorTextNeutralStatic = "colorTextNeutralStatic";
|
|
4
|
+
export declare const colorTextInverse = "colorTextInverse";
|
|
5
|
+
export declare const colorTextInverseStatic = "colorTextInverseStatic";
|
|
6
|
+
export declare const colorTextCritical = "colorTextCritical";
|
|
7
|
+
export declare const colorTextPlaceholder = "colorTextPlaceholder";
|
|
8
|
+
export type TextColor = typeof colorTextBrand | typeof colorTextNeutral | typeof colorTextNeutralStatic | typeof colorTextInverse | typeof colorTextInverseStatic | typeof colorTextCritical | typeof colorTextPlaceholder;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const textDecorationNone = "None";
|
|
2
|
+
export declare const textDecorationUnderline = "Underline";
|
|
3
|
+
export declare const textDecorationStrikethrough = "Strikethrough";
|
|
4
|
+
export type TextDecoration = typeof textDecorationNone | typeof textDecorationUnderline | typeof textDecorationStrikethrough;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const primaryAppearance = "primary";
|
|
2
|
+
export declare const secondaryAppearance = "secondary";
|
|
3
|
+
export declare const tertiaryAppearance = "tertiary";
|
|
4
|
+
export type ButtonAppearances = typeof primaryAppearance | typeof secondaryAppearance | typeof tertiaryAppearance;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const leftPosition = "left";
|
|
2
|
+
export declare const rightPosition = "right";
|
|
3
|
+
export declare const topPosition = "top";
|
|
4
|
+
export declare const bottomPosition = "bottom";
|
|
5
|
+
type PositionType = typeof leftPosition | typeof rightPosition | typeof topPosition | typeof bottomPosition;
|
|
6
|
+
export default PositionType;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Theme = 'Light' | 'Dark';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useForcedColors: () => boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useMediaQuery: (query: string) => boolean[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useReducedMotion: () => boolean;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const consentStorageItemName = "adv_fcData";
|
|
2
|
+
export declare const consentStorageFeature = "permissions";
|
|
3
|
+
export declare const consentStorageKey = "LI-TPV";
|
|
4
|
+
export type ConsentPermissionStorage = {
|
|
5
|
+
[key in typeof consentStorageKey]?: 'true' | 'false';
|
|
6
|
+
};
|
|
7
|
+
export type ConsentStorage = {
|
|
8
|
+
[key in typeof consentStorageFeature]?: ConsentPermissionStorage;
|
|
9
|
+
};
|
|
10
|
+
export interface WindowWithScodeLoaded extends Window {
|
|
11
|
+
adv_lib: {
|
|
12
|
+
consent: {
|
|
13
|
+
showBanner: () => void;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export declare const checkThirdPartyConsentStorage: () => boolean;
|
|
18
|
+
export declare const useThirdPartyConsent: () => boolean;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
const getCssVar = (cssVarName) => {
|
|
2
|
+
return `var(--${cssVarName})`;
|
|
3
|
+
};
|
|
4
|
+
const bodySizes = {
|
|
5
|
+
md: {
|
|
6
|
+
fontSize: getCssVar("bodyMdFontSize"),
|
|
7
|
+
lineHeight: getCssVar("bodyMdLineHeight")
|
|
8
|
+
},
|
|
9
|
+
sm: {
|
|
10
|
+
fontSize: getCssVar("bodySmFontSize"),
|
|
11
|
+
lineHeight: getCssVar("bodySmLineHeight")
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
const getBodySize = (size) => bodySizes[size];
|
|
15
|
+
export {
|
|
16
|
+
getBodySize as a,
|
|
17
|
+
getCssVar as g
|
|
18
|
+
};
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import parse from "html-react-parser";
|
|
3
|
+
import styled from "styled-components";
|
|
4
|
+
import { g as getCssVar, a as getBodySize } from "./index-BoPDwZgt.js";
|
|
5
|
+
const spacingNone = "None";
|
|
6
|
+
const spacingSm = "Sm";
|
|
7
|
+
const spacingMd = "Md";
|
|
8
|
+
const textBodyMd = "md";
|
|
9
|
+
const textBodySm = "sm";
|
|
10
|
+
const renderInlineRichTextFromOpenText = (fromCms) => {
|
|
11
|
+
if (typeof fromCms === "string") {
|
|
12
|
+
return parse(fromCms);
|
|
13
|
+
}
|
|
14
|
+
if (Array.isArray(fromCms)) {
|
|
15
|
+
return fromCms.map(renderInlineRichTextFromOpenText);
|
|
16
|
+
}
|
|
17
|
+
return fromCms;
|
|
18
|
+
};
|
|
19
|
+
const getSpacing = (spacing) => getCssVar(`spacing${spacing}`);
|
|
20
|
+
const getBottomSpacing = ({
|
|
21
|
+
bottomSpacing
|
|
22
|
+
}) => {
|
|
23
|
+
if (!bottomSpacing) {
|
|
24
|
+
return {};
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
marginBottom: getSpacing(bottomSpacing)
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
const baseWeight300 = "fontWeightLight";
|
|
31
|
+
const baseWeight400 = "fontWeightRegular";
|
|
32
|
+
const baseWeight700 = "fontWeightBold";
|
|
33
|
+
const fontWeights = {
|
|
34
|
+
light: baseWeight300,
|
|
35
|
+
regular: baseWeight400,
|
|
36
|
+
bold: baseWeight700
|
|
37
|
+
};
|
|
38
|
+
const getFontWeight = (weight) => getCssVar(fontWeights[weight]);
|
|
39
|
+
const fontWeightBold = "bold";
|
|
40
|
+
const propsNotPassToDomDefault = ["accordionType", "activeId", "activeIndex", "setActiveId", "align", "animated", "appearance", "aspectRatio", "autoLayout", "apiKey", "badge", "borderBottom", "bottomSpacing", "buttonLink", "buttons", "coloringMode", "colorSwatch", "component", "corners", "description", "expanded", "filterItems", "gapSpacing", "grow", "handleOnClick", "handleOnToogle", "hasOverlay", "heading", "heightSm", "heightMd", "heightLg", "horizontalAlignment", "icon", "iconAlign", "iconName", "iconPosition", "images", "isActive", "isChecked", "isDisabled", "isFullscreen", "isOpen", "isOrdered", "isSelected", "isTransparentBackground", "items", "jumpToClickedItem", "justify", "justifyHorizontal", "lg", "loadingSpinnerChild", "mapId", "md", "message", "more", "nextAriaLabel", "notificationType", "objectFit", "objectPosition", "offset", "onUpdate", "openMultiple", "orientation", "padding", "prefix", "prefixWeight", "prevAriaLabel", "price", "productId", "promoPrice", "screenReaderInstruction", "showList", "size", "sm", "spacing", "spinnerType", "status", "stretch", "strikePrice", "suffix", "tag", "textContent", "uid", "variant", "verticalPadding", "viewportHeight", "weight", "width"];
|
|
41
|
+
const filterProps = (propsNotPassToDom = []) => {
|
|
42
|
+
const shouldForwardProp = (prop) => {
|
|
43
|
+
if ("string" !== typeof prop) {
|
|
44
|
+
return false;
|
|
45
|
+
}
|
|
46
|
+
return ![...propsNotPassToDom, ...propsNotPassToDomDefault].includes(prop);
|
|
47
|
+
};
|
|
48
|
+
return shouldForwardProp;
|
|
49
|
+
};
|
|
50
|
+
const BodyStyled = styled.p.withConfig({
|
|
51
|
+
shouldForwardProp: filterProps(),
|
|
52
|
+
displayName: "BodyStyled",
|
|
53
|
+
componentId: "sc-1n7n7pv-0"
|
|
54
|
+
})({
|
|
55
|
+
outline: "none",
|
|
56
|
+
color: "inherit",
|
|
57
|
+
verticalAlign: "baseline"
|
|
58
|
+
}, ({
|
|
59
|
+
size = textBodyMd
|
|
60
|
+
}) => getBodySize(size), ({
|
|
61
|
+
weight,
|
|
62
|
+
tag
|
|
63
|
+
}) => {
|
|
64
|
+
if ("strong" === tag) {
|
|
65
|
+
return {
|
|
66
|
+
fontWeight: getFontWeight(fontWeightBold)
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
if (!weight) {
|
|
70
|
+
return {};
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
fontWeight: getFontWeight(weight)
|
|
74
|
+
};
|
|
75
|
+
}, ({
|
|
76
|
+
tag
|
|
77
|
+
}) => {
|
|
78
|
+
if ("sup" === tag) {
|
|
79
|
+
return {
|
|
80
|
+
verticalAlign: "super",
|
|
81
|
+
fontSize: "smaller"
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
if ("span" === tag) {
|
|
85
|
+
return {
|
|
86
|
+
display: "inline-block"
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
return {};
|
|
90
|
+
}, ({
|
|
91
|
+
align
|
|
92
|
+
}) => ({
|
|
93
|
+
textAlign: align
|
|
94
|
+
}), getBottomSpacing);
|
|
95
|
+
const bodyAlignLeft = "left";
|
|
96
|
+
const bodyAlignCenter = "center";
|
|
97
|
+
const bodyAlignRight = "right";
|
|
98
|
+
const Body = ({
|
|
99
|
+
tag = "p",
|
|
100
|
+
bottomSpacing,
|
|
101
|
+
...props
|
|
102
|
+
}) => {
|
|
103
|
+
if (!bottomSpacing) {
|
|
104
|
+
bottomSpacing = textBodySm === props.size ? spacingSm : spacingMd;
|
|
105
|
+
}
|
|
106
|
+
return /* @__PURE__ */ jsx(BodyStyled, { ...props, bottomSpacing, as: tag, tag, children: renderInlineRichTextFromOpenText(props.children) });
|
|
107
|
+
};
|
|
108
|
+
export {
|
|
109
|
+
Body as B,
|
|
110
|
+
getSpacing as a,
|
|
111
|
+
bodyAlignLeft as b,
|
|
112
|
+
bodyAlignCenter as c,
|
|
113
|
+
bodyAlignRight as d,
|
|
114
|
+
filterProps as f,
|
|
115
|
+
getBottomSpacing as g,
|
|
116
|
+
spacingNone as s
|
|
117
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vodafone_de/brix-components",
|
|
3
|
+
"description": "Brix is the digital design system for vodafone.de",
|
|
4
|
+
"version": "3.0.0",
|
|
5
|
+
"private": false,
|
|
6
|
+
"exports": {
|
|
7
|
+
"./components/*": {
|
|
8
|
+
"import": "./dist/components/*/index.js",
|
|
9
|
+
"types": "./dist/components/*/index.d.ts"
|
|
10
|
+
},
|
|
11
|
+
"./foundations/*": {
|
|
12
|
+
"import": "./dist/foundations/*/index.js",
|
|
13
|
+
"types": "./dist/foundations/*/index.d.ts"
|
|
14
|
+
},
|
|
15
|
+
"./hooks/*": {
|
|
16
|
+
"import": "./dist/hooks/*/index.js",
|
|
17
|
+
"types": "./dist/hooks/*/index.d.ts"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"peerDependencies": {
|
|
21
|
+
"@af-utils/scrollend-polyfill": "^0.0.14",
|
|
22
|
+
"@vis.gl/react-google-maps": "^1.5.1",
|
|
23
|
+
"html-react-parser": "^5.2.2",
|
|
24
|
+
"polished": "^4.3.1",
|
|
25
|
+
"react": "^19.0.0",
|
|
26
|
+
"react-dom": "^19.0.0",
|
|
27
|
+
"styled-components": "^6.1.17",
|
|
28
|
+
"uuid": "^11.1.0"
|
|
29
|
+
},
|
|
30
|
+
"author": {
|
|
31
|
+
"name": "Team Tetris",
|
|
32
|
+
"email": "brix@vodafone.com"
|
|
33
|
+
},
|
|
34
|
+
"license": "CC-BY-ND-4.0"
|
|
35
|
+
}
|