@pandacss/generator 0.36.1 → 0.37.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.js +104 -86
- package/dist/index.mjs +104 -86
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -3696,7 +3696,9 @@ function generateStyleProps(ctx) {
|
|
|
3696
3696
|
if (strictPropertyList.has(key)) {
|
|
3697
3697
|
union.push([utilityValue, "CssVars"].join(" | "));
|
|
3698
3698
|
} else {
|
|
3699
|
-
union.push(
|
|
3699
|
+
union.push(
|
|
3700
|
+
[utilityValue, "CssVars", ctx.config.strictTokens ? "" : cssFallback].filter(Boolean).join(" | ")
|
|
3701
|
+
);
|
|
3700
3702
|
}
|
|
3701
3703
|
} else {
|
|
3702
3704
|
union.push([strictPropertyList.has(key) ? "CssVars" : "", cssFallback].filter(Boolean).join(" | "));
|
|
@@ -4516,39 +4518,7 @@ var generateArtifacts = (ctx, ids) => {
|
|
|
4516
4518
|
var generateGlobalCss = (ctx, sheet) => {
|
|
4517
4519
|
const { globalCss = {} } = ctx.config;
|
|
4518
4520
|
sheet.processGlobalCss({
|
|
4519
|
-
":root": {
|
|
4520
|
-
"--made-with-panda": `'\u{1F43C}'`
|
|
4521
|
-
},
|
|
4522
|
-
"*, *::before, *::after, ::backdrop": {
|
|
4523
|
-
"--blur": "/*-*/ /*-*/",
|
|
4524
|
-
"--brightness": "/*-*/ /*-*/",
|
|
4525
|
-
"--contrast": "/*-*/ /*-*/",
|
|
4526
|
-
"--grayscale": "/*-*/ /*-*/",
|
|
4527
|
-
"--hue-rotate": "/*-*/ /*-*/",
|
|
4528
|
-
"--invert": "/*-*/ /*-*/",
|
|
4529
|
-
"--saturate": "/*-*/ /*-*/",
|
|
4530
|
-
"--sepia": "/*-*/ /*-*/",
|
|
4531
|
-
"--drop-shadow": "/*-*/ /*-*/",
|
|
4532
|
-
"--backdrop-blur": "/*-*/ /*-*/",
|
|
4533
|
-
"--backdrop-brightness": "/*-*/ /*-*/",
|
|
4534
|
-
"--backdrop-contrast": "/*-*/ /*-*/",
|
|
4535
|
-
"--backdrop-grayscale": "/*-*/ /*-*/",
|
|
4536
|
-
"--backdrop-hue-rotate": "/*-*/ /*-*/",
|
|
4537
|
-
"--backdrop-invert": "/*-*/ /*-*/",
|
|
4538
|
-
"--backdrop-opacity": "/*-*/ /*-*/",
|
|
4539
|
-
"--backdrop-saturate": "/*-*/ /*-*/",
|
|
4540
|
-
"--backdrop-sepia": "/*-*/ /*-*/",
|
|
4541
|
-
"--scroll-snap-strictness": "proximity",
|
|
4542
|
-
"--border-spacing-x": 0,
|
|
4543
|
-
"--border-spacing-y": 0,
|
|
4544
|
-
"--translate-x": 0,
|
|
4545
|
-
"--translate-y": 0,
|
|
4546
|
-
"--rotate": 0,
|
|
4547
|
-
"--skew-x": 0,
|
|
4548
|
-
"--skew-y": 0,
|
|
4549
|
-
"--scale-x": 1,
|
|
4550
|
-
"--scale-y": 1
|
|
4551
|
-
}
|
|
4521
|
+
":root": { "--made-with-panda": `'\u{1F43C}'` }
|
|
4552
4522
|
});
|
|
4553
4523
|
sheet.processGlobalCss(globalCss);
|
|
4554
4524
|
};
|
|
@@ -4598,93 +4568,141 @@ function generateResetCss(ctx, sheet) {
|
|
|
4598
4568
|
selector = `&${scope}`;
|
|
4599
4569
|
}
|
|
4600
4570
|
const scoped = {
|
|
4601
|
-
"
|
|
4602
|
-
|
|
4571
|
+
"*, ::before, ::after, ::backdrop, ::first-letter, ::file-selector-button": {
|
|
4572
|
+
margin: "0px",
|
|
4573
|
+
padding: "0px",
|
|
4603
4574
|
boxSizing: "border-box",
|
|
4604
4575
|
borderWidth: "0px",
|
|
4605
4576
|
borderStyle: "solid",
|
|
4606
4577
|
borderColor: "var(--global-color-border, currentColor)"
|
|
4607
4578
|
},
|
|
4608
|
-
hr: {
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4579
|
+
hr: {
|
|
4580
|
+
height: "0px",
|
|
4581
|
+
color: "inherit",
|
|
4582
|
+
borderTopWidth: "1px"
|
|
4583
|
+
},
|
|
4584
|
+
body: {
|
|
4585
|
+
height: "100%",
|
|
4586
|
+
lineHeight: "inherit"
|
|
4587
|
+
},
|
|
4588
|
+
img: {
|
|
4589
|
+
borderStyle: "none"
|
|
4590
|
+
},
|
|
4591
|
+
"img, svg, video, canvas, audio, iframe, embed, object": {
|
|
4612
4592
|
display: "block",
|
|
4613
4593
|
verticalAlign: "middle"
|
|
4614
4594
|
},
|
|
4615
|
-
"img,
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
"
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
|
|
4595
|
+
"img, video": {
|
|
4596
|
+
maxWidth: "100%",
|
|
4597
|
+
height: "auto"
|
|
4598
|
+
},
|
|
4599
|
+
"h1, h2, h3, h4, h5, h6": {
|
|
4600
|
+
fontSize: "inherit",
|
|
4601
|
+
fontWeight: "inherit",
|
|
4602
|
+
textWrap: "balance"
|
|
4603
|
+
},
|
|
4604
|
+
"p, h1, h2, h3, h4, h5, h6": {
|
|
4605
|
+
overflowWrap: "break-word"
|
|
4606
|
+
},
|
|
4607
|
+
"ol, ul, menu": {
|
|
4608
|
+
listStyle: "none"
|
|
4609
|
+
},
|
|
4610
|
+
"button, input:where([type='button'], [type='reset'], [type='submit']), ::file-selector-button": {
|
|
4611
|
+
appearance: "button"
|
|
4612
|
+
},
|
|
4613
|
+
"button, input, optgroup, select, textarea, ::file-selector-button": {
|
|
4614
|
+
font: "inherit",
|
|
4615
|
+
fontFeatureSettings: "inherit",
|
|
4616
|
+
fontVariationSettings: "inherit",
|
|
4617
|
+
letterSpacing: "inherit",
|
|
4618
|
+
color: "inherit",
|
|
4619
|
+
background: "transparent"
|
|
4620
|
+
},
|
|
4621
|
+
"::placeholder": {
|
|
4622
|
+
opacity: 1,
|
|
4623
|
+
"--placeholder-fallback": "color-mix(in srgb, currentColor 50%, transparent)",
|
|
4624
|
+
color: "var(--global-color-placeholder, var(--placeholder-fallback))"
|
|
4625
|
+
},
|
|
4626
|
+
"select, textarea, input:where(:not([type='button'], [type='reset'], [type='submit']))": {
|
|
4627
|
+
borderWidth: "1px",
|
|
4628
|
+
borderStyle: "solid"
|
|
4629
|
+
},
|
|
4630
|
+
textarea: {
|
|
4631
|
+
resize: "vertical"
|
|
4623
4632
|
},
|
|
4624
|
-
"button, input, optgroup, select, textarea": { color: "inherit" },
|
|
4625
|
-
"button, select": { textTransform: "none" },
|
|
4626
4633
|
table: {
|
|
4627
4634
|
textIndent: "0px",
|
|
4628
4635
|
borderColor: "inherit",
|
|
4629
4636
|
borderCollapse: "collapse"
|
|
4630
4637
|
},
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
color: "var(--global-color-placeholder, #9ca3af)"
|
|
4638
|
+
summary: {
|
|
4639
|
+
display: "list-item"
|
|
4634
4640
|
},
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
"sub,
|
|
4641
|
+
small: {
|
|
4642
|
+
fontSize: "80%"
|
|
4643
|
+
},
|
|
4644
|
+
"sub, sup": {
|
|
4639
4645
|
fontSize: "75%",
|
|
4640
4646
|
lineHeight: 0,
|
|
4641
4647
|
position: "relative",
|
|
4642
4648
|
verticalAlign: "baseline"
|
|
4643
4649
|
},
|
|
4644
|
-
sub: {
|
|
4645
|
-
|
|
4646
|
-
dialog: { padding: "0px" },
|
|
4647
|
-
a: { color: "inherit", textDecoration: "inherit" },
|
|
4648
|
-
"abbr:where([title])": { textDecoration: "underline dotted" },
|
|
4649
|
-
"b, strong": { fontWeight: "bolder" },
|
|
4650
|
-
"code, kbd, samp, pre": {
|
|
4651
|
-
fontSize: "1em",
|
|
4652
|
-
"--font-mono-fallback": "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New'",
|
|
4653
|
-
fontFamily: "var(--global-font-mono, var(--font-mono-fallback))"
|
|
4650
|
+
sub: {
|
|
4651
|
+
bottom: "-0.25em"
|
|
4654
4652
|
},
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
MozAppearance: "none"
|
|
4653
|
+
sup: {
|
|
4654
|
+
top: "-0.5em"
|
|
4658
4655
|
},
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
outlineOffset: "-2px"
|
|
4656
|
+
dialog: {
|
|
4657
|
+
padding: "0px"
|
|
4662
4658
|
},
|
|
4663
|
-
|
|
4664
|
-
|
|
4659
|
+
a: {
|
|
4660
|
+
color: "inherit",
|
|
4661
|
+
textDecoration: "inherit"
|
|
4665
4662
|
},
|
|
4666
|
-
"
|
|
4667
|
-
|
|
4668
|
-
|
|
4663
|
+
"abbr:where([title])": {
|
|
4664
|
+
textDecoration: "underline dotted"
|
|
4665
|
+
},
|
|
4666
|
+
"b, strong": {
|
|
4667
|
+
fontWeight: "bolder"
|
|
4668
|
+
},
|
|
4669
|
+
"code, kbd, samp, pre": {
|
|
4670
|
+
"--font-mono-fallback": "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New'",
|
|
4671
|
+
fontFamily: "var(--global-font-mono, var(--font-mono-fallback))",
|
|
4672
|
+
fontSize: "1em",
|
|
4673
|
+
fontFeatureSettings: "normal",
|
|
4674
|
+
fontVariationSettings: "normal"
|
|
4669
4675
|
},
|
|
4670
|
-
|
|
4676
|
+
progress: {
|
|
4677
|
+
verticalAlign: "baseline"
|
|
4678
|
+
},
|
|
4679
|
+
"::-webkit-search-decoration, ::-webkit-search-cancel-button": {
|
|
4680
|
+
WebkitAppearance: "none"
|
|
4681
|
+
},
|
|
4682
|
+
"::-webkit-inner-spin-button, ::-webkit-outer-spin-button": {
|
|
4671
4683
|
height: "auto"
|
|
4672
4684
|
},
|
|
4673
|
-
"
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
"
|
|
4685
|
+
":-moz-ui-invalid": {
|
|
4686
|
+
boxShadow: "none"
|
|
4687
|
+
},
|
|
4688
|
+
":-moz-focusring": {
|
|
4689
|
+
outline: "auto"
|
|
4690
|
+
},
|
|
4691
|
+
"[hidden]": {
|
|
4692
|
+
display: "none !important"
|
|
4693
|
+
}
|
|
4677
4694
|
};
|
|
4678
4695
|
const reset = {
|
|
4679
|
-
[scope || "html"]: {
|
|
4680
|
-
lineHeight: 1.5,
|
|
4696
|
+
[scope || "html, :host"]: {
|
|
4697
|
+
lineHeight: "1.5",
|
|
4681
4698
|
"--font-fallback": "ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",
|
|
4682
4699
|
WebkitTextSizeAdjust: "100%",
|
|
4683
4700
|
WebkitFontSmoothing: "antialiased",
|
|
4684
4701
|
MozOsxFontSmoothing: "grayscale",
|
|
4685
4702
|
MozTabSize: "[4]",
|
|
4686
4703
|
tabSize: "[4]",
|
|
4687
|
-
fontFamily: "var(--global-font-body, var(--font-fallback))"
|
|
4704
|
+
fontFamily: "var(--global-font-body, var(--font-fallback))",
|
|
4705
|
+
WebkitTapHighlightColor: "transparent"
|
|
4688
4706
|
}
|
|
4689
4707
|
};
|
|
4690
4708
|
if (level === "element") {
|
package/dist/index.mjs
CHANGED
|
@@ -3660,7 +3660,9 @@ function generateStyleProps(ctx) {
|
|
|
3660
3660
|
if (strictPropertyList.has(key)) {
|
|
3661
3661
|
union.push([utilityValue, "CssVars"].join(" | "));
|
|
3662
3662
|
} else {
|
|
3663
|
-
union.push(
|
|
3663
|
+
union.push(
|
|
3664
|
+
[utilityValue, "CssVars", ctx.config.strictTokens ? "" : cssFallback].filter(Boolean).join(" | ")
|
|
3665
|
+
);
|
|
3664
3666
|
}
|
|
3665
3667
|
} else {
|
|
3666
3668
|
union.push([strictPropertyList.has(key) ? "CssVars" : "", cssFallback].filter(Boolean).join(" | "));
|
|
@@ -4480,39 +4482,7 @@ var generateArtifacts = (ctx, ids) => {
|
|
|
4480
4482
|
var generateGlobalCss = (ctx, sheet) => {
|
|
4481
4483
|
const { globalCss = {} } = ctx.config;
|
|
4482
4484
|
sheet.processGlobalCss({
|
|
4483
|
-
":root": {
|
|
4484
|
-
"--made-with-panda": `'\u{1F43C}'`
|
|
4485
|
-
},
|
|
4486
|
-
"*, *::before, *::after, ::backdrop": {
|
|
4487
|
-
"--blur": "/*-*/ /*-*/",
|
|
4488
|
-
"--brightness": "/*-*/ /*-*/",
|
|
4489
|
-
"--contrast": "/*-*/ /*-*/",
|
|
4490
|
-
"--grayscale": "/*-*/ /*-*/",
|
|
4491
|
-
"--hue-rotate": "/*-*/ /*-*/",
|
|
4492
|
-
"--invert": "/*-*/ /*-*/",
|
|
4493
|
-
"--saturate": "/*-*/ /*-*/",
|
|
4494
|
-
"--sepia": "/*-*/ /*-*/",
|
|
4495
|
-
"--drop-shadow": "/*-*/ /*-*/",
|
|
4496
|
-
"--backdrop-blur": "/*-*/ /*-*/",
|
|
4497
|
-
"--backdrop-brightness": "/*-*/ /*-*/",
|
|
4498
|
-
"--backdrop-contrast": "/*-*/ /*-*/",
|
|
4499
|
-
"--backdrop-grayscale": "/*-*/ /*-*/",
|
|
4500
|
-
"--backdrop-hue-rotate": "/*-*/ /*-*/",
|
|
4501
|
-
"--backdrop-invert": "/*-*/ /*-*/",
|
|
4502
|
-
"--backdrop-opacity": "/*-*/ /*-*/",
|
|
4503
|
-
"--backdrop-saturate": "/*-*/ /*-*/",
|
|
4504
|
-
"--backdrop-sepia": "/*-*/ /*-*/",
|
|
4505
|
-
"--scroll-snap-strictness": "proximity",
|
|
4506
|
-
"--border-spacing-x": 0,
|
|
4507
|
-
"--border-spacing-y": 0,
|
|
4508
|
-
"--translate-x": 0,
|
|
4509
|
-
"--translate-y": 0,
|
|
4510
|
-
"--rotate": 0,
|
|
4511
|
-
"--skew-x": 0,
|
|
4512
|
-
"--skew-y": 0,
|
|
4513
|
-
"--scale-x": 1,
|
|
4514
|
-
"--scale-y": 1
|
|
4515
|
-
}
|
|
4485
|
+
":root": { "--made-with-panda": `'\u{1F43C}'` }
|
|
4516
4486
|
});
|
|
4517
4487
|
sheet.processGlobalCss(globalCss);
|
|
4518
4488
|
};
|
|
@@ -4562,93 +4532,141 @@ function generateResetCss(ctx, sheet) {
|
|
|
4562
4532
|
selector = `&${scope}`;
|
|
4563
4533
|
}
|
|
4564
4534
|
const scoped = {
|
|
4565
|
-
"
|
|
4566
|
-
|
|
4535
|
+
"*, ::before, ::after, ::backdrop, ::first-letter, ::file-selector-button": {
|
|
4536
|
+
margin: "0px",
|
|
4537
|
+
padding: "0px",
|
|
4567
4538
|
boxSizing: "border-box",
|
|
4568
4539
|
borderWidth: "0px",
|
|
4569
4540
|
borderStyle: "solid",
|
|
4570
4541
|
borderColor: "var(--global-color-border, currentColor)"
|
|
4571
4542
|
},
|
|
4572
|
-
hr: {
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4543
|
+
hr: {
|
|
4544
|
+
height: "0px",
|
|
4545
|
+
color: "inherit",
|
|
4546
|
+
borderTopWidth: "1px"
|
|
4547
|
+
},
|
|
4548
|
+
body: {
|
|
4549
|
+
height: "100%",
|
|
4550
|
+
lineHeight: "inherit"
|
|
4551
|
+
},
|
|
4552
|
+
img: {
|
|
4553
|
+
borderStyle: "none"
|
|
4554
|
+
},
|
|
4555
|
+
"img, svg, video, canvas, audio, iframe, embed, object": {
|
|
4576
4556
|
display: "block",
|
|
4577
4557
|
verticalAlign: "middle"
|
|
4578
4558
|
},
|
|
4579
|
-
"img,
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
"
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4559
|
+
"img, video": {
|
|
4560
|
+
maxWidth: "100%",
|
|
4561
|
+
height: "auto"
|
|
4562
|
+
},
|
|
4563
|
+
"h1, h2, h3, h4, h5, h6": {
|
|
4564
|
+
fontSize: "inherit",
|
|
4565
|
+
fontWeight: "inherit",
|
|
4566
|
+
textWrap: "balance"
|
|
4567
|
+
},
|
|
4568
|
+
"p, h1, h2, h3, h4, h5, h6": {
|
|
4569
|
+
overflowWrap: "break-word"
|
|
4570
|
+
},
|
|
4571
|
+
"ol, ul, menu": {
|
|
4572
|
+
listStyle: "none"
|
|
4573
|
+
},
|
|
4574
|
+
"button, input:where([type='button'], [type='reset'], [type='submit']), ::file-selector-button": {
|
|
4575
|
+
appearance: "button"
|
|
4576
|
+
},
|
|
4577
|
+
"button, input, optgroup, select, textarea, ::file-selector-button": {
|
|
4578
|
+
font: "inherit",
|
|
4579
|
+
fontFeatureSettings: "inherit",
|
|
4580
|
+
fontVariationSettings: "inherit",
|
|
4581
|
+
letterSpacing: "inherit",
|
|
4582
|
+
color: "inherit",
|
|
4583
|
+
background: "transparent"
|
|
4584
|
+
},
|
|
4585
|
+
"::placeholder": {
|
|
4586
|
+
opacity: 1,
|
|
4587
|
+
"--placeholder-fallback": "color-mix(in srgb, currentColor 50%, transparent)",
|
|
4588
|
+
color: "var(--global-color-placeholder, var(--placeholder-fallback))"
|
|
4589
|
+
},
|
|
4590
|
+
"select, textarea, input:where(:not([type='button'], [type='reset'], [type='submit']))": {
|
|
4591
|
+
borderWidth: "1px",
|
|
4592
|
+
borderStyle: "solid"
|
|
4593
|
+
},
|
|
4594
|
+
textarea: {
|
|
4595
|
+
resize: "vertical"
|
|
4587
4596
|
},
|
|
4588
|
-
"button, input, optgroup, select, textarea": { color: "inherit" },
|
|
4589
|
-
"button, select": { textTransform: "none" },
|
|
4590
4597
|
table: {
|
|
4591
4598
|
textIndent: "0px",
|
|
4592
4599
|
borderColor: "inherit",
|
|
4593
4600
|
borderCollapse: "collapse"
|
|
4594
4601
|
},
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
color: "var(--global-color-placeholder, #9ca3af)"
|
|
4602
|
+
summary: {
|
|
4603
|
+
display: "list-item"
|
|
4598
4604
|
},
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
"sub,
|
|
4605
|
+
small: {
|
|
4606
|
+
fontSize: "80%"
|
|
4607
|
+
},
|
|
4608
|
+
"sub, sup": {
|
|
4603
4609
|
fontSize: "75%",
|
|
4604
4610
|
lineHeight: 0,
|
|
4605
4611
|
position: "relative",
|
|
4606
4612
|
verticalAlign: "baseline"
|
|
4607
4613
|
},
|
|
4608
|
-
sub: {
|
|
4609
|
-
|
|
4610
|
-
dialog: { padding: "0px" },
|
|
4611
|
-
a: { color: "inherit", textDecoration: "inherit" },
|
|
4612
|
-
"abbr:where([title])": { textDecoration: "underline dotted" },
|
|
4613
|
-
"b, strong": { fontWeight: "bolder" },
|
|
4614
|
-
"code, kbd, samp, pre": {
|
|
4615
|
-
fontSize: "1em",
|
|
4616
|
-
"--font-mono-fallback": "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New'",
|
|
4617
|
-
fontFamily: "var(--global-font-mono, var(--font-mono-fallback))"
|
|
4614
|
+
sub: {
|
|
4615
|
+
bottom: "-0.25em"
|
|
4618
4616
|
},
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
MozAppearance: "none"
|
|
4617
|
+
sup: {
|
|
4618
|
+
top: "-0.5em"
|
|
4622
4619
|
},
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
outlineOffset: "-2px"
|
|
4620
|
+
dialog: {
|
|
4621
|
+
padding: "0px"
|
|
4626
4622
|
},
|
|
4627
|
-
|
|
4628
|
-
|
|
4623
|
+
a: {
|
|
4624
|
+
color: "inherit",
|
|
4625
|
+
textDecoration: "inherit"
|
|
4629
4626
|
},
|
|
4630
|
-
"
|
|
4631
|
-
|
|
4632
|
-
|
|
4627
|
+
"abbr:where([title])": {
|
|
4628
|
+
textDecoration: "underline dotted"
|
|
4629
|
+
},
|
|
4630
|
+
"b, strong": {
|
|
4631
|
+
fontWeight: "bolder"
|
|
4632
|
+
},
|
|
4633
|
+
"code, kbd, samp, pre": {
|
|
4634
|
+
"--font-mono-fallback": "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New'",
|
|
4635
|
+
fontFamily: "var(--global-font-mono, var(--font-mono-fallback))",
|
|
4636
|
+
fontSize: "1em",
|
|
4637
|
+
fontFeatureSettings: "normal",
|
|
4638
|
+
fontVariationSettings: "normal"
|
|
4633
4639
|
},
|
|
4634
|
-
|
|
4640
|
+
progress: {
|
|
4641
|
+
verticalAlign: "baseline"
|
|
4642
|
+
},
|
|
4643
|
+
"::-webkit-search-decoration, ::-webkit-search-cancel-button": {
|
|
4644
|
+
WebkitAppearance: "none"
|
|
4645
|
+
},
|
|
4646
|
+
"::-webkit-inner-spin-button, ::-webkit-outer-spin-button": {
|
|
4635
4647
|
height: "auto"
|
|
4636
4648
|
},
|
|
4637
|
-
"
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
"
|
|
4649
|
+
":-moz-ui-invalid": {
|
|
4650
|
+
boxShadow: "none"
|
|
4651
|
+
},
|
|
4652
|
+
":-moz-focusring": {
|
|
4653
|
+
outline: "auto"
|
|
4654
|
+
},
|
|
4655
|
+
"[hidden]": {
|
|
4656
|
+
display: "none !important"
|
|
4657
|
+
}
|
|
4641
4658
|
};
|
|
4642
4659
|
const reset = {
|
|
4643
|
-
[scope || "html"]: {
|
|
4644
|
-
lineHeight: 1.5,
|
|
4660
|
+
[scope || "html, :host"]: {
|
|
4661
|
+
lineHeight: "1.5",
|
|
4645
4662
|
"--font-fallback": "ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",
|
|
4646
4663
|
WebkitTextSizeAdjust: "100%",
|
|
4647
4664
|
WebkitFontSmoothing: "antialiased",
|
|
4648
4665
|
MozOsxFontSmoothing: "grayscale",
|
|
4649
4666
|
MozTabSize: "[4]",
|
|
4650
4667
|
tabSize: "[4]",
|
|
4651
|
-
fontFamily: "var(--global-font-body, var(--font-fallback))"
|
|
4668
|
+
fontFamily: "var(--global-font-body, var(--font-fallback))",
|
|
4669
|
+
WebkitTapHighlightColor: "transparent"
|
|
4652
4670
|
}
|
|
4653
4671
|
};
|
|
4654
4672
|
if (level === "element") {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/generator",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.37.0",
|
|
4
4
|
"description": "The css generator for css panda",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"pluralize": "8.0.0",
|
|
38
38
|
"postcss": "8.4.35",
|
|
39
39
|
"ts-pattern": "5.0.8",
|
|
40
|
-
"@pandacss/core": "0.
|
|
41
|
-
"@pandacss/is-valid-prop": "^0.
|
|
42
|
-
"@pandacss/logger": "0.
|
|
43
|
-
"@pandacss/shared": "0.
|
|
44
|
-
"@pandacss/token-dictionary": "0.
|
|
45
|
-
"@pandacss/types": "0.
|
|
40
|
+
"@pandacss/core": "0.37.0",
|
|
41
|
+
"@pandacss/is-valid-prop": "^0.37.0",
|
|
42
|
+
"@pandacss/logger": "0.37.0",
|
|
43
|
+
"@pandacss/shared": "0.37.0",
|
|
44
|
+
"@pandacss/token-dictionary": "0.37.0",
|
|
45
|
+
"@pandacss/types": "0.37.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/pluralize": "0.0.33"
|