@pandacss/studio 0.12.2 → 0.13.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.
Files changed (122) hide show
  1. package/package.json +8 -8
  2. package/styled-system/css/conditions.mjs +16 -18
  3. package/styled-system/css/css.d.ts +1 -1
  4. package/styled-system/css/css.mjs +12 -11
  5. package/styled-system/css/cva.d.ts +2 -2
  6. package/styled-system/css/cva.mjs +2 -2
  7. package/styled-system/css/cx.mjs +1 -1
  8. package/styled-system/css/index.d.ts +4 -4
  9. package/styled-system/css/index.mjs +4 -4
  10. package/styled-system/css/sva.d.ts +1 -1
  11. package/styled-system/css/sva.mjs +10 -8
  12. package/styled-system/global.css +30 -33
  13. package/styled-system/helpers.mjs +165 -154
  14. package/styled-system/jsx/aspect-ratio.d.ts +3 -3
  15. package/styled-system/jsx/aspect-ratio.mjs +5 -5
  16. package/styled-system/jsx/bleed.d.ts +3 -3
  17. package/styled-system/jsx/bleed.mjs +5 -5
  18. package/styled-system/jsx/box.d.ts +3 -3
  19. package/styled-system/jsx/box.mjs +4 -4
  20. package/styled-system/jsx/center.d.ts +3 -3
  21. package/styled-system/jsx/center.mjs +5 -5
  22. package/styled-system/jsx/circle.d.ts +3 -3
  23. package/styled-system/jsx/circle.mjs +5 -5
  24. package/styled-system/jsx/container.d.ts +3 -3
  25. package/styled-system/jsx/container.mjs +4 -4
  26. package/styled-system/jsx/divider.d.ts +3 -3
  27. package/styled-system/jsx/divider.mjs +5 -5
  28. package/styled-system/jsx/factory.d.ts +1 -1
  29. package/styled-system/jsx/factory.mjs +19 -18
  30. package/styled-system/jsx/flex.d.ts +3 -3
  31. package/styled-system/jsx/flex.mjs +5 -5
  32. package/styled-system/jsx/float.d.ts +3 -3
  33. package/styled-system/jsx/float.mjs +5 -5
  34. package/styled-system/jsx/grid-item.d.ts +3 -3
  35. package/styled-system/jsx/grid-item.mjs +5 -5
  36. package/styled-system/jsx/grid.d.ts +3 -3
  37. package/styled-system/jsx/grid.mjs +5 -5
  38. package/styled-system/jsx/hstack.d.ts +3 -3
  39. package/styled-system/jsx/hstack.mjs +5 -5
  40. package/styled-system/jsx/index.d.ts +27 -24
  41. package/styled-system/jsx/index.mjs +23 -23
  42. package/styled-system/jsx/is-valid-prop.mjs +13 -12
  43. package/styled-system/jsx/link-box.d.ts +3 -3
  44. package/styled-system/jsx/link-box.mjs +4 -4
  45. package/styled-system/jsx/link-overlay.d.ts +3 -3
  46. package/styled-system/jsx/link-overlay.mjs +4 -4
  47. package/styled-system/jsx/spacer.d.ts +3 -3
  48. package/styled-system/jsx/spacer.mjs +5 -5
  49. package/styled-system/jsx/square.d.ts +3 -3
  50. package/styled-system/jsx/square.mjs +5 -5
  51. package/styled-system/jsx/stack.d.ts +3 -3
  52. package/styled-system/jsx/stack.mjs +5 -5
  53. package/styled-system/jsx/styled-link.d.ts +3 -3
  54. package/styled-system/jsx/styled-link.mjs +4 -4
  55. package/styled-system/jsx/visually-hidden.d.ts +3 -3
  56. package/styled-system/jsx/visually-hidden.mjs +4 -4
  57. package/styled-system/jsx/vstack.d.ts +3 -3
  58. package/styled-system/jsx/vstack.mjs +5 -5
  59. package/styled-system/jsx/wrap.d.ts +3 -3
  60. package/styled-system/jsx/wrap.mjs +5 -5
  61. package/styled-system/patterns/aspect-ratio.d.ts +5 -5
  62. package/styled-system/patterns/aspect-ratio.mjs +29 -30
  63. package/styled-system/patterns/bleed.d.ts +5 -5
  64. package/styled-system/patterns/bleed.mjs +13 -14
  65. package/styled-system/patterns/box.d.ts +5 -5
  66. package/styled-system/patterns/box.mjs +6 -7
  67. package/styled-system/patterns/center.d.ts +5 -5
  68. package/styled-system/patterns/center.mjs +12 -13
  69. package/styled-system/patterns/circle.d.ts +5 -5
  70. package/styled-system/patterns/circle.mjs +16 -17
  71. package/styled-system/patterns/container.d.ts +5 -5
  72. package/styled-system/patterns/container.mjs +12 -13
  73. package/styled-system/patterns/divider.d.ts +5 -5
  74. package/styled-system/patterns/divider.mjs +15 -16
  75. package/styled-system/patterns/flex.d.ts +5 -5
  76. package/styled-system/patterns/flex.mjs +17 -18
  77. package/styled-system/patterns/float.d.ts +5 -5
  78. package/styled-system/patterns/float.mjs +39 -40
  79. package/styled-system/patterns/grid-item.d.ts +5 -5
  80. package/styled-system/patterns/grid-item.mjs +16 -17
  81. package/styled-system/patterns/grid.d.ts +5 -5
  82. package/styled-system/patterns/grid.mjs +14 -20
  83. package/styled-system/patterns/hstack.d.ts +5 -5
  84. package/styled-system/patterns/hstack.mjs +14 -15
  85. package/styled-system/patterns/index.d.ts +21 -21
  86. package/styled-system/patterns/index.mjs +21 -21
  87. package/styled-system/patterns/link-box.d.ts +5 -5
  88. package/styled-system/patterns/link-box.mjs +13 -14
  89. package/styled-system/patterns/link-overlay.d.ts +5 -5
  90. package/styled-system/patterns/link-overlay.mjs +18 -19
  91. package/styled-system/patterns/spacer.d.ts +5 -5
  92. package/styled-system/patterns/spacer.mjs +12 -13
  93. package/styled-system/patterns/square.d.ts +5 -5
  94. package/styled-system/patterns/square.mjs +15 -16
  95. package/styled-system/patterns/stack.d.ts +5 -5
  96. package/styled-system/patterns/stack.mjs +14 -15
  97. package/styled-system/patterns/styled-link.d.ts +5 -5
  98. package/styled-system/patterns/styled-link.mjs +12 -13
  99. package/styled-system/patterns/visually-hidden.d.ts +5 -5
  100. package/styled-system/patterns/visually-hidden.mjs +9 -10
  101. package/styled-system/patterns/vstack.d.ts +5 -5
  102. package/styled-system/patterns/vstack.mjs +14 -15
  103. package/styled-system/patterns/wrap.d.ts +5 -5
  104. package/styled-system/patterns/wrap.mjs +16 -17
  105. package/styled-system/reset.css +4 -3
  106. package/styled-system/static.css +3 -3
  107. package/styled-system/styles.css +50 -50
  108. package/styled-system/tokens/index.css +434 -434
  109. package/styled-system/tokens/index.d.ts +2 -2
  110. package/styled-system/tokens/index.mjs +1419 -1421
  111. package/styled-system/tokens/keyframes.css +23 -25
  112. package/styled-system/types/composition.d.ts +1 -1
  113. package/styled-system/types/conditions.d.ts +1 -1
  114. package/styled-system/types/global.d.ts +9 -7
  115. package/styled-system/types/index.d.ts +3 -3
  116. package/styled-system/types/jsx.d.ts +2 -2
  117. package/styled-system/types/pattern.d.ts +2 -2
  118. package/styled-system/types/prop-type.d.ts +2 -2
  119. package/styled-system/types/recipe.d.ts +1 -1
  120. package/styled-system/types/selectors.d.ts +1 -1
  121. package/styled-system/types/style-props.d.ts +3 -3
  122. package/styled-system/types/system-types.d.ts +3 -3
