@limetech/lime-elements 36.2.0 → 36.3.0-next.1

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 (168) hide show
  1. package/dist/cjs/limel-badge.cjs.entry.js +1 -1
  2. package/dist/cjs/limel-banner.cjs.entry.js +1 -1
  3. package/dist/cjs/limel-button-group.cjs.entry.js +1 -1
  4. package/dist/cjs/limel-button.cjs.entry.js +1 -1
  5. package/dist/cjs/limel-checkbox.cjs.entry.js +1 -1
  6. package/dist/cjs/limel-chip-set.cjs.entry.js +2 -2
  7. package/dist/cjs/limel-circular-progress_2.cjs.entry.js +2 -2
  8. package/dist/cjs/limel-code-editor.cjs.entry.js +1 -1
  9. package/dist/cjs/limel-collapsible-section.cjs.entry.js +1 -1
  10. package/dist/cjs/limel-color-picker-palette.cjs.entry.js +1 -1
  11. package/dist/cjs/limel-color-picker.cjs.entry.js +1 -1
  12. package/dist/cjs/limel-dialog.cjs.entry.js +1 -1
  13. package/dist/cjs/limel-dock-button.cjs.entry.js +1 -1
  14. package/dist/cjs/limel-dock.cjs.entry.js +1 -1
  15. package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +1 -1
  16. package/dist/cjs/limel-form.cjs.entry.js +1 -1
  17. package/dist/cjs/limel-icon-button.cjs.entry.js +1 -1
  18. package/dist/cjs/limel-info-tile.cjs.entry.js +1 -1
  19. package/dist/cjs/limel-input-field.cjs.entry.js +1 -1
  20. package/dist/cjs/limel-list_2.cjs.entry.js +2 -2
  21. package/dist/cjs/limel-menu-list.cjs.entry.js +1 -1
  22. package/dist/cjs/limel-popover_4.cjs.entry.js +1 -1
  23. package/dist/cjs/limel-select.cjs.entry.js +1 -1
  24. package/dist/cjs/limel-shortcut.cjs.entry.js +1 -1
  25. package/dist/cjs/limel-slider.cjs.entry.js +1 -1
  26. package/dist/cjs/limel-snackbar.cjs.entry.js +1 -1
  27. package/dist/cjs/limel-spinner.cjs.entry.js +1 -1
  28. package/dist/cjs/limel-split-button.cjs.entry.js +1 -1
  29. package/dist/cjs/limel-switch.cjs.entry.js +1 -1
  30. package/dist/cjs/limel-tab-bar.cjs.entry.js +1 -1
  31. package/dist/cjs/limel-table.cjs.entry.js +1 -1
  32. package/dist/collection/components/badge/badge.css +5 -1
  33. package/dist/collection/components/banner/banner.css +5 -1
  34. package/dist/collection/components/button/button.css +24 -20
  35. package/dist/collection/components/button-group/button-group.css +18 -11
  36. package/dist/collection/components/checkbox/checkbox.css +20 -9
  37. package/dist/collection/components/chip-set/chip-set.css +32 -13
  38. package/dist/collection/components/chip-set/chip-set.js +1 -1
  39. package/dist/collection/components/circular-progress/circular-progress.css +5 -1
  40. package/dist/collection/components/code-editor/code-editor.css +93 -67
  41. package/dist/collection/components/collapsible-section/collapsible-section.css +5 -1
  42. package/dist/collection/components/color-picker/color-picker-palette.css +7 -504
  43. package/dist/collection/components/color-picker/color-picker.css +6 -2
  44. package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.css +29 -18
  45. package/dist/collection/components/dialog/dialog.css +10 -2
  46. package/dist/collection/components/dock/dock-button/dock-button.css +8 -5
  47. package/dist/collection/components/dock/dock.css +6 -2
  48. package/dist/collection/components/form/form.css +5 -1
  49. package/dist/collection/components/icon-button/icon-button.css +5 -2
  50. package/dist/collection/components/info-tile/info-tile.css +16 -7
  51. package/dist/collection/components/input-field/input-field.css +28 -11
  52. package/dist/collection/components/linear-progress/linear-progress.css +5 -1
  53. package/dist/collection/components/list/list.css +933 -43
  54. package/dist/collection/components/menu-list/menu-list.css +1001 -43
  55. package/dist/collection/components/menu-surface/menu-surface.css +1 -0
  56. package/dist/collection/components/popover/popover.css +1 -1
  57. package/dist/collection/components/popover-surface/popover-surface.css +1 -1
  58. package/dist/collection/components/select/select.css +17 -3
  59. package/dist/collection/components/shortcut/shortcut.css +6 -3
  60. package/dist/collection/components/slider/slider.css +11 -3
  61. package/dist/collection/components/snackbar/snackbar.css +10 -5
  62. package/dist/collection/components/spinner/spinner.css +5 -1
  63. package/dist/collection/components/split-button/split-button.css +5 -1
  64. package/dist/collection/components/switch/switch.css +50 -2
  65. package/dist/collection/components/tab-bar/tab-bar.css +14 -2
  66. package/dist/collection/components/table/table.css +73 -32
  67. package/dist/collection/style/_theme-color-variables.scss +5 -1
  68. package/dist/collection/style/color-palette-extended-light-mode-only.css +1 -1
  69. package/dist/collection/style/color-palette-extended.css +173 -3
  70. package/dist/collection/style/color-palette-primary.scss.bak +1 -1
  71. package/dist/collection/style/color-palette-ui.scss.bak +1 -1
  72. package/dist/collection/style/colors.scss +11 -13
  73. package/dist/collection/style/internal/shared_input-select-picker.scss +16 -0
  74. package/dist/collection/style/internal/z-index.scss +0 -2
  75. package/dist/collection/style/mixins.scss +84 -20
  76. package/dist/collection/style/shadows.scss +117 -27
  77. package/dist/esm/limel-badge.entry.js +1 -1
  78. package/dist/esm/limel-banner.entry.js +1 -1
  79. package/dist/esm/limel-button-group.entry.js +1 -1
  80. package/dist/esm/limel-button.entry.js +1 -1
  81. package/dist/esm/limel-checkbox.entry.js +1 -1
  82. package/dist/esm/limel-chip-set.entry.js +2 -2
  83. package/dist/esm/limel-circular-progress_2.entry.js +2 -2
  84. package/dist/esm/limel-code-editor.entry.js +1 -1
  85. package/dist/esm/limel-collapsible-section.entry.js +1 -1
  86. package/dist/esm/limel-color-picker-palette.entry.js +1 -1
  87. package/dist/esm/limel-color-picker.entry.js +1 -1
  88. package/dist/esm/limel-dialog.entry.js +1 -1
  89. package/dist/esm/limel-dock-button.entry.js +1 -1
  90. package/dist/esm/limel-dock.entry.js +1 -1
  91. package/dist/esm/limel-flatpickr-adapter.entry.js +1 -1
  92. package/dist/esm/limel-form.entry.js +1 -1
  93. package/dist/esm/limel-icon-button.entry.js +1 -1
  94. package/dist/esm/limel-info-tile.entry.js +1 -1
  95. package/dist/esm/limel-input-field.entry.js +1 -1
  96. package/dist/esm/limel-list_2.entry.js +2 -2
  97. package/dist/esm/limel-menu-list.entry.js +1 -1
  98. package/dist/esm/limel-popover_4.entry.js +1 -1
  99. package/dist/esm/limel-select.entry.js +1 -1
  100. package/dist/esm/limel-shortcut.entry.js +1 -1
  101. package/dist/esm/limel-slider.entry.js +1 -1
  102. package/dist/esm/limel-snackbar.entry.js +1 -1
  103. package/dist/esm/limel-spinner.entry.js +1 -1
  104. package/dist/esm/limel-split-button.entry.js +1 -1
  105. package/dist/esm/limel-switch.entry.js +1 -1
  106. package/dist/esm/limel-tab-bar.entry.js +1 -1
  107. package/dist/esm/limel-table.entry.js +1 -1
  108. package/dist/lime-elements/lime-elements.css +15 -19
  109. package/dist/lime-elements/lime-elements.esm.js +1 -1
  110. package/dist/lime-elements/p-029360c8.entry.js +1 -0
  111. package/dist/lime-elements/{p-21058db5.entry.js → p-05d88196.entry.js} +2 -2
  112. package/dist/lime-elements/{p-9984b31c.entry.js → p-0bf916a0.entry.js} +1 -1
  113. package/dist/lime-elements/p-2f2ea041.entry.js +1 -0
  114. package/dist/lime-elements/p-31c9c5b9.entry.js +82 -0
  115. package/dist/lime-elements/{p-6534e16a.entry.js → p-405207fa.entry.js} +1 -1
  116. package/dist/lime-elements/p-524bd0cc.entry.js +1 -0
  117. package/dist/lime-elements/p-52e18d94.entry.js +1 -0
  118. package/dist/lime-elements/p-5409b92f.entry.js +1 -0
  119. package/dist/lime-elements/{p-768b7cbb.entry.js → p-61b3352f.entry.js} +1 -1
  120. package/dist/lime-elements/p-65a3be2c.entry.js +1 -0
  121. package/dist/lime-elements/{p-e7bb664f.entry.js → p-6784c5c3.entry.js} +1 -1
  122. package/dist/lime-elements/p-864db270.entry.js +126 -0
  123. package/dist/lime-elements/p-8ca53aa2.entry.js +1 -0
  124. package/dist/lime-elements/{p-600464a9.entry.js → p-91604294.entry.js} +1 -1
  125. package/dist/lime-elements/{p-059e0a64.entry.js → p-934456bc.entry.js} +1 -1
  126. package/dist/lime-elements/{p-5bd9b025.entry.js → p-a0c78744.entry.js} +3 -3
  127. package/dist/lime-elements/{p-16eb9071.entry.js → p-a8d38277.entry.js} +1 -1
  128. package/dist/lime-elements/p-a94e949f.entry.js +82 -0
  129. package/dist/lime-elements/{p-8ab597a8.entry.js → p-b079fc71.entry.js} +1 -1
  130. package/dist/lime-elements/{p-5f29f099.entry.js → p-be2b7486.entry.js} +2 -2
  131. package/dist/lime-elements/p-bf3d6097.entry.js +1 -0
  132. package/dist/lime-elements/p-c234a991.entry.js +37 -0
  133. package/dist/lime-elements/p-c6c37de3.entry.js +1 -0
  134. package/dist/lime-elements/p-cc9f89a9.entry.js +1 -0
  135. package/dist/lime-elements/p-d2d6123c.entry.js +1 -0
  136. package/dist/lime-elements/{p-15ca0d70.entry.js → p-d379f4d6.entry.js} +1 -1
  137. package/dist/lime-elements/{p-e1ab52f4.entry.js → p-d9c96100.entry.js} +1 -1
  138. package/dist/lime-elements/{p-8fb83e83.entry.js → p-e5213a54.entry.js} +4 -4
  139. package/dist/lime-elements/p-e6a11b73.entry.js +1 -0
  140. package/dist/lime-elements/p-eed2a202.entry.js +73 -0
  141. package/dist/lime-elements/style/_theme-color-variables.scss +5 -1
  142. package/dist/lime-elements/style/color-palette-extended-light-mode-only.css +1 -1
  143. package/dist/lime-elements/style/color-palette-extended.css +173 -3
  144. package/dist/lime-elements/style/color-palette-primary.scss.bak +1 -1
  145. package/dist/lime-elements/style/color-palette-ui.scss.bak +1 -1
  146. package/dist/lime-elements/style/colors.scss +11 -13
  147. package/dist/lime-elements/style/internal/shared_input-select-picker.scss +16 -0
  148. package/dist/lime-elements/style/internal/z-index.scss +0 -2
  149. package/dist/lime-elements/style/mixins.scss +84 -20
  150. package/dist/lime-elements/style/shadows.scss +117 -27
  151. package/package.json +5 -5
  152. package/dist/lime-elements/p-12a7453b.entry.js +0 -73
  153. package/dist/lime-elements/p-15c2eb16.entry.js +0 -1
  154. package/dist/lime-elements/p-37fe095f.entry.js +0 -1
  155. package/dist/lime-elements/p-4eda8b67.entry.js +0 -82
  156. package/dist/lime-elements/p-4fc38050.entry.js +0 -1
  157. package/dist/lime-elements/p-5ce60a32.entry.js +0 -126
  158. package/dist/lime-elements/p-6a4a5ddd.entry.js +0 -1
  159. package/dist/lime-elements/p-738aedc1.entry.js +0 -1
  160. package/dist/lime-elements/p-8a5a6ac9.entry.js +0 -1
  161. package/dist/lime-elements/p-c90fc327.entry.js +0 -82
  162. package/dist/lime-elements/p-d8e5a9ee.entry.js +0 -1
  163. package/dist/lime-elements/p-dc030055.entry.js +0 -1
  164. package/dist/lime-elements/p-de161bb5.entry.js +0 -1
  165. package/dist/lime-elements/p-e4bca82b.entry.js +0 -1
  166. package/dist/lime-elements/p-e6f84d68.entry.js +0 -1
  167. package/dist/lime-elements/p-e88f7922.entry.js +0 -1
  168. package/dist/lime-elements/p-fa0d0733.entry.js +0 -37
