@pyck/styled-system 0.0.15 → 0.0.17

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.
@@ -7,6 +7,7 @@ interface BadgeVariant {
7
7
  * @default "subtle"
8
8
  */
9
9
  variant: "solid" | "surface" | "subtle" | "outline"
10
+ shape: "pill"
10
11
  /**
11
12
  * @default "md"
12
13
  */
@@ -13,6 +13,9 @@ const badgeVariantMap = {
13
13
  "subtle",
14
14
  "outline"
15
15
  ],
16
+ "shape": [
17
+ "pill"
18
+ ],
16
19
  "size": [
17
20
  "sm",
18
21
  "md",
@@ -6,7 +6,7 @@ interface CardVariant {
6
6
  /**
7
7
  * @default "outline"
8
8
  */
9
- variant: "elevated" | "outline" | "subtle"
9
+ variant: "elevated" | "outline" | "subtle" | "canvas"
10
10
  }
11
11
 
12
12
  type CardVariantMap = {
@@ -53,7 +53,8 @@ export const card = /* @__PURE__ */ Object.assign(cardFn, {
53
53
  "variant": [
54
54
  "elevated",
55
55
  "outline",
56
- "subtle"
56
+ "subtle",
57
+ "canvas"
57
58
  ]
58
59
  },
59
60
  splitVariantProps(props) {
@@ -0,0 +1,31 @@
1
+ /* eslint-disable */
2
+ import type { ConditionalValue } from '../types/index';
3
+ import type { DistributiveOmit, Pretty } from '../types/system-types';
4
+
5
+ interface DotSeparatorVariant {
6
+
7
+ }
8
+
9
+ type DotSeparatorVariantMap = {
10
+ [key in keyof DotSeparatorVariant]: Array<DotSeparatorVariant[key]>
11
+ }
12
+
13
+
14
+
15
+ export type DotSeparatorVariantProps = {
16
+ [key in keyof DotSeparatorVariant]?: ConditionalValue<DotSeparatorVariant[key]> | undefined
17
+ }
18
+
19
+ export interface DotSeparatorRecipe {
20
+
21
+ __type: DotSeparatorVariantProps
22
+ (props?: DotSeparatorVariantProps): string
23
+ raw: (props?: DotSeparatorVariantProps) => DotSeparatorVariantProps
24
+ variantMap: DotSeparatorVariantMap
25
+ variantKeys: Array<keyof DotSeparatorVariant>
26
+ splitVariantProps<Props extends DotSeparatorVariantProps>(props: Props): [DotSeparatorVariantProps, Pretty<DistributiveOmit<Props, keyof DotSeparatorVariantProps>>]
27
+ getVariantProps: (props?: DotSeparatorVariantProps) => DotSeparatorVariantProps
28
+ }
29
+
30
+
31
+ export declare const dotSeparator: DotSeparatorRecipe
@@ -0,0 +1,24 @@
1
+ import { memo, splitProps } from '../helpers.mjs';
2
+ import { createRecipe, mergeRecipes } from './create-recipe.mjs';
3
+
4
+ const dotSeparatorFn = /* @__PURE__ */ createRecipe('dotSeparator', {}, [])
5
+
6
+ const dotSeparatorVariantMap = {}
7
+
8
+ const dotSeparatorVariantKeys = Object.keys(dotSeparatorVariantMap)
9
+
10
+ export const dotSeparator = /* @__PURE__ */ Object.assign(memo(dotSeparatorFn.recipeFn), {
11
+ __recipe__: true,
12
+ __name__: 'dotSeparator',
13
+ __getCompoundVariantCss__: dotSeparatorFn.__getCompoundVariantCss__,
14
+ raw: (props) => props,
15
+ variantKeys: dotSeparatorVariantKeys,
16
+ variantMap: dotSeparatorVariantMap,
17
+ merge(recipe) {
18
+ return mergeRecipes(this, recipe)
19
+ },
20
+ splitVariantProps(props) {
21
+ return splitProps(props, dotSeparatorVariantKeys)
22
+ },
23
+ getVariantProps: dotSeparatorFn.getVariantProps,
24
+ })
@@ -10,7 +10,7 @@ type DrilldownMenuVariantMap = {
10
10
  [key in keyof DrilldownMenuVariant]: Array<DrilldownMenuVariant[key]>
11
11
  }
12
12
 
13
- type DrilldownMenuSlot = "root" | "list" | "item" | "trigger" | "viewport" | "content"
13
+ type DrilldownMenuSlot = "root" | "list" | "item" | "trigger" | "header" | "viewport" | "content"
14
14
 
15
15
  export type DrilldownMenuVariantProps = {
16
16
  [key in keyof DrilldownMenuVariant]?: ConditionalValue<DrilldownMenuVariant[key]> | undefined
@@ -21,6 +21,10 @@ const drilldownMenuSlotNames = [
21
21
  "trigger",
22
22
  "drilldown-menu__trigger"
23
23
  ],
24
+ [
25
+ "header",
26
+ "drilldown-menu__header"
27
+ ],
24
28
  [
25
29
  "viewport",
26
30
  "drilldown-menu__viewport"
@@ -0,0 +1,31 @@
1
+ /* eslint-disable */
2
+ import type { ConditionalValue } from '../types/index';
3
+ import type { DistributiveOmit, Pretty } from '../types/system-types';
4
+
5
+ interface HintTextVariant {
6
+
7
+ }
8
+
9
+ type HintTextVariantMap = {
10
+ [key in keyof HintTextVariant]: Array<HintTextVariant[key]>
11
+ }
12
+
13
+
14
+
15
+ export type HintTextVariantProps = {
16
+ [key in keyof HintTextVariant]?: ConditionalValue<HintTextVariant[key]> | undefined
17
+ }
18
+
19
+ export interface HintTextRecipe {
20
+
21
+ __type: HintTextVariantProps
22
+ (props?: HintTextVariantProps): string
23
+ raw: (props?: HintTextVariantProps) => HintTextVariantProps
24
+ variantMap: HintTextVariantMap
25
+ variantKeys: Array<keyof HintTextVariant>
26
+ splitVariantProps<Props extends HintTextVariantProps>(props: Props): [HintTextVariantProps, Pretty<DistributiveOmit<Props, keyof HintTextVariantProps>>]
27
+ getVariantProps: (props?: HintTextVariantProps) => HintTextVariantProps
28
+ }
29
+
30
+
31
+ export declare const hintText: HintTextRecipe
@@ -0,0 +1,24 @@
1
+ import { memo, splitProps } from '../helpers.mjs';
2
+ import { createRecipe, mergeRecipes } from './create-recipe.mjs';
3
+
4
+ const hintTextFn = /* @__PURE__ */ createRecipe('hint-text', {}, [])
5
+
6
+ const hintTextVariantMap = {}
7
+
8
+ const hintTextVariantKeys = Object.keys(hintTextVariantMap)
9
+
10
+ export const hintText = /* @__PURE__ */ Object.assign(memo(hintTextFn.recipeFn), {
11
+ __recipe__: true,
12
+ __name__: 'hintText',
13
+ __getCompoundVariantCss__: hintTextFn.__getCompoundVariantCss__,
14
+ raw: (props) => props,
15
+ variantKeys: hintTextVariantKeys,
16
+ variantMap: hintTextVariantMap,
17
+ merge(recipe) {
18
+ return mergeRecipes(this, recipe)
19
+ },
20
+ splitVariantProps(props) {
21
+ return splitProps(props, hintTextVariantKeys)
22
+ },
23
+ getVariantProps: hintTextFn.getVariantProps,
24
+ })
@@ -3,9 +3,11 @@ export * from './absolute-center';
3
3
  export * from './badge';
4
4
  export * from './button';
5
5
  export * from './checkmark';
6
+ export * from './dot-separator';
6
7
  export * from './form';
7
8
  export * from './group';
8
9
  export * from './heading';
10
+ export * from './hint-text';
9
11
  export * from './icon';
10
12
  export * from './input';
11
13
  export * from './input-addon';
@@ -2,9 +2,11 @@ export * from './absolute-center.mjs';
2
2
  export * from './badge.mjs';
3
3
  export * from './button.mjs';
4
4
  export * from './checkmark.mjs';
5
+ export * from './dot-separator.mjs';
5
6
  export * from './form.mjs';
6
7
  export * from './group.mjs';
7
8
  export * from './heading.mjs';
9
+ export * from './hint-text.mjs';
8
10
  export * from './icon.mjs';
9
11
  export * from './input.mjs';
10
12
  export * from './input-addon.mjs';
@@ -6,7 +6,7 @@ interface InputVariant {
6
6
  /**
7
7
  * @default "surface"
8
8
  */
9
- variant: "outline" | "surface" | "plain"
9
+ variant: "outline" | "surface" | "plain" | "subtle"
10
10
  /**
11
11
  * @default "md"
12
12
  */
@@ -10,7 +10,8 @@ const inputVariantMap = {
10
10
  "variant": [
11
11
  "outline",
12
12
  "surface",
13
- "plain"
13
+ "plain",
14
+ "subtle"
14
15
  ],
15
16
  "size": [
16
17
  "2xs",
@@ -10,7 +10,7 @@ size: "xs" | "sm" | "md" | "lg"
10
10
  /**
11
11
  * @default "line"
12
12
  */
13
- variant: "line" | "subtle" | "enclosed" | "outline"
13
+ variant: "line" | "subtle" | "enclosed" | "outline" | "surface"
14
14
  fitted: boolean
15
15
  }
16
16
 
@@ -59,7 +59,8 @@ export const tabs = /* @__PURE__ */ Object.assign(tabsFn, {
59
59
  "line",
60
60
  "subtle",
61
61
  "enclosed",
62
- "outline"
62
+ "outline",
63
+ "surface"
63
64
  ],
64
65
  "fitted": [
65
66
  "true"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pyck/styled-system",
3
3
  "type": "module",
4
- "version": "0.0.15",
4
+ "version": "0.0.17",
5
5
  "license": "MIT",
6
6
  "homepage": "https://pyck.ai",
7
7
  "repository": {
@@ -52,7 +52,7 @@
52
52
  }
53
53
  },
54
54
  "devDependencies": {
55
- "@pyck/panda-preset": "0.0.15",
55
+ "@pyck/panda-preset": "0.0.17",
56
56
  "@pandacss/dev": "1.8.2",
57
57
  "@pandacss/preset-base": "1.8.2",
58
58
  "@pandacss/preset-panda": "1.8.2",
@@ -65,7 +65,7 @@
65
65
  },
66
66
  "peerDependencies": {
67
67
  "@pandacss/dev": ">=0.45.0",
68
- "@pyck/panda-preset": ">=0.0.15",
68
+ "@pyck/panda-preset": ">=0.0.17",
69
69
  "react": ">=18.0.0",
70
70
  "react-dom": ">=18.0.0"
71
71
  },