@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 SwitchRecipeVariant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type SwitchRecipeVariantMap = {
|
|
10
|
-
[key in keyof SwitchRecipeVariant]: Array<SwitchRecipeVariant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type SwitchRecipeVariantProps = {
|
|
14
|
-
[key in keyof SwitchRecipeVariant]?: ConditionalValue<SwitchRecipeVariant[key]> | undefined
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface SwitchRecipeRecipe {
|
|
18
|
-
__type: SwitchRecipeVariantProps
|
|
19
|
-
(props?: SwitchRecipeVariantProps): Pretty<Record<"root" | "thumb", string>>
|
|
20
|
-
raw: (props?: SwitchRecipeVariantProps) => SwitchRecipeVariantProps
|
|
21
|
-
variantMap: SwitchRecipeVariantMap
|
|
22
|
-
variantKeys: Array<keyof SwitchRecipeVariant>
|
|
23
|
-
splitVariantProps<Props extends SwitchRecipeVariantProps>(props: Props): [SwitchRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof SwitchRecipeVariantProps>>]
|
|
24
|
-
getVariantProps: (props?: SwitchRecipeVariantProps) => SwitchRecipeVariantProps
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Styles for the Switch component
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
export declare const switchRecipe: SwitchRecipeRecipe
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const switchRecipeDefaultVariants = {}
|
|
5
|
-
const switchRecipeCompoundVariants = []
|
|
6
|
-
|
|
7
|
-
const switchRecipeSlotNames = [
|
|
8
|
-
[
|
|
9
|
-
"root",
|
|
10
|
-
"switchRecipe__root"
|
|
11
|
-
],
|
|
12
|
-
[
|
|
13
|
-
"thumb",
|
|
14
|
-
"switchRecipe__thumb"
|
|
15
|
-
]
|
|
16
|
-
]
|
|
17
|
-
const switchRecipeSlotFns = /* @__PURE__ */ switchRecipeSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, switchRecipeDefaultVariants, getSlotCompoundVariant(switchRecipeCompoundVariants, slotName))])
|
|
18
|
-
|
|
19
|
-
const switchRecipeFn = memo((props = {}) => {
|
|
20
|
-
return Object.fromEntries(switchRecipeSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
21
|
-
})
|
|
22
|
-
|
|
23
|
-
const switchRecipeVariantKeys = []
|
|
24
|
-
const getVariantProps = (variants) => ({ ...switchRecipeDefaultVariants, ...compact(variants) })
|
|
25
|
-
|
|
26
|
-
export const switchRecipe = /* @__PURE__ */ Object.assign(switchRecipeFn, {
|
|
27
|
-
__recipe__: false,
|
|
28
|
-
__name__: 'switchRecipe',
|
|
29
|
-
raw: (props) => props,
|
|
30
|
-
variantKeys: switchRecipeVariantKeys,
|
|
31
|
-
variantMap: {},
|
|
32
|
-
splitVariantProps(props) {
|
|
33
|
-
return splitProps(props, switchRecipeVariantKeys)
|
|
34
|
-
},
|
|
35
|
-
getVariantProps
|
|
36
|
-
})
|
|
@@ -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 TableBodyVariant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type TableBodyVariantMap = {
|
|
10
|
-
[key in keyof TableBodyVariant]: Array<TableBodyVariant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type TableBodyVariantProps = {
|
|
14
|
-
[key in keyof TableBodyVariant]?: ConditionalValue<TableBodyVariant[key]> | undefined
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface TableBodyRecipe {
|
|
18
|
-
__type: TableBodyVariantProps
|
|
19
|
-
(props?: TableBodyVariantProps): string
|
|
20
|
-
raw: (props?: TableBodyVariantProps) => TableBodyVariantProps
|
|
21
|
-
variantMap: TableBodyVariantMap
|
|
22
|
-
variantKeys: Array<keyof TableBodyVariant>
|
|
23
|
-
splitVariantProps<Props extends TableBodyVariantProps>(props: Props): [TableBodyVariantProps, Pretty<DistributiveOmit<Props, keyof TableBodyVariantProps>>]
|
|
24
|
-
getVariantProps: (props?: TableBodyVariantProps) => TableBodyVariantProps
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Styles for the TableBody component
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
export declare const tableBody: TableBodyRecipe
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const tableBodyFn = /* @__PURE__ */ createRecipe('tableBody', {}, [])
|
|
5
|
-
|
|
6
|
-
const tableBodyVariantMap = {}
|
|
7
|
-
|
|
8
|
-
const tableBodyVariantKeys = Object.keys(tableBodyVariantMap)
|
|
9
|
-
|
|
10
|
-
export const tableBody = /* @__PURE__ */ Object.assign(memo(tableBodyFn.recipeFn), {
|
|
11
|
-
__recipe__: true,
|
|
12
|
-
__name__: 'tableBody',
|
|
13
|
-
__getCompoundVariantCss__: tableBodyFn.__getCompoundVariantCss__,
|
|
14
|
-
raw: (props) => props,
|
|
15
|
-
variantKeys: tableBodyVariantKeys,
|
|
16
|
-
variantMap: tableBodyVariantMap,
|
|
17
|
-
merge(recipe) {
|
|
18
|
-
return mergeRecipes(this, recipe)
|
|
19
|
-
},
|
|
20
|
-
splitVariantProps(props) {
|
|
21
|
-
return splitProps(props, tableBodyVariantKeys)
|
|
22
|
-
},
|
|
23
|
-
getVariantProps: tableBodyFn.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 TableCaptionVariant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type TableCaptionVariantMap = {
|
|
10
|
-
[key in keyof TableCaptionVariant]: Array<TableCaptionVariant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type TableCaptionVariantProps = {
|
|
14
|
-
[key in keyof TableCaptionVariant]?: ConditionalValue<TableCaptionVariant[key]> | undefined
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface TableCaptionRecipe {
|
|
18
|
-
__type: TableCaptionVariantProps
|
|
19
|
-
(props?: TableCaptionVariantProps): string
|
|
20
|
-
raw: (props?: TableCaptionVariantProps) => TableCaptionVariantProps
|
|
21
|
-
variantMap: TableCaptionVariantMap
|
|
22
|
-
variantKeys: Array<keyof TableCaptionVariant>
|
|
23
|
-
splitVariantProps<Props extends TableCaptionVariantProps>(props: Props): [TableCaptionVariantProps, Pretty<DistributiveOmit<Props, keyof TableCaptionVariantProps>>]
|
|
24
|
-
getVariantProps: (props?: TableCaptionVariantProps) => TableCaptionVariantProps
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Styles for the TableCaption component
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
export declare const tableCaption: TableCaptionRecipe
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const tableCaptionFn = /* @__PURE__ */ createRecipe('tableCaption', {}, [])
|
|
5
|
-
|
|
6
|
-
const tableCaptionVariantMap = {}
|
|
7
|
-
|
|
8
|
-
const tableCaptionVariantKeys = Object.keys(tableCaptionVariantMap)
|
|
9
|
-
|
|
10
|
-
export const tableCaption = /* @__PURE__ */ Object.assign(memo(tableCaptionFn.recipeFn), {
|
|
11
|
-
__recipe__: true,
|
|
12
|
-
__name__: 'tableCaption',
|
|
13
|
-
__getCompoundVariantCss__: tableCaptionFn.__getCompoundVariantCss__,
|
|
14
|
-
raw: (props) => props,
|
|
15
|
-
variantKeys: tableCaptionVariantKeys,
|
|
16
|
-
variantMap: tableCaptionVariantMap,
|
|
17
|
-
merge(recipe) {
|
|
18
|
-
return mergeRecipes(this, recipe)
|
|
19
|
-
},
|
|
20
|
-
splitVariantProps(props) {
|
|
21
|
-
return splitProps(props, tableCaptionVariantKeys)
|
|
22
|
-
},
|
|
23
|
-
getVariantProps: tableCaptionFn.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 TableCellVariant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type TableCellVariantMap = {
|
|
10
|
-
[key in keyof TableCellVariant]: Array<TableCellVariant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type TableCellVariantProps = {
|
|
14
|
-
[key in keyof TableCellVariant]?: ConditionalValue<TableCellVariant[key]> | undefined
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface TableCellRecipe {
|
|
18
|
-
__type: TableCellVariantProps
|
|
19
|
-
(props?: TableCellVariantProps): string
|
|
20
|
-
raw: (props?: TableCellVariantProps) => TableCellVariantProps
|
|
21
|
-
variantMap: TableCellVariantMap
|
|
22
|
-
variantKeys: Array<keyof TableCellVariant>
|
|
23
|
-
splitVariantProps<Props extends TableCellVariantProps>(props: Props): [TableCellVariantProps, Pretty<DistributiveOmit<Props, keyof TableCellVariantProps>>]
|
|
24
|
-
getVariantProps: (props?: TableCellVariantProps) => TableCellVariantProps
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Styles for the TableCell component
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
export declare const tableCell: TableCellRecipe
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const tableCellFn = /* @__PURE__ */ createRecipe('tableCell', {}, [])
|
|
5
|
-
|
|
6
|
-
const tableCellVariantMap = {}
|
|
7
|
-
|
|
8
|
-
const tableCellVariantKeys = Object.keys(tableCellVariantMap)
|
|
9
|
-
|
|
10
|
-
export const tableCell = /* @__PURE__ */ Object.assign(memo(tableCellFn.recipeFn), {
|
|
11
|
-
__recipe__: true,
|
|
12
|
-
__name__: 'tableCell',
|
|
13
|
-
__getCompoundVariantCss__: tableCellFn.__getCompoundVariantCss__,
|
|
14
|
-
raw: (props) => props,
|
|
15
|
-
variantKeys: tableCellVariantKeys,
|
|
16
|
-
variantMap: tableCellVariantMap,
|
|
17
|
-
merge(recipe) {
|
|
18
|
-
return mergeRecipes(this, recipe)
|
|
19
|
-
},
|
|
20
|
-
splitVariantProps(props) {
|
|
21
|
-
return splitProps(props, tableCellVariantKeys)
|
|
22
|
-
},
|
|
23
|
-
getVariantProps: tableCellFn.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 TableContainerVariant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type TableContainerVariantMap = {
|
|
10
|
-
[key in keyof TableContainerVariant]: Array<TableContainerVariant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type TableContainerVariantProps = {
|
|
14
|
-
[key in keyof TableContainerVariant]?: ConditionalValue<TableContainerVariant[key]> | undefined
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface TableContainerRecipe {
|
|
18
|
-
__type: TableContainerVariantProps
|
|
19
|
-
(props?: TableContainerVariantProps): string
|
|
20
|
-
raw: (props?: TableContainerVariantProps) => TableContainerVariantProps
|
|
21
|
-
variantMap: TableContainerVariantMap
|
|
22
|
-
variantKeys: Array<keyof TableContainerVariant>
|
|
23
|
-
splitVariantProps<Props extends TableContainerVariantProps>(props: Props): [TableContainerVariantProps, Pretty<DistributiveOmit<Props, keyof TableContainerVariantProps>>]
|
|
24
|
-
getVariantProps: (props?: TableContainerVariantProps) => TableContainerVariantProps
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Styles for the TableContainer component
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
export declare const tableContainer: TableContainerRecipe
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const tableContainerFn = /* @__PURE__ */ createRecipe('tableContainer', {}, [])
|
|
5
|
-
|
|
6
|
-
const tableContainerVariantMap = {}
|
|
7
|
-
|
|
8
|
-
const tableContainerVariantKeys = Object.keys(tableContainerVariantMap)
|
|
9
|
-
|
|
10
|
-
export const tableContainer = /* @__PURE__ */ Object.assign(memo(tableContainerFn.recipeFn), {
|
|
11
|
-
__recipe__: true,
|
|
12
|
-
__name__: 'tableContainer',
|
|
13
|
-
__getCompoundVariantCss__: tableContainerFn.__getCompoundVariantCss__,
|
|
14
|
-
raw: (props) => props,
|
|
15
|
-
variantKeys: tableContainerVariantKeys,
|
|
16
|
-
variantMap: tableContainerVariantMap,
|
|
17
|
-
merge(recipe) {
|
|
18
|
-
return mergeRecipes(this, recipe)
|
|
19
|
-
},
|
|
20
|
-
splitVariantProps(props) {
|
|
21
|
-
return splitProps(props, tableContainerVariantKeys)
|
|
22
|
-
},
|
|
23
|
-
getVariantProps: tableContainerFn.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 TableFooterVariant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type TableFooterVariantMap = {
|
|
10
|
-
[key in keyof TableFooterVariant]: Array<TableFooterVariant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type TableFooterVariantProps = {
|
|
14
|
-
[key in keyof TableFooterVariant]?: ConditionalValue<TableFooterVariant[key]> | undefined
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface TableFooterRecipe {
|
|
18
|
-
__type: TableFooterVariantProps
|
|
19
|
-
(props?: TableFooterVariantProps): string
|
|
20
|
-
raw: (props?: TableFooterVariantProps) => TableFooterVariantProps
|
|
21
|
-
variantMap: TableFooterVariantMap
|
|
22
|
-
variantKeys: Array<keyof TableFooterVariant>
|
|
23
|
-
splitVariantProps<Props extends TableFooterVariantProps>(props: Props): [TableFooterVariantProps, Pretty<DistributiveOmit<Props, keyof TableFooterVariantProps>>]
|
|
24
|
-
getVariantProps: (props?: TableFooterVariantProps) => TableFooterVariantProps
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Styles for the TableFooter component
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
export declare const tableFooter: TableFooterRecipe
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const tableFooterFn = /* @__PURE__ */ createRecipe('tableFooter', {}, [])
|
|
5
|
-
|
|
6
|
-
const tableFooterVariantMap = {}
|
|
7
|
-
|
|
8
|
-
const tableFooterVariantKeys = Object.keys(tableFooterVariantMap)
|
|
9
|
-
|
|
10
|
-
export const tableFooter = /* @__PURE__ */ Object.assign(memo(tableFooterFn.recipeFn), {
|
|
11
|
-
__recipe__: true,
|
|
12
|
-
__name__: 'tableFooter',
|
|
13
|
-
__getCompoundVariantCss__: tableFooterFn.__getCompoundVariantCss__,
|
|
14
|
-
raw: (props) => props,
|
|
15
|
-
variantKeys: tableFooterVariantKeys,
|
|
16
|
-
variantMap: tableFooterVariantMap,
|
|
17
|
-
merge(recipe) {
|
|
18
|
-
return mergeRecipes(this, recipe)
|
|
19
|
-
},
|
|
20
|
-
splitVariantProps(props) {
|
|
21
|
-
return splitProps(props, tableFooterVariantKeys)
|
|
22
|
-
},
|
|
23
|
-
getVariantProps: tableFooterFn.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 TableHeadVariant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type TableHeadVariantMap = {
|
|
10
|
-
[key in keyof TableHeadVariant]: Array<TableHeadVariant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type TableHeadVariantProps = {
|
|
14
|
-
[key in keyof TableHeadVariant]?: ConditionalValue<TableHeadVariant[key]> | undefined
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface TableHeadRecipe {
|
|
18
|
-
__type: TableHeadVariantProps
|
|
19
|
-
(props?: TableHeadVariantProps): string
|
|
20
|
-
raw: (props?: TableHeadVariantProps) => TableHeadVariantProps
|
|
21
|
-
variantMap: TableHeadVariantMap
|
|
22
|
-
variantKeys: Array<keyof TableHeadVariant>
|
|
23
|
-
splitVariantProps<Props extends TableHeadVariantProps>(props: Props): [TableHeadVariantProps, Pretty<DistributiveOmit<Props, keyof TableHeadVariantProps>>]
|
|
24
|
-
getVariantProps: (props?: TableHeadVariantProps) => TableHeadVariantProps
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Styles for the TableHead component
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
export declare const tableHead: TableHeadRecipe
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const tableHeadFn = /* @__PURE__ */ createRecipe('tableHead', {}, [])
|
|
5
|
-
|
|
6
|
-
const tableHeadVariantMap = {}
|
|
7
|
-
|
|
8
|
-
const tableHeadVariantKeys = Object.keys(tableHeadVariantMap)
|
|
9
|
-
|
|
10
|
-
export const tableHead = /* @__PURE__ */ Object.assign(memo(tableHeadFn.recipeFn), {
|
|
11
|
-
__recipe__: true,
|
|
12
|
-
__name__: 'tableHead',
|
|
13
|
-
__getCompoundVariantCss__: tableHeadFn.__getCompoundVariantCss__,
|
|
14
|
-
raw: (props) => props,
|
|
15
|
-
variantKeys: tableHeadVariantKeys,
|
|
16
|
-
variantMap: tableHeadVariantMap,
|
|
17
|
-
merge(recipe) {
|
|
18
|
-
return mergeRecipes(this, recipe)
|
|
19
|
-
},
|
|
20
|
-
splitVariantProps(props) {
|
|
21
|
-
return splitProps(props, tableHeadVariantKeys)
|
|
22
|
-
},
|
|
23
|
-
getVariantProps: tableHeadFn.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 TableHeaderVariant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type TableHeaderVariantMap = {
|
|
10
|
-
[key in keyof TableHeaderVariant]: Array<TableHeaderVariant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type TableHeaderVariantProps = {
|
|
14
|
-
[key in keyof TableHeaderVariant]?: ConditionalValue<TableHeaderVariant[key]> | undefined
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface TableHeaderRecipe {
|
|
18
|
-
__type: TableHeaderVariantProps
|
|
19
|
-
(props?: TableHeaderVariantProps): string
|
|
20
|
-
raw: (props?: TableHeaderVariantProps) => TableHeaderVariantProps
|
|
21
|
-
variantMap: TableHeaderVariantMap
|
|
22
|
-
variantKeys: Array<keyof TableHeaderVariant>
|
|
23
|
-
splitVariantProps<Props extends TableHeaderVariantProps>(props: Props): [TableHeaderVariantProps, Pretty<DistributiveOmit<Props, keyof TableHeaderVariantProps>>]
|
|
24
|
-
getVariantProps: (props?: TableHeaderVariantProps) => TableHeaderVariantProps
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Styles for the TableHeader component
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
export declare const tableHeader: TableHeaderRecipe
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const tableHeaderFn = /* @__PURE__ */ createRecipe('tableHeader', {}, [])
|
|
5
|
-
|
|
6
|
-
const tableHeaderVariantMap = {}
|
|
7
|
-
|
|
8
|
-
const tableHeaderVariantKeys = Object.keys(tableHeaderVariantMap)
|
|
9
|
-
|
|
10
|
-
export const tableHeader = /* @__PURE__ */ Object.assign(memo(tableHeaderFn.recipeFn), {
|
|
11
|
-
__recipe__: true,
|
|
12
|
-
__name__: 'tableHeader',
|
|
13
|
-
__getCompoundVariantCss__: tableHeaderFn.__getCompoundVariantCss__,
|
|
14
|
-
raw: (props) => props,
|
|
15
|
-
variantKeys: tableHeaderVariantKeys,
|
|
16
|
-
variantMap: tableHeaderVariantMap,
|
|
17
|
-
merge(recipe) {
|
|
18
|
-
return mergeRecipes(this, recipe)
|
|
19
|
-
},
|
|
20
|
-
splitVariantProps(props) {
|
|
21
|
-
return splitProps(props, tableHeaderVariantKeys)
|
|
22
|
-
},
|
|
23
|
-
getVariantProps: tableHeaderFn.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 TableRowVariant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type TableRowVariantMap = {
|
|
10
|
-
[key in keyof TableRowVariant]: Array<TableRowVariant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type TableRowVariantProps = {
|
|
14
|
-
[key in keyof TableRowVariant]?: ConditionalValue<TableRowVariant[key]> | undefined
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface TableRowRecipe {
|
|
18
|
-
__type: TableRowVariantProps
|
|
19
|
-
(props?: TableRowVariantProps): string
|
|
20
|
-
raw: (props?: TableRowVariantProps) => TableRowVariantProps
|
|
21
|
-
variantMap: TableRowVariantMap
|
|
22
|
-
variantKeys: Array<keyof TableRowVariant>
|
|
23
|
-
splitVariantProps<Props extends TableRowVariantProps>(props: Props): [TableRowVariantProps, Pretty<DistributiveOmit<Props, keyof TableRowVariantProps>>]
|
|
24
|
-
getVariantProps: (props?: TableRowVariantProps) => TableRowVariantProps
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Styles for the TableRow component
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
export declare const tableRow: TableRowRecipe
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const tableRowFn = /* @__PURE__ */ createRecipe('tableRow', {}, [])
|
|
5
|
-
|
|
6
|
-
const tableRowVariantMap = {}
|
|
7
|
-
|
|
8
|
-
const tableRowVariantKeys = Object.keys(tableRowVariantMap)
|
|
9
|
-
|
|
10
|
-
export const tableRow = /* @__PURE__ */ Object.assign(memo(tableRowFn.recipeFn), {
|
|
11
|
-
__recipe__: true,
|
|
12
|
-
__name__: 'tableRow',
|
|
13
|
-
__getCompoundVariantCss__: tableRowFn.__getCompoundVariantCss__,
|
|
14
|
-
raw: (props) => props,
|
|
15
|
-
variantKeys: tableRowVariantKeys,
|
|
16
|
-
variantMap: tableRowVariantMap,
|
|
17
|
-
merge(recipe) {
|
|
18
|
-
return mergeRecipes(this, recipe)
|
|
19
|
-
},
|
|
20
|
-
splitVariantProps(props) {
|
|
21
|
-
return splitProps(props, tableRowVariantKeys)
|
|
22
|
-
},
|
|
23
|
-
getVariantProps: tableRowFn.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 TableVariant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type TableVariantMap = {
|
|
10
|
-
[key in keyof TableVariant]: Array<TableVariant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type TableVariantProps = {
|
|
14
|
-
[key in keyof TableVariant]?: ConditionalValue<TableVariant[key]> | undefined
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface TableRecipe {
|
|
18
|
-
__type: TableVariantProps
|
|
19
|
-
(props?: TableVariantProps): string
|
|
20
|
-
raw: (props?: TableVariantProps) => TableVariantProps
|
|
21
|
-
variantMap: TableVariantMap
|
|
22
|
-
variantKeys: Array<keyof TableVariant>
|
|
23
|
-
splitVariantProps<Props extends TableVariantProps>(props: Props): [TableVariantProps, Pretty<DistributiveOmit<Props, keyof TableVariantProps>>]
|
|
24
|
-
getVariantProps: (props?: TableVariantProps) => TableVariantProps
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Styles for the Table component
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
export declare const table: TableRecipe
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const tableFn = /* @__PURE__ */ createRecipe('table', {}, [])
|
|
5
|
-
|
|
6
|
-
const tableVariantMap = {}
|
|
7
|
-
|
|
8
|
-
const tableVariantKeys = Object.keys(tableVariantMap)
|
|
9
|
-
|
|
10
|
-
export const table = /* @__PURE__ */ Object.assign(memo(tableFn.recipeFn), {
|
|
11
|
-
__recipe__: true,
|
|
12
|
-
__name__: 'table',
|
|
13
|
-
__getCompoundVariantCss__: tableFn.__getCompoundVariantCss__,
|
|
14
|
-
raw: (props) => props,
|
|
15
|
-
variantKeys: tableVariantKeys,
|
|
16
|
-
variantMap: tableVariantMap,
|
|
17
|
-
merge(recipe) {
|
|
18
|
-
return mergeRecipes(this, recipe)
|
|
19
|
-
},
|
|
20
|
-
splitVariantProps(props) {
|
|
21
|
-
return splitProps(props, tableVariantKeys)
|
|
22
|
-
},
|
|
23
|
-
getVariantProps: tableFn.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 TabsVariant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type TabsVariantMap = {
|
|
10
|
-
[key in keyof TabsVariant]: Array<TabsVariant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type TabsVariantProps = {
|
|
14
|
-
[key in keyof TabsVariant]?: ConditionalValue<TabsVariant[key]> | undefined
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface TabsRecipe {
|
|
18
|
-
__type: TabsVariantProps
|
|
19
|
-
(props?: TabsVariantProps): Pretty<Record<"root" | "list" | "trigger" | "content", string>>
|
|
20
|
-
raw: (props?: TabsVariantProps) => TabsVariantProps
|
|
21
|
-
variantMap: TabsVariantMap
|
|
22
|
-
variantKeys: Array<keyof TabsVariant>
|
|
23
|
-
splitVariantProps<Props extends TabsVariantProps>(props: Props): [TabsVariantProps, Pretty<DistributiveOmit<Props, keyof TabsVariantProps>>]
|
|
24
|
-
getVariantProps: (props?: TabsVariantProps) => TabsVariantProps
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Styles for the Tabs component
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
export declare const tabs: TabsRecipe
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const tabsDefaultVariants = {}
|
|
5
|
-
const tabsCompoundVariants = []
|
|
6
|
-
|
|
7
|
-
const tabsSlotNames = [
|
|
8
|
-
[
|
|
9
|
-
"root",
|
|
10
|
-
"tabs__root"
|
|
11
|
-
],
|
|
12
|
-
[
|
|
13
|
-
"list",
|
|
14
|
-
"tabs__list"
|
|
15
|
-
],
|
|
16
|
-
[
|
|
17
|
-
"trigger",
|
|
18
|
-
"tabs__trigger"
|
|
19
|
-
],
|
|
20
|
-
[
|
|
21
|
-
"content",
|
|
22
|
-
"tabs__content"
|
|
23
|
-
]
|
|
24
|
-
]
|
|
25
|
-
const tabsSlotFns = /* @__PURE__ */ tabsSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, tabsDefaultVariants, getSlotCompoundVariant(tabsCompoundVariants, slotName))])
|
|
26
|
-
|
|
27
|
-
const tabsFn = memo((props = {}) => {
|
|
28
|
-
return Object.fromEntries(tabsSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
29
|
-
})
|
|
30
|
-
|
|
31
|
-
const tabsVariantKeys = []
|
|
32
|
-
const getVariantProps = (variants) => ({ ...tabsDefaultVariants, ...compact(variants) })
|
|
33
|
-
|
|
34
|
-
export const tabs = /* @__PURE__ */ Object.assign(tabsFn, {
|
|
35
|
-
__recipe__: false,
|
|
36
|
-
__name__: 'tabs',
|
|
37
|
-
raw: (props) => props,
|
|
38
|
-
variantKeys: tabsVariantKeys,
|
|
39
|
-
variantMap: {},
|
|
40
|
-
splitVariantProps(props) {
|
|
41
|
-
return splitProps(props, tabsVariantKeys)
|
|
42
|
-
},
|
|
43
|
-
getVariantProps
|
|
44
|
-
})
|