@@ -220,6 +220,7 @@
220
220
  --menu-surface-width,
221
221
  min(calc(100vw - 2rem), 20rem)
222
222
  );
223
+ background-color: var(--lime-elevated-surface-background-color);
223
224
  }
224
225
 
225
226
  :host(limel-menu-surface.has-grid-layout) .mdc-menu-surface {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @prop --popover-surface-width: Width of the popover surface. defaults to `auto`
3
- * @prop --popover-body-background-color: Background color of popover body, defaults to `--contrast-100`.
3
+ * @prop --popover-body-background-color: Background color of popover body, defaults to `--lime-elevated-surface-background-color`.
4
4
  * @prop --popover-border-radius: Border radius of popover, defaults to `0.75rem`.
5
5
  * @prop --popover-z-index: z-index of the popover.
6
6
  */
@@ -33,7 +33,7 @@
33
33
  z-index: -1;
34
34
  opacity: 0.75;
35
35
  border-radius: var(--popover-border-radius, 0.75rem);
36
- background-color: var(--popover-body-background-color, rgb(var(--contrast-100)));
36
+ background-color: var(--popover-body-background-color, var(--lime-elevated-surface-background-color));
37
37
  }
38
38
  .limel-popover-surface:focus {
39
39
  outline: none;
@@ -50,6 +50,10 @@
50
50
  --lime-text-secondary-on-background-color,
51
51
  rgba(var(--contrast-1700), 0.54)
52
52
  );
