@vodafone_de/brix-components 17.1.2 → 18.0.0

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 (224) hide show
  1. package/dist/{BorderRadius-Co-IV3fn.js → BorderRadius-0jhn76gB.js} +2 -2
  2. package/dist/{BorderWidth-OZWeXaq_.js → BorderWidth-CwrNKc0Q.js} +2 -2
  3. package/dist/ButtonAppearanceHelper-3qIbHGWJ.js +102 -0
  4. package/dist/CornerStyle-n77nckhh.js +7 -0
  5. package/dist/{colorUtils-CfSj2Iqa.js → colorUtils-c9PiZEci.js} +1 -1
  6. package/dist/components/Accordion/index.js +8 -4
  7. package/dist/components/Accordion/validate.d.ts +2 -2
  8. package/dist/components/AccordionGroup/validate.d.ts +2 -2
  9. package/dist/components/ArtDirectedImage/index.js +3 -3
  10. package/dist/components/ArtDirectedImage/validate.d.ts +0 -9
  11. package/dist/components/Badge/index.js +1 -1
  12. package/dist/components/Badge/validate.d.ts +1 -1
  13. package/dist/components/BottomBar/index.js +5 -5
  14. package/dist/components/Button/ButtonAppearanceHelper.test.d.ts +1 -0
  15. package/dist/components/Button/index.js +2 -2
  16. package/dist/components/Button/validate.d.ts +1 -1
  17. package/dist/components/ButtonAsLink/index.js +1 -1
  18. package/dist/components/ButtonGroup/validate.d.ts +1 -1
  19. package/dist/components/Calendar/components/Footer/helpers/getFooterText.test.d.ts +1 -0
  20. package/dist/components/Calendar/index.js +66 -62
  21. package/dist/components/Callout/index.js +1 -1
  22. package/dist/components/Card/index.js +1 -1
  23. package/dist/components/Carousel/index.js +1 -1
  24. package/dist/components/Checkbox/index.js +2 -2
  25. package/dist/components/Collapsible/index.js +1 -1
  26. package/dist/components/ColorSwatch/index.js +2 -2
  27. package/dist/components/ConsentMessage/index.js +1 -1
  28. package/dist/components/Container/index.js +1 -1
  29. package/dist/components/DateInput/index.js +2 -2
  30. package/dist/components/Dialog/index.js +8 -3
  31. package/dist/components/Dialog/validate.d.ts +1 -1
  32. package/dist/components/DiscoveryCard/index.js +5 -5
  33. package/dist/components/DiscoveryCard/validate.d.ts +3 -12
  34. package/dist/components/DiscoveryCardGroup/index.js +2 -2
  35. package/dist/components/DiscoveryCardGroup/validate.d.ts +9 -36
  36. package/dist/components/EnergySnippet/validate.d.ts +1 -1
  37. package/dist/components/FeatureCardGroup/components/FeatureCard/index.js +9 -8
  38. package/dist/components/FeatureCardGroup/components/FeatureCard/validate.d.ts +2 -11
  39. package/dist/components/FeatureCardGroup/index.js +1 -1
  40. package/dist/components/FeatureCardGroup/validate.d.ts +6 -15
  41. package/dist/components/Fieldset/index.js +8 -3
  42. package/dist/components/Fieldset/validate.d.ts +3 -3
  43. package/dist/components/FilterGroup/index.js +2 -2
  44. package/dist/components/FilterGroup/validate.d.ts +5 -5
  45. package/dist/components/Footnote/index.js +1 -1
  46. package/dist/components/FootnoteContent/index.js +1 -1
  47. package/dist/components/FootnoteSection/index.js +1 -1
  48. package/dist/components/FootnoteSection/validate.d.ts +2 -2
  49. package/dist/components/Form/index.js +1 -1
  50. package/dist/components/Form/validate.d.ts +4 -4
  51. package/dist/components/GoogleMap/index.js +31 -19
  52. package/dist/components/GoogleMap/props.d.ts +13 -1
  53. package/dist/components/GoogleMap/styled.d.ts +1 -1
  54. package/dist/components/GoogleMap/validate.d.ts +12 -3
  55. package/dist/components/Grid/index.js +2 -2
  56. package/dist/components/GridItem/index.js +2 -2
  57. package/dist/components/IconButton/index.js +4 -4
  58. package/dist/components/IconButton/validate.d.ts +1 -1
  59. package/dist/components/IconLoader/validate.d.ts +1 -1
  60. package/dist/components/IconSnippet/index.js +14 -24
  61. package/dist/components/IconSnippet/validate.d.ts +3 -3
  62. package/dist/components/IconSnippetList/index.js +1 -1
  63. package/dist/components/IconSnippetList/validate.d.ts +3 -3
  64. package/dist/components/Image/index.js +4 -52
  65. package/dist/components/Image/validate.d.ts +0 -9
  66. package/dist/components/ImageHeader/index.js +25 -19
  67. package/dist/components/ImageHeader/styled.d.ts +17 -0
  68. package/dist/components/ImageHeader/validate.d.ts +3 -12
  69. package/dist/components/InfoBanner/index.js +1 -1
  70. package/dist/components/InfoBanner/validate.d.ts +2 -2
  71. package/dist/components/InlineLink/index.js +1 -1
  72. package/dist/components/Input/index.js +1 -1
  73. package/dist/components/Input/validate.d.ts +1 -0
  74. package/dist/components/Legend/index.d.ts +1 -1
  75. package/dist/components/Legend/index.js +54 -68
  76. package/dist/components/Legend/validate.d.ts +6 -6
  77. package/dist/components/Link/index.js +1 -1
  78. package/dist/components/Link/validate.d.ts +1 -1
  79. package/dist/components/LinkAsButton/index.js +1 -1
  80. package/dist/components/LinkAsButton/validate.d.ts +1 -1
  81. package/dist/components/LinkList/index.js +25 -15
  82. package/dist/components/LinkList/styled.d.ts +1 -1
  83. package/dist/components/LinkListItem/index.js +15 -342
  84. package/dist/components/LinkListItem/props.d.ts +0 -4
  85. package/dist/components/LinkListItem/styled.d.ts +1 -1
  86. package/dist/components/LinkListItem/validate.d.ts +2 -3
  87. package/dist/components/LoadingSpinner/index.js +11 -10
  88. package/dist/components/LocalStyle/index.js +1 -1
  89. package/dist/components/MediaText/index.js +2 -2
  90. package/dist/components/MediaText/validate.d.ts +1 -10
  91. package/dist/components/Notification/index.js +20 -34
  92. package/dist/components/Notification/validate.d.ts +3 -3
  93. package/dist/components/OpenTextFootnoteAdapter/index.js +3 -3
  94. package/dist/components/PasswordInput/index.js +2 -2
  95. package/dist/components/PickerGroup/components/Picker/index.js +2 -2
  96. package/dist/components/PickerGroup/components/Picker/validate.d.ts +1 -1
  97. package/dist/components/PickerGroup/index.js +1 -1
  98. package/dist/components/PickerGroup/validate.d.ts +1 -1
  99. package/dist/components/Price/index.d.ts +0 -1
  100. package/dist/components/Price/index.js +61 -8
  101. package/dist/components/Price/props.d.ts +6 -6
  102. package/dist/components/ProductCard/index.js +4 -4
  103. package/dist/components/ProductCard/validate.d.ts +3 -12
  104. package/dist/components/QuickLinkList/components/QuickLink/index.js +2 -2
  105. package/dist/components/QuickLinkList/index.js +1 -1
  106. package/dist/components/RadioGroup/index.js +2 -2
  107. package/dist/components/Rating/index.js +1 -1
  108. package/dist/components/RichText/index.js +1 -1
  109. package/dist/components/RichText/parseHtml.d.ts +2 -1
  110. package/dist/components/RichTextContentful/getOptions.d.ts +6 -2
  111. package/dist/components/RichTextContentful/helpers/listHelpers.d.ts +1 -0
  112. package/dist/components/RichTextContentful/index.js +1 -1
  113. package/dist/components/RichTextContentful/props.d.ts +2 -1
  114. package/dist/components/RichTextContentful/styled.d.ts +5 -1
  115. package/dist/components/SearchInput/index.js +2 -2
  116. package/dist/components/SelectInput/index.js +1 -1
  117. package/dist/components/SuggestInput/components/SuggestInputList/index.d.ts +1 -1
  118. package/dist/components/SuggestInput/components/SuggestInputList/props.d.ts +0 -2
  119. package/dist/components/SuggestInput/index.js +20 -22
  120. package/dist/components/Switch/index.js +2 -2
  121. package/dist/components/TabGroup/index.js +11 -4
  122. package/dist/components/TabGroup/validate.d.ts +2 -2
  123. package/dist/components/Table/index.js +2 -2
  124. package/dist/components/TabularPrice/index.js +3 -2
  125. package/dist/components/TextList/components/TextListItem/index.js +1 -1
  126. package/dist/components/TextList/index.js +1 -1
  127. package/dist/components/Textarea/index.js +1 -1
  128. package/dist/components/TimeInput/index.js +2 -2
  129. package/dist/components/ToggleButtonProvider/validate.d.ts +8 -8
  130. package/dist/components/Tray/index.d.ts +1 -1
  131. package/dist/components/Tray/index.js +20 -14
  132. package/dist/components/Tray/validate.d.ts +1 -1
  133. package/dist/components/UtilityLink/index.js +1 -18
  134. package/dist/components/Video/componentName.d.ts +1 -0
  135. package/dist/components/Video/i18n.d.ts +42 -0
  136. package/dist/components/Video/index.d.ts +5 -0
  137. package/dist/components/Video/index.js +902 -0
  138. package/dist/components/Video/props.d.ts +52 -0
  139. package/dist/components/Video/styled.d.ts +2 -0
  140. package/dist/components/Video/validate.d.ts +84 -0
  141. package/dist/components/Video/validate.test.d.ts +1 -0
  142. package/dist/components/YouTubeVideo/index.js +1 -1
  143. package/dist/contentful/props/index.d.ts +2 -0
  144. package/dist/contentful/registry/ContentFulComponentName.d.ts +1 -1
  145. package/dist/contentful/registry/SupportedBrixProps.d.ts +2 -2
  146. package/dist/contentful/registry/index.js +1 -1
  147. package/dist/contentful/validation/index.d.ts +1 -0
  148. package/dist/contentful/validation/index.js +38 -9
  149. package/dist/{cssVars-DIZd9rHN.js → cssVars-DKs5LlTN.js} +112 -108
  150. package/dist/foundations/BrixComponentProps/componentNames.d.ts +1 -1
  151. package/dist/foundations/BrixComponentProps/validate.d.ts +3 -0
  152. package/dist/foundations/GlobalStyle/index.js +1 -1
  153. package/dist/foundations/colorMaps.d.ts +18 -0
  154. package/dist/foundations/cssVars.d.ts +1 -7
  155. package/dist/foundations/cssVars.test.d.ts +1 -0
  156. package/dist/foundations/layout/index.js +23 -6
  157. package/dist/foundations/typographyAndIconSizeCssVars.d.ts +7 -0
  158. package/dist/getSizesFromGridConfig-C-GBct4J.js +28 -0
  159. package/dist/{index-XoIBkRyI.js → index-BLp5wi_X.js} +199 -171
  160. package/dist/{index-B7QEcUdq.js → index-BXTweg2t.js} +26 -52
  161. package/dist/{index-BR6u6rvI.js → index-CW-UuGll.js} +2 -2
  162. package/dist/{index-iCvdBgcJ.js → index-C_6tWuWh.js} +1 -1
  163. package/dist/{index-C9M-9a7m.js → index-Cms5ie2I.js} +4 -4
  164. package/dist/{index-DQ_p1dIc.js → index-CpuHeI4h.js} +2 -2
  165. package/dist/{index-BIa9NKUU.js → index-DqdKVD9N.js} +3 -3
  166. package/dist/{index-B0jIyAgf.js → index-E0RMtc9X.js} +1 -1
  167. package/dist/{index-CWByESA7.js → index-h88pZ6zH.js} +2 -2
  168. package/dist/{index-Dn3We7oE.js → index-p9ZTAIzJ.js} +3 -3
  169. package/dist/index-xzvddlgp.js +345 -0
  170. package/dist/index.d.ts +2 -0
  171. package/dist/index.js +227 -222
  172. package/dist/opentext/index.js +1 -1
  173. package/dist/opentext/map/googleMap.d.ts +2 -1
  174. package/dist/{props-BPxy0GPb.js → props-Bod9bL2v.js} +4 -4
  175. package/dist/{props-P3bM0HEk.js → props-E4PNCuS6.js} +1 -4
  176. package/dist/props-n71pckjd.js +5 -0
  177. package/dist/{styled-DRNdxc1V.js → styled-BJ9cE7xy.js} +2 -2
  178. package/dist/styled-BrSdmb0C.js +52 -0
  179. package/dist/{styled-bzTYGIm_.js → styled-DDY0xAl_.js} +1 -1
  180. package/dist/{styled-DhKlciPC.js → styled-Dfbxuq_p.js} +1 -1
  181. package/dist/styled-R9Zq1ahD.js +21 -0
  182. package/dist/{styled-DYgC4qQm.js → styled-ldBsCamo.js} +2 -2
  183. package/dist/{youTubeVideo-BOudL3DM.js → youTubeVideo-CsdIB_iu.js} +30 -56
  184. package/package.json +2 -1
  185. package/dist/ButtonAppearanceHelper-BQUk7S3X.js +0 -92
  186. package/dist/components/AccordionGroup/stories/scrollToViewFixedHeaderStoryObj.d.ts +0 -2
  187. package/dist/components/Carousel/stories/productCards.d.ts +0 -8
  188. package/dist/components/Flex/stories/alignCenterArgs.d.ts +0 -2
  189. package/dist/components/Flex/stories/alignEndArgs.d.ts +0 -2
  190. package/dist/components/Flex/stories/alignStartArgs.d.ts +0 -2
  191. package/dist/components/Flex/stories/autoAndFullItemArgs.d.ts +0 -2
  192. package/dist/components/Flex/stories/autoAndFullItemVerticalArgs.d.ts +0 -2
  193. package/dist/components/Flex/stories/fullAndAutoItemArgs.d.ts +0 -2
  194. package/dist/components/Flex/stories/fullAndAutoItemVerticalArgs.d.ts +0 -2
  195. package/dist/components/Flex/stories/justifyBetweenArgs.d.ts +0 -2
  196. package/dist/components/Flex/stories/justifyBetweenVerticalArgs.d.ts +0 -2
  197. package/dist/components/Flex/stories/justifyCenterArgs.d.ts +0 -2
  198. package/dist/components/Flex/stories/justifyCenterVerticalArgs.d.ts +0 -2
  199. package/dist/components/Flex/stories/justifyEndArgs.d.ts +0 -2
  200. package/dist/components/Flex/stories/justifyEndVerticalArgs.d.ts +0 -2
  201. package/dist/components/Flex/stories/justifyStartArgs.d.ts +0 -2
  202. package/dist/components/Flex/stories/justifyStartVerticalArgs.d.ts +0 -2
  203. package/dist/components/Flex/stories/twoFullItemsArgs.d.ts +0 -2
  204. package/dist/components/Flex/stories/twoFullItemsVerticalArgs.d.ts +0 -2
  205. package/dist/components/Flex/stories/xlGapSpacingArgs.d.ts +0 -2
  206. package/dist/components/Grid/stories/alignGridCenterArgs.d.ts +0 -2
  207. package/dist/components/Grid/stories/alignGridItemArgs.d.ts +0 -2
  208. package/dist/components/Grid/stories/alignGridRightArgs.d.ts +0 -2
  209. package/dist/components/Grid/stories/grid12Args.d.ts +0 -2
  210. package/dist/components/Grid/stories/grid222222Args.d.ts +0 -2
  211. package/dist/components/Grid/stories/grid3333Args.d.ts +0 -2
  212. package/dist/components/Grid/stories/grid363Args.d.ts +0 -2
  213. package/dist/components/Grid/stories/grid444Args.d.ts +0 -2
  214. package/dist/components/Grid/stories/grid64Args.d.ts +0 -2
  215. package/dist/components/Grid/stories/grid66Args.d.ts +0 -2
  216. package/dist/components/Grid/stories/grid75Args.d.ts +0 -2
  217. package/dist/components/Grid/stories/nestingArgs.d.ts +0 -2
  218. package/dist/components/Grid/stories/noSpacingArgs.d.ts +0 -2
  219. package/dist/components/Grid/stories/offsetArgs.d.ts +0 -2
  220. package/dist/components/Grid/stories/responsiveArgs.d.ts +0 -2
  221. package/dist/components/Grid/stories/stretchArgs.d.ts +0 -2
  222. package/dist/components/Grid/stories/tagOrderedListArgs.d.ts +0 -2
  223. package/dist/components/Grid/stories/tagUnorderedListArgs.d.ts +0 -2
  224. package/dist/getSizesFromGridConfig-BqDW79mt.js +0 -48
