@mekari/pixel3-styled-system 0.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.
Files changed (211) hide show
  1. package/.turbo/turbo-build.log +16 -0
  2. package/chunks/packages__accordion__src__accordion.css +10 -0
  3. package/chunks/packages__avatar2__src__modules__avatar.recipes.css +166 -0
  4. package/chunks/packages__avatar__src__avatar.style.css +150 -0
  5. package/chunks/packages__avatar__src__avatar.styles.css +171 -0
  6. package/chunks/packages__avatar__src__modules__avatar.recipes.css +191 -0
  7. package/chunks/packages__core__node_modules__@mekari__pixel3-accordion__src__accordion.css +10 -0
  8. package/chunks/packages__core__node_modules__@mekari__pixel3-avatar2__src__modules__avatar.recipes.css +166 -0
  9. package/chunks/packages__core__node_modules__@mekari__pixel3-avatar__src__avatar.css +16 -0
  10. package/chunks/packages__core__node_modules__@mekari__pixel3-avatar__src__avatar.style.css +150 -0
  11. package/chunks/packages__core__node_modules__@mekari__pixel3-avatar__src__avatar.styles.css +171 -0
  12. package/chunks/packages__core__node_modules__@mekari__pixel3-avatar__src__modules__avatar.recipes.css +191 -0
  13. package/css/conditions.mjs +34 -0
  14. package/css/css.d.ts +9 -0
  15. package/css/css.mjs +44 -0
  16. package/css/cva.d.ts +6 -0
  17. package/css/cva.mjs +85 -0
  18. package/css/cx.d.ts +5 -0
  19. package/css/cx.mjs +15 -0
  20. package/css/index.d.ts +5 -0
  21. package/css/index.mjs +4 -0
  22. package/css/sva.d.ts +4 -0
  23. package/css/sva.mjs +35 -0
  24. package/global.css +59 -0
  25. package/helpers.mjs +300 -0
  26. package/jsx/aspect-ratio.d.ts +10 -0
  27. package/jsx/aspect-ratio.mjs +16 -0
  28. package/jsx/bleed.d.ts +10 -0
  29. package/jsx/bleed.mjs +16 -0
  30. package/jsx/box.d.ts +10 -0
  31. package/jsx/box.mjs +16 -0
  32. package/jsx/center.d.ts +10 -0
  33. package/jsx/center.mjs +16 -0
  34. package/jsx/circle.d.ts +10 -0
  35. package/jsx/circle.mjs +16 -0
  36. package/jsx/container.d.ts +10 -0
  37. package/jsx/container.mjs +16 -0
  38. package/jsx/divider.d.ts +10 -0
  39. package/jsx/divider.mjs +16 -0
  40. package/jsx/factory-helper.mjs +22 -0
  41. package/jsx/factory.d.ts +4 -0
  42. package/jsx/factory.mjs +85 -0
  43. package/jsx/flex.d.ts +10 -0
  44. package/jsx/flex.mjs +16 -0
  45. package/jsx/float.d.ts +10 -0
  46. package/jsx/float.mjs +16 -0
  47. package/jsx/grid-item.d.ts +10 -0
  48. package/jsx/grid-item.mjs +16 -0
  49. package/jsx/grid.d.ts +10 -0
  50. package/jsx/grid.mjs +16 -0
  51. package/jsx/hstack.d.ts +10 -0
  52. package/jsx/hstack.mjs +16 -0
  53. package/jsx/index.d.ts +27 -0
  54. package/jsx/index.mjs +22 -0
  55. package/jsx/is-valid-prop.d.ts +5 -0
  56. package/jsx/is-valid-prop.mjs +17 -0
  57. package/jsx/link-box.d.ts +10 -0
  58. package/jsx/link-box.mjs +16 -0
  59. package/jsx/link-overlay.d.ts +10 -0
  60. package/jsx/link-overlay.mjs +16 -0
  61. package/jsx/spacer.d.ts +10 -0
  62. package/jsx/spacer.mjs +16 -0
  63. package/jsx/square.d.ts +10 -0
  64. package/jsx/square.mjs +16 -0
  65. package/jsx/stack.d.ts +10 -0
  66. package/jsx/stack.mjs +16 -0
  67. package/jsx/visually-hidden.d.ts +10 -0
  68. package/jsx/visually-hidden.mjs +16 -0
  69. package/jsx/vstack.d.ts +10 -0
  70. package/jsx/vstack.mjs +16 -0
  71. package/jsx/wrap.d.ts +10 -0
  72. package/jsx/wrap.mjs +16 -0
  73. package/package.json +40 -0
  74. package/patterns/aspect-ratio.d.ts +21 -0
  75. package/patterns/aspect-ratio.mjs +35 -0
  76. package/patterns/bleed.d.ts +22 -0
  77. package/patterns/bleed.mjs +19 -0
  78. package/patterns/box.d.ts +21 -0
  79. package/patterns/box.mjs +12 -0
  80. package/patterns/center.d.ts +21 -0
  81. package/patterns/center.mjs +18 -0
  82. package/patterns/circle.d.ts +21 -0
  83. package/patterns/circle.mjs +22 -0
  84. package/patterns/container.d.ts +21 -0
  85. package/patterns/container.mjs +18 -0
  86. package/patterns/divider.d.ts +23 -0
  87. package/patterns/divider.mjs +21 -0
  88. package/patterns/flex.d.ts +27 -0
  89. package/patterns/flex.mjs +23 -0
  90. package/patterns/float.d.ts +24 -0
  91. package/patterns/float.mjs +45 -0
  92. package/patterns/grid-item.d.ts +26 -0
  93. package/patterns/grid-item.mjs +22 -0
  94. package/patterns/grid.d.ts +25 -0
  95. package/patterns/grid.mjs +22 -0
  96. package/patterns/hstack.d.ts +22 -0
  97. package/patterns/hstack.mjs +20 -0
  98. package/patterns/index.d.ts +21 -0
  99. package/patterns/index.mjs +20 -0
  100. package/patterns/link-box.d.ts +21 -0
  101. package/patterns/link-box.mjs +19 -0
  102. package/patterns/link-overlay.d.ts +21 -0
  103. package/patterns/link-overlay.mjs +24 -0
  104. package/patterns/spacer.d.ts +21 -0
  105. package/patterns/spacer.mjs +18 -0
  106. package/patterns/square.d.ts +21 -0
  107. package/patterns/square.mjs +21 -0
  108. package/patterns/stack.d.ts +24 -0
  109. package/patterns/stack.mjs +20 -0
  110. package/patterns/visually-hidden.d.ts +21 -0
  111. package/patterns/visually-hidden.mjs +15 -0
  112. package/patterns/vstack.d.ts +22 -0
  113. package/patterns/vstack.mjs +20 -0
  114. package/patterns/wrap.d.ts +25 -0
  115. package/patterns/wrap.mjs +22 -0
  116. package/recipes/accordion.d.ts +27 -0
  117. package/recipes/accordion.mjs +50 -0
  118. package/recipes/avatar-group-recipe.d.ts +27 -0
  119. package/recipes/avatar-group-recipe.mjs +43 -0
  120. package/recipes/avatar-group-slot-recipe.d.ts +27 -0
  121. package/recipes/avatar-group-slot-recipe.mjs +43 -0
  122. package/recipes/avatar-recipe.d.ts +30 -0
  123. package/recipes/avatar-recipe.mjs +122 -0
  124. package/recipes/avatar-slot-recipe.d.ts +29 -0
  125. package/recipes/avatar-slot-recipe.mjs +116 -0
  126. package/recipes/badge-recipe.d.ts +29 -0
  127. package/recipes/badge-recipe.mjs +160 -0
  128. package/recipes/button-group-recipe.d.ts +27 -0
  129. package/recipes/button-group-recipe.mjs +22 -0
  130. package/recipes/button-recipe.d.ts +28 -0
  131. package/recipes/button-recipe.mjs +94 -0
  132. package/recipes/checkbox-slot-recipe.d.ts +27 -0
  133. package/recipes/checkbox-slot-recipe.mjs +38 -0
  134. package/recipes/create-recipe.d.ts +1 -0
  135. package/recipes/create-recipe.mjs +79 -0
  136. package/recipes/icon-recipe.d.ts +27 -0
  137. package/recipes/icon-recipe.mjs +29 -0
  138. package/recipes/index.d.ts +30 -0
  139. package/recipes/index.mjs +29 -0
  140. package/recipes/input-addon-recipe.d.ts +29 -0
  141. package/recipes/input-addon-recipe.mjs +107 -0
  142. package/recipes/input-addon-slot-recipe.d.ts +28 -0
  143. package/recipes/input-addon-slot-recipe.mjs +45 -0
  144. package/recipes/input-group-recipe.d.ts +27 -0
  145. package/recipes/input-group-recipe.mjs +30 -0
  146. package/recipes/input-group-slot-recipe.d.ts +27 -0
  147. package/recipes/input-group-slot-recipe.mjs +30 -0
  148. package/recipes/input-recipe.d.ts +30 -0
  149. package/recipes/input-recipe.mjs +63 -0
  150. package/recipes/input-slot-recipe.d.ts +28 -0
  151. package/recipes/input-slot-recipe.mjs +53 -0
  152. package/recipes/popover-content-recipe.d.ts +28 -0
  153. package/recipes/popover-content-recipe.mjs +34 -0
  154. package/recipes/popover-list-item-recipe.d.ts +27 -0
  155. package/recipes/popover-list-item-recipe.mjs +22 -0
  156. package/recipes/popover-list-recipe.d.ts +27 -0
  157. package/recipes/popover-list-recipe.mjs +22 -0
  158. package/recipes/progress-slot-recipe.d.ts +28 -0
  159. package/recipes/progress-slot-recipe.mjs +57 -0
  160. package/recipes/radio-slot-recipe.d.ts +27 -0
  161. package/recipes/radio-slot-recipe.mjs +38 -0
  162. package/recipes/select-slot-recipe.d.ts +27 -0
  163. package/recipes/select-slot-recipe.mjs +51 -0
  164. package/recipes/selected-border-recipe.d.ts +28 -0
  165. package/recipes/selected-border-recipe.mjs +88 -0
  166. package/recipes/shared-slot-recipe.d.ts +27 -0
  167. package/recipes/shared-slot-recipe.mjs +30 -0
  168. package/recipes/spinner-recipe.d.ts +27 -0
  169. package/recipes/spinner-recipe.mjs +29 -0
  170. package/recipes/tab-list-recipe.d.ts +27 -0
  171. package/recipes/tab-list-recipe.mjs +22 -0
  172. package/recipes/tab-recipe.d.ts +28 -0
  173. package/recipes/tab-recipe.mjs +87 -0
  174. package/recipes/table-container-recipe.d.ts +27 -0
  175. package/recipes/table-container-recipe.mjs +22 -0
  176. package/recipes/table-head-recipe.d.ts +27 -0
  177. package/recipes/table-head-recipe.mjs +22 -0
  178. package/recipes/table-recipe.d.ts +27 -0
  179. package/recipes/table-recipe.mjs +22 -0
  180. package/recipes/tag-recipe.d.ts +28 -0
  181. package/recipes/tag-recipe.mjs +66 -0
  182. package/recipes/tag-slot-recipe.d.ts +28 -0
  183. package/recipes/tag-slot-recipe.mjs +66 -0
  184. package/recipes/text-recipe.d.ts +28 -0
  185. package/recipes/text-recipe.mjs +40 -0
  186. package/recipes/textarea-recipe.d.ts +27 -0
  187. package/recipes/textarea-recipe.mjs +26 -0
  188. package/recipes/toggle-slot-recipe.d.ts +27 -0
  189. package/recipes/toggle-slot-recipe.mjs +38 -0
  190. package/recipes/tooltip-recipe.d.ts +27 -0
  191. package/recipes/tooltip-recipe.mjs +22 -0
  192. package/reset.css +214 -0
  193. package/styles.css +246 -0
  194. package/tokens/index.css +179 -0
  195. package/tokens/index.d.ts +9 -0
  196. package/tokens/index.mjs +848 -0
  197. package/tokens/keyframes.css +23 -0
  198. package/tokens/tokens.d.ts +57 -0
  199. package/types/composition.d.ts +111 -0
  200. package/types/conditions.d.ts +256 -0
  201. package/types/csstype.d.ts +20749 -0
  202. package/types/global.d.ts +19 -0
  203. package/types/index.d.ts +8 -0
  204. package/types/jsx.d.ts +54 -0
  205. package/types/parts.d.ts +8 -0
  206. package/types/pattern.d.ts +63 -0
  207. package/types/prop-type.d.ts +317 -0
  208. package/types/recipe.d.ts +146 -0
  209. package/types/selectors.d.ts +59 -0
  210. package/types/style-props.d.ts +653 -0
  211. package/types/system-types.d.ts +93 -0
