@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,18 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { InputStatus } from '../Input/props';
|
|
3
|
+
import { PatternProps } from '../../foundations/PatternProps';
|
|
4
|
+
export interface FormHelperMessageProps extends PatternProps, HTMLAttributes<HTMLParagraphElement> {
|
|
5
|
+
/**
|
|
6
|
+
* id is mantatory
|
|
7
|
+
*/
|
|
8
|
+
id: string;
|
|
9
|
+
/**
|
|
10
|
+
* Message that appears below the input.
|
|
11
|
+
*/
|
|
12
|
+
message?: string;
|
|
13
|
+
/**
|
|
14
|
+
* There are two statii success and error.
|
|
15
|
+
* Leave status undefined for default input field
|
|
16
|
+
*/
|
|
17
|
+
status?: InputStatus;
|
|
18
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { BodyProps } from '../Body/props';
|
|
2
|
+
import { InputStatus } from '../Input/props';
|
|
3
|
+
export declare const FormHelperMessageStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<BodyProps, BodyProps & {
|
|
4
|
+
status?: InputStatus;
|
|
5
|
+
}>> & string & Omit<import('react').FC<BodyProps>, keyof import('react').Component<any, {}, any>>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IconName } from '@vfde-react/inline-icon-library';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { InputStatus } from '../Input/props';
|
|
4
|
+
import { FormHelperStatusIconProps } from './props';
|
|
5
|
+
export type InputStatusIcons = {
|
|
6
|
+
[key in InputStatus]: IconName;
|
|
7
|
+
};
|
|
8
|
+
export declare const inputStatusIcons: InputStatusIcons;
|
|
9
|
+
/**
|
|
10
|
+
* Return a colored Icon that represents the status
|
|
11
|
+
* or null if status needs no icon
|
|
12
|
+
*/
|
|
13
|
+
declare const FormHelperStatusIcon: FC<FormHelperStatusIconProps>;
|
|
14
|
+
export default FormHelperStatusIcon;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { IconLoaderProps } from '@vfde-react/inline-icon-library';
|
|
2
|
+
import { FormHelperStatusIconProps } from './props';
|
|
3
|
+
export declare const FormHelperStatusIconStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<IconLoaderProps, IconLoaderProps & FormHelperStatusIconProps>> & string & Omit<import('react').FC<IconLoaderProps>, keyof import('react').Component<any, {}, any>>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file contains the background map for the consent message as base 64 encoded gif
|
|
3
|
+
* Even if that is relativly small,
|
|
4
|
+
* that would be an ideal candidat for lasy loading ;)
|
|
5
|
+
*/
|
|
6
|
+
export declare const mapBG = "R0lGODlhjABPANUAAJfU/sHeosfhrOj1/tXezKvYyqXX+9Xu/7XasbDd/cno/bvj/vP47M7ltNDe6Nrg1e/25s3eu/f7897uzdbpweDl29LnuvL6/tTr5+by2rra7qTX4cvlxczn1eHx5Onv4+ry4b/i4tTpy+/z6uPo7evr7PHx8eXl5uHh4uPj5O3t7unp6v39/fn5+fv7++r04OLw0/v9+drryPX38/j8/97w/PP18fn79/Pz8/X19efn6Pf39+/v8L3cm////9/f4CH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgOS4xLWMwMDIgNzkuYjdjNjRjY2Y5LCAyMDI0LzA3LzE2LTEyOjM5OjA0ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5j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ps } from '../../../../foundations/PatternProps';
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* All direct props of ConsentMessage
|
|
6
|
+
* are deliberately simple, just a string with no configuration options,
|
|
7
|
+
* to keep it as lightweight as possible.
|
|
8
|
+
*/
|
|
9
|
+
export interface ConsentMessageProps extends PatternProps, HTMLAttributes<HTMLDivElement> {
|
|
10
|
+
/**
|
|
11
|
+
* Text of Heading.
|
|
12
|
+
*/
|
|
13
|
+
heading: string;
|
|
14
|
+
/**
|
|
15
|
+
* Text of Body
|
|
16
|
+
* Deliberately simple, just a string with no configuration options, to keep it as lightweight as possible.
|
|
17
|
+
*/
|
|
18
|
+
body: string;
|
|
19
|
+
/**
|
|
20
|
+
* Text of button
|
|
21
|
+
*/
|
|
22
|
+
button: string;
|
|
23
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const ConsentMessageBackgroundStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
+
/**
|
|
3
|
+
* blurring the image create artifacts on the edges,
|
|
4
|
+
* so I position these edges outside the visible area to hide them
|
|
5
|
+
*/
|
|
6
|
+
export declare const ConsentMessageBackgroundMapStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
7
|
+
export declare const ConsentMessageStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Map } from '@vis.gl/react-google-maps';
|
|
2
|
+
import { HTMLAttributes, ReactElement } from 'react';
|
|
3
|
+
import { ConsentMessageProps } from './components/ConsentMessage/props';
|
|
4
|
+
import { PatternProps } from '../../foundations/PatternProps';
|
|
5
|
+
import { CornerStyle } from '../../foundations/types/CornerStyle';
|
|
6
|
+
/**
|
|
7
|
+
* type ViewportSpecificHeight defines an object that can contain different height
|
|
8
|
+
* per every viewport (sm, md and lg)
|
|
9
|
+
*
|
|
10
|
+
* If a smaller is not overridden by a value for a larger viewport, then it applies also to all larger viewports.
|
|
11
|
+
*/
|
|
12
|
+
export type ViewportHeight = {
|
|
13
|
+
sm: number;
|
|
14
|
+
md?: number;
|
|
15
|
+
lg?: number;
|
|
16
|
+
};
|
|
17
|
+
export interface GoogleMapProps extends PatternProps, HTMLAttributes<HTMLDivElement> {
|
|
18
|
+
/**
|
|
19
|
+
* Pin component's name from string to the concrete name
|
|
20
|
+
*/
|
|
21
|
+
component?: 'GoogleMap';
|
|
22
|
+
/**
|
|
23
|
+
* @TODO it is not clear where to get an API Key from
|
|
24
|
+
* https://developers.google.com/maps/documentation/javascript/get-api-key
|
|
25
|
+
*/
|
|
26
|
+
apiKey: string;
|
|
27
|
+
viewportHeight: ViewportHeight;
|
|
28
|
+
/**
|
|
29
|
+
* Corner variations
|
|
30
|
+
*/
|
|
31
|
+
corners?: CornerStyle;
|
|
32
|
+
/**
|
|
33
|
+
* The only valid child is a Map from react-google-maps
|
|
34
|
+
* https://visgl.github.io/react-google-maps/docs/api-reference/components/map
|
|
35
|
+
*/
|
|
36
|
+
children: ReactElement<typeof Map>;
|
|
37
|
+
/**
|
|
38
|
+
* consentMessage
|
|
39
|
+
*/
|
|
40
|
+
consentMessage: ConsentMessageProps;
|
|
41
|
+
/**
|
|
42
|
+
* an optional function that retrieves a map instance as soon as it is ready
|
|
43
|
+
*/
|
|
44
|
+
onMapReady?: (map: google.maps.Map) => void;
|
|
45
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { GoogleMapProps } from './props';
|
|
2
|
+
export declare const GoogleMapStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<GoogleMapProps, "apiKey" | "consentMessage">>> & string;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { GridProps, GridSpacing, GridTag } from './props';
|
|
3
|
+
import { GridItemProps } from '../GridItem/props';
|
|
4
|
+
export declare const autoLayout: (props: GridProps) => ReactElement<GridItemProps, string | import('react').JSXElementConstructor<any>> | ReactElement<unknown, string | import('react').JSXElementConstructor<any>>[] | undefined;
|
|
5
|
+
export declare const inheritTagandSpacingToGridItems: (gridItems: ReactElement<GridItemProps> | ReactElement<GridItemProps>[], tag: GridTag, spacing?: GridSpacing) => ReactElement<GridItemProps, string | import('react').JSXElementConstructor<any>>[];
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactElement } from 'react';
|
|
2
|
+
import { PatternProps } from '../../foundations/PatternProps';
|
|
3
|
+
import { divTagName, olTagName, ulTagName } from '../../foundations/tags';
|
|
4
|
+
import { Spacing } from '../../foundations/token/types/Spacing';
|
|
5
|
+
import { ViewportName } from '../../foundations/token/types/Viewport';
|
|
6
|
+
import { GridItemProps } from '../GridItem/props';
|
|
7
|
+
export type GridColSpan = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
8
|
+
export type GridTag = typeof divTagName | typeof ulTagName | typeof olTagName;
|
|
9
|
+
export type GridSpacing = Extract<Spacing, 'None' | 'Md'>;
|
|
10
|
+
/**
|
|
11
|
+
* type GridConfig defines an object that can contain colspans
|
|
12
|
+
* per every viewport (sm, md and large)
|
|
13
|
+
*
|
|
14
|
+
* If a smaller is not overridden by a value for a larger viewport, then it applies also to all larger viewports.
|
|
15
|
+
*/
|
|
16
|
+
export type GridConfig = {
|
|
17
|
+
[key in ViewportName]?: GridColSpan;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* @TODO implement size. That's not yet implemented in brix/components-ws10
|
|
21
|
+
*/
|
|
22
|
+
export interface GridProps extends PatternProps, HTMLAttributes<HTMLDivElement> {
|
|
23
|
+
children?: ReactElement<GridItemProps> | Array<ReactElement<GridItemProps>>;
|
|
24
|
+
/**
|
|
25
|
+
* Affects the alignment of the last, not completely filled row of GridItems.
|
|
26
|
+
*/
|
|
27
|
+
align?: 'left' | 'center' | 'right';
|
|
28
|
+
/**
|
|
29
|
+
* Defines whether all GridItems and their content have the same height or keep their original height
|
|
30
|
+
*/
|
|
31
|
+
stretch?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Autolayout is a convenient feature that makes it easier to divide many GridItems evenly
|
|
34
|
+
*/
|
|
35
|
+
autoLayout?: GridConfig;
|
|
36
|
+
/**
|
|
37
|
+
* define which tag should be used to render grid
|
|
38
|
+
*/
|
|
39
|
+
tag?: GridTag;
|
|
40
|
+
/**
|
|
41
|
+
* Space between rows and columns, accept only None or Md
|
|
42
|
+
*/
|
|
43
|
+
spacing?: GridSpacing;
|
|
44
|
+
/**
|
|
45
|
+
* Pin component's name from string to the concrete name
|
|
46
|
+
*/
|
|
47
|
+
component?: 'Grid';
|
|
48
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { GridProps } from './props';
|
|
2
|
+
export declare const GridStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, GridProps>> & string;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { GridConfig, GridProps } from '../Grid/props';
|
|
3
|
+
import { PatternProps } from '../../foundations/PatternProps';
|
|
4
|
+
import { divTagName, liTagName } from '../../foundations/tags';
|
|
5
|
+
export type GridItemTag = typeof divTagName | typeof liTagName;
|
|
6
|
+
export type GridItemAlign = 'left' | 'center' | 'right';
|
|
7
|
+
export interface GridItemProps extends GridConfig, Omit<PatternProps, 'bottomSpacing'>, Pick<GridProps, 'spacing'>, HTMLAttributes<HTMLDivElement> {
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
/**
|
|
10
|
+
* Offset props push an item to the right side of the grid.
|
|
11
|
+
*/
|
|
12
|
+
offset?: GridConfig;
|
|
13
|
+
/**
|
|
14
|
+
* align the content within a GridItem
|
|
15
|
+
*/
|
|
16
|
+
align?: GridItemAlign;
|
|
17
|
+
/**
|
|
18
|
+
* Pin component's name from string to the concrete name
|
|
19
|
+
*/
|
|
20
|
+
component?: 'GridItem';
|
|
21
|
+
/**
|
|
22
|
+
* Define which html tag is used for Griditem
|
|
23
|
+
*/
|
|
24
|
+
tag?: GridItemTag;
|
|
25
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { GridItemProps } from './props';
|
|
2
|
+
export declare const gutter = "16px";
|
|
3
|
+
export declare const GridItemStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, GridItemProps>> & string;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { FootnoteLinkProps } from '../FootnoteLink/props';
|
|
3
|
+
import { PatternProps } from '../../foundations/PatternProps';
|
|
4
|
+
import { HeadingHtmlTag, divTagName, pTagName, spanTagName } from '../../foundations/tags';
|
|
5
|
+
import { FontWeight } from '../../foundations/token/types/FontWeight';
|
|
6
|
+
import { TextHeadingSize } from '../../foundations/token/types/HeadingSize';
|
|
7
|
+
import { Theme } from '../../foundations/types/Theme';
|
|
8
|
+
export type HeadingTag = HeadingHtmlTag | typeof divTagName | typeof spanTagName | typeof pTagName;
|
|
9
|
+
export declare const headingAlignLeft = "left";
|
|
10
|
+
export declare const headingAlignCenter = "center";
|
|
11
|
+
type HeadingAlign = typeof headingAlignLeft | typeof headingAlignCenter;
|
|
12
|
+
export interface HeadingProps extends PatternProps, HTMLAttributes<HTMLHeadingElement> {
|
|
13
|
+
/**
|
|
14
|
+
* heading tshirt size between xs and xs
|
|
15
|
+
*/
|
|
16
|
+
size: TextHeadingSize;
|
|
17
|
+
/**
|
|
18
|
+
* By default a html-element is used according to level. e.g. `<h1>` is used for `size=textHeadingXl`
|
|
19
|
+
* that behavior can be overwritten by setting a different value for `as`
|
|
20
|
+
*/
|
|
21
|
+
tag?: HeadingTag;
|
|
22
|
+
/**
|
|
23
|
+
* font weight can be light, regular or bold.
|
|
24
|
+
* If it is left empty, then one default is used per headline level
|
|
25
|
+
*/
|
|
26
|
+
weight?: FontWeight;
|
|
27
|
+
/**
|
|
28
|
+
* Align left or center
|
|
29
|
+
*/
|
|
30
|
+
align?: HeadingAlign;
|
|
31
|
+
/**
|
|
32
|
+
* Can be used on darker backgrounds by setting to 'dark'
|
|
33
|
+
*/
|
|
34
|
+
theme?: Theme;
|
|
35
|
+
/**
|
|
36
|
+
* Content of heading
|
|
37
|
+
*/
|
|
38
|
+
children: ReactNode;
|
|
39
|
+
/**
|
|
40
|
+
* add a footnote into the headline
|
|
41
|
+
*/
|
|
42
|
+
footnote?: FootnoteLinkProps;
|
|
43
|
+
/** Pin component's name from string to the concrete name */
|
|
44
|
+
component?: 'Heading';
|
|
45
|
+
}
|
|
46
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { FontWeight } from '../../foundations/token/types/FontWeight';
|
|
3
|
+
import { TextHeadingSize } from '../../foundations/token/types/HeadingSize';
|
|
4
|
+
import { HeadingProps } from './props';
|
|
5
|
+
export declare const mapHeadingSizeToFontWeight: {
|
|
6
|
+
[key in TextHeadingSize]: FontWeight;
|
|
7
|
+
};
|
|
8
|
+
export declare const HeadingStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components/dist/types').Substitute<import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, import('react').DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>>, HeadingProps>, HeadingProps>> & string;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ImgHTMLAttributes } from 'react';
|
|
2
|
+
import { iconSize5xl, iconSize6xl, iconSize7xl, iconSize8xl, iconSize9xl } from '../Icon/props';
|
|
3
|
+
import { PatternProps } from '../../foundations/PatternProps';
|
|
4
|
+
export type HifiIconSize = typeof iconSize5xl | typeof iconSize6xl | typeof iconSize7xl | typeof iconSize8xl | typeof iconSize9xl;
|
|
5
|
+
export interface HifiIconProps extends PatternProps, ImgHTMLAttributes<HTMLImageElement> {
|
|
6
|
+
/**
|
|
7
|
+
* Icons are generally assumed to be decorative and not content-bearing.
|
|
8
|
+
* If an icon transports content, then alt text must be used to store a text for screen readers
|
|
9
|
+
*/
|
|
10
|
+
alt?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Pin component's name from string to the concrete name
|
|
13
|
+
*/
|
|
14
|
+
component?: 'HifiIcon';
|
|
15
|
+
/**
|
|
16
|
+
* If given a url of a source of a hifi icon it will be rendered accordingly
|
|
17
|
+
*/
|
|
18
|
+
src?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Hifi Icons are available from 5Xl to 9XL
|
|
21
|
+
*/
|
|
22
|
+
size: HifiIconSize;
|
|
23
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { HifiIconProps } from './props';
|
|
2
|
+
export declare const IconStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, HifiIconProps>> & string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IconLoaderProps } from '@vfde-react/inline-icon-library';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { IconProps } from './props';
|
|
4
|
+
import { HifiIconProps } from '../HifiIcon/props';
|
|
5
|
+
/**
|
|
6
|
+
* The Icon component exposes the three options to render an icon:
|
|
7
|
+
*
|
|
8
|
+
* 1) Pass through an InlineIcon that was already given as React Element
|
|
9
|
+
* 2) Render an HifiIcon with a given src
|
|
10
|
+
* 3) Render an icon by it's name using the IconLoader
|
|
11
|
+
*/
|
|
12
|
+
declare const Icon: FC<IconProps | IconLoaderProps | HifiIconProps>;
|
|
13
|
+
export default Icon;
|
|
14
|
+
export * from './props';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IconSize, InlineIconProps } from '@vfde-react/inline-icon-library';
|
|
2
|
+
import { ReactElement, SVGAttributes } from 'react';
|
|
3
|
+
import { HifiIconSize } from '../HifiIcon/props';
|
|
4
|
+
import { PatternProps } from '../../foundations/PatternProps';
|
|
5
|
+
export declare const iconSize5xl = "iconSize5xl";
|
|
6
|
+
export declare const iconSize6xl = "iconSize6xl";
|
|
7
|
+
export declare const iconSize7xl = "iconSize7xl";
|
|
8
|
+
export declare const iconSize8xl = "iconSize8xl";
|
|
9
|
+
export declare const iconSize9xl = "iconSize9xl";
|
|
10
|
+
export interface IconProps extends PatternProps, SVGAttributes<SVGElement> {
|
|
11
|
+
/**
|
|
12
|
+
* Pin component's name from string to the concrete name
|
|
13
|
+
*/
|
|
14
|
+
component?: 'Icon';
|
|
15
|
+
icon?: ReactElement<InlineIconProps>;
|
|
16
|
+
size?: IconSize | HifiIconSize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { IconName } from '@vfde-react/inline-icon-library';
|
|
2
|
+
import { ButtonHTMLAttributes } from 'react';
|
|
3
|
+
import { PatternProps } from '../../foundations/PatternProps';
|
|
4
|
+
import { ButtonAppearances } from '../../foundations/types/ButtonAppearances';
|
|
5
|
+
import { Theme } from '../../foundations/types/Theme';
|
|
6
|
+
export declare const iconButtonShapeSquare = "square";
|
|
7
|
+
export declare const iconButtonShapeCircle = "circle";
|
|
8
|
+
export type IconButtonShape = typeof iconButtonShapeSquare | typeof iconButtonShapeCircle;
|
|
9
|
+
export interface IconButtonProps extends PatternProps, ButtonHTMLAttributes<HTMLButtonElement> {
|
|
10
|
+
/**
|
|
11
|
+
* Label that is read by screen reader
|
|
12
|
+
*/
|
|
13
|
+
label: string;
|
|
14
|
+
/**
|
|
15
|
+
* Specify a system icon name to be displayed in the Button. All system icons are listed here: https://www.vodafone.de/simplicity/icons/
|
|
16
|
+
*/
|
|
17
|
+
iconName: IconName;
|
|
18
|
+
/**
|
|
19
|
+
* Supports different appearances
|
|
20
|
+
*/
|
|
21
|
+
appearance?: ButtonAppearances;
|
|
22
|
+
/**
|
|
23
|
+
* Can be used on darker backgrounds by setting to 'dark'
|
|
24
|
+
*/
|
|
25
|
+
theme?: Theme;
|
|
26
|
+
/**
|
|
27
|
+
* sets button to disabled by setting to true
|
|
28
|
+
*/
|
|
29
|
+
disabled?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* No idea what this means :)
|
|
32
|
+
*/
|
|
33
|
+
floating?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Icon Buttons can be shaped like circle or squarish
|
|
36
|
+
*/
|
|
37
|
+
shape?: IconButtonShape;
|
|
38
|
+
/**
|
|
39
|
+
* Pin component's name from string to the concrete name
|
|
40
|
+
*/
|
|
41
|
+
component?: 'IconButton';
|
|
42
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IconButtonProps } from './props';
|
|
2
|
+
export declare const IconButtonStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, Omit<IconButtonProps, "label" | "shape"> & {
|
|
3
|
+
$shape: string;
|
|
4
|
+
}>> & string;
|