@sebgroup/green-core 2.37.0 → 2.37.2

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 (409) hide show
  1. package/components/menu-button/menu-button.styles.js +5 -0
  2. package/custom-elements.json +1337 -1337
  3. package/gds-element.js +1 -1
  4. package/generated/mcp/components.json +1 -1
  5. package/generated/mcp/icons.json +1 -1
  6. package/generated/mcp/index.json +1 -1
  7. package/generated/react/alert/index.d.ts +281 -3
  8. package/generated/react/backdrop/index.d.ts +281 -3
  9. package/generated/react/badge/index.d.ts +281 -3
  10. package/generated/react/blur/index.d.ts +281 -3
  11. package/generated/react/breadcrumb/index.d.ts +281 -3
  12. package/generated/react/breadcrumbs/index.d.ts +281 -3
  13. package/generated/react/button/index.d.ts +281 -3
  14. package/generated/react/calendar/index.d.ts +281 -3
  15. package/generated/react/card/index.d.ts +281 -3
  16. package/generated/react/card-linked/index.d.ts +281 -3
  17. package/generated/react/card-pattern-01/index.d.ts +281 -3
  18. package/generated/react/checkbox/index.d.ts +281 -3
  19. package/generated/react/checkbox-group/index.d.ts +281 -3
  20. package/generated/react/coachmark/index.d.ts +281 -3
  21. package/generated/react/context-menu/index.d.ts +281 -3
  22. package/generated/react/datepicker/index.d.ts +281 -3
  23. package/generated/react/details/index.d.ts +281 -3
  24. package/generated/react/dialog/index.d.ts +281 -3
  25. package/generated/react/div/index.d.ts +281 -3
  26. package/generated/react/divider/index.d.ts +281 -3
  27. package/generated/react/dropdown/index.d.ts +281 -3
  28. package/generated/react/fab/index.d.ts +281 -3
  29. package/generated/react/filter-chip/index.d.ts +281 -3
  30. package/generated/react/filter-chips/index.d.ts +281 -3
  31. package/generated/react/flex/index.d.ts +281 -3
  32. package/generated/react/form-summary/index.d.ts +281 -3
  33. package/generated/react/formatted-account/index.d.ts +281 -3
  34. package/generated/react/formatted-date/index.d.ts +281 -3
  35. package/generated/react/formatted-number/index.d.ts +281 -3
  36. package/generated/react/grid/index.d.ts +281 -3
  37. package/generated/react/grouped-list/index.d.ts +281 -3
  38. package/generated/react/icons/icon-ai/index.d.ts +281 -3
  39. package/generated/react/icons/icon-airplane-up/index.d.ts +281 -3
  40. package/generated/react/icons/icon-archive/index.d.ts +281 -3
  41. package/generated/react/icons/icon-arrow/index.d.ts +281 -3
  42. package/generated/react/icons/icon-arrow-bottom-top/index.d.ts +281 -3
  43. package/generated/react/icons/icon-arrow-box-left/index.d.ts +281 -3
  44. package/generated/react/icons/icon-arrow-box-left-alt/index.d.ts +281 -3
  45. package/generated/react/icons/icon-arrow-box-right/index.d.ts +281 -3
  46. package/generated/react/icons/icon-arrow-down/index.d.ts +281 -3
  47. package/generated/react/icons/icon-arrow-inbox/index.d.ts +281 -3
  48. package/generated/react/icons/icon-arrow-left/index.d.ts +281 -3
  49. package/generated/react/icons/icon-arrow-left-right/index.d.ts +281 -3
  50. package/generated/react/icons/icon-arrow-out-of-box/index.d.ts +281 -3
  51. package/generated/react/icons/icon-arrow-right/index.d.ts +281 -3
  52. package/generated/react/icons/icon-arrow-right-circle/index.d.ts +281 -3
  53. package/generated/react/icons/icon-arrow-right-down-circle/index.d.ts +281 -3
  54. package/generated/react/icons/icon-arrow-right-up-circle/index.d.ts +281 -3
  55. package/generated/react/icons/icon-arrow-rotate-clockwise/index.d.ts +281 -3
  56. package/generated/react/icons/icon-arrow-rotate-counter-clockwise/index.d.ts +281 -3
  57. package/generated/react/icons/icon-arrow-rotate-left-right/index.d.ts +281 -3
  58. package/generated/react/icons/icon-arrow-rotate-right-left/index.d.ts +281 -3
  59. package/generated/react/icons/icon-arrow-share-left/index.d.ts +281 -3
  60. package/generated/react/icons/icon-arrow-share-right/index.d.ts +281 -3
  61. package/generated/react/icons/icon-arrow-split/index.d.ts +281 -3
  62. package/generated/react/icons/icon-arrow-up/index.d.ts +281 -3
  63. package/generated/react/icons/icon-arrow-wall-down/index.d.ts +281 -3
  64. package/generated/react/icons/icon-arrow-wall-left/index.d.ts +281 -3
  65. package/generated/react/icons/icon-arrow-wall-right/index.d.ts +281 -3
  66. package/generated/react/icons/icon-arrow-wall-up/index.d.ts +281 -3
  67. package/generated/react/icons/icon-arrows-repeat/index.d.ts +281 -3
  68. package/generated/react/icons/icon-asterisk/index.d.ts +281 -3
  69. package/generated/react/icons/icon-at/index.d.ts +281 -3
  70. package/generated/react/icons/icon-back/index.d.ts +281 -3
  71. package/generated/react/icons/icon-backward/index.d.ts +281 -3
  72. package/generated/react/icons/icon-bag/index.d.ts +281 -3
  73. package/generated/react/icons/icon-bank/index.d.ts +281 -3
  74. package/generated/react/icons/icon-banknote/index.d.ts +281 -3
  75. package/generated/react/icons/icon-banknote-2/index.d.ts +281 -3
  76. package/generated/react/icons/icon-barcode/index.d.ts +281 -3
  77. package/generated/react/icons/icon-bars-three/index.d.ts +281 -3
  78. package/generated/react/icons/icon-bars-two/index.d.ts +281 -3
  79. package/generated/react/icons/icon-basket/index.d.ts +281 -3
  80. package/generated/react/icons/icon-battery-loading/index.d.ts +281 -3
  81. package/generated/react/icons/icon-bell/index.d.ts +281 -3
  82. package/generated/react/icons/icon-block/index.d.ts +281 -3
  83. package/generated/react/icons/icon-book/index.d.ts +281 -3
  84. package/generated/react/icons/icon-bookmark/index.d.ts +281 -3
  85. package/generated/react/icons/icon-bookmark-check/index.d.ts +281 -3
  86. package/generated/react/icons/icon-bookmark-delete/index.d.ts +281 -3
  87. package/generated/react/icons/icon-bookmark-plus/index.d.ts +281 -3
  88. package/generated/react/icons/icon-bookmark-remove/index.d.ts +281 -3
  89. package/generated/react/icons/icon-books/index.d.ts +281 -3
  90. package/generated/react/icons/icon-brand-app-store/index.d.ts +281 -3
  91. package/generated/react/icons/icon-brand-apple-music/index.d.ts +281 -3
  92. package/generated/react/icons/icon-brand-bankid/index.d.ts +281 -3
  93. package/generated/react/icons/icon-brand-chrome/index.d.ts +281 -3
  94. package/generated/react/icons/icon-brand-facebook/index.d.ts +281 -3
  95. package/generated/react/icons/icon-brand-figma/index.d.ts +281 -3
  96. package/generated/react/icons/icon-brand-firefox/index.d.ts +281 -3
  97. package/generated/react/icons/icon-brand-github/index.d.ts +281 -3
  98. package/generated/react/icons/icon-brand-green/index.d.ts +281 -3
  99. package/generated/react/icons/icon-brand-instagram/index.d.ts +281 -3
  100. package/generated/react/icons/icon-brand-linkedin/index.d.ts +281 -3
  101. package/generated/react/icons/icon-brand-play-store/index.d.ts +281 -3
  102. package/generated/react/icons/icon-brand-rss-feed/index.d.ts +281 -3
  103. package/generated/react/icons/icon-brand-seb/index.d.ts +281 -3
  104. package/generated/react/icons/icon-brand-spotify/index.d.ts +281 -3
  105. package/generated/react/icons/icon-brand-storybook/index.d.ts +281 -3
  106. package/generated/react/icons/icon-brand-swish-word/index.d.ts +281 -3
  107. package/generated/react/icons/icon-brand-x/index.d.ts +281 -3
  108. package/generated/react/icons/icon-brush/index.d.ts +281 -3
  109. package/generated/react/icons/icon-bubble/index.d.ts +281 -3
  110. package/generated/react/icons/icon-bubble-annotation/index.d.ts +281 -3
  111. package/generated/react/icons/icon-bubble-dots/index.d.ts +281 -3
  112. package/generated/react/icons/icon-bubble-question/index.d.ts +281 -3
  113. package/generated/react/icons/icon-bubble-quotes/index.d.ts +281 -3
  114. package/generated/react/icons/icon-bubble-text/index.d.ts +281 -3
  115. package/generated/react/icons/icon-bubble-wide-annotation/index.d.ts +281 -3
  116. package/generated/react/icons/icon-bubbles/index.d.ts +281 -3
  117. package/generated/react/icons/icon-buildings/index.d.ts +281 -3
  118. package/generated/react/icons/icon-bullet-list/index.d.ts +281 -3
  119. package/generated/react/icons/icon-cain-link/index.d.ts +281 -3
  120. package/generated/react/icons/icon-calculator/index.d.ts +281 -3
  121. package/generated/react/icons/icon-calendar/index.d.ts +281 -3
  122. package/generated/react/icons/icon-calendar-check/index.d.ts +281 -3
  123. package/generated/react/icons/icon-calender-add/index.d.ts +281 -3
  124. package/generated/react/icons/icon-call/index.d.ts +281 -3
  125. package/generated/react/icons/icon-car/index.d.ts +281 -3
  126. package/generated/react/icons/icon-carussel/index.d.ts +281 -3
  127. package/generated/react/icons/icon-chain-link/index.d.ts +281 -3
  128. package/generated/react/icons/icon-chain-link-broken/index.d.ts +281 -3
  129. package/generated/react/icons/icon-charging-station/index.d.ts +281 -3
  130. package/generated/react/icons/icon-chart-one/index.d.ts +281 -3
  131. package/generated/react/icons/icon-chart-presentation/index.d.ts +281 -3
  132. package/generated/react/icons/icon-chart-two/index.d.ts +281 -3
  133. package/generated/react/icons/icon-checklist/index.d.ts +281 -3
  134. package/generated/react/icons/icon-checkmark/index.d.ts +281 -3
  135. package/generated/react/icons/icon-chevron-bottom/index.d.ts +281 -3
  136. package/generated/react/icons/icon-chevron-double-down/index.d.ts +281 -3
  137. package/generated/react/icons/icon-chevron-double-left/index.d.ts +281 -3
  138. package/generated/react/icons/icon-chevron-double-right/index.d.ts +281 -3
  139. package/generated/react/icons/icon-chevron-double-up/index.d.ts +281 -3
  140. package/generated/react/icons/icon-chevron-down-small/index.d.ts +281 -3
  141. package/generated/react/icons/icon-chevron-grabber-vertical/index.d.ts +281 -3
  142. package/generated/react/icons/icon-chevron-left/index.d.ts +281 -3
  143. package/generated/react/icons/icon-chevron-left-small/index.d.ts +281 -3
  144. package/generated/react/icons/icon-chevron-right/index.d.ts +281 -3
  145. package/generated/react/icons/icon-chevron-right-small/index.d.ts +281 -3
  146. package/generated/react/icons/icon-chevron-top/index.d.ts +281 -3
  147. package/generated/react/icons/icon-chevron-top-small/index.d.ts +281 -3
  148. package/generated/react/icons/icon-circle-ban/index.d.ts +281 -3
  149. package/generated/react/icons/icon-circle-check/index.d.ts +281 -3
  150. package/generated/react/icons/icon-circle-dots/index.d.ts +281 -3
  151. package/generated/react/icons/icon-circle-info/index.d.ts +281 -3
  152. package/generated/react/icons/icon-circle-minus/index.d.ts +281 -3
  153. package/generated/react/icons/icon-circle-placeholder-on/index.d.ts +281 -3
  154. package/generated/react/icons/icon-circle-plus/index.d.ts +281 -3
  155. package/generated/react/icons/icon-circle-questionmark/index.d.ts +281 -3
  156. package/generated/react/icons/icon-circle-x/index.d.ts +281 -3
  157. package/generated/react/icons/icon-circles-three/index.d.ts +281 -3
  158. package/generated/react/icons/icon-clock/index.d.ts +281 -3
  159. package/generated/react/icons/icon-cloud-download/index.d.ts +281 -3
  160. package/generated/react/icons/icon-cloud-upload/index.d.ts +281 -3
  161. package/generated/react/icons/icon-cloudy-sun/index.d.ts +281 -3
  162. package/generated/react/icons/icon-code/index.d.ts +281 -3
  163. package/generated/react/icons/icon-code-brackets/index.d.ts +281 -3
  164. package/generated/react/icons/icon-compass-round/index.d.ts +281 -3
  165. package/generated/react/icons/icon-cookies/index.d.ts +281 -3
  166. package/generated/react/icons/icon-copy/index.d.ts +281 -3
  167. package/generated/react/icons/icon-credit-card/index.d.ts +281 -3
  168. package/generated/react/icons/icon-credit-card-add/index.d.ts +281 -3
  169. package/generated/react/icons/icon-cross-large/index.d.ts +281 -3
  170. package/generated/react/icons/icon-cross-small/index.d.ts +281 -3
  171. package/generated/react/icons/icon-cup-hot/index.d.ts +281 -3
  172. package/generated/react/icons/icon-cursor/index.d.ts +281 -3
  173. package/generated/react/icons/icon-details/index.d.ts +281 -3
  174. package/generated/react/icons/icon-devices/index.d.ts +281 -3
  175. package/generated/react/icons/icon-direction/index.d.ts +281 -3
  176. package/generated/react/icons/icon-dollar/index.d.ts +281 -3
  177. package/generated/react/icons/icon-dot-grid-one-horizontal/index.d.ts +281 -3
  178. package/generated/react/icons/icon-dot-grid-one-vertical/index.d.ts +281 -3
  179. package/generated/react/icons/icon-dot-grid-three/index.d.ts +281 -3
  180. package/generated/react/icons/icon-dot-grid-two/index.d.ts +281 -3
  181. package/generated/react/icons/icon-email/index.d.ts +281 -3
  182. package/generated/react/icons/icon-emoji-angry/index.d.ts +281 -3
  183. package/generated/react/icons/icon-emoji-neutral/index.d.ts +281 -3
  184. package/generated/react/icons/icon-emoji-sad/index.d.ts +281 -3
  185. package/generated/react/icons/icon-emoji-smile/index.d.ts +281 -3
  186. package/generated/react/icons/icon-emoji-smiley/index.d.ts +281 -3
  187. package/generated/react/icons/icon-euro/index.d.ts +281 -3
  188. package/generated/react/icons/icon-expand/index.d.ts +281 -3
  189. package/generated/react/icons/icon-eye-open/index.d.ts +281 -3
  190. package/generated/react/icons/icon-eye-slash/index.d.ts +281 -3
  191. package/generated/react/icons/icon-fashion/index.d.ts +281 -3
  192. package/generated/react/icons/icon-fast-forward/index.d.ts +281 -3
  193. package/generated/react/icons/icon-file-bend/index.d.ts +281 -3
  194. package/generated/react/icons/icon-file-chart/index.d.ts +281 -3
  195. package/generated/react/icons/icon-file-text/index.d.ts +281 -3
  196. package/generated/react/icons/icon-files/index.d.ts +281 -3
  197. package/generated/react/icons/icon-filter/index.d.ts +281 -3
  198. package/generated/react/icons/icon-flag/index.d.ts +281 -3
  199. package/generated/react/icons/icon-floppy-disk/index.d.ts +281 -3
  200. package/generated/react/icons/icon-focus/index.d.ts +281 -3
  201. package/generated/react/icons/icon-focus-square/index.d.ts +281 -3
  202. package/generated/react/icons/icon-folder/index.d.ts +281 -3
  203. package/generated/react/icons/icon-folder-add-right/index.d.ts +281 -3
  204. package/generated/react/icons/icon-folder-paper/index.d.ts +281 -3
  205. package/generated/react/icons/icon-folder-upload/index.d.ts +281 -3
  206. package/generated/react/icons/icon-fullscreen/index.d.ts +281 -3
  207. package/generated/react/icons/icon-gift/index.d.ts +281 -3
  208. package/generated/react/icons/icon-globus/index.d.ts +281 -3
  209. package/generated/react/icons/icon-graduate-cap/index.d.ts +281 -3
  210. package/generated/react/icons/icon-green-power/index.d.ts +281 -3
  211. package/generated/react/icons/icon-group/index.d.ts +281 -3
  212. package/generated/react/icons/icon-growth/index.d.ts +281 -3
  213. package/generated/react/icons/icon-headphones/index.d.ts +281 -3
  214. package/generated/react/icons/icon-heart/index.d.ts +281 -3
  215. package/generated/react/icons/icon-heart-beat/index.d.ts +281 -3
  216. package/generated/react/icons/icon-history/index.d.ts +281 -3
  217. package/generated/react/icons/icon-home-energy-one/index.d.ts +281 -3
  218. package/generated/react/icons/icon-home-energy-two/index.d.ts +281 -3
  219. package/generated/react/icons/icon-home-open/index.d.ts +281 -3
  220. package/generated/react/icons/icon-home-roof/index.d.ts +281 -3
  221. package/generated/react/icons/icon-horizontal-alignment-bottom/index.d.ts +281 -3
  222. package/generated/react/icons/icon-hourglass/index.d.ts +281 -3
  223. package/generated/react/icons/icon-images/index.d.ts +281 -3
  224. package/generated/react/icons/icon-inbox-empty/index.d.ts +281 -3
  225. package/generated/react/icons/icon-industry/index.d.ts +281 -3
  226. package/generated/react/icons/icon-invite/index.d.ts +281 -3
  227. package/generated/react/icons/icon-jpg/index.d.ts +281 -3
  228. package/generated/react/icons/icon-key/index.d.ts +281 -3
  229. package/generated/react/icons/icon-knife-spoon/index.d.ts +281 -3
  230. package/generated/react/icons/icon-lab/index.d.ts +281 -3
  231. package/generated/react/icons/icon-law/index.d.ts +281 -3
  232. package/generated/react/icons/icon-leisure/index.d.ts +281 -3
  233. package/generated/react/icons/icon-light-bulb/index.d.ts +281 -3
  234. package/generated/react/icons/icon-light-bulb-simple/index.d.ts +281 -3
  235. package/generated/react/icons/icon-lightning/index.d.ts +281 -3
  236. package/generated/react/icons/icon-line-chart-four/index.d.ts +281 -3
  237. package/generated/react/icons/icon-line-chart-one/index.d.ts +281 -3
  238. package/generated/react/icons/icon-line-chart-three/index.d.ts +281 -3
  239. package/generated/react/icons/icon-line-chart-two/index.d.ts +281 -3
  240. package/generated/react/icons/icon-lock/index.d.ts +281 -3
  241. package/generated/react/icons/icon-macbook-air/index.d.ts +281 -3
  242. package/generated/react/icons/icon-magnifying-glass/index.d.ts +281 -3
  243. package/generated/react/icons/icon-maintenance/index.d.ts +281 -3
  244. package/generated/react/icons/icon-map-pin/index.d.ts +281 -3
  245. package/generated/react/icons/icon-megaphone/index.d.ts +281 -3
  246. package/generated/react/icons/icon-menu-sidebar/index.d.ts +281 -3
  247. package/generated/react/icons/icon-mic-off/index.d.ts +281 -3
  248. package/generated/react/icons/icon-mic-on/index.d.ts +281 -3
  249. package/generated/react/icons/icon-minimize/index.d.ts +281 -3
  250. package/generated/react/icons/icon-minus-large/index.d.ts +281 -3
  251. package/generated/react/icons/icon-minus-small/index.d.ts +281 -3
  252. package/generated/react/icons/icon-money-hand/index.d.ts +281 -3
  253. package/generated/react/icons/icon-moneybag/index.d.ts +281 -3
  254. package/generated/react/icons/icon-moon/index.d.ts +281 -3
  255. package/generated/react/icons/icon-mute/index.d.ts +281 -3
  256. package/generated/react/icons/icon-office/index.d.ts +281 -3
  257. package/generated/react/icons/icon-other/index.d.ts +281 -3
  258. package/generated/react/icons/icon-page-add/index.d.ts +281 -3
  259. package/generated/react/icons/icon-page-text/index.d.ts +281 -3
  260. package/generated/react/icons/icon-paper-plane-top-right/index.d.ts +281 -3
  261. package/generated/react/icons/icon-paperclip/index.d.ts +281 -3
  262. package/generated/react/icons/icon-pause/index.d.ts +281 -3
  263. package/generated/react/icons/icon-pdf/index.d.ts +281 -3
  264. package/generated/react/icons/icon-pencel-line/index.d.ts +281 -3
  265. package/generated/react/icons/icon-pencil-sign/index.d.ts +281 -3
  266. package/generated/react/icons/icon-pencil-sparkle/index.d.ts +281 -3
  267. package/generated/react/icons/icon-pencil-wave/index.d.ts +281 -3
  268. package/generated/react/icons/icon-pension/index.d.ts +281 -3
  269. package/generated/react/icons/icon-people/index.d.ts +281 -3
  270. package/generated/react/icons/icon-people-a11y/index.d.ts +281 -3
  271. package/generated/react/icons/icon-people-add/index.d.ts +281 -3
  272. package/generated/react/icons/icon-people-added/index.d.ts +281 -3
  273. package/generated/react/icons/icon-people-circle/index.d.ts +281 -3
  274. package/generated/react/icons/icon-people-copy/index.d.ts +281 -3
  275. package/generated/react/icons/icon-people-profile/index.d.ts +281 -3
  276. package/generated/react/icons/icon-people-remove/index.d.ts +281 -3
  277. package/generated/react/icons/icon-percent/index.d.ts +281 -3
  278. package/generated/react/icons/icon-phone/index.d.ts +281 -3
  279. package/generated/react/icons/icon-phone-dynamic-island/index.d.ts +281 -3
  280. package/generated/react/icons/icon-pie-chart/index.d.ts +281 -3
  281. package/generated/react/icons/icon-piggy-bank/index.d.ts +281 -3
  282. package/generated/react/icons/icon-pin/index.d.ts +281 -3
  283. package/generated/react/icons/icon-pinch/index.d.ts +281 -3
  284. package/generated/react/icons/icon-play/index.d.ts +281 -3
  285. package/generated/react/icons/icon-play-circle/index.d.ts +281 -3
  286. package/generated/react/icons/icon-plus-large/index.d.ts +281 -3
  287. package/generated/react/icons/icon-plus-small/index.d.ts +281 -3
  288. package/generated/react/icons/icon-png/index.d.ts +281 -3
  289. package/generated/react/icons/icon-poop/index.d.ts +281 -3
  290. package/generated/react/icons/icon-postcard/index.d.ts +281 -3
  291. package/generated/react/icons/icon-pound/index.d.ts +281 -3
  292. package/generated/react/icons/icon-power/index.d.ts +281 -3
  293. package/generated/react/icons/icon-power-plant/index.d.ts +281 -3
  294. package/generated/react/icons/icon-printer/index.d.ts +281 -3
  295. package/generated/react/icons/icon-push/index.d.ts +281 -3
  296. package/generated/react/icons/icon-qr-code/index.d.ts +281 -3
  297. package/generated/react/icons/icon-rainy/index.d.ts +281 -3
  298. package/generated/react/icons/icon-raising-hand/index.d.ts +281 -3
  299. package/generated/react/icons/icon-reading-list/index.d.ts +281 -3
  300. package/generated/react/icons/icon-receipt-bill/index.d.ts +281 -3
  301. package/generated/react/icons/icon-receiption-bell/index.d.ts +281 -3
  302. package/generated/react/icons/icon-record/index.d.ts +281 -3
  303. package/generated/react/icons/icon-refund/index.d.ts +281 -3
  304. package/generated/react/icons/icon-robot/index.d.ts +281 -3
  305. package/generated/react/icons/icon-rocket/index.d.ts +281 -3
  306. package/generated/react/icons/icon-run-shortcut/index.d.ts +281 -3
  307. package/generated/react/icons/icon-safari/index.d.ts +281 -3
  308. package/generated/react/icons/icon-school/index.d.ts +281 -3
  309. package/generated/react/icons/icon-scissors/index.d.ts +281 -3
  310. package/generated/react/icons/icon-search-menu/index.d.ts +281 -3
  311. package/generated/react/icons/icon-seb/index.d.ts +281 -3
  312. package/generated/react/icons/icon-settings-gear/index.d.ts +281 -3
  313. package/generated/react/icons/icon-settings-slider-hor/index.d.ts +281 -3
  314. package/generated/react/icons/icon-settings-slider-three/index.d.ts +281 -3
  315. package/generated/react/icons/icon-settings-slider-ver/index.d.ts +281 -3
  316. package/generated/react/icons/icon-shapes/index.d.ts +281 -3
  317. package/generated/react/icons/icon-share/index.d.ts +281 -3
  318. package/generated/react/icons/icon-shield/index.d.ts +281 -3
  319. package/generated/react/icons/icon-shield-checked/index.d.ts +281 -3
  320. package/generated/react/icons/icon-shield-crossed/index.d.ts +281 -3
  321. package/generated/react/icons/icon-shopping-bag/index.d.ts +281 -3
  322. package/generated/react/icons/icon-signature/index.d.ts +281 -3
  323. package/generated/react/icons/icon-smartwatch/index.d.ts +281 -3
  324. package/generated/react/icons/icon-solar/index.d.ts +281 -3
  325. package/generated/react/icons/icon-solar-panel/index.d.ts +281 -3
  326. package/generated/react/icons/icon-sort/index.d.ts +281 -3
  327. package/generated/react/icons/icon-sort-ascending/index.d.ts +281 -3
  328. package/generated/react/icons/icon-sort-descending/index.d.ts +281 -3
  329. package/generated/react/icons/icon-sort-down/index.d.ts +281 -3
  330. package/generated/react/icons/icon-sort-up/index.d.ts +281 -3
  331. package/generated/react/icons/icon-square-arrow-top-right/index.d.ts +281 -3
  332. package/generated/react/icons/icon-square-behind-square/index.d.ts +281 -3
  333. package/generated/react/icons/icon-square-check/index.d.ts +281 -3
  334. package/generated/react/icons/icon-square-grid-circle/index.d.ts +281 -3
  335. package/generated/react/icons/icon-square-info/index.d.ts +281 -3
  336. package/generated/react/icons/icon-square-minus/index.d.ts +281 -3
  337. package/generated/react/icons/icon-square-placeholder/index.d.ts +281 -3
  338. package/generated/react/icons/icon-square-plus/index.d.ts +281 -3
  339. package/generated/react/icons/icon-square-x/index.d.ts +281 -3
  340. package/generated/react/icons/icon-star/index.d.ts +281 -3
  341. package/generated/react/icons/icon-store/index.d.ts +281 -3
  342. package/generated/react/icons/icon-suitcase-work/index.d.ts +281 -3
  343. package/generated/react/icons/icon-sun/index.d.ts +281 -3
  344. package/generated/react/icons/icon-sunset-arrow-down/index.d.ts +281 -3
  345. package/generated/react/icons/icon-tag/index.d.ts +281 -3
  346. package/generated/react/icons/icon-target-arrow/index.d.ts +281 -3
  347. package/generated/react/icons/icon-television/index.d.ts +281 -3
  348. package/generated/react/icons/icon-tennis/index.d.ts +281 -3
  349. package/generated/react/icons/icon-text-edit/index.d.ts +281 -3
  350. package/generated/react/icons/icon-thermostat/index.d.ts +281 -3
  351. package/generated/react/icons/icon-thumbs-down/index.d.ts +281 -3
  352. package/generated/react/icons/icon-thumbs-up/index.d.ts +281 -3
  353. package/generated/react/icons/icon-ticket/index.d.ts +281 -3
  354. package/generated/react/icons/icon-todos/index.d.ts +281 -3
  355. package/generated/react/icons/icon-trading-view-candles/index.d.ts +281 -3
  356. package/generated/react/icons/icon-trash-can/index.d.ts +281 -3
  357. package/generated/react/icons/icon-tree/index.d.ts +281 -3
  358. package/generated/react/icons/icon-trending-five/index.d.ts +281 -3
  359. package/generated/react/icons/icon-trending-four/index.d.ts +281 -3
  360. package/generated/react/icons/icon-trending-one/index.d.ts +281 -3
  361. package/generated/react/icons/icon-trending-three/index.d.ts +281 -3
  362. package/generated/react/icons/icon-trending-two/index.d.ts +281 -3
  363. package/generated/react/icons/icon-triangle-exclamation/index.d.ts +281 -3
  364. package/generated/react/icons/icon-truck/index.d.ts +281 -3
  365. package/generated/react/icons/icon-umbrella-security/index.d.ts +281 -3
  366. package/generated/react/icons/icon-unlocked/index.d.ts +281 -3
  367. package/generated/react/icons/icon-vertical-alignment-right/index.d.ts +281 -3
  368. package/generated/react/icons/icon-volume-full/index.d.ts +281 -3
  369. package/generated/react/icons/icon-volume-half/index.d.ts +281 -3
  370. package/generated/react/icons/icon-volume-off/index.d.ts +281 -3
  371. package/generated/react/icons/icon-wallet/index.d.ts +281 -3
  372. package/generated/react/icons/icon-warning-sign/index.d.ts +281 -3
  373. package/generated/react/icons/icon-wifi-full/index.d.ts +281 -3
  374. package/generated/react/icons/icon-youtube/index.d.ts +281 -3
  375. package/generated/react/icons/icon-zap/index.d.ts +281 -3
  376. package/generated/react/icons/icon-zoom-in/index.d.ts +281 -3
  377. package/generated/react/icons/icon-zoom-out/index.d.ts +281 -3
  378. package/generated/react/img/index.d.ts +281 -3
  379. package/generated/react/index.d.ts +1 -1
  380. package/generated/react/index.js +1 -1
  381. package/generated/react/input/index.d.ts +281 -3
  382. package/generated/react/link/index.d.ts +281 -3
  383. package/generated/react/list-item/index.d.ts +281 -3
  384. package/generated/react/mask/index.d.ts +281 -3
  385. package/generated/react/menu-button/index.d.ts +281 -3
  386. package/generated/react/menu-heading/index.d.ts +281 -3
  387. package/generated/react/menu-item/index.d.ts +281 -3
  388. package/generated/react/option/index.d.ts +281 -3
  389. package/generated/react/pagination/index.d.ts +281 -3
  390. package/generated/react/popover/index.d.ts +281 -3
  391. package/generated/react/radio/index.d.ts +281 -3
  392. package/generated/react/radio-group/index.d.ts +281 -3
  393. package/generated/react/rich-text/index.d.ts +281 -3
  394. package/generated/react/segment/index.d.ts +281 -3
  395. package/generated/react/segmented-control/index.d.ts +281 -3
  396. package/generated/react/select/index.d.ts +281 -3
  397. package/generated/react/sensitive-account/index.d.ts +281 -3
  398. package/generated/react/sensitive-date/index.d.ts +281 -3
  399. package/generated/react/sensitive-number/index.d.ts +281 -3
  400. package/generated/react/signal/index.d.ts +281 -3
  401. package/generated/react/spinner/index.d.ts +281 -3
  402. package/generated/react/table/index.d.ts +281 -3
  403. package/generated/react/text/index.d.ts +281 -3
  404. package/generated/react/textarea/index.d.ts +281 -3
  405. package/generated/react/theme/index.d.ts +281 -3
  406. package/generated/react/video/index.d.ts +281 -3
  407. package/package.json +484 -484
  408. package/utils/helpers/custom-element-scoping.js +1 -1
  409. package/utils/react.d.ts +3 -2
