@statistikzh/leu 0.28.0 → 0.28.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (346) hide show
  1. package/dist/{Accordion-D9kLsiBW.js → Accordion-CaDTUDJG.js} +1 -1
  2. package/dist/Accordion.js +2 -2
  3. package/dist/{Button-DyNVOHCd.js → Button-BF3_6xgs.js} +3 -3
  4. package/dist/Button.js +4 -4
  5. package/dist/{ButtonGroup-MEh4vb5a.js → ButtonGroup-grJiWGHI.js} +2 -2
  6. package/dist/ButtonGroup.js +5 -5
  7. package/dist/{ChartWrapper-DAl91BIN.js → ChartWrapper-CeolXijF.js} +2 -2
  8. package/dist/ChartWrapper.js +3 -3
  9. package/dist/{Checkbox-CGGyUW9U.js → Checkbox-DGUZ1XtB.js} +2 -2
  10. package/dist/Checkbox.js +3 -3
  11. package/dist/{CheckboxGroup-DXt5iMdj.js → CheckboxGroup-CGdyk_RP.js} +2 -2
  12. package/dist/CheckboxGroup.js +4 -4
  13. package/dist/{Chip-BGs71WGH.js → Chip-BpKH3_Nk.js} +1 -1
  14. package/dist/Chip.js +2 -2
  15. package/dist/{ChipGroup-BcGyusP-.js → ChipGroup-dSAMpfy1.js} +1 -1
  16. package/dist/ChipGroup.js +3 -3
  17. package/dist/ChipLink.js +2 -2
  18. package/dist/ChipRemovable.js +3 -3
  19. package/dist/ChipSelectable.js +2 -2
  20. package/dist/{Dialog-BzuyL1U3.js → Dialog-CC674l80.js} +2 -2
  21. package/dist/Dialog.js +3 -3
  22. package/dist/{Dropdown-plyBTM15.js → Dropdown-B9YTM5N_.js} +5 -5
  23. package/dist/Dropdown.d.ts +2 -2
  24. package/dist/Dropdown.js +8 -8
  25. package/dist/{FileInput-BT3Fe-0J.js → FileInput-D4kyWFkL.js} +8 -6
  26. package/dist/FileInput.d.ts +1 -1
  27. package/dist/FileInput.js +6 -6
  28. package/dist/{Icon-D83qesg5.js → Icon-DOcb_NlX.js} +1 -1
  29. package/dist/Icon.js +2 -2
  30. package/dist/{Input-D7zS50oz.js → Input-6Xu1N2sA.js} +2 -2
  31. package/dist/Input.js +3 -3
  32. package/dist/{LeuElement-DQI8cqZV.js → LeuElement-C3HedxlQ.js} +1 -1
  33. package/dist/{Menu-DRU1LiMM.js → Menu-CJtyuUvP.js} +2 -2
  34. package/dist/{Menu-Z2b7dsB5.d.ts → Menu-txbYINTW.d.ts} +1 -1
  35. package/dist/Menu.d.ts +1 -1
  36. package/dist/Menu.js +4 -4
  37. package/dist/{MenuItem-LY4TRIho.d.ts → MenuItem-9TTOrL0Z.d.ts} +1 -1
  38. package/dist/{MenuItem-DCttylRO.js → MenuItem-ClSE3auh.js} +2 -2
  39. package/dist/MenuItem.d.ts +1 -1
  40. package/dist/MenuItem.js +3 -3
  41. package/dist/{Message-0NxnKEqw.js → Message-C55ydBaU.js} +2 -2
  42. package/dist/Message.js +3 -3
  43. package/dist/{Pagination-CIy7YvWE.js → Pagination-BVwKLcd5.js} +4 -4
  44. package/dist/Pagination.js +6 -6
  45. package/dist/{Placeholder-Dol_X5Hp.js → Placeholder-DFNppiVf.js} +1 -1
  46. package/dist/Placeholder.js +2 -2
  47. package/dist/{Popup-nJrJHGSy.js → Popup-D91ZiFWh.js} +1 -1
  48. package/dist/Popup.js +2 -2
  49. package/dist/{ProgressBar-Dmq9veqU.js → ProgressBar-DQGO2we8.js} +1 -1
  50. package/dist/ProgressBar.js +2 -2
  51. package/dist/{Radio-W5ck_IJI.js → Radio-BetZNoUQ.js} +1 -1
  52. package/dist/Radio.js +2 -2
  53. package/dist/{RadioGroup-De5x2YCO.js → RadioGroup-DzW5z_SD.js} +2 -2
  54. package/dist/RadioGroup.js +3 -3
  55. package/dist/{Range-NCdfDkeD.js → Range-9ijUzrty.js} +1 -1
  56. package/dist/Range.js +2 -2
  57. package/dist/{ScrollTop-DwcNIKmN.js → ScrollTop-uDL4K_C6.js} +3 -3
  58. package/dist/ScrollTop.js +5 -5
  59. package/dist/{Select-Bpicra9q.js → Select-ClGNTYfp.js} +7 -7
  60. package/dist/Select.d.ts +2 -2
  61. package/dist/Select.js +9 -9
  62. package/dist/{Spinner-BBiVZxFH.js → Spinner-B7ikVfUZ.js} +1 -1
  63. package/dist/Spinner.js +2 -2
  64. package/dist/{Tab-Ce9nrDok.js → Tab-CSHR71IX.js} +1 -1
  65. package/dist/Tab.js +2 -2
  66. package/dist/{TabGroup-C-cd4Wcx.js → TabGroup-D7YbKXm8.js} +3 -3
  67. package/dist/TabGroup.js +4 -4
  68. package/dist/{TabPanel-BW1ydVBT.js → TabPanel-D_RHF3lv.js} +1 -1
  69. package/dist/TabPanel.js +2 -2
  70. package/dist/{Table-DiYqIzBu.js → Table-CdosaNFb.js} +3 -3
  71. package/dist/Table.js +7 -7
  72. package/dist/{Tag-Ct8Hhv7W.js → Tag-BQBgkkAs.js} +1 -1
  73. package/dist/Tag.js +2 -2
  74. package/dist/{VisuallyHidden-CpYXyuC7.js → VisuallyHidden-CEBTA6hv.js} +1 -1
  75. package/dist/VisuallyHidden.js +2 -2
  76. package/dist/custom-elements.json +6445 -0
  77. package/dist/index.d.ts +2 -2
  78. package/dist/index.js +30 -30
  79. package/dist/leu-accordion.js +2 -2
  80. package/dist/leu-button-group.js +5 -5
  81. package/dist/leu-button.js +4 -4
  82. package/dist/leu-chart-wrapper.js +3 -3
  83. package/dist/leu-checkbox-group.js +4 -4
  84. package/dist/leu-checkbox.js +3 -3
  85. package/dist/leu-chip-group.js +3 -3
  86. package/dist/leu-chip-link.js +2 -2
  87. package/dist/leu-chip-removable.js +3 -3
  88. package/dist/leu-chip-selectable.js +2 -2
  89. package/dist/leu-dialog.js +3 -3
  90. package/dist/leu-dropdown.js +8 -8
  91. package/dist/leu-file-input.js +6 -6
  92. package/dist/leu-icon.js +2 -2
  93. package/dist/leu-input.js +3 -3
  94. package/dist/leu-menu-item.d.ts +1 -1
  95. package/dist/leu-menu-item.js +3 -3
  96. package/dist/leu-menu.d.ts +1 -1
  97. package/dist/leu-menu.js +4 -4
  98. package/dist/leu-message.js +3 -3
  99. package/dist/leu-pagination.js +6 -6
  100. package/dist/leu-placeholder.js +2 -2
  101. package/dist/leu-popup.js +2 -2
  102. package/dist/leu-progress-bar.js +2 -2
  103. package/dist/leu-radio-group.js +3 -3
  104. package/dist/leu-radio.js +2 -2
  105. package/dist/leu-range.js +2 -2
  106. package/dist/leu-scroll-top.js +5 -5
  107. package/dist/leu-select.js +9 -9
  108. package/dist/leu-spinner.js +2 -2
  109. package/dist/leu-tab-group.js +4 -4
  110. package/dist/leu-tab-panel.js +2 -2
  111. package/dist/leu-tab.js +2 -2
  112. package/dist/leu-table.js +7 -7
  113. package/dist/leu-tag.js +2 -2
  114. package/dist/leu-visually-hidden.js +2 -2
  115. package/dist/web-types.json +1 -1
  116. package/package.json +9 -4
  117. package/.editorconfig +0 -29
  118. package/.github/workflows/ci.yml +0 -81
  119. package/.github/workflows/deploy-github-pages.yaml +0 -34
  120. package/.github/workflows/publish.yml +0 -30
  121. package/.github/workflows/release-please.yml +0 -19
  122. package/.husky/commit-msg +0 -1
  123. package/.husky/pre-commit +0 -1
  124. package/.nvmrc +0 -1
  125. package/.prettierignore +0 -2
  126. package/.release-please-manifest.json +0 -3
  127. package/.storybook/main.ts +0 -34
  128. package/.storybook/manager-head.html +0 -1
  129. package/.storybook/manager.ts +0 -6
  130. package/.storybook/preview.ts +0 -96
  131. package/.storybook/static/fonts/Inter-Black.woff2 +0 -0
  132. package/.storybook/static/fonts/Inter-Regular.woff2 +0 -0
  133. package/.storybook/static/fonts.css +0 -11
  134. package/.storybook/static/global.css +0 -5
  135. package/.storybook/static/logo.svg +0 -19
  136. package/.storybook/theme.ts +0 -8
  137. package/CHANGELOG.md +0 -594
  138. package/CODE_OF_CONDUCT.md +0 -128
  139. package/CONTRIBUTING.md +0 -42
  140. package/commitlint.config.cjs +0 -1
  141. package/custom-elements-manifest.config.js +0 -46
  142. package/eslint.config.mjs +0 -79
  143. package/postcss.config.cjs +0 -16
  144. package/release-please-config.json +0 -9
  145. package/scripts/generate-component/generate.js +0 -167
  146. package/scripts/generate-component/templates/[Name].ts +0 -31
  147. package/scripts/generate-component/templates/[name].css +0 -6
  148. package/scripts/generate-component/templates/[namespace]-[name].ts +0 -11
  149. package/scripts/generate-component/templates/stories/[name].stories.ts +0 -26
  150. package/scripts/generate-component/templates/test/[name].test.ts +0 -23
  151. package/scripts/postcss-leu-font-styles.cjs +0 -154
  152. package/src/components/accordion/Accordion.ts +0 -108
  153. package/src/components/accordion/accordion.css +0 -150
  154. package/src/components/accordion/leu-accordion.ts +0 -11
  155. package/src/components/accordion/stories/accordion.stories.ts +0 -62
  156. package/src/components/accordion/test/accordion.test.ts +0 -118
  157. package/src/components/button/Button.ts +0 -286
  158. package/src/components/button/button.css +0 -317
  159. package/src/components/button/leu-button.ts +0 -11
  160. package/src/components/button/stories/button.stories.ts +0 -366
  161. package/src/components/button/test/button.test.ts +0 -417
  162. package/src/components/button-group/ButtonGroup.ts +0 -97
  163. package/src/components/button-group/button-group.css +0 -5
  164. package/src/components/button-group/leu-button-group.ts +0 -11
  165. package/src/components/button-group/stories/button-group.stories.ts +0 -54
  166. package/src/components/button-group/test/button-group.test.ts +0 -105
  167. package/src/components/chart-wrapper/ChartWrapper.ts +0 -78
  168. package/src/components/chart-wrapper/chart-wrapper.css +0 -87
  169. package/src/components/chart-wrapper/leu-chart-wrapper.ts +0 -11
  170. package/src/components/chart-wrapper/stories/chart-wrapper.stories.ts +0 -58
  171. package/src/components/chart-wrapper/test/chart-wrapper.test.ts +0 -77
  172. package/src/components/checkbox/Checkbox.ts +0 -129
  173. package/src/components/checkbox/CheckboxGroup.ts +0 -57
  174. package/src/components/checkbox/checkbox-group.css +0 -29
  175. package/src/components/checkbox/checkbox.css +0 -81
  176. package/src/components/checkbox/leu-checkbox-group.ts +0 -11
  177. package/src/components/checkbox/leu-checkbox.ts +0 -11
  178. package/src/components/checkbox/stories/checkbox-group.stories.ts +0 -59
  179. package/src/components/checkbox/stories/checkbox.stories.ts +0 -72
  180. package/src/components/checkbox/test/checkbox-group.test.ts +0 -109
  181. package/src/components/checkbox/test/checkbox.test.ts +0 -247
  182. package/src/components/chip/Chip.ts +0 -19
  183. package/src/components/chip/ChipGroup.ts +0 -122
  184. package/src/components/chip/ChipLink.ts +0 -24
  185. package/src/components/chip/ChipRemovable.ts +0 -45
  186. package/src/components/chip/ChipSelectable.ts +0 -80
  187. package/src/components/chip/chip-group.css +0 -15
  188. package/src/components/chip/chip.css +0 -139
  189. package/src/components/chip/exports.ts +0 -4
  190. package/src/components/chip/leu-chip-group.ts +0 -11
  191. package/src/components/chip/leu-chip-link.ts +0 -11
  192. package/src/components/chip/leu-chip-removable.ts +0 -11
  193. package/src/components/chip/leu-chip-selectable.ts +0 -11
  194. package/src/components/chip/stories/chip-group.stories.ts +0 -159
  195. package/src/components/chip/stories/chip-link.stories.ts +0 -45
  196. package/src/components/chip/stories/chip-removable.stories.ts +0 -42
  197. package/src/components/chip/stories/chip-selectable.stories.ts +0 -54
  198. package/src/components/chip/test/chip-group.test.ts +0 -171
  199. package/src/components/chip/test/chip-link.test.ts +0 -54
  200. package/src/components/chip/test/chip-removable.test.ts +0 -105
  201. package/src/components/chip/test/chip-selectable.test.ts +0 -101
  202. package/src/components/chip/test/chip.test.ts +0 -22
  203. package/src/components/dialog/Dialog.ts +0 -86
  204. package/src/components/dialog/dialog.css +0 -157
  205. package/src/components/dialog/leu-dialog.ts +0 -11
  206. package/src/components/dialog/stories/dialog.stories.ts +0 -142
  207. package/src/components/dialog/test/dialog.test.ts +0 -85
  208. package/src/components/dropdown/Dropdown.ts +0 -152
  209. package/src/components/dropdown/dropdown.css +0 -16
  210. package/src/components/dropdown/leu-dropdown.ts +0 -11
  211. package/src/components/dropdown/stories/dropdown.stories.ts +0 -58
  212. package/src/components/dropdown/test/dropdown.test.ts +0 -59
  213. package/src/components/file-input/FileInput.ts +0 -322
  214. package/src/components/file-input/file-input.css +0 -118
  215. package/src/components/file-input/leu-file-input.ts +0 -11
  216. package/src/components/file-input/stories/file-input.stories.ts +0 -45
  217. package/src/components/file-input/test/file-input.test.ts +0 -38
  218. package/src/components/icon/Icon.ts +0 -47
  219. package/src/components/icon/icon.css +0 -10
  220. package/src/components/icon/leu-icon.ts +0 -11
  221. package/src/components/icon/paths.ts +0 -219
  222. package/src/components/icon/stories/icon.stories.ts +0 -79
  223. package/src/components/icon/test/icon.test.ts +0 -50
  224. package/src/components/input/Input.ts +0 -469
  225. package/src/components/input/input.css +0 -238
  226. package/src/components/input/leu-input.ts +0 -11
  227. package/src/components/input/stories/input.stories.ts +0 -204
  228. package/src/components/input/test/input.test.ts +0 -603
  229. package/src/components/menu/Menu.ts +0 -149
  230. package/src/components/menu/MenuItem.ts +0 -168
  231. package/src/components/menu/leu-menu-item.ts +0 -11
  232. package/src/components/menu/leu-menu.ts +0 -11
  233. package/src/components/menu/menu-item.css +0 -77
  234. package/src/components/menu/menu.css +0 -19
  235. package/src/components/menu/stories/menu-item.stories.ts +0 -81
  236. package/src/components/menu/stories/menu.stories.ts +0 -54
  237. package/src/components/menu/test/menu-item.test.ts +0 -210
  238. package/src/components/menu/test/menu.test.ts +0 -125
  239. package/src/components/message/Message.ts +0 -118
  240. package/src/components/message/leu-message.ts +0 -11
  241. package/src/components/message/message.css +0 -163
  242. package/src/components/message/stories/message.mdx +0 -76
  243. package/src/components/message/stories/message.stories.ts +0 -149
  244. package/src/components/message/test/message.test.ts +0 -96
  245. package/src/components/pagination/Pagination.ts +0 -192
  246. package/src/components/pagination/leu-pagination.ts +0 -11
  247. package/src/components/pagination/pagination.css +0 -54
  248. package/src/components/pagination/stories/pagination.stories.ts +0 -115
  249. package/src/components/pagination/test/pagination.test.ts +0 -210
  250. package/src/components/placeholder/Placeholder.ts +0 -33
  251. package/src/components/placeholder/leu-placeholder.ts +0 -11
  252. package/src/components/placeholder/placeholder.css +0 -59
  253. package/src/components/placeholder/stories/placeholder.stories.ts +0 -34
  254. package/src/components/placeholder/test/placeholder.test.ts +0 -31
  255. package/src/components/popup/Popup.ts +0 -264
  256. package/src/components/popup/leu-popup.ts +0 -11
  257. package/src/components/popup/popup.css +0 -24
  258. package/src/components/popup/stories/popup.stories.ts +0 -117
  259. package/src/components/popup/test/popup.test.ts +0 -90
  260. package/src/components/progress-bar/ProgressBar.ts +0 -52
  261. package/src/components/progress-bar/leu-progress-bar.ts +0 -11
  262. package/src/components/progress-bar/progress-bar.css +0 -97
  263. package/src/components/progress-bar/stories/progress-bar.stories.ts +0 -39
  264. package/src/components/progress-bar/test/progress-bar.test.ts +0 -61
  265. package/src/components/radio/Radio.ts +0 -59
  266. package/src/components/radio/RadioGroup.ts +0 -181
  267. package/src/components/radio/leu-radio-group.ts +0 -11
  268. package/src/components/radio/leu-radio.ts +0 -11
  269. package/src/components/radio/radio-group.css +0 -29
  270. package/src/components/radio/radio.css +0 -76
  271. package/src/components/radio/stories/radio-group.stories.ts +0 -54
  272. package/src/components/radio/stories/radio.stories.ts +0 -55
  273. package/src/components/radio/test/radio-group.test.ts +0 -83
  274. package/src/components/radio/test/radio.test.ts +0 -119
  275. package/src/components/range/Range.ts +0 -400
  276. package/src/components/range/leu-range.ts +0 -11
  277. package/src/components/range/range.css +0 -227
  278. package/src/components/range/stories/range.stories.ts +0 -185
  279. package/src/components/range/test/range.test.ts +0 -228
  280. package/src/components/scroll-top/ScrollTop.ts +0 -91
  281. package/src/components/scroll-top/leu-scroll-top.ts +0 -11
  282. package/src/components/scroll-top/scroll-top.css +0 -50
  283. package/src/components/scroll-top/stories/scroll-top.stories.ts +0 -217
  284. package/src/components/scroll-top/test/scroll-top.test.ts +0 -22
  285. package/src/components/select/Select.ts +0 -570
  286. package/src/components/select/leu-select.ts +0 -11
  287. package/src/components/select/select.css +0 -222
  288. package/src/components/select/stories/select.stories.ts +0 -173
  289. package/src/components/select/test/fixtures.ts +0 -162
  290. package/src/components/select/test/select.test.ts +0 -937
  291. package/src/components/spinner/Spinner.ts +0 -31
  292. package/src/components/spinner/leu-spinner.ts +0 -11
  293. package/src/components/spinner/spinner.css +0 -20
  294. package/src/components/spinner/stories/spinner.stories.ts +0 -29
  295. package/src/components/spinner/test/spinner.test.ts +0 -30
  296. package/src/components/tab/Tab.ts +0 -72
  297. package/src/components/tab/TabGroup.ts +0 -267
  298. package/src/components/tab/TabPanel.ts +0 -59
  299. package/src/components/tab/leu-tab-group.ts +0 -11
  300. package/src/components/tab/leu-tab-panel.ts +0 -11
  301. package/src/components/tab/leu-tab.ts +0 -11
  302. package/src/components/tab/stories/tab.stories.ts +0 -97
  303. package/src/components/tab/tab-group.css +0 -63
  304. package/src/components/tab/tab-panel.css +0 -10
  305. package/src/components/tab/tab.css +0 -54
  306. package/src/components/tab/test/tab-group.test.ts +0 -426
  307. package/src/components/tab/test/tab-panel.test.ts +0 -102
  308. package/src/components/tab/test/tab.test.ts +0 -139
  309. package/src/components/table/Table.ts +0 -253
  310. package/src/components/table/leu-table.ts +0 -11
  311. package/src/components/table/stories/table.stories.ts +0 -131
  312. package/src/components/table/table.css +0 -112
  313. package/src/components/table/test/table.test.ts +0 -37
  314. package/src/components/tag/Tag.ts +0 -28
  315. package/src/components/tag/leu-tag.ts +0 -11
  316. package/src/components/tag/stories/tag.stories.ts +0 -107
  317. package/src/components/tag/tag.css +0 -42
  318. package/src/components/tag/test/tag.test.ts +0 -28
  319. package/src/components/visually-hidden/VisuallyHidden.ts +0 -16
  320. package/src/components/visually-hidden/leu-visually-hidden.ts +0 -11
  321. package/src/components/visually-hidden/stories/visually-hidden.stories.ts +0 -22
  322. package/src/components/visually-hidden/test/visually-hidden.test.ts +0 -34
  323. package/src/components/visually-hidden/visually-hidden.css +0 -10
  324. package/src/docs/contributing.mdx +0 -154
  325. package/src/docs/installation.mdx +0 -35
  326. package/src/docs/theme.mdx +0 -400
  327. package/src/docs/usage.mdx +0 -73
  328. package/src/global.d.ts +0 -11
  329. package/src/index.ts +0 -29
  330. package/src/lib/LeuElement.ts +0 -43
  331. package/src/lib/a11y.ts +0 -26
  332. package/src/lib/hasSlotController.ts +0 -74
  333. package/src/lib/mixins/FormAssociatedMixin.ts +0 -115
  334. package/src/lib/styleMap.ts +0 -139
  335. package/src/lib/utils.ts +0 -45
  336. package/src/styles/common-styles.css +0 -14
  337. package/src/styles/custom-media.css +0 -6
  338. package/src/styles/font-definitions.json +0 -210
  339. package/src/styles/style.stories.ts +0 -64
  340. package/src/styles/theme.css +0 -90
  341. package/stat_zh.png +0 -0
  342. package/stylelint.config.mjs +0 -23
  343. package/tsconfig.build.json +0 -24
  344. package/tsconfig.json +0 -14
  345. package/tsdown.config.ts +0 -35
  346. package/web-test-runner.config.mjs +0 -102