53
+ --mdc-theme-error: var(
54
+ --lime-error-background-color,
55
+ rgb(var(--color-red-dark))
56
+ );
53
57
  --lime-error-text-color: rgb(var(--color-red-darker));
54
58
  --mdc-theme-surface: var(
55
59
  --lime-surface-background-color,
@@ -57,7 +61,7 @@
57
61
  );
58
62
  --mdc-theme-on-surface: var(
59
63
  --lime-on-surface-color,
60
- var(--lime-text-primary-on-background-color)
64
+ rgb(var(--contrast-1500))
61
65
  );
62
66
  }
63
67
 
@@ -1797,11 +1801,21 @@
1797
1801
  pointer-events: none;
1798
1802
  opacity: 0.4;
1799
1803
  }
1804
+ .limel-select.mdc-select--disabled .mdc-select__dropdown-icon svg {
1805
+ fill: rgb(var(--contrast-800));
1806
+ }
1807
+ .limel-select:not(.mdc-select--disabled) .mdc-select__dropdown-icon svg {
1808
+ fill: rgb(var(--contrast-1000));
1809
+ }
1800
1810
  .limel-select:not(.mdc-select--disabled) .limel-select-trigger {
1801
- transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;
1811
+ transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;
1812
+ color: var(--mdc-theme-on-surface);
1813
+ background-color: var(--lime-elevated-surface-background-color);
1802
1814
  box-shadow: var(--button-shadow-normal);
1803
1815
  }
1804
1816
  .limel-select:not(.mdc-select--disabled) .limel-select-trigger:hover {
1817
+ color: var(--mdc-theme-on-surface);
1818
+ background-color: var(--lime-elevated-surface-background-color);
1805
1819
  box-shadow: var(--button-shadow-hovered);
1806
1820
  }
