@vodafone_de/brix-components 7.0.8 → 7.0.9

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 (178) hide show
  1. package/README.md +0 -1
  2. package/dist/{FontWeight-CR22KTex.js → FontWeight-DEBGHbtO.js} +2 -2
  3. package/dist/NotificationErrorIcon-DMnAJgPN.js +83 -0
  4. package/dist/_5gPlusIcon-B_69VW4X.js +19443 -0
  5. package/dist/components/Accordion/index.js +6 -3
  6. package/dist/components/Accordion/props.d.ts +1 -1
  7. package/dist/components/Accordion/styled.d.ts +1 -1
  8. package/dist/components/AccordionGroup/index.js +1 -1
  9. package/dist/components/Badge/index.js +3 -2
  10. package/dist/components/Badge/props.d.ts +1 -1
  11. package/dist/components/Body/index.js +2 -2
  12. package/dist/components/Body/props.d.ts +1 -1
  13. package/dist/components/BottomBar/index.js +3 -3
  14. package/dist/components/Button/index.js +2 -2
  15. package/dist/components/Button/styled.d.ts +1 -1
  16. package/dist/components/ButtonAsLink/index.js +3 -1
  17. package/dist/components/ButtonAsLink/styled.d.ts +1 -1
  18. package/dist/components/ButtonGroup/index.js +4 -4
  19. package/dist/components/ButtonGroup/props.d.ts +1 -1
  20. package/dist/components/Card/index.js +3 -3
  21. package/dist/components/Card/props.d.ts +2 -2
  22. package/dist/components/Carousel/components/CarouselContext.d.ts +2 -3
  23. package/dist/components/Carousel/components/CarouselNavigation.d.ts +0 -2
  24. package/dist/components/Carousel/index.js +58 -47
  25. package/dist/components/Checkbox/index.js +3 -2
  26. package/dist/components/CheckboxGroup/index.js +2 -2
  27. package/dist/components/Collapsible/index.js +1 -1
  28. package/dist/components/ColorSwatch/index.js +2 -2
  29. package/dist/components/ColorSwatchGroup/index.js +4 -4
  30. package/dist/components/ColorSwatchGroup/props.d.ts +1 -1
  31. package/dist/components/ConsentMessage/index.js +1 -1
  32. package/dist/components/ConsentMessage/styled.d.ts +1 -1
  33. package/dist/components/Container/index.js +3 -2
  34. package/dist/components/Container/props.d.ts +12 -1
  35. package/dist/components/DateInput/index.js +4 -2
  36. package/dist/components/DateInput/styled.d.ts +1 -2
  37. package/dist/components/DemoBox/index.js +5 -3
  38. package/dist/components/Dialog/index.js +4 -4
  39. package/dist/components/Dialog/styled.d.ts +1 -1
  40. package/dist/components/DiscoveryCard/components/DiscoveryCardLinkedImage.d.ts +1 -1
  41. package/dist/components/DiscoveryCard/index.js +21 -12
  42. package/dist/components/DiscoveryCard/props.d.ts +3 -3
  43. package/dist/components/DiscoveryCard/styled.d.ts +2 -2
  44. package/dist/components/DiscoveryCardGroup/index.js +1 -1
  45. package/dist/components/Divider/index.js +1 -1
  46. package/dist/components/Fieldset/index.js +2 -2
  47. package/dist/components/FilterGroup/index.js +4 -3
  48. package/dist/components/FilterGroup/props.d.ts +1 -1
  49. package/dist/components/FilterGroup/styled.d.ts +1 -1
  50. package/dist/components/Flex/index.js +2 -2
  51. package/dist/components/FlexItem/index.js +1 -1
  52. package/dist/components/FootnoteContent/index.js +1 -1
  53. package/dist/components/FootnoteLink/index.js +10 -2
  54. package/dist/components/Form/index.js +1 -1
  55. package/dist/components/FormElement/index.js +1 -1
  56. package/dist/components/FormHelperStatusIcon/index.d.ts +1 -1
  57. package/dist/components/FormHelperStatusIcon/index.js +2 -1
  58. package/dist/components/FormHelperStatusIcon/styled.d.ts +1 -1
  59. package/dist/components/GoogleMap/components/Map/props.d.ts +1 -1
  60. package/dist/components/GoogleMap/index.js +2 -2
  61. package/dist/components/GoogleMap/styled.d.ts +1 -1
  62. package/dist/components/Grid/index.js +2 -2
  63. package/dist/components/Grid/props.d.ts +3 -3
  64. package/dist/components/GridItem/index.js +2 -2
  65. package/dist/components/GridItem/props.d.ts +2 -2
  66. package/dist/components/Heading/index.js +3 -10
  67. package/dist/components/HifiIcon/index.js +1 -1
  68. package/dist/components/HifiIcon/props.d.ts +2 -1
  69. package/dist/components/Icon/index.d.ts +2 -2
  70. package/dist/components/Icon/index.js +1 -3
  71. package/dist/components/Icon/props.d.ts +1 -2
  72. package/dist/components/IconButton/index.js +4 -3
  73. package/dist/components/IconButton/props.d.ts +1 -1
  74. package/dist/components/IconLoader/index.d.ts +9 -0
  75. package/dist/components/IconLoader/index.js +655 -0
  76. package/dist/components/IconLoader/props.d.ts +23 -0
  77. package/dist/components/IconSnippet/index.js +10 -11
  78. package/dist/components/IconSnippet/props.d.ts +2 -2
  79. package/dist/components/IconSnippet/styled.d.ts +2 -2
  80. package/dist/components/IconSnippetList/index.js +1 -1
  81. package/dist/components/Image/index.js +1 -1
  82. package/dist/components/ImageHeader/index.js +7 -7
  83. package/dist/components/ImageHeader/props.d.ts +3 -3
  84. package/dist/components/ImageHeader/styled.d.ts +4 -4
  85. package/dist/components/InlineIcon/index.d.ts +6 -0
  86. package/dist/components/InlineIcon/index.js +35 -0
  87. package/dist/components/InlineIcon/props.d.ts +42 -0
  88. package/dist/components/InlineIcon/styled.d.ts +4 -0
  89. package/dist/components/InlineLink/index.js +19 -7
  90. package/dist/components/InlineLink/styled.d.ts +1 -1
  91. package/dist/components/Input/index.js +1 -1
  92. package/dist/components/Label/index.js +1 -1
  93. package/dist/components/Legend/index.js +1 -1
  94. package/dist/components/Link/index.js +8 -3
  95. package/dist/components/Link/styled.d.ts +1 -1
  96. package/dist/components/LinkAsButton/index.js +1 -1
  97. package/dist/components/LinkList/index.js +4 -4
  98. package/dist/components/LinkListItem/index.js +40 -28
  99. package/dist/components/LinkListItem/props.d.ts +2 -2
  100. package/dist/components/LinkListItem/styled.d.ts +974 -3
  101. package/dist/components/LoadingSpinner/index.js +12 -5
  102. package/dist/components/MediaText/index.d.ts +5 -0
  103. package/dist/components/MediaText/index.js +121 -0
  104. package/dist/components/MediaText/props.d.ts +42 -0
  105. package/dist/components/MediaText/styled.d.ts +4 -0
  106. package/dist/components/Notification/index.js +4 -3
  107. package/dist/components/Notification/notificationStatusVariants.d.ts +1 -1
  108. package/dist/components/Overlay/index.js +1 -1
  109. package/dist/components/PickerGroup/components/Picker/props.d.ts +6 -4
  110. package/dist/components/PickerGroup/components/PickerElementIcon/index.d.ts +1 -1
  111. package/dist/components/PickerGroup/components/PickerElementIcon/styled.d.ts +1 -1
  112. package/dist/components/PickerGroup/index.js +6 -5
  113. package/dist/components/Price/index.js +2 -4
  114. package/dist/components/Price/props.d.ts +1 -9
  115. package/dist/components/Price/styled.d.ts +1 -1
  116. package/dist/components/ProductCard/index.js +8 -8
  117. package/dist/components/ProductCard/styled.d.ts +1 -1
  118. package/dist/components/RadioGroup/index.js +1 -1
  119. package/dist/components/Rating/assets/StarSVG.d.ts +3 -0
  120. package/dist/components/Rating/index.d.ts +6 -0
  121. package/dist/components/Rating/index.js +153 -0
  122. package/dist/components/Rating/props.d.ts +22 -0
  123. package/dist/components/Rating/styled.d.ts +6 -0
  124. package/dist/components/ResponsiveImage/index.js +1 -1
  125. package/dist/components/RichText/index.js +1 -1
  126. package/dist/components/ScreenreaderOnly/index.js +1 -1
  127. package/dist/components/SearchInput/index.d.ts +2 -1
  128. package/dist/components/SearchInput/index.js +27 -26
  129. package/dist/components/SearchInput/props.d.ts +2 -1
  130. package/dist/components/SearchInput/styled.d.ts +3 -6
  131. package/dist/components/SelectInput/index.js +4 -2
  132. package/dist/components/Stepper/index.js +3 -3
  133. package/dist/components/SuggestInput/index.js +5 -4
  134. package/dist/components/SuggestInput/props.d.ts +1 -1
  135. package/dist/components/SuggestInput/styled.d.ts +2 -2
  136. package/dist/components/Switch/index.js +4 -3
  137. package/dist/components/TabularPrice/index.js +2 -2
  138. package/dist/components/TextList/index.js +2 -2
  139. package/dist/components/Textarea/index.js +1 -1
  140. package/dist/components/Textarea/styled.d.ts +1 -1
  141. package/dist/components/TimeInput/index.js +5 -3
  142. package/dist/components/TimeInput/styled.d.ts +1 -4
  143. package/dist/components/Tray/index.js +2 -2
  144. package/dist/components/Tray/props.d.ts +1 -1
  145. package/dist/components/YoutubeVideo/index.js +1 -2
  146. package/dist/components/YoutubeVideo/props.d.ts +1 -1
  147. package/dist/filterProps-CBnuV0LI.js +17 -0
  148. package/dist/foundations/GlobalStyle/index.js +2 -2
  149. package/dist/foundations/tags.d.ts +2 -0
  150. package/dist/foundations/types/PositionedIconInterface.d.ts +1 -1
  151. package/dist/foundations/types/SystemIconWithPosition.d.ts +1 -1
  152. package/dist/hooks/useLinkComponent/index.d.ts +11 -0
  153. package/dist/hooks/useLinkComponent/index.js +11 -0
  154. package/dist/hooks/useViewport/index.js +5 -22
  155. package/dist/icons/index.js +323 -340
  156. package/dist/{index-BeSd-V81.js → index-9io8adeQ.js} +3 -3
  157. package/dist/{index-ZHkR70j3.js → index-BdPmdY9v.js} +4 -3
  158. package/dist/{index-C5GzK6_0.js → index-Cqh8IRpl.js} +18 -8
  159. package/dist/index-Cs0Hw0dj.js +25 -0
  160. package/dist/{index-DQhtQZ85.js → index-GwyCjtti.js} +1 -1
  161. package/dist/{index-aUJfXBUI.js → index-TImInHXt.js} +5 -26
  162. package/dist/{index-C7meHOM4.js → index-hMlQuoyx.js} +36 -14
  163. package/dist/index.d.ts +9 -0
  164. package/dist/index.js +162 -133
  165. package/dist/{styled-ZpQohvyx.js → styled-BIc9Gu0G.js} +1 -1
  166. package/dist/{styled-BSqC5P9h.js → styled-C4eI47I1.js} +4 -4
  167. package/dist/{styled-DMUiOi24.js → styled-CFTspqJH.js} +2 -2
  168. package/dist/{styled-B0YKfXTz.js → styled-CPUu8mvT.js} +1 -1
  169. package/dist/{styled-03irSJOQ.js → styled-Cep52hpR.js} +1 -1
  170. package/dist/{styled-ODPFCF1a.js → styled-Cq-UMAjp.js} +1 -1
  171. package/dist/{styled-CYugcGtx.js → styled-DINwm57V.js} +1 -1
  172. package/dist/styled-DPHfwWsx.js +78 -0
  173. package/dist/{styled-Cqp2oSjW.js → styled-a-XazLSM.js} +3 -3
  174. package/dist/{tags-DI6H1biK.js → tags-D0ExIPLD.js} +4 -2
  175. package/package.json +1 -1
  176. package/dist/components/Carousel/utils/useScrollSpy.d.ts +0 -2
  177. package/dist/filterProps-Cewck8OH.js +0 -13
  178. package/dist/index-Cbojl4_Q.js +0 -7134
