@mekari/pixel3-styled-system 0.0.1 → 0.0.2

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 (80) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/jsx/aspect-ratio.d.ts +2 -2
  3. package/jsx/aspect-ratio.mjs +9 -7
  4. package/jsx/bleed.d.ts +2 -2
  5. package/jsx/bleed.mjs +10 -8
  6. package/jsx/box.d.ts +2 -2
  7. package/jsx/box.mjs +9 -7
  8. package/jsx/center.d.ts +2 -2
  9. package/jsx/center.mjs +9 -7
  10. package/jsx/circle.d.ts +2 -2
  11. package/jsx/circle.mjs +9 -7
  12. package/jsx/container.d.ts +2 -2
  13. package/jsx/container.mjs +9 -7
  14. package/jsx/divider.d.ts +2 -2
  15. package/jsx/divider.mjs +10 -8
  16. package/jsx/factory.d.ts +2 -2
  17. package/jsx/factory.mjs +9 -9
  18. package/jsx/flex.d.ts +2 -2
  19. package/jsx/flex.mjs +10 -8
  20. package/jsx/float.d.ts +2 -2
  21. package/jsx/float.mjs +10 -8
  22. package/jsx/grid-item.d.ts +2 -2
  23. package/jsx/grid-item.mjs +10 -8
  24. package/jsx/grid.d.ts +2 -2
  25. package/jsx/grid.mjs +10 -8
  26. package/jsx/hstack.d.ts +2 -2
  27. package/jsx/hstack.mjs +10 -8
  28. package/jsx/index.d.ts +1 -1
  29. package/jsx/link-box.d.ts +2 -2
  30. package/jsx/link-box.mjs +9 -7
  31. package/jsx/link-overlay.d.ts +2 -2
  32. package/jsx/link-overlay.mjs +9 -7
  33. package/jsx/spacer.d.ts +2 -2
  34. package/jsx/spacer.mjs +9 -7
  35. package/jsx/square.d.ts +2 -2
  36. package/jsx/square.mjs +9 -7
  37. package/jsx/stack.d.ts +2 -2
  38. package/jsx/stack.mjs +10 -8
  39. package/jsx/visually-hidden.d.ts +2 -2
  40. package/jsx/visually-hidden.mjs +9 -7
  41. package/jsx/vstack.d.ts +2 -2
  42. package/jsx/vstack.mjs +10 -8
  43. package/jsx/wrap.d.ts +2 -2
  44. package/jsx/wrap.mjs +10 -8
  45. package/package.json +1 -1
  46. package/recipes/banner-close-button-recipe.d.ts +27 -0
  47. package/recipes/banner-close-button-recipe.mjs +22 -0
  48. package/recipes/banner-description-recipe.d.ts +27 -0
  49. package/recipes/banner-description-recipe.mjs +22 -0
  50. package/recipes/banner-icon-recipe.d.ts +27 -0
  51. package/recipes/banner-icon-recipe.mjs +34 -0
  52. package/recipes/banner-icon-slot-recipe.d.ts +27 -0
  53. package/recipes/banner-icon-slot-recipe.mjs +34 -0
  54. package/recipes/banner-link-recipe.d.ts +27 -0
  55. package/recipes/banner-link-recipe.mjs +22 -0
  56. package/recipes/banner-recipe.d.ts +27 -0
  57. package/recipes/banner-recipe.mjs +31 -0
  58. package/recipes/banner-slot-recipe.d.ts +27 -0
  59. package/recipes/banner-slot-recipe.mjs +45 -0
  60. package/recipes/banner-title-recipe.d.ts +27 -0
  61. package/recipes/banner-title-recipe.mjs +22 -0
  62. package/recipes/dropzone-recipe.d.ts +27 -0
  63. package/recipes/dropzone-recipe.mjs +34 -0
  64. package/recipes/dropzone-slot-recipe.d.ts +27 -0
  65. package/recipes/dropzone-slot-recipe.mjs +70 -0
  66. package/recipes/index.d.ts +11 -1
  67. package/recipes/index.mjs +11 -1
  68. package/recipes/modal-slot-recipe.d.ts +27 -0
  69. package/recipes/modal-slot-recipe.mjs +75 -0
  70. package/recipes/tag-slot-recipe.mjs +9 -1
  71. package/recipes/upload-list-slot-recipe.d.ts +27 -0
  72. package/recipes/upload-list-slot-recipe.mjs +38 -0
  73. package/recipes/upload-slot-recipe.d.ts +27 -0
  74. package/recipes/upload-slot-recipe.mjs +34 -0
  75. package/tokens/index.css +16 -0
  76. package/tokens/index.mjs +108 -8
  77. package/tokens/tokens.d.ts +4 -4
  78. package/types/jsx.d.ts +9 -9
  79. package/types/prop-type.d.ts +1 -1
  80. package/types/static-css.d.ts +23 -17