@@ -3439,6 +3439,309 @@
3439
3439
  }
3440
3440
  ]
3441
3441
  },
3442
+ {
3443
+ "kind": "javascript-module",
3444
+ "path": "src/components/blur/blur.component.ts",
3445
+ "declarations": [
3446
+ {
3447
+ "kind": "class",
3448
+ "description": "",
3449
+ "name": "GdsBlur",
3450
+ "slots": [
3451
+ {
3452
+ "description": "Content to be blurred.",
3453
+ "name": ""
3454
+ }
3455
+ ],
3456
+ "members": [
3457
+ {
3458
+ "kind": "method",
3459
+ "name": "define",
3460
+ "static": true,
3461
+ "return": {
3462
+ "type": {
3463
+ "text": "void"
3464
+ }
3465
+ },
3466
+ "description": "Defines the custom element in the custom element registry.\nThis method needs to be called once before the element can be used.",
3467
+ "inheritedFrom": {
3468
+ "name": "GdsElement",
3469
+ "module": "src/gds-element.ts"
3470
+ }
3471
+ },
3472
+ {
3473
+ "kind": "field",
3474
+ "name": "isDefined",
3475
+ "type": {
3476
+ "text": "boolean"
3477
+ },
3478
+ "static": true,
3479
+ "default": "false",
3480
+ "description": "Whether the element is defined in the custom element registry.",
3481
+ "inheritedFrom": {
3482
+ "name": "GdsElement",
3483
+ "module": "src/gds-element.ts"
3484
+ }
3485
+ },
3486
+ {
3487
+ "kind": "field",
3488
+ "name": "styleExpressionBaseSelector",
3489
+ "type": {
3490
+ "text": "string"
3491
+ },
3492
+ "static": true,
3493
+ "default": "':host'",
3494
+ "description": "Style expression properties for this element will use this selector by default.",
3495
+ "inheritedFrom": {
3496
+ "name": "GdsElement",
3497
+ "module": "src/gds-element.ts"
3498
+ }
3499
+ },
3500
+ {
3501
+ "kind": "field",
3502
+ "name": "semanticVersion",
3503
+ "type": {
3504
+ "text": "string"
3505
+ },
3506
+ "readonly": true,
3507
+ "default": "'__GDS_SEM_VER__'",
3508
+ "description": "The semantic version of this element. Can be used for troubleshooting to verify the version being used.",
3509
+ "inheritedFrom": {
3510
+ "name": "GdsElement",
3511
+ "module": "src/gds-element.ts"
3512
+ }
3513
+ },
3514
+ {
3515
+ "kind": "field",
3516
+ "name": "gdsElementName",
3517
+ "type": {
3518
+ "text": "string | undefined"
3519
+ },
3520
+ "description": "The unscoped name of this element. This attribute is set automatically by the element and is inteded to be read-only.",
3521
+ "readonly": true,
3522
+ "attribute": "gds-element",
3523
+ "inheritedFrom": {
3524
+ "name": "GdsElement",
3525
+ "module": "src/gds-element.ts"
3526
+ }
3527
+ },
3528
+ {
3529
+ "kind": "method",
3530
+ "name": "dispatchStandardEvent",
3531
+ "return": {
3532
+ "type": {
3533
+ "text": "boolean"
3534
+ }
3535
+ },
3536
+ "parameters": [
3537
+ {
3538
+ "name": "name",
3539
+ "type": {
3540
+ "text": "string"
3541
+ }
3542
+ },
3543
+ {
3544
+ "name": "options",
3545
+ "optional": true,
3546
+ "type": {
3547
+ "text": "EventInit"
3548
+ }
3549
+ }
3550
+ ],
3551
+ "description": "Dispatches a standard event with the given name and options.\nA pascal cased version of the event name is also dispatched for compatibility.",
3552
+ "inheritedFrom": {
3553
+ "name": "GdsElement",
3554
+ "module": "src/gds-element.ts"
3555
+ }
3556
+ },
3557
+ {
3558
+ "kind": "method",
3559
+ "name": "dispatchCustomEvent",
3560
+ "return": {
3561
+ "type": {
3562
+ "text": "boolean"
3563
+ }
3564
+ },
3565
+ "parameters": [
3566
+ {
3567
+ "name": "name",
3568
+ "type": {
3569
+ "text": "string"
3570
+ }
3571
+ },
3572
+ {
3573
+ "name": "options",
3574
+ "default": "{}",
3575
+ "type": {
3576
+ "text": "CustomEventInit<T>"
3577
+ }
3578
+ }
3579
+ ],
3580
+ "description": "Dispatches a custom event with the given name and options.\nA pascal cased version of the event name is also dispatched for compatibility.",
3581
+ "inheritedFrom": {
3582
+ "name": "GdsElement",
3583
+ "module": "src/gds-element.ts"
3584
+ }
3585
+ }
3586
+ ],
3587
+ "superclass": {
3588
+ "name": "GdsElement",
3589
+ "module": "/src/gds-element"
3590
+ },
3591
+ "tagName": "gds-blur",
3592
+ "customElement": true,
3593
+ "attributes": [
3594
+ {
3595
+ "name": "gds-element",
3596
+ "type": {
3597
+ "text": "string | undefined"
3598
+ },
3599
+ "description": "The unscoped name of this element. This attribute is set automatically by the element and is inteded to be read-only.",
3600
+ "readonly": true,
3601
+ "fieldName": "gdsElementName",
3602
+ "inheritedFrom": {
3603
+ "name": "GdsElement",
3604
+ "module": "src/gds-element.ts"
3605
+ }
3606
+ }
3607
+ ],
3608
+ "events": [
3609
+ {
3610
+ "name": "gds-element-disconnected",
3611
+ "type": {
3612
+ "text": "CustomEvent"
3613
+ },
3614
+ "description": "When the element is disconnected from the DOM",
3615
+ "inheritedFrom": {
3616
+ "name": "GdsElement",
3617
+ "module": "src/gds-element.ts"
3618
+ }
3619
+ },
3620
+ {
3621
+ "name": "name",
3622
+ "type": {
3623
+ "text": "Event"
3624
+ },
3625
+ "inheritedFrom": {
3626
+ "name": "GdsElement",
3627
+ "module": "src/gds-element.ts"
3628
+ }
3629
+ },
3630
+ {
3631
+ "type": {
3632
+ "text": "Event"
3633
+ },
3634
+ "inheritedFrom": {
3635
+ "name": "GdsElement",
3636
+ "module": "src/gds-element.ts"
3637
+ }
3638
+ }
3639
+ ]
3640
+ }
3641
+ ],
3642
+ "exports": [
3643
+ {
3644
+ "kind": "js",
3645
+ "name": "GdsBlur",
3646
+ "declaration": {
3647
+ "name": "GdsBlur",
3648
+ "module": "src/components/blur/blur.component.ts"
3649
+ }
3650
+ }
3651
+ ]
3652
+ },
3653
+ {
3654
+ "kind": "javascript-module",
3655
+ "path": "src/components/blur/blur.stories.ts",
3656
+ "declarations": [
3657
+ {
3658
+ "kind": "variable",
3659
+ "name": "meta",
3660
+ "type": {
3661
+ "text": "Meta"
3662
+ },
3663
+ "default": "{ title: 'Components/Blur', component: 'gds-blur', tags: ['autodocs'], argTypes: { ...argTablePropsFor('gds-blur'), }, }",
3664
+ "description": "[Source code](https://github.com/seb-oss/green/tree/main/libs/core/src/components/blur)\n\nThe Blur component is used to apply a blur effect over content,\noften used to obscure sensitive or background information."
3665
+ },
3666
+ {
3667
+ "kind": "variable",
3668
+ "name": "Default",
3669
+ "type": {
3670
+ "text": "Story"
3671
+ },
3672
+ "default": "{ ...DefaultParams, render: () => html` <gds-blur> <gds-text>Blur</gds-text> </gds-blur> `, }"
3673
+ }
3674
+ ],
3675
+ "exports": [
3676
+ {
3677
+ "kind": "js",
3678
+ "name": "default",
3679
+ "declaration": {
3680
+ "name": "meta",
3681
+ "module": "src/components/blur/blur.stories.ts"
3682
+ }
3683
+ },
3684
+ {
3685
+ "kind": "js",
3686
+ "name": "Default",
3687
+ "declaration": {
3688
+ "name": "Default",
3689
+ "module": "src/components/blur/blur.stories.ts"
3690
+ }
3691
+ }
3692
+ ]
3693
+ },
3694
+ {
3695
+ "kind": "javascript-module",
3696
+ "path": "src/components/blur/blur.styles.ts",
3697
+ "declarations": [
3698
+ {
3699
+ "kind": "variable",
3700
+ "name": "style",
3701
+ "default": "css` :host { --_blur: 5px; } .blur { filter: blur(var(--_blur)); } `"
3702
+ }
3703
+ ],
3704
+ "exports": [
3705
+ {
3706
+ "kind": "js",
3707
+ "name": "default",
3708
+ "declaration": {
3709
+ "name": "style",
3710
+ "module": "src/components/blur/blur.styles.ts"
3711
+ }
3712
+ }
3713
+ ]
3714
+ },
3715
+ {
3716
+ "kind": "javascript-module",
3717
+ "path": "src/components/blur/blur.ts",
3718
+ "declarations": [],
3719
+ "exports": [
3720
+ {
3721
+ "kind": "js",
3722
+ "name": "GdsBlur",
3723
+ "declaration": {
3724
+ "name": "GdsBlur",
3725
+ "module": "src/components/blur/blur.ts"
3726
+ }
3727
+ }
3728
+ ]
3729
+ },
3730
+ {
3731
+ "kind": "javascript-module",
3732
+ "path": "src/components/blur/index.ts",
3733
+ "declarations": [],
3734
+ "exports": [
3735
+ {
3736
+ "kind": "js",
3737
+ "name": "*",
3738
+ "declaration": {
3739
+ "name": "*",
3740
+ "module": "src/components/blur/blur"
3741
+ }
3742
+ }
3743
+ ]
3744
+ },
3442
3745
  {
3443
3746
  "kind": "javascript-module",
3444
3747
  "path": "src/components/badge/badge.component.ts",
@@ -4142,309 +4445,6 @@
4142
4445
  }
4143
4446
  ]
4144
4447
  },
4145
- {
4146
- "kind": "javascript-module",
4147
- "path": "src/components/blur/blur.component.ts",
4148
- "declarations": [
4149
- {
4150
- "kind": "class",
4151
- "description": "",
4152
- "name": "GdsBlur",
4153
- "slots": [
4154
- {
4155
- "description": "Content to be blurred.",
4156
- "name": ""
4157
- }
4158
- ],
4159
- "members": [
4160
- {
4161
- "kind": "method",
4162
- "name": "define",
4163
- "static": true,
4164
- "return": {
4165
- "type": {
4166
- "text": "void"
4167
- }
4168
- },
4169
- "description": "Defines the custom element in the custom element registry.\nThis method needs to be called once before the element can be used.",
4170
- "inheritedFrom": {
4171
- "name": "GdsElement",
4172
- "module": "src/gds-element.ts"
4173
- }
4174
- },
4175
- {
4176
- "kind": "field",
4177
- "name": "isDefined",
4178
- "type": {
4179
- "text": "boolean"
4180
- },
4181
- "static": true,
4182
- "default": "false",
4183
- "description": "Whether the element is defined in the custom element registry.",
4184
- "inheritedFrom": {
4185
- "name": "GdsElement",
4186
- "module": "src/gds-element.ts"
4187
- }
4188
- },
4189
- {
4190
- "kind": "field",
4191
- "name": "styleExpressionBaseSelector",
4192
- "type": {
4193
- "text": "string"
4194
- },
4195
- "static": true,
4196
- "default": "':host'",
4197
- "description": "Style expression properties for this element will use this selector by default.",
4198
- "inheritedFrom": {
4199
- "name": "GdsElement",
4200
- "module": "src/gds-element.ts"
4201
- }
4202
- },
4203
- {
4204
- "kind": "field",
4205
- "name": "semanticVersion",
4206
- "type": {
4207
- "text": "string"
4208
- },
4209
- "readonly": true,
4210
- "default": "'__GDS_SEM_VER__'",
4211
- "description": "The semantic version of this element. Can be used for troubleshooting to verify the version being used.",
4212
- "inheritedFrom": {
4213
- "name": "GdsElement",
4214
- "module": "src/gds-element.ts"
4215
- }
4216
- },
4217
- {
4218
- "kind": "field",
4219
- "name": "gdsElementName",
4220
- "type": {
4221
- "text": "string | undefined"
4222
- },
4223
- "description": "The unscoped name of this element. This attribute is set automatically by the element and is inteded to be read-only.",
4224
- "readonly": true,
4225
- "attribute": "gds-element",
4226
- "inheritedFrom": {
4227
- "name": "GdsElement",
4228
- "module": "src/gds-element.ts"
4229
- }
4230
- },
4231
- {
4232
- "kind": "method",
4233
- "name": "dispatchStandardEvent",
4234
- "return": {
4235
- "type": {
4236
- "text": "boolean"
4237
- }
4238
- },
4239
- "parameters": [
4240
- {
4241
- "name": "name",
4242
- "type": {
4243
- "text": "string"
4244
- }
4245
- },
4246
- {
4247
- "name": "options",
4248
- "optional": true,
4249
- "type": {
4250
- "text": "EventInit"
4251
- }
4252
- }
4253
- ],
4254
- "description": "Dispatches a standard event with the given name and options.\nA pascal cased version of the event name is also dispatched for compatibility.",
4255
- "inheritedFrom": {
4256
- "name": "GdsElement",
4257
- "module": "src/gds-element.ts"
4258
- }
4259
- },
4260
- {
4261
- "kind": "method",
4262
- "name": "dispatchCustomEvent",
4263
- "return": {
4264
- "type": {
4265
- "text": "boolean"
4266
- }
4267
- },
4268
- "parameters": [
4269
- {
4270
- "name": "name",
4271
- "type": {
4272
- "text": "string"
4273
- }
4274
- },
4275
- {
4276
- "name": "options",
4277
- "default": "{}",
4278
- "type": {
4279
- "text": "CustomEventInit<T>"
4280
- }
4281
- }
4282
- ],
4283
- "description": "Dispatches a custom event with the given name and options.\nA pascal cased version of the event name is also dispatched for compatibility.",
4284
- "inheritedFrom": {
4285
- "name": "GdsElement",
4286
- "module": "src/gds-element.ts"
4287
- }
4288
- }
4289
- ],
4290
- "superclass": {
4291
- "name": "GdsElement",
4292
- "module": "/src/gds-element"
4293
- },
4294
- "tagName": "gds-blur",
4295
- "customElement": true,
4296
- "attributes": [
4297
- {
4298
- "name": "gds-element",
4299
- "type": {
4300
- "text": "string | undefined"
4301
- },
4302
- "description": "The unscoped name of this element. This attribute is set automatically by the element and is inteded to be read-only.",
4303
- "readonly": true,
4304
- "fieldName": "gdsElementName",
4305
- "inheritedFrom": {
4306
- "name": "GdsElement",
4307
- "module": "src/gds-element.ts"
4308
- }
4309
- }
4310
- ],
4311
- "events": [
4312
- {
4313
- "name": "gds-element-disconnected",
4314
- "type": {
4315
- "text": "CustomEvent"
4316
- },
4317
- "description": "When the element is disconnected from the DOM",
4318
- "inheritedFrom": {
4319
- "name": "GdsElement",
4320
- "module": "src/gds-element.ts"
4321
- }
4322
- },
4323
- {
4324
- "name": "name",
4325
- "type": {
4326
- "text": "Event"
4327
- },
4328
- "inheritedFrom": {
4329
- "name": "GdsElement",
4330
- "module": "src/gds-element.ts"
4331
- }
4332
- },
4333
- {
4334
- "type": {
4335
- "text": "Event"
4336
- },
4337
- "inheritedFrom": {
4338
- "name": "GdsElement",
4339
- "module": "src/gds-element.ts"
4340
- }
4341
- }
4342
- ]
4343
- }
4344
- ],
4345
- "exports": [
4346
- {
4347
- "kind": "js",
4348
- "name": "GdsBlur",
4349
- "declaration": {
4350
- "name": "GdsBlur",
4351
- "module": "src/components/blur/blur.component.ts"
4352
- }
4353
- }
4354
- ]
4355
- },
4356
- {
4357
- "kind": "javascript-module",
4358
- "path": "src/components/blur/blur.stories.ts",
4359
- "declarations": [
4360
- {
4361
- "kind": "variable",
4362
- "name": "meta",
4363
- "type": {
4364
- "text": "Meta"
4365
- },
4366
- "default": "{ title: 'Components/Blur', component: 'gds-blur', tags: ['autodocs'], argTypes: { ...argTablePropsFor('gds-blur'), }, }",
4367
- "description": "[Source code](https://github.com/seb-oss/green/tree/main/libs/core/src/components/blur)\n\nThe Blur component is used to apply a blur effect over content,\noften used to obscure sensitive or background information."
4368
- },
4369
- {
4370
- "kind": "variable",
4371
- "name": "Default",
4372
- "type": {
4373
- "text": "Story"
4374
- },
4375
- "default": "{ ...DefaultParams, render: () => html` <gds-blur> <gds-text>Blur</gds-text> </gds-blur> `, }"
4376
- }
4377
- ],
4378
- "exports": [
4379
- {
4380
- "kind": "js",
4381
- "name": "default",
4382
- "declaration": {
4383
- "name": "meta",
4384
- "module": "src/components/blur/blur.stories.ts"
4385
- }
4386
- },
4387
- {
4388
- "kind": "js",
4389
- "name": "Default",
4390
- "declaration": {
4391
- "name": "Default",
4392
- "module": "src/components/blur/blur.stories.ts"
4393
- }
4394
- }
4395
- ]
4396
- },
4397
- {
4398
- "kind": "javascript-module",
4399
- "path": "src/components/blur/blur.styles.ts",
4400
- "declarations": [
4401
- {
4402
- "kind": "variable",
4403
- "name": "style",
4404
- "default": "css` :host { --_blur: 5px; } .blur { filter: blur(var(--_blur)); } `"
4405
- }
4406
- ],
4407
- "exports": [
4408
- {
4409
- "kind": "js",
4410
- "name": "default",
4411
- "declaration": {
4412
- "name": "style",
4413
- "module": "src/components/blur/blur.styles.ts"
4414
- }
4415
- }
4416
- ]
4417
- },
4418
- {
4419
- "kind": "javascript-module",
4420
- "path": "src/components/blur/blur.ts",
4421
- "declarations": [],
4422
- "exports": [
4423
- {
4424
- "kind": "js",
4425
- "name": "GdsBlur",
4426
- "declaration": {
4427
- "name": "GdsBlur",
4428
- "module": "src/components/blur/blur.ts"
4429
- }
4430
- }
4431
- ]
4432
- },
4433
- {
4434
- "kind": "javascript-module",
4435
- "path": "src/components/blur/index.ts",
4436
- "declarations": [],
4437
- "exports": [
4438
- {
4439
- "kind": "js",
4440
- "name": "*",
4441
- "declaration": {
4442
- "name": "*",
4443
- "module": "src/components/blur/blur"
4444
- }
4445
- }
4446
- ]
4447
- },
4448
4448
  {
4449
4449
  "kind": "javascript-module",
4450
4450
  "path": "src/components/breadcrumbs/breadcrumbs.component.ts",
@@ -13647,134 +13647,295 @@
13647
13647
  },