@@ -1,21 +1,20 @@
1
- import { mapObject } from '../helpers.mjs'
2
- import { css } from '../css/index.mjs'
1
+ import { mapObject } from '../helpers.mjs';
2
+ import { css } from '../css/index.mjs';
3
3
 
4
4
  const vstackConfig = {
5
- transform(props) {
6
- const { justify, gap = '10px', ...rest } = props
7
- return {
8
- display: 'flex',
9
- alignItems: 'center',
10
- justifyContent: justify,
11
- gap,
12
- flexDirection: 'column',
13
- ...rest,
14
- }
15
- },
16
- }
5
+ transform(props) {
6
+ const { justify, gap = "10px", ...rest } = props;
7
+ return {
8
+ display: "flex",
9
+ alignItems: "center",
10
+ justifyContent: justify,
11
+ gap,
12
+ flexDirection: "column",
13
+ ...rest
14
+ };
15
+ }}
17
16
 
18
17
  export const getVstackStyle = (styles = {}) => vstackConfig.transform(styles, { map: mapObject })
19
18
 
20
19
  export const vstack = (styles) => css(getVstackStyle(styles))
21
- vstack.raw = getVstackStyle
20
+ vstack.raw = getVstackStyle
@@ -1,9 +1,9 @@
1
1
  /* eslint-disable */
