@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.
Files changed (126) hide show
  1. package/dist/{HeadingSize-CfCRn3Lh.js → HeadingSize-CqqUYZWV.js} +2 -2
  2. package/dist/TableHead-C2zQ4jce.js +132 -0
  3. package/dist/TableWrapper-C8SpplcL.js +25 -0
  4. package/dist/components/Accordion/index.js +2 -2
  5. package/dist/components/AccordionGroup/index.js +1 -1
  6. package/dist/components/Badge/index.js +3 -3
  7. package/dist/components/Body/index.js +1 -1
  8. package/dist/components/BottomBar/index.js +2 -2
  9. package/dist/components/Button/index.js +2 -2
  10. package/dist/components/ButtonAsLink/index.js +2 -2
  11. package/dist/components/ButtonGroup/index.js +1 -1
  12. package/dist/components/Card/index.js +2 -2
  13. package/dist/components/Carousel/index.js +5 -5
  14. package/dist/components/Checkbox/index.js +2 -2
  15. package/dist/components/CheckboxGroup/index.js +2 -2
  16. package/dist/components/Collapsible/index.js +1 -1
  17. package/dist/components/ColorSwatch/index.js +2 -2
  18. package/dist/components/ColorSwatchGroup/index.js +3 -3
  19. package/dist/components/ConsentMessage/index.js +3 -3
  20. package/dist/components/Container/index.js +2 -2
  21. package/dist/components/DateInput/index.js +2 -2
  22. package/dist/components/DemoBox/index.js +8 -2
  23. package/dist/components/Dialog/index.js +2 -2
  24. package/dist/components/DiscoveryCard/index.js +12 -11
  25. package/dist/components/DiscoveryCardGroup/index.js +1 -1
  26. package/dist/components/Divider/index.js +1 -1
  27. package/dist/components/Fieldset/index.js +1 -1
  28. package/dist/components/FilterGroup/index.js +3 -3
  29. package/dist/components/Flex/index.js +2 -2
  30. package/dist/components/FlexItem/index.js +1 -1
  31. package/dist/components/FootnoteContent/index.js +1 -1
  32. package/dist/components/FootnoteLink/index.js +1 -1
  33. package/dist/components/Form/index.js +1 -1
  34. package/dist/components/FormElement/index.js +1 -1
  35. package/dist/components/FormHelperStatusIcon/index.js +1 -1
  36. package/dist/components/GoogleMap/index.js +1 -1
  37. package/dist/components/Grid/index.js +1 -1
  38. package/dist/components/GridItem/index.js +4 -3
  39. package/dist/components/Heading/index.js +3 -3
  40. package/dist/components/HifiIcon/index.js +1 -1
  41. package/dist/components/IconButton/index.js +3 -3
  42. package/dist/components/IconSnippet/index.js +3 -3
  43. package/dist/components/Image/index.js +1 -1
  44. package/dist/components/ImageHeader/index.js +4 -4
  45. package/dist/components/InfoBanner/index.js +3 -3
  46. package/dist/components/InlineIcon/index.js +1 -1
  47. package/dist/components/InlineLink/index.js +1 -1
  48. package/dist/components/Input/index.js +1 -1
  49. package/dist/components/Label/index.js +1 -1
  50. package/dist/components/Legend/index.js +2 -12
  51. package/dist/components/Link/index.js +2 -2
  52. package/dist/components/LinkAsButton/index.js +1 -1
  53. package/dist/components/LinkList/index.js +1 -1
  54. package/dist/components/LinkListItem/index.js +4 -4
  55. package/dist/components/LoadingSpinner/index.js +2 -2
  56. package/dist/components/LocalStyle/index.js +2 -2
  57. package/dist/components/MediaText/index.js +5 -5
  58. package/dist/components/Notification/index.js +3 -3
  59. package/dist/components/OpenTextFootnoteAdapter/index.js +2 -2
  60. package/dist/components/Overlay/index.js +1 -1
  61. package/dist/components/PickerGroup/index.js +4 -4
  62. package/dist/components/Price/index.js +2 -2
  63. package/dist/components/ProductCard/index.js +4 -4
  64. package/dist/components/QuickLinkList/index.js +3 -3
  65. package/dist/components/RadioGroup/index.js +1 -1
  66. package/dist/components/Rating/index.js +11 -10
  67. package/dist/components/ResponsiveImage/index.js +1 -1
  68. package/dist/components/RichText/index.js +1 -1
  69. package/dist/components/RichtTextContentful/index.js +2 -2
  70. package/dist/components/ScreenreaderOnly/index.js +14 -3
  71. package/dist/components/SearchInput/index.js +4 -4
  72. package/dist/components/SelectInput/index.js +2 -2
  73. package/dist/components/Stepper/index.js +1 -1
  74. package/dist/components/SuggestInput/index.js +5 -4
  75. package/dist/components/Switch/index.js +2 -2
  76. package/dist/components/TabGroup/index.js +2 -2
  77. package/dist/components/Table/TableContext.d.ts +12 -0
  78. package/dist/components/Table/components/TableBody.d.ts +4 -0
  79. package/dist/components/Table/components/TableCell.d.ts +4 -0
  80. package/dist/components/Table/components/TableFoot.d.ts +4 -0
  81. package/dist/components/Table/components/TableHead.d.ts +7 -0
  82. package/dist/components/Table/components/TableWrapper.d.ts +4 -0
  83. package/dist/components/Table/index.d.ts +8 -0
  84. package/dist/components/Table/index.js +13 -0
  85. package/dist/components/Table/props.d.ts +30 -0
  86. package/dist/components/Table/styled.d.ts +8 -0
  87. package/dist/components/TabularPrice/index.js +2 -2
  88. package/dist/components/TextList/index.js +2 -2
  89. package/dist/components/Textarea/index.js +2 -2
  90. package/dist/components/TimeInput/index.js +2 -2
  91. package/dist/components/Tray/index.js +2 -2
  92. package/dist/contentful/index.js +11 -10
  93. package/dist/contentful/live-preview-inspector/index.js +1 -1
  94. package/dist/contentful/live-preview-renderer/index.js +1 -1
  95. package/dist/contentful/renderer/index.js +1 -1
  96. package/dist/{cssVars-C3-c3zhv.js → cssVars-CR3xqdPx.js} +1 -1
  97. package/dist/filterProps-BWnAPYBL.js +17 -0
  98. package/dist/foundations/GlobalStyle/index.js +1 -1
  99. package/dist/{index-M27FMM9r.js → index-ByPSWRQ0.js} +3 -3
  100. package/dist/{index-DXRuQeDl.js → index-CHzok6W_.js} +3 -3
  101. package/dist/{index-7A9g1r9L.js → index-CifS-Z_9.js} +74 -3
  102. package/dist/{index-BjtnAuPr.js → index-DLvMM1Dq.js} +2 -2
  103. package/dist/index.d.ts +2 -0
  104. package/dist/index.js +176 -166
  105. package/dist/{mapContentToComponents-BobPnbKM.js → mapContentToComponents-DLxIwtHo.js} +11 -10
  106. package/dist/screenreaderOnly-Dv2v6MAr.js +11 -0
  107. package/dist/{styled-RnVr222F.js → styled-B1bxWqtW.js} +1 -1
  108. package/dist/{styled-SllFJc7o.js → styled-BBG87P4U.js} +3 -3
  109. package/dist/{styled-B-_SmQSA.js → styled-BBO2jrba.js} +1 -1
  110. package/dist/{styled-D8a-ap4J.js → styled-BKWEE3dx.js} +1 -1
  111. package/dist/{styled-BTBLpB_G.js → styled-BQGCfF-s.js} +1 -1
  112. package/dist/{styled-jl0239KS.js → styled-BXtzJJFu.js} +1 -1
  113. package/dist/{styled-DJWrbsIZ.js → styled-BYYivuzh.js} +1 -1
  114. package/dist/{styled-1OrCdMDT.js → styled-CE_Y6O4R.js} +1 -1
  115. package/dist/styled-CH1kr8ZR.js +14 -0
  116. package/dist/{styled-Djetw1lK.js → styled-Cz2kpbgE.js} +3 -3
  117. package/dist/{styled-CPNO3vN5.js → styled-DGMsuBML.js} +1 -1
  118. package/dist/{styled-q7r_5eaz.js → styled-Dgv3RBlg.js} +1 -1
  119. package/dist/{styled-VAsSnb5y.js → styled-Dmb8-99g.js} +1 -1
  120. package/dist/{styled-CW4e5Qa3.js → styled-Dr-tPBqx.js} +1 -1
  121. package/dist/{styled-U9du2n1i.js → styled-Du4LgXoA.js} +1 -1
  122. package/dist/{styled-CyZvsdJs.js → styled-O5mL4jlL.js} +1 -1
  123. package/dist/{styled-DOK4C5Ml.js → styled-VuUKI7PE.js} +1 -1
  124. package/package.json +1 -1
  125. package/dist/filterProps-CTn92eZw.js +0 -17
  126. package/dist/index-B2VrT4fo.js +0 -24