@@ -1,81 +0,0 @@
1
- name: Continuous integration
2
-
3
- on: [push, pull_request]
4
-
5
- jobs:
6
- lint:
7
- runs-on: ubuntu-latest
8
-
9
- steps:
10
- - uses: actions/checkout@v6
11
-
12
- - name: Use Node.js
13
- uses: actions/setup-node@v6
14
- with:
15
- node-version-file: ".nvmrc"
16
- cache: "npm"
17
-
18
- - run: npm ci
19
-
20
- - name: Run linters
21
- run: npm run lint
22
-
23
- build:
24
- runs-on: ubuntu-latest
25
- needs: lint
26
-
27
- steps:
28
- - uses: actions/checkout@v6
29
-
30
- - name: Use Node.js
31
- uses: actions/setup-node@v6
32
- with:
33
- node-version-file: ".nvmrc"
34
- cache: "npm"
35
-
36
- - run: npm ci
37
-
38
- - name: Build library
39
- run: npm run build
40
-
41
- - name: Build storybook
42
- run: npm run storybook:build
43
-
44
- test:
45
- runs-on: ubuntu-latest
46
- needs: lint
47
-
48
- steps:
49
- - name: Checkout code
50
- uses: actions/checkout@v6
51
-
52
- - name: Use Node.js
53
- uses: actions/setup-node@v6
54
- with:
55
- node-version-file: ".nvmrc"
56
- cache: "npm"
57
-
58
- - name: Install dependencies
59
- run: npm ci
60
-
61
- - name: Install Playwright browsers
62
- run: npx playwright install
63
-
64
- - name: Cache Playwright binaries
65
- uses: actions/cache@v5
66
- with:
67
- path: ~/.cache/ms-playwright
68
- key: ${{ runner.os }}-playwright-${{ hashFiles('**/package-lock.json') }}
69
- restore-keys: |
70
- ${{ runner.os }}-playwright-
71
-
72
- - name: Build theme
73
- run: npm run build:css
74
-
75
- - name: Run tests
76
- run: npm test
77
-
78
- - uses: actions/upload-artifact@v6
79
- with:
80
- name: coverage
81
- path: coverage/
@@ -1,34 +0,0 @@
1
- # Workflow name
2
- name: Build and Publish Storybook to GitHub Pages
3
-
4
- on:
5
- workflow_dispatch:
6
- release:
7
- types: [published]
8
-
9
- permissions:
10
- contents: read
11
- pages: write
12
- id-token: write
13
-
14
- # List of jobs
15
- jobs:
16
- deploy:
17
- runs-on: ubuntu-latest
18
- # Job steps
19
- steps:
20
- # Manual Checkout
21
- - uses: actions/checkout@v6
22
-
23
- # Set up Node
24
- - uses: actions/setup-node@v6
25
- with:
26
- node-version-file: ".nvmrc"
27
- cache: "npm"
28
-
29
- #👇 Add Storybook build and deploy to GitHub Pages as a step in the workflow
30
- - uses: bitovi/github-actions-storybook-to-github-pages@v1.0.3
31
- with:
32
- build_command: npm run storybook:build # default: npm run build-storybook
33
- path: docs # default: dist/storybook
34
- checkout: false # default: true
@@ -1,30 +0,0 @@
1
- name: Publish Package to npm
2
-
3
- on:
4
- workflow_dispatch:
5
- push:
6
- tags:
7
- - "leu-v*"
8
-
9
- permissions:
10
- contents: read
11
-
12
- jobs:
13
- publish:
14
- runs-on: ubuntu-latest
15
- steps:
16
- - uses: actions/checkout@v6
17
-
18
- - uses: actions/setup-node@v6
19
- with:
20
- node-version-file: ".nvmrc"
21
- cache: "npm"
22
- registry-url: "https://registry.npmjs.org"
23
-
24
- - run: npm --version
25
- - run: npm ci
26
- - run: npm run build
27
- - name: Publish to npm
28
- env:
29
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
30
- run: npm publish
@@ -1,19 +0,0 @@
1
- on:
2
- push:
3
- branches:
4
- - main
5
-
6
- permissions:
7
- contents: write
8
- pull-requests: write
9
-
10
- name: Create release
11
-
12
- jobs:
13
- release-please:
14
- runs-on: ubuntu-latest
15
- steps:
16
- - uses: googleapis/release-please-action@v4
17
- id: release
18
- with:
19
- token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
package/.husky/commit-msg DELETED
@@ -1 +0,0 @@
1
- npx --no -- commitlint --edit ${1}
package/.husky/pre-commit DELETED
@@ -1 +0,0 @@
1
- npx lint-staged --verbose
package/.nvmrc DELETED
@@ -1 +0,0 @@
1
- v24
package/.prettierignore DELETED
@@ -1,2 +0,0 @@
1
- scripts/generate-component/templates/**/*.ts
2
- CHANGELOG.md
@@ -1,3 +0,0 @@
1
- {
2
- ".": "0.28.0"
3
- }
@@ -1,34 +0,0 @@
1
- import { defineMain } from "@storybook/web-components-vite/node"
2
- import { commonConfig } from "../tsdown.config.ts"
3
-
4
- export default defineMain({
5
- stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
6
- addons: [
7
- "@storybook/addon-designs",
8
- "@storybook/addon-a11y",
9
- "@storybook/addon-docs",
10
- ],
11
- staticDirs: ["static"],
12
- framework: "@storybook/web-components-vite",
13
- docs: {},
14
- core: {
15
- disableTelemetry: true,
16
- },
17
- previewHead: (head) => {
18
- return `
19
- ${head}
20
- <link rel="stylesheet" href="fonts.css" />
21
- <link rel="stylesheet" href="theme.css" />
22
- <link rel="stylesheet" href="global.css" />
23
- `
24
- },
25
- async viteFinal(config) {
26
- /* eslint-disable-next-line import-x/no-extraneous-dependencies */
27
- const { mergeConfig } = await import("vite")
28
-
29
- return mergeConfig(config, {
30
- plugins: [...commonConfig.plugins],
31
- define: commonConfig.define,
32
- })
33
- },
34
- })
@@ -1 +0,0 @@
1
- <meta name="robots" content="noindex" />
@@ -1,6 +0,0 @@
1
- import { addons } from "storybook/manager-api"
2
- import { theme } from "./theme.js"
3
-
4
- addons.setConfig({
5
- theme,
6
- })
@@ -1,96 +0,0 @@
1
- import {
2
- setCustomElementsManifest,
3
- type Preview,
4
- } from "@storybook/web-components-vite"
5
- import customElemenents from "../dist/custom-elements.json"
6
-
7
- setCustomElementsManifest(customElemenents)
8
-
9
- const preview: Preview = {
10
- tags: ["autodocs"],
11
-
12
- parameters: {
13
- actions: { argTypesRegex: "^on[A-Z].*" },
14
- controls: {
15
- matchers: {
16
- color: /(background|color)$/i,
17
- },
18
- },
19
- docs: { codePanel: true, source: { language: "html" } },
20
- options: {
21
- storySort: {
22
- order: [
23
- "Introduction",
24
- ["Installation", "Usage", "Theme", "Contributing"],
25
- "Components",
26
- "*",
27
- ],
28
- },
29
- },
30
- viewport: {
31
- options: [
32
- {
33
- name: "Micro",
34
- styles: { width: "320px", height: "568px" },
35
- type: "mobile",
36
- },
37
- {
38
- name: "Small",
39
- styles: { width: "400px", height: "667px" },
40
- type: "mobile",
41
- },
42
- {
43
- name: "Regular",
44
- styles: { width: "600px", height: "667px" },
45
- type: "tablet",
46
- },
47
- {
48
- name: "Medium",
49
- styles: { width: "840px", height: "640px" },
50
- type: "desktop",
51
- },
52
- {
53
- name: "Large",
54
- styles: { width: "1024px", height: "768px" },
55
- type: "desktop",
56
- },
57
- {
58
- name: "Ultra",
59
- styles: { width: "1280px", height: "900px" },
60
- type: "desktop",
61
- },
62
- ],
63
- },
64
- backgrounds: {
65
- options: {
66
- light: { name: "light", value: "#fffffe" },
67
- light_grey: { name: "light grey", value: "#f7f7f7" },
68
- blue: { name: "blue", value: "#0076bd" },
69
- darkblue: { name: "darkblue", value: "#00407c" },
70
- turquoise: { name: "turquoise", value: "#00797b" },
71
- green: { name: "green", value: "#1a7f1f" },
72
- bordeaux: { name: "bordeaux", value: "#b01657" },
73
- magenta: { name: "magenta", value: "#d40053" },
74
- violet: { name: "violet", value: "#7f3da7" },
75
- gray: { name: "gray", value: "#666666" },
76
- },
77
- },
78
- html: {
79
- root: "#root-inner",
80
- removeComments: /\?lit\$[0-9]+\$/,
81
- removeEmptyComments: true,
82
- prettier: {
83
- tabWidth: 2,
84
- useTabs: false,
85
- },
86
- },
87
- },
88
-
89
- initialGlobals: {
90
- backgrounds: {
91
- value: "light",
92
- },
93
- },
94
- }
95
-
96
- export default preview
@@ -1,11 +0,0 @@
1
- @font-face {
2
- font-family: InterRegular;
3
- font-display: swap;
4
- src: url("fonts/Inter-Regular.woff2") format("woff2");
5
- }
6
-
7
- @font-face {
8
- font-family: InterBlack;
9
- font-display: swap;
10
- src: url("fonts/Inter-Black.woff2") format("woff2");
11
- }
@@ -1,5 +0,0 @@
1
- p {
2
- font: var(--leu-t-curve-regular-regular-font);
3
- margin: 0 0 var(--leu-t-curve-regular-regular-spacing) 0;
4
- color: var(--leu-color-black-60);
5
- }
@@ -1,19 +0,0 @@
1
- <svg width="184" height="180" viewBox="0 0 184 180" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <style>
3
- :root {
4
- --primary: black;
5
- --background: transparent;
6
- }
7
-
8
- @media (prefers-color-scheme: dark) {
9
- :root {
10
- --primary: #FFFFFE;
11
- --background: var(--primary);
12
- }
13
- }
14
- </style>
15
- <path fill-rule="evenodd" clip-rule="evenodd" d="M184 106.207L184 71.3381L149.131 71.3381L184 106.207Z" fill="var(--background)"/>
16
- <path fill-rule="evenodd" clip-rule="evenodd" d="M149.131 71.339V106.208H184L149.131 71.339Z" fill="#009EE0"/>
17
- <path fill-rule="evenodd" clip-rule="evenodd" d="M149.131 106.208H184V71.3397H149.131V106.208ZM150.148 105.191H182.983V72.3566H150.148V105.191Z" fill="var(--primary)"/>
18
- <path fill-rule="evenodd" clip-rule="evenodd" d="M48.9005 175.507C49.5435 175.705 50.24 176.091 50.5714 176.6C51.3844 175.631 52.4993 173.352 52.0134 171.253C50.4871 171.253 49.076 173.638 48.9005 175.507ZM52.8152 169.047C53.3951 170.174 53.7096 172.157 53.5453 173.369C53.7588 173.391 54.027 173.475 54.2685 173.581C54.7417 172.405 55.2275 169.566 54.1716 167.689C53.6773 167.771 52.9528 168.305 52.8152 169.047ZM56.5713 170.47C57.1933 168.643 57.0107 166.429 56.3592 165.566C56.1949 165.343 55.2486 165.871 55.0843 166.529C55.6038 167.417 56.1065 169.242 56.0517 170.372C56.216 170.372 56.4056 170.396 56.5713 170.47ZM99.997 167.945C100.849 168.083 101.654 168.429 102.123 168.726C102.538 168.036 103.589 165.238 102.986 163.706C101.258 163.87 99.9689 166.717 99.997 167.945ZM103.954 161.855C104.381 162.618 104.73 164.135 104.756 165.096C104.983 165.113 105.271 165.113 105.477 165.171C106.098 163.302 105.893 161.03 105.271 160.201C104.895 160.077 104.237 161.064 103.954 161.855ZM107.471 160.505C107.678 159.459 107.471 157.51 106.915 156.784C106.525 156.539 106.067 157.28 105.868 158.168C106.318 158.817 106.86 159.831 106.977 160.505C107.143 160.489 107.294 160.489 107.471 160.505ZM67.5783 106.067C65.1561 106.957 62.1232 109.012 62.0319 109.589C61.8283 110.923 61.7469 112.85 61.7469 114.288C63.3266 113.376 63.7759 111.737 65.5521 110.328C68.7549 107.813 70.3107 107.448 70.1408 107.08C69.7715 106.404 68.2705 106.067 67.5783 106.067ZM102.287 153.379C97.4541 152.875 92.798 157.212 89.7524 155.296C88.3651 154.424 86.5102 152.424 85.151 150.431C84.2973 149.19 81.892 145.602 82.1125 144.161C82.2024 143.559 83.16 143.117 84.8463 142.045C87.7922 140.187 90.439 138.318 92.8906 136.335C95.8758 133.931 100.47 130.293 100.514 125.572C100.546 122.321 98.3963 118.782 96.7183 116.609C93.7696 112.792 88.6937 109.161 83.855 106.404C81.7278 105.197 77.7541 103.122 75.2772 102.14C72.8396 103.508 71.6376 103.878 69.5722 104.99C71.0872 105.6 72.3313 106.577 72.0856 107.41C71.9325 107.929 71.5506 108.043 69.7392 109.244C68.6805 109.952 67.3817 110.972 66.7793 111.524C65.4454 112.749 64.7152 114.107 63.5807 115.458C62.8927 116.272 62.4574 116.576 61.7637 117.094C61.7581 117.776 61.7188 118.405 61.6781 119.267C69.5722 119.489 76.7136 121.769 80.1565 126.182C80.6494 126.815 81.4118 127.908 81.7193 128.721C83.2681 132.838 80.6396 136.194 78.4323 137.652C76.239 139.1 71.2403 139.983 69.8305 141.314C68.7451 142.336 68.6468 144.186 67.3564 145.781C66.7779 146.507 66.0927 146.935 65.2811 147.403C65.7206 148.235 67.4098 148.966 68.6145 148.836C69.0821 148.383 69.5497 148.071 70.0327 147.337C70.402 146.778 70.7263 145.881 70.6997 144.893C70.6941 144.646 71.0423 144.374 71.1981 145.196C71.9817 149.296 67.2202 149.773 68.0781 154.357C68.9515 153.773 70.3486 153.076 71.8469 153.454C72.2232 152.654 72.7609 152.184 73.1948 151.502C73.456 151.091 73.7635 150.448 73.7242 149.272C73.7144 148.975 74.1159 148.861 74.2802 149.897C74.752 152.852 71.625 153.601 72.9168 158.274C73.7593 157.551 74.9991 157.231 76.1913 157.261C76.5016 156.595 77.257 155.92 77.0759 154.44C77.0365 154.112 77.3876 153.783 77.6473 154.876C78.1669 157.065 76.3204 157.887 77.2682 160.775C80.5609 159.445 81.402 161.823 82.8623 163.697C83.695 164.778 84.7944 166.471 85.6622 167.138C87.8737 168.833 94.0631 167.376 98.7571 167.87C99.0604 165.318 100.712 163.039 102.724 162.562C101.773 159.401 97.6001 158.652 95.5417 160.768C95.2299 161.089 95.4251 160.24 96.0345 159.724C98.0087 158.06 101.549 158.571 103.297 160.859C103.645 159.993 104.32 159.237 104.838 159.215C103.358 156.069 99.0478 155.367 96.679 157.297C96.4937 157.444 96.4333 157.031 97.0904 156.456C98.9214 154.851 102.838 154.966 105.147 157.427C105.305 156.53 105.771 155.863 106.237 155.863C105.599 154.834 103.857 153.535 102.287 153.379ZM128.349 85.8896C126.852 86.8998 126.848 89.271 127.108 90.7765C127.9 90.639 128.556 90.6615 129.251 90.8804C129.727 89.3117 129.245 86.8002 128.349 85.8896ZM131.152 86.9966C131.186 85.2021 130.21 82.7018 129.15 81.7898C128.637 81.8712 128.532 83.0849 128.589 83.8874C129.596 84.7601 130.269 86.0327 130.589 87.0921C130.783 87.05 130.999 87.0023 131.152 86.9966ZM129.578 80.4723C130.298 81.2216 131.037 82.3216 131.385 83.2869C131.504 83.256 131.705 83.2055 131.834 83.2055C131.921 81.9301 131.127 79.6557 130.076 78.7479C129.624 78.6245 129.46 79.8858 129.578 80.4723ZM123.593 38.0881C122.58 36.5096 120.483 35.9063 119.394 36.0087C119.012 37.5479 121.01 39.327 122.351 39.8237C122.782 38.8415 123.21 38.3491 123.593 38.0881ZM120.941 34.1033C119.985 33.1759 117.525 32.0338 115.757 32.6161C115.614 33.3345 116.609 34.297 117.328 34.7277C118.195 34.4008 119.416 34.2591 120.729 34.5608C120.782 34.4232 120.85 34.2829 120.941 34.1033ZM111.13 38.9117C110.476 37.1101 110.593 35.7716 111.312 34.217C111.663 33.4579 112.467 32.5978 113.011 32.1881C112.061 31.9763 111.703 31.4838 111.584 31.053C106.414 33.8157 109.107 39.1671 108.576 43.9319C108.246 46.8952 104.48 47.9517 102.001 49.5021C99.8692 50.8365 97.7813 52.2704 96.3097 53.7731C98.9776 60.0842 97.1508 61.469 100.128 64.5151C99.6221 65.124 98.6673 65.5492 97.9694 65.552C97.9273 68.2248 97.69 70.6466 97.0034 73.036C99.1798 72.1521 100.799 73.6183 102.614 71.8518C100.945 70.582 100.876 68.2248 101.303 66.9116C101.553 66.1511 101.876 66.2451 101.876 66.4556C101.876 66.8386 101.925 67.1852 102.012 67.4335C102.981 67.6833 105.036 67.7801 106.396 66.8891C104.073 62.9198 108.517 59.4261 111.883 57.2303C114.217 55.708 117.584 54.0271 119.249 51.7779C121.496 48.7501 120.392 45.4571 121.834 40.9714C120.138 40.1226 117.894 38.4459 118.141 36.0438C116.358 36.2683 114.263 38.4753 115.412 42.2146C115.604 42.8614 115.209 42.6748 114.834 42.0686C113.374 39.3284 114.677 36.1981 116.343 35.2833C115.407 34.6884 114.628 33.5211 114.725 32.8995C112.022 33.8817 111.165 36.2262 111.751 39.341C111.844 39.7999 111.46 39.8139 111.13 38.9117ZM116.775 30.468C115.819 30.0162 113.998 29.7748 112.755 30.4932C112.348 30.851 112.859 31.3463 114.031 31.5862C114.943 31.1527 115.91 30.9745 116.703 30.9478C116.703 30.757 116.729 30.684 116.775 30.468ZM83.386 25.9486C83.2835 25.8981 83.2077 26.1282 83.0519 26.3724C82.8314 26.7063 82.4635 27.2212 81.9398 27.6744C82.4453 27.6436 83.4226 27.7123 83.8789 27.8161C83.9365 27.1399 83.5377 26.0188 83.386 25.9486ZM73.2173 27.6281C73.8379 29.6977 77.5266 27.7334 80.4079 27.5355C81.3135 26.7877 82.0156 26.0328 82.3975 25.3678C78.883 24.6648 74.9977 25.1208 73.2173 27.6281ZM84.1415 20.9817C84.4223 21.6356 84.6105 22.368 84.6512 22.6402C84.6919 22.9264 84.6778 23.1776 84.8295 23.1004C85.3322 22.8492 86.1859 21.7142 86.3291 20.9298C85.7296 21.0351 84.654 21.0168 84.1415 20.9817ZM72.5489 25.6736C74.9697 23.6672 78.4744 22.9124 83.6149 23.7935C83.5714 22.9138 83.0785 21.6342 82.6643 21.0196C77.5196 20.1722 72.6542 20.0908 72.5489 25.6736ZM57.5499 2.13417C49.8468 1.89986 47.1663 3.11072 42.4372 3.31276C41.5273 3.28891 40.8028 3.04337 40.5248 2.91709C40.2987 3.44044 40.2117 4.75513 40.515 5.38511C37.9145 6.93832 37.6098 9.97599 34.1837 9.42598C33.9632 10.3632 34.5418 11.6457 35.1989 12.1269C35.5485 11.9894 36.2731 11.7369 36.1635 12.0876C34.7805 16.005 35.0543 17.6845 34.7046 19.6572C34.4968 20.8386 32.8161 21.9246 31.2842 22.2249C31.1732 23.2674 31.8402 24.8346 33.2963 25.097C34.1711 23.3207 35.4643 23.0471 35.2396 23.5915C34.8675 24.4937 34.56 26.103 34.5333 27.2563C34.4407 31.1288 35.4278 35.049 36.6634 37.9225C39.0701 43.518 42.0567 47.9882 37.9061 50.6092C38.4467 51.9084 41.1314 52.8134 43.114 52.0193C43.9382 49.8599 43.4173 48.2422 43.3064 47.7076C43.2699 47.5196 43.4538 47.4803 43.6588 47.6445C44.8692 48.6617 44.9394 50.6625 44.7063 52.2494C44.0927 56.4558 40.4967 61.6598 42.9806 66.5524C43.722 65.8747 44.8692 65.3219 45.911 65.0904C46.0809 62.5354 46.8883 60.7324 48.3697 59.6576C49.2403 59.0277 49.3891 59.4261 49.1532 59.6913C47.325 61.9208 47.4514 66.116 47.9386 69.8805C48.5494 74.5836 47.0653 77.3491 45.6513 78.0913C47.391 79.1871 50.2793 78.5234 51.7663 77.7489C52.8559 77.1821 54.5437 75.7762 55.1882 74.4882C53.5439 71.6708 53.4372 69.033 53.8557 67.3367C54.1997 65.9406 54.9804 65.458 54.8343 66.13C53.784 72.0595 59.4301 74.78 59.3037 80.5579C62.2313 79.5954 63.5063 76.0667 63.269 72.7484C63.3209 72.3008 63.6734 72.5253 63.8363 72.9743C65.4973 77.7026 62.4841 84.2929 56.89 83.719C57.6749 80.9241 56.758 77.6465 55.9464 76.0554C55.2289 77.5301 53.8683 78.769 52.5737 79.4986C52.401 80.9704 52.0696 82.2613 51.814 83.3318C50.8901 87.2071 49.2683 89.9052 46.856 92.3733C41.5835 97.7737 39.6303 98.2086 36.1846 103.212C35.4334 103.985 33.1545 105.22 31.8388 105.738C21.4018 109.846 12.6527 104.256 13.3491 93.0734C13.6285 88.5807 15.9763 82.6639 17.8466 78.3888C23.3157 65.8859 28.4618 55.4288 29.1204 45.892C29.661 38.0502 26.2868 30.2322 18.1288 30.1495C12.5853 30.0933 7.24254 34.6393 7.12599 43.7551C7.05719 49.1275 7.18075 53.1852 4.87657 56.8515C4.38793 57.6358 4.14501 58.023 3.48085 58.8803C6.65841 59.4093 10.0143 57.6119 12.2497 55.0527C12.4617 55.4316 12.8029 56.0349 12.9475 56.62C15.2995 54.368 15.673 50.2163 14.8038 46.9219C16.3371 47.3653 17.716 46.4308 18.2636 45.133C14.7252 44.6657 12.3578 41.3082 12.9152 37.6265C13.2466 35.4503 15.1717 33.0707 17.7806 32.7648C24.585 31.9622 26.5817 38.8584 26.4876 45.3981C26.3669 53.6889 21.3583 62.8496 16.9198 72.1408C13.3477 79.6207 9.29538 87.2141 8.88257 94.3165C8.42482 102.2 12.0363 116.289 31.6605 113.236C32.4468 110.947 33.417 110.059 34.0026 110.323C34.1935 110.421 34.0531 110.782 33.945 111.517C33.5912 113.944 33.4704 115.458 33.5912 118.051C33.82 123.154 36.0442 128.254 36.3054 131.941C36.7182 137.774 33.7021 138.45 28.9294 138.985C26.9243 139.215 23.9363 139.141 22.1109 140.015C21.0508 140.524 20.353 143.156 19.3181 144.482C18.3001 145.79 16.8974 146.44 15.197 146.771C15.7137 148.087 17.4829 149.034 19.4066 149.083C20.1044 148.564 20.8669 147.321 21.1898 145.839C21.2558 145.536 21.6321 145.314 21.5914 146.458C21.4889 149.525 18.6554 152.875 15.4918 153.355C16.0605 154.819 18.3029 155.931 20.0553 155.722C21.4271 154.99 22.5153 153.684 23.0166 151.83C23.1458 151.305 23.4814 151.543 23.4603 152.233C23.4196 154.062 22.4746 155.558 21.2334 156.703C19.9893 157.845 19.1847 159.37 19.5905 161.155C20.4091 160.744 21.9958 160.661 23.1851 160.924C23.7903 160.357 24.637 159.41 24.8813 158.044C24.9627 157.59 25.4275 157.689 25.3461 158.761C25.1551 161.302 23.0587 162.471 23.5937 164.876C28.5896 162.488 29.1372 171.36 33.0225 174.034C36.2422 176.247 42.214 174.923 47.6438 175.309C48.0341 172.923 49.559 170.478 51.6764 170.027C50.7708 166.61 46.8111 166.742 44.9984 167.919C44.6052 168.182 44.7189 167.657 45.1626 167.286C47.3629 165.656 50.5489 166.157 52.0696 168.044C52.4403 167.352 53.176 166.783 53.7714 166.685C52.2086 163.427 48.4792 162.809 45.7805 164.463C45.2932 164.783 45.4336 164.071 46.2944 163.574C49.5281 161.698 52.9542 163.163 54.4763 165.558C54.7852 165.047 55.4564 164.414 55.9689 164.455C55.0843 162.339 52.7801 160.842 49.8454 160.9C44.7512 160.989 40.4588 164.374 38.5941 161.764C36.4949 158.802 33.8874 153.43 33.6838 147.008C33.6838 146.466 33.7035 145.955 34.1879 145.781C38.1335 144.888 41.8601 144.143 45.1907 143.068C48.7741 141.898 52.3406 140.664 54.9059 137.652C57.6384 134.452 58.384 127.226 58.8488 121.366C59.0706 118.567 59.3458 114.42 59.5621 111.35C59.9075 106.436 60.9451 103.293 62.8688 102.395C63.3574 102.167 63.6018 102.405 63.2226 103.082C62.7326 103.895 62.3268 105.409 62.1358 106.79C62.9938 106.116 64.1002 105.384 64.8683 104.966C67.3915 103.598 69.0793 102.858 71.8623 101.403C74.5175 100.01 77.0604 98.1596 78.9574 96.6765C80.1593 95.7322 81.5536 94.6041 82.7542 92.9836C82.4621 92.5963 82.1546 92.0772 82.003 91.7222C80.6494 93.549 77.8622 95.0629 75.6717 94.8749C76.2516 93.0397 75.5861 90.4735 74.0457 89.2051C72.3425 87.8062 71.2768 87.0219 70.2026 85.8419C66.6235 81.9245 69.6775 73.652 66.0056 68.6626C65.7473 68.1491 66.3047 68.2866 66.9071 68.8562C69.0428 70.8781 69.4486 73.9873 69.8881 77.1063C70.2223 79.4453 70.3585 82.236 71.4719 83.9842C73.4546 87.0991 77.9717 87.7824 77.7737 92.4729C79.213 92.094 80.985 90.7036 81.0552 89.4773C80.9878 88.9175 80.7098 87.6547 79.9459 87.0836C79.7592 86.9405 79.8771 86.6543 80.4472 86.8339C81.5101 87.1664 82.0325 88.4741 82.4874 89.4352C82.9802 90.4763 83.4914 91.4177 84.2159 92.2596C85.5203 93.7637 87.121 94.5312 87.3429 96.9739C88.5505 96.5965 90.161 95.3534 90.307 93.7398C89.6639 91.9215 90.081 90.2083 88.184 88.9511C87.9354 88.7856 88.0492 88.3675 89.077 88.794C91.4949 89.807 91.1284 92.696 92.3023 94.2758C93.0844 95.3281 94.021 96.2163 95.6119 96.5699C95.7775 95.091 96.4108 93.4929 97.7237 92.6454C97.6001 91.8218 97.4737 91.3294 96.5442 90.604C96.2957 90.4075 96.342 90.0119 97.3951 90.5464C99.587 91.6577 98.9453 94.7767 101.876 96.0199C102.71 93.4354 105.865 94.3263 108.86 95.098C110.352 95.4853 112.186 95.9371 113.788 96.0199C119.736 96.3089 120.726 92.3087 125.943 91.0151C125.569 88.4166 126.105 86.0327 127.772 85.0379C125.592 82.4633 121.987 83.7808 120.764 85.5417C120.493 85.8952 120.527 85.2737 120.944 84.6731C122.512 82.3062 125.691 82.062 127.628 83.1929C127.588 82.3819 127.9 81.056 128.394 81.0237C126.969 79.4228 122.79 78.7676 120.527 81.5022C120.253 81.8137 120.32 81.2188 120.65 80.7333C122.302 78.4786 126.027 77.8401 128.551 79.7217C128.529 79.1941 128.803 78.0562 129.418 78.0282C128.352 76.7682 126.228 76.026 124.148 76.235C118.155 76.8355 116.517 83.4469 110.055 82.9053C108.561 82.7804 107.115 81.8221 104.223 80.8287C102.707 80.3068 100.846 79.7932 99.1615 79.3976C94.5363 78.3158 90.2424 78.2583 87.8596 75.1434C87.0551 74.0939 86.3586 72.8241 86.0876 70.9566C85.943 70.0951 86.28 69.7037 86.5201 70.279C87.9397 73.0655 89.4196 75.6485 92.9398 76.3332C94.3804 73.5944 95.4602 68.925 95.2819 64.8855C93.7486 64.1952 93.7598 63.5021 93.2656 63.293C93.486 66.363 92.3318 69.569 91.3742 70.5273C90.9347 67.651 88.542 65.5211 86.0806 64.8546C85.7647 64.7691 85.7239 64.2527 87.0635 64.3425C87.9649 64.4043 90.0852 64.9627 91.0175 66.1974C91.8684 63.2369 91.3587 60.4658 90.3112 57.7761C89.7454 56.3183 88.3918 54.4171 86.888 53.3157C86.5608 53.0758 86.697 52.7054 87.7641 53.2554C90.5008 54.6669 92.607 57.4281 93.0732 61.26C94.5194 62.1046 95.1246 63.9946 97.1564 63.4544C95.4167 61.5069 96.2859 58.2475 93.545 53.5051C92.0875 50.9824 90.1343 49.1668 86.8501 47.5575C82.8005 45.5707 77.9212 44.1732 74.7969 42.9217C71.5211 41.6098 69.7069 40.159 69.2773 35.4377C68.1793 34.9452 67.5376 34.238 66.8846 33.4172C66.2879 33.9378 65.9214 35.0827 65.8961 35.8291C63.7703 34.8035 62.6343 32.6427 62.4349 30.7542C61.7694 30.8524 60.4214 34.694 55.4971 32.856C58.4219 29.8015 54.4117 27.3924 57.571 23.757C58.1621 23.0204 59.0538 22.8338 58.662 23.3824C55.7835 27.4962 59.2546 28.9148 57.9094 31.6045C61.0294 31.8977 61.2161 27.7755 63.9528 27.8414C63.5751 29.6668 64.0005 32.1545 65.1098 32.9318C65.7655 31.777 66.5687 31.018 67.7777 30.5522C68.3098 32.8111 69.9063 34.022 71.8567 34.4555C74.8026 35.108 78.1163 33.3653 80.5244 33.7077C81.9777 33.9125 83.2751 34.7642 83.7947 35.9877C84.9966 34.8119 86.096 30.3557 85.6186 30.0246C80.9302 27.095 73.3268 33.3681 71.1069 28.0659C70.7137 27.1272 70.5228 25.9318 70.6884 24.8683C71.3442 20.5861 74.1819 18.5165 79.2789 18.8869C81.5157 19.0497 86.4176 20.1034 87.7248 19.1339C88.8088 18.3299 88.5111 15.3063 87.854 13.9846C86.5355 13.631 85.0092 12.7443 85.0879 11.7733C85.1679 10.9104 85.9697 12.726 87.7248 12.183C88.2163 11.9599 88.4845 10.185 88.1643 10.0756C85.3476 9.0261 81.4722 8.36385 78.0461 8.72444C77.5392 10.2552 76.3331 10.4109 76.2306 11.5839C76.055 13.5959 75.426 15.2502 74.5723 15.9082C74.2409 16.1299 74.262 15.7903 74.4571 15.1534C74.6987 14.3676 74.9753 13.0586 74.6088 12.249C73.8267 10.5372 70.4708 10.7757 70.3964 8.88159C70.3458 8.10989 70.798 8.19548 74.1173 8.96998C75.5215 9.29549 75.6619 9.31654 75.8627 8.88579C76.4159 7.64687 74.5119 6.98181 72.834 6.57632C67.7833 5.35845 63.1314 5.517 61.1572 6.28168C63.151 7.22876 63.6678 9.13414 63.0359 10.0433C62.6006 10.6228 62.9123 9.10187 60.6685 7.7507C58.2197 6.27607 53.8936 6.03754 53.0483 7.22735C52.5737 7.89803 52.4403 9.8904 52.5877 10.794C52.8377 12.3472 53.3389 13.8695 55.0562 15.0187C57.4165 16.5985 59.0046 15.7216 58.7842 16.2253C58.2857 17.2945 55.2092 17.1443 53.4077 15.7132C51.9123 14.5262 50.8031 12.9575 50.511 10.7308C50.306 9.14817 50.5166 6.76714 51.2411 5.90706C52.2212 4.74671 55.0056 4.49135 57.6075 5.00067C59.7025 4.35946 62.4742 3.95397 64.6043 4.1041C63.1131 2.85536 60.1616 2.21415 57.5499 2.13417ZM87.6771 21.1978C87.1674 22.2515 86.2687 23.6041 85.3069 24.0629C86.8304 24.3351 89.4196 24.8753 91.3321 24.669C93.7205 24.4095 95.1569 22.1926 93.8848 19.9435C93.7949 19.7863 93.837 19.3359 94.4268 19.6572C97.3853 21.2553 96.7717 25.5726 93.6868 26.6768C90.7423 27.732 87.0803 26.1479 84.4953 25.7185C84.88 26.4117 85.1482 27.2942 85.2002 27.7979C85.9233 27.9915 87.7248 28.5093 87.6574 29.1799C87.3977 31.2214 87.0087 33.6712 86.162 35.5625C85.4066 37.2476 84.0418 39.1979 82.3737 39.4182C82.7135 33.5814 76.2095 37.6082 72.5349 36.4002C72.2035 40.5519 78.7145 41.6547 85.6706 44.6307C89.2932 46.1825 92.8415 48.1019 95.2033 51.705C97.9554 49.6116 100.286 48.3558 103.93 46.5038C105.298 45.8092 106.56 45.1736 106.822 43.8772C107.033 42.8487 106.921 40.1352 106.705 38.5188C105.618 30.4175 113.488 25.9515 118.786 30.0639C118.641 30.3024 118.489 30.6742 118.453 31.0671C120.092 31.4866 121.833 32.5473 122.945 33.6263C122.598 34.0234 122.33 34.4415 122.165 34.9227C123.481 35.4938 125.214 36.9165 125.766 38.3491C125.107 38.9257 124.332 40.1071 124.05 40.702C123.059 42.7828 123.049 45.4192 122.604 47.7946C122.215 49.8599 121.423 52.1624 120.1 53.7268C117.219 57.1321 111.302 59.022 108.381 62.6083C107.386 63.8318 107.377 66.4598 109.099 67.0813C107.449 69.1565 104.694 69.482 102.919 69.2659C103.228 70.5666 104.688 71.2934 105.43 71.3663C102.953 76.3164 98.5746 73.8414 96.4459 75.1855C96.2395 75.8295 96.0822 76.2224 95.8927 76.6503C99.4915 77.2691 103.311 78.5431 105.49 79.427C107.398 80.2043 110.296 81.9063 113.002 80.9143C114.653 80.3068 116.22 78.6132 117.716 77.4852C119.704 75.9867 121.907 74.2707 126.08 74.7674C129.786 75.208 133.698 78.7339 133.379 84.4851C132.956 84.4304 132.607 84.4318 132.298 84.4851C132.469 85.3663 132.691 87.3137 132.524 88.4895C131.968 88.4081 131.54 88.4446 131.221 88.5064C131.306 89.5713 131 91.7573 130.288 93.0565C129.225 92.703 127.628 92.4378 126.226 92.891C122.317 94.1509 119.718 98.3728 113.527 97.8551C112.07 97.7302 110.19 97.4019 108.728 97.0651C107.345 96.7537 105.351 96.0114 104.392 96.1503C103.271 96.3089 103.204 97.0301 102.996 98.2409C100.251 97.7821 98.6265 96.2415 98.2151 94.6799C96.9977 95.5512 97.0974 97.1227 97.0764 98.5384C94.7104 98.3237 92.5551 97.451 91.3672 95.7406C90.512 97.4608 88.2921 99.1052 85.7043 99.0407C85.8615 97.9603 85.6888 96.2233 84.515 95.1135C82.955 97.0301 81.2054 98.4879 78.6766 100.292C83.386 102.652 88.6811 105.738 93.2852 109.682C97.4794 113.269 102.432 118.939 102.696 124.724C102.979 130.952 98.4946 134.551 94.9028 137.2C91.3461 139.834 88.3792 141.955 84.984 144.227C84.668 144.425 84.6877 144.597 84.7747 144.851C85.5891 147.214 86.8023 149.543 88.1531 151.272C88.9212 152.258 90.4573 154.069 91.9878 154.112C94.3467 154.186 97.6984 152.036 100.397 151.698C106.295 150.952 110.57 155.895 108.689 162.324C108.316 162.134 107.8 162.053 107.467 162.092C107.529 164.019 106.884 166.052 106.331 167.163C105.854 166.85 105.303 166.676 104.926 166.619C104.635 168.217 103.761 170.347 102.666 171.409C101.898 170.734 100.663 170.372 99.9506 170.29C91.5637 169.944 87.6911 171.055 84.7003 169.12C83.7483 168.504 82.6826 166.85 81.826 165.722C80.9316 164.546 79.9417 162.728 79.0094 162.496C77.8355 162.207 77.1053 162.669 76.5044 163.276C75.6759 162.226 75.1564 160.629 75.3923 159.286C74.3055 159.017 73.0109 159.936 72.2639 160.677C71.3498 159.445 70.819 157.163 71.1195 155.262C69.6648 154.934 68.2438 155.906 67.4603 156.827C66.0309 154.497 66.3272 151.947 67.1935 150.5C65.2235 150.103 63.5063 148.738 62.8225 146.828C66.1685 145.404 66.6361 143.256 67.7412 140.869C69.1987 137.718 78.5011 137.363 79.4854 132.919C79.7999 131.504 79.3281 129.653 78.8254 128.721C76.3289 124.083 68.4095 122.618 61.6247 122.667C61.3622 126.51 60.9493 129.793 60.1897 132.64C59.4778 135.307 58.2899 137.884 56.6148 139.759C54.3864 142.243 50.4899 143.643 46.9389 144.695C43.3808 145.751 40.2552 146.449 36.5104 147.329C35.8939 147.395 36.8151 153.758 38.7373 157.88C39.7834 160.117 40.1752 161.328 42.0412 161.047C44.3651 160.693 47.5413 159.13 50.4815 159.237C56.4688 159.452 60.6573 165.813 57.3688 172.308C56.9841 172.084 56.6962 171.935 56.3634 171.877C56.1388 173.344 55.5153 174.79 54.9172 175.762C54.4229 175.409 54.048 175.245 53.572 175.096C52.9781 176.931 51.793 178.469 50.7666 179.152C50.0224 178.396 49.0086 177.704 47.5511 177.647C38.507 177.307 34.6049 178.635 30.9303 175.294C29.7312 174.197 28.7848 172.405 27.9985 170.577C26.4624 167.014 25.2422 165.057 22.6038 167.657C21.5184 166.018 21.3934 163.953 22.1053 162.588C20.9244 162.207 19.3181 162.728 18.3591 163.202C17.4029 161.518 17.525 158.761 18.5571 157.403C16.0717 157.155 13.7114 155.098 13.255 152.349C14.6732 152.39 16.4649 151.634 17.4632 150.647C15.1562 150.176 13.3084 148.171 12.772 145.487C14.2983 145.487 16.031 145.147 17.0041 144.391C19.2002 142.672 18.5093 139.215 21.9101 138.079C25.9892 136.713 33.9717 138.557 34.2034 133.462C34.3031 131.331 32.7445 127.258 32.0803 124.716C31.3754 122.016 30.9781 119.193 30.9795 116.075C12.1486 117.87 6.11923 105.402 6.65139 95.279C7.08668 87.0177 10.0663 81.2847 14.8544 71.7508C20.7559 60.0042 25.0414 51.5478 24.6777 43.4787C24.512 39.7999 23.157 35.4629 20.4147 34.6968C15.1801 33.2306 13.1792 39.1685 15.7193 42.2258C16.5772 43.257 18.2355 44.0147 20.221 43.8113C20.2884 46.5445 18.8983 48.2211 16.962 48.6771C17.6374 53.6819 15.5873 57.9052 12.0152 59.8611C11.9717 59.2858 11.8228 58.827 11.674 58.2728C9.10582 60.2792 3.58616 62.3852 0 59.9621C1.05731 58.7555 1.59791 58.1241 2.27891 57.1868C3.68165 55.2618 4.8527 52.9425 5.02119 50.2809C5.19671 47.4985 5.31185 44.7738 5.36661 42.4994C5.54072 35.3254 10.305 27.9116 19.0612 28.564C26.4371 29.1098 30.6172 35.136 30.9963 43.1995C31.433 52.4963 26.7362 63.1653 20.3754 78.0731C17.848 83.9898 15.496 90.148 15.6856 94.9002C15.9215 100.736 19.8264 104.823 25.3376 104.966C28.6991 105.047 32.8498 103.427 34.5909 101.657C34.8338 101.409 35.0697 101.064 36.0119 99.7563C40.2159 93.9222 48.8359 90.1522 49.3498 80.9536C46.4643 81.8403 42.7489 80.0612 42.1227 77.937C44.6965 76.9857 46.5359 74.8979 45.897 69.5367C45.8535 69.0358 45.7861 68.3231 45.7622 67.7057C44.3384 67.9442 43.1716 68.9586 42.4976 70.0531C37.819 65.2265 40.2369 59.0655 41.8236 54.7777C38.2262 54.9545 35.3421 52.1975 34.9742 49.7491C36.714 49.5218 37.8092 48.2506 37.7657 46.724C37.732 45.4613 36.8473 43.5447 36.1537 42.035C34.1725 37.7177 32.2558 33.3794 32.3653 27.4934C29.7888 26.2784 28.6556 23.2674 28.7286 20.8962C30.9387 20.7348 32.51 19.6825 32.5774 18.271C32.6321 17.1471 32.8189 15.0481 33.2879 13.6633C32.444 12.8411 31.0932 10.3254 32.4187 7.37187C33.3609 7.59075 34.8408 7.63144 35.7381 7.13756C36.1284 6.92008 36.8909 5.55909 38.1883 4.61061C37.9987 3.69159 38.1757 1.63608 39.2007 0.334024C39.8325 0.620252 40.8548 0.899465 41.8601 1.00049C46.22 1.44246 56.5881 -1.6373 64.2519 1.25023C65.8484 1.85356 67.202 2.76556 68.1975 3.76175C69.7196 3.9245 71.6306 4.25283 73.5164 4.67656C77.2682 5.517 77.1924 6.19188 78.5923 6.46548C79.161 6.57492 80.7322 6.68717 82.3035 6.82186C83.9786 6.96498 88.8018 7.84331 89.7566 8.87036C90.6258 9.81042 89.737 11.4983 89.7861 13.3434C89.831 15.0467 90.6861 18.0619 89.5277 20.0894C89.1514 20.7432 88.41 21.0729 87.6771 21.1978ZM61.6042 12.0757C61.3754 13.1519 60.4444 13.4184 60.4388 12.6145C60.429 10.3218 58.0265 9.15589 55.4864 8.92999C54.8124 8.86826 55.485 8.37858 56.1857 8.31264C58.6148 8.08113 62.1252 9.6161 61.6042 12.0757ZM40.8685 32.5259C40.0078 37.4128 42.6602 37.7243 42.8034 41.326C44.567 41.6599 46.5075 40.3775 47.5761 38.6952C47.753 38.416 47.9187 38.7008 47.7642 39.3196C47.1338 41.8479 43.8972 44.3286 40.7815 43.2426C42.1828 39.9538 38.1206 36.78 40.2942 32.7588C40.7239 31.9716 40.9303 32.1232 40.8685 32.5259ZM49.5984 45.7838C49.8807 45.4317 50.1278 45.5271 50.0267 45.8736C47.5919 53.9792 53.575 54.5559 54.0313 61.5446C56.5166 60.874 57.6343 58.862 58.4543 56.4627C58.6467 55.8145 58.9809 56.1722 58.9331 57.0408C58.8363 58.8437 58.3392 60.3099 57.7677 61.177C56.7427 62.7359 54.4062 64.6903 51.4421 64.1965C53.325 58.1001 48.1915 55.8313 48.1761 50.3579C48.1733 49.0825 48.683 46.8418 49.5984 45.7838ZM81.3547 60.3943C81.1581 60.108 81.1455 59.5791 82.2196 60.5626C87.0723 65.0048 82.2898 72.7428 85.5446 76.569C81.0767 78.3158 76.7997 75.2318 76.2998 72.594C76.0667 71.2976 76.9977 73.0276 78.2291 73.8428C79.2639 74.5289 81.2775 75.2346 82.3306 74.9933C81.0767 70.2341 84.9422 66.1974 81.3547 60.3943Z" fill="var(--primary)"/>
19
- </svg>
@@ -1,8 +0,0 @@
1
- import { create } from "storybook/theming/create"
2
-
3
- export const theme = create({
4
- base: "dark",
5
- brandTitle: "leu – Component Library",
6
- brandUrl: "https://www.zh.ch/de/webangebote-entwickeln-und-gestalten.html",
7
- brandImage: "logo.svg",
8
- })