@luxonis/depthai-pipeline-lib 1.4.8
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/LICENSE.md +1 -0
- package/README.md +14 -0
- package/dist/index.css +3 -0
- package/dist/panda.css +1474 -0
- package/dist/src/components/Node.d.ts +5 -0
- package/dist/src/components/Node.js +42 -0
- package/dist/src/components/PipelineCanvas.d.ts +7 -0
- package/dist/src/components/PipelineCanvas.js +56 -0
- package/dist/src/index.d.ts +4 -0
- package/dist/src/index.js +2 -0
- package/dist/src/services/pipeline.d.ts +51 -0
- package/dist/src/services/pipeline.js +40 -0
- package/dist/src/styled-system/chunks/src__components__Node.css +195 -0
- package/dist/src/styled-system/chunks/src__components__PipelineCanvas.css +25 -0
- package/dist/src/styled-system/css/conditions.mjs +34 -0
- package/dist/src/styled-system/css/css.d.mts +9 -0
- package/dist/src/styled-system/css/css.mjs +44 -0
- package/dist/src/styled-system/css/cva.d.mts +6 -0
- package/dist/src/styled-system/css/cva.mjs +63 -0
- package/dist/src/styled-system/css/cx.d.mts +5 -0
- package/dist/src/styled-system/css/cx.mjs +15 -0
- package/dist/src/styled-system/css/index.d.mts +5 -0
- package/dist/src/styled-system/css/index.mjs +4 -0
- package/dist/src/styled-system/css/sva.d.mts +4 -0
- package/dist/src/styled-system/css/sva.mjs +35 -0
- package/dist/src/styled-system/global.css +70 -0
- package/dist/src/styled-system/helpers.mjs +282 -0
- package/dist/src/styled-system/patterns/aspect-ratio.d.mts +21 -0
- package/dist/src/styled-system/patterns/aspect-ratio.mjs +35 -0
- package/dist/src/styled-system/patterns/bleed.d.mts +22 -0
- package/dist/src/styled-system/patterns/bleed.mjs +19 -0
- package/dist/src/styled-system/patterns/box.d.mts +21 -0
- package/dist/src/styled-system/patterns/box.mjs +12 -0
- package/dist/src/styled-system/patterns/center.d.mts +21 -0
- package/dist/src/styled-system/patterns/center.mjs +18 -0
- package/dist/src/styled-system/patterns/circle.d.mts +21 -0
- package/dist/src/styled-system/patterns/circle.mjs +22 -0
- package/dist/src/styled-system/patterns/container.d.mts +21 -0
- package/dist/src/styled-system/patterns/container.mjs +18 -0
- package/dist/src/styled-system/patterns/divider.d.mts +23 -0
- package/dist/src/styled-system/patterns/divider.mjs +21 -0
- package/dist/src/styled-system/patterns/flex.d.mts +27 -0
- package/dist/src/styled-system/patterns/flex.mjs +23 -0
- package/dist/src/styled-system/patterns/float.d.mts +24 -0
- package/dist/src/styled-system/patterns/float.mjs +45 -0
- package/dist/src/styled-system/patterns/grid-item.d.mts +26 -0
- package/dist/src/styled-system/patterns/grid-item.mjs +22 -0
- package/dist/src/styled-system/patterns/grid.d.mts +25 -0
- package/dist/src/styled-system/patterns/grid.mjs +20 -0
- package/dist/src/styled-system/patterns/hstack.d.mts +22 -0
- package/dist/src/styled-system/patterns/hstack.mjs +20 -0
- package/dist/src/styled-system/patterns/index.d.mts +21 -0
- package/dist/src/styled-system/patterns/index.mjs +20 -0
- package/dist/src/styled-system/patterns/link-box.d.mts +21 -0
- package/dist/src/styled-system/patterns/link-box.mjs +19 -0
- package/dist/src/styled-system/patterns/link-overlay.d.mts +21 -0
- package/dist/src/styled-system/patterns/link-overlay.mjs +24 -0
- package/dist/src/styled-system/patterns/spacer.d.mts +21 -0
- package/dist/src/styled-system/patterns/spacer.mjs +18 -0
- package/dist/src/styled-system/patterns/square.d.mts +21 -0
- package/dist/src/styled-system/patterns/square.mjs +21 -0
- package/dist/src/styled-system/patterns/stack.d.mts +24 -0
- package/dist/src/styled-system/patterns/stack.mjs +20 -0
- package/dist/src/styled-system/patterns/visually-hidden.d.mts +21 -0
- package/dist/src/styled-system/patterns/visually-hidden.mjs +15 -0
- package/dist/src/styled-system/patterns/vstack.d.mts +22 -0
- package/dist/src/styled-system/patterns/vstack.mjs +20 -0
- package/dist/src/styled-system/patterns/wrap.d.mts +25 -0
- package/dist/src/styled-system/patterns/wrap.mjs +22 -0
- package/dist/src/styled-system/recipes/accordion.d.mts +28 -0
- package/dist/src/styled-system/recipes/accordion.mjs +46 -0
- package/dist/src/styled-system/recipes/alert-description.d.mts +28 -0
- package/dist/src/styled-system/recipes/alert-description.mjs +19 -0
- package/dist/src/styled-system/recipes/alert-dialog.d.mts +28 -0
- package/dist/src/styled-system/recipes/alert-dialog.mjs +70 -0
- package/dist/src/styled-system/recipes/alert-title.d.mts +28 -0
- package/dist/src/styled-system/recipes/alert-title.mjs +19 -0
- package/dist/src/styled-system/recipes/alert.d.mts +28 -0
- package/dist/src/styled-system/recipes/alert.mjs +26 -0
- package/dist/src/styled-system/recipes/avatar.d.mts +28 -0
- package/dist/src/styled-system/recipes/avatar.mjs +38 -0
- package/dist/src/styled-system/recipes/badge.d.mts +28 -0
- package/dist/src/styled-system/recipes/badge.mjs +28 -0
- package/dist/src/styled-system/recipes/blockquote.d.mts +28 -0
- package/dist/src/styled-system/recipes/blockquote.mjs +19 -0
- package/dist/src/styled-system/recipes/button.d.mts +29 -0
- package/dist/src/styled-system/recipes/button.mjs +37 -0
- package/dist/src/styled-system/recipes/calendar.d.mts +28 -0
- package/dist/src/styled-system/recipes/calendar.mjs +118 -0
- package/dist/src/styled-system/recipes/card-content.d.mts +28 -0
- package/dist/src/styled-system/recipes/card-content.mjs +19 -0
- package/dist/src/styled-system/recipes/card-description.d.mts +28 -0
- package/dist/src/styled-system/recipes/card-description.mjs +19 -0
- package/dist/src/styled-system/recipes/card-footer.d.mts +28 -0
- package/dist/src/styled-system/recipes/card-footer.mjs +19 -0
- package/dist/src/styled-system/recipes/card-header.d.mts +28 -0
- package/dist/src/styled-system/recipes/card-header.mjs +19 -0
- package/dist/src/styled-system/recipes/card-title.d.mts +28 -0
- package/dist/src/styled-system/recipes/card-title.mjs +19 -0
- package/dist/src/styled-system/recipes/card.d.mts +28 -0
- package/dist/src/styled-system/recipes/card.mjs +19 -0
- package/dist/src/styled-system/recipes/checkbox.d.mts +28 -0
- package/dist/src/styled-system/recipes/checkbox.mjs +34 -0
- package/dist/src/styled-system/recipes/collapsible.d.mts +28 -0
- package/dist/src/styled-system/recipes/collapsible.mjs +38 -0
- package/dist/src/styled-system/recipes/command-dialog.d.mts +28 -0
- package/dist/src/styled-system/recipes/command-dialog.mjs +34 -0
- package/dist/src/styled-system/recipes/command.d.mts +28 -0
- package/dist/src/styled-system/recipes/command.mjs +66 -0
- package/dist/src/styled-system/recipes/context-menu.d.mts +28 -0
- package/dist/src/styled-system/recipes/context-menu.mjs +98 -0
- package/dist/src/styled-system/recipes/create-recipe.d.mts +1 -0
- package/dist/src/styled-system/recipes/create-recipe.mjs +50 -0
- package/dist/src/styled-system/recipes/dialog.d.mts +28 -0
- package/dist/src/styled-system/recipes/dialog.mjs +66 -0
- package/dist/src/styled-system/recipes/dropdown-menu.d.mts +28 -0
- package/dist/src/styled-system/recipes/dropdown-menu.mjs +90 -0
- package/dist/src/styled-system/recipes/form-control.d.mts +28 -0
- package/dist/src/styled-system/recipes/form-control.mjs +19 -0
- package/dist/src/styled-system/recipes/form-description.d.mts +28 -0
- package/dist/src/styled-system/recipes/form-description.mjs +19 -0
- package/dist/src/styled-system/recipes/form-item.d.mts +28 -0
- package/dist/src/styled-system/recipes/form-item.mjs +19 -0
- package/dist/src/styled-system/recipes/form-label.d.mts +28 -0
- package/dist/src/styled-system/recipes/form-label.mjs +19 -0
- package/dist/src/styled-system/recipes/form-message.d.mts +28 -0
- package/dist/src/styled-system/recipes/form-message.mjs +19 -0
- package/dist/src/styled-system/recipes/h1.d.mts +28 -0
- package/dist/src/styled-system/recipes/h1.mjs +19 -0
- package/dist/src/styled-system/recipes/h2.d.mts +28 -0
- package/dist/src/styled-system/recipes/h2.mjs +19 -0
- package/dist/src/styled-system/recipes/h3.d.mts +28 -0
- package/dist/src/styled-system/recipes/h3.mjs +19 -0
- package/dist/src/styled-system/recipes/h4.d.mts +28 -0
- package/dist/src/styled-system/recipes/h4.mjs +19 -0
- package/dist/src/styled-system/recipes/hover-card.d.mts +28 -0
- package/dist/src/styled-system/recipes/hover-card.mjs +38 -0
- package/dist/src/styled-system/recipes/icon.d.mts +32 -0
- package/dist/src/styled-system/recipes/icon.mjs +49 -0
- package/dist/src/styled-system/recipes/index.d.mts +74 -0
- package/dist/src/styled-system/recipes/index.mjs +73 -0
- package/dist/src/styled-system/recipes/inline-code.d.mts +28 -0
- package/dist/src/styled-system/recipes/inline-code.mjs +19 -0
- package/dist/src/styled-system/recipes/input.d.mts +28 -0
- package/dist/src/styled-system/recipes/input.mjs +19 -0
- package/dist/src/styled-system/recipes/label.d.mts +28 -0
- package/dist/src/styled-system/recipes/label.mjs +19 -0
- package/dist/src/styled-system/recipes/large.d.mts +28 -0
- package/dist/src/styled-system/recipes/large.mjs +19 -0
- package/dist/src/styled-system/recipes/lead.d.mts +28 -0
- package/dist/src/styled-system/recipes/lead.mjs +19 -0
- package/dist/src/styled-system/recipes/link.d.mts +28 -0
- package/dist/src/styled-system/recipes/link.mjs +19 -0
- package/dist/src/styled-system/recipes/list.d.mts +28 -0
- package/dist/src/styled-system/recipes/list.mjs +19 -0
- package/dist/src/styled-system/recipes/menubar.d.mts +28 -0
- package/dist/src/styled-system/recipes/menubar.mjs +94 -0
- package/dist/src/styled-system/recipes/muted.d.mts +28 -0
- package/dist/src/styled-system/recipes/muted.mjs +19 -0
- package/dist/src/styled-system/recipes/navigation-menu.d.mts +28 -0
- package/dist/src/styled-system/recipes/navigation-menu.mjs +62 -0
- package/dist/src/styled-system/recipes/p.d.mts +28 -0
- package/dist/src/styled-system/recipes/p.mjs +19 -0
- package/dist/src/styled-system/recipes/popover.d.mts +28 -0
- package/dist/src/styled-system/recipes/popover.mjs +42 -0
- package/dist/src/styled-system/recipes/progress.d.mts +28 -0
- package/dist/src/styled-system/recipes/progress.mjs +34 -0
- package/dist/src/styled-system/recipes/radio-group.d.mts +28 -0
- package/dist/src/styled-system/recipes/radio-group.mjs +42 -0
- package/dist/src/styled-system/recipes/scroll-area.d.mts +28 -0
- package/dist/src/styled-system/recipes/scroll-area.mjs +46 -0
- package/dist/src/styled-system/recipes/select.d.mts +28 -0
- package/dist/src/styled-system/recipes/select.mjs +66 -0
- package/dist/src/styled-system/recipes/separator.d.mts +28 -0
- package/dist/src/styled-system/recipes/separator.mjs +26 -0
- package/dist/src/styled-system/recipes/sheet.d.mts +28 -0
- package/dist/src/styled-system/recipes/sheet.mjs +81 -0
- package/dist/src/styled-system/recipes/skeleton.d.mts +28 -0
- package/dist/src/styled-system/recipes/skeleton.mjs +19 -0
- package/dist/src/styled-system/recipes/slider.d.mts +28 -0
- package/dist/src/styled-system/recipes/slider.mjs +42 -0
- package/dist/src/styled-system/recipes/small.d.mts +28 -0
- package/dist/src/styled-system/recipes/small.mjs +19 -0
- package/dist/src/styled-system/recipes/switch-recipe.d.mts +28 -0
- package/dist/src/styled-system/recipes/switch-recipe.mjs +34 -0
- package/dist/src/styled-system/recipes/table-body.d.mts +28 -0
- package/dist/src/styled-system/recipes/table-body.mjs +19 -0
- package/dist/src/styled-system/recipes/table-caption.d.mts +28 -0
- package/dist/src/styled-system/recipes/table-caption.mjs +19 -0
- package/dist/src/styled-system/recipes/table-cell.d.mts +28 -0
- package/dist/src/styled-system/recipes/table-cell.mjs +19 -0
- package/dist/src/styled-system/recipes/table-container.d.mts +28 -0
- package/dist/src/styled-system/recipes/table-container.mjs +19 -0
- package/dist/src/styled-system/recipes/table-footer.d.mts +28 -0
- package/dist/src/styled-system/recipes/table-footer.mjs +19 -0
- package/dist/src/styled-system/recipes/table-head.d.mts +28 -0
- package/dist/src/styled-system/recipes/table-head.mjs +19 -0
- package/dist/src/styled-system/recipes/table-header.d.mts +28 -0
- package/dist/src/styled-system/recipes/table-header.mjs +19 -0
- package/dist/src/styled-system/recipes/table-row.d.mts +28 -0
- package/dist/src/styled-system/recipes/table-row.mjs +19 -0
- package/dist/src/styled-system/recipes/table.d.mts +28 -0
- package/dist/src/styled-system/recipes/table.mjs +19 -0
- package/dist/src/styled-system/recipes/tabs.d.mts +28 -0
- package/dist/src/styled-system/recipes/tabs.mjs +42 -0
- package/dist/src/styled-system/recipes/textarea.d.mts +28 -0
- package/dist/src/styled-system/recipes/textarea.mjs +19 -0
- package/dist/src/styled-system/recipes/toast-viewport.d.mts +28 -0
- package/dist/src/styled-system/recipes/toast-viewport.mjs +19 -0
- package/dist/src/styled-system/recipes/toast.d.mts +28 -0
- package/dist/src/styled-system/recipes/toast.mjs +59 -0
- package/dist/src/styled-system/recipes/toggle.d.mts +29 -0
- package/dist/src/styled-system/recipes/toggle.mjs +32 -0
- package/dist/src/styled-system/recipes/tooltip.d.mts +28 -0
- package/dist/src/styled-system/recipes/tooltip.mjs +38 -0
- package/dist/src/styled-system/recipes/typography-table-container.d.mts +28 -0
- package/dist/src/styled-system/recipes/typography-table-container.mjs +19 -0
- package/dist/src/styled-system/recipes/typography-table.d.mts +28 -0
- package/dist/src/styled-system/recipes/typography-table.mjs +19 -0
- package/dist/src/styled-system/reset.css +206 -0
- package/dist/src/styled-system/static.css +320 -0
- package/dist/src/styled-system/tokens/index.css +620 -0
- package/dist/src/styled-system/tokens/index.d.mts +9 -0
- package/dist/src/styled-system/tokens/index.mjs +2680 -0
- package/dist/src/styled-system/tokens/keyframes.css +56 -0
- package/dist/src/styled-system/tokens/tokens.d.mts +63 -0
- package/dist/src/styled-system/types/composition.d.mts +111 -0
- package/dist/src/styled-system/types/conditions.d.mts +266 -0
- package/dist/src/styled-system/types/csstype.d.mts +20749 -0
- package/dist/src/styled-system/types/global.d.mts +19 -0
- package/dist/src/styled-system/types/helpers.d.mts +2 -0
- package/dist/src/styled-system/types/index.d.mts +8 -0
- package/dist/src/styled-system/types/parts.d.mts +6 -0
- package/dist/src/styled-system/types/pattern.d.mts +61 -0
- package/dist/src/styled-system/types/prop-type.d.mts +340 -0
- package/dist/src/styled-system/types/recipe.d.mts +148 -0
- package/dist/src/styled-system/types/selectors.d.mts +59 -0
- package/dist/src/styled-system/types/style-props.d.mts +687 -0
- package/dist/src/styled-system/types/system-types.d.mts +85 -0
- package/package.json +63 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { splitProps } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
+
|
|
4
|
+
const formMessageFn = /* @__PURE__ */ createRecipe('formMessage', {}, [])
|
|
5
|
+
|
|
6
|
+
const formMessageVariantMap = {}
|
|
7
|
+
|
|
8
|
+
const formMessageVariantKeys = Object.keys(formMessageVariantMap)
|
|
9
|
+
|
|
10
|
+
export const formMessage = /* @__PURE__ */ Object.assign(formMessageFn, {
|
|
11
|
+
__recipe__: true,
|
|
12
|
+
__name__: 'formMessage',
|
|
13
|
+
raw: (props) => props,
|
|
14
|
+
variantKeys: formMessageVariantKeys,
|
|
15
|
+
variantMap: formMessageVariantMap,
|
|
16
|
+
splitVariantProps(props) {
|
|
17
|
+
return splitProps(props, formMessageVariantKeys)
|
|
18
|
+
},
|
|
19
|
+
})
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { ConditionalValue } from '../types/index.d.mts';
|
|
3
|
+
import type { Pretty } from '../types/helpers.d.mts';
|
|
4
|
+
import type { DistributiveOmit } from '../types/system-types.d.mts';
|
|
5
|
+
|
|
6
|
+
interface H1Variant {
|
|
7
|
+
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
type H1VariantMap = {
|
|
11
|
+
[key in keyof H1Variant]: Array<H1Variant[key]>
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export type H1VariantProps = {
|
|
15
|
+
[key in keyof H1Variant]?: ConditionalValue<H1Variant[key]>
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface H1Recipe {
|
|
19
|
+
__type: H1VariantProps
|
|
20
|
+
(props?: H1VariantProps): string
|
|
21
|
+
raw: (props?: H1VariantProps) => H1VariantProps
|
|
22
|
+
variantMap: H1VariantMap
|
|
23
|
+
variantKeys: Array<keyof H1Variant>
|
|
24
|
+
splitVariantProps<Props extends H1VariantProps>(props: Props): [H1VariantProps, Pretty<DistributiveOmit<Props, keyof H1VariantProps>>]
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/** Typography - h1 style */
|
|
28
|
+
export declare const h1: H1Recipe
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { splitProps } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
+
|
|
4
|
+
const h1Fn = /* @__PURE__ */ createRecipe('h1', {}, [])
|
|
5
|
+
|
|
6
|
+
const h1VariantMap = {}
|
|
7
|
+
|
|
8
|
+
const h1VariantKeys = Object.keys(h1VariantMap)
|
|
9
|
+
|
|
10
|
+
export const h1 = /* @__PURE__ */ Object.assign(h1Fn, {
|
|
11
|
+
__recipe__: true,
|
|
12
|
+
__name__: 'h1',
|
|
13
|
+
raw: (props) => props,
|
|
14
|
+
variantKeys: h1VariantKeys,
|
|
15
|
+
variantMap: h1VariantMap,
|
|
16
|
+
splitVariantProps(props) {
|
|
17
|
+
return splitProps(props, h1VariantKeys)
|
|
18
|
+
},
|
|
19
|
+
})
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { ConditionalValue } from '../types/index.d.mts';
|
|
3
|
+
import type { Pretty } from '../types/helpers.d.mts';
|
|
4
|
+
import type { DistributiveOmit } from '../types/system-types.d.mts';
|
|
5
|
+
|
|
6
|
+
interface H2Variant {
|
|
7
|
+
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
type H2VariantMap = {
|
|
11
|
+
[key in keyof H2Variant]: Array<H2Variant[key]>
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export type H2VariantProps = {
|
|
15
|
+
[key in keyof H2Variant]?: ConditionalValue<H2Variant[key]>
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface H2Recipe {
|
|
19
|
+
__type: H2VariantProps
|
|
20
|
+
(props?: H2VariantProps): string
|
|
21
|
+
raw: (props?: H2VariantProps) => H2VariantProps
|
|
22
|
+
variantMap: H2VariantMap
|
|
23
|
+
variantKeys: Array<keyof H2Variant>
|
|
24
|
+
splitVariantProps<Props extends H2VariantProps>(props: Props): [H2VariantProps, Pretty<DistributiveOmit<Props, keyof H2VariantProps>>]
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/** Typography - h2 style */
|
|
28
|
+
export declare const h2: H2Recipe
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { splitProps } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe } 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(h2Fn, {
|
|
11
|
+
__recipe__: true,
|
|
12
|
+
__name__: 'h2',
|
|
13
|
+
raw: (props) => props,
|
|
14
|
+
variantKeys: h2VariantKeys,
|
|
15
|
+
variantMap: h2VariantMap,
|
|
16
|
+
splitVariantProps(props) {
|
|
17
|
+
return splitProps(props, h2VariantKeys)
|
|
18
|
+
},
|
|
19
|
+
})
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { ConditionalValue } from '../types/index.d.mts';
|
|
3
|
+
import type { Pretty } from '../types/helpers.d.mts';
|
|
4
|
+
import type { DistributiveOmit } from '../types/system-types.d.mts';
|
|
5
|
+
|
|
6
|
+
interface H3Variant {
|
|
7
|
+
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
type H3VariantMap = {
|
|
11
|
+
[key in keyof H3Variant]: Array<H3Variant[key]>
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export type H3VariantProps = {
|
|
15
|
+
[key in keyof H3Variant]?: ConditionalValue<H3Variant[key]>
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface H3Recipe {
|
|
19
|
+
__type: H3VariantProps
|
|
20
|
+
(props?: H3VariantProps): string
|
|
21
|
+
raw: (props?: H3VariantProps) => H3VariantProps
|
|
22
|
+
variantMap: H3VariantMap
|
|
23
|
+
variantKeys: Array<keyof H3Variant>
|
|
24
|
+
splitVariantProps<Props extends H3VariantProps>(props: Props): [H3VariantProps, Pretty<DistributiveOmit<Props, keyof H3VariantProps>>]
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/** Typography - h3 style */
|
|
28
|
+
export declare const h3: H3Recipe
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { splitProps } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe } 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(h3Fn, {
|
|
11
|
+
__recipe__: true,
|
|
12
|
+
__name__: 'h3',
|
|
13
|
+
raw: (props) => props,
|
|
14
|
+
variantKeys: h3VariantKeys,
|
|
15
|
+
variantMap: h3VariantMap,
|
|
16
|
+
splitVariantProps(props) {
|
|
17
|
+
return splitProps(props, h3VariantKeys)
|
|
18
|
+
},
|
|
19
|
+
})
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { ConditionalValue } from '../types/index.d.mts';
|
|
3
|
+
import type { Pretty } from '../types/helpers.d.mts';
|
|
4
|
+
import type { DistributiveOmit } from '../types/system-types.d.mts';
|
|
5
|
+
|
|
6
|
+
interface H4Variant {
|
|
7
|
+
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
type H4VariantMap = {
|
|
11
|
+
[key in keyof H4Variant]: Array<H4Variant[key]>
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export type H4VariantProps = {
|
|
15
|
+
[key in keyof H4Variant]?: ConditionalValue<H4Variant[key]>
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface H4Recipe {
|
|
19
|
+
__type: H4VariantProps
|
|
20
|
+
(props?: H4VariantProps): string
|
|
21
|
+
raw: (props?: H4VariantProps) => H4VariantProps
|
|
22
|
+
variantMap: H4VariantMap
|
|
23
|
+
variantKeys: Array<keyof H4Variant>
|
|
24
|
+
splitVariantProps<Props extends H4VariantProps>(props: Props): [H4VariantProps, Pretty<DistributiveOmit<Props, keyof H4VariantProps>>]
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/** Typography - h4 style */
|
|
28
|
+
export declare const h4: H4Recipe
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { splitProps } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe } 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(h4Fn, {
|
|
11
|
+
__recipe__: true,
|
|
12
|
+
__name__: 'h4',
|
|
13
|
+
raw: (props) => props,
|
|
14
|
+
variantKeys: h4VariantKeys,
|
|
15
|
+
variantMap: h4VariantMap,
|
|
16
|
+
splitVariantProps(props) {
|
|
17
|
+
return splitProps(props, h4VariantKeys)
|
|
18
|
+
},
|
|
19
|
+
})
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { ConditionalValue } from '../types/index.d.mts';
|
|
3
|
+
import type { Pretty } from '../types/helpers.d.mts';
|
|
4
|
+
import type { DistributiveOmit } from '../types/system-types.d.mts';
|
|
5
|
+
|
|
6
|
+
interface HoverCardVariant {
|
|
7
|
+
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
type HoverCardVariantMap = {
|
|
11
|
+
[key in keyof HoverCardVariant]: Array<HoverCardVariant[key]>
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export type HoverCardVariantProps = {
|
|
15
|
+
[key in keyof HoverCardVariant]?: ConditionalValue<HoverCardVariant[key]>
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface HoverCardRecipe {
|
|
19
|
+
__type: HoverCardVariantProps
|
|
20
|
+
(props?: HoverCardVariantProps): Pretty<Record<"root" | "trigger" | "content", string>>
|
|
21
|
+
raw: (props?: HoverCardVariantProps) => HoverCardVariantProps
|
|
22
|
+
variantMap: HoverCardVariantMap
|
|
23
|
+
variantKeys: Array<keyof HoverCardVariant>
|
|
24
|
+
splitVariantProps<Props extends HoverCardVariantProps>(props: Props): [HoverCardVariantProps, Pretty<DistributiveOmit<Props, keyof HoverCardVariantProps>>]
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/** Styles for the HoverCard component */
|
|
28
|
+
export declare const hoverCard: HoverCardRecipe
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { splitProps, getSlotCompoundVariant } 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 = (props = {}) => {
|
|
24
|
+
return Object.fromEntries(hoverCardSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
const hoverCardVariantKeys = []
|
|
28
|
+
|
|
29
|
+
export const hoverCard = /* @__PURE__ */ Object.assign(hoverCardFn, {
|
|
30
|
+
__recipe__: false,
|
|
31
|
+
__name__: 'hoverCard',
|
|
32
|
+
raw: (props) => props,
|
|
33
|
+
variantKeys: hoverCardVariantKeys,
|
|
34
|
+
variantMap: {},
|
|
35
|
+
splitVariantProps(props) {
|
|
36
|
+
return splitProps(props, hoverCardVariantKeys)
|
|
37
|
+
},
|
|
38
|
+
})
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { ConditionalValue } from '../types/index.d.mts';
|
|
3
|
+
import type { Pretty } from '../types/helpers.d.mts';
|
|
4
|
+
import type { DistributiveOmit } from '../types/system-types.d.mts';
|
|
5
|
+
|
|
6
|
+
interface IconVariant {
|
|
7
|
+
size: "xl" | "lg" | "md" | "sm" | "xs"
|
|
8
|
+
left: "none" | "sm" | "auto"
|
|
9
|
+
right: "none" | "sm" | "auto"
|
|
10
|
+
fillCurrent: boolean
|
|
11
|
+
dimmed: boolean
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
type IconVariantMap = {
|
|
15
|
+
[key in keyof IconVariant]: Array<IconVariant[key]>
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export type IconVariantProps = {
|
|
19
|
+
[key in keyof IconVariant]?: ConditionalValue<IconVariant[key]>
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface IconRecipe {
|
|
23
|
+
__type: IconVariantProps
|
|
24
|
+
(props?: IconVariantProps): string
|
|
25
|
+
raw: (props?: IconVariantProps) => IconVariantProps
|
|
26
|
+
variantMap: IconVariantMap
|
|
27
|
+
variantKeys: Array<keyof IconVariant>
|
|
28
|
+
splitVariantProps<Props extends IconVariantProps>(props: Props): [IconVariantProps, Pretty<DistributiveOmit<Props, keyof IconVariantProps>>]
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/** Styles for the icons */
|
|
32
|
+
export declare const icon: IconRecipe
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { splitProps } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe } 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(iconFn, {
|
|
41
|
+
__recipe__: true,
|
|
42
|
+
__name__: 'icon',
|
|
43
|
+
raw: (props) => props,
|
|
44
|
+
variantKeys: iconVariantKeys,
|
|
45
|
+
variantMap: iconVariantMap,
|
|
46
|
+
splitVariantProps(props) {
|
|
47
|
+
return splitProps(props, iconVariantKeys)
|
|
48
|
+
},
|
|
49
|
+
})
|
|
@@ -0,0 +1,74 @@
|
|
|
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';
|
|
@@ -0,0 +1,73 @@
|
|
|
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';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { ConditionalValue } from '../types/index.d.mts';
|
|
3
|
+
import type { Pretty } from '../types/helpers.d.mts';
|
|
4
|
+
import type { DistributiveOmit } from '../types/system-types.d.mts';
|
|
5
|
+
|
|
6
|
+
interface InlineCodeVariant {
|
|
7
|
+
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
type InlineCodeVariantMap = {
|
|
11
|
+
[key in keyof InlineCodeVariant]: Array<InlineCodeVariant[key]>
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export type InlineCodeVariantProps = {
|
|
15
|
+
[key in keyof InlineCodeVariant]?: ConditionalValue<InlineCodeVariant[key]>
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface InlineCodeRecipe {
|
|
19
|
+
__type: InlineCodeVariantProps
|
|
20
|
+
(props?: InlineCodeVariantProps): string
|
|
21
|
+
raw: (props?: InlineCodeVariantProps) => InlineCodeVariantProps
|
|
22
|
+
variantMap: InlineCodeVariantMap
|
|
23
|
+
variantKeys: Array<keyof InlineCodeVariant>
|
|
24
|
+
splitVariantProps<Props extends InlineCodeVariantProps>(props: Props): [InlineCodeVariantProps, Pretty<DistributiveOmit<Props, keyof InlineCodeVariantProps>>]
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/** Typography - InlineCode style */
|
|
28
|
+
export declare const inlineCode: InlineCodeRecipe
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { splitProps } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe } 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(inlineCodeFn, {
|
|
11
|
+
__recipe__: true,
|
|
12
|
+
__name__: 'inlineCode',
|
|
13
|
+
raw: (props) => props,
|
|
14
|
+
variantKeys: inlineCodeVariantKeys,
|
|
15
|
+
variantMap: inlineCodeVariantMap,
|
|
16
|
+
splitVariantProps(props) {
|
|
17
|
+
return splitProps(props, inlineCodeVariantKeys)
|
|
18
|
+
},
|
|
19
|
+
})
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { ConditionalValue } from '../types/index.d.mts';
|
|
3
|
+
import type { Pretty } from '../types/helpers.d.mts';
|
|
4
|
+
import type { DistributiveOmit } from '../types/system-types.d.mts';
|
|
5
|
+
|
|
6
|
+
interface InputVariant {
|
|
7
|
+
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
type InputVariantMap = {
|
|
11
|
+
[key in keyof InputVariant]: Array<InputVariant[key]>
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export type InputVariantProps = {
|
|
15
|
+
[key in keyof InputVariant]?: ConditionalValue<InputVariant[key]>
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface InputRecipe {
|
|
19
|
+
__type: InputVariantProps
|
|
20
|
+
(props?: InputVariantProps): string
|
|
21
|
+
raw: (props?: InputVariantProps) => InputVariantProps
|
|
22
|
+
variantMap: InputVariantMap
|
|
23
|
+
variantKeys: Array<keyof InputVariant>
|
|
24
|
+
splitVariantProps<Props extends InputVariantProps>(props: Props): [InputVariantProps, Pretty<DistributiveOmit<Props, keyof InputVariantProps>>]
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/** Styles for the Input component */
|
|
28
|
+
export declare const input: InputRecipe
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { splitProps } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe } 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(inputFn, {
|
|
11
|
+
__recipe__: true,
|
|
12
|
+
__name__: 'input',
|
|
13
|
+
raw: (props) => props,
|
|
14
|
+
variantKeys: inputVariantKeys,
|
|
15
|
+
variantMap: inputVariantMap,
|
|
16
|
+
splitVariantProps(props) {
|
|
17
|
+
return splitProps(props, inputVariantKeys)
|
|
18
|
+
},
|
|
19
|
+
})
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { ConditionalValue } from '../types/index.d.mts';
|
|
3
|
+
import type { Pretty } from '../types/helpers.d.mts';
|
|
4
|
+
import type { DistributiveOmit } from '../types/system-types.d.mts';
|
|
5
|
+
|
|
6
|
+
interface LabelVariant {
|
|
7
|
+
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
type LabelVariantMap = {
|
|
11
|
+
[key in keyof LabelVariant]: Array<LabelVariant[key]>
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export type LabelVariantProps = {
|
|
15
|
+
[key in keyof LabelVariant]?: ConditionalValue<LabelVariant[key]>
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface LabelRecipe {
|
|
19
|
+
__type: LabelVariantProps
|
|
20
|
+
(props?: LabelVariantProps): string
|
|
21
|
+
raw: (props?: LabelVariantProps) => LabelVariantProps
|
|
22
|
+
variantMap: LabelVariantMap
|
|
23
|
+
variantKeys: Array<keyof LabelVariant>
|
|
24
|
+
splitVariantProps<Props extends LabelVariantProps>(props: Props): [LabelVariantProps, Pretty<DistributiveOmit<Props, keyof LabelVariantProps>>]
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/** Styles for the Label component */
|
|
28
|
+
export declare const label: LabelRecipe
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { splitProps } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe } 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(labelFn, {
|
|
11
|
+
__recipe__: true,
|
|
12
|
+
__name__: 'label',
|
|
13
|
+
raw: (props) => props,
|
|
14
|
+
variantKeys: labelVariantKeys,
|
|
15
|
+
variantMap: labelVariantMap,
|
|
16
|
+
splitVariantProps(props) {
|
|
17
|
+
return splitProps(props, labelVariantKeys)
|
|
18
|
+
},
|
|
19
|
+
})
|