elements-kit 0.20.0 → 0.22.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/README.md +20 -19
- package/dist/attributes.d.mts +1 -1
- package/dist/await.d.mts +6 -5
- package/dist/await.mjs +0 -36
- package/dist/{types-ncUK9rki.d.mts → children-s3nFjpLA.d.mts} +125 -227
- package/dist/custom-elements-CdpilMDu.d.mts +87 -0
- package/dist/custom-elements.d.mts +2 -2
- package/dist/{element-D3om9yA6.mjs → element-Di0PYFX1.mjs} +15 -38
- package/dist/for.d.mts +9 -4
- package/dist/for.mjs +1 -1
- package/dist/{fragment-ROPRBJQd.mjs → fragment-Bvs1sGu1.mjs} +3 -3
- package/dist/hydrate/index.mjs +1 -1
- package/dist/{hydrate-6Qx4n4Su.mjs → hydrate-CHomBRY9.mjs} +4 -4
- package/dist/integrations/astro-client.mjs +2 -2
- package/dist/integrations/astro-server.mjs +2 -2
- package/dist/integrations/astro-slots.d.mts +6 -5
- package/dist/integrations/astro-slots.mjs +9 -8
- package/dist/integrations/react.d.mts +1 -1
- package/dist/integrations/react.mjs +1 -1
- package/dist/jsx-runtime/index.d.mts +2 -2
- package/dist/jsx-runtime/index.mjs +2 -2
- package/dist/polyfill-BVNd6ogU.d.mts +9 -0
- package/dist/render.mjs +1 -1
- package/dist/server/index.mjs +1 -1
- package/dist/{server-iFSng50i.mjs → server-CTkyXTV6.mjs} +2 -2
- package/dist/signals/index.d.mts +1 -1
- package/dist/slot.d.mts +83 -2
- package/dist/slot.mjs +179 -2
- package/dist/ui/badge/badge.css +5 -5
- package/dist/ui/button/button.css +15 -15
- package/dist/ui/card/card.css +2 -2
- package/dist/ui/group/group.css +61 -0
- package/dist/ui/marketing/marketing.css +5 -3
- package/dist/ui/otp-input/index.d.mts +132 -0
- package/dist/ui/otp-input/index.mjs +328 -0
- package/dist/ui/otp-input/otp-input.css +157 -0
- package/dist/ui/overlay/index.css +52 -4
- package/dist/ui/overlay/index.d.mts +237 -63
- package/dist/ui/overlay/index.mjs +658 -66
- package/dist/ui/overlay/overlay.css +58 -2
- package/dist/ui/styles/index.css +664 -0
- package/dist/ui/styles/radius.css +7 -7
- package/dist/ui/styles/unset.css +212 -210
- package/dist/utilities/active-element.d.mts +1 -1
- package/dist/utilities/async.d.mts +1 -1
- package/dist/utilities/debounced.d.mts +1 -1
- package/dist/utilities/dom-lifecycle.bench.mjs +2 -2
- package/dist/utilities/element-rect.d.mts +1 -1
- package/dist/utilities/element-scroll.d.mts +1 -1
- package/dist/utilities/event-driven.d.mts +1 -1
- package/dist/utilities/event-listener.d.mts +1 -1
- package/dist/utilities/focus-within.d.mts +1 -1
- package/dist/utilities/hover.d.mts +1 -1
- package/dist/utilities/interval.d.mts +1 -1
- package/dist/utilities/location.d.mts +1 -1
- package/dist/utilities/media-devices.d.mts +1 -1
- package/dist/utilities/media-player.d.mts +1 -1
- package/dist/utilities/media-query.d.mts +1 -1
- package/dist/utilities/network.d.mts +1 -1
- package/dist/utilities/orientation.d.mts +1 -1
- package/dist/utilities/previous.d.mts +1 -1
- package/dist/utilities/promise.d.mts +1 -1
- package/dist/utilities/routing.d.mts +1 -1
- package/dist/utilities/search-params.d.mts +1 -1
- package/dist/utilities/storage.d.mts +1 -1
- package/dist/utilities/throttled.d.mts +1 -1
- package/dist/utilities/timeout.d.mts +1 -1
- package/dist/utilities/window-focus.d.mts +1 -1
- package/dist/utilities/window-size.d.mts +1 -1
- package/package.json +10 -1
- package/dist/custom-elements-DK5VUcWA.d.mts +0 -55
- package/dist/slot-BFWXeFRl.d.mts +0 -77
- package/dist/slot-Dvf30O0B.mjs +0 -138
- /package/dist/{attributes-3r7Diua4.d.mts → attributes-DILeh3-s.d.mts} +0 -0
- /package/dist/{scope-zbEG299F.mjs → scope-C1vELXqP.mjs} +0 -0
package/dist/ui/styles/unset.css
CHANGED
|
@@ -1,211 +1,213 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
1
|
+
@layer unset {
|
|
2
|
+
.unset:where(body, blockquote, dl, dd, figure, p) {
|
|
3
|
+
margin: 0;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.unset:where(address, b, cite, code, dfn, em, i, kbd, q, samp, small, strong, var) {
|
|
7
|
+
font: unset;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.unset:where(h1, h2, h3, h4, h5, h6) {
|
|
11
|
+
font: unset;
|
|
12
|
+
margin: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.unset:where(a) {
|
|
16
|
+
all: unset;
|
|
17
|
+
-webkit-tap-highlight-color: transparent;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.unset:where(button, select, [type="button"], [type="image"], [type="reset"], [type="submit"], [type="checkbox"], [type="color"], [type="radio"], [type="range"]) {
|
|
21
|
+
all: unset;
|
|
22
|
+
text-indent: initial;
|
|
23
|
+
-webkit-tap-highlight-color: transparent;
|
|
24
|
+
font-style: normal;
|
|
25
|
+
font-weight: normal;
|
|
26
|
+
display: inline-block;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.unset:where(label) {
|
|
30
|
+
-webkit-tap-highlight-color: transparent;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.unset:where(dialog, [popover]) {
|
|
34
|
+
box-sizing: border-box;
|
|
35
|
+
background: none;
|
|
36
|
+
border: 0;
|
|
37
|
+
outline: none;
|
|
38
|
+
max-width: none;
|
|
39
|
+
max-height: none;
|
|
40
|
+
margin: 0;
|
|
41
|
+
padding: 0;
|
|
42
|
+
position: fixed;
|
|
43
|
+
inset: auto;
|
|
44
|
+
overflow: visible;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.unset:where(select) {
|
|
48
|
+
text-align: start;
|
|
49
|
+
font-style: normal;
|
|
50
|
+
font-weight: normal;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.unset:where(textarea, input:not([type="button"], [type="image"], [type="reset"], [type="submit"], [type="checkbox"], [type="color"], [type="radio"], [type="range"])) {
|
|
54
|
+
all: unset;
|
|
55
|
+
text-align: start;
|
|
56
|
+
width: -webkit-fill-available;
|
|
57
|
+
width: -moz-available;
|
|
58
|
+
width: stretch;
|
|
59
|
+
text-indent: initial;
|
|
60
|
+
-webkit-tap-highlight-color: transparent;
|
|
61
|
+
cursor: text;
|
|
62
|
+
white-space: pre-wrap;
|
|
63
|
+
font-style: normal;
|
|
64
|
+
font-weight: normal;
|
|
65
|
+
display: block;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.unset:where(:focus) {
|
|
69
|
+
outline: none;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.unset::placeholder {
|
|
73
|
+
color: unset;
|
|
74
|
+
opacity: unset;
|
|
75
|
+
-webkit-user-select: none;
|
|
76
|
+
user-select: none;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.unset:where(table) {
|
|
80
|
+
all: unset;
|
|
81
|
+
text-indent: initial;
|
|
82
|
+
display: table;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.unset:where(caption) {
|
|
86
|
+
text-align: inherit;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.unset:where(td) {
|
|
90
|
+
padding: 0;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.unset:where(th) {
|
|
94
|
+
font-weight: unset;
|
|
95
|
+
text-align: inherit;
|
|
96
|
+
padding: 0;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.unset:where(abbr, acronym) {
|
|
100
|
+
text-decoration: none;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.unset:where(canvas, object, picture, summary) {
|
|
104
|
+
display: block;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.unset:where(del, s) {
|
|
108
|
+
-webkit-text-decoration: unset;
|
|
109
|
+
text-decoration: unset;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.unset:where(fieldset, hr) {
|
|
113
|
+
all: unset;
|
|
114
|
+
display: block;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.unset:where(legend) {
|
|
118
|
+
cursor: default;
|
|
119
|
+
border: none;
|
|
120
|
+
padding: 0;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.unset:where(li) {
|
|
124
|
+
text-align: unset;
|
|
125
|
+
display: block;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.unset:where(ol, ul) {
|
|
129
|
+
margin: 0;
|
|
130
|
+
padding: 0;
|
|
131
|
+
list-style: none;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.unset:where(iframe) {
|
|
135
|
+
width: -webkit-fill-available;
|
|
136
|
+
width: -moz-available;
|
|
137
|
+
border: none;
|
|
138
|
+
width: stretch;
|
|
139
|
+
display: block;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.unset:where(ins, u) {
|
|
143
|
+
text-decoration: none;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.unset:where(img) {
|
|
147
|
+
max-width: 100%;
|
|
148
|
+
display: block;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.unset:where(svg) {
|
|
152
|
+
flex-shrink: 0;
|
|
153
|
+
max-width: 100%;
|
|
154
|
+
display: block;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.unset:where(mark) {
|
|
158
|
+
all: unset;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.unset:where(pre) {
|
|
162
|
+
font: unset;
|
|
163
|
+
margin: unset;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.unset:where(q):before, .unset:where(q):after {
|
|
167
|
+
content: "";
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.unset:where(sub, sup) {
|
|
171
|
+
font: unset;
|
|
172
|
+
vertical-align: unset;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.unset:where(details) ::marker {
|
|
176
|
+
content: none;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.unset:where(summary)::marker {
|
|
180
|
+
content: none;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.unset:where(video) {
|
|
184
|
+
width: -webkit-fill-available;
|
|
185
|
+
width: -moz-available;
|
|
186
|
+
width: stretch;
|
|
187
|
+
display: block;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.unset:where(:any-link) {
|
|
191
|
+
cursor: var(--cursor-link);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.unset:where(button) {
|
|
195
|
+
cursor: var(--cursor-button);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.unset:where(:disabled, [data-disabled]) {
|
|
199
|
+
cursor: var(--cursor-disabled);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.unset:where(input[type="checkbox"]) {
|
|
203
|
+
cursor: var(--cursor-checkbox);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.unset:where(input[type="radio"]) {
|
|
207
|
+
cursor: var(--cursor-radio);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.unset, .unset:before, .unset:after {
|
|
211
|
+
box-sizing: border-box;
|
|
212
|
+
}
|
|
211
213
|
}
|
|
@@ -3218,7 +3218,7 @@ function manageArtifactAttachment(attachment) {
|
|
|
3218
3218
|
if (attachment.body != null) attachment.bodyEncoding ??= "base64";
|
|
3219
3219
|
}
|
|
3220
3220
|
//#endregion
|
|
3221
|
-
//#region node_modules/.pnpm/vitest@4.1.3_@types+node@25.5.2_happy-dom@20.8.9_vite@8.0.8_@types+node@25.5.2_esbuild@0.
|
|
3221
|
+
//#region node_modules/.pnpm/vitest@4.1.3_@types+node@25.5.2_happy-dom@20.8.9_vite@8.0.8_@types+node@25.5.2_esbuild@0.28.1_yaml@2.9.0_/node_modules/vitest/dist/chunks/utils.BX5Fg8C4.js
|
|
3222
3222
|
const NAME_WORKER_STATE = "__vitest_worker__";
|
|
3223
3223
|
function getWorkerState() {
|
|
3224
3224
|
const workerState = globalThis[NAME_WORKER_STATE];
|
|
@@ -3226,7 +3226,7 @@ function getWorkerState() {
|
|
|
3226
3226
|
return workerState;
|
|
3227
3227
|
}
|
|
3228
3228
|
//#endregion
|
|
3229
|
-
//#region node_modules/.pnpm/vitest@4.1.3_@types+node@25.5.2_happy-dom@20.8.9_vite@8.0.8_@types+node@25.5.2_esbuild@0.
|
|
3229
|
+
//#region node_modules/.pnpm/vitest@4.1.3_@types+node@25.5.2_happy-dom@20.8.9_vite@8.0.8_@types+node@25.5.2_esbuild@0.28.1_yaml@2.9.0_/node_modules/vitest/dist/chunks/benchmark.CX_oY03V.js
|
|
3230
3230
|
const benchFns = /* @__PURE__ */ new WeakMap();
|
|
3231
3231
|
const benchOptsMap = /* @__PURE__ */ new WeakMap();
|
|
3232
3232
|
const bench = createBenchmark(function(name, fn = noop, options = {}) {
|