@sebgroup/green-core 1.28.1 → 1.30.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/chunks/{chunk.P7FNMCWJ.js → chunk.4XLVTKU5.js} +20 -4
- package/chunks/{chunk.TMMPKW2M.js → chunk.57LSASOY.js} +1 -1
- package/chunks/{chunk.W3RODT4Z.js → chunk.5DR24KUY.js} +2 -2
- package/chunks/{chunk.7WOD4L5I.js → chunk.7D4CRLVS.js} +5 -1
- package/chunks/{chunk.MBRVTL42.js → chunk.7VDSEUTR.js} +2 -2
- package/chunks/{chunk.S63G7END.js → chunk.7Y5WL74C.js} +1 -1
- package/chunks/{chunk.AIIIR7YQ.js → chunk.C3SO7KTM.js} +1 -1
- package/chunks/{chunk.HHRXGBRM.js → chunk.COEIL5XR.js} +2 -2
- package/chunks/{chunk.NW6QJEJ7.js → chunk.DCXVWTKS.js} +1 -1
- package/chunks/{chunk.EILYPOGS.js → chunk.FC6X4F4U.js} +1 -1
- package/chunks/{chunk.JZPPDKRE.js → chunk.FDDMV56N.js} +1 -1
- package/chunks/{chunk.JWXILQKR.js → chunk.FJUIK5PN.js} +5 -5
- package/chunks/{chunk.27ED3WJU.js → chunk.FQQ43BBK.js} +1 -1
- package/chunks/{chunk.MYA45ATV.js → chunk.H46PLH6E.js} +1 -1
- package/chunks/{chunk.FMXZ2CBC.js → chunk.IP4SNLCX.js} +1 -1
- package/chunks/chunk.IZ4S7TBG.js +47 -0
- package/chunks/{chunk.MUVW2RPS.js → chunk.JL6J6MCJ.js} +1 -1
- package/chunks/{chunk.2YTPPLUR.js → chunk.LJLIYGQD.js} +1 -1
- package/chunks/{chunk.KT7MWJCG.js → chunk.LPQA7BDV.js} +1 -1
- package/chunks/{chunk.ZDK6GCF7.js → chunk.LRCIIA5E.js} +1 -1
- package/chunks/{chunk.F7RPWFJJ.js → chunk.LRRFNCU5.js} +1 -1
- package/chunks/{chunk.MS745ZCJ.js → chunk.LYAC2QCH.js} +1 -1
- package/chunks/{chunk.HOSMWBJK.js → chunk.O2NYP6CU.js} +1 -1
- package/chunks/{chunk.XCYLFTFG.js → chunk.PVMVDWNH.js} +1 -1
- package/chunks/{chunk.AZQ7OHDE.js → chunk.SUCYW2BN.js} +5 -5
- package/chunks/{chunk.HNQ5BESO.js → chunk.UZLOEUQK.js} +38 -13
- package/chunks/{chunk.PLBDEP73.js → chunk.VGYE44DX.js} +46 -18
- package/chunks/chunk.VOYMQ322.js +1 -1
- package/chunks/{chunk.NFHR55PV.js → chunk.WGTPNU3P.js} +1 -1
- package/chunks/{chunk.BWE3LWZR.js → chunk.WIA7QHCX.js} +1 -1
- package/chunks/{chunk.LA5JE2G2.js → chunk.WZUFNAAA.js} +1 -1
- package/components/button/button.js +4 -4
- package/components/button/button.trans.styles.js +1 -1
- package/components/button/index.js +4 -4
- package/components/calendar/calendar.js +2 -2
- package/components/calendar/calendar.trans.styles.js +1 -1
- package/components/calendar/index.js +2 -2
- package/components/content/divider/divider.js +2 -2
- package/components/content/divider/index.js +2 -2
- package/components/content/spacer/index.js +2 -2
- package/components/content/spacer/spacer.js +2 -2
- package/components/content/text/index.js +2 -2
- package/components/content/text/text.js +2 -2
- package/components/context-menu/context-menu.js +7 -6
- package/components/context-menu/context-menu.trans.styles.js +1 -1
- package/components/context-menu/index.js +8 -7
- package/components/datepicker/datepicker.js +13 -12
- package/components/datepicker/datepicker.trans.styles.js +1 -1
- package/components/datepicker/index.js +13 -12
- package/components/dropdown/dropdown.js +7 -6
- package/components/dropdown/dropdown.trans.styles.js +1 -1
- package/components/dropdown/index.js +8 -7
- package/components/filter-chips/filter-chip/filter-chip.js +5 -5
- package/components/filter-chips/filter-chip/filter-chip.trans.styles.js +1 -1
- package/components/filter-chips/filter-chip/index.js +5 -5
- package/components/filter-chips/filter-chips.js +5 -5
- package/components/filter-chips/filter-chips.trans.styles.js +1 -1
- package/components/filter-chips/index.js +5 -5
- package/components/grouped-list/grouped-list.js +2 -2
- package/components/grouped-list/grouped-list.trans.styles.js +1 -1
- package/components/grouped-list/index.js +2 -2
- package/components/icon/index.js +0 -1
- package/components/index.js +33 -33
- package/components/layout/card/card.js +3 -3
- package/components/layout/card/index.js +3 -3
- package/components/layout/container/container.d.ts +1 -1
- package/components/layout/container/container.js +2 -2
- package/components/layout/container/index.js +2 -2
- package/components/layout/flex/flex.js +3 -3
- package/components/layout/flex/index.js +3 -3
- package/components/layout/grid/grid.js +2 -2
- package/components/layout/grid/index.js +2 -2
- package/components/media/img/img.js +2 -2
- package/components/media/img/index.js +2 -2
- package/components/media/video/index.js +2 -2
- package/components/media/video/video.js +2 -2
- package/components/menu-button/index.js +2 -2
- package/components/menu-button/menu-button.js +2 -2
- package/components/popover/backdrop.d.ts +10 -0
- package/components/popover/backdrop.js +11 -0
- package/components/popover/index.d.ts +1 -0
- package/components/popover/index.js +7 -3
- package/components/popover/popover.d.ts +33 -1
- package/components/popover/popover.js +2 -2
- package/components/popover/popover.trans.styles.js +1 -1
- package/components/segmented-control/index.js +6 -5
- package/components/segmented-control/segment/index.js +3 -3
- package/components/segmented-control/segment/segment.d.ts +4 -0
- package/components/segmented-control/segment/segment.js +3 -3
- package/components/segmented-control/segment/segment.trans.styles.js +1 -1
- package/components/segmented-control/segmented-control.d.ts +2 -1
- package/components/segmented-control/segmented-control.js +6 -5
- package/components/segmented-control/segmented-control.trans.styles.js +1 -1
- package/components/theme/index.js +2 -2
- package/components/theme/theme.js +2 -2
- package/components/theme/theme.trans.styles.js +1 -1
- package/index.js +33 -33
- package/package.json +1 -1
- package/primitives/listbox/index.js +3 -3
- package/primitives/listbox/listbox.js +3 -3
- package/primitives/listbox/option.js +2 -2
- package/primitives/menu/index.js +3 -3
- package/primitives/menu/menu-heading.js +2 -2
- package/primitives/menu/menu-item.js +2 -2
- package/primitives/menu/menu.js +3 -3
- package/primitives/ripple/index.js +2 -2
- package/primitives/ripple/ripple.js +2 -2
- package/transitional-styles.js +1 -1
- package/chunks/chunk.4ZADZSWE.js +0 -0
- /package/chunks/{chunk.4HJGQCBX.js → chunk.ZJVOZRT5.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TransitionalStyles
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.UZLOEUQK.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.FJUIK5PN.js";
|
|
7
7
|
import {
|
|
8
8
|
GdsElement
|
|
9
9
|
} from "./chunk.ZQ4D5K7J.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import { property } from "lit/decorators.js";
|
|
20
20
|
import { unsafeCSS } from "lit";
|
|
21
21
|
|
|
22
|
-
// libs/core/src/components/segmented-control/segment/segment.style.css
|
|
22
|
+
// libs/core/src/components/segmented-control/segment/segment.style.css?inline
|
|
23
23
|
var segment_style_default = `:host {
|
|
24
24
|
display: flex;
|
|
25
25
|
transition: 0.2s;
|
|
@@ -45,6 +45,11 @@ button {
|
|
|
45
45
|
text-overflow: ellipsis;
|
|
46
46
|
white-space: nowrap;
|
|
47
47
|
width: 100%;
|
|
48
|
+
|
|
49
|
+
&:disabled {
|
|
50
|
+
cursor: not-allowed;
|
|
51
|
+
opacity: 0.5;
|
|
52
|
+
}
|
|
48
53
|
}
|
|
49
54
|
|
|
50
55
|
@media (pointer: fine) {
|
|
@@ -54,6 +59,10 @@ button {
|
|
|
54
59
|
var(--gds-sys-color-state-layers-state-black-dim1),
|
|
55
60
|
transparent
|
|
56
61
|
);
|
|
62
|
+
|
|
63
|
+
&:disabled {
|
|
64
|
+
background-color: transparent;
|
|
65
|
+
}
|
|
57
66
|
}
|
|
58
67
|
}
|
|
59
68
|
|
|
@@ -68,6 +77,7 @@ var GdsSegment = class extends GdsElement {
|
|
|
68
77
|
constructor() {
|
|
69
78
|
super(...arguments);
|
|
70
79
|
this.selected = false;
|
|
80
|
+
this.disabled = false;
|
|
71
81
|
}
|
|
72
82
|
connectedCallback() {
|
|
73
83
|
super.connectedCallback();
|
|
@@ -75,7 +85,10 @@ var GdsSegment = class extends GdsElement {
|
|
|
75
85
|
this.setAttribute("role", "listitem");
|
|
76
86
|
}
|
|
77
87
|
render() {
|
|
78
|
-
return html`<button
|
|
88
|
+
return html`<button
|
|
89
|
+
aria-current=${String(this.selected)}
|
|
90
|
+
?disabled="${this.disabled}"
|
|
91
|
+
>
|
|
79
92
|
<slot></slot>
|
|
80
93
|
</button>`;
|
|
81
94
|
}
|
|
@@ -87,6 +100,9 @@ __decorateClass([
|
|
|
87
100
|
__decorateClass([
|
|
88
101
|
property()
|
|
89
102
|
], GdsSegment.prototype, "value", 2);
|
|
103
|
+
__decorateClass([
|
|
104
|
+
property({ type: Boolean, reflect: true })
|
|
105
|
+
], GdsSegment.prototype, "disabled", 2);
|
|
90
106
|
GdsSegment = __decorateClass([
|
|
91
107
|
gdsCustomElement("gds-segment")
|
|
92
108
|
], GdsSegment);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsContainer
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.7D4CRLVS.js";
|
|
4
4
|
import {
|
|
5
5
|
card_style_css_default
|
|
6
6
|
} from "./chunk.3ULLOORV.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk.ADPMTWTS.js";
|
|
10
10
|
import {
|
|
11
11
|
tokens
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.FJUIK5PN.js";
|
|
13
13
|
import {
|
|
14
14
|
gdsCustomElement,
|
|
15
15
|
html
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk.ADPMTWTS.js";
|
|
7
7
|
import {
|
|
8
8
|
tokens
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.FJUIK5PN.js";
|
|
10
10
|
import {
|
|
11
11
|
GdsElement
|
|
12
12
|
} from "./chunk.ZQ4D5K7J.js";
|
|
@@ -20,6 +20,10 @@ import {
|
|
|
20
20
|
|
|
21
21
|
// libs/core/src/components/layout/container/container.ts
|
|
22
22
|
var GdsContainer = class extends GdsElement {
|
|
23
|
+
constructor() {
|
|
24
|
+
super(...arguments);
|
|
25
|
+
this.display = "block";
|
|
26
|
+
}
|
|
23
27
|
render() {
|
|
24
28
|
return html`<slot></slot>`;
|
|
25
29
|
}
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk.54252E4T.js";
|
|
4
4
|
import {
|
|
5
5
|
GdsContainer
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.7D4CRLVS.js";
|
|
7
7
|
import {
|
|
8
8
|
styleExpressionProperty
|
|
9
9
|
} from "./chunk.ADPMTWTS.js";
|
|
10
10
|
import {
|
|
11
11
|
tokens
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.FJUIK5PN.js";
|
|
13
13
|
import {
|
|
14
14
|
gdsCustomElement,
|
|
15
15
|
html
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./chunk.KBYQYDL3.js";
|
|
7
7
|
import {
|
|
8
8
|
TransitionalStyles
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.UZLOEUQK.js";
|
|
10
10
|
import {
|
|
11
11
|
tokens
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.FJUIK5PN.js";
|
|
13
13
|
import {
|
|
14
14
|
gdsCustomElement,
|
|
15
15
|
html
|
|
@@ -4,7 +4,7 @@ import { unsafeCSS } from "lit";
|
|
|
4
4
|
// dist/libs/tokens/internal/pallet.css?inline
|
|
5
5
|
var pallet_default = `/**
|
|
6
6
|
* Do not edit directly
|
|
7
|
-
* Generated on
|
|
7
|
+
* Generated on Tue, 09 Jul 2024 10:30:20 GMT
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
:host {
|
|
@@ -165,7 +165,7 @@ var pallet_default = `/**
|
|
|
165
165
|
// dist/libs/tokens/internal/theme/light.css?inline
|
|
166
166
|
var light_default = `/**
|
|
167
167
|
* Do not edit directly
|
|
168
|
-
* Generated on
|
|
168
|
+
* Generated on Tue, 09 Jul 2024 10:30:20 GMT
|
|
169
169
|
*/
|
|
170
170
|
|
|
171
171
|
:host {
|
|
@@ -286,7 +286,7 @@ var light_default = `/**
|
|
|
286
286
|
// dist/libs/tokens/internal/size.css?inline
|
|
287
287
|
var size_default = `/**
|
|
288
288
|
* Do not edit directly
|
|
289
|
-
* Generated on
|
|
289
|
+
* Generated on Tue, 09 Jul 2024 10:30:20 GMT
|
|
290
290
|
*/
|
|
291
291
|
|
|
292
292
|
:host {
|
|
@@ -313,7 +313,7 @@ var size_default = `/**
|
|
|
313
313
|
// dist/libs/tokens/internal/text.css?inline
|
|
314
314
|
var text_default = `/**
|
|
315
315
|
* Do not edit directly
|
|
316
|
-
* Generated on
|
|
316
|
+
* Generated on Tue, 09 Jul 2024 10:30:20 GMT
|
|
317
317
|
*/
|
|
318
318
|
|
|
319
319
|
:host {
|
|
@@ -368,7 +368,7 @@ var text_default = `/**
|
|
|
368
368
|
// dist/libs/tokens/internal/motion.css?inline
|
|
369
369
|
var motion_default = `/**
|
|
370
370
|
* Do not edit directly
|
|
371
|
-
* Generated on
|
|
371
|
+
* Generated on Tue, 09 Jul 2024 10:30:20 GMT
|
|
372
372
|
*/
|
|
373
373
|
|
|
374
374
|
:host {
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import {
|
|
2
|
+
GdsElement
|
|
3
|
+
} from "./chunk.ZQ4D5K7J.js";
|
|
4
|
+
import {
|
|
5
|
+
gdsCustomElement,
|
|
6
|
+
html
|
|
7
|
+
} from "./chunk.VOYMQ322.js";
|
|
8
|
+
import {
|
|
9
|
+
__decorateClass
|
|
10
|
+
} from "./chunk.5VURDMKE.js";
|
|
11
|
+
|
|
12
|
+
// libs/core/src/components/popover/backdrop.ts
|
|
13
|
+
import { css } from "lit";
|
|
14
|
+
import { property } from "lit/decorators.js";
|
|
15
|
+
var GdsBackdrop = class extends GdsElement {
|
|
16
|
+
constructor() {
|
|
17
|
+
super(...arguments);
|
|
18
|
+
this.show = false;
|
|
19
|
+
}
|
|
20
|
+
render() {
|
|
21
|
+
return html``;
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
GdsBackdrop.styles = css`
|
|
25
|
+
:host {
|
|
26
|
+
display: none;
|
|
27
|
+
position: fixed;
|
|
28
|
+
inset: 0;
|
|
29
|
+
background-color: rgba(0, 0, 0, 0.25);
|
|
30
|
+
width: 100%;
|
|
31
|
+
height: 100%;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
:host([show]) {
|
|
35
|
+
display: block;
|
|
36
|
+
}
|
|
37
|
+
`;
|
|
38
|
+
__decorateClass([
|
|
39
|
+
property({ type: Boolean, reflect: true })
|
|
40
|
+
], GdsBackdrop.prototype, "show", 2);
|
|
41
|
+
GdsBackdrop = __decorateClass([
|
|
42
|
+
gdsCustomElement("gds-backdrop")
|
|
43
|
+
], GdsBackdrop);
|
|
44
|
+
|
|
45
|
+
export {
|
|
46
|
+
GdsBackdrop
|
|
47
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsSegment
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.4XLVTKU5.js";
|
|
4
4
|
import {
|
|
5
5
|
resizeObserver
|
|
6
6
|
} from "./chunk.VHN4JEZC.js";
|
|
7
7
|
import {
|
|
8
8
|
TransitionalStyles
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.UZLOEUQK.js";
|
|
10
10
|
import {
|
|
11
11
|
tokens
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.FJUIK5PN.js";
|
|
13
13
|
import {
|
|
14
14
|
GdsElement
|
|
15
15
|
} from "./chunk.ZQ4D5K7J.js";
|
|
@@ -35,7 +35,7 @@ import { query, state, property } from "lit/decorators.js";
|
|
|
35
35
|
import { when } from "lit/directives/when.js";
|
|
36
36
|
import { msg } from "@lit/localize";
|
|
37
37
|
|
|
38
|
-
// libs/core/src/components/segmented-control/segmented-control.style.css
|
|
38
|
+
// libs/core/src/components/segmented-control/segmented-control.style.css?inline
|
|
39
39
|
var segmented_control_style_default = `:host {
|
|
40
40
|
background-color: var(--gds-sys-color-container-container-dim1);
|
|
41
41
|
border: 0.25rem solid var(--gds-sys-color-container-container-dim1);
|
|
@@ -410,7 +410,7 @@ __decorateClass([
|
|
|
410
410
|
property({ type: Number, attribute: "seg-min-width" })
|
|
411
411
|
], GdsSegmentedControl.prototype, "segMinWidth", 2);
|
|
412
412
|
__decorateClass([
|
|
413
|
-
property()
|
|
413
|
+
property({ reflect: true })
|
|
414
414
|
], GdsSegmentedControl.prototype, "size", 2);
|
|
415
415
|
__decorateClass([
|
|
416
416
|
property()
|
|
@@ -763,7 +763,7 @@ var popover_trans_styles_default = `/* stylelint-disable max-nesting-depth */
|
|
|
763
763
|
}
|
|
764
764
|
}
|
|
765
765
|
@media (min-width: 36em) {
|
|
766
|
-
dialog.use-modal-in-mobile::backdrop {
|
|
766
|
+
dialog.use-modal-in-mobile:not(.has-backdrop)::backdrop {
|
|
767
767
|
opacity: 0;
|
|
768
768
|
}
|
|
769
769
|
}
|
|
@@ -1537,12 +1537,28 @@ var segmented_control_trans_styles_default = `@layer base, reset, transitional-s
|
|
|
1537
1537
|
}
|
|
1538
1538
|
`;
|
|
1539
1539
|
|
|
1540
|
-
// libs/core/src/components/segmented-control/segment/segment.trans.styles.
|
|
1541
|
-
var segment_trans_styles_default =
|
|
1542
|
-
|
|
1540
|
+
// libs/core/src/components/segmented-control/segment/segment.trans.styles.scss?inline
|
|
1541
|
+
var segment_trans_styles_default = `/* stylelint-disable max-nesting-depth */
|
|
1542
|
+
/* stylelint-enable max-nesting-depth */
|
|
1543
|
+
/**
|
|
1544
|
+
* Calculate the luminance for a color.
|
|
1545
|
+
* See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
1546
|
+
*/
|
|
1547
|
+
/**
|
|
1548
|
+
* Calculate the contrast ratio between two colors.
|
|
1549
|
+
* See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
1550
|
+
*/
|
|
1551
|
+
/* stylelint-disable */
|
|
1552
|
+
/* stylelint-enable */
|
|
1553
|
+
/* stylelint-disable */
|
|
1554
|
+
/**
|
|
1555
|
+
* @deprecated
|
|
1556
|
+
* Use \`add-focus\` instead
|
|
1557
|
+
*/
|
|
1558
|
+
/** add background color, color and border-color to element when it has focus-visible i.e. tab focus */
|
|
1559
|
+
@layer base, reset, transitional-styles;
|
|
1543
1560
|
@layer transitional-styles {
|
|
1544
1561
|
@layer _base;
|
|
1545
|
-
|
|
1546
1562
|
@layer _base {
|
|
1547
1563
|
:host {
|
|
1548
1564
|
border-right: 1px solid #333;
|
|
@@ -1551,11 +1567,9 @@ var segment_trans_styles_default = `@layer base, reset, transitional-styles;
|
|
|
1551
1567
|
transition: 0.2s;
|
|
1552
1568
|
z-index: 1;
|
|
1553
1569
|
}
|
|
1554
|
-
|
|
1555
1570
|
:host(:last-child) {
|
|
1556
1571
|
border-right: 0;
|
|
1557
1572
|
}
|
|
1558
|
-
|
|
1559
1573
|
button {
|
|
1560
1574
|
-webkit-appearance: none;
|
|
1561
1575
|
-moz-appearance: none;
|
|
@@ -1577,25 +1591,36 @@ var segment_trans_styles_default = `@layer base, reset, transitional-styles;
|
|
|
1577
1591
|
white-space: nowrap;
|
|
1578
1592
|
width: 100%;
|
|
1579
1593
|
}
|
|
1580
|
-
|
|
1581
1594
|
@media (pointer: fine) {
|
|
1582
1595
|
button:hover {
|
|
1583
1596
|
background-color: var(--grey-400);
|
|
1584
1597
|
}
|
|
1585
1598
|
}
|
|
1586
|
-
|
|
1587
|
-
button[aria-current='true'] {
|
|
1599
|
+
button[aria-current=true] {
|
|
1588
1600
|
background-color: #333;
|
|
1589
1601
|
color: #fff;
|
|
1590
1602
|
}
|
|
1591
|
-
|
|
1592
1603
|
button:focus-visible {
|
|
1593
1604
|
outline: 2px solid #000;
|
|
1594
1605
|
outline-offset: -2px;
|
|
1595
1606
|
}
|
|
1607
|
+
button:disabled,
|
|
1608
|
+
button[aria-disabled=true],
|
|
1609
|
+
button.disabled {
|
|
1610
|
+
color: var(--text-disabled-color) !important;
|
|
1611
|
+
border-color: var(--border-disabled-color) !important;
|
|
1612
|
+
cursor: not-allowed;
|
|
1613
|
+
}
|
|
1614
|
+
button:disabled::-moz-placeholder, button[aria-disabled=true]::-moz-placeholder, button.disabled::-moz-placeholder {
|
|
1615
|
+
color: var(--text-disabled-color);
|
|
1616
|
+
}
|
|
1617
|
+
button:disabled::placeholder,
|
|
1618
|
+
button[aria-disabled=true]::placeholder,
|
|
1619
|
+
button.disabled::placeholder {
|
|
1620
|
+
color: var(--text-disabled-color);
|
|
1621
|
+
}
|
|
1596
1622
|
}
|
|
1597
|
-
}
|
|
1598
|
-
`;
|
|
1623
|
+
}`;
|
|
1599
1624
|
|
|
1600
1625
|
// libs/core/src/components/segmented-control/segment/segment.trans.styles.ts
|
|
1601
1626
|
function register9() {
|