@@ -4,9 +4,9 @@ const textHeadingMd = "md";
4
4
  const textHeadingSm = "sm";
5
5
  const textHeadingXs = "xs";
6
6
  export {
7
- textHeadingMd as a,
7
+ textHeadingXs as a,
8
8
  textHeadingSm as b,
9
9
  textHeadingLg as c,
10
10
  textHeadingXl as d,
11
- textHeadingXs as t
11
+ textHeadingMd as t
12
12
  };
@@ -0,0 +1,132 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { createContext, useContext } from "react";
3
+ import styled from "styled-components";
4
+ import { v as viewport } from "./index-Ck2bCrhT.js";
5
+ import { getBorderColor } from "./foundations/token/getBorderColor/index.js";
6
+ import { getFontWeight } from "./foundations/token/getFontWeight/index.js";
7
+ import { getSpacing } from "./foundations/token/getSpacing/index.js";
8
+ import { getTextColor } from "./foundations/token/getTextColor/index.js";
9
+ import { f as colorBorderSubtle, a as colorBorderNeutral } from "./BorderColor-CYdSW9dg.js";
10
+ import { a as fontWeightBold, f as fontWeightRegular } from "./FontWeight-C2pGs7aR.js";
11
+ import { c as spacingSm } from "./Spacing-BMQelJYr.js";
12
+ import { a as colorTextNeutral } from "./TextColor-DsntmDNw.js";
13
+ const TableWrapperDiv = styled.div.withConfig({
14
+ displayName: "TableWrapperDiv",
15
+ componentId: "sc-wxnzfr-0"
16
+ })({
17
+ overflowX: "auto"
18
+ });
19
+ const TableStyled = styled.table.withConfig({
20
+ displayName: "TableStyled",
21
+ componentId: "sc-wxnzfr-1"
22
+ })({
23
+ all: "unset",
24
+ // Reset all inherited styles
25
+ display: "table",
26
+ width: "100%",
27
+ overflow: "auto"
28
+ });
29
+ const cellAlign = {
30
+ left: "left",
31
+ right: "right"
32
+ };
33
+ const TableHeadStyled = styled.thead.withConfig({
34
+ displayName: "TableHeadStyled",
35
+ componentId: "sc-wxnzfr-2"
36
+ })({
37
+ all: "unset",
38
+ // Reset all inherited styles for thead
39
+ display: "table-header-group"
40
+ });
41
+ const TableRowStyled = styled.tr.withConfig({
42
+ displayName: "TableRowStyled",
43
+ componentId: "sc-wxnzfr-3"
44
+ })({
45
+ all: "unset",
46
+ // Reset all inherited styles for tr
47
+ display: "table-row"
48
+ });
49
+ const TableCellStyled = styled.td.withConfig({
50
+ displayName: "TableCellStyled",
51
+ componentId: "sc-wxnzfr-4"
52
+ })(({
53
+ align,
54
+ as
55
+ }) => ({
56
+ all: "unset",
57
+ // Reset all inherited styles for cell
58
+ display: "table-cell",
59
+ boxSizing: "border-box",
60
+ padding: `${getSpacing(spacingSm)}`,
61
+ textAlign: cellAlign[align],
62
+ color: getTextColor(colorTextNeutral),
63
+ borderBottom: `1px solid ${as === "th" ? getBorderColor(colorBorderNeutral) : getBorderColor(colorBorderSubtle)}`,
64
+ fontWeight: as === "th" ? getFontWeight(fontWeightBold) : getFontWeight(fontWeightRegular),
65
+ minWidth: 180,
66
+ wordBreak: "break-word",
67
+ whiteSpace: "normal",
68
+ overflowWrap: "break-word",
69
+ ...viewport.lg({
70
+ minWidth: 248
71
+ }),
72
+ // Style for tfoot cells
73
+ "tfoot &": {
74
+ borderBottom: `1px solid ${getBorderColor(colorBorderSubtle)}`,
75
+ fontWeight: getFontWeight(fontWeightBold)
76
+ }
77
+ }));
78
+ const TableCell = ({
79
+ children,
80
+ align = "left",
81
+ colSpan,
82
+ as = "td",
83
+ scope,
84
+ ...rest
85
+ }) => {
86
+ return /* @__PURE__ */ jsx(TableCellStyled, { as, align, colSpan, scope, ...rest, children });
87
+ };
88
+ const TableContext = createContext({});
89
+ const TableProvider = ({
90
+ columns,
91
+ children
92
+ }) => /* @__PURE__ */ jsx(TableContext.Provider, { value: {
93
+ columns
94
+ }, children });
95
+ const TableBody = ({
96
+ rows,
97
+ sideHeader
98
+ }) => {
99
+ const {
100
+ columns
101
+ } = useContext(TableContext);
102
+ return /* @__PURE__ */ jsx("tbody", { children: rows.map((row) => /* @__PURE__ */ jsx(TableRowStyled, { children: row.cells.map((cell, i) => {
103
+ var _a;
104
+ const align = ((_a = columns == null ? void 0 : columns[i]) == null ? void 0 : _a.align) || "left";
105
+ if (sideHeader && i === 0) {
106
+ return /* @__PURE__ */ jsx(TableCell, { as: "th", scope: "row", align, children: cell.children }, row.key + "-" + i);
107
+ }
108
+ return /* @__PURE__ */ jsx(TableCell, { align, children: cell.children }, row.key + "-" + i);
109
+ }) }, row.key)) });
110
+ };
111
+ TableBody.displayName = "TableBody";
112
+ const TableFoot = ({
113
+ cells
114
+ }) => /* @__PURE__ */ jsx("tfoot", { children: /* @__PURE__ */ jsx(TableRowStyled, { children: cells.map((cell, i) => /* @__PURE__ */ jsx(TableCell, { ...cell, as: "td", children: cell.children }, "foot-" + i)) }) });
115
+ TableFoot.displayName = "TableFoot";
116
+ const TableHead = ({
117
+ columns
118
+ }) => {
119
+ if (!columns) return null;
120
+ return /* @__PURE__ */ jsx(TableHeadStyled, { children: /* @__PURE__ */ jsx(TableRowStyled, { children: columns.map((col) => /* @__PURE__ */ jsx(TableCell, { align: col.align, as: "th", scope: "col", children: col.label }, col.key)) }) });
121
+ };
122
+ TableHead.displayName = "TableHead";
123
+ export {
124
+ TableHead as T,
125
+ TableBody as a,
126
+ TableFoot as b,
127
+ TableCell as c,
128
+ TableContext as d,
129
+ TableProvider as e,
130
+ TableWrapperDiv as f,
131
+ TableStyled as g
132
+ };
@@ -0,0 +1,25 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { Children, isValidElement } from "react";
3
+ import { e as TableProvider, f as TableWrapperDiv, g as TableStyled } from "./TableHead-C2zQ4jce.js";
4
+ const allowedTypes = ["TableHead", "TableBody", "TableFoot"];
5
+ const TableWrapper = ({
6
+ children,
7
+ ...rest
8
+ }) => {
9
+ let columns = void 0;
10
+ Children.forEach(children, (child) => {
11
+ if (isValidElement(child) && typeof child.type === "function" && child.type.displayName === "TableHead") {
12
+ const head = child;
13
+ columns = head.props.columns;
14
+ }
15
+ });
16
+ const filteredChildren = Children.map(children, (child) => {
17
+ if (!isValidElement(child)) return null;
18
+ const typeName = typeof child.type === "function" && child.type.displayName;
19
+ return allowedTypes.includes(typeName || "") ? child : null;
20
+ });
21
+ return /* @__PURE__ */ jsx(TableProvider, { columns, children: /* @__PURE__ */ jsx(TableWrapperDiv, { ...rest, children: /* @__PURE__ */ jsx(TableStyled, { role: "table", children: filteredChildren }) }) });
22
+ };
23
+ export {
24
+ TableWrapper as T
25
+ };
@@ -4,7 +4,7 @@ import { useRef, useState, useEffect } from "react";
4
4
  import Collapsible from "../Collapsible/index.js";
