@webstudio-is/sdk-components-react-radix 0.112.0 → 0.114.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 +48 -48
- package/lib/props.js +44 -44
- package/package.json +7 -7
package/lib/metas.js
CHANGED
|
@@ -1742,14 +1742,14 @@ var metaCollapsible = {
|
|
|
1742
1742
|
{
|
|
1743
1743
|
type: "instance",
|
|
1744
1744
|
component: "Collapsible",
|
|
1745
|
-
|
|
1746
|
-
collapsibleOpen: {
|
|
1745
|
+
variables: {
|
|
1746
|
+
collapsibleOpen: { initialValue: false }
|
|
1747
1747
|
},
|
|
1748
1748
|
props: [
|
|
1749
1749
|
{
|
|
1750
|
-
type: "
|
|
1750
|
+
type: "expression",
|
|
1751
1751
|
name: "open",
|
|
1752
|
-
|
|
1752
|
+
code: "collapsibleOpen"
|
|
1753
1753
|
},
|
|
1754
1754
|
{
|
|
1755
1755
|
name: "onOpenChange",
|
|
@@ -1891,14 +1891,14 @@ var metaDialog = {
|
|
|
1891
1891
|
{
|
|
1892
1892
|
type: "instance",
|
|
1893
1893
|
component: "Dialog",
|
|
1894
|
-
|
|
1895
|
-
dialogOpen: {
|
|
1894
|
+
variables: {
|
|
1895
|
+
dialogOpen: { initialValue: false }
|
|
1896
1896
|
},
|
|
1897
1897
|
props: [
|
|
1898
1898
|
{
|
|
1899
|
-
type: "
|
|
1899
|
+
type: "expression",
|
|
1900
1900
|
name: "open",
|
|
1901
|
-
|
|
1901
|
+
code: "dialogOpen"
|
|
1902
1902
|
},
|
|
1903
1903
|
{
|
|
1904
1904
|
name: "onOpenChange",
|
|
@@ -2079,14 +2079,14 @@ var meta = {
|
|
|
2079
2079
|
type: "instance",
|
|
2080
2080
|
component: "Dialog",
|
|
2081
2081
|
label: "Sheet",
|
|
2082
|
-
|
|
2083
|
-
sheetOpen: {
|
|
2082
|
+
variables: {
|
|
2083
|
+
sheetOpen: { initialValue: false }
|
|
2084
2084
|
},
|
|
2085
2085
|
props: [
|
|
2086
2086
|
{
|
|
2087
|
-
type: "
|
|
2087
|
+
type: "expression",
|
|
2088
2088
|
name: "open",
|
|
2089
|
-
|
|
2089
|
+
code: "sheetOpen"
|
|
2090
2090
|
},
|
|
2091
2091
|
{
|
|
2092
2092
|
name: "onOpenChange",
|
|
@@ -2321,14 +2321,14 @@ var metaPopover = {
|
|
|
2321
2321
|
{
|
|
2322
2322
|
type: "instance",
|
|
2323
2323
|
component: "Popover",
|
|
2324
|
-
|
|
2325
|
-
popoverOpen: {
|
|
2324
|
+
variables: {
|
|
2325
|
+
popoverOpen: { initialValue: false }
|
|
2326
2326
|
},
|
|
2327
2327
|
props: [
|
|
2328
2328
|
{
|
|
2329
|
-
type: "
|
|
2329
|
+
type: "expression",
|
|
2330
2330
|
name: "open",
|
|
2331
|
-
|
|
2331
|
+
code: "popoverOpen"
|
|
2332
2332
|
},
|
|
2333
2333
|
{
|
|
2334
2334
|
name: "onOpenChange",
|
|
@@ -2413,14 +2413,14 @@ var metaTooltip = {
|
|
|
2413
2413
|
{
|
|
2414
2414
|
type: "instance",
|
|
2415
2415
|
component: "Tooltip",
|
|
2416
|
-
|
|
2417
|
-
tooltipOpen: {
|
|
2416
|
+
variables: {
|
|
2417
|
+
tooltipOpen: { initialValue: false }
|
|
2418
2418
|
},
|
|
2419
2419
|
props: [
|
|
2420
2420
|
{
|
|
2421
|
-
type: "
|
|
2421
|
+
type: "expression",
|
|
2422
2422
|
name: "open",
|
|
2423
|
-
|
|
2423
|
+
code: "tooltipOpen"
|
|
2424
2424
|
},
|
|
2425
2425
|
{
|
|
2426
2426
|
name: "onOpenChange",
|
|
@@ -2525,11 +2525,11 @@ var metaTabs = {
|
|
|
2525
2525
|
{
|
|
2526
2526
|
type: "instance",
|
|
2527
2527
|
component: "Tabs",
|
|
2528
|
-
|
|
2529
|
-
tabsValue: {
|
|
2528
|
+
variables: {
|
|
2529
|
+
tabsValue: { initialValue: "0" }
|
|
2530
2530
|
},
|
|
2531
2531
|
props: [
|
|
2532
|
-
{ type: "
|
|
2532
|
+
{ type: "expression", name: "value", code: "tabsValue" },
|
|
2533
2533
|
{
|
|
2534
2534
|
name: "onValueChange",
|
|
2535
2535
|
type: "action",
|
|
@@ -3289,12 +3289,12 @@ var metaAccordion = {
|
|
|
3289
3289
|
{
|
|
3290
3290
|
type: "instance",
|
|
3291
3291
|
component: "Accordion",
|
|
3292
|
-
|
|
3293
|
-
accordionValue: {
|
|
3292
|
+
variables: {
|
|
3293
|
+
accordionValue: { initialValue: "0" }
|
|
3294
3294
|
},
|
|
3295
3295
|
props: [
|
|
3296
3296
|
{ type: "boolean", name: "collapsible", value: true },
|
|
3297
|
-
{ type: "
|
|
3297
|
+
{ type: "expression", name: "value", code: "accordionValue" },
|
|
3298
3298
|
{
|
|
3299
3299
|
name: "onValueChange",
|
|
3300
3300
|
type: "action",
|
|
@@ -3698,11 +3698,11 @@ var metaNavigationMenu = {
|
|
|
3698
3698
|
{
|
|
3699
3699
|
type: "instance",
|
|
3700
3700
|
component: "NavigationMenu",
|
|
3701
|
-
|
|
3702
|
-
menuValue: {
|
|
3701
|
+
variables: {
|
|
3702
|
+
menuValue: { initialValue: "" }
|
|
3703
3703
|
},
|
|
3704
3704
|
props: [
|
|
3705
|
-
{ type: "
|
|
3705
|
+
{ type: "expression", name: "value", code: "menuValue" },
|
|
3706
3706
|
{
|
|
3707
3707
|
name: "onValueChange",
|
|
3708
3708
|
type: "action",
|
|
@@ -3971,15 +3971,15 @@ var metaSelect = {
|
|
|
3971
3971
|
{
|
|
3972
3972
|
type: "instance",
|
|
3973
3973
|
component: "Select",
|
|
3974
|
-
|
|
3975
|
-
selectValue: {
|
|
3976
|
-
selectOpen: {
|
|
3974
|
+
variables: {
|
|
3975
|
+
selectValue: { initialValue: "" },
|
|
3976
|
+
selectOpen: { initialValue: false }
|
|
3977
3977
|
},
|
|
3978
3978
|
props: [
|
|
3979
3979
|
{
|
|
3980
3980
|
name: "value",
|
|
3981
|
-
type: "
|
|
3982
|
-
|
|
3981
|
+
type: "expression",
|
|
3982
|
+
code: "selectValue"
|
|
3983
3983
|
},
|
|
3984
3984
|
{
|
|
3985
3985
|
name: "onValueChange",
|
|
@@ -3990,8 +3990,8 @@ var metaSelect = {
|
|
|
3990
3990
|
},
|
|
3991
3991
|
{
|
|
3992
3992
|
name: "open",
|
|
3993
|
-
type: "
|
|
3994
|
-
|
|
3993
|
+
type: "expression",
|
|
3994
|
+
code: "selectOpen"
|
|
3995
3995
|
},
|
|
3996
3996
|
{
|
|
3997
3997
|
name: "onOpenChange",
|
|
@@ -4195,14 +4195,14 @@ var metaSwitch = {
|
|
|
4195
4195
|
{
|
|
4196
4196
|
type: "instance",
|
|
4197
4197
|
component: "Switch",
|
|
4198
|
-
|
|
4199
|
-
switchChecked: {
|
|
4198
|
+
variables: {
|
|
4199
|
+
switchChecked: { initialValue: false }
|
|
4200
4200
|
},
|
|
4201
4201
|
props: [
|
|
4202
4202
|
{
|
|
4203
4203
|
name: "checked",
|
|
4204
|
-
type: "
|
|
4205
|
-
|
|
4204
|
+
type: "expression",
|
|
4205
|
+
code: "switchChecked"
|
|
4206
4206
|
},
|
|
4207
4207
|
{
|
|
4208
4208
|
name: "onCheckedChange",
|
|
@@ -4336,14 +4336,14 @@ var metaCheckbox = {
|
|
|
4336
4336
|
{
|
|
4337
4337
|
type: "instance",
|
|
4338
4338
|
component: "Checkbox",
|
|
4339
|
-
|
|
4340
|
-
checkboxChecked: {
|
|
4339
|
+
variables: {
|
|
4340
|
+
checkboxChecked: { initialValue: false }
|
|
4341
4341
|
},
|
|
4342
4342
|
props: [
|
|
4343
4343
|
{
|
|
4344
4344
|
name: "checked",
|
|
4345
|
-
type: "
|
|
4346
|
-
|
|
4345
|
+
type: "expression",
|
|
4346
|
+
code: "checkboxChecked"
|
|
4347
4347
|
},
|
|
4348
4348
|
{
|
|
4349
4349
|
name: "onCheckedChange",
|
|
@@ -4526,16 +4526,16 @@ var metaRadioGroup = {
|
|
|
4526
4526
|
{
|
|
4527
4527
|
type: "instance",
|
|
4528
4528
|
component: "RadioGroup",
|
|
4529
|
-
|
|
4530
|
-
radioGroupValue: {
|
|
4529
|
+
variables: {
|
|
4530
|
+
radioGroupValue: { initialValue: "" }
|
|
4531
4531
|
},
|
|
4532
4532
|
// grid gap-2
|
|
4533
4533
|
styles: [flex(), flex("col"), gap(2)].flat(),
|
|
4534
4534
|
props: [
|
|
4535
4535
|
{
|
|
4536
|
-
type: "
|
|
4536
|
+
type: "expression",
|
|
4537
4537
|
name: "value",
|
|
4538
|
-
|
|
4538
|
+
code: "radioGroupValue"
|
|
4539
4539
|
},
|
|
4540
4540
|
{
|
|
4541
4541
|
name: "onValueChange",
|
package/lib/props.js
CHANGED
|
@@ -2241,14 +2241,14 @@ var metaCollapsible = {
|
|
|
2241
2241
|
{
|
|
2242
2242
|
type: "instance",
|
|
2243
2243
|
component: "Collapsible",
|
|
2244
|
-
|
|
2245
|
-
collapsibleOpen: {
|
|
2244
|
+
variables: {
|
|
2245
|
+
collapsibleOpen: { initialValue: false }
|
|
2246
2246
|
},
|
|
2247
2247
|
props: [
|
|
2248
2248
|
{
|
|
2249
|
-
type: "
|
|
2249
|
+
type: "expression",
|
|
2250
2250
|
name: "open",
|
|
2251
|
-
|
|
2251
|
+
code: "collapsibleOpen"
|
|
2252
2252
|
},
|
|
2253
2253
|
{
|
|
2254
2254
|
name: "onOpenChange",
|
|
@@ -4945,14 +4945,14 @@ var metaDialog = {
|
|
|
4945
4945
|
{
|
|
4946
4946
|
type: "instance",
|
|
4947
4947
|
component: "Dialog",
|
|
4948
|
-
|
|
4949
|
-
dialogOpen: {
|
|
4948
|
+
variables: {
|
|
4949
|
+
dialogOpen: { initialValue: false }
|
|
4950
4950
|
},
|
|
4951
4951
|
props: [
|
|
4952
4952
|
{
|
|
4953
|
-
type: "
|
|
4953
|
+
type: "expression",
|
|
4954
4954
|
name: "open",
|
|
4955
|
-
|
|
4955
|
+
code: "dialogOpen"
|
|
4956
4956
|
},
|
|
4957
4957
|
{
|
|
4958
4958
|
name: "onOpenChange",
|
|
@@ -5722,14 +5722,14 @@ var metaPopover = {
|
|
|
5722
5722
|
{
|
|
5723
5723
|
type: "instance",
|
|
5724
5724
|
component: "Popover",
|
|
5725
|
-
|
|
5726
|
-
popoverOpen: {
|
|
5725
|
+
variables: {
|
|
5726
|
+
popoverOpen: { initialValue: false }
|
|
5727
5727
|
},
|
|
5728
5728
|
props: [
|
|
5729
5729
|
{
|
|
5730
|
-
type: "
|
|
5730
|
+
type: "expression",
|
|
5731
5731
|
name: "open",
|
|
5732
|
-
|
|
5732
|
+
code: "popoverOpen"
|
|
5733
5733
|
},
|
|
5734
5734
|
{
|
|
5735
5735
|
name: "onOpenChange",
|
|
@@ -6380,14 +6380,14 @@ var metaTooltip = {
|
|
|
6380
6380
|
{
|
|
6381
6381
|
type: "instance",
|
|
6382
6382
|
component: "Tooltip",
|
|
6383
|
-
|
|
6384
|
-
tooltipOpen: {
|
|
6383
|
+
variables: {
|
|
6384
|
+
tooltipOpen: { initialValue: false }
|
|
6385
6385
|
},
|
|
6386
6386
|
props: [
|
|
6387
6387
|
{
|
|
6388
|
-
type: "
|
|
6388
|
+
type: "expression",
|
|
6389
6389
|
name: "open",
|
|
6390
|
-
|
|
6390
|
+
code: "tooltipOpen"
|
|
6391
6391
|
},
|
|
6392
6392
|
{
|
|
6393
6393
|
name: "onOpenChange",
|
|
@@ -8625,11 +8625,11 @@ var metaTabs = {
|
|
|
8625
8625
|
{
|
|
8626
8626
|
type: "instance",
|
|
8627
8627
|
component: "Tabs",
|
|
8628
|
-
|
|
8629
|
-
tabsValue: {
|
|
8628
|
+
variables: {
|
|
8629
|
+
tabsValue: { initialValue: "0" }
|
|
8630
8630
|
},
|
|
8631
8631
|
props: [
|
|
8632
|
-
{ type: "
|
|
8632
|
+
{ type: "expression", name: "value", code: "tabsValue" },
|
|
8633
8633
|
{
|
|
8634
8634
|
name: "onValueChange",
|
|
8635
8635
|
type: "action",
|
|
@@ -12013,12 +12013,12 @@ var metaAccordion = {
|
|
|
12013
12013
|
{
|
|
12014
12014
|
type: "instance",
|
|
12015
12015
|
component: "Accordion",
|
|
12016
|
-
|
|
12017
|
-
accordionValue: {
|
|
12016
|
+
variables: {
|
|
12017
|
+
accordionValue: { initialValue: "0" }
|
|
12018
12018
|
},
|
|
12019
12019
|
props: [
|
|
12020
12020
|
{ type: "boolean", name: "collapsible", value: true },
|
|
12021
|
-
{ type: "
|
|
12021
|
+
{ type: "expression", name: "value", code: "accordionValue" },
|
|
12022
12022
|
{
|
|
12023
12023
|
name: "onValueChange",
|
|
12024
12024
|
type: "action",
|
|
@@ -14981,11 +14981,11 @@ var metaNavigationMenu = {
|
|
|
14981
14981
|
{
|
|
14982
14982
|
type: "instance",
|
|
14983
14983
|
component: "NavigationMenu",
|
|
14984
|
-
|
|
14985
|
-
menuValue: {
|
|
14984
|
+
variables: {
|
|
14985
|
+
menuValue: { initialValue: "" }
|
|
14986
14986
|
},
|
|
14987
14987
|
props: [
|
|
14988
|
-
{ type: "
|
|
14988
|
+
{ type: "expression", name: "value", code: "menuValue" },
|
|
14989
14989
|
{
|
|
14990
14990
|
name: "onValueChange",
|
|
14991
14991
|
type: "action",
|
|
@@ -18889,15 +18889,15 @@ var metaSelect = {
|
|
|
18889
18889
|
{
|
|
18890
18890
|
type: "instance",
|
|
18891
18891
|
component: "Select",
|
|
18892
|
-
|
|
18893
|
-
selectValue: {
|
|
18894
|
-
selectOpen: {
|
|
18892
|
+
variables: {
|
|
18893
|
+
selectValue: { initialValue: "" },
|
|
18894
|
+
selectOpen: { initialValue: false }
|
|
18895
18895
|
},
|
|
18896
18896
|
props: [
|
|
18897
18897
|
{
|
|
18898
18898
|
name: "value",
|
|
18899
|
-
type: "
|
|
18900
|
-
|
|
18899
|
+
type: "expression",
|
|
18900
|
+
code: "selectValue"
|
|
18901
18901
|
},
|
|
18902
18902
|
{
|
|
18903
18903
|
name: "onValueChange",
|
|
@@ -18908,8 +18908,8 @@ var metaSelect = {
|
|
|
18908
18908
|
},
|
|
18909
18909
|
{
|
|
18910
18910
|
name: "open",
|
|
18911
|
-
type: "
|
|
18912
|
-
|
|
18911
|
+
type: "expression",
|
|
18912
|
+
code: "selectOpen"
|
|
18913
18913
|
},
|
|
18914
18914
|
{
|
|
18915
18915
|
name: "onOpenChange",
|
|
@@ -20161,14 +20161,14 @@ var metaSwitch = {
|
|
|
20161
20161
|
{
|
|
20162
20162
|
type: "instance",
|
|
20163
20163
|
component: "Switch",
|
|
20164
|
-
|
|
20165
|
-
switchChecked: {
|
|
20164
|
+
variables: {
|
|
20165
|
+
switchChecked: { initialValue: false }
|
|
20166
20166
|
},
|
|
20167
20167
|
props: [
|
|
20168
20168
|
{
|
|
20169
20169
|
name: "checked",
|
|
20170
|
-
type: "
|
|
20171
|
-
|
|
20170
|
+
type: "expression",
|
|
20171
|
+
code: "switchChecked"
|
|
20172
20172
|
},
|
|
20173
20173
|
{
|
|
20174
20174
|
name: "onCheckedChange",
|
|
@@ -21392,14 +21392,14 @@ var metaCheckbox = {
|
|
|
21392
21392
|
{
|
|
21393
21393
|
type: "instance",
|
|
21394
21394
|
component: "Checkbox",
|
|
21395
|
-
|
|
21396
|
-
checkboxChecked: {
|
|
21395
|
+
variables: {
|
|
21396
|
+
checkboxChecked: { initialValue: false }
|
|
21397
21397
|
},
|
|
21398
21398
|
props: [
|
|
21399
21399
|
{
|
|
21400
21400
|
name: "checked",
|
|
21401
|
-
type: "
|
|
21402
|
-
|
|
21401
|
+
type: "expression",
|
|
21402
|
+
code: "checkboxChecked"
|
|
21403
21403
|
},
|
|
21404
21404
|
{
|
|
21405
21405
|
name: "onCheckedChange",
|
|
@@ -23205,16 +23205,16 @@ var metaRadioGroup = {
|
|
|
23205
23205
|
{
|
|
23206
23206
|
type: "instance",
|
|
23207
23207
|
component: "RadioGroup",
|
|
23208
|
-
|
|
23209
|
-
radioGroupValue: {
|
|
23208
|
+
variables: {
|
|
23209
|
+
radioGroupValue: { initialValue: "" }
|
|
23210
23210
|
},
|
|
23211
23211
|
// grid gap-2
|
|
23212
23212
|
styles: [flex(), flex("col"), gap(2)].flat(),
|
|
23213
23213
|
props: [
|
|
23214
23214
|
{
|
|
23215
|
-
type: "
|
|
23215
|
+
type: "expression",
|
|
23216
23216
|
name: "value",
|
|
23217
|
-
|
|
23217
|
+
code: "radioGroupValue"
|
|
23218
23218
|
},
|
|
23219
23219
|
{
|
|
23220
23220
|
name: "onValueChange",
|
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.114.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/icons": "0.
|
|
60
|
-
"@webstudio-is/react-sdk": "0.
|
|
58
|
+
"@webstudio-is/css-engine": "0.114.0",
|
|
59
|
+
"@webstudio-is/icons": "0.114.0",
|
|
60
|
+
"@webstudio-is/react-sdk": "0.114.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@storybook/react": "^7.4.0",
|
|
@@ -67,10 +67,10 @@
|
|
|
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.114.0",
|
|
71
|
+
"@webstudio-is/generate-arg-types": "0.114.0",
|
|
72
72
|
"@webstudio-is/sdk-cli": "^0.94.0",
|
|
73
|
-
"@webstudio-is/sdk-components-react": "0.
|
|
73
|
+
"@webstudio-is/sdk-components-react": "0.114.0",
|
|
74
74
|
"@webstudio-is/storybook-config": "0.0.0",
|
|
75
75
|
"@webstudio-is/tsconfig": "1.0.7"
|
|
76
76
|
},
|