@webstudio-is/sdk-components-react-radix 0.167.0 → 0.173.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/components.js +33 -9
- package/lib/hooks.js +112 -24
- package/lib/metas.js +41 -155
- package/lib/props.js +1330 -244
- package/lib/types/accordion.d.ts +2 -5
- package/lib/types/checkbox.d.ts +1 -1
- package/lib/types/dialog.d.ts +1 -1
- package/lib/types/label.d.ts +0 -1
- package/lib/types/navigation-menu.d.ts +2 -7
- package/lib/types/select.d.ts +3 -3
- package/lib/types/sheet.d.ts +3 -4
- package/lib/types/tabs.d.ts +3 -3
- package/lib/types/theme/styles.d.ts +130 -219
- package/lib/types/theme/tailwind-classes.d.ts +1 -1
- package/package.json +9 -11
package/lib/props.js
CHANGED
|
@@ -379,6 +379,7 @@ var propsCollapsible = {
|
|
|
379
379
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
380
380
|
},
|
|
381
381
|
datatype: { required: false, control: "text", type: "string" },
|
|
382
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
382
383
|
dir: {
|
|
383
384
|
required: false,
|
|
384
385
|
control: "text",
|
|
@@ -891,6 +892,7 @@ var propsCollapsibleContent = {
|
|
|
891
892
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
892
893
|
},
|
|
893
894
|
datatype: { required: false, control: "text", type: "string" },
|
|
895
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
894
896
|
dir: {
|
|
895
897
|
required: false,
|
|
896
898
|
control: "text",
|
|
@@ -1581,7 +1583,11 @@ var z = (value) => {
|
|
|
1581
1583
|
};
|
|
1582
1584
|
var overflow = (value) => [
|
|
1583
1585
|
{
|
|
1584
|
-
property: "
|
|
1586
|
+
property: "overflowX",
|
|
1587
|
+
value: { type: "keyword", value }
|
|
1588
|
+
},
|
|
1589
|
+
{
|
|
1590
|
+
property: "overflowY",
|
|
1585
1591
|
value: { type: "keyword", value }
|
|
1586
1592
|
}
|
|
1587
1593
|
];
|
|
@@ -1920,13 +1926,7 @@ var gap = (gapValue) => {
|
|
|
1920
1926
|
};
|
|
1921
1927
|
var lineClamp2 = (lineClampValue) => {
|
|
1922
1928
|
return [
|
|
1923
|
-
|
|
1924
|
-
property: "overflow",
|
|
1925
|
-
value: {
|
|
1926
|
-
type: "keyword",
|
|
1927
|
-
value: "hidden"
|
|
1928
|
-
}
|
|
1929
|
-
},
|
|
1929
|
+
...overflow("hidden"),
|
|
1930
1930
|
{
|
|
1931
1931
|
property: "display",
|
|
1932
1932
|
value: {
|
|
@@ -2027,10 +2027,31 @@ var font = (weight) => {
|
|
|
2027
2027
|
];
|
|
2028
2028
|
};
|
|
2029
2029
|
var whitespace = (value) => {
|
|
2030
|
+
let whiteSpaceCollapse = "collapse";
|
|
2031
|
+
let textWrapMode = "wrap";
|
|
2032
|
+
if (value === "normal") {
|
|
2033
|
+
[whiteSpaceCollapse, textWrapMode] = ["collapse", "wrap"];
|
|
2034
|
+
}
|
|
2035
|
+
if (value === "pre") {
|
|
2036
|
+
[whiteSpaceCollapse, textWrapMode] = ["preserve", "nowrap"];
|
|
2037
|
+
}
|
|
2038
|
+
if (value === "pre-wrap") {
|
|
2039
|
+
[whiteSpaceCollapse, textWrapMode] = ["preserve", "wrap"];
|
|
2040
|
+
}
|
|
2041
|
+
if (value === "pre-line") {
|
|
2042
|
+
[whiteSpaceCollapse, textWrapMode] = ["preserve-breaks", "wrap"];
|
|
2043
|
+
}
|
|
2044
|
+
if (value === "break-spaces") {
|
|
2045
|
+
[whiteSpaceCollapse, textWrapMode] = ["break-spaces", "wrap"];
|
|
2046
|
+
}
|
|
2030
2047
|
return [
|
|
2031
2048
|
{
|
|
2032
|
-
property: "
|
|
2033
|
-
value: { type: "keyword", value }
|
|
2049
|
+
property: "whiteSpaceCollapse",
|
|
2050
|
+
value: { type: "keyword", value: whiteSpaceCollapse }
|
|
2051
|
+
},
|
|
2052
|
+
{
|
|
2053
|
+
property: "textWrapMode",
|
|
2054
|
+
value: { type: "keyword", value: textWrapMode }
|
|
2034
2055
|
}
|
|
2035
2056
|
];
|
|
2036
2057
|
};
|
|
@@ -2165,6 +2186,7 @@ var getButtonStyles = (variant, size = "default") => {
|
|
|
2165
2186
|
rounded("md"),
|
|
2166
2187
|
text("sm"),
|
|
2167
2188
|
font("medium"),
|
|
2189
|
+
text("current"),
|
|
2168
2190
|
focusVisible(
|
|
2169
2191
|
[outline("none"), ring("ring", 2, "background", 2)].flat()
|
|
2170
2192
|
),
|
|
@@ -2189,7 +2211,7 @@ var getButtonStyles = (variant, size = "default") => {
|
|
|
2189
2211
|
}
|
|
2190
2212
|
let sizeStyles = [];
|
|
2191
2213
|
if (size === "icon") {
|
|
2192
|
-
sizeStyles = [h(10), w(10)].flat();
|
|
2214
|
+
sizeStyles = [h(10), w(10), px(1.5), py(0)].flat();
|
|
2193
2215
|
}
|
|
2194
2216
|
if (size === "sm") {
|
|
2195
2217
|
sizeStyles = [h(10), px(3)].flat();
|
|
@@ -2227,23 +2249,7 @@ var metaCollapsible = {
|
|
|
2227
2249
|
{
|
|
2228
2250
|
type: "instance",
|
|
2229
2251
|
component: "Collapsible",
|
|
2230
|
-
|
|
2231
|
-
collapsibleOpen: { initialValue: false }
|
|
2232
|
-
},
|
|
2233
|
-
props: [
|
|
2234
|
-
{
|
|
2235
|
-
type: "expression",
|
|
2236
|
-
name: "open",
|
|
2237
|
-
code: "collapsibleOpen"
|
|
2238
|
-
},
|
|
2239
|
-
{
|
|
2240
|
-
name: "onOpenChange",
|
|
2241
|
-
type: "action",
|
|
2242
|
-
value: [
|
|
2243
|
-
{ type: "execute", args: ["open"], code: `collapsibleOpen = open` }
|
|
2244
|
-
]
|
|
2245
|
-
}
|
|
2246
|
-
],
|
|
2252
|
+
props: [],
|
|
2247
2253
|
children: [
|
|
2248
2254
|
{
|
|
2249
2255
|
type: "instance",
|
|
@@ -2700,6 +2706,7 @@ var propsDialogOverlay = {
|
|
|
2700
2706
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
2701
2707
|
},
|
|
2702
2708
|
datatype: { required: false, control: "text", type: "string" },
|
|
2709
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
2703
2710
|
dir: {
|
|
2704
2711
|
required: false,
|
|
2705
2712
|
control: "text",
|
|
@@ -3199,6 +3206,7 @@ var propsDialogContent = {
|
|
|
3199
3206
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
3200
3207
|
},
|
|
3201
3208
|
datatype: { required: false, control: "text", type: "string" },
|
|
3209
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
3202
3210
|
dir: {
|
|
3203
3211
|
required: false,
|
|
3204
3212
|
control: "text",
|
|
@@ -3698,6 +3706,7 @@ var propsDialogClose = {
|
|
|
3698
3706
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
3699
3707
|
},
|
|
3700
3708
|
datatype: { required: false, control: "text", type: "string" },
|
|
3709
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
3701
3710
|
dir: {
|
|
3702
3711
|
required: false,
|
|
3703
3712
|
control: "text",
|
|
@@ -3878,6 +3887,12 @@ var propsDialogClose = {
|
|
|
3878
3887
|
type: "string",
|
|
3879
3888
|
options: ["on", "off"]
|
|
3880
3889
|
},
|
|
3890
|
+
value: {
|
|
3891
|
+
required: false,
|
|
3892
|
+
control: "text",
|
|
3893
|
+
type: "string",
|
|
3894
|
+
description: "Defines a default value which will be displayed in the element on pageload."
|
|
3895
|
+
},
|
|
3881
3896
|
vocab: { required: false, control: "text", type: "string" }
|
|
3882
3897
|
};
|
|
3883
3898
|
var propsDialogTitle = {
|
|
@@ -4252,6 +4267,7 @@ var propsDialogTitle = {
|
|
|
4252
4267
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
4253
4268
|
},
|
|
4254
4269
|
datatype: { required: false, control: "text", type: "string" },
|
|
4270
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
4255
4271
|
dir: {
|
|
4256
4272
|
required: false,
|
|
4257
4273
|
control: "text",
|
|
@@ -4757,6 +4773,7 @@ var propsDialogDescription = {
|
|
|
4757
4773
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
4758
4774
|
},
|
|
4759
4775
|
datatype: { required: false, control: "text", type: "string" },
|
|
4776
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
4760
4777
|
dir: {
|
|
4761
4778
|
required: false,
|
|
4762
4779
|
control: "text",
|
|
@@ -4907,23 +4924,6 @@ var metaDialog = {
|
|
|
4907
4924
|
{
|
|
4908
4925
|
type: "instance",
|
|
4909
4926
|
component: "Dialog",
|
|
4910
|
-
variables: {
|
|
4911
|
-
dialogOpen: { initialValue: false }
|
|
4912
|
-
},
|
|
4913
|
-
props: [
|
|
4914
|
-
{
|
|
4915
|
-
type: "expression",
|
|
4916
|
-
name: "open",
|
|
4917
|
-
code: "dialogOpen"
|
|
4918
|
-
},
|
|
4919
|
-
{
|
|
4920
|
-
name: "onOpenChange",
|
|
4921
|
-
type: "action",
|
|
4922
|
-
value: [
|
|
4923
|
-
{ type: "execute", args: ["open"], code: `dialogOpen = open` }
|
|
4924
|
-
]
|
|
4925
|
-
}
|
|
4926
|
-
],
|
|
4927
4927
|
children: [
|
|
4928
4928
|
{
|
|
4929
4929
|
type: "instance",
|
|
@@ -5090,7 +5090,7 @@ var metaDialog = {
|
|
|
5090
5090
|
};
|
|
5091
5091
|
var propsMetaDialog = {
|
|
5092
5092
|
props: propsDialog,
|
|
5093
|
-
initialProps: [
|
|
5093
|
+
initialProps: []
|
|
5094
5094
|
};
|
|
5095
5095
|
var propsMetaDialogTrigger = {
|
|
5096
5096
|
props: propsDialogTrigger
|
|
@@ -5519,6 +5519,7 @@ var propsPopoverContent = {
|
|
|
5519
5519
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
5520
5520
|
},
|
|
5521
5521
|
datatype: { required: false, control: "text", type: "string" },
|
|
5522
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
5522
5523
|
dir: {
|
|
5523
5524
|
required: false,
|
|
5524
5525
|
control: "text",
|
|
@@ -5691,23 +5692,7 @@ var metaPopover = {
|
|
|
5691
5692
|
{
|
|
5692
5693
|
type: "instance",
|
|
5693
5694
|
component: "Popover",
|
|
5694
|
-
|
|
5695
|
-
popoverOpen: { initialValue: false }
|
|
5696
|
-
},
|
|
5697
|
-
props: [
|
|
5698
|
-
{
|
|
5699
|
-
type: "expression",
|
|
5700
|
-
name: "open",
|
|
5701
|
-
code: "popoverOpen"
|
|
5702
|
-
},
|
|
5703
|
-
{
|
|
5704
|
-
name: "onOpenChange",
|
|
5705
|
-
type: "action",
|
|
5706
|
-
value: [
|
|
5707
|
-
{ type: "execute", args: ["open"], code: `popoverOpen = open` }
|
|
5708
|
-
]
|
|
5709
|
-
}
|
|
5710
|
-
],
|
|
5695
|
+
props: [],
|
|
5711
5696
|
children: [
|
|
5712
5697
|
{
|
|
5713
5698
|
type: "instance",
|
|
@@ -6182,6 +6167,7 @@ var propsTooltipContent = {
|
|
|
6182
6167
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
6183
6168
|
},
|
|
6184
6169
|
datatype: { required: false, control: "text", type: "string" },
|
|
6170
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
6185
6171
|
dir: {
|
|
6186
6172
|
required: false,
|
|
6187
6173
|
control: "text",
|
|
@@ -6354,23 +6340,7 @@ var metaTooltip = {
|
|
|
6354
6340
|
{
|
|
6355
6341
|
type: "instance",
|
|
6356
6342
|
component: "Tooltip",
|
|
6357
|
-
|
|
6358
|
-
tooltipOpen: { initialValue: false }
|
|
6359
|
-
},
|
|
6360
|
-
props: [
|
|
6361
|
-
{
|
|
6362
|
-
type: "expression",
|
|
6363
|
-
name: "open",
|
|
6364
|
-
code: "tooltipOpen"
|
|
6365
|
-
},
|
|
6366
|
-
{
|
|
6367
|
-
name: "onOpenChange",
|
|
6368
|
-
type: "action",
|
|
6369
|
-
value: [
|
|
6370
|
-
{ type: "execute", args: ["open"], code: `tooltipOpen = open` }
|
|
6371
|
-
]
|
|
6372
|
-
}
|
|
6373
|
-
],
|
|
6343
|
+
props: [],
|
|
6374
6344
|
children: [
|
|
6375
6345
|
{
|
|
6376
6346
|
type: "instance",
|
|
@@ -6824,6 +6794,12 @@ var propsTabs = {
|
|
|
6824
6794
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
6825
6795
|
},
|
|
6826
6796
|
datatype: { required: false, control: "text", type: "string" },
|
|
6797
|
+
defaultValue: {
|
|
6798
|
+
description: "The value of the tab to select by default, if uncontrolled",
|
|
6799
|
+
required: false,
|
|
6800
|
+
control: "text",
|
|
6801
|
+
type: "string"
|
|
6802
|
+
},
|
|
6827
6803
|
dir: {
|
|
6828
6804
|
description: "The direction of navigation between toolbar items.",
|
|
6829
6805
|
required: false,
|
|
@@ -7337,6 +7313,7 @@ var propsTabsList = {
|
|
|
7337
7313
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
7338
7314
|
},
|
|
7339
7315
|
datatype: { required: false, control: "text", type: "string" },
|
|
7316
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
7340
7317
|
dir: {
|
|
7341
7318
|
required: false,
|
|
7342
7319
|
control: "text",
|
|
@@ -7842,6 +7819,7 @@ var propsTabsTrigger = {
|
|
|
7842
7819
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
7843
7820
|
},
|
|
7844
7821
|
datatype: { required: false, control: "text", type: "string" },
|
|
7822
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
7845
7823
|
dir: {
|
|
7846
7824
|
required: false,
|
|
7847
7825
|
control: "text",
|
|
@@ -8402,6 +8380,7 @@ var propsTabsContent = {
|
|
|
8402
8380
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
8403
8381
|
},
|
|
8404
8382
|
datatype: { required: false, control: "text", type: "string" },
|
|
8383
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
8405
8384
|
dir: {
|
|
8406
8385
|
required: false,
|
|
8407
8386
|
control: "text",
|
|
@@ -8577,19 +8556,7 @@ var metaTabs = {
|
|
|
8577
8556
|
{
|
|
8578
8557
|
type: "instance",
|
|
8579
8558
|
component: "Tabs",
|
|
8580
|
-
|
|
8581
|
-
tabsValue: { initialValue: "0" }
|
|
8582
|
-
},
|
|
8583
|
-
props: [
|
|
8584
|
-
{ type: "expression", name: "value", code: "tabsValue" },
|
|
8585
|
-
{
|
|
8586
|
-
name: "onValueChange",
|
|
8587
|
-
type: "action",
|
|
8588
|
-
value: [
|
|
8589
|
-
{ type: "execute", args: ["value"], code: `tabsValue = value` }
|
|
8590
|
-
]
|
|
8591
|
-
}
|
|
8592
|
-
],
|
|
8559
|
+
props: [{ type: "string", name: "defaultValue", value: "0" }],
|
|
8593
8560
|
children: [
|
|
8594
8561
|
{
|
|
8595
8562
|
type: "instance",
|
|
@@ -9063,6 +9030,7 @@ var props = {
|
|
|
9063
9030
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
9064
9031
|
},
|
|
9065
9032
|
datatype: { required: false, control: "text", type: "string" },
|
|
9033
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
9066
9034
|
dir: {
|
|
9067
9035
|
required: false,
|
|
9068
9036
|
control: "text",
|
|
@@ -9635,6 +9603,12 @@ var propsAccordion = {
|
|
|
9635
9603
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
9636
9604
|
},
|
|
9637
9605
|
datatype: { required: false, control: "text", type: "string" },
|
|
9606
|
+
defaultValue: {
|
|
9607
|
+
description: "The value of the item whose content is expanded when the accordion is initially rendered. Use\n`defaultValue` if you do not need to control the state of an accordion.",
|
|
9608
|
+
required: false,
|
|
9609
|
+
control: "text",
|
|
9610
|
+
type: "string"
|
|
9611
|
+
},
|
|
9638
9612
|
dir: {
|
|
9639
9613
|
description: "The language read direction.",
|
|
9640
9614
|
required: false,
|
|
@@ -9776,10 +9750,10 @@ var propsAccordion = {
|
|
|
9776
9750
|
options: ["on", "off"]
|
|
9777
9751
|
},
|
|
9778
9752
|
value: {
|
|
9779
|
-
|
|
9753
|
+
description: "The controlled stateful value of the accordion item whose content is expanded.",
|
|
9754
|
+
required: false,
|
|
9780
9755
|
control: "text",
|
|
9781
|
-
type: "string"
|
|
9782
|
-
description: "Defines a default value which will be displayed in the element on pageload."
|
|
9756
|
+
type: "string"
|
|
9783
9757
|
},
|
|
9784
9758
|
vocab: { required: false, control: "text", type: "string" }
|
|
9785
9759
|
};
|
|
@@ -10155,6 +10129,7 @@ var propsAccordionItem = {
|
|
|
10155
10129
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
10156
10130
|
},
|
|
10157
10131
|
datatype: { required: false, control: "text", type: "string" },
|
|
10132
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
10158
10133
|
dir: {
|
|
10159
10134
|
required: false,
|
|
10160
10135
|
control: "text",
|
|
@@ -10666,6 +10641,7 @@ var propsAccordionHeader = {
|
|
|
10666
10641
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
10667
10642
|
},
|
|
10668
10643
|
datatype: { required: false, control: "text", type: "string" },
|
|
10644
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
10669
10645
|
dir: {
|
|
10670
10646
|
required: false,
|
|
10671
10647
|
control: "text",
|
|
@@ -11165,6 +11141,7 @@ var propsAccordionTrigger = {
|
|
|
11165
11141
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
11166
11142
|
},
|
|
11167
11143
|
datatype: { required: false, control: "text", type: "string" },
|
|
11144
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
11168
11145
|
dir: {
|
|
11169
11146
|
required: false,
|
|
11170
11147
|
control: "text",
|
|
@@ -11345,6 +11322,12 @@ var propsAccordionTrigger = {
|
|
|
11345
11322
|
type: "string",
|
|
11346
11323
|
options: ["on", "off"]
|
|
11347
11324
|
},
|
|
11325
|
+
value: {
|
|
11326
|
+
required: false,
|
|
11327
|
+
control: "text",
|
|
11328
|
+
type: "string",
|
|
11329
|
+
description: "Defines a default value which will be displayed in the element on pageload."
|
|
11330
|
+
},
|
|
11348
11331
|
vocab: { required: false, control: "text", type: "string" }
|
|
11349
11332
|
};
|
|
11350
11333
|
var propsAccordionContent = {
|
|
@@ -11719,6 +11702,7 @@ var propsAccordionContent = {
|
|
|
11719
11702
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
11720
11703
|
},
|
|
11721
11704
|
datatype: { required: false, control: "text", type: "string" },
|
|
11705
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
11722
11706
|
dir: {
|
|
11723
11707
|
required: false,
|
|
11724
11708
|
control: "text",
|
|
@@ -11935,23 +11919,9 @@ var metaAccordion = {
|
|
|
11935
11919
|
{
|
|
11936
11920
|
type: "instance",
|
|
11937
11921
|
component: "Accordion",
|
|
11938
|
-
variables: {
|
|
11939
|
-
accordionValue: { initialValue: "0" }
|
|
11940
|
-
},
|
|
11941
11922
|
props: [
|
|
11942
11923
|
{ type: "boolean", name: "collapsible", value: true },
|
|
11943
|
-
{ type: "
|
|
11944
|
-
{
|
|
11945
|
-
name: "onValueChange",
|
|
11946
|
-
type: "action",
|
|
11947
|
-
value: [
|
|
11948
|
-
{
|
|
11949
|
-
type: "execute",
|
|
11950
|
-
args: ["value"],
|
|
11951
|
-
code: `accordionValue = value`
|
|
11952
|
-
}
|
|
11953
|
-
]
|
|
11954
|
-
}
|
|
11924
|
+
{ type: "string", name: "defaultValue", value: "0" }
|
|
11955
11925
|
],
|
|
11956
11926
|
children: [
|
|
11957
11927
|
{
|
|
@@ -12457,6 +12427,7 @@ var propsNavigationMenu = {
|
|
|
12457
12427
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
12458
12428
|
},
|
|
12459
12429
|
datatype: { required: false, control: "text", type: "string" },
|
|
12430
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
12460
12431
|
delayDuration: {
|
|
12461
12432
|
description: "The duration from when the pointer enters the trigger until the tooltip gets opened.\n@defaultValue 200",
|
|
12462
12433
|
required: false,
|
|
@@ -12975,6 +12946,7 @@ var propsNavigationMenuList = {
|
|
|
12975
12946
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
12976
12947
|
},
|
|
12977
12948
|
datatype: { required: false, control: "text", type: "string" },
|
|
12949
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
12978
12950
|
dir: {
|
|
12979
12951
|
required: false,
|
|
12980
12952
|
control: "text",
|
|
@@ -13474,6 +13446,7 @@ var propsNavigationMenuViewport = {
|
|
|
13474
13446
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
13475
13447
|
},
|
|
13476
13448
|
datatype: { required: false, control: "text", type: "string" },
|
|
13449
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
13477
13450
|
dir: {
|
|
13478
13451
|
required: false,
|
|
13479
13452
|
control: "text",
|
|
@@ -13973,6 +13946,7 @@ var propsNavigationMenuContent = {
|
|
|
13973
13946
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
13974
13947
|
},
|
|
13975
13948
|
datatype: { required: false, control: "text", type: "string" },
|
|
13949
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
13976
13950
|
dir: {
|
|
13977
13951
|
required: false,
|
|
13978
13952
|
control: "text",
|
|
@@ -14478,6 +14452,7 @@ var propsNavigationMenuItem = {
|
|
|
14478
14452
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
14479
14453
|
},
|
|
14480
14454
|
datatype: { required: false, control: "text", type: "string" },
|
|
14455
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
14481
14456
|
dir: {
|
|
14482
14457
|
required: false,
|
|
14483
14458
|
control: "text",
|
|
@@ -14611,116 +14586,1223 @@ var propsNavigationMenuItem = {
|
|
|
14611
14586
|
},
|
|
14612
14587
|
vocab: { required: false, control: "text", type: "string" }
|
|
14613
14588
|
};
|
|
14614
|
-
var propsNavigationMenuLink = {
|
|
14615
|
-
|
|
14616
|
-
|
|
14617
|
-
|
|
14618
|
-
|
|
14619
|
-
|
|
14620
|
-
|
|
14621
|
-
var components = [
|
|
14622
|
-
{
|
|
14623
|
-
title: "Sheet",
|
|
14624
|
-
href: "/docs/components/sheet",
|
|
14625
|
-
description: "Extends the Dialog component to display content that complements the main content of the screen."
|
|
14589
|
+
var propsNavigationMenuLink = {
|
|
14590
|
+
about: { required: false, control: "text", type: "string" },
|
|
14591
|
+
accessKey: {
|
|
14592
|
+
required: false,
|
|
14593
|
+
control: "text",
|
|
14594
|
+
type: "string",
|
|
14595
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
14626
14596
|
},
|
|
14627
|
-
{
|
|
14628
|
-
|
|
14629
|
-
|
|
14630
|
-
|
|
14597
|
+
active: { required: false, control: "boolean", type: "boolean" },
|
|
14598
|
+
"aria-activedescendant": {
|
|
14599
|
+
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
14600
|
+
required: false,
|
|
14601
|
+
control: "text",
|
|
14602
|
+
type: "string"
|
|
14631
14603
|
},
|
|
14632
|
-
{
|
|
14633
|
-
|
|
14634
|
-
|
|
14635
|
-
|
|
14604
|
+
"aria-atomic": {
|
|
14605
|
+
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
|
|
14606
|
+
required: false,
|
|
14607
|
+
control: "boolean",
|
|
14608
|
+
type: "boolean"
|
|
14636
14609
|
},
|
|
14637
|
-
{
|
|
14638
|
-
|
|
14639
|
-
|
|
14640
|
-
|
|
14610
|
+
"aria-autocomplete": {
|
|
14611
|
+
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be\npresented if they are made.",
|
|
14612
|
+
required: false,
|
|
14613
|
+
control: "select",
|
|
14614
|
+
type: "string",
|
|
14615
|
+
options: ["list", "none", "inline", "both"]
|
|
14641
14616
|
},
|
|
14642
|
-
{
|
|
14643
|
-
|
|
14644
|
-
|
|
14645
|
-
|
|
14617
|
+
"aria-braillelabel": {
|
|
14618
|
+
description: "Defines a string value that labels the current element, which is intended to be converted into Braille.",
|
|
14619
|
+
required: false,
|
|
14620
|
+
control: "text",
|
|
14621
|
+
type: "string"
|
|
14646
14622
|
},
|
|
14647
|
-
{
|
|
14648
|
-
|
|
14649
|
-
|
|
14650
|
-
|
|
14623
|
+
"aria-brailleroledescription": {
|
|
14624
|
+
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.",
|
|
14625
|
+
required: false,
|
|
14626
|
+
control: "text",
|
|
14627
|
+
type: "string"
|
|
14651
14628
|
},
|
|
14652
|
-
{
|
|
14653
|
-
|
|
14654
|
-
|
|
14655
|
-
|
|
14629
|
+
"aria-busy": { required: false, control: "boolean", type: "boolean" },
|
|
14630
|
+
"aria-checked": {
|
|
14631
|
+
description: 'Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.',
|
|
14632
|
+
required: false,
|
|
14633
|
+
control: "text",
|
|
14634
|
+
type: "string"
|
|
14656
14635
|
},
|
|
14657
|
-
{
|
|
14658
|
-
|
|
14659
|
-
|
|
14660
|
-
|
|
14636
|
+
"aria-colcount": {
|
|
14637
|
+
description: "Defines the total number of columns in a table, grid, or treegrid.",
|
|
14638
|
+
required: false,
|
|
14639
|
+
control: "number",
|
|
14640
|
+
type: "number"
|
|
14661
14641
|
},
|
|
14662
|
-
{
|
|
14663
|
-
|
|
14664
|
-
|
|
14665
|
-
|
|
14666
|
-
|
|
14667
|
-
|
|
14668
|
-
|
|
14669
|
-
|
|
14670
|
-
|
|
14671
|
-
|
|
14672
|
-
|
|
14673
|
-
|
|
14674
|
-
|
|
14675
|
-
|
|
14676
|
-
|
|
14677
|
-
|
|
14678
|
-
|
|
14679
|
-
|
|
14680
|
-
|
|
14681
|
-
|
|
14682
|
-
|
|
14683
|
-
|
|
14684
|
-
|
|
14685
|
-
|
|
14686
|
-
|
|
14687
|
-
|
|
14688
|
-
|
|
14689
|
-
|
|
14690
|
-
|
|
14691
|
-
|
|
14692
|
-
|
|
14693
|
-
|
|
14694
|
-
|
|
14695
|
-
|
|
14696
|
-
|
|
14697
|
-
|
|
14698
|
-
|
|
14699
|
-
|
|
14700
|
-
|
|
14701
|
-
|
|
14702
|
-
|
|
14703
|
-
|
|
14704
|
-
|
|
14705
|
-
|
|
14706
|
-
|
|
14707
|
-
|
|
14708
|
-
|
|
14709
|
-
|
|
14710
|
-
|
|
14711
|
-
|
|
14712
|
-
|
|
14713
|
-
|
|
14714
|
-
|
|
14715
|
-
|
|
14716
|
-
|
|
14717
|
-
|
|
14718
|
-
|
|
14719
|
-
|
|
14720
|
-
|
|
14721
|
-
|
|
14722
|
-
|
|
14723
|
-
|
|
14642
|
+
"aria-colindex": {
|
|
14643
|
+
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.",
|
|
14644
|
+
required: false,
|
|
14645
|
+
control: "number",
|
|
14646
|
+
type: "number"
|
|
14647
|
+
},
|
|
14648
|
+
"aria-colindextext": {
|
|
14649
|
+
description: "Defines a human readable text alternative of aria-colindex.",
|
|
14650
|
+
required: false,
|
|
14651
|
+
control: "text",
|
|
14652
|
+
type: "string"
|
|
14653
|
+
},
|
|
14654
|
+
"aria-colspan": {
|
|
14655
|
+
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.",
|
|
14656
|
+
required: false,
|
|
14657
|
+
control: "number",
|
|
14658
|
+
type: "number"
|
|
14659
|
+
},
|
|
14660
|
+
"aria-controls": {
|
|
14661
|
+
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element.",
|
|
14662
|
+
required: false,
|
|
14663
|
+
control: "text",
|
|
14664
|
+
type: "string"
|
|
14665
|
+
},
|
|
14666
|
+
"aria-current": {
|
|
14667
|
+
description: "Indicates the element that represents the current item within a container or set of related elements.",
|
|
14668
|
+
required: false,
|
|
14669
|
+
control: "text",
|
|
14670
|
+
type: "string"
|
|
14671
|
+
},
|
|
14672
|
+
"aria-describedby": {
|
|
14673
|
+
description: "Identifies the element (or elements) that describes the object.",
|
|
14674
|
+
required: false,
|
|
14675
|
+
control: "text",
|
|
14676
|
+
type: "string"
|
|
14677
|
+
},
|
|
14678
|
+
"aria-description": {
|
|
14679
|
+
description: "Defines a string value that describes or annotates the current element.",
|
|
14680
|
+
required: false,
|
|
14681
|
+
control: "text",
|
|
14682
|
+
type: "string"
|
|
14683
|
+
},
|
|
14684
|
+
"aria-details": {
|
|
14685
|
+
description: "Identifies the element that provides a detailed, extended description for the object.",
|
|
14686
|
+
required: false,
|
|
14687
|
+
control: "text",
|
|
14688
|
+
type: "string"
|
|
14689
|
+
},
|
|
14690
|
+
"aria-disabled": {
|
|
14691
|
+
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.",
|
|
14692
|
+
required: false,
|
|
14693
|
+
control: "boolean",
|
|
14694
|
+
type: "boolean"
|
|
14695
|
+
},
|
|
14696
|
+
"aria-dropeffect": {
|
|
14697
|
+
description: "Indicates what functions can be performed when a dragged object is released on the drop target.",
|
|
14698
|
+
required: false,
|
|
14699
|
+
control: "select",
|
|
14700
|
+
type: "string",
|
|
14701
|
+
options: ["link", "none", "copy", "execute", "move", "popup"]
|
|
14702
|
+
},
|
|
14703
|
+
"aria-errormessage": {
|
|
14704
|
+
description: "Identifies the element that provides an error message for the object.",
|
|
14705
|
+
required: false,
|
|
14706
|
+
control: "text",
|
|
14707
|
+
type: "string"
|
|
14708
|
+
},
|
|
14709
|
+
"aria-expanded": {
|
|
14710
|
+
description: "Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.",
|
|
14711
|
+
required: false,
|
|
14712
|
+
control: "boolean",
|
|
14713
|
+
type: "boolean"
|
|
14714
|
+
},
|
|
14715
|
+
"aria-flowto": {
|
|
14716
|
+
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,\nallows assistive technology to override the general default of reading in document source order.",
|
|
14717
|
+
required: false,
|
|
14718
|
+
control: "text",
|
|
14719
|
+
type: "string"
|
|
14720
|
+
},
|
|
14721
|
+
"aria-grabbed": {
|
|
14722
|
+
description: `Indicates an element's "grabbed" state in a drag-and-drop operation.`,
|
|
14723
|
+
required: false,
|
|
14724
|
+
control: "boolean",
|
|
14725
|
+
type: "boolean"
|
|
14726
|
+
},
|
|
14727
|
+
"aria-haspopup": {
|
|
14728
|
+
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
|
|
14729
|
+
required: false,
|
|
14730
|
+
control: "text",
|
|
14731
|
+
type: "string"
|
|
14732
|
+
},
|
|
14733
|
+
"aria-hidden": {
|
|
14734
|
+
description: "Indicates whether the element is exposed to an accessibility API.",
|
|
14735
|
+
required: false,
|
|
14736
|
+
control: "boolean",
|
|
14737
|
+
type: "boolean"
|
|
14738
|
+
},
|
|
14739
|
+
"aria-invalid": {
|
|
14740
|
+
description: "Indicates the entered value does not conform to the format expected by the application.",
|
|
14741
|
+
required: false,
|
|
14742
|
+
control: "text",
|
|
14743
|
+
type: "string"
|
|
14744
|
+
},
|
|
14745
|
+
"aria-keyshortcuts": {
|
|
14746
|
+
description: "Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.",
|
|
14747
|
+
required: false,
|
|
14748
|
+
control: "text",
|
|
14749
|
+
type: "string"
|
|
14750
|
+
},
|
|
14751
|
+
"aria-label": {
|
|
14752
|
+
description: "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
|
|
14753
|
+
required: false,
|
|
14754
|
+
control: "text",
|
|
14755
|
+
type: "string"
|
|
14756
|
+
},
|
|
14757
|
+
"aria-labelledby": {
|
|
14758
|
+
description: "Identifies the element (or elements) that labels the current element.",
|
|
14759
|
+
required: false,
|
|
14760
|
+
control: "text",
|
|
14761
|
+
type: "string"
|
|
14762
|
+
},
|
|
14763
|
+
"aria-level": {
|
|
14764
|
+
description: "Defines the hierarchical level of an element within a structure.",
|
|
14765
|
+
required: false,
|
|
14766
|
+
control: "number",
|
|
14767
|
+
type: "number"
|
|
14768
|
+
},
|
|
14769
|
+
"aria-live": {
|
|
14770
|
+
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
|
|
14771
|
+
required: false,
|
|
14772
|
+
control: "radio",
|
|
14773
|
+
type: "string",
|
|
14774
|
+
options: ["off", "assertive", "polite"]
|
|
14775
|
+
},
|
|
14776
|
+
"aria-modal": {
|
|
14777
|
+
description: "Indicates whether an element is modal when displayed.",
|
|
14778
|
+
required: false,
|
|
14779
|
+
control: "boolean",
|
|
14780
|
+
type: "boolean"
|
|
14781
|
+
},
|
|
14782
|
+
"aria-multiline": {
|
|
14783
|
+
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
|
|
14784
|
+
required: false,
|
|
14785
|
+
control: "boolean",
|
|
14786
|
+
type: "boolean"
|
|
14787
|
+
},
|
|
14788
|
+
"aria-multiselectable": {
|
|
14789
|
+
description: "Indicates that the user may select more than one item from the current selectable descendants.",
|
|
14790
|
+
required: false,
|
|
14791
|
+
control: "boolean",
|
|
14792
|
+
type: "boolean"
|
|
14793
|
+
},
|
|
14794
|
+
"aria-orientation": {
|
|
14795
|
+
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
|
|
14796
|
+
required: false,
|
|
14797
|
+
control: "radio",
|
|
14798
|
+
type: "string",
|
|
14799
|
+
options: ["horizontal", "vertical"]
|
|
14800
|
+
},
|
|
14801
|
+
"aria-owns": {
|
|
14802
|
+
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship\nbetween DOM elements where the DOM hierarchy cannot be used to represent the relationship.",
|
|
14803
|
+
required: false,
|
|
14804
|
+
control: "text",
|
|
14805
|
+
type: "string"
|
|
14806
|
+
},
|
|
14807
|
+
"aria-placeholder": {
|
|
14808
|
+
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.\nA hint could be a sample value or a brief description of the expected format.",
|
|
14809
|
+
required: false,
|
|
14810
|
+
control: "text",
|
|
14811
|
+
type: "string"
|
|
14812
|
+
},
|
|
14813
|
+
"aria-posinset": {
|
|
14814
|
+
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.",
|
|
14815
|
+
required: false,
|
|
14816
|
+
control: "number",
|
|
14817
|
+
type: "number"
|
|
14818
|
+
},
|
|
14819
|
+
"aria-pressed": {
|
|
14820
|
+
description: 'Indicates the current "pressed" state of toggle buttons.',
|
|
14821
|
+
required: false,
|
|
14822
|
+
control: "text",
|
|
14823
|
+
type: "string"
|
|
14824
|
+
},
|
|
14825
|
+
"aria-readonly": {
|
|
14826
|
+
description: "Indicates that the element is not editable, but is otherwise operable.",
|
|
14827
|
+
required: false,
|
|
14828
|
+
control: "boolean",
|
|
14829
|
+
type: "boolean"
|
|
14830
|
+
},
|
|
14831
|
+
"aria-relevant": {
|
|
14832
|
+
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.",
|
|
14833
|
+
required: false,
|
|
14834
|
+
control: "select",
|
|
14835
|
+
type: "string",
|
|
14836
|
+
options: [
|
|
14837
|
+
"text",
|
|
14838
|
+
"additions",
|
|
14839
|
+
"additions removals",
|
|
14840
|
+
"additions text",
|
|
14841
|
+
"all",
|
|
14842
|
+
"removals",
|
|
14843
|
+
"removals additions",
|
|
14844
|
+
"removals text",
|
|
14845
|
+
"text additions",
|
|
14846
|
+
"text removals"
|
|
14847
|
+
]
|
|
14848
|
+
},
|
|
14849
|
+
"aria-required": {
|
|
14850
|
+
description: "Indicates that user input is required on the element before a form may be submitted.",
|
|
14851
|
+
required: false,
|
|
14852
|
+
control: "boolean",
|
|
14853
|
+
type: "boolean"
|
|
14854
|
+
},
|
|
14855
|
+
"aria-roledescription": {
|
|
14856
|
+
description: "Defines a human-readable, author-localized description for the role of an element.",
|
|
14857
|
+
required: false,
|
|
14858
|
+
control: "text",
|
|
14859
|
+
type: "string"
|
|
14860
|
+
},
|
|
14861
|
+
"aria-rowcount": {
|
|
14862
|
+
description: "Defines the total number of rows in a table, grid, or treegrid.",
|
|
14863
|
+
required: false,
|
|
14864
|
+
control: "number",
|
|
14865
|
+
type: "number"
|
|
14866
|
+
},
|
|
14867
|
+
"aria-rowindex": {
|
|
14868
|
+
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.",
|
|
14869
|
+
required: false,
|
|
14870
|
+
control: "number",
|
|
14871
|
+
type: "number"
|
|
14872
|
+
},
|
|
14873
|
+
"aria-rowindextext": {
|
|
14874
|
+
description: "Defines a human readable text alternative of aria-rowindex.",
|
|
14875
|
+
required: false,
|
|
14876
|
+
control: "text",
|
|
14877
|
+
type: "string"
|
|
14878
|
+
},
|
|
14879
|
+
"aria-rowspan": {
|
|
14880
|
+
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.",
|
|
14881
|
+
required: false,
|
|
14882
|
+
control: "number",
|
|
14883
|
+
type: "number"
|
|
14884
|
+
},
|
|
14885
|
+
"aria-selected": {
|
|
14886
|
+
description: 'Indicates the current "selected" state of various widgets.',
|
|
14887
|
+
required: false,
|
|
14888
|
+
control: "boolean",
|
|
14889
|
+
type: "boolean"
|
|
14890
|
+
},
|
|
14891
|
+
"aria-setsize": {
|
|
14892
|
+
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.",
|
|
14893
|
+
required: false,
|
|
14894
|
+
control: "number",
|
|
14895
|
+
type: "number"
|
|
14896
|
+
},
|
|
14897
|
+
"aria-sort": {
|
|
14898
|
+
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
|
|
14899
|
+
required: false,
|
|
14900
|
+
control: "select",
|
|
14901
|
+
type: "string",
|
|
14902
|
+
options: ["none", "ascending", "descending", "other"]
|
|
14903
|
+
},
|
|
14904
|
+
"aria-valuemax": {
|
|
14905
|
+
description: "Defines the maximum allowed value for a range widget.",
|
|
14906
|
+
required: false,
|
|
14907
|
+
control: "number",
|
|
14908
|
+
type: "number"
|
|
14909
|
+
},
|
|
14910
|
+
"aria-valuemin": {
|
|
14911
|
+
description: "Defines the minimum allowed value for a range widget.",
|
|
14912
|
+
required: false,
|
|
14913
|
+
control: "number",
|
|
14914
|
+
type: "number"
|
|
14915
|
+
},
|
|
14916
|
+
"aria-valuenow": {
|
|
14917
|
+
description: "Defines the current value for a range widget.",
|
|
14918
|
+
required: false,
|
|
14919
|
+
control: "number",
|
|
14920
|
+
type: "number"
|
|
14921
|
+
},
|
|
14922
|
+
"aria-valuetext": {
|
|
14923
|
+
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
|
|
14924
|
+
required: false,
|
|
14925
|
+
control: "text",
|
|
14926
|
+
type: "string"
|
|
14927
|
+
},
|
|
14928
|
+
autoCapitalize: {
|
|
14929
|
+
required: false,
|
|
14930
|
+
control: "text",
|
|
14931
|
+
type: "string",
|
|
14932
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
14933
|
+
},
|
|
14934
|
+
autoCorrect: { required: false, control: "text", type: "string" },
|
|
14935
|
+
autoFocus: {
|
|
14936
|
+
required: false,
|
|
14937
|
+
control: "boolean",
|
|
14938
|
+
type: "boolean",
|
|
14939
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
14940
|
+
},
|
|
14941
|
+
autoSave: { required: false, control: "text", type: "string" },
|
|
14942
|
+
className: { required: false, control: "text", type: "string" },
|
|
14943
|
+
color: {
|
|
14944
|
+
required: false,
|
|
14945
|
+
control: "color",
|
|
14946
|
+
type: "string",
|
|
14947
|
+
description: "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead."
|
|
14948
|
+
},
|
|
14949
|
+
content: {
|
|
14950
|
+
required: false,
|
|
14951
|
+
control: "text",
|
|
14952
|
+
type: "string",
|
|
14953
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
14954
|
+
},
|
|
14955
|
+
contextMenu: {
|
|
14956
|
+
required: false,
|
|
14957
|
+
control: "text",
|
|
14958
|
+
type: "string",
|
|
14959
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
14960
|
+
},
|
|
14961
|
+
datatype: { required: false, control: "text", type: "string" },
|
|
14962
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
14963
|
+
dir: {
|
|
14964
|
+
required: false,
|
|
14965
|
+
control: "text",
|
|
14966
|
+
type: "string",
|
|
14967
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
14968
|
+
},
|
|
14969
|
+
draggable: {
|
|
14970
|
+
required: false,
|
|
14971
|
+
control: "boolean",
|
|
14972
|
+
type: "boolean",
|
|
14973
|
+
description: "Defines whether the element can be dragged."
|
|
14974
|
+
},
|
|
14975
|
+
hidden: {
|
|
14976
|
+
required: false,
|
|
14977
|
+
control: "boolean",
|
|
14978
|
+
type: "boolean",
|
|
14979
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
14980
|
+
},
|
|
14981
|
+
href: {
|
|
14982
|
+
required: false,
|
|
14983
|
+
control: "text",
|
|
14984
|
+
type: "string",
|
|
14985
|
+
description: "The URL of a linked resource."
|
|
14986
|
+
},
|
|
14987
|
+
hrefLang: {
|
|
14988
|
+
required: false,
|
|
14989
|
+
control: "text",
|
|
14990
|
+
type: "string",
|
|
14991
|
+
description: "Specifies the language of the linked resource."
|
|
14992
|
+
},
|
|
14993
|
+
id: {
|
|
14994
|
+
required: false,
|
|
14995
|
+
control: "text",
|
|
14996
|
+
type: "string",
|
|
14997
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
14998
|
+
},
|
|
14999
|
+
inputMode: {
|
|
15000
|
+
description: "Hints at the type of data that might be entered by the user while editing the element or its contents",
|
|
15001
|
+
required: false,
|
|
15002
|
+
control: "select",
|
|
15003
|
+
type: "string",
|
|
15004
|
+
options: [
|
|
15005
|
+
"search",
|
|
15006
|
+
"text",
|
|
15007
|
+
"none",
|
|
15008
|
+
"tel",
|
|
15009
|
+
"url",
|
|
15010
|
+
"email",
|
|
15011
|
+
"numeric",
|
|
15012
|
+
"decimal"
|
|
15013
|
+
]
|
|
15014
|
+
},
|
|
15015
|
+
is: {
|
|
15016
|
+
description: "Specify that a standard HTML element should behave like a defined custom built-in element",
|
|
15017
|
+
required: false,
|
|
15018
|
+
control: "text",
|
|
15019
|
+
type: "string"
|
|
15020
|
+
},
|
|
15021
|
+
itemID: { required: false, control: "text", type: "string" },
|
|
15022
|
+
itemProp: { required: false, control: "text", type: "string" },
|
|
15023
|
+
itemRef: { required: false, control: "text", type: "string" },
|
|
15024
|
+
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
15025
|
+
itemType: { required: false, control: "text", type: "string" },
|
|
15026
|
+
lang: {
|
|
15027
|
+
required: false,
|
|
15028
|
+
control: "text",
|
|
15029
|
+
type: "string",
|
|
15030
|
+
description: "Defines the language used in the element."
|
|
15031
|
+
},
|
|
15032
|
+
media: {
|
|
15033
|
+
required: false,
|
|
15034
|
+
control: "text",
|
|
15035
|
+
type: "string",
|
|
15036
|
+
description: "Specifies a hint of the media for which the linked resource was designed."
|
|
15037
|
+
},
|
|
15038
|
+
nonce: { required: false, control: "text", type: "string" },
|
|
15039
|
+
ping: {
|
|
15040
|
+
required: false,
|
|
15041
|
+
control: "text",
|
|
15042
|
+
type: "string",
|
|
15043
|
+
description: "The ping attribute specifies a space-separated list of URLs to be notified if a user follows the hyperlink."
|
|
15044
|
+
},
|
|
15045
|
+
prefix: { required: false, control: "text", type: "string" },
|
|
15046
|
+
property: { required: false, control: "text", type: "string" },
|
|
15047
|
+
radioGroup: { required: false, control: "text", type: "string" },
|
|
15048
|
+
referrerPolicy: {
|
|
15049
|
+
required: false,
|
|
15050
|
+
control: "select",
|
|
15051
|
+
type: "string",
|
|
15052
|
+
options: [
|
|
15053
|
+
"",
|
|
15054
|
+
"no-referrer",
|
|
15055
|
+
"no-referrer-when-downgrade",
|
|
15056
|
+
"origin",
|
|
15057
|
+
"origin-when-cross-origin",
|
|
15058
|
+
"same-origin",
|
|
15059
|
+
"strict-origin",
|
|
15060
|
+
"strict-origin-when-cross-origin",
|
|
15061
|
+
"unsafe-url"
|
|
15062
|
+
],
|
|
15063
|
+
description: "Specifies which referrer is sent when fetching the resource."
|
|
15064
|
+
},
|
|
15065
|
+
rel: {
|
|
15066
|
+
required: false,
|
|
15067
|
+
control: "text",
|
|
15068
|
+
type: "string",
|
|
15069
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
15070
|
+
},
|
|
15071
|
+
resource: { required: false, control: "text", type: "string" },
|
|
15072
|
+
results: { required: false, control: "number", type: "number" },
|
|
15073
|
+
rev: { required: false, control: "text", type: "string" },
|
|
15074
|
+
role: {
|
|
15075
|
+
required: false,
|
|
15076
|
+
control: "text",
|
|
15077
|
+
type: "string",
|
|
15078
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
15079
|
+
},
|
|
15080
|
+
security: { required: false, control: "text", type: "string" },
|
|
15081
|
+
slot: {
|
|
15082
|
+
required: false,
|
|
15083
|
+
control: "text",
|
|
15084
|
+
type: "string",
|
|
15085
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
15086
|
+
},
|
|
15087
|
+
spellCheck: {
|
|
15088
|
+
required: false,
|
|
15089
|
+
control: "boolean",
|
|
15090
|
+
type: "boolean",
|
|
15091
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
15092
|
+
},
|
|
15093
|
+
suppressContentEditableWarning: {
|
|
15094
|
+
required: false,
|
|
15095
|
+
control: "boolean",
|
|
15096
|
+
type: "boolean"
|
|
15097
|
+
},
|
|
15098
|
+
suppressHydrationWarning: {
|
|
15099
|
+
required: false,
|
|
15100
|
+
control: "boolean",
|
|
15101
|
+
type: "boolean"
|
|
15102
|
+
},
|
|
15103
|
+
tabIndex: {
|
|
15104
|
+
required: false,
|
|
15105
|
+
control: "number",
|
|
15106
|
+
type: "number",
|
|
15107
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
15108
|
+
},
|
|
15109
|
+
title: {
|
|
15110
|
+
required: false,
|
|
15111
|
+
control: "text",
|
|
15112
|
+
type: "string",
|
|
15113
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
15114
|
+
},
|
|
15115
|
+
translate: {
|
|
15116
|
+
required: false,
|
|
15117
|
+
control: "radio",
|
|
15118
|
+
type: "string",
|
|
15119
|
+
options: ["yes", "no"],
|
|
15120
|
+
description: "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged."
|
|
15121
|
+
},
|
|
15122
|
+
type: {
|
|
15123
|
+
required: false,
|
|
15124
|
+
control: "text",
|
|
15125
|
+
type: "string",
|
|
15126
|
+
description: "Defines the type of the element."
|
|
15127
|
+
},
|
|
15128
|
+
typeof: { required: false, control: "text", type: "string" },
|
|
15129
|
+
unselectable: {
|
|
15130
|
+
required: false,
|
|
15131
|
+
control: "radio",
|
|
15132
|
+
type: "string",
|
|
15133
|
+
options: ["on", "off"]
|
|
15134
|
+
},
|
|
15135
|
+
vocab: { required: false, control: "text", type: "string" }
|
|
15136
|
+
};
|
|
15137
|
+
var propsNavigationMenuTrigger = {
|
|
15138
|
+
about: { required: false, control: "text", type: "string" },
|
|
15139
|
+
accessKey: {
|
|
15140
|
+
required: false,
|
|
15141
|
+
control: "text",
|
|
15142
|
+
type: "string",
|
|
15143
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
15144
|
+
},
|
|
15145
|
+
"aria-activedescendant": {
|
|
15146
|
+
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
15147
|
+
required: false,
|
|
15148
|
+
control: "text",
|
|
15149
|
+
type: "string"
|
|
15150
|
+
},
|
|
15151
|
+
"aria-atomic": {
|
|
15152
|
+
description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
|
|
15153
|
+
required: false,
|
|
15154
|
+
control: "boolean",
|
|
15155
|
+
type: "boolean"
|
|
15156
|
+
},
|
|
15157
|
+
"aria-autocomplete": {
|
|
15158
|
+
description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be\npresented if they are made.",
|
|
15159
|
+
required: false,
|
|
15160
|
+
control: "select",
|
|
15161
|
+
type: "string",
|
|
15162
|
+
options: ["list", "none", "inline", "both"]
|
|
15163
|
+
},
|
|
15164
|
+
"aria-braillelabel": {
|
|
15165
|
+
description: "Defines a string value that labels the current element, which is intended to be converted into Braille.",
|
|
15166
|
+
required: false,
|
|
15167
|
+
control: "text",
|
|
15168
|
+
type: "string"
|
|
15169
|
+
},
|
|
15170
|
+
"aria-brailleroledescription": {
|
|
15171
|
+
description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.",
|
|
15172
|
+
required: false,
|
|
15173
|
+
control: "text",
|
|
15174
|
+
type: "string"
|
|
15175
|
+
},
|
|
15176
|
+
"aria-busy": { required: false, control: "boolean", type: "boolean" },
|
|
15177
|
+
"aria-checked": {
|
|
15178
|
+
description: 'Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.',
|
|
15179
|
+
required: false,
|
|
15180
|
+
control: "text",
|
|
15181
|
+
type: "string"
|
|
15182
|
+
},
|
|
15183
|
+
"aria-colcount": {
|
|
15184
|
+
description: "Defines the total number of columns in a table, grid, or treegrid.",
|
|
15185
|
+
required: false,
|
|
15186
|
+
control: "number",
|
|
15187
|
+
type: "number"
|
|
15188
|
+
},
|
|
15189
|
+
"aria-colindex": {
|
|
15190
|
+
description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.",
|
|
15191
|
+
required: false,
|
|
15192
|
+
control: "number",
|
|
15193
|
+
type: "number"
|
|
15194
|
+
},
|
|
15195
|
+
"aria-colindextext": {
|
|
15196
|
+
description: "Defines a human readable text alternative of aria-colindex.",
|
|
15197
|
+
required: false,
|
|
15198
|
+
control: "text",
|
|
15199
|
+
type: "string"
|
|
15200
|
+
},
|
|
15201
|
+
"aria-colspan": {
|
|
15202
|
+
description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.",
|
|
15203
|
+
required: false,
|
|
15204
|
+
control: "number",
|
|
15205
|
+
type: "number"
|
|
15206
|
+
},
|
|
15207
|
+
"aria-controls": {
|
|
15208
|
+
description: "Identifies the element (or elements) whose contents or presence are controlled by the current element.",
|
|
15209
|
+
required: false,
|
|
15210
|
+
control: "text",
|
|
15211
|
+
type: "string"
|
|
15212
|
+
},
|
|
15213
|
+
"aria-current": {
|
|
15214
|
+
description: "Indicates the element that represents the current item within a container or set of related elements.",
|
|
15215
|
+
required: false,
|
|
15216
|
+
control: "text",
|
|
15217
|
+
type: "string"
|
|
15218
|
+
},
|
|
15219
|
+
"aria-describedby": {
|
|
15220
|
+
description: "Identifies the element (or elements) that describes the object.",
|
|
15221
|
+
required: false,
|
|
15222
|
+
control: "text",
|
|
15223
|
+
type: "string"
|
|
15224
|
+
},
|
|
15225
|
+
"aria-description": {
|
|
15226
|
+
description: "Defines a string value that describes or annotates the current element.",
|
|
15227
|
+
required: false,
|
|
15228
|
+
control: "text",
|
|
15229
|
+
type: "string"
|
|
15230
|
+
},
|
|
15231
|
+
"aria-details": {
|
|
15232
|
+
description: "Identifies the element that provides a detailed, extended description for the object.",
|
|
15233
|
+
required: false,
|
|
15234
|
+
control: "text",
|
|
15235
|
+
type: "string"
|
|
15236
|
+
},
|
|
15237
|
+
"aria-disabled": {
|
|
15238
|
+
description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.",
|
|
15239
|
+
required: false,
|
|
15240
|
+
control: "boolean",
|
|
15241
|
+
type: "boolean"
|
|
15242
|
+
},
|
|
15243
|
+
"aria-dropeffect": {
|
|
15244
|
+
description: "Indicates what functions can be performed when a dragged object is released on the drop target.",
|
|
15245
|
+
required: false,
|
|
15246
|
+
control: "select",
|
|
15247
|
+
type: "string",
|
|
15248
|
+
options: ["link", "none", "copy", "execute", "move", "popup"]
|
|
15249
|
+
},
|
|
15250
|
+
"aria-errormessage": {
|
|
15251
|
+
description: "Identifies the element that provides an error message for the object.",
|
|
15252
|
+
required: false,
|
|
15253
|
+
control: "text",
|
|
15254
|
+
type: "string"
|
|
15255
|
+
},
|
|
15256
|
+
"aria-expanded": {
|
|
15257
|
+
description: "Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.",
|
|
15258
|
+
required: false,
|
|
15259
|
+
control: "boolean",
|
|
15260
|
+
type: "boolean"
|
|
15261
|
+
},
|
|
15262
|
+
"aria-flowto": {
|
|
15263
|
+
description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,\nallows assistive technology to override the general default of reading in document source order.",
|
|
15264
|
+
required: false,
|
|
15265
|
+
control: "text",
|
|
15266
|
+
type: "string"
|
|
15267
|
+
},
|
|
15268
|
+
"aria-grabbed": {
|
|
15269
|
+
description: `Indicates an element's "grabbed" state in a drag-and-drop operation.`,
|
|
15270
|
+
required: false,
|
|
15271
|
+
control: "boolean",
|
|
15272
|
+
type: "boolean"
|
|
15273
|
+
},
|
|
15274
|
+
"aria-haspopup": {
|
|
15275
|
+
description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
|
|
15276
|
+
required: false,
|
|
15277
|
+
control: "text",
|
|
15278
|
+
type: "string"
|
|
15279
|
+
},
|
|
15280
|
+
"aria-hidden": {
|
|
15281
|
+
description: "Indicates whether the element is exposed to an accessibility API.",
|
|
15282
|
+
required: false,
|
|
15283
|
+
control: "boolean",
|
|
15284
|
+
type: "boolean"
|
|
15285
|
+
},
|
|
15286
|
+
"aria-invalid": {
|
|
15287
|
+
description: "Indicates the entered value does not conform to the format expected by the application.",
|
|
15288
|
+
required: false,
|
|
15289
|
+
control: "text",
|
|
15290
|
+
type: "string"
|
|
15291
|
+
},
|
|
15292
|
+
"aria-keyshortcuts": {
|
|
15293
|
+
description: "Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.",
|
|
15294
|
+
required: false,
|
|
15295
|
+
control: "text",
|
|
15296
|
+
type: "string"
|
|
15297
|
+
},
|
|
15298
|
+
"aria-label": {
|
|
15299
|
+
description: "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
|
|
15300
|
+
required: false,
|
|
15301
|
+
control: "text",
|
|
15302
|
+
type: "string"
|
|
15303
|
+
},
|
|
15304
|
+
"aria-labelledby": {
|
|
15305
|
+
description: "Identifies the element (or elements) that labels the current element.",
|
|
15306
|
+
required: false,
|
|
15307
|
+
control: "text",
|
|
15308
|
+
type: "string"
|
|
15309
|
+
},
|
|
15310
|
+
"aria-level": {
|
|
15311
|
+
description: "Defines the hierarchical level of an element within a structure.",
|
|
15312
|
+
required: false,
|
|
15313
|
+
control: "number",
|
|
15314
|
+
type: "number"
|
|
15315
|
+
},
|
|
15316
|
+
"aria-live": {
|
|
15317
|
+
description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
|
|
15318
|
+
required: false,
|
|
15319
|
+
control: "radio",
|
|
15320
|
+
type: "string",
|
|
15321
|
+
options: ["off", "assertive", "polite"]
|
|
15322
|
+
},
|
|
15323
|
+
"aria-modal": {
|
|
15324
|
+
description: "Indicates whether an element is modal when displayed.",
|
|
15325
|
+
required: false,
|
|
15326
|
+
control: "boolean",
|
|
15327
|
+
type: "boolean"
|
|
15328
|
+
},
|
|
15329
|
+
"aria-multiline": {
|
|
15330
|
+
description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
|
|
15331
|
+
required: false,
|
|
15332
|
+
control: "boolean",
|
|
15333
|
+
type: "boolean"
|
|
15334
|
+
},
|
|
15335
|
+
"aria-multiselectable": {
|
|
15336
|
+
description: "Indicates that the user may select more than one item from the current selectable descendants.",
|
|
15337
|
+
required: false,
|
|
15338
|
+
control: "boolean",
|
|
15339
|
+
type: "boolean"
|
|
15340
|
+
},
|
|
15341
|
+
"aria-orientation": {
|
|
15342
|
+
description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
|
|
15343
|
+
required: false,
|
|
15344
|
+
control: "radio",
|
|
15345
|
+
type: "string",
|
|
15346
|
+
options: ["horizontal", "vertical"]
|
|
15347
|
+
},
|
|
15348
|
+
"aria-owns": {
|
|
15349
|
+
description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship\nbetween DOM elements where the DOM hierarchy cannot be used to represent the relationship.",
|
|
15350
|
+
required: false,
|
|
15351
|
+
control: "text",
|
|
15352
|
+
type: "string"
|
|
15353
|
+
},
|
|
15354
|
+
"aria-placeholder": {
|
|
15355
|
+
description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.\nA hint could be a sample value or a brief description of the expected format.",
|
|
15356
|
+
required: false,
|
|
15357
|
+
control: "text",
|
|
15358
|
+
type: "string"
|
|
15359
|
+
},
|
|
15360
|
+
"aria-posinset": {
|
|
15361
|
+
description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.",
|
|
15362
|
+
required: false,
|
|
15363
|
+
control: "number",
|
|
15364
|
+
type: "number"
|
|
15365
|
+
},
|
|
15366
|
+
"aria-pressed": {
|
|
15367
|
+
description: 'Indicates the current "pressed" state of toggle buttons.',
|
|
15368
|
+
required: false,
|
|
15369
|
+
control: "text",
|
|
15370
|
+
type: "string"
|
|
15371
|
+
},
|
|
15372
|
+
"aria-readonly": {
|
|
15373
|
+
description: "Indicates that the element is not editable, but is otherwise operable.",
|
|
15374
|
+
required: false,
|
|
15375
|
+
control: "boolean",
|
|
15376
|
+
type: "boolean"
|
|
15377
|
+
},
|
|
15378
|
+
"aria-relevant": {
|
|
15379
|
+
description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.",
|
|
15380
|
+
required: false,
|
|
15381
|
+
control: "select",
|
|
15382
|
+
type: "string",
|
|
15383
|
+
options: [
|
|
15384
|
+
"text",
|
|
15385
|
+
"additions",
|
|
15386
|
+
"additions removals",
|
|
15387
|
+
"additions text",
|
|
15388
|
+
"all",
|
|
15389
|
+
"removals",
|
|
15390
|
+
"removals additions",
|
|
15391
|
+
"removals text",
|
|
15392
|
+
"text additions",
|
|
15393
|
+
"text removals"
|
|
15394
|
+
]
|
|
15395
|
+
},
|
|
15396
|
+
"aria-required": {
|
|
15397
|
+
description: "Indicates that user input is required on the element before a form may be submitted.",
|
|
15398
|
+
required: false,
|
|
15399
|
+
control: "boolean",
|
|
15400
|
+
type: "boolean"
|
|
15401
|
+
},
|
|
15402
|
+
"aria-roledescription": {
|
|
15403
|
+
description: "Defines a human-readable, author-localized description for the role of an element.",
|
|
15404
|
+
required: false,
|
|
15405
|
+
control: "text",
|
|
15406
|
+
type: "string"
|
|
15407
|
+
},
|
|
15408
|
+
"aria-rowcount": {
|
|
15409
|
+
description: "Defines the total number of rows in a table, grid, or treegrid.",
|
|
15410
|
+
required: false,
|
|
15411
|
+
control: "number",
|
|
15412
|
+
type: "number"
|
|
15413
|
+
},
|
|
15414
|
+
"aria-rowindex": {
|
|
15415
|
+
description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.",
|
|
15416
|
+
required: false,
|
|
15417
|
+
control: "number",
|
|
15418
|
+
type: "number"
|
|
15419
|
+
},
|
|
15420
|
+
"aria-rowindextext": {
|
|
15421
|
+
description: "Defines a human readable text alternative of aria-rowindex.",
|
|
15422
|
+
required: false,
|
|
15423
|
+
control: "text",
|
|
15424
|
+
type: "string"
|
|
15425
|
+
},
|
|
15426
|
+
"aria-rowspan": {
|
|
15427
|
+
description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.",
|
|
15428
|
+
required: false,
|
|
15429
|
+
control: "number",
|
|
15430
|
+
type: "number"
|
|
15431
|
+
},
|
|
15432
|
+
"aria-selected": {
|
|
15433
|
+
description: 'Indicates the current "selected" state of various widgets.',
|
|
15434
|
+
required: false,
|
|
15435
|
+
control: "boolean",
|
|
15436
|
+
type: "boolean"
|
|
15437
|
+
},
|
|
15438
|
+
"aria-setsize": {
|
|
15439
|
+
description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.",
|
|
15440
|
+
required: false,
|
|
15441
|
+
control: "number",
|
|
15442
|
+
type: "number"
|
|
15443
|
+
},
|
|
15444
|
+
"aria-sort": {
|
|
15445
|
+
description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
|
|
15446
|
+
required: false,
|
|
15447
|
+
control: "select",
|
|
15448
|
+
type: "string",
|
|
15449
|
+
options: ["none", "ascending", "descending", "other"]
|
|
15450
|
+
},
|
|
15451
|
+
"aria-valuemax": {
|
|
15452
|
+
description: "Defines the maximum allowed value for a range widget.",
|
|
15453
|
+
required: false,
|
|
15454
|
+
control: "number",
|
|
15455
|
+
type: "number"
|
|
15456
|
+
},
|
|
15457
|
+
"aria-valuemin": {
|
|
15458
|
+
description: "Defines the minimum allowed value for a range widget.",
|
|
15459
|
+
required: false,
|
|
15460
|
+
control: "number",
|
|
15461
|
+
type: "number"
|
|
15462
|
+
},
|
|
15463
|
+
"aria-valuenow": {
|
|
15464
|
+
description: "Defines the current value for a range widget.",
|
|
15465
|
+
required: false,
|
|
15466
|
+
control: "number",
|
|
15467
|
+
type: "number"
|
|
15468
|
+
},
|
|
15469
|
+
"aria-valuetext": {
|
|
15470
|
+
description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
|
|
15471
|
+
required: false,
|
|
15472
|
+
control: "text",
|
|
15473
|
+
type: "string"
|
|
15474
|
+
},
|
|
15475
|
+
autoCapitalize: {
|
|
15476
|
+
required: false,
|
|
15477
|
+
control: "text",
|
|
15478
|
+
type: "string",
|
|
15479
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
15480
|
+
},
|
|
15481
|
+
autoCorrect: { required: false, control: "text", type: "string" },
|
|
15482
|
+
autoFocus: {
|
|
15483
|
+
required: false,
|
|
15484
|
+
control: "boolean",
|
|
15485
|
+
type: "boolean",
|
|
15486
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
15487
|
+
},
|
|
15488
|
+
autoSave: { required: false, control: "text", type: "string" },
|
|
15489
|
+
className: { required: false, control: "text", type: "string" },
|
|
15490
|
+
color: {
|
|
15491
|
+
required: false,
|
|
15492
|
+
control: "color",
|
|
15493
|
+
type: "string",
|
|
15494
|
+
description: "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead."
|
|
15495
|
+
},
|
|
15496
|
+
content: {
|
|
15497
|
+
required: false,
|
|
15498
|
+
control: "text",
|
|
15499
|
+
type: "string",
|
|
15500
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
15501
|
+
},
|
|
15502
|
+
contextMenu: {
|
|
15503
|
+
required: false,
|
|
15504
|
+
control: "text",
|
|
15505
|
+
type: "string",
|
|
15506
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
15507
|
+
},
|
|
15508
|
+
datatype: { required: false, control: "text", type: "string" },
|
|
15509
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
15510
|
+
dir: {
|
|
15511
|
+
required: false,
|
|
15512
|
+
control: "text",
|
|
15513
|
+
type: "string",
|
|
15514
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
15515
|
+
},
|
|
15516
|
+
disabled: {
|
|
15517
|
+
required: false,
|
|
15518
|
+
control: "boolean",
|
|
15519
|
+
type: "boolean",
|
|
15520
|
+
description: "Indicates whether the user can interact with the element."
|
|
15521
|
+
},
|
|
15522
|
+
draggable: {
|
|
15523
|
+
required: false,
|
|
15524
|
+
control: "boolean",
|
|
15525
|
+
type: "boolean",
|
|
15526
|
+
description: "Defines whether the element can be dragged."
|
|
15527
|
+
},
|
|
15528
|
+
form: {
|
|
15529
|
+
required: false,
|
|
15530
|
+
control: "text",
|
|
15531
|
+
type: "string",
|
|
15532
|
+
description: "Indicates the form that is the owner of the element."
|
|
15533
|
+
},
|
|
15534
|
+
formAction: {
|
|
15535
|
+
required: false,
|
|
15536
|
+
control: "text",
|
|
15537
|
+
type: "string",
|
|
15538
|
+
description: "Indicates the action of the element, overriding the action defined inthe form."
|
|
15539
|
+
},
|
|
15540
|
+
formEncType: {
|
|
15541
|
+
required: false,
|
|
15542
|
+
control: "text",
|
|
15543
|
+
type: "string",
|
|
15544
|
+
description: `If the button/input is a submit button (e.g. type="submit"), this attribute sets the encoding type to use during form submission. If this attribute is specified, it overrides theenctype attribute of the button's form owner.`
|
|
15545
|
+
},
|
|
15546
|
+
formMethod: {
|
|
15547
|
+
required: false,
|
|
15548
|
+
control: "text",
|
|
15549
|
+
type: "string",
|
|
15550
|
+
description: `If the button/input is a submit button (e.g. type="submit"), this attribute sets the submission method to use during form submission (GET, POST, etc.). If this attribute is specified, it overrides the method attribute of the button's form owner.`
|
|
15551
|
+
},
|
|
15552
|
+
formNoValidate: {
|
|
15553
|
+
required: false,
|
|
15554
|
+
control: "boolean",
|
|
15555
|
+
type: "boolean",
|
|
15556
|
+
description: `If the button/input is a submit button (e.g. type="submit"), this boolean attribute specifies that the form is not to be validatedwhen it is submitted. If this attribute is specified, it overrides thenovalidate attribute of the button's form owner.`
|
|
15557
|
+
},
|
|
15558
|
+
formTarget: {
|
|
15559
|
+
required: false,
|
|
15560
|
+
control: "text",
|
|
15561
|
+
type: "string",
|
|
15562
|
+
description: `If the button/input is a submit button (e.g. type="submit"), this attribute specifies the browsing context (for example, tab, window, or inline frame) in which to display the response that is received aftersubmitting the form. If this attribute is specified, it overrides thetarget attribute of the button's form owner.`
|
|
15563
|
+
},
|
|
15564
|
+
hidden: {
|
|
15565
|
+
required: false,
|
|
15566
|
+
control: "boolean",
|
|
15567
|
+
type: "boolean",
|
|
15568
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
15569
|
+
},
|
|
15570
|
+
id: {
|
|
15571
|
+
required: false,
|
|
15572
|
+
control: "text",
|
|
15573
|
+
type: "string",
|
|
15574
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
15575
|
+
},
|
|
15576
|
+
inputMode: {
|
|
15577
|
+
description: "Hints at the type of data that might be entered by the user while editing the element or its contents",
|
|
15578
|
+
required: false,
|
|
15579
|
+
control: "select",
|
|
15580
|
+
type: "string",
|
|
15581
|
+
options: [
|
|
15582
|
+
"search",
|
|
15583
|
+
"text",
|
|
15584
|
+
"none",
|
|
15585
|
+
"tel",
|
|
15586
|
+
"url",
|
|
15587
|
+
"email",
|
|
15588
|
+
"numeric",
|
|
15589
|
+
"decimal"
|
|
15590
|
+
]
|
|
15591
|
+
},
|
|
15592
|
+
is: {
|
|
15593
|
+
description: "Specify that a standard HTML element should behave like a defined custom built-in element",
|
|
15594
|
+
required: false,
|
|
15595
|
+
control: "text",
|
|
15596
|
+
type: "string"
|
|
15597
|
+
},
|
|
15598
|
+
itemID: { required: false, control: "text", type: "string" },
|
|
15599
|
+
itemProp: { required: false, control: "text", type: "string" },
|
|
15600
|
+
itemRef: { required: false, control: "text", type: "string" },
|
|
15601
|
+
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
15602
|
+
itemType: { required: false, control: "text", type: "string" },
|
|
15603
|
+
lang: {
|
|
15604
|
+
required: false,
|
|
15605
|
+
control: "text",
|
|
15606
|
+
type: "string",
|
|
15607
|
+
description: "Defines the language used in the element."
|
|
15608
|
+
},
|
|
15609
|
+
name: {
|
|
15610
|
+
required: false,
|
|
15611
|
+
control: "text",
|
|
15612
|
+
type: "string",
|
|
15613
|
+
description: "This name is important when submitting form data to the server, as it identifies the data associated with the input. When multiple inputs share the same name attribute, they are treated as part of the same group (e.g., radio buttons or checkboxes)."
|
|
15614
|
+
},
|
|
15615
|
+
nonce: { required: false, control: "text", type: "string" },
|
|
15616
|
+
prefix: { required: false, control: "text", type: "string" },
|
|
15617
|
+
property: { required: false, control: "text", type: "string" },
|
|
15618
|
+
radioGroup: { required: false, control: "text", type: "string" },
|
|
15619
|
+
rel: {
|
|
15620
|
+
required: false,
|
|
15621
|
+
control: "text",
|
|
15622
|
+
type: "string",
|
|
15623
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
15624
|
+
},
|
|
15625
|
+
resource: { required: false, control: "text", type: "string" },
|
|
15626
|
+
results: { required: false, control: "number", type: "number" },
|
|
15627
|
+
rev: { required: false, control: "text", type: "string" },
|
|
15628
|
+
role: {
|
|
15629
|
+
required: false,
|
|
15630
|
+
control: "text",
|
|
15631
|
+
type: "string",
|
|
15632
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
15633
|
+
},
|
|
15634
|
+
security: { required: false, control: "text", type: "string" },
|
|
15635
|
+
slot: {
|
|
15636
|
+
required: false,
|
|
15637
|
+
control: "text",
|
|
15638
|
+
type: "string",
|
|
15639
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
15640
|
+
},
|
|
15641
|
+
spellCheck: {
|
|
15642
|
+
required: false,
|
|
15643
|
+
control: "boolean",
|
|
15644
|
+
type: "boolean",
|
|
15645
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
15646
|
+
},
|
|
15647
|
+
suppressContentEditableWarning: {
|
|
15648
|
+
required: false,
|
|
15649
|
+
control: "boolean",
|
|
15650
|
+
type: "boolean"
|
|
15651
|
+
},
|
|
15652
|
+
suppressHydrationWarning: {
|
|
15653
|
+
required: false,
|
|
15654
|
+
control: "boolean",
|
|
15655
|
+
type: "boolean"
|
|
15656
|
+
},
|
|
15657
|
+
tabIndex: {
|
|
15658
|
+
required: false,
|
|
15659
|
+
control: "number",
|
|
15660
|
+
type: "number",
|
|
15661
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
15662
|
+
},
|
|
15663
|
+
title: {
|
|
15664
|
+
required: false,
|
|
15665
|
+
control: "text",
|
|
15666
|
+
type: "string",
|
|
15667
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
15668
|
+
},
|
|
15669
|
+
translate: {
|
|
15670
|
+
required: false,
|
|
15671
|
+
control: "radio",
|
|
15672
|
+
type: "string",
|
|
15673
|
+
options: ["yes", "no"],
|
|
15674
|
+
description: "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged."
|
|
15675
|
+
},
|
|
15676
|
+
type: {
|
|
15677
|
+
required: false,
|
|
15678
|
+
control: "radio",
|
|
15679
|
+
type: "string",
|
|
15680
|
+
options: ["button", "submit", "reset"],
|
|
15681
|
+
description: "Defines the type of the element."
|
|
15682
|
+
},
|
|
15683
|
+
typeof: { required: false, control: "text", type: "string" },
|
|
15684
|
+
unselectable: {
|
|
15685
|
+
required: false,
|
|
15686
|
+
control: "radio",
|
|
15687
|
+
type: "string",
|
|
15688
|
+
options: ["on", "off"]
|
|
15689
|
+
},
|
|
15690
|
+
value: {
|
|
15691
|
+
required: false,
|
|
15692
|
+
control: "text",
|
|
15693
|
+
type: "string",
|
|
15694
|
+
description: "Defines a default value which will be displayed in the element on pageload."
|
|
15695
|
+
},
|
|
15696
|
+
vocab: { required: false, control: "text", type: "string" }
|
|
15697
|
+
};
|
|
15698
|
+
|
|
15699
|
+
// src/navigation-menu.ws.ts
|
|
15700
|
+
var presetStyle5 = {
|
|
15701
|
+
div: div7
|
|
15702
|
+
};
|
|
15703
|
+
var components = [
|
|
15704
|
+
{
|
|
15705
|
+
title: "Sheet",
|
|
15706
|
+
href: "/docs/components/sheet",
|
|
15707
|
+
description: "Extends the Dialog component to display content that complements the main content of the screen."
|
|
15708
|
+
},
|
|
15709
|
+
{
|
|
15710
|
+
title: "Navigation Menu",
|
|
15711
|
+
href: "/docs/components/navigation-menu",
|
|
15712
|
+
description: "A collection of links for navigating websites."
|
|
15713
|
+
},
|
|
15714
|
+
{
|
|
15715
|
+
title: "Tabs",
|
|
15716
|
+
href: "/docs/components/tabs",
|
|
15717
|
+
description: "A set of layered sections of content\u2014known as tab panels\u2014that are displayed one at a time."
|
|
15718
|
+
},
|
|
15719
|
+
{
|
|
15720
|
+
title: "Accordion",
|
|
15721
|
+
href: "/docs/components/accordion",
|
|
15722
|
+
description: "A vertically stacked set of interactive headings that each reveal a section of content."
|
|
15723
|
+
},
|
|
15724
|
+
{
|
|
15725
|
+
title: "Dialog",
|
|
15726
|
+
href: "/docs/components/dialog",
|
|
15727
|
+
description: "A window overlaid on either the primary window or another dialog window, rendering the content underneath inert."
|
|
15728
|
+
},
|
|
15729
|
+
{
|
|
15730
|
+
title: "Collapsible",
|
|
15731
|
+
href: "/docs/components/collapsible",
|
|
15732
|
+
description: "An interactive component which expands/collapses a panel."
|
|
15733
|
+
},
|
|
15734
|
+
{
|
|
15735
|
+
title: "Popover",
|
|
15736
|
+
href: "/docs/components/popover",
|
|
15737
|
+
description: "Displays rich content in a portal, triggered by a button."
|
|
15738
|
+
},
|
|
15739
|
+
{
|
|
15740
|
+
title: "Tooltip",
|
|
15741
|
+
href: "/docs/components/tooltip",
|
|
15742
|
+
description: "A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it."
|
|
15743
|
+
},
|
|
15744
|
+
{
|
|
15745
|
+
title: "Button",
|
|
15746
|
+
href: "/docs/components/button",
|
|
15747
|
+
description: "Displays a button or a component that looks like a button."
|
|
15748
|
+
}
|
|
15749
|
+
];
|
|
15750
|
+
var navItem = (props2) => [
|
|
15751
|
+
{
|
|
15752
|
+
type: "instance",
|
|
15753
|
+
component: "NavigationMenuLink",
|
|
15754
|
+
children: [
|
|
15755
|
+
{
|
|
15756
|
+
type: "instance",
|
|
15757
|
+
component: "Link",
|
|
15758
|
+
// block select-none space-y-1 rounded-md p-3 leading-none
|
|
15759
|
+
// no-underline outline-none transition-colors
|
|
15760
|
+
// hover:bg-accent hover:text-accent-foreground
|
|
15761
|
+
// focus:bg-accent focus:text-accent-foreground
|
|
15762
|
+
styles: [
|
|
15763
|
+
text("inherit"),
|
|
15764
|
+
flex(),
|
|
15765
|
+
flex("col"),
|
|
15766
|
+
select("none"),
|
|
15767
|
+
gap(1),
|
|
15768
|
+
rounded("md"),
|
|
15769
|
+
p(3),
|
|
15770
|
+
leading("none"),
|
|
15771
|
+
noUnderline(),
|
|
15772
|
+
outline("none"),
|
|
15773
|
+
hover([bg("accent"), text("accentForeground")].flat()),
|
|
15774
|
+
focus([bg("accent"), text("accentForeground")].flat())
|
|
15775
|
+
].flat(),
|
|
15776
|
+
props: [
|
|
15777
|
+
{
|
|
15778
|
+
name: "href",
|
|
15779
|
+
type: "string",
|
|
15780
|
+
value: `https://ui.shadcn.com${props2.href}`
|
|
15781
|
+
}
|
|
15782
|
+
],
|
|
15783
|
+
children: [
|
|
15784
|
+
{
|
|
15785
|
+
type: "instance",
|
|
15786
|
+
component: "Text",
|
|
15787
|
+
// text-sm font-medium leading-none
|
|
15788
|
+
styles: [
|
|
15789
|
+
text("sm"),
|
|
15790
|
+
font("medium"),
|
|
15791
|
+
leading("none")
|
|
15792
|
+
].flat(),
|
|
15793
|
+
children: [
|
|
15794
|
+
{
|
|
15795
|
+
type: "text",
|
|
15796
|
+
value: props2.title,
|
|
15797
|
+
placeholder: true
|
|
15798
|
+
}
|
|
15799
|
+
]
|
|
15800
|
+
},
|
|
15801
|
+
{
|
|
15802
|
+
type: "instance",
|
|
15803
|
+
component: "Paragraph",
|
|
15804
|
+
// line-clamp-2 text-sm leading-snug text-muted-foreground
|
|
15805
|
+
styles: [
|
|
14724
15806
|
m(0),
|
|
14725
15807
|
lineClamp2(2),
|
|
14726
15808
|
text("sm"),
|
|
@@ -14881,23 +15963,7 @@ var metaNavigationMenu = {
|
|
|
14881
15963
|
{
|
|
14882
15964
|
type: "instance",
|
|
14883
15965
|
component: "NavigationMenu",
|
|
14884
|
-
|
|
14885
|
-
menuValue: { initialValue: "" }
|
|
14886
|
-
},
|
|
14887
|
-
props: [
|
|
14888
|
-
{ type: "expression", name: "value", code: "menuValue" },
|
|
14889
|
-
{
|
|
14890
|
-
name: "onValueChange",
|
|
14891
|
-
type: "action",
|
|
14892
|
-
value: [
|
|
14893
|
-
{
|
|
14894
|
-
type: "execute",
|
|
14895
|
-
args: ["value"],
|
|
14896
|
-
code: `menuValue = value`
|
|
14897
|
-
}
|
|
14898
|
-
]
|
|
14899
|
-
}
|
|
14900
|
-
],
|
|
15966
|
+
props: [],
|
|
14901
15967
|
// relative
|
|
14902
15968
|
// Omiting this: z-10 flex max-w-max flex-1 items-center justify-center
|
|
14903
15969
|
styles: [relative(), maxW("max")].flat(),
|
|
@@ -15045,6 +16111,7 @@ var propsSelect = {
|
|
|
15045
16111
|
type: "string",
|
|
15046
16112
|
description: "Indicates whether controls in this form can by default have their valuesautomatically completed by the browser."
|
|
15047
16113
|
},
|
|
16114
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
15048
16115
|
dir: {
|
|
15049
16116
|
required: false,
|
|
15050
16117
|
control: "radio",
|
|
@@ -15455,6 +16522,7 @@ var propsSelectTrigger = {
|
|
|
15455
16522
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
15456
16523
|
},
|
|
15457
16524
|
datatype: { required: false, control: "text", type: "string" },
|
|
16525
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
15458
16526
|
dir: {
|
|
15459
16527
|
required: false,
|
|
15460
16528
|
control: "text",
|
|
@@ -15635,6 +16703,12 @@ var propsSelectTrigger = {
|
|
|
15635
16703
|
type: "string",
|
|
15636
16704
|
options: ["on", "off"]
|
|
15637
16705
|
},
|
|
16706
|
+
value: {
|
|
16707
|
+
required: false,
|
|
16708
|
+
control: "text",
|
|
16709
|
+
type: "string",
|
|
16710
|
+
description: "Defines a default value which will be displayed in the element on pageload."
|
|
16711
|
+
},
|
|
15638
16712
|
vocab: { required: false, control: "text", type: "string" }
|
|
15639
16713
|
};
|
|
15640
16714
|
var propsSelectValue = {
|
|
@@ -16009,6 +17083,7 @@ var propsSelectValue = {
|
|
|
16009
17083
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
16010
17084
|
},
|
|
16011
17085
|
datatype: { required: false, control: "text", type: "string" },
|
|
17086
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
16012
17087
|
dir: {
|
|
16013
17088
|
required: false,
|
|
16014
17089
|
control: "text",
|
|
@@ -16524,6 +17599,7 @@ var propsSelectContent = {
|
|
|
16524
17599
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
16525
17600
|
},
|
|
16526
17601
|
datatype: { required: false, control: "text", type: "string" },
|
|
17602
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
16527
17603
|
dir: {
|
|
16528
17604
|
required: false,
|
|
16529
17605
|
control: "text",
|
|
@@ -17037,6 +18113,7 @@ var propsSelectViewport = {
|
|
|
17037
18113
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
17038
18114
|
},
|
|
17039
18115
|
datatype: { required: false, control: "text", type: "string" },
|
|
18116
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
17040
18117
|
dir: {
|
|
17041
18118
|
required: false,
|
|
17042
18119
|
control: "text",
|
|
@@ -17536,6 +18613,7 @@ var propsSelectItem = {
|
|
|
17536
18613
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
17537
18614
|
},
|
|
17538
18615
|
datatype: { required: false, control: "text", type: "string" },
|
|
18616
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
17539
18617
|
dir: {
|
|
17540
18618
|
required: false,
|
|
17541
18619
|
control: "text",
|
|
@@ -18048,6 +19126,7 @@ var propsSelectItemIndicator = {
|
|
|
18048
19126
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
18049
19127
|
},
|
|
18050
19128
|
datatype: { required: false, control: "text", type: "string" },
|
|
19129
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
18051
19130
|
dir: {
|
|
18052
19131
|
required: false,
|
|
18053
19132
|
control: "text",
|
|
@@ -18547,6 +19626,7 @@ var propsSelectItemText = {
|
|
|
18547
19626
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
18548
19627
|
},
|
|
18549
19628
|
datatype: { required: false, control: "text", type: "string" },
|
|
19629
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
18550
19630
|
dir: {
|
|
18551
19631
|
required: false,
|
|
18552
19632
|
control: "text",
|
|
@@ -18754,8 +19834,7 @@ var metaSelect = {
|
|
|
18754
19834
|
type: "instance",
|
|
18755
19835
|
component: "Select",
|
|
18756
19836
|
variables: {
|
|
18757
|
-
selectValue: { initialValue: "" }
|
|
18758
|
-
selectOpen: { initialValue: false }
|
|
19837
|
+
selectValue: { initialValue: "" }
|
|
18759
19838
|
},
|
|
18760
19839
|
props: [
|
|
18761
19840
|
{
|
|
@@ -18769,18 +19848,6 @@ var metaSelect = {
|
|
|
18769
19848
|
value: [
|
|
18770
19849
|
{ type: "execute", args: ["value"], code: `selectValue = value` }
|
|
18771
19850
|
]
|
|
18772
|
-
},
|
|
18773
|
-
{
|
|
18774
|
-
name: "open",
|
|
18775
|
-
type: "expression",
|
|
18776
|
-
code: "selectOpen"
|
|
18777
|
-
},
|
|
18778
|
-
{
|
|
18779
|
-
name: "onOpenChange",
|
|
18780
|
-
type: "action",
|
|
18781
|
-
value: [
|
|
18782
|
-
{ type: "execute", args: ["open"], code: `selectOpen = open` }
|
|
18783
|
-
]
|
|
18784
19851
|
}
|
|
18785
19852
|
],
|
|
18786
19853
|
children: [
|
|
@@ -19302,6 +20369,7 @@ var propsSwitch = {
|
|
|
19302
20369
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
19303
20370
|
},
|
|
19304
20371
|
datatype: { required: false, control: "text", type: "string" },
|
|
20372
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
19305
20373
|
dir: {
|
|
19306
20374
|
required: false,
|
|
19307
20375
|
control: "text",
|
|
@@ -19488,6 +20556,12 @@ var propsSwitch = {
|
|
|
19488
20556
|
type: "string",
|
|
19489
20557
|
options: ["on", "off"]
|
|
19490
20558
|
},
|
|
20559
|
+
value: {
|
|
20560
|
+
required: false,
|
|
20561
|
+
control: "text",
|
|
20562
|
+
type: "string",
|
|
20563
|
+
description: "Defines a default value which will be displayed in the element on pageload."
|
|
20564
|
+
},
|
|
19491
20565
|
vocab: { required: false, control: "text", type: "string" }
|
|
19492
20566
|
};
|
|
19493
20567
|
var propsSwitchThumb = {
|
|
@@ -19862,6 +20936,7 @@ var propsSwitchThumb = {
|
|
|
19862
20936
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
19863
20937
|
},
|
|
19864
20938
|
datatype: { required: false, control: "text", type: "string" },
|
|
20939
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
19865
20940
|
dir: {
|
|
19866
20941
|
required: false,
|
|
19867
20942
|
control: "text",
|
|
@@ -20513,6 +21588,7 @@ var propsCheckbox = {
|
|
|
20513
21588
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
20514
21589
|
},
|
|
20515
21590
|
datatype: { required: false, control: "text", type: "string" },
|
|
21591
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
20516
21592
|
dir: {
|
|
20517
21593
|
required: false,
|
|
20518
21594
|
control: "text",
|
|
@@ -20699,6 +21775,12 @@ var propsCheckbox = {
|
|
|
20699
21775
|
type: "string",
|
|
20700
21776
|
options: ["on", "off"]
|
|
20701
21777
|
},
|
|
21778
|
+
value: {
|
|
21779
|
+
required: false,
|
|
21780
|
+
control: "text",
|
|
21781
|
+
type: "string",
|
|
21782
|
+
description: "Defines a default value which will be displayed in the element on pageload."
|
|
21783
|
+
},
|
|
20702
21784
|
vocab: { required: false, control: "text", type: "string" }
|
|
20703
21785
|
};
|
|
20704
21786
|
var propsCheckboxIndicator = {
|
|
@@ -21073,6 +22155,7 @@ var propsCheckboxIndicator = {
|
|
|
21073
22155
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
21074
22156
|
},
|
|
21075
22157
|
datatype: { required: false, control: "text", type: "string" },
|
|
22158
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
21076
22159
|
dir: {
|
|
21077
22160
|
required: false,
|
|
21078
22161
|
control: "text",
|
|
@@ -21710,6 +22793,7 @@ var propsRadioGroup = {
|
|
|
21710
22793
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
21711
22794
|
},
|
|
21712
22795
|
datatype: { required: false, control: "text", type: "string" },
|
|
22796
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
21713
22797
|
dir: {
|
|
21714
22798
|
required: false,
|
|
21715
22799
|
control: "radio",
|
|
@@ -22252,6 +23336,7 @@ var propsRadioGroupItem = {
|
|
|
22252
23336
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
22253
23337
|
},
|
|
22254
23338
|
datatype: { required: false, control: "text", type: "string" },
|
|
23339
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
22255
23340
|
dir: {
|
|
22256
23341
|
required: false,
|
|
22257
23342
|
control: "text",
|
|
@@ -22812,6 +23897,7 @@ var propsRadioGroupIndicator = {
|
|
|
22812
23897
|
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
22813
23898
|
},
|
|
22814
23899
|
datatype: { required: false, control: "text", type: "string" },
|
|
23900
|
+
defaultValue: { required: false, control: "text", type: "string" },
|
|
22815
23901
|
dir: {
|
|
22816
23902
|
required: false,
|
|
22817
23903
|
control: "text",
|