@limetech/lime-elements 39.0.1 → 39.0.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 (242) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/cjs/{checkbox.template-Bu9mvjbY.js → checkbox.template-VElWkDR9.js} +1 -1
  3. package/dist/cjs/{index-DYJkh2ZK.js → index-Ddjrlc-6.js} +1 -1
  4. package/dist/cjs/lime-elements.cjs.js +1 -1
  5. package/dist/cjs/limel-3d-hover-effect-glow.cjs.entry.js +1 -1
  6. package/dist/cjs/limel-action-bar-item_2.cjs.entry.js +1 -1
  7. package/dist/cjs/limel-action-bar_2.cjs.entry.js +1 -1
  8. package/dist/cjs/limel-ai-avatar.cjs.entry.js +1 -1
  9. package/dist/cjs/limel-badge.cjs.entry.js +1 -1
  10. package/dist/cjs/limel-banner.cjs.entry.js +1 -1
  11. package/dist/cjs/limel-breadcrumbs_7.cjs.entry.js +4 -4
  12. package/dist/cjs/limel-button-group.cjs.entry.js +1 -1
  13. package/dist/cjs/limel-button.cjs.entry.js +2 -2
  14. package/dist/cjs/limel-callout.cjs.entry.js +1 -1
  15. package/dist/cjs/limel-card.cjs.entry.js +1 -1
  16. package/dist/cjs/limel-chart.cjs.entry.js +2 -2
  17. package/dist/cjs/limel-checkbox.cjs.entry.js +2 -2
  18. package/dist/cjs/limel-chip_2.cjs.entry.js +3 -3
  19. package/dist/cjs/limel-circular-progress.cjs.entry.js +2 -2
  20. package/dist/cjs/limel-code-editor.cjs.entry.js +2 -2
  21. package/dist/cjs/limel-collapsible-section.cjs.entry.js +2 -2
  22. package/dist/cjs/limel-color-picker-palette.cjs.entry.js +1 -1
  23. package/dist/cjs/limel-color-picker.cjs.entry.js +1 -1
  24. package/dist/cjs/limel-config.cjs.entry.js +1 -1
  25. package/dist/cjs/limel-date-picker.cjs.entry.js +1 -1
  26. package/dist/cjs/limel-dialog.cjs.entry.js +1 -1
  27. package/dist/cjs/limel-dock-button.cjs.entry.js +1 -1
  28. package/dist/cjs/limel-dock.cjs.entry.js +2 -2
  29. package/dist/cjs/limel-drag-handle.cjs.entry.js +1 -1
  30. package/dist/cjs/limel-dynamic-label.cjs.entry.js +1 -1
  31. package/dist/cjs/limel-file-dropzone_2.cjs.entry.js +1 -1
  32. package/dist/cjs/limel-file-viewer.cjs.entry.js +2 -2
  33. package/dist/cjs/limel-file.cjs.entry.js +1 -1
  34. package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +1 -1
  35. package/dist/cjs/limel-flex-container.cjs.entry.js +1 -1
  36. package/dist/cjs/limel-form.cjs.entry.js +2 -2
  37. package/dist/cjs/limel-grid.cjs.entry.js +1 -1
  38. package/dist/cjs/limel-header.cjs.entry.js +1 -1
  39. package/dist/cjs/limel-help-content.cjs.entry.js +1 -1
  40. package/dist/cjs/limel-help.cjs.entry.js +1 -1
  41. package/dist/cjs/limel-helper-line_2.cjs.entry.js +1 -1
  42. package/dist/cjs/limel-icon-button.cjs.entry.js +1 -1
  43. package/dist/cjs/limel-icon.cjs.entry.js +1 -1
  44. package/dist/cjs/limel-info-tile.cjs.entry.js +1 -1
  45. package/dist/cjs/limel-linear-progress.cjs.entry.js +1 -1
  46. package/dist/cjs/limel-list-item.cjs.entry.js +2 -2
  47. package/dist/cjs/limel-markdown.cjs.entry.js +1 -1
  48. package/dist/cjs/limel-menu-item-meta.cjs.entry.js +1 -1
  49. package/dist/cjs/limel-picker.cjs.entry.js +1 -1
  50. package/dist/cjs/limel-popover_2.cjs.entry.js +1 -1
  51. package/dist/cjs/limel-portal_3.cjs.entry.js +1 -1
  52. package/dist/cjs/limel-profile-picture.cjs.entry.js +1 -1
  53. package/dist/cjs/limel-progress-flow-item.cjs.entry.js +2 -2
  54. package/dist/cjs/limel-progress-flow.cjs.entry.js +2 -2
  55. package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +1 -1
  56. package/dist/cjs/limel-radio-button-group.cjs.entry.js +1 -1
  57. package/dist/cjs/limel-radio-button.cjs.entry.js +2 -2
  58. package/dist/cjs/limel-select.cjs.entry.js +2 -2
  59. package/dist/cjs/limel-shortcut.cjs.entry.js +1 -1
  60. package/dist/cjs/limel-slider.cjs.entry.js +2 -2
  61. package/dist/cjs/limel-snackbar.cjs.entry.js +2 -2
  62. package/dist/cjs/limel-split-button.cjs.entry.js +1 -1
  63. package/dist/cjs/limel-switch.cjs.entry.js +2 -2
  64. package/dist/cjs/limel-tab-bar.cjs.entry.js +2 -2
  65. package/dist/cjs/limel-tab-panel.cjs.entry.js +1 -1
  66. package/dist/cjs/limel-table.cjs.entry.js +2 -2
  67. package/dist/cjs/limel-text-editor.cjs.entry.js +1 -1
  68. package/dist/cjs/loader.cjs.js +1 -1
  69. package/dist/collection/components/button/button.css +34 -33
  70. package/dist/collection/components/chart/chart.css +120 -376
  71. package/dist/collection/components/chip/chip.css +68 -69
  72. package/dist/collection/components/chip-set/chip-set.css +29 -116
  73. package/dist/collection/components/circular-progress/circular-progress.css +193 -193
  74. package/dist/collection/components/code-editor/code-editor.css +350 -189
  75. package/dist/collection/components/collapsible-section/collapsible-section.css +125 -125
  76. package/dist/collection/components/dock/dock.css +60 -153
  77. package/dist/collection/components/file-viewer/file-viewer.css +80 -172
  78. package/dist/collection/components/form/form.css +77 -164
  79. package/dist/collection/components/input-field/input-field.css +75 -168
  80. package/dist/collection/components/list/list.css +59 -151
  81. package/dist/collection/components/menu-list/menu-list.css +59 -151
  82. package/dist/collection/components/progress-flow/progress-flow-item/progress-flow-item.css +74 -80
  83. package/dist/collection/components/progress-flow/progress-flow.css +2 -0
  84. package/dist/collection/components/radio-button-group/radio-button.css +2 -2
  85. package/dist/collection/components/select/select.css +39 -132
  86. package/dist/collection/components/slider/slider.css +391 -403
  87. package/dist/collection/components/snackbar/snackbar.css +76 -75
  88. package/dist/collection/components/switch/switch.css +106 -106
  89. package/dist/collection/components/tab-bar/tab-bar.css +208 -203
  90. package/dist/collection/components/table/table.css +170 -462
  91. package/dist/collection/style/color-palette-primary.scss.bak +1 -1
  92. package/dist/collection/style/color-palette-ui.scss.bak +1 -1
  93. package/dist/collection/style/internal/fieldset.scss +2 -2
  94. package/dist/esm/{checkbox.template-CVMlWdZR.js → checkbox.template-BB2t2jwT.js} +1 -1
  95. package/dist/esm/{index-BudcI_o9.js → index-xvTBZcD2.js} +1 -1
  96. package/dist/esm/lime-elements.js +2 -2
  97. package/dist/esm/limel-3d-hover-effect-glow.entry.js +1 -1
  98. package/dist/esm/limel-action-bar-item_2.entry.js +1 -1
  99. package/dist/esm/limel-action-bar_2.entry.js +1 -1
  100. package/dist/esm/limel-ai-avatar.entry.js +1 -1
  101. package/dist/esm/limel-badge.entry.js +1 -1
  102. package/dist/esm/limel-banner.entry.js +1 -1
  103. package/dist/esm/limel-breadcrumbs_7.entry.js +4 -4
  104. package/dist/esm/limel-button-group.entry.js +1 -1
  105. package/dist/esm/limel-button.entry.js +2 -2
  106. package/dist/esm/limel-callout.entry.js +1 -1
  107. package/dist/esm/limel-card.entry.js +1 -1
  108. package/dist/esm/limel-chart.entry.js +2 -2
  109. package/dist/esm/limel-checkbox.entry.js +2 -2
  110. package/dist/esm/limel-chip_2.entry.js +3 -3
  111. package/dist/esm/limel-circular-progress.entry.js +2 -2
  112. package/dist/esm/limel-code-editor.entry.js +2 -2
  113. package/dist/esm/limel-collapsible-section.entry.js +2 -2
  114. package/dist/esm/limel-color-picker-palette.entry.js +1 -1
  115. package/dist/esm/limel-color-picker.entry.js +1 -1
  116. package/dist/esm/limel-config.entry.js +1 -1
  117. package/dist/esm/limel-date-picker.entry.js +1 -1
  118. package/dist/esm/limel-dialog.entry.js +1 -1
  119. package/dist/esm/limel-dock-button.entry.js +1 -1
  120. package/dist/esm/limel-dock.entry.js +2 -2
  121. package/dist/esm/limel-drag-handle.entry.js +1 -1
  122. package/dist/esm/limel-dynamic-label.entry.js +1 -1
  123. package/dist/esm/limel-file-dropzone_2.entry.js +1 -1
  124. package/dist/esm/limel-file-viewer.entry.js +2 -2
  125. package/dist/esm/limel-file.entry.js +1 -1
  126. package/dist/esm/limel-flatpickr-adapter.entry.js +1 -1
  127. package/dist/esm/limel-flex-container.entry.js +1 -1
  128. package/dist/esm/limel-form.entry.js +2 -2
  129. package/dist/esm/limel-grid.entry.js +1 -1
  130. package/dist/esm/limel-header.entry.js +1 -1
  131. package/dist/esm/limel-help-content.entry.js +1 -1
  132. package/dist/esm/limel-help.entry.js +1 -1
  133. package/dist/esm/limel-helper-line_2.entry.js +1 -1
  134. package/dist/esm/limel-icon-button.entry.js +1 -1
  135. package/dist/esm/limel-icon.entry.js +1 -1
  136. package/dist/esm/limel-info-tile.entry.js +1 -1
  137. package/dist/esm/limel-linear-progress.entry.js +1 -1
  138. package/dist/esm/limel-list-item.entry.js +2 -2
  139. package/dist/esm/limel-markdown.entry.js +1 -1
  140. package/dist/esm/limel-menu-item-meta.entry.js +1 -1
  141. package/dist/esm/limel-picker.entry.js +1 -1
  142. package/dist/esm/limel-popover_2.entry.js +1 -1
  143. package/dist/esm/limel-portal_3.entry.js +1 -1
  144. package/dist/esm/limel-profile-picture.entry.js +1 -1
  145. package/dist/esm/limel-progress-flow-item.entry.js +2 -2
  146. package/dist/esm/limel-progress-flow.entry.js +2 -2
  147. package/dist/esm/limel-prosemirror-adapter.entry.js +1 -1
  148. package/dist/esm/limel-radio-button-group.entry.js +1 -1
  149. package/dist/esm/limel-radio-button.entry.js +2 -2
  150. package/dist/esm/limel-select.entry.js +2 -2
  151. package/dist/esm/limel-shortcut.entry.js +1 -1
  152. package/dist/esm/limel-slider.entry.js +2 -2
  153. package/dist/esm/limel-snackbar.entry.js +2 -2
  154. package/dist/esm/limel-split-button.entry.js +1 -1
  155. package/dist/esm/limel-switch.entry.js +2 -2
  156. package/dist/esm/limel-tab-bar.entry.js +2 -2
  157. package/dist/esm/limel-tab-panel.entry.js +1 -1
  158. package/dist/esm/limel-table.entry.js +2 -2
  159. package/dist/esm/limel-text-editor.entry.js +1 -1
  160. package/dist/esm/loader.js +2 -2
  161. package/dist/lime-elements/lime-elements.css +2 -2
  162. package/dist/lime-elements/lime-elements.esm.js +1 -1
  163. package/dist/lime-elements/{p-f80d0b8b.entry.js → p-00859fac.entry.js} +1 -1
  164. package/dist/lime-elements/{p-6c51b3bd.entry.js → p-017dd326.entry.js} +1 -1
  165. package/dist/lime-elements/{p-a91b36d3.entry.js → p-045c6027.entry.js} +1 -1
  166. package/dist/lime-elements/{p-a0b6339c.entry.js → p-083b24bb.entry.js} +1 -1
  167. package/dist/lime-elements/{p-0d1c887c.entry.js → p-11f716f5.entry.js} +1 -1
  168. package/dist/lime-elements/{p-72489a91.entry.js → p-1e5b18cc.entry.js} +1 -1
  169. package/dist/lime-elements/{p-ce8be001.entry.js → p-23f7956e.entry.js} +1 -1
  170. package/dist/lime-elements/{p-7a47ecdc.entry.js → p-264f791d.entry.js} +1 -1
  171. package/dist/lime-elements/{p-690b9cf4.entry.js → p-2a5b259e.entry.js} +1 -1
  172. package/dist/lime-elements/{p-b857f209.entry.js → p-2c1538f0.entry.js} +1 -1
  173. package/dist/lime-elements/{p-48eb1ff2.entry.js → p-303d01e5.entry.js} +1 -1
  174. package/dist/lime-elements/{p-8850374d.entry.js → p-34ef71f2.entry.js} +1 -1
  175. package/dist/lime-elements/{p-3aa32860.entry.js → p-38fb97fe.entry.js} +1 -1
  176. package/dist/lime-elements/{p-ed20f52d.entry.js → p-3c933811.entry.js} +1 -1
  177. package/dist/lime-elements/{p-6abc7ed8.entry.js → p-478d225c.entry.js} +1 -1
  178. package/dist/lime-elements/{p-93c9b561.entry.js → p-4be18a57.entry.js} +1 -1
  179. package/dist/lime-elements/{p-be4e99b4.entry.js → p-52bb74b9.entry.js} +1 -1
  180. package/dist/lime-elements/{p-70450a21.entry.js → p-52edfe86.entry.js} +1 -1
  181. package/dist/lime-elements/{p-846a1d26.entry.js → p-534fdf9b.entry.js} +1 -1
  182. package/dist/lime-elements/{p-94c76e12.entry.js → p-5536e886.entry.js} +1 -1
  183. package/dist/lime-elements/{p-69fec8b9.entry.js → p-5d5f0a73.entry.js} +1 -1
  184. package/dist/lime-elements/{p-8c631f1e.entry.js → p-5ddeb498.entry.js} +1 -1
  185. package/dist/lime-elements/{p-7f50dd29.entry.js → p-6275668f.entry.js} +1 -1
  186. package/dist/lime-elements/{p-c127acfd.entry.js → p-6896d5c8.entry.js} +1 -1
  187. package/dist/lime-elements/{p-903c0e45.entry.js → p-68f49d6f.entry.js} +1 -1
  188. package/dist/lime-elements/p-693cbb67.entry.js +1 -0
  189. package/dist/lime-elements/{p-ea6204d1.entry.js → p-6951136b.entry.js} +1 -1
  190. package/dist/lime-elements/{p-a0ddf68a.entry.js → p-6aebcf60.entry.js} +1 -1
  191. package/dist/lime-elements/{p-638642a0.entry.js → p-6e3666e5.entry.js} +1 -1
  192. package/dist/lime-elements/{p-1f78b29b.entry.js → p-7457bc07.entry.js} +1 -1
  193. package/dist/lime-elements/{p-88519938.entry.js → p-7464e43d.entry.js} +1 -1
  194. package/dist/lime-elements/p-74fbf987.entry.js +1 -0
  195. package/dist/lime-elements/{p-ce82000d.entry.js → p-752df4bf.entry.js} +1 -1
  196. package/dist/lime-elements/p-7c37a99e.entry.js +1 -0
  197. package/dist/lime-elements/{p-8ba65d1b.entry.js → p-7d5bd4a2.entry.js} +1 -1
  198. package/dist/lime-elements/{p-df0892cd.entry.js → p-80d35f8f.entry.js} +1 -1
  199. package/dist/lime-elements/p-880b9683.entry.js +23 -0
  200. package/dist/lime-elements/{p-e50a1d0b.entry.js → p-88f503eb.entry.js} +1 -1
  201. package/dist/lime-elements/{p-99a9abf7.entry.js → p-8a2b2fac.entry.js} +1 -1
  202. package/dist/lime-elements/{p-9c80e222.entry.js → p-8db6b7d9.entry.js} +2 -2
  203. package/dist/lime-elements/{p-5028a09d.entry.js → p-927622ec.entry.js} +1 -1
  204. package/dist/lime-elements/{p-5054a30b.entry.js → p-9a8d6440.entry.js} +1 -1
  205. package/dist/lime-elements/{p-90688692.entry.js → p-9ea564fe.entry.js} +2 -2
  206. package/dist/lime-elements/{p-d22e07f0.entry.js → p-9ed578ec.entry.js} +1 -1
  207. package/dist/lime-elements/{p-ngNtOjhe.js → p-BlsZTyGA.js} +1 -1
  208. package/dist/lime-elements/p-a6fae24d.entry.js +1 -0
  209. package/dist/lime-elements/{p-ddc25dd2.entry.js → p-abef62d7.entry.js} +1 -1
  210. package/dist/lime-elements/{p-e33c71b7.entry.js → p-aea52308.entry.js} +1 -1
  211. package/dist/lime-elements/{p-773a37c0.entry.js → p-bbaf35ce.entry.js} +1 -1
  212. package/dist/lime-elements/{p-e77059f2.entry.js → p-c118eac0.entry.js} +1 -1
  213. package/dist/lime-elements/{p-5cddb3df.entry.js → p-c9e934af.entry.js} +1 -1
  214. package/dist/lime-elements/{p-10900b3f.entry.js → p-cbb7d624.entry.js} +1 -1
  215. package/dist/lime-elements/p-d1fa6da3.entry.js +67 -0
  216. package/dist/lime-elements/{p-2b0cfd52.entry.js → p-d2123236.entry.js} +1 -1
  217. package/dist/lime-elements/p-d424688d.entry.js +1 -0
  218. package/dist/lime-elements/{p-1c97671b.entry.js → p-d6270e4a.entry.js} +1 -1
  219. package/dist/lime-elements/p-dd36d57b.entry.js +203 -0
  220. package/dist/lime-elements/p-e11c9b40.entry.js +1 -0
  221. package/dist/lime-elements/{p-23ef08cc.entry.js → p-e1656821.entry.js} +2 -2
  222. package/dist/lime-elements/p-e6d74062.entry.js +1 -0
  223. package/dist/lime-elements/{p-70ea6855.entry.js → p-ec42a4aa.entry.js} +1 -1
  224. package/dist/lime-elements/{p-2b1f729d.entry.js → p-f395fbe3.entry.js} +1 -1
  225. package/dist/lime-elements/{p-170fd367.entry.js → p-fc3209db.entry.js} +1 -1
  226. package/dist/lime-elements/p-feeae1e4.entry.js +1 -0
  227. package/dist/lime-elements/{p-BudcI_o9.js → p-xvTBZcD2.js} +1 -1
  228. package/dist/lime-elements/style/color-palette-primary.scss.bak +1 -1
  229. package/dist/lime-elements/style/color-palette-ui.scss.bak +1 -1
  230. package/dist/lime-elements/style/internal/fieldset.scss +2 -2
  231. package/package.json +1 -1
  232. package/dist/lime-elements/p-1691e794.entry.js +0 -1
  233. package/dist/lime-elements/p-1db54640.entry.js +0 -1
  234. package/dist/lime-elements/p-45304b5c.entry.js +0 -23
  235. package/dist/lime-elements/p-4ab87bae.entry.js +0 -1
  236. package/dist/lime-elements/p-7203e289.entry.js +0 -203
  237. package/dist/lime-elements/p-8408a45f.entry.js +0 -1
  238. package/dist/lime-elements/p-c18a8a9f.entry.js +0 -1
  239. package/dist/lime-elements/p-d73c300f.entry.js +0 -1
  240. package/dist/lime-elements/p-da63420d.entry.js +0 -67
  241. package/dist/lime-elements/p-de541d0f.entry.js +0 -1
  242. package/dist/lime-elements/p-e6e65d9d.entry.js +0 -1
