@sebgroup/green-core 2.16.1 → 2.17.0-rc.20251204205214555

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 (471) hide show
  1. package/components/badge/badge.component.d.ts +0 -23
  2. package/components/badge/badge.component.js +18 -105
  3. package/components/badge/badge.styles.js +96 -2
  4. package/components/button/button.trans.styles.scss.js +1 -1
  5. package/components/calendar/calendar.trans.styles.scss.js +1 -1
  6. package/components/checkbox/checkbox.component.js +24 -22
  7. package/components/checkbox/checkbox.styles.js +0 -8
  8. package/components/context-menu/context-menu.trans.styles.scss.js +1 -1
  9. package/components/datepicker/datepicker.component.js +1 -9
  10. package/components/dropdown/dropdown.component.js +4 -1
  11. package/components/formatted-text/number/formatted-number.component.d.ts +4 -1
  12. package/components/formatted-text/number/formatted-number.component.js +9 -1
  13. package/components/formatted-text/number/number-formatter.d.ts +1 -1
  14. package/components/formatted-text/number/number-formatter.js +3 -3
  15. package/components/index.d.ts +2 -0
  16. package/components/index.js +2 -0
  17. package/components/input/input.component.js +1 -4
  18. package/components/input/input.styles.js +10 -1
  19. package/components/link/link.component.js +1 -1
  20. package/components/pagination/index.d.ts +1 -0
  21. package/components/pagination/index.js +1 -0
  22. package/components/pagination/pagination.component.d.ts +76 -0
  23. package/components/pagination/pagination.component.js +434 -0
  24. package/components/pagination/pagination.d.ts +2 -0
  25. package/components/pagination/pagination.js +6 -0
  26. package/components/pagination/pagination.styles.d.ts +1 -0
  27. package/components/pagination/pagination.styles.js +19 -0
  28. package/components/sensitive/number/sensitive-number.component.d.ts +2 -1
  29. package/components/sensitive/number/sensitive-number.component.js +6 -1
  30. package/components/table/index.d.ts +1 -0
  31. package/components/table/index.js +1 -0
  32. package/components/table/table.component.d.ts +127 -0
  33. package/components/table/table.component.js +1028 -0
  34. package/components/table/table.d.ts +2 -0
  35. package/components/table/table.imports.d.ts +6 -0
  36. package/components/table/table.imports.js +63 -0
  37. package/components/table/table.js +6 -0
  38. package/components/table/table.stories.data.d.ts +53 -0
  39. package/components/table/table.stories.data.js +395 -0
  40. package/components/table/table.styles.d.ts +1 -0
  41. package/components/table/table.styles.js +736 -0
  42. package/components/table/table.types.d.ts +150 -0
  43. package/components/table/table.types.js +24 -0
  44. package/components/textarea/textarea.component.js +1 -4
  45. package/gds-element.js +1 -1
  46. package/generated/locales/da.d.ts +32 -0
  47. package/generated/locales/da.js +33 -1
  48. package/generated/locales/de.d.ts +32 -0
  49. package/generated/locales/de.js +33 -1
  50. package/generated/locales/fi.d.ts +32 -0
  51. package/generated/locales/fi.js +33 -1
  52. package/generated/locales/fr.d.ts +32 -0
  53. package/generated/locales/fr.js +33 -1
  54. package/generated/locales/it.d.ts +32 -0
  55. package/generated/locales/it.js +33 -1
  56. package/generated/locales/nl.d.ts +32 -0
  57. package/generated/locales/nl.js +33 -1
  58. package/generated/locales/no.d.ts +32 -0
  59. package/generated/locales/no.js +33 -1
  60. package/generated/locales/sv.d.ts +32 -0
  61. package/generated/locales/sv.js +33 -1
  62. package/generated/react/alert/index.d.ts +22 -15
  63. package/generated/react/backdrop/index.d.ts +19 -12
  64. package/generated/react/badge/index.d.ts +22 -15
  65. package/generated/react/blur/index.d.ts +18 -11
  66. package/generated/react/breadcrumb/index.d.ts +22 -15
  67. package/generated/react/breadcrumbs/index.d.ts +19 -12
  68. package/generated/react/button/index.d.ts +30 -23
  69. package/generated/react/calendar/index.d.ts +24 -17
  70. package/generated/react/card/index.d.ts +19 -12
  71. package/generated/react/card-linked/index.d.ts +21 -14
  72. package/generated/react/card-pattern-01/index.d.ts +29 -22
  73. package/generated/react/checkbox/index.d.ts +31 -24
  74. package/generated/react/checkbox-group/index.d.ts +31 -24
  75. package/generated/react/coachmark/index.d.ts +21 -14
  76. package/generated/react/context-menu/index.d.ts +21 -14
  77. package/generated/react/datepicker/index.d.ts +40 -33
  78. package/generated/react/details/index.d.ts +21 -14
  79. package/generated/react/dialog/index.d.ts +20 -13
  80. package/generated/react/div/index.d.ts +18 -11
  81. package/generated/react/divider/index.d.ts +18 -11
  82. package/generated/react/dropdown/index.d.ts +43 -36
  83. package/generated/react/fab/index.d.ts +30 -23
  84. package/generated/react/filter-chip/index.d.ts +19 -12
  85. package/generated/react/filter-chips/index.d.ts +31 -24
  86. package/generated/react/flex/index.d.ts +18 -11
  87. package/generated/react/form-control-footer/index.d.ts +18 -11
  88. package/generated/react/form-control-header/index.d.ts +19 -12
  89. package/generated/react/form-summary/index.d.ts +21 -14
  90. package/generated/react/formatted-account/index.d.ts +21 -14
  91. package/generated/react/formatted-date/index.d.ts +20 -13
  92. package/generated/react/formatted-number/index.d.ts +22 -14
  93. package/generated/react/grid/index.d.ts +18 -11
  94. package/generated/react/grouped-list/index.d.ts +19 -12
  95. package/generated/react/icons/icon/index.d.ts +20 -13
  96. package/generated/react/icons/icon-ai/index.d.ts +20 -13
  97. package/generated/react/icons/icon-airplane-up/index.d.ts +20 -13
  98. package/generated/react/icons/icon-archive/index.d.ts +20 -13
  99. package/generated/react/icons/icon-arrow/index.d.ts +20 -13
  100. package/generated/react/icons/icon-arrow-bottom-top/index.d.ts +20 -13
  101. package/generated/react/icons/icon-arrow-box-left/index.d.ts +20 -13
  102. package/generated/react/icons/icon-arrow-box-right/index.d.ts +20 -13
  103. package/generated/react/icons/icon-arrow-down/index.d.ts +20 -13
  104. package/generated/react/icons/icon-arrow-inbox/index.d.ts +20 -13
  105. package/generated/react/icons/icon-arrow-left/index.d.ts +20 -13
  106. package/generated/react/icons/icon-arrow-left-right/index.d.ts +20 -13
  107. package/generated/react/icons/icon-arrow-out-of-box/index.d.ts +20 -13
  108. package/generated/react/icons/icon-arrow-right/index.d.ts +20 -13
  109. package/generated/react/icons/icon-arrow-right-circle/index.d.ts +20 -13
  110. package/generated/react/icons/icon-arrow-right-down-circle/index.d.ts +20 -13
  111. package/generated/react/icons/icon-arrow-right-up-circle/index.d.ts +20 -13
  112. package/generated/react/icons/icon-arrow-rotate-clockwise/index.d.ts +20 -13
  113. package/generated/react/icons/icon-arrow-rotate-counter-clockwise/index.d.ts +20 -13
  114. package/generated/react/icons/icon-arrow-rotate-left-right/index.d.ts +20 -13
  115. package/generated/react/icons/icon-arrow-rotate-right-left/index.d.ts +20 -13
  116. package/generated/react/icons/icon-arrow-share-left/index.d.ts +20 -13
  117. package/generated/react/icons/icon-arrow-share-right/index.d.ts +20 -13
  118. package/generated/react/icons/icon-arrow-split/index.d.ts +20 -13
  119. package/generated/react/icons/icon-arrow-up/index.d.ts +20 -13
  120. package/generated/react/icons/icon-arrow-wall-down/index.d.ts +20 -13
  121. package/generated/react/icons/icon-arrow-wall-left/index.d.ts +20 -13
  122. package/generated/react/icons/icon-arrow-wall-right/index.d.ts +20 -13
  123. package/generated/react/icons/icon-arrow-wall-up/index.d.ts +20 -13
  124. package/generated/react/icons/icon-arrows-repeat/index.d.ts +20 -13
  125. package/generated/react/icons/icon-at/index.d.ts +20 -13
  126. package/generated/react/icons/icon-back/index.d.ts +20 -13
  127. package/generated/react/icons/icon-backward/index.d.ts +20 -13
  128. package/generated/react/icons/icon-bag/index.d.ts +20 -13
  129. package/generated/react/icons/icon-bank/index.d.ts +20 -13
  130. package/generated/react/icons/icon-banknote/index.d.ts +20 -13
  131. package/generated/react/icons/icon-banknote-2/index.d.ts +20 -13
  132. package/generated/react/icons/icon-barcode/index.d.ts +20 -13
  133. package/generated/react/icons/icon-bars-three/index.d.ts +20 -13
  134. package/generated/react/icons/icon-bars-two/index.d.ts +20 -13
  135. package/generated/react/icons/icon-basket/index.d.ts +20 -13
  136. package/generated/react/icons/icon-battery-loading/index.d.ts +20 -13
  137. package/generated/react/icons/icon-bell/index.d.ts +20 -13
  138. package/generated/react/icons/icon-block/index.d.ts +20 -13
  139. package/generated/react/icons/icon-book/index.d.ts +20 -13
  140. package/generated/react/icons/icon-bookmark/index.d.ts +20 -13
  141. package/generated/react/icons/icon-bookmark-check/index.d.ts +20 -13
  142. package/generated/react/icons/icon-bookmark-delete/index.d.ts +20 -13
  143. package/generated/react/icons/icon-bookmark-plus/index.d.ts +20 -13
  144. package/generated/react/icons/icon-bookmark-remove/index.d.ts +20 -13
  145. package/generated/react/icons/icon-books/index.d.ts +20 -13
  146. package/generated/react/icons/icon-brand-app-store/index.d.ts +20 -13
  147. package/generated/react/icons/icon-brand-apple-music/index.d.ts +20 -13
  148. package/generated/react/icons/icon-brand-bankid/index.d.ts +20 -13
  149. package/generated/react/icons/icon-brand-chrome/index.d.ts +20 -13
  150. package/generated/react/icons/icon-brand-facebook/index.d.ts +20 -13
  151. package/generated/react/icons/icon-brand-figma/index.d.ts +20 -13
  152. package/generated/react/icons/icon-brand-firefox/index.d.ts +20 -13
  153. package/generated/react/icons/icon-brand-github/index.d.ts +20 -13
  154. package/generated/react/icons/icon-brand-green/index.d.ts +20 -13
  155. package/generated/react/icons/icon-brand-instagram/index.d.ts +20 -13
  156. package/generated/react/icons/icon-brand-linkedin/index.d.ts +20 -13
  157. package/generated/react/icons/icon-brand-play-store/index.d.ts +20 -13
  158. package/generated/react/icons/icon-brand-rss-feed/index.d.ts +20 -13
  159. package/generated/react/icons/icon-brand-seb/index.d.ts +20 -13
  160. package/generated/react/icons/icon-brand-spotify/index.d.ts +20 -13
  161. package/generated/react/icons/icon-brand-storybook/index.d.ts +20 -13
  162. package/generated/react/icons/icon-brand-x/index.d.ts +20 -13
  163. package/generated/react/icons/icon-brush/index.d.ts +20 -13
  164. package/generated/react/icons/icon-bubble/index.d.ts +20 -13
  165. package/generated/react/icons/icon-bubble-annotation/index.d.ts +20 -13
  166. package/generated/react/icons/icon-bubble-dots/index.d.ts +20 -13
  167. package/generated/react/icons/icon-bubble-question/index.d.ts +20 -13
  168. package/generated/react/icons/icon-bubble-quotes/index.d.ts +20 -13
  169. package/generated/react/icons/icon-bubble-text/index.d.ts +20 -13
  170. package/generated/react/icons/icon-bubble-wide-annotation/index.d.ts +20 -13
  171. package/generated/react/icons/icon-bubbles/index.d.ts +20 -13
  172. package/generated/react/icons/icon-buildings/index.d.ts +20 -13
  173. package/generated/react/icons/icon-bullet-list/index.d.ts +20 -13
  174. package/generated/react/icons/icon-cain-link/index.d.ts +20 -13
  175. package/generated/react/icons/icon-calculator/index.d.ts +20 -13
  176. package/generated/react/icons/icon-calendar/index.d.ts +20 -13
  177. package/generated/react/icons/icon-calendar-check/index.d.ts +20 -13
  178. package/generated/react/icons/icon-calender-add/index.d.ts +20 -13
  179. package/generated/react/icons/icon-call/index.d.ts +20 -13
  180. package/generated/react/icons/icon-car/index.d.ts +20 -13
  181. package/generated/react/icons/icon-carussel/index.d.ts +20 -13
  182. package/generated/react/icons/icon-chain-link/index.d.ts +20 -13
  183. package/generated/react/icons/icon-chain-link-broken/index.d.ts +20 -13
  184. package/generated/react/icons/icon-charging-station/index.d.ts +20 -13
  185. package/generated/react/icons/icon-chart-one/index.d.ts +20 -13
  186. package/generated/react/icons/icon-chart-presentation/index.d.ts +20 -13
  187. package/generated/react/icons/icon-chart-two/index.d.ts +20 -13
  188. package/generated/react/icons/icon-checklist/index.d.ts +20 -13
  189. package/generated/react/icons/icon-checkmark/index.d.ts +20 -13
  190. package/generated/react/icons/icon-chevron-bottom/index.d.ts +20 -13
  191. package/generated/react/icons/icon-chevron-double-down/index.d.ts +20 -13
  192. package/generated/react/icons/icon-chevron-double-left/index.d.ts +20 -13
  193. package/generated/react/icons/icon-chevron-double-right/index.d.ts +20 -13
  194. package/generated/react/icons/icon-chevron-double-up/index.d.ts +20 -13
  195. package/generated/react/icons/icon-chevron-down-small/index.d.ts +20 -13
  196. package/generated/react/icons/icon-chevron-grabber-vertical/index.d.ts +20 -13
  197. package/generated/react/icons/icon-chevron-left/index.d.ts +20 -13
  198. package/generated/react/icons/icon-chevron-left-small/index.d.ts +20 -13
  199. package/generated/react/icons/icon-chevron-right/index.d.ts +20 -13
  200. package/generated/react/icons/icon-chevron-right-small/index.d.ts +20 -13
  201. package/generated/react/icons/icon-chevron-top/index.d.ts +20 -13
  202. package/generated/react/icons/icon-chevron-top-small/index.d.ts +20 -13
  203. package/generated/react/icons/icon-circle-ban/index.d.ts +20 -13
  204. package/generated/react/icons/icon-circle-check/index.d.ts +20 -13
  205. package/generated/react/icons/icon-circle-dots/index.d.ts +20 -13
  206. package/generated/react/icons/icon-circle-info/index.d.ts +20 -13
  207. package/generated/react/icons/icon-circle-minus/index.d.ts +20 -13
  208. package/generated/react/icons/icon-circle-placeholder-on/index.d.ts +20 -13
  209. package/generated/react/icons/icon-circle-plus/index.d.ts +20 -13
  210. package/generated/react/icons/icon-circle-questionmark/index.d.ts +20 -13
  211. package/generated/react/icons/icon-circle-x/index.d.ts +20 -13
  212. package/generated/react/icons/icon-circles-three/index.d.ts +20 -13
  213. package/generated/react/icons/icon-clock/index.d.ts +20 -13
  214. package/generated/react/icons/icon-cloud-download/index.d.ts +20 -13
  215. package/generated/react/icons/icon-cloud-upload/index.d.ts +20 -13
  216. package/generated/react/icons/icon-cloudy-sun/index.d.ts +20 -13
  217. package/generated/react/icons/icon-code/index.d.ts +20 -13
  218. package/generated/react/icons/icon-code-brackets/index.d.ts +20 -13
  219. package/generated/react/icons/icon-compass-round/index.d.ts +20 -13
  220. package/generated/react/icons/icon-cookies/index.d.ts +20 -13
  221. package/generated/react/icons/icon-copy/index.d.ts +20 -13
  222. package/generated/react/icons/icon-credit-card/index.d.ts +20 -13
  223. package/generated/react/icons/icon-cross-large/index.d.ts +20 -13
  224. package/generated/react/icons/icon-cross-small/index.d.ts +20 -13
  225. package/generated/react/icons/icon-cup-hot/index.d.ts +20 -13
  226. package/generated/react/icons/icon-cursor/index.d.ts +20 -13
  227. package/generated/react/icons/icon-details/index.d.ts +19 -12
  228. package/generated/react/icons/icon-devices/index.d.ts +20 -13
  229. package/generated/react/icons/icon-direction/index.d.ts +20 -13
  230. package/generated/react/icons/icon-dollar/index.d.ts +20 -13
  231. package/generated/react/icons/icon-dot-grid-one-horizontal/index.d.ts +20 -13
  232. package/generated/react/icons/icon-dot-grid-one-vertical/index.d.ts +20 -13
  233. package/generated/react/icons/icon-dot-grid-three/index.d.ts +20 -13
  234. package/generated/react/icons/icon-dot-grid-two/index.d.ts +20 -13
  235. package/generated/react/icons/icon-email/index.d.ts +20 -13
  236. package/generated/react/icons/icon-emoji-angry/index.d.ts +20 -13
  237. package/generated/react/icons/icon-emoji-neutral/index.d.ts +20 -13
  238. package/generated/react/icons/icon-emoji-sad/index.d.ts +20 -13
  239. package/generated/react/icons/icon-emoji-smile/index.d.ts +20 -13
  240. package/generated/react/icons/icon-emoji-smiley/index.d.ts +20 -13
  241. package/generated/react/icons/icon-euro/index.d.ts +20 -13
  242. package/generated/react/icons/icon-expand/index.d.ts +20 -13
  243. package/generated/react/icons/icon-eye-open/index.d.ts +20 -13
  244. package/generated/react/icons/icon-eye-slash/index.d.ts +20 -13
  245. package/generated/react/icons/icon-fashion/index.d.ts +20 -13
  246. package/generated/react/icons/icon-fast-forward/index.d.ts +20 -13
  247. package/generated/react/icons/icon-file-bend/index.d.ts +20 -13
  248. package/generated/react/icons/icon-file-chart/index.d.ts +20 -13
  249. package/generated/react/icons/icon-file-text/index.d.ts +20 -13
  250. package/generated/react/icons/icon-files/index.d.ts +20 -13
  251. package/generated/react/icons/icon-filter/index.d.ts +20 -13
  252. package/generated/react/icons/icon-flag/index.d.ts +20 -13
  253. package/generated/react/icons/icon-floppy-disk/index.d.ts +20 -13
  254. package/generated/react/icons/icon-focus/index.d.ts +20 -13
  255. package/generated/react/icons/icon-focus-square/index.d.ts +20 -13
  256. package/generated/react/icons/icon-folder/index.d.ts +20 -13
  257. package/generated/react/icons/icon-folder-add-right/index.d.ts +20 -13
  258. package/generated/react/icons/icon-folder-paper/index.d.ts +20 -13
  259. package/generated/react/icons/icon-folder-upload/index.d.ts +20 -13
  260. package/generated/react/icons/icon-fullscreen/index.d.ts +20 -13
  261. package/generated/react/icons/icon-gift/index.d.ts +20 -13
  262. package/generated/react/icons/icon-globus/index.d.ts +20 -13
  263. package/generated/react/icons/icon-graduate-cap/index.d.ts +20 -13
  264. package/generated/react/icons/icon-green-power/index.d.ts +20 -13
  265. package/generated/react/icons/icon-group/index.d.ts +20 -13
  266. package/generated/react/icons/icon-growth/index.d.ts +20 -13
  267. package/generated/react/icons/icon-headphones/index.d.ts +20 -13
  268. package/generated/react/icons/icon-heart/index.d.ts +20 -13
  269. package/generated/react/icons/icon-heart-beat/index.d.ts +20 -13
  270. package/generated/react/icons/icon-history/index.d.ts +20 -13
  271. package/generated/react/icons/icon-home-energy-one/index.d.ts +20 -13
  272. package/generated/react/icons/icon-home-energy-two/index.d.ts +20 -13
  273. package/generated/react/icons/icon-home-open/index.d.ts +20 -13
  274. package/generated/react/icons/icon-home-roof/index.d.ts +20 -13
  275. package/generated/react/icons/icon-horizontal-alignment-bottom/index.d.ts +20 -13
  276. package/generated/react/icons/icon-hourglass/index.d.ts +20 -13
  277. package/generated/react/icons/icon-images/index.d.ts +20 -13
  278. package/generated/react/icons/icon-inbox-empty/index.d.ts +20 -13
  279. package/generated/react/icons/icon-industry/index.d.ts +20 -13
  280. package/generated/react/icons/icon-invite/index.d.ts +20 -13
  281. package/generated/react/icons/icon-jpg/index.d.ts +20 -13
  282. package/generated/react/icons/icon-key/index.d.ts +20 -13
  283. package/generated/react/icons/icon-knife-spoon/index.d.ts +20 -13
  284. package/generated/react/icons/icon-lab/index.d.ts +20 -13
  285. package/generated/react/icons/icon-law/index.d.ts +20 -13
  286. package/generated/react/icons/icon-leisure/index.d.ts +20 -13
  287. package/generated/react/icons/icon-light-bulb/index.d.ts +20 -13
  288. package/generated/react/icons/icon-light-bulb-simple/index.d.ts +20 -13
  289. package/generated/react/icons/icon-lightning/index.d.ts +20 -13
  290. package/generated/react/icons/icon-line-chart-four/index.d.ts +20 -13
  291. package/generated/react/icons/icon-line-chart-one/index.d.ts +20 -13
  292. package/generated/react/icons/icon-line-chart-three/index.d.ts +20 -13
  293. package/generated/react/icons/icon-line-chart-two/index.d.ts +20 -13
  294. package/generated/react/icons/icon-lock/index.d.ts +20 -13
  295. package/generated/react/icons/icon-macbook-air/index.d.ts +20 -13
  296. package/generated/react/icons/icon-magnifying-glass/index.d.ts +20 -13
  297. package/generated/react/icons/icon-maintenance/index.d.ts +20 -13
  298. package/generated/react/icons/icon-map-pin/index.d.ts +20 -13
  299. package/generated/react/icons/icon-megaphone/index.d.ts +20 -13
  300. package/generated/react/icons/icon-menu-sidebar/index.d.ts +20 -13
  301. package/generated/react/icons/icon-mic-off/index.d.ts +20 -13
  302. package/generated/react/icons/icon-mic-on/index.d.ts +20 -13
  303. package/generated/react/icons/icon-minimize/index.d.ts +20 -13
  304. package/generated/react/icons/icon-minus-large/index.d.ts +20 -13
  305. package/generated/react/icons/icon-minus-small/index.d.ts +20 -13
  306. package/generated/react/icons/icon-money-hand/index.d.ts +20 -13
  307. package/generated/react/icons/icon-moneybag/index.d.ts +20 -13
  308. package/generated/react/icons/icon-moon/index.d.ts +20 -13
  309. package/generated/react/icons/icon-mute/index.d.ts +20 -13
  310. package/generated/react/icons/icon-office/index.d.ts +20 -13
  311. package/generated/react/icons/icon-other/index.d.ts +20 -13
  312. package/generated/react/icons/icon-page-add/index.d.ts +20 -13
  313. package/generated/react/icons/icon-page-text/index.d.ts +20 -13
  314. package/generated/react/icons/icon-paper-plane-top-right/index.d.ts +20 -13
  315. package/generated/react/icons/icon-paperclip/index.d.ts +20 -13
  316. package/generated/react/icons/icon-pause/index.d.ts +20 -13
  317. package/generated/react/icons/icon-pdf/index.d.ts +20 -13
  318. package/generated/react/icons/icon-pencel-line/index.d.ts +20 -13
  319. package/generated/react/icons/icon-pencil-sign/index.d.ts +20 -13
  320. package/generated/react/icons/icon-pencil-sparkle/index.d.ts +20 -13
  321. package/generated/react/icons/icon-pencil-wave/index.d.ts +20 -13
  322. package/generated/react/icons/icon-pension/index.d.ts +20 -13
  323. package/generated/react/icons/icon-people/index.d.ts +20 -13
  324. package/generated/react/icons/icon-people-a11y/index.d.ts +20 -13
  325. package/generated/react/icons/icon-people-add/index.d.ts +20 -13
  326. package/generated/react/icons/icon-people-added/index.d.ts +20 -13
  327. package/generated/react/icons/icon-people-circle/index.d.ts +20 -13
  328. package/generated/react/icons/icon-people-copy/index.d.ts +20 -13
  329. package/generated/react/icons/icon-people-profile/index.d.ts +20 -13
  330. package/generated/react/icons/icon-people-remove/index.d.ts +20 -13
  331. package/generated/react/icons/icon-percent/index.d.ts +20 -13
  332. package/generated/react/icons/icon-phone/index.d.ts +20 -13
  333. package/generated/react/icons/icon-phone-dynamic-island/index.d.ts +20 -13
  334. package/generated/react/icons/icon-pie-chart/index.d.ts +20 -13
  335. package/generated/react/icons/icon-piggy-bank/index.d.ts +20 -13
  336. package/generated/react/icons/icon-pin/index.d.ts +20 -13
  337. package/generated/react/icons/icon-pinch/index.d.ts +20 -13
  338. package/generated/react/icons/icon-play/index.d.ts +20 -13
  339. package/generated/react/icons/icon-play-circle/index.d.ts +20 -13
  340. package/generated/react/icons/icon-plus-large/index.d.ts +20 -13
  341. package/generated/react/icons/icon-plus-small/index.d.ts +20 -13
  342. package/generated/react/icons/icon-png/index.d.ts +20 -13
  343. package/generated/react/icons/icon-poop/index.d.ts +20 -13
  344. package/generated/react/icons/icon-postcard/index.d.ts +20 -13
  345. package/generated/react/icons/icon-pound/index.d.ts +20 -13
  346. package/generated/react/icons/icon-power-plant/index.d.ts +20 -13
  347. package/generated/react/icons/icon-printer/index.d.ts +20 -13
  348. package/generated/react/icons/icon-push/index.d.ts +20 -13
  349. package/generated/react/icons/icon-qr-code/index.d.ts +20 -13
  350. package/generated/react/icons/icon-rainy/index.d.ts +20 -13
  351. package/generated/react/icons/icon-raising-hand/index.d.ts +20 -13
  352. package/generated/react/icons/icon-reading-list/index.d.ts +20 -13
  353. package/generated/react/icons/icon-receipt-bill/index.d.ts +20 -13
  354. package/generated/react/icons/icon-receiption-bell/index.d.ts +20 -13
  355. package/generated/react/icons/icon-record/index.d.ts +20 -13
  356. package/generated/react/icons/icon-refund/index.d.ts +20 -13
  357. package/generated/react/icons/icon-robot/index.d.ts +20 -13
  358. package/generated/react/icons/icon-rocket/index.d.ts +20 -13
  359. package/generated/react/icons/icon-run-shortcut/index.d.ts +20 -13
  360. package/generated/react/icons/icon-safari/index.d.ts +20 -13
  361. package/generated/react/icons/icon-school/index.d.ts +20 -13
  362. package/generated/react/icons/icon-scissors/index.d.ts +20 -13
  363. package/generated/react/icons/icon-search-menu/index.d.ts +20 -13
  364. package/generated/react/icons/icon-seb/index.d.ts +20 -13
  365. package/generated/react/icons/icon-settings-gear/index.d.ts +20 -13
  366. package/generated/react/icons/icon-settings-slider-hor/index.d.ts +20 -13
  367. package/generated/react/icons/icon-settings-slider-three/index.d.ts +20 -13
  368. package/generated/react/icons/icon-settings-slider-ver/index.d.ts +20 -13
  369. package/generated/react/icons/icon-shapes/index.d.ts +20 -13
  370. package/generated/react/icons/icon-share/index.d.ts +20 -13
  371. package/generated/react/icons/icon-shield/index.d.ts +20 -13
  372. package/generated/react/icons/icon-shield-checked/index.d.ts +20 -13
  373. package/generated/react/icons/icon-shield-crossed/index.d.ts +20 -13
  374. package/generated/react/icons/icon-shopping-bag/index.d.ts +20 -13
  375. package/generated/react/icons/icon-signature/index.d.ts +20 -13
  376. package/generated/react/icons/icon-smartwatch/index.d.ts +20 -13
  377. package/generated/react/icons/icon-solar/index.d.ts +20 -13
  378. package/generated/react/icons/icon-solar-panel/index.d.ts +20 -13
  379. package/generated/react/icons/icon-sort/index.d.ts +20 -13
  380. package/generated/react/icons/icon-sort-ascending/index.d.ts +20 -13
  381. package/generated/react/icons/icon-sort-descending/index.d.ts +20 -13
  382. package/generated/react/icons/icon-sort-down/index.d.ts +20 -13
  383. package/generated/react/icons/icon-sort-up/index.d.ts +20 -13
  384. package/generated/react/icons/icon-square-arrow-top-right/index.d.ts +20 -13
  385. package/generated/react/icons/icon-square-behind-square/index.d.ts +20 -13
  386. package/generated/react/icons/icon-square-check/index.d.ts +20 -13
  387. package/generated/react/icons/icon-square-grid-circle/index.d.ts +20 -13
  388. package/generated/react/icons/icon-square-info/index.d.ts +20 -13
  389. package/generated/react/icons/icon-square-minus/index.d.ts +20 -13
  390. package/generated/react/icons/icon-square-placeholder/index.d.ts +20 -13
  391. package/generated/react/icons/icon-square-plus/index.d.ts +20 -13
  392. package/generated/react/icons/icon-square-x/index.d.ts +20 -13
  393. package/generated/react/icons/icon-star/index.d.ts +20 -13
  394. package/generated/react/icons/icon-store/index.d.ts +20 -13
  395. package/generated/react/icons/icon-suitcase-work/index.d.ts +20 -13
  396. package/generated/react/icons/icon-sun/index.d.ts +20 -13
  397. package/generated/react/icons/icon-sunset-arrow-down/index.d.ts +20 -13
  398. package/generated/react/icons/icon-tag/index.d.ts +20 -13
  399. package/generated/react/icons/icon-target-arrow/index.d.ts +20 -13
  400. package/generated/react/icons/icon-television/index.d.ts +20 -13
  401. package/generated/react/icons/icon-tennis/index.d.ts +20 -13
  402. package/generated/react/icons/icon-text-edit/index.d.ts +20 -13
  403. package/generated/react/icons/icon-thermostat/index.d.ts +20 -13
  404. package/generated/react/icons/icon-thumbs-down/index.d.ts +20 -13
  405. package/generated/react/icons/icon-thumbs-up/index.d.ts +20 -13
  406. package/generated/react/icons/icon-ticket/index.d.ts +20 -13
  407. package/generated/react/icons/icon-todos/index.d.ts +20 -13
  408. package/generated/react/icons/icon-trading-view-candles/index.d.ts +20 -13
  409. package/generated/react/icons/icon-trash-can/index.d.ts +20 -13
  410. package/generated/react/icons/icon-tree/index.d.ts +20 -13
  411. package/generated/react/icons/icon-trending-four/index.d.ts +20 -13
  412. package/generated/react/icons/icon-trending-one/index.d.ts +20 -13
  413. package/generated/react/icons/icon-trending-three/index.d.ts +20 -13
  414. package/generated/react/icons/icon-trending-two/index.d.ts +20 -13
  415. package/generated/react/icons/icon-triangle-exclamation/index.d.ts +20 -13
  416. package/generated/react/icons/icon-truck/index.d.ts +20 -13
  417. package/generated/react/icons/icon-umbrella-security/index.d.ts +20 -13
  418. package/generated/react/icons/icon-unlocked/index.d.ts +20 -13
  419. package/generated/react/icons/icon-vertical-alignment-right/index.d.ts +20 -13
  420. package/generated/react/icons/icon-volume-full/index.d.ts +20 -13
  421. package/generated/react/icons/icon-volume-half/index.d.ts +20 -13
  422. package/generated/react/icons/icon-volume-off/index.d.ts +20 -13
  423. package/generated/react/icons/icon-wallet/index.d.ts +20 -13
  424. package/generated/react/icons/icon-warning-sign/index.d.ts +20 -13
  425. package/generated/react/icons/icon-wifi-full/index.d.ts +20 -13
  426. package/generated/react/icons/icon-youtube/index.d.ts +20 -13
  427. package/generated/react/icons/icon-zap/index.d.ts +20 -13
  428. package/generated/react/icons/icon-zoom-in/index.d.ts +20 -13
  429. package/generated/react/icons/icon-zoom-out/index.d.ts +20 -13
  430. package/generated/react/img/index.d.ts +20 -13
  431. package/generated/react/index.d.ts +7 -5
  432. package/generated/react/index.js +7 -5
  433. package/generated/react/input/index.d.ts +41 -34
  434. package/generated/react/link/index.d.ts +21 -14
  435. package/generated/react/list-item/index.d.ts +18 -11
  436. package/generated/react/mask/index.d.ts +21 -14
  437. package/generated/react/menu-button/index.d.ts +24 -17
  438. package/generated/react/menu-heading/index.d.ts +18 -11
  439. package/generated/react/menu-item/index.d.ts +18 -11
  440. package/generated/react/option/index.d.ts +22 -15
  441. package/generated/react/pagination/index.d.ts +403 -0
  442. package/generated/react/pagination/index.js +13 -0
  443. package/generated/react/popover/index.d.ts +22 -15
  444. package/generated/react/radio/index.d.ts +24 -17
  445. package/generated/react/radio-group/index.d.ts +31 -24
  446. package/generated/react/rich-text/index.d.ts +18 -11
  447. package/generated/react/segment/index.d.ts +22 -15
  448. package/generated/react/segmented-control/index.d.ts +20 -13
  449. package/generated/react/select/index.d.ts +33 -26
  450. package/generated/react/sensitive-account/index.d.ts +22 -15
  451. package/generated/react/sensitive-date/index.d.ts +21 -14
  452. package/generated/react/sensitive-number/index.d.ts +23 -15
  453. package/generated/react/signal/index.d.ts +18 -11
  454. package/generated/react/spinner/index.d.ts +21 -14
  455. package/generated/react/table/index.d.ts +403 -0
  456. package/generated/react/table/index.js +13 -0
  457. package/generated/react/text/index.d.ts +19 -12
  458. package/generated/react/textarea/index.d.ts +38 -31
  459. package/generated/react/theme/index.d.ts +18 -11
  460. package/generated/react/video/index.d.ts +18 -11
  461. package/package.json +9 -1
  462. package/primitives/field-base/field-base.component.d.ts +1 -0
  463. package/primitives/field-base/field-base.component.js +8 -0
  464. package/primitives/field-base/field-base.styles.js +9 -1
  465. package/primitives/field-base/field-base.trans.styles.scss.js +1 -1
  466. package/primitives/listbox/listbox.trans.styles.scss.js +1 -1
  467. package/primitives/listbox/option.trans.styles.scss.js +1 -1
  468. package/pure.d.ts +2 -0
  469. package/pure.js +2 -0
  470. package/shared-styles/rbcb-toggle.style.js +41 -12
  471. package/utils/helpers/custom-element-scoping.js +1 -1
