@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,29 @@
|
|
|
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 ToggleVariant {
|
|
7
|
+
variant: "default" | "outline"
|
|
8
|
+
size: "default" | "sm" | "lg"
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
type ToggleVariantMap = {
|
|
12
|
+
[key in keyof ToggleVariant]: Array<ToggleVariant[key]>
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export type ToggleVariantProps = {
|
|
16
|
+
[key in keyof ToggleVariant]?: ConditionalValue<ToggleVariant[key]>
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface ToggleRecipe {
|
|
20
|
+
__type: ToggleVariantProps
|
|
21
|
+
(props?: ToggleVariantProps): string
|
|
22
|
+
raw: (props?: ToggleVariantProps) => ToggleVariantProps
|
|
23
|
+
variantMap: ToggleVariantMap
|
|
24
|
+
variantKeys: Array<keyof ToggleVariant>
|
|
25
|
+
splitVariantProps<Props extends ToggleVariantProps>(props: Props): [ToggleVariantProps, Pretty<DistributiveOmit<Props, keyof ToggleVariantProps>>]
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/** Styles for the Toggle component */
|
|
29
|
+
export declare const toggle: ToggleRecipe
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { splitProps } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe } 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(toggleFn, {
|
|
24
|
+
__recipe__: true,
|
|
25
|
+
__name__: 'toggle',
|
|
26
|
+
raw: (props) => props,
|
|
27
|
+
variantKeys: toggleVariantKeys,
|
|
28
|
+
variantMap: toggleVariantMap,
|
|
29
|
+
splitVariantProps(props) {
|
|
30
|
+
return splitProps(props, toggleVariantKeys)
|
|
31
|
+
},
|
|
32
|
+
})
|
|
@@ -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 TooltipVariant {
|
|
7
|
+
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
type TooltipVariantMap = {
|
|
11
|
+
[key in keyof TooltipVariant]: Array<TooltipVariant[key]>
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export type TooltipVariantProps = {
|
|
15
|
+
[key in keyof TooltipVariant]?: ConditionalValue<TooltipVariant[key]>
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface TooltipRecipe {
|
|
19
|
+
__type: TooltipVariantProps
|
|
20
|
+
(props?: TooltipVariantProps): Pretty<Record<"root" | "trigger" | "content", string>>
|
|
21
|
+
raw: (props?: TooltipVariantProps) => TooltipVariantProps
|
|
22
|
+
variantMap: TooltipVariantMap
|
|
23
|
+
variantKeys: Array<keyof TooltipVariant>
|
|
24
|
+
splitVariantProps<Props extends TooltipVariantProps>(props: Props): [TooltipVariantProps, Pretty<DistributiveOmit<Props, keyof TooltipVariantProps>>]
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/** Styles for the Tooltip component */
|
|
28
|
+
export declare const tooltip: TooltipRecipe
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { splitProps, getSlotCompoundVariant } 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 = (props = {}) => {
|
|
24
|
+
return Object.fromEntries(tooltipSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
const tooltipVariantKeys = []
|
|
28
|
+
|
|
29
|
+
export const tooltip = /* @__PURE__ */ Object.assign(tooltipFn, {
|
|
30
|
+
__recipe__: false,
|
|
31
|
+
__name__: 'tooltip',
|
|
32
|
+
raw: (props) => props,
|
|
33
|
+
variantKeys: tooltipVariantKeys,
|
|
34
|
+
variantMap: {},
|
|
35
|
+
splitVariantProps(props) {
|
|
36
|
+
return splitProps(props, tooltipVariantKeys)
|
|
37
|
+
},
|
|
38
|
+
})
|
|
@@ -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 TypographyTableContainerVariant {
|
|
7
|
+
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
type TypographyTableContainerVariantMap = {
|
|
11
|
+
[key in keyof TypographyTableContainerVariant]: Array<TypographyTableContainerVariant[key]>
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export type TypographyTableContainerVariantProps = {
|
|
15
|
+
[key in keyof TypographyTableContainerVariant]?: ConditionalValue<TypographyTableContainerVariant[key]>
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface TypographyTableContainerRecipe {
|
|
19
|
+
__type: TypographyTableContainerVariantProps
|
|
20
|
+
(props?: TypographyTableContainerVariantProps): string
|
|
21
|
+
raw: (props?: TypographyTableContainerVariantProps) => TypographyTableContainerVariantProps
|
|
22
|
+
variantMap: TypographyTableContainerVariantMap
|
|
23
|
+
variantKeys: Array<keyof TypographyTableContainerVariant>
|
|
24
|
+
splitVariantProps<Props extends TypographyTableContainerVariantProps>(props: Props): [TypographyTableContainerVariantProps, Pretty<DistributiveOmit<Props, keyof TypographyTableContainerVariantProps>>]
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/** Typography - table container style */
|
|
28
|
+
export declare const typographyTableContainer: TypographyTableContainerRecipe
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { splitProps } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe } 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(typographyTableContainerFn, {
|
|
11
|
+
__recipe__: true,
|
|
12
|
+
__name__: 'typographyTableContainer',
|
|
13
|
+
raw: (props) => props,
|
|
14
|
+
variantKeys: typographyTableContainerVariantKeys,
|
|
15
|
+
variantMap: typographyTableContainerVariantMap,
|
|
16
|
+
splitVariantProps(props) {
|
|
17
|
+
return splitProps(props, typographyTableContainerVariantKeys)
|
|
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 TypographyTableVariant {
|
|
7
|
+
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
type TypographyTableVariantMap = {
|
|
11
|
+
[key in keyof TypographyTableVariant]: Array<TypographyTableVariant[key]>
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export type TypographyTableVariantProps = {
|
|
15
|
+
[key in keyof TypographyTableVariant]?: ConditionalValue<TypographyTableVariant[key]>
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface TypographyTableRecipe {
|
|
19
|
+
__type: TypographyTableVariantProps
|
|
20
|
+
(props?: TypographyTableVariantProps): string
|
|
21
|
+
raw: (props?: TypographyTableVariantProps) => TypographyTableVariantProps
|
|
22
|
+
variantMap: TypographyTableVariantMap
|
|
23
|
+
variantKeys: Array<keyof TypographyTableVariant>
|
|
24
|
+
splitVariantProps<Props extends TypographyTableVariantProps>(props: Props): [TypographyTableVariantProps, Pretty<DistributiveOmit<Props, keyof TypographyTableVariantProps>>]
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/** Typography - table style */
|
|
28
|
+
export declare const typographyTable: TypographyTableRecipe
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { splitProps } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe } 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(typographyTableFn, {
|
|
11
|
+
__recipe__: true,
|
|
12
|
+
__name__: 'typographyTable',
|
|
13
|
+
raw: (props) => props,
|
|
14
|
+
variantKeys: typographyTableVariantKeys,
|
|
15
|
+
variantMap: typographyTableVariantMap,
|
|
16
|
+
splitVariantProps(props) {
|
|
17
|
+
return splitProps(props, typographyTableVariantKeys)
|
|
18
|
+
},
|
|
19
|
+
})
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
@layer reset {
|
|
2
|
+
* {
|
|
3
|
+
margin: 0;
|
|
4
|
+
padding: 0;
|
|
5
|
+
font: inherit;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
*,
|
|
9
|
+
*::before,
|
|
10
|
+
*::after {
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
border-width: 0;
|
|
13
|
+
border-style: solid;
|
|
14
|
+
border-color: var(--global-color-border, currentColor);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
html {
|
|
18
|
+
line-height: 1.5;
|
|
19
|
+
--font-fallback: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
20
|
+
'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
21
|
+
'Noto Color Emoji';
|
|
22
|
+
-webkit-text-size-adjust: 100%;
|
|
23
|
+
-webkit-font-smoothing: antialiased;
|
|
24
|
+
-moz-osx-font-smoothing: grayscale;
|
|
25
|
+
-moz-tab-size: 4;
|
|
26
|
+
tab-size: 4;
|
|
27
|
+
font-family: var(--global-font-body, var(--font-fallback));
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
hr {
|
|
31
|
+
height: 0;
|
|
32
|
+
color: inherit;
|
|
33
|
+
border-top-width: 1px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
body {
|
|
37
|
+
height: 100%;
|
|
38
|
+
line-height: inherit;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
img {
|
|
42
|
+
border-style: none;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
img,
|
|
46
|
+
svg,
|
|
47
|
+
video,
|
|
48
|
+
canvas,
|
|
49
|
+
audio,
|
|
50
|
+
iframe,
|
|
51
|
+
embed,
|
|
52
|
+
object {
|
|
53
|
+
display: block;
|
|
54
|
+
vertical-align: middle;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
img,
|
|
58
|
+
video {
|
|
59
|
+
max-width: 100%;
|
|
60
|
+
height: auto;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
p,
|
|
64
|
+
h1,
|
|
65
|
+
h2,
|
|
66
|
+
h3,
|
|
67
|
+
h4,
|
|
68
|
+
h5,
|
|
69
|
+
h6 {
|
|
70
|
+
overflow-wrap: break-word;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
ol,
|
|
74
|
+
ul {
|
|
75
|
+
list-style: none;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
code,
|
|
79
|
+
kbd,
|
|
80
|
+
pre,
|
|
81
|
+
samp {
|
|
82
|
+
font-size: 1em;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
button,
|
|
86
|
+
[type='button'],
|
|
87
|
+
[type='reset'],
|
|
88
|
+
[type='submit'] {
|
|
89
|
+
-webkit-appearance: button;
|
|
90
|
+
background-color: transparent;
|
|
91
|
+
background-image: none;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
button,
|
|
95
|
+
select {
|
|
96
|
+
text-transform: none;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
table {
|
|
100
|
+
text-indent: 0;
|
|
101
|
+
border-color: inherit;
|
|
102
|
+
border-collapse: collapse;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
input::placeholder,
|
|
106
|
+
textarea::placeholder {
|
|
107
|
+
opacity: 1;
|
|
108
|
+
color: var(--global-color-placeholder, #9ca3af);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
textarea {
|
|
112
|
+
resize: vertical;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
summary {
|
|
116
|
+
display: list-item;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
small {
|
|
120
|
+
font-size: 80%;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
sub,
|
|
124
|
+
sup {
|
|
125
|
+
font-size: 75%;
|
|
126
|
+
line-height: 0;
|
|
127
|
+
position: relative;
|
|
128
|
+
vertical-align: baseline;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
sub {
|
|
132
|
+
bottom: -0.25em;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
sup {
|
|
136
|
+
top: -0.5em;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
dialog {
|
|
140
|
+
padding: 0;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
a {
|
|
144
|
+
color: inherit;
|
|
145
|
+
text-decoration: inherit;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
abbr:where([title]) {
|
|
149
|
+
text-decoration: underline dotted;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
b,
|
|
153
|
+
strong {
|
|
154
|
+
font-weight: bolder;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
code,
|
|
158
|
+
kbd,
|
|
159
|
+
samp,
|
|
160
|
+
pre {
|
|
161
|
+
font-size: 1em;
|
|
162
|
+
--font-mono-fallback: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New';
|
|
163
|
+
font-family: var(--global-font-mono, var(--font-fallback));
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
input[type="text"],
|
|
168
|
+
input[type="email"],
|
|
169
|
+
input[type="search"],
|
|
170
|
+
input[type="password"] {
|
|
171
|
+
-webkit-appearance: none;
|
|
172
|
+
-moz-appearance: none;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
input[type='search'] {
|
|
176
|
+
-webkit-appearance: textfield;
|
|
177
|
+
outline-offset: -2px;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
::-webkit-search-decoration,
|
|
181
|
+
::-webkit-search-cancel-button {
|
|
182
|
+
-webkit-appearance: none;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
::-webkit-file-upload-button {
|
|
186
|
+
-webkit-appearance: button;
|
|
187
|
+
font: inherit;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
input[type="number"]::-webkit-inner-spin-button,
|
|
191
|
+
input[type="number"]::-webkit-outer-spin-button {
|
|
192
|
+
height: auto;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
input[type='number']{
|
|
196
|
+
-moz-appearance: textfield;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
:-moz-ui-invalid {
|
|
200
|
+
box-shadow: none;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
:-moz-focusring {
|
|
204
|
+
outline: auto;
|
|
205
|
+
}
|
|
206
|
+
}
|