@@ -1,16 +1,18 @@
1
1
  import { defineComponent, h, computed } from 'vue'
2
- import { styled } from './factory.mjs';
2
+ import { mergeCss } from '../css/css.mjs';
3
3
  import { getLinkOverlayStyle } from '../patterns/link-overlay.mjs';
4
+ import { Pixel } from './factory.mjs';
4
5
 
5
- export const LinkOverlay = defineComponent({
6
+ export const LinkOverlay = /* @__PURE__ */ defineComponent({
6
7
  name: 'LinkOverlay',
7
8
  inheritAttrs: false,
8
9
  props: [],
9
10
  setup(props, { attrs, slots }) {
10
- const styleProps = computed(() => getLinkOverlayStyle(props))
11
- return () => {
12
- const computedProps = { ...styleProps.value, ...attrs }
13
- return h(styled.a, computedProps, slots)
14
- }
11
+ const styleProps = computed(() => getLinkOverlayStyle(props))
12
+
13
+ return () => {
14
+ const mergedProps = { ...styleProps.value, ...attrs }
15
+ return h(Pixel.a, mergedProps, slots)
16
+ }
15
17
  }
16
18
  })
package/jsx/spacer.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /* eslint-disable */
2
2
  import type { FunctionalComponent } from 'vue'
3
3
  import type { SpacerProperties } from '../patterns/spacer';
4
- import type { HTMLStyledProps } from '../types/jsx';
4
+ import type { HTMLPixelProps } from '../types/jsx';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
 
7
- export interface SpacerProps extends SpacerProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof SpacerProperties > {}
7
+ export interface SpacerProps extends SpacerProperties, DistributiveOmit<HTMLPixelProps<'div'>, keyof SpacerProperties > {}
8
8
 
9
9
 
10
10
  export declare const Spacer: FunctionalComponent<SpacerProps>
package/jsx/spacer.mjs CHANGED
@@ -1,16 +1,18 @@
1
1
  import { defineComponent, h, computed } from 'vue'
2
- import { styled } from './factory.mjs';
2
+ import { mergeCss } from '../css/css.mjs';
3
3
  import { getSpacerStyle } from '../patterns/spacer.mjs';
4
+ import { Pixel } from './factory.mjs';
4
5
 
5
- export const Spacer = defineComponent({
6
+ export const Spacer = /* @__PURE__ */ defineComponent({
6
7
  name: 'Spacer',
7
8
  inheritAttrs: false,
8
9
  props: ["size"],
9
10
  setup(props, { attrs, slots }) {
10
- const styleProps = computed(() => getSpacerStyle(props))
11
- return () => {
12
- const computedProps = { ...styleProps.value, ...attrs }
13
- return h(styled.div, computedProps, slots)
14
- }
11
+ const styleProps = computed(() => getSpacerStyle(props))
12
+
13
+ return () => {
14
+ const mergedProps = { ...styleProps.value, ...attrs }
15
+ return h(Pixel.div, mergedProps, slots)
16
+ }
15
17
  }
16
18
  })
package/jsx/square.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /* eslint-disable */
2
2
  import type { FunctionalComponent } from 'vue'
3
3
  import type { SquareProperties } from '../patterns/square';
4
- import type { HTMLStyledProps } from '../types/jsx';
4
+ import type { HTMLPixelProps } from '../types/jsx';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
 
7
- export interface SquareProps extends SquareProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof SquareProperties > {}
7
+ export interface SquareProps extends SquareProperties, DistributiveOmit<HTMLPixelProps<'div'>, keyof SquareProperties > {}
8
8
 
9
9
 
10
10
  export declare const Square: FunctionalComponent<SquareProps>
package/jsx/square.mjs CHANGED
@@ -1,16 +1,18 @@
1
1
  import { defineComponent, h, computed } from 'vue'
2
- import { styled } from './factory.mjs';
2
+ import { mergeCss } from '../css/css.mjs';
3
3
  import { getSquareStyle } from '../patterns/square.mjs';
4
+ import { Pixel } from './factory.mjs';
4
5
 
5
- export const Square = defineComponent({
6
+ export const Square = /* @__PURE__ */ defineComponent({
6
7
  name: 'Square',
7
8
  inheritAttrs: false,
8
9
  props: ["size"],
9
10
  setup(props, { attrs, slots }) {
10
- const styleProps = computed(() => getSquareStyle(props))
11
- return () => {
12
- const computedProps = { ...styleProps.value, ...attrs }
13
- return h(styled.div, computedProps, slots)
14
- }
11
+ const styleProps = computed(() => getSquareStyle(props))
12
+
13
+ return () => {
14
+ const mergedProps = { ...styleProps.value, ...attrs }
15
+ return h(Pixel.div, mergedProps, slots)
16
+ }
15
17
  }
16
18
  })
package/jsx/stack.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /* eslint-disable */
2
2
  import type { FunctionalComponent } from 'vue'
3
3
  import type { StackProperties } from '../patterns/stack';
4
- import type { HTMLStyledProps } from '../types/jsx';
4
+ import type { HTMLPixelProps } from '../types/jsx';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
 
7
- export interface StackProps extends StackProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof StackProperties > {}
7
+ export interface StackProps extends StackProperties, DistributiveOmit<HTMLPixelProps<'div'>, keyof StackProperties > {}
8
8
 
9
9
 
10
10
  export declare const Stack: FunctionalComponent<StackProps>
package/jsx/stack.mjs CHANGED
@@ -1,16 +1,18 @@
1
1
  import { defineComponent, h, computed } from 'vue'
2
- import { styled } from './factory.mjs';
2
+ import { mergeCss } from '../css/css.mjs';
3
3
  import { getStackStyle } from '../patterns/stack.mjs';
4
+ import { Pixel } from './factory.mjs';
4
5
 
5
- export const Stack = defineComponent({
6
+ export const Stack = /* @__PURE__ */ defineComponent({
6
7
  name: 'Stack',
7
8
  inheritAttrs: false,
8
- props: ["align", "justify", "direction", "gap"],
9
+ props: ["align","justify","direction","gap"],
9
10
  setup(props, { attrs, slots }) {
10
- const styleProps = computed(() => getStackStyle(props))
11
- return () => {
12
- const computedProps = { ...styleProps.value, ...attrs }
13
- return h(styled.div, computedProps, slots)
14
- }
11
+ const styleProps = computed(() => getStackStyle(props))
12
+
13
+ return () => {
14
+ const mergedProps = { ...styleProps.value, ...attrs }
15
+ return h(Pixel.div, mergedProps, slots)
16
+ }
15
17
  }
16
18
  })
@@ -1,10 +1,10 @@
1
1
  /* eslint-disable */
2
2
  import type { FunctionalComponent } from 'vue'
3
3
  import type { VisuallyHiddenProperties } from '../patterns/visually-hidden';
4
- import type { HTMLStyledProps } from '../types/jsx';
4
+ import type { HTMLPixelProps } from '../types/jsx';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
 
7
- export interface VisuallyHiddenProps extends VisuallyHiddenProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof VisuallyHiddenProperties > {}
7
+ export interface VisuallyHiddenProps extends VisuallyHiddenProperties, DistributiveOmit<HTMLPixelProps<'div'>, keyof VisuallyHiddenProperties > {}
8
8
 
9
9
 
10
10
  export declare const VisuallyHidden: FunctionalComponent<VisuallyHiddenProps>
@@ -1,16 +1,18 @@
1
1
  import { defineComponent, h, computed } from 'vue'
2
- import { styled } from './factory.mjs';
2
+ import { mergeCss } from '../css/css.mjs';
3
3
  import { getVisuallyHiddenStyle } from '../patterns/visually-hidden.mjs';
4
+ import { Pixel } from './factory.mjs';
4
5
 
5
- export const VisuallyHidden = defineComponent({
6
+ export const VisuallyHidden = /* @__PURE__ */ defineComponent({
6
7
  name: 'VisuallyHidden',
7
8
  inheritAttrs: false,
8
9
  props: [],
9
10
  setup(props, { attrs, slots }) {
10
- const styleProps = computed(() => getVisuallyHiddenStyle(props))
11
- return () => {
12
- const computedProps = { ...styleProps.value, ...attrs }
13
- return h(styled.div, computedProps, slots)
14
- }
11
+ const styleProps = computed(() => getVisuallyHiddenStyle(props))
12
+
13
+ return () => {
14
+ const mergedProps = { ...styleProps.value, ...attrs }
15
+ return h(Pixel.div, mergedProps, slots)
16
+ }
15
17
  }
16
18
  })
package/jsx/vstack.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /* eslint-disable */
2
2
  import type { FunctionalComponent } from 'vue'
3
3
  import type { VstackProperties } from '../patterns/vstack';
4
- import type { HTMLStyledProps } from '../types/jsx';
4
+ import type { HTMLPixelProps } from '../types/jsx';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
 
7
- export interface VstackProps extends VstackProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof VstackProperties > {}
7
+ export interface VstackProps extends VstackProperties, DistributiveOmit<HTMLPixelProps<'div'>, keyof VstackProperties > {}
8
8
 
9
9
 
10
10
  export declare const VStack: FunctionalComponent<VstackProps>
package/jsx/vstack.mjs CHANGED
@@ -1,16 +1,18 @@
1
1
  import { defineComponent, h, computed } from 'vue'
2
- import { styled } from './factory.mjs';
2
+ import { mergeCss } from '../css/css.mjs';
3
3
  import { getVstackStyle } from '../patterns/vstack.mjs';
4
+ import { Pixel } from './factory.mjs';
4
5
 
5
- export const VStack = defineComponent({
6
+ export const VStack = /* @__PURE__ */ defineComponent({
6
7
  name: 'VStack',
7
8
  inheritAttrs: false,
8
- props: ["justify", "gap"],
9
+ props: ["justify","gap"],
9
10
  setup(props, { attrs, slots }) {
10
- const styleProps = computed(() => getVstackStyle(props))
11
- return () => {
12
- const computedProps = { ...styleProps.value, ...attrs }
13
- return h(styled.div, computedProps, slots)
14
- }
11
+ const styleProps = computed(() => getVstackStyle(props))
12
+
13
+ return () => {
14
+ const mergedProps = { ...styleProps.value, ...attrs }
15
+ return h(Pixel.div, mergedProps, slots)
16
+ }
15
17
  }
16
18
  })
package/jsx/wrap.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /* eslint-disable */
2
2
  import type { FunctionalComponent } from 'vue'
3
3
  import type { WrapProperties } from '../patterns/wrap';
4
- import type { HTMLStyledProps } from '../types/jsx';
4
+ import type { HTMLPixelProps } from '../types/jsx';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
 
7
- export interface WrapProps extends WrapProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof WrapProperties > {}
7
+ export interface WrapProps extends WrapProperties, DistributiveOmit<HTMLPixelProps<'div'>, keyof WrapProperties > {}
8
8
 
9
9
 
10
10
  export declare const Wrap: FunctionalComponent<WrapProps>
package/jsx/wrap.mjs CHANGED
@@ -1,16 +1,18 @@
1
1
  import { defineComponent, h, computed } from 'vue'
2
- import { styled } from './factory.mjs';
2
+ import { mergeCss } from '../css/css.mjs';
3
3
  import { getWrapStyle } from '../patterns/wrap.mjs';
4
+ import { Pixel } from './factory.mjs';
4
5
 
5
- export const Wrap = defineComponent({
6
+ export const Wrap = /* @__PURE__ */ defineComponent({
6
7
  name: 'Wrap',
7
8
  inheritAttrs: false,
8
- props: ["gap", "rowGap", "columnGap", "align", "justify"],
9
+ props: ["gap","rowGap","columnGap","align","justify"],
9
10
  setup(props, { attrs, slots }) {
10
- const styleProps = computed(() => getWrapStyle(props))
11
- return () => {
12
- const computedProps = { ...styleProps.value, ...attrs }
13
- return h(styled.div, computedProps, slots)
14
- }
11
+ const styleProps = computed(() => getWrapStyle(props))
12
+
13
+ return () => {
14
+ const mergedProps = { ...styleProps.value, ...attrs }
15
+ return h(Pixel.div, mergedProps, slots)
16
+ }
15
17
  }
16
18
  })
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.1",
4
+ "version": "0.0.2",
5
5
  "type": "module",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -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 BannerCloseButtonRecipeVariant {
6
+
7
+ }
8
+
9
+ type BannerCloseButtonRecipeVariantMap = {
10
+ [key in keyof BannerCloseButtonRecipeVariant]: Array<BannerCloseButtonRecipeVariant[key]>
11
+ }
12
+
13
+ export type BannerCloseButtonRecipeVariantProps = {
14
+ [key in keyof BannerCloseButtonRecipeVariant]?: ConditionalValue<BannerCloseButtonRecipeVariant[key]> | undefined
15
+ }
16
+
17
+ export interface BannerCloseButtonRecipeRecipe {
18
+ __type: BannerCloseButtonRecipeVariantProps
19
+ (props?: BannerCloseButtonRecipeVariantProps): string
20
+ raw: (props?: BannerCloseButtonRecipeVariantProps) => BannerCloseButtonRecipeVariantProps
21
+ variantMap: BannerCloseButtonRecipeVariantMap
22
+ variantKeys: Array<keyof BannerCloseButtonRecipeVariant>
23
+ splitVariantProps<Props extends BannerCloseButtonRecipeVariantProps>(props: Props): [BannerCloseButtonRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof BannerCloseButtonRecipeVariantProps>>]
24
+ }
25
+
26
+
27
+ export declare const bannerCloseButtonRecipe: BannerCloseButtonRecipeRecipe
@@ -0,0 +1,22 @@
1
+ import { splitProps } from '../helpers.mjs';
2
+ import { createRecipe, mergeRecipes } from './create-recipe.mjs';
3
+
4
+ const bannerCloseButtonRecipeFn = /* @__PURE__ */ createRecipe('banner-close-button', {}, [])
5
+
6
+ const bannerCloseButtonRecipeVariantMap = {}
7
+
8
+ const bannerCloseButtonRecipeVariantKeys = Object.keys(bannerCloseButtonRecipeVariantMap)
9
+
10
+ export const bannerCloseButtonRecipe = /* @__PURE__ */ Object.assign(bannerCloseButtonRecipeFn, {
11
+ __recipe__: true,
12
+ __name__: 'bannerCloseButtonRecipe',
13
+ raw: (props) => props,
14
+ variantKeys: bannerCloseButtonRecipeVariantKeys,
15
+ variantMap: bannerCloseButtonRecipeVariantMap,
16
+ merge(recipe) {
17
+ return mergeRecipes(this, recipe)
18
+ },
19
+ splitVariantProps(props) {
20
+ return splitProps(props, bannerCloseButtonRecipeVariantKeys)
21
+ },
22
+ })
@@ -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 BannerDescriptionRecipeVariant {
6
+
7
+ }
8
+
9
+ type BannerDescriptionRecipeVariantMap = {
10
+ [key in keyof BannerDescriptionRecipeVariant]: Array<BannerDescriptionRecipeVariant[key]>
11
+ }
12
+
13
+ export type BannerDescriptionRecipeVariantProps = {
14
+ [key in keyof BannerDescriptionRecipeVariant]?: ConditionalValue<BannerDescriptionRecipeVariant[key]> | undefined
15
+ }
16
+
17
+ export interface BannerDescriptionRecipeRecipe {
18
+ __type: BannerDescriptionRecipeVariantProps
19
+ (props?: BannerDescriptionRecipeVariantProps): string
20
+ raw: (props?: BannerDescriptionRecipeVariantProps) => BannerDescriptionRecipeVariantProps
21
+ variantMap: BannerDescriptionRecipeVariantMap
22
+ variantKeys: Array<keyof BannerDescriptionRecipeVariant>
23
+ splitVariantProps<Props extends BannerDescriptionRecipeVariantProps>(props: Props): [BannerDescriptionRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof BannerDescriptionRecipeVariantProps>>]
24
+ }
25
+
26
+
27
+ export declare const bannerDescriptionRecipe: BannerDescriptionRecipeRecipe
@@ -0,0 +1,22 @@
1
+ import { splitProps } from '../helpers.mjs';
2
+ import { createRecipe, mergeRecipes } from './create-recipe.mjs';
3
+
4
+ const bannerDescriptionRecipeFn = /* @__PURE__ */ createRecipe('banner-description', {}, [])
5
+
6
+ const bannerDescriptionRecipeVariantMap = {}
7
+
8
+ const bannerDescriptionRecipeVariantKeys = Object.keys(bannerDescriptionRecipeVariantMap)
9
+
10
+ export const bannerDescriptionRecipe = /* @__PURE__ */ Object.assign(bannerDescriptionRecipeFn, {
11
+ __recipe__: true,
12
+ __name__: 'bannerDescriptionRecipe',
13
+ raw: (props) => props,
14
+ variantKeys: bannerDescriptionRecipeVariantKeys,
15
+ variantMap: bannerDescriptionRecipeVariantMap,
16
+ merge(recipe) {
17
+ return mergeRecipes(this, recipe)
18
+ },
19
+ splitVariantProps(props) {
20
+ return splitProps(props, bannerDescriptionRecipeVariantKeys)
21
+ },
22
+ })
@@ -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 BannerIconRecipeVariant {
6
+
7
+ }
8
+
9
+ type BannerIconRecipeVariantMap = {
10
+ [key in keyof BannerIconRecipeVariant]: Array<BannerIconRecipeVariant[key]>
11
+ }
12
+
13
+ export type BannerIconRecipeVariantProps = {
14
+ [key in keyof BannerIconRecipeVariant]?: ConditionalValue<BannerIconRecipeVariant[key]> | undefined
15
+ }
16
+
17
+ export interface BannerIconRecipeRecipe {
18
+ __type: BannerIconRecipeVariantProps
19
+ (props?: BannerIconRecipeVariantProps): Pretty<Record<"root" | "custom", string>>
20
+ raw: (props?: BannerIconRecipeVariantProps) => BannerIconRecipeVariantProps
21
+ variantMap: BannerIconRecipeVariantMap
22
+ variantKeys: Array<keyof BannerIconRecipeVariant>
23
+ splitVariantProps<Props extends BannerIconRecipeVariantProps>(props: Props): [BannerIconRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof BannerIconRecipeVariantProps>>]
24
+ }
25
+
26
+
27
+ export declare const bannerIconRecipe: BannerIconRecipeRecipe
@@ -0,0 +1,34 @@
1
+ import { splitProps, getSlotCompoundVariant } from '../helpers.mjs';
2
+ import { createRecipe } from './create-recipe.mjs';
3
+
4
+ const bannerIconRecipeDefaultVariants = {}
5
+ const bannerIconRecipeCompoundVariants = []
6
+
7
+ const bannerIconRecipeSlotNames = [
8
+ [
9
+ "root",
10
+ "banner-icon__root"
11
+ ],
12
+ [
13
+ "custom",
14
+ "banner-icon__custom"
15
+ ]
16
+ ]
17
+ const bannerIconRecipeSlotFns = /* @__PURE__ */ bannerIconRecipeSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, bannerIconRecipeDefaultVariants, getSlotCompoundVariant(bannerIconRecipeCompoundVariants, slotName))])
18
+
19
+ const bannerIconRecipeFn = (props = {}) => {
20
+ return Object.fromEntries(bannerIconRecipeSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
21
+ }
22
+
23
+ const bannerIconRecipeVariantKeys = []
24
+
25
+ export const bannerIconRecipe = /* @__PURE__ */ Object.assign(bannerIconRecipeFn, {
26
+ __recipe__: false,
27
+ __name__: 'bannerIconRecipe',
28
+ raw: (props) => props,
29
+ variantKeys: bannerIconRecipeVariantKeys,
30
+ variantMap: {},
31
+ splitVariantProps(props) {
32
+ return splitProps(props, bannerIconRecipeVariantKeys)
33
+ },
34
+ })
@@ -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 BannerIconSlotRecipeVariant {
6
+
7
+ }
8
+
9
+ type BannerIconSlotRecipeVariantMap = {
10
+ [key in keyof BannerIconSlotRecipeVariant]: Array<BannerIconSlotRecipeVariant[key]>
11
+ }
12
+
13
+ export type BannerIconSlotRecipeVariantProps = {
14
+ [key in keyof BannerIconSlotRecipeVariant]?: ConditionalValue<BannerIconSlotRecipeVariant[key]> | undefined
15
+ }
16
+
17
+ export interface BannerIconSlotRecipeRecipe {
18
+ __type: BannerIconSlotRecipeVariantProps
19
+ (props?: BannerIconSlotRecipeVariantProps): Pretty<Record<"root" | "custom", string>>
20
+ raw: (props?: BannerIconSlotRecipeVariantProps) => BannerIconSlotRecipeVariantProps
21
+ variantMap: BannerIconSlotRecipeVariantMap
22
+ variantKeys: Array<keyof BannerIconSlotRecipeVariant>
23
+ splitVariantProps<Props extends BannerIconSlotRecipeVariantProps>(props: Props): [BannerIconSlotRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof BannerIconSlotRecipeVariantProps>>]
24
+ }
25
+
26
+
27
+ export declare const bannerIconSlotRecipe: BannerIconSlotRecipeRecipe
@@ -0,0 +1,34 @@
1
+ import { splitProps, getSlotCompoundVariant } from '../helpers.mjs';
2
+ import { createRecipe } from './create-recipe.mjs';
3
+
4
+ const bannerIconSlotRecipeDefaultVariants = {}
5
+ const bannerIconSlotRecipeCompoundVariants = []
6
+
7
+ const bannerIconSlotRecipeSlotNames = [
8
+ [
9
+ "root",
10
+ "banner-icon__root"
11
+ ],
12
+ [
13
+ "custom",
14
+ "banner-icon__custom"
15
+ ]
16
+ ]
17
+ const bannerIconSlotRecipeSlotFns = /* @__PURE__ */ bannerIconSlotRecipeSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, bannerIconSlotRecipeDefaultVariants, getSlotCompoundVariant(bannerIconSlotRecipeCompoundVariants, slotName))])
18
+
19
+ const bannerIconSlotRecipeFn = (props = {}) => {
20
+ return Object.fromEntries(bannerIconSlotRecipeSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
21
+ }
22
+
23
+ const bannerIconSlotRecipeVariantKeys = []
24
+
25
+ export const bannerIconSlotRecipe = /* @__PURE__ */ Object.assign(bannerIconSlotRecipeFn, {
26
+ __recipe__: false,
27
+ __name__: 'bannerIconSlotRecipe',
28
+ raw: (props) => props,
29
+ variantKeys: bannerIconSlotRecipeVariantKeys,
30
+ variantMap: {},
31
+ splitVariantProps(props) {
32
+ return splitProps(props, bannerIconSlotRecipeVariantKeys)
33
+ },
34
+ })
@@ -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 BannerLinkRecipeVariant {
6
+
7
+ }
8
+
9
+ type BannerLinkRecipeVariantMap = {
10
+ [key in keyof BannerLinkRecipeVariant]: Array<BannerLinkRecipeVariant[key]>
11
+ }
12
+
13
+ export type BannerLinkRecipeVariantProps = {
14
+ [key in keyof BannerLinkRecipeVariant]?: ConditionalValue<BannerLinkRecipeVariant[key]> | undefined
15
+ }
16
+
17
+ export interface BannerLinkRecipeRecipe {
18
+ __type: BannerLinkRecipeVariantProps
19
+ (props?: BannerLinkRecipeVariantProps): string
20
+ raw: (props?: BannerLinkRecipeVariantProps) => BannerLinkRecipeVariantProps
21
+ variantMap: BannerLinkRecipeVariantMap
22
+ variantKeys: Array<keyof BannerLinkRecipeVariant>
23
+ splitVariantProps<Props extends BannerLinkRecipeVariantProps>(props: Props): [BannerLinkRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof BannerLinkRecipeVariantProps>>]
24
+ }
25
+
26
+
27
+ export declare const bannerLinkRecipe: BannerLinkRecipeRecipe
@@ -0,0 +1,22 @@
1
+ import { splitProps } from '../helpers.mjs';
2
+ import { createRecipe, mergeRecipes } from './create-recipe.mjs';
3
+
4
+ const bannerLinkRecipeFn = /* @__PURE__ */ createRecipe('banner-link', {}, [])
5
+
6
+ const bannerLinkRecipeVariantMap = {}
7
+
8
+ const bannerLinkRecipeVariantKeys = Object.keys(bannerLinkRecipeVariantMap)
9
+
10
+ export const bannerLinkRecipe = /* @__PURE__ */ Object.assign(bannerLinkRecipeFn, {
11
+ __recipe__: true,
12
+ __name__: 'bannerLinkRecipe',
13
+ raw: (props) => props,
14
+ variantKeys: bannerLinkRecipeVariantKeys,
15
+ variantMap: bannerLinkRecipeVariantMap,
16
+ merge(recipe) {
17
+ return mergeRecipes(this, recipe)
18
+ },
19
+ splitVariantProps(props) {
20
+ return splitProps(props, bannerLinkRecipeVariantKeys)
21
+ },
22
+ })
@@ -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 BannerRecipeVariant {
6
+ variant: "info" | "success" | "danger" | "warning"
7
+ }
8
+
9
+ type BannerRecipeVariantMap = {
10
+ [key in keyof BannerRecipeVariant]: Array<BannerRecipeVariant[key]>
11
+ }
12
+
13
+ export type BannerRecipeVariantProps = {
14
+ [key in keyof BannerRecipeVariant]?: ConditionalValue<BannerRecipeVariant[key]> | undefined
15
+ }
16
+
17
+ export interface BannerRecipeRecipe {
18
+ __type: BannerRecipeVariantProps
19
+ (props?: BannerRecipeVariantProps): string
20
+ raw: (props?: BannerRecipeVariantProps) => BannerRecipeVariantProps
21
+ variantMap: BannerRecipeVariantMap
22
+ variantKeys: Array<keyof BannerRecipeVariant>
23
+ splitVariantProps<Props extends BannerRecipeVariantProps>(props: Props): [BannerRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof BannerRecipeVariantProps>>]
24
+ }
25
+
26
+
27
+ export declare const bannerRecipe: BannerRecipeRecipe
@@ -0,0 +1,31 @@
1
+ import { splitProps } from '../helpers.mjs';
2
+ import { createRecipe, mergeRecipes } from './create-recipe.mjs';
3
+
4
+ const bannerRecipeFn = /* @__PURE__ */ createRecipe('banner', {
5
+ "variant": "info"
6
+ }, [])
7
+
8
+ const bannerRecipeVariantMap = {
9
+ "variant": [
10
+ "info",
11
+ "success",
12
+ "danger",
13
+ "warning"
14
+ ]
15
+ }
16
+
17
+ const bannerRecipeVariantKeys = Object.keys(bannerRecipeVariantMap)
18
+
19
+ export const bannerRecipe = /* @__PURE__ */ Object.assign(bannerRecipeFn, {
20
+ __recipe__: true,
21
+ __name__: 'bannerRecipe',
22
+ raw: (props) => props,
23
+ variantKeys: bannerRecipeVariantKeys,
24
+ variantMap: bannerRecipeVariantMap,
25
+ merge(recipe) {
26
+ return mergeRecipes(this, recipe)
27
+ },
28
+ splitVariantProps(props) {
29
+ return splitProps(props, bannerRecipeVariantKeys)
30
+ },
31
+ })