13648
13648
  {
13649
13649
  "kind": "javascript-module",
13650
- "path": "src/components/dialog/dialog.component.ts",
13650
+ "path": "src/components/div/div.component.ts",
13651
13651
  "declarations": [
13652
13652
  {
13653
13653
  "kind": "class",
13654
13654
  "description": "",
13655
- "name": "GdsDialog",
13656
- "slots": [
13655
+ "name": "GdsDiv",
13656
+ "members": [
13657
13657
  {
13658
- "description": "The content of the dialog",
13659
- "name": ""
13658
+ "kind": "field",
13659
+ "name": "display",
13660
+ "type": {
13661
+ "text": "string | undefined"
13662
+ },
13663
+ "description": "Controls the display property.\nSupports all valid CSS display values.",
13664
+ "category": "Declarative layout / Style expression properties"
13660
13665
  },
13661
13666
  {
13662
- "description": "The trigger button for the dialog",
13663
- "name": "trigger"
13667
+ "kind": "field",
13668
+ "name": "level",
13669
+ "type": {
13670
+ "text": "GdsColorLevel"
13671
+ },
13672
+ "default": "'2'",
13673
+ "description": "The level of the container is used to resolve the color tokens from the corresponding level.\nCheck the [Color System documentation page](./?path=/docs/style-colors--docs) for more information.\n\nDefault for `gds-div` is level 2.",
13674
+ "attribute": "level"
13664
13675
  },
13665
13676
  {
13666
- "description": "The footer of the dialog",
13667
- "name": "footer"
13677
+ "kind": "field",
13678
+ "name": "color",
13679
+ "type": {
13680
+ "text": "string | undefined"
13681
+ },
13682
+ "description": "Style Expression Property that controls the `color` property.\nOnly accepts color tokens and an optional transparency value, in the format tokenName/transparency.\n\n```html\n<gds-div color=\"neutral-01/0.2\"></gds-div>\n```",
13683
+ "category": "Declarative layout / Style expression properties"
13668
13684
  },
13669
13685
  {
13670
- "description": "Complete override of the dialog content, including header and footer",
13671
- "name": "dialog"
13672
- }
13673
- ],
13674
- "members": [
13686
+ "kind": "field",
13687
+ "name": "background",
13688
+ "type": {
13689
+ "text": "string | undefined"
13690
+ },
13691
+ "description": "Style Expression Property that controls the `background` property.\nOnly accepts color tokens and an optional transparency value, in the format tokenName/transparency.\n\n```html\n<gds-div background=\"neutral-01/0.2\"></gds-div>\n```",
13692
+ "category": "Declarative layout / Style expression properties"
13693
+ },
13675
13694
  {
13676
13695
  "kind": "field",
13677
- "name": "styleExpressionBaseSelector",
13696
+ "name": "border",
13678
13697
  "type": {
13679
- "text": "string"
13698
+ "text": "string | undefined"
13680
13699
  },
13681
- "static": true,
13682
- "default": "'dialog'",
13683
- "description": "Style expression properties for this element will use this selector by default.",
13684
- "inheritedFrom": {
13685
- "name": "GdsElement",
13686
- "module": "src/gds-element.ts"
13687
- }
13700
+ "description": "Style Expression Property that controls the `border` property.\nAccepts a string of the same format as the CSS border property.\n\n```html\n<gds-div border=\"4xs solid subtle-01/0.2\"></gds-div>\n```\n\nWhere the size value accepts space tokens and the color value accepts color tokens and an optional transparency value.",
13701
+ "category": "Declarative layout / Style expression properties"
13688
13702
  },
13689
13703
  {
13690
13704
  "kind": "field",
13691
- "name": "open",
13705
+ "name": "'border-color'",
13692
13706
  "type": {
13693
- "text": "boolean"
13707
+ "text": "string | undefined"
13694
13708
  },
13695
- "default": "false",
13696
- "description": "Whether the dialog is open. The state of the dialog can be controlled either\nby setting this property or by calling the `show()` and `close()` methods.\n\nWhen the state is explicitly changed by setting this prop, the state change cannot\nbe cancelled by events.",
13697
- "attribute": "open",
13698
- "reflects": true
13709
+ "description": "Style Expression Property that controls the `border-color` property.\nOnly accepts color tokens and an optional transparency value, in the format tokenName/transparency.\n\n```html\n<gds-div border-color=\"subtle-01/0.2\"></gds-div>\n```",
13710
+ "category": "Declarative layout / Style expression properties"
13699
13711
  },
13700
13712
  {
13701
13713
  "kind": "field",
13702
- "name": "heading",
13714
+ "name": "'border-width'",
13703
13715
  "type": {
13704
13716
  "text": "string | undefined"
13705
13717
  },
13706
- "description": "The dialog's heading.",
13707
- "attribute": "heading"
13718
+ "description": "Style Expression Property that controls the `border-width` property.\nOnly accepts space tokens.",
13719
+ "category": "Declarative layout / Style expression properties"
13708
13720
  },
13709
13721
  {
13710
13722
  "kind": "field",
13711
- "name": "variant",
13723
+ "name": "'border-style'",
13712
13724
  "type": {
13713
- "text": "'default' | 'slide-out'"
13725
+ "text": "string | undefined"
13714
13726
  },
13715
- "default": "'default'",
13716
- "description": "The dialog's variant.",
13717
- "attribute": "variant"
13727
+ "description": "Style Expression Property that controls the `border-style` property.\nSupports all valid CSS `border-style` values.",
13728
+ "category": "Declarative layout / Style expression properties"
13718
13729
  },
13719
13730
  {
13720
13731
  "kind": "field",
13721
- "name": "placement",
13732
+ "name": "'border-radius'",
13722
13733
  "type": {
13723
- "text": "'initial' | 'top' | 'bottom' | 'left' | 'right'"
13734
+ "text": "string | undefined"
13724
13735
  },
13725
- "default": "'initial'",
13726
- "description": "The dialog's placement.",
13727
- "attribute": "placement"
13736
+ "description": "Style Expression Property that controls the `border-radius` property.\nOnly accepts space tokens.",
13737
+ "category": "Declarative layout / Style expression properties"
13728
13738
  },
13729
13739
  {
13730
13740
  "kind": "field",
13731
- "name": "scrollable",
13741
+ "name": "'box-shadow'",
13732
13742
  "type": {
13733
- "text": "boolean"
13743
+ "text": "string | undefined"
13734
13744
  },
13735
- "default": "false",
13736
- "description": "Whether the inner content of the dialog should have scrollable overflow. Scroll will appear if\nthe content exceeds the dialog's height, which can be controlled using the `height` property.\n\nThis property have no effect if the `dialog` slot is used. In that case, you need to add overflow\nstyles to the content inside the `dialog` slot.",
13737
- "attribute": "scrollable"
13745
+ "description": "Style Expression Property for the `box-shadow` property.\n\nAccepts shadow tokens from the design system.\n\n`xs`, `s`, `m`, `l`, `xl`",
13746
+ "category": "Declarative layout / Style expression properties"
13738
13747
  },
13739
13748
  {
13740
13749
  "kind": "field",
13741
- "name": "closedby",
13750
+ "name": "opacity",
13742
13751
  "type": {
13743
- "text": "'closerequest' | 'none' | 'any'"
13752
+ "text": "string | undefined"
13744
13753
  },
13745
- "default": "'closerequest'",
13746
- "description": "Controls which user actions can close the dialog. Maps to the native `<dialog>` `closedby` attribute.\n\n- `closerequest` (default): The dialog can be dismissed by platform close gestures (Escape key, iOS swipe, etc.).\n The browser's anti-abuse mechanism applies: after one cancelled close request, subsequent cancellations\n require a user activation in between. This ensures the best mobile UX.\n- `none`: The dialog can only be closed by developer-specified mechanisms (buttons, click outside, or programmatic API).\n A manual Escape key listener is added for desktop users, with fully cancellable behavior (no anti-abuse limit).\n Mobile platform close gestures may not work in this mode.\n- `any`: The dialog can also be dismissed by light dismiss (clicking outside). Note that gds-dialog already\n handles click-outside via its own mechanism.",
13747
- "attribute": "closedby",
13748
- "reflects": true
13754
+ "description": "Style Expression Property that controls the `opacity` property.\nSupports all valid CSS `opacity` values.",
13755
+ "category": "Declarative layout / Style expression properties"
13749
13756
  },
13750
13757
  {
13751
- "kind": "method",
13752
- "name": "show",
13753
- "parameters": [
13754
- {
13755
- "name": "reason",
13756
- "optional": true,
13757
- "type": {
13758
- "text": "string"
13759
- }
13760
- }
13761
- ],
13762
- "description": "Opens the dialog.\nThis is a programmatic API that always opens the dialog.\nEvents are dispatched for notification when a reason is provided, but cancellation is not honored."
13758
+ "kind": "field",
13759
+ "name": "overflow",
13760
+ "type": {
13761
+ "text": "string | undefined"
13762
+ },
13763
+ "description": "Style Expression Property that controls the `overflow` property.\nSupports all valid CSS `overflow` values.",
13764
+ "category": "Declarative layout / Style expression properties"
13763
13765
  },
13764
13766
  {
13765
- "kind": "method",
13766
- "name": "close",
13767
- "parameters": [
13768
- {
13769
- "name": "reason",
13770
- "optional": true,
13771
- "type": {
13772
- "text": "string"
13773
- },
13774
- "description": "The reason for closing the dialog."
13775
- }
13776
- ],
13777
- "description": "Closes the dialog.\nThis is a programmatic API that always closes the dialog.\nEvents are dispatched for notification when a reason is provided, but cancellation is not honored."
13767
+ "kind": "field",
13768
+ "name": "'box-sizing'",
13769
+ "type": {
13770
+ "text": "string | undefined"
13771
+ },
13772
+ "description": "Style Expression Property that controls the `box-sizing` property.\nSupports all valid CSS `box-sizing` values.",
13773
+ "category": "Declarative layout / Style expression properties"
13774
+ },
13775
+ {
13776
+ "kind": "field",
13777
+ "name": "'z-index'",
13778
+ "type": {
13779
+ "text": "string | undefined"
13780
+ },
13781
+ "description": "Style Expression Property that controls the `z-index` property.\nSupports all valid CSS `z-index` values.",
13782
+ "category": "Declarative layout / Style expression properties"
13783
+ },
13784
+ {
13785
+ "kind": "field",
13786
+ "name": "'font'",
13787
+ "type": {
13788
+ "text": "string | undefined"
13789
+ },
13790
+ "description": "Style Expression Property that controls the `font` property.\nSupports all font tokens from the design system."
13791
+ },
13792
+ {
13793
+ "kind": "field",
13794
+ "name": "'font-weight'",
13795
+ "type": {
13796
+ "text": "string | undefined"
13797
+ },
13798
+ "description": "Style Expression Property that controls the `font-weight` property.\nSupports all typography weight tokens from the design system.",
13799
+ "category": "Declarative layout / Style expression properties"
13800
+ },
13801
+ {
13802
+ "kind": "field",
13803
+ "name": "'text-align'",
13804
+ "type": {
13805
+ "text": "string | undefined"
13806
+ },
13807
+ "description": "Style Expression Property that controls the `text-align` property.\nSupports all valid CSS `text-align` values.",
13808
+ "category": "Declarative layout / Style expression properties"
13809
+ },
13810
+ {
13811
+ "kind": "field",
13812
+ "name": "'text-wrap'",
13813
+ "type": {
13814
+ "text": "string | undefined"
13815
+ },
13816
+ "description": "Style Expression Property that controls the `text-wrap` property.\nSupports all valid CSS `text-wrap` values.",
13817
+ "category": "Declarative layout / Style expression properties"
13818
+ },
13819
+ {
13820
+ "kind": "field",
13821
+ "name": "'overflow-wrap'",
13822
+ "type": {
13823
+ "text": "string | undefined"
13824
+ },
13825
+ "description": "Style Expression Property that controls the `overflow-wrap` property.\nSupports all valid CSS `overflow-wrap` values."
13826
+ },
13827
+ {
13828
+ "kind": "field",
13829
+ "name": "'white-space'",
13830
+ "type": {
13831
+ "text": "string | undefined"
13832
+ },
13833
+ "description": "Style Expression Property that controls the `white-space` property.\nSupports all valid CSS `white-space` values."
13834
+ },
13835
+ {
13836
+ "kind": "field",
13837
+ "name": "gap",
13838
+ "type": {
13839
+ "text": "string | undefined"
13840
+ },
13841
+ "description": "Style Expression Property that controls the `gap` property.\nOnly accepts space tokens.",
13842
+ "category": "Declarative layout / Style expression properties"
13843
+ },
13844
+ {
13845
+ "kind": "field",
13846
+ "name": "'align-items'",
13847
+ "type": {
13848
+ "text": "string | undefined"
13849
+ },
13850
+ "description": "Style Expression Property that controls the `align-items` property.\nSupports all valid CSS `align-items` values.",
13851
+ "category": "Declarative layout / Style expression properties"
13852
+ },
13853
+ {
13854
+ "kind": "field",
13855
+ "name": "'align-content'",
13856
+ "type": {
13857
+ "text": "string | undefined"
13858
+ },
13859
+ "description": "Style Expression Property that controls the `align-content` property.\nSupports all valid CSS `align-content` values.",
13860
+ "category": "Declarative layout / Style expression properties"
13861
+ },
13862
+ {
13863
+ "kind": "field",
13864
+ "name": "'justify-content'",
13865
+ "type": {
13866
+ "text": "string | undefined"
13867
+ },
13868
+ "description": "Style Expression Property that controls the `justify-content` property.\nSupports all valid CSS `justify-content` values.",
13869
+ "category": "Declarative layout / Style expression properties"
13870
+ },
13871
+ {
13872
+ "kind": "field",
13873
+ "name": "'justify-items'",
13874
+ "type": {
13875
+ "text": "string | undefined"
13876
+ },
13877
+ "description": "Style Expression Property that controls the `justify-items` property.\nSupports all valid CSS `justify-items` values.",
13878
+ "category": "Declarative layout / Style expression properties"
13879
+ },
13880
+ {
13881
+ "kind": "field",
13882
+ "name": "'flex-direction'",
13883
+ "type": {
13884
+ "text": "string | undefined"
13885
+ },
13886
+ "description": "Style Expression Property that controls the `flex-direction` property.\nSupports all valid CSS `flex-direction` values.",
13887
+ "category": "Declarative layout / Style expression properties"
13888
+ },
13889
+ {
13890
+ "kind": "field",
13891
+ "name": "'flex-wrap'",
13892
+ "type": {
13893
+ "text": "string | undefined"
13894
+ },
13895
+ "description": "Style Expression Property that controls the `flex-wrap` property.\nSupports all valid CSS `flex-wrap` values.",
13896
+ "category": "Declarative layout / Style expression properties"
13897
+ },
13898
+ {
13899
+ "kind": "field",
13900
+ "name": "'place-items'",
13901
+ "type": {
13902
+ "text": "string | undefined"
13903
+ },
13904
+ "description": "Style Expression Property that controls the `place-items` property.\nSupports all valid CSS `place-items` values.",
13905
+ "category": "Declarative layout / Style expression properties"
13906
+ },
13907
+ {
13908
+ "kind": "field",
13909
+ "name": "'place-content'",
13910
+ "type": {
13911
+ "text": "string | undefined"
13912
+ },
13913
+ "description": "Style Expression Property that controls the `place-content` property.\nSupports all valid CSS `place-content` values.",
13914
+ "category": "Declarative layout / Style expression properties"
13915
+ },
13916
+ {
13917
+ "kind": "field",
13918
+ "name": "'aspect-ratio'",
13919
+ "type": {
13920
+ "text": "string | undefined"
13921
+ },
13922
+ "description": "Style Expression Property that controls the `aspect-ratio` property.\nSupports all valid CSS `aspect-ratio` values."
13923
+ },
13924
+ {
13925
+ "kind": "field",
13926
+ "name": "cursor",
13927
+ "type": {
13928
+ "text": "string | undefined"
13929
+ },
13930
+ "description": "Style Expression Property that controls the `cursor` property.\nSupports all valid CSS `cursor` values."
13931
+ },
13932
+ {
13933
+ "kind": "field",
13934
+ "name": "'pointer-events'",
13935
+ "type": {
13936
+ "text": "string | undefined"
13937
+ },
13938
+ "description": "Style Expression Property that controls the `pointer-events` property.\nSupports all valid CSS `pointer-events` values."
13778
13939
  },
13779
13940
  {
13780
13941
  "kind": "field",
@@ -13932,6 +14093,45 @@
13932
14093
  "module": "src/utils/mixins/declarative-layout-mixins.ts"
13933
14094
  }
13934
14095
  },
14096
+ {
14097
+ "kind": "field",
14098
+ "name": "margin",
14099
+ "type": {
14100
+ "text": "string | undefined"
14101
+ },
14102
+ "description": "Style Expression Property that controls the `margin` property.\nOnly accepts space tokens.",
14103
+ "category": "Declarative layout / Style expression properties",
14104
+ "inheritedFrom": {
14105
+ "name": "withMarginProps",
14106
+ "module": "src/utils/mixins/declarative-layout-mixins.ts"
14107
+ }
14108
+ },
14109
+ {
14110
+ "kind": "field",
14111
+ "name": "'margin-inline'",
14112
+ "type": {
14113
+ "text": "string | undefined"
14114
+ },
14115
+ "description": "Style Expression Property that controls the `margin-inline` property.\nOnly accepts space tokens.",
14116
+ "category": "Declarative layout / Style expression properties",
14117
+ "inheritedFrom": {
14118
+ "name": "withMarginProps",
14119
+ "module": "src/utils/mixins/declarative-layout-mixins.ts"
14120
+ }
14121
+ },
14122
+ {
14123
+ "kind": "field",
14124
+ "name": "'margin-block'",
14125
+ "type": {
14126
+ "text": "string | undefined"
14127
+ },
14128
+ "description": "Style Expression Property that controls the `margin-block` property.\nOnly accepts space tokens.",
14129
+ "category": "Declarative layout / Style expression properties",
14130
+ "inheritedFrom": {
14131
+ "name": "withMarginProps",
14132
+ "module": "src/utils/mixins/declarative-layout-mixins.ts"
14133
+ }
14134
+ },
13935
14135
  {
13936
14136
  "kind": "field",
13937
14137
  "name": "padding",
@@ -13971,6 +14171,149 @@
13971
14171
  "module": "src/utils/mixins/declarative-layout-mixins.ts"
13972
14172
  }
13973
14173
  },
14174
+ {
14175
+ "kind": "field",
14176
+ "name": "'align-self'",
14177
+ "type": {
14178
+ "text": "string | undefined"
14179
+ },
14180
+ "description": "Style Expression Property that controls the `align-self` property.\nSupports all valid CSS `align-self` values.",
14181
+ "category": "Declarative layout / Style expression properties",
14182
+ "inheritedFrom": {
14183
+ "name": "withLayoutChildProps",
14184
+ "module": "src/utils/mixins/declarative-layout-mixins.ts"
14185
+ }
14186
+ },
14187
+ {
14188
+ "kind": "field",
14189
+ "name": "'justify-self'",
14190
+ "type": {
14191
+ "text": "string | undefined"
14192
+ },
14193
+ "description": "Style Expression Property that controls the `justify-self` property.\nSupports all valid CSS `justify-self` values.",
14194
+ "category": "Declarative layout / Style expression properties",
14195
+ "inheritedFrom": {
14196
+ "name": "withLayoutChildProps",
14197
+ "module": "src/utils/mixins/declarative-layout-mixins.ts"
14198
+ }
14199
+ },
14200
+ {
14201
+ "kind": "field",
14202
+ "name": "'place-self'",
14203
+ "type": {
14204
+ "text": "string | undefined"
14205
+ },
14206
+ "description": "Style Expression Property that controls the `place-self` property.\nSupports all valid CSS `place-self` values.",
14207
+ "category": "Declarative layout / Style expression properties",
14208
+ "inheritedFrom": {
14209
+ "name": "withLayoutChildProps",
14210
+ "module": "src/utils/mixins/declarative-layout-mixins.ts"
14211
+ }
14212
+ },
14213
+ {
14214
+ "kind": "field",
14215
+ "name": "'grid-column'",
14216
+ "type": {
14217
+ "text": "string | undefined"
14218
+ },
14219
+ "description": "Style Expression Property that controls the `grid-column` property.\nSupports all valid CSS grid-column values.\nDocumentation: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column",
14220
+ "category": "Declarative layout / Style expression properties",
14221
+ "inheritedFrom": {
14222
+ "name": "withLayoutChildProps",
14223
+ "module": "src/utils/mixins/declarative-layout-mixins.ts"
14224
+ }
14225
+ },
14226
+ {
14227
+ "kind": "field",
14228
+ "name": "'grid-row'",
14229
+ "type": {
14230
+ "text": "string | undefined"
14231
+ },
14232
+ "description": "Style Expression Property that controls the `grid-row` property.\nSupports all valid CSS `grid-row` values.",
14233
+ "category": "Declarative layout / Style expression properties",
14234
+ "inheritedFrom": {
14235
+ "name": "withLayoutChildProps",
14236
+ "module": "src/utils/mixins/declarative-layout-mixins.ts"
14237
+ }
14238
+ },
14239
+ {
14240
+ "kind": "field",
14241
+ "name": "'grid-area'",
14242
+ "type": {
14243
+ "text": "string | undefined"
14244
+ },
14245
+ "description": "Style Expression Property that controls the `grid-area` property.\nSupports all valid CSS `grid-area` values.",
14246
+ "category": "Declarative layout / Style expression properties",
14247
+ "inheritedFrom": {
14248
+ "name": "withLayoutChildProps",
14249
+ "module": "src/utils/mixins/declarative-layout-mixins.ts"
14250
+ }
14251
+ },
14252
+ {
14253
+ "kind": "field",
14254
+ "name": "flex",
14255
+ "type": {
14256
+ "text": "string | undefined"
14257
+ },
14258
+ "description": "Style Expression Property that controls the `flex` property.\nSupports all valid CSS `flex` values.",
14259
+ "category": "Declarative layout / Style expression properties",
14260
+ "inheritedFrom": {
14261
+ "name": "withLayoutChildProps",
14262
+ "module": "src/utils/mixins/declarative-layout-mixins.ts"
14263
+ }
14264
+ },
14265
+ {
14266
+ "kind": "field",
14267
+ "name": "order",
14268
+ "type": {
14269
+ "text": "string | undefined"
14270
+ },
14271
+ "description": "Style Expression Property that controls the `order` property.\nSupports all valid CSS `order` values.",
14272
+ "category": "Declarative layout / Style expression properties",
14273
+ "inheritedFrom": {
14274
+ "name": "withLayoutChildProps",
14275
+ "module": "src/utils/mixins/declarative-layout-mixins.ts"
14276
+ }
14277
+ },
14278
+ {
14279
+ "kind": "field",
14280
+ "name": "position",
14281
+ "type": {
14282
+ "text": "string | undefined"
14283
+ },
14284
+ "description": "Style Expression Property that controls the `position` property.\nSupports all valid CSS `position` values.",
14285
+ "category": "Declarative layout / Style expression properties",
14286
+ "inheritedFrom": {
14287
+ "name": "withPositioningProps",
14288
+ "module": "src/utils/mixins/declarative-layout-mixins.ts"
14289
+ }
14290
+ },
14291
+ {
14292
+ "kind": "field",
14293
+ "name": "transform",
14294
+ "type": {
14295
+ "text": "string | undefined"
14296
+ },
14297
+ "description": "Style Expression Property that controls the `transform` property.\nSupports all valid CSS `transform` values.",
14298
+ "category": "Declarative layout / Style expression properties",
14299
+ "inheritedFrom": {
14300
+ "name": "withPositioningProps",
14301
+ "module": "src/utils/mixins/declarative-layout-mixins.ts"
14302
+ }
14303
+ },
14304
+ {
14305
+ "kind": "field",
14306
+ "name": "inset",
14307
+ "type": {
14308
+ "text": "string | undefined"
14309
+ },
14310
+ "description": "Style Expression Property that controls the `inset` property.\nSupports all valid CSS `inset` values.",
14311
+ "category": "Declarative layout / Style expression properties",
14312
+ "inheritedFrom": {
14313
+ "name": "withPositioningProps",
14314
+ "module": "src/utils/mixins/declarative-layout-mixins.ts"
14315
+ }
14316
+ },
13974
14317
  {
13975
14318
  "kind": "method",
13976
14319
  "name": "define",
@@ -14000,6 +14343,20 @@
14000
14343
  "module": "src/gds-element.ts"
14001
14344
  }
14002
14345
  },
14346
+ {
14347
+ "kind": "field",
14348
+ "name": "styleExpressionBaseSelector",
14349
+ "type": {
14350
+ "text": "string"
14351
+ },
14352
+ "static": true,
14353
+ "default": "':host'",
14354
+ "description": "Style expression properties for this element will use this selector by default.",
14355
+ "inheritedFrom": {
14356
+ "name": "GdsElement",
14357
+ "module": "src/gds-element.ts"
14358
+ }
14359
+ },
14003
14360
  {
14004
14361
  "kind": "field",
14005
14362
  "name": "semanticVersion",
@@ -14087,103 +14444,15 @@
14087
14444
  }
14088
14445
  }
