@orangesk/orange-design-system 3.5.0 → 3.6.1

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 (428) hide show
  1. package/build/components/BodyBanner/style.css +1 -1
  2. package/build/components/BodyBanner/style.css.map +1 -1
  3. package/build/components/Icon/style.css +1 -1
  4. package/build/components/Icon/style.css.map +1 -1
  5. package/build/components/PromoBanner/style.css +1 -1
  6. package/build/components/PromoBanner/style.css.map +1 -1
  7. package/build/components/StarRating/style.css +1 -1
  8. package/build/components/StarRating/style.css.map +1 -1
  9. package/build/components/Tile/style.css +1 -1
  10. package/build/components/Tile/style.css.map +1 -1
  11. package/build/components/index.js +1 -1
  12. package/build/components/index.js.map +1 -1
  13. package/build/components/types/index.d.ts +2 -0
  14. package/build/lib/base.css.map +1 -1
  15. package/build/lib/components.css +1 -1
  16. package/build/lib/components.css.map +1 -1
  17. package/build/lib/footer.js +1 -1
  18. package/build/lib/footer.js.map +1 -1
  19. package/build/lib/megamenu.js +1 -1
  20. package/build/lib/megamenu.js.map +1 -1
  21. package/build/lib/scripts.js +1 -1
  22. package/build/lib/scripts.js.map +1 -1
  23. package/build/lib/style.css +1 -1
  24. package/build/lib/style.css.map +1 -1
  25. package/package.json +48 -48
  26. package/src/assets/icons/age-rating-3.svg +0 -0
  27. package/src/assets/icons/assistent.svg +0 -0
  28. package/src/assets/icons/boxes.svg +0 -0
  29. package/src/assets/icons/business-lounge.svg +0 -0
  30. package/src/assets/icons/calendar-30.svg +0 -0
  31. package/src/assets/icons/calendar-month.svg +0 -0
  32. package/src/assets/icons/communication-settings.svg +0 -0
  33. package/src/assets/icons/cookies.svg +0 -0
  34. package/src/assets/icons/currency-euro.svg +0 -0
  35. package/src/assets/icons/data-services.svg +0 -0
  36. package/src/assets/icons/device-mobile-package.svg +0 -0
  37. package/src/assets/icons/futher-education.svg +0 -0
  38. package/src/assets/icons/modifier-delete.svg +0 -0
  39. package/src/assets/icons/orange-experts-orange-business-consultant.svg +0 -0
  40. package/src/assets/icons/orange-messenger.svg +0 -0
  41. package/src/assets/icons/orange-reflect.svg +0 -0
  42. package/src/assets/icons/personal-smartphone-trainer.svg +0 -0
  43. package/src/assets/icons/unlimited-calls.svg +0 -0
  44. package/src/components/Accordion/Accordion.tsx +2 -1
  45. package/src/components/Accordion/AccordionItem.tsx +2 -1
  46. package/src/components/Alert/Alert.tsx +2 -1
  47. package/src/components/Avatar/Avatar.tsx +2 -1
  48. package/src/components/BlockAction/BlockAction.tsx +2 -1
  49. package/src/components/BlockAction/BlockActionControl.tsx +2 -1
  50. package/src/components/BlockAction/BlockActionIndicator.tsx +2 -1
  51. package/src/components/BlockAction/CloneElementWithClassName.tsx +2 -1
  52. package/src/components/BlockAction/Context.tsx +2 -1
  53. package/src/components/BlockAction/index.tsx +2 -1
  54. package/src/components/BodyBanner/styles/mixins.scss +15 -1
  55. package/src/components/BodyBanner/tests/BodyBanner.conformance.test.jsx +7 -4
  56. package/src/components/Button/IconButton.tsx +2 -1
  57. package/src/components/Button/index.tsx +2 -1
  58. package/src/components/Carousel/Carousel.tsx +2 -1
  59. package/src/components/Carousel/CarouselItem.tsx +2 -1
  60. package/src/components/CarouselHero/CarouselHero.tsx +2 -1
  61. package/src/components/CarouselHero/CarouselHeroItem.tsx +2 -1
  62. package/src/components/CarouselPromotions/CarouselPromotions.static.ts +1 -1
  63. package/src/components/CarouselPromotions/CarouselPromotions.tsx +2 -1
  64. package/src/components/CarouselPromotions/CarouselPromotionsItem.tsx +2 -1
  65. package/src/components/CarouselPromotions/styles/mixins.scss +2 -3
  66. package/src/components/Countdown/Countdown.react.ts +2 -2
  67. package/src/components/Countdown/Countdown.static.ts +5 -3
  68. package/src/components/Countdown/Countdown.tsx +2 -2
  69. package/src/components/Countdown/CountdownTag.static.ts +5 -3
  70. package/src/components/Countdown/CountdownTag.tsx +1 -1
  71. package/src/components/Divider/Divider.tsx +2 -1
  72. package/src/components/Dropdown/Dropdown.static.ts +2 -1
  73. package/src/components/Dropdown/Dropdown.tsx +5 -3
  74. package/src/components/Dropdown/DropdownItem.tsx +2 -1
  75. package/src/components/Dropdown/DropdownToggleButton.tsx +1 -1
  76. package/src/components/Dropdown/constants.ts +1 -0
  77. package/src/components/FeatureAccordion/FeatureAccordion.tsx +2 -1
  78. package/src/components/FeatureAccordion/FeatureAccordionItem.tsx +2 -1
  79. package/src/components/Forms/Autocomplete/Autocomplete.static.ts +2 -2
  80. package/src/components/Forms/Field/Field.tsx +2 -1
  81. package/src/components/Forms/Field/Label.tsx +2 -1
  82. package/src/components/Forms/Fieldset/Fieldset.tsx +2 -1
  83. package/src/components/Forms/File/File.tsx +2 -1
  84. package/src/components/Forms/Group/Group.tsx +2 -1
  85. package/src/components/Forms/Group/Item.tsx +2 -1
  86. package/src/components/Forms/RangeSlider/RangeSlider.static.ts +4 -2
  87. package/src/components/Forms/Select/index.tsx +2 -1
  88. package/src/components/Gauge/Gauge.tsx +2 -1
  89. package/src/components/Icon/Pictogram.tsx +2 -1
  90. package/src/components/Icon/SpritePathContext.tsx +2 -1
  91. package/src/components/Icon/styles/config.scss +17 -2
  92. package/src/components/Icon/styles/export/size.js +4 -3
  93. package/src/components/Icon/styles/style.scss +9 -0
  94. package/src/components/Icon/tests/Icon.styles.unit.test.jsx +12 -0
  95. package/src/components/Loader/Loader.tsx +2 -1
  96. package/src/components/Loader/LoaderFullscreen.tsx +2 -1
  97. package/src/components/Megamenu/Megamenu.tsx +2 -7
  98. package/src/components/Megamenu/MegamenuBlog.tsx +1 -1
  99. package/src/components/Modal/ModalCloseButton.tsx +2 -2
  100. package/src/components/Pagination/Separator.tsx +1 -1
  101. package/src/components/Pill/Pill.tsx +2 -1
  102. package/src/components/PromoBanner/styles/mixins.scss +10 -0
  103. package/src/components/PromoBanner/styles/style.scss +5 -0
  104. package/src/components/PromotionCard/PromotionCard.tsx +2 -2
  105. package/src/components/SkipLink/SkipLink.tsx +2 -1
  106. package/src/components/StarRating/StarRating.tsx +5 -1
  107. package/src/components/StarRating/styles/style.scss +9 -2
  108. package/src/components/StarRating/tests/StarRating.unit.test.jsx +7 -1
  109. package/src/components/Table/Footer.tsx +1 -1
  110. package/src/components/Table/Header.tsx +1 -1
  111. package/src/components/Table/Row.tsx +1 -1
  112. package/src/components/Table/Rows.tsx +1 -1
  113. package/src/components/Table/Table.tsx +1 -1
  114. package/src/components/Table/TableContext.ts +1 -1
  115. package/src/components/Tag/Tag.tsx +4 -3
  116. package/src/components/Tag/TagButton.tsx +1 -1
  117. package/src/components/Tag/constants.ts +1 -0
  118. package/src/components/Tag/styles/mixins.scss +2 -2
  119. package/src/components/Tile/Tile.tsx +3 -2
  120. package/src/components/Tile/styles/mixins.scss +2 -4
  121. package/src/components/Tile/styles/style.scss +9 -1
  122. package/src/components/Tooltip/InfoTooltip.tsx +2 -1
  123. package/src/components/Tooltip/Tooltip.static.ts +2 -2
  124. package/src/styles/tokens/space.scss +3 -1
  125. package/src/styles/tools/generate.scss +4 -2
  126. package/src/styles/utilities/color.scss +7 -6
  127. package/build/components/tsconfig.tsbuildinfo +0 -1
  128. package/build/components/types/src/components/Accordion/Accordion.d.ts +0 -19
  129. package/build/components/types/src/components/Accordion/Accordion.static.d.ts +0 -20
  130. package/build/components/types/src/components/Accordion/AccordionHeader.d.ts +0 -18
  131. package/build/components/types/src/components/Accordion/AccordionItem.d.ts +0 -20
  132. package/build/components/types/src/components/Accordion/HeadingContext.d.ts +0 -2
  133. package/build/components/types/src/components/Accordion/index.d.ts +0 -2
  134. package/build/components/types/src/components/Accordion/tests/data.d.ts +0 -5
  135. package/build/components/types/src/components/Alert/Alert.d.ts +0 -23
  136. package/build/components/types/src/components/Alert/data.d.ts +0 -7
  137. package/build/components/types/src/components/Alert/index.d.ts +0 -1
  138. package/build/components/types/src/components/AnchorNavigation/AnchorNavigation.d.ts +0 -16
  139. package/build/components/types/src/components/AnchorNavigation/AnchorNavigation.static.d.ts +0 -102
  140. package/build/components/types/src/components/AnchorNavigation/index.d.ts +0 -1
  141. package/build/components/types/src/components/Avatar/Avatar.d.ts +0 -7
  142. package/build/components/types/src/components/Avatar/index.d.ts +0 -2
  143. package/build/components/types/src/components/Bar/Bar.d.ts +0 -22
  144. package/build/components/types/src/components/Bar/BarBreak.d.ts +0 -12
  145. package/build/components/types/src/components/Bar/BarItem.d.ts +0 -16
  146. package/build/components/types/src/components/Bar/index.d.ts +0 -3
  147. package/build/components/types/src/components/BlockAction/BlockAction.d.ts +0 -11
  148. package/build/components/types/src/components/BlockAction/BlockAction.static.d.ts +0 -19
  149. package/build/components/types/src/components/BlockAction/BlockActionControl.d.ts +0 -9
  150. package/build/components/types/src/components/BlockAction/BlockActionIndicator.d.ts +0 -9
  151. package/build/components/types/src/components/BlockAction/CloneElementWithClassName.d.ts +0 -8
  152. package/build/components/types/src/components/BlockAction/Context.d.ts +0 -15
  153. package/build/components/types/src/components/BlockAction/index.d.ts +0 -13
  154. package/build/components/types/src/components/BodyBanner/BodyBanner.d.ts +0 -20
  155. package/build/components/types/src/components/BodyBanner/index.d.ts +0 -1
  156. package/build/components/types/src/components/Breadcrumbs/BreadcrumbItem.d.ts +0 -15
  157. package/build/components/types/src/components/Breadcrumbs/Breadcrumbs.d.ts +0 -18
  158. package/build/components/types/src/components/Breadcrumbs/index.d.ts +0 -1
  159. package/build/components/types/src/components/Button/Button.d.ts +0 -25
  160. package/build/components/types/src/components/Button/IconButton.d.ts +0 -18
  161. package/build/components/types/src/components/Button/index.d.ts +0 -15
  162. package/build/components/types/src/components/Buttons/Buttons.d.ts +0 -8
  163. package/build/components/types/src/components/Buttons/index.d.ts +0 -1
  164. package/build/components/types/src/components/Card/Card.d.ts +0 -11
  165. package/build/components/types/src/components/Card/CardProductHeader.d.ts +0 -9
  166. package/build/components/types/src/components/Card/CardSection.d.ts +0 -14
  167. package/build/components/types/src/components/Card/index.d.ts +0 -4
  168. package/build/components/types/src/components/Card/tests/data.d.ts +0 -5
  169. package/build/components/types/src/components/Carousel/Carousel.d.ts +0 -23
  170. package/build/components/types/src/components/Carousel/Carousel.static.d.ts +0 -101
  171. package/build/components/types/src/components/Carousel/CarouselItem.d.ts +0 -7
  172. package/build/components/types/src/components/Carousel/constants.d.ts +0 -27
  173. package/build/components/types/src/components/Carousel/index.d.ts +0 -2
  174. package/build/components/types/src/components/CarouselHero/CarouselHero.d.ts +0 -19
  175. package/build/components/types/src/components/CarouselHero/CarouselHero.static.d.ts +0 -50
  176. package/build/components/types/src/components/CarouselHero/CarouselHeroItem.d.ts +0 -8
  177. package/build/components/types/src/components/CarouselHero/constants.d.ts +0 -33
  178. package/build/components/types/src/components/CarouselHero/index.d.ts +0 -2
  179. package/build/components/types/src/components/CarouselPromotions/CarouselPromotions.d.ts +0 -9
  180. package/build/components/types/src/components/CarouselPromotions/CarouselPromotions.static.d.ts +0 -36
  181. package/build/components/types/src/components/CarouselPromotions/CarouselPromotionsItem.d.ts +0 -12
  182. package/build/components/types/src/components/CarouselPromotions/constants.d.ts +0 -20
  183. package/build/components/types/src/components/CarouselPromotions/index.d.ts +0 -2
  184. package/build/components/types/src/components/CartTable/CartTable.d.ts +0 -13
  185. package/build/components/types/src/components/CartTable/FooterNameColumn.d.ts +0 -7
  186. package/build/components/types/src/components/CartTable/FooterPriceColumn.d.ts +0 -9
  187. package/build/components/types/src/components/CartTable/Price.d.ts +0 -10
  188. package/build/components/types/src/components/CartTable/data.d.ts +0 -33
  189. package/build/components/types/src/components/CartTable/generateFooter.d.ts +0 -22
  190. package/build/components/types/src/components/CartTable/generateRow.d.ts +0 -21
  191. package/build/components/types/src/components/CartTable/generateTotal.d.ts +0 -45
  192. package/build/components/types/src/components/CartTable/index.d.ts +0 -1
  193. package/build/components/types/src/components/Code/Code.d.ts +0 -16
  194. package/build/components/types/src/components/Code/index.d.ts +0 -6
  195. package/build/components/types/src/components/Container/Container.d.ts +0 -3
  196. package/build/components/types/src/components/Container/index.d.ts +0 -1
  197. package/build/components/types/src/components/Controls/Controls.d.ts +0 -15
  198. package/build/components/types/src/components/Controls/index.d.ts +0 -1
  199. package/build/components/types/src/components/Countdown/Countdown.d.ts +0 -10
  200. package/build/components/types/src/components/Countdown/Countdown.react.d.ts +0 -8
  201. package/build/components/types/src/components/Countdown/Countdown.shared.d.ts +0 -54
  202. package/build/components/types/src/components/Countdown/Countdown.static.d.ts +0 -21
  203. package/build/components/types/src/components/Countdown/CountdownTag.d.ts +0 -9
  204. package/build/components/types/src/components/Countdown/CountdownTag.static.d.ts +0 -16
  205. package/build/components/types/src/components/Countdown/constants.d.ts +0 -28
  206. package/build/components/types/src/components/Countdown/index.d.ts +0 -3
  207. package/build/components/types/src/components/Cover/Cover.d.ts +0 -42
  208. package/build/components/types/src/components/Cover/index.d.ts +0 -2
  209. package/build/components/types/src/components/Divider/Divider.d.ts +0 -9
  210. package/build/components/types/src/components/Divider/index.d.ts +0 -1
  211. package/build/components/types/src/components/DocumentationSidebar/DocumentationSidebar.d.ts +0 -18
  212. package/build/components/types/src/components/DocumentationSidebar/index.d.ts +0 -3
  213. package/build/components/types/src/components/Dropdown/Dropdown.d.ts +0 -22
  214. package/build/components/types/src/components/Dropdown/Dropdown.static.d.ts +0 -28
  215. package/build/components/types/src/components/Dropdown/DropdownDivider.d.ts +0 -3
  216. package/build/components/types/src/components/Dropdown/DropdownItem.d.ts +0 -9
  217. package/build/components/types/src/components/Dropdown/DropdownToggleButton.d.ts +0 -7
  218. package/build/components/types/src/components/Dropdown/index.d.ts +0 -4
  219. package/build/components/types/src/components/Expander/Expander.d.ts +0 -25
  220. package/build/components/types/src/components/Expander/Expander.static.d.ts +0 -14
  221. package/build/components/types/src/components/Expander/index.d.ts +0 -1
  222. package/build/components/types/src/components/FeatureAccordion/FeatureAccordion.d.ts +0 -25
  223. package/build/components/types/src/components/FeatureAccordion/FeatureAccordion.static.d.ts +0 -19
  224. package/build/components/types/src/components/FeatureAccordion/FeatureAccordionItem.d.ts +0 -12
  225. package/build/components/types/src/components/FeatureAccordion/index.d.ts +0 -2
  226. package/build/components/types/src/components/Footer/Footer.d.ts +0 -8
  227. package/build/components/types/src/components/Footer/Footer.static.d.ts +0 -21
  228. package/build/components/types/src/components/Footer/PlanObnovy.d.ts +0 -1
  229. package/build/components/types/src/components/Footer/constants.d.ts +0 -20
  230. package/build/components/types/src/components/Footer/data.d.ts +0 -26
  231. package/build/components/types/src/components/Footer/index.d.ts +0 -1
  232. package/build/components/types/src/components/Footer/static.d.ts +0 -21
  233. package/build/components/types/src/components/Forms/Autocomplete/Autocomplete.d.ts +0 -19
  234. package/build/components/types/src/components/Forms/Autocomplete/Autocomplete.static.d.ts +0 -33
  235. package/build/components/types/src/components/Forms/Autocomplete/index.d.ts +0 -1
  236. package/build/components/types/src/components/Forms/Checkbox/Checkbox.d.ts +0 -21
  237. package/build/components/types/src/components/Forms/Checkbox/index.d.ts +0 -1
  238. package/build/components/types/src/components/Forms/DatePicker/DatePicker.d.ts +0 -84
  239. package/build/components/types/src/components/Forms/DatePicker/DatePicker.static.d.ts +0 -69
  240. package/build/components/types/src/components/Forms/DatePicker/index.d.ts +0 -1
  241. package/build/components/types/src/components/Forms/Field/Control.d.ts +0 -6
  242. package/build/components/types/src/components/Forms/Field/Description.d.ts +0 -7
  243. package/build/components/types/src/components/Forms/Field/Field.d.ts +0 -17
  244. package/build/components/types/src/components/Forms/Field/FieldContext.d.ts +0 -18
  245. package/build/components/types/src/components/Forms/Field/Label.d.ts +0 -11
  246. package/build/components/types/src/components/Forms/Field/Messages.d.ts +0 -12
  247. package/build/components/types/src/components/Forms/Field/Tooltip.d.ts +0 -11
  248. package/build/components/types/src/components/Forms/Field/index.d.ts +0 -1
  249. package/build/components/types/src/components/Forms/Field/utils.d.ts +0 -16
  250. package/build/components/types/src/components/Forms/Fieldset/Fieldset.d.ts +0 -16
  251. package/build/components/types/src/components/Forms/Fieldset/FieldsetContext.d.ts +0 -7
  252. package/build/components/types/src/components/Forms/Fieldset/docsData.d.ts +0 -59
  253. package/build/components/types/src/components/Forms/Fieldset/index.d.ts +0 -1
  254. package/build/components/types/src/components/Forms/File/File.d.ts +0 -17
  255. package/build/components/types/src/components/Forms/File/File.static.d.ts +0 -27
  256. package/build/components/types/src/components/Forms/File/index.d.ts +0 -1
  257. package/build/components/types/src/components/Forms/Group/Group.d.ts +0 -16
  258. package/build/components/types/src/components/Forms/Group/Item.d.ts +0 -8
  259. package/build/components/types/src/components/Forms/Group/index.d.ts +0 -1
  260. package/build/components/types/src/components/Forms/Hint/Hint.d.ts +0 -7
  261. package/build/components/types/src/components/Forms/Hint/index.d.ts +0 -1
  262. package/build/components/types/src/components/Forms/InputStepper/InputStepper.d.ts +0 -21
  263. package/build/components/types/src/components/Forms/InputStepper/InputStepper.static.d.ts +0 -24
  264. package/build/components/types/src/components/Forms/InputStepper/index.d.ts +0 -1
  265. package/build/components/types/src/components/Forms/Label/Label.d.ts +0 -8
  266. package/build/components/types/src/components/Forms/Label/index.d.ts +0 -1
  267. package/build/components/types/src/components/Forms/Message/Message.d.ts +0 -12
  268. package/build/components/types/src/components/Forms/Message/index.d.ts +0 -1
  269. package/build/components/types/src/components/Forms/Radio/Radio.d.ts +0 -21
  270. package/build/components/types/src/components/Forms/Radio/index.d.ts +0 -1
  271. package/build/components/types/src/components/Forms/RangeSlider/RangeSlider.d.ts +0 -40
  272. package/build/components/types/src/components/Forms/RangeSlider/RangeSlider.static.d.ts +0 -24
  273. package/build/components/types/src/components/Forms/RangeSlider/data.d.ts +0 -49
  274. package/build/components/types/src/components/Forms/RangeSlider/index.d.ts +0 -1
  275. package/build/components/types/src/components/Forms/Select/Select.d.ts +0 -33
  276. package/build/components/types/src/components/Forms/Select/index.d.ts +0 -3
  277. package/build/components/types/src/components/Forms/TextArea/TextArea.d.ts +0 -29
  278. package/build/components/types/src/components/Forms/TextArea/index.d.ts +0 -1
  279. package/build/components/types/src/components/Forms/TextInput/TextInput.d.ts +0 -35
  280. package/build/components/types/src/components/Forms/TextInput/index.d.ts +0 -1
  281. package/build/components/types/src/components/Forms/index.d.ts +0 -16
  282. package/build/components/types/src/components/Gauge/Gauge.d.ts +0 -11
  283. package/build/components/types/src/components/Gauge/GaugeMaker.d.ts +0 -3
  284. package/build/components/types/src/components/Gauge/index.d.ts +0 -1
  285. package/build/components/types/src/components/Grid/Grid.d.ts +0 -14
  286. package/build/components/types/src/components/Grid/GridCol.d.ts +0 -12
  287. package/build/components/types/src/components/Grid/index.d.ts +0 -2
  288. package/build/components/types/src/components/Hero/Hero.d.ts +0 -49
  289. package/build/components/types/src/components/Hero/index.d.ts +0 -1
  290. package/build/components/types/src/components/Icon/Icon.d.ts +0 -30
  291. package/build/components/types/src/components/Icon/IconSearch.d.ts +0 -6
  292. package/build/components/types/src/components/Icon/IconSearchWrapper.d.ts +0 -1
  293. package/build/components/types/src/components/Icon/Pictogram.d.ts +0 -22
  294. package/build/components/types/src/components/Icon/PictogramSearch.d.ts +0 -6
  295. package/build/components/types/src/components/Icon/PictogramSearchWrapper.d.ts +0 -1
  296. package/build/components/types/src/components/Icon/SpritePathContext.d.ts +0 -8
  297. package/build/components/types/src/components/Icon/iconSearchTags.d.ts +0 -427
  298. package/build/components/types/src/components/Icon/iconUtils.d.ts +0 -2
  299. package/build/components/types/src/components/Icon/index.d.ts +0 -3
  300. package/build/components/types/src/components/IconList/IconList.d.ts +0 -13
  301. package/build/components/types/src/components/IconList/Item.d.ts +0 -9
  302. package/build/components/types/src/components/IconList/index.d.ts +0 -2
  303. package/build/components/types/src/components/Image/Image.d.ts +0 -20
  304. package/build/components/types/src/components/Image/index.d.ts +0 -1
  305. package/build/components/types/src/components/Link/Link.d.ts +0 -18
  306. package/build/components/types/src/components/Link/index.d.ts +0 -1
  307. package/build/components/types/src/components/List/ClickableControl.d.ts +0 -9
  308. package/build/components/types/src/components/List/List.d.ts +0 -13
  309. package/build/components/types/src/components/List/ListItem.d.ts +0 -16
  310. package/build/components/types/src/components/List/index.d.ts +0 -2
  311. package/build/components/types/src/components/Loader/Loader.d.ts +0 -14
  312. package/build/components/types/src/components/Loader/Loader.static.d.ts +0 -19
  313. package/build/components/types/src/components/Loader/LoaderFullscreen.d.ts +0 -7
  314. package/build/components/types/src/components/Loader/index.d.ts +0 -2
  315. package/build/components/types/src/components/Megamenu/BrandMark.d.ts +0 -1
  316. package/build/components/types/src/components/Megamenu/Logo.d.ts +0 -1
  317. package/build/components/types/src/components/Megamenu/LogoJeTu.d.ts +0 -1
  318. package/build/components/types/src/components/Megamenu/MegaMenuIcon.d.ts +0 -13
  319. package/build/components/types/src/components/Megamenu/Megamenu.d.ts +0 -20
  320. package/build/components/types/src/components/Megamenu/Megamenu.static.d.ts +0 -63
  321. package/build/components/types/src/components/Megamenu/MegamenuBlog.d.ts +0 -2
  322. package/build/components/types/src/components/Megamenu/MegamenuSearchContent.d.ts +0 -10
  323. package/build/components/types/src/components/Megamenu/MyOrangeMobilePanel.d.ts +0 -8
  324. package/build/components/types/src/components/Megamenu/constants.d.ts +0 -86
  325. package/build/components/types/src/components/Megamenu/data.d.ts +0 -29
  326. package/build/components/types/src/components/Megamenu/ids.d.ts +0 -11
  327. package/build/components/types/src/components/Megamenu/index.d.ts +0 -3
  328. package/build/components/types/src/components/Megamenu/shared.d.ts +0 -40
  329. package/build/components/types/src/components/Megamenu/static.d.ts +0 -21
  330. package/build/components/types/src/components/Modal/Modal.d.ts +0 -39
  331. package/build/components/types/src/components/Modal/Modal.static.d.ts +0 -37
  332. package/build/components/types/src/components/Modal/ModalBody.d.ts +0 -12
  333. package/build/components/types/src/components/Modal/ModalCloseButton.d.ts +0 -8
  334. package/build/components/types/src/components/Modal/ModalProductFooter.d.ts +0 -10
  335. package/build/components/types/src/components/Modal/ModalProductHeader.d.ts +0 -11
  336. package/build/components/types/src/components/Modal/ModalTitle.d.ts +0 -9
  337. package/build/components/types/src/components/Modal/index.d.ts +0 -6
  338. package/build/components/types/src/components/Pagination/Pagination.d.ts +0 -25
  339. package/build/components/types/src/components/Pagination/PaginationItem.d.ts +0 -21
  340. package/build/components/types/src/components/Pagination/Separator.d.ts +0 -6
  341. package/build/components/types/src/components/Pagination/helpers.d.ts +0 -23
  342. package/build/components/types/src/components/Pagination/index.d.ts +0 -3
  343. package/build/components/types/src/components/Pill/Pill.d.ts +0 -11
  344. package/build/components/types/src/components/Pill/index.d.ts +0 -1
  345. package/build/components/types/src/components/Preview/CodeExample.d.ts +0 -12
  346. package/build/components/types/src/components/Preview/Preview.d.ts +0 -9
  347. package/build/components/types/src/components/Preview/PreviewGenerator.d.ts +0 -30
  348. package/build/components/types/src/components/Preview/PreviewTitleBar.d.ts +0 -9
  349. package/build/components/types/src/components/Preview/getElementDisplayName.d.ts +0 -1
  350. package/build/components/types/src/components/Preview/index.d.ts +0 -9
  351. package/build/components/types/src/components/Progress/Progress.d.ts +0 -14
  352. package/build/components/types/src/components/Progress/index.d.ts +0 -1
  353. package/build/components/types/src/components/PromoBanner/PromoBanner.d.ts +0 -25
  354. package/build/components/types/src/components/PromoBanner/index.d.ts +0 -1
  355. package/build/components/types/src/components/PromotionCard/PromotionCard.d.ts +0 -9
  356. package/build/components/types/src/components/PromotionCard/PromotionCardContent.d.ts +0 -8
  357. package/build/components/types/src/components/PromotionCard/PromotionCardImageWrapper.d.ts +0 -8
  358. package/build/components/types/src/components/PromotionCard/PromotionCardSection.d.ts +0 -9
  359. package/build/components/types/src/components/PromotionCard/PromotionCardTitle.d.ts +0 -8
  360. package/build/components/types/src/components/PromotionCard/constants.d.ts +0 -5
  361. package/build/components/types/src/components/PromotionCard/index.d.ts +0 -5
  362. package/build/components/types/src/components/Section/Section.d.ts +0 -26
  363. package/build/components/types/src/components/Section/index.d.ts +0 -1
  364. package/build/components/types/src/components/Skeleton/Skeleton.d.ts +0 -3
  365. package/build/components/types/src/components/Skeleton/index.d.ts +0 -1
  366. package/build/components/types/src/components/SkipLink/SkipLink.d.ts +0 -6
  367. package/build/components/types/src/components/SkipLink/index.d.ts +0 -1
  368. package/build/components/types/src/components/SocialButton/SocialButton.d.ts +0 -13
  369. package/build/components/types/src/components/SocialButton/index.d.ts +0 -1
  370. package/build/components/types/src/components/StarRating/StarRating.d.ts +0 -9
  371. package/build/components/types/src/components/StarRating/index.d.ts +0 -1
  372. package/build/components/types/src/components/Stepbar/Stepbar.d.ts +0 -19
  373. package/build/components/types/src/components/Stepbar/index.d.ts +0 -1
  374. package/build/components/types/src/components/Sticker/Sticker.d.ts +0 -10
  375. package/build/components/types/src/components/Sticker/index.d.ts +0 -2
  376. package/build/components/types/src/components/Table/Cell.d.ts +0 -11
  377. package/build/components/types/src/components/Table/Footer.d.ts +0 -3
  378. package/build/components/types/src/components/Table/Header.d.ts +0 -3
  379. package/build/components/types/src/components/Table/Row.d.ts +0 -10
  380. package/build/components/types/src/components/Table/Rows.d.ts +0 -3
  381. package/build/components/types/src/components/Table/Table.d.ts +0 -24
  382. package/build/components/types/src/components/Table/Table.static.d.ts +0 -23
  383. package/build/components/types/src/components/Table/TableContext.d.ts +0 -4
  384. package/build/components/types/src/components/Table/docsData.d.ts +0 -41
  385. package/build/components/types/src/components/Table/index.d.ts +0 -2
  386. package/build/components/types/src/components/Table/types.d.ts +0 -35
  387. package/build/components/types/src/components/Tabs/Tab.d.ts +0 -13
  388. package/build/components/types/src/components/Tabs/TabPanel.d.ts +0 -20
  389. package/build/components/types/src/components/Tabs/Tabs.d.ts +0 -18
  390. package/build/components/types/src/components/Tabs/Tabs.static.d.ts +0 -40
  391. package/build/components/types/src/components/Tabs/index.d.ts +0 -3
  392. package/build/components/types/src/components/Tag/Tag.d.ts +0 -29
  393. package/build/components/types/src/components/Tag/TagButton.d.ts +0 -12
  394. package/build/components/types/src/components/Tag/index.d.ts +0 -3
  395. package/build/components/types/src/components/Tile/Tile.d.ts +0 -16
  396. package/build/components/types/src/components/Tile/index.d.ts +0 -1
  397. package/build/components/types/src/components/Timeline/Timeline.d.ts +0 -13
  398. package/build/components/types/src/components/Timeline/index.d.ts +0 -2
  399. package/build/components/types/src/components/Tooltip/InfoTooltip.d.ts +0 -8
  400. package/build/components/types/src/components/Tooltip/Tooltip.d.ts +0 -24
  401. package/build/components/types/src/components/Tooltip/Tooltip.static.d.ts +0 -30
  402. package/build/components/types/src/components/Tooltip/index.d.ts +0 -2
  403. package/build/components/types/src/components/Tooltip/tests/BaseWrapper.d.ts +0 -3
  404. package/build/components/types/src/components/index.d.ts +0 -54
  405. package/build/components/types/src/components/static.d.ts +0 -1
  406. package/build/components/types/src/docs/utils/SpacePreview.d.ts +0 -2
  407. package/build/components/types/src/docs/utils/ToggleButton.d.ts +0 -9
  408. package/build/components/types/src/scripts/index.d.ts +0 -131
  409. package/build/components/types/src/scripts/lib/moduleFactory.d.ts +0 -3
  410. package/build/components/types/src/scripts/modules/SameHeight.d.ts +0 -22
  411. package/build/components/types/src/scripts/modules/SpacePreview/SpacePreview.d.ts +0 -23
  412. package/build/components/types/src/scripts/modules/SpacePreview/index.d.ts +0 -2
  413. package/build/components/types/src/scripts/modules/Toggle.d.ts +0 -42
  414. package/build/components/types/src/scripts/modules/toggleUtil.d.ts +0 -13
  415. package/build/components/types/src/styles/export/breakpoint.d.ts +0 -9
  416. package/build/components/types/src/styles/export/color.d.ts +0 -107
  417. package/build/components/types/src/styles/export/space.d.ts +0 -9
  418. package/build/components/types/src/utils/ConditionalWrapper.d.ts +0 -10
  419. package/build/components/types/src/utils/classes.d.ts +0 -5
  420. package/build/components/types/src/utils/color.d.ts +0 -20
  421. package/build/components/types/src/utils/constants.d.ts +0 -18
  422. package/build/components/types/src/utils/formatCode.d.ts +0 -5
  423. package/build/components/types/src/utils/generateId.d.ts +0 -6
  424. package/build/components/types/src/utils/helpers.d.ts +0 -11
  425. package/build/components/types/src/utils/hooks.d.ts +0 -30
  426. package/build/components/types/src/utils/index.d.ts +0 -5
  427. package/build/components/types/src/utils/keyboard.d.ts +0 -14
  428. package/build/lib/tsconfig.tsbuildinfo +0 -1
