@vodafone_de/brix-components 7.0.13 → 7.0.14-renderer-93d5cb8bde6ea7a3335a9903d10b06aa0a36a8fd

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 (280) hide show
  1. package/dist/{BackgroundColor-e0N9tdDR.js → BackgroundColor-DSOSZvNi.js} +2 -2
  2. package/dist/{BorderColor-BummoQ1-.js → BorderColor-CYdSW9dg.js} +5 -5
  3. package/dist/{BorderWidth-DfOlyKK7.js → BorderWidth-CTOda7Cp.js} +5 -5
  4. package/dist/{FontWeight-DEBGHbtO.js → FontWeight-C2pGs7aR.js} +2 -2
  5. package/dist/{HeadingSize-CfCRn3Lh.js → HeadingSize-BoyxJlpz.js} +2 -2
  6. package/dist/{ObjectColor-BZDBuV8H.js → ObjectColor-DSUXMO7l.js} +6 -6
  7. package/dist/Spacing-BzNNxYMI.js +25 -0
  8. package/dist/{TextColor-DsntmDNw.js → TextColor-BXVMXUVE.js} +2 -2
  9. package/dist/{colorUtils-BSfFfgbi.js → colorUtils-DKyvcZKj.js} +1 -1
  10. package/dist/components/Accordion/index.d.ts +1 -0
  11. package/dist/components/Accordion/index.js +52 -12
  12. package/dist/components/Accordion/validate.d.ts +3 -0
  13. package/dist/components/Accordion/validate.test.d.ts +1 -0
  14. package/dist/components/AccordionGroup/index.d.ts +1 -0
  15. package/dist/components/AccordionGroup/index.js +41 -4
  16. package/dist/components/AccordionGroup/validate.d.ts +3 -0
  17. package/dist/components/AccordionGroup/validate.test.d.ts +1 -0
  18. package/dist/components/Badge/index.d.ts +1 -0
  19. package/dist/components/Badge/index.js +15 -6
  20. package/dist/components/Badge/props.d.ts +12 -8
  21. package/dist/components/Badge/validate.d.ts +5 -0
  22. package/dist/components/Badge/validate.test.d.ts +1 -0
  23. package/dist/components/Body/index.d.ts +1 -0
  24. package/dist/components/Body/index.js +44 -5
  25. package/dist/components/Body/props.d.ts +2 -2
  26. package/dist/components/Body/validate.d.ts +8 -0
  27. package/dist/components/Body/validate.test.d.ts +1 -0
  28. package/dist/components/BottomBar/index.js +3 -3
  29. package/dist/components/Button/ButtonAppearanceHelper.d.ts +1 -1
  30. package/dist/components/Button/index.d.ts +1 -0
  31. package/dist/components/Button/index.js +10 -7
  32. package/dist/components/Button/props.d.ts +0 -5
  33. package/dist/components/Button/validate.d.ts +6 -0
  34. package/dist/components/Button/validate.test.d.ts +1 -0
  35. package/dist/components/ButtonAsLink/index.d.ts +1 -0
  36. package/dist/components/ButtonAsLink/index.js +7 -3
  37. package/dist/components/ButtonAsLink/validate.d.ts +4 -0
  38. package/dist/components/ButtonAsLink/validate.test.d.ts +1 -0
  39. package/dist/components/ButtonGroup/index.d.ts +1 -0
  40. package/dist/components/ButtonGroup/index.js +47 -3
  41. package/dist/components/ButtonGroup/validate.d.ts +6 -0
  42. package/dist/components/ButtonGroup/validate.test.d.ts +1 -0
  43. package/dist/components/Card/index.d.ts +1 -0
  44. package/dist/components/Card/index.js +35 -4
  45. package/dist/components/Card/props.d.ts +1 -1
  46. package/dist/components/Card/validate.d.ts +5 -0
  47. package/dist/components/Card/validate.test.d.ts +1 -0
  48. package/dist/components/Carousel/index.js +8 -8
  49. package/dist/components/Checkbox/index.js +6 -5
  50. package/dist/components/CheckboxGroup/index.js +3 -3
  51. package/dist/components/Collapsible/index.js +4 -4
  52. package/dist/components/ColorSwatch/index.d.ts +1 -0
  53. package/dist/components/ColorSwatch/index.js +31 -6
  54. package/dist/components/ColorSwatch/validate.d.ts +4 -0
  55. package/dist/components/ColorSwatch/validate.test.d.ts +1 -0
  56. package/dist/components/ColorSwatchGroup/index.d.ts +1 -0
  57. package/dist/components/ColorSwatchGroup/index.js +35 -6
  58. package/dist/components/ColorSwatchGroup/validate.d.ts +4 -0
  59. package/dist/components/ColorSwatchGroup/validate.test.d.ts +1 -0
  60. package/dist/components/ConsentMessage/index.d.ts +1 -0
  61. package/dist/components/ConsentMessage/index.js +6 -5
  62. package/dist/components/Container/index.d.ts +1 -0
  63. package/dist/components/Container/index.js +34 -64
  64. package/dist/components/Container/props.d.ts +2 -2
  65. package/dist/components/Container/validate.d.ts +5 -0
  66. package/dist/components/Container/validate.test.d.ts +1 -0
  67. package/dist/components/DateInput/index.js +5 -5
  68. package/dist/components/DemoBox/index.js +3 -3
  69. package/dist/components/Dialog/index.js +6 -6
  70. package/dist/components/DiscoveryCard/index.d.ts +1 -0
  71. package/dist/components/DiscoveryCard/index.js +65 -16
  72. package/dist/components/DiscoveryCard/validate.d.ts +3 -0
  73. package/dist/components/DiscoveryCard/validate.test.d.ts +1 -0
  74. package/dist/components/DiscoveryCardGroup/index.d.ts +1 -0
  75. package/dist/components/DiscoveryCardGroup/index.js +53 -37
  76. package/dist/components/DiscoveryCardGroup/validate.d.ts +3 -0
  77. package/dist/components/DiscoveryCardGroup/validate.test.d.ts +1 -0
  78. package/dist/components/Divider/index.d.ts +1 -0
  79. package/dist/components/Divider/index.js +17 -25
  80. package/dist/components/Divider/validate.d.ts +3 -0
  81. package/dist/components/Divider/validate.test.d.ts +1 -0
  82. package/dist/components/Fieldset/index.js +2 -2
  83. package/dist/components/FilterGroup/index.js +11 -10
  84. package/dist/components/Flex/index.js +2 -2
  85. package/dist/components/Flex/props.d.ts +1 -1
  86. package/dist/components/FlexItem/index.js +2 -2
  87. package/dist/components/FootnoteContent/index.js +3 -3
  88. package/dist/components/FootnoteLink/index.js +2 -2
  89. package/dist/components/Form/index.js +2 -2
  90. package/dist/components/FormElement/index.js +1 -1
  91. package/dist/components/FormHelperLabel/index.d.ts +1 -1
  92. package/dist/components/FormHelperLabel/index.js +1 -1
  93. package/dist/components/FormHelperMessage/index.js +2 -2
  94. package/dist/components/FormHelperStatusIcon/index.js +3 -2
  95. package/dist/components/GoogleMap/index.js +4 -4
  96. package/dist/components/Grid/index.d.ts +1 -0
  97. package/dist/components/Grid/index.js +39 -4
  98. package/dist/components/Grid/props.d.ts +2 -2
  99. package/dist/components/Grid/validate.d.ts +6 -0
  100. package/dist/components/Grid/validate.test.d.ts +1 -0
  101. package/dist/components/GridItem/index.d.ts +1 -0
  102. package/dist/components/GridItem/index.js +32 -3
  103. package/dist/components/GridItem/validate.d.ts +5 -0
  104. package/dist/components/GridItem/validate.test.d.ts +1 -0
  105. package/dist/components/Heading/index.d.ts +1 -0
  106. package/dist/components/Heading/index.js +50 -6
  107. package/dist/components/Heading/props.d.ts +5 -11
  108. package/dist/components/Heading/styled.d.ts +2 -2
  109. package/dist/components/Heading/validate.d.ts +9 -0
  110. package/dist/components/Heading/validate.test.d.ts +1 -0
  111. package/dist/components/HifiIcon/index.js +2 -2
  112. package/dist/components/Icon/index.js +1 -1
  113. package/dist/components/Icon/props.d.ts +1 -3
  114. package/dist/components/IconButton/index.js +7 -6
  115. package/dist/components/IconLoader/index.d.ts +1 -0
  116. package/dist/components/IconLoader/index.js +6 -654
  117. package/dist/components/IconLoader/validate.d.ts +4 -0
  118. package/dist/components/IconLoader/validate.test.d.ts +1 -0
  119. package/dist/components/IconSnippet/index.js +7 -6
  120. package/dist/components/IconSnippetList/index.js +2 -2
  121. package/dist/components/Image/index.d.ts +1 -0
  122. package/dist/components/Image/index.js +47 -3
  123. package/dist/components/Image/validate.d.ts +8 -0
  124. package/dist/components/Image/validate.test.d.ts +1 -0
  125. package/dist/components/ImageHeader/index.js +7 -7
  126. package/dist/components/InlineIcon/index.d.ts +3 -3
  127. package/dist/components/InlineIcon/index.js +3 -2
  128. package/dist/components/InlineIcon/validate.d.ts +4 -0
  129. package/dist/components/InlineLink/index.d.ts +1 -0
  130. package/dist/components/InlineLink/index.js +28 -6
  131. package/dist/components/InlineLink/validate.d.ts +3 -0
  132. package/dist/components/InlineLink/validate.test.d.ts +1 -0
  133. package/dist/components/Input/index.js +2 -2
  134. package/dist/components/Label/index.js +1 -1
  135. package/dist/components/Legend/index.js +1 -1
  136. package/dist/components/Link/index.d.ts +1 -0
  137. package/dist/components/Link/index.js +36 -3
  138. package/dist/components/Link/validate.d.ts +3 -0
  139. package/dist/components/Link/validate.test.d.ts +1 -0
  140. package/dist/components/LinkAsButton/index.d.ts +1 -0
  141. package/dist/components/LinkAsButton/index.js +4 -2
  142. package/dist/components/LinkAsButton/validate.d.ts +3 -0
  143. package/dist/components/LinkAsButton/validate.test.d.ts +1 -0
  144. package/dist/components/LinkList/index.js +2 -2
  145. package/dist/components/LinkListItem/index.js +13 -12
  146. package/dist/components/LinkListItem/styled.d.ts +1 -1
  147. package/dist/components/LoadingSpinner/index.js +2 -2
  148. package/dist/components/LoadingSpinner/styled.d.ts +1 -1
  149. package/dist/components/MediaText/index.js +7 -7
  150. package/dist/components/Notification/index.js +10 -9
  151. package/dist/components/Overlay/index.js +2 -2
  152. package/dist/components/PickerGroup/index.js +12 -11
  153. package/dist/components/Price/index.d.ts +1 -0
  154. package/dist/components/Price/index.js +8 -3
  155. package/dist/components/Price/props.d.ts +1 -0
  156. package/dist/components/Price/validate.d.ts +6 -0
  157. package/dist/components/Price/validate.test.d.ts +1 -0
  158. package/dist/components/ProductCard/index.js +7 -6
  159. package/dist/components/ProductCard/styled.d.ts +1 -1
  160. package/dist/components/RadioGroup/index.js +5 -5
  161. package/dist/components/Rating/index.js +5 -5
  162. package/dist/components/ResponsiveImage/index.js +2 -2
  163. package/dist/components/ResponsiveImage/props.d.ts +1 -1
  164. package/dist/components/RichText/index.js +1 -1
  165. package/dist/components/RichText/parseHtml.d.ts +1 -1
  166. package/dist/components/RichText/props.d.ts +1 -1
  167. package/dist/components/ScreenreaderOnly/index.js +1 -1
  168. package/dist/components/SearchInput/index.js +7 -7
  169. package/dist/components/SelectInput/index.js +8 -8
  170. package/dist/components/Stepper/index.js +5 -5
  171. package/dist/components/SuggestInput/index.js +10 -9
  172. package/dist/components/SuggestInput/styled.d.ts +1 -1
  173. package/dist/components/Switch/index.js +9 -8
  174. package/dist/components/TabGroup/index.js +11 -10
  175. package/dist/components/TabularPrice/index.js +2 -2
  176. package/dist/components/TabularPrice/props.d.ts +1 -1
  177. package/dist/components/TextList/index.js +3 -3
  178. package/dist/components/TextList/props.d.ts +3 -3
  179. package/dist/components/Textarea/index.js +6 -6
  180. package/dist/components/TimeInput/index.js +7 -7
  181. package/dist/components/Tray/index.js +6 -6
  182. package/dist/components/YoutubeVideo/index.js +1 -1
  183. package/dist/contentful/LegibleContent.d.ts +20 -0
  184. package/dist/contentful/componentInspectorField.d.ts +5 -0
  185. package/dist/contentful/componentNameToComponent.d.ts +6 -0
  186. package/dist/contentful/index.d.ts +1 -0
  187. package/dist/contentful/index.js +26 -0
  188. package/dist/contentful/live-preview-inspector/index.d.ts +2 -0
  189. package/dist/contentful/live-preview-inspector/index.js +65 -0
  190. package/dist/contentful/live-preview-inspector/props.d.ts +1 -0
  191. package/dist/contentful/live-preview-renderer/index.d.ts +5 -0
  192. package/dist/contentful/live-preview-renderer/index.js +7 -0
  193. package/dist/contentful/live-preview-renderer/props.d.ts +3 -0
  194. package/dist/contentful/map/MapFunction.d.ts +4 -0
  195. package/dist/contentful/map/badge.d.ts +4 -0
  196. package/dist/contentful/map/body.d.ts +4 -0
  197. package/dist/contentful/map/button.d.ts +5 -0
  198. package/dist/contentful/map/card.d.ts +5 -0
  199. package/dist/contentful/map/container.d.ts +7 -0
  200. package/dist/contentful/map/discovery-card-group.d.ts +5 -0
  201. package/dist/contentful/map/discovery-card.d.ts +5 -0
  202. package/dist/contentful/map/divider.d.ts +4 -0
  203. package/dist/contentful/map/heading.d.ts +5 -0
  204. package/dist/contentful/map/icon-loader.d.ts +5 -0
  205. package/dist/contentful/map/image.d.ts +4 -0
  206. package/dist/contentful/map/link.d.ts +5 -0
  207. package/dist/contentful/map/mapContentToComponents.d.ts +20 -0
  208. package/dist/contentful/map/price.d.ts +4 -0
  209. package/dist/contentful/map/richtext.d.ts +8 -0
  210. package/dist/contentful/renderer/index.d.ts +5 -0
  211. package/dist/contentful/renderer/index.js +16 -0
  212. package/dist/contentful/renderer/props.d.ts +7 -0
  213. package/dist/contentful/transform/transformBottomSpacing.d.ts +2 -0
  214. package/dist/contentful/transform/transformIconSize.d.ts +2 -0
  215. package/dist/{easing-Dm-pO8SY.js → easing-CDd2rVn6.js} +2 -2
  216. package/dist/{filterProps-xigToTuS.js → filterProps-CK_4l1QP.js} +2 -2
  217. package/dist/foundations/GlobalStyle/index.js +1 -1
  218. package/dist/foundations/PatternProps/index.d.ts +1 -1
  219. package/dist/foundations/cssVars.d.ts +2 -2
  220. package/dist/foundations/token/getBackgroundColor/index.d.ts +1 -1
  221. package/dist/foundations/token/getBodySize/index.d.ts +1 -1
  222. package/dist/foundations/token/getBorderColor/index.d.ts +1 -1
  223. package/dist/foundations/token/getBorderRadius/index.d.ts +1 -1
  224. package/dist/foundations/token/getBorderWidth/index.d.ts +1 -1
  225. package/dist/foundations/token/getFontWeight/index.d.ts +1 -1
  226. package/dist/foundations/token/getHeadingSize/index.d.ts +1 -1
  227. package/dist/foundations/token/getHoverColor/index.d.ts +2 -2
  228. package/dist/foundations/token/getIconColor/index.d.ts +1 -1
  229. package/dist/foundations/token/getObjectColor/index.d.ts +1 -1
  230. package/dist/foundations/token/getOpacity/index.d.ts +1 -1
  231. package/dist/foundations/token/getPressColor/index.d.ts +2 -2
  232. package/dist/foundations/token/getSpacing/index.d.ts +1 -1
  233. package/dist/foundations/token/getTextColor/index.d.ts +1 -1
  234. package/dist/foundations/token/getTextDecoration/index.d.ts +1 -1
  235. package/dist/foundations/{token/types → types}/Spacing.d.ts +1 -0
  236. package/dist/hooks/useViewport/index.d.ts +1 -1
  237. package/dist/icons/index.d.ts +0 -1
  238. package/dist/icons/index.js +1 -586
  239. package/dist/index-57OYMpaG.js +104 -0
  240. package/dist/index-AHrh8OP2.js +600 -0
  241. package/dist/{index-D1-XMn0u.js → index-B9SzUvp5.js} +53 -6
  242. package/dist/{index-B854Z6wJ.js → index-Bu5vlBqt.js} +5 -5
  243. package/dist/{index-C1XkgaO-.js → index-ByrMTmW3.js} +1 -1
  244. package/dist/{index-nhWB8ViX.js → index-CK6tXAN1.js} +38 -8
  245. package/dist/{index-DAUhM24n.js → index-DbvqYPrV.js} +49 -9
  246. package/dist/{_5gPlusIcon-B_69VW4X.js → index-DsGNddb9.js} +1277 -582
  247. package/dist/index.d.ts +4 -0
  248. package/dist/index.js +204 -117
  249. package/dist/isBottomSpacing-DSLyqm7h.js +10 -0
  250. package/dist/isObject-BYBrvoVW.js +19 -0
  251. package/dist/props-7dcsjRUx.js +28 -0
  252. package/dist/{styled-DLlpknmo.js → styled-BkDwTwEu.js} +2 -2
  253. package/dist/{styled-Coxn39x5.js → styled-BxUdkjFA.js} +4 -4
  254. package/dist/{styled-Zn59EuIp.js → styled-COtlwCWY.js} +6 -6
  255. package/dist/styled-CVUo6v7G.js +42 -0
  256. package/dist/{index-CmRKTcf2.js → styled-CgZsARxO.js} +5 -24
  257. package/dist/{styled-CAa6y5cu.js → styled-CyZvnrtg.js} +4 -4
  258. package/dist/{styled-DQRgGOv7.js → styled-DVjoxeUH.js} +4 -4
  259. package/dist/{styled-BBAZa4-G.js → styled-D_VWcgFd.js} +3 -3
  260. package/dist/{styled-BdlPH_tS.js → styled-DeX1dXol.js} +2 -2
  261. package/dist/{styled-BvCNTnzN.js → styled-DzMg6QNT.js} +13 -9
  262. package/dist/{styled-OqbLiEnJ.js → styled-KMaLUC7W.js} +3 -28
  263. package/dist/styled-rgh-43CM.js +69 -0
  264. package/dist/styled-w6MKq7ew.js +27 -0
  265. package/dist/{tags-D0ExIPLD.js → tags-CixnzWW0.js} +15 -8
  266. package/package.json +5 -1
  267. package/dist/Spacing-D0HQH9YJ.js +0 -16
  268. /package/dist/foundations/{token/types → types}/BackgroundColor.d.ts +0 -0
  269. /package/dist/foundations/{token/types → types}/BorderColor.d.ts +0 -0
  270. /package/dist/foundations/{token/types → types}/BorderRadius.d.ts +0 -0
  271. /package/dist/foundations/{token/types → types}/BorderWidth.d.ts +0 -0
  272. /package/dist/foundations/{token/types → types}/FontWeight.d.ts +0 -0
  273. /package/dist/foundations/{token/types → types}/HeadingSize.d.ts +0 -0
  274. /package/dist/foundations/{token/types → types}/IconColor.d.ts +0 -0
  275. /package/dist/foundations/{token/types → types}/ObjectColor.d.ts +0 -0
  276. /package/dist/foundations/{token/types → types}/Opacity.d.ts +0 -0
  277. /package/dist/foundations/{token/types → types}/TextBodySize.d.ts +0 -0
  278. /package/dist/foundations/{token/types → types}/TextColor.d.ts +0 -0
  279. /package/dist/foundations/{token/types → types}/TextDecoration.d.ts +0 -0
  280. /package/dist/foundations/{token/types → types}/Viewport.d.ts +0 -0