14089
14446
  ],
14090
- "events": [
14091
- {
14092
- "description": "Fired when the dialog is opened or closed. Can be cancelled to prevent the dialog from closing.",
14093
- "name": "gds-ui-state"
14094
- },
14095
- {
14096
- "description": "Fired when the dialog is closed",
14097
- "name": "gds-close"
14098
- },
14099
- {
14100
- "description": "Fired when the dialog is opened",
14101
- "name": "gds-show"
14102
- },
14103
- {
14104
- "name": "gds-element-disconnected",
14105
- "type": {
14106
- "text": "CustomEvent"
14107
- },
14108
- "description": "When the element is disconnected from the DOM",
14109
- "inheritedFrom": {
14110
- "name": "GdsElement",
14111
- "module": "src/gds-element.ts"
14112
- }
14113
- },
14114
- {
14115
- "name": "name",
14116
- "type": {
14117
- "text": "Event"
14118
- },
14119
- "inheritedFrom": {
14120
- "name": "GdsElement",
14121
- "module": "src/gds-element.ts"
14122
- }
14123
- },
14124
- {
14125
- "type": {
14126
- "text": "Event"
14127
- },
14128
- "inheritedFrom": {
14129
- "name": "GdsElement",
14130
- "module": "src/gds-element.ts"
14131
- }
14132
- }
14133
- ],
14134
14447
  "attributes": [
14135
14448
  {
14136
- "name": "open",
14137
- "type": {
14138
- "text": "boolean"
14139
- },
14140
- "default": "false",
14141
- "description": "Whether the dialog is open. The state of the dialog can be controlled either\nby setting this property or by calling the `show()` and `close()` methods.\n\nWhen the state is explicitly changed by setting this prop, the state change cannot\nbe cancelled by events.",
14142
- "fieldName": "open"
14143
- },
14144
- {
14145
- "name": "heading",
14146
- "type": {
14147
- "text": "string | undefined"
14148
- },
14149
- "description": "The dialog's heading.",
14150
- "fieldName": "heading"
14151
- },
14152
- {
14153
- "name": "variant",
14154
- "type": {
14155
- "text": "'default' | 'slide-out'"
14156
- },
14157
- "default": "'default'",
14158
- "description": "The dialog's variant.",
14159
- "fieldName": "variant"
14160
- },
14161
- {
14162
- "name": "placement",
14163
- "type": {
14164
- "text": "'initial' | 'top' | 'bottom' | 'left' | 'right'"
14165
- },
14166
- "default": "'initial'",
14167
- "description": "The dialog's placement.",
14168
- "fieldName": "placement"
14169
- },
14170
- {
14171
- "name": "scrollable",
14172
- "type": {
14173
- "text": "boolean"
14174
- },
14175
- "default": "false",
14176
- "description": "Whether the inner content of the dialog should have scrollable overflow. Scroll will appear if\nthe content exceeds the dialog's height, which can be controlled using the `height` property.\n\nThis property have no effect if the `dialog` slot is used. In that case, you need to add overflow\nstyles to the content inside the `dialog` slot.",
14177
- "fieldName": "scrollable"
14178
- },
14179
- {
14180
- "name": "closedby",
14449
+ "name": "level",
14181
14450
  "type": {
14182
- "text": "'closerequest' | 'none' | 'any'"
14451
+ "text": "GdsColorLevel"
14183
14452
  },
14184
- "default": "'closerequest'",
14185
- "description": "Controls which user actions can close the dialog. Maps to the native `<dialog>` `closedby` attribute.\n\n- `closerequest` (default): The dialog can be dismissed by platform close gestures (Escape key, iOS swipe, etc.).\n The browser's anti-abuse mechanism applies: after one cancelled close request, subsequent cancellations\n require a user activation in between. This ensures the best mobile UX.\n- `none`: The dialog can only be closed by developer-specified mechanisms (buttons, click outside, or programmatic API).\n A manual Escape key listener is added for desktop users, with fully cancellable behavior (no anti-abuse limit).\n Mobile platform close gestures may not work in this mode.\n- `any`: The dialog can also be dismissed by light dismiss (clicking outside). Note that gds-dialog already\n handles click-outside via its own mechanism.",
14186
- "fieldName": "closedby"
14453
+ "default": "'2'",
14454
+ "description": "The level of the container is used to resolve the color tokens from the corresponding level.\nCheck the [Color System documentation page](./?path=/docs/style-colors--docs) for more information.\n\nDefault for `gds-div` is level 2.",
14455
+ "fieldName": "level"
14187
14456
  },
14188
14457
  {
14189
14458
  "name": "gds-element",
@@ -14208,33 +14477,77 @@
14208
14477
  "name": "withSizeYProps",
14209
14478
  "module": "/src/utils/mixins/declarative-layout-mixins"
14210
14479
  },
14480
+ {
14481
+ "name": "withMarginProps",
14482
+ "module": "/src/utils/mixins/declarative-layout-mixins"
14483
+ },
14211
14484
  {
14212
14485
  "name": "withPaddingProps",
14213
14486
  "module": "/src/utils/mixins/declarative-layout-mixins"
14487
+ },
14488
+ {
14489
+ "name": "withLayoutChildProps",
14490
+ "module": "/src/utils/mixins/declarative-layout-mixins"
14491
+ },
14492
+ {
14493
+ "name": "withPositioningProps",
14494
+ "module": "/src/utils/mixins/declarative-layout-mixins"
14214
14495
  }
14215
14496
  ],
14216
14497
  "superclass": {
14217
14498
  "name": "GdsElement",
14218
14499
  "module": "/src/gds-element"
14219
14500
  },
14220
- "tagName": "gds-dialog",
14221
- "customElement": true
14501
+ "tagName": "gds-div",
14502
+ "customElement": true,
14503
+ "events": [
14504
+ {
14505
+ "name": "gds-element-disconnected",
14506
+ "type": {
14507
+ "text": "CustomEvent"
14508
+ },
14509
+ "description": "When the element is disconnected from the DOM",
14510
+ "inheritedFrom": {
14511
+ "name": "GdsElement",
14512
+ "module": "src/gds-element.ts"
14513
+ }
14514
+ },
14515
+ {
14516
+ "name": "name",
14517
+ "type": {
14518
+ "text": "Event"
14519
+ },
14520
+ "inheritedFrom": {
14521
+ "name": "GdsElement",
14522
+ "module": "src/gds-element.ts"
14523
+ }
14524
+ },
14525
+ {
14526
+ "type": {
14527
+ "text": "Event"
14528
+ },
14529
+ "inheritedFrom": {
14530
+ "name": "GdsElement",
14531
+ "module": "src/gds-element.ts"
14532
+ }
14533
+ }
14534
+ ]
14222
14535
  }
14223
14536
  ],
14224
14537
  "exports": [
14225
14538
  {
14226
14539
  "kind": "js",
14227
- "name": "GdsDialog",
14540
+ "name": "GdsDiv",
14228
14541
  "declaration": {
14229
- "name": "GdsDialog",
14230
- "module": "src/components/dialog/dialog.component.ts"
14542
+ "name": "GdsDiv",
14543
+ "module": "src/components/div/div.component.ts"
14231
14544
  }
14232
14545
  }
14233
14546
  ]
14234
14547
  },
14235
14548
  {
14236
14549
  "kind": "javascript-module",
14237
- "path": "src/components/dialog/dialog.stories.ts",
14550
+ "path": "src/components/div/div.stories.ts",
14238
14551
  "declarations": [
14239
14552
  {
14240
14553
  "kind": "variable",
@@ -14242,8 +14555,8 @@
14242
14555
  "type": {
14243
14556
  "text": "Meta"
14244
14557
  },
14245
- "default": "{ title: 'Components/Dialog', component: 'gds-dialog', tags: ['autodocs'], argTypes: { ...argTablePropsFor('gds-dialog'), }, parameters: { layout: 'centered', }, }",
14246
- "description": "A dialog appears in front of content to provide critical information or ask for a decision."
14558
+ "default": "{ title: 'Components/Div', component: 'gds-div', tags: ['autodocs'], argTypes: { ...argTablePropsFor('gds-div'), }, }",
14559
+ "description": "\n`gds-div` is a base element in the declarative layout system.\n\nDiv accepts all available style expression properties, and is also the base class for `gds-flex`, `gds-grid`, `gds-card` and `gds-text`"
14247
14560
  },
14248
14561
  {
14249
14562
  "kind": "variable",
@@ -14251,62 +14564,34 @@
14251
14564
  "type": {
14252
14565
  "text": "Story"
14253
14566
  },
14254
- "default": "{ ...DefaultParams, }",
14255
- "description": "The easiest way to set up a dialog is to put a button in the trigger slot. This will\nautomatically open the dialog when the button is clicked."
14256
- },
14257
- {
14258
- "kind": "variable",
14259
- "name": "SlideOut",
14260
- "type": {
14261
- "text": "Story"
14262
- },
14263
- "default": "{ ...DefaultParams, args: { ...DefaultParams.args, variant: 'slide-out', }, }",
14264
- "description": "You can set the `variant` attribute to `slide-out` to make the dialog slide in from the right."
14265
- },
14266
- {
14267
- "kind": "variable",
14268
- "name": "Scrollable",
14269
- "type": {
14270
- "text": "Story"
14271
- },
14272
- "default": "{ ...DefaultParams, args: { ...DefaultParams.args, height: '400px', scrollable: true, }, }",
14273
- "description": "To enable scroll for overflowing content, you can set the `scrollable` property to `true`.\n\nThis only has an effect of the default content slot."
14274
- },
14275
- {
14276
- "kind": "variable",
14277
- "name": "CustomButtons",
14278
- "type": {
14279
- "text": "Story"
14280
- },
14281
- "default": "{ ...DefaultParams, render: () => html`<gds-button aria-haspopup=\"dialog\" onclick=\"document.getElementById('my-dialog').show()\" >Open dialog</gds-button > <gds-dialog heading=\"Dialog heading\" id=\"my-dialog\"> This is the content of the dialog. <gds-button slot=\"footer\" onclick=\"document.getElementById('my-dialog').close('custom close')\" >Custom close button</gds-button > </gds-dialog>`, }",
14282
- "description": "You can also open and close the dialog programmatically by calling the `show()` and `close()` methods.\nIn this case you should add `aria-haspopup=\"dialog\"` to the trigger element. Slotted triggers will get\nthis attribute automatically.\n\nInside the dialog, you can use the `slot=\"footer\"` to add buttons to the footer of the dialog."
14567
+ "default": "{ ...DefaultParams, args: { background: '01', border: '2xs', 'border-radius': 'm', 'border-color': 'subtle-01', width: '4xl', height: '4xl', }, }"
14283
14568
  },
14284
14569
  {
14285
14570
  "kind": "variable",
14286
- "name": "Events",
14571
+ "name": "Example",
14287
14572
  "type": {
14288
14573
  "text": "Story"
14289
14574
  },
14290
- "default": "{ ...DefaultParams, render: () => html`<gds-dialog @gds-close=${console.log} @gds-show=${console.log} @gds-ui-state=${console.log} heading=\"Dialog heading\" id=\"my-dialog-events\" > <gds-button slot=\"trigger\">Open dialog</gds-button> This is the content of the dialog. <gds-button rank=\"secondary\" slot=\"footer\">Custom btn</gds-button> <gds-button slot=\"footer\" onclick=\"document.getElementById('my-dialog-events').close('custom close')\" >Custom btn 2</gds-button > </gds-dialog>`, }",
14291
- "description": "You can listen to the `gds-show`, `gds-close` and `gds-ui-state` events to know when the dialog is opened or closed.\n\nWhen `close()` or `show()` is called without a parameter, the event will not be emitted. If a parameter is passed, the\nevent will be emitted with the parameter as the event detail. Also when any of the built-in methods are used to open or\nclose the dialog, the event will be emitted with the parameter as the event detail.\n\nAll the emitted events will have a `detail` object with a reason property that can be used to determine the reason for the event.\n\nPossible reasons are:\n- `btn-close`: The dialog was closed by the user clicking the close button.\n- `btn-cancel`: The dialog was closed by the user clicking the default cancel button.\n- `btn-ok`: The dialog was closed by the user clicking the default OK button.\n- `native-close`: The dialog was closed by the user pressing the Escape key.\n- `click-outside`: The dialog was closed by the user clicking outside the dialog.\n- `slotted-trigger`: The dialog was opened by the user clicking the slotted trigger button.\n\nThe reason can also be a custom string supplied when calling the `close()` or `show()` methods.\n\n### Preventing close\nThe `gds-ui-state` event can be cancelled by calling `preventDefault()` on the event to prevent the dialog from closing.\nWhen using built-in triggers (buttons, Escape, click outside, trigger slot), cancelling `gds-ui-state` fully prevents the action.\nWhen calling `close()` or `show()` programmatically, events are dispatched for notification but cancellation does not prevent the state change."
14575
+ "default": "{ ...DefaultParams, render: (args) => html` <!-- This is equivalent to 'gds-flex' --> <gds-div display=\"flex\" gap=\"xl\" justify-content=\"center\" align-items=\"center\" > <!-- Some properties, like 'width' and 'height', accepts either tokens or arbitrary values --> <gds-div width=\"4xl\" height=\"4xl\" background=\"neutral-01\"></gds-div> <!-- All style expressions properties accepts multi-viewport expressions --> <gds-div width=\"4xl; l{ 6xl }\" height=\"4xl; l{ 6xl }\" background=\"neutral-02\" border=\"4xs\" ></gds-div> <!-- Instead of adding 'background' and 'border-radius', take a look at 'gds-card', which provides pre-configured configurations of these properties --> <gds-div width=\"4xl\" height=\"4xl\" background=\"03\" border-radius=\"s\" ></gds-div> </gds-div> `, }",
14576
+ "description": "Here is an example of a simple layout structure using `gds-div`:"
14292
14577
  },
14293
14578
  {
14294
14579
  "kind": "variable",
14295
- "name": "CustomDialog",
14580
+ "name": "CardBorder",
14296
14581
  "type": {
14297
14582
  "text": "Story"
14298
14583
  },
14299
- "default": "{ ...DefaultParams, render: () => html`<gds-dialog @gds-close=${console.log} @gds-show=${console.log} @gds-ui-state=${console.log} heading=\"Dialog heading\" id=\"my-dialog-events\" > <gds-button slot=\"trigger\">Open dialog</gds-button> This is the content of the dialog. <div slot=\"dialog\"> If you put stuff here, you can customize the entire dialog, including header and footer. </div> </gds-dialog>`, }",
14300
- "description": "You can customize the dialog completely by putting content in the `dialog` slot.\nThis will replace the default content of the dialog, including the header and footer.\n\nWhen this slot is used, the footer slot will not be rendered, so you need to add a custom footer manually.\n\n**Important:** Make sure to still use the `heading` property, as it is used to give the dialog an accessible name."
14584
+ "default": "{ ...DefaultParams, name: 'Border Style', render: (args) => html`<gds-grid columns=\"5\" gap=\"4xl\"> <gds-card variant=\"primary\" border-radius=\"0\" border-width=\"2xs 0 0 0\" border-color=\"strong\" > <gds-flex align-items=\"center\" justify-content=\"center\"> Top </gds-flex> </gds-card> <gds-card variant=\"primary\" border-radius=\"0\" border-width=\"0 2xs 0 0\" border-color=\"strong\" > <gds-flex align-items=\"center\" justify-content=\"center\">Right</gds-flex> </gds-card> <gds-card variant=\"primary\" border-radius=\"0\" border-width=\"0 0 2xs 0\" border-color=\"strong\" > <gds-flex align-items=\"center\" justify-content=\"center\"> Bottom </gds-flex> </gds-card> <gds-card variant=\"primary\" border-radius=\"0\" border-width=\"0 0 0 2xs\" border-color=\"strong\" > <gds-flex align-items=\"center\" justify-content=\"center\"> Left </gds-flex> </gds-card> <gds-card variant=\"primary\" border-radius=\"0\" border=\"2xs\" border-color=\"strong\" > <gds-flex align-items=\"center\" justify-content=\"center\"> All </gds-flex> </gds-card> </gds-grid>`, }",
14585
+ "description": "Border styling follows the same patterns as CSS and can be controlled using the shorthand properties `border`, `border-width`, `border-style`, `border-color`\n\n- `border-color` defaults to subtle-01\n- `border-width` defaults to 0 (supports all spacing tokens)\n- `border-style` defaults to solid\n\nTo add a 1px primary border around the element:\n\n```html\n<gds-div border=\"4xs\"></gds-div>\n```\n\nTo only add border bottom:\n\n```html\n<gds-div border-width=\"0 0 4xs 0\"></gds-div>\n```\n\nTo add a 1px secodary color border on the bottom:\n\n```html\n<gds-div border-width=\"0 0 4xs 0\" border-color=\"subtle-01\"></gds-div>\n```"
14301
14586
  },
14302
14587
  {
14303
14588
  "kind": "variable",
14304
- "name": "CancelableClose",
14589
+ "name": "BorderRadius",
14305
14590
  "type": {
14306
14591
  "text": "Story"
14307
14592
  },
14308
- "default": "{ ...DefaultParams, render: () => html`<gds-dialog heading=\"Terms and conditions\" id=\"my-dialog-cancel\" closedby=\"none\" @gds-ui-state=${(e: Event) => { const detail = (e as CustomEvent).detail // Only gate close attempts, not open if (detail.open) { const checkbox = document .getElementById('my-dialog-cancel') ?.querySelector('#agree-checkbox') as HTMLInputElement | null if (!checkbox?.checked) { e.preventDefault() } } }} > <gds-button slot=\"trigger\">Open dialog</gds-button> <gds-rich-text> <p> You must agree to the terms before closing this dialog. Try pressing Escape, clicking outside, or using the close button — the dialog will stay open until the checkbox is checked. </p> </gds-rich-text> <label style=\"display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; cursor: pointer;\" > <input type=\"checkbox\" id=\"agree-checkbox\" /> I agree to the terms and conditions </label> </gds-dialog>`, }",
14309
- "description": "You can prevent the dialog from closing by cancelling the `gds-ui-state` event.\n\nIn this example, the dialog contains a checkbox that must be checked before the dialog can be closed.\nAny built-in close trigger (close button, Escape, click outside) is blocked until the condition is met.\n\nNote the use of `closedby=\"none\"` this disables the browser's native close request handling (including\nthe anti-abuse mechanism that would force-close the dialog on repeated Escape presses). With `closedby=\"none\"`,\nthe component adds its own Escape key listener so desktop users can still close via keyboard, and cancellation\nis always honored. Mobile platform close gestures (e.g. iOS swipe) will not work in this mode."
14593
+ "default": "{ ...DefaultParams, args: { background: 'neutral-02', border: '2xs', 'border-radius': 'm', 'border-color': 'strong', width: '8xl', height: '4xl', }, }",
14594
+ "description": "\nValues are mapped directly from our radius tokens to maintain proportional scaling. <br />\nView all available radius tokens and their values in Green Studio:\nhttps://seb.io/studio/radius\n\n\n##### Single value\n```html\n<gds-div border-radius=\"m\">...</gds-div>\n```\n\n##### Multiple corners / (top-left, top-right, bottom-right, bottom-left)\n```html\n<gds-div border-radius=\"s m l xl\">...</gds-div>\n```"
14310
14595
  }
14311
14596
  ],
14312
14597
  "exports": [
@@ -14315,7 +14600,7 @@
14315
14600
  "name": "default",
14316
14601
  "declaration": {
14317
14602
  "name": "meta",
14318
- "module": "src/components/dialog/dialog.stories.ts"
14603
+ "module": "src/components/div/div.stories.ts"
14319
14604
  }
14320
14605
  },
14321
14606
  {
@@ -14323,67 +14608,43 @@
14323
14608
  "name": "Default",
14324
14609
  "declaration": {
14325
14610
  "name": "Default",
14326
- "module": "src/components/dialog/dialog.stories.ts"
14327
- }
14328
- },
14329
- {
14330
- "kind": "js",
14331
- "name": "SlideOut",
14332
- "declaration": {
14333
- "name": "SlideOut",
14334
- "module": "src/components/dialog/dialog.stories.ts"
14335
- }
14336
- },
14337
- {
14338
- "kind": "js",
14339
- "name": "Scrollable",
14340
- "declaration": {
14341
- "name": "Scrollable",
14342
- "module": "src/components/dialog/dialog.stories.ts"
14343
- }
14344
- },
14345
- {
14346
- "kind": "js",
14347
- "name": "CustomButtons",
14348
- "declaration": {
14349
- "name": "CustomButtons",
14350
- "module": "src/components/dialog/dialog.stories.ts"
14611
+ "module": "src/components/div/div.stories.ts"
14351
14612
  }
14352
14613
  },
14353
14614
  {
14354
14615
  "kind": "js",
14355
- "name": "Events",
14616
+ "name": "Example",
14356
14617
  "declaration": {
14357
- "name": "Events",
14358
- "module": "src/components/dialog/dialog.stories.ts"
14618
+ "name": "Example",
14619
+ "module": "src/components/div/div.stories.ts"
14359
14620
  }
14360
14621
  },
14361
14622
  {
14362
14623
  "kind": "js",
14363
- "name": "CustomDialog",
14624
+ "name": "CardBorder",
14364
14625
  "declaration": {
14365
- "name": "CustomDialog",
14366
- "module": "src/components/dialog/dialog.stories.ts"
14626
+ "name": "CardBorder",
14627
+ "module": "src/components/div/div.stories.ts"
14367
14628
  }
14368
14629
  },
14369
14630
  {
14370
14631
  "kind": "js",
14371
- "name": "CancelableClose",
14632
+ "name": "BorderRadius",
14372
14633
  "declaration": {
14373
- "name": "CancelableClose",
14374
- "module": "src/components/dialog/dialog.stories.ts"
14634
+ "name": "BorderRadius",
14635
+ "module": "src/components/div/div.stories.ts"
14375
14636
  }
14376
14637
  }
14377
14638
  ]
14378
14639
  },
14379
14640
  {
14380
14641
  "kind": "javascript-module",
14381
- "path": "src/components/dialog/dialog.styles.ts",
14642
+ "path": "src/components/div/div.styles.ts",
14382
14643
  "declarations": [
14383
14644
  {
14384
14645
  "kind": "variable",
14385
14646
  "name": "style",
14386
- "default": "css` @layer base, reset, transitional-styles; @layer base { :host { display: contents; --_margin: var(--gds-sys-space-l); } dialog { transition: transform var(--gds-sys-motion-duration-fast) cubic-bezier(var(--gds-sys-motion-easing-ease-out)); background: transparent; padding: 0; border-width: 0; overflow: visible; max-width: calc(100vw - var(--_margin)); max-height: 100vh; display: flex; width: 400px; @starting-style { opacity: 0; transform: translateY(-16px); &::backdrop { opacity: 0; } } &::backdrop { transition: all var(--gds-sys-motion-duration-fast) cubic-bezier(var(--gds-sys-motion-easing-ease-out)); background: rgba(100, 100, 100, 0.4); } } dialog > * { flex-grow: 1; } dialog.default.placement-initial { margin: auto; --_margin: 0px; } dialog.default.placement-top { margin: var(--gds-sys-space-l) auto auto; } dialog.default.placement-bottom { margin: auto auto var(--gds-sys-space-l) auto; } dialog.default.placement-left { margin: auto var(--gds-sys-space-l) auto auto; } dialog.default.placement-right { margin: auto auto auto var(--gds-sys-space-l); } dialog.slide-out { --_in: var(--gds-sys-space-m); --_margin: var(--gds-sys-space-l); height: auto; &.placement-initial, &.placement-right { inset: var(--_in); @media (min-width: 648px) { --_in: var(--gds-sys-space-l); inset: var(--_in) var(--_in) var(--_in) auto; } @starting-style { transform: translateX(var(--gds-sys-space-6xl)); } } &.placement-left { @starting-style { transform: translateX(calc(-1 * var(--gds-sys-space-6xl))); } inset: var(--_in); @media (min-width: 648px) { --_in: var(--gds-sys-space-l); inset: var(--_in) auto var(--_in) var(--_in); } } &.placement-top { @starting-style { transform: translateY(calc(-1 * var(--gds-sys-space-6xl))); } inset: var(--_in) var(--_in) auto var(--_in); } &.placement-bottom { @starting-style { transform: translateY(calc(var(--gds-sys-space-6xl))); } inset: auto var(--_in) var(--_in) var(--_in); } } dialog:focus { outline: none; } .card { flex-direction: column; } slot[name='footer'] > *, slot[name='footer']::slotted(*) { flex: 1; } h2 { margin: 0; padding: 0; font: var(--gds-sys-text-heading-s); margin-block-start: var(--gds-sys-space-4xs); } } `"
14647
+ "default": "css` :host { display: block; box-sizing: border-box; border-style: solid; border-width: 0; border-color: var(--gds-sys-color-border-subtle-01); } `"
14387
14648
  }
14388
14649
  ],
14389
14650
  "exports": [
@@ -14392,29 +14653,29 @@
14392
14653
  "name": "default",
14393
14654
  "declaration": {
14394
14655
  "name": "style",
14395
- "module": "src/components/dialog/dialog.styles.ts"
14656
+ "module": "src/components/div/div.styles.ts"
14396
14657
  }
14397
14658
  }
14398
14659
  ]
