@orangesk/orange-design-system 2.0.0-beta.9 → 2.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 (940) hide show
  1. package/README.md +358 -19
  2. package/build/appstore.svg +31 -0
  3. package/build/components/Accordion/style.css +2 -0
  4. package/build/components/Accordion/style.css.map +1 -0
  5. package/build/components/Alert/style.css +2 -0
  6. package/build/components/Alert/style.css.map +1 -0
  7. package/build/components/AnchorNavigation/style.css +2 -0
  8. package/build/components/AnchorNavigation/style.css.map +1 -0
  9. package/build/components/Bar/style.css +2 -0
  10. package/build/components/Bar/style.css.map +1 -0
  11. package/build/components/BlockAction/style.css +2 -0
  12. package/build/components/BlockAction/style.css.map +1 -0
  13. package/build/components/BodyBanner/style.css +2 -0
  14. package/build/components/BodyBanner/style.css.map +1 -0
  15. package/build/components/Breadcrumbs/style.css +2 -0
  16. package/build/components/Breadcrumbs/style.css.map +1 -0
  17. package/build/components/Button/style.css +2 -0
  18. package/build/components/Button/style.css.map +1 -0
  19. package/build/components/Buttons/style.css +2 -0
  20. package/build/components/Buttons/style.css.map +1 -0
  21. package/build/components/Card/style.css +2 -0
  22. package/build/components/Card/style.css.map +1 -0
  23. package/build/components/Carousel/style.css +2 -0
  24. package/build/components/Carousel/style.css.map +1 -0
  25. package/build/components/CarouselHero/style.css +2 -0
  26. package/build/components/CarouselHero/style.css.map +1 -0
  27. package/build/components/CarouselPromotions/style.css +2 -0
  28. package/build/components/CarouselPromotions/style.css.map +1 -0
  29. package/build/components/CartTable/style.css +2 -0
  30. package/build/components/CartTable/style.css.map +1 -0
  31. package/build/components/Code/style.css +2 -0
  32. package/build/components/Code/style.css.map +1 -0
  33. package/build/components/Container/style.css +2 -0
  34. package/build/components/Container/style.css.map +1 -0
  35. package/build/components/Controls/style.css +2 -0
  36. package/build/components/Controls/style.css.map +1 -0
  37. package/build/components/Cover/style.css +2 -0
  38. package/build/components/Cover/style.css.map +1 -0
  39. package/build/components/Divider/style.css +2 -0
  40. package/build/components/Divider/style.css.map +1 -0
  41. package/build/components/DocumentationSidebar/style.css +2 -0
  42. package/build/components/DocumentationSidebar/style.css.map +1 -0
  43. package/build/components/Dropdown/style.css +2 -0
  44. package/build/components/Dropdown/style.css.map +1 -0
  45. package/build/components/Expander/style.css +2 -0
  46. package/build/components/Expander/style.css.map +1 -0
  47. package/build/components/FeatureAccordion/style.css +2 -0
  48. package/build/components/FeatureAccordion/style.css.map +1 -0
  49. package/build/components/Footer/style.css +2 -0
  50. package/build/components/Footer/style.css.map +1 -0
  51. package/build/components/Gauge/style.css +2 -0
  52. package/build/components/Gauge/style.css.map +1 -0
  53. package/build/components/Grid/style.css +2 -0
  54. package/build/components/Grid/style.css.map +1 -0
  55. package/build/components/Hero/style.css +2 -0
  56. package/build/components/Hero/style.css.map +1 -0
  57. package/build/components/Icon/style.css +2 -0
  58. package/build/components/Icon/style.css.map +1 -0
  59. package/build/components/IconList/style.css +2 -0
  60. package/build/components/IconList/style.css.map +1 -0
  61. package/build/components/Image/style.css +2 -0
  62. package/build/components/Image/style.css.map +1 -0
  63. package/build/components/Link/style.css +2 -0
  64. package/build/components/Link/style.css.map +1 -0
  65. package/build/components/List/style.css +2 -0
  66. package/build/components/List/style.css.map +1 -0
  67. package/build/components/Loader/style.css +2 -0
  68. package/build/components/Loader/style.css.map +1 -0
  69. package/build/components/Megamenu/style.css +2 -0
  70. package/build/components/Megamenu/style.css.map +1 -0
  71. package/build/components/Modal/style.css +2 -0
  72. package/build/components/Modal/style.css.map +1 -0
  73. package/build/components/Pagination/style.css +2 -0
  74. package/build/components/Pagination/style.css.map +1 -0
  75. package/build/components/Pill/style.css +2 -0
  76. package/build/components/Pill/style.css.map +1 -0
  77. package/build/components/Preview/style.css +2 -0
  78. package/build/components/Preview/style.css.map +1 -0
  79. package/build/components/Progress/style.css +2 -0
  80. package/build/components/Progress/style.css.map +1 -0
  81. package/build/components/PromoBanner/style.css +2 -0
  82. package/build/components/PromoBanner/style.css.map +1 -0
  83. package/build/components/PromotionCard/style.css +2 -0
  84. package/build/components/PromotionCard/style.css.map +1 -0
  85. package/build/components/Section/style.css +2 -0
  86. package/build/components/Section/style.css.map +1 -0
  87. package/build/components/Skeleton/style.css +2 -0
  88. package/build/components/Skeleton/style.css.map +1 -0
  89. package/build/components/SkipLink/style.css +2 -0
  90. package/build/components/SkipLink/style.css.map +1 -0
  91. package/build/components/SocialButton/style.css +2 -0
  92. package/build/components/SocialButton/style.css.map +1 -0
  93. package/build/components/Stepbar/style.css +2 -0
  94. package/build/components/Stepbar/style.css.map +1 -0
  95. package/build/components/Sticker/style.css +2 -0
  96. package/build/components/Sticker/style.css.map +1 -0
  97. package/build/components/Table/style.css +2 -0
  98. package/build/components/Table/style.css.map +1 -0
  99. package/build/components/Tabs/style.css +2 -0
  100. package/build/components/Tabs/style.css.map +1 -0
  101. package/build/components/Tag/style.css +2 -0
  102. package/build/components/Tag/style.css.map +1 -0
  103. package/build/components/Testimonial/style.css +2 -0
  104. package/build/components/Testimonial/style.css.map +1 -0
  105. package/build/components/Tile/style.css +2 -0
  106. package/build/components/Tile/style.css.map +1 -0
  107. package/build/components/Tooltip/style.css +2 -0
  108. package/build/components/Tooltip/style.css.map +1 -0
  109. package/build/components/index.js +1 -23
  110. package/build/components/index.js.map +1 -1
  111. package/build/components/tsconfig.tsbuildinfo +1 -1
  112. package/build/components/types/index.d.ts +841 -801
  113. package/build/components/types/src/components/Accordion/Accordion.d.ts +2 -2
  114. package/build/components/types/src/components/Accordion/Accordion.static.d.ts +3 -0
  115. package/build/components/types/src/components/Alert/Alert.d.ts +0 -2
  116. package/build/components/types/src/components/AnchorNavigation/AnchorNavigation.d.ts +1 -2
  117. package/build/components/types/src/components/AnchorNavigation/AnchorNavigation.static.d.ts +76 -0
  118. package/build/components/types/src/components/Bar/index.d.ts +1 -1
  119. package/build/components/types/src/components/BlockAction/BlockAction.d.ts +2 -0
  120. package/build/components/types/src/components/BlockAction/Context.d.ts +3 -1
  121. package/build/components/types/src/components/BlockAction/index.d.ts +2 -4
  122. package/build/components/types/src/components/BodyBanner/BodyBanner.d.ts +12 -12
  123. package/build/components/types/src/components/Breadcrumbs/Breadcrumbs.d.ts +0 -2
  124. package/build/components/types/src/components/Button/Button.d.ts +0 -1
  125. package/build/components/types/src/components/Button/index.d.ts +4 -5
  126. package/build/components/types/src/components/Card/Card.d.ts +1 -1
  127. package/build/components/types/src/components/Card/index.d.ts +2 -1
  128. package/build/components/types/src/components/Carousel/Carousel.d.ts +1 -3
  129. package/build/components/types/src/components/Carousel/Carousel.static.d.ts +73 -7
  130. package/build/components/types/src/components/Carousel/CarouselItem.d.ts +1 -1
  131. package/build/components/types/src/components/CarouselHero/CarouselHero.d.ts +3 -2
  132. package/build/components/types/src/components/CarouselHero/CarouselHero.static.d.ts +4 -1
  133. package/build/components/types/src/components/CarouselHero/CarouselHeroItem.d.ts +1 -2
  134. package/build/components/types/src/components/CarouselHero/constants.d.ts +1 -2
  135. package/build/components/types/src/components/CarouselHero/index.d.ts +1 -1
  136. package/build/components/types/src/components/CarouselPromotions/CarouselPromotions.d.ts +0 -1
  137. package/build/components/types/src/components/CarouselPromotions/CarouselPromotions.static.d.ts +5 -0
  138. package/build/components/types/src/components/CartTable/CartTable.d.ts +1 -1
  139. package/build/components/types/src/components/CartTable/data.d.ts +1 -1
  140. package/build/components/types/src/components/Code/Code.d.ts +1 -1
  141. package/build/components/types/src/components/Controls/Controls.d.ts +0 -1
  142. package/build/components/types/src/components/Cover/Cover.d.ts +3 -3
  143. package/build/components/types/src/components/Divider/Divider.d.ts +1 -5
  144. package/build/components/types/src/components/DocumentationSidebar/DocumentationSidebar.d.ts +1 -0
  145. package/build/components/types/src/components/DocumentationSidebar/index.d.ts +1 -1
  146. package/build/components/types/src/components/Dropdown/index.d.ts +1 -1
  147. package/build/components/types/src/components/Expander/Expander.d.ts +6 -3
  148. package/build/components/types/src/components/Expander/Expander.static.d.ts +3 -2
  149. package/build/components/types/src/components/FeatureAccordion/FeatureAccordion.d.ts +14 -3
  150. package/build/components/types/src/components/FeatureAccordion/FeatureAccordion.static.d.ts +1 -2
  151. package/build/components/types/src/components/FeatureAccordion/FeatureAccordionItem.d.ts +3 -3
  152. package/build/components/types/src/components/Footer/Footer.static.d.ts +21 -0
  153. package/build/components/types/src/components/Footer/PlanObnovy.d.ts +1 -0
  154. package/build/components/types/src/components/Footer/constants.d.ts +12 -1
  155. package/build/components/types/src/components/Footer/data.d.ts +11 -0
  156. package/build/components/types/src/components/Footer/static.d.ts +21 -0
  157. package/build/components/types/src/components/Forms/Autocomplete/Autocomplete.d.ts +3 -1
  158. package/build/components/types/src/components/Forms/Autocomplete/Autocomplete.static.d.ts +12 -0
  159. package/build/components/types/src/components/Forms/File/File.d.ts +2 -0
  160. package/build/components/types/src/components/Forms/Group/Group.d.ts +4 -2
  161. package/build/components/types/src/components/Forms/Group/Item.d.ts +1 -1
  162. package/build/components/types/src/components/Forms/InputStepper/InputStepper.d.ts +2 -1
  163. package/build/components/types/src/components/Forms/RangeSlider/RangeSlider.d.ts +2 -0
  164. package/build/components/types/src/components/Forms/Select/index.d.ts +1 -1
  165. package/build/components/types/src/components/Forms/TextInput/TextInput.d.ts +3 -0
  166. package/build/components/types/src/components/Forms/index.d.ts +1 -1
  167. package/build/components/types/src/components/Grid/Grid.d.ts +2 -2
  168. package/build/components/types/src/components/Grid/GridCol.d.ts +4 -4
  169. package/build/components/types/src/components/Hero/Hero.d.ts +0 -3
  170. package/build/components/types/src/components/Icon/IconSearch.d.ts +2 -2
  171. package/build/components/types/src/components/Icon/IconSearchWrapper.d.ts +1 -1
  172. package/build/components/types/src/components/Icon/PictogramSearch.d.ts +6 -0
  173. package/build/components/types/src/components/Icon/PictogramSearchWrapper.d.ts +1 -0
  174. package/build/components/types/src/components/Icon/iconSearchTags.d.ts +172 -165
  175. package/build/components/types/src/components/Icon/iconUtils.d.ts +2 -0
  176. package/build/components/types/src/components/Icon/index.d.ts +1 -1
  177. package/build/components/types/src/components/IconList/Item.d.ts +1 -1
  178. package/build/components/types/src/components/Link/Link.d.ts +2 -2
  179. package/build/components/types/src/components/List/ClickableControl.d.ts +1 -1
  180. package/build/components/types/src/components/List/List.d.ts +3 -3
  181. package/build/components/types/src/components/List/ListItem.d.ts +1 -1
  182. package/build/components/types/src/components/Loader/LoaderFullscreen.d.ts +7 -0
  183. package/build/components/types/src/components/Loader/index.d.ts +1 -0
  184. package/build/components/types/src/components/Megamenu/BrandMark.d.ts +1 -0
  185. package/build/components/types/src/components/Megamenu/Logo.d.ts +1 -0
  186. package/build/components/types/src/components/Megamenu/LogoJeTu.d.ts +1 -0
  187. package/build/components/types/src/components/Megamenu/Megamenu.d.ts +9 -1
  188. package/build/components/types/src/components/Megamenu/Megamenu.static.d.ts +21 -5
  189. package/build/components/types/src/components/Megamenu/MegamenuBlog.d.ts +2 -1
  190. package/build/components/types/src/components/Megamenu/MegamenuSearchContent.d.ts +10 -0
  191. package/build/components/types/src/components/Megamenu/MyOrangeMobilePanel.d.ts +6 -0
  192. package/build/components/types/src/components/Megamenu/constants.d.ts +21 -0
  193. package/build/components/types/src/components/Megamenu/data.d.ts +21 -0
  194. package/build/components/types/src/components/Megamenu/ids.d.ts +11 -0
  195. package/build/components/types/src/components/Megamenu/index.d.ts +1 -1
  196. package/build/components/types/src/components/Megamenu/static.d.ts +2 -3
  197. package/build/components/types/src/components/Modal/Modal.d.ts +2 -6
  198. package/build/components/types/src/components/Modal/Modal.static.d.ts +4 -0
  199. package/build/components/types/src/components/Modal/ModalBody.d.ts +3 -3
  200. package/build/components/types/src/components/Modal/ModalCloseButton.d.ts +1 -1
  201. package/build/components/types/src/components/Modal/ModalProductHeader.d.ts +2 -0
  202. package/build/components/types/src/components/Modal/index.d.ts +2 -3
  203. package/build/components/types/src/components/Pagination/Pagination.d.ts +0 -2
  204. package/build/components/types/src/components/Pagination/Separator.d.ts +2 -2
  205. package/build/components/types/src/components/Pagination/helpers.d.ts +1 -1
  206. package/build/components/types/src/components/Pill/Pill.d.ts +2 -3
  207. package/build/components/types/src/components/Preview/CodeExample.d.ts +1 -0
  208. package/build/components/types/src/components/Preview/Preview.d.ts +2 -2
  209. package/build/components/types/src/components/Preview/PreviewGenerator.d.ts +13 -9
  210. package/build/components/types/src/components/Preview/getElementDisplayName.d.ts +1 -0
  211. package/build/components/types/src/components/Preview/index.d.ts +1 -1
  212. package/build/components/types/src/components/Progress/Progress.d.ts +0 -1
  213. package/build/components/types/src/components/PromoBanner/PromoBanner.d.ts +12 -3
  214. package/build/components/types/src/components/PromotionCard/PromotionCard.d.ts +3 -3
  215. package/build/components/types/src/components/PromotionCard/PromotionCardContent.d.ts +1 -1
  216. package/build/components/types/src/components/PromotionCard/PromotionCardImageWrapper.d.ts +1 -1
  217. package/build/components/types/src/components/PromotionCard/PromotionCardTitle.d.ts +1 -1
  218. package/build/components/types/src/components/Section/Section.d.ts +4 -1
  219. package/build/components/types/src/components/SocialButton/SocialButton.d.ts +13 -0
  220. package/build/components/types/src/components/SocialButton/index.d.ts +1 -0
  221. package/build/components/types/src/components/Stepbar/Stepbar.d.ts +0 -2
  222. package/build/components/types/src/components/Sticker/Sticker.d.ts +3 -3
  223. package/build/components/types/src/components/Table/Row.d.ts +1 -2
  224. package/build/components/types/src/components/Table/Table.d.ts +3 -3
  225. package/build/components/types/src/components/Table/docsData.d.ts +2 -0
  226. package/build/components/types/src/components/Table/index.d.ts +1 -1
  227. package/build/components/types/src/components/Table/types.d.ts +1 -0
  228. package/build/components/types/src/components/Tabs/Tabs.d.ts +0 -6
  229. package/build/components/types/src/components/Tabs/Tabs.static.d.ts +12 -0
  230. package/build/components/types/src/components/Tabs/index.d.ts +2 -2
  231. package/build/components/types/src/components/Tag/Tag.d.ts +0 -2
  232. package/build/components/types/src/components/Tag/index.d.ts +1 -1
  233. package/build/components/types/src/components/Testimonial/Testimonial.d.ts +2 -2
  234. package/build/components/types/src/components/Tile/Tile.d.ts +3 -10
  235. package/build/components/types/src/components/Tooltip/Tooltip.d.ts +0 -1
  236. package/build/components/types/src/components/Tooltip/Tooltip.static.d.ts +6 -2
  237. package/build/components/types/src/components/Tooltip/index.d.ts +1 -1
  238. package/build/components/types/src/components/Tooltip/tests/BaseWrapper.d.ts +1 -1
  239. package/build/components/types/src/components/index.d.ts +22 -20
  240. package/build/components/types/src/docs/utils/SpacePreview.d.ts +1 -2
  241. package/build/components/types/src/scripts/index.d.ts +7 -8
  242. package/build/components/types/src/scripts/modules/SameHeight.d.ts +7 -0
  243. package/build/components/types/src/scripts/modules/SpacePreview/index.d.ts +1 -1
  244. package/build/components/types/src/styles/export/color.d.ts +105 -0
  245. package/build/components/types/src/utils/formatCode.d.ts +5 -0
  246. package/build/components/types/src/utils/hooks.d.ts +1 -1
  247. package/build/components/types/src/utils/index.d.ts +2 -2
  248. package/build/fonts/HelveticaNeue-Bold.woff2 +0 -0
  249. package/build/fonts/HelveticaNeue-Light.woff2 +0 -0
  250. package/build/fonts/HelveticaNeue-Roman.woff2 +0 -0
  251. package/build/googleplay.svg +52 -0
  252. package/build/lib/base.css +3 -0
  253. package/build/lib/base.css.map +1 -0
  254. package/build/lib/components.css +1 -1
  255. package/build/lib/components.css.map +1 -1
  256. package/build/lib/footer.css +1 -1
  257. package/build/lib/footer.css.map +1 -1
  258. package/build/lib/footer.js +2 -0
  259. package/build/lib/footer.js.map +1 -0
  260. package/build/lib/megamenu.css +1 -1
  261. package/build/lib/megamenu.css.map +1 -1
  262. package/build/lib/megamenu.js +1 -1
  263. package/build/lib/megamenu.js.map +1 -1
  264. package/build/lib/scripts.js +1 -9
  265. package/build/lib/scripts.js.map +1 -1
  266. package/build/lib/style.css +1 -1
  267. package/build/lib/style.css.map +1 -1
  268. package/build/lib/tsconfig.tsbuildinfo +1 -1
  269. package/build/lib/utilities.css +2 -0
  270. package/build/lib/utilities.css.map +1 -0
  271. package/build/plan-obnovy.svg +53 -0
  272. package/build/search-index.json +426 -0
  273. package/build/sprite.svg +1 -1
  274. package/package.json +91 -61
  275. package/public/fonts/HelveticaNeue-Bold.woff2 +0 -0
  276. package/public/fonts/HelveticaNeue-Light.woff2 +0 -0
  277. package/public/fonts/HelveticaNeue-Roman.woff2 +0 -0
  278. package/src/assets/icons/ai.svg +6 -0
  279. package/src/assets/icons/discount-price.svg +4 -0
  280. package/src/assets/icons/instagram.svg +5 -1
  281. package/src/assets/icons/linkedin-2.svg +3 -1
  282. package/src/assets/icons/pause.svg +5 -1
  283. package/src/assets/icons/pictogram-deezer--dark.svg +24 -0
  284. package/src/assets/icons/pictogram-deezer.svg +24 -0
  285. package/src/assets/icons/pictogram-discount-rental--dark.svg +11 -0
  286. package/src/assets/icons/pictogram-discount-rental.svg +11 -0
  287. package/src/assets/icons/pictogram-discount-tv-package--dark.svg +7 -0
  288. package/src/assets/icons/pictogram-discount-tv-package.svg +7 -0
  289. package/src/assets/icons/pictogram-disney--dark.svg +15 -0
  290. package/src/assets/icons/pictogram-disney.svg +10 -0
  291. package/src/assets/icons/pictogram-eset--dark.svg +10 -0
  292. package/src/assets/icons/pictogram-eset.svg +10 -0
  293. package/src/assets/icons/pictogram-ewatch--dark.svg +7 -0
  294. package/src/assets/icons/pictogram-ewatch.svg +7 -0
  295. package/src/assets/icons/pictogram-exclusive-package--dark.svg +5 -0
  296. package/src/assets/icons/pictogram-exclusive-package.svg +5 -0
  297. package/src/assets/icons/pictogram-fast-data--dark.svg +6 -0
  298. package/src/assets/icons/pictogram-fast-data.svg +6 -0
  299. package/src/assets/icons/pictogram-hbo-max--dark.svg +4 -5
  300. package/src/assets/icons/pictogram-hbo-max.svg +4 -5
  301. package/src/assets/icons/pictogram-interaction--dark.svg +20 -0
  302. package/src/assets/icons/pictogram-interaction.svg +20 -0
  303. package/src/assets/icons/pictogram-internet--dark.svg +15 -0
  304. package/src/assets/icons/pictogram-internet.svg +15 -0
  305. package/src/assets/icons/pictogram-my-orange--dark.svg +6 -0
  306. package/src/assets/icons/pictogram-my-orange.svg +6 -0
  307. package/src/assets/icons/pictogram-offer-package--dark.svg +7 -0
  308. package/src/assets/icons/pictogram-offer-package.svg +7 -0
  309. package/src/assets/icons/pictogram-prima-love--dark.svg +4 -0
  310. package/src/assets/icons/pictogram-prima-love.svg +4 -0
  311. package/src/assets/icons/pictogram-shared-data--dark.svg +8 -0
  312. package/src/assets/icons/pictogram-shared-data.svg +8 -0
  313. package/src/assets/icons/pictogram-tariffs--dark.svg +9 -0
  314. package/src/assets/icons/pictogram-tariffs.svg +9 -0
  315. package/src/assets/icons/pictogram-unlimited-data--dark.svg +19 -0
  316. package/src/assets/icons/pictogram-unlimited-data.svg +19 -0
  317. package/src/assets/icons/pinterest.svg +4 -0
  318. package/src/assets/icons/play.svg +4 -1
  319. package/src/assets/icons/quote.svg +4 -0
  320. package/src/assets/icons/snapchat.svg +4 -0
  321. package/src/assets/icons/tiktok.svg +4 -0
  322. package/src/assets/icons/whatsapp.svg +4 -0
  323. package/src/assets/icons/youtube.svg +3 -1
  324. package/src/components/Accordion/Accordion.static.ts +79 -30
  325. package/src/components/Accordion/Accordion.tsx +6 -7
  326. package/src/components/Accordion/AccordionHeader.tsx +1 -11
  327. package/src/components/Accordion/AccordionItem.tsx +3 -1
  328. package/src/components/Accordion/HeadingContext.tsx +1 -1
  329. package/src/components/Accordion/styles/config.scss +3 -2
  330. package/src/components/Accordion/styles/mixins.scss +10 -9
  331. package/src/components/Accordion/styles/style.scss +2 -2
  332. package/src/components/Accordion/tests/{Accordion.static.test.js → Accordion.static.test.jsx} +23 -23
  333. package/src/components/Accordion/tests/{Accordion.unit.test.js → Accordion.unit.test.jsx} +125 -31
  334. package/src/components/Alert/Alert.tsx +3 -10
  335. package/src/components/Alert/styles/config.scss +1 -1
  336. package/src/components/Alert/styles/mixins.scss +4 -1
  337. package/src/components/Alert/tests/{Alert.conformance.test.js → Alert.conformance.test.jsx} +2 -3
  338. package/src/components/Alert/tests/{Alert.test.js → Alert.test.jsx} +2 -16
  339. package/src/components/Alert/tests/Alert.visual.test.jsx +137 -0
  340. package/src/components/Alert/tests/__screenshots__/Alert.visual.test.jsx/alert-preview-custom-title-chromium-linux.png +0 -0
  341. package/src/components/Alert/tests/__screenshots__/Alert.visual.test.jsx/alert-preview-danger-chromium-linux.png +0 -0
  342. package/src/components/Alert/tests/__screenshots__/Alert.visual.test.jsx/alert-preview-full-width-chromium-linux.png +0 -0
  343. package/src/components/Alert/tests/__screenshots__/Alert.visual.test.jsx/alert-preview-success-chromium-linux.png +0 -0
  344. package/src/components/Alert/tests/__screenshots__/Alert.visual.test.jsx/alert-preview-title-buttons-chromium-linux.png +0 -0
  345. package/src/components/Alert/tests/__screenshots__/Alert.visual.test.jsx/alert-preview-title-chromium-linux.png +0 -0
  346. package/src/components/Alert/tests/__screenshots__/Alert.visual.test.jsx/alert-preview-title-description-buttons-chromium-linux.png +0 -0
  347. package/src/components/Alert/tests/__screenshots__/Alert.visual.test.jsx/alert-preview-title-description-chromium-linux.png +0 -0
  348. package/src/components/Alert/tests/__screenshots__/Alert.visual.test.jsx/alert-preview-warning-chromium-linux.png +0 -0
  349. package/src/components/AnchorNavigation/AnchorNavigation.static.ts +746 -88
  350. package/src/components/AnchorNavigation/AnchorNavigation.tsx +5 -15
  351. package/src/components/AnchorNavigation/styles/mixins.scss +124 -15
  352. package/src/components/AnchorNavigation/tests/{AnchorNavigation.conformance.test.js → AnchorNavigation.conformance.test.jsx} +1 -10
  353. package/src/components/AnchorNavigation/tests/AnchorNavigation.unit.test.jsx +801 -0
  354. package/src/components/Bar/Bar.tsx +1 -1
  355. package/src/components/Bar/BarBreak.tsx +1 -1
  356. package/src/components/Bar/BarItem.tsx +1 -1
  357. package/src/components/Bar/index.ts +1 -1
  358. package/src/components/Bar/styles/config.scss +4 -5
  359. package/src/components/Bar/styles/mixins.scss +11 -11
  360. package/src/components/Bar/tests/{Bar.conformance.test.js → Bar.conformance.test.jsx} +1 -1
  361. package/src/components/BlockAction/BlockAction.tsx +10 -3
  362. package/src/components/BlockAction/BlockActionControl.tsx +2 -3
  363. package/src/components/BlockAction/BlockActionIndicator.tsx +2 -3
  364. package/src/components/BlockAction/CloneElementWithClassName.tsx +1 -1
  365. package/src/components/BlockAction/Context.tsx +5 -1
  366. package/src/components/BlockAction/index.tsx +3 -8
  367. package/src/components/BlockAction/styles/config.scss +6 -6
  368. package/src/components/BlockAction/styles/mixins.scss +5 -0
  369. package/src/components/BlockAction/styles/style.scss +11 -4
  370. package/src/components/BlockAction/tests/{BlockAction.conformance.test.js → BlockAction.conformance.test.jsx} +1 -1
  371. package/src/components/BlockAction/tests/{BlockActionControl.unit.test.js → BlockActionControl.unit.test.jsx} +3 -3
  372. package/src/components/BodyBanner/BodyBanner.tsx +54 -78
  373. package/src/components/BodyBanner/styles/mixins.scss +50 -45
  374. package/src/components/BodyBanner/styles/style.scss +4 -18
  375. package/src/components/BodyBanner/tests/BodyBanner.conformance.test.jsx +84 -0
  376. package/src/components/BodyBanner/tests/BodyBanner.unit.test.jsx +201 -0
  377. package/src/components/Breadcrumbs/BreadcrumbItem.tsx +17 -8
  378. package/src/components/Breadcrumbs/Breadcrumbs.tsx +4 -12
  379. package/src/components/Breadcrumbs/styles/mixins.scss +39 -10
  380. package/src/components/Breadcrumbs/styles/style.scss +2 -1
  381. package/src/components/Breadcrumbs/tests/{BreadcrumbItem.unit.test.js → BreadcrumbItem.unit.test.jsx} +14 -8
  382. package/src/components/Breadcrumbs/tests/{Breadcrumbs.conformance.test.js → Breadcrumbs.conformance.test.jsx} +1 -1
  383. package/src/components/Breadcrumbs/tests/{Breadcrumbs.integration.test.js → Breadcrumbs.integration.test.jsx} +14 -37
  384. package/src/components/Breadcrumbs/tests/{Breadcrumbs.unit.test.js → Breadcrumbs.unit.test.jsx} +19 -23
  385. package/src/components/Button/Button.tsx +1 -7
  386. package/src/components/Button/IconButton.tsx +7 -3
  387. package/src/components/Button/index.tsx +1 -3
  388. package/src/components/Button/styles/config.scss +5 -5
  389. package/src/components/Button/styles/mixins.scss +2 -2
  390. package/src/components/Button/tests/{Button.conformance.test.js → Button.conformance.test.jsx} +1 -2
  391. package/src/components/Button/tests/{Button.test.js → Button.test.jsx} +1 -12
  392. package/src/components/Button/tests/{IconButton.unit.test.js → IconButton.unit.test.jsx} +0 -1
  393. package/src/components/Buttons/styles/mixins.scss +8 -13
  394. package/src/components/Buttons/tests/{Buttons.conformance.test.js → Buttons.conformance.test.jsx} +1 -1
  395. package/src/components/Card/Card.tsx +17 -17
  396. package/src/components/Card/CardProductHeader.tsx +1 -1
  397. package/src/components/Card/CardSection.tsx +6 -2
  398. package/src/components/Card/index.ts +2 -1
  399. package/src/components/Card/styles/config.scss +2 -2
  400. package/src/components/Card/styles/mixins.scss +7 -6
  401. package/src/components/Card/tests/{Card.conformance.test.js → Card.conformance.test.jsx} +2 -2
  402. package/src/components/Card/tests/Card.unit.test.jsx +81 -0
  403. package/src/components/Card/tests/{CardProductHeader.unit.test.js → CardProductHeader.unit.test.jsx} +1 -1
  404. package/src/components/Card/tests/{CardSection.unit.test.js → CardSection.unit.test.jsx} +36 -3
  405. package/src/components/Carousel/Carousel.static.ts +623 -76
  406. package/src/components/Carousel/Carousel.tsx +9 -16
  407. package/src/components/Carousel/CarouselItem.tsx +1 -1
  408. package/src/components/Carousel/styles/mixins.scss +43 -17
  409. package/src/components/Carousel/tests/{Carousel.conformance.test.js → Carousel.conformance.test.jsx} +2 -4
  410. package/src/components/Carousel/tests/Carousel.static.test.jsx +988 -0
  411. package/src/components/Carousel/tests/{Carousel.unit.test.js → Carousel.unit.test.jsx} +117 -12
  412. package/src/components/CarouselHero/CarouselHero.static.ts +68 -37
  413. package/src/components/CarouselHero/CarouselHero.tsx +101 -39
  414. package/src/components/CarouselHero/CarouselHeroItem.tsx +13 -14
  415. package/src/components/CarouselHero/constants.ts +1 -2
  416. package/src/components/CarouselHero/index.ts +1 -1
  417. package/src/components/CarouselHero/styles/mixins.scss +19 -32
  418. package/src/components/CarouselHero/styles/style.scss +4 -8
  419. package/src/components/CarouselHero/tests/{CarouselHero.conformance.test.js → CarouselHero.conformance.test.jsx} +45 -46
  420. package/src/components/CarouselHero/tests/{CarouselHero.unit.test.js → CarouselHero.unit.test.jsx} +184 -42
  421. package/src/components/CarouselHero/tests/CarouselHero.visual.test.jsx +90 -0
  422. package/src/components/CarouselHero/tests/{CarouselHeroItem.conformance.test.js → CarouselHeroItem.conformance.test.jsx} +19 -26
  423. package/src/components/CarouselHero/tests/{CarouselHeroItem.unit.test.js → CarouselHeroItem.unit.test.jsx} +26 -93
  424. package/src/components/CarouselPromotions/CarouselPromotions.static.ts +72 -13
  425. package/src/components/CarouselPromotions/CarouselPromotions.tsx +7 -13
  426. package/src/components/CarouselPromotions/CarouselPromotionsItem.tsx +3 -3
  427. package/src/components/CarouselPromotions/styles/mixins.scss +8 -5
  428. package/src/components/CarouselPromotions/tests/{CarouselPromotions.conformance.test.js → CarouselPromotions.conformance.test.jsx} +13 -6
  429. package/src/components/CarouselPromotions/tests/{CarouselPromotions.unit.test.js → CarouselPromotions.unit.test.jsx} +3 -22
  430. package/src/components/CartTable/CartTable.tsx +3 -4
  431. package/src/components/CartTable/FooterPriceColumn.tsx +6 -4
  432. package/src/components/CartTable/Price.tsx +2 -2
  433. package/src/components/CartTable/data.ts +1 -1
  434. package/src/components/CartTable/generateFooter.tsx +1 -1
  435. package/src/components/CartTable/generateRow.tsx +6 -8
  436. package/src/components/CartTable/styles/mixins.scss +46 -49
  437. package/src/components/CartTable/tests/{CartTable.conformance.test.js → CartTable.conformance.test.jsx} +1 -1
  438. package/src/components/Code/Code.tsx +1 -1
  439. package/src/components/Code/styles/style.scss +6 -5
  440. package/src/components/Container/Container.tsx +1 -1
  441. package/src/components/Container/styles/config.scss +2 -2
  442. package/src/components/Container/styles/mixins.scss +4 -4
  443. package/src/components/Container/tests/{Container.conformance.test.js → Container.conformance.test.jsx} +2 -6
  444. package/src/components/Container/tests/{Container.unit.test.js → Container.unit.test.jsx} +5 -4
  445. package/src/components/Controls/Controls.tsx +3 -8
  446. package/src/components/Controls/tests/{Controls.test.js → Controls.test.jsx} +14 -46
  447. package/src/components/Cover/Cover.tsx +22 -20
  448. package/src/components/Cover/index.ts +1 -0
  449. package/src/components/Cover/styles/config.scss +23 -12
  450. package/src/components/Cover/styles/mixins.scss +6 -5
  451. package/src/components/Cover/tests/Cover.conformance.test.jsx +27 -0
  452. package/src/components/Cover/tests/Cover.unit.test.jsx +115 -0
  453. package/src/components/Divider/Divider.tsx +3 -17
  454. package/src/components/Divider/styles/config.scss +0 -17
  455. package/src/components/Divider/styles/mixins.scss +12 -12
  456. package/src/components/Divider/styles/style.scss +2 -16
  457. package/src/components/Divider/tests/{Divider.conformance.test.js → Divider.conformance.test.jsx} +2 -2
  458. package/src/components/Divider/tests/{Divider.unit.test.js → Divider.unit.test.jsx} +0 -17
  459. package/src/components/DocumentationSidebar/DocumentationSidebar.tsx +231 -9
  460. package/src/components/DocumentationSidebar/index.ts +2 -2
  461. package/src/components/DocumentationSidebar/styles/style.scss +76 -3
  462. package/src/components/Dropdown/Dropdown.static.ts +3 -2
  463. package/src/components/Dropdown/Dropdown.tsx +3 -5
  464. package/src/components/Dropdown/DropdownDivider.tsx +1 -1
  465. package/src/components/Dropdown/DropdownItem.tsx +1 -1
  466. package/src/components/Dropdown/DropdownToggleButton.tsx +1 -1
  467. package/src/components/Dropdown/index.ts +1 -1
  468. package/src/components/Dropdown/styles/mixins.scss +1 -1
  469. package/src/components/Dropdown/tests/{Dropdown.conformance.test.js → Dropdown.conformance.test.jsx} +2 -2
  470. package/src/components/Dropdown/tests/{Dropdown.unit.test.js → Dropdown.unit.test.jsx} +1 -2
  471. package/src/components/Expander/Expander.static.ts +22 -28
  472. package/src/components/Expander/Expander.tsx +21 -17
  473. package/src/components/Expander/styles/style.scss +18 -3
  474. package/src/components/Expander/tests/{Expander.conformance.test.js → Expander.conformance.test.jsx} +23 -13
  475. package/src/components/Expander/tests/Expander.unit.test.jsx +196 -0
  476. package/src/components/FeatureAccordion/FeatureAccordion.static.ts +93 -48
  477. package/src/components/FeatureAccordion/FeatureAccordion.tsx +83 -60
  478. package/src/components/FeatureAccordion/FeatureAccordionItem.tsx +21 -8
  479. package/src/components/FeatureAccordion/styles/mixins.scss +25 -15
  480. package/src/components/FeatureAccordion/styles/style.scss +8 -6
  481. package/src/components/FeatureAccordion/tests/{FeatureAccordion.conformance.test.js → FeatureAccordion.conformance.test.jsx} +3 -1
  482. package/src/components/FeatureAccordion/tests/{FeatureAccordion.unit.test.js → FeatureAccordion.unit.test.jsx} +2 -8
  483. package/src/components/Footer/Footer.static.ts +130 -0
  484. package/src/components/Footer/Footer.tsx +157 -55
  485. package/src/components/Footer/PlanObnovy.tsx +211 -0
  486. package/src/components/Footer/constants.ts +12 -1
  487. package/src/components/Footer/data.ts +40 -0
  488. package/src/components/Footer/static.ts +59 -0
  489. package/src/components/Footer/styles/mixins.scss +133 -18
  490. package/src/components/Footer/styles/style.scss +67 -2
  491. package/src/components/Footer/tests/{Footer.conformance.test.js → Footer.conformance.test.jsx} +5 -9
  492. package/src/components/Footer/tests/{Footer.unit.test.js → Footer.unit.test.jsx} +7 -7
  493. package/src/components/Forms/Autocomplete/Autocomplete.static.ts +215 -2
  494. package/src/components/Forms/Autocomplete/Autocomplete.tsx +8 -3
  495. package/src/components/Forms/Autocomplete/styles/config.scss +3 -3
  496. package/src/components/Forms/Autocomplete/styles/style.scss +95 -0
  497. package/src/components/Forms/Autocomplete/tests/Autocomplete.static.test.ts +187 -0
  498. package/src/components/Forms/Checkbox/Checkbox.tsx +1 -1
  499. package/src/components/Forms/Checkbox/styles/config.scss +6 -3
  500. package/src/components/Forms/Checkbox/styles/mixins.scss +2 -2
  501. package/src/components/Forms/Checkbox/styles/style.scss +13 -6
  502. package/src/components/Forms/DatePicker/DatePicker.tsx +1 -2
  503. package/src/components/Forms/DatePicker/styles/style.scss +2 -3
  504. package/src/components/Forms/Field/Control.tsx +52 -49
  505. package/src/components/Forms/Field/Description.tsx +1 -1
  506. package/src/components/Forms/Field/Field.tsx +4 -4
  507. package/src/components/Forms/Field/Label.tsx +1 -1
  508. package/src/components/Forms/Field/Messages.tsx +2 -2
  509. package/src/components/Forms/Field/styles/config.scss +8 -8
  510. package/src/components/Forms/Field/styles/mixins.scss +13 -10
  511. package/src/components/Forms/Field/styles/style.scss +4 -0
  512. package/src/components/Forms/Field/tests/{Autocomplete.Field.conformance.test.js → Autocomplete.Field.conformance.test.jsx} +2 -2
  513. package/src/components/Forms/Field/tests/{Checkbox.Field.conformance.test.js → Checkbox.Field.conformance.test.jsx} +2 -1
  514. package/src/components/Forms/Field/tests/{File.Field.conformance.test.js → File.Field.conformance.test.jsx} +3 -2
  515. package/src/components/Forms/Field/tests/Group.Field.conformance.test.jsx +72 -0
  516. package/src/components/Forms/Field/tests/{Radio.Field.conformance.test.js → Radio.Field.conformance.test.jsx} +2 -1
  517. package/src/components/Forms/Field/tests/{Rangeslider.Field.test.js → Rangeslider.Field.test.jsx} +2 -1
  518. package/src/components/Forms/Field/tests/{Select.Field.conformance.test.js → Select.Field.conformance.test.jsx} +2 -1
  519. package/src/components/Forms/Field/tests/{Text.Field.conformance.test.js → Text.Field.conformance.test.jsx} +2 -1
  520. package/src/components/Forms/Field/tests/{Textarea.Field.conformance.test.js → Textarea.Field.conformance.test.jsx} +2 -1
  521. package/src/components/Forms/Field/tests/{Tooltip.unit.test.js → Tooltip.unit.test.jsx} +1 -2
  522. package/src/components/Forms/Fieldset/Fieldset.tsx +1 -1
  523. package/src/components/Forms/Fieldset/styles/mixins.scss +3 -3
  524. package/src/components/Forms/File/File.tsx +5 -3
  525. package/src/components/Forms/File/styles/config.scss +5 -5
  526. package/src/components/Forms/File/styles/mixins.scss +1 -1
  527. package/src/components/Forms/Group/Group.tsx +23 -12
  528. package/src/components/Forms/Group/Item.tsx +1 -1
  529. package/src/components/Forms/Group/styles/config.scss +1 -1
  530. package/src/components/Forms/Group/styles/mixins.scss +31 -0
  531. package/src/components/Forms/Group/tests/{Group.unit.test.js → Group.unit.test.jsx} +9 -0
  532. package/src/components/Forms/Hint/Hint.tsx +1 -1
  533. package/src/components/Forms/Hint/styles/config.scss +1 -1
  534. package/src/components/Forms/Hint/styles/mixins.scss +2 -2
  535. package/src/components/Forms/InputStepper/InputStepper.tsx +6 -5
  536. package/src/components/Forms/InputStepper/styles/style.scss +56 -110
  537. package/src/components/Forms/InputStepper/tests/{InputStepper.unit.test.js → InputStepper.unit.test.jsx} +8 -0
  538. package/src/components/Forms/Label/Label.tsx +1 -1
  539. package/src/components/Forms/Label/styles/config.scss +3 -0
  540. package/src/components/Forms/Label/styles/mixins.scss +2 -2
  541. package/src/components/Forms/Message/Message.tsx +9 -5
  542. package/src/components/Forms/Message/styles/config.scss +2 -1
  543. package/src/components/Forms/Radio/Radio.tsx +1 -1
  544. package/src/components/Forms/Radio/styles/config.scss +6 -3
  545. package/src/components/Forms/Radio/styles/mixins.scss +2 -2
  546. package/src/components/Forms/RangeSlider/RangeSlider.tsx +4 -1
  547. package/src/components/Forms/RangeSlider/styles/mixins.scss +1 -1
  548. package/src/components/Forms/Select/Select.tsx +1 -1
  549. package/src/components/Forms/Select/styles/mixins.scss +6 -6
  550. package/src/components/Forms/TextArea/TextArea.tsx +1 -1
  551. package/src/components/Forms/TextArea/styles/config.scss +1 -0
  552. package/src/components/Forms/TextArea/styles/mixins.scss +17 -10
  553. package/src/components/Forms/TextInput/TextInput.tsx +27 -2
  554. package/src/components/Forms/TextInput/styles/config.scss +4 -2
  555. package/src/components/Forms/TextInput/styles/mixins.scss +17 -11
  556. package/src/components/Forms/TextInput/styles/style.scss +67 -0
  557. package/src/components/Forms/index.ts +1 -1
  558. package/src/components/Forms/styles/config.scss +13 -10
  559. package/src/components/Gauge/Gauge.tsx +1 -1
  560. package/src/components/Gauge/GaugeMaker.tsx +5 -5
  561. package/src/components/Gauge/styles/style.scss +1 -1
  562. package/src/components/Gauge/tests/{Gauge.unit.test.js → Gauge.unit.test.jsx} +0 -1
  563. package/src/components/Grid/Grid.tsx +13 -4
  564. package/src/components/Grid/GridCol.tsx +21 -10
  565. package/src/components/Grid/styles/config.scss +7 -3
  566. package/src/components/Grid/styles/mixins.scss +63 -19
  567. package/src/components/Grid/styles/style.scss +15 -5
  568. package/src/components/Grid/tests/{Grid.unit.test.js → Grid.unit.test.jsx} +46 -6
  569. package/src/components/Grid/tests/{GridCol.unit.test.js → GridCol.unit.test.jsx} +1 -2
  570. package/src/components/Hero/Hero.tsx +3 -17
  571. package/src/components/Hero/styles/config.scss +0 -1
  572. package/src/components/Hero/styles/style.scss +0 -14
  573. package/src/components/Hero/tests/{Hero.conformance.test.js → Hero.conformance.test.jsx} +1 -2
  574. package/src/components/Hero/tests/Hero.unit.test.jsx +261 -0
  575. package/src/components/Hero/tests/data.js +26 -26
  576. package/src/components/Icon/Icon.tsx +1 -1
  577. package/src/components/Icon/IconSearch.jsx +15 -46
  578. package/src/components/Icon/PictogramSearch.jsx +123 -0
  579. package/src/components/Icon/PictogramSearchWrapper.tsx +31 -0
  580. package/src/components/Icon/SpritePathContext.tsx +1 -1
  581. package/src/components/Icon/iconSearchTags.ts +181 -173
  582. package/src/components/Icon/iconUtils.js +63 -0
  583. package/src/components/Icon/index.ts +1 -1
  584. package/src/components/Icon/styles/export/size.scss +2 -2
  585. package/src/components/Icon/styles/mixins.scss +3 -3
  586. package/src/components/Icon/styles/style.scss +32 -1
  587. package/src/components/Icon/tests/{Icon.conformance.test.js → Icon.conformance.test.jsx} +1 -2
  588. package/src/components/Icon/tests/{Icon.unit.test.js → Icon.unit.test.jsx} +2 -4
  589. package/src/components/Icon/tests/{Pictogram.unit.test.js → Pictogram.unit.test.jsx} +2 -21
  590. package/src/components/IconList/IconList.tsx +1 -1
  591. package/src/components/IconList/Item.tsx +15 -11
  592. package/src/components/IconList/styles/config.scss +2 -2
  593. package/src/components/IconList/styles/mixins.scss +5 -5
  594. package/src/components/IconList/styles/style.scss +1 -1
  595. package/src/components/IconList/tests/{IconList.conformance.test.js → IconList.conformance.test.jsx} +2 -3
  596. package/src/components/IconList/tests/IconList.unit.test.jsx +82 -0
  597. package/src/components/IconList/tests/{Item.unit.test.js → Item.unit.test.jsx} +1 -1
  598. package/src/components/Image/Image.tsx +1 -1
  599. package/src/components/Image/styles/mixins.scss +2 -2
  600. package/src/components/Image/tests/{Image.conformance.test.js → Image.conformance.test.jsx} +1 -1
  601. package/src/components/Image/tests/{Image.unit.test.js → Image.unit.test.jsx} +12 -4
  602. package/src/components/Link/Link.tsx +5 -6
  603. package/src/components/Link/styles/mixins.scss +8 -4
  604. package/src/components/Link/tests/{Link.conformance.test.js → Link.conformance.test.jsx} +3 -9
  605. package/src/components/Link/tests/{Link.unit.test.js → Link.unit.test.jsx} +6 -26
  606. package/src/components/List/ClickableControl.tsx +12 -12
  607. package/src/components/List/List.tsx +13 -13
  608. package/src/components/List/ListItem.tsx +11 -11
  609. package/src/components/List/styles/config.scss +12 -12
  610. package/src/components/List/styles/mixins.scss +16 -9
  611. package/src/components/List/tests/{ClickableControl.unit.test.js → ClickableControl.unit.test.jsx} +0 -1
  612. package/src/components/List/tests/{List.conformance.test.js → List.conformance.test.jsx} +16 -17
  613. package/src/components/List/tests/ListItem.unit.test.jsx +103 -0
  614. package/src/components/Loader/Loader.tsx +3 -11
  615. package/src/components/Loader/LoaderFullscreen.tsx +32 -0
  616. package/src/components/Loader/index.ts +1 -0
  617. package/src/components/Loader/styles/config.scss +5 -5
  618. package/src/components/Loader/styles/mixins.scss +25 -1
  619. package/src/components/Loader/styles/style.scss +13 -4
  620. package/src/components/Loader/tests/{Loader.conformance.test.js → Loader.conformance.test.jsx} +1 -1
  621. package/src/components/Loader/tests/LoaderFullscreen.conformance.test.jsx +21 -0
  622. package/src/components/Loader/tests/LoaderFullscreen.unit.test.jsx +41 -0
  623. package/src/components/Loader/tests/test.scss +1 -1
  624. package/src/components/Megamenu/BrandMark.tsx +15 -0
  625. package/src/components/Megamenu/Logo.tsx +13 -0
  626. package/src/components/Megamenu/LogoJeTu.tsx +60 -0
  627. package/src/components/Megamenu/MegaMenuIcon.tsx +1 -1
  628. package/src/components/Megamenu/Megamenu.static.ts +294 -98
  629. package/src/components/Megamenu/Megamenu.tsx +408 -594
  630. package/src/components/Megamenu/MegamenuBlog.tsx +211 -95
  631. package/src/components/Megamenu/MegamenuSearchContent.tsx +82 -0
  632. package/src/components/Megamenu/MyOrangeMobilePanel.tsx +126 -0
  633. package/src/components/Megamenu/constants.ts +21 -0
  634. package/src/components/Megamenu/data.ts +231 -0
  635. package/src/components/Megamenu/ids.ts +35 -0
  636. package/src/components/Megamenu/index.ts +1 -1
  637. package/src/components/Megamenu/static.ts +7 -13
  638. package/src/components/Megamenu/styles/mixins.scss +430 -65
  639. package/src/components/Megamenu/styles/style.scss +74 -0
  640. package/src/components/Megamenu/tests/Megamenu.unit.test.jsx +41 -0
  641. package/src/components/Modal/Modal.static.ts +77 -56
  642. package/src/components/Modal/Modal.tsx +38 -29
  643. package/src/components/Modal/ModalBody.tsx +27 -15
  644. package/src/components/Modal/ModalCloseButton.tsx +1 -1
  645. package/src/components/Modal/ModalProductFooter.tsx +1 -1
  646. package/src/components/Modal/ModalProductHeader.tsx +7 -3
  647. package/src/components/Modal/index.ts +2 -3
  648. package/src/components/Modal/styles/config.scss +4 -4
  649. package/src/components/Modal/styles/mixins.scss +22 -57
  650. package/src/components/Modal/styles/style.scss +1 -16
  651. package/src/components/Modal/tests/{Modal.conformance.test.js → Modal.conformance.test.jsx} +3 -4
  652. package/src/components/Modal/tests/{Modal.unit.test.js → Modal.unit.test.jsx} +0 -60
  653. package/src/components/Modal/tests/{ModalBody.unit.test.js → ModalBody.unit.test.jsx} +21 -12
  654. package/src/components/Modal/tests/{ModalProductHeader.unit.test.js → ModalProductHeader.unit.test.jsx} +12 -1
  655. package/src/components/Modal/tests/{ModalTitle.unit.test.js → ModalTitle.unit.test.jsx} +0 -1
  656. package/src/components/Pagination/Pagination.tsx +3 -14
  657. package/src/components/Pagination/PaginationItem.tsx +1 -1
  658. package/src/components/Pagination/Separator.tsx +1 -1
  659. package/src/components/Pagination/helpers.ts +6 -1
  660. package/src/components/Pagination/styles/mixins.scss +9 -7
  661. package/src/components/Pagination/styles/style.scss +0 -4
  662. package/src/components/Pagination/tests/Item.unit.test.jsx +95 -0
  663. package/src/components/Pagination/tests/{Pagination.conformance.test.js → Pagination.conformance.test.jsx} +7 -8
  664. package/src/components/Pagination/tests/Pagination.unit.test.jsx +107 -0
  665. package/src/components/Pagination/tests/Separator.unit.test.jsx +24 -0
  666. package/src/components/Pill/Pill.tsx +14 -7
  667. package/src/components/Pill/styles/config.scss +2 -21
  668. package/src/components/Pill/styles/style.scss +18 -6
  669. package/src/components/Pill/tests/{Pill.conformance.test.js → Pill.conformance.test.jsx} +9 -7
  670. package/src/components/Pill/tests/Pill.unit.test.jsx +148 -0
  671. package/src/components/Preview/CodeExample.tsx +72 -34
  672. package/src/components/Preview/Preview.tsx +28 -14
  673. package/src/components/Preview/PreviewGenerator.tsx +351 -47
  674. package/src/components/Preview/PreviewTitleBar.tsx +1 -1
  675. package/src/components/Preview/getElementDisplayName.ts +25 -0
  676. package/src/components/Preview/index.tsx +1 -1
  677. package/src/components/Preview/styles/style.scss +51 -1
  678. package/src/components/Progress/Progress.tsx +2 -14
  679. package/src/components/Progress/index.ts +1 -1
  680. package/src/components/Progress/styles/config.scss +4 -4
  681. package/src/components/Progress/styles/mixins.scss +9 -7
  682. package/src/components/Progress/tests/{Progress.conformance.test.js → Progress.conformance.test.jsx} +6 -7
  683. package/src/components/Progress/tests/Progress.unit.test.jsx +111 -0
  684. package/src/components/PromoBanner/PromoBanner.tsx +72 -20
  685. package/src/components/PromoBanner/styles/mixins.scss +59 -12
  686. package/src/components/PromoBanner/styles/style.scss +49 -2
  687. package/src/components/PromoBanner/tests/PromoBanner.conformance.test.jsx +784 -0
  688. package/src/components/PromoBanner/tests/PromoBanner.unit.test.jsx +596 -0
  689. package/src/components/PromotionCard/PromotionCard.tsx +12 -13
  690. package/src/components/PromotionCard/PromotionCardContent.tsx +8 -8
  691. package/src/components/PromotionCard/PromotionCardImageWrapper.tsx +7 -9
  692. package/src/components/PromotionCard/PromotionCardSection.tsx +1 -1
  693. package/src/components/PromotionCard/PromotionCardTitle.tsx +11 -11
  694. package/src/components/PromotionCard/constants.ts +2 -2
  695. package/src/components/PromotionCard/styles/config.scss +2 -4
  696. package/src/components/PromotionCard/styles/mixins.scss +4 -2
  697. package/src/components/PromotionCard/tests/PromotionCard.conformance.test.jsx +565 -0
  698. package/src/components/PromotionCard/tests/PromotionCard.unit.test.jsx +437 -0
  699. package/src/components/Section/Section.tsx +21 -11
  700. package/src/components/Section/styles/mixins.scss +38 -13
  701. package/src/components/Section/styles/style.scss +1 -0
  702. package/src/components/Section/tests/{Section.conformance.test.js → Section.conformance.test.jsx} +27 -17
  703. package/src/components/Section/tests/{Section.unit.test.js → Section.unit.test.jsx} +54 -34
  704. package/src/components/Skeleton/Skeleton.tsx +1 -1
  705. package/src/components/Skeleton/styles/mixins.scss +3 -3
  706. package/src/components/Skeleton/tests/{Skeleton.conformance.test.js → Skeleton.conformance.test.jsx} +1 -1
  707. package/src/components/SkipLink/SkipLink.tsx +1 -1
  708. package/src/components/SkipLink/tests/{SkipLink.unit.test.js → SkipLink.unit.test.jsx} +1 -5
  709. package/src/components/SocialButton/SocialButton.tsx +67 -0
  710. package/src/components/SocialButton/index.ts +1 -0
  711. package/src/components/SocialButton/styles/config.scss +172 -0
  712. package/src/components/SocialButton/styles/mixins.scss +42 -0
  713. package/src/components/SocialButton/styles/style.scss +16 -0
  714. package/src/components/SocialButton/tests/SocialButton.unit.test.jsx +162 -0
  715. package/src/components/Stepbar/Stepbar.tsx +1 -6
  716. package/src/components/Stepbar/styles/config.scss +34 -17
  717. package/src/components/Stepbar/styles/mixins.scss +6 -4
  718. package/src/components/Stepbar/styles/style.scss +4 -2
  719. package/src/components/Stepbar/tests/{Stepbar.conformance.test.js → Stepbar.conformance.test.jsx} +1 -1
  720. package/src/components/Sticker/Sticker.tsx +14 -8
  721. package/src/components/Sticker/index.ts +1 -0
  722. package/src/components/Sticker/styles/mixins.scss +2 -2
  723. package/src/components/Sticker/tests/Sticker.conformance.test.jsx +16 -0
  724. package/src/components/Sticker/tests/Sticker.unit.test.jsx +39 -0
  725. package/src/components/Table/Header.tsx +1 -2
  726. package/src/components/Table/Row.tsx +10 -5
  727. package/src/components/Table/Rows.tsx +1 -2
  728. package/src/components/Table/Table.tsx +15 -11
  729. package/src/components/Table/TableContext.ts +1 -0
  730. package/src/components/Table/docsData.ts +25 -1
  731. package/src/components/Table/index.ts +1 -1
  732. package/src/components/Table/styles/mixins.scss +51 -11
  733. package/src/components/Table/styles/style.scss +6 -4
  734. package/src/components/Table/tests/{Footer.unit.test.js → Footer.unit.test.jsx} +1 -2
  735. package/src/components/Table/tests/{Header.unit.test.js → Header.unit.test.jsx} +1 -2
  736. package/src/components/Table/tests/{Row.unit.test.js → Row.unit.test.jsx} +1 -2
  737. package/src/components/Table/tests/{Rows.unit.test.js → Rows.unit.test.jsx} +1 -2
  738. package/src/components/Table/tests/{Table.conformance.test.js → Table.conformance.test.jsx} +11 -7
  739. package/src/components/Table/tests/{Table.unit.test.js → Table.unit.test.jsx} +1 -32
  740. package/src/components/Table/types.ts +1 -0
  741. package/src/components/Tabs/Tabs.static.ts +157 -30
  742. package/src/components/Tabs/Tabs.tsx +64 -74
  743. package/src/components/Tabs/index.ts +2 -2
  744. package/src/components/Tabs/styles/config.scss +18 -25
  745. package/src/components/Tabs/styles/mixins.scss +94 -29
  746. package/src/components/Tabs/styles/style.scss +4 -15
  747. package/src/components/Tabs/tests/{Tabs.unit.test.js → Tabs.unit.test.jsx} +112 -10
  748. package/src/components/Tag/Tag.tsx +1 -5
  749. package/src/components/Tag/TagButton.tsx +1 -1
  750. package/src/components/Tag/index.ts +1 -1
  751. package/src/components/Tag/styles/config.scss +31 -31
  752. package/src/components/Tag/styles/mixins.scss +3 -2
  753. package/src/components/Tag/styles/style.scss +55 -0
  754. package/src/components/Tag/tests/{Tag.conformance.test.js → Tag.conformance.test.jsx} +2 -3
  755. package/src/components/Tag/tests/{Tag.unit.test.js → Tag.unit.test.jsx} +5 -7
  756. package/src/components/Tag/tests/{TagButton.conformance.test.js → TagButton.conformance.test.jsx} +1 -1
  757. package/src/components/Tag/tests/{TagButton.unit.test.js → TagButton.unit.test.jsx} +4 -3
  758. package/src/components/Testimonial/Testimonial.tsx +15 -15
  759. package/src/components/Testimonial/styles/config.scss +25 -22
  760. package/src/components/Testimonial/styles/mixins.scss +36 -32
  761. package/src/components/Testimonial/tests/Testimonial.conformance.test.jsx +16 -0
  762. package/src/components/Testimonial/tests/Testimonial.unit.test.jsx +43 -0
  763. package/src/components/Tile/Tile.tsx +19 -36
  764. package/src/components/Tile/styles/mixins.scss +57 -44
  765. package/src/components/Tile/styles/style.scss +5 -33
  766. package/src/components/Tile/tests/{Tile.conformance.test.js → Tile.conformance.test.jsx} +1 -1
  767. package/src/components/Tile/tests/Tile.unit.test.jsx +64 -0
  768. package/src/components/Tooltip/InfoTooltip.tsx +2 -6
  769. package/src/components/Tooltip/Tooltip.static.ts +100 -66
  770. package/src/components/Tooltip/Tooltip.tsx +3 -13
  771. package/src/components/Tooltip/index.ts +1 -1
  772. package/src/components/Tooltip/styles/mixins.scss +14 -13
  773. package/src/components/Tooltip/tests/{Tooltip.conformance.test.js → Tooltip.conformance.test.jsx} +6 -2
  774. package/src/components/Tooltip/tests/{Tooltip.unit.test.js → Tooltip.unit.test.jsx} +41 -57
  775. package/src/components/index.ts +48 -37
  776. package/src/styles/base/globals-forms.scss +8 -0
  777. package/src/styles/base/globals.scss +67 -30
  778. package/src/styles/base/styleguide.scss +23 -18
  779. package/src/styles/export/base.js +2 -2
  780. package/src/styles/export/breakpoint.scss +1 -1
  781. package/src/styles/export/breakpoint.ts +7 -7
  782. package/src/styles/export/color.js +102 -20
  783. package/src/styles/export/color.scss +10 -20
  784. package/src/styles/export/space.scss +1 -1
  785. package/src/styles/shame.scss +16 -3
  786. package/src/styles/tokens/base.scss +1 -1
  787. package/src/styles/tokens/breakpoint.scss +64 -49
  788. package/src/styles/tokens/color-vars.scss +37 -0
  789. package/src/styles/tokens/color.scss +14 -14
  790. package/src/styles/tokens/space.scss +9 -9
  791. package/src/styles/tokens/tag-colors.scss +20 -0
  792. package/src/styles/tools/convert.scss +8 -0
  793. package/src/styles/tools/generate.scss +6 -6
  794. package/src/styles/tools/layout.scss +3 -3
  795. package/src/styles/tools/map.scss +2 -2
  796. package/src/styles/tools/text.scss +1 -1
  797. package/src/styles/typography/config.scss +102 -30
  798. package/src/styles/typography/mixins.scss +29 -17
  799. package/src/styles/typography/style.scss +19 -3
  800. package/src/styles/utilities/border.scss +1 -1
  801. package/src/styles/utilities/color.scss +0 -153
  802. package/src/styles/utilities/horizontal-scroll.scss +34 -12
  803. package/src/styles/utilities/index.scss +7 -6
  804. package/src/styles/utilities/layout.scss +18 -0
  805. package/src/styles/utilities/ordering.scss +44 -0
  806. package/src/styles/utilities/text.scss +43 -2
  807. package/src/styles/utilities/visibility.scss +2 -4
  808. package/build/components/index.css +0 -2
  809. package/build/components/index.css.map +0 -1
  810. package/build/components/types/src/components/Hero/HeroPlayground.d.ts +0 -2
  811. package/build/components/types/src/components/Modal/ModalProductBody.d.ts +0 -10
  812. package/build/lib/after-components.css +0 -2
  813. package/build/lib/after-components.css.map +0 -1
  814. package/build/lib/before-components.css +0 -3
  815. package/build/lib/before-components.css.map +0 -1
  816. package/build/lib/scripts.css +0 -2
  817. package/build/lib/scripts.css.map +0 -1
  818. package/src/components/Accordion/Accordion.mdx +0 -240
  819. package/src/components/Alert/Alert.mdx +0 -141
  820. package/src/components/AnchorNavigation/tests/AnchorNavigation.unit.test.js +0 -163
  821. package/src/components/Bar/Bar.mdx +0 -203
  822. package/src/components/BlockAction/BlockAction.mdx +0 -244
  823. package/src/components/BodyBanner/BodyBanner.mdx +0 -268
  824. package/src/components/Breadcrumbs/Breadcrumbs.mdx +0 -84
  825. package/src/components/Button/Button.mdx +0 -273
  826. package/src/components/Buttons/Buttons.mdx +0 -39
  827. package/src/components/Card/Card.mdx +0 -334
  828. package/src/components/Card/tests/Card.unit.test.js +0 -42
  829. package/src/components/Carousel/Carousel.mdx +0 -159
  830. package/src/components/CarouselPromotions/CarouselPromotions.mdx +0 -246
  831. package/src/components/CartTable/CartTable.mdx +0 -129
  832. package/src/components/Container/Container.mdx +0 -73
  833. package/src/components/Controls/Controls.mdx +0 -469
  834. package/src/components/Cover/Cover.mdx +0 -87
  835. package/src/components/Cover/tests/Cover.conformance.test.js +0 -28
  836. package/src/components/Cover/tests/Cover.unit.test.js +0 -116
  837. package/src/components/Divider/Divider.mdx +0 -65
  838. package/src/components/Dropdown/Dropdown.mdx +0 -260
  839. package/src/components/Expander/Expander.mdx +0 -153
  840. package/src/components/Expander/tests/Expander.unit.test.js +0 -124
  841. package/src/components/FeatureAccordion/FeatureAccordion.mdx +0 -33
  842. package/src/components/Forms/Autocomplete/Autocomplete.mdx +0 -198
  843. package/src/components/Forms/Checkbox/Checkbox.mdx +0 -139
  844. package/src/components/Forms/DatePicker/DatePicker.mdx +0 -149
  845. package/src/components/Forms/Field/Field.mdx +0 -383
  846. package/src/components/Forms/Field/tests/Group.Field.conformance.test.js +0 -47
  847. package/src/components/Forms/Fieldset/Fieldset.mdx +0 -178
  848. package/src/components/Forms/File/File.mdx +0 -88
  849. package/src/components/Forms/FormTooltip.mdx +0 -51
  850. package/src/components/Forms/Forms.mdx +0 -48
  851. package/src/components/Forms/Group/Group.mdx +0 -146
  852. package/src/components/Forms/Hint/Hint.mdx +0 -40
  853. package/src/components/Forms/InputStepper/InputStepper.mdx +0 -147
  854. package/src/components/Forms/Label/Label.mdx +0 -95
  855. package/src/components/Forms/Message/Message.mdx +0 -40
  856. package/src/components/Forms/Radio/Radio.mdx +0 -98
  857. package/src/components/Forms/RangeSlider/RangeSlider.mdx +0 -304
  858. package/src/components/Forms/Select/Select.mdx +0 -106
  859. package/src/components/Forms/TextArea/TextArea.mdx +0 -109
  860. package/src/components/Forms/TextInput/TextInput.mdx +0 -153
  861. package/src/components/Gauge/Gauge.mdx +0 -35
  862. package/src/components/Grid/Grid.mdx +0 -320
  863. package/src/components/Hero/Hero.mdx +0 -168
  864. package/src/components/Hero/HeroPlayground.tsx +0 -369
  865. package/src/components/Hero/tests/Hero.unit.test.js +0 -272
  866. package/src/components/Icon/Icon.mdx +0 -172
  867. package/src/components/IconList/IconList.mdx +0 -53
  868. package/src/components/IconList/tests/IconList.unit.test.js +0 -79
  869. package/src/components/Image/Image.mdx +0 -175
  870. package/src/components/Link/Link.mdx +0 -238
  871. package/src/components/List/List.mdx +0 -216
  872. package/src/components/List/tests/ListItem.unit.test.js +0 -104
  873. package/src/components/Loader/Loader.mdx +0 -148
  874. package/src/components/Modal/Modal.mdx +0 -565
  875. package/src/components/Modal/ModalProductBody.tsx +0 -52
  876. package/src/components/Pagination/Pagination.mdx +0 -45
  877. package/src/components/Pagination/tests/Item.unit.test.js +0 -96
  878. package/src/components/Pagination/tests/Pagination.unit.test.js +0 -108
  879. package/src/components/Pagination/tests/Separator.unit.test.js +0 -25
  880. package/src/components/Pagination/tests/utils.js +0 -12
  881. package/src/components/Pill/Pill.mdx +0 -41
  882. package/src/components/Pill/tests/Pill.unit.test.js +0 -108
  883. package/src/components/Progress/Progress.mdx +0 -119
  884. package/src/components/Progress/tests/Progress.unit.test.js +0 -108
  885. package/src/components/PromotionCard/PromotionCard.mdx +0 -191
  886. package/src/components/Section/Section.mdx +0 -397
  887. package/src/components/Skeleton/Skeleton.mdx +0 -90
  888. package/src/components/SkipLink/SkipLink.mdx +0 -23
  889. package/src/components/Stepbar/Stepbar.mdx +0 -137
  890. package/src/components/Sticker/Sticker.mdx +0 -50
  891. package/src/components/Sticker/tests/Sticker.conformance.test.js +0 -17
  892. package/src/components/Sticker/tests/Sticker.unit.test.js +0 -42
  893. package/src/components/Table/Table.mdx +0 -199
  894. package/src/components/Tabs/Tabs.mdx +0 -373
  895. package/src/components/Tag/Tag.mdx +0 -52
  896. package/src/components/Testimonial/Testimonial.mdx +0 -41
  897. package/src/components/Testimonial/tests/Testimonial.conformance.test.js +0 -17
  898. package/src/components/Testimonial/tests/Testimonial.unit.test.js +0 -44
  899. package/src/components/Tile/CHANGELOG.md +0 -14
  900. package/src/components/Tile/Tile.mdx +0 -163
  901. package/src/components/Tile/styles/config.scss +0 -18
  902. package/src/components/Tile/tests/Tile.unit.test.js +0 -126
  903. package/src/components/Tooltip/Tooltip.mdx +0 -227
  904. package/src/styles/after-components.scss +0 -2
  905. package/src/styles/before-components.scss +0 -18
  906. /package/build/lib/{after-components.js → base.js} +0 -0
  907. /package/build/lib/{before-components.js → utilities.js} +0 -0
  908. /package/src/components/Bar/tests/{Bar.unit.test.js → Bar.unit.test.jsx} +0 -0
  909. /package/src/components/Bar/tests/{BarBreak.unit.test.js → BarBreak.unit.test.jsx} +0 -0
  910. /package/src/components/Bar/tests/{BarItem.unit.test.js → BarItem.unit.test.jsx} +0 -0
  911. /package/src/components/BlockAction/tests/{BlockAction.unit.test.js → BlockAction.unit.test.jsx} +0 -0
  912. /package/src/components/BlockAction/tests/{BlockActionIndicator.unit.test.js → BlockActionIndicator.unit.test.jsx} +0 -0
  913. /package/src/components/BlockAction/tests/{CloneElementWithClassName.unit.test.js → CloneElementWithClassName.unit.test.jsx} +0 -0
  914. /package/src/components/Buttons/tests/{Buttons.unit.test.js → Buttons.unit.test.jsx} +0 -0
  915. /package/src/components/Carousel/tests/{CarouselItem.unit.test.js → CarouselItem.unit.test.jsx} +0 -0
  916. /package/src/components/CarouselPromotions/tests/{CarouselPromotionsItem.unit.test.js → CarouselPromotionsItem.unit.test.jsx} +0 -0
  917. /package/src/components/Forms/Checkbox/tests/{Checkbox.unit.test.js → Checkbox.unit.test.jsx} +0 -0
  918. /package/src/components/Forms/DatePicker/tests/{DatePicker.unit.test.js → DatePicker.unit.test.jsx} +0 -0
  919. /package/src/components/Forms/Field/tests/{Field.unit.test.js → Field.unit.test.jsx} +0 -0
  920. /package/src/components/Forms/Field/tests/{Label.unit.test.js → Label.unit.test.jsx} +0 -0
  921. /package/src/components/Forms/Field/tests/{Messages.unit.test.js → Messages.unit.test.jsx} +0 -0
  922. /package/src/components/Forms/Fieldset/tests/{Fieldset.unit.test.js → Fieldset.unit.test.jsx} +0 -0
  923. /package/src/components/Forms/Group/tests/{Item.unit.test.js → Item.unit.test.jsx} +0 -0
  924. /package/src/components/Forms/Hint/tests/{Hint.unit.test.js → Hint.unit.test.jsx} +0 -0
  925. /package/src/components/Forms/Label/tests/{Label.unit.test.js → Label.unit.test.jsx} +0 -0
  926. /package/src/components/Forms/Message/tests/{Message.unit.test.js → Message.unit.test.jsx} +0 -0
  927. /package/src/components/Forms/Radio/tests/{Radio.unit.test.js → Radio.unit.test.jsx} +0 -0
  928. /package/src/components/Forms/Select/tests/{Select.unit.test.js → Select.unit.test.jsx} +0 -0
  929. /package/src/components/Forms/TextArea/tests/{TextArea.unit.test.js → TextArea.unit.test.jsx} +0 -0
  930. /package/src/components/Forms/TextInput/tests/{TextInput.unit.test.js → TextInput.unit.test.jsx} +0 -0
  931. /package/src/components/Gauge/tests/{Gauge.conformance.test.js → Gauge.conformance.test.jsx} +0 -0
  932. /package/src/components/List/tests/{List.unit.test.js → List.unit.test.jsx} +0 -0
  933. /package/src/components/Loader/tests/{Loader.unit.test.js → Loader.unit.test.jsx} +0 -0
  934. /package/src/components/Modal/tests/{ModalCloseButton.unit.test.js → ModalCloseButton.unit.test.jsx} +0 -0
  935. /package/src/components/Skeleton/tests/{Skeleton.unit.test.js → Skeleton.unit.test.jsx} +0 -0
  936. /package/src/components/Stepbar/tests/{Stepbar.unit.test.js → Stepbar.unit.test.jsx} +0 -0
  937. /package/src/components/Table/tests/{Cell.unit.test.js → Cell.unit.test.jsx} +0 -0
  938. /package/src/components/Tabs/tests/{Tab.unit.test.js → Tab.unit.test.jsx} +0 -0
  939. /package/src/components/Tabs/tests/{TabPanel.unit.test.js → TabPanel.unit.test.jsx} +0 -0
  940. /package/src/components/Tooltip/tests/{InfoTooltip.unit.test.js → InfoTooltip.unit.test.jsx} +0 -0
