@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 TextareaVariant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type TextareaVariantMap = {
|
|
10
|
-
[key in keyof TextareaVariant]: Array<TextareaVariant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type TextareaVariantProps = {
|
|
14
|
-
[key in keyof TextareaVariant]?: ConditionalValue<TextareaVariant[key]> | undefined
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface TextareaRecipe {
|
|
18
|
-
__type: TextareaVariantProps
|
|
19
|
-
(props?: TextareaVariantProps): string
|
|
20
|
-
raw: (props?: TextareaVariantProps) => TextareaVariantProps
|
|
21
|
-
variantMap: TextareaVariantMap
|
|
22
|
-
variantKeys: Array<keyof TextareaVariant>
|
|
23
|
-
splitVariantProps<Props extends TextareaVariantProps>(props: Props): [TextareaVariantProps, Pretty<DistributiveOmit<Props, keyof TextareaVariantProps>>]
|
|
24
|
-
getVariantProps: (props?: TextareaVariantProps) => TextareaVariantProps
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Styles for the Textarea component
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
export declare const textarea: TextareaRecipe
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const textareaFn = /* @__PURE__ */ createRecipe('textarea', {}, [])
|
|
5
|
-
|
|
6
|
-
const textareaVariantMap = {}
|
|
7
|
-
|
|
8
|
-
const textareaVariantKeys = Object.keys(textareaVariantMap)
|
|
9
|
-
|
|
10
|
-
export const textarea = /* @__PURE__ */ Object.assign(memo(textareaFn.recipeFn), {
|
|
11
|
-
__recipe__: true,
|
|
12
|
-
__name__: 'textarea',
|
|
13
|
-
__getCompoundVariantCss__: textareaFn.__getCompoundVariantCss__,
|
|
14
|
-
raw: (props) => props,
|
|
15
|
-
variantKeys: textareaVariantKeys,
|
|
16
|
-
variantMap: textareaVariantMap,
|
|
17
|
-
merge(recipe) {
|
|
18
|
-
return mergeRecipes(this, recipe)
|
|
19
|
-
},
|
|
20
|
-
splitVariantProps(props) {
|
|
21
|
-
return splitProps(props, textareaVariantKeys)
|
|
22
|
-
},
|
|
23
|
-
getVariantProps: textareaFn.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 ToastViewportVariant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type ToastViewportVariantMap = {
|
|
10
|
-
[key in keyof ToastViewportVariant]: Array<ToastViewportVariant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type ToastViewportVariantProps = {
|
|
14
|
-
[key in keyof ToastViewportVariant]?: ConditionalValue<ToastViewportVariant[key]> | undefined
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface ToastViewportRecipe {
|
|
18
|
-
__type: ToastViewportVariantProps
|
|
19
|
-
(props?: ToastViewportVariantProps): string
|
|
20
|
-
raw: (props?: ToastViewportVariantProps) => ToastViewportVariantProps
|
|
21
|
-
variantMap: ToastViewportVariantMap
|
|
22
|
-
variantKeys: Array<keyof ToastViewportVariant>
|
|
23
|
-
splitVariantProps<Props extends ToastViewportVariantProps>(props: Props): [ToastViewportVariantProps, Pretty<DistributiveOmit<Props, keyof ToastViewportVariantProps>>]
|
|
24
|
-
getVariantProps: (props?: ToastViewportVariantProps) => ToastViewportVariantProps
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Styles for the ToastViewport component
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
export declare const toastViewport: ToastViewportRecipe
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const toastViewportFn = /* @__PURE__ */ createRecipe('toastViewport', {}, [])
|
|
5
|
-
|
|
6
|
-
const toastViewportVariantMap = {}
|
|
7
|
-
|
|
8
|
-
const toastViewportVariantKeys = Object.keys(toastViewportVariantMap)
|
|
9
|
-
|
|
10
|
-
export const toastViewport = /* @__PURE__ */ Object.assign(memo(toastViewportFn.recipeFn), {
|
|
11
|
-
__recipe__: true,
|
|
12
|
-
__name__: 'toastViewport',
|
|
13
|
-
__getCompoundVariantCss__: toastViewportFn.__getCompoundVariantCss__,
|
|
14
|
-
raw: (props) => props,
|
|
15
|
-
variantKeys: toastViewportVariantKeys,
|
|
16
|
-
variantMap: toastViewportVariantMap,
|
|
17
|
-
merge(recipe) {
|
|
18
|
-
return mergeRecipes(this, recipe)
|
|
19
|
-
},
|
|
20
|
-
splitVariantProps(props) {
|
|
21
|
-
return splitProps(props, toastViewportVariantKeys)
|
|
22
|
-
},
|
|
23
|
-
getVariantProps: toastViewportFn.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 ToastVariant {
|
|
6
|
-
/**
|
|
7
|
-
* @default "default"
|
|
8
|
-
*/
|
|
9
|
-
variant: "default" | "destructive"
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
type ToastVariantMap = {
|
|
13
|
-
[key in keyof ToastVariant]: Array<ToastVariant[key]>
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export type ToastVariantProps = {
|
|
17
|
-
[key in keyof ToastVariant]?: ConditionalValue<ToastVariant[key]> | undefined
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export interface ToastRecipe {
|
|
21
|
-
__type: ToastVariantProps
|
|
22
|
-
(props?: ToastVariantProps): Pretty<Record<"root" | "viewport" | "action" | "close" | "title" | "description", string>>
|
|
23
|
-
raw: (props?: ToastVariantProps) => ToastVariantProps
|
|
24
|
-
variantMap: ToastVariantMap
|
|
25
|
-
variantKeys: Array<keyof ToastVariant>
|
|
26
|
-
splitVariantProps<Props extends ToastVariantProps>(props: Props): [ToastVariantProps, Pretty<DistributiveOmit<Props, keyof ToastVariantProps>>]
|
|
27
|
-
getVariantProps: (props?: ToastVariantProps) => ToastVariantProps
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Styles for the Toast component
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
*/
|
|
35
|
-
export declare const toast: ToastRecipe
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const toastDefaultVariants = {
|
|
5
|
-
"variant": "default"
|
|
6
|
-
}
|
|
7
|
-
const toastCompoundVariants = []
|
|
8
|
-
|
|
9
|
-
const toastSlotNames = [
|
|
10
|
-
[
|
|
11
|
-
"root",
|
|
12
|
-
"toast__root"
|
|
13
|
-
],
|
|
14
|
-
[
|
|
15
|
-
"viewport",
|
|
16
|
-
"toast__viewport"
|
|
17
|
-
],
|
|
18
|
-
[
|
|
19
|
-
"action",
|
|
20
|
-
"toast__action"
|
|
21
|
-
],
|
|
22
|
-
[
|
|
23
|
-
"close",
|
|
24
|
-
"toast__close"
|
|
25
|
-
],
|
|
26
|
-
[
|
|
27
|
-
"title",
|
|
28
|
-
"toast__title"
|
|
29
|
-
],
|
|
30
|
-
[
|
|
31
|
-
"description",
|
|
32
|
-
"toast__description"
|
|
33
|
-
]
|
|
34
|
-
]
|
|
35
|
-
const toastSlotFns = /* @__PURE__ */ toastSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, toastDefaultVariants, getSlotCompoundVariant(toastCompoundVariants, slotName))])
|
|
36
|
-
|
|
37
|
-
const toastFn = memo((props = {}) => {
|
|
38
|
-
return Object.fromEntries(toastSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
39
|
-
})
|
|
40
|
-
|
|
41
|
-
const toastVariantKeys = [
|
|
42
|
-
"variant"
|
|
43
|
-
]
|
|
44
|
-
const getVariantProps = (variants) => ({ ...toastDefaultVariants, ...compact(variants) })
|
|
45
|
-
|
|
46
|
-
export const toast = /* @__PURE__ */ Object.assign(toastFn, {
|
|
47
|
-
__recipe__: false,
|
|
48
|
-
__name__: 'toast',
|
|
49
|
-
raw: (props) => props,
|
|
50
|
-
variantKeys: toastVariantKeys,
|
|
51
|
-
variantMap: {
|
|
52
|
-
"variant": [
|
|
53
|
-
"default",
|
|
54
|
-
"destructive"
|
|
55
|
-
]
|
|
56
|
-
},
|
|
57
|
-
splitVariantProps(props) {
|
|
58
|
-
return splitProps(props, toastVariantKeys)
|
|
59
|
-
},
|
|
60
|
-
getVariantProps
|
|
61
|
-
})
|
|
@@ -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 ToggleVariant {
|
|
6
|
-
/**
|
|
7
|
-
* @default "default"
|
|
8
|
-
*/
|
|
9
|
-
variant: "default" | "outline"
|
|
10
|
-
/**
|
|
11
|
-
* @default "default"
|
|
12
|
-
*/
|
|
13
|
-
size: "default" | "sm" | "lg"
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
type ToggleVariantMap = {
|
|
17
|
-
[key in keyof ToggleVariant]: Array<ToggleVariant[key]>
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export type ToggleVariantProps = {
|
|
21
|
-
[key in keyof ToggleVariant]?: ConditionalValue<ToggleVariant[key]> | undefined
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export interface ToggleRecipe {
|
|
25
|
-
__type: ToggleVariantProps
|
|
26
|
-
(props?: ToggleVariantProps): string
|
|
27
|
-
raw: (props?: ToggleVariantProps) => ToggleVariantProps
|
|
28
|
-
variantMap: ToggleVariantMap
|
|
29
|
-
variantKeys: Array<keyof ToggleVariant>
|
|
30
|
-
splitVariantProps<Props extends ToggleVariantProps>(props: Props): [ToggleVariantProps, Pretty<DistributiveOmit<Props, keyof ToggleVariantProps>>]
|
|
31
|
-
getVariantProps: (props?: ToggleVariantProps) => ToggleVariantProps
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Styles for the Toggle component
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
*/
|
|
39
|
-
export declare const toggle: ToggleRecipe
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const toggleFn = /* @__PURE__ */ createRecipe('toggle', {
|
|
5
|
-
"variant": "default",
|
|
6
|
-
"size": "default"
|
|
7
|
-
}, [])
|
|
8
|
-
|
|
9
|
-
const toggleVariantMap = {
|
|
10
|
-
"variant": [
|
|
11
|
-
"default",
|
|
12
|
-
"outline"
|
|
13
|
-
],
|
|
14
|
-
"size": [
|
|
15
|
-
"default",
|
|
16
|
-
"sm",
|
|
17
|
-
"lg"
|
|
18
|
-
]
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
const toggleVariantKeys = Object.keys(toggleVariantMap)
|
|
22
|
-
|
|
23
|
-
export const toggle = /* @__PURE__ */ Object.assign(memo(toggleFn.recipeFn), {
|
|
24
|
-
__recipe__: true,
|
|
25
|
-
__name__: 'toggle',
|
|
26
|
-
__getCompoundVariantCss__: toggleFn.__getCompoundVariantCss__,
|
|
27
|
-
raw: (props) => props,
|
|
28
|
-
variantKeys: toggleVariantKeys,
|
|
29
|
-
variantMap: toggleVariantMap,
|
|
30
|
-
merge(recipe) {
|
|
31
|
-
return mergeRecipes(this, recipe)
|
|
32
|
-
},
|
|
33
|
-
splitVariantProps(props) {
|
|
34
|
-
return splitProps(props, toggleVariantKeys)
|
|
35
|
-
},
|
|
36
|
-
getVariantProps: toggleFn.getVariantProps,
|
|
37
|
-
})
|
|
@@ -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 TooltipVariant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type TooltipVariantMap = {
|
|
10
|
-
[key in keyof TooltipVariant]: Array<TooltipVariant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type TooltipVariantProps = {
|
|
14
|
-
[key in keyof TooltipVariant]?: ConditionalValue<TooltipVariant[key]> | undefined
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface TooltipRecipe {
|
|
18
|
-
__type: TooltipVariantProps
|
|
19
|
-
(props?: TooltipVariantProps): Pretty<Record<"root" | "trigger" | "content", string>>
|
|
20
|
-
raw: (props?: TooltipVariantProps) => TooltipVariantProps
|
|
21
|
-
variantMap: TooltipVariantMap
|
|
22
|
-
variantKeys: Array<keyof TooltipVariant>
|
|
23
|
-
splitVariantProps<Props extends TooltipVariantProps>(props: Props): [TooltipVariantProps, Pretty<DistributiveOmit<Props, keyof TooltipVariantProps>>]
|
|
24
|
-
getVariantProps: (props?: TooltipVariantProps) => TooltipVariantProps
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Styles for the Tooltip component
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
export declare const tooltip: TooltipRecipe
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const tooltipDefaultVariants = {}
|
|
5
|
-
const tooltipCompoundVariants = []
|
|
6
|
-
|
|
7
|
-
const tooltipSlotNames = [
|
|
8
|
-
[
|
|
9
|
-
"root",
|
|
10
|
-
"tooltip__root"
|
|
11
|
-
],
|
|
12
|
-
[
|
|
13
|
-
"trigger",
|
|
14
|
-
"tooltip__trigger"
|
|
15
|
-
],
|
|
16
|
-
[
|
|
17
|
-
"content",
|
|
18
|
-
"tooltip__content"
|
|
19
|
-
]
|
|
20
|
-
]
|
|
21
|
-
const tooltipSlotFns = /* @__PURE__ */ tooltipSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, tooltipDefaultVariants, getSlotCompoundVariant(tooltipCompoundVariants, slotName))])
|
|
22
|
-
|
|
23
|
-
const tooltipFn = memo((props = {}) => {
|
|
24
|
-
return Object.fromEntries(tooltipSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
25
|
-
})
|
|
26
|
-
|
|
27
|
-
const tooltipVariantKeys = []
|
|
28
|
-
const getVariantProps = (variants) => ({ ...tooltipDefaultVariants, ...compact(variants) })
|
|
29
|
-
|
|
30
|
-
export const tooltip = /* @__PURE__ */ Object.assign(tooltipFn, {
|
|
31
|
-
__recipe__: false,
|
|
32
|
-
__name__: 'tooltip',
|
|
33
|
-
raw: (props) => props,
|
|
34
|
-
variantKeys: tooltipVariantKeys,
|
|
35
|
-
variantMap: {},
|
|
36
|
-
splitVariantProps(props) {
|
|
37
|
-
return splitProps(props, tooltipVariantKeys)
|
|
38
|
-
},
|
|
39
|
-
getVariantProps
|
|
40
|
-
})
|
|
@@ -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 TypographyTableContainerVariant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type TypographyTableContainerVariantMap = {
|
|
10
|
-
[key in keyof TypographyTableContainerVariant]: Array<TypographyTableContainerVariant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type TypographyTableContainerVariantProps = {
|
|
14
|
-
[key in keyof TypographyTableContainerVariant]?: ConditionalValue<TypographyTableContainerVariant[key]> | undefined
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface TypographyTableContainerRecipe {
|
|
18
|
-
__type: TypographyTableContainerVariantProps
|
|
19
|
-
(props?: TypographyTableContainerVariantProps): string
|
|
20
|
-
raw: (props?: TypographyTableContainerVariantProps) => TypographyTableContainerVariantProps
|
|
21
|
-
variantMap: TypographyTableContainerVariantMap
|
|
22
|
-
variantKeys: Array<keyof TypographyTableContainerVariant>
|
|
23
|
-
splitVariantProps<Props extends TypographyTableContainerVariantProps>(props: Props): [TypographyTableContainerVariantProps, Pretty<DistributiveOmit<Props, keyof TypographyTableContainerVariantProps>>]
|
|
24
|
-
getVariantProps: (props?: TypographyTableContainerVariantProps) => TypographyTableContainerVariantProps
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Typography - table container style
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
export declare const typographyTableContainer: TypographyTableContainerRecipe
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const typographyTableContainerFn = /* @__PURE__ */ createRecipe('typographyTableContainer', {}, [])
|
|
5
|
-
|
|
6
|
-
const typographyTableContainerVariantMap = {}
|
|
7
|
-
|
|
8
|
-
const typographyTableContainerVariantKeys = Object.keys(typographyTableContainerVariantMap)
|
|
9
|
-
|
|
10
|
-
export const typographyTableContainer = /* @__PURE__ */ Object.assign(memo(typographyTableContainerFn.recipeFn), {
|
|
11
|
-
__recipe__: true,
|
|
12
|
-
__name__: 'typographyTableContainer',
|
|
13
|
-
__getCompoundVariantCss__: typographyTableContainerFn.__getCompoundVariantCss__,
|
|
14
|
-
raw: (props) => props,
|
|
15
|
-
variantKeys: typographyTableContainerVariantKeys,
|
|
16
|
-
variantMap: typographyTableContainerVariantMap,
|
|
17
|
-
merge(recipe) {
|
|
18
|
-
return mergeRecipes(this, recipe)
|
|
19
|
-
},
|
|
20
|
-
splitVariantProps(props) {
|
|
21
|
-
return splitProps(props, typographyTableContainerVariantKeys)
|
|
22
|
-
},
|
|
23
|
-
getVariantProps: typographyTableContainerFn.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 TypographyTableVariant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type TypographyTableVariantMap = {
|
|
10
|
-
[key in keyof TypographyTableVariant]: Array<TypographyTableVariant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type TypographyTableVariantProps = {
|
|
14
|
-
[key in keyof TypographyTableVariant]?: ConditionalValue<TypographyTableVariant[key]> | undefined
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface TypographyTableRecipe {
|
|
18
|
-
__type: TypographyTableVariantProps
|
|
19
|
-
(props?: TypographyTableVariantProps): string
|
|
20
|
-
raw: (props?: TypographyTableVariantProps) => TypographyTableVariantProps
|
|
21
|
-
variantMap: TypographyTableVariantMap
|
|
22
|
-
variantKeys: Array<keyof TypographyTableVariant>
|
|
23
|
-
splitVariantProps<Props extends TypographyTableVariantProps>(props: Props): [TypographyTableVariantProps, Pretty<DistributiveOmit<Props, keyof TypographyTableVariantProps>>]
|
|
24
|
-
getVariantProps: (props?: TypographyTableVariantProps) => TypographyTableVariantProps
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Typography - table style
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
export declare const typographyTable: TypographyTableRecipe
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const typographyTableFn = /* @__PURE__ */ createRecipe('typographyTable', {}, [])
|
|
5
|
-
|
|
6
|
-
const typographyTableVariantMap = {}
|
|
7
|
-
|
|
8
|
-
const typographyTableVariantKeys = Object.keys(typographyTableVariantMap)
|
|
9
|
-
|
|
10
|
-
export const typographyTable = /* @__PURE__ */ Object.assign(memo(typographyTableFn.recipeFn), {
|
|
11
|
-
__recipe__: true,
|
|
12
|
-
__name__: 'typographyTable',
|
|
13
|
-
__getCompoundVariantCss__: typographyTableFn.__getCompoundVariantCss__,
|
|
14
|
-
raw: (props) => props,
|
|
15
|
-
variantKeys: typographyTableVariantKeys,
|
|
16
|
-
variantMap: typographyTableVariantMap,
|
|
17
|
-
merge(recipe) {
|
|
18
|
-
return mergeRecipes(this, recipe)
|
|
19
|
-
},
|
|
20
|
-
splitVariantProps(props) {
|
|
21
|
-
return splitProps(props, typographyTableVariantKeys)
|
|
22
|
-
},
|
|
23
|
-
getVariantProps: typographyTableFn.getVariantProps,
|
|
24
|
-
})
|