2
- import type { SystemStyleObject, ConditionalValue } from '../types'
3
- import type { Properties } from '../types/csstype'
4
- import type { PropertyValue } from '../types/prop-type'
5
- import type { DistributiveOmit } from '../types/system-types'
6
- import type { Tokens } from '../tokens'
2
+ import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
+ import type { Properties } from '../types/csstype';
4
+ import type { PropertyValue } from '../types/prop-type';
5
+ import type { DistributiveOmit } from '../types/system-types';
6
+ import type { Tokens } from '../tokens/index';
7
7
 
8
8
  export type WrapProperties = {
9
9
  gap?: PropertyValue<'gap'>
@@ -1,23 +1,22 @@
1
- import { mapObject } from '../helpers.mjs'
2
- import { css } from '../css/index.mjs'
1
+ import { mapObject } from '../helpers.mjs';
2
+ import { css } from '../css/index.mjs';
3
3
 
4
4
  const wrapConfig = {
5
- transform(props) {
6
- const { columnGap, rowGap, gap = columnGap || rowGap ? void 0 : '10px', align, justify, ...rest } = props
7
- return {
8
- display: 'flex',
9
- flexWrap: 'wrap',
10
- alignItems: align,
11
- justifyContent: justify,
12
- gap,
13
- columnGap,
14
- rowGap,
15
- ...rest,
16
- }
17
- },
18
- }
5
+ transform(props) {
6
+ const { columnGap, rowGap, gap = columnGap || rowGap ? void 0 : "10px", align, justify, ...rest } = props;
7
+ return {
8
+ display: "flex",
9
+ flexWrap: "wrap",
10
+ alignItems: align,
11
+ justifyContent: justify,
12
+ gap,
13
+ columnGap,
14
+ rowGap,
15
+ ...rest
16
+ };
17
+ }}
19
18
 
20
19
  export const getWrapStyle = (styles = {}) => wrapConfig.transform(styles, { map: mapObject })
21
20
 
22
21
  export const wrap = (styles) => css(getWrapStyle(styles))
23
- wrap.raw = getWrapStyle
22
+ wrap.raw = getWrapStyle
@@ -16,8 +16,9 @@
16
16
 
17
17
  html {
18
18
  line-height: 1.5;
19
- --font-fallback: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
20
- Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
19
+ --font-fallback: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
20
+ 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
21
+ 'Noto Color Emoji';
21
22
  -webkit-text-size-adjust: 100%;
22
23
  -webkit-text-size-adjust: 100%;
23
24
  -webkit-font-smoothing: antialiased;
@@ -187,4 +188,4 @@
187
188
  :-moz-focusring {
188
189
  outline: auto;
189
190
  }
190
- }
191
+ }
@@ -1,5 +1,5 @@
1
1
  @layer utilities {
2
2
  .text_red\.400 {
3
- color: var(--colors-red-400);
4
- }
5
- }
3
+ color: var(--colors-red-400)
4
+ }
5
+ }
@@ -12,9 +12,9 @@
12
12
 
