@momentum-design/components 0.61.1 → 0.62.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.
@@ -2,6 +2,67 @@
2
2
  "schemaVersion": "1.0.0",
3
3
  "readme": "",
4
4
  "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "components/appheader/appheader.component.js",
8
+ "declarations": [
9
+ {
10
+ "kind": "class",
11
+ "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**.",
12
+ "name": "Appheader",
13
+ "cssParts": [
14
+ {
15
+ "description": "The main container for styling the header.",
16
+ "name": "container"
17
+ },
18
+ {
19
+ "description": "The leading section of the header.",
20
+ "name": "leading-section"
21
+ },
22
+ {
23
+ "description": "The center section of the header.",
24
+ "name": "center-section"
25
+ },
26
+ {
27
+ "description": "The trailing section of the header.",
28
+ "name": "trailing-section"
29
+ }
30
+ ],
31
+ "slots": [
32
+ {
33
+ "description": "Slot for the leading section (e.g., brand logo, brand name).",
34
+ "name": "leading"
35
+ },
36
+ {
37
+ "description": "Slot for the center section (e.g., search bar, icons).",
38
+ "name": "center"
39
+ },
40
+ {
41
+ "description": "Slot for the trailing section (e.g., profile avatar, icons).",
42
+ "name": "trailing"
43
+ }
44
+ ],
45
+ "members": [],
46
+ "superclass": {
47
+ "name": "Component",
48
+ "module": "/src/models"
49
+ },
50
+ "tagName": "mdc-appheader",
51
+ "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 */",
52
+ "customElement": true
53
+ }
54
+ ],
55
+ "exports": [
56
+ {
57
+ "kind": "js",
58
+ "name": "default",
59
+ "declaration": {
60
+ "name": "Appheader",
61
+ "module": "components/appheader/appheader.component.js"
62
+ }
63
+ }
64
+ ]
65
+ },
5
66
  {
6
67
  "kind": "javascript-module",
7
68
  "path": "components/alertchip/alertchip.component.js",
@@ -492,67 +553,6 @@
492
553
  }
493
554
  ]
494
555
  },
495
- {
496
- "kind": "javascript-module",
497
- "path": "components/appheader/appheader.component.js",
498
- "declarations": [
499
- {
500
- "kind": "class",
501
- "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**.",
502
- "name": "Appheader",
503
- "cssParts": [
504
- {
505
- "description": "The main container for styling the header.",
506
- "name": "container"
507
- },
508
- {
509
- "description": "The leading section of the header.",
510
- "name": "leading-section"
511
- },
512
- {
513
- "description": "The center section of the header.",
514
- "name": "center-section"
515
- },
516
- {
517
- "description": "The trailing section of the header.",
518
- "name": "trailing-section"
519
- }
520
- ],
521
- "slots": [
522
- {
523
- "description": "Slot for the leading section (e.g., brand logo, brand name).",
524
- "name": "leading"
525
- },
526
- {
527
- "description": "Slot for the center section (e.g., search bar, icons).",
528
- "name": "center"
529
- },
530
- {
531
- "description": "Slot for the trailing section (e.g., profile avatar, icons).",
532
- "name": "trailing"
533
- }
534
- ],
535
- "members": [],
536
- "superclass": {
537
- "name": "Component",
538
- "module": "/src/models"
539
- },
540
- "tagName": "mdc-appheader",
541
- "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 */",
542
- "customElement": true
543
- }
544
- ],
545
- "exports": [
546
- {
547
- "kind": "js",
548
- "name": "default",
549
- "declaration": {
550
- "name": "Appheader",
551
- "module": "components/appheader/appheader.component.js"
552
- }
553
- }
554
- ]
555
- },
556
556
  {
557
557
  "kind": "javascript-module",
558
558
  "path": "components/avatar/avatar.component.js",
@@ -17296,6 +17296,139 @@
17296
17296
  }
17297
17297
  ]
17298
17298
  },
