@vodafone_de/brix-components 7.0.13 → 7.0.14-renderer-93d5cb8bde6ea7a3335a9903d10b06aa0a36a8fd
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/dist/{BackgroundColor-e0N9tdDR.js → BackgroundColor-DSOSZvNi.js} +2 -2
- package/dist/{BorderColor-BummoQ1-.js → BorderColor-CYdSW9dg.js} +5 -5
- package/dist/{BorderWidth-DfOlyKK7.js → BorderWidth-CTOda7Cp.js} +5 -5
- package/dist/{FontWeight-DEBGHbtO.js → FontWeight-C2pGs7aR.js} +2 -2
- package/dist/{HeadingSize-CfCRn3Lh.js → HeadingSize-BoyxJlpz.js} +2 -2
- package/dist/{ObjectColor-BZDBuV8H.js → ObjectColor-DSUXMO7l.js} +6 -6
- package/dist/Spacing-BzNNxYMI.js +25 -0
- package/dist/{TextColor-DsntmDNw.js → TextColor-BXVMXUVE.js} +2 -2
- package/dist/{colorUtils-BSfFfgbi.js → colorUtils-DKyvcZKj.js} +1 -1
- package/dist/components/Accordion/index.d.ts +1 -0
- package/dist/components/Accordion/index.js +52 -12
- package/dist/components/Accordion/validate.d.ts +3 -0
- package/dist/components/Accordion/validate.test.d.ts +1 -0
- package/dist/components/AccordionGroup/index.d.ts +1 -0
- package/dist/components/AccordionGroup/index.js +41 -4
- package/dist/components/AccordionGroup/validate.d.ts +3 -0
- package/dist/components/AccordionGroup/validate.test.d.ts +1 -0
- package/dist/components/Badge/index.d.ts +1 -0
- package/dist/components/Badge/index.js +15 -6
- package/dist/components/Badge/props.d.ts +12 -8
- package/dist/components/Badge/validate.d.ts +5 -0
- package/dist/components/Badge/validate.test.d.ts +1 -0
- package/dist/components/Body/index.d.ts +1 -0
- package/dist/components/Body/index.js +44 -5
- package/dist/components/Body/props.d.ts +2 -2
- package/dist/components/Body/validate.d.ts +8 -0
- package/dist/components/Body/validate.test.d.ts +1 -0
- package/dist/components/BottomBar/index.js +3 -3
- package/dist/components/Button/ButtonAppearanceHelper.d.ts +1 -1
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/components/Button/index.js +10 -7
- package/dist/components/Button/props.d.ts +0 -5
- package/dist/components/Button/validate.d.ts +6 -0
- package/dist/components/Button/validate.test.d.ts +1 -0
- package/dist/components/ButtonAsLink/index.d.ts +1 -0
- package/dist/components/ButtonAsLink/index.js +7 -3
- package/dist/components/ButtonAsLink/validate.d.ts +4 -0
- package/dist/components/ButtonAsLink/validate.test.d.ts +1 -0
- package/dist/components/ButtonGroup/index.d.ts +1 -0
- package/dist/components/ButtonGroup/index.js +47 -3
- package/dist/components/ButtonGroup/validate.d.ts +6 -0
- package/dist/components/ButtonGroup/validate.test.d.ts +1 -0
- package/dist/components/Card/index.d.ts +1 -0
- package/dist/components/Card/index.js +35 -4
- package/dist/components/Card/props.d.ts +1 -1
- package/dist/components/Card/validate.d.ts +5 -0
- package/dist/components/Card/validate.test.d.ts +1 -0
- package/dist/components/Carousel/index.js +8 -8
- package/dist/components/Checkbox/index.js +6 -5
- package/dist/components/CheckboxGroup/index.js +3 -3
- package/dist/components/Collapsible/index.js +4 -4
- package/dist/components/ColorSwatch/index.d.ts +1 -0
- package/dist/components/ColorSwatch/index.js +31 -6
- package/dist/components/ColorSwatch/validate.d.ts +4 -0
- package/dist/components/ColorSwatch/validate.test.d.ts +1 -0
- package/dist/components/ColorSwatchGroup/index.d.ts +1 -0
- package/dist/components/ColorSwatchGroup/index.js +35 -6
- package/dist/components/ColorSwatchGroup/validate.d.ts +4 -0
- package/dist/components/ColorSwatchGroup/validate.test.d.ts +1 -0
- package/dist/components/ConsentMessage/index.d.ts +1 -0
- package/dist/components/ConsentMessage/index.js +6 -5
- package/dist/components/Container/index.d.ts +1 -0
- package/dist/components/Container/index.js +34 -64
- package/dist/components/Container/props.d.ts +2 -2
- package/dist/components/Container/validate.d.ts +5 -0
- package/dist/components/Container/validate.test.d.ts +1 -0
- package/dist/components/DateInput/index.js +5 -5
- package/dist/components/DemoBox/index.js +3 -3
- package/dist/components/Dialog/index.js +6 -6
- package/dist/components/DiscoveryCard/index.d.ts +1 -0
- package/dist/components/DiscoveryCard/index.js +65 -16
- package/dist/components/DiscoveryCard/validate.d.ts +3 -0
- package/dist/components/DiscoveryCard/validate.test.d.ts +1 -0
- package/dist/components/DiscoveryCardGroup/index.d.ts +1 -0
- package/dist/components/DiscoveryCardGroup/index.js +53 -37
- package/dist/components/DiscoveryCardGroup/validate.d.ts +3 -0
- package/dist/components/DiscoveryCardGroup/validate.test.d.ts +1 -0
- package/dist/components/Divider/index.d.ts +1 -0
- package/dist/components/Divider/index.js +17 -25
- package/dist/components/Divider/validate.d.ts +3 -0
- package/dist/components/Divider/validate.test.d.ts +1 -0
- package/dist/components/Fieldset/index.js +2 -2
- package/dist/components/FilterGroup/index.js +11 -10
- package/dist/components/Flex/index.js +2 -2
- package/dist/components/Flex/props.d.ts +1 -1
- package/dist/components/FlexItem/index.js +2 -2
- package/dist/components/FootnoteContent/index.js +3 -3
- package/dist/components/FootnoteLink/index.js +2 -2
- package/dist/components/Form/index.js +2 -2
- package/dist/components/FormElement/index.js +1 -1
- package/dist/components/FormHelperLabel/index.d.ts +1 -1
- package/dist/components/FormHelperLabel/index.js +1 -1
- package/dist/components/FormHelperMessage/index.js +2 -2
- package/dist/components/FormHelperStatusIcon/index.js +3 -2
- package/dist/components/GoogleMap/index.js +4 -4
- package/dist/components/Grid/index.d.ts +1 -0
- package/dist/components/Grid/index.js +39 -4
- package/dist/components/Grid/props.d.ts +2 -2
- package/dist/components/Grid/validate.d.ts +6 -0
- package/dist/components/Grid/validate.test.d.ts +1 -0
- package/dist/components/GridItem/index.d.ts +1 -0
- package/dist/components/GridItem/index.js +32 -3
- package/dist/components/GridItem/validate.d.ts +5 -0
- package/dist/components/GridItem/validate.test.d.ts +1 -0
- package/dist/components/Heading/index.d.ts +1 -0
- package/dist/components/Heading/index.js +50 -6
- package/dist/components/Heading/props.d.ts +5 -11
- package/dist/components/Heading/styled.d.ts +2 -2
- package/dist/components/Heading/validate.d.ts +9 -0
- package/dist/components/Heading/validate.test.d.ts +1 -0
- package/dist/components/HifiIcon/index.js +2 -2
- package/dist/components/Icon/index.js +1 -1
- package/dist/components/Icon/props.d.ts +1 -3
- package/dist/components/IconButton/index.js +7 -6
- package/dist/components/IconLoader/index.d.ts +1 -0
- package/dist/components/IconLoader/index.js +6 -654
- package/dist/components/IconLoader/validate.d.ts +4 -0
- package/dist/components/IconLoader/validate.test.d.ts +1 -0
- package/dist/components/IconSnippet/index.js +7 -6
- package/dist/components/IconSnippetList/index.js +2 -2
- package/dist/components/Image/index.d.ts +1 -0
- package/dist/components/Image/index.js +47 -3
- package/dist/components/Image/validate.d.ts +8 -0
- package/dist/components/Image/validate.test.d.ts +1 -0
- package/dist/components/ImageHeader/index.js +7 -7
- package/dist/components/InlineIcon/index.d.ts +3 -3
- package/dist/components/InlineIcon/index.js +3 -2
- package/dist/components/InlineIcon/validate.d.ts +4 -0
- package/dist/components/InlineLink/index.d.ts +1 -0
- package/dist/components/InlineLink/index.js +28 -6
- package/dist/components/InlineLink/validate.d.ts +3 -0
- package/dist/components/InlineLink/validate.test.d.ts +1 -0
- package/dist/components/Input/index.js +2 -2
- package/dist/components/Label/index.js +1 -1
- package/dist/components/Legend/index.js +1 -1
- package/dist/components/Link/index.d.ts +1 -0
- package/dist/components/Link/index.js +36 -3
- package/dist/components/Link/validate.d.ts +3 -0
- package/dist/components/Link/validate.test.d.ts +1 -0
- package/dist/components/LinkAsButton/index.d.ts +1 -0
- package/dist/components/LinkAsButton/index.js +4 -2
- package/dist/components/LinkAsButton/validate.d.ts +3 -0
- package/dist/components/LinkAsButton/validate.test.d.ts +1 -0
- package/dist/components/LinkList/index.js +2 -2
- package/dist/components/LinkListItem/index.js +13 -12
- package/dist/components/LinkListItem/styled.d.ts +1 -1
- package/dist/components/LoadingSpinner/index.js +2 -2
- package/dist/components/LoadingSpinner/styled.d.ts +1 -1
- package/dist/components/MediaText/index.js +7 -7
- package/dist/components/Notification/index.js +10 -9
- package/dist/components/Overlay/index.js +2 -2
- package/dist/components/PickerGroup/index.js +12 -11
- package/dist/components/Price/index.d.ts +1 -0
- package/dist/components/Price/index.js +8 -3
- package/dist/components/Price/props.d.ts +1 -0
- package/dist/components/Price/validate.d.ts +6 -0
- package/dist/components/Price/validate.test.d.ts +1 -0
- package/dist/components/ProductCard/index.js +7 -6
- package/dist/components/ProductCard/styled.d.ts +1 -1
- package/dist/components/RadioGroup/index.js +5 -5
- package/dist/components/Rating/index.js +5 -5
- package/dist/components/ResponsiveImage/index.js +2 -2
- package/dist/components/ResponsiveImage/props.d.ts +1 -1
- package/dist/components/RichText/index.js +1 -1
- package/dist/components/RichText/parseHtml.d.ts +1 -1
- package/dist/components/RichText/props.d.ts +1 -1
- package/dist/components/ScreenreaderOnly/index.js +1 -1
- package/dist/components/SearchInput/index.js +7 -7
- package/dist/components/SelectInput/index.js +8 -8
- package/dist/components/Stepper/index.js +5 -5
- package/dist/components/SuggestInput/index.js +10 -9
- package/dist/components/SuggestInput/styled.d.ts +1 -1
- package/dist/components/Switch/index.js +9 -8
- package/dist/components/TabGroup/index.js +11 -10
- package/dist/components/TabularPrice/index.js +2 -2
- package/dist/components/TabularPrice/props.d.ts +1 -1
- package/dist/components/TextList/index.js +3 -3
- package/dist/components/TextList/props.d.ts +3 -3
- package/dist/components/Textarea/index.js +6 -6
- package/dist/components/TimeInput/index.js +7 -7
- package/dist/components/Tray/index.js +6 -6
- package/dist/components/YoutubeVideo/index.js +1 -1
- package/dist/contentful/LegibleContent.d.ts +20 -0
- package/dist/contentful/componentInspectorField.d.ts +5 -0
- package/dist/contentful/componentNameToComponent.d.ts +6 -0
- package/dist/contentful/index.d.ts +1 -0
- package/dist/contentful/index.js +26 -0
- package/dist/contentful/live-preview-inspector/index.d.ts +2 -0
- package/dist/contentful/live-preview-inspector/index.js +65 -0
- package/dist/contentful/live-preview-inspector/props.d.ts +1 -0
- package/dist/contentful/live-preview-renderer/index.d.ts +5 -0
- package/dist/contentful/live-preview-renderer/index.js +7 -0
- package/dist/contentful/live-preview-renderer/props.d.ts +3 -0
- package/dist/contentful/map/MapFunction.d.ts +4 -0
- package/dist/contentful/map/badge.d.ts +4 -0
- package/dist/contentful/map/body.d.ts +4 -0
- package/dist/contentful/map/button.d.ts +5 -0
- package/dist/contentful/map/card.d.ts +5 -0
- package/dist/contentful/map/container.d.ts +7 -0
- package/dist/contentful/map/discovery-card-group.d.ts +5 -0
- package/dist/contentful/map/discovery-card.d.ts +5 -0
- package/dist/contentful/map/divider.d.ts +4 -0
- package/dist/contentful/map/heading.d.ts +5 -0
- package/dist/contentful/map/icon-loader.d.ts +5 -0
- package/dist/contentful/map/image.d.ts +4 -0
- package/dist/contentful/map/link.d.ts +5 -0
- package/dist/contentful/map/mapContentToComponents.d.ts +20 -0
- package/dist/contentful/map/price.d.ts +4 -0
- package/dist/contentful/map/richtext.d.ts +8 -0
- package/dist/contentful/renderer/index.d.ts +5 -0
- package/dist/contentful/renderer/index.js +16 -0
- package/dist/contentful/renderer/props.d.ts +7 -0
- package/dist/contentful/transform/transformBottomSpacing.d.ts +2 -0
- package/dist/contentful/transform/transformIconSize.d.ts +2 -0
- package/dist/{easing-Dm-pO8SY.js → easing-CDd2rVn6.js} +2 -2
- package/dist/{filterProps-xigToTuS.js → filterProps-CK_4l1QP.js} +2 -2
- package/dist/foundations/GlobalStyle/index.js +1 -1
- package/dist/foundations/PatternProps/index.d.ts +1 -1
- package/dist/foundations/cssVars.d.ts +2 -2
- package/dist/foundations/token/getBackgroundColor/index.d.ts +1 -1
- package/dist/foundations/token/getBodySize/index.d.ts +1 -1
- package/dist/foundations/token/getBorderColor/index.d.ts +1 -1
- package/dist/foundations/token/getBorderRadius/index.d.ts +1 -1
- package/dist/foundations/token/getBorderWidth/index.d.ts +1 -1
- package/dist/foundations/token/getFontWeight/index.d.ts +1 -1
- package/dist/foundations/token/getHeadingSize/index.d.ts +1 -1
- package/dist/foundations/token/getHoverColor/index.d.ts +2 -2
- package/dist/foundations/token/getIconColor/index.d.ts +1 -1
- package/dist/foundations/token/getObjectColor/index.d.ts +1 -1
- package/dist/foundations/token/getOpacity/index.d.ts +1 -1
- package/dist/foundations/token/getPressColor/index.d.ts +2 -2
- package/dist/foundations/token/getSpacing/index.d.ts +1 -1
- package/dist/foundations/token/getTextColor/index.d.ts +1 -1
- package/dist/foundations/token/getTextDecoration/index.d.ts +1 -1
- package/dist/foundations/{token/types → types}/Spacing.d.ts +1 -0
- package/dist/hooks/useViewport/index.d.ts +1 -1
- package/dist/icons/index.d.ts +0 -1
- package/dist/icons/index.js +1 -586
- package/dist/index-57OYMpaG.js +104 -0
- package/dist/index-AHrh8OP2.js +600 -0
- package/dist/{index-D1-XMn0u.js → index-B9SzUvp5.js} +53 -6
- package/dist/{index-B854Z6wJ.js → index-Bu5vlBqt.js} +5 -5
- package/dist/{index-C1XkgaO-.js → index-ByrMTmW3.js} +1 -1
- package/dist/{index-nhWB8ViX.js → index-CK6tXAN1.js} +38 -8
- package/dist/{index-DAUhM24n.js → index-DbvqYPrV.js} +49 -9
- package/dist/{_5gPlusIcon-B_69VW4X.js → index-DsGNddb9.js} +1277 -582
- package/dist/index.d.ts +4 -0
- package/dist/index.js +204 -117
- package/dist/isBottomSpacing-DSLyqm7h.js +10 -0
- package/dist/isObject-BYBrvoVW.js +19 -0
- package/dist/props-7dcsjRUx.js +28 -0
- package/dist/{styled-DLlpknmo.js → styled-BkDwTwEu.js} +2 -2
- package/dist/{styled-Coxn39x5.js → styled-BxUdkjFA.js} +4 -4
- package/dist/{styled-Zn59EuIp.js → styled-COtlwCWY.js} +6 -6
- package/dist/styled-CVUo6v7G.js +42 -0
- package/dist/{index-CmRKTcf2.js → styled-CgZsARxO.js} +5 -24
- package/dist/{styled-CAa6y5cu.js → styled-CyZvnrtg.js} +4 -4
- package/dist/{styled-DQRgGOv7.js → styled-DVjoxeUH.js} +4 -4
- package/dist/{styled-BBAZa4-G.js → styled-D_VWcgFd.js} +3 -3
- package/dist/{styled-BdlPH_tS.js → styled-DeX1dXol.js} +2 -2
- package/dist/{styled-BvCNTnzN.js → styled-DzMg6QNT.js} +13 -9
- package/dist/{styled-OqbLiEnJ.js → styled-KMaLUC7W.js} +3 -28
- package/dist/styled-rgh-43CM.js +69 -0
- package/dist/styled-w6MKq7ew.js +27 -0
- package/dist/{tags-D0ExIPLD.js → tags-CixnzWW0.js} +15 -8
- package/package.json +5 -1
- package/dist/Spacing-D0HQH9YJ.js +0 -16
- /package/dist/foundations/{token/types → types}/BackgroundColor.d.ts +0 -0
- /package/dist/foundations/{token/types → types}/BorderColor.d.ts +0 -0
- /package/dist/foundations/{token/types → types}/BorderRadius.d.ts +0 -0
- /package/dist/foundations/{token/types → types}/BorderWidth.d.ts +0 -0
- /package/dist/foundations/{token/types → types}/FontWeight.d.ts +0 -0
- /package/dist/foundations/{token/types → types}/HeadingSize.d.ts +0 -0
- /package/dist/foundations/{token/types → types}/IconColor.d.ts +0 -0
- /package/dist/foundations/{token/types → types}/ObjectColor.d.ts +0 -0
- /package/dist/foundations/{token/types → types}/Opacity.d.ts +0 -0
- /package/dist/foundations/{token/types → types}/TextBodySize.d.ts +0 -0
- /package/dist/foundations/{token/types → types}/TextColor.d.ts +0 -0
- /package/dist/foundations/{token/types → types}/TextDecoration.d.ts +0 -0
- /package/dist/foundations/{token/types → types}/Viewport.d.ts +0 -0
|
@@ -15,10 +15,10 @@ export {
|
|
|
15
15
|
colorBorderFocus as c,
|
|
16
16
|
colorBorderSuccess as d,
|
|
17
17
|
colorBorderCritical as e,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
colorBorderSubtle as f,
|
|
19
|
+
colorBorderWarning as g,
|
|
20
|
+
colorBorderBrand as h,
|
|
21
|
+
colorBorderInverse as i,
|
|
22
|
+
colorBorderSelected as j,
|
|
23
23
|
colorBorderInformation as k
|
|
24
24
|
};
|
|
@@ -8,9 +8,9 @@ const borderWidthMd = "Md";
|
|
|
8
8
|
export {
|
|
9
9
|
borderWidthFocus as a,
|
|
10
10
|
borderWidthUnselected as b,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
borderWidthDivider as c,
|
|
12
|
+
borderWidthSm as d,
|
|
13
|
+
borderWidthSelected as e,
|
|
14
|
+
borderWidthMd as f,
|
|
15
|
+
borderWidthNone as g
|
|
16
16
|
};
|
|
@@ -13,10 +13,10 @@ export {
|
|
|
13
13
|
colorObjectSelected as b,
|
|
14
14
|
colorObjectBrand as c,
|
|
15
15
|
colorObjectUnselected as d,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
16
|
+
colorObjectCritical as e,
|
|
17
|
+
colorObjectWarning as f,
|
|
18
|
+
colorObjectSuccess as g,
|
|
19
|
+
colorObjectInformation as h,
|
|
20
|
+
colorObjectNeutral as i,
|
|
21
|
+
colorObjectAccent as j
|
|
22
22
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const spacingNone = "None";
|
|
2
|
+
const spacing2Xs = "2Xs";
|
|
3
|
+
const spacingXs = "Xs";
|
|
4
|
+
const spacingSm = "Sm";
|
|
5
|
+
const spacingMd = "Md";
|
|
6
|
+
const spacingLg = "Lg";
|
|
7
|
+
const spacingXl = "Xl";
|
|
8
|
+
const spacing2Xl = "2Xl";
|
|
9
|
+
const spacing3Xl = "3Xl";
|
|
10
|
+
const spacing4Xl = "4Xl";
|
|
11
|
+
const spacing5Xl = "5Xl";
|
|
12
|
+
const spacing6Xl = "6Xl";
|
|
13
|
+
const spacing7Xl = "7Xl";
|
|
14
|
+
const spacings = [spacingNone, spacing2Xs, spacingXs, spacingSm, spacingMd, spacingLg, spacingXl, spacing2Xl, spacing3Xl, spacing4Xl, spacing5Xl, spacing6Xl, spacing7Xl];
|
|
15
|
+
export {
|
|
16
|
+
spacingXs as a,
|
|
17
|
+
spacingNone as b,
|
|
18
|
+
spacingSm as c,
|
|
19
|
+
spacingXl as d,
|
|
20
|
+
spacings as e,
|
|
21
|
+
spacing2Xs as f,
|
|
22
|
+
spacing5Xl as g,
|
|
23
|
+
spacingLg as h,
|
|
24
|
+
spacingMd as s
|
|
25
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getTextColor } from "./foundations/token/getTextColor/index.js";
|
|
2
|
-
import { b as colorTextInverseStatic, a as colorTextNeutral, d as colorTextNeutralStatic, e as colorTextInverse } from "./TextColor-
|
|
2
|
+
import { b as colorTextInverseStatic, a as colorTextNeutral, d as colorTextNeutralStatic, e as colorTextInverse } from "./TextColor-BXVMXUVE.js";
|
|
3
3
|
const backgroundForegroundColorMapping = {
|
|
4
4
|
colorBackgroundBrand: getTextColor(colorTextInverseStatic),
|
|
5
5
|
colorBackgroundNeutral: getTextColor(colorTextNeutral),
|
|
@@ -2,27 +2,28 @@
|
|
|
2
2
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useRef, useState, useEffect } from "react";
|
|
4
4
|
import Collapsible from "../Collapsible/index.js";
|
|
5
|
-
import IconLoader from "
|
|
6
|
-
import { c as iconSizeMd } from "../../
|
|
7
|
-
import "../../
|
|
8
|
-
import { bf as ChevronDownIcon } from "../../_5gPlusIcon-B_69VW4X.js";
|
|
5
|
+
import { b as ChevronDownIcon, d as iconNames, I as IconLoader } from "../../index-DsGNddb9.js";
|
|
6
|
+
import { c as iconSizeMd } from "../../props-7dcsjRUx.js";
|
|
7
|
+
import "../../styled-KMaLUC7W.js";
|
|
9
8
|
import styled from "styled-components";
|
|
10
9
|
import Heading from "../Heading/index.js";
|
|
11
10
|
import forcedColors from "../../foundations/media-query/forcedColors/index.js";
|
|
12
11
|
import { noReducedMotion } from "../../foundations/media-query/reducedMotion/index.js";
|
|
13
|
-
import {
|
|
12
|
+
import { e as ease_in_out_sine } from "../../easing-CDd2rVn6.js";
|
|
14
13
|
import { getBorderColor } from "../../foundations/token/getBorderColor/index.js";
|
|
15
14
|
import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js";
|
|
16
15
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
17
16
|
import { getFontWeight } from "../../foundations/token/getFontWeight/index.js";
|
|
18
17
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
19
18
|
import { getTextColor } from "../../foundations/token/getTextColor/index.js";
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import { s as spacingMd, b as spacingNone, a as spacingXs } from "../../Spacing-
|
|
24
|
-
import { a as colorTextNeutral,
|
|
25
|
-
import {
|
|
19
|
+
import { f as colorBorderSubtle, c as colorBorderFocus } from "../../BorderColor-CYdSW9dg.js";
|
|
20
|
+
import { g as borderWidthNone, b as borderWidthUnselected, a as borderWidthFocus } from "../../BorderWidth-CTOda7Cp.js";
|
|
21
|
+
import { f as fontWeightRegular, a as fontWeightBold } from "../../FontWeight-C2pGs7aR.js";
|
|
22
|
+
import { s as spacingMd, b as spacingNone, a as spacingXs } from "../../Spacing-BzNNxYMI.js";
|
|
23
|
+
import { a as colorTextNeutral, g as colorTextBrand } from "../../TextColor-BXVMXUVE.js";
|
|
24
|
+
import { f as filterProps } from "../../filterProps-CK_4l1QP.js";
|
|
25
|
+
import { i as isObject, h as hasMatchingComponentName } from "../../isObject-BYBrvoVW.js";
|
|
26
|
+
import { i as isBottomSpacing } from "../../isBottomSpacing-DSLyqm7h.js";
|
|
26
27
|
const accordionToggleExpanded = "expanded";
|
|
27
28
|
const accordionToggleCollapsing = "collapsing";
|
|
28
29
|
const accordionToggleCollapsed = "collapsed";
|
|
@@ -123,6 +124,43 @@ const AccordionOpenIndicatorStyled = styled(ChevronDownIcon).withConfig({
|
|
|
123
124
|
transform: "rotate(0deg)"
|
|
124
125
|
}
|
|
125
126
|
});
|
|
127
|
+
const validateAccordionProps = (props) => {
|
|
128
|
+
if (!isObject(props)) {
|
|
129
|
+
return false;
|
|
130
|
+
}
|
|
131
|
+
const accordionProps = props;
|
|
132
|
+
if (!hasMatchingComponentName(accordionProps.component, "Accordion")) {
|
|
133
|
+
return false;
|
|
134
|
+
}
|
|
135
|
+
if (typeof accordionProps.uid !== "string" || accordionProps.uid.length === 0) {
|
|
136
|
+
return false;
|
|
137
|
+
}
|
|
138
|
+
if (typeof accordionProps.heading !== "string" || accordionProps.heading.length === 0) {
|
|
139
|
+
return false;
|
|
140
|
+
}
|
|
141
|
+
if (accordionProps.children === void 0 || accordionProps.children === null) {
|
|
142
|
+
return false;
|
|
143
|
+
}
|
|
144
|
+
if (accordionProps.iconName !== void 0 && !iconNames.includes(accordionProps.iconName)) {
|
|
145
|
+
return false;
|
|
146
|
+
}
|
|
147
|
+
if (accordionProps.expanded !== void 0 && typeof accordionProps.expanded !== "boolean") {
|
|
148
|
+
return false;
|
|
149
|
+
}
|
|
150
|
+
if (accordionProps.handleOnToggle !== void 0 && typeof accordionProps.handleOnToggle !== "function") {
|
|
151
|
+
return false;
|
|
152
|
+
}
|
|
153
|
+
if (accordionProps.verticalScrollOffset !== void 0 && typeof accordionProps.verticalScrollOffset !== "number") {
|
|
154
|
+
return false;
|
|
155
|
+
}
|
|
156
|
+
if (accordionProps.bottomSpacing && !isBottomSpacing(accordionProps.bottomSpacing)) {
|
|
157
|
+
return false;
|
|
158
|
+
}
|
|
159
|
+
return true;
|
|
160
|
+
};
|
|
161
|
+
const isAccordionProps = (props) => {
|
|
162
|
+
return validateAccordionProps(props);
|
|
163
|
+
};
|
|
126
164
|
const Accordion = ({
|
|
127
165
|
uid,
|
|
128
166
|
children,
|
|
@@ -194,5 +232,7 @@ export {
|
|
|
194
232
|
accordionToggleCollapsed,
|
|
195
233
|
accordionToggleCollapsing,
|
|
196
234
|
accordionToggleExpanded,
|
|
197
|
-
Accordion as default
|
|
235
|
+
Accordion as default,
|
|
236
|
+
isAccordionProps,
|
|
237
|
+
validateAccordionProps
|
|
198
238
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, Fragment } from "react/jsx-runtime";
|
|
3
|
-
import Accordion from "../Accordion/index.js";
|
|
4
|
-
import { s as spacingMd, b as spacingNone } from "../../Spacing-
|
|
3
|
+
import Accordion, { validateAccordionProps } from "../Accordion/index.js";
|
|
4
|
+
import { s as spacingMd, b as spacingNone } from "../../Spacing-BzNNxYMI.js";
|
|
5
5
|
import { useState } from "react";
|
|
6
6
|
import styled from "styled-components";
|
|
7
7
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
8
|
-
import {
|
|
8
|
+
import { f as filterProps } from "../../filterProps-CK_4l1QP.js";
|
|
9
|
+
import { i as isObject, h as hasMatchingComponentName } from "../../isObject-BYBrvoVW.js";
|
|
10
|
+
import { i as isBottomSpacing } from "../../isBottomSpacing-DSLyqm7h.js";
|
|
9
11
|
const AccordionGroupSingleExpand = ({
|
|
10
12
|
bottomSpacing = spacingMd,
|
|
11
13
|
...props
|
|
@@ -41,6 +43,39 @@ const AccordionGroupStyled = styled.div.withConfig({
|
|
|
41
43
|
displayName: "AccordionGroupStyled",
|
|
42
44
|
componentId: "sc-17dfswd-0"
|
|
43
45
|
})(getBottomSpacing);
|
|
46
|
+
const validateAccordionGroupProps = (props) => {
|
|
47
|
+
if (!isObject(props)) {
|
|
48
|
+
return false;
|
|
49
|
+
}
|
|
50
|
+
const accordionGroupProps = props;
|
|
51
|
+
if (!hasMatchingComponentName(accordionGroupProps.component, "AccordionGroup")) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
if (!Array.isArray(accordionGroupProps.items) || accordionGroupProps.items.length === 0) {
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
for (const item of accordionGroupProps.items) {
|
|
58
|
+
if (!validateAccordionProps(item)) {
|
|
59
|
+
return false;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
if (accordionGroupProps.singleExpand !== void 0 && typeof accordionGroupProps.singleExpand !== "boolean") {
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
if (accordionGroupProps.handleOnToggle !== void 0 && typeof accordionGroupProps.handleOnToggle !== "function") {
|
|
66
|
+
return false;
|
|
67
|
+
}
|
|
68
|
+
if (accordionGroupProps.verticalScrollOffset !== void 0 && typeof accordionGroupProps.verticalScrollOffset !== "number") {
|
|
69
|
+
return false;
|
|
70
|
+
}
|
|
71
|
+
if (accordionGroupProps.bottomSpacing && !isBottomSpacing(accordionGroupProps.bottomSpacing)) {
|
|
72
|
+
return false;
|
|
73
|
+
}
|
|
74
|
+
return true;
|
|
75
|
+
};
|
|
76
|
+
const isAccordionGroupProps = (props) => {
|
|
77
|
+
return validateAccordionGroupProps(props);
|
|
78
|
+
};
|
|
44
79
|
const AccordionGroup = ({
|
|
45
80
|
singleExpand = false,
|
|
46
81
|
bottomSpacing = spacingMd,
|
|
@@ -55,5 +90,7 @@ const AccordionGroup = ({
|
|
|
55
90
|
}) });
|
|
56
91
|
};
|
|
57
92
|
export {
|
|
58
|
-
AccordionGroup as default
|
|
93
|
+
AccordionGroup as default,
|
|
94
|
+
isAccordionGroupProps,
|
|
95
|
+
validateAccordionGroupProps
|
|
59
96
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
|
-
import "
|
|
4
|
-
import "../../
|
|
5
|
-
import "../../
|
|
3
|
+
import "../../index-DsGNddb9.js";
|
|
4
|
+
import "../../props-7dcsjRUx.js";
|
|
5
|
+
import "../../styled-KMaLUC7W.js";
|
|
6
6
|
import "../../SizeTypes-Ck_RdzIf.js";
|
|
7
|
+
import "../../Spacing-BzNNxYMI.js";
|
|
7
8
|
import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
8
|
-
import {
|
|
9
|
+
import { b, c, d, B, i, p, s, a, t, v } from "../../index-DbvqYPrV.js";
|
|
9
10
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
b as BadgeAppearanceColor,
|
|
12
|
+
c as badgeAppearances,
|
|
13
|
+
d as badgeSizes,
|
|
14
|
+
B as default,
|
|
15
|
+
i as isBadgeProps,
|
|
16
|
+
p as primaryBadgeAppearance,
|
|
17
|
+
s as secondaryBadgeAppearance,
|
|
18
|
+
a as successBadgeAppearance,
|
|
19
|
+
t as tertiaryBadgeAppearance,
|
|
20
|
+
v as validateBadgeProps
|
|
12
21
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { IconName } from '@vfde-react/inline-icon-library/IconName';
|
|
2
2
|
import { HTMLAttributes } from 'react';
|
|
3
3
|
import { PatternProps } from '../../foundations/PatternProps';
|
|
4
|
-
import { ObjectColor } from '../../foundations/
|
|
4
|
+
import { ObjectColor } from '../../foundations/types/ObjectColor';
|
|
5
5
|
import { mediumSize, smallSize } from '../../foundations/types/SizeTypes';
|
|
6
|
-
|
|
7
|
-
export
|
|
6
|
+
export declare const primaryBadgeAppearance = "primary";
|
|
7
|
+
export declare const secondaryBadgeAppearance = "secondary";
|
|
8
|
+
export declare const tertiaryBadgeAppearance = "tertiary";
|
|
9
|
+
export declare const successBadgeAppearance = "success";
|
|
10
|
+
export type BadgeAppearance = typeof primaryBadgeAppearance | typeof secondaryBadgeAppearance | typeof tertiaryBadgeAppearance | typeof successBadgeAppearance;
|
|
11
|
+
export type BadgeSize = typeof smallSize | typeof mediumSize;
|
|
8
12
|
export declare const BadgeAppearanceColor: Record<BadgeAppearance, ObjectColor>;
|
|
9
13
|
export interface BadgeProps extends PatternProps, HTMLAttributes<HTMLSpanElement> {
|
|
10
14
|
/**
|
|
11
15
|
* Pin component's name from string to the concrete name
|
|
12
16
|
*/
|
|
13
17
|
component?: 'Badge';
|
|
14
|
-
/**
|
|
15
|
-
* Can be used on darker backgrounds by setting to `dark`
|
|
16
|
-
*/
|
|
17
|
-
theme?: Theme;
|
|
18
18
|
/**
|
|
19
19
|
* Support for several different appearances with their own background colors
|
|
20
20
|
*/
|
|
@@ -22,9 +22,13 @@ export interface BadgeProps extends PatternProps, HTMLAttributes<HTMLSpanElement
|
|
|
22
22
|
/**
|
|
23
23
|
* Supports two sizes: small and medium
|
|
24
24
|
*/
|
|
25
|
-
size?:
|
|
25
|
+
size?: BadgeSize;
|
|
26
26
|
/**
|
|
27
27
|
* Specify a system icon name to be displayed to the left of content. All system icons are listed here: https://www.vodafone.de/simplicity/icons/
|
|
28
28
|
*/
|
|
29
29
|
icon?: IconName;
|
|
30
|
+
/**
|
|
31
|
+
* Children are mandatory and must be a string
|
|
32
|
+
*/
|
|
33
|
+
children: string;
|
|
30
34
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { BadgeAppearance, BadgeProps, BadgeSize } from './props';
|
|
2
|
+
export declare const badgeAppearances: BadgeAppearance[];
|
|
3
|
+
export declare const badgeSizes: BadgeSize[];
|
|
4
|
+
export declare const validateBadgeProps: (props: unknown) => boolean;
|
|
5
|
+
export declare const isBadgeProps: (props: unknown) => props is BadgeProps;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { c as spacingSm, s as spacingMd } from "../../Spacing-
|
|
3
|
+
import { c as spacingSm, s as spacingMd } from "../../Spacing-BzNNxYMI.js";
|
|
4
4
|
import { t as textBodyMd, a as textBodySm } from "../../TextBodySize-BcZR9mh2.js";
|
|
5
5
|
import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
6
6
|
import styled from "styled-components";
|
|
@@ -8,9 +8,10 @@ import { getBodySize } from "../../foundations/token/getBodySize/index.js";
|
|
|
8
8
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
9
9
|
import { getFontWeight } from "../../foundations/token/getFontWeight/index.js";
|
|
10
10
|
import { getTextColor } from "../../foundations/token/getTextColor/index.js";
|
|
11
|
-
import {
|
|
12
|
-
import { a as colorTextNeutral } from "../../TextColor-
|
|
13
|
-
import {
|
|
11
|
+
import { a as fontWeightBold, b as fontWeightLight, f as fontWeightRegular } from "../../FontWeight-C2pGs7aR.js";
|
|
12
|
+
import { a as colorTextNeutral } from "../../TextColor-BXVMXUVE.js";
|
|
13
|
+
import { f as filterProps } from "../../filterProps-CK_4l1QP.js";
|
|
14
|
+
import { p as pTagName, d as divTagName, c as spanTagName, k as strongTagName, m as supTagName } from "../../tags-CixnzWW0.js";
|
|
14
15
|
const BodyStyled = styled.p.withConfig({
|
|
15
16
|
shouldForwardProp: filterProps(),
|
|
16
17
|
displayName: "BodyStyled",
|
|
@@ -59,6 +60,38 @@ const BodyStyled = styled.p.withConfig({
|
|
|
59
60
|
const bodyAlignLeft = "left";
|
|
60
61
|
const bodyAlignCenter = "center";
|
|
61
62
|
const bodyAlignRight = "right";
|
|
63
|
+
const bodySizes = [textBodyMd, textBodySm];
|
|
64
|
+
const bodyTags = [pTagName, divTagName, spanTagName, strongTagName, supTagName];
|
|
65
|
+
const bodyAligns = ["left", "center", "right"];
|
|
66
|
+
const bodyWeights = [fontWeightLight, fontWeightRegular, fontWeightBold];
|
|
67
|
+
const validateBodyProps = (props) => {
|
|
68
|
+
if (!props || typeof props !== "object") {
|
|
69
|
+
return false;
|
|
70
|
+
}
|
|
71
|
+
const bodyProps = props;
|
|
72
|
+
if (!bodyProps.component || bodyProps.component !== "Body") {
|
|
73
|
+
return false;
|
|
74
|
+
}
|
|
75
|
+
if (bodyProps.size !== void 0 && !bodySizes.includes(bodyProps.size)) {
|
|
76
|
+
return false;
|
|
77
|
+
}
|
|
78
|
+
if (bodyProps.weight !== void 0 && !bodyWeights.includes(bodyProps.weight)) {
|
|
79
|
+
return false;
|
|
80
|
+
}
|
|
81
|
+
if (bodyProps.align !== void 0 && !bodyAligns.includes(bodyProps.align)) {
|
|
82
|
+
return false;
|
|
83
|
+
}
|
|
84
|
+
if (bodyProps.tag !== void 0 && !bodyTags.includes(bodyProps.tag)) {
|
|
85
|
+
return false;
|
|
86
|
+
}
|
|
87
|
+
if (bodyProps.children === void 0) {
|
|
88
|
+
return false;
|
|
89
|
+
}
|
|
90
|
+
return true;
|
|
91
|
+
};
|
|
92
|
+
const isBodyProps = (props) => {
|
|
93
|
+
return validateBodyProps(props);
|
|
94
|
+
};
|
|
62
95
|
const Body = ({
|
|
63
96
|
tag = "p",
|
|
64
97
|
bottomSpacing,
|
|
@@ -73,5 +106,11 @@ export {
|
|
|
73
106
|
bodyAlignCenter,
|
|
74
107
|
bodyAlignLeft,
|
|
75
108
|
bodyAlignRight,
|
|
76
|
-
|
|
109
|
+
bodyAligns,
|
|
110
|
+
bodySizes,
|
|
111
|
+
bodyTags,
|
|
112
|
+
bodyWeights,
|
|
113
|
+
Body as default,
|
|
114
|
+
isBodyProps,
|
|
115
|
+
validateBodyProps
|
|
77
116
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
import { PatternProps } from '../../foundations/PatternProps';
|
|
3
3
|
import { divTagName, pTagName, spanTagName, strongTagName, supTagName } from '../../foundations/tags';
|
|
4
|
-
import { FontWeight } from '../../foundations/
|
|
5
|
-
import { TextBodySize } from '../../foundations/
|
|
4
|
+
import { FontWeight } from '../../foundations/types/FontWeight';
|
|
5
|
+
import { TextBodySize } from '../../foundations/types/TextBodySize';
|
|
6
6
|
import { Theme } from '../../foundations/types/Theme';
|
|
7
7
|
export type BodyTags = typeof pTagName | typeof divTagName | typeof spanTagName | typeof strongTagName | typeof supTagName;
|
|
8
8
|
export declare const bodyAlignLeft = "left";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FontWeight } from '../../foundations/types/FontWeight';
|
|
2
|
+
import { BodyAlign, BodyProps, BodyTags } from './props';
|
|
3
|
+
export declare const bodySizes: string[];
|
|
4
|
+
export declare const bodyTags: BodyTags[];
|
|
5
|
+
export declare const bodyAligns: BodyAlign[];
|
|
6
|
+
export declare const bodyWeights: FontWeight[];
|
|
7
|
+
export declare const validateBodyProps: (props: unknown) => boolean;
|
|
8
|
+
export declare const isBodyProps: (props: unknown) => props is BodyProps;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useRef, useState, useEffect } from "react";
|
|
4
4
|
import Container from "../Container/index.js";
|
|
5
|
-
import { s as spacingMd, b as spacingNone } from "../../Spacing-
|
|
5
|
+
import { s as spacingMd, b as spacingNone } from "../../Spacing-BzNNxYMI.js";
|
|
6
6
|
import styled from "styled-components";
|
|
7
|
-
import { a as CardStyled } from "../../styled-
|
|
7
|
+
import { a as CardStyled } from "../../styled-DVjoxeUH.js";
|
|
8
8
|
import { getBorderRadius } from "../../foundations/token/getBorderRadius/index.js";
|
|
9
9
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
10
10
|
import { a as borderRadiusNone } from "../../BorderRadius-ClUShVLu.js";
|
|
11
|
-
import {
|
|
11
|
+
import { f as filterProps } from "../../filterProps-CK_4l1QP.js";
|
|
12
12
|
const bottomBarExtraPadding = 100;
|
|
13
13
|
const BottomBarStyled = styled(CardStyled).withConfig({
|
|
14
14
|
shouldForwardProp: filterProps(),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSObject } from 'styled-components';
|
|
2
|
-
import { ObjectColor } from '../../foundations/token/types/ObjectColor';
|
|
3
2
|
import { ButtonAppearances } from '../../foundations/types/ButtonAppearances';
|
|
3
|
+
import { ObjectColor } from '../../foundations/types/ObjectColor';
|
|
4
4
|
export declare const ButtonAppearanceColor: Record<ButtonAppearances, ObjectColor>;
|
|
5
5
|
export declare const getButtonAppearance: (appearance: ButtonAppearances) => CSSObject;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { B as ButtonAsLink, g as getButtonIcon } from "../../index-
|
|
3
|
+
import { B as ButtonAsLink, g as getButtonIcon } from "../../index-57OYMpaG.js";
|
|
4
|
+
import { c, a, b, f, e, d } from "../../index-57OYMpaG.js";
|
|
4
5
|
import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
5
|
-
import { B as ButtonStyled } from "../../styled-
|
|
6
|
-
const buttonFullWidth = "full";
|
|
7
|
-
const buttonAutoWidth = "auto";
|
|
6
|
+
import { B as ButtonStyled } from "../../styled-DzMg6QNT.js";
|
|
8
7
|
const isButtonAsLinkProp = (props) => {
|
|
9
8
|
return props.href !== void 0;
|
|
10
9
|
};
|
|
@@ -18,7 +17,11 @@ const Button = (props) => {
|
|
|
18
17
|
] });
|
|
19
18
|
};
|
|
20
19
|
export {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
c as buttonAppearances,
|
|
21
|
+
a as buttonAutoWidth,
|
|
22
|
+
b as buttonFullWidth,
|
|
23
|
+
f as buttonWidthBehaviors,
|
|
24
|
+
Button as default,
|
|
25
|
+
e as isButtonProps,
|
|
26
|
+
d as validateButtonProps
|
|
24
27
|
};
|
|
@@ -2,7 +2,6 @@ import { ButtonHTMLAttributes } from 'react';
|
|
|
2
2
|
import { PatternProps } from '../../foundations/PatternProps';
|
|
3
3
|
import { ButtonAppearances } from '../../foundations/types/ButtonAppearances';
|
|
4
4
|
import { default as PositionedIconInterface } from '../../foundations/types/PositionedIconInterface';
|
|
5
|
-
import { Theme } from '../../foundations/types/Theme';
|
|
6
5
|
export declare const buttonFullWidth = "full";
|
|
7
6
|
export declare const buttonAutoWidth = "auto";
|
|
8
7
|
export type ButtonWidthBehavior = typeof buttonFullWidth | typeof buttonAutoWidth;
|
|
@@ -11,10 +10,6 @@ export interface ButtonSharedProps {
|
|
|
11
10
|
* Supports different button appearances
|
|
12
11
|
*/
|
|
13
12
|
appearance?: ButtonAppearances;
|
|
14
|
-
/**
|
|
15
|
-
* Can be used on darker backgrounds by setting to 'dark'
|
|
16
|
-
*/
|
|
17
|
-
theme?: Theme;
|
|
18
13
|
/**
|
|
19
14
|
* Supports different width behaviors
|
|
20
15
|
*/
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ButtonAppearances } from '../../foundations/types/ButtonAppearances';
|
|
2
|
+
import { ButtonProps } from './props';
|
|
3
|
+
export declare const buttonAppearances: ButtonAppearances;
|
|
4
|
+
export declare const buttonWidthBehaviors: readonly ["full", "auto"];
|
|
5
|
+
export declare const validateButtonProps: (props: unknown) => props is ButtonProps;
|
|
6
|
+
export declare const isButtonProps: (props: unknown) => props is ButtonProps;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
|
-
import { B } from "../../index-
|
|
3
|
+
import { h, B, i, v } from "../../index-57OYMpaG.js";
|
|
4
4
|
import "../../hooks/useLinkComponent/index.js";
|
|
5
|
-
import "../../filterProps-
|
|
5
|
+
import "../../filterProps-CK_4l1QP.js";
|
|
6
6
|
import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
7
|
+
import "../../styled-CgZsARxO.js";
|
|
7
8
|
export {
|
|
8
|
-
|
|
9
|
+
h as buttonWidthBehaviors,
|
|
10
|
+
B as default,
|
|
11
|
+
i as isButtonAsLinkProps,
|
|
12
|
+
v as validateButtonAsLinkProps
|
|
9
13
|
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ButtonAsLinkProps } from './props';
|
|
2
|
+
export declare const buttonWidthBehaviors: readonly ["full", "auto"];
|
|
3
|
+
export declare const validateButtonAsLinkProps: (props: unknown) => props is ButtonAsLinkProps;
|
|
4
|
+
export declare const isButtonAsLinkProps: (props: unknown) => props is ButtonAsLinkProps;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|