@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,53 @@
1
+ import { IconName } from '@vfde-react/inline-icon-library';
2
+ import { HTMLAttributes } from 'react';
3
+ import { BodyProps } from '../Body';
4
+ import { HeadingProps } from '../Heading';
5
+ import { InlineLinkProps } from '../InlineLink';
6
+ import { LinkProps } from '../Link';
7
+ import { LinkAsButtonProps } from '../LinkAsButton';
8
+ import { RichTextProps } from '../RichText';
9
+ import { PatternProps } from '../../foundations/PatternProps';
10
+ import { divTagName, spanTagName } from '../../foundations/tags';
11
+ export declare const iconSnippetSizeSmall = "small";
12
+ export declare const iconSnippetSizeLarge = "large";
13
+ export type IconSnippetSize = typeof iconSnippetSizeSmall | typeof iconSnippetSizeLarge;
14
+ export declare const iconSnippetPositionLeft = "left";
15
+ export declare const iconSnippetPositionCenter = "center";
16
+ export type IconSnippetPosition = typeof iconSnippetPositionLeft | typeof iconSnippetPositionCenter;
17
+ export declare const iconSnippetAlignTop = "top";
18
+ export declare const iconSnippetAlignCenter = "center";
19
+ export type IconSnippetAlign = typeof iconSnippetAlignTop | typeof iconSnippetAlignCenter;
20
+ export type IconSnippetContent = HeadingProps | BodyProps | RichTextProps | InlineLinkProps | LinkProps | LinkAsButtonProps;
21
+ export type IconSnippetTags = typeof divTagName | typeof spanTagName;
22
+ export interface IconSnippetProps extends PatternProps, HTMLAttributes<HTMLDivElement> {
23
+ /**
24
+ * choose small or large
25
+ */
26
+ size: IconSnippetSize;
27
+ /**
28
+ * Icon
29
+ */
30
+ icon: IconName;
31
+ /**
32
+ * contents must be an array containing any combination of HeadingProps, BodyProps, RichTextProps and/or InlineLinkProps;
33
+ */
34
+ contents: IconSnippetContent[];
35
+ /**
36
+ * iconPosition determines whether the icon is to the left of or above the content
37
+ */
38
+ iconPosition?: IconSnippetPosition;
39
+ /**
40
+ * iconAlign determines whether the icon is aligned at the top or in the middle of the content
41
+ * iconAlign has only effect for iconPosition left
42
+ */
43
+ iconAlign?: IconSnippetAlign;
44
+ /**
45
+ * Change the tags used. Most of the time a div is fine.
46
+ * But if, for example, we want to use an IconSnippet within a legend, then it's invalid HTML to use a div.
47
+ */
48
+ tag?: IconSnippetTags;
49
+ /**
50
+ * Pin component's name from string to the concrete name
51
+ */
52
+ component?: 'IconSnippet';
53
+ }
@@ -0,0 +1,6 @@
1
+ import { IconSnippetPosition, IconSnippetProps } from './props';
2
+ export declare const IconSnippetStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<IconSnippetProps, "size" | "icon" | "contents">>> & string;
3
+ export declare const IconLoaderStyled: 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>>;
4
+ export declare const IconSnippetContentStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
5
+ iconPosition: IconSnippetPosition;
6
+ }>> & string;
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { IconSnippetListProps } from './props';
3
+ declare const IconSnippetList: FC<IconSnippetListProps>;
4
+ export default IconSnippetList;
5
+ export * from './props';
@@ -0,0 +1,19 @@
1
+ import { HTMLAttributes } from 'react';
2
+ import { GridConfig } from '../Grid/props';
3
+ import { IconSnippetProps } from '../IconSnippet/props';
4
+ import { PatternProps } from '../../foundations/PatternProps';
5
+ export interface IconSnippetListProps extends PatternProps, HTMLAttributes<HTMLDivElement> {
6
+ /**
7
+ * an array of IconSnippets to be displayed in a list
8
+ */
9
+ items: IconSnippetProps[];
10
+ /**
11
+ * A grid is used to align the IconSnippets
12
+ * This grid can be customized with GridConfig
13
+ */
14
+ gridConfig?: GridConfig;
15
+ /**
16
+ * Pin component's name from string to the concrete name
17
+ */
18
+ component?: 'IconSnippetList';
19
+ }
@@ -0,0 +1,2 @@
1
+ import { IconSnippetListProps } from './props';
2
+ export declare const IconSnippetListStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IconSnippetListProps>> & string;
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { ImageProps } from './props';
3
+ declare const Image: FC<ImageProps>;
4
+ export default Image;
5
+ export * from './props';
@@ -0,0 +1,61 @@
1
+ import { ImgHTMLAttributes } from 'react';
2
+ import { PatternProps } from '../../foundations/PatternProps';
3
+ import { CornerStyle } from '../../foundations/types/CornerStyle';
4
+ export declare const objectFitContain = "contain";
5
+ export declare const objectFitCover = "cover";
6
+ export declare const objectFitNone = "none";
7
+ export type ImageObjectFit = typeof objectFitContain | typeof objectFitCover | typeof objectFitNone;
8
+ export declare const horizontalAlignmentLeft = "left";
9
+ export declare const horizontalAlignmentRight = "right";
10
+ export declare const horizontalAlignmentCenter = "center";
11
+ export type ImageAlignment = typeof horizontalAlignmentLeft | typeof horizontalAlignmentRight | typeof horizontalAlignmentCenter;
12
+ export declare const objectPositionCenter = "center";
13
+ export declare const objectPositionLeftTop = "top left";
14
+ export declare const objectPositionLeftCenter = "center left";
15
+ export declare const objectPositionLeftBottom = "bottom left";
16
+ export declare const objectPositionRightTop = "top right";
17
+ export declare const objectPositionRightCenter = "center right";
18
+ export declare const objectPositionRightBottom = "bottom right";
19
+ export type ImageObjectPosition = typeof objectPositionCenter | typeof objectPositionLeftTop | typeof objectPositionLeftCenter | typeof objectPositionLeftBottom | typeof objectPositionRightTop | typeof objectPositionRightCenter | typeof objectPositionRightBottom;
20
+ export declare const aspectRatio1_1 = "1/1";
21
+ export declare const aspectRatio3_4 = "3/4";
22
+ export declare const aspectRatio16_9 = "16/9";
23
+ export declare const aspectRatio21_9 = "21/9";
24
+ export declare const aspectRatio32_9 = "32/9";
25
+ export declare const aspectRatio48_9 = "48/9";
26
+ export type AspectRatio = typeof aspectRatio1_1 | typeof aspectRatio3_4 | typeof aspectRatio16_9 | typeof aspectRatio21_9 | typeof aspectRatio32_9 | typeof aspectRatio48_9;
27
+ export interface ImageProps extends PatternProps, ImgHTMLAttributes<HTMLImageElement & HTMLSourceElement> {
28
+ /**
29
+ * Pin component's name from string to the concrete name
30
+ */
31
+ component?: 'Image';
32
+ /**
33
+ * Object-fit variations
34
+ */
35
+ objectFit?: ImageObjectFit;
36
+ /**
37
+ * objectPosition can be used for fine-tuning if the aspect ratio of the asset
38
+ * does not match the aspect ratio for the component in the layout 100%.
39
+ */
40
+ objectPosition?: ImageObjectPosition;
41
+ /**
42
+ * Horizontal alignment of image inside its container
43
+ */
44
+ horizontalAlignment?: ImageAlignment;
45
+ /**
46
+ * Corner variations
47
+ */
48
+ corners?: CornerStyle;
49
+ /**
50
+ * Image source URL
51
+ */
52
+ src: string;
53
+ /**
54
+ * Alternative description of image. Leave empty to mark image as decorative and hidden for screen readers.
55
+ */
56
+ alt?: string;
57
+ /**
58
+ * Image aspect-ratio
59
+ */
60
+ aspectRatio: AspectRatio;
61
+ }
@@ -0,0 +1,2 @@
1
+ import { ImageProps } from './props';
2
+ export declare const ImageStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, ImageProps>> & string;
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { ImageHeaderProps } from './props';
3
+ declare const ImageHeader: FC<ImageHeaderProps>;
4
+ export default ImageHeader;
5
+ export * from './props';
@@ -0,0 +1,69 @@
1
+ import { HTMLAttributes } from 'react';
2
+ import { BadgeProps } from '../Badge/props';
3
+ import { HeadingProps } from '../Heading/props';
4
+ import { PatternProps } from '../../foundations/PatternProps';
5
+ import { Theme } from '../../foundations/types/Theme';
6
+ import { BodyProps } from '../Body/props';
7
+ import { ButtonProps } from '../Button/props';
8
+ import { ButtonAsLinkProps } from '../ButtonAsLink/props';
9
+ import { ButtonGroupProps } from '../ButtonGroup/props';
10
+ import { GridColSpan } from '../Grid/props';
11
+ import { PriceProps } from '../Price/props';
12
+ import { ResponsiveImageProps } from '../ResponsiveImage/props';
13
+ import { RichTextProps } from '../RichText/props';
14
+ export declare const imageHeaderVariantFull = "full";
15
+ export declare const imageHeaderVariantSplit = "split";
16
+ export declare const imageHeaderPositionRight = "right";
17
+ export declare const imageHeaderPositionLeft = "left";
18
+ export type ImageHeaderVariant = typeof imageHeaderVariantFull | typeof imageHeaderVariantSplit;
19
+ export type ImageHeaderPosition = typeof imageHeaderPositionRight | typeof imageHeaderPositionLeft;
20
+ export type AllowedHeadingSizes = 'lg' | 'xl';
21
+ export interface RestrictedHeadingProps extends Omit<HeadingProps, 'bottomSpacing' | 'weight' | 'aligh' | 'size'> {
22
+ size: AllowedHeadingSizes;
23
+ }
24
+ export interface ImageHeaderProps extends PatternProps, HTMLAttributes<HTMLDivElement> {
25
+ /**
26
+ * Pin component's name from string to the concrete name
27
+ */
28
+ component?: 'ImageHeader';
29
+ /**
30
+ * Image header images for each viewport
31
+ */
32
+ responsiveImage: ResponsiveImageProps;
33
+ /**
34
+ * Badge
35
+ */
36
+ badge?: Omit<BadgeProps, 'size'>;
37
+ /**
38
+ * Heading
39
+ */
40
+ heading: RestrictedHeadingProps;
41
+ /**
42
+ * Subline
43
+ */
44
+ subline?: Omit<BodyProps, 'size' | 'bottomSpacing'> | Omit<HeadingProps, 'size' | 'bottomSpacing' | 'tag'> | Omit<RichTextProps, 'size' | 'bottomSpacing'>;
45
+ /**
46
+ * Price
47
+ */
48
+ price?: Omit<PriceProps, 'size' | 'bottomSpacing'>;
49
+ /**
50
+ * Action | Button, ButtonAsLink or ButtonGroup
51
+ */
52
+ action?: ButtonProps | ButtonAsLinkProps | ButtonGroupProps;
53
+ /**
54
+ * Image Header Variant
55
+ */
56
+ variant?: ImageHeaderVariant;
57
+ /**
58
+ * Image Header Content aligned on the right or left
59
+ */
60
+ position?: ImageHeaderPosition;
61
+ /**
62
+ * Grid config for content block in desktop viewport
63
+ */
64
+ contentGridDesktopColumns?: GridColSpan;
65
+ /**
66
+ * Theme - Dark or light
67
+ */
68
+ theme?: Theme;
69
+ }
@@ -0,0 +1,9 @@
1
+ import { ImageHeaderProps } from './props';
2
+ export declare const getBadgeTopPosition: () => string;
3
+ export declare const ImageHeaderStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('../Grid').GridProps, Pick<ImageHeaderProps, "variant" | "position">>> & string & Omit<import('react').FC<import('../Grid').GridProps>, keyof import('react').Component<any, {}, any>>;
4
+ export declare const ImageHeaderImagesContainerStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('../GridItem').GridItemProps, Pick<ImageHeaderProps, "variant" | "position">>> & string & Omit<import('react').FC<import('../GridItem').GridItemProps>, keyof import('react').Component<any, {}, any>>;
5
+ export declare const ImageHeaderResponsiveImageStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('../ResponsiveImage').ResponsiveImageProps, Pick<ImageHeaderProps, "variant" | "position">>> & string & Omit<import('react').FC<import('../ResponsiveImage').ResponsiveImageProps>, keyof import('react').Component<any, {}, any>>;
6
+ export declare const ImageHeaderContentStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('../GridItem').GridItemProps, Pick<ImageHeaderProps, "variant" | "position" | "contentGridDesktopColumns">>> & string & Omit<import('react').FC<import('../GridItem').GridItemProps>, keyof import('react').Component<any, {}, any>>;
7
+ export declare const ImageHeaderBadgeStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('../Badge').BadgeProps, never>> & string & Omit<import('react').FC<import('../Badge').BadgeProps>, keyof import('react').Component<any, {}, any>>;
8
+ export declare const ImageHeaderHeadingStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('../Heading').HeadingProps, never>> & string & Omit<import('react').FC<import('../Heading').HeadingProps>, keyof import('react').Component<any, {}, any>>;
9
+ export declare const ImageHeaderButtonGroupStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('../ButtonGroup').ButtonGroupProps, never>> & string & Omit<import('react').FC<import('../ButtonGroup').ButtonGroupProps>, keyof import('react').Component<any, {}, any>>;
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { InlineLinkProps } from './props';
3
+ declare const InlineLink: FC<InlineLinkProps>;
4
+ export default InlineLink;
5
+ export * from './props';
@@ -0,0 +1,16 @@
1
+ import { AnchorHTMLAttributes, ReactNode } from 'react';
2
+ import { PatternProps } from '../../foundations/PatternProps';
3
+ export interface InlineLinkProps extends Omit<PatternProps, 'bottomSpacing'>, AnchorHTMLAttributes<HTMLAnchorElement> {
4
+ /**
5
+ * Pin component's name from string to the concrete name
6
+ */
7
+ component?: 'InlineLink';
8
+ /**
9
+ * InlineLink has mandatory children
10
+ */
11
+ children: ReactNode;
12
+ /**
13
+ * href is mandatory
14
+ */
15
+ href: string;
16
+ }
@@ -0,0 +1,2 @@
1
+ import { InlineLinkProps } from './props';
2
+ export declare const InlineLinkStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, InlineLinkProps>> & string;
@@ -0,0 +1,8 @@
1
+ import { InputProps } from './props';
2
+ /**
3
+ * I left forwardRef which was introduced by Hotel
4
+ * I'm not 100% sure if that is needed
5
+ */
6
+ declare const Input: import('react').ForwardRefExoticComponent<InputProps & import('react').RefAttributes<HTMLInputElement>>;
7
+ export default Input;
8
+ export * from './props';
@@ -0,0 +1,48 @@
1
+ import { InputHTMLAttributes } from 'react';
2
+ import { LabelProps } from '../Label/props';
3
+ import { PatternProps } from '../../foundations/PatternProps';
4
+ export declare const inputStateSuccess = "success";
5
+ export declare const inputStateError = "error";
6
+ export type InputStatus = typeof inputStateSuccess | typeof inputStateError;
7
+ export interface InputSharedProps extends PatternProps {
8
+ /**
9
+ * A unique id is mandatory
10
+ */
11
+ uid: string;
12
+ /**
13
+ * There are two statii success and error.
14
+ * Leave status undefined for default input field
15
+ */
16
+ status?: InputStatus;
17
+ /**
18
+ * Message that appears below the input in error state.
19
+ */
20
+ errorMessage?: string;
21
+ /**
22
+ * Message that appears below the input in default and success state.
23
+ */
24
+ helperText?: string;
25
+ /**
26
+ * The Label that appears above the input.
27
+ */
28
+ label: string | LabelProps;
29
+ /**
30
+ * Indicate if input is disabled or not
31
+ */
32
+ disabled?: boolean;
33
+ /**
34
+ * Indicate if input is required or not
35
+ */
36
+ required?: boolean;
37
+ }
38
+ export interface InputProps extends InputSharedProps, InputHTMLAttributes<HTMLInputElement> {
39
+ type?: 'text' | 'password' | 'email' | 'tel' | 'url';
40
+ /**
41
+ * function that is called on every change
42
+ */
43
+ onUpdate?: (value: string) => void;
44
+ /**
45
+ * Pin component's name from string to the concrete name
46
+ */
47
+ component?: 'Input';
48
+ }
@@ -0,0 +1,7 @@
1
+ import { InputHTMLAttributes } from 'react';
2
+ import { PatternProps } from '../../foundations/PatternProps';
3
+ import { InputStatus } from './props';
4
+ export declare const InputWrapperStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, PatternProps & {
5
+ status?: InputStatus;
6
+ }>> & string;
7
+ export declare const InputStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, InputHTMLAttributes<HTMLInputElement>>> & string;
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { LabelProps } from './props';
3
+ declare const Label: FC<LabelProps>;
4
+ export default Label;
5
+ export * from './props';
@@ -0,0 +1,12 @@
1
+ import { LabelHTMLAttributes, ReactNode } from 'react';
2
+ import { PatternProps } from '../../foundations/PatternProps';
3
+ export interface LabelProps extends PatternProps, LabelHTMLAttributes<HTMLLabelElement> {
4
+ /**
5
+ * Sets label to disabled by setting to true
6
+ */
7
+ disabled?: boolean;
8
+ /**
9
+ * Content of Label
10
+ */
11
+ children: ReactNode;
12
+ }
@@ -0,0 +1,2 @@
1
+ import { LabelProps } from './props';
2
+ export declare const LabelStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, LabelProps>> & string;
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { LegendProps } from './props';
3
+ declare const Legend: FC<LegendProps>;
4
+ export default Legend;
5
+ export * from './props';
@@ -0,0 +1,17 @@
1
+ import { HTMLAttributes } from 'react';
2
+ import { BodyProps } from '../Body/props';
3
+ import { HeadingProps } from '../Heading/props';
4
+ import { IconSnippetProps } from '../IconSnippet/props';
5
+ import { RichTextProps } from '../RichText/props';
6
+ import { PatternProps } from '../../foundations/PatternProps';
7
+ export interface LegendProps extends Omit<PatternProps, 'bottomSpacing'>, HTMLAttributes<HTMLLegendElement> {
8
+ /**
9
+ * Props of Heading and/or Body
10
+ * Will be rendered into legend
11
+ */
12
+ contents: (HeadingProps | BodyProps | RichTextProps | IconSnippetProps)[];
13
+ /**
14
+ * Pin component's name from string to the concrete name
15
+ */
16
+ component?: 'Legend';
17
+ }
@@ -0,0 +1 @@
1
+ export declare const LegendStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLLegendElement>, HTMLLegendElement>, never>> & string;
@@ -0,0 +1,3 @@
1
+ import { ReactNode } from 'react';
2
+ import { default as PositionedIconInterface } from '../../foundations/types/PositionedIconInterface';
3
+ export declare const getLinkIcon: (icon: PositionedIconInterface) => ReactNode;
@@ -0,0 +1,6 @@
1
+ import { FC } from 'react';
2
+ import { LinkAsButtonProps } from '../LinkAsButton/props';
3
+ import { LinkProps } from './props';
4
+ declare const Link: FC<LinkProps | LinkAsButtonProps>;
5
+ export default Link;
6
+ export * from './props';
@@ -0,0 +1,28 @@
1
+ import { AnchorHTMLAttributes, ReactNode } from 'react';
2
+ import { PatternProps } from '../../foundations/PatternProps';
3
+ import { default as PositionedIconInterface } from '../../foundations/types/PositionedIconInterface';
4
+ export interface LinkedSharedProps {
5
+ /**
6
+ * icon object contain name and position, object is optional and name and position is mandatory.
7
+ */
8
+ icon: PositionedIconInterface;
9
+ /**
10
+ * Pin component's name from string to the concrete name
11
+ */
12
+ component?: 'Link' | 'LinkAsButton';
13
+ }
14
+ export interface LinkProps extends LinkedSharedProps, PatternProps, AnchorHTMLAttributes<HTMLAnchorElement> {
15
+ /**
16
+ * Link has mandatory children
17
+ */
18
+ children: ReactNode;
19
+ /**
20
+ * Pin component's name from string to the concrete name
21
+ */
22
+ component?: 'Link';
23
+ /**
24
+ * As long as href is given, this pattern is rendered as a link and
25
+ * if it is left out, then a button is rendered
26
+ */
27
+ href: string;
28
+ }
@@ -0,0 +1,4 @@
1
+ import { CSSObject } from 'styled-components';
2
+ import { LinkProps } from './props';
3
+ export declare const linkBaseCssObject: CSSObject;
4
+ export declare const LinkStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, LinkProps>> & string;
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { LinkAsButtonProps } from './props';
3
+ declare const LinkAsButton: FC<LinkAsButtonProps>;
4
+ export default LinkAsButton;
5
+ export * from './props';
@@ -0,0 +1,13 @@
1
+ import { ButtonHTMLAttributes, ReactNode } from 'react';
2
+ import { LinkedSharedProps } from '../Link/props';
3
+ import { PatternProps } from '../../foundations/PatternProps';
4
+ export interface LinkAsButtonProps extends LinkedSharedProps, PatternProps, ButtonHTMLAttributes<HTMLButtonElement> {
5
+ /**
6
+ * Pin component's name from string to the concrete name
7
+ */
8
+ component?: 'LinkAsButton';
9
+ /**
10
+ * Link has mandatory children which can only be a string
11
+ */
12
+ children: ReactNode;
13
+ }
@@ -0,0 +1,2 @@
1
+ import { LinkAsButtonProps } from './props';
2
+ export declare const LinkAsButtonStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, LinkAsButtonProps>> & string;
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { LinkListProps } from './props';
3
+ declare const LinkList: FC<LinkListProps>;
4
+ export default LinkList;
5
+ export * from './props';
@@ -0,0 +1,29 @@
1
+ import { HTMLAttributes } from 'react';
2
+ import { GridConfig } from '../Grid';
3
+ import { LinkListItemProps } from '../LinkListItem';
4
+ import { PatternProps } from '../../foundations/PatternProps';
5
+ export declare const linkListVariantRow = "row";
6
+ export declare const linkListVariantColumn = "column";
7
+ export type LinkListVariant = typeof linkListVariantRow | typeof linkListVariantColumn;
8
+ export interface LinkListProps extends PatternProps, HTMLAttributes<HTMLUListElement> {
9
+ /**
10
+ * Component name
11
+ */
12
+ component?: 'LinkList';
13
+ /**
14
+ * An array of LinkListItem to be rendered in the list.
15
+ */
16
+ items: Omit<LinkListItemProps, 'orientation' | 'elevation' | 'bottomSpacing'>[];
17
+ /**
18
+ * Defines arrangement of the items inside the list.
19
+ */
20
+ variant: LinkListVariant;
21
+ /**
22
+ * Controls the visual elevation (shadow) of the list items. With elevation="true", all included items have a shadow to create visual depth.
23
+ */
24
+ elevation: boolean;
25
+ /**
26
+ * Config of grid to align LinkListItems. Only takes effect on variant row as variant column will always take the whole width.
27
+ */
28
+ gridConfig?: GridConfig;
29
+ }
@@ -0,0 +1,3 @@
1
+ import { LinkListProps } from './props';
2
+ export declare const LinkListStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('../Grid').GridProps, Pick<LinkListProps, "bottomSpacing" | "variant" | "elevation">>> & string & Omit<import('react').FC<import('../Grid').GridProps>, keyof import('react').Component<any, {}, any>>;
3
+ export declare const LinkListLiStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('../GridItem').GridItemProps, Pick<LinkListProps, "variant">>> & string & Omit<import('react').FC<import('../GridItem').GridItemProps>, keyof import('react').Component<any, {}, any>>;
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { LinkListItemAsButtonProps, LinkListItemProps } from './props';
3
+ declare const LinkListItem: FC<LinkListItemProps | LinkListItemAsButtonProps>;
4
+ export default LinkListItem;
5
+ export * from './props';
@@ -0,0 +1,46 @@
1
+ import { IconName } from '@vfde-react/inline-icon-library';
2
+ import { AnchorHTMLAttributes, ButtonHTMLAttributes } from 'react';
3
+ import { PatternProps } from '../../foundations/PatternProps';
4
+ import { BadgeProps } from '../Badge';
5
+ export declare const linkListItemVariantVertical = "vertical";
6
+ export declare const linkListItemVariantHorizontal = "horizontal";
7
+ export type LinkListItemOrientation = typeof linkListItemVariantVertical | typeof linkListItemVariantHorizontal;
8
+ export interface LinkListItemSharedProps extends PatternProps {
9
+ /**
10
+ * The content inside the LinkListItem can either be stacked vertically or horizontally.
11
+ */
12
+ orientation?: LinkListItemOrientation;
13
+ /**
14
+ * Defines the main text of each item. It is mandatory and used to describe the link target clearly and concisely.
15
+ */
16
+ label: string;
17
+ /**
18
+ * Optional secondary text. Provides additional information about the link target.
19
+ */
20
+ suffix?: string;
21
+ /**
22
+ * Optional icon displayed next to the label. Supports md sized system icons
23
+ */
24
+ icon?: IconName;
25
+ /**
26
+ * Optional Badge element. Used to highlight status or metadata.
27
+ */
28
+ badge?: Omit<BadgeProps, 'size' | 'bottomSpacing'>;
29
+ /**
30
+ * CODE ONLY: This property is only used to let an item know that it is the last item in a LinkList and needs to be styled differently.
31
+ */
32
+ isLastItemInList?: boolean;
33
+ /**
34
+ * Controls the visual elevation (shadow) of the item. With elevation="true", it has a shadow to create visual depth.
35
+ */
36
+ elevation?: boolean;
37
+ }
38
+ export interface LinkListItemProps extends LinkListItemSharedProps, AnchorHTMLAttributes<HTMLAnchorElement> {
39
+ /**
40
+ * As long as href is given, this pattern is rendered as an anchor and
41
+ * if it is left out, then a button is rendered
42
+ */
43
+ href?: string;
44
+ }
45
+ export interface LinkListItemAsButtonProps extends LinkListItemSharedProps, ButtonHTMLAttributes<HTMLButtonElement> {
46
+ }
@@ -0,0 +1,11 @@
1
+ import { LinkListItemAsButtonProps, LinkListItemProps } from './props';
2
+ export declare const LinkListItemButtonStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, LinkListItemAsButtonProps>> & string;
3
+ export declare const LinkListItemAnchorStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, LinkListItemProps>> & string;
4
+ export declare const LinkListItemStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Pick<LinkListItemProps, "bottomSpacing" | "orientation" | "elevation" | "isLastItemInList">>> & string;
5
+ export declare const LinkListItemElevatedStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('../Card').CardProps, never>> & string & Omit<import('react').FC<import('../Card').CardProps>, keyof import('react').Component<any, {}, any>>;
6
+ export declare const LinkListItemContentWrapperStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Pick<LinkListItemProps, "orientation">>> & string;
7
+ export declare const LinkListItemContentStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Pick<LinkListItemProps, "orientation">>> & string;
8
+ export declare const LinkListItemVerticalContentStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
9
+ export declare const LinkListItemLabelWrapperStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
10
+ export declare const LinkListLabelStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
11
+ export declare const LinkListItemChevronStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('@vfde-react/inline-icon-library').IconLoaderProps | import('../HifiIcon').HifiIconProps | import('../Icon').IconProps, import('styled-components/dist/types').BaseObject>> & string & Omit<import('react').FC<import('@vfde-react/inline-icon-library').IconLoaderProps | import('../HifiIcon').HifiIconProps | import('../Icon').IconProps>, keyof import('react').Component<any, {}, any>>;
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { LoadingSpinnerProps } from './props';
3
+ export declare const LoadingSpinnerSVG: FC<LoadingSpinnerProps>;
4
+ export declare const LoadingSpinnerXsSVG: FC<LoadingSpinnerProps>;
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { LoadingSpinnerProps } from './props';
3
+ declare const LoadingSpinner: FC<LoadingSpinnerProps>;
4
+ export default LoadingSpinner;
5
+ export * from './props';