@vodafone_de/brix-components 7.0.16 → 7.0.17-renderer-57697b3867e4adfde13b8a80cf136da5f498011e
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/{ButtonAppearanceHelper-D7-_vPGW.js → ButtonAppearanceHelper-D2SlSoU8.js} +2 -2
- package/dist/{FontWeight-DEBGHbtO.js → FontWeight-C2pGs7aR.js} +2 -2
- package/dist/{HeadingSize-CfCRn3Lh.js → HeadingSize-C-tsHvxg.js} +2 -2
- package/dist/{ObjectColor-BYFmdKyF.js → ObjectColor-0RAzLGI5.js} +3 -3
- package/dist/Spacing-0myVou-V.js +25 -0
- package/dist/components/Accordion/index.js +7 -8
- package/dist/components/AccordionGroup/index.js +2 -2
- package/dist/components/Badge/index.d.ts +1 -0
- package/dist/components/Badge/index.js +54 -9
- 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.js +3 -3
- package/dist/components/Body/props.d.ts +2 -7
- package/dist/components/BottomBar/index.js +3 -3
- package/dist/components/Button/ButtonAppearanceHelper.d.ts +1 -1
- package/dist/components/Button/index.js +2 -2
- package/dist/components/Button/props.d.ts +0 -5
- package/dist/components/ButtonAsLink/index.js +2 -2
- package/dist/components/ButtonGroup/index.js +2 -2
- package/dist/components/Card/index.js +3 -3
- package/dist/components/Card/props.d.ts +1 -1
- package/dist/components/Carousel/index.js +8 -8
- package/dist/components/Checkbox/index.js +5 -4
- package/dist/components/CheckboxGroup/index.js +3 -3
- package/dist/components/Collapsible/index.js +2 -2
- package/dist/components/ColorSwatch/index.js +5 -4
- package/dist/components/ColorSwatchGroup/index.js +5 -4
- 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 +5 -5
- package/dist/components/DiscoveryCard/index.js +15 -12
- package/dist/components/DiscoveryCardGroup/index.js +2 -2
- package/dist/components/Divider/index.js +1 -24
- package/dist/components/Fieldset/index.js +2 -2
- package/dist/components/FilterGroup/index.js +9 -8
- 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 +2 -2
- package/dist/components/FootnoteLink/index.js +2 -22
- 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 +1 -1
- package/dist/components/FormHelperStatusIcon/index.js +3 -2
- package/dist/components/GoogleMap/index.js +3 -3
- package/dist/components/Grid/index.js +3 -3
- package/dist/components/Grid/props.d.ts +2 -2
- package/dist/components/GridItem/index.js +2 -2
- package/dist/components/Heading/index.d.ts +1 -0
- package/dist/components/Heading/index.js +48 -71
- 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/IconButton/index.js +7 -6
- package/dist/components/IconLoader/index.d.ts +1 -0
- package/dist/components/IconLoader/index.js +6 -655
- 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.js +1 -1
- package/dist/components/ImageHeader/index.js +9 -8
- package/dist/components/InlineIcon/index.d.ts +3 -3
- package/dist/components/InlineIcon/index.js +3 -2
- package/dist/components/InlineLink/index.js +2 -2
- 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.js +2 -2
- package/dist/components/LinkAsButton/index.js +1 -1
- package/dist/components/LinkList/index.js +7 -44
- package/dist/components/LinkList/validate.d.ts +3 -0
- package/dist/components/LinkList/validate.test.d.ts +1 -0
- package/dist/components/LinkListItem/index.js +10 -281
- package/dist/components/LinkListItem/validate.d.ts +3 -0
- package/dist/components/LinkListItem/validate.test.d.ts +1 -0
- package/dist/components/LoadingSpinner/index.js +2 -2
- package/dist/components/LoadingSpinner/styled.d.ts +1 -1
- package/dist/components/MediaText/index.js +9 -8
- package/dist/components/Notification/index.js +9 -8
- package/dist/components/Overlay/index.js +2 -2
- package/dist/components/PickerGroup/index.js +10 -9
- package/dist/components/Price/index.js +2 -2
- package/dist/components/ProductCard/index.js +7 -6
- package/dist/components/QuickLinkList/index.js +5 -5
- package/dist/components/RadioGroup/index.js +4 -4
- package/dist/components/Rating/index.js +4 -4
- 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/RichtTextContentful/getOptions.d.ts +3 -0
- package/dist/components/RichtTextContentful/index.d.ts +5 -0
- package/dist/components/RichtTextContentful/index.js +88 -0
- package/dist/components/RichtTextContentful/props.d.ts +18 -0
- package/dist/components/RichtTextContentful/styled.d.ts +2 -0
- package/dist/components/RichtTextContentful/validate.d.ts +3 -0
- package/dist/components/RichtTextContentful/validate.test.d.ts +1 -0
- package/dist/components/ScreenreaderOnly/index.js +7 -3
- package/dist/components/SearchInput/index.js +7 -7
- package/dist/components/SelectInput/index.js +7 -7
- package/dist/components/Stepper/index.js +5 -5
- package/dist/components/SuggestInput/index.js +9 -8
- package/dist/components/SuggestInput/styled.d.ts +1 -1
- package/dist/components/Switch/index.js +7 -6
- package/dist/components/TabGroup/index.js +10 -9
- package/dist/components/TabularPrice/index.js +2 -2
- package/dist/components/TabularPrice/props.d.ts +1 -1
- package/dist/components/TextList/index.js +4 -3
- package/dist/components/TextList/props.d.ts +3 -3
- package/dist/components/Textarea/index.js +5 -5
- package/dist/components/TimeInput/index.js +6 -6
- package/dist/components/Tray/index.js +5 -5
- package/dist/components/YoutubeVideo/index.js +1 -1
- package/dist/contentful/LegibleContent.d.ts +19 -0
- package/dist/contentful/LegibleContent.test.d.ts +1 -0
- package/dist/contentful/components.d.ts +25 -0
- package/dist/contentful/index.d.ts +1 -0
- package/dist/contentful/index.js +21 -0
- package/dist/contentful/live-preview-inspector/index.d.ts +2 -0
- package/dist/contentful/live-preview-inspector/index.js +7 -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 +19 -0
- package/dist/contentful/live-preview-renderer/props.d.ts +3 -0
- package/dist/contentful/map/MapFunction.d.ts +2 -0
- package/dist/contentful/map/badge.d.ts +4 -0
- package/dist/contentful/map/container.d.ts +4 -0
- package/dist/contentful/map/getContentfulIdentifier.d.ts +2 -0
- package/dist/contentful/map/heading.d.ts +4 -0
- package/dist/contentful/map/icon-loader.d.ts +4 -0
- package/dist/contentful/map/linklist-item.d.ts +4 -0
- package/dist/contentful/map/linklist.d.ts +4 -0
- package/dist/contentful/map/mapContentToComponents.d.ts +3 -0
- package/dist/contentful/map/richtext.d.ts +4 -0
- package/dist/contentful/renderer/index.d.ts +5 -0
- package/dist/contentful/renderer/index.js +17 -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/{filterProps-CWVxE0CX.js → filterProps-CB0JGoSO.js} +1 -1
- package/dist/foundations/GlobalStyle/index.js +1 -1
- package/dist/foundations/PatternProps/index.d.ts +3 -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/foundations/types/SystemIconWithPosition.d.ts +1 -1
- package/dist/hooks/useLinkComponent/index.d.ts +1 -1
- 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-0fUAhmgO.js → index-BJD1suvh.js} +4 -4
- package/dist/{index-D-MALxCt.js → index-CMmLof6B.js} +5 -52
- package/dist/{index-O3M5WWR3.js → index-CSHO9pcK.js} +7 -6
- package/dist/{_5gPlusIcon-B_69VW4X.js → index-DcDPloI7.js} +1277 -582
- package/dist/{index-fUrsG-sk.js → index-DomydEn2.js} +6 -5
- package/dist/index.d.ts +6 -0
- package/dist/index.js +187 -154
- package/dist/isObject-Bbb2TBjj.js +27 -0
- package/dist/mapContentToComponents-BxGaJC4z.js +555 -0
- package/dist/props-7dcsjRUx.js +28 -0
- package/dist/{styled-Cialsyrm.js → styled-BFAtPTvB.js} +3 -3
- package/dist/styled-BJuNvd6N.js +55 -0
- package/dist/styled-BPXuEsz2.js +291 -0
- package/dist/styled-BYWJqRhO.js +69 -0
- package/dist/{styled-BjeQhR2q.js → styled-Bj629yuF.js} +2 -2
- package/dist/{styled-pEnfzi0N.js → styled-BsITNbFE.js} +4 -4
- package/dist/styled-BskCtUtv.js +24 -0
- package/dist/{styled-5HvV3-Na.js → styled-CVxlB_fc.js} +3 -3
- package/dist/{index-Bowvw4hz.js → styled-CWmVti-A.js} +2 -7
- package/dist/styled-CsNBjW5t.js +76 -0
- package/dist/styled-CygKvQne.js +27 -0
- package/dist/{styled-but53bbG.js → styled-DASCTrAH.js} +4 -4
- package/dist/{styled-XEXTZYN5.js → styled-DM4QFHJM.js} +3 -3
- package/dist/{styled-BaShoELC.js → styled-H_1ah08O.js} +3 -28
- package/dist/{styled-FXXyOwNm.js → styled-Px75AtnT.js} +2 -2
- package/dist/styled-anRPS38k.js +901 -0
- package/dist/styled-azLfuJbO.js +47 -0
- package/dist/{styled-wdIN7Rbp.js → styled-jtw611BS.js} +5 -5
- package/dist/{index-DVGqkj9D.js → styled-wrpV2N3Y.js} +15 -20
- package/dist/{tags-D0ExIPLD.js → tags-CBNKIiMa.js} +7 -6
- package/package.json +6 -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
|
};
|
|
@@ -5,9 +5,9 @@ import { getBorderWidth } from "./foundations/token/getBorderWidth/index.js";
|
|
|
5
5
|
import { getHoverColor } from "./foundations/token/getHoverColor/index.js";
|
|
6
6
|
import { getObjectColor } from "./foundations/token/getObjectColor/index.js";
|
|
7
7
|
import { getPressColor } from "./foundations/token/getPressColor/index.js";
|
|
8
|
-
import { c as colorBorderFocus } from "./BorderColor-
|
|
8
|
+
import { c as colorBorderFocus } from "./BorderColor-CYdSW9dg.js";
|
|
9
9
|
import { a as borderWidthFocus, c as borderWidthSelected } from "./BorderWidth-eg_mz82k.js";
|
|
10
|
-
import { c as colorObjectNeutral, a as colorObjectBrand, b as colorObjectInverse } from "./ObjectColor-
|
|
10
|
+
import { c as colorObjectNeutral, a as colorObjectBrand, b as colorObjectInverse } from "./ObjectColor-0RAzLGI5.js";
|
|
11
11
|
import { g as getForegroundColor } from "./colorUtils-lb0oJttx.js";
|
|
12
12
|
const ButtonAppearanceColor = {
|
|
13
13
|
primary: colorObjectBrand,
|
|
@@ -13,9 +13,9 @@ export {
|
|
|
13
13
|
colorObjectInverse as b,
|
|
14
14
|
colorObjectNeutral as c,
|
|
15
15
|
colorObjectSelected as d,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
colorObjectSuccess as e,
|
|
17
|
+
colorObjectAccent as f,
|
|
18
|
+
colorObjectUnselected as g,
|
|
19
19
|
colorObjectCritical as h,
|
|
20
20
|
colorObjectWarning as i,
|
|
21
21
|
colorObjectInformation as j
|
|
@@ -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
|
+
spacingMd as a,
|
|
17
|
+
spacingXs as b,
|
|
18
|
+
spacingSm as c,
|
|
19
|
+
spacing2Xs as d,
|
|
20
|
+
spacingXl as e,
|
|
21
|
+
spacing5Xl as f,
|
|
22
|
+
spacingLg as g,
|
|
23
|
+
spacings as h,
|
|
24
|
+
spacingNone as s
|
|
25
|
+
};
|
|
@@ -2,10 +2,9 @@
|
|
|
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, I as IconLoader } from "../../index-DcDPloI7.js";
|
|
6
|
+
import { c as iconSizeMd } from "../../props-7dcsjRUx.js";
|
|
7
|
+
import "../../styled-H_1ah08O.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";
|
|
@@ -17,12 +16,12 @@ import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index
|
|
|
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 {
|
|
19
|
+
import { f as colorBorderSubtle, c as colorBorderFocus } from "../../BorderColor-CYdSW9dg.js";
|
|
21
20
|
import { f as borderWidthNone, b as borderWidthUnselected, a as borderWidthFocus } from "../../BorderWidth-eg_mz82k.js";
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
21
|
+
import { f as fontWeightRegular, a as fontWeightBold } from "../../FontWeight-C2pGs7aR.js";
|
|
22
|
+
import { a as spacingMd, s as spacingNone, b as spacingXs } from "../../Spacing-0myVou-V.js";
|
|
24
23
|
import { a as colorTextNeutral, f as colorTextBrand } from "../../TextColor-DsntmDNw.js";
|
|
25
|
-
import { a as filterProps } from "../../filterProps-
|
|
24
|
+
import { a as filterProps } from "../../filterProps-CB0JGoSO.js";
|
|
26
25
|
const accordionToggleExpanded = "expanded";
|
|
27
26
|
const accordionToggleCollapsing = "collapsing";
|
|
28
27
|
const accordionToggleCollapsed = "collapsed";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, Fragment } from "react/jsx-runtime";
|
|
3
3
|
import Accordion from "../Accordion/index.js";
|
|
4
|
-
import {
|
|
4
|
+
import { a as spacingMd, s as spacingNone } from "../../Spacing-0myVou-V.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 { a as filterProps } from "../../filterProps-
|
|
8
|
+
import { a as filterProps } from "../../filterProps-CB0JGoSO.js";
|
|
9
9
|
const AccordionGroupSingleExpand = ({
|
|
10
10
|
bottomSpacing = spacingMd,
|
|
11
11
|
...props
|
|
@@ -1,12 +1,57 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import "react/jsx-runtime";
|
|
3
|
-
import "
|
|
4
|
-
import "../../
|
|
5
|
-
import "../../
|
|
6
|
-
import "../../SizeTypes-Ck_RdzIf.js";
|
|
7
|
-
import "../../
|
|
8
|
-
import {
|
|
2
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
|
+
import { e as iconNames, I as IconLoader } from "../../index-DcDPloI7.js";
|
|
4
|
+
import { a as iconSizeXs, b as iconSizeSm } from "../../props-7dcsjRUx.js";
|
|
5
|
+
import "../../styled-H_1ah08O.js";
|
|
6
|
+
import { s as smallSize, m as mediumSize } from "../../SizeTypes-Ck_RdzIf.js";
|
|
7
|
+
import { a as spacingMd } from "../../Spacing-0myVou-V.js";
|
|
8
|
+
import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
9
|
+
import { p as primaryBadgeAppearance, s as secondaryBadgeAppearance, t as tertiaryBadgeAppearance, a as successBadgeAppearance, b as BadgeStyled } from "../../styled-wrpV2N3Y.js";
|
|
10
|
+
import { B } from "../../styled-wrpV2N3Y.js";
|
|
11
|
+
const badgeAppearances = [primaryBadgeAppearance, secondaryBadgeAppearance, tertiaryBadgeAppearance, successBadgeAppearance];
|
|
12
|
+
const badgeSizes = [smallSize, mediumSize];
|
|
13
|
+
const validateBadgeProps = (props) => {
|
|
14
|
+
if (!props || typeof props !== "object") {
|
|
15
|
+
return false;
|
|
16
|
+
}
|
|
17
|
+
const badgeProps = props;
|
|
18
|
+
if (!badgeProps.component || badgeProps.component !== "Badge") {
|
|
19
|
+
return false;
|
|
20
|
+
}
|
|
21
|
+
if (typeof badgeProps.children !== "string") {
|
|
22
|
+
return false;
|
|
23
|
+
}
|
|
24
|
+
if (badgeProps.appearance !== void 0 && !badgeAppearances.includes(badgeProps.appearance)) {
|
|
25
|
+
return false;
|
|
26
|
+
}
|
|
27
|
+
if (badgeProps.size !== void 0 && !badgeSizes.includes(badgeProps.size)) {
|
|
28
|
+
return false;
|
|
29
|
+
}
|
|
30
|
+
if (badgeProps.icon !== void 0 && !iconNames.includes(badgeProps.icon)) {
|
|
31
|
+
return false;
|
|
32
|
+
}
|
|
33
|
+
return true;
|
|
34
|
+
};
|
|
35
|
+
const isBadgeProps = (props) => {
|
|
36
|
+
return validateBadgeProps(props);
|
|
37
|
+
};
|
|
38
|
+
const Badge = ({
|
|
39
|
+
children,
|
|
40
|
+
bottomSpacing = spacingMd,
|
|
41
|
+
...props
|
|
42
|
+
}) => /* @__PURE__ */ jsxs(BadgeStyled, { ...props, bottomSpacing, children: [
|
|
43
|
+
props.icon ? /* @__PURE__ */ jsx(IconLoader, { name: props.icon, size: props.size === smallSize ? iconSizeXs : iconSizeSm }) : null,
|
|
44
|
+
renderInlineRichTextFromOpenText(children)
|
|
45
|
+
] });
|
|
9
46
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
47
|
+
B as BadgeAppearanceColor,
|
|
48
|
+
badgeAppearances,
|
|
49
|
+
badgeSizes,
|
|
50
|
+
Badge as default,
|
|
51
|
+
isBadgeProps,
|
|
52
|
+
primaryBadgeAppearance,
|
|
53
|
+
secondaryBadgeAppearance,
|
|
54
|
+
successBadgeAppearance,
|
|
55
|
+
tertiaryBadgeAppearance,
|
|
56
|
+
validateBadgeProps
|
|
12
57
|
};
|
|
@@ -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,
|
|
3
|
+
import { c as spacingSm, a as spacingMd } from "../../Spacing-0myVou-V.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,9 @@ 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 {
|
|
11
|
+
import { a as fontWeightBold } from "../../FontWeight-C2pGs7aR.js";
|
|
12
12
|
import { a as colorTextNeutral } from "../../TextColor-DsntmDNw.js";
|
|
13
|
-
import { a as filterProps } from "../../filterProps-
|
|
13
|
+
import { a as filterProps } from "../../filterProps-CB0JGoSO.js";
|
|
14
14
|
const BodyStyled = styled.p.withConfig({
|
|
15
15
|
shouldForwardProp: filterProps(),
|
|
16
16
|
displayName: "BodyStyled",
|
|
@@ -1,9 +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/
|
|
6
|
-
import { Theme } from '../../foundations/types/Theme';
|
|
4
|
+
import { FontWeight } from '../../foundations/types/FontWeight';
|
|
5
|
+
import { TextBodySize } from '../../foundations/types/TextBodySize';
|
|
7
6
|
export type BodyTags = typeof pTagName | typeof divTagName | typeof spanTagName | typeof strongTagName | typeof supTagName;
|
|
8
7
|
export declare const bodyAlignLeft = "left";
|
|
9
8
|
export declare const bodyAlignCenter = "center";
|
|
@@ -30,10 +29,6 @@ export interface BodyProps extends PatternProps, HTMLAttributes<HTMLParagraphEle
|
|
|
30
29
|
* Define a html-tag that is used to render Body
|
|
31
30
|
*/
|
|
32
31
|
tag?: BodyTags;
|
|
33
|
-
/**
|
|
34
|
-
* Can be used on darker backgrounds by setting to 'dark'
|
|
35
|
-
*/
|
|
36
|
-
theme?: Theme;
|
|
37
32
|
/** Pin component's name from string to the concrete name */
|
|
38
33
|
component?: 'Body';
|
|
39
34
|
}
|
|
@@ -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 {
|
|
5
|
+
import { a as spacingMd, s as spacingNone } from "../../Spacing-0myVou-V.js";
|
|
6
6
|
import styled from "styled-components";
|
|
7
|
-
import { a as CardStyled } from "../../styled-
|
|
7
|
+
import { a as CardStyled } from "../../styled-CVxlB_fc.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 { a as filterProps } from "../../filterProps-
|
|
11
|
+
import { a as filterProps } from "../../filterProps-CB0JGoSO.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,8 +1,8 @@
|
|
|
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-CSHO9pcK.js";
|
|
4
4
|
import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
5
|
-
import { B as ButtonStyled } from "../../styled-
|
|
5
|
+
import { B as ButtonStyled } from "../../styled-jtw611BS.js";
|
|
6
6
|
const buttonFullWidth = "full";
|
|
7
7
|
const buttonAutoWidth = "auto";
|
|
8
8
|
const isButtonAsLinkProp = (props) => {
|
|
@@ -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
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
|
-
import { B } from "../../index-
|
|
3
|
+
import { B } from "../../index-CSHO9pcK.js";
|
|
4
4
|
import "../../hooks/useLinkComponent/index.js";
|
|
5
|
-
import "../../filterProps-
|
|
5
|
+
import "../../filterProps-CB0JGoSO.js";
|
|
6
6
|
import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
7
7
|
export {
|
|
8
8
|
B as default
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import Button from "../Button/index.js";
|
|
4
4
|
import Flex from "../Flex/index.js";
|
|
5
|
-
import { f as flexOrientationHorizontal, b as flexJustifyStart } from "../../styled-
|
|
5
|
+
import { f as flexOrientationHorizontal, b as flexJustifyStart } from "../../styled-Px75AtnT.js";
|
|
6
6
|
import FlexItem from "../FlexItem/index.js";
|
|
7
|
-
import { c as spacingSm,
|
|
7
|
+
import { c as spacingSm, a as spacingMd } from "../../Spacing-0myVou-V.js";
|
|
8
8
|
import { u as useViewport } from "../../index-DEBP0uAj.js";
|
|
9
9
|
const renderButtons = (buttons, isMobile, isReversed = false) => {
|
|
10
10
|
if (!isMobile && isReversed) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { d as divTagName } from "../../tags-
|
|
4
|
-
import { a as CardStyled } from "../../styled-
|
|
5
|
-
import { C } from "../../styled-
|
|
3
|
+
import { d as divTagName } from "../../tags-CBNKIiMa.js";
|
|
4
|
+
import { a as CardStyled } from "../../styled-CVxlB_fc.js";
|
|
5
|
+
import { C } from "../../styled-CVxlB_fc.js";
|
|
6
6
|
const Card = ({
|
|
7
7
|
children,
|
|
8
8
|
className,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
import { PatternProps } from '../../foundations/PatternProps';
|
|
3
3
|
import { articleTagName, asideTagName, divTagName, mainTagName, navTagName, sectionTagName, spanTagName } from '../../foundations/tags';
|
|
4
|
-
import { BackgroundColor } from '../../foundations/
|
|
4
|
+
import { BackgroundColor } from '../../foundations/types/BackgroundColor';
|
|
5
5
|
import { Theme } from '../../foundations/types/Theme';
|
|
6
6
|
export type CardAppearance = 'primary' | 'secondary';
|
|
7
7
|
export declare const CardAppearanceColor: Record<CardAppearance, BackgroundColor>;
|
|
@@ -3,22 +3,22 @@ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
|
3
3
|
import "@af-utils/scrollend-polyfill";
|
|
4
4
|
import { createContext, useRef, useState, useEffect, useContext, createElement } from "react";
|
|
5
5
|
import { useFocusWithin } from "../../hooks/useFocusWithin/index.js";
|
|
6
|
-
import { l as liTagName, u as ulTagName } from "../../tags-
|
|
7
|
-
import {
|
|
6
|
+
import { l as liTagName, u as ulTagName } from "../../tags-CBNKIiMa.js";
|
|
7
|
+
import { a as spacingMd } from "../../Spacing-0myVou-V.js";
|
|
8
8
|
import styled from "styled-components";
|
|
9
|
-
import { a as CardStyled } from "../../styled-
|
|
10
|
-
import { G as GridStyled } from "../../styled-
|
|
11
|
-
import { G as GridItemStyled } from "../../styled-
|
|
9
|
+
import { a as CardStyled } from "../../styled-CVxlB_fc.js";
|
|
10
|
+
import { G as GridStyled } from "../../styled-Bj629yuF.js";
|
|
11
|
+
import { G as GridItemStyled } from "../../styled-BsITNbFE.js";
|
|
12
12
|
import { v as viewport } from "../../index-Ck2bCrhT.js";
|
|
13
13
|
import { getBorderRadius } from "../../foundations/token/getBorderRadius/index.js";
|
|
14
14
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
15
15
|
import { getObjectColor } from "../../foundations/token/getObjectColor/index.js";
|
|
16
16
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
17
17
|
import { c as borderRadiusFull } from "../../BorderRadius-ClUShVLu.js";
|
|
18
|
-
import { a as colorObjectBrand,
|
|
19
|
-
import { a as filterProps } from "../../filterProps-
|
|
18
|
+
import { a as colorObjectBrand, g as colorObjectUnselected } from "../../ObjectColor-0RAzLGI5.js";
|
|
19
|
+
import { a as filterProps } from "../../filterProps-CB0JGoSO.js";
|
|
20
20
|
import IconButton from "../IconButton/index.js";
|
|
21
|
-
import
|
|
21
|
+
import ScreenreaderOnly from "../ScreenreaderOnly/index.js";
|
|
22
22
|
const getItems = (items, loop) => {
|
|
23
23
|
const normalizedItems = [...items].map((item, index) => ({
|
|
24
24
|
...item,
|
|
@@ -3,7 +3,8 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { N as NotificationErrorIcon } from "../../NotificationErrorIcon-DMnAJgPN.js";
|
|
4
4
|
import { useState, useEffect } from "react";
|
|
5
5
|
import FormHelperMessage from "../FormHelperMessage/index.js";
|
|
6
|
-
import { b as iconSizeSm } from "../../
|
|
6
|
+
import { b as iconSizeSm } from "../../props-7dcsjRUx.js";
|
|
7
|
+
import "../../styled-H_1ah08O.js";
|
|
7
8
|
import { a as inputStateError } from "../../props-DDpgcryb.js";
|
|
8
9
|
import styled from "styled-components";
|
|
9
10
|
import Label from "../Label/index.js";
|
|
@@ -17,12 +18,12 @@ import { getIconColor } from "../../foundations/token/getIconColor/index.js";
|
|
|
17
18
|
import { getObjectColor } from "../../foundations/token/getObjectColor/index.js";
|
|
18
19
|
import { getOpacity } from "../../foundations/token/getOpacity/index.js";
|
|
19
20
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
20
|
-
import { c as colorBorderFocus } from "../../BorderColor-
|
|
21
|
+
import { c as colorBorderFocus } from "../../BorderColor-CYdSW9dg.js";
|
|
21
22
|
import { d as borderRadiusSm } from "../../BorderRadius-ClUShVLu.js";
|
|
22
23
|
import { a as borderWidthFocus } from "../../BorderWidth-eg_mz82k.js";
|
|
23
24
|
import { a as opacityDisabled } from "../../Opacity-smkGiwsf.js";
|
|
24
|
-
import {
|
|
25
|
-
import { a as filterProps } from "../../filterProps-
|
|
25
|
+
import { a as spacingMd } from "../../Spacing-0myVou-V.js";
|
|
26
|
+
import { a as filterProps } from "../../filterProps-CB0JGoSO.js";
|
|
26
27
|
import { g as getCssVar } from "../../getCssVar-BP6T9pFM.js";
|
|
27
28
|
const CheckboxLabelStyled = styled(Label).withConfig({
|
|
28
29
|
shouldForwardProp: filterProps(),
|
|
@@ -3,12 +3,12 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { useState, useEffect, createElement } from "react";
|
|
4
4
|
import Checkbox from "../Checkbox/index.js";
|
|
5
5
|
import Fieldset from "../Fieldset/index.js";
|
|
6
|
-
import {
|
|
6
|
+
import { g as spacingLg, a as spacingMd, s as spacingNone } from "../../Spacing-0myVou-V.js";
|
|
7
7
|
import styled from "styled-components";
|
|
8
|
-
import { F as FlexStyled } from "../../styled-
|
|
8
|
+
import { F as FlexStyled } from "../../styled-Px75AtnT.js";
|
|
9
9
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
10
10
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
11
|
-
import { a as filterProps } from "../../filterProps-
|
|
11
|
+
import { a as filterProps } from "../../filterProps-CB0JGoSO.js";
|
|
12
12
|
const CheckboxGroupStyled = styled(FlexStyled).withConfig({
|
|
13
13
|
shouldForwardProp: filterProps(),
|
|
14
14
|
displayName: "CheckboxGroupStyled",
|
|
@@ -7,8 +7,8 @@ import { a as ease_in_out_sine } from "../../easing-Dm-pO8SY.js";
|
|
|
7
7
|
import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js";
|
|
8
8
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
9
9
|
import { a as borderWidthFocus } from "../../BorderWidth-eg_mz82k.js";
|
|
10
|
-
import {
|
|
11
|
-
import { a as filterProps } from "../../filterProps-
|
|
10
|
+
import { s as spacingNone } from "../../Spacing-0myVou-V.js";
|
|
11
|
+
import { a as filterProps } from "../../filterProps-CB0JGoSO.js";
|
|
12
12
|
const CollapsibleStyled = styled.div.withConfig({
|
|
13
13
|
shouldForwardProp: filterProps(),
|
|
14
14
|
displayName: "CollapsibleStyled",
|
|
@@ -3,13 +3,14 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { useState, useRef, useEffect } from "react";
|
|
4
4
|
import { a as getComputedBackgroundColor, p as parseColorToRgbObject, b as getContrastRatio } from "../../colorUtils-lb0oJttx.js";
|
|
5
5
|
import styled from "styled-components";
|
|
6
|
-
import { c as iconSizeMd } from "../../
|
|
6
|
+
import { c as iconSizeMd } from "../../props-7dcsjRUx.js";
|
|
7
|
+
import "../../styled-H_1ah08O.js";
|
|
7
8
|
import forcedColors from "../../foundations/media-query/forcedColors/index.js";
|
|
8
9
|
import { getBorderColor } from "../../foundations/token/getBorderColor/index.js";
|
|
9
10
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
10
|
-
import { a as colorBorderNeutral } from "../../BorderColor-
|
|
11
|
-
import {
|
|
12
|
-
import { a as filterProps } from "../../filterProps-
|
|
11
|
+
import { a as colorBorderNeutral } from "../../BorderColor-CYdSW9dg.js";
|
|
12
|
+
import { s as spacingNone } from "../../Spacing-0myVou-V.js";
|
|
13
|
+
import { a as filterProps } from "../../filterProps-CB0JGoSO.js";
|
|
13
14
|
import { g as getCssVar } from "../../getCssVar-BP6T9pFM.js";
|
|
14
15
|
const colorSwatchSizeSmall = "sm";
|
|
15
16
|
const colorSwatchSizeMedium = "md";
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import ColorSwatch, { colorSwatchSizeSmall } from "../ColorSwatch/index.js";
|
|
4
|
-
import {
|
|
4
|
+
import { a as spacingMd, d as spacing2Xs } from "../../Spacing-0myVou-V.js";
|
|
5
5
|
import styled from "styled-components";
|
|
6
|
-
import { F as FlexStyled } from "../../styled-
|
|
7
|
-
import { c as iconSizeMd } from "../../
|
|
6
|
+
import { F as FlexStyled } from "../../styled-Px75AtnT.js";
|
|
7
|
+
import { c as iconSizeMd } from "../../props-7dcsjRUx.js";
|
|
8
|
+
import "../../styled-H_1ah08O.js";
|
|
8
9
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
9
|
-
import { a as filterProps } from "../../filterProps-
|
|
10
|
+
import { a as filterProps } from "../../filterProps-CB0JGoSO.js";
|
|
10
11
|
import { g as getCssVar } from "../../getCssVar-BP6T9pFM.js";
|
|
11
12
|
const ColorSwatchListStyled = styled(FlexStyled).withConfig({
|
|
12
13
|
shouldForwardProp: filterProps(),
|
|
@@ -4,14 +4,15 @@ import { useState, useEffect } from "react";
|
|
|
4
4
|
import Body, { bodyAlignCenter } from "../Body/index.js";
|
|
5
5
|
import Button, { buttonAutoWidth } from "../Button/index.js";
|
|
6
6
|
import styled from "styled-components";
|
|
7
|
-
import { B as ButtonStyled, t as tertiaryAppearance } from "../../styled-
|
|
7
|
+
import { B as ButtonStyled, t as tertiaryAppearance } from "../../styled-jtw611BS.js";
|
|
8
8
|
import { v as viewport } from "../../index-Ck2bCrhT.js";
|
|
9
9
|
import { getBackgroundColor } from "../../foundations/token/getBackgroundColor/index.js";
|
|
10
10
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
11
|
-
import { b as colorBackgroundOverlay } from "../../BackgroundColor-
|
|
12
|
-
import {
|
|
13
|
-
import Heading
|
|
14
|
-
import {
|
|
11
|
+
import { b as colorBackgroundOverlay } from "../../BackgroundColor-DSOSZvNi.js";
|
|
12
|
+
import { a as spacingMd, b as spacingXs, s as spacingNone } from "../../Spacing-0myVou-V.js";
|
|
13
|
+
import Heading from "../Heading/index.js";
|
|
14
|
+
import { a as headingAlignCenter } from "../../styled-CsNBjW5t.js";
|
|
15
|
+
import { t as textHeadingXs } from "../../HeadingSize-C-tsHvxg.js";
|
|
15
16
|
const ConsentMessageBackgroundStyled = styled.div.withConfig({
|
|
16
17
|
displayName: "ConsentMessageBackgroundStyled",
|
|
17
18
|
componentId: "sc-gbn604-0"
|