14399
14660
  },
14400
14661
  {
14401
14662
  "kind": "javascript-module",
14402
- "path": "src/components/dialog/dialog.ts",
14663
+ "path": "src/components/div/div.ts",
14403
14664
  "declarations": [],
14404
14665
  "exports": [
14405
14666
  {
14406
14667
  "kind": "js",
14407
- "name": "GdsDialog",
14668
+ "name": "GdsDiv",
14408
14669
  "declaration": {
14409
- "name": "GdsDialog",
14410
- "module": "src/components/dialog/dialog.ts"
14670
+ "name": "GdsDiv",
14671
+ "module": "src/components/div/div.ts"
14411
14672
  }
14412
14673
  }
14413
14674
  ]
14414
14675
  },
14415
14676
  {
14416
14677
  "kind": "javascript-module",
14417
- "path": "src/components/dialog/index.ts",
14678
+ "path": "src/components/div/index.ts",
14418
14679
  "declarations": [],
14419
14680
  "exports": [
14420
14681
  {
@@ -14422,364 +14683,141 @@
14422
14683
  "name": "*",
14423
14684
  "declaration": {
14424
14685
  "name": "*",
14425
- "module": "src/components/dialog/dialog"
14426
- }
14427
- }
14428
- ]
14429
- },
14430
- {
14431
- "kind": "javascript-module",
14432
- "path": "src/components/dialog/scroll-lock.ts",
14433
- "declarations": [
14434
- {
14435
- "kind": "function",
14436
- "name": "registerGlobalScrollLockStyles"
14437
- },
14438
- {
14439
- "kind": "function",
14440
- "name": "lockBodyScrolling",
14441
- "parameters": [
14442
- {
14443
- "name": "lockingEl",
14444
- "type": {
14445
- "text": "HTMLElement"
14446
- }
14447
- }
14448
- ],
14449
- "description": "Prevents body scrolling. Keeps track of which elements requested a lock so multiple levels of locking are possible\nwithout premature unlocking."
14450
- },
14451
- {
14452
- "kind": "function",
14453
- "name": "unlockBodyScrolling",
14454
- "parameters": [
14455
- {
14456
- "name": "lockingEl",
14457
- "type": {
14458
- "text": "HTMLElement"
14459
- }
14460
- }
14461
- ],
14462
- "description": "Unlocks body scrolling. Scrolling will only be unlocked once all elements that requested a lock call this method."
14463
- }
14464
- ],
14465
- "exports": [
14466
- {
14467
- "kind": "js",
14468
- "name": "registerGlobalScrollLockStyles",
14469
- "declaration": {
14470
- "name": "registerGlobalScrollLockStyles",
14471
- "module": "src/components/dialog/scroll-lock.ts"
14472
- }
14473
- },
14474
- {
14475
- "kind": "js",
14476
- "name": "lockBodyScrolling",
14477
- "declaration": {
14478
- "name": "lockBodyScrolling",
14479
- "module": "src/components/dialog/scroll-lock.ts"
14480
- }
14481
- },
14482
- {
14483
- "kind": "js",
14484
- "name": "unlockBodyScrolling",
14485
- "declaration": {
14486
- "name": "unlockBodyScrolling",
14487
- "module": "src/components/dialog/scroll-lock.ts"
14686
+ "module": "src/components/div/div"
14488
14687
  }
14489
14688
  }
14490
14689
  ]
14491
14690
  },
14492
14691
  {
14493
14692
  "kind": "javascript-module",
14494
- "path": "src/components/div/div.component.ts",
14693
+ "path": "src/components/dialog/dialog.component.ts",
14495
14694
  "declarations": [
14496
14695
  {
14497
14696
  "kind": "class",
14498
14697
  "description": "",
14499
- "name": "GdsDiv",
14500
- "members": [
14501
- {
14502
- "kind": "field",
14503
- "name": "display",
14504
- "type": {
14505
- "text": "string | undefined"
14506
- },
14507
- "description": "Controls the display property.\nSupports all valid CSS display values.",
14508
- "category": "Declarative layout / Style expression properties"
14509
- },
14510
- {
14511
- "kind": "field",
14512
- "name": "level",
14513
- "type": {
14514
- "text": "GdsColorLevel"
14515
- },
14516
- "default": "'2'",
14517
- "description": "The level of the container is used to resolve the color tokens from the corresponding level.\nCheck the [Color System documentation page](./?path=/docs/style-colors--docs) for more information.\n\nDefault for `gds-div` is level 2.",
14518
- "attribute": "level"
14519
- },
14520
- {
14521
- "kind": "field",
14522
- "name": "color",
14523
- "type": {
14524
- "text": "string | undefined"
14525
- },
14526
- "description": "Style Expression Property that controls the `color` property.\nOnly accepts color tokens and an optional transparency value, in the format tokenName/transparency.\n\n```html\n<gds-div color=\"neutral-01/0.2\"></gds-div>\n```",
14527
- "category": "Declarative layout / Style expression properties"
14528
- },
14529
- {
14530
- "kind": "field",
14531
- "name": "background",
14532
- "type": {
14533
- "text": "string | undefined"
14534
- },
14535
- "description": "Style Expression Property that controls the `background` property.\nOnly accepts color tokens and an optional transparency value, in the format tokenName/transparency.\n\n```html\n<gds-div background=\"neutral-01/0.2\"></gds-div>\n```",
14536
- "category": "Declarative layout / Style expression properties"
14537
- },
14538
- {
14539
- "kind": "field",
14540
- "name": "border",
14541
- "type": {
14542
- "text": "string | undefined"
14543
- },
14544
- "description": "Style Expression Property that controls the `border` property.\nAccepts a string of the same format as the CSS border property.\n\n```html\n<gds-div border=\"4xs solid subtle-01/0.2\"></gds-div>\n```\n\nWhere the size value accepts space tokens and the color value accepts color tokens and an optional transparency value.",
14545
- "category": "Declarative layout / Style expression properties"
14546
- },
14547
- {
14548
- "kind": "field",
14549
- "name": "'border-color'",
14550
- "type": {
14551
- "text": "string | undefined"
14552
- },
14553
- "description": "Style Expression Property that controls the `border-color` property.\nOnly accepts color tokens and an optional transparency value, in the format tokenName/transparency.\n\n```html\n<gds-div border-color=\"subtle-01/0.2\"></gds-div>\n```",
14554
- "category": "Declarative layout / Style expression properties"
14555
- },
14556
- {
14557
- "kind": "field",
14558
- "name": "'border-width'",
14559
- "type": {
14560
- "text": "string | undefined"
14561
- },
14562
- "description": "Style Expression Property that controls the `border-width` property.\nOnly accepts space tokens.",
14563
- "category": "Declarative layout / Style expression properties"
14564
- },
14565
- {
14566
- "kind": "field",
14567
- "name": "'border-style'",
14568
- "type": {
14569
- "text": "string | undefined"
14570
- },
14571
- "description": "Style Expression Property that controls the `border-style` property.\nSupports all valid CSS `border-style` values.",
14572
- "category": "Declarative layout / Style expression properties"
14573
- },
14574
- {
14575
- "kind": "field",
14576
- "name": "'border-radius'",
14577
- "type": {
14578
- "text": "string | undefined"
14579
- },
14580
- "description": "Style Expression Property that controls the `border-radius` property.\nOnly accepts space tokens.",
14581
- "category": "Declarative layout / Style expression properties"
14582
- },
14583
- {
14584
- "kind": "field",
14585
- "name": "'box-shadow'",
14586
- "type": {
14587
- "text": "string | undefined"
14588
- },
14589
- "description": "Style Expression Property for the `box-shadow` property.\n\nAccepts shadow tokens from the design system.\n\n`xs`, `s`, `m`, `l`, `xl`",
14590
- "category": "Declarative layout / Style expression properties"
14591
- },
14592
- {
14593
- "kind": "field",
14594
- "name": "opacity",
14595
- "type": {
14596
- "text": "string | undefined"
14597
- },
14598
- "description": "Style Expression Property that controls the `opacity` property.\nSupports all valid CSS `opacity` values.",
14599
- "category": "Declarative layout / Style expression properties"
14600
- },
14601
- {
14602
- "kind": "field",
14603
- "name": "overflow",
14604
- "type": {
14605
- "text": "string | undefined"
14606
- },
14607
- "description": "Style Expression Property that controls the `overflow` property.\nSupports all valid CSS `overflow` values.",
14608
- "category": "Declarative layout / Style expression properties"
14609
- },
14610
- {
14611
- "kind": "field",
14612
- "name": "'box-sizing'",
14613
- "type": {
14614
- "text": "string | undefined"
14615
- },
14616
- "description": "Style Expression Property that controls the `box-sizing` property.\nSupports all valid CSS `box-sizing` values.",
14617
- "category": "Declarative layout / Style expression properties"
14618
- },
14619
- {
14620
- "kind": "field",
14621
- "name": "'z-index'",
14622
- "type": {
14623
- "text": "string | undefined"
14624
- },
14625
- "description": "Style Expression Property that controls the `z-index` property.\nSupports all valid CSS `z-index` values.",
14626
- "category": "Declarative layout / Style expression properties"
14627
- },
14628
- {
14629
- "kind": "field",
14630
- "name": "'font'",
14631
- "type": {
14632
- "text": "string | undefined"
14633
- },
14634
- "description": "Style Expression Property that controls the `font` property.\nSupports all font tokens from the design system."
14635
- },
14636
- {
14637
- "kind": "field",
14638
- "name": "'font-weight'",
14639
- "type": {
14640
- "text": "string | undefined"
14641
- },
14642
- "description": "Style Expression Property that controls the `font-weight` property.\nSupports all typography weight tokens from the design system.",
14643
- "category": "Declarative layout / Style expression properties"
14644
- },
14645
- {
14646
- "kind": "field",
14647
- "name": "'text-align'",
14648
- "type": {
14649
- "text": "string | undefined"
14650
- },
14651
- "description": "Style Expression Property that controls the `text-align` property.\nSupports all valid CSS `text-align` values.",
14652
- "category": "Declarative layout / Style expression properties"
14653
- },
14654
- {
14655
- "kind": "field",
14656
- "name": "'text-wrap'",
14657
- "type": {
14658
- "text": "string | undefined"
14659
- },
14660
- "description": "Style Expression Property that controls the `text-wrap` property.\nSupports all valid CSS `text-wrap` values.",
14661
- "category": "Declarative layout / Style expression properties"
14662
- },
14663
- {
14664
- "kind": "field",
14665
- "name": "'overflow-wrap'",
14666
- "type": {
14667
- "text": "string | undefined"
14668
- },
14669
- "description": "Style Expression Property that controls the `overflow-wrap` property.\nSupports all valid CSS `overflow-wrap` values."
14670
- },
14698
+ "name": "GdsDialog",
14699
+ "slots": [
14671
14700
  {
14672
- "kind": "field",
14673
- "name": "'white-space'",
14674
- "type": {
14675
- "text": "string | undefined"
14676
- },
14677
- "description": "Style Expression Property that controls the `white-space` property.\nSupports all valid CSS `white-space` values."
14701
+ "description": "The content of the dialog",
14702
+ "name": ""
14678
14703
  },
14679
14704
  {
14680
- "kind": "field",
14681
- "name": "gap",
14682
- "type": {
14683
- "text": "string | undefined"
14684
- },
14685
- "description": "Style Expression Property that controls the `gap` property.\nOnly accepts space tokens.",
14686
- "category": "Declarative layout / Style expression properties"
14705
+ "description": "The trigger button for the dialog",
14706
+ "name": "trigger"
14687
14707
  },
14688
14708
  {
14689
- "kind": "field",
14690
- "name": "'align-items'",
14691
- "type": {
14692
- "text": "string | undefined"
14693
- },
14694
- "description": "Style Expression Property that controls the `align-items` property.\nSupports all valid CSS `align-items` values.",
14695
- "category": "Declarative layout / Style expression properties"
14709
+ "description": "The footer of the dialog",
14710
+ "name": "footer"
14696
14711
  },
14697
14712
  {
14698
- "kind": "field",
14699
- "name": "'align-content'",
14700
- "type": {
14701
- "text": "string | undefined"
14702
- },
14703
- "description": "Style Expression Property that controls the `align-content` property.\nSupports all valid CSS `align-content` values.",
14704
- "category": "Declarative layout / Style expression properties"
14705
- },
14713
+ "description": "Complete override of the dialog content, including header and footer",
14714
+ "name": "dialog"
14715
+ }
14716
+ ],
14717
+ "members": [
14706
14718
  {
14707
14719
  "kind": "field",
14708
- "name": "'justify-content'",
14720
+ "name": "styleExpressionBaseSelector",
14709
14721
  "type": {
14710
- "text": "string | undefined"
14722
+ "text": "string"
14711
14723
  },
14712
- "description": "Style Expression Property that controls the `justify-content` property.\nSupports all valid CSS `justify-content` values.",
14713
- "category": "Declarative layout / Style expression properties"
14724
+ "static": true,
14725
+ "default": "'dialog'",
14726
+ "description": "Style expression properties for this element will use this selector by default.",
14727
+ "inheritedFrom": {
14728
+ "name": "GdsElement",
14729
+ "module": "src/gds-element.ts"
14730
+ }
14714
14731
  },
14715
14732
  {
14716
14733
  "kind": "field",
14717
- "name": "'justify-items'",
14734
+ "name": "open",
14718
14735
  "type": {
14719
- "text": "string | undefined"
14736
+ "text": "boolean"
14720
14737
  },
14721
- "description": "Style Expression Property that controls the `justify-items` property.\nSupports all valid CSS `justify-items` values.",
14722
- "category": "Declarative layout / Style expression properties"
14738
+ "default": "false",
14739
+ "description": "Whether the dialog is open. The state of the dialog can be controlled either\nby setting this property or by calling the `show()` and `close()` methods.\n\nWhen the state is explicitly changed by setting this prop, the state change cannot\nbe cancelled by events.",
14740
+ "attribute": "open",
14741
+ "reflects": true
14723
14742
  },
14724
14743
  {
14725
14744
  "kind": "field",
14726
- "name": "'flex-direction'",
14745
+ "name": "heading",
14727
14746
  "type": {
14728
14747
  "text": "string | undefined"
14729
14748
  },
14730
- "description": "Style Expression Property that controls the `flex-direction` property.\nSupports all valid CSS `flex-direction` values.",
14731
- "category": "Declarative layout / Style expression properties"
14749
+ "description": "The dialog's heading.",
14750
+ "attribute": "heading"
14732
14751
  },
14733
14752
  {
14734
14753
  "kind": "field",
14735
- "name": "'flex-wrap'",
14754
+ "name": "variant",
14736
14755
  "type": {
14737
- "text": "string | undefined"
14756
+ "text": "'default' | 'slide-out'"
14738
14757
  },
14739
- "description": "Style Expression Property that controls the `flex-wrap` property.\nSupports all valid CSS `flex-wrap` values.",
14740
- "category": "Declarative layout / Style expression properties"
14758
+ "default": "'default'",
14759
+ "description": "The dialog's variant.",
14760
+ "attribute": "variant"
14741
14761
  },
14742
14762
  {
14743
14763
  "kind": "field",
14744
- "name": "'place-items'",
14764
+ "name": "placement",
14745
14765
  "type": {
14746
- "text": "string | undefined"
14766
+ "text": "'initial' | 'top' | 'bottom' | 'left' | 'right'"
14747
14767
  },
14748
- "description": "Style Expression Property that controls the `place-items` property.\nSupports all valid CSS `place-items` values.",
14749
- "category": "Declarative layout / Style expression properties"
14768
+ "default": "'initial'",
14769
+ "description": "The dialog's placement.",
14770
+ "attribute": "placement"
14750
14771
  },
14751
14772
  {
14752
14773
  "kind": "field",
14753
- "name": "'place-content'",
14774
+ "name": "scrollable",
14754
14775
  "type": {
14755
- "text": "string | undefined"
14776
+ "text": "boolean"
14756
14777
  },
14757
- "description": "Style Expression Property that controls the `place-content` property.\nSupports all valid CSS `place-content` values.",
14758
- "category": "Declarative layout / Style expression properties"
14778
+ "default": "false",
14779
+ "description": "Whether the inner content of the dialog should have scrollable overflow. Scroll will appear if\nthe content exceeds the dialog's height, which can be controlled using the `height` property.\n\nThis property have no effect if the `dialog` slot is used. In that case, you need to add overflow\nstyles to the content inside the `dialog` slot.",
14780
+ "attribute": "scrollable"
14759
14781
  },
14760
14782
  {
14761
14783
  "kind": "field",
14762
- "name": "'aspect-ratio'",
14784
+ "name": "closedby",
14763
14785
  "type": {
14764
- "text": "string | undefined"
14786
+ "text": "'closerequest' | 'none' | 'any'"
14765
14787
  },
14766
- "description": "Style Expression Property that controls the `aspect-ratio` property.\nSupports all valid CSS `aspect-ratio` values."
14788
+ "default": "'closerequest'",
14789
+ "description": "Controls which user actions can close the dialog. Maps to the native `<dialog>` `closedby` attribute.\n\n- `closerequest` (default): The dialog can be dismissed by platform close gestures (Escape key, iOS swipe, etc.).\n The browser's anti-abuse mechanism applies: after one cancelled close request, subsequent cancellations\n require a user activation in between. This ensures the best mobile UX.\n- `none`: The dialog can only be closed by developer-specified mechanisms (buttons, click outside, or programmatic API).\n A manual Escape key listener is added for desktop users, with fully cancellable behavior (no anti-abuse limit).\n Mobile platform close gestures may not work in this mode.\n- `any`: The dialog can also be dismissed by light dismiss (clicking outside). Note that gds-dialog already\n handles click-outside via its own mechanism.",
14790
+ "attribute": "closedby",
14791
+ "reflects": true
14767
14792
  },
14768
14793
  {
14769
- "kind": "field",
14770
- "name": "cursor",
14771
- "type": {
14772
- "text": "string | undefined"
14773
- },
14774
- "description": "Style Expression Property that controls the `cursor` property.\nSupports all valid CSS `cursor` values."
14794
+ "kind": "method",
14795
+ "name": "show",
14796
+ "parameters": [
14797
+ {
14798
+ "name": "reason",
14799
+ "optional": true,
14800
+ "type": {
14801
+ "text": "string"
14802
+ }
14803
+ }
14804
+ ],
14805
+ "description": "Opens the dialog.\nThis is a programmatic API that always opens the dialog.\nEvents are dispatched for notification when a reason is provided, but cancellation is not honored."
14775
14806
  },
14776
14807
  {
14777
- "kind": "field",
14778
- "name": "'pointer-events'",
14779
- "type": {
14780
- "text": "string | undefined"
14781
- },
14782
- "description": "Style Expression Property that controls the `pointer-events` property.\nSupports all valid CSS `pointer-events` values."
14808
+ "kind": "method",
14809
+ "name": "close",
14810
+ "parameters": [
14811
+ {
14812
+ "name": "reason",
14813
+ "optional": true,
14814
+ "type": {
14815
+ "text": "string"
14816
+ },
14817
+ "description": "The reason for closing the dialog."
14818
+ }
14819
+ ],
14820
+ "description": "Closes the dialog.\nThis is a programmatic API that always closes the dialog.\nEvents are dispatched for notification when a reason is provided, but cancellation is not honored."
14783
14821
  },
14784
14822
  {
14785
14823
  "kind": "field",
@@ -14937,45 +14975,6 @@
14937
14975
  "module": "src/utils/mixins/declarative-layout-mixins.ts"
14938
14976
  }
14939
14977
  },
14940
- {
14941
- "kind": "field",
14942
- "name": "margin",
14943
- "type": {
14944
- "text": "string | undefined"
14945
- },
14946
- "description": "Style Expression Property that controls the `margin` property.\nOnly accepts space tokens.",
14947
- "category": "Declarative layout / Style expression properties",
14948
- "inheritedFrom": {
14949
- "name": "withMarginProps",
14950
- "module": "src/utils/mixins/declarative-layout-mixins.ts"
14951
- }
14952
- },
14953
- {
14954
- "kind": "field",
14955
- "name": "'margin-inline'",
14956
- "type": {
14957
- "text": "string | undefined"
14958
- },
14959
- "description": "Style Expression Property that controls the `margin-inline` property.\nOnly accepts space tokens.",
14960
- "category": "Declarative layout / Style expression properties",
14961
- "inheritedFrom": {
14962
- "name": "withMarginProps",
14963
- "module": "src/utils/mixins/declarative-layout-mixins.ts"
14964
- }
14965
- },
14966
- {
14967
- "kind": "field",
14968
- "name": "'margin-block'",
14969
- "type": {
14970
- "text": "string | undefined"
14971
- },
14972
- "description": "Style Expression Property that controls the `margin-block` property.\nOnly accepts space tokens.",
14973
- "category": "Declarative layout / Style expression properties",
14974
- "inheritedFrom": {
14975
- "name": "withMarginProps",
14976
- "module": "src/utils/mixins/declarative-layout-mixins.ts"
14977
- }
14978
- },
14979
14978
  {
14980
14979
  "kind": "field",
14981
14980
  "name": "padding",
@@ -15015,149 +15014,6 @@
15015
15014
  "module": "src/utils/mixins/declarative-layout-mixins.ts"
15016
15015
  }
15017
15016
  },
15018
- {
15019
- "kind": "field",
15020
- "name": "'align-self'",
15021
- "type": {
15022
- "text": "string | undefined"
15023
- },
15024
- "description": "Style Expression Property that controls the `align-self` property.\nSupports all valid CSS `align-self` values.",
15025
- "category": "Declarative layout / Style expression properties",
15026
- "inheritedFrom": {
15027
- "name": "withLayoutChildProps",
15028
- "module": "src/utils/mixins/declarative-layout-mixins.ts"
15029
- }
15030
- },
15031
- {
15032
- "kind": "field",
15033
- "name": "'justify-self'",
15034
- "type": {
15035
- "text": "string | undefined"
15036
- },
15037
- "description": "Style Expression Property that controls the `justify-self` property.\nSupports all valid CSS `justify-self` values.",
15038
- "category": "Declarative layout / Style expression properties",
15039
- "inheritedFrom": {
15040
- "name": "withLayoutChildProps",
15041
- "module": "src/utils/mixins/declarative-layout-mixins.ts"
15042
- }
15043
- },
15044
- {
15045
- "kind": "field",
15046
- "name": "'place-self'",
15047
- "type": {
15048
- "text": "string | undefined"
15049
- },
15050
- "description": "Style Expression Property that controls the `place-self` property.\nSupports all valid CSS `place-self` values.",
15051
- "category": "Declarative layout / Style expression properties",
15052
- "inheritedFrom": {
15053
- "name": "withLayoutChildProps",
15054
- "module": "src/utils/mixins/declarative-layout-mixins.ts"
15055
- }
15056
- },
15057
- {
15058
- "kind": "field",
15059
- "name": "'grid-column'",
15060
- "type": {
15061
- "text": "string | undefined"
15062
- },
15063
- "description": "Style Expression Property that controls the `grid-column` property.\nSupports all valid CSS grid-column values.\nDocumentation: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column",
15064
- "category": "Declarative layout / Style expression properties",
15065
- "inheritedFrom": {
15066
- "name": "withLayoutChildProps",
15067
- "module": "src/utils/mixins/declarative-layout-mixins.ts"
15068
- }
15069
- },
15070
- {
15071
- "kind": "field",
15072
- "name": "'grid-row'",
15073
- "type": {
15074
- "text": "string | undefined"
15075
- },
15076
- "description": "Style Expression Property that controls the `grid-row` property.\nSupports all valid CSS `grid-row` values.",
15077
- "category": "Declarative layout / Style expression properties",
15078
- "inheritedFrom": {
15079
- "name": "withLayoutChildProps",
15080
- "module": "src/utils/mixins/declarative-layout-mixins.ts"
15081
- }
15082
- },
15083
- {
15084
- "kind": "field",
15085
- "name": "'grid-area'",
15086
- "type": {
15087
- "text": "string | undefined"
15088
- },
15089
- "description": "Style Expression Property that controls the `grid-area` property.\nSupports all valid CSS `grid-area` values.",
15090
- "category": "Declarative layout / Style expression properties",
15091
- "inheritedFrom": {
15092
- "name": "withLayoutChildProps",
15093
- "module": "src/utils/mixins/declarative-layout-mixins.ts"
15094
- }
15095
- },
15096
- {
15097
- "kind": "field",
15098
- "name": "flex",
15099
- "type": {
15100
- "text": "string | undefined"
15101
- },
15102
- "description": "Style Expression Property that controls the `flex` property.\nSupports all valid CSS `flex` values.",
15103
- "category": "Declarative layout / Style expression properties",
15104
- "inheritedFrom": {
15105
- "name": "withLayoutChildProps",
15106
- "module": "src/utils/mixins/declarative-layout-mixins.ts"
15107
- }
15108
- },
15109
- {
15110
- "kind": "field",
15111
- "name": "order",
15112
- "type": {
15113
- "text": "string | undefined"
15114
- },
15115
- "description": "Style Expression Property that controls the `order` property.\nSupports all valid CSS `order` values.",
15116
- "category": "Declarative layout / Style expression properties",
15117
- "inheritedFrom": {
15118
- "name": "withLayoutChildProps",
15119
- "module": "src/utils/mixins/declarative-layout-mixins.ts"
15120
- }
15121
- },
15122
- {
15123
- "kind": "field",
15124
- "name": "position",
15125
- "type": {
15126
- "text": "string | undefined"
15127
- },
15128
- "description": "Style Expression Property that controls the `position` property.\nSupports all valid CSS `position` values.",
15129
- "category": "Declarative layout / Style expression properties",
15130
- "inheritedFrom": {
15131
- "name": "withPositioningProps",
15132
- "module": "src/utils/mixins/declarative-layout-mixins.ts"
15133
- }
15134
- },
15135
- {
15136
- "kind": "field",
15137
- "name": "transform",
15138
- "type": {
15139
- "text": "string | undefined"
15140
- },
15141
- "description": "Style Expression Property that controls the `transform` property.\nSupports all valid CSS `transform` values.",
15142
- "category": "Declarative layout / Style expression properties",
15143
- "inheritedFrom": {
15144
- "name": "withPositioningProps",
15145
- "module": "src/utils/mixins/declarative-layout-mixins.ts"
15146
- }
15147
- },
15148
- {
15149
- "kind": "field",
15150
- "name": "inset",
15151
- "type": {
15152
- "text": "string | undefined"
15153
- },
15154
- "description": "Style Expression Property that controls the `inset` property.\nSupports all valid CSS `inset` values.",
15155
- "category": "Declarative layout / Style expression properties",
15156
- "inheritedFrom": {
15157
- "name": "withPositioningProps",
15158
- "module": "src/utils/mixins/declarative-layout-mixins.ts"
15159
- }
15160
- },
15161
15017
  {
15162
15018
  "kind": "method",
15163
15019
  "name": "define",
@@ -15187,20 +15043,6 @@
15187
15043
  "module": "src/gds-element.ts"
15188
15044
  }
15189
15045
  },
15190
- {
15191
- "kind": "field",
15192
- "name": "styleExpressionBaseSelector",
15193
- "type": {
15194
- "text": "string"
15195
- },
15196
- "static": true,
15197
- "default": "':host'",
15198
- "description": "Style expression properties for this element will use this selector by default.",
15199
- "inheritedFrom": {
15200
- "name": "GdsElement",
15201
- "module": "src/gds-element.ts"
15202
- }
15203
- },
15204
15046
  {
15205
15047
  "kind": "field",
15206
15048
  "name": "semanticVersion",
@@ -15288,15 +15130,103 @@
15288
15130
  }
15289
15131
  }