17299
+ {
17300
+ "kind": "javascript-module",
17301
+ "path": "components/spinner/spinner.component.js",
17302
+ "declarations": [
17303
+ {
17304
+ "kind": "class",
17305
+ "description": "`mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\nit's best for cases where the progress or duration of a process is variable or unknown.\n\nSpinner Variants:\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\nicon or label text.\n\nSpinner Sizes:\n- **Large (96px)**: Use when replacing entire regions or pages that are still loading\n- **MidSize (48px) (Default)**: Use for most use cases.\n- **Small (24px)**: Use for inline with loading text.\n\nCustomisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\nCSS property.\n\nSpinner Colors:\n- **Default**: Use for most use cases.\n- **Inverted**: Only to be used within inverted components, such as coachmarks.\n\nRegarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\nwill be unset\nand aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.",
17306
+ "name": "Spinner",
17307
+ "cssProperties": [
17308
+ {
17309
+ "description": "Allows customization of the default spinner color.",
17310
+ "name": "--mdc-spinner-default-color"
17311
+ },
17312
+ {
17313
+ "description": "Allows customization of the inverted spinner color.",
17314
+ "name": "--mdc-spinner-inverted-color"
17315
+ },
17316
+ {
17317
+ "description": "Allows customization of the spinner Button variant color.",
17318
+ "name": "--mdc-spinner-button-variant-color"
17319
+ },
17320
+ {
17321
+ "description": "Allows customization of the spinner size.",
17322
+ "name": "--mdc-spinner-size"
17323
+ }
17324
+ ],
17325
+ "cssParts": [
17326
+ {
17327
+ "description": "The svg which contains the circle spinner.",
17328
+ "name": "container"
17329
+ },
17330
+ {
17331
+ "description": "The circle of the spinner.",
17332
+ "name": "circle"
17333
+ }
17334
+ ],
17335
+ "members": [
17336
+ {
17337
+ "kind": "field",
17338
+ "name": "inverted",
17339
+ "description": "The spinner color can be inverted by setting the inverted attribute to true.",
17340
+ "default": "false",
17341
+ "attribute": "inverted",
17342
+ "reflects": true
17343
+ },
17344
+ {
17345
+ "kind": "field",
17346
+ "name": "size",
17347
+ "type": {
17348
+ "text": "SpinnerSize | undefined"
17349
+ },
17350
+ "description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
17351
+ "default": "midsize",
17352
+ "attribute": "size",
17353
+ "reflects": true
17354
+ },
17355
+ {
17356
+ "kind": "field",
17357
+ "name": "ariaLabel",
17358
+ "type": {
17359
+ "text": "string | null"
17360
+ },
17361
+ "default": "null",
17362
+ "description": "Aria-label attribute to be set for accessibility",
17363
+ "attribute": "aria-label"
17364
+ },
17365
+ {
17366
+ "kind": "field",
17367
+ "name": "variant",
17368
+ "type": {
17369
+ "text": "SpinnerVariant"
17370
+ },
17371
+ "description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
17372
+ "default": "standalone",
17373
+ "attribute": "variant",
17374
+ "reflects": true
17375
+ }
17376
+ ],
17377
+ "attributes": [
17378
+ {
17379
+ "name": "inverted",
17380
+ "description": "The spinner color can be inverted by setting the inverted attribute to true.",
17381
+ "default": "false",
17382
+ "fieldName": "inverted"
17383
+ },
17384
+ {
17385
+ "name": "size",
17386
+ "type": {
17387
+ "text": "SpinnerSize | undefined"
17388
+ },
17389
+ "description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
17390
+ "default": "midsize",
17391
+ "fieldName": "size"
17392
+ },
17393
+ {
17394
+ "name": "aria-label",
17395
+ "type": {
17396
+ "text": "string | null"
17397
+ },
17398
+ "default": "null",
17399
+ "description": "Aria-label attribute to be set for accessibility",
17400
+ "fieldName": "ariaLabel"
17401
+ },
17402
+ {
17403
+ "name": "variant",
17404
+ "type": {
17405
+ "text": "SpinnerVariant"
17406
+ },
17407
+ "description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
17408
+ "default": "standalone",
17409
+ "fieldName": "variant"
17410
+ }
17411
+ ],
17412
+ "superclass": {
17413
+ "name": "Component",
17414
+ "module": "/src/models"
17415
+ },
17416
+ "tagName": "mdc-spinner",
17417
+ "jsDoc": "/**\n * `mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\n * it's best for cases where the progress or duration of a process is variable or unknown.\n *\n * Spinner Variants:\n * - **Standalone (Default)**: Track has a blue color.\n * - **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\n * To ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\n * icon or label text.\n *\n * Spinner Sizes:\n * - **Large (96px)**: Use when replacing entire regions or pages that are still loading\n * - **MidSize (48px) (Default)**: Use for most use cases.\n * - **Small (24px)**: Use for inline with loading text.\n *\n * Customisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\n * CSS property.\n *\n * Spinner Colors:\n * - **Default**: Use for most use cases.\n * - **Inverted**: Only to be used within inverted components, such as coachmarks.\n *\n * Regarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\n * will be unset\n * and aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.\n *\n * @tagname mdc-spinner\n *\n * @cssproperty --mdc-spinner-default-color - Allows customization of the default spinner color.\n * @cssproperty --mdc-spinner-inverted-color - Allows customization of the inverted spinner color.\n * @cssproperty --mdc-spinner-button-variant-color - Allows customization of the spinner Button variant color.\n * @cssproperty --mdc-spinner-size - Allows customization of the spinner size.\n *\n * @csspart container - The svg which contains the circle spinner.\n * @csspart circle - The circle of the spinner.\n */",
17418
+ "customElement": true
17419
+ }
17420
+ ],
17421
+ "exports": [
17422
+ {
17423
+ "kind": "js",
17424
+ "name": "default",
17425
+ "declaration": {
17426
+ "name": "Spinner",
17427
+ "module": "components/spinner/spinner.component.js"
17428
+ }
17429
+ }
17430
+ ]
17431
+ },
17299
17432
  {
17300
17433
  "kind": "javascript-module",
17301
17434
  "path": "components/staticcheckbox/staticcheckbox.component.js",
@@ -17440,139 +17573,6 @@
17440
17573
  }
