@sebgroup/green-core 2.18.0 → 2.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (408) hide show
  1. package/components/icon/icon.component.d.ts +0 -2
  2. package/components/icon/icon.js +0 -1
  3. package/custom-elements.json +225067 -0
  4. package/gds-element.js +1 -1
  5. package/generated/react/alert/index.d.ts +15 -22
  6. package/generated/react/backdrop/index.d.ts +12 -19
  7. package/generated/react/badge/index.d.ts +15 -22
  8. package/generated/react/blur/index.d.ts +11 -18
  9. package/generated/react/breadcrumb/index.d.ts +15 -22
  10. package/generated/react/breadcrumbs/index.d.ts +12 -19
  11. package/generated/react/button/index.d.ts +23 -30
  12. package/generated/react/calendar/index.d.ts +17 -24
  13. package/generated/react/card/index.d.ts +12 -19
  14. package/generated/react/card-linked/index.d.ts +14 -21
  15. package/generated/react/card-pattern-01/index.d.ts +22 -29
  16. package/generated/react/checkbox/index.d.ts +24 -31
  17. package/generated/react/checkbox-group/index.d.ts +24 -31
  18. package/generated/react/coachmark/index.d.ts +14 -21
  19. package/generated/react/context-menu/index.d.ts +14 -21
  20. package/generated/react/datepicker/index.d.ts +33 -40
  21. package/generated/react/details/index.d.ts +14 -21
  22. package/generated/react/dialog/index.d.ts +13 -20
  23. package/generated/react/div/index.d.ts +11 -18
  24. package/generated/react/divider/index.d.ts +11 -18
  25. package/generated/react/dropdown/index.d.ts +36 -43
  26. package/generated/react/fab/index.d.ts +23 -30
  27. package/generated/react/filter-chip/index.d.ts +12 -19
  28. package/generated/react/filter-chips/index.d.ts +24 -31
  29. package/generated/react/flex/index.d.ts +11 -18
  30. package/generated/react/form-control-footer/index.d.ts +11 -18
  31. package/generated/react/form-control-header/index.d.ts +12 -19
  32. package/generated/react/form-summary/index.d.ts +14 -21
  33. package/generated/react/formatted-account/index.d.ts +14 -21
  34. package/generated/react/formatted-date/index.d.ts +13 -20
  35. package/generated/react/formatted-number/index.d.ts +14 -21
  36. package/generated/react/grid/index.d.ts +11 -18
  37. package/generated/react/grouped-list/index.d.ts +12 -19
  38. package/generated/react/icons/icon-ai/index.d.ts +13 -20
  39. package/generated/react/icons/icon-airplane-up/index.d.ts +13 -20
  40. package/generated/react/icons/icon-archive/index.d.ts +13 -20
  41. package/generated/react/icons/icon-arrow/index.d.ts +13 -20
  42. package/generated/react/icons/icon-arrow-bottom-top/index.d.ts +13 -20
  43. package/generated/react/icons/icon-arrow-box-left/index.d.ts +13 -20
  44. package/generated/react/icons/icon-arrow-box-right/index.d.ts +13 -20
  45. package/generated/react/icons/icon-arrow-down/index.d.ts +13 -20
  46. package/generated/react/icons/icon-arrow-inbox/index.d.ts +13 -20
  47. package/generated/react/icons/icon-arrow-left/index.d.ts +13 -20
  48. package/generated/react/icons/icon-arrow-left-right/index.d.ts +13 -20
  49. package/generated/react/icons/icon-arrow-out-of-box/index.d.ts +13 -20
  50. package/generated/react/icons/icon-arrow-right/index.d.ts +13 -20
  51. package/generated/react/icons/icon-arrow-right-circle/index.d.ts +13 -20
  52. package/generated/react/icons/icon-arrow-right-down-circle/index.d.ts +13 -20
  53. package/generated/react/icons/icon-arrow-right-up-circle/index.d.ts +13 -20
  54. package/generated/react/icons/icon-arrow-rotate-clockwise/index.d.ts +13 -20
  55. package/generated/react/icons/icon-arrow-rotate-counter-clockwise/index.d.ts +13 -20
  56. package/generated/react/icons/icon-arrow-rotate-left-right/index.d.ts +13 -20
  57. package/generated/react/icons/icon-arrow-rotate-right-left/index.d.ts +13 -20
  58. package/generated/react/icons/icon-arrow-share-left/index.d.ts +13 -20
  59. package/generated/react/icons/icon-arrow-share-right/index.d.ts +13 -20
  60. package/generated/react/icons/icon-arrow-split/index.d.ts +13 -20
  61. package/generated/react/icons/icon-arrow-up/index.d.ts +13 -20
  62. package/generated/react/icons/icon-arrow-wall-down/index.d.ts +13 -20
  63. package/generated/react/icons/icon-arrow-wall-left/index.d.ts +13 -20
  64. package/generated/react/icons/icon-arrow-wall-right/index.d.ts +13 -20
  65. package/generated/react/icons/icon-arrow-wall-up/index.d.ts +13 -20
  66. package/generated/react/icons/icon-arrows-repeat/index.d.ts +13 -20
  67. package/generated/react/icons/icon-at/index.d.ts +13 -20
  68. package/generated/react/icons/icon-back/index.d.ts +13 -20
  69. package/generated/react/icons/icon-backward/index.d.ts +13 -20
  70. package/generated/react/icons/icon-bag/index.d.ts +13 -20
  71. package/generated/react/icons/icon-bank/index.d.ts +13 -20
  72. package/generated/react/icons/icon-banknote/index.d.ts +13 -20
  73. package/generated/react/icons/icon-banknote-2/index.d.ts +13 -20
  74. package/generated/react/icons/icon-barcode/index.d.ts +13 -20
  75. package/generated/react/icons/icon-bars-three/index.d.ts +13 -20
  76. package/generated/react/icons/icon-bars-two/index.d.ts +13 -20
  77. package/generated/react/icons/icon-basket/index.d.ts +13 -20
  78. package/generated/react/icons/icon-battery-loading/index.d.ts +13 -20
  79. package/generated/react/icons/icon-bell/index.d.ts +13 -20
  80. package/generated/react/icons/icon-block/index.d.ts +13 -20
  81. package/generated/react/icons/icon-book/index.d.ts +13 -20
  82. package/generated/react/icons/icon-bookmark/index.d.ts +13 -20
  83. package/generated/react/icons/icon-bookmark-check/index.d.ts +13 -20
  84. package/generated/react/icons/icon-bookmark-delete/index.d.ts +13 -20
  85. package/generated/react/icons/icon-bookmark-plus/index.d.ts +13 -20
  86. package/generated/react/icons/icon-bookmark-remove/index.d.ts +13 -20
  87. package/generated/react/icons/icon-books/index.d.ts +13 -20
  88. package/generated/react/icons/icon-brand-app-store/index.d.ts +13 -20
  89. package/generated/react/icons/icon-brand-apple-music/index.d.ts +13 -20
  90. package/generated/react/icons/icon-brand-bankid/index.d.ts +13 -20
  91. package/generated/react/icons/icon-brand-chrome/index.d.ts +13 -20
  92. package/generated/react/icons/icon-brand-facebook/index.d.ts +13 -20
  93. package/generated/react/icons/icon-brand-figma/index.d.ts +13 -20
  94. package/generated/react/icons/icon-brand-firefox/index.d.ts +13 -20
  95. package/generated/react/icons/icon-brand-github/index.d.ts +13 -20
  96. package/generated/react/icons/icon-brand-green/index.d.ts +13 -20
  97. package/generated/react/icons/icon-brand-instagram/index.d.ts +13 -20
  98. package/generated/react/icons/icon-brand-linkedin/index.d.ts +13 -20
  99. package/generated/react/icons/icon-brand-play-store/index.d.ts +13 -20
  100. package/generated/react/icons/icon-brand-rss-feed/index.d.ts +13 -20
  101. package/generated/react/icons/icon-brand-seb/index.d.ts +13 -20
  102. package/generated/react/icons/icon-brand-spotify/index.d.ts +13 -20
  103. package/generated/react/icons/icon-brand-storybook/index.d.ts +13 -20
  104. package/generated/react/icons/icon-brand-x/index.d.ts +13 -20
  105. package/generated/react/icons/icon-brush/index.d.ts +13 -20
  106. package/generated/react/icons/icon-bubble/index.d.ts +13 -20
  107. package/generated/react/icons/icon-bubble-annotation/index.d.ts +13 -20
  108. package/generated/react/icons/icon-bubble-dots/index.d.ts +13 -20
  109. package/generated/react/icons/icon-bubble-question/index.d.ts +13 -20
  110. package/generated/react/icons/icon-bubble-quotes/index.d.ts +13 -20
  111. package/generated/react/icons/icon-bubble-text/index.d.ts +13 -20
  112. package/generated/react/icons/icon-bubble-wide-annotation/index.d.ts +13 -20
  113. package/generated/react/icons/icon-bubbles/index.d.ts +13 -20
  114. package/generated/react/icons/icon-buildings/index.d.ts +13 -20
  115. package/generated/react/icons/icon-bullet-list/index.d.ts +13 -20
  116. package/generated/react/icons/icon-cain-link/index.d.ts +13 -20
  117. package/generated/react/icons/icon-calculator/index.d.ts +13 -20
  118. package/generated/react/icons/icon-calendar/index.d.ts +13 -20
  119. package/generated/react/icons/icon-calendar-check/index.d.ts +13 -20
  120. package/generated/react/icons/icon-calender-add/index.d.ts +13 -20
  121. package/generated/react/icons/icon-call/index.d.ts +13 -20
  122. package/generated/react/icons/icon-car/index.d.ts +13 -20
  123. package/generated/react/icons/icon-carussel/index.d.ts +13 -20
  124. package/generated/react/icons/icon-chain-link/index.d.ts +13 -20
  125. package/generated/react/icons/icon-chain-link-broken/index.d.ts +13 -20
  126. package/generated/react/icons/icon-charging-station/index.d.ts +13 -20
  127. package/generated/react/icons/icon-chart-one/index.d.ts +13 -20
  128. package/generated/react/icons/icon-chart-presentation/index.d.ts +13 -20
  129. package/generated/react/icons/icon-chart-two/index.d.ts +13 -20
  130. package/generated/react/icons/icon-checklist/index.d.ts +13 -20
  131. package/generated/react/icons/icon-checkmark/index.d.ts +13 -20
  132. package/generated/react/icons/icon-chevron-bottom/index.d.ts +13 -20
  133. package/generated/react/icons/icon-chevron-double-down/index.d.ts +13 -20
  134. package/generated/react/icons/icon-chevron-double-left/index.d.ts +13 -20
  135. package/generated/react/icons/icon-chevron-double-right/index.d.ts +13 -20
  136. package/generated/react/icons/icon-chevron-double-up/index.d.ts +13 -20
  137. package/generated/react/icons/icon-chevron-down-small/index.d.ts +13 -20
  138. package/generated/react/icons/icon-chevron-grabber-vertical/index.d.ts +13 -20
  139. package/generated/react/icons/icon-chevron-left/index.d.ts +13 -20
  140. package/generated/react/icons/icon-chevron-left-small/index.d.ts +13 -20
  141. package/generated/react/icons/icon-chevron-right/index.d.ts +13 -20
  142. package/generated/react/icons/icon-chevron-right-small/index.d.ts +13 -20
  143. package/generated/react/icons/icon-chevron-top/index.d.ts +13 -20
  144. package/generated/react/icons/icon-chevron-top-small/index.d.ts +13 -20
  145. package/generated/react/icons/icon-circle-ban/index.d.ts +13 -20
  146. package/generated/react/icons/icon-circle-check/index.d.ts +13 -20
  147. package/generated/react/icons/icon-circle-dots/index.d.ts +13 -20
  148. package/generated/react/icons/icon-circle-info/index.d.ts +13 -20
  149. package/generated/react/icons/icon-circle-minus/index.d.ts +13 -20
  150. package/generated/react/icons/icon-circle-placeholder-on/index.d.ts +13 -20
  151. package/generated/react/icons/icon-circle-plus/index.d.ts +13 -20
  152. package/generated/react/icons/icon-circle-questionmark/index.d.ts +13 -20
  153. package/generated/react/icons/icon-circle-x/index.d.ts +13 -20
  154. package/generated/react/icons/icon-circles-three/index.d.ts +13 -20
  155. package/generated/react/icons/icon-clock/index.d.ts +13 -20
  156. package/generated/react/icons/icon-cloud-download/index.d.ts +13 -20
  157. package/generated/react/icons/icon-cloud-upload/index.d.ts +13 -20
  158. package/generated/react/icons/icon-cloudy-sun/index.d.ts +13 -20
  159. package/generated/react/icons/icon-code/index.d.ts +13 -20
  160. package/generated/react/icons/icon-code-brackets/index.d.ts +13 -20
  161. package/generated/react/icons/icon-compass-round/index.d.ts +13 -20
  162. package/generated/react/icons/icon-cookies/index.d.ts +13 -20
  163. package/generated/react/icons/icon-copy/index.d.ts +13 -20
  164. package/generated/react/icons/icon-credit-card/index.d.ts +13 -20
  165. package/generated/react/icons/icon-cross-large/index.d.ts +13 -20
  166. package/generated/react/icons/icon-cross-small/index.d.ts +13 -20
  167. package/generated/react/icons/icon-cup-hot/index.d.ts +13 -20
  168. package/generated/react/icons/icon-cursor/index.d.ts +13 -20
  169. package/generated/react/icons/icon-details/index.d.ts +12 -19
  170. package/generated/react/icons/icon-devices/index.d.ts +13 -20
  171. package/generated/react/icons/icon-direction/index.d.ts +13 -20
  172. package/generated/react/icons/icon-dollar/index.d.ts +13 -20
  173. package/generated/react/icons/icon-dot-grid-one-horizontal/index.d.ts +13 -20
  174. package/generated/react/icons/icon-dot-grid-one-vertical/index.d.ts +13 -20
  175. package/generated/react/icons/icon-dot-grid-three/index.d.ts +13 -20
  176. package/generated/react/icons/icon-dot-grid-two/index.d.ts +13 -20
  177. package/generated/react/icons/icon-email/index.d.ts +13 -20
  178. package/generated/react/icons/icon-emoji-angry/index.d.ts +13 -20
  179. package/generated/react/icons/icon-emoji-neutral/index.d.ts +13 -20
  180. package/generated/react/icons/icon-emoji-sad/index.d.ts +13 -20
  181. package/generated/react/icons/icon-emoji-smile/index.d.ts +13 -20
  182. package/generated/react/icons/icon-emoji-smiley/index.d.ts +13 -20
  183. package/generated/react/icons/icon-euro/index.d.ts +13 -20
  184. package/generated/react/icons/icon-expand/index.d.ts +13 -20
  185. package/generated/react/icons/icon-eye-open/index.d.ts +13 -20
  186. package/generated/react/icons/icon-eye-slash/index.d.ts +13 -20
  187. package/generated/react/icons/icon-fashion/index.d.ts +13 -20
  188. package/generated/react/icons/icon-fast-forward/index.d.ts +13 -20
  189. package/generated/react/icons/icon-file-bend/index.d.ts +13 -20
  190. package/generated/react/icons/icon-file-chart/index.d.ts +13 -20
  191. package/generated/react/icons/icon-file-text/index.d.ts +13 -20
  192. package/generated/react/icons/icon-files/index.d.ts +13 -20
  193. package/generated/react/icons/icon-filter/index.d.ts +13 -20
  194. package/generated/react/icons/icon-flag/index.d.ts +13 -20
  195. package/generated/react/icons/icon-floppy-disk/index.d.ts +13 -20
  196. package/generated/react/icons/icon-focus/index.d.ts +13 -20
  197. package/generated/react/icons/icon-focus-square/index.d.ts +13 -20
  198. package/generated/react/icons/icon-folder/index.d.ts +13 -20
  199. package/generated/react/icons/icon-folder-add-right/index.d.ts +13 -20
  200. package/generated/react/icons/icon-folder-paper/index.d.ts +13 -20
  201. package/generated/react/icons/icon-folder-upload/index.d.ts +13 -20
  202. package/generated/react/icons/icon-fullscreen/index.d.ts +13 -20
  203. package/generated/react/icons/icon-gift/index.d.ts +13 -20
  204. package/generated/react/icons/icon-globus/index.d.ts +13 -20
  205. package/generated/react/icons/icon-graduate-cap/index.d.ts +13 -20
  206. package/generated/react/icons/icon-green-power/index.d.ts +13 -20
  207. package/generated/react/icons/icon-group/index.d.ts +13 -20
  208. package/generated/react/icons/icon-growth/index.d.ts +13 -20
  209. package/generated/react/icons/icon-headphones/index.d.ts +13 -20
  210. package/generated/react/icons/icon-heart/index.d.ts +13 -20
  211. package/generated/react/icons/icon-heart-beat/index.d.ts +13 -20
  212. package/generated/react/icons/icon-history/index.d.ts +13 -20
  213. package/generated/react/icons/icon-home-energy-one/index.d.ts +13 -20
  214. package/generated/react/icons/icon-home-energy-two/index.d.ts +13 -20
  215. package/generated/react/icons/icon-home-open/index.d.ts +13 -20
  216. package/generated/react/icons/icon-home-roof/index.d.ts +13 -20
  217. package/generated/react/icons/icon-horizontal-alignment-bottom/index.d.ts +13 -20
  218. package/generated/react/icons/icon-hourglass/index.d.ts +13 -20
  219. package/generated/react/icons/icon-images/index.d.ts +13 -20
  220. package/generated/react/icons/icon-inbox-empty/index.d.ts +13 -20
  221. package/generated/react/icons/icon-industry/index.d.ts +13 -20
  222. package/generated/react/icons/icon-invite/index.d.ts +13 -20
  223. package/generated/react/icons/icon-jpg/index.d.ts +13 -20
  224. package/generated/react/icons/icon-key/index.d.ts +13 -20
  225. package/generated/react/icons/icon-knife-spoon/index.d.ts +13 -20
  226. package/generated/react/icons/icon-lab/index.d.ts +13 -20
  227. package/generated/react/icons/icon-law/index.d.ts +13 -20
  228. package/generated/react/icons/icon-leisure/index.d.ts +13 -20
  229. package/generated/react/icons/icon-light-bulb/index.d.ts +13 -20
  230. package/generated/react/icons/icon-light-bulb-simple/index.d.ts +13 -20
  231. package/generated/react/icons/icon-lightning/index.d.ts +13 -20
  232. package/generated/react/icons/icon-line-chart-four/index.d.ts +13 -20
  233. package/generated/react/icons/icon-line-chart-one/index.d.ts +13 -20
  234. package/generated/react/icons/icon-line-chart-three/index.d.ts +13 -20
  235. package/generated/react/icons/icon-line-chart-two/index.d.ts +13 -20
  236. package/generated/react/icons/icon-lock/index.d.ts +13 -20
  237. package/generated/react/icons/icon-macbook-air/index.d.ts +13 -20
  238. package/generated/react/icons/icon-magnifying-glass/index.d.ts +13 -20
  239. package/generated/react/icons/icon-maintenance/index.d.ts +13 -20
  240. package/generated/react/icons/icon-map-pin/index.d.ts +13 -20
  241. package/generated/react/icons/icon-megaphone/index.d.ts +13 -20
  242. package/generated/react/icons/icon-menu-sidebar/index.d.ts +13 -20
  243. package/generated/react/icons/icon-mic-off/index.d.ts +13 -20
  244. package/generated/react/icons/icon-mic-on/index.d.ts +13 -20
  245. package/generated/react/icons/icon-minimize/index.d.ts +13 -20
  246. package/generated/react/icons/icon-minus-large/index.d.ts +13 -20
  247. package/generated/react/icons/icon-minus-small/index.d.ts +13 -20
  248. package/generated/react/icons/icon-money-hand/index.d.ts +13 -20
  249. package/generated/react/icons/icon-moneybag/index.d.ts +13 -20
  250. package/generated/react/icons/icon-moon/index.d.ts +13 -20
  251. package/generated/react/icons/icon-mute/index.d.ts +13 -20
  252. package/generated/react/icons/icon-office/index.d.ts +13 -20
  253. package/generated/react/icons/icon-other/index.d.ts +13 -20
  254. package/generated/react/icons/icon-page-add/index.d.ts +13 -20
  255. package/generated/react/icons/icon-page-text/index.d.ts +13 -20
  256. package/generated/react/icons/icon-paper-plane-top-right/index.d.ts +13 -20
  257. package/generated/react/icons/icon-paperclip/index.d.ts +13 -20
  258. package/generated/react/icons/icon-pause/index.d.ts +13 -20
  259. package/generated/react/icons/icon-pdf/index.d.ts +13 -20
  260. package/generated/react/icons/icon-pencel-line/index.d.ts +13 -20
  261. package/generated/react/icons/icon-pencil-sign/index.d.ts +13 -20
  262. package/generated/react/icons/icon-pencil-sparkle/index.d.ts +13 -20
  263. package/generated/react/icons/icon-pencil-wave/index.d.ts +13 -20
  264. package/generated/react/icons/icon-pension/index.d.ts +13 -20
  265. package/generated/react/icons/icon-people/index.d.ts +13 -20
  266. package/generated/react/icons/icon-people-a11y/index.d.ts +13 -20
  267. package/generated/react/icons/icon-people-add/index.d.ts +13 -20
  268. package/generated/react/icons/icon-people-added/index.d.ts +13 -20
  269. package/generated/react/icons/icon-people-circle/index.d.ts +13 -20
  270. package/generated/react/icons/icon-people-copy/index.d.ts +13 -20
  271. package/generated/react/icons/icon-people-profile/index.d.ts +13 -20
  272. package/generated/react/icons/icon-people-remove/index.d.ts +13 -20
  273. package/generated/react/icons/icon-percent/index.d.ts +13 -20
  274. package/generated/react/icons/icon-phone/index.d.ts +13 -20
  275. package/generated/react/icons/icon-phone-dynamic-island/index.d.ts +13 -20
  276. package/generated/react/icons/icon-pie-chart/index.d.ts +13 -20
  277. package/generated/react/icons/icon-piggy-bank/index.d.ts +13 -20
  278. package/generated/react/icons/icon-pin/index.d.ts +13 -20
  279. package/generated/react/icons/icon-pinch/index.d.ts +13 -20
  280. package/generated/react/icons/icon-play/index.d.ts +13 -20
  281. package/generated/react/icons/icon-play-circle/index.d.ts +13 -20
  282. package/generated/react/icons/icon-plus-large/index.d.ts +13 -20
  283. package/generated/react/icons/icon-plus-small/index.d.ts +13 -20
  284. package/generated/react/icons/icon-png/index.d.ts +13 -20
  285. package/generated/react/icons/icon-poop/index.d.ts +13 -20
  286. package/generated/react/icons/icon-postcard/index.d.ts +13 -20
  287. package/generated/react/icons/icon-pound/index.d.ts +13 -20
  288. package/generated/react/icons/icon-power-plant/index.d.ts +13 -20
  289. package/generated/react/icons/icon-printer/index.d.ts +13 -20
  290. package/generated/react/icons/icon-push/index.d.ts +13 -20
  291. package/generated/react/icons/icon-qr-code/index.d.ts +13 -20
  292. package/generated/react/icons/icon-rainy/index.d.ts +13 -20
  293. package/generated/react/icons/icon-raising-hand/index.d.ts +13 -20
  294. package/generated/react/icons/icon-reading-list/index.d.ts +13 -20
  295. package/generated/react/icons/icon-receipt-bill/index.d.ts +13 -20
  296. package/generated/react/icons/icon-receiption-bell/index.d.ts +13 -20
  297. package/generated/react/icons/icon-record/index.d.ts +13 -20
  298. package/generated/react/icons/icon-refund/index.d.ts +13 -20
  299. package/generated/react/icons/icon-robot/index.d.ts +13 -20
  300. package/generated/react/icons/icon-rocket/index.d.ts +13 -20
  301. package/generated/react/icons/icon-run-shortcut/index.d.ts +13 -20
  302. package/generated/react/icons/icon-safari/index.d.ts +13 -20
  303. package/generated/react/icons/icon-school/index.d.ts +13 -20
  304. package/generated/react/icons/icon-scissors/index.d.ts +13 -20
  305. package/generated/react/icons/icon-search-menu/index.d.ts +13 -20
  306. package/generated/react/icons/icon-seb/index.d.ts +13 -20
  307. package/generated/react/icons/icon-settings-gear/index.d.ts +13 -20
  308. package/generated/react/icons/icon-settings-slider-hor/index.d.ts +13 -20
  309. package/generated/react/icons/icon-settings-slider-three/index.d.ts +13 -20
  310. package/generated/react/icons/icon-settings-slider-ver/index.d.ts +13 -20
  311. package/generated/react/icons/icon-shapes/index.d.ts +13 -20
  312. package/generated/react/icons/icon-share/index.d.ts +13 -20
  313. package/generated/react/icons/icon-shield/index.d.ts +13 -20
  314. package/generated/react/icons/icon-shield-checked/index.d.ts +13 -20
  315. package/generated/react/icons/icon-shield-crossed/index.d.ts +13 -20
  316. package/generated/react/icons/icon-shopping-bag/index.d.ts +13 -20
  317. package/generated/react/icons/icon-signature/index.d.ts +13 -20
  318. package/generated/react/icons/icon-smartwatch/index.d.ts +13 -20
  319. package/generated/react/icons/icon-solar/index.d.ts +13 -20
  320. package/generated/react/icons/icon-solar-panel/index.d.ts +13 -20
  321. package/generated/react/icons/icon-sort/index.d.ts +13 -20
  322. package/generated/react/icons/icon-sort-ascending/index.d.ts +13 -20
  323. package/generated/react/icons/icon-sort-descending/index.d.ts +13 -20
  324. package/generated/react/icons/icon-sort-down/index.d.ts +13 -20
  325. package/generated/react/icons/icon-sort-up/index.d.ts +13 -20
  326. package/generated/react/icons/icon-square-arrow-top-right/index.d.ts +13 -20
  327. package/generated/react/icons/icon-square-behind-square/index.d.ts +13 -20
  328. package/generated/react/icons/icon-square-check/index.d.ts +13 -20
  329. package/generated/react/icons/icon-square-grid-circle/index.d.ts +13 -20
  330. package/generated/react/icons/icon-square-info/index.d.ts +13 -20
  331. package/generated/react/icons/icon-square-minus/index.d.ts +13 -20
  332. package/generated/react/icons/icon-square-placeholder/index.d.ts +13 -20
  333. package/generated/react/icons/icon-square-plus/index.d.ts +13 -20
  334. package/generated/react/icons/icon-square-x/index.d.ts +13 -20
  335. package/generated/react/icons/icon-star/index.d.ts +13 -20
  336. package/generated/react/icons/icon-store/index.d.ts +13 -20
  337. package/generated/react/icons/icon-suitcase-work/index.d.ts +13 -20
  338. package/generated/react/icons/icon-sun/index.d.ts +13 -20
  339. package/generated/react/icons/icon-sunset-arrow-down/index.d.ts +13 -20
  340. package/generated/react/icons/icon-tag/index.d.ts +13 -20
  341. package/generated/react/icons/icon-target-arrow/index.d.ts +13 -20
  342. package/generated/react/icons/icon-television/index.d.ts +13 -20
  343. package/generated/react/icons/icon-tennis/index.d.ts +13 -20
  344. package/generated/react/icons/icon-text-edit/index.d.ts +13 -20
  345. package/generated/react/icons/icon-thermostat/index.d.ts +13 -20
  346. package/generated/react/icons/icon-thumbs-down/index.d.ts +13 -20
  347. package/generated/react/icons/icon-thumbs-up/index.d.ts +13 -20
  348. package/generated/react/icons/icon-ticket/index.d.ts +13 -20
  349. package/generated/react/icons/icon-todos/index.d.ts +13 -20
  350. package/generated/react/icons/icon-trading-view-candles/index.d.ts +13 -20
  351. package/generated/react/icons/icon-trash-can/index.d.ts +13 -20
  352. package/generated/react/icons/icon-tree/index.d.ts +13 -20
  353. package/generated/react/icons/icon-trending-four/index.d.ts +13 -20
  354. package/generated/react/icons/icon-trending-one/index.d.ts +13 -20
  355. package/generated/react/icons/icon-trending-three/index.d.ts +13 -20
  356. package/generated/react/icons/icon-trending-two/index.d.ts +13 -20
  357. package/generated/react/icons/icon-triangle-exclamation/index.d.ts +13 -20
  358. package/generated/react/icons/icon-truck/index.d.ts +13 -20
  359. package/generated/react/icons/icon-umbrella-security/index.d.ts +13 -20
  360. package/generated/react/icons/icon-unlocked/index.d.ts +13 -20
  361. package/generated/react/icons/icon-vertical-alignment-right/index.d.ts +13 -20
  362. package/generated/react/icons/icon-volume-full/index.d.ts +13 -20
  363. package/generated/react/icons/icon-volume-half/index.d.ts +13 -20
  364. package/generated/react/icons/icon-volume-off/index.d.ts +13 -20
  365. package/generated/react/icons/icon-wallet/index.d.ts +13 -20
  366. package/generated/react/icons/icon-warning-sign/index.d.ts +13 -20
  367. package/generated/react/icons/icon-wifi-full/index.d.ts +13 -20
  368. package/generated/react/icons/icon-youtube/index.d.ts +13 -20
  369. package/generated/react/icons/icon-zap/index.d.ts +13 -20
  370. package/generated/react/icons/icon-zoom-in/index.d.ts +13 -20
  371. package/generated/react/icons/icon-zoom-out/index.d.ts +13 -20
  372. package/generated/react/img/index.d.ts +13 -20
  373. package/generated/react/index.d.ts +4 -5
  374. package/generated/react/index.js +4 -5
  375. package/generated/react/input/index.d.ts +33 -40
  376. package/generated/react/link/index.d.ts +14 -21
  377. package/generated/react/list-item/index.d.ts +11 -18
  378. package/generated/react/mask/index.d.ts +14 -21
  379. package/generated/react/menu-button/index.d.ts +17 -24
  380. package/generated/react/menu-heading/index.d.ts +11 -18
  381. package/generated/react/menu-item/index.d.ts +11 -18
  382. package/generated/react/option/index.d.ts +15 -22
  383. package/generated/react/popover/index.d.ts +15 -22
  384. package/generated/react/radio/index.d.ts +17 -24
  385. package/generated/react/radio-group/index.d.ts +24 -31
  386. package/generated/react/rich-text/index.d.ts +11 -18
  387. package/generated/react/segment/index.d.ts +15 -22
  388. package/generated/react/segmented-control/index.d.ts +13 -20
  389. package/generated/react/select/index.d.ts +26 -33
  390. package/generated/react/sensitive-account/index.d.ts +15 -22
  391. package/generated/react/sensitive-date/index.d.ts +14 -21
  392. package/generated/react/sensitive-number/index.d.ts +15 -22
  393. package/generated/react/signal/index.d.ts +11 -18
  394. package/generated/react/spinner/index.d.ts +14 -21
  395. package/generated/react/text/index.d.ts +12 -19
  396. package/generated/react/textarea/index.d.ts +31 -38
  397. package/generated/react/theme/index.d.ts +11 -18
  398. package/generated/react/video/index.d.ts +11 -18
  399. package/package.json +7 -4
  400. package/utils/helpers/component-meta.d.ts +74 -0
  401. package/utils/helpers/component-meta.js +276 -0
  402. package/utils/helpers/component-meta.types.d.ts +68 -0
  403. package/utils/helpers/component-meta.types.js +0 -0
  404. package/utils/helpers/custom-element-scoping.d.ts +1 -1
  405. package/utils/helpers/custom-element-scoping.js +3 -3
  406. package/utils/mixins/focusable.js +10 -10
  407. package/generated/react/icons/icon/index.d.ts +0 -395
  408. package/generated/react/icons/icon/index.js +0 -13
