@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,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 H2Variant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type H2VariantMap = {
|
|
10
|
-
[key in keyof H2Variant]: Array<H2Variant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type H2VariantProps = {
|
|
14
|
-
[key in keyof H2Variant]?: ConditionalValue<H2Variant[key]> | undefined
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface H2Recipe {
|
|
18
|
-
__type: H2VariantProps
|
|
19
|
-
(props?: H2VariantProps): string
|
|
20
|
-
raw: (props?: H2VariantProps) => H2VariantProps
|
|
21
|
-
variantMap: H2VariantMap
|
|
22
|
-
variantKeys: Array<keyof H2Variant>
|
|
23
|
-
splitVariantProps<Props extends H2VariantProps>(props: Props): [H2VariantProps, Pretty<DistributiveOmit<Props, keyof H2VariantProps>>]
|
|
24
|
-
getVariantProps: (props?: H2VariantProps) => H2VariantProps
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Typography - h2 style
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
export declare const h2: H2Recipe
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const h2Fn = /* @__PURE__ */ createRecipe('h2', {}, [])
|
|
5
|
-
|
|
6
|
-
const h2VariantMap = {}
|
|
7
|
-
|
|
8
|
-
const h2VariantKeys = Object.keys(h2VariantMap)
|
|
9
|
-
|
|
10
|
-
export const h2 = /* @__PURE__ */ Object.assign(memo(h2Fn.recipeFn), {
|
|
11
|
-
__recipe__: true,
|
|
12
|
-
__name__: 'h2',
|
|
13
|
-
__getCompoundVariantCss__: h2Fn.__getCompoundVariantCss__,
|
|
14
|
-
raw: (props) => props,
|
|
15
|
-
variantKeys: h2VariantKeys,
|
|
16
|
-
variantMap: h2VariantMap,
|
|
17
|
-
merge(recipe) {
|
|
18
|
-
return mergeRecipes(this, recipe)
|
|
19
|
-
},
|
|
20
|
-
splitVariantProps(props) {
|
|
21
|
-
return splitProps(props, h2VariantKeys)
|
|
22
|
-
},
|
|
23
|
-
getVariantProps: h2Fn.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 H3Variant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type H3VariantMap = {
|
|
10
|
-
[key in keyof H3Variant]: Array<H3Variant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type H3VariantProps = {
|
|
14
|
-
[key in keyof H3Variant]?: ConditionalValue<H3Variant[key]> | undefined
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface H3Recipe {
|
|
18
|
-
__type: H3VariantProps
|
|
19
|
-
(props?: H3VariantProps): string
|
|
20
|
-
raw: (props?: H3VariantProps) => H3VariantProps
|
|
21
|
-
variantMap: H3VariantMap
|
|
22
|
-
variantKeys: Array<keyof H3Variant>
|
|
23
|
-
splitVariantProps<Props extends H3VariantProps>(props: Props): [H3VariantProps, Pretty<DistributiveOmit<Props, keyof H3VariantProps>>]
|
|
24
|
-
getVariantProps: (props?: H3VariantProps) => H3VariantProps
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Typography - h3 style
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
export declare const h3: H3Recipe
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const h3Fn = /* @__PURE__ */ createRecipe('h3', {}, [])
|
|
5
|
-
|
|
6
|
-
const h3VariantMap = {}
|
|
7
|
-
|
|
8
|
-
const h3VariantKeys = Object.keys(h3VariantMap)
|
|
9
|
-
|
|
10
|
-
export const h3 = /* @__PURE__ */ Object.assign(memo(h3Fn.recipeFn), {
|
|
11
|
-
__recipe__: true,
|
|
12
|
-
__name__: 'h3',
|
|
13
|
-
__getCompoundVariantCss__: h3Fn.__getCompoundVariantCss__,
|
|
14
|
-
raw: (props) => props,
|
|
15
|
-
variantKeys: h3VariantKeys,
|
|
16
|
-
variantMap: h3VariantMap,
|
|
17
|
-
merge(recipe) {
|
|
18
|
-
return mergeRecipes(this, recipe)
|
|
19
|
-
},
|
|
20
|
-
splitVariantProps(props) {
|
|
21
|
-
return splitProps(props, h3VariantKeys)
|
|
22
|
-
},
|
|
23
|
-
getVariantProps: h3Fn.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 H4Variant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type H4VariantMap = {
|
|
10
|
-
[key in keyof H4Variant]: Array<H4Variant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type H4VariantProps = {
|
|
14
|
-
[key in keyof H4Variant]?: ConditionalValue<H4Variant[key]> | undefined
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface H4Recipe {
|
|
18
|
-
__type: H4VariantProps
|
|
19
|
-
(props?: H4VariantProps): string
|
|
20
|
-
raw: (props?: H4VariantProps) => H4VariantProps
|
|
21
|
-
variantMap: H4VariantMap
|
|
22
|
-
variantKeys: Array<keyof H4Variant>
|
|
23
|
-
splitVariantProps<Props extends H4VariantProps>(props: Props): [H4VariantProps, Pretty<DistributiveOmit<Props, keyof H4VariantProps>>]
|
|
24
|
-
getVariantProps: (props?: H4VariantProps) => H4VariantProps
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Typography - h4 style
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
export declare const h4: H4Recipe
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const h4Fn = /* @__PURE__ */ createRecipe('h4', {}, [])
|
|
5
|
-
|
|
6
|
-
const h4VariantMap = {}
|
|
7
|
-
|
|
8
|
-
const h4VariantKeys = Object.keys(h4VariantMap)
|
|
9
|
-
|
|
10
|
-
export const h4 = /* @__PURE__ */ Object.assign(memo(h4Fn.recipeFn), {
|
|
11
|
-
__recipe__: true,
|
|
12
|
-
__name__: 'h4',
|
|
13
|
-
__getCompoundVariantCss__: h4Fn.__getCompoundVariantCss__,
|
|
14
|
-
raw: (props) => props,
|
|
15
|
-
variantKeys: h4VariantKeys,
|
|
16
|
-
variantMap: h4VariantMap,
|
|
17
|
-
merge(recipe) {
|
|
18
|
-
return mergeRecipes(this, recipe)
|
|
19
|
-
},
|
|
20
|
-
splitVariantProps(props) {
|
|
21
|
-
return splitProps(props, h4VariantKeys)
|
|
22
|
-
},
|
|
23
|
-
getVariantProps: h4Fn.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 HoverCardVariant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type HoverCardVariantMap = {
|
|
10
|
-
[key in keyof HoverCardVariant]: Array<HoverCardVariant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type HoverCardVariantProps = {
|
|
14
|
-
[key in keyof HoverCardVariant]?: ConditionalValue<HoverCardVariant[key]> | undefined
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface HoverCardRecipe {
|
|
18
|
-
__type: HoverCardVariantProps
|
|
19
|
-
(props?: HoverCardVariantProps): Pretty<Record<"root" | "trigger" | "content", string>>
|
|
20
|
-
raw: (props?: HoverCardVariantProps) => HoverCardVariantProps
|
|
21
|
-
variantMap: HoverCardVariantMap
|
|
22
|
-
variantKeys: Array<keyof HoverCardVariant>
|
|
23
|
-
splitVariantProps<Props extends HoverCardVariantProps>(props: Props): [HoverCardVariantProps, Pretty<DistributiveOmit<Props, keyof HoverCardVariantProps>>]
|
|
24
|
-
getVariantProps: (props?: HoverCardVariantProps) => HoverCardVariantProps
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Styles for the HoverCard component
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
export declare const hoverCard: HoverCardRecipe
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const hoverCardDefaultVariants = {}
|
|
5
|
-
const hoverCardCompoundVariants = []
|
|
6
|
-
|
|
7
|
-
const hoverCardSlotNames = [
|
|
8
|
-
[
|
|
9
|
-
"root",
|
|
10
|
-
"hoverCard__root"
|
|
11
|
-
],
|
|
12
|
-
[
|
|
13
|
-
"trigger",
|
|
14
|
-
"hoverCard__trigger"
|
|
15
|
-
],
|
|
16
|
-
[
|
|
17
|
-
"content",
|
|
18
|
-
"hoverCard__content"
|
|
19
|
-
]
|
|
20
|
-
]
|
|
21
|
-
const hoverCardSlotFns = /* @__PURE__ */ hoverCardSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, hoverCardDefaultVariants, getSlotCompoundVariant(hoverCardCompoundVariants, slotName))])
|
|
22
|
-
|
|
23
|
-
const hoverCardFn = memo((props = {}) => {
|
|
24
|
-
return Object.fromEntries(hoverCardSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
25
|
-
})
|
|
26
|
-
|
|
27
|
-
const hoverCardVariantKeys = []
|
|
28
|
-
const getVariantProps = (variants) => ({ ...hoverCardDefaultVariants, ...compact(variants) })
|
|
29
|
-
|
|
30
|
-
export const hoverCard = /* @__PURE__ */ Object.assign(hoverCardFn, {
|
|
31
|
-
__recipe__: false,
|
|
32
|
-
__name__: 'hoverCard',
|
|
33
|
-
raw: (props) => props,
|
|
34
|
-
variantKeys: hoverCardVariantKeys,
|
|
35
|
-
variantMap: {},
|
|
36
|
-
splitVariantProps(props) {
|
|
37
|
-
return splitProps(props, hoverCardVariantKeys)
|
|
38
|
-
},
|
|
39
|
-
getVariantProps
|
|
40
|
-
})
|
|
@@ -1,51 +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 IconVariant {
|
|
6
|
-
/**
|
|
7
|
-
* @default "md"
|
|
8
|
-
*/
|
|
9
|
-
size: "xl" | "lg" | "md" | "sm" | "xs"
|
|
10
|
-
/**
|
|
11
|
-
* @default "none"
|
|
12
|
-
*/
|
|
13
|
-
left: "none" | "sm" | "auto"
|
|
14
|
-
/**
|
|
15
|
-
* @default "none"
|
|
16
|
-
*/
|
|
17
|
-
right: "none" | "sm" | "auto"
|
|
18
|
-
/**
|
|
19
|
-
* @default false
|
|
20
|
-
*/
|
|
21
|
-
fillCurrent: boolean
|
|
22
|
-
/**
|
|
23
|
-
* @default false
|
|
24
|
-
*/
|
|
25
|
-
dimmed: boolean
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
type IconVariantMap = {
|
|
29
|
-
[key in keyof IconVariant]: Array<IconVariant[key]>
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export type IconVariantProps = {
|
|
33
|
-
[key in keyof IconVariant]?: ConditionalValue<IconVariant[key]> | undefined
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export interface IconRecipe {
|
|
37
|
-
__type: IconVariantProps
|
|
38
|
-
(props?: IconVariantProps): string
|
|
39
|
-
raw: (props?: IconVariantProps) => IconVariantProps
|
|
40
|
-
variantMap: IconVariantMap
|
|
41
|
-
variantKeys: Array<keyof IconVariant>
|
|
42
|
-
splitVariantProps<Props extends IconVariantProps>(props: Props): [IconVariantProps, Pretty<DistributiveOmit<Props, keyof IconVariantProps>>]
|
|
43
|
-
getVariantProps: (props?: IconVariantProps) => IconVariantProps
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Styles for the icons
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
*/
|
|
51
|
-
export declare const icon: IconRecipe
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const iconFn = /* @__PURE__ */ createRecipe('icon', {
|
|
5
|
-
"size": "md",
|
|
6
|
-
"left": "none",
|
|
7
|
-
"right": "none",
|
|
8
|
-
"fillCurrent": false,
|
|
9
|
-
"dimmed": false
|
|
10
|
-
}, [])
|
|
11
|
-
|
|
12
|
-
const iconVariantMap = {
|
|
13
|
-
"size": [
|
|
14
|
-
"xl",
|
|
15
|
-
"lg",
|
|
16
|
-
"md",
|
|
17
|
-
"sm",
|
|
18
|
-
"xs"
|
|
19
|
-
],
|
|
20
|
-
"left": [
|
|
21
|
-
"none",
|
|
22
|
-
"sm",
|
|
23
|
-
"auto"
|
|
24
|
-
],
|
|
25
|
-
"right": [
|
|
26
|
-
"none",
|
|
27
|
-
"sm",
|
|
28
|
-
"auto"
|
|
29
|
-
],
|
|
30
|
-
"fillCurrent": [
|
|
31
|
-
"true"
|
|
32
|
-
],
|
|
33
|
-
"dimmed": [
|
|
34
|
-
"true"
|
|
35
|
-
]
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
const iconVariantKeys = Object.keys(iconVariantMap)
|
|
39
|
-
|
|
40
|
-
export const icon = /* @__PURE__ */ Object.assign(memo(iconFn.recipeFn), {
|
|
41
|
-
__recipe__: true,
|
|
42
|
-
__name__: 'icon',
|
|
43
|
-
__getCompoundVariantCss__: iconFn.__getCompoundVariantCss__,
|
|
44
|
-
raw: (props) => props,
|
|
45
|
-
variantKeys: iconVariantKeys,
|
|
46
|
-
variantMap: iconVariantMap,
|
|
47
|
-
merge(recipe) {
|
|
48
|
-
return mergeRecipes(this, recipe)
|
|
49
|
-
},
|
|
50
|
-
splitVariantProps(props) {
|
|
51
|
-
return splitProps(props, iconVariantKeys)
|
|
52
|
-
},
|
|
53
|
-
getVariantProps: iconFn.getVariantProps,
|
|
54
|
-
})
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
export * from './alert.d.mts';
|
|
3
|
-
export * from './alert-description.d.mts';
|
|
4
|
-
export * from './alert-title.d.mts';
|
|
5
|
-
export * from './blockquote.d.mts';
|
|
6
|
-
export * from './h1.d.mts';
|
|
7
|
-
export * from './h2.d.mts';
|
|
8
|
-
export * from './h3.d.mts';
|
|
9
|
-
export * from './h4.d.mts';
|
|
10
|
-
export * from './inline-code.d.mts';
|
|
11
|
-
export * from './large.d.mts';
|
|
12
|
-
export * from './lead.d.mts';
|
|
13
|
-
export * from './link.d.mts';
|
|
14
|
-
export * from './list.d.mts';
|
|
15
|
-
export * from './muted.d.mts';
|
|
16
|
-
export * from './p.d.mts';
|
|
17
|
-
export * from './small.d.mts';
|
|
18
|
-
export * from './typography-table.d.mts';
|
|
19
|
-
export * from './typography-table-container.d.mts';
|
|
20
|
-
export * from './badge.d.mts';
|
|
21
|
-
export * from './button.d.mts';
|
|
22
|
-
export * from './card.d.mts';
|
|
23
|
-
export * from './card-content.d.mts';
|
|
24
|
-
export * from './card-description.d.mts';
|
|
25
|
-
export * from './card-footer.d.mts';
|
|
26
|
-
export * from './card-header.d.mts';
|
|
27
|
-
export * from './card-title.d.mts';
|
|
28
|
-
export * from './form-control.d.mts';
|
|
29
|
-
export * from './form-description.d.mts';
|
|
30
|
-
export * from './form-item.d.mts';
|
|
31
|
-
export * from './form-label.d.mts';
|
|
32
|
-
export * from './form-message.d.mts';
|
|
33
|
-
export * from './icon.d.mts';
|
|
34
|
-
export * from './input.d.mts';
|
|
35
|
-
export * from './label.d.mts';
|
|
36
|
-
export * from './separator.d.mts';
|
|
37
|
-
export * from './skeleton.d.mts';
|
|
38
|
-
export * from './table.d.mts';
|
|
39
|
-
export * from './table-body.d.mts';
|
|
40
|
-
export * from './table-caption.d.mts';
|
|
41
|
-
export * from './table-cell.d.mts';
|
|
42
|
-
export * from './table-container.d.mts';
|
|
43
|
-
export * from './table-footer.d.mts';
|
|
44
|
-
export * from './table-head.d.mts';
|
|
45
|
-
export * from './table-header.d.mts';
|
|
46
|
-
export * from './table-row.d.mts';
|
|
47
|
-
export * from './textarea.d.mts';
|
|
48
|
-
export * from './toast-viewport.d.mts';
|
|
49
|
-
export * from './toggle.d.mts';
|
|
50
|
-
export * from './accordion.d.mts';
|
|
51
|
-
export * from './alert-dialog.d.mts';
|
|
52
|
-
export * from './avatar.d.mts';
|
|
53
|
-
export * from './calendar.d.mts';
|
|
54
|
-
export * from './checkbox.d.mts';
|
|
55
|
-
export * from './collapsible.d.mts';
|
|
56
|
-
export * from './command.d.mts';
|
|
57
|
-
export * from './command-dialog.d.mts';
|
|
58
|
-
export * from './context-menu.d.mts';
|
|
59
|
-
export * from './dialog.d.mts';
|
|
60
|
-
export * from './dropdown-menu.d.mts';
|
|
61
|
-
export * from './hover-card.d.mts';
|
|
62
|
-
export * from './menubar.d.mts';
|
|
63
|
-
export * from './navigation-menu.d.mts';
|
|
64
|
-
export * from './popover.d.mts';
|
|
65
|
-
export * from './progress.d.mts';
|
|
66
|
-
export * from './radio-group.d.mts';
|
|
67
|
-
export * from './scroll-area.d.mts';
|
|
68
|
-
export * from './select.d.mts';
|
|
69
|
-
export * from './sheet.d.mts';
|
|
70
|
-
export * from './slider.d.mts';
|
|
71
|
-
export * from './switch-recipe.d.mts';
|
|
72
|
-
export * from './tabs.d.mts';
|
|
73
|
-
export * from './toast.d.mts';
|
|
74
|
-
export * from './tooltip.d.mts';
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
export * from './alert.mjs';
|
|
2
|
-
export * from './alert-description.mjs';
|
|
3
|
-
export * from './alert-title.mjs';
|
|
4
|
-
export * from './blockquote.mjs';
|
|
5
|
-
export * from './h1.mjs';
|
|
6
|
-
export * from './h2.mjs';
|
|
7
|
-
export * from './h3.mjs';
|
|
8
|
-
export * from './h4.mjs';
|
|
9
|
-
export * from './inline-code.mjs';
|
|
10
|
-
export * from './large.mjs';
|
|
11
|
-
export * from './lead.mjs';
|
|
12
|
-
export * from './link.mjs';
|
|
13
|
-
export * from './list.mjs';
|
|
14
|
-
export * from './muted.mjs';
|
|
15
|
-
export * from './p.mjs';
|
|
16
|
-
export * from './small.mjs';
|
|
17
|
-
export * from './typography-table.mjs';
|
|
18
|
-
export * from './typography-table-container.mjs';
|
|
19
|
-
export * from './badge.mjs';
|
|
20
|
-
export * from './button.mjs';
|
|
21
|
-
export * from './card.mjs';
|
|
22
|
-
export * from './card-content.mjs';
|
|
23
|
-
export * from './card-description.mjs';
|
|
24
|
-
export * from './card-footer.mjs';
|
|
25
|
-
export * from './card-header.mjs';
|
|
26
|
-
export * from './card-title.mjs';
|
|
27
|
-
export * from './form-control.mjs';
|
|
28
|
-
export * from './form-description.mjs';
|
|
29
|
-
export * from './form-item.mjs';
|
|
30
|
-
export * from './form-label.mjs';
|
|
31
|
-
export * from './form-message.mjs';
|
|
32
|
-
export * from './icon.mjs';
|
|
33
|
-
export * from './input.mjs';
|
|
34
|
-
export * from './label.mjs';
|
|
35
|
-
export * from './separator.mjs';
|
|
36
|
-
export * from './skeleton.mjs';
|
|
37
|
-
export * from './table.mjs';
|
|
38
|
-
export * from './table-body.mjs';
|
|
39
|
-
export * from './table-caption.mjs';
|
|
40
|
-
export * from './table-cell.mjs';
|
|
41
|
-
export * from './table-container.mjs';
|
|
42
|
-
export * from './table-footer.mjs';
|
|
43
|
-
export * from './table-head.mjs';
|
|
44
|
-
export * from './table-header.mjs';
|
|
45
|
-
export * from './table-row.mjs';
|
|
46
|
-
export * from './textarea.mjs';
|
|
47
|
-
export * from './toast-viewport.mjs';
|
|
48
|
-
export * from './toggle.mjs';
|
|
49
|
-
export * from './accordion.mjs';
|
|
50
|
-
export * from './alert-dialog.mjs';
|
|
51
|
-
export * from './avatar.mjs';
|
|
52
|
-
export * from './calendar.mjs';
|
|
53
|
-
export * from './checkbox.mjs';
|
|
54
|
-
export * from './collapsible.mjs';
|
|
55
|
-
export * from './command.mjs';
|
|
56
|
-
export * from './command-dialog.mjs';
|
|
57
|
-
export * from './context-menu.mjs';
|
|
58
|
-
export * from './dialog.mjs';
|
|
59
|
-
export * from './dropdown-menu.mjs';
|
|
60
|
-
export * from './hover-card.mjs';
|
|
61
|
-
export * from './menubar.mjs';
|
|
62
|
-
export * from './navigation-menu.mjs';
|
|
63
|
-
export * from './popover.mjs';
|
|
64
|
-
export * from './progress.mjs';
|
|
65
|
-
export * from './radio-group.mjs';
|
|
66
|
-
export * from './scroll-area.mjs';
|
|
67
|
-
export * from './select.mjs';
|
|
68
|
-
export * from './sheet.mjs';
|
|
69
|
-
export * from './slider.mjs';
|
|
70
|
-
export * from './switch-recipe.mjs';
|
|
71
|
-
export * from './tabs.mjs';
|
|
72
|
-
export * from './toast.mjs';
|
|
73
|
-
export * from './tooltip.mjs';
|
|
@@ -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 InlineCodeVariant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type InlineCodeVariantMap = {
|
|
10
|
-
[key in keyof InlineCodeVariant]: Array<InlineCodeVariant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type InlineCodeVariantProps = {
|
|
14
|
-
[key in keyof InlineCodeVariant]?: ConditionalValue<InlineCodeVariant[key]> | undefined
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface InlineCodeRecipe {
|
|
18
|
-
__type: InlineCodeVariantProps
|
|
19
|
-
(props?: InlineCodeVariantProps): string
|
|
20
|
-
raw: (props?: InlineCodeVariantProps) => InlineCodeVariantProps
|
|
21
|
-
variantMap: InlineCodeVariantMap
|
|
22
|
-
variantKeys: Array<keyof InlineCodeVariant>
|
|
23
|
-
splitVariantProps<Props extends InlineCodeVariantProps>(props: Props): [InlineCodeVariantProps, Pretty<DistributiveOmit<Props, keyof InlineCodeVariantProps>>]
|
|
24
|
-
getVariantProps: (props?: InlineCodeVariantProps) => InlineCodeVariantProps
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Typography - InlineCode style
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
export declare const inlineCode: InlineCodeRecipe
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const inlineCodeFn = /* @__PURE__ */ createRecipe('inlineCode', {}, [])
|
|
5
|
-
|
|
6
|
-
const inlineCodeVariantMap = {}
|
|
7
|
-
|
|
8
|
-
const inlineCodeVariantKeys = Object.keys(inlineCodeVariantMap)
|
|
9
|
-
|
|
10
|
-
export const inlineCode = /* @__PURE__ */ Object.assign(memo(inlineCodeFn.recipeFn), {
|
|
11
|
-
__recipe__: true,
|
|
12
|
-
__name__: 'inlineCode',
|
|
13
|
-
__getCompoundVariantCss__: inlineCodeFn.__getCompoundVariantCss__,
|
|
14
|
-
raw: (props) => props,
|
|
15
|
-
variantKeys: inlineCodeVariantKeys,
|
|
16
|
-
variantMap: inlineCodeVariantMap,
|
|
17
|
-
merge(recipe) {
|
|
18
|
-
return mergeRecipes(this, recipe)
|
|
19
|
-
},
|
|
20
|
-
splitVariantProps(props) {
|
|
21
|
-
return splitProps(props, inlineCodeVariantKeys)
|
|
22
|
-
},
|
|
23
|
-
getVariantProps: inlineCodeFn.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 InputVariant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type InputVariantMap = {
|
|
10
|
-
[key in keyof InputVariant]: Array<InputVariant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type InputVariantProps = {
|
|
14
|
-
[key in keyof InputVariant]?: ConditionalValue<InputVariant[key]> | undefined
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface InputRecipe {
|
|
18
|
-
__type: InputVariantProps
|
|
19
|
-
(props?: InputVariantProps): string
|
|
20
|
-
raw: (props?: InputVariantProps) => InputVariantProps
|
|
21
|
-
variantMap: InputVariantMap
|
|
22
|
-
variantKeys: Array<keyof InputVariant>
|
|
23
|
-
splitVariantProps<Props extends InputVariantProps>(props: Props): [InputVariantProps, Pretty<DistributiveOmit<Props, keyof InputVariantProps>>]
|
|
24
|
-
getVariantProps: (props?: InputVariantProps) => InputVariantProps
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Styles for the Input component
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
export declare const input: InputRecipe
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const inputFn = /* @__PURE__ */ createRecipe('input', {}, [])
|
|
5
|
-
|
|
6
|
-
const inputVariantMap = {}
|
|
7
|
-
|
|
8
|
-
const inputVariantKeys = Object.keys(inputVariantMap)
|
|
9
|
-
|
|
10
|
-
export const input = /* @__PURE__ */ Object.assign(memo(inputFn.recipeFn), {
|
|
11
|
-
__recipe__: true,
|
|
12
|
-
__name__: 'input',
|
|
13
|
-
__getCompoundVariantCss__: inputFn.__getCompoundVariantCss__,
|
|
14
|
-
raw: (props) => props,
|
|
15
|
-
variantKeys: inputVariantKeys,
|
|
16
|
-
variantMap: inputVariantMap,
|
|
17
|
-
merge(recipe) {
|
|
18
|
-
return mergeRecipes(this, recipe)
|
|
19
|
-
},
|
|
20
|
-
splitVariantProps(props) {
|
|
21
|
-
return splitProps(props, inputVariantKeys)
|
|
22
|
-
},
|
|
23
|
-
getVariantProps: inputFn.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 LabelVariant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type LabelVariantMap = {
|
|
10
|
-
[key in keyof LabelVariant]: Array<LabelVariant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type LabelVariantProps = {
|
|
14
|
-
[key in keyof LabelVariant]?: ConditionalValue<LabelVariant[key]> | undefined
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface LabelRecipe {
|
|
18
|
-
__type: LabelVariantProps
|
|
19
|
-
(props?: LabelVariantProps): string
|
|
20
|
-
raw: (props?: LabelVariantProps) => LabelVariantProps
|
|
21
|
-
variantMap: LabelVariantMap
|
|
22
|
-
variantKeys: Array<keyof LabelVariant>
|
|
23
|
-
splitVariantProps<Props extends LabelVariantProps>(props: Props): [LabelVariantProps, Pretty<DistributiveOmit<Props, keyof LabelVariantProps>>]
|
|
24
|
-
getVariantProps: (props?: LabelVariantProps) => LabelVariantProps
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Styles for the Label component
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
export declare const label: LabelRecipe
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const labelFn = /* @__PURE__ */ createRecipe('label', {}, [])
|
|
5
|
-
|
|
6
|
-
const labelVariantMap = {}
|
|
7
|
-
|
|
8
|
-
const labelVariantKeys = Object.keys(labelVariantMap)
|
|
9
|
-
|
|
10
|
-
export const label = /* @__PURE__ */ Object.assign(memo(labelFn.recipeFn), {
|
|
11
|
-
__recipe__: true,
|
|
12
|
-
__name__: 'label',
|
|
13
|
-
__getCompoundVariantCss__: labelFn.__getCompoundVariantCss__,
|
|
14
|
-
raw: (props) => props,
|
|
15
|
-
variantKeys: labelVariantKeys,
|
|
16
|
-
variantMap: labelVariantMap,
|
|
17
|
-
merge(recipe) {
|
|
18
|
-
return mergeRecipes(this, recipe)
|
|
19
|
-
},
|
|
20
|
-
splitVariantProps(props) {
|
|
21
|
-
return splitProps(props, labelVariantKeys)
|
|
22
|
-
},
|
|
23
|
-
getVariantProps: labelFn.getVariantProps,
|
|
24
|
-
})
|