@momentum-design/components 0.61.0 → 0.61.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +104 -91
- package/dist/browser/index.js.map +3 -3
- 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/components/tablist/index.d.ts +0 -1
- package/dist/components/tablist/index.js +0 -1
- package/dist/components/tablist/tablist.component.d.ts +2 -20
- package/dist/components/tablist/tablist.component.js +12 -36
- package/dist/custom-elements.json +323 -313
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +2 -2
- package/dist/react/tablist/index.d.ts +1 -3
- package/dist/react/tablist/index.js +1 -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"
|
@@ -7137,19 +7163,57 @@
|
|
7137
7163
|
},
|
7138
7164
|
{
|
7139
7165
|
"kind": "javascript-module",
|
7140
|
-
"path": "components/
|
7166
|
+
"path": "components/formfieldgroup/formfieldgroup.component.js",
|
7141
7167
|
"declarations": [
|
7142
7168
|
{
|
7143
7169
|
"kind": "class",
|
7144
|
-
"description": "
|
7145
|
-
"name": "
|
7170
|
+
"description": "`mdc-formfieldgroup` component, groups the form field components together.\nAll passed in children will have a gap of 12px (0.75rem) each applied.\n\nThis component is specifically for creating a `checkbox` group and a `toggle` group component.\nFor the radiogroup use the RadioGroup component instead.\n\nThe header text and description text are displayed above the items with accessible labels.<br/>\nThe consumer has to provide atleast the header-text or the aria-label,\nlike one of them <b>has</b> to be passed in always, otherwise its not accessible.\n\nThe role will be set to `group`.\nThe aria-label will be set with the data-aria-label property.\nThe aria-labelledby will be set with the header id which contains the header text information.\nThe aria-describedby will be set with the description id which contains the description text information.",
|
7171
|
+
"name": "FormfieldGroup",
|
7146
7172
|
"slots": [
|
7173
|
+
{
|
7174
|
+
"description": "This is a default slot for checkbox or toggle components.",
|
7175
|
+
"name": "default"
|
7176
|
+
},
|
7147
7177
|
{
|
7148
7178
|
"description": "slot to add the label info icon",
|
7149
|
-
"name": "label-info"
|
7179
|
+
"name": "label-info",
|
7180
|
+
"inheritedFrom": {
|
7181
|
+
"name": "FormfieldWrapper",
|
7182
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
7183
|
+
}
|
7150
7184
|
}
|
7151
7185
|
],
|
7152
7186
|
"members": [
|
7187
|
+
{
|
7188
|
+
"kind": "field",
|
7189
|
+
"name": "dataAriaLabel",
|
7190
|
+
"type": {
|
7191
|
+
"text": "string | null"
|
7192
|
+
},
|
7193
|
+
"default": "null",
|
7194
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
7195
|
+
"attribute": "data-aria-label",
|
7196
|
+
"reflects": true,
|
7197
|
+
"inheritedFrom": {
|
7198
|
+
"name": "DataAriaLabelMixin",
|
7199
|
+
"module": "utils/mixins/DataAriaLabelMixin.js"
|
7200
|
+
}
|
7201
|
+
},
|
7202
|
+
{
|
7203
|
+
"kind": "field",
|
7204
|
+
"name": "disabled",
|
7205
|
+
"type": {
|
7206
|
+
"text": "boolean | undefined"
|
7207
|
+
},
|
7208
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
7209
|
+
"default": "undefined",
|
7210
|
+
"attribute": "disabled",
|
7211
|
+
"reflects": true,
|
7212
|
+
"inheritedFrom": {
|
7213
|
+
"name": "DisabledMixin",
|
7214
|
+
"module": "utils/mixins/DisabledMixin.js"
|
7215
|
+
}
|
7216
|
+
},
|
7153
7217
|
{
|
7154
7218
|
"kind": "field",
|
7155
7219
|
"name": "label",
|
@@ -7158,7 +7222,11 @@
|
|
7158
7222
|
},
|
7159
7223
|
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
7160
7224
|
"attribute": "label",
|
7161
|
-
"reflects": true
|
7225
|
+
"reflects": true,
|
7226
|
+
"inheritedFrom": {
|
7227
|
+
"name": "FormfieldWrapper",
|
7228
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
7229
|
+
}
|
7162
7230
|
},
|
7163
7231
|
{
|
7164
7232
|
"kind": "field",
|
@@ -7168,7 +7236,11 @@
|
|
7168
7236
|
},
|
7169
7237
|
"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
7238
|
"attribute": "required-label",
|
7171
|
-
"reflects": true
|
7239
|
+
"reflects": true,
|
7240
|
+
"inheritedFrom": {
|
7241
|
+
"name": "FormfieldWrapper",
|
7242
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
7243
|
+
}
|
7172
7244
|
},
|
7173
7245
|
{
|
7174
7246
|
"kind": "field",
|
@@ -7178,7 +7250,11 @@
|
|
7178
7250
|
},
|
7179
7251
|
"default": "''",
|
7180
7252
|
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
7181
|
-
"attribute": "id"
|
7253
|
+
"attribute": "id",
|
7254
|
+
"inheritedFrom": {
|
7255
|
+
"name": "FormfieldWrapper",
|
7256
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
7257
|
+
}
|
7182
7258
|
},
|
7183
7259
|
{
|
7184
7260
|
"kind": "field",
|
@@ -7188,7 +7264,11 @@
|
|
7188
7264
|
},
|
7189
7265
|
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
7190
7266
|
"attribute": "help-text-type",
|
7191
|
-
"reflects": true
|
7267
|
+
"reflects": true,
|
7268
|
+
"inheritedFrom": {
|
7269
|
+
"name": "FormfieldWrapper",
|
7270
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
7271
|
+
}
|
7192
7272
|
},
|
7193
7273
|
{
|
7194
7274
|
"kind": "field",
|
@@ -7198,7 +7278,11 @@
|
|
7198
7278
|
},
|
7199
7279
|
"description": "The help text that is displayed below the input field.",
|
7200
7280
|
"attribute": "help-text",
|
7201
|
-
"reflects": true
|
7281
|
+
"reflects": true,
|
7282
|
+
"inheritedFrom": {
|
7283
|
+
"name": "FormfieldWrapper",
|
7284
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
7285
|
+
}
|
7202
7286
|
},
|
7203
7287
|
{
|
7204
7288
|
"kind": "method",
|
@@ -7209,12 +7293,20 @@
|
|
7209
7293
|
"type": {
|
7210
7294
|
"text": ""
|
7211
7295
|
}
|
7296
|
+
},
|
7297
|
+
"inheritedFrom": {
|
7298
|
+
"name": "FormfieldWrapper",
|
7299
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
7212
7300
|
}
|
7213
7301
|
},
|
7214
7302
|
{
|
7215
7303
|
"kind": "method",
|
7216
7304
|
"name": "renderRequiredLabel",
|
7217
|
-
"privacy": "protected"
|
7305
|
+
"privacy": "protected",
|
7306
|
+
"inheritedFrom": {
|
7307
|
+
"name": "FormfieldWrapper",
|
7308
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
7309
|
+
}
|
7218
7310
|
},
|
7219
7311
|
{
|
7220
7312
|
"kind": "method",
|
@@ -7225,6 +7317,10 @@
|
|
7225
7317
|
"type": {
|
7226
7318
|
"text": ""
|
7227
7319
|
}
|
7320
|
+
},
|
7321
|
+
"inheritedFrom": {
|
7322
|
+
"name": "FormfieldWrapper",
|
7323
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
7228
7324
|
}
|
7229
7325
|
},
|
7230
7326
|
{
|
@@ -7236,6 +7332,10 @@
|
|
7236
7332
|
"type": {
|
7237
7333
|
"text": ""
|
7238
7334
|
}
|
7335
|
+
},
|
7336
|
+
"inheritedFrom": {
|
7337
|
+
"name": "FormfieldWrapper",
|
7338
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
7239
7339
|
}
|
7240
7340
|
},
|
7241
7341
|
{
|
@@ -7247,6 +7347,10 @@
|
|
7247
7347
|
"type": {
|
7248
7348
|
"text": ""
|
7249
7349
|
}
|
7350
|
+
},
|
7351
|
+
"inheritedFrom": {
|
7352
|
+
"name": "FormfieldWrapper",
|
7353
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
7250
7354
|
}
|
7251
7355
|
},
|
7252
7356
|
{
|
@@ -7258,32 +7362,64 @@
|
|
7258
7362
|
"type": {
|
7259
7363
|
"text": ""
|
7260
7364
|
}
|
7365
|
+
},
|
7366
|
+
"inheritedFrom": {
|
7367
|
+
"name": "FormfieldWrapper",
|
7368
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
7369
|
+
}
|
7370
|
+
}
|
7371
|
+
],
|
7372
|
+
"mixins": [
|
7373
|
+
{
|
7374
|
+
"name": "DataAriaLabelMixin",
|
7375
|
+
"module": "/src/utils/mixins/DataAriaLabelMixin"
|
7376
|
+
}
|
7377
|
+
],
|
7378
|
+
"superclass": {
|
7379
|
+
"name": "FormfieldWrapper",
|
7380
|
+
"module": "/src/components/formfieldwrapper/formfieldwrapper.component"
|
7381
|
+
},
|
7382
|
+
"tagName": "mdc-formfieldgroup",
|
7383
|
+
"jsDoc": "/**\n * `mdc-formfieldgroup` component, groups the form field components together.\n * All passed in children will have a gap of 12px (0.75rem) each applied.\n *\n * This component is specifically for creating a `checkbox` group and a `toggle` group component.\n * For the radiogroup use the RadioGroup component instead.\n *\n * The header text and description text are displayed above the items with accessible labels.<br/>\n * The consumer has to provide atleast the header-text or the aria-label,\n * like one of them <b>has</b> to be passed in always, otherwise its not accessible.\n *\n * The role will be set to `group`.\n * The aria-label will be set with the data-aria-label property.\n * The aria-labelledby will be set with the header id which contains the header text information.\n * The aria-describedby will be set with the description id which contains the description text information.\n *\n * @tagname mdc-formfieldgroup\n *\n * @slot default - This is a default slot for checkbox or toggle components.\n */",
|
7384
|
+
"customElement": true,
|
7385
|
+
"attributes": [
|
7386
|
+
{
|
7387
|
+
"name": "data-aria-label",
|
7388
|
+
"type": {
|
7389
|
+
"text": "string | null"
|
7390
|
+
},
|
7391
|
+
"default": "null",
|
7392
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
7393
|
+
"fieldName": "dataAriaLabel",
|
7394
|
+
"inheritedFrom": {
|
7395
|
+
"name": "DataAriaLabelMixin",
|
7396
|
+
"module": "src/utils/mixins/DataAriaLabelMixin.ts"
|
7261
7397
|
}
|
7262
7398
|
},
|
7263
7399
|
{
|
7264
|
-
"kind": "field",
|
7265
7400
|
"name": "disabled",
|
7266
7401
|
"type": {
|
7267
7402
|
"text": "boolean | undefined"
|
7268
7403
|
},
|
7269
7404
|
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
7270
7405
|
"default": "undefined",
|
7271
|
-
"
|
7272
|
-
"reflects": true,
|
7406
|
+
"fieldName": "disabled",
|
7273
7407
|
"inheritedFrom": {
|
7274
7408
|
"name": "DisabledMixin",
|
7275
|
-
"module": "utils/mixins/DisabledMixin.
|
7409
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
7276
7410
|
}
|
7277
|
-
}
|
7278
|
-
],
|
7279
|
-
"attributes": [
|
7411
|
+
},
|
7280
7412
|
{
|
7281
7413
|
"name": "label",
|
7282
7414
|
"type": {
|
7283
7415
|
"text": "string | undefined"
|
7284
7416
|
},
|
7285
7417
|
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
7286
|
-
"fieldName": "label"
|
7418
|
+
"fieldName": "label",
|
7419
|
+
"inheritedFrom": {
|
7420
|
+
"name": "FormfieldWrapper",
|
7421
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
7422
|
+
}
|
7287
7423
|
},
|
7288
7424
|
{
|
7289
7425
|
"name": "required-label",
|
@@ -7291,7 +7427,11 @@
|
|
7291
7427
|
"text": "string | undefined"
|
7292
7428
|
},
|
7293
7429
|
"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"
|
7430
|
+
"fieldName": "requiredLabel",
|
7431
|
+
"inheritedFrom": {
|
7432
|
+
"name": "FormfieldWrapper",
|
7433
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
7434
|
+
}
|
7295
7435
|
},
|
7296
7436
|
{
|
7297
7437
|
"name": "id",
|
@@ -7300,7 +7440,11 @@
|
|
7300
7440
|
},
|
7301
7441
|
"default": "''",
|
7302
7442
|
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
7303
|
-
"fieldName": "id"
|
7443
|
+
"fieldName": "id",
|
7444
|
+
"inheritedFrom": {
|
7445
|
+
"name": "FormfieldWrapper",
|
7446
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
7447
|
+
}
|
7304
7448
|
},
|
7305
7449
|
{
|
7306
7450
|
"name": "help-text-type",
|
@@ -7308,7 +7452,11 @@
|
|
7308
7452
|
"text": "ValidationType"
|
7309
7453
|
},
|
7310
7454
|
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
7311
|
-
"fieldName": "helpTextType"
|
7455
|
+
"fieldName": "helpTextType",
|
7456
|
+
"inheritedFrom": {
|
7457
|
+
"name": "FormfieldWrapper",
|
7458
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
7459
|
+
}
|
7312
7460
|
},
|
7313
7461
|
{
|
7314
7462
|
"name": "help-text",
|
@@ -7316,35 +7464,13 @@
|
|
7316
7464
|
"text": "string | undefined"
|
7317
7465
|
},
|
7318
7466
|
"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",
|
7467
|
+
"fieldName": "helpText",
|
7329
7468
|
"inheritedFrom": {
|
7330
|
-
"name": "
|
7331
|
-
"module": "src/
|
7469
|
+
"name": "FormfieldWrapper",
|
7470
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
7332
7471
|
}
|
7333
7472
|
}
|
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
|
7473
|
+
]
|
7348
7474
|
}
|
7349
7475
|
],
|
7350
7476
|
"exports": [
|
@@ -7352,65 +7478,27 @@
|
|
7352
7478
|
"kind": "js",
|
7353
7479
|
"name": "default",
|
7354
7480
|
"declaration": {
|
7355
|
-
"name": "
|
7356
|
-
"module": "components/
|
7481
|
+
"name": "FormfieldGroup",
|
7482
|
+
"module": "components/formfieldgroup/formfieldgroup.component.js"
|
7357
7483
|
}
|
7358
7484
|
}
|
7359
7485
|
]
|
7360
7486
|
},
|
7361
7487
|
{
|
7362
7488
|
"kind": "javascript-module",
|
7363
|
-
"path": "components/
|
7489
|
+
"path": "components/formfieldwrapper/formfieldwrapper.component.js",
|
7364
7490
|
"declarations": [
|
7365
7491
|
{
|
7366
7492
|
"kind": "class",
|
7367
|
-
"description": "
|
7368
|
-
"name": "
|
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",
|
7369
7495
|
"slots": [
|
7370
|
-
{
|
7371
|
-
"description": "This is a default slot for checkbox or toggle components.",
|
7372
|
-
"name": "default"
|
7373
|
-
},
|
7374
7496
|
{
|
7375
7497
|
"description": "slot to add the label info icon",
|
7376
|
-
"name": "label-info"
|
7377
|
-
"inheritedFrom": {
|
7378
|
-
"name": "FormfieldWrapper",
|
7379
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
7380
|
-
}
|
7498
|
+
"name": "label-info"
|
7381
7499
|
}
|
7382
7500
|
],
|
7383
7501
|
"members": [
|
7384
|
-
{
|
7385
|
-
"kind": "field",
|
7386
|
-
"name": "dataAriaLabel",
|
7387
|
-
"type": {
|
7388
|
-
"text": "string | null"
|
7389
|
-
},
|
7390
|
-
"default": "null",
|
7391
|
-
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
7392
|
-
"attribute": "data-aria-label",
|
7393
|
-
"reflects": true,
|
7394
|
-
"inheritedFrom": {
|
7395
|
-
"name": "DataAriaLabelMixin",
|
7396
|
-
"module": "utils/mixins/DataAriaLabelMixin.js"
|
7397
|
-
}
|
7398
|
-
},
|
7399
|
-
{
|
7400
|
-
"kind": "field",
|
7401
|
-
"name": "disabled",
|
7402
|
-
"type": {
|
7403
|
-
"text": "boolean | undefined"
|
7404
|
-
},
|
7405
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
7406
|
-
"default": "undefined",
|
7407
|
-
"attribute": "disabled",
|
7408
|
-
"reflects": true,
|
7409
|
-
"inheritedFrom": {
|
7410
|
-
"name": "FormfieldWrapper",
|
7411
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
7412
|
-
}
|
7413
|
-
},
|
7414
7502
|
{
|
7415
7503
|
"kind": "field",
|
7416
7504
|
"name": "label",
|
@@ -7419,11 +7507,7 @@
|
|
7419
7507
|
},
|
7420
7508
|
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
7421
7509
|
"attribute": "label",
|
7422
|
-
"reflects": true
|
7423
|
-
"inheritedFrom": {
|
7424
|
-
"name": "FormfieldWrapper",
|
7425
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
7426
|
-
}
|
7510
|
+
"reflects": true
|
7427
7511
|
},
|
7428
7512
|
{
|
7429
7513
|
"kind": "field",
|
@@ -7433,11 +7517,7 @@
|
|
7433
7517
|
},
|
7434
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.",
|
7435
7519
|
"attribute": "required-label",
|
7436
|
-
"reflects": true
|
7437
|
-
"inheritedFrom": {
|
7438
|
-
"name": "FormfieldWrapper",
|
7439
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
7440
|
-
}
|
7520
|
+
"reflects": true
|
7441
7521
|
},
|
7442
7522
|
{
|
7443
7523
|
"kind": "field",
|
@@ -7447,11 +7527,7 @@
|
|
7447
7527
|
},
|
7448
7528
|
"default": "''",
|
7449
7529
|
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
7450
|
-
"attribute": "id"
|
7451
|
-
"inheritedFrom": {
|
7452
|
-
"name": "FormfieldWrapper",
|
7453
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
7454
|
-
}
|
7530
|
+
"attribute": "id"
|
7455
7531
|
},
|
7456
7532
|
{
|
7457
7533
|
"kind": "field",
|
@@ -7461,11 +7537,7 @@
|
|
7461
7537
|
},
|
7462
7538
|
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
7463
7539
|
"attribute": "help-text-type",
|
7464
|
-
"reflects": true
|
7465
|
-
"inheritedFrom": {
|
7466
|
-
"name": "FormfieldWrapper",
|
7467
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
7468
|
-
}
|
7540
|
+
"reflects": true
|
7469
7541
|
},
|
7470
7542
|
{
|
7471
7543
|
"kind": "field",
|
@@ -7475,11 +7547,7 @@
|
|
7475
7547
|
},
|
7476
7548
|
"description": "The help text that is displayed below the input field.",
|
7477
7549
|
"attribute": "help-text",
|
7478
|
-
"reflects": true
|
7479
|
-
"inheritedFrom": {
|
7480
|
-
"name": "FormfieldWrapper",
|
7481
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
7482
|
-
}
|
7550
|
+
"reflects": true
|
7483
7551
|
},
|
7484
7552
|
{
|
7485
7553
|
"kind": "method",
|
@@ -7490,20 +7558,12 @@
|
|
7490
7558
|
"type": {
|
7491
7559
|
"text": ""
|
7492
7560
|
}
|
7493
|
-
},
|
7494
|
-
"inheritedFrom": {
|
7495
|
-
"name": "FormfieldWrapper",
|
7496
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
7497
7561
|
}
|
7498
7562
|
},
|
7499
7563
|
{
|
7500
7564
|
"kind": "method",
|
7501
7565
|
"name": "renderRequiredLabel",
|
7502
|
-
"privacy": "protected"
|
7503
|
-
"inheritedFrom": {
|
7504
|
-
"name": "FormfieldWrapper",
|
7505
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
7506
|
-
}
|
7566
|
+
"privacy": "protected"
|
7507
7567
|
},
|
7508
7568
|
{
|
7509
7569
|
"kind": "method",
|
@@ -7514,10 +7574,6 @@
|
|
7514
7574
|
"type": {
|
7515
7575
|
"text": ""
|
7516
7576
|
}
|
7517
|
-
},
|
7518
|
-
"inheritedFrom": {
|
7519
|
-
"name": "FormfieldWrapper",
|
7520
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
7521
7577
|
}
|
7522
7578
|
},
|
7523
7579
|
{
|
@@ -7529,94 +7585,54 @@
|
|
7529
7585
|
"type": {
|
7530
7586
|
"text": ""
|
7531
7587
|
}
|
7532
|
-
},
|
7533
|
-
"inheritedFrom": {
|
7534
|
-
"name": "FormfieldWrapper",
|
7535
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
7536
|
-
}
|
7537
|
-
},
|
7538
|
-
{
|
7539
|
-
"kind": "method",
|
7540
|
-
"name": "renderLabel",
|
7541
|
-
"privacy": "protected",
|
7542
|
-
"description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
|
7543
|
-
"return": {
|
7544
|
-
"type": {
|
7545
|
-
"text": ""
|
7546
|
-
}
|
7547
|
-
},
|
7548
|
-
"inheritedFrom": {
|
7549
|
-
"name": "FormfieldWrapper",
|
7550
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
7551
7588
|
}
|
7552
|
-
},
|
7553
|
-
{
|
7554
|
-
"kind": "method",
|
7555
|
-
"name": "renderHelperText",
|
7556
|
-
"privacy": "protected",
|
7557
|
-
"description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
|
7558
|
-
"return": {
|
7559
|
-
"type": {
|
7560
|
-
"text": ""
|
7561
|
-
}
|
7562
|
-
},
|
7563
|
-
"inheritedFrom": {
|
7564
|
-
"name": "FormfieldWrapper",
|
7565
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
7566
|
-
}
|
7567
|
-
}
|
7568
|
-
],
|
7569
|
-
"mixins": [
|
7570
|
-
{
|
7571
|
-
"name": "DataAriaLabelMixin",
|
7572
|
-
"module": "/src/utils/mixins/DataAriaLabelMixin"
|
7573
|
-
}
|
7574
|
-
],
|
7575
|
-
"superclass": {
|
7576
|
-
"name": "FormfieldWrapper",
|
7577
|
-
"module": "/src/components/formfieldwrapper/formfieldwrapper.component"
|
7578
|
-
},
|
7579
|
-
"tagName": "mdc-formfieldgroup",
|
7580
|
-
"jsDoc": "/**\n * `mdc-formfieldgroup` component, groups the form field components together.\n * All passed in children will have a gap of 12px (0.75rem) each applied.\n *\n * This component is specifically for creating a `checkbox` group and a `toggle` group component.\n * For the radiogroup use the RadioGroup component instead.\n *\n * The header text and description text are displayed above the items with accessible labels.<br/>\n * The consumer has to provide atleast the header-text or the aria-label,\n * like one of them <b>has</b> to be passed in always, otherwise its not accessible.\n *\n * The role will be set to `group`.\n * The aria-label will be set with the data-aria-label property.\n * The aria-labelledby will be set with the header id which contains the header text information.\n * The aria-describedby will be set with the description id which contains the description text information.\n *\n * @tagname mdc-formfieldgroup\n *\n * @slot default - This is a default slot for checkbox or toggle components.\n */",
|
7581
|
-
"customElement": true,
|
7582
|
-
"attributes": [
|
7589
|
+
},
|
7583
7590
|
{
|
7584
|
-
"
|
7585
|
-
"
|
7586
|
-
|
7587
|
-
|
7588
|
-
"
|
7589
|
-
|
7590
|
-
|
7591
|
-
|
7592
|
-
|
7593
|
-
|
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
|
+
}
|
7594
7610
|
}
|
7595
7611
|
},
|
7596
7612
|
{
|
7613
|
+
"kind": "field",
|
7597
7614
|
"name": "disabled",
|
7598
7615
|
"type": {
|
7599
7616
|
"text": "boolean | undefined"
|
7600
7617
|
},
|
7601
7618
|
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
7602
7619
|
"default": "undefined",
|
7603
|
-
"
|
7620
|
+
"attribute": "disabled",
|
7621
|
+
"reflects": true,
|
7604
7622
|
"inheritedFrom": {
|
7605
|
-
"name": "
|
7606
|
-
"module": "
|
7623
|
+
"name": "DisabledMixin",
|
7624
|
+
"module": "utils/mixins/DisabledMixin.js"
|
7607
7625
|
}
|
7608
|
-
}
|
7626
|
+
}
|
7627
|
+
],
|
7628
|
+
"attributes": [
|
7609
7629
|
{
|
7610
7630
|
"name": "label",
|
7611
7631
|
"type": {
|
7612
7632
|
"text": "string | undefined"
|
7613
7633
|
},
|
7614
7634
|
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
7615
|
-
"fieldName": "label"
|
7616
|
-
"inheritedFrom": {
|
7617
|
-
"name": "FormfieldWrapper",
|
7618
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
7619
|
-
}
|
7635
|
+
"fieldName": "label"
|
7620
7636
|
},
|
7621
7637
|
{
|
7622
7638
|
"name": "required-label",
|
@@ -7624,11 +7640,7 @@
|
|
7624
7640
|
"text": "string | undefined"
|
7625
7641
|
},
|
7626
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.",
|
7627
|
-
"fieldName": "requiredLabel"
|
7628
|
-
"inheritedFrom": {
|
7629
|
-
"name": "FormfieldWrapper",
|
7630
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
7631
|
-
}
|
7643
|
+
"fieldName": "requiredLabel"
|
7632
7644
|
},
|
7633
7645
|
{
|
7634
7646
|
"name": "id",
|
@@ -7637,11 +7649,7 @@
|
|
7637
7649
|
},
|
7638
7650
|
"default": "''",
|
7639
7651
|
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
7640
|
-
"fieldName": "id"
|
7641
|
-
"inheritedFrom": {
|
7642
|
-
"name": "FormfieldWrapper",
|
7643
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
7644
|
-
}
|
7652
|
+
"fieldName": "id"
|
7645
7653
|
},
|
7646
7654
|
{
|
7647
7655
|
"name": "help-text-type",
|
@@ -7649,11 +7657,7 @@
|
|
7649
7657
|
"text": "ValidationType"
|
7650
7658
|
},
|
7651
7659
|
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
7652
|
-
"fieldName": "helpTextType"
|
7653
|
-
"inheritedFrom": {
|
7654
|
-
"name": "FormfieldWrapper",
|
7655
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
7656
|
-
}
|
7660
|
+
"fieldName": "helpTextType"
|
7657
7661
|
},
|
7658
7662
|
{
|
7659
7663
|
"name": "help-text",
|
@@ -7661,13 +7665,35 @@
|
|
7661
7665
|
"text": "string | undefined"
|
7662
7666
|
},
|
7663
7667
|
"description": "The help text that is displayed below the input field.",
|
7664
|
-
"fieldName": "helpText"
|
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",
|
7665
7678
|
"inheritedFrom": {
|
7666
|
-
"name": "
|
7667
|
-
"module": "src/
|
7679
|
+
"name": "DisabledMixin",
|
7680
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
7668
7681
|
}
|
7669
7682
|
}
|
7670
|
-
]
|
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
|
7671
7697
|
}
|
7672
7698
|
],
|
7673
7699
|
"exports": [
|
@@ -7675,8 +7701,8 @@
|
|
7675
7701
|
"kind": "js",
|
7676
7702
|
"name": "default",
|
7677
7703
|
"declaration": {
|
7678
|
-
"name": "
|
7679
|
-
"module": "components/
|
7704
|
+
"name": "FormfieldWrapper",
|
7705
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
7680
7706
|
}
|
7681
7707
|
}
|
7682
7708
|
]
|
@@ -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"
|
@@ -18651,74 +18678,84 @@
|
|
18651
18678
|
},
|
18652
18679
|
{
|
18653
18680
|
"kind": "javascript-module",
|
18654
|
-
"path": "components/
|
18681
|
+
"path": "components/tablist/tablist.component.js",
|
18655
18682
|
"declarations": [
|
18656
18683
|
{
|
18657
18684
|
"kind": "class",
|
18658
|
-
"description": "
|
18659
|
-
"name": "
|
18660
|
-
"
|
18685
|
+
"description": "Tab list organizes tabs into a container.\n\nChildren of the tab list are `mdc-tab` elements, sent to the default slot.\n\nThe tabs can be navigated using the left/right arrow keys, and selected by clicking,\n or pressing the Enter and Space keys.\n\n**Implicit accessibility rules**\n\n- The element that serves as the container for the set of tabs has role `tablist`.\n- Each element that serves as a tab has role `tab` and is contained within the element with role `tablist`.\n- The active tab element has the state `aria-selected` set to `true`\n and all other tab elements have it set to `false`.\n\n\n**Accessibility notes for consuming (have to be explicitly set when you consume the component)**\n\n- Each element that contains the `content panel` for a `tab` has role `tabpanel`.\n- The `tablist` element needs to have a label provided by `data-aria-label`.\n- Each element with role `tab` has the property `aria-controls`\n that should refer to its associated `tabpanel` element.\n- Each element with role `tabpanel` has the property `aria-labelledby` referring to its associated `tab` element.\n- If a `tab` element has a popup menu, it needs to have the property `aria-haspopup` set to either `menu` or `true`.",
|
18686
|
+
"name": "TabList",
|
18687
|
+
"cssProperties": [
|
18661
18688
|
{
|
18662
|
-
"description": "
|
18663
|
-
"name": "
|
18689
|
+
"description": "Gap between tabs",
|
18690
|
+
"name": "--mdc-tablist-gap"
|
18691
|
+
},
|
18692
|
+
{
|
18693
|
+
"description": "Width of the tablist",
|
18694
|
+
"name": "--mdc-tablist-width"
|
18695
|
+
},
|
18696
|
+
{
|
18697
|
+
"description": "Margin value for the arrow button",
|
18698
|
+
"name": "--mdc-tablist-arrow-button-margin"
|
18664
18699
|
}
|
18665
18700
|
],
|
18666
18701
|
"slots": [
|
18667
18702
|
{
|
18668
|
-
"description": "
|
18669
|
-
"name": ""
|
18703
|
+
"description": "slot for mdc-tab elements.",
|
18704
|
+
"name": "Default"
|
18670
18705
|
}
|
18671
18706
|
],
|
18672
18707
|
"members": [
|
18673
18708
|
{
|
18674
18709
|
"kind": "field",
|
18675
|
-
"name": "
|
18710
|
+
"name": "activeTabId",
|
18676
18711
|
"type": {
|
18677
|
-
"text": "
|
18712
|
+
"text": "string | undefined"
|
18678
18713
|
},
|
18679
|
-
"
|
18680
|
-
"
|
18681
|
-
"default": "body-large-regular",
|
18682
|
-
"attribute": "type",
|
18714
|
+
"description": "ID of the active tab, defaults to the first tab if not provided",
|
18715
|
+
"attribute": "active-tab-id",
|
18683
18716
|
"reflects": true
|
18684
18717
|
},
|
18685
18718
|
{
|
18686
18719
|
"kind": "field",
|
18687
|
-
"name": "
|
18720
|
+
"name": "dataAriaLabel",
|
18688
18721
|
"type": {
|
18689
|
-
"text": "
|
18722
|
+
"text": "string | undefined"
|
18690
18723
|
},
|
18691
|
-
"
|
18692
|
-
"
|
18693
|
-
|
18694
|
-
|
18724
|
+
"description": "Label for the tablist.\nThis is used when the tablist does not have a visible label.",
|
18725
|
+
"attribute": "data-aria-label"
|
18726
|
+
}
|
18727
|
+
],
|
18728
|
+
"events": [
|
18729
|
+
{
|
18730
|
+
"description": "(React: onChange) This event is dispatched when the tab is selected. Event that fires when user changes the active tab. The function sent as the argument will receive the fired event and the new tab id can be fetched from event.detail.tabId. `(event: CustomEvent) => handleTabChange(event.detail.tabId);`",
|
18731
|
+
"name": "change",
|
18732
|
+
"reactName": "onChange"
|
18695
18733
|
}
|
18696
18734
|
],
|
18697
18735
|
"attributes": [
|
18698
18736
|
{
|
18699
|
-
"name": "
|
18737
|
+
"name": "active-tab-id",
|
18700
18738
|
"type": {
|
18701
|
-
"text": "
|
18739
|
+
"text": "string | undefined"
|
18702
18740
|
},
|
18703
|
-
"description": "
|
18704
|
-
"
|
18705
|
-
"fieldName": "type"
|
18741
|
+
"description": "ID of the active tab, defaults to the first tab if not provided",
|
18742
|
+
"fieldName": "activeTabId"
|
18706
18743
|
},
|
18707
18744
|
{
|
18708
|
-
"name": "
|
18745
|
+
"name": "data-aria-label",
|
18709
18746
|
"type": {
|
18710
|
-
"text": "
|
18747
|
+
"text": "string | undefined"
|
18711
18748
|
},
|
18712
|
-
"description": "
|
18713
|
-
"fieldName": "
|
18749
|
+
"description": "Label for the tablist.\nThis is used when the tablist does not have a visible label.",
|
18750
|
+
"fieldName": "dataAriaLabel"
|
18714
18751
|
}
|
18715
18752
|
],
|
18716
18753
|
"superclass": {
|
18717
18754
|
"name": "Component",
|
18718
18755
|
"module": "/src/models"
|
18719
18756
|
},
|
18720
|
-
"tagName": "mdc-
|
18721
|
-
"jsDoc": "/**\n *
|
18757
|
+
"tagName": "mdc-tablist",
|
18758
|
+
"jsDoc": "/**\n * Tab list organizes tabs into a container.\n *\n * Children of the tab list are `mdc-tab` elements, sent to the default slot.\n *\n * The tabs can be navigated using the left/right arrow keys, and selected by clicking,\n * or pressing the Enter and Space keys.\n *\n * **Implicit accessibility rules**\n *\n * - The element that serves as the container for the set of tabs has role `tablist`.\n * - Each element that serves as a tab has role `tab` and is contained within the element with role `tablist`.\n * - The active tab element has the state `aria-selected` set to `true`\n * and all other tab elements have it set to `false`.\n *\n *\n * **Accessibility notes for consuming (have to be explicitly set when you consume the component)**\n *\n * - Each element that contains the `content panel` for a `tab` has role `tabpanel`.\n * - The `tablist` element needs to have a label provided by `data-aria-label`.\n * - Each element with role `tab` has the property `aria-controls`\n * that should refer to its associated `tabpanel` element.\n * - Each element with role `tabpanel` has the property `aria-labelledby` referring to its associated `tab` element.\n * - If a `tab` element has a popup menu, it needs to have the property `aria-haspopup` set to either `menu` or `true`.\n *\n * @tagname mdc-tablist\n *\n * @dependency mdc-tab\n * @dependency mdc-button\n *\n * @event change - (React: onChange) This event is dispatched when the tab is selected.\n * Event that fires when user changes the active tab.\n * The function sent as the argument will receive the fired event\n * and the new tab id can be fetched from event.detail.tabId.\n *\n * `(event: CustomEvent) => handleTabChange(event.detail.tabId);`\n *\n * @slot Default slot for mdc-tab elements.\n *\n * @cssproperty --mdc-tablist-gap - Gap between tabs\n * @cssproperty --mdc-tablist-width - Width of the tablist\n * @cssproperty --mdc-tablist-arrow-button-margin - Margin value for the arrow button\n */",
|
18722
18759
|
"customElement": true
|
18723
18760
|
}
|
18724
18761
|
],
|
@@ -18727,109 +18764,82 @@
|
|
18727
18764
|
"kind": "js",
|
18728
18765
|
"name": "default",
|
18729
18766
|
"declaration": {
|
18730
|
-
"name": "
|
18731
|
-
"module": "components/
|
18767
|
+
"name": "TabList",
|
18768
|
+
"module": "components/tablist/tablist.component.js"
|
18732
18769
|
}
|
18733
18770
|
}
|
18734
18771
|
]
|
18735
18772
|
},
|
18736
18773
|
{
|
18737
18774
|
"kind": "javascript-module",
|
18738
|
-
"path": "components/
|
18775
|
+
"path": "components/text/text.component.js",
|
18739
18776
|
"declarations": [
|
18740
18777
|
{
|
18741
18778
|
"kind": "class",
|
18742
|
-
"description": "
|
18743
|
-
"name": "
|
18744
|
-
"
|
18745
|
-
{
|
18746
|
-
"description": "Gap between tabs",
|
18747
|
-
"name": "--mdc-tablist-gap"
|
18748
|
-
},
|
18749
|
-
{
|
18750
|
-
"description": "Width of the tablist",
|
18751
|
-
"name": "--mdc-tablist-width"
|
18752
|
-
},
|
18779
|
+
"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.",
|
18780
|
+
"name": "Text",
|
18781
|
+
"cssParts": [
|
18753
18782
|
{
|
18754
|
-
"description": "
|
18755
|
-
"name": "
|
18783
|
+
"description": "The text element",
|
18784
|
+
"name": "text"
|
18756
18785
|
}
|
18757
18786
|
],
|
18758
18787
|
"slots": [
|
18759
18788
|
{
|
18760
|
-
"description": "slot for
|
18761
|
-
"name": "
|
18789
|
+
"description": "Default slot for text content",
|
18790
|
+
"name": ""
|
18762
18791
|
}
|
18763
18792
|
],
|
18764
18793
|
"members": [
|
18765
18794
|
{
|
18766
18795
|
"kind": "field",
|
18767
|
-
"name": "
|
18796
|
+
"name": "type",
|
18768
18797
|
"type": {
|
18769
|
-
"text": "
|
18798
|
+
"text": "TextType"
|
18770
18799
|
},
|
18771
|
-
"
|
18772
|
-
"
|
18800
|
+
"privacy": "public",
|
18801
|
+
"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'",
|
18802
|
+
"default": "body-large-regular",
|
18803
|
+
"attribute": "type",
|
18773
18804
|
"reflects": true
|
18774
18805
|
},
|
18775
18806
|
{
|
18776
18807
|
"kind": "field",
|
18777
|
-
"name": "
|
18778
|
-
"type": {
|
18779
|
-
"text": "string | undefined"
|
18780
|
-
},
|
18781
|
-
"description": "Selector for the element that provides a label for the tablist.",
|
18782
|
-
"attribute": "data-aria-labelledby"
|
18783
|
-
},
|
18784
|
-
{
|
18785
|
-
"kind": "field",
|
18786
|
-
"name": "dataAriaLabel",
|
18808
|
+
"name": "tagname",
|
18787
18809
|
"type": {
|
18788
|
-
"text": "
|
18810
|
+
"text": "TagName | undefined"
|
18789
18811
|
},
|
18790
|
-
"
|
18791
|
-
"
|
18792
|
-
|
18793
|
-
|
18794
|
-
"events": [
|
18795
|
-
{
|
18796
|
-
"description": "(React: onChange) This event is dispatched when the tab is selected. Event that fires when user changes the active tab. The function sent as the argument will receive the fired event and the new tab id can be fetched from event.detail.tabId. `(event: CustomEvent) => handleTabChange(event.detail.tabId);`",
|
18797
|
-
"name": "change",
|
18798
|
-
"reactName": "onChange"
|
18812
|
+
"privacy": "public",
|
18813
|
+
"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.",
|
18814
|
+
"attribute": "tagname",
|
18815
|
+
"reflects": true
|
18799
18816
|
}
|
18800
18817
|
],
|
18801
18818
|
"attributes": [
|
18802
18819
|
{
|
18803
|
-
"name": "
|
18804
|
-
"type": {
|
18805
|
-
"text": "string | undefined"
|
18806
|
-
},
|
18807
|
-
"description": "ID of the active tab, defaults to the first tab if not provided",
|
18808
|
-
"fieldName": "activeTabId"
|
18809
|
-
},
|
18810
|
-
{
|
18811
|
-
"name": "data-aria-labelledby",
|
18820
|
+
"name": "type",
|
18812
18821
|
"type": {
|
18813
|
-
"text": "
|
18822
|
+
"text": "TextType"
|
18814
18823
|
},
|
18815
|
-
"description": "
|
18816
|
-
"
|
18824
|
+
"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'",
|
18825
|
+
"default": "body-large-regular",
|
18826
|
+
"fieldName": "type"
|
18817
18827
|
},
|
18818
18828
|
{
|
18819
|
-
"name": "
|
18829
|
+
"name": "tagname",
|
18820
18830
|
"type": {
|
18821
|
-
"text": "
|
18831
|
+
"text": "TagName | undefined"
|
18822
18832
|
},
|
18823
|
-
"description": "
|
18824
|
-
"fieldName": "
|
18833
|
+
"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.",
|
18834
|
+
"fieldName": "tagname"
|
18825
18835
|
}
|
18826
18836
|
],
|
18827
18837
|
"superclass": {
|
18828
18838
|
"name": "Component",
|
18829
18839
|
"module": "/src/models"
|
18830
18840
|
},
|
18831
|
-
"tagName": "mdc-
|
18832
|
-
"jsDoc": "/**\n *
|
18841
|
+
"tagName": "mdc-text",
|
18842
|
+
"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 */",
|
18833
18843
|
"customElement": true
|
18834
18844
|
}
|
18835
18845
|
],
|
@@ -18838,8 +18848,8 @@
|
|
18838
18848
|
"kind": "js",
|
18839
18849
|
"name": "default",
|
18840
18850
|
"declaration": {
|
18841
|
-
"name": "
|
18842
|
-
"module": "components/
|
18851
|
+
"name": "Text",
|
18852
|
+
"module": "components/text/text.component.js"
|
18843
18853
|
}
|
18844
18854
|
}
|
18845
18855
|
]
|