@@ -9,6 +9,6 @@ export {
9
9
  colorBackgroundOverlay as b,
10
10
  colorBackgroundNeutral as c,
11
11
  colorBackgroundOverlayStatic as d,
12
- colorBackgroundBrandGradient as e,
13
- colorBackgroundBrand as f
12
+ colorBackgroundBrand as e,
13
+ colorBackgroundBrandGradient as f
14
14
  };
@@ -15,10 +15,10 @@ export {
15
15
  colorBorderFocus as c,
16
16
  colorBorderSuccess as d,
17
17
  colorBorderCritical as e,
18
- colorBorderWarning as f,
19
- colorBorderBrand as g,
20
- colorBorderInverse as h,
21
- colorBorderSelected as i,
22
- colorBorderSubtle as j,
18
+ colorBorderSubtle as f,
19
+ colorBorderWarning as g,
20
+ colorBorderBrand as h,
21
+ colorBorderInverse as i,
22
+ colorBorderSelected as j,
23
23
  colorBorderInformation as k
24
24
  };
@@ -8,9 +8,9 @@ const borderWidthMd = "Md";
8
8
  export {
9
9
  borderWidthFocus as a,
10
10
  borderWidthUnselected as b,
11
- borderWidthSm as c,
12
- borderWidthSelected as d,
13
- borderWidthDivider as e,
14
- borderWidthNone as f,
15
- borderWidthMd as g
11
+ borderWidthDivider as c,
12
+ borderWidthSm as d,
13
+ borderWidthSelected as e,
14
+ borderWidthMd as f,
15
+ borderWidthNone as g
16
16
  };
