@momentum-design/components 0.92.2 → 0.92.4
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 +304 -297
- package/dist/browser/index.js.map +4 -4
- package/dist/components/divider/divider.styles.js +1 -0
- package/dist/components/menubar/menubar.component.d.ts +2 -1
- package/dist/components/menubar/menubar.component.js +23 -2
- package/dist/components/menusection/menusection.component.d.ts +9 -0
- package/dist/components/menusection/menusection.component.js +15 -1
- package/dist/components/menusection/menusection.constants.d.ts +4 -1
- package/dist/components/menusection/menusection.constants.js +4 -1
- package/dist/components/popover/popover.component.d.ts +1 -1
- package/dist/components/popover/popover.component.js +9 -0
- package/dist/components/popover/popover.events.d.ts +12 -0
- package/dist/components/popover/popover.events.js +16 -0
- package/dist/components/popover/popover.utils.js +1 -1
- package/dist/components/select/select.component.d.ts +32 -37
- package/dist/components/select/select.component.js +132 -148
- package/dist/components/select/select.constants.d.ts +2 -1
- package/dist/components/select/select.constants.js +2 -1
- package/dist/components/select/select.styles.js +20 -17
- package/dist/components/select/select.types.d.ts +3 -1
- package/dist/components/selectlistbox/index.d.ts +7 -0
- package/dist/components/selectlistbox/index.js +4 -0
- package/dist/components/selectlistbox/selectlistbox.component.d.ts +18 -0
- package/dist/components/selectlistbox/selectlistbox.component.js +24 -0
- package/dist/components/selectlistbox/selectlistbox.constants.d.ts +2 -0
- package/dist/components/selectlistbox/selectlistbox.constants.js +3 -0
- package/dist/components/selectlistbox/selectlistbox.types.d.ts +3 -0
- package/dist/components/selectlistbox/selectlistbox.types.js +1 -0
- package/dist/custom-elements.json +541 -491
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/react/index.d.ts +3 -2
- package/dist/react/index.js +3 -2
- package/dist/react/select/index.d.ts +2 -0
- package/dist/react/select/index.js +2 -0
- package/dist/react/selectlistbox/index.d.ts +15 -0
- package/dist/react/selectlistbox/index.js +24 -0
- package/package.json +1 -1
@@ -12178,6 +12178,202 @@
|
|
12178
12178
|
}
|
12179
12179
|
]
|
12180
12180
|
},
|
12181
|
+
{
|
12182
|
+
"kind": "javascript-module",
|
12183
|
+
"path": "components/iconprovider/iconprovider.component.js",
|
12184
|
+
"declarations": [
|
12185
|
+
{
|
12186
|
+
"kind": "class",
|
12187
|
+
"description": "IconProvider component, which allows to be consumed from sub components\n(see `providerUtils.consume` for how to consume)\n\nAttribute `iconSet` can be set to either `momentum-icons` or `custom-icons`.\nIf `momentum-icons` is selected, the icons will be fetched from the\nMomentum Design System icon set per a dynamic JS Import (no need to provide a URL).\nThis requires the consumer to have the `@momentum-designs` package installed and the\nbuild tooling needs to support dynamic imports.\n\nIf `custom-icons` is selected, the icons will be fetched from the provided URL.\nThis requires the consumer to provide a URL from which the icons will be fetched and\nthe consumer needs to make sure to bundle the icons in the application.\n\nIf `cacheStrategy` is provided (only works with iconSet = `custom-icons`), the\nIconProvider will cache the icons in the selected cache (either web-api-cache or in-memory-cache),\nto avoid fetching the same icon multiple times over the network.\nThis is useful when the same icon is used multiple times in the application.\nTo consider:\n- The `in-memory-cache` is not persisted and will be lost when the\nIconProvider is removed from the DOM.\n- The `web-api-cache` is persisted, but only works in https environments\n(https://developer.mozilla.org/en-US/docs/Web/API/Cache).",
|
12188
|
+
"name": "IconProvider",
|
12189
|
+
"slots": [
|
12190
|
+
{
|
12191
|
+
"description": "children",
|
12192
|
+
"name": ""
|
12193
|
+
}
|
12194
|
+
],
|
12195
|
+
"members": [
|
12196
|
+
{
|
12197
|
+
"kind": "field",
|
12198
|
+
"name": "Context",
|
12199
|
+
"privacy": "public",
|
12200
|
+
"static": true,
|
12201
|
+
"description": "Context object of the IconProvider, to be consumed by child components",
|
12202
|
+
"readonly": true
|
12203
|
+
},
|
12204
|
+
{
|
12205
|
+
"kind": "field",
|
12206
|
+
"name": "iconSet",
|
12207
|
+
"type": {
|
12208
|
+
"text": "IconSet | undefined"
|
12209
|
+
},
|
12210
|
+
"description": "Icon set to be used\n\nIf `momentum-icons` is selected, the icons will be fetched from the\nMomentum Design System icon set per a dynamic JS Import (no need to provide a URL).\nThis requires the consumer to have the `@momentum-designs` package installed and the\nbuild tooling needs to support dynamic imports.\n\nIf `custom-icons` is selected, the icons will be fetched from the provided URL.\nThis requires the consumer to provide a URL from which the icons will be fetched and\nthe consumer needs to make sure to bundle the icons in the application.",
|
12211
|
+
"default": "momentum-icons",
|
12212
|
+
"attribute": "icon-set",
|
12213
|
+
"reflects": true
|
12214
|
+
},
|
12215
|
+
{
|
12216
|
+
"kind": "field",
|
12217
|
+
"name": "url",
|
12218
|
+
"type": {
|
12219
|
+
"text": "string | undefined"
|
12220
|
+
},
|
12221
|
+
"description": "Url of where icons will be fetched from\n(if Icon set is `custom-icons`, this will be the base url)",
|
12222
|
+
"attribute": "url"
|
12223
|
+
},
|
12224
|
+
{
|
12225
|
+
"kind": "field",
|
12226
|
+
"name": "fileExtension",
|
12227
|
+
"type": {
|
12228
|
+
"text": "string | undefined"
|
12229
|
+
},
|
12230
|
+
"description": "File extension of icons\n(if Icon set is `custom-icons`, this will be the file extension for icons)",
|
12231
|
+
"default": "svg",
|
12232
|
+
"attribute": "file-extension",
|
12233
|
+
"reflects": true
|
12234
|
+
},
|
12235
|
+
{
|
12236
|
+
"kind": "field",
|
12237
|
+
"name": "lengthUnit",
|
12238
|
+
"type": {
|
12239
|
+
"text": "string"
|
12240
|
+
},
|
12241
|
+
"description": "Length unit used for sizing of icons",
|
12242
|
+
"default": "em",
|
12243
|
+
"attribute": "length-unit",
|
12244
|
+
"reflects": true
|
12245
|
+
},
|
12246
|
+
{
|
12247
|
+
"kind": "field",
|
12248
|
+
"name": "size",
|
12249
|
+
"type": {
|
12250
|
+
"text": "number | undefined"
|
12251
|
+
},
|
12252
|
+
"description": "The default size of the icon.\nIf not set, it falls back to the size defined by the length unit.",
|
12253
|
+
"default": "1",
|
12254
|
+
"attribute": "size",
|
12255
|
+
"reflects": true
|
12256
|
+
},
|
12257
|
+
{
|
12258
|
+
"kind": "field",
|
12259
|
+
"name": "cacheStrategy",
|
12260
|
+
"type": {
|
12261
|
+
"text": "CacheStrategy | undefined"
|
12262
|
+
},
|
12263
|
+
"description": "Icons Cache Strategy to use\n\n**Can only be used if Icon set is `custom-icons`**\n\nChoose `in-memory-cache` to cache icons in a JS cache (in-memory cache).\nChoose `web-cache-api` to cache icons using the Web Cache API.\n\nNOTE: `cache-name` must be provided if `cache-strategy` is provided.\n\nIf not provided or invalid value provided, the icons will not be cached.",
|
12264
|
+
"default": "undefined",
|
12265
|
+
"attribute": "cache-strategy"
|
12266
|
+
},
|
12267
|
+
{
|
12268
|
+
"kind": "field",
|
12269
|
+
"name": "cacheName",
|
12270
|
+
"type": {
|
12271
|
+
"text": "string | undefined"
|
12272
|
+
},
|
12273
|
+
"description": "Icons Cache Name to use (cache strategy must be provided)\n\nIf provided, Icons inside the provider will be cached in the\ncache (determined by `cache-strategy`) with the provided name.\n\nNOTE: `cache-name` requires `cache-strategy` to be set.\n\nIf not provided, the icons will not be cached.",
|
12274
|
+
"default": "undefined",
|
12275
|
+
"attribute": "cache-name"
|
12276
|
+
},
|
12277
|
+
{
|
12278
|
+
"kind": "method",
|
12279
|
+
"name": "updateValuesInContext",
|
12280
|
+
"privacy": "private"
|
12281
|
+
},
|
12282
|
+
{
|
12283
|
+
"kind": "method",
|
12284
|
+
"name": "updateContext",
|
12285
|
+
"privacy": "protected",
|
12286
|
+
"return": {
|
12287
|
+
"type": {
|
12288
|
+
"text": "void"
|
12289
|
+
}
|
12290
|
+
}
|
12291
|
+
}
|
12292
|
+
],
|
12293
|
+
"attributes": [
|
12294
|
+
{
|
12295
|
+
"name": "icon-set",
|
12296
|
+
"type": {
|
12297
|
+
"text": "IconSet | undefined"
|
12298
|
+
},
|
12299
|
+
"description": "Icon set to be used\n\nIf `momentum-icons` is selected, the icons will be fetched from the\nMomentum Design System icon set per a dynamic JS Import (no need to provide a URL).\nThis requires the consumer to have the `@momentum-designs` package installed and the\nbuild tooling needs to support dynamic imports.\n\nIf `custom-icons` is selected, the icons will be fetched from the provided URL.\nThis requires the consumer to provide a URL from which the icons will be fetched and\nthe consumer needs to make sure to bundle the icons in the application.",
|
12300
|
+
"default": "momentum-icons",
|
12301
|
+
"fieldName": "iconSet"
|
12302
|
+
},
|
12303
|
+
{
|
12304
|
+
"name": "url",
|
12305
|
+
"type": {
|
12306
|
+
"text": "string | undefined"
|
12307
|
+
},
|
12308
|
+
"description": "Url of where icons will be fetched from\n(if Icon set is `custom-icons`, this will be the base url)",
|
12309
|
+
"fieldName": "url"
|
12310
|
+
},
|
12311
|
+
{
|
12312
|
+
"name": "file-extension",
|
12313
|
+
"type": {
|
12314
|
+
"text": "string | undefined"
|
12315
|
+
},
|
12316
|
+
"description": "File extension of icons\n(if Icon set is `custom-icons`, this will be the file extension for icons)",
|
12317
|
+
"default": "svg",
|
12318
|
+
"fieldName": "fileExtension"
|
12319
|
+
},
|
12320
|
+
{
|
12321
|
+
"name": "length-unit",
|
12322
|
+
"type": {
|
12323
|
+
"text": "string"
|
12324
|
+
},
|
12325
|
+
"description": "Length unit used for sizing of icons",
|
12326
|
+
"default": "em",
|
12327
|
+
"fieldName": "lengthUnit"
|
12328
|
+
},
|
12329
|
+
{
|
12330
|
+
"name": "size",
|
12331
|
+
"type": {
|
12332
|
+
"text": "number | undefined"
|
12333
|
+
},
|
12334
|
+
"description": "The default size of the icon.\nIf not set, it falls back to the size defined by the length unit.",
|
12335
|
+
"default": "1",
|
12336
|
+
"fieldName": "size"
|
12337
|
+
},
|
12338
|
+
{
|
12339
|
+
"name": "cache-strategy",
|
12340
|
+
"type": {
|
12341
|
+
"text": "CacheStrategy | undefined"
|
12342
|
+
},
|
12343
|
+
"description": "Icons Cache Strategy to use\n\n**Can only be used if Icon set is `custom-icons`**\n\nChoose `in-memory-cache` to cache icons in a JS cache (in-memory cache).\nChoose `web-cache-api` to cache icons using the Web Cache API.\n\nNOTE: `cache-name` must be provided if `cache-strategy` is provided.\n\nIf not provided or invalid value provided, the icons will not be cached.",
|
12344
|
+
"default": "undefined",
|
12345
|
+
"fieldName": "cacheStrategy"
|
12346
|
+
},
|
12347
|
+
{
|
12348
|
+
"name": "cache-name",
|
12349
|
+
"type": {
|
12350
|
+
"text": "string | undefined"
|
12351
|
+
},
|
12352
|
+
"description": "Icons Cache Name to use (cache strategy must be provided)\n\nIf provided, Icons inside the provider will be cached in the\ncache (determined by `cache-strategy`) with the provided name.\n\nNOTE: `cache-name` requires `cache-strategy` to be set.\n\nIf not provided, the icons will not be cached.",
|
12353
|
+
"default": "undefined",
|
12354
|
+
"fieldName": "cacheName"
|
12355
|
+
}
|
12356
|
+
],
|
12357
|
+
"superclass": {
|
12358
|
+
"name": "Provider",
|
12359
|
+
"module": "/src/models"
|
12360
|
+
},
|
12361
|
+
"tagName": "mdc-iconprovider",
|
12362
|
+
"jsDoc": "/**\n * IconProvider component, which allows to be consumed from sub components\n * (see `providerUtils.consume` for how to consume)\n *\n * Attribute `iconSet` can be set to either `momentum-icons` or `custom-icons`.\n * If `momentum-icons` is selected, the icons will be fetched from the\n * Momentum Design System icon set per a dynamic JS Import (no need to provide a URL).\n * This requires the consumer to have the `@momentum-designs` package installed and the\n * build tooling needs to support dynamic imports.\n *\n * If `custom-icons` is selected, the icons will be fetched from the provided URL.\n * This requires the consumer to provide a URL from which the icons will be fetched and\n * the consumer needs to make sure to bundle the icons in the application.\n *\n * If `cacheStrategy` is provided (only works with iconSet = `custom-icons`), the\n * IconProvider will cache the icons in the selected cache (either web-api-cache or in-memory-cache),\n * to avoid fetching the same icon multiple times over the network.\n * This is useful when the same icon is used multiple times in the application.\n * To consider:\n * - The `in-memory-cache` is not persisted and will be lost when the\n * IconProvider is removed from the DOM.\n * - The `web-api-cache` is persisted, but only works in https environments\n * (https://developer.mozilla.org/en-US/docs/Web/API/Cache).\n *\n * @tagname mdc-iconprovider\n *\n * @slot - children\n */",
|
12363
|
+
"customElement": true
|
12364
|
+
}
|
12365
|
+
],
|
12366
|
+
"exports": [
|
12367
|
+
{
|
12368
|
+
"kind": "js",
|
12369
|
+
"name": "default",
|
12370
|
+
"declaration": {
|
12371
|
+
"name": "IconProvider",
|
12372
|
+
"module": "components/iconprovider/iconprovider.component.js"
|
12373
|
+
}
|
12374
|
+
}
|
12375
|
+
]
|
12376
|
+
},
|
12181
12377
|
{
|
12182
12378
|
"kind": "javascript-module",
|
12183
12379
|
"path": "components/icon/icon.component.js",
|
@@ -12426,202 +12622,6 @@
|
|
12426
12622
|
}
|
12427
12623
|
]
|
12428
12624
|
},
|
12429
|
-
{
|
12430
|
-
"kind": "javascript-module",
|
12431
|
-
"path": "components/iconprovider/iconprovider.component.js",
|
12432
|
-
"declarations": [
|
12433
|
-
{
|
12434
|
-
"kind": "class",
|
12435
|
-
"description": "IconProvider component, which allows to be consumed from sub components\n(see `providerUtils.consume` for how to consume)\n\nAttribute `iconSet` can be set to either `momentum-icons` or `custom-icons`.\nIf `momentum-icons` is selected, the icons will be fetched from the\nMomentum Design System icon set per a dynamic JS Import (no need to provide a URL).\nThis requires the consumer to have the `@momentum-designs` package installed and the\nbuild tooling needs to support dynamic imports.\n\nIf `custom-icons` is selected, the icons will be fetched from the provided URL.\nThis requires the consumer to provide a URL from which the icons will be fetched and\nthe consumer needs to make sure to bundle the icons in the application.\n\nIf `cacheStrategy` is provided (only works with iconSet = `custom-icons`), the\nIconProvider will cache the icons in the selected cache (either web-api-cache or in-memory-cache),\nto avoid fetching the same icon multiple times over the network.\nThis is useful when the same icon is used multiple times in the application.\nTo consider:\n- The `in-memory-cache` is not persisted and will be lost when the\nIconProvider is removed from the DOM.\n- The `web-api-cache` is persisted, but only works in https environments\n(https://developer.mozilla.org/en-US/docs/Web/API/Cache).",
|
12436
|
-
"name": "IconProvider",
|
12437
|
-
"slots": [
|
12438
|
-
{
|
12439
|
-
"description": "children",
|
12440
|
-
"name": ""
|
12441
|
-
}
|
12442
|
-
],
|
12443
|
-
"members": [
|
12444
|
-
{
|
12445
|
-
"kind": "field",
|
12446
|
-
"name": "Context",
|
12447
|
-
"privacy": "public",
|
12448
|
-
"static": true,
|
12449
|
-
"description": "Context object of the IconProvider, to be consumed by child components",
|
12450
|
-
"readonly": true
|
12451
|
-
},
|
12452
|
-
{
|
12453
|
-
"kind": "field",
|
12454
|
-
"name": "iconSet",
|
12455
|
-
"type": {
|
12456
|
-
"text": "IconSet | undefined"
|
12457
|
-
},
|
12458
|
-
"description": "Icon set to be used\n\nIf `momentum-icons` is selected, the icons will be fetched from the\nMomentum Design System icon set per a dynamic JS Import (no need to provide a URL).\nThis requires the consumer to have the `@momentum-designs` package installed and the\nbuild tooling needs to support dynamic imports.\n\nIf `custom-icons` is selected, the icons will be fetched from the provided URL.\nThis requires the consumer to provide a URL from which the icons will be fetched and\nthe consumer needs to make sure to bundle the icons in the application.",
|
12459
|
-
"default": "momentum-icons",
|
12460
|
-
"attribute": "icon-set",
|
12461
|
-
"reflects": true
|
12462
|
-
},
|
12463
|
-
{
|
12464
|
-
"kind": "field",
|
12465
|
-
"name": "url",
|
12466
|
-
"type": {
|
12467
|
-
"text": "string | undefined"
|
12468
|
-
},
|
12469
|
-
"description": "Url of where icons will be fetched from\n(if Icon set is `custom-icons`, this will be the base url)",
|
12470
|
-
"attribute": "url"
|
12471
|
-
},
|
12472
|
-
{
|
12473
|
-
"kind": "field",
|
12474
|
-
"name": "fileExtension",
|
12475
|
-
"type": {
|
12476
|
-
"text": "string | undefined"
|
12477
|
-
},
|
12478
|
-
"description": "File extension of icons\n(if Icon set is `custom-icons`, this will be the file extension for icons)",
|
12479
|
-
"default": "svg",
|
12480
|
-
"attribute": "file-extension",
|
12481
|
-
"reflects": true
|
12482
|
-
},
|
12483
|
-
{
|
12484
|
-
"kind": "field",
|
12485
|
-
"name": "lengthUnit",
|
12486
|
-
"type": {
|
12487
|
-
"text": "string"
|
12488
|
-
},
|
12489
|
-
"description": "Length unit used for sizing of icons",
|
12490
|
-
"default": "em",
|
12491
|
-
"attribute": "length-unit",
|
12492
|
-
"reflects": true
|
12493
|
-
},
|
12494
|
-
{
|
12495
|
-
"kind": "field",
|
12496
|
-
"name": "size",
|
12497
|
-
"type": {
|
12498
|
-
"text": "number | undefined"
|
12499
|
-
},
|
12500
|
-
"description": "The default size of the icon.\nIf not set, it falls back to the size defined by the length unit.",
|
12501
|
-
"default": "1",
|
12502
|
-
"attribute": "size",
|
12503
|
-
"reflects": true
|
12504
|
-
},
|
12505
|
-
{
|
12506
|
-
"kind": "field",
|
12507
|
-
"name": "cacheStrategy",
|
12508
|
-
"type": {
|
12509
|
-
"text": "CacheStrategy | undefined"
|
12510
|
-
},
|
12511
|
-
"description": "Icons Cache Strategy to use\n\n**Can only be used if Icon set is `custom-icons`**\n\nChoose `in-memory-cache` to cache icons in a JS cache (in-memory cache).\nChoose `web-cache-api` to cache icons using the Web Cache API.\n\nNOTE: `cache-name` must be provided if `cache-strategy` is provided.\n\nIf not provided or invalid value provided, the icons will not be cached.",
|
12512
|
-
"default": "undefined",
|
12513
|
-
"attribute": "cache-strategy"
|
12514
|
-
},
|
12515
|
-
{
|
12516
|
-
"kind": "field",
|
12517
|
-
"name": "cacheName",
|
12518
|
-
"type": {
|
12519
|
-
"text": "string | undefined"
|
12520
|
-
},
|
12521
|
-
"description": "Icons Cache Name to use (cache strategy must be provided)\n\nIf provided, Icons inside the provider will be cached in the\ncache (determined by `cache-strategy`) with the provided name.\n\nNOTE: `cache-name` requires `cache-strategy` to be set.\n\nIf not provided, the icons will not be cached.",
|
12522
|
-
"default": "undefined",
|
12523
|
-
"attribute": "cache-name"
|
12524
|
-
},
|
12525
|
-
{
|
12526
|
-
"kind": "method",
|
12527
|
-
"name": "updateValuesInContext",
|
12528
|
-
"privacy": "private"
|
12529
|
-
},
|
12530
|
-
{
|
12531
|
-
"kind": "method",
|
12532
|
-
"name": "updateContext",
|
12533
|
-
"privacy": "protected",
|
12534
|
-
"return": {
|
12535
|
-
"type": {
|
12536
|
-
"text": "void"
|
12537
|
-
}
|
12538
|
-
}
|
12539
|
-
}
|
12540
|
-
],
|
12541
|
-
"attributes": [
|
12542
|
-
{
|
12543
|
-
"name": "icon-set",
|
12544
|
-
"type": {
|
12545
|
-
"text": "IconSet | undefined"
|
12546
|
-
},
|
12547
|
-
"description": "Icon set to be used\n\nIf `momentum-icons` is selected, the icons will be fetched from the\nMomentum Design System icon set per a dynamic JS Import (no need to provide a URL).\nThis requires the consumer to have the `@momentum-designs` package installed and the\nbuild tooling needs to support dynamic imports.\n\nIf `custom-icons` is selected, the icons will be fetched from the provided URL.\nThis requires the consumer to provide a URL from which the icons will be fetched and\nthe consumer needs to make sure to bundle the icons in the application.",
|
12548
|
-
"default": "momentum-icons",
|
12549
|
-
"fieldName": "iconSet"
|
12550
|
-
},
|
12551
|
-
{
|
12552
|
-
"name": "url",
|
12553
|
-
"type": {
|
12554
|
-
"text": "string | undefined"
|
12555
|
-
},
|
12556
|
-
"description": "Url of where icons will be fetched from\n(if Icon set is `custom-icons`, this will be the base url)",
|
12557
|
-
"fieldName": "url"
|
12558
|
-
},
|
12559
|
-
{
|
12560
|
-
"name": "file-extension",
|
12561
|
-
"type": {
|
12562
|
-
"text": "string | undefined"
|
12563
|
-
},
|
12564
|
-
"description": "File extension of icons\n(if Icon set is `custom-icons`, this will be the file extension for icons)",
|
12565
|
-
"default": "svg",
|
12566
|
-
"fieldName": "fileExtension"
|
12567
|
-
},
|
12568
|
-
{
|
12569
|
-
"name": "length-unit",
|
12570
|
-
"type": {
|
12571
|
-
"text": "string"
|
12572
|
-
},
|
12573
|
-
"description": "Length unit used for sizing of icons",
|
12574
|
-
"default": "em",
|
12575
|
-
"fieldName": "lengthUnit"
|
12576
|
-
},
|
12577
|
-
{
|
12578
|
-
"name": "size",
|
12579
|
-
"type": {
|
12580
|
-
"text": "number | undefined"
|
12581
|
-
},
|
12582
|
-
"description": "The default size of the icon.\nIf not set, it falls back to the size defined by the length unit.",
|
12583
|
-
"default": "1",
|
12584
|
-
"fieldName": "size"
|
12585
|
-
},
|
12586
|
-
{
|
12587
|
-
"name": "cache-strategy",
|
12588
|
-
"type": {
|
12589
|
-
"text": "CacheStrategy | undefined"
|
12590
|
-
},
|
12591
|
-
"description": "Icons Cache Strategy to use\n\n**Can only be used if Icon set is `custom-icons`**\n\nChoose `in-memory-cache` to cache icons in a JS cache (in-memory cache).\nChoose `web-cache-api` to cache icons using the Web Cache API.\n\nNOTE: `cache-name` must be provided if `cache-strategy` is provided.\n\nIf not provided or invalid value provided, the icons will not be cached.",
|
12592
|
-
"default": "undefined",
|
12593
|
-
"fieldName": "cacheStrategy"
|
12594
|
-
},
|
12595
|
-
{
|
12596
|
-
"name": "cache-name",
|
12597
|
-
"type": {
|
12598
|
-
"text": "string | undefined"
|
12599
|
-
},
|
12600
|
-
"description": "Icons Cache Name to use (cache strategy must be provided)\n\nIf provided, Icons inside the provider will be cached in the\ncache (determined by `cache-strategy`) with the provided name.\n\nNOTE: `cache-name` requires `cache-strategy` to be set.\n\nIf not provided, the icons will not be cached.",
|
12601
|
-
"default": "undefined",
|
12602
|
-
"fieldName": "cacheName"
|
12603
|
-
}
|
12604
|
-
],
|
12605
|
-
"superclass": {
|
12606
|
-
"name": "Provider",
|
12607
|
-
"module": "/src/models"
|
12608
|
-
},
|
12609
|
-
"tagName": "mdc-iconprovider",
|
12610
|
-
"jsDoc": "/**\n * IconProvider component, which allows to be consumed from sub components\n * (see `providerUtils.consume` for how to consume)\n *\n * Attribute `iconSet` can be set to either `momentum-icons` or `custom-icons`.\n * If `momentum-icons` is selected, the icons will be fetched from the\n * Momentum Design System icon set per a dynamic JS Import (no need to provide a URL).\n * This requires the consumer to have the `@momentum-designs` package installed and the\n * build tooling needs to support dynamic imports.\n *\n * If `custom-icons` is selected, the icons will be fetched from the provided URL.\n * This requires the consumer to provide a URL from which the icons will be fetched and\n * the consumer needs to make sure to bundle the icons in the application.\n *\n * If `cacheStrategy` is provided (only works with iconSet = `custom-icons`), the\n * IconProvider will cache the icons in the selected cache (either web-api-cache or in-memory-cache),\n * to avoid fetching the same icon multiple times over the network.\n * This is useful when the same icon is used multiple times in the application.\n * To consider:\n * - The `in-memory-cache` is not persisted and will be lost when the\n * IconProvider is removed from the DOM.\n * - The `web-api-cache` is persisted, but only works in https environments\n * (https://developer.mozilla.org/en-US/docs/Web/API/Cache).\n *\n * @tagname mdc-iconprovider\n *\n * @slot - children\n */",
|
12611
|
-
"customElement": true
|
12612
|
-
}
|
12613
|
-
],
|
12614
|
-
"exports": [
|
12615
|
-
{
|
12616
|
-
"kind": "js",
|
12617
|
-
"name": "default",
|
12618
|
-
"declaration": {
|
12619
|
-
"name": "IconProvider",
|
12620
|
-
"module": "components/iconprovider/iconprovider.component.js"
|
12621
|
-
}
|
12622
|
-
}
|
12623
|
-
]
|
12624
|
-
},
|
12625
12625
|
{
|
12626
12626
|
"kind": "javascript-module",
|
12627
12627
|
"path": "components/input/input.component.js",
|
@@ -15444,6 +15444,13 @@
|
|
15444
15444
|
}
|
15445
15445
|
],
|
15446
15446
|
"members": [
|
15447
|
+
{
|
15448
|
+
"kind": "field",
|
15449
|
+
"name": "menusections",
|
15450
|
+
"type": {
|
15451
|
+
"text": "Array<HTMLElement>"
|
15452
|
+
}
|
15453
|
+
},
|
15447
15454
|
{
|
15448
15455
|
"kind": "field",
|
15449
15456
|
"name": "menuItems",
|
@@ -20475,6 +20482,14 @@
|
|
20475
20482
|
"attribute": "show-divider",
|
20476
20483
|
"reflects": true
|
20477
20484
|
},
|
20485
|
+
{
|
20486
|
+
"kind": "field",
|
20487
|
+
"name": "dividerVariant",
|
20488
|
+
"description": "The variant of the divider.\nCan be set to 'solid' or 'gradient'.\n\nKeep 'solid' if used in MenuPopovers, as it is the default style.",
|
20489
|
+
"default": "'solid'",
|
20490
|
+
"attribute": "divider-variant",
|
20491
|
+
"reflects": true
|
20492
|
+
},
|
20478
20493
|
{
|
20479
20494
|
"kind": "method",
|
20480
20495
|
"name": "renderHeader",
|
@@ -20523,6 +20538,12 @@
|
|
20523
20538
|
"default": "false",
|
20524
20539
|
"description": "Whether to show a divider below the section header.\nThis is useful for visually separating sections in the menu.",
|
20525
20540
|
"fieldName": "showDivider"
|
20541
|
+
},
|
20542
|
+
{
|
20543
|
+
"name": "divider-variant",
|
20544
|
+
"description": "The variant of the divider.\nCan be set to 'solid' or 'gradient'.\n\nKeep 'solid' if used in MenuPopovers, as it is the default style.",
|
20545
|
+
"default": "'solid'",
|
20546
|
+
"fieldName": "dividerVariant"
|
20526
20547
|
}
|
20527
20548
|
],
|
20528
20549
|
"superclass": {
|
@@ -29311,7 +29332,7 @@
|
|
29311
29332
|
"declarations": [
|
29312
29333
|
{
|
29313
29334
|
"kind": "class",
|
29314
|
-
"description": "The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\nIt is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\nThe component ensures accessibility and usability while handling various use cases,\nincluding long text truncation with tooltip support.\n\nTo set a default option, use the `selected` attribute on the `mdc-option` element.",
|
29335
|
+
"description": "The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\nIt is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\nThe component ensures accessibility and usability while handling various use cases,\nincluding long text truncation with tooltip support.\n\nTo set a default option, use the `selected` attribute on the `mdc-option` element.\n\n**Note:** Make sure to add `mdc-selectlistbox` as a child of `mdc-select` and wrap options/optgroup in it to ensure proper accessibility functionality. Read more about it in SelectListBox documentation.",
|
29315
29336
|
"name": "Select",
|
29316
29337
|
"slots": [
|
29317
29338
|
{
|
@@ -29350,30 +29371,36 @@
|
|
29350
29371
|
"attribute": "height"
|
29351
29372
|
},
|
29352
29373
|
{
|
29353
|
-
"kind": "
|
29354
|
-
"name": "
|
29355
|
-
"
|
29356
|
-
|
29374
|
+
"kind": "field",
|
29375
|
+
"name": "placement",
|
29376
|
+
"type": {
|
29377
|
+
"text": "Placement"
|
29378
|
+
},
|
29379
|
+
"description": "The placeholder text which will be shown on the text if provided.",
|
29380
|
+
"attribute": "placement",
|
29381
|
+
"reflects": true
|
29382
|
+
},
|
29383
|
+
{
|
29384
|
+
"kind": "field",
|
29385
|
+
"name": "softDisabled",
|
29386
|
+
"type": {
|
29387
|
+
"text": "boolean | undefined"
|
29388
|
+
},
|
29389
|
+
"description": "Indicates whether the select is soft disabled.\nWhen set to `true`, the select appears visually disabled but still allows\nfocus.",
|
29390
|
+
"default": "undefined",
|
29391
|
+
"attribute": "soft-disabled"
|
29357
29392
|
},
|
29358
29393
|
{
|
29359
29394
|
"kind": "method",
|
29360
|
-
"name": "
|
29395
|
+
"name": "modifyListBoxWrapper",
|
29361
29396
|
"privacy": "private",
|
29362
|
-
"
|
29363
|
-
"type": {
|
29364
|
-
"text": "void"
|
29365
|
-
}
|
29366
|
-
}
|
29397
|
+
"description": "Modifies the listbox wrapper to ensure it has the correct attributes\nand IDs for accessibility.\n\nOnce [ariaOwnsElements](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/ariaOwnsElements) is supported in browsers,\nthis an be removed and mdc-option can be used directly in the select component with a listbox in a different\nshadow root and aria-owns attribute to connect them."
|
29367
29398
|
},
|
29368
29399
|
{
|
29369
29400
|
"kind": "method",
|
29370
|
-
"name": "
|
29401
|
+
"name": "getAllValidOptions",
|
29371
29402
|
"privacy": "private",
|
29372
|
-
"
|
29373
|
-
"type": {
|
29374
|
-
"text": "void"
|
29375
|
-
}
|
29376
|
-
}
|
29403
|
+
"description": "A helper function which returns a flattened array of all valid options from within the slotted listbox.\nIt takes care of the edge cases where the option is either a direct child or a\nchild of an option group."
|
29377
29404
|
},
|
29378
29405
|
{
|
29379
29406
|
"kind": "method",
|
@@ -29494,7 +29521,25 @@
|
|
29494
29521
|
},
|
29495
29522
|
{
|
29496
29523
|
"kind": "method",
|
29497
|
-
"name": "
|
29524
|
+
"name": "handleClickCombobox",
|
29525
|
+
"privacy": "private",
|
29526
|
+
"return": {
|
29527
|
+
"type": {
|
29528
|
+
"text": "void"
|
29529
|
+
}
|
29530
|
+
},
|
29531
|
+
"parameters": [
|
29532
|
+
{
|
29533
|
+
"name": "event",
|
29534
|
+
"type": {
|
29535
|
+
"text": "MouseEvent"
|
29536
|
+
}
|
29537
|
+
}
|
29538
|
+
]
|
29539
|
+
},
|
29540
|
+
{
|
29541
|
+
"kind": "method",
|
29542
|
+
"name": "handleKeydownCombobox",
|
29498
29543
|
"privacy": "private",
|
29499
29544
|
"return": {
|
29500
29545
|
"type": {
|
@@ -29551,49 +29596,20 @@
|
|
29551
29596
|
},
|
29552
29597
|
{
|
29553
29598
|
"name": "currentIndex",
|
29554
|
-
"type": {
|
29555
|
-
"text": "number"
|
29556
|
-
},
|
29557
|
-
"description": "The current index of the focused option."
|
29558
|
-
},
|
29559
|
-
{
|
29560
|
-
"name": "optionsLength",
|
29561
|
-
"type": {
|
29562
|
-
"text": "number"
|
29563
|
-
},
|
29564
|
-
"description": "The total number of options."
|
29565
|
-
}
|
29566
|
-
],
|
29567
|
-
"description": "Calculates the new index based on the pressed navigation key.\nSupports ArrowUp, ArrowDown, PageUp, and PageDown keys for navigating options.\n- ArrowDown: Moves focus to the next option, if available.\n- ArrowUp: Moves focus to the previous option, if available.\n- PageDown: Moves focus 10 options down or to the last option.\n- PageUp: Moves focus 10 options up or to the first option."
|
29568
|
-
},
|
29569
|
-
{
|
29570
|
-
"kind": "method",
|
29571
|
-
"name": "updateActivedescendant",
|
29572
|
-
"privacy": "private",
|
29573
|
-
"return": {
|
29574
|
-
"type": {
|
29575
|
-
"text": "void"
|
29576
|
-
}
|
29577
|
-
},
|
29578
|
-
"parameters": [
|
29599
|
+
"type": {
|
29600
|
+
"text": "number"
|
29601
|
+
},
|
29602
|
+
"description": "The current index of the focused option."
|
29603
|
+
},
|
29579
29604
|
{
|
29580
|
-
"name": "
|
29581
|
-
"optional": true,
|
29605
|
+
"name": "optionsLength",
|
29582
29606
|
"type": {
|
29583
|
-
"text": "
|
29584
|
-
}
|
29585
|
-
|
29586
|
-
]
|
29587
|
-
},
|
29588
|
-
{
|
29589
|
-
"kind": "method",
|
29590
|
-
"name": "resetActivedescendant",
|
29591
|
-
"privacy": "private",
|
29592
|
-
"return": {
|
29593
|
-
"type": {
|
29594
|
-
"text": "void"
|
29607
|
+
"text": "number"
|
29608
|
+
},
|
29609
|
+
"description": "The total number of options."
|
29595
29610
|
}
|
29596
|
-
|
29611
|
+
],
|
29612
|
+
"description": "Calculates the new index based on the pressed navigation key.\nSupports ArrowUp, ArrowDown, PageUp, and PageDown keys for navigating options.\n- ArrowDown: Moves focus to the next option, if available.\n- ArrowUp: Moves focus to the previous option, if available.\n- PageDown: Moves focus 10 options down or to the last option.\n- PageUp: Moves focus 10 options up or to the first option."
|
29597
29613
|
},
|
29598
29614
|
{
|
29599
29615
|
"kind": "method",
|
@@ -29635,36 +29651,13 @@
|
|
29635
29651
|
},
|
29636
29652
|
{
|
29637
29653
|
"kind": "method",
|
29638
|
-
"name": "
|
29639
|
-
"privacy": "private",
|
29640
|
-
"return": {
|
29641
|
-
"type": {
|
29642
|
-
"text": ""
|
29643
|
-
}
|
29644
|
-
},
|
29645
|
-
"description": "Generates the native select element.\nThe native select element is not rendered directly and is not visible on the UI.\nIt's rendered only on the DOM for accessibility purposes.\nInstead, the overlay uses the native select element to generate the list of options."
|
29646
|
-
},
|
29647
|
-
{
|
29648
|
-
"kind": "method",
|
29649
|
-
"name": "getOptionsContentFromSlot",
|
29650
|
-
"privacy": "private",
|
29651
|
-
"return": {
|
29652
|
-
"type": {
|
29653
|
-
"text": ""
|
29654
|
-
}
|
29655
|
-
},
|
29656
|
-
"description": "This method maps over all valid options and constructs their corresponding\nHTML `<option>` elements. The attributes such as `value`, `label`, `disabled`,\nand `selected` are extracted from the respective option elements.\nIf the attribute is not present, a default value or fallback is used.\nThe content of each `<option>` is set to the text content of the option element."
|
29657
|
-
},
|
29658
|
-
{
|
29659
|
-
"kind": "method",
|
29660
|
-
"name": "getPopoverContent",
|
29654
|
+
"name": "handleOnChange",
|
29661
29655
|
"privacy": "private",
|
29662
29656
|
"return": {
|
29663
29657
|
"type": {
|
29664
|
-
"text": "
|
29658
|
+
"text": "void"
|
29665
29659
|
}
|
29666
|
-
}
|
29667
|
-
"description": "Generates the content for the popover associated with the select component.\nIf the component is disabled or readonly, returns `nothing`.\nOtherwise, returns a `TemplateResult` that renders a popover with various configurations\nsuch as visibility, interaction, and event handlers.\nThe popover acts as a dropdown list with options, allowing user interaction."
|
29660
|
+
}
|
29668
29661
|
},
|
29669
29662
|
{
|
29670
29663
|
"kind": "field",
|
@@ -30046,6 +30039,23 @@
|
|
30046
30039
|
"description": "height attribute of the select field. If set,\nthen a scroll bar will be visible when there more options than the adjusted height.",
|
30047
30040
|
"fieldName": "height"
|
30048
30041
|
},
|
30042
|
+
{
|
30043
|
+
"name": "placement",
|
30044
|
+
"type": {
|
30045
|
+
"text": "Placement"
|
30046
|
+
},
|
30047
|
+
"description": "The placeholder text which will be shown on the text if provided.",
|
30048
|
+
"fieldName": "placement"
|
30049
|
+
},
|
30050
|
+
{
|
30051
|
+
"name": "soft-disabled",
|
30052
|
+
"type": {
|
30053
|
+
"text": "boolean | undefined"
|
30054
|
+
},
|
30055
|
+
"description": "Indicates whether the select is soft disabled.\nWhen set to `true`, the select appears visually disabled but still allows\nfocus.",
|
30056
|
+
"default": "undefined",
|
30057
|
+
"fieldName": "softDisabled"
|
30058
|
+
},
|
30049
30059
|
{
|
30050
30060
|
"name": "name",
|
30051
30061
|
"type": {
|
@@ -30225,7 +30235,7 @@
|
|
30225
30235
|
"module": "/src/components/formfieldwrapper/formfieldwrapper.component"
|
30226
30236
|
},
|
30227
30237
|
"tagName": "mdc-select",
|
30228
|
-
"jsDoc": "/**\n * The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\n * It is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\n * The component ensures accessibility and usability while handling various use cases,\n * including long text truncation with tooltip support.\n *\n * To set a default option, use the `selected` attribute on the `mdc-option` element.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-popover\n * @dependency mdc-text\n * @dependency mdc-toggletip\n *\n * @tagname mdc-select\n *\n * @slot default - This is a default/unnamed slot for options and/or option group.\n *\n * @event click - (React: onClick) This event is dispatched when the select is clicked.\n * @event change - (React: onChange) This event is dispatched when the select is changed.\n * @event input - (React: onInput) This event is dispatched when the select is changed.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the select.\n * @event focus - (React: onFocus) This event is dispatched when the select receives focus.\n */",
|
30238
|
+
"jsDoc": "/**\n * The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\n * It is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\n * The component ensures accessibility and usability while handling various use cases,\n * including long text truncation with tooltip support.\n *\n * To set a default option, use the `selected` attribute on the `mdc-option` element.\n *\n * **Note:** Make sure to add `mdc-selectlistbox` as a child of `mdc-select` and wrap options/optgroup in it to ensure proper accessibility functionality. Read more about it in SelectListBox documentation.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-popover\n * @dependency mdc-text\n * @dependency mdc-toggletip\n *\n * @tagname mdc-select\n *\n * @slot default - This is a default/unnamed slot for options and/or option group.\n *\n * @event click - (React: onClick) This event is dispatched when the select is clicked.\n * @event change - (React: onChange) This event is dispatched when the select is changed.\n * @event input - (React: onInput) This event is dispatched when the select is changed.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the select.\n * @event focus - (React: onFocus) This event is dispatched when the select receives focus.\n */",
|
30229
30239
|
"customElement": true
|
30230
30240
|
}
|
30231
30241
|
],
|
@@ -30240,6 +30250,46 @@
|
|
30240
30250
|
}
|
30241
30251
|
]
|
30242
30252
|
},
|
30253
|
+
{
|
30254
|
+
"kind": "javascript-module",
|
30255
|
+
"path": "components/selectlistbox/selectlistbox.component.js",
|
30256
|
+
"declarations": [
|
30257
|
+
{
|
30258
|
+
"kind": "class",
|
30259
|
+
"description": "Selectlistbox component as Light DOM component to act as a simple wrapper\nfor mdc-option components to ensure accessibility and proper role assignment.\n\nOnce [ariaOwnsElements](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/ariaOwnsElements) is supported in browsers, this component can be removed\nand mdc-option can be used directly in the select component with a listbox in a different\nshadow root and aria-owns attribute to connect them.",
|
30260
|
+
"name": "Selectlistbox",
|
30261
|
+
"slots": [
|
30262
|
+
{
|
30263
|
+
"description": "This is a default/unnamed slot, which can be used to insert mdc-option components.",
|
30264
|
+
"name": "default"
|
30265
|
+
}
|
30266
|
+
],
|
30267
|
+
"members": [
|
30268
|
+
{
|
30269
|
+
"kind": "field",
|
30270
|
+
"name": "role"
|
30271
|
+
}
|
30272
|
+
],
|
30273
|
+
"superclass": {
|
30274
|
+
"name": "Component",
|
30275
|
+
"module": "/src/models"
|
30276
|
+
},
|
30277
|
+
"tagName": "mdc-selectlistbox",
|
30278
|
+
"jsDoc": "/**\n * Selectlistbox component as Light DOM component to act as a simple wrapper\n * for mdc-option components to ensure accessibility and proper role assignment.\n *\n * Once [ariaOwnsElements](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/ariaOwnsElements) is supported in browsers, this component can be removed\n * and mdc-option can be used directly in the select component with a listbox in a different\n * shadow root and aria-owns attribute to connect them.\n *\n * @tagname mdc-selectlistbox\n *\n * @slot default - This is a default/unnamed slot, which can be used to insert mdc-option components.\n */",
|
30279
|
+
"customElement": true
|
30280
|
+
}
|
30281
|
+
],
|
30282
|
+
"exports": [
|
30283
|
+
{
|
30284
|
+
"kind": "js",
|
30285
|
+
"name": "default",
|
30286
|
+
"declaration": {
|
30287
|
+
"name": "Selectlistbox",
|
30288
|
+
"module": "components/selectlistbox/selectlistbox.component.js"
|
30289
|
+
}
|
30290
|
+
}
|
30291
|
+
]
|
30292
|
+
},
|
30243
30293
|
{
|
30244
30294
|
"kind": "javascript-module",
|
30245
30295
|
"path": "components/sidenavigation/sidenavigation.component.js",
|
@@ -30796,44 +30846,218 @@
|
|
30796
30846
|
"name": "StaticRadio",
|
30797
30847
|
"cssProperties": [
|
30798
30848
|
{
|
30799
|
-
"description": "size of the inner circle",
|
30800
|
-
"name": "--mdc-staticradio-inner-circle-size"
|
30849
|
+
"description": "size of the inner circle",
|
30850
|
+
"name": "--mdc-staticradio-inner-circle-size"
|
30851
|
+
},
|
30852
|
+
{
|
30853
|
+
"description": "color of the label when disabled",
|
30854
|
+
"name": "--mdc-staticradio-text-disabled-color"
|
30855
|
+
},
|
30856
|
+
{
|
30857
|
+
"description": "color of the radio button border when normal",
|
30858
|
+
"name": "--mdc-staticradio-normal-border-color"
|
30859
|
+
},
|
30860
|
+
{
|
30861
|
+
"description": "color of the radio button border when disabled",
|
30862
|
+
"name": "--mdc-staticradio-disabled-border-color"
|
30863
|
+
},
|
30864
|
+
{
|
30865
|
+
"description": "background color of the inner circle when normal",
|
30866
|
+
"name": "--mdc-staticradio-inner-circle-normal-background"
|
30867
|
+
},
|
30868
|
+
{
|
30869
|
+
"description": "background color of the inner circle when disabled",
|
30870
|
+
"name": "--mdc-staticradio-inner-circle-disabled-background"
|
30871
|
+
},
|
30872
|
+
{
|
30873
|
+
"description": "color of the radio button when inactive",
|
30874
|
+
"name": "--mdc-staticradio-control-inactive-color"
|
30875
|
+
},
|
30876
|
+
{
|
30877
|
+
"description": "background color of the radio button when inactive and disabled",
|
30878
|
+
"name": "--mdc-staticradio-control-inactive-disabled-background"
|
30879
|
+
},
|
30880
|
+
{
|
30881
|
+
"description": "color of the radio button when active",
|
30882
|
+
"name": "--mdc-staticradio-control-active-color"
|
30883
|
+
},
|
30884
|
+
{
|
30885
|
+
"description": "background color of the radio button when active and disabled",
|
30886
|
+
"name": "--mdc-staticradio-control-active-disabled-background"
|
30887
|
+
}
|
30888
|
+
],
|
30889
|
+
"members": [
|
30890
|
+
{
|
30891
|
+
"kind": "field",
|
30892
|
+
"name": "checked",
|
30893
|
+
"type": {
|
30894
|
+
"text": "boolean"
|
30895
|
+
},
|
30896
|
+
"default": "false",
|
30897
|
+
"description": "Determines whether the radio is selected or unselected.",
|
30898
|
+
"attribute": "checked",
|
30899
|
+
"reflects": true
|
30900
|
+
},
|
30901
|
+
{
|
30902
|
+
"kind": "field",
|
30903
|
+
"name": "readonly",
|
30904
|
+
"type": {
|
30905
|
+
"text": "boolean"
|
30906
|
+
},
|
30907
|
+
"default": "false",
|
30908
|
+
"description": "Determines whether the radio is read-only.",
|
30909
|
+
"attribute": "readonly",
|
30910
|
+
"reflects": true
|
30911
|
+
},
|
30912
|
+
{
|
30913
|
+
"kind": "field",
|
30914
|
+
"name": "disabled",
|
30915
|
+
"type": {
|
30916
|
+
"text": "boolean | undefined"
|
30917
|
+
},
|
30918
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
30919
|
+
"default": "undefined",
|
30920
|
+
"attribute": "disabled",
|
30921
|
+
"reflects": true,
|
30922
|
+
"inheritedFrom": {
|
30923
|
+
"name": "DisabledMixin",
|
30924
|
+
"module": "utils/mixins/DisabledMixin.js"
|
30925
|
+
}
|
30926
|
+
}
|
30927
|
+
],
|
30928
|
+
"attributes": [
|
30929
|
+
{
|
30930
|
+
"name": "checked",
|
30931
|
+
"type": {
|
30932
|
+
"text": "boolean"
|
30933
|
+
},
|
30934
|
+
"default": "false",
|
30935
|
+
"description": "Determines whether the radio is selected or unselected.",
|
30936
|
+
"fieldName": "checked"
|
30937
|
+
},
|
30938
|
+
{
|
30939
|
+
"name": "readonly",
|
30940
|
+
"type": {
|
30941
|
+
"text": "boolean"
|
30942
|
+
},
|
30943
|
+
"default": "false",
|
30944
|
+
"description": "Determines whether the radio is read-only.",
|
30945
|
+
"fieldName": "readonly"
|
30946
|
+
},
|
30947
|
+
{
|
30948
|
+
"name": "disabled",
|
30949
|
+
"type": {
|
30950
|
+
"text": "boolean | undefined"
|
30951
|
+
},
|
30952
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
30953
|
+
"default": "undefined",
|
30954
|
+
"fieldName": "disabled",
|
30955
|
+
"inheritedFrom": {
|
30956
|
+
"name": "DisabledMixin",
|
30957
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
30958
|
+
}
|
30959
|
+
}
|
30960
|
+
],
|
30961
|
+
"mixins": [
|
30962
|
+
{
|
30963
|
+
"name": "DisabledMixin",
|
30964
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
30965
|
+
}
|
30966
|
+
],
|
30967
|
+
"superclass": {
|
30968
|
+
"name": "Component",
|
30969
|
+
"module": "/src/models"
|
30970
|
+
},
|
30971
|
+
"tagName": "mdc-staticradio",
|
30972
|
+
"jsDoc": "/**\n * This is a decorative component that is styled to look as a radio.\n * It has 2 properties - checked and disabled.\n *\n * We are using the same styling that has been created for the `mdc-radio` component.\n *\n * @tagname mdc-staticradio\n *\n * @cssproperty --mdc-staticradio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-staticradio-text-disabled-color - color of the label when disabled\n * @cssproperty --mdc-staticradio-normal-border-color - color of the radio button border when normal\n * @cssproperty --mdc-staticradio-disabled-border-color - color of the radio button border when disabled\n * @cssproperty --mdc-staticradio-inner-circle-normal-background - background color of the inner circle when normal\n * @cssproperty --mdc-staticradio-inner-circle-disabled-background - background color of the inner circle when disabled\n * @cssproperty --mdc-staticradio-control-inactive-color - color of the radio button when inactive\n * @cssproperty --mdc-staticradio-control-inactive-disabled-background - background color of the radio button when\n * inactive and disabled\n * @cssproperty --mdc-staticradio-control-active-color - color of the radio button when active\n * @cssproperty --mdc-staticradio-control-active-disabled-background - background color of the radio button\n * when active and disabled\n */",
|
30973
|
+
"customElement": true
|
30974
|
+
}
|
30975
|
+
],
|
30976
|
+
"exports": [
|
30977
|
+
{
|
30978
|
+
"kind": "js",
|
30979
|
+
"name": "default",
|
30980
|
+
"declaration": {
|
30981
|
+
"name": "StaticRadio",
|
30982
|
+
"module": "components/staticradio/staticradio.component.js"
|
30983
|
+
}
|
30984
|
+
}
|
30985
|
+
]
|
30986
|
+
},
|
30987
|
+
{
|
30988
|
+
"kind": "javascript-module",
|
30989
|
+
"path": "components/statictoggle/statictoggle.component.js",
|
30990
|
+
"declarations": [
|
30991
|
+
{
|
30992
|
+
"kind": "class",
|
30993
|
+
"description": "This is a decorative component that is styled to look as a toggle. <br/>\nIt has 3 properties - checked, size and disabled. <br/>\nWe are using the same styling that has been created for the `mdc-toggle` component.",
|
30994
|
+
"name": "StaticToggle",
|
30995
|
+
"cssProperties": [
|
30996
|
+
{
|
30997
|
+
"description": "Width of the toggle",
|
30998
|
+
"name": "--mdc-statictoggle-width"
|
30999
|
+
},
|
31000
|
+
{
|
31001
|
+
"description": "Height of the toggle",
|
31002
|
+
"name": "--mdc-statictoggle-height"
|
31003
|
+
},
|
31004
|
+
{
|
31005
|
+
"description": "Width of the toggle when it's size is compact",
|
31006
|
+
"name": "--mdc-statictoggle-width-compact"
|
31007
|
+
},
|
31008
|
+
{
|
31009
|
+
"description": "Height of the toggle when it's size is compact",
|
31010
|
+
"name": "--mdc-statictoggle-height-compact"
|
31011
|
+
},
|
31012
|
+
{
|
31013
|
+
"description": "Border radius of the toggle",
|
31014
|
+
"name": "--mdc-statictoggle-border-radius"
|
30801
31015
|
},
|
30802
31016
|
{
|
30803
|
-
"description": "
|
30804
|
-
"name": "--mdc-
|
31017
|
+
"description": "Border radius of the toggle when it's size is compact",
|
31018
|
+
"name": "--mdc-statictoggle-border-radius-compact"
|
30805
31019
|
},
|
30806
31020
|
{
|
30807
|
-
"description": "
|
30808
|
-
"name": "--mdc-
|
31021
|
+
"description": "Border of the toggle",
|
31022
|
+
"name": "--mdc-statictoggle-border"
|
30809
31023
|
},
|
30810
31024
|
{
|
30811
|
-
"description": "color of the
|
30812
|
-
"name": "--mdc-
|
31025
|
+
"description": "Background color of the inactive toggle in rest state",
|
31026
|
+
"name": "--mdc-statictoggle-inactive-rest-color"
|
30813
31027
|
},
|
30814
31028
|
{
|
30815
|
-
"description": "
|
30816
|
-
"name": "--mdc-
|
31029
|
+
"description": "Background color of the inactive toggle in disabled state",
|
31030
|
+
"name": "--mdc-statictoggle-inactive-disabled-color"
|
30817
31031
|
},
|
30818
31032
|
{
|
30819
|
-
"description": "
|
30820
|
-
"name": "--mdc-
|
31033
|
+
"description": "Background color of the active toggle in rest state",
|
31034
|
+
"name": "--mdc-statictoggle-active-rest-color"
|
30821
31035
|
},
|
30822
31036
|
{
|
30823
|
-
"description": "color of the
|
30824
|
-
"name": "--mdc-
|
31037
|
+
"description": "Background color of the active toggle in disabled state",
|
31038
|
+
"name": "--mdc-statictoggle-active-disabled-color"
|
30825
31039
|
},
|
30826
31040
|
{
|
30827
|
-
"description": "
|
30828
|
-
"name": "--mdc-
|
31041
|
+
"description": "Color of the icon in normal state",
|
31042
|
+
"name": "--mdc-statictoggle-icon-color-normal"
|
30829
31043
|
},
|
30830
31044
|
{
|
30831
|
-
"description": "
|
30832
|
-
"name": "--mdc-
|
31045
|
+
"description": "Color of the icon in disabled state",
|
31046
|
+
"name": "--mdc-statictoggle-icon-color-disabled"
|
30833
31047
|
},
|
30834
31048
|
{
|
30835
|
-
"description": "
|
30836
|
-
"name": "--mdc-
|
31049
|
+
"description": "Background color of the icon in normal state",
|
31050
|
+
"name": "--mdc-statictoggle-icon-background-color-normal"
|
31051
|
+
},
|
31052
|
+
{
|
31053
|
+
"description": "Background color of the icon in disabled state",
|
31054
|
+
"name": "--mdc-statictoggle-icon-background-color-disabled"
|
31055
|
+
}
|
31056
|
+
],
|
31057
|
+
"slots": [
|
31058
|
+
{
|
31059
|
+
"description": "This is a default/unnamed slot",
|
31060
|
+
"name": "default"
|
30837
31061
|
}
|
30838
31062
|
],
|
30839
31063
|
"members": [
|
@@ -30844,19 +31068,19 @@
|
|
30844
31068
|
"text": "boolean"
|
30845
31069
|
},
|
30846
31070
|
"default": "false",
|
30847
|
-
"description": "Determines whether the
|
31071
|
+
"description": "Determines whether the toggle is active or inactive.",
|
30848
31072
|
"attribute": "checked",
|
30849
31073
|
"reflects": true
|
30850
31074
|
},
|
30851
31075
|
{
|
30852
31076
|
"kind": "field",
|
30853
|
-
"name": "
|
31077
|
+
"name": "size",
|
30854
31078
|
"type": {
|
30855
|
-
"text": "
|
31079
|
+
"text": "ToggleSize"
|
30856
31080
|
},
|
30857
|
-
"
|
30858
|
-
"
|
30859
|
-
"attribute": "
|
31081
|
+
"description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
|
31082
|
+
"default": "default",
|
31083
|
+
"attribute": "size",
|
30860
31084
|
"reflects": true
|
30861
31085
|
},
|
30862
31086
|
{
|
@@ -30882,17 +31106,17 @@
|
|
30882
31106
|
"text": "boolean"
|
30883
31107
|
},
|
30884
31108
|
"default": "false",
|
30885
|
-
"description": "Determines whether the
|
31109
|
+
"description": "Determines whether the toggle is active or inactive.",
|
30886
31110
|
"fieldName": "checked"
|
30887
31111
|
},
|
30888
31112
|
{
|
30889
|
-
"name": "
|
31113
|
+
"name": "size",
|
30890
31114
|
"type": {
|
30891
|
-
"text": "
|
31115
|
+
"text": "ToggleSize"
|
30892
31116
|
},
|
30893
|
-
"
|
30894
|
-
"
|
30895
|
-
"fieldName": "
|
31117
|
+
"description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
|
31118
|
+
"default": "default",
|
31119
|
+
"fieldName": "size"
|
30896
31120
|
},
|
30897
31121
|
{
|
30898
31122
|
"name": "disabled",
|
@@ -30918,8 +31142,8 @@
|
|
30918
31142
|
"name": "Component",
|
30919
31143
|
"module": "/src/models"
|
30920
31144
|
},
|
30921
|
-
"tagName": "mdc-
|
30922
|
-
"jsDoc": "/**\n * This is a decorative component that is styled to look as a
|
31145
|
+
"tagName": "mdc-statictoggle",
|
31146
|
+
"jsDoc": "/**\n * This is a decorative component that is styled to look as a toggle. <br/>\n * It has 3 properties - checked, size and disabled. <br/>\n * We are using the same styling that has been created for the `mdc-toggle` component.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-statictoggle\n *\n * @slot default - This is a default/unnamed slot\n *\n * @cssproperty --mdc-statictoggle-width - Width of the toggle\n * @cssproperty --mdc-statictoggle-height - Height of the toggle\n * @cssproperty --mdc-statictoggle-width-compact - Width of the toggle when it's size is compact\n * @cssproperty --mdc-statictoggle-height-compact - Height of the toggle when it's size is compact\n * @cssproperty --mdc-statictoggle-border-radius - Border radius of the toggle\n * @cssproperty --mdc-statictoggle-border-radius-compact - Border radius of the toggle when it's size is compact\n * @cssproperty --mdc-statictoggle-border - Border of the toggle\n * @cssproperty --mdc-statictoggle-inactive-rest-color - Background color of the inactive toggle in rest state\n * @cssproperty --mdc-statictoggle-inactive-disabled-color - Background color of the inactive toggle in disabled state\n * @cssproperty --mdc-statictoggle-active-rest-color - Background color of the active toggle in rest state\n * @cssproperty --mdc-statictoggle-active-disabled-color - Background color of the active toggle in disabled state\n * @cssproperty --mdc-statictoggle-icon-color-normal - Color of the icon in normal state\n * @cssproperty --mdc-statictoggle-icon-color-disabled - Color of the icon in disabled state\n * @cssproperty --mdc-statictoggle-icon-background-color-normal - Background color of the icon in normal state\n * @cssproperty --mdc-statictoggle-icon-background-color-disabled - Background color of the icon in disabled state\n */",
|
30923
31147
|
"customElement": true
|
30924
31148
|
}
|
30925
31149
|
],
|
@@ -30928,8 +31152,8 @@
|
|
30928
31152
|
"kind": "js",
|
30929
31153
|
"name": "default",
|
30930
31154
|
"declaration": {
|
30931
|
-
"name": "
|
30932
|
-
"module": "components/
|
31155
|
+
"name": "StaticToggle",
|
31156
|
+
"module": "components/statictoggle/statictoggle.component.js"
|
30933
31157
|
}
|
30934
31158
|
}
|
30935
31159
|
]
|
@@ -31743,180 +31967,6 @@
|
|
31743
31967
|
}
|
31744
31968
|
]
|
31745
31969
|
},
|
31746
|
-
{
|
31747
|
-
"kind": "javascript-module",
|
31748
|
-
"path": "components/statictoggle/statictoggle.component.js",
|
31749
|
-
"declarations": [
|
31750
|
-
{
|
31751
|
-
"kind": "class",
|
31752
|
-
"description": "This is a decorative component that is styled to look as a toggle. <br/>\nIt has 3 properties - checked, size and disabled. <br/>\nWe are using the same styling that has been created for the `mdc-toggle` component.",
|
31753
|
-
"name": "StaticToggle",
|
31754
|
-
"cssProperties": [
|
31755
|
-
{
|
31756
|
-
"description": "Width of the toggle",
|
31757
|
-
"name": "--mdc-statictoggle-width"
|
31758
|
-
},
|
31759
|
-
{
|
31760
|
-
"description": "Height of the toggle",
|
31761
|
-
"name": "--mdc-statictoggle-height"
|
31762
|
-
},
|
31763
|
-
{
|
31764
|
-
"description": "Width of the toggle when it's size is compact",
|
31765
|
-
"name": "--mdc-statictoggle-width-compact"
|
31766
|
-
},
|
31767
|
-
{
|
31768
|
-
"description": "Height of the toggle when it's size is compact",
|
31769
|
-
"name": "--mdc-statictoggle-height-compact"
|
31770
|
-
},
|
31771
|
-
{
|
31772
|
-
"description": "Border radius of the toggle",
|
31773
|
-
"name": "--mdc-statictoggle-border-radius"
|
31774
|
-
},
|
31775
|
-
{
|
31776
|
-
"description": "Border radius of the toggle when it's size is compact",
|
31777
|
-
"name": "--mdc-statictoggle-border-radius-compact"
|
31778
|
-
},
|
31779
|
-
{
|
31780
|
-
"description": "Border of the toggle",
|
31781
|
-
"name": "--mdc-statictoggle-border"
|
31782
|
-
},
|
31783
|
-
{
|
31784
|
-
"description": "Background color of the inactive toggle in rest state",
|
31785
|
-
"name": "--mdc-statictoggle-inactive-rest-color"
|
31786
|
-
},
|
31787
|
-
{
|
31788
|
-
"description": "Background color of the inactive toggle in disabled state",
|
31789
|
-
"name": "--mdc-statictoggle-inactive-disabled-color"
|
31790
|
-
},
|
31791
|
-
{
|
31792
|
-
"description": "Background color of the active toggle in rest state",
|
31793
|
-
"name": "--mdc-statictoggle-active-rest-color"
|
31794
|
-
},
|
31795
|
-
{
|
31796
|
-
"description": "Background color of the active toggle in disabled state",
|
31797
|
-
"name": "--mdc-statictoggle-active-disabled-color"
|
31798
|
-
},
|
31799
|
-
{
|
31800
|
-
"description": "Color of the icon in normal state",
|
31801
|
-
"name": "--mdc-statictoggle-icon-color-normal"
|
31802
|
-
},
|
31803
|
-
{
|
31804
|
-
"description": "Color of the icon in disabled state",
|
31805
|
-
"name": "--mdc-statictoggle-icon-color-disabled"
|
31806
|
-
},
|
31807
|
-
{
|
31808
|
-
"description": "Background color of the icon in normal state",
|
31809
|
-
"name": "--mdc-statictoggle-icon-background-color-normal"
|
31810
|
-
},
|
31811
|
-
{
|
31812
|
-
"description": "Background color of the icon in disabled state",
|
31813
|
-
"name": "--mdc-statictoggle-icon-background-color-disabled"
|
31814
|
-
}
|
31815
|
-
],
|
31816
|
-
"slots": [
|
31817
|
-
{
|
31818
|
-
"description": "This is a default/unnamed slot",
|
31819
|
-
"name": "default"
|
31820
|
-
}
|
31821
|
-
],
|
31822
|
-
"members": [
|
31823
|
-
{
|
31824
|
-
"kind": "field",
|
31825
|
-
"name": "checked",
|
31826
|
-
"type": {
|
31827
|
-
"text": "boolean"
|
31828
|
-
},
|
31829
|
-
"default": "false",
|
31830
|
-
"description": "Determines whether the toggle is active or inactive.",
|
31831
|
-
"attribute": "checked",
|
31832
|
-
"reflects": true
|
31833
|
-
},
|
31834
|
-
{
|
31835
|
-
"kind": "field",
|
31836
|
-
"name": "size",
|
31837
|
-
"type": {
|
31838
|
-
"text": "ToggleSize"
|
31839
|
-
},
|
31840
|
-
"description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
|
31841
|
-
"default": "default",
|
31842
|
-
"attribute": "size",
|
31843
|
-
"reflects": true
|
31844
|
-
},
|
31845
|
-
{
|
31846
|
-
"kind": "field",
|
31847
|
-
"name": "disabled",
|
31848
|
-
"type": {
|
31849
|
-
"text": "boolean | undefined"
|
31850
|
-
},
|
31851
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
31852
|
-
"default": "undefined",
|
31853
|
-
"attribute": "disabled",
|
31854
|
-
"reflects": true,
|
31855
|
-
"inheritedFrom": {
|
31856
|
-
"name": "DisabledMixin",
|
31857
|
-
"module": "utils/mixins/DisabledMixin.js"
|
31858
|
-
}
|
31859
|
-
}
|
31860
|
-
],
|
31861
|
-
"attributes": [
|
31862
|
-
{
|
31863
|
-
"name": "checked",
|
31864
|
-
"type": {
|
31865
|
-
"text": "boolean"
|
31866
|
-
},
|
31867
|
-
"default": "false",
|
31868
|
-
"description": "Determines whether the toggle is active or inactive.",
|
31869
|
-
"fieldName": "checked"
|
31870
|
-
},
|
31871
|
-
{
|
31872
|
-
"name": "size",
|
31873
|
-
"type": {
|
31874
|
-
"text": "ToggleSize"
|
31875
|
-
},
|
31876
|
-
"description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
|
31877
|
-
"default": "default",
|
31878
|
-
"fieldName": "size"
|
31879
|
-
},
|
31880
|
-
{
|
31881
|
-
"name": "disabled",
|
31882
|
-
"type": {
|
31883
|
-
"text": "boolean | undefined"
|
31884
|
-
},
|
31885
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
31886
|
-
"default": "undefined",
|
31887
|
-
"fieldName": "disabled",
|
31888
|
-
"inheritedFrom": {
|
31889
|
-
"name": "DisabledMixin",
|
31890
|
-
"module": "src/utils/mixins/DisabledMixin.ts"
|
31891
|
-
}
|
31892
|
-
}
|
31893
|
-
],
|
31894
|
-
"mixins": [
|
31895
|
-
{
|
31896
|
-
"name": "DisabledMixin",
|
31897
|
-
"module": "/src/utils/mixins/DisabledMixin"
|
31898
|
-
}
|
31899
|
-
],
|
31900
|
-
"superclass": {
|
31901
|
-
"name": "Component",
|
31902
|
-
"module": "/src/models"
|
31903
|
-
},
|
31904
|
-
"tagName": "mdc-statictoggle",
|
31905
|
-
"jsDoc": "/**\n * This is a decorative component that is styled to look as a toggle. <br/>\n * It has 3 properties - checked, size and disabled. <br/>\n * We are using the same styling that has been created for the `mdc-toggle` component.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-statictoggle\n *\n * @slot default - This is a default/unnamed slot\n *\n * @cssproperty --mdc-statictoggle-width - Width of the toggle\n * @cssproperty --mdc-statictoggle-height - Height of the toggle\n * @cssproperty --mdc-statictoggle-width-compact - Width of the toggle when it's size is compact\n * @cssproperty --mdc-statictoggle-height-compact - Height of the toggle when it's size is compact\n * @cssproperty --mdc-statictoggle-border-radius - Border radius of the toggle\n * @cssproperty --mdc-statictoggle-border-radius-compact - Border radius of the toggle when it's size is compact\n * @cssproperty --mdc-statictoggle-border - Border of the toggle\n * @cssproperty --mdc-statictoggle-inactive-rest-color - Background color of the inactive toggle in rest state\n * @cssproperty --mdc-statictoggle-inactive-disabled-color - Background color of the inactive toggle in disabled state\n * @cssproperty --mdc-statictoggle-active-rest-color - Background color of the active toggle in rest state\n * @cssproperty --mdc-statictoggle-active-disabled-color - Background color of the active toggle in disabled state\n * @cssproperty --mdc-statictoggle-icon-color-normal - Color of the icon in normal state\n * @cssproperty --mdc-statictoggle-icon-color-disabled - Color of the icon in disabled state\n * @cssproperty --mdc-statictoggle-icon-background-color-normal - Background color of the icon in normal state\n * @cssproperty --mdc-statictoggle-icon-background-color-disabled - Background color of the icon in disabled state\n */",
|
31906
|
-
"customElement": true
|
31907
|
-
}
|
31908
|
-
],
|
31909
|
-
"exports": [
|
31910
|
-
{
|
31911
|
-
"kind": "js",
|
31912
|
-
"name": "default",
|
31913
|
-
"declaration": {
|
31914
|
-
"name": "StaticToggle",
|
31915
|
-
"module": "components/statictoggle/statictoggle.component.js"
|
31916
|
-
}
|
31917
|
-
}
|
31918
|
-
]
|
31919
|
-
},
|
31920
31970
|
{
|
31921
31971
|
"kind": "javascript-module",
|
31922
31972
|
"path": "components/tablist/tablist.component.js",
|