15290
15132
  ],
15133
+ "events": [
15134
+ {
15135
+ "description": "Fired when the dialog is opened or closed. Can be cancelled to prevent the dialog from closing.",
15136
+ "name": "gds-ui-state"
15137
+ },
15138
+ {
15139
+ "description": "Fired when the dialog is closed",
15140
+ "name": "gds-close"
15141
+ },
15142
+ {
15143
+ "description": "Fired when the dialog is opened",
15144
+ "name": "gds-show"
15145
+ },
15146
+ {
15147
+ "name": "gds-element-disconnected",
15148
+ "type": {
15149
+ "text": "CustomEvent"
15150
+ },
15151
+ "description": "When the element is disconnected from the DOM",
15152
+ "inheritedFrom": {
15153
+ "name": "GdsElement",
15154
+ "module": "src/gds-element.ts"
15155
+ }
15156
+ },
15157
+ {
15158
+ "name": "name",
15159
+ "type": {
15160
+ "text": "Event"
15161
+ },
15162
+ "inheritedFrom": {
15163
+ "name": "GdsElement",
15164
+ "module": "src/gds-element.ts"
15165
+ }
15166
+ },
15167
+ {
15168
+ "type": {
15169
+ "text": "Event"
15170
+ },
15171
+ "inheritedFrom": {
15172
+ "name": "GdsElement",
15173
+ "module": "src/gds-element.ts"
15174
+ }
15175
+ }
15176
+ ],
15291
15177
  "attributes": [
15292
15178
  {
15293
- "name": "level",
15179
+ "name": "open",
15294
15180
  "type": {
15295
- "text": "GdsColorLevel"
15181
+ "text": "boolean"
15296
15182
  },
15297
- "default": "'2'",
15298
- "description": "The level of the container is used to resolve the color tokens from the corresponding level.\nCheck the [Color System documentation page](./?path=/docs/style-colors--docs) for more information.\n\nDefault for `gds-div` is level 2.",
15299
- "fieldName": "level"
15183
+ "default": "false",
15184
+ "description": "Whether the dialog is open. The state of the dialog can be controlled either\nby setting this property or by calling the `show()` and `close()` methods.\n\nWhen the state is explicitly changed by setting this prop, the state change cannot\nbe cancelled by events.",
15185
+ "fieldName": "open"
15186
+ },
15187
+ {
15188
+ "name": "heading",
15189
+ "type": {
15190
+ "text": "string | undefined"
15191
+ },
15192
+ "description": "The dialog's heading.",
15193
+ "fieldName": "heading"
15194
+ },
15195
+ {
15196
+ "name": "variant",
15197
+ "type": {
15198
+ "text": "'default' | 'slide-out'"
15199
+ },
15200
+ "default": "'default'",
15201
+ "description": "The dialog's variant.",
15202
+ "fieldName": "variant"
15203
+ },
15204
+ {
15205
+ "name": "placement",
15206
+ "type": {
15207
+ "text": "'initial' | 'top' | 'bottom' | 'left' | 'right'"
15208
+ },
15209
+ "default": "'initial'",
15210
+ "description": "The dialog's placement.",
15211
+ "fieldName": "placement"
15212
+ },
15213
+ {
15214
+ "name": "scrollable",
15215
+ "type": {
15216
+ "text": "boolean"
15217
+ },
15218
+ "default": "false",
15219
+ "description": "Whether the inner content of the dialog should have scrollable overflow. Scroll will appear if\nthe content exceeds the dialog's height, which can be controlled using the `height` property.\n\nThis property have no effect if the `dialog` slot is used. In that case, you need to add overflow\nstyles to the content inside the `dialog` slot.",
15220
+ "fieldName": "scrollable"
15221
+ },
15222
+ {
15223
+ "name": "closedby",
15224
+ "type": {
15225
+ "text": "'closerequest' | 'none' | 'any'"
15226
+ },
15227
+ "default": "'closerequest'",
15228
+ "description": "Controls which user actions can close the dialog. Maps to the native `<dialog>` `closedby` attribute.\n\n- `closerequest` (default): The dialog can be dismissed by platform close gestures (Escape key, iOS swipe, etc.).\n The browser's anti-abuse mechanism applies: after one cancelled close request, subsequent cancellations\n require a user activation in between. This ensures the best mobile UX.\n- `none`: The dialog can only be closed by developer-specified mechanisms (buttons, click outside, or programmatic API).\n A manual Escape key listener is added for desktop users, with fully cancellable behavior (no anti-abuse limit).\n Mobile platform close gestures may not work in this mode.\n- `any`: The dialog can also be dismissed by light dismiss (clicking outside). Note that gds-dialog already\n handles click-outside via its own mechanism.",
15229
+ "fieldName": "closedby"
15300
15230
  },
15301
15231
  {
15302
15232
  "name": "gds-element",
@@ -15321,77 +15251,33 @@
15321
15251
  "name": "withSizeYProps",
15322
15252
  "module": "/src/utils/mixins/declarative-layout-mixins"
15323
15253
  },
15324
- {
15325
- "name": "withMarginProps",
15326
- "module": "/src/utils/mixins/declarative-layout-mixins"
15327
- },
15328
15254
  {
15329
15255
  "name": "withPaddingProps",
15330
15256
  "module": "/src/utils/mixins/declarative-layout-mixins"
15331
- },
15332
- {
15333
- "name": "withLayoutChildProps",
15334
- "module": "/src/utils/mixins/declarative-layout-mixins"
15335
- },
15336
- {
15337
- "name": "withPositioningProps",
15338
- "module": "/src/utils/mixins/declarative-layout-mixins"
15339
15257
  }
15340
15258
  ],
15341
15259
  "superclass": {
15342
15260
  "name": "GdsElement",
15343
15261
  "module": "/src/gds-element"
15344
15262
  },
15345
- "tagName": "gds-div",
15346
- "customElement": true,
15347
- "events": [
15348
- {
15349
- "name": "gds-element-disconnected",
15350
- "type": {
15351
- "text": "CustomEvent"
15352
- },
15353
- "description": "When the element is disconnected from the DOM",
15354
- "inheritedFrom": {
15355
- "name": "GdsElement",
15356
- "module": "src/gds-element.ts"
15357
- }
15358
- },
15359
- {
15360
- "name": "name",
15361
- "type": {
15362
- "text": "Event"
15363
- },
15364
- "inheritedFrom": {
15365
- "name": "GdsElement",
15366
- "module": "src/gds-element.ts"
15367
- }
15368
- },
15369
- {
15370
- "type": {
15371
- "text": "Event"
15372
- },
15373
- "inheritedFrom": {
15374
- "name": "GdsElement",
15375
- "module": "src/gds-element.ts"
15376
- }
15377
- }
15378
- ]
15263
+ "tagName": "gds-dialog",
15264
+ "customElement": true
15379
15265
  }
15380
15266
  ],
15381
15267
  "exports": [
15382
15268
  {
15383
15269
  "kind": "js",
15384
- "name": "GdsDiv",
15270
+ "name": "GdsDialog",
15385
15271
  "declaration": {
15386
- "name": "GdsDiv",
15387
- "module": "src/components/div/div.component.ts"
15272
+ "name": "GdsDialog",
15273
+ "module": "src/components/dialog/dialog.component.ts"
15388
15274
  }
15389
15275
  }
15390
15276
  ]
15391
15277
  },
15392
15278
  {
15393
15279
  "kind": "javascript-module",
15394
- "path": "src/components/div/div.stories.ts",
15280
+ "path": "src/components/dialog/dialog.stories.ts",
15395
15281
  "declarations": [
15396
15282
  {
15397
15283
  "kind": "variable",
@@ -15399,8 +15285,8 @@
15399
15285
  "type": {
15400
15286
  "text": "Meta"
15401
15287
  },
15402
- "default": "{ title: 'Components/Div', component: 'gds-div', tags: ['autodocs'], argTypes: { ...argTablePropsFor('gds-div'), }, }",
15403
- "description": "\n`gds-div` is a base element in the declarative layout system.\n\nDiv accepts all available style expression properties, and is also the base class for `gds-flex`, `gds-grid`, `gds-card` and `gds-text`"
15288
+ "default": "{ title: 'Components/Dialog', component: 'gds-dialog', tags: ['autodocs'], argTypes: { ...argTablePropsFor('gds-dialog'), }, parameters: { layout: 'centered', }, }",
15289
+ "description": "A dialog appears in front of content to provide critical information or ask for a decision."
15404
15290
  },
15405
15291
  {
15406
15292
  "kind": "variable",
@@ -15408,34 +15294,62 @@
15408
15294
  "type": {
15409
15295
  "text": "Story"
15410
15296
  },
15411
- "default": "{ ...DefaultParams, args: { background: '01', border: '2xs', 'border-radius': 'm', 'border-color': 'subtle-01', width: '4xl', height: '4xl', }, }"
15297
+ "default": "{ ...DefaultParams, }",
15298
+ "description": "The easiest way to set up a dialog is to put a button in the trigger slot. This will\nautomatically open the dialog when the button is clicked."
15412
15299
  },
15413
15300
  {
15414
15301
  "kind": "variable",
15415
- "name": "Example",
15302
+ "name": "SlideOut",
15416
15303
  "type": {
15417
15304
  "text": "Story"
15418
15305
  },
15419
- "default": "{ ...DefaultParams, render: (args) => html` <!-- This is equivalent to 'gds-flex' --> <gds-div display=\"flex\" gap=\"xl\" justify-content=\"center\" align-items=\"center\" > <!-- Some properties, like 'width' and 'height', accepts either tokens or arbitrary values --> <gds-div width=\"4xl\" height=\"4xl\" background=\"neutral-01\"></gds-div> <!-- All style expressions properties accepts multi-viewport expressions --> <gds-div width=\"4xl; l{ 6xl }\" height=\"4xl; l{ 6xl }\" background=\"neutral-02\" border=\"4xs\" ></gds-div> <!-- Instead of adding 'background' and 'border-radius', take a look at 'gds-card', which provides pre-configured configurations of these properties --> <gds-div width=\"4xl\" height=\"4xl\" background=\"03\" border-radius=\"s\" ></gds-div> </gds-div> `, }",
15420
- "description": "Here is an example of a simple layout structure using `gds-div`:"
15306
+ "default": "{ ...DefaultParams, args: { ...DefaultParams.args, variant: 'slide-out', }, }",
15307
+ "description": "You can set the `variant` attribute to `slide-out` to make the dialog slide in from the right."
15421
15308
  },
15422
15309
  {
15423
15310
  "kind": "variable",
15424
- "name": "CardBorder",
15311
+ "name": "Scrollable",
15425
15312
  "type": {
15426
15313
  "text": "Story"
15427
15314
  },
15428
- "default": "{ ...DefaultParams, name: 'Border Style', render: (args) => html`<gds-grid columns=\"5\" gap=\"4xl\"> <gds-card variant=\"primary\" border-radius=\"0\" border-width=\"2xs 0 0 0\" border-color=\"strong\" > <gds-flex align-items=\"center\" justify-content=\"center\"> Top </gds-flex> </gds-card> <gds-card variant=\"primary\" border-radius=\"0\" border-width=\"0 2xs 0 0\" border-color=\"strong\" > <gds-flex align-items=\"center\" justify-content=\"center\">Right</gds-flex> </gds-card> <gds-card variant=\"primary\" border-radius=\"0\" border-width=\"0 0 2xs 0\" border-color=\"strong\" > <gds-flex align-items=\"center\" justify-content=\"center\"> Bottom </gds-flex> </gds-card> <gds-card variant=\"primary\" border-radius=\"0\" border-width=\"0 0 0 2xs\" border-color=\"strong\" > <gds-flex align-items=\"center\" justify-content=\"center\"> Left </gds-flex> </gds-card> <gds-card variant=\"primary\" border-radius=\"0\" border=\"2xs\" border-color=\"strong\" > <gds-flex align-items=\"center\" justify-content=\"center\"> All </gds-flex> </gds-card> </gds-grid>`, }",
15429
- "description": "Border styling follows the same patterns as CSS and can be controlled using the shorthand properties `border`, `border-width`, `border-style`, `border-color`\n\n- `border-color` defaults to subtle-01\n- `border-width` defaults to 0 (supports all spacing tokens)\n- `border-style` defaults to solid\n\nTo add a 1px primary border around the element:\n\n```html\n<gds-div border=\"4xs\"></gds-div>\n```\n\nTo only add border bottom:\n\n```html\n<gds-div border-width=\"0 0 4xs 0\"></gds-div>\n```\n\nTo add a 1px secodary color border on the bottom:\n\n```html\n<gds-div border-width=\"0 0 4xs 0\" border-color=\"subtle-01\"></gds-div>\n```"
15315
+ "default": "{ ...DefaultParams, args: { ...DefaultParams.args, height: '400px', scrollable: true, }, }",
15316
+ "description": "To enable scroll for overflowing content, you can set the `scrollable` property to `true`.\n\nThis only has an effect of the default content slot."
15430
15317
  },
15431
15318
  {
15432
15319
  "kind": "variable",
15433
- "name": "BorderRadius",
15320
+ "name": "CustomButtons",
15434
15321
  "type": {
15435
15322
  "text": "Story"
15436
15323
  },
15437
- "default": "{ ...DefaultParams, args: { background: 'neutral-02', border: '2xs', 'border-radius': 'm', 'border-color': 'strong', width: '8xl', height: '4xl', }, }",
15438
- "description": "\nValues are mapped directly from our radius tokens to maintain proportional scaling. <br />\nView all available radius tokens and their values in Green Studio:\nhttps://seb.io/studio/radius\n\n\n##### Single value\n```html\n<gds-div border-radius=\"m\">...</gds-div>\n```\n\n##### Multiple corners / (top-left, top-right, bottom-right, bottom-left)\n```html\n<gds-div border-radius=\"s m l xl\">...</gds-div>\n```"
15324
+ "default": "{ ...DefaultParams, render: () => html`<gds-button aria-haspopup=\"dialog\" onclick=\"document.getElementById('my-dialog').show()\" >Open dialog</gds-button > <gds-dialog heading=\"Dialog heading\" id=\"my-dialog\"> This is the content of the dialog. <gds-button slot=\"footer\" onclick=\"document.getElementById('my-dialog').close('custom close')\" >Custom close button</gds-button > </gds-dialog>`, }",
15325
+ "description": "You can also open and close the dialog programmatically by calling the `show()` and `close()` methods.\nIn this case you should add `aria-haspopup=\"dialog\"` to the trigger element. Slotted triggers will get\nthis attribute automatically.\n\nInside the dialog, you can use the `slot=\"footer\"` to add buttons to the footer of the dialog."
15326
+ },
15327
+ {
15328
+ "kind": "variable",
15329
+ "name": "Events",
15330
+ "type": {
15331
+ "text": "Story"
15332
+ },
15333
+ "default": "{ ...DefaultParams, render: () => html`<gds-dialog @gds-close=${console.log} @gds-show=${console.log} @gds-ui-state=${console.log} heading=\"Dialog heading\" id=\"my-dialog-events\" > <gds-button slot=\"trigger\">Open dialog</gds-button> This is the content of the dialog. <gds-button rank=\"secondary\" slot=\"footer\">Custom btn</gds-button> <gds-button slot=\"footer\" onclick=\"document.getElementById('my-dialog-events').close('custom close')\" >Custom btn 2</gds-button > </gds-dialog>`, }",
15334
+ "description": "You can listen to the `gds-show`, `gds-close` and `gds-ui-state` events to know when the dialog is opened or closed.\n\nWhen `close()` or `show()` is called without a parameter, the event will not be emitted. If a parameter is passed, the\nevent will be emitted with the parameter as the event detail. Also when any of the built-in methods are used to open or\nclose the dialog, the event will be emitted with the parameter as the event detail.\n\nAll the emitted events will have a `detail` object with a reason property that can be used to determine the reason for the event.\n\nPossible reasons are:\n- `btn-close`: The dialog was closed by the user clicking the close button.\n- `btn-cancel`: The dialog was closed by the user clicking the default cancel button.\n- `btn-ok`: The dialog was closed by the user clicking the default OK button.\n- `native-close`: The dialog was closed by the user pressing the Escape key.\n- `click-outside`: The dialog was closed by the user clicking outside the dialog.\n- `slotted-trigger`: The dialog was opened by the user clicking the slotted trigger button.\n\nThe reason can also be a custom string supplied when calling the `close()` or `show()` methods.\n\n### Preventing close\nThe `gds-ui-state` event can be cancelled by calling `preventDefault()` on the event to prevent the dialog from closing.\nWhen using built-in triggers (buttons, Escape, click outside, trigger slot), cancelling `gds-ui-state` fully prevents the action.\nWhen calling `close()` or `show()` programmatically, events are dispatched for notification but cancellation does not prevent the state change."
15335
+ },
15336
+ {
15337
+ "kind": "variable",
15338
+ "name": "CustomDialog",
15339
+ "type": {
15340
+ "text": "Story"
15341
+ },
15342
+ "default": "{ ...DefaultParams, render: () => html`<gds-dialog @gds-close=${console.log} @gds-show=${console.log} @gds-ui-state=${console.log} heading=\"Dialog heading\" id=\"my-dialog-events\" > <gds-button slot=\"trigger\">Open dialog</gds-button> This is the content of the dialog. <div slot=\"dialog\"> If you put stuff here, you can customize the entire dialog, including header and footer. </div> </gds-dialog>`, }",
15343
+ "description": "You can customize the dialog completely by putting content in the `dialog` slot.\nThis will replace the default content of the dialog, including the header and footer.\n\nWhen this slot is used, the footer slot will not be rendered, so you need to add a custom footer manually.\n\n**Important:** Make sure to still use the `heading` property, as it is used to give the dialog an accessible name."
15344
+ },
15345
+ {
15346
+ "kind": "variable",
15347
+ "name": "CancelableClose",
15348
+ "type": {
15349
+ "text": "Story"
15350
+ },
15351
+ "default": "{ ...DefaultParams, render: () => html`<gds-dialog heading=\"Terms and conditions\" id=\"my-dialog-cancel\" closedby=\"none\" @gds-ui-state=${(e: Event) => { const detail = (e as CustomEvent).detail // Only gate close attempts, not open if (detail.open) { const checkbox = document .getElementById('my-dialog-cancel') ?.querySelector('#agree-checkbox') as HTMLInputElement | null if (!checkbox?.checked) { e.preventDefault() } } }} > <gds-button slot=\"trigger\">Open dialog</gds-button> <gds-rich-text> <p> You must agree to the terms before closing this dialog. Try pressing Escape, clicking outside, or using the close button — the dialog will stay open until the checkbox is checked. </p> </gds-rich-text> <label style=\"display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; cursor: pointer;\" > <input type=\"checkbox\" id=\"agree-checkbox\" /> I agree to the terms and conditions </label> </gds-dialog>`, }",
15352
+ "description": "You can prevent the dialog from closing by cancelling the `gds-ui-state` event.\n\nIn this example, the dialog contains a checkbox that must be checked before the dialog can be closed.\nAny built-in close trigger (close button, Escape, click outside) is blocked until the condition is met.\n\nNote the use of `closedby=\"none\"` — this disables the browser's native close request handling (including\nthe anti-abuse mechanism that would force-close the dialog on repeated Escape presses). With `closedby=\"none\"`,\nthe component adds its own Escape key listener so desktop users can still close via keyboard, and cancellation\nis always honored. Mobile platform close gestures (e.g. iOS swipe) will not work in this mode."
15439
15353
  }
15440
15354
  ],
15441
15355
  "exports": [
@@ -15444,7 +15358,7 @@
15444
15358
  "name": "default",
15445
15359
  "declaration": {
15446
15360
  "name": "meta",
15447
- "module": "src/components/div/div.stories.ts"
15361
+ "module": "src/components/dialog/dialog.stories.ts"
15448
15362
  }
15449
15363
  },
15450
15364
  {
@@ -15452,43 +15366,67 @@
15452
15366
  "name": "Default",
15453
15367
  "declaration": {
15454
15368
  "name": "Default",
15455
- "module": "src/components/div/div.stories.ts"
15369
+ "module": "src/components/dialog/dialog.stories.ts"
15456
15370
  }
15457
15371
  },
15458
15372
  {
15459
15373
  "kind": "js",
15460
- "name": "Example",
15374
+ "name": "SlideOut",
15461
15375
  "declaration": {
15462
- "name": "Example",
15463
- "module": "src/components/div/div.stories.ts"
15376
+ "name": "SlideOut",
15377
+ "module": "src/components/dialog/dialog.stories.ts"
15464
15378
  }
15465
15379
  },
15466
15380
  {
15467
15381
  "kind": "js",
15468
- "name": "CardBorder",
15382
+ "name": "Scrollable",
15469
15383
  "declaration": {
15470
- "name": "CardBorder",
15471
- "module": "src/components/div/div.stories.ts"
15384
+ "name": "Scrollable",
15385
+ "module": "src/components/dialog/dialog.stories.ts"
15472
15386
  }
15473
15387
  },
15474
15388
  {
15475
15389
  "kind": "js",
15476
- "name": "BorderRadius",
15390
+ "name": "CustomButtons",
15477
15391
  "declaration": {
15478
- "name": "BorderRadius",
15479
- "module": "src/components/div/div.stories.ts"
15392
+ "name": "CustomButtons",
15393
+ "module": "src/components/dialog/dialog.stories.ts"
15394
+ }
15395
+ },
15396
+ {
15397
+ "kind": "js",
15398
+ "name": "Events",
15399
+ "declaration": {
15400
+ "name": "Events",
15401
+ "module": "src/components/dialog/dialog.stories.ts"
15402
+ }
15403
+ },
15404
+ {
15405
+ "kind": "js",
15406
+ "name": "CustomDialog",
15407
+ "declaration": {
15408
+ "name": "CustomDialog",
15409
+ "module": "src/components/dialog/dialog.stories.ts"
15410
+ }
15411
+ },
15412
+ {
15413
+ "kind": "js",
15414
+ "name": "CancelableClose",
15415
+ "declaration": {
15416
+ "name": "CancelableClose",
15417
+ "module": "src/components/dialog/dialog.stories.ts"
15480
15418
  }
15481
15419
  }
15482
15420
  ]
