@mekari/pixel3-styled-system 0.0.7-dev.3 → 0.0.8-dev.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.
Files changed (187) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/css/conditions.mjs +1 -1
  3. package/css/css.d.ts +15 -2
  4. package/css/css.mjs +2 -1
  5. package/css/cva.d.ts +1 -1
  6. package/css/cva.mjs +3 -1
  7. package/css/sva.mjs +8 -2
  8. package/helpers.mjs +44 -48
  9. package/jsx/aspect-ratio.mjs +1 -1
  10. package/jsx/bleed.mjs +1 -1
  11. package/jsx/box.mjs +1 -1
  12. package/jsx/center.mjs +1 -1
  13. package/jsx/circle.mjs +1 -1
  14. package/jsx/container.mjs +1 -1
  15. package/jsx/cq.mjs +1 -1
  16. package/jsx/divider.mjs +1 -1
  17. package/jsx/factory.mjs +46 -18
  18. package/jsx/flex.mjs +1 -1
  19. package/jsx/float.mjs +1 -1
  20. package/jsx/grid-item.mjs +1 -1
  21. package/jsx/grid.mjs +1 -1
  22. package/jsx/hstack.mjs +1 -1
  23. package/jsx/index.d.ts +0 -1
  24. package/jsx/index.mjs +0 -1
  25. package/jsx/is-valid-prop.d.ts +1 -2
  26. package/jsx/is-valid-prop.mjs +2 -2
  27. package/jsx/link-overlay.mjs +1 -1
  28. package/jsx/spacer.mjs +1 -1
  29. package/jsx/square.mjs +1 -1
  30. package/jsx/stack.mjs +1 -1
  31. package/jsx/visually-hidden.mjs +1 -1
  32. package/jsx/vstack.mjs +1 -1
  33. package/jsx/wrap.mjs +1 -1
  34. package/package.json +1 -1
  35. package/patterns/aspect-ratio.d.ts +1 -1
  36. package/patterns/bleed.d.ts +3 -3
  37. package/patterns/box.d.ts +1 -1
  38. package/patterns/center.d.ts +1 -1
  39. package/patterns/circle.d.ts +2 -2
  40. package/patterns/container.d.ts +1 -1
  41. package/patterns/cq.d.ts +2 -2
  42. package/patterns/divider.d.ts +1 -1
  43. package/patterns/flex.d.ts +8 -8
  44. package/patterns/float.d.ts +1 -1
  45. package/patterns/grid-item.d.ts +1 -1
  46. package/patterns/grid.d.ts +4 -4
  47. package/patterns/hstack.d.ts +3 -3
  48. package/patterns/index.d.ts +0 -1
  49. package/patterns/index.mjs +0 -1
  50. package/patterns/link-overlay.d.ts +1 -1
  51. package/patterns/link-overlay.mjs +0 -3
  52. package/patterns/spacer.d.ts +1 -1
  53. package/patterns/square.d.ts +2 -2
  54. package/patterns/stack.d.ts +5 -5
  55. package/patterns/visually-hidden.d.ts +1 -1
  56. package/patterns/vstack.d.ts +3 -3
  57. package/patterns/wrap.d.ts +6 -6
  58. package/recipes/accordion.d.ts +1 -0
  59. package/recipes/accordion.mjs +4 -2
  60. package/recipes/avatar-group-slot-recipe.d.ts +1 -0
  61. package/recipes/avatar-group-slot-recipe.mjs +4 -2
  62. package/recipes/avatar-slot-recipe.d.ts +1 -0
  63. package/recipes/avatar-slot-recipe.mjs +4 -2
  64. package/recipes/badge-recipe.d.ts +1 -0
  65. package/recipes/badge-recipe.mjs +3 -1
  66. package/recipes/banner-close-button-recipe.d.ts +1 -0
  67. package/recipes/banner-close-button-recipe.mjs +3 -1
  68. package/recipes/banner-description-recipe.d.ts +1 -0
  69. package/recipes/banner-description-recipe.mjs +3 -1
  70. package/recipes/banner-icon-slot-recipe.d.ts +1 -0
  71. package/recipes/banner-icon-slot-recipe.mjs +4 -2
  72. package/recipes/banner-link-recipe.d.ts +1 -0
  73. package/recipes/banner-link-recipe.mjs +3 -1
  74. package/recipes/banner-slot-recipe.d.ts +1 -0
  75. package/recipes/banner-slot-recipe.mjs +4 -2
  76. package/recipes/banner-title-recipe.d.ts +1 -0
  77. package/recipes/banner-title-recipe.mjs +3 -1
  78. package/recipes/broadcast-slot-recipe.d.ts +1 -0
  79. package/recipes/broadcast-slot-recipe.mjs +4 -2
  80. package/recipes/button-group-recipe.d.ts +1 -0
  81. package/recipes/button-group-recipe.mjs +3 -1
  82. package/recipes/button-recipe.d.ts +1 -0
  83. package/recipes/button-recipe.mjs +3 -1
  84. package/recipes/calendar-panel-range-recipe.d.ts +1 -0
  85. package/recipes/calendar-panel-range-recipe.mjs +3 -1
  86. package/recipes/carousel-slot-recipe.d.ts +1 -0
  87. package/recipes/carousel-slot-recipe.mjs +4 -2
  88. package/recipes/chart-slot-recipe.d.ts +28 -0
  89. package/recipes/chart-slot-recipe.mjs +80 -0
  90. package/recipes/checkbox-slot-recipe.d.ts +1 -0
  91. package/recipes/checkbox-slot-recipe.mjs +4 -2
  92. package/recipes/create-recipe.mjs +8 -5
  93. package/recipes/date-item-recipe.d.ts +1 -0
  94. package/recipes/date-item-recipe.mjs +3 -1
  95. package/recipes/date-picker-slot-recipe.d.ts +1 -0
  96. package/recipes/date-picker-slot-recipe.mjs +4 -2
  97. package/recipes/day-item-recipe.d.ts +1 -0
  98. package/recipes/day-item-recipe.mjs +3 -1
  99. package/recipes/divider-recipe.d.ts +1 -0
  100. package/recipes/divider-recipe.mjs +3 -1
  101. package/recipes/dropzone-slot-recipe.d.ts +1 -0
  102. package/recipes/dropzone-slot-recipe.mjs +4 -2
  103. package/recipes/form-control-slot-recipe.d.ts +1 -0
  104. package/recipes/form-control-slot-recipe.mjs +4 -2
  105. package/recipes/icon-recipe.d.ts +1 -0
  106. package/recipes/icon-recipe.mjs +3 -1
  107. package/recipes/index.d.ts +2 -1
  108. package/recipes/index.mjs +2 -1
  109. package/recipes/input-addon-slot-recipe.d.ts +1 -0
  110. package/recipes/input-addon-slot-recipe.mjs +4 -2
  111. package/recipes/input-group-slot-recipe.d.ts +1 -0
  112. package/recipes/input-group-slot-recipe.mjs +4 -2
  113. package/recipes/input-slot-recipe.d.ts +1 -0
  114. package/recipes/input-slot-recipe.mjs +4 -2
  115. package/recipes/input-tag-slot-recipe.d.ts +1 -0
  116. package/recipes/input-tag-slot-recipe.mjs +4 -2
  117. package/recipes/modal-slot-recipe.d.ts +6 -1
  118. package/recipes/modal-slot-recipe.mjs +4 -2
  119. package/recipes/month-item-recipe.d.ts +1 -0
  120. package/recipes/month-item-recipe.mjs +3 -1
  121. package/recipes/pinbar-slot-recipe.d.ts +1 -0
  122. package/recipes/pinbar-slot-recipe.mjs +4 -2
  123. package/recipes/popover-content-recipe.d.ts +1 -0
  124. package/recipes/popover-content-recipe.mjs +3 -1
  125. package/recipes/popover-list-item-recipe.d.ts +1 -0
  126. package/recipes/popover-list-item-recipe.mjs +3 -1
  127. package/recipes/popover-list-recipe.d.ts +1 -0
  128. package/recipes/popover-list-recipe.mjs +3 -1
  129. package/recipes/progress-slot-recipe.d.ts +1 -0
  130. package/recipes/progress-slot-recipe.mjs +4 -2
  131. package/recipes/radio-slot-recipe.d.ts +1 -0
  132. package/recipes/radio-slot-recipe.mjs +4 -2
  133. package/recipes/rich-text-editor-slot-recipe.d.ts +1 -0
  134. package/recipes/rich-text-editor-slot-recipe.mjs +4 -2
  135. package/recipes/rtestyle-provider-recipe.d.ts +1 -0
  136. package/recipes/rtestyle-provider-recipe.mjs +3 -1
  137. package/recipes/segmented-control-slot-recipe.d.ts +1 -0
  138. package/recipes/segmented-control-slot-recipe.mjs +4 -2
  139. package/recipes/select-slot-recipe.d.ts +1 -0
  140. package/recipes/select-slot-recipe.mjs +4 -2
  141. package/recipes/selected-border-recipe.d.ts +1 -0
  142. package/recipes/selected-border-recipe.mjs +3 -1
  143. package/recipes/shared-slot-recipe.d.ts +1 -0
  144. package/recipes/shared-slot-recipe.mjs +4 -2
  145. package/recipes/spinner-recipe.d.ts +1 -0
  146. package/recipes/spinner-recipe.mjs +3 -1
  147. package/recipes/tab-list-recipe.d.ts +1 -0
  148. package/recipes/tab-list-recipe.mjs +3 -1
  149. package/recipes/tab-recipe.d.ts +1 -0
  150. package/recipes/tab-recipe.mjs +3 -1
  151. package/recipes/table-container-recipe.d.ts +1 -0
  152. package/recipes/table-container-recipe.mjs +3 -1
  153. package/recipes/table-date-slot-recipe.d.ts +1 -0
  154. package/recipes/table-date-slot-recipe.mjs +4 -2
  155. package/recipes/table-month-slot-recipe.d.ts +1 -0
  156. package/recipes/table-month-slot-recipe.mjs +4 -2
  157. package/recipes/table-recipe.d.ts +1 -0
  158. package/recipes/table-recipe.mjs +3 -1
  159. package/recipes/table-year-slot-recipe.d.ts +1 -0
  160. package/recipes/table-year-slot-recipe.mjs +4 -2
  161. package/recipes/tag-slot-recipe.d.ts +1 -0
  162. package/recipes/tag-slot-recipe.mjs +4 -2
  163. package/recipes/text-recipe.d.ts +1 -0
  164. package/recipes/text-recipe.mjs +3 -1
  165. package/recipes/textarea-recipe.d.ts +1 -0
  166. package/recipes/textarea-recipe.mjs +3 -1
  167. package/recipes/toast-slot-recipe.d.ts +1 -0
  168. package/recipes/toast-slot-recipe.mjs +4 -2
  169. package/recipes/toggle-slot-recipe.d.ts +1 -0
  170. package/recipes/toggle-slot-recipe.mjs +4 -2
  171. package/recipes/tooltip-recipe.d.ts +1 -0
  172. package/recipes/tooltip-recipe.mjs +3 -1
  173. package/recipes/upload-list-slot-recipe.d.ts +1 -0
  174. package/recipes/upload-list-slot-recipe.mjs +4 -2
  175. package/recipes/upload-slot-recipe.d.ts +1 -0
  176. package/recipes/upload-slot-recipe.mjs +4 -2
  177. package/recipes/year-item-recipe.d.ts +1 -0
  178. package/recipes/year-item-recipe.mjs +3 -1
  179. package/tokens/tokens.d.ts +0 -3
  180. package/types/composition.d.ts +39 -12
  181. package/types/conditions.d.ts +24 -26
  182. package/types/pattern.d.ts +4 -0
  183. package/types/prop-type.d.ts +51 -223
  184. package/types/recipe.d.ts +33 -10
  185. package/types/static-css.d.ts +4 -0
  186. package/types/style-props.d.ts +7458 -644
  187. package/types/system-types.d.ts +3 -8
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, h, computed } from 'vue'
2
- import { mergeCss } from '../css/css.mjs';
2
+
3
3
  import { getLinkOverlayStyle } from '../patterns/link-overlay.mjs';
