@vodafone_de/brix-components 3.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 (354) hide show
  1. package/LICENSE +393 -0
  2. package/README.md +4 -0
  3. package/dist/components/Accordion/index.d.ts +5 -0
  4. package/dist/components/Accordion/props.d.ts +63 -0
  5. package/dist/components/Accordion/styled.d.ts +6 -0
  6. package/dist/components/AccordionGroup/AccordionGroupSingleExpand.d.ts +7 -0
  7. package/dist/components/AccordionGroup/index.d.ts +5 -0
  8. package/dist/components/AccordionGroup/props.d.ts +15 -0
  9. package/dist/components/AccordionGroup/stories/scrollToViewFixedHeaderStoryObj.d.ts +3 -0
  10. package/dist/components/AccordionGroup/styled.d.ts +2 -0
  11. package/dist/components/Badge/index.d.ts +5 -0
  12. package/dist/components/Badge/props.d.ts +30 -0
  13. package/dist/components/Badge/styled.d.ts +2 -0
  14. package/dist/components/Body/index.d.ts +5 -0
  15. package/dist/components/Body/index.js +9 -0
  16. package/dist/components/Body/props.d.ts +40 -0
  17. package/dist/components/Body/styled.d.ts +4 -0
  18. package/dist/components/BottomBar/index.d.ts +5 -0
  19. package/dist/components/BottomBar/props.d.ts +18 -0
  20. package/dist/components/BottomBar/styled.d.ts +3 -0
  21. package/dist/components/Button/ButtonAppearanceHelper.d.ts +5 -0
  22. package/dist/components/Button/getButtonIcon.d.ts +2 -0
  23. package/dist/components/Button/index.d.ts +6 -0
  24. package/dist/components/Button/props.d.ts +40 -0
  25. package/dist/components/Button/styled.d.ts +10 -0
  26. package/dist/components/ButtonAsLink/index.d.ts +5 -0
  27. package/dist/components/ButtonAsLink/props.d.ts +14 -0
  28. package/dist/components/ButtonAsLink/styled.d.ts +2 -0
  29. package/dist/components/ButtonGroup/index.d.ts +5 -0
  30. package/dist/components/ButtonGroup/props.d.ts +30 -0
  31. package/dist/components/Card/index.d.ts +5 -0
  32. package/dist/components/Card/props.d.ts +28 -0
  33. package/dist/components/Card/styled.d.ts +2 -0
  34. package/dist/components/Carousel/components/CarouselContext.d.ts +20 -0
  35. package/dist/components/Carousel/components/CarouselIndicator.d.ts +2 -0
  36. package/dist/components/Carousel/components/CarouselInner.d.ts +4 -0
  37. package/dist/components/Carousel/components/CarouselItem.d.ts +3 -0
  38. package/dist/components/Carousel/components/CarouselNavigation.d.ts +7 -0
  39. package/dist/components/Carousel/index.d.ts +5 -0
  40. package/dist/components/Carousel/props.d.ts +88 -0
  41. package/dist/components/Carousel/stories/productCards.d.ts +6 -0
  42. package/dist/components/Carousel/styled.d.ts +19 -0
  43. package/dist/components/Carousel/utils/carouselDefaultGridConfig.d.ts +2 -0
  44. package/dist/components/Carousel/utils/getItemByScroll.d.ts +2 -0
  45. package/dist/components/Carousel/utils/getItems.d.ts +2 -0
  46. package/dist/components/Carousel/utils/scrollTo.d.ts +1 -0
  47. package/dist/components/Carousel/utils/useScrollSpy.d.ts +2 -0
  48. package/dist/components/Checkbox/assets/CheckedBox.d.ts +3 -0
  49. package/dist/components/Checkbox/assets/UncheckedBox.d.ts +3 -0
  50. package/dist/components/Checkbox/index.d.ts +5 -0
  51. package/dist/components/Checkbox/props.d.ts +20 -0
  52. package/dist/components/Checkbox/styled.d.ts +13 -0
  53. package/dist/components/CheckboxGroup/index.d.ts +5 -0
  54. package/dist/components/CheckboxGroup/props.d.ts +21 -0
  55. package/dist/components/CheckboxGroup/styled.d.ts +2 -0
  56. package/dist/components/Collapsible/index.d.ts +5 -0
  57. package/dist/components/Collapsible/props.d.ts +15 -0
  58. package/dist/components/Collapsible/styled.d.ts +3 -0
  59. package/dist/components/ColorSwatch/index.d.ts +5 -0
  60. package/dist/components/ColorSwatch/props.d.ts +19 -0
  61. package/dist/components/ColorSwatch/styled.d.ts +5 -0
  62. package/dist/components/ColorSwatchGroup/index.d.ts +5 -0
  63. package/dist/components/ColorSwatchGroup/props.d.ts +17 -0
  64. package/dist/components/ColorSwatchGroup/styled.d.ts +4 -0
  65. package/dist/components/Container/index.d.ts +5 -0
  66. package/dist/components/Container/props.d.ts +27 -0
  67. package/dist/components/Container/styled.d.ts +3 -0
  68. package/dist/components/DateInput/index.d.ts +4 -0
  69. package/dist/components/DateInput/props.d.ts +13 -0
  70. package/dist/components/DateInput/styled.d.ts +4 -0
  71. package/dist/components/DemoBox/index.d.ts +5 -0
  72. package/dist/components/DemoBox/props.d.ts +5 -0
  73. package/dist/components/DemoBox/styled.d.ts +2 -0
  74. package/dist/components/Dialog/index.d.ts +5 -0
  75. package/dist/components/Dialog/props.d.ts +47 -0
  76. package/dist/components/Dialog/styled.d.ts +9 -0
  77. package/dist/components/DiscoveryCard/components/DiscoveryCardLinkedImage.d.ts +4 -0
  78. package/dist/components/DiscoveryCard/index.d.ts +5 -0
  79. package/dist/components/DiscoveryCard/props.d.ts +45 -0
  80. package/dist/components/DiscoveryCard/styled.d.ts +6 -0
  81. package/dist/components/DiscoveryCardGroup/index.d.ts +5 -0
  82. package/dist/components/DiscoveryCardGroup/props.d.ts +21 -0
  83. package/dist/components/DiscoveryCardGroup/styled.d.ts +6 -0
  84. package/dist/components/Divider/index.d.ts +5 -0
  85. package/dist/components/Divider/props.d.ts +5 -0
  86. package/dist/components/Divider/styled.d.ts +2 -0
  87. package/dist/components/Fieldset/index.d.ts +4 -0
  88. package/dist/components/Fieldset/props.d.ts +38 -0
  89. package/dist/components/Fieldset/styled.d.ts +2 -0
  90. package/dist/components/FilterGroup/index.d.ts +5 -0
  91. package/dist/components/FilterGroup/props.d.ts +29 -0
  92. package/dist/components/FilterGroup/styled.d.ts +7 -0
  93. package/dist/components/Flex/index.d.ts +5 -0
  94. package/dist/components/Flex/props.d.ts +35 -0
  95. package/dist/components/Flex/stories/autoAndFullItemArgs.d.ts +2 -0
  96. package/dist/components/Flex/stories/autoAndFullItemVerticalArgs.d.ts +2 -0
  97. package/dist/components/Flex/stories/fullAndAutoItemArgs.d.ts +2 -0
  98. package/dist/components/Flex/stories/fullAndAutoItemVerticalArgs.d.ts +2 -0
  99. package/dist/components/Flex/stories/justifyBetweenArgs.d.ts +2 -0
  100. package/dist/components/Flex/stories/justifyBetweenVerticalArgs.d.ts +2 -0
  101. package/dist/components/Flex/stories/justifyCenterArgs.d.ts +2 -0
  102. package/dist/components/Flex/stories/justifyCenterVerticalArgs.d.ts +2 -0
  103. package/dist/components/Flex/stories/justifyEndArgs.d.ts +2 -0
  104. package/dist/components/Flex/stories/justifyEndVerticalArgs.d.ts +2 -0
  105. package/dist/components/Flex/stories/justifyStartArgs.d.ts +2 -0
  106. package/dist/components/Flex/stories/justifyStartVerticalArgs.d.ts +2 -0
  107. package/dist/components/Flex/stories/twoFullItemsArgs.d.ts +2 -0
  108. package/dist/components/Flex/stories/twoFullItemsVerticalArgs.d.ts +2 -0
  109. package/dist/components/Flex/stories/xlGapSpacingArgs.d.ts +2 -0
  110. package/dist/components/Flex/styled.d.ts +2 -0
  111. package/dist/components/FlexItem/index.d.ts +5 -0
  112. package/dist/components/FlexItem/props.d.ts +17 -0
  113. package/dist/components/FlexItem/styled.d.ts +2 -0
  114. package/dist/components/FootnoteContent/index.d.ts +5 -0
  115. package/dist/components/FootnoteContent/props.d.ts +17 -0
  116. package/dist/components/FootnoteContent/styled.d.ts +2 -0
  117. package/dist/components/FootnoteLink/index.d.ts +5 -0
  118. package/dist/components/FootnoteLink/props.d.ts +24 -0
  119. package/dist/components/FootnoteLink/styled.d.ts +1 -0
  120. package/dist/components/Form/index.d.ts +5 -0
  121. package/dist/components/Form/props.d.ts +15 -0
  122. package/dist/components/Form/styled.d.ts +2 -0
  123. package/dist/components/FormElement/index.d.ts +5 -0
  124. package/dist/components/FormElement/props.d.ts +12 -0
  125. package/dist/components/FormElement/styled.d.ts +4 -0
  126. package/dist/components/FormHelperLabel/index.d.ts +10 -0
  127. package/dist/components/FormHelperLabel/props.d.ts +5 -0
  128. package/dist/components/FormHelperMessage/index.d.ts +5 -0
  129. package/dist/components/FormHelperMessage/props.d.ts +18 -0
  130. package/dist/components/FormHelperMessage/styled.d.ts +5 -0
  131. package/dist/components/FormHelperStatusIcon/index.d.ts +14 -0
  132. package/dist/components/FormHelperStatusIcon/props.d.ts +5 -0
  133. package/dist/components/FormHelperStatusIcon/styled.d.ts +3 -0
  134. package/dist/components/GoogleMap/components/ConsentMessage/bg.d.ts +6 -0
  135. package/dist/components/GoogleMap/components/ConsentMessage/index.d.ts +4 -0
  136. package/dist/components/GoogleMap/components/ConsentMessage/props.d.ts +23 -0
  137. package/dist/components/GoogleMap/components/ConsentMessage/styled.d.ts +7 -0
  138. package/dist/components/GoogleMap/components/Map/MapInner.d.ts +4 -0
  139. package/dist/components/GoogleMap/components/Map/MapProvider.d.ts +4 -0
  140. package/dist/components/GoogleMap/components/Map/props.d.ts +6 -0
  141. package/dist/components/GoogleMap/index.d.ts +5 -0
  142. package/dist/components/GoogleMap/props.d.ts +45 -0
  143. package/dist/components/GoogleMap/styled.d.ts +2 -0
  144. package/dist/components/Grid/getColumnWidth.d.ts +3 -0
  145. package/dist/components/Grid/getOffset.d.ts +3 -0
  146. package/dist/components/Grid/helpers.d.ts +5 -0
  147. package/dist/components/Grid/index.d.ts +5 -0
  148. package/dist/components/Grid/props.d.ts +48 -0
  149. package/dist/components/Grid/stories/alignGridCenterArgs.d.ts +2 -0
  150. package/dist/components/Grid/stories/alignGridItemArgs.d.ts +2 -0
  151. package/dist/components/Grid/stories/alignGridRightArgs.d.ts +2 -0
  152. package/dist/components/Grid/stories/grid12Args.d.ts +2 -0
  153. package/dist/components/Grid/stories/grid222222Args.d.ts +2 -0
  154. package/dist/components/Grid/stories/grid3333Args.d.ts +2 -0
  155. package/dist/components/Grid/stories/grid363Args.d.ts +2 -0
  156. package/dist/components/Grid/stories/grid444Args.d.ts +2 -0
  157. package/dist/components/Grid/stories/grid64Args.d.ts +2 -0
  158. package/dist/components/Grid/stories/grid66Args.d.ts +2 -0
  159. package/dist/components/Grid/stories/grid75Args.d.ts +2 -0
  160. package/dist/components/Grid/stories/nestingArgs.d.ts +2 -0
  161. package/dist/components/Grid/stories/noSpacingArgs.d.ts +2 -0
  162. package/dist/components/Grid/stories/offsetArgs.d.ts +2 -0
  163. package/dist/components/Grid/stories/responsiveArgs.d.ts +2 -0
  164. package/dist/components/Grid/stories/stretchArgs.d.ts +2 -0
  165. package/dist/components/Grid/stories/tagOrderedListArgs.d.ts +2 -0
  166. package/dist/components/Grid/stories/tagUnorderedListArgs.d.ts +2 -0
  167. package/dist/components/Grid/styled.d.ts +2 -0
  168. package/dist/components/GridItem/index.d.ts +5 -0
  169. package/dist/components/GridItem/props.d.ts +25 -0
  170. package/dist/components/GridItem/styled.d.ts +3 -0
  171. package/dist/components/Heading/index.d.ts +5 -0
  172. package/dist/components/Heading/props.d.ts +46 -0
  173. package/dist/components/Heading/styled.d.ts +8 -0
  174. package/dist/components/HifiIcon/index.d.ts +5 -0
  175. package/dist/components/HifiIcon/props.d.ts +23 -0
  176. package/dist/components/HifiIcon/styled.d.ts +2 -0
  177. package/dist/components/Icon/index.d.ts +14 -0
  178. package/dist/components/Icon/props.d.ts +17 -0
  179. package/dist/components/IconButton/index.d.ts +5 -0
  180. package/dist/components/IconButton/props.d.ts +42 -0
  181. package/dist/components/IconButton/styled.d.ts +4 -0
  182. package/dist/components/IconSnippet/index.d.ts +5 -0
  183. package/dist/components/IconSnippet/props.d.ts +53 -0
  184. package/dist/components/IconSnippet/styled.d.ts +6 -0
  185. package/dist/components/IconSnippetList/index.d.ts +5 -0
  186. package/dist/components/IconSnippetList/props.d.ts +19 -0
  187. package/dist/components/IconSnippetList/styled.d.ts +2 -0
  188. package/dist/components/Image/index.d.ts +5 -0
  189. package/dist/components/Image/props.d.ts +61 -0
  190. package/dist/components/Image/styled.d.ts +2 -0
  191. package/dist/components/ImageHeader/index.d.ts +5 -0
  192. package/dist/components/ImageHeader/props.d.ts +69 -0
  193. package/dist/components/ImageHeader/styled.d.ts +9 -0
  194. package/dist/components/InlineLink/index.d.ts +5 -0
  195. package/dist/components/InlineLink/props.d.ts +16 -0
  196. package/dist/components/InlineLink/styled.d.ts +2 -0
  197. package/dist/components/Input/index.d.ts +8 -0
  198. package/dist/components/Input/props.d.ts +48 -0
  199. package/dist/components/Input/styled.d.ts +7 -0
  200. package/dist/components/Label/index.d.ts +5 -0
  201. package/dist/components/Label/props.d.ts +12 -0
  202. package/dist/components/Label/styled.d.ts +2 -0
  203. package/dist/components/Legend/index.d.ts +5 -0
  204. package/dist/components/Legend/props.d.ts +17 -0
  205. package/dist/components/Legend/styled.d.ts +1 -0
  206. package/dist/components/Link/getLinkIcon.d.ts +3 -0
  207. package/dist/components/Link/index.d.ts +6 -0
  208. package/dist/components/Link/props.d.ts +28 -0
  209. package/dist/components/Link/styled.d.ts +4 -0
  210. package/dist/components/LinkAsButton/index.d.ts +5 -0
  211. package/dist/components/LinkAsButton/props.d.ts +13 -0
  212. package/dist/components/LinkAsButton/styled.d.ts +2 -0
  213. package/dist/components/LinkList/index.d.ts +5 -0
  214. package/dist/components/LinkList/props.d.ts +29 -0
  215. package/dist/components/LinkList/styled.d.ts +3 -0
  216. package/dist/components/LinkListItem/index.d.ts +5 -0
  217. package/dist/components/LinkListItem/props.d.ts +46 -0
  218. package/dist/components/LinkListItem/styled.d.ts +11 -0
  219. package/dist/components/LoadingSpinner/LoadingSpinnerSVG.d.ts +4 -0
  220. package/dist/components/LoadingSpinner/index.d.ts +5 -0
  221. package/dist/components/LoadingSpinner/props.d.ts +46 -0
  222. package/dist/components/LoadingSpinner/styled.d.ts +20 -0
  223. package/dist/components/Notification/index.d.ts +5 -0
  224. package/dist/components/Notification/notificationStatusVariants.d.ts +12 -0
  225. package/dist/components/Notification/props.d.ts +30 -0
  226. package/dist/components/Notification/styled.d.ts +10 -0
  227. package/dist/components/Overlay/index.d.ts +5 -0
  228. package/dist/components/Overlay/props.d.ts +9 -0
  229. package/dist/components/Overlay/styled.d.ts +2 -0
  230. package/dist/components/PickerGroup/Pickers.d.ts +9 -0
  231. package/dist/components/PickerGroup/components/Picker/index.d.ts +5 -0
  232. package/dist/components/PickerGroup/components/Picker/props.d.ts +75 -0
  233. package/dist/components/PickerGroup/components/Picker/styled.d.ts +5 -0
  234. package/dist/components/PickerGroup/components/PickerElementIcon/index.d.ts +4 -0
  235. package/dist/components/PickerGroup/components/PickerElementIcon/styled.d.ts +1 -0
  236. package/dist/components/PickerGroup/components/PickerElementImage/index.d.ts +4 -0
  237. package/dist/components/PickerGroup/components/PickerElementImage/styled.d.ts +1 -0
  238. package/dist/components/PickerGroup/components/PickerElementLabel/styled.d.ts +1 -0
  239. package/dist/components/PickerGroup/components/PickerElementSuffix/styled.d.ts +1 -0
  240. package/dist/components/PickerGroup/index.d.ts +5 -0
  241. package/dist/components/PickerGroup/props.d.ts +29 -0
  242. package/dist/components/Price/index.d.ts +7 -0
  243. package/dist/components/Price/props.d.ts +65 -0
  244. package/dist/components/Price/styled.d.ts +7 -0
  245. package/dist/components/ProductCard/index.d.ts +5 -0
  246. package/dist/components/ProductCard/props.d.ts +33 -0
  247. package/dist/components/ProductCard/styled.d.ts +6 -0
  248. package/dist/components/RadioGroup/components/Radio/assets/RadioSVG.d.ts +3 -0
  249. package/dist/components/RadioGroup/components/Radio/index.d.ts +4 -0
  250. package/dist/components/RadioGroup/components/Radio/props.d.ts +15 -0
  251. package/dist/components/RadioGroup/components/Radio/styled.d.ts +8 -0
  252. package/dist/components/RadioGroup/index.d.ts +5 -0
  253. package/dist/components/RadioGroup/props.d.ts +25 -0
  254. package/dist/components/ResponsiveImage/index.d.ts +5 -0
  255. package/dist/components/ResponsiveImage/props.d.ts +16 -0
  256. package/dist/components/ResponsiveImage/styled.d.ts +4 -0
  257. package/dist/components/RichText/index.d.ts +5 -0
  258. package/dist/components/RichText/parseHtml.d.ts +17 -0
  259. package/dist/components/RichText/props.d.ts +22 -0
  260. package/dist/components/ScreenreaderOnly/index.d.ts +5 -0
  261. package/dist/components/ScreenreaderOnly/props.d.ts +9 -0
  262. package/dist/components/ScreenreaderOnly/styled.d.ts +2 -0
  263. package/dist/components/SearchInput/index.d.ts +4 -0
  264. package/dist/components/SearchInput/props.d.ts +34 -0
  265. package/dist/components/SearchInput/styled.d.ts +13 -0
  266. package/dist/components/SelectInput/index.d.ts +8 -0
  267. package/dist/components/SelectInput/props.d.ts +19 -0
  268. package/dist/components/SelectInput/styled.d.ts +5 -0
  269. package/dist/components/Stepper/index.d.ts +5 -0
  270. package/dist/components/Stepper/props.d.ts +23 -0
  271. package/dist/components/Stepper/styled.d.ts +6 -0
  272. package/dist/components/SuggestInput/SuggestInputFormElement.d.ts +4 -0
  273. package/dist/components/SuggestInput/components/SuggestInputList/index.d.ts +4 -0
  274. package/dist/components/SuggestInput/components/SuggestInputList/props.d.ts +13 -0
  275. package/dist/components/SuggestInput/components/SuggestInputList/styled.d.ts +8 -0
  276. package/dist/components/SuggestInput/index.d.ts +4 -0
  277. package/dist/components/SuggestInput/props.d.ts +37 -0
  278. package/dist/components/SuggestInput/styled.d.ts +13 -0
  279. package/dist/components/Switch/getHandleIcon.d.ts +1 -0
  280. package/dist/components/Switch/index.d.ts +5 -0
  281. package/dist/components/Switch/props.d.ts +20 -0
  282. package/dist/components/Switch/styled.d.ts +8 -0
  283. package/dist/components/TabularPrice/index.d.ts +5 -0
  284. package/dist/components/TabularPrice/props.d.ts +17 -0
  285. package/dist/components/TabularPrice/styled.d.ts +3 -0
  286. package/dist/components/TextList/index.d.ts +5 -0
  287. package/dist/components/TextList/props.d.ts +37 -0
  288. package/dist/components/TextList/styled.d.ts +3 -0
  289. package/dist/components/Textarea/index.d.ts +4 -0
  290. package/dist/components/Textarea/props.d.ts +17 -0
  291. package/dist/components/Textarea/styled.d.ts +11 -0
  292. package/dist/components/Tray/index.d.ts +5 -0
  293. package/dist/components/Tray/props.d.ts +43 -0
  294. package/dist/components/Tray/styled.d.ts +7 -0
  295. package/dist/foundations/GlobalStyle/index.d.ts +3 -0
  296. package/dist/foundations/GlobalStyle/index.js +517 -0
  297. package/dist/foundations/PatternProps/index.d.ts +18 -0
  298. package/dist/foundations/cssObjects/screenreaderOnly.d.ts +2 -0
  299. package/dist/foundations/cssVars.d.ts +7 -0
  300. package/dist/foundations/media-query/forcedColors/index.d.ts +7 -0
  301. package/dist/foundations/media-query/reducedMotion/index.d.ts +11 -0
  302. package/dist/foundations/media-query/viewport/index.d.ts +11 -0
  303. package/dist/foundations/tags.d.ts +19 -0
  304. package/dist/foundations/token/base/baseColors.d.ts +31 -0
  305. package/dist/foundations/token/base/shadow.d.ts +1 -0
  306. package/dist/foundations/token/breakpoint.d.ts +4 -0
  307. package/dist/foundations/token/easing.d.ts +2 -0
  308. package/dist/foundations/token/getBackgroundColor/index.d.ts +2 -0
  309. package/dist/foundations/token/getBodySize/index.d.ts +3 -0
  310. package/dist/foundations/token/getBodySize/index.js +4 -0
  311. package/dist/foundations/token/getBorderColor/index.d.ts +2 -0
  312. package/dist/foundations/token/getBorderRadius/index.d.ts +2 -0
  313. package/dist/foundations/token/getBorderWidth/index.d.ts +2 -0
  314. package/dist/foundations/token/getBottomSpacing/index.d.ts +3 -0
  315. package/dist/foundations/token/getFontWeight/index.d.ts +2 -0
  316. package/dist/foundations/token/getHeadingSize/index.d.ts +3 -0
  317. package/dist/foundations/token/getHoverColor/index.d.ts +3 -0
  318. package/dist/foundations/token/getIconColor/index.d.ts +2 -0
  319. package/dist/foundations/token/getObjectColor/index.d.ts +2 -0
  320. package/dist/foundations/token/getOpacity/index.d.ts +2 -0
  321. package/dist/foundations/token/getPressColor/index.d.ts +3 -0
  322. package/dist/foundations/token/getSpacing/index.d.ts +2 -0
  323. package/dist/foundations/token/getTextColor/index.d.ts +2 -0
  324. package/dist/foundations/token/getTextDecoration/index.d.ts +2 -0
  325. package/dist/foundations/token/types/BackgroundColor.d.ts +7 -0
  326. package/dist/foundations/token/types/BorderColor.d.ts +13 -0
  327. package/dist/foundations/token/types/BorderRadius.d.ts +5 -0
  328. package/dist/foundations/token/types/BorderWidth.d.ts +9 -0
  329. package/dist/foundations/token/types/FontWeight.d.ts +4 -0
  330. package/dist/foundations/token/types/HeadingSize.d.ts +6 -0
  331. package/dist/foundations/token/types/IconColor.d.ts +10 -0
  332. package/dist/foundations/token/types/ObjectColor.d.ts +12 -0
  333. package/dist/foundations/token/types/Opacity.d.ts +3 -0
  334. package/dist/foundations/token/types/Spacing.d.ts +53 -0
  335. package/dist/foundations/token/types/TextBodySize.d.ts +3 -0
  336. package/dist/foundations/token/types/TextColor.d.ts +8 -0
  337. package/dist/foundations/token/types/TextDecoration.d.ts +4 -0
  338. package/dist/foundations/token/types/Viewport.d.ts +4 -0
  339. package/dist/foundations/types/ButtonAppearances.d.ts +4 -0
  340. package/dist/foundations/types/CornerStyle.d.ts +3 -0
  341. package/dist/foundations/types/PositionType.d.ts +6 -0
  342. package/dist/foundations/types/PositionedIconInterface.d.ts +6 -0
  343. package/dist/foundations/types/SizeTypes.d.ts +3 -0
  344. package/dist/foundations/types/SystemIconWithPosition.d.ts +5 -0
  345. package/dist/foundations/types/Theme.d.ts +1 -0
  346. package/dist/hooks/useFocusWithin/index.d.ts +2 -0
  347. package/dist/hooks/useForcedColors/index.d.ts +1 -0
  348. package/dist/hooks/useMediaQuery/index.d.ts +1 -0
  349. package/dist/hooks/useReducedMotion/index.d.ts +1 -0
  350. package/dist/hooks/useThirdPartyConsent/index.d.ts +18 -0
  351. package/dist/hooks/useViewport/index.d.ts +2 -0
  352. package/dist/index-BoPDwZgt.js +18 -0
  353. package/dist/index-DRj4iUs9.js +117 -0
  354. package/package.json +35 -0