13
13
  @layer utilities {
14
14
  .styles\:dark\:text_green500.dark,
15
- .dark .styles\:dark\:text_green500 {
15
+ .dark .styles\:dark\:text_green500 {
16
16
  color: green500;
17
- }
17
+ }
18
18
 
19
19
  .font_12px\/1\.5_Helvetica\,_Arial\,_sans-serif {
20
20
  font: 12px/1.5 Helvetica, Arial, sans-serif;
@@ -50,7 +50,7 @@
50
50
 
51
51
  .highlighted\:bg_border[data-highlighted] {
52
52
  background: var(--colors-border);
53
- }
53
+ }
54
54
 
55
55
  .isolation_isolate {
56
56
  isolation: isolate;
@@ -62,7 +62,7 @@
62
62
 
63
63
  .expanded\:transform_rotate\(180deg\):where([aria-expanded='true'], [data-expanded]) {
64
64
  transform: rotate(180deg);
65
- }
65
+ }
66
66
 
67
67
  .transition_all_\.2s_ease {
68
68
  transition: all 0.2s ease;
@@ -215,35 +215,35 @@
215
215
 
216
216
  .before\:content_\'\'::before {
217
217
  content: '';
218
- }
218
+ }
219
219
 
220
220
  .before\:pos_absolute::before {
221
221
  position: absolute;
222
- }
222
+ }
223
223
 
224
224
  .before\:rounded_sm::before {
225
225
  border-radius: var(--radii-sm);
226
- }
226
+ }
227
227
 
228
228
  .before\:w_100\%::before {
229
229
  width: 100%;
230
- }
230
+ }
231
231
 
232
232
  .before\:h_100\%::before {
233
233
  height: 100%;
234
- }
234
+ }
235
235
 
236
236
  .before\:bg_24px::before {
237
237
  background-size: 24px;
238
- }
238
+ }
239
239
 
240
240
  .before\:z_-1::before {
241
241
  z-index: -1;
242
- }
242
+ }
243
243
 
244
244
  .before\:bg-img_check::before {
245
245
  background-image: var(--assets-check);
246
- }
246
+ }
247
247
 
248
248
  .gap_0\.5 {
249
249
  gap: var(--spacing-0\.5);
@@ -362,9 +362,9 @@
362
362
  }
363
363
 
364
364
  .dark\:text_neutral\.300.dark,
365
- .dark .dark\:text_neutral\.300 {
365
+ .dark .dark\:text_neutral\.300 {
366
366
  color: var(--colors-neutral-300);
367
- }
367
+ }
368
368
 
369
369
  .shadow_sm {
370
370
  box-shadow: var(--shadows-sm);
@@ -377,11 +377,11 @@
377
377
  .divide-y_1px > :not([hidden]) ~ :not([hidden]) {
378
378
  border-top-width: 1px;
379
379
  border-bottom-width: 0px;
380
- }
380
+ }
381
381
 
382
382
  .divide_card > :not([hidden]) ~ :not([hidden]) {
383
383
  border-color: var(--colors-card);
384
- }
384
+ }
385
385
 
386
386
  .mt_1\.5 {
387
387
  margin-top: var(--spacing-1\.5);
@@ -401,23 +401,23 @@
401
401
 
402
402
  .\[\&_svg\]\:font_normal svg {
403
403
  font-weight: var(--font-weights-normal);
404
- }
404
+ }
405
405
 
406
406
  .\[\&_svg\]\:fs_xx-large svg {
407
407
  font-size: xx-large;
408
- }
408
+ }
409
409
 
410
410
  .\[\&_svg\]\:mb_6 svg {
411
411
  margin-bottom: var(--spacing-6);
412
- }
412
+ }
413
413
 
414
414
  .\[\&_svg\]\:h_6 svg {
415
415
  height: var(--sizes-6);
416
- }
416
+ }
417
417
 
418
418
  .\[\&_svg\]\:w_6 svg {
419
419
  width: var(--sizes-6);
420
- }
420
+ }
421
421
 
422
422
  .mt_3 {
423
423
  margin-top: var(--spacing-3);
@@ -525,7 +525,7 @@
525
525
 
526
526
  .currentPage\:text_yellow\.300[aria-current='page'] {
527
527
  color: var(--colors-yellow-300);
528
- }
528
+ }
529
529
 
530
530
  .fs_small {
531
531
  font-size: small;
@@ -619,7 +619,7 @@
619
619
 
620
620
  .\[\&\.active\]\:text_yellow\.300.active {
621
621
  color: var(--colors-yellow-300);
622
- }
622
+ }
623
623
 