4
4
  import { Pixel } from './factory.mjs';
5
5
 
package/jsx/spacer.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, h, computed } from 'vue'
2
- import { mergeCss } from '../css/css.mjs';
2
+
3
3
  import { getSpacerStyle } from '../patterns/spacer.mjs';
4
4
  import { Pixel } from './factory.mjs';
5
5
 
package/jsx/square.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, h, computed } from 'vue'
2
- import { mergeCss } from '../css/css.mjs';
2
+
3
3
  import { getSquareStyle } from '../patterns/square.mjs';
4
4
  import { Pixel } from './factory.mjs';
5
5
 
package/jsx/stack.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, h, computed } from 'vue'
2
- import { mergeCss } from '../css/css.mjs';
2
+
3
3
  import { getStackStyle } from '../patterns/stack.mjs';
4
4
  import { Pixel } from './factory.mjs';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, h, computed } from 'vue'
2
- import { mergeCss } from '../css/css.mjs';
2
+
3
3
  import { getVisuallyHiddenStyle } from '../patterns/visually-hidden.mjs';
4
4
  import { Pixel } from './factory.mjs';
5
5
 
package/jsx/vstack.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, h, computed } from 'vue'
2
- import { mergeCss } from '../css/css.mjs';
2
+
3
3
  import { getVstackStyle } from '../patterns/vstack.mjs';
