@limetech/lime-elements 39.0.1 → 39.0.3
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 +14 -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 +2 -2
- 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 +2 -2
- 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/cjs/{markdown-parser-DnhdKhpI.js → markdown-parser-_1bsy-5h.js} +4 -4
- 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 +68 -69
- package/dist/collection/components/chip-set/chip-set.css +29 -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/markdown/markdown-parser.js +4 -4
- 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 +2 -2
- 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 +2 -2
- 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/esm/{markdown-parser-CoBLYNGa.js → markdown-parser-DkmQCwAi.js} +4 -4
- 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-93c9b561.entry.js → p-4be18a57.entry.js} +1 -1
- package/dist/lime-elements/{p-94c76e12.entry.js → p-4beeec39.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-6abc7ed8.entry.js → p-55596d9a.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-Db1TI5oK.js → p-Df0HAtSs.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-1691e794.entry.js +0 -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-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,10 +1,4 @@
|
|
|
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
2
|
/**
|
|
9
3
|
* Note! This file is exported to `dist/scss/` in the published
|
|
10
4
|
* node module, for consumer projects to import.
|
|
@@ -92,6 +86,81 @@
|
|
|
92
86
|
* Media query mixins for responsive design based on screen width.
|
|
93
87
|
* Note that these mixins do not detect the device type!
|
|
94
88
|
*/
|
|
89
|
+
:host([type=url]) .mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing limel-icon, :host([type=url]) .mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link limel-icon,
|
|
90
|
+
:host([type=urlAsText]) .mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing limel-icon,
|
|
91
|
+
:host([type=urlAsText]) .mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link limel-icon {
|
|
92
|
+
color: rgb(var(--color-blue-default));
|
|
93
|
+
}
|
|
94
|
+
:host([type=url]) .mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing:hover, :host([type=url]) .mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link:hover,
|
|
95
|
+
:host([type=urlAsText]) .mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing:hover,
|
|
96
|
+
:host([type=urlAsText]) .mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link:hover {
|
|
97
|
+
background-color: rgb(var(--color-blue-default)) !important;
|
|
98
|
+
}
|
|
99
|
+
:host([type=url]) .mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing:hover limel-icon, :host([type=url]) .mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link:hover limel-icon,
|
|
100
|
+
:host([type=urlAsText]) .mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing:hover limel-icon,
|
|
101
|
+
:host([type=urlAsText]) .mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link:hover limel-icon {
|
|
102
|
+
color: rgb(var(--color-white));
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
:host([type=tel]) .mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing limel-icon, :host([type=tel]) .mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link limel-icon {
|
|
106
|
+
color: rgb(var(--color-green-default));
|
|
107
|
+
}
|
|
108
|
+
:host([type=tel]) .mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing:hover, :host([type=tel]) .mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link:hover {
|
|
109
|
+
background-color: rgb(var(--color-green-default)) !important;
|
|
110
|
+
}
|
|
111
|
+
:host([type=tel]) .mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing:hover limel-icon, :host([type=tel]) .mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link:hover limel-icon {
|
|
112
|
+
color: rgb(var(--color-white));
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
:host([type=email]) .mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing limel-icon, :host([type=email]) .mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link limel-icon {
|
|
116
|
+
color: rgb(var(--contrast-900));
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
:host([type=url]) .mdc-text-field.lime-text-field--readonly:hover .lime-looks-like-input-value,
|
|
120
|
+
:host([type=url]) .mdc-text-field.lime-text-field--readonly:hover .mdc-text-field__input,
|
|
121
|
+
:host([type=urlAsText]) .mdc-text-field.lime-text-field--readonly:hover .lime-looks-like-input-value,
|
|
122
|
+
:host([type=urlAsText]) .mdc-text-field.lime-text-field--readonly:hover .mdc-text-field__input,
|
|
123
|
+
:host([type=tel]) .mdc-text-field.lime-text-field--readonly:hover .lime-looks-like-input-value,
|
|
124
|
+
:host([type=tel]) .mdc-text-field.lime-text-field--readonly:hover .mdc-text-field__input {
|
|
125
|
+
color: rgb(var(--color-white));
|
|
126
|
+
}
|
|
127
|
+
:host([type=url]) .mdc-text-field.lime-text-field--readonly:hover .mdc-text-field__input,
|
|
128
|
+
:host([type=urlAsText]) .mdc-text-field.lime-text-field--readonly:hover .mdc-text-field__input,
|
|
129
|
+
:host([type=tel]) .mdc-text-field.lime-text-field--readonly:hover .mdc-text-field__input {
|
|
130
|
+
z-index: 1;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
:host([type=url]) .mdc-text-field.lime-text-field--readonly .mdc-text-field__input,
|
|
134
|
+
:host([type=email]) .mdc-text-field.lime-text-field--readonly .mdc-text-field__input,
|
|
135
|
+
:host([type=urlAsText]) .mdc-text-field.lime-text-field--readonly .mdc-text-field__input,
|
|
136
|
+
:host([type=tel]) .mdc-text-field.lime-text-field--readonly .mdc-text-field__input {
|
|
137
|
+
overflow: hidden;
|
|
138
|
+
white-space: nowrap;
|
|
139
|
+
text-overflow: ellipsis;
|
|
140
|
+
width: calc(100% - 2.75rem);
|
|
141
|
+
}
|
|
142
|
+
:host([type=url]) .mdc-text-field.lime-text-field--readonly a.lime-trailing-icon-for-link,
|
|
143
|
+
:host([type=email]) .mdc-text-field.lime-text-field--readonly a.lime-trailing-icon-for-link,
|
|
144
|
+
:host([type=urlAsText]) .mdc-text-field.lime-text-field--readonly a.lime-trailing-icon-for-link,
|
|
145
|
+
:host([type=tel]) .mdc-text-field.lime-text-field--readonly a.lime-trailing-icon-for-link {
|
|
146
|
+
width: 100% !important;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/*
|
|
150
|
+
* This file is imported into every component!
|
|
151
|
+
*
|
|
152
|
+
* Nothing in this file may output any CSS
|
|
153
|
+
* without being explicitly called by outside code.
|
|
154
|
+
*/
|
|
155
|
+
:host([readonly]) .mdc-text-field__input {
|
|
156
|
+
opacity: 1;
|
|
157
|
+
-webkit-text-fill-color: rgba(var(--contrast-1400), 1);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
:host([type=textarea]) .mdc-text-field.lime-text-field--readonly .mdc-text-field__resizer {
|
|
161
|
+
pointer-events: all;
|
|
162
|
+
}
|
|
163
|
+
|
|
95
164
|
/**
|
|
96
165
|
* @prop --textarea-height: Height of the field when type is set to `textarea`
|
|
97
166
|
*/
|
|
@@ -1864,168 +1933,6 @@ input.mdc-text-field__input::-webkit-search-cancel-button:active {
|
|
|
1864
1933
|
opacity: 1;
|
|
1865
1934
|
}
|
|
1866
1935
|
|
|
1867
|
-
/*
|
|
1868
|
-
* This file is imported into every component!
|
|
1869
|
-
*
|
|
1870
|
-
* Nothing in this file may output any CSS
|
|
1871
|
-
* without being explicitly called by outside code.
|
|
1872
|
-
*/
|
|
1873
|
-
:host([type=url]) .mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing limel-icon, :host([type=url]) .mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link limel-icon,
|
|
1874
|
-
:host([type=urlAsText]) .mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing limel-icon,
|
|
1875
|
-
:host([type=urlAsText]) .mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link limel-icon {
|
|
1876
|
-
color: rgb(var(--color-blue-default));
|
|
1877
|
-
}
|
|
1878
|
-
:host([type=url]) .mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing:hover, :host([type=url]) .mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link:hover,
|
|
1879
|
-
:host([type=urlAsText]) .mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing:hover,
|
|
1880
|
-
:host([type=urlAsText]) .mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link:hover {
|
|
1881
|
-
background-color: rgb(var(--color-blue-default));
|
|
1882
|
-
}
|
|
1883
|
-
:host([type=url]) .mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing:hover limel-icon, :host([type=url]) .mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link:hover limel-icon,
|
|
1884
|
-
:host([type=urlAsText]) .mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing:hover limel-icon,
|
|
1885
|
-
:host([type=urlAsText]) .mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link:hover limel-icon {
|
|
1886
|
-
color: rgb(var(--color-white));
|
|
1887
|
-
}
|
|
1888
|
-
|
|
1889
|
-
:host([type=tel]) .mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing limel-icon, :host([type=tel]) .mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link limel-icon {
|
|
1890
|
-
color: rgb(var(--color-green-default));
|
|
1891
|
-
}
|
|
1892
|
-
:host([type=tel]) .mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing:hover, :host([type=tel]) .mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link:hover {
|
|
1893
|
-
background-color: rgb(var(--color-green-default));
|
|
1894
|
-
}
|
|
1895
|
-
:host([type=tel]) .mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing:hover limel-icon, :host([type=tel]) .mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link:hover limel-icon {
|
|
1896
|
-
color: rgb(var(--color-white));
|
|
1897
|
-
}
|
|
1898
|
-
|
|
1899
|
-
:host([type=email]) .mdc-text-field--with-trailing-icon .mdc-text-field__icon--trailing limel-icon, :host([type=email]) .mdc-text-field--with-trailing-icon a.lime-trailing-icon-for-link limel-icon {
|
|
1900
|
-
color: rgb(var(--contrast-900));
|
|
1901
|
-
}
|
|
1902
|
-
|
|
1903
|
-
/**
|
|
1904
|
-
* Note! This file is exported to `dist/scss/` in the published
|
|
1905
|
-
* node module, for consumer projects to import.
|
|
1906
|
-
* That means this file cannot import from any file that isn't
|
|
1907
|
-
* also exported, keeping the same relative path.
|
|
1908
|
-
*
|
|
1909
|
-
* Or, just don't import anything, that works too.
|
|
1910
|
-
*/
|
|
1911
|
-
/**
|
|
1912
|
-
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
1913
|
-
*/
|
|
1914
|
-
/**
|
|
1915
|
-
* This mixin will mask out the content that is close to
|
|
1916
|
-
* the edges of a scrollable area.
|
|
1917
|
-
* - If the scrollable content has `overflow-y`, use `vertically`
|
|
1918
|
-
* as an argument for `$direction`.
|
|
1919
|
-
- If the scrollable content has `overflow-x`, use `horizontally`
|
|
1920
|
-
* as an argument for `$direction`.
|
|
1921
|
-
*
|
|
1922
|
-
* For the visual effect to work smoothly, we need to make sure that
|
|
1923
|
-
* the size of the fade-out edge effect is the same as the
|
|
1924
|
-
* internal paddings of the scrollable area. Otherwise, content of a
|
|
1925
|
-
* scrollable area that does not have a padding will fade out before
|
|
1926
|
-
* any scrolling has been done.
|
|
1927
|
-
* This is why this mixin already adds paddings, which automatically
|
|
1928
|
-
* default to the size of the fade-out effect.
|
|
1929
|
-
* This size defaults to `1rem`, but to override the size use
|
|
1930
|
-
* `--limel-top-edge-fade-height` & `--limel-bottom-edge-fade-height`
|
|
1931
|
-
* when `vertically` argument is set, and use
|
|
1932
|
-
* `--limel-left-edge-fade-width` & `--limel-right-edge-fade-width`
|
|
1933
|
-
* when `horizontally` argument is set.
|
|
1934
|
-
* Of course you can also programmatically increase and decrease the
|
|
1935
|
-
* size of these variables for each edge, based on the amount of
|
|
1936
|
-
* scrolling that has been done by the user. In this case, make sure
|
|
1937
|
-
* to add a custom padding where the mixin is used, to override
|
|
1938
|
-
* the paddings that are automatically added by the mixin in the
|
|
1939
|
-
* compiled CSS code.
|
|
1940
|
-
*/
|
|
1941
|
-
/**
|
|
1942
|
-
* This mixin will add an animated underline to the bottom of an `a` elements.
|
|
1943
|
-
* Note that you may need to add `all: unset;` –depending on your use case–
|
|
1944
|
-
* before using this mixin.
|
|
1945
|
-
*/
|
|
1946
|
-
/**
|
|
1947
|
-
* This mixin creates a cross-browser font stack.
|
|
1948
|
-
* - `sans-serif` can be used for the UI of the components.
|
|
1949
|
-
* - `monospace` can be used for code.
|
|
1950
|
-
*
|
|
1951
|
-
* ⚠️ If we change the font stacks, we need to update
|
|
1952
|
-
* 1. the consumer documentation in `README.md`, and
|
|
1953
|
-
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
1954
|
-
* in the `<style>` tag of `index.html`.
|
|
1955
|
-
*/
|
|
1956
|
-
/**
|
|
1957
|
-
* This mixin is a hack, using old CSS syntax
|
|
1958
|
-
* to enable you to truncate a piece of text,
|
|
1959
|
-
* after a certain number of lines.
|
|
1960
|
-
*/
|
|
1961
|
-
/**
|
|
1962
|
-
* This mixin will add a chessboard background pattern,
|
|
1963
|
-
* typically used to visualize transparency.
|
|
1964
|
-
*/
|
|
1965
|
-
/**
|
|
1966
|
-
* Make a container resizable by the user.
|
|
1967
|
-
* This is used in the documentations and examples
|
|
1968
|
-
* of some components, to demonstrate how the component
|
|
1969
|
-
* behaves in a resizable container.
|
|
1970
|
-
*/
|
|
1971
|
-
/**
|
|
1972
|
-
* Drag to reorder mixins
|
|
1973
|
-
*/
|
|
1974
|
-
/**
|
|
1975
|
-
* The breakpoints below are used to create responsive designs
|
|
1976
|
-
* in Lime's products. Therefore, they are here to get distributed
|
|
1977
|
-
* to all components in other private repos, which rely on this `mixins`
|
|
1978
|
-
* file, to create consistent styles.
|
|
1979
|
-
*
|
|
1980
|
-
* :::important
|
|
1981
|
-
* In very rare cases you should used media queries!
|
|
1982
|
-
* Nowadays, there are many better ways of achieving responsive design
|
|
1983
|
-
* without media queries. For example, using CSS Grid, Flexbox, and their features.
|
|
1984
|
-
* :::
|
|
1985
|
-
*/
|
|
1986
|
-
/**
|
|
1987
|
-
* Media query mixins for responsive design based on screen width.
|
|
1988
|
-
* Note that these mixins do not detect the device type!
|
|
1989
|
-
*/
|
|
1990
|
-
/*
|
|
1991
|
-
* This file is imported into every component!
|
|
1992
|
-
*
|
|
1993
|
-
* Nothing in this file may output any CSS
|
|
1994
|
-
* without being explicitly called by outside code.
|
|
1995
|
-
*/
|
|
1996
|
-
:host([type=url]) .mdc-text-field.lime-text-field--readonly:hover .lime-looks-like-input-value,
|
|
1997
|
-
:host([type=url]) .mdc-text-field.lime-text-field--readonly:hover .mdc-text-field__input,
|
|
1998
|
-
:host([type=urlAsText]) .mdc-text-field.lime-text-field--readonly:hover .lime-looks-like-input-value,
|
|
1999
|
-
:host([type=urlAsText]) .mdc-text-field.lime-text-field--readonly:hover .mdc-text-field__input,
|
|
2000
|
-
:host([type=tel]) .mdc-text-field.lime-text-field--readonly:hover .lime-looks-like-input-value,
|
|
2001
|
-
:host([type=tel]) .mdc-text-field.lime-text-field--readonly:hover .mdc-text-field__input {
|
|
2002
|
-
color: rgb(var(--color-white));
|
|
2003
|
-
}
|
|
2004
|
-
:host([type=url]) .mdc-text-field.lime-text-field--readonly:hover .mdc-text-field__input,
|
|
2005
|
-
:host([type=urlAsText]) .mdc-text-field.lime-text-field--readonly:hover .mdc-text-field__input,
|
|
2006
|
-
:host([type=tel]) .mdc-text-field.lime-text-field--readonly:hover .mdc-text-field__input {
|
|
2007
|
-
z-index: 1;
|
|
2008
|
-
}
|
|
2009
|
-
|
|
2010
|
-
:host([type=url]) .mdc-text-field.lime-text-field--readonly .mdc-text-field__input,
|
|
2011
|
-
:host([type=email]) .mdc-text-field.lime-text-field--readonly .mdc-text-field__input,
|
|
2012
|
-
:host([type=urlAsText]) .mdc-text-field.lime-text-field--readonly .mdc-text-field__input,
|
|
2013
|
-
:host([type=tel]) .mdc-text-field.lime-text-field--readonly .mdc-text-field__input {
|
|
2014
|
-
overflow: hidden;
|
|
2015
|
-
white-space: nowrap;
|
|
2016
|
-
text-overflow: ellipsis;
|
|
2017
|
-
width: calc(100% - 2.75rem);
|
|
2018
|
-
}
|
|
2019
|
-
|
|
2020
|
-
:host([type=textarea]) .mdc-text-field.lime-text-field--readonly .mdc-text-field__resizer {
|
|
2021
|
-
pointer-events: all;
|
|
2022
|
-
}
|
|
2023
|
-
|
|
2024
|
-
:host([readonly]) .mdc-text-field__input {
|
|
2025
|
-
opacity: 1;
|
|
2026
|
-
-webkit-text-fill-color: rgba(var(--contrast-1400), 1);
|
|
2027
|
-
}
|
|
2028
|
-
|
|
2029
1936
|
.mdc-text-field.mdc-text-field--outlined {
|
|
2030
1937
|
height: 2.5rem;
|
|
2031
1938
|
}
|
|
@@ -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);
|
|
@@ -333,4 +183,62 @@ ul {
|
|
|
333
183
|
border-top: 1px solid rgb(var(--contrast-400));
|
|
334
184
|
margin-top: 0.5rem;
|
|
335
185
|
padding-top: 0.25rem;
|
|
186
|
+
}
|
|
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);
|
|
336
244
|
}
|
|
@@ -73,19 +73,19 @@ export async function sanitizeHTML(html, whitelist) {
|
|
|
73
73
|
return file.toString();
|
|
74
74
|
}
|
|
75
75
|
function getWhiteList(allowedComponents) {
|
|
76
|
-
var _a, _b, _c;
|
|
76
|
+
var _a, _b, _c, _d;
|
|
77
77
|
const defaultSchemaClone = [...((_a = defaultSchema.attributes['*']) !== null && _a !== void 0 ? _a : [])];
|
|
78
78
|
const asteriskAttributeWhitelist = defaultSchemaClone.filter((attr) => {
|
|
79
79
|
return attr !== 'height';
|
|
80
80
|
});
|
|
81
81
|
asteriskAttributeWhitelist.push('style');
|
|
82
|
-
const whitelist = Object.assign(Object.assign({}, defaultSchema), { tagNames: [
|
|
82
|
+
const whitelist = Object.assign(Object.assign({}, defaultSchema), { strip: [...((_b = defaultSchema.strip) !== null && _b !== void 0 ? _b : []), 'style'], tagNames: [
|
|
83
83
|
...(defaultSchema.tagNames || []),
|
|
84
84
|
...allowedComponents.map((component) => component.tagName),
|
|
85
85
|
], attributes: Object.assign(Object.assign({}, defaultSchema.attributes), { p: [
|
|
86
|
-
...((
|
|
86
|
+
...((_c = defaultSchema.attributes.p) !== null && _c !== void 0 ? _c : []),
|
|
87
87
|
['className', 'MsoNormal'],
|
|
88
|
-
], a: [...((
|
|
88
|
+
], a: [...((_d = defaultSchema.attributes.a) !== null && _d !== void 0 ? _d : []), 'referrerpolicy'], '*': asteriskAttributeWhitelist }) });
|
|
89
89
|
for (const component of allowedComponents) {
|
|
90
90
|
whitelist.attributes[component.tagName] = component.attributes;
|
|
91
91
|
}
|