@@ -1,191 +1,4 @@
1
1
  @charset "UTF-8";
2
- /**
3
- * Note! This file is exported to `dist/scss/` in the published
4
- * node module, for consumer projects to import.
5
- * That means this file cannot import from any file that isn't
6
- * also exported, keeping the same relative path.
7
- *
8
- * Or, just don't import anything, that works too.
9
- */
10
- /**
11
- * This can be used on a trigger element that opens a dropdown menu or a popover.
12
- */
13
- /**
14
- * This mixin will mask out the content that is close to
15
- * the edges of a scrollable area.
16
- * - If the scrollable content has `overflow-y`, use `vertically`
17
- * as an argument for `$direction`.
18
- - If the scrollable content has `overflow-x`, use `horizontally`
19
- * as an argument for `$direction`.
20
- *
21
- * For the visual effect to work smoothly, we need to make sure that
22
- * the size of the fade-out edge effect is the same as the
23
- * internal paddings of the scrollable area. Otherwise, content of a
24
- * scrollable area that does not have a padding will fade out before
25
- * any scrolling has been done.
26
- * This is why this mixin already adds paddings, which automatically
27
- * default to the size of the fade-out effect.
28
- * This size defaults to `1rem`, but to override the size use
29
- * `--limel-top-edge-fade-height` & `--limel-bottom-edge-fade-height`
30
- * when `vertically` argument is set, and use
31
- * `--limel-left-edge-fade-width` & `--limel-right-edge-fade-width`
32
- * when `horizontally` argument is set.
33
- * Of course you can also programmatically increase and decrease the
34
- * size of these variables for each edge, based on the amount of
35
- * scrolling that has been done by the user. In this case, make sure
36
- * to add a custom padding where the mixin is used, to override
37
- * the paddings that are automatically added by the mixin in the
38
- * compiled CSS code.
39
- */
40
- /**
41
- * This mixin will add an animated underline to the bottom of an `a` elements.
42
- * Note that you may need to add `all: unset;` –depending on your use case–
43
- * before using this mixin.
44
- */
45
- /**
46
- * This mixin creates a cross-browser font stack.
47
- * - `sans-serif` can be used for the UI of the components.
48
- * - `monospace` can be used for code.
49
- *
50
- * ⚠️ If we change the font stacks, we need to update
51
- * 1. the consumer documentation in `README.md`, and
52
- * 2. the CSS variables of `--kompendium-example-font-family`
53
- * in the `<style>` tag of `index.html`.
54
- */
55
- /**
56
- * This mixin is a hack, using old CSS syntax
57
- * to enable you to truncate a piece of text,
58
- * after a certain number of lines.
59
- */
60
- /**
61
- * This mixin will add a chessboard background pattern,
62
- * typically used to visualize transparency.
63
- */
64
- /**
65
- * Make a container resizable by the user.
66
- * This is used in the documentations and examples
67
- * of some components, to demonstrate how the component
68
- * behaves in a resizable container.
69
- */
70
- /**
71
- * Drag to reorder mixins
72
- */
73
- /**
74
- * The breakpoints below are used to create responsive designs
75
- * in Lime's products. Therefore, they are here to get distributed
76
- * to all components in other private repos, which rely on this `mixins`
77
- * file, to create consistent styles.
78
- *
79
- * :::important
80
- * In very rare cases you should used media queries!
81
- * Nowadays, there are many better ways of achieving responsive design
82
- * without media queries. For example, using CSS Grid, Flexbox, and their features.
83
- * :::
84
- */
85
- /**
86
- * Media query mixins for responsive design based on screen width.
87
- * Note that these mixins do not detect the device type!
88
- */
89
- /**
90
- * @prop --chart-background-color: Defines the background color of the chart. Defaults to `transparent` for _most_ chart types.
91
- * @prop --chart-item-color: If no color is defined for chart items, this color will be use. Defaults to `rgb(var(--contrast-1100), 0.8)`.
92
- * @prop --chart-item-divider-color: Defines the color that visually separates items in some charts, such as `stacked-bar` chart items. Defaults to `rgb(var(--color-white), 0.6)`.
93
- * @prop --chart-axis-line-color: Defines color of the axis lines. Defaults to `--contrast-900`. Note that lines have opacity as well, and get opaque on hover.
94
- * @prop --chart-item-border-radius: Defines the roundness of corners of items in a chart. Defaults to different values depending on the chart type. Does not have any effect on `pie` and `doughnut` types.
95
- */
96
- :host(limel-chart) {
97
- --chart-axis-line-color: var(
98
- --limel-chart-axis-line-color,
99
- rgb(var(--contrast-900))
100
- );
101
- box-sizing: border-box;
102
- isolation: isolate;
103
- display: flex;
104
- width: 100%;
105
- height: 100%;
106
- min-width: 0;
107
- min-height: 0;
108
- padding: var(--limel-chart-padding);
109
- }
110
-
111
- table {
112
- all: unset;
113
- border-collapse: collapse;
114
- border-spacing: 0;
115
- empty-cells: show;
116
- position: relative;
117
- display: flex;
118
- width: 100%;
119
- height: 100%;
120
- min-width: 0;
121
- min-height: 0;
122
- }
123
- table colgroup,
124
- table thead,
125
- table tbody,
126
- table tr,
127
- table th,
128
- table td {
129
- all: unset;
130
- }
131
- table caption,
132
- table colgroup,
133
- table thead,
134
- table tfoot,
135
- table th,
136
- table td {
137
- position: absolute;
138
- width: 0;
139
- height: 0;
140
- margin: -1px;
141
- padding: 0;
142
- border: 0;
143
- overflow: hidden;
144
- clip: rect(0, 0, 0, 0);
145
- clip-path: inset(50%);
146
- white-space: nowrap;
147
- }
148
-
149
- *,
150
- *:before,
151
- *:after {
152
- box-sizing: border-box;
153
- }
154
-
155
- .chart {
156
- position: relative;
157
- flex-grow: 1;
158
- width: 100%;
159
- height: 100%;
160
- min-height: 0;
161
- min-width: 0;
162
- }
163
- .chart:has(.item:hover) .item, .chart:has(.item:focus-visible) .item {
164
- opacity: 0.4;
165
- }
166
-
167
- .item:focus {
168
- outline: none;
169
- }
170
- .item:focus-visible {
171
- outline: none;
172
- box-shadow: var(--shadow-depth-8-focused);
173
- }
174
- .item {
175
- transition: background-color 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, opacity 0.4s ease;
176
- cursor: help;
177
- }
178
- .item:focus-visible, .item:hover {
179
- opacity: 1 !important;
180
- }
181
- .item[role=button] {
182
- cursor: pointer;
183
- }
184
-
185
- limel-spinner {
186
- margin: auto;
187
- }
188
-
189
2
  /**
190
3
  * Note! This file is exported to `dist/scss/` in the published
191
4
  * node module, for consumer projects to import.
@@ -307,7 +120,7 @@ limel-spinner {
307
120
  :host(limel-chart[type=dot][orientation=landscape]) .item,
308
121
  :host(limel-chart[type=line][orientation=landscape]) .item,
309
122
  :host(limel-chart[type=area][orientation=landscape]) .item {
310
- min-width: 0.5rem;
123
+ min-width: var(--limel-chart-min-item-size);
311
124
  width: inherit;
312
125
  }
313
126
 
@@ -329,7 +142,7 @@ limel-spinner {
329
142
  :host(limel-chart[type=dot][orientation=portrait]) .item,
330
143
  :host(limel-chart[type=line][orientation=portrait]) .item,
331
144
  :host(limel-chart[type=area][orientation=portrait]) .item {
332
- min-height: 0.5rem;
145
+ min-height: var(--limel-chart-min-item-size);
333
146
  height: inherit;
334
147
  }
335
148
 
@@ -386,93 +199,6 @@ limel-spinner {
386
199
  writing-mode: sideways-lr;
387
200
  }
388
201
 
389
- /**
390
- * Note! This file is exported to `dist/scss/` in the published
391
- * node module, for consumer projects to import.
392
- * That means this file cannot import from any file that isn't
393
- * also exported, keeping the same relative path.
394
- *
395
- * Or, just don't import anything, that works too.
396
- */
397
- /**
398
- * This can be used on a trigger element that opens a dropdown menu or a popover.
399
- */
400
- /**
401
- * This mixin will mask out the content that is close to
402
- * the edges of a scrollable area.
403
- * - If the scrollable content has `overflow-y`, use `vertically`
404
- * as an argument for `$direction`.
405
- - If the scrollable content has `overflow-x`, use `horizontally`
406
- * as an argument for `$direction`.
407
- *
408
- * For the visual effect to work smoothly, we need to make sure that
409
- * the size of the fade-out edge effect is the same as the
410
- * internal paddings of the scrollable area. Otherwise, content of a
411
- * scrollable area that does not have a padding will fade out before
412
- * any scrolling has been done.
413
- * This is why this mixin already adds paddings, which automatically
414
- * default to the size of the fade-out effect.
415
- * This size defaults to `1rem`, but to override the size use
416
- * `--limel-top-edge-fade-height` & `--limel-bottom-edge-fade-height`
417
- * when `vertically` argument is set, and use
418
- * `--limel-left-edge-fade-width` & `--limel-right-edge-fade-width`
419
- * when `horizontally` argument is set.
420
- * Of course you can also programmatically increase and decrease the
421
- * size of these variables for each edge, based on the amount of
422
- * scrolling that has been done by the user. In this case, make sure
423
- * to add a custom padding where the mixin is used, to override
424
- * the paddings that are automatically added by the mixin in the
425
- * compiled CSS code.
426
- */
427
- /**
428
- * This mixin will add an animated underline to the bottom of an `a` elements.
429
- * Note that you may need to add `all: unset;` –depending on your use case–
430
- * before using this mixin.
431
- */
432
- /**
433
- * This mixin creates a cross-browser font stack.
434
- * - `sans-serif` can be used for the UI of the components.
435
- * - `monospace` can be used for code.
436
- *
437
- * ⚠️ If we change the font stacks, we need to update
438
- * 1. the consumer documentation in `README.md`, and
439
- * 2. the CSS variables of `--kompendium-example-font-family`
440
- * in the `<style>` tag of `index.html`.
441
- */
442
- /**
443
- * This mixin is a hack, using old CSS syntax
444
- * to enable you to truncate a piece of text,
445
- * after a certain number of lines.
446
- */
447
- /**
448
- * This mixin will add a chessboard background pattern,
449
- * typically used to visualize transparency.
450
- */
451
- /**
452
- * Make a container resizable by the user.
453
- * This is used in the documentations and examples
454
- * of some components, to demonstrate how the component
455
- * behaves in a resizable container.
456
- */
457
- /**
458
- * Drag to reorder mixins
459
- */
460
- /**
461
- * The breakpoints below are used to create responsive designs
462
- * in Lime's products. Therefore, they are here to get distributed
463
- * to all components in other private repos, which rely on this `mixins`
464
- * file, to create consistent styles.
465
- *
466
- * :::important
467
- * In very rare cases you should used media queries!
468
- * Nowadays, there are many better ways of achieving responsive design
469
- * without media queries. For example, using CSS Grid, Flexbox, and their features.
470
- * :::
471
- */
472
- /**
473
- * Media query mixins for responsive design based on screen width.
474
- * Note that these mixins do not detect the device type!
475
- */
476
202
  :host(limel-chart[display-item-text][type=line]) td.text,
