@pandacss/preset-panda 0.26.1 → 0.27.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/dist/index.d.mts +20 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +16 -5
- package/dist/index.mjs +16 -5
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -38,6 +38,26 @@ declare const preset: {
|
|
|
38
38
|
'2xl': string;
|
|
39
39
|
};
|
|
40
40
|
tokens: {
|
|
41
|
+
aspectRatios: {
|
|
42
|
+
square: {
|
|
43
|
+
value: string;
|
|
44
|
+
};
|
|
45
|
+
landscape: {
|
|
46
|
+
value: string;
|
|
47
|
+
};
|
|
48
|
+
portrait: {
|
|
49
|
+
value: string;
|
|
50
|
+
};
|
|
51
|
+
wide: {
|
|
52
|
+
value: string;
|
|
53
|
+
};
|
|
54
|
+
ultrawide: {
|
|
55
|
+
value: string;
|
|
56
|
+
};
|
|
57
|
+
golden: {
|
|
58
|
+
value: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
41
61
|
borders: {
|
|
42
62
|
none: {
|
|
43
63
|
value: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -38,6 +38,26 @@ declare const preset: {
|
|
|
38
38
|
'2xl': string;
|
|
39
39
|
};
|
|
40
40
|
tokens: {
|
|
41
|
+
aspectRatios: {
|
|
42
|
+
square: {
|
|
43
|
+
value: string;
|
|
44
|
+
};
|
|
45
|
+
landscape: {
|
|
46
|
+
value: string;
|
|
47
|
+
};
|
|
48
|
+
portrait: {
|
|
49
|
+
value: string;
|
|
50
|
+
};
|
|
51
|
+
wide: {
|
|
52
|
+
value: string;
|
|
53
|
+
};
|
|
54
|
+
ultrawide: {
|
|
55
|
+
value: string;
|
|
56
|
+
};
|
|
57
|
+
golden: {
|
|
58
|
+
value: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
41
61
|
borders: {
|
|
42
62
|
none: {
|
|
43
63
|
value: string;
|
package/dist/index.js
CHANGED
|
@@ -70,6 +70,21 @@ var animations = {
|
|
|
70
70
|
bounce: { value: "bounce 1s infinite" }
|
|
71
71
|
};
|
|
72
72
|
|
|
73
|
+
// src/aspect-ratios.ts
|
|
74
|
+
var aspectRatios = {
|
|
75
|
+
square: { value: "1 / 1" },
|
|
76
|
+
landscape: { value: "4 / 3" },
|
|
77
|
+
portrait: { value: "3 / 4" },
|
|
78
|
+
wide: { value: "16 / 9" },
|
|
79
|
+
ultrawide: { value: "18 / 5" },
|
|
80
|
+
golden: { value: "1.618 / 1" }
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
// src/borders.ts
|
|
84
|
+
var borders = {
|
|
85
|
+
none: { value: "none" }
|
|
86
|
+
};
|
|
87
|
+
|
|
73
88
|
// src/colors.ts
|
|
74
89
|
var colors = {
|
|
75
90
|
current: { value: "currentColor" },
|
|
@@ -364,11 +379,6 @@ var colors = {
|
|
|
364
379
|
}
|
|
365
380
|
};
|
|
366
381
|
|
|
367
|
-
// src/borders.ts
|
|
368
|
-
var borders = {
|
|
369
|
-
none: { value: "none" }
|
|
370
|
-
};
|
|
371
|
-
|
|
372
382
|
// src/shadows.ts
|
|
373
383
|
var shadows = {
|
|
374
384
|
xs: { value: "0 1px 2px 0 rgb(0 0 0 / 0.05)" },
|
|
@@ -606,6 +616,7 @@ var textStyles = {
|
|
|
606
616
|
// src/tokens.ts
|
|
607
617
|
var defineTokens = (v) => v;
|
|
608
618
|
var tokens = defineTokens({
|
|
619
|
+
aspectRatios,
|
|
609
620
|
borders,
|
|
610
621
|
easings: {
|
|
611
622
|
default: { value: "cubic-bezier(0.4, 0, 0.2, 1)" },
|
package/dist/index.mjs
CHANGED
|
@@ -43,6 +43,21 @@ var animations = {
|
|
|
43
43
|
bounce: { value: "bounce 1s infinite" }
|
|
44
44
|
};
|
|
45
45
|
|
|
46
|
+
// src/aspect-ratios.ts
|
|
47
|
+
var aspectRatios = {
|
|
48
|
+
square: { value: "1 / 1" },
|
|
49
|
+
landscape: { value: "4 / 3" },
|
|
50
|
+
portrait: { value: "3 / 4" },
|
|
51
|
+
wide: { value: "16 / 9" },
|
|
52
|
+
ultrawide: { value: "18 / 5" },
|
|
53
|
+
golden: { value: "1.618 / 1" }
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
// src/borders.ts
|
|
57
|
+
var borders = {
|
|
58
|
+
none: { value: "none" }
|
|
59
|
+
};
|
|
60
|
+
|
|
46
61
|
// src/colors.ts
|
|
47
62
|
var colors = {
|
|
48
63
|
current: { value: "currentColor" },
|
|
@@ -337,11 +352,6 @@ var colors = {
|
|
|
337
352
|
}
|
|
338
353
|
};
|
|
339
354
|
|
|
340
|
-
// src/borders.ts
|
|
341
|
-
var borders = {
|
|
342
|
-
none: { value: "none" }
|
|
343
|
-
};
|
|
344
|
-
|
|
345
355
|
// src/shadows.ts
|
|
346
356
|
var shadows = {
|
|
347
357
|
xs: { value: "0 1px 2px 0 rgb(0 0 0 / 0.05)" },
|
|
@@ -579,6 +589,7 @@ var textStyles = {
|
|
|
579
589
|
// src/tokens.ts
|
|
580
590
|
var defineTokens = (v) => v;
|
|
581
591
|
var tokens = defineTokens({
|
|
592
|
+
aspectRatios,
|
|
582
593
|
borders,
|
|
583
594
|
easings: {
|
|
584
595
|
default: { value: "cubic-bezier(0.4, 0, 0.2, 1)" },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/preset-panda",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"description": "The preset for PandaCSS that contains the default theme",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"dist"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@pandacss/types": "0.
|
|
35
|
+
"@pandacss/types": "0.27.0"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"build": "tsup src/index.ts --format=esm,cjs --dts",
|