@limetech/lime-elements 39.14.1 → 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 +7 -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-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/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-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/scss/mixins.scss +20 -0
- package/dist/lime-elements/style/mixins.scss +20 -0
- package/dist/scss/mixins.scss +20 -0
- 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
|
@@ -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
|
/**
|
|
@@ -115,7 +124,14 @@ button.avatar {
|
|
|
115
124
|
}
|
|
116
125
|
|
|
117
126
|
button {
|
|
118
|
-
|
|
127
|
+
appearance: none;
|
|
128
|
+
background: none;
|
|
129
|
+
border: none;
|
|
130
|
+
padding: 0;
|
|
131
|
+
margin: 0;
|
|
132
|
+
font: inherit;
|
|
133
|
+
color: inherit;
|
|
134
|
+
text-align: inherit;
|
|
119
135
|
display: block;
|
|
120
136
|
}
|
|
121
137
|
button:focus {
|
|
@@ -81,6 +81,15 @@
|
|
|
81
81
|
* for backward compatibility via copy rules in the Stencil config.
|
|
82
82
|
*/
|
|
83
83
|
/**
|
|
84
|
+
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
|
|
85
|
+
* (their default background, border, padding, font, etc.), without stripping
|
|
86
|
+
* the useful defaults that `all: unset;` would also remove
|
|
87
|
+
* (such as `display`, `cursor`, and focus behavior).
|
|
88
|
+
*
|
|
89
|
+
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
|
|
90
|
+
* the styling you want on top — often one of the `is-*-clickable` mixins.
|
|
91
|
+
*/
|
|
92
|
+
/**
|
|
84
93
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
85
94
|
*/
|
|
86
95
|
/**
|
|
@@ -34,6 +34,15 @@
|
|
|
34
34
|
* for backward compatibility via copy rules in the Stencil config.
|
|
35
35
|
*/
|
|
36
36
|
/**
|
|
37
|
+
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
|
|
38
|
+
* (their default background, border, padding, font, etc.), without stripping
|
|
39
|
+
* the useful defaults that `all: unset;` would also remove
|
|
40
|
+
* (such as `display`, `cursor`, and focus behavior).
|
|
41
|
+
*
|
|
42
|
+
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
|
|
43
|
+
* the styling you want on top — often one of the `is-*-clickable` mixins.
|
|
44
|
+
*/
|
|
45
|
+
/**
|
|
37
46
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
38
47
|
*/
|
|
39
48
|
/**
|
|
@@ -30,6 +30,15 @@
|
|
|
30
30
|
* for backward compatibility via copy rules in the Stencil config.
|
|
31
31
|
*/
|
|
32
32
|
/**
|
|
33
|
+
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
|
|
34
|
+
* (their default background, border, padding, font, etc.), without stripping
|
|
35
|
+
* the useful defaults that `all: unset;` would also remove
|
|
36
|
+
* (such as `display`, `cursor`, and focus behavior).
|
|
37
|
+
*
|
|
38
|
+
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
|
|
39
|
+
* the styling you want on top — often one of the `is-*-clickable` mixins.
|
|
40
|
+
*/
|
|
41
|
+
/**
|
|
33
42
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
34
43
|
*/
|
|
35
44
|
/**
|
|
@@ -18,6 +18,15 @@
|
|
|
18
18
|
* for backward compatibility via copy rules in the Stencil config.
|
|
19
19
|
*/
|
|
20
20
|
/**
|
|
21
|
+
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
|
|
22
|
+
* (their default background, border, padding, font, etc.), without stripping
|
|
23
|
+
* the useful defaults that `all: unset;` would also remove
|
|
24
|
+
* (such as `display`, `cursor`, and focus behavior).
|
|
25
|
+
*
|
|
26
|
+
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
|
|
27
|
+
* the styling you want on top — often one of the `is-*-clickable` mixins.
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
21
30
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
22
31
|
*/
|
|
23
32
|
/**
|
|
@@ -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
|
/**
|
|
@@ -135,32 +144,39 @@ limel-menu:hover:before, limel-menu:focus-within:before {
|
|
|
135
144
|
background-color: transparent;
|
|
136
145
|
}
|
|
137
146
|
|
|
138
|
-
.menu-trigger {
|
|
139
|
-
|
|
147
|
+
button.menu-trigger {
|
|
148
|
+
appearance: none;
|
|
149
|
+
background: none;
|
|
150
|
+
border: none;
|
|
151
|
+
padding: 0;
|
|
152
|
+
margin: 0;
|
|
153
|
+
font: inherit;
|
|
154
|
+
color: inherit;
|
|
155
|
+
text-align: inherit;
|
|
140
156
|
text-align: center;
|
|
141
157
|
font-weight: bold;
|
|
142
158
|
border-radius: 0.125rem;
|
|
143
159
|
height: 100%;
|
|
144
160
|
width: 1rem;
|
|
145
161
|
}
|
|
146
|
-
.menu-trigger:not(:disabled) {
|
|
162
|
+
button.menu-trigger:not(:disabled) {
|
|
147
163
|
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);
|
|
148
164
|
cursor: pointer;
|
|
149
165
|
color: "inherit";
|
|
150
166
|
background-color: transparent;
|
|
151
167
|
}
|
|
152
|
-
.menu-trigger:not(:disabled):hover, .menu-trigger:not(:disabled):focus, .menu-trigger:not(:disabled):focus-visible {
|
|
168
|
+
button.menu-trigger:not(:disabled):hover, button.menu-trigger:not(:disabled):focus, button.menu-trigger:not(:disabled):focus-visible {
|
|
153
169
|
will-change: color, background-color, box-shadow, transform;
|
|
154
170
|
}
|
|
155
|
-
.menu-trigger:not(:disabled):hover, .menu-trigger:not(:disabled):focus-visible {
|
|
171
|
+
button.menu-trigger:not(:disabled):hover, button.menu-trigger:not(:disabled):focus-visible {
|
|
156
172
|
transform: translate3d(0, 0.01rem, 0);
|
|
157
173
|
color: "inherit";
|
|
158
174
|
background-color: var(--lime-elevated-surface-background-color);
|
|
159
175
|
}
|
|
160
|
-
.menu-trigger:not(:disabled):hover {
|
|
176
|
+
button.menu-trigger:not(:disabled):hover {
|
|
161
177
|
box-shadow: var(--button-shadow-hovered);
|
|
162
178
|
}
|
|
163
|
-
.menu-trigger:not(:disabled):active {
|
|
179
|
+
button.menu-trigger:not(:disabled):active {
|
|
164
180
|
--limel-clickable-transform-timing-function: cubic-bezier(
|
|
165
181
|
0.83,
|
|
166
182
|
-0.15,
|
|
@@ -170,27 +186,27 @@ limel-menu:hover:before, limel-menu:focus-within:before {
|
|
|
170
186
|
transform: translate3d(0, 0.05rem, 0);
|
|
171
187
|
box-shadow: var(--button-shadow-pressed);
|
|
172
188
|
}
|
|
173
|
-
.menu-trigger:not(:disabled):hover, .menu-trigger:not(:disabled):active {
|
|
189
|
+
button.menu-trigger:not(:disabled):hover, button.menu-trigger:not(:disabled):active {
|
|
174
190
|
--limel-clickable-transition-speed: 0.2s;
|
|
175
191
|
--limel-clickable-transform-speed: 0.16s;
|
|
176
192
|
}
|
|
177
|
-
.menu-trigger:not(:disabled):focus {
|
|
193
|
+
button.menu-trigger:not(:disabled):focus {
|
|
178
194
|
outline: none;
|
|
179
195
|
}
|
|
180
|
-
.menu-trigger:not(:disabled):focus-visible {
|
|
196
|
+
button.menu-trigger:not(:disabled):focus-visible {
|
|
181
197
|
outline: none;
|
|
182
198
|
box-shadow: var(--shadow-depth-8-focused);
|
|
183
199
|
}
|
|
184
|
-
.menu-trigger:not(:disabled) {
|
|
200
|
+
button.menu-trigger:not(:disabled) {
|
|
185
201
|
cursor: pointer;
|
|
186
202
|
}
|
|
187
|
-
.menu-trigger:not(:disabled):focus-visible, .menu-trigger:not(:disabled):hover {
|
|
203
|
+
button.menu-trigger:not(:disabled):focus-visible, button.menu-trigger:not(:disabled):hover {
|
|
188
204
|
background-color: rgb(var(--color-white), 0.1);
|
|
189
205
|
}
|
|
190
|
-
.menu-trigger[aria-expanded]:not([aria-expanded=false]) {
|
|
206
|
+
button.menu-trigger[aria-expanded]:not([aria-expanded=false]) {
|
|
191
207
|
box-shadow: var(--button-shadow-inset-pressed);
|
|
192
208
|
}
|
|
193
|
-
.menu-trigger:before {
|
|
209
|
+
button.menu-trigger:before {
|
|
194
210
|
content: "";
|
|
195
211
|
position: absolute;
|
|
196
212
|
inset: -0.25rem;
|
|
@@ -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
|
/**
|
|
@@ -131,7 +140,14 @@
|
|
|
131
140
|
transform: translate3d(0, 0, 0);
|
|
132
141
|
}
|
|
133
142
|
.scroll-button button {
|
|
134
|
-
|
|
143
|
+
appearance: none;
|
|
144
|
+
background: none;
|
|
145
|
+
border: none;
|
|
146
|
+
padding: 0;
|
|
147
|
+
margin: 0;
|
|
148
|
+
font: inherit;
|
|
149
|
+
color: inherit;
|
|
150
|
+
text-align: inherit;
|
|
135
151
|
display: flex;
|
|
136
152
|
align-items: center;
|
|
137
153
|
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
|
/**
|
|
@@ -240,6 +240,15 @@ li {
|
|
|
240
240
|
* for backward compatibility via copy rules in the Stencil config.
|
|
241
241
|
*/
|
|
242
242
|
/**
|
|
243
|
+
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
|
|
244
|
+
* (their default background, border, padding, font, etc.), without stripping
|
|
245
|
+
* the useful defaults that `all: unset;` would also remove
|
|
246
|
+
* (such as `display`, `cursor`, and focus behavior).
|
|
247
|
+
*
|
|
248
|
+
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
|
|
249
|
+
* the styling you want on top — often one of the `is-*-clickable` mixins.
|
|
250
|
+
*/
|
|
251
|
+
/**
|
|
243
252
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
244
253
|
*/
|
|
245
254
|
/**
|
|
@@ -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
|
/**
|
|
@@ -20,6 +20,26 @@
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
/**
|
|
24
|
+
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
|
|
25
|
+
* (their default background, border, padding, font, etc.), without stripping
|
|
26
|
+
* the useful defaults that `all: unset;` would also remove
|
|
27
|
+
* (such as `display`, `cursor`, and focus behavior).
|
|
28
|
+
*
|
|
29
|
+
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
|
|
30
|
+
* the styling you want on top — often one of the `is-*-clickable` mixins.
|
|
31
|
+
*/
|
|
32
|
+
@mixin reset-button-user-agent-styles {
|
|
33
|
+
appearance: none;
|
|
34
|
+
background: none;
|
|
35
|
+
border: none;
|
|
36
|
+
padding: 0;
|
|
37
|
+
margin: 0;
|
|
38
|
+
font: inherit;
|
|
39
|
+
color: inherit;
|
|
40
|
+
text-align: inherit;
|
|
41
|
+
}
|
|
42
|
+
|
|
23
43
|
/**
|
|
24
44
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
25
45
|
*/
|
|
@@ -20,6 +20,26 @@
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
/**
|
|
24
|
+
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
|
|
25
|
+
* (their default background, border, padding, font, etc.), without stripping
|
|
26
|
+
* the useful defaults that `all: unset;` would also remove
|
|
27
|
+
* (such as `display`, `cursor`, and focus behavior).
|
|
28
|
+
*
|
|
29
|
+
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
|
|
30
|
+
* the styling you want on top — often one of the `is-*-clickable` mixins.
|
|
31
|
+
*/
|
|
32
|
+
@mixin reset-button-user-agent-styles {
|
|
33
|
+
appearance: none;
|
|
34
|
+
background: none;
|
|
35
|
+
border: none;
|
|
36
|
+
padding: 0;
|
|
37
|
+
margin: 0;
|
|
38
|
+
font: inherit;
|
|
39
|
+
color: inherit;
|
|
40
|
+
text-align: inherit;
|
|
41
|
+
}
|
|
42
|
+
|
|
23
43
|
/**
|
|
24
44
|
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
25
45
|
*/
|
|
@@ -5,7 +5,7 @@ import { c as createRandomString } from './random-string-JbKhhoXs.js';
|
|
|
5
5
|
import { m as makeEnterClickable, r as removeEnterClickable } from './make-enter-clickable-BgTwPGeH.js';
|
|
6
6
|
import { b as getIconColor, d as getIconTitle, g as getIconName } from './get-icon-props-CgNJbSP4.js';
|
|
7
7
|
|
|
8
|
-
const actionBarCss = () => `@charset "UTF-8";:host(limel-action-bar){--action-bar-item-height:2rem;--limel-action-bar-item-text-color:var( --action-bar-item-text-color, rgb(var(--contrast-1100)) );box-sizing:border-box;display:inline-flex;align-items:center;padding:0.125rem 0.25rem;max-width:100%;border-radius:var(--action-bar-border-radius);background-color:var(--action-bar-background-color, rgb(var(--contrast-100)));transition:max-width 0.3s ease}:host(limel-action-bar),.items{gap:0.25rem}@media (pointer: coarse){:host(limel-action-bar),.items{gap:0.5rem}}.items{display:inline-flex;max-width:100%;min-width:0}:host(limel-action-bar.is-shrunk) .items{opacity:0}:host(limel-action-bar:not(.is-shrunk)) .items{opacity:1}:host(limel-action-bar.is-full-width){width:100%}:host(limel-action-bar.is-floating){--action-bar-border-radius:100vw;border:1px solid rgb(var(--contrast-400));padding-right:0.125rem;padding-left:0.125rem;max-width:calc(100% - 2rem);box-shadow:var(--shadow-depth-16), var(--shadow-depth-8)}:host(limel-action-bar.is-shrunk){max-width:5rem;transition:max-width 0.3s ease-in-out}:host(limel-action-bar.is-shrunk) .expand-shrink{transition:transform 0.3s ease;transform:rotateY(180deg)}:host(limel-action-bar:not(.is-shrunk)){max-width:100%;transition:max-width 0.3s ease-in-out}:host(limel-action-bar:not(.is-shrunk)) .expand-shrink{transition:transform 0.3s ease;transform:rotateY(0deg)}:host(limel-action-bar.can-be-shrunk.is-full-width) .expand-shrink{margin-left:auto}.expand-shrink{
|
|
8
|
+
const actionBarCss = () => `@charset "UTF-8";:host(limel-action-bar){--action-bar-item-height:2rem;--limel-action-bar-item-text-color:var( --action-bar-item-text-color, rgb(var(--contrast-1100)) );box-sizing:border-box;display:inline-flex;align-items:center;padding:0.125rem 0.25rem;max-width:100%;border-radius:var(--action-bar-border-radius);background-color:var(--action-bar-background-color, rgb(var(--contrast-100)));transition:max-width 0.3s ease}:host(limel-action-bar),.items{gap:0.25rem}@media (pointer: coarse){:host(limel-action-bar),.items{gap:0.5rem}}.items{display:inline-flex;max-width:100%;min-width:0}:host(limel-action-bar.is-shrunk) .items{opacity:0}:host(limel-action-bar:not(.is-shrunk)) .items{opacity:1}:host(limel-action-bar.is-full-width){width:100%}:host(limel-action-bar.is-floating){--action-bar-border-radius:100vw;border:1px solid rgb(var(--contrast-400));padding-right:0.125rem;padding-left:0.125rem;max-width:calc(100% - 2rem);box-shadow:var(--shadow-depth-16), var(--shadow-depth-8)}:host(limel-action-bar.is-shrunk){max-width:5rem;transition:max-width 0.3s ease-in-out}:host(limel-action-bar.is-shrunk) .expand-shrink{transition:transform 0.3s ease;transform:rotateY(180deg)}:host(limel-action-bar:not(.is-shrunk)){max-width:100%;transition:max-width 0.3s ease-in-out}:host(limel-action-bar:not(.is-shrunk)) .expand-shrink{transition:transform 0.3s ease;transform:rotateY(0deg)}:host(limel-action-bar.can-be-shrunk.is-full-width) .expand-shrink{margin-left:auto}button.expand-shrink{appearance:none;background:none;border:none;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit;box-sizing:border-box;border-radius:50%;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);cursor:pointer;color:var(--limel-theme-on-surface-color);background-color:transparent}button.expand-shrink:hover,button.expand-shrink:focus,button.expand-shrink:focus-visible{will-change:color, background-color, box-shadow, transform}button.expand-shrink:hover,button.expand-shrink:focus-visible{transform:translate3d(0, 0.01rem, 0);color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color)}button.expand-shrink:hover{box-shadow:var(--button-shadow-hovered)}button.expand-shrink:active{--limel-clickable-transform-timing-function:cubic-bezier( 0.83, -0.15, 0.49, 1.16 );transform:translate3d(0, 0.05rem, 0);box-shadow:var(--button-shadow-pressed)}button.expand-shrink:hover,button.expand-shrink:active{--limel-clickable-transition-speed:0.2s;--limel-clickable-transform-speed:0.16s}button.expand-shrink:focus{outline:none}button.expand-shrink:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}button.expand-shrink{display:flex;justify-content:center;align-items:center}button.expand-shrink limel-icon{width:1.5rem;height:1.5rem;padding:0.125rem;color:var(--action-bar-shrink-icon-color, rgb(var(--contrast-1000)))}`;
|
|
9
9
|
|
|
10
10
|
const ActionBar = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -151,7 +151,7 @@ const ActionBar = class {
|
|
|
151
151
|
};
|
|
152
152
|
ActionBar.style = actionBarCss();
|
|
153
153
|
|
|
154
|
-
const actionBarItemCss = () => `@charset "UTF-8";limel-action-bar-item{transition:opacity 0.2s ease-in-out;position:relative;display:flex;align-items:center}limel-action-bar-item:not([is-visible]){opacity:0;pointer-events:none}button{
|
|
154
|
+
const actionBarItemCss = () => `@charset "UTF-8";limel-action-bar-item{transition:opacity 0.2s ease-in-out;position:relative;display:flex;align-items:center}limel-action-bar-item:not([is-visible]){opacity:0;pointer-events:none}button{appearance:none;background:none;border:none;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit}button:not([disabled]){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);cursor:pointer;color:var(--limel-action-bar-item-text-color);background-color:var(--action-bar-background-color)}button:not([disabled]):hover,button:not([disabled]):focus,button:not([disabled]):focus-visible{will-change:color, background-color, box-shadow, transform}button:not([disabled]):hover,button:not([disabled]):focus-visible{transform:translate3d(0, -0.04rem, 0);color:var(--limel-action-bar-item-text-color);background-color:var(--action-bar-background-color)}button:not([disabled]):hover{box-shadow:var(--button-shadow-hovered)}button:not([disabled]):active{--limel-clickable-transform-timing-function:cubic-bezier( 0.83, -0.15, 0.49, 1.16 );transform:translate3d(0, 0.05rem, 0);background-color:var(--action-bar-background-color);box-shadow:var(--button-shadow-inset-pressed)}button:not([disabled]):hover,button:not([disabled]):active{--limel-clickable-transition-speed:0.2s;--limel-clickable-transform-speed:0.16s}button:not([disabled]):focus{outline:none}button:not([disabled]):focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:0.25rem;width:100%;min-width:var(--action-bar-item-height);max-width:var(--action-bar-item-max-width, 10rem);height:var(--action-bar-item-height);color:var(--limel-action-bar-item-text-color);border-radius:var(--action-bar-item-height);font-size:var(--limel-theme-default-font-size);padding:0 0.25rem}button:has(.text){padding:0 0.5rem}button[disabled]{opacity:0.4}button.is-selected:not(:hover){box-shadow:var(--button-shadow-inset)}button.is-selected{color:var(--lime-primary-color, var(--limel-theme-primary-color)) !important}.text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:0 0.25rem}limel-icon{flex-shrink:0;width:calc(var(--action-bar-item-height) - 0.75rem);height:calc(var(--action-bar-item-height) - 0.75rem);color:var(--action-bar-item-icon-color, var(--limel-action-bar-item-text-color))}hr{all:unset;width:1px;height:1.5rem;border-radius:var(--action-bar-item-height);background-color:var(--limel-action-bar-item-text-color);opacity:0.2}@media (pointer: fine){hr{margin-right:0.5rem;margin-left:0.5rem}}limel-menu{--notification-badge-background-color:rgb(var(--contrast-600));--notification-badge-text-color:rgb(var(--contrast-1200))}limel-menu[open] button{box-shadow:var(--button-shadow-inset)}button[slot=trigger]{animation:fade-in ease-out 0.25s;font-size:0.75rem;font-weight:bold;transform:translate3d(0, 0, 0)}@keyframes fade-in{0%{scale:0.8;opacity:0}100%{scale:1;opacity:1}}`;
|
|
155
155
|
|
|
156
156
|
const ActionBarButton = class {
|
|
157
157
|
constructor(hostRef) {
|
|
@@ -19,7 +19,7 @@ import './ponyfill-ChRGk668.js';
|
|
|
19
19
|
import './component-7QB0OUSF.js';
|
|
20
20
|
import './component-D4qgwaTf.js';
|
|
21
21
|
|
|
22
|
-
const chipCss = () => `@charset "UTF-8";.text{transition:padding-left 0.4s ease}limel-linear-progress{position:absolute;z-index:1;margin:auto;left:0.25rem;width:1.25rem}:host(limel-chip[loading]) .chip:before{content:"";position:absolute;left:0;width:var(--limel-chip-height);height:var(--limel-chip-height);border-radius:50%;scale:0.9;background-color:rgba(var(--contrast-600), 0.8)}:host(limel-chip[loading]) .chip:not(:has(limel-icon)) .text{padding-left:calc(var(--limel-chip-height) + 0.25rem)}div[role=progressbar]{--limel-chip-progressbar-offset:0.1875rem;--limel-chip-progressbar-stripe-color:rgb(var(--contrast-100), 0.3);--limel-chip-progressbar-stripe-size:1.5rem;pointer-events:none;position:absolute;display:flex;align-items:center;justify-content:end;inset:var(--limel-chip-progressbar-offset);max-width:calc(100% - var(--limel-chip-progressbar-offset) * 2);border-radius:inherit;background-color:var(--chip-progress-color, rgb(var(--contrast-700)));width:var(--limel-chip-progress-percentage);opacity:0.8;mix-blend-mode:var(--limel-chip-progress-mix-blend-mode)}div[role=progressbar]:after{content:"";transform:translate3d(0, 0, 0);position:absolute;inset:1px;background-image:linear-gradient(-45deg, var(--limel-chip-progressbar-stripe-color) 25%, transparent 25%, transparent 50%, var(--limel-chip-progressbar-stripe-color) 50%, var(--limel-chip-progressbar-stripe-color) 75%, transparent 75%, transparent);z-index:1;background-size:var(--limel-chip-progressbar-stripe-size) var(--limel-chip-progressbar-stripe-size);animation:move 2.5s linear infinite;border-radius:inherit}@media (prefers-reduced-motion){div[role=progressbar]:after{animation:none}}@keyframes move{0%{background-position:0 0}100%{background-position:calc(var(--limel-chip-progressbar-stripe-size) * -1) calc(var(--limel-chip-progressbar-stripe-size) * -1)}}:host(limel-chip){--limel-chip-height:var(--limel-chip-size, 1.75rem);--limel-chip-gap:0.5rem;isolation:isolate;display:inline-flex;align-items:center;min-width:0;max-width:min(var(--chip-max-width, 100%), 25rem)}:host(limel-chip)::before{content:"";align-self:baseline;line-height:var(--limel-chip-height);font-size:var(--limel-theme-default-font-size, 0.875rem)}:host(limel-chip[size=small]){--limel-chip-height:1.5rem;--limel-chip-gap:0.25rem}:host(limel-chip[size=small]) .text{font-size:var(--limel-theme-default-small-font-size)}*{box-sizing:border-box}.chip{all:unset;position:relative;min-width:0;display:inline-flex;align-items:center;justify-content:center;gap:0.25rem;max-width:100%;height:var(--limel-chip-height);border-radius:var(--limel-chip-height);font-size:clamp(0.8125rem, var(--limel-chip-height) - 0.875rem, 1rem);padding:0 0.125rem}.chip:has(limel-icon) .text,.chip:has(img) .text{padding-left:0}.chip:not([disabled]):focus{outline:none}.chip:not([disabled]):focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}.chip:not([disabled]){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);cursor:pointer;color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-normal)}.chip:not([disabled]):hover,.chip:not([disabled]):focus,.chip:not([disabled]):focus-visible{will-change:color, background-color, box-shadow, transform}.chip:not([disabled]):hover,.chip:not([disabled]):focus-visible{transform:translate3d(0, 0.01rem, 0);color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color)}.chip:not([disabled]):hover{box-shadow:var(--button-shadow-hovered)}.chip:not([disabled]):active{--limel-clickable-transform-timing-function:cubic-bezier( 0.83, -0.15, 0.49, 1.16 );transform:translate3d(0, 0.05rem, 0);background-color:var(--limel-theme-surface-background-color);box-shadow:var(--button-shadow-inset-pressed)}.chip:not([disabled]):hover,.chip:not([disabled]):active{--limel-clickable-transition-speed:0.2s;--limel-clickable-transform-speed:0.16s}.chip:has(limel-badge){padding-right:0.375rem}.chip:has(limel-badge) .text{padding-right:0}.chip:has(+.remove-button:hover){box-shadow:var(--shadow-depth-8-error)}.chip:has(+limel-menu),.chip:has(+.trailing-button){padding-right:calc(var(--limel-chip-height) + 0.125rem)}.chip:has(+limel-menu) .text,.chip:has(+.trailing-button) .text{padding-right:0}:host(limel-chip[disabled]:not([disabled=false])) .chip{color:rgba(var(--contrast-1600), 0.37);background-color:rgba(var(--contrast-1600), 0.1);box-shadow:none}:host(limel-chip[readonly]:not([readonly=false])) .chip{box-shadow:0 0 0 1px var(--chip-readonly-border-color, rgb(var(--contrast-800), 0.5))}:host(limel-chip[selected]:not([selected=false])) .chip{box-shadow:var(--button-shadow-inset)}:host(limel-chip[selected]:not([selected=false])) .chip:focus-visible{box-shadow:var(--button-shadow-inset), var(--shadow-depth-8-focused)}:host(limel-chip[selected]:not([selected=false])) .chip:active{box-shadow:var(--button-shadow-inset-pressed)}:host(limel-chip[selected]:not([selected=false])) .text{color:var(--lime-primary-color, var(--limel-theme-primary-color))}:host([aria-expanded=true]) .chip,:host([aria-expanded]:not([aria-expanded=false])) .chip{box-shadow:var(--button-shadow-inset-pressed) !important}:host(limel-chip[type=filter]) .chip{border-top-left-radius:0.5rem;border-bottom-left-radius:0.5rem}:host(limel-chip[type=filter]) .chip:after{content:"";transition:background-color 0.4s ease 0.2s, box-shadow 0.6s ease 0.2s;box-sizing:border-box;position:absolute;bottom:0.125rem;left:0.125rem;width:0.5rem;height:0.5rem;border-radius:50%;background-color:rgb(var(--contrast-800), 0.8);box-shadow:0 0 0 1px rgb(var(--color-white)) inset}:host(limel-chip[type=filter][selected]) .chip:after{background-color:rgb(var(--color-green-default));box-shadow:0 0 0.375rem 0 rgb(var(--color-green-light)), 0 0 0 1px rgb(var(--color-white)) inset}:host(limel-chip[invalid]) .chip{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%208%208'%20style='fill-rule:evenodd;'%3E%3Cpath%20fill='rgba(186,186,192,0.16)'%20d='M0%200h4v4H0zM4%204h4v4H4z'/%3E%3C/svg%3E");background-size:0.5rem;background-color:rgb(var(--color-red-default))}:host(limel-chip[invalid]) .text{color:rgb(var(--color-white))}img,limel-icon{flex-shrink:0;width:calc(var(--limel-chip-height) - 0.25rem);height:calc(var(--limel-chip-height) - 0.25rem)}img{object-fit:cover;border-radius:50%}limel-icon{padding:0.0625rem}limel-badge{pointer-events:none}.text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:1.2;padding:0 0.5rem;font-size:var(--limel-theme-default-font-size)}.trailing-button{
|
|
22
|
+
const chipCss = () => `@charset "UTF-8";.text{transition:padding-left 0.4s ease}limel-linear-progress{position:absolute;z-index:1;margin:auto;left:0.25rem;width:1.25rem}:host(limel-chip[loading]) .chip:before{content:"";position:absolute;left:0;width:var(--limel-chip-height);height:var(--limel-chip-height);border-radius:50%;scale:0.9;background-color:rgba(var(--contrast-600), 0.8)}:host(limel-chip[loading]) .chip:not(:has(limel-icon)) .text{padding-left:calc(var(--limel-chip-height) + 0.25rem)}div[role=progressbar]{--limel-chip-progressbar-offset:0.1875rem;--limel-chip-progressbar-stripe-color:rgb(var(--contrast-100), 0.3);--limel-chip-progressbar-stripe-size:1.5rem;pointer-events:none;position:absolute;display:flex;align-items:center;justify-content:end;inset:var(--limel-chip-progressbar-offset);max-width:calc(100% - var(--limel-chip-progressbar-offset) * 2);border-radius:inherit;background-color:var(--chip-progress-color, rgb(var(--contrast-700)));width:var(--limel-chip-progress-percentage);opacity:0.8;mix-blend-mode:var(--limel-chip-progress-mix-blend-mode)}div[role=progressbar]:after{content:"";transform:translate3d(0, 0, 0);position:absolute;inset:1px;background-image:linear-gradient(-45deg, var(--limel-chip-progressbar-stripe-color) 25%, transparent 25%, transparent 50%, var(--limel-chip-progressbar-stripe-color) 50%, var(--limel-chip-progressbar-stripe-color) 75%, transparent 75%, transparent);z-index:1;background-size:var(--limel-chip-progressbar-stripe-size) var(--limel-chip-progressbar-stripe-size);animation:move 2.5s linear infinite;border-radius:inherit}@media (prefers-reduced-motion){div[role=progressbar]:after{animation:none}}@keyframes move{0%{background-position:0 0}100%{background-position:calc(var(--limel-chip-progressbar-stripe-size) * -1) calc(var(--limel-chip-progressbar-stripe-size) * -1)}}:host(limel-chip){--limel-chip-height:var(--limel-chip-size, 1.75rem);--limel-chip-gap:0.5rem;isolation:isolate;display:inline-flex;align-items:center;min-width:0;max-width:min(var(--chip-max-width, 100%), 25rem)}:host(limel-chip)::before{content:"";align-self:baseline;line-height:var(--limel-chip-height);font-size:var(--limel-theme-default-font-size, 0.875rem)}:host(limel-chip[size=small]){--limel-chip-height:1.5rem;--limel-chip-gap:0.25rem}:host(limel-chip[size=small]) .text{font-size:var(--limel-theme-default-small-font-size)}*{box-sizing:border-box}.chip{all:unset;position:relative;min-width:0;display:inline-flex;align-items:center;justify-content:center;gap:0.25rem;max-width:100%;height:var(--limel-chip-height);border-radius:var(--limel-chip-height);font-size:clamp(0.8125rem, var(--limel-chip-height) - 0.875rem, 1rem);padding:0 0.125rem}.chip:has(limel-icon) .text,.chip:has(img) .text{padding-left:0}.chip:not([disabled]):focus{outline:none}.chip:not([disabled]):focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}.chip:not([disabled]){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);cursor:pointer;color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-normal)}.chip:not([disabled]):hover,.chip:not([disabled]):focus,.chip:not([disabled]):focus-visible{will-change:color, background-color, box-shadow, transform}.chip:not([disabled]):hover,.chip:not([disabled]):focus-visible{transform:translate3d(0, 0.01rem, 0);color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color)}.chip:not([disabled]):hover{box-shadow:var(--button-shadow-hovered)}.chip:not([disabled]):active{--limel-clickable-transform-timing-function:cubic-bezier( 0.83, -0.15, 0.49, 1.16 );transform:translate3d(0, 0.05rem, 0);background-color:var(--limel-theme-surface-background-color);box-shadow:var(--button-shadow-inset-pressed)}.chip:not([disabled]):hover,.chip:not([disabled]):active{--limel-clickable-transition-speed:0.2s;--limel-clickable-transform-speed:0.16s}.chip:has(limel-badge){padding-right:0.375rem}.chip:has(limel-badge) .text{padding-right:0}.chip:has(+.remove-button:hover){box-shadow:var(--shadow-depth-8-error)}.chip:has(+limel-menu),.chip:has(+.trailing-button){padding-right:calc(var(--limel-chip-height) + 0.125rem)}.chip:has(+limel-menu) .text,.chip:has(+.trailing-button) .text{padding-right:0}:host(limel-chip[disabled]:not([disabled=false])) .chip{color:rgba(var(--contrast-1600), 0.37);background-color:rgba(var(--contrast-1600), 0.1);box-shadow:none}:host(limel-chip[readonly]:not([readonly=false])) .chip{box-shadow:0 0 0 1px var(--chip-readonly-border-color, rgb(var(--contrast-800), 0.5))}:host(limel-chip[selected]:not([selected=false])) .chip{box-shadow:var(--button-shadow-inset)}:host(limel-chip[selected]:not([selected=false])) .chip:focus-visible{box-shadow:var(--button-shadow-inset), var(--shadow-depth-8-focused)}:host(limel-chip[selected]:not([selected=false])) .chip:active{box-shadow:var(--button-shadow-inset-pressed)}:host(limel-chip[selected]:not([selected=false])) .text{color:var(--lime-primary-color, var(--limel-theme-primary-color))}:host([aria-expanded=true]) .chip,:host([aria-expanded]:not([aria-expanded=false])) .chip{box-shadow:var(--button-shadow-inset-pressed) !important}:host(limel-chip[type=filter]) .chip{border-top-left-radius:0.5rem;border-bottom-left-radius:0.5rem}:host(limel-chip[type=filter]) .chip:after{content:"";transition:background-color 0.4s ease 0.2s, box-shadow 0.6s ease 0.2s;box-sizing:border-box;position:absolute;bottom:0.125rem;left:0.125rem;width:0.5rem;height:0.5rem;border-radius:50%;background-color:rgb(var(--contrast-800), 0.8);box-shadow:0 0 0 1px rgb(var(--color-white)) inset}:host(limel-chip[type=filter][selected]) .chip:after{background-color:rgb(var(--color-green-default));box-shadow:0 0 0.375rem 0 rgb(var(--color-green-light)), 0 0 0 1px rgb(var(--color-white)) inset}:host(limel-chip[invalid]) .chip{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%208%208'%20style='fill-rule:evenodd;'%3E%3Cpath%20fill='rgba(186,186,192,0.16)'%20d='M0%200h4v4H0zM4%204h4v4H4z'/%3E%3C/svg%3E");background-size:0.5rem;background-color:rgb(var(--color-red-default))}:host(limel-chip[invalid]) .text{color:rgb(var(--color-white))}img,limel-icon{flex-shrink:0;width:calc(var(--limel-chip-height) - 0.25rem);height:calc(var(--limel-chip-height) - 0.25rem)}img{object-fit:cover;border-radius:50%}limel-icon{padding:0.0625rem}limel-badge{pointer-events:none}.text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:1.2;padding:0 0.5rem;font-size:var(--limel-theme-default-font-size)}button.trailing-button{appearance:none;background:none;border:none;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit;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);cursor:pointer;color:var(--limel-theme-on-surface-color);background-color:transparent}button.trailing-button:hover,button.trailing-button:focus,button.trailing-button:focus-visible{will-change:color, background-color, box-shadow, transform}button.trailing-button:hover,button.trailing-button:focus-visible{transform:translate3d(0, 0.01rem, 0);color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color)}button.trailing-button:hover{box-shadow:var(--button-shadow-hovered)}button.trailing-button:active{--limel-clickable-transform-timing-function:cubic-bezier( 0.83, -0.15, 0.49, 1.16 );transform:translate3d(0, 0.05rem, 0);box-shadow:var(--button-shadow-pressed)}button.trailing-button:hover,button.trailing-button:active{--limel-clickable-transition-speed:0.2s;--limel-clickable-transform-speed:0.16s}button.trailing-button{z-index:1;flex-shrink:0;display:flex;align-items:center;justify-content:center;margin-left:calc(var(--limel-chip-height) * -1 + 0.125rem);margin-right:0.125rem;width:calc(var(--limel-chip-height) - 0.25rem);height:calc(var(--limel-chip-height) - 0.25rem);border-radius:50%}button.trailing-button svg{transition:color 0.2s ease, transform 0.2s ease;width:1.25rem}button.trailing-button.remove-button:hover{color:rgb(var(--color-red-dark))}button.trailing-button.remove-button:hover svg{transform:scale(0.8)}limel-menu button[slot=trigger]:focus{outline:none}limel-menu button[slot=trigger]:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}limel-menu[open] button[slot=trigger]{box-shadow:var(--button-shadow-inset)}`;
|
|
23
23
|
|
|
24
24
|
const Chip = class {
|
|
25
25
|
constructor(hostRef) {
|
|
@@ -1160,7 +1160,7 @@ function extractRemovedContentFromSplit(rows) {
|
|
|
1160
1160
|
.join('\n');
|
|
1161
1161
|
}
|
|
1162
1162
|
|
|
1163
|
-
const codeDiffCss = () => `@charset "UTF-8";*,*::before,*::after{box-sizing:border-box;min-width:0;min-height:0}:host(limel-code-diff){--diff-added-bg:rgb(var(--color-green-default), 0.1);--diff-added-bg-hover:rgb(var(--color-green-default), 0.3);--diff-added-highlight-bg:rgb(var(--color-green-default), 0.3);--diff-removed-bg:rgb(var(--color-red-default), 0.1);--diff-removed-bg-hover:rgb(var(--color-red-default), 0.3);--diff-removed-highlight-bg:rgb(var(--color-red-default), 0.3);--diff-context-bg:transparent;--diff-indicator-added-color:rgb(var(--color-green-default));--diff-indicator-removed-color:rgb(var(--color-red-default));--diff-stat-added-color:rgb(var(--color-green-default));--diff-stat-removed-color:rgb(var(--color-red-default));--search-match-bg:rgb(var(--color-amber-default), 0.3);--search-match-current-bg:rgb(var(--color-amber-default), 0.6);--diff-line-hover-bg:rgb(var(--contrast-800), 0.08);--diff-gutter-bg:rgb(var(--contrast-200));--diff-gutter-text-color:rgb(var(--contrast-700));--diff-text-color:rgb(var(--contrast-1100));--diff-border-color:rgb(var(--contrast-400));--diff-collapsed-bg:rgb(var(--contrast-200));--diff-collapsed-text-color:rgb(var(--contrast-800));--diff-header-bg:rgb(var(--contrast-200));--diff-empty-text-color:rgb(var(--contrast-700));--diff-split-divider-color:rgb(var(--contrast-400));--diff-empty-cell-bg:rgb(var(--contrast-100));--syntax-string-color:rgb(var(--color-green-dark));--syntax-number-color:rgb(var(--color-blue-default));--syntax-boolean-color:rgb(var(--color-amber-darker));--syntax-key-color:rgb(var(--color-sky-dark));--syntax-null-color:rgb(var(--contrast-700));--syntax-punctuation-color:rgb(var(--contrast-700));--search-bar-bg:rgb(var(--contrast-100));--search-bar-border:rgb(var(--contrast-400));--limel-code-diff-line-number-padding:0.25rem;font-family:ui-sans-serif, system-ui, sans-serif;display:flex;flex-direction:column;width:100%;height:100%;color:var(--diff-text-color);border:1px solid var(--diff-border-color);border-radius:0.5rem;max-height:var(--code-diff-max-height, none)}.screen-reader-only{position:absolute;width:0;height:0;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0, 0, 0, 0);clip-path:inset(50%);white-space:nowrap}.diff-header{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0.125rem 0.125rem 0.125rem 0.5rem;background:var(--diff-header-bg);border-bottom:1px solid var(--diff-border-color);font-family:ui-sans-serif, system-ui, sans-serif;font-size:0.75rem;border-radius:0.5rem 0.5rem 0 0}.diff-header__labels{display:flex;gap:0.75rem;font-weight:500}.diff-header__old,.diff-header__new{padding:0.125rem 0.25rem;border-radius:0.25rem;box-shadow:var(--shadow-brighten-edges-outside)}.diff-header__old{background-color:var(--diff-removed-bg)}.diff-header__new{background-color:var(--diff-added-bg)}.diff-header__actions{display:flex;align-items:center;gap:0.25rem}.search-toggle--active{--limel-theme-on-surface-color:var(--mdc-theme-primary)}.diff-header__stats{font-family:ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, "DejaVu Sans Mono", monospace;display:flex;gap:0.5rem;margin-right:0.5rem}.stat{font-family:ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, "DejaVu Sans Mono", monospace;font-size:0.8125rem;font-weight:600}.stat--added{color:var(--diff-stat-added-color)}.stat--removed{color:var(--diff-stat-removed-color)}.search-bar{flex-shrink:0;display:flex;align-items:center;gap:0.25rem;padding:0.25rem 0 0.25rem 0.25rem;background:var(--search-bar-bg);border-bottom:1px solid var(--search-bar-border)}.search-bar limel-action-bar{--action-bar-background-color:transparent;min-width:2.5rem;flex-shrink:0}.search-bar limel-input-field{flex-grow:1}.search-bar__count{color:var(--diff-collapsed-text-color);white-space:nowrap;min-width:4rem;text-align:center;font-size:0.75rem}.search-match{background:var(--search-match-bg);color:inherit;border-radius:0.125rem}.search-match--current{background:var(--search-match-current-bg);outline:1px solid rgb(var(--color-amber-dark), 0.5)}.change-group{position:relative}.change-group__copy{--icon-background-color:rgb(var(--contrast-100));scale:0.9;position:absolute;top:0.125rem;right:0.5rem;display:none}.change-group:hover .change-group__copy{display:inline-flex}.diff-body{flex-grow:1;overflow-x:auto;font-family:ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, "DejaVu Sans Mono", monospace;font-size:var(--code-diff-font-size, 0.75rem)}.diff-body:focus{outline:none}.diff-body:focus-visible{outline:0.125rem solid rgb(var(--color-blue-default));outline-offset:0.125rem;border-radius:0.25rem}.diff-line{display:flex;align-items:stretch;min-height:1.25rem;line-height:1.25rem}.diff-line:hover .line-content{transition-duration:0.2s;background:var(--diff-line-hover-bg)}.diff-line--added .line-content{background:var(--diff-added-bg)}.diff-line--added .line-indicator{color:var(--diff-indicator-added-color)}.diff-line--added:hover .line-content{background:var(--diff-added-bg-hover)}.diff-line--removed .line-content{background:var(--diff-removed-bg)}.diff-line--removed .line-indicator{color:var(--diff-indicator-removed-color)}.diff-line--removed:hover .line-content{background:var(--diff-removed-bg-hover)}.diff-line--context .line-content{background:var(--diff-context-bg)}.diff-line--collapsed{display:flex;justify-content:center;background:var(--diff-collapsed-bg);border-top:1px solid var(--diff-border-color);border-bottom:1px solid var(--diff-border-color)}.diff-line--focused{outline:0.125rem solid rgb(var(--color-blue-default));outline-offset:-0.125rem;z-index:1}.line-number{display:inline-flex;align-items:center;justify-content:flex-end;min-width:calc(1ch + 2 * var(--limel-code-diff-line-number-padding));width:var(--limel-line-number-min-width);padding:0 var(--limel-code-diff-line-number-padding);background:var(--diff-gutter-bg);color:var(--diff-gutter-text-color);user-select:none;text-align:right;flex-shrink:0}.line-number--old{border-right:1px solid var(--diff-border-color)}.line-indicator{display:inline-flex;align-items:center;justify-content:center;width:1.25rem;flex-shrink:0;user-select:none;font-weight:600;background:var(--diff-gutter-bg)}.line-content{flex:1;padding:0 0.75rem;white-space:pre;overflow-x:visible;min-width:0;transition:background-color 0.6s ease}mark{background:transparent;color:inherit;border-radius:0.125rem}mark.segment--added{background:var(--diff-added-highlight-bg)}mark.segment--removed{background:var(--diff-removed-highlight-bg)}.syntax--string{color:var(--syntax-string-color)}.syntax--number{color:var(--syntax-number-color)}.syntax--boolean{color:var(--syntax-boolean-color)}.syntax--null{color:var(--syntax-null-color);font-style:italic}.syntax--key{color:var(--syntax-key-color)}.syntax--punctuation{color:var(--syntax-punctuation-color)}.expand-button{
|
|
1163
|
+
const codeDiffCss = () => `@charset "UTF-8";*,*::before,*::after{box-sizing:border-box;min-width:0;min-height:0}:host(limel-code-diff){--diff-added-bg:rgb(var(--color-green-default), 0.1);--diff-added-bg-hover:rgb(var(--color-green-default), 0.3);--diff-added-highlight-bg:rgb(var(--color-green-default), 0.3);--diff-removed-bg:rgb(var(--color-red-default), 0.1);--diff-removed-bg-hover:rgb(var(--color-red-default), 0.3);--diff-removed-highlight-bg:rgb(var(--color-red-default), 0.3);--diff-context-bg:transparent;--diff-indicator-added-color:rgb(var(--color-green-default));--diff-indicator-removed-color:rgb(var(--color-red-default));--diff-stat-added-color:rgb(var(--color-green-default));--diff-stat-removed-color:rgb(var(--color-red-default));--search-match-bg:rgb(var(--color-amber-default), 0.3);--search-match-current-bg:rgb(var(--color-amber-default), 0.6);--diff-line-hover-bg:rgb(var(--contrast-800), 0.08);--diff-gutter-bg:rgb(var(--contrast-200));--diff-gutter-text-color:rgb(var(--contrast-700));--diff-text-color:rgb(var(--contrast-1100));--diff-border-color:rgb(var(--contrast-400));--diff-collapsed-bg:rgb(var(--contrast-200));--diff-collapsed-text-color:rgb(var(--contrast-800));--diff-header-bg:rgb(var(--contrast-200));--diff-empty-text-color:rgb(var(--contrast-700));--diff-split-divider-color:rgb(var(--contrast-400));--diff-empty-cell-bg:rgb(var(--contrast-100));--syntax-string-color:rgb(var(--color-green-dark));--syntax-number-color:rgb(var(--color-blue-default));--syntax-boolean-color:rgb(var(--color-amber-darker));--syntax-key-color:rgb(var(--color-sky-dark));--syntax-null-color:rgb(var(--contrast-700));--syntax-punctuation-color:rgb(var(--contrast-700));--search-bar-bg:rgb(var(--contrast-100));--search-bar-border:rgb(var(--contrast-400));--limel-code-diff-line-number-padding:0.25rem;font-family:ui-sans-serif, system-ui, sans-serif;display:flex;flex-direction:column;width:100%;height:100%;color:var(--diff-text-color);border:1px solid var(--diff-border-color);border-radius:0.5rem;max-height:var(--code-diff-max-height, none)}.screen-reader-only{position:absolute;width:0;height:0;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0, 0, 0, 0);clip-path:inset(50%);white-space:nowrap}.diff-header{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0.125rem 0.125rem 0.125rem 0.5rem;background:var(--diff-header-bg);border-bottom:1px solid var(--diff-border-color);font-family:ui-sans-serif, system-ui, sans-serif;font-size:0.75rem;border-radius:0.5rem 0.5rem 0 0}.diff-header__labels{display:flex;gap:0.75rem;font-weight:500}.diff-header__old,.diff-header__new{padding:0.125rem 0.25rem;border-radius:0.25rem;box-shadow:var(--shadow-brighten-edges-outside)}.diff-header__old{background-color:var(--diff-removed-bg)}.diff-header__new{background-color:var(--diff-added-bg)}.diff-header__actions{display:flex;align-items:center;gap:0.25rem}.search-toggle--active{--limel-theme-on-surface-color:var(--mdc-theme-primary)}.diff-header__stats{font-family:ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, "DejaVu Sans Mono", monospace;display:flex;gap:0.5rem;margin-right:0.5rem}.stat{font-family:ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, "DejaVu Sans Mono", monospace;font-size:0.8125rem;font-weight:600}.stat--added{color:var(--diff-stat-added-color)}.stat--removed{color:var(--diff-stat-removed-color)}.search-bar{flex-shrink:0;display:flex;align-items:center;gap:0.25rem;padding:0.25rem 0 0.25rem 0.25rem;background:var(--search-bar-bg);border-bottom:1px solid var(--search-bar-border)}.search-bar limel-action-bar{--action-bar-background-color:transparent;min-width:2.5rem;flex-shrink:0}.search-bar limel-input-field{flex-grow:1}.search-bar__count{color:var(--diff-collapsed-text-color);white-space:nowrap;min-width:4rem;text-align:center;font-size:0.75rem}.search-match{background:var(--search-match-bg);color:inherit;border-radius:0.125rem}.search-match--current{background:var(--search-match-current-bg);outline:1px solid rgb(var(--color-amber-dark), 0.5)}.change-group{position:relative}.change-group__copy{--icon-background-color:rgb(var(--contrast-100));scale:0.9;position:absolute;top:0.125rem;right:0.5rem;display:none}.change-group:hover .change-group__copy{display:inline-flex}.diff-body{flex-grow:1;overflow-x:auto;font-family:ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, "DejaVu Sans Mono", monospace;font-size:var(--code-diff-font-size, 0.75rem)}.diff-body:focus{outline:none}.diff-body:focus-visible{outline:0.125rem solid rgb(var(--color-blue-default));outline-offset:0.125rem;border-radius:0.25rem}.diff-line{display:flex;align-items:stretch;min-height:1.25rem;line-height:1.25rem}.diff-line:hover .line-content{transition-duration:0.2s;background:var(--diff-line-hover-bg)}.diff-line--added .line-content{background:var(--diff-added-bg)}.diff-line--added .line-indicator{color:var(--diff-indicator-added-color)}.diff-line--added:hover .line-content{background:var(--diff-added-bg-hover)}.diff-line--removed .line-content{background:var(--diff-removed-bg)}.diff-line--removed .line-indicator{color:var(--diff-indicator-removed-color)}.diff-line--removed:hover .line-content{background:var(--diff-removed-bg-hover)}.diff-line--context .line-content{background:var(--diff-context-bg)}.diff-line--collapsed{display:flex;justify-content:center;background:var(--diff-collapsed-bg);border-top:1px solid var(--diff-border-color);border-bottom:1px solid var(--diff-border-color)}.diff-line--focused{outline:0.125rem solid rgb(var(--color-blue-default));outline-offset:-0.125rem;z-index:1}.line-number{display:inline-flex;align-items:center;justify-content:flex-end;min-width:calc(1ch + 2 * var(--limel-code-diff-line-number-padding));width:var(--limel-line-number-min-width);padding:0 var(--limel-code-diff-line-number-padding);background:var(--diff-gutter-bg);color:var(--diff-gutter-text-color);user-select:none;text-align:right;flex-shrink:0}.line-number--old{border-right:1px solid var(--diff-border-color)}.line-indicator{display:inline-flex;align-items:center;justify-content:center;width:1.25rem;flex-shrink:0;user-select:none;font-weight:600;background:var(--diff-gutter-bg)}.line-content{flex:1;padding:0 0.75rem;white-space:pre;overflow-x:visible;min-width:0;transition:background-color 0.6s ease}mark{background:transparent;color:inherit;border-radius:0.125rem}mark.segment--added{background:var(--diff-added-highlight-bg)}mark.segment--removed{background:var(--diff-removed-highlight-bg)}.syntax--string{color:var(--syntax-string-color)}.syntax--number{color:var(--syntax-number-color)}.syntax--boolean{color:var(--syntax-boolean-color)}.syntax--null{color:var(--syntax-null-color);font-style:italic}.syntax--key{color:var(--syntax-key-color)}.syntax--punctuation{color:var(--syntax-punctuation-color)}button.expand-button{appearance:none;background:none;border:none;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit;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);cursor:pointer;color:var(--limel-theme-on-surface-color);background-color:transparent}button.expand-button:hover,button.expand-button:focus,button.expand-button:focus-visible{will-change:color, background-color, box-shadow, transform}button.expand-button:hover,button.expand-button:focus-visible{transform:translate3d(0, 0.01rem, 0);color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color)}button.expand-button:hover{box-shadow:var(--button-shadow-hovered)}button.expand-button:active{--limel-clickable-transform-timing-function:cubic-bezier( 0.83, -0.15, 0.49, 1.16 );transform:translate3d(0, 0.05rem, 0);box-shadow:var(--button-shadow-pressed)}button.expand-button:hover,button.expand-button:active{--limel-clickable-transition-speed:0.2s;--limel-clickable-transform-speed:0.16s}button.expand-button:focus{outline:none}button.expand-button:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}button.expand-button{padding:0 0.75rem;border-radius:0.25rem;margin:0.125rem;width:calc(100% - 0.25rem);text-align:center}.diff-empty{padding:2rem;text-align:center;color:var(--diff-empty-text-color);font-style:italic}.diff-line--split{display:flex;align-items:stretch;min-height:1.25rem;line-height:1.25rem}.diff-line--split:hover .split-content--removed{background:var(--diff-removed-bg-hover)}.diff-line--split:hover .split-content--added{background:var(--diff-added-bg-hover)}.diff-line--split:hover .split-content--context{background:var(--diff-line-hover-bg)}.split-content{flex:1;padding:0 0.75rem;white-space:pre;overflow-x:visible;min-width:0}.split-content--left{border-right:1px solid var(--diff-split-divider-color)}.split-content--removed{background:var(--diff-removed-bg)}.split-content--added{background:var(--diff-added-bg)}.split-content--context{background:var(--diff-context-bg)}.split-content--empty{background:var(--diff-empty-cell-bg)}.split-content--left{overflow-x:hidden;text-overflow:ellipsis}.change-group:has(.diff-line--split)>.change-group__copy{right:calc(50% - var(--limel-line-number-min-width))}:host(limel-code-diff[line-wrapping]) .diff-body{overflow-x:hidden}:host(limel-code-diff[line-wrapping]) .line-content,:host(limel-code-diff[line-wrapping]) .split-content{white-space:pre-wrap;overflow-wrap:break-word;word-break:break-all}:host(limel-code-diff[line-wrapping]) .diff-line--split .split-content{flex:1 1 0%;max-width:calc(50% - var(--limel-line-number-min-width))}`;
|
|
1164
1164
|
|
|
1165
1165
|
const CodeDiff = class {
|
|
1166
1166
|
constructor(hostRef) {
|