@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.
- package/dist/recipes/badge.d.ts +1 -0
- package/dist/recipes/badge.mjs +3 -0
- package/dist/recipes/card.d.ts +1 -1
- package/dist/recipes/card.mjs +2 -1
- package/dist/recipes/dot-separator.d.ts +31 -0
- package/dist/recipes/dot-separator.mjs +24 -0
- package/dist/recipes/drilldown-menu.d.ts +1 -1
- package/dist/recipes/drilldown-menu.mjs +4 -0
- package/dist/recipes/hint-text.d.ts +31 -0
- package/dist/recipes/hint-text.mjs +24 -0
- package/dist/recipes/index.d.ts +2 -0
- package/dist/recipes/index.mjs +2 -0
- package/dist/recipes/input.d.ts +1 -1
- package/dist/recipes/input.mjs +2 -1
- package/dist/recipes/tabs.d.ts +1 -1
- package/dist/recipes/tabs.mjs +2 -1
- package/package.json +3 -3
package/dist/recipes/badge.d.ts
CHANGED
package/dist/recipes/badge.mjs
CHANGED
package/dist/recipes/card.d.ts
CHANGED
package/dist/recipes/card.mjs
CHANGED
|
@@ -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
|
|
@@ -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
|
+
})
|
package/dist/recipes/index.d.ts
CHANGED
|
@@ -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';
|
package/dist/recipes/index.mjs
CHANGED
|
@@ -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';
|
package/dist/recipes/input.d.ts
CHANGED
package/dist/recipes/input.mjs
CHANGED
package/dist/recipes/tabs.d.ts
CHANGED
package/dist/recipes/tabs.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pyck/styled-system",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
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.
|
|
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.
|
|
68
|
+
"@pyck/panda-preset": ">=0.0.17",
|
|
69
69
|
"react": ">=18.0.0",
|
|
70
70
|
"react-dom": ">=18.0.0"
|
|
71
71
|
},
|