@luxonis/depthai-pipeline-lib 3.4.0-rc.2 → 3.5.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.
- package/dist/index.css +1696 -2
- package/dist/src/components/BridgeEdge.js +3 -13
- package/dist/src/components/Node.js +18 -65
- package/dist/src/components/PipelineCanvas.js +1 -2
- package/dist/src/components/PipelineLegend.d.ts +1 -1
- package/dist/src/components/PipelineLegend.js +10 -24
- package/dist/src/version.d.ts +1 -1
- package/dist/src/version.js +1 -1
- package/package.json +3 -5
- package/dist/panda.css +0 -1342
- package/dist/src/styled-system/css/conditions.mjs +0 -36
- package/dist/src/styled-system/css/css.d.mts +0 -22
- package/dist/src/styled-system/css/css.mjs +0 -45
- package/dist/src/styled-system/css/cva.d.mts +0 -6
- package/dist/src/styled-system/css/cva.mjs +0 -87
- package/dist/src/styled-system/css/cx.d.mts +0 -5
- package/dist/src/styled-system/css/cx.mjs +0 -15
- package/dist/src/styled-system/css/index.d.mts +0 -5
- package/dist/src/styled-system/css/index.mjs +0 -4
- package/dist/src/styled-system/css/sva.d.mts +0 -4
- package/dist/src/styled-system/css/sva.mjs +0 -41
- package/dist/src/styled-system/helpers.mjs +0 -327
- package/dist/src/styled-system/patterns/aspect-ratio.d.mts +0 -21
- package/dist/src/styled-system/patterns/aspect-ratio.mjs +0 -38
- package/dist/src/styled-system/patterns/bleed.d.mts +0 -22
- package/dist/src/styled-system/patterns/bleed.mjs +0 -24
- package/dist/src/styled-system/patterns/box.d.mts +0 -21
- package/dist/src/styled-system/patterns/box.mjs +0 -15
- package/dist/src/styled-system/patterns/center.d.mts +0 -21
- package/dist/src/styled-system/patterns/center.mjs +0 -21
- package/dist/src/styled-system/patterns/circle.d.mts +0 -21
- package/dist/src/styled-system/patterns/circle.mjs +0 -25
- package/dist/src/styled-system/patterns/container.d.mts +0 -21
- package/dist/src/styled-system/patterns/container.mjs +0 -21
- package/dist/src/styled-system/patterns/cq.d.mts +0 -22
- package/dist/src/styled-system/patterns/cq.mjs +0 -21
- package/dist/src/styled-system/patterns/divider.d.mts +0 -23
- package/dist/src/styled-system/patterns/divider.mjs +0 -25
- package/dist/src/styled-system/patterns/flex.d.mts +0 -27
- package/dist/src/styled-system/patterns/flex.mjs +0 -26
- package/dist/src/styled-system/patterns/float.d.mts +0 -24
- package/dist/src/styled-system/patterns/float.mjs +0 -52
- package/dist/src/styled-system/patterns/grid-item.d.mts +0 -26
- package/dist/src/styled-system/patterns/grid-item.mjs +0 -25
- package/dist/src/styled-system/patterns/grid.d.mts +0 -25
- package/dist/src/styled-system/patterns/grid.mjs +0 -27
- package/dist/src/styled-system/patterns/hstack.d.mts +0 -22
- package/dist/src/styled-system/patterns/hstack.mjs +0 -24
- package/dist/src/styled-system/patterns/index.d.mts +0 -21
- package/dist/src/styled-system/patterns/index.mjs +0 -20
- package/dist/src/styled-system/patterns/link-overlay.d.mts +0 -21
- package/dist/src/styled-system/patterns/link-overlay.mjs +0 -24
- package/dist/src/styled-system/patterns/spacer.d.mts +0 -21
- package/dist/src/styled-system/patterns/spacer.mjs +0 -21
- package/dist/src/styled-system/patterns/square.d.mts +0 -21
- package/dist/src/styled-system/patterns/square.mjs +0 -24
- package/dist/src/styled-system/patterns/stack.d.mts +0 -24
- package/dist/src/styled-system/patterns/stack.mjs +0 -24
- package/dist/src/styled-system/patterns/visually-hidden.d.mts +0 -21
- package/dist/src/styled-system/patterns/visually-hidden.mjs +0 -18
- package/dist/src/styled-system/patterns/vstack.d.mts +0 -22
- package/dist/src/styled-system/patterns/vstack.mjs +0 -24
- package/dist/src/styled-system/patterns/wrap.d.mts +0 -25
- package/dist/src/styled-system/patterns/wrap.mjs +0 -25
- package/dist/src/styled-system/recipes/accordion.d.mts +0 -32
- package/dist/src/styled-system/recipes/accordion.mjs +0 -48
- package/dist/src/styled-system/recipes/alert-description.d.mts +0 -32
- package/dist/src/styled-system/recipes/alert-description.mjs +0 -24
- package/dist/src/styled-system/recipes/alert-dialog.d.mts +0 -32
- package/dist/src/styled-system/recipes/alert-dialog.mjs +0 -72
- package/dist/src/styled-system/recipes/alert-title.d.mts +0 -32
- package/dist/src/styled-system/recipes/alert-title.mjs +0 -24
- package/dist/src/styled-system/recipes/alert.d.mts +0 -35
- package/dist/src/styled-system/recipes/alert.mjs +0 -31
- package/dist/src/styled-system/recipes/avatar.d.mts +0 -32
- package/dist/src/styled-system/recipes/avatar.mjs +0 -40
- package/dist/src/styled-system/recipes/badge.d.mts +0 -35
- package/dist/src/styled-system/recipes/badge.mjs +0 -33
- package/dist/src/styled-system/recipes/blockquote.d.mts +0 -32
- package/dist/src/styled-system/recipes/blockquote.mjs +0 -24
- package/dist/src/styled-system/recipes/button.d.mts +0 -39
- package/dist/src/styled-system/recipes/button.mjs +0 -42
- package/dist/src/styled-system/recipes/calendar.d.mts +0 -32
- package/dist/src/styled-system/recipes/calendar.mjs +0 -120
- package/dist/src/styled-system/recipes/card-content.d.mts +0 -32
- package/dist/src/styled-system/recipes/card-content.mjs +0 -24
- package/dist/src/styled-system/recipes/card-description.d.mts +0 -32
- package/dist/src/styled-system/recipes/card-description.mjs +0 -24
- package/dist/src/styled-system/recipes/card-footer.d.mts +0 -32
- package/dist/src/styled-system/recipes/card-footer.mjs +0 -24
- package/dist/src/styled-system/recipes/card-header.d.mts +0 -32
- package/dist/src/styled-system/recipes/card-header.mjs +0 -24
- package/dist/src/styled-system/recipes/card-title.d.mts +0 -32
- package/dist/src/styled-system/recipes/card-title.mjs +0 -24
- package/dist/src/styled-system/recipes/card.d.mts +0 -32
- package/dist/src/styled-system/recipes/card.mjs +0 -24
- package/dist/src/styled-system/recipes/checkbox.d.mts +0 -32
- package/dist/src/styled-system/recipes/checkbox.mjs +0 -36
- package/dist/src/styled-system/recipes/collapsible.d.mts +0 -32
- package/dist/src/styled-system/recipes/collapsible.mjs +0 -40
- package/dist/src/styled-system/recipes/command-dialog.d.mts +0 -32
- package/dist/src/styled-system/recipes/command-dialog.mjs +0 -36
- package/dist/src/styled-system/recipes/command.d.mts +0 -32
- package/dist/src/styled-system/recipes/command.mjs +0 -68
- package/dist/src/styled-system/recipes/context-menu.d.mts +0 -35
- package/dist/src/styled-system/recipes/context-menu.mjs +0 -100
- package/dist/src/styled-system/recipes/create-recipe.mjs +0 -82
- package/dist/src/styled-system/recipes/dialog.d.mts +0 -32
- package/dist/src/styled-system/recipes/dialog.mjs +0 -68
- package/dist/src/styled-system/recipes/dropdown-menu.d.mts +0 -32
- package/dist/src/styled-system/recipes/dropdown-menu.mjs +0 -92
- package/dist/src/styled-system/recipes/form-control.d.mts +0 -32
- package/dist/src/styled-system/recipes/form-control.mjs +0 -24
- package/dist/src/styled-system/recipes/form-description.d.mts +0 -32
- package/dist/src/styled-system/recipes/form-description.mjs +0 -24
- package/dist/src/styled-system/recipes/form-item.d.mts +0 -32
- package/dist/src/styled-system/recipes/form-item.mjs +0 -24
- package/dist/src/styled-system/recipes/form-label.d.mts +0 -32
- package/dist/src/styled-system/recipes/form-label.mjs +0 -24
- package/dist/src/styled-system/recipes/form-message.d.mts +0 -32
- package/dist/src/styled-system/recipes/form-message.mjs +0 -24
- package/dist/src/styled-system/recipes/h1.d.mts +0 -32
- package/dist/src/styled-system/recipes/h1.mjs +0 -24
- package/dist/src/styled-system/recipes/h2.d.mts +0 -32
- package/dist/src/styled-system/recipes/h2.mjs +0 -24
- package/dist/src/styled-system/recipes/h3.d.mts +0 -32
- package/dist/src/styled-system/recipes/h3.mjs +0 -24
- package/dist/src/styled-system/recipes/h4.d.mts +0 -32
- package/dist/src/styled-system/recipes/h4.mjs +0 -24
- package/dist/src/styled-system/recipes/hover-card.d.mts +0 -32
- package/dist/src/styled-system/recipes/hover-card.mjs +0 -40
- package/dist/src/styled-system/recipes/icon.d.mts +0 -51
- package/dist/src/styled-system/recipes/icon.mjs +0 -54
- package/dist/src/styled-system/recipes/index.d.mts +0 -74
- package/dist/src/styled-system/recipes/index.mjs +0 -73
- package/dist/src/styled-system/recipes/inline-code.d.mts +0 -32
- package/dist/src/styled-system/recipes/inline-code.mjs +0 -24
- package/dist/src/styled-system/recipes/input.d.mts +0 -32
- package/dist/src/styled-system/recipes/input.mjs +0 -24
- package/dist/src/styled-system/recipes/label.d.mts +0 -32
- package/dist/src/styled-system/recipes/label.mjs +0 -24
- package/dist/src/styled-system/recipes/large.d.mts +0 -32
- package/dist/src/styled-system/recipes/large.mjs +0 -24
- package/dist/src/styled-system/recipes/lead.d.mts +0 -32
- package/dist/src/styled-system/recipes/lead.mjs +0 -24
- package/dist/src/styled-system/recipes/link.d.mts +0 -32
- package/dist/src/styled-system/recipes/link.mjs +0 -24
- package/dist/src/styled-system/recipes/list.d.mts +0 -32
- package/dist/src/styled-system/recipes/list.mjs +0 -24
- package/dist/src/styled-system/recipes/menubar.d.mts +0 -32
- package/dist/src/styled-system/recipes/menubar.mjs +0 -96
- package/dist/src/styled-system/recipes/muted.d.mts +0 -32
- package/dist/src/styled-system/recipes/muted.mjs +0 -24
- package/dist/src/styled-system/recipes/navigation-menu.d.mts +0 -32
- package/dist/src/styled-system/recipes/navigation-menu.mjs +0 -64
- package/dist/src/styled-system/recipes/p.d.mts +0 -32
- package/dist/src/styled-system/recipes/p.mjs +0 -24
- package/dist/src/styled-system/recipes/popover.d.mts +0 -32
- package/dist/src/styled-system/recipes/popover.mjs +0 -44
- package/dist/src/styled-system/recipes/progress.d.mts +0 -32
- package/dist/src/styled-system/recipes/progress.mjs +0 -36
- package/dist/src/styled-system/recipes/radio-group.d.mts +0 -32
- package/dist/src/styled-system/recipes/radio-group.mjs +0 -44
- package/dist/src/styled-system/recipes/scroll-area.d.mts +0 -32
- package/dist/src/styled-system/recipes/scroll-area.mjs +0 -48
- package/dist/src/styled-system/recipes/select.d.mts +0 -32
- package/dist/src/styled-system/recipes/select.mjs +0 -68
- package/dist/src/styled-system/recipes/separator.d.mts +0 -35
- package/dist/src/styled-system/recipes/separator.mjs +0 -31
- package/dist/src/styled-system/recipes/sheet.d.mts +0 -35
- package/dist/src/styled-system/recipes/sheet.mjs +0 -83
- package/dist/src/styled-system/recipes/skeleton.d.mts +0 -32
- package/dist/src/styled-system/recipes/skeleton.mjs +0 -24
- package/dist/src/styled-system/recipes/slider.d.mts +0 -32
- package/dist/src/styled-system/recipes/slider.mjs +0 -44
- package/dist/src/styled-system/recipes/small.d.mts +0 -32
- package/dist/src/styled-system/recipes/small.mjs +0 -24
- package/dist/src/styled-system/recipes/switch-recipe.d.mts +0 -32
- package/dist/src/styled-system/recipes/switch-recipe.mjs +0 -36
- package/dist/src/styled-system/recipes/table-body.d.mts +0 -32
- package/dist/src/styled-system/recipes/table-body.mjs +0 -24
- package/dist/src/styled-system/recipes/table-caption.d.mts +0 -32
- package/dist/src/styled-system/recipes/table-caption.mjs +0 -24
- package/dist/src/styled-system/recipes/table-cell.d.mts +0 -32
- package/dist/src/styled-system/recipes/table-cell.mjs +0 -24
- package/dist/src/styled-system/recipes/table-container.d.mts +0 -32
- package/dist/src/styled-system/recipes/table-container.mjs +0 -24
- package/dist/src/styled-system/recipes/table-footer.d.mts +0 -32
- package/dist/src/styled-system/recipes/table-footer.mjs +0 -24
- package/dist/src/styled-system/recipes/table-head.d.mts +0 -32
- package/dist/src/styled-system/recipes/table-head.mjs +0 -24
- package/dist/src/styled-system/recipes/table-header.d.mts +0 -32
- package/dist/src/styled-system/recipes/table-header.mjs +0 -24
- package/dist/src/styled-system/recipes/table-row.d.mts +0 -32
- package/dist/src/styled-system/recipes/table-row.mjs +0 -24
- package/dist/src/styled-system/recipes/table.d.mts +0 -32
- package/dist/src/styled-system/recipes/table.mjs +0 -24
- package/dist/src/styled-system/recipes/tabs.d.mts +0 -32
- package/dist/src/styled-system/recipes/tabs.mjs +0 -44
- package/dist/src/styled-system/recipes/textarea.d.mts +0 -32
- package/dist/src/styled-system/recipes/textarea.mjs +0 -24
- package/dist/src/styled-system/recipes/toast-viewport.d.mts +0 -32
- package/dist/src/styled-system/recipes/toast-viewport.mjs +0 -24
- package/dist/src/styled-system/recipes/toast.d.mts +0 -35
- package/dist/src/styled-system/recipes/toast.mjs +0 -61
- package/dist/src/styled-system/recipes/toggle.d.mts +0 -39
- package/dist/src/styled-system/recipes/toggle.mjs +0 -37
- package/dist/src/styled-system/recipes/tooltip.d.mts +0 -32
- package/dist/src/styled-system/recipes/tooltip.mjs +0 -40
- package/dist/src/styled-system/recipes/typography-table-container.d.mts +0 -32
- package/dist/src/styled-system/recipes/typography-table-container.mjs +0 -24
- package/dist/src/styled-system/recipes/typography-table.d.mts +0 -32
- package/dist/src/styled-system/recipes/typography-table.mjs +0 -24
- package/dist/src/styled-system/tokens/index.d.mts +0 -9
- package/dist/src/styled-system/tokens/index.mjs +0 -2732
- package/dist/src/styled-system/tokens/tokens.d.mts +0 -63
- package/dist/src/styled-system/types/composition.d.mts +0 -164
- package/dist/src/styled-system/types/conditions.d.mts +0 -322
- package/dist/src/styled-system/types/csstype.d.mts +0 -21298
- package/dist/src/styled-system/types/global.d.mts +0 -20
- package/dist/src/styled-system/types/index.d.mts +0 -7
- package/dist/src/styled-system/types/parts.d.mts +0 -8
- package/dist/src/styled-system/types/pattern.d.mts +0 -78
- package/dist/src/styled-system/types/prop-type.d.mts +0 -264
- package/dist/src/styled-system/types/recipe.d.mts +0 -181
- package/dist/src/styled-system/types/selectors.d.mts +0 -59
- package/dist/src/styled-system/types/static-css.d.mts +0 -56
- package/dist/src/styled-system/types/style-props.d.mts +0 -7549
- package/dist/src/styled-system/types/system-types.d.mts +0 -193
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const alertTitleFn = /* @__PURE__ */ createRecipe('alertTitle', {}, [])
|
|
5
|
-
|
|
6
|
-
const alertTitleVariantMap = {}
|
|
7
|
-
|
|
8
|
-
const alertTitleVariantKeys = Object.keys(alertTitleVariantMap)
|
|
9
|
-
|
|
10
|
-
export const alertTitle = /* @__PURE__ */ Object.assign(memo(alertTitleFn.recipeFn), {
|
|
11
|
-
__recipe__: true,
|
|
12
|
-
__name__: 'alertTitle',
|
|
13
|
-
__getCompoundVariantCss__: alertTitleFn.__getCompoundVariantCss__,
|
|
14
|
-
raw: (props) => props,
|
|
15
|
-
variantKeys: alertTitleVariantKeys,
|
|
16
|
-
variantMap: alertTitleVariantMap,
|
|
17
|
-
merge(recipe) {
|
|
18
|
-
return mergeRecipes(this, recipe)
|
|
19
|
-
},
|
|
20
|
-
splitVariantProps(props) {
|
|
21
|
-
return splitProps(props, alertTitleVariantKeys)
|
|
22
|
-
},
|
|
23
|
-
getVariantProps: alertTitleFn.getVariantProps,
|
|
24
|
-
})
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
import type { ConditionalValue } from '../types/index.d.mts';
|
|
3
|
-
import type { DistributiveOmit, Pretty } from '../types/system-types.d.mts';
|
|
4
|
-
|
|
5
|
-
interface AlertVariant {
|
|
6
|
-
/**
|
|
7
|
-
* @default "default"
|
|
8
|
-
*/
|
|
9
|
-
variant: "default" | "destructive"
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
type AlertVariantMap = {
|
|
13
|
-
[key in keyof AlertVariant]: Array<AlertVariant[key]>
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export type AlertVariantProps = {
|
|
17
|
-
[key in keyof AlertVariant]?: ConditionalValue<AlertVariant[key]> | undefined
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export interface AlertRecipe {
|
|
21
|
-
__type: AlertVariantProps
|
|
22
|
-
(props?: AlertVariantProps): string
|
|
23
|
-
raw: (props?: AlertVariantProps) => AlertVariantProps
|
|
24
|
-
variantMap: AlertVariantMap
|
|
25
|
-
variantKeys: Array<keyof AlertVariant>
|
|
26
|
-
splitVariantProps<Props extends AlertVariantProps>(props: Props): [AlertVariantProps, Pretty<DistributiveOmit<Props, keyof AlertVariantProps>>]
|
|
27
|
-
getVariantProps: (props?: AlertVariantProps) => AlertVariantProps
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Styles for the Alert component
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
*/
|
|
35
|
-
export declare const alert: AlertRecipe
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const alertFn = /* @__PURE__ */ createRecipe('alert', {
|
|
5
|
-
"variant": "default"
|
|
6
|
-
}, [])
|
|
7
|
-
|
|
8
|
-
const alertVariantMap = {
|
|
9
|
-
"variant": [
|
|
10
|
-
"default",
|
|
11
|
-
"destructive"
|
|
12
|
-
]
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
const alertVariantKeys = Object.keys(alertVariantMap)
|
|
16
|
-
|
|
17
|
-
export const alert = /* @__PURE__ */ Object.assign(memo(alertFn.recipeFn), {
|
|
18
|
-
__recipe__: true,
|
|
19
|
-
__name__: 'alert',
|
|
20
|
-
__getCompoundVariantCss__: alertFn.__getCompoundVariantCss__,
|
|
21
|
-
raw: (props) => props,
|
|
22
|
-
variantKeys: alertVariantKeys,
|
|
23
|
-
variantMap: alertVariantMap,
|
|
24
|
-
merge(recipe) {
|
|
25
|
-
return mergeRecipes(this, recipe)
|
|
26
|
-
},
|
|
27
|
-
splitVariantProps(props) {
|
|
28
|
-
return splitProps(props, alertVariantKeys)
|
|
29
|
-
},
|
|
30
|
-
getVariantProps: alertFn.getVariantProps,
|
|
31
|
-
})
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
import type { ConditionalValue } from '../types/index.d.mts';
|
|
3
|
-
import type { DistributiveOmit, Pretty } from '../types/system-types.d.mts';
|
|
4
|
-
|
|
5
|
-
interface AvatarVariant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type AvatarVariantMap = {
|
|
10
|
-
[key in keyof AvatarVariant]: Array<AvatarVariant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type AvatarVariantProps = {
|
|
14
|
-
[key in keyof AvatarVariant]?: ConditionalValue<AvatarVariant[key]> | undefined
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface AvatarRecipe {
|
|
18
|
-
__type: AvatarVariantProps
|
|
19
|
-
(props?: AvatarVariantProps): Pretty<Record<"root" | "image" | "fallback", string>>
|
|
20
|
-
raw: (props?: AvatarVariantProps) => AvatarVariantProps
|
|
21
|
-
variantMap: AvatarVariantMap
|
|
22
|
-
variantKeys: Array<keyof AvatarVariant>
|
|
23
|
-
splitVariantProps<Props extends AvatarVariantProps>(props: Props): [AvatarVariantProps, Pretty<DistributiveOmit<Props, keyof AvatarVariantProps>>]
|
|
24
|
-
getVariantProps: (props?: AvatarVariantProps) => AvatarVariantProps
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Styles for the Avatar component
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
export declare const avatar: AvatarRecipe
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const avatarDefaultVariants = {}
|
|
5
|
-
const avatarCompoundVariants = []
|
|
6
|
-
|
|
7
|
-
const avatarSlotNames = [
|
|
8
|
-
[
|
|
9
|
-
"root",
|
|
10
|
-
"avatar__root"
|
|
11
|
-
],
|
|
12
|
-
[
|
|
13
|
-
"image",
|
|
14
|
-
"avatar__image"
|
|
15
|
-
],
|
|
16
|
-
[
|
|
17
|
-
"fallback",
|
|
18
|
-
"avatar__fallback"
|
|
19
|
-
]
|
|
20
|
-
]
|
|
21
|
-
const avatarSlotFns = /* @__PURE__ */ avatarSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, avatarDefaultVariants, getSlotCompoundVariant(avatarCompoundVariants, slotName))])
|
|
22
|
-
|
|
23
|
-
const avatarFn = memo((props = {}) => {
|
|
24
|
-
return Object.fromEntries(avatarSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
25
|
-
})
|
|
26
|
-
|
|
27
|
-
const avatarVariantKeys = []
|
|
28
|
-
const getVariantProps = (variants) => ({ ...avatarDefaultVariants, ...compact(variants) })
|
|
29
|
-
|
|
30
|
-
export const avatar = /* @__PURE__ */ Object.assign(avatarFn, {
|
|
31
|
-
__recipe__: false,
|
|
32
|
-
__name__: 'avatar',
|
|
33
|
-
raw: (props) => props,
|
|
34
|
-
variantKeys: avatarVariantKeys,
|
|
35
|
-
variantMap: {},
|
|
36
|
-
splitVariantProps(props) {
|
|
37
|
-
return splitProps(props, avatarVariantKeys)
|
|
38
|
-
},
|
|
39
|
-
getVariantProps
|
|
40
|
-
})
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
import type { ConditionalValue } from '../types/index.d.mts';
|
|
3
|
-
import type { DistributiveOmit, Pretty } from '../types/system-types.d.mts';
|
|
4
|
-
|
|
5
|
-
interface BadgeVariant {
|
|
6
|
-
/**
|
|
7
|
-
* @default "default"
|
|
8
|
-
*/
|
|
9
|
-
variant: "default" | "secondary" | "destructive" | "outline"
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
type BadgeVariantMap = {
|
|
13
|
-
[key in keyof BadgeVariant]: Array<BadgeVariant[key]>
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export type BadgeVariantProps = {
|
|
17
|
-
[key in keyof BadgeVariant]?: ConditionalValue<BadgeVariant[key]> | undefined
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export interface BadgeRecipe {
|
|
21
|
-
__type: BadgeVariantProps
|
|
22
|
-
(props?: BadgeVariantProps): string
|
|
23
|
-
raw: (props?: BadgeVariantProps) => BadgeVariantProps
|
|
24
|
-
variantMap: BadgeVariantMap
|
|
25
|
-
variantKeys: Array<keyof BadgeVariant>
|
|
26
|
-
splitVariantProps<Props extends BadgeVariantProps>(props: Props): [BadgeVariantProps, Pretty<DistributiveOmit<Props, keyof BadgeVariantProps>>]
|
|
27
|
-
getVariantProps: (props?: BadgeVariantProps) => BadgeVariantProps
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Styles for the Badge component
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
*/
|
|
35
|
-
export declare const badge: BadgeRecipe
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const badgeFn = /* @__PURE__ */ createRecipe('badge', {
|
|
5
|
-
"variant": "default"
|
|
6
|
-
}, [])
|
|
7
|
-
|
|
8
|
-
const badgeVariantMap = {
|
|
9
|
-
"variant": [
|
|
10
|
-
"default",
|
|
11
|
-
"secondary",
|
|
12
|
-
"destructive",
|
|
13
|
-
"outline"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
const badgeVariantKeys = Object.keys(badgeVariantMap)
|
|
18
|
-
|
|
19
|
-
export const badge = /* @__PURE__ */ Object.assign(memo(badgeFn.recipeFn), {
|
|
20
|
-
__recipe__: true,
|
|
21
|
-
__name__: 'badge',
|
|
22
|
-
__getCompoundVariantCss__: badgeFn.__getCompoundVariantCss__,
|
|
23
|
-
raw: (props) => props,
|
|
24
|
-
variantKeys: badgeVariantKeys,
|
|
25
|
-
variantMap: badgeVariantMap,
|
|
26
|
-
merge(recipe) {
|
|
27
|
-
return mergeRecipes(this, recipe)
|
|
28
|
-
},
|
|
29
|
-
splitVariantProps(props) {
|
|
30
|
-
return splitProps(props, badgeVariantKeys)
|
|
31
|
-
},
|
|
32
|
-
getVariantProps: badgeFn.getVariantProps,
|
|
33
|
-
})
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
import type { ConditionalValue } from '../types/index.d.mts';
|
|
3
|
-
import type { DistributiveOmit, Pretty } from '../types/system-types.d.mts';
|
|
4
|
-
|
|
5
|
-
interface BlockquoteVariant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type BlockquoteVariantMap = {
|
|
10
|
-
[key in keyof BlockquoteVariant]: Array<BlockquoteVariant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type BlockquoteVariantProps = {
|
|
14
|
-
[key in keyof BlockquoteVariant]?: ConditionalValue<BlockquoteVariant[key]> | undefined
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface BlockquoteRecipe {
|
|
18
|
-
__type: BlockquoteVariantProps
|
|
19
|
-
(props?: BlockquoteVariantProps): string
|
|
20
|
-
raw: (props?: BlockquoteVariantProps) => BlockquoteVariantProps
|
|
21
|
-
variantMap: BlockquoteVariantMap
|
|
22
|
-
variantKeys: Array<keyof BlockquoteVariant>
|
|
23
|
-
splitVariantProps<Props extends BlockquoteVariantProps>(props: Props): [BlockquoteVariantProps, Pretty<DistributiveOmit<Props, keyof BlockquoteVariantProps>>]
|
|
24
|
-
getVariantProps: (props?: BlockquoteVariantProps) => BlockquoteVariantProps
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Typography - blockquote style
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
export declare const blockquote: BlockquoteRecipe
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const blockquoteFn = /* @__PURE__ */ createRecipe('blockquote', {}, [])
|
|
5
|
-
|
|
6
|
-
const blockquoteVariantMap = {}
|
|
7
|
-
|
|
8
|
-
const blockquoteVariantKeys = Object.keys(blockquoteVariantMap)
|
|
9
|
-
|
|
10
|
-
export const blockquote = /* @__PURE__ */ Object.assign(memo(blockquoteFn.recipeFn), {
|
|
11
|
-
__recipe__: true,
|
|
12
|
-
__name__: 'blockquote',
|
|
13
|
-
__getCompoundVariantCss__: blockquoteFn.__getCompoundVariantCss__,
|
|
14
|
-
raw: (props) => props,
|
|
15
|
-
variantKeys: blockquoteVariantKeys,
|
|
16
|
-
variantMap: blockquoteVariantMap,
|
|
17
|
-
merge(recipe) {
|
|
18
|
-
return mergeRecipes(this, recipe)
|
|
19
|
-
},
|
|
20
|
-
splitVariantProps(props) {
|
|
21
|
-
return splitProps(props, blockquoteVariantKeys)
|
|
22
|
-
},
|
|
23
|
-
getVariantProps: blockquoteFn.getVariantProps,
|
|
24
|
-
})
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
import type { ConditionalValue } from '../types/index.d.mts';
|
|
3
|
-
import type { DistributiveOmit, Pretty } from '../types/system-types.d.mts';
|
|
4
|
-
|
|
5
|
-
interface ButtonVariant {
|
|
6
|
-
/**
|
|
7
|
-
* @default "default"
|
|
8
|
-
*/
|
|
9
|
-
variant: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link"
|
|
10
|
-
/**
|
|
11
|
-
* @default "default"
|
|
12
|
-
*/
|
|
13
|
-
size: "default" | "sm" | "lg" | "icon"
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
type ButtonVariantMap = {
|
|
17
|
-
[key in keyof ButtonVariant]: Array<ButtonVariant[key]>
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export type ButtonVariantProps = {
|
|
21
|
-
[key in keyof ButtonVariant]?: ConditionalValue<ButtonVariant[key]> | undefined
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export interface ButtonRecipe {
|
|
25
|
-
__type: ButtonVariantProps
|
|
26
|
-
(props?: ButtonVariantProps): string
|
|
27
|
-
raw: (props?: ButtonVariantProps) => ButtonVariantProps
|
|
28
|
-
variantMap: ButtonVariantMap
|
|
29
|
-
variantKeys: Array<keyof ButtonVariant>
|
|
30
|
-
splitVariantProps<Props extends ButtonVariantProps>(props: Props): [ButtonVariantProps, Pretty<DistributiveOmit<Props, keyof ButtonVariantProps>>]
|
|
31
|
-
getVariantProps: (props?: ButtonVariantProps) => ButtonVariantProps
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Styles for the Button component
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
*/
|
|
39
|
-
export declare const button: ButtonRecipe
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const buttonFn = /* @__PURE__ */ createRecipe('button', {
|
|
5
|
-
"variant": "default",
|
|
6
|
-
"size": "default"
|
|
7
|
-
}, [])
|
|
8
|
-
|
|
9
|
-
const buttonVariantMap = {
|
|
10
|
-
"variant": [
|
|
11
|
-
"default",
|
|
12
|
-
"destructive",
|
|
13
|
-
"outline",
|
|
14
|
-
"secondary",
|
|
15
|
-
"ghost",
|
|
16
|
-
"link"
|
|
17
|
-
],
|
|
18
|
-
"size": [
|
|
19
|
-
"default",
|
|
20
|
-
"sm",
|
|
21
|
-
"lg",
|
|
22
|
-
"icon"
|
|
23
|
-
]
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
const buttonVariantKeys = Object.keys(buttonVariantMap)
|
|
27
|
-
|
|
28
|
-
export const button = /* @__PURE__ */ Object.assign(memo(buttonFn.recipeFn), {
|
|
29
|
-
__recipe__: true,
|
|
30
|
-
__name__: 'button',
|
|
31
|
-
__getCompoundVariantCss__: buttonFn.__getCompoundVariantCss__,
|
|
32
|
-
raw: (props) => props,
|
|
33
|
-
variantKeys: buttonVariantKeys,
|
|
34
|
-
variantMap: buttonVariantMap,
|
|
35
|
-
merge(recipe) {
|
|
36
|
-
return mergeRecipes(this, recipe)
|
|
37
|
-
},
|
|
38
|
-
splitVariantProps(props) {
|
|
39
|
-
return splitProps(props, buttonVariantKeys)
|
|
40
|
-
},
|
|
41
|
-
getVariantProps: buttonFn.getVariantProps,
|
|
42
|
-
})
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
import type { ConditionalValue } from '../types/index.d.mts';
|
|
3
|
-
import type { DistributiveOmit, Pretty } from '../types/system-types.d.mts';
|
|
4
|
-
|
|
5
|
-
interface CalendarVariant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type CalendarVariantMap = {
|
|
10
|
-
[key in keyof CalendarVariant]: Array<CalendarVariant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type CalendarVariantProps = {
|
|
14
|
-
[key in keyof CalendarVariant]?: ConditionalValue<CalendarVariant[key]> | undefined
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface CalendarRecipe {
|
|
18
|
-
__type: CalendarVariantProps
|
|
19
|
-
(props?: CalendarVariantProps): Pretty<Record<"root" | "months" | "month" | "caption" | "caption_label" | "nav" | "nav_button" | "nav_button_previous" | "nav_button_next" | "table" | "head_row" | "head_cell" | "row" | "cell" | "day" | "day_selected" | "day_today" | "day_outside" | "day_disabled" | "day_range_start" | "day_range_middle" | "day_range_end" | "day_hidden", string>>
|
|
20
|
-
raw: (props?: CalendarVariantProps) => CalendarVariantProps
|
|
21
|
-
variantMap: CalendarVariantMap
|
|
22
|
-
variantKeys: Array<keyof CalendarVariant>
|
|
23
|
-
splitVariantProps<Props extends CalendarVariantProps>(props: Props): [CalendarVariantProps, Pretty<DistributiveOmit<Props, keyof CalendarVariantProps>>]
|
|
24
|
-
getVariantProps: (props?: CalendarVariantProps) => CalendarVariantProps
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Styles for the Calendar component
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
export declare const calendar: CalendarRecipe
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const calendarDefaultVariants = {}
|
|
5
|
-
const calendarCompoundVariants = []
|
|
6
|
-
|
|
7
|
-
const calendarSlotNames = [
|
|
8
|
-
[
|
|
9
|
-
"root",
|
|
10
|
-
"calendar__root"
|
|
11
|
-
],
|
|
12
|
-
[
|
|
13
|
-
"months",
|
|
14
|
-
"calendar__months"
|
|
15
|
-
],
|
|
16
|
-
[
|
|
17
|
-
"month",
|
|
18
|
-
"calendar__month"
|
|
19
|
-
],
|
|
20
|
-
[
|
|
21
|
-
"caption",
|
|
22
|
-
"calendar__caption"
|
|
23
|
-
],
|
|
24
|
-
[
|
|
25
|
-
"caption_label",
|
|
26
|
-
"calendar__caption_label"
|
|
27
|
-
],
|
|
28
|
-
[
|
|
29
|
-
"nav",
|
|
30
|
-
"calendar__nav"
|
|
31
|
-
],
|
|
32
|
-
[
|
|
33
|
-
"nav_button",
|
|
34
|
-
"calendar__nav_button"
|
|
35
|
-
],
|
|
36
|
-
[
|
|
37
|
-
"nav_button_previous",
|
|
38
|
-
"calendar__nav_button_previous"
|
|
39
|
-
],
|
|
40
|
-
[
|
|
41
|
-
"nav_button_next",
|
|
42
|
-
"calendar__nav_button_next"
|
|
43
|
-
],
|
|
44
|
-
[
|
|
45
|
-
"table",
|
|
46
|
-
"calendar__table"
|
|
47
|
-
],
|
|
48
|
-
[
|
|
49
|
-
"head_row",
|
|
50
|
-
"calendar__head_row"
|
|
51
|
-
],
|
|
52
|
-
[
|
|
53
|
-
"head_cell",
|
|
54
|
-
"calendar__head_cell"
|
|
55
|
-
],
|
|
56
|
-
[
|
|
57
|
-
"row",
|
|
58
|
-
"calendar__row"
|
|
59
|
-
],
|
|
60
|
-
[
|
|
61
|
-
"cell",
|
|
62
|
-
"calendar__cell"
|
|
63
|
-
],
|
|
64
|
-
[
|
|
65
|
-
"day",
|
|
66
|
-
"calendar__day"
|
|
67
|
-
],
|
|
68
|
-
[
|
|
69
|
-
"day_selected",
|
|
70
|
-
"calendar__day_selected"
|
|
71
|
-
],
|
|
72
|
-
[
|
|
73
|
-
"day_today",
|
|
74
|
-
"calendar__day_today"
|
|
75
|
-
],
|
|
76
|
-
[
|
|
77
|
-
"day_outside",
|
|
78
|
-
"calendar__day_outside"
|
|
79
|
-
],
|
|
80
|
-
[
|
|
81
|
-
"day_disabled",
|
|
82
|
-
"calendar__day_disabled"
|
|
83
|
-
],
|
|
84
|
-
[
|
|
85
|
-
"day_range_start",
|
|
86
|
-
"calendar__day_range_start"
|
|
87
|
-
],
|
|
88
|
-
[
|
|
89
|
-
"day_range_middle",
|
|
90
|
-
"calendar__day_range_middle"
|
|
91
|
-
],
|
|
92
|
-
[
|
|
93
|
-
"day_range_end",
|
|
94
|
-
"calendar__day_range_end"
|
|
95
|
-
],
|
|
96
|
-
[
|
|
97
|
-
"day_hidden",
|
|
98
|
-
"calendar__day_hidden"
|
|
99
|
-
]
|
|
100
|
-
]
|
|
101
|
-
const calendarSlotFns = /* @__PURE__ */ calendarSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, calendarDefaultVariants, getSlotCompoundVariant(calendarCompoundVariants, slotName))])
|
|
102
|
-
|
|
103
|
-
const calendarFn = memo((props = {}) => {
|
|
104
|
-
return Object.fromEntries(calendarSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
105
|
-
})
|
|
106
|
-
|
|
107
|
-
const calendarVariantKeys = []
|
|
108
|
-
const getVariantProps = (variants) => ({ ...calendarDefaultVariants, ...compact(variants) })
|
|
109
|
-
|
|
110
|
-
export const calendar = /* @__PURE__ */ Object.assign(calendarFn, {
|
|
111
|
-
__recipe__: false,
|
|
112
|
-
__name__: 'calendar',
|
|
113
|
-
raw: (props) => props,
|
|
114
|
-
variantKeys: calendarVariantKeys,
|
|
115
|
-
variantMap: {},
|
|
116
|
-
splitVariantProps(props) {
|
|
117
|
-
return splitProps(props, calendarVariantKeys)
|
|
118
|
-
},
|
|
119
|
-
getVariantProps
|
|
120
|
-
})
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
import type { ConditionalValue } from '../types/index.d.mts';
|
|
3
|
-
import type { DistributiveOmit, Pretty } from '../types/system-types.d.mts';
|
|
4
|
-
|
|
5
|
-
interface CardContentVariant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type CardContentVariantMap = {
|
|
10
|
-
[key in keyof CardContentVariant]: Array<CardContentVariant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type CardContentVariantProps = {
|
|
14
|
-
[key in keyof CardContentVariant]?: ConditionalValue<CardContentVariant[key]> | undefined
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface CardContentRecipe {
|
|
18
|
-
__type: CardContentVariantProps
|
|
19
|
-
(props?: CardContentVariantProps): string
|
|
20
|
-
raw: (props?: CardContentVariantProps) => CardContentVariantProps
|
|
21
|
-
variantMap: CardContentVariantMap
|
|
22
|
-
variantKeys: Array<keyof CardContentVariant>
|
|
23
|
-
splitVariantProps<Props extends CardContentVariantProps>(props: Props): [CardContentVariantProps, Pretty<DistributiveOmit<Props, keyof CardContentVariantProps>>]
|
|
24
|
-
getVariantProps: (props?: CardContentVariantProps) => CardContentVariantProps
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Styles for the CardContent component
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
export declare const cardContent: CardContentRecipe
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const cardContentFn = /* @__PURE__ */ createRecipe('cardContent', {}, [])
|
|
5
|
-
|
|
6
|
-
const cardContentVariantMap = {}
|
|
7
|
-
|
|
8
|
-
const cardContentVariantKeys = Object.keys(cardContentVariantMap)
|
|
9
|
-
|
|
10
|
-
export const cardContent = /* @__PURE__ */ Object.assign(memo(cardContentFn.recipeFn), {
|
|
11
|
-
__recipe__: true,
|
|
12
|
-
__name__: 'cardContent',
|
|
13
|
-
__getCompoundVariantCss__: cardContentFn.__getCompoundVariantCss__,
|
|
14
|
-
raw: (props) => props,
|
|
15
|
-
variantKeys: cardContentVariantKeys,
|
|
16
|
-
variantMap: cardContentVariantMap,
|
|
17
|
-
merge(recipe) {
|
|
18
|
-
return mergeRecipes(this, recipe)
|
|
19
|
-
},
|
|
20
|
-
splitVariantProps(props) {
|
|
21
|
-
return splitProps(props, cardContentVariantKeys)
|
|
22
|
-
},
|
|
23
|
-
getVariantProps: cardContentFn.getVariantProps,
|
|
24
|
-
})
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
import type { ConditionalValue } from '../types/index.d.mts';
|
|
3
|
-
import type { DistributiveOmit, Pretty } from '../types/system-types.d.mts';
|
|
4
|
-
|
|
5
|
-
interface CardDescriptionVariant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type CardDescriptionVariantMap = {
|
|
10
|
-
[key in keyof CardDescriptionVariant]: Array<CardDescriptionVariant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type CardDescriptionVariantProps = {
|
|
14
|
-
[key in keyof CardDescriptionVariant]?: ConditionalValue<CardDescriptionVariant[key]> | undefined
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface CardDescriptionRecipe {
|
|
18
|
-
__type: CardDescriptionVariantProps
|
|
19
|
-
(props?: CardDescriptionVariantProps): string
|
|
20
|
-
raw: (props?: CardDescriptionVariantProps) => CardDescriptionVariantProps
|
|
21
|
-
variantMap: CardDescriptionVariantMap
|
|
22
|
-
variantKeys: Array<keyof CardDescriptionVariant>
|
|
23
|
-
splitVariantProps<Props extends CardDescriptionVariantProps>(props: Props): [CardDescriptionVariantProps, Pretty<DistributiveOmit<Props, keyof CardDescriptionVariantProps>>]
|
|
24
|
-
getVariantProps: (props?: CardDescriptionVariantProps) => CardDescriptionVariantProps
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Styles for the CardDescription component
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
export declare const cardDescription: CardDescriptionRecipe
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const cardDescriptionFn = /* @__PURE__ */ createRecipe('cardDescription', {}, [])
|
|
5
|
-
|
|
6
|
-
const cardDescriptionVariantMap = {}
|
|
7
|
-
|
|
8
|
-
const cardDescriptionVariantKeys = Object.keys(cardDescriptionVariantMap)
|
|
9
|
-
|
|
10
|
-
export const cardDescription = /* @__PURE__ */ Object.assign(memo(cardDescriptionFn.recipeFn), {
|
|
11
|
-
__recipe__: true,
|
|
12
|
-
__name__: 'cardDescription',
|
|
13
|
-
__getCompoundVariantCss__: cardDescriptionFn.__getCompoundVariantCss__,
|
|
14
|
-
raw: (props) => props,
|
|
15
|
-
variantKeys: cardDescriptionVariantKeys,
|
|
16
|
-
variantMap: cardDescriptionVariantMap,
|
|
17
|
-
merge(recipe) {
|
|
18
|
-
return mergeRecipes(this, recipe)
|
|
19
|
-
},
|
|
20
|
-
splitVariantProps(props) {
|
|
21
|
-
return splitProps(props, cardDescriptionVariantKeys)
|
|
22
|
-
},
|
|
23
|
-
getVariantProps: cardDescriptionFn.getVariantProps,
|
|
24
|
-
})
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
import type { ConditionalValue } from '../types/index.d.mts';
|
|
3
|
-
import type { DistributiveOmit, Pretty } from '../types/system-types.d.mts';
|
|
4
|
-
|
|
5
|
-
interface CardFooterVariant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type CardFooterVariantMap = {
|
|
10
|
-
[key in keyof CardFooterVariant]: Array<CardFooterVariant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type CardFooterVariantProps = {
|
|
14
|
-
[key in keyof CardFooterVariant]?: ConditionalValue<CardFooterVariant[key]> | undefined
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface CardFooterRecipe {
|
|
18
|
-
__type: CardFooterVariantProps
|
|
19
|
-
(props?: CardFooterVariantProps): string
|
|
20
|
-
raw: (props?: CardFooterVariantProps) => CardFooterVariantProps
|
|
21
|
-
variantMap: CardFooterVariantMap
|
|
22
|
-
variantKeys: Array<keyof CardFooterVariant>
|
|
23
|
-
splitVariantProps<Props extends CardFooterVariantProps>(props: Props): [CardFooterVariantProps, Pretty<DistributiveOmit<Props, keyof CardFooterVariantProps>>]
|
|
24
|
-
getVariantProps: (props?: CardFooterVariantProps) => CardFooterVariantProps
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Styles for the CardFooter component
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
export declare const cardFooter: CardFooterRecipe
|