@momentum-design/components 0.29.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +72 -72
- package/dist/browser/index.js.map +4 -4
- package/dist/components/buttonsimple/buttonsimple.component.d.ts +7 -1
- package/dist/components/buttonsimple/buttonsimple.component.js +9 -2
- package/dist/components/checkbox/checkbox.component.js +0 -2
- package/dist/components/input/input.component.d.ts +0 -1
- package/dist/components/input/input.component.js +1 -3
- package/dist/components/radio/radio.component.js +0 -2
- package/dist/components/themeprovider/themeprovider.component.d.ts +14 -0
- package/dist/components/themeprovider/themeprovider.component.js +14 -0
- package/dist/components/toggle/toggle.component.js +0 -2
- package/dist/custom-elements.json +63 -614
- package/dist/react/themeprovider/index.d.ts +14 -0
- package/dist/react/themeprovider/index.js +14 -0
- package/dist/utils/mixins/FormInternalsMixin.js +2 -0
- package/package.json +1 -1
@@ -446,106 +446,6 @@
|
|
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
449
|
{
|
550
450
|
"kind": "field",
|
551
451
|
"name": "tabIndex",
|
@@ -844,44 +744,6 @@
|
|
844
744
|
"module": "src/utils/mixins/IconNameMixin.ts"
|
845
745
|
}
|
846
746
|
},
|
847
|
-
{
|
848
|
-
"name": "name",
|
849
|
-
"type": {
|
850
|
-
"text": "string"
|
851
|
-
},
|
852
|
-
"default": "''",
|
853
|
-
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
854
|
-
"fieldName": "name",
|
855
|
-
"inheritedFrom": {
|
856
|
-
"name": "FormInternalsMixin",
|
857
|
-
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
858
|
-
}
|
859
|
-
},
|
860
|
-
{
|
861
|
-
"name": "value",
|
862
|
-
"type": {
|
863
|
-
"text": "string"
|
864
|
-
},
|
865
|
-
"default": "''",
|
866
|
-
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
867
|
-
"fieldName": "value",
|
868
|
-
"inheritedFrom": {
|
869
|
-
"name": "FormInternalsMixin",
|
870
|
-
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
871
|
-
}
|
872
|
-
},
|
873
|
-
{
|
874
|
-
"name": "validation-message",
|
875
|
-
"type": {
|
876
|
-
"text": "string | undefined"
|
877
|
-
},
|
878
|
-
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
879
|
-
"fieldName": "validationMessage",
|
880
|
-
"inheritedFrom": {
|
881
|
-
"name": "FormInternalsMixin",
|
882
|
-
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
883
|
-
}
|
884
|
-
},
|
885
747
|
{
|
886
748
|
"name": "tabIndex",
|
887
749
|
"type": {
|
@@ -1537,106 +1399,6 @@
|
|
1537
1399
|
}
|
1538
1400
|
]
|
1539
1401
|
},
|
1540
|
-
{
|
1541
|
-
"kind": "field",
|
1542
|
-
"name": "name",
|
1543
|
-
"type": {
|
1544
|
-
"text": "string"
|
1545
|
-
},
|
1546
|
-
"default": "''",
|
1547
|
-
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
1548
|
-
"attribute": "name",
|
1549
|
-
"reflects": true,
|
1550
|
-
"inheritedFrom": {
|
1551
|
-
"name": "FormInternalsMixin",
|
1552
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
1553
|
-
}
|
1554
|
-
},
|
1555
|
-
{
|
1556
|
-
"kind": "field",
|
1557
|
-
"name": "value",
|
1558
|
-
"type": {
|
1559
|
-
"text": "string"
|
1560
|
-
},
|
1561
|
-
"default": "''",
|
1562
|
-
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
1563
|
-
"attribute": "value",
|
1564
|
-
"reflects": true,
|
1565
|
-
"inheritedFrom": {
|
1566
|
-
"name": "FormInternalsMixin",
|
1567
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
1568
|
-
}
|
1569
|
-
},
|
1570
|
-
{
|
1571
|
-
"kind": "field",
|
1572
|
-
"name": "validationMessage",
|
1573
|
-
"type": {
|
1574
|
-
"text": "string | undefined"
|
1575
|
-
},
|
1576
|
-
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
1577
|
-
"attribute": "validation-message",
|
1578
|
-
"reflects": true,
|
1579
|
-
"inheritedFrom": {
|
1580
|
-
"name": "FormInternalsMixin",
|
1581
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
1582
|
-
}
|
1583
|
-
},
|
1584
|
-
{
|
1585
|
-
"kind": "field",
|
1586
|
-
"name": "validity",
|
1587
|
-
"type": {
|
1588
|
-
"text": "ValidityState"
|
1589
|
-
},
|
1590
|
-
"readonly": true,
|
1591
|
-
"inheritedFrom": {
|
1592
|
-
"name": "FormInternalsMixin",
|
1593
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
1594
|
-
}
|
1595
|
-
},
|
1596
|
-
{
|
1597
|
-
"kind": "field",
|
1598
|
-
"name": "willValidate",
|
1599
|
-
"readonly": true,
|
1600
|
-
"inheritedFrom": {
|
1601
|
-
"name": "FormInternalsMixin",
|
1602
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
1603
|
-
}
|
1604
|
-
},
|
1605
|
-
{
|
1606
|
-
"kind": "method",
|
1607
|
-
"name": "setValidity",
|
1608
|
-
"description": "Sets the validity of the input field based on the input field's validity.",
|
1609
|
-
"return": {
|
1610
|
-
"type": {
|
1611
|
-
"text": ""
|
1612
|
-
}
|
1613
|
-
},
|
1614
|
-
"inheritedFrom": {
|
1615
|
-
"name": "FormInternalsMixin",
|
1616
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
1617
|
-
}
|
1618
|
-
},
|
1619
|
-
{
|
1620
|
-
"kind": "method",
|
1621
|
-
"name": "checkValidity",
|
1622
|
-
"return": {
|
1623
|
-
"type": {
|
1624
|
-
"text": "boolean"
|
1625
|
-
}
|
1626
|
-
},
|
1627
|
-
"inheritedFrom": {
|
1628
|
-
"name": "FormInternalsMixin",
|
1629
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
1630
|
-
}
|
1631
|
-
},
|
1632
|
-
{
|
1633
|
-
"kind": "method",
|
1634
|
-
"name": "reportValidity",
|
1635
|
-
"inheritedFrom": {
|
1636
|
-
"name": "FormInternalsMixin",
|
1637
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
1638
|
-
}
|
1639
|
-
},
|
1640
1402
|
{
|
1641
1403
|
"kind": "field",
|
1642
1404
|
"name": "tabIndex",
|
@@ -1959,44 +1721,6 @@
|
|
1959
1721
|
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
1960
1722
|
}
|
1961
1723
|
},
|
1962
|
-
{
|
1963
|
-
"name": "name",
|
1964
|
-
"type": {
|
1965
|
-
"text": "string"
|
1966
|
-
},
|
1967
|
-
"default": "''",
|
1968
|
-
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
1969
|
-
"fieldName": "name",
|
1970
|
-
"inheritedFrom": {
|
1971
|
-
"name": "FormInternalsMixin",
|
1972
|
-
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
1973
|
-
}
|
1974
|
-
},
|
1975
|
-
{
|
1976
|
-
"name": "value",
|
1977
|
-
"type": {
|
1978
|
-
"text": "string"
|
1979
|
-
},
|
1980
|
-
"default": "''",
|
1981
|
-
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
1982
|
-
"fieldName": "value",
|
1983
|
-
"inheritedFrom": {
|
1984
|
-
"name": "FormInternalsMixin",
|
1985
|
-
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
1986
|
-
}
|
1987
|
-
},
|
1988
|
-
{
|
1989
|
-
"name": "validation-message",
|
1990
|
-
"type": {
|
1991
|
-
"text": "string | undefined"
|
1992
|
-
},
|
1993
|
-
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
1994
|
-
"fieldName": "validationMessage",
|
1995
|
-
"inheritedFrom": {
|
1996
|
-
"name": "FormInternalsMixin",
|
1997
|
-
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
1998
|
-
}
|
1999
|
-
},
|
2000
1724
|
{
|
2001
1725
|
"name": "tabIndex",
|
2002
1726
|
"type": {
|
@@ -2255,106 +1979,6 @@
|
|
2255
1979
|
],
|
2256
1980
|
"description": "Handles the keyup event on the button.\nIf the key is 'Enter' or 'Space', the button is clicked.\nIf the key is 'Space', the button is pressed. The native HTML button works in the same way."
|
2257
1981
|
},
|
2258
|
-
{
|
2259
|
-
"kind": "field",
|
2260
|
-
"name": "name",
|
2261
|
-
"type": {
|
2262
|
-
"text": "string"
|
2263
|
-
},
|
2264
|
-
"default": "''",
|
2265
|
-
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
2266
|
-
"attribute": "name",
|
2267
|
-
"reflects": true,
|
2268
|
-
"inheritedFrom": {
|
2269
|
-
"name": "FormInternalsMixin",
|
2270
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
2271
|
-
}
|
2272
|
-
},
|
2273
|
-
{
|
2274
|
-
"kind": "field",
|
2275
|
-
"name": "value",
|
2276
|
-
"type": {
|
2277
|
-
"text": "string"
|
2278
|
-
},
|
2279
|
-
"default": "''",
|
2280
|
-
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
2281
|
-
"attribute": "value",
|
2282
|
-
"reflects": true,
|
2283
|
-
"inheritedFrom": {
|
2284
|
-
"name": "FormInternalsMixin",
|
2285
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
2286
|
-
}
|
2287
|
-
},
|
2288
|
-
{
|
2289
|
-
"kind": "field",
|
2290
|
-
"name": "validationMessage",
|
2291
|
-
"type": {
|
2292
|
-
"text": "string | undefined"
|
2293
|
-
},
|
2294
|
-
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
2295
|
-
"attribute": "validation-message",
|
2296
|
-
"reflects": true,
|
2297
|
-
"inheritedFrom": {
|
2298
|
-
"name": "FormInternalsMixin",
|
2299
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
2300
|
-
}
|
2301
|
-
},
|
2302
|
-
{
|
2303
|
-
"kind": "field",
|
2304
|
-
"name": "validity",
|
2305
|
-
"type": {
|
2306
|
-
"text": "ValidityState"
|
2307
|
-
},
|
2308
|
-
"readonly": true,
|
2309
|
-
"inheritedFrom": {
|
2310
|
-
"name": "FormInternalsMixin",
|
2311
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
2312
|
-
}
|
2313
|
-
},
|
2314
|
-
{
|
2315
|
-
"kind": "field",
|
2316
|
-
"name": "willValidate",
|
2317
|
-
"readonly": true,
|
2318
|
-
"inheritedFrom": {
|
2319
|
-
"name": "FormInternalsMixin",
|
2320
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
2321
|
-
}
|
2322
|
-
},
|
2323
|
-
{
|
2324
|
-
"kind": "method",
|
2325
|
-
"name": "setValidity",
|
2326
|
-
"description": "Sets the validity of the input field based on the input field's validity.",
|
2327
|
-
"return": {
|
2328
|
-
"type": {
|
2329
|
-
"text": ""
|
2330
|
-
}
|
2331
|
-
},
|
2332
|
-
"inheritedFrom": {
|
2333
|
-
"name": "FormInternalsMixin",
|
2334
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
2335
|
-
}
|
2336
|
-
},
|
2337
|
-
{
|
2338
|
-
"kind": "method",
|
2339
|
-
"name": "checkValidity",
|
2340
|
-
"return": {
|
2341
|
-
"type": {
|
2342
|
-
"text": "boolean"
|
2343
|
-
}
|
2344
|
-
},
|
2345
|
-
"inheritedFrom": {
|
2346
|
-
"name": "FormInternalsMixin",
|
2347
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
2348
|
-
}
|
2349
|
-
},
|
2350
|
-
{
|
2351
|
-
"kind": "method",
|
2352
|
-
"name": "reportValidity",
|
2353
|
-
"inheritedFrom": {
|
2354
|
-
"name": "FormInternalsMixin",
|
2355
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
2356
|
-
}
|
2357
|
-
},
|
2358
1982
|
{
|
2359
1983
|
"kind": "field",
|
2360
1984
|
"name": "tabIndex",
|
@@ -2455,44 +2079,6 @@
|
|
2455
2079
|
"default": "button",
|
2456
2080
|
"fieldName": "type"
|
2457
2081
|
},
|
2458
|
-
{
|
2459
|
-
"name": "name",
|
2460
|
-
"type": {
|
2461
|
-
"text": "string"
|
2462
|
-
},
|
2463
|
-
"default": "''",
|
2464
|
-
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
2465
|
-
"fieldName": "name",
|
2466
|
-
"inheritedFrom": {
|
2467
|
-
"name": "FormInternalsMixin",
|
2468
|
-
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
2469
|
-
}
|
2470
|
-
},
|
2471
|
-
{
|
2472
|
-
"name": "value",
|
2473
|
-
"type": {
|
2474
|
-
"text": "string"
|
2475
|
-
},
|
2476
|
-
"default": "''",
|
2477
|
-
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
2478
|
-
"fieldName": "value",
|
2479
|
-
"inheritedFrom": {
|
2480
|
-
"name": "FormInternalsMixin",
|
2481
|
-
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
2482
|
-
}
|
2483
|
-
},
|
2484
|
-
{
|
2485
|
-
"name": "validation-message",
|
2486
|
-
"type": {
|
2487
|
-
"text": "string | undefined"
|
2488
|
-
},
|
2489
|
-
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
2490
|
-
"fieldName": "validationMessage",
|
2491
|
-
"inheritedFrom": {
|
2492
|
-
"name": "FormInternalsMixin",
|
2493
|
-
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
2494
|
-
}
|
2495
|
-
},
|
2496
2082
|
{
|
2497
2083
|
"name": "tabIndex",
|
2498
2084
|
"type": {
|
@@ -2521,10 +2107,6 @@
|
|
2521
2107
|
}
|
2522
2108
|
],
|
2523
2109
|
"mixins": [
|
2524
|
-
{
|
2525
|
-
"name": "FormInternalsMixin",
|
2526
|
-
"module": "/src/utils/mixins/FormInternalsMixin"
|
2527
|
-
},
|
2528
2110
|
{
|
2529
2111
|
"name": "TabIndexMixin",
|
2530
2112
|
"module": "/src/utils/mixins/TabIndexMixin"
|
@@ -2732,20 +2314,6 @@
|
|
2732
2314
|
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
2733
2315
|
}
|
2734
2316
|
},
|
2735
|
-
{
|
2736
|
-
"kind": "field",
|
2737
|
-
"name": "id",
|
2738
|
-
"type": {
|
2739
|
-
"text": "string"
|
2740
|
-
},
|
2741
|
-
"default": "`mdc-input-${uuidv4()}`",
|
2742
|
-
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
2743
|
-
"attribute": "id",
|
2744
|
-
"inheritedFrom": {
|
2745
|
-
"name": "FormfieldWrapper",
|
2746
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
2747
|
-
}
|
2748
|
-
},
|
2749
2317
|
{
|
2750
2318
|
"kind": "field",
|
2751
2319
|
"name": "name",
|
@@ -2846,6 +2414,20 @@
|
|
2846
2414
|
"module": "utils/mixins/FormInternalsMixin.js"
|
2847
2415
|
}
|
2848
2416
|
},
|
2417
|
+
{
|
2418
|
+
"kind": "field",
|
2419
|
+
"name": "id",
|
2420
|
+
"type": {
|
2421
|
+
"text": "string"
|
2422
|
+
},
|
2423
|
+
"default": "`mdc-input-${uuidv4()}`",
|
2424
|
+
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
2425
|
+
"attribute": "id",
|
2426
|
+
"inheritedFrom": {
|
2427
|
+
"name": "FormfieldWrapper",
|
2428
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
2429
|
+
}
|
2430
|
+
},
|
2849
2431
|
{
|
2850
2432
|
"kind": "field",
|
2851
2433
|
"name": "dataAriaLabel",
|
@@ -4747,20 +4329,6 @@
|
|
4747
4329
|
}
|
4748
4330
|
}
|
4749
4331
|
},
|
4750
|
-
{
|
4751
|
-
"kind": "field",
|
4752
|
-
"name": "id",
|
4753
|
-
"type": {
|
4754
|
-
"text": "string"
|
4755
|
-
},
|
4756
|
-
"default": "`mdc-input-${uuidv4()}`",
|
4757
|
-
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
4758
|
-
"attribute": "id",
|
4759
|
-
"inheritedFrom": {
|
4760
|
-
"name": "FormfieldWrapper",
|
4761
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
4762
|
-
}
|
4763
|
-
},
|
4764
4332
|
{
|
4765
4333
|
"kind": "field",
|
4766
4334
|
"name": "name",
|
@@ -4861,6 +4429,20 @@
|
|
4861
4429
|
"module": "utils/mixins/FormInternalsMixin.js"
|
4862
4430
|
}
|
4863
4431
|
},
|
4432
|
+
{
|
4433
|
+
"kind": "field",
|
4434
|
+
"name": "id",
|
4435
|
+
"type": {
|
4436
|
+
"text": "string"
|
4437
|
+
},
|
4438
|
+
"default": "`mdc-input-${uuidv4()}`",
|
4439
|
+
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
4440
|
+
"attribute": "id",
|
4441
|
+
"inheritedFrom": {
|
4442
|
+
"name": "FormfieldWrapper",
|
4443
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
4444
|
+
}
|
4445
|
+
},
|
4864
4446
|
{
|
4865
4447
|
"kind": "field",
|
4866
4448
|
"name": "dataAriaLabel",
|
@@ -8160,20 +7742,6 @@
|
|
8160
7742
|
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
8161
7743
|
}
|
8162
7744
|
},
|
8163
|
-
{
|
8164
|
-
"kind": "field",
|
8165
|
-
"name": "id",
|
8166
|
-
"type": {
|
8167
|
-
"text": "string"
|
8168
|
-
},
|
8169
|
-
"default": "`mdc-radio-${uuidv4()}`",
|
8170
|
-
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
8171
|
-
"attribute": "id",
|
8172
|
-
"inheritedFrom": {
|
8173
|
-
"name": "FormfieldWrapper",
|
8174
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
8175
|
-
}
|
8176
|
-
},
|
8177
7745
|
{
|
8178
7746
|
"kind": "field",
|
8179
7747
|
"name": "name",
|
@@ -8274,6 +7842,20 @@
|
|
8274
7842
|
"module": "utils/mixins/FormInternalsMixin.js"
|
8275
7843
|
}
|
8276
7844
|
},
|
7845
|
+
{
|
7846
|
+
"kind": "field",
|
7847
|
+
"name": "id",
|
7848
|
+
"type": {
|
7849
|
+
"text": "string"
|
7850
|
+
},
|
7851
|
+
"default": "`mdc-input-${uuidv4()}`",
|
7852
|
+
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
7853
|
+
"attribute": "id",
|
7854
|
+
"inheritedFrom": {
|
7855
|
+
"name": "FormfieldWrapper",
|
7856
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
7857
|
+
}
|
7858
|
+
},
|
8277
7859
|
{
|
8278
7860
|
"kind": "field",
|
8279
7861
|
"name": "dataAriaLabel",
|
@@ -9503,106 +9085,6 @@
|
|
9503
9085
|
"module": "utils/mixins/IconNameMixin.js"
|
9504
9086
|
}
|
9505
9087
|
},
|
9506
|
-
{
|
9507
|
-
"kind": "field",
|
9508
|
-
"name": "name",
|
9509
|
-
"type": {
|
9510
|
-
"text": "string"
|
9511
|
-
},
|
9512
|
-
"default": "''",
|
9513
|
-
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
9514
|
-
"attribute": "name",
|
9515
|
-
"reflects": true,
|
9516
|
-
"inheritedFrom": {
|
9517
|
-
"name": "Buttonsimple",
|
9518
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
9519
|
-
}
|
9520
|
-
},
|
9521
|
-
{
|
9522
|
-
"kind": "field",
|
9523
|
-
"name": "value",
|
9524
|
-
"type": {
|
9525
|
-
"text": "string"
|
9526
|
-
},
|
9527
|
-
"default": "''",
|
9528
|
-
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
9529
|
-
"attribute": "value",
|
9530
|
-
"reflects": true,
|
9531
|
-
"inheritedFrom": {
|
9532
|
-
"name": "Buttonsimple",
|
9533
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
9534
|
-
}
|
9535
|
-
},
|
9536
|
-
{
|
9537
|
-
"kind": "field",
|
9538
|
-
"name": "validationMessage",
|
9539
|
-
"type": {
|
9540
|
-
"text": "string | undefined"
|
9541
|
-
},
|
9542
|
-
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
9543
|
-
"attribute": "validation-message",
|
9544
|
-
"reflects": true,
|
9545
|
-
"inheritedFrom": {
|
9546
|
-
"name": "Buttonsimple",
|
9547
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
9548
|
-
}
|
9549
|
-
},
|
9550
|
-
{
|
9551
|
-
"kind": "field",
|
9552
|
-
"name": "validity",
|
9553
|
-
"type": {
|
9554
|
-
"text": "ValidityState"
|
9555
|
-
},
|
9556
|
-
"readonly": true,
|
9557
|
-
"inheritedFrom": {
|
9558
|
-
"name": "Buttonsimple",
|
9559
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
9560
|
-
}
|
9561
|
-
},
|
9562
|
-
{
|
9563
|
-
"kind": "field",
|
9564
|
-
"name": "willValidate",
|
9565
|
-
"readonly": true,
|
9566
|
-
"inheritedFrom": {
|
9567
|
-
"name": "Buttonsimple",
|
9568
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
9569
|
-
}
|
9570
|
-
},
|
9571
|
-
{
|
9572
|
-
"kind": "method",
|
9573
|
-
"name": "setValidity",
|
9574
|
-
"description": "Sets the validity of the input field based on the input field's validity.",
|
9575
|
-
"return": {
|
9576
|
-
"type": {
|
9577
|
-
"text": ""
|
9578
|
-
}
|
9579
|
-
},
|
9580
|
-
"inheritedFrom": {
|
9581
|
-
"name": "Buttonsimple",
|
9582
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
9583
|
-
}
|
9584
|
-
},
|
9585
|
-
{
|
9586
|
-
"kind": "method",
|
9587
|
-
"name": "checkValidity",
|
9588
|
-
"return": {
|
9589
|
-
"type": {
|
9590
|
-
"text": "boolean"
|
9591
|
-
}
|
9592
|
-
},
|
9593
|
-
"inheritedFrom": {
|
9594
|
-
"name": "Buttonsimple",
|
9595
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
9596
|
-
}
|
9597
|
-
},
|
9598
|
-
{
|
9599
|
-
"kind": "method",
|
9600
|
-
"name": "reportValidity",
|
9601
|
-
"inheritedFrom": {
|
9602
|
-
"name": "Buttonsimple",
|
9603
|
-
"module": "components/buttonsimple/buttonsimple.component.js"
|
9604
|
-
}
|
9605
|
-
},
|
9606
9088
|
{
|
9607
9089
|
"kind": "field",
|
9608
9090
|
"name": "tabIndex",
|
@@ -9830,44 +9312,6 @@
|
|
9830
9312
|
"module": "src/utils/mixins/IconNameMixin.ts"
|
9831
9313
|
}
|
9832
9314
|
},
|
9833
|
-
{
|
9834
|
-
"name": "name",
|
9835
|
-
"type": {
|
9836
|
-
"text": "string"
|
9837
|
-
},
|
9838
|
-
"default": "''",
|
9839
|
-
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
9840
|
-
"fieldName": "name",
|
9841
|
-
"inheritedFrom": {
|
9842
|
-
"name": "Buttonsimple",
|
9843
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
9844
|
-
}
|
9845
|
-
},
|
9846
|
-
{
|
9847
|
-
"name": "value",
|
9848
|
-
"type": {
|
9849
|
-
"text": "string"
|
9850
|
-
},
|
9851
|
-
"default": "''",
|
9852
|
-
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
9853
|
-
"fieldName": "value",
|
9854
|
-
"inheritedFrom": {
|
9855
|
-
"name": "Buttonsimple",
|
9856
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
9857
|
-
}
|
9858
|
-
},
|
9859
|
-
{
|
9860
|
-
"name": "validation-message",
|
9861
|
-
"type": {
|
9862
|
-
"text": "string | undefined"
|
9863
|
-
},
|
9864
|
-
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
9865
|
-
"fieldName": "validationMessage",
|
9866
|
-
"inheritedFrom": {
|
9867
|
-
"name": "Buttonsimple",
|
9868
|
-
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
9869
|
-
}
|
9870
|
-
},
|
9871
9315
|
{
|
9872
9316
|
"name": "tabIndex",
|
9873
9317
|
"type": {
|
@@ -10073,7 +9517,7 @@
|
|
10073
9517
|
"declarations": [
|
10074
9518
|
{
|
10075
9519
|
"kind": "class",
|
10076
|
-
"description": "ThemeProvider component, which sets the passed in themeclass as class.\nIf the themeclass switches, the existing themeclass will be removed as a class\nand the new themeclass will be added.\n\nCSS variables defined in the themeclass will be used for the styling of child dom nodes.\n\nThemeclass context can be be consumed from Lit child components\n(see providerUtils.consume for how to consume)\n\nThemeProvider also includes basic font defaults for text.",
|
9520
|
+
"description": "ThemeProvider component, which sets the passed in themeclass as class.\nIf the themeclass switches, the existing themeclass will be removed as a class\nand the new themeclass will be added.\n\nCSS variables defined in the themeclass will be used for the styling of child dom nodes.\n\nAvailable Momentum theme classes:\n\n`mds-theme-stable-darkWebex`, `mds-theme-stable-lightWebex`\n\n`mds-theme-stable-darkBronzeWebex`, `mds-theme-stable-lightBronzeWebex`\n\n`mds-theme-stable-darkIndigoWebex`, `mds-theme-stable-lightIndigoWebex`\n\n`mds-theme-stable-darkJadeWebex`, `mds-theme-stable-lightJadeWebex`\n\n`mds-theme-stable-darkLavenderWebex`, `mds-theme-stable-lightLavenderWebex`\n\n`mds-theme-stable-darkRoseWebex`, `mds-theme-stable-lightRoseWebex`\n\nThemeclass context can be be consumed from Lit child components\n(see providerUtils.consume for how to consume)\n\nThemeProvider also includes basic font defaults for text.",
|
10077
9521
|
"name": "ThemeProvider",
|
10078
9522
|
"cssProperties": [
|
10079
9523
|
{
|
@@ -10170,7 +9614,7 @@
|
|
10170
9614
|
"module": "/src/models"
|
10171
9615
|
},
|
10172
9616
|
"tagName": "mdc-themeprovider",
|
10173
|
-
"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 */",
|
9617
|
+
"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 * Available Momentum theme classes:\n *\n * `mds-theme-stable-darkWebex`, `mds-theme-stable-lightWebex`\n *\n * `mds-theme-stable-darkBronzeWebex`, `mds-theme-stable-lightBronzeWebex`\n *\n * `mds-theme-stable-darkIndigoWebex`, `mds-theme-stable-lightIndigoWebex`\n *\n * `mds-theme-stable-darkJadeWebex`, `mds-theme-stable-lightJadeWebex`\n *\n * `mds-theme-stable-darkLavenderWebex`, `mds-theme-stable-lightLavenderWebex`\n *\n * `mds-theme-stable-darkRoseWebex`, `mds-theme-stable-lightRoseWebex`\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 */",
|
10174
9618
|
"customElement": true
|
10175
9619
|
}
|
10176
9620
|
],
|
@@ -10384,20 +9828,6 @@
|
|
10384
9828
|
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
10385
9829
|
}
|
10386
9830
|
},
|
10387
|
-
{
|
10388
|
-
"kind": "field",
|
10389
|
-
"name": "id",
|
10390
|
-
"type": {
|
10391
|
-
"text": "string"
|
10392
|
-
},
|
10393
|
-
"default": "`mdc-toggle-${uuidv4()}`",
|
10394
|
-
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
10395
|
-
"attribute": "id",
|
10396
|
-
"inheritedFrom": {
|
10397
|
-
"name": "FormfieldWrapper",
|
10398
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
10399
|
-
}
|
10400
|
-
},
|
10401
9831
|
{
|
10402
9832
|
"kind": "field",
|
10403
9833
|
"name": "name",
|
@@ -10498,6 +9928,20 @@
|
|
10498
9928
|
"module": "utils/mixins/FormInternalsMixin.js"
|
10499
9929
|
}
|
10500
9930
|
},
|
9931
|
+
{
|
9932
|
+
"kind": "field",
|
9933
|
+
"name": "id",
|
9934
|
+
"type": {
|
9935
|
+
"text": "string"
|
9936
|
+
},
|
9937
|
+
"default": "`mdc-input-${uuidv4()}`",
|
9938
|
+
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
9939
|
+
"attribute": "id",
|
9940
|
+
"inheritedFrom": {
|
9941
|
+
"name": "FormfieldWrapper",
|
9942
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
9943
|
+
}
|
9944
|
+
},
|
10501
9945
|
{
|
10502
9946
|
"kind": "field",
|
10503
9947
|
"name": "dataAriaLabel",
|
@@ -11859,6 +11303,11 @@
|
|
11859
11303
|
{
|
11860
11304
|
"kind": "method",
|
11861
11305
|
"name": "reportValidity"
|
11306
|
+
},
|
11307
|
+
{
|
11308
|
+
"kind": "field",
|
11309
|
+
"name": "id",
|
11310
|
+
"default": "`mdc-input-${uuidv4()}`"
|
11862
11311
|
}
|
11863
11312
|
],
|
11864
11313
|
"attributes": [
|