@@ -1,5 +1,5 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
2
- import { Fragment } from "react";
1
+ import { jsxs, jsx, Fragment as Fragment$1 } from "react/jsx-runtime";
2
+ import { useId, Fragment } from "react";
3
3
  import styled from "styled-components";
4
4
  import { translateLayoutPropsToCss } from "./foundations/layout/index.js";
5
5
  import { getBottomSpacing } from "./foundations/token/getBottomSpacing/index.js";
@@ -12,7 +12,8 @@ import { a as fontWeightBold, f as fontWeightRegular } from "./FontWeight-C8c-Un
12
12
  import { s as spacingMd, b as spacingNone, a as spacingXs } from "./Spacing-Dj-qX3Z5.js";
13
13
  import { g as colorTextCritical, a as colorTextNeutral } from "./TextColor-DsntmDNw.js";
14
14
  import { a as shouldForwardPropExcluding, s as shouldForwardProp } from "./shouldForwardProp-CONMmlMa.js";
15
- import { d as priceOrientationVertical, a as priceAlignLeft } from "./props-P3bM0HEk.js";
15
+ import { S as ScreenreaderOnly } from "./index-Dgu9iIhb.js";
16
+ import "./props-n71pckjd.js";
16
17
  const textDecorationStrikethrough = "Strikethrough";