@@ -0,0 +1,276 @@
1
+ import "../../chunks/chunk.QU3DSPNU.js";
2
+ class CemParser {
3
+ /**
4
+ * Loads and parses the CEM file
5
+ */
6
+ static async loadManifest(cemPath = "../../custom-elements.json") {
7
+ const cemModule = await import(cemPath);
8
+ return cemModule.default;
9
+ }
10
+ /**
11
+ * Extracts modules that contain web components
12
+ */
13
+ static getComponentModules(manifest) {
14
+ return manifest.modules.filter(
15
+ (mod) => mod.declarations?.some((declaration) => {
16
+ const d = declaration;
17
+ return d.tagName && d.customElement === true;
18
+ })
19
+ );
20
+ }
21
+ /**
22
+ * Extracts component data from a JavaScriptModule declaration
23
+ */
24
+ static extractComponentData(mod, declaration) {
25
+ const className = declaration.name;
26
+ const tagName = declaration.tagName;
27
+ return {
28
+ tagName,
29
+ className,
30
+ description: declaration.description,
31
+ outputPath: mod.path,
32
+ sourcePath: mod.path,
33
+ properties: this.extractProperties(declaration),
34
+ events: this.extractEvents(declaration),
35
+ slots: this.extractSlots(declaration),
36
+ methods: this.extractMethods(declaration),
37
+ isFormControl: this.isFormControl(declaration),
38
+ isLinkComponent: this.isLinkComponent(declaration),
39
+ isCheckboxComponent: this.isCheckboxComponent(tagName)
40
+ };
41
+ }
42
+ /**
43
+ * Checks if a component is a form control by looking for properties inherited from GdsFormControlElement
44
+ */
45
+ static isFormControl(declaration) {
46
+ if (!declaration.members) return false;
47
+ return declaration.members.some(
48
+ (member) => member.inheritedFrom?.name === "GdsFormControlElement" && member.inheritedFrom?.module === "src/components/form/form-control.ts"
49
+ );
50
+ }
51
+ /**
52
+ * Checks if a component supports routing by looking for an 'href' property
53
+ */
54
+ static isLinkComponent(declaration) {
55
+ if (!declaration.members) return false;
56
+ return declaration.members.some(
57
+ (member) => member.kind === "field" && member.name === "href" && member.privacy !== "private" && member.privacy !== "protected"
58
+ );
59
+ }
60
+ /**
61
+ * Checks if a component is a checkbox by checking the tag name
62
+ * Checkboxes need special handling to work with boolean checked state instead of string values
63
+ */
64
+ static isCheckboxComponent(tagName) {
65
+ return tagName === "gds-checkbox";
66
+ }
67
+ /**
68
+ * Extracts properties
69
+ */
70
+ static extractProperties(declaration) {
71
+ if (!declaration.members) return [];
72
+ return declaration.members.filter(
73
+ (member) => member.name?.length > 0 && member.kind === "field" && member.privacy !== "private" && member.privacy !== "protected" && !member.readonly && !member.static
74
+ ).map((field) => ({
75
+ kind: "field",
76
+ name: field.name,
77
+ type: field.type,
78
+ defaultValue: field.default,
79
+ description: field.description
80
+ }));
81
+ }
82
+ /**
83
+ * Extracts events
84
+ */
85
+ static extractEvents(declaration) {
86
+ if (!declaration.events) return [];
87
+ return declaration.events.filter((event) => event.name && !event.inheritedFrom).map((event) => ({
88
+ name: event.name,
89
+ // Store original event name
90
+ type: this.mapEventType(event.type?.text, event.name),
91
+ description: event.description
92
+ }));
93
+ }
94
+ /**
95
+ * Extracts slot information
96
+ */
97
+ static extractSlots(declaration) {
98
+ if (!declaration.slots) return [];
99
+ return declaration.slots.map((slot) => ({
100
+ name: slot.name || "default",
101
+ description: slot.description
102
+ }));
103
+ }
104
+ /**
105
+ * Extracts public methods
106
+ */
107
+ static extractMethods(declaration) {
108
+ if (!declaration.members) return [];
109
+ return declaration.members.filter(
110
+ (member) => member.kind === "method" && member.privacy !== "private" && !member.static && !member.inheritedFrom && !member.name.startsWith("_")
111
+ ).map((method) => ({
112
+ name: method.name,
113
+ description: method.description,
114
+ returnType: method.return?.type,
115
+ parameters: method.parameters?.map((param) => ({
116
+ name: param.name,
117
+ type: param.type?.text || "any",
118
+ optional: param.optional || false
119
+ })) || []
120
+ }));
121
+ }
122
+ /**
123
+ * Maps CEM event types to TypeScript types
124
+ */
125
+ static mapEventType(cemType, eventName) {
126
+ if (cemType) {
127
+ if (cemType === "CustomEvent") {
128
+ return "CustomEvent<any>";
129
+ }
130
+ return cemType;
131
+ }
132
+ if (!eventName) return "Event";
133
+ const standardEventMap = {
134
+ click: "MouseEvent",
135
+ dblclick: "MouseEvent",
136
+ mousedown: "MouseEvent",
137
+ mouseup: "MouseEvent",
138
+ mouseover: "MouseEvent",
139
+ mouseout: "MouseEvent",
140
+ mousemove: "MouseEvent",
141
+ mouseenter: "MouseEvent",
142
+ mouseleave: "MouseEvent",
143
+ contextmenu: "MouseEvent",
144
+ keydown: "KeyboardEvent",
145
+ keyup: "KeyboardEvent",
146
+ keypress: "KeyboardEvent",
147
+ focus: "FocusEvent",
148
+ blur: "FocusEvent",
149
+ focusin: "FocusEvent",
150
+ focusout: "FocusEvent",
151
+ input: "InputEvent",
152
+ change: "Event",
153
+ submit: "SubmitEvent",
154
+ reset: "Event",
155
+ scroll: "Event",
156
+ resize: "UIEvent",
157
+ load: "Event",
158
+ unload: "Event",
159
+ error: "ErrorEvent",
160
+ touchstart: "TouchEvent",
161
+ touchend: "TouchEvent",
162
+ touchmove: "TouchEvent",
163
+ touchcancel: "TouchEvent",
164
+ wheel: "WheelEvent",
165
+ drag: "DragEvent",
166
+ dragstart: "DragEvent",
167
+ dragend: "DragEvent",
168
+ dragenter: "DragEvent",
169
+ dragleave: "DragEvent",
170
+ dragover: "DragEvent",
171
+ drop: "DragEvent"
172
+ };
173
+ const standardType = standardEventMap[eventName];
174
+ if (standardType) {
175
+ return standardType;
176
+ }
177
+ if (eventName.startsWith("gds-") || eventName.includes("-")) {
178
+ return "CustomEvent<any>";
179
+ }
180
+ return "Event";
181
+ }
182
+ /**
183
+ * Finds primitives that are re-exported by component modules
184
+ */
185
+ static findReExportedPrimitives(manifest) {
186
+ const reExportedPrimitives = [];
187
+ for (const JavaScriptModule of manifest.modules) {
188
+ if (!JavaScriptModule.path.includes("/components/") || !JavaScriptModule.exports) {
189
+ continue;
190
+ }
191
+ for (const exportDecl of JavaScriptModule.exports) {
192
+ if (exportDecl.declaration?.module?.includes("primitives/")) {
193
+ const primitivePackage = exportDecl.declaration.module;
194
+ const primitiveModule = manifest.modules.find(
195
+ (m) => m.path.includes(
196
+ primitivePackage.replace(/^\.\.\//, "src/").replace(
197
+ /^\.\//,
198
+ JavaScriptModule.path.replace(/\/[^/]+$/, "/")
199
+ )
200
+ )
201
+ );
202
+ if (primitiveModule?.declarations) {
203
+ for (const primitiveDecl of primitiveModule.declarations) {
204
+ if (primitiveDecl.customElement && primitiveDecl.tagName) {
205
+ reExportedPrimitives.push({
206
+ primitiveName: primitiveDecl.tagName,
207
+ primitiveClass: primitiveDecl.name,
208
+ reExportModule: JavaScriptModule.path,
209
+ reExportPath: JavaScriptModule.path.replace(/^src\//, "").replace(/\.ts$/, ".js")
210
+ });
211
+ }
212
+ }
213
+ }
214
+ }
215
+ }
216
+ }
217
+ return reExportedPrimitives;
218
+ }
219
+ /**
220
+ * Parses all components from the manifest
221
+ */
222
+ static async parseAllComponents(manifestPath) {
223
+ const manifest = await this.loadManifest(manifestPath);
224
+ const componentModules = this.getComponentModules(manifest);
225
+ const reExportedPrimitives = this.findReExportedPrimitives(manifest);
226
+ const components = [];
227
+ for (const JavaScriptModule of componentModules) {
228
+ if (JavaScriptModule.path.includes("/primitives/")) {
229
+ continue;
230
+ }
231
+ for (const declaration of JavaScriptModule.declarations || []) {
232
+ if (declaration.tagName && declaration.customElement === true) {
233
+ const componentData = this.extractComponentData(
234
+ JavaScriptModule,
235
+ declaration
236
+ );
237
+ components.push(componentData);
238
+ }
239
+ }
240
+ }
241
+ const primitiveMap = /* @__PURE__ */ new Map();
242
+ for (const reExported of reExportedPrimitives) {
243
+ if (primitiveMap.has(reExported.primitiveClass)) {
244
+ continue;
245
+ }
246
+ const primitiveModule = manifest.modules.find(
247
+ (m) => m.declarations?.some((d) => d.name === reExported.primitiveClass)
248
+ );
249
+ if (primitiveModule) {
250
+ const primitiveDecl = primitiveModule.declarations?.find(
251
+ (d) => d.name === reExported.primitiveClass
252
+ );
253
+ if (primitiveDecl) {
254
+ const componentData = this.extractComponentData(
255
+ primitiveModule,
256
+ primitiveDecl
257
+ );
258
+ componentData.sourcePath = reExported.reExportModule;
259
+ primitiveMap.set(reExported.primitiveClass, componentData);
260
+ }
261
+ }
262
+ }
263
+ components.push(...primitiveMap.values());
264
+ return { components, reExportedPrimitives };
265
+ }
266
+ /**
267
+ * Parses a single component by tag name
268
+ */
269
+ static async parseComponent(tagName, manifestPath) {
270
+ const { components } = await this.parseAllComponents(manifestPath);
271
+ return components.find((comp) => comp.tagName === tagName) || null;
272
+ }
273
+ }
274
+ export {
275
+ CemParser
276
+ };
@@ -0,0 +1,68 @@
1
+ /**
2
+ * TypeScript interfaces for Custom Elements Manifest (CEM) structure
3
+ * Based on the schema used in custom-elements.json
4
+ */
5
+ import { CustomElementField, Type } from 'custom-elements-manifest';
6
+ /**
7
+ * Processed component meta data
8
+ */
9
+ export interface ComponentData {
10
+ /** Original component class name (e.g., 'GdsAlert') */
11
+ className: string;
12
+ /** Web component tag name (e.g., 'gds-alert') */
13
+ tagName: string;
14
+ /** Component description */
15
+ description?: string;
16
+ /** File path where component will be generated */
17
+ outputPath: string;
18
+ /** Original source file path from the manifest (e.g., 'src/components/alert/alert.component.ts') */
19
+ sourcePath: string;
20
+ /** Input properties from attributes and reflected fields */
21
+ properties: CustomElementField[];
22
+ /** Output events */
23
+ events: ComponentEvent[];
24
+ /** Content projection slots */
25
+ slots: SlotInfo[];
26
+ /** Public methods that should be exposed */
27
+ methods: MethodInfo[];
28
+ /** Whether this component is a form control (extends GdsFormControlElement) */
29
+ isFormControl?: boolean;
30
+ /** Whether this component supports routing (has an href property) */
31
+ isLinkComponent?: boolean;
32
+ /** Whether this component is a checkbox (gds-checkbox) that needs special boolean handling */
33
+ isCheckboxComponent?: boolean;
34
+ }
35
+ export interface ComponentEvent {
36
+ /** Original event name from web component (e.g., 'gds-close') */
37
+ name: string;
38
+ /** Event type (e.g., 'CustomEvent<string>') */
39
+ type: string;
40
+ /** Event description */
41
+ description?: string;
42
+ }
43
+ export interface SlotInfo {
44
+ /** Slot name (empty string for default slot) */
45
+ name: string;
46
+ /** Slot description */
47
+ description?: string;
48
+ }
49
+ export interface MethodInfo {
50
+ /** Method name */
51
+ name: string;
52
+ /** Return type */
53
+ returnType?: Type;
54
+ /** Method parameters */
55
+ parameters: ParameterInfo[];
56
+ /** Method description */
57
+ description?: string;
58
+ }
59
+ export interface ParameterInfo {
60
+ /** Parameter name */
61
+ name: string;
62
+ /** Parameter type */
63
+ type: string;
64
+ /** Whether parameter is optional */
65
+ optional: boolean;
66
+ /** Parameter description */
67
+ description?: string;
68
+ }
File without changes
@@ -105,7 +105,7 @@ export declare const html: (strings: TemplateStringsArray, ...values: any[]) =>
105
105
  * Returns the correctly scoped tag name for the given tag.
106
106
  * @param tagName The tag name to scope
107
107
  */
108
- export declare function getScopedTagName(tagName: string): string;
108
+ export declare function getScopedTagName(tagName: string, alwaysAddSuffix?: boolean): string;
109
109
  /**
110
110
  * Returns the unscoped tag name for the given scoped tag.
111
111
  * @param tagName The scoped tag name to unscope
@@ -1,6 +1,6 @@
1
1
  import "../../chunks/chunk.QU3DSPNU.js";
2
2
  import { html as litHtml } from "lit";
3
- const VER_SUFFIX = "-891d0f";
3
+ const VER_SUFFIX = "-607d3a";
4
4
  class ScopedElementRegistry {
5
5
  static get instance() {
6
6
  if (!globalThis.__gdsElementLookupTable?.[VER_SUFFIX])
@@ -60,8 +60,8 @@ function htmlTemplateTagFactory(extendedTag) {
60
60
  };
61
61
  }
62
62
  const html = htmlTemplateTagFactory(litHtml);
63
- function getScopedTagName(tagName) {
64
- return ScopedElementRegistry.instance.get(tagName) ?? tagName;
63
+ function getScopedTagName(tagName, alwaysAddSuffix = false) {
64
+ return ScopedElementRegistry.instance.get(tagName) ?? tagName + (alwaysAddSuffix ? VER_SUFFIX : "");
65
65
  }
66
66
  function getUnscopedTagName(tagName) {
67
67
  return [...ScopedElementRegistry.instance.entries()].find(
@@ -1,9 +1,13 @@
1
1
  import "../../chunks/chunk.QU3DSPNU.js";
2
2
  const Focusable = (superClass) => {
3
3
  class HighlightableElement extends superClass {
4
- constructor() {
5
- super(...arguments);
6
- this.onblur = (e) => {
4
+ focus(options) {
5
+ this.setAttribute("tabindex", "0");
6
+ super.focus(options);
7
+ }
8
+ connectedCallback() {
9
+ super.connectedCallback();
10
+ this.addEventListener("blur", (e) => {
7
11
  this.setAttribute("tabindex", "-1");
8
12
  this.dispatchEvent(
9
13
  new FocusEvent("gds-blur", {
@@ -12,8 +16,8 @@ const Focusable = (superClass) => {
12
16
  relatedTarget: e.relatedTarget
13
17
  })
14
18
  );
15
- };
16
- this.onfocus = (e) => {
19
+ });
20
+ this.addEventListener("focus", (e) => {
17
21
  this.dispatchEvent(
18
22
  new FocusEvent("gds-focus", {
19
23
  bubbles: false,
@@ -21,11 +25,7 @@ const Focusable = (superClass) => {
21
25
  relatedTarget: e.relatedTarget
22
26
  })
23
27
  );
24
- };
25
- }
26
- focus(options) {
27
- this.setAttribute("tabindex", "0");
28
- super.focus(options);
28
+ });
29
29
  }
30
30
  }
31
31
  return HighlightableElement;