@@ -1,8 +1,11 @@
1
1
  "use client";
2
2
  import { jsxs, jsx } from "react/jsx-runtime";
3
- import { bf as ChevronDownIcon, df as IconLoader, iu as iconSizeMd } from "../../index-Cbojl4_Q.js";
4
3
  import { useRef, useState, useEffect } from "react";
5
4
  import Collapsible from "../Collapsible/index.js";
5
+ import IconLoader from "../IconLoader/index.js";
6
+ import { c as iconSizeMd } from "../../styled-DPHfwWsx.js";
7
+ import "../../NotificationErrorIcon-DMnAJgPN.js";
8
+ import { bf as ChevronDownIcon } from "../../_5gPlusIcon-B_69VW4X.js";
6
9
  import styled from "styled-components";
7
10
  import Heading from "../Heading/index.js";
8
11
  import forcedColors from "../../foundations/media-query/forcedColors/index.js";
@@ -16,10 +19,10 @@ import { getSpacing } from "../../foundations/token/getSpacing/index.js";
16
19
  import { getTextColor } from "../../foundations/token/getTextColor/index.js";
17
20
  import { j as colorBorderSubtle, c as colorBorderFocus } from "../../BorderColor-BummoQ1-.js";
18
21
  import { f as borderWidthNone, b as borderWidthUnselected, a as borderWidthFocus } from "../../BorderWidth-DfOlyKK7.js";
