@momentum-design/components 0.60.0 → 0.61.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -491,6 +491,67 @@
491
491
  }
492
492
  ]
493
493
  },
494
+ {
495
+ "kind": "javascript-module",
496
+ "path": "components/appheader/appheader.component.js",
497
+ "declarations": [
498
+ {
499
+ "kind": "class",
500
+ "description": "The `mdc-appheader` component provides a structured and accessible app header layout.\nIt consists of three primary sections: leading, center, and trailing.\n\n- The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n- The **center section** can contain a **search bar**, **icons** or action controls.\n- The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.",
501
+ "name": "Appheader",
502
+ "cssParts": [
503
+ {
504
+ "description": "The main container for styling the header.",
505
+ "name": "container"
506
+ },
507
+ {
508
+ "description": "The leading section of the header.",
509
+ "name": "leading-section"
510
+ },
511
+ {
512
+ "description": "The center section of the header.",
513
+ "name": "center-section"
514
+ },
515
+ {
516
+ "description": "The trailing section of the header.",
517
+ "name": "trailing-section"
518
+ }
519
+ ],
520
+ "slots": [
521
+ {
522
+ "description": "Slot for the leading section (e.g., brand logo, brand name).",
523
+ "name": "leading"
524
+ },
525
+ {
526
+ "description": "Slot for the center section (e.g., search bar, icons).",
527
+ "name": "center"
528
+ },
529
+ {
530
+ "description": "Slot for the trailing section (e.g., profile avatar, icons).",
531
+ "name": "trailing"
532
+ }
533
+ ],
534
+ "members": [],
535
+ "superclass": {
536
+ "name": "Component",
537
+ "module": "/src/models"
538
+ },
539
+ "tagName": "mdc-appheader",
540
+ "jsDoc": "/**\n * The `mdc-appheader` component provides a structured and accessible app header layout.\n * It consists of three primary sections: leading, center, and trailing.\n *\n * - The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n * - The **center section** can contain a **search bar**, **icons** or action controls.\n * - The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.\n *\n * @tagname mdc-appheader\n *\n * @slot leading - Slot for the leading section (e.g., brand logo, brand name).\n * @slot center - Slot for the center section (e.g., search bar, icons).\n * @slot trailing - Slot for the trailing section (e.g., profile avatar, icons).\n *\n * @csspart container - The main container for styling the header.\n * @csspart leading-section - The leading section of the header.\n * @csspart center-section - The center section of the header.\n * @csspart trailing-section - The trailing section of the header.\n */",
541
+ "customElement": true
542
+ }
543
+ ],
544
+ "exports": [
545
+ {
546
+ "kind": "js",
547
+ "name": "default",
548
+ "declaration": {
549
+ "name": "Appheader",
550
+ "module": "components/appheader/appheader.component.js"
551
+ }
552
+ }
553
+ ]
554
+ },
494
555
  {
495
556
  "kind": "javascript-module",
496
557
  "path": "components/avatar/avatar.component.js",
@@ -735,67 +796,6 @@
735
796
  }
736
797
  ]
737
798
  },
738
- {
739
- "kind": "javascript-module",
740
- "path": "components/appheader/appheader.component.js",
741
- "declarations": [
742
- {
743
- "kind": "class",
744
- "description": "The `mdc-appheader` component provides a structured and accessible app header layout.\nIt consists of three primary sections: leading, center, and trailing.\n\n- The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n- The **center section** can contain a **search bar**, **icons** or action controls.\n- The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.",
745
- "name": "Appheader",
746
- "cssParts": [
747
- {
748
- "description": "The main container for styling the header.",
749
- "name": "container"
750
- },
751
- {
752
- "description": "The leading section of the header.",
753
- "name": "leading-section"
754
- },
755
- {
756
- "description": "The center section of the header.",
757
- "name": "center-section"
758
- },
759
- {
760
- "description": "The trailing section of the header.",
761
- "name": "trailing-section"
762
- }
763
- ],
764
- "slots": [
765
- {
766
- "description": "Slot for the leading section (e.g., brand logo, brand name).",
767
- "name": "leading"
768
- },
769
- {
770
- "description": "Slot for the center section (e.g., search bar, icons).",
771
- "name": "center"
772
- },
773
- {
774
- "description": "Slot for the trailing section (e.g., profile avatar, icons).",
775
- "name": "trailing"
776
- }
777
- ],
778
- "members": [],
779
- "superclass": {
780
- "name": "Component",
781
- "module": "/src/models"
782
- },
783
- "tagName": "mdc-appheader",
784
- "jsDoc": "/**\n * The `mdc-appheader` component provides a structured and accessible app header layout.\n * It consists of three primary sections: leading, center, and trailing.\n *\n * - The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n * - The **center section** can contain a **search bar**, **icons** or action controls.\n * - The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.\n *\n * @tagname mdc-appheader\n *\n * @slot leading - Slot for the leading section (e.g., brand logo, brand name).\n * @slot center - Slot for the center section (e.g., search bar, icons).\n * @slot trailing - Slot for the trailing section (e.g., profile avatar, icons).\n *\n * @csspart container - The main container for styling the header.\n * @csspart leading-section - The leading section of the header.\n * @csspart center-section - The center section of the header.\n * @csspart trailing-section - The trailing section of the header.\n */",
785
- "customElement": true
786
- }
787
- ],
788
- "exports": [
789
- {
790
- "kind": "js",
791
- "name": "default",
792
- "declaration": {
793
- "name": "Appheader",
794
- "module": "components/appheader/appheader.component.js"
795
- }
796
- }
797
- ]
798
- },
799
799
  {
800
800
  "kind": "javascript-module",
801
801
  "path": "components/avatarbutton/avatarbutton.component.js",
@@ -7137,57 +7137,19 @@
7137
7137
  },
7138
7138
  {
7139
7139
  "kind": "javascript-module",
7140
- "path": "components/formfieldgroup/formfieldgroup.component.js",
7140
+ "path": "components/formfieldwrapper/formfieldwrapper.component.js",
7141
7141
  "declarations": [
7142
7142
  {
7143
7143
  "kind": "class",
7144
- "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.",
7145
- "name": "FormfieldGroup",
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
7146
  "slots": [
7147
- {
7148
- "description": "This is a default slot for checkbox or toggle components.",
7149
- "name": "default"
7150
- },
7151
7147
  {
7152
7148
  "description": "slot to add the label info icon",
7153
- "name": "label-info",
7154
- "inheritedFrom": {
7155
- "name": "FormfieldWrapper",
7156
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
7157
- }
7149
+ "name": "label-info"
7158
7150
  }
7159
7151
  ],
7160
7152
  "members": [
7161
- {
7162
- "kind": "field",
7163
- "name": "dataAriaLabel",
7164
- "type": {
7165
- "text": "string | null"
7166
- },
7167
- "default": "null",
7168
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
7169
- "attribute": "data-aria-label",
7170
- "reflects": true,
7171
- "inheritedFrom": {
7172
- "name": "DataAriaLabelMixin",
7173
- "module": "utils/mixins/DataAriaLabelMixin.js"
7174
- }
7175
- },
7176
- {
7177
- "kind": "field",
7178
- "name": "disabled",
7179
- "type": {
7180
- "text": "boolean | undefined"
7181
- },
7182
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
7183
- "default": "undefined",
7184
- "attribute": "disabled",
7185
- "reflects": true,
7186
- "inheritedFrom": {
7187
- "name": "DisabledMixin",
7188
- "module": "utils/mixins/DisabledMixin.js"
7189
- }
7190
- },
7191
7153
  {
7192
7154
  "kind": "field",
7193
7155
  "name": "label",
@@ -7196,11 +7158,7 @@
7196
7158
  },
7197
7159
  "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
7198
7160
  "attribute": "label",
7199
- "reflects": true,
7200
- "inheritedFrom": {
7201
- "name": "FormfieldWrapper",
7202
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
7203
- }
7161
+ "reflects": true
7204
7162
  },
7205
7163
  {
7206
7164
  "kind": "field",
@@ -7210,11 +7168,7 @@
7210
7168
  },
7211
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.",
7212
7170
  "attribute": "required-label",
7213
- "reflects": true,
7214
- "inheritedFrom": {
7215
- "name": "FormfieldWrapper",
7216
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
7217
- }
7171
+ "reflects": true
7218
7172
  },
7219
7173
  {
7220
7174
  "kind": "field",
@@ -7224,11 +7178,7 @@
7224
7178
  },
7225
7179
  "default": "''",
7226
7180
  "description": "The unique id of the input field. It is used to link the input field with the label.",
7227
- "attribute": "id",
7228
- "inheritedFrom": {
7229
- "name": "FormfieldWrapper",
7230
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
7231
- }
7181
+ "attribute": "id"
7232
7182
  },
7233
7183
  {
7234
7184
  "kind": "field",
@@ -7238,11 +7188,7 @@
7238
7188
  },
7239
7189
  "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
7240
7190
  "attribute": "help-text-type",
7241
- "reflects": true,
7242
- "inheritedFrom": {
7243
- "name": "FormfieldWrapper",
7244
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
7245
- }
7191
+ "reflects": true
7246
7192
  },
7247
7193
  {
7248
7194
  "kind": "field",
@@ -7252,11 +7198,7 @@
7252
7198
  },
7253
7199
  "description": "The help text that is displayed below the input field.",
7254
7200
  "attribute": "help-text",
7255
- "reflects": true,
7256
- "inheritedFrom": {
7257
- "name": "FormfieldWrapper",
7258
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
7259
- }
7201
+ "reflects": true
7260
7202
  },
7261
7203
  {
7262
7204
  "kind": "method",
@@ -7267,20 +7209,12 @@
7267
7209
  "type": {
7268
7210
  "text": ""
7269
7211
  }
7270
- },
7271
- "inheritedFrom": {
7272
- "name": "FormfieldWrapper",
7273
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
7274
7212
  }
7275
7213
  },
7276
7214
  {
7277
7215
  "kind": "method",
7278
7216
  "name": "renderRequiredLabel",
7279
- "privacy": "protected",
7280
- "inheritedFrom": {
7281
- "name": "FormfieldWrapper",
7282
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
7283
- }
7217
+ "privacy": "protected"
7284
7218
  },
7285
7219
  {
7286
7220
  "kind": "method",
@@ -7291,10 +7225,6 @@
7291
7225
  "type": {
7292
7226
  "text": ""
7293
7227
  }
7294
- },
7295
- "inheritedFrom": {
7296
- "name": "FormfieldWrapper",
7297
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
7298
7228
  }
7299
7229
  },
7300
7230
  {
@@ -7306,10 +7236,6 @@
7306
7236
  "type": {
7307
7237
  "text": ""
7308
7238
  }
7309
- },
7310
- "inheritedFrom": {
7311
- "name": "FormfieldWrapper",
7312
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
7313
7239
  }
7314
7240
  },
7315
7241
  {
@@ -7321,10 +7247,6 @@
7321
7247
  "type": {
7322
7248
  "text": ""
7323
7249
  }
7324
- },
7325
- "inheritedFrom": {
7326
- "name": "FormfieldWrapper",
7327
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
7328
7250
  }
