@momentum-design/components 0.28.2 → 0.28.3
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/dist/browser/index.js +136 -122
- package/dist/browser/index.js.map +4 -4
- package/dist/components/buttonsimple/buttonsimple.component.d.ts +1 -7
- package/dist/components/buttonsimple/buttonsimple.component.js +6 -13
- package/dist/components/checkbox/checkbox.component.d.ts +26 -13
- package/dist/components/checkbox/checkbox.component.js +62 -22
- package/dist/components/formfieldgroup/formfieldgroup.component.js +2 -1
- package/dist/components/input/input.component.d.ts +59 -72
- package/dist/components/input/input.component.js +85 -100
- package/dist/components/radio/radio.component.d.ts +51 -36
- package/dist/components/radio/radio.component.js +126 -46
- package/dist/components/radio/radio.styles.js +4 -0
- package/dist/components/radiogroup/radiogroup.component.d.ts +7 -2
- package/dist/components/radiogroup/radiogroup.component.js +26 -3
- package/dist/components/themeprovider/themeprovider.component.d.ts +1 -1
- package/dist/components/themeprovider/themeprovider.component.js +1 -1
- package/dist/components/toggle/toggle.component.d.ts +43 -24
- package/dist/components/toggle/toggle.component.js +79 -31
- package/dist/components/toggle/toggle.constants.d.ts +1 -0
- package/dist/components/toggle/toggle.constants.js +1 -0
- package/dist/custom-elements.json +1334 -433
- package/dist/react/themeprovider/index.d.ts +1 -1
- package/dist/react/themeprovider/index.js +1 -1
- package/dist/utils/mixins/FormInternalsMixin.d.ts +38 -0
- package/dist/utils/mixins/FormInternalsMixin.js +79 -0
- package/package.json +1 -1
- package/dist/utils/mixins/NameMixin.d.ts +0 -6
- package/dist/utils/mixins/NameMixin.js +0 -29
- package/dist/utils/mixins/ReadonlyMixin.d.ts +0 -6
- package/dist/utils/mixins/ReadonlyMixin.js +0 -29
- package/dist/utils/mixins/RequiredMixin.d.ts +0 -6
- package/dist/utils/mixins/RequiredMixin.js +0 -29
- package/dist/utils/mixins/ValueMixin.d.ts +0 -6
- package/dist/utils/mixins/ValueMixin.js +0 -28
@@ -446,6 +446,115 @@
|
|
446
446
|
"module": "utils/mixins/IconNameMixin.js"
|
447
447
|
}
|
448
448
|
},
|
449
|
+
{
|
450
|
+
"kind": "field",
|
451
|
+
"name": "name",
|
452
|
+
"type": {
|
453
|
+
"text": "string"
|
454
|
+
},
|
455
|
+
"default": "''",
|
456
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
457
|
+
"attribute": "name",
|
458
|
+
"reflects": true,
|
459
|
+
"inheritedFrom": {
|
460
|
+
"name": "FormInternalsMixin",
|
461
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
462
|
+
}
|
463
|
+
},
|
464
|
+
{
|
465
|
+
"kind": "field",
|
466
|
+
"name": "value",
|
467
|
+
"type": {
|
468
|
+
"text": "string"
|
469
|
+
},
|
470
|
+
"default": "''",
|
471
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
472
|
+
"attribute": "value",
|
473
|
+
"reflects": true,
|
474
|
+
"inheritedFrom": {
|
475
|
+
"name": "FormInternalsMixin",
|
476
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
477
|
+
}
|
478
|
+
},
|
479
|
+
{
|
480
|
+
"kind": "field",
|
481
|
+
"name": "validationMessage",
|
482
|
+
"type": {
|
483
|
+
"text": "string | undefined"
|
484
|
+
},
|
485
|
+
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
486
|
+
"attribute": "validation-message",
|
487
|
+
"reflects": true,
|
488
|
+
"inheritedFrom": {
|
489
|
+
"name": "FormInternalsMixin",
|
490
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
491
|
+
}
|
492
|
+
},
|
493
|
+
{
|
494
|
+
"kind": "field",
|
495
|
+
"name": "validity",
|
496
|
+
"type": {
|
497
|
+
"text": "ValidityState"
|
498
|
+
},
|
499
|
+
"readonly": true,
|
500
|
+
"inheritedFrom": {
|
501
|
+
"name": "FormInternalsMixin",
|
502
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
503
|
+
}
|
504
|
+
},
|
505
|
+
{
|
506
|
+
"kind": "field",
|
507
|
+
"name": "willValidate",
|
508
|
+
"readonly": true,
|
509
|
+
"inheritedFrom": {
|
510
|
+
"name": "FormInternalsMixin",
|
511
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
512
|
+
}
|
513
|
+
},
|
514
|
+
{
|
515
|
+
"kind": "method",
|
516
|
+
"name": "setValidity",
|
517
|
+
"description": "Sets the validity of the input field based on the input field's validity.",
|
518
|
+
"return": {
|
519
|
+
"type": {
|
520
|
+
"text": ""
|
521
|
+
}
|
522
|
+
},
|
523
|
+
"inheritedFrom": {
|
524
|
+
"name": "FormInternalsMixin",
|
525
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
526
|
+
}
|
527
|
+
},
|
528
|
+
{
|
529
|
+
"kind": "method",
|
530
|
+
"name": "checkValidity",
|
531
|
+
"return": {
|
532
|
+
"type": {
|
533
|
+
"text": "boolean"
|
534
|
+
}
|
535
|
+
},
|
536
|
+
"inheritedFrom": {
|
537
|
+
"name": "FormInternalsMixin",
|
538
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
539
|
+
}
|
540
|
+
},
|
541
|
+
{
|
542
|
+
"kind": "method",
|
543
|
+
"name": "reportValidity",
|
544
|
+
"inheritedFrom": {
|
545
|
+
"name": "FormInternalsMixin",
|
546
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
547
|
+
}
|
548
|
+
},
|
549
|
+
{
|
550
|
+
"kind": "field",
|
551
|
+
"name": "id",
|
552
|
+
"default": "`mdc-input-${uuidv4()}`",
|
553
|
+
"inheritedFrom": {
|
554
|
+
"name": "FormInternalsMixin",
|
555
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
556
|
+
}
|
557
|
+
},
|
449
558
|
{
|
450
559
|
"kind": "field",
|
451
560
|
"name": "tabIndex",
|
@@ -744,6 +853,44 @@
|
|
744
853
|
"module": "src/utils/mixins/IconNameMixin.ts"
|
745
854
|
}
|
746
855
|
},
|
856
|
+
{
|
857
|
+
"name": "name",
|
858
|
+
"type": {
|
859
|
+
"text": "string"
|
860
|
+
},
|
861
|
+
"default": "''",
|
862
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
863
|
+
"fieldName": "name",
|
864
|
+
"inheritedFrom": {
|
865
|
+
"name": "FormInternalsMixin",
|
866
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
867
|
+
}
|
868
|
+
},
|
869
|
+
{
|
870
|
+
"name": "value",
|
871
|
+
"type": {
|
872
|
+
"text": "string"
|
873
|
+
},
|
874
|
+
"default": "''",
|
875
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
876
|
+
"fieldName": "value",
|
877
|
+
"inheritedFrom": {
|
878
|
+
"name": "FormInternalsMixin",
|
879
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
880
|
+
}
|
881
|
+
},
|
882
|
+
{
|
883
|
+
"name": "validation-message",
|
884
|
+
"type": {
|
885
|
+
"text": "string | undefined"
|
886
|
+
},
|
887
|
+
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
888
|
+
"fieldName": "validationMessage",
|
889
|
+
"inheritedFrom": {
|
890
|
+
"name": "FormInternalsMixin",
|
891
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
892
|
+
}
|
893
|
+
},
|
747
894
|
{
|
748
895
|
"name": "tabIndex",
|
749
896
|
"type": {
|
@@ -1399,6 +1546,115 @@
|
|
1399
1546
|
}
|
1400
1547
|
]
|
1401
1548
|
},
|
1549
|
+
{
|
1550
|
+
"kind": "field",
|
1551
|
+
"name": "name",
|
1552
|
+
"type": {
|
1553
|
+
"text": "string"
|
1554
|
+
},
|
1555
|
+
"default": "''",
|
1556
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
1557
|
+
"attribute": "name",
|
1558
|
+
"reflects": true,
|
1559
|
+
"inheritedFrom": {
|
1560
|
+
"name": "FormInternalsMixin",
|
1561
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
1562
|
+
}
|
1563
|
+
},
|
1564
|
+
{
|
1565
|
+
"kind": "field",
|
1566
|
+
"name": "value",
|
1567
|
+
"type": {
|
1568
|
+
"text": "string"
|
1569
|
+
},
|
1570
|
+
"default": "''",
|
1571
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
1572
|
+
"attribute": "value",
|
1573
|
+
"reflects": true,
|
1574
|
+
"inheritedFrom": {
|
1575
|
+
"name": "FormInternalsMixin",
|
1576
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
1577
|
+
}
|
1578
|
+
},
|
1579
|
+
{
|
1580
|
+
"kind": "field",
|
1581
|
+
"name": "validationMessage",
|
1582
|
+
"type": {
|
1583
|
+
"text": "string | undefined"
|
1584
|
+
},
|
1585
|
+
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
1586
|
+
"attribute": "validation-message",
|
1587
|
+
"reflects": true,
|
1588
|
+
"inheritedFrom": {
|
1589
|
+
"name": "FormInternalsMixin",
|
1590
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
1591
|
+
}
|
1592
|
+
},
|
1593
|
+
{
|
1594
|
+
"kind": "field",
|
1595
|
+
"name": "validity",
|
1596
|
+
"type": {
|
1597
|
+
"text": "ValidityState"
|
1598
|
+
},
|
1599
|
+
"readonly": true,
|
1600
|
+
"inheritedFrom": {
|
1601
|
+
"name": "FormInternalsMixin",
|
1602
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
1603
|
+
}
|
1604
|
+
},
|
1605
|
+
{
|
1606
|
+
"kind": "field",
|
1607
|
+
"name": "willValidate",
|
1608
|
+
"readonly": true,
|
1609
|
+
"inheritedFrom": {
|
1610
|
+
"name": "FormInternalsMixin",
|
1611
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
1612
|
+
}
|
1613
|
+
},
|
1614
|
+
{
|
1615
|
+
"kind": "method",
|
1616
|
+
"name": "setValidity",
|
1617
|
+
"description": "Sets the validity of the input field based on the input field's validity.",
|
1618
|
+
"return": {
|
1619
|
+
"type": {
|
1620
|
+
"text": ""
|
1621
|
+
}
|
1622
|
+
},
|
1623
|
+
"inheritedFrom": {
|
1624
|
+
"name": "FormInternalsMixin",
|
1625
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
1626
|
+
}
|
1627
|
+
},
|
1628
|
+
{
|
1629
|
+
"kind": "method",
|
1630
|
+
"name": "checkValidity",
|
1631
|
+
"return": {
|
1632
|
+
"type": {
|
1633
|
+
"text": "boolean"
|
1634
|
+
}
|
1635
|
+
},
|
1636
|
+
"inheritedFrom": {
|
1637
|
+
"name": "FormInternalsMixin",
|
1638
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
1639
|
+
}
|
1640
|
+
},
|
1641
|
+
{
|
1642
|
+
"kind": "method",
|
1643
|
+
"name": "reportValidity",
|
1644
|
+
"inheritedFrom": {
|
1645
|
+
"name": "FormInternalsMixin",
|
1646
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
1647
|
+
}
|
1648
|
+
},
|
1649
|
+
{
|
1650
|
+
"kind": "field",
|
1651
|
+
"name": "id",
|
1652
|
+
"default": "`mdc-input-${uuidv4()}`",
|
1653
|
+
"inheritedFrom": {
|
1654
|
+
"name": "FormInternalsMixin",
|
1655
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
1656
|
+
}
|
1657
|
+
},
|
1402
1658
|
{
|
1403
1659
|
"kind": "field",
|
1404
1660
|
"name": "tabIndex",
|
@@ -1721,6 +1977,44 @@
|
|
1721
1977
|
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
1722
1978
|
}
|
1723
1979
|
},
|
1980
|
+
{
|
1981
|
+
"name": "name",
|
1982
|
+
"type": {
|
1983
|
+
"text": "string"
|
1984
|
+
},
|
1985
|
+
"default": "''",
|
1986
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
1987
|
+
"fieldName": "name",
|
1988
|
+
"inheritedFrom": {
|
1989
|
+
"name": "FormInternalsMixin",
|
1990
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
1991
|
+
}
|
1992
|
+
},
|
1993
|
+
{
|
1994
|
+
"name": "value",
|
1995
|
+
"type": {
|
1996
|
+
"text": "string"
|
1997
|
+
},
|
1998
|
+
"default": "''",
|
1999
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
2000
|
+
"fieldName": "value",
|
2001
|
+
"inheritedFrom": {
|
2002
|
+
"name": "FormInternalsMixin",
|
2003
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
2004
|
+
}
|
2005
|
+
},
|
2006
|
+
{
|
2007
|
+
"name": "validation-message",
|
2008
|
+
"type": {
|
2009
|
+
"text": "string | undefined"
|
2010
|
+
},
|
2011
|
+
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
2012
|
+
"fieldName": "validationMessage",
|
2013
|
+
"inheritedFrom": {
|
2014
|
+
"name": "FormInternalsMixin",
|
2015
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
2016
|
+
}
|
2017
|
+
},
|
1724
2018
|
{
|
1725
2019
|
"name": "tabIndex",
|
1726
2020
|
"type": {
|
@@ -1981,45 +2275,154 @@
|
|
1981
2275
|
},
|
1982
2276
|
{
|
1983
2277
|
"kind": "field",
|
1984
|
-
"name": "
|
2278
|
+
"name": "name",
|
1985
2279
|
"type": {
|
1986
|
-
"text": "
|
2280
|
+
"text": "string"
|
1987
2281
|
},
|
1988
|
-
"default": "
|
1989
|
-
"description": "
|
1990
|
-
"attribute": "
|
2282
|
+
"default": "''",
|
2283
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
2284
|
+
"attribute": "name",
|
1991
2285
|
"reflects": true,
|
1992
2286
|
"inheritedFrom": {
|
1993
|
-
"name": "
|
1994
|
-
"module": "utils/mixins/
|
2287
|
+
"name": "FormInternalsMixin",
|
2288
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
1995
2289
|
}
|
1996
2290
|
},
|
1997
2291
|
{
|
1998
2292
|
"kind": "field",
|
1999
|
-
"name": "
|
2293
|
+
"name": "value",
|
2000
2294
|
"type": {
|
2001
|
-
"text": "
|
2295
|
+
"text": "string"
|
2002
2296
|
},
|
2003
|
-
"default": "
|
2004
|
-
"description": "Indicates
|
2005
|
-
"attribute": "
|
2297
|
+
"default": "''",
|
2298
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
2299
|
+
"attribute": "value",
|
2006
2300
|
"reflects": true,
|
2007
2301
|
"inheritedFrom": {
|
2008
|
-
"name": "
|
2009
|
-
"module": "utils/mixins/
|
2302
|
+
"name": "FormInternalsMixin",
|
2303
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
2010
2304
|
}
|
2011
|
-
}
|
2012
|
-
],
|
2013
|
-
"events": [
|
2305
|
+
},
|
2014
2306
|
{
|
2015
|
-
"
|
2016
|
-
"name": "
|
2017
|
-
"
|
2018
|
-
|
2307
|
+
"kind": "field",
|
2308
|
+
"name": "validationMessage",
|
2309
|
+
"type": {
|
2310
|
+
"text": "string | undefined"
|
2311
|
+
},
|
2312
|
+
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
2313
|
+
"attribute": "validation-message",
|
2314
|
+
"reflects": true,
|
2315
|
+
"inheritedFrom": {
|
2316
|
+
"name": "FormInternalsMixin",
|
2317
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
2318
|
+
}
|
2019
2319
|
},
|
2020
2320
|
{
|
2021
|
-
"
|
2022
|
-
"name": "
|
2321
|
+
"kind": "field",
|
2322
|
+
"name": "validity",
|
2323
|
+
"type": {
|
2324
|
+
"text": "ValidityState"
|
2325
|
+
},
|
2326
|
+
"readonly": true,
|
2327
|
+
"inheritedFrom": {
|
2328
|
+
"name": "FormInternalsMixin",
|
2329
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
2330
|
+
}
|
2331
|
+
},
|
2332
|
+
{
|
2333
|
+
"kind": "field",
|
2334
|
+
"name": "willValidate",
|
2335
|
+
"readonly": true,
|
2336
|
+
"inheritedFrom": {
|
2337
|
+
"name": "FormInternalsMixin",
|
2338
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
2339
|
+
}
|
2340
|
+
},
|
2341
|
+
{
|
2342
|
+
"kind": "method",
|
2343
|
+
"name": "setValidity",
|
2344
|
+
"description": "Sets the validity of the input field based on the input field's validity.",
|
2345
|
+
"return": {
|
2346
|
+
"type": {
|
2347
|
+
"text": ""
|
2348
|
+
}
|
2349
|
+
},
|
2350
|
+
"inheritedFrom": {
|
2351
|
+
"name": "FormInternalsMixin",
|
2352
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
2353
|
+
}
|
2354
|
+
},
|
2355
|
+
{
|
2356
|
+
"kind": "method",
|
2357
|
+
"name": "checkValidity",
|
2358
|
+
"return": {
|
2359
|
+
"type": {
|
2360
|
+
"text": "boolean"
|
2361
|
+
}
|
2362
|
+
},
|
2363
|
+
"inheritedFrom": {
|
2364
|
+
"name": "FormInternalsMixin",
|
2365
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
2366
|
+
}
|
2367
|
+
},
|
2368
|
+
{
|
2369
|
+
"kind": "method",
|
2370
|
+
"name": "reportValidity",
|
2371
|
+
"inheritedFrom": {
|
2372
|
+
"name": "FormInternalsMixin",
|
2373
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
2374
|
+
}
|
2375
|
+
},
|
2376
|
+
{
|
2377
|
+
"kind": "field",
|
2378
|
+
"name": "id",
|
2379
|
+
"default": "`mdc-input-${uuidv4()}`",
|
2380
|
+
"inheritedFrom": {
|
2381
|
+
"name": "FormInternalsMixin",
|
2382
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
2383
|
+
}
|
2384
|
+
},
|
2385
|
+
{
|
2386
|
+
"kind": "field",
|
2387
|
+
"name": "tabIndex",
|
2388
|
+
"type": {
|
2389
|
+
"text": "number"
|
2390
|
+
},
|
2391
|
+
"default": "0",
|
2392
|
+
"description": "This property specifies the tab order of the element.",
|
2393
|
+
"attribute": "tabIndex",
|
2394
|
+
"reflects": true,
|
2395
|
+
"inheritedFrom": {
|
2396
|
+
"name": "TabIndexMixin",
|
2397
|
+
"module": "utils/mixins/TabIndexMixin.js"
|
2398
|
+
}
|
2399
|
+
},
|
2400
|
+
{
|
2401
|
+
"kind": "field",
|
2402
|
+
"name": "disabled",
|
2403
|
+
"type": {
|
2404
|
+
"text": "boolean"
|
2405
|
+
},
|
2406
|
+
"default": "false",
|
2407
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
2408
|
+
"attribute": "disabled",
|
2409
|
+
"reflects": true,
|
2410
|
+
"inheritedFrom": {
|
2411
|
+
"name": "DisabledMixin",
|
2412
|
+
"module": "utils/mixins/DisabledMixin.js"
|
2413
|
+
}
|
2414
|
+
}
|
2415
|
+
],
|
2416
|
+
"events": [
|
2417
|
+
{
|
2418
|
+
"description": "(React: onClick) This event is dispatched when the button is clicked.",
|
2419
|
+
"name": "click",
|
2420
|
+
"reactName": "onClick",
|
2421
|
+
"eventName": "ClickEvent"
|
2422
|
+
},
|
2423
|
+
{
|
2424
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
|
2425
|
+
"name": "keydown",
|
2023
2426
|
"reactName": "onKeyDown",
|
2024
2427
|
"eventName": "KeydownEvent"
|
2025
2428
|
},
|
@@ -2079,6 +2482,44 @@
|
|
2079
2482
|
"default": "button",
|
2080
2483
|
"fieldName": "type"
|
2081
2484
|
},
|
2485
|
+
{
|
2486
|
+
"name": "name",
|
2487
|
+
"type": {
|
2488
|
+
"text": "string"
|
2489
|
+
},
|
2490
|
+
"default": "''",
|
2491
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
2492
|
+
"fieldName": "name",
|
2493
|
+
"inheritedFrom": {
|
2494
|
+
"name": "FormInternalsMixin",
|
2495
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
2496
|
+
}
|
2497
|
+
},
|
2498
|
+
{
|
2499
|
+
"name": "value",
|
2500
|
+
"type": {
|
2501
|
+
"text": "string"
|
2502
|
+
},
|
2503
|
+
"default": "''",
|
2504
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
2505
|
+
"fieldName": "value",
|
2506
|
+
"inheritedFrom": {
|
2507
|
+
"name": "FormInternalsMixin",
|
2508
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
2509
|
+
}
|
2510
|
+
},
|
2511
|
+
{
|
2512
|
+
"name": "validation-message",
|
2513
|
+
"type": {
|
2514
|
+
"text": "string | undefined"
|
2515
|
+
},
|
2516
|
+
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
2517
|
+
"fieldName": "validationMessage",
|
2518
|
+
"inheritedFrom": {
|
2519
|
+
"name": "FormInternalsMixin",
|
2520
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
2521
|
+
}
|
2522
|
+
},
|
2082
2523
|
{
|
2083
2524
|
"name": "tabIndex",
|
2084
2525
|
"type": {
|
@@ -2107,6 +2548,10 @@
|
|
2107
2548
|
}
|
2108
2549
|
],
|
2109
2550
|
"mixins": [
|
2551
|
+
{
|
2552
|
+
"name": "FormInternalsMixin",
|
2553
|
+
"module": "/src/utils/mixins/FormInternalsMixin"
|
2554
|
+
},
|
2110
2555
|
{
|
2111
2556
|
"name": "TabIndexMixin",
|
2112
2557
|
"module": "/src/utils/mixins/TabIndexMixin"
|
@@ -2221,12 +2666,29 @@
|
|
2221
2666
|
"attribute": "indeterminate",
|
2222
2667
|
"reflects": true
|
2223
2668
|
},
|
2669
|
+
{
|
2670
|
+
"kind": "field",
|
2671
|
+
"name": "autofocus",
|
2672
|
+
"type": {
|
2673
|
+
"text": "boolean"
|
2674
|
+
},
|
2675
|
+
"default": "false",
|
2676
|
+
"description": "Automatically focus on the element when the page loads.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
|
2677
|
+
"attribute": "autofocus",
|
2678
|
+
"reflects": true
|
2679
|
+
},
|
2224
2680
|
{
|
2225
2681
|
"kind": "method",
|
2226
2682
|
"name": "setFormValue",
|
2227
2683
|
"privacy": "private",
|
2228
2684
|
"description": "Updates the form value to reflect the current state of the checkbox.\nIf checked, the value is set to either the user-provided value or 'on' if no value is provided.\nIf unchecked, the value is set to null."
|
2229
2685
|
},
|
2686
|
+
{
|
2687
|
+
"kind": "method",
|
2688
|
+
"name": "manageRequired",
|
2689
|
+
"privacy": "private",
|
2690
|
+
"description": "Manages the required state of the checkbox.\nIf the checkbox is not checked and the requiredLabel property is set, then the checkbox is invalid."
|
2691
|
+
},
|
2230
2692
|
{
|
2231
2693
|
"kind": "method",
|
2232
2694
|
"name": "toggleState",
|
@@ -2240,8 +2702,8 @@
|
|
2240
2702
|
},
|
2241
2703
|
{
|
2242
2704
|
"kind": "method",
|
2243
|
-
"name": "
|
2244
|
-
"privacy": "
|
2705
|
+
"name": "handleKeyDown",
|
2706
|
+
"privacy": "private",
|
2245
2707
|
"return": {
|
2246
2708
|
"type": {
|
2247
2709
|
"text": "void"
|
@@ -2251,16 +2713,17 @@
|
|
2251
2713
|
{
|
2252
2714
|
"name": "event",
|
2253
2715
|
"type": {
|
2254
|
-
"text": "
|
2255
|
-
}
|
2716
|
+
"text": "KeyboardEvent"
|
2717
|
+
},
|
2718
|
+
"description": "The keyboard event."
|
2256
2719
|
}
|
2257
2720
|
],
|
2258
|
-
"description": "
|
2721
|
+
"description": "Handles the keydown event on the checkbox.\nWhen the user presses Enter, the form is submitted."
|
2259
2722
|
},
|
2260
2723
|
{
|
2261
2724
|
"kind": "method",
|
2262
|
-
"name": "
|
2263
|
-
"privacy": "
|
2725
|
+
"name": "handleChange",
|
2726
|
+
"privacy": "public",
|
2264
2727
|
"return": {
|
2265
2728
|
"type": {
|
2266
2729
|
"text": "void"
|
@@ -2270,16 +2733,11 @@
|
|
2270
2733
|
{
|
2271
2734
|
"name": "event",
|
2272
2735
|
"type": {
|
2273
|
-
"text": "
|
2274
|
-
}
|
2275
|
-
"description": "The keyboard event."
|
2736
|
+
"text": "Event"
|
2737
|
+
}
|
2276
2738
|
}
|
2277
2739
|
],
|
2278
|
-
"description": "
|
2279
|
-
},
|
2280
|
-
{
|
2281
|
-
"kind": "field",
|
2282
|
-
"name": "internals"
|
2740
|
+
"description": "Toggles the state of the checkbox element.\nand dispatch the new change event."
|
2283
2741
|
},
|
2284
2742
|
{
|
2285
2743
|
"kind": "field",
|
@@ -2298,46 +2756,116 @@
|
|
2298
2756
|
},
|
2299
2757
|
{
|
2300
2758
|
"kind": "field",
|
2301
|
-
"name": "
|
2759
|
+
"name": "name",
|
2302
2760
|
"type": {
|
2303
2761
|
"text": "string"
|
2304
2762
|
},
|
2305
|
-
"default": "
|
2306
|
-
"description": "
|
2307
|
-
"attribute": "
|
2763
|
+
"default": "''",
|
2764
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
2765
|
+
"attribute": "name",
|
2766
|
+
"reflects": true,
|
2308
2767
|
"inheritedFrom": {
|
2309
|
-
"name": "
|
2310
|
-
"module": "
|
2768
|
+
"name": "FormInternalsMixin",
|
2769
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
2311
2770
|
}
|
2312
2771
|
},
|
2313
2772
|
{
|
2314
2773
|
"kind": "field",
|
2315
|
-
"name": "
|
2774
|
+
"name": "value",
|
2316
2775
|
"type": {
|
2317
2776
|
"text": "string"
|
2318
2777
|
},
|
2319
2778
|
"default": "''",
|
2320
|
-
"description": "Indicates the
|
2321
|
-
"attribute": "
|
2779
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
2780
|
+
"attribute": "value",
|
2322
2781
|
"reflects": true,
|
2323
2782
|
"inheritedFrom": {
|
2324
|
-
"name": "
|
2325
|
-
"module": "utils/mixins/
|
2783
|
+
"name": "FormInternalsMixin",
|
2784
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
2326
2785
|
}
|
2327
2786
|
},
|
2328
2787
|
{
|
2329
2788
|
"kind": "field",
|
2330
|
-
"name": "
|
2789
|
+
"name": "validationMessage",
|
2331
2790
|
"type": {
|
2332
|
-
"text": "string"
|
2791
|
+
"text": "string | undefined"
|
2333
2792
|
},
|
2334
|
-
"
|
2335
|
-
"
|
2336
|
-
"attribute": "value",
|
2793
|
+
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
2794
|
+
"attribute": "validation-message",
|
2337
2795
|
"reflects": true,
|
2338
2796
|
"inheritedFrom": {
|
2339
|
-
"name": "
|
2340
|
-
"module": "utils/mixins/
|
2797
|
+
"name": "FormInternalsMixin",
|
2798
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
2799
|
+
}
|
2800
|
+
},
|
2801
|
+
{
|
2802
|
+
"kind": "field",
|
2803
|
+
"name": "validity",
|
2804
|
+
"type": {
|
2805
|
+
"text": "ValidityState"
|
2806
|
+
},
|
2807
|
+
"readonly": true,
|
2808
|
+
"inheritedFrom": {
|
2809
|
+
"name": "FormInternalsMixin",
|
2810
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
2811
|
+
}
|
2812
|
+
},
|
2813
|
+
{
|
2814
|
+
"kind": "field",
|
2815
|
+
"name": "willValidate",
|
2816
|
+
"readonly": true,
|
2817
|
+
"inheritedFrom": {
|
2818
|
+
"name": "FormInternalsMixin",
|
2819
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
2820
|
+
}
|
2821
|
+
},
|
2822
|
+
{
|
2823
|
+
"kind": "method",
|
2824
|
+
"name": "setValidity",
|
2825
|
+
"description": "Sets the validity of the input field based on the input field's validity.",
|
2826
|
+
"return": {
|
2827
|
+
"type": {
|
2828
|
+
"text": ""
|
2829
|
+
}
|
2830
|
+
},
|
2831
|
+
"inheritedFrom": {
|
2832
|
+
"name": "FormInternalsMixin",
|
2833
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
2834
|
+
}
|
2835
|
+
},
|
2836
|
+
{
|
2837
|
+
"kind": "method",
|
2838
|
+
"name": "checkValidity",
|
2839
|
+
"return": {
|
2840
|
+
"type": {
|
2841
|
+
"text": "boolean"
|
2842
|
+
}
|
2843
|
+
},
|
2844
|
+
"inheritedFrom": {
|
2845
|
+
"name": "FormInternalsMixin",
|
2846
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
2847
|
+
}
|
2848
|
+
},
|
2849
|
+
{
|
2850
|
+
"kind": "method",
|
2851
|
+
"name": "reportValidity",
|
2852
|
+
"inheritedFrom": {
|
2853
|
+
"name": "FormInternalsMixin",
|
2854
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
2855
|
+
}
|
2856
|
+
},
|
2857
|
+
{
|
2858
|
+
"kind": "field",
|
2859
|
+
"name": "id",
|
2860
|
+
"type": {
|
2861
|
+
"text": "string"
|
2862
|
+
},
|
2863
|
+
"default": "`mdc-input-${uuidv4()}`",
|
2864
|
+
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
2865
|
+
"attribute": "id",
|
2866
|
+
"inheritedFrom": {
|
2867
|
+
"name": "FormfieldWrapper",
|
2868
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
2341
2869
|
}
|
2342
2870
|
},
|
2343
2871
|
{
|
@@ -2535,17 +3063,26 @@
|
|
2535
3063
|
"description": "This property is used to determine the parent checkbox in a nested checkbox group.\nIf any one of the children is unselected, then the parent checkbox will be indeterminate.\nIf all children are either selected or unselected, then the parent checkbox will not be indeterminate.",
|
2536
3064
|
"fieldName": "indeterminate"
|
2537
3065
|
},
|
3066
|
+
{
|
3067
|
+
"name": "autofocus",
|
3068
|
+
"type": {
|
3069
|
+
"text": "boolean"
|
3070
|
+
},
|
3071
|
+
"default": "false",
|
3072
|
+
"description": "Automatically focus on the element when the page loads.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
|
3073
|
+
"fieldName": "autofocus"
|
3074
|
+
},
|
2538
3075
|
{
|
2539
3076
|
"name": "name",
|
2540
3077
|
"type": {
|
2541
3078
|
"text": "string"
|
2542
3079
|
},
|
2543
3080
|
"default": "''",
|
2544
|
-
"description": "Indicates the name of the component group
|
3081
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
2545
3082
|
"fieldName": "name",
|
2546
3083
|
"inheritedFrom": {
|
2547
|
-
"name": "
|
2548
|
-
"module": "src/utils/mixins/
|
3084
|
+
"name": "FormInternalsMixin",
|
3085
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
2549
3086
|
}
|
2550
3087
|
},
|
2551
3088
|
{
|
@@ -2557,8 +3094,20 @@
|
|
2557
3094
|
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
2558
3095
|
"fieldName": "value",
|
2559
3096
|
"inheritedFrom": {
|
2560
|
-
"name": "
|
2561
|
-
"module": "src/utils/mixins/
|
3097
|
+
"name": "FormInternalsMixin",
|
3098
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
3099
|
+
}
|
3100
|
+
},
|
3101
|
+
{
|
3102
|
+
"name": "validation-message",
|
3103
|
+
"type": {
|
3104
|
+
"text": "string | undefined"
|
3105
|
+
},
|
3106
|
+
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
3107
|
+
"fieldName": "validationMessage",
|
3108
|
+
"inheritedFrom": {
|
3109
|
+
"name": "FormInternalsMixin",
|
3110
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
2562
3111
|
}
|
2563
3112
|
},
|
2564
3113
|
{
|
@@ -2651,12 +3200,8 @@
|
|
2651
3200
|
],
|
2652
3201
|
"mixins": [
|
2653
3202
|
{
|
2654
|
-
"name": "
|
2655
|
-
"module": "/src/utils/mixins/
|
2656
|
-
},
|
2657
|
-
{
|
2658
|
-
"name": "ValueMixin",
|
2659
|
-
"module": "/src/utils/mixins/ValueMixin"
|
3203
|
+
"name": "FormInternalsMixin",
|
3204
|
+
"module": "/src/utils/mixins/FormInternalsMixin"
|
2660
3205
|
},
|
2661
3206
|
{
|
2662
3207
|
"name": "DataAriaLabelMixin",
|
@@ -4125,37 +4670,18 @@
|
|
4125
4670
|
},
|
4126
4671
|
{
|
4127
4672
|
"kind": "method",
|
4128
|
-
"name": "
|
4673
|
+
"name": "handleValueChange",
|
4674
|
+
"description": "Handles the value change of the input field.\nSets the form value and updates the validity of the input field.",
|
4129
4675
|
"return": {
|
4130
4676
|
"type": {
|
4131
|
-
"text": "
|
4677
|
+
"text": ""
|
4132
4678
|
}
|
4133
4679
|
}
|
4134
4680
|
},
|
4135
4681
|
{
|
4136
4682
|
"kind": "method",
|
4137
|
-
"name": "
|
4138
|
-
|
4139
|
-
{
|
4140
|
-
"kind": "method",
|
4141
|
-
"name": "handleValueChange",
|
4142
|
-
"description": "Handles the value change of the input field.\nSets the form value and updates the validity of the input field.",
|
4143
|
-
"return": {
|
4144
|
-
"type": {
|
4145
|
-
"text": ""
|
4146
|
-
}
|
4147
|
-
}
|
4148
|
-
},
|
4149
|
-
{
|
4150
|
-
"kind": "method",
|
4151
|
-
"name": "setValidityFromInput",
|
4152
|
-
"privacy": "private",
|
4153
|
-
"description": "Sets the validity of the input field based on the input field's validity.",
|
4154
|
-
"return": {
|
4155
|
-
"type": {
|
4156
|
-
"text": ""
|
4157
|
-
}
|
4158
|
-
}
|
4683
|
+
"name": "setInputValidity",
|
4684
|
+
"privacy": "private"
|
4159
4685
|
},
|
4160
4686
|
{
|
4161
4687
|
"kind": "method",
|
@@ -4245,61 +4771,131 @@
|
|
4245
4771
|
},
|
4246
4772
|
{
|
4247
4773
|
"kind": "field",
|
4248
|
-
"name": "
|
4774
|
+
"name": "name",
|
4249
4775
|
"type": {
|
4250
4776
|
"text": "string"
|
4251
4777
|
},
|
4252
|
-
"default": "
|
4253
|
-
"description": "
|
4254
|
-
"attribute": "
|
4778
|
+
"default": "''",
|
4779
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
4780
|
+
"attribute": "name",
|
4781
|
+
"reflects": true,
|
4255
4782
|
"inheritedFrom": {
|
4256
|
-
"name": "
|
4257
|
-
"module": "
|
4783
|
+
"name": "FormInternalsMixin",
|
4784
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
4258
4785
|
}
|
4259
4786
|
},
|
4260
4787
|
{
|
4261
4788
|
"kind": "field",
|
4262
|
-
"name": "
|
4789
|
+
"name": "value",
|
4263
4790
|
"type": {
|
4264
|
-
"text": "string
|
4791
|
+
"text": "string"
|
4265
4792
|
},
|
4266
|
-
"default": "
|
4267
|
-
"description": "
|
4268
|
-
"attribute": "
|
4793
|
+
"default": "''",
|
4794
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
4795
|
+
"attribute": "value",
|
4269
4796
|
"reflects": true,
|
4270
4797
|
"inheritedFrom": {
|
4271
|
-
"name": "
|
4272
|
-
"module": "utils/mixins/
|
4798
|
+
"name": "FormInternalsMixin",
|
4799
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
4273
4800
|
}
|
4274
4801
|
},
|
4275
4802
|
{
|
4276
4803
|
"kind": "field",
|
4277
|
-
"name": "
|
4804
|
+
"name": "validationMessage",
|
4278
4805
|
"type": {
|
4279
|
-
"text": "string"
|
4806
|
+
"text": "string | undefined"
|
4280
4807
|
},
|
4281
|
-
"
|
4282
|
-
"
|
4283
|
-
"attribute": "value",
|
4808
|
+
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
4809
|
+
"attribute": "validation-message",
|
4284
4810
|
"reflects": true,
|
4285
4811
|
"inheritedFrom": {
|
4286
|
-
"name": "
|
4287
|
-
"module": "utils/mixins/
|
4812
|
+
"name": "FormInternalsMixin",
|
4813
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
4288
4814
|
}
|
4289
4815
|
},
|
4290
4816
|
{
|
4291
4817
|
"kind": "field",
|
4292
|
-
"name": "
|
4818
|
+
"name": "validity",
|
4819
|
+
"type": {
|
4820
|
+
"text": "ValidityState"
|
4821
|
+
},
|
4822
|
+
"readonly": true,
|
4823
|
+
"inheritedFrom": {
|
4824
|
+
"name": "FormInternalsMixin",
|
4825
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
4826
|
+
}
|
4827
|
+
},
|
4828
|
+
{
|
4829
|
+
"kind": "field",
|
4830
|
+
"name": "willValidate",
|
4831
|
+
"readonly": true,
|
4832
|
+
"inheritedFrom": {
|
4833
|
+
"name": "FormInternalsMixin",
|
4834
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
4835
|
+
}
|
4836
|
+
},
|
4837
|
+
{
|
4838
|
+
"kind": "method",
|
4839
|
+
"name": "setValidity",
|
4840
|
+
"description": "Sets the validity of the input field based on the input field's validity.",
|
4841
|
+
"return": {
|
4842
|
+
"type": {
|
4843
|
+
"text": ""
|
4844
|
+
}
|
4845
|
+
},
|
4846
|
+
"inheritedFrom": {
|
4847
|
+
"name": "FormInternalsMixin",
|
4848
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
4849
|
+
}
|
4850
|
+
},
|
4851
|
+
{
|
4852
|
+
"kind": "method",
|
4853
|
+
"name": "checkValidity",
|
4854
|
+
"return": {
|
4855
|
+
"type": {
|
4856
|
+
"text": "boolean"
|
4857
|
+
}
|
4858
|
+
},
|
4859
|
+
"inheritedFrom": {
|
4860
|
+
"name": "FormInternalsMixin",
|
4861
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
4862
|
+
}
|
4863
|
+
},
|
4864
|
+
{
|
4865
|
+
"kind": "method",
|
4866
|
+
"name": "reportValidity",
|
4867
|
+
"inheritedFrom": {
|
4868
|
+
"name": "FormInternalsMixin",
|
4869
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
4870
|
+
}
|
4871
|
+
},
|
4872
|
+
{
|
4873
|
+
"kind": "field",
|
4874
|
+
"name": "id",
|
4293
4875
|
"type": {
|
4294
4876
|
"text": "string"
|
4295
4877
|
},
|
4296
|
-
"default": "
|
4297
|
-
"description": "
|
4298
|
-
"attribute": "
|
4878
|
+
"default": "`mdc-input-${uuidv4()}`",
|
4879
|
+
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
4880
|
+
"attribute": "id",
|
4881
|
+
"inheritedFrom": {
|
4882
|
+
"name": "FormfieldWrapper",
|
4883
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
4884
|
+
}
|
4885
|
+
},
|
4886
|
+
{
|
4887
|
+
"kind": "field",
|
4888
|
+
"name": "dataAriaLabel",
|
4889
|
+
"type": {
|
4890
|
+
"text": "string | null"
|
4891
|
+
},
|
4892
|
+
"default": "null",
|
4893
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
4894
|
+
"attribute": "data-aria-label",
|
4299
4895
|
"reflects": true,
|
4300
4896
|
"inheritedFrom": {
|
4301
|
-
"name": "
|
4302
|
-
"module": "utils/mixins/
|
4897
|
+
"name": "DataAriaLabelMixin",
|
4898
|
+
"module": "utils/mixins/DataAriaLabelMixin.js"
|
4303
4899
|
}
|
4304
4900
|
},
|
4305
4901
|
{
|
@@ -4619,16 +5215,16 @@
|
|
4619
5215
|
"fieldName": "clearAriaLabel"
|
4620
5216
|
},
|
4621
5217
|
{
|
4622
|
-
"name": "
|
5218
|
+
"name": "name",
|
4623
5219
|
"type": {
|
4624
|
-
"text": "string
|
5220
|
+
"text": "string"
|
4625
5221
|
},
|
4626
|
-
"default": "
|
4627
|
-
"description": "
|
4628
|
-
"fieldName": "
|
5222
|
+
"default": "''",
|
5223
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
5224
|
+
"fieldName": "name",
|
4629
5225
|
"inheritedFrom": {
|
4630
|
-
"name": "
|
4631
|
-
"module": "src/utils/mixins/
|
5226
|
+
"name": "FormInternalsMixin",
|
5227
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
4632
5228
|
}
|
4633
5229
|
},
|
4634
5230
|
{
|
@@ -4640,21 +5236,33 @@
|
|
4640
5236
|
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
4641
5237
|
"fieldName": "value",
|
4642
5238
|
"inheritedFrom": {
|
4643
|
-
"name": "
|
4644
|
-
"module": "src/utils/mixins/
|
5239
|
+
"name": "FormInternalsMixin",
|
5240
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
4645
5241
|
}
|
4646
5242
|
},
|
4647
5243
|
{
|
4648
|
-
"name": "
|
5244
|
+
"name": "validation-message",
|
4649
5245
|
"type": {
|
4650
|
-
"text": "string"
|
5246
|
+
"text": "string | undefined"
|
4651
5247
|
},
|
4652
|
-
"
|
4653
|
-
"
|
4654
|
-
"
|
5248
|
+
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
5249
|
+
"fieldName": "validationMessage",
|
5250
|
+
"inheritedFrom": {
|
5251
|
+
"name": "FormInternalsMixin",
|
5252
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
5253
|
+
}
|
5254
|
+
},
|
5255
|
+
{
|
5256
|
+
"name": "data-aria-label",
|
5257
|
+
"type": {
|
5258
|
+
"text": "string | null"
|
5259
|
+
},
|
5260
|
+
"default": "null",
|
5261
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
5262
|
+
"fieldName": "dataAriaLabel",
|
4655
5263
|
"inheritedFrom": {
|
4656
|
-
"name": "
|
4657
|
-
"module": "src/utils/mixins/
|
5264
|
+
"name": "DataAriaLabelMixin",
|
5265
|
+
"module": "src/utils/mixins/DataAriaLabelMixin.ts"
|
4658
5266
|
}
|
4659
5267
|
},
|
4660
5268
|
{
|
@@ -4734,16 +5342,12 @@
|
|
4734
5342
|
],
|
4735
5343
|
"mixins": [
|
4736
5344
|
{
|
4737
|
-
"name": "
|
4738
|
-
"module": "/src/utils/mixins/
|
4739
|
-
},
|
4740
|
-
{
|
4741
|
-
"name": "ValueMixin",
|
4742
|
-
"module": "/src/utils/mixins/ValueMixin"
|
5345
|
+
"name": "FormInternalsMixin",
|
5346
|
+
"module": "/src/utils/mixins/FormInternalsMixin"
|
4743
5347
|
},
|
4744
5348
|
{
|
4745
|
-
"name": "
|
4746
|
-
"module": "/src/utils/mixins/
|
5349
|
+
"name": "DataAriaLabelMixin",
|
5350
|
+
"module": "/src/utils/mixins/DataAriaLabelMixin"
|
4747
5351
|
}
|
4748
5352
|
],
|
4749
5353
|
"superclass": {
|
@@ -6837,10 +7441,15 @@
|
|
6837
7441
|
"reflects": true
|
6838
7442
|
},
|
6839
7443
|
{
|
6840
|
-
"kind": "
|
6841
|
-
"name": "
|
6842
|
-
"
|
6843
|
-
|
7444
|
+
"kind": "field",
|
7445
|
+
"name": "autofocus",
|
7446
|
+
"type": {
|
7447
|
+
"text": "boolean"
|
7448
|
+
},
|
7449
|
+
"default": "false",
|
7450
|
+
"description": "Automatically focus on the element when the page loads.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
|
7451
|
+
"attribute": "autofocus",
|
7452
|
+
"reflects": true
|
6844
7453
|
},
|
6845
7454
|
{
|
6846
7455
|
"kind": "method",
|
@@ -6872,6 +7481,34 @@
|
|
6872
7481
|
],
|
6873
7482
|
"description": "The 'change' event does not bubble up through the shadow DOM as it was not composed.\nTherefore, we need to re-dispatch the same event to ensure it is propagated correctly.\nRead more: https://developer.mozilla.org/en-US/docs/Web/API/Event/composed"
|
6874
7483
|
},
|
7484
|
+
{
|
7485
|
+
"kind": "method",
|
7486
|
+
"name": "setGroupValidity",
|
7487
|
+
"privacy": "private",
|
7488
|
+
"parameters": [
|
7489
|
+
{
|
7490
|
+
"name": "radios",
|
7491
|
+
"type": {
|
7492
|
+
"text": "Radio[]"
|
7493
|
+
},
|
7494
|
+
"description": "Array of radios of the same group"
|
7495
|
+
},
|
7496
|
+
{
|
7497
|
+
"name": "isValid",
|
7498
|
+
"type": {
|
7499
|
+
"text": "boolean"
|
7500
|
+
},
|
7501
|
+
"description": "Boolean value to set the validity of the group"
|
7502
|
+
}
|
7503
|
+
],
|
7504
|
+
"description": "Sets the validity of the group of radios."
|
7505
|
+
},
|
7506
|
+
{
|
7507
|
+
"kind": "method",
|
7508
|
+
"name": "setActualFormValue",
|
7509
|
+
"privacy": "private",
|
7510
|
+
"description": "Updates the form value to reflect the current state of the radio.\nIf checked, the value is set to the user-provided value.\nIf unchecked, the value is set to null."
|
7511
|
+
},
|
6875
7512
|
{
|
6876
7513
|
"kind": "method",
|
6877
7514
|
"name": "handleChange",
|
@@ -6952,13 +7589,14 @@
|
|
6952
7589
|
},
|
6953
7590
|
{
|
6954
7591
|
"kind": "field",
|
6955
|
-
"name": "
|
7592
|
+
"name": "helpTextType",
|
6956
7593
|
"type": {
|
6957
|
-
"text": "
|
7594
|
+
"text": "ValidationType"
|
6958
7595
|
},
|
6959
|
-
"
|
6960
|
-
"
|
6961
|
-
"
|
7596
|
+
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
7597
|
+
"attribute": "help-text-type",
|
7598
|
+
"reflects": true,
|
7599
|
+
"default": "undefined as unknown",
|
6962
7600
|
"inheritedFrom": {
|
6963
7601
|
"name": "FormfieldWrapper",
|
6964
7602
|
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
@@ -6971,12 +7609,12 @@
|
|
6971
7609
|
"text": "string"
|
6972
7610
|
},
|
6973
7611
|
"default": "''",
|
6974
|
-
"description": "Indicates the name of the component group
|
7612
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
6975
7613
|
"attribute": "name",
|
6976
7614
|
"reflects": true,
|
6977
7615
|
"inheritedFrom": {
|
6978
|
-
"name": "
|
6979
|
-
"module": "utils/mixins/
|
7616
|
+
"name": "FormInternalsMixin",
|
7617
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
6980
7618
|
}
|
6981
7619
|
},
|
6982
7620
|
{
|
@@ -6990,8 +7628,92 @@
|
|
6990
7628
|
"attribute": "value",
|
6991
7629
|
"reflects": true,
|
6992
7630
|
"inheritedFrom": {
|
6993
|
-
"name": "
|
6994
|
-
"module": "utils/mixins/
|
7631
|
+
"name": "FormInternalsMixin",
|
7632
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
7633
|
+
}
|
7634
|
+
},
|
7635
|
+
{
|
7636
|
+
"kind": "field",
|
7637
|
+
"name": "validationMessage",
|
7638
|
+
"type": {
|
7639
|
+
"text": "string | undefined"
|
7640
|
+
},
|
7641
|
+
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
7642
|
+
"attribute": "validation-message",
|
7643
|
+
"reflects": true,
|
7644
|
+
"inheritedFrom": {
|
7645
|
+
"name": "FormInternalsMixin",
|
7646
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
7647
|
+
}
|
7648
|
+
},
|
7649
|
+
{
|
7650
|
+
"kind": "field",
|
7651
|
+
"name": "validity",
|
7652
|
+
"type": {
|
7653
|
+
"text": "ValidityState"
|
7654
|
+
},
|
7655
|
+
"readonly": true,
|
7656
|
+
"inheritedFrom": {
|
7657
|
+
"name": "FormInternalsMixin",
|
7658
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
7659
|
+
}
|
7660
|
+
},
|
7661
|
+
{
|
7662
|
+
"kind": "field",
|
7663
|
+
"name": "willValidate",
|
7664
|
+
"readonly": true,
|
7665
|
+
"inheritedFrom": {
|
7666
|
+
"name": "FormInternalsMixin",
|
7667
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
7668
|
+
}
|
7669
|
+
},
|
7670
|
+
{
|
7671
|
+
"kind": "method",
|
7672
|
+
"name": "setValidity",
|
7673
|
+
"description": "Sets the validity of the input field based on the input field's validity.",
|
7674
|
+
"return": {
|
7675
|
+
"type": {
|
7676
|
+
"text": ""
|
7677
|
+
}
|
7678
|
+
},
|
7679
|
+
"inheritedFrom": {
|
7680
|
+
"name": "FormInternalsMixin",
|
7681
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
7682
|
+
}
|
7683
|
+
},
|
7684
|
+
{
|
7685
|
+
"kind": "method",
|
7686
|
+
"name": "checkValidity",
|
7687
|
+
"return": {
|
7688
|
+
"type": {
|
7689
|
+
"text": "boolean"
|
7690
|
+
}
|
7691
|
+
},
|
7692
|
+
"inheritedFrom": {
|
7693
|
+
"name": "FormInternalsMixin",
|
7694
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
7695
|
+
}
|
7696
|
+
},
|
7697
|
+
{
|
7698
|
+
"kind": "method",
|
7699
|
+
"name": "reportValidity",
|
7700
|
+
"inheritedFrom": {
|
7701
|
+
"name": "FormInternalsMixin",
|
7702
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
7703
|
+
}
|
7704
|
+
},
|
7705
|
+
{
|
7706
|
+
"kind": "field",
|
7707
|
+
"name": "id",
|
7708
|
+
"type": {
|
7709
|
+
"text": "string"
|
7710
|
+
},
|
7711
|
+
"default": "`mdc-input-${uuidv4()}`",
|
7712
|
+
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
7713
|
+
"attribute": "id",
|
7714
|
+
"inheritedFrom": {
|
7715
|
+
"name": "FormfieldWrapper",
|
7716
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
6995
7717
|
}
|
6996
7718
|
},
|
6997
7719
|
{
|
@@ -7054,26 +7776,12 @@
|
|
7054
7776
|
},
|
7055
7777
|
{
|
7056
7778
|
"kind": "field",
|
7057
|
-
"name": "
|
7779
|
+
"name": "helpText",
|
7058
7780
|
"type": {
|
7059
|
-
"text": "
|
7781
|
+
"text": "string | undefined"
|
7060
7782
|
},
|
7061
|
-
"description": "The
|
7062
|
-
"attribute": "help-text
|
7063
|
-
"reflects": true,
|
7064
|
-
"inheritedFrom": {
|
7065
|
-
"name": "FormfieldWrapper",
|
7066
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
7067
|
-
}
|
7068
|
-
},
|
7069
|
-
{
|
7070
|
-
"kind": "field",
|
7071
|
-
"name": "helpText",
|
7072
|
-
"type": {
|
7073
|
-
"text": "string | undefined"
|
7074
|
-
},
|
7075
|
-
"description": "The help text that is displayed below the input field.",
|
7076
|
-
"attribute": "help-text",
|
7783
|
+
"description": "The help text that is displayed below the input field.",
|
7784
|
+
"attribute": "help-text",
|
7077
7785
|
"reflects": true,
|
7078
7786
|
"inheritedFrom": {
|
7079
7787
|
"name": "FormfieldWrapper",
|
@@ -7203,17 +7911,26 @@
|
|
7203
7911
|
"description": "Determines whether the radio is read-only.",
|
7204
7912
|
"fieldName": "readonly"
|
7205
7913
|
},
|
7914
|
+
{
|
7915
|
+
"name": "autofocus",
|
7916
|
+
"type": {
|
7917
|
+
"text": "boolean"
|
7918
|
+
},
|
7919
|
+
"default": "false",
|
7920
|
+
"description": "Automatically focus on the element when the page loads.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
|
7921
|
+
"fieldName": "autofocus"
|
7922
|
+
},
|
7206
7923
|
{
|
7207
7924
|
"name": "name",
|
7208
7925
|
"type": {
|
7209
7926
|
"text": "string"
|
7210
7927
|
},
|
7211
7928
|
"default": "''",
|
7212
|
-
"description": "Indicates the name of the component group
|
7929
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
7213
7930
|
"fieldName": "name",
|
7214
7931
|
"inheritedFrom": {
|
7215
|
-
"name": "
|
7216
|
-
"module": "src/utils/mixins/
|
7932
|
+
"name": "FormInternalsMixin",
|
7933
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
7217
7934
|
}
|
7218
7935
|
},
|
7219
7936
|
{
|
@@ -7225,8 +7942,20 @@
|
|
7225
7942
|
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
7226
7943
|
"fieldName": "value",
|
7227
7944
|
"inheritedFrom": {
|
7228
|
-
"name": "
|
7229
|
-
"module": "src/utils/mixins/
|
7945
|
+
"name": "FormInternalsMixin",
|
7946
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
7947
|
+
}
|
7948
|
+
},
|
7949
|
+
{
|
7950
|
+
"name": "validation-message",
|
7951
|
+
"type": {
|
7952
|
+
"text": "string | undefined"
|
7953
|
+
},
|
7954
|
+
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
7955
|
+
"fieldName": "validationMessage",
|
7956
|
+
"inheritedFrom": {
|
7957
|
+
"name": "FormInternalsMixin",
|
7958
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
7230
7959
|
}
|
7231
7960
|
},
|
7232
7961
|
{
|
@@ -7319,12 +8048,8 @@
|
|
7319
8048
|
],
|
7320
8049
|
"mixins": [
|
7321
8050
|
{
|
7322
|
-
"name": "
|
7323
|
-
"module": "/src/utils/mixins/
|
7324
|
-
},
|
7325
|
-
{
|
7326
|
-
"name": "ValueMixin",
|
7327
|
-
"module": "/src/utils/mixins/ValueMixin"
|
8051
|
+
"name": "FormInternalsMixin",
|
8052
|
+
"module": "/src/utils/mixins/FormInternalsMixin"
|
7328
8053
|
},
|
7329
8054
|
{
|
7330
8055
|
"name": "DataAriaLabelMixin",
|
@@ -7383,13 +8108,8 @@
|
|
7383
8108
|
"text": "string"
|
7384
8109
|
},
|
7385
8110
|
"default": "''",
|
7386
|
-
"description": "
|
7387
|
-
"attribute": "name"
|
7388
|
-
"reflects": true,
|
7389
|
-
"inheritedFrom": {
|
7390
|
-
"name": "NameMixin",
|
7391
|
-
"module": "utils/mixins/NameMixin.js"
|
7392
|
-
}
|
8111
|
+
"description": "Name of the radio group.\nThey are used to group elements in a form together.",
|
8112
|
+
"attribute": "name"
|
7393
8113
|
},
|
7394
8114
|
{
|
7395
8115
|
"kind": "field",
|
@@ -7577,19 +8297,6 @@
|
|
7577
8297
|
}
|
7578
8298
|
}
|
7579
8299
|
],
|
7580
|
-
"mixins": [
|
7581
|
-
{
|
7582
|
-
"name": "NameMixin",
|
7583
|
-
"module": "/src/utils/mixins/NameMixin"
|
7584
|
-
}
|
7585
|
-
],
|
7586
|
-
"superclass": {
|
7587
|
-
"name": "FormfieldGroup",
|
7588
|
-
"module": "/src/components/formfieldgroup"
|
7589
|
-
},
|
7590
|
-
"tagName": "mdc-radiogroup",
|
7591
|
-
"jsDoc": "/**\n * `mdc-radiogroup` - This is the wrapper component for radio buttons which are grouped together.\n * It can have a header text and a description. It enables users to select a single option from a set of options.\n * It is often used in forms, settings, and selection in lists. It automatically group the radio buttons inside it.\n *\n * @tagname mdc-radiogroup\n *\n * @cssproperty --mdc-radiogroup-description-text-normal - color of the description text\n *\n */",
|
7592
|
-
"customElement": true,
|
7593
8300
|
"attributes": [
|
7594
8301
|
{
|
7595
8302
|
"name": "name",
|
@@ -7597,12 +8304,8 @@
|
|
7597
8304
|
"text": "string"
|
7598
8305
|
},
|
7599
8306
|
"default": "''",
|
7600
|
-
"description": "
|
7601
|
-
"fieldName": "name"
|
7602
|
-
"inheritedFrom": {
|
7603
|
-
"name": "NameMixin",
|
7604
|
-
"module": "src/utils/mixins/NameMixin.ts"
|
7605
|
-
}
|
8307
|
+
"description": "Name of the radio group.\nThey are used to group elements in a form together.",
|
8308
|
+
"fieldName": "name"
|
7606
8309
|
},
|
7607
8310
|
{
|
7608
8311
|
"name": "data-aria-label",
|
@@ -7692,6 +8395,13 @@
|
|
7692
8395
|
}
|
7693
8396
|
}
|
7694
8397
|
],
|
8398
|
+
"superclass": {
|
8399
|
+
"name": "FormfieldGroup",
|
8400
|
+
"module": "/src/components/formfieldgroup"
|
8401
|
+
},
|
8402
|
+
"tagName": "mdc-radiogroup",
|
8403
|
+
"jsDoc": "/**\n * `mdc-radiogroup` - This is the wrapper component for radio buttons which are grouped together.\n * It can have a header text and a description. It enables users to select a single option from a set of options.\n * It is often used in forms, settings, and selection in lists. It automatically group the radio buttons inside it.\n *\n * @tagname mdc-radiogroup\n *\n * @cssproperty --mdc-radiogroup-description-text-normal - color of the description text\n *\n */",
|
8404
|
+
"customElement": true,
|
7695
8405
|
"slots": [
|
7696
8406
|
{
|
7697
8407
|
"description": "This is a default slot for checkbox or toggle components.",
|
@@ -8235,6 +8945,115 @@
|
|
8235
8945
|
"module": "utils/mixins/IconNameMixin.js"
|
8236
8946
|
}
|
8237
8947
|
},
|
8948
|
+
{
|
8949
|
+
"kind": "field",
|
8950
|
+
"name": "name",
|
8951
|
+
"type": {
|
8952
|
+
"text": "string"
|
8953
|
+
},
|
8954
|
+
"default": "''",
|
8955
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
8956
|
+
"attribute": "name",
|
8957
|
+
"reflects": true,
|
8958
|
+
"inheritedFrom": {
|
8959
|
+
"name": "Buttonsimple",
|
8960
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
8961
|
+
}
|
8962
|
+
},
|
8963
|
+
{
|
8964
|
+
"kind": "field",
|
8965
|
+
"name": "value",
|
8966
|
+
"type": {
|
8967
|
+
"text": "string"
|
8968
|
+
},
|
8969
|
+
"default": "''",
|
8970
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
8971
|
+
"attribute": "value",
|
8972
|
+
"reflects": true,
|
8973
|
+
"inheritedFrom": {
|
8974
|
+
"name": "Buttonsimple",
|
8975
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
8976
|
+
}
|
8977
|
+
},
|
8978
|
+
{
|
8979
|
+
"kind": "field",
|
8980
|
+
"name": "validationMessage",
|
8981
|
+
"type": {
|
8982
|
+
"text": "string | undefined"
|
8983
|
+
},
|
8984
|
+
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
8985
|
+
"attribute": "validation-message",
|
8986
|
+
"reflects": true,
|
8987
|
+
"inheritedFrom": {
|
8988
|
+
"name": "Buttonsimple",
|
8989
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
8990
|
+
}
|
8991
|
+
},
|
8992
|
+
{
|
8993
|
+
"kind": "field",
|
8994
|
+
"name": "validity",
|
8995
|
+
"type": {
|
8996
|
+
"text": "ValidityState"
|
8997
|
+
},
|
8998
|
+
"readonly": true,
|
8999
|
+
"inheritedFrom": {
|
9000
|
+
"name": "Buttonsimple",
|
9001
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
9002
|
+
}
|
9003
|
+
},
|
9004
|
+
{
|
9005
|
+
"kind": "field",
|
9006
|
+
"name": "willValidate",
|
9007
|
+
"readonly": true,
|
9008
|
+
"inheritedFrom": {
|
9009
|
+
"name": "Buttonsimple",
|
9010
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
9011
|
+
}
|
9012
|
+
},
|
9013
|
+
{
|
9014
|
+
"kind": "method",
|
9015
|
+
"name": "setValidity",
|
9016
|
+
"description": "Sets the validity of the input field based on the input field's validity.",
|
9017
|
+
"return": {
|
9018
|
+
"type": {
|
9019
|
+
"text": ""
|
9020
|
+
}
|
9021
|
+
},
|
9022
|
+
"inheritedFrom": {
|
9023
|
+
"name": "Buttonsimple",
|
9024
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
9025
|
+
}
|
9026
|
+
},
|
9027
|
+
{
|
9028
|
+
"kind": "method",
|
9029
|
+
"name": "checkValidity",
|
9030
|
+
"return": {
|
9031
|
+
"type": {
|
9032
|
+
"text": "boolean"
|
9033
|
+
}
|
9034
|
+
},
|
9035
|
+
"inheritedFrom": {
|
9036
|
+
"name": "Buttonsimple",
|
9037
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
9038
|
+
}
|
9039
|
+
},
|
9040
|
+
{
|
9041
|
+
"kind": "method",
|
9042
|
+
"name": "reportValidity",
|
9043
|
+
"inheritedFrom": {
|
9044
|
+
"name": "Buttonsimple",
|
9045
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
9046
|
+
}
|
9047
|
+
},
|
9048
|
+
{
|
9049
|
+
"kind": "field",
|
9050
|
+
"name": "id",
|
9051
|
+
"default": "`mdc-input-${uuidv4()}`",
|
9052
|
+
"inheritedFrom": {
|
9053
|
+
"name": "Buttonsimple",
|
9054
|
+
"module": "components/buttonsimple/buttonsimple.component.js"
|
9055
|
+
}
|
9056
|
+
},
|
8238
9057
|
{
|
8239
9058
|
"kind": "field",
|
8240
9059
|
"name": "tabIndex",
|
@@ -8462,6 +9281,44 @@
|
|
8462
9281
|
"module": "src/utils/mixins/IconNameMixin.ts"
|
8463
9282
|
}
|
8464
9283
|
},
|
9284
|
+
{
|
9285
|
+
"name": "name",
|
9286
|
+
"type": {
|
9287
|
+
"text": "string"
|
9288
|
+
},
|
9289
|
+
"default": "''",
|
9290
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
9291
|
+
"fieldName": "name",
|
9292
|
+
"inheritedFrom": {
|
9293
|
+
"name": "Buttonsimple",
|
9294
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
9295
|
+
}
|
9296
|
+
},
|
9297
|
+
{
|
9298
|
+
"name": "value",
|
9299
|
+
"type": {
|
9300
|
+
"text": "string"
|
9301
|
+
},
|
9302
|
+
"default": "''",
|
9303
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
9304
|
+
"fieldName": "value",
|
9305
|
+
"inheritedFrom": {
|
9306
|
+
"name": "Buttonsimple",
|
9307
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
9308
|
+
}
|
9309
|
+
},
|
9310
|
+
{
|
9311
|
+
"name": "validation-message",
|
9312
|
+
"type": {
|
9313
|
+
"text": "string | undefined"
|
9314
|
+
},
|
9315
|
+
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
9316
|
+
"fieldName": "validationMessage",
|
9317
|
+
"inheritedFrom": {
|
9318
|
+
"name": "Buttonsimple",
|
9319
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
9320
|
+
}
|
9321
|
+
},
|
8465
9322
|
{
|
8466
9323
|
"name": "tabIndex",
|
8467
9324
|
"type": {
|
@@ -8687,7 +9544,7 @@
|
|
8687
9544
|
"name": "--mdc-themeprovider-letter-spacing-adjustment"
|
8688
9545
|
},
|
8689
9546
|
{
|
8690
|
-
"description": "Option to override the font feature settings, default: `
|
9547
|
+
"description": "Option to override the font feature settings, default: `\"ss02\" on`",
|
8691
9548
|
"name": "--mdc-themeprovider-font-feature-settings"
|
8692
9549
|
},
|
8693
9550
|
{
|
@@ -8764,7 +9621,7 @@
|
|
8764
9621
|
"module": "/src/models"
|
8765
9622
|
},
|
8766
9623
|
"tagName": "mdc-themeprovider",
|
8767
|
-
"jsDoc": "/**\n * ThemeProvider component, which sets the passed in themeclass as class.\n * If the themeclass switches, the existing themeclass will be removed as a class\n * and the new themeclass will be added.\n *\n * CSS variables defined in the themeclass will be used for the styling of child dom nodes.\n *\n * Themeclass context can be be consumed from Lit child components\n * (see providerUtils.consume for how to consume)\n *\n * ThemeProvider also includes basic font defaults for text.\n *\n * @tagname mdc-themeprovider\n *\n * @slot - children\n *\n * @cssproperty --mdc-themeprovider-color-default - Option to override the default color,\n * default: color-theme-text-primary-normal\n * @cssproperty --mdc-themeprovider-font-family - Option to override the font family,\n * default: `Momentum` (from momentum-design/fonts)\n * @cssproperty --mdc-themeprovider-font-weight - Option to override the font weight, default: `400`\n * @cssproperty --mdc-themeprovider-letter-spacing-adjustment - Option to override the default letter-spacing,\n * default: `-0.25px` (this is to match the old CiscoSans)\n * @cssproperty --mdc-themeprovider-font-feature-settings - Option to override the font feature settings,\n * default:
|
9624
|
+
"jsDoc": "/**\n * ThemeProvider component, which sets the passed in themeclass as class.\n * If the themeclass switches, the existing themeclass will be removed as a class\n * and the new themeclass will be added.\n *\n * CSS variables defined in the themeclass will be used for the styling of child dom nodes.\n *\n * Themeclass context can be be consumed from Lit child components\n * (see providerUtils.consume for how to consume)\n *\n * ThemeProvider also includes basic font defaults for text.\n *\n * @tagname mdc-themeprovider\n *\n * @slot - children\n *\n * @cssproperty --mdc-themeprovider-color-default - Option to override the default color,\n * default: color-theme-text-primary-normal\n * @cssproperty --mdc-themeprovider-font-family - Option to override the font family,\n * default: `Momentum` (from momentum-design/fonts)\n * @cssproperty --mdc-themeprovider-font-weight - Option to override the font weight, default: `400`\n * @cssproperty --mdc-themeprovider-letter-spacing-adjustment - Option to override the default letter-spacing,\n * default: `-0.25px` (this is to match the old CiscoSans)\n * @cssproperty --mdc-themeprovider-font-feature-settings - Option to override the font feature settings,\n * default: `\"ss02\" on`\n * @cssproperty --mdc-themeprovider-scrollbar-track-color - Option to override the color of the scrollbar track.\n * @cssproperty --mdc-themeprovider-scrollbar-thumb-color - Option to override the color of the scrollbar thumb.\n * @cssproperty --mdc-themeprovider-scrollbar-thumb-hover-color - Option to override the color of the\n * scrollbar thumb on hover. Applicable only on webkit browsers.\n * @cssproperty --mdc-themeprovider-scrollbar-thumb-active-color - Option to override the color of the\n * scrollbar thumb on press. Applicable only on webkit browsers.\n */",
|
8768
9625
|
"customElement": true
|
8769
9626
|
}
|
8770
9627
|
],
|
@@ -8880,6 +9737,23 @@
|
|
8880
9737
|
"attribute": "size",
|
8881
9738
|
"reflects": true
|
8882
9739
|
},
|
9740
|
+
{
|
9741
|
+
"kind": "field",
|
9742
|
+
"name": "autofocus",
|
9743
|
+
"type": {
|
9744
|
+
"text": "boolean"
|
9745
|
+
},
|
9746
|
+
"default": "false",
|
9747
|
+
"description": "Automatically focus on the element when the page loads.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
|
9748
|
+
"attribute": "autofocus",
|
9749
|
+
"reflects": true
|
9750
|
+
},
|
9751
|
+
{
|
9752
|
+
"kind": "method",
|
9753
|
+
"name": "manageRequired",
|
9754
|
+
"privacy": "private",
|
9755
|
+
"description": "Manages the required state of the checkbox.\nIf the checkbox is not checked and the requiredLabel property is set, then the checkbox is invalid."
|
9756
|
+
},
|
8883
9757
|
{
|
8884
9758
|
"kind": "method",
|
8885
9759
|
"name": "setFormValue",
|
@@ -8897,6 +9771,26 @@
|
|
8897
9771
|
},
|
8898
9772
|
"description": "Toggles the state of the toggle element.\nIf the element is not disabled, then the checked property is toggled."
|
8899
9773
|
},
|
9774
|
+
{
|
9775
|
+
"kind": "method",
|
9776
|
+
"name": "handleKeyDown",
|
9777
|
+
"privacy": "private",
|
9778
|
+
"return": {
|
9779
|
+
"type": {
|
9780
|
+
"text": "void"
|
9781
|
+
}
|
9782
|
+
},
|
9783
|
+
"parameters": [
|
9784
|
+
{
|
9785
|
+
"name": "event",
|
9786
|
+
"type": {
|
9787
|
+
"text": "KeyboardEvent"
|
9788
|
+
},
|
9789
|
+
"description": "The keyboard event."
|
9790
|
+
}
|
9791
|
+
],
|
9792
|
+
"description": "Handles the keydown event on the toggle element.\nWhen the user presses Enter, the form is submitted."
|
9793
|
+
},
|
8900
9794
|
{
|
8901
9795
|
"kind": "method",
|
8902
9796
|
"name": "handleChange",
|
@@ -8941,20 +9835,6 @@
|
|
8941
9835
|
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
8942
9836
|
}
|
8943
9837
|
},
|
8944
|
-
{
|
8945
|
-
"kind": "field",
|
8946
|
-
"name": "id",
|
8947
|
-
"type": {
|
8948
|
-
"text": "string"
|
8949
|
-
},
|
8950
|
-
"default": "`mdc-input-${uuidv4()}`",
|
8951
|
-
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
8952
|
-
"attribute": "id",
|
8953
|
-
"inheritedFrom": {
|
8954
|
-
"name": "FormfieldWrapper",
|
8955
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
8956
|
-
}
|
8957
|
-
},
|
8958
9838
|
{
|
8959
9839
|
"kind": "field",
|
8960
9840
|
"name": "name",
|
@@ -8962,12 +9842,12 @@
|
|
8962
9842
|
"text": "string"
|
8963
9843
|
},
|
8964
9844
|
"default": "''",
|
8965
|
-
"description": "Indicates the name of the component group
|
9845
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
8966
9846
|
"attribute": "name",
|
8967
9847
|
"reflects": true,
|
8968
9848
|
"inheritedFrom": {
|
8969
|
-
"name": "
|
8970
|
-
"module": "utils/mixins/
|
9849
|
+
"name": "FormInternalsMixin",
|
9850
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
8971
9851
|
}
|
8972
9852
|
},
|
8973
9853
|
{
|
@@ -8981,49 +9861,133 @@
|
|
8981
9861
|
"attribute": "value",
|
8982
9862
|
"reflects": true,
|
8983
9863
|
"inheritedFrom": {
|
8984
|
-
"name": "
|
8985
|
-
"module": "utils/mixins/
|
9864
|
+
"name": "FormInternalsMixin",
|
9865
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
8986
9866
|
}
|
8987
9867
|
},
|
8988
9868
|
{
|
8989
9869
|
"kind": "field",
|
8990
|
-
"name": "
|
9870
|
+
"name": "validationMessage",
|
8991
9871
|
"type": {
|
8992
|
-
"text": "string |
|
9872
|
+
"text": "string | undefined"
|
8993
9873
|
},
|
8994
|
-
"
|
8995
|
-
"
|
8996
|
-
"attribute": "data-aria-label",
|
9874
|
+
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
9875
|
+
"attribute": "validation-message",
|
8997
9876
|
"reflects": true,
|
8998
9877
|
"inheritedFrom": {
|
8999
|
-
"name": "
|
9000
|
-
"module": "utils/mixins/
|
9878
|
+
"name": "FormInternalsMixin",
|
9879
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
9001
9880
|
}
|
9002
9881
|
},
|
9003
9882
|
{
|
9004
9883
|
"kind": "field",
|
9005
|
-
"name": "
|
9884
|
+
"name": "validity",
|
9006
9885
|
"type": {
|
9007
|
-
"text": "
|
9886
|
+
"text": "ValidityState"
|
9008
9887
|
},
|
9009
|
-
"
|
9010
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
9011
|
-
"attribute": "disabled",
|
9012
|
-
"reflects": true,
|
9888
|
+
"readonly": true,
|
9013
9889
|
"inheritedFrom": {
|
9014
|
-
"name": "
|
9015
|
-
"module": "
|
9890
|
+
"name": "FormInternalsMixin",
|
9891
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
9016
9892
|
}
|
9017
9893
|
},
|
9018
9894
|
{
|
9019
9895
|
"kind": "field",
|
9020
|
-
"name": "
|
9021
|
-
"
|
9022
|
-
|
9023
|
-
|
9024
|
-
|
9025
|
-
|
9026
|
-
|
9896
|
+
"name": "willValidate",
|
9897
|
+
"readonly": true,
|
9898
|
+
"inheritedFrom": {
|
9899
|
+
"name": "FormInternalsMixin",
|
9900
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
9901
|
+
}
|
9902
|
+
},
|
9903
|
+
{
|
9904
|
+
"kind": "method",
|
9905
|
+
"name": "setValidity",
|
9906
|
+
"description": "Sets the validity of the input field based on the input field's validity.",
|
9907
|
+
"return": {
|
9908
|
+
"type": {
|
9909
|
+
"text": ""
|
9910
|
+
}
|
9911
|
+
},
|
9912
|
+
"inheritedFrom": {
|
9913
|
+
"name": "FormInternalsMixin",
|
9914
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
9915
|
+
}
|
9916
|
+
},
|
9917
|
+
{
|
9918
|
+
"kind": "method",
|
9919
|
+
"name": "checkValidity",
|
9920
|
+
"return": {
|
9921
|
+
"type": {
|
9922
|
+
"text": "boolean"
|
9923
|
+
}
|
9924
|
+
},
|
9925
|
+
"inheritedFrom": {
|
9926
|
+
"name": "FormInternalsMixin",
|
9927
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
9928
|
+
}
|
9929
|
+
},
|
9930
|
+
{
|
9931
|
+
"kind": "method",
|
9932
|
+
"name": "reportValidity",
|
9933
|
+
"inheritedFrom": {
|
9934
|
+
"name": "FormInternalsMixin",
|
9935
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
9936
|
+
}
|
9937
|
+
},
|
9938
|
+
{
|
9939
|
+
"kind": "field",
|
9940
|
+
"name": "id",
|
9941
|
+
"type": {
|
9942
|
+
"text": "string"
|
9943
|
+
},
|
9944
|
+
"default": "`mdc-input-${uuidv4()}`",
|
9945
|
+
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
9946
|
+
"attribute": "id",
|
9947
|
+
"inheritedFrom": {
|
9948
|
+
"name": "FormfieldWrapper",
|
9949
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
9950
|
+
}
|
9951
|
+
},
|
9952
|
+
{
|
9953
|
+
"kind": "field",
|
9954
|
+
"name": "dataAriaLabel",
|
9955
|
+
"type": {
|
9956
|
+
"text": "string | null"
|
9957
|
+
},
|
9958
|
+
"default": "null",
|
9959
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
9960
|
+
"attribute": "data-aria-label",
|
9961
|
+
"reflects": true,
|
9962
|
+
"inheritedFrom": {
|
9963
|
+
"name": "DataAriaLabelMixin",
|
9964
|
+
"module": "utils/mixins/DataAriaLabelMixin.js"
|
9965
|
+
}
|
9966
|
+
},
|
9967
|
+
{
|
9968
|
+
"kind": "field",
|
9969
|
+
"name": "disabled",
|
9970
|
+
"type": {
|
9971
|
+
"text": "boolean"
|
9972
|
+
},
|
9973
|
+
"default": "false",
|
9974
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
9975
|
+
"attribute": "disabled",
|
9976
|
+
"reflects": true,
|
9977
|
+
"inheritedFrom": {
|
9978
|
+
"name": "FormfieldWrapper",
|
9979
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
9980
|
+
}
|
9981
|
+
},
|
9982
|
+
{
|
9983
|
+
"kind": "field",
|
9984
|
+
"name": "label",
|
9985
|
+
"type": {
|
9986
|
+
"text": "string | undefined"
|
9987
|
+
},
|
9988
|
+
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
9989
|
+
"attribute": "label",
|
9990
|
+
"reflects": true,
|
9027
9991
|
"inheritedFrom": {
|
9028
9992
|
"name": "FormfieldWrapper",
|
9029
9993
|
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
@@ -9180,17 +10144,26 @@
|
|
9180
10144
|
"default": "default",
|
9181
10145
|
"fieldName": "size"
|
9182
10146
|
},
|
10147
|
+
{
|
10148
|
+
"name": "autofocus",
|
10149
|
+
"type": {
|
10150
|
+
"text": "boolean"
|
10151
|
+
},
|
10152
|
+
"default": "false",
|
10153
|
+
"description": "Automatically focus on the element when the page loads.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
|
10154
|
+
"fieldName": "autofocus"
|
10155
|
+
},
|
9183
10156
|
{
|
9184
10157
|
"name": "name",
|
9185
10158
|
"type": {
|
9186
10159
|
"text": "string"
|
9187
10160
|
},
|
9188
10161
|
"default": "''",
|
9189
|
-
"description": "Indicates the name of the component group
|
10162
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
9190
10163
|
"fieldName": "name",
|
9191
10164
|
"inheritedFrom": {
|
9192
|
-
"name": "
|
9193
|
-
"module": "src/utils/mixins/
|
10165
|
+
"name": "FormInternalsMixin",
|
10166
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
9194
10167
|
}
|
9195
10168
|
},
|
9196
10169
|
{
|
@@ -9202,8 +10175,20 @@
|
|
9202
10175
|
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
9203
10176
|
"fieldName": "value",
|
9204
10177
|
"inheritedFrom": {
|
9205
|
-
"name": "
|
9206
|
-
"module": "src/utils/mixins/
|
10178
|
+
"name": "FormInternalsMixin",
|
10179
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
10180
|
+
}
|
10181
|
+
},
|
10182
|
+
{
|
10183
|
+
"name": "validation-message",
|
10184
|
+
"type": {
|
10185
|
+
"text": "string | undefined"
|
10186
|
+
},
|
10187
|
+
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
10188
|
+
"fieldName": "validationMessage",
|
10189
|
+
"inheritedFrom": {
|
10190
|
+
"name": "FormInternalsMixin",
|
10191
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
9207
10192
|
}
|
9208
10193
|
},
|
9209
10194
|
{
|
@@ -9296,12 +10281,8 @@
|
|
9296
10281
|
],
|
9297
10282
|
"mixins": [
|
9298
10283
|
{
|
9299
|
-
"name": "
|
9300
|
-
"module": "/src/utils/mixins/
|
9301
|
-
},
|
9302
|
-
{
|
9303
|
-
"name": "ValueMixin",
|
9304
|
-
"module": "/src/utils/mixins/ValueMixin"
|
10284
|
+
"name": "FormInternalsMixin",
|
10285
|
+
"module": "/src/utils/mixins/FormInternalsMixin"
|
9305
10286
|
},
|
9306
10287
|
{
|
9307
10288
|
"name": "DataAriaLabelMixin",
|
@@ -10339,73 +11320,85 @@
|
|
10339
11320
|
},
|
10340
11321
|
{
|
10341
11322
|
"kind": "javascript-module",
|
10342
|
-
"path": "utils/mixins/
|
11323
|
+
"path": "utils/mixins/FormInternalsMixin.js",
|
10343
11324
|
"declarations": [
|
10344
11325
|
{
|
10345
11326
|
"kind": "mixin",
|
10346
11327
|
"description": "",
|
10347
|
-
"name": "
|
11328
|
+
"name": "FormInternalsMixin",
|
10348
11329
|
"members": [
|
10349
11330
|
{
|
10350
11331
|
"kind": "field",
|
10351
|
-
"name": "
|
11332
|
+
"name": "name",
|
10352
11333
|
"type": {
|
10353
|
-
"text": "
|
11334
|
+
"text": "string"
|
10354
11335
|
},
|
10355
|
-
"
|
10356
|
-
"
|
10357
|
-
|
10358
|
-
|
10359
|
-
|
11336
|
+
"default": "''",
|
11337
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
11338
|
+
"attribute": "name",
|
11339
|
+
"reflects": true
|
11340
|
+
},
|
10360
11341
|
{
|
10361
|
-
"
|
11342
|
+
"kind": "field",
|
11343
|
+
"name": "value",
|
10362
11344
|
"type": {
|
10363
|
-
"text": "
|
11345
|
+
"text": "string"
|
10364
11346
|
},
|
10365
|
-
"
|
10366
|
-
"
|
10367
|
-
|
10368
|
-
|
10369
|
-
|
11347
|
+
"default": "''",
|
11348
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
11349
|
+
"attribute": "value",
|
11350
|
+
"reflects": true
|
11351
|
+
},
|
10370
11352
|
{
|
10371
|
-
"
|
11353
|
+
"kind": "field",
|
11354
|
+
"name": "validationMessage",
|
10372
11355
|
"type": {
|
10373
|
-
"text": "
|
10374
|
-
}
|
10375
|
-
|
10376
|
-
|
10377
|
-
|
10378
|
-
|
10379
|
-
"exports": [
|
10380
|
-
{
|
10381
|
-
"kind": "js",
|
10382
|
-
"name": "IconNameMixin",
|
10383
|
-
"declaration": {
|
10384
|
-
"name": "IconNameMixin",
|
10385
|
-
"module": "utils/mixins/IconNameMixin.js"
|
10386
|
-
}
|
10387
|
-
}
|
10388
|
-
]
|
10389
|
-
},
|
10390
|
-
{
|
10391
|
-
"kind": "javascript-module",
|
10392
|
-
"path": "utils/mixins/NameMixin.js",
|
10393
|
-
"declarations": [
|
10394
|
-
{
|
10395
|
-
"kind": "mixin",
|
10396
|
-
"description": "",
|
10397
|
-
"name": "NameMixin",
|
10398
|
-
"members": [
|
11356
|
+
"text": "string | undefined"
|
11357
|
+
},
|
11358
|
+
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
11359
|
+
"attribute": "validation-message",
|
11360
|
+
"reflects": true
|
11361
|
+
},
|
10399
11362
|
{
|
10400
11363
|
"kind": "field",
|
10401
|
-
"name": "
|
11364
|
+
"name": "validity",
|
10402
11365
|
"type": {
|
10403
|
-
"text": "
|
11366
|
+
"text": "ValidityState"
|
10404
11367
|
},
|
10405
|
-
"
|
10406
|
-
|
10407
|
-
|
10408
|
-
"
|
11368
|
+
"readonly": true
|
11369
|
+
},
|
11370
|
+
{
|
11371
|
+
"kind": "field",
|
11372
|
+
"name": "willValidate",
|
11373
|
+
"readonly": true
|
11374
|
+
},
|
11375
|
+
{
|
11376
|
+
"kind": "method",
|
11377
|
+
"name": "setValidity",
|
11378
|
+
"description": "Sets the validity of the input field based on the input field's validity.",
|
11379
|
+
"return": {
|
11380
|
+
"type": {
|
11381
|
+
"text": ""
|
11382
|
+
}
|
11383
|
+
}
|
11384
|
+
},
|
11385
|
+
{
|
11386
|
+
"kind": "method",
|
11387
|
+
"name": "checkValidity",
|
11388
|
+
"return": {
|
11389
|
+
"type": {
|
11390
|
+
"text": "boolean"
|
11391
|
+
}
|
11392
|
+
}
|
11393
|
+
},
|
11394
|
+
{
|
11395
|
+
"kind": "method",
|
11396
|
+
"name": "reportValidity"
|
11397
|
+
},
|
11398
|
+
{
|
11399
|
+
"kind": "field",
|
11400
|
+
"name": "id",
|
11401
|
+
"default": "`mdc-input-${uuidv4()}`"
|
10409
11402
|
}
|
10410
11403
|
],
|
10411
11404
|
"attributes": [
|
@@ -10415,61 +11408,25 @@
|
|
10415
11408
|
"text": "string"
|
10416
11409
|
},
|
10417
11410
|
"default": "''",
|
10418
|
-
"description": "Indicates the name of the component group
|
11411
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
10419
11412
|
"fieldName": "name"
|
10420
|
-
}
|
10421
|
-
],
|
10422
|
-
"parameters": [
|
10423
|
-
{
|
10424
|
-
"name": "superClass",
|
10425
|
-
"type": {
|
10426
|
-
"text": "T"
|
10427
|
-
}
|
10428
|
-
}
|
10429
|
-
]
|
10430
|
-
}
|
10431
|
-
],
|
10432
|
-
"exports": [
|
10433
|
-
{
|
10434
|
-
"kind": "js",
|
10435
|
-
"name": "NameMixin",
|
10436
|
-
"declaration": {
|
10437
|
-
"name": "NameMixin",
|
10438
|
-
"module": "utils/mixins/NameMixin.js"
|
10439
|
-
}
|
10440
|
-
}
|
10441
|
-
]
|
10442
|
-
},
|
10443
|
-
{
|
10444
|
-
"kind": "javascript-module",
|
10445
|
-
"path": "utils/mixins/ReadonlyMixin.js",
|
10446
|
-
"declarations": [
|
10447
|
-
{
|
10448
|
-
"kind": "mixin",
|
10449
|
-
"description": "",
|
10450
|
-
"name": "ReadonlyMixin",
|
10451
|
-
"members": [
|
11413
|
+
},
|
10452
11414
|
{
|
10453
|
-
"
|
10454
|
-
"name": "readonly",
|
11415
|
+
"name": "value",
|
10455
11416
|
"type": {
|
10456
|
-
"text": "
|
11417
|
+
"text": "string"
|
10457
11418
|
},
|
10458
|
-
"default": "
|
10459
|
-
"description": "Indicates
|
10460
|
-
"
|
10461
|
-
|
10462
|
-
}
|
10463
|
-
],
|
10464
|
-
"attributes": [
|
11419
|
+
"default": "''",
|
11420
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
11421
|
+
"fieldName": "value"
|
11422
|
+
},
|
10465
11423
|
{
|
10466
|
-
"name": "
|
11424
|
+
"name": "validation-message",
|
10467
11425
|
"type": {
|
10468
|
-
"text": "
|
11426
|
+
"text": "string | undefined"
|
10469
11427
|
},
|
10470
|
-
"
|
10471
|
-
"
|
10472
|
-
"fieldName": "readonly"
|
11428
|
+
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
11429
|
+
"fieldName": "validationMessage"
|
10473
11430
|
}
|
10474
11431
|
],
|
10475
11432
|
"parameters": [
|
@@ -10485,44 +11442,41 @@
|
|
10485
11442
|
"exports": [
|
10486
11443
|
{
|
10487
11444
|
"kind": "js",
|
10488
|
-
"name": "
|
11445
|
+
"name": "FormInternalsMixin",
|
10489
11446
|
"declaration": {
|
10490
|
-
"name": "
|
10491
|
-
"module": "utils/mixins/
|
11447
|
+
"name": "FormInternalsMixin",
|
11448
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
10492
11449
|
}
|
10493
11450
|
}
|
10494
11451
|
]
|
10495
11452
|
},
|
10496
11453
|
{
|
10497
11454
|
"kind": "javascript-module",
|
10498
|
-
"path": "utils/mixins/
|
11455
|
+
"path": "utils/mixins/IconNameMixin.js",
|
10499
11456
|
"declarations": [
|
10500
11457
|
{
|
10501
11458
|
"kind": "mixin",
|
10502
11459
|
"description": "",
|
10503
|
-
"name": "
|
11460
|
+
"name": "IconNameMixin",
|
10504
11461
|
"members": [
|
10505
11462
|
{
|
10506
11463
|
"kind": "field",
|
10507
|
-
"name": "
|
11464
|
+
"name": "iconName",
|
10508
11465
|
"type": {
|
10509
|
-
"text": "
|
11466
|
+
"text": "IconNames | undefined"
|
10510
11467
|
},
|
10511
|
-
"
|
10512
|
-
"
|
10513
|
-
"attribute": "required",
|
10514
|
-
"reflects": true
|
11468
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
11469
|
+
"attribute": "icon-name"
|
10515
11470
|
}
|
10516
11471
|
],
|
10517
11472
|
"attributes": [
|
10518
11473
|
{
|
10519
|
-
"name": "
|
11474
|
+
"name": "icon-name",
|
10520
11475
|
"type": {
|
10521
|
-
"text": "
|
11476
|
+
"text": "IconNames | undefined"
|
10522
11477
|
},
|
10523
|
-
"
|
10524
|
-
"
|
10525
|
-
"fieldName": "required"
|
11478
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
11479
|
+
"fieldName": "iconName"
|
10526
11480
|
}
|
10527
11481
|
],
|
10528
11482
|
"parameters": [
|
@@ -10538,10 +11492,10 @@
|
|
10538
11492
|
"exports": [
|
10539
11493
|
{
|
10540
11494
|
"kind": "js",
|
10541
|
-
"name": "
|
11495
|
+
"name": "IconNameMixin",
|
10542
11496
|
"declaration": {
|
10543
|
-
"name": "
|
10544
|
-
"module": "utils/mixins/
|
11497
|
+
"name": "IconNameMixin",
|
11498
|
+
"module": "utils/mixins/IconNameMixin.js"
|
10545
11499
|
}
|
10546
11500
|
}
|
10547
11501
|
]
|
@@ -10599,59 +11553,6 @@
|
|
10599
11553
|
}
|
10600
11554
|
]
|
10601
11555
|
},
|
10602
|
-
{
|
10603
|
-
"kind": "javascript-module",
|
10604
|
-
"path": "utils/mixins/ValueMixin.js",
|
10605
|
-
"declarations": [
|
10606
|
-
{
|
10607
|
-
"kind": "mixin",
|
10608
|
-
"description": "",
|
10609
|
-
"name": "ValueMixin",
|
10610
|
-
"members": [
|
10611
|
-
{
|
10612
|
-
"kind": "field",
|
10613
|
-
"name": "value",
|
10614
|
-
"type": {
|
10615
|
-
"text": "string"
|
10616
|
-
},
|
10617
|
-
"default": "''",
|
10618
|
-
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
10619
|
-
"attribute": "value",
|
10620
|
-
"reflects": true
|
10621
|
-
}
|
10622
|
-
],
|
10623
|
-
"attributes": [
|
10624
|
-
{
|
10625
|
-
"name": "value",
|
10626
|
-
"type": {
|
10627
|
-
"text": "string"
|
10628
|
-
},
|
10629
|
-
"default": "''",
|
10630
|
-
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
10631
|
-
"fieldName": "value"
|
10632
|
-
}
|
10633
|
-
],
|
10634
|
-
"parameters": [
|
10635
|
-
{
|
10636
|
-
"name": "superClass",
|
10637
|
-
"type": {
|
10638
|
-
"text": "T"
|
10639
|
-
}
|
10640
|
-
}
|
10641
|
-
]
|
10642
|
-
}
|
10643
|
-
],
|
10644
|
-
"exports": [
|
10645
|
-
{
|
10646
|
-
"kind": "js",
|
10647
|
-
"name": "ValueMixin",
|
10648
|
-
"declaration": {
|
10649
|
-
"name": "ValueMixin",
|
10650
|
-
"module": "utils/mixins/ValueMixin.js"
|
10651
|
-
}
|
10652
|
-
}
|
10653
|
-
]
|
10654
|
-
},
|
10655
11556
|
{
|
10656
11557
|
"kind": "javascript-module",
|
10657
11558
|
"path": "utils/mixins/index.types.js",
|