@papyrus-ui/styles 0.4.0 → 0.4.1
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/CHANGELOG.md +6 -0
- package/css/styles.css +14287 -9892
- package/css/styles.css.map +1 -1
- package/css/styles.min.css +1 -1
- package/css/styles.min.css.map +1 -1
- package/dist/cjs/const/atoms.js +191 -69
- package/dist/cjs/const/atoms.js.map +1 -1
- package/dist/cjs/index.js +15 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/styles/atoms.css.vanilla.js +1 -1
- package/dist/cjs/styles/atoms.css.vanilla.js.map +1 -1
- package/dist/es/const/atoms.js +177 -69
- package/dist/es/const/atoms.js.map +1 -1
- package/dist/es/index.js +1 -1
- package/dist/es/styles/atoms.css.vanilla.js +1 -1
- package/dist/es/styles/atoms.css.vanilla.js.map +1 -1
- package/dist/types/const/atoms.d.ts +255 -44
- package/dist/types/styles/atoms.css.d.ts +4208 -769
- package/package.json +1 -1
@@ -1,47 +1,5 @@
|
|
1
1
|
export declare const POSITION: readonly ["absolute", "fixed", "relative", "static", "sticky"];
|
2
|
-
export declare const DISPLAY: readonly ["block", "inline-block", "flex", "inline-flex", "inline", "none"];
|
3
|
-
export declare const FLEX: {
|
4
|
-
1: string;
|
5
|
-
none: string;
|
6
|
-
};
|
7
|
-
export declare const FLEX_WRAP: readonly ["wrap", "nowrap"];
|
8
|
-
export declare const FLEX_DIRECTION: readonly ["column", "column-reverse", "row", "row-reverse"];
|
9
|
-
export declare const ALIGN_ITEMS: readonly ["baseline", "center", "end", "flex-end", "flex-start", "start", "stretch"];
|
10
|
-
export declare const ALIGN_SELF: readonly ["baseline", "center", "end", "flex-end", "flex-start", "start", "stretch", "self-end", "self-start"];
|
11
|
-
export declare const JUSTIFY_CONTENT: readonly ["baseline", "center", "end", "flex-end", "flex-start", "start", "stretch", "space-around", "space-between", "space-evenly"];
|
12
|
-
export declare const ASPECT_RATIO: {
|
13
|
-
square: string;
|
14
|
-
landscape: string;
|
15
|
-
photo: string;
|
16
|
-
widescreen: string;
|
17
|
-
portrait: string;
|
18
|
-
portraitPhoto: string;
|
19
|
-
portraitWidescreen: string;
|
20
|
-
auto: string;
|
21
|
-
};
|
22
|
-
export declare const BORDER_RADIUS: {
|
23
|
-
none: string;
|
24
|
-
};
|
25
|
-
export declare const BORDER_STYLE: readonly ["solid", "dashed", "dotted", "double", "hidden", "none"];
|
26
|
-
export declare const BORDER_WIDTH: readonly [0, 1, 2, 4, 8];
|
27
|
-
export declare const OBJECT_FIT: readonly ["contain", "cover"];
|
28
|
-
export declare const ORDER: {
|
29
|
-
0: number;
|
30
|
-
1: number;
|
31
|
-
2: number;
|
32
|
-
3: number;
|
33
|
-
4: number;
|
34
|
-
5: number;
|
35
|
-
6: number;
|
36
|
-
7: number;
|
37
|
-
8: number;
|
38
|
-
9: number;
|
39
|
-
10: number;
|
40
|
-
11: number;
|
41
|
-
12: number;
|
42
|
-
first: number;
|
43
|
-
last: number;
|
44
|
-
};
|
2
|
+
export declare const DISPLAY: readonly ["block", "inline-block", "flex", "inline-flex", "grid", "inline-grid", "inline", "none"];
|
45
3
|
export declare const PADDING: {
|
46
4
|
px: string;
|
47
5
|
0: string;
|
@@ -152,7 +110,260 @@ export declare const SPACING: {
|
|
152
110
|
96: string;
|
153
111
|
auto: string;
|
154
112
|
};
|
155
|
-
export declare const
|
113
|
+
export declare const FLEX_BASIS: {
|
114
|
+
'1/2': string;
|
115
|
+
'1/3': string;
|
116
|
+
'2/3': string;
|
117
|
+
'1/4': string;
|
118
|
+
'2/4': string;
|
119
|
+
'3/4': string;
|
120
|
+
'1/5': string;
|
121
|
+
'2/5': string;
|
122
|
+
'3/5': string;
|
123
|
+
'4/5': string;
|
124
|
+
'1/6': string;
|
125
|
+
'2/6': string;
|
126
|
+
'3/6': string;
|
127
|
+
'4/6': string;
|
128
|
+
'5/6': string;
|
129
|
+
'1/12': string;
|
130
|
+
'2/12': string;
|
131
|
+
'3/12': string;
|
132
|
+
'4/12': string;
|
133
|
+
'5/12': string;
|
134
|
+
'6/12': string;
|
135
|
+
'7/12': string;
|
136
|
+
'8/12': string;
|
137
|
+
full: string;
|
138
|
+
px: string;
|
139
|
+
0: string;
|
140
|
+
0.5: string;
|
141
|
+
1: string;
|
142
|
+
1.5: string;
|
143
|
+
2: string;
|
144
|
+
2.5: string;
|
145
|
+
3: string;
|
146
|
+
3.5: string;
|
147
|
+
4: string;
|
148
|
+
5: string;
|
149
|
+
6: string;
|
150
|
+
7: string;
|
151
|
+
8: string;
|
152
|
+
9: string;
|
153
|
+
10: string;
|
154
|
+
11: string;
|
155
|
+
12: string;
|
156
|
+
14: string;
|
157
|
+
16: string;
|
158
|
+
20: string;
|
159
|
+
24: string;
|
160
|
+
28: string;
|
161
|
+
32: string;
|
162
|
+
36: string;
|
163
|
+
40: string;
|
164
|
+
44: string;
|
165
|
+
48: string;
|
166
|
+
52: string;
|
167
|
+
56: string;
|
168
|
+
60: string;
|
169
|
+
64: string;
|
170
|
+
72: string;
|
171
|
+
80: string;
|
172
|
+
96: string;
|
173
|
+
auto: string;
|
174
|
+
};
|
175
|
+
export declare const FLEX_DIRECTION: readonly ["row", "column", "row-reverse", "column-reverse"];
|
176
|
+
export declare const FLEX_WRAP: readonly ["wrap", "wrap-reverse", "nowrap"];
|
177
|
+
export declare const FLEX: {
|
178
|
+
1: string;
|
179
|
+
auto: string;
|
180
|
+
initial: string;
|
181
|
+
none: string;
|
182
|
+
};
|
183
|
+
export declare const FLEX_GROW: readonly [1, 0];
|
184
|
+
export declare const FLEX_SHRINK: readonly [1, 0];
|
185
|
+
export declare const ORDER: {
|
186
|
+
1: number;
|
187
|
+
2: number;
|
188
|
+
3: number;
|
189
|
+
4: number;
|
190
|
+
5: number;
|
191
|
+
6: number;
|
192
|
+
7: number;
|
193
|
+
8: number;
|
194
|
+
9: number;
|
195
|
+
10: number;
|
196
|
+
11: number;
|
197
|
+
12: number;
|
198
|
+
first: number;
|
199
|
+
last: number;
|
200
|
+
none: number;
|
201
|
+
};
|
202
|
+
export declare const GRID_TEMPLATE: {
|
203
|
+
1: string;
|
204
|
+
2: string;
|
205
|
+
3: string;
|
206
|
+
4: string;
|
207
|
+
5: string;
|
208
|
+
6: string;
|
209
|
+
7: string;
|
210
|
+
8: string;
|
211
|
+
9: string;
|
212
|
+
10: string;
|
213
|
+
11: string;
|
214
|
+
12: string;
|
215
|
+
none: string;
|
216
|
+
subgrid: string;
|
217
|
+
};
|
218
|
+
export declare const GRID_SPAN: {
|
219
|
+
auto: string;
|
220
|
+
1: string;
|
221
|
+
2: string;
|
222
|
+
3: string;
|
223
|
+
4: string;
|
224
|
+
5: string;
|
225
|
+
6: string;
|
226
|
+
7: string;
|
227
|
+
8: string;
|
228
|
+
9: string;
|
229
|
+
10: string;
|
230
|
+
11: string;
|
231
|
+
12: string;
|
232
|
+
full: string;
|
233
|
+
};
|
234
|
+
export declare const GRID_START_END: {
|
235
|
+
auto: string;
|
236
|
+
1: number;
|
237
|
+
2: number;
|
238
|
+
3: number;
|
239
|
+
4: number;
|
240
|
+
5: number;
|
241
|
+
6: number;
|
242
|
+
7: number;
|
243
|
+
8: number;
|
244
|
+
9: number;
|
245
|
+
10: number;
|
246
|
+
11: number;
|
247
|
+
12: number;
|
248
|
+
13: number;
|
249
|
+
};
|
250
|
+
export declare const GRID_AUTO: {
|
251
|
+
auto: string;
|
252
|
+
min: string;
|
253
|
+
max: string;
|
254
|
+
fr: string;
|
255
|
+
};
|
256
|
+
export declare const GRID_AUTO_FLOW: {
|
257
|
+
row: string;
|
258
|
+
column: string;
|
259
|
+
dense: string;
|
260
|
+
'row-dense': string;
|
261
|
+
'column-dense': string;
|
262
|
+
};
|
263
|
+
export declare const GAP: {
|
264
|
+
px: string;
|
265
|
+
0: string;
|
266
|
+
0.5: string;
|
267
|
+
1: string;
|
268
|
+
1.5: string;
|
269
|
+
2: string;
|
270
|
+
2.5: string;
|
271
|
+
3: string;
|
272
|
+
3.5: string;
|
273
|
+
4: string;
|
274
|
+
5: string;
|
275
|
+
6: string;
|
276
|
+
7: string;
|
277
|
+
8: string;
|
278
|
+
9: string;
|
279
|
+
10: string;
|
280
|
+
11: string;
|
281
|
+
12: string;
|
282
|
+
14: string;
|
283
|
+
16: string;
|
284
|
+
20: string;
|
285
|
+
24: string;
|
286
|
+
28: string;
|
287
|
+
32: string;
|
288
|
+
36: string;
|
289
|
+
40: string;
|
290
|
+
44: string;
|
291
|
+
48: string;
|
292
|
+
52: string;
|
293
|
+
56: string;
|
294
|
+
60: string;
|
295
|
+
64: string;
|
296
|
+
72: string;
|
297
|
+
80: string;
|
298
|
+
96: string;
|
299
|
+
};
|
300
|
+
export declare const JUSTIFY_CONTENT: {
|
301
|
+
normal: string;
|
302
|
+
start: string;
|
303
|
+
end: string;
|
304
|
+
center: string;
|
305
|
+
between: string;
|
306
|
+
around: string;
|
307
|
+
evenly: string;
|
308
|
+
stretch: string;
|
309
|
+
};
|
310
|
+
export declare const JUSTIFY_ITEMS: readonly ["start", "end", "center", "stretch"];
|
311
|
+
export declare const JUSTIFY_SELF: readonly ["start", "end", "center", "stretch", "auto"];
|
312
|
+
export declare const ALIGN_CONTENT: {
|
313
|
+
normal: string;
|
314
|
+
center: string;
|
315
|
+
start: string;
|
316
|
+
end: string;
|
317
|
+
between: string;
|
318
|
+
around: string;
|
319
|
+
evenly: string;
|
320
|
+
baseline: string;
|
321
|
+
stretch: string;
|
322
|
+
};
|
323
|
+
export declare const ALIGN_ITEMS: {
|
324
|
+
start: string;
|
325
|
+
end: string;
|
326
|
+
center: string;
|
327
|
+
baseline: string;
|
328
|
+
stretch: string;
|
329
|
+
};
|
330
|
+
export declare const ALIGN_SELF: {
|
331
|
+
auto: string;
|
332
|
+
start: string;
|
333
|
+
end: string;
|
334
|
+
center: string;
|
335
|
+
baseline: string;
|
336
|
+
stretch: string;
|
337
|
+
};
|
338
|
+
export declare const PLACE_CONTENT: {
|
339
|
+
normal: string;
|
340
|
+
center: string;
|
341
|
+
start: string;
|
342
|
+
end: string;
|
343
|
+
between: string;
|
344
|
+
around: string;
|
345
|
+
evenly: string;
|
346
|
+
baseline: string;
|
347
|
+
stretch: string;
|
348
|
+
};
|
349
|
+
export declare const PLACE_ITEMS: readonly ["start", "end", "center", "baseline", "stretch"];
|
350
|
+
export declare const PLACE_SELF: readonly ["auto", "start", "end", "center", "stretch"];
|
351
|
+
export declare const ASPECT_RATIO: {
|
352
|
+
square: string;
|
353
|
+
landscape: string;
|
354
|
+
photo: string;
|
355
|
+
widescreen: string;
|
356
|
+
portrait: string;
|
357
|
+
portraitPhoto: string;
|
358
|
+
portraitWidescreen: string;
|
359
|
+
auto: string;
|
360
|
+
};
|
361
|
+
export declare const BORDER_RADIUS: {
|
362
|
+
none: string;
|
363
|
+
};
|
364
|
+
export declare const BORDER_STYLE: readonly ["solid", "dashed", "dotted", "double", "hidden", "none"];
|
365
|
+
export declare const BORDER_WIDTH: readonly [0, 1, 2, 4, 8];
|
366
|
+
export declare const OBJECT_FIT: readonly ["contain", "cover"];
|
156
367
|
export declare const INSET: {
|
157
368
|
auto: string;
|
158
369
|
'-px': string;
|