@@ -1,12 +1,13 @@
1
1
  import React$1, { ReactNode, ReactElement, HTMLAttributes, AnchorHTMLAttributes, FC } from 'react';
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
3
 
3
4
  interface AccordionProps$1 {
4
5
  /** Heading level from 1 to 6 */
5
6
  headingLevel?: number;
6
7
  /** Accordion is enclosed in another component */
7
8
  isEnclosed?: boolean;
8
- /** If true, the last item will not have a bottom border */
9
- lastItemNoBottomBorder?: boolean;
9
+ /** If true, the top border on the first item will be removed */
10
+ noTopBorder?: boolean;
10
11
  /** Adjustable spacing */
11
12
  size?: "large";
12
13
  /** Additional CSS classes */
@@ -71,8 +72,6 @@ interface AlertProps extends React$1.HTMLAttributes<HTMLDivElement> {
71
72
  /** Type of alert, sets icon and color */
72
73
  type?: AlertType;
73
74
  className?: string;
74
- /** Sets Alert to use specific color scheme */
75
- colorScheme?: "dark" | "light";
76
75
  }
77
76
  declare const Alert: React$1.FC<AlertProps>;
78
77
 
@@ -84,53 +83,13 @@ interface AnchorNavigationItem {
84
83
  interface AnchorNavigationProps {
85
84
  items: AnchorNavigationItem[];
86
85
  className?: string;
87
- colorScheme?: "light" | "dark";
88
86
  children?: React$1.ReactNode;
89
87
  }
90
88
  declare const AnchorNavigation: {
91
- ({ items, className, colorScheme, children, ...other }: AnchorNavigationProps): React$1.JSX.Element;
89
+ ({ items, className, children, ...other }: AnchorNavigationProps): react_jsx_runtime.JSX.Element;
92
90
  displayName: string;
93
91
  };
94
92
 
95
- type TagButtonProps = {
96
- className?: string;
97
- onClick?: React$1.MouseEventHandler<HTMLButtonElement>;
98
- children?: React$1.ReactNode;
99
- isDisabled?: boolean;
100
- ariaLabel?: string;
101
- iconName: string;
102
- size?: string;
103
- };
104
- declare const TagButton: React$1.ForwardRefExoticComponent<TagButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
105
-
106
- declare const colors$1: readonly ["black", "orange", "yellow", "green", "blue", "success", "info", "warning", "danger", "transparent"];
107
- type TagColor = (typeof colors$1)[number];
108
- type TagSize = "small" | "large";
109
- interface CommonProps$2 {
110
- color?: TagColor;
111
- size?: TagSize;
112
- /** @deprecated */
113
- isInverse?: boolean;
114
- isDisabled?: boolean;
115
- className?: string;
116
- children?: React$1.ReactNode;
117
- actionButton?: React$1.ReactElement<TagButtonProps>;
118
- }
119
- type SpanProps = CommonProps$2 & Omit<React$1.HTMLAttributes<HTMLSpanElement>, keyof CommonProps$2> & {
120
- onClick?: undefined;
121
- href?: undefined;
122
- };
123
- type ButtonProps$1 = CommonProps$2 & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, keyof CommonProps$2> & {
124
- onClick: React$1.MouseEventHandler<HTMLButtonElement>;
125
- href?: undefined;
126
- };
127
- type AnchorProps$1 = CommonProps$2 & Omit<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, keyof CommonProps$2> & {
128
- href: string;
129
- onClick?: undefined;
130
- };
131
- type TagProps = SpanProps | ButtonProps$1 | AnchorProps$1;
132
- declare const Tag: React$1.ForwardRefExoticComponent<TagProps & React$1.RefAttributes<HTMLElement>>;
133
-
134
93
  type BarAlign = "start" | "end" | "center";
135
94
  type BarSpace = "small" | "large";
136
95
  interface BarProps extends React$1.HTMLAttributes<HTMLElement> {
@@ -151,34 +110,36 @@ interface BarProps extends React$1.HTMLAttributes<HTMLElement> {
151
110
  }
152
111
  declare const Bar: React$1.ForwardRefExoticComponent<BarProps & React$1.RefAttributes<HTMLElement>>;
153
112
 
154
- interface CommonProps$1 {
155
- /** Bar item could shrink and wrap content if there is not enough empty space */
156
- canShrink?: boolean;
157
- /** Bar item should fill empty space */
158
- isFilling?: boolean;
159
- /** Tag of the item */
113
+ interface BarBreakProps extends React$1.HTMLAttributes<HTMLElement> {
114
+ /** HTML tag to render the compontent with */
160
115
  tag?: React$1.ElementType;
161
- /** Additional class name */
116
+ /** Additional class names */
162
117
  className?: string;
163
118
  /** Child content */
164
119
  children?: React$1.ReactNode;
165
120
  }
166
- declare const BarItem: React$1.ForwardRefExoticComponent<CommonProps$1 & React$1.HTMLAttributes<HTMLElement> & React$1.RefAttributes<HTMLElement>>;
121
+ declare const BarBreak: React$1.ForwardRefExoticComponent<BarBreakProps & React$1.RefAttributes<HTMLElement>>;
167
122
 
168
- interface BarBreakProps extends React$1.HTMLAttributes<HTMLElement> {
169
- /** HTML tag to render the compontent with */
123
+ interface CommonProps$3 {
124
+ /** Bar item could shrink and wrap content if there is not enough empty space */
125
+ canShrink?: boolean;
126
+ /** Bar item should fill empty space */
127
+ isFilling?: boolean;
128
+ /** Tag of the item */
170
129
  tag?: React$1.ElementType;
171
- /** Additional class names */
130
+ /** Additional class name */
172
131
  className?: string;
173
132
  /** Child content */
174
133
  children?: React$1.ReactNode;
175
134
  }
176
- declare const BarBreak: React$1.ForwardRefExoticComponent<BarBreakProps & React$1.RefAttributes<HTMLElement>>;
135
+ declare const BarItem: React$1.ForwardRefExoticComponent<CommonProps$3 & React$1.HTMLAttributes<HTMLElement> & React$1.RefAttributes<HTMLElement>>;
177
136
 
178
137
  interface BlockActionProps {
179
138
  /** 1 and only one single element */
180
139
  children: ReactElement;
181
140
  className?: string;
141
+ /** Add border on hover */
142
+ hasBorderOnHover?: boolean;
182
143
  [key: string]: any;
183
144
  }
184
145
  declare const BlockAction: React$1.FC<BlockActionProps>;
@@ -208,24 +169,24 @@ interface BlockActionOverrideProps {
208
169
 
209
170
  declare const BlockActionOverride: React$1.FC<BlockActionOverrideProps>;
210
171
 
172
+ declare const bodyBannerColors: readonly ["background-primary", "background-accent", "surface-subtle"];
173
+ type BodyBannerColor = (typeof bodyBannerColors)[number];
211
174
  interface BodyBannerProps {
212
- size: "small" | "large";
213
- /** Color scheme for whole BodyBanner */
214
- colorScheme: "light" | "dark";
215
- /** Color scheme for whole BodyBanner */
216
- color?: "gray" | "orange";
175
+ size?: "large";
176
+ /** Background color using design tokens */
177
+ color?: BodyBannerColor;
217
178
  /** Additional CSS classes */
218
179
  className?: string;
219
- /** Image URL */
220
- imageUrl?: string;
221
- /** Title */
222
- title?: string;
223
- /** Subtitle */
224
- description?: string;
180
+ /** Image element */
181
+ image?: React$1.ReactNode;
182
+ /** Content area - typically heading and description */
183
+ children?: React$1.ReactNode;
225
184
  /** Button text */
226
185
  buttonText?: string;
186
+ /** Additional CSS classes for button */
187
+ buttonClassName?: string;
227
188
  }
228
- declare const BodyBanner: (props: BodyBannerProps) => React$1.JSX.Element;
189
+ declare const BodyBanner: ({ className, size, color, image, children, buttonText, buttonClassName, ...other }: BodyBannerProps) => react_jsx_runtime.JSX.Element;
229
190
 
230
191
  interface BreadcrumbItemData {
231
192
  /** Item text */
@@ -236,8 +197,6 @@ interface BreadcrumbItemData {
236
197
  interface BreadcrumbsProps {
237
198
  /** Additional CSS classes */
238
199
  className?: string;
239
- /** Use white breadcrumbs on dark background */
240
- colorScheme?: "dark" | "light";
241
200
  /** Breadcrumb items */
242
201
  items: BreadcrumbItemData[];
243
202
  /** Navigation label */
@@ -249,13 +208,12 @@ declare const Breadcrumbs: React.FC<BreadcrumbsProps>;
249
208
 
250
209
  type ButtonSize = "small" | "large";
251
210
  type ButtonType = "primary" | "fill" | "ghost";
252
- interface CommonProps {
211
+ interface CommonProps$2 {
253
212
  elemRef?: React$1.Ref<any>;
254
213
  htmlType?: "button" | "submit" | "reset";
255
214
  isActive?: boolean;
256
215
  isDefault?: boolean;
257
216
  isDisabled?: boolean;
258
- colorScheme?: "dark" | "light";
259
217
  isSquare?: boolean;
260
218
  size?: ButtonSize;
261
219
  type?: ButtonType;
@@ -263,14 +221,14 @@ interface CommonProps {
263
221
  children?: React$1.ReactNode;
264
222
  preserveWidth?: boolean;
265
223
  }
266
- type AnchorProps = CommonProps & Omit<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, keyof CommonProps | "type" | "ref"> & {
224
+ type AnchorProps$1 = CommonProps$2 & Omit<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, keyof CommonProps$2 | "type" | "ref"> & {
267
225
  href: string;
268
226
  };
269
- type NativeButtonProps = CommonProps & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, keyof CommonProps | "href" | "ref"> & {
227
+ type NativeButtonProps = CommonProps$2 & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, keyof CommonProps$2 | "href" | "ref"> & {
270
228
  href?: undefined;
271
229
  };
272
- type ButtonProps = AnchorProps | NativeButtonProps;
273
- declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<any>>;
230
+ type ButtonProps$2 = AnchorProps$1 | NativeButtonProps;
231
+ declare const Button: React$1.ForwardRefExoticComponent<ButtonProps$2 & React$1.RefAttributes<any>>;
274
232
 
275
233
  type IconPosition = "left" | "right";
276
234
  interface IconButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "ref"> {
@@ -289,15 +247,15 @@ interface IconButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonEl
289
247
  declare const IconButton: React$1.ForwardRefExoticComponent<IconButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
290
248
 
291
249
  declare const ButtonPrimary: {
292
- (props: ButtonProps): React$1.JSX.Element;
250
+ (props: ButtonProps$2): react_jsx_runtime.JSX.Element;
293
251
  displayName: string;
294
252
  };
295
253
  declare const ButtonFill: {
296
- (props: ButtonProps): React$1.JSX.Element;
254
+ (props: ButtonProps$2): react_jsx_runtime.JSX.Element;
297
255
  displayName: string;
298
256
  };
299
257
  declare const ButtonGhost: {
300
- (props: ButtonProps): React$1.JSX.Element;
258
+ (props: ButtonProps$2): react_jsx_runtime.JSX.Element;
301
259
  displayName: string;
302
260
  };
303
261
 
@@ -309,11 +267,36 @@ interface ButtonsProps extends React.HTMLAttributes<HTMLDivElement> {
309
267
  }
310
268
  declare const Buttons: React.FC<ButtonsProps>;
311
269
 
270
+ declare const cardColors: readonly ["background-primary", "background-secondary", "background-contrast", "background-accent", "background-accent1-blog", "background-accent2-blog", "fill-subtle", "fill-accent1", "fill-accent2", "fill-accent3", "fill-accent4", "fill-accent5"];
271
+ type CardColor = (typeof cardColors)[number];
272
+ interface CardProps extends React$1.HTMLAttributes<HTMLDivElement> {
273
+ /** Custom background color */
274
+ color?: CardColor;
275
+ noBorder?: boolean;
276
+ }
277
+ declare const Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLDivElement>>;
278
+
279
+ interface CardProductHeaderProps extends React$1.HTMLAttributes<HTMLDivElement> {
280
+ image?: React$1.ReactNode;
281
+ /** Use small spacing */
282
+ space?: "small";
283
+ }
284
+ declare const CardProductHeader: React$1.ForwardRefExoticComponent<CardProductHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
285
+
286
+ type CardSectionColor = (typeof cardColors)[number];
287
+ interface CardSectionProps extends React$1.HTMLAttributes<HTMLDivElement> {
288
+ /** Custom background color */
289
+ color?: CardSectionColor;
290
+ /** Fill available space using flexbox */
291
+ isFilling?: boolean;
292
+ /** Use small spacing */
293
+ space?: "small";
294
+ }
295
+ declare const CardSection: React$1.ForwardRefExoticComponent<CardSectionProps & React$1.RefAttributes<HTMLDivElement>>;
296
+
312
297
  interface CarouselProps extends HTMLAttributes<HTMLDivElement> {
313
298
  /** Swiper.js (https://swiperjs.com/) options object */
314
299
  swiperOptions?: Record<string, any>;
315
- /** Inverse colors */
316
- colorScheme?: "light" | "dark";
317
300
  /** Carousel items */
318
301
  items: ReactNode[];
319
302
  /** Always show scrollbar and hide dots */
@@ -324,17 +307,25 @@ interface CarouselProps extends HTMLAttributes<HTMLDivElement> {
324
307
  }
325
308
  declare const Carousel: React$1.FC<CarouselProps>;
326
309
 
310
+ interface CarouselHeroItemProps extends HTMLAttributes<HTMLDivElement> {
311
+ className?: string;
312
+ children?: ReactNode;
313
+ image: string;
314
+ }
315
+ declare const CarouselHeroItem: React$1.FC<CarouselHeroItemProps>;
316
+
327
317
  interface TabItem {
328
318
  label: string;
319
+ id?: string;
329
320
  [key: string]: any;
330
321
  }
331
322
  interface CarouselHeroProps {
332
323
  className?: string;
333
324
  swiperOptions?: Record<string, any>;
334
- colorScheme?: "light" | "dark";
335
325
  children?: ReactNode;
336
326
  tabs?: TabItem[];
337
327
  interval?: number;
328
+ enableAutoplay?: boolean;
338
329
  [key: string]: any;
339
330
  }
340
331
  declare const CarouselHero: React$1.FC<CarouselHeroProps>;
@@ -342,7 +333,6 @@ declare const CarouselHero: React$1.FC<CarouselHeroProps>;
342
333
  interface CarouselPromotionsProps {
343
334
  className?: string;
344
335
  swiperOptions?: Record<string, any>;
345
- colorScheme?: "light" | "dark";
346
336
  children?: ReactNode;
347
337
  [key: string]: any;
348
338
  }
@@ -402,22 +392,58 @@ interface IControlsProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>
402
392
  elemRef?: React$1.Ref<any>;
403
393
  icon: string;
404
394
  className?: string;
405
- colorScheme?: "dark" | "light";
406
395
  isDisabled?: boolean;
407
396
  }
408
397
  declare const Controls: React$1.ForwardRefExoticComponent<IControlsProps & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "ref" | "href" | keyof IControlsProps> & {
409
398
  href?: undefined;
410
399
  } & React$1.RefAttributes<any>>;
411
400
 
401
+ interface CoverProps {
402
+ /** Background image source. URL string or an object of breakpoint: url pairs
403
+ *
404
+ * ```
405
+ {
406
+ default: string, // default image to load (fallback)
407
+ xxxl: string, // different image for each breakpoint (optional). while these are mobile first breakpoints, they MUST be ordered from largest to smallest
408
+ xxl: string,
409
+ xl: string,
410
+ lg: string,
411
+ md: string,
412
+ sm: string,
413
+ xs: string,
414
+ }
415
+ * ```
416
+ */
417
+ bgSrc: string | {
418
+ default: string;
419
+ xs?: string;
420
+ sm?: string;
421
+ md?: string;
422
+ lg?: string;
423
+ xl?: string;
424
+ xxl?: string;
425
+ xxxl?: string;
426
+ };
427
+ /** Set vertical position of image */
428
+ bgPosition?: "top" | "center" | "bottom";
429
+ /** Applies custom classNames to overlay content */
430
+ contentClass?: string;
431
+ /** Cover size */
432
+ size?: "small" | "medium" | "large" | "xlarge";
433
+ /** Additional className for the cover container */
434
+ className?: string;
435
+ /** Children content */
436
+ children?: React$1.ReactNode;
437
+ /** Additional props passed to Image component */
438
+ [key: string]: any;
439
+ }
440
+ declare const Cover: React$1.FC<CoverProps>;
441
+
412
442
  interface DividerProps extends Omit<HTMLAttributes<HTMLDivElement>, "content"> {
413
- /** Custom background color */
414
- color?: "black" | "white";
415
443
  /** Custom content inside divider */
416
444
  content?: ReactNode;
417
445
  /** Icon which will be rendered inside divider */
418
446
  icon?: string;
419
- /** Divider line has width of 1px */
420
- thinLine?: boolean;
421
447
  }
422
448
  declare const Divider: React$1.FC<DividerProps>;
423
449
 
@@ -425,7 +451,7 @@ type DropdownButtonProps = {
425
451
  className?: string;
426
452
  children?: ReactNode;
427
453
  iconName?: string;
428
- type?: ButtonProps["type"];
454
+ type?: ButtonProps$2["type"];
429
455
  };
430
456
  type DropdownProps = {
431
457
  button: DropdownButtonProps;
@@ -440,6 +466,8 @@ type DropdownProps = {
440
466
  };
441
467
  declare const Dropdown: React$1.FC<DropdownProps>;
442
468
 
469
+ declare const DropdownDivider: React$1.FC<React$1.HTMLAttributes<HTMLDivElement>>;
470
+
443
471
  interface DropdownItemProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
444
472
  className?: string;
445
473
  children?: ReactNode;
@@ -448,8 +476,6 @@ interface DropdownItemProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
448
476
  }
449
477
  declare const DropdownItem: React$1.FC<DropdownItemProps>;
450
478
 
451
- declare const DropdownDivider: React$1.FC<React$1.HTMLAttributes<HTMLDivElement>>;
452
-
453
479
  interface DropdownToggleButtonProps extends React$1.HTMLAttributes<HTMLButtonElement> {
454
480
  id: string;
455
481
  className?: string;
@@ -457,9 +483,6 @@ interface DropdownToggleButtonProps extends React$1.HTMLAttributes<HTMLButtonEle
457
483
  declare const DropdownToggleButton: React$1.FC<DropdownToggleButtonProps>;
458
484
 
459
485
  interface ExpanderProps {
460
- /** Inverse buttons for dark backgrounds */
461
- /** Dark theme */
462
- colorScheme?: "light" | "dark";
463
486
  /** Custom summary text renderer. Passes props as function parameter. */
464
487
  renderSummary?: (props: ExpanderProps) => React$1.ReactNode;
465
488
  /** Custom summary text renderer when details are opened. Passes props as function parameter. */
@@ -474,103 +497,344 @@ interface ExpanderProps {
474
497
  children?: React$1.ReactNode;
475
498
  /** Expander takes full width of its container */
476
499
  isFullWidth?: boolean;
500
+ /** Position of trigger relative to content when opened */
501
+ placement?: "top" | "bottom";
502
+ /** Group identifier for syncing multiple expanders together */
503
+ toggleGroup?: string;
504
+ /** Initial open state */
505
+ open?: boolean;
477
506
  }
478
507
  declare const Expander: React$1.FC<ExpanderProps>;
479
508
 
480
509
  interface AccordionProps {
481
- /** Color scheme for whole FeatureAccordion */
482
- colorScheme?: "light" | "dark" | "white";
483
510
  /** Additional CSS classes */
484
511
  className?: string;
485
512
  }
486
513
  declare const FeatureAccordion: (props: AccordionProps & {
487
514
  children: React$1.ReactNode;
488
- }) => React$1.JSX.Element;
515
+ }) => react_jsx_runtime.JSX.Element;
489
516
 
490
517
  interface FeatureAccordionItemProps extends AccordionItemProps {
518
+ image?: string | object;
491
519
  imageUrl?: string;
492
520
  imageAlt?: string;
521
+ imageSrcSet?: string;
493
522
  [key: string]: any;
494
523
  }
495
- declare const FeatureAccordionItem: React$1.FC<FeatureAccordionItemProps & {
496
- defaultOpen?: boolean;
497
- }>;
524
+ declare const FeatureAccordionItem: React$1.FC<FeatureAccordionItemProps>;
498
525
 
499
- declare const cardColors: readonly ["white", "black", "orange", "gray", "gray-lighter", "blue", "green", "pink", "yellow", "violet", "accent1-blog", "accent2-blog", "accent", "none"];
500
- type CardColor = (typeof cardColors)[number];
501
- interface CardProps extends React$1.HTMLAttributes<HTMLDivElement> {
502
- /** Custom background color */
503
- color?: CardColor;
504
- noBorder?: boolean;
526
+ type AutocompleteOption = string | {
527
+ title: string;
528
+ value: string;
529
+ };
530
+ interface AutocompleteProps extends Omit<React$1.SelectHTMLAttributes<HTMLSelectElement>, "size" | "value"> {
531
+ /** Module config. For more see accessible-autocomplete docs */
532
+ autocompleteConfig?: Record<string, any>;
533
+ /** Array of string options */
534
+ options?: AutocompleteOption[];
535
+ /** Placeholder text */
536
+ placeholder?: string;
537
+ /** Additional CSS classes */
538
+ className?: string;
539
+ /** Select value */
540
+ value?: string | string[];
505
541
  }
506
- declare const Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLDivElement>>;
542
+ declare const Autocomplete: React$1.FC<AutocompleteProps>;
507
543
 
508
- type CardSectionColor = (typeof cardColors)[number];
509
- interface CardSectionProps extends React$1.HTMLAttributes<HTMLDivElement> {
510
- /** Custom background color */
511
- color?: CardSectionColor;
512
- /** Fill available space using flexbox */
513
- isFilling?: boolean;
514
- /** Use small spacing */
515
- space?: "small";
544
+ type CheckboxSize = "default" | "large";
545
+ interface CheckboxProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> {
546
+ /** Html id attribute */
547
+ id: string;
548
+ /** Checked state. */
549
+ isChecked?: boolean;
550
+ /** Disabled state. */
551
+ isDisabled?: boolean;
552
+ /** Invalid state */
553
+ isInvalid?: boolean;
554
+ /** Checkbox is displayed as Toggle */
555
+ isToggle?: boolean;
556
+ /** Html name attribute. Id is used when not set.*/
557
+ name?: string;
558
+ /** Size of element. */
559
+ size?: CheckboxSize;
560
+ className?: string;
516
561
  }
517
- declare const CardSection: React$1.ForwardRefExoticComponent<CardSectionProps & React$1.RefAttributes<HTMLDivElement>>;
562
+ declare const Checkbox: React$1.FC<CheckboxProps>;
518
563
 
519
- interface CardProductHeaderProps extends React$1.HTMLAttributes<HTMLDivElement> {
520
- image?: React$1.ReactNode;
521
- /** Use small spacing */
522
- space?: "small";
564
+ interface FieldContextType {
565
+ controlId?: string;
566
+ messages?: any[];
567
+ control?: {
568
+ type?: string;
569
+ control?: any;
570
+ renderControl?: (props: any) => React.ReactNode;
571
+ isToggle?: boolean;
572
+ [key: string]: any;
573
+ };
574
+ hint?: React.ReactNode;
575
+ label?: React.ReactNode;
576
+ labelAfter?: React.ReactNode;
577
+ tooltip?: React.ReactNode;
578
+ isRadioCheck?: boolean;
523
579
  }
524
- declare const CardProductHeader: React$1.ForwardRefExoticComponent<CardProductHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
525
580
 
526
- type IconColor = "info" | "success" | "warning" | "danger" | "orange";
527
- type IconSize = "small" | "medium" | "large" | "xlarge" | "xxlarge" | "huge";
528
- type IconType = "icon" | "pictogram";
529
- interface IconProps extends React$1.SVGAttributes<SVGSVGElement> {
530
- /** Accessible label for the icon. */
531
- alt?: string;
532
- /** Icon color. */
533
- color?: IconColor;
534
- /** Icon name (required). */
535
- name: string;
536
- /** Icon size. */
537
- size?: IconSize;
538
- /** Path to the SVG sprite. */
539
- spritePath?: string;
540
- /**
541
- * Icon type. When set to "pictogram", the component will automatically
542
- * switch between light and dark versions based on theme classes (.is-light/.is-dark).
543
- */
544
- type?: IconType;
545
- /**
546
- * @deprecated Use type="pictogram" instead.
547
- * Whether this icon should adapt to theme (light/dark).
548
- * When true, the component will automatically switch between
549
- * light and dark versions based on theme classes (.is-light/.is-dark).
550
- */
581
+ interface InputFieldProps {
551
582
  className?: string;
583
+ control: FieldContextType["control"];
584
+ hint?: React$1.ReactNode;
585
+ label?: React$1.ReactNode;
586
+ labelAfter?: React$1.ReactNode;
587
+ messages?: Array<{
588
+ type: string;
589
+ text: string;
590
+ }>;
591
+ tooltip?: React$1.ReactNode;
592
+ [key: string]: any;
552
593
  }
553
- declare const Icon: React$1.FC<IconProps>;
594
+ declare const Field: React$1.FC<InputFieldProps>;
554
595
 
555
- interface PictogramProps extends Omit<IconProps, "type"> {
556
- /**
557
- * Pictogram name. Should correspond to your pictogram sprite entries.
558
- * For example: 'pictogram-skylink' will look for 'pictogram-skylink' (light)
559
- * and 'pictogram-skylink--dark' (dark) in the sprite.
560
- */
561
- name: string;
596
+ interface FieldsetMessage {
597
+ [key: string]: any;
562
598
  }
563
- /**
564
- * Pictogram component for theme-aware pictographic icons.
565
- *
566
- * This component automatically handles light/dark theme switching by using
567
- * different sprite entries based on the current theme (.is-light/.is-dark classes).
568
- *
569
- * Your sprite should contain both light and dark versions:
570
- * - Light version: Use the exact name provided (e.g., 'pictogram-skylink')
571
- * - Dark version: Add '--dark' suffix (e.g., 'pictogram-skylink--dark')
572
- */
573
- declare const Pictogram: React$1.FC<PictogramProps>;
599
+ interface FieldsetProps extends React$1.FieldsetHTMLAttributes<HTMLFieldSetElement> {
600
+ /** Required `<legend />` for fieldset */
601
+ legend: ReactNode;
602
+ /** Additional legend props */
603
+ legendProps?: React$1.HTMLAttributes<HTMLLegendElement>;
604
+ description?: ReactNode;
605
+ messages?: FieldsetMessage[];
606
+ className?: string;
607
+ children?: ReactNode;
608
+ }
609
+ declare const Fieldset: React$1.FC<FieldsetProps>;
610
+
611
+ type FileSize = "default" | "large";
612
+ interface FileProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> {
613
+ /** Html id attribute. Generated automatically if omitted. */
614
+ id?: string;
615
+ /** Disabled state. */
616
+ isDisabled?: boolean;
617
+ /** Invalid state */
618
+ isInvalid?: boolean;
619
+ /** Input name. */
620
+ name?: string;
621
+ /** Size of element. */
622
+ size?: FileSize;
623
+ className?: string;
624
+ }
625
+ declare const File: FC<FileProps>;
626
+
627
+ interface ControlShape {
628
+ type: "autocomplete" | "text" | "select";
629
+ [key: string]: any;
630
+ }
631
+ interface GroupProps extends HTMLAttributes<HTMLDivElement> {
632
+ control: ControlShape;
633
+ addonPrefix?: ReactNode | ReactNode[];
634
+ size?: "large";
635
+ addonSuffix?: ReactNode | ReactNode[];
636
+ className?: string;
637
+ /** Invalid state */
638
+ isInvalid?: boolean;
639
+ }
640
+ declare const Group: React$1.FC<GroupProps>;
641
+
642
+ interface HintProps extends React$1.HTMLAttributes<HTMLParagraphElement> {
643
+ className?: string;
644
+ children?: React$1.ReactNode;
645
+ }
646
+ declare const Hint: React$1.FC<HintProps>;
647
+
648
+ interface InputStepperConfig {
649
+ min?: number;
650
+ max?: number;
651
+ defaultValue?: number;
652
+ nonEditableInput?: boolean;
653
+ }
654
+ interface InputStepperProps {
655
+ config?: InputStepperConfig;
656
+ id: string;
657
+ inputClassName?: string;
658
+ isDisabled?: boolean;
659
+ /** Invalid state */
660
+ isInvalid?: boolean;
661
+ name?: string;
662
+ nonEditableInput?: boolean;
663
+ className?: string;
664
+ [key: string]: any;
665
+ }
666
+ declare const InputStepper: React$1.FC<InputStepperProps>;
667
+
668
+ interface LabelProps extends React$1.LabelHTMLAttributes<HTMLLabelElement> {
669
+ htmlFor: string;
670
+ className?: string;
671
+ children?: React$1.ReactNode;
672
+ }
673
+ declare const Label: React$1.FC<LabelProps>;
674
+
675
+ type MessageType = "info" | "warning" | "error" | "invalid";
676
+ interface MessageProps extends React$1.HTMLAttributes<HTMLParagraphElement> {
677
+ /** Type of message */
678
+ type?: MessageType;
679
+ /** Additional CSS classes */
680
+ className?: string;
681
+ /** Message content */
682
+ children?: React$1.ReactNode;
683
+ }
684
+ declare const Message: React$1.FC<MessageProps>;
685
+
686
+ type RadioSize = "default" | "large";
687
+ interface RadioProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> {
688
+ /** Html id attribute */
689
+ id: string;
690
+ /** Checked state. */
691
+ isChecked?: boolean;
692
+ /** Disabled state. */
693
+ isDisabled?: boolean;
694
+ /** Invalid state */
695
+ isInvalid?: boolean;
696
+ /** Html name attribute. */
697
+ name: string;
698
+ /** Size of element. */
699
+ size?: RadioSize;
700
+ /** HTML value. Uses id when not set. */
701
+ value?: string;
702
+ className?: string;
703
+ }
704
+ declare const Radio: React$1.FC<RadioProps>;
705
+
706
+ type RangeSliderWidth = "default" | "fullwidth";
707
+ interface RangeSliderConfig {
708
+ connect?: boolean | boolean[];
709
+ format?: (value: number) => string;
710
+ handleAttributes?: Array<Record<string, any>>;
711
+ pips?: {
712
+ mode?: "positions" | "count" | "values";
713
+ filter?: (value: number) => boolean;
714
+ format?: (value: number) => string;
715
+ values?: number[] | number;
716
+ density?: number;
717
+ };
718
+ range: {
719
+ min: number | number[];
720
+ max: number | number[];
721
+ };
722
+ start: number[];
723
+ [key: string]: any;
724
+ }
725
+ interface RangeSliderProps extends React$1.HTMLAttributes<HTMLDivElement> {
726
+ /** [noUiSlider config object](https://refreshless.com/nouislider/slider-options/) */
727
+ config: RangeSliderConfig;
728
+ /** insert arbitrary element after rangeslider */
729
+ elementAfter?: React$1.ReactNode;
730
+ /** insert arbitrary element before rangeslider */
731
+ elementBefore?: React$1.ReactNode;
732
+ /** render data-rangeslider attribute and initialize RangeSlider.static.js */
733
+ hasDataAttr?: boolean;
734
+ /** element id. required by RangeSlider.static.js and generated automatically in React environment. */
735
+ id?: string;
736
+ /** Invalid state */
737
+ isInvalid?: boolean;
738
+ /** width of the element */
739
+ width?: RangeSliderWidth;
740
+ /** Additional CSS classes */
741
+ className?: string;
742
+ }
743
+ declare const RangeSlider: React$1.FC<RangeSliderProps>;
744
+
745
+ type SelectOption = {
746
+ text: string;
747
+ value: string;
748
+ } | string;
749
+ type SelectSize = "default" | "large";
750
+ type SelectWidth = "default" | "12ch" | "shrink" | "fullwidth";
751
+ interface SelectProps extends Omit<React$1.SelectHTMLAttributes<HTMLSelectElement>, "size"> {
752
+ /** Forwarded DOM element ref. */
753
+ elemRef?: React$1.Ref<HTMLSelectElement>;
754
+ /** Html id attribute. */
755
+ id?: string;
756
+ /** Disabled state. */
757
+ isDisabled?: boolean;
758
+ /** Invalid state. */
759
+ isInvalid?: boolean;
760
+ /** Html name attribute. */
761
+ name?: string;
762
+ /** Select option can be specified via children or as options array */
763
+ options?: SelectOption[];
764
+ /** Size of element. */
765
+ size?: SelectSize;
766
+ /** Select value. */
767
+ value?: string | string[];
768
+ /** Element width */
769
+ width?: SelectWidth;
770
+ /** Additional CSS classes */
771
+ className?: string;
772
+ /** Child elements */
773
+ children?: React$1.ReactNode;
774
+ }
775
+ declare const Select: React$1.FC<SelectProps>;
776
+
777
+ type TextAreaSize = "default" | "large";
778
+ type TextAreaWidth = "default" | "fullwidth";
779
+ interface TextAreaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement> {
780
+ /** Html id attribute. */
781
+ id: string;
782
+ /** Disabled state. */
783
+ isDisabled?: boolean;
784
+ /** Invalid state */
785
+ isInvalid?: boolean;
786
+ /** Readonly state. */
787
+ isReadonly?: boolean;
788
+ /** Valid state */
789
+ isValid?: boolean;
790
+ /** Html name attribute. If not present, id is used.*/
791
+ name?: string;
792
+ /** Placeholder text */
793
+ placeholder?: string;
794
+ /** Size of element. */
795
+ size?: TextAreaSize;
796
+ /** Input width */
797
+ width?: TextAreaWidth;
798
+ /** Additional CSS classes */
799
+ className?: string;
800
+ /** Child elements */
801
+ children?: React$1.ReactNode;
802
+ }
803
+ declare const TextArea: React$1.FC<TextAreaProps>;
804
+
805
+ type TextInputSize = "default" | "large";
806
+ type TextInputWidth = "3ch" | "8ch" | "12ch" | "default" | "fullwidth";
807
+ type TextInputType = "email" | "hidden" | "password" | "search" | "tel" | "number" | "text" | "url";
808
+ type TextInputSearchIcon = "none" | "transient" | "persistent";
809
+ interface TextInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> {
810
+ /** Input html type. */
811
+ htmlType?: TextInputType;
812
+ /** Html id attribute. */
813
+ id: string;
814
+ /** Disabled state. */
815
+ isDisabled?: boolean;
816
+ /** Invalid state */
817
+ isInvalid?: boolean;
818
+ /** Readonly state. */
819
+ isReadonly?: boolean;
820
+ /** Valid state */
821
+ isValid?: boolean;
822
+ /** Html name attribute. If not present, id is used.*/
823
+ name?: string;
824
+ /** Placeholder text */
825
+ placeholder?: string;
826
+ /** Size of element. */
827
+ size?: TextInputSize;
828
+ /** Input value. */
829
+ value?: string;
830
+ /** Input width */
831
+ width?: TextInputWidth;
832
+ /** Additional CSS classes */
833
+ className?: string;
834
+ /** Search icon mode. `transient` shows icon only on empty unfocused input, `persistent` keeps it visible with placeholder. */
835
+ searchIcon?: TextInputSearchIcon;
836
+ }
837
+ declare const TextInput: React$1.ForwardRefExoticComponent<TextInputProps & React$1.RefAttributes<HTMLInputElement>>;
574
838
 
575
839
  interface GaugeProps {
576
840
  /** Text inside the gauge */
@@ -584,8 +848,8 @@ declare const Gauge: React$1.ForwardRefExoticComponent<Omit<GaugeProps, "ref"> &
584
848
 
585
849
  type GridVAlign = "stretch" | "start" | "end" | "center";
586
850
  type GridHAlign = "end" | "center" | "space-around" | "space-between";
587
- type GridRowGapSize = "medium" | "large" | "xlarge" | Record<string, "medium" | "large" | "xlarge">;
588
- type GridColumnGapSize = "none";
851
+ type GridRowGapSize = "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | Record<string, "none" | "xsmall" | "small" | "medium" | "large" | "xlarge">;
852
+ type GridColumnGapSize = "none" | "small" | "default" | "large" | "xlarge" | Record<string, "none" | "small" | "default" | "large" | "xlarge">;
589
853
  interface GridProps extends React$1.HTMLAttributes<HTMLElement> {
590
854
  vAlign?: GridVAlign;
591
855
  hAlign?: GridHAlign;
@@ -596,18 +860,143 @@ interface GridProps extends React$1.HTMLAttributes<HTMLElement> {
596
860
  }
597
861
  declare const Grid: React$1.ForwardRefExoticComponent<GridProps & React$1.RefAttributes<HTMLElement>>;
598
862
 
599
- type GridColAlign = 'top' | 'middle' | 'bottom' | 'stretch';
600
- type GridColSize = number | 'shrink' | 'fill' | 'auto' | Record<string, number | 'shrink' | 'fill' | 'auto'>;
863
+ type GridColAlign = "top" | "middle" | "bottom" | "stretch";
864
+ type GridColSize = number | "shrink" | "fill" | "auto" | Record<string, number | "shrink" | "fill" | "auto">;
601
865
  interface GridColProps extends React$1.HTMLAttributes<HTMLElement> {
602
866
  align?: GridColAlign;
603
867
  tag?: React$1.ElementType;
604
868
  size?: GridColSize;
605
869
  }
606
870
  declare const GridCol: {
607
- ({ className, align, tag, size, ...other }: GridColProps): React$1.JSX.Element;
871
+ ({ className, align, tag, size, ...other }: GridColProps): react_jsx_runtime.JSX.Element;
608
872
  displayName: string;
609
873
  };
610
874
 
875
+ type HeroTextSize = "medium" | "large";
876
+ type StickerColor = "black" | "orange";
877
+ interface HeroImageSrc {
878
+ src: string;
879
+ srcSet?: string;
880
+ }
881
+ interface HeroImageResponsive {
882
+ default: string;
883
+ sm?: string;
884
+ lg?: string;
885
+ xl?: string;
886
+ xxl?: string;
887
+ [key: string]: string | undefined;
888
+ }
889
+ type HeroImage = HeroImageSrc | HeroImageResponsive;
890
+ interface HeroPriceObject {
891
+ amount: number;
892
+ prefix?: React$1.ReactNode;
893
+ suffix?: React$1.ReactNode;
894
+ }
895
+ type HeroPrice = string | HeroPriceObject;
896
+ interface HeroButtonProps {
897
+ children: React$1.ReactNode;
898
+ [key: string]: any;
899
+ }
900
+ interface HeroStickerProps {
901
+ color?: StickerColor;
902
+ children?: React$1.ReactNode;
903
+ className?: string;
904
+ }
905
+ interface HeroProps {
906
+ /** Action button props */
907
+ button?: HeroButtonProps;
908
+ /** Main text */
909
+ description?: React$1.ReactNode;
910
+ hasFullwidthImage?: boolean;
911
+ /** Gradient overlay ensures proper text readability */
912
+ hasGradientOverlay?: boolean;
913
+ /** Use svg illustrations, png for product images and jpg for photos */
914
+ image?: HeroImage;
915
+ price?: HeroPrice;
916
+ sticker?: HeroStickerProps;
917
+ /** Adjust title and description size. Medium sets display-2 title and 18px text, large uses display-1 title and 20px text. */
918
+ textSize?: HeroTextSize;
919
+ /** Hero title */
920
+ title: string;
921
+ }
922
+ declare const Hero: React$1.FC<HeroProps>;
923
+
924
+ type IconColor = "info" | "success" | "warning" | "danger" | "orange";
925
+ type IconSize = "small" | "medium" | "large" | "xlarge" | "xxlarge" | "huge";
926
+ type IconType = "icon" | "pictogram";
927
+ interface IconProps extends React$1.SVGAttributes<SVGSVGElement> {
928
+ /** Accessible label for the icon. */
929
+ alt?: string;
930
+ /** Icon color. */
931
+ color?: IconColor;
932
+ /** Icon name (required). */
933
+ name: string;
934
+ /** Icon size. */
935
+ size?: IconSize;
936
+ /** Path to the SVG sprite. */
937
+ spritePath?: string;
938
+ /**
939
+ * Icon type. When set to "pictogram", the component will automatically
940
+ * switch between light and dark versions based on theme classes (.is-light/.is-dark).
941
+ */
942
+ type?: IconType;
943
+ /**
944
+ * @deprecated Use type="pictogram" instead.
945
+ * Whether this icon should adapt to theme (light/dark).
946
+ * When true, the component will automatically switch between
947
+ * light and dark versions based on theme classes (.is-light/.is-dark).
948
+ */
949
+ className?: string;
950
+ }
951
+ declare const Icon: React$1.FC<IconProps>;
952
+
953
+ interface PictogramProps extends Omit<IconProps, "type"> {
954
+ /**
955
+ * Pictogram name. Should correspond to your pictogram sprite entries.
956
+ * For example: 'pictogram-skylink' will look for 'pictogram-skylink' (light)
957
+ * and 'pictogram-skylink--dark' (dark) in the sprite.
958
+ */
959
+ name: string;
960
+ }
961
+ /**
962
+ * Pictogram component for theme-aware pictographic icons.
963
+ *
964
+ * This component automatically handles light/dark theme switching by using
965
+ * different sprite entries based on the current theme (.is-light/.is-dark classes).
966
+ *
967
+ * Your sprite should contain both light and dark versions:
968
+ * - Light version: Use the exact name provided (e.g., 'pictogram-skylink')
969
+ * - Dark version: Add '--dark' suffix (e.g., 'pictogram-skylink--dark')
970
+ */
971
+ declare const Pictogram: React$1.FC<PictogramProps>;
972
+
973
+ declare const SpritePathContext: React$1.Context<string>;
974
+ interface SpritePathProviderProps {
975
+ children: ReactNode;
976
+ value?: string;
977
+ }
978
+ declare const SpritePathProvider: React$1.FC<SpritePathProviderProps>;
979
+
980
+ interface IconListItem {
981
+ icon: string;
982
+ content: React$1.ReactNode;
983
+ tooltip?: React$1.ReactNode;
984
+ }
985
+ interface IconListProps {
986
+ items?: IconListItem[];
987
+ className?: string;
988
+ [key: string]: any;
989
+ }
990
+ declare const IconList: React$1.FC<IconListProps>;
991
+
992
+ interface ItemProps {
993
+ icon: string;
994
+ children: React$1.ReactNode;
995
+ tooltip?: React$1.ReactNode;
996
+ [key: string]: any;
997
+ }
998
+ declare const Item: React$1.FC<ItemProps>;
999
+
611
1000
  interface ImageSrcObject {
612
1001
  default: string;
613
1002
  xxxl?: string;
@@ -627,7 +1016,7 @@ interface ImageProps {
627
1016
  }
628
1017
  declare const Image: React$1.FC<ImageProps>;
629
1018
 
630
- interface LinkProps {
1019
+ interface LinkProps$1 {
631
1020
  /** destination address */
632
1021
  href?: string;
633
1022
  /** rendered HTML element */
@@ -636,14 +1025,41 @@ interface LinkProps {
636
1025
  className?: string;
637
1026
  /** link content */
638
1027
  children?: React$1.ReactNode;
639
- /** color scheme for link: dark (white text) or light (black text) */
640
- colorScheme?: "dark" | "light";
641
1028
  /** whether the link should be underlined */
642
1029
  isUnderline?: boolean;
643
1030
  /** whether the link should have normal font weight */
644
1031
  isNormal?: boolean;
1032
+ /** when true, adds the .no-accent modifier to disable orange accent color on hover (useful for dark backgrounds) */
1033
+ noAccent?: boolean;
1034
+ }
1035
+ declare const Link: React$1.FC<LinkProps$1 & React$1.HTMLAttributes<HTMLElement>>;
1036
+
1037
+ interface ListProps {
1038
+ /** Size determines color of list items and color of their borders*/
1039
+ color?: "gray";
1040
+ /** Spacious lists have horizontal spacing */
1041
+ isEnclosed?: boolean;
1042
+ /** Size determines vertical spacing */
1043
+ size?: "small";
1044
+ className?: string;
1045
+ children?: React$1.ReactNode;
1046
+ }
1047
+ declare const List: React$1.FC<ListProps>;
1048
+
1049
+ interface ControlProps {
1050
+ href?: string;
1051
+ className?: string;
1052
+ children?: React$1.ReactNode;
1053
+ [key: string]: any;
1054
+ }
1055
+ interface ListItemProps {
1056
+ /** Item with control props automatically creates a clickable item and renders an interactive element. If the object contains a href property, it renders an anchor element. If not, it renders a button of type="button" instead. */
1057
+ controlProps?: ControlProps;
1058
+ className?: string;
1059
+ children?: React$1.ReactNode;
1060
+ [key: string]: any;
645
1061
  }
646
- declare const Link: React$1.FC<LinkProps & React$1.HTMLAttributes<HTMLElement>>;
1062
+ declare const ListItem: React$1.FC<ListItemProps>;
647
1063
 
648
1064
  interface LoaderProps {
649
1065
  colour?: "default" | "inverse";
@@ -658,6 +1074,24 @@ interface LoaderProps {
658
1074
  }
659
1075
  declare const Loader: React$1.FC<LoaderProps>;
660
1076
 
1077
+ interface LoaderFullscreenProps {
1078
+ className?: string;
1079
+ children?: ReactNode;
1080
+ }
1081
+ declare const LoaderFullscreen: React$1.FC<LoaderFullscreenProps>;
1082
+
1083
+ type MegamenuProps = {
1084
+ className?: string;
1085
+ title?: string;
1086
+ isSticky?: boolean;
1087
+ searchEmpty?: boolean;
1088
+ searchFilled?: boolean;
1089
+ compactLogoOnly?: boolean;
1090
+ };
1091
+ declare const Megamenu: ({ className, title, isSticky, searchEmpty, searchFilled, compactLogoOnly, }: MegamenuProps) => react_jsx_runtime.JSX.Element;
1092
+
1093
+ declare const MegamenuBlog: ({ className, title, isSticky, searchEmpty, searchFilled, compactLogoOnly, }: MegamenuProps) => react_jsx_runtime.JSX.Element;
1094
+
661
1095
  declare const sizes$1: readonly ["small", "large"];
662
1096
  type ModalSize = (typeof sizes$1)[number];
663
1097
  interface ModalProps extends React$1.HTMLAttributes<HTMLDivElement> {
@@ -671,8 +1105,8 @@ interface ModalProps extends React$1.HTMLAttributes<HTMLDivElement> {
671
1105
  id: string;
672
1106
  /** isActive controls if modal is opened or closed */
673
1107
  isActive?: boolean;
674
- /** Disable plugin initialization. */
675
- noInit?: boolean;
1108
+ /** Callback fired when modal is closed */
1109
+ onHide?: () => void;
676
1110
  /** Custom header renderer. Receives id as function param. Returned element(s) must contain a header with close button. */
677
1111
  renderHeader?: (id: string) => React$1.ReactNode;
678
1112
  /** Custom body renderer. Receives title as function param. Returned element(s) must contain a title. */
@@ -689,21 +1123,17 @@ interface ModalProps extends React$1.HTMLAttributes<HTMLDivElement> {
689
1123
  children?: React$1.ReactNode;
690
1124
  /** Additional CSS classes */
691
1125
  className?: string;
692
- /** Color scheme for the modal */
693
- colorScheme?: "dark" | "light";
694
1126
  /** Disables header paddings */
695
1127
  disableHeaderSpacing?: boolean;
696
- /** Disables body paddings */
697
- disableBodySpacing?: boolean;
698
1128
  /** Disables footer paddings */
699
1129
  disableFooterSpacing?: boolean;
700
1130
  }
701
1131
  declare const Modal: React$1.FC<ModalProps>;
702
1132
 
703
- declare const colors: readonly ["white", "gray", "orange", "orange-dark", "black", "blue", "green", "pink", "violet", "yellow"];
704
- type BodyColor = (typeof colors)[number];
1133
+ declare const modalBodyColors: readonly ["background-primary", "background-secondary", "background-contrast", "background-accent", "background-accent1-blog", "background-accent2-blog", "surface-primary", "surface-secondary", "surface-tertiary", "surface-subtle", "surface-moderate", "surface-contrast", "surface-accent", "fill-subtle", "fill-accent1", "fill-accent2", "fill-accent3", "fill-accent4", "fill-accent5"];
1134
+ type ModalBodyColor = (typeof modalBodyColors)[number];
705
1135
  interface ModalBodyProps extends React$1.HTMLAttributes<HTMLDivElement> {
706
- color?: BodyColor;
1136
+ color?: ModalBodyColor;
707
1137
  className?: string;
708
1138
  children?: React$1.ReactNode;
709
1139
  withTopPadding?: boolean;
@@ -711,494 +1141,186 @@ interface ModalBodyProps extends React$1.HTMLAttributes<HTMLDivElement> {
711
1141
  }
712
1142
  declare const ModalBody: React$1.FC<ModalBodyProps>;
713
1143
 
714
- declare const sizes: readonly ["small", "large"];
715
- type TitleSize = (typeof sizes)[number];
716
- interface ModalTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {
717
- size?: TitleSize;
718
- className?: string;
719
- children?: React.ReactNode;
720
- }
721
- declare const ModalTitle: React.FC<ModalTitleProps>;
722
-
723
1144
  interface ExtendedIconButtonProps extends IconButtonProps {
724
1145
  type?: ButtonType;
725
1146
  }
726
1147
  type ModalCloseButtonProps = Omit<ExtendedIconButtonProps, "iconName">;
727
1148
  declare const ModalCloseButton: React.FC<ModalCloseButtonProps>;
728
1149
 
729
- interface ModalProductHeaderProps extends React$1.HTMLAttributes<HTMLDivElement> {
1150
+ interface ModalProductFooterProps extends React$1.HTMLAttributes<HTMLDivElement> {
730
1151
  image?: React$1.ReactNode;
731
1152
  /** Use small spacing */
732
1153
  space?: "small";
1154
+ button?: React$1.ReactNode;
733
1155
  }
734
- declare const ModalProductHeader: React$1.ForwardRefExoticComponent<ModalProductHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
735
-
736
- type SectionColor = "white" | "gray" | "black" | "orange" | "accent1-blog" | "accent2-blog";
737
- type SectionSpacing = "default" | "small" | "xsmall";
738
- interface SectionProps {
739
- /** Background color of section */
740
- color?: SectionColor;
741
- /**
742
- * Spacing between sections
743
- *
744
- * if two sections with different color meet
745
- * use default (larger) spacing, if two section have same color
746
- * use small spacing on second one. Use xsmall for specific
747
- * cases e.g. as part of Megamenu
748
- */
749
- spacing?: SectionSpacing;
750
- /** Rendered HTML element */
751
- tag?: React$1.ElementType;
752
- /** Additional CSS classes */
753
- className?: string;
754
- /** Section content */
755
- children?: React$1.ReactNode;
756
- }
757
- declare const Section: React$1.FC<SectionProps>;
758
-
759
- interface StickerProps {
760
- color?: 'black' | 'orange';
761
- size?: 'small';
762
- children?: React$1.ReactNode;
763
- className?: string;
764
- [key: string]: any;
765
- }
766
- declare const Sticker: React$1.FC<StickerProps>;
767
-
768
- interface SkipLinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
769
- href?: string;
770
- }
771
- declare const SkipLink: React$1.FC<SkipLinkProps>;
772
-
773
- interface ListProps {
774
- /** Size determines color of list items and color of their borders*/
775
- color?: 'gray';
776
- /** Spacious lists have horizontal spacing */
777
- isEnclosed?: boolean;
778
- /** Size determines vertical spacing */
779
- size?: 'small';
780
- className?: string;
781
- children?: React$1.ReactNode;
782
- }
783
- declare const List: React$1.FC<ListProps>;
1156
+ declare const ModalProductFooter: React$1.ForwardRefExoticComponent<ModalProductFooterProps & React$1.RefAttributes<HTMLDivElement>>;
784
1157
 
785
- interface ControlProps {
786
- href?: string;
787
- className?: string;
788
- children?: React$1.ReactNode;
789
- [key: string]: any;
790
- }
791
- interface ListItemProps {
792
- /** Item with control props automatically creates a clickable item and renders an interactive element. If the object contains a href property, it renders an anchor element. If not, it renders a button of type="button" instead. */
793
- controlProps?: ControlProps;
794
- className?: string;
795
- children?: React$1.ReactNode;
796
- [key: string]: any;
1158
+ interface ModalProductHeaderProps extends React$1.HTMLAttributes<HTMLDivElement> {
1159
+ image?: React$1.ReactNode;
1160
+ /** Use small spacing */
1161
+ space?: "small";
1162
+ /** Optional id for accessibility (e.g., for aria-labelledby) */
1163
+ titleId?: string;
797
1164
  }
798
- declare const ListItem: React$1.FC<ListItemProps>;
1165
+ declare const ModalProductHeader: React$1.ForwardRefExoticComponent<ModalProductHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
799
1166
 
800
- interface ProgressProps {
801
- /** Color of the indicator */
802
- color?: "orange" | "green" | "yellow" | "red" | "blue";
803
- /** Provides clear instruction on what the horizontal bar represents */
804
- label: React$1.ReactNode;
805
- /** Textual representation of the indicator */
806
- value: React$1.ReactNode;
807
- /** Width of the progress indicator where 0 = empty, 1 = full */
808
- width?: number;
1167
+ declare const sizes: readonly ["small", "large"];
1168
+ type TitleSize = (typeof sizes)[number];
1169
+ interface ModalTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {
1170
+ size?: TitleSize;
809
1171
  className?: string;
810
- children?: React$1.ReactNode;
811
- colorMode?: "light" | "dark";
1172
+ children?: React.ReactNode;
812
1173
  }
813
- declare const Progress: React$1.FC<ProgressProps>;
1174
+ declare const ModalTitle: React.FC<ModalTitleProps>;
814
1175
 
815
1176
  interface PaginationItemProps {
816
1177
  /** Page link href */
817
1178
  href: string;
818
1179
  /** Text label inside page item */
819
1180
  label: string;
820
- /** Active state. */
821
- isActive?: boolean;
822
- /** aria-label of page item */
823
- ariaLabel?: string;
824
- }
825
- interface PaginationProps {
826
- /** Collapsed version */
827
- isCompact?: boolean;
828
- /** Dark theme */
829
- colorScheme?: "light" | "dark";
830
- /** All pagination items - buttons & numbers */
831
- items: PaginationItemProps[];
832
- /** Accessibility label */
833
- label?: string;
834
- /** Additional CSS class name */
835
- className?: string;
836
- /** Additional props */
837
- [key: string]: any;
838
- }
839
- declare const Pagination: React$1.FC<PaginationProps>;
840
-
841
- interface PromoBannerProps {
842
- colorScheme?: "light" | "dark";
843
- className?: string;
844
- image?: string;
845
- alignImage?: "bottom";
846
- children?: React$1.ReactNode;
847
- }
848
- declare const PromoBanner: ({ image, colorScheme, className, alignImage, children, }: PromoBannerProps) => React$1.JSX.Element;
849
-
850
- interface PromotionCardProps {
851
- /** Inverse colors */
852
- colorScheme?: 'light' | 'dark';
853
- className?: string;
854
- children?: React$1.ReactNode;
855
- [key: string]: any;
856
- }
857
- declare const PromotionCard: React$1.FC<PromotionCardProps>;
858
-
859
- interface PromotionCardContentProps {
860
- className?: string;
861
- children?: React$1.ReactNode;
862
- [key: string]: any;
863
- }
864
- declare const PromotionCardContent: React$1.FC<PromotionCardContentProps>;
865
-
866
- interface PromotionCardImageWrapperProps {
867
- className?: string;
868
- children?: React$1.ReactNode;
869
- [key: string]: any;
870
- }
871
- declare const PromotionCardImageWrapper: React$1.FC<PromotionCardImageWrapperProps>;
872
-
873
- interface PromotionCardSectionProps {
874
- /** Inverse colors */
875
- isInverse?: boolean;
876
- className?: string;
877
- children?: React$1.ReactNode;
878
- [key: string]: any;
879
- }
880
- declare const PromotionCardSection: React$1.FC<PromotionCardSectionProps>;
881
-
882
- interface PromotionCardTitleProps {
883
- className?: string;
884
- children: React$1.ReactElement;
885
- [key: string]: any;
886
- }
887
- declare const PromotionCardTitle: React$1.FC<PromotionCardTitleProps>;
888
-
889
- type AutocompleteOption = string | {
890
- title: string;
891
- value: string;
892
- };
893
- interface AutocompleteProps extends React$1.HTMLAttributes<HTMLSelectElement> {
894
- /** Module config. For more see accessible-autocomplete docs */
895
- autocompleteConfig?: Record<string, any>;
896
- /** Array of string options */
897
- options?: AutocompleteOption[];
898
- /** Placeholder text */
899
- placeholder?: string;
900
- /** Additional CSS classes */
901
- className?: string;
902
- }
903
- declare const Autocomplete: React$1.FC<AutocompleteProps>;
904
-
905
- type CheckboxSize = "default" | "large";
906
- interface CheckboxProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> {
907
- /** Html id attribute */
908
- id: string;
909
- /** Checked state. */
910
- isChecked?: boolean;
911
- /** Disabled state. */
912
- isDisabled?: boolean;
913
- /** Invalid state */
914
- isInvalid?: boolean;
915
- /** Checkbox is displayed as Toggle */
916
- isToggle?: boolean;
917
- /** Html name attribute. Id is used when not set.*/
918
- name?: string;
919
- /** Size of element. */
920
- size?: CheckboxSize;
921
- className?: string;
922
- }
923
- declare const Checkbox: React$1.FC<CheckboxProps>;
924
-
925
- interface FieldContextType {
926
- controlId?: string;
927
- messages?: any[];
928
- control?: {
929
- type?: string;
930
- control?: any;
931
- renderControl?: (props: any) => React.ReactNode;
932
- isToggle?: boolean;
933
- [key: string]: any;
934
- };
935
- hint?: React.ReactNode;
936
- label?: React.ReactNode;
937
- labelAfter?: React.ReactNode;
938
- tooltip?: React.ReactNode;
939
- isRadioCheck?: boolean;
940
- }
941
-
942
- interface InputFieldProps {
943
- className?: string;
944
- control: FieldContextType["control"];
945
- hint?: React$1.ReactNode;
946
- label?: React$1.ReactNode;
947
- labelAfter?: React$1.ReactNode;
948
- messages?: Array<{
949
- type: string;
950
- text: string;
951
- }>;
952
- tooltip?: React$1.ReactNode;
953
- [key: string]: any;
954
- }
955
- declare const Field: React$1.FC<InputFieldProps>;
956
-
957
- interface FieldsetMessage {
958
- [key: string]: any;
959
- }
960
- interface FieldsetProps extends React$1.FieldsetHTMLAttributes<HTMLFieldSetElement> {
961
- /** Required `<legend />` for fieldset */
962
- legend: ReactNode;
963
- /** Additional legend props */
964
- legendProps?: React$1.HTMLAttributes<HTMLLegendElement>;
965
- description?: ReactNode;
966
- messages?: FieldsetMessage[];
967
- className?: string;
968
- children?: ReactNode;
969
- }
970
- declare const Fieldset: React$1.FC<FieldsetProps>;
971
-
972
- type FileSize = "default" | "large";
973
- interface FileProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> {
974
- /** Html id attribute. Generated automatically if omitted. */
975
- id?: string;
976
- /** Disabled state. */
977
- isDisabled?: boolean;
978
- /** Input name. */
979
- name?: string;
980
- /** Size of element. */
981
- size?: FileSize;
982
- className?: string;
1181
+ /** Active state. */
1182
+ isActive?: boolean;
1183
+ /** aria-label of page item */
1184
+ ariaLabel?: string;
983
1185
  }
984
- declare const File: FC<FileProps>;
985
-
986
- interface ControlShape {
987
- type: "text" | "select";
1186
+ interface PaginationProps {
1187
+ /** Collapsed version */
1188
+ isCompact?: boolean;
1189
+ /** All pagination items - buttons & numbers */
1190
+ items: PaginationItemProps[];
1191
+ /** Accessibility label */
1192
+ label?: string;
1193
+ /** Additional CSS class name */
1194
+ className?: string;
1195
+ /** Additional props */
988
1196
  [key: string]: any;
989
1197
  }
990
- interface GroupProps extends HTMLAttributes<HTMLDivElement> {
991
- control: ControlShape;
992
- addonPrefix?: ReactNode | ReactNode[];
993
- size?: "large";
994
- addonSuffix?: ReactNode | ReactNode[];
1198
+ declare const Pagination: React$1.FC<PaginationProps>;
1199
+
1200
+ declare const pillColors: readonly ["surface-primary", "surface-secondary", "surface-tertiary", "surface-subtle", "surface-moderate", "surface-contrast", "surface-accent", "fill-moderate", "fill-disabled", "transparent"];
1201
+ type PillColor = (typeof pillColors)[number];
1202
+ interface PillProps extends HTMLAttributes<HTMLSpanElement> {
995
1203
  className?: string;
1204
+ children?: ReactNode;
1205
+ color?: PillColor;
1206
+ size?: "small" | "medium" | "large" | "xlarge" | "xxlarge";
996
1207
  }
997
- declare const Group: React$1.FC<GroupProps>;
1208
+ declare const Pill: React$1.FC<PillProps>;
998
1209
 
999
- interface HintProps extends React$1.HTMLAttributes<HTMLParagraphElement> {
1210
+ interface ProgressProps {
1211
+ /** Color of the indicator */
1212
+ color?: "orange" | "green" | "yellow" | "red" | "blue";
1213
+ /** Provides clear instruction on what the horizontal bar represents */
1214
+ label: React$1.ReactNode;
1215
+ /** Textual representation of the indicator */
1216
+ value: React$1.ReactNode;
1217
+ /** Width of the progress indicator where 0 = empty, 1 = full */
1218
+ width?: number;
1000
1219
  className?: string;
1001
1220
  children?: React$1.ReactNode;
1002
1221
  }
1003
- declare const Hint: React$1.FC<HintProps>;
1222
+ declare const Progress: React$1.FC<ProgressProps>;
1004
1223
 
1005
- interface LabelProps extends React$1.LabelHTMLAttributes<HTMLLabelElement> {
1006
- htmlFor: string;
1224
+ interface PromoBannerProps {
1007
1225
  className?: string;
1226
+ image?: string;
1227
+ alignImage?: "bottom" | "top";
1228
+ /** Remove top padding from item on sm and smaller breakpoints */
1229
+ flushTopSmDown?: boolean;
1230
+ /** Remove bottom padding from item on sm and smaller breakpoints */
1231
+ flushBottomSmDown?: boolean;
1232
+ imageFullWidth?: boolean;
1233
+ /** Make image extend to the edge of viewport even when inside container */
1234
+ bleedImage?: boolean;
1008
1235
  children?: React$1.ReactNode;
1236
+ itemClassName?: string;
1237
+ imageClassName?: string;
1238
+ variant?: "vertical" | "reverse";
1009
1239
  }
1010
- declare const Label: React$1.FC<LabelProps>;
1240
+ declare const PromoBanner: ({ image, className, alignImage, flushTopSmDown, flushBottomSmDown, bleedImage, children, itemClassName, imageClassName, variant, imageFullWidth, }: PromoBannerProps) => react_jsx_runtime.JSX.Element;
1011
1241
 
1012
- type MessageType = "info" | "warning" | "error" | "invalid";
1013
- interface MessageProps extends React$1.HTMLAttributes<HTMLParagraphElement> {
1014
- /** Type of message */
1015
- type?: MessageType;
1016
- /** Additional CSS classes */
1242
+ interface PromotionCardProps {
1017
1243
  className?: string;
1018
- /** Message content */
1019
1244
  children?: React$1.ReactNode;
1245
+ color?: CardColor;
1246
+ [key: string]: any;
1020
1247
  }
1021
- declare const Message: React$1.FC<MessageProps>;
1248
+ declare const PromotionCard: React$1.FC<PromotionCardProps>;
1022
1249
 
1023
- type RadioSize = "default" | "large";
1024
- interface RadioProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> {
1025
- /** Html id attribute */
1026
- id: string;
1027
- /** Checked state. */
1028
- isChecked?: boolean;
1029
- /** Disabled state. */
1030
- isDisabled?: boolean;
1031
- /** Invalid state */
1032
- isInvalid?: boolean;
1033
- /** Html name attribute. */
1034
- name: string;
1035
- /** Size of element. */
1036
- size?: RadioSize;
1037
- /** HTML value. Uses id when not set. */
1038
- value?: string;
1250
+ interface PromotionCardContentProps {
1039
1251
  className?: string;
1040
- }
1041
- declare const Radio: React$1.FC<RadioProps>;
1042
-
1043
- type RangeSliderWidth = "default" | "fullwidth";
1044
- interface RangeSliderConfig {
1045
- connect?: boolean | boolean[];
1046
- format?: (value: number) => string;
1047
- handleAttributes?: Array<Record<string, any>>;
1048
- pips?: {
1049
- mode?: "positions" | "count" | "values";
1050
- filter?: (value: number) => boolean;
1051
- format?: (value: number) => string;
1052
- values?: number[] | number;
1053
- density?: number;
1054
- };
1055
- range: {
1056
- min: number | number[];
1057
- max: number | number[];
1058
- };
1059
- start: number[];
1252
+ children?: React$1.ReactNode;
1060
1253
  [key: string]: any;
1061
1254
  }
1062
- interface RangeSliderProps extends React$1.HTMLAttributes<HTMLDivElement> {
1063
- /** [noUiSlider config object](https://refreshless.com/nouislider/slider-options/) */
1064
- config: RangeSliderConfig;
1065
- /** insert arbitrary element after rangeslider */
1066
- elementAfter?: React$1.ReactNode;
1067
- /** insert arbitrary element before rangeslider */
1068
- elementBefore?: React$1.ReactNode;
1069
- /** render data-rangeslider attribute and initialize RangeSlider.static.js */
1070
- hasDataAttr?: boolean;
1071
- /** element id. required by RangeSlider.static.js and generated automatically in React environment. */
1072
- id?: string;
1073
- /** width of the element */
1074
- width?: RangeSliderWidth;
1075
- /** Additional CSS classes */
1076
- className?: string;
1077
- }
1078
- declare const RangeSlider: React$1.FC<RangeSliderProps>;
1255
+ declare const PromotionCardContent: React$1.FC<PromotionCardContentProps>;
1079
1256
 
1080
- type SelectOption = {
1081
- text: string;
1082
- value: string;
1083
- } | string;
1084
- type SelectSize = "default" | "large";
1085
- type SelectWidth = "default" | "12ch" | "shrink" | "fullwidth";
1086
- interface SelectProps extends Omit<React$1.SelectHTMLAttributes<HTMLSelectElement>, "size"> {
1087
- /** Forwarded DOM element ref. */
1088
- elemRef?: React$1.Ref<HTMLSelectElement>;
1089
- /** Html id attribute. */
1090
- id?: string;
1091
- /** Disabled state. */
1092
- isDisabled?: boolean;
1093
- /** Invalid state. */
1094
- isInvalid?: boolean;
1095
- /** Html name attribute. */
1096
- name?: string;
1097
- /** Select option can be specified via children or as options array */
1098
- options?: SelectOption[];
1099
- /** Size of element. */
1100
- size?: SelectSize;
1101
- /** Select value. */
1102
- value?: string | string[];
1103
- /** Element width */
1104
- width?: SelectWidth;
1105
- /** Additional CSS classes */
1257
+ interface PromotionCardImageWrapperProps {
1106
1258
  className?: string;
1107
- /** Child elements */
1108
1259
  children?: React$1.ReactNode;
1260
+ [key: string]: any;
1109
1261
  }
1110
- declare const Select: React$1.FC<SelectProps>;
1262
+ declare const PromotionCardImageWrapper: React$1.FC<PromotionCardImageWrapperProps>;
1111
1263
 
1112
- type TextAreaSize = "default" | "large";
1113
- type TextAreaWidth = "default" | "fullwidth";
1114
- interface TextAreaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement> {
1115
- /** Html id attribute. */
1116
- id: string;
1117
- /** Disabled state. */
1118
- isDisabled?: boolean;
1119
- /** Invalid state */
1120
- isInvalid?: boolean;
1121
- /** Readonly state. */
1122
- isReadonly?: boolean;
1123
- /** Valid state */
1124
- isValid?: boolean;
1125
- /** Html name attribute. If not present, id is used.*/
1126
- name?: string;
1127
- /** Placeholder text */
1128
- placeholder?: string;
1129
- /** Size of element. */
1130
- size?: TextAreaSize;
1131
- /** Input width */
1132
- width?: TextAreaWidth;
1133
- /** Additional CSS classes */
1264
+ interface PromotionCardSectionProps {
1265
+ /** Inverse colors */
1266
+ isInverse?: boolean;
1134
1267
  className?: string;
1135
- /** Child elements */
1136
1268
  children?: React$1.ReactNode;
1269
+ [key: string]: any;
1137
1270
  }
1138
- declare const TextArea: React$1.FC<TextAreaProps>;
1271
+ declare const PromotionCardSection: React$1.FC<PromotionCardSectionProps>;
1139
1272
 
1140
- type TextInputSize = "default" | "large";
1141
- type TextInputWidth = "3ch" | "8ch" | "12ch" | "default" | "fullwidth";
1142
- type TextInputType = "email" | "hidden" | "password" | "search" | "tel" | "number" | "text" | "url";
1143
- interface TextInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> {
1144
- /** Input html type. */
1145
- htmlType?: TextInputType;
1146
- /** Html id attribute. */
1147
- id: string;
1148
- /** Disabled state. */
1149
- isDisabled?: boolean;
1150
- /** Invalid state */
1151
- isInvalid?: boolean;
1152
- /** Readonly state. */
1153
- isReadonly?: boolean;
1154
- /** Valid state */
1155
- isValid?: boolean;
1156
- /** Html name attribute. If not present, id is used.*/
1157
- name?: string;
1158
- /** Placeholder text */
1159
- placeholder?: string;
1160
- /** Size of element. */
1161
- size?: TextInputSize;
1162
- /** Input value. */
1163
- value?: string;
1164
- /** Input width */
1165
- width?: TextInputWidth;
1166
- /** Additional CSS classes */
1273
+ interface PromotionCardTitleProps {
1167
1274
  className?: string;
1275
+ children: React$1.ReactElement;
1276
+ [key: string]: any;
1168
1277
  }
1169
- declare const TextInput: React$1.ForwardRefExoticComponent<TextInputProps & React$1.RefAttributes<HTMLInputElement>>;
1278
+ declare const PromotionCardTitle: React$1.FC<PromotionCardTitleProps>;
1170
1279
 
1171
- interface InputStepperConfig {
1172
- min?: number;
1173
- max?: number;
1174
- defaultValue?: number;
1175
- nonEditableInput?: boolean;
1176
- }
1177
- interface InputStepperProps {
1178
- config?: InputStepperConfig;
1179
- id: string;
1180
- inputClassName?: string;
1181
- isDisabled?: boolean;
1182
- colorScheme?: "light" | "dark";
1183
- name?: string;
1184
- nonEditableInput?: boolean;
1280
+ declare const sectionColors: readonly ["background-secondary", "background-contrast", "background-accent", "background-accent1-blog", "background-accent2-blog", "background-none", "surface-subtle"];
1281
+ type SectionColor = (typeof sectionColors)[number];
1282
+ type SectionSpacing = "default" | "small" | "xsmall";
1283
+ interface SectionProps {
1284
+ /** Background color of section */
1285
+ color?: SectionColor;
1286
+ /**
1287
+ * Spacing between sections
1288
+ *
1289
+ * if two sections with different color meet
1290
+ * use default (larger) spacing, if two section have same color
1291
+ * use small spacing on second one. Use xsmall for specific
1292
+ * cases e.g. as part of Megamenu
1293
+ */
1294
+ spacing?: SectionSpacing;
1295
+ /** Rendered HTML element */
1296
+ tag?: React$1.ElementType;
1297
+ /** Additional CSS classes */
1185
1298
  className?: string;
1186
- [key: string]: any;
1299
+ /** Section content */
1300
+ children?: React$1.ReactNode;
1301
+ /** Additional classes passed to the container */
1302
+ containerClassName?: string;
1187
1303
  }
1188
- declare const InputStepper: React$1.FC<InputStepperProps>;
1304
+ declare const Section: React$1.FC<SectionProps>;
1189
1305
 
1190
1306
  declare const Skeleton: React$1.FC<React$1.HTMLAttributes<HTMLSpanElement>>;
1191
1307
 
1192
- declare const pillColors: readonly ["white", "gray", "transparent", "orange"];
1193
- type PillColor = (typeof pillColors)[number];
1194
- interface PillProps extends HTMLAttributes<HTMLSpanElement> {
1195
- className?: string;
1196
- children?: ReactNode;
1197
- color?: PillColor;
1198
- size?: "small" | "medium" | "large" | "xlarge" | "xxlarge";
1199
- colorScheme?: "light" | "dark";
1308
+ interface SkipLinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
1309
+ href?: string;
1200
1310
  }
1201
- declare const Pill: React$1.FC<PillProps>;
1311
+ declare const SkipLink: React$1.FC<SkipLinkProps>;
1312
+
1313
+ type SocialName = "x" | "facebook-2" | "linkedin-2" | "instagram" | "pinterest" | "snapchat" | "tiktok" | "whatsapp" | "youtube" | "email";
1314
+ type CommonProps$1 = {
1315
+ name: SocialName;
1316
+ className?: string;
1317
+ };
1318
+ type ButtonProps$1 = CommonProps$1 & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "type" | keyof CommonProps$1>;
1319
+ type LinkProps = CommonProps$1 & Omit<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, keyof CommonProps$1> & {
1320
+ href: string;
1321
+ };
1322
+ type SocialButtonProps = ButtonProps$1 | LinkProps;
1323
+ declare const SocialButton: React$1.ForwardRefExoticComponent<SocialButtonProps & React$1.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
1202
1324
 
1203
1325
  declare const showTitlesFromOptions: readonly ["md", "lg", "xl"];
1204
1326
  type ShowTitlesFrom = (typeof showTitlesFromOptions)[number];
@@ -1214,65 +1336,17 @@ interface StepbarProps extends React$1.HTMLAttributes<HTMLElement> {
1214
1336
  showTitlesFrom?: ShowTitlesFrom;
1215
1337
  /** Array of step objects */
1216
1338
  steps: StepbarStep[];
1217
- /** Visual variant of the stepbar */
1218
- colorScheme?: "dark" | "light";
1219
1339
  }
1220
1340
  declare const Stepbar: React$1.FC<StepbarProps>;
1221
1341
 
1222
- interface TabPanelProps extends React.HTMLAttributes<HTMLDivElement> {
1223
- /** Optional href for the tab */
1224
- href?: string;
1225
- /** Tabpanel id */
1226
- id?: string;
1227
- /** Active state */
1228
- isActive?: boolean;
1229
- /** Whether the tab is disabled */
1230
- isDisabled?: boolean;
1231
- /** Tab content/label */
1232
- tab?: React.ReactNode;
1233
- /** Custom render function for tab */
1234
- renderTab?: (props: TabPanelProps) => React.ReactElement;
1235
- /** Additional class names */
1236
- className?: string;
1237
- /** Children components */
1238
- children?: React.ReactNode;
1239
- }
1240
- declare const TabPanel: React.FC<TabPanelProps>;
1241
-
1242
- declare const variants: readonly ["standard", "light"];
1243
- type TabsVariant = (typeof variants)[number];
1244
- interface TabsProps extends React$1.HTMLAttributes<HTMLUListElement> {
1245
- /** Active Tab index */
1246
- activeTabIndex?: number;
1247
- /** Additional classes for tabs header. */
1248
- classesTabNav?: string;
1249
- /** Color theme for the tabs */
1250
- colorScheme?: "dark" | "light";
1251
- /** All tabs have equal width inside a full-width container */
1252
- hasEqualTabWidth?: boolean;
1253
- /** Fullwidth container */
1254
- isFullWidth?: boolean;
1255
- /** Tabs behave as links rather than tabs */
1256
- isLink?: boolean;
1257
- /** Visual variant of the tabs */
1258
- variant?: TabsVariant;
1259
- /** Tab panels as children */
1260
- children: React$1.ReactElement<TabPanelProps>[];
1261
- }
1262
- declare const Tabs: React$1.FC<TabsProps>;
1263
-
1264
- interface TabProps extends React.HTMLAttributes<HTMLButtonElement | HTMLAnchorElement> {
1265
- /** Id of the tabpanel this tab controls. */
1266
- controls?: string;
1267
- href?: string;
1268
- /** Active state */
1269
- isActive?: boolean;
1270
- /** Disabled state. */
1271
- isDisabled?: boolean;
1342
+ interface StickerProps {
1343
+ color?: "black" | "orange";
1344
+ size?: "small";
1345
+ children?: React$1.ReactNode;
1272
1346
  className?: string;
1273
- children?: React.ReactNode;
1347
+ [key: string]: any;
1274
1348
  }
1275
- declare const Tab: React.FC<TabProps>;
1349
+ declare const Sticker: React$1.FC<StickerProps>;
1276
1350
 
1277
1351
  interface CellValue {
1278
1352
  value: React$1.ReactNode;
@@ -1308,6 +1382,8 @@ interface TableProps extends React$1.TableHTMLAttributes<HTMLTableElement> {
1308
1382
  headers: TableHeader[];
1309
1383
  /** Compact table only takes spaced needed to display its content */
1310
1384
  isCompact?: boolean;
1385
+ /** Enable responsive card layout below md breakpoint for better accessibility */
1386
+ isResponsive?: boolean;
1311
1387
  /** If table has horizontal scrollbar */
1312
1388
  isScrollable?: boolean;
1313
1389
  /** Different colors for even and odd rows. */
@@ -1315,27 +1391,114 @@ interface TableProps extends React$1.TableHTMLAttributes<HTMLTableElement> {
1315
1391
  /** rows to print out in the table. */
1316
1392
  rows: TableRow[];
1317
1393
  className?: string;
1318
- /** Sets color scheme */
1319
- colorScheme?: "dark" | "light";
1320
1394
  }
1321
1395
  declare const Table: React$1.FC<TableProps>;
1322
1396
 
1323
- type TileColor = "default" | "white";
1397
+ interface TabProps extends React.HTMLAttributes<HTMLButtonElement | HTMLAnchorElement> {
1398
+ /** Id of the tabpanel this tab controls. */
1399
+ controls?: string;
1400
+ href?: string;
1401
+ /** Active state */
1402
+ isActive?: boolean;
1403
+ /** Disabled state. */
1404
+ isDisabled?: boolean;
1405
+ className?: string;
1406
+ children?: React.ReactNode;
1407
+ }
1408
+ declare const Tab: React.FC<TabProps>;
1409
+
1410
+ interface TabPanelProps extends React.HTMLAttributes<HTMLDivElement> {
1411
+ /** Optional href for the tab */
1412
+ href?: string;
1413
+ /** Tabpanel id */
1414
+ id?: string;
1415
+ /** Active state */
1416
+ isActive?: boolean;
1417
+ /** Whether the tab is disabled */
1418
+ isDisabled?: boolean;
1419
+ /** Tab content/label */
1420
+ tab?: React.ReactNode;
1421
+ /** Custom render function for tab */
1422
+ renderTab?: (props: TabPanelProps) => React.ReactElement;
1423
+ /** Additional class names */
1424
+ className?: string;
1425
+ /** Children components */
1426
+ children?: React.ReactNode;
1427
+ }
1428
+ declare const TabPanel: React.FC<TabPanelProps>;
1429
+
1430
+ interface TabsProps extends React$1.HTMLAttributes<HTMLUListElement> {
1431
+ /** Active Tab index */
1432
+ activeTabIndex?: number;
1433
+ /** Additional classes for tabs header. */
1434
+ classesTabNav?: string;
1435
+ /** All tabs have equal width inside a full-width container */
1436
+ hasEqualTabWidth?: boolean;
1437
+ /** Fullwidth container */
1438
+ isFullWidth?: boolean;
1439
+ /** Tabs behave as links rather than tabs */
1440
+ isLink?: boolean;
1441
+ /** Tab panels as children */
1442
+ children: React$1.ReactElement<TabPanelProps>[];
1443
+ }
1444
+ declare const Tabs: React$1.FC<TabsProps>;
1445
+
1446
+ type TagButtonProps = {
1447
+ className?: string;
1448
+ onClick?: React$1.MouseEventHandler<HTMLButtonElement>;
1449
+ children?: React$1.ReactNode;
1450
+ isDisabled?: boolean;
1451
+ ariaLabel?: string;
1452
+ iconName: string;
1453
+ size?: string;
1454
+ };
1455
+ declare const TagButton: React$1.ForwardRefExoticComponent<TagButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
1456
+
1457
+ declare const colors: readonly ["black", "orange", "yellow", "green", "blue", "success", "info", "warning", "danger", "transparent"];
1458
+ type TagColor = (typeof colors)[number];
1459
+ type TagSize = "small" | "large";
1460
+ interface CommonProps {
1461
+ color?: TagColor;
1462
+ size?: TagSize;
1463
+ isDisabled?: boolean;
1464
+ className?: string;
1465
+ children?: React$1.ReactNode;
1466
+ actionButton?: React$1.ReactElement<TagButtonProps>;
1467
+ }
1468
+ type SpanProps = CommonProps & Omit<React$1.HTMLAttributes<HTMLSpanElement>, keyof CommonProps> & {
1469
+ onClick?: undefined;
1470
+ href?: undefined;
1471
+ };
1472
+ type ButtonProps = CommonProps & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, keyof CommonProps> & {
1473
+ onClick: React$1.MouseEventHandler<HTMLButtonElement>;
1474
+ href?: undefined;
1475
+ };
1476
+ type AnchorProps = CommonProps & Omit<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, keyof CommonProps> & {
1477
+ href: string;
1478
+ onClick?: undefined;
1479
+ };
1480
+ type TagProps = SpanProps | ButtonProps | AnchorProps;
1481
+ declare const Tag: React$1.ForwardRefExoticComponent<TagProps & React$1.RefAttributes<HTMLElement>>;
1482
+
1483
+ interface TestimonialProps {
1484
+ className?: string;
1485
+ children?: React$1.ReactNode;
1486
+ color?: "default" | "orange";
1487
+ isDiv?: boolean;
1488
+ [key: string]: any;
1489
+ }
1490
+ declare const Testimonial: React$1.FC<TestimonialProps>;
1491
+
1324
1492
  type TileHAlign = "center";
1325
1493
  type TileVAlign = "center" | "end" | "space-between";
1494
+ type TileVariant = "compact" | "action";
1326
1495
  interface TileProps extends React$1.HTMLAttributes<HTMLDivElement> {
1327
- /** Tile color. */
1328
- color?: TileColor;
1329
1496
  /** Horizontal alignment of the tile content. */
1330
1497
  hAlign?: TileHAlign;
1331
1498
  /** Vertical alignment of the tile content. */
1332
1499
  vAlign?: TileVAlign;
1333
- /** variant can be "image" or "action" */
1334
- variant?: "image" | "action";
1335
- /** Alt and src attributes are required */
1336
- backgroundImage?: React$1.ComponentProps<typeof Image>;
1337
- /** Use small spacing */
1338
- space?: "small";
1500
+ /** Tile variant. */
1501
+ variant?: TileVariant;
1339
1502
  children?: ReactNode;
1340
1503
  className?: string;
1341
1504
  }
@@ -1361,7 +1524,6 @@ interface TooltipProps extends React$1.HTMLAttributes<HTMLElement> {
1361
1524
  /** Additional CSS classes */
1362
1525
  className?: string;
1363
1526
  children?: React$1.ReactNode;
1364
- colorScheme?: "dark" | "light";
1365
1527
  }
1366
1528
  declare const Tooltip: React$1.FC<TooltipProps>;
1367
1529
 
@@ -1371,126 +1533,4 @@ type InfoTooltipProps = Omit<TooltipProps, "onAbort"> & Omit<React$1.HTMLAttribu
1371
1533
  };
1372
1534
  declare const InfoTooltip: React$1.FC<InfoTooltipProps>;
1373
1535
 
1374
- interface CoverProps {
1375
- /** Background image source. URL string or an object of breakpoint: url pairs
1376
- *
1377
- * ```
1378
- {
1379
- default: string, // default image to load (fallback)
1380
- xxxl: string, // different image for each breakpoint (optional). while these are mobile first breakpoints, they MUST be ordered from largest to smallest
1381
- xxl: string,
1382
- xl: string,
1383
- lg: string,
1384
- md: string,
1385
- sm: string,
1386
- xs: string,
1387
- }
1388
- * ```
1389
- */
1390
- bgSrc: string | {
1391
- default: string;
1392
- xs?: string;
1393
- sm?: string;
1394
- md?: string;
1395
- lg?: string;
1396
- xl?: string;
1397
- xxl?: string;
1398
- xxxl?: string;
1399
- };
1400
- /** Set vertical position of image */
1401
- bgPosition?: 'top' | 'center' | 'bottom';
1402
- /** Applies custom classNames to overlay content */
1403
- contentClass?: string;
1404
- /** Cover size */
1405
- size?: 'small' | 'medium' | 'large';
1406
- /** Additional className for the cover container */
1407
- className?: string;
1408
- /** Children content */
1409
- children?: React$1.ReactNode;
1410
- /** Additional props passed to Image component */
1411
- [key: string]: any;
1412
- }
1413
- declare const Cover: React$1.FC<CoverProps>;
1414
-
1415
- interface TestimonialProps {
1416
- className?: string;
1417
- children?: React$1.ReactNode;
1418
- color?: 'default' | 'orange';
1419
- isDiv?: boolean;
1420
- [key: string]: any;
1421
- }
1422
- declare const Testimonial: React$1.FC<TestimonialProps>;
1423
-
1424
- type HeroBackground = "white" | "black" | "gray";
1425
- type HeroTextSize = "medium" | "large";
1426
- type StickerColor = "black" | "orange";
1427
- interface HeroImageSrc {
1428
- src: string;
1429
- srcSet?: string;
1430
- }
1431
- interface HeroImageResponsive {
1432
- default: string;
1433
- sm?: string;
1434
- lg?: string;
1435
- xl?: string;
1436
- xxl?: string;
1437
- [key: string]: string | undefined;
1438
- }
1439
- type HeroImage = HeroImageSrc | HeroImageResponsive;
1440
- interface HeroPriceObject {
1441
- amount: number;
1442
- prefix?: React$1.ReactNode;
1443
- suffix?: React$1.ReactNode;
1444
- }
1445
- type HeroPrice = string | HeroPriceObject;
1446
- interface HeroButtonProps {
1447
- children: React$1.ReactNode;
1448
- [key: string]: any;
1449
- }
1450
- interface HeroStickerProps {
1451
- color?: StickerColor;
1452
- children?: React$1.ReactNode;
1453
- className?: string;
1454
- }
1455
- interface HeroProps {
1456
- /** Background spanning whole viewport width */
1457
- colorScheme?: HeroBackground;
1458
- /** Action button props */
1459
- button?: HeroButtonProps;
1460
- /** Main text */
1461
- description?: React$1.ReactNode;
1462
- hasFullwidthImage?: boolean;
1463
- /** Gradient overlay ensures proper text readability */
1464
- hasGradientOverlay?: boolean;
1465
- /** Use svg illustrations, png for product images and jpg for photos */
1466
- image?: HeroImage;
1467
- price?: HeroPrice;
1468
- sticker?: HeroStickerProps;
1469
- /** Adjust title and description size. Medium sets display-2 title and 18px text, large uses display-1 title and 20px text. */
1470
- textSize?: HeroTextSize;
1471
- /** Hero title */
1472
- title: string;
1473
- }
1474
- declare const Hero: React$1.FC<HeroProps>;
1475
-
1476
- interface IconListItem {
1477
- icon: string;
1478
- content: React$1.ReactNode;
1479
- tooltip?: React$1.ReactNode;
1480
- }
1481
- interface IconListProps {
1482
- items?: IconListItem[];
1483
- className?: string;
1484
- [key: string]: any;
1485
- }
1486
- declare const IconList: React$1.FC<IconListProps>;
1487
-
1488
- interface ItemProps {
1489
- icon: string;
1490
- children: React$1.ReactNode;
1491
- tooltip?: React$1.ReactNode;
1492
- [key: string]: any;
1493
- }
1494
- declare const Item: React$1.FC<ItemProps>;
1495
-
1496
- export { Accordion, AccordionItem, Alert, AnchorNavigation, Autocomplete, Bar, BarBreak, BarItem, BlockAction, BlockActionControl, BlockActionIndicator, BlockActionOverride, BodyBanner, Breadcrumbs, Button, ButtonFill, ButtonGhost, ButtonPrimary, Buttons, Card, CardProductHeader, CardSection, Carousel, CarouselHero, CarouselPromotions, CartTable, Checkbox, Container, Controls, Cover, Divider, Dropdown, DropdownDivider, DropdownItem, DropdownToggleButton, Expander, FeatureAccordion, FeatureAccordionItem, Field, Fieldset, File, Gauge, Grid, GridCol, Group, Hero, Hint, Icon, IconButton, IconList, Image, InfoTooltip, InputStepper, Item, Label, Link, List, ListItem, Loader, Message, Modal, ModalBody, ModalCloseButton, ModalProductHeader, ModalTitle, Pagination, Pictogram, Pill, Progress, PromoBanner, PromotionCard, PromotionCardContent, PromotionCardImageWrapper, PromotionCardSection, PromotionCardTitle, Radio, RangeSlider, Section, Select, Skeleton, SkipLink, Stepbar, Sticker, Tab, TabPanel, Table, Tabs, Tag, TagButton, Testimonial, TextArea, TextInput, Tile, Tooltip };
1536
+ export { Accordion, AccordionItem, Alert, AnchorNavigation, Autocomplete, Bar, BarBreak, BarItem, BlockAction, BlockActionControl, BlockActionIndicator, BlockActionOverride, BodyBanner, Breadcrumbs, Button, ButtonFill, ButtonGhost, ButtonPrimary, Buttons, Card, CardProductHeader, CardSection, Carousel, CarouselHero, CarouselHeroItem, CarouselPromotions, CartTable, Checkbox, Container, Controls, Cover, Divider, Dropdown, DropdownDivider, DropdownItem, DropdownToggleButton, Expander, FeatureAccordion, FeatureAccordionItem, Field, Fieldset, File, Gauge, Grid, GridCol, Group, Hero, Hint, Icon, IconButton, IconList, Image, InfoTooltip, InputStepper, Item, Label, Link, List, ListItem, Loader, LoaderFullscreen, Megamenu, MegamenuBlog, Message, Modal, ModalBody, ModalCloseButton, ModalProductFooter, ModalProductHeader, ModalTitle, Pagination, Pictogram, Pill, Progress, PromoBanner, PromotionCard, PromotionCardContent, PromotionCardImageWrapper, PromotionCardSection, PromotionCardTitle, Radio, RangeSlider, Section, Select, Skeleton, SkipLink, SocialButton, SpritePathContext, SpritePathProvider, Stepbar, Sticker, Tab, TabPanel, Table, Tabs, Tag, TagButton, Testimonial, TextArea, TextInput, Tile, Tooltip };