mdui 2.1.1 → 2.1.2
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/components/avatar/style.js +1 -1
- package/components/badge/style.js +1 -1
- package/components/bottom-app-bar/index.d.ts +1 -1
- package/components/button/button-base.d.ts +1 -1
- package/components/button/style.js +1 -1
- package/components/button-icon/style.js +1 -1
- package/components/card/index.d.ts +1 -1
- package/components/checkbox/index.d.ts +1 -1
- package/components/checkbox/style.js +1 -1
- package/components/chip/style.js +1 -1
- package/components/circular-progress/style.js +1 -1
- package/components/dialog/style.js +1 -1
- package/components/fab/style.js +1 -1
- package/components/icon/style.js +1 -1
- package/components/list/list-item.d.ts +1 -1
- package/components/menu/menu-item.d.ts +1 -1
- package/components/navigation-bar/navigation-bar-item.d.ts +1 -1
- package/components/navigation-bar/navigation-bar.d.ts +1 -1
- package/components/navigation-rail/navigation-rail-item.d.ts +1 -1
- package/components/radio/radio-style.js +1 -1
- package/components/radio/radio.d.ts +1 -1
- package/components/ripple/ripple-mixin.d.ts +1 -1
- package/components/select/index.d.ts +1 -1
- package/components/select/index.js +3 -2
- package/components/slider/slider-base-style.js +1 -1
- package/components/slider/slider-base.d.ts +1 -1
- package/components/switch/index.d.ts +1 -1
- package/components/tabs/tab.d.ts +1 -1
- package/components/text-field/index.d.ts +1 -1
- package/components/text-field/index.js +5 -1
- package/components/text-field/style.js +1 -1
- package/components/top-app-bar/top-app-bar.d.ts +1 -1
- package/custom-elements.json +13813 -15187
- package/html-data.en.json +582 -578
- package/html-data.zh-cn.json +582 -578
- package/jsx.en.d.ts +422 -422
- package/jsx.zh-cn.d.ts +422 -422
- package/mdui.esm.js +7 -7
- package/mdui.global.js +8 -8
- package/package.json +9 -9
- package/web-types.en.json +1269 -1253
- package/web-types.zh-cn.json +1269 -1253
package/html-data.en.json
CHANGED
|
@@ -203,68 +203,74 @@
|
|
|
203
203
|
]
|
|
204
204
|
},
|
|
205
205
|
{
|
|
206
|
-
"name": "mdui-button",
|
|
207
|
-
"description": "Button Component \n\n```html\n<mdui-button
|
|
206
|
+
"name": "mdui-button-icon",
|
|
207
|
+
"description": "Icon Button Component \n\n```html\n<mdui-button-icon icon=\"search\"></mdui-button-icon>\n```",
|
|
208
208
|
"attributes": [
|
|
209
209
|
{
|
|
210
210
|
"name": "variant",
|
|
211
|
-
"description": "Defines the button style. Possible values:\n* `
|
|
211
|
+
"description": "Defines the icon button style. Possible values:\n* `standard`: For low-priority actions.\n* `filled`: Has the strongest visual effect, suitable for high-priority actions.\n* `tonal`: A visual effect between `filled` and `outlined`, suitable for medium to high-priority actions.\n* `outlined`: For medium-priority actions.",
|
|
212
212
|
"values": [
|
|
213
213
|
{
|
|
214
|
-
"name": "
|
|
215
|
-
"description": "
|
|
214
|
+
"name": "standard",
|
|
215
|
+
"description": "For low-priority actions."
|
|
216
216
|
},
|
|
217
217
|
{
|
|
218
218
|
"name": "filled",
|
|
219
|
-
"description": "
|
|
219
|
+
"description": "Has the strongest visual effect, suitable for high-priority actions."
|
|
220
220
|
},
|
|
221
221
|
{
|
|
222
222
|
"name": "tonal",
|
|
223
|
-
"description": "A
|
|
223
|
+
"description": "A visual effect between `filled` and `outlined`, suitable for medium to high-priority actions."
|
|
224
224
|
},
|
|
225
225
|
{
|
|
226
226
|
"name": "outlined",
|
|
227
|
-
"description": "
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
"name": "text",
|
|
231
|
-
"description": "A text button for low-priority actions."
|
|
227
|
+
"description": "For medium-priority actions."
|
|
232
228
|
}
|
|
233
229
|
],
|
|
234
230
|
"references": [
|
|
235
231
|
{
|
|
236
232
|
"name": "Docs",
|
|
237
|
-
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-variant"
|
|
233
|
+
"url": "https://www.mdui.org/en/docs/2/components/button-icon#attributes-variant"
|
|
238
234
|
}
|
|
239
235
|
]
|
|
240
236
|
},
|
|
241
237
|
{
|
|
242
|
-
"name": "
|
|
243
|
-
"description": "
|
|
238
|
+
"name": "icon",
|
|
239
|
+
"description": "Specifies the Material Icons name. Alternatively, use the default slot.",
|
|
244
240
|
"references": [
|
|
245
241
|
{
|
|
246
242
|
"name": "Docs",
|
|
247
|
-
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-
|
|
243
|
+
"url": "https://www.mdui.org/en/docs/2/components/button-icon#attributes-icon"
|
|
248
244
|
}
|
|
249
245
|
]
|
|
250
246
|
},
|
|
251
247
|
{
|
|
252
|
-
"name": "icon",
|
|
253
|
-
"description": "Specifies the Material Icons name
|
|
248
|
+
"name": "selected-icon",
|
|
249
|
+
"description": "Specifies the Material Icons name when selected. Alternatively, use `slot=\"selected-icon\"`.",
|
|
254
250
|
"references": [
|
|
255
251
|
{
|
|
256
252
|
"name": "Docs",
|
|
257
|
-
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-icon"
|
|
253
|
+
"url": "https://www.mdui.org/en/docs/2/components/button-icon#attributes-selected-icon"
|
|
258
254
|
}
|
|
259
255
|
]
|
|
260
256
|
},
|
|
261
257
|
{
|
|
262
|
-
"name": "
|
|
263
|
-
"description": "
|
|
258
|
+
"name": "selectable",
|
|
259
|
+
"description": "Indicates if the button is selectable.",
|
|
264
260
|
"references": [
|
|
265
261
|
{
|
|
266
262
|
"name": "Docs",
|
|
267
|
-
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-
|
|
263
|
+
"url": "https://www.mdui.org/en/docs/2/components/button-icon#attributes-selectable"
|
|
264
|
+
}
|
|
265
|
+
]
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"name": "selected",
|
|
269
|
+
"description": "Indicates if the button is selected.",
|
|
270
|
+
"references": [
|
|
271
|
+
{
|
|
272
|
+
"name": "Docs",
|
|
273
|
+
"url": "https://www.mdui.org/en/docs/2/components/button-icon#attributes-selected"
|
|
268
274
|
}
|
|
269
275
|
]
|
|
270
276
|
},
|
|
@@ -274,7 +280,7 @@
|
|
|
274
280
|
"references": [
|
|
275
281
|
{
|
|
276
282
|
"name": "Docs",
|
|
277
|
-
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-href"
|
|
283
|
+
"url": "https://www.mdui.org/en/docs/2/components/button-icon#attributes-href"
|
|
278
284
|
}
|
|
279
285
|
]
|
|
280
286
|
},
|
|
@@ -284,7 +290,7 @@
|
|
|
284
290
|
"references": [
|
|
285
291
|
{
|
|
286
292
|
"name": "Docs",
|
|
287
|
-
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-download"
|
|
293
|
+
"url": "https://www.mdui.org/en/docs/2/components/button-icon#attributes-download"
|
|
288
294
|
}
|
|
289
295
|
]
|
|
290
296
|
},
|
|
@@ -312,7 +318,7 @@
|
|
|
312
318
|
"references": [
|
|
313
319
|
{
|
|
314
320
|
"name": "Docs",
|
|
315
|
-
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-target"
|
|
321
|
+
"url": "https://www.mdui.org/en/docs/2/components/button-icon#attributes-target"
|
|
316
322
|
}
|
|
317
323
|
]
|
|
318
324
|
},
|
|
@@ -380,7 +386,7 @@
|
|
|
380
386
|
"references": [
|
|
381
387
|
{
|
|
382
388
|
"name": "Docs",
|
|
383
|
-
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-rel"
|
|
389
|
+
"url": "https://www.mdui.org/en/docs/2/components/button-icon#attributes-rel"
|
|
384
390
|
}
|
|
385
391
|
]
|
|
386
392
|
},
|
|
@@ -390,7 +396,7 @@
|
|
|
390
396
|
"references": [
|
|
391
397
|
{
|
|
392
398
|
"name": "Docs",
|
|
393
|
-
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-autofocus"
|
|
399
|
+
"url": "https://www.mdui.org/en/docs/2/components/button-icon#attributes-autofocus"
|
|
394
400
|
}
|
|
395
401
|
]
|
|
396
402
|
},
|
|
@@ -400,7 +406,7 @@
|
|
|
400
406
|
"references": [
|
|
401
407
|
{
|
|
402
408
|
"name": "Docs",
|
|
403
|
-
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-tabindex"
|
|
409
|
+
"url": "https://www.mdui.org/en/docs/2/components/button-icon#attributes-tabindex"
|
|
404
410
|
}
|
|
405
411
|
]
|
|
406
412
|
},
|
|
@@ -410,7 +416,7 @@
|
|
|
410
416
|
"references": [
|
|
411
417
|
{
|
|
412
418
|
"name": "Docs",
|
|
413
|
-
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-disabled"
|
|
419
|
+
"url": "https://www.mdui.org/en/docs/2/components/button-icon#attributes-disabled"
|
|
414
420
|
}
|
|
415
421
|
]
|
|
416
422
|
},
|
|
@@ -420,7 +426,7 @@
|
|
|
420
426
|
"references": [
|
|
421
427
|
{
|
|
422
428
|
"name": "Docs",
|
|
423
|
-
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-loading"
|
|
429
|
+
"url": "https://www.mdui.org/en/docs/2/components/button-icon#attributes-loading"
|
|
424
430
|
}
|
|
425
431
|
]
|
|
426
432
|
},
|
|
@@ -430,7 +436,7 @@
|
|
|
430
436
|
"references": [
|
|
431
437
|
{
|
|
432
438
|
"name": "Docs",
|
|
433
|
-
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-name"
|
|
439
|
+
"url": "https://www.mdui.org/en/docs/2/components/button-icon#attributes-name"
|
|
434
440
|
}
|
|
435
441
|
]
|
|
436
442
|
},
|
|
@@ -440,7 +446,7 @@
|
|
|
440
446
|
"references": [
|
|
441
447
|
{
|
|
442
448
|
"name": "Docs",
|
|
443
|
-
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-value"
|
|
449
|
+
"url": "https://www.mdui.org/en/docs/2/components/button-icon#attributes-value"
|
|
444
450
|
}
|
|
445
451
|
]
|
|
446
452
|
},
|
|
@@ -464,7 +470,7 @@
|
|
|
464
470
|
"references": [
|
|
465
471
|
{
|
|
466
472
|
"name": "Docs",
|
|
467
|
-
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-type"
|
|
473
|
+
"url": "https://www.mdui.org/en/docs/2/components/button-icon#attributes-type"
|
|
468
474
|
}
|
|
469
475
|
]
|
|
470
476
|
},
|
|
@@ -474,7 +480,7 @@
|
|
|
474
480
|
"references": [
|
|
475
481
|
{
|
|
476
482
|
"name": "Docs",
|
|
477
|
-
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-form"
|
|
483
|
+
"url": "https://www.mdui.org/en/docs/2/components/button-icon#attributes-form"
|
|
478
484
|
}
|
|
479
485
|
]
|
|
480
486
|
},
|
|
@@ -484,7 +490,7 @@
|
|
|
484
490
|
"references": [
|
|
485
491
|
{
|
|
486
492
|
"name": "Docs",
|
|
487
|
-
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-formaction"
|
|
493
|
+
"url": "https://www.mdui.org/en/docs/2/components/button-icon#attributes-formaction"
|
|
488
494
|
}
|
|
489
495
|
]
|
|
490
496
|
},
|
|
@@ -508,7 +514,7 @@
|
|
|
508
514
|
"references": [
|
|
509
515
|
{
|
|
510
516
|
"name": "Docs",
|
|
511
|
-
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-formenctype"
|
|
517
|
+
"url": "https://www.mdui.org/en/docs/2/components/button-icon#attributes-formenctype"
|
|
512
518
|
}
|
|
513
519
|
]
|
|
514
520
|
},
|
|
@@ -528,7 +534,7 @@
|
|
|
528
534
|
"references": [
|
|
529
535
|
{
|
|
530
536
|
"name": "Docs",
|
|
531
|
-
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-formmethod"
|
|
537
|
+
"url": "https://www.mdui.org/en/docs/2/components/button-icon#attributes-formmethod"
|
|
532
538
|
}
|
|
533
539
|
]
|
|
534
540
|
},
|
|
@@ -538,7 +544,7 @@
|
|
|
538
544
|
"references": [
|
|
539
545
|
{
|
|
540
546
|
"name": "Docs",
|
|
541
|
-
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-formnovalidate"
|
|
547
|
+
"url": "https://www.mdui.org/en/docs/2/components/button-icon#attributes-formnovalidate"
|
|
542
548
|
}
|
|
543
549
|
]
|
|
544
550
|
},
|
|
@@ -566,7 +572,7 @@
|
|
|
566
572
|
"references": [
|
|
567
573
|
{
|
|
568
574
|
"name": "Docs",
|
|
569
|
-
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-formtarget"
|
|
575
|
+
"url": "https://www.mdui.org/en/docs/2/components/button-icon#attributes-formtarget"
|
|
570
576
|
}
|
|
571
577
|
]
|
|
572
578
|
}
|
|
@@ -574,83 +580,77 @@
|
|
|
574
580
|
"references": [
|
|
575
581
|
{
|
|
576
582
|
"name": "Docs",
|
|
577
|
-
"url": "https://www.mdui.org/en/docs/2/components/button"
|
|
583
|
+
"url": "https://www.mdui.org/en/docs/2/components/button-icon"
|
|
578
584
|
},
|
|
579
585
|
{
|
|
580
586
|
"name": "Github",
|
|
581
|
-
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/button/index.ts"
|
|
587
|
+
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/button-icon/index.ts"
|
|
582
588
|
}
|
|
583
589
|
]
|
|
584
590
|
},
|
|
585
591
|
{
|
|
586
|
-
"name": "mdui-button
|
|
587
|
-
"description": "
|
|
592
|
+
"name": "mdui-button",
|
|
593
|
+
"description": "Button Component \n\n```html\n<mdui-button>Button</mdui-button>\n```",
|
|
588
594
|
"attributes": [
|
|
589
595
|
{
|
|
590
596
|
"name": "variant",
|
|
591
|
-
"description": "Defines the
|
|
597
|
+
"description": "Defines the button style. Possible values:\n* `elevated`: A shadowed button for visual distinction.\n* `filled`: Used for final actions like 'Save' or 'Confirm'.\n* `tonal`: A mix between `filled` and `outlined`, suitable for medium to high-priority actions.\n* `outlined`: A bordered button for medium-priority and secondary actions.\n* `text`: A text button for low-priority actions.",
|
|
592
598
|
"values": [
|
|
593
599
|
{
|
|
594
|
-
"name": "
|
|
595
|
-
"description": "
|
|
600
|
+
"name": "elevated",
|
|
601
|
+
"description": "A shadowed button for visual distinction."
|
|
596
602
|
},
|
|
597
603
|
{
|
|
598
604
|
"name": "filled",
|
|
599
|
-
"description": "
|
|
605
|
+
"description": "Used for final actions like 'Save' or 'Confirm'."
|
|
600
606
|
},
|
|
601
607
|
{
|
|
602
608
|
"name": "tonal",
|
|
603
|
-
"description": "A
|
|
609
|
+
"description": "A mix between `filled` and `outlined`, suitable for medium to high-priority actions."
|
|
604
610
|
},
|
|
605
611
|
{
|
|
606
612
|
"name": "outlined",
|
|
607
|
-
"description": "
|
|
608
|
-
}
|
|
609
|
-
],
|
|
610
|
-
"references": [
|
|
613
|
+
"description": "A bordered button for medium-priority and secondary actions."
|
|
614
|
+
},
|
|
611
615
|
{
|
|
612
|
-
"name": "
|
|
613
|
-
"
|
|
616
|
+
"name": "text",
|
|
617
|
+
"description": "A text button for low-priority actions."
|
|
614
618
|
}
|
|
615
|
-
]
|
|
616
|
-
},
|
|
617
|
-
{
|
|
618
|
-
"name": "icon",
|
|
619
|
-
"description": "Specifies the Material Icons name. Alternatively, use the default slot.",
|
|
619
|
+
],
|
|
620
620
|
"references": [
|
|
621
621
|
{
|
|
622
622
|
"name": "Docs",
|
|
623
|
-
"url": "https://www.mdui.org/en/docs/2/components/button
|
|
623
|
+
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-variant"
|
|
624
624
|
}
|
|
625
625
|
]
|
|
626
626
|
},
|
|
627
627
|
{
|
|
628
|
-
"name": "
|
|
629
|
-
"description": "
|
|
628
|
+
"name": "full-width",
|
|
629
|
+
"description": "If set, the button will fill the width of its parent element.",
|
|
630
630
|
"references": [
|
|
631
631
|
{
|
|
632
632
|
"name": "Docs",
|
|
633
|
-
"url": "https://www.mdui.org/en/docs/2/components/button
|
|
633
|
+
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-full-width"
|
|
634
634
|
}
|
|
635
635
|
]
|
|
636
636
|
},
|
|
637
637
|
{
|
|
638
|
-
"name": "
|
|
639
|
-
"description": "
|
|
638
|
+
"name": "icon",
|
|
639
|
+
"description": "Specifies the Material Icons name on the left. Alternatively, use `slot=\"icon\"`.",
|
|
640
640
|
"references": [
|
|
641
641
|
{
|
|
642
642
|
"name": "Docs",
|
|
643
|
-
"url": "https://www.mdui.org/en/docs/2/components/button
|
|
643
|
+
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-icon"
|
|
644
644
|
}
|
|
645
645
|
]
|
|
646
646
|
},
|
|
647
647
|
{
|
|
648
|
-
"name": "
|
|
649
|
-
"description": "
|
|
648
|
+
"name": "end-icon",
|
|
649
|
+
"description": "Specifies the Material Icons name on the right. Alternatively, use `slot=\"end-icon\"`.",
|
|
650
650
|
"references": [
|
|
651
651
|
{
|
|
652
652
|
"name": "Docs",
|
|
653
|
-
"url": "https://www.mdui.org/en/docs/2/components/button
|
|
653
|
+
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-end-icon"
|
|
654
654
|
}
|
|
655
655
|
]
|
|
656
656
|
},
|
|
@@ -660,7 +660,7 @@
|
|
|
660
660
|
"references": [
|
|
661
661
|
{
|
|
662
662
|
"name": "Docs",
|
|
663
|
-
"url": "https://www.mdui.org/en/docs/2/components/button
|
|
663
|
+
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-href"
|
|
664
664
|
}
|
|
665
665
|
]
|
|
666
666
|
},
|
|
@@ -670,7 +670,7 @@
|
|
|
670
670
|
"references": [
|
|
671
671
|
{
|
|
672
672
|
"name": "Docs",
|
|
673
|
-
"url": "https://www.mdui.org/en/docs/2/components/button
|
|
673
|
+
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-download"
|
|
674
674
|
}
|
|
675
675
|
]
|
|
676
676
|
},
|
|
@@ -698,7 +698,7 @@
|
|
|
698
698
|
"references": [
|
|
699
699
|
{
|
|
700
700
|
"name": "Docs",
|
|
701
|
-
"url": "https://www.mdui.org/en/docs/2/components/button
|
|
701
|
+
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-target"
|
|
702
702
|
}
|
|
703
703
|
]
|
|
704
704
|
},
|
|
@@ -766,7 +766,7 @@
|
|
|
766
766
|
"references": [
|
|
767
767
|
{
|
|
768
768
|
"name": "Docs",
|
|
769
|
-
"url": "https://www.mdui.org/en/docs/2/components/button
|
|
769
|
+
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-rel"
|
|
770
770
|
}
|
|
771
771
|
]
|
|
772
772
|
},
|
|
@@ -776,7 +776,7 @@
|
|
|
776
776
|
"references": [
|
|
777
777
|
{
|
|
778
778
|
"name": "Docs",
|
|
779
|
-
"url": "https://www.mdui.org/en/docs/2/components/button
|
|
779
|
+
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-autofocus"
|
|
780
780
|
}
|
|
781
781
|
]
|
|
782
782
|
},
|
|
@@ -786,7 +786,7 @@
|
|
|
786
786
|
"references": [
|
|
787
787
|
{
|
|
788
788
|
"name": "Docs",
|
|
789
|
-
"url": "https://www.mdui.org/en/docs/2/components/button
|
|
789
|
+
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-tabindex"
|
|
790
790
|
}
|
|
791
791
|
]
|
|
792
792
|
},
|
|
@@ -796,7 +796,7 @@
|
|
|
796
796
|
"references": [
|
|
797
797
|
{
|
|
798
798
|
"name": "Docs",
|
|
799
|
-
"url": "https://www.mdui.org/en/docs/2/components/button
|
|
799
|
+
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-disabled"
|
|
800
800
|
}
|
|
801
801
|
]
|
|
802
802
|
},
|
|
@@ -806,7 +806,7 @@
|
|
|
806
806
|
"references": [
|
|
807
807
|
{
|
|
808
808
|
"name": "Docs",
|
|
809
|
-
"url": "https://www.mdui.org/en/docs/2/components/button
|
|
809
|
+
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-loading"
|
|
810
810
|
}
|
|
811
811
|
]
|
|
812
812
|
},
|
|
@@ -816,7 +816,7 @@
|
|
|
816
816
|
"references": [
|
|
817
817
|
{
|
|
818
818
|
"name": "Docs",
|
|
819
|
-
"url": "https://www.mdui.org/en/docs/2/components/button
|
|
819
|
+
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-name"
|
|
820
820
|
}
|
|
821
821
|
]
|
|
822
822
|
},
|
|
@@ -826,7 +826,7 @@
|
|
|
826
826
|
"references": [
|
|
827
827
|
{
|
|
828
828
|
"name": "Docs",
|
|
829
|
-
"url": "https://www.mdui.org/en/docs/2/components/button
|
|
829
|
+
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-value"
|
|
830
830
|
}
|
|
831
831
|
]
|
|
832
832
|
},
|
|
@@ -850,7 +850,7 @@
|
|
|
850
850
|
"references": [
|
|
851
851
|
{
|
|
852
852
|
"name": "Docs",
|
|
853
|
-
"url": "https://www.mdui.org/en/docs/2/components/button
|
|
853
|
+
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-type"
|
|
854
854
|
}
|
|
855
855
|
]
|
|
856
856
|
},
|
|
@@ -860,7 +860,7 @@
|
|
|
860
860
|
"references": [
|
|
861
861
|
{
|
|
862
862
|
"name": "Docs",
|
|
863
|
-
"url": "https://www.mdui.org/en/docs/2/components/button
|
|
863
|
+
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-form"
|
|
864
864
|
}
|
|
865
865
|
]
|
|
866
866
|
},
|
|
@@ -870,7 +870,7 @@
|
|
|
870
870
|
"references": [
|
|
871
871
|
{
|
|
872
872
|
"name": "Docs",
|
|
873
|
-
"url": "https://www.mdui.org/en/docs/2/components/button
|
|
873
|
+
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-formaction"
|
|
874
874
|
}
|
|
875
875
|
]
|
|
876
876
|
},
|
|
@@ -894,7 +894,7 @@
|
|
|
894
894
|
"references": [
|
|
895
895
|
{
|
|
896
896
|
"name": "Docs",
|
|
897
|
-
"url": "https://www.mdui.org/en/docs/2/components/button
|
|
897
|
+
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-formenctype"
|
|
898
898
|
}
|
|
899
899
|
]
|
|
900
900
|
},
|
|
@@ -914,7 +914,7 @@
|
|
|
914
914
|
"references": [
|
|
915
915
|
{
|
|
916
916
|
"name": "Docs",
|
|
917
|
-
"url": "https://www.mdui.org/en/docs/2/components/button
|
|
917
|
+
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-formmethod"
|
|
918
918
|
}
|
|
919
919
|
]
|
|
920
920
|
},
|
|
@@ -924,7 +924,7 @@
|
|
|
924
924
|
"references": [
|
|
925
925
|
{
|
|
926
926
|
"name": "Docs",
|
|
927
|
-
"url": "https://www.mdui.org/en/docs/2/components/button
|
|
927
|
+
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-formnovalidate"
|
|
928
928
|
}
|
|
929
929
|
]
|
|
930
930
|
},
|
|
@@ -952,7 +952,7 @@
|
|
|
952
952
|
"references": [
|
|
953
953
|
{
|
|
954
954
|
"name": "Docs",
|
|
955
|
-
"url": "https://www.mdui.org/en/docs/2/components/button
|
|
955
|
+
"url": "https://www.mdui.org/en/docs/2/components/button#attributes-formtarget"
|
|
956
956
|
}
|
|
957
957
|
]
|
|
958
958
|
}
|
|
@@ -960,11 +960,11 @@
|
|
|
960
960
|
"references": [
|
|
961
961
|
{
|
|
962
962
|
"name": "Docs",
|
|
963
|
-
"url": "https://www.mdui.org/en/docs/2/components/button
|
|
963
|
+
"url": "https://www.mdui.org/en/docs/2/components/button"
|
|
964
964
|
},
|
|
965
965
|
{
|
|
966
966
|
"name": "Github",
|
|
967
|
-
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/button
|
|
967
|
+
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/button/index.ts"
|
|
968
968
|
}
|
|
969
969
|
]
|
|
970
970
|
},
|
|
@@ -1763,36 +1763,46 @@
|
|
|
1763
1763
|
]
|
|
1764
1764
|
},
|
|
1765
1765
|
{
|
|
1766
|
-
"name": "mdui-collapse",
|
|
1767
|
-
"description": "Collapse
|
|
1766
|
+
"name": "mdui-collapse-item",
|
|
1767
|
+
"description": "Collapse Item Component It should be used in conjunction with the `<mdui-collapse>` component \n\n```html\n<mdui-collapse>\n <mdui-collapse-item header=\"header-1\">content-1</mdui-collapse-item>\n <mdui-collapse-item header=\"header-2\">content-2</mdui-collapse-item>\n</mdui-collapse>\n```",
|
|
1768
1768
|
"attributes": [
|
|
1769
1769
|
{
|
|
1770
|
-
"name": "
|
|
1771
|
-
"description": "
|
|
1770
|
+
"name": "value",
|
|
1771
|
+
"description": "Specifies the value of the collapsible panel item.",
|
|
1772
1772
|
"references": [
|
|
1773
1773
|
{
|
|
1774
1774
|
"name": "Docs",
|
|
1775
|
-
"url": "https://www.mdui.org/en/docs/2/components/collapse#collapse-attributes-
|
|
1775
|
+
"url": "https://www.mdui.org/en/docs/2/components/collapse#collapse-item-attributes-value"
|
|
1776
1776
|
}
|
|
1777
1777
|
]
|
|
1778
1778
|
},
|
|
1779
1779
|
{
|
|
1780
|
-
"name": "
|
|
1781
|
-
"description": "
|
|
1780
|
+
"name": "header",
|
|
1781
|
+
"description": "Sets the header text for the collapsible panel item.",
|
|
1782
1782
|
"references": [
|
|
1783
1783
|
{
|
|
1784
1784
|
"name": "Docs",
|
|
1785
|
-
"url": "https://www.mdui.org/en/docs/2/components/collapse#collapse-attributes-
|
|
1785
|
+
"url": "https://www.mdui.org/en/docs/2/components/collapse#collapse-item-attributes-header"
|
|
1786
1786
|
}
|
|
1787
1787
|
]
|
|
1788
1788
|
},
|
|
1789
1789
|
{
|
|
1790
1790
|
"name": "disabled",
|
|
1791
|
-
"description": "Disables the collapsible panel.",
|
|
1791
|
+
"description": "Disables the collapsible panel item.",
|
|
1792
1792
|
"references": [
|
|
1793
1793
|
{
|
|
1794
1794
|
"name": "Docs",
|
|
1795
|
-
"url": "https://www.mdui.org/en/docs/2/components/collapse#collapse-attributes-disabled"
|
|
1795
|
+
"url": "https://www.mdui.org/en/docs/2/components/collapse#collapse-item-attributes-disabled"
|
|
1796
|
+
}
|
|
1797
|
+
]
|
|
1798
|
+
},
|
|
1799
|
+
{
|
|
1800
|
+
"name": "trigger",
|
|
1801
|
+
"description": "Identifies the element that triggers the collapse on click. This can be a CSS selector, a DOM element, or a [JQ object](https://www.mdui.org/en/docs/2/functions/jq). By default, the entire header area is the trigger.",
|
|
1802
|
+
"references": [
|
|
1803
|
+
{
|
|
1804
|
+
"name": "Docs",
|
|
1805
|
+
"url": "https://www.mdui.org/en/docs/2/components/collapse#collapse-item-attributes-trigger"
|
|
1796
1806
|
}
|
|
1797
1807
|
]
|
|
1798
1808
|
}
|
|
@@ -1804,51 +1814,41 @@
|
|
|
1804
1814
|
},
|
|
1805
1815
|
{
|
|
1806
1816
|
"name": "Github",
|
|
1807
|
-
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/collapse/collapse.ts"
|
|
1817
|
+
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/collapse/collapse-item.ts"
|
|
1808
1818
|
}
|
|
1809
1819
|
]
|
|
1810
1820
|
},
|
|
1811
1821
|
{
|
|
1812
|
-
"name": "mdui-collapse
|
|
1813
|
-
"description": "Collapse
|
|
1822
|
+
"name": "mdui-collapse",
|
|
1823
|
+
"description": "Collapse Panel Component It should be used in conjunction with the `<mdui-collapse-item>` component \n\n```html\n<mdui-collapse>\n <mdui-collapse-item header=\"header-1\">content-1</mdui-collapse-item>\n <mdui-collapse-item header=\"header-2\">content-2</mdui-collapse-item>\n</mdui-collapse>\n```",
|
|
1814
1824
|
"attributes": [
|
|
1815
1825
|
{
|
|
1816
|
-
"name": "
|
|
1817
|
-
"description": "
|
|
1826
|
+
"name": "accordion",
|
|
1827
|
+
"description": "Activates accordion mode.",
|
|
1818
1828
|
"references": [
|
|
1819
1829
|
{
|
|
1820
1830
|
"name": "Docs",
|
|
1821
|
-
"url": "https://www.mdui.org/en/docs/2/components/collapse#collapse-
|
|
1831
|
+
"url": "https://www.mdui.org/en/docs/2/components/collapse#collapse-attributes-accordion"
|
|
1822
1832
|
}
|
|
1823
1833
|
]
|
|
1824
1834
|
},
|
|
1825
1835
|
{
|
|
1826
|
-
"name": "
|
|
1827
|
-
"description": "
|
|
1836
|
+
"name": "value",
|
|
1837
|
+
"description": "Specifies the open `<mdui-collapse-item>` value.\n\nNote: The HTML attribute is always a string and can only be initially set when `accordion` is `true`. The JavaScript property value is a string when `accordion` is `true` and a string array when `accordion` is `false`. To modify this value when `accordion` is `false`, you must change the JavaScript property.",
|
|
1828
1838
|
"references": [
|
|
1829
1839
|
{
|
|
1830
1840
|
"name": "Docs",
|
|
1831
|
-
"url": "https://www.mdui.org/en/docs/2/components/collapse#collapse-
|
|
1841
|
+
"url": "https://www.mdui.org/en/docs/2/components/collapse#collapse-attributes-value"
|
|
1832
1842
|
}
|
|
1833
1843
|
]
|
|
1834
1844
|
},
|
|
1835
1845
|
{
|
|
1836
1846
|
"name": "disabled",
|
|
1837
|
-
"description": "Disables the collapsible panel
|
|
1838
|
-
"references": [
|
|
1839
|
-
{
|
|
1840
|
-
"name": "Docs",
|
|
1841
|
-
"url": "https://www.mdui.org/en/docs/2/components/collapse#collapse-item-attributes-disabled"
|
|
1842
|
-
}
|
|
1843
|
-
]
|
|
1844
|
-
},
|
|
1845
|
-
{
|
|
1846
|
-
"name": "trigger",
|
|
1847
|
-
"description": "Identifies the element that triggers the collapse on click. This can be a CSS selector, a DOM element, or a [JQ object](https://www.mdui.org/en/docs/2/functions/jq). By default, the entire header area is the trigger.",
|
|
1847
|
+
"description": "Disables the collapsible panel.",
|
|
1848
1848
|
"references": [
|
|
1849
1849
|
{
|
|
1850
1850
|
"name": "Docs",
|
|
1851
|
-
"url": "https://www.mdui.org/en/docs/2/components/collapse#collapse-
|
|
1851
|
+
"url": "https://www.mdui.org/en/docs/2/components/collapse#collapse-attributes-disabled"
|
|
1852
1852
|
}
|
|
1853
1853
|
]
|
|
1854
1854
|
}
|
|
@@ -1860,7 +1860,7 @@
|
|
|
1860
1860
|
},
|
|
1861
1861
|
{
|
|
1862
1862
|
"name": "Github",
|
|
1863
|
-
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/collapse/collapse
|
|
1863
|
+
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/collapse/collapse.ts"
|
|
1864
1864
|
}
|
|
1865
1865
|
]
|
|
1866
1866
|
},
|
|
@@ -2605,39 +2605,13 @@
|
|
|
2605
2605
|
]
|
|
2606
2606
|
},
|
|
2607
2607
|
{
|
|
2608
|
-
"name": "mdui-layout",
|
|
2609
|
-
"description": "Layout Component \n\n```html\n<mdui-layout>\n <mdui-layout-item></mdui-layout-item>\n <mdui-layout-item></mdui-layout-item>\n <mdui-layout-main></mdui-layout-main>\n</mdui-layout>\n```",
|
|
2608
|
+
"name": "mdui-layout-item",
|
|
2609
|
+
"description": "Layout Item Component \n\n```html\n<mdui-layout>\n <mdui-layout-item></mdui-layout-item>\n <mdui-layout-item></mdui-layout-item>\n <mdui-layout-main></mdui-layout-main>\n</mdui-layout>\n```",
|
|
2610
2610
|
"attributes": [
|
|
2611
2611
|
{
|
|
2612
|
-
"name": "
|
|
2613
|
-
"description": "
|
|
2614
|
-
"
|
|
2615
|
-
{
|
|
2616
|
-
"name": "Docs",
|
|
2617
|
-
"url": "https://www.mdui.org/en/docs/2/components/layout#layout-attributes-full-height"
|
|
2618
|
-
}
|
|
2619
|
-
]
|
|
2620
|
-
}
|
|
2621
|
-
],
|
|
2622
|
-
"references": [
|
|
2623
|
-
{
|
|
2624
|
-
"name": "Docs",
|
|
2625
|
-
"url": "https://www.mdui.org/en/docs/2/components/layout"
|
|
2626
|
-
},
|
|
2627
|
-
{
|
|
2628
|
-
"name": "Github",
|
|
2629
|
-
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/layout/layout.ts"
|
|
2630
|
-
}
|
|
2631
|
-
]
|
|
2632
|
-
},
|
|
2633
|
-
{
|
|
2634
|
-
"name": "mdui-layout-item",
|
|
2635
|
-
"description": "Layout Item Component \n\n```html\n<mdui-layout>\n <mdui-layout-item></mdui-layout-item>\n <mdui-layout-item></mdui-layout-item>\n <mdui-layout-main></mdui-layout-main>\n</mdui-layout>\n```",
|
|
2636
|
-
"attributes": [
|
|
2637
|
-
{
|
|
2638
|
-
"name": "placement",
|
|
2639
|
-
"description": "Determines the component's position. Possible values:\n\n* `top`: Positions the component at the top.\n* `bottom`: Positions the component at the bottom.\n* `left`: Positions the component on the left.\n* `right`: Positions the component on the right.",
|
|
2640
|
-
"values": [
|
|
2612
|
+
"name": "placement",
|
|
2613
|
+
"description": "Determines the component's position. Possible values:\n\n* `top`: Positions the component at the top.\n* `bottom`: Positions the component at the bottom.\n* `left`: Positions the component on the left.\n* `right`: Positions the component on the right.",
|
|
2614
|
+
"values": [
|
|
2641
2615
|
{
|
|
2642
2616
|
"name": "top",
|
|
2643
2617
|
"description": "Positions the component at the top."
|
|
@@ -2687,6 +2661,7 @@
|
|
|
2687
2661
|
{
|
|
2688
2662
|
"name": "mdui-layout-main",
|
|
2689
2663
|
"description": "Layout Main Component \n\n```html\n<mdui-layout>\n <mdui-layout-item></mdui-layout-item>\n <mdui-layout-item></mdui-layout-item>\n <mdui-layout-main></mdui-layout-main>\n</mdui-layout>\n```",
|
|
2664
|
+
"attributes": [],
|
|
2690
2665
|
"references": [
|
|
2691
2666
|
{
|
|
2692
2667
|
"name": "Docs",
|
|
@@ -2698,6 +2673,32 @@
|
|
|
2698
2673
|
}
|
|
2699
2674
|
]
|
|
2700
2675
|
},
|
|
2676
|
+
{
|
|
2677
|
+
"name": "mdui-layout",
|
|
2678
|
+
"description": "Layout Component \n\n```html\n<mdui-layout>\n <mdui-layout-item></mdui-layout-item>\n <mdui-layout-item></mdui-layout-item>\n <mdui-layout-main></mdui-layout-main>\n</mdui-layout>\n```",
|
|
2679
|
+
"attributes": [
|
|
2680
|
+
{
|
|
2681
|
+
"name": "full-height",
|
|
2682
|
+
"description": "Sets the layout height to 100%.",
|
|
2683
|
+
"references": [
|
|
2684
|
+
{
|
|
2685
|
+
"name": "Docs",
|
|
2686
|
+
"url": "https://www.mdui.org/en/docs/2/components/layout#layout-attributes-full-height"
|
|
2687
|
+
}
|
|
2688
|
+
]
|
|
2689
|
+
}
|
|
2690
|
+
],
|
|
2691
|
+
"references": [
|
|
2692
|
+
{
|
|
2693
|
+
"name": "Docs",
|
|
2694
|
+
"url": "https://www.mdui.org/en/docs/2/components/layout"
|
|
2695
|
+
},
|
|
2696
|
+
{
|
|
2697
|
+
"name": "Github",
|
|
2698
|
+
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/layout/layout.ts"
|
|
2699
|
+
}
|
|
2700
|
+
]
|
|
2701
|
+
},
|
|
2701
2702
|
{
|
|
2702
2703
|
"name": "mdui-linear-progress",
|
|
2703
2704
|
"description": "Linear Progress Component \n\n```html\n<mdui-linear-progress></mdui-linear-progress>\n```",
|
|
@@ -2734,20 +2735,6 @@
|
|
|
2734
2735
|
}
|
|
2735
2736
|
]
|
|
2736
2737
|
},
|
|
2737
|
-
{
|
|
2738
|
-
"name": "mdui-list",
|
|
2739
|
-
"description": "List Component It should be used in conjunction with the `<mdui-list-item>` component \n\n```html\n<mdui-list>\n <mdui-list-subheader>Subheader</mdui-list-subheader>\n <mdui-list-item>Item 1</mdui-list-item>\n <mdui-list-item>Item 2</mdui-list-item>\n</mdui-list>\n```",
|
|
2740
|
-
"references": [
|
|
2741
|
-
{
|
|
2742
|
-
"name": "Docs",
|
|
2743
|
-
"url": "https://www.mdui.org/en/docs/2/components/list"
|
|
2744
|
-
},
|
|
2745
|
-
{
|
|
2746
|
-
"name": "Github",
|
|
2747
|
-
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/list/list.ts"
|
|
2748
|
-
}
|
|
2749
|
-
]
|
|
2750
|
-
},
|
|
2751
2738
|
{
|
|
2752
2739
|
"name": "mdui-list-item",
|
|
2753
2740
|
"description": "List Item Component It should be used in conjunction with the `<mdui-list>` component \n\n```html\n<mdui-list>\n <mdui-list-subheader>Subheader</mdui-list-subheader>\n <mdui-list-item>Item 1</mdui-list-item>\n <mdui-list-item>Item 2</mdui-list-item>\n</mdui-list>\n```",
|
|
@@ -3055,6 +3042,7 @@
|
|
|
3055
3042
|
{
|
|
3056
3043
|
"name": "mdui-list-subheader",
|
|
3057
3044
|
"description": "List Subheader Component It should be used in conjunction with the `<mdui-list>` component \n\n```html\n<mdui-list>\n <mdui-list-subheader>Subheader</mdui-list-subheader>\n <mdui-list-item>Item 1</mdui-list-item>\n <mdui-list-item>Item 2</mdui-list-item>\n</mdui-list>\n```",
|
|
3045
|
+
"attributes": [],
|
|
3058
3046
|
"references": [
|
|
3059
3047
|
{
|
|
3060
3048
|
"name": "Docs",
|
|
@@ -3067,106 +3055,17 @@
|
|
|
3067
3055
|
]
|
|
3068
3056
|
},
|
|
3069
3057
|
{
|
|
3070
|
-
"name": "mdui-
|
|
3071
|
-
"description": "
|
|
3072
|
-
"attributes": [
|
|
3073
|
-
{
|
|
3074
|
-
"name": "selects",
|
|
3075
|
-
"description": "Defines the selectable state of menu items. Defaults to non-selectable. Possible values:\n\n* `single`: Only one item can be selected at a time.\n* `multiple`: Multiple items can be selected.",
|
|
3076
|
-
"values": [
|
|
3077
|
-
{
|
|
3078
|
-
"name": "single",
|
|
3079
|
-
"description": "Only one item can be selected at a time."
|
|
3080
|
-
},
|
|
3081
|
-
{
|
|
3082
|
-
"name": "multiple",
|
|
3083
|
-
"description": "Multiple items can be selected."
|
|
3084
|
-
}
|
|
3085
|
-
],
|
|
3086
|
-
"references": [
|
|
3087
|
-
{
|
|
3088
|
-
"name": "Docs",
|
|
3089
|
-
"url": "https://www.mdui.org/en/docs/2/components/menu#menu-attributes-selects"
|
|
3090
|
-
}
|
|
3091
|
-
]
|
|
3092
|
-
},
|
|
3093
|
-
{
|
|
3094
|
-
"name": "value",
|
|
3095
|
-
"description": "The value of the selected `<mdui-menu-item>`.\n\nNote: The HTML attribute is always a string and can only be set as an initial value when `selects=\"single\"`. The JavaScript property value is a string when `selects=\"single\"` and an array of strings when `selects=\"multiple\"`. In `selects=\"multiple\"`, this value can only be modified by changing the JavaScript property.",
|
|
3096
|
-
"references": [
|
|
3097
|
-
{
|
|
3098
|
-
"name": "Docs",
|
|
3099
|
-
"url": "https://www.mdui.org/en/docs/2/components/menu#menu-attributes-value"
|
|
3100
|
-
}
|
|
3101
|
-
]
|
|
3102
|
-
},
|
|
3103
|
-
{
|
|
3104
|
-
"name": "dense",
|
|
3105
|
-
"description": "Indicates whether the menu items use a compact layout.",
|
|
3106
|
-
"references": [
|
|
3107
|
-
{
|
|
3108
|
-
"name": "Docs",
|
|
3109
|
-
"url": "https://www.mdui.org/en/docs/2/components/menu#menu-attributes-dense"
|
|
3110
|
-
}
|
|
3111
|
-
]
|
|
3112
|
-
},
|
|
3113
|
-
{
|
|
3114
|
-
"name": "submenu-trigger",
|
|
3115
|
-
"description": "Defines the trigger method for submenus. Supports multiple values separated by spaces. Possible values:\n\n* `click`: Open submenu when clicking on a menu item.\n* `hover`: Open submenu when hovering over a menu item.\n* `focus`: Open submenu when focusing on a menu item.\n* `manual`: Only programmatically open and close submenus, no other trigger methods can be specified.",
|
|
3116
|
-
"values": [
|
|
3117
|
-
{
|
|
3118
|
-
"name": "click",
|
|
3119
|
-
"description": "Open submenu when clicking on a menu item."
|
|
3120
|
-
},
|
|
3121
|
-
{
|
|
3122
|
-
"name": "hover",
|
|
3123
|
-
"description": "Open submenu when hovering over a menu item."
|
|
3124
|
-
},
|
|
3125
|
-
{
|
|
3126
|
-
"name": "focus",
|
|
3127
|
-
"description": "Open submenu when focusing on a menu item."
|
|
3128
|
-
},
|
|
3129
|
-
{
|
|
3130
|
-
"name": "manual",
|
|
3131
|
-
"description": "Only programmatically open and close submenus, no other trigger methods can be specified."
|
|
3132
|
-
}
|
|
3133
|
-
],
|
|
3134
|
-
"references": [
|
|
3135
|
-
{
|
|
3136
|
-
"name": "Docs",
|
|
3137
|
-
"url": "https://www.mdui.org/en/docs/2/components/menu#menu-attributes-submenu-trigger"
|
|
3138
|
-
}
|
|
3139
|
-
]
|
|
3140
|
-
},
|
|
3141
|
-
{
|
|
3142
|
-
"name": "submenu-open-delay",
|
|
3143
|
-
"description": "Specifies the delay (in milliseconds) for opening a submenu via hover.",
|
|
3144
|
-
"references": [
|
|
3145
|
-
{
|
|
3146
|
-
"name": "Docs",
|
|
3147
|
-
"url": "https://www.mdui.org/en/docs/2/components/menu#menu-attributes-submenu-open-delay"
|
|
3148
|
-
}
|
|
3149
|
-
]
|
|
3150
|
-
},
|
|
3151
|
-
{
|
|
3152
|
-
"name": "submenu-close-delay",
|
|
3153
|
-
"description": "Specifies the delay (in milliseconds) for closing a submenu via hover.",
|
|
3154
|
-
"references": [
|
|
3155
|
-
{
|
|
3156
|
-
"name": "Docs",
|
|
3157
|
-
"url": "https://www.mdui.org/en/docs/2/components/menu#menu-attributes-submenu-close-delay"
|
|
3158
|
-
}
|
|
3159
|
-
]
|
|
3160
|
-
}
|
|
3161
|
-
],
|
|
3058
|
+
"name": "mdui-list",
|
|
3059
|
+
"description": "List Component It should be used in conjunction with the `<mdui-list-item>` component \n\n```html\n<mdui-list>\n <mdui-list-subheader>Subheader</mdui-list-subheader>\n <mdui-list-item>Item 1</mdui-list-item>\n <mdui-list-item>Item 2</mdui-list-item>\n</mdui-list>\n```",
|
|
3060
|
+
"attributes": [],
|
|
3162
3061
|
"references": [
|
|
3163
3062
|
{
|
|
3164
3063
|
"name": "Docs",
|
|
3165
|
-
"url": "https://www.mdui.org/en/docs/2/components/
|
|
3064
|
+
"url": "https://www.mdui.org/en/docs/2/components/list"
|
|
3166
3065
|
},
|
|
3167
3066
|
{
|
|
3168
3067
|
"name": "Github",
|
|
3169
|
-
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/
|
|
3068
|
+
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/list/list.ts"
|
|
3170
3069
|
}
|
|
3171
3070
|
]
|
|
3172
3071
|
},
|
|
@@ -3393,105 +3292,94 @@
|
|
|
3393
3292
|
]
|
|
3394
3293
|
},
|
|
3395
3294
|
{
|
|
3396
|
-
"name": "mdui-
|
|
3397
|
-
"description": "
|
|
3295
|
+
"name": "mdui-menu",
|
|
3296
|
+
"description": "Menu Component It should be used in conjunction with the `<mdui-menu-item>` component \n\n```html\n<mdui-menu>\n <mdui-menu-item>Item 1</mdui-menu-item>\n <mdui-menu-item>Item 2</mdui-menu-item>\n</mdui-menu>\n```",
|
|
3398
3297
|
"attributes": [
|
|
3399
3298
|
{
|
|
3400
|
-
"name": "
|
|
3401
|
-
"description": "
|
|
3402
|
-
"references": [
|
|
3403
|
-
{
|
|
3404
|
-
"name": "Docs",
|
|
3405
|
-
"url": "https://www.mdui.org/en/docs/2/components/navigation-bar#navigation-bar-attributes-hide"
|
|
3406
|
-
}
|
|
3407
|
-
]
|
|
3408
|
-
},
|
|
3409
|
-
{
|
|
3410
|
-
"name": "label-visibility",
|
|
3411
|
-
"description": "Specifies the visibility of the text. Possible values:\n\n* `auto`: Visible if there are 3 or fewer options, otherwise only the selected state is visible.\n* `selected`: Only visible in the selected state.\n* `labeled`: Always visible.\n* `unlabeled`: Never visible.",
|
|
3299
|
+
"name": "selects",
|
|
3300
|
+
"description": "Defines the selectable state of menu items. Defaults to non-selectable. Possible values:\n\n* `single`: Only one item can be selected at a time.\n* `multiple`: Multiple items can be selected.",
|
|
3412
3301
|
"values": [
|
|
3413
3302
|
{
|
|
3414
|
-
"name": "
|
|
3415
|
-
"description": "
|
|
3416
|
-
},
|
|
3417
|
-
{
|
|
3418
|
-
"name": "selected",
|
|
3419
|
-
"description": "Only visible in the selected state."
|
|
3420
|
-
},
|
|
3421
|
-
{
|
|
3422
|
-
"name": "labeled",
|
|
3423
|
-
"description": "Always visible."
|
|
3303
|
+
"name": "single",
|
|
3304
|
+
"description": "Only one item can be selected at a time."
|
|
3424
3305
|
},
|
|
3425
3306
|
{
|
|
3426
|
-
"name": "
|
|
3427
|
-
"description": "
|
|
3307
|
+
"name": "multiple",
|
|
3308
|
+
"description": "Multiple items can be selected."
|
|
3428
3309
|
}
|
|
3429
3310
|
],
|
|
3430
3311
|
"references": [
|
|
3431
3312
|
{
|
|
3432
3313
|
"name": "Docs",
|
|
3433
|
-
"url": "https://www.mdui.org/en/docs/2/components/
|
|
3314
|
+
"url": "https://www.mdui.org/en/docs/2/components/menu#menu-attributes-selects"
|
|
3434
3315
|
}
|
|
3435
3316
|
]
|
|
3436
3317
|
},
|
|
3437
3318
|
{
|
|
3438
3319
|
"name": "value",
|
|
3439
|
-
"description": "The value of the selected `<mdui-
|
|
3320
|
+
"description": "The value of the selected `<mdui-menu-item>`.\n\nNote: The HTML attribute is always a string and can only be set as an initial value when `selects=\"single\"`. The JavaScript property value is a string when `selects=\"single\"` and an array of strings when `selects=\"multiple\"`. In `selects=\"multiple\"`, this value can only be modified by changing the JavaScript property.",
|
|
3440
3321
|
"references": [
|
|
3441
3322
|
{
|
|
3442
3323
|
"name": "Docs",
|
|
3443
|
-
"url": "https://www.mdui.org/en/docs/2/components/
|
|
3324
|
+
"url": "https://www.mdui.org/en/docs/2/components/menu#menu-attributes-value"
|
|
3444
3325
|
}
|
|
3445
3326
|
]
|
|
3446
3327
|
},
|
|
3447
3328
|
{
|
|
3448
|
-
"name": "
|
|
3449
|
-
"description": "
|
|
3329
|
+
"name": "dense",
|
|
3330
|
+
"description": "Indicates whether the menu items use a compact layout.",
|
|
3331
|
+
"references": [
|
|
3332
|
+
{
|
|
3333
|
+
"name": "Docs",
|
|
3334
|
+
"url": "https://www.mdui.org/en/docs/2/components/menu#menu-attributes-dense"
|
|
3335
|
+
}
|
|
3336
|
+
]
|
|
3337
|
+
},
|
|
3338
|
+
{
|
|
3339
|
+
"name": "submenu-trigger",
|
|
3340
|
+
"description": "Defines the trigger method for submenus. Supports multiple values separated by spaces. Possible values:\n\n* `click`: Open submenu when clicking on a menu item.\n* `hover`: Open submenu when hovering over a menu item.\n* `focus`: Open submenu when focusing on a menu item.\n* `manual`: Only programmatically open and close submenus, no other trigger methods can be specified.",
|
|
3450
3341
|
"values": [
|
|
3451
3342
|
{
|
|
3452
|
-
"name": "
|
|
3343
|
+
"name": "click",
|
|
3344
|
+
"description": "Open submenu when clicking on a menu item."
|
|
3453
3345
|
},
|
|
3454
3346
|
{
|
|
3455
|
-
"name": "
|
|
3347
|
+
"name": "hover",
|
|
3348
|
+
"description": "Open submenu when hovering over a menu item."
|
|
3456
3349
|
},
|
|
3457
3350
|
{
|
|
3458
|
-
"name": "
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
"references": [
|
|
3351
|
+
"name": "focus",
|
|
3352
|
+
"description": "Open submenu when focusing on a menu item."
|
|
3353
|
+
},
|
|
3462
3354
|
{
|
|
3463
|
-
"name": "
|
|
3464
|
-
"
|
|
3355
|
+
"name": "manual",
|
|
3356
|
+
"description": "Only programmatically open and close submenus, no other trigger methods can be specified."
|
|
3465
3357
|
}
|
|
3466
|
-
]
|
|
3467
|
-
},
|
|
3468
|
-
{
|
|
3469
|
-
"name": "scroll-target",
|
|
3470
|
-
"description": "The element that listens for scroll events. Accepts a CSS selector, DOM element, or [JQ object](https://www.mdui.org/en/docs/2/functions/jq). Defaults to `window`.",
|
|
3358
|
+
],
|
|
3471
3359
|
"references": [
|
|
3472
3360
|
{
|
|
3473
3361
|
"name": "Docs",
|
|
3474
|
-
"url": "https://www.mdui.org/en/docs/2/components/
|
|
3362
|
+
"url": "https://www.mdui.org/en/docs/2/components/menu#menu-attributes-submenu-trigger"
|
|
3475
3363
|
}
|
|
3476
3364
|
]
|
|
3477
3365
|
},
|
|
3478
3366
|
{
|
|
3479
|
-
"name": "
|
|
3480
|
-
"description": "
|
|
3367
|
+
"name": "submenu-open-delay",
|
|
3368
|
+
"description": "Specifies the delay (in milliseconds) for opening a submenu via hover.",
|
|
3481
3369
|
"references": [
|
|
3482
3370
|
{
|
|
3483
3371
|
"name": "Docs",
|
|
3484
|
-
"url": "https://www.mdui.org/en/docs/2/components/
|
|
3372
|
+
"url": "https://www.mdui.org/en/docs/2/components/menu#menu-attributes-submenu-open-delay"
|
|
3485
3373
|
}
|
|
3486
3374
|
]
|
|
3487
3375
|
},
|
|
3488
3376
|
{
|
|
3489
|
-
"name": "
|
|
3490
|
-
"description": "Specifies the
|
|
3377
|
+
"name": "submenu-close-delay",
|
|
3378
|
+
"description": "Specifies the delay (in milliseconds) for closing a submenu via hover.",
|
|
3491
3379
|
"references": [
|
|
3492
3380
|
{
|
|
3493
3381
|
"name": "Docs",
|
|
3494
|
-
"url": "https://www.mdui.org/en/docs/2/components/
|
|
3382
|
+
"url": "https://www.mdui.org/en/docs/2/components/menu#menu-attributes-submenu-close-delay"
|
|
3495
3383
|
}
|
|
3496
3384
|
]
|
|
3497
3385
|
}
|
|
@@ -3499,11 +3387,11 @@
|
|
|
3499
3387
|
"references": [
|
|
3500
3388
|
{
|
|
3501
3389
|
"name": "Docs",
|
|
3502
|
-
"url": "https://www.mdui.org/en/docs/2/components/
|
|
3390
|
+
"url": "https://www.mdui.org/en/docs/2/components/menu"
|
|
3503
3391
|
},
|
|
3504
3392
|
{
|
|
3505
3393
|
"name": "Github",
|
|
3506
|
-
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/
|
|
3394
|
+
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/menu/menu.ts"
|
|
3507
3395
|
}
|
|
3508
3396
|
]
|
|
3509
3397
|
},
|
|
@@ -3690,76 +3578,95 @@
|
|
|
3690
3578
|
]
|
|
3691
3579
|
},
|
|
3692
3580
|
{
|
|
3693
|
-
"name": "mdui-navigation-
|
|
3694
|
-
"description": "Navigation
|
|
3695
|
-
"attributes": [
|
|
3581
|
+
"name": "mdui-navigation-bar",
|
|
3582
|
+
"description": "Navigation Bar Component It should be used in conjunction with the `<mdui-navigation-bar-item>` component \n\n```html\n<mdui-navigation-bar>\n <mdui-navigation-bar-item icon=\"place\">Item 1</mdui-navigation-bar-item>\n <mdui-navigation-bar-item icon=\"commute\">Item 2</mdui-navigation-bar-item>\n <mdui-navigation-bar-item icon=\"people\">Item 3</mdui-navigation-bar-item>\n</mdui-navigation-bar>\n```",
|
|
3583
|
+
"attributes": [
|
|
3696
3584
|
{
|
|
3697
|
-
"name": "
|
|
3698
|
-
"description": "
|
|
3585
|
+
"name": "hide",
|
|
3586
|
+
"description": "Hides the navigation bar when set.",
|
|
3699
3587
|
"references": [
|
|
3700
3588
|
{
|
|
3701
3589
|
"name": "Docs",
|
|
3702
|
-
"url": "https://www.mdui.org/en/docs/2/components/navigation-
|
|
3590
|
+
"url": "https://www.mdui.org/en/docs/2/components/navigation-bar#navigation-bar-attributes-hide"
|
|
3703
3591
|
}
|
|
3704
3592
|
]
|
|
3705
3593
|
},
|
|
3706
3594
|
{
|
|
3707
|
-
"name": "
|
|
3708
|
-
"description": "
|
|
3709
|
-
"
|
|
3595
|
+
"name": "label-visibility",
|
|
3596
|
+
"description": "Specifies the visibility of the text. Possible values:\n\n* `auto`: Visible if there are 3 or fewer options, otherwise only the selected state is visible.\n* `selected`: Only visible in the selected state.\n* `labeled`: Always visible.\n* `unlabeled`: Never visible.",
|
|
3597
|
+
"values": [
|
|
3710
3598
|
{
|
|
3711
|
-
"name": "
|
|
3712
|
-
"
|
|
3599
|
+
"name": "auto",
|
|
3600
|
+
"description": "Visible if there are 3 or fewer options, otherwise only the selected state is visible."
|
|
3601
|
+
},
|
|
3602
|
+
{
|
|
3603
|
+
"name": "selected",
|
|
3604
|
+
"description": "Only visible in the selected state."
|
|
3605
|
+
},
|
|
3606
|
+
{
|
|
3607
|
+
"name": "labeled",
|
|
3608
|
+
"description": "Always visible."
|
|
3609
|
+
},
|
|
3610
|
+
{
|
|
3611
|
+
"name": "unlabeled",
|
|
3612
|
+
"description": "Never visible."
|
|
3713
3613
|
}
|
|
3714
|
-
]
|
|
3715
|
-
},
|
|
3716
|
-
{
|
|
3717
|
-
"name": "close-on-esc",
|
|
3718
|
-
"description": "Closes the drawer when the ESC key is pressed and an overlay is present.",
|
|
3614
|
+
],
|
|
3719
3615
|
"references": [
|
|
3720
3616
|
{
|
|
3721
3617
|
"name": "Docs",
|
|
3722
|
-
"url": "https://www.mdui.org/en/docs/2/components/navigation-
|
|
3618
|
+
"url": "https://www.mdui.org/en/docs/2/components/navigation-bar#navigation-bar-attributes-label-visibility"
|
|
3723
3619
|
}
|
|
3724
3620
|
]
|
|
3725
3621
|
},
|
|
3726
3622
|
{
|
|
3727
|
-
"name": "
|
|
3728
|
-
"description": "
|
|
3623
|
+
"name": "value",
|
|
3624
|
+
"description": "The value of the selected `<mdui-navigation-bar-item>`.",
|
|
3729
3625
|
"references": [
|
|
3730
3626
|
{
|
|
3731
3627
|
"name": "Docs",
|
|
3732
|
-
"url": "https://www.mdui.org/en/docs/2/components/navigation-
|
|
3628
|
+
"url": "https://www.mdui.org/en/docs/2/components/navigation-bar#navigation-bar-attributes-value"
|
|
3733
3629
|
}
|
|
3734
3630
|
]
|
|
3735
3631
|
},
|
|
3736
3632
|
{
|
|
3737
|
-
"name": "
|
|
3738
|
-
"description": "
|
|
3633
|
+
"name": "scroll-behavior",
|
|
3634
|
+
"description": "Defines the scroll behavior. Possible values:\n\n* `hide`: Hides when scrolling.",
|
|
3739
3635
|
"values": [
|
|
3740
3636
|
{
|
|
3741
|
-
"name": "
|
|
3742
|
-
"description": "Display on the left side."
|
|
3637
|
+
"name": "hide"
|
|
3743
3638
|
},
|
|
3744
3639
|
{
|
|
3745
|
-
"name": "
|
|
3746
|
-
|
|
3640
|
+
"name": "shrink"
|
|
3641
|
+
},
|
|
3642
|
+
{
|
|
3643
|
+
"name": "elevate"
|
|
3747
3644
|
}
|
|
3748
3645
|
],
|
|
3749
3646
|
"references": [
|
|
3750
3647
|
{
|
|
3751
3648
|
"name": "Docs",
|
|
3752
|
-
"url": "https://www.mdui.org/en/docs/2/components/navigation-
|
|
3649
|
+
"url": "https://www.mdui.org/en/docs/2/components/navigation-bar#navigation-bar-attributes-scroll-behavior"
|
|
3753
3650
|
}
|
|
3754
3651
|
]
|
|
3755
3652
|
},
|
|
3756
3653
|
{
|
|
3757
|
-
"name": "
|
|
3758
|
-
"description": "
|
|
3654
|
+
"name": "scroll-target",
|
|
3655
|
+
"description": "The element that listens for scroll events. Accepts a CSS selector, DOM element, or [JQ object](https://www.mdui.org/en/docs/2/functions/jq). Defaults to `window`.",
|
|
3759
3656
|
"references": [
|
|
3760
3657
|
{
|
|
3761
3658
|
"name": "Docs",
|
|
3762
|
-
"url": "https://www.mdui.org/en/docs/2/components/navigation-
|
|
3659
|
+
"url": "https://www.mdui.org/en/docs/2/components/navigation-bar#navigation-bar-attributes-scroll-target"
|
|
3660
|
+
}
|
|
3661
|
+
]
|
|
3662
|
+
},
|
|
3663
|
+
{
|
|
3664
|
+
"name": "scroll-threshold",
|
|
3665
|
+
"description": "The scroll distance (in pixels) that triggers the scroll behavior.",
|
|
3666
|
+
"references": [
|
|
3667
|
+
{
|
|
3668
|
+
"name": "Docs",
|
|
3669
|
+
"url": "https://www.mdui.org/en/docs/2/components/navigation-bar#navigation-bar-attributes-scroll-threshold"
|
|
3763
3670
|
}
|
|
3764
3671
|
]
|
|
3765
3672
|
},
|
|
@@ -3769,7 +3676,7 @@
|
|
|
3769
3676
|
"references": [
|
|
3770
3677
|
{
|
|
3771
3678
|
"name": "Docs",
|
|
3772
|
-
"url": "https://www.mdui.org/en/docs/2/components/navigation-
|
|
3679
|
+
"url": "https://www.mdui.org/en/docs/2/components/navigation-bar#navigation-bar-attributes-order"
|
|
3773
3680
|
}
|
|
3774
3681
|
]
|
|
3775
3682
|
}
|
|
@@ -3777,89 +3684,85 @@
|
|
|
3777
3684
|
"references": [
|
|
3778
3685
|
{
|
|
3779
3686
|
"name": "Docs",
|
|
3780
|
-
"url": "https://www.mdui.org/en/docs/2/components/navigation-
|
|
3687
|
+
"url": "https://www.mdui.org/en/docs/2/components/navigation-bar"
|
|
3781
3688
|
},
|
|
3782
3689
|
{
|
|
3783
3690
|
"name": "Github",
|
|
3784
|
-
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/navigation-
|
|
3691
|
+
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/navigation-bar/navigation-bar.ts"
|
|
3785
3692
|
}
|
|
3786
3693
|
]
|
|
3787
3694
|
},
|
|
3788
3695
|
{
|
|
3789
|
-
"name": "mdui-navigation-
|
|
3790
|
-
"description": "Navigation
|
|
3696
|
+
"name": "mdui-navigation-drawer",
|
|
3697
|
+
"description": "Navigation Drawer Component \n\n```html\n<mdui-navigation-drawer>content</mdui-navigation-drawer>\n```",
|
|
3791
3698
|
"attributes": [
|
|
3792
3699
|
{
|
|
3793
|
-
"name": "
|
|
3794
|
-
"description": "
|
|
3700
|
+
"name": "open",
|
|
3701
|
+
"description": "Opens the navigation drawer.",
|
|
3795
3702
|
"references": [
|
|
3796
3703
|
{
|
|
3797
3704
|
"name": "Docs",
|
|
3798
|
-
"url": "https://www.mdui.org/en/docs/2/components/navigation-
|
|
3705
|
+
"url": "https://www.mdui.org/en/docs/2/components/navigation-drawer#attributes-open"
|
|
3799
3706
|
}
|
|
3800
3707
|
]
|
|
3801
3708
|
},
|
|
3802
3709
|
{
|
|
3803
|
-
"name": "
|
|
3804
|
-
"description": "
|
|
3805
|
-
"
|
|
3710
|
+
"name": "modal",
|
|
3711
|
+
"description": "Displays an overlay when open.\n\nOn narrow devices (screen width < [`--mdui-breakpoint-md`](https://www.mdui.org/en/docs/2/styles/design-tokens#breakpoint)), the overlay always displays.",
|
|
3712
|
+
"references": [
|
|
3806
3713
|
{
|
|
3807
|
-
"name": "
|
|
3808
|
-
"
|
|
3809
|
-
}
|
|
3714
|
+
"name": "Docs",
|
|
3715
|
+
"url": "https://www.mdui.org/en/docs/2/components/navigation-drawer#attributes-modal"
|
|
3716
|
+
}
|
|
3717
|
+
]
|
|
3718
|
+
},
|
|
3719
|
+
{
|
|
3720
|
+
"name": "close-on-esc",
|
|
3721
|
+
"description": "Closes the drawer when the ESC key is pressed and an overlay is present.",
|
|
3722
|
+
"references": [
|
|
3810
3723
|
{
|
|
3811
|
-
"name": "
|
|
3812
|
-
"
|
|
3724
|
+
"name": "Docs",
|
|
3725
|
+
"url": "https://www.mdui.org/en/docs/2/components/navigation-drawer#attributes-close-on-esc"
|
|
3813
3726
|
}
|
|
3814
|
-
]
|
|
3727
|
+
]
|
|
3728
|
+
},
|
|
3729
|
+
{
|
|
3730
|
+
"name": "close-on-overlay-click",
|
|
3731
|
+
"description": "Closes the drawer when the overlay is clicked.",
|
|
3815
3732
|
"references": [
|
|
3816
3733
|
{
|
|
3817
3734
|
"name": "Docs",
|
|
3818
|
-
"url": "https://www.mdui.org/en/docs/2/components/navigation-
|
|
3735
|
+
"url": "https://www.mdui.org/en/docs/2/components/navigation-drawer#attributes-close-on-overlay-click"
|
|
3819
3736
|
}
|
|
3820
3737
|
]
|
|
3821
3738
|
},
|
|
3822
3739
|
{
|
|
3823
|
-
"name": "
|
|
3824
|
-
"description": "Sets the
|
|
3740
|
+
"name": "placement",
|
|
3741
|
+
"description": "Sets the drawer's display position. Possible values:\n\n* `left`: Display on the left side.\n* `right`: Display on the right side.",
|
|
3825
3742
|
"values": [
|
|
3826
3743
|
{
|
|
3827
|
-
"name": "
|
|
3828
|
-
"description": "
|
|
3829
|
-
},
|
|
3830
|
-
{
|
|
3831
|
-
"name": "center",
|
|
3832
|
-
"description": "Aligns to the center."
|
|
3744
|
+
"name": "left",
|
|
3745
|
+
"description": "Display on the left side."
|
|
3833
3746
|
},
|
|
3834
3747
|
{
|
|
3835
|
-
"name": "
|
|
3836
|
-
"description": "
|
|
3748
|
+
"name": "right",
|
|
3749
|
+
"description": "Display on the right side."
|
|
3837
3750
|
}
|
|
3838
3751
|
],
|
|
3839
3752
|
"references": [
|
|
3840
3753
|
{
|
|
3841
3754
|
"name": "Docs",
|
|
3842
|
-
"url": "https://www.mdui.org/en/docs/2/components/navigation-
|
|
3755
|
+
"url": "https://www.mdui.org/en/docs/2/components/navigation-drawer#attributes-placement"
|
|
3843
3756
|
}
|
|
3844
3757
|
]
|
|
3845
3758
|
},
|
|
3846
3759
|
{
|
|
3847
3760
|
"name": "contained",
|
|
3848
|
-
"description": "By default, the navigation
|
|
3849
|
-
"references": [
|
|
3850
|
-
{
|
|
3851
|
-
"name": "Docs",
|
|
3852
|
-
"url": "https://www.mdui.org/en/docs/2/components/navigation-rail#navigation-rail-attributes-contained"
|
|
3853
|
-
}
|
|
3854
|
-
]
|
|
3855
|
-
},
|
|
3856
|
-
{
|
|
3857
|
-
"name": "divider",
|
|
3858
|
-
"description": "Adds a divider between the navigation bar and the page content.",
|
|
3761
|
+
"description": "By default, the navigation drawer displays relative to the `body` element. When set, it displays relative to its parent element.\n\nNote: You must add `position: relative; overflow: hidden;` style to the parent element when this attribute is set.",
|
|
3859
3762
|
"references": [
|
|
3860
3763
|
{
|
|
3861
3764
|
"name": "Docs",
|
|
3862
|
-
"url": "https://www.mdui.org/en/docs/2/components/navigation-
|
|
3765
|
+
"url": "https://www.mdui.org/en/docs/2/components/navigation-drawer#attributes-contained"
|
|
3863
3766
|
}
|
|
3864
3767
|
]
|
|
3865
3768
|
},
|
|
@@ -3869,7 +3772,7 @@
|
|
|
3869
3772
|
"references": [
|
|
3870
3773
|
{
|
|
3871
3774
|
"name": "Docs",
|
|
3872
|
-
"url": "https://www.mdui.org/en/docs/2/components/navigation-
|
|
3775
|
+
"url": "https://www.mdui.org/en/docs/2/components/navigation-drawer#attributes-order"
|
|
3873
3776
|
}
|
|
3874
3777
|
]
|
|
3875
3778
|
}
|
|
@@ -3877,11 +3780,11 @@
|
|
|
3877
3780
|
"references": [
|
|
3878
3781
|
{
|
|
3879
3782
|
"name": "Docs",
|
|
3880
|
-
"url": "https://www.mdui.org/en/docs/2/components/navigation-
|
|
3783
|
+
"url": "https://www.mdui.org/en/docs/2/components/navigation-drawer"
|
|
3881
3784
|
},
|
|
3882
3785
|
{
|
|
3883
3786
|
"name": "Github",
|
|
3884
|
-
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/navigation-
|
|
3787
|
+
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/navigation-drawer/index.ts"
|
|
3885
3788
|
}
|
|
3886
3789
|
]
|
|
3887
3790
|
},
|
|
@@ -4068,76 +3971,90 @@
|
|
|
4068
3971
|
]
|
|
4069
3972
|
},
|
|
4070
3973
|
{
|
|
4071
|
-
"name": "mdui-
|
|
4072
|
-
"description": "
|
|
3974
|
+
"name": "mdui-navigation-rail",
|
|
3975
|
+
"description": "Navigation Rail Component It should be used in conjunction with the `<mdui-navigation-rail-item>` component \n\n```html\n<mdui-navigation-rail>\n <mdui-navigation-rail-item icon=\"watch_later\">Recent</mdui-navigation-rail-item>\n <mdui-navigation-rail-item icon=\"image\">Images</mdui-navigation-rail-item>\n <mdui-navigation-rail-item icon=\"library_music\">Library</mdui-navigation-rail-item>\n</mdui-navigation-rail>\n```",
|
|
4073
3976
|
"attributes": [
|
|
4074
3977
|
{
|
|
4075
3978
|
"name": "value",
|
|
4076
|
-
"description": "
|
|
3979
|
+
"description": "The value of the selected `<mdui-navigation-rail-item>`.",
|
|
4077
3980
|
"references": [
|
|
4078
3981
|
{
|
|
4079
3982
|
"name": "Docs",
|
|
4080
|
-
"url": "https://www.mdui.org/en/docs/2/components/
|
|
3983
|
+
"url": "https://www.mdui.org/en/docs/2/components/navigation-rail#navigation-rail-attributes-value"
|
|
4081
3984
|
}
|
|
4082
3985
|
]
|
|
4083
3986
|
},
|
|
4084
3987
|
{
|
|
4085
|
-
"name": "
|
|
4086
|
-
"description": "
|
|
4087
|
-
"
|
|
3988
|
+
"name": "placement",
|
|
3989
|
+
"description": "Sets the navigation bar's position. Possible values:\n\n* `left`: Display on the left.\n* `right`: Display on the right.",
|
|
3990
|
+
"values": [
|
|
4088
3991
|
{
|
|
4089
|
-
"name": "
|
|
4090
|
-
"
|
|
3992
|
+
"name": "left",
|
|
3993
|
+
"description": "Display on the left."
|
|
3994
|
+
},
|
|
3995
|
+
{
|
|
3996
|
+
"name": "right",
|
|
3997
|
+
"description": "Display on the right."
|
|
4091
3998
|
}
|
|
4092
|
-
]
|
|
4093
|
-
},
|
|
4094
|
-
{
|
|
4095
|
-
"name": "checked",
|
|
4096
|
-
"description": "Sets the radio to the checked state.",
|
|
3999
|
+
],
|
|
4097
4000
|
"references": [
|
|
4098
4001
|
{
|
|
4099
4002
|
"name": "Docs",
|
|
4100
|
-
"url": "https://www.mdui.org/en/docs/2/components/
|
|
4003
|
+
"url": "https://www.mdui.org/en/docs/2/components/navigation-rail#navigation-rail-attributes-placement"
|
|
4101
4004
|
}
|
|
4102
4005
|
]
|
|
4103
4006
|
},
|
|
4104
4007
|
{
|
|
4105
|
-
"name": "
|
|
4106
|
-
"description": "
|
|
4008
|
+
"name": "alignment",
|
|
4009
|
+
"description": "Sets the alignment of `<mdui-navigation-rail-item>`. Possible values:\n\n* `start`: Aligns to the top.\n* `center`: Aligns to the center.\n* `end`: Aligns to the bottom.",
|
|
4010
|
+
"values": [
|
|
4011
|
+
{
|
|
4012
|
+
"name": "start",
|
|
4013
|
+
"description": "Aligns to the top."
|
|
4014
|
+
},
|
|
4015
|
+
{
|
|
4016
|
+
"name": "center",
|
|
4017
|
+
"description": "Aligns to the center."
|
|
4018
|
+
},
|
|
4019
|
+
{
|
|
4020
|
+
"name": "end",
|
|
4021
|
+
"description": "Aligns to the bottom."
|
|
4022
|
+
}
|
|
4023
|
+
],
|
|
4107
4024
|
"references": [
|
|
4108
4025
|
{
|
|
4109
4026
|
"name": "Docs",
|
|
4110
|
-
"url": "https://www.mdui.org/en/docs/2/components/
|
|
4027
|
+
"url": "https://www.mdui.org/en/docs/2/components/navigation-rail#navigation-rail-attributes-alignment"
|
|
4111
4028
|
}
|
|
4112
4029
|
]
|
|
4113
4030
|
},
|
|
4114
4031
|
{
|
|
4115
|
-
"name": "
|
|
4116
|
-
"description": "
|
|
4032
|
+
"name": "contained",
|
|
4033
|
+
"description": "By default, the navigation rail displays relative to the `body` element. When set, it displays relative to its parent element.\n\nNote: You must add `position: relative; overflow: hidden;` style to the parent element when this attribute is set.",
|
|
4117
4034
|
"references": [
|
|
4118
4035
|
{
|
|
4119
4036
|
"name": "Docs",
|
|
4120
|
-
"url": "https://www.mdui.org/en/docs/2/components/
|
|
4037
|
+
"url": "https://www.mdui.org/en/docs/2/components/navigation-rail#navigation-rail-attributes-contained"
|
|
4121
4038
|
}
|
|
4122
4039
|
]
|
|
4123
4040
|
},
|
|
4124
4041
|
{
|
|
4125
|
-
"name": "
|
|
4126
|
-
"description": "
|
|
4042
|
+
"name": "divider",
|
|
4043
|
+
"description": "Adds a divider between the navigation bar and the page content.",
|
|
4127
4044
|
"references": [
|
|
4128
4045
|
{
|
|
4129
4046
|
"name": "Docs",
|
|
4130
|
-
"url": "https://www.mdui.org/en/docs/2/components/
|
|
4047
|
+
"url": "https://www.mdui.org/en/docs/2/components/navigation-rail#navigation-rail-attributes-divider"
|
|
4131
4048
|
}
|
|
4132
4049
|
]
|
|
4133
4050
|
},
|
|
4134
4051
|
{
|
|
4135
|
-
"name": "
|
|
4136
|
-
"description": "Specifies the order
|
|
4052
|
+
"name": "order",
|
|
4053
|
+
"description": "Specifies the layout order within the [`<mdui-layout>`](https://www.mdui.org/en/docs/2/components/layout) component. Items are sorted in ascending order. The default value is `0`.",
|
|
4137
4054
|
"references": [
|
|
4138
4055
|
{
|
|
4139
4056
|
"name": "Docs",
|
|
4140
|
-
"url": "https://www.mdui.org/en/docs/2/components/
|
|
4057
|
+
"url": "https://www.mdui.org/en/docs/2/components/navigation-rail#navigation-rail-attributes-order"
|
|
4141
4058
|
}
|
|
4142
4059
|
]
|
|
4143
4060
|
}
|
|
@@ -4145,11 +4062,11 @@
|
|
|
4145
4062
|
"references": [
|
|
4146
4063
|
{
|
|
4147
4064
|
"name": "Docs",
|
|
4148
|
-
"url": "https://www.mdui.org/en/docs/2/components/
|
|
4065
|
+
"url": "https://www.mdui.org/en/docs/2/components/navigation-rail"
|
|
4149
4066
|
},
|
|
4150
4067
|
{
|
|
4151
4068
|
"name": "Github",
|
|
4152
|
-
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/
|
|
4069
|
+
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/navigation-rail/navigation-rail.ts"
|
|
4153
4070
|
}
|
|
4154
4071
|
]
|
|
4155
4072
|
},
|
|
@@ -4219,6 +4136,92 @@
|
|
|
4219
4136
|
}
|
|
4220
4137
|
]
|
|
4221
4138
|
},
|
|
4139
|
+
{
|
|
4140
|
+
"name": "mdui-radio",
|
|
4141
|
+
"description": "Radio Component It should be used in conjunction with the `<mdui-radio-group>` component \n\n```html\n<mdui-radio-group value=\"chinese\">\n <mdui-radio value=\"chinese\">Chinese</mdui-radio>\n <mdui-radio value=\"english\">English</mdui-radio>\n</mdui-radio-group>\n```",
|
|
4142
|
+
"attributes": [
|
|
4143
|
+
{
|
|
4144
|
+
"name": "value",
|
|
4145
|
+
"description": "Specifies the value of the radio.",
|
|
4146
|
+
"references": [
|
|
4147
|
+
{
|
|
4148
|
+
"name": "Docs",
|
|
4149
|
+
"url": "https://www.mdui.org/en/docs/2/components/radio#radio-attributes-value"
|
|
4150
|
+
}
|
|
4151
|
+
]
|
|
4152
|
+
},
|
|
4153
|
+
{
|
|
4154
|
+
"name": "disabled",
|
|
4155
|
+
"description": "Disables the radio when set.",
|
|
4156
|
+
"references": [
|
|
4157
|
+
{
|
|
4158
|
+
"name": "Docs",
|
|
4159
|
+
"url": "https://www.mdui.org/en/docs/2/components/radio#radio-attributes-disabled"
|
|
4160
|
+
}
|
|
4161
|
+
]
|
|
4162
|
+
},
|
|
4163
|
+
{
|
|
4164
|
+
"name": "checked",
|
|
4165
|
+
"description": "Sets the radio to the checked state.",
|
|
4166
|
+
"references": [
|
|
4167
|
+
{
|
|
4168
|
+
"name": "Docs",
|
|
4169
|
+
"url": "https://www.mdui.org/en/docs/2/components/radio#radio-attributes-checked"
|
|
4170
|
+
}
|
|
4171
|
+
]
|
|
4172
|
+
},
|
|
4173
|
+
{
|
|
4174
|
+
"name": "unchecked-icon",
|
|
4175
|
+
"description": "Specifies the Material Icons name for the unchecked state. Alternatively, use `slot=\"unchecked-icon\"`.",
|
|
4176
|
+
"references": [
|
|
4177
|
+
{
|
|
4178
|
+
"name": "Docs",
|
|
4179
|
+
"url": "https://www.mdui.org/en/docs/2/components/radio#radio-attributes-unchecked-icon"
|
|
4180
|
+
}
|
|
4181
|
+
]
|
|
4182
|
+
},
|
|
4183
|
+
{
|
|
4184
|
+
"name": "checked-icon",
|
|
4185
|
+
"description": "Specifies the Material Icons name for the checked state. Alternatively, use `slot=\"checked-icon\"`.",
|
|
4186
|
+
"references": [
|
|
4187
|
+
{
|
|
4188
|
+
"name": "Docs",
|
|
4189
|
+
"url": "https://www.mdui.org/en/docs/2/components/radio#radio-attributes-checked-icon"
|
|
4190
|
+
}
|
|
4191
|
+
]
|
|
4192
|
+
},
|
|
4193
|
+
{
|
|
4194
|
+
"name": "autofocus",
|
|
4195
|
+
"description": "Determines if the element should be focused when the page loads.",
|
|
4196
|
+
"references": [
|
|
4197
|
+
{
|
|
4198
|
+
"name": "Docs",
|
|
4199
|
+
"url": "https://www.mdui.org/en/docs/2/components/radio#radio-attributes-autofocus"
|
|
4200
|
+
}
|
|
4201
|
+
]
|
|
4202
|
+
},
|
|
4203
|
+
{
|
|
4204
|
+
"name": "tabindex",
|
|
4205
|
+
"description": "Specifies the order in which the element receives focus when navigating with the Tab key.",
|
|
4206
|
+
"references": [
|
|
4207
|
+
{
|
|
4208
|
+
"name": "Docs",
|
|
4209
|
+
"url": "https://www.mdui.org/en/docs/2/components/radio#radio-attributes-tabindex"
|
|
4210
|
+
}
|
|
4211
|
+
]
|
|
4212
|
+
}
|
|
4213
|
+
],
|
|
4214
|
+
"references": [
|
|
4215
|
+
{
|
|
4216
|
+
"name": "Docs",
|
|
4217
|
+
"url": "https://www.mdui.org/en/docs/2/components/radio"
|
|
4218
|
+
},
|
|
4219
|
+
{
|
|
4220
|
+
"name": "Github",
|
|
4221
|
+
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/radio/radio.ts"
|
|
4222
|
+
}
|
|
4223
|
+
]
|
|
4224
|
+
},
|
|
4222
4225
|
{
|
|
4223
4226
|
"name": "mdui-range-slider",
|
|
4224
4227
|
"description": "Range Slider Component \n\n```html\n<mdui-range-slider></mdui-range-slider>\n```",
|
|
@@ -4239,87 +4242,183 @@
|
|
|
4239
4242
|
"references": [
|
|
4240
4243
|
{
|
|
4241
4244
|
"name": "Docs",
|
|
4242
|
-
"url": "https://www.mdui.org/en/docs/2/components/range-slider#attributes-tabindex"
|
|
4245
|
+
"url": "https://www.mdui.org/en/docs/2/components/range-slider#attributes-tabindex"
|
|
4246
|
+
}
|
|
4247
|
+
]
|
|
4248
|
+
},
|
|
4249
|
+
{
|
|
4250
|
+
"name": "min",
|
|
4251
|
+
"description": "Specifies the minimum value. Default is `0`.",
|
|
4252
|
+
"references": [
|
|
4253
|
+
{
|
|
4254
|
+
"name": "Docs",
|
|
4255
|
+
"url": "https://www.mdui.org/en/docs/2/components/range-slider#attributes-min"
|
|
4256
|
+
}
|
|
4257
|
+
]
|
|
4258
|
+
},
|
|
4259
|
+
{
|
|
4260
|
+
"name": "max",
|
|
4261
|
+
"description": "Specifies the maximum value. Default is `100`.",
|
|
4262
|
+
"references": [
|
|
4263
|
+
{
|
|
4264
|
+
"name": "Docs",
|
|
4265
|
+
"url": "https://www.mdui.org/en/docs/2/components/range-slider#attributes-max"
|
|
4266
|
+
}
|
|
4267
|
+
]
|
|
4268
|
+
},
|
|
4269
|
+
{
|
|
4270
|
+
"name": "step",
|
|
4271
|
+
"description": "Specifies the step interval. Default is `1`.",
|
|
4272
|
+
"references": [
|
|
4273
|
+
{
|
|
4274
|
+
"name": "Docs",
|
|
4275
|
+
"url": "https://www.mdui.org/en/docs/2/components/range-slider#attributes-step"
|
|
4276
|
+
}
|
|
4277
|
+
]
|
|
4278
|
+
},
|
|
4279
|
+
{
|
|
4280
|
+
"name": "tickmarks",
|
|
4281
|
+
"description": "Adds tickmarks to the slider.",
|
|
4282
|
+
"references": [
|
|
4283
|
+
{
|
|
4284
|
+
"name": "Docs",
|
|
4285
|
+
"url": "https://www.mdui.org/en/docs/2/components/range-slider#attributes-tickmarks"
|
|
4286
|
+
}
|
|
4287
|
+
]
|
|
4288
|
+
},
|
|
4289
|
+
{
|
|
4290
|
+
"name": "nolabel",
|
|
4291
|
+
"description": "Hides the tooltip.",
|
|
4292
|
+
"references": [
|
|
4293
|
+
{
|
|
4294
|
+
"name": "Docs",
|
|
4295
|
+
"url": "https://www.mdui.org/en/docs/2/components/range-slider#attributes-nolabel"
|
|
4296
|
+
}
|
|
4297
|
+
]
|
|
4298
|
+
},
|
|
4299
|
+
{
|
|
4300
|
+
"name": "disabled",
|
|
4301
|
+
"description": "Disables the slider.",
|
|
4302
|
+
"references": [
|
|
4303
|
+
{
|
|
4304
|
+
"name": "Docs",
|
|
4305
|
+
"url": "https://www.mdui.org/en/docs/2/components/range-slider#attributes-disabled"
|
|
4306
|
+
}
|
|
4307
|
+
]
|
|
4308
|
+
},
|
|
4309
|
+
{
|
|
4310
|
+
"name": "form",
|
|
4311
|
+
"description": "Associates the slider with a `<form>` element. The value should be the `id` of a `<form>` in the same document. If not set, the slider is associated with its parent `<form>`, if any.\n\nThis attribute allows slider elements to be associated with `<form>`s anywhere in the document, not just inside a `<form>`.",
|
|
4312
|
+
"references": [
|
|
4313
|
+
{
|
|
4314
|
+
"name": "Docs",
|
|
4315
|
+
"url": "https://www.mdui.org/en/docs/2/components/range-slider#attributes-form"
|
|
4243
4316
|
}
|
|
4244
4317
|
]
|
|
4245
4318
|
},
|
|
4246
4319
|
{
|
|
4247
|
-
"name": "
|
|
4248
|
-
"description": "Specifies the
|
|
4320
|
+
"name": "name",
|
|
4321
|
+
"description": "Specifies the slider's name, which is submitted with the form data.",
|
|
4249
4322
|
"references": [
|
|
4250
4323
|
{
|
|
4251
4324
|
"name": "Docs",
|
|
4252
|
-
"url": "https://www.mdui.org/en/docs/2/components/range-slider#attributes-
|
|
4325
|
+
"url": "https://www.mdui.org/en/docs/2/components/range-slider#attributes-name"
|
|
4253
4326
|
}
|
|
4254
4327
|
]
|
|
4328
|
+
}
|
|
4329
|
+
],
|
|
4330
|
+
"references": [
|
|
4331
|
+
{
|
|
4332
|
+
"name": "Docs",
|
|
4333
|
+
"url": "https://www.mdui.org/en/docs/2/components/range-slider"
|
|
4255
4334
|
},
|
|
4256
4335
|
{
|
|
4257
|
-
"name": "
|
|
4258
|
-
"
|
|
4336
|
+
"name": "Github",
|
|
4337
|
+
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/range-slider/index.ts"
|
|
4338
|
+
}
|
|
4339
|
+
]
|
|
4340
|
+
},
|
|
4341
|
+
{
|
|
4342
|
+
"name": "mdui-segmented-button-group",
|
|
4343
|
+
"description": "Segmented Button Group Component It should be used in conjunction with the `<mdui-segmented-button>` component \n\n```html\n<mdui-segmented-button-group>\n <mdui-segmented-button>Day</mdui-segmented-button>\n <mdui-segmented-button>Week</mdui-segmented-button>\n <mdui-segmented-button>Month</mdui-segmented-button>\n</mdui-segmented-button-group>\n```",
|
|
4344
|
+
"attributes": [
|
|
4345
|
+
{
|
|
4346
|
+
"name": "full-width",
|
|
4347
|
+
"description": "If set, the segmented button group will fill the width of its parent element.",
|
|
4259
4348
|
"references": [
|
|
4260
4349
|
{
|
|
4261
4350
|
"name": "Docs",
|
|
4262
|
-
"url": "https://www.mdui.org/en/docs/2/components/
|
|
4351
|
+
"url": "https://www.mdui.org/en/docs/2/components/segmented-button#segmented-button-group-attributes-full-width"
|
|
4263
4352
|
}
|
|
4264
4353
|
]
|
|
4265
4354
|
},
|
|
4266
4355
|
{
|
|
4267
|
-
"name": "
|
|
4268
|
-
"description": "
|
|
4356
|
+
"name": "selects",
|
|
4357
|
+
"description": "Defines selectable states. Default is non-selectable. Possible values:\n\n* `single`: Only one can be selected.\n* `multiple`: Multiple selections are allowed.",
|
|
4358
|
+
"values": [
|
|
4359
|
+
{
|
|
4360
|
+
"name": "single",
|
|
4361
|
+
"description": "Only one can be selected."
|
|
4362
|
+
},
|
|
4363
|
+
{
|
|
4364
|
+
"name": "multiple",
|
|
4365
|
+
"description": "Multiple selections are allowed."
|
|
4366
|
+
}
|
|
4367
|
+
],
|
|
4269
4368
|
"references": [
|
|
4270
4369
|
{
|
|
4271
4370
|
"name": "Docs",
|
|
4272
|
-
"url": "https://www.mdui.org/en/docs/2/components/
|
|
4371
|
+
"url": "https://www.mdui.org/en/docs/2/components/segmented-button#segmented-button-group-attributes-selects"
|
|
4273
4372
|
}
|
|
4274
4373
|
]
|
|
4275
4374
|
},
|
|
4276
4375
|
{
|
|
4277
|
-
"name": "
|
|
4278
|
-
"description": "
|
|
4376
|
+
"name": "disabled",
|
|
4377
|
+
"description": "Disables the segmented button group when set.",
|
|
4279
4378
|
"references": [
|
|
4280
4379
|
{
|
|
4281
4380
|
"name": "Docs",
|
|
4282
|
-
"url": "https://www.mdui.org/en/docs/2/components/
|
|
4381
|
+
"url": "https://www.mdui.org/en/docs/2/components/segmented-button#segmented-button-group-attributes-disabled"
|
|
4283
4382
|
}
|
|
4284
4383
|
]
|
|
4285
4384
|
},
|
|
4286
4385
|
{
|
|
4287
|
-
"name": "
|
|
4288
|
-
"description": "
|
|
4386
|
+
"name": "required",
|
|
4387
|
+
"description": "Requires a selection when the form is submitted.",
|
|
4289
4388
|
"references": [
|
|
4290
4389
|
{
|
|
4291
4390
|
"name": "Docs",
|
|
4292
|
-
"url": "https://www.mdui.org/en/docs/2/components/
|
|
4391
|
+
"url": "https://www.mdui.org/en/docs/2/components/segmented-button#segmented-button-group-attributes-required"
|
|
4293
4392
|
}
|
|
4294
4393
|
]
|
|
4295
4394
|
},
|
|
4296
4395
|
{
|
|
4297
|
-
"name": "
|
|
4298
|
-
"description": "
|
|
4396
|
+
"name": "form",
|
|
4397
|
+
"description": "Associates the segmented button group with a `<form>` element. The value should be the `id` of a `<form>` in the same document. If not set, the segmented button group is associated with its parent `<form>`, if any.\n\nThis attribute allows segmented button group elements to be associated with `<form>`s anywhere in the document, not just inside a `<form>`.",
|
|
4299
4398
|
"references": [
|
|
4300
4399
|
{
|
|
4301
4400
|
"name": "Docs",
|
|
4302
|
-
"url": "https://www.mdui.org/en/docs/2/components/
|
|
4401
|
+
"url": "https://www.mdui.org/en/docs/2/components/segmented-button#segmented-button-group-attributes-form"
|
|
4303
4402
|
}
|
|
4304
4403
|
]
|
|
4305
4404
|
},
|
|
4306
4405
|
{
|
|
4307
|
-
"name": "
|
|
4308
|
-
"description": "
|
|
4406
|
+
"name": "name",
|
|
4407
|
+
"description": "The name of the segmented button group, which is submitted with form data.",
|
|
4309
4408
|
"references": [
|
|
4310
4409
|
{
|
|
4311
4410
|
"name": "Docs",
|
|
4312
|
-
"url": "https://www.mdui.org/en/docs/2/components/
|
|
4411
|
+
"url": "https://www.mdui.org/en/docs/2/components/segmented-button#segmented-button-group-attributes-name"
|
|
4313
4412
|
}
|
|
4314
4413
|
]
|
|
4315
4414
|
},
|
|
4316
4415
|
{
|
|
4317
|
-
"name": "
|
|
4318
|
-
"description": "
|
|
4416
|
+
"name": "value",
|
|
4417
|
+
"description": "The value of the selected `<mdui-segmented-button>`. This value is submitted with form data.\n\nNote: The HTML attribute is always a string and can only be set as an initial value when `selects=\"single\"`. The JavaScript property is a string when `selects=\"single\"` and an array of strings when `selects=\"multiple\"`. In `selects=\"multiple\"`, this value can only be modified by changing the JavaScript property.",
|
|
4319
4418
|
"references": [
|
|
4320
4419
|
{
|
|
4321
4420
|
"name": "Docs",
|
|
4322
|
-
"url": "https://www.mdui.org/en/docs/2/components/
|
|
4421
|
+
"url": "https://www.mdui.org/en/docs/2/components/segmented-button#segmented-button-group-attributes-value"
|
|
4323
4422
|
}
|
|
4324
4423
|
]
|
|
4325
4424
|
}
|
|
@@ -4327,11 +4426,11 @@
|
|
|
4327
4426
|
"references": [
|
|
4328
4427
|
{
|
|
4329
4428
|
"name": "Docs",
|
|
4330
|
-
"url": "https://www.mdui.org/en/docs/2/components/
|
|
4429
|
+
"url": "https://www.mdui.org/en/docs/2/components/segmented-button"
|
|
4331
4430
|
},
|
|
4332
4431
|
{
|
|
4333
4432
|
"name": "Github",
|
|
4334
|
-
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/
|
|
4433
|
+
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/segmented-button/segmented-button-group.ts"
|
|
4335
4434
|
}
|
|
4336
4435
|
]
|
|
4337
4436
|
},
|
|
@@ -4683,102 +4782,6 @@
|
|
|
4683
4782
|
}
|
|
4684
4783
|
]
|
|
4685
4784
|
},
|
|
4686
|
-
{
|
|
4687
|
-
"name": "mdui-segmented-button-group",
|
|
4688
|
-
"description": "Segmented Button Group Component It should be used in conjunction with the `<mdui-segmented-button>` component \n\n```html\n<mdui-segmented-button-group>\n <mdui-segmented-button>Day</mdui-segmented-button>\n <mdui-segmented-button>Week</mdui-segmented-button>\n <mdui-segmented-button>Month</mdui-segmented-button>\n</mdui-segmented-button-group>\n```",
|
|
4689
|
-
"attributes": [
|
|
4690
|
-
{
|
|
4691
|
-
"name": "full-width",
|
|
4692
|
-
"description": "If set, the segmented button group will fill the width of its parent element.",
|
|
4693
|
-
"references": [
|
|
4694
|
-
{
|
|
4695
|
-
"name": "Docs",
|
|
4696
|
-
"url": "https://www.mdui.org/en/docs/2/components/segmented-button#segmented-button-group-attributes-full-width"
|
|
4697
|
-
}
|
|
4698
|
-
]
|
|
4699
|
-
},
|
|
4700
|
-
{
|
|
4701
|
-
"name": "selects",
|
|
4702
|
-
"description": "Defines selectable states. Default is non-selectable. Possible values:\n\n* `single`: Only one can be selected.\n* `multiple`: Multiple selections are allowed.",
|
|
4703
|
-
"values": [
|
|
4704
|
-
{
|
|
4705
|
-
"name": "single",
|
|
4706
|
-
"description": "Only one can be selected."
|
|
4707
|
-
},
|
|
4708
|
-
{
|
|
4709
|
-
"name": "multiple",
|
|
4710
|
-
"description": "Multiple selections are allowed."
|
|
4711
|
-
}
|
|
4712
|
-
],
|
|
4713
|
-
"references": [
|
|
4714
|
-
{
|
|
4715
|
-
"name": "Docs",
|
|
4716
|
-
"url": "https://www.mdui.org/en/docs/2/components/segmented-button#segmented-button-group-attributes-selects"
|
|
4717
|
-
}
|
|
4718
|
-
]
|
|
4719
|
-
},
|
|
4720
|
-
{
|
|
4721
|
-
"name": "disabled",
|
|
4722
|
-
"description": "Disables the segmented button group when set.",
|
|
4723
|
-
"references": [
|
|
4724
|
-
{
|
|
4725
|
-
"name": "Docs",
|
|
4726
|
-
"url": "https://www.mdui.org/en/docs/2/components/segmented-button#segmented-button-group-attributes-disabled"
|
|
4727
|
-
}
|
|
4728
|
-
]
|
|
4729
|
-
},
|
|
4730
|
-
{
|
|
4731
|
-
"name": "required",
|
|
4732
|
-
"description": "Requires a selection when the form is submitted.",
|
|
4733
|
-
"references": [
|
|
4734
|
-
{
|
|
4735
|
-
"name": "Docs",
|
|
4736
|
-
"url": "https://www.mdui.org/en/docs/2/components/segmented-button#segmented-button-group-attributes-required"
|
|
4737
|
-
}
|
|
4738
|
-
]
|
|
4739
|
-
},
|
|
4740
|
-
{
|
|
4741
|
-
"name": "form",
|
|
4742
|
-
"description": "Associates the segmented button group with a `<form>` element. The value should be the `id` of a `<form>` in the same document. If not set, the segmented button group is associated with its parent `<form>`, if any.\n\nThis attribute allows segmented button group elements to be associated with `<form>`s anywhere in the document, not just inside a `<form>`.",
|
|
4743
|
-
"references": [
|
|
4744
|
-
{
|
|
4745
|
-
"name": "Docs",
|
|
4746
|
-
"url": "https://www.mdui.org/en/docs/2/components/segmented-button#segmented-button-group-attributes-form"
|
|
4747
|
-
}
|
|
4748
|
-
]
|
|
4749
|
-
},
|
|
4750
|
-
{
|
|
4751
|
-
"name": "name",
|
|
4752
|
-
"description": "The name of the segmented button group, which is submitted with form data.",
|
|
4753
|
-
"references": [
|
|
4754
|
-
{
|
|
4755
|
-
"name": "Docs",
|
|
4756
|
-
"url": "https://www.mdui.org/en/docs/2/components/segmented-button#segmented-button-group-attributes-name"
|
|
4757
|
-
}
|
|
4758
|
-
]
|
|
4759
|
-
},
|
|
4760
|
-
{
|
|
4761
|
-
"name": "value",
|
|
4762
|
-
"description": "The value of the selected `<mdui-segmented-button>`. This value is submitted with form data.\n\nNote: The HTML attribute is always a string and can only be set as an initial value when `selects=\"single\"`. The JavaScript property is a string when `selects=\"single\"` and an array of strings when `selects=\"multiple\"`. In `selects=\"multiple\"`, this value can only be modified by changing the JavaScript property.",
|
|
4763
|
-
"references": [
|
|
4764
|
-
{
|
|
4765
|
-
"name": "Docs",
|
|
4766
|
-
"url": "https://www.mdui.org/en/docs/2/components/segmented-button#segmented-button-group-attributes-value"
|
|
4767
|
-
}
|
|
4768
|
-
]
|
|
4769
|
-
}
|
|
4770
|
-
],
|
|
4771
|
-
"references": [
|
|
4772
|
-
{
|
|
4773
|
-
"name": "Docs",
|
|
4774
|
-
"url": "https://www.mdui.org/en/docs/2/components/segmented-button"
|
|
4775
|
-
},
|
|
4776
|
-
{
|
|
4777
|
-
"name": "Github",
|
|
4778
|
-
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/segmented-button/segmented-button-group.ts"
|
|
4779
|
-
}
|
|
4780
|
-
]
|
|
4781
|
-
},
|
|
4782
4785
|
{
|
|
4783
4786
|
"name": "mdui-select",
|
|
4784
4787
|
"description": "Select Component It should be used in conjunction with the `<mdui-menu-item>` component \n\n```html\n<mdui-select>\n <mdui-menu-item value=\"item-1\">Item 1</mdui-menu-item>\n <mdui-menu-item value=\"item-2\">Item 2</mdui-menu-item>\n</mdui-select>\n```",
|
|
@@ -5423,6 +5426,32 @@
|
|
|
5423
5426
|
}
|
|
5424
5427
|
]
|
|
5425
5428
|
},
|
|
5429
|
+
{
|
|
5430
|
+
"name": "mdui-tab-panel",
|
|
5431
|
+
"description": "Tab Panel Component It should be used in conjunction with the `<mdui-tabs>` and `<mdui-tab>` components \n\n```html\n<mdui-tabs value=\"tab-1\">\n <mdui-tab value=\"tab-1\">Tab 1</mdui-tab>\n <mdui-tab value=\"tab-2\">Tab 2</mdui-tab>\n <mdui-tab value=\"tab-3\">Tab 3</mdui-tab>\n\n <mdui-tab-panel slot=\"panel\" value=\"tab-1\">Panel 1</mdui-tab-panel>\n <mdui-tab-panel slot=\"panel\" value=\"tab-2\">Panel 2</mdui-tab-panel>\n <mdui-tab-panel slot=\"panel\" value=\"tab-3\">Panel 3</mdui-tab-panel>\n</mdui-tabs>\n```",
|
|
5432
|
+
"attributes": [
|
|
5433
|
+
{
|
|
5434
|
+
"name": "value",
|
|
5435
|
+
"description": "Specifies the value of the tab panel.",
|
|
5436
|
+
"references": [
|
|
5437
|
+
{
|
|
5438
|
+
"name": "Docs",
|
|
5439
|
+
"url": "https://www.mdui.org/en/docs/2/components/tabs#tab-panel-attributes-value"
|
|
5440
|
+
}
|
|
5441
|
+
]
|
|
5442
|
+
}
|
|
5443
|
+
],
|
|
5444
|
+
"references": [
|
|
5445
|
+
{
|
|
5446
|
+
"name": "Docs",
|
|
5447
|
+
"url": "https://www.mdui.org/en/docs/2/components/tabs"
|
|
5448
|
+
},
|
|
5449
|
+
{
|
|
5450
|
+
"name": "Github",
|
|
5451
|
+
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/tabs/tab-panel.ts"
|
|
5452
|
+
}
|
|
5453
|
+
]
|
|
5454
|
+
},
|
|
5426
5455
|
{
|
|
5427
5456
|
"name": "mdui-tab",
|
|
5428
5457
|
"description": "Tab Component It should be used in conjunction with the `<mdui-tabs>` and `<mdui-tab-panel>` components \n\n```html\n<mdui-tabs value=\"tab-1\">\n <mdui-tab value=\"tab-1\">Tab 1</mdui-tab>\n <mdui-tab value=\"tab-2\">Tab 2</mdui-tab>\n <mdui-tab value=\"tab-3\">Tab 3</mdui-tab>\n\n <mdui-tab-panel slot=\"panel\" value=\"tab-1\">Panel 1</mdui-tab-panel>\n <mdui-tab-panel slot=\"panel\" value=\"tab-2\">Panel 2</mdui-tab-panel>\n <mdui-tab-panel slot=\"panel\" value=\"tab-3\">Panel 3</mdui-tab-panel>\n</mdui-tabs>\n```",
|
|
@@ -5489,32 +5518,6 @@
|
|
|
5489
5518
|
}
|
|
5490
5519
|
]
|
|
5491
5520
|
},
|
|
5492
|
-
{
|
|
5493
|
-
"name": "mdui-tab-panel",
|
|
5494
|
-
"description": "Tab Panel Component It should be used in conjunction with the `<mdui-tabs>` and `<mdui-tab>` components \n\n```html\n<mdui-tabs value=\"tab-1\">\n <mdui-tab value=\"tab-1\">Tab 1</mdui-tab>\n <mdui-tab value=\"tab-2\">Tab 2</mdui-tab>\n <mdui-tab value=\"tab-3\">Tab 3</mdui-tab>\n\n <mdui-tab-panel slot=\"panel\" value=\"tab-1\">Panel 1</mdui-tab-panel>\n <mdui-tab-panel slot=\"panel\" value=\"tab-2\">Panel 2</mdui-tab-panel>\n <mdui-tab-panel slot=\"panel\" value=\"tab-3\">Panel 3</mdui-tab-panel>\n</mdui-tabs>\n```",
|
|
5495
|
-
"attributes": [
|
|
5496
|
-
{
|
|
5497
|
-
"name": "value",
|
|
5498
|
-
"description": "Specifies the value of the tab panel.",
|
|
5499
|
-
"references": [
|
|
5500
|
-
{
|
|
5501
|
-
"name": "Docs",
|
|
5502
|
-
"url": "https://www.mdui.org/en/docs/2/components/tabs#tab-panel-attributes-value"
|
|
5503
|
-
}
|
|
5504
|
-
]
|
|
5505
|
-
}
|
|
5506
|
-
],
|
|
5507
|
-
"references": [
|
|
5508
|
-
{
|
|
5509
|
-
"name": "Docs",
|
|
5510
|
-
"url": "https://www.mdui.org/en/docs/2/components/tabs"
|
|
5511
|
-
},
|
|
5512
|
-
{
|
|
5513
|
-
"name": "Github",
|
|
5514
|
-
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/tabs/tab-panel.ts"
|
|
5515
|
-
}
|
|
5516
|
-
]
|
|
5517
|
-
},
|
|
5518
5521
|
{
|
|
5519
5522
|
"name": "mdui-tabs",
|
|
5520
5523
|
"description": "Tabs Component It should be used in conjunction with the `<mdui-tab>` and `<mdui-tab-panel>` components \n\n```html\n<mdui-tabs value=\"tab-1\">\n <mdui-tab value=\"tab-1\">Tab 1</mdui-tab>\n <mdui-tab value=\"tab-2\">Tab 2</mdui-tab>\n <mdui-tab value=\"tab-3\">Tab 3</mdui-tab>\n\n <mdui-tab-panel slot=\"panel\" value=\"tab-1\">Panel 1</mdui-tab-panel>\n <mdui-tab-panel slot=\"panel\" value=\"tab-2\">Panel 2</mdui-tab-panel>\n <mdui-tab-panel slot=\"panel\" value=\"tab-3\">Panel 3</mdui-tab-panel>\n</mdui-tabs>\n```",
|
|
@@ -6427,6 +6430,21 @@
|
|
|
6427
6430
|
}
|
|
6428
6431
|
]
|
|
6429
6432
|
},
|
|
6433
|
+
{
|
|
6434
|
+
"name": "mdui-top-app-bar-title",
|
|
6435
|
+
"description": "Top App Bar Title Component It should be used in conjunction with the `<mdui-top-app-bar>` component \n\n```html\n<mdui-top-app-bar>\n <mdui-button-icon icon=\"menu\"></mdui-button-icon>\n <mdui-top-app-bar-title>Title</mdui-top-app-bar-title>\n <div style=\"flex-grow: 1\"></div>\n <mdui-button-icon icon=\"more_vert\"></mdui-button-icon>\n</mdui-top-app-bar>\n```",
|
|
6436
|
+
"attributes": [],
|
|
6437
|
+
"references": [
|
|
6438
|
+
{
|
|
6439
|
+
"name": "Docs",
|
|
6440
|
+
"url": "https://www.mdui.org/en/docs/2/components/top-app-bar"
|
|
6441
|
+
},
|
|
6442
|
+
{
|
|
6443
|
+
"name": "Github",
|
|
6444
|
+
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/top-app-bar/top-app-bar-title.ts"
|
|
6445
|
+
}
|
|
6446
|
+
]
|
|
6447
|
+
},
|
|
6430
6448
|
{
|
|
6431
6449
|
"name": "mdui-top-app-bar",
|
|
6432
6450
|
"description": "Top App Bar Component \n\n```html\n<mdui-top-app-bar>\n <mdui-button-icon icon=\"menu\"></mdui-button-icon>\n <mdui-top-app-bar-title>Title</mdui-top-app-bar-title>\n <div style=\"flex-grow: 1\"></div>\n <mdui-button-icon icon=\"more_vert\"></mdui-button-icon>\n</mdui-top-app-bar>\n```",
|
|
@@ -6541,20 +6559,6 @@
|
|
|
6541
6559
|
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/top-app-bar/top-app-bar.ts"
|
|
6542
6560
|
}
|
|
6543
6561
|
]
|
|
6544
|
-
},
|
|
6545
|
-
{
|
|
6546
|
-
"name": "mdui-top-app-bar-title",
|
|
6547
|
-
"description": "Top App Bar Title Component It should be used in conjunction with the `<mdui-top-app-bar>` component \n\n```html\n<mdui-top-app-bar>\n <mdui-button-icon icon=\"menu\"></mdui-button-icon>\n <mdui-top-app-bar-title>Title</mdui-top-app-bar-title>\n <div style=\"flex-grow: 1\"></div>\n <mdui-button-icon icon=\"more_vert\"></mdui-button-icon>\n</mdui-top-app-bar>\n```",
|
|
6548
|
-
"references": [
|
|
6549
|
-
{
|
|
6550
|
-
"name": "Docs",
|
|
6551
|
-
"url": "https://www.mdui.org/en/docs/2/components/top-app-bar"
|
|
6552
|
-
},
|
|
6553
|
-
{
|
|
6554
|
-
"name": "Github",
|
|
6555
|
-
"url": "https://github.com/zdhxiong/mdui/blob/v2/packages/mdui/src/components/top-app-bar/top-app-bar-title.ts"
|
|
6556
|
-
}
|
|
6557
|
-
]
|
|
6558
6562
|
}
|
|
6559
6563
|
]
|
|
6560
6564
|
}
|