15483
15421
  },
15484
15422
  {
15485
15423
  "kind": "javascript-module",
15486
- "path": "src/components/div/div.styles.ts",
15424
+ "path": "src/components/dialog/dialog.styles.ts",
15487
15425
  "declarations": [
15488
15426
  {
15489
15427
  "kind": "variable",
15490
15428
  "name": "style",
15491
- "default": "css` :host { display: block; box-sizing: border-box; border-style: solid; border-width: 0; border-color: var(--gds-sys-color-border-subtle-01); } `"
15429
+ "default": "css` @layer base, reset, transitional-styles; @layer base { :host { display: contents; --_margin: var(--gds-sys-space-l); } dialog { transition: transform var(--gds-sys-motion-duration-fast) cubic-bezier(var(--gds-sys-motion-easing-ease-out)); background: transparent; padding: 0; border-width: 0; overflow: visible; max-width: calc(100vw - var(--_margin)); max-height: 100vh; display: flex; width: 400px; @starting-style { opacity: 0; transform: translateY(-16px); &::backdrop { opacity: 0; } } &::backdrop { transition: all var(--gds-sys-motion-duration-fast) cubic-bezier(var(--gds-sys-motion-easing-ease-out)); background: rgba(100, 100, 100, 0.4); } } dialog > * { flex-grow: 1; } dialog.default.placement-initial { margin: auto; --_margin: 0px; } dialog.default.placement-top { margin: var(--gds-sys-space-l) auto auto; } dialog.default.placement-bottom { margin: auto auto var(--gds-sys-space-l) auto; } dialog.default.placement-left { margin: auto var(--gds-sys-space-l) auto auto; } dialog.default.placement-right { margin: auto auto auto var(--gds-sys-space-l); } dialog.slide-out { --_in: var(--gds-sys-space-m); --_margin: var(--gds-sys-space-l); height: auto; &.placement-initial, &.placement-right { inset: var(--_in); @media (min-width: 648px) { --_in: var(--gds-sys-space-l); inset: var(--_in) var(--_in) var(--_in) auto; } @starting-style { transform: translateX(var(--gds-sys-space-6xl)); } } &.placement-left { @starting-style { transform: translateX(calc(-1 * var(--gds-sys-space-6xl))); } inset: var(--_in); @media (min-width: 648px) { --_in: var(--gds-sys-space-l); inset: var(--_in) auto var(--_in) var(--_in); } } &.placement-top { @starting-style { transform: translateY(calc(-1 * var(--gds-sys-space-6xl))); } inset: var(--_in) var(--_in) auto var(--_in); } &.placement-bottom { @starting-style { transform: translateY(calc(var(--gds-sys-space-6xl))); } inset: auto var(--_in) var(--_in) var(--_in); } } dialog:focus { outline: none; } .card { flex-direction: column; } slot[name='footer'] > *, slot[name='footer']::slotted(*) { flex: 1; } h2 { margin: 0; padding: 0; font: var(--gds-sys-text-heading-s); margin-block-start: var(--gds-sys-space-4xs); } } `"
15492
15430
  }
15493
15431
  ],
15494
15432
  "exports": [
@@ -15497,29 +15435,29 @@
15497
15435
  "name": "default",
15498
15436
  "declaration": {
15499
15437
  "name": "style",
15500
- "module": "src/components/div/div.styles.ts"
15438
+ "module": "src/components/dialog/dialog.styles.ts"
15501
15439
  }
15502
15440
  }
15503
15441
  ]
15504
15442
  },
15505
15443
  {
15506
15444
  "kind": "javascript-module",
15507
- "path": "src/components/div/div.ts",
15445
+ "path": "src/components/dialog/dialog.ts",
15508
15446
  "declarations": [],
15509
15447
  "exports": [
15510
15448
  {
15511
15449
  "kind": "js",
15512
- "name": "GdsDiv",
15450
+ "name": "GdsDialog",
15513
15451
  "declaration": {
15514
- "name": "GdsDiv",
15515
- "module": "src/components/div/div.ts"
15452
+ "name": "GdsDialog",
15453
+ "module": "src/components/dialog/dialog.ts"
15516
15454
  }
15517
15455
  }
15518
15456
  ]
15519
15457
  },
15520
15458
  {
15521
15459
  "kind": "javascript-module",
15522
- "path": "src/components/div/index.ts",
15460
+ "path": "src/components/dialog/index.ts",
15523
15461
  "declarations": [],
15524
15462
  "exports": [
15525
15463
  {
@@ -15527,7 +15465,69 @@
15527
15465
  "name": "*",
15528
15466
  "declaration": {
15529
15467
  "name": "*",
15530
- "module": "src/components/div/div"
15468
+ "module": "src/components/dialog/dialog"
15469
+ }
15470
+ }
15471
+ ]
15472
+ },
15473
+ {
15474
+ "kind": "javascript-module",
15475
+ "path": "src/components/dialog/scroll-lock.ts",
15476
+ "declarations": [
15477
+ {
15478
+ "kind": "function",
15479
+ "name": "registerGlobalScrollLockStyles"
15480
+ },
15481
+ {
15482
+ "kind": "function",
15483
+ "name": "lockBodyScrolling",
15484
+ "parameters": [
15485
+ {
15486
+ "name": "lockingEl",
15487
+ "type": {
15488
+ "text": "HTMLElement"
15489
+ }
15490
+ }
15491
+ ],
15492
+ "description": "Prevents body scrolling. Keeps track of which elements requested a lock so multiple levels of locking are possible\nwithout premature unlocking."
15493
+ },
15494
+ {
15495
+ "kind": "function",
15496
+ "name": "unlockBodyScrolling",
15497
+ "parameters": [
15498
+ {
15499
+ "name": "lockingEl",
15500
+ "type": {
15501
+ "text": "HTMLElement"
15502
+ }
15503
+ }
15504
+ ],
15505
+ "description": "Unlocks body scrolling. Scrolling will only be unlocked once all elements that requested a lock call this method."
15506
+ }
15507
+ ],
15508
+ "exports": [
15509
+ {
15510
+ "kind": "js",
15511
+ "name": "registerGlobalScrollLockStyles",
15512
+ "declaration": {
15513
+ "name": "registerGlobalScrollLockStyles",
15514
+ "module": "src/components/dialog/scroll-lock.ts"
15515
+ }
15516
+ },
15517
+ {
15518
+ "kind": "js",
15519
+ "name": "lockBodyScrolling",
15520
+ "declaration": {
15521
+ "name": "lockBodyScrolling",
15522
+ "module": "src/components/dialog/scroll-lock.ts"
15523
+ }
15524
+ },
15525
+ {
15526
+ "kind": "js",
15527
+ "name": "unlockBodyScrolling",
15528
+ "declaration": {
15529
+ "name": "unlockBodyScrolling",
15530
+ "module": "src/components/dialog/scroll-lock.ts"
15531
15531
  }
15532
15532
  }
15533
15533
  ]
@@ -28730,7 +28730,7 @@
28730
28730
  {
28731
28731
  "kind": "variable",
28732
28732
  "name": "style",
28733
- "default": "css` @layer tokens, core, a11y, disabled, variants, sizes, sets; @layer tokens { :host { --_gap: var(--gds-sys-space-xs); --_padding-inline: var(--gds-sys-space-m); --_padding-block: var(--gds-sys-space-xs); --_color-bg: transparent; --_color-text: var(--gds-sys-color-content-neutral-01); --_color-border: transparent; --_font-size: 1rem; --_font-weight: 400; --_line-height: 1.25; display: inline-block; isolation: isolate; max-width: 100%; height: 100%; } } @layer core { .button { align-items: center; background-color: var(--_color-bg); border-bottom-width: 2px; border-style: none; border-color: var(--_color-border); border-bottom-style: solid; box-sizing: border-box; color-scheme: dark light; color: var(--_color-text); cursor: pointer; display: inline-flex; font-family: inherit; font-size: var(--_font-size); font-weight: var(--_font-weight); gap: var(--_gap); height: 100%; inline-size: 100%; justify-content: space-between; justify-items: center; line-height: var(--_line-height); outline-color: transparent; outline-offset: -2px; outline-style: solid; outline-width: 2px; padding-block: var(--_padding-block); padding-inline: var(--_padding-inline); position: relative; transition-property: color, border-color; transition: all var(--gds-sys-motion-duration-fastest); &:focus-visible { border-color: transparent; border-radius: 6px; outline-color: currentColor; overflow: visible; } &:hover, &.selected:hover, &:active { background-color: color-mix( in srgb, transparent, var(--gds-sys-color-state-neutral-05) ); --_color-border: var(--gds-sys-color-border-interactive); } &.selected { background-color: color-mix( in srgb, transparent, var(--gds-sys-color-state-neutral-06) ); --_color-border: var(--gds-sys-color-border-strong); } slot:not([name]) { display: inline-block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } } .compact { display: flex; flex-direction: column; --_padding-inline: var(--gds-sys-space-s); --_gap: 1px; font-size: 0.875rem; height: 56px; justify-content: center; & > slot[name] { order: 0; } & > slot:not([name]) { order: 1; } } a { text-decoration: none; } } :disabled { border-color: var(--_color-bg); color: var(--gds-sys-color-content-disabled-01); pointer-events: none; } @layer a11y { @media (prefers-reduced-motion: reduce) { .button { transition: none; } } } `"
28733
+ "default": "css` @layer tokens, core, a11y, disabled, variants, sizes, sets; @layer tokens { :host { --_gap: var(--gds-sys-space-xs); --_padding-inline: var(--gds-sys-space-m); --_padding-block: var(--gds-sys-space-xs); --_color-bg: transparent; --_color-text: var(--gds-sys-color-content-neutral-01); --_color-border: transparent; --_font-size: 1rem; --_font-weight: 400; --_line-height: 1.25; display: inline-block; isolation: isolate; max-width: 100%; height: 100%; } } @layer core { .button { align-items: center; background-color: var(--_color-bg); border-bottom-width: 2px; border-style: none; border-color: var(--_color-border); border-bottom-style: solid; box-sizing: border-box; color-scheme: dark light; color: var(--_color-text); cursor: pointer; display: inline-flex; font-family: inherit; font-size: var(--_font-size); font-weight: var(--_font-weight); gap: var(--_gap); height: 100%; inline-size: 100%; justify-content: space-between; justify-items: center; line-height: var(--_line-height); outline-color: transparent; outline-offset: -2px; outline-style: solid; outline-width: 2px; padding-block: var(--_padding-block); padding-inline: var(--_padding-inline); position: relative; transition-property: color, border-color; transition: all var(--gds-sys-motion-duration-fastest); &:focus-visible { border-color: transparent; border-radius: 6px; outline-color: currentColor; overflow: visible; } &:hover, &.selected:hover, &:active { background-color: color-mix( in srgb, transparent, var(--gds-sys-color-state-neutral-05) ); --_color-border: var(--gds-sys-color-border-interactive); } &.selected { background-color: color-mix( in srgb, transparent, var(--gds-sys-color-state-neutral-06) ); --_color-border: var(--gds-sys-color-border-strong); } slot:not([name]) { display: inline-block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } } .compact { display: flex; flex-direction: column; --_padding-inline: var(--gds-sys-space-s); --_gap: 1px; font-size: 0.875rem; height: 56px; justify-content: center; & > slot[name] { order: 0; } & > slot:not([name]) { order: 1; } @media (max-width: 576px) { font: var(--gds-sys-text-detail-book-xs); --_padding-inline: var(--gds-sys-space-xs); } } a { text-decoration: none; } } :disabled { border-color: var(--_color-bg); color: var(--gds-sys-color-content-disabled-01); pointer-events: none; } @layer a11y { @media (prefers-reduced-motion: reduce) { .button { transition: none; } } } `"
28734
28734
  }
28735
28735
  ],
28736
28736
  "exports": [
@@ -40554,14 +40554,6 @@
40554
40554
  "module": "src/generated/react/formatted-number/index.js"
40555
40555
  }
40556
40556
  },
40557
- {
40558
- "kind": "js",
40559
- "name": "*",
40560
- "declaration": {
40561
- "name": "*",
40562
- "module": "src/generated/react/radio-group/index.js"
40563
- }
40564
- },
40565
40557
  {
40566
40558
  "kind": "js",
40567
40559
  "name": "*",
@@ -43274,6 +43266,14 @@
43274
43266
  "module": "src/generated/react/icons/icon-zoom-out/index.js"
43275
43267
  }
43276
43268
  },
43269
+ {
43270
+ "kind": "js",
43271
+ "name": "*",
43272
+ "declaration": {
43273
+ "name": "*",
43274
+ "module": "src/generated/react/radio-group/index.js"
43275
+ }
43276
+ },
43277
43277
  {
43278
43278
  "kind": "js",
43279
43279
  "name": "*",
@@ -232341,7 +232341,7 @@
232341
232341
  },
232342
232342
  {
232343
232343
  "kind": "javascript-module",
232344
- "path": "src/components/sensitive/account/index.ts",
232344
+ "path": "src/components/sensitive/date/index.ts",
232345
232345
  "declarations": [],
232346
232346
  "exports": [
232347
232347
  {
@@ -232349,19 +232349,19 @@
232349
232349
  "name": "*",
232350
232350
  "declaration": {
232351
232351
  "name": "*",
232352
- "module": "src/components/sensitive/account/sensitive-account"
232352
+ "module": "src/components/sensitive/date/sensitive-date"
232353
232353
  }
232354
232354
  }
232355
232355
  ]
232356
232356
  },
