@mekari/pixel3-styled-system 0.0.1 → 0.0.3

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 +12 -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
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @mekari/pixel3-styled-system
2
2
 
3
+ ## 0.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 7f45d55: Bump version vue & @panda-css/dev
8
+
9
+ ## 0.0.2
10
+
11
+ ### Patch Changes
12
+
13
+ - Re-release Styled System
14
+
3
15
  ## 0.0.1
4
16
 
5
17
  ### Patch Changes
@@ -1,10 +1,10 @@
1
1
  /* eslint-disable */
2
2
  import type { FunctionalComponent } from 'vue'
3
3
  import type { AspectRatioProperties } from '../patterns/aspect-ratio';
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 AspectRatioProps extends AspectRatioProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof AspectRatioProperties | 'aspectRatio'> {}
7
+ export interface AspectRatioProps extends AspectRatioProperties, DistributiveOmit<HTMLPixelProps<'div'>, keyof AspectRatioProperties | 'aspectRatio'> {}
8
8
 
9
9
 
10
10
  export declare const AspectRatio: FunctionalComponent<AspectRatioProps>
@@ -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 { getAspectRatioStyle } from '../patterns/aspect-ratio.mjs';
4
+ import { Pixel } from './factory.mjs';
4
5
 
5
- export const AspectRatio = defineComponent({
6
+ export const AspectRatio = /* @__PURE__ */ defineComponent({
6
7
  name: 'AspectRatio',
7
8
  inheritAttrs: false,
8
9
  props: ["ratio"],
9
10
  setup(props, { attrs, slots }) {
10
- const styleProps = computed(() => getAspectRatioStyle(props))
11
- return () => {
12
- const computedProps = { ...styleProps.value, ...attrs }
13
- return h(styled.div, computedProps, slots)
14
- }
11
+ const styleProps = computed(() => getAspectRatioStyle(props))
12
+
13
+ return () => {
14
+ const mergedProps = { ...styleProps.value, ...attrs }
15
+ return h(Pixel.div, mergedProps, slots)
16
+ }
15
17
  }
16
18
  })
package/jsx/bleed.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /* eslint-disable */
2
2
  import type { FunctionalComponent } from 'vue'
3
3
  import type { BleedProperties } from '../patterns/bleed';
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 BleedProps extends BleedProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof BleedProperties > {}
7
+ export interface BleedProps extends BleedProperties, DistributiveOmit<HTMLPixelProps<'div'>, keyof BleedProperties > {}
8
8
 
9
9
 
10
10
  export declare const Bleed: FunctionalComponent<BleedProps>
package/jsx/bleed.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 { getBleedStyle } from '../patterns/bleed.mjs';
4
+ import { Pixel } from './factory.mjs';
4
5
 
5
- export const Bleed = defineComponent({
6
+ export const Bleed = /* @__PURE__ */ defineComponent({
6
7
  name: 'Bleed',
7
8
  inheritAttrs: false,
8
- props: ["inline", "block"],
9
+ props: ["inline","block"],
9
10
  setup(props, { attrs, slots }) {
10
- const styleProps = computed(() => getBleedStyle(props))
11
- return () => {
12
- const computedProps = { ...styleProps.value, ...attrs }
13
- return h(styled.div, computedProps, slots)
14
- }
11
+ const styleProps = computed(() => getBleedStyle(props))
12
+
13
+ return () => {
14
+ const mergedProps = { ...styleProps.value, ...attrs }
15
+ return h(Pixel.div, mergedProps, slots)
16
+ }
15
17
  }
16
18
  })
package/jsx/box.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /* eslint-disable */
2
2
  import type { FunctionalComponent } from 'vue'
3
3
  import type { BoxProperties } from '../patterns/box';
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 BoxProps extends BoxProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof BoxProperties > {}
7
+ export interface BoxProps extends BoxProperties, DistributiveOmit<HTMLPixelProps<'div'>, keyof BoxProperties > {}
8
8
 
9
9
 
10
10
  export declare const Box: FunctionalComponent<BoxProps>
package/jsx/box.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 { getBoxStyle } from '../patterns/box.mjs';
4
+ import { Pixel } from './factory.mjs';
4
5
 
5
- export const Box = defineComponent({
6
+ export const Box = /* @__PURE__ */ defineComponent({
6
7
  name: 'Box',
7
8
  inheritAttrs: false,
8
9
  props: [],
9
10
  setup(props, { attrs, slots }) {
10
- const styleProps = computed(() => getBoxStyle(props))
11
- return () => {
12
- const computedProps = { ...styleProps.value, ...attrs }
13
- return h(styled.div, computedProps, slots)
14
- }
11
+ const styleProps = computed(() => getBoxStyle(props))
12
+
13
+ return () => {
14
+ const mergedProps = { ...styleProps.value, ...attrs }
15
+ return h(Pixel.div, mergedProps, slots)
16
+ }
15
17
  }
16
18
  })
package/jsx/center.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /* eslint-disable */
2
2
  import type { FunctionalComponent } from 'vue'
3
3
  import type { CenterProperties } from '../patterns/center';
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 CenterProps extends CenterProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof CenterProperties > {}
7
+ export interface CenterProps extends CenterProperties, DistributiveOmit<HTMLPixelProps<'div'>, keyof CenterProperties > {}
8
8
 
9
9
 
10
10
  export declare const Center: FunctionalComponent<CenterProps>
package/jsx/center.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 { getCenterStyle } from '../patterns/center.mjs';
4
+ import { Pixel } from './factory.mjs';
4
5
 
5
- export const Center = defineComponent({
6
+ export const Center = /* @__PURE__ */ defineComponent({
6
7
  name: 'Center',
7
8
  inheritAttrs: false,
8
9
  props: ["inline"],
9
10
  setup(props, { attrs, slots }) {
10
- const styleProps = computed(() => getCenterStyle(props))
11
- return () => {
12
- const computedProps = { ...styleProps.value, ...attrs }
13
- return h(styled.div, computedProps, slots)
14
- }
11
+ const styleProps = computed(() => getCenterStyle(props))
12
+
13
+ return () => {
14
+ const mergedProps = { ...styleProps.value, ...attrs }
15
+ return h(Pixel.div, mergedProps, slots)
16
+ }
15
17
  }
16
18
  })
package/jsx/circle.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /* eslint-disable */
2
2
  import type { FunctionalComponent } from 'vue'
3
3
  import type { CircleProperties } from '../patterns/circle';
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 CircleProps extends CircleProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof CircleProperties > {}
7
+ export interface CircleProps extends CircleProperties, DistributiveOmit<HTMLPixelProps<'div'>, keyof CircleProperties > {}
8
8
 
9
9
 
10
10
  export declare const Circle: FunctionalComponent<CircleProps>
package/jsx/circle.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 { getCircleStyle } from '../patterns/circle.mjs';
4
+ import { Pixel } from './factory.mjs';
4
5
 
5
- export const Circle = defineComponent({
6
+ export const Circle = /* @__PURE__ */ defineComponent({
6
7
  name: 'Circle',
7
8
  inheritAttrs: false,
8
9
  props: ["size"],
9
10
  setup(props, { attrs, slots }) {
10
- const styleProps = computed(() => getCircleStyle(props))
11
- return () => {
12
- const computedProps = { ...styleProps.value, ...attrs }
13
- return h(styled.div, computedProps, slots)
14
- }
11
+ const styleProps = computed(() => getCircleStyle(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 { ContainerProperties } from '../patterns/container';
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 ContainerProps extends ContainerProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof ContainerProperties > {}
7
+ export interface ContainerProps extends ContainerProperties, DistributiveOmit<HTMLPixelProps<'div'>, keyof ContainerProperties > {}
8
8
 
9
9
 
10
10
  export declare const Container: FunctionalComponent<ContainerProps>
package/jsx/container.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 { getContainerStyle } from '../patterns/container.mjs';
4
+ import { Pixel } from './factory.mjs';
4
5
 
5
- export const Container = defineComponent({
6
+ export const Container = /* @__PURE__ */ defineComponent({
6
7
  name: 'Container',
7
8
  inheritAttrs: false,
8
9
  props: [],
9
10
  setup(props, { attrs, slots }) {
10
- const styleProps = computed(() => getContainerStyle(props))
11
- return () => {
12
- const computedProps = { ...styleProps.value, ...attrs }
13
- return h(styled.div, computedProps, slots)
14
- }
11
+ const styleProps = computed(() => getContainerStyle(props))
12
+
13
+ return () => {
14
+ const mergedProps = { ...styleProps.value, ...attrs }
15
+ return h(Pixel.div, mergedProps, slots)
16
+ }
15
17
  }
16
18
  })
package/jsx/divider.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /* eslint-disable */
2
2
  import type { FunctionalComponent } from 'vue'
3
3
  import type { DividerProperties } from '../patterns/divider';
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 DividerProps extends DividerProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof DividerProperties > {}
7
+ export interface DividerProps extends DividerProperties, DistributiveOmit<HTMLPixelProps<'div'>, keyof DividerProperties > {}
8
8
 
9
9
 
10
10
  export declare const Divider: FunctionalComponent<DividerProps>
package/jsx/divider.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 { getDividerStyle } from '../patterns/divider.mjs';
4
+ import { Pixel } from './factory.mjs';
4
5
 
5
- export const Divider = defineComponent({
6
+ export const Divider = /* @__PURE__ */ defineComponent({
6
7
  name: 'Divider',
7
8
  inheritAttrs: false,
8
- props: ["orientation", "thickness", "color"],
9
+ props: ["orientation","thickness","color"],
9
10
  setup(props, { attrs, slots }) {
10
- const styleProps = computed(() => getDividerStyle(props))
11
- return () => {
12
- const computedProps = { ...styleProps.value, ...attrs }
13
- return h(styled.div, computedProps, slots)
14
- }
11
+ const styleProps = computed(() => getDividerStyle(props))
12
+
13
+ return () => {
14
+ const mergedProps = { ...styleProps.value, ...attrs }
15
+ return h(Pixel.div, mergedProps, slots)
16
+ }
15
17
  }
16
18
  })
package/jsx/factory.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  /* eslint-disable */
2
- import type { Styled } from '../types/jsx';
2
+ import type { Pixel } from '../types/jsx';
3
3
 
4
- export declare const styled: Styled
4
+ export declare const Pixel: Pixel
package/jsx/factory.mjs CHANGED
@@ -17,8 +17,8 @@ function styledFn(Dynamic, configOrCva = {}, options = {}) {
17
17
 
18
18
  const name = getDisplayName(Dynamic)
19
19
 
20
- const StyledComponent = defineComponent({
21
- name: `styled.${name}`,
20
+ const PixelComponent = defineComponent({
21
+ name: `Pixel.${name}`,
22
22
  inheritAttrs: false,
23
23
  props: { as: { type: [String, Object], default: Dynamic.__base__ || Dynamic } },
24
24
  setup(props, { slots, attrs }) {
@@ -28,7 +28,7 @@ function styledFn(Dynamic, configOrCva = {}, options = {}) {
28
28
  const combinedProps = computed(() => Object.assign({}, defaultProps, attrs))
29
29
 
30
30
  const splittedProps = computed(() => {
31
- return splitProps(combinedProps.value, normalizeHTMLProps.keys, shouldForwardProp, __cvaFn__.variantKeys, isCssProperty)
31
+ return splitProps(combinedProps.value, normalizeHTMLProps.keys, __shouldForwardProps__, __cvaFn__.variantKeys, isCssProperty)
32
32
  })
33
33
 
34
34
  const recipeClass = computed(() => {
@@ -63,12 +63,12 @@ function styledFn(Dynamic, configOrCva = {}, options = {}) {
63
63
  },
64
64
  })
65
65
 
66
- StyledComponent.displayName = `styled.${name}`
67
- StyledComponent.__cva__ = cvaFn
68
- StyledComponent.__base__ = Dynamic
69
- StyledComponent.__shouldForwardProps__ = shouldForwardProp
66
+ PixelComponent.displayName = `Pixel.${name}`
67
+ PixelComponent.__cva__ = cvaFn
68
+ PixelComponent.__base__ = Dynamic
69
+ PixelComponent.__shouldForwardProps__ = shouldForwardProp
70
70
 
71
- return StyledComponent
71
+ return PixelComponent
72
72
  }
73
73
 
74
74
  function createJsxFactory() {
@@ -82,4 +82,4 @@ function createJsxFactory() {
82
82
  })
83
83
  }
84
84
 
85
- export const styled = /* @__PURE__ */ createJsxFactory()
85
+ export const Pixel = /* @__PURE__ */ createJsxFactory()
package/jsx/flex.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /* eslint-disable */
2
2
  import type { FunctionalComponent } from 'vue'
3
3
  import type { FlexProperties } from '../patterns/flex';
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 FlexProps extends FlexProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof FlexProperties > {}
7
+ export interface FlexProps extends FlexProperties, DistributiveOmit<HTMLPixelProps<'div'>, keyof FlexProperties > {}
8
8
 
9
9
 
10
10
  export declare const Flex: FunctionalComponent<FlexProps>
package/jsx/flex.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 { getFlexStyle } from '../patterns/flex.mjs';
4
+ import { Pixel } from './factory.mjs';
4
5
 
5
- export const Flex = defineComponent({
6
+ export const Flex = /* @__PURE__ */ defineComponent({
6
7
  name: 'Flex',
7
8
  inheritAttrs: false,
8
- props: ["align", "justify", "direction", "wrap", "basis", "grow", "shrink"],
9
+ props: ["align","justify","direction","wrap","basis","grow","shrink"],
9
10
  setup(props, { attrs, slots }) {
10
- const styleProps = computed(() => getFlexStyle(props))
11
- return () => {
12
- const computedProps = { ...styleProps.value, ...attrs }
13
- return h(styled.div, computedProps, slots)
14
- }
11
+ const styleProps = computed(() => getFlexStyle(props))
12
+
13
+ return () => {
14
+ const mergedProps = { ...styleProps.value, ...attrs }
15
+ return h(Pixel.div, mergedProps, slots)
16
+ }
15
17
  }
16
18
  })
package/jsx/float.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /* eslint-disable */
2
2
  import type { FunctionalComponent } from 'vue'
3
3
  import type { FloatProperties } from '../patterns/float';
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 FloatProps extends FloatProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof FloatProperties > {}
7
+ export interface FloatProps extends FloatProperties, DistributiveOmit<HTMLPixelProps<'div'>, keyof FloatProperties > {}
8
8
 
9
9
 
10
10
  export declare const Float: FunctionalComponent<FloatProps>
package/jsx/float.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 { getFloatStyle } from '../patterns/float.mjs';
4
+ import { Pixel } from './factory.mjs';
4
5
 
5
- export const Float = defineComponent({
6
+ export const Float = /* @__PURE__ */ defineComponent({
6
7
  name: 'Float',
7
8
  inheritAttrs: false,
8
- props: ["offsetX", "offsetY", "offset", "placement"],
9
+ props: ["offsetX","offsetY","offset","placement"],
9
10
  setup(props, { attrs, slots }) {
10
- const styleProps = computed(() => getFloatStyle(props))
11
- return () => {
12
- const computedProps = { ...styleProps.value, ...attrs }
13
- return h(styled.div, computedProps, slots)
14
- }
11
+ const styleProps = computed(() => getFloatStyle(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 { GridItemProperties } from '../patterns/grid-item';
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 GridItemProps extends GridItemProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof GridItemProperties > {}
7
+ export interface GridItemProps extends GridItemProperties, DistributiveOmit<HTMLPixelProps<'div'>, keyof GridItemProperties > {}
8
8
 
9
9
 
10
10
  export declare const GridItem: FunctionalComponent<GridItemProps>
package/jsx/grid-item.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 { getGridItemStyle } from '../patterns/grid-item.mjs';
4
+ import { Pixel } from './factory.mjs';
4
5
 
5
- export const GridItem = defineComponent({
6
+ export const GridItem = /* @__PURE__ */ defineComponent({
6
7
  name: 'GridItem',
7
8
  inheritAttrs: false,
8
- props: ["colSpan", "rowSpan", "colStart", "rowStart", "colEnd", "rowEnd"],
9
+ props: ["colSpan","rowSpan","colStart","rowStart","colEnd","rowEnd"],
9
10
  setup(props, { attrs, slots }) {
10
- const styleProps = computed(() => getGridItemStyle(props))
11
- return () => {
12
- const computedProps = { ...styleProps.value, ...attrs }
13
- return h(styled.div, computedProps, slots)
14
- }
11
+ const styleProps = computed(() => getGridItemStyle(props))
12
+
13
+ return () => {
14
+ const mergedProps = { ...styleProps.value, ...attrs }
15
+ return h(Pixel.div, mergedProps, slots)
16
+ }
15
17
  }
16
18
  })
package/jsx/grid.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /* eslint-disable */
2
2
  import type { FunctionalComponent } from 'vue'
3
3
  import type { GridProperties } from '../patterns/grid';
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 GridProps extends GridProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof GridProperties > {}
7
+ export interface GridProps extends GridProperties, DistributiveOmit<HTMLPixelProps<'div'>, keyof GridProperties > {}
8
8
 
9
9
 
10
10
  export declare const Grid: FunctionalComponent<GridProps>
package/jsx/grid.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 { getGridStyle } from '../patterns/grid.mjs';
4
+ import { Pixel } from './factory.mjs';
4
5
 
5
- export const Grid = defineComponent({
6
+ export const Grid = /* @__PURE__ */ defineComponent({
6
7
  name: 'Grid',
7
8
  inheritAttrs: false,
8
- props: ["gap", "columnGap", "rowGap", "columns", "minChildWidth"],
9
+ props: ["gap","columnGap","rowGap","columns","minChildWidth"],
9
10
  setup(props, { attrs, slots }) {
10
- const styleProps = computed(() => getGridStyle(props))
11
- return () => {
12
- const computedProps = { ...styleProps.value, ...attrs }
13
- return h(styled.div, computedProps, slots)
14
- }
11
+ const styleProps = computed(() => getGridStyle(props))
12
+
13
+ return () => {
14
+ const mergedProps = { ...styleProps.value, ...attrs }
15
+ return h(Pixel.div, mergedProps, slots)
16
+ }
15
17
  }
16
18
  })
package/jsx/hstack.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /* eslint-disable */
2
2
  import type { FunctionalComponent } from 'vue'
3
3
  import type { HstackProperties } from '../patterns/hstack';
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 HstackProps extends HstackProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof HstackProperties > {}
7
+ export interface HstackProps extends HstackProperties, DistributiveOmit<HTMLPixelProps<'div'>, keyof HstackProperties > {}
8
8
 
9
9
 
10
10
  export declare const HStack: FunctionalComponent<HstackProps>
package/jsx/hstack.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 { getHstackStyle } from '../patterns/hstack.mjs';
4
+ import { Pixel } from './factory.mjs';
4
5
 
5
- export const HStack = defineComponent({
6
+ export const HStack = /* @__PURE__ */ defineComponent({
6
7
  name: 'HStack',
7
8
  inheritAttrs: false,
8
- props: ["justify", "gap"],
9
+ props: ["justify","gap"],
9
10
  setup(props, { attrs, slots }) {
10
- const styleProps = computed(() => getHstackStyle(props))
11
- return () => {
12
- const computedProps = { ...styleProps.value, ...attrs }
13
- return h(styled.div, computedProps, slots)
14
- }
11
+ const styleProps = computed(() => getHstackStyle(props))
12
+
13
+ return () => {
14
+ const mergedProps = { ...styleProps.value, ...attrs }
15
+ return h(Pixel.div, mergedProps, slots)
16
+ }
15
17
  }
16
18
  })
package/jsx/index.d.ts CHANGED
@@ -21,4 +21,4 @@ export * from './divider';
21
21
  export * from './float';
22
22
  export * from './bleed';
23
23
  export * from './visually-hidden';
24
- export type { HTMLStyledProps, StyledComponent } from '../types/jsx';
24
+ export type { HTMLPixelProps, PixelComponent } from '../types/jsx';
package/jsx/link-box.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /* eslint-disable */
2
2
  import type { FunctionalComponent } from 'vue'
3
3
  import type { LinkBoxProperties } from '../patterns/link-box';
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 LinkBoxProps extends LinkBoxProperties, DistributiveOmit<HTMLStyledProps<'div'>, keyof LinkBoxProperties > {}
7
+ export interface LinkBoxProps extends LinkBoxProperties, DistributiveOmit<HTMLPixelProps<'div'>, keyof LinkBoxProperties > {}
8
8
 
9
9
 
10
10
  export declare const LinkBox: FunctionalComponent<LinkBoxProps>
package/jsx/link-box.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 { getLinkBoxStyle } from '../patterns/link-box.mjs';
4
+ import { Pixel } from './factory.mjs';
4
5
 
5
- export const LinkBox = defineComponent({
6
+ export const LinkBox = /* @__PURE__ */ defineComponent({
6
7
  name: 'LinkBox',
7
8
  inheritAttrs: false,
8
9
  props: [],
9
10
  setup(props, { attrs, slots }) {
10
- const styleProps = computed(() => getLinkBoxStyle(props))
11
- return () => {
12
- const computedProps = { ...styleProps.value, ...attrs }
13
- return h(styled.div, computedProps, slots)
14
- }
11
+ const styleProps = computed(() => getLinkBoxStyle(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 { LinkOverlayProperties } from '../patterns/link-overlay';
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 LinkOverlayProps extends LinkOverlayProperties, DistributiveOmit<HTMLStyledProps<'a'>, keyof LinkOverlayProperties > {}
7
+ export interface LinkOverlayProps extends LinkOverlayProperties, DistributiveOmit<HTMLPixelProps<'a'>, keyof LinkOverlayProperties > {}
8
8
 
9
9
 
10
10
  export declare const LinkOverlay: FunctionalComponent<LinkOverlayProps>