@limetech/lime-elements 37.62.3 → 37.63.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/CHANGELOG.md +8 -0
- package/dist/cjs/limel-breadcrumbs_5.cjs.entry.js +1 -1
- package/dist/cjs/limel-breadcrumbs_5.cjs.entry.js.map +1 -1
- package/dist/cjs/limel-collapsible-section.cjs.entry.js +1 -1
- package/dist/cjs/limel-collapsible-section.cjs.entry.js.map +1 -1
- package/dist/cjs/limel-dynamic-label_4.cjs.entry.js +1 -1
- package/dist/cjs/limel-dynamic-label_4.cjs.entry.js.map +1 -1
- package/dist/cjs/limel-file.cjs.entry.js +1 -1
- package/dist/cjs/limel-file.cjs.entry.js.map +1 -1
- package/dist/cjs/limel-info-tile.cjs.entry.js +1 -1
- package/dist/cjs/limel-info-tile.cjs.entry.js.map +1 -1
- package/dist/collection/components/action-bar/action-bar-item/action-bar-item.css +5 -0
- package/dist/collection/components/badge/badge.css +5 -0
- package/dist/collection/components/breadcrumbs/breadcrumbs.css +5 -0
- package/dist/collection/components/button/button.css +5 -0
- package/dist/collection/components/button-group/button-group.css +5 -0
- package/dist/collection/components/checkbox/checkbox.css +5 -0
- package/dist/collection/components/chip/chip.css +5 -0
- package/dist/collection/components/chip-set/chip-set.css +10 -0
- package/dist/collection/components/circular-progress/circular-progress.css +5 -0
- package/dist/collection/components/code-editor/code-editor.css +5 -0
- package/dist/collection/components/collapsible-section/collapsible-section.css +8 -3
- package/dist/collection/components/color-picker/color-picker-palette.css +10 -0
- package/dist/collection/components/color-picker/color-picker.css +5 -0
- package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.css +5 -0
- package/dist/collection/components/dialog/dialog.css +5 -0
- package/dist/collection/components/dock/dock-button/dock-button.css +5 -0
- package/dist/collection/components/dock/dock.css +5 -0
- package/dist/collection/components/dynamic-label/dynamic-label.css +5 -0
- package/dist/collection/components/file/file.css +62 -3
- package/dist/collection/components/file-viewer/file-viewer.css +5 -0
- package/dist/collection/components/form/form.css +5 -0
- package/dist/collection/components/header/header.css +5 -0
- package/dist/collection/components/help/help.css +5 -0
- package/dist/collection/components/help/limel-help-content.css +5 -0
- package/dist/collection/components/icon-button/icon-button.css +5 -0
- package/dist/collection/components/info-tile/info-tile.css +5 -0
- package/dist/collection/components/input-field/input-field.css +5 -0
- package/dist/collection/components/list/list.css +82 -3
- package/dist/collection/components/markdown/markdown.css +5 -0
- package/dist/collection/components/menu-list/menu-list.css +82 -3
- package/dist/collection/components/popover-surface/popover-surface.css +5 -0
- package/dist/collection/components/progress-flow/progress-flow-item/progress-flow-item.css +5 -0
- package/dist/collection/components/select/select.css +10 -0
- package/dist/collection/components/shortcut/shortcut.css +5 -0
- package/dist/collection/components/slider/slider.css +5 -0
- package/dist/collection/components/split-button/split-button.css +5 -0
- package/dist/collection/components/switch/switch.css +5 -0
- package/dist/collection/components/table/table.css +20 -0
- package/dist/collection/components/text-editor/prosemirror-adapter/prosemirror-adapter.css +5 -0
- package/dist/collection/components/text-editor/text-editor.css +5 -0
- package/dist/collection/style/mixins.scss +13 -0
- package/dist/esm/limel-breadcrumbs_5.entry.js +1 -1
- package/dist/esm/limel-breadcrumbs_5.entry.js.map +1 -1
- package/dist/esm/limel-collapsible-section.entry.js +1 -1
- package/dist/esm/limel-collapsible-section.entry.js.map +1 -1
- package/dist/esm/limel-dynamic-label_4.entry.js +1 -1
- package/dist/esm/limel-dynamic-label_4.entry.js.map +1 -1
- package/dist/esm/limel-file.entry.js +1 -1
- package/dist/esm/limel-file.entry.js.map +1 -1
- package/dist/esm/limel-info-tile.entry.js +1 -1
- package/dist/esm/limel-info-tile.entry.js.map +1 -1
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-768dc020.entry.js → p-00e3e9be.entry.js} +2 -2
- package/dist/lime-elements/p-00e3e9be.entry.js.map +1 -0
- package/dist/lime-elements/p-03eea223.entry.js +2 -0
- package/dist/lime-elements/p-03eea223.entry.js.map +1 -0
- package/dist/lime-elements/{p-b334b138.entry.js → p-126ed7d5.entry.js} +2 -2
- package/dist/lime-elements/{p-b334b138.entry.js.map → p-126ed7d5.entry.js.map} +1 -1
- package/dist/lime-elements/p-7d215789.entry.js +2 -0
- package/dist/lime-elements/{p-b852d3f5.entry.js.map → p-7d215789.entry.js.map} +1 -1
- package/dist/lime-elements/{p-502b4476.entry.js → p-d86f8aea.entry.js} +2 -2
- package/dist/lime-elements/{p-502b4476.entry.js.map → p-d86f8aea.entry.js.map} +1 -1
- package/dist/lime-elements/style/mixins.scss +13 -0
- package/dist/scss/mixins.scss +13 -0
- package/package.json +1 -1
- package/dist/lime-elements/p-768dc020.entry.js.map +0 -1
- package/dist/lime-elements/p-889b4ae4.entry.js +0 -2
- package/dist/lime-elements/p-889b4ae4.entry.js.map +0 -1
- package/dist/lime-elements/p-b852d3f5.entry.js +0 -2
|
@@ -872,6 +872,11 @@
|
|
|
872
872
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
873
873
|
* in the `<style>` tag of `index.html`.
|
|
874
874
|
*/
|
|
875
|
+
/**
|
|
876
|
+
* This mixin is a hack, using old CSS syntax
|
|
877
|
+
* to enable you to truncate a piece of text,
|
|
878
|
+
* after a certain number of lines.
|
|
879
|
+
*/
|
|
875
880
|
:host(limel-checkbox:focus),
|
|
876
881
|
:host(limel-checkbox:focus-visible),
|
|
877
882
|
:host(limel-checkbox:focus-within),
|
|
@@ -53,6 +53,11 @@
|
|
|
53
53
|
* in the `<style>` tag of `index.html`.
|
|
54
54
|
*/
|
|
55
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
|
+
/**
|
|
56
61
|
* @prop --chip-max-width: Maximum width of the chip. Defaults to `10rem`. Keep in mind that the chips should not appear too big.
|
|
57
62
|
* @prop --chip-progress-color: Color of the progress bar. Defaults to `rgb(var(--contrast-700))`.
|
|
58
63
|
*/
|
|
@@ -118,6 +118,11 @@
|
|
|
118
118
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
119
119
|
* in the `<style>` tag of `index.html`.
|
|
120
120
|
*/
|
|
121
|
+
/**
|
|
122
|
+
* This mixin is a hack, using old CSS syntax
|
|
123
|
+
* to enable you to truncate a piece of text,
|
|
124
|
+
* after a certain number of lines.
|
|
125
|
+
*/
|
|
121
126
|
.mdc-notched-outline {
|
|
122
127
|
display: flex;
|
|
123
128
|
position: absolute;
|
|
@@ -2183,6 +2188,11 @@ limel-chip.can-be-removed {
|
|
|
2183
2188
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
2184
2189
|
* in the `<style>` tag of `index.html`.
|
|
2185
2190
|
*/
|
|
2191
|
+
/**
|
|
2192
|
+
* This mixin is a hack, using old CSS syntax
|
|
2193
|
+
* to enable you to truncate a piece of text,
|
|
2194
|
+
* after a certain number of lines.
|
|
2195
|
+
*/
|
|
2186
2196
|
:host(limel-chip-set:focus),
|
|
2187
2197
|
:host(limel-chip-set:focus-visible),
|
|
2188
2198
|
:host(limel-chip-set:focus-within),
|
|
@@ -58,6 +58,11 @@
|
|
|
58
58
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
59
59
|
* in the `<style>` tag of `index.html`.
|
|
60
60
|
*/
|
|
61
|
+
/**
|
|
62
|
+
* This mixin is a hack, using old CSS syntax
|
|
63
|
+
* to enable you to truncate a piece of text,
|
|
64
|
+
* after a certain number of lines.
|
|
65
|
+
*/
|
|
61
66
|
/*
|
|
62
67
|
* This file is imported into every component that uses MDC!
|
|
63
68
|
*
|
|
@@ -498,6 +498,11 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
498
498
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
499
499
|
* in the `<style>` tag of `index.html`.
|
|
500
500
|
*/
|
|
501
|
+
/**
|
|
502
|
+
* This mixin is a hack, using old CSS syntax
|
|
503
|
+
* to enable you to truncate a piece of text,
|
|
504
|
+
* after a certain number of lines.
|
|
505
|
+
*/
|
|
501
506
|
/**
|
|
502
507
|
* @prop --code-editor-max-height: Defines how tall the code editor can get before content becomes scrollable, defaults to `10rem`.
|
|
503
508
|
* @prop --code-editor-font-size: Defines the font size of the code, defaults to `0.8125rem`.
|
|
@@ -118,6 +118,11 @@
|
|
|
118
118
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
119
119
|
* in the `<style>` tag of `index.html`.
|
|
120
120
|
*/
|
|
121
|
+
/**
|
|
122
|
+
* This mixin is a hack, using old CSS syntax
|
|
123
|
+
* to enable you to truncate a piece of text,
|
|
124
|
+
* after a certain number of lines.
|
|
125
|
+
*/
|
|
121
126
|
/**
|
|
122
127
|
* @prop --closed-header-background-color: background color for header when closed
|
|
123
128
|
* @prop --open-header-background-color: background color for header when open
|
|
@@ -189,11 +194,11 @@ header {
|
|
|
189
194
|
height: auto;
|
|
190
195
|
max-height: 3rem;
|
|
191
196
|
line-height: 1.2rem;
|
|
192
|
-
white-space: normal;
|
|
193
197
|
display: -webkit-box;
|
|
194
|
-
-webkit-line-clamp: 2;
|
|
195
|
-
-webkit-box-orient: vertical;
|
|
196
198
|
overflow: hidden;
|
|
199
|
+
white-space: normal;
|
|
200
|
+
-webkit-box-orient: vertical;
|
|
201
|
+
-webkit-line-clamp: 2;
|
|
197
202
|
}
|
|
198
203
|
|
|
199
204
|
.divider-line {
|
|
@@ -604,6 +604,11 @@
|
|
|
604
604
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
605
605
|
* in the `<style>` tag of `index.html`.
|
|
606
606
|
*/
|
|
607
|
+
/**
|
|
608
|
+
* This mixin is a hack, using old CSS syntax
|
|
609
|
+
* to enable you to truncate a piece of text,
|
|
610
|
+
* after a certain number of lines.
|
|
611
|
+
*/
|
|
607
612
|
/**
|
|
608
613
|
* Note! This file is exported to `dist/scss/` in the published
|
|
609
614
|
* node module, for consumer projects to import.
|
|
@@ -657,6 +662,11 @@
|
|
|
657
662
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
658
663
|
* in the `<style>` tag of `index.html`.
|
|
659
664
|
*/
|
|
665
|
+
/**
|
|
666
|
+
* This mixin is a hack, using old CSS syntax
|
|
667
|
+
* to enable you to truncate a piece of text,
|
|
668
|
+
* after a certain number of lines.
|
|
669
|
+
*/
|
|
660
670
|
/*
|
|
661
671
|
* This file is imported into every component!
|
|
662
672
|
*
|
|
@@ -52,6 +52,11 @@
|
|
|
52
52
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
53
53
|
* in the `<style>` tag of `index.html`.
|
|
54
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
|
+
*/
|
|
55
60
|
/*
|
|
56
61
|
* This file is imported into every component!
|
|
57
62
|
*
|
|
@@ -118,6 +118,11 @@
|
|
|
118
118
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
119
119
|
* in the `<style>` tag of `index.html`.
|
|
120
120
|
*/
|
|
121
|
+
/**
|
|
122
|
+
* This mixin is a hack, using old CSS syntax
|
|
123
|
+
* to enable you to truncate a piece of text,
|
|
124
|
+
* after a certain number of lines.
|
|
125
|
+
*/
|
|
121
126
|
:root {
|
|
122
127
|
--mdc-theme-primary: #26a69a;
|
|
123
128
|
--mdc-theme-secondary: #575756;
|
|
@@ -58,6 +58,11 @@
|
|
|
58
58
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
59
59
|
* in the `<style>` tag of `index.html`.
|
|
60
60
|
*/
|
|
61
|
+
/**
|
|
62
|
+
* This mixin is a hack, using old CSS syntax
|
|
63
|
+
* to enable you to truncate a piece of text,
|
|
64
|
+
* after a certain number of lines.
|
|
65
|
+
*/
|
|
61
66
|
/*
|
|
62
67
|
* This file is imported into every component that uses MDC!
|
|
63
68
|
*
|
|
@@ -52,6 +52,11 @@
|
|
|
52
52
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
53
53
|
* in the `<style>` tag of `index.html`.
|
|
54
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
|
+
*/
|
|
55
60
|
/*
|
|
56
61
|
* This file is imported into every component!
|
|
57
62
|
*
|
|
@@ -52,6 +52,11 @@
|
|
|
52
52
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
53
53
|
* in the `<style>` tag of `index.html`.
|
|
54
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
|
+
*/
|
|
55
60
|
/*
|
|
56
61
|
* This file is imported into every component!
|
|
57
62
|
*
|
|
@@ -52,6 +52,11 @@
|
|
|
52
52
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
53
53
|
* in the `<style>` tag of `index.html`.
|
|
54
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
|
+
*/
|
|
55
60
|
* {
|
|
56
61
|
box-sizing: border-box;
|
|
57
62
|
min-width: 0;
|
|
@@ -1,3 +1,62 @@
|
|
|
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
|
+
*/
|
|
1
60
|
/**
|
|
2
61
|
* @prop --icon-background-color: Background color of the icon. Defaults to `--contrast-400`.
|
|
3
62
|
* @prop --icon-color: Color of the icon. Defaults to `--contrast-1100`.
|
|
@@ -32,9 +91,9 @@
|
|
|
32
91
|
height: auto;
|
|
33
92
|
max-height: 3rem;
|
|
34
93
|
line-height: 1;
|
|
35
|
-
white-space: normal;
|
|
36
94
|
display: -webkit-box;
|
|
37
|
-
-webkit-line-clamp: 2;
|
|
38
|
-
-webkit-box-orient: vertical;
|
|
39
95
|
overflow: hidden;
|
|
96
|
+
white-space: normal;
|
|
97
|
+
-webkit-box-orient: vertical;
|
|
98
|
+
-webkit-line-clamp: 2;
|
|
40
99
|
}
|
|
@@ -124,6 +124,11 @@
|
|
|
124
124
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
125
125
|
* in the `<style>` tag of `index.html`.
|
|
126
126
|
*/
|
|
127
|
+
/**
|
|
128
|
+
* This mixin is a hack, using old CSS syntax
|
|
129
|
+
* to enable you to truncate a piece of text,
|
|
130
|
+
* after a certain number of lines.
|
|
131
|
+
*/
|
|
127
132
|
:host {
|
|
128
133
|
isolation: isolate;
|
|
129
134
|
position: relative;
|
|
@@ -697,6 +697,11 @@ limel-code-editor {
|
|
|
697
697
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
698
698
|
* in the `<style>` tag of `index.html`.
|
|
699
699
|
*/
|
|
700
|
+
/**
|
|
701
|
+
* This mixin is a hack, using old CSS syntax
|
|
702
|
+
* to enable you to truncate a piece of text,
|
|
703
|
+
* after a certain number of lines.
|
|
704
|
+
*/
|
|
700
705
|
.limel-form-row--layout {
|
|
701
706
|
--limel-form-row-border-radius: 0.375rem;
|
|
702
707
|
--limel-form-row-icon-size: 1.75rem;
|
|
@@ -52,6 +52,11 @@
|
|
|
52
52
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
53
53
|
* in the `<style>` tag of `index.html`.
|
|
54
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
|
+
*/
|
|
55
60
|
/*
|
|
56
61
|
* This file is imported into every component!
|
|
57
62
|
*
|
|
@@ -52,6 +52,11 @@
|
|
|
52
52
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
53
53
|
* in the `<style>` tag of `index.html`.
|
|
54
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
|
+
*/
|
|
55
60
|
limel-popover {
|
|
56
61
|
display: flex;
|
|
57
62
|
--popover-surface-width: min(calc(100vw - 4rem), 22rem);
|
|
@@ -52,6 +52,11 @@
|
|
|
52
52
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
53
53
|
* in the `<style>` tag of `index.html`.
|
|
54
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
|
+
*/
|
|
55
60
|
:host(limel-help-content) {
|
|
56
61
|
display: flex;
|
|
57
62
|
box-sizing: border-box;
|
|
@@ -52,6 +52,11 @@
|
|
|
52
52
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
53
53
|
* in the `<style>` tag of `index.html`.
|
|
54
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
|
+
*/
|
|
55
60
|
/**
|
|
56
61
|
* @prop --icon-background-color: Background color of the button.
|
|
57
62
|
*/
|
|
@@ -53,6 +53,11 @@
|
|
|
53
53
|
* in the `<style>` tag of `index.html`.
|
|
54
54
|
*/
|
|
55
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
|
+
/**
|
|
56
61
|
* @prop --info-tile-border-radius: defines the radius of corners of the info-tile. Defaults to `1rem`
|
|
57
62
|
* @prop --info-tile-icon-color: defines the fill color of the info-tile icon. Defaults to `--contrast-1000`
|
|
58
63
|
* @prop --info-tile-text-color: defines the color of the info-tile label. Defaults to `--contrast-1100`
|
|
@@ -118,6 +118,11 @@
|
|
|
118
118
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
119
119
|
* in the `<style>` tag of `index.html`.
|
|
120
120
|
*/
|
|
121
|
+
/**
|
|
122
|
+
* This mixin is a hack, using old CSS syntax
|
|
123
|
+
* to enable you to truncate a piece of text,
|
|
124
|
+
* after a certain number of lines.
|
|
125
|
+
*/
|
|
121
126
|
.mdc-notched-outline {
|
|
122
127
|
display: flex;
|
|
123
128
|
position: absolute;
|
|
@@ -58,6 +58,11 @@
|
|
|
58
58
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
59
59
|
* in the `<style>` tag of `index.html`.
|
|
60
60
|
*/
|
|
61
|
+
/**
|
|
62
|
+
* This mixin is a hack, using old CSS syntax
|
|
63
|
+
* to enable you to truncate a piece of text,
|
|
64
|
+
* after a certain number of lines.
|
|
65
|
+
*/
|
|
61
66
|
/*
|
|
62
67
|
* This file is imported into every component that uses MDC!
|
|
63
68
|
*
|
|
@@ -925,6 +930,11 @@
|
|
|
925
930
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
926
931
|
* in the `<style>` tag of `index.html`.
|
|
927
932
|
*/
|
|
933
|
+
/**
|
|
934
|
+
* This mixin is a hack, using old CSS syntax
|
|
935
|
+
* to enable you to truncate a piece of text,
|
|
936
|
+
* after a certain number of lines.
|
|
937
|
+
*/
|
|
928
938
|
:host(limel-checkbox:focus),
|
|
929
939
|
:host(limel-checkbox:focus-visible),
|
|
930
940
|
:host(limel-checkbox:focus-within),
|
|
@@ -5374,6 +5384,11 @@ a.mdc-list-item {
|
|
|
5374
5384
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
5375
5385
|
* in the `<style>` tag of `index.html`.
|
|
5376
5386
|
*/
|
|
5387
|
+
/**
|
|
5388
|
+
* This mixin is a hack, using old CSS syntax
|
|
5389
|
+
* to enable you to truncate a piece of text,
|
|
5390
|
+
* after a certain number of lines.
|
|
5391
|
+
*/
|
|
5377
5392
|
:host(limel-checkbox:focus),
|
|
5378
5393
|
:host(limel-checkbox:focus-visible),
|
|
5379
5394
|
:host(limel-checkbox:focus-within),
|
|
@@ -5885,6 +5900,11 @@ a.mdc-list-item {
|
|
|
5885
5900
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
5886
5901
|
* in the `<style>` tag of `index.html`.
|
|
5887
5902
|
*/
|
|
5903
|
+
/**
|
|
5904
|
+
* This mixin is a hack, using old CSS syntax
|
|
5905
|
+
* to enable you to truncate a piece of text,
|
|
5906
|
+
* after a certain number of lines.
|
|
5907
|
+
*/
|
|
5888
5908
|
:host(.has-striped-rows) .mdc-deprecated-list {
|
|
5889
5909
|
border: 1px solid rgb(var(--contrast-400));
|
|
5890
5910
|
}
|
|
@@ -5917,6 +5937,64 @@ a.mdc-list-item {
|
|
|
5917
5937
|
z-index: 1;
|
|
5918
5938
|
}
|
|
5919
5939
|
|
|
5940
|
+
/**
|
|
5941
|
+
* Note! This file is exported to `dist/scss/` in the published
|
|
5942
|
+
* node module, for consumer projects to import.
|
|
5943
|
+
* That means this file cannot import from any file that isn't
|
|
5944
|
+
* also exported, keeping the same relative path.
|
|
5945
|
+
*
|
|
5946
|
+
* Or, just don't import anything, that works too.
|
|
5947
|
+
*/
|
|
5948
|
+
/**
|
|
5949
|
+
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
5950
|
+
*/
|
|
5951
|
+
/**
|
|
5952
|
+
* This mixin will mask out the content that is close to
|
|
5953
|
+
* the edges of a scrollable area.
|
|
5954
|
+
* - If the scrollable content has `overflow-y`, use `vertically`
|
|
5955
|
+
* as an argument for `$direction`.
|
|
5956
|
+
- If the scrollable content has `overflow-x`, use `horizontally`
|
|
5957
|
+
* as an argument for `$direction`.
|
|
5958
|
+
*
|
|
5959
|
+
* For the visual effect to work smoothly, we need to make sure that
|
|
5960
|
+
* the size of the fade-out edge effect is the same as the
|
|
5961
|
+
* internal paddings of the scrollable area. Otherwise, content of a
|
|
5962
|
+
* scrollable area that does not have a padding will fade out before
|
|
5963
|
+
* any scrolling has been done.
|
|
5964
|
+
* This is why this mixin already adds paddings, which automatically
|
|
5965
|
+
* default to the size of the fade-out effect.
|
|
5966
|
+
* This size defaults to `1rem`, but to override the size use
|
|
5967
|
+
* `--limel-top-edge-fade-height` & `--limel-bottom-edge-fade-height`
|
|
5968
|
+
* when `vertically` argument is set, and use
|
|
5969
|
+
* `--limel-left-edge-fade-width` & `--limel-right-edge-fade-width`
|
|
5970
|
+
* when `horizontally` argument is set.
|
|
5971
|
+
* Of course you can also programmatically increase and decrease the
|
|
5972
|
+
* size of these variables for each edge, based on the amount of
|
|
5973
|
+
* scrolling that has been done by the user. In this case, make sure
|
|
5974
|
+
* to add a custom padding where the mixin is used, to override
|
|
5975
|
+
* the paddings that are automatically added by the mixin in the
|
|
5976
|
+
* compiled CSS code.
|
|
5977
|
+
*/
|
|
5978
|
+
/**
|
|
5979
|
+
* This mixin will add an animated underline to the bottom of an `a` elements.
|
|
5980
|
+
* Note that you may need to add `all: unset;` –depending on your use case–
|
|
5981
|
+
* before using this mixin.
|
|
5982
|
+
*/
|
|
5983
|
+
/**
|
|
5984
|
+
* This mixin creates a cross-browser font stack.
|
|
5985
|
+
* - `sans-serif` can be used for the UI of the components.
|
|
5986
|
+
* - `monospace` can be used for code.
|
|
5987
|
+
*
|
|
5988
|
+
* ⚠️ If we change the font stacks, we need to update
|
|
5989
|
+
* 1. the consumer documentation in `README.md`, and
|
|
5990
|
+
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
5991
|
+
* in the `<style>` tag of `index.html`.
|
|
5992
|
+
*/
|
|
5993
|
+
/**
|
|
5994
|
+
* This mixin is a hack, using old CSS syntax
|
|
5995
|
+
* to enable you to truncate a piece of text,
|
|
5996
|
+
* after a certain number of lines.
|
|
5997
|
+
*/
|
|
5920
5998
|
:host {
|
|
5921
5999
|
--line-height-of-secondary-text: 1rem;
|
|
5922
6000
|
}
|
|
@@ -5925,11 +6003,12 @@ a.mdc-list-item {
|
|
|
5925
6003
|
height: auto !important;
|
|
5926
6004
|
}
|
|
5927
6005
|
.mdc-deprecated-list-item .mdc-deprecated-list-item__secondary-text {
|
|
5928
|
-
line-height: var(--line-height-of-secondary-text);
|
|
5929
|
-
white-space: normal;
|
|
5930
6006
|
display: -webkit-box;
|
|
5931
|
-
|
|
6007
|
+
overflow: hidden;
|
|
6008
|
+
white-space: normal;
|
|
5932
6009
|
-webkit-box-orient: vertical;
|
|
6010
|
+
-webkit-line-clamp: var(--maxLinesSecondaryText);
|
|
6011
|
+
line-height: var(--line-height-of-secondary-text);
|
|
5933
6012
|
}
|
|
5934
6013
|
|
|
5935
6014
|
:host(.has-grid-layout) {
|
|
@@ -56,6 +56,11 @@
|
|
|
56
56
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
57
57
|
* in the `<style>` tag of `index.html`.
|
|
58
58
|
*/
|
|
59
|
+
/**
|
|
60
|
+
* This mixin is a hack, using old CSS syntax
|
|
61
|
+
* to enable you to truncate a piece of text,
|
|
62
|
+
* after a certain number of lines.
|
|
63
|
+
*/
|
|
59
64
|
/*
|
|
60
65
|
* This file is imported into every component!
|
|
61
66
|
*
|
|
@@ -64,6 +64,11 @@
|
|
|
64
64
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
65
65
|
* in the `<style>` tag of `index.html`.
|
|
66
66
|
*/
|
|
67
|
+
/**
|
|
68
|
+
* This mixin is a hack, using old CSS syntax
|
|
69
|
+
* to enable you to truncate a piece of text,
|
|
70
|
+
* after a certain number of lines.
|
|
71
|
+
*/
|
|
67
72
|
/*
|
|
68
73
|
* This file is imported into every component that uses MDC!
|
|
69
74
|
*
|
|
@@ -995,6 +1000,11 @@
|
|
|
995
1000
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
996
1001
|
* in the `<style>` tag of `index.html`.
|
|
997
1002
|
*/
|
|
1003
|
+
/**
|
|
1004
|
+
* This mixin is a hack, using old CSS syntax
|
|
1005
|
+
* to enable you to truncate a piece of text,
|
|
1006
|
+
* after a certain number of lines.
|
|
1007
|
+
*/
|
|
998
1008
|
:host(limel-checkbox:focus),
|
|
999
1009
|
:host(limel-checkbox:focus-visible),
|
|
1000
1010
|
:host(limel-checkbox:focus-within),
|
|
@@ -5444,6 +5454,11 @@ a.mdc-list-item {
|
|
|
5444
5454
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
5445
5455
|
* in the `<style>` tag of `index.html`.
|
|
5446
5456
|
*/
|
|
5457
|
+
/**
|
|
5458
|
+
* This mixin is a hack, using old CSS syntax
|
|
5459
|
+
* to enable you to truncate a piece of text,
|
|
5460
|
+
* after a certain number of lines.
|
|
5461
|
+
*/
|
|
5447
5462
|
:host(limel-checkbox:focus),
|
|
5448
5463
|
:host(limel-checkbox:focus-visible),
|
|
5449
5464
|
:host(limel-checkbox:focus-within),
|
|
@@ -5955,6 +5970,11 @@ a.mdc-list-item {
|
|
|
5955
5970
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
5956
5971
|
* in the `<style>` tag of `index.html`.
|
|
5957
5972
|
*/
|
|
5973
|
+
/**
|
|
5974
|
+
* This mixin is a hack, using old CSS syntax
|
|
5975
|
+
* to enable you to truncate a piece of text,
|
|
5976
|
+
* after a certain number of lines.
|
|
5977
|
+
*/
|
|
5958
5978
|
:host(.has-striped-rows) .mdc-deprecated-list {
|
|
5959
5979
|
border: 1px solid rgb(var(--contrast-400));
|
|
5960
5980
|
}
|
|
@@ -5987,6 +6007,64 @@ a.mdc-list-item {
|
|
|
5987
6007
|
z-index: 1;
|
|
5988
6008
|
}
|
|
5989
6009
|
|
|
6010
|
+
/**
|
|
6011
|
+
* Note! This file is exported to `dist/scss/` in the published
|
|
6012
|
+
* node module, for consumer projects to import.
|
|
6013
|
+
* That means this file cannot import from any file that isn't
|
|
6014
|
+
* also exported, keeping the same relative path.
|
|
6015
|
+
*
|
|
6016
|
+
* Or, just don't import anything, that works too.
|
|
6017
|
+
*/
|
|
6018
|
+
/**
|
|
6019
|
+
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
6020
|
+
*/
|
|
6021
|
+
/**
|
|
6022
|
+
* This mixin will mask out the content that is close to
|
|
6023
|
+
* the edges of a scrollable area.
|
|
6024
|
+
* - If the scrollable content has `overflow-y`, use `vertically`
|
|
6025
|
+
* as an argument for `$direction`.
|
|
6026
|
+
- If the scrollable content has `overflow-x`, use `horizontally`
|
|
6027
|
+
* as an argument for `$direction`.
|
|
6028
|
+
*
|
|
6029
|
+
* For the visual effect to work smoothly, we need to make sure that
|
|
6030
|
+
* the size of the fade-out edge effect is the same as the
|
|
6031
|
+
* internal paddings of the scrollable area. Otherwise, content of a
|
|
6032
|
+
* scrollable area that does not have a padding will fade out before
|
|
6033
|
+
* any scrolling has been done.
|
|
6034
|
+
* This is why this mixin already adds paddings, which automatically
|
|
6035
|
+
* default to the size of the fade-out effect.
|
|
6036
|
+
* This size defaults to `1rem`, but to override the size use
|
|
6037
|
+
* `--limel-top-edge-fade-height` & `--limel-bottom-edge-fade-height`
|
|
6038
|
+
* when `vertically` argument is set, and use
|
|
6039
|
+
* `--limel-left-edge-fade-width` & `--limel-right-edge-fade-width`
|
|
6040
|
+
* when `horizontally` argument is set.
|
|
6041
|
+
* Of course you can also programmatically increase and decrease the
|
|
6042
|
+
* size of these variables for each edge, based on the amount of
|
|
6043
|
+
* scrolling that has been done by the user. In this case, make sure
|
|
6044
|
+
* to add a custom padding where the mixin is used, to override
|
|
6045
|
+
* the paddings that are automatically added by the mixin in the
|
|
6046
|
+
* compiled CSS code.
|
|
6047
|
+
*/
|
|
6048
|
+
/**
|
|
6049
|
+
* This mixin will add an animated underline to the bottom of an `a` elements.
|
|
6050
|
+
* Note that you may need to add `all: unset;` –depending on your use case–
|
|
6051
|
+
* before using this mixin.
|
|
6052
|
+
*/
|
|
6053
|
+
/**
|
|
6054
|
+
* This mixin creates a cross-browser font stack.
|
|
6055
|
+
* - `sans-serif` can be used for the UI of the components.
|
|
6056
|
+
* - `monospace` can be used for code.
|
|
6057
|
+
*
|
|
6058
|
+
* ⚠️ If we change the font stacks, we need to update
|
|
6059
|
+
* 1. the consumer documentation in `README.md`, and
|
|
6060
|
+
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
6061
|
+
* in the `<style>` tag of `index.html`.
|
|
6062
|
+
*/
|
|
6063
|
+
/**
|
|
6064
|
+
* This mixin is a hack, using old CSS syntax
|
|
6065
|
+
* to enable you to truncate a piece of text,
|
|
6066
|
+
* after a certain number of lines.
|
|
6067
|
+
*/
|
|
5990
6068
|
:host {
|
|
5991
6069
|
--line-height-of-secondary-text: 1rem;
|
|
5992
6070
|
}
|
|
@@ -5995,11 +6073,12 @@ a.mdc-list-item {
|
|
|
5995
6073
|
height: auto !important;
|
|
5996
6074
|
}
|
|
5997
6075
|
.mdc-deprecated-list-item .mdc-deprecated-list-item__secondary-text {
|
|
5998
|
-
line-height: var(--line-height-of-secondary-text);
|
|
5999
|
-
white-space: normal;
|
|
6000
6076
|
display: -webkit-box;
|
|
6001
|
-
|
|
6077
|
+
overflow: hidden;
|
|
6078
|
+
white-space: normal;
|
|
6002
6079
|
-webkit-box-orient: vertical;
|
|
6080
|
+
-webkit-line-clamp: var(--maxLinesSecondaryText);
|
|
6081
|
+
line-height: var(--line-height-of-secondary-text);
|
|
6003
6082
|
}
|
|
6004
6083
|
|
|
6005
6084
|
:host(.has-grid-layout) {
|
|
@@ -58,6 +58,11 @@
|
|
|
58
58
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
59
59
|
* in the `<style>` tag of `index.html`.
|
|
60
60
|
*/
|
|
61
|
+
/**
|
|
62
|
+
* This mixin is a hack, using old CSS syntax
|
|
63
|
+
* to enable you to truncate a piece of text,
|
|
64
|
+
* after a certain number of lines.
|
|
65
|
+
*/
|
|
61
66
|
:host(limel-popover-surface) {
|
|
62
67
|
isolation: isolate;
|
|
63
68
|
position: relative;
|
|
@@ -52,6 +52,11 @@
|
|
|
52
52
|
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
53
53
|
* in the `<style>` tag of `index.html`.
|
|
54
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
|
+
*/
|
|
55
60
|
/*
|
|
56
61
|
* This file is imported into every component!
|
|
57
62
|
*
|