@@ -2,7 +2,7 @@ const fontWeightLight = "light";
2
2
  const fontWeightRegular = "regular";
3
3
  const fontWeightBold = "bold";
4
4
  export {
5
- fontWeightRegular as a,
5
+ fontWeightBold as a,
6
6
  fontWeightLight as b,
7
- fontWeightBold as f
7
+ fontWeightRegular as f
8
8
  };
@@ -6,7 +6,7 @@ const textHeadingXs = "xs";
6
6
  export {
7
7
  textHeadingMd as a,
8
8
  textHeadingSm as b,
9
- textHeadingLg as c,
10
- textHeadingXl as d,
9
+ textHeadingXl as c,
10
+ textHeadingLg as d,
11
11
  textHeadingXs as t
12
12
  };
@@ -13,10 +13,10 @@ export {
13
13
  colorObjectSelected as b,
14
14
  colorObjectBrand as c,
15
15
  colorObjectUnselected as d,
16
- colorObjectSuccess as e,
17
- colorObjectNeutral as f,
18
- colorObjectAccent as g,
19
- colorObjectCritical as h,
20
- colorObjectWarning as i,
21
- colorObjectInformation as j
16
+ colorObjectCritical as e,
17
+ colorObjectWarning as f,
18
+ colorObjectSuccess as g,
19
+ colorObjectInformation as h,
20
+ colorObjectNeutral as i,
21
+ colorObjectAccent as j
22
22
  };