477
203
  :host(limel-chart[display-item-text][type=area]) td.text,
478
204
  :host(limel-chart[display-item-text][type=dot]) td.text,
@@ -713,22 +439,22 @@ limel-spinner {
713
439
  }
714
440
 
715
441
  :host(limel-chart[type=bar]) .item {
716
- background: var(--limel-chart-item-color, var(--chart-item-color, rgb(var(--contrast-1100), 0.8)));
442
+ background: var(--limel-chart-item-color, var(--limel-chart-default-item-color));
717
443
  }
718
444
 
719
445
  :host(limel-chart[type=dot]) .item:before, :host(limel-chart[type=dot]) .item:after {
720
446
  content: "";
721
447
  position: absolute;
722
448
  margin: auto;
723
- width: 0.5rem;
724
- height: 0.5rem;
449
+ width: var(--limel-chart-min-item-size);
450
+ height: var(--limel-chart-min-item-size);
725
451
  border-radius: 50%;
726
452
  }
727
453
  :host(limel-chart[type=dot]) .item::after {
728
- background-color: var(--limel-chart-item-color, var(--chart-item-color, rgb(var(--contrast-1100), 0.8)));
454
+ background-color: var(--limel-chart-item-color, var(--limel-chart-default-item-color));
729
455
  }