4
4
  import { Pixel } from './factory.mjs';
5
5
 
package/jsx/wrap.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, h, computed } from 'vue'
2
- import { mergeCss } from '../css/css.mjs';
2
+
3
3
  import { getWrapStyle } from '../patterns/wrap.mjs';
4
4
  import { Pixel } from './factory.mjs';
5
5
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mekari/pixel3-styled-system",
3
3
  "description": "This package is auto-generated by Panda CSS",
4
- "version": "0.0.7-dev.3",
4
+ "version": "0.0.8-dev.0",
5
5
  "type": "module",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
3
  import type { Properties } from '../types/csstype';
4
- import type { PropertyValue } from '../types/prop-type';
4
+ import type { SystemProperties } from '../types/style-props';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
@@ -1,13 +1,13 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
3
  import type { Properties } from '../types/csstype';
4
- import type { PropertyValue } from '../types/prop-type';
4
+ import type { SystemProperties } from '../types/style-props';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
8
8
  export interface BleedProperties {
9
- inline?: PropertyValue<'marginInline'>
10
- block?: PropertyValue<'marginBlock'>
9
+ inline?: SystemProperties["marginInline"]
10
+ block?: SystemProperties["marginBlock"]
11
11
  }
12
12
 
13
13
 
package/patterns/box.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
3
  import type { Properties } from '../types/csstype';