@@ -1,12 +0,0 @@
1
- import React from "react";
2
- interface BarBreakProps extends React.HTMLAttributes<HTMLElement> {
3
- /** HTML tag to render the compontent with */
4
- tag?: React.ElementType;
5
- /** Additional class names */
6
- className?: string;
7
- /** Child content */
8
- children?: React.ReactNode;
9
- }
10
- export declare const CLASS_ROOT = "bar__break";
11
- declare const BarBreak: React.ForwardRefExoticComponent<BarBreakProps & React.RefAttributes<HTMLElement>>;
12
- export { BarBreak };
@@ -1,16 +0,0 @@
1
- import React from "react";
2
- interface CommonProps {
3
- /** Bar item could shrink and wrap content if there is not enough empty space */
4
- canShrink?: boolean;
5
- /** Bar item should fill empty space */
6
- isFilling?: boolean;
7
- /** Tag of the item */
8
- tag?: React.ElementType;
9
- /** Additional class name */
10
- className?: string;
11
- /** Child content */
12
- children?: React.ReactNode;
13
- }
14
- export declare const CLASS_ROOT = "bar__item";
15
- declare const BarItem: React.ForwardRefExoticComponent<CommonProps & React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
16
- export { BarItem };
@@ -1,3 +0,0 @@
1
- export { Bar } from "./Bar";
2
- export { BarBreak } from "./BarBreak";
3
- export { BarItem } from "./BarItem";
@@ -1,11 +0,0 @@
1
- import React, { ReactElement } from "react";
2
- export interface BlockActionProps {
3
- /** 1 and only one single element */
4
- children: ReactElement;
5
- className?: string;
6
- /** Add border on hover */
7
- hasBorderOnHover?: boolean;
8
- [key: string]: any;
9
- }
10
- declare const BlockAction: React.FC<BlockActionProps>;
11
- export { BlockAction };
@@ -1,19 +0,0 @@
1
- export interface BlockActionConfig {
2
- controlSelector: string;
3
- indicatorSelector: string;
4
- activeClass: string;
5
- }
6
- export declare const defaultConfig: BlockActionConfig;
7
- export default class BlockAction {
8
- private element;
9
- private config;
10
- private controlElement;
11
- private indicatorElements;
12
- constructor(element: HTMLElement, config?: Partial<BlockActionConfig>);
13
- private init;
14
- private highlightIndicators;
15
- private unhighlightIndicators;
16
- destroy(): void;
17
- update(): void;
18
- static getInstance(el: HTMLElement): BlockAction | null;
19
- }
@@ -1,9 +0,0 @@
1
- import React, { ReactElement } from "react";
2
- export interface BlockActionControlProps {
3
- /** 1 and only one single element */
4
- children: ReactElement;
5
- className?: string;
6
- [key: string]: any;
7
- }
8
- declare const BlockActionControl: React.FC<BlockActionControlProps>;
9
- export { BlockActionControl };
@@ -1,9 +0,0 @@
1
- import React, { ReactElement } from "react";
2
- export interface BlockActionIndicatorProps {
3
- /** 1 and only one single element */
4
- children: ReactElement;
5
- className?: string;
6
- [key: string]: any;
7
- }
8
- declare const BlockActionIndicator: React.FC<BlockActionIndicatorProps>;
9
- export { BlockActionIndicator };
@@ -1,8 +0,0 @@
1
- import React, { ReactElement } from "react";
2
- interface CloneElementWithClassNameProps {
3
- className?: string;
4
- children: ReactElement<any>;
5
- [key: string]: any;
6
- }
7
- declare const CloneElementWithClassName: React.FC<CloneElementWithClassNameProps>;
8
- export { CloneElementWithClassName };
@@ -1,15 +0,0 @@
1
- import React, { Dispatch, ReactNode, SetStateAction } from "react";
2
- interface ContextType {
3
- isIndicating: boolean;
4
- isActive: boolean;
5
- setIsActive: Dispatch<SetStateAction<boolean>>;
6
- setIsIndicating: Dispatch<SetStateAction<boolean>>;
7
- hasBorderOnHover?: boolean;
8
- }
9
- export declare const Context: React.Context<ContextType>;
10
- interface ProviderProps {
11
- children: ReactNode;
12
- hasBorderOnHover?: boolean;
13
- }
14
- export declare const Provider: React.FC<ProviderProps>;
15
- export {};
@@ -1,13 +0,0 @@
1
- import React, { ReactElement } from "react";
2
- import { BlockAction } from "./BlockAction";
3
- import { BlockActionControl } from "./BlockActionControl";
4
- import { BlockActionIndicator } from "./BlockActionIndicator";
5
- export interface BlockActionOverrideProps {
6
- /** 1 and only one single element */
7
- children: ReactElement;
8
- className?: string;
9
- [key: string]: any;
10
- }
11
- export { BlockAction, BlockActionControl };
12
- declare const BlockActionOverride: React.FC<BlockActionOverrideProps>;
13
- export { BlockActionIndicator, BlockActionOverride };
@@ -1,20 +0,0 @@
1
- import React from "react";
2
- export declare const bodyBannerColors: readonly ["background-primary", "background-accent", "surface-subtle"];
3
- export type BodyBannerColor = (typeof bodyBannerColors)[number];
4
- interface BodyBannerProps {
5
- size?: "large";
6
- /** Background color using design tokens */
7
- color?: BodyBannerColor;
8
- /** Additional CSS classes */
9
- className?: string;
10
- /** Image element */
11
- image?: React.ReactNode;
12
- /** Content area - typically heading and description */
13
- children?: React.ReactNode;
14
- /** Button text */
15
- buttonText?: string;
16
- /** Additional CSS classes for button */
17
- buttonClassName?: string;
18
- }
19
- export declare const BodyBanner: ({ className, size, color, image, children, buttonText, buttonClassName, ...other }: BodyBannerProps) => React.JSX.Element;
20
- export {};
@@ -1 +0,0 @@
1
- export { BodyBanner } from "./BodyBanner";
@@ -1,15 +0,0 @@
1
- import React from "react";
2
- interface BreadcrumbItemProps {
3
- /** Additional CSS classes */
4
- className?: string;
5
- /** Current page item */
6
- isCurrent?: boolean;
7
- /** Item text */
8
- text: string;
9
- /** Item URL. Omit the URL for current item. */
10
- url?: string;
11
- /** Additional props */
12
- [key: string]: any;
13
- }
14
- declare const BreadcrumbItem: React.FC<BreadcrumbItemProps>;
15
- export { BreadcrumbItem };
@@ -1,18 +0,0 @@
1
- interface BreadcrumbItemData {
2
- /** Item text */
3
- text: string;
4
- /** Item URL. Omit the URL for current item. */
5
- url?: string;
6
- }
7
- interface BreadcrumbsProps {
8
- /** Additional CSS classes */
9
- className?: string;
10
- /** Breadcrumb items */
11
- items: BreadcrumbItemData[];
12
- /** Navigation label */
13
- label?: string;
14
- /** Additional props */
15
- [key: string]: any;
16
- }
17
- declare const Breadcrumbs: React.FC<BreadcrumbsProps>;
18
- export { Breadcrumbs };
@@ -1 +0,0 @@
1
- export { Breadcrumbs } from "./Breadcrumbs";
@@ -1,25 +0,0 @@
1
- import React from "react";
2
- export type ButtonSize = "small" | "large";
3
- export type ButtonType = "primary" | "fill" | "ghost";
4
- interface CommonProps {
5
- elemRef?: React.Ref<any>;
6
- htmlType?: "button" | "submit" | "reset";
7
- isActive?: boolean;
8
- isDefault?: boolean;
9
- isDisabled?: boolean;
10
- isSquare?: boolean;
11
- size?: ButtonSize;
12
- type?: ButtonType;
13
- className?: string;
14
- children?: React.ReactNode;
15
- preserveWidth?: boolean;
16
- }
17
- type AnchorProps = CommonProps & Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, keyof CommonProps | "type" | "ref"> & {
18
- href: string;
19
- };
20
- type NativeButtonProps = CommonProps & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, keyof CommonProps | "href" | "ref"> & {
21
- href?: undefined;
22
- };
23
- export type ButtonProps = AnchorProps | NativeButtonProps;
24
- declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<any>>;
25
- export { Button };
@@ -1,18 +0,0 @@
1
- import React from "react";
2
- import { ButtonSize } from "./Button";
3
- export type IconPosition = "left" | "right";
4
- export interface IconButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "ref"> {
5
- /** Name of the icon */
6
- iconName: string;
7
- /** Position of the icon */
8
- iconPosition?: IconPosition;
9
- /** Class of the icon */
10
- iconClassName?: string;
11
- /** Button size. Also affects icon size */
12
- size?: ButtonSize;
13
- /** Use square button. Children are rendered as visually hidden */
14
- isSquare?: boolean;
15
- children?: React.ReactNode;
16
- }
17
- declare const IconButton: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLButtonElement>>;
18
- export { IconButton };
@@ -1,15 +0,0 @@
1
- import { Button, ButtonProps } from "./Button";
2
- import { IconButton } from "./IconButton";
3
- export declare const ButtonPrimary: {
4
- (props: ButtonProps): import("react").JSX.Element;
5
- displayName: string;
6
- };
7
- export declare const ButtonFill: {
8
- (props: ButtonProps): import("react").JSX.Element;
9
- displayName: string;
10
- };
11
- export declare const ButtonGhost: {
12
- (props: ButtonProps): import("react").JSX.Element;
13
- displayName: string;
14
- };
15
- export { Button, IconButton };
@@ -1,8 +0,0 @@
1
- interface ButtonsProps extends React.HTMLAttributes<HTMLDivElement> {
2
- /** On XS viewport, forces buttons to stack vertically and span the available width. */
3
- isStackedOnXs?: boolean;
4
- className?: string;
5
- children?: React.ReactNode;
6
- }
7
- declare const Buttons: React.FC<ButtonsProps>;
8
- export { Buttons };
@@ -1 +0,0 @@
1
- export { Buttons } from "./Buttons";
@@ -1,11 +0,0 @@
1
- import React from "react";
2
- export 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"];
3
- export type CardColor = (typeof cardColors)[number];
4
- export interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
5
- /** Custom background color */
6
- color?: CardColor;
7
- noBorder?: boolean;
8
- }
9
- export declare const CLASS_ROOT = "card";
10
- declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
11
- export { Card };
@@ -1,9 +0,0 @@
1
- import React from "react";
2
- interface CardProductHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
3
- image?: React.ReactNode;
4
- /** Use small spacing */
5
- space?: "small";
6
- }
7
- export declare const CLASS_ROOT = "card__product";
8
- declare const CardProductHeader: React.ForwardRefExoticComponent<CardProductHeaderProps & React.RefAttributes<HTMLDivElement>>;
9
- export { CardProductHeader };
@@ -1,14 +0,0 @@
1
- import React from "react";
2
- import { cardColors } from "./Card";
3
- export type CardSectionColor = (typeof cardColors)[number];
4
- interface CardSectionProps extends React.HTMLAttributes<HTMLDivElement> {
5
- /** Custom background color */
6
- color?: CardSectionColor;
7
- /** Fill available space using flexbox */
8
- isFilling?: boolean;
9
- /** Use spacing variant */
10
- space?: "small" | "large";
11
- }
12
- export declare const CLASS_ROOT = "card__section";
13
- declare const CardSection: React.ForwardRefExoticComponent<CardSectionProps & React.RefAttributes<HTMLDivElement>>;
14
- export { CardSection };
@@ -1,4 +0,0 @@
1
- export type { CardColor } from "./Card";
2
- export { Card } from "./Card";
3
- export { CardProductHeader } from "./CardProductHeader";
4
- export { CardSection } from "./CardSection";
@@ -1,5 +0,0 @@
1
- declare const data: {
2
- fill: boolean;
3
- content: string;
4
- }[][];
5
- export default data;
@@ -1,23 +0,0 @@
1
- import React, { HTMLAttributes, ReactNode } from "react";
2
- type CarouselRenderItem<T> = (item: T, index: number) => ReactNode;
3
- interface CarouselProps<T = ReactNode> extends HTMLAttributes<HTMLDivElement> {
4
- /** Swiper.js (https://swiperjs.com/) options object */
5
- swiperOptions?: Record<string, any>;
6
- /** Carousel items */
7
- items: T[];
8
- /** Render carousel item content */
9
- renderItems?: CarouselRenderItem<T>;
10
- /** Always show scrollbar and hide dots */
11
- showScrollbar?: boolean;
12
- /** Make carousel bleed to the right edge of screen while keeping left aligned with container */
13
- bleedRight?: boolean;
14
- /** Make carousel bleed right from its root edge without bleeding left */
15
- bleedRightNoLeft?: boolean;
16
- className?: string;
17
- }
18
- declare const Carousel: {
19
- <T>({ className, swiperOptions, items, renderItems, showScrollbar, bleedRight, bleedRightNoLeft, ...other }: CarouselProps<T>): React.JSX.Element;
20
- displayName: string;
21
- };
22
- export type { CarouselProps };
23
- export { Carousel };
@@ -1,101 +0,0 @@
1
- import { Swiper } from "swiper";
2
- import type { SwiperOptions } from "swiper/types";
3
- export declare const defaultConfig: SwiperOptions;
4
- export default class Carousel {
5
- element: HTMLElement;
6
- config: SwiperOptions;
7
- viewport: HTMLElement;
8
- track: HTMLElement;
9
- instance: Swiper;
10
- carouselId?: string;
11
- private isScrollbarDragging;
12
- private externalControlsState;
13
- private resizeObserver?;
14
- private resizeRafId?;
15
- private boundWindowResizeHandler;
16
- private bleedResizeHandler?;
17
- private static readonly OVERFLOW_EPSILON_PX;
18
- private getViewportWrapper;
19
- private isBleedRight;
20
- private getSlidesPerView;
21
- private setScrollbarVisible;
22
- private getSlidesContentWidth;
23
- private getOverflowWidth;
24
- private hasScrollableContent;
25
- constructor(element: HTMLElement, config?: Partial<SwiperOptions>);
26
- init(): void;
27
- private handleWindowResize;
28
- /**
29
- * Sync scrollbar position with current slide.
30
- * This ensures the scrollbar reflects the correct position when carousel is initialized with initialSlide.
31
- */
32
- syncScrollbar(): void;
33
- private observeVisibilityChanges;
34
- /**
35
- * Fix scrollbar drag size and position for bleed-right carousels.
36
- * Overrides Swiper's default scrollbar calculations to work correctly with bleed-right layouts.
37
- */
38
- fixBleedRightScrollbar(): void;
39
- getElements(): void;
40
- getCustomOptions(): void;
41
- /**
42
- * Enable or disable the carousel based on whether content requires scrolling.
43
- * Carousel is enabled only when there are more slides than can fit in the current viewport.
44
- */
45
- private updateCarouselEnabledState;
46
- private applyBleedInsets;
47
- /**
48
- * Configure bleed-right carousel to extend beyond the container edge.
49
- * Calculates the exact offset needed for the carousel to reach the viewport edge
50
- * while keeping the last slide aligned with the container edge when scrolled to the end.
51
- * When slidesPerView is a whole number (integer), the bleed effect is disabled.
52
- */
53
- adjustConfigForBleedRight(): void;
54
- /**
55
- * Handle carousel slide change events.
56
- * Updates tooltip positions and accessibility states for the active slide.
57
- */
58
- handleSlideChange(): void;
59
- /**
60
- * Update tooltip positions for elements within a slide.
61
- */
62
- updateTooltipPosition(element: HTMLElement): void;
63
- /**
64
- * Hide all tooltips for non-active slides.
65
- */
66
- hideAllTooltips(elements: NodeListOf<Element>): void;
67
- /**
68
- * Initialize external navigation controls that reference this carousel via data attributes.
69
- * Supports prev/next buttons placed anywhere in the DOM.
70
- */
71
- initExternalControls(): void;
72
- /**
73
- * Update the disabled state of external navigation controls.
74
- * Controls are disabled at the start/end of the carousel based on slide position.
75
- */
76
- updateExternalControlsState(force?: boolean): void;
77
- private applyExternalControlsState;
78
- /**
79
- * Navigate to the next slide.
80
- */
81
- slideNext(): void;
82
- /**
83
- * Navigate to the previous slide.
84
- */
85
- slidePrev(): void;
86
- /**
87
- * Get the current active slide index.
88
- */
89
- getActiveIndex(): number;
90
- /**
91
- * Register a callback for slide change events.
92
- */
93
- onSlideChange(callback: (activeIndex: number) => void): void;
94
- destroy(): void;
95
- update(): void;
96
- static getInstance(el: HTMLElement): Carousel | null;
97
- /**
98
- * Find a carousel instance by its ID or data-carousel-id attribute.
99
- */
100
- static getInstanceById(carouselId: string): Carousel | null;
101
- }
@@ -1,7 +0,0 @@
1
- import React, { HTMLAttributes, ReactNode } from "react";
2
- interface CarouselItemProps extends HTMLAttributes<HTMLDivElement> {
3
- className?: string;
4
- children?: ReactNode;
5
- }
6
- declare const CarouselItem: React.FC<CarouselItemProps>;
7
- export { CarouselItem };
@@ -1,27 +0,0 @@
1
- export declare const CLASS_ROOT = "carousel";
2
- export declare const CLASS_VIEWPORT_WRAPPER = "carousel__viewport-wrapper";
3
- export declare const CLASS_VIEWPORT = "carousel__viewport";
4
- export declare const CLASS_TRACK = "carousel__track";
5
- export declare const CLASS_SLIDE = "carousel__slide";
6
- export declare const CLASS_SLIDE_NEXT = "carousel__slide-next";
7
- export declare const CLASS_SLIDE_PREV = "carousel__slide-prev";
8
- export declare const CLASS_PREV = "carousel__prev";
9
- export declare const CLASS_NEXT = "carousel__next";
10
- export declare const CLASS_DOTS = "carousel__pagination";
11
- export declare const CLASS_NAVIGATION = "carousel__navigation";
12
- export declare const CLASS_CONTROLS = "carousel__controls";
13
- export declare const CLASS_DOT = "carousel__pagination-item";
14
- export declare const CLASS_SCROLLBAR = "carousel__scrollbar";
15
- export declare const CLASS_SCROLLBAR_HORIZONTAL = "carousel__scrollbar-horizontal";
16
- export declare const CLASS_SCROLLBAR_DRAG = "carousel__scrollbar-drag";
17
- export declare const CLASS_ACTIVE = "is-active";
18
- export declare const CLASS_SCROLLBAR_VARIANT = "carousel--scrollbar";
19
- export declare const CLASS_BLEED_RIGHT = "carousel--bleed-right";
20
- export declare const CLASS_BLEED_RIGHT_NO_LEFT = "carousel--bleed-right-no-left";
21
- export declare const SELECTOR_VIEWPORT = ".carousel__viewport";
22
- export declare const SELECTOR_TRACK = ".carousel__track";
23
- export declare const SELECTOR_PREV = ".carousel__prev";
24
- export declare const SELECTOR_NEXT = ".carousel__next";
25
- export declare const SELECTOR_DOTS = ".carousel__pagination";
26
- export declare const SELECTOR_SCROLLBAR = ".carousel__scrollbar";
27
- export declare const SELECTOR_ACTIVE = ".is-active";
@@ -1,2 +0,0 @@
1
- export { Carousel } from "./Carousel";
2
- export { CarouselItem } from "./CarouselItem";
@@ -1,19 +0,0 @@
1
- import React, { ReactNode } from "react";
2
- import { CarouselHeroItem } from "./CarouselHeroItem";
3
- interface TabItem {
4
- label: string;
5
- id?: string;
6
- [key: string]: any;
7
- }
8
- interface CarouselHeroProps {
9
- className?: string;
10
- swiperOptions?: Record<string, any>;
11
- children?: ReactNode;
12
- tabs?: TabItem[];
13
- interval?: number;
14
- enableAutoplay?: boolean;
15
- [key: string]: any;
16
- }
17
- declare const CarouselHero: React.FC<CarouselHeroProps>;
18
- export type { CarouselHeroProps, TabItem };
19
- export { CarouselHero, CarouselHeroItem };
@@ -1,50 +0,0 @@
1
- import { Swiper } from "swiper";
2
- import type { SwiperOptions } from "swiper/types";
3
- export declare const defaultConfig: SwiperOptions;
4
- export default class CarouselHero {
5
- element: HTMLElement;
6
- config: SwiperOptions;
7
- viewport: HTMLElement;
8
- instance: Swiper;
9
- tabs: HTMLElement[];
10
- _dotAnimationJustStarted: boolean;
11
- _isDragging: boolean;
12
- private resizeRafId?;
13
- private _boundTabClick;
14
- private _boundPrevClick;
15
- private _boundNextClick;
16
- private _boundPlayPauseClick;
17
- private _boundWindowResize;
18
- constructor(element: HTMLElement, config?: Partial<SwiperOptions>);
19
- init(): void;
20
- private _onWindowResize;
21
- getElements(): void;
22
- setupConfig(): void;
23
- createSwiper(): void;
24
- setupEventListeners(): void;
25
- private _onUserNavigation;
26
- _onTabClick(e: Event): void;
27
- private _onPlayPauseClick;
28
- private isAutoplayRunning;
29
- private _stopAutoplayIfRunning;
30
- private _onAutoplayStart;
31
- private _onAutoplayStop;
32
- toggleAutoplay(): void;
33
- goToSlide(index: number): void;
34
- updateStates(): void;
35
- private updatePaginationBullets;
36
- scrollActiveTabIntoView(activeIndex: number): void;
37
- updatePlayPauseIcon(): void;
38
- renderPaginationDots(): void;
39
- startDotAnimation(force?: boolean): void;
40
- restartDotAnimation(): void;
41
- stopDotAnimation(): void;
42
- private _getPaginationButtons;
43
- private _getActiveBulletClass;
44
- private _getActiveBulletButton;
45
- createSvgDot(): SVGSVGElement;
46
- hasAutoplay(): boolean;
47
- getAnimationDuration(): number;
48
- destroy(): void;
49
- static getInstance(el: HTMLElement): CarouselHero | null;
50
- }
@@ -1,8 +0,0 @@
1
- import React, { HTMLAttributes, ReactNode } from "react";
2
- interface CarouselHeroItemProps extends HTMLAttributes<HTMLDivElement> {
3
- className?: string;
4
- children?: ReactNode;
5
- image: string;
6
- }
7
- declare const CarouselHeroItem: React.FC<CarouselHeroItemProps>;
8
- export { CarouselHeroItem };
@@ -1,33 +0,0 @@
1
- export declare const CLASS_ROOT = "carousel-hero";
2
- export declare const CLASS_VIEWPORT_WRAPPER = "carousel-hero__viewport-wrapper";
3
- export declare const CLASS_VIEWPORT = "carousel-hero__viewport";
4
- export declare const CLASS_TRACK = "carousel-hero__track";
5
- export declare const CLASS_SLIDE = "carousel-hero__slide";
6
- export declare const CLASS_SLIDE_CONTAINER = "carousel-hero__slide-container";
7
- export declare const CLASS_SLIDE_CONTENT = "carousel-hero__slide-content";
8
- export declare const CLASS_SLIDE_SUBTITLE = "carousel-hero__slide-subtitle";
9
- export declare const CLASS_SLIDE_IMAGE_WRAPPER = "carousel-hero__slide-image-wrapper";
10
- export declare const CLASS_SLIDE_IMAGE = "carousel-hero__slide-image";
11
- export declare const CLASS_SLIDE_BUTTON = "carousel-hero__slide-button";
12
- export declare const CLASS_PREV = "carousel-hero__prev";
13
- export declare const CLASS_NEXT = "carousel-hero__next";
14
- export declare const CLASS_PLAY_PAUSE = "carousel-hero__play-pause";
15
- export declare const CLASS_TABS = "carousel-hero__tabs";
16
- export declare const CLASS_TAB = "carousel-hero__tab";
17
- export declare const CLASS_PAGINATION = "carousel-hero__pagination";
18
- export declare const CLASS_PAGINATION_ITEM = "carousel-hero__pagination-item";
19
- export declare const CLASS_PAGINATION_SVG = "carousel-hero__pagination-svg";
20
- export declare const CLASS_PAGINATION_CIRCLE = "carousel-hero__pagination-circle";
21
- export declare const CLASS_NAVIGATION = "carousel-hero__navigation";
22
- export declare const CLASS_ACTIVE = "is-active";
23
- export declare const CLASS_PLAYING = "is-playing";
24
- export declare const CLASS_PAUSED = "is-paused";
25
- export declare const SELECTOR_VIEWPORT = ".carousel-hero__viewport";
26
- export declare const SELECTOR_TRACK = ".carousel-hero__track";
27
- export declare const SELECTOR_PREV = ".carousel-hero__prev";
28
- export declare const SELECTOR_NEXT = ".carousel-hero__next";
29
- export declare const SELECTOR_PLAY_PAUSE = ".carousel-hero__play-pause";
30
- export declare const SELECTOR_TABS = ".carousel-hero__tabs";
31
- export declare const SELECTOR_TAB = ".carousel-hero__tab";
32
- export declare const SELECTOR_PAGINATION = ".carousel-hero__pagination";
33
- export declare const SELECTOR_ACTIVE = ".is-active";
@@ -1,2 +0,0 @@
1
- export type { CarouselHeroProps, TabItem } from "./CarouselHero";
2
- export { CarouselHero, CarouselHeroItem } from "./CarouselHero";
@@ -1,9 +0,0 @@
1
- import React, { ReactNode } from "react";
2
- interface CarouselPromotionsProps {
3
- className?: string;
4
- swiperOptions?: Record<string, any>;
5
- children?: ReactNode;
6
- [key: string]: any;
7
- }
8
- declare const CarouselPromotions: React.FC<CarouselPromotionsProps>;
9
- export { CarouselPromotions };