19
- import { b as fontWeightRegular, f as fontWeightBold } from "../../FontWeight-CR22KTex.js";
22
+ import { a as fontWeightRegular, f as fontWeightBold } from "../../FontWeight-DEBGHbtO.js";
20
23
  import { s as spacingMd, b as spacingNone, a as spacingXs } from "../../Spacing-D0HQH9YJ.js";
21
24
  import { a as colorTextNeutral, f as colorTextBrand } from "../../TextColor-DsntmDNw.js";
22
- import { f as filterProps } from "../../filterProps-Cewck8OH.js";
25
+ import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
23
26
  const accordionToggleExpanded = "expanded";
24
27
  const accordionToggleCollapsing = "collapsing";
25
28
  const accordionToggleCollapsed = "collapsed";
@@ -1,4 +1,4 @@
1
- import { IconName } from '@vfde-react/inline-icon-library';
1
+ import { IconName } from '@vfde-react/inline-icon-library/IconName';
2
2
  import { HTMLAttributes, ReactNode } from 'react';
3
3
  import { HeadingProps } from '../Heading/props';
4
4
  import { PatternProps } from '../../foundations/PatternProps';
@@ -3,4 +3,4 @@ import { AccordionProps } from './props';
3
3
  export declare const AccordionStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').DetailsHTMLAttributes<HTMLDetailsElement>, HTMLDetailsElement>, Omit<AccordionProps, "heading" | "uid">>> & string;
4
4
  export declare const AccordionSummaryStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, Omit<AccordionProps, "heading" | "uid">>> & string;
5
5
  export declare const AccordionHeadingStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<HeadingProps, HeadingProps>> & string & Omit<import('react').FC<HeadingProps>, keyof import('react').Component<any, {}, any>>;