5
5
  import { I as IconLoader } from "../../index-C3dW-7e_.js";
6
6
  import { c as iconSizeMd } from "../../props-7dcsjRUx.js";
7
- import "../../styled-RnVr222F.js";
7
+ import "../../styled-B1bxWqtW.js";
8
8
  import { bf as ChevronDownIcon } from "../../_5gPlusIcon-CnxmOo1u.js";
9
9
  import styled from "styled-components";
10
10
  import Heading from "../Heading/index.js";
@@ -22,7 +22,7 @@ import { f as borderWidthNone, b as borderWidthUnselected, a as borderWidthFocus
22
22
  import { f as fontWeightRegular, a as fontWeightBold } from "../../FontWeight-C2pGs7aR.js";
23
23
  import { a as spacingMd, s as spacingNone, b as spacingXs } from "../../Spacing-BMQelJYr.js";
24
24
  import { a as colorTextNeutral, f as colorTextBrand } from "../../TextColor-DsntmDNw.js";
25
- import { a as filterProps } from "../../filterProps-CTn92eZw.js";
25
+ import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
26
26
  const accordionToggleExpanded = "expanded";
27
27
  const accordionToggleCollapsing = "collapsing";
28
28
  const accordionToggleCollapsed = "collapsed";
@@ -5,7 +5,7 @@ import { a as spacingMd, s as spacingNone } from "../../Spacing-BMQelJYr.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-CTn92eZw.js";
8
+ import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
9
9
  const AccordionGroupSingleExpand = ({
10
10
  bottomSpacing = spacingMd,
11
11
  ...props
@@ -2,12 +2,12 @@
2
2
  import { jsxs, jsx } from "react/jsx-runtime";
3
3
  import { b as iconNames, I as IconLoader } from "../../index-C3dW-7e_.js";
4
4
  import { a as iconSizeXs, b as iconSizeSm } from "../../props-7dcsjRUx.js";
5
- import "../../styled-RnVr222F.js";
5
+ import "../../styled-B1bxWqtW.js";
6
6
  import { s as smallSize, m as mediumSize } from "../../SizeTypes-Ck_RdzIf.js";
7
7
  import { a as spacingMd } from "../../Spacing-BMQelJYr.js";
8
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-B-_SmQSA.js";
10
- import { B } from "../../styled-B-_SmQSA.js";
9
+ import { p as primaryBadgeAppearance, s as secondaryBadgeAppearance, t as tertiaryBadgeAppearance, a as successBadgeAppearance, b as BadgeStyled } from "../../styled-BBO2jrba.js";
10
+ import { B } from "../../styled-BBO2jrba.js";
11
11
  const badgeAppearances = [primaryBadgeAppearance, secondaryBadgeAppearance, tertiaryBadgeAppearance, successBadgeAppearance];
12
12
  const badgeSizes = [smallSize, mediumSize];
13
13
  const validateBadgeProps = (props) => {
@@ -11,7 +11,7 @@ import { getFontWeight } from "../../foundations/token/getFontWeight/index.js";
11
11
  import { getTextColor } from "../../foundations/token/getTextColor/index.js";
12
12
  import { a as fontWeightBold, b as fontWeightLight, f as fontWeightRegular } from "../../FontWeight-C2pGs7aR.js";
13
13
  import { a as colorTextNeutral } from "../../TextColor-DsntmDNw.js";
14
- import { a as filterProps } from "../../filterProps-CTn92eZw.js";
14
+ import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
15
15
  import { p as pTagName, d as divTagName, s as spanTagName, q as strongTagName, r as supTagName } from "../../tags-38kBhOn6.js";
16
16
  const BodyStyled = styled.p.withConfig({
17
17
  shouldForwardProp: filterProps(),
@@ -4,11 +4,11 @@ import { useRef, useState, useEffect } from "react";
4
4
  import Container from "../Container/index.js";
5
5
  import { a as spacingMd, s as spacingNone } from "../../Spacing-BMQelJYr.js";
6
6
  import styled from "styled-components";
7
- import { a as CardStyled } from "../../styled-1OrCdMDT.js";
7
+ import { a as CardStyled } from "../../styled-CE_Y6O4R.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-CTn92eZw.js";
11
+ import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
12
12
  const bottomBarExtraPadding = 100;
13
13
  const BottomBarStyled = styled(CardStyled).withConfig({
14
14
  shouldForwardProp: filterProps(),
@@ -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-DXRuQeDl.js";
3
+ import { B as ButtonAsLink, g as getButtonIcon } from "../../index-CHzok6W_.js";
4
4
  import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
5
- import { B as ButtonStyled } from "../../styled-q7r_5eaz.js";
5
+ import { B as ButtonStyled } from "../../styled-Dgv3RBlg.js";
6
6
  const buttonFullWidth = "full";
7
7
  const buttonAutoWidth = "auto";
8
8
  const isButtonAsLinkProp = (props) => {
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import "react/jsx-runtime";
3
- import { B } from "../../index-DXRuQeDl.js";
3
+ import { B } from "../../index-CHzok6W_.js";
4
4
  import "../../hooks/useLinkComponent/index.js";
5
- import "../../filterProps-CTn92eZw.js";
5
+ import "../../filterProps-BWnAPYBL.js";
6
6
  import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
7
7
  import "../../sanitizeLinkProps-D2Kkovy1.js";
8
8
  export {
@@ -2,7 +2,7 @@
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-CyZvsdJs.js";
5
+ import { f as flexOrientationHorizontal, b as flexJustifyStart } from "../../styled-O5mL4jlL.js";
6
6
  import FlexItem from "../FlexItem/index.js";
7
7
  import { c as spacingSm, a as spacingMd } from "../../Spacing-BMQelJYr.js";
8
8
  import { u as useViewport } from "../../index-G2mpsxF7.js";
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import { d as divTagName } from "../../tags-38kBhOn6.js";
4
- import { a as CardStyled } from "../../styled-1OrCdMDT.js";
5
- import { C } from "../../styled-1OrCdMDT.js";
4
+ import { a as CardStyled } from "../../styled-CE_Y6O4R.js";
5
+ import { C } from "../../styled-CE_Y6O4R.js";
6
6
  const Card = ({
7
7
  children,
8
8
  className,
@@ -6,9 +6,9 @@ import { useFocusWithin } from "../../hooks/useFocusWithin/index.js";
6
6
  import { l as liTagName, u as ulTagName } from "../../tags-38kBhOn6.js";
7
7
  import { a as spacingMd } from "../../Spacing-BMQelJYr.js";
8
8
  import styled from "styled-components";
9
- import { a as CardStyled } from "../../styled-1OrCdMDT.js";
10
- import { G as GridStyled } from "../../styled-CPNO3vN5.js";
11
- import { G as GridItemStyled } from "../../styled-Djetw1lK.js";
9
+ import { a as CardStyled } from "../../styled-CE_Y6O4R.js";
10
+ import { G as GridStyled } from "../../styled-DGMsuBML.js";
11
+ import { G as GridItemStyled } from "../../styled-Cz2kpbgE.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";
@@ -16,9 +16,9 @@ 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
18
  import { a as colorObjectBrand, g as colorObjectUnselected } from "../../ObjectColor-0RAzLGI5.js";
19
- import { a as filterProps } from "../../filterProps-CTn92eZw.js";
19
+ import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
20
20
  import IconButton from "../IconButton/index.js";
21
- import { S as ScreenreaderOnly } from "../../index-B2VrT4fo.js";
21
+ import ScreenreaderOnly from "../ScreenreaderOnly/index.js";
22
22
  const getItems = (items, loop) => {
23
23
  const normalizedItems = [...items].map((item, index) => ({
24
24
  ...item,
@@ -4,7 +4,7 @@ import { N as NotificationErrorIcon } from "../../NotificationErrorIcon-DMnAJgPN
4
4
  import { useState, useEffect } from "react";
5
5
  import FormHelperMessage from "../FormHelperMessage/index.js";
6
6
  import { b as iconSizeSm } from "../../props-7dcsjRUx.js";
7
- import "../../styled-RnVr222F.js";
7
+ import "../../styled-B1bxWqtW.js";
8
8
  import { a as inputStateError } from "../../props-DDpgcryb.js";
9
9
  import styled from "styled-components";
10
10
  import Label from "../Label/index.js";
@@ -23,7 +23,7 @@ import { d as borderRadiusSm } from "../../BorderRadius-ClUShVLu.js";
23
23
  import { a as borderWidthFocus } from "../../BorderWidth-eg_mz82k.js";
24
24
  import { a as opacityDisabled } from "../../Opacity-smkGiwsf.js";
25
25
  import { a as spacingMd } from "../../Spacing-BMQelJYr.js";
26
- import { a as filterProps } from "../../filterProps-CTn92eZw.js";
26
+ import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
27
27
  import { g as getCssVar } from "../../getCssVar-BP6T9pFM.js";
28
28
  const CheckboxLabelStyled = styled(Label).withConfig({
29
29
  shouldForwardProp: filterProps(),
@@ -5,10 +5,10 @@ import Checkbox from "../Checkbox/index.js";
5
5
  import Fieldset from "../Fieldset/index.js";
6
6
  import { g as spacingLg, a as spacingMd, s as spacingNone } from "../../Spacing-BMQelJYr.js";
7
7
  import styled from "styled-components";
8
- import { F as FlexStyled } from "../../styled-CyZvsdJs.js";
8
+ import { F as FlexStyled } from "../../styled-O5mL4jlL.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-CTn92eZw.js";
11
+ import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
12
12
  const CheckboxGroupStyled = styled(FlexStyled).withConfig({
13
13
  shouldForwardProp: filterProps(),
14
14
  displayName: "CheckboxGroupStyled",
@@ -8,7 +8,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
10
  import { s as spacingNone } from "../../Spacing-BMQelJYr.js";
11
- import { a as filterProps } from "../../filterProps-CTn92eZw.js";
11
+ import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
12
12
  const CollapsibleStyled = styled.div.withConfig({
13
13
  shouldForwardProp: filterProps(),
14
14
  displayName: "CollapsibleStyled",
@@ -4,13 +4,13 @@ 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
6
  import { c as iconSizeMd } from "../../props-7dcsjRUx.js";
7
- import "../../styled-RnVr222F.js";
7
+ import "../../styled-B1bxWqtW.js";
8
8
  import forcedColors from "../../foundations/media-query/forcedColors/index.js";
9
9
  import { getBorderColor } from "../../foundations/token/getBorderColor/index.js";
10
10
  import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
11
11
  import { a as colorBorderNeutral } from "../../BorderColor-CYdSW9dg.js";
12
12
  import { s as spacingNone } from "../../Spacing-BMQelJYr.js";
13
- import { a as filterProps } from "../../filterProps-CTn92eZw.js";
13
+ import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
14
14
  import { g as getCssVar } from "../../getCssVar-BP6T9pFM.js";
15
15
  const colorSwatchSizeSmall = "sm";
16
16
  const colorSwatchSizeMedium = "md";
@@ -3,11 +3,11 @@ import { jsx } from "react/jsx-runtime";
3
3
  import ColorSwatch, { colorSwatchSizeSmall } from "../ColorSwatch/index.js";
4
4
  import { a as spacingMd, e as spacing2Xs } from "../../Spacing-BMQelJYr.js";
5
5
  import styled from "styled-components";
6
- import { F as FlexStyled } from "../../styled-CyZvsdJs.js";
6
+ import { F as FlexStyled } from "../../styled-O5mL4jlL.js";
7
7
  import { c as iconSizeMd } from "../../props-7dcsjRUx.js";
8
- import "../../styled-RnVr222F.js";
8
+ import "../../styled-B1bxWqtW.js";
9
9
  import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
10
- import { a as filterProps } from "../../filterProps-CTn92eZw.js";
10
+ import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
11
11
  import { g as getCssVar } from "../../getCssVar-BP6T9pFM.js";
12
12
  const ColorSwatchListStyled = styled(FlexStyled).withConfig({
13
13
  shouldForwardProp: filterProps(),
@@ -4,15 +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-q7r_5eaz.js";
7
+ import { B as ButtonStyled, t as tertiaryAppearance } from "../../styled-Dgv3RBlg.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
11
  import { b as colorBackgroundOverlay } from "../../BackgroundColor-DSOSZvNi.js";
12
12
  import { a as spacingMd, b as spacingXs, s as spacingNone } from "../../Spacing-BMQelJYr.js";
13
13
  import Heading from "../Heading/index.js";
14
- import { a as headingAlignCenter } from "../../styled-VAsSnb5y.js";
15
- import { t as textHeadingXs } from "../../HeadingSize-CfCRn3Lh.js";
14
+ import { a as headingAlignCenter } from "../../styled-Dmb8-99g.js";
15
+ import { a as textHeadingXs } from "../../HeadingSize-CqqUYZWV.js";
16
16
  const ConsentMessageBackgroundStyled = styled.div.withConfig({
17
17
  displayName: "ConsentMessageBackgroundStyled",
18
18
  componentId: "sc-gbn604-0"
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx } from "react/jsx-runtime";
3
- import { a as ContainerBackgroundStyled, b as ContainerCenterStyled } from "../../styled-jl0239KS.js";
4
- import { C } from "../../styled-jl0239KS.js";
3
+ import { a as ContainerBackgroundStyled, b as ContainerCenterStyled } from "../../styled-BXtzJJFu.js";
4
+ import { C } from "../../styled-BXtzJJFu.js";
5
5
  import { s as spacingNone, d as spacingXl, f as spacing5Xl } from "../../Spacing-BMQelJYr.js";
6
6
  const containerAppearances = ["primary", "secondary", "tertiary", "alternative"];
7
7
  const containerPaddings = [spacingNone, spacingXl, spacing5Xl];
@@ -6,9 +6,9 @@ import FormHelperLabel from "../FormHelperLabel/index.js";
6
6
  import FormHelperMessage from "../FormHelperMessage/index.js";
7
7
  import FormHelperStatusIcon from "../FormHelperStatusIcon/index.js";
8
8
  import { b as iconSizeSm } from "../../props-7dcsjRUx.js";
9
- import "../../styled-RnVr222F.js";
9
+ import "../../styled-B1bxWqtW.js";
10
10
  import { a as inputStateError } from "../../props-DDpgcryb.js";
11
- import { a as InputStyled, I as InputWrapperStyled } from "../../styled-BTBLpB_G.js";
11
+ import { a as InputStyled, I as InputWrapperStyled } from "../../styled-BQGCfF-s.js";
12
12
  import { a as spacingMd, b as spacingXs } from "../../Spacing-BMQelJYr.js";
13
13
  import { aW as CalendarMonthIcon } from "../../_5gPlusIcon-CnxmOo1u.js";
14
14
  import styled from "styled-components";
@@ -1,14 +1,20 @@
1
1
  "use client";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import IconSnippet from "../IconSnippet/index.js";
4
- import { t as textHeadingXs } from "../../HeadingSize-CfCRn3Lh.js";
5
- import { D as DemoBoxStyled } from "../../styled-CW4e5Qa3.js";
4
+ import { a as textHeadingXs } from "../../HeadingSize-CqqUYZWV.js";
5
+ import { v4 } from "uuid";
6
+ import { D as DemoBoxStyled } from "../../styled-Dr-tPBqx.js";
7
+ const getUid = () => {
8
+ return v4();
9
+ };
6
10
  const heading = {
11
+ uid: getUid(),
7
12
  component: "Heading",
8
13
  children: "Child component",
9
14
  size: textHeadingXs
10
15
  };
11
16
  const richText = {
17
+ uid: getUid(),
12
18
  component: "RichText",
13
19
  html: "<p>This is a placeholder.</p>"
14
20
  };
@@ -4,7 +4,7 @@ import { useState, useRef, useEffect } from "react";
4
4
  import { createPortal } from "react-dom";
5
5
  import Heading from "../Heading/index.js";
6
6
  import { a as fontWeightBold } from "../../FontWeight-C2pGs7aR.js";
7
- import { a as textHeadingMd } from "../../HeadingSize-CfCRn3Lh.js";
7
+ import { t as textHeadingMd } from "../../HeadingSize-CqqUYZWV.js";
8
8
  import { a as spacingMd, s as spacingNone } from "../../Spacing-BMQelJYr.js";
9
9
  import styled from "styled-components";
10
10
  import ButtonGroup from "../ButtonGroup/index.js";
@@ -16,7 +16,7 @@ import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js"
16
16
  import { getSpacing } from "../../foundations/token/getSpacing/index.js";
17
17
  import { d as colorBackgroundOverlayStatic } from "../../BackgroundColor-DSOSZvNi.js";
18
18
  import { a as borderWidthFocus } from "../../BorderWidth-eg_mz82k.js";
19
- import { a as filterProps } from "../../filterProps-CTn92eZw.js";
19
+ import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
20
20
  const DialogOverlayStyled = styled.div.withConfig({
21
21
  shouldForwardProp: filterProps(),
22
22
  displayName: "DialogOverlayStyled",
@@ -5,30 +5,31 @@ import Badge from "../Badge/index.js";
5
5
  import Body, { bodyAlignLeft, bodyAlignCenter } from "../Body/index.js";
6
6
  import Heading from "../Heading/index.js";
7
7
  import Link from "../Link/index.js";
8
- import { P as Price, b as priceSizeSm, f as priceAlignLeft, g as priceAlignCenter, a as priceOrientationVertical } from "../../index-BjtnAuPr.js";
9
- import { R as RichText } from "../../index-7A9g1r9L.js";
8
+ import { P as Price, b as priceSizeSm, f as priceAlignLeft, g as priceAlignCenter, a as priceOrientationVertical } from "../../index-DLvMM1Dq.js";
9
+ import { R as RichText } from "../../index-CifS-Z_9.js";
10
10
  import { a as fontWeightBold } from "../../FontWeight-C2pGs7aR.js";
11
- import { b as textHeadingSm } from "../../HeadingSize-CfCRn3Lh.js";
11
+ import { b as textHeadingSm } from "../../HeadingSize-CqqUYZWV.js";
12
12
  import { s as smallSize } from "../../SizeTypes-Ck_RdzIf.js";
13
13
  import { a as spacingMd, s as spacingNone, b as spacingXs, c as spacingSm } from "../../Spacing-BMQelJYr.js";
14
14
  import "../../NotificationErrorIcon-DMnAJgPN.js";
15
- import "../../styled-RnVr222F.js";
15
+ import "../../styled-B1bxWqtW.js";
16
16
  import "html-react-parser";
17
- import { b as BadgeStyled } from "../../styled-B-_SmQSA.js";
18
- import "../../index-B2VrT4fo.js";
17
+ import { b as BadgeStyled } from "../../styled-BBO2jrba.js";
18
+ import "../ScreenreaderOnly/index.js";
19
19
  import "../FootnoteLink/index.js";
20
- import "../../styled-VAsSnb5y.js";
21
- import "../../styled-q7r_5eaz.js";
22
- import { a as LinkStyled } from "../../index-M27FMM9r.js";
20
+ import "../../styled-Dmb8-99g.js";
21
+ import "../../styled-Dgv3RBlg.js";
22
+ import { a as LinkStyled } from "../../index-ByPSWRQ0.js";
23
23
  import "../../hooks/useLinkComponent/index.js";
24
24
  import "../InlineLink/index.js";
25
- import "../../styled-DJWrbsIZ.js";
25
+ import "../../TableHead-C2zQ4jce.js";
26
+ import "../../styled-BYYivuzh.js";
26
27
  import styled from "styled-components";
27
28
  import Card from "../Card/index.js";
28
29
  import Image, { aspectRatio16_9, aspectRatio1_1 } from "../Image/index.js";
29
30
  import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
30
31
  import { getSpacing } from "../../foundations/token/getSpacing/index.js";
31
- import { a as filterProps } from "../../filterProps-CTn92eZw.js";
32
+ import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
32
33
  import { a as cornerRounded } from "../../CornerStyle-JEbGNArR.js";
33
34
  const discoveryCardOrientationVertical = "vertical";
34
35
  const discoveryCardOrientationHorizontal = "horizontal";
@@ -4,7 +4,7 @@ import styled from "styled-components";
4
4
  import DiscoveryCard, { discoveryCardOrientationVertical } from "../DiscoveryCard/index.js";
5
5
  import Grid from "../Grid/index.js";
6
6
  import GridItem from "../GridItem/index.js";
7
- import { a as LinkStyled } from "../../index-M27FMM9r.js";
7
+ import { a as LinkStyled } from "../../index-ByPSWRQ0.js";
8
8
  import { getSpacing } from "../../foundations/token/getSpacing/index.js";
9
9
  import { a as spacingMd } from "../../Spacing-BMQelJYr.js";
10
10
  const DiscoveryCardGroupGridStyled = styled(Grid).withConfig({
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsx } from "react/jsx-runtime";
3
- import { D as DividerLineStyled } from "../../styled-D8a-ap4J.js";
3
+ import { D as DividerLineStyled } from "../../styled-BKWEE3dx.js";
4
4
  const Divider = (props) => /* @__PURE__ */ jsx(DividerLineStyled, { ...props });
5
5
  export {
6
6
  Divider as default
@@ -8,7 +8,7 @@ import Legend from "../Legend/index.js";
8
8
  import { a as spacingMd } from "../../Spacing-BMQelJYr.js";
9
9
  import styled from "styled-components";
10
10
  import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
11
- import { a as filterProps } from "../../filterProps-CTn92eZw.js";
11
+ import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
12
12
  const fieldsetCssObject = {
13
13
  // Chrome gives a fieldset a min-width equal to its content, so we need to reset it here
14
14
  minWidth: "0px"
@@ -3,10 +3,10 @@ import { jsxs, jsx } from "react/jsx-runtime";
3
3
  import { useState } from "react";
4
4
  import Fieldset from "../Fieldset/index.js";
5
5
  import { b as iconSizeSm } from "../../props-7dcsjRUx.js";
6
- import "../../styled-RnVr222F.js";
6
+ import "../../styled-B1bxWqtW.js";
7
7
  import styled from "styled-components";
8
8
  import { I as IconLoader } from "../../index-C3dW-7e_.js";
9
- import { s as screenreaderOnly } from "../../index-B2VrT4fo.js";
9
+ import { s as screenreaderOnly } from "../../screenreaderOnly-Dv2v6MAr.js";
10
10
  import forcedColors from "../../foundations/media-query/forcedColors/index.js";
11
11
  import { getBackgroundColor } from "../../foundations/token/getBackgroundColor/index.js";
12
12
  import { getBodySize } from "../../foundations/token/getBodySize/index.js";
@@ -25,7 +25,7 @@ import { d as colorObjectSelected } from "../../ObjectColor-0RAzLGI5.js";
25
25
  import { b as spacingXs, s as spacingNone, e as spacing2Xs, c as spacingSm } from "../../Spacing-BMQelJYr.js";
26
26
  import { t as textBodyMd } from "../../TextBodySize-BcZR9mh2.js";
27
27
  import { a as colorTextNeutral, b as colorTextInverseStatic } from "../../TextColor-DsntmDNw.js";
28
- import { a as filterProps } from "../../filterProps-CTn92eZw.js";
28
+ import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
29
29
  const FilterGroupStyled = styled.div.withConfig({
30
30
  shouldForwardProp: filterProps(),
31
31
  displayName: "FilterGroupStyled",
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx } from "react/jsx-runtime";
3
- import { F as FlexStyled } from "../../styled-CyZvsdJs.js";
4
- import { e, d, c, b, f, a } from "../../styled-CyZvsdJs.js";
3
+ import { F as FlexStyled } from "../../styled-O5mL4jlL.js";
4
+ import { e, d, c, b, f, a } from "../../styled-O5mL4jlL.js";
5
5
  const Flex = ({
6
6
  children,
7
7
  ...props
@@ -3,7 +3,7 @@ import { jsx } from "react/jsx-runtime";
3
3
  import { cloneElement } from "react";
4
4
  import { s as spacingNone } from "../../Spacing-BMQelJYr.js";
5
5
  import styled from "styled-components";
6
- import { a as filterProps } from "../../filterProps-CTn92eZw.js";
6
+ import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
7
7
  const flexItemFullGrow = "full";
8
8
  const flexItemAutoGrow = "auto";
9
9
  const FlexItemStyled = styled.div.withConfig({
@@ -7,7 +7,7 @@ import { getBorderColor } from "../../foundations/token/getBorderColor/index.js"
7
7
  import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js";
8
8
  import { c as colorBorderFocus } from "../../BorderColor-CYdSW9dg.js";
9
9
  import { a as borderWidthFocus } from "../../BorderWidth-eg_mz82k.js";
10
- import { a as filterProps } from "../../filterProps-CTn92eZw.js";
10
+ import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
11
11
  const rotate = keyframes(["0%{box-shadow:transparent 0px 0px 0px 0px;}50%{box-shadow:", " 0px 0px 2px ", ";}100%{box-shadow:transparent 0px 0px 0px 0px;}}"], getBorderColor(colorBorderFocus), getBorderWidth(borderWidthFocus));
12
12
  const FootnoteContentStyled = styled.div.withConfig({
13
13
  shouldForwardProp: filterProps(),
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsxs, jsx } from "react/jsx-runtime";
3
- import { S as ScreenreaderOnly } from "../../index-B2VrT4fo.js";
3
+ import ScreenreaderOnly from "../ScreenreaderOnly/index.js";
4
4
  import styled from "styled-components";
5
5
  import InlineLink from "../InlineLink/index.js";
6
6
  import { getFontWeight } from "../../foundations/token/getFontWeight/index.js";