@@ -0,0 +1,25 @@
1
+ const spacingNone = "None";
2
+ const spacing2Xs = "2Xs";
3
+ const spacingXs = "Xs";
4
+ const spacingSm = "Sm";
5
+ const spacingMd = "Md";
6
+ const spacingLg = "Lg";
7
+ const spacingXl = "Xl";
8
+ const spacing2Xl = "2Xl";
9
+ const spacing3Xl = "3Xl";
10
+ const spacing4Xl = "4Xl";
11
+ const spacing5Xl = "5Xl";
12
+ const spacing6Xl = "6Xl";
13
+ const spacing7Xl = "7Xl";
14
+ const spacings = [spacingNone, spacing2Xs, spacingXs, spacingSm, spacingMd, spacingLg, spacingXl, spacing2Xl, spacing3Xl, spacing4Xl, spacing5Xl, spacing6Xl, spacing7Xl];
15
+ export {
16
+ spacingXs as a,
17
+ spacingNone as b,
18
+ spacingSm as c,
19
+ spacingXl as d,
20
+ spacings as e,
21
+ spacing2Xs as f,
22
+ spacing5Xl as g,
23
+ spacingLg as h,
24
+ spacingMd as s
25
+ };
@@ -11,6 +11,6 @@ export {
11
11
  colorTextPlaceholder as c,
12
12
  colorTextNeutralStatic as d,
13
13
  colorTextInverse as e,
14
- colorTextBrand as f,
15
- colorTextCritical as g
14
+ colorTextCritical as f,
15
+ colorTextBrand as g
16
16
  };
@@ -1,5 +1,5 @@
1
1
  import { getTextColor } from "./foundations/token/getTextColor/index.js";