@@ -0,0 +1,46 @@
1
+ import { ReactNode, SVGAttributes } from 'react';
2
+ import { PatternProps } from '../../foundations/PatternProps';
3
+ export type LoadingSpinnerSize = 'xs' | 'sm' | 'md' | 'lg';
4
+ export interface LoadingSpinnerProps extends PatternProps, SVGAttributes<SVGElement> {
5
+ /**
6
+ * Pin component's name from string to the concrete name
7
+ */
8
+ component?: 'LoadingSpinner';
9
+ /**
10
+ * Card item content
11
+ */
12
+ children?: ReactNode;
13
+ /**
14
+ * Defines whether the LoadingSpinner has a semi-transparent overlay
15
+ */
16
+ hasOverlay?: boolean;
17
+ /**
18
+ * Sets a label that is shown underneath the LoadingSpinner
19
+ */
20
+ label?: string;
21
+ /**
22
+ * Sets a label that is read to screenreader users navigating to the LoadingSpinner while it is still loading.
23
+ */
24
+ screenReaderLabel?: string;
25
+ /**
26
+ * Sets a label that is read to screenreader users when loading is completed.
27
+ */
28
+ screenReaderLabelCompleted?: string;
29
+ /**
30
+ * (large | medium | small) - If not provided, the LoadingSpinner size is going to be 'large'
31
+ */
32
+ size?: LoadingSpinnerSize;
33
+ /**
34
+ * Sets the LoadingSpinner to active and visible on true and hides it on false
35
+ */
36
+ isActive?: boolean;
37
+ /**
38
+ * Sets the LoadingSpinner to cover the full page. The spinner will also be appended to the body directly via React portal if set.
39
+ */
40
+ coversFullPage?: boolean;
41
+ /**
42
+ * ONLY FOR FULLSCREEN LOADINGSPINNERS! Defines a function to get the element(s) that hold the content of the page. It is used to set the content to aria-hidden and inert while
43
+ * they are hidden beneath the overlay of the LoadingSpinner.
44
+ */
45
+ getContentElements?: () => HTMLCollectionOf<Element>;
46
+ }
@@ -0,0 +1,20 @@
1
+ import { Spacing } from '../../foundations/token/types/Spacing';
2
+ import { Theme } from '../../foundations/types/Theme';
3
+ import { LoadingSpinnerProps, LoadingSpinnerSize } from './props';
4
+ export declare const loadingSpinnerOverlays: Record<Theme, string>;
5
+ export declare const loadingSpinnerOverlayCssVar = "loadingSpinnerOverlay";
6
+ export declare const calculateSpinnerHeight: (size: LoadingSpinnerSize, bottomSpacing: Spacing, label?: string) => string;
7
+ export declare const spinnerSvgSizes: {
8
+ [key in LoadingSpinnerSize]: string;
9
+ };
10
+ export declare const LoadingSpinnerContainerStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, LoadingSpinnerProps>> & string;
11
+ export declare const LoadingSpinnerContentStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, LoadingSpinnerProps>> & string;
12
+ export declare const LoadingSpinnerChildrenStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, LoadingSpinnerProps>> & string;
13
+ export declare const LoadingSpinnerSVGStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').SVGProps<SVGSVGElement>, LoadingSpinnerProps>> & string;
14
+ export declare const LoadingSpinnerPathStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').SVGProps<SVGPathElement>, never>> & string;
15
+ export declare const LoadingSpinnerPathOuter3Styled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').SVGProps<SVGPathElement>, never>, never>> & string;
16
+ export declare const LoadingSpinnerPathOuter2Styled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').SVGProps<SVGPathElement>, never>, never>> & string;
17
+ export declare const LoadingSpinnerPathOuter1Styled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').SVGProps<SVGPathElement>, never>, never>> & string;
18
+ export declare const LoadingSpinnerPathCenterStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').SVGProps<SVGPathElement>, never>> & string;
19
+ export declare const LoadingSpinnerPathXsStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').SVGProps<SVGPathElement>, never>> & string;
20
+ export declare const LoadingSpinnerLabelStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('../Body').BodyProps, LoadingSpinnerProps>> & string & Omit<import('react').FC<import('../Body').BodyProps>, keyof import('react').Component<any, {}, any>>;
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { NotificationProps } from './props';
3
+ declare const Notification: FC<NotificationProps>;
4
+ export default Notification;
5
+ export * from './props';
@@ -0,0 +1,12 @@
1
+ import { IconName } from '@vfde-react/inline-icon-library';
2
+ import { NotificationStatus } from './props';
3
+ type NotificationStatusVariant = {
4
+ borderColor: string;
5
+ background: string;
6
+ icon: IconName;
7
+ };
8
+ type NotificationStatusVariants = {
9
+ [key in NotificationStatus]: NotificationStatusVariant;
10
+ };
11
+ export declare const notificationStatusVariants: NotificationStatusVariants;
12
+ export {};
@@ -0,0 +1,30 @@
1
+ import { HTMLAttributes } from 'react';
2
+ import { BodyProps } from '../Body/props';
3
+ import { ButtonProps } from '../Button/props';
4
+ import { ButtonAsLinkProps } from '../ButtonAsLink/props';
5
+ import { ButtonGroupProps } from '../ButtonGroup/props';
6
+ import { FlexProps } from '../Flex/props';
7
+ import { HeadingProps } from '../Heading/props';
8
+ import { LinkProps } from '../Link/props';
9
+ import { RichTextProps } from '../RichText/props';
10
+ import { PatternProps } from '../../foundations/PatternProps';
11
+ export declare const notificationStatusInfo = "info";
12
+ export declare const notificationStatusSuccess = "success";
13
+ export declare const notificationStatusWarning = "warning";
14
+ export declare const notificationStatusError = "error";
15
+ export type NotificationStatus = typeof notificationStatusInfo | typeof notificationStatusSuccess | typeof notificationStatusWarning | typeof notificationStatusError;
16
+ export type NotificationContent = HeadingProps | BodyProps | RichTextProps | ButtonProps | ButtonAsLinkProps | LinkProps | ButtonGroupProps | FlexProps;
17
+ export interface NotificationProps extends PatternProps, HTMLAttributes<HTMLDivElement> {
18
+ /**
19
+ * Pin component's name from string to the concrete name
20
+ */
21
+ component?: 'Notification';
22
+ /**
23
+ * Notification state 'info' | 'success' | 'warning' | 'error'
24
+ */
25
+ status?: NotificationStatus;
26
+ /**
27
+ * contents must be an array containing any combination of HeadingProps, BodyProps, RichTextProps ButtonProps and/or LinkProps;
28
+ */
29
+ contents: NotificationContent[];
30
+ }
@@ -0,0 +1,10 @@
1
+ import { HTMLAttributes } from 'react';
2
+ import { PatternProps } from '../../foundations/PatternProps';
3
+ import { NotificationStatus } from './props';
4
+ export declare const NotificationStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, HTMLAttributes<HTMLDivElement> & PatternProps & {
5
+ status: NotificationStatus;
6
+ }>> & string;
7
+ export declare const NotificationSidebarStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
8
+ status: NotificationStatus;
9
+ }>> & string;
10
+ export declare const NotificationWrapperStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { OverlayProps } from './props';
3
+ declare const Overlay: FC<OverlayProps>;
4
+ export default Overlay;
5
+ export * from './props';
@@ -0,0 +1,9 @@
1
+ import { HTMLAttributes } from 'react';
2
+ import { PatternProps } from '../../foundations/PatternProps';
3
+ export declare const overlayAppearancePrimary = "primary";
4
+ export declare const overlayAppearanceSecondary = "secondary";
5
+ type OverlayAppearance = typeof overlayAppearancePrimary | typeof overlayAppearanceSecondary;
6
+ export interface OverlayProps extends PatternProps, HTMLAttributes<HTMLDivElement> {
7
+ appearance?: OverlayAppearance;
8
+ }
9
+ export {};
@@ -0,0 +1,2 @@
1
+ import { OverlayProps } from './props';
2
+ export declare const OverlayStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, OverlayProps>> & string;
@@ -0,0 +1,9 @@
1
+ import { FC } from 'react';
2
+ import { PickerGroupProps } from './props';
3
+ export interface PickersProps extends Omit<PickerGroupProps, 'legend' | 'message'> {
4
+ }
5
+ /**
6
+ * Split PickerGroup and Pickers into two components
7
+ * to make sure that state and legend are decoupled.
8
+ */
9
+ export declare const Pickers: FC<PickersProps>;
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { PickerProps } from './props';
3
+ export declare const Picker: FC<PickerProps>;
4
+ export default Picker;
5
+ export * from './props';
@@ -0,0 +1,75 @@
1
+ import { IconName } from '@vfde-react/inline-icon-library';
2
+ import { HTMLAttributes, InputHTMLAttributes, ReactNode } from 'react';
3
+ import { BadgeProps } from '../../../Badge/props';
4
+ import { PatternProps } from '../../../../foundations/PatternProps';
5
+ import { Theme } from '../../../../foundations/types/Theme';
6
+ /**
7
+ * @TODO a better split of props between label, input, card etc would be great
8
+ * For now I just add additional label and input props to be able to add these from an app
9
+ */
10
+ export interface PickerProps extends Omit<PatternProps, 'bottomSpacing'>, HTMLAttributes<HTMLDivElement> {
11
+ /**
12
+ * Value of picker`s input element
13
+ */
14
+ value: string;
15
+ /**
16
+ * Name of picker`s input element
17
+ */
18
+ name?: string;
19
+ /**
20
+ * Is picker checked
21
+ */
22
+ isChecked?: boolean;
23
+ /**
24
+ * Is Picker disabled
25
+ */
26
+ isDisabled?: boolean;
27
+ /**
28
+ * Main text
29
+ */
30
+ label: string;
31
+ /**
32
+ * Additional text
33
+ */
34
+ suffix?: string;
35
+ /**
36
+ * Path to an immage asset
37
+ */
38
+ imagePath?: string;
39
+ /**
40
+ * Name of an systemIcon
41
+ */
42
+ inlineIconName?: IconName;
43
+ /**
44
+ * Background colour of the colour circle
45
+ */
46
+ colorValue?: string;
47
+ /**
48
+ * Add a badge to picker
49
+ */
50
+ badge?: Omit<BadgeProps, 'bottomSpacing'>;
51
+ /**
52
+ *
53
+ */
54
+ handleChange?: (a: string) => void;
55
+ /**
56
+ * if there are any optional input props needed to pass down to input component
57
+ * all props that are passed by the PickerComponent are omitted
58
+ */
59
+ inputProps?: Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'name' | 'value' | 'checked' | 'disabled'>;
60
+ /**
61
+ * if there are any optional input props needed to pass down to input component
62
+ */
63
+ labelProps?: Omit<InputHTMLAttributes<HTMLLabelElement>, 'children'>;
64
+ /**
65
+ * Pin component's name from string to the concrete name
66
+ */
67
+ component?: 'Picker';
68
+ }
69
+ export interface PickerLabelElementProps extends HTMLAttributes<HTMLLabelElement> {
70
+ children: ReactNode;
71
+ isChecked: boolean;
72
+ isDisabled: boolean;
73
+ badge?: BadgeProps;
74
+ theme: Theme;
75
+ }
@@ -0,0 +1,5 @@
1
+ import { PickerLabelElementProps } from './props';
2
+ export declare const PickerGridItemStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('../../../GridItem').GridItemProps, never>> & string & Omit<import('react').FC<import('../../../GridItem').GridItemProps>, keyof import('react').Component<any, {}, any>>;
3
+ export declare const PickerLabelElementStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, PickerLabelElementProps>> & string;
4
+ export declare const PickerCardStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, PickerLabelElementProps>> & string;
5
+ export declare const PickerInputElementStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, never>> & string;
@@ -0,0 +1,4 @@
1
+ import { IconLoaderProps } from '@vfde-react/inline-icon-library';
2
+ import { FC } from 'react';
3
+ export declare const PickerElementSystemIcon: FC<IconLoaderProps>;
4
+ export default PickerElementSystemIcon;
@@ -0,0 +1 @@
1
+ export declare const PickerElementIconStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('@vfde-react/inline-icon-library').IconLoaderProps, never>> & string & Omit<import('react').FC<import('@vfde-react/inline-icon-library').IconLoaderProps>, keyof import('react').Component<any, {}, any>>;
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { ImageProps } from '../../../Image/props';
3
+ export declare const PickerElementImage: FC<Omit<ImageProps, 'aspectRatio' | 'horizontalAlignment'>>;
4
+ export default PickerElementImage;
@@ -0,0 +1 @@
1
+ export declare const PickerElementImageStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('../../../Image').ImageProps, never>> & string & Omit<import('react').FC<import('../../../Image').ImageProps>, keyof import('react').Component<any, {}, any>>;
@@ -0,0 +1 @@
1
+ export declare const PickerElementLabelStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
@@ -0,0 +1 @@
1
+ export declare const PickerElementSuffixStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { PickerGroupProps } from './props';
3
+ declare const PickerGroup: FC<PickerGroupProps>;
4
+ export default PickerGroup;
5
+ export * from './props';
@@ -0,0 +1,29 @@
1
+ import { FieldsetSharedProps } from '../Fieldset/props';
2
+ import { GridConfig } from '../Grid/props';
3
+ import { PickerProps } from './components/Picker/props';
4
+ export interface PickerGroupProps extends FieldsetSharedProps {
5
+ /**
6
+ * Will be passed down to picker as input name
7
+ */
8
+ name: string;
9
+ /**
10
+ * Value of Picker that is checked
11
+ */
12
+ checkedValue: string;
13
+ /**
14
+ * Array of PickerProps
15
+ */
16
+ pickers: PickerProps[];
17
+ /**
18
+ * function that is called on every update. The only parameter of this function is the currently checked value.
19
+ */
20
+ onUpdate: (a: string) => void;
21
+ /**
22
+ * Config of grid to align pickers
23
+ */
24
+ gridConfig?: GridConfig;
25
+ /**
26
+ * Pin component's name from string to the concrete name
27
+ */
28
+ component?: 'PickerGroup';
29
+ }
@@ -0,0 +1,7 @@
1
+ import { FC } from 'react';
2
+ import { PriceProps } from './props';
3
+ import { TabularPriceProps } from '../TabularPrice/props';
4
+ export declare const createScreenReaderText: (price: PriceProps["price"], strikePrice: PriceProps["strikePrice"], suffix: PriceProps["suffix"]) => string;
5
+ declare const Price: FC<PriceProps | TabularPriceProps>;
6
+ export default Price;
7
+ export * from './props';
@@ -0,0 +1,65 @@
1
+ import { HTMLAttributes } from 'react';
2
+ import { PatternProps } from '../../foundations/PatternProps';
3
+ import { Spacing } from '../../foundations/token/types/Spacing';
4
+ export declare const priceOrientationHorizontal = "horizontal";
5
+ export declare const priceOrientationVertical = "vertical";
6
+ export type PriceOrientation = typeof priceOrientationHorizontal | typeof priceOrientationVertical;
7
+ export declare const priceSizeSm = "sm";
8
+ export declare const priceSizeMd = "md";
9
+ export declare const priceSizeLg = "lg";
10
+ export type PriceSize = typeof priceSizeSm | typeof priceSizeMd | typeof priceSizeLg;
11
+ export declare const priceAlignLeft = "left";
12
+ export declare const priceAlignCenter = "center";
13
+ export type PriceAlign = typeof priceAlignLeft | typeof priceAlignCenter;
14
+ export interface PriceSharedProps extends PatternProps, HTMLAttributes<HTMLDivElement> {
15
+ /**
16
+ * Pin component's name from string to the concrete name
17
+ */
18
+ component?: 'Price' | 'TabularPrice';
19
+ /**
20
+ * Changes font size of main price
21
+ */
22
+ size: PriceSize;
23
+ /**
24
+ * Striked through price
25
+ */
26
+ strikePrice?: string;
27
+ /**
28
+ * Main price
29
+ */
30
+ price?: string;
31
+ /**
32
+ * Product name that renders microdata attributes needed for SEO if set
33
+ */
34
+ offerProductName?: string;
35
+ }
36
+ export interface PriceProps extends PriceSharedProps {
37
+ /**
38
+ * Pin component's name from string to the concrete name
39
+ */
40
+ component?: 'Price';
41
+ /**
42
+ * Orientation of price contents
43
+ */
44
+ orientation?: PriceOrientation;
45
+ /**
46
+ * Suffix after price
47
+ */
48
+ suffix: string;
49
+ /**
50
+ * Text to be shown before price
51
+ */
52
+ prefix?: string;
53
+ /**
54
+ * Horizontal alignment of whole price component
55
+ * has no effect on tabular orientation
56
+ */
57
+ align?: PriceAlign;
58
+ }
59
+ export declare const priceDefaultProps: Partial<PriceProps>;
60
+ export interface PriceInternalProps extends Omit<PriceProps, 'orientation'> {
61
+ $orientation: PriceOrientation;
62
+ bottomSpacing: Spacing;
63
+ align: PriceAlign;
64
+ }
65
+ export declare const internalizePriceProps: (props: PriceProps) => PriceInternalProps;
@@ -0,0 +1,7 @@
1
+ import { PriceProps, PriceSharedProps } from './props';
2
+ export declare const PriceOuterWrapperStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
+ export declare const PriceInnerWrapperStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, PriceProps>> & string;
4
+ export declare const StrikePriceStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
5
+ export declare const PriceOrientationStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<PriceProps, "align" | "orientation">>> & string;
6
+ export declare const PriceStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<PriceSharedProps, "size">>> & string;
7
+ export declare const PriceSuffixStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { ProductCardProps } from './props';
3
+ declare const ProductCard: FC<ProductCardProps>;
4
+ export default ProductCard;
5
+ export * from './props';
@@ -0,0 +1,33 @@
1
+ import { HTMLAttributes } from 'react';
2
+ import { BadgeProps } from '../Badge/props';
3
+ import { BodyProps } from '../Body/props';
4
+ import { ColorSwatchGroupProps } from '../ColorSwatchGroup/props';
5
+ import { HeadingProps } from '../Heading/props';
6
+ import { IconProps } from '../Icon/props';
7
+ import { ImageProps } from '../Image/props';
8
+ import { LinkProps } from '../Link/props';
9
+ import { PriceProps } from '../Price/props';
10
+ export interface ProductCardProps extends HTMLAttributes<HTMLDivElement> {
11
+ /**
12
+ * Pin component's name from string to the concrete name
13
+ */
14
+ component?: 'ProductCard';
15
+ /** URL of page that opens when the card is clicked */
16
+ link: LinkProps;
17
+ /** Heading*/
18
+ heading: Omit<HeadingProps, 'size' | 'bottomSpacing' | 'weight' | 'align'>;
19
+ /** URL of product image*/
20
+ image?: Omit<ImageProps, 'aspectRatio'>;
21
+ /** unique product id*/
22
+ productId: string;
23
+ /** Icon in top right corner */
24
+ icon?: IconProps;
25
+ /** Body text */
26
+ body?: Omit<BodyProps, 'bottomSpacing' | 'align'>;
27
+ /** Color swatch */
28
+ colorSwatchGroup?: ColorSwatchGroupProps;
29
+ /** Array of badges */
30
+ badges?: BadgeProps[];
31
+ /** Price of the product */
32
+ price: Omit<PriceProps, 'orientation' | 'align' | 'size' | 'bottomSpacing'>;
33
+ }
@@ -0,0 +1,6 @@
1
+ import { CardProps } from '../Card/props';
2
+ import { IconProps } from '../Icon/props';
3
+ export declare const ProductCardStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<CardProps, CardProps>> & string & Omit<import('react').FC<CardProps>, keyof import('react').Component<any, {}, any>>;
4
+ export declare const ProductCardIconStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('@vfde-react/inline-icon-library').IconLoaderProps | import('../HifiIcon').HifiIconProps | IconProps, IconProps>> & string & Omit<import('react').FC<import('@vfde-react/inline-icon-library').IconLoaderProps | import('../HifiIcon').HifiIconProps | IconProps>, keyof import('react').Component<any, {}, any>>;
5
+ export declare const ProductCardUpperContentStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement>, never>> & string;
6
+ export declare const ProductCardImageStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('../Image').ImageProps, never>> & string & Omit<import('react').FC<import('../Image').ImageProps>, keyof import('react').Component<any, {}, any>>;
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { RadioProps } from '../props';
3
+ export declare const RadioSVG: FC<Pick<RadioProps, 'checked' | 'status'>>;
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { RadioProps } from './props';
3
+ declare const Radio: FC<RadioProps>;
4
+ export default Radio;
@@ -0,0 +1,15 @@
1
+ import { InputHTMLAttributes } from 'react';
2
+ import { InputSharedProps, InputStatus } from '../../../Input/props';
3
+ export interface RadioProps extends Omit<InputSharedProps, 'message'>, InputHTMLAttributes<HTMLInputElement> {
4
+ value: string;
5
+ label: string;
6
+ status?: InputStatus;
7
+ /**
8
+ * function that is called on every update.
9
+ */
10
+ onUpdate?: (value: string, checked: boolean) => void;
11
+ /**
12
+ *
13
+ */
14
+ component?: 'Radio';
15
+ }
@@ -0,0 +1,8 @@
1
+ import { RadioProps } from './props';
2
+ export declare const RadioContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('../../../Flex').FlexProps, Pick<RadioProps, "disabled">>> & string & Omit<import('react').FC<import('../../../Flex').FlexProps>, keyof import('react').Component<any, {}, any>>;
3
+ export declare const RadioStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
4
+ export declare const RadioInputStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, Pick<RadioProps, "status" | "checked">>> & string;
5
+ export declare const RadioLabelStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('../../../Label').LabelProps, never>> & string & Omit<import('react').FC<import('../../../Label').LabelProps>, keyof import('react').Component<any, {}, any>>;
6
+ export declare const RadioSVGStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').SVGProps<SVGSVGElement>, never>> & string;
7
+ export declare const RadioFillingCircleStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').SVGProps<SVGCircleElement>, never>> & string;
8
+ export declare const RadioBorderPathStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').SVGProps<SVGCircleElement>, Pick<RadioProps, "status" | "checked">>> & string;
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { RadioGroupProps } from './props';
3
+ declare const RadioGroup: FC<RadioGroupProps>;
4
+ export default RadioGroup;
5
+ export * from './props';
@@ -0,0 +1,25 @@
1
+ import { FieldsetSharedProps } from '../Fieldset/props';
2
+ import { FlexOrientation } from '../Flex/props';
3
+ import { RadioProps } from './components/Radio/props';
4
+ export interface RadioGroupProps extends FieldsetSharedProps {
5
+ /**
6
+ * list of radio buttons
7
+ */
8
+ radios: RadioProps[];
9
+ /**
10
+ * Value of radioa that is checked
11
+ */
12
+ checkedValue?: string;
13
+ /**
14
+ * function that is called on every update.
15
+ */
16
+ onUpdate?: (a: string) => void;
17
+ /**
18
+ *
19
+ */
20
+ component?: 'RadioGroup';
21
+ /**
22
+ * Indicate whether the radio buttons are rendered horizontally or vertically
23
+ */
24
+ orientation?: FlexOrientation;
25
+ }
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { ResponsiveImageProps } from './props';
3
+ declare const ResponsiveImage: FC<ResponsiveImageProps>;
4
+ export default ResponsiveImage;
5
+ export * from './props';
@@ -0,0 +1,16 @@
1
+ import { HTMLAttributes } from 'react';
2
+ import { ImageProps } from '../Image/props';
3
+ import { PatternProps } from '../../foundations/PatternProps';
4
+ import { ViewportName } from '../../foundations/token/types/Viewport';
5
+ export type ResponsiveImageType = {
6
+ sm: ImageProps;
7
+ } & {
8
+ [key in Exclude<ViewportName, 'sm'>]?: ImageProps;
9
+ };
10
+ export interface ResponsiveImageProps extends PatternProps, HTMLAttributes<HTMLElement> {
11
+ /**
12
+ * Pin component's name from string to the concrete name
13
+ */
14
+ component?: 'ResponsiveImage';
15
+ images: ResponsiveImageType;
16
+ }
@@ -0,0 +1,4 @@
1
+ import { ImageProps } from '../Image/props';
2
+ import { ResponsiveImageProps } from './props';
3
+ export declare const ResponsiveImagePictureStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, Omit<ResponsiveImageProps, "bottomSpacing" | "images">>> & string;
4
+ export declare const ResponsiveImageStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, ImageProps & Pick<ResponsiveImageProps, "images">>> & string;
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { RichTextProps } from './props';
3
+ declare const RichText: FC<RichTextProps>;
4
+ export default RichText;
5
+ export * from './props';
@@ -0,0 +1,17 @@
1
+ import { BodyProps } from '../Body/props';
2
+ import { HeadingProps } from '../Heading/props';
3
+ import { InlineLinkProps } from '../InlineLink/props';
4
+ import { TextListItemProps, TextListProps } from '../TextList/props';
5
+ import { Spacing } from '../../foundations/token/types/Spacing';
6
+ export type RichTextTagProps = {
7
+ heading?: Omit<HeadingProps, 'children'>;
8
+ li?: Omit<TextListItemProps, 'children'>;
9
+ ol?: Omit<TextListProps, 'children'>;
10
+ ul?: Omit<TextListProps, 'children'>;
11
+ strong?: Omit<BodyProps, 'children'>;
12
+ small?: Omit<BodyProps, 'children'>;
13
+ sup?: Omit<BodyProps, 'children'>;
14
+ p?: Omit<BodyProps, 'children'>;
15
+ a?: Omit<InlineLinkProps, 'children'>;
16
+ };
17
+ export declare const parseHtml: (html: string, paragraphSpacing: Spacing | undefined, tagProps?: RichTextTagProps) => string | import("react").JSX.Element | import("react").JSX.Element[];
@@ -0,0 +1,22 @@
1
+ import { HTMLAttributes } from 'react';
2
+ import { RichTextTagProps } from './parseHtml';
3
+ import { PatternProps } from '../../foundations/PatternProps';
4
+ import { Spacing } from '../../foundations/token/types/Spacing';
5
+ export interface RichTextProps extends PatternProps, HTMLAttributes<HTMLDivElement> {
6
+ /**
7
+ * Pin component's name from string to the concrete name
8
+ */
9
+ component?: 'RichText';
10
+ /**
11
+ * html to be parsed as string
12
+ */
13
+ html: string;
14
+ /**
15
+ * Overwrite all bottom spacings for parsed block elements
16
+ */
17
+ paragraphSpacing?: Spacing;
18
+ /**
19
+ * Overwrite props for tags that are replaced by Components while parsing
20
+ */
21
+ tagProps?: RichTextTagProps;
22
+ }
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { ScreenreaderOnlyProps } from './props';
3
+ declare const ScreenreaderOnly: FC<ScreenreaderOnlyProps>;
4
+ export default ScreenreaderOnly;
5
+ export * from './props';