7329
7251
  },
7330
7252
  {
@@ -7336,64 +7258,32 @@
7336
7258
  "type": {
7337
7259
  "text": ""
7338
7260
  }
7339
- },
7340
- "inheritedFrom": {
7341
- "name": "FormfieldWrapper",
7342
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
7343
- }
7344
- }
7345
- ],
7346
- "mixins": [
7347
- {
7348
- "name": "DataAriaLabelMixin",
7349
- "module": "/src/utils/mixins/DataAriaLabelMixin"
7350
- }
7351
- ],
7352
- "superclass": {
7353
- "name": "FormfieldWrapper",
7354
- "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
7355
- },
7356
- "tagName": "mdc-formfieldgroup",
7357
- "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 */",
7358
- "customElement": true,
7359
- "attributes": [
7360
- {
7361
- "name": "data-aria-label",
7362
- "type": {
7363
- "text": "string | null"
7364
- },
7365
- "default": "null",
7366
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
7367
- "fieldName": "dataAriaLabel",
7368
- "inheritedFrom": {
7369
- "name": "DataAriaLabelMixin",
7370
- "module": "src/utils/mixins/DataAriaLabelMixin.ts"
7371
7261
  }
7372
7262
  },
7373
7263
  {
7264
+ "kind": "field",
7374
7265
  "name": "disabled",
7375
7266
  "type": {
7376
7267
  "text": "boolean | undefined"
7377
7268
  },
7378
7269
  "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
7379
7270
  "default": "undefined",
7380
- "fieldName": "disabled",
7271
+ "attribute": "disabled",
7272
+ "reflects": true,
7381
7273
  "inheritedFrom": {
7382
7274
  "name": "DisabledMixin",
7383
- "module": "src/utils/mixins/DisabledMixin.ts"
7275
+ "module": "utils/mixins/DisabledMixin.js"
7384
7276
  }
7385
- },
7277
+ }
7278
+ ],
7279
+ "attributes": [
7386
7280
  {
7387
7281
  "name": "label",
7388
7282
  "type": {
7389
7283
  "text": "string | undefined"
7390
7284
  },
7391
7285
  "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
7392
- "fieldName": "label",
7393
- "inheritedFrom": {
7394
- "name": "FormfieldWrapper",
7395
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
7396
- }
7286
+ "fieldName": "label"
7397
7287
  },
7398
7288
  {
7399
7289
  "name": "required-label",
@@ -7401,11 +7291,7 @@
7401
7291
  "text": "string | undefined"
7402
7292
  },
7403
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.",
7404
- "fieldName": "requiredLabel",
7405
- "inheritedFrom": {
7406
- "name": "FormfieldWrapper",
7407
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
7408
- }
7294
+ "fieldName": "requiredLabel"
7409
7295
  },
7410
7296
  {
7411
7297
  "name": "id",
@@ -7414,11 +7300,7 @@
7414
7300
  },
7415
7301
  "default": "''",
7416
7302
  "description": "The unique id of the input field. It is used to link the input field with the label.",
7417
- "fieldName": "id",
7418
- "inheritedFrom": {
7419
- "name": "FormfieldWrapper",
7420
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
7421
- }
7303
+ "fieldName": "id"
7422
7304
  },
7423
7305
  {
7424
7306
  "name": "help-text-type",
@@ -7426,11 +7308,7 @@
7426
7308
  "text": "ValidationType"
7427
7309
  },
7428
7310
  "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
7429
- "fieldName": "helpTextType",
7430
- "inheritedFrom": {
7431
- "name": "FormfieldWrapper",
7432
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
7433
- }
7311
+ "fieldName": "helpTextType"
7434
7312
  },
7435
7313
  {
7436
7314
  "name": "help-text",
@@ -7438,13 +7316,35 @@
7438
7316
  "text": "string | undefined"
7439
7317
  },
7440
7318
  "description": "The help text that is displayed below the input field.",
7441
- "fieldName": "helpText",
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",
7442
7329
  "inheritedFrom": {
7443
- "name": "FormfieldWrapper",
7444
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
7330
+ "name": "DisabledMixin",
7331
+ "module": "src/utils/mixins/DisabledMixin.ts"
7445
7332
  }
7446
7333
  }
7447
- ]
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
7448
7348
  }
7449
7349
  ],
7450
7350
  "exports": [
@@ -7452,27 +7352,65 @@
7452
7352
  "kind": "js",
7453
7353
  "name": "default",
7454
7354
  "declaration": {
7455
- "name": "FormfieldGroup",
7456
- "module": "components/formfieldgroup/formfieldgroup.component.js"
7355
+ "name": "FormfieldWrapper",
7356
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
7457
7357
  }
7458
7358
  }
7459
7359
  ]
7460
7360
  },
7461
7361
  {
7462
7362
  "kind": "javascript-module",
7463
- "path": "components/formfieldwrapper/formfieldwrapper.component.js",
7363
+ "path": "components/formfieldgroup/formfieldgroup.component.js",
7464
7364
  "declarations": [
7465
7365
  {
7466
7366
  "kind": "class",
7467
- "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.",
7468
- "name": "FormfieldWrapper",
7367
+ "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.",
7368
+ "name": "FormfieldGroup",
7469
7369
  "slots": [
7370
+ {
7371
+ "description": "This is a default slot for checkbox or toggle components.",
7372
+ "name": "default"
7373
+ },
7470
7374
  {
7471
7375
  "description": "slot to add the label info icon",
7472
- "name": "label-info"
7376
+ "name": "label-info",
7377
+ "inheritedFrom": {
7378
+ "name": "FormfieldWrapper",
7379
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
7380
+ }
7473
7381
  }
7474
7382
  ],
7475
7383
  "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
+ },
7476
7414
  {
7477
7415
  "kind": "field",
7478
7416
  "name": "label",
@@ -7481,7 +7419,11 @@
7481
7419
  },
7482
7420
  "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
7483
7421
  "attribute": "label",
7484
- "reflects": true
7422
+ "reflects": true,
7423
+ "inheritedFrom": {
7424
+ "name": "FormfieldWrapper",
7425
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
7426
+ }
7485
7427
  },
7486
7428
  {
7487
7429
  "kind": "field",
@@ -7491,7 +7433,11 @@
7491
7433
  },
7492
7434
  "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.",
7493
7435
  "attribute": "required-label",
7494
- "reflects": true
7436
+ "reflects": true,
7437
+ "inheritedFrom": {
7438
+ "name": "FormfieldWrapper",
7439
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
7440
+ }
7495
7441
  },
7496
7442
  {
7497
7443
  "kind": "field",
@@ -7501,7 +7447,11 @@
7501
7447
  },
7502
7448
  "default": "''",
7503
7449
  "description": "The unique id of the input field. It is used to link the input field with the label.",
7504
- "attribute": "id"
7450
+ "attribute": "id",
7451
+ "inheritedFrom": {
7452
+ "name": "FormfieldWrapper",
7453
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
7454
+ }
7505
7455
  },
7506
7456
  {
7507
7457
  "kind": "field",
@@ -7511,7 +7461,11 @@
7511
7461
  },
7512
7462
  "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
7513
7463
  "attribute": "help-text-type",
7514
- "reflects": true
7464
+ "reflects": true,
7465
+ "inheritedFrom": {
7466
+ "name": "FormfieldWrapper",
7467
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
7468
+ }
7515
7469
  },
7516
7470
  {
7517
7471
  "kind": "field",
@@ -7521,7 +7475,11 @@
7521
7475
  },
7522
7476
  "description": "The help text that is displayed below the input field.",
7523
7477
  "attribute": "help-text",
7524
- "reflects": true
7478
+ "reflects": true,
7479
+ "inheritedFrom": {
7480
+ "name": "FormfieldWrapper",
7481
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
7482
+ }
7525
7483
  },
7526
7484
  {
7527
7485
  "kind": "method",
@@ -7532,12 +7490,20 @@
7532
7490
  "type": {
7533
7491
  "text": ""
7534
7492
  }
7493
+ },
7494
+ "inheritedFrom": {
7495
+ "name": "FormfieldWrapper",
7496
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
7535
7497
  }
7536
7498
  },
7537
7499
  {
7538
7500
  "kind": "method",
7539
7501
  "name": "renderRequiredLabel",
7540
- "privacy": "protected"
7502
+ "privacy": "protected",
7503
+ "inheritedFrom": {
7504
+ "name": "FormfieldWrapper",
7505
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
7506
+ }
7541
7507
  },
7542
7508
  {
7543
7509
  "kind": "method",
@@ -7548,6 +7514,10 @@
7548
7514
  "type": {
7549
7515
  "text": ""
7550
7516
  }
7517
+ },
7518
+ "inheritedFrom": {
7519
+ "name": "FormfieldWrapper",
7520
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
7551
7521
  }
7552
7522
  },
7553
7523
  {
@@ -7559,6 +7529,10 @@
7559
7529
  "type": {
7560
7530
  "text": ""
7561
7531
  }
7532
+ },
7533
+ "inheritedFrom": {
7534
+ "name": "FormfieldWrapper",
7535
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
7562
7536
  }
7563
7537
  },
7564
7538
  {
@@ -7570,6 +7544,10 @@
7570
7544
  "type": {
7571
7545
  "text": ""
7572
7546
  }
7547
+ },
7548
+ "inheritedFrom": {
7549
+ "name": "FormfieldWrapper",
7550
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
7573
7551
  }
7574
7552
  },
7575
7553
  {
@@ -7581,32 +7559,64 @@
7581
7559
  "type": {
7582
7560
  "text": ""
7583
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": [
7583
+ {
7584
+ "name": "data-aria-label",
7585
+ "type": {
7586
+ "text": "string | null"
7587
+ },
7588
+ "default": "null",
7589
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
7590
+ "fieldName": "dataAriaLabel",
7591
+ "inheritedFrom": {
7592
+ "name": "DataAriaLabelMixin",
7593
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
7584
7594
  }
7585
7595
  },
7586
7596
  {
7587
- "kind": "field",
7588
7597
  "name": "disabled",
7589
7598
  "type": {
7590
7599
  "text": "boolean | undefined"
7591
7600
  },
7592
7601
  "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
7593
7602
  "default": "undefined",
7594
- "attribute": "disabled",
7595
- "reflects": true,
7603
+ "fieldName": "disabled",
7596
7604
  "inheritedFrom": {
7597
- "name": "DisabledMixin",
7598
- "module": "utils/mixins/DisabledMixin.js"
7605
+ "name": "FormfieldWrapper",
7606
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
7599
7607
  }
7600
- }
7601
- ],
7602
- "attributes": [
7608
+ },
7603
7609
  {
7604
7610
  "name": "label",
7605
7611
  "type": {
7606
7612
  "text": "string | undefined"
7607
7613
  },
7608
7614
  "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
7609
- "fieldName": "label"
7615
+ "fieldName": "label",
7616
+ "inheritedFrom": {
7617
+ "name": "FormfieldWrapper",
7618
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
7619
+ }
7610
7620
  },
7611
7621
  {
7612
7622
  "name": "required-label",
@@ -7614,7 +7624,11 @@
7614
7624
  "text": "string | undefined"
7615
7625
  },
7616
7626
  "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.",
7617
- "fieldName": "requiredLabel"
7627
+ "fieldName": "requiredLabel",
7628
+ "inheritedFrom": {
7629
+ "name": "FormfieldWrapper",
7630
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
7631
+ }
7618
7632
  },