17441
17574
  ]
17442
17575
  },
17443
- {
17444
- "kind": "javascript-module",
17445
- "path": "components/spinner/spinner.component.js",
17446
- "declarations": [
17447
- {
17448
- "kind": "class",
17449
- "description": "`mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\nit's best for cases where the progress or duration of a process is variable or unknown.\n\nSpinner Variants:\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\nicon or label text.\n\nSpinner Sizes:\n- **Large (96px)**: Use when replacing entire regions or pages that are still loading\n- **MidSize (48px) (Default)**: Use for most use cases.\n- **Small (24px)**: Use for inline with loading text.\n\nCustomisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\nCSS property.\n\nSpinner Colors:\n- **Default**: Use for most use cases.\n- **Inverted**: Only to be used within inverted components, such as coachmarks.\n\nRegarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\nwill be unset\nand aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.",
17450
- "name": "Spinner",
17451
- "cssProperties": [
17452
- {
17453
- "description": "Allows customization of the default spinner color.",
17454
- "name": "--mdc-spinner-default-color"
17455
- },
17456
- {
17457
- "description": "Allows customization of the inverted spinner color.",
17458
- "name": "--mdc-spinner-inverted-color"
17459
- },
17460
- {
17461
- "description": "Allows customization of the spinner Button variant color.",
17462
- "name": "--mdc-spinner-button-variant-color"
17463
- },
17464
- {
17465
- "description": "Allows customization of the spinner size.",
17466
- "name": "--mdc-spinner-size"
17467
- }
17468
- ],
17469
- "cssParts": [
17470
- {
17471
- "description": "The svg which contains the circle spinner.",
17472
- "name": "container"
17473
- },
17474
- {
17475
- "description": "The circle of the spinner.",
17476
- "name": "circle"
17477
- }
17478
- ],
17479
- "members": [
17480
- {
17481
- "kind": "field",
17482
- "name": "inverted",
17483
- "description": "The spinner color can be inverted by setting the inverted attribute to true.",
17484
- "default": "false",
17485
- "attribute": "inverted",
17486
- "reflects": true
17487
- },
17488
- {
17489
- "kind": "field",
17490
- "name": "size",
17491
- "type": {
17492
- "text": "SpinnerSize | undefined"
17493
- },
17494
- "description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
17495
- "default": "midsize",
17496
- "attribute": "size",
17497
- "reflects": true
17498
- },
17499
- {
17500
- "kind": "field",
17501
- "name": "ariaLabel",
17502
- "type": {
17503
- "text": "string | null"
17504
- },
17505
- "default": "null",
17506
- "description": "Aria-label attribute to be set for accessibility",
17507
- "attribute": "aria-label"
17508
- },
17509
- {
17510
- "kind": "field",
17511
- "name": "variant",
17512
- "type": {
17513
- "text": "SpinnerVariant"
17514
- },
17515
- "description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
17516
- "default": "standalone",
17517
- "attribute": "variant",
17518
- "reflects": true
17519
- }
17520
- ],
17521
- "attributes": [
17522
- {
17523
- "name": "inverted",
17524
- "description": "The spinner color can be inverted by setting the inverted attribute to true.",
17525
- "default": "false",
17526
- "fieldName": "inverted"
17527
- },
17528
- {
17529
- "name": "size",
17530
- "type": {
17531
- "text": "SpinnerSize | undefined"
17532
- },
17533
- "description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
17534
- "default": "midsize",
17535
- "fieldName": "size"
17536
- },
17537
- {
17538
- "name": "aria-label",
17539
- "type": {
17540
- "text": "string | null"
17541
- },
17542
- "default": "null",
17543
- "description": "Aria-label attribute to be set for accessibility",
17544
- "fieldName": "ariaLabel"
17545
- },
17546
- {
17547
- "name": "variant",
17548
- "type": {
17549
- "text": "SpinnerVariant"
17550
- },
17551
- "description": "There are 2 variants of spinner: default and button. Their coloring is different.\n- **Standalone (Default)**: Track has a blue color.\n- **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\nTo ensure a minimum 3:1 contrast ratio, change the active indicator color to be the same color as the button’s\nicon or label text.",
17552
- "default": "standalone",
17553
- "fieldName": "variant"
17554
- }
17555
- ],
17556
- "superclass": {
17557
- "name": "Component",
17558
- "module": "/src/models"
17559
- },
17560
- "tagName": "mdc-spinner",
17561
- "jsDoc": "/**\n * `mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning\n * it's best for cases where the progress or duration of a process is variable or unknown.\n *\n * Spinner Variants:\n * - **Standalone (Default)**: Track has a blue color.\n * - **Button**: To be used when placed in a button to show that the button’s action is currently in progress.\n * To ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s\n * icon or label text.\n *\n * Spinner Sizes:\n * - **Large (96px)**: Use when replacing entire regions or pages that are still loading\n * - **MidSize (48px) (Default)**: Use for most use cases.\n * - **Small (24px)**: Use for inline with loading text.\n *\n * Customisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size\n * CSS property.\n *\n * Spinner Colors:\n * - **Default**: Use for most use cases.\n * - **Inverted**: Only to be used within inverted components, such as coachmarks.\n *\n * Regarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role\n * will be unset\n * and aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.\n *\n * @tagname mdc-spinner\n *\n * @cssproperty --mdc-spinner-default-color - Allows customization of the default spinner color.\n * @cssproperty --mdc-spinner-inverted-color - Allows customization of the inverted spinner color.\n * @cssproperty --mdc-spinner-button-variant-color - Allows customization of the spinner Button variant color.\n * @cssproperty --mdc-spinner-size - Allows customization of the spinner size.\n *\n * @csspart container - The svg which contains the circle spinner.\n * @csspart circle - The circle of the spinner.\n */",
17562
- "customElement": true
17563
- }
17564
- ],
17565
- "exports": [
17566
- {
17567
- "kind": "js",
17568
- "name": "default",
17569
- "declaration": {
17570
- "name": "Spinner",
17571
- "module": "components/spinner/spinner.component.js"
17572
- }
17573
- }
17574
- ]
17575
- },
17576
17576
  {
17577
17577
  "kind": "javascript-module",
17578
17578
  "path": "components/staticradio/staticradio.component.js",
@@ -18682,7 +18682,7 @@
18682
18682
  "declarations": [
18683
18683
  {
18684
18684
  "kind": "class",
18685
- "description": "Tab list organizes tabs into a container.\n\nChildren of the tab list are `mdc-tab` elements, sent to the default slot.\n\nThe tabs can be navigated using the left/right arrow keys, and selected by clicking,\n or pressing the Enter and Space keys.\n\n**Implicit accessibility rules**\n\n- The element that serves as the container for the set of tabs has role `tablist`.\n- Each element that serves as a tab has role `tab` and is contained within the element with role `tablist`.\n- The active tab element has the state `aria-selected` set to `true`\n and all other tab elements have it set to `false`.\n\n\n**Accessibility notes for consuming (have to be explicitly set when you consume the component)**\n\n- Each element that contains the `content panel` for a `tab` has role `tabpanel`.\n- If the tab list has a visible label,\n the element with role `tablist` has `aria-labelledby` needs to be a value that refers to the labelling element.\n Otherwise, the `tablist` element needs to have a label provided by `aria-label`.\n- Each element with role `tab` has the property `aria-controls`\n that should refer to its associated `tabpanel` element.\n- Each element with role `tabpanel` has the property `aria-labelledby` referring to its associated `tab` element.\n- If a `tab` element has a popup menu, it needs to have the property `aria-haspopup` set to either `menu` or `true`.",
18685
+ "description": "Tab list organizes tabs into a container.\n\nChildren of the tab list are `mdc-tab` elements, sent to the default slot.\n\nThe tabs can be navigated using the left/right arrow keys, and selected by clicking,\n or pressing the Enter and Space keys.\n\n**Implicit accessibility rules**\n\n- The element that serves as the container for the set of tabs has role `tablist`.\n- Each element that serves as a tab has role `tab` and is contained within the element with role `tablist`.\n- The active tab element has the state `aria-selected` set to `true`\n and all other tab elements have it set to `false`.\n\n\n**Accessibility notes for consuming (have to be explicitly set when you consume the component)**\n\n- Each element that contains the `content panel` for a `tab` has role `tabpanel`.\n- The `tablist` element needs to have a label provided by `data-aria-label`.\n- Each element with role `tab` has the property `aria-controls`\n that should refer to its associated `tabpanel` element.\n- Each element with role `tabpanel` has the property `aria-labelledby` referring to its associated `tab` element.\n- If a `tab` element has a popup menu, it needs to have the property `aria-haspopup` set to either `menu` or `true`.",
18686
18686
  "name": "TabList",
18687
18687
  "cssProperties": [
18688
18688
  {
@@ -18715,22 +18715,13 @@
18715
18715
  "attribute": "active-tab-id",
18716
18716
  "reflects": true
18717
18717
  },
18718
- {
18719
- "kind": "field",
18720
- "name": "dataAriaLabelledby",
18721
- "type": {
18722
- "text": "string | undefined"
18723
- },
18724
- "description": "Selector for the element that provides a label for the tablist.",
18725
- "attribute": "data-aria-labelledby"
18726
- },
18727
18718
  {
18728
18719
  "kind": "field",
18729
18720
  "name": "dataAriaLabel",
18730
18721
  "type": {
18731
18722
  "text": "string | undefined"
18732
18723
  },
18733
- "description": "Label for the tablist in case aria-labelledby is not provided.\nThis is used when the tablist does not have a visible label.\nDefaults to 'Tab List'.\n<br/>\nNote: If both `data-aria-labelledby` and `data-aria-label` are provided,\nthe `data-aria-labelledby` will be used.",
18724
+ "description": "Label for the tablist.\nThis is used when the tablist does not have a visible label.",
18734
18725
  "attribute": "data-aria-label"
18735
18726
  }
18736
18727
  ],
@@ -18750,20 +18741,12 @@
18750
18741
  "description": "ID of the active tab, defaults to the first tab if not provided",
18751
18742
  "fieldName": "activeTabId"
18752
18743
  },
18753
- {
18754
- "name": "data-aria-labelledby",
18755
- "type": {
18756
- "text": "string | undefined"
18757
- },
18758
- "description": "Selector for the element that provides a label for the tablist.",
18759
- "fieldName": "dataAriaLabelledby"
18760
- },
18761
18744
  {
18762
18745
  "name": "data-aria-label",
18763
18746
  "type": {
18764
18747
  "text": "string | undefined"
18765
18748
  },
18766
- "description": "Label for the tablist in case aria-labelledby is not provided.\nThis is used when the tablist does not have a visible label.\nDefaults to 'Tab List'.\n<br/>\nNote: If both `data-aria-labelledby` and `data-aria-label` are provided,\nthe `data-aria-labelledby` will be used.",
18749
+ "description": "Label for the tablist.\nThis is used when the tablist does not have a visible label.",
18767
18750
  "fieldName": "dataAriaLabel"
18768
18751
  }
18769
18752
  ],
@@ -18772,7 +18755,7 @@
18772
18755
  "module": "/src/models"
18773
18756
  },