730
456
  :host(limel-chart[type=dot]) .item.has-start-value:before {
731
- background-color: var(--limel-chart-item-color, var(--chart-item-color, rgb(var(--contrast-1100), 0.8)));
457
+ background-color: var(--limel-chart-item-color, var(--limel-chart-default-item-color));
732
458
  }
733
459
 
734
460
  :host(limel-chart[type=bar][orientation=landscape]) .item,
@@ -786,8 +512,8 @@ limel-spinner {
786
512
  :host(limel-chart[type=area]) .item:after,
787
513
  :host(limel-chart[type=line]) .item:after {
788
514
  margin: auto;
789
- width: 0.5rem;
790
- height: 0.5rem;
515
+ width: var(--limel-chart-min-item-size);
516
+ height: var(--limel-chart-min-item-size);
791
517
  border-radius: 50%;
792
518
  border: 1px solid rgb(var(--contrast-100));
793
519
  }
@@ -801,7 +527,7 @@ limel-spinner {
801
527
  transition: border-color 0.2s ease, opacity 0.4s ease;
802
528
  content: "";
803
529
  position: absolute;
804
- background: var(--limel-chart-item-color, var(--chart-item-color, rgb(var(--contrast-1100), 0.8)));
530
+ background: var(--limel-chart-item-color, var(--limel-chart-default-item-color));
805
531
  }
806
532
  :host(limel-chart[type=area]) .item:hover:after, :host(limel-chart[type=area]) .item:focus-visible:after,
807
533
  :host(limel-chart[type=line]) .item:hover:after,
@@ -895,7 +621,7 @@ limel-spinner {
895
621
 
896
622
  :host(limel-chart[type=pie]) .item,
897
623
  :host(limel-chart[type=doughnut]) .item {
898
- background: conic-gradient(transparent 0 calc(var(--limel-chart-item-offset) * 1%), var(--limel-chart-item-color, var(--chart-item-color, rgb(var(--contrast-1100), 0.8))) calc(var(--limel-chart-item-offset) * 1%) calc(var(--limel-chart-item-offset) * 1% + var(--limel-chart-item-size) * 1%), transparent calc(var(--limel-chart-item-offset) * 1% + var(--limel-chart-item-size) * 1%));
624
+ background: conic-gradient(transparent 0 calc(var(--limel-chart-item-offset) * 1%), var(--limel-chart-item-color, var(--limel-chart-default-item-color)) calc(var(--limel-chart-item-offset) * 1%) calc(var(--limel-chart-item-offset) * 1% + var(--limel-chart-item-size) * 1%), transparent calc(var(--limel-chart-item-offset) * 1% + var(--limel-chart-item-size) * 1%));
899
625
  }
900
626
  :host(limel-chart[type=pie]) .item:focus, :host(limel-chart[type=pie]) .item:focus-visible,
901
627
  :host(limel-chart[type=doughnut]) .item:focus,
@@ -939,7 +665,7 @@ limel-spinner {
939
665
  border: 1px solid var(--limel-chart-background-color, rgb(var(--contrast-400)));
940
666
  }
941
667
  :host(limel-chart[type=ring]) .item {
942
- background: conic-gradient(var(--limel-chart-item-color, var(--chart-item-color, rgb(var(--contrast-1100), 0.8))) 0 calc(var(--limel-chart-item-offset) * 1% + var(--limel-chart-item-size) * 1%), var(--chart-background-color, rgb(var(--contrast-200))) calc(var(--limel-chart-item-offset) * 1% + var(--limel-chart-item-size) * 1%));
668
+ background: conic-gradient(var(--limel-chart-item-color, var(--limel-chart-default-item-color)) 0 calc(var(--limel-chart-item-offset) * 1% + var(--limel-chart-item-size) * 1%), var(--chart-background-color, rgb(var(--contrast-200))) calc(var(--limel-chart-item-offset) * 1% + var(--limel-chart-item-size) * 1%));
943
669
  max-width: calc(100% - var(--limel-chart-item-index) * 100% / (var(--limel-chart-number-of-items) + 1));
944
670
  max-height: calc(100% - var(--limel-chart-item-index) * 100% / (var(--limel-chart-number-of-items) + 1));
945
671
  }
@@ -947,93 +673,6 @@ limel-spinner {
947
673
  filter: grayscale(0) !important;
948
674
  }
949
675
 
950
- /**
951
- * Note! This file is exported to `dist/scss/` in the published
952
- * node module, for consumer projects to import.
953
- * That means this file cannot import from any file that isn't
954
- * also exported, keeping the same relative path.
955
- *
956
- * Or, just don't import anything, that works too.
957
- */
958
- /**
959
- * This can be used on a trigger element that opens a dropdown menu or a popover.
960
- */
961
- /**
962
- * This mixin will mask out the content that is close to
963
- * the edges of a scrollable area.
964
- * - If the scrollable content has `overflow-y`, use `vertically`
965
- * as an argument for `$direction`.
966
- - If the scrollable content has `overflow-x`, use `horizontally`
967
- * as an argument for `$direction`.
968
- *
969
- * For the visual effect to work smoothly, we need to make sure that
970
- * the size of the fade-out edge effect is the same as the
971
- * internal paddings of the scrollable area. Otherwise, content of a
972
- * scrollable area that does not have a padding will fade out before
973
- * any scrolling has been done.
974
- * This is why this mixin already adds paddings, which automatically
975
- * default to the size of the fade-out effect.
976
- * This size defaults to `1rem`, but to override the size use
977
- * `--limel-top-edge-fade-height` & `--limel-bottom-edge-fade-height`
978
- * when `vertically` argument is set, and use
979
- * `--limel-left-edge-fade-width` & `--limel-right-edge-fade-width`
980
- * when `horizontally` argument is set.
981
- * Of course you can also programmatically increase and decrease the
982
- * size of these variables for each edge, based on the amount of
983
- * scrolling that has been done by the user. In this case, make sure
984
- * to add a custom padding where the mixin is used, to override
985
- * the paddings that are automatically added by the mixin in the
986
- * compiled CSS code.
987
- */
988
- /**
989
- * This mixin will add an animated underline to the bottom of an `a` elements.
990
- * Note that you may need to add `all: unset;` –depending on your use case–
991
- * before using this mixin.
992
- */
993
- /**
994
- * This mixin creates a cross-browser font stack.
995
- * - `sans-serif` can be used for the UI of the components.
996
- * - `monospace` can be used for code.
997
- *
998
- * ⚠️ If we change the font stacks, we need to update
999
- * 1. the consumer documentation in `README.md`, and
1000
- * 2. the CSS variables of `--kompendium-example-font-family`
1001
- * in the `<style>` tag of `index.html`.
1002
- */
1003
- /**
1004
- * This mixin is a hack, using old CSS syntax
1005
- * to enable you to truncate a piece of text,
1006
- * after a certain number of lines.
1007
- */
1008
- /**
1009
- * This mixin will add a chessboard background pattern,
1010
- * typically used to visualize transparency.
1011
- */
1012
- /**
1013
- * Make a container resizable by the user.
1014
- * This is used in the documentations and examples
1015
- * of some components, to demonstrate how the component
1016
- * behaves in a resizable container.
1017
- */
1018
- /**
1019
- * Drag to reorder mixins
1020
- */
1021
- /**
1022
- * The breakpoints below are used to create responsive designs
1023
- * in Lime's products. Therefore, they are here to get distributed
1024
- * to all components in other private repos, which rely on this `mixins`
1025
- * file, to create consistent styles.
1026
- *
1027
- * :::important
1028
- * In very rare cases you should used media queries!
1029
- * Nowadays, there are many better ways of achieving responsive design
1030
- * without media queries. For example, using CSS Grid, Flexbox, and their features.
1031
- * :::
1032
- */
1033
- /**
1034
- * Media query mixins for responsive design based on screen width.
1035
- * Note that these mixins do not detect the device type!
1036
- */
1037
676
  :host(limel-chart[type=stacked-bar]) .chart {
1038
677
  display: flex;
1039
678
  border-radius: 0.25rem;
@@ -1043,7 +682,7 @@ limel-spinner {
1043
682
  :host(limel-chart[type=stacked-bar]) .item {
1044
683
  display: flex;
1045
684
  border-radius: var(--chart-item-border-radius, 0);
1046
- background: var(--limel-chart-item-color, var(--chart-item-color, rgb(var(--contrast-1100), 0.8)));
685
+ background: var(--limel-chart-item-color, var(--limel-chart-default-item-color));
1047
686
  }
1048
687
  :host(limel-chart[type=stacked-bar]) .item:last-of-type:not(:focus-visible) {
1049
688
  box-shadow: none !important;
@@ -1133,7 +772,7 @@ limel-spinner {
1133
772
  transform: translateY(-60%);
1134
773
  width: 0.4rem;
1135
774
  border-radius: 1rem;
1136
- border-color: var(--limel-chart-item-color, var(--chart-item-color, rgb(var(--contrast-1100), 0.8)));
775
+ border-color: var(--limel-chart-item-color, var(--limel-chart-default-item-color));
1137
776
  border-style: solid;
1138
777
  border-bottom-width: 1.75rem;
1139
778
  border-right-color: transparent;
@@ -1142,7 +781,7 @@ limel-spinner {
1142
781
  }
1143
782
  :host(limel-chart[type=nps]) .item:after {
1144
783
  border-radius: 50%;
1145
- background-color: var(--limel-chart-item-color, var(--chart-item-color, rgb(var(--contrast-1100), 0.8)));
784
+ background-color: var(--limel-chart-item-color, var(--limel-chart-default-item-color));
1146
785
  aspect-ratio: 1;
1147
786
  height: clamp(0.75rem, 10%, 1.25rem);
1148
787
  border: 0.125rem solid rgb(var(--contrast-100), 0.8);
@@ -1205,4 +844,109 @@ limel-spinner {
1205
844
  :host(limel-chart[orientation=portrait]) .axis-line limel-badge {
1206
845
  bottom: -1rem;
1207
846
  right: -1rem;
847
+ }
848
+
849
+ /**
850
+ * @prop --chart-background-color: Defines the background color of the chart. Defaults to `transparent` for _most_ chart types.
851
+ * @prop --chart-item-color: If no color is defined for chart items, this color will be use. Defaults to `rgb(var(--contrast-1100), 0.8)`.
852
+ * @prop --chart-item-divider-color: Defines the color that visually separates items in some charts, such as `stacked-bar` chart items. Defaults to `rgb(var(--color-white), 0.6)`.
853
+ * @prop --chart-axis-line-color: Defines color of the axis lines. Defaults to `--contrast-900`. Note that lines have opacity as well, and get opaque on hover.
854
+ * @prop --chart-item-border-radius: Defines the roundness of corners of items in a chart. Defaults to different values depending on the chart type. Does not have any effect on `pie` and `doughnut` types.
855
+ */
856
+ :host(limel-chart) {
857
+ --limel-chart-min-item-size: 0.5rem;
858
+ --limel-chart-default-item-color: var(
859
+ --chart-item-color,
860
+ rgb(var(--contrast-1100), 0.8)
861
+ );
862
+ --chart-axis-line-color: var(
863
+ --limel-chart-axis-line-color,
864
+ rgb(var(--contrast-900))
865
+ );
866
+ box-sizing: border-box;
867
+ isolation: isolate;
868
+ display: flex;
869
+ width: 100%;
870
+ height: 100%;
871
+ min-width: 0;
872
+ min-height: 0;
873
+ padding: var(--limel-chart-padding);
874
+ }
875
+
876
+ table {
877
+ all: unset;
878
+ border-collapse: collapse;
879
+ border-spacing: 0;
880
+ empty-cells: show;
881
+ position: relative;
882
+ display: flex;
883
+ width: 100%;
884
+ height: 100%;
885
+ min-width: 0;
886
+ min-height: 0;
887
+ }
888
+ table colgroup,
889
+ table thead,
890
+ table tbody,
891
+ table tr,
892
+ table th,
893
+ table td {
894
+ all: unset;
895
+ }
896
+ table caption,
897
+ table colgroup,
898
+ table thead,
899
+ table tfoot,
900
+ table th,
901
+ table td {
902
+ position: absolute;
903
+ width: 0;
904
+ height: 0;
905
+ margin: -1px;
906
+ padding: 0;
907
+ border: 0;
908
+ overflow: hidden;
909
+ clip: rect(0, 0, 0, 0);
910
+ clip-path: inset(50%);
911
+ white-space: nowrap;
912
+ }
913
+
914
+ *,
915
+ *:before,
916
+ *:after {
917
+ box-sizing: border-box;
918
+ }
919
+
920
+ .chart {
921
+ position: relative;
922
+ flex-grow: 1;
923
+ width: 100%;
924
+ height: 100%;
925
+ min-height: 0;
926
+ min-width: 0;
927
+ }
928
+ .chart:has(.item:hover) .item, .chart:has(.item:focus-visible) .item {
929
+ opacity: 0.4;
930
+ }
931
+
932
+ .item:focus {
933
+ outline: none;
934
+ }
935
+ .item:focus-visible {
936
+ outline: none;
937
+ box-shadow: var(--shadow-depth-8-focused);
938
+ }
939
+ .item {
940
+ transition: background-color 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, opacity 0.4s ease;
941
+ cursor: help;
942
+ }
943
+ .item:focus-visible, .item:hover {
944
+ opacity: 1 !important;
945
+ }
946
+ .item[role=button] {
947
+ cursor: pointer;
948
+ }
949
+
950
+ limel-spinner {
951
+ margin: auto;
1208
952
  }