@orangesk/orange-design-system 2.0.0-alpha.0 → 2.0.0-alpha.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 (781) hide show
  1. package/build/404.html +1 -1
  2. package/build/_next/static/CRhIjUFtohDOfdDfzvfXM/_buildManifest.js +1 -0
  3. package/build/_next/static/chunks/925.75d0c8afa7ab7cfa.js +1 -0
  4. package/build/_next/static/chunks/998-a45c3cf6f575e126.js +1 -0
  5. package/build/_next/static/chunks/app/components/alert/page-d591b03a7394f81e.js +1 -0
  6. package/build/_next/static/chunks/app/components/button/page-b922a8f5114b0a69.js +1 -0
  7. package/build/_next/static/chunks/app/components/buttons/page-0a5bf7e5ac7991fb.js +1 -0
  8. package/build/_next/static/chunks/app/components/icon/page-dac6ba29b85d924d.js +1 -0
  9. package/build/_next/static/chunks/app/components/modal/page-4a249b6d271eea91.js +1 -0
  10. package/build/_next/static/chunks/app/components/tabs/page-7d82e8eafd25b86e.js +1 -0
  11. package/build/_next/static/chunks/app/layout-f74d44a2772d8d63.js +1 -0
  12. package/build/_next/static/chunks/app/page-9efa16a51ef59461.js +1 -0
  13. package/build/_next/static/chunks/webpack-623f6e616651e1c0.js +1 -0
  14. package/build/_next/static/css/14f3a3e0186fb7a8.css +3 -0
  15. package/build/_next/static/css/168dd2b7e791cf72.css +1 -0
  16. package/build/_next/static/css/28a41a1d7dcdbfd9.css +1 -0
  17. package/build/_next/static/css/291602d64f1f3570.css +1 -0
  18. package/build/_next/static/css/4c4366b3963177f0.css +1 -0
  19. package/build/_next/static/css/5481aeac9adca710.css +1 -0
  20. package/build/_next/static/css/73b136688c14b891.css +1 -0
  21. package/build/_next/static/css/91c8cf755bf9ff19.css +1 -0
  22. package/build/_next/static/css/c1b0424033f305ff.css +1 -0
  23. package/build/_next/static/css/eea9fd9ccdd56c76.css +1 -0
  24. package/build/_next/static/media/671791babd225be4-s.p.woff2 +0 -0
  25. package/build/_next/static/media/c62d990acddde5f0-s.p.woff2 +0 -0
  26. package/build/_next/static/media/dfdbb1c4973e0bd7-s.p.woff2 +0 -0
  27. package/build/components/Accordion/index.js +1170 -0
  28. package/build/components/Accordion/index.js.map +1 -0
  29. package/build/components/Accordion/style.css +2 -0
  30. package/build/components/Accordion/style.css.map +1 -0
  31. package/build/components/Alert/index.js +1920 -0
  32. package/build/components/Alert/index.js.map +1 -0
  33. package/build/components/Alert/style.css +2 -0
  34. package/build/components/Alert/style.css.map +1 -0
  35. package/build/components/Badge/index.js +6 -3
  36. package/build/components/Badge/index.js.map +1 -1
  37. package/build/components/Badge/style.css +1 -1
  38. package/build/components/Badge/style.css.map +1 -1
  39. package/build/components/Breadcrumbs/index.js +687 -0
  40. package/build/components/Breadcrumbs/index.js.map +1 -0
  41. package/build/components/Breadcrumbs/style.css +2 -0
  42. package/build/components/Breadcrumbs/style.css.map +1 -0
  43. package/build/components/Button/index.js +734 -0
  44. package/build/components/Button/index.js.map +1 -0
  45. package/build/components/Button/style.css +2 -0
  46. package/build/components/Button/style.css.map +1 -0
  47. package/build/components/Buttons/index.js +614 -0
  48. package/build/components/Buttons/index.js.map +1 -0
  49. package/build/components/Buttons/style.css +2 -0
  50. package/build/components/Buttons/style.css.map +1 -0
  51. package/build/components/Container/index.js +611 -0
  52. package/build/components/Container/index.js.map +1 -0
  53. package/build/components/Container/style.css +2 -0
  54. package/build/components/Container/style.css.map +1 -0
  55. package/build/components/Grid/index.js +1082 -0
  56. package/build/components/Grid/index.js.map +1 -0
  57. package/build/components/Grid/style.css +2 -0
  58. package/build/components/Grid/style.css.map +1 -0
  59. package/build/components/Icon/index.js +628 -0
  60. package/build/components/Icon/index.js.map +1 -0
  61. package/build/components/Icon/style.css +2 -0
  62. package/build/components/Icon/style.css.map +1 -0
  63. package/build/components/Image/index.js +659 -0
  64. package/build/components/Image/index.js.map +1 -0
  65. package/build/components/Image/style.css +2 -0
  66. package/build/components/Image/style.css.map +1 -0
  67. package/build/components/Link/index.js +173 -0
  68. package/build/components/Link/index.js.map +1 -0
  69. package/build/components/Link/style.css +2 -0
  70. package/build/components/Link/style.css.map +1 -0
  71. package/build/components/Modal/index.js +3170 -0
  72. package/build/components/Modal/index.js.map +1 -0
  73. package/build/components/Modal/style.css +2 -0
  74. package/build/components/Modal/style.css.map +1 -0
  75. package/build/components/Section/index.js +632 -0
  76. package/build/components/Section/index.js.map +1 -0
  77. package/build/components/Section/style.css +2 -0
  78. package/build/components/Section/style.css.map +1 -0
  79. package/build/components/Tabs/index.js +1056 -0
  80. package/build/components/Tabs/index.js.map +1 -0
  81. package/build/components/Tabs/style.css +2 -0
  82. package/build/components/Tabs/style.css.map +1 -0
  83. package/build/components/alert.html +2 -0
  84. package/build/components/alert.txt +30 -0
  85. package/build/components/badge.html +4 -1
  86. package/build/components/badge.txt +23 -18
  87. package/build/components/button.html +2 -0
  88. package/build/components/button.txt +27 -0
  89. package/build/components/buttons.html +1 -0
  90. package/build/components/buttons.txt +27 -0
  91. package/build/components/icon.html +1 -0
  92. package/build/components/icon.txt +23 -0
  93. package/build/components/index.css +1 -1
  94. package/build/components/index.css.map +1 -1
  95. package/build/components/index.js +3079 -17
  96. package/build/components/index.js.map +1 -1
  97. package/build/components/modal.html +1 -0
  98. package/build/components/modal.txt +29 -0
  99. package/build/components/static.js +1261 -17
  100. package/build/components/static.js.map +1 -1
  101. package/build/components/tabs.html +1 -0
  102. package/build/components/tabs.txt +27 -0
  103. package/build/components/types/components/Alert/Alert.d.ts +25 -0
  104. package/build/components/types/components/Alert/data.d.ts +7 -0
  105. package/build/components/types/components/Alert/index.d.ts +2 -0
  106. package/build/components/types/{Badge → components/Badge}/Badge.d.ts +2 -2
  107. package/build/components/types/components/Badge/index.d.ts +2 -0
  108. package/build/components/types/components/Button/Button.d.ts +25 -0
  109. package/build/components/types/components/Button/IconButton.d.ts +18 -0
  110. package/build/components/types/components/Button/index.d.ts +17 -0
  111. package/build/components/types/components/Buttons/Buttons.d.ts +8 -0
  112. package/build/components/types/components/Buttons/index.d.ts +2 -0
  113. package/build/components/types/components/Container/Container.d.ts +6 -0
  114. package/build/components/types/components/Container/index.d.ts +3 -0
  115. package/build/components/types/components/Icon/Icon.d.ts +18 -0
  116. package/build/components/types/components/Icon/SpritePathContext.d.ts +8 -0
  117. package/build/components/types/components/Icon/index.d.ts +3 -0
  118. package/build/components/types/components/Modal/Modal.d.ts +33 -0
  119. package/build/components/types/components/Modal/Modal.static.d.ts +33 -0
  120. package/build/components/types/components/Modal/ModalBody.d.ts +10 -0
  121. package/build/components/types/components/Modal/ModalCloseButton.d.ts +8 -0
  122. package/build/components/types/components/Modal/ModalTitle.d.ts +9 -0
  123. package/build/components/types/components/Modal/index.d.ts +5 -0
  124. package/build/components/types/components/Section/Section.d.ts +23 -0
  125. package/build/components/types/components/Section/index.d.ts +2 -0
  126. package/build/components/types/components/Tabs/Tab.d.ts +13 -0
  127. package/build/components/types/components/Tabs/TabPanel.d.ts +14 -0
  128. package/build/components/types/components/Tabs/Tabs.d.ts +33 -0
  129. package/build/components/types/components/Tabs/Tabs.static.d.ts +28 -0
  130. package/build/components/types/components/Tabs/index.d.ts +4 -0
  131. package/build/components/types/components/index.d.ts +11 -0
  132. package/build/components/types/utils/ConditionalWrapper.d.ts +13 -0
  133. package/build/components/types/utils/constants.d.ts +18 -0
  134. package/build/components/types/utils/generateId.d.ts +6 -0
  135. package/build/components/types/utils/hooks.d.ts +29 -0
  136. package/build/components/types/utils/keyboard.d.ts +14 -0
  137. package/build/fonts/HelveticaNeue-Bold.woff2 +0 -0
  138. package/build/fonts/HelveticaNeue-Light.woff2 +0 -0
  139. package/build/fonts/HelveticaNeue-Roman.woff2 +0 -0
  140. package/build/index.html +11 -46
  141. package/build/index.txt +22 -17
  142. package/build/lib/after-components.css +1 -1
  143. package/build/lib/after-components.css.map +1 -1
  144. package/build/lib/before-components.css +1 -1
  145. package/build/lib/before-components.css.map +1 -1
  146. package/build/lib/components.css +1 -1
  147. package/build/lib/components.css.map +1 -1
  148. package/build/lib/fonts.css +1 -1
  149. package/build/lib/fonts.css.map +1 -1
  150. package/build/lib/scripts.js +1261 -17
  151. package/build/lib/scripts.js.map +1 -1
  152. package/build/lib/style.css +1 -1
  153. package/build/lib/style.css.map +1 -1
  154. package/build/sprite.svg +1 -0
  155. package/package.json +8 -4
  156. package/public/fonts/HelveticaNeue-Bold.woff2 +0 -0
  157. package/public/fonts/HelveticaNeue-Light.woff2 +0 -0
  158. package/public/fonts/HelveticaNeue-Roman.woff2 +0 -0
  159. package/src/assets/icons/4g.svg +1 -0
  160. package/src/assets/icons/5g.svg +1 -0
  161. package/src/assets/icons/accessibility-mobility.svg +1 -0
  162. package/src/assets/icons/accessibility-motor.svg +1 -0
  163. package/src/assets/icons/accessibility-vision.svg +1 -0
  164. package/src/assets/icons/accessibility.svg +1 -0
  165. package/src/assets/icons/add.svg +1 -0
  166. package/src/assets/icons/advertising.svg +1 -0
  167. package/src/assets/icons/aeroplane.svg +1 -0
  168. package/src/assets/icons/age-rating-3.svg +1 -0
  169. package/src/assets/icons/airbox-auto.svg +1 -0
  170. package/src/assets/icons/alias-numbers.svg +1 -0
  171. package/src/assets/icons/android-manage.svg +1 -0
  172. package/src/assets/icons/antenna.svg +1 -0
  173. package/src/assets/icons/apartment-building.svg +1 -0
  174. package/src/assets/icons/apps.svg +1 -0
  175. package/src/assets/icons/assistance.svg +1 -0
  176. package/src/assets/icons/assistent.svg +1 -0
  177. package/src/assets/icons/at.svg +1 -0
  178. package/src/assets/icons/avatar.svg +1 -0
  179. package/src/assets/icons/backup-internet.svg +1 -0
  180. package/src/assets/icons/bank.svg +1 -0
  181. package/src/assets/icons/battery-charging.svg +1 -0
  182. package/src/assets/icons/battery-full.svg +1 -0
  183. package/src/assets/icons/battery-status-1-3.svg +1 -0
  184. package/src/assets/icons/battery-status-charging.svg +1 -0
  185. package/src/assets/icons/battery-status-full.svg +1 -0
  186. package/src/assets/icons/bed.svg +1 -0
  187. package/src/assets/icons/birth.svg +1 -0
  188. package/src/assets/icons/birthday.svg +1 -0
  189. package/src/assets/icons/bluetooth.svg +1 -0
  190. package/src/assets/icons/boarding-pass.svg +1 -0
  191. package/src/assets/icons/book-award.svg +1 -0
  192. package/src/assets/icons/book.svg +1 -0
  193. package/src/assets/icons/boxes.svg +1 -0
  194. package/src/assets/icons/briefcase.svg +1 -0
  195. package/src/assets/icons/browser-plug-in.svg +1 -0
  196. package/src/assets/icons/business-advisor.svg +1 -0
  197. package/src/assets/icons/business-consultant.svg +1 -0
  198. package/src/assets/icons/business-lounge.svg +1 -0
  199. package/src/assets/icons/buy.svg +1 -0
  200. package/src/assets/icons/calendar-30.svg +1 -0
  201. package/src/assets/icons/calendar-alarm.svg +1 -0
  202. package/src/assets/icons/calendar-day.svg +1 -0
  203. package/src/assets/icons/calendar-month.svg +1 -0
  204. package/src/assets/icons/call-in.svg +1 -0
  205. package/src/assets/icons/call-out.svg +1 -0
  206. package/src/assets/icons/call.svg +1 -0
  207. package/src/assets/icons/camera.svg +1 -0
  208. package/src/assets/icons/car-park.svg +1 -0
  209. package/src/assets/icons/car.svg +1 -0
  210. package/src/assets/icons/card-reader.svg +1 -0
  211. package/src/assets/icons/casting.svg +1 -0
  212. package/src/assets/icons/cest-ici.svg +1 -0
  213. package/src/assets/icons/charger.svg +1 -0
  214. package/src/assets/icons/chatbot.svg +1 -0
  215. package/src/assets/icons/check-your-balance.svg +1 -0
  216. package/src/assets/icons/checked.svg +1 -0
  217. package/src/assets/icons/chevron-down.svg +1 -0
  218. package/src/assets/icons/chevron-end.svg +1 -0
  219. package/src/assets/icons/chevron-left.svg +1 -0
  220. package/src/assets/icons/chevron-right.svg +1 -0
  221. package/src/assets/icons/chevron-start.svg +1 -0
  222. package/src/assets/icons/chevron-up.svg +1 -0
  223. package/src/assets/icons/child.svg +1 -0
  224. package/src/assets/icons/children-channel.svg +1 -0
  225. package/src/assets/icons/childrens-content.svg +1 -0
  226. package/src/assets/icons/christmas-tree.svg +1 -0
  227. package/src/assets/icons/cinema-ticket-2-for-1.svg +1 -0
  228. package/src/assets/icons/cle-pc.svg +1 -0
  229. package/src/assets/icons/clock.svg +1 -0
  230. package/src/assets/icons/close.svg +5 -0
  231. package/src/assets/icons/closed-captions.svg +1 -0
  232. package/src/assets/icons/cloud-backup.svg +1 -0
  233. package/src/assets/icons/cloud-security.svg +1 -0
  234. package/src/assets/icons/collective-class-training.svg +1 -0
  235. package/src/assets/icons/community-sms.svg +1 -0
  236. package/src/assets/icons/company-structure.svg +1 -0
  237. package/src/assets/icons/connections.svg +1 -0
  238. package/src/assets/icons/control-centre.svg +1 -0
  239. package/src/assets/icons/control-my-data.svg +3 -0
  240. package/src/assets/icons/cpu.svg +1 -0
  241. package/src/assets/icons/currency-euro.svg +1 -0
  242. package/src/assets/icons/cyber-shield.svg +1 -0
  243. package/src/assets/icons/dashboard-display.svg +1 -0
  244. package/src/assets/icons/data-analytics.svg +1 -0
  245. package/src/assets/icons/data-centre.svg +1 -0
  246. package/src/assets/icons/data-services.svg +1 -0
  247. package/src/assets/icons/data-traffic.svg +1 -0
  248. package/src/assets/icons/data.svg +1 -0
  249. package/src/assets/icons/delete.svg +1 -0
  250. package/src/assets/icons/desk-phone.svg +1 -0
  251. package/src/assets/icons/desktop-pc.svg +1 -0
  252. package/src/assets/icons/device-fixed-line-phone.svg +1 -0
  253. package/src/assets/icons/device-laptop-computer-connected.svg +1 -0
  254. package/src/assets/icons/device-laptop-computer.svg +1 -0
  255. package/src/assets/icons/device-smart-phone.svg +1 -0
  256. package/src/assets/icons/device-tablet.svg +1 -0
  257. package/src/assets/icons/device-tv.svg +1 -0
  258. package/src/assets/icons/diagnostic.svg +1 -0
  259. package/src/assets/icons/digital-frame.svg +1 -0
  260. package/src/assets/icons/discussion-more.svg +1 -0
  261. package/src/assets/icons/doctor.svg +1 -0
  262. package/src/assets/icons/documentary.svg +1 -0
  263. package/src/assets/icons/donation.svg +1 -0
  264. package/src/assets/icons/download-file.svg +1 -0
  265. package/src/assets/icons/download.svg +1 -0
  266. package/src/assets/icons/e-reader.svg +1 -0
  267. package/src/assets/icons/e-shop.svg +1 -0
  268. package/src/assets/icons/easy-internet.svg +1 -0
  269. package/src/assets/icons/eco-mode.svg +1 -0
  270. package/src/assets/icons/edit.svg +1 -0
  271. package/src/assets/icons/electrcar.svg +1 -0
  272. package/src/assets/icons/email.svg +1 -0
  273. package/src/assets/icons/employees.svg +1 -0
  274. package/src/assets/icons/empty-trash.svg +1 -0
  275. package/src/assets/icons/entertainment.svg +1 -0
  276. package/src/assets/icons/epg.svg +1 -0
  277. package/src/assets/icons/error-severe.svg +1 -0
  278. package/src/assets/icons/ethernet.svg +1 -0
  279. package/src/assets/icons/euro.svg +1 -0
  280. package/src/assets/icons/exit.svg +1 -0
  281. package/src/assets/icons/facebook-2.svg +1 -0
  282. package/src/assets/icons/facebook.svg +1 -0
  283. package/src/assets/icons/factory.svg +1 -0
  284. package/src/assets/icons/family-place.svg +1 -0
  285. package/src/assets/icons/fashion.svg +1 -0
  286. package/src/assets/icons/fast-delivery.svg +1 -0
  287. package/src/assets/icons/file-compressed.svg +1 -0
  288. package/src/assets/icons/file-copy.svg +1 -0
  289. package/src/assets/icons/file-document-compose.svg +1 -0
  290. package/src/assets/icons/file-download.svg +1 -0
  291. package/src/assets/icons/file-draft-edit.svg +1 -0
  292. package/src/assets/icons/file-pdf.svg +1 -0
  293. package/src/assets/icons/file-terms-and-conditions.svg +1 -0
  294. package/src/assets/icons/files.svg +1 -0
  295. package/src/assets/icons/film.svg +1 -0
  296. package/src/assets/icons/filter.svg +1 -0
  297. package/src/assets/icons/finance.svg +1 -0
  298. package/src/assets/icons/firewall.svg +1 -0
  299. package/src/assets/icons/flag.svg +1 -0
  300. package/src/assets/icons/flashlight.svg +1 -0
  301. package/src/assets/icons/flexible-storage.svg +1 -0
  302. package/src/assets/icons/folder.svg +1 -0
  303. package/src/assets/icons/football-match.svg +1 -0
  304. package/src/assets/icons/football-quiz.svg +1 -0
  305. package/src/assets/icons/football.svg +1 -0
  306. package/src/assets/icons/form-tick.svg +1 -0
  307. package/src/assets/icons/front-end-dashboard.svg +1 -0
  308. package/src/assets/icons/funny.svg +1 -0
  309. package/src/assets/icons/futher-education.svg +1 -0
  310. package/src/assets/icons/games.svg +1 -0
  311. package/src/assets/icons/garage-closed.svg +1 -0
  312. package/src/assets/icons/gauge-rate.svg +1 -0
  313. package/src/assets/icons/gears.svg +1 -0
  314. package/src/assets/icons/geolocation.svg +1 -0
  315. package/src/assets/icons/guide-info.svg +1 -0
  316. package/src/assets/icons/hammer.svg +1 -0
  317. package/src/assets/icons/hand-shake.svg +1 -0
  318. package/src/assets/icons/hard-drive.svg +1 -0
  319. package/src/assets/icons/hdmi-key.svg +1 -0
  320. package/src/assets/icons/headphones.svg +1 -0
  321. package/src/assets/icons/health-app.svg +1 -0
  322. package/src/assets/icons/health-monitor.svg +1 -0
  323. package/src/assets/icons/health-patient.svg +1 -0
  324. package/src/assets/icons/heart.svg +1 -0
  325. package/src/assets/icons/home-appliance.svg +1 -0
  326. package/src/assets/icons/home.svg +1 -0
  327. package/src/assets/icons/homelive.svg +1 -0
  328. package/src/assets/icons/hourglass.svg +1 -0
  329. package/src/assets/icons/house.svg +1 -0
  330. package/src/assets/icons/id-card.svg +1 -0
  331. package/src/assets/icons/image.svg +1 -0
  332. package/src/assets/icons/important.svg +1 -0
  333. package/src/assets/icons/improvement.svg +1 -0
  334. package/src/assets/icons/inbox.svg +1 -0
  335. package/src/assets/icons/info.svg +1 -0
  336. package/src/assets/icons/information-data.svg +1 -0
  337. package/src/assets/icons/instagram.svg +1 -0
  338. package/src/assets/icons/international-globe.svg +1 -0
  339. package/src/assets/icons/internet-browser.svg +1 -0
  340. package/src/assets/icons/internet-security-desktop.svg +1 -0
  341. package/src/assets/icons/internet-security-mobile.svg +1 -0
  342. package/src/assets/icons/internet-security-password.svg +1 -0
  343. package/src/assets/icons/internet-usage.svg +1 -0
  344. package/src/assets/icons/internet.svg +1 -0
  345. package/src/assets/icons/invoice-euro.svg +1 -0
  346. package/src/assets/icons/invoices-euro.svg +1 -0
  347. package/src/assets/icons/iso.svg +1 -0
  348. package/src/assets/icons/it-infrastructure.svg +1 -0
  349. package/src/assets/icons/keyboard.svg +1 -0
  350. package/src/assets/icons/la-cle-tv.svg +1 -0
  351. package/src/assets/icons/laptop-connected.svg +1 -0
  352. package/src/assets/icons/laptop.svg +1 -0
  353. package/src/assets/icons/le-vote.svg +1 -0
  354. package/src/assets/icons/link.svg +1 -0
  355. package/src/assets/icons/linkedin-2.svg +1 -0
  356. package/src/assets/icons/linkedin.svg +1 -0
  357. package/src/assets/icons/location-on-map.svg +1 -0
  358. package/src/assets/icons/location-pin.svg +1 -0
  359. package/src/assets/icons/lock-open.svg +1 -0
  360. package/src/assets/icons/lock.svg +1 -0
  361. package/src/assets/icons/logistics.svg +1 -0
  362. package/src/assets/icons/love-logo.svg +1 -0
  363. package/src/assets/icons/mahali.svg +1 -0
  364. package/src/assets/icons/maintenance-man.svg +1 -0
  365. package/src/assets/icons/map-pin.svg +1 -0
  366. package/src/assets/icons/map.svg +1 -0
  367. package/src/assets/icons/medal.svg +1 -0
  368. package/src/assets/icons/medical-app.svg +1 -0
  369. package/src/assets/icons/medical-chart.svg +1 -0
  370. package/src/assets/icons/medicine.svg +1 -0
  371. package/src/assets/icons/menu-arrow.svg +1 -0
  372. package/src/assets/icons/menu-grid.svg +1 -0
  373. package/src/assets/icons/menu.svg +1 -0
  374. package/src/assets/icons/message-alert.svg +1 -0
  375. package/src/assets/icons/messages.svg +1 -0
  376. package/src/assets/icons/micro-sd-card.svg +1 -0
  377. package/src/assets/icons/microphone-mute.svg +1 -0
  378. package/src/assets/icons/microphone.svg +1 -0
  379. package/src/assets/icons/mini-games.svg +1 -0
  380. package/src/assets/icons/mobile-applications.svg +1 -0
  381. package/src/assets/icons/mobile-data-toggle.svg +1 -0
  382. package/src/assets/icons/mobile-insurance.svg +1 -0
  383. package/src/assets/icons/mobile-network-coverage.svg +1 -0
  384. package/src/assets/icons/mobile-payment.svg +1 -0
  385. package/src/assets/icons/mobile-security.svg +1 -0
  386. package/src/assets/icons/mobile-setup.svg +1 -0
  387. package/src/assets/icons/modem.svg +1 -0
  388. package/src/assets/icons/modifier-delete.svg +1 -0
  389. package/src/assets/icons/modifier-done.svg +1 -0
  390. package/src/assets/icons/modifier-download.svg +1 -0
  391. package/src/assets/icons/modifier-upload.svg +1 -0
  392. package/src/assets/icons/money-box.svg +1 -0
  393. package/src/assets/icons/more-dots.svg +1 -0
  394. package/src/assets/icons/multi-sim.svg +1 -0
  395. package/src/assets/icons/music.svg +1 -0
  396. package/src/assets/icons/my-account.svg +1 -0
  397. package/src/assets/icons/my-orange.svg +1 -0
  398. package/src/assets/icons/my-skills.svg +1 -0
  399. package/src/assets/icons/my-vacation.svg +1 -0
  400. package/src/assets/icons/network-dslam.svg +1 -0
  401. package/src/assets/icons/network-gatekeeper.svg +1 -0
  402. package/src/assets/icons/network-gateway.svg +1 -0
  403. package/src/assets/icons/network-optical-amplifier.svg +1 -0
  404. package/src/assets/icons/network-optical-transport.svg +1 -0
  405. package/src/assets/icons/network-wan-optimisation-engine.svg +1 -0
  406. package/src/assets/icons/networks.svg +1 -0
  407. package/src/assets/icons/newspaper.svg +1 -0
  408. package/src/assets/icons/not-checked.svg +1 -0
  409. package/src/assets/icons/notification-alert.svg +1 -0
  410. package/src/assets/icons/office.svg +1 -0
  411. package/src/assets/icons/online-help.svg +1 -0
  412. package/src/assets/icons/orange-assistant.svg +1 -0
  413. package/src/assets/icons/orange-cash.svg +1 -0
  414. package/src/assets/icons/orange-detente.svg +1 -0
  415. package/src/assets/icons/orange-dialler.svg +1 -0
  416. package/src/assets/icons/orange-events.svg +1 -0
  417. package/src/assets/icons/orange-experts-expert.svg +1 -0
  418. package/src/assets/icons/orange-experts-insurance.svg +1 -0
  419. package/src/assets/icons/orange-experts-orange-business-consultant.svg +1 -0
  420. package/src/assets/icons/orange-experts-recycle.svg +1 -0
  421. package/src/assets/icons/orange-experts-repair.svg +1 -0
  422. package/src/assets/icons/orange-football-club.svg +1 -0
  423. package/src/assets/icons/orange-games.svg +1 -0
  424. package/src/assets/icons/orange-messenger.svg +1 -0
  425. package/src/assets/icons/orange-money-nfc.svg +1 -0
  426. package/src/assets/icons/orange-reflect.svg +1 -0
  427. package/src/assets/icons/orange-rewards.svg +1 -0
  428. package/src/assets/icons/orange-tv.svg +1 -0
  429. package/src/assets/icons/orange-vr-experience.svg +1 -0
  430. package/src/assets/icons/outbox.svg +1 -0
  431. package/src/assets/icons/package-content.svg +1 -0
  432. package/src/assets/icons/package-services.svg +1 -0
  433. package/src/assets/icons/package.svg +1 -0
  434. package/src/assets/icons/packaging-icon-hd.svg +1 -0
  435. package/src/assets/icons/parabole-tv.svg +1 -0
  436. package/src/assets/icons/parental-control.svg +1 -0
  437. package/src/assets/icons/pause.svg +1 -0
  438. package/src/assets/icons/payment-card.svg +1 -0
  439. package/src/assets/icons/payment-euro.svg +1 -0
  440. package/src/assets/icons/pda.svg +1 -0
  441. package/src/assets/icons/pdf-file.svg +1 -0
  442. package/src/assets/icons/pencil.svg +1 -0
  443. package/src/assets/icons/personal-hotspot.svg +1 -0
  444. package/src/assets/icons/personal-smartphone-trainer.svg +1 -0
  445. package/src/assets/icons/phone-advisor.svg +1 -0
  446. package/src/assets/icons/play-and-win.svg +1 -0
  447. package/src/assets/icons/play.svg +1 -0
  448. package/src/assets/icons/plug-socket.svg +1 -0
  449. package/src/assets/icons/power.svg +1 -0
  450. package/src/assets/icons/powerstation.svg +1 -0
  451. package/src/assets/icons/presentation.svg +1 -0
  452. package/src/assets/icons/print.svg +1 -0
  453. package/src/assets/icons/printer.svg +1 -0
  454. package/src/assets/icons/real-time.svg +1 -0
  455. package/src/assets/icons/recycle-device.svg +1 -0
  456. package/src/assets/icons/recycle.svg +1 -0
  457. package/src/assets/icons/reduction.svg +1 -0
  458. package/src/assets/icons/reload.svg +1 -0
  459. package/src/assets/icons/reminders.svg +1 -0
  460. package/src/assets/icons/remote-desktop-protocol.svg +1 -0
  461. package/src/assets/icons/remove.svg +1 -0
  462. package/src/assets/icons/repair.svg +1 -0
  463. package/src/assets/icons/reseau.svg +1 -0
  464. package/src/assets/icons/restaurant.svg +1 -0
  465. package/src/assets/icons/rewards.svg +1 -0
  466. package/src/assets/icons/running.svg +1 -0
  467. package/src/assets/icons/safety.svg +1 -0
  468. package/src/assets/icons/satallite.svg +1 -0
  469. package/src/assets/icons/save.svg +1 -0
  470. package/src/assets/icons/school.svg +1 -0
  471. package/src/assets/icons/science.svg +1 -0
  472. package/src/assets/icons/sd-card.svg +1 -0
  473. package/src/assets/icons/search.svg +1 -0
  474. package/src/assets/icons/security-status-good.svg +1 -0
  475. package/src/assets/icons/send.svg +1 -0
  476. package/src/assets/icons/senior-person.svg +1 -0
  477. package/src/assets/icons/server-storage-array.svg +1 -0
  478. package/src/assets/icons/server-tower.svg +1 -0
  479. package/src/assets/icons/session-enter.svg +1 -0
  480. package/src/assets/icons/session-leave.svg +1 -0
  481. package/src/assets/icons/settings.svg +1 -0
  482. package/src/assets/icons/share.svg +1 -0
  483. package/src/assets/icons/shop-pin.svg +1 -0
  484. package/src/assets/icons/shop.svg +1 -0
  485. package/src/assets/icons/showroom-mobile-pro.svg +1 -0
  486. package/src/assets/icons/signal-5-5.svg +1 -0
  487. package/src/assets/icons/silence.svg +1 -0
  488. package/src/assets/icons/sim-e.svg +1 -0
  489. package/src/assets/icons/sim.svg +1 -0
  490. package/src/assets/icons/simple-mode.svg +1 -0
  491. package/src/assets/icons/simplicity.svg +1 -0
  492. package/src/assets/icons/siren.svg +1 -0
  493. package/src/assets/icons/skiing.svg +1 -0
  494. package/src/assets/icons/skip-to-end.svg +1 -0
  495. package/src/assets/icons/skip-to-start.svg +1 -0
  496. package/src/assets/icons/sleep.svg +1 -0
  497. package/src/assets/icons/smart-care.svg +1 -0
  498. package/src/assets/icons/smart-home.svg +1 -0
  499. package/src/assets/icons/smart-tap.svg +1 -0
  500. package/src/assets/icons/smart-watch.svg +1 -0
  501. package/src/assets/icons/sms-alert.svg +1 -0
  502. package/src/assets/icons/sms-message-compose.svg +1 -0
  503. package/src/assets/icons/sms-message.svg +1 -0
  504. package/src/assets/icons/social-network.svg +1 -0
  505. package/src/assets/icons/sofa.svg +1 -0
  506. package/src/assets/icons/sort.svg +1 -0
  507. package/src/assets/icons/stadium.svg +1 -0
  508. package/src/assets/icons/star-empty.svg +1 -0
  509. package/src/assets/icons/star-favourite-half.svg +1 -0
  510. package/src/assets/icons/star-favourite.svg +1 -0
  511. package/src/assets/icons/startover.svg +1 -0
  512. package/src/assets/icons/statistics.svg +1 -0
  513. package/src/assets/icons/stop-secret.svg +1 -0
  514. package/src/assets/icons/storage-cloud.svg +1 -0
  515. package/src/assets/icons/store-locator.svg +1 -0
  516. package/src/assets/icons/street.svg +1 -0
  517. package/src/assets/icons/subscription-package.svg +1 -0
  518. package/src/assets/icons/suitcase.svg +1 -0
  519. package/src/assets/icons/support.svg +1 -0
  520. package/src/assets/icons/surveillance-camera.svg +1 -0
  521. package/src/assets/icons/syncronise.svg +1 -0
  522. package/src/assets/icons/tag-advertising.svg +1 -0
  523. package/src/assets/icons/tag.svg +1 -0
  524. package/src/assets/icons/target-location.svg +1 -0
  525. package/src/assets/icons/tarif.svg +1 -0
  526. package/src/assets/icons/task-list.svg +1 -0
  527. package/src/assets/icons/team-connect.svg +1 -0
  528. package/src/assets/icons/thumb-up.svg +1 -0
  529. package/src/assets/icons/tick.svg +1 -0
  530. package/src/assets/icons/ticket.svg +1 -0
  531. package/src/assets/icons/top-up-card-euro.svg +1 -0
  532. package/src/assets/icons/top-up-euro.svg +1 -0
  533. package/src/assets/icons/top-up-time.svg +1 -0
  534. package/src/assets/icons/town.svg +1 -0
  535. package/src/assets/icons/townhall.svg +1 -0
  536. package/src/assets/icons/train.svg +1 -0
  537. package/src/assets/icons/training-session.svg +1 -0
  538. package/src/assets/icons/tranquility.svg +1 -0
  539. package/src/assets/icons/transfer-data.svg +1 -0
  540. package/src/assets/icons/transfers.svg +1 -0
  541. package/src/assets/icons/trash.svg +1 -0
  542. package/src/assets/icons/tv-channel-list.svg +1 -0
  543. package/src/assets/icons/tv-commande.svg +1 -0
  544. package/src/assets/icons/unlimited-calls.svg +1 -0
  545. package/src/assets/icons/upload.svg +1 -0
  546. package/src/assets/icons/usb-hard-drive.svg +1 -0
  547. package/src/assets/icons/usb-key.svg +1 -0
  548. package/src/assets/icons/user-manual.svg +1 -0
  549. package/src/assets/icons/user.svg +1 -0
  550. package/src/assets/icons/video-call.svg +1 -0
  551. package/src/assets/icons/video-live.svg +1 -0
  552. package/src/assets/icons/video-phone.svg +1 -0
  553. package/src/assets/icons/video-record.svg +1 -0
  554. package/src/assets/icons/video.svg +1 -0
  555. package/src/assets/icons/vip-contact.svg +1 -0
  556. package/src/assets/icons/virtual-gamepad.svg +1 -0
  557. package/src/assets/icons/vod-portrait.svg +1 -0
  558. package/src/assets/icons/volte.svg +1 -0
  559. package/src/assets/icons/volume-status-4-4.svg +1 -0
  560. package/src/assets/icons/vowifi.svg +1 -0
  561. package/src/assets/icons/wallet.svg +1 -0
  562. package/src/assets/icons/warning-important.svg +1 -0
  563. package/src/assets/icons/washroom.svg +1 -0
  564. package/src/assets/icons/watch.svg +1 -0
  565. package/src/assets/icons/water.svg +1 -0
  566. package/src/assets/icons/weather.svg +1 -0
  567. package/src/assets/icons/web-browser.svg +1 -0
  568. package/src/assets/icons/web-camera.svg +1 -0
  569. package/src/assets/icons/weighing-scales.svg +1 -0
  570. package/src/assets/icons/widget.svg +1 -0
  571. package/src/assets/icons/wifi-home.svg +1 -0
  572. package/src/assets/icons/wifi.svg +1 -0
  573. package/src/assets/icons/x.svg +1 -0
  574. package/src/assets/icons/your-balance.svg +1 -0
  575. package/src/assets/icons/youtube.svg +1 -0
  576. package/src/assets/icons/zoom-in.svg +1 -0
  577. package/src/assets/icons/zoom-out.svg +1 -0
  578. package/src/assets/images/developers/hands-with-phones.svg +90 -0
  579. package/src/assets/images/developers/iphone-size-2x.png +0 -0
  580. package/src/assets/images/developers/iphone-xr-white-select.png +0 -0
  581. package/src/assets/images/developers/phones.png +0 -0
  582. package/src/assets/images/developers/router.png +0 -0
  583. package/src/assets/images/developers/rule-component-block.png +0 -0
  584. package/src/assets/images/developers/rule-component-inline.png +0 -0
  585. package/src/assets/images/developers/rule-container.png +0 -0
  586. package/src/assets/images/developers/rule-content.png +0 -0
  587. package/src/assets/images/developers/two-phones.png +0 -0
  588. package/src/assets/logo/logo.svg +1 -0
  589. package/src/components/Accordion/Accordion.mdx +222 -0
  590. package/src/components/Accordion/Accordion.static.ts +104 -0
  591. package/src/components/Accordion/Accordion.tsx +70 -0
  592. package/src/components/Accordion/AccordionHeader.tsx +59 -0
  593. package/src/components/Accordion/AccordionItem.tsx +76 -0
  594. package/src/components/Accordion/HeadingContext.tsx +5 -0
  595. package/src/components/Accordion/index.ts +4 -0
  596. package/src/components/Accordion/styles/config.scss +8 -0
  597. package/src/components/Accordion/styles/mixins.scss +91 -0
  598. package/src/components/Accordion/styles/style.scss +47 -0
  599. package/src/components/Accordion/tests/Accordion.static.test.js +207 -0
  600. package/src/components/Accordion/tests/Accordion.unit.test.js +822 -0
  601. package/src/components/Accordion/tests/data.js +18 -0
  602. package/src/components/Alert/Alert.mdx +141 -0
  603. package/src/components/Alert/Alert.tsx +119 -0
  604. package/src/components/Alert/CHANGELOG.md +33 -0
  605. package/src/components/Alert/data.ts +8 -0
  606. package/src/components/Alert/index.ts +3 -0
  607. package/src/components/Alert/styles/config.scss +58 -0
  608. package/src/components/Alert/styles/mixins.scss +54 -0
  609. package/src/components/Alert/styles/style.scss +44 -0
  610. package/src/components/Alert/tests/Alert.conformance.test.js +30 -0
  611. package/src/components/Alert/tests/Alert.test.js +87 -0
  612. package/src/components/Badge/Badge.tsx +5 -3
  613. package/src/components/Badge/index.ts +1 -1
  614. package/src/components/Badge/styles/config.scss +53 -17
  615. package/src/components/Badge/styles/mixins.scss +8 -2
  616. package/src/components/Badge/styles/style.scss +7 -3
  617. package/src/components/Badge/tests/Badge.conformance.test.js +8 -8
  618. package/src/components/Badge/tests/Badge.unit.test.js +3 -3
  619. package/src/components/Breadcrumbs/BreadcrumbItem.tsx +54 -0
  620. package/src/components/Breadcrumbs/Breadcrumbs.mdx +84 -0
  621. package/src/components/Breadcrumbs/Breadcrumbs.tsx +60 -0
  622. package/src/components/Breadcrumbs/index.ts +5 -0
  623. package/src/components/Breadcrumbs/styles/config.scss +2 -0
  624. package/src/components/Breadcrumbs/styles/mixins.scss +105 -0
  625. package/src/components/Breadcrumbs/styles/style.scss +37 -0
  626. package/src/components/Breadcrumbs/tests/BreadcrumbItem.unit.test.js +295 -0
  627. package/src/components/Breadcrumbs/tests/Breadcrumbs.conformance.test.js +53 -0
  628. package/src/components/Breadcrumbs/tests/Breadcrumbs.integration.test.js +309 -0
  629. package/src/components/Breadcrumbs/tests/Breadcrumbs.unit.test.js +280 -0
  630. package/src/components/Button/Button.mdx +273 -0
  631. package/src/components/Button/Button.tsx +105 -0
  632. package/src/components/Button/IconButton.tsx +67 -0
  633. package/src/components/Button/index.tsx +23 -0
  634. package/src/components/Button/styles/config.scss +229 -0
  635. package/src/components/Button/styles/mixins.scss +164 -0
  636. package/src/components/Button/styles/style.scss +66 -0
  637. package/src/components/Button/tests/Button.conformance.test.js +37 -0
  638. package/src/components/Button/tests/Button.test.js +114 -0
  639. package/src/components/Button/tests/IconButton.unit.test.js +107 -0
  640. package/src/components/Buttons/Buttons.mdx +39 -0
  641. package/src/components/Buttons/Buttons.tsx +34 -0
  642. package/src/components/Buttons/index.ts +3 -0
  643. package/src/components/Buttons/styles/config.scss +3 -0
  644. package/src/components/Buttons/styles/mixins.scss +39 -0
  645. package/src/components/Buttons/styles/style.scss +10 -0
  646. package/src/components/Buttons/tests/Buttons.conformance.test.js +22 -0
  647. package/src/components/Buttons/tests/Buttons.unit.test.js +26 -0
  648. package/src/components/Container/Container.mdx +73 -0
  649. package/src/components/Container/Container.tsx +15 -0
  650. package/src/components/Container/index.ts +5 -0
  651. package/src/components/Container/styles/config.scss +11 -0
  652. package/src/components/Container/styles/mixins.scss +22 -0
  653. package/src/components/Container/styles/style.scss +5 -0
  654. package/src/components/Container/tests/Container.conformance.test.js +209 -0
  655. package/src/components/Container/tests/Container.unit.test.js +320 -0
  656. package/src/components/Grid/Grid.mdx +319 -0
  657. package/src/components/Grid/Grid.tsx +51 -0
  658. package/src/components/Grid/GridCol.tsx +33 -0
  659. package/src/components/Grid/index.ts +6 -0
  660. package/src/components/Grid/styles/config.scss +10 -0
  661. package/src/components/Grid/styles/mixins.scss +126 -0
  662. package/src/components/Grid/styles/style.scss +41 -0
  663. package/src/components/Grid/tests/Grid.unit.test.tsx +533 -0
  664. package/src/components/Grid/tests/GridCol.unit.test.tsx +199 -0
  665. package/src/components/Icon/Icon.mdx +172 -0
  666. package/src/components/Icon/Icon.tsx +73 -0
  667. package/src/components/Icon/IconSearch.jsx +247 -0
  668. package/src/components/Icon/SpritePathContext.tsx +22 -0
  669. package/src/components/Icon/iconSearchTags.ts +437 -0
  670. package/src/components/Icon/index.ts +5 -0
  671. package/src/components/Icon/styles/config.scss +27 -0
  672. package/src/components/Icon/styles/export/color.scss +8 -0
  673. package/src/components/Icon/styles/export/size.scss +13 -0
  674. package/src/components/Icon/styles/mixins.scss +31 -0
  675. package/src/components/Icon/styles/style.scss +13 -0
  676. package/src/components/Icon/tests/Icon.conformance.test.js +22 -0
  677. package/src/components/Icon/tests/Icon.unit.test.js +112 -0
  678. package/src/components/Image/Image.mdx +166 -0
  679. package/src/components/Image/Image.tsx +65 -0
  680. package/src/components/Image/index.ts +7 -0
  681. package/src/components/Image/styles/mixins.scss +12 -0
  682. package/src/components/Image/styles/style.scss +9 -0
  683. package/src/components/Image/tests/Image.conformance.test.js +264 -0
  684. package/src/components/Image/tests/Image.unit.test.js +338 -0
  685. package/src/components/Link/Link.mdx +224 -0
  686. package/src/components/Link/Link.tsx +52 -0
  687. package/src/components/Link/index.ts +3 -0
  688. package/src/components/Link/styles/config.scss +85 -0
  689. package/src/components/Link/styles/mixins.scss +42 -0
  690. package/src/components/Link/styles/style.scss +59 -0
  691. package/src/components/Link/tests/Link.conformance.test.js +302 -0
  692. package/src/components/Link/tests/Link.integration.test.js +393 -0
  693. package/src/components/Link/tests/Link.unit.test.js +308 -0
  694. package/src/components/Modal/Modal.mdx +449 -0
  695. package/src/components/Modal/Modal.static.ts +223 -0
  696. package/src/components/Modal/Modal.tsx +145 -0
  697. package/src/components/Modal/ModalBody.tsx +46 -0
  698. package/src/components/Modal/ModalCloseButton.tsx +26 -0
  699. package/src/components/Modal/ModalTitle.tsx +32 -0
  700. package/src/components/Modal/TODO.md +2 -0
  701. package/src/components/Modal/index.ts +6 -0
  702. package/src/components/Modal/styles/config.scss +42 -0
  703. package/src/components/Modal/styles/mixins.scss +200 -0
  704. package/src/components/Modal/styles/style.scss +97 -0
  705. package/src/components/Modal/tests/Modal.conformance.test.js +41 -0
  706. package/src/components/Modal/tests/Modal.unit.test.js +56 -0
  707. package/src/components/Modal/tests/ModalBody.unit.test.js +39 -0
  708. package/src/components/Modal/tests/ModalCloseButton.unit.test.js +84 -0
  709. package/src/components/Modal/tests/ModalTitle.unit.test.js +25 -0
  710. package/src/components/Section/Section.mdx +397 -0
  711. package/src/components/Section/Section.tsx +54 -0
  712. package/src/components/Section/index.ts +3 -0
  713. package/src/components/Section/styles/config.scss +38 -0
  714. package/src/components/Section/styles/mixins.scss +30 -0
  715. package/src/components/Section/styles/style.scss +35 -0
  716. package/src/components/Section/tests/Section.conformance.test.js +502 -0
  717. package/src/components/Section/tests/Section.unit.test.js +642 -0
  718. package/src/components/Tabs/TODO.md +2 -0
  719. package/src/components/Tabs/Tab.tsx +55 -0
  720. package/src/components/Tabs/TabPanel.tsx +42 -0
  721. package/src/components/Tabs/Tabs.mdx +373 -0
  722. package/src/components/Tabs/Tabs.static.ts +185 -0
  723. package/src/components/Tabs/Tabs.tsx +130 -0
  724. package/src/components/Tabs/index.ts +5 -0
  725. package/src/components/Tabs/styles/config.scss +78 -0
  726. package/src/components/Tabs/styles/mixins.scss +107 -0
  727. package/src/components/Tabs/styles/style.scss +64 -0
  728. package/src/components/Tabs/tests/Tab.unit.test.js +85 -0
  729. package/src/components/Tabs/tests/TabPanel.unit.test.js +53 -0
  730. package/src/components/Tabs/tests/Tabs.unit.test.js +260 -0
  731. package/src/components/index.ts +33 -2
  732. package/src/styles/base/globals.scss +18 -13
  733. package/src/styles/base/styleguide.scss +1 -1
  734. package/src/styles/before-components.scss +1 -1
  735. package/src/styles/export/breakpoint.ts +12 -0
  736. package/src/styles/export/color.scss +1 -1
  737. package/src/styles/tokens/base.scss +6 -4
  738. package/src/styles/tokens/color.scss +127 -25
  739. package/src/styles/tools/convert.scss +1 -1
  740. package/src/styles/typography/config.scss +187 -0
  741. package/src/{components/Typography/styles → styles/typography}/mixins.scss +31 -24
  742. package/src/{components/Typography/styles → styles/typography}/style.scss +9 -3
  743. package/src/styles/utilities/text.scss +2 -2
  744. package/build/.htaccess +0 -7
  745. package/build/_next/static/chunks/app/layout-69efc42b1696abf9.js +0 -1
  746. package/build/_next/static/chunks/app/page-687dfdffc8d1b6e5.js +0 -1
  747. package/build/_next/static/chunks/webpack-778f3ec87f8d2826.js +0 -1
  748. package/build/_next/static/css/08a2fcd6f5aac3e0.css +0 -1
  749. package/build/_next/static/css/d2fc2f581fe4b371.css +0 -1
  750. package/build/_next/static/rsiMOOYAxBtOjvpzBN4vJ/_buildManifest.js +0 -1
  751. package/build/_redirects +0 -1
  752. package/build/components/types/Badge/index.d.ts +0 -2
  753. package/build/components/types/index.d.ts +0 -4
  754. package/build/fonts/HelvNeue55_W1G.eot +0 -0
  755. package/build/fonts/HelvNeue55_W1G.svg +0 -653
  756. package/build/fonts/HelvNeue55_W1G.ttf +0 -0
  757. package/build/fonts/HelvNeue55_W1G.woff +0 -0
  758. package/build/fonts/HelvNeue55_W1G.woff2 +0 -0
  759. package/build/fonts/HelvNeue75_W1G.eot +0 -0
  760. package/build/fonts/HelvNeue75_W1G.svg +0 -653
  761. package/build/fonts/HelvNeue75_W1G.ttf +0 -0
  762. package/build/fonts/HelvNeue75_W1G.woff +0 -0
  763. package/build/fonts/HelvNeue75_W1G.woff2 +0 -0
  764. package/build/manifest.json +0 -15
  765. package/build/sprite-sg.svg +0 -1
  766. package/public/fonts/HelvNeue55_W1G.eot +0 -0
  767. package/public/fonts/HelvNeue55_W1G.svg +0 -653
  768. package/public/fonts/HelvNeue55_W1G.ttf +0 -0
  769. package/public/fonts/HelvNeue55_W1G.woff +0 -0
  770. package/public/fonts/HelvNeue55_W1G.woff2 +0 -0
  771. package/public/fonts/HelvNeue75_W1G.eot +0 -0
  772. package/public/fonts/HelvNeue75_W1G.svg +0 -653
  773. package/public/fonts/HelvNeue75_W1G.ttf +0 -0
  774. package/public/fonts/HelvNeue75_W1G.woff +0 -0
  775. package/public/fonts/HelvNeue75_W1G.woff2 +0 -0
  776. package/src/components/Badge/Badge.test.js +0 -45
  777. package/src/components/Typography/styles/config.scss +0 -181
  778. /package/build/_next/static/{rsiMOOYAxBtOjvpzBN4vJ → CRhIjUFtohDOfdDfzvfXM}/_ssgManifest.js +0 -0
  779. /package/build/_next/static/chunks/{4bd1b696-67ee12fb04071d3b.js → 4bd1b696-40a218329c8ae32b.js} +0 -0
  780. /package/build/_next/static/chunks/{684-2d117c50cbadadca.js → 684-c72f8f73e7f2d568.js} +0 -0
  781. /package/build/_next/static/chunks/app/_not-found/{page-f08302ee705a96b1.js → page-c799b4c91b89a5c2.js} +0 -0