6
- export declare const AccordionOpenIndicatorStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('@vfde-react/inline-icon-library').InlineIconProps, never>> & string & Omit<import('react').FC<import('@vfde-react/inline-icon-library').InlineIconProps>, keyof import('react').Component<any, {}, any>>;
6
+ export declare const AccordionOpenIndicatorStyled: import('styled-components/dist/types').IStyledComponentBase<"web", any> & string & Omit<import('react').FC<InlineIconProps>, keyof import('react').Component<any, {}, any>>;
@@ -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 { f as filterProps } from "../../filterProps-Cewck8OH.js";
8
+ import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
9
9
  const AccordionGroupSingleExpand = ({
10
10
  bottomSpacing = spacingMd,
11
11
  ...props
@@ -1,10 +1,11 @@
1
1
  "use client";
2
2
  import "react/jsx-runtime";
3
- import "../../index-Cbojl4_Q.js";
3
+ import "../IconLoader/index.js";
4
+ import "../../styled-DPHfwWsx.js";
4
5
  import "../../Spacing-D0HQH9YJ.js";
5
6
  import "../../SizeTypes-Ck_RdzIf.js";
6
7
  import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
7
- import { a, B } from "../../index-ZHkR70j3.js";
8
+ import { a, B } from "../../index-BdPmdY9v.js";
8
9
  export {
9
10
  a as BadgeAppearanceColor,
10
11
  B as default
@@ -1,4 +1,4 @@
1
- import { IconName } from '@vfde-react/inline-icon-library';
1
+ import { IconName } from '@vfde-react/inline-icon-library/IconName';
2
2
  import { HTMLAttributes } from 'react';
3
3
  import { PatternProps } from '../../foundations/PatternProps';
4
4
  import { ObjectColor } from '../../foundations/token/types/ObjectColor';
@@ -8,9 +8,9 @@ import { getBodySize } from "../../foundations/token/getBodySize/index.js";
8
8
  import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
9
9
  import { getFontWeight } from "../../foundations/token/getFontWeight/index.js";
10
10
  import { getTextColor } from "../../foundations/token/getTextColor/index.js";
11
- import { f as fontWeightBold } from "../../FontWeight-CR22KTex.js";
11
+ import { f as fontWeightBold } from "../../FontWeight-DEBGHbtO.js";
12
12
  import { a as colorTextNeutral } from "../../TextColor-DsntmDNw.js";
13
- import { f as filterProps } from "../../filterProps-Cewck8OH.js";
13
+ import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
14
14
  const BodyStyled = styled.p.withConfig({
15
15
  shouldForwardProp: filterProps(),
16
16
  displayName: "BodyStyled",
@@ -15,7 +15,7 @@ export interface BodyProps extends PatternProps, HTMLAttributes<HTMLParagraphEle
15
15
  */
16
16
  size?: TextBodySize;
17
17
  /**
18
- * font weight can be light, regular or bold. if strong is used as a tag, bold is always used
18
+ * font weight can be light, regular or bold. if strong is used as a tag, weight is ignored and Body is always bold
19
19
  */
20
20
  weight?: FontWeight;
21
21
  /**
@@ -1,14 +1,14 @@
1
1
  "use client";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import { useRef, useState, useEffect } from "react";
4
- import { s as spacingMd, b as spacingNone } from "../../Spacing-D0HQH9YJ.js";
5
4
  import Container from "../Container/index.js";
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-CYugcGtx.js";
7
+ import { a as CardStyled } from "../../styled-DINwm57V.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 { f as filterProps } from "../../filterProps-Cewck8OH.js";
11
+ import { a as filterProps } from "../../filterProps-CBnuV0LI.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-hMlQuoyx.js";
3
4
  import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
4
- import { B as ButtonAsLink, g as getButtonIcon } from "../../index-C7meHOM4.js";
5
- import { B as ButtonStyled } from "../../styled-BSqC5P9h.js";
5
+ import { B as ButtonStyled } from "../../styled-C4eI47I1.js";
6
6
  const buttonFullWidth = "full";
7
7
  const buttonAutoWidth = "auto";
8
8
  const isButtonAsLinkProp = (props) => {
@@ -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('@vfde-react/inline-icon-library').IconLoaderProps, SvgInlineIconFactoryPropsWithPosition>> & string & Omit<import('react').FC<import('@vfde-react/inline-icon-library').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<import('../IconLoader').IconLoaderProps, SvgInlineIconFactoryPropsWithPosition>> & string & Omit<import('react').FC<import('../IconLoader').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,6 +1,8 @@
1
1
  "use client";
2
2
  import "react/jsx-runtime";
3
- import { B } from "../../index-C7meHOM4.js";
3
+ import { B } from "../../index-hMlQuoyx.js";
4
+ import "../../hooks/useLinkComponent/index.js";
5
+ import "../../filterProps-CBnuV0LI.js";
4
6
  import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
5
7
  export {
6
8
  B as default
@@ -1,2 +1,2 @@
1
1
  import { ButtonAsLinkProps } from './props';
2
- export declare const ButtonAsLinkStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, ButtonAsLinkProps>> & string;
2
+ export declare const ButtonAsLinkStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, ButtonAsLinkProps>> & string;
@@ -1,17 +1,17 @@
1
1
  "use client";
2
- import { jsx, Fragment } from "react/jsx-runtime";
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-B0YKfXTz.js";
5
+ import { f as flexOrientationHorizontal, b as flexJustifyStart } from "../../styled-CPUu8mvT.js";
6
6
  import FlexItem from "../FlexItem/index.js";
7
7
  import { c as spacingSm, s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
8
- import { useViewport } from "../../hooks/useViewport/index.js";
8
+ import { u as useViewport } from "../../index-Cs0Hw0dj.js";
9
9
  const renderButtons = (buttons, isMobile, isReversed = false) => {
10
10
  if (!isMobile && isReversed) {
11
11
  buttons = buttons.slice().reverse();
12
12
  }
13
13
  return buttons.map((button) => {
14
- return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(FlexItem, { as: "li", grow: isMobile ? "auto" : void 0, bottomSpacing: "None", children: /* @__PURE__ */ jsx(Button, { ...button, bottomSpacing: "None", width: isMobile ? "full" : button.width, children: button.children }, button.uid) }, button.uid) });
14
+ return /* @__PURE__ */ jsx(FlexItem, { as: "li", grow: isMobile ? "auto" : void 0, bottomSpacing: "None", children: /* @__PURE__ */ jsx(Button, { ...button, bottomSpacing: "None", width: isMobile ? "full" : button.width, children: button.children }, button.uid) }, button.uid);
15
15
  });