7619
7633
  {
7620
7634
  "name": "id",
@@ -7623,7 +7637,11 @@
7623
7637
  },
7624
7638
  "default": "''",
7625
7639
  "description": "The unique id of the input field. It is used to link the input field with the label.",
7626
- "fieldName": "id"
7640
+ "fieldName": "id",
7641
+ "inheritedFrom": {
7642
+ "name": "FormfieldWrapper",
7643
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
7644
+ }
7627
7645
  },
7628
7646
  {
7629
7647
  "name": "help-text-type",
@@ -7631,7 +7649,11 @@
7631
7649
  "text": "ValidationType"
7632
7650
  },
7633
7651
  "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
7634
- "fieldName": "helpTextType"
7652
+ "fieldName": "helpTextType",
7653
+ "inheritedFrom": {
7654
+ "name": "FormfieldWrapper",
7655
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
7656
+ }
7635
7657
  },
7636
7658
  {
7637
7659
  "name": "help-text",
@@ -7639,35 +7661,13 @@
7639
7661
  "text": "string | undefined"
7640
7662
  },
7641
7663
  "description": "The help text that is displayed below the input field.",
7642
- "fieldName": "helpText"
7643
- },
7644
- {
7645
- "name": "disabled",
7646
- "type": {
7647
- "text": "boolean | undefined"
7648
- },
7649
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
7650
- "default": "undefined",
7651
- "fieldName": "disabled",
7664
+ "fieldName": "helpText",
7652
7665
  "inheritedFrom": {
7653
- "name": "DisabledMixin",
7654
- "module": "src/utils/mixins/DisabledMixin.ts"
7666
+ "name": "FormfieldWrapper",
7667
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
7655
7668
  }
7656
7669
  }
7657
- ],
7658
- "mixins": [
7659
- {
7660
- "name": "DisabledMixin",
7661
- "module": "/src/utils/mixins/DisabledMixin"
7662
- }
7663
- ],
7664
- "superclass": {
7665
- "name": "Component",
7666
- "module": "/src/models"
7667
- },
7668
- "tagName": "mdc-formfieldwrapper",
7669
- "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 */",
7670
- "customElement": true
7670
+ ]
7671
7671
  }
7672
7672
  ],
7673
7673
  "exports": [
@@ -7675,8 +7675,8 @@
7675
7675
  "kind": "js",
7676
7676
  "name": "default",
7677
7677
  "declaration": {
7678
- "name": "FormfieldWrapper",
7679
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
7678
+ "name": "FormfieldGroup",
7679
+ "module": "components/formfieldgroup/formfieldgroup.component.js"
7680
7680
  }
7681
7681
  }
7682
7682
  ]
@@ -12806,6 +12806,176 @@
12806
12806
  }
12807
12807
  ]
12808
12808
  },
12809
+ {
12810
+ "kind": "javascript-module",
12811
+ "path": "components/presence/presence.component.js",
12812
+ "declarations": [
12813
+ {
12814
+ "kind": "class",
12815
+ "description": "The `mdc-presence` component is a versatile UI element used to\ndisplay the presence status of a user or entity within an avatar component.\n\nThis component is ideal for use within avatar UIs where the presence status\nneeds to be visually represented.",
12816
+ "name": "Presence",
12817
+ "cssProperties": [
12818
+ {
12819
+ "description": "The background color of the presence type active.",
12820
+ "name": "--mdc-presence-active-background-color"
12821
+ },
12822
+ {
12823
+ "description": "The background color of the presence type away.",
12824
+ "name": "--mdc-presence-away-background-color"
12825
+ },
12826
+ {
12827
+ "description": "The background color of the presence type away-calling.",
12828
+ "name": "--mdc-presence-away-calling-background-color"
12829
+ },
12830
+ {
12831
+ "description": "The background color of the presence type busy.",
12832
+ "name": "--mdc-presence-busy-background-color"
12833
+ },
12834
+ {
12835
+ "description": "The background color of the presence type dnd.",
12836
+ "name": "--mdc-presence-dnd-background-color"
12837
+ },
12838
+ {
12839
+ "description": "The background color of the presence type meeting.",
12840
+ "name": "--mdc-presence-meeting-background-color"
12841
+ },
12842
+ {
12843
+ "description": "The background color of the presence type on-call.",
12844
+ "name": "--mdc-presence-on-call-background-color"
12845
+ },
12846
+ {
12847
+ "description": "The background color of the presence type on-device.",
12848
+ "name": "--mdc-presence-on-device-background-color"
12849
+ },
12850
+ {
12851
+ "description": "The background color of the presence type on-mobile.",
12852
+ "name": "--mdc-presence-on-mobile-background-color"
12853
+ },
12854
+ {
12855
+ "description": "The background color of the presence type pause.",
12856
+ "name": "--mdc-presence-pause-background-color"
12857
+ },
12858
+ {
12859
+ "description": "The background color of the presence type pto.",
12860
+ "name": "--mdc-presence-pto-background-color"
12861
+ },
12862
+ {
12863
+ "description": "The background color of the presence type presenting.",
12864
+ "name": "--mdc-presence-presenting-background-color"
12865
+ },
12866
+ {
12867
+ "description": "The background color of the presence type quiet.",
12868
+ "name": "--mdc-presence-quiet-background-color"
12869
+ },
12870
+ {
12871
+ "description": "The background color of the presence type scheduled.",
12872
+ "name": "--mdc-presence-scheduled-background-color"
12873
+ },
12874
+ {
12875
+ "description": "The background color of the presence type overlay.",
12876
+ "name": "--mdc-presence-overlay-background-color"
12877
+ }
12878
+ ],
12879
+ "members": [
12880
+ {
12881
+ "kind": "field",
12882
+ "name": "type",
12883
+ "type": {
12884
+ "text": "PresenceType"
12885
+ },
12886
+ "description": "Supported presence types:\n- `active`\n- `away`\n- `away-calling`\n- `busy`\n- `dnd`\n- `meeting`\n- `on-call`\n- `on-device`\n- `on-mobile`\n- `pause`\n- `pto`\n- `presenting`\n- `quiet`\n- `scheduled`",
12887
+ "default": "active",
12888
+ "attribute": "type",
12889
+ "reflects": true
12890
+ },
12891
+ {
12892
+ "kind": "field",
12893
+ "name": "size",
12894
+ "type": {
12895
+ "text": "PresenceSize"
12896
+ },
12897
+ "description": "Acceptable values include:\n- XX_SMALL\n- X_SMALL\n- SMALL\n- MIDSIZE\n- LARGE\n- X_LARGE\n- XX_LARGE\n\nPresence icons are minimum 14px in size, meaning XX_Small, X_Small and Small presence\nicons will be no smaller than 14px.",
12898
+ "default": "small",
12899
+ "attribute": "size",
12900
+ "reflects": true
12901
+ },
12902
+ {
12903
+ "kind": "field",
12904
+ "name": "iconSize",
12905
+ "privacy": "private",
12906
+ "description": "Get the size of the presence icon based on the given size type",
12907
+ "readonly": true
12908
+ },
12909
+ {
12910
+ "kind": "field",
12911
+ "name": "icon",
12912
+ "privacy": "private",
12913
+ "description": "Get the icon name based on the presence type",
12914
+ "readonly": true
12915
+ },
12916
+ {
12917
+ "kind": "method",
12918
+ "name": "handleOnLoad",
12919
+ "privacy": "private",
12920
+ "return": {
12921
+ "type": {
12922
+ "text": "void"
12923
+ }
12924
+ },
12925
+ "description": "Handles the successful load of an icon.\nSets the `currentIconType` property to match the `type` property."
12926
+ },
12927
+ {
12928
+ "kind": "method",
12929
+ "name": "handleOnError",
12930
+ "privacy": "private",
12931
+ "return": {
12932
+ "type": {
12933
+ "text": "void"
12934
+ }
12935
+ },
12936
+ "description": "Handles an error that occurs when loading an icon."
12937
+ }
12938
+ ],
12939
+ "attributes": [
12940
+ {
12941
+ "name": "type",
12942
+ "type": {
12943
+ "text": "PresenceType"
12944
+ },
12945
+ "description": "Supported presence types:\n- `active`\n- `away`\n- `away-calling`\n- `busy`\n- `dnd`\n- `meeting`\n- `on-call`\n- `on-device`\n- `on-mobile`\n- `pause`\n- `pto`\n- `presenting`\n- `quiet`\n- `scheduled`",
12946
+ "default": "active",
12947
+ "fieldName": "type"
12948
+ },
12949
+ {
12950
+ "name": "size",
12951
+ "type": {
12952
+ "text": "PresenceSize"
12953
+ },
12954
+ "description": "Acceptable values include:\n- XX_SMALL\n- X_SMALL\n- SMALL\n- MIDSIZE\n- LARGE\n- X_LARGE\n- XX_LARGE\n\nPresence icons are minimum 14px in size, meaning XX_Small, X_Small and Small presence\nicons will be no smaller than 14px.",
12955
+ "default": "small",
12956
+ "fieldName": "size"
12957
+ }
12958
+ ],
12959
+ "superclass": {
12960
+ "name": "Component",
12961
+ "module": "/src/models"
12962
+ },
12963
+ "tagName": "mdc-presence",
12964
+ "jsDoc": "/**\n * The `mdc-presence` component is a versatile UI element used to\n * display the presence status of a user or entity within an avatar component.\n *\n * This component is ideal for use within avatar UIs where the presence status\n * needs to be visually represented.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-presence\n *\n * @cssproperty --mdc-presence-active-background-color - The background color of the presence type active.\n * @cssproperty --mdc-presence-away-background-color - The background color of the presence type away.\n * @cssproperty --mdc-presence-away-calling-background-color - The background color of the presence type away-calling.\n * @cssproperty --mdc-presence-busy-background-color - The background color of the presence type busy.\n * @cssproperty --mdc-presence-dnd-background-color - The background color of the presence type dnd.\n * @cssproperty --mdc-presence-meeting-background-color - The background color of the presence type meeting.\n * @cssproperty --mdc-presence-on-call-background-color - The background color of the presence type on-call.\n * @cssproperty --mdc-presence-on-device-background-color - The background color of the presence type on-device.\n * @cssproperty --mdc-presence-on-mobile-background-color - The background color of the presence type on-mobile.\n * @cssproperty --mdc-presence-pause-background-color - The background color of the presence type pause.\n * @cssproperty --mdc-presence-pto-background-color - The background color of the presence type pto.\n * @cssproperty --mdc-presence-presenting-background-color - The background color of the presence type presenting.\n * @cssproperty --mdc-presence-quiet-background-color - The background color of the presence type quiet.\n * @cssproperty --mdc-presence-scheduled-background-color - The background color of the presence type scheduled.\n * @cssproperty --mdc-presence-overlay-background-color - The background color of the presence type overlay.\n */",
12965
+ "customElement": true
12966
+ }
12967
+ ],
12968
+ "exports": [
12969
+ {
12970
+ "kind": "js",
12971
+ "name": "default",
12972
+ "declaration": {
12973
+ "name": "Presence",
12974
+ "module": "components/presence/presence.component.js"
12975
+ }
12976
+ }
12977
+ ]
12978
+ },
12809
12979
  {
12810
12980
  "kind": "javascript-module",
12811
12981
  "path": "components/progressbar/progressbar.component.js",
@@ -13791,189 +13961,221 @@
13791
13961
  },