17
18
  const PriceOuterWrapperStyled = styled.div.attrs({
18
19
  role: "group"
@@ -86,46 +87,6 @@ const PriceSuffixStyled = styled.div.withConfig({
86
87
  })(getHeadingSize("xs"), {
87
88
  color: getTextColor(colorTextNeutral)
88
89
  });
89
- const isTabularPriceProp = (props) => {
90
- return props.component === "TabularPrice";
91
- };
92
- const createScreenReaderText = (price, strikePrice, suffix) => {
93
- if (!strikePrice) {
94
- return `${price} ${suffix}`;
95
- }
96
- return `Standardpreis ${strikePrice} - Angebotspreis ${price} ${suffix}`;
97
- };
98
- const Price = (props) => {
99
- if (isTabularPriceProp(props)) {
100
- return /* @__PURE__ */ jsx(TabularPrice, { ...props });
101
- }
102
- const {
103
- orientation = priceOrientationVertical,
104
- align = priceAlignLeft,
105
- prefix,
106
- price,
107
- productName,
108
- ...priceProps
109
- } = props;
110
- const priceToRender = prefix ? `${prefix} ${price}` : price;
111
- return /* @__PURE__ */ jsxs(PriceOuterWrapperStyled, { className: props.className, ...{
112
- "aria-live": props["aria-live"]
113
- }, ...{
114
- "aria-label": createScreenReaderText(props.price, props.strikePrice, props.suffix)
115
- }, children: [
116
- productName && /* @__PURE__ */ jsx("meta", { itemProp: "name", content: productName }),
117
- /* @__PURE__ */ jsxs(PriceInnerWrapperStyled, { ...priceProps, price, orientation, align, ...{
118
- "aria-hidden": true
119
- }, itemProp: productName ? "offers" : void 0, itemType: productName ? "https://schema.org/Offer" : void 0, itemScope: productName ? true : void 0, children: [
120
- productName && /* @__PURE__ */ jsx("meta", { itemProp: "priceCurrency", content: "EUR" }),
121
- props.strikePrice ? /* @__PURE__ */ jsx(StrikePriceStyled, { children: priceProps.strikePrice }) : null,
122
- /* @__PURE__ */ jsxs(PriceOrientationStyled, { orientation, align, itemProp: productName ? "price" : void 0, content: productName ? price : void 0, children: [
123
- /* @__PURE__ */ jsx(PriceStyled, { size: priceProps.size, children: priceToRender }),
124
- /* @__PURE__ */ jsx(PriceSuffixStyled, { children: priceProps.suffix })
125
- ] })
126
- ] })
127
- ] });
128
- };
129
90
  const TabularPriceInnerWrapperStyled = styled.div.withConfig({
130
91
  shouldForwardProp: shouldForwardPropExcluding(["aria-live"]),
131
92
  displayName: "TabularPriceInnerWrapperStyled",
@@ -174,28 +135,41 @@ const TabularPrice = ({
174
135
  productName,
175
136
  ...props
176
137
  }) => {
138
+ const priceIdBase = useId();
177
139
  const prefixLines = props.prefix.split("\n");
140
+ const prefixTextId = `${priceIdBase}-visible-prefix`;
141
+ const priceTextId = `${priceIdBase}-price`;
142
+ const strikePriceTextId = `${priceIdBase}-strike`;
143
+ const standardPriceTextId = `${priceIdBase}-standard-label`;
144
+ const offerPriceTextId = `${priceIdBase}-offer-label`;
145
+ const ariaLabelledBy = props.strikePrice ? `${prefixTextId} ${standardPriceTextId} ${strikePriceTextId} ${offerPriceTextId} ${priceTextId}` : `${prefixTextId} ${priceTextId}`;
178
146
  return /* @__PURE__ */ jsxs(PriceOuterWrapperStyled, { className: props.className, ...{
179
147
  "aria-live": props["aria-live"]
180
148
  }, ...{
181
- "aria-label": createScreenReaderText(props.price, props.strikePrice, props.prefix)
149
+ "aria-labelledby": ariaLabelledBy
182
150
  }, children: [
183
151
  productName && /* @__PURE__ */ jsx("meta", { itemProp: "name", content: productName }),
184
- /* @__PURE__ */ jsxs(TabularPriceInnerWrapperStyled, { ...props, ...{
185
- "aria-hidden": true
186
- }, itemProp: productName ? "offers" : void 0, itemType: productName ? "https://schema.org/Offer" : void 0, itemScope: productName ? true : void 0, children: [
152
+ /* @__PURE__ */ jsxs(TabularPriceInnerWrapperStyled, { ...props, itemProp: productName ? "offers" : void 0, itemType: productName ? "https://schema.org/Offer" : void 0, itemScope: productName ? true : void 0, children: [
187
153
  productName && /* @__PURE__ */ jsx("meta", { itemProp: "priceCurrency", content: "EUR" }),
188
- /* @__PURE__ */ jsx(TabularPricePrefixStyled, { prefixWeight, children: prefixLines.map((line, index) => /* @__PURE__ */ jsxs(Fragment, { children: [
154
+ /* @__PURE__ */ jsx(TabularPricePrefixStyled, { id: prefixTextId, prefixWeight, children: prefixLines.map((line, index) => /* @__PURE__ */ jsxs(Fragment, { children: [
189
155
  line,
190
156
  index < prefixLines.length - 1 && /* @__PURE__ */ jsx("br", {})
191
157
  ] }, index)) }),
192
- props.strikePrice ? /* @__PURE__ */ jsx(TabularPriceStrikePriceStyled, { children: props.strikePrice }) : null,
193
- /* @__PURE__ */ jsx(TabularPricePriceStyled, { size: props.size, itemProp: productName ? "price" : void 0, content: productName ? props.price : void 0, children: props.price })
158
+ props.strikePrice ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
159
+ /* @__PURE__ */ jsx(ScreenreaderOnly, { id: standardPriceTextId, children: "Standardpreis" }),
160
+ /* @__PURE__ */ jsx(TabularPriceStrikePriceStyled, { id: strikePriceTextId, children: props.strikePrice }),
161
+ /* @__PURE__ */ jsx(ScreenreaderOnly, { id: offerPriceTextId, children: "Angebotspreis" })
162
+ ] }) : null,
163
+ /* @__PURE__ */ jsx(TabularPricePriceStyled, { id: priceTextId, size: props.size, itemProp: productName ? "price" : void 0, content: productName ? props.price : void 0, children: props.price })
194
164
  ] })
195
165
  ] });
196
166
  };
197
167
  export {
198
- Price as P,
168
+ PriceOuterWrapperStyled as P,
169
+ StrikePriceStyled as S,
199
170
  TabularPrice as T,
200
- createScreenReaderText as c
171
+ PriceInnerWrapperStyled as a,
172
+ PriceOrientationStyled as b,
173
+ PriceStyled as c,
174
+ PriceSuffixStyled as d
201
175
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import { a as ButtonIconStyled } from "./styled-DRNdxc1V.js";
2
+ import { a as ButtonIconStyled } from "./styled-BJ9cE7xy.js";
3
3
  import { i as iconSizeSm } from "./IconSize-Da9zhR76.js";
4
4
  import styled from "styled-components";
5
5
  import { translateLayoutPropsToCss } from "./foundations/layout/index.js";
@@ -12,7 +12,7 @@ import { g as getSpacing } from "./index-l-i-mIeP.js";
12
12
  import { getTextColor } from "./foundations/token/getTextColor/index.js";
13
13
  import { p as primaryAppearance } from "./Appearance-CIB-YW3f.js";
14
14
  import { c as colorBorderFocus } from "./BorderColor-BACbvI20.js";
15
- import { a as borderWidthFocus } from "./BorderWidth-OZWeXaq_.js";
15
+ import { b as borderWidthFocus } from "./BorderWidth-CwrNKc0Q.js";
16
16
  import { s as spacingMd, b as spacingNone, a as spacingXs } from "./Spacing-Dj-qX3Z5.js";
17
17
  import { t as textBodyMd } from "./TextBodySize-CP9q4gRv.js";
18
18
  import { f as colorTextBrand, a as colorTextNeutral } from "./TextColor-DsntmDNw.js";
@@ -9,7 +9,7 @@ import { getBorderWidth } from "./foundations/token/getBorderWidth/index.js";
9
9
  import { g as getSpacing } from "./index-l-i-mIeP.js";
10
10
  import { getTextColor } from "./foundations/token/getTextColor/index.js";
11
11
  import { f as colorBorderSubtle } from "./BorderColor-BACbvI20.js";
12
- import { e as borderWidthDivider } from "./BorderWidth-OZWeXaq_.js";
12
+ import { e as borderWidthDivider } from "./BorderWidth-CwrNKc0Q.js";
13
13
  import { d as spacingXl, s as spacingMd } from "./Spacing-Dj-qX3Z5.js";
14
14
  import { a as colorTextNeutral } from "./TextColor-DsntmDNw.js";
15
15
  import { s as shouldForwardProp } from "./shouldForwardProp-CONMmlMa.js";
@@ -5,8 +5,8 @@ import { useFocusWithin } from "./hooks/useFocusWithin/index.js";
5
5
  import { l as liTagName, u as ulTagName } from "./tags-BeNegJAK.js";
6
6
  import { s as spacingMd, b as spacingNone } from "./Spacing-Dj-qX3Z5.js";
7
7
  import styled from "styled-components";
8
- import { C as CardStyled } from "./styled-bzTYGIm_.js";
9
- import { a as GridStyled, G as GridItemStyled } from "./styled-DhKlciPC.js";
8
+ import { C as CardStyled } from "./styled-DDY0xAl_.js";
9
+ import { a as GridStyled, G as GridItemStyled } from "./styled-Dfbxuq_p.js";
10
10
  import { translateLayoutPropsToCss } from "./foundations/layout/index.js";
11
11
  import forcedColors from "./foundations/media-query/forcedColors/index.js";
12
12
  import { v as viewport } from "./index-CG4uiVbZ.js";
@@ -15,8 +15,8 @@ import { getBorderWidth } from "./foundations/token/getBorderWidth/index.js";
15
15
  import { getBottomSpacing } from "./foundations/token/getBottomSpacing/index.js";
16
16
  import { getObjectColor } from "./foundations/token/getObjectColor/index.js";
17
17
  import { g as getSpacing } from "./index-l-i-mIeP.js";
18
- import { d as borderRadiusFull } from "./BorderRadius-Co-IV3fn.js";
19
- import { d as borderWidthSm } from "./BorderWidth-OZWeXaq_.js";
18
+ import { d as borderRadiusFull } from "./BorderRadius-0jhn76gB.js";
19
+ import { d as borderWidthSm } from "./BorderWidth-CwrNKc0Q.js";
20
20
  import { d as colorObjectBrand, g as colorObjectUnselected } from "./ObjectColor-CSHEae46.js";
21
21
  import { s as shouldForwardProp } from "./shouldForwardProp-CONMmlMa.js";
22
22
  import IconButton from "./components/IconButton/index.js";
@@ -1,10 +1,10 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useEffect } from "react";
3
3
  import AccordionGroup from "./components/AccordionGroup/index.js";
4
- import { C as Container } from "./index-iCvdBgcJ.js";
4
+ import { C as Container } from "./index-C_6tWuWh.js";
5
5
  import FootnoteContent from "./components/FootnoteContent/index.js";
6
6
  import Heading from "./components/Heading/index.js";
7
- import { R as RichText } from "./index-XoIBkRyI.js";
7
+ import { R as RichText } from "./index-BLp5wi_X.js";
8
8
  import { a as textHeadingSm, c as textHeadingLg } from "./HeadingSize-O__w72MO.js";
9
9
  import parse from "html-react-parser";
10
10
  const getFootnoteContent = (content, footnoteContentBacklinkText) => {
@@ -1,12 +1,12 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { i as iconSizeSm } from "./IconSize-Da9zhR76.js";
3
3
  import { l as leftPosition } from "./PositionType-BIdZQO2H.js";
4
- import { a as ButtonIconStyled, b as buttonHeight } from "./styled-DRNdxc1V.js";
4
+ import { a as ButtonIconStyled, b as buttonHeight } from "./styled-BJ9cE7xy.js";
5
5
  import { useLinkComponent } from "./hooks/useLinkComponent/index.js";
6
6
  import { s as sanitizeLinkProps } from "./sanitizeLinkProps-D2Kkovy1.js";
7
7
  import { a as shouldForwardPropExcluding, p as pickDomProps } from "./shouldForwardProp-CONMmlMa.js";
8
8
  import styled from "styled-components";
9
- import { g as getButtonAppearance } from "./ButtonAppearanceHelper-BQUk7S3X.js";
9
+ import { g as getButtonAppearance } from "./ButtonAppearanceHelper-3qIbHGWJ.js";
10
10
  import { translateLayoutPropsToCss } from "./foundations/layout/index.js";
11
11
  import { v as viewport } from "./index-CG4uiVbZ.js";
12
12
  import { getBodySize } from "./foundations/token/getBodySize/index.js";
@@ -14,7 +14,7 @@ import { getBorderRadius } from "./foundations/token/getBorderRadius/index.js";
14
14
  import { getBottomSpacing } from "./foundations/token/getBottomSpacing/index.js";
15
15
  import { getFontWeight } from "./foundations/token/getFontWeight/index.js";
16
16
  import { g as getSpacing } from "./index-l-i-mIeP.js";
17
- import { b as borderRadiusMd } from "./BorderRadius-Co-IV3fn.js";
17
+ import { b as borderRadiusMd } from "./BorderRadius-0jhn76gB.js";
18
18
  import { p as primaryAppearance } from "./ButtonAppearances-BEMZJMeh.js";
19
19
  import { f as fontWeightRegular } from "./FontWeight-C8c-UnWu.js";
20
20
  import { s as spacingMd, b as spacingNone, a as spacingXs, d as spacingXl } from "./Spacing-Dj-qX3Z5.js";
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
2
2
  import { createContext, useContext } from "react";
3
3
  import { l as liTagName, d as divTagName, u as ulTagName, r as olTagName } from "./tags-BeNegJAK.js";
4
4
  import { s as spacingMd } from "./Spacing-Dj-qX3Z5.js";
5
- import { G as GridItemStyled, a as GridStyled } from "./styled-DhKlciPC.js";
5
+ import { G as GridItemStyled, a as GridStyled } from "./styled-Dfbxuq_p.js";
6
6
  import "./props-B4dAdfyc.js";
7
7
  const resolveBreakpoints = (config) => {
8
8
  const sm = config.sm ?? 12;
@@ -13,10 +13,10 @@ import { getBottomSpacing } from "./foundations/token/getBottomSpacing/index.js"
13
13
  import { getFontWeight } from "./foundations/token/getFontWeight/index.js";
14
14
  import { getObjectColor } from "./foundations/token/getObjectColor/index.js";
15
15
  import { g as getSpacing } from "./index-l-i-mIeP.js";
16
- import { d as borderRadiusFull } from "./BorderRadius-Co-IV3fn.js";
16
+ import { d as borderRadiusFull } from "./BorderRadius-0jhn76gB.js";
17
17
  import { a as fontWeightBold } from "./FontWeight-C8c-UnWu.js";
18
18
  import { a as textBodySm, t as textBodyMd } from "./TextBodySize-CP9q4gRv.js";
19
- import { g as getForegroundColor } from "./colorUtils-CfSj2Iqa.js";
19
+ import { g as getForegroundColor } from "./colorUtils-c9PiZEci.js";
20
20
  import { s as shouldForwardProp } from "./shouldForwardProp-CONMmlMa.js";
21
21
  import { B as BadgeAppearanceColor } from "./props-Dt5kqR3j.js";
22
22
  const BadgeStyled = styled.span.withConfig({
@@ -1,6 +1,6 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { createContext, useContext } from "react";
3
- import { B as Badge } from "./index-CWByESA7.js";
3
+ import { B as Badge } from "./index-h88pZ6zH.js";
4
4
  import ColorSwatch from "./components/ColorSwatch/index.js";
5
5
  import styled from "styled-components";
6
6
  import IconLoader from "./components/IconLoader/index.js";
@@ -26,8 +26,8 @@ import { getOpacity } from "./foundations/token/getOpacity/index.js";
26
26
  import { g as getSpacing } from "./index-l-i-mIeP.js";
27
27
  import { getTextColor } from "./foundations/token/getTextColor/index.js";
28
28
  import { a as colorBackgroundNeutral } from "./BackgroundColor-Ba4D10TC.js";
29
- import { b as borderRadiusMd } from "./BorderRadius-Co-IV3fn.js";
30
- import { a as borderWidthFocus, c as borderWidthSelected } from "./BorderWidth-OZWeXaq_.js";
29
+ import { b as borderRadiusMd } from "./BorderRadius-0jhn76gB.js";
30
+ import { b as borderWidthFocus, c as borderWidthSelected } from "./BorderWidth-CwrNKc0Q.js";
31
31
  import { f as fontWeightRegular, a as fontWeightBold } from "./FontWeight-C8c-UnWu.js";
32
32
  import { o as opacityOverlay } from "./Opacity-smkGiwsf.js";
33
33
  import { a as colorTextNeutral } from "./TextColor-DsntmDNw.js";
@@ -0,0 +1,345 @@
1
+ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
+ import { B as Badge } from "./index-h88pZ6zH.js";
3
+ import IconLoader from "./components/IconLoader/index.js";
4
+ import { c as spanTagName } from "./tags-BeNegJAK.js";
5
+ import { h as iconSizeMd } from "./IconSize-Da9zhR76.js";
6
+ import { s as smallSize } from "./SizeTypes-Ck_RdzIf.js";
7
+ import { s as spacingMd, a as spacingXs, b as spacingNone } from "./Spacing-Dj-qX3Z5.js";
8
+ import { useLinkComponent } from "./hooks/useLinkComponent/index.js";
9
+ import { s as sanitizeLinkProps } from "./sanitizeLinkProps-D2Kkovy1.js";
10
+ import { s as shouldForwardProp, a as shouldForwardPropExcluding, p as pickDomProps } from "./shouldForwardProp-CONMmlMa.js";
11
+ import { a as linkListItemVariantHorizontal, b as linkListItemVariantVertical } from "./props-KyOo_gFu.js";
12
+ import styled from "styled-components";
13
+ import Body from "./components/Body/index.js";
14
+ import Card from "./components/Card/index.js";
15
+ import Icon from "./components/Icon/index.js";
16
+ import { translateLayoutPropsToCss } from "./foundations/layout/index.js";
17
+ import forcedColors from "./foundations/media-query/forcedColors/index.js";
18
+ import { e as ease_in_sine } from "./easing-Dm-pO8SY.js";
19
+ import { getBorderColor } from "./foundations/token/getBorderColor/index.js";
20
+ import { getBorderRadius } from "./foundations/token/getBorderRadius/index.js";
21
+ import { getBorderWidth } from "./foundations/token/getBorderWidth/index.js";
22
+ import { getBottomSpacing } from "./foundations/token/getBottomSpacing/index.js";
23
+ import { getHeadingSize } from "./foundations/token/getHeadingSize/index.js";
24
+ import { getHoverColor } from "./foundations/token/getHoverColor/index.js";
25
+ import { getIconColor } from "./foundations/token/getIconColor/index.js";
26
+ import { g as getSpacing } from "./index-l-i-mIeP.js";
27
+ import { getTextColor } from "./foundations/token/getTextColor/index.js";
28
+ import { c as colorBorderFocus, f as colorBorderSubtle } from "./BorderColor-BACbvI20.js";
29
+ import { b as borderRadiusMd, a as borderRadiusNone } from "./BorderRadius-0jhn76gB.js";
30
+ import { b as borderWidthFocus, d as borderWidthSm } from "./BorderWidth-CwrNKc0Q.js";
31
+ import { t as textHeadingXs } from "./HeadingSize-O__w72MO.js";
32
+ import { b as colorIconBrand } from "./IconColor-CtC9WUgr.js";
33
+ import { a as colorTextNeutral, f as colorTextBrand } from "./TextColor-DsntmDNw.js";
34
+ import { C as CardAppearanceColor } from "./props-DDJfToj8.js";
35
+ const focusStyles = {
36
+ ...forcedColors({
37
+ outline: `${getBorderWidth(borderWidthFocus)} solid CanvasText`
38
+ }),
39
+ boxShadow: `${getBorderColor(colorBorderFocus)} 0px 0px 0px ${getBorderWidth(borderWidthFocus)}`,
40
+ outline: "none"
41
+ };
42
+ const hoverBackgroundColor = getHoverColor(CardAppearanceColor["primary"]);
43
+ const hoverStylesChangingBackground = {
44
+ transitionProperty: "background, color, box-shadow",
45
+ transitionDuration: "0.2s",
46
+ transitionTimingFunction: ease_in_sine,
47
+ "&:hover, &:focus-visible": {
48
+ background: hoverBackgroundColor
49
+ }
50
+ };
51
+ const LinkListItemButtonStyled = styled.button.withConfig({
52
+ shouldForwardProp,
53
+ displayName: "LinkListItemButtonStyled",
54
+ componentId: "sc-1dmfu9f-0"
55
+ })({
56
+ width: "100%",
57
+ height: "100%",
58
+ background: "none",
59
+ border: "none",
60
+ cursor: "pointer",
61
+ color: getTextColor(colorTextNeutral),
62
+ borderRadius: getBorderRadius(borderRadiusMd),
63
+ "&:focus-visible": focusStyles,
64
+ ...forcedColors({
65
+ border: `${getBorderWidth(borderWidthSm)} solid ButtonBorder`,
66
+ background: "ButtonFace",
67
+ color: "ButtonText"
68
+ })
69
+ }, ({
70
+ elevation = true,
71
+ orientation
72
+ }) => {
73
+ if (!elevation && orientation === linkListItemVariantHorizontal) {
74
+ return {
75
+ borderRadius: getBorderRadius(borderRadiusNone),
76
+ transitionProperty: "color",
77
+ transitionDuration: "0.2s",
78
+ transitionTimingFunction: ease_in_sine,
79
+ "&:hover, &:focus-visible": {
80
+ color: getTextColor(colorTextBrand)
81
+ }
82
+ };
83
+ }
84
+ });
85
+ const buttonParent = `${LinkListItemButtonStyled.toString()} &`;
86
+ const LinkListItemAnchorStyled = styled.span.withConfig({
87
+ shouldForwardProp: shouldForwardPropExcluding(["href"]),
88
+ displayName: "LinkListItemAnchorStyled",
89
+ componentId: "sc-1dmfu9f-1"
90
+ })({
91
+ height: "100%",
92
+ "& > a": {
93
+ textDecoration: "none",
94
+ display: "block",
95
+ height: "100%",
96
+ color: getTextColor(colorTextNeutral),
97
+ "&:focus-visible": focusStyles,
98
+ "&:hover, &:focus": {
99
+ textDecoration: "none"
100
+ },
101
+ "&:visited": {
102
+ color: getTextColor(colorTextNeutral)
103
+ }
104
+ }
105
+ }, ({
106
+ layout
107
+ }) => layout && translateLayoutPropsToCss(layout), ({
108
+ elevation = true,
109
+ orientation
110
+ }) => {
111
+ if (!elevation && orientation === linkListItemVariantHorizontal) {
112
+ return {
113
+ "& > a": {
114
+ borderRadius: getBorderRadius(borderRadiusNone),
115
+ transitionProperty: "color",
116
+ transitionDuration: "0.2s",
117
+ transitionTimingFunction: ease_in_sine,
118
+ "&:hover, &:focus-visible": {
119
+ color: getTextColor(colorTextBrand)
120
+ }
121
+ }
122
+ };
123
+ }
124
+ return {
125
+ "& > a": {
126
+ borderRadius: getBorderRadius(borderRadiusMd)
127
+ }
128
+ };
129
+ });
130
+ const parentHasFocusSelector = `${LinkListItemAnchorStyled.toString()}:focus-within &, ${LinkListItemButtonStyled.toString()}:focus-within &`;
131
+ const LinkListItemStyled = styled.span.withConfig({
132
+ shouldForwardProp,
133
+ displayName: "LinkListItemStyled",
134
+ componentId: "sc-1dmfu9f-2"
135
+ })({
136
+ display: "block",
137
+ height: "100%",
138
+ padding: `${getSpacing(spacingMd)} 0`,
139
+ borderBottom: `${getBorderWidth(borderWidthSm)} solid ${getBorderColor(colorBorderSubtle)}`,
140
+ borderTop: `${getBorderWidth(borderWidthSm)} solid ${getBorderColor(colorBorderSubtle)}`,
141
+ ...forcedColors({
142
+ borderBottom: `${getBorderWidth(borderWidthSm)} solid CanvasText`,
143
+ borderTop: `${getBorderWidth(borderWidthSm)} solid CanvasText`,
144
+ [buttonParent]: {
145
+ borderBottom: "none"
146
+ }
147
+ })
148
+ }, ({
149
+ orientation
150
+ }) => {
151
+ if (orientation === linkListItemVariantVertical) {
152
+ return {
153
+ ...hoverStylesChangingBackground,
154
+ borderRadius: getBorderRadius(borderRadiusMd),
155
+ border: `${getBorderWidth(borderWidthSm)} solid ${getBorderColor(colorBorderSubtle)}`,
156
+ padding: getSpacing(spacingMd),
157
+ [parentHasFocusSelector]: {
158
+ background: hoverBackgroundColor
159
+ },
160
+ ...forcedColors({
161
+ border: `${getBorderWidth(borderWidthSm)} solid CanvasText`,
162
+ [buttonParent]: {
163
+ border: `${getBorderWidth(borderWidthSm)} solid ButtonBorder`
164
+ },
165
+ "&:hover, &:focus-visible": {
166
+ background: "inherit"
167
+ },
168
+ [parentHasFocusSelector]: {
169
+ background: "inherit"
170
+ }
171
+ })
172
+ };
173
+ }
174
+ }, ({
175
+ bottomSpacing = spacingMd
176
+ }) => getBottomSpacing({
177
+ bottomSpacing
178
+ }));
179
+ const LinkListItemElevatedStyled = styled(Card).withConfig({
180
+ displayName: "LinkListItemElevatedStyled",
181
+ componentId: "sc-1dmfu9f-3"
182
+ })({
183
+ ...hoverStylesChangingBackground,
184
+ ...forcedColors({
185
+ [buttonParent]: {
186
+ border: `${getBorderWidth(borderWidthSm)} solid ButtonBorder`,
187
+ background: "ButtonFace",
188
+ color: "ButtonText"
189
+ }
190
+ }),
191
+ height: "100%"
192
+ }, () => {
193
+ return {
194
+ [parentHasFocusSelector]: {
195
+ background: hoverBackgroundColor
196
+ },
197
+ ...forcedColors({
198
+ [parentHasFocusSelector]: {
199
+ background: "inherit"
200
+ }
201
+ })
202
+ };
203
+ });
204
+ const LinkListItemContentWrapperStyled = styled.span.withConfig({
205
+ shouldForwardProp,
206
+ displayName: "LinkListItemContentWrapperStyled",
207
+ componentId: "sc-1dmfu9f-4"
208
+ })({
209
+ display: "flex"
210
+ }, ({
211
+ orientation = linkListItemVariantHorizontal
212
+ }) => {
213
+ return {
214
+ alignItems: orientation === linkListItemVariantVertical ? "flex-start" : "center",
215
+ flexDirection: orientation === linkListItemVariantVertical ? "column" : "row",
216
+ gap: orientation === linkListItemVariantVertical ? getSpacing(spacingXs) : getSpacing(spacingNone)
217
+ };
218
+ });
219
+ const LinkListItemContentStyled = styled.span.withConfig({
220
+ shouldForwardProp,
221
+ displayName: "LinkListItemContentStyled",
222
+ componentId: "sc-1dmfu9f-5"
223
+ })({
224
+ flexGrow: 1,
225
+ display: "flex",
226
+ gap: getSpacing(spacingXs),
227
+ flexDirection: "row",
228
+ width: "100%",
229
+ "& > *": {
230
+ flexShrink: 0
231
+ }
232
+ }, ({
233
+ orientation = linkListItemVariantHorizontal
234
+ }) => {
235
+ return {
236
+ alignItems: orientation === linkListItemVariantVertical ? "flex-start" : "center",
237
+ paddingRight: orientation === linkListItemVariantVertical ? getSpacing(spacingNone) : getSpacing(spacingXs)
238
+ };
239
+ });
240
+ const LinkListItemVerticalContentStyled = styled.span.withConfig({
241
+ displayName: "LinkListItemVerticalContentStyled",
242
+ componentId: "sc-1dmfu9f-6"
243
+ })({
244
+ flexGrow: 1,
245
+ gap: getSpacing(spacingXs),
246
+ display: "flex",
247
+ flexDirection: "column",
248
+ flexShrink: 1,
249
+ minWidth: 0
250
+ });
251
+ const LinkListItemLabelWrapperStyled = styled.span.withConfig({
252
+ shouldForwardProp,
253
+ displayName: "LinkListItemLabelWrapperStyled",
254
+ componentId: "sc-1dmfu9f-7"
255
+ })({
256
+ display: "flex",
257
+ flexDirection: "column",
258
+ flexGrow: 1,
259
+ alignItems: "flex-start",
260
+ flexShrink: 1
261
+ });
262
+ const LinkListLabelStyled = styled.span.withConfig({
263
+ shouldForwardProp,
264
+ displayName: "LinkListLabelStyled",
265
+ componentId: "sc-1dmfu9f-8"
266
+ })(getHeadingSize(textHeadingXs), {
267
+ textAlign: "left",
268
+ overflowWrap: "break-word",
269
+ hyphens: "auto",
270
+ maxWidth: "100%"
271
+ });
272
+ const LinkListSuffixStyled = styled(Body).withConfig({
273
+ displayName: "LinkListSuffixStyled",
274
+ componentId: "sc-1dmfu9f-9"
275
+ })({
276
+ color: "inherit"
277
+ });
278
+ const LinkListItemChevronStyled = styled(Icon).withConfig({
279
+ displayName: "LinkListItemChevronStyled",
280
+ componentId: "sc-1dmfu9f-10"
281
+ })({
282
+ flexGrow: 0,
283
+ flexShrink: 0,
284
+ color: getIconColor(colorIconBrand)
285
+ });
286
+ const isLinkListItemAsButtonProp = (props) => {
287
+ return props.href === void 0;
288
+ };
289
+ const LinkListItemVisualContent = ({
290
+ icon,
291
+ label,
292
+ suffix,
293
+ badge,
294
+ orientation
295
+ }) => {
296
+ const LinkListIcon = icon ? /* @__PURE__ */ jsx(IconLoader, { name: icon, size: iconSizeMd }) : void 0;
297
+ const LinkListLabel = /* @__PURE__ */ jsx(LinkListLabelStyled, { children: label });
298
+ const LinkListSuffix = suffix ? /* @__PURE__ */ jsx(LinkListSuffixStyled, { tag: spanTagName, bottomSpacing: spacingNone, children: suffix }) : void 0;
299
+ const LinkListBadge = badge ? /* @__PURE__ */ jsx(Badge, { ...badge, size: smallSize, bottomSpacing: spacingNone }) : void 0;
300
+ const LinkListChevron = /* @__PURE__ */ jsx(LinkListItemChevronStyled, { name: "ChevronRight", size: iconSizeMd });
301
+ return /* @__PURE__ */ jsx(LinkListItemContentWrapperStyled, { orientation, children: orientation === linkListItemVariantHorizontal ? /* @__PURE__ */ jsxs(Fragment, { children: [
302
+ /* @__PURE__ */ jsxs(LinkListItemContentStyled, { orientation, children: [
303
+ LinkListIcon,
304
+ /* @__PURE__ */ jsxs(LinkListItemLabelWrapperStyled, { children: [
305
+ LinkListLabel,
306
+ LinkListSuffix
307
+ ] }),
308
+ LinkListBadge
309
+ ] }),
310
+ LinkListChevron
311
+ ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
312
+ /* @__PURE__ */ jsxs(LinkListItemContentStyled, { orientation, children: [
313
+ /* @__PURE__ */ jsxs(LinkListItemVerticalContentStyled, { children: [
314
+ LinkListIcon,
315
+ /* @__PURE__ */ jsxs(LinkListItemLabelWrapperStyled, { children: [
316
+ LinkListLabel,
317
+ LinkListSuffix
318
+ ] })
319
+ ] }),
320
+ LinkListChevron
321
+ ] }),
322
+ LinkListBadge
323
+ ] }) });
324
+ };
325
+ const LinkListItem = (props) => {
326
+ const {
327
+ icon,
328
+ label,
329
+ suffix,
330
+ badge,
331
+ orientation,
332
+ elevation
333
+ } = props;
334
+ const Content = /* @__PURE__ */ jsx(LinkListItemVisualContent, { icon, label, suffix, badge, orientation });
335
+ const Item = elevation ? /* @__PURE__ */ jsx(LinkListItemElevatedStyled, { tag: "span", children: Content }) : /* @__PURE__ */ jsx(LinkListItemStyled, { orientation, bottomSpacing: props.bottomSpacing, children: Content });
336
+ if (isLinkListItemAsButtonProp(props)) {
337
+ return /* @__PURE__ */ jsx(LinkListItemButtonStyled, { ...props, children: Item });
338
+ }
339
+ const LinkComponent = useLinkComponent();
340
+ return /* @__PURE__ */ jsx(LinkListItemAnchorStyled, { elevation, orientation, layout: props.layout, children: /* @__PURE__ */ jsx(LinkComponent, { ...sanitizeLinkProps(pickDomProps(props)), children: Item }) });
341
+ };
342
+ export {
343
+ LinkListItem as L,
344
+ LinkListItemStyled as a
345
+ };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  export * from './components/YouTubeVideo';
2
2
  export { default as YouTubeVideo } from './components/YouTubeVideo';
3
+ export * from './components/Video';
4
+ export { default as Video } from './components/Video';
3
5
  export * from './components/UtilityLink';
4
6
  export { default as UtilityLink } from './components/UtilityLink';
5
7
  export * from './components/Tray';