nve-designsystem 3.1.0 → 3.3.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.2PCBEMQZ.js +163 -226
- package/chunks/chunk.36O46B5H.js +15 -15
- package/chunks/chunk.4TUIT776.js +78 -96
- package/chunks/chunk.5JY5FUCG.js +965 -1245
- package/chunks/chunk.5P45LHIX.js +668 -96
- package/chunks/chunk.6CTB5ZDJ.js +107 -100
- package/chunks/chunk.B4BZKR24.js +29 -39
- package/chunks/chunk.D5YQDJ7X.js +122 -166
- package/chunks/chunk.EA437WHD.js +5 -5
- package/chunks/chunk.GI7VDIWX.js +14 -15
- package/chunks/chunk.GMYPQTFK.js +18 -20
- package/chunks/chunk.HVTXQL7M.js +191 -215
- package/chunks/chunk.IKV4VH3T.js +18 -16
- package/chunks/chunk.IVVHNXMC.js +26 -27
- package/chunks/chunk.JHOXTQXA.js +65 -74
- package/chunks/chunk.JXOKFADN.js +63 -90
- package/chunks/chunk.K7JGTRV7.js +24 -23
- package/chunks/chunk.KPLQLAWP.js +132 -147
- package/chunks/chunk.LD4M4QGE.js +61 -74
- package/chunks/chunk.MSKEYBDI.js +53 -71
- package/chunks/chunk.NYIIDP5N.js +39 -45
- package/chunks/chunk.RWUUFNUL.js +91 -114
- package/chunks/chunk.SAPQLUO4.js +249 -228
- package/chunks/chunk.SI4ACBFK.js +139 -5
- package/chunks/chunk.TP2GB2HO.js +361 -460
- package/chunks/chunk.UDWRA64J.js +185 -223
- package/chunks/chunk.URTPIBTY.js +119 -151
- package/chunks/chunk.VESXC477.js +63 -66
- package/chunks/chunk.XA43ZQPC.js +198 -313
- package/chunks/chunk.XQ2OKYYA.js +25 -26
- package/chunks/chunk.XZNBUGX7.js +6 -6
- package/chunks/chunk.YHLNUJ7P.js +93 -116
- package/chunks/chunk.ZH2AND3P.js +340 -399
- package/chunks/chunk.ZL53POKZ.js +61 -156
- package/chunks/chunk.js +20 -0
- package/chunks/class-map.js +49 -45
- package/chunks/decorate.js +105 -0
- package/chunks/directive-helpers.js +5 -7
- package/chunks/if-defined.js +5 -5
- package/chunks/lit.js +525 -0
- package/chunks/live.js +24 -24
- package/chunks/nve-alert.component.js +163 -0
- package/chunks/nve-carousel-item.component.js +36 -0
- package/chunks/nve-carousel.component.js +41 -0
- package/chunks/nve-checkbox-group.component.js +114 -0
- package/chunks/nve-checkbox.component.js +28 -0
- package/chunks/nve-dialog.component.js +39 -0
- package/chunks/nve-divider.component.js +23 -0
- package/chunks/nve-drawer.component.js +40 -0
- package/chunks/nve-dropdown.component.js +83 -0
- package/chunks/nve-input.component.js +80 -0
- package/chunks/nve-label.component.js +89 -0
- package/chunks/nve-menu-item.component.js +35 -0
- package/chunks/nve-menu.component.js +17 -0
- package/chunks/nve-option.component.js +27 -0
- package/chunks/nve-popup.component.js +15 -0
- package/chunks/nve-radio-button.component.js +20 -0
- package/chunks/nve-radio-group.component.js +78 -0
- package/chunks/nve-radio.component.js +18 -0
- package/chunks/nve-select.component.js +58 -0
- package/chunks/nve-skeleton.component.js +20 -0
- package/chunks/nve-spinner.component.js +23 -0
- package/chunks/nve-tooltip.component.js +20 -0
- package/chunks/nve-warning-level.component.js +57 -0
- package/chunks/ref.js +75 -84
- package/chunks/shoelace.js +10006 -0
- package/chunks/static-html.js +27 -0
- package/chunks/unsafe-html.js +24 -20
- package/chunks/updateInvalidProperty.js +7 -7
- package/chunks/watch.js +20 -20
- package/components/nve-accordion/nve-accordion.component.js +24 -30
- package/components/nve-accordion-item/nve-accordion-item.component.js +30 -64
- package/components/nve-accordion-item/nve-accordion-item.styles.js +5 -5
- package/components/nve-alert/nve-alert.component.js +2 -227
- package/components/nve-alert/nve-alert.styles.js +45 -27
- package/components/nve-badge/nve-badge.component.js +41 -45
- package/components/nve-badge/nve-badge.styles.js +33 -31
- package/components/nve-button/nve-button.component.d.ts +110 -10
- package/components/nve-button/nve-button.component.js +146 -39
- package/components/nve-button/nve-button.styles.js +214 -157
- package/components/nve-carousel/nve-carousel.component.js +2 -47
- package/components/nve-carousel/nve-carousel.styles.js +6 -6
- package/components/nve-carousel-item/nve-carousel-item.component.js +2 -40
- package/components/nve-carousel-item/nve-carousel-item.styles.js +5 -5
- package/components/nve-carousel-thumbnail/nve-carousel-thumbnail.component.js +44 -54
- package/components/nve-carousel-thumbnail/nve-carousel-thumbnail.styles.js +5 -5
- package/components/nve-checkbox/nve-checkbox.component.js +2 -34
- package/components/nve-checkbox/nve-checkbox.styles.js +7 -7
- package/components/nve-checkbox-group/nve-checkbox-group.component.js +2 -152
- package/components/nve-checkbox-group/nve-checkbox-group.styles.js +5 -5
- package/components/nve-combobox/nve-combobox.component.js +222 -440
- package/components/nve-combobox/nve-combobox.styles.js +6 -6
- package/components/nve-darkmode-switch/nve-darkmode-switch.component.js +32 -38
- package/components/nve-dialog/nve-dialog-styles.js +6 -6
- package/components/nve-dialog/nve-dialog.component.js +2 -54
- package/components/nve-divider/nve-divider.component.js +2 -30
- package/components/nve-drawer/nve-drawer.component.js +2 -44
- package/components/nve-drawer/nve-drawer.styles.js +6 -6
- package/components/nve-dropdown/nve-dropdown.component.js +2 -79
- package/components/nve-dropdown/nve-dropdown.styles.js +5 -5
- package/components/nve-heading/nve-heading.component.d.ts +29 -0
- package/components/nve-heading/nve-heading.component.js +45 -0
- package/components/nve-heading/nve-heading.styles.d.ts +2 -0
- package/components/nve-heading/nve-heading.styles.js +41 -0
- package/components/nve-icon/nve-icon.component.js +145 -164
- package/components/nve-icon/nve-icon.styles.js +11 -6
- package/components/nve-icon/offline-icons.js +16 -13
- package/components/nve-input/nve-input.component.js +2 -100
- package/components/nve-input/nve-input.styles.js +5 -5
- package/components/nve-label/nve-label.component.js +2 -115
- package/components/nve-label/nve-label.styles.js +5 -5
- package/components/nve-link-card/nve-link-card.component.d.ts +5 -2
- package/components/nve-link-card/nve-link-card.component.js +44 -80
- package/components/nve-link-card/nve-link-card.styles.js +71 -66
- package/components/nve-menu/nve-menu.component.js +2 -22
- package/components/nve-menu/nve-menu.styles.js +5 -5
- package/components/nve-menu-item/nve-menu-item.component.js +2 -43
- package/components/nve-menu-item/nve-menu-item.styles.js +7 -7
- package/components/nve-message-card/nve-message-card.component.js +61 -91
- package/components/nve-message-card/nve-message-card.styles.js +24 -27
- package/components/nve-navigation-card/nve-navigation-card.component.d.ts +52 -0
- package/components/nve-navigation-card/nve-navigation-card.component.js +60 -0
- package/components/nve-navigation-card/nve-navigation-card.styles.d.ts +2 -0
- package/components/nve-navigation-card/nve-navigation-card.styles.js +112 -0
- package/components/nve-option/nve-option.component.js +2 -41
- package/components/nve-option/nve-option.styles.js +5 -5
- package/components/nve-paragraph/nve-paragraph.component.d.ts +26 -0
- package/components/nve-paragraph/nve-paragraph.component.js +26 -0
- package/components/nve-paragraph/nve-paragraph.styles.d.ts +2 -0
- package/components/nve-paragraph/nve-paragraph.styles.js +105 -0
- package/components/nve-popup/nve-popup.component.js +2 -22
- package/components/nve-radio/nve-radio.component.js +2 -23
- package/components/nve-radio/nve-radio.styles.js +5 -5
- package/components/nve-radio-button/nve-radio-button.component.js +2 -25
- package/components/nve-radio-button/nve-radio-button.styles.js +5 -5
- package/components/nve-radio-group/nve-radio-group.component.js +2 -119
- package/components/nve-radio-group/nve-radio-group.styles.js +5 -5
- package/components/nve-relative-time/nve-relative-time.component.js +21 -56
- package/components/nve-relative-time/nve-relative-time.styles.js +5 -5
- package/components/nve-select/nve-select.component.js +2 -80
- package/components/nve-select/nve-select.styles.js +6 -6
- package/components/nve-skeleton/nve-skeleton.component.js +2 -27
- package/components/nve-skeleton/nve-skeleton.styles.js +5 -5
- package/components/nve-spinner/nve-spinner.component.js +2 -31
- package/components/nve-stepper/nve-step/nve-step.component.js +113 -173
- package/components/nve-stepper/nve-step/nve-step.styles.js +12 -12
- package/components/nve-stepper/nve-stepper-mobile.component.js +37 -49
- package/components/nve-stepper/nve-stepper-mobile.styles.js +7 -7
- package/components/nve-stepper/nve-stepper.component.js +94 -139
- package/components/nve-stepper/nve-stepper.styles.js +5 -5
- package/components/nve-switch/nve-switch.component.js +75 -107
- package/components/nve-switch/nve-switch.styles.js +7 -7
- package/components/nve-tab/nve-tab.component.js +30 -42
- package/components/nve-tab/nve-tab.styles.js +7 -7
- package/components/nve-tab-group/nve-tab-group.component.js +180 -260
- package/components/nve-tab-group/nve-tab-group.styles.js +5 -5
- package/components/nve-tab-panel/nve-tab-panel.component.js +21 -31
- package/components/nve-tab-panel/nve-tab-panel.styles.js +5 -5
- package/components/nve-tag/nve-tag.component.d.ts +3 -3
- package/components/nve-tag/nve-tag.component.js +71 -72
- package/components/nve-tag/nve-tag.styles.js +23 -22
- package/components/nve-textarea/nve-textarea.component.d.ts +3 -1
- package/components/nve-textarea/nve-textarea.component.js +112 -173
- package/components/nve-textarea/nve-textarea.styles.js +10 -5
- package/components/nve-tooltip/nve-tooltip.component.js +2 -30
- package/components/nve-tooltip/nve-tooltip.styles.js +5 -5
- package/components/nve-warning-level/nve-warning-level.component.js +2 -78
- package/components/nve-warning-level/nve-warning-level.styles.js +7 -7
- package/css/global.css +13 -55
- package/css/nve.css +1048 -393
- package/css/nve_dark.css +406 -305
- package/css/rme.css +1050 -395
- package/css/rme_dark.css +408 -307
- package/css/shoelace-styles.css +539 -0
- package/css/varsom.css +1046 -391
- package/css/varsom_dark.css +404 -303
- package/custom-elements.json +2905 -12389
- package/fonts/LICENSE.txt +37 -0
- package/fonts/SourceSans3-VariableFont_wght.woff2 +0 -0
- package/interfaces/NveComponent.interface.js +0 -1
- package/nve-designsystem.d.ts +5 -0
- package/nve-designsystem.js +46 -86
- package/package.json +26 -8
- package/registerIcons/systemLibraryCustomization.js +23 -91
- package/vite-env.d.js +0 -1
- package/chunks/chunk.3RPBFEDE.js +0 -162
- package/chunks/chunk.JCXLDPQF.js +0 -225
- package/chunks/chunk.JQBT7BOV.js +0 -8446
- package/chunks/chunk.MAQXLKQ7.js +0 -598
- package/chunks/lit-element.js +0 -508
- package/chunks/property.js +0 -37
- package/chunks/query.js +0 -13
- package/chunks/state.js +0 -7
- package/chunks/static.js +0 -26
- package/nve-designsystem.css +0 -1
- package/vscode.css-custom-data.json +0 -621
- package/vscode.html-custom-data.json +0 -2354
package/chunks/chunk.5P45LHIX.js
CHANGED
|
@@ -1,16 +1,607 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { u as e } from "./lit.js";
|
|
2
|
+
import { a as t, o as n, r } from "./decorate.js";
|
|
3
|
+
import { n as i, r as a, t as o } from "./chunk.4TUIT776.js";
|
|
4
|
+
import { t as s } from "./chunk.NYIIDP5N.js";
|
|
5
|
+
import { t as c } from "./chunk.GMYPQTFK.js";
|
|
6
|
+
import { t as l } from "./class-map.js";
|
|
7
|
+
import { t as u } from "./if-defined.js";
|
|
8
|
+
import { r as d } from "./static-html.js";
|
|
9
|
+
//#region .pnpm/@shoelace-style+shoelace@2.20.1_@floating-ui+utils@0.2.11_@types+react@19.2.15/node_modules/@shoelace-style/shoelace/dist/chunks/chunk.MAQXLKQ7.js
|
|
10
|
+
var f = e`
|
|
11
|
+
:host {
|
|
12
|
+
display: inline-block;
|
|
13
|
+
position: relative;
|
|
14
|
+
width: auto;
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.button {
|
|
19
|
+
display: inline-flex;
|
|
20
|
+
align-items: stretch;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
width: 100%;
|
|
23
|
+
border-style: solid;
|
|
24
|
+
border-width: var(--sl-input-border-width);
|
|
25
|
+
font-family: var(--sl-input-font-family);
|
|
26
|
+
font-weight: var(--sl-font-weight-semibold);
|
|
27
|
+
text-decoration: none;
|
|
28
|
+
user-select: none;
|
|
29
|
+
-webkit-user-select: none;
|
|
30
|
+
white-space: nowrap;
|
|
31
|
+
vertical-align: middle;
|
|
32
|
+
padding: 0;
|
|
33
|
+
transition:
|
|
34
|
+
var(--sl-transition-x-fast) background-color,
|
|
35
|
+
var(--sl-transition-x-fast) color,
|
|
36
|
+
var(--sl-transition-x-fast) border,
|
|
37
|
+
var(--sl-transition-x-fast) box-shadow;
|
|
38
|
+
cursor: inherit;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.button::-moz-focus-inner {
|
|
42
|
+
border: 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.button:focus {
|
|
46
|
+
outline: none;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.button:focus-visible {
|
|
50
|
+
outline: var(--sl-focus-ring);
|
|
51
|
+
outline-offset: var(--sl-focus-ring-offset);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.button--disabled {
|
|
55
|
+
opacity: 0.5;
|
|
56
|
+
cursor: not-allowed;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* When disabled, prevent mouse events from bubbling up from children */
|
|
60
|
+
.button--disabled * {
|
|
61
|
+
pointer-events: none;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.button__prefix,
|
|
65
|
+
.button__suffix {
|
|
66
|
+
flex: 0 0 auto;
|
|
67
|
+
display: flex;
|
|
68
|
+
align-items: center;
|
|
69
|
+
pointer-events: none;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.button__label {
|
|
73
|
+
display: inline-block;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.button__label::slotted(sl-icon) {
|
|
77
|
+
vertical-align: -2px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/*
|
|
81
|
+
* Standard buttons
|
|
82
|
+
*/
|
|
83
|
+
|
|
84
|
+
/* Default */
|
|
85
|
+
.button--standard.button--default {
|
|
86
|
+
background-color: var(--sl-color-neutral-0);
|
|
87
|
+
border-color: var(--sl-input-border-color);
|
|
88
|
+
color: var(--sl-color-neutral-700);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.button--standard.button--default:hover:not(.button--disabled) {
|
|
92
|
+
background-color: var(--sl-color-primary-50);
|
|
93
|
+
border-color: var(--sl-color-primary-300);
|
|
94
|
+
color: var(--sl-color-primary-700);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.button--standard.button--default:active:not(.button--disabled) {
|
|
98
|
+
background-color: var(--sl-color-primary-100);
|
|
99
|
+
border-color: var(--sl-color-primary-400);
|
|
100
|
+
color: var(--sl-color-primary-700);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/* Primary */
|
|
104
|
+
.button--standard.button--primary {
|
|
105
|
+
background-color: var(--sl-color-primary-600);
|
|
106
|
+
border-color: var(--sl-color-primary-600);
|
|
107
|
+
color: var(--sl-color-neutral-0);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.button--standard.button--primary:hover:not(.button--disabled) {
|
|
111
|
+
background-color: var(--sl-color-primary-500);
|
|
112
|
+
border-color: var(--sl-color-primary-500);
|
|
113
|
+
color: var(--sl-color-neutral-0);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.button--standard.button--primary:active:not(.button--disabled) {
|
|
117
|
+
background-color: var(--sl-color-primary-600);
|
|
118
|
+
border-color: var(--sl-color-primary-600);
|
|
119
|
+
color: var(--sl-color-neutral-0);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/* Success */
|
|
123
|
+
.button--standard.button--success {
|
|
124
|
+
background-color: var(--sl-color-success-600);
|
|
125
|
+
border-color: var(--sl-color-success-600);
|
|
126
|
+
color: var(--sl-color-neutral-0);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.button--standard.button--success:hover:not(.button--disabled) {
|
|
130
|
+
background-color: var(--sl-color-success-500);
|
|
131
|
+
border-color: var(--sl-color-success-500);
|
|
132
|
+
color: var(--sl-color-neutral-0);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.button--standard.button--success:active:not(.button--disabled) {
|
|
136
|
+
background-color: var(--sl-color-success-600);
|
|
137
|
+
border-color: var(--sl-color-success-600);
|
|
138
|
+
color: var(--sl-color-neutral-0);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/* Neutral */
|
|
142
|
+
.button--standard.button--neutral {
|
|
143
|
+
background-color: var(--sl-color-neutral-600);
|
|
144
|
+
border-color: var(--sl-color-neutral-600);
|
|
145
|
+
color: var(--sl-color-neutral-0);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.button--standard.button--neutral:hover:not(.button--disabled) {
|
|
149
|
+
background-color: var(--sl-color-neutral-500);
|
|
150
|
+
border-color: var(--sl-color-neutral-500);
|
|
151
|
+
color: var(--sl-color-neutral-0);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.button--standard.button--neutral:active:not(.button--disabled) {
|
|
155
|
+
background-color: var(--sl-color-neutral-600);
|
|
156
|
+
border-color: var(--sl-color-neutral-600);
|
|
157
|
+
color: var(--sl-color-neutral-0);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/* Warning */
|
|
161
|
+
.button--standard.button--warning {
|
|
162
|
+
background-color: var(--sl-color-warning-600);
|
|
163
|
+
border-color: var(--sl-color-warning-600);
|
|
164
|
+
color: var(--sl-color-neutral-0);
|
|
165
|
+
}
|
|
166
|
+
.button--standard.button--warning:hover:not(.button--disabled) {
|
|
167
|
+
background-color: var(--sl-color-warning-500);
|
|
168
|
+
border-color: var(--sl-color-warning-500);
|
|
169
|
+
color: var(--sl-color-neutral-0);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.button--standard.button--warning:active:not(.button--disabled) {
|
|
173
|
+
background-color: var(--sl-color-warning-600);
|
|
174
|
+
border-color: var(--sl-color-warning-600);
|
|
175
|
+
color: var(--sl-color-neutral-0);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/* Danger */
|
|
179
|
+
.button--standard.button--danger {
|
|
180
|
+
background-color: var(--sl-color-danger-600);
|
|
181
|
+
border-color: var(--sl-color-danger-600);
|
|
182
|
+
color: var(--sl-color-neutral-0);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.button--standard.button--danger:hover:not(.button--disabled) {
|
|
186
|
+
background-color: var(--sl-color-danger-500);
|
|
187
|
+
border-color: var(--sl-color-danger-500);
|
|
188
|
+
color: var(--sl-color-neutral-0);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.button--standard.button--danger:active:not(.button--disabled) {
|
|
192
|
+
background-color: var(--sl-color-danger-600);
|
|
193
|
+
border-color: var(--sl-color-danger-600);
|
|
194
|
+
color: var(--sl-color-neutral-0);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/*
|
|
198
|
+
* Outline buttons
|
|
199
|
+
*/
|
|
200
|
+
|
|
201
|
+
.button--outline {
|
|
202
|
+
background: none;
|
|
203
|
+
border: solid 1px;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/* Default */
|
|
207
|
+
.button--outline.button--default {
|
|
208
|
+
border-color: var(--sl-input-border-color);
|
|
209
|
+
color: var(--sl-color-neutral-700);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.button--outline.button--default:hover:not(.button--disabled),
|
|
213
|
+
.button--outline.button--default.button--checked:not(.button--disabled) {
|
|
214
|
+
border-color: var(--sl-color-primary-600);
|
|
215
|
+
background-color: var(--sl-color-primary-600);
|
|
216
|
+
color: var(--sl-color-neutral-0);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.button--outline.button--default:active:not(.button--disabled) {
|
|
220
|
+
border-color: var(--sl-color-primary-700);
|
|
221
|
+
background-color: var(--sl-color-primary-700);
|
|
222
|
+
color: var(--sl-color-neutral-0);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
/* Primary */
|
|
226
|
+
.button--outline.button--primary {
|
|
227
|
+
border-color: var(--sl-color-primary-600);
|
|
228
|
+
color: var(--sl-color-primary-600);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.button--outline.button--primary:hover:not(.button--disabled),
|
|
232
|
+
.button--outline.button--primary.button--checked:not(.button--disabled) {
|
|
233
|
+
background-color: var(--sl-color-primary-600);
|
|
234
|
+
color: var(--sl-color-neutral-0);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.button--outline.button--primary:active:not(.button--disabled) {
|
|
238
|
+
border-color: var(--sl-color-primary-700);
|
|
239
|
+
background-color: var(--sl-color-primary-700);
|
|
240
|
+
color: var(--sl-color-neutral-0);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
/* Success */
|
|
244
|
+
.button--outline.button--success {
|
|
245
|
+
border-color: var(--sl-color-success-600);
|
|
246
|
+
color: var(--sl-color-success-600);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.button--outline.button--success:hover:not(.button--disabled),
|
|
250
|
+
.button--outline.button--success.button--checked:not(.button--disabled) {
|
|
251
|
+
background-color: var(--sl-color-success-600);
|
|
252
|
+
color: var(--sl-color-neutral-0);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.button--outline.button--success:active:not(.button--disabled) {
|
|
256
|
+
border-color: var(--sl-color-success-700);
|
|
257
|
+
background-color: var(--sl-color-success-700);
|
|
258
|
+
color: var(--sl-color-neutral-0);
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
/* Neutral */
|
|
262
|
+
.button--outline.button--neutral {
|
|
263
|
+
border-color: var(--sl-color-neutral-600);
|
|
264
|
+
color: var(--sl-color-neutral-600);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.button--outline.button--neutral:hover:not(.button--disabled),
|
|
268
|
+
.button--outline.button--neutral.button--checked:not(.button--disabled) {
|
|
269
|
+
background-color: var(--sl-color-neutral-600);
|
|
270
|
+
color: var(--sl-color-neutral-0);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.button--outline.button--neutral:active:not(.button--disabled) {
|
|
274
|
+
border-color: var(--sl-color-neutral-700);
|
|
275
|
+
background-color: var(--sl-color-neutral-700);
|
|
276
|
+
color: var(--sl-color-neutral-0);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/* Warning */
|
|
280
|
+
.button--outline.button--warning {
|
|
281
|
+
border-color: var(--sl-color-warning-600);
|
|
282
|
+
color: var(--sl-color-warning-600);
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.button--outline.button--warning:hover:not(.button--disabled),
|
|
286
|
+
.button--outline.button--warning.button--checked:not(.button--disabled) {
|
|
287
|
+
background-color: var(--sl-color-warning-600);
|
|
288
|
+
color: var(--sl-color-neutral-0);
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.button--outline.button--warning:active:not(.button--disabled) {
|
|
292
|
+
border-color: var(--sl-color-warning-700);
|
|
293
|
+
background-color: var(--sl-color-warning-700);
|
|
294
|
+
color: var(--sl-color-neutral-0);
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
/* Danger */
|
|
298
|
+
.button--outline.button--danger {
|
|
299
|
+
border-color: var(--sl-color-danger-600);
|
|
300
|
+
color: var(--sl-color-danger-600);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.button--outline.button--danger:hover:not(.button--disabled),
|
|
304
|
+
.button--outline.button--danger.button--checked:not(.button--disabled) {
|
|
305
|
+
background-color: var(--sl-color-danger-600);
|
|
306
|
+
color: var(--sl-color-neutral-0);
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.button--outline.button--danger:active:not(.button--disabled) {
|
|
310
|
+
border-color: var(--sl-color-danger-700);
|
|
311
|
+
background-color: var(--sl-color-danger-700);
|
|
312
|
+
color: var(--sl-color-neutral-0);
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
@media (forced-colors: active) {
|
|
316
|
+
.button.button--outline.button--checked:not(.button--disabled) {
|
|
317
|
+
outline: solid 2px transparent;
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
/*
|
|
322
|
+
* Text buttons
|
|
323
|
+
*/
|
|
324
|
+
|
|
325
|
+
.button--text {
|
|
326
|
+
background-color: transparent;
|
|
327
|
+
border-color: transparent;
|
|
328
|
+
color: var(--sl-color-primary-600);
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.button--text:hover:not(.button--disabled) {
|
|
332
|
+
background-color: transparent;
|
|
333
|
+
border-color: transparent;
|
|
334
|
+
color: var(--sl-color-primary-500);
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.button--text:focus-visible:not(.button--disabled) {
|
|
338
|
+
background-color: transparent;
|
|
339
|
+
border-color: transparent;
|
|
340
|
+
color: var(--sl-color-primary-500);
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.button--text:active:not(.button--disabled) {
|
|
344
|
+
background-color: transparent;
|
|
345
|
+
border-color: transparent;
|
|
346
|
+
color: var(--sl-color-primary-700);
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
/*
|
|
350
|
+
* Size modifiers
|
|
351
|
+
*/
|
|
352
|
+
|
|
353
|
+
.button--small {
|
|
354
|
+
height: auto;
|
|
355
|
+
min-height: var(--sl-input-height-small);
|
|
356
|
+
font-size: var(--sl-button-font-size-small);
|
|
357
|
+
line-height: calc(var(--sl-input-height-small) - var(--sl-input-border-width) * 2);
|
|
358
|
+
border-radius: var(--sl-input-border-radius-small);
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.button--medium {
|
|
362
|
+
height: auto;
|
|
363
|
+
min-height: var(--sl-input-height-medium);
|
|
364
|
+
font-size: var(--sl-button-font-size-medium);
|
|
365
|
+
line-height: calc(var(--sl-input-height-medium) - var(--sl-input-border-width) * 2);
|
|
366
|
+
border-radius: var(--sl-input-border-radius-medium);
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.button--large {
|
|
370
|
+
height: auto;
|
|
371
|
+
min-height: var(--sl-input-height-large);
|
|
372
|
+
font-size: var(--sl-button-font-size-large);
|
|
373
|
+
line-height: calc(var(--sl-input-height-large) - var(--sl-input-border-width) * 2);
|
|
374
|
+
border-radius: var(--sl-input-border-radius-large);
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
/*
|
|
378
|
+
* Pill modifier
|
|
379
|
+
*/
|
|
380
|
+
|
|
381
|
+
.button--pill.button--small {
|
|
382
|
+
border-radius: var(--sl-input-height-small);
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.button--pill.button--medium {
|
|
386
|
+
border-radius: var(--sl-input-height-medium);
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.button--pill.button--large {
|
|
390
|
+
border-radius: var(--sl-input-height-large);
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
/*
|
|
394
|
+
* Circle modifier
|
|
395
|
+
*/
|
|
396
|
+
|
|
397
|
+
.button--circle {
|
|
398
|
+
padding-left: 0;
|
|
399
|
+
padding-right: 0;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.button--circle.button--small {
|
|
403
|
+
width: var(--sl-input-height-small);
|
|
404
|
+
border-radius: 50%;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
.button--circle.button--medium {
|
|
408
|
+
width: var(--sl-input-height-medium);
|
|
409
|
+
border-radius: 50%;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.button--circle.button--large {
|
|
413
|
+
width: var(--sl-input-height-large);
|
|
414
|
+
border-radius: 50%;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.button--circle .button__prefix,
|
|
418
|
+
.button--circle .button__suffix,
|
|
419
|
+
.button--circle .button__caret {
|
|
420
|
+
display: none;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
/*
|
|
424
|
+
* Caret modifier
|
|
425
|
+
*/
|
|
426
|
+
|
|
427
|
+
.button--caret .button__suffix {
|
|
428
|
+
display: none;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.button--caret .button__caret {
|
|
432
|
+
height: auto;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
/*
|
|
436
|
+
* Loading modifier
|
|
437
|
+
*/
|
|
438
|
+
|
|
439
|
+
.button--loading {
|
|
440
|
+
position: relative;
|
|
441
|
+
cursor: wait;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.button--loading .button__prefix,
|
|
445
|
+
.button--loading .button__label,
|
|
446
|
+
.button--loading .button__suffix,
|
|
447
|
+
.button--loading .button__caret {
|
|
448
|
+
visibility: hidden;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
.button--loading sl-spinner {
|
|
452
|
+
--indicator-color: currentColor;
|
|
453
|
+
position: absolute;
|
|
454
|
+
font-size: 1em;
|
|
455
|
+
height: 1em;
|
|
456
|
+
width: 1em;
|
|
457
|
+
top: calc(50% - 0.5em);
|
|
458
|
+
left: calc(50% - 0.5em);
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
/*
|
|
462
|
+
* Badges
|
|
463
|
+
*/
|
|
464
|
+
|
|
465
|
+
.button ::slotted(sl-badge) {
|
|
466
|
+
position: absolute;
|
|
467
|
+
top: 0;
|
|
468
|
+
right: 0;
|
|
469
|
+
translate: 50% -50%;
|
|
470
|
+
pointer-events: none;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
.button--rtl ::slotted(sl-badge) {
|
|
474
|
+
right: auto;
|
|
475
|
+
left: 0;
|
|
476
|
+
translate: -50% -50%;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
/*
|
|
480
|
+
* Button spacing
|
|
481
|
+
*/
|
|
482
|
+
|
|
483
|
+
.button--has-label.button--small .button__label {
|
|
484
|
+
padding: 0 var(--sl-spacing-small);
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
.button--has-label.button--medium .button__label {
|
|
488
|
+
padding: 0 var(--sl-spacing-medium);
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.button--has-label.button--large .button__label {
|
|
492
|
+
padding: 0 var(--sl-spacing-large);
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
.button--has-prefix.button--small {
|
|
496
|
+
padding-inline-start: var(--sl-spacing-x-small);
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.button--has-prefix.button--small .button__label {
|
|
500
|
+
padding-inline-start: var(--sl-spacing-x-small);
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
.button--has-prefix.button--medium {
|
|
504
|
+
padding-inline-start: var(--sl-spacing-small);
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
.button--has-prefix.button--medium .button__label {
|
|
508
|
+
padding-inline-start: var(--sl-spacing-small);
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.button--has-prefix.button--large {
|
|
512
|
+
padding-inline-start: var(--sl-spacing-small);
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
.button--has-prefix.button--large .button__label {
|
|
516
|
+
padding-inline-start: var(--sl-spacing-small);
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
.button--has-suffix.button--small,
|
|
520
|
+
.button--caret.button--small {
|
|
521
|
+
padding-inline-end: var(--sl-spacing-x-small);
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
.button--has-suffix.button--small .button__label,
|
|
525
|
+
.button--caret.button--small .button__label {
|
|
526
|
+
padding-inline-end: var(--sl-spacing-x-small);
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
.button--has-suffix.button--medium,
|
|
530
|
+
.button--caret.button--medium {
|
|
531
|
+
padding-inline-end: var(--sl-spacing-small);
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
.button--has-suffix.button--medium .button__label,
|
|
535
|
+
.button--caret.button--medium .button__label {
|
|
536
|
+
padding-inline-end: var(--sl-spacing-small);
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
.button--has-suffix.button--large,
|
|
540
|
+
.button--caret.button--large {
|
|
541
|
+
padding-inline-end: var(--sl-spacing-small);
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
.button--has-suffix.button--large .button__label,
|
|
545
|
+
.button--caret.button--large .button__label {
|
|
546
|
+
padding-inline-end: var(--sl-spacing-small);
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
/*
|
|
550
|
+
* Button groups support a variety of button types (e.g. buttons with tooltips, buttons as dropdown triggers, etc.).
|
|
551
|
+
* This means buttons aren't always direct descendants of the button group, thus we can't target them with the
|
|
552
|
+
* ::slotted selector. To work around this, the button group component does some magic to add these special classes to
|
|
553
|
+
* buttons and we style them here instead.
|
|
554
|
+
*/
|
|
555
|
+
|
|
556
|
+
:host([data-sl-button-group__button--first]:not([data-sl-button-group__button--last])) .button {
|
|
557
|
+
border-start-end-radius: 0;
|
|
558
|
+
border-end-end-radius: 0;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
:host([data-sl-button-group__button--inner]) .button {
|
|
562
|
+
border-radius: 0;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
:host([data-sl-button-group__button--last]:not([data-sl-button-group__button--first])) .button {
|
|
566
|
+
border-start-start-radius: 0;
|
|
567
|
+
border-end-start-radius: 0;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
/* All except the first */
|
|
571
|
+
:host([data-sl-button-group__button]:not([data-sl-button-group__button--first])) {
|
|
572
|
+
margin-inline-start: calc(-1 * var(--sl-input-border-width));
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
/* Add a visual separator between solid buttons */
|
|
576
|
+
:host(
|
|
577
|
+
[data-sl-button-group__button]:not(
|
|
578
|
+
[data-sl-button-group__button--first],
|
|
579
|
+
[data-sl-button-group__button--radio],
|
|
580
|
+
[variant='default']
|
|
581
|
+
):not(:hover)
|
|
582
|
+
)
|
|
583
|
+
.button:after {
|
|
584
|
+
content: '';
|
|
585
|
+
position: absolute;
|
|
586
|
+
top: 0;
|
|
587
|
+
inset-inline-start: 0;
|
|
588
|
+
bottom: 0;
|
|
589
|
+
border-left: solid 1px rgb(128 128 128 / 33%);
|
|
590
|
+
mix-blend-mode: multiply;
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
/* Bump hovered, focused, and checked buttons up so their focus ring isn't clipped */
|
|
594
|
+
:host([data-sl-button-group__button--hover]) {
|
|
595
|
+
z-index: 1;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
/* Focus and checked are always on top */
|
|
599
|
+
:host([data-sl-button-group__button--focus]),
|
|
600
|
+
:host([data-sl-button-group__button][checked]) {
|
|
601
|
+
z-index: 2;
|
|
602
|
+
}
|
|
603
|
+
`, p = e`
|
|
604
|
+
${f}
|
|
14
605
|
|
|
15
606
|
.button__prefix,
|
|
16
607
|
.button__suffix,
|
|
@@ -33,62 +624,60 @@ var f = a`
|
|
|
33
624
|
opacity: 0;
|
|
34
625
|
z-index: -1;
|
|
35
626
|
}
|
|
36
|
-
`,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
render() {
|
|
68
|
-
return p`
|
|
627
|
+
`, m = class extends o {
|
|
628
|
+
constructor() {
|
|
629
|
+
super(...arguments), this.hasSlotController = new s(this, "[default]", "prefix", "suffix"), this.hasFocus = !1, this.checked = !1, this.disabled = !1, this.size = "medium", this.pill = !1;
|
|
630
|
+
}
|
|
631
|
+
connectedCallback() {
|
|
632
|
+
super.connectedCallback(), this.setAttribute("role", "presentation");
|
|
633
|
+
}
|
|
634
|
+
handleBlur() {
|
|
635
|
+
this.hasFocus = !1, this.emit("sl-blur");
|
|
636
|
+
}
|
|
637
|
+
handleClick(e) {
|
|
638
|
+
if (this.disabled) {
|
|
639
|
+
e.preventDefault(), e.stopPropagation();
|
|
640
|
+
return;
|
|
641
|
+
}
|
|
642
|
+
this.checked = !0;
|
|
643
|
+
}
|
|
644
|
+
handleFocus() {
|
|
645
|
+
this.hasFocus = !0, this.emit("sl-focus");
|
|
646
|
+
}
|
|
647
|
+
handleDisabledChange() {
|
|
648
|
+
this.setAttribute("aria-disabled", this.disabled ? "true" : "false");
|
|
649
|
+
}
|
|
650
|
+
focus(e) {
|
|
651
|
+
this.input.focus(e);
|
|
652
|
+
}
|
|
653
|
+
blur() {
|
|
654
|
+
this.input.blur();
|
|
655
|
+
}
|
|
656
|
+
render() {
|
|
657
|
+
return d`
|
|
69
658
|
<div part="base" role="presentation">
|
|
70
659
|
<button
|
|
71
660
|
part="${`button${this.checked ? " button--checked" : ""}`}"
|
|
72
661
|
role="radio"
|
|
73
662
|
aria-checked="${this.checked}"
|
|
74
|
-
class=${
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
663
|
+
class=${l({
|
|
664
|
+
button: !0,
|
|
665
|
+
"button--default": !0,
|
|
666
|
+
"button--small": this.size === "small",
|
|
667
|
+
"button--medium": this.size === "medium",
|
|
668
|
+
"button--large": this.size === "large",
|
|
669
|
+
"button--checked": this.checked,
|
|
670
|
+
"button--disabled": this.disabled,
|
|
671
|
+
"button--focused": this.hasFocus,
|
|
672
|
+
"button--outline": !0,
|
|
673
|
+
"button--pill": this.pill,
|
|
674
|
+
"button--has-label": this.hasSlotController.test("[default]"),
|
|
675
|
+
"button--has-prefix": this.hasSlotController.test("prefix"),
|
|
676
|
+
"button--has-suffix": this.hasSlotController.test("suffix")
|
|
677
|
+
})}
|
|
89
678
|
aria-disabled=${this.disabled}
|
|
90
679
|
type="button"
|
|
91
|
-
value=${
|
|
680
|
+
value=${u(this.value)}
|
|
92
681
|
@blur=${this.handleBlur}
|
|
93
682
|
@focus=${this.handleFocus}
|
|
94
683
|
@click=${this.handleClick}
|
|
@@ -99,38 +688,21 @@ var f = a`
|
|
|
99
688
|
</button>
|
|
100
689
|
</div>
|
|
101
690
|
`;
|
|
102
|
-
|
|
103
|
-
};
|
|
104
|
-
t.styles = [n, f];
|
|
105
|
-
e([
|
|
106
|
-
i(".button")
|
|
107
|
-
], t.prototype, "input", 2);
|
|
108
|
-
e([
|
|
109
|
-
i(".hidden-input")
|
|
110
|
-
], t.prototype, "hiddenInput", 2);
|
|
111
|
-
e([
|
|
112
|
-
b()
|
|
113
|
-
], t.prototype, "hasFocus", 2);
|
|
114
|
-
e([
|
|
115
|
-
s({ type: Boolean, reflect: !0 })
|
|
116
|
-
], t.prototype, "checked", 2);
|
|
117
|
-
e([
|
|
118
|
-
s()
|
|
119
|
-
], t.prototype, "value", 2);
|
|
120
|
-
e([
|
|
121
|
-
s({ type: Boolean, reflect: !0 })
|
|
122
|
-
], t.prototype, "disabled", 2);
|
|
123
|
-
e([
|
|
124
|
-
s({ reflect: !0 })
|
|
125
|
-
], t.prototype, "size", 2);
|
|
126
|
-
e([
|
|
127
|
-
s({ type: Boolean, reflect: !0 })
|
|
128
|
-
], t.prototype, "pill", 2);
|
|
129
|
-
e([
|
|
130
|
-
u("disabled", { waitUntilFirstUpdate: !0 })
|
|
131
|
-
], t.prototype, "handleDisabledChange", 1);
|
|
132
|
-
var S = t;
|
|
133
|
-
t.define("sl-radio-button");
|
|
134
|
-
export {
|
|
135
|
-
S as r
|
|
691
|
+
}
|
|
136
692
|
};
|
|
693
|
+
m.styles = [i, p], a([r(".button")], m.prototype, "input", 2), a([r(".hidden-input")], m.prototype, "hiddenInput", 2), a([t()], m.prototype, "hasFocus", 2), a([n({
|
|
694
|
+
type: Boolean,
|
|
695
|
+
reflect: !0
|
|
696
|
+
})], m.prototype, "checked", 2), a([n()], m.prototype, "value", 2), a([n({
|
|
697
|
+
type: Boolean,
|
|
698
|
+
reflect: !0
|
|
699
|
+
})], m.prototype, "disabled", 2), a([n({ reflect: !0 })], m.prototype, "size", 2), a([n({
|
|
700
|
+
type: Boolean,
|
|
701
|
+
reflect: !0
|
|
702
|
+
})], m.prototype, "pill", 2), a([c("disabled", { waitUntilFirstUpdate: !0 })], m.prototype, "handleDisabledChange", 1);
|
|
703
|
+
//#endregion
|
|
704
|
+
//#region .pnpm/@shoelace-style+shoelace@2.20.1_@floating-ui+utils@0.2.11_@types+react@19.2.15/node_modules/@shoelace-style/shoelace/dist/chunks/chunk.5P45LHIX.js
|
|
705
|
+
var h = m;
|
|
706
|
+
m.define("sl-radio-button");
|
|
707
|
+
//#endregion
|
|
708
|
+
export { f as n, h as t };
|