2
- import { b as colorTextInverseStatic, a as colorTextNeutral, d as colorTextNeutralStatic, e as colorTextInverse } from "./TextColor-DsntmDNw.js";
2
+ import { b as colorTextInverseStatic, a as colorTextNeutral, d as colorTextNeutralStatic, e as colorTextInverse } from "./TextColor-BXVMXUVE.js";
3
3
  const backgroundForegroundColorMapping = {
4
4
  colorBackgroundBrand: getTextColor(colorTextInverseStatic),
5
5
  colorBackgroundNeutral: getTextColor(colorTextNeutral),
@@ -3,3 +3,4 @@ import { AccordionProps } from './props';
3
3
  declare const Accordion: FC<AccordionProps>;
4
4
  export default Accordion;
5
5
  export * from './props';
6
+ export * from './validate';
@@ -2,27 +2,28 @@
2
2
  import { jsxs, jsx } from "react/jsx-runtime";
3
3
  import { useRef, useState, useEffect } from "react";
4
4
  import Collapsible from "../Collapsible/index.js";
5
- import IconLoader from "../IconLoader/index.js";
6
- import { c as iconSizeMd } from "../../styled-OqbLiEnJ.js";
7
- import "../../NotificationErrorIcon-DMnAJgPN.js";
8
- import { bf as ChevronDownIcon } from "../../_5gPlusIcon-B_69VW4X.js";
5
+ import { b as ChevronDownIcon, d as iconNames, I as IconLoader } from "../../index-DsGNddb9.js";
6
+ import { c as iconSizeMd } from "../../props-7dcsjRUx.js";
7
+ import "../../styled-KMaLUC7W.js";
9
8
  import styled from "styled-components";
10
9
  import Heading from "../Heading/index.js";
11
10
  import forcedColors from "../../foundations/media-query/forcedColors/index.js";
12
11
  import { noReducedMotion } from "../../foundations/media-query/reducedMotion/index.js";
13
- import { a as ease_in_out_sine } from "../../easing-Dm-pO8SY.js";
12
+ import { e as ease_in_out_sine } from "../../easing-CDd2rVn6.js";
14
13
  import { getBorderColor } from "../../foundations/token/getBorderColor/index.js";
15
14
  import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js";
16
15
  import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
17
16
  import { getFontWeight } from "../../foundations/token/getFontWeight/index.js";
18
17
  import { getSpacing } from "../../foundations/token/getSpacing/index.js";
19
18
  import { getTextColor } from "../../foundations/token/getTextColor/index.js";
20
- import { j as colorBorderSubtle, c as colorBorderFocus } from "../../BorderColor-BummoQ1-.js";
21
- import { f as borderWidthNone, b as borderWidthUnselected, a as borderWidthFocus } from "../../BorderWidth-DfOlyKK7.js";
22
- import { a as fontWeightRegular, f as fontWeightBold } from "../../FontWeight-DEBGHbtO.js";
23
- import { s as spacingMd, b as spacingNone, a as spacingXs } from "../../Spacing-D0HQH9YJ.js";
24
- import { a as colorTextNeutral, f as colorTextBrand } from "../../TextColor-DsntmDNw.js";
25
- import { a as filterProps } from "../../filterProps-xigToTuS.js";
19
+ import { f as colorBorderSubtle, c as colorBorderFocus } from "../../BorderColor-CYdSW9dg.js";
20
+ import { g as borderWidthNone, b as borderWidthUnselected, a as borderWidthFocus } from "../../BorderWidth-CTOda7Cp.js";
21
+ import { f as fontWeightRegular, a as fontWeightBold } from "../../FontWeight-C2pGs7aR.js";
22
+ import { s as spacingMd, b as spacingNone, a as spacingXs } from "../../Spacing-BzNNxYMI.js";
23
+ import { a as colorTextNeutral, g as colorTextBrand } from "../../TextColor-BXVMXUVE.js";
24
+ import { f as filterProps } from "../../filterProps-CK_4l1QP.js";
25
+ import { i as isObject, h as hasMatchingComponentName } from "../../isObject-BYBrvoVW.js";
26
+ import { i as isBottomSpacing } from "../../isBottomSpacing-DSLyqm7h.js";
26
27
  const accordionToggleExpanded = "expanded";
27
28
  const accordionToggleCollapsing = "collapsing";
28
29
  const accordionToggleCollapsed = "collapsed";
@@ -123,6 +124,43 @@ const AccordionOpenIndicatorStyled = styled(ChevronDownIcon).withConfig({
123
124
  transform: "rotate(0deg)"
124
125
  }
125
126
  });
