mnfst 0.5.14
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/LICENSE +11 -0
- package/README.md +58 -0
- package/dist/manifest.accordion.css +81 -0
- package/dist/manifest.appwrite.auth.js +6247 -0
- package/dist/manifest.appwrite.data.js +1586 -0
- package/dist/manifest.appwrite.presence.js +1845 -0
- package/dist/manifest.avatar.css +113 -0
- package/dist/manifest.button.css +79 -0
- package/dist/manifest.checkbox.css +58 -0
- package/dist/manifest.code.css +453 -0
- package/dist/manifest.code.js +958 -0
- package/dist/manifest.code.min.css +1 -0
- package/dist/manifest.components.js +737 -0
- package/dist/manifest.css +3124 -0
- package/dist/manifest.data.js +11413 -0
- package/dist/manifest.dialog.css +130 -0
- package/dist/manifest.divider.css +77 -0
- package/dist/manifest.dropdown.css +278 -0
- package/dist/manifest.dropdowns.js +378 -0
- package/dist/manifest.form.css +169 -0
- package/dist/manifest.icons.js +161 -0
- package/dist/manifest.input.css +129 -0
- package/dist/manifest.js +302 -0
- package/dist/manifest.localization.js +571 -0
- package/dist/manifest.markdown.js +738 -0
- package/dist/manifest.min.css +1 -0
- package/dist/manifest.radio.css +38 -0
- package/dist/manifest.resize.css +233 -0
- package/dist/manifest.resize.js +442 -0
- package/dist/manifest.router.js +1207 -0
- package/dist/manifest.sidebar.css +102 -0
- package/dist/manifest.slides.css +80 -0
- package/dist/manifest.slides.js +173 -0
- package/dist/manifest.switch.css +44 -0
- package/dist/manifest.table.css +74 -0
- package/dist/manifest.tabs.js +273 -0
- package/dist/manifest.tailwind.js +578 -0
- package/dist/manifest.theme.css +119 -0
- package/dist/manifest.themes.js +109 -0
- package/dist/manifest.toast.css +92 -0
- package/dist/manifest.toasts.js +285 -0
- package/dist/manifest.tooltip.css +156 -0
- package/dist/manifest.tooltips.js +331 -0
- package/dist/manifest.typography.css +341 -0
- package/dist/manifest.utilities.css +399 -0
- package/dist/manifest.utilities.js +3197 -0
- package/package.json +63 -0
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
/* Manifest Typography */
|
|
2
|
+
|
|
3
|
+
@layer base {
|
|
4
|
+
|
|
5
|
+
/* All text elements */
|
|
6
|
+
:where(a, abbr, address, blockquote, code, del, figcaption, h1, h2, h3, h4, h5, h6, ins, label:not(.avatar, :has([type=file], [type=search])), legend, p, small, cite, q):not(.unstyle),
|
|
7
|
+
.h1,
|
|
8
|
+
.h2,
|
|
9
|
+
.h3,
|
|
10
|
+
.h4,
|
|
11
|
+
.h5,
|
|
12
|
+
.h6,
|
|
13
|
+
.paragraph,
|
|
14
|
+
.small,
|
|
15
|
+
.caption,
|
|
16
|
+
.label {
|
|
17
|
+
color: var(--color-content-stark);
|
|
18
|
+
|
|
19
|
+
/* Support inline icons */
|
|
20
|
+
&:where(:has([x-icon])) {
|
|
21
|
+
display: inline-flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
|
|
24
|
+
/* Inline icon spacing */
|
|
25
|
+
& [x-icon] {
|
|
26
|
+
margin-inline-end: 0.5ch;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* Inline span alignment */
|
|
31
|
+
& span {
|
|
32
|
+
vertical-align: inherit
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* Headings */
|
|
37
|
+
:where(h1, h2, h3, h4, h5, h6):not(.unstyle),
|
|
38
|
+
.h1,
|
|
39
|
+
.h2,
|
|
40
|
+
.h3,
|
|
41
|
+
.h4,
|
|
42
|
+
.h5,
|
|
43
|
+
.h6 {
|
|
44
|
+
font-weight: bolder;
|
|
45
|
+
word-wrap: break-word
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
:where(h1, h2, h3, h4):not(.unstyle),
|
|
49
|
+
.h1,
|
|
50
|
+
.h2,
|
|
51
|
+
.h3,
|
|
52
|
+
.h4 {
|
|
53
|
+
font-weight: 700;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
:where(h1, h2, h3):not(.unstyle),
|
|
57
|
+
.h1,
|
|
58
|
+
.h2,
|
|
59
|
+
.h3 {
|
|
60
|
+
letter-spacing: -0.025em
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
:where(h1):not(.unstyle),
|
|
64
|
+
.h1 {
|
|
65
|
+
font-size: 2.25rem;
|
|
66
|
+
line-height: 1.25
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
:where(h2):not(.unstyle),
|
|
70
|
+
.h2 {
|
|
71
|
+
font-size: 1.5rem
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
:where(h3):not(.unstyle),
|
|
75
|
+
.h3 {
|
|
76
|
+
font-size: 1.25rem;
|
|
77
|
+
line-height: 1.4
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
:where(h4):not(.unstyle),
|
|
81
|
+
.h4 {
|
|
82
|
+
font-size: 1rem
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
:where(h5):not(.unstyle),
|
|
86
|
+
.h5 {
|
|
87
|
+
font-weight: 600;
|
|
88
|
+
font-size: .875rem;
|
|
89
|
+
line-height: 1rem;
|
|
90
|
+
color: var(--color-content-neutral, oklch(48.26% 0.0365 255.09))
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
:where(h6):not(.unstyle),
|
|
94
|
+
.h6 {
|
|
95
|
+
font-weight: 600;
|
|
96
|
+
font-size: 0.8125rem;
|
|
97
|
+
line-height: 1.4;
|
|
98
|
+
text-transform: uppercase;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* Paragraphs */
|
|
102
|
+
:where(p):not(.unstyle),
|
|
103
|
+
.paragraph {
|
|
104
|
+
line-height: 1.6;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/* Links */
|
|
108
|
+
:where(a:not([role=button]), button.link):not(.unstyle) {
|
|
109
|
+
text-decoration: underline;
|
|
110
|
+
text-underline-offset: 2px;
|
|
111
|
+
cursor: pointer;
|
|
112
|
+
transition: var(--transition, all .05s ease-in-out);
|
|
113
|
+
|
|
114
|
+
&:hover {
|
|
115
|
+
color: var(--color-content-neutral, oklch(48.26% 0.0365 255.09))
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&:active {
|
|
119
|
+
color: var(--color-content-neutral, oklch(48.26% 0.0365 255.09))
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/* Blockquotes */
|
|
124
|
+
:where(blockquote):not(.unstyle) {
|
|
125
|
+
display: block;
|
|
126
|
+
width: 100%;
|
|
127
|
+
max-width: 100%;
|
|
128
|
+
margin: calc(var(--spacing, 0.25rem) * 4) 0;
|
|
129
|
+
padding: 0 calc(var(--spacing, 0.25rem) * 4);
|
|
130
|
+
color: var(--color-content-stark, oklch(16.6% 0.026 267));
|
|
131
|
+
border-inline-start: 0.25rem solid color-mix(in oklch, var(--color-content-stark, oklch(16.6% 0.026 267)) 25%, transparent);
|
|
132
|
+
border-inline-end: none;
|
|
133
|
+
|
|
134
|
+
& * {
|
|
135
|
+
color: inherit
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/* Inline code */
|
|
140
|
+
:where(code):not(.unstyle) {
|
|
141
|
+
display: inline-block;
|
|
142
|
+
width: fit-content;
|
|
143
|
+
height: fit-content;
|
|
144
|
+
padding: 0.1ch 0.5ch;
|
|
145
|
+
font-size: 82.5%;
|
|
146
|
+
word-wrap: break-word;
|
|
147
|
+
color: var(--color-content-neutral, oklch(48.26% 0.0365 255.09));
|
|
148
|
+
background-color: color-mix(in oklch, var(--color-content-neutral, oklch(48.26% 0.0365 255.09)) 10%, transparent);
|
|
149
|
+
border: 1px solid color-mix(in oklch, var(--color-content-subtle, oklch(67.4% 0.0318 251.27)) 10%, transparent);
|
|
150
|
+
border-radius: var(--radius, 0.5rem)
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/* Captions */
|
|
154
|
+
:where(figcaption):not(.unstyle),
|
|
155
|
+
.caption {
|
|
156
|
+
font-size: 0.8125rem;
|
|
157
|
+
color: var(--color-content-neutral, oklch(48.26% 0.0365 255.09));
|
|
158
|
+
|
|
159
|
+
& a {
|
|
160
|
+
font-weight: inherit;
|
|
161
|
+
color: inherit
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
:where(figure figcaption):not(.unstyle) {
|
|
166
|
+
margin: calc(var(--spacing, 0.25rem) * 2) auto;
|
|
167
|
+
text-align: center
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/* Small text */
|
|
171
|
+
:where(small):not(.unstyle),
|
|
172
|
+
.small {
|
|
173
|
+
font-size: 0.875rem;
|
|
174
|
+
color: var(--color-content-neutral, oklch(48.26% 0.0365 255.09))
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/* Icons */
|
|
178
|
+
:where([x-icon]) {
|
|
179
|
+
display: inline-flex;
|
|
180
|
+
width: fit-content
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/* Inserted text */
|
|
184
|
+
:where(ins):not(.unstyle) {
|
|
185
|
+
text-decoration: none
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/* Keyboard text */
|
|
189
|
+
:where(kbd):not(.unstyle),
|
|
190
|
+
.kbd {
|
|
191
|
+
display: inline-block;
|
|
192
|
+
vertical-align: baseline;
|
|
193
|
+
width: fit-content;
|
|
194
|
+
min-width: 1.4rem;
|
|
195
|
+
padding: 0.3rem;
|
|
196
|
+
font-family: inherit;
|
|
197
|
+
font-size: 75%;
|
|
198
|
+
font-weight: 600;
|
|
199
|
+
line-height: 1;
|
|
200
|
+
text-align: center;
|
|
201
|
+
color: var(--color-content-neutral, oklch(48.26% 0.0365 255.09));
|
|
202
|
+
background-color: color-mix(in oklch, var(--color-content-neutral, oklch(48.26% 0.0365 255.09)) 10%, transparent);
|
|
203
|
+
border-radius: calc(var(--radius, 0.5rem) / 1.5);
|
|
204
|
+
|
|
205
|
+
&:not(:last-of-type) {
|
|
206
|
+
margin-inline-end: 1px
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
/* RTL keyboard overrides */
|
|
211
|
+
[dir=rtl] :where(kbd:not(:last-of-type), .kbd:not(:last-of-type)) {
|
|
212
|
+
margin-inline-start: 1px;
|
|
213
|
+
margin-inline-end: 0
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/* Labels */
|
|
217
|
+
:where(label):not(.unstyle),
|
|
218
|
+
.label {
|
|
219
|
+
width: -moz-fit-content;
|
|
220
|
+
width: fit-content;
|
|
221
|
+
user-select: none
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/* Legends */
|
|
225
|
+
:where(legend):not(.unstyle),
|
|
226
|
+
.legend {
|
|
227
|
+
display: block;
|
|
228
|
+
max-width: 100%;
|
|
229
|
+
white-space: normal
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
/* Badges */
|
|
233
|
+
:where(mark):not(.unstyle),
|
|
234
|
+
.badge {
|
|
235
|
+
display: inline-flex;
|
|
236
|
+
justify-content: center;
|
|
237
|
+
align-items: center;
|
|
238
|
+
gap: 0.25rem;
|
|
239
|
+
width: fit-content;
|
|
240
|
+
height: fit-content;
|
|
241
|
+
padding: var(--spacing, 0.25rem) calc(var(--spacing, 0.25rem) * 1.5);
|
|
242
|
+
font-weight: 500;
|
|
243
|
+
font-size: 0.75rem;
|
|
244
|
+
line-height: 1;
|
|
245
|
+
color: var(--color-field-inverse, oklch(16.6% 0.026 267));
|
|
246
|
+
background-color: var(--color-field-surface, oklch(91.79% 0.0029 264.26));
|
|
247
|
+
border-radius: 100px;
|
|
248
|
+
|
|
249
|
+
/* Solo icons */
|
|
250
|
+
&:has(svg:only-child) {
|
|
251
|
+
padding: var(--spacing, 0.25rem) calc(var(--spacing, 0.25rem) * 1);
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
/* Lists */
|
|
256
|
+
:where(ol):not(nav ol):not(menu ol):not(.unstyle) {
|
|
257
|
+
list-style-type: decimal;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
:where(ul):not(nav ul):not(menu ul):not(.unstyle) {
|
|
261
|
+
list-style-type: disc;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
:where(ol):not(nav ol):not(menu ol):not(.unstyle),
|
|
265
|
+
:where(ul):not(nav ul):not(menu ul):not(.unstyle) {
|
|
266
|
+
|
|
267
|
+
&:not(:has(input[type=checkbox])) {
|
|
268
|
+
padding-inline-start: 1.75ch;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
/* Offset items so markers align inside the element frame */
|
|
272
|
+
& li {
|
|
273
|
+
padding-inline-start: 1ch;
|
|
274
|
+
|
|
275
|
+
/* Space out items */
|
|
276
|
+
&:not(:last-of-type) {
|
|
277
|
+
margin-bottom: 1.25ch
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/* Allow icons to replace markers */
|
|
281
|
+
&:has([x-icon]) {
|
|
282
|
+
position: relative;
|
|
283
|
+
display: inherit;
|
|
284
|
+
list-style: none;
|
|
285
|
+
|
|
286
|
+
& [x-icon] {
|
|
287
|
+
position: absolute;
|
|
288
|
+
top: 0.45ch;
|
|
289
|
+
left: -1.75ch
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/* Checklist items */
|
|
294
|
+
&:has(input[type=checkbox]) {
|
|
295
|
+
position: relative;
|
|
296
|
+
display: inherit;
|
|
297
|
+
list-style: none;
|
|
298
|
+
|
|
299
|
+
& input[type=checkbox] {
|
|
300
|
+
position: absolute;
|
|
301
|
+
top: 0.45ch;
|
|
302
|
+
left: -1ch
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
/* RTL list overrides */
|
|
309
|
+
[dir=rtl] :where(ol):not(nav ol):not(menu ol):not(.unstyle),
|
|
310
|
+
[dir=rtl] :where(ul):not(nav ul):not(menu ul):not(.unstyle) {
|
|
311
|
+
& li:has([x-icon]) {
|
|
312
|
+
& [x-icon] {
|
|
313
|
+
left: auto;
|
|
314
|
+
right: -1.75ch
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
& li:has(input[type=checkbox]) {
|
|
319
|
+
& input[type=checkbox] {
|
|
320
|
+
left: auto;
|
|
321
|
+
right: -1.25ch
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
/* Nested list spacing */
|
|
327
|
+
:where(ol, ul):not(nav ol):not(menu ol):not(.unstyle) ul,
|
|
328
|
+
:where(ol, ul):not(nav ul):not(menu ul):not(.unstyle) ol {
|
|
329
|
+
margin-top: 1ch;
|
|
330
|
+
padding-inline-start: 2.75ch;
|
|
331
|
+
|
|
332
|
+
&+li {
|
|
333
|
+
margin-top: 1.5ch
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
/* Spans */
|
|
338
|
+
:where(span):not(.unstyle) {
|
|
339
|
+
vertical-align: middle
|
|
340
|
+
}
|
|
341
|
+
}
|