1807
1821
  .limel-select:not(.mdc-select--disabled) .limel-select-trigger:active {
@@ -1821,7 +1835,7 @@
1821
1835
  .limel-select:not(.mdc-select--disabled) .limel-select-trigger.limel-select--focused .mdc-floating-label {
1822
1836
  color: var(--mdc-theme-primary);
1823
1837
  }
1824
- .limel-select:not(.mdc-select--disabled) .limel-select-trigger.limel-select--focused .mdc-select__dropdown-icon {
1838
+ .limel-select:not(.mdc-select--disabled) .limel-select-trigger.limel-select--focused .mdc-select__dropdown-icon svg {
1825
1839
  fill: var(--mdc-theme-primary);
1826
1840
  }
1827
1841
  .limel-select:not(.mdc-select--disabled) .limel-select-trigger.limel-select--focused .mdc-select__dropdown-icon-graphic {
@@ -8,7 +8,7 @@
8
8
  * @prop --shortcut-border-radius: defines the radius of corners of the shortcut. Defaults to `1rem`
9
9
  * @prop --shortcut-icon-color: defines the fill color of the shortcut icon. Defaults to `--contrast-1000`
10
10
  * @prop --shortcut-label-color: defines the color of the shortcut label. Defaults to `--contrast-1100`
11
- * @prop --shortcut-background-color: defines the backgrounds color of the shortcut icon. Defaults to `--contrast-100`
11
+ * @prop --shortcut-background-color: defines the backgrounds color of the shortcut icon. Defaults to `--lime-elevated-surface-background-color`
12
12
  * @prop --shortcut-badge-text-color: Text color of the notification badge. Defaults to `--color-white`
13
13
  * @prop --shortcut-badge-background-color: Background color of the notification badge. Defaults to `--color-red-default`
14
14
  */
@@ -40,7 +40,9 @@
40
40
 
41
41
  a {
42
42
  all: unset;
43
- transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;
43
+ transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;
44
+ color: var(--mdc-theme-on-surface);
45
+ background-color: var(--shortcut-background-color, var(--lime-elevated-surface-background-color));
44
46
  box-shadow: var(--button-shadow-normal);
45
47
  cursor: pointer;
46
48
  text-align: center;
@@ -48,9 +50,10 @@ a {
48
50
  width: calc(100% - 1rem);
49
51
  padding: 0.5rem;
50
52
  border-radius: var(--shortcut-border-radius, 1rem);
51
- background-color: var(--shortcut-background-color, rgb(var(--contrast-100)));
52
53
  }
53
54
  a:hover {
55
+ color: var(--mdc-theme-on-surface);
56
+ background-color: var(--lime-elevated-surface-background-color);
54
57
  box-shadow: var(--button-shadow-hovered);
55
58
  }
56
59
  a:active {
@@ -49,6 +49,10 @@
49
49
  --lime-text-secondary-on-background-color,
50
50
  rgba(var(--contrast-1700), 0.54)
51
51
  );
52
+ --mdc-theme-error: var(
53
+ --lime-error-background-color,
54
+ rgb(var(--color-red-dark))
55
+ );
52
56
  --lime-error-text-color: rgb(var(--color-red-darker));
53
57
  --mdc-theme-surface: var(
54
58
  --lime-surface-background-color,
@@ -56,7 +60,7 @@
56
60
  );
57
61
  --mdc-theme-on-surface: var(
58
62
  --lime-on-surface-color,
59
- var(--lime-text-primary-on-background-color)
63
+ rgb(var(--contrast-1500))
60
64
  );
61
65
  }
62
66
 
@@ -813,6 +817,10 @@
813
817
  --lime-text-secondary-on-background-color,
814
818
  rgba(var(--contrast-1700), 0.54)
815
819
  );
820
+ --mdc-theme-error: var(
821
+ --lime-error-background-color,
822
+ rgb(var(--color-red-dark))
823
+ );
816
824
  --lime-error-text-color: rgb(var(--color-red-darker));
817
825
  --mdc-theme-surface: var(
818
826
  --lime-surface-background-color,
@@ -820,7 +828,7 @@
820
828
  );
821
829
  --mdc-theme-on-surface: var(
822
830
  --lime-on-surface-color,
823
- var(--lime-text-primary-on-background-color)
831
+ rgb(var(--contrast-1500))
824
832
  );
825
833
  }
826
834
 
@@ -899,7 +907,7 @@
899
907
  border-top-color: transparent;
900
908
  }
901
909
  .mdc-slider .mdc-slider__value-indicator-text {
902
- color: var(--color-of-value-indicator);
910
+ color: rgb(var(--color-white));
903
911
  }
904
912
  .mdc-slider .mdc-ripple-upgraded--foreground-activation .mdc-slider__value-indicator {
905
913
  transform: scale(1.5) translateY(0);
@@ -49,6 +49,10 @@
49
49
  --lime-text-secondary-on-background-color,
50
50
  rgba(var(--contrast-1700), 0.54)
51
51
  );
52
+ --mdc-theme-error: var(
53
+ --lime-error-background-color,
54
+ rgb(var(--color-red-dark))
55
+ );
52
56
  --lime-error-text-color: rgb(var(--color-red-darker));
53
57
  --mdc-theme-surface: var(
54
58
  --lime-surface-background-color,
@@ -56,7 +60,7 @@
56
60
  );
57
61
  --mdc-theme-on-surface: var(
58
62
  --lime-on-surface-color,
59
- var(--lime-text-primary-on-background-color)
63
+ rgb(var(--contrast-1500))
60
64
  );
