@webstudio-is/sdk-components-react 0.82.0 → 0.83.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/LICENSE +661 -21
- package/lib/__generated__/blockquote.props.js +30 -5
- package/lib/__generated__/body.props.js +30 -5
- package/lib/__generated__/bold.props.js +30 -5
- package/lib/__generated__/box.props.js +30 -5
- package/lib/__generated__/button.props.js +30 -5
- package/lib/__generated__/checkbox.props.js +31 -6
- package/lib/__generated__/code-text.props.js +30 -5
- package/lib/__generated__/form.props.js +30 -5
- package/lib/__generated__/heading.props.js +30 -5
- package/lib/__generated__/image.props.js +30 -5
- package/lib/__generated__/input.props.js +30 -5
- package/lib/__generated__/italic.props.js +30 -5
- package/lib/__generated__/label.props.js +30 -5
- package/lib/__generated__/link.props.js +30 -5
- package/lib/__generated__/list-item.props.js +30 -5
- package/lib/__generated__/list.props.js +30 -5
- package/lib/__generated__/paragraph.props.js +30 -5
- package/lib/__generated__/radio-button.props.js +31 -6
- package/lib/__generated__/radix-dialog.props.js +2120 -0
- package/lib/__generated__/radix-popover.props.js +463 -0
- package/lib/__generated__/radix-tooltip.props.js +473 -0
- package/lib/__generated__/rich-text-link.props.js +30 -5
- package/lib/__generated__/separator.props.js +30 -5
- package/lib/__generated__/span.props.js +30 -5
- package/lib/__generated__/subscript.props.js +30 -5
- package/lib/__generated__/superscript.props.js +30 -5
- package/lib/__generated__/text.props.js +30 -5
- package/lib/__generated__/textarea.props.js +30 -5
- package/lib/__generated__/vimeo-play-button.props.js +30 -5
- package/lib/__generated__/vimeo-preview-image.props.js +30 -5
- package/lib/__generated__/vimeo-spinner.props.js +30 -5
- package/lib/__generated__/vimeo.props.js +30 -5
- package/lib/body.ws.js +11 -1
- package/lib/cjs/__generated__/blockquote.props.js +30 -5
- package/lib/cjs/__generated__/body.props.js +30 -5
- package/lib/cjs/__generated__/bold.props.js +30 -5
- package/lib/cjs/__generated__/box.props.js +30 -5
- package/lib/cjs/__generated__/button.props.js +30 -5
- package/lib/cjs/__generated__/checkbox.props.js +31 -6
- package/lib/cjs/__generated__/code-text.props.js +30 -5
- package/lib/cjs/__generated__/form.props.js +30 -5
- package/lib/cjs/__generated__/heading.props.js +30 -5
- package/lib/cjs/__generated__/image.props.js +30 -5
- package/lib/cjs/__generated__/input.props.js +30 -5
- package/lib/cjs/__generated__/italic.props.js +30 -5
- package/lib/cjs/__generated__/label.props.js +30 -5
- package/lib/cjs/__generated__/link.props.js +30 -5
- package/lib/cjs/__generated__/list-item.props.js +30 -5
- package/lib/cjs/__generated__/list.props.js +30 -5
- package/lib/cjs/__generated__/paragraph.props.js +30 -5
- package/lib/cjs/__generated__/radio-button.props.js +31 -6
- package/lib/cjs/__generated__/radix-dialog.props.js +2140 -0
- package/lib/cjs/__generated__/radix-popover.props.js +483 -0
- package/lib/cjs/__generated__/radix-tooltip.props.js +493 -0
- package/lib/cjs/__generated__/rich-text-link.props.js +30 -5
- package/lib/cjs/__generated__/separator.props.js +30 -5
- package/lib/cjs/__generated__/span.props.js +30 -5
- package/lib/cjs/__generated__/subscript.props.js +30 -5
- package/lib/cjs/__generated__/superscript.props.js +30 -5
- package/lib/cjs/__generated__/text.props.js +30 -5
- package/lib/cjs/__generated__/textarea.props.js +30 -5
- package/lib/cjs/__generated__/vimeo-play-button.props.js +30 -5
- package/lib/cjs/__generated__/vimeo-preview-image.props.js +30 -5
- package/lib/cjs/__generated__/vimeo-spinner.props.js +30 -5
- package/lib/cjs/__generated__/vimeo.props.js +30 -5
- package/lib/cjs/body.ws.js +11 -1
- package/lib/cjs/components.js +16 -0
- package/lib/cjs/label.ws.js +1 -1
- package/lib/cjs/metas.js +16 -0
- package/lib/cjs/props.js +16 -0
- package/lib/cjs/radix-dialog.js +61 -0
- package/lib/cjs/radix-dialog.ws.js +300 -0
- package/lib/cjs/radix-popover.js +59 -0
- package/lib/cjs/radix-popover.ws.js +139 -0
- package/lib/cjs/radix-tooltip.js +51 -0
- package/lib/cjs/radix-tooltip.ws.js +140 -0
- package/lib/cjs/theme/radix-common-types.js +16 -0
- package/lib/cjs/theme/tailwind-classes.js +439 -0
- package/lib/cjs/theme/tailwind-colors.js +33 -0
- package/lib/cjs/theme/tailwind-theme.js +46 -0
- package/lib/cjs/vimeo-play-button.ws.js +1 -0
- package/lib/cjs/vimeo-preview-image.ws.js +1 -0
- package/lib/cjs/vimeo.ws.js +1 -0
- package/lib/components.js +24 -0
- package/lib/label.ws.js +2 -2
- package/lib/metas.js +32 -0
- package/lib/props.js +32 -0
- package/lib/radix-dialog.js +36 -0
- package/lib/radix-dialog.ws.js +279 -0
- package/lib/radix-popover.js +34 -0
- package/lib/radix-popover.ws.js +114 -0
- package/lib/radix-tooltip.js +26 -0
- package/lib/radix-tooltip.ws.js +115 -0
- package/lib/theme/radix-common-types.js +0 -0
- package/lib/theme/tailwind-classes.js +419 -0
- package/lib/theme/tailwind-colors.js +13 -0
- package/lib/theme/tailwind-theme.js +16 -0
- package/lib/types/__generated__/radix-dialog.props.d.ts +8 -0
- package/lib/types/__generated__/radix-popover.props.d.ts +4 -0
- package/lib/types/__generated__/radix-tooltip.props.d.ts +4 -0
- package/lib/types/components.d.ts +3 -0
- package/lib/types/metas.d.ts +3 -0
- package/lib/types/props.d.ts +3 -0
- package/lib/types/radix-dialog.d.ts +26 -0
- package/lib/types/radix-dialog.ws.d.ts +23 -0
- package/lib/types/radix-popover.d.ts +22 -0
- package/lib/types/radix-popover.ws.d.ts +15 -0
- package/lib/types/radix-tooltip.d.ts +22 -0
- package/lib/types/radix-tooltip.ws.d.ts +15 -0
- package/lib/types/theme/radix-common-types.d.ts +84 -0
- package/lib/types/theme/tailwind-classes.d.ts +69 -0
- package/lib/types/theme/tailwind-colors.d.ts +19 -0
- package/lib/types/theme/tailwind-theme.d.ts +72 -0
- package/lib/types/vimeo-preview-image.d.ts +6 -1
- package/lib/vimeo-play-button.ws.js +1 -0
- package/lib/vimeo-preview-image.js +1 -1
- package/lib/vimeo-preview-image.ws.js +2 -0
- package/lib/vimeo.ws.js +1 -0
- package/package.json +18 -13
- package/src/LICENSE +661 -21
- package/src/__generated__/blockquote.props.ts +34 -5
- package/src/__generated__/body.props.ts +34 -5
- package/src/__generated__/bold.props.ts +34 -5
- package/src/__generated__/box.props.ts +34 -5
- package/src/__generated__/button.props.ts +34 -5
- package/src/__generated__/checkbox.props.ts +35 -6
- package/src/__generated__/code-text.props.ts +34 -5
- package/src/__generated__/form.props.ts +34 -5
- package/src/__generated__/heading.props.ts +34 -5
- package/src/__generated__/image.props.ts +34 -5
- package/src/__generated__/input.props.ts +34 -5
- package/src/__generated__/italic.props.ts +34 -5
- package/src/__generated__/label.props.ts +34 -5
- package/src/__generated__/link.props.ts +34 -5
- package/src/__generated__/list-item.props.ts +34 -5
- package/src/__generated__/list.props.ts +34 -5
- package/src/__generated__/paragraph.props.ts +34 -5
- package/src/__generated__/radio-button.props.ts +35 -6
- package/src/__generated__/radix-dialog.props.ts +2363 -0
- package/src/__generated__/radix-popover.props.ts +510 -0
- package/src/__generated__/radix-tooltip.props.ts +521 -0
- package/src/__generated__/rich-text-link.props.ts +34 -5
- package/src/__generated__/separator.props.ts +34 -5
- package/src/__generated__/span.props.ts +34 -5
- package/src/__generated__/subscript.props.ts +34 -5
- package/src/__generated__/superscript.props.ts +34 -5
- package/src/__generated__/text.props.ts +34 -5
- package/src/__generated__/textarea.props.ts +34 -5
- package/src/__generated__/vimeo-play-button.props.ts +34 -5
- package/src/__generated__/vimeo-preview-image.props.ts +34 -5
- package/src/__generated__/vimeo-spinner.props.ts +34 -5
- package/src/__generated__/vimeo.props.ts +34 -5
- package/src/body.ws.tsx +11 -1
- package/src/components.ts +11 -0
- package/src/label.ws.tsx +2 -2
- package/src/metas.ts +21 -0
- package/src/props.ts +19 -0
- package/src/radix-dialog.tsx +91 -0
- package/src/radix-dialog.ws.tsx +291 -0
- package/src/radix-popover.tsx +89 -0
- package/src/radix-popover.ws.tsx +124 -0
- package/src/radix-tooltip.tsx +84 -0
- package/src/radix-tooltip.ws.tsx +125 -0
- package/src/theme/radix-common-types.ts +495 -0
- package/src/theme/tailwind-classes.ts +570 -0
- package/src/theme/tailwind-colors.ts +47 -0
- package/src/theme/tailwind-theme.ts +24 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import type { colors } from "./tailwind-colors";
|
|
2
|
+
type DefaultTheme = {
|
|
3
|
+
animation: Record<"none" | "spin" | "ping" | "pulse" | "bounce", string>;
|
|
4
|
+
aria: Record<"busy" | "checked" | "disabled" | "expanded" | "hidden" | "pressed" | "readonly" | "required" | "selected", string>;
|
|
5
|
+
aspectRatio: Record<"auto" | "square" | "video", string>;
|
|
6
|
+
backgroundImage: Record<"none" | "gradient-to-t" | "gradient-to-tr" | "gradient-to-r" | "gradient-to-br" | "gradient-to-b" | "gradient-to-bl" | "gradient-to-l" | "gradient-to-tl", string>;
|
|
7
|
+
backgroundPosition: Record<"bottom" | "center" | "left" | "left-bottom" | "left-top" | "right" | "right-bottom" | "right-top" | "top", string>;
|
|
8
|
+
backgroundSize: Record<"auto" | "cover" | "contain", string>;
|
|
9
|
+
blur: Record<"0" | "none" | "sm" | "DEFAULT" | "md" | "lg" | "xl" | "2xl" | "3xl", string>;
|
|
10
|
+
borderRadius: Record<"none" | "sm" | "DEFAULT" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full", string>;
|
|
11
|
+
borderWidth: Record<"0" | "2" | "4" | "8" | "DEFAULT", string>;
|
|
12
|
+
boxShadow: Record<"sm" | "DEFAULT" | "md" | "lg" | "xl" | "2xl" | "inner" | "none", string>;
|
|
13
|
+
brightness: Record<"0" | "50" | "75" | "90" | "95" | "100" | "105" | "110" | "125" | "150" | "200", string>;
|
|
14
|
+
columns: Record<"1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "auto" | "3xs" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl", string>;
|
|
15
|
+
content: Record<"none", string>;
|
|
16
|
+
contrast: Record<"0" | "50" | "75" | "100" | "125" | "150" | "200", string>;
|
|
17
|
+
cursor: Record<"auto" | "default" | "pointer" | "wait" | "text" | "move" | "help" | "not-allowed" | "none" | "context-menu" | "progress" | "cell" | "crosshair" | "vertical-text" | "alias" | "copy" | "no-drop" | "grab" | "grabbing" | "all-scroll" | "col-resize" | "row-resize" | "n-resize" | "e-resize" | "s-resize" | "w-resize" | "ne-resize" | "nw-resize" | "se-resize" | "sw-resize" | "ew-resize" | "ns-resize" | "nesw-resize" | "nwse-resize" | "zoom-in" | "zoom-out", string>;
|
|
18
|
+
dropShadow: Record<"sm" | "DEFAULT" | "md" | "lg" | "xl" | "2xl" | "none", string | string[]>;
|
|
19
|
+
flex: Record<"1" | "auto" | "initial" | "none", string>;
|
|
20
|
+
flexGrow: Record<"0" | "DEFAULT", string>;
|
|
21
|
+
flexShrink: Record<"0" | "DEFAULT", string>;
|
|
22
|
+
fontFamily: Record<"sans" | "serif" | "mono", string[]>;
|
|
23
|
+
fontSize: Record<"xs" | "sm" | "base" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl", [
|
|
24
|
+
string,
|
|
25
|
+
{
|
|
26
|
+
lineHeight: string;
|
|
27
|
+
}
|
|
28
|
+
]>;
|
|
29
|
+
fontWeight: Record<"thin" | "extralight" | "light" | "normal" | "medium" | "semibold" | "bold" | "extrabold" | "black", string>;
|
|
30
|
+
gradientColorStopPositions: Record<"0%" | "5%" | "10%" | "15%" | "20%" | "25%" | "30%" | "35%" | "40%" | "45%" | "50%" | "55%" | "60%" | "65%" | "70%" | "75%" | "80%" | "85%" | "90%" | "95%" | "100%", string>;
|
|
31
|
+
grayscale: Record<"0" | "DEFAULT", string>;
|
|
32
|
+
gridAutoColumns: Record<"auto" | "min" | "max" | "fr", string>;
|
|
33
|
+
gridAutoRows: Record<"auto" | "min" | "max" | "fr", string>;
|
|
34
|
+
gridColumn: Record<"auto" | "span-1" | "span-2" | "span-3" | "span-4" | "span-5" | "span-6" | "span-7" | "span-8" | "span-9" | "span-10" | "span-11" | "span-12" | "span-full", string>;
|
|
35
|
+
gridColumnEnd: Record<"1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "auto", string>;
|
|
36
|
+
gridColumnStart: Record<"1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "auto", string>;
|
|
37
|
+
gridRow: Record<"auto" | "span-1" | "span-2" | "span-3" | "span-4" | "span-5" | "span-6" | "span-full", string>;
|
|
38
|
+
gridRowEnd: Record<"1" | "2" | "3" | "4" | "5" | "6" | "7" | "auto", string>;
|
|
39
|
+
gridRowStart: Record<"1" | "2" | "3" | "4" | "5" | "6" | "7" | "auto", string>;
|
|
40
|
+
gridTemplateColumns: Record<"1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "none", string>;
|
|
41
|
+
gridTemplateRows: Record<"1" | "2" | "3" | "4" | "5" | "6" | "none", string>;
|
|
42
|
+
hueRotate: Record<"0" | "15" | "30" | "60" | "90" | "180", string>;
|
|
43
|
+
invert: Record<"0" | "DEFAULT", string>;
|
|
44
|
+
letterSpacing: Record<"tighter" | "tight" | "normal" | "wide" | "wider" | "widest", string>;
|
|
45
|
+
lineHeight: Record<"3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "none" | "tight" | "snug" | "normal" | "relaxed" | "loose", string>;
|
|
46
|
+
listStyleType: Record<"none" | "disc" | "decimal", string>;
|
|
47
|
+
listStyleImage: Record<"none", string>;
|
|
48
|
+
lineClamp: Record<"1" | "2" | "3" | "4" | "5" | "6", string>;
|
|
49
|
+
minHeight: Record<"0" | "full" | "screen" | "min" | "max" | "fit", string>;
|
|
50
|
+
minWidth: Record<"0" | "full" | "min" | "max" | "fit", string>;
|
|
51
|
+
objectPosition: Record<"bottom" | "center" | "left" | "left-bottom" | "left-top" | "right" | "right-bottom" | "right-top" | "top", string>;
|
|
52
|
+
opacity: Record<"0" | "5" | "10" | "20" | "25" | "30" | "40" | "50" | "60" | "70" | "75" | "80" | "90" | "95" | "100", string>;
|
|
53
|
+
order: Record<"1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "first" | "last" | "none", string>;
|
|
54
|
+
outlineOffset: Record<"0" | "1" | "2" | "4" | "8", string>;
|
|
55
|
+
outlineWidth: Record<"0" | "1" | "2" | "4" | "8", string>;
|
|
56
|
+
ringOffsetWidth: Record<"0" | "1" | "2" | "4" | "8", string>;
|
|
57
|
+
ringWidth: Record<"0" | "1" | "2" | "4" | "8" | "DEFAULT", string>;
|
|
58
|
+
rotate: Record<"0" | "1" | "2" | "3" | "6" | "12" | "45" | "90" | "180", string>;
|
|
59
|
+
saturate: Record<"0" | "50" | "100" | "150" | "200", string>;
|
|
60
|
+
scale: Record<"0" | "50" | "75" | "90" | "95" | "100" | "105" | "110" | "125" | "150", string>;
|
|
61
|
+
screens: Record<"sm" | "md" | "lg" | "xl" | "2xl", string>;
|
|
62
|
+
sepia: Record<"0" | "DEFAULT", string>;
|
|
63
|
+
skew: Record<"0" | "1" | "2" | "3" | "6" | "12", string>;
|
|
64
|
+
spacing: Record<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | "px" | "0.5" | "1.5" | "2.5" | "3.5", string>;
|
|
65
|
+
strokeWidth: Record<"0" | "1" | "2", string>;
|
|
66
|
+
textDecorationThickness: Record<"0" | "1" | "2" | "4" | "8" | "auto" | "from-font", string>;
|
|
67
|
+
textUnderlineOffset: Record<"0" | "1" | "2" | "4" | "8" | "auto", string>;
|
|
68
|
+
transformOrigin: Record<"center" | "top" | "top-right" | "right" | "bottom-right" | "bottom" | "bottom-left" | "left" | "top-left", string>;
|
|
69
|
+
transitionDelay: Record<"0" | "75" | "100" | "150" | "200" | "300" | "500" | "700" | "1000", string>;
|
|
70
|
+
transitionDuration: Record<"0" | "75" | "100" | "150" | "200" | "300" | "500" | "700" | "1000" | "DEFAULT", string>;
|
|
71
|
+
transitionProperty: Record<"none" | "all" | "DEFAULT" | "colors" | "opacity" | "shadow" | "transform", string>;
|
|
72
|
+
transitionTimingFunction: Record<"DEFAULT" | "linear" | "in" | "out" | "in-out", string>;
|
|
73
|
+
willChange: Record<"auto" | "scroll" | "contents" | "transform", string>;
|
|
74
|
+
zIndex: Record<"0" | "10" | "20" | "30" | "40" | "50" | "auto", string>;
|
|
75
|
+
};
|
|
76
|
+
export type EvaluatedDefaultTheme = DefaultTheme & {
|
|
77
|
+
padding: DefaultTheme["spacing"];
|
|
78
|
+
colors: typeof colors;
|
|
79
|
+
width: DefaultTheme["spacing"] & Record<"full", string>;
|
|
80
|
+
height: DefaultTheme["spacing"];
|
|
81
|
+
margin: DefaultTheme["spacing"] & Record<"auto", string>;
|
|
82
|
+
maxWidth: DefaultTheme["spacing"] & Record<"none" | "0" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "full" | "min" | "max" | "fit" | "prose", string>;
|
|
83
|
+
};
|
|
84
|
+
export {};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Quik and dirty implementation of tailwind classes conversion to webstudio styles.
|
|
3
|
+
*/
|
|
4
|
+
import type { EmbedTemplateStyleDecl } from "@webstudio-is/react-sdk";
|
|
5
|
+
import type { EvaluatedDefaultTheme } from "./radix-common-types";
|
|
6
|
+
export declare const z: (zIndex?: StringEnumToNumeric<keyof EvaluatedDefaultTheme["zIndex"]>) => EmbedTemplateStyleDecl[];
|
|
7
|
+
export declare const overflow: (value: "hidden" | "visible" | "scroll" | "auto") => EmbedTemplateStyleDecl[];
|
|
8
|
+
export declare const rounded: (radius?: keyof EvaluatedDefaultTheme["borderRadius"]) => EmbedTemplateStyleDecl[];
|
|
9
|
+
type StringEnumToNumeric<T extends string> = T extends `${infer Z extends number}` ? Z : never;
|
|
10
|
+
type NonNumeric<T extends string> = T extends `${infer Z extends number}` ? never : T;
|
|
11
|
+
export declare const border: (borderWidth?: StringEnumToNumeric<keyof EvaluatedDefaultTheme["borderWidth"]>) => EmbedTemplateStyleDecl[];
|
|
12
|
+
export declare const px: (padding: StringEnumToNumeric<keyof EvaluatedDefaultTheme["padding"]> | NonNumeric<keyof EvaluatedDefaultTheme["padding"]>) => EmbedTemplateStyleDecl[];
|
|
13
|
+
export declare const py: (padding: StringEnumToNumeric<keyof EvaluatedDefaultTheme["padding"]> | NonNumeric<keyof EvaluatedDefaultTheme["padding"]>) => EmbedTemplateStyleDecl[];
|
|
14
|
+
export declare const p: (padding: StringEnumToNumeric<keyof EvaluatedDefaultTheme["padding"]> | NonNumeric<keyof EvaluatedDefaultTheme["padding"]>) => EmbedTemplateStyleDecl[];
|
|
15
|
+
export declare const mx: (margin: StringEnumToNumeric<keyof EvaluatedDefaultTheme["margin"]> | NonNumeric<keyof EvaluatedDefaultTheme["margin"]>) => EmbedTemplateStyleDecl[];
|
|
16
|
+
export declare const my: (margin: StringEnumToNumeric<keyof EvaluatedDefaultTheme["margin"]> | NonNumeric<keyof EvaluatedDefaultTheme["margin"]>) => EmbedTemplateStyleDecl[];
|
|
17
|
+
export declare const m: (margin: StringEnumToNumeric<keyof EvaluatedDefaultTheme["margin"]> | NonNumeric<keyof EvaluatedDefaultTheme["margin"]>) => EmbedTemplateStyleDecl[];
|
|
18
|
+
export declare const w: (spacing: StringEnumToNumeric<keyof EvaluatedDefaultTheme["width"]> | NonNumeric<keyof EvaluatedDefaultTheme["width"]>) => EmbedTemplateStyleDecl[];
|
|
19
|
+
export declare const h: (spacing: StringEnumToNumeric<keyof EvaluatedDefaultTheme["height"]> | NonNumeric<keyof EvaluatedDefaultTheme["height"]>) => EmbedTemplateStyleDecl[];
|
|
20
|
+
export declare const opacity: (opacity: StringEnumToNumeric<keyof EvaluatedDefaultTheme["opacity"]>) => EmbedTemplateStyleDecl[];
|
|
21
|
+
export declare const maxW: (spacing: StringEnumToNumeric<keyof EvaluatedDefaultTheme["maxWidth"]> | NonNumeric<keyof EvaluatedDefaultTheme["maxWidth"]>) => EmbedTemplateStyleDecl[];
|
|
22
|
+
export declare const top: (spacing: StringEnumToNumeric<keyof EvaluatedDefaultTheme["spacing"]>) => EmbedTemplateStyleDecl[];
|
|
23
|
+
export declare const right: (spacing: StringEnumToNumeric<keyof EvaluatedDefaultTheme["spacing"]>) => EmbedTemplateStyleDecl[];
|
|
24
|
+
export declare const bottom: (spacing: StringEnumToNumeric<keyof EvaluatedDefaultTheme["spacing"]>) => EmbedTemplateStyleDecl[];
|
|
25
|
+
export declare const left: (spacing: StringEnumToNumeric<keyof EvaluatedDefaultTheme["spacing"]>) => EmbedTemplateStyleDecl[];
|
|
26
|
+
export declare const inset: (spacing: StringEnumToNumeric<keyof EvaluatedDefaultTheme["spacing"]>) => EmbedTemplateStyleDecl[];
|
|
27
|
+
export declare const backdropBlur: (blur: keyof EvaluatedDefaultTheme["blur"]) => EmbedTemplateStyleDecl[];
|
|
28
|
+
export declare const bg: (color: keyof EvaluatedDefaultTheme["colors"], alpha?: number) => EmbedTemplateStyleDecl[];
|
|
29
|
+
export declare const fixed: () => EmbedTemplateStyleDecl[];
|
|
30
|
+
export declare const relative: () => EmbedTemplateStyleDecl[];
|
|
31
|
+
export declare const absolute: () => EmbedTemplateStyleDecl[];
|
|
32
|
+
export declare const grid: () => EmbedTemplateStyleDecl[];
|
|
33
|
+
declare const alignItems: {
|
|
34
|
+
readonly start: "flex-start";
|
|
35
|
+
readonly end: "flex-end";
|
|
36
|
+
readonly center: "center";
|
|
37
|
+
readonly baseline: "baseline";
|
|
38
|
+
readonly stretch: "stretch";
|
|
39
|
+
};
|
|
40
|
+
type AlignItems = keyof typeof alignItems;
|
|
41
|
+
export declare const items: (alignItemsParam: AlignItems) => EmbedTemplateStyleDecl[];
|
|
42
|
+
declare const justifyContent: {
|
|
43
|
+
readonly start: "flex-start";
|
|
44
|
+
readonly end: "flex-end";
|
|
45
|
+
readonly center: "center";
|
|
46
|
+
readonly between: "space-between";
|
|
47
|
+
readonly around: "space-around";
|
|
48
|
+
readonly evenly: "space-evenly";
|
|
49
|
+
readonly stretch: "stretch";
|
|
50
|
+
};
|
|
51
|
+
type JustifyContent = keyof typeof justifyContent;
|
|
52
|
+
export declare const justify: (justifyContentParam: JustifyContent) => EmbedTemplateStyleDecl[];
|
|
53
|
+
declare const flexDirection: {
|
|
54
|
+
readonly row: "row";
|
|
55
|
+
readonly col: "column";
|
|
56
|
+
};
|
|
57
|
+
type FlexDirection = keyof typeof flexDirection;
|
|
58
|
+
export declare const flex: (flexParam?: FlexDirection) => EmbedTemplateStyleDecl[];
|
|
59
|
+
export declare const gap: (gapValue: StringEnumToNumeric<keyof EvaluatedDefaultTheme["spacing"]>) => EmbedTemplateStyleDecl[];
|
|
60
|
+
export declare const leading: (lineHeight: StringEnumToNumeric<keyof EvaluatedDefaultTheme["lineHeight"]> | NonNumeric<keyof EvaluatedDefaultTheme["lineHeight"]>) => EmbedTemplateStyleDecl[];
|
|
61
|
+
export declare const tracking: (letterSpacing: StringEnumToNumeric<keyof EvaluatedDefaultTheme["letterSpacing"]> | NonNumeric<keyof EvaluatedDefaultTheme["letterSpacing"]>) => EmbedTemplateStyleDecl[];
|
|
62
|
+
export declare const outline: (value: "none") => EmbedTemplateStyleDecl[];
|
|
63
|
+
type TextSize = keyof EvaluatedDefaultTheme["fontSize"];
|
|
64
|
+
export declare const text: (sizeOrColor: TextSize | keyof EvaluatedDefaultTheme["colors"]) => EmbedTemplateStyleDecl[];
|
|
65
|
+
export declare const shadow: (shadowSize: keyof EvaluatedDefaultTheme["boxShadow"]) => EmbedTemplateStyleDecl[];
|
|
66
|
+
export declare const ring: (ringColor: keyof EvaluatedDefaultTheme["colors"], ringWidth: StringEnumToNumeric<keyof EvaluatedDefaultTheme["ringWidth"]>, ringOffsetColor?: keyof EvaluatedDefaultTheme["colors"], ringOffsetWidth?: StringEnumToNumeric<keyof EvaluatedDefaultTheme["ringOffsetWidth"]>, inset?: "inset" | "") => EmbedTemplateStyleDecl[];
|
|
67
|
+
export declare const hover: (value: EmbedTemplateStyleDecl[]) => EmbedTemplateStyleDecl[];
|
|
68
|
+
export declare const focus: (value: EmbedTemplateStyleDecl[]) => EmbedTemplateStyleDecl[];
|
|
69
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Variables source:
|
|
3
|
+
* https://github.com/shadcn-ui/ui/blob/main/apps/www/registry/themes.ts#L1
|
|
4
|
+
* https://github.com/shadcn-ui/ui/blob/5e172fc34fdf015aa0d141f52cc8c082b8ae6613/apps/www/scripts/build-registry.ts#L220
|
|
5
|
+
*
|
|
6
|
+
* Attributions
|
|
7
|
+
* MIT License
|
|
8
|
+
* Copyright (c) 2023 shadcn
|
|
9
|
+
**/
|
|
10
|
+
export declare const colors: {
|
|
11
|
+
readonly transparent: "transparent";
|
|
12
|
+
readonly current: "currentColor";
|
|
13
|
+
readonly popover: "rgb(255, 255, 255)";
|
|
14
|
+
readonly popoverForeground: "rgb(2, 8, 23)";
|
|
15
|
+
readonly border: "rgb(226, 232, 240)";
|
|
16
|
+
readonly background: "rgb(255, 255, 255)";
|
|
17
|
+
readonly ring: "rgb(148, 163, 184)";
|
|
18
|
+
readonly mutedForeground: "rgb(100, 116, 139)";
|
|
19
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import type { EvaluatedDefaultTheme } from "./radix-common-types";
|
|
2
|
+
export declare const theme: <T extends "height" | "maxWidth" | "width" | "padding" | "colors" | "margin" | keyof {
|
|
3
|
+
animation: Record<"none" | "ping" | "spin" | "pulse" | "bounce", string>;
|
|
4
|
+
aria: Record<"hidden" | "expanded" | "required" | "checked" | "disabled" | "selected" | "busy" | "pressed" | "readonly", string>;
|
|
5
|
+
aspectRatio: Record<"video" | "auto" | "square", string>;
|
|
6
|
+
backgroundImage: Record<"none" | "gradient-to-t" | "gradient-to-tr" | "gradient-to-r" | "gradient-to-br" | "gradient-to-b" | "gradient-to-bl" | "gradient-to-l" | "gradient-to-tl", string>;
|
|
7
|
+
backgroundPosition: Record<"center" | "top" | "right" | "bottom" | "left" | "left-bottom" | "left-top" | "right-bottom" | "right-top", string>;
|
|
8
|
+
backgroundSize: Record<"auto" | "contain" | "cover", string>;
|
|
9
|
+
blur: Record<"none" | "0" | "sm" | "DEFAULT" | "md" | "lg" | "xl" | "2xl" | "3xl", string>;
|
|
10
|
+
borderRadius: Record<"none" | "sm" | "DEFAULT" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full", string>;
|
|
11
|
+
borderWidth: Record<"0" | "2" | "4" | "8" | "DEFAULT", string>;
|
|
12
|
+
boxShadow: Record<"none" | "sm" | "DEFAULT" | "md" | "lg" | "xl" | "2xl" | "inner", string>;
|
|
13
|
+
brightness: Record<"0" | "100" | "200" | "50" | "75" | "90" | "95" | "105" | "110" | "125" | "150", string>;
|
|
14
|
+
columns: Record<"auto" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "3xs" | "2xs" | "xs" | "4xl" | "5xl" | "6xl" | "7xl", string>;
|
|
15
|
+
content: Record<"none", string>;
|
|
16
|
+
contrast: Record<"0" | "100" | "200" | "50" | "75" | "125" | "150", string>;
|
|
17
|
+
cursor: Record<"progress" | "text" | "cell" | "none" | "copy" | "move" | "auto" | "pointer" | "default" | "context-menu" | "help" | "wait" | "crosshair" | "vertical-text" | "alias" | "no-drop" | "not-allowed" | "e-resize" | "n-resize" | "ne-resize" | "nw-resize" | "s-resize" | "se-resize" | "sw-resize" | "w-resize" | "ew-resize" | "ns-resize" | "nesw-resize" | "nwse-resize" | "col-resize" | "row-resize" | "all-scroll" | "zoom-in" | "zoom-out" | "grab" | "grabbing", string>;
|
|
18
|
+
dropShadow: Record<"none" | "sm" | "DEFAULT" | "md" | "lg" | "xl" | "2xl", string | string[]>;
|
|
19
|
+
flex: Record<"none" | "auto" | "1" | "initial", string>;
|
|
20
|
+
flexGrow: Record<"0" | "DEFAULT", string>;
|
|
21
|
+
flexShrink: Record<"0" | "DEFAULT", string>;
|
|
22
|
+
fontFamily: Record<"serif" | "sans" | "mono", string[]>;
|
|
23
|
+
fontSize: Record<"base" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl", [string, {
|
|
24
|
+
lineHeight: string;
|
|
25
|
+
}]>;
|
|
26
|
+
fontWeight: Record<"normal" | "medium" | "black" | "bold" | "thin" | "light" | "extralight" | "semibold" | "extrabold", string>;
|
|
27
|
+
gradientColorStopPositions: Record<"100%" | "0%" | "5%" | "10%" | "15%" | "20%" | "25%" | "30%" | "35%" | "40%" | "45%" | "50%" | "55%" | "60%" | "65%" | "70%" | "75%" | "80%" | "85%" | "90%" | "95%", string>;
|
|
28
|
+
grayscale: Record<"0" | "DEFAULT", string>;
|
|
29
|
+
gridAutoColumns: Record<"fr" | "auto" | "min" | "max", string>;
|
|
30
|
+
gridAutoRows: Record<"fr" | "auto" | "min" | "max", string>;
|
|
31
|
+
gridColumn: Record<"auto" | "span-1" | "span-2" | "span-3" | "span-4" | "span-5" | "span-6" | "span-7" | "span-8" | "span-9" | "span-10" | "span-11" | "span-12" | "span-full", string>;
|
|
32
|
+
gridColumnEnd: Record<"auto" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13", string>;
|
|
33
|
+
gridColumnStart: Record<"auto" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13", string>;
|
|
34
|
+
gridRow: Record<"auto" | "span-1" | "span-2" | "span-3" | "span-4" | "span-5" | "span-6" | "span-full", string>;
|
|
35
|
+
gridRowEnd: Record<"auto" | "1" | "2" | "3" | "4" | "5" | "6" | "7", string>;
|
|
36
|
+
gridRowStart: Record<"auto" | "1" | "2" | "3" | "4" | "5" | "6" | "7", string>;
|
|
37
|
+
gridTemplateColumns: Record<"none" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12", string>;
|
|
38
|
+
gridTemplateRows: Record<"none" | "1" | "2" | "3" | "4" | "5" | "6", string>;
|
|
39
|
+
hueRotate: Record<"0" | "15" | "90" | "30" | "60" | "180", string>;
|
|
40
|
+
invert: Record<"0" | "DEFAULT", string>;
|
|
41
|
+
letterSpacing: Record<"normal" | "tighter" | "tight" | "wide" | "wider" | "widest", string>;
|
|
42
|
+
lineHeight: Record<"none" | "normal" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "loose" | "tight" | "snug" | "relaxed", string>;
|
|
43
|
+
listStyleType: Record<"none" | "decimal" | "disc", string>;
|
|
44
|
+
listStyleImage: Record<"none", string>;
|
|
45
|
+
lineClamp: Record<"1" | "2" | "3" | "4" | "5" | "6", string>;
|
|
46
|
+
minHeight: Record<"0" | "screen" | "min" | "max" | "full" | "fit", string>;
|
|
47
|
+
minWidth: Record<"0" | "min" | "max" | "full" | "fit", string>;
|
|
48
|
+
objectPosition: Record<"center" | "top" | "right" | "bottom" | "left" | "left-bottom" | "left-top" | "right-bottom" | "right-top", string>;
|
|
49
|
+
opacity: Record<"0" | "5" | "10" | "100" | "50" | "70" | "20" | "75" | "90" | "95" | "30" | "60" | "25" | "40" | "80", string>;
|
|
50
|
+
order: Record<"none" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "first" | "last", string>;
|
|
51
|
+
outlineOffset: Record<"0" | "1" | "2" | "4" | "8", string>;
|
|
52
|
+
outlineWidth: Record<"0" | "1" | "2" | "4" | "8", string>;
|
|
53
|
+
ringOffsetWidth: Record<"0" | "1" | "2" | "4" | "8", string>;
|
|
54
|
+
ringWidth: Record<"0" | "1" | "2" | "4" | "8" | "DEFAULT", string>;
|
|
55
|
+
rotate: Record<"0" | "1" | "2" | "3" | "6" | "12" | "90" | "180" | "45", string>;
|
|
56
|
+
saturate: Record<"0" | "100" | "200" | "50" | "150", string>;
|
|
57
|
+
scale: Record<"0" | "100" | "50" | "75" | "90" | "95" | "105" | "110" | "125" | "150", string>;
|
|
58
|
+
screens: Record<"sm" | "md" | "lg" | "xl" | "2xl", string>;
|
|
59
|
+
sepia: Record<"0" | "DEFAULT", string>;
|
|
60
|
+
skew: Record<"0" | "1" | "2" | "3" | "6" | "12", string>;
|
|
61
|
+
spacing: Record<"px" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "60" | "40" | "80" | "24" | "28" | "32" | "36" | "44" | "48" | "52" | "56" | "64" | "72" | "96" | "0.5" | "1.5" | "2.5" | "3.5", string>;
|
|
62
|
+
strokeWidth: Record<"0" | "1" | "2", string>;
|
|
63
|
+
textDecorationThickness: Record<"auto" | "0" | "1" | "2" | "4" | "8" | "from-font", string>;
|
|
64
|
+
textUnderlineOffset: Record<"auto" | "0" | "1" | "2" | "4" | "8", string>;
|
|
65
|
+
transformOrigin: Record<"center" | "top" | "right" | "bottom" | "left" | "top-right" | "bottom-right" | "bottom-left" | "top-left", string>;
|
|
66
|
+
transitionDelay: Record<"0" | "100" | "200" | "300" | "500" | "700" | "75" | "150" | "1000", string>;
|
|
67
|
+
transitionDuration: Record<"0" | "100" | "200" | "300" | "500" | "700" | "DEFAULT" | "75" | "150" | "1000", string>;
|
|
68
|
+
transitionProperty: Record<"none" | "all" | "opacity" | "transform" | "DEFAULT" | "colors" | "shadow", string>;
|
|
69
|
+
transitionTimingFunction: Record<"in" | "linear" | "DEFAULT" | "out" | "in-out", string>;
|
|
70
|
+
willChange: Record<"auto" | "scroll" | "transform" | "contents", string>;
|
|
71
|
+
zIndex: Record<"auto" | "0" | "10" | "50" | "20" | "30" | "40", string>;
|
|
72
|
+
}>(name: T) => EvaluatedDefaultTheme[T];
|
|
@@ -49,19 +49,23 @@ export declare const VimeoPreviewImage: import("react").ForwardRefExoticComponen
|
|
|
49
49
|
results?: number | undefined;
|
|
50
50
|
security?: string | undefined;
|
|
51
51
|
unselectable?: "on" | "off" | undefined;
|
|
52
|
-
inputMode?: "
|
|
52
|
+
inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
53
53
|
is?: string | undefined;
|
|
54
54
|
'aria-activedescendant'?: string | undefined;
|
|
55
55
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
56
56
|
'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
|
|
57
|
+
'aria-braillelabel'?: string | undefined;
|
|
58
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
57
59
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
58
60
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
59
61
|
'aria-colcount'?: number | undefined;
|
|
60
62
|
'aria-colindex'?: number | undefined;
|
|
63
|
+
'aria-colindextext'?: string | undefined;
|
|
61
64
|
'aria-colspan'?: number | undefined;
|
|
62
65
|
'aria-controls'?: string | undefined;
|
|
63
66
|
'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
64
67
|
'aria-describedby'?: string | undefined;
|
|
68
|
+
'aria-description'?: string | undefined;
|
|
65
69
|
'aria-details'?: string | undefined;
|
|
66
70
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
67
71
|
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
@@ -91,6 +95,7 @@ export declare const VimeoPreviewImage: import("react").ForwardRefExoticComponen
|
|
|
91
95
|
'aria-roledescription'?: string | undefined;
|
|
92
96
|
'aria-rowcount'?: number | undefined;
|
|
93
97
|
'aria-rowindex'?: number | undefined;
|
|
98
|
+
'aria-rowindextext'?: string | undefined;
|
|
94
99
|
'aria-rowspan'?: number | undefined;
|
|
95
100
|
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
96
101
|
'aria-setsize'?: number | undefined;
|
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
import { props } from "./__generated__/vimeo-play-button.props";
|
|
5
5
|
import { ButtonElementIcon } from "@webstudio-is/icons/svg";
|
|
6
6
|
import { button } from "@webstudio-is/react-sdk/css-normalize";
|
|
7
|
+
import { defaultTag } from "./vimeo-play-button";
|
|
7
8
|
const presetStyle = {
|
|
8
9
|
button
|
|
9
10
|
};
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
forwardRef,
|
|
4
4
|
useContext
|
|
5
5
|
} from "react";
|
|
6
|
-
import { Image } from "./image";
|
|
6
|
+
import { Image, defaultTag } from "./image";
|
|
7
7
|
import { VimeoContext } from "./vimeo";
|
|
8
8
|
const base64Preview = `data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkOAMAANIAzr59FiYAAAAASUVORK5CYII=`;
|
|
9
9
|
const VimeoPreviewImage = forwardRef(({ src, ...rest }, ref) => {
|
package/lib/vimeo.ws.js
CHANGED
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webstudio-is/sdk-components-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.83.0",
|
|
4
4
|
"description": "Webstudio default library for react",
|
|
5
5
|
"author": "Webstudio <github@webstudio.is>",
|
|
6
6
|
"homepage": "https://webstudio.is",
|
|
7
|
-
"license": "
|
|
7
|
+
"license": "AGPL-3.0-or-later",
|
|
8
8
|
"private": false,
|
|
9
9
|
"type": "module",
|
|
10
10
|
"sideEffects": false,
|
|
@@ -37,22 +37,27 @@
|
|
|
37
37
|
"react-dom": "^18.2.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@react-
|
|
40
|
+
"@radix-ui/react-dialog": "^1.0.4",
|
|
41
|
+
"@radix-ui/react-popover": "^1.0.6",
|
|
42
|
+
"@radix-ui/react-tooltip": "^1.0.6",
|
|
43
|
+
"@react-aria/utils": "^3.18.0",
|
|
41
44
|
"colord": "^2.9.3",
|
|
42
45
|
"shallow-equal": "^3.1.0",
|
|
43
|
-
"
|
|
44
|
-
"@webstudio-is/
|
|
45
|
-
"@webstudio-is/
|
|
46
|
-
"@webstudio-is/
|
|
47
|
-
"@webstudio-is/
|
|
46
|
+
"tailwindcss": "^3.3.3",
|
|
47
|
+
"@webstudio-is/css-data": "^0.83.0",
|
|
48
|
+
"@webstudio-is/css-vars": "^0.83.0",
|
|
49
|
+
"@webstudio-is/generate-arg-types": "^0.83.0",
|
|
50
|
+
"@webstudio-is/icons": "^0.83.0",
|
|
51
|
+
"@webstudio-is/image": "^0.83.0",
|
|
52
|
+
"@webstudio-is/react-sdk": "^0.83.0"
|
|
48
53
|
},
|
|
49
54
|
"devDependencies": {
|
|
50
|
-
"@storybook/react": "^7.0
|
|
51
|
-
"@types/react": "^18.
|
|
52
|
-
"@types/react-dom": "^18.
|
|
55
|
+
"@storybook/react": "^7.1.0",
|
|
56
|
+
"@types/react": "^18.2.16",
|
|
57
|
+
"@types/react-dom": "^18.2.7",
|
|
53
58
|
"react": "^18.2.0",
|
|
54
59
|
"react-dom": "^18.2.0",
|
|
55
|
-
"typescript": "5.1.
|
|
60
|
+
"typescript": "5.1.6",
|
|
56
61
|
"@webstudio-is/scripts": "^0.0.0",
|
|
57
62
|
"@webstudio-is/storybook-config": "^0.0.0",
|
|
58
63
|
"@webstudio-is/tsconfig": "^1.0.6"
|
|
@@ -62,7 +67,7 @@
|
|
|
62
67
|
"build": "build-package",
|
|
63
68
|
"build:args": "generate-arg-types './src/*.tsx !./src/*.stories.tsx !./src/*.ws.tsx' && prettier --write \"**/*.props.ts\"",
|
|
64
69
|
"dts": "tsc --project tsconfig.dts.json",
|
|
65
|
-
"typecheck": "tsc
|
|
70
|
+
"typecheck": "tsc",
|
|
66
71
|
"checks": "pnpm typecheck",
|
|
67
72
|
"storybook:dev": "storybook dev -p 6006",
|
|
68
73
|
"storybook:build": "storybook build"
|