127
+ const validateAccordionProps = (props) => {
128
+ if (!isObject(props)) {
129
+ return false;
130
+ }
131
+ const accordionProps = props;
132
+ if (!hasMatchingComponentName(accordionProps.component, "Accordion")) {
133
+ return false;
134
+ }
135
+ if (typeof accordionProps.uid !== "string" || accordionProps.uid.length === 0) {
136
+ return false;
137
+ }
138
+ if (typeof accordionProps.heading !== "string" || accordionProps.heading.length === 0) {
139
+ return false;
140
+ }
141
+ if (accordionProps.children === void 0 || accordionProps.children === null) {
142
+ return false;
143
+ }
144
+ if (accordionProps.iconName !== void 0 && !iconNames.includes(accordionProps.iconName)) {
145
+ return false;
146
+ }
147
+ if (accordionProps.expanded !== void 0 && typeof accordionProps.expanded !== "boolean") {
148
+ return false;
149
+ }
150
+ if (accordionProps.handleOnToggle !== void 0 && typeof accordionProps.handleOnToggle !== "function") {
151
+ return false;
152
+ }
153
+ if (accordionProps.verticalScrollOffset !== void 0 && typeof accordionProps.verticalScrollOffset !== "number") {
154
+ return false;
155
+ }
156
+ if (accordionProps.bottomSpacing && !isBottomSpacing(accordionProps.bottomSpacing)) {
157
+ return false;
158
+ }
159
+ return true;
160
+ };
161
+ const isAccordionProps = (props) => {
162
+ return validateAccordionProps(props);
163
+ };
126
164
  const Accordion = ({
127
165
  uid,
128
166
  children,
@@ -194,5 +232,7 @@ export {
194
232
  accordionToggleCollapsed,
195
233
  accordionToggleCollapsing,
196
234
  accordionToggleExpanded,
197
- Accordion as default
235
+ Accordion as default,
236
+ isAccordionProps,
237
+ validateAccordionProps
198
238
  };
@@ -0,0 +1,3 @@
1
+ import { AccordionProps } from './props';
2
+ export declare const validateAccordionProps: (props: unknown) => props is AccordionProps;
3
+ export declare const isAccordionProps: (props: unknown) => props is AccordionProps;
@@ -0,0 +1 @@
1
+ export {};
@@ -3,3 +3,4 @@ import { AccordionGroupProps } from './props';
3
3
  declare const AccordionGroup: FC<AccordionGroupProps>;
4
4
  export default AccordionGroup;
5
5
  export * from './props';
6
+ export * from './validate';
@@ -1,11 +1,13 @@
1
1
  "use client";
2
2
  import { jsx, Fragment } from "react/jsx-runtime";
3
- import Accordion from "../Accordion/index.js";
4
- import { s as spacingMd, b as spacingNone } from "../../Spacing-D0HQH9YJ.js";
3
+ import Accordion, { validateAccordionProps } from "../Accordion/index.js";
4
+ import { s as spacingMd, b as spacingNone } from "../../Spacing-BzNNxYMI.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-xigToTuS.js";
8
+ import { f as filterProps } from "../../filterProps-CK_4l1QP.js";
9
+ import { i as isObject, h as hasMatchingComponentName } from "../../isObject-BYBrvoVW.js";
10
+ import { i as isBottomSpacing } from "../../isBottomSpacing-DSLyqm7h.js";
9
11
  const AccordionGroupSingleExpand = ({
10
12
  bottomSpacing = spacingMd,
11
13
  ...props
@@ -41,6 +43,39 @@ const AccordionGroupStyled = styled.div.withConfig({
41
43
  displayName: "AccordionGroupStyled",
42
44
  componentId: "sc-17dfswd-0"
43
45
  })(getBottomSpacing);
46
+ const validateAccordionGroupProps = (props) => {
47
+ if (!isObject(props)) {
48
+ return false;
49
+ }
50
+ const accordionGroupProps = props;
51
+ if (!hasMatchingComponentName(accordionGroupProps.component, "AccordionGroup")) {
52
+ return false;
53
+ }
54
+ if (!Array.isArray(accordionGroupProps.items) || accordionGroupProps.items.length === 0) {
55
+ return false;
56
+ }
57
+ for (const item of accordionGroupProps.items) {
58
+ if (!validateAccordionProps(item)) {
59
+ return false;
60
+ }
61
+ }
62
+ if (accordionGroupProps.singleExpand !== void 0 && typeof accordionGroupProps.singleExpand !== "boolean") {
63
+ return false;
64
+ }
65
+ if (accordionGroupProps.handleOnToggle !== void 0 && typeof accordionGroupProps.handleOnToggle !== "function") {
66
+ return false;
67
+ }
68
+ if (accordionGroupProps.verticalScrollOffset !== void 0 && typeof accordionGroupProps.verticalScrollOffset !== "number") {
69
+ return false;
70
+ }
71
+ if (accordionGroupProps.bottomSpacing && !isBottomSpacing(accordionGroupProps.bottomSpacing)) {
72
+ return false;
73
+ }
74
+ return true;
75
+ };
76
+ const isAccordionGroupProps = (props) => {
77
+ return validateAccordionGroupProps(props);
78
+ };
44
79
  const AccordionGroup = ({
45
80
  singleExpand = false,
46
81
  bottomSpacing = spacingMd,
@@ -55,5 +90,7 @@ const AccordionGroup = ({
55
90
  }) });
56
91
  };
57
92
  export {
58
- AccordionGroup as default
93
+ AccordionGroup as default,
94
+ isAccordionGroupProps,
95
+ validateAccordionGroupProps
59
96
  };
@@ -0,0 +1,3 @@
1
+ import { AccordionGroupProps } from './props';
2
+ export declare const validateAccordionGroupProps: (props: unknown) => props is AccordionGroupProps;
3
+ export declare const isAccordionGroupProps: (props: unknown) => props is AccordionGroupProps;
@@ -0,0 +1 @@
1
+ export {};
@@ -3,3 +3,4 @@ import { BadgeProps } from './props';
3
3
  declare const Badge: FC<BadgeProps>;
4
4
  export default Badge;
5
5
  export * from './props';
6
+ export * from './validate';
@@ -1,12 +1,21 @@
1
1
  "use client";
2
2
  import "react/jsx-runtime";
3
- import "../IconLoader/index.js";
4
- import "../../styled-OqbLiEnJ.js";
5
- import "../../Spacing-D0HQH9YJ.js";
3
+ import "../../index-DsGNddb9.js";
4
+ import "../../props-7dcsjRUx.js";
5
+ import "../../styled-KMaLUC7W.js";
6
6
  import "../../SizeTypes-Ck_RdzIf.js";
7
+ import "../../Spacing-BzNNxYMI.js";
7
8
  import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
8
- import { a, B } from "../../index-DAUhM24n.js";
9
+ import { b, c, d, B, i, p, s, a, t, v } from "../../index-DbvqYPrV.js";
9
10
  export {
10
- a as BadgeAppearanceColor,
11
- B as default
11
+ b as BadgeAppearanceColor,
12
+ c as badgeAppearances,
13
+ d as badgeSizes,
14
+ B as default,
15
+ i as isBadgeProps,
16
+ p as primaryBadgeAppearance,
17
+ s as secondaryBadgeAppearance,
18
+ a as successBadgeAppearance,
19
+ t as tertiaryBadgeAppearance,
20
+ v as validateBadgeProps
12
21
  };
@@ -1,20 +1,20 @@
1
1
  import { IconName } from '@vfde-react/inline-icon-library/IconName';
2
2
  import { HTMLAttributes } from 'react';
3
3
  import { PatternProps } from '../../foundations/PatternProps';
4
- import { ObjectColor } from '../../foundations/token/types/ObjectColor';
4
+ import { ObjectColor } from '../../foundations/types/ObjectColor';
5
5
  import { mediumSize, smallSize } from '../../foundations/types/SizeTypes';
6
- import { Theme } from '../../foundations/types/Theme';
7
- export type BadgeAppearance = 'primary' | 'secondary' | 'tertiary' | 'success';
6
+ export declare const primaryBadgeAppearance = "primary";
7
+ export declare const secondaryBadgeAppearance = "secondary";
8
+ export declare const tertiaryBadgeAppearance = "tertiary";
9
+ export declare const successBadgeAppearance = "success";
10
+ export type BadgeAppearance = typeof primaryBadgeAppearance | typeof secondaryBadgeAppearance | typeof tertiaryBadgeAppearance | typeof successBadgeAppearance;
11
+ export type BadgeSize = typeof smallSize | typeof mediumSize;
8
12
  export declare const BadgeAppearanceColor: Record<BadgeAppearance, ObjectColor>;
9
13
  export interface BadgeProps extends PatternProps, HTMLAttributes<HTMLSpanElement> {
10
14
  /**
11
15
  * Pin component's name from string to the concrete name
12
16
  */
13
17
  component?: 'Badge';
14
- /**
15
- * Can be used on darker backgrounds by setting to `dark`
16
- */
17
- theme?: Theme;
18
18
  /**
19
19
  * Support for several different appearances with their own background colors
20
20
  */
@@ -22,9 +22,13 @@ export interface BadgeProps extends PatternProps, HTMLAttributes<HTMLSpanElement
22
22
  /**
23
23
  * Supports two sizes: small and medium
24
24
  */
25
- size?: typeof smallSize | typeof mediumSize;
25
+ size?: BadgeSize;
26
26
  /**
27
27
  * Specify a system icon name to be displayed to the left of content. All system icons are listed here: https://www.vodafone.de/simplicity/icons/
28
28
  */
29
29
  icon?: IconName;
30
+ /**
31
+ * Children are mandatory and must be a string
32
+ */
33
+ children: string;
30
34
  }
@@ -0,0 +1,5 @@
1
+ import { BadgeAppearance, BadgeProps, BadgeSize } from './props';
2
+ export declare const badgeAppearances: BadgeAppearance[];
3
+ export declare const badgeSizes: BadgeSize[];
4
+ export declare const validateBadgeProps: (props: unknown) => boolean;
5
+ export declare const isBadgeProps: (props: unknown) => props is BadgeProps;
@@ -0,0 +1 @@
1
+ export {};
@@ -3,3 +3,4 @@ import { BodyProps } from './props';
3
3
  declare const Body: FC<BodyProps>;
4
4
  export default Body;
5
5
  export * from './props';
6
+ export * from './validate';
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsx } from "react/jsx-runtime";
3
- import { c as spacingSm, s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
3
+ import { c as spacingSm, s as spacingMd } from "../../Spacing-BzNNxYMI.js";
4
4
  import { t as textBodyMd, a as textBodySm } from "../../TextBodySize-BcZR9mh2.js";
5
5
  import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
6
6
  import styled from "styled-components";
@@ -8,9 +8,10 @@ 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-DEBGHbtO.js";
12
- import { a as colorTextNeutral } from "../../TextColor-DsntmDNw.js";
13
- import { a as filterProps } from "../../filterProps-xigToTuS.js";
11
+ import { a as fontWeightBold, b as fontWeightLight, f as fontWeightRegular } from "../../FontWeight-C2pGs7aR.js";
12
+ import { a as colorTextNeutral } from "../../TextColor-BXVMXUVE.js";
13
+ import { f as filterProps } from "../../filterProps-CK_4l1QP.js";
14
+ import { p as pTagName, d as divTagName, c as spanTagName, k as strongTagName, m as supTagName } from "../../tags-CixnzWW0.js";
14
15
  const BodyStyled = styled.p.withConfig({
15
16
  shouldForwardProp: filterProps(),
16
17
  displayName: "BodyStyled",
@@ -59,6 +60,38 @@ const BodyStyled = styled.p.withConfig({
59
60
  const bodyAlignLeft = "left";
60
61
  const bodyAlignCenter = "center";
61
62
  const bodyAlignRight = "right";
63
+ const bodySizes = [textBodyMd, textBodySm];
64
+ const bodyTags = [pTagName, divTagName, spanTagName, strongTagName, supTagName];
65
+ const bodyAligns = ["left", "center", "right"];
66
+ const bodyWeights = [fontWeightLight, fontWeightRegular, fontWeightBold];
67
+ const validateBodyProps = (props) => {
68
+ if (!props || typeof props !== "object") {
69
+ return false;
70
+ }
71
+ const bodyProps = props;
72
+ if (!bodyProps.component || bodyProps.component !== "Body") {
73
+ return false;
74
+ }
75
+ if (bodyProps.size !== void 0 && !bodySizes.includes(bodyProps.size)) {
76
+ return false;
77
+ }
78
+ if (bodyProps.weight !== void 0 && !bodyWeights.includes(bodyProps.weight)) {
79
+ return false;
80
+ }
81
+ if (bodyProps.align !== void 0 && !bodyAligns.includes(bodyProps.align)) {
82
+ return false;
83
+ }
84
+ if (bodyProps.tag !== void 0 && !bodyTags.includes(bodyProps.tag)) {
85
+ return false;
86
+ }
87
+ if (bodyProps.children === void 0) {
88
+ return false;
89
+ }
90
+ return true;
91
+ };
92
+ const isBodyProps = (props) => {
93
+ return validateBodyProps(props);
94
+ };
62
95
  const Body = ({
63
96
  tag = "p",
64
97
  bottomSpacing,
@@ -73,5 +106,11 @@ export {
73
106
  bodyAlignCenter,
74
107
  bodyAlignLeft,
75
108
  bodyAlignRight,
76
- Body as default
109
+ bodyAligns,
110
+ bodySizes,
111
+ bodyTags,
112
+ bodyWeights,
113
+ Body as default,
114
+ isBodyProps,
115
+ validateBodyProps
77
116
  };
@@ -1,8 +1,8 @@
1
1
  import { HTMLAttributes, ReactNode } from 'react';
2
2
  import { PatternProps } from '../../foundations/PatternProps';
3
3
  import { divTagName, pTagName, spanTagName, strongTagName, supTagName } from '../../foundations/tags';
4
- import { FontWeight } from '../../foundations/token/types/FontWeight';
5
- import { TextBodySize } from '../../foundations/token/types/TextBodySize';
4
+ import { FontWeight } from '../../foundations/types/FontWeight';
5
+ import { TextBodySize } from '../../foundations/types/TextBodySize';
6
6
  import { Theme } from '../../foundations/types/Theme';
7
7
  export type BodyTags = typeof pTagName | typeof divTagName | typeof spanTagName | typeof strongTagName | typeof supTagName;
8
8
  export declare const bodyAlignLeft = "left";
@@ -0,0 +1,8 @@
1
+ import { FontWeight } from '../../foundations/types/FontWeight';
2
+ import { BodyAlign, BodyProps, BodyTags } from './props';
3
+ export declare const bodySizes: string[];
4
+ export declare const bodyTags: BodyTags[];
5
+ export declare const bodyAligns: BodyAlign[];
6
+ export declare const bodyWeights: FontWeight[];
7
+ export declare const validateBodyProps: (props: unknown) => boolean;
8
+ export declare const isBodyProps: (props: unknown) => props is BodyProps;
@@ -0,0 +1 @@
1
+ export {};
@@ -2,13 +2,13 @@
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import { useRef, useState, useEffect } from "react";
4
4
  import Container from "../Container/index.js";
5
- import { s as spacingMd, b as spacingNone } from "../../Spacing-D0HQH9YJ.js";
5
+ import { s as spacingMd, b as spacingNone } from "../../Spacing-BzNNxYMI.js";
6
6
  import styled from "styled-components";
7
- import { a as CardStyled } from "../../styled-DQRgGOv7.js";
7
+ import { a as CardStyled } from "../../styled-DVjoxeUH.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-xigToTuS.js";
11
+ import { f as filterProps } from "../../filterProps-CK_4l1QP.js";
12
12
  const bottomBarExtraPadding = 100;
13
13
  const BottomBarStyled = styled(CardStyled).withConfig({
14
14
  shouldForwardProp: filterProps(),
@@ -1,5 +1,5 @@
1
1
  import { CSSObject } from 'styled-components';
2
- import { ObjectColor } from '../../foundations/token/types/ObjectColor';
3
2
  import { ButtonAppearances } from '../../foundations/types/ButtonAppearances';
3
+ import { ObjectColor } from '../../foundations/types/ObjectColor';
4
4
  export declare const ButtonAppearanceColor: Record<ButtonAppearances, ObjectColor>;
5
5
  export declare const getButtonAppearance: (appearance: ButtonAppearances) => CSSObject;
@@ -4,3 +4,4 @@ import { ButtonAsLinkProps } from '../ButtonAsLink/props';
4
4
  declare const Button: FC<ButtonProps | ButtonAsLinkProps>;
5
5
  export default Button;
6
6
  export * from './props';
7
+ export * from './validate';
@@ -1,10 +1,9 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
- import { B as ButtonAsLink, g as getButtonIcon } from "../../index-CmRKTcf2.js";
3
+ import { B as ButtonAsLink, g as getButtonIcon } from "../../index-57OYMpaG.js";
4
+ import { c, a, b, f, e, d } from "../../index-57OYMpaG.js";
4
5
  import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
5
- import { B as ButtonStyled } from "../../styled-BvCNTnzN.js";
6
- const buttonFullWidth = "full";
7
- const buttonAutoWidth = "auto";
6
+ import { B as ButtonStyled } from "../../styled-DzMg6QNT.js";
8
7
  const isButtonAsLinkProp = (props) => {
9
8
  return props.href !== void 0;
10
9
  };
@@ -18,7 +17,11 @@ const Button = (props) => {
18
17
  ] });
19
18
  };
20
19
  export {
21
- buttonAutoWidth,
22
- buttonFullWidth,
23
- Button as default
20
+ c as buttonAppearances,
21
+ a as buttonAutoWidth,
22
+ b as buttonFullWidth,
23
+ f as buttonWidthBehaviors,
24
+ Button as default,
25
+ e as isButtonProps,
26
+ d as validateButtonProps
24
27
  };
@@ -2,7 +2,6 @@ import { ButtonHTMLAttributes } from 'react';
2
2
  import { PatternProps } from '../../foundations/PatternProps';
3
3
  import { ButtonAppearances } from '../../foundations/types/ButtonAppearances';
4
4
  import { default as PositionedIconInterface } from '../../foundations/types/PositionedIconInterface';
5
- import { Theme } from '../../foundations/types/Theme';
6
5
  export declare const buttonFullWidth = "full";
7
6
  export declare const buttonAutoWidth = "auto";
8
7
  export type ButtonWidthBehavior = typeof buttonFullWidth | typeof buttonAutoWidth;
@@ -11,10 +10,6 @@ export interface ButtonSharedProps {
11
10
  * Supports different button appearances
12
11
  */
13
12
  appearance?: ButtonAppearances;
14
- /**
15
- * Can be used on darker backgrounds by setting to 'dark'
16
- */
17
- theme?: Theme;
18
13
  /**
19
14
  * Supports different width behaviors
20
15
  */
@@ -0,0 +1,6 @@
1
+ import { ButtonAppearances } from '../../foundations/types/ButtonAppearances';
2
+ import { ButtonProps } from './props';
3
+ export declare const buttonAppearances: ButtonAppearances;
4
+ export declare const buttonWidthBehaviors: readonly ["full", "auto"];
5
+ export declare const validateButtonProps: (props: unknown) => props is ButtonProps;
6
+ export declare const isButtonProps: (props: unknown) => props is ButtonProps;
@@ -0,0 +1 @@
1
+ export {};
@@ -3,3 +3,4 @@ import { ButtonAsLinkProps } from './props';
3
3
  declare const ButtonAsLink: FC<ButtonAsLinkProps>;
4
4
  export default ButtonAsLink;
5
5
  export * from './props';
6
+ export * from './validate';
@@ -1,9 +1,13 @@
1
1
  "use client";
2
2
  import "react/jsx-runtime";
3
- import { B } from "../../index-CmRKTcf2.js";
3
+ import { h, B, i, v } from "../../index-57OYMpaG.js";
4
4
  import "../../hooks/useLinkComponent/index.js";
5
- import "../../filterProps-xigToTuS.js";
5
+ import "../../filterProps-CK_4l1QP.js";
6
6
  import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
7
+ import "../../styled-CgZsARxO.js";
7
8
  export {
8
- B as default
9
+ h as buttonWidthBehaviors,
10
+ B as default,
11
+ i as isButtonAsLinkProps,
12
+ v as validateButtonAsLinkProps
9
13
  };
@@ -0,0 +1,4 @@
1
+ import { ButtonAsLinkProps } from './props';
2
+ export declare const buttonWidthBehaviors: readonly ["full", "auto"];
3
+ export declare const validateButtonAsLinkProps: (props: unknown) => props is ButtonAsLinkProps;
4
+ export declare const isButtonAsLinkProps: (props: unknown) => props is ButtonAsLinkProps;
@@ -0,0 +1 @@
1
+ export {};