@vodafone_de/brix-components 7.1.6 → 7.1.8
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/{HeadingSize-CfCRn3Lh.js → HeadingSize-CqqUYZWV.js} +2 -2
- package/dist/TableHead-C2zQ4jce.js +132 -0
- package/dist/TableWrapper-C8SpplcL.js +25 -0
- package/dist/components/Accordion/index.js +2 -2
- package/dist/components/AccordionGroup/index.js +1 -1
- package/dist/components/Badge/index.js +3 -3
- package/dist/components/Body/index.js +1 -1
- package/dist/components/BottomBar/index.js +2 -2
- package/dist/components/Button/index.js +2 -2
- package/dist/components/ButtonAsLink/index.js +2 -2
- package/dist/components/ButtonGroup/index.js +1 -1
- package/dist/components/Card/index.js +2 -2
- package/dist/components/Carousel/index.js +5 -5
- package/dist/components/Checkbox/index.js +2 -2
- package/dist/components/CheckboxGroup/index.js +2 -2
- package/dist/components/Collapsible/index.js +1 -1
- package/dist/components/ColorSwatch/index.js +2 -2
- package/dist/components/ColorSwatchGroup/index.js +3 -3
- package/dist/components/ConsentMessage/index.js +3 -3
- package/dist/components/Container/index.js +2 -2
- package/dist/components/DateInput/index.js +2 -2
- package/dist/components/DemoBox/index.js +8 -2
- package/dist/components/Dialog/index.js +2 -2
- package/dist/components/DiscoveryCard/index.js +12 -11
- package/dist/components/DiscoveryCardGroup/index.js +1 -1
- package/dist/components/Divider/index.js +1 -1
- package/dist/components/Fieldset/index.js +1 -1
- package/dist/components/FilterGroup/index.js +3 -3
- package/dist/components/Flex/index.js +2 -2
- package/dist/components/FlexItem/index.js +1 -1
- package/dist/components/FootnoteContent/index.js +1 -1
- package/dist/components/FootnoteLink/index.js +1 -1
- package/dist/components/Form/index.js +1 -1
- package/dist/components/FormElement/index.js +1 -1
- package/dist/components/FormHelperStatusIcon/index.js +1 -1
- package/dist/components/GoogleMap/index.js +1 -1
- package/dist/components/Grid/index.js +1 -1
- package/dist/components/GridItem/index.js +4 -3
- package/dist/components/Heading/index.js +3 -3
- package/dist/components/HifiIcon/index.js +1 -1
- package/dist/components/IconButton/index.js +3 -3
- package/dist/components/IconSnippet/index.js +3 -3
- package/dist/components/Image/index.js +1 -1
- package/dist/components/ImageHeader/index.js +4 -4
- package/dist/components/InfoBanner/index.js +3 -3
- package/dist/components/InlineIcon/index.js +1 -1
- package/dist/components/InlineLink/index.js +1 -1
- package/dist/components/Input/index.js +1 -1
- package/dist/components/Label/index.js +1 -1
- package/dist/components/Legend/index.js +2 -12
- package/dist/components/Link/index.js +2 -2
- package/dist/components/LinkAsButton/index.js +1 -1
- package/dist/components/LinkList/index.js +1 -1
- package/dist/components/LinkListItem/index.js +4 -4
- package/dist/components/LoadingSpinner/index.js +2 -2
- package/dist/components/LocalStyle/index.js +2 -2
- package/dist/components/MediaText/index.js +5 -5
- package/dist/components/Notification/index.js +3 -3
- package/dist/components/OpenTextFootnoteAdapter/index.js +2 -2
- package/dist/components/Overlay/index.js +1 -1
- package/dist/components/PickerGroup/index.js +4 -4
- package/dist/components/Price/index.js +2 -2
- package/dist/components/ProductCard/index.js +4 -4
- package/dist/components/QuickLinkList/index.js +3 -3
- package/dist/components/RadioGroup/index.js +1 -1
- package/dist/components/Rating/index.js +11 -10
- package/dist/components/ResponsiveImage/index.js +1 -1
- package/dist/components/RichText/index.js +1 -1
- package/dist/components/RichtTextContentful/index.js +2 -2
- package/dist/components/ScreenreaderOnly/index.js +14 -3
- package/dist/components/SearchInput/index.js +4 -4
- package/dist/components/SelectInput/index.js +2 -2
- package/dist/components/Stepper/index.js +1 -1
- package/dist/components/SuggestInput/index.js +5 -4
- package/dist/components/Switch/index.js +2 -2
- package/dist/components/TabGroup/index.js +2 -2
- package/dist/components/Table/TableContext.d.ts +12 -0
- package/dist/components/Table/components/TableBody.d.ts +4 -0
- package/dist/components/Table/components/TableCell.d.ts +4 -0
- package/dist/components/Table/components/TableFoot.d.ts +4 -0
- package/dist/components/Table/components/TableHead.d.ts +7 -0
- package/dist/components/Table/components/TableWrapper.d.ts +4 -0
- package/dist/components/Table/index.d.ts +8 -0
- package/dist/components/Table/index.js +13 -0
- package/dist/components/Table/props.d.ts +30 -0
- package/dist/components/Table/styled.d.ts +8 -0
- package/dist/components/TabularPrice/index.js +2 -2
- package/dist/components/TextList/index.js +2 -2
- package/dist/components/Textarea/index.js +2 -2
- package/dist/components/TimeInput/index.js +2 -2
- package/dist/components/Tray/index.js +2 -2
- package/dist/contentful/index.js +11 -10
- package/dist/contentful/live-preview-inspector/index.js +1 -1
- package/dist/contentful/live-preview-renderer/index.js +1 -1
- package/dist/contentful/renderer/index.js +1 -1
- package/dist/{cssVars-C3-c3zhv.js → cssVars-CR3xqdPx.js} +1 -1
- package/dist/filterProps-BWnAPYBL.js +17 -0
- package/dist/foundations/GlobalStyle/index.js +1 -1
- package/dist/{index-M27FMM9r.js → index-ByPSWRQ0.js} +3 -3
- package/dist/{index-DXRuQeDl.js → index-CHzok6W_.js} +3 -3
- package/dist/{index-7A9g1r9L.js → index-CifS-Z_9.js} +74 -3
- package/dist/{index-BjtnAuPr.js → index-DLvMM1Dq.js} +2 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +176 -166
- package/dist/{mapContentToComponents-BobPnbKM.js → mapContentToComponents-DLxIwtHo.js} +11 -10
- package/dist/screenreaderOnly-Dv2v6MAr.js +11 -0
- package/dist/{styled-RnVr222F.js → styled-B1bxWqtW.js} +1 -1
- package/dist/{styled-SllFJc7o.js → styled-BBG87P4U.js} +3 -3
- package/dist/{styled-B-_SmQSA.js → styled-BBO2jrba.js} +1 -1
- package/dist/{styled-D8a-ap4J.js → styled-BKWEE3dx.js} +1 -1
- package/dist/{styled-BTBLpB_G.js → styled-BQGCfF-s.js} +1 -1
- package/dist/{styled-jl0239KS.js → styled-BXtzJJFu.js} +1 -1
- package/dist/{styled-DJWrbsIZ.js → styled-BYYivuzh.js} +1 -1
- package/dist/{styled-1OrCdMDT.js → styled-CE_Y6O4R.js} +1 -1
- package/dist/styled-CH1kr8ZR.js +14 -0
- package/dist/{styled-Djetw1lK.js → styled-Cz2kpbgE.js} +3 -3
- package/dist/{styled-CPNO3vN5.js → styled-DGMsuBML.js} +1 -1
- package/dist/{styled-q7r_5eaz.js → styled-Dgv3RBlg.js} +1 -1
- package/dist/{styled-VAsSnb5y.js → styled-Dmb8-99g.js} +1 -1
- package/dist/{styled-CW4e5Qa3.js → styled-Dr-tPBqx.js} +1 -1
- package/dist/{styled-U9du2n1i.js → styled-Du4LgXoA.js} +1 -1
- package/dist/{styled-CyZvsdJs.js → styled-O5mL4jlL.js} +1 -1
- package/dist/{styled-DOK4C5Ml.js → styled-VuUKI7PE.js} +1 -1
- package/package.json +1 -1
- package/dist/filterProps-CTn92eZw.js +0 -17
- package/dist/index-B2VrT4fo.js +0 -24
|
@@ -3,7 +3,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { s as spacingNone } from "../../Spacing-BMQelJYr.js";
|
|
4
4
|
import styled from "styled-components";
|
|
5
5
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
6
|
-
import { a as filterProps } from "../../filterProps-
|
|
6
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
7
7
|
const FormStyled = styled.form.withConfig({
|
|
8
8
|
shouldForwardProp: filterProps(),
|
|
9
9
|
displayName: "FormStyled",
|
|
@@ -5,7 +5,7 @@ import { getBodySize } from "../../foundations/token/getBodySize/index.js";
|
|
|
5
5
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
6
6
|
import { getOpacity } from "../../foundations/token/getOpacity/index.js";
|
|
7
7
|
import { a as opacityDisabled } from "../../Opacity-smkGiwsf.js";
|
|
8
|
-
import { a as filterProps } from "../../filterProps-
|
|
8
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
9
9
|
const FormElementStyled = styled.div.withConfig({
|
|
10
10
|
shouldForwardProp: filterProps(),
|
|
11
11
|
displayName: "FormElementStyled",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { b as iconSizeSm } from "../../props-7dcsjRUx.js";
|
|
4
|
-
import "../../styled-
|
|
4
|
+
import "../../styled-B1bxWqtW.js";
|
|
5
5
|
import styled from "styled-components";
|
|
6
6
|
import { I as IconLoader } from "../../index-C3dW-7e_.js";
|
|
7
7
|
import forcedColors from "../../foundations/media-query/forcedColors/index.js";
|
|
@@ -15,7 +15,7 @@ import { f as colorBorderSubtle } from "../../BorderColor-CYdSW9dg.js";
|
|
|
15
15
|
import { b as borderRadiusMd, a as borderRadiusNone } from "../../BorderRadius-ClUShVLu.js";
|
|
16
16
|
import { d as borderWidthSm } from "../../BorderWidth-eg_mz82k.js";
|
|
17
17
|
import { c as cornerStraight } from "../../CornerStyle-JEbGNArR.js";
|
|
18
|
-
import { a as filterProps } from "../../filterProps-
|
|
18
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
19
19
|
const MapInner = ({
|
|
20
20
|
setMap,
|
|
21
21
|
children
|
|
@@ -3,7 +3,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { createContext } from "react";
|
|
4
4
|
import { d as divTagName, u as ulTagName, o as olTagName } from "../../tags-38kBhOn6.js";
|
|
5
5
|
import { a as spacingMd } from "../../Spacing-BMQelJYr.js";
|
|
6
|
-
import { G as GridStyled } from "../../styled-
|
|
6
|
+
import { G as GridStyled } from "../../styled-DGMsuBML.js";
|
|
7
7
|
import { i as isObject, h as hasMatchingComponentName, a as isBottomSpacing } from "../../isObject-cuWKq2kY.js";
|
|
8
8
|
const gridTags = [divTagName, ulTagName, olTagName];
|
|
9
9
|
const gridAligns = ["left", "center", "right"];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useContext } from "react";
|
|
4
|
-
import { d as divTagName, l as liTagName, n as navTagName, m as mainTagName, g as sectionTagName, i as asideTagName, j as articleTagName, u as ulTagName } from "../../tags-38kBhOn6.js";
|
|
4
|
+
import { d as divTagName, l as liTagName, n as navTagName, m as mainTagName, g as sectionTagName, i as asideTagName, j as articleTagName, u as ulTagName, o as olTagName } from "../../tags-38kBhOn6.js";
|
|
5
5
|
import { validateGridColSpan, GridContext } from "../Grid/index.js";
|
|
6
|
-
import { G as GridItemStyled } from "../../styled-
|
|
6
|
+
import { G as GridItemStyled } from "../../styled-Cz2kpbgE.js";
|
|
7
7
|
import { i as isObject, h as hasMatchingComponentName } from "../../isObject-cuWKq2kY.js";
|
|
8
8
|
const gridItemTags = [divTagName, liTagName, navTagName, mainTagName, sectionTagName, asideTagName, articleTagName];
|
|
9
9
|
const gridItemAligns = ["left", "center", "right"];
|
|
@@ -40,12 +40,13 @@ const isGridItemProps = (props) => {
|
|
|
40
40
|
};
|
|
41
41
|
const GridItem = ({
|
|
42
42
|
sm = 12,
|
|
43
|
+
tag = divTagName,
|
|
43
44
|
...props
|
|
44
45
|
}) => {
|
|
45
46
|
const gridTag = useContext(GridContext).tag;
|
|
46
47
|
const gridSpacing = useContext(GridContext).spacing;
|
|
47
48
|
const gridAutoLayout = useContext(GridContext).autoLayout;
|
|
48
|
-
return /* @__PURE__ */ jsx(GridItemStyled, { ...props, as: gridTag === ulTagName ? liTagName :
|
|
49
|
+
return /* @__PURE__ */ jsx(GridItemStyled, { ...props, as: gridTag === ulTagName || gridTag === olTagName ? liTagName : tag, spacing: gridSpacing, sm, ...gridAutoLayout, children: props.children });
|
|
49
50
|
};
|
|
50
51
|
export {
|
|
51
52
|
GridItem as default,
|
|
@@ -3,11 +3,11 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import FootnoteLink from "../FootnoteLink/index.js";
|
|
4
4
|
import { a as spacingMd } from "../../Spacing-BMQelJYr.js";
|
|
5
5
|
import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
6
|
-
import { H as HeadingStyled } from "../../styled-
|
|
7
|
-
import { a, h } from "../../styled-
|
|
6
|
+
import { H as HeadingStyled } from "../../styled-Dmb8-99g.js";
|
|
7
|
+
import { a, h } from "../../styled-Dmb8-99g.js";
|
|
8
8
|
import { a as h1TagName, b as h2TagName, h as h3TagName, c as h4TagName, e as h5TagName, f as h6TagName, d as divTagName, s as spanTagName, p as pTagName } from "../../tags-38kBhOn6.js";
|
|
9
9
|
import { b as fontWeightLight, f as fontWeightRegular, a as fontWeightBold } from "../../FontWeight-C2pGs7aR.js";
|
|
10
|
-
import { d as textHeadingXl, c as textHeadingLg,
|
|
10
|
+
import { d as textHeadingXl, c as textHeadingLg, t as textHeadingMd, b as textHeadingSm, a as textHeadingXs } from "../../HeadingSize-CqqUYZWV.js";
|
|
11
11
|
import { i as isObject, h as hasMatchingComponentName, a as isBottomSpacing } from "../../isObject-cuWKq2kY.js";
|
|
12
12
|
const headingSizes = [textHeadingXl, textHeadingLg, textHeadingMd, textHeadingSm, textHeadingXs];
|
|
13
13
|
const headlingAligns = ["left", "center"];
|
|
@@ -3,7 +3,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import styled from "styled-components";
|
|
4
4
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
5
5
|
import { a as spacingMd } from "../../Spacing-BMQelJYr.js";
|
|
6
|
-
import { a as filterProps } from "../../filterProps-
|
|
6
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
7
7
|
import { g as getCssVar } from "../../getCssVar-BP6T9pFM.js";
|
|
8
8
|
const IconStyled = styled.img.withConfig({
|
|
9
9
|
shouldForwardProp: filterProps(),
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { I as IconLoader } from "../../index-C3dW-7e_.js";
|
|
4
4
|
import { b as iconSizeSm } from "../../props-7dcsjRUx.js";
|
|
5
|
-
import "../../styled-
|
|
5
|
+
import "../../styled-B1bxWqtW.js";
|
|
6
6
|
import styled from "styled-components";
|
|
7
7
|
import { s as shadow28 } from "../../shadow-u158mzuN.js";
|
|
8
8
|
import { getBorderRadius } from "../../foundations/token/getBorderRadius/index.js";
|
|
@@ -13,10 +13,10 @@ import { getOpacity } from "../../foundations/token/getOpacity/index.js";
|
|
|
13
13
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
14
14
|
import { b as borderRadiusMd, c as borderRadiusFull } from "../../BorderRadius-ClUShVLu.js";
|
|
15
15
|
import { c as borderWidthSelected } from "../../BorderWidth-eg_mz82k.js";
|
|
16
|
-
import { b as buttonHeight, p as primaryAppearance } from "../../styled-
|
|
16
|
+
import { b as buttonHeight, p as primaryAppearance } from "../../styled-Dgv3RBlg.js";
|
|
17
17
|
import { a as opacityDisabled } from "../../Opacity-smkGiwsf.js";
|
|
18
18
|
import { b as spacingXs, a as spacingMd } from "../../Spacing-BMQelJYr.js";
|
|
19
|
-
import { a as filterProps } from "../../filterProps-
|
|
19
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
20
20
|
import { g as getCssVar } from "../../getCssVar-BP6T9pFM.js";
|
|
21
21
|
import { g as getButtonAppearance, B as ButtonAppearanceColor } from "../../ButtonAppearanceHelper-D2SlSoU8.js";
|
|
22
22
|
const iconButtonShapeSquare = "square";
|
|
@@ -3,17 +3,17 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import Body from "../Body/index.js";
|
|
4
4
|
import Heading from "../Heading/index.js";
|
|
5
5
|
import { d as iconSizeLg, g as iconSize3xl, b as iconSizeSm } from "../../props-7dcsjRUx.js";
|
|
6
|
-
import "../../styled-
|
|
6
|
+
import "../../styled-B1bxWqtW.js";
|
|
7
7
|
import InlineLink from "../InlineLink/index.js";
|
|
8
8
|
import Link from "../Link/index.js";
|
|
9
|
-
import { R as RichText } from "../../index-
|
|
9
|
+
import { R as RichText } from "../../index-CifS-Z_9.js";
|
|
10
10
|
import { d as divTagName } from "../../tags-38kBhOn6.js";
|
|
11
11
|
import { c as spacingSm, a as spacingMd, s as spacingNone, b as spacingXs } from "../../Spacing-BMQelJYr.js";
|
|
12
12
|
import styled from "styled-components";
|
|
13
13
|
import { I as IconLoader } from "../../index-C3dW-7e_.js";
|
|
14
14
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
15
15
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
16
|
-
import { a as filterProps } from "../../filterProps-
|
|
16
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
17
17
|
const iconSnippetSizeSmall = "sm";
|
|
18
18
|
const iconSnippetSizeLarge = "lg";
|
|
19
19
|
const iconSnippetSize3Xl = "3xl";
|
|
@@ -5,7 +5,7 @@ import { getBorderRadius } from "../../foundations/token/getBorderRadius/index.j
|
|
|
5
5
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
6
6
|
import { b as borderRadiusMd, a as borderRadiusNone } from "../../BorderRadius-ClUShVLu.js";
|
|
7
7
|
import { c as cornerStraight } from "../../CornerStyle-JEbGNArR.js";
|
|
8
|
-
import { a as filterProps } from "../../filterProps-
|
|
8
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
9
9
|
const objectFitContain = "contain";
|
|
10
10
|
const objectFitCover = "cover";
|
|
11
11
|
const objectFitNone = "none";
|
|
@@ -4,8 +4,8 @@ import Body from "../Body/index.js";
|
|
|
4
4
|
import Button from "../Button/index.js";
|
|
5
5
|
import Container from "../Container/index.js";
|
|
6
6
|
import Heading from "../Heading/index.js";
|
|
7
|
-
import { P as Price, b as priceSizeSm } from "../../index-
|
|
8
|
-
import { R as RichText } from "../../index-
|
|
7
|
+
import { P as Price, b as priceSizeSm } from "../../index-DLvMM1Dq.js";
|
|
8
|
+
import { R as RichText } from "../../index-CifS-Z_9.js";
|
|
9
9
|
import { b as fontWeightLight } from "../../FontWeight-C2pGs7aR.js";
|
|
10
10
|
import { m as mediumSize } from "../../SizeTypes-Ck_RdzIf.js";
|
|
11
11
|
import { a as spacingMd, c as spacingSm, d as spacingXl, b as spacingXs, e as spacing2Xs, s as spacingNone } from "../../Spacing-BMQelJYr.js";
|
|
@@ -21,8 +21,8 @@ import { getBodySize } from "../../foundations/token/getBodySize/index.js";
|
|
|
21
21
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
22
22
|
import { b as colorBackgroundOverlay } from "../../BackgroundColor-DSOSZvNi.js";
|
|
23
23
|
import { t as textBodyMd } from "../../TextBodySize-BcZR9mh2.js";
|
|
24
|
-
import { a as flexOrientationVertical } from "../../styled-
|
|
25
|
-
import { a as headingAlignCenter } from "../../styled-
|
|
24
|
+
import { a as flexOrientationVertical } from "../../styled-O5mL4jlL.js";
|
|
25
|
+
import { a as headingAlignCenter } from "../../styled-Dmb8-99g.js";
|
|
26
26
|
const imageHeaderVariantFull = "full";
|
|
27
27
|
const imageHeaderVariantSplit = "split";
|
|
28
28
|
const imageHeaderPositionRight = "right";
|
|
@@ -4,9 +4,9 @@ import Button from "../Button/index.js";
|
|
|
4
4
|
import Heading from "../Heading/index.js";
|
|
5
5
|
import Icon from "../Icon/index.js";
|
|
6
6
|
import { d as iconSizeLg } from "../../props-7dcsjRUx.js";
|
|
7
|
-
import "../../styled-
|
|
7
|
+
import "../../styled-B1bxWqtW.js";
|
|
8
8
|
import { f as fontWeightRegular } from "../../FontWeight-C2pGs7aR.js";
|
|
9
|
-
import {
|
|
9
|
+
import { a as textHeadingXs } from "../../HeadingSize-CqqUYZWV.js";
|
|
10
10
|
import { a as spacingMd, s as spacingNone } from "../../Spacing-BMQelJYr.js";
|
|
11
11
|
import styled from "styled-components";
|
|
12
12
|
import forcedColors from "../../foundations/media-query/forcedColors/index.js";
|
|
@@ -17,7 +17,7 @@ import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
|
17
17
|
import { a as colorBackgroundSubtle, e as colorBackgroundBrand } from "../../BackgroundColor-DSOSZvNi.js";
|
|
18
18
|
import { c as colorObjectNeutral } from "../../ObjectColor-0RAzLGI5.js";
|
|
19
19
|
import { g as getForegroundColor } from "../../colorUtils-lb0oJttx.js";
|
|
20
|
-
import { a as filterProps } from "../../filterProps-
|
|
20
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
21
21
|
const InfoBannerContainerStyled = styled.div.withConfig({
|
|
22
22
|
shouldForwardProp: filterProps(),
|
|
23
23
|
displayName: "InfoBannerContainerStyled",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
3
|
import { l as inlineIconModeStroke } from "../../props-7dcsjRUx.js";
|
|
4
4
|
import { I, f, i, g, h, j, d, c, b, e, a, k } from "../../props-7dcsjRUx.js";
|
|
5
|
-
import { I as InlineIconStyled } from "../../styled-
|
|
5
|
+
import { I as InlineIconStyled } from "../../styled-B1bxWqtW.js";
|
|
6
6
|
const InlineIcon = ({
|
|
7
7
|
className,
|
|
8
8
|
alt = "",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useLinkComponent } from "../../hooks/useLinkComponent/index.js";
|
|
4
|
-
import { f as filterPropsForUnstyledComponent } from "../../filterProps-
|
|
4
|
+
import { f as filterPropsForUnstyledComponent } from "../../filterProps-BWnAPYBL.js";
|
|
5
5
|
import { s as sanitizeLinkProps } from "../../sanitizeLinkProps-D2Kkovy1.js";
|
|
6
6
|
import styled from "styled-components";
|
|
7
7
|
import forcedColors from "../../foundations/media-query/forcedColors/index.js";
|
|
@@ -9,7 +9,7 @@ import { a as spacingMd, b as spacingXs } from "../../Spacing-BMQelJYr.js";
|
|
|
9
9
|
import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
10
10
|
import { a as inputStateError } from "../../props-DDpgcryb.js";
|
|
11
11
|
import { i } from "../../props-DDpgcryb.js";
|
|
12
|
-
import { I as InputWrapperStyled, a as InputStyled } from "../../styled-
|
|
12
|
+
import { I as InputWrapperStyled, a as InputStyled } from "../../styled-BQGCfF-s.js";
|
|
13
13
|
const Input = forwardRef(({
|
|
14
14
|
uid,
|
|
15
15
|
status,
|
|
@@ -4,7 +4,7 @@ import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTex
|
|
|
4
4
|
import styled from "styled-components";
|
|
5
5
|
import { getBodySize } from "../../foundations/token/getBodySize/index.js";
|
|
6
6
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
7
|
-
import { a as filterProps } from "../../filterProps-
|
|
7
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
8
8
|
const LabelStyled = styled.label.withConfig({
|
|
9
9
|
shouldForwardProp: filterProps(),
|
|
10
10
|
displayName: "LabelStyled",
|
|
@@ -3,18 +3,8 @@ import { jsx, Fragment } from "react/jsx-runtime";
|
|
|
3
3
|
import Body from "../Body/index.js";
|
|
4
4
|
import Heading from "../Heading/index.js";
|
|
5
5
|
import IconSnippet, { iconSnippetAlignCenter } from "../IconSnippet/index.js";
|
|
6
|
-
import { R as RichText } from "../../index-
|
|
7
|
-
import
|
|
8
|
-
const LegendStyled = styled.legend.withConfig({
|
|
9
|
-
displayName: "LegendStyled",
|
|
10
|
-
componentId: "sc-1vyrzt5-0"
|
|
11
|
-
})({
|
|
12
|
-
/**
|
|
13
|
-
* minimal hack to disable the wired position of a legend in a fieldset
|
|
14
|
-
*/
|
|
15
|
-
all: "unset",
|
|
16
|
-
width: "100%"
|
|
17
|
-
});
|
|
6
|
+
import { R as RichText } from "../../index-CifS-Z_9.js";
|
|
7
|
+
import { L as LegendStyled } from "../../styled-CH1kr8ZR.js";
|
|
18
8
|
const Legend = ({
|
|
19
9
|
contents,
|
|
20
10
|
...props
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { L as LinkAsButton, p as primaryAppearance, a as LinkStyled, g as getLinkIcon } from "../../index-
|
|
3
|
+
import { L as LinkAsButton, p as primaryAppearance, a as LinkStyled, g as getLinkIcon } from "../../index-ByPSWRQ0.js";
|
|
4
4
|
import { useLinkComponent } from "../../hooks/useLinkComponent/index.js";
|
|
5
|
-
import { f as filterPropsForUnstyledComponent } from "../../filterProps-
|
|
5
|
+
import { f as filterPropsForUnstyledComponent } from "../../filterProps-BWnAPYBL.js";
|
|
6
6
|
import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
7
7
|
import { s as sanitizeLinkProps } from "../../sanitizeLinkProps-D2Kkovy1.js";
|
|
8
8
|
const isLinkAsButtonProp = (props) => {
|
|
@@ -5,7 +5,7 @@ import { u as ulTagName, l as liTagName } from "../../tags-38kBhOn6.js";
|
|
|
5
5
|
import { s as spacingNone } from "../../Spacing-BMQelJYr.js";
|
|
6
6
|
import { L as LinkListStyled, b as LinkListLiStyled, l as linkListVariantRow } from "../../styled-BlHKbHF4.js";
|
|
7
7
|
import { a } from "../../styled-BlHKbHF4.js";
|
|
8
|
-
import { l as linkListItemVariantVertical, a as linkListItemVariantHorizontal } from "../../styled-
|
|
8
|
+
import { l as linkListItemVariantVertical, a as linkListItemVariantHorizontal } from "../../styled-BBG87P4U.js";
|
|
9
9
|
const LinkList = ({
|
|
10
10
|
items,
|
|
11
11
|
variant,
|
|
@@ -3,15 +3,15 @@ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
|
3
3
|
import Badge from "../Badge/index.js";
|
|
4
4
|
import { I as IconLoader } from "../../index-C3dW-7e_.js";
|
|
5
5
|
import { c as iconSizeMd } from "../../props-7dcsjRUx.js";
|
|
6
|
-
import "../../styled-
|
|
6
|
+
import "../../styled-B1bxWqtW.js";
|
|
7
7
|
import { s as spanTagName } from "../../tags-38kBhOn6.js";
|
|
8
8
|
import { s as smallSize } from "../../SizeTypes-Ck_RdzIf.js";
|
|
9
9
|
import { s as spacingNone } from "../../Spacing-BMQelJYr.js";
|
|
10
10
|
import { useLinkComponent } from "../../hooks/useLinkComponent/index.js";
|
|
11
|
-
import { f as filterPropsForUnstyledComponent } from "../../filterProps-
|
|
11
|
+
import { f as filterPropsForUnstyledComponent } from "../../filterProps-BWnAPYBL.js";
|
|
12
12
|
import { s as sanitizeLinkProps } from "../../sanitizeLinkProps-D2Kkovy1.js";
|
|
13
|
-
import { L as LinkListItemElevatedStyled, b as LinkListItemStyled, c as LinkListItemButtonStyled, d as LinkListItemAnchorStyled, e as LinkListItemContentWrapperStyled, a as linkListItemVariantHorizontal, f as LinkListItemContentStyled, g as LinkListItemLabelWrapperStyled, h as LinkListItemVerticalContentStyled, i as LinkListItemChevronStyled, j as LinkListLabelStyled, k as LinkListSuffixStyled } from "../../styled-
|
|
14
|
-
import { l } from "../../styled-
|
|
13
|
+
import { L as LinkListItemElevatedStyled, b as LinkListItemStyled, c as LinkListItemButtonStyled, d as LinkListItemAnchorStyled, e as LinkListItemContentWrapperStyled, a as linkListItemVariantHorizontal, f as LinkListItemContentStyled, g as LinkListItemLabelWrapperStyled, h as LinkListItemVerticalContentStyled, i as LinkListItemChevronStyled, j as LinkListLabelStyled, k as LinkListSuffixStyled } from "../../styled-BBG87P4U.js";
|
|
14
|
+
import { l } from "../../styled-BBG87P4U.js";
|
|
15
15
|
const isLinkListItemAsButtonProp = (props) => {
|
|
16
16
|
return props.href === void 0;
|
|
17
17
|
};
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useEffect } from "react";
|
|
4
4
|
import { createPortal } from "react-dom";
|
|
5
|
-
import
|
|
6
|
-
import { L as LoadingSpinnerSVGStyled, a as LoadingSpinnerPathXsStyled, b as LoadingSpinnerPathOuter3Styled, c as LoadingSpinnerPathOuter2Styled, d as LoadingSpinnerPathOuter1Styled, e as LoadingSpinnerPathCenterStyled, f as LoadingSpinnerContainerStyled, g as LoadingSpinnerContentStyled, h as LoadingSpinnerLabelStyled, i as LoadingSpinnerChildrenStyled } from "../../styled-
|
|
5
|
+
import ScreenreaderOnly from "../ScreenreaderOnly/index.js";
|
|
6
|
+
import { L as LoadingSpinnerSVGStyled, a as LoadingSpinnerPathXsStyled, b as LoadingSpinnerPathOuter3Styled, c as LoadingSpinnerPathOuter2Styled, d as LoadingSpinnerPathOuter1Styled, e as LoadingSpinnerPathCenterStyled, f as LoadingSpinnerContainerStyled, g as LoadingSpinnerContentStyled, h as LoadingSpinnerLabelStyled, i as LoadingSpinnerChildrenStyled } from "../../styled-Du4LgXoA.js";
|
|
7
7
|
const LoadingSpinnerSVG = ({
|
|
8
8
|
size = "lg",
|
|
9
9
|
...props
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import styled, { css } from "styled-components";
|
|
4
|
-
import { a as cssVarsString } from "../../cssVars-
|
|
5
|
-
import { a as filterProps } from "../../filterProps-
|
|
4
|
+
import { a as cssVarsString } from "../../cssVars-CR3xqdPx.js";
|
|
5
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
6
6
|
const LocalStyleStyled = styled.div.withConfig({
|
|
7
7
|
shouldForwardProp: filterProps(),
|
|
8
8
|
displayName: "LocalStyleStyled",
|
|
@@ -6,20 +6,20 @@ import FlexItem from "../FlexItem/index.js";
|
|
|
6
6
|
import Heading from "../Heading/index.js";
|
|
7
7
|
import Image, { aspectRatio16_9 } from "../Image/index.js";
|
|
8
8
|
import Link from "../Link/index.js";
|
|
9
|
-
import { R as RichText } from "../../index-
|
|
9
|
+
import { R as RichText } from "../../index-CifS-Z_9.js";
|
|
10
10
|
import YoutubeVideo from "../YoutubeVideo/index.js";
|
|
11
11
|
import { p as pTagName, u as ulTagName, d as divTagName, l as liTagName } from "../../tags-38kBhOn6.js";
|
|
12
12
|
import { f as fontWeightRegular } from "../../FontWeight-C2pGs7aR.js";
|
|
13
|
-
import { b as textHeadingSm,
|
|
13
|
+
import { b as textHeadingSm, a as textHeadingXs } from "../../HeadingSize-CqqUYZWV.js";
|
|
14
14
|
import { a as spacingMd, e as spacing2Xs, c as spacingSm, s as spacingNone } from "../../Spacing-BMQelJYr.js";
|
|
15
15
|
import { u as useViewport } from "../../index-G2mpsxF7.js";
|
|
16
16
|
import styled from "styled-components";
|
|
17
17
|
import { v as viewport } from "../../index-Ck2bCrhT.js";
|
|
18
18
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
19
19
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
20
|
-
import { a as filterProps } from "../../filterProps-
|
|
21
|
-
import { h as headingAlignLeft } from "../../styled-
|
|
22
|
-
import { a as flexOrientationVertical, f as flexOrientationHorizontal, b as flexJustifyStart } from "../../styled-
|
|
20
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
21
|
+
import { h as headingAlignLeft } from "../../styled-Dmb8-99g.js";
|
|
22
|
+
import { a as flexOrientationVertical, f as flexOrientationHorizontal, b as flexJustifyStart } from "../../styled-O5mL4jlL.js";
|
|
23
23
|
const mediaTextPositionTop = "top";
|
|
24
24
|
const mediaTextPositionLeft = "left";
|
|
25
25
|
const mediaTextPositionRight = "right";
|
|
@@ -7,9 +7,9 @@ import Flex from "../Flex/index.js";
|
|
|
7
7
|
import Heading from "../Heading/index.js";
|
|
8
8
|
import { I as IconLoader } from "../../index-C3dW-7e_.js";
|
|
9
9
|
import { b as iconSizeSm } from "../../props-7dcsjRUx.js";
|
|
10
|
-
import "../../styled-
|
|
10
|
+
import "../../styled-B1bxWqtW.js";
|
|
11
11
|
import Link from "../Link/index.js";
|
|
12
|
-
import { R as RichText } from "../../index-
|
|
12
|
+
import { R as RichText } from "../../index-CifS-Z_9.js";
|
|
13
13
|
import { getBorderColor } from "../../foundations/token/getBorderColor/index.js";
|
|
14
14
|
import { getObjectColor } from "../../foundations/token/getObjectColor/index.js";
|
|
15
15
|
import { e as colorBorderCritical, g as colorBorderWarning, d as colorBorderSuccess, k as colorBorderInformation } from "../../BorderColor-CYdSW9dg.js";
|
|
@@ -27,7 +27,7 @@ import { b as borderRadiusMd } from "../../BorderRadius-ClUShVLu.js";
|
|
|
27
27
|
import { g as borderWidthMd } from "../../BorderWidth-eg_mz82k.js";
|
|
28
28
|
import { d as colorIconInverse } from "../../IconColor-CtC9WUgr.js";
|
|
29
29
|
import { a as spacingMd, c as spacingSm } from "../../Spacing-BMQelJYr.js";
|
|
30
|
-
import { a as filterProps } from "../../filterProps-
|
|
30
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
31
31
|
const notificationStatusVariants = {
|
|
32
32
|
info: {
|
|
33
33
|
borderColor: getBorderColor(colorBorderInformation),
|
|
@@ -5,8 +5,8 @@ import AccordionGroup from "../AccordionGroup/index.js";
|
|
|
5
5
|
import Container from "../Container/index.js";
|
|
6
6
|
import FootnoteContent from "../FootnoteContent/index.js";
|
|
7
7
|
import Heading from "../Heading/index.js";
|
|
8
|
-
import { R as RichText } from "../../index-
|
|
9
|
-
import { b as textHeadingSm, c as textHeadingLg } from "../../HeadingSize-
|
|
8
|
+
import { R as RichText } from "../../index-CifS-Z_9.js";
|
|
9
|
+
import { b as textHeadingSm, c as textHeadingLg } from "../../HeadingSize-CqqUYZWV.js";
|
|
10
10
|
import { h as h3TagName } from "../../tags-38kBhOn6.js";
|
|
11
11
|
const getFootnoteContent = (content, footnoteContentBacklinkText) => {
|
|
12
12
|
const result = [];
|
|
@@ -3,7 +3,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import styled from "styled-components";
|
|
4
4
|
import { getBackgroundColor } from "../../foundations/token/getBackgroundColor/index.js";
|
|
5
5
|
import { d as colorBackgroundOverlayStatic } from "../../BackgroundColor-DSOSZvNi.js";
|
|
6
|
-
import { a as filterProps } from "../../filterProps-
|
|
6
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
7
7
|
const overlayAppearancePrimary = "primary";
|
|
8
8
|
const overlayAppearanceSecondary = "secondary";
|
|
9
9
|
const OverlayStyled = styled.div.withConfig({
|
|
@@ -8,14 +8,14 @@ import Grid from "../Grid/index.js";
|
|
|
8
8
|
import Badge from "../Badge/index.js";
|
|
9
9
|
import ColorSwatch from "../ColorSwatch/index.js";
|
|
10
10
|
import { c as iconSizeMd } from "../../props-7dcsjRUx.js";
|
|
11
|
-
import "../../styled-
|
|
11
|
+
import "../../styled-B1bxWqtW.js";
|
|
12
12
|
import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
13
13
|
import styled from "styled-components";
|
|
14
14
|
import { I as IconLoader } from "../../index-C3dW-7e_.js";
|
|
15
15
|
import Image, { aspectRatio1_1 } from "../Image/index.js";
|
|
16
16
|
import { v as viewport } from "../../index-Ck2bCrhT.js";
|
|
17
17
|
import GridItem from "../GridItem/index.js";
|
|
18
|
-
import { s as screenreaderOnly } from "../../
|
|
18
|
+
import { s as screenreaderOnly } from "../../screenreaderOnly-Dv2v6MAr.js";
|
|
19
19
|
import forcedColors from "../../foundations/media-query/forcedColors/index.js";
|
|
20
20
|
import { getBackgroundColor } from "../../foundations/token/getBackgroundColor/index.js";
|
|
21
21
|
import { getBorderColor } from "../../foundations/token/getBorderColor/index.js";
|
|
@@ -32,9 +32,9 @@ import { a as borderWidthFocus, c as borderWidthSelected } from "../../BorderWid
|
|
|
32
32
|
import { f as fontWeightRegular, a as fontWeightBold } from "../../FontWeight-C2pGs7aR.js";
|
|
33
33
|
import { o as opacityOverlay } from "../../Opacity-smkGiwsf.js";
|
|
34
34
|
import { a as colorTextNeutral } from "../../TextColor-DsntmDNw.js";
|
|
35
|
-
import { a as filterProps } from "../../filterProps-
|
|
35
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
36
36
|
import { getHeadingSize } from "../../foundations/token/getHeadingSize/index.js";
|
|
37
|
-
import {
|
|
37
|
+
import { a as textHeadingXs } from "../../HeadingSize-CqqUYZWV.js";
|
|
38
38
|
import { getBodySize } from "../../foundations/token/getBodySize/index.js";
|
|
39
39
|
import { t as textBodyMd } from "../../TextBodySize-BcZR9mh2.js";
|
|
40
40
|
const PickerElementIconStyled = styled(IconLoader).withConfig({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
|
-
import "
|
|
4
|
-
import { c, P, g, f, p, a, e, d, b } from "../../index-
|
|
3
|
+
import "../ScreenreaderOnly/index.js";
|
|
4
|
+
import { c, P, g, f, p, a, e, d, b } from "../../index-DLvMM1Dq.js";
|
|
5
5
|
import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
6
6
|
export {
|
|
7
7
|
c as createScreenReaderText,
|
|
@@ -7,17 +7,17 @@ import ColorSwatchGroup from "../ColorSwatchGroup/index.js";
|
|
|
7
7
|
import Heading from "../Heading/index.js";
|
|
8
8
|
import Image, { aspectRatio1_1 } from "../Image/index.js";
|
|
9
9
|
import { d as iconSizeLg } from "../../props-7dcsjRUx.js";
|
|
10
|
-
import "../../styled-
|
|
10
|
+
import "../../styled-B1bxWqtW.js";
|
|
11
11
|
import Link from "../Link/index.js";
|
|
12
|
-
import { P as Price, d as priceSizeMd, g as priceAlignCenter, a as priceOrientationVertical } from "../../index-
|
|
12
|
+
import { P as Price, d as priceSizeMd, g as priceAlignCenter, a as priceOrientationVertical } from "../../index-DLvMM1Dq.js";
|
|
13
13
|
import { a as fontWeightBold } from "../../FontWeight-C2pGs7aR.js";
|
|
14
|
-
import {
|
|
14
|
+
import { t as textHeadingMd } from "../../HeadingSize-CqqUYZWV.js";
|
|
15
15
|
import { a as spacingMd, s as spacingNone } from "../../Spacing-BMQelJYr.js";
|
|
16
16
|
import styled from "styled-components";
|
|
17
17
|
import Card from "../Card/index.js";
|
|
18
18
|
import Icon from "../Icon/index.js";
|
|
19
19
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
20
|
-
import { a as headingAlignCenter } from "../../styled-
|
|
20
|
+
import { a as headingAlignCenter } from "../../styled-Dmb8-99g.js";
|
|
21
21
|
const ProductCardStyled = styled(Card).withConfig({
|
|
22
22
|
displayName: "ProductCardStyled",
|
|
23
23
|
componentId: "sc-1ps8gys-0"
|
|
@@ -5,9 +5,9 @@ import GridItem from "../GridItem/index.js";
|
|
|
5
5
|
import { u as useViewport, v as viewportLg } from "../../index-G2mpsxF7.js";
|
|
6
6
|
import Icon from "../Icon/index.js";
|
|
7
7
|
import { d as iconSizeLg } from "../../props-7dcsjRUx.js";
|
|
8
|
-
import "../../styled-
|
|
8
|
+
import "../../styled-B1bxWqtW.js";
|
|
9
9
|
import { useLinkComponent } from "../../hooks/useLinkComponent/index.js";
|
|
10
|
-
import { f as filterPropsForUnstyledComponent } from "../../filterProps-
|
|
10
|
+
import { f as filterPropsForUnstyledComponent } from "../../filterProps-BWnAPYBL.js";
|
|
11
11
|
import { s as sanitizeLinkProps } from "../../sanitizeLinkProps-D2Kkovy1.js";
|
|
12
12
|
import styled from "styled-components";
|
|
13
13
|
import { B as ButtonAppearanceColor } from "../../ButtonAppearanceHelper-D2SlSoU8.js";
|
|
@@ -21,7 +21,7 @@ import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
|
21
21
|
import { getTextColor } from "../../foundations/token/getTextColor/index.js";
|
|
22
22
|
import { c as colorBorderFocus, a as colorBorderNeutral } from "../../BorderColor-CYdSW9dg.js";
|
|
23
23
|
import { a as borderWidthFocus } from "../../BorderWidth-eg_mz82k.js";
|
|
24
|
-
import {
|
|
24
|
+
import { a as textHeadingXs } from "../../HeadingSize-CqqUYZWV.js";
|
|
25
25
|
import { a as colorTextNeutral } from "../../TextColor-DsntmDNw.js";
|
|
26
26
|
const QuickLinkAnchorStyled = styled.span.withConfig({
|
|
27
27
|
displayName: "QuickLinkAnchorStyled",
|
|
@@ -20,7 +20,7 @@ import { c as borderRadiusFull } from "../../BorderRadius-ClUShVLu.js";
|
|
|
20
20
|
import { a as borderWidthFocus } from "../../BorderWidth-eg_mz82k.js";
|
|
21
21
|
import { d as colorObjectSelected, b as colorObjectInverse } from "../../ObjectColor-0RAzLGI5.js";
|
|
22
22
|
import { a as opacityDisabled } from "../../Opacity-smkGiwsf.js";
|
|
23
|
-
import { a as filterProps } from "../../filterProps-
|
|
23
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
24
24
|
const RadioContainer = styled(Flex).withConfig({
|
|
25
25
|
shouldForwardProp: filterProps(["disabled"]),
|
|
26
26
|
displayName: "RadioContainer",
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useEffect, useRef } from "react";
|
|
4
|
-
import Legend from "../Legend/index.js";
|
|
5
4
|
import styled from "styled-components";
|
|
6
5
|
import { v as viewport } from "../../index-Ck2bCrhT.js";
|
|
7
|
-
import { a as filterProps } from "../../filterProps-
|
|
8
|
-
import { s as screenreaderOnly } from "../../
|
|
6
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
7
|
+
import { s as screenreaderOnly } from "../../screenreaderOnly-Dv2v6MAr.js";
|
|
9
8
|
import { getBorderColor } from "../../foundations/token/getBorderColor/index.js";
|
|
10
9
|
import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js";
|
|
11
10
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
@@ -17,10 +16,14 @@ import { c as colorBorderFocus, j as colorBorderSelected, a as colorBorderNeutra
|
|
|
17
16
|
import { a as borderWidthFocus } from "../../BorderWidth-eg_mz82k.js";
|
|
18
17
|
import { d as colorObjectSelected } from "../../ObjectColor-0RAzLGI5.js";
|
|
19
18
|
import { b as spacingXs } from "../../Spacing-BMQelJYr.js";
|
|
20
|
-
|
|
19
|
+
import { L as LegendStyled } from "../../styled-CH1kr8ZR.js";
|
|
20
|
+
const StarSvg = () => {
|
|
21
|
+
return /* @__PURE__ */ jsx(StarSvgStyled, { viewBox: "0 0 26 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx("path", { d: "M1 9.95223L9.26911 8.58599L12.8296 1L16.6847 8.44108L25 9.48408L19.1147 15.449L20.6911 23.6799L13.199 19.9252L5.85987 23.9682L7.11465 15.6831L1 9.95223Z", fill: "white", stroke: "#7E7E7E", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
22
|
+
};
|
|
23
|
+
const StarSvgStyled = styled.svg.withConfig({
|
|
21
24
|
shouldForwardProp: filterProps(),
|
|
22
|
-
displayName: "
|
|
23
|
-
componentId: "sc-
|
|
25
|
+
displayName: "StarSvgStyled",
|
|
26
|
+
componentId: "sc-iheyat-0"
|
|
24
27
|
})({
|
|
25
28
|
display: "inline-block",
|
|
26
29
|
width: "24px",
|
|
@@ -30,7 +33,6 @@ const StarStyled = styled.svg.withConfig({
|
|
|
30
33
|
height: "30.624px"
|
|
31
34
|
})
|
|
32
35
|
});
|
|
33
|
-
const Star = () => /* @__PURE__ */ jsx(StarStyled, { viewBox: "0 0 26 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx("path", { d: "M1 9.95223L9.26911 8.58599L12.8296 1L16.6847 8.44108L25 9.48408L19.1147 15.449L20.6911 23.6799L13.199 19.9252L5.85987 23.9682L7.11465 15.6831L1 9.95223Z", fill: "white", stroke: "#7E7E7E", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
34
36
|
const RatingFieldsetStyled = styled.fieldset.withConfig({
|
|
35
37
|
shouldForwardProp: filterProps(),
|
|
36
38
|
displayName: "RatingFieldsetStyled",
|
|
@@ -107,7 +109,6 @@ const Rating = ({
|
|
|
107
109
|
groupName,
|
|
108
110
|
uid,
|
|
109
111
|
component: _component,
|
|
110
|
-
legend,
|
|
111
112
|
...props
|
|
112
113
|
}) => {
|
|
113
114
|
const [internalValue, setInternalValue] = useState(value ?? 0);
|
|
@@ -140,13 +141,13 @@ const Rating = ({
|
|
|
140
141
|
};
|
|
141
142
|
const ref = useRef(null);
|
|
142
143
|
return /* @__PURE__ */ jsxs(RatingFieldsetStyled, { ...props, uid, ref, children: [
|
|
143
|
-
|
|
144
|
+
/* @__PURE__ */ jsx(LegendStyled, { ...props.legend }),
|
|
144
145
|
/* @__PURE__ */ jsx(StarsWrapperStyled, { className, role: "radiogroup", children: [...Array(5)].map((_, index) => {
|
|
145
146
|
const starValue = index + 1;
|
|
146
147
|
const isInHoverRange = hoverValue !== null && starValue <= hoverValue;
|
|
147
148
|
return /* @__PURE__ */ jsxs(StarLabelStyled, { selected: starValue <= internalValue, isInHoverRange, htmlFor: `${uid}-star-${starValue}`, onMouseEnter: () => handleMouseEnter(index), onMouseLeave: handleMouseLeave, "aria-label": `${starValue} von 5 Sternen`, children: [
|
|
148
149
|
/* @__PURE__ */ jsx(HiddenRadioStyled, { type: "radio", id: `${uid}-star-${starValue}`, name: groupName || uid, value: starValue, checked: starValue === internalValue, onChange: handleChange, onClick: () => handleClick(starValue) }),
|
|
149
|
-
/* @__PURE__ */ jsx(
|
|
150
|
+
/* @__PURE__ */ jsx(StarSvg, {})
|
|
150
151
|
] }, `star-${starValue}-${uid}`);
|
|
151
152
|
}) })
|
|
152
153
|
] });
|
|
@@ -6,7 +6,7 @@ import styled from "styled-components";
|
|
|
6
6
|
import { getBorderRadius } from "../../foundations/token/getBorderRadius/index.js";
|
|
7
7
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
8
8
|
import { b as borderRadiusMd, a as borderRadiusNone } from "../../BorderRadius-ClUShVLu.js";
|
|
9
|
-
import { a as filterProps } from "../../filterProps-
|
|
9
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
10
10
|
const ResponsiveImagePictureStyled = styled.picture.withConfig({
|
|
11
11
|
shouldForwardProp: filterProps(),
|
|
12
12
|
displayName: "ResponsiveImagePictureStyled",
|