61
65
  }
62
66
 
@@ -373,14 +377,15 @@
373
377
  }
374
378
 
375
379
  .mdc-snackbar__surface {
380
+ background-color: var(--lime-elevated-surface-background-color);
376
381
  box-shadow: var(--shadow-depth-16);
377
382
  }
378
383
 
384
+ .mdc-snackbar__label {
385
+ color: var(--mdc-theme-on-surface);
386
+ }
387
+
379
388
  .mdc-snackbar__actions {
380
389
  gap: 0.5rem;
381
390
  padding-left: 0.5rem;
382
- }
383
-
384
- limel-button {
385
- --contrast-100: #333;
386
391
  }
@@ -49,6 +49,10 @@
49
49
  --lime-text-secondary-on-background-color,
50
50
  rgba(var(--contrast-1700), 0.54)
51
51
  );
52
+ --mdc-theme-error: var(
53
+ --lime-error-background-color,
54
+ rgb(var(--color-red-dark))
55
+ );
52
56
  --lime-error-text-color: rgb(var(--color-red-darker));
53
57
  --mdc-theme-surface: var(
54
58
  --lime-surface-background-color,
@@ -56,7 +60,7 @@
56
60
  );
57
61
  --mdc-theme-on-surface: var(
58
62
  --lime-on-surface-color,
59
- var(--lime-text-primary-on-background-color)
63
+ rgb(var(--contrast-1500))
60
64
  );
61
65
  }
62
66
 
@@ -56,10 +56,14 @@ limel-menu:hover:before, limel-menu:focus-within:before {
56
56
  width: 1rem;
57
57
  }
58
58
  .menu-trigger:not(:disabled) {
59
- transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;
59
+ transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;
60
+ color: var(--mdc-theme-on-surface);
61
+ background-color: transparent;
60
62
  cursor: pointer;
61
63
  }
62
64
  .menu-trigger:not(:disabled):hover {
65
+ color: var(--mdc-theme-on-surface);
66
+ background-color: var(--lime-elevated-surface-background-color);
63
67
  box-shadow: var(--button-shadow-hovered);
64
68
  }
65
69
  .menu-trigger:not(:disabled):active {
@@ -49,6 +49,10 @@
49
49
  --lime-text-secondary-on-background-color,
50
50
  rgba(var(--contrast-1700), 0.54)
51
51
  );
52
+ --mdc-theme-error: var(
53
+ --lime-error-background-color,
54
+ rgb(var(--color-red-dark))
55
+ );
52
56
  --lime-error-text-color: rgb(var(--color-red-darker));
53
57
  --mdc-theme-surface: var(
54
58
  --lime-surface-background-color,
@@ -56,7 +60,7 @@
56
60
  );
57
61
  --mdc-theme-on-surface: var(
58
62
  --lime-on-surface-color,
59
- var(--lime-text-primary-on-background-color)
63
+ rgb(var(--contrast-1500))
60
64
  );
61
65
  }
62
66
 
@@ -775,7 +779,7 @@
775
779
  opacity: var(--mdc-switch-disabled-track-opacity, 1);
776
780
  }
777
781
  }