13792
13962
  {
13793
13963
  "kind": "javascript-module",
13794
- "path": "components/presence/presence.component.js",
13964
+ "path": "components/radio/radio.component.js",
13795
13965
  "declarations": [
13796
13966
  {
13797
13967
  "kind": "class",
13798
- "description": "The `mdc-presence` component is a versatile UI element used to\ndisplay the presence status of a user or entity within an avatar component.\n\nThis component is ideal for use within avatar UIs where the presence status\nneeds to be visually represented.",
13799
- "name": "Presence",
13968
+ "description": "Radio allow users to select single options from a list or turn an item/feature on or off.\nThese are often used in forms, settings, and selection in lists.\n\nA radio component contains an optional label, optional info icon and an optional helper text.",
13969
+ "name": "Radio",
13800
13970
  "cssProperties": [
13801
13971
  {
13802
- "description": "The background color of the presence type active.",
13803
- "name": "--mdc-presence-active-background-color"
13804
- },
13805
- {
13806
- "description": "The background color of the presence type away.",
13807
- "name": "--mdc-presence-away-background-color"
13808
- },
13809
- {
13810
- "description": "The background color of the presence type away-calling.",
13811
- "name": "--mdc-presence-away-calling-background-color"
13812
- },
13813
- {
13814
- "description": "The background color of the presence type busy.",
13815
- "name": "--mdc-presence-busy-background-color"
13816
- },
13817
- {
13818
- "description": "The background color of the presence type dnd.",
13819
- "name": "--mdc-presence-dnd-background-color"
13820
- },
13821
- {
13822
- "description": "The background color of the presence type meeting.",
13823
- "name": "--mdc-presence-meeting-background-color"
13824
- },
13825
- {
13826
- "description": "The background color of the presence type on-call.",
13827
- "name": "--mdc-presence-on-call-background-color"
13828
- },
13829
- {
13830
- "description": "The background color of the presence type on-device.",
13831
- "name": "--mdc-presence-on-device-background-color"
13972
+ "description": "color of the label when disabled",
13973
+ "name": "--mdc-radio-text-disabled-color"
13832
13974
  },
13833
13975
  {
13834
- "description": "The background color of the presence type on-mobile.",
13835
- "name": "--mdc-presence-on-mobile-background-color"
13976
+ "description": "color of the radio button when inactive and hovered",
13977
+ "name": "--mdc-radio-control-inactive-hover"
13836
13978
  },
13837
13979
  {
13838
- "description": "The background color of the presence type pause.",
13839
- "name": "--mdc-presence-pause-background-color"
13980
+ "description": "color of the radio button when inactive and pressed",
13981
+ "name": "--mdc-radio-control-inactive-pressed-color"
13840
13982
  },
13841
13983
  {
13842
- "description": "The background color of the presence type pto.",
13843
- "name": "--mdc-presence-pto-background-color"
13984
+ "description": "color of the radio button when active and hovered",
13985
+ "name": "--mdc-radio-control-active-hover-color"
13844
13986
  },
13845
13987
  {
13846
- "description": "The background color of the presence type presenting.",
13847
- "name": "--mdc-presence-presenting-background-color"
13988
+ "description": "color of the radio button when active and pressed",
13989
+ "name": "--mdc-radio-control-active-pressed-color"
13848
13990
  },
13849
13991
  {
13850
- "description": "The background color of the presence type quiet.",
13851
- "name": "--mdc-presence-quiet-background-color"
13992
+ "description": "color of the radio button when disabled",
13993
+ "name": "--mdc-radio-disabled-border-color"
13852
13994
  },
13853
13995
  {
13854
- "description": "The background color of the presence type scheduled.",
13855
- "name": "--mdc-presence-scheduled-background-color"
13996
+ "description": "color of the radio button when active and disabled",
13997
+ "name": "--mdc-radio-control-active-disabled-background"
13856
13998
  },
13857
13999
  {
13858
- "description": "The background color of the presence type overlay.",
13859
- "name": "--mdc-presence-overlay-background-color"
14000
+ "description": "color of the radio button when inactive and disabled",
14001
+ "name": "--mdc-radio-control-inactive-disabled-background"
13860
14002
  }
13861
14003
  ],
13862
14004
  "members": [
13863
14005
  {
13864
14006
  "kind": "field",
13865
- "name": "type",
14007
+ "name": "checked",
13866
14008
  "type": {
13867
- "text": "PresenceType"
14009
+ "text": "boolean"
13868
14010
  },
13869
- "description": "Supported presence types:\n- `active`\n- `away`\n- `away-calling`\n- `busy`\n- `dnd`\n- `meeting`\n- `on-call`\n- `on-device`\n- `on-mobile`\n- `pause`\n- `pto`\n- `presenting`\n- `quiet`\n- `scheduled`",
13870
- "default": "active",
13871
- "attribute": "type",
14011
+ "default": "false",
14012
+ "description": "Determines whether the radio is selected or unselected.",
14013
+ "attribute": "checked",
13872
14014
  "reflects": true
13873
14015
  },
13874
14016
  {
13875
14017
  "kind": "field",
13876
- "name": "size",
14018
+ "name": "readonly",
13877
14019
  "type": {
13878
- "text": "PresenceSize"
14020
+ "text": "boolean"
13879
14021
  },
13880
- "description": "Acceptable values include:\n- XX_SMALL\n- X_SMALL\n- SMALL\n- MIDSIZE\n- LARGE\n- X_LARGE\n- XX_LARGE\n\nPresence icons are minimum 14px in size, meaning XX_Small, X_Small and Small presence\nicons will be no smaller than 14px.",
13881
- "default": "small",
13882
- "attribute": "size",
14022
+ "default": "false",
14023
+ "description": "Determines whether the radio is read-only.",
14024
+ "attribute": "readonly",
13883
14025
  "reflects": true
13884
14026
  },
13885
14027
  {
13886
14028
  "kind": "field",
13887
- "name": "iconSize",
13888
- "privacy": "private",
13889
- "description": "Get the size of the presence icon based on the given size type",
13890
- "readonly": true
14029
+ "name": "autofocus",
14030
+ "type": {
14031
+ "text": "boolean"
14032
+ },
14033
+ "default": "false",
14034
+ "description": "Automatically focus on the element when the page loads.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
14035
+ "attribute": "autofocus",
14036
+ "reflects": true
13891
14037
  },
13892
14038
  {
13893
- "kind": "field",
13894
- "name": "icon",
14039
+ "kind": "method",
14040
+ "name": "getAllRadiosWithinSameGroup",
13895
14041
  "privacy": "private",
13896
- "description": "Get the icon name based on the presence type",
13897
- "readonly": true
14042
+ "return": {
14043
+ "type": {
14044
+ "text": "Radio[]"
14045
+ }
14046
+ },
14047
+ "description": "Returns all radios within the same group (name)."
13898
14048
  },
13899
14049
  {
13900
14050
  "kind": "method",
13901
- "name": "handleOnLoad",
14051
+ "name": "dispatchChangeEvent",
13902
14052
  "privacy": "private",
13903
14053
  "return": {
13904
14054
  "type": {
13905
14055
  "text": "void"
13906
14056
  }
13907
14057
  },
13908
- "description": "Handles the successful load of an icon.\nSets the `currentIconType` property to match the `type` property."
14058
+ "parameters": [
14059
+ {
14060
+ "name": "event",
14061
+ "type": {
14062
+ "text": "Event"
14063
+ }
14064
+ }
14065
+ ],
14066
+ "description": "The 'change' event does not bubble up through the shadow DOM as it was not composed.\nTherefore, we need to re-dispatch the same event to ensure it is propagated correctly.\nRead more: https://developer.mozilla.org/en-US/docs/Web/API/Event/composed"
13909
14067
  },
13910
14068
  {
13911
14069
  "kind": "method",
13912
- "name": "handleOnError",
14070
+ "name": "setGroupValidity",
14071
+ "privacy": "private",
14072
+ "parameters": [
14073
+ {
14074
+ "name": "radios",
14075
+ "type": {
14076
+ "text": "Radio[]"
14077
+ },
14078
+ "description": "Array of radios of the same group"
14079
+ },
14080
+ {
14081
+ "name": "isValid",
14082
+ "type": {
14083
+ "text": "boolean"
14084
+ },
14085
+ "description": "Boolean value to set the validity of the group"
14086
+ }
14087
+ ],
14088
+ "description": "Sets the validity of the group of radios."
14089
+ },
14090
+ {
14091
+ "kind": "method",
14092
+ "name": "setActualFormValue",
14093
+ "privacy": "private",
14094
+ "description": "Updates the form value to reflect the current state of the radio.\nIf checked, the value is set to the user-provided value.\nIf unchecked, the value is set to null."
14095
+ },
14096
+ {
14097
+ "kind": "method",
14098
+ "name": "handleChange",
13913
14099
  "privacy": "private",
13914
14100
  "return": {
13915
14101
  "type": {
13916
14102
  "text": "void"
13917
14103
  }
13918
14104
  },
13919
- "description": "Handles an error that occurs when loading an icon."
13920
- }
13921
- ],
13922
- "attributes": [
14105
+ "parameters": [
14106
+ {
14107
+ "name": "event",
14108
+ "type": {
14109
+ "text": "Event"
14110
+ }
14111
+ }
14112
+ ],
14113
+ "description": "Handles the change event on the radio element.\nThis will toggle the state of the radio element.\nDispatches the change event."
14114
+ },
13923
14115
  {
13924
- "name": "type",
13925
- "type": {
13926
- "text": "PresenceType"
14116
+ "kind": "method",
14117
+ "name": "updateRadio",
14118
+ "privacy": "private",
14119
+ "parameters": [
14120
+ {
14121
+ "name": "enabledRadios",
14122
+ "type": {
14123
+ "text": "Radio[]"
14124
+ },
14125
+ "description": "An array of enabled radio buttons within the same group."
14126
+ },
14127
+ {
14128
+ "name": "index",
14129
+ "type": {
14130
+ "text": "number"
14131
+ },
14132
+ "description": "The index of the radio button to be updated within the enabled radios array."
14133
+ },
14134
+ {
14135
+ "name": "event",
14136
+ "type": {
14137
+ "text": "Event"
14138
+ },
14139
+ "description": "The event that triggered the update."
14140
+ }
14141
+ ],
14142
+ "description": "Updates the state of the radio button at the specified index within the enabled radios.\nFocuses the radio button and triggers the change event if the radio button is not read-only."
14143
+ },
14144
+ {
14145
+ "kind": "method",
14146
+ "name": "handleKeyDown",
14147
+ "privacy": "private",
14148
+ "return": {
14149
+ "type": {
14150
+ "text": "void"
14151
+ }
13927
14152
  },
13928
- "description": "Supported presence types:\n- `active`\n- `away`\n- `away-calling`\n- `busy`\n- `dnd`\n- `meeting`\n- `on-call`\n- `on-device`\n- `on-mobile`\n- `pause`\n- `pto`\n- `presenting`\n- `quiet`\n- `scheduled`",
13929
- "default": "active",
13930
- "fieldName": "type"
14153
+ "parameters": [
14154
+ {
14155
+ "name": "event",
14156
+ "type": {
14157
+ "text": "KeyboardEvent"
14158
+ }
14159
+ }
14160
+ ],
14161
+ "description": "Handles the keydown event (Arrow Up/Down/Left/Right) on the radio element."
13931
14162
  },
13932
14163
  {
13933
- "name": "size",
13934
- "type": {
13935
- "text": "PresenceSize"
14164
+ "kind": "method",
14165
+ "name": "updateTabIndex",
14166
+ "privacy": "private",
14167
+ "return": {
14168
+ "type": {
14169
+ "text": "void"
14170
+ }
13936
14171
  },
13937
- "description": "Acceptable values include:\n- XX_SMALL\n- X_SMALL\n- SMALL\n- MIDSIZE\n- LARGE\n- X_LARGE\n- XX_LARGE\n\nPresence icons are minimum 14px in size, meaning XX_Small, X_Small and Small presence\nicons will be no smaller than 14px.",
13938
- "default": "small",
13939
- "fieldName": "size"
13940
- }
13941
- ],
13942
- "superclass": {
13943
- "name": "Component",
13944
- "module": "/src/models"
13945
- },
13946
- "tagName": "mdc-presence",
13947
- "jsDoc": "/**\n * The `mdc-presence` component is a versatile UI element used to\n * display the presence status of a user or entity within an avatar component.\n *\n * This component is ideal for use within avatar UIs where the presence status\n * needs to be visually represented.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-presence\n *\n * @cssproperty --mdc-presence-active-background-color - The background color of the presence type active.\n * @cssproperty --mdc-presence-away-background-color - The background color of the presence type away.\n * @cssproperty --mdc-presence-away-calling-background-color - The background color of the presence type away-calling.\n * @cssproperty --mdc-presence-busy-background-color - The background color of the presence type busy.\n * @cssproperty --mdc-presence-dnd-background-color - The background color of the presence type dnd.\n * @cssproperty --mdc-presence-meeting-background-color - The background color of the presence type meeting.\n * @cssproperty --mdc-presence-on-call-background-color - The background color of the presence type on-call.\n * @cssproperty --mdc-presence-on-device-background-color - The background color of the presence type on-device.\n * @cssproperty --mdc-presence-on-mobile-background-color - The background color of the presence type on-mobile.\n * @cssproperty --mdc-presence-pause-background-color - The background color of the presence type pause.\n * @cssproperty --mdc-presence-pto-background-color - The background color of the presence type pto.\n * @cssproperty --mdc-presence-presenting-background-color - The background color of the presence type presenting.\n * @cssproperty --mdc-presence-quiet-background-color - The background color of the presence type quiet.\n * @cssproperty --mdc-presence-scheduled-background-color - The background color of the presence type scheduled.\n * @cssproperty --mdc-presence-overlay-background-color - The background color of the presence type overlay.\n */",
13948
- "customElement": true
13949
- }
13950
- ],
13951
- "exports": [
13952
- {
13953
- "kind": "js",
13954
- "name": "default",
13955
- "declaration": {
13956
- "name": "Presence",
13957
- "module": "components/presence/presence.component.js"
13958
- }
13959
- }
13960
- ]
13961
- },
13962
- {
13963
- "kind": "javascript-module",
13964
- "path": "components/radiogroup/radiogroup.component.js",
13965
- "declarations": [
13966
- {
13967
- "kind": "class",
13968
- "description": "`mdc-radiogroup` - This is the wrapper component for radio buttons which are grouped together.\nIt can have a header text and a description. It enables users to select a single option from a set of options.\nIt is often used in forms, settings, and selection in lists. It automatically group the radio buttons inside it.",
13969
- "name": "RadioGroup",
13970
- "cssProperties": [
14172
+ "description": "Update tab index for all radios in the same group (name)\nIf any radio group is checked, it will have a tab index of 0\nIf no radio group is checked, the first enabled radio will have a tab index of 0"
14173
+ },
13971
14174
  {
13972
- "description": "color of the description text",
13973
- "name": "--mdc-radiogroup-description-text-normal"
13974
- }
13975
- ],
13976
- "members": [
14175
+ "kind": "field",
14176
+ "name": "renderLabelAndHelperText",
14177
+ "privacy": "private"
14178
+ },
13977
14179
  {
13978
14180
  "kind": "field",
13979
14181
  "name": "name",
@@ -13981,77 +14183,167 @@
13981
14183
  "text": "string"
13982
14184
  },
13983
14185
  "default": "''",
13984
- "description": "Name of the radio group.\nThey are used to group elements in a form together.",
13985
- "attribute": "name"
13986
- },
13987
- {
13988
- "kind": "field",
13989
- "name": "dataAriaLabel",
13990
- "type": {
13991
- "text": "string | null"
13992
- },
13993
- "default": "null",
13994
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
13995
- "attribute": "data-aria-label",
14186
+ "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
14187
+ "attribute": "name",
13996
14188
  "reflects": true,
13997
14189
  "inheritedFrom": {
13998
- "name": "DataAriaLabelMixin",
13999
- "module": "utils/mixins/DataAriaLabelMixin.js"
14190
+ "name": "FormInternalsMixin",
14191
+ "module": "utils/mixins/FormInternalsMixin.js"
14000
14192
  }
14001
14193
  },
14002
14194
  {
14003
14195
  "kind": "field",
14004
- "name": "disabled",
14196
+ "name": "value",
14005
14197
  "type": {
14006
- "text": "boolean | undefined"
14198
+ "text": "string"
14007
14199
  },
14008
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
14009
- "default": "undefined",
14010
- "attribute": "disabled",
14200
+ "default": "''",
14201
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
14202
+ "attribute": "value",
14011
14203
  "reflects": true,
14012
14204
  "inheritedFrom": {
14013
- "name": "FormfieldWrapper",
14014
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
14205
+ "name": "FormInternalsMixin",
14206
+ "module": "utils/mixins/FormInternalsMixin.js"
14015
14207
  }
14016
14208
  },
14017
14209
  {
14018
14210
  "kind": "field",
14019
- "name": "label",
14211
+ "name": "validationMessage",
14020
14212
  "type": {
14021
14213
  "text": "string | undefined"
14022
14214
  },
14023
- "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
14024
- "attribute": "label",
14215
+ "description": "Custom validation message that will override the default message and displayed when the input is invalid.",
14216
+ "attribute": "validation-message",
14025
14217
  "reflects": true,
14026
14218
  "inheritedFrom": {
14027
- "name": "FormfieldWrapper",
14028
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
14219
+ "name": "FormInternalsMixin",
14220
+ "module": "utils/mixins/FormInternalsMixin.js"
14029
14221
  }
14030
14222
  },
14031
14223
  {
14032
14224
  "kind": "field",
14033
- "name": "requiredLabel",
14225
+ "name": "validity",
14034
14226
  "type": {
14035
- "text": "string | undefined"
14227
+ "text": "ValidityState"
14036
14228
  },
14037
- "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.",
14038
- "attribute": "required-label",
14039
- "reflects": true,
14229
+ "readonly": true,
14040
14230
  "inheritedFrom": {
14041
- "name": "FormfieldWrapper",
14042
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
14231
+ "name": "FormInternalsMixin",
14232
+ "module": "utils/mixins/FormInternalsMixin.js"
14043
14233
  }
14044
14234
  },
14045
14235
  {
14046
14236
  "kind": "field",
14047
- "name": "id",
14048
- "type": {
14049
- "text": "string"
14050
- },
14051
- "default": "''",
14052
- "description": "The unique id of the input field. It is used to link the input field with the label.",
14053
- "attribute": "id",
14054
- "inheritedFrom": {
14237
+ "name": "willValidate",
14238
+ "readonly": true,
14239
+ "inheritedFrom": {
14240
+ "name": "FormInternalsMixin",
14241
+ "module": "utils/mixins/FormInternalsMixin.js"
14242
+ }
14243
+ },
14244
+ {
14245
+ "kind": "method",
14246
+ "name": "setValidity",
14247
+ "description": "Sets the validity of the input field based on the input field's validity.",
14248
+ "return": {
14249
+ "type": {
14250
+ "text": ""
14251
+ }
14252
+ },
14253
+ "inheritedFrom": {
14254
+ "name": "FormInternalsMixin",
14255
+ "module": "utils/mixins/FormInternalsMixin.js"
14256
+ }
14257
+ },
14258
+ {
14259
+ "kind": "method",
14260
+ "name": "checkValidity",
14261
+ "return": {
14262
+ "type": {
14263
+ "text": "boolean"
14264
+ }
14265
+ },
14266
+ "inheritedFrom": {
14267
+ "name": "FormInternalsMixin",
14268
+ "module": "utils/mixins/FormInternalsMixin.js"
14269
+ }
14270
+ },
14271
+ {
14272
+ "kind": "method",
14273
+ "name": "reportValidity",
14274
+ "inheritedFrom": {
14275
+ "name": "FormInternalsMixin",
14276
+ "module": "utils/mixins/FormInternalsMixin.js"
14277
+ }
14278
+ },
14279
+ {
14280
+ "kind": "field",
14281
+ "name": "dataAriaLabel",
14282
+ "type": {
14283
+ "text": "string | null"
14284
+ },
14285
+ "default": "null",
14286
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
14287
+ "attribute": "data-aria-label",
14288
+ "reflects": true,
14289
+ "inheritedFrom": {
14290
+ "name": "DataAriaLabelMixin",
14291
+ "module": "utils/mixins/DataAriaLabelMixin.js"
14292
+ }
14293
+ },
14294
+ {
14295
+ "kind": "field",
14296
+ "name": "disabled",
14297
+ "type": {
14298
+ "text": "boolean | undefined"
14299
+ },
14300
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
14301
+ "default": "undefined",
14302
+ "attribute": "disabled",
14303
+ "reflects": true,
14304
+ "inheritedFrom": {
14305
+ "name": "FormfieldWrapper",
14306
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
14307
+ }
14308
+ },
14309
+ {
14310
+ "kind": "field",
14311
+ "name": "label",
14312
+ "type": {
14313
+ "text": "string | undefined"
14314
+ },
14315
+ "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
14316
+ "attribute": "label",
14317
+ "reflects": true,
14318
+ "inheritedFrom": {
14319
+ "name": "FormfieldWrapper",
14320
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
14321
+ }
14322
+ },
14323
+ {
14324
+ "kind": "field",
14325
+ "name": "requiredLabel",
14326
+ "type": {
14327
+ "text": "string | undefined"
14328
+ },
14329
+ "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.",
14330
+ "attribute": "required-label",
14331
+ "reflects": true,
14332
+ "inheritedFrom": {
14333
+ "name": "FormfieldWrapper",
14334
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
14335
+ }
14336
+ },
14337
+ {
14338
+ "kind": "field",
14339
+ "name": "id",
14340
+ "type": {
14341
+ "text": "string"
14342
+ },
14343
+ "default": "''",
14344
+ "description": "The unique id of the input field. It is used to link the input field with the label.",
14345
+ "attribute": "id",
14346
+ "inheritedFrom": {
14055
14347
  "name": "FormfieldWrapper",
14056
14348
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
14057
14349
  }
@@ -14169,458 +14461,241 @@
14169
14461
  }
14170
14462
  }
14171
14463
  ],
14172
- "attributes": [
14173
- {
14174
- "name": "name",
14175
- "type": {
14176
- "text": "string"
14177
- },
14178
- "default": "''",
14179
- "description": "Name of the radio group.\nThey are used to group elements in a form together.",
14180
- "fieldName": "name"
14181
- },
14182
- {
14183
- "name": "data-aria-label",
14184
- "type": {
14185
- "text": "string | null"
14186
- },
14187
- "default": "null",
14188
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
14189
- "fieldName": "dataAriaLabel",
14190
- "inheritedFrom": {
14191
- "name": "DataAriaLabelMixin",
14192
- "module": "src/utils/mixins/DataAriaLabelMixin.ts"
14193
- }
14194
- },
14195
- {
14196
- "name": "disabled",
14197
- "type": {
14198
- "text": "boolean | undefined"
14199
- },
14200
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
14201
- "default": "undefined",
14202
- "fieldName": "disabled",
14203
- "inheritedFrom": {
14204
- "name": "FormfieldWrapper",
14205
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
14206
- }
14207
- },
14208
- {
14209
- "name": "label",
14210
- "type": {
14211
- "text": "string | undefined"
14212
- },
14213
- "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
14214
- "fieldName": "label",
14215
- "inheritedFrom": {
14216
- "name": "FormfieldWrapper",
14217
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
14218
- }
14219
- },
14220
- {
14221
- "name": "required-label",
14222
- "type": {
14223
- "text": "string | undefined"
14224
- },
14225
- "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.",
14226
- "fieldName": "requiredLabel",
14227
- "inheritedFrom": {
14228
- "name": "FormfieldWrapper",
14229
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
14230
- }
14231
- },
14232
- {
14233
- "name": "id",
14234
- "type": {
14235
- "text": "string"
14236
- },
14237
- "default": "''",
14238
- "description": "The unique id of the input field. It is used to link the input field with the label.",
14239
- "fieldName": "id",
14240
- "inheritedFrom": {
14241
- "name": "FormfieldWrapper",
14242
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
14243
- }
14244
- },
14245
- {
14246
- "name": "help-text-type",
14247
- "type": {
14248
- "text": "ValidationType"
14249
- },
14250
- "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
14251
- "fieldName": "helpTextType",
14252
- "inheritedFrom": {
14253
- "name": "FormfieldWrapper",
14254
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
14255
- }
14256
- },
14464
+ "events": [
14257
14465
  {
14258
- "name": "help-text",
14259
14466
  "type": {
14260
- "text": "string | undefined"
14261
- },
14262
- "description": "The help text that is displayed below the input field.",
14263
- "fieldName": "helpText",
14264
- "inheritedFrom": {
14265
- "name": "FormfieldWrapper",
14266
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
14267
- }
14268
- }
14269
- ],
14270
- "superclass": {
14271
- "name": "FormfieldGroup",
14272
- "module": "/src/components/formfieldgroup"
14273
- },
14274
- "tagName": "mdc-radiogroup",
14275
- "jsDoc": "/**\n * `mdc-radiogroup` - This is the wrapper component for radio buttons which are grouped together.\n * It can have a header text and a description. It enables users to select a single option from a set of options.\n * It is often used in forms, settings, and selection in lists. It automatically group the radio buttons inside it.\n *\n * @tagname mdc-radiogroup\n *\n * @cssproperty --mdc-radiogroup-description-text-normal - color of the description text\n *\n */",
14276
- "customElement": true,
14277
- "slots": [
14278
- {
14279
- "description": "This is a default slot for checkbox or toggle components.",
14280
- "name": "default",
14281
- "inheritedFrom": {
14282
- "name": "FormfieldGroup",
14283
- "module": "src/components/formfieldgroup/formfieldgroup.component.ts"
14284
- }
14285
- },
14286
- {
14287
- "description": "slot to add the label info icon",
14288
- "name": "label-info",
14289
- "inheritedFrom": {
14290
- "name": "FormfieldWrapper",
14291
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
14467
+ "text": "EventConstructor"
14292
14468
  }
14293
- }
14294
- ]
14295
- }
14296
- ],
14297
- "exports": [
14298
- {
14299
- "kind": "js",
14300
- "name": "default",
14301
- "declaration": {
14302
- "name": "RadioGroup",
14303
- "module": "components/radiogroup/radiogroup.component.js"
14304
- }
14305
- }
14306
- ]
14307
- },
14308
- {
14309
- "kind": "javascript-module",
14310
- "path": "components/radio/radio.component.js",
14311
- "declarations": [
14312
- {
14313
- "kind": "class",
14314
- "description": "Radio allow users to select single options from a list or turn an item/feature on or off.\nThese are often used in forms, settings, and selection in lists.\n\nA radio component contains an optional label, optional info icon and an optional helper text.",
14315
- "name": "Radio",
14316
- "cssProperties": [
14317
- {
14318
- "description": "color of the label when disabled",
14319
- "name": "--mdc-radio-text-disabled-color"
14320
- },
14321
- {
14322
- "description": "color of the radio button when inactive and hovered",
14323
- "name": "--mdc-radio-control-inactive-hover"
14324
14469
  },
14325
14470
  {
14326
- "description": "color of the radio button when inactive and pressed",
14327
- "name": "--mdc-radio-control-inactive-pressed-color"
14328
- },
14329
- {
14330
- "description": "color of the radio button when active and hovered",
14331
- "name": "--mdc-radio-control-active-hover-color"
14332
- },
14333
- {
14334
- "description": "color of the radio button when active and pressed",
14335
- "name": "--mdc-radio-control-active-pressed-color"
14336
- },
14337
- {
14338
- "description": "color of the radio button when disabled",
14339
- "name": "--mdc-radio-disabled-border-color"
14340
- },
14341
- {
14342
- "description": "color of the radio button when active and disabled",
14343
- "name": "--mdc-radio-control-active-disabled-background"
14471
+ "description": "(React: onChange) Event that gets dispatched when the radio state changes.",
14472
+ "name": "change",
14473
+ "reactName": "onChange"
14344
14474
  },
14345
14475
  {
14346
- "description": "color of the radio button when inactive and disabled",
14347
- "name": "--mdc-radio-control-inactive-disabled-background"
14476
+ "description": "(React: onFocus) Event that gets dispatched when the radio receives focus.",
14477
+ "name": "focus",
14478
+ "reactName": "onFocus"
14348
14479
  }
14349
14480
  ],
14350
- "members": [
14481
+ "attributes": [
14351
14482
  {
14352
- "kind": "field",
14353
14483
  "name": "checked",
14354
14484
  "type": {
14355
14485
  "text": "boolean"
14356
14486
  },
14357
14487
  "default": "false",
14358
14488
  "description": "Determines whether the radio is selected or unselected.",
14359
- "attribute": "checked",
14360
- "reflects": true
14489
+ "fieldName": "checked"
14361
14490
  },
14362
14491
  {
14363
- "kind": "field",
14364
14492
  "name": "readonly",
14365
14493
  "type": {
14366
14494
  "text": "boolean"
14367
14495
  },
14368
14496
  "default": "false",
14369
14497
  "description": "Determines whether the radio is read-only.",
14370
- "attribute": "readonly",
14371
- "reflects": true
14498
+ "fieldName": "readonly"
14372
14499
  },
14373
14500
  {
14374
- "kind": "field",
14375
14501
  "name": "autofocus",
14376
14502
  "type": {
14377
14503
  "text": "boolean"
14378
14504
  },
14379
14505
  "default": "false",
14380
14506
  "description": "Automatically focus on the element when the page loads.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
14381
- "attribute": "autofocus",
14382
- "reflects": true
14383
- },
14384
- {
14385
- "kind": "method",
14386
- "name": "getAllRadiosWithinSameGroup",
14387
- "privacy": "private",
14388
- "return": {
14389
- "type": {
14390
- "text": "Radio[]"
14391
- }
14392
- },
14393
- "description": "Returns all radios within the same group (name)."
14394
- },
14395
- {
14396
- "kind": "method",
14397
- "name": "dispatchChangeEvent",
14398
- "privacy": "private",
14399
- "return": {
14400
- "type": {
14401
- "text": "void"
14402
- }
14403
- },
14404
- "parameters": [
14405
- {
14406
- "name": "event",
14407
- "type": {
14408
- "text": "Event"
14409
- }
14410
- }
14411
- ],
14412
- "description": "The 'change' event does not bubble up through the shadow DOM as it was not composed.\nTherefore, we need to re-dispatch the same event to ensure it is propagated correctly.\nRead more: https://developer.mozilla.org/en-US/docs/Web/API/Event/composed"
14413
- },
14414
- {
14415
- "kind": "method",
14416
- "name": "setGroupValidity",
14417
- "privacy": "private",
14418
- "parameters": [
14419
- {
14420
- "name": "radios",
14421
- "type": {
14422
- "text": "Radio[]"
14423
- },
14424
- "description": "Array of radios of the same group"
14425
- },
14426
- {
14427
- "name": "isValid",
14428
- "type": {
14429
- "text": "boolean"
14430
- },
14431
- "description": "Boolean value to set the validity of the group"
14432
- }
14433
- ],
14434
- "description": "Sets the validity of the group of radios."
14435
- },
14436
- {
14437
- "kind": "method",
14438
- "name": "setActualFormValue",
14439
- "privacy": "private",
14440
- "description": "Updates the form value to reflect the current state of the radio.\nIf checked, the value is set to the user-provided value.\nIf unchecked, the value is set to null."
14507
+ "fieldName": "autofocus"
14441
14508
  },
14442
14509
  {
14443
- "kind": "method",
14444
- "name": "handleChange",
14445
- "privacy": "private",
14446
- "return": {
14447
- "type": {
14448
- "text": "void"
14449
- }
14510
+ "name": "name",
14511
+ "type": {
14512
+ "text": "string"
14450
14513
  },
14451
- "parameters": [
14452
- {
14453
- "name": "event",
14454
- "type": {
14455
- "text": "Event"
14456
- }
14457
- }
14458
- ],
14459
- "description": "Handles the change event on the radio element.\nThis will toggle the state of the radio element.\nDispatches the change event."
14460
- },
14461
- {
14462
- "kind": "method",
14463
- "name": "updateRadio",
14464
- "privacy": "private",
14465
- "parameters": [
14466
- {
14467
- "name": "enabledRadios",
14468
- "type": {
14469
- "text": "Radio[]"
14470
- },
14471
- "description": "An array of enabled radio buttons within the same group."
14472
- },
14473
- {
14474
- "name": "index",
14475
- "type": {
14476
- "text": "number"
14477
- },
14478
- "description": "The index of the radio button to be updated within the enabled radios array."
14479
- },
14480
- {
14481
- "name": "event",
14482
- "type": {
14483
- "text": "Event"
14484
- },
14485
- "description": "The event that triggered the update."
14486
- }
14487
- ],
14488
- "description": "Updates the state of the radio button at the specified index within the enabled radios.\nFocuses the radio button and triggers the change event if the radio button is not read-only."
14514
+ "default": "''",
14515
+ "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
14516
+ "fieldName": "name",
14517
+ "inheritedFrom": {
14518
+ "name": "FormInternalsMixin",
14519
+ "module": "src/utils/mixins/FormInternalsMixin.ts"
14520
+ }
14489
14521
  },
14490
14522
  {
14491
- "kind": "method",
14492
- "name": "handleKeyDown",
14493
- "privacy": "private",
14494
- "return": {
14495
- "type": {
14496
- "text": "void"
14497
- }
14523
+ "name": "value",
14524
+ "type": {
14525
+ "text": "string"
14498
14526
  },
14499
- "parameters": [
14500
- {
14501
- "name": "event",
14502
- "type": {
14503
- "text": "KeyboardEvent"
14504
- }
14505
- }
14506
- ],
14507
- "description": "Handles the keydown event (Arrow Up/Down/Left/Right) on the radio element."
14527
+ "default": "''",
14528
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
14529
+ "fieldName": "value",
14530
+ "inheritedFrom": {
14531
+ "name": "FormInternalsMixin",
14532
+ "module": "src/utils/mixins/FormInternalsMixin.ts"
14533
+ }
14508
14534
  },
14509
14535
  {
14510
- "kind": "method",
14511
- "name": "updateTabIndex",
14512
- "privacy": "private",
14513
- "return": {
14514
- "type": {
14515
- "text": "void"
14516
- }
14536
+ "name": "validation-message",
14537
+ "type": {
14538
+ "text": "string | undefined"
14517
14539
  },
14518
- "description": "Update tab index for all radios in the same group (name)\nIf any radio group is checked, it will have a tab index of 0\nIf no radio group is checked, the first enabled radio will have a tab index of 0"
14519
- },
14520
- {
14521
- "kind": "field",
14522
- "name": "renderLabelAndHelperText",
14523
- "privacy": "private"
14540
+ "description": "Custom validation message that will override the default message and displayed when the input is invalid.",
14541
+ "fieldName": "validationMessage",
14542
+ "inheritedFrom": {
14543
+ "name": "FormInternalsMixin",
14544
+ "module": "src/utils/mixins/FormInternalsMixin.ts"
14545
+ }
14524
14546
  },
14525
14547
  {
14526
- "kind": "field",
14527
- "name": "name",
14548
+ "name": "data-aria-label",
14528
14549
  "type": {
14529
- "text": "string"
14550
+ "text": "string | null"
14530
14551
  },
14531
- "default": "''",
14532
- "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
14533
- "attribute": "name",
14534
- "reflects": true,
14552
+ "default": "null",
14553
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
14554
+ "fieldName": "dataAriaLabel",
14535
14555
  "inheritedFrom": {
14536
- "name": "FormInternalsMixin",
14537
- "module": "utils/mixins/FormInternalsMixin.js"
14556
+ "name": "DataAriaLabelMixin",
14557
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
14538
14558
  }
14539
14559
  },
14540
14560
  {
14541
- "kind": "field",
14542
- "name": "value",
14561
+ "name": "disabled",
14543
14562
  "type": {
14544
- "text": "string"
14563
+ "text": "boolean | undefined"
14545
14564
  },
14546
- "default": "''",
14547
- "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
14548
- "attribute": "value",
14549
- "reflects": true,
14565
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
14566
+ "default": "undefined",
14567
+ "fieldName": "disabled",
14550
14568
  "inheritedFrom": {
14551
- "name": "FormInternalsMixin",
14552
- "module": "utils/mixins/FormInternalsMixin.js"
14569
+ "name": "FormfieldWrapper",
14570
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
14553
14571
  }
14554
14572
  },
14555
14573
  {
14556
- "kind": "field",
14557
- "name": "validationMessage",
14574
+ "name": "label",
14558
14575
  "type": {
14559
14576
  "text": "string | undefined"
14560
14577
  },
14561
- "description": "Custom validation message that will override the default message and displayed when the input is invalid.",
14562
- "attribute": "validation-message",
14563
- "reflects": true,
14578
+ "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
14579
+ "fieldName": "label",
14564
14580
  "inheritedFrom": {
14565
- "name": "FormInternalsMixin",
14566
- "module": "utils/mixins/FormInternalsMixin.js"
14581
+ "name": "FormfieldWrapper",
14582
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
14567
14583
  }
14568
14584
  },
14569
14585
  {
14570
- "kind": "field",
14571
- "name": "validity",
14586
+ "name": "required-label",
14572
14587
  "type": {
14573
- "text": "ValidityState"
14588
+ "text": "string | undefined"
14574
14589
  },
14575
- "readonly": true,
14590
+ "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.",
14591
+ "fieldName": "requiredLabel",
14576
14592
  "inheritedFrom": {
14577
- "name": "FormInternalsMixin",
14578
- "module": "utils/mixins/FormInternalsMixin.js"
14593
+ "name": "FormfieldWrapper",
14594
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
14579
14595
  }
14580
14596
  },
14581
14597
  {
14582
- "kind": "field",
14583
- "name": "willValidate",
14584
- "readonly": true,
14598
+ "name": "id",
14599
+ "type": {
14600
+ "text": "string"
14601
+ },
14602
+ "default": "''",
14603
+ "description": "The unique id of the input field. It is used to link the input field with the label.",
14604
+ "fieldName": "id",
14585
14605
  "inheritedFrom": {
14586
- "name": "FormInternalsMixin",
14587
- "module": "utils/mixins/FormInternalsMixin.js"
14606
+ "name": "FormfieldWrapper",
14607
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
14588
14608
  }
14589
14609
  },
14590
14610
  {
14591
- "kind": "method",
14592
- "name": "setValidity",
14593
- "description": "Sets the validity of the input field based on the input field's validity.",
14594
- "return": {
14595
- "type": {
14596
- "text": ""
14597
- }
14611
+ "name": "help-text-type",
14612
+ "type": {
14613
+ "text": "ValidationType"
14598
14614
  },
14615
+ "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
14616
+ "fieldName": "helpTextType",
14599
14617
  "inheritedFrom": {
14600
- "name": "FormInternalsMixin",
14601
- "module": "utils/mixins/FormInternalsMixin.js"
14618
+ "name": "FormfieldWrapper",
14619
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
14602
14620
  }
14603
14621
  },
14604
14622
  {
14605
- "kind": "method",
14606
- "name": "checkValidity",
14607
- "return": {
14608
- "type": {
14609
- "text": "boolean"
14610
- }
14623
+ "name": "help-text",
14624
+ "type": {
14625
+ "text": "string | undefined"
14611
14626
  },
14627
+ "description": "The help text that is displayed below the input field.",
14628
+ "fieldName": "helpText",
14612
14629
  "inheritedFrom": {
14613
- "name": "FormInternalsMixin",
14614
- "module": "utils/mixins/FormInternalsMixin.js"
14630
+ "name": "FormfieldWrapper",
14631
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
14615
14632
  }
14633
+ }
14634
+ ],
14635
+ "mixins": [
14636
+ {
14637
+ "name": "FormInternalsMixin",
14638
+ "module": "/src/utils/mixins/FormInternalsMixin"
14616
14639
  },
14617
14640
  {
14618
- "kind": "method",
14619
- "name": "reportValidity",
14641
+ "name": "DataAriaLabelMixin",
14642
+ "module": "/src/utils/mixins/DataAriaLabelMixin"
14643
+ }
14644
+ ],
14645
+ "superclass": {
14646
+ "name": "FormfieldWrapper",
14647
+ "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
14648
+ },
14649
+ "tagName": "mdc-radio",
14650
+ "jsDoc": "/**\n * Radio allow users to select single options from a list or turn an item/feature on or off.\n * These are often used in forms, settings, and selection in lists.\n *\n * A radio component contains an optional label, optional info icon and an optional helper text.\n * @dependency mdc-formfieldwrapper\n *\n * @tagname mdc-radio\n *\n * @event change - (React: onChange) Event that gets dispatched when the radio state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the radio receives focus.\n *\n * @cssproperty --mdc-radio-text-disabled-color - color of the label when disabled\n * @cssproperty --mdc-radio-control-inactive-hover - color of the radio button when inactive and hovered\n * @cssproperty --mdc-radio-control-inactive-pressed-color - color of the radio button when inactive and pressed\n * @cssproperty --mdc-radio-control-active-hover-color - color of the radio button when active and hovered\n * @cssproperty --mdc-radio-control-active-pressed-color - color of the radio button when active and pressed\n * @cssproperty --mdc-radio-disabled-border-color - color of the radio button when disabled\n * @cssproperty --mdc-radio-control-active-disabled-background - color of the radio button when active and disabled\n * @cssproperty --mdc-radio-control-inactive-disabled-background - color of the radio button when inactive and disabled\n *\n */",
14651
+ "customElement": true,
14652
+ "slots": [
14653
+ {
14654
+ "description": "slot to add the label info icon",
14655
+ "name": "label-info",
14620
14656
  "inheritedFrom": {
14621
- "name": "FormInternalsMixin",
14622
- "module": "utils/mixins/FormInternalsMixin.js"
14657
+ "name": "FormfieldWrapper",
14658
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
14623
14659
  }
14660
+ }
14661
+ ]
14662
+ }
14663
+ ],
14664
+ "exports": [
14665
+ {
14666
+ "kind": "js",
14667
+ "name": "default",
14668
+ "declaration": {
14669
+ "name": "Radio",
14670
+ "module": "components/radio/radio.component.js"
14671
+ }
14672
+ }
14673
+ ]
14674
+ },
14675
+ {
14676
+ "kind": "javascript-module",
14677
+ "path": "components/radiogroup/radiogroup.component.js",
14678
+ "declarations": [
14679
+ {
14680
+ "kind": "class",
14681
+ "description": "`mdc-radiogroup` - This is the wrapper component for radio buttons which are grouped together.\nIt can have a header text and a description. It enables users to select a single option from a set of options.\nIt is often used in forms, settings, and selection in lists. It automatically group the radio buttons inside it.",
14682
+ "name": "RadioGroup",
14683
+ "cssProperties": [
14684
+ {
14685
+ "description": "color of the description text",
14686
+ "name": "--mdc-radiogroup-description-text-normal"
14687
+ }
14688
+ ],
14689
+ "members": [
14690
+ {
14691
+ "kind": "field",
14692
+ "name": "name",
14693
+ "type": {
14694
+ "text": "string"
14695
+ },
14696
+ "default": "''",
14697
+ "description": "Name of the radio group.\nThey are used to group elements in a form together.",
14698
+ "attribute": "name"
14624
14699
  },
14625
14700
  {
14626
14701
  "kind": "field",
@@ -14765,130 +14840,57 @@
14765
14840
  "kind": "method",
14766
14841
  "name": "renderHelpText",
14767
14842
  "privacy": "protected",
14768
- "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.",
14769
- "return": {
14770
- "type": {
14771
- "text": ""
14772
- }
14773
- },
14774
- "inheritedFrom": {
14775
- "name": "FormfieldWrapper",
14776
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
14777
- }
14778
- },
14779
- {
14780
- "kind": "method",
14781
- "name": "renderLabel",
14782
- "privacy": "protected",
14783
- "description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
14784
- "return": {
14785
- "type": {
14786
- "text": ""
14787
- }
14788
- },
14789
- "inheritedFrom": {
14790
- "name": "FormfieldWrapper",
14791
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
14792
- }
14793
- },
14794
- {
14795
- "kind": "method",
14796
- "name": "renderHelperText",
14797
- "privacy": "protected",
14798
- "description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
14799
- "return": {
14800
- "type": {
14801
- "text": ""
14802
- }
14803
- },
14804
- "inheritedFrom": {
14805
- "name": "FormfieldWrapper",
14806
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
14807
- }
14808
- }
14809
- ],
14810
- "events": [
14811
- {
14812
- "type": {
14813
- "text": "EventConstructor"
14814
- }
14815
- },
14816
- {
14817
- "description": "(React: onChange) Event that gets dispatched when the radio state changes.",
14818
- "name": "change",
14819
- "reactName": "onChange"
14820
- },
14821
- {
14822
- "description": "(React: onFocus) Event that gets dispatched when the radio receives focus.",
14823
- "name": "focus",
14824
- "reactName": "onFocus"
14825
- }
14826
- ],
14827
- "attributes": [
14828
- {
14829
- "name": "checked",
14830
- "type": {
14831
- "text": "boolean"
14832
- },
14833
- "default": "false",
14834
- "description": "Determines whether the radio is selected or unselected.",
14835
- "fieldName": "checked"
14836
- },
14837
- {
14838
- "name": "readonly",
14839
- "type": {
14840
- "text": "boolean"
14841
- },
14842
- "default": "false",
14843
- "description": "Determines whether the radio is read-only.",
14844
- "fieldName": "readonly"
14845
- },
14846
- {
14847
- "name": "autofocus",
14848
- "type": {
14849
- "text": "boolean"
14850
- },
14851
- "default": "false",
14852
- "description": "Automatically focus on the element when the page loads.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
14853
- "fieldName": "autofocus"
14854
- },
14855
- {
14856
- "name": "name",
14857
- "type": {
14858
- "text": "string"
14843
+ "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.",
14844
+ "return": {
14845
+ "type": {
14846
+ "text": ""
14847
+ }
14859
14848
  },
14860
- "default": "''",
14861
- "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
14862
- "fieldName": "name",
14863
14849
  "inheritedFrom": {
14864
- "name": "FormInternalsMixin",
14865
- "module": "src/utils/mixins/FormInternalsMixin.ts"
14850
+ "name": "FormfieldWrapper",
14851
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
14866
14852
  }
14867
14853
  },
14868
14854
  {
14869
- "name": "value",
14870
- "type": {
14871
- "text": "string"
14855
+ "kind": "method",
14856
+ "name": "renderLabel",
14857
+ "privacy": "protected",
14858
+ "description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
14859
+ "return": {
14860
+ "type": {
14861
+ "text": ""
14862
+ }
14872
14863
  },
14873
- "default": "''",
14874
- "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
14875
- "fieldName": "value",
14876
14864
  "inheritedFrom": {
14877
- "name": "FormInternalsMixin",
14878
- "module": "src/utils/mixins/FormInternalsMixin.ts"
14865
+ "name": "FormfieldWrapper",
14866
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
14879
14867
  }
14880
14868
  },
14881
14869
  {
14882
- "name": "validation-message",
14883
- "type": {
14884
- "text": "string | undefined"
14870
+ "kind": "method",
14871
+ "name": "renderHelperText",
14872
+ "privacy": "protected",
14873
+ "description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
14874
+ "return": {
14875
+ "type": {
14876
+ "text": ""
14877
+ }
14885
14878
  },
14886
- "description": "Custom validation message that will override the default message and displayed when the input is invalid.",
14887
- "fieldName": "validationMessage",
14888
14879
  "inheritedFrom": {
14889
- "name": "FormInternalsMixin",
14890
- "module": "src/utils/mixins/FormInternalsMixin.ts"
14880
+ "name": "FormfieldWrapper",
14881
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
14891
14882
  }
14883
+ }
14884
+ ],
14885
+ "attributes": [
14886
+ {
14887
+ "name": "name",
14888
+ "type": {
14889
+ "text": "string"
14890
+ },
14891
+ "default": "''",
14892
+ "description": "Name of the radio group.\nThey are used to group elements in a form together.",
14893
+ "fieldName": "name"
14892
14894
  },
14893
14895
  {
14894
14896
  "name": "data-aria-label",
@@ -14978,24 +14980,22 @@
14978
14980
  }
14979
14981
  }
14980
14982
  ],
14981
- "mixins": [
14982
- {
14983
- "name": "FormInternalsMixin",
14984
- "module": "/src/utils/mixins/FormInternalsMixin"
14985
- },
14986
- {
14987
- "name": "DataAriaLabelMixin",
14988
- "module": "/src/utils/mixins/DataAriaLabelMixin"
14989
- }
14990
- ],
14991
14983
  "superclass": {
14992
- "name": "FormfieldWrapper",
14993
- "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
14984
+ "name": "FormfieldGroup",
14985
+ "module": "/src/components/formfieldgroup"
14994
14986
  },
14995
- "tagName": "mdc-radio",
14996
- "jsDoc": "/**\n * Radio allow users to select single options from a list or turn an item/feature on or off.\n * These are often used in forms, settings, and selection in lists.\n *\n * A radio component contains an optional label, optional info icon and an optional helper text.\n * @dependency mdc-formfieldwrapper\n *\n * @tagname mdc-radio\n *\n * @event change - (React: onChange) Event that gets dispatched when the radio state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the radio receives focus.\n *\n * @cssproperty --mdc-radio-text-disabled-color - color of the label when disabled\n * @cssproperty --mdc-radio-control-inactive-hover - color of the radio button when inactive and hovered\n * @cssproperty --mdc-radio-control-inactive-pressed-color - color of the radio button when inactive and pressed\n * @cssproperty --mdc-radio-control-active-hover-color - color of the radio button when active and hovered\n * @cssproperty --mdc-radio-control-active-pressed-color - color of the radio button when active and pressed\n * @cssproperty --mdc-radio-disabled-border-color - color of the radio button when disabled\n * @cssproperty --mdc-radio-control-active-disabled-background - color of the radio button when active and disabled\n * @cssproperty --mdc-radio-control-inactive-disabled-background - color of the radio button when inactive and disabled\n *\n */",
14987
+ "tagName": "mdc-radiogroup",
14988
+ "jsDoc": "/**\n * `mdc-radiogroup` - This is the wrapper component for radio buttons which are grouped together.\n * It can have a header text and a description. It enables users to select a single option from a set of options.\n * It is often used in forms, settings, and selection in lists. It automatically group the radio buttons inside it.\n *\n * @tagname mdc-radiogroup\n *\n * @cssproperty --mdc-radiogroup-description-text-normal - color of the description text\n *\n */",
14997
14989
  "customElement": true,
14998
14990
  "slots": [
14991
+ {
14992
+ "description": "This is a default slot for checkbox or toggle components.",
14993
+ "name": "default",
14994
+ "inheritedFrom": {
14995
+ "name": "FormfieldGroup",
14996
+ "module": "src/components/formfieldgroup/formfieldgroup.component.ts"
14997
+ }
14998
+ },
14999
14999
  {
15000
15000
  "description": "slot to add the label info icon",
15001
15001
  "name": "label-info",
@@ -15012,8 +15012,8 @@
15012
15012
  "kind": "js",
15013
15013
  "name": "default",
15014
15014
  "declaration": {
15015
- "name": "Radio",
15016
- "module": "components/radio/radio.component.js"
15015
+ "name": "RadioGroup",
15016
+ "module": "components/radiogroup/radiogroup.component.js"
15017
15017
  }
15018
15018
  }
15019
15019
  ]
@@ -18649,6 +18649,90 @@
18649
18649
  }
18650
18650
  ]
18651
18651
  },
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
+ },
18652
18736
  {
18653
18737
  "kind": "javascript-module",
18654
18738
  "path": "components/tablist/tablist.component.js",
@@ -18760,90 +18844,6 @@
18760
18844
  }
18761
18845
  ]
18762
18846
  },
18763
- {
18764
- "kind": "javascript-module",
18765
- "path": "components/text/text.component.js",
18766
- "declarations": [
18767
- {
18768
- "kind": "class",
18769
- "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.",
18770
- "name": "Text",
18771
- "cssParts": [
18772
- {
18773
- "description": "The text element",
18774
- "name": "text"
18775
- }
18776
- ],
18777
- "slots": [
18778
- {
18779
- "description": "Default slot for text content",
18780
- "name": ""
18781
- }
18782
- ],
18783
- "members": [
18784
- {
18785
- "kind": "field",
18786
- "name": "type",
18787
- "type": {
18788
- "text": "TextType"
18789
- },
18790
- "privacy": "public",
18791
- "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'",
18792
- "default": "body-large-regular",
18793
- "attribute": "type",
18794
- "reflects": true
18795
- },
18796
- {
18797
- "kind": "field",
18798
- "name": "tagname",
18799
- "type": {
18800
- "text": "TagName | undefined"
18801
- },
18802
- "privacy": "public",
18803
- "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.",
18804
- "attribute": "tagname",
18805
- "reflects": true
18806
- }
18807
- ],
18808
- "attributes": [
18809
- {
18810
- "name": "type",
18811
- "type": {
18812
- "text": "TextType"
18813
- },
18814
- "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'",
18815
- "default": "body-large-regular",
18816
- "fieldName": "type"
18817
- },
18818
- {
18819
- "name": "tagname",
18820
- "type": {
18821
- "text": "TagName | undefined"
18822
- },
18823
- "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.",
18824
- "fieldName": "tagname"
18825
- }
18826
- ],
18827
- "superclass": {
18828
- "name": "Component",
18829
- "module": "/src/models"
18830
- },
18831
- "tagName": "mdc-text",
18832
- "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
- "customElement": true
18834
- }
18835
- ],
18836
- "exports": [
18837
- {
18838
- "kind": "js",
18839
- "name": "default",
18840
- "declaration": {
18841
- "name": "Text",
18842
- "module": "components/text/text.component.js"
18843
- }
18844
- }
18845
- ]
18846
- },
18847
18847
  {
18848
18848
  "kind": "javascript-module",
18849
18849
  "path": "components/textarea/textarea.component.js",