@vodafone_de/brix-components 7.0.11 → 7.0.12

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 (96) hide show
  1. package/dist/components/Accordion/index.js +2 -2
  2. package/dist/components/AccordionGroup/index.js +1 -1
  3. package/dist/components/Badge/index.js +2 -2
  4. package/dist/components/Body/index.js +1 -1
  5. package/dist/components/BottomBar/index.js +2 -2
  6. package/dist/components/Button/index.js +2 -2
  7. package/dist/components/Button/styled.d.ts +2 -2
  8. package/dist/components/ButtonAsLink/index.js +2 -2
  9. package/dist/components/ButtonGroup/index.js +1 -1
  10. package/dist/components/Card/index.js +2 -2
  11. package/dist/components/Carousel/index.js +5 -5
  12. package/dist/components/Checkbox/index.js +2 -2
  13. package/dist/components/CheckboxGroup/index.js +2 -2
  14. package/dist/components/Collapsible/index.js +1 -1
  15. package/dist/components/ColorSwatch/index.js +2 -2
  16. package/dist/components/ColorSwatchGroup/index.js +4 -4
  17. package/dist/components/ConsentMessage/index.js +1 -1
  18. package/dist/components/Container/index.js +1 -1
  19. package/dist/components/DateInput/index.js +2 -2
  20. package/dist/components/DemoBox/index.js +2 -2
  21. package/dist/components/Dialog/index.js +1 -1
  22. package/dist/components/DiscoveryCard/index.js +8 -8
  23. package/dist/components/DiscoveryCardGroup/index.js +1 -1
  24. package/dist/components/Divider/index.js +1 -1
  25. package/dist/components/Fieldset/index.js +1 -1
  26. package/dist/components/FilterGroup/index.js +3 -3
  27. package/dist/components/Flex/index.js +2 -2
  28. package/dist/components/FlexItem/index.js +1 -1
  29. package/dist/components/FootnoteContent/index.js +1 -1
  30. package/dist/components/FootnoteLink/index.js +1 -1
  31. package/dist/components/Form/index.js +1 -1
  32. package/dist/components/FormElement/index.js +1 -1
  33. package/dist/components/FormHelperStatusIcon/index.js +1 -1
  34. package/dist/components/GoogleMap/index.js +1 -1
  35. package/dist/components/Grid/index.d.ts +7 -1
  36. package/dist/components/Grid/index.js +16 -26
  37. package/dist/components/GridItem/index.js +10 -4
  38. package/dist/components/Heading/index.js +1 -1
  39. package/dist/components/HifiIcon/index.js +1 -1
  40. package/dist/components/IconButton/index.js +3 -3
  41. package/dist/components/IconLoader/index.js +1 -0
  42. package/dist/components/IconLoader/props.d.ts +2 -0
  43. package/dist/components/IconSnippet/index.js +3 -3
  44. package/dist/components/Image/index.js +1 -1
  45. package/dist/components/ImageHeader/index.js +4 -4
  46. package/dist/components/InlineIcon/index.js +2 -2
  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 +1 -1
  51. package/dist/components/Link/index.js +2 -2
  52. package/dist/components/LinkAsButton/index.js +1 -1
  53. package/dist/components/LinkListItem/index.js +4 -4
  54. package/dist/components/LoadingSpinner/index.js +2 -2
  55. package/dist/components/MediaText/index.js +3 -3
  56. package/dist/components/Notification/index.js +3 -3
  57. package/dist/components/Overlay/index.js +1 -1
  58. package/dist/components/PickerGroup/index.js +4 -4
  59. package/dist/components/Price/index.js +2 -2
  60. package/dist/components/ProductCard/index.js +15 -17
  61. package/dist/components/ProductCard/props.d.ts +2 -1
  62. package/dist/components/RadioGroup/index.js +1 -1
  63. package/dist/components/ResponsiveImage/index.js +1 -1
  64. package/dist/components/RichText/index.js +1 -1
  65. package/dist/components/ScreenreaderOnly/index.js +1 -1
  66. package/dist/components/SearchInput/index.js +4 -4
  67. package/dist/components/SelectInput/index.js +2 -2
  68. package/dist/components/Stepper/index.js +1 -1
  69. package/dist/components/SuggestInput/index.js +3 -3
  70. package/dist/components/Switch/index.js +2 -2
  71. package/dist/components/TabGroup/index.js +3 -3
  72. package/dist/components/TabularPrice/index.js +2 -2
  73. package/dist/components/TextList/index.js +1 -1
  74. package/dist/components/Textarea/index.js +1 -1
  75. package/dist/components/TimeInput/index.js +2 -2
  76. package/dist/components/Tray/index.js +1 -1
  77. package/dist/{filterProps-CBnuV0LI.js → filterProps-xigToTuS.js} +1 -1
  78. package/dist/foundations/GlobalStyle/index.js +1 -1
  79. package/dist/{index-9io8adeQ.js → index-B854Z6wJ.js} +1 -1
  80. package/dist/{index-GwyCjtti.js → index-C1XkgaO-.js} +1 -1
  81. package/dist/{index-hNV7tcRV.js → index-CmRKTcf2.js} +3 -3
  82. package/dist/{index-TImInHXt.js → index-D1-XMn0u.js} +2 -2
  83. package/dist/{index-BdPmdY9v.js → index-DAUhM24n.js} +2 -2
  84. package/dist/{index-Cqh8IRpl.js → index-nhWB8ViX.js} +3 -3
  85. package/dist/index.js +11 -10
  86. package/dist/{styled-CFTspqJH.js → styled-BBAZa4-G.js} +1 -1
  87. package/dist/{styled-BIc9Gu0G.js → styled-BdlPH_tS.js} +1 -1
  88. package/dist/{styled-C4eI47I1.js → styled-BvCNTnzN.js} +1 -1
  89. package/dist/{styled-Cq-UMAjp.js → styled-CAa6y5cu.js} +1 -1
  90. package/dist/{styled-a-XazLSM.js → styled-Coxn39x5.js} +3 -3
  91. package/dist/{styled-CPUu8mvT.js → styled-DLlpknmo.js} +1 -1
  92. package/dist/{styled-DINwm57V.js → styled-DQRgGOv7.js} +1 -1
  93. package/dist/{styled-DPHfwWsx.js → styled-OqbLiEnJ.js} +1 -1
  94. package/dist/{styled-Cep52hpR.js → styled-Zn59EuIp.js} +1 -1
  95. package/package.json +1 -1
  96. package/dist/components/Grid/helpers.d.ts +0 -5