18774
18757
  "tagName": "mdc-tablist",
18775
- "jsDoc": "/**\n * Tab list organizes tabs into a container.\n *\n * Children of the tab list are `mdc-tab` elements, sent to the default slot.\n *\n * The tabs can be navigated using the left/right arrow keys, and selected by clicking,\n * or pressing the Enter and Space keys.\n *\n * **Implicit accessibility rules**\n *\n * - The element that serves as the container for the set of tabs has role `tablist`.\n * - Each element that serves as a tab has role `tab` and is contained within the element with role `tablist`.\n * - The active tab element has the state `aria-selected` set to `true`\n * and all other tab elements have it set to `false`.\n *\n *\n * **Accessibility notes for consuming (have to be explicitly set when you consume the component)**\n *\n * - Each element that contains the `content panel` for a `tab` has role `tabpanel`.\n * - If the tab list has a visible label,\n * the element with role `tablist` has `aria-labelledby` needs to be a value that refers to the labelling element.\n * Otherwise, the `tablist` element needs to have a label provided by `aria-label`.\n * - Each element with role `tab` has the property `aria-controls`\n * that should refer to its associated `tabpanel` element.\n * - Each element with role `tabpanel` has the property `aria-labelledby` referring to its associated `tab` element.\n * - If a `tab` element has a popup menu, it needs to have the property `aria-haspopup` set to either `menu` or `true`.\n *\n * @tagname mdc-tablist\n *\n * @dependency mdc-tab\n * @dependency mdc-button\n *\n * @event change - (React: onChange) This event is dispatched when the tab is selected.\n * Event that fires when user changes the active tab.\n * The function sent as the argument will receive the fired event\n * and the new tab id can be fetched from event.detail.tabId.\n *\n * `(event: CustomEvent) => handleTabChange(event.detail.tabId);`\n *\n * @slot Default slot for mdc-tab elements.\n *\n * @cssproperty --mdc-tablist-gap - Gap between tabs\n * @cssproperty --mdc-tablist-width - Width of the tablist\n * @cssproperty --mdc-tablist-arrow-button-margin - Margin value for the arrow button\n */",
18758
+ "jsDoc": "/**\n * Tab list organizes tabs into a container.\n *\n * Children of the tab list are `mdc-tab` elements, sent to the default slot.\n *\n * The tabs can be navigated using the left/right arrow keys, and selected by clicking,\n * or pressing the Enter and Space keys.\n *\n * **Implicit accessibility rules**\n *\n * - The element that serves as the container for the set of tabs has role `tablist`.\n * - Each element that serves as a tab has role `tab` and is contained within the element with role `tablist`.\n * - The active tab element has the state `aria-selected` set to `true`\n * and all other tab elements have it set to `false`.\n *\n *\n * **Accessibility notes for consuming (have to be explicitly set when you consume the component)**\n *\n * - Each element that contains the `content panel` for a `tab` has role `tabpanel`.\n * - The `tablist` element needs to have a label provided by `data-aria-label`.\n * - Each element with role `tab` has the property `aria-controls`\n * that should refer to its associated `tabpanel` element.\n * - Each element with role `tabpanel` has the property `aria-labelledby` referring to its associated `tab` element.\n * - If a `tab` element has a popup menu, it needs to have the property `aria-haspopup` set to either `menu` or `true`.\n *\n * @tagname mdc-tablist\n *\n * @dependency mdc-tab\n * @dependency mdc-button\n *\n * @event change - (React: onChange) This event is dispatched when the tab is selected.\n * Event that fires when user changes the active tab.\n * The function sent as the argument will receive the fired event\n * and the new tab id can be fetched from event.detail.tabId.\n *\n * `(event: CustomEvent) => handleTabChange(event.detail.tabId);`\n *\n * @slot Default slot for mdc-tab elements.\n *\n * @cssproperty --mdc-tablist-gap - Gap between tabs\n * @cssproperty --mdc-tablist-width - Width of the tablist\n * @cssproperty --mdc-tablist-arrow-button-margin - Margin value for the arrow button\n */",
18776
18759
  "customElement": true
