@limetech/lime-elements 39.14.0 → 39.15.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 +14 -0
- package/dist/cjs/limel-action-bar_3.cjs.entry.js +2 -2
- package/dist/cjs/limel-chip_2.cjs.entry.js +1 -1
- package/dist/cjs/limel-code-diff.cjs.entry.js +1 -1
- package/dist/cjs/limel-code-editor.cjs.entry.js +1 -1
- package/dist/cjs/limel-collapsible-section.cjs.entry.js +1 -1
- 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-dock-button.cjs.entry.js +1 -1
- package/dist/cjs/limel-dock.cjs.entry.js +1 -1
- package/dist/cjs/limel-drag-handle.cjs.entry.js +1 -1
- package/dist/cjs/limel-email-viewer.cjs.entry.js +1 -1
- package/dist/cjs/limel-help.cjs.entry.js +1 -1
- package/dist/cjs/limel-icon-button.cjs.entry.js +1 -1
- package/dist/cjs/limel-profile-picture.cjs.entry.js +1 -1
- package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +10 -3
- package/dist/cjs/limel-split-button.cjs.entry.js +1 -1
- package/dist/cjs/limel-tab-bar.cjs.entry.js +1 -1
- package/dist/collection/components/action-bar/action-bar-item/action-bar-item.css +17 -1
- package/dist/collection/components/action-bar/action-bar.css +27 -11
- package/dist/collection/components/badge/badge.css +9 -0
- package/dist/collection/components/breadcrumbs/breadcrumbs.css +9 -0
- package/dist/collection/components/button/button.css +9 -0
- package/dist/collection/components/button-group/button-group.css +9 -0
- package/dist/collection/components/card/card.css +9 -0
- package/dist/collection/components/chart/chart.css +9 -0
- package/dist/collection/components/checkbox/checkbox.css +9 -0
- package/dist/collection/components/chip/chip.css +27 -11
- package/dist/collection/components/chip-set/chip-set.css +9 -0
- package/dist/collection/components/circular-progress/circular-progress.css +9 -0
- package/dist/collection/components/code-diff/code-diff.css +26 -10
- package/dist/collection/components/code-editor/code-editor.css +26 -10
- package/dist/collection/components/collapsible-section/collapsible-section.css +24 -8
- package/dist/collection/components/color-picker/color-picker-palette.css +17 -1
- package/dist/collection/components/color-picker/color-picker.css +17 -1
- package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.css +9 -0
- package/dist/collection/components/dialog/dialog.css +9 -0
- package/dist/collection/components/dock/dock-button/dock-button.css +30 -14
- package/dist/collection/components/dock/dock.css +29 -13
- package/dist/collection/components/drag-handle/drag-handle.css +17 -1
- package/dist/collection/components/email-viewer/email-viewer.css +17 -1
- package/dist/collection/components/file/file.css +9 -0
- package/dist/collection/components/file-viewer/file-viewer.css +9 -0
- package/dist/collection/components/form/form.css +9 -0
- package/dist/collection/components/header/header.css +9 -0
- package/dist/collection/components/help/help.css +17 -1
- package/dist/collection/components/help/limel-help-content.css +9 -0
- package/dist/collection/components/hotkey/hotkey.css +9 -0
- package/dist/collection/components/icon-button/icon-button.css +17 -1
- package/dist/collection/components/info-tile/info-tile.css +9 -0
- package/dist/collection/components/input-field/input-field.css +9 -0
- package/dist/collection/components/list/list.css +9 -0
- package/dist/collection/components/list-item/list-item.css +9 -0
- package/dist/collection/components/list-item/menu-item-meta/menu-item-meta.css +9 -0
- package/dist/collection/components/markdown/markdown.css +9 -0
- package/dist/collection/components/menu-list/menu-list.css +9 -0
- package/dist/collection/components/notched-outline/notched-outline.css +9 -0
- package/dist/collection/components/popover-surface/popover-surface.css +9 -0
- package/dist/collection/components/profile-picture/profile-picture.css +17 -1
- package/dist/collection/components/progress-flow/progress-flow-item/progress-flow-item.css +9 -0
- package/dist/collection/components/radio-button-group/radio-button.css +9 -0
- package/dist/collection/components/select/select.css +9 -0
- package/dist/collection/components/shortcut/shortcut.css +9 -0
- package/dist/collection/components/slider/slider.css +9 -0
- package/dist/collection/components/split-button/split-button.css +30 -14
- package/dist/collection/components/switch/switch.css +9 -0
- package/dist/collection/components/tab-bar/tab-bar.css +17 -1
- package/dist/collection/components/table/table.css +9 -0
- package/dist/collection/components/text-editor/prosemirror-adapter/plugins/trigger/create-html-inserter.js +2 -2
- package/dist/collection/components/text-editor/prosemirror-adapter/plugins/trigger/factory-helpers/append-transaction-handler.js +7 -0
- package/dist/collection/components/text-editor/prosemirror-adapter/plugins/trigger/inserter.js +1 -1
- package/dist/collection/components/text-editor/prosemirror-adapter/prosemirror-adapter.css +9 -0
- package/dist/collection/components/text-editor/text-editor.css +9 -0
- package/dist/collection/scss/mixins.scss +20 -0
- package/dist/collection/style/mixins.scss +20 -0
- package/dist/esm/limel-action-bar_3.entry.js +2 -2
- package/dist/esm/limel-chip_2.entry.js +1 -1
- package/dist/esm/limel-code-diff.entry.js +1 -1
- package/dist/esm/limel-code-editor.entry.js +1 -1
- package/dist/esm/limel-collapsible-section.entry.js +1 -1
- 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-dock-button.entry.js +1 -1
- package/dist/esm/limel-dock.entry.js +1 -1
- package/dist/esm/limel-drag-handle.entry.js +1 -1
- package/dist/esm/limel-email-viewer.entry.js +1 -1
- package/dist/esm/limel-help.entry.js +1 -1
- package/dist/esm/limel-icon-button.entry.js +1 -1
- package/dist/esm/limel-profile-picture.entry.js +1 -1
- package/dist/esm/limel-prosemirror-adapter.entry.js +10 -3
- package/dist/esm/limel-split-button.entry.js +1 -1
- package/dist/esm/limel-tab-bar.entry.js +1 -1
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-8c7a7003.entry.js → p-01e2da83.entry.js} +1 -1
- package/dist/lime-elements/p-0f8672fe.entry.js +1 -0
- package/dist/lime-elements/{p-f10ca306.entry.js → p-1088b462.entry.js} +1 -1
- package/dist/lime-elements/p-295e8e35.entry.js +1 -0
- package/dist/lime-elements/{p-c3ff8518.entry.js → p-3a4e858e.entry.js} +1 -1
- package/dist/lime-elements/p-43bbcb52.entry.js +1 -0
- package/dist/lime-elements/{p-9908b57a.entry.js → p-4b761d70.entry.js} +1 -1
- package/dist/lime-elements/{p-756f452c.entry.js → p-6f6c28f8.entry.js} +1 -1
- package/dist/lime-elements/p-7acd89d5.entry.js +1 -0
- package/dist/lime-elements/p-a334ac50.entry.js +1 -0
- package/dist/lime-elements/{p-c3d565e2.entry.js → p-b46fa7b5.entry.js} +1 -1
- package/dist/lime-elements/p-c4813e26.entry.js +1 -0
- package/dist/lime-elements/{p-5ee484a7.entry.js → p-cffc137e.entry.js} +1 -1
- package/dist/lime-elements/p-ddd7cb78.entry.js +1 -0
- package/dist/lime-elements/p-e5b03d42.entry.js +1 -0
- package/dist/lime-elements/{p-53b94806.entry.js → p-eecef02e.entry.js} +1 -1
- package/dist/lime-elements/{p-b57b08b6.entry.js → p-f6c3f49b.entry.js} +1 -1
- package/dist/lime-elements/scss/mixins.scss +20 -0
- package/dist/lime-elements/style/mixins.scss +20 -0
- package/dist/scss/mixins.scss +20 -0
- package/dist/types/components/text-editor/prosemirror-adapter/plugins/trigger/create-html-inserter.d.ts +2 -1
- package/package.json +1 -1
- package/dist/lime-elements/p-0ea2db02.entry.js +0 -1
- package/dist/lime-elements/p-358b277c.entry.js +0 -1
- package/dist/lime-elements/p-8299af78.entry.js +0 -1
- package/dist/lime-elements/p-c20a620d.entry.js +0 -1
- package/dist/lime-elements/p-c5f15334.entry.js +0 -1
- package/dist/lime-elements/p-ed8129db.entry.js +0 -1
- package/dist/lime-elements/p-f9cfcd03.entry.js +0 -1
- package/dist/lime-elements/p-f9d5513d.entry.js +0 -1
|
@@ -135,6 +135,15 @@ section.open .open-close-toggle:focus-visible + .expand-icon .line:nth-of-type(3
|
|
|
135
135
|
* for backward compatibility via copy rules in the Stencil config.
|
|
136
136
|
*/
|
|
137
137
|
/**
|
|
138
|
+
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
|
|
139
|
+
* (their default background, border, padding, font, etc.), without stripping
|
|
140
|
+
* the useful defaults that `all: unset;` would also remove
|
|
141
|
+
* (such as `display`, `cursor`, and focus behavior).
|
|
142
|
+
*
|
|
143
|
+
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
|
|
144
|
+
* the styling you want on top — often one of the `is-*-clickable` mixins.
|
|
145
|
+
*/
|
|
146
|
+
/**
|
|
138
147
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
139
148
|
*/
|
|
140
149
|
/**
|
|
@@ -235,34 +244,41 @@ section.open .open-close-toggle:focus-visible + .expand-icon .line:nth-of-type(3
|
|
|
235
244
|
display: none;
|
|
236
245
|
}
|
|
237
246
|
|
|
238
|
-
.open-close-toggle {
|
|
239
|
-
|
|
247
|
+
button.open-close-toggle {
|
|
248
|
+
appearance: none;
|
|
249
|
+
background: none;
|
|
250
|
+
border: none;
|
|
251
|
+
padding: 0;
|
|
252
|
+
margin: 0;
|
|
253
|
+
font: inherit;
|
|
254
|
+
color: inherit;
|
|
255
|
+
text-align: inherit;
|
|
240
256
|
position: absolute;
|
|
241
257
|
inset: 0;
|
|
242
258
|
width: 100%;
|
|
243
259
|
}
|
|
244
|
-
.open-close-toggle:focus {
|
|
260
|
+
button.open-close-toggle:focus {
|
|
245
261
|
outline: none;
|
|
246
262
|
}
|
|
247
|
-
.open-close-toggle:focus-visible {
|
|
263
|
+
button.open-close-toggle:focus-visible {
|
|
248
264
|
outline: none;
|
|
249
265
|
box-shadow: var(--shadow-depth-8-focused);
|
|
250
266
|
}
|
|
251
|
-
.open-close-toggle {
|
|
267
|
+
button.open-close-toggle {
|
|
252
268
|
transition: background-color 0.4s ease, border-radius 0.1s ease;
|
|
253
269
|
cursor: pointer;
|
|
254
270
|
z-index: -1;
|
|
255
271
|
background-color: var(--closed-header-background-color, rgb(var(--contrast-200)));
|
|
256
272
|
border-radius: var(--border-radius-of-header);
|
|
257
273
|
}
|
|
258
|
-
.open-close-toggle:hover, .open-close-toggle:focus-visible {
|
|
274
|
+
button.open-close-toggle:hover, button.open-close-toggle:focus-visible {
|
|
259
275
|
background-color: var(--open-header-background-color, rgb(var(--contrast-300)));
|
|
260
276
|
}
|
|
261
|
-
section.open .open-close-toggle {
|
|
277
|
+
section.open button.open-close-toggle {
|
|
262
278
|
background-color: var(--open-header-background-color, rgb(var(--contrast-100)));
|
|
263
279
|
border-radius: var(--border-radius-of-header) var(--border-radius-of-header) var(--limel-cs-open-header-bottom-border-radius, 0) var(--limel-cs-open-header-bottom-border-radius, 0);
|
|
264
280
|
}
|
|
265
|
-
section.open .open-close-toggle:hover, section.open .open-close-toggle:focus-visible {
|
|
281
|
+
section.open button.open-close-toggle:hover, section.open button.open-close-toggle:focus-visible {
|
|
266
282
|
background-color: var(--open-header-background-color, rgb(var(--contrast-300)));
|
|
267
283
|
}
|
|
268
284
|
|
|
@@ -16,6 +16,15 @@
|
|
|
16
16
|
* for backward compatibility via copy rules in the Stencil config.
|
|
17
17
|
*/
|
|
18
18
|
/**
|
|
19
|
+
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
|
|
20
|
+
* (their default background, border, padding, font, etc.), without stripping
|
|
21
|
+
* the useful defaults that `all: unset;` would also remove
|
|
22
|
+
* (such as `display`, `cursor`, and focus behavior).
|
|
23
|
+
*
|
|
24
|
+
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
|
|
25
|
+
* the styling you want on top — often one of the `is-*-clickable` mixins.
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
19
28
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
20
29
|
*/
|
|
21
30
|
/**
|
|
@@ -194,7 +203,14 @@ limel-input-field {
|
|
|
194
203
|
}
|
|
195
204
|
|
|
196
205
|
button.swatch {
|
|
197
|
-
|
|
206
|
+
appearance: none;
|
|
207
|
+
background: none;
|
|
208
|
+
border: none;
|
|
209
|
+
padding: 0;
|
|
210
|
+
margin: 0;
|
|
211
|
+
font: inherit;
|
|
212
|
+
color: inherit;
|
|
213
|
+
text-align: inherit;
|
|
198
214
|
position: relative;
|
|
199
215
|
display: flex;
|
|
200
216
|
justify-content: center;
|
|
@@ -10,6 +10,15 @@
|
|
|
10
10
|
* for backward compatibility via copy rules in the Stencil config.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
+
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
|
|
14
|
+
* (their default background, border, padding, font, etc.), without stripping
|
|
15
|
+
* the useful defaults that `all: unset;` would also remove
|
|
16
|
+
* (such as `display`, `cursor`, and focus behavior).
|
|
17
|
+
*
|
|
18
|
+
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
|
|
19
|
+
* the styling you want on top — often one of the `is-*-clickable` mixins.
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
13
22
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
14
23
|
*/
|
|
15
24
|
/**
|
|
@@ -138,7 +147,14 @@
|
|
|
138
147
|
}
|
|
139
148
|
|
|
140
149
|
button[slot=trigger] {
|
|
141
|
-
|
|
150
|
+
appearance: none;
|
|
151
|
+
background: none;
|
|
152
|
+
border: none;
|
|
153
|
+
padding: 0;
|
|
154
|
+
margin: 0;
|
|
155
|
+
font: inherit;
|
|
156
|
+
color: inherit;
|
|
157
|
+
text-align: inherit;
|
|
142
158
|
box-sizing: border-box;
|
|
143
159
|
position: relative;
|
|
144
160
|
isolation: isolate;
|
|
@@ -16,6 +16,15 @@
|
|
|
16
16
|
* for backward compatibility via copy rules in the Stencil config.
|
|
17
17
|
*/
|
|
18
18
|
/**
|
|
19
|
+
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
|
|
20
|
+
* (their default background, border, padding, font, etc.), without stripping
|
|
21
|
+
* the useful defaults that `all: unset;` would also remove
|
|
22
|
+
* (such as `display`, `cursor`, and focus behavior).
|
|
23
|
+
*
|
|
24
|
+
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
|
|
25
|
+
* the styling you want on top — often one of the `is-*-clickable` mixins.
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
19
28
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
20
29
|
*/
|
|
21
30
|
/**
|
|
@@ -16,6 +16,15 @@
|
|
|
16
16
|
* for backward compatibility via copy rules in the Stencil config.
|
|
17
17
|
*/
|
|
18
18
|
/**
|
|
19
|
+
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
|
|
20
|
+
* (their default background, border, padding, font, etc.), without stripping
|
|
21
|
+
* the useful defaults that `all: unset;` would also remove
|
|
22
|
+
* (such as `display`, `cursor`, and focus behavior).
|
|
23
|
+
*
|
|
24
|
+
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
|
|
25
|
+
* the styling you want on top — often one of the `is-*-clickable` mixins.
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
19
28
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
20
29
|
*/
|
|
21
30
|
/**
|
|
@@ -10,6 +10,15 @@
|
|
|
10
10
|
* for backward compatibility via copy rules in the Stencil config.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
+
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
|
|
14
|
+
* (their default background, border, padding, font, etc.), without stripping
|
|
15
|
+
* the useful defaults that `all: unset;` would also remove
|
|
16
|
+
* (such as `display`, `cursor`, and focus behavior).
|
|
17
|
+
*
|
|
18
|
+
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
|
|
19
|
+
* the styling you want on top — often one of the `is-*-clickable` mixins.
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
13
22
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
14
23
|
*/
|
|
15
24
|
/**
|
|
@@ -94,8 +103,15 @@
|
|
|
94
103
|
* Nothing in this file may output any CSS
|
|
95
104
|
* without being explicitly called by outside code.
|
|
96
105
|
*/
|
|
97
|
-
.button {
|
|
98
|
-
|
|
106
|
+
button.button {
|
|
107
|
+
appearance: none;
|
|
108
|
+
background: none;
|
|
109
|
+
border: none;
|
|
110
|
+
padding: 0;
|
|
111
|
+
margin: 0;
|
|
112
|
+
font: inherit;
|
|
113
|
+
color: inherit;
|
|
114
|
+
text-align: inherit;
|
|
99
115
|
isolation: isolate;
|
|
100
116
|
position: relative;
|
|
101
117
|
transition: color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);
|
|
@@ -103,18 +119,18 @@
|
|
|
103
119
|
color: var(--limel-dock-item-text-color);
|
|
104
120
|
background-color: var(--dock-background-color);
|
|
105
121
|
}
|
|
106
|
-
.button:hover, .button:focus, .button:focus-visible {
|
|
122
|
+
button.button:hover, button.button:focus, button.button:focus-visible {
|
|
107
123
|
will-change: color, background-color, box-shadow, transform;
|
|
108
124
|
}
|
|
109
|
-
.button:hover, .button:focus-visible {
|
|
125
|
+
button.button:hover, button.button:focus-visible {
|
|
110
126
|
transform: translate3d(0, -0.04rem, 0);
|
|
111
127
|
color: var(--limel-theme-on-surface-color);
|
|
112
128
|
background-color: var(--lime-elevated-surface-background-color);
|
|
113
129
|
}
|
|
114
|
-
.button:hover {
|
|
130
|
+
button.button:hover {
|
|
115
131
|
box-shadow: var(--button-shadow-hovered);
|
|
116
132
|
}
|
|
117
|
-
.button:active {
|
|
133
|
+
button.button:active {
|
|
118
134
|
--limel-clickable-transform-timing-function: cubic-bezier(
|
|
119
135
|
0.83,
|
|
120
136
|
-0.15,
|
|
@@ -125,18 +141,18 @@
|
|
|
125
141
|
background-color: var(--limel-theme-surface-background-color);
|
|
126
142
|
box-shadow: var(--button-shadow-inset-pressed);
|
|
127
143
|
}
|
|
128
|
-
.button:hover, .button:active {
|
|
144
|
+
button.button:hover, button.button:active {
|
|
129
145
|
--limel-clickable-transition-speed: 0.2s;
|
|
130
146
|
--limel-clickable-transform-speed: 0.16s;
|
|
131
147
|
}
|
|
132
|
-
.button:focus {
|
|
148
|
+
button.button:focus {
|
|
133
149
|
outline: none;
|
|
134
150
|
}
|
|
135
|
-
.button:focus-visible {
|
|
151
|
+
button.button:focus-visible {
|
|
136
152
|
outline: none;
|
|
137
153
|
box-shadow: var(--shadow-depth-8-focused);
|
|
138
154
|
}
|
|
139
|
-
.button {
|
|
155
|
+
button.button {
|
|
140
156
|
box-sizing: border-box;
|
|
141
157
|
display: flex;
|
|
142
158
|
align-items: center;
|
|
@@ -147,18 +163,18 @@
|
|
|
147
163
|
padding: 0 0.5rem;
|
|
148
164
|
min-width: var(--dock-item-height);
|
|
149
165
|
}
|
|
150
|
-
.button:hover {
|
|
166
|
+
button.button:hover {
|
|
151
167
|
z-index: 1;
|
|
152
168
|
}
|
|
153
|
-
.button.selected {
|
|
169
|
+
button.button.selected {
|
|
154
170
|
color: var(--limel-dock-item-text-color--selected);
|
|
155
171
|
background-color: var(--dock-item-background-color--selected, rgb(var(--contrast-200)));
|
|
156
172
|
box-shadow: var(--button-shadow-inset);
|
|
157
173
|
}
|
|
158
|
-
.button.selected:focus-visible {
|
|
174
|
+
button.button.selected:focus-visible {
|
|
159
175
|
box-shadow: var(--button-shadow-inset), var(--shadow-depth-8-focused);
|
|
160
176
|
}
|
|
161
|
-
.button.selected .icon {
|
|
177
|
+
button.button.selected .icon {
|
|
162
178
|
color: var(--limel-dock-item-text--selected);
|
|
163
179
|
}
|
|
164
180
|
|
|
@@ -10,6 +10,15 @@
|
|
|
10
10
|
* for backward compatibility via copy rules in the Stencil config.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
+
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
|
|
14
|
+
* (their default background, border, padding, font, etc.), without stripping
|
|
15
|
+
* the useful defaults that `all: unset;` would also remove
|
|
16
|
+
* (such as `display`, `cursor`, and focus behavior).
|
|
17
|
+
*
|
|
18
|
+
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
|
|
19
|
+
* the styling you want on top — often one of the `is-*-clickable` mixins.
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
13
22
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
14
23
|
*/
|
|
15
24
|
/**
|
|
@@ -94,26 +103,33 @@
|
|
|
94
103
|
* Nothing in this file may output any CSS
|
|
95
104
|
* without being explicitly called by outside code.
|
|
96
105
|
*/
|
|
97
|
-
.expand-shrink {
|
|
98
|
-
|
|
106
|
+
button.expand-shrink {
|
|
107
|
+
appearance: none;
|
|
108
|
+
background: none;
|
|
109
|
+
border: none;
|
|
110
|
+
padding: 0;
|
|
111
|
+
margin: 0;
|
|
112
|
+
font: inherit;
|
|
113
|
+
color: inherit;
|
|
114
|
+
text-align: inherit;
|
|
99
115
|
box-sizing: border-box;
|
|
100
116
|
transition: color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);
|
|
101
117
|
cursor: pointer;
|
|
102
118
|
color: var(--limel-theme-on-surface-color);
|
|
103
119
|
background-color: transparent;
|
|
104
120
|
}
|
|
105
|
-
.expand-shrink:hover, .expand-shrink:focus, .expand-shrink:focus-visible {
|
|
121
|
+
button.expand-shrink:hover, button.expand-shrink:focus, button.expand-shrink:focus-visible {
|
|
106
122
|
will-change: color, background-color, box-shadow, transform;
|
|
107
123
|
}
|
|
108
|
-
.expand-shrink:hover, .expand-shrink:focus-visible {
|
|
124
|
+
button.expand-shrink:hover, button.expand-shrink:focus-visible {
|
|
109
125
|
transform: translate3d(0, 0.01rem, 0);
|
|
110
126
|
color: var(--limel-theme-on-surface-color);
|
|
111
127
|
background-color: var(--lime-elevated-surface-background-color);
|
|
112
128
|
}
|
|
113
|
-
.expand-shrink:hover {
|
|
129
|
+
button.expand-shrink:hover {
|
|
114
130
|
box-shadow: var(--button-shadow-hovered);
|
|
115
131
|
}
|
|
116
|
-
.expand-shrink:active {
|
|
132
|
+
button.expand-shrink:active {
|
|
117
133
|
--limel-clickable-transform-timing-function: cubic-bezier(
|
|
118
134
|
0.83,
|
|
119
135
|
-0.15,
|
|
@@ -123,18 +139,18 @@
|
|
|
123
139
|
transform: translate3d(0, 0.05rem, 0);
|
|
124
140
|
box-shadow: var(--button-shadow-pressed);
|
|
125
141
|
}
|
|
126
|
-
.expand-shrink:hover, .expand-shrink:active {
|
|
142
|
+
button.expand-shrink:hover, button.expand-shrink:active {
|
|
127
143
|
--limel-clickable-transition-speed: 0.2s;
|
|
128
144
|
--limel-clickable-transform-speed: 0.16s;
|
|
129
145
|
}
|
|
130
|
-
.expand-shrink:focus {
|
|
146
|
+
button.expand-shrink:focus {
|
|
131
147
|
outline: none;
|
|
132
148
|
}
|
|
133
|
-
.expand-shrink:focus-visible {
|
|
149
|
+
button.expand-shrink:focus-visible {
|
|
134
150
|
outline: none;
|
|
135
151
|
box-shadow: var(--shadow-depth-8-focused);
|
|
136
152
|
}
|
|
137
|
-
.expand-shrink {
|
|
153
|
+
button.expand-shrink {
|
|
138
154
|
display: flex;
|
|
139
155
|
justify-content: center;
|
|
140
156
|
align-items: center;
|
|
@@ -143,13 +159,13 @@
|
|
|
143
159
|
margin: var(--limel-dock-padding);
|
|
144
160
|
border-radius: 0.375rem;
|
|
145
161
|
}
|
|
146
|
-
.expand-shrink.expanded {
|
|
162
|
+
button.expand-shrink.expanded {
|
|
147
163
|
justify-content: flex-end;
|
|
148
164
|
}
|
|
149
|
-
.expand-shrink.expanded limel-icon {
|
|
165
|
+
button.expand-shrink.expanded limel-icon {
|
|
150
166
|
transform: rotateY(180deg);
|
|
151
167
|
}
|
|
152
|
-
.expand-shrink limel-icon {
|
|
168
|
+
button.expand-shrink limel-icon {
|
|
153
169
|
width: calc(var(--dock-expand-shrink-button-height) - 0.25rem);
|
|
154
170
|
color: var(--dock-item-icon-color, var(--limel-dock-item-text-color));
|
|
155
171
|
}
|
|
@@ -10,6 +10,15 @@
|
|
|
10
10
|
* for backward compatibility via copy rules in the Stencil config.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
+
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
|
|
14
|
+
* (their default background, border, padding, font, etc.), without stripping
|
|
15
|
+
* the useful defaults that `all: unset;` would also remove
|
|
16
|
+
* (such as `display`, `cursor`, and focus behavior).
|
|
17
|
+
*
|
|
18
|
+
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
|
|
19
|
+
* the styling you want on top — often one of the `is-*-clickable` mixins.
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
13
22
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
14
23
|
*/
|
|
15
24
|
/**
|
|
@@ -95,7 +104,14 @@ limel-drag-handle {
|
|
|
95
104
|
}
|
|
96
105
|
|
|
97
106
|
button.limel-drag-handle {
|
|
98
|
-
|
|
107
|
+
appearance: none;
|
|
108
|
+
background: none;
|
|
109
|
+
border: none;
|
|
110
|
+
padding: 0;
|
|
111
|
+
margin: 0;
|
|
112
|
+
font: inherit;
|
|
113
|
+
color: inherit;
|
|
114
|
+
text-align: inherit;
|
|
99
115
|
}
|
|
100
116
|
button.limel-drag-handle:focus {
|
|
101
117
|
outline: none;
|
|
@@ -10,6 +10,15 @@
|
|
|
10
10
|
* for backward compatibility via copy rules in the Stencil config.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
+
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
|
|
14
|
+
* (their default background, border, padding, font, etc.), without stripping
|
|
15
|
+
* the useful defaults that `all: unset;` would also remove
|
|
16
|
+
* (such as `display`, `cursor`, and focus behavior).
|
|
17
|
+
*
|
|
18
|
+
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
|
|
19
|
+
* the styling you want on top — often one of the `is-*-clickable` mixins.
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
13
22
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
14
23
|
*/
|
|
15
24
|
/**
|
|
@@ -240,7 +249,14 @@ limel-collapsible-section {
|
|
|
240
249
|
box-shadow: var(--shadow-depth-8);
|
|
241
250
|
}
|
|
242
251
|
limel-collapsible-section button {
|
|
243
|
-
|
|
252
|
+
appearance: none;
|
|
253
|
+
background: none;
|
|
254
|
+
border: none;
|
|
255
|
+
padding: 0;
|
|
256
|
+
margin: 0;
|
|
257
|
+
font: inherit;
|
|
258
|
+
color: inherit;
|
|
259
|
+
text-align: inherit;
|
|
244
260
|
flex-shrink: 0;
|
|
245
261
|
border-radius: 0.375rem;
|
|
246
262
|
padding: 0.25rem 0.5rem;
|
|
@@ -10,6 +10,15 @@
|
|
|
10
10
|
* for backward compatibility via copy rules in the Stencil config.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
+
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
|
|
14
|
+
* (their default background, border, padding, font, etc.), without stripping
|
|
15
|
+
* the useful defaults that `all: unset;` would also remove
|
|
16
|
+
* (such as `display`, `cursor`, and focus behavior).
|
|
17
|
+
*
|
|
18
|
+
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
|
|
19
|
+
* the styling you want on top — often one of the `is-*-clickable` mixins.
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
13
22
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
14
23
|
*/
|
|
15
24
|
/**
|
|
@@ -16,6 +16,15 @@
|
|
|
16
16
|
* for backward compatibility via copy rules in the Stencil config.
|
|
17
17
|
*/
|
|
18
18
|
/**
|
|
19
|
+
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
|
|
20
|
+
* (their default background, border, padding, font, etc.), without stripping
|
|
21
|
+
* the useful defaults that `all: unset;` would also remove
|
|
22
|
+
* (such as `display`, `cursor`, and focus behavior).
|
|
23
|
+
*
|
|
24
|
+
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
|
|
25
|
+
* the styling you want on top — often one of the `is-*-clickable` mixins.
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
19
28
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
20
29
|
*/
|
|
21
30
|
/**
|
|
@@ -10,6 +10,15 @@
|
|
|
10
10
|
* for backward compatibility via copy rules in the Stencil config.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
+
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
|
|
14
|
+
* (their default background, border, padding, font, etc.), without stripping
|
|
15
|
+
* the useful defaults that `all: unset;` would also remove
|
|
16
|
+
* (such as `display`, `cursor`, and focus behavior).
|
|
17
|
+
*
|
|
18
|
+
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
|
|
19
|
+
* the styling you want on top — often one of the `is-*-clickable` mixins.
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
13
22
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
14
23
|
*/
|
|
15
24
|
/**
|
|
@@ -10,6 +10,15 @@
|
|
|
10
10
|
* for backward compatibility via copy rules in the Stencil config.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
+
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
|
|
14
|
+
* (their default background, border, padding, font, etc.), without stripping
|
|
15
|
+
* the useful defaults that `all: unset;` would also remove
|
|
16
|
+
* (such as `display`, `cursor`, and focus behavior).
|
|
17
|
+
*
|
|
18
|
+
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
|
|
19
|
+
* the styling you want on top — often one of the `is-*-clickable` mixins.
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
13
22
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
14
23
|
*/
|
|
15
24
|
/**
|
|
@@ -10,6 +10,15 @@
|
|
|
10
10
|
* for backward compatibility via copy rules in the Stencil config.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
+
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
|
|
14
|
+
* (their default background, border, padding, font, etc.), without stripping
|
|
15
|
+
* the useful defaults that `all: unset;` would also remove
|
|
16
|
+
* (such as `display`, `cursor`, and focus behavior).
|
|
17
|
+
*
|
|
18
|
+
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
|
|
19
|
+
* the styling you want on top — often one of the `is-*-clickable` mixins.
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
13
22
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
14
23
|
*/
|
|
15
24
|
/**
|
|
@@ -94,7 +103,14 @@ limel-popover {
|
|
|
94
103
|
}
|
|
95
104
|
|
|
96
105
|
button[slot=trigger] {
|
|
97
|
-
|
|
106
|
+
appearance: none;
|
|
107
|
+
background: none;
|
|
108
|
+
border: none;
|
|
109
|
+
padding: 0;
|
|
110
|
+
margin: 0;
|
|
111
|
+
font: inherit;
|
|
112
|
+
color: inherit;
|
|
113
|
+
text-align: inherit;
|
|
98
114
|
transition: color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);
|
|
99
115
|
cursor: pointer;
|
|
100
116
|
color: var(--limel-theme-on-surface-color);
|
|
@@ -10,6 +10,15 @@
|
|
|
10
10
|
* for backward compatibility via copy rules in the Stencil config.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
+
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
|
|
14
|
+
* (their default background, border, padding, font, etc.), without stripping
|
|
15
|
+
* the useful defaults that `all: unset;` would also remove
|
|
16
|
+
* (such as `display`, `cursor`, and focus behavior).
|
|
17
|
+
*
|
|
18
|
+
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
|
|
19
|
+
* the styling you want on top — often one of the `is-*-clickable` mixins.
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
13
22
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
14
23
|
*/
|
|
15
24
|
/**
|
|
@@ -13,6 +13,15 @@
|
|
|
13
13
|
* for backward compatibility via copy rules in the Stencil config.
|
|
14
14
|
*/
|
|
15
15
|
/**
|
|
16
|
+
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
|
|
17
|
+
* (their default background, border, padding, font, etc.), without stripping
|
|
18
|
+
* the useful defaults that `all: unset;` would also remove
|
|
19
|
+
* (such as `display`, `cursor`, and focus behavior).
|
|
20
|
+
*
|
|
21
|
+
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
|
|
22
|
+
* the styling you want on top — often one of the `is-*-clickable` mixins.
|
|
23
|
+
*/
|
|
24
|
+
/**
|
|
16
25
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
17
26
|
*/
|
|
18
27
|
/**
|
|
@@ -10,6 +10,15 @@
|
|
|
10
10
|
* for backward compatibility via copy rules in the Stencil config.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
+
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
|
|
14
|
+
* (their default background, border, padding, font, etc.), without stripping
|
|
15
|
+
* the useful defaults that `all: unset;` would also remove
|
|
16
|
+
* (such as `display`, `cursor`, and focus behavior).
|
|
17
|
+
*
|
|
18
|
+
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
|
|
19
|
+
* the styling you want on top — often one of the `is-*-clickable` mixins.
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
13
22
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
14
23
|
*/
|
|
15
24
|
/**
|
|
@@ -98,7 +107,14 @@
|
|
|
98
107
|
}
|
|
99
108
|
|
|
100
109
|
button {
|
|
101
|
-
|
|
110
|
+
appearance: none;
|
|
111
|
+
background: none;
|
|
112
|
+
border: none;
|
|
113
|
+
padding: 0;
|
|
114
|
+
margin: 0;
|
|
115
|
+
font: inherit;
|
|
116
|
+
color: inherit;
|
|
117
|
+
text-align: inherit;
|
|
102
118
|
}
|
|
103
119
|
button:not(:disabled) {
|
|
104
120
|
transition: color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);
|
|
@@ -23,6 +23,15 @@
|
|
|
23
23
|
* for backward compatibility via copy rules in the Stencil config.
|
|
24
24
|
*/
|
|
25
25
|
/**
|
|
26
|
+
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
|
|
27
|
+
* (their default background, border, padding, font, etc.), without stripping
|
|
28
|
+
* the useful defaults that `all: unset;` would also remove
|
|
29
|
+
* (such as `display`, `cursor`, and focus behavior).
|
|
30
|
+
*
|
|
31
|
+
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
|
|
32
|
+
* the styling you want on top — often one of the `is-*-clickable` mixins.
|
|
33
|
+
*/
|
|
34
|
+
/**
|
|
26
35
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
27
36
|
*/
|
|
28
37
|
/**
|
|
@@ -10,6 +10,15 @@
|
|
|
10
10
|
* for backward compatibility via copy rules in the Stencil config.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
+
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
|
|
14
|
+
* (their default background, border, padding, font, etc.), without stripping
|
|
15
|
+
* the useful defaults that `all: unset;` would also remove
|
|
16
|
+
* (such as `display`, `cursor`, and focus behavior).
|
|
17
|
+
*
|
|
18
|
+
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
|
|
19
|
+
* the styling you want on top — often one of the `is-*-clickable` mixins.
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
13
22
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
14
23
|
*/
|
|
15
24
|
/**
|
|
@@ -10,6 +10,15 @@
|
|
|
10
10
|
* for backward compatibility via copy rules in the Stencil config.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
+
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
|
|
14
|
+
* (their default background, border, padding, font, etc.), without stripping
|
|
15
|
+
* the useful defaults that `all: unset;` would also remove
|
|
16
|
+
* (such as `display`, `cursor`, and focus behavior).
|
|
17
|
+
*
|
|
18
|
+
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
|
|
19
|
+
* the styling you want on top — often one of the `is-*-clickable` mixins.
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
13
22
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
14
23
|
*/
|
|
15
24
|
/**
|
|
@@ -16,6 +16,15 @@
|
|
|
16
16
|
* for backward compatibility via copy rules in the Stencil config.
|
|
17
17
|
*/
|
|
18
18
|
/**
|
|
19
|
+
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
|
|
20
|
+
* (their default background, border, padding, font, etc.), without stripping
|
|
21
|
+
* the useful defaults that `all: unset;` would also remove
|
|
22
|
+
* (such as `display`, `cursor`, and focus behavior).
|
|
23
|
+
*
|
|
24
|
+
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
|
|
25
|
+
* the styling you want on top — often one of the `is-*-clickable` mixins.
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
19
28
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
20
29
|
*/
|
|
21
30
|
/**
|
|
@@ -14,6 +14,15 @@
|
|
|
14
14
|
* for backward compatibility via copy rules in the Stencil config.
|
|
15
15
|
*/
|
|
16
16
|
/**
|
|
17
|
+
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
|
|
18
|
+
* (their default background, border, padding, font, etc.), without stripping
|
|
19
|
+
* the useful defaults that `all: unset;` would also remove
|
|
20
|
+
* (such as `display`, `cursor`, and focus behavior).
|
|
21
|
+
*
|
|
22
|
+
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
|
|
23
|
+
* the styling you want on top — often one of the `is-*-clickable` mixins.
|
|
24
|
+
*/
|
|
25
|
+
/**
|
|
17
26
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
18
27
|
*/
|
|
19
28
|
/**
|