@webstudio-is/sdk-components-react-radix 0.122.0 → 0.124.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.
@@ -12,7 +12,7 @@ type StringEnumToNumeric<T extends string> = T extends `${infer Z extends number
12
12
  type NonNumeric<T extends string> = T extends `${infer Z extends number}` ? never : T;
13
13
  export declare const border: (borderWidthOrColor?: StringEnumToNumeric<keyof typeof theme.borderWidth> | keyof typeof theme.colors) => EmbedTemplateStyleDecl[];
14
14
  export declare const borderB: (borderWidthOrColor?: StringEnumToNumeric<keyof typeof theme.borderWidth> | keyof typeof theme.colors) => EmbedTemplateStyleDecl[];
15
- declare const paddingProperty: (property: "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft") => (padding: 0 | "px" | 2 | 4 | 6 | 8 | 1 | 14 | 3 | 5 | 7 | 9 | 10 | 11 | 12 | 16 | 32 | 48 | 64 | 96 | 80 | 0.5 | 1.5 | 2.5 | 3.5 | 20 | 24 | 40 | 60 | 28 | 36 | 56 | 72 | 44 | 52) => EmbedTemplateStyleDecl[];
15
+ declare const paddingProperty: (property: "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft") => (padding: 0 | 1 | "px" | 2 | 4 | 6 | 8 | 14 | 3 | 5 | 7 | 9 | 10 | 11 | 12 | 16 | 32 | 48 | 64 | 96 | 80 | 0.5 | 1.5 | 2.5 | 3.5 | 20 | 24 | 40 | 60 | 28 | 36 | 56 | 72 | 44 | 52) => EmbedTemplateStyleDecl[];
16
16
  export declare const pt: ReturnType<typeof paddingProperty>;
17
17
  export declare const pb: ReturnType<typeof paddingProperty>;
18
18
  export declare const pl: ReturnType<typeof paddingProperty>;
@@ -20,7 +20,7 @@ export declare const pr: ReturnType<typeof paddingProperty>;
20
20
  export declare const px: ReturnType<typeof paddingProperty>;
21
21
  export declare const py: ReturnType<typeof paddingProperty>;
22
22
  export declare const p: ReturnType<typeof paddingProperty>;
23
- declare const marginProperty: (property: "marginTop" | "marginRight" | "marginBottom" | "marginLeft") => (margin: 0 | "px" | 2 | 4 | 6 | 8 | 1 | 14 | 3 | "auto" | 5 | 7 | 9 | 10 | 11 | 12 | 16 | 32 | 48 | 64 | 96 | 80 | 0.5 | 1.5 | 2.5 | 3.5 | 20 | 24 | 40 | 60 | 28 | 36 | 56 | 72 | 44 | 52) => EmbedTemplateStyleDecl[];
23
+ declare const marginProperty: (property: "marginTop" | "marginRight" | "marginBottom" | "marginLeft") => (margin: 0 | 1 | "px" | 2 | 4 | 6 | 8 | 14 | 3 | "auto" | 5 | 7 | 9 | 10 | 11 | 12 | 16 | 32 | 48 | 64 | 96 | 80 | 0.5 | 1.5 | 2.5 | 3.5 | 20 | 24 | 40 | 60 | 28 | 36 | 56 | 72 | 44 | 52) => EmbedTemplateStyleDecl[];
24
24
  export declare const ml: ReturnType<typeof marginProperty>;
25
25
  export declare const mr: ReturnType<typeof marginProperty>;
26
26
  export declare const mt: ReturnType<typeof marginProperty>;
@@ -92,7 +92,7 @@ export declare const underlineOffset: (offset: StringEnumToNumeric<keyof typeof
92
92
  export declare const font: (weight: "thin" | "extralight" | "light" | "normal" | "medium" | "semibold" | "bold" | "extrabold" | "black") => EmbedTemplateStyleDecl[];
93
93
  export declare const whitespace: (value: "normal" | "nowrap" | "pre" | "pre-line" | "pre-wrap" | "break-spaces") => EmbedTemplateStyleDecl[];
94
94
  export declare const shadow: (shadowSize: keyof typeof theme.boxShadow) => EmbedTemplateStyleDecl[];
95
- export declare const ring: (ringColor: keyof typeof theme.colors, ringWidth: 0 | 2 | 4 | 8 | 1, ringOffsetColor?: keyof typeof theme.colors, ringOffsetWidth?: 0 | 2 | 4 | 8 | 1) => EmbedTemplateStyleDecl[];
95
+ export declare const ring: (ringColor: keyof typeof theme.colors, ringWidth: 0 | 1 | 2 | 4 | 8, ringOffsetColor?: keyof typeof theme.colors, ringOffsetWidth?: 0 | 1 | 2 | 4 | 8) => EmbedTemplateStyleDecl[];
96
96
  export declare const pointerEvents: (value: "none" | "auto") => EmbedTemplateStyleDecl[];
97
97
  export declare const transition: (value: "none" | "all" | "transform") => EmbedTemplateStyleDecl[];
98
98
  export declare const duration: (ms: number) => EmbedTemplateStyleDecl[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webstudio-is/sdk-components-react-radix",
3
- "version": "0.122.0",
3
+ "version": "0.124.0",
4
4
  "description": "Webstudio wrapper for radix library",
5
5
  "author": "Webstudio <github@webstudio.is>",
6
6
  "homepage": "https://webstudio.is",
@@ -55,9 +55,9 @@
55
55
  "@radix-ui/react-switch": "^1.0.3",
56
56
  "@radix-ui/react-tabs": "^1.0.4",
57
57
  "@radix-ui/react-tooltip": "^1.0.7",
58
- "@webstudio-is/css-engine": "0.122.0",
59
- "@webstudio-is/icons": "0.122.0",
60
- "@webstudio-is/react-sdk": "0.122.0"
58
+ "@webstudio-is/css-engine": "0.124.0",
59
+ "@webstudio-is/icons": "0.124.0",
60
+ "@webstudio-is/react-sdk": "0.124.0"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@storybook/react": "^7.4.0",
@@ -67,11 +67,11 @@
67
67
  "react-dom": "^18.2.0",
68
68
  "tailwindcss": "^3.3.3",
69
69
  "typescript": "^5.2.2",
70
- "@webstudio-is/css-data": "0.122.0",
70
+ "@webstudio-is/css-data": "0.124.0",
71
+ "@webstudio-is/generate-arg-types": "0.124.0",
71
72
  "@webstudio-is/sdk-cli": "^0.94.0",
72
- "@webstudio-is/generate-arg-types": "0.122.0",
73
- "@webstudio-is/sdk-components-react": "0.122.0",
74
73
  "@webstudio-is/storybook-config": "0.0.0",
74
+ "@webstudio-is/sdk-components-react": "0.124.0",
75
75
  "@webstudio-is/tsconfig": "1.0.7"
76
76
  },
77
77
  "scripts": {