@webstudio-is/sdk-components-react-radix 0.129.0 → 0.130.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/lib/metas.js +5 -5
- package/lib/props.js +10 -10
- package/package.json +8 -8
package/lib/metas.js
CHANGED
|
@@ -1813,7 +1813,7 @@ var propsMetaCollapsible = {
|
|
|
1813
1813
|
initialProps: ["open", "onOpenChange"]
|
|
1814
1814
|
};
|
|
1815
1815
|
|
|
1816
|
-
// src/dialog.ws.
|
|
1816
|
+
// src/dialog.ws.ts
|
|
1817
1817
|
import {
|
|
1818
1818
|
DialogIcon,
|
|
1819
1819
|
TriggerIcon as TriggerIcon2,
|
|
@@ -2065,7 +2065,7 @@ var metaDialog = {
|
|
|
2065
2065
|
]
|
|
2066
2066
|
};
|
|
2067
2067
|
|
|
2068
|
-
// src/sheet.ws.
|
|
2068
|
+
// src/sheet.ws.ts
|
|
2069
2069
|
import { HamburgerMenuIcon, LargeXIcon as LargeXIcon2 } from "@webstudio-is/icons/svg";
|
|
2070
2070
|
var meta = {
|
|
2071
2071
|
category: "radix",
|
|
@@ -2289,7 +2289,7 @@ var meta = {
|
|
|
2289
2289
|
]
|
|
2290
2290
|
};
|
|
2291
2291
|
|
|
2292
|
-
// src/popover.ws.
|
|
2292
|
+
// src/popover.ws.ts
|
|
2293
2293
|
import { PopoverIcon, TriggerIcon as TriggerIcon3, ContentIcon as ContentIcon3 } from "@webstudio-is/icons/svg";
|
|
2294
2294
|
import "@webstudio-is/react-sdk";
|
|
2295
2295
|
import { div as div3 } from "@webstudio-is/react-sdk/css-normalize";
|
|
@@ -2381,7 +2381,7 @@ var metaPopover = {
|
|
|
2381
2381
|
]
|
|
2382
2382
|
};
|
|
2383
2383
|
|
|
2384
|
-
// src/tooltip.ws.
|
|
2384
|
+
// src/tooltip.ws.ts
|
|
2385
2385
|
import { TooltipIcon, TriggerIcon as TriggerIcon4, ContentIcon as ContentIcon4 } from "@webstudio-is/icons/svg";
|
|
2386
2386
|
import "@webstudio-is/react-sdk";
|
|
2387
2387
|
import { div as div4 } from "@webstudio-is/react-sdk/css-normalize";
|
|
@@ -3186,7 +3186,7 @@ var propsMeta = {
|
|
|
3186
3186
|
label: "For"
|
|
3187
3187
|
}
|
|
3188
3188
|
},
|
|
3189
|
-
initialProps: ["id", "htmlFor"]
|
|
3189
|
+
initialProps: ["id", "className", "htmlFor"]
|
|
3190
3190
|
};
|
|
3191
3191
|
|
|
3192
3192
|
// src/accordion.ws.ts
|
package/lib/props.js
CHANGED
|
@@ -2304,7 +2304,7 @@ var propsMetaCollapsibleContent = {
|
|
|
2304
2304
|
props: propsCollapsibleContent
|
|
2305
2305
|
};
|
|
2306
2306
|
|
|
2307
|
-
// src/dialog.ws.
|
|
2307
|
+
// src/dialog.ws.ts
|
|
2308
2308
|
import {
|
|
2309
2309
|
DialogIcon,
|
|
2310
2310
|
TriggerIcon as TriggerIcon2,
|
|
@@ -4923,7 +4923,7 @@ var propsDialogDescription = {
|
|
|
4923
4923
|
vocab: { required: false, control: "text", type: "string" }
|
|
4924
4924
|
};
|
|
4925
4925
|
|
|
4926
|
-
// src/dialog.ws.
|
|
4926
|
+
// src/dialog.ws.ts
|
|
4927
4927
|
var metaDialogClose = {
|
|
4928
4928
|
category: "hidden",
|
|
4929
4929
|
type: "container",
|
|
@@ -5146,7 +5146,7 @@ var propsMetaDialogDescription = {
|
|
|
5146
5146
|
initialProps: []
|
|
5147
5147
|
};
|
|
5148
5148
|
|
|
5149
|
-
// src/popover.ws.
|
|
5149
|
+
// src/popover.ws.ts
|
|
5150
5150
|
import { PopoverIcon, TriggerIcon as TriggerIcon3, ContentIcon as ContentIcon3 } from "@webstudio-is/icons/svg";
|
|
5151
5151
|
import "@webstudio-is/react-sdk";
|
|
5152
5152
|
import { div as div3 } from "@webstudio-is/react-sdk/css-normalize";
|
|
@@ -5710,7 +5710,7 @@ var propsPopoverContent = {
|
|
|
5710
5710
|
vocab: { required: false, control: "text", type: "string" }
|
|
5711
5711
|
};
|
|
5712
5712
|
|
|
5713
|
-
// src/popover.ws.
|
|
5713
|
+
// src/popover.ws.ts
|
|
5714
5714
|
var metaPopover = {
|
|
5715
5715
|
category: "radix",
|
|
5716
5716
|
order: 6,
|
|
@@ -5793,7 +5793,7 @@ var propsMetaPopoverContent = {
|
|
|
5793
5793
|
initialProps: ["side", "sideOffset", "align", "alignOffset"]
|
|
5794
5794
|
};
|
|
5795
5795
|
|
|
5796
|
-
// src/tooltip.ws.
|
|
5796
|
+
// src/tooltip.ws.ts
|
|
5797
5797
|
import { TooltipIcon, TriggerIcon as TriggerIcon4, ContentIcon as ContentIcon4 } from "@webstudio-is/icons/svg";
|
|
5798
5798
|
import "@webstudio-is/react-sdk";
|
|
5799
5799
|
import { div as div4 } from "@webstudio-is/react-sdk/css-normalize";
|
|
@@ -6368,7 +6368,7 @@ var propsTooltipContent = {
|
|
|
6368
6368
|
vocab: { required: false, control: "text", type: "string" }
|
|
6369
6369
|
};
|
|
6370
6370
|
|
|
6371
|
-
// src/tooltip.ws.
|
|
6371
|
+
// src/tooltip.ws.ts
|
|
6372
6372
|
var metaTooltip = {
|
|
6373
6373
|
category: "radix",
|
|
6374
6374
|
order: 7,
|
|
@@ -9281,7 +9281,7 @@ var propsMeta = {
|
|
|
9281
9281
|
label: "For"
|
|
9282
9282
|
}
|
|
9283
9283
|
},
|
|
9284
|
-
initialProps: ["id", "htmlFor"]
|
|
9284
|
+
initialProps: ["id", "className", "htmlFor"]
|
|
9285
9285
|
};
|
|
9286
9286
|
|
|
9287
9287
|
// src/accordion.ws.ts
|
|
@@ -20261,7 +20261,7 @@ var metaSwitchThumb = {
|
|
|
20261
20261
|
};
|
|
20262
20262
|
var propsMetaSwitch = {
|
|
20263
20263
|
props: propsSwitch,
|
|
20264
|
-
initialProps: ["id", "checked", "name", "required"]
|
|
20264
|
+
initialProps: ["id", "className", "checked", "name", "required"]
|
|
20265
20265
|
};
|
|
20266
20266
|
var propsMetaSwitchThumb = {
|
|
20267
20267
|
props: propsSwitchThumb
|
|
@@ -21477,7 +21477,7 @@ var metaCheckbox = {
|
|
|
21477
21477
|
};
|
|
21478
21478
|
var propsMetaCheckbox = {
|
|
21479
21479
|
props: propsCheckbox,
|
|
21480
|
-
initialProps: ["id", "checked", "name", "required"]
|
|
21480
|
+
initialProps: ["id", "className", "checked", "name", "required"]
|
|
21481
21481
|
};
|
|
21482
21482
|
var propsMetaCheckboxIndicator = {
|
|
21483
21483
|
props: propsCheckboxIndicator
|
|
@@ -23248,7 +23248,7 @@ var metaRadioGroupItem = {
|
|
|
23248
23248
|
};
|
|
23249
23249
|
var propsMetaRadioGroup = {
|
|
23250
23250
|
props: propsRadioGroup,
|
|
23251
|
-
initialProps: ["id", "value", "name", "required"]
|
|
23251
|
+
initialProps: ["id", "className", "value", "name", "required"]
|
|
23252
23252
|
};
|
|
23253
23253
|
var propsMetaRadioGroupItem = {
|
|
23254
23254
|
props: propsRadioGroupItem,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webstudio-is/sdk-components-react-radix",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.130.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.
|
|
59
|
-
"@webstudio-is/
|
|
60
|
-
"@webstudio-is/
|
|
58
|
+
"@webstudio-is/css-engine": "0.130.0",
|
|
59
|
+
"@webstudio-is/icons": "0.130.0",
|
|
60
|
+
"@webstudio-is/react-sdk": "0.130.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@storybook/react": "^7.4.0",
|
|
@@ -67,17 +67,17 @@
|
|
|
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.
|
|
71
|
-
"@webstudio-is/generate-arg-types": "0.
|
|
70
|
+
"@webstudio-is/css-data": "0.130.0",
|
|
71
|
+
"@webstudio-is/generate-arg-types": "0.130.0",
|
|
72
72
|
"@webstudio-is/sdk-cli": "^0.94.0",
|
|
73
|
-
"@webstudio-is/sdk-components-react": "0.
|
|
73
|
+
"@webstudio-is/sdk-components-react": "0.130.0",
|
|
74
74
|
"@webstudio-is/storybook-config": "0.0.0",
|
|
75
75
|
"@webstudio-is/tsconfig": "1.0.7"
|
|
76
76
|
},
|
|
77
77
|
"scripts": {
|
|
78
78
|
"dev": "rm -rf lib && esbuild 'src/**/*.ts' 'src/**/*.tsx' --outdir=lib --watch",
|
|
79
79
|
"build": "rm -rf lib && esbuild src/components.ts src/metas.ts src/props.ts src/hooks.ts --outdir=lib --bundle --format=esm --packages=external",
|
|
80
|
-
"build:args": "NODE_OPTIONS=--conditions=webstudio generate-arg-types './src/*.tsx !./src/*.stories.tsx !./src/*.ws.
|
|
80
|
+
"build:args": "NODE_OPTIONS=--conditions=webstudio generate-arg-types './src/*.tsx !./src/*.stories.tsx !./src/*.ws.ts' -e asChild -e modal -e defaultValue -e defaultOpen -e defaultChecked && prettier --write \"**/*.props.ts\"",
|
|
81
81
|
"build:tailwind": "tsx scripts/generate-tailwind-theme.ts && prettier --write src/theme/__generated__",
|
|
82
82
|
"build:stories": "webstudio-sdk generate-stories && prettier --write \"src/__generated__/*.stories.tsx\"",
|
|
83
83
|
"dts": "tsc --project tsconfig.dts.json",
|