18777
18760
  }
18778
18761
  ],
@@ -1,5 +1,5 @@
1
- export { default as AlertChip } from './alertchip';
2
1
  export { default as Appheader } from './appheader';
2
+ export { default as AlertChip } from './alertchip';
3
3
  export { default as Avatar } from './avatar';
4
4
  export { default as AvatarButton } from './avatarbutton';
5
5
  export { default as Badge } from './badge';
@@ -35,8 +35,8 @@ export { default as RadioGroup } from './radiogroup';
35
35
  export { default as ScreenreaderAnnouncer } from './screenreaderannouncer';
36
36
  export { default as Searchfield } from './searchfield';
37
37
  export { default as Select } from './select';
38
- export { default as StaticCheckbox } from './staticcheckbox';
39
38
  export { default as Spinner } from './spinner';
39
+ export { default as StaticCheckbox } from './staticcheckbox';
40
40
  export { default as StaticRadio } from './staticradio';
41
41
  export { default as StaticToggle } from './statictoggle';
42
42
  export { default as Tab } from './tab';
@@ -1,5 +1,5 @@
1
- export { default as AlertChip } from './alertchip';
2
1
  export { default as Appheader } from './appheader';
2
+ export { default as AlertChip } from './alertchip';
3
3
  export { default as Avatar } from './avatar';