@@ -0,0 +1,22 @@
1
+ /* eslint-disable */
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
+
8
+ export interface HstackProperties {
9
+ justify?: PropertyValue<'justifyContent'>
10
+ gap?: PropertyValue<'gap'>
11
+ }
12
+
13
+
14
+ interface HstackStyles extends HstackProperties, DistributiveOmit<SystemStyleObject, keyof HstackProperties > {}
15
+
16
+ interface HstackPatternFn {
17
+ (styles?: HstackStyles): string
18
+ raw: (styles?: HstackStyles) => SystemStyleObject
19
+ }
20
+
21
+
22
+ export declare const hstack: HstackPatternFn;
@@ -0,0 +1,20 @@
1
+ import { mapObject } from '../helpers.mjs';
2
+ import { css } from '../css/index.mjs';
3
+
4
+ const hstackConfig = {
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: "row",
13
+ ...rest
14
+ };
15
+ }}
16
+
17
+ export const getHstackStyle = (styles = {}) => hstackConfig.transform(styles, { map: mapObject })
18
+
19
+ export const hstack = (styles) => css(getHstackStyle(styles))
20
+ hstack.raw = getHstackStyle
@@ -0,0 +1,21 @@
1
+ /* eslint-disable */
2
+ export * from './box';
3
+ export * from './flex';
4
+ export * from './stack';
5
+ export * from './vstack';
6
+ export * from './hstack';
7
+ export * from './spacer';
8
+ export * from './square';
9
+ export * from './circle';
10
+ export * from './center';
11
+ export * from './link-box';
12
+ export * from './link-overlay';
13
+ export * from './aspect-ratio';
14
+ export * from './grid';
15
+ export * from './grid-item';
16
+ export * from './wrap';
17
+ export * from './container';
18
+ export * from './divider';
19
+ export * from './float';
20
+ export * from './bleed';
21
+ export * from './visually-hidden';
@@ -0,0 +1,20 @@
1
+ export * from './box.mjs';
2
+ export * from './flex.mjs';
3
+ export * from './stack.mjs';
4
+ export * from './vstack.mjs';
5
+ export * from './hstack.mjs';
6
+ export * from './spacer.mjs';
7
+ export * from './square.mjs';
8
+ export * from './circle.mjs';
9
+ export * from './center.mjs';
10
+ export * from './link-box.mjs';
11
+ export * from './link-overlay.mjs';
12
+ export * from './aspect-ratio.mjs';
13
+ export * from './grid.mjs';
14
+ export * from './grid-item.mjs';
15
+ export * from './wrap.mjs';
16
+ export * from './container.mjs';
17
+ export * from './divider.mjs';
18
+ export * from './float.mjs';
19
+ export * from './bleed.mjs';
20
+ export * from './visually-hidden.mjs';
@@ -0,0 +1,21 @@
1
+ /* eslint-disable */
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
+
8
+ export interface LinkBoxProperties {
9
+
10
+ }
11
+
12
+
13
+ interface LinkBoxStyles extends LinkBoxProperties, DistributiveOmit<SystemStyleObject, keyof LinkBoxProperties > {}
14
+
15
+ interface LinkBoxPatternFn {
16
+ (styles?: LinkBoxStyles): string
17
+ raw: (styles?: LinkBoxStyles) => SystemStyleObject
18
+ }
19
+
20
+
21
+ export declare const linkBox: LinkBoxPatternFn;
@@ -0,0 +1,19 @@
1
+ import { mapObject } from '../helpers.mjs';
2
+ import { css } from '../css/index.mjs';
3
+
4
+ const linkBoxConfig = {
5
+ transform(props) {
6
+ return {
7
+ position: "relative",
8
+ "& :where(a, abbr)": {
9
+ position: "relative",
10
+ zIndex: "1"
11
+ },
12
+ ...props
13
+ };
14
+ }}
15
+
16
+ export const getLinkBoxStyle = (styles = {}) => linkBoxConfig.transform(styles, { map: mapObject })
17
+
18
+ export const linkBox = (styles) => css(getLinkBoxStyle(styles))
19
+ linkBox.raw = getLinkBoxStyle
@@ -0,0 +1,21 @@
1
+ /* eslint-disable */
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
+
8
+ export interface LinkOverlayProperties {
9
+
10
+ }
11
+
12
+
13
+ interface LinkOverlayStyles extends LinkOverlayProperties, DistributiveOmit<SystemStyleObject, keyof LinkOverlayProperties > {}
14
+
15
+ interface LinkOverlayPatternFn {
16
+ (styles?: LinkOverlayStyles): string
17
+ raw: (styles?: LinkOverlayStyles) => SystemStyleObject
18
+ }
19
+
20
+
21
+ export declare const linkOverlay: LinkOverlayPatternFn;
@@ -0,0 +1,24 @@
1
+ import { mapObject } from '../helpers.mjs';
2
+ import { css } from '../css/index.mjs';
3
+
4
+ const linkOverlayConfig = {
5
+ transform(props) {
6
+ return {
7
+ position: "static",
8
+ _before: {
9
+ content: '""',
10
+ display: "block",
11
+ position: "absolute",
12
+ cursor: "inherit",
13
+ inset: "0",
14
+ zIndex: "0",
15
+ ...props["_before"]
16
+ },
17
+ ...props
18
+ };
19
+ }}
20
+
21
+ export const getLinkOverlayStyle = (styles = {}) => linkOverlayConfig.transform(styles, { map: mapObject })
22
+
23
+ export const linkOverlay = (styles) => css(getLinkOverlayStyle(styles))
24
+ linkOverlay.raw = getLinkOverlayStyle
@@ -0,0 +1,21 @@
1
+ /* eslint-disable */
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
+
8
+ export interface SpacerProperties {
9
+ size?: ConditionalValue<Tokens["spacing"]>
10
+ }
11
+
12
+
13
+ interface SpacerStyles extends SpacerProperties, DistributiveOmit<SystemStyleObject, keyof SpacerProperties > {}
14
+
15
+ interface SpacerPatternFn {
16
+ (styles?: SpacerStyles): string
17
+ raw: (styles?: SpacerStyles) => SystemStyleObject
18
+ }
19
+
20
+
21
+ export declare const spacer: SpacerPatternFn;
@@ -0,0 +1,18 @@
1
+ import { mapObject } from '../helpers.mjs';
2
+ import { css } from '../css/index.mjs';
3
+
4
+ const spacerConfig = {
5
+ transform(props, { map }) {
6
+ const { size, ...rest } = props;
7
+ return {
8
+ alignSelf: "stretch",
9
+ justifySelf: "stretch",
10
+ flex: map(size, (v) => v == null ? "1" : `0 0 ${v}`),
11
+ ...rest
12
+ };
13
+ }}
14
+
15
+ export const getSpacerStyle = (styles = {}) => spacerConfig.transform(styles, { map: mapObject })
16
+
17
+ export const spacer = (styles) => css(getSpacerStyle(styles))
18
+ spacer.raw = getSpacerStyle
@@ -0,0 +1,21 @@
1
+ /* eslint-disable */
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
+
8
+ export interface SquareProperties {
9
+ size?: PropertyValue<'width'>
10
+ }
11
+
12
+
13
+ interface SquareStyles extends SquareProperties, DistributiveOmit<SystemStyleObject, keyof SquareProperties > {}
14
+
15
+ interface SquarePatternFn {
16
+ (styles?: SquareStyles): string
17
+ raw: (styles?: SquareStyles) => SystemStyleObject
18
+ }
19
+
20
+
21
+ export declare const square: SquarePatternFn;
@@ -0,0 +1,21 @@
1
+ import { mapObject } from '../helpers.mjs';
2
+ import { css } from '../css/index.mjs';
3
+
4
+ const squareConfig = {
5
+ transform(props) {
6
+ const { size, ...rest } = props;
7
+ return {
8
+ display: "flex",
9
+ alignItems: "center",
10
+ justifyContent: "center",
11
+ flex: "0 0 auto",
12
+ width: size,
13
+ height: size,
14
+ ...rest
15
+ };
16
+ }}
17
+
18
+ export const getSquareStyle = (styles = {}) => squareConfig.transform(styles, { map: mapObject })
19
+
20
+ export const square = (styles) => css(getSquareStyle(styles))
21
+ square.raw = getSquareStyle
@@ -0,0 +1,24 @@
1
+ /* eslint-disable */
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
+
8
+ export interface StackProperties {
9
+ align?: PropertyValue<'alignItems'>
10
+ justify?: PropertyValue<'justifyContent'>
11
+ direction?: PropertyValue<'flexDirection'>
12
+ gap?: PropertyValue<'gap'>
13
+ }
14
+
15
+
16
+ interface StackStyles extends StackProperties, DistributiveOmit<SystemStyleObject, keyof StackProperties > {}
17
+
18
+ interface StackPatternFn {
19
+ (styles?: StackStyles): string
20
+ raw: (styles?: StackStyles) => SystemStyleObject
21
+ }
22
+
23
+
24
+ export declare const stack: StackPatternFn;
@@ -0,0 +1,20 @@
1
+ import { mapObject } from '../helpers.mjs';
2
+ import { css } from '../css/index.mjs';
3
+
4
+ const stackConfig = {
5
+ transform(props) {
6
+ const { align, justify, direction = "column", gap = "10px", ...rest } = props;
7
+ return {
8
+ display: "flex",
9
+ flexDirection: direction,
10
+ alignItems: align,
11
+ justifyContent: justify,
12
+ gap,
13
+ ...rest
14
+ };
15
+ }}
16
+
17
+ export const getStackStyle = (styles = {}) => stackConfig.transform(styles, { map: mapObject })
18
+
19
+ export const stack = (styles) => css(getStackStyle(styles))
20
+ stack.raw = getStackStyle
@@ -0,0 +1,21 @@
1
+ /* eslint-disable */
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
+
8
+ export interface VisuallyHiddenProperties {
9
+
10
+ }
11
+
12
+
13
+ interface VisuallyHiddenStyles extends VisuallyHiddenProperties, DistributiveOmit<SystemStyleObject, keyof VisuallyHiddenProperties > {}
14
+
15
+ interface VisuallyHiddenPatternFn {
16
+ (styles?: VisuallyHiddenStyles): string
17
+ raw: (styles?: VisuallyHiddenStyles) => SystemStyleObject
18
+ }
19
+
20
+
21
+ export declare const visuallyHidden: VisuallyHiddenPatternFn;
@@ -0,0 +1,15 @@
1
+ import { mapObject } from '../helpers.mjs';
2
+ import { css } from '../css/index.mjs';
3
+
4
+ const visuallyHiddenConfig = {
5
+ transform(props) {
6
+ return {
7
+ srOnly: true,
8
+ ...props
9
+ };
10
+ }}
11
+
12
+ export const getVisuallyHiddenStyle = (styles = {}) => visuallyHiddenConfig.transform(styles, { map: mapObject })
13
+
14
+ export const visuallyHidden = (styles) => css(getVisuallyHiddenStyle(styles))
15
+ visuallyHidden.raw = getVisuallyHiddenStyle
@@ -0,0 +1,22 @@
1
+ /* eslint-disable */
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
+
8
+ export interface VstackProperties {
9
+ justify?: PropertyValue<'justifyContent'>
10
+ gap?: PropertyValue<'gap'>
11
+ }
12
+
13
+
14
+ interface VstackStyles extends VstackProperties, DistributiveOmit<SystemStyleObject, keyof VstackProperties > {}
15
+
16
+ interface VstackPatternFn {
17
+ (styles?: VstackStyles): string
18
+ raw: (styles?: VstackStyles) => SystemStyleObject
19
+ }
20
+
21
+
22
+ export declare const vstack: VstackPatternFn;
@@ -0,0 +1,20 @@
1
+ import { mapObject } from '../helpers.mjs';
2
+ import { css } from '../css/index.mjs';
3
+
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
+
17
+ export const getVstackStyle = (styles = {}) => vstackConfig.transform(styles, { map: mapObject })
18
+
19
+ export const vstack = (styles) => css(getVstackStyle(styles))
20
+ vstack.raw = getVstackStyle
@@ -0,0 +1,25 @@
1
+ /* eslint-disable */
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
+
8
+ export interface WrapProperties {
9
+ gap?: PropertyValue<'gap'>
10
+ rowGap?: PropertyValue<'gap'>
11
+ columnGap?: PropertyValue<'gap'>
12
+ align?: PropertyValue<'alignItems'>
13
+ justify?: PropertyValue<'justifyContent'>
14
+ }
15
+
16
+
17
+ interface WrapStyles extends WrapProperties, DistributiveOmit<SystemStyleObject, keyof WrapProperties > {}
18
+
19
+ interface WrapPatternFn {
20
+ (styles?: WrapStyles): string
21
+ raw: (styles?: WrapStyles) => SystemStyleObject
22
+ }
23
+
24
+
25
+ export declare const wrap: WrapPatternFn;
@@ -0,0 +1,22 @@
1
+ import { mapObject } from '../helpers.mjs';
2
+ import { css } from '../css/index.mjs';
3
+
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
+
19
+ export const getWrapStyle = (styles = {}) => wrapConfig.transform(styles, { map: mapObject })
20
+
21
+ export const wrap = (styles) => css(getWrapStyle(styles))
22
+ wrap.raw = getWrapStyle
@@ -0,0 +1,27 @@
1
+ /* eslint-disable */
2
+ import type { ConditionalValue } from '../types/index';
3
+ import type { DistributiveOmit, Pretty } from '../types/system-types';
4
+
5
+ interface AccordionVariant {
6
+ size: "md"
7
+ }
8
+
9
+ type AccordionVariantMap = {
10
+ [key in keyof AccordionVariant]: Array<AccordionVariant[key]>
11
+ }
12
+
13
+ export type AccordionVariantProps = {
14
+ [key in keyof AccordionVariant]?: ConditionalValue<AccordionVariant[key]> | undefined
15
+ }
16
+
17
+ export interface AccordionRecipe {
18
+ __type: AccordionVariantProps
19
+ (props?: AccordionVariantProps): Pretty<Record<"root" | "item" | "trigger" | "content", string>>
20
+ raw: (props?: AccordionVariantProps) => AccordionVariantProps
21
+ variantMap: AccordionVariantMap
22
+ variantKeys: Array<keyof AccordionVariant>
23
+ splitVariantProps<Props extends AccordionVariantProps>(props: Props): [AccordionVariantProps, Pretty<DistributiveOmit<Props, keyof AccordionVariantProps>>]
24
+ }
25
+
26
+
27
+ export declare const accordion: AccordionRecipe
@@ -0,0 +1,50 @@
1
+ import { splitProps, getSlotCompoundVariant } from '../helpers.mjs';
2
+ import { createRecipe } from './create-recipe.mjs';
3
+
4
+ const accordionDefaultVariants = {
5
+ "size": "md"
6
+ }
7
+ const accordionCompoundVariants = []
8
+
9
+ const accordionSlotNames = [
10
+ [
11
+ "root",
12
+ "accordion__root"
13
+ ],
14
+ [
15
+ "item",
16
+ "accordion__item"
17
+ ],
18
+ [
19
+ "trigger",
20
+ "accordion__trigger"
21
+ ],
22
+ [
23
+ "content",
24
+ "accordion__content"
25
+ ]
26
+ ]
27
+ const accordionSlotFns = /* @__PURE__ */ accordionSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, accordionDefaultVariants, getSlotCompoundVariant(accordionCompoundVariants, slotName))])
28
+
29
+ const accordionFn = (props = {}) => {
30
+ return Object.fromEntries(accordionSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
31
+ }
32
+
33
+ const accordionVariantKeys = [
34
+ "size"
35
+ ]
36
+
37
+ export const accordion = /* @__PURE__ */ Object.assign(accordionFn, {
38
+ __recipe__: false,
39
+ __name__: 'accordion',
40
+ raw: (props) => props,
41
+ variantKeys: accordionVariantKeys,
42
+ variantMap: {
43
+ "size": [
44
+ "md"
45
+ ]
46
+ },
47
+ splitVariantProps(props) {
48
+ return splitProps(props, accordionVariantKeys)
49
+ },
50
+ })
@@ -0,0 +1,27 @@
1
+ /* eslint-disable */
2
+ import type { ConditionalValue } from '../types/index';
3
+ import type { DistributiveOmit, Pretty } from '../types/system-types';
4
+
5
+ interface AvatarGroupRecipeVariant {
6
+ size: "sm" | "md" | "lg" | "xl"
7
+ }
8
+
9
+ type AvatarGroupRecipeVariantMap = {
10
+ [key in keyof AvatarGroupRecipeVariant]: Array<AvatarGroupRecipeVariant[key]>
11
+ }
12
+
13
+ export type AvatarGroupRecipeVariantProps = {
14
+ [key in keyof AvatarGroupRecipeVariant]?: ConditionalValue<AvatarGroupRecipeVariant[key]>
15
+ }
16
+
17
+ export interface AvatarGroupRecipeRecipe {
18
+ __type: AvatarGroupRecipeVariantProps
19
+ (props?: AvatarGroupRecipeVariantProps): Pretty<Record<"root" | "excess", string>>
20
+ raw: (props?: AvatarGroupRecipeVariantProps) => AvatarGroupRecipeVariantProps
21
+ variantMap: AvatarGroupRecipeVariantMap
22
+ variantKeys: Array<keyof AvatarGroupRecipeVariant>
23
+ splitVariantProps<Props extends AvatarGroupRecipeVariantProps>(props: Props): [AvatarGroupRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof AvatarGroupRecipeVariantProps>>]
24
+ }
25
+
26
+
27
+ export declare const avatarGroupRecipe: AvatarGroupRecipeRecipe
@@ -0,0 +1,43 @@
1
+ import { splitProps, getSlotCompoundVariant } from '../helpers.mjs';
2
+ import { createRecipe } from './create-recipe.mjs';
3
+
4
+ const avatarGroupRecipeDefaultVariants = {}
5
+ const avatarGroupRecipeCompoundVariants = []
6
+
7
+ const avatarGroupRecipeSlotNames = [
8
+ [
9
+ "root",
10
+ "avatar-group__root"
11
+ ],
12
+ [
13
+ "excess",
14
+ "avatar-group__excess"
15
+ ]
16
+ ]
17
+ const avatarGroupRecipeSlotFns = /* @__PURE__ */ avatarGroupRecipeSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, avatarGroupRecipeDefaultVariants, getSlotCompoundVariant(avatarGroupRecipeCompoundVariants, slotName))])
18
+
19
+ const avatarGroupRecipeFn = (props = {}) => {
20
+ return Object.fromEntries(avatarGroupRecipeSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
21
+ }
22
+
23
+ const avatarGroupRecipeVariantKeys = [
24
+ "size"
25
+ ]
26
+
27
+ export const avatarGroupRecipe = /* @__PURE__ */ Object.assign(avatarGroupRecipeFn, {
28
+ __recipe__: false,
29
+ __name__: 'avatarGroupRecipe',
30
+ raw: (props) => props,
31
+ variantKeys: avatarGroupRecipeVariantKeys,
32
+ variantMap: {
33
+ "size": [
34
+ "sm",
35
+ "md",
36
+ "lg",
37
+ "xl"
38
+ ]
39
+ },
40
+ splitVariantProps(props) {
41
+ return splitProps(props, avatarGroupRecipeVariantKeys)
42
+ },
43
+ })
@@ -0,0 +1,27 @@
1
+ /* eslint-disable */
2
+ import type { ConditionalValue } from '../types/index';
3
+ import type { DistributiveOmit, Pretty } from '../types/system-types';
4
+
5
+ interface AvatarGroupSlotRecipeVariant {
6
+ size: "sm" | "md" | "lg" | "xl"
7
+ }
8
+
9
+ type AvatarGroupSlotRecipeVariantMap = {
10
+ [key in keyof AvatarGroupSlotRecipeVariant]: Array<AvatarGroupSlotRecipeVariant[key]>
11
+ }
12
+
13
+ export type AvatarGroupSlotRecipeVariantProps = {
14
+ [key in keyof AvatarGroupSlotRecipeVariant]?: ConditionalValue<AvatarGroupSlotRecipeVariant[key]> | undefined
15
+ }
16
+
17
+ export interface AvatarGroupSlotRecipeRecipe {
18
+ __type: AvatarGroupSlotRecipeVariantProps
19
+ (props?: AvatarGroupSlotRecipeVariantProps): Pretty<Record<"root" | "excess", string>>
20
+ raw: (props?: AvatarGroupSlotRecipeVariantProps) => AvatarGroupSlotRecipeVariantProps
21
+ variantMap: AvatarGroupSlotRecipeVariantMap
22
+ variantKeys: Array<keyof AvatarGroupSlotRecipeVariant>
23
+ splitVariantProps<Props extends AvatarGroupSlotRecipeVariantProps>(props: Props): [AvatarGroupSlotRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof AvatarGroupSlotRecipeVariantProps>>]
24
+ }
25
+
26
+
27
+ export declare const avatarGroupSlotRecipe: AvatarGroupSlotRecipeRecipe
@@ -0,0 +1,43 @@
1
+ import { splitProps, getSlotCompoundVariant } from '../helpers.mjs';
2
+ import { createRecipe } from './create-recipe.mjs';
3
+
4
+ const avatarGroupSlotRecipeDefaultVariants = {}
5
+ const avatarGroupSlotRecipeCompoundVariants = []
6
+
7
+ const avatarGroupSlotRecipeSlotNames = [
8
+ [
9
+ "root",
10
+ "avatar-group__root"
11
+ ],
12
+ [
13
+ "excess",
14
+ "avatar-group__excess"
15
+ ]
16
+ ]
17
+ const avatarGroupSlotRecipeSlotFns = /* @__PURE__ */ avatarGroupSlotRecipeSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, avatarGroupSlotRecipeDefaultVariants, getSlotCompoundVariant(avatarGroupSlotRecipeCompoundVariants, slotName))])
18
+
19
+ const avatarGroupSlotRecipeFn = (props = {}) => {
20
+ return Object.fromEntries(avatarGroupSlotRecipeSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
21
+ }
22
+
23
+ const avatarGroupSlotRecipeVariantKeys = [
24
+ "size"
25
+ ]
26
+
27
+ export const avatarGroupSlotRecipe = /* @__PURE__ */ Object.assign(avatarGroupSlotRecipeFn, {
28
+ __recipe__: false,
29
+ __name__: 'avatarGroupSlotRecipe',
30
+ raw: (props) => props,
31
+ variantKeys: avatarGroupSlotRecipeVariantKeys,
32
+ variantMap: {
33
+ "size": [
34
+ "sm",
35
+ "md",
36
+ "lg",
37
+ "xl"
38
+ ]
39
+ },
40
+ splitVariantProps(props) {
41
+ return splitProps(props, avatarGroupSlotRecipeVariantKeys)
42
+ },
43
+ })