@shift-css/core 0.0.1 → 0.5.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 +110 -0
- package/dist/components/button.css +216 -0
- package/dist/components/card.css +160 -0
- package/dist/components/input.css +231 -0
- package/dist/components/modal.css +184 -0
- package/dist/components/prose.css +263 -0
- package/dist/components/skip-link.css +86 -0
- package/dist/components/surface.css +118 -0
- package/dist/shift.css +572 -16
- package/dist/shift.css.map +1 -1
- package/dist/shift.min.css +1 -1
- package/dist/utils/flex.css +303 -0
- package/dist/utils/layout.css +338 -0
- package/dist/utils/spacing.css +587 -0
- package/dist/utils/typography.css +434 -0
- package/dist/utils/visibility.css +177 -0
- package/package.json +11 -1
|
@@ -0,0 +1,434 @@
|
|
|
1
|
+
.s-font-sans {
|
|
2
|
+
font-family: var(--s-font-sans);
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.s-font-serif {
|
|
6
|
+
font-family: var(--s-font-serif);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.s-font-mono {
|
|
10
|
+
font-family: var(--s-font-mono);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.s-text-xs {
|
|
14
|
+
font-size: var(--s-text-xs);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.s-text-sm {
|
|
18
|
+
font-size: var(--s-text-sm);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.s-text-base {
|
|
22
|
+
font-size: var(--s-text-base);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.s-text-lg {
|
|
26
|
+
font-size: var(--s-text-lg);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.s-text-xl {
|
|
30
|
+
font-size: var(--s-text-xl);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.s-text-2xl {
|
|
34
|
+
font-size: var(--s-text-2xl);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.s-text-3xl {
|
|
38
|
+
font-size: var(--s-text-3xl);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.s-text-4xl {
|
|
42
|
+
font-size: var(--s-text-4xl);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.s-text-5xl {
|
|
46
|
+
font-size: var(--s-text-5xl);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.s-font-thin {
|
|
50
|
+
font-weight: var(--s-font-thin);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.s-font-extralight {
|
|
54
|
+
font-weight: var(--s-font-extralight);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.s-font-light {
|
|
58
|
+
font-weight: var(--s-font-light);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.s-font-normal {
|
|
62
|
+
font-weight: var(--s-font-normal);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.s-font-medium {
|
|
66
|
+
font-weight: var(--s-font-medium);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.s-font-semibold {
|
|
70
|
+
font-weight: var(--s-font-semibold);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.s-font-bold {
|
|
74
|
+
font-weight: var(--s-font-bold);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.s-font-extrabold {
|
|
78
|
+
font-weight: var(--s-font-extrabold);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.s-font-black {
|
|
82
|
+
font-weight: var(--s-font-black);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.s-leading-none {
|
|
86
|
+
line-height: var(--s-leading-none);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.s-leading-tight {
|
|
90
|
+
line-height: var(--s-leading-tight);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.s-leading-snug {
|
|
94
|
+
line-height: var(--s-leading-snug);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.s-leading-normal {
|
|
98
|
+
line-height: var(--s-leading-normal);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.s-leading-relaxed {
|
|
102
|
+
line-height: var(--s-leading-relaxed);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.s-leading-loose {
|
|
106
|
+
line-height: var(--s-leading-loose);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.s-tracking-tighter {
|
|
110
|
+
letter-spacing: var(--s-tracking-tighter);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.s-tracking-tight {
|
|
114
|
+
letter-spacing: var(--s-tracking-tight);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.s-tracking-normal {
|
|
118
|
+
letter-spacing: var(--s-tracking-normal);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.s-tracking-wide {
|
|
122
|
+
letter-spacing: var(--s-tracking-wide);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.s-tracking-wider {
|
|
126
|
+
letter-spacing: var(--s-tracking-wider);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.s-tracking-widest {
|
|
130
|
+
letter-spacing: var(--s-tracking-widest);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.s-text-left {
|
|
134
|
+
text-align: left;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.s-text-center {
|
|
138
|
+
text-align: center;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.s-text-right {
|
|
142
|
+
text-align: right;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.s-text-justify {
|
|
146
|
+
text-align: justify;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.s-text-start {
|
|
150
|
+
text-align: start;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.s-text-end {
|
|
154
|
+
text-align: end;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.s-align-baseline {
|
|
158
|
+
vertical-align: baseline;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.s-align-top {
|
|
162
|
+
vertical-align: top;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.s-align-middle {
|
|
166
|
+
vertical-align: middle;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.s-align-bottom {
|
|
170
|
+
vertical-align: bottom;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.s-align-text-top {
|
|
174
|
+
vertical-align: text-top;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.s-align-text-bottom {
|
|
178
|
+
vertical-align: text-bottom;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.s-align-sub {
|
|
182
|
+
vertical-align: sub;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.s-align-super {
|
|
186
|
+
vertical-align: super;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.s-underline {
|
|
190
|
+
text-decoration-line: underline;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.s-overline {
|
|
194
|
+
text-decoration-line: overline;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.s-line-through {
|
|
198
|
+
text-decoration-line: line-through;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.s-no-underline {
|
|
202
|
+
text-decoration-line: none;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.s-decoration-solid {
|
|
206
|
+
text-decoration-style: solid;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.s-decoration-double {
|
|
210
|
+
text-decoration-style: double;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.s-decoration-dotted {
|
|
214
|
+
text-decoration-style: dotted;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.s-decoration-dashed {
|
|
218
|
+
text-decoration-style: dashed;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.s-decoration-wavy {
|
|
222
|
+
text-decoration-style: wavy;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.s-uppercase {
|
|
226
|
+
text-transform: uppercase;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.s-lowercase {
|
|
230
|
+
text-transform: lowercase;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.s-capitalize {
|
|
234
|
+
text-transform: capitalize;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.s-normal-case {
|
|
238
|
+
text-transform: none;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.s-text-ellipsis {
|
|
242
|
+
text-overflow: ellipsis;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.s-text-clip {
|
|
246
|
+
text-overflow: clip;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.s-text-wrap {
|
|
250
|
+
text-wrap: wrap;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.s-text-nowrap {
|
|
254
|
+
text-wrap: nowrap;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.s-text-balance {
|
|
258
|
+
text-wrap: balance;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.s-text-pretty {
|
|
262
|
+
text-wrap: pretty;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.s-whitespace-normal {
|
|
266
|
+
white-space: normal;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.s-whitespace-nowrap {
|
|
270
|
+
white-space: nowrap;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.s-whitespace-pre {
|
|
274
|
+
white-space: pre;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.s-whitespace-pre-line {
|
|
278
|
+
white-space: pre-line;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.s-whitespace-pre-wrap {
|
|
282
|
+
white-space: pre-wrap;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.s-whitespace-break-spaces {
|
|
286
|
+
white-space: break-spaces;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.s-break-normal {
|
|
290
|
+
overflow-wrap: normal;
|
|
291
|
+
word-break: normal;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.s-break-words {
|
|
295
|
+
overflow-wrap: break-word;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.s-break-all {
|
|
299
|
+
word-break: break-all;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.s-break-keep {
|
|
303
|
+
word-break: keep-all;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.s-hyphens-none {
|
|
307
|
+
hyphens: none;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.s-hyphens-manual {
|
|
311
|
+
hyphens: manual;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.s-hyphens-auto {
|
|
315
|
+
hyphens: auto;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.s-text-primary {
|
|
319
|
+
color: var(--s-text-primary);
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.s-text-secondary {
|
|
323
|
+
color: var(--s-text-secondary);
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.s-text-tertiary {
|
|
327
|
+
color: var(--s-text-tertiary);
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.s-text-inverse {
|
|
331
|
+
color: var(--s-text-inverse);
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.s-text-success {
|
|
335
|
+
color: var(--s-state-success);
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.s-text-warning {
|
|
339
|
+
color: var(--s-state-warning);
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.s-text-danger {
|
|
343
|
+
color: var(--s-state-danger);
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.s-link {
|
|
347
|
+
color: var(--s-interactive-primary);
|
|
348
|
+
text-underline-offset: 2px;
|
|
349
|
+
text-decoration: underline;
|
|
350
|
+
|
|
351
|
+
&:hover {
|
|
352
|
+
color: var(--s-interactive-primary-hover);
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.s-list-none {
|
|
357
|
+
list-style-type: none;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.s-list-disc {
|
|
361
|
+
list-style-type: disc;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.s-list-decimal {
|
|
365
|
+
list-style-type: decimal;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.s-list-inside {
|
|
369
|
+
list-style-position: inside;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.s-list-outside {
|
|
373
|
+
list-style-position: outside;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.s-opacity-0 {
|
|
377
|
+
opacity: 0;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.s-opacity-5 {
|
|
381
|
+
opacity: .05;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
.s-opacity-10 {
|
|
385
|
+
opacity: .1;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.s-opacity-20 {
|
|
389
|
+
opacity: .2;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.s-opacity-25 {
|
|
393
|
+
opacity: .25;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
.s-opacity-30 {
|
|
397
|
+
opacity: .3;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.s-opacity-40 {
|
|
401
|
+
opacity: .4;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.s-opacity-50 {
|
|
405
|
+
opacity: .5;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.s-opacity-60 {
|
|
409
|
+
opacity: .6;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.s-opacity-70 {
|
|
413
|
+
opacity: .7;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.s-opacity-75 {
|
|
417
|
+
opacity: .75;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.s-opacity-80 {
|
|
421
|
+
opacity: .8;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.s-opacity-90 {
|
|
425
|
+
opacity: .9;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.s-opacity-95 {
|
|
429
|
+
opacity: .95;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
.s-opacity-100 {
|
|
433
|
+
opacity: 1;
|
|
434
|
+
}
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
[s-hidden] {
|
|
2
|
+
display: none;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
[s-visible] {
|
|
6
|
+
visibility: visible;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
[s-invisible] {
|
|
10
|
+
visibility: hidden;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
[s-collapse] {
|
|
14
|
+
visibility: collapse;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
[s-sr-only] {
|
|
18
|
+
clip: rect(0, 0, 0, 0);
|
|
19
|
+
white-space: nowrap;
|
|
20
|
+
border-width: 0;
|
|
21
|
+
width: 1px;
|
|
22
|
+
height: 1px;
|
|
23
|
+
margin: -1px;
|
|
24
|
+
padding: 0;
|
|
25
|
+
position: absolute;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
[s-sr-only="focusable"]:focus, [s-sr-only="focusable"]:focus-within, [s-not-sr-only], [s-focus\:not-sr-only]:focus, [s-focus\:not-sr-only]:focus-visible, [s-focus-within\:not-sr-only]:focus-within {
|
|
30
|
+
clip: auto;
|
|
31
|
+
white-space: normal;
|
|
32
|
+
width: auto;
|
|
33
|
+
height: auto;
|
|
34
|
+
margin: 0;
|
|
35
|
+
padding: 0;
|
|
36
|
+
position: static;
|
|
37
|
+
overflow: visible;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
[s-truncate] {
|
|
41
|
+
text-overflow: ellipsis;
|
|
42
|
+
white-space: nowrap;
|
|
43
|
+
overflow: hidden;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
[s-truncate="2"] {
|
|
47
|
+
-webkit-line-clamp: 2;
|
|
48
|
+
-webkit-box-orient: vertical;
|
|
49
|
+
display: -webkit-box;
|
|
50
|
+
overflow: hidden;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
[s-truncate="3"] {
|
|
54
|
+
-webkit-line-clamp: 3;
|
|
55
|
+
-webkit-box-orient: vertical;
|
|
56
|
+
display: -webkit-box;
|
|
57
|
+
overflow: hidden;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
[s-truncate="4"] {
|
|
61
|
+
-webkit-line-clamp: 4;
|
|
62
|
+
-webkit-box-orient: vertical;
|
|
63
|
+
display: -webkit-box;
|
|
64
|
+
overflow: hidden;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
[s-overflow="auto"] {
|
|
68
|
+
overflow: auto;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
[s-overflow="hidden"] {
|
|
72
|
+
overflow: hidden;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
[s-overflow="visible"] {
|
|
76
|
+
overflow: visible;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
[s-overflow="scroll"] {
|
|
80
|
+
overflow: scroll;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
[s-overflow-x="auto"] {
|
|
84
|
+
overflow-x: auto;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
[s-overflow-x="hidden"] {
|
|
88
|
+
overflow-x: hidden;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
[s-overflow-y="auto"] {
|
|
92
|
+
overflow-y: auto;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
[s-overflow-y="hidden"] {
|
|
96
|
+
overflow-y: hidden;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@media (width < 640px) {
|
|
100
|
+
[s-hide-on~="sm"] {
|
|
101
|
+
display: none;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
@media (width >= 640px) and (width < 768px) {
|
|
106
|
+
[s-hide-on~="md"] {
|
|
107
|
+
display: none;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
@media (width >= 768px) and (width < 1024px) {
|
|
112
|
+
[s-hide-on~="lg"] {
|
|
113
|
+
display: none;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
@media (width >= 1024px) {
|
|
118
|
+
[s-hide-on~="xl"] {
|
|
119
|
+
display: none;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
@media (width >= 640px) {
|
|
124
|
+
[s-show-on~="sm"] {
|
|
125
|
+
display: none;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
@media (width < 640px), (width >= 768px) {
|
|
130
|
+
[s-show-on~="md"] {
|
|
131
|
+
display: none;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
@media (width < 768px), (width >= 1024px) {
|
|
136
|
+
[s-show-on~="lg"] {
|
|
137
|
+
display: none;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
@media (width < 1024px) {
|
|
142
|
+
[s-show-on~="xl"] {
|
|
143
|
+
display: none;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
[s-pointer="none"] {
|
|
148
|
+
pointer-events: none;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
[s-pointer="auto"] {
|
|
152
|
+
pointer-events: auto;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
[s-select="none"] {
|
|
156
|
+
user-select: none;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
[s-select="text"] {
|
|
160
|
+
user-select: text;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
[s-select="all"] {
|
|
164
|
+
user-select: all;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
[s-select="auto"] {
|
|
168
|
+
user-select: auto;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
[s-isolate] {
|
|
172
|
+
isolation: isolate;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
[s-isolate="auto"] {
|
|
176
|
+
isolation: auto;
|
|
177
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shift-css/core",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Zero-runtime, OKLCH-native CSS framework with cascade layers and native light-dark() theming",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/shift.css",
|
|
@@ -9,6 +9,16 @@
|
|
|
9
9
|
"./min": "./dist/shift.min.css",
|
|
10
10
|
"./reset": "./dist/reset.css",
|
|
11
11
|
"./tokens": "./dist/tokens.css",
|
|
12
|
+
"./components/button": "./dist/components/button.css",
|
|
13
|
+
"./components/card": "./dist/components/card.css",
|
|
14
|
+
"./components/input": "./dist/components/input.css",
|
|
15
|
+
"./components/modal": "./dist/components/modal.css",
|
|
16
|
+
"./components/surface": "./dist/components/surface.css",
|
|
17
|
+
"./utils/layout": "./dist/utils/layout.css",
|
|
18
|
+
"./utils/spacing": "./dist/utils/spacing.css",
|
|
19
|
+
"./utils/flex": "./dist/utils/flex.css",
|
|
20
|
+
"./utils/typography": "./dist/utils/typography.css",
|
|
21
|
+
"./utils/visibility": "./dist/utils/visibility.css",
|
|
12
22
|
"./package.json": "./package.json"
|
|
13
23
|
},
|
|
14
24
|
"files": [
|