4
4
  export { default as AvatarButton } from './avatarbutton';
5
5
  export { default as Badge } from './badge';
@@ -35,8 +35,8 @@ export { default as RadioGroup } from './radiogroup';
35
35
  export { default as ScreenreaderAnnouncer } from './screenreaderannouncer';
36
36
  export { default as Searchfield } from './searchfield';
37
37
  export { default as Select } from './select';
38
- export { default as StaticCheckbox } from './staticcheckbox';
39
38
  export { default as Spinner } from './spinner';
39
+ export { default as StaticCheckbox } from './staticcheckbox';
40
40
  export { default as StaticRadio } from './staticradio';
41
41
  export { default as StaticToggle } from './statictoggle';
42
42
  export { default as Tab } from './tab';
@@ -19,9 +19,7 @@ import Component from '../../components/tablist';
19
19
  * **Accessibility notes for consuming (have to be explicitly set when you consume the component)**
20
20
  *
21
21
  * - Each element that contains the `content panel` for a `tab` has role `tabpanel`.
22
- * - If the tab list has a visible label,
23
- * the element with role `tablist` has `aria-labelledby` needs to be a value that refers to the labelling element.
24
- * Otherwise, the `tablist` element needs to have a label provided by `aria-label`.
22
+ * - The `tablist` element needs to have a label provided by `data-aria-label`.
25
23
  * - Each element with role `tab` has the property `aria-controls`