4
- import type { PropertyValue } from '../types/prop-type';
4
+ import type { SystemProperties } from '../types/style-props';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
3
  import type { Properties } from '../types/csstype';
4
- import type { PropertyValue } from '../types/prop-type';
4
+ import type { SystemProperties } from '../types/style-props';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
@@ -1,12 +1,12 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
3
  import type { Properties } from '../types/csstype';
4
- import type { PropertyValue } from '../types/prop-type';
4
+ import type { SystemProperties } from '../types/style-props';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
8
8
  export interface CircleProperties {
9
- size?: PropertyValue<'width'>
9
+ size?: SystemProperties["width"]
10
10
  }
11
11
 
12
12
 
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
3
  import type { Properties } from '../types/csstype';
4
- import type { PropertyValue } from '../types/prop-type';
4
+ import type { SystemProperties } from '../types/style-props';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
package/patterns/cq.d.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
3
  import type { Properties } from '../types/csstype';
4
- import type { PropertyValue } from '../types/prop-type';
4
+ import type { SystemProperties } from '../types/style-props';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
8
8
  export interface CqProperties {
9
9
  name?: ConditionalValue<Tokens["containerNames"] | Properties["containerName"]>
10
- type?: PropertyValue<'containerType'>
10
+ type?: SystemProperties["containerType"]
11
11
  }
12
12
 
13
13
 
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
3
  import type { Properties } from '../types/csstype';
4
- import type { PropertyValue } from '../types/prop-type';
4
+ import type { SystemProperties } from '../types/style-props';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
@@ -1,18 +1,18 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
3
  import type { Properties } from '../types/csstype';
4
- import type { PropertyValue } from '../types/prop-type';
4
+ import type { SystemProperties } from '../types/style-props';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
8
8
  export interface FlexProperties {
9
- align?: PropertyValue<'alignItems'>
10
- justify?: PropertyValue<'justifyContent'>
11
- direction?: PropertyValue<'flexDirection'>
12
- wrap?: PropertyValue<'flexWrap'>
13
- basis?: PropertyValue<'flexBasis'>
14
- grow?: PropertyValue<'flexGrow'>
15
- shrink?: PropertyValue<'flexShrink'>
9
+ align?: SystemProperties["alignItems"]
10
+ justify?: SystemProperties["justifyContent"]
11
+ direction?: SystemProperties["flexDirection"]
12
+ wrap?: SystemProperties["flexWrap"]
13
+ basis?: SystemProperties["flexBasis"]
14
+ grow?: SystemProperties["flexGrow"]
15
+ shrink?: SystemProperties["flexShrink"]
16
16
  }
17
17
 
18
18
 
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
3
  import type { Properties } from '../types/csstype';
4
- import type { PropertyValue } from '../types/prop-type';
4
+ import type { SystemProperties } from '../types/style-props';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
3
  import type { Properties } from '../types/csstype';
