@luxonis/depthai-pipeline-lib 1.4.12 → 1.4.14
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/panda.css +670 -809
- package/dist/src/components/PipelineCanvas.js +14 -9
- package/dist/src/styled-system/css/conditions.mjs +4 -2
- package/dist/src/styled-system/css/css.d.mts +15 -2
- package/dist/src/styled-system/css/css.mjs +2 -1
- package/dist/src/styled-system/css/cva.d.mts +1 -1
- package/dist/src/styled-system/css/cva.mjs +28 -4
- package/dist/src/styled-system/css/sva.mjs +9 -3
- package/dist/src/styled-system/helpers.mjs +109 -64
- package/dist/src/styled-system/patterns/aspect-ratio.d.mts +1 -1
- package/dist/src/styled-system/patterns/aspect-ratio.mjs +5 -2
- package/dist/src/styled-system/patterns/bleed.d.mts +3 -3
- package/dist/src/styled-system/patterns/bleed.mjs +12 -7
- package/dist/src/styled-system/patterns/box.d.mts +1 -1
- package/dist/src/styled-system/patterns/box.mjs +5 -2
- package/dist/src/styled-system/patterns/center.d.mts +1 -1
- package/dist/src/styled-system/patterns/center.mjs +5 -2
- package/dist/src/styled-system/patterns/circle.d.mts +2 -2
- package/dist/src/styled-system/patterns/circle.mjs +5 -2
- package/dist/src/styled-system/patterns/container.d.mts +1 -1
- package/dist/src/styled-system/patterns/container.mjs +5 -2
- package/dist/src/styled-system/patterns/cq.d.mts +22 -0
- package/dist/src/styled-system/patterns/cq.mjs +21 -0
- package/dist/src/styled-system/patterns/divider.d.mts +1 -1
- package/dist/src/styled-system/patterns/divider.mjs +8 -4
- package/dist/src/styled-system/patterns/flex.d.mts +8 -8
- package/dist/src/styled-system/patterns/flex.mjs +5 -2
- package/dist/src/styled-system/patterns/float.d.mts +1 -1
- package/dist/src/styled-system/patterns/float.mjs +10 -3
- package/dist/src/styled-system/patterns/grid-item.d.mts +1 -1
- package/dist/src/styled-system/patterns/grid-item.mjs +5 -2
- package/dist/src/styled-system/patterns/grid.d.mts +4 -4
- package/dist/src/styled-system/patterns/grid.mjs +12 -5
- package/dist/src/styled-system/patterns/hstack.d.mts +3 -3
- package/dist/src/styled-system/patterns/hstack.mjs +8 -4
- package/dist/src/styled-system/patterns/index.d.mts +2 -2
- package/dist/src/styled-system/patterns/index.mjs +2 -2
- package/dist/src/styled-system/patterns/link-overlay.d.mts +1 -1
- package/dist/src/styled-system/patterns/link-overlay.mjs +5 -5
- package/dist/src/styled-system/patterns/spacer.d.mts +1 -1
- package/dist/src/styled-system/patterns/spacer.mjs +5 -2
- package/dist/src/styled-system/patterns/square.d.mts +2 -2
- package/dist/src/styled-system/patterns/square.mjs +5 -2
- package/dist/src/styled-system/patterns/stack.d.mts +5 -5
- package/dist/src/styled-system/patterns/stack.mjs +8 -4
- package/dist/src/styled-system/patterns/visually-hidden.d.mts +1 -1
- package/dist/src/styled-system/patterns/visually-hidden.mjs +5 -2
- package/dist/src/styled-system/patterns/vstack.d.mts +3 -3
- package/dist/src/styled-system/patterns/vstack.mjs +8 -4
- package/dist/src/styled-system/patterns/wrap.d.mts +6 -6
- package/dist/src/styled-system/patterns/wrap.mjs +5 -2
- package/dist/src/styled-system/recipes/accordion.d.mts +8 -4
- package/dist/src/styled-system/recipes/accordion.mjs +6 -4
- package/dist/src/styled-system/recipes/alert-description.d.mts +8 -4
- package/dist/src/styled-system/recipes/alert-description.mjs +8 -3
- package/dist/src/styled-system/recipes/alert-dialog.d.mts +8 -4
- package/dist/src/styled-system/recipes/alert-dialog.mjs +6 -4
- package/dist/src/styled-system/recipes/alert-title.d.mts +8 -4
- package/dist/src/styled-system/recipes/alert-title.mjs +8 -3
- package/dist/src/styled-system/recipes/alert.d.mts +12 -5
- package/dist/src/styled-system/recipes/alert.mjs +8 -3
- package/dist/src/styled-system/recipes/avatar.d.mts +8 -4
- package/dist/src/styled-system/recipes/avatar.mjs +6 -4
- package/dist/src/styled-system/recipes/badge.d.mts +12 -5
- package/dist/src/styled-system/recipes/badge.mjs +8 -3
- package/dist/src/styled-system/recipes/blockquote.d.mts +8 -4
- package/dist/src/styled-system/recipes/blockquote.mjs +8 -3
- package/dist/src/styled-system/recipes/button.d.mts +15 -5
- package/dist/src/styled-system/recipes/button.mjs +8 -3
- package/dist/src/styled-system/recipes/calendar.d.mts +8 -4
- package/dist/src/styled-system/recipes/calendar.mjs +6 -4
- package/dist/src/styled-system/recipes/card-content.d.mts +8 -4
- package/dist/src/styled-system/recipes/card-content.mjs +8 -3
- package/dist/src/styled-system/recipes/card-description.d.mts +8 -4
- package/dist/src/styled-system/recipes/card-description.mjs +8 -3
- package/dist/src/styled-system/recipes/card-footer.d.mts +8 -4
- package/dist/src/styled-system/recipes/card-footer.mjs +8 -3
- package/dist/src/styled-system/recipes/card-header.d.mts +8 -4
- package/dist/src/styled-system/recipes/card-header.mjs +8 -3
- package/dist/src/styled-system/recipes/card-title.d.mts +8 -4
- package/dist/src/styled-system/recipes/card-title.mjs +8 -3
- package/dist/src/styled-system/recipes/card.d.mts +8 -4
- package/dist/src/styled-system/recipes/card.mjs +8 -3
- package/dist/src/styled-system/recipes/checkbox.d.mts +8 -4
- package/dist/src/styled-system/recipes/checkbox.mjs +6 -4
- package/dist/src/styled-system/recipes/collapsible.d.mts +8 -4
- package/dist/src/styled-system/recipes/collapsible.mjs +6 -4
- package/dist/src/styled-system/recipes/command-dialog.d.mts +8 -4
- package/dist/src/styled-system/recipes/command-dialog.mjs +6 -4
- package/dist/src/styled-system/recipes/command.d.mts +8 -4
- package/dist/src/styled-system/recipes/command.mjs +6 -4
- package/dist/src/styled-system/recipes/context-menu.d.mts +12 -5
- package/dist/src/styled-system/recipes/context-menu.mjs +6 -4
- package/dist/src/styled-system/recipes/create-recipe.mjs +39 -7
- package/dist/src/styled-system/recipes/dialog.d.mts +8 -4
- package/dist/src/styled-system/recipes/dialog.mjs +6 -4
- package/dist/src/styled-system/recipes/dropdown-menu.d.mts +8 -4
- package/dist/src/styled-system/recipes/dropdown-menu.mjs +6 -4
- package/dist/src/styled-system/recipes/form-control.d.mts +8 -4
- package/dist/src/styled-system/recipes/form-control.mjs +8 -3
- package/dist/src/styled-system/recipes/form-description.d.mts +8 -4
- package/dist/src/styled-system/recipes/form-description.mjs +8 -3
- package/dist/src/styled-system/recipes/form-item.d.mts +8 -4
- package/dist/src/styled-system/recipes/form-item.mjs +8 -3
- package/dist/src/styled-system/recipes/form-label.d.mts +8 -4
- package/dist/src/styled-system/recipes/form-label.mjs +8 -3
- package/dist/src/styled-system/recipes/form-message.d.mts +8 -4
- package/dist/src/styled-system/recipes/form-message.mjs +8 -3
- package/dist/src/styled-system/recipes/h1.d.mts +8 -4
- package/dist/src/styled-system/recipes/h1.mjs +8 -3
- package/dist/src/styled-system/recipes/h2.d.mts +8 -4
- package/dist/src/styled-system/recipes/h2.mjs +8 -3
- package/dist/src/styled-system/recipes/h3.d.mts +8 -4
- package/dist/src/styled-system/recipes/h3.mjs +8 -3
- package/dist/src/styled-system/recipes/h4.d.mts +8 -4
- package/dist/src/styled-system/recipes/h4.mjs +8 -3
- package/dist/src/styled-system/recipes/hover-card.d.mts +8 -4
- package/dist/src/styled-system/recipes/hover-card.mjs +6 -4
- package/dist/src/styled-system/recipes/icon.d.mts +24 -5
- package/dist/src/styled-system/recipes/icon.mjs +8 -3
- package/dist/src/styled-system/recipes/inline-code.d.mts +8 -4
- package/dist/src/styled-system/recipes/inline-code.mjs +8 -3
- package/dist/src/styled-system/recipes/input.d.mts +8 -4
- package/dist/src/styled-system/recipes/input.mjs +8 -3
- package/dist/src/styled-system/recipes/label.d.mts +8 -4
- package/dist/src/styled-system/recipes/label.mjs +8 -3
- package/dist/src/styled-system/recipes/large.d.mts +8 -4
- package/dist/src/styled-system/recipes/large.mjs +8 -3
- package/dist/src/styled-system/recipes/lead.d.mts +8 -4
- package/dist/src/styled-system/recipes/lead.mjs +8 -3
- package/dist/src/styled-system/recipes/link.d.mts +8 -4
- package/dist/src/styled-system/recipes/link.mjs +8 -3
- package/dist/src/styled-system/recipes/list.d.mts +8 -4
- package/dist/src/styled-system/recipes/list.mjs +8 -3
- package/dist/src/styled-system/recipes/menubar.d.mts +8 -4
- package/dist/src/styled-system/recipes/menubar.mjs +6 -4
- package/dist/src/styled-system/recipes/muted.d.mts +8 -4
- package/dist/src/styled-system/recipes/muted.mjs +8 -3
- package/dist/src/styled-system/recipes/navigation-menu.d.mts +8 -4
- package/dist/src/styled-system/recipes/navigation-menu.mjs +6 -4
- package/dist/src/styled-system/recipes/p.d.mts +8 -4
- package/dist/src/styled-system/recipes/p.mjs +8 -3
- package/dist/src/styled-system/recipes/popover.d.mts +8 -4
- package/dist/src/styled-system/recipes/popover.mjs +6 -4
- package/dist/src/styled-system/recipes/progress.d.mts +8 -4
- package/dist/src/styled-system/recipes/progress.mjs +6 -4
- package/dist/src/styled-system/recipes/radio-group.d.mts +8 -4
- package/dist/src/styled-system/recipes/radio-group.mjs +6 -4
- package/dist/src/styled-system/recipes/scroll-area.d.mts +8 -4
- package/dist/src/styled-system/recipes/scroll-area.mjs +6 -4
- package/dist/src/styled-system/recipes/select.d.mts +8 -4
- package/dist/src/styled-system/recipes/select.mjs +6 -4
- package/dist/src/styled-system/recipes/separator.d.mts +12 -5
- package/dist/src/styled-system/recipes/separator.mjs +8 -3
- package/dist/src/styled-system/recipes/sheet.d.mts +12 -5
- package/dist/src/styled-system/recipes/sheet.mjs +6 -4
- package/dist/src/styled-system/recipes/skeleton.d.mts +8 -4
- package/dist/src/styled-system/recipes/skeleton.mjs +8 -3
- package/dist/src/styled-system/recipes/slider.d.mts +8 -4
- package/dist/src/styled-system/recipes/slider.mjs +6 -4
- package/dist/src/styled-system/recipes/small.d.mts +8 -4
- package/dist/src/styled-system/recipes/small.mjs +8 -3
- package/dist/src/styled-system/recipes/switch-recipe.d.mts +8 -4
- package/dist/src/styled-system/recipes/switch-recipe.mjs +6 -4
- package/dist/src/styled-system/recipes/table-body.d.mts +8 -4
- package/dist/src/styled-system/recipes/table-body.mjs +8 -3
- package/dist/src/styled-system/recipes/table-caption.d.mts +8 -4
- package/dist/src/styled-system/recipes/table-caption.mjs +8 -3
- package/dist/src/styled-system/recipes/table-cell.d.mts +8 -4
- package/dist/src/styled-system/recipes/table-cell.mjs +8 -3
- package/dist/src/styled-system/recipes/table-container.d.mts +8 -4
- package/dist/src/styled-system/recipes/table-container.mjs +8 -3
- package/dist/src/styled-system/recipes/table-footer.d.mts +8 -4
- package/dist/src/styled-system/recipes/table-footer.mjs +8 -3
- package/dist/src/styled-system/recipes/table-head.d.mts +8 -4
- package/dist/src/styled-system/recipes/table-head.mjs +8 -3
- package/dist/src/styled-system/recipes/table-header.d.mts +8 -4
- package/dist/src/styled-system/recipes/table-header.mjs +8 -3
- package/dist/src/styled-system/recipes/table-row.d.mts +8 -4
- package/dist/src/styled-system/recipes/table-row.mjs +8 -3
- package/dist/src/styled-system/recipes/table.d.mts +8 -4
- package/dist/src/styled-system/recipes/table.mjs +8 -3
- package/dist/src/styled-system/recipes/tabs.d.mts +8 -4
- package/dist/src/styled-system/recipes/tabs.mjs +6 -4
- package/dist/src/styled-system/recipes/textarea.d.mts +8 -4
- package/dist/src/styled-system/recipes/textarea.mjs +8 -3
- package/dist/src/styled-system/recipes/toast-viewport.d.mts +8 -4
- package/dist/src/styled-system/recipes/toast-viewport.mjs +8 -3
- package/dist/src/styled-system/recipes/toast.d.mts +12 -5
- package/dist/src/styled-system/recipes/toast.mjs +6 -4
- package/dist/src/styled-system/recipes/toggle.d.mts +15 -5
- package/dist/src/styled-system/recipes/toggle.mjs +8 -3
- package/dist/src/styled-system/recipes/tooltip.d.mts +8 -4
- package/dist/src/styled-system/recipes/tooltip.mjs +6 -4
- package/dist/src/styled-system/recipes/typography-table-container.d.mts +8 -4
- package/dist/src/styled-system/recipes/typography-table-container.mjs +8 -3
- package/dist/src/styled-system/recipes/typography-table.d.mts +8 -4
- package/dist/src/styled-system/recipes/typography-table.mjs +8 -3
- package/dist/src/styled-system/tokens/index.mjs +271 -219
- package/dist/src/styled-system/tokens/tokens.d.mts +18 -18
- package/dist/src/styled-system/types/composition.d.mts +70 -17
- package/dist/src/styled-system/types/conditions.d.mts +105 -49
- package/dist/src/styled-system/types/csstype.d.mts +1270 -721
- package/dist/src/styled-system/types/global.d.mts +1 -0
- package/dist/src/styled-system/types/index.d.mts +1 -2
- package/dist/src/styled-system/types/parts.d.mts +3 -1
- package/dist/src/styled-system/types/pattern.d.mts +20 -3
- package/dist/src/styled-system/types/prop-type.d.mts +59 -135
- package/dist/src/styled-system/types/recipe.d.mts +42 -9
- package/dist/src/styled-system/types/selectors.d.mts +1 -1
- package/dist/src/styled-system/types/static-css.d.mts +56 -0
- package/dist/src/styled-system/types/style-props.d.mts +7540 -678
- package/dist/src/styled-system/types/system-types.d.mts +128 -20
- package/package.json +3 -3
- package/dist/src/styled-system/chunks/src__components__Node.css +0 -195
- package/dist/src/styled-system/chunks/src__components__PipelineCanvas.css +0 -25
- package/dist/src/styled-system/global.css +0 -70
- package/dist/src/styled-system/patterns/link-box.d.mts +0 -21
- package/dist/src/styled-system/patterns/link-box.mjs +0 -19
- package/dist/src/styled-system/recipes/create-recipe.d.mts +0 -1
- package/dist/src/styled-system/reset.css +0 -206
- package/dist/src/styled-system/static.css +0 -320
- package/dist/src/styled-system/tokens/index.css +0 -620
- package/dist/src/styled-system/tokens/keyframes.css +0 -56
- package/dist/src/styled-system/types/helpers.d.mts +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import type { SystemStyleObject, ConditionalValue } from '../types/index.d.mts';
|
|
3
3
|
import type { Properties } from '../types/csstype.d.mts';
|
|
4
|
-
import type {
|
|
4
|
+
import type { SystemProperties } from '../types/style-props.d.mts';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types.d.mts';
|
|
6
6
|
import type { Tokens } from '../tokens/index.d.mts';
|
|
7
7
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const centerConfig = {
|
|
@@ -12,7 +12,10 @@ transform(props) {
|
|
|
12
12
|
};
|
|
13
13
|
}}
|
|
14
14
|
|
|
15
|
-
export const getCenterStyle = (styles = {}) =>
|
|
15
|
+
export const getCenterStyle = (styles = {}) => {
|
|
16
|
+
const _styles = getPatternStyles(centerConfig, styles)
|
|
17
|
+
return centerConfig.transform(_styles, patternFns)
|
|
18
|
+
}
|
|
16
19
|
|
|
17
20
|
export const center = (styles) => css(getCenterStyle(styles))
|
|
18
21
|
center.raw = getCenterStyle
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import type { SystemStyleObject, ConditionalValue } from '../types/index.d.mts';
|
|
3
3
|
import type { Properties } from '../types/csstype.d.mts';
|
|
4
|
-
import type {
|
|
4
|
+
import type { SystemProperties } from '../types/style-props.d.mts';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types.d.mts';
|
|
6
6
|
import type { Tokens } from '../tokens/index.d.mts';
|
|
7
7
|
|
|
8
8
|
export interface CircleProperties {
|
|
9
|
-
size?:
|
|
9
|
+
size?: SystemProperties["width"]
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const circleConfig = {
|
|
@@ -16,7 +16,10 @@ transform(props) {
|
|
|
16
16
|
};
|
|
17
17
|
}}
|
|
18
18
|
|
|
19
|
-
export const getCircleStyle = (styles = {}) =>
|
|
19
|
+
export const getCircleStyle = (styles = {}) => {
|
|
20
|
+
const _styles = getPatternStyles(circleConfig, styles)
|
|
21
|
+
return circleConfig.transform(_styles, patternFns)
|
|
22
|
+
}
|
|
20
23
|
|
|
21
24
|
export const circle = (styles) => css(getCircleStyle(styles))
|
|
22
25
|
circle.raw = getCircleStyle
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import type { SystemStyleObject, ConditionalValue } from '../types/index.d.mts';
|
|
3
3
|
import type { Properties } from '../types/csstype.d.mts';
|
|
4
|
-
import type {
|
|
4
|
+
import type { SystemProperties } from '../types/style-props.d.mts';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types.d.mts';
|
|
6
6
|
import type { Tokens } from '../tokens/index.d.mts';
|
|
7
7
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const containerConfig = {
|
|
@@ -12,7 +12,10 @@ transform(props) {
|
|
|
12
12
|
};
|
|
13
13
|
}}
|
|
14
14
|
|
|
15
|
-
export const getContainerStyle = (styles = {}) =>
|
|
15
|
+
export const getContainerStyle = (styles = {}) => {
|
|
16
|
+
const _styles = getPatternStyles(containerConfig, styles)
|
|
17
|
+
return containerConfig.transform(_styles, patternFns)
|
|
18
|
+
}
|
|
16
19
|
|
|
17
20
|
export const container = (styles) => css(getContainerStyle(styles))
|
|
18
21
|
container.raw = getContainerStyle
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { SystemStyleObject, ConditionalValue } from '../types/index.d.mts';
|
|
3
|
+
import type { Properties } from '../types/csstype.d.mts';
|
|
4
|
+
import type { SystemProperties } from '../types/style-props.d.mts';
|
|
5
|
+
import type { DistributiveOmit } from '../types/system-types.d.mts';
|
|
6
|
+
import type { Tokens } from '../tokens/index.d.mts';
|
|
7
|
+
|
|
8
|
+
export interface CqProperties {
|
|
9
|
+
name?: ConditionalValue<Tokens["containerNames"] | Properties["containerName"]>
|
|
10
|
+
type?: SystemProperties["containerType"]
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
interface CqStyles extends CqProperties, DistributiveOmit<SystemStyleObject, keyof CqProperties > {}
|
|
15
|
+
|
|
16
|
+
interface CqPatternFn {
|
|
17
|
+
(styles?: CqStyles): string
|
|
18
|
+
raw: (styles?: CqStyles) => SystemStyleObject
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
export declare const cq: CqPatternFn;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
2
|
+
import { css } from '../css/index.mjs';
|
|
3
|
+
|
|
4
|
+
const cqConfig = {
|
|
5
|
+
transform(props) {
|
|
6
|
+
const { name, type, ...rest } = props;
|
|
7
|
+
return {
|
|
8
|
+
containerType: type,
|
|
9
|
+
containerName: name,
|
|
10
|
+
...rest
|
|
11
|
+
};
|
|
12
|
+
},
|
|
13
|
+
defaultValues:{type:'inline-size'}}
|
|
14
|
+
|
|
15
|
+
export const getCqStyle = (styles = {}) => {
|
|
16
|
+
const _styles = getPatternStyles(cqConfig, styles)
|
|
17
|
+
return cqConfig.transform(_styles, patternFns)
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export const cq = (styles) => css(getCqStyle(styles))
|
|
21
|
+
cq.raw = getCqStyle
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import type { SystemStyleObject, ConditionalValue } from '../types/index.d.mts';
|
|
3
3
|
import type { Properties } from '../types/csstype.d.mts';
|
|
4
|
-
import type {
|
|
4
|
+
import type { SystemProperties } from '../types/style-props.d.mts';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types.d.mts';
|
|
6
6
|
import type { Tokens } from '../tokens/index.d.mts';
|
|
7
7
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const dividerConfig = {
|
|
5
5
|
transform(props, { map }) {
|
|
6
|
-
const { orientation
|
|
6
|
+
const { orientation, thickness, color, ...rest } = props;
|
|
7
7
|
return {
|
|
8
8
|
"--thickness": thickness,
|
|
9
9
|
width: map(orientation, (v) => v === "vertical" ? void 0 : "100%"),
|
|
@@ -13,9 +13,13 @@ transform(props, { map }) {
|
|
|
13
13
|
borderColor: color,
|
|
14
14
|
...rest
|
|
15
15
|
};
|
|
16
|
-
}
|
|
16
|
+
},
|
|
17
|
+
defaultValues:{orientation:'horizontal',thickness:'1px'}}
|
|
17
18
|
|
|
18
|
-
export const getDividerStyle = (styles = {}) =>
|
|
19
|
+
export const getDividerStyle = (styles = {}) => {
|
|
20
|
+
const _styles = getPatternStyles(dividerConfig, styles)
|
|
21
|
+
return dividerConfig.transform(_styles, patternFns)
|
|
22
|
+
}
|
|
19
23
|
|
|
20
24
|
export const divider = (styles) => css(getDividerStyle(styles))
|
|
21
25
|
divider.raw = getDividerStyle
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import type { SystemStyleObject, ConditionalValue } from '../types/index.d.mts';
|
|
3
3
|
import type { Properties } from '../types/csstype.d.mts';
|
|
4
|
-
import type {
|
|
4
|
+
import type { SystemProperties } from '../types/style-props.d.mts';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types.d.mts';
|
|
6
6
|
import type { Tokens } from '../tokens/index.d.mts';
|
|
7
7
|
|
|
8
8
|
export interface FlexProperties {
|
|
9
|
-
align?:
|
|
10
|
-
justify?:
|
|
11
|
-
direction?:
|
|
12
|
-
wrap?:
|
|
13
|
-
basis?:
|
|
14
|
-
grow?:
|
|
15
|
-
shrink?:
|
|
9
|
+
align?: SystemProperties["alignItems"]
|
|
10
|
+
justify?: SystemProperties["justifyContent"]
|
|
11
|
+
direction?: SystemProperties["flexDirection"]
|
|
12
|
+
wrap?: SystemProperties["flexWrap"]
|
|
13
|
+
basis?: SystemProperties["flexBasis"]
|
|
14
|
+
grow?: SystemProperties["flexGrow"]
|
|
15
|
+
shrink?: SystemProperties["flexShrink"]
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const flexConfig = {
|
|
@@ -17,7 +17,10 @@ transform(props) {
|
|
|
17
17
|
};
|
|
18
18
|
}}
|
|
19
19
|
|
|
20
|
-
export const getFlexStyle = (styles = {}) =>
|
|
20
|
+
export const getFlexStyle = (styles = {}) => {
|
|
21
|
+
const _styles = getPatternStyles(flexConfig, styles)
|
|
22
|
+
return flexConfig.transform(_styles, patternFns)
|
|
23
|
+
}
|
|
21
24
|
|
|
22
25
|
export const flex = (styles) => css(getFlexStyle(styles))
|
|
23
26
|
flex.raw = getFlexStyle
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import type { SystemStyleObject, ConditionalValue } from '../types/index.d.mts';
|
|
3
3
|
import type { Properties } from '../types/csstype.d.mts';
|
|
4
|
-
import type {
|
|
4
|
+
import type { SystemProperties } from '../types/style-props.d.mts';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types.d.mts';
|
|
6
6
|
import type { Tokens } from '../tokens/index.d.mts';
|
|
7
7
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const floatConfig = {
|
|
5
5
|
transform(props, { map }) {
|
|
6
|
-
const { offset
|
|
6
|
+
const { offset, offsetX, offsetY, placement, ...rest } = props;
|
|
7
7
|
return {
|
|
8
8
|
display: "inline-flex",
|
|
9
9
|
justifyContent: "center",
|
|
@@ -37,9 +37,16 @@ transform(props, { map }) {
|
|
|
37
37
|
}),
|
|
38
38
|
...rest
|
|
39
39
|
};
|
|
40
|
+
},
|
|
41
|
+
defaultValues(props) {
|
|
42
|
+
const offset = props.offset || "0";
|
|
43
|
+
return { offset, offsetX: offset, offsetY: offset, placement: "top-end" };
|
|
40
44
|
}}
|
|
41
45
|
|
|
42
|
-
export const getFloatStyle = (styles = {}) =>
|
|
46
|
+
export const getFloatStyle = (styles = {}) => {
|
|
47
|
+
const _styles = getPatternStyles(floatConfig, styles)
|
|
48
|
+
return floatConfig.transform(_styles, patternFns)
|
|
49
|
+
}
|
|
43
50
|
|
|
44
51
|
export const float = (styles) => css(getFloatStyle(styles))
|
|
45
52
|
float.raw = getFloatStyle
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import type { SystemStyleObject, ConditionalValue } from '../types/index.d.mts';
|
|
3
3
|
import type { Properties } from '../types/csstype.d.mts';
|
|
4
|
-
import type {
|
|
4
|
+
import type { SystemProperties } from '../types/style-props.d.mts';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types.d.mts';
|
|
6
6
|
import type { Tokens } from '../tokens/index.d.mts';
|
|
7
7
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const gridItemConfig = {
|
|
@@ -16,7 +16,10 @@ transform(props, { map }) {
|
|
|
16
16
|
};
|
|
17
17
|
}}
|
|
18
18
|
|
|
19
|
-
export const getGridItemStyle = (styles = {}) =>
|
|
19
|
+
export const getGridItemStyle = (styles = {}) => {
|
|
20
|
+
const _styles = getPatternStyles(gridItemConfig, styles)
|
|
21
|
+
return gridItemConfig.transform(_styles, patternFns)
|
|
22
|
+
}
|
|
20
23
|
|
|
21
24
|
export const gridItem = (styles) => css(getGridItemStyle(styles))
|
|
22
25
|
gridItem.raw = getGridItemStyle
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import type { SystemStyleObject, ConditionalValue } from '../types/index.d.mts';
|
|
3
3
|
import type { Properties } from '../types/csstype.d.mts';
|
|
4
|
-
import type {
|
|
4
|
+
import type { SystemProperties } from '../types/style-props.d.mts';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types.d.mts';
|
|
6
6
|
import type { Tokens } from '../tokens/index.d.mts';
|
|
7
7
|
|
|
8
8
|
export interface GridProperties {
|
|
9
|
-
gap?:
|
|
10
|
-
columnGap?:
|
|
11
|
-
rowGap?:
|
|
9
|
+
gap?: SystemProperties["gap"]
|
|
10
|
+
columnGap?: SystemProperties["gap"]
|
|
11
|
+
rowGap?: SystemProperties["gap"]
|
|
12
12
|
columns?: ConditionalValue<number>
|
|
13
13
|
minChildWidth?: ConditionalValue<Tokens["sizes"] | Properties["width"]>
|
|
14
14
|
}
|
|
@@ -1,20 +1,27 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const gridConfig = {
|
|
5
|
-
transform(props, { map }) {
|
|
6
|
-
const { columnGap, rowGap, gap
|
|
5
|
+
transform(props, { map, isCssUnit }) {
|
|
6
|
+
const { columnGap, rowGap, gap, columns, minChildWidth, ...rest } = props;
|
|
7
|
+
const getValue = (v) => isCssUnit(v) ? v : `token(sizes.${v}, ${v})`;
|
|
7
8
|
return {
|
|
8
9
|
display: "grid",
|
|
9
|
-
gridTemplateColumns: columns != null ? map(columns, (v) => `repeat(${v}, minmax(0, 1fr))`) : minChildWidth != null ? map(minChildWidth, (v) => `repeat(auto-fit, minmax(${v}, 1fr))`) : void 0,
|
|
10
|
+
gridTemplateColumns: columns != null ? map(columns, (v) => `repeat(${v}, minmax(0, 1fr))`) : minChildWidth != null ? map(minChildWidth, (v) => `repeat(auto-fit, minmax(${getValue(v)}, 1fr))`) : void 0,
|
|
10
11
|
gap,
|
|
11
12
|
columnGap,
|
|
12
13
|
rowGap,
|
|
13
14
|
...rest
|
|
14
15
|
};
|
|
16
|
+
},
|
|
17
|
+
defaultValues(props) {
|
|
18
|
+
return { gap: props.columnGap || props.rowGap ? void 0 : "10px" };
|
|
15
19
|
}}
|
|
16
20
|
|
|
17
|
-
export const getGridStyle = (styles = {}) =>
|
|
21
|
+
export const getGridStyle = (styles = {}) => {
|
|
22
|
+
const _styles = getPatternStyles(gridConfig, styles)
|
|
23
|
+
return gridConfig.transform(_styles, patternFns)
|
|
24
|
+
}
|
|
18
25
|
|
|
19
26
|
export const grid = (styles) => css(getGridStyle(styles))
|
|
20
27
|
grid.raw = getGridStyle
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import type { SystemStyleObject, ConditionalValue } from '../types/index.d.mts';
|
|
3
3
|
import type { Properties } from '../types/csstype.d.mts';
|
|
4
|
-
import type {
|
|
4
|
+
import type { SystemProperties } from '../types/style-props.d.mts';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types.d.mts';
|
|
6
6
|
import type { Tokens } from '../tokens/index.d.mts';
|
|
7
7
|
|
|
8
8
|
export interface HstackProperties {
|
|
9
|
-
justify?:
|
|
10
|
-
gap?:
|
|
9
|
+
justify?: SystemProperties["justifyContent"]
|
|
10
|
+
gap?: SystemProperties["gap"]
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const hstackConfig = {
|
|
5
5
|
transform(props) {
|
|
6
|
-
const { justify, gap
|
|
6
|
+
const { justify, gap, ...rest } = props;
|
|
7
7
|
return {
|
|
8
8
|
display: "flex",
|
|
9
9
|
alignItems: "center",
|
|
@@ -12,9 +12,13 @@ transform(props) {
|
|
|
12
12
|
flexDirection: "row",
|
|
13
13
|
...rest
|
|
14
14
|
};
|
|
15
|
-
}
|
|
15
|
+
},
|
|
16
|
+
defaultValues:{gap:'10px'}}
|
|
16
17
|
|
|
17
|
-
export const getHstackStyle = (styles = {}) =>
|
|
18
|
+
export const getHstackStyle = (styles = {}) => {
|
|
19
|
+
const _styles = getPatternStyles(hstackConfig, styles)
|
|
20
|
+
return hstackConfig.transform(_styles, patternFns)
|
|
21
|
+
}
|
|
18
22
|
|
|
19
23
|
export const hstack = (styles) => css(getHstackStyle(styles))
|
|
20
24
|
hstack.raw = getHstackStyle
|
|
@@ -8,7 +8,6 @@ export * from './spacer.d.mts';
|
|
|
8
8
|
export * from './square.d.mts';
|
|
9
9
|
export * from './circle.d.mts';
|
|
10
10
|
export * from './center.d.mts';
|
|
11
|
-
export * from './link-box.d.mts';
|
|
12
11
|
export * from './link-overlay.d.mts';
|
|
13
12
|
export * from './aspect-ratio.d.mts';
|
|
14
13
|
export * from './grid.d.mts';
|
|
@@ -18,4 +17,5 @@ export * from './container.d.mts';
|
|
|
18
17
|
export * from './divider.d.mts';
|
|
19
18
|
export * from './float.d.mts';
|
|
20
19
|
export * from './bleed.d.mts';
|
|
21
|
-
export * from './visually-hidden.d.mts';
|
|
20
|
+
export * from './visually-hidden.d.mts';
|
|
21
|
+
export * from './cq.d.mts';
|
|
@@ -7,7 +7,6 @@ export * from './spacer.mjs';
|
|
|
7
7
|
export * from './square.mjs';
|
|
8
8
|
export * from './circle.mjs';
|
|
9
9
|
export * from './center.mjs';
|
|
10
|
-
export * from './link-box.mjs';
|
|
11
10
|
export * from './link-overlay.mjs';
|
|
12
11
|
export * from './aspect-ratio.mjs';
|
|
13
12
|
export * from './grid.mjs';
|
|
@@ -17,4 +16,5 @@ export * from './container.mjs';
|
|
|
17
16
|
export * from './divider.mjs';
|
|
18
17
|
export * from './float.mjs';
|
|
19
18
|
export * from './bleed.mjs';
|
|
20
|
-
export * from './visually-hidden.mjs';
|
|
19
|
+
export * from './visually-hidden.mjs';
|
|
20
|
+
export * from './cq.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import type { SystemStyleObject, ConditionalValue } from '../types/index.d.mts';
|
|
3
3
|
import type { Properties } from '../types/csstype.d.mts';
|
|
4
|
-
import type {
|
|
4
|
+
import type { SystemProperties } from '../types/style-props.d.mts';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types.d.mts';
|
|
6
6
|
import type { Tokens } from '../tokens/index.d.mts';
|
|
7
7
|
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const linkOverlayConfig = {
|
|
5
5
|
transform(props) {
|
|
6
6
|
return {
|
|
7
|
-
position: "static",
|
|
8
7
|
_before: {
|
|
9
8
|
content: '""',
|
|
10
|
-
display: "block",
|
|
11
9
|
position: "absolute",
|
|
12
|
-
cursor: "inherit",
|
|
13
10
|
inset: "0",
|
|
14
11
|
zIndex: "0",
|
|
15
12
|
...props["_before"]
|
|
@@ -18,7 +15,10 @@ transform(props) {
|
|
|
18
15
|
};
|
|
19
16
|
}}
|
|
20
17
|
|
|
21
|
-
export const getLinkOverlayStyle = (styles = {}) =>
|
|
18
|
+
export const getLinkOverlayStyle = (styles = {}) => {
|
|
19
|
+
const _styles = getPatternStyles(linkOverlayConfig, styles)
|
|
20
|
+
return linkOverlayConfig.transform(_styles, patternFns)
|
|
21
|
+
}
|
|
22
22
|
|
|
23
23
|
export const linkOverlay = (styles) => css(getLinkOverlayStyle(styles))
|
|
24
24
|
linkOverlay.raw = getLinkOverlayStyle
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import type { SystemStyleObject, ConditionalValue } from '../types/index.d.mts';
|
|
3
3
|
import type { Properties } from '../types/csstype.d.mts';
|
|
4
|
-
import type {
|
|
4
|
+
import type { SystemProperties } from '../types/style-props.d.mts';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types.d.mts';
|
|
6
6
|
import type { Tokens } from '../tokens/index.d.mts';
|
|
7
7
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const spacerConfig = {
|
|
@@ -12,7 +12,10 @@ transform(props, { map }) {
|
|
|
12
12
|
};
|
|
13
13
|
}}
|
|
14
14
|
|
|
15
|
-
export const getSpacerStyle = (styles = {}) =>
|
|
15
|
+
export const getSpacerStyle = (styles = {}) => {
|
|
16
|
+
const _styles = getPatternStyles(spacerConfig, styles)
|
|
17
|
+
return spacerConfig.transform(_styles, patternFns)
|
|
18
|
+
}
|
|
16
19
|
|
|
17
20
|
export const spacer = (styles) => css(getSpacerStyle(styles))
|
|
18
21
|
spacer.raw = getSpacerStyle
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import type { SystemStyleObject, ConditionalValue } from '../types/index.d.mts';
|
|
3
3
|
import type { Properties } from '../types/csstype.d.mts';
|
|
4
|
-
import type {
|
|
4
|
+
import type { SystemProperties } from '../types/style-props.d.mts';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types.d.mts';
|
|
6
6
|
import type { Tokens } from '../tokens/index.d.mts';
|
|
7
7
|
|
|
8
8
|
export interface SquareProperties {
|
|
9
|
-
size?:
|
|
9
|
+
size?: SystemProperties["width"]
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const squareConfig = {
|
|
@@ -15,7 +15,10 @@ transform(props) {
|
|
|
15
15
|
};
|
|
16
16
|
}}
|
|
17
17
|
|
|
18
|
-
export const getSquareStyle = (styles = {}) =>
|
|
18
|
+
export const getSquareStyle = (styles = {}) => {
|
|
19
|
+
const _styles = getPatternStyles(squareConfig, styles)
|
|
20
|
+
return squareConfig.transform(_styles, patternFns)
|
|
21
|
+
}
|
|
19
22
|
|
|
20
23
|
export const square = (styles) => css(getSquareStyle(styles))
|
|
21
24
|
square.raw = getSquareStyle
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import type { SystemStyleObject, ConditionalValue } from '../types/index.d.mts';
|
|
3
3
|
import type { Properties } from '../types/csstype.d.mts';
|
|
4
|
-
import type {
|
|
4
|
+
import type { SystemProperties } from '../types/style-props.d.mts';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types.d.mts';
|
|
6
6
|
import type { Tokens } from '../tokens/index.d.mts';
|
|
7
7
|
|
|
8
8
|
export interface StackProperties {
|
|
9
|
-
align?:
|
|
10
|
-
justify?:
|
|
11
|
-
direction?:
|
|
12
|
-
gap?:
|
|
9
|
+
align?: SystemProperties["alignItems"]
|
|
10
|
+
justify?: SystemProperties["justifyContent"]
|
|
11
|
+
direction?: SystemProperties["flexDirection"]
|
|
12
|
+
gap?: SystemProperties["gap"]
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const stackConfig = {
|
|
5
5
|
transform(props) {
|
|
6
|
-
const { align, justify, direction
|
|
6
|
+
const { align, justify, direction, gap, ...rest } = props;
|
|
7
7
|
return {
|
|
8
8
|
display: "flex",
|
|
9
9
|
flexDirection: direction,
|
|
@@ -12,9 +12,13 @@ transform(props) {
|
|
|
12
12
|
gap,
|
|
13
13
|
...rest
|
|
14
14
|
};
|
|
15
|
-
}
|
|
15
|
+
},
|
|
16
|
+
defaultValues:{direction:'column',gap:'10px'}}
|
|
16
17
|
|
|
17
|
-
export const getStackStyle = (styles = {}) =>
|
|
18
|
+
export const getStackStyle = (styles = {}) => {
|
|
19
|
+
const _styles = getPatternStyles(stackConfig, styles)
|
|
20
|
+
return stackConfig.transform(_styles, patternFns)
|
|
21
|
+
}
|
|
18
22
|
|
|
19
23
|
export const stack = (styles) => css(getStackStyle(styles))
|
|
20
24
|
stack.raw = getStackStyle
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import type { SystemStyleObject, ConditionalValue } from '../types/index.d.mts';
|
|
3
3
|
import type { Properties } from '../types/csstype.d.mts';
|
|
4
|
-
import type {
|
|
4
|
+
import type { SystemProperties } from '../types/style-props.d.mts';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types.d.mts';
|
|
6
6
|
import type { Tokens } from '../tokens/index.d.mts';
|
|
7
7
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const visuallyHiddenConfig = {
|
|
@@ -9,7 +9,10 @@ transform(props) {
|
|
|
9
9
|
};
|
|
10
10
|
}}
|
|
11
11
|
|
|
12
|
-
export const getVisuallyHiddenStyle = (styles = {}) =>
|
|
12
|
+
export const getVisuallyHiddenStyle = (styles = {}) => {
|
|
13
|
+
const _styles = getPatternStyles(visuallyHiddenConfig, styles)
|
|
14
|
+
return visuallyHiddenConfig.transform(_styles, patternFns)
|
|
15
|
+
}
|
|
13
16
|
|
|
14
17
|
export const visuallyHidden = (styles) => css(getVisuallyHiddenStyle(styles))
|
|
15
18
|
visuallyHidden.raw = getVisuallyHiddenStyle
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import type { SystemStyleObject, ConditionalValue } from '../types/index.d.mts';
|
|
3
3
|
import type { Properties } from '../types/csstype.d.mts';
|
|
4
|
-
import type {
|
|
4
|
+
import type { SystemProperties } from '../types/style-props.d.mts';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types.d.mts';
|
|
6
6
|
import type { Tokens } from '../tokens/index.d.mts';
|
|
7
7
|
|
|
8
8
|
export interface VstackProperties {
|
|
9
|
-
justify?:
|
|
10
|
-
gap?:
|
|
9
|
+
justify?: SystemProperties["justifyContent"]
|
|
10
|
+
gap?: SystemProperties["gap"]
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
|