@limetech/lime-elements 39.0.0 → 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.
- package/CHANGELOG.md +15 -0
- package/dist/cjs/{checkbox.template-Bu9mvjbY.js → checkbox.template-VElWkDR9.js} +1 -1
- package/dist/cjs/{index-DYJkh2ZK.js → index-Ddjrlc-6.js} +1 -1
- package/dist/cjs/lime-elements.cjs.js +1 -1
- package/dist/cjs/limel-3d-hover-effect-glow.cjs.entry.js +1 -1
- package/dist/cjs/limel-action-bar-item_2.cjs.entry.js +1 -1
- package/dist/cjs/limel-action-bar_2.cjs.entry.js +1 -1
- package/dist/cjs/limel-ai-avatar.cjs.entry.js +1 -1
- package/dist/cjs/limel-badge.cjs.entry.js +1 -1
- package/dist/cjs/limel-banner.cjs.entry.js +1 -1
- package/dist/cjs/limel-breadcrumbs_7.cjs.entry.js +4 -4
- package/dist/cjs/limel-button-group.cjs.entry.js +1 -1
- package/dist/cjs/limel-button.cjs.entry.js +2 -2
- package/dist/cjs/limel-callout.cjs.entry.js +1 -1
- package/dist/cjs/limel-card.cjs.entry.js +1 -1
- package/dist/cjs/limel-chart.cjs.entry.js +2 -2
- package/dist/cjs/limel-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/limel-chip_2.cjs.entry.js +3 -3
- package/dist/cjs/limel-circular-progress.cjs.entry.js +2 -2
- package/dist/cjs/limel-code-editor.cjs.entry.js +2 -2
- package/dist/cjs/limel-collapsible-section.cjs.entry.js +2 -2
- 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-config.cjs.entry.js +1 -1
- package/dist/cjs/limel-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/limel-dialog.cjs.entry.js +1 -1
- package/dist/cjs/limel-dock-button.cjs.entry.js +1 -1
- package/dist/cjs/limel-dock.cjs.entry.js +2 -2
- package/dist/cjs/limel-drag-handle.cjs.entry.js +1 -1
- package/dist/cjs/limel-dynamic-label.cjs.entry.js +1 -1
- package/dist/cjs/limel-file-dropzone_2.cjs.entry.js +1 -1
- package/dist/cjs/limel-file-viewer.cjs.entry.js +2 -2
- package/dist/cjs/limel-file.cjs.entry.js +1 -1
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +1 -1
- package/dist/cjs/limel-flex-container.cjs.entry.js +1 -1
- package/dist/cjs/limel-form.cjs.entry.js +2 -2
- package/dist/cjs/limel-grid.cjs.entry.js +1 -1
- package/dist/cjs/limel-header.cjs.entry.js +1 -1
- package/dist/cjs/limel-help-content.cjs.entry.js +1 -1
- package/dist/cjs/limel-help.cjs.entry.js +1 -1
- package/dist/cjs/limel-helper-line_2.cjs.entry.js +1 -1
- package/dist/cjs/limel-icon-button.cjs.entry.js +1 -1
- package/dist/cjs/limel-icon.cjs.entry.js +1 -1
- package/dist/cjs/limel-info-tile.cjs.entry.js +1 -1
- package/dist/cjs/limel-linear-progress.cjs.entry.js +1 -1
- package/dist/cjs/limel-list-item.cjs.entry.js +2 -2
- package/dist/cjs/limel-markdown.cjs.entry.js +1 -1
- package/dist/cjs/limel-menu-item-meta.cjs.entry.js +1 -1
- package/dist/cjs/limel-picker.cjs.entry.js +1 -1
- package/dist/cjs/limel-popover_2.cjs.entry.js +1 -1
- package/dist/cjs/limel-portal_3.cjs.entry.js +1 -1
- package/dist/cjs/limel-profile-picture.cjs.entry.js +1 -1
- package/dist/cjs/limel-progress-flow-item.cjs.entry.js +2 -2
- package/dist/cjs/limel-progress-flow.cjs.entry.js +2 -2
- package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +1 -1
- package/dist/cjs/limel-radio-button-group.cjs.entry.js +1 -1
- package/dist/cjs/limel-radio-button.cjs.entry.js +2 -2
- package/dist/cjs/limel-select.cjs.entry.js +2 -2
- package/dist/cjs/limel-shortcut.cjs.entry.js +1 -1
- package/dist/cjs/limel-slider.cjs.entry.js +2 -2
- package/dist/cjs/limel-snackbar.cjs.entry.js +2 -2
- package/dist/cjs/limel-split-button.cjs.entry.js +1 -1
- package/dist/cjs/limel-switch.cjs.entry.js +2 -2
- package/dist/cjs/limel-tab-bar.cjs.entry.js +2 -2
- package/dist/cjs/limel-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/limel-table.cjs.entry.js +2 -2
- package/dist/cjs/limel-text-editor.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/button/button.css +34 -33
- package/dist/collection/components/chart/chart.css +120 -376
- package/dist/collection/components/chip/chip.css +70 -70
- package/dist/collection/components/chip-set/chip-set.css +32 -116
- package/dist/collection/components/circular-progress/circular-progress.css +193 -193
- package/dist/collection/components/code-editor/code-editor.css +350 -189
- package/dist/collection/components/collapsible-section/collapsible-section.css +125 -125
- package/dist/collection/components/dock/dock.css +60 -153
- package/dist/collection/components/file-viewer/file-viewer.css +80 -172
- package/dist/collection/components/form/form.css +77 -164
- package/dist/collection/components/input-field/input-field.css +75 -168
- package/dist/collection/components/list/list.css +59 -151
- package/dist/collection/components/menu-list/menu-list.css +59 -151
- package/dist/collection/components/progress-flow/progress-flow-item/progress-flow-item.css +74 -80
- package/dist/collection/components/progress-flow/progress-flow.css +2 -0
- package/dist/collection/components/radio-button-group/radio-button.css +2 -2
- package/dist/collection/components/select/select.css +39 -132
- package/dist/collection/components/slider/slider.css +391 -403
- package/dist/collection/components/snackbar/snackbar.css +76 -75
- package/dist/collection/components/switch/switch.css +106 -106
- package/dist/collection/components/tab-bar/tab-bar.css +208 -203
- package/dist/collection/components/table/table.css +170 -462
- package/dist/collection/style/color-palette-primary.scss.bak +1 -1
- package/dist/collection/style/color-palette-ui.scss.bak +1 -1
- package/dist/collection/style/internal/fieldset.scss +2 -2
- package/dist/esm/{checkbox.template-CVMlWdZR.js → checkbox.template-BB2t2jwT.js} +1 -1
- package/dist/esm/{index-BudcI_o9.js → index-xvTBZcD2.js} +1 -1
- package/dist/esm/lime-elements.js +2 -2
- package/dist/esm/limel-3d-hover-effect-glow.entry.js +1 -1
- package/dist/esm/limel-action-bar-item_2.entry.js +1 -1
- package/dist/esm/limel-action-bar_2.entry.js +1 -1
- package/dist/esm/limel-ai-avatar.entry.js +1 -1
- package/dist/esm/limel-badge.entry.js +1 -1
- package/dist/esm/limel-banner.entry.js +1 -1
- package/dist/esm/limel-breadcrumbs_7.entry.js +4 -4
- package/dist/esm/limel-button-group.entry.js +1 -1
- package/dist/esm/limel-button.entry.js +2 -2
- package/dist/esm/limel-callout.entry.js +1 -1
- package/dist/esm/limel-card.entry.js +1 -1
- package/dist/esm/limel-chart.entry.js +2 -2
- package/dist/esm/limel-checkbox.entry.js +2 -2
- package/dist/esm/limel-chip_2.entry.js +3 -3
- package/dist/esm/limel-circular-progress.entry.js +2 -2
- package/dist/esm/limel-code-editor.entry.js +2 -2
- package/dist/esm/limel-collapsible-section.entry.js +2 -2
- 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-config.entry.js +1 -1
- package/dist/esm/limel-date-picker.entry.js +1 -1
- package/dist/esm/limel-dialog.entry.js +1 -1
- package/dist/esm/limel-dock-button.entry.js +1 -1
- package/dist/esm/limel-dock.entry.js +2 -2
- package/dist/esm/limel-drag-handle.entry.js +1 -1
- package/dist/esm/limel-dynamic-label.entry.js +1 -1
- package/dist/esm/limel-file-dropzone_2.entry.js +1 -1
- package/dist/esm/limel-file-viewer.entry.js +2 -2
- package/dist/esm/limel-file.entry.js +1 -1
- package/dist/esm/limel-flatpickr-adapter.entry.js +1 -1
- package/dist/esm/limel-flex-container.entry.js +1 -1
- package/dist/esm/limel-form.entry.js +2 -2
- package/dist/esm/limel-grid.entry.js +1 -1
- package/dist/esm/limel-header.entry.js +1 -1
- package/dist/esm/limel-help-content.entry.js +1 -1
- package/dist/esm/limel-help.entry.js +1 -1
- package/dist/esm/limel-helper-line_2.entry.js +1 -1
- package/dist/esm/limel-icon-button.entry.js +1 -1
- package/dist/esm/limel-icon.entry.js +1 -1
- package/dist/esm/limel-info-tile.entry.js +1 -1
- package/dist/esm/limel-linear-progress.entry.js +1 -1
- package/dist/esm/limel-list-item.entry.js +2 -2
- package/dist/esm/limel-markdown.entry.js +1 -1
- package/dist/esm/limel-menu-item-meta.entry.js +1 -1
- package/dist/esm/limel-picker.entry.js +1 -1
- package/dist/esm/limel-popover_2.entry.js +1 -1
- package/dist/esm/limel-portal_3.entry.js +1 -1
- package/dist/esm/limel-profile-picture.entry.js +1 -1
- package/dist/esm/limel-progress-flow-item.entry.js +2 -2
- package/dist/esm/limel-progress-flow.entry.js +2 -2
- package/dist/esm/limel-prosemirror-adapter.entry.js +1 -1
- package/dist/esm/limel-radio-button-group.entry.js +1 -1
- package/dist/esm/limel-radio-button.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/limel-snackbar.entry.js +2 -2
- package/dist/esm/limel-split-button.entry.js +1 -1
- package/dist/esm/limel-switch.entry.js +2 -2
- package/dist/esm/limel-tab-bar.entry.js +2 -2
- package/dist/esm/limel-tab-panel.entry.js +1 -1
- package/dist/esm/limel-table.entry.js +2 -2
- package/dist/esm/limel-text-editor.entry.js +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/lime-elements/lime-elements.css +2 -2
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-f80d0b8b.entry.js → p-00859fac.entry.js} +1 -1
- package/dist/lime-elements/{p-6c51b3bd.entry.js → p-017dd326.entry.js} +1 -1
- package/dist/lime-elements/{p-a91b36d3.entry.js → p-045c6027.entry.js} +1 -1
- package/dist/lime-elements/{p-a0b6339c.entry.js → p-083b24bb.entry.js} +1 -1
- package/dist/lime-elements/{p-0d1c887c.entry.js → p-11f716f5.entry.js} +1 -1
- package/dist/lime-elements/{p-72489a91.entry.js → p-1e5b18cc.entry.js} +1 -1
- package/dist/lime-elements/{p-ce8be001.entry.js → p-23f7956e.entry.js} +1 -1
- package/dist/lime-elements/{p-7a47ecdc.entry.js → p-264f791d.entry.js} +1 -1
- package/dist/lime-elements/{p-690b9cf4.entry.js → p-2a5b259e.entry.js} +1 -1
- package/dist/lime-elements/{p-b857f209.entry.js → p-2c1538f0.entry.js} +1 -1
- package/dist/lime-elements/{p-48eb1ff2.entry.js → p-303d01e5.entry.js} +1 -1
- package/dist/lime-elements/{p-8850374d.entry.js → p-34ef71f2.entry.js} +1 -1
- package/dist/lime-elements/{p-3aa32860.entry.js → p-38fb97fe.entry.js} +1 -1
- package/dist/lime-elements/{p-ed20f52d.entry.js → p-3c933811.entry.js} +1 -1
- package/dist/lime-elements/{p-6abc7ed8.entry.js → p-478d225c.entry.js} +1 -1
- package/dist/lime-elements/{p-93c9b561.entry.js → p-4be18a57.entry.js} +1 -1
- package/dist/lime-elements/{p-be4e99b4.entry.js → p-52bb74b9.entry.js} +1 -1
- package/dist/lime-elements/{p-70450a21.entry.js → p-52edfe86.entry.js} +1 -1
- package/dist/lime-elements/{p-846a1d26.entry.js → p-534fdf9b.entry.js} +1 -1
- package/dist/lime-elements/{p-94c76e12.entry.js → p-5536e886.entry.js} +1 -1
- package/dist/lime-elements/{p-69fec8b9.entry.js → p-5d5f0a73.entry.js} +1 -1
- package/dist/lime-elements/{p-8c631f1e.entry.js → p-5ddeb498.entry.js} +1 -1
- package/dist/lime-elements/{p-7f50dd29.entry.js → p-6275668f.entry.js} +1 -1
- package/dist/lime-elements/{p-c127acfd.entry.js → p-6896d5c8.entry.js} +1 -1
- package/dist/lime-elements/{p-903c0e45.entry.js → p-68f49d6f.entry.js} +1 -1
- package/dist/lime-elements/p-693cbb67.entry.js +1 -0
- package/dist/lime-elements/{p-ea6204d1.entry.js → p-6951136b.entry.js} +1 -1
- package/dist/lime-elements/{p-a0ddf68a.entry.js → p-6aebcf60.entry.js} +1 -1
- package/dist/lime-elements/{p-638642a0.entry.js → p-6e3666e5.entry.js} +1 -1
- package/dist/lime-elements/{p-1f78b29b.entry.js → p-7457bc07.entry.js} +1 -1
- package/dist/lime-elements/{p-88519938.entry.js → p-7464e43d.entry.js} +1 -1
- package/dist/lime-elements/p-74fbf987.entry.js +1 -0
- package/dist/lime-elements/{p-ce82000d.entry.js → p-752df4bf.entry.js} +1 -1
- package/dist/lime-elements/p-7c37a99e.entry.js +1 -0
- package/dist/lime-elements/{p-8ba65d1b.entry.js → p-7d5bd4a2.entry.js} +1 -1
- package/dist/lime-elements/{p-df0892cd.entry.js → p-80d35f8f.entry.js} +1 -1
- package/dist/lime-elements/p-880b9683.entry.js +23 -0
- package/dist/lime-elements/{p-e50a1d0b.entry.js → p-88f503eb.entry.js} +1 -1
- package/dist/lime-elements/{p-99a9abf7.entry.js → p-8a2b2fac.entry.js} +1 -1
- package/dist/lime-elements/{p-9c80e222.entry.js → p-8db6b7d9.entry.js} +2 -2
- package/dist/lime-elements/{p-5028a09d.entry.js → p-927622ec.entry.js} +1 -1
- package/dist/lime-elements/{p-5054a30b.entry.js → p-9a8d6440.entry.js} +1 -1
- package/dist/lime-elements/{p-90688692.entry.js → p-9ea564fe.entry.js} +2 -2
- package/dist/lime-elements/{p-d22e07f0.entry.js → p-9ed578ec.entry.js} +1 -1
- package/dist/lime-elements/{p-ngNtOjhe.js → p-BlsZTyGA.js} +1 -1
- package/dist/lime-elements/p-a6fae24d.entry.js +1 -0
- package/dist/lime-elements/{p-ddc25dd2.entry.js → p-abef62d7.entry.js} +1 -1
- package/dist/lime-elements/{p-e33c71b7.entry.js → p-aea52308.entry.js} +1 -1
- package/dist/lime-elements/{p-773a37c0.entry.js → p-bbaf35ce.entry.js} +1 -1
- package/dist/lime-elements/{p-e77059f2.entry.js → p-c118eac0.entry.js} +1 -1
- package/dist/lime-elements/{p-5cddb3df.entry.js → p-c9e934af.entry.js} +1 -1
- package/dist/lime-elements/{p-10900b3f.entry.js → p-cbb7d624.entry.js} +1 -1
- package/dist/lime-elements/p-d1fa6da3.entry.js +67 -0
- package/dist/lime-elements/{p-2b0cfd52.entry.js → p-d2123236.entry.js} +1 -1
- package/dist/lime-elements/p-d424688d.entry.js +1 -0
- package/dist/lime-elements/{p-1c97671b.entry.js → p-d6270e4a.entry.js} +1 -1
- package/dist/lime-elements/p-dd36d57b.entry.js +203 -0
- package/dist/lime-elements/p-e11c9b40.entry.js +1 -0
- package/dist/lime-elements/{p-23ef08cc.entry.js → p-e1656821.entry.js} +2 -2
- package/dist/lime-elements/p-e6d74062.entry.js +1 -0
- package/dist/lime-elements/{p-70ea6855.entry.js → p-ec42a4aa.entry.js} +1 -1
- package/dist/lime-elements/{p-2b1f729d.entry.js → p-f395fbe3.entry.js} +1 -1
- package/dist/lime-elements/{p-170fd367.entry.js → p-fc3209db.entry.js} +1 -1
- package/dist/lime-elements/p-feeae1e4.entry.js +1 -0
- package/dist/lime-elements/{p-BudcI_o9.js → p-xvTBZcD2.js} +1 -1
- package/dist/lime-elements/style/color-palette-primary.scss.bak +1 -1
- package/dist/lime-elements/style/color-palette-ui.scss.bak +1 -1
- package/dist/lime-elements/style/internal/fieldset.scss +2 -2
- package/package.json +1 -1
- package/dist/lime-elements/p-1db54640.entry.js +0 -1
- package/dist/lime-elements/p-45304b5c.entry.js +0 -23
- package/dist/lime-elements/p-4ab87bae.entry.js +0 -1
- package/dist/lime-elements/p-4e6bc463.entry.js +0 -1
- package/dist/lime-elements/p-7203e289.entry.js +0 -203
- package/dist/lime-elements/p-8408a45f.entry.js +0 -1
- package/dist/lime-elements/p-c18a8a9f.entry.js +0 -1
- package/dist/lime-elements/p-d73c300f.entry.js +0 -1
- package/dist/lime-elements/p-da63420d.entry.js +0 -67
- package/dist/lime-elements/p-de541d0f.entry.js +0 -1
- package/dist/lime-elements/p-e6e65d9d.entry.js +0 -1
|
@@ -1,148 +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 --icon-background-color: Color to use for icon background when `badgeIcons=true`.
|
|
91
|
-
* @prop --icon-color: Color to use for icon. Defaults to grey when `badgeIcons=false`. Defaults to white when `badgeIcons=true`.
|
|
92
|
-
* @prop --list-grid-max-width: Maximum width of a list that has `has-grid-layout` class. Defaults to `100%`.
|
|
93
|
-
* @prop --list-grid-item-max-width: Maximum width of items in a list that has `has-grid-layout` class. Defaults to `10rem`.
|
|
94
|
-
* @prop --list-grid-item-min-width: Minimum width of items in a list that has `has-grid-layout` class. Defaults to `7.5rem`.
|
|
95
|
-
* @prop --list-grid-gap: Distance between items in a list that has `has-grid-layout` class. Defaults to `0.75rem`.
|
|
96
|
-
* @prop --list-background-color-of-odd-interactive-items: Background color of odd list items, when `has-striped-rows` class is applied to the component. Defaults to `--contrast-200`.
|
|
97
|
-
* @prop --list-background-color-of-even-interactive-items: Background color of even list items, when `has-striped-rows` class is applied to the component. Defaults to `transparent`.
|
|
98
|
-
* @prop --list-margin: Space around the list. Defaults to `0.25rem`, which visualizes keyboard-focused items in a better way, as it adds some space for the outline effect;
|
|
99
|
-
*/
|
|
100
|
-
:host(limel-list) {
|
|
101
|
-
display: block;
|
|
102
|
-
isolation: isolate;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
:host([hidden]) {
|
|
106
|
-
display: none;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
ul {
|
|
110
|
-
--mdc-theme-text-icon-on-background: var(
|
|
111
|
-
--icon-color,
|
|
112
|
-
rgb(var(--contrast-900))
|
|
113
|
-
);
|
|
114
|
-
margin: var(--list-margin, 0.25rem);
|
|
115
|
-
border-radius: 0.5rem;
|
|
116
|
-
padding: 0;
|
|
117
|
-
list-style: none;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.mdc-deprecated-list-divider {
|
|
121
|
-
border-bottom-color: transparent;
|
|
122
|
-
display: flex;
|
|
123
|
-
align-items: center;
|
|
124
|
-
gap: 0.75rem;
|
|
125
|
-
height: auto;
|
|
126
|
-
padding: 0 0.5rem;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.limel-list-divider-line {
|
|
130
|
-
background-color: rgb(var(--contrast-400));
|
|
131
|
-
height: 0.125rem;
|
|
132
|
-
border-radius: 1rem;
|
|
133
|
-
min-width: 1rem;
|
|
134
|
-
flex-grow: 1;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.limel-list-divider-title {
|
|
138
|
-
all: unset;
|
|
139
|
-
overflow: hidden;
|
|
140
|
-
white-space: nowrap;
|
|
141
|
-
text-overflow: ellipsis;
|
|
142
|
-
color: rgb(var(--contrast-900));
|
|
143
|
-
font-size: var(--limel-theme-default-small-font-size);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
2
|
/**
|
|
147
3
|
* Note! This file is exported to `dist/scss/` in the published
|
|
148
4
|
* node module, for consumer projects to import.
|
|
@@ -293,18 +149,12 @@ ul {
|
|
|
293
149
|
max-width: var(--list-grid-max-width, 100%);
|
|
294
150
|
}
|
|
295
151
|
:host(.has-grid-layout) .mdc-deprecated-list limel-list-item {
|
|
296
|
-
border-radius:
|
|
152
|
+
border-radius: var(--limel-list-border-radius) !important;
|
|
297
153
|
}
|
|
298
154
|
:host(.has-grid-layout) .mdc-deprecated-list-divider {
|
|
299
155
|
grid-column: 1/-1;
|
|
300
156
|
}
|
|
301
157
|
|
|
302
|
-
/*
|
|
303
|
-
* This file is imported into every component!
|
|
304
|
-
*
|
|
305
|
-
* Nothing in this file may output any CSS
|
|
306
|
-
* without being explicitly called by outside code.
|
|
307
|
-
*/
|
|
308
158
|
:host(.static-actions-list) {
|
|
309
159
|
z-index: 1;
|
|
310
160
|
background-color: var(--limel-theme-surface-background-color);
|
|
@@ -335,6 +185,64 @@ ul {
|
|
|
335
185
|
padding-top: 0.25rem;
|
|
336
186
|
}
|
|
337
187
|
|
|
188
|
+
/**
|
|
189
|
+
* @prop --icon-background-color: Color to use for icon background when `badgeIcons=true`.
|
|
190
|
+
* @prop --icon-color: Color to use for icon. Defaults to grey when `badgeIcons=false`. Defaults to white when `badgeIcons=true`.
|
|
191
|
+
* @prop --list-grid-max-width: Maximum width of a list that has `has-grid-layout` class. Defaults to `100%`.
|
|
192
|
+
* @prop --list-grid-item-max-width: Maximum width of items in a list that has `has-grid-layout` class. Defaults to `10rem`.
|
|
193
|
+
* @prop --list-grid-item-min-width: Minimum width of items in a list that has `has-grid-layout` class. Defaults to `7.5rem`.
|
|
194
|
+
* @prop --list-grid-gap: Distance between items in a list that has `has-grid-layout` class. Defaults to `0.75rem`.
|
|
195
|
+
* @prop --list-background-color-of-odd-interactive-items: Background color of odd list items, when `has-striped-rows` class is applied to the component. Defaults to `--contrast-200`.
|
|
196
|
+
* @prop --list-background-color-of-even-interactive-items: Background color of even list items, when `has-striped-rows` class is applied to the component. Defaults to `transparent`.
|
|
197
|
+
* @prop --list-margin: Space around the list. Defaults to `0.25rem`, which visualizes keyboard-focused items in a better way, as it adds some space for the outline effect;
|
|
198
|
+
*/
|
|
199
|
+
:host(limel-list) {
|
|
200
|
+
--limel-list-border-radius: 0.5rem;
|
|
201
|
+
display: block;
|
|
202
|
+
isolation: isolate;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
:host([hidden]) {
|
|
206
|
+
display: none;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
ul {
|
|
210
|
+
--mdc-theme-text-icon-on-background: var(
|
|
211
|
+
--icon-color,
|
|
212
|
+
rgb(var(--contrast-900))
|
|
213
|
+
);
|
|
214
|
+
margin: var(--list-margin, 0.25rem);
|
|
215
|
+
border-radius: var(--limel-list-border-radius);
|
|
216
|
+
padding: 0;
|
|
217
|
+
list-style: none;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.mdc-deprecated-list-divider {
|
|
221
|
+
border-bottom-color: transparent;
|
|
222
|
+
display: flex;
|
|
223
|
+
align-items: center;
|
|
224
|
+
gap: 0.75rem;
|
|
225
|
+
height: auto;
|
|
226
|
+
padding: 0 0.5rem;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.limel-list-divider-line {
|
|
230
|
+
background-color: rgb(var(--contrast-400));
|
|
231
|
+
height: 0.125rem;
|
|
232
|
+
border-radius: 1rem;
|
|
233
|
+
min-width: 1rem;
|
|
234
|
+
flex-grow: 1;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.limel-list-divider-title {
|
|
238
|
+
all: unset;
|
|
239
|
+
overflow: hidden;
|
|
240
|
+
white-space: nowrap;
|
|
241
|
+
text-overflow: ellipsis;
|
|
242
|
+
color: rgb(var(--contrast-900));
|
|
243
|
+
font-size: var(--limel-theme-default-small-font-size);
|
|
244
|
+
}
|
|
245
|
+
|
|
338
246
|
:host(limel-menu-list) {
|
|
339
247
|
display: block;
|
|
340
248
|
--badge-background-color: var(
|
|
@@ -1,4 +1,75 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
|
+
/*
|
|
3
|
+
* This file is imported into every component!
|
|
4
|
+
*
|
|
5
|
+
* Nothing in this file may output any CSS
|
|
6
|
+
* without being explicitly called by outside code.
|
|
7
|
+
*/
|
|
8
|
+
.step:before,
|
|
9
|
+
.step .lock-icon {
|
|
10
|
+
pointer-events: none;
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
z-index: var(--limel-progress-flow-step-content);
|
|
13
|
+
}
|
|
14
|
+
.step::before {
|
|
15
|
+
position: absolute;
|
|
16
|
+
right: var(--selected-indicator-right);
|
|
17
|
+
border-radius: 50%;
|
|
18
|
+
}
|
|
19
|
+
.last .step:before,
|
|
20
|
+
.last .step .lock-icon {
|
|
21
|
+
right: 0.5rem;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.flow-item:not(.off-progress-item) .step.selected:before {
|
|
25
|
+
content: "";
|
|
26
|
+
width: 0.375rem;
|
|
27
|
+
height: 0.375rem;
|
|
28
|
+
background-color: rgb(var(--contrast-700));
|
|
29
|
+
opacity: 0.7;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.lock-icon {
|
|
33
|
+
margin-left: 0.25rem;
|
|
34
|
+
margin-right: -0.5rem;
|
|
35
|
+
width: 0.75rem;
|
|
36
|
+
color: currentColor;
|
|
37
|
+
scale: 0.8;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.step {
|
|
41
|
+
color: var(--step-text);
|
|
42
|
+
background-color: var(--step-background);
|
|
43
|
+
}
|
|
44
|
+
.step .icon {
|
|
45
|
+
color: var(--progress-flow-icon-color--inactive, var(--step-text));
|
|
46
|
+
}
|
|
47
|
+
.flow-item.selected .step {
|
|
48
|
+
color: var(--step-text--selected);
|
|
49
|
+
background-color: var(--step-background--selected);
|
|
50
|
+
}
|
|
51
|
+
.flow-item.selected .step .divider:after {
|
|
52
|
+
background-color: var(--step-background--selected);
|
|
53
|
+
}
|
|
54
|
+
.flow-item.selected .step .icon {
|
|
55
|
+
color: var(--step-text--selected);
|
|
56
|
+
}
|
|
57
|
+
.flow-item.passed .step {
|
|
58
|
+
color: var(--step-text--passed);
|
|
59
|
+
background-color: var(--step-background--passed);
|
|
60
|
+
}
|
|
61
|
+
.flow-item.passed .step .divider:after {
|
|
62
|
+
background-color: var(--step-background--passed);
|
|
63
|
+
}
|
|
64
|
+
.flow-item.passed .step .icon {
|
|
65
|
+
color: var(--step-text--passed);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.divider:after {
|
|
69
|
+
border-color: var(--step-divider-color);
|
|
70
|
+
background-color: var(--step-background);
|
|
71
|
+
}
|
|
72
|
+
|
|
2
73
|
/**
|
|
3
74
|
* Note! This file is exported to `dist/scss/` in the published
|
|
4
75
|
* node module, for consumer projects to import.
|
|
@@ -86,12 +157,6 @@
|
|
|
86
157
|
* Media query mixins for responsive design based on screen width.
|
|
87
158
|
* Note that these mixins do not detect the device type!
|
|
88
159
|
*/
|
|
89
|
-
/*
|
|
90
|
-
* This file is imported into every component!
|
|
91
|
-
*
|
|
92
|
-
* Nothing in this file may output any CSS
|
|
93
|
-
* without being explicitly called by outside code.
|
|
94
|
-
*/
|
|
95
160
|
.flow-item {
|
|
96
161
|
--step-background: var(
|
|
97
162
|
--progress-flow-step-background-color,
|
|
@@ -198,7 +263,7 @@
|
|
|
198
263
|
width: var(--step-height);
|
|
199
264
|
height: var(--step-height);
|
|
200
265
|
position: absolute;
|
|
201
|
-
z-index:
|
|
266
|
+
z-index: var(--limel-progress-flow-divider);
|
|
202
267
|
right: calc(var(--step-height) / 2 * -1);
|
|
203
268
|
overflow: hidden;
|
|
204
269
|
}
|
|
@@ -226,7 +291,7 @@
|
|
|
226
291
|
white-space: nowrap;
|
|
227
292
|
text-overflow: ellipsis;
|
|
228
293
|
max-width: var(--max-text-width);
|
|
229
|
-
z-index:
|
|
294
|
+
z-index: var(--limel-progress-flow-step-content);
|
|
230
295
|
}
|
|
231
296
|
|
|
232
297
|
.secondary-text {
|
|
@@ -237,76 +302,5 @@
|
|
|
237
302
|
|
|
238
303
|
.icon {
|
|
239
304
|
margin: 0 0.5rem 0 0.25rem;
|
|
240
|
-
z-index:
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
/*
|
|
244
|
-
* This file is imported into every component!
|
|
245
|
-
*
|
|
246
|
-
* Nothing in this file may output any CSS
|
|
247
|
-
* without being explicitly called by outside code.
|
|
248
|
-
*/
|
|
249
|
-
.step:before,
|
|
250
|
-
.step .lock-icon {
|
|
251
|
-
pointer-events: none;
|
|
252
|
-
box-sizing: border-box;
|
|
253
|
-
z-index: 2;
|
|
254
|
-
}
|
|
255
|
-
.step::before {
|
|
256
|
-
position: absolute;
|
|
257
|
-
right: var(--selected-indicator-right);
|
|
258
|
-
border-radius: 50%;
|
|
259
|
-
}
|
|
260
|
-
.last .step:before,
|
|
261
|
-
.last .step .lock-icon {
|
|
262
|
-
right: 0.5rem;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
.flow-item:not(.off-progress-item) .step.selected:before {
|
|
266
|
-
content: "";
|
|
267
|
-
width: 0.375rem;
|
|
268
|
-
height: 0.375rem;
|
|
269
|
-
background-color: rgb(var(--contrast-700));
|
|
270
|
-
opacity: 0.7;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
.lock-icon {
|
|
274
|
-
margin-left: 0.25rem;
|
|
275
|
-
margin-right: -0.5rem;
|
|
276
|
-
width: 0.75rem;
|
|
277
|
-
color: currentColor;
|
|
278
|
-
scale: 0.8;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
.step {
|
|
282
|
-
color: var(--step-text);
|
|
283
|
-
background-color: var(--step-background);
|
|
284
|
-
}
|
|
285
|
-
.step .icon {
|
|
286
|
-
color: var(--progress-flow-icon-color--inactive, var(--step-text));
|
|
287
|
-
}
|
|
288
|
-
.flow-item.selected .step {
|
|
289
|
-
color: var(--step-text--selected);
|
|
290
|
-
background-color: var(--step-background--selected);
|
|
291
|
-
}
|
|
292
|
-
.flow-item.selected .step .divider:after {
|
|
293
|
-
background-color: var(--step-background--selected);
|
|
294
|
-
}
|
|
295
|
-
.flow-item.selected .step .icon {
|
|
296
|
-
color: var(--step-text--selected);
|
|
297
|
-
}
|
|
298
|
-
.flow-item.passed .step {
|
|
299
|
-
color: var(--step-text--passed);
|
|
300
|
-
background-color: var(--step-background--passed);
|
|
301
|
-
}
|
|
302
|
-
.flow-item.passed .step .divider:after {
|
|
303
|
-
background-color: var(--step-background--passed);
|
|
304
|
-
}
|
|
305
|
-
.flow-item.passed .step .icon {
|
|
306
|
-
color: var(--step-text--passed);
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
.divider:after {
|
|
310
|
-
border-color: var(--step-divider-color);
|
|
311
|
-
background-color: var(--step-background);
|
|
305
|
+
z-index: var(--limel-progress-flow-step-content);
|
|
312
306
|
}
|
|
@@ -15,6 +15,8 @@
|
|
|
15
15
|
* @prop --progress-flow-icon-color--inactive: Color of the optional icons used in each step. Only affects inactive steps, defaults to text colors for inactive, active, or passed step.
|
|
16
16
|
*/
|
|
17
17
|
:host {
|
|
18
|
+
--limel-progress-flow-step-content: 2;
|
|
19
|
+
--limel-progress-flow-divider: 1;
|
|
18
20
|
--step-height: 2rem;
|
|
19
21
|
--selected-indicator-right: -0.5rem;
|
|
20
22
|
--max-text-width: 10rem;
|
|
@@ -295,12 +295,12 @@ label.boolean-input-label {
|
|
|
295
295
|
--limel-boolean-input-box-size
|
|
296
296
|
);
|
|
297
297
|
}
|
|
298
|
-
|
|
299
|
-
.box:after {
|
|
298
|
+
.radio-button .box:after {
|
|
300
299
|
width: 100%;
|
|
301
300
|
height: 100%;
|
|
302
301
|
border-radius: 50%;
|
|
303
302
|
}
|
|
303
|
+
|
|
304
304
|
.boolean-input:has(input[type=radio]:checked) .box:after {
|
|
305
305
|
opacity: 1;
|
|
306
306
|
transform: scale(0.6);
|
|
@@ -5,6 +5,20 @@
|
|
|
5
5
|
* Nothing in this file may output any CSS
|
|
6
6
|
* without being explicitly called by outside code.
|
|
7
7
|
*/
|
|
8
|
+
.limel-select.mdc-select.limel-select--readonly .limel-select-trigger {
|
|
9
|
+
cursor: default;
|
|
10
|
+
opacity: 1;
|
|
11
|
+
}
|
|
12
|
+
.limel-select.mdc-select.limel-select--readonly .mdc-floating-label {
|
|
13
|
+
color: rgba(var(--contrast-1200), 1);
|
|
14
|
+
}
|
|
15
|
+
.limel-select.mdc-select.limel-select--readonly .limel-select__selected-option__text {
|
|
16
|
+
color: rgba(var(--contrast-1400), 1);
|
|
17
|
+
}
|
|
18
|
+
.limel-select.mdc-select.limel-select--readonly .mdc-select__dropdown-icon {
|
|
19
|
+
display: none;
|
|
20
|
+
}
|
|
21
|
+
|
|
8
22
|
/**
|
|
9
23
|
* Note! This file is exported to `dist/scss/` in the published
|
|
10
24
|
* node module, for consumer projects to import.
|
|
@@ -92,6 +106,31 @@
|
|
|
92
106
|
* Media query mixins for responsive design based on screen width.
|
|
93
107
|
* Note that these mixins do not detect the device type!
|
|
94
108
|
*/
|
|
109
|
+
:host(limel-select:focus),
|
|
110
|
+
:host(limel-select:focus-visible),
|
|
111
|
+
:host(limel-select:focus-within) {
|
|
112
|
+
--limel-h-l-grid-template-rows-transition-speed: 0.46s;
|
|
113
|
+
--limel-h-l-grid-template-rows: 1fr;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
:host(limel-select) {
|
|
117
|
+
--limel-h-l-grid-template-rows-transition-speed: 0.3s;
|
|
118
|
+
--limel-h-l-grid-template-rows: 0fr;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
:host(limel-select:focus) limel-helper-line,
|
|
122
|
+
:host(limel-select:focus-visible) limel-helper-line,
|
|
123
|
+
:host(limel-select:focus-within) limel-helper-line,
|
|
124
|
+
:host(limel-select:hover) limel-helper-line {
|
|
125
|
+
will-change: grid-template-rows;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.limel-select--focused + limel-helper-line,
|
|
129
|
+
.limel-select--invalid limel-helper-line {
|
|
130
|
+
--limel-h-l-grid-template-rows-transition-speed: 0.46s;
|
|
131
|
+
--limel-h-l-grid-template-rows: 1fr;
|
|
132
|
+
}
|
|
133
|
+
|
|
95
134
|
.mdc-floating-label {
|
|
96
135
|
-moz-osx-font-smoothing: grayscale;
|
|
97
136
|
-webkit-font-smoothing: antialiased;
|
|
@@ -1780,136 +1819,4 @@ select.limel-select__native-control {
|
|
|
1780
1819
|
height: 100%;
|
|
1781
1820
|
opacity: 0;
|
|
1782
1821
|
border: 0;
|
|
1783
|
-
}
|
|
1784
|
-
|
|
1785
|
-
/*
|
|
1786
|
-
* This file is imported into every component!
|
|
1787
|
-
*
|
|
1788
|
-
* Nothing in this file may output any CSS
|
|
1789
|
-
* without being explicitly called by outside code.
|
|
1790
|
-
*/
|
|
1791
|
-
.limel-select.mdc-select.limel-select--readonly .limel-select-trigger {
|
|
1792
|
-
cursor: default;
|
|
1793
|
-
opacity: 1;
|
|
1794
|
-
}
|
|
1795
|
-
.limel-select.mdc-select.limel-select--readonly .mdc-floating-label {
|
|
1796
|
-
color: rgba(var(--contrast-1200), 1);
|
|
1797
|
-
}
|
|
1798
|
-
.limel-select.mdc-select.limel-select--readonly .limel-select__selected-option__text {
|
|
1799
|
-
color: rgba(var(--contrast-1400), 1);
|
|
1800
|
-
}
|
|
1801
|
-
.limel-select.mdc-select.limel-select--readonly .mdc-select__dropdown-icon {
|
|
1802
|
-
display: none;
|
|
1803
|
-
}
|
|
1804
|
-
|
|
1805
|
-
/**
|
|
1806
|
-
* Note! This file is exported to `dist/scss/` in the published
|
|
1807
|
-
* node module, for consumer projects to import.
|
|
1808
|
-
* That means this file cannot import from any file that isn't
|
|
1809
|
-
* also exported, keeping the same relative path.
|
|
1810
|
-
*
|
|
1811
|
-
* Or, just don't import anything, that works too.
|
|
1812
|
-
*/
|
|
1813
|
-
/**
|
|
1814
|
-
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
1815
|
-
*/
|
|
1816
|
-
/**
|
|
1817
|
-
* This mixin will mask out the content that is close to
|
|
1818
|
-
* the edges of a scrollable area.
|
|
1819
|
-
* - If the scrollable content has `overflow-y`, use `vertically`
|
|
1820
|
-
* as an argument for `$direction`.
|
|
1821
|
-
- If the scrollable content has `overflow-x`, use `horizontally`
|
|
1822
|
-
* as an argument for `$direction`.
|
|
1823
|
-
*
|
|
1824
|
-
* For the visual effect to work smoothly, we need to make sure that
|
|
1825
|
-
* the size of the fade-out edge effect is the same as the
|
|
1826
|
-
* internal paddings of the scrollable area. Otherwise, content of a
|
|
1827
|
-
* scrollable area that does not have a padding will fade out before
|
|
1828
|
-
* any scrolling has been done.
|
|
1829
|
-
* This is why this mixin already adds paddings, which automatically
|
|
1830
|
-
* default to the size of the fade-out effect.
|
|
1831
|
-
* This size defaults to `1rem`, but to override the size use
|
|
1832
|
-
* `--limel-top-edge-fade-height` & `--limel-bottom-edge-fade-height`
|
|
1833
|
-
* when `vertically` argument is set, and use
|
|
1834
|
-
* `--limel-left-edge-fade-width` & `--limel-right-edge-fade-width`
|
|
1835
|
-
* when `horizontally` argument is set.
|
|
1836
|
-
* Of course you can also programmatically increase and decrease the
|
|
1837
|
-
* size of these variables for each edge, based on the amount of
|
|
1838
|
-
* scrolling that has been done by the user. In this case, make sure
|
|
1839
|
-
* to add a custom padding where the mixin is used, to override
|
|
1840
|
-
* the paddings that are automatically added by the mixin in the
|
|
1841
|
-
* compiled CSS code.
|
|
1842
|
-
*/
|
|
1843
|
-
/**
|
|
1844
|
-
* This mixin will add an animated underline to the bottom of an `a` elements.
|
|
1845
|
-
* Note that you may need to add `all: unset;` –depending on your use case–
|
|
1846
|
-
* before using this mixin.
|
|
1847
|
-
*/
|
|
1848
|
-
/**
|
|
1849
|
-
* This mixin creates a cross-browser font stack.
|
|
1850
|
-
* - `sans-serif` can be used for the UI of the components.
|
|
1851
|
-
* - `monospace` can be used for code.
|
|
1852
|
-
*
|
|
1853
|
-
* ⚠️ If we change the font stacks, we need to update
|
|
1854
|
-
* 1. the consumer documentation in `README.md`, and
|
|
1855
|
-
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
1856
|
-
* in the `<style>` tag of `index.html`.
|
|
1857
|
-
*/
|
|
1858
|
-
/**
|
|
1859
|
-
* This mixin is a hack, using old CSS syntax
|
|
1860
|
-
* to enable you to truncate a piece of text,
|
|
1861
|
-
* after a certain number of lines.
|
|
1862
|
-
*/
|
|
1863
|
-
/**
|
|
1864
|
-
* This mixin will add a chessboard background pattern,
|
|
1865
|
-
* typically used to visualize transparency.
|
|
1866
|
-
*/
|
|
1867
|
-
/**
|
|
1868
|
-
* Make a container resizable by the user.
|
|
1869
|
-
* This is used in the documentations and examples
|
|
1870
|
-
* of some components, to demonstrate how the component
|
|
1871
|
-
* behaves in a resizable container.
|
|
1872
|
-
*/
|
|
1873
|
-
/**
|
|
1874
|
-
* Drag to reorder mixins
|
|
1875
|
-
*/
|
|
1876
|
-
/**
|
|
1877
|
-
* The breakpoints below are used to create responsive designs
|
|
1878
|
-
* in Lime's products. Therefore, they are here to get distributed
|
|
1879
|
-
* to all components in other private repos, which rely on this `mixins`
|
|
1880
|
-
* file, to create consistent styles.
|
|
1881
|
-
*
|
|
1882
|
-
* :::important
|
|
1883
|
-
* In very rare cases you should used media queries!
|
|
1884
|
-
* Nowadays, there are many better ways of achieving responsive design
|
|
1885
|
-
* without media queries. For example, using CSS Grid, Flexbox, and their features.
|
|
1886
|
-
* :::
|
|
1887
|
-
*/
|
|
1888
|
-
/**
|
|
1889
|
-
* Media query mixins for responsive design based on screen width.
|
|
1890
|
-
* Note that these mixins do not detect the device type!
|
|
1891
|
-
*/
|
|
1892
|
-
:host(limel-select:focus),
|
|
1893
|
-
:host(limel-select:focus-visible),
|
|
1894
|
-
:host(limel-select:focus-within) {
|
|
1895
|
-
--limel-h-l-grid-template-rows-transition-speed: 0.46s;
|
|
1896
|
-
--limel-h-l-grid-template-rows: 1fr;
|
|
1897
|
-
}
|
|
1898
|
-
|
|
1899
|
-
:host(limel-select) {
|
|
1900
|
-
--limel-h-l-grid-template-rows-transition-speed: 0.3s;
|
|
1901
|
-
--limel-h-l-grid-template-rows: 0fr;
|
|
1902
|
-
}
|
|
1903
|
-
|
|
1904
|
-
:host(limel-select:focus) limel-helper-line,
|
|
1905
|
-
:host(limel-select:focus-visible) limel-helper-line,
|
|
1906
|
-
:host(limel-select:focus-within) limel-helper-line,
|
|
1907
|
-
:host(limel-select:hover) limel-helper-line {
|
|
1908
|
-
will-change: grid-template-rows;
|
|
1909
|
-
}
|
|
1910
|
-
|
|
1911
|
-
.limel-select--focused + limel-helper-line,
|
|
1912
|
-
.limel-select--invalid limel-helper-line {
|
|
1913
|
-
--limel-h-l-grid-template-rows-transition-speed: 0.46s;
|
|
1914
|
-
--limel-h-l-grid-template-rows: 1fr;
|
|
1915
1822
|
}
|