4
- import type { PropertyValue } from '../types/prop-type';
4
+ import type { SystemProperties } from '../types/style-props';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
@@ -1,14 +1,14 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
3
  import type { Properties } from '../types/csstype';
4
- import type { PropertyValue } from '../types/prop-type';
4
+ import type { SystemProperties } from '../types/style-props';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
8
8
  export interface GridProperties {
9
- gap?: PropertyValue<'gap'>
10
- columnGap?: PropertyValue<'gap'>
11
- rowGap?: PropertyValue<'gap'>
9
+ gap?: SystemProperties["gap"]
10
+ columnGap?: SystemProperties["gap"]
11
+ rowGap?: SystemProperties["gap"]
12
12
  columns?: ConditionalValue<number>
13
13
  minChildWidth?: ConditionalValue<Tokens["sizes"] | Properties["width"]>
14
14
  }
@@ -1,13 +1,13 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
3
  import type { Properties } from '../types/csstype';
4
- import type { PropertyValue } from '../types/prop-type';
4
+ import type { SystemProperties } from '../types/style-props';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
8
8
  export interface HstackProperties {
9
- justify?: PropertyValue<'justifyContent'>
10
- gap?: PropertyValue<'gap'>
9
+ justify?: SystemProperties["justifyContent"]
10
+ gap?: SystemProperties["gap"]
11
11
  }
12
12
 
13
13
 
@@ -8,7 +8,6 @@ export * from './spacer';
8
8
  export * from './square';
9
9
  export * from './circle';
10
10
  export * from './center';
11
- export * from './link-box';
12
11
  export * from './link-overlay';
13
12
  export * from './aspect-ratio';
14
13
  export * from './grid';
@@ -7,7 +7,6 @@ export * from './spacer.mjs';
7
7
  export * from './square.mjs';
8
8
  export * from './circle.mjs';
9
9
  export * from './center.mjs';
10
- export * from './link-box.mjs';
11
10
  export * from './link-overlay.mjs';
12
11
  export * from './aspect-ratio.mjs';
13
12
  export * from './grid.mjs';
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
3
  import type { Properties } from '../types/csstype';