16
16
  };
17
17
  const ButtonGroup = ({
@@ -9,7 +9,7 @@ export interface ButtonGroupProps extends PatternProps, HTMLAttributes<HTMLDivEl
9
9
  */
10
10
  component?: 'ButtonGroup';
11
11
  /**
12
- * if orientation is vertical
12
+ * if orientation is horizontal,
13
13
  * passed to flex as justify if viewport is tablet or larger
14
14
  * mobile is always rendered with justify-start
15
15
  */
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { jsx } from "react/jsx-runtime";
3
- import { d as divTagName } from "../../tags-DI6H1biK.js";
4
- import { a as CardStyled } from "../../styled-CYugcGtx.js";
5
- import { C } from "../../styled-CYugcGtx.js";
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";
6
6
  const Card = ({
7
7
  children,
8
8
  className,
@@ -1,11 +1,11 @@
1
1
  import { HTMLAttributes, ReactNode } from 'react';
2
2
  import { PatternProps } from '../../foundations/PatternProps';
3
- import { articleTagName, asideTagName, divTagName, sectionTagName, spanTagName } from '../../foundations/tags';
3
+ import { articleTagName, asideTagName, divTagName, mainTagName, navTagName, sectionTagName, spanTagName } from '../../foundations/tags';
4
4
  import { BackgroundColor } from '../../foundations/token/types/BackgroundColor';
5
5
  import { Theme } from '../../foundations/types/Theme';
6
6
  export type CardAppearance = 'primary' | 'secondary';
7
7
  export declare const CardAppearanceColor: Record<CardAppearance, BackgroundColor>;
8
- export type CardTag = typeof divTagName | typeof sectionTagName | typeof articleTagName | typeof asideTagName | typeof spanTagName;
8
+ export type CardTag = typeof divTagName | typeof sectionTagName | typeof articleTagName | typeof asideTagName | typeof spanTagName | typeof navTagName | typeof mainTagName;
9
9
  export interface CardProps extends PatternProps, HTMLAttributes<HTMLElement> {
10
10
  /**
11
11
  * Card item content
@@ -1,4 +1,4 @@
1
- import { FC, MutableRefObject } from 'react';
1
+ import { FC, RefObject } from 'react';
2
2
  import { CarouselRuntimeProps } from '../props';
3
3
  /**
4
4
  * Can either be false to indicate that no button should be rendered
@@ -6,8 +6,7 @@ import { CarouselRuntimeProps } from '../props';
6
6
  */
7
7
  export type CarouselButton = (() => void) | false;
8
8
  export type CarouselState = {
9
- ref: MutableRefObject<HTMLDivElement> | undefined;
10
- visibleItems: number;
9
+ ref: RefObject<HTMLDivElement> | undefined;
11
10
  interactive: number[];
12
11
  goPrev: CarouselButton;
13
12
  goNext: CarouselButton;
@@ -3,5 +3,3 @@ import { CarouselProps } from '../props';
3
3
  type CarouselNavigationProps = Pick<CarouselProps, 'uid' | 'screenReaderInstruction' | 'prevAriaLabel' | 'nextAriaLabel'>;
4
4
  declare const CarouselNavigation: FC<CarouselNavigationProps>;
5
5
  export default CarouselNavigation;
6
- export * from '../props';
7
- export * from '../styled';
@@ -3,12 +3,12 @@ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
3
3
  import "@af-utils/scrollend-polyfill";
4
4
  import { createContext, useRef, useState, useEffect, useContext, createElement } from "react";
5
5
  import { useFocusWithin } from "../../hooks/useFocusWithin/index.js";
6
- import { l as liTagName, u as ulTagName } from "../../tags-DI6H1biK.js";
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-CYugcGtx.js";
10
- import { G as GridStyled } from "../../styled-ZpQohvyx.js";
11
- import { G as GridItemStyled } from "../../styled-Cqp2oSjW.js";
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";
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 { f as filterProps } from "../../filterProps-Cewck8OH.js";
19
+ import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
20
20
  import IconButton from "../IconButton/index.js";
21
- import { S as ScreenreaderOnly } from "../../index-DQhtQZ85.js";
21
+ import { S as ScreenreaderOnly } from "../../index-GwyCjtti.js";
22
22
  const getItems = (items, loop) => {
23
23
  const normalizedItems = [...items].map((item, index) => ({
24
24
  ...item,
@@ -78,7 +78,6 @@ const scrollTo = (element, left, behavior = "smooth") => {
78
78
  };
79
79
  const initialState = {
80
80
  ref: void 0,
81
- visibleItems: 1,
82
81
  interactive: [0],
83
82
  goPrev: false,
84
83
  goNext: false,
@@ -99,56 +98,57 @@ const CarouselProvider = ({
99
98
  const [scrollSpyIndex, setScrollSpyIndex] = useState(void 0);
100
99
  const [interactive, setInteractive] = useState([]);
101
100
  const [needsFirstPosition, setNeedsFirstPosition] = useState(activeIndex !== 0);
102
- const [itemWidth, setItemWidth] = useState(0);
103
- const [visibleItems, setVisibleItems] = useState(1);
101
+ const [carouselLayoutedAttributes, setCarouselLayoutedAttributes] = useState(void 0);
104
102
  const [goPrev, setGoPrev] = useState(false);
105
103
  const [goNext, setGoNext] = useState(false);
106
104
  const [numberOfIndicators, setNumberOfIndicators] = useState(0);
107
105
  const [activeIndicator, setActiveIndicator] = useState(props.items[props.activeIndex].index);
106
+ const getCarouselLayoutedAttributes = () => {
107
+ const carouselElement = ref.current;
108
+ if (!carouselElement) {
109
+ return;
110
+ }
111
+ const itemWidth = carouselElement.querySelector("[data-carousel-item]").offsetWidth;
112
+ const track = carouselElement.offsetWidth;
113
+ const numberOfItemsThatFitOnTrack = Math.floor(track / itemWidth);
114
+ const visibleItems = Math.min(numberOfItemsThatFitOnTrack, props.items.length);
115
+ if ((carouselLayoutedAttributes == null ? void 0 : carouselLayoutedAttributes.itemWidth) !== itemWidth || (carouselLayoutedAttributes == null ? void 0 : carouselLayoutedAttributes.visibleItems) !== visibleItems) {
116
+ setCarouselLayoutedAttributes({
117
+ itemWidth,
118
+ visibleItems
119
+ });
120
+ }
121
+ };
108
122
  useEffect(() => {
123
+ if (!carouselLayoutedAttributes) {
124
+ return;
125
+ }
109
126
  if (loop) {
110
127
  const update = props.items.filter((item) => !item.ghost).length;
111
128
  setNumberOfIndicators(update);
112
129
  } else {
113
- const update = props.items.filter((item) => !item.ghost).length - visibleItems + 1;
130
+ const update = props.items.filter((item) => !item.ghost).length - carouselLayoutedAttributes.visibleItems + 1;
114
131
  setNumberOfIndicators(update);
115
132
  }
116
- }, [loop, visibleItems, props.items]);
133
+ }, [loop, carouselLayoutedAttributes, props.items]);
117
134
  useEffect(() => {
118
- if (!(ref == null ? void 0 : ref.current)) {
119
- return;
120
- }
121
- if (!itemWidth) {
135
+ if (!carouselLayoutedAttributes) {
122
136
  return;
123
137
  }
124
- const track = ref == null ? void 0 : ref.current.offsetWidth;
125
- setVisibleItems(Math.floor(track / itemWidth));
126
- }, [itemWidth]);
127
- useEffect(() => {
128
- let updateInteractive = [...Array(visibleItems).keys()].map((i) => activeIndex + i);
138
+ let updateInteractive = [...Array(carouselLayoutedAttributes.visibleItems).keys()].map((i) => activeIndex + i);
129
139
  if (focus) {
130
140
  updateInteractive = [...Array(props.items.length).keys()];
131
141
  }
132
142
  setInteractive(updateInteractive);
133
- }, [focus, activeIndex, visibleItems, props.items]);
143
+ }, [focus, activeIndex, carouselLayoutedAttributes, props.items]);
134
144
  useEffect(() => {
135
145
  if (!(ref == null ? void 0 : ref.current)) {
136
146
  return;
137
147
  }
138
- const handleResize = () => {
139
- if (!window) {
140
- return;
141
- }
142
- if (!(ref == null ? void 0 : ref.current)) {
143
- return;
144
- }
145
- const itemWidth2 = ref.current.querySelector("[data-carousel-item]").offsetWidth;
146
- setItemWidth(itemWidth2);
147
- };
148
- window.addEventListener("resize", handleResize);
149
- handleResize();
148
+ window.addEventListener("resize", getCarouselLayoutedAttributes);
149
+ getCarouselLayoutedAttributes();
150
150
  return () => {
151
- window.removeEventListener("resize", handleResize);
151
+ window.removeEventListener("resize", getCarouselLayoutedAttributes);
152
152
  };
153
153
  }, [ref.current]);
154
154
  useEffect(() => {
@@ -156,25 +156,31 @@ const CarouselProvider = ({
156
156
  if (!(ref == null ? void 0 : ref.current)) {
157
157
  return;
158
158
  }
159
- if (!itemWidth) {
159
+ if (!carouselLayoutedAttributes) {
160
160
  return;
161
161
  }
162
162
  const handleScroll = (event) => {
163
+ if (!carouselLayoutedAttributes) {
164
+ return;
165
+ }
163
166
  const left = event.target.scrollLeft;
164
- const ucurrent = getItemByScroll(left - itemWidth / 2, itemWidth, props.items);
167
+ const ucurrent = getItemByScroll(left - carouselLayoutedAttributes.itemWidth / 2, carouselLayoutedAttributes.itemWidth, props.items);
165
168
  setScrollSpyIndex(ucurrent);
166
169
  };
167
170
  const handleScrollend = (event) => {
171
+ if (!carouselLayoutedAttributes) {
172
+ return;
173
+ }
168
174
  const left = event.target.scrollLeft;
169
- let updateActiveIndex = getItemByScroll(left - itemWidth / 2, itemWidth, props.items);
175
+ let updateActiveIndex = getItemByScroll(left - carouselLayoutedAttributes.itemWidth / 2, carouselLayoutedAttributes.itemWidth, props.items);
170
176
  if (loop) {
171
177
  const ghosts = [];
172
- for (let i = 0, x = visibleItems; i < x; i += 1) {
178
+ for (let i = 0, x = carouselLayoutedAttributes.visibleItems; i < x; i += 1) {
173
179
  ghosts.push(props.items[i + updateActiveIndex].ghost);
174
180
  }
175
181
  if (!ghosts.includes(false)) {
176
182
  updateActiveIndex = props.items.findIndex((item) => item.index === props.items[updateActiveIndex].index && !item.ghost);
177
- const left2 = updateActiveIndex * itemWidth;
183
+ const left2 = updateActiveIndex * carouselLayoutedAttributes.itemWidth;
178
184
  const behavior = "instant";
179
185
  scrollTo(ref.current, left2, behavior);
180
186
  }
@@ -192,31 +198,34 @@ const CarouselProvider = ({
192
198
  (_a2 = ref.current) == null ? void 0 : _a2.removeEventListener("scroll", handleScroll);
193
199
  (_b2 = ref.current) == null ? void 0 : _b2.removeEventListener("scrollend", handleScrollend);
194
200
  };
195
- }, [ref.current, itemWidth, visibleItems, props.items]);
201
+ }, [ref.current, carouselLayoutedAttributes, props.items]);
196
202
  useEffect(() => {
197
203
  if (!ref.current) {
198
204
  return;
199
205
  }
206
+ if (!carouselLayoutedAttributes) {
207
+ return;
208
+ }
200
209
  if (scrollSpyIndex) {
201
210
  return;
202
211
  }
203
212
  if (activeIndex === scrollSpyIndex) {
204
213
  return;
205
214
  }
206
- const left = activeIndex * itemWidth;
215
+ const left = activeIndex * carouselLayoutedAttributes.itemWidth;
207
216
  const behavior = needsFirstPosition ? "instant" : "smooth";
208
217
  scrollTo(ref.current, left, behavior);
209
- }, [activeIndex, scrollSpyIndex, ref.current, itemWidth]);
218
+ }, [activeIndex, scrollSpyIndex, ref.current, carouselLayoutedAttributes]);
210
219
  useEffect(() => {
211
- if (!props.onUpdate) {
220
+ if (!props.onUpdate || !carouselLayoutedAttributes) {
212
221
  return;
213
222
  }
214
223
  const visibleIndexes = [];
215
- for (let i = 0, x = visibleItems; i < x; i += 1) {
224
+ for (let i = 0, x = carouselLayoutedAttributes.visibleItems; i < x; i += 1) {
216
225
  visibleIndexes.push(props.items[i + activeIndex].index);
217
226
  }
218
227
  props.onUpdate(visibleIndexes);
219
- }, [activeIndex]);
228
+ }, [activeIndex, carouselLayoutedAttributes]);
220
229
  const movePrev = () => {
221
230
  const prev = activeIndex > 0 ? activeIndex - 1 : props.items.length - 1;
222
231
  setActiveIndex(prev);
@@ -241,7 +250,6 @@ const CarouselProvider = ({
241
250
  return /* @__PURE__ */ jsx(CarouselContext.Provider, { value: {
242
251
  state: {
243
252
  ref,
244
- visibleItems,
245
253
  interactive,
246
254
  goPrev,
247
255
  goNext,
@@ -403,7 +411,7 @@ const CarouselIndicator = () => {
403
411
  activeIndicator
404
412
  }
405
413
  } = useContext(CarouselContext);
406
- if (!numberOfIndicators) {
414
+ if (!numberOfIndicators || 1 >= numberOfIndicators) {
407
415
  return null;
408
416
  }
409
417
  const indicators = [...Array(numberOfIndicators).keys()];
@@ -487,6 +495,9 @@ const Carousel = ({
487
495
  gridConfig = carouselDefaultGridConfig,
488
496
  ...props
489
497
  }) => {
498
+ if (0 === items.length) {
499
+ return null;
500
+ }
490
501
  activeIndex = activeIndex ? activeIndex : 0;
491
502
  activeIndex = loop ? activeIndex + items.length : activeIndex;
492
503
  const loopableItems = getItems(items, loop);
@@ -1,8 +1,9 @@
1
1
  "use client";
2
2
  import { jsxs, jsx } from "react/jsx-runtime";
3
- import { iv as iconSizeSm, eB as NotificationErrorIcon } from "../../index-Cbojl4_Q.js";
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
7
  import { a as inputStateError } from "../../props-DDpgcryb.js";
7
8
  import styled from "styled-components";
8
9
  import Label from "../Label/index.js";
@@ -21,7 +22,7 @@ import { d as borderRadiusSm } from "../../BorderRadius-ClUShVLu.js";
21
22
  import { a as borderWidthFocus } from "../../BorderWidth-DfOlyKK7.js";
22
23
  import { a as opacityDisabled } from "../../Opacity-smkGiwsf.js";
23
24
  import { s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
24
- import { f as filterProps } from "../../filterProps-Cewck8OH.js";
25
+ import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
25
26
  import { g as getCssVar } from "../../getCssVar-BP6T9pFM.js";
26
27
  const CheckboxLabelStyled = styled(Label).withConfig({
27
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-B0YKfXTz.js";
8
+ import { F as FlexStyled } from "../../styled-CPUu8mvT.js";
9
9
  import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
10
10
  import { getSpacing } from "../../foundations/token/getSpacing/index.js";
11
- import { f as filterProps } from "../../filterProps-Cewck8OH.js";
11
+ import { a as filterProps } from "../../filterProps-CBnuV0LI.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 { f as filterProps } from "../../filterProps-Cewck8OH.js";
11
+ import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
12
12
  const CollapsibleStyled = styled.div.withConfig({
13
13
  shouldForwardProp: filterProps(),
14
14
  displayName: "CollapsibleStyled",
@@ -2,14 +2,14 @@
2
2
  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
- import { iu as iconSizeMd } from "../../index-Cbojl4_Q.js";
6
5
  import styled from "styled-components";
6
+ import { c as iconSizeMd } from "../../styled-DPHfwWsx.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 { f as filterProps } from "../../filterProps-Cewck8OH.js";
12
+ import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
13
13
  import { g as getCssVar } from "../../getCssVar-BP6T9pFM.js";
14
14
  const colorSwatchSizeSmall = "sm";
15
15
  const colorSwatchSizeMedium = "md";
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import { jsx } from "react/jsx-runtime";
3
- import { s as spacingMd, e as spacing2Xs } from "../../Spacing-D0HQH9YJ.js";
4
3
  import ColorSwatch, { colorSwatchSizeSmall } from "../ColorSwatch/index.js";
5
- import { iu as iconSizeMd } from "../../index-Cbojl4_Q.js";
4
+ import { s as spacingMd, e as spacing2Xs } from "../../Spacing-D0HQH9YJ.js";
6
5
  import styled from "styled-components";
7
- import { F as FlexStyled } from "../../styled-B0YKfXTz.js";
6
+ import { F as FlexStyled } from "../../styled-CPUu8mvT.js";
7
+ import { c as iconSizeMd } from "../../styled-DPHfwWsx.js";
8
8
  import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
9
- import { f as filterProps } from "../../filterProps-Cewck8OH.js";
9
+ import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
10
10
  import { g as getCssVar } from "../../getCssVar-BP6T9pFM.js";
11
11
  const ColorSwatchListStyled = styled(FlexStyled).withConfig({
12
12
  shouldForwardProp: filterProps(),
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
+ import { ColorSwatchProps, ColorSwatchSizes } from '../ColorSwatch';
2
3
  import { PatternProps } from '../../foundations/PatternProps';
3
- import { ColorSwatchProps, ColorSwatchSizes } from '../ColorSwatch/props';
4
4
  export interface ColorSwatchGroupProps extends PatternProps, HTMLAttributes<HTMLUListElement> {
5
5
  /**
6
6
  * Pin component's name from string to the concrete name
@@ -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-BSqC5P9h.js";
7
+ import { B as ButtonStyled, t as tertiaryAppearance } from "../../styled-C4eI47I1.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";
@@ -4,5 +4,5 @@ export declare const ConsentMessageBackgroundStyled: import('styled-components/d
4
4
  * Blurring the image create artifacts on the edges,
5
5
  * so I position these edges outside the visible area with 16px from each side to hide them
6
6
  */
7
- export declare const ConsentMessageBackgroundMapStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<ConsentMessageProps, "backgroundImage" | "theme">>> & string;
7
+ export declare const ConsentMessageBackgroundMapStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<ConsentMessageProps, "theme" | "backgroundImage">>> & string;
8
8
  export declare const ConsentMessageStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -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 { f as filterProps } from "../../filterProps-Cewck8OH.js";
13
+ import { a as filterProps } from "../../filterProps-CBnuV0LI.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,
@@ -68,8 +68,9 @@ const Container = ({
68
68
  className,
69
69
  children,
70
70
  appearance = "primary",
71
+ tag = "div",
71
72
  ...props
72
- }) => /* @__PURE__ */ jsx(ContainerBackgroundStyled, { className: `${className ? className : ""} ${["tertiary", "alternative"].indexOf(appearance) > -1 ? "Dark" : props.theme}`, appearance, ...props, children: /* @__PURE__ */ jsx(ContainerCenterStyled, { children }) });
73
+ }) => /* @__PURE__ */ jsx(ContainerBackgroundStyled, { className: `${className ? className : ""} ${["tertiary", "alternative"].indexOf(appearance) > -1 ? "Dark" : props.theme}`, appearance, as: tag, ...props, children: /* @__PURE__ */ jsx(ContainerCenterStyled, { children }) });
73
74
  export {
74
75
  ContainerAppearanceColor,
75
76
  Container as default