@momentum-design/components 0.61.0 → 0.61.1
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 +55 -46
- package/dist/browser/index.js.map +2 -2
- package/dist/components/button/button.component.d.ts +8 -0
- package/dist/components/button/button.component.js +12 -0
- package/dist/components/button/button.constants.d.ts +1 -0
- package/dist/components/button/button.constants.js +1 -0
- package/dist/components/button/button.styles.js +9 -0
- package/dist/components/buttonsimple/buttonsimple.component.js +6 -4
- package/dist/custom-elements.json +485 -458
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.js +3 -3
- package/package.json +1 -1
@@ -103,6 +103,7 @@
|
|
103
103
|
"description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
|
104
104
|
"default": "undefined",
|
105
105
|
"attribute": "soft-disabled",
|
106
|
+
"reflects": true,
|
106
107
|
"inheritedFrom": {
|
107
108
|
"name": "Buttonsimple",
|
108
109
|
"module": "components/buttonsimple/buttonsimple.component.js"
|
@@ -990,6 +991,7 @@
|
|
990
991
|
"description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
|
991
992
|
"default": "undefined",
|
992
993
|
"attribute": "soft-disabled",
|
994
|
+
"reflects": true,
|
993
995
|
"inheritedFrom": {
|
994
996
|
"name": "Buttonsimple",
|
995
997
|
"module": "components/buttonsimple/buttonsimple.component.js"
|
@@ -1963,6 +1965,17 @@
|
|
1963
1965
|
"module": "components/buttonsimple/buttonsimple.component.js"
|
1964
1966
|
}
|
1965
1967
|
},
|
1968
|
+
{
|
1969
|
+
"kind": "field",
|
1970
|
+
"name": "inverted",
|
1971
|
+
"type": {
|
1972
|
+
"text": "boolean"
|
1973
|
+
},
|
1974
|
+
"description": "The button color can be inverted by setting the inverted attribute to true.\n\nOnly applies when variant is set to `primary`, color is set to `default`\nand button is not `active`.",
|
1975
|
+
"default": "false",
|
1976
|
+
"attribute": "inverted",
|
1977
|
+
"reflects": true
|
1978
|
+
},
|
1966
1979
|
{
|
1967
1980
|
"kind": "field",
|
1968
1981
|
"name": "role",
|
@@ -2173,6 +2186,7 @@
|
|
2173
2186
|
"description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
|
2174
2187
|
"default": "undefined",
|
2175
2188
|
"attribute": "soft-disabled",
|
2189
|
+
"reflects": true,
|
2176
2190
|
"inheritedFrom": {
|
2177
2191
|
"name": "Buttonsimple",
|
2178
2192
|
"module": "components/buttonsimple/buttonsimple.component.js"
|
@@ -2369,6 +2383,15 @@
|
|
2369
2383
|
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
2370
2384
|
}
|
2371
2385
|
},
|
2386
|
+
{
|
2387
|
+
"name": "inverted",
|
2388
|
+
"type": {
|
2389
|
+
"text": "boolean"
|
2390
|
+
},
|
2391
|
+
"description": "The button color can be inverted by setting the inverted attribute to true.\n\nOnly applies when variant is set to `primary`, color is set to `default`\nand button is not `active`.",
|
2392
|
+
"default": "false",
|
2393
|
+
"fieldName": "inverted"
|
2394
|
+
},
|
2372
2395
|
{
|
2373
2396
|
"name": "role",
|
2374
2397
|
"description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
|
@@ -3213,7 +3236,8 @@
|
|
3213
3236
|
},
|
3214
3237
|
"description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
|
3215
3238
|
"default": "undefined",
|
3216
|
-
"attribute": "soft-disabled"
|
3239
|
+
"attribute": "soft-disabled",
|
3240
|
+
"reflects": true
|
3217
3241
|
},
|
3218
3242
|
{
|
3219
3243
|
"kind": "field",
|
@@ -4281,6 +4305,7 @@
|
|
4281
4305
|
"description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
|
4282
4306
|
"default": "undefined",
|
4283
4307
|
"attribute": "soft-disabled",
|
4308
|
+
"reflects": true,
|
4284
4309
|
"inheritedFrom": {
|
4285
4310
|
"name": "Buttonsimple",
|
4286
4311
|
"module": "components/buttonsimple/buttonsimple.component.js"
|
@@ -6701,6 +6726,7 @@
|
|
6701
6726
|
"description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
|
6702
6727
|
"default": "undefined",
|
6703
6728
|
"attribute": "soft-disabled",
|
6729
|
+
"reflects": true,
|
6704
6730
|
"inheritedFrom": {
|
6705
6731
|
"name": "Buttonsimple",
|
6706
6732
|
"module": "components/buttonsimple/buttonsimple.component.js"
|
@@ -7135,229 +7161,6 @@
|
|
7135
7161
|
}
|
7136
7162
|
]
|
7137
7163
|
},
|
7138
|
-
{
|
7139
|
-
"kind": "javascript-module",
|
7140
|
-
"path": "components/formfieldwrapper/formfieldwrapper.component.js",
|
7141
|
-
"declarations": [
|
7142
|
-
{
|
7143
|
-
"kind": "class",
|
7144
|
-
"description": "formfieldwrapper is a component that contains the label and helper/validation text\n that can be configured in various ways to suit different use cases (most of the input related components).\nIt is used as an internal component and is not intended to be used directly by consumers.",
|
7145
|
-
"name": "FormfieldWrapper",
|
7146
|
-
"slots": [
|
7147
|
-
{
|
7148
|
-
"description": "slot to add the label info icon",
|
7149
|
-
"name": "label-info"
|
7150
|
-
}
|
7151
|
-
],
|
7152
|
-
"members": [
|
7153
|
-
{
|
7154
|
-
"kind": "field",
|
7155
|
-
"name": "label",
|
7156
|
-
"type": {
|
7157
|
-
"text": "string | undefined"
|
7158
|
-
},
|
7159
|
-
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
7160
|
-
"attribute": "label",
|
7161
|
-
"reflects": true
|
7162
|
-
},
|
7163
|
-
{
|
7164
|
-
"kind": "field",
|
7165
|
-
"name": "requiredLabel",
|
7166
|
-
"type": {
|
7167
|
-
"text": "string | undefined"
|
7168
|
-
},
|
7169
|
-
"description": "The required label of the input field.\nWhen an appropriate string value is set,\nthe input field is marked as required and the label is appended with this text.",
|
7170
|
-
"attribute": "required-label",
|
7171
|
-
"reflects": true
|
7172
|
-
},
|
7173
|
-
{
|
7174
|
-
"kind": "field",
|
7175
|
-
"name": "id",
|
7176
|
-
"type": {
|
7177
|
-
"text": "string"
|
7178
|
-
},
|
7179
|
-
"default": "''",
|
7180
|
-
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
7181
|
-
"attribute": "id"
|
7182
|
-
},
|
7183
|
-
{
|
7184
|
-
"kind": "field",
|
7185
|
-
"name": "helpTextType",
|
7186
|
-
"type": {
|
7187
|
-
"text": "ValidationType"
|
7188
|
-
},
|
7189
|
-
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
7190
|
-
"attribute": "help-text-type",
|
7191
|
-
"reflects": true
|
7192
|
-
},
|
7193
|
-
{
|
7194
|
-
"kind": "field",
|
7195
|
-
"name": "helpText",
|
7196
|
-
"type": {
|
7197
|
-
"text": "string | undefined"
|
7198
|
-
},
|
7199
|
-
"description": "The help text that is displayed below the input field.",
|
7200
|
-
"attribute": "help-text",
|
7201
|
-
"reflects": true
|
7202
|
-
},
|
7203
|
-
{
|
7204
|
-
"kind": "method",
|
7205
|
-
"name": "renderLabelElement",
|
7206
|
-
"privacy": "protected",
|
7207
|
-
"description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
|
7208
|
-
"return": {
|
7209
|
-
"type": {
|
7210
|
-
"text": ""
|
7211
|
-
}
|
7212
|
-
}
|
7213
|
-
},
|
7214
|
-
{
|
7215
|
-
"kind": "method",
|
7216
|
-
"name": "renderRequiredLabel",
|
7217
|
-
"privacy": "protected"
|
7218
|
-
},
|
7219
|
-
{
|
7220
|
-
"kind": "method",
|
7221
|
-
"name": "renderHelpTextIcon",
|
7222
|
-
"privacy": "protected",
|
7223
|
-
"description": "creates the helpertext icon based on the helpTextType for validation.\nIf the helpTextType is not set, it defaults to 'default' and it doesn't display any icon.",
|
7224
|
-
"return": {
|
7225
|
-
"type": {
|
7226
|
-
"text": ""
|
7227
|
-
}
|
7228
|
-
}
|
7229
|
-
},
|
7230
|
-
{
|
7231
|
-
"kind": "method",
|
7232
|
-
"name": "renderHelpText",
|
7233
|
-
"privacy": "protected",
|
7234
|
-
"description": "creates the helper text component when the helpertext value is set.\nIt is also used to display the validation message based on the helpTextType.",
|
7235
|
-
"return": {
|
7236
|
-
"type": {
|
7237
|
-
"text": ""
|
7238
|
-
}
|
7239
|
-
}
|
7240
|
-
},
|
7241
|
-
{
|
7242
|
-
"kind": "method",
|
7243
|
-
"name": "renderLabel",
|
7244
|
-
"privacy": "protected",
|
7245
|
-
"description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
|
7246
|
-
"return": {
|
7247
|
-
"type": {
|
7248
|
-
"text": ""
|
7249
|
-
}
|
7250
|
-
}
|
7251
|
-
},
|
7252
|
-
{
|
7253
|
-
"kind": "method",
|
7254
|
-
"name": "renderHelperText",
|
7255
|
-
"privacy": "protected",
|
7256
|
-
"description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
|
7257
|
-
"return": {
|
7258
|
-
"type": {
|
7259
|
-
"text": ""
|
7260
|
-
}
|
7261
|
-
}
|
7262
|
-
},
|
7263
|
-
{
|
7264
|
-
"kind": "field",
|
7265
|
-
"name": "disabled",
|
7266
|
-
"type": {
|
7267
|
-
"text": "boolean | undefined"
|
7268
|
-
},
|
7269
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
7270
|
-
"default": "undefined",
|
7271
|
-
"attribute": "disabled",
|
7272
|
-
"reflects": true,
|
7273
|
-
"inheritedFrom": {
|
7274
|
-
"name": "DisabledMixin",
|
7275
|
-
"module": "utils/mixins/DisabledMixin.js"
|
7276
|
-
}
|
7277
|
-
}
|
7278
|
-
],
|
7279
|
-
"attributes": [
|
7280
|
-
{
|
7281
|
-
"name": "label",
|
7282
|
-
"type": {
|
7283
|
-
"text": "string | undefined"
|
7284
|
-
},
|
7285
|
-
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
7286
|
-
"fieldName": "label"
|
7287
|
-
},
|
7288
|
-
{
|
7289
|
-
"name": "required-label",
|
7290
|
-
"type": {
|
7291
|
-
"text": "string | undefined"
|
7292
|
-
},
|
7293
|
-
"description": "The required label of the input field.\nWhen an appropriate string value is set,\nthe input field is marked as required and the label is appended with this text.",
|
7294
|
-
"fieldName": "requiredLabel"
|
7295
|
-
},
|
7296
|
-
{
|
7297
|
-
"name": "id",
|
7298
|
-
"type": {
|
7299
|
-
"text": "string"
|
7300
|
-
},
|
7301
|
-
"default": "''",
|
7302
|
-
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
7303
|
-
"fieldName": "id"
|
7304
|
-
},
|
7305
|
-
{
|
7306
|
-
"name": "help-text-type",
|
7307
|
-
"type": {
|
7308
|
-
"text": "ValidationType"
|
7309
|
-
},
|
7310
|
-
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
7311
|
-
"fieldName": "helpTextType"
|
7312
|
-
},
|
7313
|
-
{
|
7314
|
-
"name": "help-text",
|
7315
|
-
"type": {
|
7316
|
-
"text": "string | undefined"
|
7317
|
-
},
|
7318
|
-
"description": "The help text that is displayed below the input field.",
|
7319
|
-
"fieldName": "helpText"
|
7320
|
-
},
|
7321
|
-
{
|
7322
|
-
"name": "disabled",
|
7323
|
-
"type": {
|
7324
|
-
"text": "boolean | undefined"
|
7325
|
-
},
|
7326
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
7327
|
-
"default": "undefined",
|
7328
|
-
"fieldName": "disabled",
|
7329
|
-
"inheritedFrom": {
|
7330
|
-
"name": "DisabledMixin",
|
7331
|
-
"module": "src/utils/mixins/DisabledMixin.ts"
|
7332
|
-
}
|
7333
|
-
}
|
7334
|
-
],
|
7335
|
-
"mixins": [
|
7336
|
-
{
|
7337
|
-
"name": "DisabledMixin",
|
7338
|
-
"module": "/src/utils/mixins/DisabledMixin"
|
7339
|
-
}
|
7340
|
-
],
|
7341
|
-
"superclass": {
|
7342
|
-
"name": "Component",
|
7343
|
-
"module": "/src/models"
|
7344
|
-
},
|
7345
|
-
"tagName": "mdc-formfieldwrapper",
|
7346
|
-
"jsDoc": "/**\n * formfieldwrapper is a component that contains the label and helper/validation text\n * that can be configured in various ways to suit different use cases (most of the input related components).\n * It is used as an internal component and is not intended to be used directly by consumers.\n *\n * @tagname mdc-formfieldwrapper\n *\n * @slot label-info - slot to add the label info icon\n *\n */",
|
7347
|
-
"customElement": true
|
7348
|
-
}
|
7349
|
-
],
|
7350
|
-
"exports": [
|
7351
|
-
{
|
7352
|
-
"kind": "js",
|
7353
|
-
"name": "default",
|
7354
|
-
"declaration": {
|
7355
|
-
"name": "FormfieldWrapper",
|
7356
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
7357
|
-
}
|
7358
|
-
}
|
7359
|
-
]
|
7360
|
-
},
|
7361
7164
|
{
|
7362
7165
|
"kind": "javascript-module",
|
7363
7166
|
"path": "components/formfieldgroup/formfieldgroup.component.js",
|
@@ -7407,8 +7210,8 @@
|
|
7407
7210
|
"attribute": "disabled",
|
7408
7211
|
"reflects": true,
|
7409
7212
|
"inheritedFrom": {
|
7410
|
-
"name": "
|
7411
|
-
"module": "
|
7213
|
+
"name": "DisabledMixin",
|
7214
|
+
"module": "utils/mixins/DisabledMixin.js"
|
7412
7215
|
}
|
7413
7216
|
},
|
7414
7217
|
{
|
@@ -7602,8 +7405,8 @@
|
|
7602
7405
|
"default": "undefined",
|
7603
7406
|
"fieldName": "disabled",
|
7604
7407
|
"inheritedFrom": {
|
7605
|
-
"name": "
|
7606
|
-
"module": "src/
|
7408
|
+
"name": "DisabledMixin",
|
7409
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
7607
7410
|
}
|
7608
7411
|
},
|
7609
7412
|
{
|
@@ -7681,6 +7484,229 @@
|
|
7681
7484
|
}
|
7682
7485
|
]
|
7683
7486
|
},
|
7487
|
+
{
|
7488
|
+
"kind": "javascript-module",
|
7489
|
+
"path": "components/formfieldwrapper/formfieldwrapper.component.js",
|
7490
|
+
"declarations": [
|
7491
|
+
{
|
7492
|
+
"kind": "class",
|
7493
|
+
"description": "formfieldwrapper is a component that contains the label and helper/validation text\n that can be configured in various ways to suit different use cases (most of the input related components).\nIt is used as an internal component and is not intended to be used directly by consumers.",
|
7494
|
+
"name": "FormfieldWrapper",
|
7495
|
+
"slots": [
|
7496
|
+
{
|
7497
|
+
"description": "slot to add the label info icon",
|
7498
|
+
"name": "label-info"
|
7499
|
+
}
|
7500
|
+
],
|
7501
|
+
"members": [
|
7502
|
+
{
|
7503
|
+
"kind": "field",
|
7504
|
+
"name": "label",
|
7505
|
+
"type": {
|
7506
|
+
"text": "string | undefined"
|
7507
|
+
},
|
7508
|
+
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
7509
|
+
"attribute": "label",
|
7510
|
+
"reflects": true
|
7511
|
+
},
|
7512
|
+
{
|
7513
|
+
"kind": "field",
|
7514
|
+
"name": "requiredLabel",
|
7515
|
+
"type": {
|
7516
|
+
"text": "string | undefined"
|
7517
|
+
},
|
7518
|
+
"description": "The required label of the input field.\nWhen an appropriate string value is set,\nthe input field is marked as required and the label is appended with this text.",
|
7519
|
+
"attribute": "required-label",
|
7520
|
+
"reflects": true
|
7521
|
+
},
|
7522
|
+
{
|
7523
|
+
"kind": "field",
|
7524
|
+
"name": "id",
|
7525
|
+
"type": {
|
7526
|
+
"text": "string"
|
7527
|
+
},
|
7528
|
+
"default": "''",
|
7529
|
+
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
7530
|
+
"attribute": "id"
|
7531
|
+
},
|
7532
|
+
{
|
7533
|
+
"kind": "field",
|
7534
|
+
"name": "helpTextType",
|
7535
|
+
"type": {
|
7536
|
+
"text": "ValidationType"
|
7537
|
+
},
|
7538
|
+
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
7539
|
+
"attribute": "help-text-type",
|
7540
|
+
"reflects": true
|
7541
|
+
},
|
7542
|
+
{
|
7543
|
+
"kind": "field",
|
7544
|
+
"name": "helpText",
|
7545
|
+
"type": {
|
7546
|
+
"text": "string | undefined"
|
7547
|
+
},
|
7548
|
+
"description": "The help text that is displayed below the input field.",
|
7549
|
+
"attribute": "help-text",
|
7550
|
+
"reflects": true
|
7551
|
+
},
|
7552
|
+
{
|
7553
|
+
"kind": "method",
|
7554
|
+
"name": "renderLabelElement",
|
7555
|
+
"privacy": "protected",
|
7556
|
+
"description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
|
7557
|
+
"return": {
|
7558
|
+
"type": {
|
7559
|
+
"text": ""
|
7560
|
+
}
|
7561
|
+
}
|
7562
|
+
},
|
7563
|
+
{
|
7564
|
+
"kind": "method",
|
7565
|
+
"name": "renderRequiredLabel",
|
7566
|
+
"privacy": "protected"
|
7567
|
+
},
|
7568
|
+
{
|
7569
|
+
"kind": "method",
|
7570
|
+
"name": "renderHelpTextIcon",
|
7571
|
+
"privacy": "protected",
|
7572
|
+
"description": "creates the helpertext icon based on the helpTextType for validation.\nIf the helpTextType is not set, it defaults to 'default' and it doesn't display any icon.",
|
7573
|
+
"return": {
|
7574
|
+
"type": {
|
7575
|
+
"text": ""
|
7576
|
+
}
|
7577
|
+
}
|
7578
|
+
},
|
7579
|
+
{
|
7580
|
+
"kind": "method",
|
7581
|
+
"name": "renderHelpText",
|
7582
|
+
"privacy": "protected",
|
7583
|
+
"description": "creates the helper text component when the helpertext value is set.\nIt is also used to display the validation message based on the helpTextType.",
|
7584
|
+
"return": {
|
7585
|
+
"type": {
|
7586
|
+
"text": ""
|
7587
|
+
}
|
7588
|
+
}
|
7589
|
+
},
|
7590
|
+
{
|
7591
|
+
"kind": "method",
|
7592
|
+
"name": "renderLabel",
|
7593
|
+
"privacy": "protected",
|
7594
|
+
"description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
|
7595
|
+
"return": {
|
7596
|
+
"type": {
|
7597
|
+
"text": ""
|
7598
|
+
}
|
7599
|
+
}
|
7600
|
+
},
|
7601
|
+
{
|
7602
|
+
"kind": "method",
|
7603
|
+
"name": "renderHelperText",
|
7604
|
+
"privacy": "protected",
|
7605
|
+
"description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
|
7606
|
+
"return": {
|
7607
|
+
"type": {
|
7608
|
+
"text": ""
|
7609
|
+
}
|
7610
|
+
}
|
7611
|
+
},
|
7612
|
+
{
|
7613
|
+
"kind": "field",
|
7614
|
+
"name": "disabled",
|
7615
|
+
"type": {
|
7616
|
+
"text": "boolean | undefined"
|
7617
|
+
},
|
7618
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
7619
|
+
"default": "undefined",
|
7620
|
+
"attribute": "disabled",
|
7621
|
+
"reflects": true,
|
7622
|
+
"inheritedFrom": {
|
7623
|
+
"name": "DisabledMixin",
|
7624
|
+
"module": "utils/mixins/DisabledMixin.js"
|
7625
|
+
}
|
7626
|
+
}
|
7627
|
+
],
|
7628
|
+
"attributes": [
|
7629
|
+
{
|
7630
|
+
"name": "label",
|
7631
|
+
"type": {
|
7632
|
+
"text": "string | undefined"
|
7633
|
+
},
|
7634
|
+
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
7635
|
+
"fieldName": "label"
|
7636
|
+
},
|
7637
|
+
{
|
7638
|
+
"name": "required-label",
|
7639
|
+
"type": {
|
7640
|
+
"text": "string | undefined"
|
7641
|
+
},
|
7642
|
+
"description": "The required label of the input field.\nWhen an appropriate string value is set,\nthe input field is marked as required and the label is appended with this text.",
|
7643
|
+
"fieldName": "requiredLabel"
|
7644
|
+
},
|
7645
|
+
{
|
7646
|
+
"name": "id",
|
7647
|
+
"type": {
|
7648
|
+
"text": "string"
|
7649
|
+
},
|
7650
|
+
"default": "''",
|
7651
|
+
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
7652
|
+
"fieldName": "id"
|
7653
|
+
},
|
7654
|
+
{
|
7655
|
+
"name": "help-text-type",
|
7656
|
+
"type": {
|
7657
|
+
"text": "ValidationType"
|
7658
|
+
},
|
7659
|
+
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
7660
|
+
"fieldName": "helpTextType"
|
7661
|
+
},
|
7662
|
+
{
|
7663
|
+
"name": "help-text",
|
7664
|
+
"type": {
|
7665
|
+
"text": "string | undefined"
|
7666
|
+
},
|
7667
|
+
"description": "The help text that is displayed below the input field.",
|
7668
|
+
"fieldName": "helpText"
|
7669
|
+
},
|
7670
|
+
{
|
7671
|
+
"name": "disabled",
|
7672
|
+
"type": {
|
7673
|
+
"text": "boolean | undefined"
|
7674
|
+
},
|
7675
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
7676
|
+
"default": "undefined",
|
7677
|
+
"fieldName": "disabled",
|
7678
|
+
"inheritedFrom": {
|
7679
|
+
"name": "DisabledMixin",
|
7680
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
7681
|
+
}
|
7682
|
+
}
|
7683
|
+
],
|
7684
|
+
"mixins": [
|
7685
|
+
{
|
7686
|
+
"name": "DisabledMixin",
|
7687
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
7688
|
+
}
|
7689
|
+
],
|
7690
|
+
"superclass": {
|
7691
|
+
"name": "Component",
|
7692
|
+
"module": "/src/models"
|
7693
|
+
},
|
7694
|
+
"tagName": "mdc-formfieldwrapper",
|
7695
|
+
"jsDoc": "/**\n * formfieldwrapper is a component that contains the label and helper/validation text\n * that can be configured in various ways to suit different use cases (most of the input related components).\n * It is used as an internal component and is not intended to be used directly by consumers.\n *\n * @tagname mdc-formfieldwrapper\n *\n * @slot label-info - slot to add the label info icon\n *\n */",
|
7696
|
+
"customElement": true
|
7697
|
+
}
|
7698
|
+
],
|
7699
|
+
"exports": [
|
7700
|
+
{
|
7701
|
+
"kind": "js",
|
7702
|
+
"name": "default",
|
7703
|
+
"declaration": {
|
7704
|
+
"name": "FormfieldWrapper",
|
7705
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
7706
|
+
}
|
7707
|
+
}
|
7708
|
+
]
|
7709
|
+
},
|
7684
7710
|
{
|
7685
7711
|
"kind": "javascript-module",
|
7686
7712
|
"path": "components/icon/icon.component.js",
|
@@ -17272,123 +17298,134 @@
|
|
17272
17298
|
},
|
17273
17299
|
{
|
17274
17300
|
"kind": "javascript-module",
|
17275
|
-
"path": "components/
|
17301
|
+
"path": "components/staticcheckbox/staticcheckbox.component.js",
|
17276
17302
|
"declarations": [
|
17277
17303
|
{
|
17278
17304
|
"kind": "class",
|
17279
|
-
"description": "
|
17280
|
-
"name": "
|
17305
|
+
"description": "This is a decorative component that is styled to look as a checkbox.\n\nIt has 3 properties - checked, indeterminate and disabled.\n\nWe are using the same styling that has been created for the `mdc-checkbox` component.",
|
17306
|
+
"name": "StaticCheckbox",
|
17281
17307
|
"cssProperties": [
|
17282
17308
|
{
|
17283
|
-
"description": "
|
17284
|
-
"name": "--mdc-
|
17309
|
+
"description": "Border color in high contrast.",
|
17310
|
+
"name": "--mdc-staticcheckbox-border-color"
|
17285
17311
|
},
|
17286
17312
|
{
|
17287
|
-
"description": "
|
17288
|
-
"name": "--mdc-
|
17313
|
+
"description": "Background color for a selected checkbox.",
|
17314
|
+
"name": "--mdc-staticcheckbox-checked-background-color"
|
17289
17315
|
},
|
17290
17316
|
{
|
17291
|
-
"description": "
|
17292
|
-
"name": "--mdc-
|
17317
|
+
"description": "Background color for a disabled checkbox.",
|
17318
|
+
"name": "--mdc-staticcheckbox-disabled-background-color"
|
17293
17319
|
},
|
17294
17320
|
{
|
17295
|
-
"description": "
|
17296
|
-
"name": "--mdc-
|
17297
|
-
}
|
17298
|
-
],
|
17299
|
-
"cssParts": [
|
17321
|
+
"description": "Border color for a disabled checkbox.",
|
17322
|
+
"name": "--mdc-checkbox-disabled-border-color"
|
17323
|
+
},
|
17300
17324
|
{
|
17301
|
-
"description": "
|
17302
|
-
"name": "
|
17325
|
+
"description": "Background color for a disabled, selected checkbox.",
|
17326
|
+
"name": "--mdc-checkbox-disabled-checked-icon-color"
|
17303
17327
|
},
|
17304
17328
|
{
|
17305
|
-
"description": "
|
17306
|
-
"name": "
|
17307
|
-
}
|
17308
|
-
],
|
17309
|
-
"members": [
|
17329
|
+
"description": "Icon color for a disabled checkbox.",
|
17330
|
+
"name": "--mdc-staticcheckbox-disabled-icon-color"
|
17331
|
+
},
|
17310
17332
|
{
|
17311
|
-
"
|
17312
|
-
"name": "
|
17313
|
-
"description": "The spinner color can be inverted by setting the inverted attribute to true.",
|
17314
|
-
"default": "false",
|
17315
|
-
"attribute": "inverted",
|
17316
|
-
"reflects": true
|
17333
|
+
"description": "Background color for an unselected checkbox.",
|
17334
|
+
"name": "--mdc-staticcheckbox-icon-background-color"
|
17317
17335
|
},
|
17336
|
+
{
|
17337
|
+
"description": "Default background color for an unselected checkbox.",
|
17338
|
+
"name": "--mdc-staticcheckbox-icon-border-color"
|
17339
|
+
},
|
17340
|
+
{
|
17341
|
+
"description": "Icon color for an unselected checkbox.",
|
17342
|
+
"name": "--mdc-staticcheckbox-icon-color"
|
17343
|
+
}
|
17344
|
+
],
|
17345
|
+
"members": [
|
17318
17346
|
{
|
17319
17347
|
"kind": "field",
|
17320
|
-
"name": "
|
17348
|
+
"name": "checked",
|
17321
17349
|
"type": {
|
17322
|
-
"text": "
|
17350
|
+
"text": "boolean"
|
17323
17351
|
},
|
17324
|
-
"
|
17325
|
-
"
|
17326
|
-
"attribute": "
|
17352
|
+
"default": "false",
|
17353
|
+
"description": "Determines whether the checkbox is selected or unselected.",
|
17354
|
+
"attribute": "checked",
|
17327
17355
|
"reflects": true
|
17328
17356
|
},
|
17329
17357
|
{
|
17330
17358
|
"kind": "field",
|
17331
|
-
"name": "
|
17359
|
+
"name": "indeterminate",
|
17332
17360
|
"type": {
|
17333
|
-
"text": "
|
17361
|
+
"text": "boolean"
|
17334
17362
|
},
|
17335
|
-
"default": "
|
17336
|
-
"description": "
|
17337
|
-
"attribute": "
|
17363
|
+
"default": "false",
|
17364
|
+
"description": "Determines whether the checkbox is in an indeterminate state.",
|
17365
|
+
"attribute": "indeterminate",
|
17366
|
+
"reflects": true
|
17338
17367
|
},
|
17339
17368
|
{
|
17340
17369
|
"kind": "field",
|
17341
|
-
"name": "
|
17370
|
+
"name": "disabled",
|
17342
17371
|
"type": {
|
17343
|
-
"text": "
|
17372
|
+
"text": "boolean | undefined"
|
17344
17373
|
},
|
17345
|
-
"description": "
|
17346
|
-
"default": "
|
17347
|
-
"attribute": "
|
17348
|
-
"reflects": true
|
17374
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
17375
|
+
"default": "undefined",
|
17376
|
+
"attribute": "disabled",
|
17377
|
+
"reflects": true,
|
17378
|
+
"inheritedFrom": {
|
17379
|
+
"name": "DisabledMixin",
|
17380
|
+
"module": "utils/mixins/DisabledMixin.js"
|
17381
|
+
}
|
17349
17382
|
}
|
17350
17383
|
],
|
17351
17384
|
"attributes": [
|
17352
17385
|
{
|
17353
|
-
"name": "
|
17354
|
-
"description": "The spinner color can be inverted by setting the inverted attribute to true.",
|
17355
|
-
"default": "false",
|
17356
|
-
"fieldName": "inverted"
|
17357
|
-
},
|
17358
|
-
{
|
17359
|
-
"name": "size",
|
17386
|
+
"name": "checked",
|
17360
17387
|
"type": {
|
17361
|
-
"text": "
|
17388
|
+
"text": "boolean"
|
17362
17389
|
},
|
17363
|
-
"
|
17364
|
-
"
|
17365
|
-
"fieldName": "
|
17390
|
+
"default": "false",
|
17391
|
+
"description": "Determines whether the checkbox is selected or unselected.",
|
17392
|
+
"fieldName": "checked"
|
17366
17393
|
},
|
17367
17394
|
{
|
17368
|
-
"name": "
|
17395
|
+
"name": "indeterminate",
|
17369
17396
|
"type": {
|
17370
|
-
"text": "
|
17397
|
+
"text": "boolean"
|
17371
17398
|
},
|
17372
|
-
"default": "
|
17373
|
-
"description": "
|
17374
|
-
"fieldName": "
|
17399
|
+
"default": "false",
|
17400
|
+
"description": "Determines whether the checkbox is in an indeterminate state.",
|
17401
|
+
"fieldName": "indeterminate"
|
17375
17402
|
},
|
17376
17403
|
{
|
17377
|
-
"name": "
|
17404
|
+
"name": "disabled",
|
17378
17405
|
"type": {
|
17379
|
-
"text": "
|
17406
|
+
"text": "boolean | undefined"
|
17380
17407
|
},
|
17381
|
-
"description": "
|
17382
|
-
"default": "
|
17383
|
-
"fieldName": "
|
17408
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
17409
|
+
"default": "undefined",
|
17410
|
+
"fieldName": "disabled",
|
17411
|
+
"inheritedFrom": {
|
17412
|
+
"name": "DisabledMixin",
|
17413
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
17414
|
+
}
|
17415
|
+
}
|
17416
|
+
],
|
17417
|
+
"mixins": [
|
17418
|
+
{
|
17419
|
+
"name": "DisabledMixin",
|
17420
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
17384
17421
|
}
|
17385
17422
|
],
|
17386
17423
|
"superclass": {
|
17387
17424
|
"name": "Component",
|
17388
17425
|
"module": "/src/models"
|
17389
17426
|
},
|
17390
|
-
"tagName": "mdc-
|
17391
|
-
"jsDoc": "/**\n *
|
17427
|
+
"tagName": "mdc-staticcheckbox",
|
17428
|
+
"jsDoc": "/**\n * This is a decorative component that is styled to look as a checkbox.\n *\n * It has 3 properties - checked, indeterminate and disabled.\n *\n * We are using the same styling that has been created for the `mdc-checkbox` component.\n *\n * @tagname mdc-staticcheckbox\n *\n * @dependency mdc-icon\n *\n * @cssproperty --mdc-staticcheckbox-border-color - Border color in high contrast.\n * @cssproperty --mdc-staticcheckbox-checked-background-color - Background color for a selected checkbox.\n * @cssproperty --mdc-staticcheckbox-disabled-background-color - Background color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-border-color - Border color for a disabled checkbox.\n * @cssproperty --mdc-checkbox-disabled-checked-icon-color - Background color for a disabled, selected checkbox.\n * @cssproperty --mdc-staticcheckbox-disabled-icon-color - Icon color for a disabled checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-background-color - Background color for an unselected checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-border-color - Default background color for an unselected checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-color - Icon color for an unselected checkbox.\n *\n */",
|
17392
17429
|
"customElement": true
|
17393
17430
|
}
|
17394
17431
|
],
|
@@ -17397,142 +17434,131 @@
|
|
17397
17434
|
"kind": "js",
|
17398
17435
|
"name": "default",
|
17399
17436
|
"declaration": {
|
17400
|
-
"name": "
|
17401
|
-
"module": "components/
|
17437
|
+
"name": "StaticCheckbox",
|
17438
|
+
"module": "components/staticcheckbox/staticcheckbox.component.js"
|
17402
17439
|
}
|
17403
17440
|
}
|
17404
17441
|
]
|
17405
17442
|
},
|
17406
17443
|
{
|
17407
17444
|
"kind": "javascript-module",
|
17408
|
-
"path": "components/
|
17445
|
+
"path": "components/spinner/spinner.component.js",
|
17409
17446
|
"declarations": [
|
17410
17447
|
{
|
17411
17448
|
"kind": "class",
|
17412
|
-
"description": "
|
17413
|
-
"name": "
|
17449
|
+
"description": "`mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\nit's best for cases where the progress or duration of a process is variable or unknown.\n\nSpinner Variants:\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\nicon or label text.\n\nSpinner Sizes:\n- **Large (96px)**: Use when replacing entire regions or pages that are still loading\n- **MidSize (48px) (Default)**: Use for most use cases.\n- **Small (24px)**: Use for inline with loading text.\n\nCustomisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\nCSS property.\n\nSpinner Colors:\n- **Default**: Use for most use cases.\n- **Inverted**: Only to be used within inverted components, such as coachmarks.\n\nRegarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\nwill be unset\nand aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.",
|
17450
|
+
"name": "Spinner",
|
17414
17451
|
"cssProperties": [
|
17415
17452
|
{
|
17416
|
-
"description": "
|
17417
|
-
"name": "--mdc-
|
17418
|
-
},
|
17419
|
-
{
|
17420
|
-
"description": "Background color for a selected checkbox.",
|
17421
|
-
"name": "--mdc-staticcheckbox-checked-background-color"
|
17422
|
-
},
|
17423
|
-
{
|
17424
|
-
"description": "Background color for a disabled checkbox.",
|
17425
|
-
"name": "--mdc-staticcheckbox-disabled-background-color"
|
17426
|
-
},
|
17427
|
-
{
|
17428
|
-
"description": "Border color for a disabled checkbox.",
|
17429
|
-
"name": "--mdc-checkbox-disabled-border-color"
|
17453
|
+
"description": "Allows customization of the default spinner color.",
|
17454
|
+
"name": "--mdc-spinner-default-color"
|
17430
17455
|
},
|
17431
17456
|
{
|
17432
|
-
"description": "
|
17433
|
-
"name": "--mdc-
|
17457
|
+
"description": "Allows customization of the inverted spinner color.",
|
17458
|
+
"name": "--mdc-spinner-inverted-color"
|
17434
17459
|
},
|
17435
17460
|
{
|
17436
|
-
"description": "
|
17437
|
-
"name": "--mdc-
|
17461
|
+
"description": "Allows customization of the spinner Button variant color.",
|
17462
|
+
"name": "--mdc-spinner-button-variant-color"
|
17438
17463
|
},
|
17439
17464
|
{
|
17440
|
-
"description": "
|
17441
|
-
"name": "--mdc-
|
17442
|
-
}
|
17465
|
+
"description": "Allows customization of the spinner size.",
|
17466
|
+
"name": "--mdc-spinner-size"
|
17467
|
+
}
|
17468
|
+
],
|
17469
|
+
"cssParts": [
|
17443
17470
|
{
|
17444
|
-
"description": "
|
17445
|
-
"name": "
|
17471
|
+
"description": "The svg which contains the circle spinner.",
|
17472
|
+
"name": "container"
|
17446
17473
|
},
|
17447
17474
|
{
|
17448
|
-
"description": "
|
17449
|
-
"name": "
|
17475
|
+
"description": "The circle of the spinner.",
|
17476
|
+
"name": "circle"
|
17450
17477
|
}
|
17451
17478
|
],
|
17452
17479
|
"members": [
|
17453
17480
|
{
|
17454
17481
|
"kind": "field",
|
17455
|
-
"name": "
|
17456
|
-
"
|
17457
|
-
"text": "boolean"
|
17458
|
-
},
|
17482
|
+
"name": "inverted",
|
17483
|
+
"description": "The spinner color can be inverted by setting the inverted attribute to true.",
|
17459
17484
|
"default": "false",
|
17460
|
-
"
|
17461
|
-
"attribute": "checked",
|
17485
|
+
"attribute": "inverted",
|
17462
17486
|
"reflects": true
|
17463
17487
|
},
|
17464
17488
|
{
|
17465
17489
|
"kind": "field",
|
17466
|
-
"name": "
|
17490
|
+
"name": "size",
|
17467
17491
|
"type": {
|
17468
|
-
"text": "
|
17492
|
+
"text": "SpinnerSize | undefined"
|
17469
17493
|
},
|
17470
|
-
"
|
17471
|
-
"
|
17472
|
-
"attribute": "
|
17494
|
+
"description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
|
17495
|
+
"default": "midsize",
|
17496
|
+
"attribute": "size",
|
17473
17497
|
"reflects": true
|
17474
17498
|
},
|
17475
17499
|
{
|
17476
17500
|
"kind": "field",
|
17477
|
-
"name": "
|
17501
|
+
"name": "ariaLabel",
|
17478
17502
|
"type": {
|
17479
|
-
"text": "
|
17503
|
+
"text": "string | null"
|
17480
17504
|
},
|
17481
|
-
"
|
17482
|
-
"
|
17483
|
-
"attribute": "
|
17484
|
-
|
17485
|
-
|
17486
|
-
|
17487
|
-
|
17488
|
-
|
17505
|
+
"default": "null",
|
17506
|
+
"description": "Aria-label attribute to be set for accessibility",
|
17507
|
+
"attribute": "aria-label"
|
17508
|
+
},
|
17509
|
+
{
|
17510
|
+
"kind": "field",
|
17511
|
+
"name": "variant",
|
17512
|
+
"type": {
|
17513
|
+
"text": "SpinnerVariant"
|
17514
|
+
},
|
17515
|
+
"description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
|
17516
|
+
"default": "standalone",
|
17517
|
+
"attribute": "variant",
|
17518
|
+
"reflects": true
|
17489
17519
|
}
|
17490
17520
|
],
|
17491
17521
|
"attributes": [
|
17492
17522
|
{
|
17493
|
-
"name": "
|
17494
|
-
"
|
17495
|
-
"text": "boolean"
|
17496
|
-
},
|
17523
|
+
"name": "inverted",
|
17524
|
+
"description": "The spinner color can be inverted by setting the inverted attribute to true.",
|
17497
17525
|
"default": "false",
|
17498
|
-
"
|
17499
|
-
"fieldName": "checked"
|
17526
|
+
"fieldName": "inverted"
|
17500
17527
|
},
|
17501
17528
|
{
|
17502
|
-
"name": "
|
17529
|
+
"name": "size",
|
17503
17530
|
"type": {
|
17504
|
-
"text": "
|
17531
|
+
"text": "SpinnerSize | undefined"
|
17505
17532
|
},
|
17506
|
-
"
|
17507
|
-
"
|
17508
|
-
"fieldName": "
|
17533
|
+
"description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
|
17534
|
+
"default": "midsize",
|
17535
|
+
"fieldName": "size"
|
17509
17536
|
},
|
17510
17537
|
{
|
17511
|
-
"name": "
|
17538
|
+
"name": "aria-label",
|
17512
17539
|
"type": {
|
17513
|
-
"text": "
|
17540
|
+
"text": "string | null"
|
17514
17541
|
},
|
17515
|
-
"
|
17516
|
-
"
|
17517
|
-
"fieldName": "
|
17518
|
-
|
17519
|
-
"name": "DisabledMixin",
|
17520
|
-
"module": "src/utils/mixins/DisabledMixin.ts"
|
17521
|
-
}
|
17522
|
-
}
|
17523
|
-
],
|
17524
|
-
"mixins": [
|
17542
|
+
"default": "null",
|
17543
|
+
"description": "Aria-label attribute to be set for accessibility",
|
17544
|
+
"fieldName": "ariaLabel"
|
17545
|
+
},
|
17525
17546
|
{
|
17526
|
-
"name": "
|
17527
|
-
"
|
17547
|
+
"name": "variant",
|
17548
|
+
"type": {
|
17549
|
+
"text": "SpinnerVariant"
|
17550
|
+
},
|
17551
|
+
"description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
|
17552
|
+
"default": "standalone",
|
17553
|
+
"fieldName": "variant"
|
17528
17554
|
}
|
17529
17555
|
],
|
17530
17556
|
"superclass": {
|
17531
17557
|
"name": "Component",
|
17532
17558
|
"module": "/src/models"
|
17533
17559
|
},
|
17534
|
-
"tagName": "mdc-
|
17535
|
-
"jsDoc": "/**\n *
|
17560
|
+
"tagName": "mdc-spinner",
|
17561
|
+
"jsDoc": "/**\n * `mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\n * it's best for cases where the progress or duration of a process is variable or unknown.\n *\n * Spinner Variants:\n * - **Standalone (Default)**: Track has a blue color.\n * - **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\n * To ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\n * icon or label text.\n *\n * Spinner Sizes:\n * - **Large (96px)**: Use when replacing entire regions or pages that are still loading\n * - **MidSize (48px) (Default)**: Use for most use cases.\n * - **Small (24px)**: Use for inline with loading text.\n *\n * Customisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\n * CSS property.\n *\n * Spinner Colors:\n * - **Default**: Use for most use cases.\n * - **Inverted**: Only to be used within inverted components, such as coachmarks.\n *\n * Regarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\n * will be unset\n * and aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.\n *\n * @tagname mdc-spinner\n *\n * @cssproperty --mdc-spinner-default-color - Allows customization of the default spinner color.\n * @cssproperty --mdc-spinner-inverted-color - Allows customization of the inverted spinner color.\n * @cssproperty --mdc-spinner-button-variant-color - Allows customization of the spinner Button variant color.\n * @cssproperty --mdc-spinner-size - Allows customization of the spinner size.\n *\n * @csspart container - The svg which contains the circle spinner.\n * @csspart circle - The circle of the spinner.\n */",
|
17536
17562
|
"customElement": true
|
17537
17563
|
}
|
17538
17564
|
],
|
@@ -17541,8 +17567,8 @@
|
|
17541
17567
|
"kind": "js",
|
17542
17568
|
"name": "default",
|
17543
17569
|
"declaration": {
|
17544
|
-
"name": "
|
17545
|
-
"module": "components/
|
17570
|
+
"name": "Spinner",
|
17571
|
+
"module": "components/spinner/spinner.component.js"
|
17546
17572
|
}
|
17547
17573
|
}
|
17548
17574
|
]
|
@@ -18266,6 +18292,7 @@
|
|
18266
18292
|
"description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
|
18267
18293
|
"default": "undefined",
|
18268
18294
|
"attribute": "soft-disabled",
|
18295
|
+
"reflects": true,
|
18269
18296
|
"inheritedFrom": {
|
18270
18297
|
"name": "Buttonsimple",
|
18271
18298
|
"module": "components/buttonsimple/buttonsimple.component.js"
|
@@ -18649,90 +18676,6 @@
|
|
18649
18676
|
}
|
18650
18677
|
]
|
18651
18678
|
},
|
18652
|
-
{
|
18653
|
-
"kind": "javascript-module",
|
18654
|
-
"path": "components/text/text.component.js",
|
18655
|
-
"declarations": [
|
18656
|
-
{
|
18657
|
-
"kind": "class",
|
18658
|
-
"description": "Text component for creating styled text elements.\nIt has to be mounted within the ThemeProvider to access color and font tokens.\n\nThe `type` attribute allows changing the text style.\nThe `tagname` attribute allows changing the tag name of the text element.\nThe default tag name is `p`.\n\nThe `tagname` attribute should be a valid HTML tag name.\nIf the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n\nThe styling is applied based on the `type` attribute.",
|
18659
|
-
"name": "Text",
|
18660
|
-
"cssParts": [
|
18661
|
-
{
|
18662
|
-
"description": "The text element",
|
18663
|
-
"name": "text"
|
18664
|
-
}
|
18665
|
-
],
|
18666
|
-
"slots": [
|
18667
|
-
{
|
18668
|
-
"description": "Default slot for text content",
|
18669
|
-
"name": ""
|
18670
|
-
}
|
18671
|
-
],
|
18672
|
-
"members": [
|
18673
|
-
{
|
18674
|
-
"kind": "field",
|
18675
|
-
"name": "type",
|
18676
|
-
"type": {
|
18677
|
-
"text": "TextType"
|
18678
|
-
},
|
18679
|
-
"privacy": "public",
|
18680
|
-
"description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
|
18681
|
-
"default": "body-large-regular",
|
18682
|
-
"attribute": "type",
|
18683
|
-
"reflects": true
|
18684
|
-
},
|
18685
|
-
{
|
18686
|
-
"kind": "field",
|
18687
|
-
"name": "tagname",
|
18688
|
-
"type": {
|
18689
|
-
"text": "TagName | undefined"
|
18690
|
-
},
|
18691
|
-
"privacy": "public",
|
18692
|
-
"description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include:\n\n- 'h1'\n- 'h2'\n- 'h3'\n- 'h4'\n- 'h5'\n- 'h6'\n- 'p'\n- 'small'\n- 'span'\n- 'div'\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.",
|
18693
|
-
"attribute": "tagname",
|
18694
|
-
"reflects": true
|
18695
|
-
}
|
18696
|
-
],
|
18697
|
-
"attributes": [
|
18698
|
-
{
|
18699
|
-
"name": "type",
|
18700
|
-
"type": {
|
18701
|
-
"text": "TextType"
|
18702
|
-
},
|
18703
|
-
"description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
|
18704
|
-
"default": "body-large-regular",
|
18705
|
-
"fieldName": "type"
|
18706
|
-
},
|
18707
|
-
{
|
18708
|
-
"name": "tagname",
|
18709
|
-
"type": {
|
18710
|
-
"text": "TagName | undefined"
|
18711
|
-
},
|
18712
|
-
"description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include:\n\n- 'h1'\n- 'h2'\n- 'h3'\n- 'h4'\n- 'h5'\n- 'h6'\n- 'p'\n- 'small'\n- 'span'\n- 'div'\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.",
|
18713
|
-
"fieldName": "tagname"
|
18714
|
-
}
|
18715
|
-
],
|
18716
|
-
"superclass": {
|
18717
|
-
"name": "Component",
|
18718
|
-
"module": "/src/models"
|
18719
|
-
},
|
18720
|
-
"tagName": "mdc-text",
|
18721
|
-
"jsDoc": "/**\n * Text component for creating styled text elements.\n * It has to be mounted within the ThemeProvider to access color and font tokens.\n *\n * The `type` attribute allows changing the text style.\n * The `tagname` attribute allows changing the tag name of the text element.\n * The default tag name is `p`.\n *\n * The `tagname` attribute should be a valid HTML tag name.\n * If the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n *\n * The styling is applied based on the `type` attribute.\n *\n * @tagname mdc-text\n * @slot - Default slot for text content\n *\n * @csspart text - The text element\n */",
|
18722
|
-
"customElement": true
|
18723
|
-
}
|
18724
|
-
],
|
18725
|
-
"exports": [
|
18726
|
-
{
|
18727
|
-
"kind": "js",
|
18728
|
-
"name": "default",
|
18729
|
-
"declaration": {
|
18730
|
-
"name": "Text",
|
18731
|
-
"module": "components/text/text.component.js"
|
18732
|
-
}
|
18733
|
-
}
|
18734
|
-
]
|
18735
|
-
},
|
18736
18679
|
{
|
18737
18680
|
"kind": "javascript-module",
|
18738
18681
|
"path": "components/tablist/tablist.component.js",
|
@@ -18844,6 +18787,90 @@
|
|
18844
18787
|
}
|
18845
18788
|
]
|
18846
18789
|
},
|
18790
|
+
{
|
18791
|
+
"kind": "javascript-module",
|
18792
|
+
"path": "components/text/text.component.js",
|
18793
|
+
"declarations": [
|
18794
|
+
{
|
18795
|
+
"kind": "class",
|
18796
|
+
"description": "Text component for creating styled text elements.\nIt has to be mounted within the ThemeProvider to access color and font tokens.\n\nThe `type` attribute allows changing the text style.\nThe `tagname` attribute allows changing the tag name of the text element.\nThe default tag name is `p`.\n\nThe `tagname` attribute should be a valid HTML tag name.\nIf the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n\nThe styling is applied based on the `type` attribute.",
|
18797
|
+
"name": "Text",
|
18798
|
+
"cssParts": [
|
18799
|
+
{
|
18800
|
+
"description": "The text element",
|
18801
|
+
"name": "text"
|
18802
|
+
}
|
18803
|
+
],
|
18804
|
+
"slots": [
|
18805
|
+
{
|
18806
|
+
"description": "Default slot for text content",
|
18807
|
+
"name": ""
|
18808
|
+
}
|
18809
|
+
],
|
18810
|
+
"members": [
|
18811
|
+
{
|
18812
|
+
"kind": "field",
|
18813
|
+
"name": "type",
|
18814
|
+
"type": {
|
18815
|
+
"text": "TextType"
|
18816
|
+
},
|
18817
|
+
"privacy": "public",
|
18818
|
+
"description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
|
18819
|
+
"default": "body-large-regular",
|
18820
|
+
"attribute": "type",
|
18821
|
+
"reflects": true
|
18822
|
+
},
|
18823
|
+
{
|
18824
|
+
"kind": "field",
|
18825
|
+
"name": "tagname",
|
18826
|
+
"type": {
|
18827
|
+
"text": "TagName | undefined"
|
18828
|
+
},
|
18829
|
+
"privacy": "public",
|
18830
|
+
"description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include:\n\n- 'h1'\n- 'h2'\n- 'h3'\n- 'h4'\n- 'h5'\n- 'h6'\n- 'p'\n- 'small'\n- 'span'\n- 'div'\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.",
|
18831
|
+
"attribute": "tagname",
|
18832
|
+
"reflects": true
|
18833
|
+
}
|
18834
|
+
],
|
18835
|
+
"attributes": [
|
18836
|
+
{
|
18837
|
+
"name": "type",
|
18838
|
+
"type": {
|
18839
|
+
"text": "TextType"
|
18840
|
+
},
|
18841
|
+
"description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
|
18842
|
+
"default": "body-large-regular",
|
18843
|
+
"fieldName": "type"
|
18844
|
+
},
|
18845
|
+
{
|
18846
|
+
"name": "tagname",
|
18847
|
+
"type": {
|
18848
|
+
"text": "TagName | undefined"
|
18849
|
+
},
|
18850
|
+
"description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include:\n\n- 'h1'\n- 'h2'\n- 'h3'\n- 'h4'\n- 'h5'\n- 'h6'\n- 'p'\n- 'small'\n- 'span'\n- 'div'\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.",
|
18851
|
+
"fieldName": "tagname"
|
18852
|
+
}
|
18853
|
+
],
|
18854
|
+
"superclass": {
|
18855
|
+
"name": "Component",
|
18856
|
+
"module": "/src/models"
|
18857
|
+
},
|
18858
|
+
"tagName": "mdc-text",
|
18859
|
+
"jsDoc": "/**\n * Text component for creating styled text elements.\n * It has to be mounted within the ThemeProvider to access color and font tokens.\n *\n * The `type` attribute allows changing the text style.\n * The `tagname` attribute allows changing the tag name of the text element.\n * The default tag name is `p`.\n *\n * The `tagname` attribute should be a valid HTML tag name.\n * If the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n *\n * The styling is applied based on the `type` attribute.\n *\n * @tagname mdc-text\n * @slot - Default slot for text content\n *\n * @csspart text - The text element\n */",
|
18860
|
+
"customElement": true
|
18861
|
+
}
|
18862
|
+
],
|
18863
|
+
"exports": [
|
18864
|
+
{
|
18865
|
+
"kind": "js",
|
18866
|
+
"name": "default",
|
18867
|
+
"declaration": {
|
18868
|
+
"name": "Text",
|
18869
|
+
"module": "components/text/text.component.js"
|
18870
|
+
}
|
18871
|
+
}
|
18872
|
+
]
|
18873
|
+
},
|
18847
18874
|
{
|
18848
18875
|
"kind": "javascript-module",
|
18849
18876
|
"path": "components/textarea/textarea.component.js",
|