624
624
  .sr_true {
625
625
  position: absolute;
@@ -659,7 +659,7 @@
659
659
 
660
660
  .\[\&_li\]\:cursor_pointer li {
661
661
  cursor: pointer;
662
- }
662
+ }
663
663
 
664
664
  .list-style_none {
665
665
  list-style: none;
@@ -959,90 +959,90 @@
959
959
 
960
960
  .focusWithin\:outline-style_solid:focus-within {
961
961
  outline-style: solid;
962
- }
962
+ }
963
963
 
964
964
  .focusWithin\:ring_2px:focus-within {
965
965
  outline-width: 2px;
966
- }
966
+ }
967
967
 
968
968
  .focusWithin\:ring_2px:focus-within {
969
969
  outline-offset: 2px;
970
- }
970
+ }
971
971
 
972
972
  .focusWithin\:ring_neutral\.400:focus-within {
973
973
  outline-color: var(--colors-neutral-400);
974
- }
974
+ }
975
975
 
976
976
  .hover\:bg_gray\.100:where(:hover, [data-hover]) {
977
977
  background-color: var(--colors-gray-100);
978
- }
978
+ }
979
979
 
980
980
  .hover\:shadow_lg:where(:hover, [data-hover]) {
981
981
  box-shadow: var(--shadows-lg);
982
- }
982
+ }
983
983
 
984
984
  .hover\:text_yellow\.300:where(:hover, [data-hover]) {
985
985
  color: var(--colors-yellow-300);
986
- }
986
+ }
987
987
 
988
988
  .hover\:opacity_0\.8:where(:hover, [data-hover]) {
989
989
  opacity: 0.8;
990
- }
990
+ }
991
991
 
992
992
  .hover\:bg_border:where(:hover, [data-hover]) {
993
993
  background-color: var(--colors-border);
994
- }
994
+ }
995
995
 
996
996
  .hover\:bg_border:where(:hover, [data-hover]) {
997
997
  background: var(--colors-border);
998
- }
998
+ }
999
999
 
1000
1000
  .hover\:opacity_0\.6:where(:hover, [data-hover]) {
1001
1001
  opacity: 0.6;
1002
- }
1002
+ }
1003
1003
 
1004
1004
  .hover\:opacity_1:where(:hover, [data-hover]) {
1005
1005
  opacity: 1;
1006
- }
1006
+ }
1007
1007
 
1008
1008
  .hover\:border-b_black:where(:hover, [data-hover]) {
1009
1009
  border-bottom-color: var(--colors-black);
1010
- }
1010
+ }
1011
1011
 
1012
1012
  .\[\&\:hover\]\:text_blue:hover {
1013
1013
  color: blue;
1014
- }
1014
+ }
1015
1015
 
1016
1016
  .\[\&\:hover\]\:bg_\#4049f0:hover {
1017
1017
  background: #4049f0;
1018
- }
1018
+ }
1019
1019
 
1020
1020
  .\[\&\:hover\]\:shadow_lg:hover {
1021
1021
  box-shadow: var(--shadows-lg);
1022
- }
1022
+ }
1023
1023
 
1024
1024
  .\[\&_li\]\:hover\:opacity_0\.8 li:where(:hover, [data-hover]) {
1025
1025
  opacity: 0.8;
1026
- }
1026
+ }
1027
1027
 
1028
1028
  @media screen and (min-width: 640px) {
1029
1029
  @media screen and (min-width: 768px) {
1030
1030
  .styles\:dark\:sm\:md\:text_red200.dark,
1031
- .dark .styles\:dark\:sm\:md\:text_red200 {
1032
- color: red200;
1033
- }
1031
+ .dark .styles\:dark\:sm\:md\:text_red200 {
1032
+ color: red200
1034
1033
  }
1035
- }
1034
+ }
1035
+ }
1036
1036
 
1037
1037
  @media screen and (min-width: 768px) {
1038
1038
  .md\:px_6 {
1039
- padding-inline: var(--spacing-6);
1040
- }
1039
+ padding-inline: var(--spacing-6)
1041
1040
  }
1041
+ }
1042
1042
 
1043
1043
  @media screen and (min-width: 1024px) {
1044
1044
  .lg\:px_8 {
1045
- padding-inline: var(--spacing-8);
1046
- }
1045
+ padding-inline: var(--spacing-8)
1047
1046
  }
1048
- }
1047
+ }
1048
+ }