@@ -3,7 +3,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
3
3
  import { useRef, useState, useEffect } from "react";
4
4
  import Collapsible from "../Collapsible/index.js";
5
5
  import IconLoader from "../IconLoader/index.js";
6
- import { c as iconSizeMd } from "../../styled-DPHfwWsx.js";
6
+ import { c as iconSizeMd } from "../../styled-OqbLiEnJ.js";
7
7
  import "../../NotificationErrorIcon-DMnAJgPN.js";
8
8
  import { bf as ChevronDownIcon } from "../../_5gPlusIcon-B_69VW4X.js";
9
9
  import styled from "styled-components";
@@ -22,7 +22,7 @@ import { f as borderWidthNone, b as borderWidthUnselected, a as borderWidthFocus
22
22
  import { a as fontWeightRegular, f as fontWeightBold } from "../../FontWeight-DEBGHbtO.js";
23
23
  import { s as spacingMd, b as spacingNone, a as spacingXs } from "../../Spacing-D0HQH9YJ.js";
24
24
  import { a as colorTextNeutral, f as colorTextBrand } from "../../TextColor-DsntmDNw.js";
25
- import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
25
+ import { a as filterProps } from "../../filterProps-xigToTuS.js";
26
26
  const accordionToggleExpanded = "expanded";
27
27
  const accordionToggleCollapsing = "collapsing";
28
28
  const accordionToggleCollapsed = "collapsed";
@@ -5,7 +5,7 @@ import { s as spacingMd, b as spacingNone } from "../../Spacing-D0HQH9YJ.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-CBnuV0LI.js";
8
+ import { a as filterProps } from "../../filterProps-xigToTuS.js";
9
9
  const AccordionGroupSingleExpand = ({
10
10
  bottomSpacing = spacingMd,
11
11
  ...props
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  import "react/jsx-runtime";
3
3
  import "../IconLoader/index.js";
4
- import "../../styled-DPHfwWsx.js";
4
+ import "../../styled-OqbLiEnJ.js";
5
5
  import "../../Spacing-D0HQH9YJ.js";
6
6
  import "../../SizeTypes-Ck_RdzIf.js";
7
7
  import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
8
- import { a, B } from "../../index-BdPmdY9v.js";
8
+ import { a, B } from "../../index-DAUhM24n.js";
9
9
  export {
10
10
  a as BadgeAppearanceColor,
11
11
  B as default
@@ -10,7 +10,7 @@ import { getFontWeight } from "../../foundations/token/getFontWeight/index.js";
10
10
  import { getTextColor } from "../../foundations/token/getTextColor/index.js";
11
11
  import { f as fontWeightBold } from "../../FontWeight-DEBGHbtO.js";
12
12
  import { a as colorTextNeutral } from "../../TextColor-DsntmDNw.js";
13
- import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
13
+ import { a as filterProps } from "../../filterProps-xigToTuS.js";
14
14
  const BodyStyled = styled.p.withConfig({
15
15
  shouldForwardProp: filterProps(),
16
16
  displayName: "BodyStyled",
@@ -4,11 +4,11 @@ import { useRef, useState, useEffect } from "react";
4
4
  import Container from "../Container/index.js";
5
5
  import { s as spacingMd, b as spacingNone } from "../../Spacing-D0HQH9YJ.js";
6
6
  import styled from "styled-components";
7
- import { a as CardStyled } from "../../styled-DINwm57V.js";
7
+ import { a as CardStyled } from "../../styled-DQRgGOv7.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-CBnuV0LI.js";
11
+ import { a as filterProps } from "../../filterProps-xigToTuS.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-hNV7tcRV.js";
3
+ import { B as ButtonAsLink, g as getButtonIcon } from "../../index-CmRKTcf2.js";
4
4
  import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
5
- import { B as ButtonStyled } from "../../styled-C4eI47I1.js";
5
+ import { B as ButtonStyled } from "../../styled-BvCNTnzN.js";
6
6
  const buttonFullWidth = "full";
7
7
  const buttonAutoWidth = "auto";
8
8
  const isButtonAsLinkProp = (props) => {
@@ -1,4 +1,4 @@
1
- import { SvgInlineIconFactoryPropsWithPosition } from '../../foundations/types/SystemIconWithPosition';
1
+ import { IconLoaderProps } from '../IconLoader';
2
2
  import { ButtonProps } from './props';
3
3
  /**
4
4
  * Button height was a token with different variants: Small, medium and large
@@ -6,5 +6,5 @@ import { ButtonProps } from './props';
6
6
  * base & alias tokens for now, but just keep it here
7
7
  */
8
8
  export declare const buttonHeight = "44px";
9
- export declare const ButtonIconStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('../IconLoader').IconLoaderProps, SvgInlineIconFactoryPropsWithPosition>> & string & Omit<import('react').FC<import('../IconLoader').IconLoaderProps>, keyof import('react').Component<any, {}, any>>;
9
+ export declare const ButtonIconStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<IconLoaderProps, IconLoaderProps>> & string & Omit<import('react').FC<IconLoaderProps>, keyof import('react').Component<any, {}, any>>;
10
10
  export declare const ButtonStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ButtonProps>> & string;
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import "react/jsx-runtime";
3
- import { B } from "../../index-hNV7tcRV.js";
3
+ import { B } from "../../index-CmRKTcf2.js";
4
4
  import "../../hooks/useLinkComponent/index.js";
5
- import "../../filterProps-CBnuV0LI.js";
5
+ import "../../filterProps-xigToTuS.js";
6
6
  import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
7
7
  export {
8
8
  B as default
@@ -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-CPUu8mvT.js";
5
+ import { f as flexOrientationHorizontal, b as flexJustifyStart } from "../../styled-DLlpknmo.js";
6
6
  import FlexItem from "../FlexItem/index.js";
7
7
  import { c as spacingSm, s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
8
8
  import { u as useViewport } from "../../index-Cs0Hw0dj.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-D0ExIPLD.js";
4
- import { a as CardStyled } from "../../styled-DINwm57V.js";
5
- import { C } from "../../styled-DINwm57V.js";
4
+ import { a as CardStyled } from "../../styled-DQRgGOv7.js";
5
+ import { C } from "../../styled-DQRgGOv7.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-D0ExIPLD.js";
7
7
  import { s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
8
8
  import styled from "styled-components";
9
- import { a as CardStyled } from "../../styled-DINwm57V.js";
10
- import { G as GridStyled } from "../../styled-BIc9Gu0G.js";
11
- import { G as GridItemStyled } from "../../styled-a-XazLSM.js";
9
+ import { a as CardStyled } from "../../styled-DQRgGOv7.js";
10
+ import { G as GridStyled } from "../../styled-BdlPH_tS.js";
11
+ import { G as GridItemStyled } from "../../styled-Coxn39x5.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 { c as colorObjectBrand, d as colorObjectUnselected } from "../../ObjectColor-BZDBuV8H.js";
19
- import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
19
+ import { a as filterProps } from "../../filterProps-xigToTuS.js";
20
20
  import IconButton from "../IconButton/index.js";
21
- import { S as ScreenreaderOnly } from "../../index-GwyCjtti.js";
21
+ import { S as ScreenreaderOnly } from "../../index-C1XkgaO-.js";
22
22
  const getItems = (items, loop) => {
23
23
  const normalizedItems = [...items].map((item, index) => ({
24
24
  ...item,
@@ -3,7 +3,7 @@ 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 "../../styled-DPHfwWsx.js";
6
+ import { b as iconSizeSm } from "../../styled-OqbLiEnJ.js";
7
7
  import { a as inputStateError } from "../../props-DDpgcryb.js";
8
8
  import styled from "styled-components";
9
9
  import Label from "../Label/index.js";
@@ -22,7 +22,7 @@ import { d as borderRadiusSm } from "../../BorderRadius-ClUShVLu.js";
22
22
  import { a as borderWidthFocus } from "../../BorderWidth-DfOlyKK7.js";
23
23
  import { a as opacityDisabled } from "../../Opacity-smkGiwsf.js";
24
24
  import { s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
25
- import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
25
+ import { a as filterProps } from "../../filterProps-xigToTuS.js";
26
26
  import { g as getCssVar } from "../../getCssVar-BP6T9pFM.js";
27
27
  const CheckboxLabelStyled = styled(Label).withConfig({
28
28
  shouldForwardProp: filterProps(),
@@ -5,10 +5,10 @@ import Checkbox from "../Checkbox/index.js";
5
5
  import Fieldset from "../Fieldset/index.js";
6
6
  import { f as spacingLg, s as spacingMd, b as spacingNone } from "../../Spacing-D0HQH9YJ.js";
7
7
  import styled from "styled-components";
8
- import { F as FlexStyled } from "../../styled-CPUu8mvT.js";
8
+ import { F as FlexStyled } from "../../styled-DLlpknmo.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-CBnuV0LI.js";
11
+ import { a as filterProps } from "../../filterProps-xigToTuS.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-DfOlyKK7.js";
10
10
  import { b as spacingNone } from "../../Spacing-D0HQH9YJ.js";
11
- import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
11
+ import { a as filterProps } from "../../filterProps-xigToTuS.js";
12
12
  const CollapsibleStyled = styled.div.withConfig({
13
13
  shouldForwardProp: filterProps(),
14
14
  displayName: "CollapsibleStyled",
@@ -3,13 +3,13 @@ import { jsx } from "react/jsx-runtime";
3
3
  import { useState, useRef, useEffect } from "react";
4
4
  import { g as getComputedBackgroundColor, p as parseColorToRgbObject, a as getContrastRatio } from "../../colorUtils-BSfFfgbi.js";
5
5
  import styled from "styled-components";
6
- import { c as iconSizeMd } from "../../styled-DPHfwWsx.js";
6
+ import { c as iconSizeMd } from "../../styled-OqbLiEnJ.js";
7
7
  import forcedColors from "../../foundations/media-query/forcedColors/index.js";
8
8
  import { getBorderColor } from "../../foundations/token/getBorderColor/index.js";
9
9
  import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
10
10
  import { a as colorBorderNeutral } from "../../BorderColor-BummoQ1-.js";
11
11
  import { b as spacingNone } from "../../Spacing-D0HQH9YJ.js";
12
- import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
12
+ import { a as filterProps } from "../../filterProps-xigToTuS.js";
13
13
  import { g as getCssVar } from "../../getCssVar-BP6T9pFM.js";
14
14
  const colorSwatchSizeSmall = "sm";
15
15
  const colorSwatchSizeMedium = "md";
@@ -3,10 +3,10 @@ import { jsx } from "react/jsx-runtime";
3
3
  import ColorSwatch, { colorSwatchSizeSmall } from "../ColorSwatch/index.js";
4
4
  import { s as spacingMd, e as spacing2Xs } from "../../Spacing-D0HQH9YJ.js";
5
5
  import styled from "styled-components";
6
- import { F as FlexStyled } from "../../styled-CPUu8mvT.js";
7
- import { c as iconSizeMd } from "../../styled-DPHfwWsx.js";
6
+ import { F as FlexStyled } from "../../styled-DLlpknmo.js";
7
+ import { c as iconSizeMd } from "../../styled-OqbLiEnJ.js";
8
8
  import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
9
- import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
9
+ import { a as filterProps } from "../../filterProps-xigToTuS.js";
10
10
  import { g as getCssVar } from "../../getCssVar-BP6T9pFM.js";
11
11
  const ColorSwatchListStyled = styled(FlexStyled).withConfig({
12
12
  shouldForwardProp: filterProps(),
@@ -35,7 +35,7 @@ const ColorSwatchGroup = ({
35
35
  bottomSpacing,
36
36
  ...props
37
37
  }) => {
38
- const colorSwatchesMap = colorSwatches.map((colorSwatch) => /* @__PURE__ */ jsx(ColorSwatchItemStyled, { size, children: /* @__PURE__ */ jsx(ColorSwatch, { ...colorSwatch, size }) }, colorSwatch.color));
38
+ const colorSwatchesMap = colorSwatches.map((colorSwatch, index) => /* @__PURE__ */ jsx(ColorSwatchItemStyled, { size, children: /* @__PURE__ */ jsx(ColorSwatch, { ...colorSwatch, size }) }, `${props.uid}-${index}`));
39
39
  return colorSwatchesMap.length ? /* @__PURE__ */ jsx(ColorSwatchListStyled, { className: props.className, gapSpacing: spacing2Xs, as: "ul", "aria-label": props["aria-label"], bottomSpacing, children: colorSwatchesMap }) : null;
40
40
  };
41
41
  export {
@@ -4,7 +4,7 @@ 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-C4eI47I1.js";
7
+ import { B as ButtonStyled, t as tertiaryAppearance } from "../../styled-BvCNTnzN.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";
@@ -10,7 +10,7 @@ import { j as colorBorderSubtle } from "../../BorderColor-BummoQ1-.js";
10
10
  import { e as borderWidthDivider } from "../../BorderWidth-DfOlyKK7.js";
11
11
  import { d as spacingXl, s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
12
12
  import { a as colorTextNeutral } from "../../TextColor-DsntmDNw.js";
13
- import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
13
+ import { a as filterProps } from "../../filterProps-xigToTuS.js";
14
14
  import { f as colorBackgroundBrand, e as colorBackgroundBrandGradient, a as colorBackgroundSubtle, c as colorBackgroundNeutral } from "../../BackgroundColor-e0N9tdDR.js";
15
15
  const ContainerAppearanceColor = {
16
16
  primary: colorBackgroundNeutral,
@@ -5,9 +5,9 @@ import FormElement from "../FormElement/index.js";
5
5
  import FormHelperLabel from "../FormHelperLabel/index.js";
6
6
  import FormHelperMessage from "../FormHelperMessage/index.js";
7
7
  import FormHelperStatusIcon from "../FormHelperStatusIcon/index.js";
8
- import { b as iconSizeSm } from "../../styled-DPHfwWsx.js";
8
+ import { b as iconSizeSm } from "../../styled-OqbLiEnJ.js";
9
9
  import { a as inputStateError } from "../../props-DDpgcryb.js";
10
- import { a as InputStyled, I as InputWrapperStyled } from "../../styled-Cep52hpR.js";
10
+ import { a as InputStyled, I as InputWrapperStyled } from "../../styled-Zn59EuIp.js";
11
11
  import { s as spacingMd, a as spacingXs } from "../../Spacing-D0HQH9YJ.js";
12
12
  import "../../NotificationErrorIcon-DMnAJgPN.js";
13
13
  import { aW as CalendarMonthIcon } from "../../_5gPlusIcon-B_69VW4X.js";
@@ -2,8 +2,8 @@
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import IconSnippet from "../IconSnippet/index.js";
4
4
  import { t as textHeadingXs } from "../../HeadingSize-CfCRn3Lh.js";
5
- import { g as getUid } from "../../index-9io8adeQ.js";
6
- import { D as DemoBoxStyled } from "../../styled-Cq-UMAjp.js";
5
+ import { g as getUid } from "../../index-B854Z6wJ.js";
6
+ import { D as DemoBoxStyled } from "../../styled-CAa6y5cu.js";
7
7
  const heading = {
8
8
  component: "Heading",
9
9
  children: "Child component",
@@ -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-e0N9tdDR.js";
18
18
  import { a as borderWidthFocus } from "../../BorderWidth-DfOlyKK7.js";
19
- import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
19
+ import { a as filterProps } from "../../filterProps-xigToTuS.js";
20
20
  const DialogOverlayStyled = styled.div.withConfig({
21
21
  shouldForwardProp: filterProps(),
22
22
  displayName: "DialogOverlayStyled",
@@ -1,23 +1,23 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { Fragment } from "react";
4
- import { b as BadgeStyled, B as Badge } from "../../index-BdPmdY9v.js";
4
+ import { b as BadgeStyled, B as Badge } from "../../index-DAUhM24n.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-TImInHXt.js";
9
- import { R as RichText } from "../../index-9io8adeQ.js";
8
+ import { P as Price, b as priceSizeSm, f as priceAlignLeft, g as priceAlignCenter, a as priceOrientationVertical } from "../../index-D1-XMn0u.js";
9
+ import { R as RichText } from "../../index-B854Z6wJ.js";
10
10
  import { f as fontWeightBold } from "../../FontWeight-DEBGHbtO.js";
11
11
  import { b as textHeadingSm } from "../../HeadingSize-CfCRn3Lh.js";
12
12
  import { s as spacingMd, b as spacingNone, a as spacingXs, c as spacingSm } from "../../Spacing-D0HQH9YJ.js";
13
13
  import { s as smallSize } from "../../SizeTypes-Ck_RdzIf.js";
14
14
  import "../../NotificationErrorIcon-DMnAJgPN.js";
15
- import "../../styled-DPHfwWsx.js";
15
+ import "../../styled-OqbLiEnJ.js";
16
16
  import "html-react-parser";
17
- import "../../index-GwyCjtti.js";
17
+ import "../../index-C1XkgaO-.js";
18
18
  import "../FootnoteLink/index.js";
19
- import "../../styled-C4eI47I1.js";
20
- import { a as LinkStyled } from "../../index-Cqh8IRpl.js";
19
+ import "../../styled-BvCNTnzN.js";
20
+ import { a as LinkStyled } from "../../index-nhWB8ViX.js";
21
21
  import "../../hooks/useLinkComponent/index.js";
22
22
  import "../InlineLink/index.js";
23
23
  import "uuid";
@@ -26,7 +26,7 @@ import Card from "../Card/index.js";
26
26
  import Image, { aspectRatio16_9, aspectRatio1_1 } from "../Image/index.js";
27
27
  import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
28
28
  import { getSpacing } from "../../foundations/token/getSpacing/index.js";
29
- import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
29
+ import { a as filterProps } from "../../filterProps-xigToTuS.js";
30
30
  import { a as cornerRounded } from "../../CornerStyle-JEbGNArR.js";
31
31
  const discoveryCardOrientationVertical = "vertical";
32
32
  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-Cqh8IRpl.js";
7
+ import { a as LinkStyled } from "../../index-nhWB8ViX.js";
8
8
  import { getSpacing } from "../../foundations/token/getSpacing/index.js";
9
9
  import { s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
10
10
  const DiscoveryCardGroupGridStyled = styled(Grid).withConfig({
@@ -7,7 +7,7 @@ import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js"
7
7
  import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
8
8
  import { j as colorBorderSubtle } from "../../BorderColor-BummoQ1-.js";
9
9
  import { s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
10
- import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
10
+ import { a as filterProps } from "../../filterProps-xigToTuS.js";
11
11
  const DividerLineStyled = styled.hr.withConfig({
12
12
  shouldForwardProp: filterProps(),
13
13
  displayName: "DividerLineStyled",
@@ -8,7 +8,7 @@ import Legend from "../Legend/index.js";
8
8
  import { s as spacingMd } from "../../Spacing-D0HQH9YJ.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-CBnuV0LI.js";
11
+ import { a as filterProps } from "../../filterProps-xigToTuS.js";
12
12
  const FieldsetStyled = styled.fieldset.withConfig({
13
13
  shouldForwardProp: filterProps(),
14
14
  displayName: "FieldsetStyled",
@@ -2,10 +2,10 @@
2
2
  import { jsxs, jsx } from "react/jsx-runtime";
3
3
  import { useState } from "react";
4
4
  import Fieldset from "../Fieldset/index.js";
5
- import { b as iconSizeSm } from "../../styled-DPHfwWsx.js";
5
+ import { b as iconSizeSm } from "../../styled-OqbLiEnJ.js";
6
6
  import styled from "styled-components";
7
7
  import IconLoader from "../IconLoader/index.js";
8
- import { s as screenreaderOnly } from "../../index-GwyCjtti.js";
8
+ import { s as screenreaderOnly } from "../../index-C1XkgaO-.js";
9
9
  import forcedColors from "../../foundations/media-query/forcedColors/index.js";
10
10
  import { getBackgroundColor } from "../../foundations/token/getBackgroundColor/index.js";
11
11
  import { getBodySize } from "../../foundations/token/getBodySize/index.js";
@@ -24,7 +24,7 @@ import { b as colorObjectSelected } from "../../ObjectColor-BZDBuV8H.js";
24
24
  import { a as spacingXs, b as spacingNone, e as spacing2Xs, c as spacingSm } from "../../Spacing-D0HQH9YJ.js";
25
25
  import { t as textBodyMd } from "../../TextBodySize-BcZR9mh2.js";
26
26
  import { a as colorTextNeutral, b as colorTextInverseStatic } from "../../TextColor-DsntmDNw.js";
27
- import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
27
+ import { a as filterProps } from "../../filterProps-xigToTuS.js";
28
28
  const FilterGroupStyled = styled.div.withConfig({
29
29
  shouldForwardProp: filterProps(),
30
30
  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-CPUu8mvT.js";
4
- import { e, d, c, b, f, a } from "../../styled-CPUu8mvT.js";
3
+ import { F as FlexStyled } from "../../styled-DLlpknmo.js";
4
+ import { e, d, c, b, f, a } from "../../styled-DLlpknmo.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 { b as spacingNone } from "../../Spacing-D0HQH9YJ.js";
5
5
  import styled from "styled-components";
6
- import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
6
+ import { a as filterProps } from "../../filterProps-xigToTuS.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-BummoQ1-.js";
9
9
  import { a as borderWidthFocus } from "../../BorderWidth-DfOlyKK7.js";
10
- import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
10
+ import { a as filterProps } from "../../filterProps-xigToTuS.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-GwyCjtti.js";
3
+ import { S as ScreenreaderOnly } from "../../index-C1XkgaO-.js";
4
4
  import styled from "styled-components";
5
5
  import InlineLink from "../InlineLink/index.js";
6
6
  import { getSpacing } from "../../foundations/token/getSpacing/index.js";
@@ -3,7 +3,7 @@ import { jsx } from "react/jsx-runtime";
3
3
  import { b as spacingNone } from "../../Spacing-D0HQH9YJ.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-CBnuV0LI.js";
6
+ import { a as filterProps } from "../../filterProps-xigToTuS.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-CBnuV0LI.js";
8
+ import { a as filterProps } from "../../filterProps-xigToTuS.js";
9
9
  const FormElementStyled = styled.div.withConfig({
10
10
  shouldForwardProp: filterProps(),
11
11
  displayName: "FormElementStyled",
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsx } from "react/jsx-runtime";
3
- import { b as iconSizeSm } from "../../styled-DPHfwWsx.js";
3
+ import { b as iconSizeSm } from "../../styled-OqbLiEnJ.js";
4
4
  import styled from "styled-components";
5
5
  import IconLoader from "../IconLoader/index.js";
6
6
  import forcedColors from "../../foundations/media-query/forcedColors/index.js";
@@ -15,7 +15,7 @@ import { j as colorBorderSubtle } from "../../BorderColor-BummoQ1-.js";
15
15
  import { b as borderRadiusMd, a as borderRadiusNone } from "../../BorderRadius-ClUShVLu.js";
16
16
  import { c as borderWidthSm } from "../../BorderWidth-DfOlyKK7.js";
17
17
  import { c as cornerStraight } from "../../CornerStyle-JEbGNArR.js";
18
- import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
18
+ import { a as filterProps } from "../../filterProps-xigToTuS.js";
19
19
  const MapInner = ({
20
20
  setMap,
21
21
  children
@@ -1,5 +1,11 @@
1
1
  import { FC } from 'react';
2
- import { GridProps } from './props';
2
+ import { GridConfig, GridProps, GridSpacing, GridTag } from './props';
3
+ type GridContextType = {
4
+ tag: GridTag;
5
+ spacing: GridSpacing;
6
+ autoLayout?: GridConfig;
7
+ };
8
+ export declare const GridContext: import('react').Context<GridContextType>;
3
9
  declare const Grid: FC<GridProps>;
4
10
  export default Grid;
5
11
  export * from './props';
@@ -1,39 +1,29 @@
1
1
  "use client";
2
2
  import { jsx } from "react/jsx-runtime";
3
- import { l as liTagName, d as divTagName } from "../../tags-D0ExIPLD.js";
3
+ import { createContext } from "react";
4
+ import { d as divTagName } from "../../tags-D0ExIPLD.js";
4
5
  import { s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
5
- import { Children, cloneElement } from "react";
6
- import { G as GridStyled } from "../../styled-BIc9Gu0G.js";
7
- const autoLayout = (props) => {
8
- if (!props.autoLayout) {
9
- return props.children;
6
+ import { G as GridStyled } from "../../styled-BdlPH_tS.js";
7
+ const GridContext = createContext({
8
+ tag: divTagName,
9
+ spacing: spacingMd,
10
+ autoLayout: {
11
+ sm: 12
10
12
  }
11
- if (props.children && Array.isArray(props.children)) {
12
- return props.children.map((child) => {
13
- return cloneElement(child, {
14
- ...props.autoLayout
15
- });
16
- });
17
- }
18
- if (props.children && !Array.isArray(props.children)) {
19
- return cloneElement(props.children, {
20
- ...props.autoLayout
21
- });
22
- }
23
- };
24
- const inheritTagandSpacingToGridItems = (gridItems, tag, spacing) => {
25
- return Children.map(gridItems, (gridItem) => cloneElement(gridItem, {
26
- tag: tag !== divTagName ? liTagName : divTagName,
27
- spacing
28
- }));
29
- };
13
+ });
30
14
  const Grid = ({
31
15
  tag = divTagName,
32
16
  spacing = spacingMd,
17
+ autoLayout,
33
18
  ...props
34
19
  }) => {
35
- return /* @__PURE__ */ jsx(GridStyled, { ...props, as: tag, spacing, children: inheritTagandSpacingToGridItems(autoLayout(props), tag, spacing) });
20
+ return /* @__PURE__ */ jsx(GridContext, { value: {
21
+ tag,
22
+ spacing,
23
+ autoLayout
24
+ }, children: /* @__PURE__ */ jsx(GridStyled, { ...props, as: tag, spacing, children: props.children }) });
36
25
  };
37
26
  export {
27
+ GridContext,
38
28
  Grid as default
39
29
  };
@@ -1,12 +1,18 @@
1
1
  "use client";
2
2
  import { jsx } from "react/jsx-runtime";
3
- import { d as divTagName } from "../../tags-D0ExIPLD.js";
4
- import { G as GridItemStyled } from "../../styled-a-XazLSM.js";
3
+ import { useContext } from "react";
4
+ import { l as liTagName, d as divTagName, u as ulTagName } from "../../tags-D0ExIPLD.js";
5
+ import { GridContext } from "../Grid/index.js";
6
+ import { G as GridItemStyled } from "../../styled-Coxn39x5.js";
5
7
  const GridItem = ({
6
8
  sm = 12,
7
- tag = divTagName,
8
9
  ...props
9
- }) => /* @__PURE__ */ jsx(GridItemStyled, { ...props, as: tag, sm, children: props.children });
10
+ }) => {
11
+ const gridTag = useContext(GridContext).tag;
12
+ const gridSpacing = useContext(GridContext).spacing;
13
+ const gridAutoLayout = useContext(GridContext).autoLayout;
14
+ return /* @__PURE__ */ jsx(GridItemStyled, { ...props, as: gridTag !== ulTagName ? liTagName : divTagName, spacing: gridSpacing, sm, ...gridAutoLayout, children: props.children });
15
+ };
10
16
  export {
11
17
  GridItem as default
12
18
  };
@@ -11,7 +11,7 @@ import { getHeadingSize } from "../../foundations/token/getHeadingSize/index.js"
11
11
  import { getTextColor } from "../../foundations/token/getTextColor/index.js";
12
12
  import { f as fontWeightBold, b as fontWeightLight } from "../../FontWeight-DEBGHbtO.js";
13
13
  import { a as colorTextNeutral } from "../../TextColor-DsntmDNw.js";
14
- import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
14
+ import { a as filterProps } from "../../filterProps-xigToTuS.js";
15
15
  const headingAlignLeft = "left";
16
16
  const headingAlignCenter = "center";
17
17
  const mapHeadingSizeToFontWeight = {
@@ -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 { s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
6
- import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
6
+ import { a as filterProps } from "../../filterProps-xigToTuS.js";
7
7
  import { g as getCssVar } from "../../getCssVar-BP6T9pFM.js";
8
8
  const IconStyled = styled.img.withConfig({
9
9
  shouldForwardProp: filterProps(),