@pandacss/preset-panda 0.53.7 → 1.0.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 +12 -3
- package/dist/index.d.ts +12 -3
- package/dist/index.js +19 -16
- package/dist/index.mjs +16 -13
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -139,6 +139,9 @@ declare const preset: {
|
|
|
139
139
|
letterSpacings: _pandacss_types.Recursive<_pandacss_types.Token<string>> | undefined;
|
|
140
140
|
fontSizes: _pandacss_types.Recursive<_pandacss_types.Token<string>> | undefined;
|
|
141
141
|
shadows: {
|
|
142
|
+
'2xs': {
|
|
143
|
+
value: string;
|
|
144
|
+
};
|
|
142
145
|
xs: {
|
|
143
146
|
value: string;
|
|
144
147
|
};
|
|
@@ -157,7 +160,13 @@ declare const preset: {
|
|
|
157
160
|
'2xl': {
|
|
158
161
|
value: string;
|
|
159
162
|
};
|
|
160
|
-
|
|
163
|
+
'inset-2xs': {
|
|
164
|
+
value: string;
|
|
165
|
+
};
|
|
166
|
+
'inset-xs': {
|
|
167
|
+
value: string;
|
|
168
|
+
};
|
|
169
|
+
'inset-sm': {
|
|
161
170
|
value: string;
|
|
162
171
|
};
|
|
163
172
|
};
|
|
@@ -946,10 +955,10 @@ declare const preset: {
|
|
|
946
955
|
};
|
|
947
956
|
};
|
|
948
957
|
blurs: {
|
|
949
|
-
|
|
958
|
+
xs: {
|
|
950
959
|
value: string;
|
|
951
960
|
};
|
|
952
|
-
|
|
961
|
+
sm: {
|
|
953
962
|
value: string;
|
|
954
963
|
};
|
|
955
964
|
md: {
|
package/dist/index.d.ts
CHANGED
|
@@ -139,6 +139,9 @@ declare const preset: {
|
|
|
139
139
|
letterSpacings: _pandacss_types.Recursive<_pandacss_types.Token<string>> | undefined;
|
|
140
140
|
fontSizes: _pandacss_types.Recursive<_pandacss_types.Token<string>> | undefined;
|
|
141
141
|
shadows: {
|
|
142
|
+
'2xs': {
|
|
143
|
+
value: string;
|
|
144
|
+
};
|
|
142
145
|
xs: {
|
|
143
146
|
value: string;
|
|
144
147
|
};
|
|
@@ -157,7 +160,13 @@ declare const preset: {
|
|
|
157
160
|
'2xl': {
|
|
158
161
|
value: string;
|
|
159
162
|
};
|
|
160
|
-
|
|
163
|
+
'inset-2xs': {
|
|
164
|
+
value: string;
|
|
165
|
+
};
|
|
166
|
+
'inset-xs': {
|
|
167
|
+
value: string;
|
|
168
|
+
};
|
|
169
|
+
'inset-sm': {
|
|
161
170
|
value: string;
|
|
162
171
|
};
|
|
163
172
|
};
|
|
@@ -946,10 +955,10 @@ declare const preset: {
|
|
|
946
955
|
};
|
|
947
956
|
};
|
|
948
957
|
blurs: {
|
|
949
|
-
|
|
958
|
+
xs: {
|
|
950
959
|
value: string;
|
|
951
960
|
};
|
|
952
|
-
|
|
961
|
+
sm: {
|
|
953
962
|
value: string;
|
|
954
963
|
};
|
|
955
964
|
md: {
|
package/dist/index.js
CHANGED
|
@@ -18,12 +18,12 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
|
|
20
20
|
// src/index.ts
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
23
|
-
default: () =>
|
|
21
|
+
var index_exports = {};
|
|
22
|
+
__export(index_exports, {
|
|
23
|
+
default: () => index_default,
|
|
24
24
|
preset: () => preset
|
|
25
25
|
});
|
|
26
|
-
module.exports = __toCommonJS(
|
|
26
|
+
module.exports = __toCommonJS(index_exports);
|
|
27
27
|
|
|
28
28
|
// src/breakpoints.ts
|
|
29
29
|
var breakpoints = {
|
|
@@ -397,13 +397,16 @@ var colors = {
|
|
|
397
397
|
|
|
398
398
|
// src/shadows.ts
|
|
399
399
|
var shadows = {
|
|
400
|
+
"2xs": { value: "0 1px rgb(0 0 0 / 0.05)" },
|
|
400
401
|
xs: { value: "0 1px 2px 0 rgb(0 0 0 / 0.05)" },
|
|
401
402
|
sm: { value: ["0 1px 3px 0 rgb(0 0 0 / 0.1)", "0 1px 2px -1px rgb(0 0 0 / 0.1)"] },
|
|
402
403
|
md: { value: ["0 4px 6px -1px rgb(0 0 0 / 0.1)", "0 2px 4px -2px rgb(0 0 0 / 0.1)"] },
|
|
403
404
|
lg: { value: ["0 10px 15px -3px rgb(0 0 0 / 0.1)", "0 4px 6px -4px rgb(0 0 0 / 0.1)"] },
|
|
404
405
|
xl: { value: ["0 20px 25px -5px rgb(0 0 0 / 0.1)", "0 8px 10px -6px rgb(0 0 0 / 0.1)"] },
|
|
405
406
|
"2xl": { value: "0 25px 50px -12px rgb(0 0 0 / 0.25)" },
|
|
406
|
-
|
|
407
|
+
"inset-2xs": { value: "inset 0 1px rgb(0 0 0 / 0.05)" },
|
|
408
|
+
"inset-xs": { value: "inset 0 1px 1px rgb(0 0 0 / 0.05)" },
|
|
409
|
+
"inset-sm": { value: "inset 0 2px 4px rgb(0 0 0 / 0.05)" }
|
|
407
410
|
};
|
|
408
411
|
|
|
409
412
|
// src/spacing.ts
|
|
@@ -552,49 +555,49 @@ var textStyles = {
|
|
|
552
555
|
xs: {
|
|
553
556
|
value: {
|
|
554
557
|
fontSize: "0.75rem",
|
|
555
|
-
lineHeight: "
|
|
558
|
+
lineHeight: "calc(1 / 0.75)"
|
|
556
559
|
}
|
|
557
560
|
},
|
|
558
561
|
sm: {
|
|
559
562
|
value: {
|
|
560
563
|
fontSize: "0.875rem",
|
|
561
|
-
lineHeight: "1.
|
|
564
|
+
lineHeight: "calc(1.25 / 0.875)"
|
|
562
565
|
}
|
|
563
566
|
},
|
|
564
567
|
md: {
|
|
565
568
|
value: {
|
|
566
569
|
fontSize: "1rem",
|
|
567
|
-
lineHeight: "1.
|
|
570
|
+
lineHeight: "calc(1.5 / 1)"
|
|
568
571
|
}
|
|
569
572
|
},
|
|
570
573
|
lg: {
|
|
571
574
|
value: {
|
|
572
575
|
fontSize: "1.125rem",
|
|
573
|
-
lineHeight: "1.
|
|
576
|
+
lineHeight: "calc(1.75 / 1.125)"
|
|
574
577
|
}
|
|
575
578
|
},
|
|
576
579
|
xl: {
|
|
577
580
|
value: {
|
|
578
581
|
fontSize: "1.25rem",
|
|
579
|
-
lineHeight: "1.
|
|
582
|
+
lineHeight: "calc(1.75 / 1.25)"
|
|
580
583
|
}
|
|
581
584
|
},
|
|
582
585
|
"2xl": {
|
|
583
586
|
value: {
|
|
584
587
|
fontSize: "1.5rem",
|
|
585
|
-
lineHeight: "
|
|
588
|
+
lineHeight: "calc(2 / 1.5)"
|
|
586
589
|
}
|
|
587
590
|
},
|
|
588
591
|
"3xl": {
|
|
589
592
|
value: {
|
|
590
593
|
fontSize: "1.875rem",
|
|
591
|
-
lineHeight: "2.
|
|
594
|
+
lineHeight: "calc(2.25 / 1.875)"
|
|
592
595
|
}
|
|
593
596
|
},
|
|
594
597
|
"4xl": {
|
|
595
598
|
value: {
|
|
596
599
|
fontSize: "2.25rem",
|
|
597
|
-
lineHeight: "2.
|
|
600
|
+
lineHeight: "calc(2.5 / 2.25)"
|
|
598
601
|
}
|
|
599
602
|
},
|
|
600
603
|
"5xl": {
|
|
@@ -669,8 +672,8 @@ var tokens = defineTokens({
|
|
|
669
672
|
shadows,
|
|
670
673
|
colors,
|
|
671
674
|
blurs: {
|
|
672
|
-
|
|
673
|
-
|
|
675
|
+
xs: { value: "4px" },
|
|
676
|
+
sm: { value: "8px" },
|
|
674
677
|
md: { value: "12px" },
|
|
675
678
|
lg: { value: "16px" },
|
|
676
679
|
xl: { value: "24px" },
|
|
@@ -694,7 +697,7 @@ var preset = definePreset({
|
|
|
694
697
|
containerSizes
|
|
695
698
|
}
|
|
696
699
|
});
|
|
697
|
-
var
|
|
700
|
+
var index_default = preset;
|
|
698
701
|
// Annotate the CommonJS export names for ESM import in node:
|
|
699
702
|
0 && (module.exports = {
|
|
700
703
|
preset
|
package/dist/index.mjs
CHANGED
|
@@ -370,13 +370,16 @@ var colors = {
|
|
|
370
370
|
|
|
371
371
|
// src/shadows.ts
|
|
372
372
|
var shadows = {
|
|
373
|
+
"2xs": { value: "0 1px rgb(0 0 0 / 0.05)" },
|
|
373
374
|
xs: { value: "0 1px 2px 0 rgb(0 0 0 / 0.05)" },
|
|
374
375
|
sm: { value: ["0 1px 3px 0 rgb(0 0 0 / 0.1)", "0 1px 2px -1px rgb(0 0 0 / 0.1)"] },
|
|
375
376
|
md: { value: ["0 4px 6px -1px rgb(0 0 0 / 0.1)", "0 2px 4px -2px rgb(0 0 0 / 0.1)"] },
|
|
376
377
|
lg: { value: ["0 10px 15px -3px rgb(0 0 0 / 0.1)", "0 4px 6px -4px rgb(0 0 0 / 0.1)"] },
|
|
377
378
|
xl: { value: ["0 20px 25px -5px rgb(0 0 0 / 0.1)", "0 8px 10px -6px rgb(0 0 0 / 0.1)"] },
|
|
378
379
|
"2xl": { value: "0 25px 50px -12px rgb(0 0 0 / 0.25)" },
|
|
379
|
-
|
|
380
|
+
"inset-2xs": { value: "inset 0 1px rgb(0 0 0 / 0.05)" },
|
|
381
|
+
"inset-xs": { value: "inset 0 1px 1px rgb(0 0 0 / 0.05)" },
|
|
382
|
+
"inset-sm": { value: "inset 0 2px 4px rgb(0 0 0 / 0.05)" }
|
|
380
383
|
};
|
|
381
384
|
|
|
382
385
|
// src/spacing.ts
|
|
@@ -525,49 +528,49 @@ var textStyles = {
|
|
|
525
528
|
xs: {
|
|
526
529
|
value: {
|
|
527
530
|
fontSize: "0.75rem",
|
|
528
|
-
lineHeight: "
|
|
531
|
+
lineHeight: "calc(1 / 0.75)"
|
|
529
532
|
}
|
|
530
533
|
},
|
|
531
534
|
sm: {
|
|
532
535
|
value: {
|
|
533
536
|
fontSize: "0.875rem",
|
|
534
|
-
lineHeight: "1.
|
|
537
|
+
lineHeight: "calc(1.25 / 0.875)"
|
|
535
538
|
}
|
|
536
539
|
},
|
|
537
540
|
md: {
|
|
538
541
|
value: {
|
|
539
542
|
fontSize: "1rem",
|
|
540
|
-
lineHeight: "1.
|
|
543
|
+
lineHeight: "calc(1.5 / 1)"
|
|
541
544
|
}
|
|
542
545
|
},
|
|
543
546
|
lg: {
|
|
544
547
|
value: {
|
|
545
548
|
fontSize: "1.125rem",
|
|
546
|
-
lineHeight: "1.
|
|
549
|
+
lineHeight: "calc(1.75 / 1.125)"
|
|
547
550
|
}
|
|
548
551
|
},
|
|
549
552
|
xl: {
|
|
550
553
|
value: {
|
|
551
554
|
fontSize: "1.25rem",
|
|
552
|
-
lineHeight: "1.
|
|
555
|
+
lineHeight: "calc(1.75 / 1.25)"
|
|
553
556
|
}
|
|
554
557
|
},
|
|
555
558
|
"2xl": {
|
|
556
559
|
value: {
|
|
557
560
|
fontSize: "1.5rem",
|
|
558
|
-
lineHeight: "
|
|
561
|
+
lineHeight: "calc(2 / 1.5)"
|
|
559
562
|
}
|
|
560
563
|
},
|
|
561
564
|
"3xl": {
|
|
562
565
|
value: {
|
|
563
566
|
fontSize: "1.875rem",
|
|
564
|
-
lineHeight: "2.
|
|
567
|
+
lineHeight: "calc(2.25 / 1.875)"
|
|
565
568
|
}
|
|
566
569
|
},
|
|
567
570
|
"4xl": {
|
|
568
571
|
value: {
|
|
569
572
|
fontSize: "2.25rem",
|
|
570
|
-
lineHeight: "2.
|
|
573
|
+
lineHeight: "calc(2.5 / 2.25)"
|
|
571
574
|
}
|
|
572
575
|
},
|
|
573
576
|
"5xl": {
|
|
@@ -642,8 +645,8 @@ var tokens = defineTokens({
|
|
|
642
645
|
shadows,
|
|
643
646
|
colors,
|
|
644
647
|
blurs: {
|
|
645
|
-
|
|
646
|
-
|
|
648
|
+
xs: { value: "4px" },
|
|
649
|
+
sm: { value: "8px" },
|
|
647
650
|
md: { value: "12px" },
|
|
648
651
|
lg: { value: "16px" },
|
|
649
652
|
xl: { value: "24px" },
|
|
@@ -667,8 +670,8 @@ var preset = definePreset({
|
|
|
667
670
|
containerSizes
|
|
668
671
|
}
|
|
669
672
|
});
|
|
670
|
-
var
|
|
673
|
+
var index_default = preset;
|
|
671
674
|
export {
|
|
672
|
-
|
|
675
|
+
index_default as default,
|
|
673
676
|
preset
|
|
674
677
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/preset-panda",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.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": "1.0.0"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"build": "tsup src/index.ts --format=esm,cjs --dts",
|