@limetech/lime-elements 36.3.0-next.9 → 36.3.0
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.
- package/README.md +2 -2
- package/dist/cjs/lime-elements.cjs.js +1 -1
- package/dist/cjs/limel-badge.cjs.entry.js +4 -6
- package/dist/cjs/limel-button-group.cjs.entry.js +21 -6
- package/dist/cjs/limel-button.cjs.entry.js +1 -1
- package/dist/cjs/limel-callout.cjs.entry.js +54 -0
- package/dist/cjs/limel-chip-set.cjs.entry.js +13 -3
- package/dist/cjs/limel-code-editor.cjs.entry.js +1 -1
- package/dist/cjs/limel-collapsible-section.cjs.entry.js +3 -12
- package/dist/cjs/limel-color-picker-palette.cjs.entry.js +1 -1
- package/dist/cjs/limel-color-picker.cjs.entry.js +1 -1
- package/dist/cjs/limel-date-picker.cjs.entry.js +47 -7
- package/dist/cjs/limel-dialog.cjs.entry.js +1 -1
- package/dist/cjs/limel-dock-button.cjs.entry.js +7 -2
- package/dist/cjs/limel-dock.cjs.entry.js +1 -1
- package/dist/cjs/limel-file.cjs.entry.js +1 -1
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +99 -118
- package/dist/cjs/limel-form.cjs.entry.js +79 -1
- package/dist/cjs/limel-icon-button.cjs.entry.js +1 -1
- package/dist/cjs/limel-info-tile.cjs.entry.js +4 -1
- package/dist/cjs/limel-input-field.cjs.entry.js +2 -2
- package/dist/cjs/limel-list_2.cjs.entry.js +1 -1
- package/dist/cjs/limel-menu-list.cjs.entry.js +7 -1
- package/dist/cjs/limel-menu.cjs.entry.js +10 -2
- package/dist/cjs/limel-portal.cjs.entry.js +3 -4
- package/dist/cjs/limel-select.cjs.entry.js +1 -1
- package/dist/cjs/limel-shortcut.cjs.entry.js +1 -1
- package/dist/cjs/limel-slider.cjs.entry.js +5 -5
- package/dist/cjs/limel-snackbar.cjs.entry.js +2 -2
- package/dist/cjs/limel-spinner.cjs.entry.js +1 -1
- package/dist/cjs/limel-split-button.cjs.entry.js +1 -1
- package/dist/cjs/limel-tab-bar.cjs.entry.js +1 -1
- package/dist/cjs/limel-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/limel-table.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{dateFormatter-d7a8d40d.js → sv-dffe48b5.js} +222 -173
- package/dist/cjs/{translations-ca7279bc.js → translations-f8080c48.js} +30 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/badge/badge.css +34 -19
- package/dist/collection/components/badge/badge.js +7 -7
- package/dist/collection/components/banner/banner.css +1 -2
- package/dist/collection/components/button/button.css +31 -41
- package/dist/collection/components/button-group/button-group.css +44 -42
- package/dist/collection/components/button-group/button-group.js +25 -6
- package/dist/collection/components/callout/callout.css +77 -0
- package/dist/collection/components/callout/callout.helpers.js +27 -0
- package/dist/collection/components/callout/callout.js +139 -0
- package/dist/collection/components/callout/callout.types.js +1 -0
- package/dist/collection/components/checkbox/checkbox.css +22 -45
- package/dist/collection/components/chip-set/chip-set.css +219 -405
- package/dist/collection/components/chip-set/chip-set.js +6 -2
- package/dist/collection/components/circular-progress/circular-progress.css +8 -0
- package/dist/collection/components/code-editor/code-editor.css +11 -8
- package/dist/collection/components/collapsible-section/collapsible-section.css +87 -55
- package/dist/collection/components/collapsible-section/collapsible-section.js +2 -11
- package/dist/collection/components/color-picker/color-picker-palette.css +16 -14
- package/dist/collection/components/color-picker/color-picker.css +7 -5
- package/dist/collection/components/date-picker/date-picker.js +30 -5
- package/dist/collection/components/date-picker/dateFormatter.js +7 -3
- package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.css +11 -1
- package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.js +23 -8
- package/dist/collection/components/date-picker/pickers/Picker.js +11 -8
- package/dist/collection/components/dialog/dialog.css +14 -27
- package/dist/collection/components/dock/dock-button/dock-button.css +17 -2
- package/dist/collection/components/dock/dock-button/dock-button.js +6 -1
- package/dist/collection/components/dock/dock.css +19 -1
- package/dist/collection/components/dock/dock.js +1 -0
- package/dist/collection/components/file/file.js +1 -1
- package/dist/collection/components/form/form.css +122 -18
- package/dist/collection/components/form/form.js +1 -0
- package/dist/collection/components/form/form.types.js +8 -0
- package/dist/collection/components/form/row/row.js +47 -0
- package/dist/collection/components/form/templates/object-field.js +5 -0
- package/dist/collection/components/form/templates/row-layout.js +20 -0
- package/dist/collection/components/header/header.css +8 -0
- package/dist/collection/components/icon-button/icon-button.css +15 -12
- package/dist/collection/components/info-tile/info-tile.css +13 -17
- package/dist/collection/components/info-tile/info-tile.js +3 -0
- package/dist/collection/components/input-field/input-field.css +197 -363
- package/dist/collection/components/input-field/input-field.js +1 -1
- package/dist/collection/components/linear-progress/linear-progress.css +7 -14
- package/dist/collection/components/list/list.css +388 -751
- package/dist/collection/components/menu/menu.css +19 -1
- package/dist/collection/components/menu/menu.js +10 -1
- package/dist/collection/components/menu-list/menu-list-renderer.js +6 -1
- package/dist/collection/components/menu-list/menu-list.css +400 -752
- package/dist/collection/components/menu-surface/menu-surface.css +13 -26
- package/dist/collection/components/popover-surface/popover-surface.css +8 -0
- package/dist/collection/components/progress-flow/progress-flow-item/progress-flow-item.css +8 -0
- package/dist/collection/components/select/select.css +174 -323
- package/dist/collection/components/shortcut/shortcut.css +9 -7
- package/dist/collection/components/slider/slider.css +87 -98
- package/dist/collection/components/slider/slider.js +5 -5
- package/dist/collection/components/snackbar/snackbar.css +19 -34
- package/dist/collection/components/snackbar/snackbar.js +1 -1
- package/dist/collection/components/spinner/spinner.css +4 -0
- package/dist/collection/components/split-button/split-button.css +15 -4
- package/dist/collection/components/switch/switch.css +21 -49
- package/dist/collection/components/tab-bar/tab-bar.css +20 -19
- package/dist/collection/components/tab-panel/tab-panel.css +5 -0
- package/dist/collection/components/table/table.css +33 -0
- package/dist/collection/icons/idea.svg +593 -0
- package/dist/collection/icons/info.svg +593 -0
- package/dist/collection/style/internal/z-index.scss +0 -1
- package/dist/collection/style/mixins.scss +15 -4
- package/dist/collection/translations/da.js +5 -0
- package/dist/collection/translations/en.js +5 -0
- package/dist/collection/translations/fi.js +5 -0
- package/dist/collection/translations/nl.js +5 -0
- package/dist/collection/translations/no.js +5 -0
- package/dist/collection/translations/sv.js +5 -0
- package/dist/esm/{keycodes-9f971b46.js → keycodes-44c01beb.js} +1 -1
- package/dist/esm/lime-elements.js +1 -1
- package/dist/esm/limel-badge.entry.js +4 -6
- package/dist/esm/limel-button-group.entry.js +21 -6
- package/dist/esm/limel-button.entry.js +1 -1
- package/dist/esm/limel-callout.entry.js +50 -0
- package/dist/esm/limel-chip-set.entry.js +14 -4
- package/dist/esm/limel-code-editor.entry.js +1 -1
- package/dist/esm/limel-collapsible-section.entry.js +3 -12
- package/dist/esm/limel-color-picker-palette.entry.js +1 -1
- package/dist/esm/limel-color-picker.entry.js +1 -1
- package/dist/esm/limel-date-picker.entry.js +46 -6
- package/dist/esm/limel-dialog.entry.js +1 -1
- package/dist/esm/limel-dock-button.entry.js +7 -2
- package/dist/esm/limel-dock.entry.js +1 -1
- package/dist/esm/limel-file.entry.js +1 -1
- package/dist/esm/limel-flatpickr-adapter.entry.js +99 -118
- package/dist/esm/limel-form.entry.js +79 -1
- package/dist/esm/limel-icon-button.entry.js +1 -1
- package/dist/esm/limel-info-tile.entry.js +4 -1
- package/dist/esm/limel-input-field.entry.js +3 -3
- package/dist/esm/limel-list_2.entry.js +2 -2
- package/dist/esm/limel-menu-list.entry.js +7 -1
- package/dist/esm/limel-menu.entry.js +10 -2
- package/dist/esm/limel-picker.entry.js +1 -1
- package/dist/esm/limel-popover_4.entry.js +1 -1
- package/dist/esm/limel-portal.entry.js +3 -4
- package/dist/esm/limel-select.entry.js +2 -2
- package/dist/esm/limel-shortcut.entry.js +1 -1
- package/dist/esm/limel-slider.entry.js +6 -6
- package/dist/esm/limel-snackbar.entry.js +2 -2
- package/dist/esm/limel-spinner.entry.js +1 -1
- package/dist/esm/limel-split-button.entry.js +1 -1
- package/dist/esm/limel-tab-bar.entry.js +1 -1
- package/dist/esm/limel-tab-panel.entry.js +1 -1
- package/dist/esm/limel-table.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{dateFormatter-784c3334.js → sv-336c4576.js} +222 -173
- package/dist/esm/{translations-0d0ee941.js → translations-f88bb584.js} +30 -0
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-a8d38277.entry.js → p-10e259de.entry.js} +1 -1
- package/dist/lime-elements/{p-934456bc.entry.js → p-123f5fbb.entry.js} +1 -1
- package/dist/lime-elements/{p-c234a991.entry.js → p-157e0417.entry.js} +2 -2
- package/dist/lime-elements/p-2f9918a3.entry.js +1 -0
- package/dist/lime-elements/p-2fd478df.entry.js +1 -0
- package/dist/lime-elements/p-3be2dfc7.entry.js +1 -0
- package/dist/lime-elements/{p-06f2f6b4.entry.js → p-3fda3473.entry.js} +1 -1
- package/dist/lime-elements/p-46a76d55.entry.js +1 -0
- package/dist/lime-elements/p-4a62273c.entry.js +1 -0
- package/dist/lime-elements/{p-73df4d83.js → p-4dd9a5a5.js} +5 -3
- package/dist/lime-elements/{p-d1187867.entry.js → p-4eeabc1f.entry.js} +1 -1
- package/dist/lime-elements/{p-2f2ea041.entry.js → p-4fcd3337.entry.js} +1 -1
- package/dist/lime-elements/{p-029360c8.entry.js → p-50dbd665.entry.js} +1 -1
- package/dist/lime-elements/{p-e5213a54.entry.js → p-55c8cb64.entry.js} +4 -4
- package/dist/lime-elements/{p-cad7cda1.entry.js → p-58e9df30.entry.js} +1 -1
- package/dist/lime-elements/p-73613abb.entry.js +82 -0
- package/dist/lime-elements/{p-6784c5c3.entry.js → p-7d7d19de.entry.js} +1 -1
- package/dist/lime-elements/{p-9ec08ebc.entry.js → p-8178b348.entry.js} +3 -3
- package/dist/lime-elements/{p-004aad18.entry.js → p-9336fd7f.entry.js} +1 -1
- package/dist/lime-elements/{p-a0c78744.entry.js → p-a88f2922.entry.js} +2 -2
- package/dist/lime-elements/p-b1ae3d1f.entry.js +126 -0
- package/dist/lime-elements/p-b40f37d7.entry.js +1 -0
- package/dist/lime-elements/p-b59e4287.js +1 -0
- package/dist/lime-elements/{p-405207fa.entry.js → p-b80de0ea.entry.js} +1 -1
- package/dist/lime-elements/p-c47cb4c3.entry.js +1 -0
- package/dist/lime-elements/{p-b079fc71.entry.js → p-cc3529bb.entry.js} +1 -1
- package/dist/lime-elements/{p-93ad8b90.entry.js → p-d0084a70.entry.js} +1 -1
- package/dist/lime-elements/p-d16b27b9.entry.js +1 -0
- package/dist/lime-elements/{p-216ffe20.js → p-d7801e00.js} +1 -1
- package/dist/lime-elements/p-d87e2f26.entry.js +1 -0
- package/dist/lime-elements/p-d955c169.entry.js +59 -0
- package/dist/lime-elements/p-da536426.entry.js +1 -0
- package/dist/lime-elements/p-e69231c2.entry.js +16 -0
- package/dist/lime-elements/p-eda87f8c.entry.js +1 -0
- package/dist/lime-elements/{p-0bf916a0.entry.js → p-edbd8d62.entry.js} +1 -1
- package/dist/lime-elements/p-f11e7ce1.entry.js +1 -0
- package/dist/lime-elements/{p-5409b92f.entry.js → p-f979c0f2.entry.js} +1 -1
- package/dist/lime-elements/style/internal/z-index.scss +0 -1
- package/dist/lime-elements/style/mixins.scss +15 -4
- package/dist/scss/mixins.scss +186 -0
- package/dist/types/components/badge/badge.d.ts +4 -2
- package/dist/types/components/button/button.types.d.ts +4 -0
- package/dist/types/components/button-group/button-group.d.ts +4 -0
- package/dist/types/components/callout/callout.d.ts +52 -0
- package/dist/types/components/callout/callout.helpers.d.ts +2 -0
- package/dist/types/components/callout/callout.types.d.ts +11 -0
- package/dist/types/components/chip-set/chip-set.d.ts +1 -1
- package/dist/types/components/collapsible-section/collapsible-section.d.ts +0 -1
- package/dist/types/components/date-picker/date-picker.d.ts +10 -0
- package/dist/types/components/date-picker/date.types.d.ts +1 -1
- package/dist/types/components/date-picker/dateFormatter.d.ts +3 -2
- package/dist/types/components/date-picker/flatpickr-adapter/flatpickr-adapter.d.ts +1 -1
- package/dist/types/components/date-picker/pickers/Picker.d.ts +4 -2
- package/dist/types/components/dock/dock-button/dock-button.d.ts +1 -0
- package/dist/types/components/dock/dock.d.ts +1 -0
- package/dist/types/components/dock/dock.types.d.ts +4 -0
- package/dist/types/components/form/form.d.ts +1 -0
- package/dist/types/components/form/form.types.d.ts +16 -1
- package/dist/types/components/form/row/row.d.ts +16 -0
- package/dist/types/components/form/templates/row-layout.d.ts +11 -0
- package/dist/types/components/form/templates/types.d.ts +3 -0
- package/dist/types/components/menu/menu.d.ts +3 -0
- package/dist/types/components/menu/menu.types.d.ts +4 -0
- package/dist/types/components/menu-list/menu-list-renderer.d.ts +1 -0
- package/dist/types/components.d.ts +57 -1
- package/dist/types/interface.d.ts +1 -0
- package/dist/types/translations/da.d.ts +5 -0
- package/dist/types/translations/en.d.ts +5 -0
- package/dist/types/translations/fi.d.ts +5 -0
- package/dist/types/translations/nl.d.ts +5 -0
- package/dist/types/translations/no.d.ts +5 -0
- package/dist/types/translations/sv.d.ts +5 -0
- package/package.json +23 -20
- package/dist/lime-elements/p-15c3ec8e.entry.js +0 -1
- package/dist/lime-elements/p-246862ec.js +0 -1
- package/dist/lime-elements/p-52e18d94.entry.js +0 -1
- package/dist/lime-elements/p-5393213b.entry.js +0 -1
- package/dist/lime-elements/p-61b3352f.entry.js +0 -1
- package/dist/lime-elements/p-65a3be2c.entry.js +0 -1
- package/dist/lime-elements/p-90961075.entry.js +0 -1
- package/dist/lime-elements/p-91604294.entry.js +0 -1
- package/dist/lime-elements/p-95fd48d0.entry.js +0 -82
- package/dist/lime-elements/p-c4a89055.entry.js +0 -16
- package/dist/lime-elements/p-cc9f89a9.entry.js +0 -1
- package/dist/lime-elements/p-d379f4d6.entry.js +0 -59
- package/dist/lime-elements/p-d512656b.entry.js +0 -1
- package/dist/lime-elements/p-e6a11b73.entry.js +0 -1
- package/dist/lime-elements/p-f9958763.entry.js +0 -1
- package/dist/lime-elements/p-ff340a70.entry.js +0 -126
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is
|
|
1
|
+
/**
|
|
2
|
+
* Note! This file is exported to `dist/scss/` in the published
|
|
3
|
+
* node module, for consumer projects to import.
|
|
4
|
+
* That means this file cannot import from any file that isn't
|
|
5
|
+
* also exported, keeping the same relative path.
|
|
3
6
|
*
|
|
4
|
-
*
|
|
5
|
-
* without being explicitly called by outside code.
|
|
7
|
+
* Or, just don't import anything, that works too.
|
|
6
8
|
*/
|
|
7
9
|
/**
|
|
8
10
|
* @prop --shortcut-border-radius: defines the radius of corners of the shortcut. Defaults to `1rem`
|
|
@@ -41,10 +43,10 @@
|
|
|
41
43
|
a {
|
|
42
44
|
all: unset;
|
|
43
45
|
transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;
|
|
46
|
+
cursor: pointer;
|
|
44
47
|
color: var(--mdc-theme-on-surface);
|
|
45
48
|
background-color: var(--shortcut-background-color, var(--lime-elevated-surface-background-color));
|
|
46
49
|
box-shadow: var(--button-shadow-normal);
|
|
47
|
-
cursor: pointer;
|
|
48
50
|
text-align: center;
|
|
49
51
|
height: calc(100% - 1rem);
|
|
50
52
|
width: calc(100% - 1rem);
|
|
@@ -89,6 +91,6 @@ span {
|
|
|
89
91
|
|
|
90
92
|
limel-badge {
|
|
91
93
|
position: absolute;
|
|
92
|
-
top: -0.
|
|
93
|
-
right: 0;
|
|
94
|
+
top: -0.25rem;
|
|
95
|
+
right: 0.125rem;
|
|
94
96
|
}
|
|
@@ -124,16 +124,14 @@
|
|
|
124
124
|
}
|
|
125
125
|
.mdc-slider__thumb.mdc-ripple-upgraded::after {
|
|
126
126
|
top: 0;
|
|
127
|
-
/* @noflip */
|
|
128
|
-
/*rtl:ignore*/
|
|
127
|
+
/* @noflip */ /*rtl:ignore*/
|
|
129
128
|
left: 0;
|
|
130
129
|
transform: scale(0);
|
|
131
130
|
transform-origin: center center;
|
|
132
131
|
}
|
|
133
132
|
.mdc-slider__thumb.mdc-ripple-upgraded--unbounded::after {
|
|
134
133
|
top: var(--mdc-ripple-top, 0);
|
|
135
|
-
/* @noflip */
|
|
136
|
-
/*rtl:ignore*/
|
|
134
|
+
/* @noflip */ /*rtl:ignore*/
|
|
137
135
|
left: var(--mdc-ripple-left, 0);
|
|
138
136
|
}
|
|
139
137
|
.mdc-slider__thumb.mdc-ripple-upgraded--foreground-activation::after {
|
|
@@ -145,16 +143,14 @@
|
|
|
145
143
|
}
|
|
146
144
|
.mdc-slider__thumb::before, .mdc-slider__thumb::after {
|
|
147
145
|
top: calc(50% - 50%);
|
|
148
|
-
/* @noflip */
|
|
149
|
-
/*rtl:ignore*/
|
|
146
|
+
/* @noflip */ /*rtl:ignore*/
|
|
150
147
|
left: calc(50% - 50%);
|
|
151
148
|
width: 100%;
|
|
152
149
|
height: 100%;
|
|
153
150
|
}
|
|
154
151
|
.mdc-slider__thumb.mdc-ripple-upgraded::before, .mdc-slider__thumb.mdc-ripple-upgraded::after {
|
|
155
152
|
top: var(--mdc-ripple-top, calc(50% - 50%));
|
|
156
|
-
/* @noflip */
|
|
157
|
-
/*rtl:ignore*/
|
|
153
|
+
/* @noflip */ /*rtl:ignore*/
|
|
158
154
|
left: var(--mdc-ripple-left, calc(50% - 50%));
|
|
159
155
|
width: var(--mdc-ripple-fg-size, 100%);
|
|
160
156
|
height: var(--mdc-ripple-fg-size, 100%);
|
|
@@ -225,20 +221,16 @@
|
|
|
225
221
|
height: 100%;
|
|
226
222
|
width: 100%;
|
|
227
223
|
position: relative;
|
|
228
|
-
/* @noflip */
|
|
229
|
-
/*rtl:ignore*/
|
|
224
|
+
/* @noflip */ /*rtl:ignore*/
|
|
230
225
|
-webkit-transform-origin: left;
|
|
231
|
-
/* @noflip */
|
|
232
|
-
/*rtl:ignore*/
|
|
226
|
+
/* @noflip */ /*rtl:ignore*/
|
|
233
227
|
transform-origin: left;
|
|
234
228
|
}
|
|
235
229
|
[dir=rtl] .mdc-slider .mdc-slider__track--active_fill, .mdc-slider .mdc-slider__track--active_fill[dir=rtl] {
|
|
236
230
|
/*rtl:begin:ignore*/
|
|
237
|
-
/* @noflip */
|
|
238
|
-
/*rtl:ignore*/
|
|
231
|
+
/* @noflip */ /*rtl:ignore*/
|
|
239
232
|
-webkit-transform-origin: right;
|
|
240
|
-
/* @noflip */
|
|
241
|
-
/*rtl:ignore*/
|
|
233
|
+
/* @noflip */ /*rtl:ignore*/
|
|
242
234
|
transform-origin: right;
|
|
243
235
|
/*rtl:end:ignore*/
|
|
244
236
|
}
|
|
@@ -285,8 +277,7 @@
|
|
|
285
277
|
}
|
|
286
278
|
.mdc-slider .mdc-slider__value-indicator-container {
|
|
287
279
|
bottom: 44px;
|
|
288
|
-
/* @noflip */
|
|
289
|
-
/*rtl:ignore*/
|
|
280
|
+
/* @noflip */ /*rtl:ignore*/
|
|
290
281
|
left: 50%;
|
|
291
282
|
pointer-events: none;
|
|
292
283
|
position: absolute;
|
|
@@ -309,8 +300,7 @@
|
|
|
309
300
|
bottom: -5px;
|
|
310
301
|
content: "";
|
|
311
302
|
height: 0;
|
|
312
|
-
/* @noflip */
|
|
313
|
-
/*rtl:ignore*/
|
|
303
|
+
/* @noflip */ /*rtl:ignore*/
|
|
314
304
|
left: 50%;
|
|
315
305
|
position: absolute;
|
|
316
306
|
transform: translateX(-50%);
|
|
@@ -337,7 +327,7 @@
|
|
|
337
327
|
}
|
|
338
328
|
@media (prefers-reduced-motion) {
|
|
339
329
|
.mdc-slider .mdc-slider__value-indicator,
|
|
340
|
-
.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator {
|
|
330
|
+
.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator {
|
|
341
331
|
transition: none;
|
|
342
332
|
}
|
|
343
333
|
}
|
|
@@ -381,8 +371,7 @@
|
|
|
381
371
|
.mdc-slider .mdc-slider__thumb {
|
|
382
372
|
display: flex;
|
|
383
373
|
height: 48px;
|
|
384
|
-
/* @noflip */
|
|
385
|
-
/*rtl:ignore*/
|
|
374
|
+
/* @noflip */ /*rtl:ignore*/
|
|
386
375
|
left: -24px;
|
|
387
376
|
outline: none;
|
|
388
377
|
position: absolute;
|
|
@@ -404,8 +393,7 @@
|
|
|
404
393
|
border-radius: 50%;
|
|
405
394
|
box-sizing: border-box;
|
|
406
395
|
height: 20px;
|
|
407
|
-
/* @noflip */
|
|
408
|
-
/*rtl:ignore*/
|
|
396
|
+
/* @noflip */ /*rtl:ignore*/
|
|
409
397
|
left: 50%;
|
|
410
398
|
position: absolute;
|
|
411
399
|
top: 50%;
|
|
@@ -515,7 +503,7 @@
|
|
|
515
503
|
}
|
|
516
504
|
@media (prefers-reduced-motion) {
|
|
517
505
|
.mdc-slider--discrete .mdc-slider__thumb,
|
|
518
|
-
.mdc-slider--discrete .mdc-slider__track--active_fill {
|
|
506
|
+
.mdc-slider--discrete .mdc-slider__track--active_fill {
|
|
519
507
|
transition: none;
|
|
520
508
|
}
|
|
521
509
|
}
|
|
@@ -554,14 +542,11 @@
|
|
|
554
542
|
/* @alternate */
|
|
555
543
|
text-transform: var(--mdc-typography-subtitle1-text-transform, inherit);
|
|
556
544
|
position: absolute;
|
|
557
|
-
/* @noflip */
|
|
558
|
-
/*rtl:ignore*/
|
|
545
|
+
/* @noflip */ /*rtl:ignore*/
|
|
559
546
|
left: 0;
|
|
560
|
-
/* @noflip */
|
|
561
|
-
/*rtl:ignore*/
|
|
547
|
+
/* @noflip */ /*rtl:ignore*/
|
|
562
548
|
-webkit-transform-origin: left top;
|
|
563
|
-
/* @noflip */
|
|
564
|
-
/*rtl:ignore*/
|
|
549
|
+
/* @noflip */ /*rtl:ignore*/
|
|
565
550
|
transform-origin: left top;
|
|
566
551
|
line-height: 1.15rem;
|
|
567
552
|
text-align: left;
|
|
@@ -575,20 +560,15 @@
|
|
|
575
560
|
}
|
|
576
561
|
[dir=rtl] .mdc-floating-label, .mdc-floating-label[dir=rtl] {
|
|
577
562
|
/*rtl:begin:ignore*/
|
|
578
|
-
/* @noflip */
|
|
579
|
-
/*rtl:ignore*/
|
|
563
|
+
/* @noflip */ /*rtl:ignore*/
|
|
580
564
|
right: 0;
|
|
581
|
-
/* @noflip */
|
|
582
|
-
/*rtl:ignore*/
|
|
565
|
+
/* @noflip */ /*rtl:ignore*/
|
|
583
566
|
left: auto;
|
|
584
|
-
/* @noflip */
|
|
585
|
-
/*rtl:ignore*/
|
|
567
|
+
/* @noflip */ /*rtl:ignore*/
|
|
586
568
|
-webkit-transform-origin: right top;
|
|
587
|
-
/* @noflip */
|
|
588
|
-
/*rtl:ignore*/
|
|
569
|
+
/* @noflip */ /*rtl:ignore*/
|
|
589
570
|
transform-origin: right top;
|
|
590
|
-
/* @noflip */
|
|
591
|
-
/*rtl:ignore*/
|
|
571
|
+
/* @noflip */ /*rtl:ignore*/
|
|
592
572
|
text-align: right;
|
|
593
573
|
/*rtl:end:ignore*/
|
|
594
574
|
}
|
|
@@ -598,11 +578,9 @@
|
|
|
598
578
|
}
|
|
599
579
|
|
|
600
580
|
.mdc-floating-label--required::after {
|
|
601
|
-
/* @noflip */
|
|
602
|
-
/*rtl:ignore*/
|
|
581
|
+
/* @noflip */ /*rtl:ignore*/
|
|
603
582
|
margin-left: 1px;
|
|
604
|
-
/* @noflip */
|
|
605
|
-
/*rtl:ignore*/
|
|
583
|
+
/* @noflip */ /*rtl:ignore*/
|
|
606
584
|
margin-right: 0px;
|
|
607
585
|
content: "*";
|
|
608
586
|
}
|
|
@@ -611,11 +589,9 @@
|
|
|
611
589
|
/*rtl:end:ignore*/
|
|
612
590
|
}
|
|
613
591
|
[dir=rtl] .mdc-floating-label--required::after, .mdc-floating-label--required[dir=rtl]::after {
|
|
614
|
-
/* @noflip */
|
|
615
|
-
/*rtl:ignore*/
|
|
592
|
+
/* @noflip */ /*rtl:ignore*/
|
|
616
593
|
margin-left: 0;
|
|
617
|
-
/* @noflip */
|
|
618
|
-
/*rtl:ignore*/
|
|
594
|
+
/* @noflip */ /*rtl:ignore*/
|
|
619
595
|
margin-right: 1px;
|
|
620
596
|
}
|
|
621
597
|
|
|
@@ -629,46 +605,39 @@
|
|
|
629
605
|
|
|
630
606
|
@keyframes mdc-floating-label-shake-float-above-standard {
|
|
631
607
|
0% {
|
|
632
|
-
/* @noflip */
|
|
633
|
-
/*rtl:ignore*/
|
|
608
|
+
/* @noflip */ /*rtl:ignore*/
|
|
634
609
|
transform: translateX(calc(0 - 0%)) translateY(-106%) scale(0.75);
|
|
635
610
|
}
|
|
636
611
|
33% {
|
|
637
612
|
animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);
|
|
638
|
-
/* @noflip */
|
|
639
|
-
/*rtl:ignore*/
|
|
613
|
+
/* @noflip */ /*rtl:ignore*/
|
|
640
614
|
transform: translateX(calc(4% - 0%)) translateY(-106%) scale(0.75);
|
|
641
615
|
}
|
|
642
616
|
66% {
|
|
643
617
|
animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);
|
|
644
|
-
/* @noflip */
|
|
645
|
-
/*rtl:ignore*/
|
|
618
|
+
/* @noflip */ /*rtl:ignore*/
|
|
646
619
|
transform: translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75);
|
|
647
620
|
}
|
|
648
621
|
100% {
|
|
649
|
-
/* @noflip */
|
|
650
|
-
/*rtl:ignore*/
|
|
622
|
+
/* @noflip */ /*rtl:ignore*/
|
|
651
623
|
transform: translateX(calc(0 - 0%)) translateY(-106%) scale(0.75);
|
|
652
624
|
}
|
|
653
625
|
}
|
|
654
|
-
:host(
|
|
655
|
-
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
.slider {
|
|
626
|
+
:host(limel-slider) {
|
|
627
|
+
isolation: isolate;
|
|
659
628
|
position: relative;
|
|
629
|
+
display: flex;
|
|
630
|
+
flex-direction: column;
|
|
631
|
+
margin-top: 0.25rem;
|
|
660
632
|
}
|
|
661
633
|
|
|
662
634
|
.slider__label {
|
|
663
|
-
color: rgba(var(--contrast-1200), 1);
|
|
664
635
|
padding-left: 1.25rem;
|
|
665
636
|
top: 0.5625rem;
|
|
637
|
+
color: rgba(var(--contrast-1200), 1);
|
|
666
638
|
}
|
|
667
|
-
|
|
668
|
-
.
|
|
669
|
-
display: flex;
|
|
670
|
-
flex-direction: column;
|
|
671
|
-
margin-top: 0.25rem;
|
|
639
|
+
:host(limel-slider.disabled:not(.readonly)) .slider__label {
|
|
640
|
+
color: rgba(var(--contrast-1200), 0.5);
|
|
672
641
|
}
|
|
673
642
|
|
|
674
643
|
.slider__content-range-container {
|
|
@@ -686,6 +655,7 @@
|
|
|
686
655
|
opacity: 0.7;
|
|
687
656
|
font-size: 0.75rem;
|
|
688
657
|
top: 1.25rem;
|
|
658
|
+
color: rgba(var(--contrast-1200), 1);
|
|
689
659
|
}
|
|
690
660
|
.slider:hover .slider__content-min-label,
|
|
691
661
|
.slider:hover .slider__content-max-label {
|
|
@@ -717,52 +687,71 @@
|
|
|
717
687
|
transition: background-color 0.5s ease;
|
|
718
688
|
}
|
|
719
689
|
|
|
720
|
-
:host(.displays-percentage-colors)
|
|
690
|
+
:host(.displays-percentage-colors[readonly]) {
|
|
721
691
|
--mdc-theme-on-surface: var(--mdc-theme-primary);
|
|
722
692
|
}
|
|
723
|
-
|
|
693
|
+
|
|
694
|
+
:host(.displays-percentage-colors.percent-0) {
|
|
724
695
|
--mdc-theme-primary: var(--color-percent--0);
|
|
725
696
|
}
|
|
726
|
-
|
|
697
|
+
|
|
698
|
+
:host(.displays-percentage-colors.percent-0-10) {
|
|
727
699
|
--mdc-theme-primary: var(--color-percent--0to10);
|
|
728
700
|
}
|
|
729
|
-
|
|
701
|
+
|
|
702
|
+
:host(.displays-percentage-colors.percent-10-20) {
|
|
730
703
|
--mdc-theme-primary: var(--color-percent--10to20);
|
|
731
704
|
}
|
|
732
|
-
|
|
705
|
+
|
|
706
|
+
:host(.displays-percentage-colors.percent-20-30) {
|
|
733
707
|
--mdc-theme-primary: var(--color-percent--20to30);
|
|
734
708
|
}
|
|
735
|
-
|
|
709
|
+
|
|
710
|
+
:host(.displays-percentage-colors.percent-30-40) {
|
|
736
711
|
--mdc-theme-primary: var(--color-percent--30to40);
|
|
737
712
|
}
|
|
738
|
-
|
|
713
|
+
|
|
714
|
+
:host(.displays-percentage-colors.percent-40-50) {
|
|
739
715
|
--mdc-theme-primary: var(--color-percent--40to50);
|
|
740
716
|
}
|
|
741
|
-
|
|
717
|
+
|
|
718
|
+
:host(.displays-percentage-colors.percent-50-60) {
|
|
742
719
|
--mdc-theme-primary: var(--color-percent--50to60);
|
|
743
720
|
}
|
|
744
|
-
|
|
721
|
+
|
|
722
|
+
:host(.displays-percentage-colors.percent-60-70) {
|
|
745
723
|
--mdc-theme-primary: var(--color-percent--60to70);
|
|
746
724
|
}
|
|
747
|
-
|
|
725
|
+
|
|
726
|
+
:host(.displays-percentage-colors.percent-70-80) {
|
|
748
727
|
--mdc-theme-primary: var(--color-percent--70to80);
|
|
749
728
|
}
|
|
750
|
-
|
|
729
|
+
|
|
730
|
+
:host(.displays-percentage-colors.percent-80-90) {
|
|
751
731
|
--mdc-theme-primary: var(--color-percent--80to90);
|
|
752
732
|
}
|
|
753
|
-
|
|
733
|
+
|
|
734
|
+
:host(.displays-percentage-colors.percent-90-100) {
|
|
754
735
|
--mdc-theme-primary: var(--color-percent--90to100);
|
|
755
736
|
}
|
|
756
|
-
|
|
737
|
+
|
|
738
|
+
:host(.displays-percentage-colors.percent-30-40) .mdc-slider__value-indicator-text,
|
|
739
|
+
:host(.displays-percentage-colors.percent-40-50) .mdc-slider__value-indicator-text,
|
|
740
|
+
:host(.displays-percentage-colors.percent-70-80) .mdc-slider__value-indicator-text {
|
|
757
741
|
color: rgb(var(--color-gray-darker));
|
|
758
742
|
}
|
|
759
|
-
:host(.displays-percentage-colors
|
|
743
|
+
:host(.displays-percentage-colors.percent-30-40) .mdc-slider--disabled .mdc-slider__value-indicator-text,
|
|
744
|
+
:host(.displays-percentage-colors.percent-40-50) .mdc-slider--disabled .mdc-slider__value-indicator-text,
|
|
745
|
+
:host(.displays-percentage-colors.percent-70-80) .mdc-slider--disabled .mdc-slider__value-indicator-text {
|
|
760
746
|
color: rgb(var(--contrast-100));
|
|
761
747
|
}
|
|
762
|
-
|
|
748
|
+
|
|
749
|
+
:host(.displays-percentage-colors.percent-50-60) .mdc-slider__value-indicator-text,
|
|
750
|
+
:host(.displays-percentage-colors.percent-60-70) .mdc-slider__value-indicator-text {
|
|
763
751
|
color: rgb(var(--color-gray-dark));
|
|
764
752
|
}
|
|
765
|
-
:host(.displays-percentage-colors
|
|
753
|
+
:host(.displays-percentage-colors.percent-50-60) .mdc-slider--disabled .mdc-slider__value-indicator-text,
|
|
754
|
+
:host(.displays-percentage-colors.percent-60-70) .mdc-slider--disabled .mdc-slider__value-indicator-text {
|
|
766
755
|
color: rgb(var(--contrast-100));
|
|
767
756
|
}
|
|
768
757
|
|
|
@@ -832,31 +821,31 @@
|
|
|
832
821
|
);
|
|
833
822
|
}
|
|
834
823
|
|
|
835
|
-
|
|
824
|
+
:host(limel-slider.readonly) .mdc-slider.mdc-slider--disabled {
|
|
836
825
|
opacity: 1;
|
|
837
826
|
}
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
827
|
+
:host(limel-slider.readonly) .mdc-slider.mdc-slider--disabled .mdc-slider__track,
|
|
828
|
+
:host(limel-slider.readonly) .mdc-slider.mdc-slider--disabled .mdc-slider__track--active,
|
|
829
|
+
:host(limel-slider.readonly) .mdc-slider.mdc-slider--disabled .mdc-slider__track--inactive,
|
|
830
|
+
:host(limel-slider.readonly) .mdc-slider.mdc-slider--disabled .mdc-slider__value-indicator {
|
|
842
831
|
height: 1rem;
|
|
843
832
|
border-radius: 1rem;
|
|
844
833
|
}
|
|
845
|
-
|
|
834
|
+
:host(limel-slider.readonly) .mdc-slider.mdc-slider--disabled .mdc-slider__track--active {
|
|
846
835
|
top: 0;
|
|
847
836
|
}
|
|
848
|
-
|
|
837
|
+
:host(limel-slider.readonly) .mdc-slider.mdc-slider--disabled .mdc-slider__value-indicator {
|
|
849
838
|
transition: all 0s;
|
|
850
839
|
transform: translateY(1.75rem);
|
|
851
840
|
}
|
|
852
|
-
|
|
841
|
+
:host(limel-slider.readonly) .mdc-slider.mdc-slider--disabled .mdc-slider__thumb-knob {
|
|
853
842
|
opacity: 0;
|
|
854
843
|
}
|
|
855
|
-
|
|
856
|
-
|
|
844
|
+
:host(limel-slider.readonly) .mdc-slider.mdc-slider--disabled .mdc-slider__track--active_fill,
|
|
845
|
+
:host(limel-slider.readonly) .mdc-slider.mdc-slider--disabled .mdc-slider__thumb-knob {
|
|
857
846
|
background-color: var(--mdc-theme-primary);
|
|
858
847
|
}
|
|
859
|
-
|
|
848
|
+
:host(limel-slider.readonly) .mdc-slider.mdc-slider--disabled .mdc-slider__track--active_fill {
|
|
860
849
|
border-color: var(--mdc-theme-primary);
|
|
861
850
|
}
|
|
862
851
|
|
|
@@ -920,8 +909,7 @@
|
|
|
920
909
|
box-shadow: var(--button-shadow-normal);
|
|
921
910
|
}
|
|
922
911
|
|
|
923
|
-
.mdc-slider:not(.mdc-slider--disabled) .mdc-slider__value-indicator,
|
|
924
|
-
.slider.lime-slider--readonly .mdc-slider__value-indicator {
|
|
912
|
+
.mdc-slider:not(.mdc-slider--disabled) .mdc-slider__value-indicator, :host(limel-slider[readonly]) .mdc-slider__value-indicator {
|
|
925
913
|
background-color: var(--mdc-theme-primary);
|
|
926
914
|
}
|
|
927
915
|
|
|
@@ -936,6 +924,7 @@
|
|
|
936
924
|
padding-left: 1rem;
|
|
937
925
|
flex-basis: 100%;
|
|
938
926
|
width: 100%;
|
|
927
|
+
order: 3;
|
|
939
928
|
}
|
|
940
929
|
|
|
941
930
|
.mdc-slider-helper-text {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MDCSlider } from '@material/slider';
|
|
2
|
-
import { h, } from '@stencil/core';
|
|
2
|
+
import { h, Host, } from '@stencil/core';
|
|
3
3
|
import { getPercentageClass } from './getPercentageClass';
|
|
4
4
|
/**
|
|
5
5
|
* @exampleComponent limel-example-slider
|
|
@@ -87,9 +87,9 @@ export class Slider {
|
|
|
87
87
|
}
|
|
88
88
|
getContainerClassList() {
|
|
89
89
|
return {
|
|
90
|
-
slider: true,
|
|
91
|
-
'lime-slider--readonly': this.readonly,
|
|
92
90
|
[this.percentageClass]: true,
|
|
91
|
+
disabled: this.disabled || this.readonly,
|
|
92
|
+
readonly: this.readonly,
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
95
|
render() {
|
|
@@ -100,11 +100,11 @@ export class Slider {
|
|
|
100
100
|
if (this.disabled || this.readonly) {
|
|
101
101
|
inputProps.disabled = true;
|
|
102
102
|
}
|
|
103
|
-
return (h(
|
|
103
|
+
return (h(Host, { class: this.getContainerClassList() }, h("label", { class: "slider__label mdc-floating-label mdc-floating-label--float-above" }, this.label), h("div", { class: "slider__content-range-container" }, h("span", { class: "slider__content-min-label" }, this.multiplyByFactor(this.valuemin), this.unit), h("span", { class: "slider__content-max-label" }, this.multiplyByFactor(this.valuemax), this.unit)), h("div", { class: {
|
|
104
104
|
'mdc-slider': true,
|
|
105
105
|
'mdc-slider--discrete': true,
|
|
106
106
|
'mdc-slider--disabled': this.disabled || this.readonly,
|
|
107
|
-
} }, h("input", Object.assign({ class: "mdc-slider__input", type: "range", min: this.multiplyByFactor(this.valuemin), max: this.multiplyByFactor(this.valuemax), value: this.multiplyByFactor(this.value), name: "volume", "aria-label": "Discrete slider demo" }, inputProps)), h("div", { class: "mdc-slider__track" }, h("div", { class: "mdc-slider__track--inactive" }), h("div", { class: "mdc-slider__track--active" }, h("div", { class: "mdc-slider__track--active_fill" }))), h("div", { class: "mdc-slider__thumb" }, h("div", { class: "mdc-slider__value-indicator-container", "aria-hidden": "true" }, h("div", { class: "mdc-slider__value-indicator" }, h("span", { class: "mdc-slider__value-indicator-text" }, this.multiplyByFactor(this.value)))), h("div", { class: "mdc-slider__thumb-knob" })))
|
|
107
|
+
} }, h("input", Object.assign({ class: "mdc-slider__input", type: "range", min: this.multiplyByFactor(this.valuemin), max: this.multiplyByFactor(this.valuemax), value: this.multiplyByFactor(this.value), name: "volume", "aria-label": "Discrete slider demo" }, inputProps)), h("div", { class: "mdc-slider__track" }, h("div", { class: "mdc-slider__track--inactive" }), h("div", { class: "mdc-slider__track--active" }, h("div", { class: "mdc-slider__track--active_fill" }))), h("div", { class: "mdc-slider__thumb" }, h("div", { class: "mdc-slider__value-indicator-container", "aria-hidden": "true" }, h("div", { class: "mdc-slider__value-indicator" }, h("span", { class: "mdc-slider__value-indicator-text" }, this.multiplyByFactor(this.value)))), h("div", { class: "mdc-slider__thumb-knob" }))), this.renderHelperLine()));
|
|
108
108
|
}
|
|
109
109
|
renderHelperLine() {
|
|
110
110
|
if (!this.helperText) {
|
|
@@ -127,21 +127,17 @@
|
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
.mdc-snackbar--stacked .mdc-snackbar__label {
|
|
130
|
-
/* @noflip */
|
|
131
|
-
/*rtl:ignore*/
|
|
130
|
+
/* @noflip */ /*rtl:ignore*/
|
|
132
131
|
padding-left: 16px;
|
|
133
|
-
/* @noflip */
|
|
134
|
-
/*rtl:ignore*/
|
|
132
|
+
/* @noflip */ /*rtl:ignore*/
|
|
135
133
|
padding-right: 8px;
|
|
136
134
|
padding-bottom: 12px;
|
|
137
135
|
}
|
|
138
136
|
[dir=rtl] .mdc-snackbar--stacked .mdc-snackbar__label, .mdc-snackbar--stacked .mdc-snackbar__label[dir=rtl] {
|
|
139
137
|
/*rtl:begin:ignore*/
|
|
140
|
-
/* @noflip */
|
|
141
|
-
/*rtl:ignore*/
|
|
138
|
+
/* @noflip */ /*rtl:ignore*/
|
|
142
139
|
padding-left: 8px;
|
|
143
|
-
/* @noflip */
|
|
144
|
-
/*rtl:ignore*/
|
|
140
|
+
/* @noflip */ /*rtl:ignore*/
|
|
145
141
|
padding-right: 16px;
|
|
146
142
|
/*rtl:end:ignore*/
|
|
147
143
|
}
|
|
@@ -156,11 +152,9 @@
|
|
|
156
152
|
}
|
|
157
153
|
|
|
158
154
|
.mdc-snackbar__surface {
|
|
159
|
-
/* @noflip */
|
|
160
|
-
/*rtl:ignore*/
|
|
155
|
+
/* @noflip */ /*rtl:ignore*/
|
|
161
156
|
padding-left: 0;
|
|
162
|
-
/* @noflip */
|
|
163
|
-
/*rtl:ignore*/
|
|
157
|
+
/* @noflip */ /*rtl:ignore*/
|
|
164
158
|
padding-right: 8px;
|
|
165
159
|
display: flex;
|
|
166
160
|
align-items: center;
|
|
@@ -183,11 +177,9 @@
|
|
|
183
177
|
}
|
|
184
178
|
[dir=rtl] .mdc-snackbar__surface, .mdc-snackbar__surface[dir=rtl] {
|
|
185
179
|
/*rtl:begin:ignore*/
|
|
186
|
-
/* @noflip */
|
|
187
|
-
/*rtl:ignore*/
|
|
180
|
+
/* @noflip */ /*rtl:ignore*/
|
|
188
181
|
padding-left: 8px;
|
|
189
|
-
/* @noflip */
|
|
190
|
-
/*rtl:ignore*/
|
|
182
|
+
/* @noflip */ /*rtl:ignore*/
|
|
191
183
|
padding-right: 0;
|
|
192
184
|
/*rtl:end:ignore*/
|
|
193
185
|
}
|
|
@@ -227,11 +219,9 @@
|
|
|
227
219
|
text-transform: inherit;
|
|
228
220
|
/* @alternate */
|
|
229
221
|
text-transform: var(--mdc-typography-body2-text-transform, inherit);
|
|
230
|
-
/* @noflip */
|
|
231
|
-
/*rtl:ignore*/
|
|
222
|
+
/* @noflip */ /*rtl:ignore*/
|
|
232
223
|
padding-left: 16px;
|
|
233
|
-
/* @noflip */
|
|
234
|
-
/*rtl:ignore*/
|
|
224
|
+
/* @noflip */ /*rtl:ignore*/
|
|
235
225
|
padding-right: 8px;
|
|
236
226
|
width: 100%;
|
|
237
227
|
flex-grow: 1;
|
|
@@ -243,11 +233,9 @@
|
|
|
243
233
|
}
|
|
244
234
|
[dir=rtl] .mdc-snackbar__label, .mdc-snackbar__label[dir=rtl] {
|
|
245
235
|
/*rtl:begin:ignore*/
|
|
246
|
-
/* @noflip */
|
|
247
|
-
/*rtl:ignore*/
|
|
236
|
+
/* @noflip */ /*rtl:ignore*/
|
|
248
237
|
padding-left: 8px;
|
|
249
|
-
/* @noflip */
|
|
250
|
-
/*rtl:ignore*/
|
|
238
|
+
/* @noflip */ /*rtl:ignore*/
|
|
251
239
|
padding-right: 16px;
|
|
252
240
|
/*rtl:end:ignore*/
|
|
253
241
|
}
|
|
@@ -350,28 +338,23 @@
|
|
|
350
338
|
position: absolute;
|
|
351
339
|
top: 50%;
|
|
352
340
|
height: 36px;
|
|
353
|
-
/* @noflip */
|
|
354
|
-
/*rtl:ignore*/
|
|
341
|
+
/* @noflip */ /*rtl:ignore*/
|
|
355
342
|
left: 50%;
|
|
356
343
|
width: 36px;
|
|
357
344
|
transform: translate(-50%, -50%);
|
|
358
345
|
}
|
|
359
346
|
|
|
360
347
|
.mdc-snackbar__action + .mdc-snackbar__dismiss {
|
|
361
|
-
/* @noflip */
|
|
362
|
-
/*rtl:ignore*/
|
|
348
|
+
/* @noflip */ /*rtl:ignore*/
|
|
363
349
|
margin-left: 8px;
|
|
364
|
-
/* @noflip */
|
|
365
|
-
/*rtl:ignore*/
|
|
350
|
+
/* @noflip */ /*rtl:ignore*/
|
|
366
351
|
margin-right: 0;
|
|
367
352
|
}
|
|
368
353
|
[dir=rtl] .mdc-snackbar__action + .mdc-snackbar__dismiss, .mdc-snackbar__action + .mdc-snackbar__dismiss[dir=rtl] {
|
|
369
354
|
/*rtl:begin:ignore*/
|
|
370
|
-
/* @noflip */
|
|
371
|
-
/*rtl:ignore*/
|
|
355
|
+
/* @noflip */ /*rtl:ignore*/
|
|
372
356
|
margin-left: 0;
|
|
373
|
-
/* @noflip */
|
|
374
|
-
/*rtl:ignore*/
|
|
357
|
+
/* @noflip */ /*rtl:ignore*/
|
|
375
358
|
margin-right: 8px;
|
|
376
359
|
/*rtl:end:ignore*/
|
|
377
360
|
}
|
|
@@ -383,6 +366,8 @@
|
|
|
383
366
|
|
|
384
367
|
.mdc-snackbar__label {
|
|
385
368
|
color: var(--mdc-theme-on-surface);
|
|
369
|
+
display: flex;
|
|
370
|
+
justify-content: center;
|
|
386
371
|
}
|
|
387
372
|
|
|
388
373
|
.mdc-snackbar__actions {
|
|
@@ -179,7 +179,7 @@ export class Snackbar {
|
|
|
179
179
|
"mutable": false,
|
|
180
180
|
"complexType": {
|
|
181
181
|
"original": "Languages",
|
|
182
|
-
"resolved": "\"da\" | \"en\" | \"fi\" | \"nb\" | \"nl\" | \"no\" | \"sv\"",
|
|
182
|
+
"resolved": "\"da\" | \"de\" | \"en\" | \"fi\" | \"fr\" | \"nb\" | \"nl\" | \"no\" | \"sv\"",
|
|
183
183
|
"references": {
|
|
184
184
|
"Languages": {
|
|
185
185
|
"location": "import",
|
|
@@ -76,6 +76,10 @@
|
|
|
76
76
|
* @prop --spinner-color-9: 9th animated stroke color, defaults to `--lime-brand-color-dark-blue`.
|
|
77
77
|
* @prop --spinner-color-10: 10th animated stroke color, defaults to `--lime-brand-color-light-grey`.
|
|
78
78
|
*/
|
|
79
|
+
:host(limel-spinner) {
|
|
80
|
+
display: block;
|
|
81
|
+
}
|
|
82
|
+
|
|
79
83
|
@keyframes spin {
|
|
80
84
|
50% {
|
|
81
85
|
transform: rotate(180deg);
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is
|
|
1
|
+
/**
|
|
2
|
+
* Note! This file is exported to `dist/scss/` in the published
|
|
3
|
+
* node module, for consumer projects to import.
|
|
4
|
+
* That means this file cannot import from any file that isn't
|
|
5
|
+
* also exported, keeping the same relative path.
|
|
3
6
|
*
|
|
4
|
-
*
|
|
5
|
-
* without being explicitly called by outside code.
|
|
7
|
+
* Or, just don't import anything, that works too.
|
|
6
8
|
*/
|
|
7
9
|
:host(limel-split-button.has-menu) {
|
|
8
10
|
--button-padding-right: 2rem;
|
|
@@ -16,6 +18,14 @@
|
|
|
16
18
|
box-sizing: border-box;
|
|
17
19
|
}
|
|
18
20
|
|
|
21
|
+
:host([disabled]) {
|
|
22
|
+
pointer-events: none;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
limel-button {
|
|
26
|
+
width: 100%;
|
|
27
|
+
}
|
|
28
|
+
|
|
19
29
|
limel-menu {
|
|
20
30
|
display: flex;
|
|
21
31
|
justify-content: flex-end;
|
|
@@ -57,6 +67,7 @@ limel-menu:hover:before, limel-menu:focus-within:before {
|
|
|
57
67
|
}
|
|
58
68
|
.menu-trigger:not(:disabled) {
|
|
59
69
|
transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;
|
|
70
|
+
cursor: pointer;
|
|
60
71
|
color: var(--mdc-theme-on-surface);
|
|
61
72
|
background-color: transparent;
|
|
62
73
|
cursor: pointer;
|