@@ -4,36 +4,13 @@ declare const GdsBadge_base: (new (...args: any[]) => import("../../utils/mixins
4
4
  * `gds-badge`
5
5
  *
6
6
  * @element gds-badge
7
- *
8
7
  */
9
8
  export declare class GdsBadge extends GdsBadge_base {
10
9
  #private;
11
10
  static styles: (import("lit").CSSResult | import("lit").CSSResult[])[];
12
- /**
13
- * Controls the variant of the badge.
14
- * Supports all valid variants like information, notice, positive, warning, negative.
15
- * @property variant
16
- */
17
11
  variant: 'information' | 'notice' | 'positive' | 'warning' | 'negative' | 'disabled';
18
- /**
19
- * Defines the size of the badge.
20
- * The default value is `default`.
21
- *
22
- * @property {string} size - The size of the badge, which can be either 'default' or 'small'.
23
- */
24
12
  size: 'default' | 'small';
25
- /**
26
- * Indicates whether the badge is in notification mode.
27
- * When set to `true`, the badge will act as a notification badge with only two variants: `positive` or `negative`.
28
- *
29
- * @property {boolean} notification - Controls the notification mode of the badge.
30
- */
31
13
  notification: boolean;
32
- /**
33
- * Indicates whether the badge is rounded.
34
- *
35
- * @property {boolean} rounded - Controls the border radius of the badge.
36
- */
37
14
  rounded: boolean;
38
15
  mainSlotOccupied: boolean;
39
16
  leadSlotOccupied: boolean;
@@ -5,6 +5,7 @@ import {
5
5
  } from "../../chunks/chunk.QU3DSPNU.js";
6
6
  var _GdsBadge_instances, handleSlotChange_fn, renderLeadSlot_fn, renderMainSlot_fn, renderTrailSlot_fn;
7
7
  import { property, state } from "lit/decorators.js";
8
+ import { classMap } from "lit/directives/class-map.js";
8
9
  import { GdsElement } from "../../gds-element.js";
9
10
  import { html } from "../../scoping.js";
10
11
  import { tokens } from "../../tokens.style.js";
@@ -30,111 +31,23 @@ let GdsBadge = class extends withSizeXProps(
30
31
  this.leadSlotOccupied = false;
31
32
  }
32
33
  render() {
33
- let background;
34
- let color;
35
- if (this.notification) {
36
- background = "negative-01";
37
- color = "inversed";
38
- } else {
39
- switch (this.variant) {
40
- case "information":
41
- background = "information-03";
42
- color = "information-01";
43
- break;
44
- case "notice":
45
- background = "notice-03";
46
- color = "notice-01";
47
- break;
48
- case "positive":
49
- background = "positive-03";
50
- color = "positive-03";
51
- break;
52
- case "warning":
53
- background = "warning-03";
54
- color = "warning-01";
55
- break;
56
- case "negative":
57
- background = "negative-03";
58
- color = "negative-01";
59
- break;
60
- case "disabled":
61
- background = "disabled-03";
62
- color = "disabled-01";
63
- break;
64
- default:
65
- background = "information-03";
66
- color = "information-01";
67
- break;
68
- }
69
- }
70
- const padding = (() => {
71
- const paddings = {
72
- notification: {
73
- occupied: "4xs 2xs",
74
- default: "3xs"
75
- },
76
- small: {
77
- occupied: "4xs 3xs",
78
- default: "4xs 3xs"
79
- },
80
- default: {
81
- occupied: "3xs xs 3xs 2xs",
82
- default: "4xs xs"
83
- }
84
- };
85
- if (this.notification) {
86
- return paddings.notification[this.mainSlotOccupied ? "occupied" : "default"];
87
- }
88
- const isSmall = this.size === "small";
89
- return paddings[isSmall ? "small" : "default"][this.leadSlotOccupied ? "occupied" : "default"];
90
- })();
91
- const blockSize = (() => {
92
- const sizes = {
93
- occupied: {
94
- small: "m",
95
- default: "l"
96
- },
97
- default: "xs"
98
- };
99
- return this.mainSlotOccupied ? sizes.occupied[this.size === "small" || this.notification ? "small" : "default"] : sizes.default;
100
- })();
101
- const inlineSize = (() => {
102
- const sizes = {
103
- notification: {
104
- occupied: "l",
105
- default: "0"
106
- },
107
- default: "l"
108
- };
109
- return this.notification ? sizes.notification[this.mainSlotOccupied ? "occupied" : "default"] : sizes.default;
110
- })();
111
- const borderRadius = (() => {
112
- const radiuses = {
113
- small: "3xs",
114
- notification: "max",
115
- default: "2xs"
116
- };
117
- if (this.rounded) return "max";
118
- if (this.notification) return radiuses.notification;
119
- return this.size === "small" ? radiuses.small : radiuses.default;
120
- })();
121
- return html`<gds-flex
122
- level="3"
123
- background=${background}
124
- color=${color}
125
- gap="${this.notification ? "" : "3xs"}"
126
- align-items="center"
127
- justify-content="${this.notification ? "center" : "flex-start"}"
128
- padding="${padding}"
129
- min-height="${blockSize}"
130
- border-radius="${borderRadius}"
131
- width="100%"
132
- min-width="${inlineSize}"
133
- font="${this.size === "small" || this.notification ? "detail-book-xs" : "detail-book-s"}"
134
- >
135
- ${__privateMethod(this, _GdsBadge_instances, renderLeadSlot_fn).call(this)} ${__privateMethod(this, _GdsBadge_instances, renderMainSlot_fn).call(this)}
136
- ${__privateMethod(this, _GdsBadge_instances, renderTrailSlot_fn).call(this)}
137
- </gds-flex>`;
34
+ const classes = classMap({
35
+ badge: true,
36
+ [this.variant]: true,
37
+ [this.size]: this.size === "small",
38
+ notification: this.notification,
39
+ "with-content": this.notification && this.mainSlotOccupied,
40
+ rounded: this.rounded
41
+ });
42
+ return html`
43
+ <div class="${classes}">
44
+ ${[
45
+ __privateMethod(this, _GdsBadge_instances, renderLeadSlot_fn).call(this),
46
+ __privateMethod(this, _GdsBadge_instances, renderMainSlot_fn).call(this),
47
+ __privateMethod(this, _GdsBadge_instances, renderTrailSlot_fn).call(this)
48
+ ]}
49
+ </div>
50
+ `;
138
51
  }
139
52
  };
140
53
  _GdsBadge_instances = new WeakSet();
@@ -1,8 +1,102 @@
1
1
  import "../../chunks/chunk.QU3DSPNU.js";
2
2
  import { css } from "lit";
3
3
  const style = css`
4
- :host {
5
- display: inline-block;
4
+ @layer tokens, core, variants, sizes, states, notification;
5
+
6
+ @layer core {
7
+ :host {
8
+ display: inline-block;
9
+ }
10
+
11
+ .badge {
12
+ display: flex;
13
+ align-items: center;
14
+ justify-content: flex-start;
15
+ gap: var(--gds-sys-space-3xs);
16
+ padding: var(--_padding);
17
+ min-height: var(--_block-size);
18
+ border-radius: var(--_border-radius);
19
+ width: 100%;
20
+ min-width: var(--_inline-size);
21
+ font: var(--_font);
22
+ background-color: var(--_bg);
23
+ color: var(--_color);
24
+ box-sizing: border-box;
25
+
26
+ --_padding: var(--gds-sys-space-4xs) var(--gds-sys-space-xs);
27
+ --_block-size: var(--gds-sys-space-xs);
28
+ --_border-radius: var(--gds-sys-space-2xs);
29
+ --_inline-size: var(--gds-sys-space-l);
30
+ --_font: var(--gds-sys-text-detail-book-s);
31
+ }
32
+ }
33
+
34
+ @layer variants {
35
+ .badge.information {
36
+ --_bg: var(--gds-sys-color-l3-information-03);
37
+ --_color: var(--gds-sys-color-content-information-01);
38
+ }
39
+
40
+ .badge.notice {
41
+ --_bg: var(--gds-sys-color-l3-notice-03);
42
+ --_color: var(--gds-sys-color-content-notice-01);
43
+ }
44
+
45
+ .badge.positive {
46
+ --_bg: var(--gds-sys-color-l3-positive-03);
47
+ --_color: var(--gds-sys-color-content-positive-03);
48
+ }
49
+
50
+ .badge.warning {
51
+ --_bg: var(--gds-sys-color-l3-warning-03);
52
+ --_color: var(--gds-sys-color-content-warning-01);
53
+ }
54
+
55
+ .badge.negative {
56
+ --_bg: var(--gds-sys-color-l3-negative-03);
57
+ --_color: var(--gds-sys-color-content-negative-01);
58
+ }
59
+
60
+ .badge.disabled {
61
+ --_bg: var(--gds-sys-color-l3-disabled-03);
62
+ --_color: var(--gds-sys-color-content-disabled-01);
63
+ }
64
+ }
65
+
66
+ @layer sizes {
67
+ .badge.small {
68
+ --_padding: var(--gds-sys-space-4xs) var(--gds-sys-space-2xs);
69
+ --_block-size: var(--gds-sys-space-m);
70
+ --_border-radius: var(--gds-sys-space-3xs);
71
+ --_font: var(--gds-sys-text-detail-book-xs);
72
+ }
73
+ }
74
+
75
+ @layer notification {
76
+ .badge.notification {
77
+ --_padding: var(--gds-sys-space-3xs);
78
+ --_block-size: var(--gds-sys-space-xs);
79
+ --_border-radius: var(--gds-sys-space-max);
80
+ --_inline-size: 0;
81
+ justify-content: center;
82
+ gap: 0;
83
+ --_bg: var(--gds-sys-color-l3-negative-01);
84
+ --_color: var(--gds-sys-color-content-inversed);
85
+ --_font: var(--gds-sys-text-detail-book-xs);
86
+ }
87
+
88
+ .badge.notification.with-content {
89
+ --_padding: var(--gds-sys-space-4xs) var(--gds-sys-space-2xs);
90
+ --_block-size: var(--gds-sys-space-m);
91
+ --_inline-size: var(--gds-sys-space-l);
92
+ }
93
+ }
94
+
95
+ @layer states {
96
+ .badge.rounded {
97
+ --_border-radius: var(--gds-sys-space-max);
98
+ justify-content: center;
99
+ }
6
100
  }
7
101
 
8
102
  slot[name='lead']::slotted(*) {
@@ -1,2 +1,2 @@
1
- const styles = "/* stylelint-disable max-nesting-depth */\n/* stylelint-enable max-nesting-depth */\n/**\n * Calculate the luminance for a color.\n * See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n */\n/**\n * Calculate the contrast ratio between two colors.\n * See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n */\n/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable */\n/**\n* @deprecated\n* Use `add-focus` instead\n*/\n/** add background color, color and border-color to element when it has focus-visible i.e. tab focus */\ni.sg-icon {\n font-size: 0;\n width: 1rem;\n height: 1rem;\n display: inline-block;\n}\ni.sg-icon::before {\n content: \"\";\n display: inline-block;\n background: var(--color);\n width: 100%;\n height: 100%;\n -webkit-mask-repeat: no-repeat;\n mask-repeat: no-repeat;\n}\ni.sg-icon.sg-icon-calendar::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 248h80v-56H48v56zm0 48v64h80v-64H48zm128 0v64h96v-64h-96zm144 0v64h80v-64h-80zm80-104h-80v56h80v-56zm0 216h-80v56h64c8.8 0 16-7.2 16-16v-40zm-128 0h-96v56h96v-56zm-144 0H48v40c0 8.8 7.16 16 16 16h64v-56zm144-216h-96v56h96v-56z '/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 248h80v-56H48v56zm0 48v64h80v-64H48zm128 0v64h96v-64h-96zm144 0v64h80v-64h-80zm80-104h-80v56h80v-56zm0 216h-80v56h64c8.8 0 16-7.2 16-16v-40zm-128 0h-96v56h96v-56zm-144 0H48v40c0 8.8 7.16 16 16 16h64v-56zm144-216h-96v56h96v-56z '/%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-calendar-range::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M96 288c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm224 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-128-64c0-13.3 10.7-24 24-24h112c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24zm40 72c13.3 0 24 10.7 24 24s-10.7 24-24 24H120c-13.3 0-24-10.7-24-24s10.7-24 24-24h112zM152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 448c0 8.8 7.16 16 16 16h320c8.8 0 16-7.2 16-16V192H48v256z'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M96 288c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm224 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-128-64c0-13.3 10.7-24 24-24h112c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24zm40 72c13.3 0 24 10.7 24 24s-10.7 24-24 24H120c-13.3 0-24-10.7-24-24s10.7-24 24-24h112zM152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 448c0 8.8 7.16 16 16 16h320c8.8 0 16-7.2 16-16V192H48v256z'/%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-ellipsis::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z'/%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-grip-vertical::before {\n -webkit-mask-image: url(\"data:image/svg+xml, %3Csvg height='1em' viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z' /%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml, %3Csvg height='1em' viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z' /%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-next::before {\n background: none;\n border-bottom: 2px solid;\n border-left: 2px solid;\n content: \"\";\n display: block;\n height: 12px;\n margin-left: -10px;\n margin-top: 2px;\n transform: translate(75%) rotate(-135deg) scaleZ(-1);\n transition: transform 0.3s ease-in;\n width: 12px;\n}\ni.sg-icon.sg-icon-previous::before {\n background: none;\n border-bottom: 2px solid;\n border-left: 2px solid;\n content: \"\";\n display: block;\n height: 12px;\n margin-left: -4px;\n margin-top: 2px;\n transform: translate(75%) rotate(45deg) scaleZ(-1);\n transition: transform 0.3s ease-in;\n width: 12px;\n}\ni.sg-icon.sg-icon-ellipsis::before {\n margin-right: -2px;\n}\n\n@layer base, reset, transitional-styles;\n@layer transitional-styles {\n @layer _base, _ranks, _overrides;\n :host {\n display: inline-block;\n }\n @layer _base {\n .button {\n background-color: transparent;\n border: 0;\n cursor: pointer;\n font-family: inherit;\n padding: 0;\n padding-left: 1rem;\n padding-right: 1rem;\n padding-bottom: 0.75rem;\n padding-top: 0.75rem;\n border-radius: var(--sg-border-radius);\n border: solid var(--sg-border-width) var(--sg-border-color);\n font-weight: 500;\n min-height: 2.75rem;\n align-items: center;\n display: inline-flex;\n justify-content: center;\n box-sizing: border-box;\n font-size: inherit;\n overflow: hidden;\n display: flex;\n gap: 0.5rem;\n text-decoration: none;\n width: 100%;\n }\n .button:focus:not(:focus-visible) {\n box-shadow: none;\n outline: 0;\n }\n .button:focus, .button:focus-visible {\n outline-color: var(--gds-sys-color-focus-outline);\n outline-style: solid;\n outline-width: 0.125rem;\n outline-offset: 0.125rem;\n }\n @media (max-width: 35.98em) {\n .button {\n min-width: 100%;\n }\n }\n @media screen and (-ms-high-contrast: active) {\n .button {\n border: 2px solid currentcolor;\n }\n }\n .button.small {\n min-height: 2rem;\n padding: 0.4375rem 0.75rem;\n font-size: 0.875rem;\n line-height: 1rem;\n }\n .button.large {\n min-height: 4rem;\n padding: 1rem 1.5rem;\n font-size: 1.5rem;\n line-height: 2rem;\n }\n .button slot:not([name]) {\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n :host(:not([variant=ghost])) .button {\n transition: border 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;\n background: rgb(0, 122, 199);\n border-color: rgb(0, 122, 199);\n color: #fff;\n --color: #fff;\n }\n :host(:not([variant=ghost])) .button:not(:disabled, .disabled, [aria-disabled]):hover {\n background-color: rgb(25.4035777564, 154.8940067842, 227.221994169);\n color: rgb(255, 255, 255);\n --background: rgb(25.4035777564, 154.8940067842, 227.221994169);\n --color: rgb(255, 255, 255);\n border-color: rgb(25.4035777564, 154.8940067842, 227.221994169);\n }\n :host(:not([variant=ghost])) .button[aria-selected=true], :host(:not([variant=ghost])) .button:active, :host(:not([variant=ghost])) .button.active, :host(:not([variant=ghost])) .button.active:hover, :host(:not([variant=ghost])) .button:active:hover {\n background-color: rgb(0, 122, 199);\n color: rgb(255, 255, 255);\n --background: rgb(0, 122, 199);\n --color: rgb(255, 255, 255);\n border-color: rgb(0, 122, 199);\n }\n :host(:not([variant=ghost])) .button:focus-visible {\n background-color: rgb(25.4035777564, 154.8940067842, 227.221994169);\n color: rgb(255, 255, 255);\n --background: rgb(25.4035777564, 154.8940067842, 227.221994169);\n --color: rgb(255, 255, 255);\n border-color: rgb(25.4035777564, 154.8940067842, 227.221994169) !important;\n }\n :host(:not([variant=ghost])) .button:disabled, :host(:not([variant=ghost])) .button.disabled, :host(:not([variant=ghost])) .button[aria-disabled=true] {\n background: var(--form-control-primary-bg-disabled) !important;\n color: var(--text-primary-disabled-color) !important;\n border-color: var(--border-primary-disabled-color) !important;\n cursor: not-allowed;\n }\n :host(:not([variant=ghost])) .button:disabled::-moz-placeholder, :host(:not([variant=ghost])) .button.disabled::-moz-placeholder, :host(:not([variant=ghost])) .button[aria-disabled=true]::-moz-placeholder {\n color: var(--text-disabled-color);\n }\n :host(:not([variant=ghost])) .button:disabled::placeholder, :host(:not([variant=ghost])) .button.disabled::placeholder, :host(:not([variant=ghost])) .button[aria-disabled=true]::placeholder {\n color: var(--text-disabled-color);\n }\n :host([rank*=secondary]) .button {\n transition: border 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;\n background: transparent;\n border-color: rgb(0, 122, 199);\n color: rgb(0, 122, 199);\n --color: rgb(0, 122, 199);\n }\n :host([rank*=secondary]) .button:focus:not(:focus-visible) {\n box-shadow: none;\n outline: 0;\n }\n :host([rank*=secondary]) .button:focus, :host([rank*=secondary]) .button:focus-visible {\n outline-color: var(--gds-sys-color-focus-outline);\n outline-style: solid;\n outline-width: 0.125rem;\n outline-offset: 0.125rem;\n }\n :host([rank*=secondary]) .button:not(:disabled, .disabled, [aria-disabled]):hover {\n background-color: rgb(25.4035777564, 154.8940067842, 227.221994169);\n color: rgb(255, 255, 255);\n --background: rgb(25.4035777564, 154.8940067842, 227.221994169);\n --color: rgb(255, 255, 255);\n border-color: rgb(25.4035777564, 154.8940067842, 227.221994169);\n }\n :host([rank*=secondary]) .button[aria-selected=true], :host([rank*=secondary]) .button:active, :host([rank*=secondary]) .button.active, :host([rank*=secondary]) .button.active:hover, :host([rank*=secondary]) .button:active:hover {\n background-color: rgb(0, 122, 199);\n color: rgb(255, 255, 255);\n --background: rgb(0, 122, 199);\n --color: rgb(255, 255, 255);\n border-color: rgb(0, 122, 199);\n }\n :host([rank*=secondary]) .button:disabled, :host([rank*=secondary]) .button.disabled, :host([rank*=secondary]) .button[aria-disabled=true] {\n background: var(--sg-form-control-bg-disabled) !important;\n color: var(--text-disabled-color) !important;\n border-color: var(--border-disabled-color) !important;\n cursor: not-allowed;\n }\n :host([rank*=secondary]) .button:disabled::-moz-placeholder, :host([rank*=secondary]) .button.disabled::-moz-placeholder, :host([rank*=secondary]) .button[aria-disabled=true]::-moz-placeholder {\n color: var(--text-disabled-color);\n }\n :host([rank*=secondary]) .button:disabled::placeholder, :host([rank*=secondary]) .button.disabled::placeholder, :host([rank*=secondary]) .button[aria-disabled=true]::placeholder {\n color: var(--text-disabled-color);\n }\n :host([rank*=tertiary]) .button {\n transition: border 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;\n background: transparent;\n border-color: transparent;\n color: rgb(0, 122, 199);\n --color: rgb(0, 122, 199);\n }\n :host([rank*=tertiary]) .button:focus:not(:focus-visible) {\n box-shadow: none;\n outline: 0;\n }\n :host([rank*=tertiary]) .button:focus, :host([rank*=tertiary]) .button:focus-visible {\n outline-color: var(--gds-sys-color-focus-outline);\n outline-style: solid;\n outline-width: 0.125rem;\n outline-offset: 0.125rem;\n }\n :host([rank*=tertiary]) .button:not(:disabled, .disabled, [aria-disabled]):hover {\n background-color: rgb(25.4035777564, 154.8940067842, 227.221994169);\n color: rgb(255, 255, 255);\n --background: rgb(25.4035777564, 154.8940067842, 227.221994169);\n --color: rgb(255, 255, 255);\n border-color: rgb(25.4035777564, 154.8940067842, 227.221994169);\n }\n :host([rank*=tertiary]) .button[aria-selected=true], :host([rank*=tertiary]) .button:active, :host([rank*=tertiary]) .button.active, :host([rank*=tertiary]) .button.active:hover, :host([rank*=tertiary]) .button:active:hover {\n background-color: rgb(0, 122, 199);\n color: rgb(255, 255, 255);\n --background: rgb(0, 122, 199);\n --color: rgb(255, 255, 255);\n border-color: rgb(0, 122, 199);\n }\n :host([rank*=tertiary]) .button:disabled, :host([rank*=tertiary]) .button.disabled, :host([rank*=tertiary]) .button[aria-disabled=true] {\n background: var(--sg-form-control-bg-disabled) !important;\n color: var(--text-disabled-color) !important;\n border-color: var(--border-disabled-color) !important;\n cursor: not-allowed;\n }\n :host([rank*=tertiary]) .button:disabled::-moz-placeholder, :host([rank*=tertiary]) .button.disabled::-moz-placeholder, :host([rank*=tertiary]) .button[aria-disabled=true]::-moz-placeholder {\n color: var(--text-disabled-color);\n }\n :host([rank*=tertiary]) .button:disabled::placeholder, :host([rank*=tertiary]) .button.disabled::placeholder, :host([rank*=tertiary]) .button[aria-disabled=true]::placeholder {\n color: var(--text-disabled-color);\n }\n /* stylelint-disable */\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button,\n :host([variant=negative][rank=primary]) .button {\n background: rgb(187, 0, 12);\n border-color: rgb(187, 0, 12);\n color: #fff;\n --color: #fff;\n transition: border 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:not(:disabled, .disabled, [aria-disabled]):hover,\n :host([variant=negative][rank=primary]) .button:not(:disabled, .disabled, [aria-disabled]):hover {\n background-color: rgb(216, 26, 26);\n color: rgb(255, 255, 255);\n --background: rgb(216, 26, 26);\n --color: rgb(255, 255, 255);\n border-color: rgb(216, 26, 26);\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button[aria-selected=true], :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:active, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button.active, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button.active:hover, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:active:hover,\n :host([variant=negative][rank=primary]) .button[aria-selected=true],\n :host([variant=negative][rank=primary]) .button:active,\n :host([variant=negative][rank=primary]) .button.active,\n :host([variant=negative][rank=primary]) .button.active:hover,\n :host([variant=negative][rank=primary]) .button:active:hover {\n background-color: rgb(187, 0, 12);\n color: rgb(255, 255, 255);\n --background: rgb(187, 0, 12);\n --color: rgb(255, 255, 255);\n border-color: rgb(187, 0, 12);\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button[aria-selected]:hover, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button.active:hover, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:active:hover,\n :host([variant=negative][rank=primary]) .button[aria-selected]:hover,\n :host([variant=negative][rank=primary]) .button.active:hover,\n :host([variant=negative][rank=primary]) .button:active:hover {\n opacity: 0.9;\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:focus:not(:focus-visible),\n :host([variant=negative][rank=primary]) .button:focus:not(:focus-visible) {\n box-shadow: none;\n outline: 0;\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:focus, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:focus-visible,\n :host([variant=negative][rank=primary]) .button:focus,\n :host([variant=negative][rank=primary]) .button:focus-visible {\n outline-color: var(--gds-sys-color-focus-outline);\n outline-style: solid;\n outline-width: 0.125rem;\n outline-offset: 0.125rem;\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:disabled, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button.disabled, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button[aria-disabled=true],\n :host([variant=negative][rank=primary]) .button:disabled,\n :host([variant=negative][rank=primary]) .button.disabled,\n :host([variant=negative][rank=primary]) .button[aria-disabled=true] {\n background: var(--form-control-primary-bg-disabled) !important;\n color: var(--text-primary-disabled-color) !important;\n border-color: var(--border-primary-disabled-color) !important;\n cursor: not-allowed;\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:disabled::-moz-placeholder, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button.disabled::-moz-placeholder, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button[aria-disabled=true]::-moz-placeholder, :host([variant=negative][rank=primary]) .button:disabled::-moz-placeholder, :host([variant=negative][rank=primary]) .button.disabled::-moz-placeholder, :host([variant=negative][rank=primary]) .button[aria-disabled=true]::-moz-placeholder {\n color: var(--text-disabled-color);\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:disabled::placeholder, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button.disabled::placeholder, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button[aria-disabled=true]::placeholder,\n :host([variant=negative][rank=primary]) .button:disabled::placeholder,\n :host([variant=negative][rank=primary]) .button.disabled::placeholder,\n :host([variant=negative][rank=primary]) .button[aria-disabled=true]::placeholder {\n color: var(--text-disabled-color);\n }\n /* stylelint-enable */\n :host([variant=negative][rank=secondary]) .button,\n :host([variant=negative][rank=tertiary]) .button {\n color: rgb(187, 0, 12);\n --color: rgb(187, 0, 12);\n border-color: transparent;\n transition: border 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;\n }\n :host([variant=negative][rank=secondary]) .button:not(:disabled, .disabled, [aria-disabled]):hover,\n :host([variant=negative][rank=tertiary]) .button:not(:disabled, .disabled, [aria-disabled]):hover {\n background-color: rgb(216, 26, 26);\n color: rgb(255, 255, 255);\n --background: rgb(216, 26, 26);\n --color: rgb(255, 255, 255);\n border-color: rgb(216, 26, 26);\n }\n :host([variant=negative][rank=secondary]) .button[aria-selected=true], :host([variant=negative][rank=secondary]) .button:active, :host([variant=negative][rank=secondary]) .button.active, :host([variant=negative][rank=secondary]) .button.active:hover, :host([variant=negative][rank=secondary]) .button:active:hover,\n :host([variant=negative][rank=tertiary]) .button[aria-selected=true],\n :host([variant=negative][rank=tertiary]) .button:active,\n :host([variant=negative][rank=tertiary]) .button.active,\n :host([variant=negative][rank=tertiary]) .button.active:hover,\n :host([variant=negative][rank=tertiary]) .button:active:hover {\n background-color: rgb(187, 0, 12);\n color: rgb(255, 255, 255);\n --background: rgb(187, 0, 12);\n --color: rgb(255, 255, 255);\n border-color: rgb(187, 0, 12);\n }\n :host([variant=negative][rank=secondary]) .button[aria-selected]:hover, :host([variant=negative][rank=secondary]) .button.active:hover, :host([variant=negative][rank=secondary]) .button:active:hover,\n :host([variant=negative][rank=tertiary]) .button[aria-selected]:hover,\n :host([variant=negative][rank=tertiary]) .button.active:hover,\n :host([variant=negative][rank=tertiary]) .button:active:hover {\n opacity: 0.9;\n }\n :host([variant=negative][rank=secondary]) .button:focus:not(:focus-visible),\n :host([variant=negative][rank=tertiary]) .button:focus:not(:focus-visible) {\n box-shadow: none;\n outline: 0;\n }\n :host([variant=negative][rank=secondary]) .button:focus, :host([variant=negative][rank=secondary]) .button:focus-visible,\n :host([variant=negative][rank=tertiary]) .button:focus,\n :host([variant=negative][rank=tertiary]) .button:focus-visible {\n outline-color: var(--gds-sys-color-focus-outline);\n outline-style: solid;\n outline-width: 0.125rem;\n outline-offset: 0.125rem;\n }\n :host([variant=negative][rank=secondary]) .button {\n border-color: rgb(187, 0, 12);\n }\n :host([variant=ghost]) .button {\n transition: border 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;\n border-color: rgb(51, 51, 51);\n color: rgb(51, 51, 51);\n --color: rgb(51, 51, 51);\n }\n :host([variant=ghost]) .button:not(:disabled, .disabled, [aria-disabled]):hover {\n background-color: rgb(51, 51, 51);\n color: rgb(255, 255, 255);\n --background: rgb(51, 51, 51);\n --color: rgb(255, 255, 255);\n border-color: rgb(51, 51, 51);\n }\n :host([variant=ghost]) .button[aria-selected=true], :host([variant=ghost]) .button:active, :host([variant=ghost]) .button.active, :host([variant=ghost]) .button.active:hover, :host([variant=ghost]) .button:active:hover {\n background-color: rgb(51, 51, 51);\n color: rgb(255, 255, 255);\n --background: rgb(51, 51, 51);\n --color: rgb(255, 255, 255);\n border-color: rgb(51, 51, 51);\n }\n :host([variant=ghost]) .button[aria-selected]:hover, :host([variant=ghost]) .button.active:hover, :host([variant=ghost]) .button:active:hover {\n opacity: 0.9;\n }\n :host([variant=ghost]) .button:focus-visible {\n background-color: rgb(51, 51, 51);\n color: rgb(255, 255, 255);\n --background: rgb(51, 51, 51);\n --color: rgb(255, 255, 255);\n border-color: rgb(51, 51, 51) !important;\n }\n :host([variant=ghost]) .button:disabled, :host([variant=ghost]) .button.disabled, :host([variant=ghost]) .button[aria-disabled=true] {\n color: var(--text-disabled-color) !important;\n border-color: var(--border-disabled-color) !important;\n cursor: not-allowed;\n }\n :host([variant=ghost]) .button:disabled::-moz-placeholder, :host([variant=ghost]) .button.disabled::-moz-placeholder, :host([variant=ghost]) .button[aria-disabled=true]::-moz-placeholder {\n color: var(--text-disabled-color);\n }\n :host([variant=ghost]) .button:disabled::placeholder, :host([variant=ghost]) .button.disabled::placeholder, :host([variant=ghost]) .button[aria-disabled=true]::placeholder {\n color: var(--text-disabled-color);\n }\n }\n @layer _overrides {\n :host .button.icon {\n padding: 0.75rem;\n background: transparent;\n border-width: 0px;\n color: currentColor;\n }\n :host .button.icon:hover {\n color: currentColor;\n background: var(--grey-500);\n }\n :host .button.icon slot {\n display: contents;\n }\n .button.icon.xs {\n min-height: 1.5rem;\n line-height: 0.75rem;\n padding: 0.25rem;\n }\n .button.icon.small {\n padding: 0.5rem;\n }\n .button.icon.large {\n padding: 1rem;\n }\n }\n}";
1
+ const styles = "/* stylelint-disable max-nesting-depth */\n/* stylelint-enable max-nesting-depth */\n/**\n * Calculate the luminance for a color.\n * See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n */\n/**\n * Calculate the contrast ratio between two colors.\n * See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n */\n/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable */\n/**\n* @deprecated\n* Use `add-focus` instead\n*/\n/** add background color, color and border-color to element when it has focus-visible i.e. tab focus */\ni.sg-icon {\n font-size: 0;\n width: 1rem;\n height: 1rem;\n display: inline-block;\n}\ni.sg-icon::before {\n content: \"\";\n display: inline-block;\n background: var(--color);\n width: 100%;\n height: 100%;\n -webkit-mask-repeat: no-repeat;\n mask-repeat: no-repeat;\n}\ni.sg-icon.sg-icon-calendar::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 248h80v-56H48v56zm0 48v64h80v-64H48zm128 0v64h96v-64h-96zm144 0v64h80v-64h-80zm80-104h-80v56h80v-56zm0 216h-80v56h64c8.8 0 16-7.2 16-16v-40zm-128 0h-96v56h96v-56zm-144 0H48v40c0 8.8 7.16 16 16 16h64v-56zm144-216h-96v56h96v-56z '/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 248h80v-56H48v56zm0 48v64h80v-64H48zm128 0v64h96v-64h-96zm144 0v64h80v-64h-80zm80-104h-80v56h80v-56zm0 216h-80v56h64c8.8 0 16-7.2 16-16v-40zm-128 0h-96v56h96v-56zm-144 0H48v40c0 8.8 7.16 16 16 16h64v-56zm144-216h-96v56h96v-56z '/%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-calendar-range::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M96 288c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm224 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-128-64c0-13.3 10.7-24 24-24h112c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24zm40 72c13.3 0 24 10.7 24 24s-10.7 24-24 24H120c-13.3 0-24-10.7-24-24s10.7-24 24-24h112zM152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 448c0 8.8 7.16 16 16 16h320c8.8 0 16-7.2 16-16V192H48v256z'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M96 288c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm224 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-128-64c0-13.3 10.7-24 24-24h112c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24zm40 72c13.3 0 24 10.7 24 24s-10.7 24-24 24H120c-13.3 0-24-10.7-24-24s10.7-24 24-24h112zM152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 448c0 8.8 7.16 16 16 16h320c8.8 0 16-7.2 16-16V192H48v256z'/%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-ellipsis::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z'/%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-grip-vertical::before {\n -webkit-mask-image: url(\"data:image/svg+xml, %3Csvg height='1em' viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z' /%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml, %3Csvg height='1em' viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z' /%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-next::before {\n background: none;\n border-bottom: 2px solid;\n border-left: 2px solid;\n content: \"\";\n display: block;\n height: 12px;\n margin-left: -10px;\n margin-top: 2px;\n transform: translate(75%) rotate(-135deg) scaleZ(-1);\n transition: transform 0.3s ease-in;\n width: 12px;\n}\ni.sg-icon.sg-icon-previous::before {\n background: none;\n border-bottom: 2px solid;\n border-left: 2px solid;\n content: \"\";\n display: block;\n height: 12px;\n margin-left: -4px;\n margin-top: 2px;\n transform: translate(75%) rotate(45deg) scaleZ(-1);\n transition: transform 0.3s ease-in;\n width: 12px;\n}\ni.sg-icon.sg-icon-ellipsis::before {\n margin-right: -2px;\n}\n\n@layer base, reset, transitional-styles;\n@layer transitional-styles {\n @layer _base, _ranks, _overrides;\n :host {\n display: inline-block;\n }\n @layer _base {\n .button {\n background-color: transparent;\n border: 0;\n cursor: pointer;\n font-family: inherit;\n padding: 0;\n padding-left: 1rem;\n padding-right: 1rem;\n padding-bottom: 0.75rem;\n padding-top: 0.75rem;\n border-radius: var(--sg-border-radius);\n border: solid var(--sg-border-width) var(--sg-border-color);\n font-weight: 500;\n }\n .button:focus:not(:focus-visible) {\n box-shadow: none;\n outline: 0;\n }\n .button:focus, .button:focus-visible {\n outline-color: var(--gds-sys-color-focus-outline);\n outline-style: solid;\n outline-width: 0.125rem;\n outline-offset: 0.125rem;\n }\n .button {\n min-height: 2.75rem;\n align-items: center;\n display: inline-flex;\n justify-content: center;\n }\n @media (max-width: 35.98em) {\n .button {\n min-width: 100%;\n }\n }\n @media screen and (-ms-high-contrast: active) {\n .button {\n border: 2px solid currentcolor;\n }\n }\n .button.small {\n min-height: 2rem;\n padding: 0.4375rem 0.75rem;\n font-size: 0.875rem;\n line-height: 1rem;\n }\n .button.large {\n min-height: 4rem;\n padding: 1rem 1.5rem;\n font-size: 1.5rem;\n line-height: 2rem;\n }\n .button {\n box-sizing: border-box;\n font-size: inherit;\n overflow: hidden;\n display: flex;\n gap: 0.5rem;\n text-decoration: none;\n width: 100%;\n }\n .button slot:not([name]) {\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n :host(:not([variant=ghost])) .button {\n transition: border 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;\n }\n :host(:not([variant=ghost])) .button:not(:disabled, .disabled, [aria-disabled]):hover {\n background-color: rgb(25.4035777564, 154.8940067842, 227.221994169);\n color: rgb(255, 255, 255);\n --background: rgb(25.4035777564, 154.8940067842, 227.221994169);\n --color: rgb(255, 255, 255);\n border-color: rgb(25.4035777564, 154.8940067842, 227.221994169);\n }\n :host(:not([variant=ghost])) .button[aria-selected=true], :host(:not([variant=ghost])) .button:active, :host(:not([variant=ghost])) .button.active, :host(:not([variant=ghost])) .button.active:hover, :host(:not([variant=ghost])) .button:active:hover {\n background-color: rgb(0, 122, 199);\n color: rgb(255, 255, 255);\n --background: rgb(0, 122, 199);\n --color: rgb(255, 255, 255);\n border-color: rgb(0, 122, 199);\n }\n :host(:not([variant=ghost])) .button:focus-visible {\n background-color: rgb(25.4035777564, 154.8940067842, 227.221994169);\n color: rgb(255, 255, 255);\n --background: rgb(25.4035777564, 154.8940067842, 227.221994169);\n --color: rgb(255, 255, 255);\n border-color: rgb(25.4035777564, 154.8940067842, 227.221994169) !important;\n }\n :host(:not([variant=ghost])) .button {\n background: rgb(0, 122, 199);\n border-color: rgb(0, 122, 199);\n color: #fff;\n --color: #fff;\n }\n :host(:not([variant=ghost])) .button:disabled, :host(:not([variant=ghost])) .button.disabled, :host(:not([variant=ghost])) .button[aria-disabled=true] {\n background: var(--form-control-primary-bg-disabled) !important;\n color: var(--text-primary-disabled-color) !important;\n border-color: var(--border-primary-disabled-color) !important;\n cursor: not-allowed;\n }\n :host(:not([variant=ghost])) .button:disabled::-moz-placeholder, :host(:not([variant=ghost])) .button.disabled::-moz-placeholder, :host(:not([variant=ghost])) .button[aria-disabled=true]::-moz-placeholder {\n color: var(--text-disabled-color);\n }\n :host(:not([variant=ghost])) .button:disabled::placeholder, :host(:not([variant=ghost])) .button.disabled::placeholder, :host(:not([variant=ghost])) .button[aria-disabled=true]::placeholder {\n color: var(--text-disabled-color);\n }\n :host([rank*=secondary]) .button:focus:not(:focus-visible) {\n box-shadow: none;\n outline: 0;\n }\n :host([rank*=secondary]) .button:focus, :host([rank*=secondary]) .button:focus-visible {\n outline-color: var(--gds-sys-color-focus-outline);\n outline-style: solid;\n outline-width: 0.125rem;\n outline-offset: 0.125rem;\n }\n :host([rank*=secondary]) .button {\n transition: border 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;\n }\n :host([rank*=secondary]) .button:not(:disabled, .disabled, [aria-disabled]):hover {\n background-color: rgb(25.4035777564, 154.8940067842, 227.221994169);\n color: rgb(255, 255, 255);\n --background: rgb(25.4035777564, 154.8940067842, 227.221994169);\n --color: rgb(255, 255, 255);\n border-color: rgb(25.4035777564, 154.8940067842, 227.221994169);\n }\n :host([rank*=secondary]) .button[aria-selected=true], :host([rank*=secondary]) .button:active, :host([rank*=secondary]) .button.active, :host([rank*=secondary]) .button.active:hover, :host([rank*=secondary]) .button:active:hover {\n background-color: rgb(0, 122, 199);\n color: rgb(255, 255, 255);\n --background: rgb(0, 122, 199);\n --color: rgb(255, 255, 255);\n border-color: rgb(0, 122, 199);\n }\n :host([rank*=secondary]) .button {\n background: transparent;\n border-color: rgb(0, 122, 199);\n color: rgb(0, 122, 199);\n --color: rgb(0, 122, 199);\n }\n :host([rank*=secondary]) .button:disabled, :host([rank*=secondary]) .button.disabled, :host([rank*=secondary]) .button[aria-disabled=true] {\n background: var(--sg-form-control-bg-disabled) !important;\n color: var(--text-disabled-color) !important;\n border-color: var(--border-disabled-color) !important;\n cursor: not-allowed;\n }\n :host([rank*=secondary]) .button:disabled::-moz-placeholder, :host([rank*=secondary]) .button.disabled::-moz-placeholder, :host([rank*=secondary]) .button[aria-disabled=true]::-moz-placeholder {\n color: var(--text-disabled-color);\n }\n :host([rank*=secondary]) .button:disabled::placeholder, :host([rank*=secondary]) .button.disabled::placeholder, :host([rank*=secondary]) .button[aria-disabled=true]::placeholder {\n color: var(--text-disabled-color);\n }\n :host([rank*=tertiary]) .button:focus:not(:focus-visible) {\n box-shadow: none;\n outline: 0;\n }\n :host([rank*=tertiary]) .button:focus, :host([rank*=tertiary]) .button:focus-visible {\n outline-color: var(--gds-sys-color-focus-outline);\n outline-style: solid;\n outline-width: 0.125rem;\n outline-offset: 0.125rem;\n }\n :host([rank*=tertiary]) .button {\n transition: border 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;\n }\n :host([rank*=tertiary]) .button:not(:disabled, .disabled, [aria-disabled]):hover {\n background-color: rgb(25.4035777564, 154.8940067842, 227.221994169);\n color: rgb(255, 255, 255);\n --background: rgb(25.4035777564, 154.8940067842, 227.221994169);\n --color: rgb(255, 255, 255);\n border-color: rgb(25.4035777564, 154.8940067842, 227.221994169);\n }\n :host([rank*=tertiary]) .button[aria-selected=true], :host([rank*=tertiary]) .button:active, :host([rank*=tertiary]) .button.active, :host([rank*=tertiary]) .button.active:hover, :host([rank*=tertiary]) .button:active:hover {\n background-color: rgb(0, 122, 199);\n color: rgb(255, 255, 255);\n --background: rgb(0, 122, 199);\n --color: rgb(255, 255, 255);\n border-color: rgb(0, 122, 199);\n }\n :host([rank*=tertiary]) .button {\n background: transparent;\n border-color: transparent;\n color: rgb(0, 122, 199);\n --color: rgb(0, 122, 199);\n }\n :host([rank*=tertiary]) .button:disabled, :host([rank*=tertiary]) .button.disabled, :host([rank*=tertiary]) .button[aria-disabled=true] {\n background: var(--sg-form-control-bg-disabled) !important;\n color: var(--text-disabled-color) !important;\n border-color: var(--border-disabled-color) !important;\n cursor: not-allowed;\n }\n :host([rank*=tertiary]) .button:disabled::-moz-placeholder, :host([rank*=tertiary]) .button.disabled::-moz-placeholder, :host([rank*=tertiary]) .button[aria-disabled=true]::-moz-placeholder {\n color: var(--text-disabled-color);\n }\n :host([rank*=tertiary]) .button:disabled::placeholder, :host([rank*=tertiary]) .button.disabled::placeholder, :host([rank*=tertiary]) .button[aria-disabled=true]::placeholder {\n color: var(--text-disabled-color);\n }\n /* stylelint-disable */\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button,\n :host([variant=negative][rank=primary]) .button {\n background: rgb(187, 0, 12);\n border-color: rgb(187, 0, 12);\n color: #fff;\n --color: #fff;\n transition: border 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:not(:disabled, .disabled, [aria-disabled]):hover,\n :host([variant=negative][rank=primary]) .button:not(:disabled, .disabled, [aria-disabled]):hover {\n background-color: rgb(216, 26, 26);\n color: rgb(255, 255, 255);\n --background: rgb(216, 26, 26);\n --color: rgb(255, 255, 255);\n border-color: rgb(216, 26, 26);\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button[aria-selected=true], :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:active, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button.active, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button.active:hover, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:active:hover,\n :host([variant=negative][rank=primary]) .button[aria-selected=true],\n :host([variant=negative][rank=primary]) .button:active,\n :host([variant=negative][rank=primary]) .button.active,\n :host([variant=negative][rank=primary]) .button.active:hover,\n :host([variant=negative][rank=primary]) .button:active:hover {\n background-color: rgb(187, 0, 12);\n color: rgb(255, 255, 255);\n --background: rgb(187, 0, 12);\n --color: rgb(255, 255, 255);\n border-color: rgb(187, 0, 12);\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button[aria-selected]:hover, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button.active:hover, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:active:hover,\n :host([variant=negative][rank=primary]) .button[aria-selected]:hover,\n :host([variant=negative][rank=primary]) .button.active:hover,\n :host([variant=negative][rank=primary]) .button:active:hover {\n opacity: 0.9;\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:focus:not(:focus-visible),\n :host([variant=negative][rank=primary]) .button:focus:not(:focus-visible) {\n box-shadow: none;\n outline: 0;\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:focus, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:focus-visible,\n :host([variant=negative][rank=primary]) .button:focus,\n :host([variant=negative][rank=primary]) .button:focus-visible {\n outline-color: var(--gds-sys-color-focus-outline);\n outline-style: solid;\n outline-width: 0.125rem;\n outline-offset: 0.125rem;\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:disabled, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button.disabled, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button[aria-disabled=true],\n :host([variant=negative][rank=primary]) .button:disabled,\n :host([variant=negative][rank=primary]) .button.disabled,\n :host([variant=negative][rank=primary]) .button[aria-disabled=true] {\n background: var(--form-control-primary-bg-disabled) !important;\n color: var(--text-primary-disabled-color) !important;\n border-color: var(--border-primary-disabled-color) !important;\n cursor: not-allowed;\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:disabled::-moz-placeholder, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button.disabled::-moz-placeholder, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button[aria-disabled=true]::-moz-placeholder, :host([variant=negative][rank=primary]) .button:disabled::-moz-placeholder, :host([variant=negative][rank=primary]) .button.disabled::-moz-placeholder, :host([variant=negative][rank=primary]) .button[aria-disabled=true]::-moz-placeholder {\n color: var(--text-disabled-color);\n }\n :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button:disabled::placeholder, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button.disabled::placeholder, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) .button[aria-disabled=true]::placeholder,\n :host([variant=negative][rank=primary]) .button:disabled::placeholder,\n :host([variant=negative][rank=primary]) .button.disabled::placeholder,\n :host([variant=negative][rank=primary]) .button[aria-disabled=true]::placeholder {\n color: var(--text-disabled-color);\n }\n /* stylelint-enable */\n :host([variant=negative][rank=secondary]) .button,\n :host([variant=negative][rank=tertiary]) .button {\n color: rgb(187, 0, 12);\n --color: rgb(187, 0, 12);\n border-color: transparent;\n transition: border 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;\n }\n :host([variant=negative][rank=secondary]) .button:not(:disabled, .disabled, [aria-disabled]):hover,\n :host([variant=negative][rank=tertiary]) .button:not(:disabled, .disabled, [aria-disabled]):hover {\n background-color: rgb(216, 26, 26);\n color: rgb(255, 255, 255);\n --background: rgb(216, 26, 26);\n --color: rgb(255, 255, 255);\n border-color: rgb(216, 26, 26);\n }\n :host([variant=negative][rank=secondary]) .button[aria-selected=true], :host([variant=negative][rank=secondary]) .button:active, :host([variant=negative][rank=secondary]) .button.active, :host([variant=negative][rank=secondary]) .button.active:hover, :host([variant=negative][rank=secondary]) .button:active:hover,\n :host([variant=negative][rank=tertiary]) .button[aria-selected=true],\n :host([variant=negative][rank=tertiary]) .button:active,\n :host([variant=negative][rank=tertiary]) .button.active,\n :host([variant=negative][rank=tertiary]) .button.active:hover,\n :host([variant=negative][rank=tertiary]) .button:active:hover {\n background-color: rgb(187, 0, 12);\n color: rgb(255, 255, 255);\n --background: rgb(187, 0, 12);\n --color: rgb(255, 255, 255);\n border-color: rgb(187, 0, 12);\n }\n :host([variant=negative][rank=secondary]) .button[aria-selected]:hover, :host([variant=negative][rank=secondary]) .button.active:hover, :host([variant=negative][rank=secondary]) .button:active:hover,\n :host([variant=negative][rank=tertiary]) .button[aria-selected]:hover,\n :host([variant=negative][rank=tertiary]) .button.active:hover,\n :host([variant=negative][rank=tertiary]) .button:active:hover {\n opacity: 0.9;\n }\n :host([variant=negative][rank=secondary]) .button:focus:not(:focus-visible),\n :host([variant=negative][rank=tertiary]) .button:focus:not(:focus-visible) {\n box-shadow: none;\n outline: 0;\n }\n :host([variant=negative][rank=secondary]) .button:focus, :host([variant=negative][rank=secondary]) .button:focus-visible,\n :host([variant=negative][rank=tertiary]) .button:focus,\n :host([variant=negative][rank=tertiary]) .button:focus-visible {\n outline-color: var(--gds-sys-color-focus-outline);\n outline-style: solid;\n outline-width: 0.125rem;\n outline-offset: 0.125rem;\n }\n :host([variant=negative][rank=secondary]) .button {\n border-color: rgb(187, 0, 12);\n }\n :host([variant=ghost]) .button {\n transition: border 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;\n }\n :host([variant=ghost]) .button:not(:disabled, .disabled, [aria-disabled]):hover {\n background-color: rgb(51, 51, 51);\n color: rgb(255, 255, 255);\n --background: rgb(51, 51, 51);\n --color: rgb(255, 255, 255);\n border-color: rgb(51, 51, 51);\n }\n :host([variant=ghost]) .button[aria-selected=true], :host([variant=ghost]) .button:active, :host([variant=ghost]) .button.active, :host([variant=ghost]) .button.active:hover, :host([variant=ghost]) .button:active:hover {\n background-color: rgb(51, 51, 51);\n color: rgb(255, 255, 255);\n --background: rgb(51, 51, 51);\n --color: rgb(255, 255, 255);\n border-color: rgb(51, 51, 51);\n }\n :host([variant=ghost]) .button[aria-selected]:hover, :host([variant=ghost]) .button.active:hover, :host([variant=ghost]) .button:active:hover {\n opacity: 0.9;\n }\n :host([variant=ghost]) .button:focus-visible {\n background-color: rgb(51, 51, 51);\n color: rgb(255, 255, 255);\n --background: rgb(51, 51, 51);\n --color: rgb(255, 255, 255);\n border-color: rgb(51, 51, 51) !important;\n }\n :host([variant=ghost]) .button {\n border-color: rgb(51, 51, 51);\n color: rgb(51, 51, 51);\n --color: rgb(51, 51, 51);\n }\n :host([variant=ghost]) .button:disabled, :host([variant=ghost]) .button.disabled, :host([variant=ghost]) .button[aria-disabled=true] {\n color: var(--text-disabled-color) !important;\n border-color: var(--border-disabled-color) !important;\n cursor: not-allowed;\n }\n :host([variant=ghost]) .button:disabled::-moz-placeholder, :host([variant=ghost]) .button.disabled::-moz-placeholder, :host([variant=ghost]) .button[aria-disabled=true]::-moz-placeholder {\n color: var(--text-disabled-color);\n }\n :host([variant=ghost]) .button:disabled::placeholder, :host([variant=ghost]) .button.disabled::placeholder, :host([variant=ghost]) .button[aria-disabled=true]::placeholder {\n color: var(--text-disabled-color);\n }\n }\n @layer _overrides {\n :host .button.icon {\n padding: 0.75rem;\n background: transparent;\n border-width: 0px;\n color: currentColor;\n }\n :host .button.icon:hover {\n color: currentColor;\n background: var(--grey-500);\n }\n :host .button.icon slot {\n display: contents;\n }\n .button.icon.xs {\n min-height: 1.5rem;\n line-height: 0.75rem;\n padding: 0.25rem;\n }\n .button.icon.small {\n padding: 0.5rem;\n }\n .button.icon.large {\n padding: 1rem;\n }\n }\n}";
2
2
  export default styles;
@@ -1,2 +1,2 @@
1
- const styles = "/* stylelint-disable max-nesting-depth */\n/* stylelint-enable max-nesting-depth */\n/**\n * Calculate the luminance for a color.\n * See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n */\n/**\n * Calculate the contrast ratio between two colors.\n * See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n */\n/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable */\n/**\n* @deprecated\n* Use `add-focus` instead\n*/\n/** add background color, color and border-color to element when it has focus-visible i.e. tab focus */\n/* medium */\n/* regular */\n/* regular */\n/* regular */\n/* hover */\n/* focus */\n/* selected */\n/* highlighted */\n/* active */\n/* disabled */\n/* today */\n/* weekend */\n@layer base, reset, transitional-styles;\n@layer transitional-styles {\n @layer _base {\n :host {\n display: flex;\n justify-content: center;\n }\n @media (max-width: 35.98em) {\n :host {\n flex-wrap: wrap;\n overflow-y: auto;\n }\n }\n :host table {\n border-spacing: 0;\n }\n :host th,\n :host td {\n box-sizing: border-box;\n height: 2.75rem;\n text-align: center;\n width: 2.75rem;\n }\n :host thead {\n /* days */\n }\n :host thead th {\n background: var(--sg-bg-level-2);\n border-bottom: solid 1px var(--sg-grey-300);\n font-weight: 400;\n top: 0;\n }\n @media (max-width: 35.98em) {\n :host thead th {\n position: sticky;\n }\n }\n :host tbody {\n /* week numbers */\n /* dates */\n }\n :host tbody th {\n font-weight: 400;\n }\n :host tbody td {\n border: solid 1px transparent;\n font-weight: 500;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n /* weekend */\n /* today */\n /* hover */\n /* focus */\n /* selected */\n /* highlighted */\n /* active (pressed) */\n /* disabled */\n }\n :host tbody td.sg-date-holiday:not(.disabled) {\n background: var(--sg-bg-level-2);\n color: hsl(var(--sg-hsl-red-2));\n }\n :host tbody td.today {\n background: transparent;\n border-radius: 4px;\n box-shadow: inset 0 0 0 2px var(--grey-1000);\n color: var(--grey-1000);\n }\n :host tbody td:hover:not(.disabled) {\n background: var(--grey-500);\n border: solid 1px var(--sg-bg-level-2);\n border-radius: 4px;\n color: var(--gds-sys-color-font);\n cursor: pointer;\n }\n :host tbody td:focus-visible:focus:not(:focus-visible) {\n box-shadow: none;\n outline: 0;\n }\n :host tbody td:focus-visible:focus, :host tbody td:focus-visible:focus-visible {\n outline-color: var(--gds-sys-color-focus-outline);\n outline-style: solid;\n outline-width: 0.125rem;\n outline-offset: 0.125rem;\n }\n :host tbody td:focus-visible:not(.disabled) {\n border: solid 1px var(--sg-bg-level-2);\n border-radius: 4px;\n cursor: pointer;\n position: relative;\n z-index: 0;\n }\n :host tbody td[aria-selected=true] {\n background: var(--grey-1000);\n border: solid 1px var(--sg-bg-level-2);\n border-radius: 4px;\n color: hsl(var(--sg-hsl-white));\n }\n :host tbody td[tabindex=\"0\"] {\n border-radius: 4px;\n }\n :host tbody td:hover:active:not(.disabled) {\n background: var(--grey-1000);\n border: solid 1px var(--sg-bg-level-2);\n border-radius: 4px;\n color: hsl(var(--sg-hsl-white));\n }\n :host tbody td.disabled {\n background: hsl(var(--sg-hsl-disabled-background));\n border: solid 1px var(--sg-bg-level-2);\n border-radius: 4px;\n color: hsl(var(--sg-hsl-disabled-color));\n cursor: not-allowed;\n font-weight: 400;\n }\n :host tbody td.disabled.sg-date-holiday {\n color: hsla(var(--sg-hsl-red-2), 0.25);\n }\n :host tbody td.disabled .number,\n :host tbody td.disabled .indicator-dot {\n --_color: hsl(var(--sg-hsl-disabled-color)) !important;\n }\n :host tbody td.custom-date {\n position: relative;\n }\n :host tbody .number {\n color: var(--_color, \"currentColor\");\n }\n :host tbody .indicator-dot {\n display: block;\n width: 0.375rem;\n height: 0.375rem;\n top: 1.5rem;\n border-radius: 50%;\n margin: auto;\n position: absolute;\n inset-block-end: 0.125rem;\n inset-inline: 0;\n background-color: var(--_color);\n }\n :host table {\n flex-grow: 1;\n width: 100%;\n }\n :host table td {\n width: 3rem;\n height: 3rem;\n }\n }\n @layer _modifiers {\n .week-number {\n border-right: solid 1px var(--gds-ref-pallet-base300);\n font-weight: 400;\n pointer-events: none;\n }\n }\n}";
1
+ const styles = "/* stylelint-disable max-nesting-depth */\n/* stylelint-enable max-nesting-depth */\n/**\n * Calculate the luminance for a color.\n * See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n */\n/**\n * Calculate the contrast ratio between two colors.\n * See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n */\n/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable */\n/**\n* @deprecated\n* Use `add-focus` instead\n*/\n/** add background color, color and border-color to element when it has focus-visible i.e. tab focus */\n/* medium */\n/* regular */\n/* regular */\n/* regular */\n/* hover */\n/* focus */\n/* selected */\n/* highlighted */\n/* active */\n/* disabled */\n/* today */\n/* weekend */\n@layer base, reset, transitional-styles;\n@layer transitional-styles {\n @layer _base {\n :host {\n display: flex;\n justify-content: center;\n }\n @media (max-width: 35.98em) {\n :host {\n flex-wrap: wrap;\n overflow-y: auto;\n }\n }\n :host table {\n border-spacing: 0;\n }\n :host th,\n :host td {\n box-sizing: border-box;\n height: 2.75rem;\n text-align: center;\n width: 2.75rem;\n }\n :host thead {\n /* days */\n }\n :host thead th {\n background: var(--sg-bg-level-2);\n border-bottom: solid 1px var(--sg-grey-300);\n font-weight: 400;\n top: 0;\n }\n @media (max-width: 35.98em) {\n :host thead th {\n position: sticky;\n }\n }\n :host tbody {\n /* week numbers */\n }\n :host tbody th {\n font-weight: 400;\n }\n :host tbody {\n /* dates */\n }\n :host tbody td {\n border: solid 1px transparent;\n font-weight: 500;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n /* weekend */\n }\n :host tbody td.sg-date-holiday:not(.disabled) {\n background: var(--sg-bg-level-2);\n color: hsl(var(--sg-hsl-red-2));\n }\n :host tbody td {\n /* today */\n }\n :host tbody td.today {\n background: transparent;\n border-radius: 4px;\n box-shadow: inset 0 0 0 2px var(--grey-1000);\n color: var(--grey-1000);\n }\n :host tbody td {\n /* hover */\n }\n :host tbody td:hover:not(.disabled) {\n background: var(--grey-500);\n border: solid 1px var(--sg-bg-level-2);\n border-radius: 4px;\n color: var(--gds-sys-color-font);\n cursor: pointer;\n }\n :host tbody td {\n /* focus */\n }\n :host tbody td:focus-visible:focus:not(:focus-visible) {\n box-shadow: none;\n outline: 0;\n }\n :host tbody td:focus-visible:focus, :host tbody td:focus-visible:focus-visible {\n outline-color: var(--gds-sys-color-focus-outline);\n outline-style: solid;\n outline-width: 0.125rem;\n outline-offset: 0.125rem;\n }\n :host tbody td:focus-visible:not(.disabled) {\n border: solid 1px var(--sg-bg-level-2);\n border-radius: 4px;\n cursor: pointer;\n position: relative;\n z-index: 0;\n }\n :host tbody td {\n /* selected */\n }\n :host tbody td[aria-selected=true] {\n background: var(--grey-1000);\n border: solid 1px var(--sg-bg-level-2);\n border-radius: 4px;\n color: hsl(var(--sg-hsl-white));\n }\n :host tbody td {\n /* highlighted */\n }\n :host tbody td[tabindex=\"0\"] {\n border-radius: 4px;\n }\n :host tbody td {\n /* active (pressed) */\n }\n :host tbody td:hover:active:not(.disabled) {\n background: var(--grey-1000);\n border: solid 1px var(--sg-bg-level-2);\n border-radius: 4px;\n color: hsl(var(--sg-hsl-white));\n }\n :host tbody td {\n /* disabled */\n }\n :host tbody td.disabled {\n background: hsl(var(--sg-hsl-disabled-background));\n border: solid 1px var(--sg-bg-level-2);\n border-radius: 4px;\n color: hsl(var(--sg-hsl-disabled-color));\n cursor: not-allowed;\n font-weight: 400;\n }\n :host tbody td.disabled.sg-date-holiday {\n color: hsla(var(--sg-hsl-red-2), 0.25);\n }\n :host tbody td.disabled .number,\n :host tbody td.disabled .indicator-dot {\n --_color: hsl(var(--sg-hsl-disabled-color)) !important;\n }\n :host tbody td.custom-date {\n position: relative;\n }\n :host tbody .number {\n color: var(--_color, \"currentColor\");\n }\n :host tbody .indicator-dot {\n display: block;\n width: 0.375rem;\n height: 0.375rem;\n top: 1.5rem;\n border-radius: 50%;\n margin: auto;\n position: absolute;\n inset-block-end: 0.125rem;\n inset-inline: 0;\n background-color: var(--_color);\n }\n :host table {\n flex-grow: 1;\n width: 100%;\n }\n :host table td {\n width: 3rem;\n height: 3rem;\n }\n }\n @layer _modifiers {\n .week-number {\n border-right: solid 1px var(--gds-ref-pallet-base300);\n font-weight: 400;\n pointer-events: none;\n }\n }\n}";
2
2
  export default styles;
@@ -42,39 +42,41 @@ let GdsCheckbox = class extends GdsFormControlElement {
42
42
  }
43
43
  render() {
44
44
  return html`
45
- <input
46
- type="checkbox"
47
- ?checked=${this.checked}
48
- ?disabled=${this.disabled}
49
- ?indeterminate=${this.indeterminate}
50
- aria-invalid=${this.invalid}
51
- aria-describedby="message supporting-text"
52
- id="checkbox-input"
53
- @change=${() => {
45
+ <input
46
+ type="checkbox"
47
+ class="visually-hidden-checkbox"
48
+ ?checked=${this.checked}
49
+ ?disabled=${this.disabled}
50
+ ?indeterminate=${this.indeterminate}
51
+ aria-invalid=${this.invalid}
52
+ aria-describedby="message supporting-text"
53
+ id="checkbox-input"
54
+ @change=${() => {
54
55
  this.checked = this._elCheckbox.checked;
55
56
  __privateMethod(this, _GdsCheckbox_instances, dispatchChangeEvents_fn).call(this);
56
57
  }}
57
- />
58
- ${when(
58
+ />
59
+ ${when(
59
60
  this.errorMessage,
60
61
  () => html`<span id="message">${this.errorMessage}</span>`
61
62
  )}
62
- <gds-toggle-control-base type="checkbox" @click=${__privateMethod(this, _GdsCheckbox_instances, toggleChecked_fn)}>
63
- <label for="checkbox-input" slot="label"> ${this.label} </label>
64
- <span
65
- slot="supporting-text"
66
- class="supporting-text"
67
- id="supporting-text"
68
- >
69
- ${this.supportingText}
70
- </span>
71
- ${checkboxToggle({
63
+ <gds-toggle-control-base type="checkbox" @click=${__privateMethod(this, _GdsCheckbox_instances, toggleChecked_fn)}>
64
+ <label for="checkbox-input" slot="label"> ${this.label} </label>
65
+ <span
66
+ slot="supporting-text"
67
+ class="supporting-text"
68
+ id="supporting-text"
69
+ >
70
+ ${this.supportingText}
71
+ </span>
72
+ ${checkboxToggle({
72
73
  checked: this.checked,
73
74
  indeterminate: this.indeterminate,
74
75
  disabled: this.disabled,
75
76
  invalid: this.invalid
76
77
  })}
77
- </gds-toggle-control-base>
78
+ </gds-toggle-control-base>
79
+ </div>
78
80
  `;
79
81
  }
80
82
  _getValidityAnchor() {
@@ -18,14 +18,6 @@ const style = css`
18
18
  outline: none;
19
19
  }
20
20
 
21
- input[type='checkbox'] {
22
- position: absolute;
23
- opacity: 0;
24
- width: 0;
25
- height: 0;
26
- pointer-events: none;
27
- }
28
-
29
21
  #message {
30
22
  display: none;
31
23
  }
@@ -1,2 +1,2 @@
1
- const styles = "/* stylelint-disable max-nesting-depth */\n/* stylelint-enable max-nesting-depth */\n/**\n * Calculate the luminance for a color.\n * See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n */\n/**\n * Calculate the contrast ratio between two colors.\n * See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n */\n/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable */\n/**\n* @deprecated\n* Use `add-focus` instead\n*/\n/** add background color, color and border-color to element when it has focus-visible i.e. tab focus */\ni.sg-icon {\n font-size: 0;\n width: 1rem;\n height: 1rem;\n display: inline-block;\n}\ni.sg-icon::before {\n content: \"\";\n display: inline-block;\n background: var(--color);\n width: 100%;\n height: 100%;\n -webkit-mask-repeat: no-repeat;\n mask-repeat: no-repeat;\n}\ni.sg-icon.sg-icon-calendar::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 248h80v-56H48v56zm0 48v64h80v-64H48zm128 0v64h96v-64h-96zm144 0v64h80v-64h-80zm80-104h-80v56h80v-56zm0 216h-80v56h64c8.8 0 16-7.2 16-16v-40zm-128 0h-96v56h96v-56zm-144 0H48v40c0 8.8 7.16 16 16 16h64v-56zm144-216h-96v56h96v-56z '/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 248h80v-56H48v56zm0 48v64h80v-64H48zm128 0v64h96v-64h-96zm144 0v64h80v-64h-80zm80-104h-80v56h80v-56zm0 216h-80v56h64c8.8 0 16-7.2 16-16v-40zm-128 0h-96v56h96v-56zm-144 0H48v40c0 8.8 7.16 16 16 16h64v-56zm144-216h-96v56h96v-56z '/%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-calendar-range::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M96 288c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm224 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-128-64c0-13.3 10.7-24 24-24h112c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24zm40 72c13.3 0 24 10.7 24 24s-10.7 24-24 24H120c-13.3 0-24-10.7-24-24s10.7-24 24-24h112zM152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 448c0 8.8 7.16 16 16 16h320c8.8 0 16-7.2 16-16V192H48v256z'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M96 288c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm224 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-128-64c0-13.3 10.7-24 24-24h112c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24zm40 72c13.3 0 24 10.7 24 24s-10.7 24-24 24H120c-13.3 0-24-10.7-24-24s10.7-24 24-24h112zM152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 448c0 8.8 7.16 16 16 16h320c8.8 0 16-7.2 16-16V192H48v256z'/%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-ellipsis::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z'/%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-grip-vertical::before {\n -webkit-mask-image: url(\"data:image/svg+xml, %3Csvg height='1em' viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z' /%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml, %3Csvg height='1em' viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z' /%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-next::before {\n background: none;\n border-bottom: 2px solid;\n border-left: 2px solid;\n content: \"\";\n display: block;\n height: 12px;\n margin-left: -10px;\n margin-top: 2px;\n transform: translate(75%) rotate(-135deg) scaleZ(-1);\n transition: transform 0.3s ease-in;\n width: 12px;\n}\ni.sg-icon.sg-icon-previous::before {\n background: none;\n border-bottom: 2px solid;\n border-left: 2px solid;\n content: \"\";\n display: block;\n height: 12px;\n margin-left: -4px;\n margin-top: 2px;\n transform: translate(75%) rotate(45deg) scaleZ(-1);\n transition: transform 0.3s ease-in;\n width: 12px;\n}\ni.sg-icon.sg-icon-ellipsis::before {\n margin-right: -2px;\n}\n\n@layer base, reset, transitional-styles;\n@layer transitional-styles {\n @layer _base, _overrides;\n :host {\n display: inline-block;\n }\n @layer _base {\n button {\n background-color: transparent;\n border: 0;\n cursor: pointer;\n font-family: inherit;\n padding: 0;\n padding-left: 1rem;\n padding-right: 1rem;\n padding-bottom: 0.75rem;\n padding-top: 0.75rem;\n border-radius: var(--sg-border-radius);\n border: solid var(--sg-border-width) var(--sg-border-color);\n font-weight: 500;\n min-height: 2.75rem;\n align-items: center;\n display: inline-flex;\n justify-content: center;\n background-color: transparent;\n border: 0.0625rem solid transparent;\n padding: 0.625rem;\n height: 2.75rem;\n width: 2.75rem;\n min-width: auto;\n --color: var(--gds-sys-color-base-800);\n }\n button:focus:not(:focus-visible) {\n box-shadow: none;\n outline: 0;\n }\n button:focus, button:focus-visible {\n outline-color: var(--gds-sys-color-focus-outline);\n outline-style: solid;\n outline-width: 0.125rem;\n outline-offset: 0.125rem;\n }\n @media (max-width: 35.98em) {\n button {\n min-width: 100%;\n }\n }\n @media screen and (-ms-high-contrast: active) {\n button {\n border: 2px solid currentcolor;\n }\n }\n button.small {\n min-height: 2rem;\n padding: 0.4375rem 0.75rem;\n font-size: 0.875rem;\n line-height: 1rem;\n }\n button.large {\n min-height: 4rem;\n padding: 1rem 1.5rem;\n font-size: 1.5rem;\n line-height: 2rem;\n }\n .form-group button {\n margin-top: -0.625rem;\n }\n button.small {\n height: 2rem;\n width: 2rem;\n padding: 0.4375rem;\n line-height: 1.125rem;\n }\n button svg {\n height: 1rem;\n width: 1rem;\n }\n button path,\n button line,\n button circle,\n button rect,\n button ellipse,\n button polyline,\n button text {\n fill: var(--gds-sys-color-base-800);\n stroke: var(--gds-sys-color-base-800);\n transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);\n }\n button:hover, button.highlighted {\n background-color: rgba(0, 0, 0, 0.1);\n border-color: transparent;\n }\n button:active, button.highlighted:hover {\n background-color: rgba(0, 0, 0, 0.2);\n border-color: transparent;\n }\n }\n @layer _overrides {\n button {\n border-color: transparent;\n color: var(--gds-ref-pallet-base800);\n display: flex;\n gap: 0.5rem;\n line-height: 0.75;\n padding-inline: 0.4375rem;\n width: auto;\n }\n button.highlighted {\n background-color: var(--gds-ref-pallet-base300);\n }\n }\n}";
1
+ const styles = "/* stylelint-disable max-nesting-depth */\n/* stylelint-enable max-nesting-depth */\n/**\n * Calculate the luminance for a color.\n * See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n */\n/**\n * Calculate the contrast ratio between two colors.\n * See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n */\n/* stylelint-disable */\n/* stylelint-enable */\n/* stylelint-disable */\n/**\n* @deprecated\n* Use `add-focus` instead\n*/\n/** add background color, color and border-color to element when it has focus-visible i.e. tab focus */\ni.sg-icon {\n font-size: 0;\n width: 1rem;\n height: 1rem;\n display: inline-block;\n}\ni.sg-icon::before {\n content: \"\";\n display: inline-block;\n background: var(--color);\n width: 100%;\n height: 100%;\n -webkit-mask-repeat: no-repeat;\n mask-repeat: no-repeat;\n}\ni.sg-icon.sg-icon-calendar::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 248h80v-56H48v56zm0 48v64h80v-64H48zm128 0v64h96v-64h-96zm144 0v64h80v-64h-80zm80-104h-80v56h80v-56zm0 216h-80v56h64c8.8 0 16-7.2 16-16v-40zm-128 0h-96v56h96v-56zm-144 0H48v40c0 8.8 7.16 16 16 16h64v-56zm144-216h-96v56h96v-56z '/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 248h80v-56H48v56zm0 48v64h80v-64H48zm128 0v64h96v-64h-96zm144 0v64h80v-64h-80zm80-104h-80v56h80v-56zm0 216h-80v56h64c8.8 0 16-7.2 16-16v-40zm-128 0h-96v56h96v-56zm-144 0H48v40c0 8.8 7.16 16 16 16h64v-56zm144-216h-96v56h96v-56z '/%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-calendar-range::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M96 288c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm224 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-128-64c0-13.3 10.7-24 24-24h112c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24zm40 72c13.3 0 24 10.7 24 24s-10.7 24-24 24H120c-13.3 0-24-10.7-24-24s10.7-24 24-24h112zM152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 448c0 8.8 7.16 16 16 16h320c8.8 0 16-7.2 16-16V192H48v256z'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M96 288c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm224 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-128-64c0-13.3 10.7-24 24-24h112c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24zm40 72c13.3 0 24 10.7 24 24s-10.7 24-24 24H120c-13.3 0-24-10.7-24-24s10.7-24 24-24h112zM152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 448c0 8.8 7.16 16 16 16h320c8.8 0 16-7.2 16-16V192H48v256z'/%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-ellipsis::before {\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z'/%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z'/%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-grip-vertical::before {\n -webkit-mask-image: url(\"data:image/svg+xml, %3Csvg height='1em' viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z' /%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml, %3Csvg height='1em' viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z' /%3E%3C/svg%3E\");\n}\ni.sg-icon.sg-icon-next::before {\n background: none;\n border-bottom: 2px solid;\n border-left: 2px solid;\n content: \"\";\n display: block;\n height: 12px;\n margin-left: -10px;\n margin-top: 2px;\n transform: translate(75%) rotate(-135deg) scaleZ(-1);\n transition: transform 0.3s ease-in;\n width: 12px;\n}\ni.sg-icon.sg-icon-previous::before {\n background: none;\n border-bottom: 2px solid;\n border-left: 2px solid;\n content: \"\";\n display: block;\n height: 12px;\n margin-left: -4px;\n margin-top: 2px;\n transform: translate(75%) rotate(45deg) scaleZ(-1);\n transition: transform 0.3s ease-in;\n width: 12px;\n}\ni.sg-icon.sg-icon-ellipsis::before {\n margin-right: -2px;\n}\n\n@layer base, reset, transitional-styles;\n@layer transitional-styles {\n @layer _base, _overrides;\n :host {\n display: inline-block;\n }\n @layer _base {\n button {\n background-color: transparent;\n border: 0;\n cursor: pointer;\n font-family: inherit;\n padding: 0;\n padding-left: 1rem;\n padding-right: 1rem;\n padding-bottom: 0.75rem;\n padding-top: 0.75rem;\n border-radius: var(--sg-border-radius);\n border: solid var(--sg-border-width) var(--sg-border-color);\n font-weight: 500;\n }\n button:focus:not(:focus-visible) {\n box-shadow: none;\n outline: 0;\n }\n button:focus, button:focus-visible {\n outline-color: var(--gds-sys-color-focus-outline);\n outline-style: solid;\n outline-width: 0.125rem;\n outline-offset: 0.125rem;\n }\n button {\n min-height: 2.75rem;\n align-items: center;\n display: inline-flex;\n justify-content: center;\n }\n @media (max-width: 35.98em) {\n button {\n min-width: 100%;\n }\n }\n @media screen and (-ms-high-contrast: active) {\n button {\n border: 2px solid currentcolor;\n }\n }\n button.small {\n min-height: 2rem;\n padding: 0.4375rem 0.75rem;\n font-size: 0.875rem;\n line-height: 1rem;\n }\n button.large {\n min-height: 4rem;\n padding: 1rem 1.5rem;\n font-size: 1.5rem;\n line-height: 2rem;\n }\n button {\n background-color: transparent;\n border: 0.0625rem solid transparent;\n padding: 0.625rem;\n height: 2.75rem;\n width: 2.75rem;\n min-width: auto;\n --color: var(--gds-sys-color-base-800);\n }\n .form-group button {\n margin-top: -0.625rem;\n }\n button.small {\n height: 2rem;\n width: 2rem;\n padding: 0.4375rem;\n line-height: 1.125rem;\n }\n button svg {\n height: 1rem;\n width: 1rem;\n }\n button path,\n button line,\n button circle,\n button rect,\n button ellipse,\n button polyline,\n button text {\n fill: var(--gds-sys-color-base-800);\n stroke: var(--gds-sys-color-base-800);\n transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);\n }\n button:hover, button.highlighted {\n background-color: rgba(0, 0, 0, 0.1);\n border-color: transparent;\n }\n button:active, button.highlighted:hover {\n background-color: rgba(0, 0, 0, 0.2);\n border-color: transparent;\n }\n }\n @layer _overrides {\n button {\n border-color: transparent;\n color: var(--gds-ref-pallet-base800);\n display: flex;\n gap: 0.5rem;\n line-height: 0.75;\n padding-inline: 0.4375rem;\n width: auto;\n }\n button.highlighted {\n background-color: var(--gds-ref-pallet-base300);\n }\n }\n}";
2
2
  export default styles;
@@ -5,7 +5,7 @@ import {
5
5
  __privateMethod,
6
6
  __privateSet
7
7
  } from "../../chunks/chunk.QU3DSPNU.js";
8
- var _utcHours, _valueOnOpen, _Datepicker_instances, shouldShowFooter_fn, renderBackToValidRangeButton_fn, focusDate_fn, getSpinnerLabel_fn, getMinSpinnerValue_fn, getMaxSpinnerValue_fn, dispatchChangeEvent_fn, dispatchInputEvent_fn, _handleFieldFocusOut, _handleSpinnerFocus, _handleClipboardCopy, _handleClipboardPaste, _handleFieldClick, _handleCalendarChange, _handleMonthChange, _handleYearChange, _handleIncrementFocusedMonth, _handleDecrementFocusedMonth, _handleCalendarFocusChange, _handlePopoverStateChange, _handleSpinnerKeydown, parseDateFormat_fn, _handleSpinnerChange, _spinnerState, years_get, isValueOutsideRange_get;
8
+ var _utcHours, _valueOnOpen, _Datepicker_instances, shouldShowFooter_fn, renderBackToValidRangeButton_fn, focusDate_fn, getSpinnerLabel_fn, getMinSpinnerValue_fn, getMaxSpinnerValue_fn, dispatchChangeEvent_fn, dispatchInputEvent_fn, _handleSpinnerFocus, _handleClipboardCopy, _handleClipboardPaste, _handleFieldClick, _handleCalendarChange, _handleMonthChange, _handleYearChange, _handleIncrementFocusedMonth, _handleDecrementFocusedMonth, _handleCalendarFocusChange, _handlePopoverStateChange, _handleSpinnerKeydown, parseDateFormat_fn, _handleSpinnerChange, _spinnerState, years_get, isValueOutsideRange_get;
9
9
  import { localized, msg } from "@lit/localize";
10
10
  import { nothing } from "lit";
11
11
  import { property, query, queryAll, queryAsync, state } from "lit/decorators.js";
@@ -62,13 +62,6 @@ let Datepicker = class extends GdsFormControlElement {
62
62
  this._focusedYear = (/* @__PURE__ */ new Date()).getFullYear();
63
63
  this._dateFormatLayout = __privateMethod(this, _Datepicker_instances, parseDateFormat_fn).call(this, "y-m-d");
64
64
  __privateAdd(this, _valueOnOpen);
65
- __privateAdd(this, _handleFieldFocusOut, (e) => {
66
- this._elTrigger.then((_) => {
67
- const parent = e.relatedTarget?.parentElement;
68
- if (parent === e.target) return;
69
- document.getSelection()?.removeAllRanges();
70
- });
71
- });
72
65
  __privateAdd(this, _handleSpinnerFocus, (e) => {
73
66
  this._elTrigger.then((field) => {
74
67
  document.getSelection()?.removeAllRanges();
@@ -620,7 +613,6 @@ dispatchInputEvent_fn = function() {
620
613
  })
621
614
  );
622
615
  };
623
- _handleFieldFocusOut = new WeakMap();
624
616
  _handleSpinnerFocus = new WeakMap();
625
617
  _handleClipboardCopy = new WeakMap();
626
618
  _handleClipboardPaste = new WeakMap();
@@ -381,7 +381,10 @@ let Dropdown = class extends GdsFormControlElement {
381
381
  !this.combobox || this.multiple,
382
382
  () => __privateGet(this, _renderTriggerButton).call(this)
383
383
  )}
384
- <gds-icon-chevron-bottom slot="action"></gds-icon-chevron-bottom>
384
+ <gds-icon-chevron-bottom
385
+ size=${this.size === "small" ? "m" : "l"}
386
+ slot="action"
387
+ ></gds-icon-chevron-bottom>
385
388
  </gds-field-base>
386
389
 
387
390
  ${when(
@@ -11,7 +11,8 @@ import { NumberFormats } from '../formatters';
11
11
  * <gds-formatted-number
12
12
  * value="1234.5"
13
13
  * locale="sv-SE"
14
- * currency="SEK">
14
+ * currency="SEK"
15
+ * decimals={3}>
15
16
  * </gds-formatted-number>
16
17
  */
17
18
  export declare class GdsFormattedNumber extends GdsFormattedText {
@@ -21,6 +22,8 @@ export declare class GdsFormattedNumber extends GdsFormattedText {
21
22
  locale?: string;
22
23
  /** The currency used when formatting numbers. */
23
24
  currency?: string;
25
+ /** The number of decimal places to display. */
26
+ decimals?: number;
24
27
  /**
25
28
  * Specifies the number format.
26
29
  * @default 'decimalsAndThousands'