778
- :host {
782
+ :host(limel-switch) {
779
783
  display: inline-flex;
780
784
  align-items: center;
781
785
  --mdc-switch-selected-icon-color: transparent;
@@ -786,11 +790,48 @@
786
790
  --mdc-switch-unselected-icon-size: 0.75rem;
787
791
  --mdc-switch-track-height: 1.25rem;
788
792
  --mdc-switch-track-shape: var(--mdc-switch-track-height);
793
+ --mdc-switch-unselected-focus-handle-color: var(
794
+ --lime-elevated-surface-background-color
795
+ );
796
+ --mdc-switch-selected-focus-handle-color: var(
797
+ --lime-elevated-surface-background-color
798
+ );
799
+ --mdc-switch-unselected-pressed-handle-color: var(
800
+ --lime-elevated-surface-background-color
801
+ );
802
+ --mdc-switch-selected-pressed-handle-color: var(
803
+ --lime-elevated-surface-background-color
804
+ );
805
+ --mdc-switch-unselected-handle-color: var(
806
+ --lime-elevated-surface-background-color
807
+ );
808
+ --mdc-switch-unselected-hover-handle-color: var(
809
+ --lime-elevated-surface-background-color
810
+ );
811
+ --mdc-switch-selected-handle-color: var(
812
+ --lime-elevated-surface-background-color
813
+ );
814
+ --mdc-switch-selected-hover-handle-color: var(
815
+ --lime-elevated-surface-background-color
816
+ );
817
+ --mdc-switch-unselected-track-color: rgb(var(--contrast-700));
818
+ --mdc-switch-unselected-focus-track-color: rgb(var(--contrast-800));
819
+ --mdc-switch-unselected-pressed-track-color: rgb(var(--contrast-800));
820
+ --mdc-switch-unselected-hover-track-color: rgb(var(--contrast-800));
821
+ --mdc-switch-selected-focus-track-color: var(--mdc-theme-primary);
822
+ --mdc-switch-selected-pressed-track-color: var(--mdc-theme-primary);
823
+ --mdc-switch-selected-track-color: var(--mdc-theme-primary);
824
+ --mdc-switch-selected-hover-track-color: var(--mdc-theme-primary);
825
+ --mdc-switch-handle-elevation: var(--button-shadow-normal);
826
+ --mdc-switch-disabled-track-opacity: 0.4;
789
827
  }
790
828
 
791
829
  .mdc-switch {
792
830
  margin-right: 0.5rem;
793
831
  }
832
+ .mdc-switch:hover {
833
+ --mdc-switch-handle-elevation: var(--button-shadow-hovered);
834
+ }
794
835
 
795
836
  label {
796
837
  -moz-osx-font-smoothing: grayscale;
@@ -824,6 +865,13 @@ label.disabled {
824
865
  opacity: 0.4;
825
866
  }
826
867
 
868
+ .mdc-switch.mdc-switch--selected .mdc-switch__handle:after, .mdc-switch.mdc-switch--selected .mdc-switch__handle:before, .mdc-switch.mdc-switch.mdc-switch--unselected .mdc-switch__handle:after, .mdc-switch.mdc-switch.mdc-switch--unselected .mdc-switch__handle:before {
869
+ transform: scale(0.8);
870
+ }
871
+ .mdc-switch .mdc-switch__shadow {
872
+ transform: scale(0.8);
873
+ }
874
+
827
875
  .mdc-switch.lime-switch--readonly {
828
876
  --mdc-switch-disabled-selected-track-color: var(--mdc-theme-primary);
829
877
  --mdc-switch-disabled-unselected-track-color: rgb(
@@ -49,6 +49,10 @@
49
49
  --lime-text-secondary-on-background-color,
50
50
  rgba(var(--contrast-1700), 0.54)
51
51
  );
52
+ --mdc-theme-error: var(
53
+ --lime-error-background-color,
54
+ rgb(var(--color-red-dark))
55
+ );
52
56
  --lime-error-text-color: rgb(var(--color-red-darker));
53
57
  --mdc-theme-surface: var(
54
58
  --lime-surface-background-color,
@@ -56,7 +60,7 @@
56
60
  );
57
61
  --mdc-theme-on-surface: var(
58
62
  --lime-on-surface-color,
59
- var(--lime-text-primary-on-background-color)
63
+ rgb(var(--contrast-1500))
60
64
  );
61
65
  }
62
66
 
@@ -687,6 +691,14 @@
687
691
  gap: 0.375rem;
688
692
  }
689
693
 
690
- .mdc-tab__text-label {
694
+ .mdc-tab .mdc-tab__text-label {
695
+ transition: color 0.2s ease;
691
696
  padding-left: 0 !important;
697
+ color: var(--mdc-theme-on-surface);
698
+ }
699
+ .mdc-tab:hover .mdc-tab__text-label {
700
+ color: var(--mdc-theme-text-primary-on-background);
701
+ }
702
+ .mdc-tab.mdc-tab--active .mdc-tab__text-label {
703
+ color: var(--mdc-theme-primary);
692
704
  }
@@ -938,17 +938,21 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
938
938
  /*
939
939
  * @prop --table-max-column-width: defines a maximum width for columns using standard size units, to prevent the table from growing too wide. Set to `auto` if you do not need this limitation. Defaults to `40rem`.
940
940
  */
941
- :host {
941
+ :host(limel-table) {
942
+ isolation: isolate;
942
943
  display: block;
943
944
  --table-header-background-color: var(--contrast-500);
944
945
  --table-header-background-color--hover: var(--contrast-400);
945
946
  --table-header-background-color-when-being-dragged: var(--contrast-100);
946
947
  --table-row-background-color--odd: var(--contrast-200);
947
948
  --table-row-background-color--even: var(--contrast-100);
948
- --table-row-background-color--hover: var(--contrast-100);
949
- --table-row-background-color--active: var(--color-teal-lighter);
949
+ --table-row-background-color--hover: var(
950
+ --lime-elevated-surface-background-color
951
+ );
952
+ --table-row-background-color--active: var(--contrast-300);
950
953
  --table-arrow-color: var(--contrast-800);
951
954
  --table-arrow-color--active: var(--mdc-theme-primary);
955
+ --table-text-color: var(--mdc-theme-text-primary-on-background);
952
956
  }
953
957
 
954
958
  #tabulator-container,
@@ -998,6 +1002,13 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
998
1002
  border: none;
999
1003
  }
1000
1004
 
1005
+ .tabulator .tabulator-header {
1006
+ color: var(--table-text-color);
1007
+ }
1008
+ .tabulator .tabulator-tableHolder .tabulator-table {
1009
+ color: var(--table-text-color);
1010
+ background-color: transparent;
1011
+ }
1001
1012
  .tabulator .tabulator-header {
1002
1013
  border-bottom: 0;
1003
1014
  background-color: rgb(var(--table-header-background-color));
@@ -1033,17 +1044,32 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
1033
1044
  .tabulator-row.tabulator-selectable {
1034
1045
  transition: background-color 0.2s ease;
1035
1046
  }
1047
+ .tabulator-row.tabulator-selectable:hover {
1048
+ background-color: rgb(var(--contrast-300));
1049
+ }
1036
1050
  .tabulator-row.tabulator-selectable:not(.active):hover {
1037
1051
  background-color: rgb(var(--table-header-background-color));
1038
1052
  }
1039
- .tabulator-row.tabulator-row-odd {
1053
+ .tabulator-row.tabulator-row-odd:not(.active):not(:hover) {
1040
1054
  background-color: rgb(var(--table-row-background-color--odd));
1041
1055
  }
1042
- .tabulator-row.tabulator-row-even {
1056
+ .tabulator-row.tabulator-row-even:not(.active):not(:hover) {
1043
1057
  background-color: rgb(var(--table-row-background-color--even));
1044
1058
  }
1045
- .tabulator-row.active, .tabulator-row.active:hover {
1059
+ .tabulator-row.active {
1046
1060
  background-color: rgb(var(--table-row-background-color--active));
1061
+ box-shadow: var(--button-shadow-inset-pressed);
1062
+ }
1063
+ .tabulator-row.active:before {
1064
+ content: "";
1065
+ display: inline-block;
1066
+ box-sizing: border-box;
1067
+ position: sticky;
1068
+ z-index: 3;
1069
+ inset: 0 0 auto 0;
1070
+ border: 0.2rem solid var(--mdc-theme-primary);
1071
+ border-radius: 1rem;
1072
+ margin-right: -0.4rem;
1047
1073
  }
1048
1074
  .tabulator-row .tabulator-cell {
1049
1075
  border-right: transparent;
@@ -1215,24 +1241,24 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
1215
1241
  margin: 0;
1216
1242
  border: none;
1217
1243
  border-radius: 2.5rem;
1218
- color: rgb(var(--contrast-1200)) !important;
1219
1244
  background-color: transparent;
1220
1245
  }
1221
1246
  .tabulator .tabulator-footer .tabulator-paginator .tabulator-page:not([disabled]) {
1222
- transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;
1247
+ transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;
1248
+ color: rgb(var(--contrast-1200)) !important;
1249
+ background-color: transparent;
1223
1250
  }
1224
1251
  .tabulator .tabulator-footer .tabulator-paginator .tabulator-page:not([disabled]):hover {
1252
+ color: var(--mdc-theme-on-surface);
1253
+ background-color: var(--lime-elevated-surface-background-color);
1225
1254
  box-shadow: var(--button-shadow-hovered);
1226
1255
  }
1227
1256
  .tabulator .tabulator-footer .tabulator-paginator .tabulator-page:not([disabled]):active {
1228
1257
  box-shadow: var(--button-shadow-pressed);
1229
1258
  transform: translate3d(0, 0.08rem, 0);
1230
1259
  }
1231
- .tabulator .tabulator-footer .tabulator-paginator .tabulator-page:hover {
1232
- background-color: rgb(var(--contrast-100));
1233
- }
1234
1260
  .tabulator .tabulator-footer .tabulator-paginator .tabulator-page.active {
1235
- background-color: rgb(var(--contrast-100));
1261
+ background-color: var(--mdc-theme-surface);
1236
1262
  box-shadow: var(--button-shadow-inset);
1237
1263
  }
1238
1264
  .tabulator .tabulator-footer .tabulator-paginator .tabulator-page:disabled {
@@ -1242,33 +1268,45 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
1242
1268
  background-color: transparent;
1243
1269
  }
1244
1270
 
1245
- .tabulator-page[data-page=first], .tabulator-page[data-page=prev], .tabulator-page[data-page=next], .tabulator-page[data-page=last] {
1271
+ button.tabulator-page {
1272
+ display: inline-flex !important;
1273
+ align-items: center;
1274
+ justify-content: center;
1275
+ }
1276
+ button.tabulator-page[data-page=first], button.tabulator-page[data-page=prev], button.tabulator-page[data-page=next], button.tabulator-page[data-page=last] {
1246
1277
  font-size: 0;
1247
1278
  color: transparent !important;
1248
1279
  }
1249
- .tabulator-page[data-page=first]:after, .tabulator-page[data-page=prev]:after, .tabulator-page[data-page=next]:after, .tabulator-page[data-page=last]:after {
1280
+ button.tabulator-page[data-page=first]:before, button.tabulator-page[data-page=first]:after, button.tabulator-page[data-page=prev]:before, button.tabulator-page[data-page=prev]:after, button.tabulator-page[data-page=next]:before, button.tabulator-page[data-page=next]:after, button.tabulator-page[data-page=last]:before, button.tabulator-page[data-page=last]:after {
1281
+ content: "";
1250
1282
  transition: transform 0.2s ease;
1251
1283
  display: block;
1252
- opacity: 0.7;
1253
1284
  position: absolute;
1254
- top: 0.125rem;
1255
- right: 0.125rem;
1256
- bottom: 0.125rem;
1257
- left: 0.125rem;
1258
1285
  }
1259
- .tabulator-page[data-page=prev]:after, .tabulator-page[data-page=next]:after {
1260
- content: url("data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' stroke-linejoin='round' stroke-miterlimit='2' clip-rule='evenodd' viewBox='0 0 100 100'><defs/><path d='M68.714 50L37.286 70V30l31.428 20z'/></svg>");
1286
+ button.tabulator-page[data-page=first]:after, button.tabulator-page[data-page=prev]:after, button.tabulator-page[data-page=next]:after, button.tabulator-page[data-page=last]:after {
1287
+ border-style: solid;
1288
+ border-color: transparent;
1289
+ border-width: 0.25rem 0 0.25rem 0.4rem;
1290
+ border-left-color: var(--mdc-theme-on-surface);
1291
+ }
1292
+ button.tabulator-page[data-page=first]:before, button.tabulator-page[data-page=last]:before {
1293
+ height: 0.5rem;
1294
+ width: 0.125rem;
1295
+ background-color: var(--mdc-theme-on-surface);
1296
+ }
1297
+ button.tabulator-page[data-page=first]:before {
1298
+ left: 0.375rem;
1261
1299
  }
1262
- .tabulator-page[data-page=first]:after, .tabulator-page[data-page=last]:after {
1263
- content: url("data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' stroke-linejoin='round' stroke-miterlimit='2' clip-rule='evenodd' viewBox='0 0 100 100'><defs/><path d='M60.714 50L29.286 70V30l31.428 20zM64.714 30h6v40h-6z'/></svg>");
1300
+ button.tabulator-page[data-page=last]:before {
1301
+ right: 0.375rem;
1264
1302
  }
1265
- .tabulator-page[data-page=first]:after, .tabulator-page[data-page=prev]:after {
1303
+ button.tabulator-page[data-page=first]:after, button.tabulator-page[data-page=prev]:after {
1266
1304
  transform: rotateZ(180deg);
1267
1305
  }
1268
- .tabulator-page[data-page=next]:not([disabled]):hover:after, .tabulator-page[data-page=last]:not([disabled]):hover:after {
1306
+ button.tabulator-page[data-page=next]:not([disabled]):hover:after, button.tabulator-page[data-page=last]:not([disabled]):hover:after {
1269
1307
  transform: translate3d(0.09375rem, 0, 0);
1270
1308
  }
1271
- .tabulator-page[data-page=first]:not([disabled]):hover:after, .tabulator-page[data-page=prev]:not([disabled]):hover:after {
1309
+ button.tabulator-page[data-page=first]:not([disabled]):hover:after, button.tabulator-page[data-page=prev]:not([disabled]):hover:after {
1272
1310
  transform: translate3d(-0.09375rem, 0, 0) rotateZ(180deg);
1273
1311
  }
1274
1312
 
@@ -1317,10 +1355,7 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
1317
1355
  * without being explicitly called by outside code.
1318
1356
  */
1319
1357
  :host(.has-interactive-rows) .tabulator-row:not(.tabulator-calcs).tabulator-selectable {
1320
- transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;
1321
- }
1322
- :host(.has-interactive-rows) .tabulator-row:not(.tabulator-calcs).tabulator-selectable:hover {
1323
- box-shadow: var(--button-shadow-hovered);
1358
+ transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;
1324
1359
  }
1325
1360
  :host(.has-interactive-rows) .tabulator-row:not(.tabulator-calcs).tabulator-selectable:active {
1326
1361
  box-shadow: var(--button-shadow-pressed);
@@ -1328,6 +1363,7 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
1328
1363
  }
1329
1364
  :host(.has-interactive-rows) .tabulator-row:not(.tabulator-calcs).tabulator-selectable:hover {
1330
1365
  z-index: 2;
1366
+ box-shadow: var(--button-shadow-hovered);
1331
1367
  }
1332
1368
  :host(.has-interactive-rows) .tabulator-row:not(.tabulator-calcs).tabulator-selectable:not(.active):hover {
1333
1369
  background-color: rgb(var(--table-row-background-color--hover));
@@ -1460,15 +1496,20 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
1460
1496
  transition: transform 0.5s ease-out, opacity 0.35s ease;
1461
1497
  padding-top: 0;
1462
1498
  padding-bottom: 0;
1499
+ color: var(--table-text-color);
1463
1500
  background-color: rgb(var(--table-header-background-color--hover));
1464
1501
  border: none;
1465
1502
  user-select: auto;
1466
1503
  }
1467
1504
  .tabulator .tabulator-footer .tabulator-calcs-holder {
1468
- border-color: rgb(var(--contrast-600));
1505
+ border-color: rgb(var(--contrast-500));
1506
+ background: rgb(var(--contrast-500)) !important;
1469
1507
  margin-top: 0;
1470
1508
  margin-bottom: 0;
1471
1509
  }
1510
+ .tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row {
1511
+ background: transparent !important;
1512
+ }
1472
1513
  .tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-calcs {
1473
1514
  cursor: default;
1474
1515
  }
@@ -1518,7 +1559,7 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
1518
1559
  will-change: background-image;
1519
1560
  background-image: linear-gradient(to right, rgb(var(--table-row-background-color--hover)) 70%, rgb(var(--table-row-background-color--hover), 0));
1520
1561
  }
1521
- .tabulator-row.active .limel-table--row-selector, .tabulator-row.active:hover .limel-table--row-selector {
1562
+ .tabulator-row.active .limel-table--row-selector {
1522
1563
  background-image: linear-gradient(to right, rgb(var(--table-row-background-color--active)) 70%, rgb(var(--table-row-background-color--active), 0));
1523
1564
  }
1524
1565
  .limel-table--row-selector limel-checkbox {
@@ -27,6 +27,10 @@
27
27
  --lime-text-secondary-on-background-color,
28
28
  rgba(var(--contrast-1700), 0.54)
29
29
  );
30
+ --mdc-theme-error: var(
31
+ --lime-error-background-color,
32
+ rgb(var(--color-red-dark))
33
+ );
30
34
  --lime-error-text-color: rgb(var(--color-red-darker));
31
35
  --mdc-theme-surface: var(
32
36
  --lime-surface-background-color,
@@ -34,6 +38,6 @@
34
38
  );
35
39
  --mdc-theme-on-surface: var(
36
40
  --lime-on-surface-color,
37
- var(--lime-text-primary-on-background-color)
41
+ rgb(var(--contrast-1500))
38
42
  );
39
43
  }
@@ -41,7 +41,7 @@
41
41
  --contrast-1400: 39, 39, 57; /* #272739 */
42
42
  --contrast-1500: 35, 35, 53; /* #232335 */
43
43
  --contrast-1600: 25, 25, 44; /* #19192c */
44
- --contrast-1700: 0, 0, 0; /* #000 */
44
+ --contrast-1700: 20, 20, 37; /* #141425 */
45
45
 
46
46
  /* Colors swatches that get slightly dimmer in dark mode */
47
47
  --color-red-lighter: 255, 205, 210; /* #ffcdd2; */