@@ -0,0 +1,1056 @@
1
+ import React, { useRef, useEffect, useCallback } from 'react';
2
+
3
+ function _arrayLikeToArray(r, a) {
4
+ (null == a || a > r.length) && (a = r.length);
5
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
6
+ return n;
7
+ }
8
+ function _arrayWithHoles(r) {
9
+ if (Array.isArray(r)) return r;
10
+ }
11
+ function _classCallCheck(a, n) {
12
+ if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
13
+ }
14
+ function _defineProperties(e, r) {
15
+ for (var t = 0; t < r.length; t++) {
16
+ var o = r[t];
17
+ o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, _toPropertyKey(o.key), o);
18
+ }
19
+ }
20
+ function _createClass(e, r, t) {
21
+ return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
22
+ writable: false
23
+ }), e;
24
+ }
25
+ function _defineProperty(e, r, t) {
26
+ return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
27
+ value: t,
28
+ enumerable: true,
29
+ configurable: true,
30
+ writable: true
31
+ }) : e[r] = t, e;
32
+ }
33
+ function _iterableToArrayLimit(r, l) {
34
+ var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
35
+ if (null != t) {
36
+ var e,
37
+ n,
38
+ i,
39
+ u,
40
+ a = [],
41
+ f = true,
42
+ o = false;
43
+ try {
44
+ if (i = (t = t.call(r)).next, 0 === l) ; else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
45
+ } catch (r) {
46
+ o = true, n = r;
47
+ } finally {
48
+ try {
49
+ if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
50
+ } finally {
51
+ if (o) throw n;
52
+ }
53
+ }
54
+ return a;
55
+ }
56
+ }
57
+ function _nonIterableRest() {
58
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
59
+ }
60
+ function ownKeys(e, r) {
61
+ var t = Object.keys(e);
62
+ if (Object.getOwnPropertySymbols) {
63
+ var o = Object.getOwnPropertySymbols(e);
64
+ r && (o = o.filter(function (r) {
65
+ return Object.getOwnPropertyDescriptor(e, r).enumerable;
66
+ })), t.push.apply(t, o);
67
+ }
68
+ return t;
69
+ }
70
+ function _objectSpread2(e) {
71
+ for (var r = 1; r < arguments.length; r++) {
72
+ var t = null != arguments[r] ? arguments[r] : {};
73
+ r % 2 ? ownKeys(Object(t), true).forEach(function (r) {
74
+ _defineProperty(e, r, t[r]);
75
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
76
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
77
+ });
78
+ }
79
+ return e;
80
+ }
81
+ function _slicedToArray(r, e) {
82
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
83
+ }
84
+ function _toPrimitive(t, r) {
85
+ if ("object" != typeof t || !t) return t;
86
+ var e = t[Symbol.toPrimitive];
87
+ if (void 0 !== e) {
88
+ var i = e.call(t, r);
89
+ if ("object" != typeof i) return i;
90
+ throw new TypeError("@@toPrimitive must return a primitive value.");
91
+ }
92
+ return ("string" === r ? String : Number)(t);
93
+ }
94
+ function _toPropertyKey(t) {
95
+ var i = _toPrimitive(t, "string");
96
+ return "symbol" == typeof i ? i : i + "";
97
+ }
98
+ function _unsupportedIterableToArray(r, a) {
99
+ if (r) {
100
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
101
+ var t = {}.toString.call(r).slice(8, -1);
102
+ return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
103
+ }
104
+ }
105
+
106
+ /******************************************************************************
107
+ Copyright (c) Microsoft Corporation.
108
+
109
+ Permission to use, copy, modify, and/or distribute this software for any
110
+ purpose with or without fee is hereby granted.
111
+
112
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
113
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
114
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
115
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
116
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
117
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
118
+ PERFORMANCE OF THIS SOFTWARE.
119
+ ***************************************************************************** */
120
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
121
+
122
+
123
+ function __rest(s, e) {
124
+ var t = {};
125
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
126
+ t[p] = s[p];
127
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
128
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
129
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
130
+ t[p[i]] = s[p[i]];
131
+ }
132
+ return t;
133
+ }
134
+
135
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
136
+ var e = new Error(message);
137
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
138
+ };
139
+
140
+ function getDefaultExportFromCjs (x) {
141
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
142
+ }
143
+
144
+ var classnames = {exports: {}};
145
+
146
+ /*!
147
+ Copyright (c) 2018 Jed Watson.
148
+ Licensed under the MIT License (MIT), see
149
+ http://jedwatson.github.io/classnames
150
+ */
151
+
152
+ var hasRequiredClassnames;
153
+
154
+ function requireClassnames () {
155
+ if (hasRequiredClassnames) return classnames.exports;
156
+ hasRequiredClassnames = 1;
157
+ (function (module) {
158
+ /* global define */
159
+
160
+ (function () {
161
+
162
+ var hasOwn = {}.hasOwnProperty;
163
+
164
+ function classNames () {
165
+ var classes = '';
166
+
167
+ for (var i = 0; i < arguments.length; i++) {
168
+ var arg = arguments[i];
169
+ if (arg) {
170
+ classes = appendClass(classes, parseValue(arg));
171
+ }
172
+ }
173
+
174
+ return classes;
175
+ }
176
+
177
+ function parseValue (arg) {
178
+ if (typeof arg === 'string' || typeof arg === 'number') {
179
+ return arg;
180
+ }
181
+
182
+ if (typeof arg !== 'object') {
183
+ return '';
184
+ }
185
+
186
+ if (Array.isArray(arg)) {
187
+ return classNames.apply(null, arg);
188
+ }
189
+
190
+ if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
191
+ return arg.toString();
192
+ }
193
+
194
+ var classes = '';
195
+
196
+ for (var key in arg) {
197
+ if (hasOwn.call(arg, key) && arg[key]) {
198
+ classes = appendClass(classes, key);
199
+ }
200
+ }
201
+
202
+ return classes;
203
+ }
204
+
205
+ function appendClass (value, newClass) {
206
+ if (!newClass) {
207
+ return value;
208
+ }
209
+
210
+ if (value) {
211
+ return value + ' ' + newClass;
212
+ }
213
+
214
+ return value + newClass;
215
+ }
216
+
217
+ if (module.exports) {
218
+ classNames.default = classNames;
219
+ module.exports = classNames;
220
+ } else {
221
+ window.classNames = classNames;
222
+ }
223
+ }());
224
+ } (classnames));
225
+ return classnames.exports;
226
+ }
227
+
228
+ var classnamesExports = requireClassnames();
229
+ var cx = /*@__PURE__*/getDefaultExportFromCjs(classnamesExports);
230
+
231
+ var idx = 0;
232
+ var uuid = function uuid() {
233
+ return idx += 1;
234
+ };
235
+ /**
236
+ * Generates a unique ID string with an optional name prefix
237
+ * @param name Optional prefix for the ID
238
+ * @returns A unique ID string
239
+ */
240
+ function generateId(name) {
241
+ return "id".concat('', "-").concat(uuid());
242
+ }
243
+
244
+ /**
245
+ * A hook to create and manage an instance of a "static" class
246
+ * @param StaticClass The class to instantiate
247
+ * @param config Configuration options for the class
248
+ * @returns [ref callback, instance reference]
249
+ */
250
+ var useStatic = function useStatic(StaticClass) {
251
+ var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
252
+ var instance = useRef(null);
253
+ var configRef = useRef(config);
254
+ useEffect(function () {
255
+ configRef.current = config !== null && config !== void 0 ? config : {};
256
+ }, [config]);
257
+ var ref = useCallback(function (node) {
258
+ var _a, _b;
259
+ // use latest config available
260
+ var currentConfig = configRef.current;
261
+ if (node) {
262
+ if (instance.current === null) {
263
+ instance.current = new StaticClass(node, currentConfig);
264
+ } else {
265
+ (_b = (_a = instance.current).update) === null || _b === void 0 ? void 0 : _b.call(_a, currentConfig);
266
+ }
267
+ }
268
+ }, [StaticClass]);
269
+ useEffect(function () {
270
+ return function () {
271
+ var _a, _b;
272
+ if (instance.current) {
273
+ (_b = (_a = instance.current).destroy) === null || _b === void 0 ? void 0 : _b.call(_a);
274
+ instance.current = null;
275
+ }
276
+ };
277
+ }, []);
278
+ return [ref, instance];
279
+ };
280
+
281
+ var jsxRuntime = {exports: {}};
282
+
283
+ var reactJsxRuntime_production = {};
284
+
285
+ /**
286
+ * @license React
287
+ * react-jsx-runtime.production.js
288
+ *
289
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
290
+ *
291
+ * This source code is licensed under the MIT license found in the
292
+ * LICENSE file in the root directory of this source tree.
293
+ */
294
+
295
+ var hasRequiredReactJsxRuntime_production;
296
+
297
+ function requireReactJsxRuntime_production () {
298
+ if (hasRequiredReactJsxRuntime_production) return reactJsxRuntime_production;
299
+ hasRequiredReactJsxRuntime_production = 1;
300
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
301
+ REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
302
+ function jsxProd(type, config, maybeKey) {
303
+ var key = null;
304
+ void 0 !== maybeKey && (key = "" + maybeKey);
305
+ void 0 !== config.key && (key = "" + config.key);
306
+ if ("key" in config) {
307
+ maybeKey = {};
308
+ for (var propName in config)
309
+ "key" !== propName && (maybeKey[propName] = config[propName]);
310
+ } else maybeKey = config;
311
+ config = maybeKey.ref;
312
+ return {
313
+ $$typeof: REACT_ELEMENT_TYPE,
314
+ type: type,
315
+ key: key,
316
+ ref: void 0 !== config ? config : null,
317
+ props: maybeKey
318
+ };
319
+ }
320
+ reactJsxRuntime_production.Fragment = REACT_FRAGMENT_TYPE;
321
+ reactJsxRuntime_production.jsx = jsxProd;
322
+ reactJsxRuntime_production.jsxs = jsxProd;
323
+ return reactJsxRuntime_production;
324
+ }
325
+
326
+ var reactJsxRuntime_development = {};
327
+
328
+ /**
329
+ * @license React
330
+ * react-jsx-runtime.development.js
331
+ *
332
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
333
+ *
334
+ * This source code is licensed under the MIT license found in the
335
+ * LICENSE file in the root directory of this source tree.
336
+ */
337
+
338
+ var hasRequiredReactJsxRuntime_development;
339
+
340
+ function requireReactJsxRuntime_development () {
341
+ if (hasRequiredReactJsxRuntime_development) return reactJsxRuntime_development;
342
+ hasRequiredReactJsxRuntime_development = 1;
343
+ "production" !== process.env.NODE_ENV &&
344
+ (function () {
345
+ function getComponentNameFromType(type) {
346
+ if (null == type) return null;
347
+ if ("function" === typeof type)
348
+ return type.$$typeof === REACT_CLIENT_REFERENCE
349
+ ? null
350
+ : type.displayName || type.name || null;
351
+ if ("string" === typeof type) return type;
352
+ switch (type) {
353
+ case REACT_FRAGMENT_TYPE:
354
+ return "Fragment";
355
+ case REACT_PROFILER_TYPE:
356
+ return "Profiler";
357
+ case REACT_STRICT_MODE_TYPE:
358
+ return "StrictMode";
359
+ case REACT_SUSPENSE_TYPE:
360
+ return "Suspense";
361
+ case REACT_SUSPENSE_LIST_TYPE:
362
+ return "SuspenseList";
363
+ case REACT_ACTIVITY_TYPE:
364
+ return "Activity";
365
+ }
366
+ if ("object" === typeof type)
367
+ switch (
368
+ ("number" === typeof type.tag &&
369
+ console.error(
370
+ "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
371
+ ),
372
+ type.$$typeof)
373
+ ) {
374
+ case REACT_PORTAL_TYPE:
375
+ return "Portal";
376
+ case REACT_CONTEXT_TYPE:
377
+ return (type.displayName || "Context") + ".Provider";
378
+ case REACT_CONSUMER_TYPE:
379
+ return (type._context.displayName || "Context") + ".Consumer";
380
+ case REACT_FORWARD_REF_TYPE:
381
+ var innerType = type.render;
382
+ type = type.displayName;
383
+ type ||
384
+ ((type = innerType.displayName || innerType.name || ""),
385
+ (type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"));
386
+ return type;
387
+ case REACT_MEMO_TYPE:
388
+ return (
389
+ (innerType = type.displayName || null),
390
+ null !== innerType
391
+ ? innerType
392
+ : getComponentNameFromType(type.type) || "Memo"
393
+ );
394
+ case REACT_LAZY_TYPE:
395
+ innerType = type._payload;
396
+ type = type._init;
397
+ try {
398
+ return getComponentNameFromType(type(innerType));
399
+ } catch (x) {}
400
+ }
401
+ return null;
402
+ }
403
+ function testStringCoercion(value) {
404
+ return "" + value;
405
+ }
406
+ function checkKeyStringCoercion(value) {
407
+ try {
408
+ testStringCoercion(value);
409
+ var JSCompiler_inline_result = !1;
410
+ } catch (e) {
411
+ JSCompiler_inline_result = true;
412
+ }
413
+ if (JSCompiler_inline_result) {
414
+ JSCompiler_inline_result = console;
415
+ var JSCompiler_temp_const = JSCompiler_inline_result.error;
416
+ var JSCompiler_inline_result$jscomp$0 =
417
+ ("function" === typeof Symbol &&
418
+ Symbol.toStringTag &&
419
+ value[Symbol.toStringTag]) ||
420
+ value.constructor.name ||
421
+ "Object";
422
+ JSCompiler_temp_const.call(
423
+ JSCompiler_inline_result,
424
+ "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
425
+ JSCompiler_inline_result$jscomp$0
426
+ );
427
+ return testStringCoercion(value);
428
+ }
429
+ }
430
+ function getTaskName(type) {
431
+ if (type === REACT_FRAGMENT_TYPE) return "<>";
432
+ if (
433
+ "object" === typeof type &&
434
+ null !== type &&
435
+ type.$$typeof === REACT_LAZY_TYPE
436
+ )
437
+ return "<...>";
438
+ try {
439
+ var name = getComponentNameFromType(type);
440
+ return name ? "<" + name + ">" : "<...>";
441
+ } catch (x) {
442
+ return "<...>";
443
+ }
444
+ }
445
+ function getOwner() {
446
+ var dispatcher = ReactSharedInternals.A;
447
+ return null === dispatcher ? null : dispatcher.getOwner();
448
+ }
449
+ function UnknownOwner() {
450
+ return Error("react-stack-top-frame");
451
+ }
452
+ function hasValidKey(config) {
453
+ if (hasOwnProperty.call(config, "key")) {
454
+ var getter = Object.getOwnPropertyDescriptor(config, "key").get;
455
+ if (getter && getter.isReactWarning) return false;
456
+ }
457
+ return void 0 !== config.key;
458
+ }
459
+ function defineKeyPropWarningGetter(props, displayName) {
460
+ function warnAboutAccessingKey() {
461
+ specialPropKeyWarningShown ||
462
+ ((specialPropKeyWarningShown = true),
463
+ console.error(
464
+ "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
465
+ displayName
466
+ ));
467
+ }
468
+ warnAboutAccessingKey.isReactWarning = true;
469
+ Object.defineProperty(props, "key", {
470
+ get: warnAboutAccessingKey,
471
+ configurable: true
472
+ });
473
+ }
474
+ function elementRefGetterWithDeprecationWarning() {
475
+ var componentName = getComponentNameFromType(this.type);
476
+ didWarnAboutElementRef[componentName] ||
477
+ ((didWarnAboutElementRef[componentName] = true),
478
+ console.error(
479
+ "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
480
+ ));
481
+ componentName = this.props.ref;
482
+ return void 0 !== componentName ? componentName : null;
483
+ }
484
+ function ReactElement(
485
+ type,
486
+ key,
487
+ self,
488
+ source,
489
+ owner,
490
+ props,
491
+ debugStack,
492
+ debugTask
493
+ ) {
494
+ self = props.ref;
495
+ type = {
496
+ $$typeof: REACT_ELEMENT_TYPE,
497
+ type: type,
498
+ key: key,
499
+ props: props,
500
+ _owner: owner
501
+ };
502
+ null !== (void 0 !== self ? self : null)
503
+ ? Object.defineProperty(type, "ref", {
504
+ enumerable: false,
505
+ get: elementRefGetterWithDeprecationWarning
506
+ })
507
+ : Object.defineProperty(type, "ref", { enumerable: false, value: null });
508
+ type._store = {};
509
+ Object.defineProperty(type._store, "validated", {
510
+ configurable: false,
511
+ enumerable: false,
512
+ writable: true,
513
+ value: 0
514
+ });
515
+ Object.defineProperty(type, "_debugInfo", {
516
+ configurable: false,
517
+ enumerable: false,
518
+ writable: true,
519
+ value: null
520
+ });
521
+ Object.defineProperty(type, "_debugStack", {
522
+ configurable: false,
523
+ enumerable: false,
524
+ writable: true,
525
+ value: debugStack
526
+ });
527
+ Object.defineProperty(type, "_debugTask", {
528
+ configurable: false,
529
+ enumerable: false,
530
+ writable: true,
531
+ value: debugTask
532
+ });
533
+ Object.freeze && (Object.freeze(type.props), Object.freeze(type));
534
+ return type;
535
+ }
536
+ function jsxDEVImpl(
537
+ type,
538
+ config,
539
+ maybeKey,
540
+ isStaticChildren,
541
+ source,
542
+ self,
543
+ debugStack,
544
+ debugTask
545
+ ) {
546
+ var children = config.children;
547
+ if (void 0 !== children)
548
+ if (isStaticChildren)
549
+ if (isArrayImpl(children)) {
550
+ for (
551
+ isStaticChildren = 0;
552
+ isStaticChildren < children.length;
553
+ isStaticChildren++
554
+ )
555
+ validateChildKeys(children[isStaticChildren]);
556
+ Object.freeze && Object.freeze(children);
557
+ } else
558
+ console.error(
559
+ "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
560
+ );
561
+ else validateChildKeys(children);
562
+ if (hasOwnProperty.call(config, "key")) {
563
+ children = getComponentNameFromType(type);
564
+ var keys = Object.keys(config).filter(function (k) {
565
+ return "key" !== k;
566
+ });
567
+ isStaticChildren =
568
+ 0 < keys.length
569
+ ? "{key: someKey, " + keys.join(": ..., ") + ": ...}"
570
+ : "{key: someKey}";
571
+ didWarnAboutKeySpread[children + isStaticChildren] ||
572
+ ((keys =
573
+ 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}"),
574
+ console.error(
575
+ 'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',
576
+ isStaticChildren,
577
+ children,
578
+ keys,
579
+ children
580
+ ),
581
+ (didWarnAboutKeySpread[children + isStaticChildren] = true));
582
+ }
583
+ children = null;
584
+ void 0 !== maybeKey &&
585
+ (checkKeyStringCoercion(maybeKey), (children = "" + maybeKey));
586
+ hasValidKey(config) &&
587
+ (checkKeyStringCoercion(config.key), (children = "" + config.key));
588
+ if ("key" in config) {
589
+ maybeKey = {};
590
+ for (var propName in config)
591
+ "key" !== propName && (maybeKey[propName] = config[propName]);
592
+ } else maybeKey = config;
593
+ children &&
594
+ defineKeyPropWarningGetter(
595
+ maybeKey,
596
+ "function" === typeof type
597
+ ? type.displayName || type.name || "Unknown"
598
+ : type
599
+ );
600
+ return ReactElement(
601
+ type,
602
+ children,
603
+ self,
604
+ source,
605
+ getOwner(),
606
+ maybeKey,
607
+ debugStack,
608
+ debugTask
609
+ );
610
+ }
611
+ function validateChildKeys(node) {
612
+ "object" === typeof node &&
613
+ null !== node &&
614
+ node.$$typeof === REACT_ELEMENT_TYPE &&
615
+ node._store &&
616
+ (node._store.validated = 1);
617
+ }
618
+ var React$1 = React,
619
+ REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
620
+ REACT_PORTAL_TYPE = Symbol.for("react.portal"),
621
+ REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
622
+ REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
623
+ REACT_PROFILER_TYPE = Symbol.for("react.profiler");
624
+ var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
625
+ REACT_CONTEXT_TYPE = Symbol.for("react.context"),
626
+ REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
627
+ REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
628
+ REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
629
+ REACT_MEMO_TYPE = Symbol.for("react.memo"),
630
+ REACT_LAZY_TYPE = Symbol.for("react.lazy"),
631
+ REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
632
+ REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
633
+ ReactSharedInternals =
634
+ React$1.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
635
+ hasOwnProperty = Object.prototype.hasOwnProperty,
636
+ isArrayImpl = Array.isArray,
637
+ createTask = console.createTask
638
+ ? console.createTask
639
+ : function () {
640
+ return null;
641
+ };
642
+ React$1 = {
643
+ "react-stack-bottom-frame": function (callStackForError) {
644
+ return callStackForError();
645
+ }
646
+ };
647
+ var specialPropKeyWarningShown;
648
+ var didWarnAboutElementRef = {};
649
+ var unknownOwnerDebugStack = React$1["react-stack-bottom-frame"].bind(
650
+ React$1,
651
+ UnknownOwner
652
+ )();
653
+ var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
654
+ var didWarnAboutKeySpread = {};
655
+ reactJsxRuntime_development.Fragment = REACT_FRAGMENT_TYPE;
656
+ reactJsxRuntime_development.jsx = function (type, config, maybeKey, source, self) {
657
+ var trackActualOwner =
658
+ 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
659
+ return jsxDEVImpl(
660
+ type,
661
+ config,
662
+ maybeKey,
663
+ false,
664
+ source,
665
+ self,
666
+ trackActualOwner
667
+ ? Error("react-stack-top-frame")
668
+ : unknownOwnerDebugStack,
669
+ trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
670
+ );
671
+ };
672
+ reactJsxRuntime_development.jsxs = function (type, config, maybeKey, source, self) {
673
+ var trackActualOwner =
674
+ 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
675
+ return jsxDEVImpl(
676
+ type,
677
+ config,
678
+ maybeKey,
679
+ true,
680
+ source,
681
+ self,
682
+ trackActualOwner
683
+ ? Error("react-stack-top-frame")
684
+ : unknownOwnerDebugStack,
685
+ trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
686
+ );
687
+ };
688
+ })();
689
+ return reactJsxRuntime_development;
690
+ }
691
+
692
+ var hasRequiredJsxRuntime;
693
+
694
+ function requireJsxRuntime () {
695
+ if (hasRequiredJsxRuntime) return jsxRuntime.exports;
696
+ hasRequiredJsxRuntime = 1;
697
+
698
+ if (process.env.NODE_ENV === 'production') {
699
+ jsxRuntime.exports = requireReactJsxRuntime_production();
700
+ } else {
701
+ jsxRuntime.exports = requireReactJsxRuntime_development();
702
+ }
703
+ return jsxRuntime.exports;
704
+ }
705
+
706
+ var jsxRuntimeExports = requireJsxRuntime();
707
+
708
+ var CLASS_TABLIST_ITEM = "tab-list__item";
709
+ var CLASS_TABLIST_TAB = "tab-list__tab";
710
+ var Tab = function Tab(_a) {
711
+ var href = _a.href,
712
+ children = _a.children,
713
+ className = _a.className,
714
+ controls = _a.controls,
715
+ isDisabled = _a.isDisabled,
716
+ isActive = _a.isActive,
717
+ other = __rest(_a, ["href", "children", "className", "controls", "isDisabled", "isActive"]);
718
+ var tabClasses = cx(CLASS_TABLIST_TAB, className);
719
+ var tabindex = isActive ? 0 : -1;
720
+ var Tag = href ? "a" : "button";
721
+ return /*#__PURE__*/jsxRuntimeExports.jsx("li", {
722
+ className: CLASS_TABLIST_ITEM,
723
+ role: "presentation",
724
+ children: /*#__PURE__*/jsxRuntimeExports.jsx(Tag, _objectSpread2(_objectSpread2({
725
+ type: href ? undefined : "button",
726
+ role: href ? undefined : "tab",
727
+ href: href,
728
+ className: tabClasses,
729
+ "aria-selected": isActive,
730
+ "aria-controls": controls || undefined,
731
+ tabIndex: tabindex,
732
+ "aria-disabled": isDisabled
733
+ }, other), {}, {
734
+ children: children
735
+ }))
736
+ });
737
+ };
738
+ Tab.displayName = "Tab";
739
+
740
+ // we use array to include old browser key names like IE11
741
+ // ie. navigation keys https://developer.mozilla.org/en-US/docs/Web/API/UI_Events/Keyboard_event_key_values#navigation_keys
742
+ var keys = {
743
+ TAB: ['Tab'],
744
+ ARROWLEFT: ['Left', 'ArrowLeft'],
745
+ ARROWUP: ['Up', 'ArrowUp'],
746
+ ARROWRIGHT: ['Right', 'ArrowRight'],
747
+ ARROWDOWN: ['Down', 'ArrowDown']
748
+ };
749
+
750
+ var RovingTabindex = /*#__PURE__*/function () {
751
+ function RovingTabindex(elems) {
752
+ var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {
753
+ direction: 'horizontal'
754
+ };
755
+ _classCallCheck(this, RovingTabindex);
756
+ this.elems = elems;
757
+ this.config = config;
758
+ this.isActive = false;
759
+ this.onKeydown = this.onKeydown.bind(this);
760
+ }
761
+ return _createClass(RovingTabindex, [{
762
+ key: "init",
763
+ value: function init() {
764
+ document.addEventListener('keydown', this.onKeydown);
765
+ this.isActive = true;
766
+ }
767
+ }, {
768
+ key: "destroy",
769
+ value: function destroy() {
770
+ document.removeEventListener('keydown', this.onKeydown);
771
+ this.isActive = false;
772
+ }
773
+ }, {
774
+ key: "update",
775
+ value: function update(elems) {
776
+ this.elems = elems;
777
+ }
778
+ }, {
779
+ key: "onKeydown",
780
+ value: function onKeydown(e) {
781
+ var activeElemIndex = this.elems.indexOf(document.activeElement);
782
+ if ((keys.ARROWUP.includes(e.key) || keys.ARROWDOWN.includes(e.key)) && this.config.direction === 'horizontal') {
783
+ return;
784
+ }
785
+ if ((keys.ARROWLEFT.includes(e.key) || keys.ARROWRIGHT.includes(e.key)) && this.config.direction === 'vertical') {
786
+ return;
787
+ }
788
+ if (keys.ARROWDOWN.includes(e.key) || keys.ARROWRIGHT.includes(e.key)) {
789
+ e.preventDefault();
790
+ if (activeElemIndex >= 0 && activeElemIndex < this.elems.length - 1) {
791
+ this.elems[activeElemIndex + 1].focus();
792
+ } else {
793
+ this.elems[0].focus();
794
+ }
795
+ }
796
+ if (keys.ARROWUP.includes(e.key) || keys.ARROWLEFT.includes(e.key)) {
797
+ e.preventDefault();
798
+ if (activeElemIndex >= 1) {
799
+ this.elems[activeElemIndex - 1].focus();
800
+ } else {
801
+ this.elems[this.elems.length - 1].focus();
802
+ }
803
+ }
804
+ if (keys.TAB.includes(e.key)) {
805
+ this.destroy();
806
+ }
807
+ }
808
+ }]);
809
+ }();
810
+
811
+ var defaultConfig = {
812
+ tabSelector: '[role="tab"]'
813
+ };
814
+ var Tabs$1 = /*#__PURE__*/function () {
815
+ function Tabs(element, config) {
816
+ _classCallCheck(this, Tabs);
817
+ this.isActive = function (el) {
818
+ return el ? !el.hasAttribute("hidden") : false;
819
+ };
820
+ this.isSelected = function (el) {
821
+ return el.getAttribute("aria-selected") === "true";
822
+ };
823
+ this.element = element;
824
+ this.config = Object.assign(Object.assign({}, defaultConfig), config);
825
+ this.tabs = [];
826
+ this.tabPanels = [];
827
+ this.activeTabIndex = null;
828
+ this.rovingTabindex = null;
829
+ this.handleClick = this.handleClick.bind(this);
830
+ this.handleTabFocus = this.handleTabFocus.bind(this);
831
+ this.element.ODS_Tabs = this;
832
+ this.init();
833
+ return this;
834
+ }
835
+ return _createClass(Tabs, [{
836
+ key: "init",
837
+ value: function init() {
838
+ var _this = this;
839
+ this.tabs = Array.from(this.element.querySelectorAll(this.config.tabSelector));
840
+ this.tabs.map(function (tab, index) {
841
+ var controlId = tab.getAttribute("aria-controls");
842
+ _this.tabPanels.push(controlId ? document.getElementById(controlId) : null);
843
+ tab.addEventListener("click", _this.handleClick);
844
+ tab.addEventListener("focus", _this.handleTabFocus);
845
+ if (_this.isSelected(tab)) {
846
+ _this.activeTabIndex = index;
847
+ }
848
+ return tab;
849
+ });
850
+ if (!this.rovingTabindex) {
851
+ this.rovingTabindex = new RovingTabindex(this.tabs, {
852
+ direction: "any"
853
+ });
854
+ } else {
855
+ this.rovingTabindex.update(this.tabs);
856
+ }
857
+ if (this.activeTabIndex !== null) {
858
+ this.toggleTabPanel(this.tabPanels[this.activeTabIndex], "on");
859
+ } else if (this.tabs.length > 0) {
860
+ this.activateNthTab(0);
861
+ }
862
+ }
863
+ }, {
864
+ key: "destroy",
865
+ value: function destroy() {
866
+ var _this2 = this;
867
+ this.tabs.map(function (tab) {
868
+ tab.removeEventListener("click", _this2.handleClick);
869
+ tab.removeEventListener("focus", _this2.handleTabFocus);
870
+ return tab;
871
+ });
872
+ this.tabs = [];
873
+ this.tabPanels = [];
874
+ if (this.rovingTabindex) {
875
+ this.rovingTabindex.destroy();
876
+ }
877
+ this.element.ODS_Tabs = null;
878
+ }
879
+ }, {
880
+ key: "update",
881
+ value: function update() {
882
+ this.destroy();
883
+ this.init();
884
+ }
885
+ }, {
886
+ key: "handleClick",
887
+ value: function handleClick(e) {
888
+ var _this3 = this;
889
+ var clickedTab = e.currentTarget;
890
+ if (clickedTab.hasAttribute("aria-disabled")) {
891
+ e.preventDefault();
892
+ return;
893
+ }
894
+ this.tabs.map(function (tab, i) {
895
+ if (tab === clickedTab) {
896
+ _this3.activeTabIndex = i;
897
+ return _this3.toggleTab(tab, "on");
898
+ }
899
+ return _this3.toggleTab(tab, "off");
900
+ });
901
+ this.tabPanels.map(function (tabPanel) {
902
+ if (tabPanel && tabPanel.getAttribute("id") === clickedTab.getAttribute("aria-controls")) {
903
+ return _this3.toggleTabPanel(tabPanel, "on");
904
+ }
905
+ return _this3.toggleTabPanel(tabPanel, "off");
906
+ });
907
+ }
908
+ }, {
909
+ key: "toggleTab",
910
+ value: function toggleTab(el, state) {
911
+ var isActive = this.isSelected(el);
912
+ if (state === "on" && !isActive) {
913
+ el.setAttribute("aria-selected", "true");
914
+ el.setAttribute("tabindex", "0");
915
+ }
916
+ if (state === "off" && isActive) {
917
+ el.setAttribute("aria-selected", "false");
918
+ el.setAttribute("tabindex", "-1");
919
+ }
920
+ }
921
+ }, {
922
+ key: "toggleTabPanel",
923
+ value: function toggleTabPanel(el, state) {
924
+ if (!el) return;
925
+ var isActive = this.isActive(el);
926
+ if (state === "on" && !isActive) {
927
+ el.removeAttribute("hidden");
928
+ }
929
+ if (state === "off" && isActive) {
930
+ el.setAttribute("hidden", "");
931
+ }
932
+ }
933
+ }, {
934
+ key: "activateNthTab",
935
+ value: function activateNthTab(index) {
936
+ var _this4 = this;
937
+ this.tabs.map(function (tab, i) {
938
+ if (i === index) {
939
+ _this4.activeTabIndex = i;
940
+ return _this4.toggleTab(tab, "on");
941
+ }
942
+ return _this4.toggleTab(tab, "off");
943
+ });
944
+ this.tabPanels.map(function (tabPanel, i) {
945
+ if (i === index) {
946
+ return _this4.toggleTabPanel(tabPanel, "on");
947
+ }
948
+ return _this4.toggleTabPanel(tabPanel, "off");
949
+ });
950
+ }
951
+ }, {
952
+ key: "handleTabFocus",
953
+ value: function handleTabFocus() {
954
+ if (this.rovingTabindex && !this.rovingTabindex.isActive) {
955
+ this.rovingTabindex.init();
956
+ }
957
+ }
958
+ }], [{
959
+ key: "getInstance",
960
+ value: function getInstance(el) {
961
+ return el && el.ODS_Tabs ? el.ODS_Tabs : null;
962
+ }
963
+ }]);
964
+ }();
965
+
966
+ var Tabs = function Tabs(_a) {
967
+ var _a$activeTabIndex = _a.activeTabIndex,
968
+ activeTabIndex = _a$activeTabIndex === void 0 ? 0 : _a$activeTabIndex,
969
+ className = _a.className,
970
+ classesTabNav = _a.classesTabNav,
971
+ _a$colour = _a.colour,
972
+ colour = _a$colour === void 0 ? "default" : _a$colour,
973
+ isFullWidth = _a.isFullWidth,
974
+ isLink = _a.isLink,
975
+ hasEqualTabWidth = _a.hasEqualTabWidth,
976
+ _a$variant = _a.variant,
977
+ variant = _a$variant === void 0 ? "standard" : _a$variant,
978
+ children = _a.children,
979
+ other = __rest(_a, ["activeTabIndex", "className", "classesTabNav", "colour", "isFullWidth", "isLink", "hasEqualTabWidth", "variant", "children"]);
980
+ var CLASS_TABNAV = "tab-list";
981
+ var tabNavClasses = cx(CLASS_TABNAV, _defineProperty({}, "".concat(CLASS_TABNAV, "--equal"), hasEqualTabWidth), _defineProperty({}, "".concat(CLASS_TABNAV, "--fullwidth"), isFullWidth), _defineProperty({}, "".concat(CLASS_TABNAV, "--inverse"), colour === "inverse"), _defineProperty({}, "".concat(CLASS_TABNAV, "--light"), variant === "light"), classesTabNav, className);
982
+ var _useStatic = useStatic(Tabs$1),
983
+ _useStatic2 = _slicedToArray(_useStatic, 1),
984
+ tabListRef = _useStatic2[0];
985
+ function getTabs() {
986
+ return children.map(function (tabPanel, i) {
987
+ var isActive = i === activeTabIndex;
988
+ var _tabPanel$props = tabPanel.props,
989
+ renderTab = _tabPanel$props.renderTab,
990
+ id = _tabPanel$props.id,
991
+ isDisabled = _tabPanel$props.isDisabled,
992
+ tab = _tabPanel$props.tab,
993
+ href = _tabPanel$props.href;
994
+ if (!renderTab) {
995
+ return /*#__PURE__*/React.createElement(Tab, {
996
+ key: id,
997
+ controls: !href ? id : "",
998
+ href: href,
999
+ isDisabled: isDisabled,
1000
+ isActive: isActive
1001
+ }, tab);
1002
+ }
1003
+ var renderedTab = renderTab(tabPanel.props);
1004
+ return /*#__PURE__*/React.cloneElement(renderedTab, {
1005
+ key: id,
1006
+ isActive: isActive
1007
+ });
1008
+ });
1009
+ }
1010
+ function getPanels() {
1011
+ return children.map(function (tabPanel, i) {
1012
+ var isActive = i === activeTabIndex;
1013
+ var id = tabPanel.props.id;
1014
+ return /*#__PURE__*/React.cloneElement(tabPanel, {
1015
+ key: id,
1016
+ isActive: isActive,
1017
+ tab: undefined
1018
+ });
1019
+ });
1020
+ }
1021
+ return /*#__PURE__*/jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
1022
+ children: [/*#__PURE__*/jsxRuntimeExports.jsxs("ul", _objectSpread2(_objectSpread2({
1023
+ className: tabNavClasses,
1024
+ role: isLink ? "navigation" : "tablist",
1025
+ ref: tabListRef,
1026
+ "data-tabs": isLink ? undefined : "true"
1027
+ }, other), {}, {
1028
+ children: [getTabs(), isFullWidth && /*#__PURE__*/jsxRuntimeExports.jsx("li", {
1029
+ role: "presentation",
1030
+ className: "tab-list__hr"
1031
+ })]
1032
+ })), !isLink ? getPanels() : null]
1033
+ });
1034
+ };
1035
+ Tabs.displayName = "Tabs";
1036
+
1037
+ var TabPanel = function TabPanel(_a) {
1038
+ var children = _a.children,
1039
+ isActive = _a.isActive,
1040
+ id = _a.id,
1041
+ href = _a.href,
1042
+ other = __rest(_a, ["children", "isActive", "id", "href"]);
1043
+ var currentId = id || generateId();
1044
+ return /*#__PURE__*/jsxRuntimeExports.jsx("div", _objectSpread2(_objectSpread2({
1045
+ id: currentId,
1046
+ role: href ? "" : "tabpanel",
1047
+ tabIndex: 0,
1048
+ hidden: !isActive
1049
+ }, other), {}, {
1050
+ children: children
1051
+ }));
1052
+ };
1053
+ TabPanel.displayName = "TabPanel";
1054
+
1055
+ export { Tab, TabPanel, Tabs };
1056
+ //# sourceMappingURL=index.js.map