232357
232357
  {
232358
232358
  "kind": "javascript-module",
232359
- "path": "src/components/sensitive/account/sensitive-account.component.ts",
232359
+ "path": "src/components/sensitive/date/sensitive-date.component.ts",
232360
232360
  "declarations": [
232361
232361
  {
232362
232362
  "kind": "class",
232363
232363
  "description": "",
232364
- "name": "GdsSensitiveAccount",
232364
+ "name": "GdsSensitiveDate",
232365
232365
  "members": [
232366
232366
  {
232367
232367
  "kind": "field",
@@ -232370,20 +232370,46 @@
232370
232370
  "text": "boolean"
232371
232371
  },
232372
232372
  "default": "false",
232373
- "description": "When true, hides the sensitive account.",
232373
+ "description": "When true, hides the sensitive date.",
232374
232374
  "attribute": "hide"
232375
232375
  },
232376
232376
  {
232377
232377
  "kind": "field",
232378
- "name": "account",
232378
+ "name": "value",
232379
232379
  "type": {
232380
- "text": "number | string | undefined"
232380
+ "text": "Date | string | undefined"
232381
232381
  },
232382
- "description": "The account number or identifier to display.\nFor format 'seb-account', it needs to be 11 characters.",
232383
- "attribute": "account",
232382
+ "description": "The date value to be formatted, either Date or ISO string.",
232384
232383
  "inheritedFrom": {
232385
- "name": "GdsFormattedAccount",
232386
- "module": "src/components/formatted-text/account/formatted-account.component.ts"
232384
+ "name": "GdsFormattedDate",
232385
+ "module": "src/components/formatted-text/date/formatted-date.component.ts"
232386
+ }
232387
+ },
232388
+ {
232389
+ "kind": "field",
232390
+ "name": "format",
232391
+ "type": {
232392
+ "text": "DateTimeFormat"
232393
+ },
232394
+ "default": "'dateOnlyNumbers'",
232395
+ "description": "Specifies the date format.",
232396
+ "attribute": "format",
232397
+ "inheritedFrom": {
232398
+ "name": "GdsFormattedDate",
232399
+ "module": "src/components/formatted-text/date/formatted-date.component.ts"
232400
+ }
232401
+ },
232402
+ {
232403
+ "kind": "field",
232404
+ "name": "locale",
232405
+ "type": {
232406
+ "text": "string | undefined"
232407
+ },
232408
+ "description": "The locale used for date formatting.",
232409
+ "attribute": "locale",
232410
+ "inheritedFrom": {
232411
+ "name": "GdsFormattedDate",
232412
+ "module": "src/components/formatted-text/date/formatted-date.component.ts"
232387
232413
  }
232388
232414
  },
232389
232415
  {
@@ -233373,32 +233399,32 @@
233373
233399
  "text": "boolean"
233374
233400
  },
233375
233401
  "default": "false",
233376
- "description": "When true, hides the sensitive account.",
233402
+ "description": "When true, hides the sensitive date.",
233377
233403
  "fieldName": "hide"
233378
233404
  },
233379
233405
  {
233380
- "name": "account",
233406
+ "name": "format",
233381
233407
  "type": {
233382
- "text": "number | string | undefined"
233408
+ "text": "DateTimeFormat"
233383
233409
  },
233384
- "description": "The account number or identifier to display.\nFor format 'seb-account', it needs to be 11 characters.",
233385
- "fieldName": "account",
233410
+ "default": "'dateOnlyNumbers'",
233411
+ "description": "Specifies the date format.",
233412
+ "fieldName": "format",
233386
233413
  "inheritedFrom": {
233387
- "name": "GdsFormattedAccount",
233388
- "module": "src/components/formatted-text/account/formatted-account.component.ts"
233414
+ "name": "GdsFormattedDate",
233415
+ "module": "src/components/formatted-text/date/formatted-date.component.ts"
233389
233416
  }
233390
233417
  },
233391
233418
  {
233392
- "name": "format",
233419
+ "name": "locale",
233393
233420
  "type": {
233394
- "text": "AccountFormats"
233421
+ "text": "string | undefined"
233395
233422
  },
233396
- "default": "'seb-account'",
233397
- "description": "Specifies the account format.",
233398
- "fieldName": "format",
233423
+ "description": "The locale used for date formatting.",
233424
+ "fieldName": "locale",
233399
233425
  "inheritedFrom": {
233400
- "name": "GdsFormattedAccount",
233401
- "module": "src/components/formatted-text/account/formatted-account.component.ts"
233426
+ "name": "GdsFormattedDate",
233427
+ "module": "src/components/formatted-text/date/formatted-date.component.ts"
233402
233428
  }
233403
233429
  },
233404
233430
  {
@@ -233442,10 +233468,10 @@
233442
233468
  }
233443
233469
  ],
233444
233470
  "superclass": {
233445
- "name": "GdsFormattedAccount",
233446
- "module": "/src/components/formatted-text/account/formatted-account.component"
233471
+ "name": "GdsFormattedDate",
233472
+ "module": "/src/components/formatted-text/date/formatted-date.component"
233447
233473
  },
233448
- "tagName": "gds-sensitive-account",
233474
+ "tagName": "gds-sensitive-date",
233449
233475
  "customElement": true,
233450
233476
  "events": [
233451
233477
  {
@@ -233484,17 +233510,17 @@
233484
233510
  "exports": [
233485
233511
  {
233486
233512
  "kind": "js",
233487
- "name": "GdsSensitiveAccount",
233513
+ "name": "GdsSensitiveDate",
233488
233514
  "declaration": {
233489
- "name": "GdsSensitiveAccount",
233490
- "module": "src/components/sensitive/account/sensitive-account.component.ts"
233515
+ "name": "GdsSensitiveDate",
233516
+ "module": "src/components/sensitive/date/sensitive-date.component.ts"
233491
233517
  }
233492
233518
  }
233493
233519
  ]
233494
233520
  },
233495
233521
  {
233496
233522
  "kind": "javascript-module",
233497
- "path": "src/components/sensitive/account/sensitive-account.stories.ts",
233523
+ "path": "src/components/sensitive/date/sensitive-date.stories.ts",
233498
233524
  "declarations": [
233499
233525
  {
233500
233526
  "kind": "variable",
@@ -233502,8 +233528,8 @@
233502
233528
  "type": {
233503
233529
  "text": "Meta"
233504
233530
  },
233505
- "default": "{ title: 'Components/Sensitive/Account', component: 'gds-sensitive-account', tags: ['autodocs'], argTypes: { ...argTablePropsFor('gds-sensitive-account'), format: { control: { type: 'select' }, options: Object.keys(accountsFormats), }, }, }",
233506
- "description": "[Source code](https://github.com/seb-oss/green/tree/main/libs/core/src/components/sensitive/account)\n\nGdsSensitiveAccount displays a formatted account and optionally hides it using a blur effect\nwhen the 'hide' property is set to true."
233531
+ "default": "{ title: 'Components/Sensitive/Date', component: 'gds-sensitive-date', tags: ['autodocs'], argTypes: { ...argTablePropsFor('gds-sensitive-date'), format: { control: { type: 'select' }, options: Object.keys(dateTimeFormats), }, }, }",
233532
+ "description": "[Source code](https://github.com/seb-oss/green/tree/main/libs/core/src/components/sensitive/date)\n\nGdsSensitiveDate displays a formatted date and optionally hides it using a blur effect\nwhen the 'hide' property is set to true."
233507
233533
  },
233508
233534
  {
233509
233535
  "kind": "variable",
@@ -233511,7 +233537,7 @@
233511
233537
  "type": {
233512
233538
  "text": "Story"
233513
233539
  },
233514
- "default": "{ ...DefaultParams, render: (args) => html`<gds-sensitive-account .hide=${args.hide} .account=${args.account} ></gds-sensitive-account>`, }"
233540
+ "default": "{ ...DefaultParams, render: (args) => html`<gds-sensitive-date .hide=${args.hide} .value=${args.value} .locale=${args.locale} .format=${args.format} ></gds-sensitive-date>`, }"
233515
233541
  }
233516
233542
  ],
233517
233543
  "exports": [
@@ -233520,7 +233546,7 @@
233520
233546
  "name": "default",
233521
233547
  "declaration": {
233522
233548
  "name": "meta",
233523
- "module": "src/components/sensitive/account/sensitive-account.stories.ts"
233549
+ "module": "src/components/sensitive/date/sensitive-date.stories.ts"
233524
233550
  }
233525
233551
  },
233526
233552
  {
@@ -233528,29 +233554,29 @@
233528
233554
  "name": "Default",
233529
233555
  "declaration": {
233530
233556
  "name": "Default",
233531
- "module": "src/components/sensitive/account/sensitive-account.stories.ts"
233557
+ "module": "src/components/sensitive/date/sensitive-date.stories.ts"
233532
233558
  }
233533
233559
  }
233534
233560
  ]
233535
233561
  },
233536
233562
  {
233537
233563
  "kind": "javascript-module",
233538
- "path": "src/components/sensitive/account/sensitive-account.ts",
233564
+ "path": "src/components/sensitive/date/sensitive-date.ts",
233539
233565
  "declarations": [],
233540
233566
  "exports": [
233541
233567
  {
233542
233568
  "kind": "js",
233543
- "name": "GdsSensitiveAccount",
233569
+ "name": "GdsSensitiveDate",
233544
233570
  "declaration": {
233545
- "name": "GdsSensitiveAccount",
233546
- "module": "src/components/sensitive/account/sensitive-account.ts"
233571
+ "name": "GdsSensitiveDate",
233572
+ "module": "src/components/sensitive/date/sensitive-date.ts"
233547
233573
  }
233548
233574
  }
233549
233575
  ]
233550
233576
  },
233551
233577
  {
233552
233578
  "kind": "javascript-module",
233553
- "path": "src/components/sensitive/date/index.ts",
233579
+ "path": "src/components/sensitive/account/index.ts",
233554
233580
  "declarations": [],
233555
233581
  "exports": [
233556
233582
  {
@@ -233558,19 +233584,19 @@
233558
233584
  "name": "*",
233559
233585
  "declaration": {
233560
233586
  "name": "*",
233561
- "module": "src/components/sensitive/date/sensitive-date"
233587
+ "module": "src/components/sensitive/account/sensitive-account"
233562
233588
  }
233563
233589
  }
233564
233590
  ]
233565
233591
  },
233566
233592
  {
233567
233593
  "kind": "javascript-module",
233568
- "path": "src/components/sensitive/date/sensitive-date.component.ts",
233594
+ "path": "src/components/sensitive/account/sensitive-account.component.ts",
233569
233595
  "declarations": [
233570
233596
  {
233571
233597
  "kind": "class",
233572
233598
  "description": "",
233573
- "name": "GdsSensitiveDate",
233599
+ "name": "GdsSensitiveAccount",
233574
233600
  "members": [
233575
233601
  {
233576
233602
  "kind": "field",
@@ -233579,46 +233605,20 @@
233579
233605
  "text": "boolean"
233580
233606
  },
233581
233607
  "default": "false",
233582
- "description": "When true, hides the sensitive date.",
233608
+ "description": "When true, hides the sensitive account.",
233583
233609
  "attribute": "hide"
233584
233610
  },
233585
233611
  {
233586
233612
  "kind": "field",
233587
- "name": "value",
233588
- "type": {
233589
- "text": "Date | string | undefined"
233590
- },
233591
- "description": "The date value to be formatted, either Date or ISO string.",
233592
- "inheritedFrom": {
233593
- "name": "GdsFormattedDate",
233594
- "module": "src/components/formatted-text/date/formatted-date.component.ts"
233595
- }
233596
- },
233597
- {
233598
- "kind": "field",
233599
- "name": "format",
233600
- "type": {
233601
- "text": "DateTimeFormat"
233602
- },
233603
- "default": "'dateOnlyNumbers'",
233604
- "description": "Specifies the date format.",
233605
- "attribute": "format",
233606
- "inheritedFrom": {
233607
- "name": "GdsFormattedDate",
233608
- "module": "src/components/formatted-text/date/formatted-date.component.ts"
233609
- }
233610
- },
233611
- {
233612
- "kind": "field",
233613
- "name": "locale",
233613
+ "name": "account",
233614
233614
  "type": {
233615
- "text": "string | undefined"
233615
+ "text": "number | string | undefined"
233616
233616
  },
233617
- "description": "The locale used for date formatting.",
233618
- "attribute": "locale",
233617
+ "description": "The account number or identifier to display.\nFor format 'seb-account', it needs to be 11 characters.",
233618
+ "attribute": "account",
233619
233619
  "inheritedFrom": {
233620
- "name": "GdsFormattedDate",
233621
- "module": "src/components/formatted-text/date/formatted-date.component.ts"
233620
+ "name": "GdsFormattedAccount",
233621
+ "module": "src/components/formatted-text/account/formatted-account.component.ts"
233622
233622
  }
233623
233623
  },
233624
233624
  {
@@ -234608,32 +234608,32 @@
234608
234608
  "text": "boolean"
234609
234609
  },
234610
234610
  "default": "false",
234611
- "description": "When true, hides the sensitive date.",
234611
+ "description": "When true, hides the sensitive account.",
234612
234612
  "fieldName": "hide"
234613
234613
  },
234614
234614
  {
234615
- "name": "format",
234615
+ "name": "account",
234616
234616
  "type": {
234617
- "text": "DateTimeFormat"
234617
+ "text": "number | string | undefined"
234618
234618
  },
234619
- "default": "'dateOnlyNumbers'",
234620
- "description": "Specifies the date format.",
234621
- "fieldName": "format",
234619
+ "description": "The account number or identifier to display.\nFor format 'seb-account', it needs to be 11 characters.",
234620
+ "fieldName": "account",
234622
234621
  "inheritedFrom": {
234623
- "name": "GdsFormattedDate",
234624
- "module": "src/components/formatted-text/date/formatted-date.component.ts"
234622
+ "name": "GdsFormattedAccount",
234623
+ "module": "src/components/formatted-text/account/formatted-account.component.ts"
234625
234624
  }
234626
234625
  },
234627
234626
  {
234628
- "name": "locale",
234627
+ "name": "format",
234629
234628
  "type": {
234630
- "text": "string | undefined"
234629
+ "text": "AccountFormats"
234631
234630
  },
234632
- "description": "The locale used for date formatting.",
234633
- "fieldName": "locale",
234631
+ "default": "'seb-account'",
234632
+ "description": "Specifies the account format.",
234633
+ "fieldName": "format",
234634
234634
  "inheritedFrom": {
234635
- "name": "GdsFormattedDate",
234636
- "module": "src/components/formatted-text/date/formatted-date.component.ts"
234635
+ "name": "GdsFormattedAccount",
234636
+ "module": "src/components/formatted-text/account/formatted-account.component.ts"
234637
234637
  }
234638
234638
  },
234639
234639
  {
@@ -234677,10 +234677,10 @@
234677
234677
  }
234678
234678
  ],
234679
234679
  "superclass": {
234680
- "name": "GdsFormattedDate",
234681
- "module": "/src/components/formatted-text/date/formatted-date.component"
234680
+ "name": "GdsFormattedAccount",
234681
+ "module": "/src/components/formatted-text/account/formatted-account.component"
234682
234682
  },
234683
- "tagName": "gds-sensitive-date",
234683
+ "tagName": "gds-sensitive-account",
234684
234684
  "customElement": true,
234685
234685
  "events": [
234686
234686
  {
@@ -234719,17 +234719,17 @@
234719
234719
  "exports": [
234720
234720
  {
234721
234721
  "kind": "js",
234722
- "name": "GdsSensitiveDate",
234722
+ "name": "GdsSensitiveAccount",
234723
234723
  "declaration": {
234724
- "name": "GdsSensitiveDate",
234725
- "module": "src/components/sensitive/date/sensitive-date.component.ts"
234724
+ "name": "GdsSensitiveAccount",
234725
+ "module": "src/components/sensitive/account/sensitive-account.component.ts"
234726
234726
  }
234727
234727
  }
234728
234728
  ]
234729
234729
  },
234730
234730
  {
234731
234731
  "kind": "javascript-module",
234732
- "path": "src/components/sensitive/date/sensitive-date.stories.ts",
234732
+ "path": "src/components/sensitive/account/sensitive-account.stories.ts",
234733
234733
  "declarations": [
234734
234734
  {
234735
234735
  "kind": "variable",
@@ -234737,8 +234737,8 @@
234737
234737
  "type": {
234738
234738
  "text": "Meta"
234739
234739
  },
234740
- "default": "{ title: 'Components/Sensitive/Date', component: 'gds-sensitive-date', tags: ['autodocs'], argTypes: { ...argTablePropsFor('gds-sensitive-date'), format: { control: { type: 'select' }, options: Object.keys(dateTimeFormats), }, }, }",
234741
- "description": "[Source code](https://github.com/seb-oss/green/tree/main/libs/core/src/components/sensitive/date)\n\nGdsSensitiveDate displays a formatted date and optionally hides it using a blur effect\nwhen the 'hide' property is set to true."
234740
+ "default": "{ title: 'Components/Sensitive/Account', component: 'gds-sensitive-account', tags: ['autodocs'], argTypes: { ...argTablePropsFor('gds-sensitive-account'), format: { control: { type: 'select' }, options: Object.keys(accountsFormats), }, }, }",
234741
+ "description": "[Source code](https://github.com/seb-oss/green/tree/main/libs/core/src/components/sensitive/account)\n\nGdsSensitiveAccount displays a formatted account and optionally hides it using a blur effect\nwhen the 'hide' property is set to true."
234742
234742
  },
234743
234743
  {
234744
234744
  "kind": "variable",
@@ -234746,7 +234746,7 @@
234746
234746
  "type": {
234747
234747
  "text": "Story"
234748
234748
  },
234749
- "default": "{ ...DefaultParams, render: (args) => html`<gds-sensitive-date .hide=${args.hide} .value=${args.value} .locale=${args.locale} .format=${args.format} ></gds-sensitive-date>`, }"
234749
+ "default": "{ ...DefaultParams, render: (args) => html`<gds-sensitive-account .hide=${args.hide} .account=${args.account} ></gds-sensitive-account>`, }"
234750
234750
  }
234751
234751
  ],
234752
234752
  "exports": [
@@ -234755,7 +234755,7 @@
234755
234755
  "name": "default",
234756
234756
  "declaration": {
234757
234757
  "name": "meta",
234758
- "module": "src/components/sensitive/date/sensitive-date.stories.ts"
234758
+ "module": "src/components/sensitive/account/sensitive-account.stories.ts"
234759
234759
  }
234760
234760
  },
234761
234761
  {
@@ -234763,22 +234763,22 @@
234763
234763
  "name": "Default",
234764
234764
  "declaration": {
234765
234765
  "name": "Default",
234766
- "module": "src/components/sensitive/date/sensitive-date.stories.ts"
234766
+ "module": "src/components/sensitive/account/sensitive-account.stories.ts"
234767
234767
  }
234768
234768
  }
234769
234769
  ]
234770
234770
  },
234771
234771
  {
234772
234772
  "kind": "javascript-module",
234773
- "path": "src/components/sensitive/date/sensitive-date.ts",
234773
+ "path": "src/components/sensitive/account/sensitive-account.ts",
234774
234774
  "declarations": [],
234775
234775
  "exports": [
234776
234776
  {
234777
234777
  "kind": "js",
234778
- "name": "GdsSensitiveDate",
234778
+ "name": "GdsSensitiveAccount",
234779
234779
  "declaration": {
234780
- "name": "GdsSensitiveDate",
234781
- "module": "src/components/sensitive/date/sensitive-date.ts"
234780
+ "name": "GdsSensitiveAccount",
234781
+ "module": "src/components/sensitive/account/sensitive-account.ts"
234782
234782
  }
234783
234783
  }
234784
234784
  ]
@@ -238570,16 +238570,16 @@
238570
238570
  },
238571
238571
  {
238572
238572
  "kind": "javascript-module",
238573
- "path": "src/generated/react/icons/icon-at/index.ts",
238573
+ "path": "src/generated/react/icons/icon-asterisk/index.ts",
238574
238574
  "declarations": [
238575
238575
  {
238576
238576
  "kind": "function",
238577
- "name": "IconAt",
238577
+ "name": "IconAsterisk",
238578
238578
  "parameters": [
238579
238579
  {
238580
238580
  "name": "props",
238581
238581
  "type": {
238582
- "text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconAtClass>>\n > & { ref?: React.Ref<IconAtClass> }"
238582
+ "text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconAsteriskClass>>\n > & { ref?: React.Ref<IconAsteriskClass> }"
238583
238583
  }
238584
238584
  }
238585
238585
  ]
@@ -238588,26 +238588,26 @@
238588
238588
  "exports": [
238589
238589
  {
238590
238590
  "kind": "js",
238591
- "name": "IconAt",
238591
+ "name": "IconAsterisk",
238592
238592
  "declaration": {
238593
- "name": "IconAt",
238594
- "module": "src/generated/react/icons/icon-at/index.ts"
238593
+ "name": "IconAsterisk",
238594
+ "module": "src/generated/react/icons/icon-asterisk/index.ts"
238595
238595
  }
238596
238596
  }
238597
238597
  ]
238598
238598
  },
238599
238599
  {
238600
238600
  "kind": "javascript-module",
238601
- "path": "src/generated/react/icons/icon-asterisk/index.ts",
238601
+ "path": "src/generated/react/icons/icon-at/index.ts",
238602
238602
  "declarations": [
238603
238603
  {
238604
238604
  "kind": "function",
238605
- "name": "IconAsterisk",
238605
+ "name": "IconAt",
238606
238606
  "parameters": [
238607
238607
  {
238608
238608
  "name": "props",
238609
238609
  "type": {
238610
- "text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconAsteriskClass>>\n > & { ref?: React.Ref<IconAsteriskClass> }"
238610
+ "text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconAtClass>>\n > & { ref?: React.Ref<IconAtClass> }"
238611
238611
  }
238612
238612
  }
238613
238613
  ]
@@ -238616,10 +238616,10 @@
238616
238616
  "exports": [
238617
238617
  {
238618
238618
  "kind": "js",
238619
- "name": "IconAsterisk",
238619
+ "name": "IconAt",
238620
238620
  "declaration": {
238621
- "name": "IconAsterisk",
238622
- "module": "src/generated/react/icons/icon-asterisk/index.ts"
238621
+ "name": "IconAt",
238622
+ "module": "src/generated/react/icons/icon-at/index.ts"
238623
238623
  }
238624
238624
  }
238625
238625
  ]
@@ -239466,16 +239466,16 @@
239466
239466
  },
239467
239467
  {
239468
239468
  "kind": "javascript-module",
239469
- "path": "src/generated/react/icons/icon-brand-linkedin/index.ts",
239469
+ "path": "src/generated/react/icons/icon-brand-play-store/index.ts",
239470
239470
  "declarations": [
239471
239471
  {
239472
239472
  "kind": "function",
239473
- "name": "IconBrandLinkedin",
239473
+ "name": "IconBrandPlayStore",
239474
239474
  "parameters": [
239475
239475
  {
239476
239476
  "name": "props",
239477
239477
  "type": {
239478
- "text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconBrandLinkedinClass>>\n > & { ref?: React.Ref<IconBrandLinkedinClass> }"
239478
+ "text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconBrandPlayStoreClass>>\n > & { ref?: React.Ref<IconBrandPlayStoreClass> }"
239479
239479
  }
239480
239480
  }
239481
239481
  ]
@@ -239484,26 +239484,26 @@
239484
239484
  "exports": [
239485
239485
  {
239486
239486
  "kind": "js",
239487
- "name": "IconBrandLinkedin",
239487
+ "name": "IconBrandPlayStore",
239488
239488
  "declaration": {
239489
- "name": "IconBrandLinkedin",
239490
- "module": "src/generated/react/icons/icon-brand-linkedin/index.ts"
239489
+ "name": "IconBrandPlayStore",
239490
+ "module": "src/generated/react/icons/icon-brand-play-store/index.ts"
239491
239491
  }
239492
239492
  }
239493
239493
  ]
239494
239494
  },
239495
239495
  {
239496
239496
  "kind": "javascript-module",
239497
- "path": "src/generated/react/icons/icon-brand-play-store/index.ts",
239497
+ "path": "src/generated/react/icons/icon-brand-linkedin/index.ts",
239498
239498
  "declarations": [
239499
239499
  {
239500
239500
  "kind": "function",
239501
- "name": "IconBrandPlayStore",
239501
+ "name": "IconBrandLinkedin",
239502
239502
  "parameters": [
239503
239503
  {
239504
239504
  "name": "props",
239505
239505
  "type": {
239506
- "text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconBrandPlayStoreClass>>\n > & { ref?: React.Ref<IconBrandPlayStoreClass> }"
239506
+ "text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconBrandLinkedinClass>>\n > & { ref?: React.Ref<IconBrandLinkedinClass> }"
239507
239507
  }
239508
239508
  }
239509
239509
  ]
@@ -239512,10 +239512,10 @@
239512
239512
  "exports": [
239513
239513
  {
239514
239514
  "kind": "js",
239515
- "name": "IconBrandPlayStore",
239515
+ "name": "IconBrandLinkedin",
239516
239516
  "declaration": {
239517
- "name": "IconBrandPlayStore",
239518
- "module": "src/generated/react/icons/icon-brand-play-store/index.ts"
239517
+ "name": "IconBrandLinkedin",
239518
+ "module": "src/generated/react/icons/icon-brand-linkedin/index.ts"
239519
239519
  }
239520
239520
  }
239521
239521
  ]
@@ -241202,16 +241202,16 @@
241202
241202
  },
241203
241203
  {
241204
241204
  "kind": "javascript-module",
241205
- "path": "src/generated/react/icons/icon-code/index.ts",
241205
+ "path": "src/generated/react/icons/icon-code-brackets/index.ts",
241206
241206
  "declarations": [
241207
241207
  {
241208
241208
  "kind": "function",
241209
- "name": "IconCode",
241209
+ "name": "IconCodeBrackets",
241210
241210
  "parameters": [
241211
241211
  {
241212
241212
  "name": "props",
241213
241213
  "type": {
241214
- "text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconCodeClass>>\n > & { ref?: React.Ref<IconCodeClass> }"
241214
+ "text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconCodeBracketsClass>>\n > & { ref?: React.Ref<IconCodeBracketsClass> }"
241215
241215
  }
241216
241216
  }
241217
241217
  ]
@@ -241220,26 +241220,26 @@
241220
241220
  "exports": [
241221
241221
  {
241222
241222
  "kind": "js",
241223
- "name": "IconCode",
241223
+ "name": "IconCodeBrackets",
241224
241224
  "declaration": {
241225
- "name": "IconCode",
241226
- "module": "src/generated/react/icons/icon-code/index.ts"
241225
+ "name": "IconCodeBrackets",
241226
+ "module": "src/generated/react/icons/icon-code-brackets/index.ts"
241227
241227
  }
241228
241228
  }
241229
241229
  ]
241230
241230
  },
241231
241231
  {
241232
241232
  "kind": "javascript-module",
241233
- "path": "src/generated/react/icons/icon-code-brackets/index.ts",
241233
+ "path": "src/generated/react/icons/icon-code/index.ts",
241234
241234
  "declarations": [
241235
241235
  {
241236
241236
  "kind": "function",
241237
- "name": "IconCodeBrackets",
241237
+ "name": "IconCode",
241238
241238
  "parameters": [
241239
241239
  {
241240
241240
  "name": "props",
241241
241241
  "type": {
241242
- "text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconCodeBracketsClass>>\n > & { ref?: React.Ref<IconCodeBracketsClass> }"
241242
+ "text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconCodeClass>>\n > & { ref?: React.Ref<IconCodeClass> }"
241243
241243
  }
241244
241244
  }
241245
241245
  ]
@@ -241248,10 +241248,10 @@
241248
241248
  "exports": [
241249
241249
  {
241250
241250
  "kind": "js",
241251
- "name": "IconCodeBrackets",
241251
+ "name": "IconCode",
241252
241252
  "declaration": {
241253
- "name": "IconCodeBrackets",
241254
- "module": "src/generated/react/icons/icon-code-brackets/index.ts"
241253
+ "name": "IconCode",
241254
+ "module": "src/generated/react/icons/icon-code/index.ts"
241255
241255
  }
241256
241256
  }
241257
241257
  ]
@@ -243246,16 +243246,16 @@
243246
243246
  },
243247
243247
  {
243248
243248
  "kind": "javascript-module",
243249
- "path": "src/generated/react/icons/icon-lightning/index.ts",
243249
+ "path": "src/generated/react/icons/icon-line-chart-four/index.ts",
243250
243250
  "declarations": [
243251
243251
  {
243252
243252
  "kind": "function",
243253
- "name": "IconLightning",
243253
+ "name": "IconLineChartFour",
243254
243254
  "parameters": [
243255
243255
  {
243256
243256
  "name": "props",
243257
243257
  "type": {
243258
- "text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconLightningClass>>\n > & { ref?: React.Ref<IconLightningClass> }"
243258
+ "text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconLineChartFourClass>>\n > & { ref?: React.Ref<IconLineChartFourClass> }"
243259
243259
  }
243260
243260
  }
243261
243261
  ]
@@ -243264,26 +243264,26 @@
243264
243264
  "exports": [
243265
243265
  {
243266
243266
  "kind": "js",
243267
- "name": "IconLightning",
243267
+ "name": "IconLineChartFour",
243268
243268
  "declaration": {
243269
- "name": "IconLightning",
243270
- "module": "src/generated/react/icons/icon-lightning/index.ts"
243269
+ "name": "IconLineChartFour",
243270
+ "module": "src/generated/react/icons/icon-line-chart-four/index.ts"
243271
243271
  }
243272
243272
  }
243273
243273
  ]
243274
243274
  },
243275
243275
  {
243276
243276
  "kind": "javascript-module",
243277
- "path": "src/generated/react/icons/icon-line-chart-four/index.ts",
243277
+ "path": "src/generated/react/icons/icon-lightning/index.ts",
243278
243278
  "declarations": [
243279
243279
  {
243280
243280
  "kind": "function",
243281
- "name": "IconLineChartFour",
243281
+ "name": "IconLightning",
243282
243282
  "parameters": [
243283
243283
  {
243284
243284
  "name": "props",
243285
243285
  "type": {
243286
- "text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconLineChartFourClass>>\n > & { ref?: React.Ref<IconLineChartFourClass> }"
243286
+ "text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconLightningClass>>\n > & { ref?: React.Ref<IconLightningClass> }"
243287
243287
  }
243288
243288
  }
243289
243289
  ]
@@ -243292,10 +243292,10 @@
243292
243292
  "exports": [
243293
243293
  {
243294
243294
  "kind": "js",
243295
- "name": "IconLineChartFour",
243295
+ "name": "IconLightning",
243296
243296
  "declaration": {
243297
- "name": "IconLineChartFour",
243298
- "module": "src/generated/react/icons/icon-line-chart-four/index.ts"
243297
+ "name": "IconLightning",
243298
+ "module": "src/generated/react/icons/icon-lightning/index.ts"
243299
243299
  }
243300
243300
  }
243301
243301
  ]
@@ -244030,16 +244030,16 @@
244030
244030
  },
244031
244031
  {
244032
244032
  "kind": "javascript-module",
244033
- "path": "src/generated/react/icons/icon-pencel-line/index.ts",
244033
+ "path": "src/generated/react/icons/icon-pdf/index.ts",
244034
244034
  "declarations": [
244035
244035
  {
244036
244036
  "kind": "function",
244037
- "name": "IconPencelLine",
244037
+ "name": "IconPdf",
244038
244038
  "parameters": [
244039
244039
  {
244040
244040
  "name": "props",
244041
244041
  "type": {
244042
- "text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconPencelLineClass>>\n > & { ref?: React.Ref<IconPencelLineClass> }"
244042
+ "text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconPdfClass>>\n > & { ref?: React.Ref<IconPdfClass> }"
244043
244043
  }
244044
244044
  }
244045
244045
  ]
@@ -244048,26 +244048,26 @@
244048
244048
  "exports": [
244049
244049
  {
244050
244050
  "kind": "js",
244051
- "name": "IconPencelLine",
244051
+ "name": "IconPdf",
244052
244052
  "declaration": {
244053
- "name": "IconPencelLine",
244054
- "module": "src/generated/react/icons/icon-pencel-line/index.ts"
244053
+ "name": "IconPdf",
244054
+ "module": "src/generated/react/icons/icon-pdf/index.ts"
244055
244055
  }
244056
244056
  }
244057
244057
  ]
244058
244058
  },
244059
244059
  {
244060
244060
  "kind": "javascript-module",
244061
- "path": "src/generated/react/icons/icon-pdf/index.ts",
244061
+ "path": "src/generated/react/icons/icon-pencel-line/index.ts",
244062
244062
  "declarations": [
244063
244063
  {
244064
244064
  "kind": "function",
244065
- "name": "IconPdf",
244065
+ "name": "IconPencelLine",
244066
244066
  "parameters": [
244067
244067
  {
244068
244068
  "name": "props",
244069
244069
  "type": {
244070
- "text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconPdfClass>>\n > & { ref?: React.Ref<IconPdfClass> }"
244070
+ "text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconPencelLineClass>>\n > & { ref?: React.Ref<IconPencelLineClass> }"
244071
244071
  }
244072
244072
  }
244073
244073
  ]
@@ -244076,10 +244076,10 @@
244076
244076
  "exports": [
244077
244077
  {
244078
244078
  "kind": "js",
244079
- "name": "IconPdf",
244079
+ "name": "IconPencelLine",
244080
244080
  "declaration": {
244081
- "name": "IconPdf",
244082
- "module": "src/generated/react/icons/icon-pdf/index.ts"
244081
+ "name": "IconPencelLine",
244082
+ "module": "src/generated/react/icons/icon-pencel-line/index.ts"
244083
244083
  }
244084
244084
  }
244085
244085
  ]
@@ -246550,16 +246550,16 @@
246550
246550
  },
246551
246551
  {
246552
246552
  "kind": "javascript-module",
246553
- "path": "src/generated/react/icons/icon-todos/index.ts",
246553
+ "path": "src/generated/react/icons/icon-ticket/index.ts",
246554
246554
  "declarations": [
246555
246555
  {
246556
246556
  "kind": "function",
246557
- "name": "IconTodos",
246557
+ "name": "IconTicket",
246558
246558
  "parameters": [
246559
246559
  {
246560
246560
  "name": "props",
246561
246561
  "type": {
246562
- "text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconTodosClass>>\n > & { ref?: React.Ref<IconTodosClass> }"
246562
+ "text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconTicketClass>>\n > & { ref?: React.Ref<IconTicketClass> }"
246563
246563
  }
246564
246564
  }
246565
246565
  ]
@@ -246568,26 +246568,26 @@
246568
246568
  "exports": [
246569
246569
  {
246570
246570
  "kind": "js",
246571
- "name": "IconTodos",
246571
+ "name": "IconTicket",
246572
246572
  "declaration": {
246573
- "name": "IconTodos",
246574
- "module": "src/generated/react/icons/icon-todos/index.ts"
246573
+ "name": "IconTicket",
246574
+ "module": "src/generated/react/icons/icon-ticket/index.ts"
246575
246575
  }
246576
246576
  }
246577
246577
  ]
246578
246578
  },
246579
246579
  {
246580
246580
  "kind": "javascript-module",
246581
- "path": "src/generated/react/icons/icon-ticket/index.ts",
246581
+ "path": "src/generated/react/icons/icon-todos/index.ts",
246582
246582
  "declarations": [
246583
246583
  {
246584
246584
  "kind": "function",
246585
- "name": "IconTicket",
246585
+ "name": "IconTodos",
246586
246586
  "parameters": [
246587
246587
  {
246588
246588
  "name": "props",
246589
246589
  "type": {
246590
- "text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconTicketClass>>\n > & { ref?: React.Ref<IconTicketClass> }"
246590
+ "text": "React.ComponentProps<\n ReturnType<typeof getReactComponent<IconTodosClass>>\n > & { ref?: React.Ref<IconTodosClass> }"
246591
246591
  }
246592
246592
  }
246593
246593
  ]
@@ -246596,10 +246596,10 @@
246596
246596
  "exports": [
246597
246597
  {
246598
246598
  "kind": "js",
246599
- "name": "IconTicket",
246599
+ "name": "IconTodos",
246600
246600
  "declaration": {
246601
- "name": "IconTicket",
246602
- "module": "src/generated/react/icons/icon-ticket/index.ts"
246601
+ "name": "IconTodos",
246602
+ "module": "src/generated/react/icons/icon-todos/index.ts"
246603
246603
  }
246604
246604
  }
246605
246605
  ]