4
- import type { PropertyValue } from '../types/prop-type';
4
+ import type { SystemProperties } from '../types/style-props';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
@@ -4,12 +4,9 @@ import { css } from '../css/index.mjs';
4
4
  const linkOverlayConfig = {
5
5
  transform(props) {
6
6
  return {
7
- position: "static",
8
7
  _before: {
9
8
  content: '""',
10
- display: "block",
11
9
  position: "absolute",
12
- cursor: "inherit",
13
10
  inset: "0",
14
11
  zIndex: "0",
15
12
  ...props["_before"]
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
3
  import type { Properties } from '../types/csstype';
4
- import type { PropertyValue } from '../types/prop-type';
4
+ import type { SystemProperties } from '../types/style-props';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
@@ -1,12 +1,12 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
3
  import type { Properties } from '../types/csstype';
4
- import type { PropertyValue } from '../types/prop-type';
4
+ import type { SystemProperties } from '../types/style-props';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
8
8
  export interface SquareProperties {
9
- size?: PropertyValue<'width'>
9
+ size?: SystemProperties["width"]
10
10
  }
11
11
 
12
12
 
@@ -1,15 +1,15 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
3
  import type { Properties } from '../types/csstype';
4
- import type { PropertyValue } from '../types/prop-type';
4
+ import type { SystemProperties } from '../types/style-props';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
8
8
  export interface StackProperties {
9
- align?: PropertyValue<'alignItems'>
10
- justify?: PropertyValue<'justifyContent'>
11
- direction?: PropertyValue<'flexDirection'>
12
- gap?: PropertyValue<'gap'>
9
+ align?: SystemProperties["alignItems"]
10
+ justify?: SystemProperties["justifyContent"]
11
+ direction?: SystemProperties["flexDirection"]
12
+ gap?: SystemProperties["gap"]
13
13
  }
14
14
 
15
15
 
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
3
  import type { Properties } from '../types/csstype';
4
- import type { PropertyValue } from '../types/prop-type';
4
+ import type { SystemProperties } from '../types/style-props';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
@@ -1,13 +1,13 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
3
  import type { Properties } from '../types/csstype';
4
- import type { PropertyValue } from '../types/prop-type';
4
+ import type { SystemProperties } from '../types/style-props';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
8
8
  export interface VstackProperties {
9
- justify?: PropertyValue<'justifyContent'>
10
- gap?: PropertyValue<'gap'>
9
+ justify?: SystemProperties["justifyContent"]
10
+ gap?: SystemProperties["gap"]
11
11
  }
12
12
 
13
13
 
@@ -1,16 +1,16 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
3
  import type { Properties } from '../types/csstype';
4
- import type { PropertyValue } from '../types/prop-type';
4
+ import type { SystemProperties } from '../types/style-props';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
8
8
  export interface WrapProperties {
9
- gap?: PropertyValue<'gap'>
10
- rowGap?: PropertyValue<'gap'>
11
- columnGap?: PropertyValue<'gap'>
12
- align?: PropertyValue<'alignItems'>
13
- justify?: PropertyValue<'justifyContent'>
9
+ gap?: SystemProperties["gap"]
10
+ rowGap?: SystemProperties["gap"]
11
+ columnGap?: SystemProperties["gap"]
12
+ align?: SystemProperties["alignItems"]
13
+ justify?: SystemProperties["justifyContent"]
14
14
  }
15
15
 
16
16
 
@@ -21,6 +21,7 @@ export interface AccordionRecipe {
21
21
  variantMap: AccordionVariantMap
22
22
  variantKeys: Array<keyof AccordionVariant>
23
23
  splitVariantProps<Props extends AccordionVariantProps>(props: Props): [AccordionVariantProps, Pretty<DistributiveOmit<Props, keyof AccordionVariantProps>>]
24
+ getVariantProps: (props?: AccordionVariantProps) => AccordionVariantProps
24
25
  }
25
26
 
26
27
 
@@ -1,4 +1,4 @@
1
- import { getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
1
+ import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
2
2
  import { createRecipe } from './create-recipe.mjs';
3
3
 
4
4
  const accordionDefaultVariants = {
@@ -27,12 +27,13 @@ const accordionSlotNames = [
27
27
  const accordionSlotFns = /* @__PURE__ */ accordionSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, accordionDefaultVariants, getSlotCompoundVariant(accordionCompoundVariants, slotName))])
28
28
 
29
29
  const accordionFn = memo((props = {}) => {
30
- return Object.fromEntries(accordionSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
30
+ return Object.fromEntries(accordionSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
31
31
  })
32
32
 
33
33
  const accordionVariantKeys = [
34
34
  "size"
35
35
  ]
36
+ const getVariantProps = (variants) => ({ ...accordionDefaultVariants, ...compact(variants) })
36
37
 
37
38
  export const accordion = /* @__PURE__ */ Object.assign(accordionFn, {
38
39
  __recipe__: false,
@@ -47,4 +48,5 @@ export const accordion = /* @__PURE__ */ Object.assign(accordionFn, {
47
48
  splitVariantProps(props) {
48
49
  return splitProps(props, accordionVariantKeys)
49
50
  },
51
+ getVariantProps
50
52
  })
@@ -21,6 +21,7 @@ export interface AvatarGroupSlotRecipeRecipe {
21
21
  variantMap: AvatarGroupSlotRecipeVariantMap
22
22
  variantKeys: Array<keyof AvatarGroupSlotRecipeVariant>
23
23
  splitVariantProps<Props extends AvatarGroupSlotRecipeVariantProps>(props: Props): [AvatarGroupSlotRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof AvatarGroupSlotRecipeVariantProps>>]
24
+ getVariantProps: (props?: AvatarGroupSlotRecipeVariantProps) => AvatarGroupSlotRecipeVariantProps
24
25
  }
25
26
 
26
27
 
@@ -1,4 +1,4 @@
1
- import { getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
1
+ import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
2
2
  import { createRecipe } from './create-recipe.mjs';
3
3
 
4
4
  const avatarGroupSlotRecipeDefaultVariants = {}
@@ -17,12 +17,13 @@ const avatarGroupSlotRecipeSlotNames = [
17
17
  const avatarGroupSlotRecipeSlotFns = /* @__PURE__ */ avatarGroupSlotRecipeSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, avatarGroupSlotRecipeDefaultVariants, getSlotCompoundVariant(avatarGroupSlotRecipeCompoundVariants, slotName))])
18
18
 
19
19
  const avatarGroupSlotRecipeFn = memo((props = {}) => {
20
- return Object.fromEntries(avatarGroupSlotRecipeSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
20
+ return Object.fromEntries(avatarGroupSlotRecipeSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
21
21
  })
22
22
 
23
23
  const avatarGroupSlotRecipeVariantKeys = [
24
24
  "size"
25
25
  ]
26
+ const getVariantProps = (variants) => ({ ...avatarGroupSlotRecipeDefaultVariants, ...compact(variants) })
26
27
 
27
28
  export const avatarGroupSlotRecipe = /* @__PURE__ */ Object.assign(avatarGroupSlotRecipeFn, {
28
29
  __recipe__: false,
@@ -40,4 +41,5 @@ export const avatarGroupSlotRecipe = /* @__PURE__ */ Object.assign(avatarGroupSl
40
41
  splitVariantProps(props) {
41
42
  return splitProps(props, avatarGroupSlotRecipeVariantKeys)
42
43
  },
44
+ getVariantProps
43
45
  })
@@ -24,6 +24,7 @@ export interface AvatarSlotRecipeRecipe {
24
24
  variantMap: AvatarSlotRecipeVariantMap
25
25
  variantKeys: Array<keyof AvatarSlotRecipeVariant>
26
26
  splitVariantProps<Props extends AvatarSlotRecipeVariantProps>(props: Props): [AvatarSlotRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof AvatarSlotRecipeVariantProps>>]
27
+ getVariantProps: (props?: AvatarSlotRecipeVariantProps) => AvatarSlotRecipeVariantProps
27
28
  }
28
29
 
29
30
 
@@ -1,4 +1,4 @@
1
- import { getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
1
+ import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
2
2
  import { createRecipe } from './create-recipe.mjs';
3
3
 
4
4
  const avatarSlotRecipeDefaultVariants = {
@@ -73,7 +73,7 @@ const avatarSlotRecipeSlotNames = [
73
73
  const avatarSlotRecipeSlotFns = /* @__PURE__ */ avatarSlotRecipeSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, avatarSlotRecipeDefaultVariants, getSlotCompoundVariant(avatarSlotRecipeCompoundVariants, slotName))])
74
74
 
75
75
  const avatarSlotRecipeFn = memo((props = {}) => {
76
- return Object.fromEntries(avatarSlotRecipeSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
76
+ return Object.fromEntries(avatarSlotRecipeSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
77
77
  })
78
78
 
79
79
  const avatarSlotRecipeVariantKeys = [
@@ -82,6 +82,7 @@ const avatarSlotRecipeVariantKeys = [
82
82
  "variantColor",
83
83
  "size"
84
84
  ]
85
+ const getVariantProps = (variants) => ({ ...avatarSlotRecipeDefaultVariants, ...compact(variants) })
85
86
 
86
87
  export const avatarSlotRecipe = /* @__PURE__ */ Object.assign(avatarSlotRecipeFn, {
87
88
  __recipe__: false,
@@ -125,4 +126,5 @@ export const avatarSlotRecipe = /* @__PURE__ */ Object.assign(avatarSlotRecipeFn
125
126
  splitVariantProps(props) {
126
127
  return splitProps(props, avatarSlotRecipeVariantKeys)
127
128
  },
129
+ getVariantProps
128
130
  })
@@ -23,6 +23,7 @@ export interface BadgeRecipeRecipe {
23
23
  variantMap: BadgeRecipeVariantMap
24
24
  variantKeys: Array<keyof BadgeRecipeVariant>
25
25
  splitVariantProps<Props extends BadgeRecipeVariantProps>(props: Props): [BadgeRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof BadgeRecipeVariantProps>>]
26
+ getVariantProps: (props?: BadgeRecipeVariantProps) => BadgeRecipeVariantProps
26
27
  }
27
28
 
28
29
 
@@ -145,9 +145,10 @@ const badgeRecipeVariantMap = {
145
145
 
146
146
  const badgeRecipeVariantKeys = Object.keys(badgeRecipeVariantMap)
147
147
 
148
- export const badgeRecipe = /* @__PURE__ */ Object.assign(memo(badgeRecipeFn), {
148
+ export const badgeRecipe = /* @__PURE__ */ Object.assign(memo(badgeRecipeFn.recipeFn), {
149
149
  __recipe__: true,
150
150
  __name__: 'badgeRecipe',
151
+ __getCompoundVariantCss__: badgeRecipeFn.__getCompoundVariantCss__,
151
152
  raw: (props) => props,
152
153
  variantKeys: badgeRecipeVariantKeys,
153
154
  variantMap: badgeRecipeVariantMap,
@@ -157,4 +158,5 @@ export const badgeRecipe = /* @__PURE__ */ Object.assign(memo(badgeRecipeFn), {
157
158
  splitVariantProps(props) {
158
159
  return splitProps(props, badgeRecipeVariantKeys)
159
160
  },
161
+ getVariantProps: badgeRecipeFn.getVariantProps,
160
162
  })
@@ -21,6 +21,7 @@ export interface BannerCloseButtonRecipeRecipe {
21
21
  variantMap: BannerCloseButtonRecipeVariantMap
22
22
  variantKeys: Array<keyof BannerCloseButtonRecipeVariant>
23
23
  splitVariantProps<Props extends BannerCloseButtonRecipeVariantProps>(props: Props): [BannerCloseButtonRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof BannerCloseButtonRecipeVariantProps>>]
24
+ getVariantProps: (props?: BannerCloseButtonRecipeVariantProps) => BannerCloseButtonRecipeVariantProps
24
25
  }
25
26
 
26
27
 
@@ -7,9 +7,10 @@ const bannerCloseButtonRecipeVariantMap = {}
7
7
 
8
8
  const bannerCloseButtonRecipeVariantKeys = Object.keys(bannerCloseButtonRecipeVariantMap)
9
9
 
10
- export const bannerCloseButtonRecipe = /* @__PURE__ */ Object.assign(memo(bannerCloseButtonRecipeFn), {
10
+ export const bannerCloseButtonRecipe = /* @__PURE__ */ Object.assign(memo(bannerCloseButtonRecipeFn.recipeFn), {
11
11
  __recipe__: true,
12
12
  __name__: 'bannerCloseButtonRecipe',
13
+ __getCompoundVariantCss__: bannerCloseButtonRecipeFn.__getCompoundVariantCss__,
13
14
  raw: (props) => props,
14
15
  variantKeys: bannerCloseButtonRecipeVariantKeys,
15
16
  variantMap: bannerCloseButtonRecipeVariantMap,
@@ -19,4 +20,5 @@ export const bannerCloseButtonRecipe = /* @__PURE__ */ Object.assign(memo(banner
19
20
  splitVariantProps(props) {
20
21
  return splitProps(props, bannerCloseButtonRecipeVariantKeys)
21
22
  },
23
+ getVariantProps: bannerCloseButtonRecipeFn.getVariantProps,
22
24
  })
@@ -21,6 +21,7 @@ export interface BannerDescriptionRecipeRecipe {
21
21
  variantMap: BannerDescriptionRecipeVariantMap
22
22
  variantKeys: Array<keyof BannerDescriptionRecipeVariant>
23
23
  splitVariantProps<Props extends BannerDescriptionRecipeVariantProps>(props: Props): [BannerDescriptionRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof BannerDescriptionRecipeVariantProps>>]
24
+ getVariantProps: (props?: BannerDescriptionRecipeVariantProps) => BannerDescriptionRecipeVariantProps
24
25
  }
25
26
 
26
27
 
@@ -7,9 +7,10 @@ const bannerDescriptionRecipeVariantMap = {}
7
7
 
8
8
  const bannerDescriptionRecipeVariantKeys = Object.keys(bannerDescriptionRecipeVariantMap)
9
9
 
10
- export const bannerDescriptionRecipe = /* @__PURE__ */ Object.assign(memo(bannerDescriptionRecipeFn), {
10
+ export const bannerDescriptionRecipe = /* @__PURE__ */ Object.assign(memo(bannerDescriptionRecipeFn.recipeFn), {
11
11
  __recipe__: true,
12
12
  __name__: 'bannerDescriptionRecipe',
13
+ __getCompoundVariantCss__: bannerDescriptionRecipeFn.__getCompoundVariantCss__,
13
14
  raw: (props) => props,
14
15
  variantKeys: bannerDescriptionRecipeVariantKeys,
15
16
  variantMap: bannerDescriptionRecipeVariantMap,
@@ -19,4 +20,5 @@ export const bannerDescriptionRecipe = /* @__PURE__ */ Object.assign(memo(banner
19
20
  splitVariantProps(props) {
20
21
  return splitProps(props, bannerDescriptionRecipeVariantKeys)
21
22
  },
23
+ getVariantProps: bannerDescriptionRecipeFn.getVariantProps,
22
24
  })
@@ -21,6 +21,7 @@ export interface BannerIconSlotRecipeRecipe {
21
21
  variantMap: BannerIconSlotRecipeVariantMap
22
22
  variantKeys: Array<keyof BannerIconSlotRecipeVariant>
23
23
  splitVariantProps<Props extends BannerIconSlotRecipeVariantProps>(props: Props): [BannerIconSlotRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof BannerIconSlotRecipeVariantProps>>]
24
+ getVariantProps: (props?: BannerIconSlotRecipeVariantProps) => BannerIconSlotRecipeVariantProps
24
25
  }
25
26
 
26
27