26
24
  * that should refer to its associated `tabpanel` element.
27
25
  * - Each element with role `tabpanel` has the property `aria-labelledby` referring to its associated `tab` element.
@@ -21,9 +21,7 @@ import { TAG_NAME } from '../../components/tablist/tablist.constants';
21
21
  * **Accessibility notes for consuming (have to be explicitly set when you consume the component)**
22
22
  *
23
23
  * - Each element that contains the `content panel` for a `tab` has role `tabpanel`.
24
- * - If the tab list has a visible label,
25
- * the element with role `tablist` has `aria-labelledby` needs to be a value that refers to the labelling element.
26
- * Otherwise, the `tablist` element needs to have a label provided by `aria-label`.
24
+ * - The `tablist` element needs to have a label provided by `data-aria-label`.
27
25
  * - Each element with role `tab` has the property `aria-controls`
28
26
  * that should refer to its associated `tabpanel` element.
29
27
  * - Each element with role `tabpanel` has the property `aria-labelledby` referring to its associated `tab` element.
package/package.json CHANGED
@@ -39,5 +39,5 @@
39
39
  "lit": "^3.2.0",
40
40
  "uuid": "^11.0.5"
41
41
  },
42
- "version": "0.61.1"
42
+ "version": "0.62.0"
43
43
  }