@momentum-design/components 0.81.6 → 0.82.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4057,6 +4057,10 @@
4057
4057
  "description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
4058
4058
  "name": "footer-button-secondary"
4059
4059
  },
4060
+ {
4061
+ "description": " This slot is for passing custom footer content. Only use this if really needed, using the footer-link and footer-button slots is preferred.",
4062
+ "name": "footer"
4063
+ },
4060
4064
  {
4061
4065
  "description": "This slot is for passing the content before the body",
4062
4066
  "name": "before-body"
@@ -4292,7 +4296,7 @@
4292
4296
  "module": "/src/models"
4293
4297
  },
4294
4298
  "tagName": "mdc-card",
4295
- "jsDoc": "/**\n * The card component allows users to organize information in a structured and tangible\n * format that is visually appealing. `mdc-card` is a static component that supports\n * the following features:\n * - Image\n * - Header\n * - Icon\n * - Title\n * - Subtitle\n * - Body\n *\n * The card can either be vertically or horizontally oriented.\n *\n * There are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n *\n * To make this card interactive, use the following slots:\n * - `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n * - `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n * - `footer-button-primary`: This slot is for passing primary variant of\n * `mdc-button` component within the footer section.\n * - `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n *\n * Interactive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of\n * `mdc-button` component within the footer section.\n * @slot footer-button-secondary - This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n *\n * @tagname mdc-card\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n *\n */",
4299
+ "jsDoc": "/**\n * The card component allows users to organize information in a structured and tangible\n * format that is visually appealing. `mdc-card` is a static component that supports\n * the following features:\n * - Image\n * - Header\n * - Icon\n * - Title\n * - Subtitle\n * - Body\n *\n * The card can either be vertically or horizontally oriented.\n *\n * There are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n *\n * To make this card interactive, use the following slots:\n * - `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n * - `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n * - `footer-button-primary`: This slot is for passing primary variant of\n * `mdc-button` component within the footer section.\n * - `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n *\n * Interactive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of\n * `mdc-button` component within the footer section.\n * @slot footer-button-secondary - This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n * @slot footer - This slot is for passing custom footer content. Only use this if really needed,\n * using the footer-link and footer-button slots is preferred.\n *\n * @tagname mdc-card\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n *\n */",
4296
4300
  "customElement": true,
4297
4301
  "attributes": [
4298
4302
  {
@@ -5269,6 +5273,14 @@
5269
5273
  "name": "Card",
5270
5274
  "module": "src/components/card/card.component.ts"
5271
5275
  }
5276
+ },
5277
+ {
5278
+ "description": " This slot is for passing custom footer content. Only use this if really needed, using the footer-link and footer-button slots is preferred.",
5279
+ "name": "footer",
5280
+ "inheritedFrom": {
5281
+ "name": "Card",
5282
+ "module": "src/components/card/card.component.ts"
5283
+ }
5272
5284
  }
5273
5285
  ],
5274
5286
  "members": [
@@ -5856,6 +5868,14 @@
5856
5868
  "name": "Card",
5857
5869
  "module": "src/components/card/card.component.ts"
5858
5870
  }
5871
+ },
5872
+ {
5873
+ "description": " This slot is for passing custom footer content. Only use this if really needed, using the footer-link and footer-button slots is preferred.",
5874
+ "name": "footer",
5875
+ "inheritedFrom": {
5876
+ "name": "Card",
5877
+ "module": "src/components/card/card.component.ts"
5878
+ }
5859
5879
  }
5860
5880
  ],
5861
5881
  "members": [
@@ -9371,6 +9391,10 @@
9371
9391
  {
9372
9392
  "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
9373
9393
  "name": "footer-button-primary"
9394
+ },
9395
+ {
9396
+ "description": " This slot is for passing custom footer content. Only use this if really needed, using the footer-link and footer-button slots is preferred",
9397
+ "name": "footer"
9374
9398
  }
9375
9399
  ],
9376
9400
  "members": [
@@ -10288,7 +10312,7 @@
10288
10312
  "module": "/src/models"
10289
10313
  },
10290
10314
  "tagName": "mdc-dialog",
10291
- "jsDoc": "/**\n * Dialog component is a modal dialog that can be used to display information or prompt the user for input.\n * It can be used to create custom dialogs where content for the body and footer actions is provided by the consumer.\n * The dialog is available in three sizes: small, medium, and large. It may also receive custom styling/sizing.\n * The dialog interrupts the user and will block interaction with the rest of the application until it is closed.\n *\n * The dialog can be controlled solely through the `visible` property, no trigger element is required.\n * If a `triggerId` is provided, the dialog will manage focus with that element, otherwise it will\n * remember the previously focused element before the dialog was opened.\n *\n * Dialog component have 2 variants: default and promotional.\n *\n * **Accessibility notes for consuming (have to be explicitly set when you consume the component)**\n *\n * - The dialog should have an aria-label or aria-labelledby attribute to provide a label for screen readers.\n * - Use aria-labelledby to reference the ID of the element that labels the dialog when there is no visible title.\n *\n * **Note: Programmatic show/hide requires the ? prefix on the visible attribute**\n * - Use `?visible=true/false` as an attribute instead of `visible=true/false`\n * - Reference docs for more info: https://lit.dev/docs/templates/expressions/#boolean-attribute-expressions\n *\n * @dependency mdc-button\n * @dependency mdc-text\n *\n * @tagname mdc-dialog\n *\n * @event shown - (React: onShown) Dispatched when the dialog is shown\n * @event hidden - (React: onHidden) Dispatched when the dialog is hidden\n * @event created - (React: onCreated) Dispatched when the dialog is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) Dispatched when the dialog is destroyed (removed from the DOM)\n *\n * @cssproperty --mdc-dialog-primary-background-color - primary background color of the dialog\n * @cssproperty --mdc-dialog-border-color - border color of the dialog\n * @cssproperty --mdc-dialog-header-text-color - text color of the header/title of the dialog\n * @cssproperty --mdc-dialog-description-text-color - text color of the below header description of the dialog\n * @cssproperty --mdc-dialog-elevation-3 - elevation of the dialog\n * @cssproperty --mdc-dialog-width - width of the dialog\n *\n * @slot header-prefix - Slot for the dialog header content. This can be used to pass custom header content.\n * @slot dialog-body - Slot for the dialog body content\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-secondary - This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of\n * `mdc-button` component within the footer section.\n *\n */",
10315
+ "jsDoc": "/**\n * Dialog component is a modal dialog that can be used to display information or prompt the user for input.\n * It can be used to create custom dialogs where content for the body and footer actions is provided by the consumer.\n * The dialog is available in three sizes: small, medium, and large. It may also receive custom styling/sizing.\n * The dialog interrupts the user and will block interaction with the rest of the application until it is closed.\n *\n * The dialog can be controlled solely through the `visible` property, no trigger element is required.\n * If a `triggerId` is provided, the dialog will manage focus with that element, otherwise it will\n * remember the previously focused element before the dialog was opened.\n *\n * Dialog component have 2 variants: default and promotional.\n *\n * **Accessibility notes for consuming (have to be explicitly set when you consume the component)**\n *\n * - The dialog should have an aria-label or aria-labelledby attribute to provide a label for screen readers.\n * - Use aria-labelledby to reference the ID of the element that labels the dialog when there is no visible title.\n *\n * **Note: Programmatic show/hide requires the ? prefix on the visible attribute**\n * - Use `?visible=true/false` as an attribute instead of `visible=true/false`\n * - Reference docs for more info: https://lit.dev/docs/templates/expressions/#boolean-attribute-expressions\n *\n * @dependency mdc-button\n * @dependency mdc-text\n *\n * @tagname mdc-dialog\n *\n * @event shown - (React: onShown) Dispatched when the dialog is shown\n * @event hidden - (React: onHidden) Dispatched when the dialog is hidden\n * @event created - (React: onCreated) Dispatched when the dialog is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) Dispatched when the dialog is destroyed (removed from the DOM)\n *\n * @cssproperty --mdc-dialog-primary-background-color - primary background color of the dialog\n * @cssproperty --mdc-dialog-border-color - border color of the dialog\n * @cssproperty --mdc-dialog-header-text-color - text color of the header/title of the dialog\n * @cssproperty --mdc-dialog-description-text-color - text color of the below header description of the dialog\n * @cssproperty --mdc-dialog-elevation-3 - elevation of the dialog\n * @cssproperty --mdc-dialog-width - width of the dialog\n *\n * @slot header-prefix - Slot for the dialog header content. This can be used to pass custom header content.\n * @slot dialog-body - Slot for the dialog body content\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-secondary - This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of\n * `mdc-button` component within the footer section.\n * @slot footer - This slot is for passing custom footer content. Only use this if really needed,\n * using the footer-link and footer-button slots is preferred\n */",
10292
10316
  "customElement": true
10293
10317
  }
10294
10318
  ],
@@ -24316,165 +24340,59 @@
24316
24340
  },
24317
24341
  {
24318
24342
  "kind": "javascript-module",
24319
- "path": "components/progressspinner/progressspinner.component.js",
24343
+ "path": "components/progressbar/progressbar.component.js",
24320
24344
  "declarations": [
24321
24345
  {
24322
24346
  "kind": "class",
24323
- "description": "`mdc-progressspinner` is a customizable, circular progress indicator component.\nIt visually represents the current completion state of a process, such as loading,\nsyncing, uploading, or any ongoing task that has a measurable percentage.\n\nThe spinner is built using SVG with two concentric `<circle>` elements:\n- The `progress` arc represents the portion of work completed.\n- The `track` arc represents the remaining part.\n\nA visual gap is maintained between the progress and track arcs to clearly\ndistinguish the two segments. The component smoothly animates arc length\nand respects accessibility best practices with ARIA attributes.\n\nThe component supports different states:\n- **Default**: Circular spinner shows the progress.\n- **Success**: Displays a checkmark icon when progress reaches 100%.\n- **Error**: Displays an error icon when in an error state.",
24324
- "name": "Progressspinner",
24347
+ "description": "mdc-progressbar component visually represents a progress indicator, typically used to show\nthe completion state of an ongoing process (e.g., loading, file upload, etc.).\nIt contains an optional label and an optional helper text.\n\n- It supports mainly two types: Default and Inline\n- It supports three validation variants: Default, Success and Error.\n\nThis component is created by extending FormfieldWrapper.",
24348
+ "name": "Progressbar",
24325
24349
  "cssProperties": [
24326
- {
24327
- "description": "The size of the spinner.",
24328
- "name": "--mdc-spinner-size"
24329
- },
24330
- {
24331
- "description": "The color of the spinner track.",
24332
- "name": "--mdc-track-color"
24333
- },
24334
- {
24335
- "description": "The color of the spinner progress.",
24336
- "name": "--mdc-progress-color"
24337
- },
24338
- {
24339
- "description": "The color of the spinner when in success state.",
24340
- "name": "--mdc-progress-success-color"
24341
- },
24342
- {
24343
- "description": "The color of the spinner when in error state.",
24344
- "name": "--mdc-progress-error-color"
24345
- },
24346
24350
  {
24347
24351
  "description": "Background color of the progressbar when inactive.",
24348
- "name": "--mdc-progressbar-default-background-color",
24349
- "inheritedFrom": {
24350
- "name": "Progressbar",
24351
- "module": "src/components/progressbar/progressbar.component.ts"
24352
- }
24352
+ "name": "--mdc-progressbar-default-background-color"
24353
24353
  },
24354
24354
  {
24355
24355
  "description": "Background color of the progressbar when active.",
24356
- "name": "--mdc-progressbar-default-active-background-color",
24357
- "inheritedFrom": {
24358
- "name": "Progressbar",
24359
- "module": "src/components/progressbar/progressbar.component.ts"
24360
- }
24356
+ "name": "--mdc-progressbar-default-active-background-color"
24361
24357
  },
24362
24358
  {
24363
24359
  "description": "Background color of the progressbar when in success state.",
24364
- "name": "--mdc-progressbar-success-background-color",
24365
- "inheritedFrom": {
24366
- "name": "Progressbar",
24367
- "module": "src/components/progressbar/progressbar.component.ts"
24368
- }
24360
+ "name": "--mdc-progressbar-success-background-color"
24369
24361
  },
24370
24362
  {
24371
24363
  "description": "Background color of the progressbar when in error state.",
24372
- "name": "--mdc-progressbar-error-background-color",
24373
- "inheritedFrom": {
24374
- "name": "Progressbar",
24375
- "module": "src/components/progressbar/progressbar.component.ts"
24376
- }
24364
+ "name": "--mdc-progressbar-error-background-color"
24377
24365
  },
24378
24366
  {
24379
24367
  "description": "The height of the progressbar.",
24380
- "name": "--mdc-progressbar-height",
24381
- "inheritedFrom": {
24382
- "name": "Progressbar",
24383
- "module": "src/components/progressbar/progressbar.component.ts"
24384
- }
24368
+ "name": "--mdc-progressbar-height"
24385
24369
  },
24386
24370
  {
24387
24371
  "description": "The border radius of the progressbar.",
24388
- "name": "--mdc-progressbar-border-radius",
24389
- "inheritedFrom": {
24390
- "name": "Progressbar",
24391
- "module": "src/components/progressbar/progressbar.component.ts"
24392
- }
24372
+ "name": "--mdc-progressbar-border-radius"
24393
24373
  },
24394
24374
  {
24395
24375
  "description": "Color of the progressbar label text.",
24396
- "name": "--mdc-progressbar-label-color",
24397
- "inheritedFrom": {
24398
- "name": "Progressbar",
24399
- "module": "src/components/progressbar/progressbar.component.ts"
24400
- }
24376
+ "name": "--mdc-progressbar-label-color"
24401
24377
  },
24402
24378
  {
24403
24379
  "description": "Line height of the label text.",
24404
- "name": "--mdc-progressbar-label-lineheight",
24405
- "inheritedFrom": {
24406
- "name": "Progressbar",
24407
- "module": "src/components/progressbar/progressbar.component.ts"
24408
- }
24380
+ "name": "--mdc-progressbar-label-lineheight"
24409
24381
  },
24410
24382
  {
24411
24383
  "description": "Font size of the label text.",
24412
- "name": "--mdc-progressbar-label-fontsize",
24413
- "inheritedFrom": {
24414
- "name": "Progressbar",
24415
- "module": "src/components/progressbar/progressbar.component.ts"
24416
- }
24384
+ "name": "--mdc-progressbar-label-fontsize"
24417
24385
  },
24418
24386
  {
24419
24387
  "description": "Font weight of the label text.",
24420
- "name": "--mdc-progressbar-label-fontweight",
24421
- "inheritedFrom": {
24422
- "name": "Progressbar",
24423
- "module": "src/components/progressbar/progressbar.component.ts"
24424
- }
24388
+ "name": "--mdc-progressbar-label-fontweight"
24425
24389
  },
24426
24390
  {
24427
24391
  "description": "Color of the help text.",
24428
- "name": "--mdc-progressbar-help-text-color",
24429
- "inheritedFrom": {
24430
- "name": "Progressbar",
24431
- "module": "src/components/progressbar/progressbar.component.ts"
24432
- }
24392
+ "name": "--mdc-progressbar-help-text-color"
24433
24393
  }
24434
24394
  ],
24435
24395
  "members": [
24436
- {
24437
- "kind": "method",
24438
- "name": "renderProgressSpinner",
24439
- "privacy": "private"
24440
- },
24441
- {
24442
- "kind": "method",
24443
- "name": "renderErrorState",
24444
- "privacy": "private",
24445
- "description": "Renders the error state of the progress spinner.",
24446
- "return": {
24447
- "type": {
24448
- "text": ""
24449
- }
24450
- }
24451
- },
24452
- {
24453
- "kind": "method",
24454
- "name": "renderSuccessState",
24455
- "privacy": "private",
24456
- "description": "Renders the success state of the progress spinner.",
24457
- "return": {
24458
- "type": {
24459
- "text": ""
24460
- }
24461
- }
24462
- },
24463
- {
24464
- "kind": "field",
24465
- "name": "dataAriaLabel",
24466
- "type": {
24467
- "text": "string | null"
24468
- },
24469
- "default": "null",
24470
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
24471
- "attribute": "data-aria-label",
24472
- "reflects": true,
24473
- "inheritedFrom": {
24474
- "name": "DataAriaLabelMixin",
24475
- "module": "utils/mixins/DataAriaLabelMixin.js"
24476
- }
24477
- },
24478
24396
  {
24479
24397
  "kind": "field",
24480
24398
  "name": "variant",
@@ -24484,11 +24402,7 @@
24484
24402
  "description": "Types of the progressbar\n- **Default**\n- **Inline**",
24485
24403
  "default": "default",
24486
24404
  "attribute": "variant",
24487
- "reflects": true,
24488
- "inheritedFrom": {
24489
- "name": "Progressbar",
24490
- "module": "components/progressbar/progressbar.component.js"
24491
- }
24405
+ "reflects": true
24492
24406
  },
24493
24407
  {
24494
24408
  "kind": "field",
@@ -24499,11 +24413,7 @@
24499
24413
  "default": "'0'",
24500
24414
  "description": "The current progress as a percentage, 0 to 100.\nThe value will be clamped between 0 and 100.",
24501
24415
  "attribute": "value",
24502
- "reflects": true,
24503
- "inheritedFrom": {
24504
- "name": "Progressbar",
24505
- "module": "components/progressbar/progressbar.component.js"
24506
- }
24416
+ "reflects": true
24507
24417
  },
24508
24418
  {
24509
24419
  "kind": "field",
@@ -24513,11 +24423,7 @@
24513
24423
  },
24514
24424
  "default": "false",
24515
24425
  "description": "Define error state of the progressbar\n- **true**\n- **false**",
24516
- "attribute": "error",
24517
- "inheritedFrom": {
24518
- "name": "Progressbar",
24519
- "module": "components/progressbar/progressbar.component.js"
24520
- }
24426
+ "attribute": "error"
24521
24427
  },
24522
24428
  {
24523
24429
  "kind": "method",
@@ -24528,10 +24434,21 @@
24528
24434
  "type": {
24529
24435
  "text": ""
24530
24436
  }
24437
+ }
24438
+ },
24439
+ {
24440
+ "kind": "field",
24441
+ "name": "dataAriaLabel",
24442
+ "type": {
24443
+ "text": "string | null"
24531
24444
  },
24445
+ "default": "null",
24446
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
24447
+ "attribute": "data-aria-label",
24448
+ "reflects": true,
24532
24449
  "inheritedFrom": {
24533
- "name": "Progressbar",
24534
- "module": "components/progressbar/progressbar.component.js"
24450
+ "name": "DataAriaLabelMixin",
24451
+ "module": "utils/mixins/DataAriaLabelMixin.js"
24535
24452
  }
24536
24453
  },
24537
24454
  {
@@ -24739,27 +24656,7 @@
24739
24656
  }
24740
24657
  }
24741
24658
  ],
24742
- "superclass": {
24743
- "name": "Progressbar",
24744
- "module": "/src/components/progressbar/progressbar.component"
24745
- },
24746
- "tagName": "mdc-progressspinner",
24747
- "jsDoc": "/**\n * `mdc-progressspinner` is a customizable, circular progress indicator component.\n * It visually represents the current completion state of a process, such as loading,\n * syncing, uploading, or any ongoing task that has a measurable percentage.\n *\n * The spinner is built using SVG with two concentric `<circle>` elements:\n * - The `progress` arc represents the portion of work completed.\n * - The `track` arc represents the remaining part.\n *\n * A visual gap is maintained between the progress and track arcs to clearly\n * distinguish the two segments. The component smoothly animates arc length\n * and respects accessibility best practices with ARIA attributes.\n *\n * The component supports different states:\n * - **Default**: Circular spinner shows the progress.\n * - **Success**: Displays a checkmark icon when progress reaches 100%.\n * - **Error**: Displays an error icon when in an error state.\n *\n * @tagname mdc-progressspinner\n *\n * @cssproperty --mdc-spinner-size - The size of the spinner.\n * @cssproperty --mdc-track-color - The color of the spinner track.\n * @cssproperty --mdc-progress-color - The color of the spinner progress.\n * @cssproperty --mdc-progress-success-color - The color of the spinner when in success state.\n * @cssproperty --mdc-progress-error-color - The color of the spinner when in error state.\n *\n */",
24748
- "customElement": true,
24749
24659
  "attributes": [
24750
- {
24751
- "name": "data-aria-label",
24752
- "type": {
24753
- "text": "string | null"
24754
- },
24755
- "default": "null",
24756
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
24757
- "fieldName": "dataAriaLabel",
24758
- "inheritedFrom": {
24759
- "name": "DataAriaLabelMixin",
24760
- "module": "src/utils/mixins/DataAriaLabelMixin.ts"
24761
- }
24762
- },
24763
24660
  {
24764
24661
  "name": "variant",
24765
24662
  "type": {
@@ -24767,11 +24664,7 @@
24767
24664
  },
24768
24665
  "description": "Types of the progressbar\n- **Default**\n- **Inline**",
24769
24666
  "default": "default",
24770
- "fieldName": "variant",
24771
- "inheritedFrom": {
24772
- "name": "Progressbar",
24773
- "module": "src/components/progressbar/progressbar.component.ts"
24774
- }
24667
+ "fieldName": "variant"
24775
24668
  },
24776
24669
  {
24777
24670
  "name": "value",
@@ -24780,11 +24673,7 @@
24780
24673
  },
24781
24674
  "default": "'0'",
24782
24675
  "description": "The current progress as a percentage, 0 to 100.\nThe value will be clamped between 0 and 100.",
24783
- "fieldName": "value",
24784
- "inheritedFrom": {
24785
- "name": "Progressbar",
24786
- "module": "src/components/progressbar/progressbar.component.ts"
24787
- }
24676
+ "fieldName": "value"
24788
24677
  },
24789
24678
  {
24790
24679
  "name": "error",
@@ -24793,10 +24682,19 @@
24793
24682
  },
24794
24683
  "default": "false",
24795
24684
  "description": "Define error state of the progressbar\n- **true**\n- **false**",
24796
- "fieldName": "error",
24685
+ "fieldName": "error"
24686
+ },
24687
+ {
24688
+ "name": "data-aria-label",
24689
+ "type": {
24690
+ "text": "string | null"
24691
+ },
24692
+ "default": "null",
24693
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
24694
+ "fieldName": "dataAriaLabel",
24797
24695
  "inheritedFrom": {
24798
- "name": "Progressbar",
24799
- "module": "src/components/progressbar/progressbar.component.ts"
24696
+ "name": "DataAriaLabelMixin",
24697
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
24800
24698
  }
24801
24699
  },
24802
24700
  {
@@ -24911,7 +24809,20 @@
24911
24809
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
24912
24810
  }
24913
24811
  }
24914
- ]
24812
+ ],
24813
+ "mixins": [
24814
+ {
24815
+ "name": "DataAriaLabelMixin",
24816
+ "module": "/src/utils/mixins/DataAriaLabelMixin"
24817
+ }
24818
+ ],
24819
+ "superclass": {
24820
+ "name": "FormfieldWrapper",
24821
+ "module": "/src/components/formfieldwrapper"
24822
+ },
24823
+ "tagName": "mdc-progressbar",
24824
+ "jsDoc": "/**\n * mdc-progressbar component visually represents a progress indicator, typically used to show\n * the completion state of an ongoing process (e.g., loading, file upload, etc.).\n * It contains an optional label and an optional helper text.\n *\n * - It supports mainly two types: Default and Inline\n * - It supports three validation variants: Default, Success and Error.\n *\n * This component is created by extending FormfieldWrapper.\n *\n * @tagname mdc-progressbar\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-progressbar-default-background-color - Background color of the progressbar when inactive.\n * @cssproperty --mdc-progressbar-default-active-background-color - Background color of the progressbar when active.\n * @cssproperty --mdc-progressbar-success-background-color - Background color of the progressbar when in success state.\n * @cssproperty --mdc-progressbar-error-background-color - Background color of the progressbar when in error state.\n * @cssproperty --mdc-progressbar-height - The height of the progressbar.\n * @cssproperty --mdc-progressbar-border-radius - The border radius of the progressbar.\n * @cssproperty --mdc-progressbar-label-color - Color of the progressbar label text.\n * @cssproperty --mdc-progressbar-label-lineheight - Line height of the label text.\n * @cssproperty --mdc-progressbar-label-fontsize - Font size of the label text.\n * @cssproperty --mdc-progressbar-label-fontweight - Font weight of the label text.\n * @cssproperty --mdc-progressbar-help-text-color - Color of the help text.\n */",
24825
+ "customElement": true
24915
24826
  }
24916
24827
  ],
24917
24828
  "exports": [
@@ -24919,67 +24830,173 @@
24919
24830
  "kind": "js",
24920
24831
  "name": "default",
24921
24832
  "declaration": {
24922
- "name": "Progressspinner",
24923
- "module": "components/progressspinner/progressspinner.component.js"
24833
+ "name": "Progressbar",
24834
+ "module": "components/progressbar/progressbar.component.js"
24924
24835
  }
24925
24836
  }
24926
24837
  ]
24927
24838
  },
24928
24839
  {
24929
24840
  "kind": "javascript-module",
24930
- "path": "components/progressbar/progressbar.component.js",
24841
+ "path": "components/progressspinner/progressspinner.component.js",
24931
24842
  "declarations": [
24932
24843
  {
24933
24844
  "kind": "class",
24934
- "description": "mdc-progressbar component visually represents a progress indicator, typically used to show\nthe completion state of an ongoing process (e.g., loading, file upload, etc.).\nIt contains an optional label and an optional helper text.\n\n- It supports mainly two types: Default and Inline\n- It supports three validation variants: Default, Success and Error.\n\nThis component is created by extending FormfieldWrapper.",
24935
- "name": "Progressbar",
24845
+ "description": "`mdc-progressspinner` is a customizable, circular progress indicator component.\nIt visually represents the current completion state of a process, such as loading,\nsyncing, uploading, or any ongoing task that has a measurable percentage.\n\nThe spinner is built using SVG with two concentric `<circle>` elements:\n- The `progress` arc represents the portion of work completed.\n- The `track` arc represents the remaining part.\n\nA visual gap is maintained between the progress and track arcs to clearly\ndistinguish the two segments. The component smoothly animates arc length\nand respects accessibility best practices with ARIA attributes.\n\nThe component supports different states:\n- **Default**: Circular spinner shows the progress.\n- **Success**: Displays a checkmark icon when progress reaches 100%.\n- **Error**: Displays an error icon when in an error state.",
24846
+ "name": "Progressspinner",
24936
24847
  "cssProperties": [
24848
+ {
24849
+ "description": "The size of the spinner.",
24850
+ "name": "--mdc-spinner-size"
24851
+ },
24852
+ {
24853
+ "description": "The color of the spinner track.",
24854
+ "name": "--mdc-track-color"
24855
+ },
24856
+ {
24857
+ "description": "The color of the spinner progress.",
24858
+ "name": "--mdc-progress-color"
24859
+ },
24860
+ {
24861
+ "description": "The color of the spinner when in success state.",
24862
+ "name": "--mdc-progress-success-color"
24863
+ },
24864
+ {
24865
+ "description": "The color of the spinner when in error state.",
24866
+ "name": "--mdc-progress-error-color"
24867
+ },
24937
24868
  {
24938
24869
  "description": "Background color of the progressbar when inactive.",
24939
- "name": "--mdc-progressbar-default-background-color"
24870
+ "name": "--mdc-progressbar-default-background-color",
24871
+ "inheritedFrom": {
24872
+ "name": "Progressbar",
24873
+ "module": "src/components/progressbar/progressbar.component.ts"
24874
+ }
24940
24875
  },
24941
24876
  {
24942
24877
  "description": "Background color of the progressbar when active.",
24943
- "name": "--mdc-progressbar-default-active-background-color"
24878
+ "name": "--mdc-progressbar-default-active-background-color",
24879
+ "inheritedFrom": {
24880
+ "name": "Progressbar",
24881
+ "module": "src/components/progressbar/progressbar.component.ts"
24882
+ }
24944
24883
  },
24945
24884
  {
24946
24885
  "description": "Background color of the progressbar when in success state.",
24947
- "name": "--mdc-progressbar-success-background-color"
24886
+ "name": "--mdc-progressbar-success-background-color",
24887
+ "inheritedFrom": {
24888
+ "name": "Progressbar",
24889
+ "module": "src/components/progressbar/progressbar.component.ts"
24890
+ }
24948
24891
  },
24949
24892
  {
24950
24893
  "description": "Background color of the progressbar when in error state.",
24951
- "name": "--mdc-progressbar-error-background-color"
24894
+ "name": "--mdc-progressbar-error-background-color",
24895
+ "inheritedFrom": {
24896
+ "name": "Progressbar",
24897
+ "module": "src/components/progressbar/progressbar.component.ts"
24898
+ }
24952
24899
  },
24953
24900
  {
24954
24901
  "description": "The height of the progressbar.",
24955
- "name": "--mdc-progressbar-height"
24902
+ "name": "--mdc-progressbar-height",
24903
+ "inheritedFrom": {
24904
+ "name": "Progressbar",
24905
+ "module": "src/components/progressbar/progressbar.component.ts"
24906
+ }
24956
24907
  },
24957
24908
  {
24958
24909
  "description": "The border radius of the progressbar.",
24959
- "name": "--mdc-progressbar-border-radius"
24910
+ "name": "--mdc-progressbar-border-radius",
24911
+ "inheritedFrom": {
24912
+ "name": "Progressbar",
24913
+ "module": "src/components/progressbar/progressbar.component.ts"
24914
+ }
24960
24915
  },
24961
24916
  {
24962
24917
  "description": "Color of the progressbar label text.",
24963
- "name": "--mdc-progressbar-label-color"
24918
+ "name": "--mdc-progressbar-label-color",
24919
+ "inheritedFrom": {
24920
+ "name": "Progressbar",
24921
+ "module": "src/components/progressbar/progressbar.component.ts"
24922
+ }
24964
24923
  },
24965
24924
  {
24966
24925
  "description": "Line height of the label text.",
24967
- "name": "--mdc-progressbar-label-lineheight"
24926
+ "name": "--mdc-progressbar-label-lineheight",
24927
+ "inheritedFrom": {
24928
+ "name": "Progressbar",
24929
+ "module": "src/components/progressbar/progressbar.component.ts"
24930
+ }
24968
24931
  },
24969
24932
  {
24970
24933
  "description": "Font size of the label text.",
24971
- "name": "--mdc-progressbar-label-fontsize"
24934
+ "name": "--mdc-progressbar-label-fontsize",
24935
+ "inheritedFrom": {
24936
+ "name": "Progressbar",
24937
+ "module": "src/components/progressbar/progressbar.component.ts"
24938
+ }
24972
24939
  },
24973
24940
  {
24974
24941
  "description": "Font weight of the label text.",
24975
- "name": "--mdc-progressbar-label-fontweight"
24942
+ "name": "--mdc-progressbar-label-fontweight",
24943
+ "inheritedFrom": {
24944
+ "name": "Progressbar",
24945
+ "module": "src/components/progressbar/progressbar.component.ts"
24946
+ }
24976
24947
  },
24977
24948
  {
24978
24949
  "description": "Color of the help text.",
24979
- "name": "--mdc-progressbar-help-text-color"
24950
+ "name": "--mdc-progressbar-help-text-color",
24951
+ "inheritedFrom": {
24952
+ "name": "Progressbar",
24953
+ "module": "src/components/progressbar/progressbar.component.ts"
24954
+ }
24980
24955
  }
24981
24956
  ],
24982
24957
  "members": [
24958
+ {
24959
+ "kind": "method",
24960
+ "name": "renderProgressSpinner",
24961
+ "privacy": "private"
24962
+ },
24963
+ {
24964
+ "kind": "method",
24965
+ "name": "renderErrorState",
24966
+ "privacy": "private",
24967
+ "description": "Renders the error state of the progress spinner.",
24968
+ "return": {
24969
+ "type": {
24970
+ "text": ""
24971
+ }
24972
+ }
24973
+ },
24974
+ {
24975
+ "kind": "method",
24976
+ "name": "renderSuccessState",
24977
+ "privacy": "private",
24978
+ "description": "Renders the success state of the progress spinner.",
24979
+ "return": {
24980
+ "type": {
24981
+ "text": ""
24982
+ }
24983
+ }
24984
+ },
24985
+ {
24986
+ "kind": "field",
24987
+ "name": "dataAriaLabel",
24988
+ "type": {
24989
+ "text": "string | null"
24990
+ },
24991
+ "default": "null",
24992
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
24993
+ "attribute": "data-aria-label",
24994
+ "reflects": true,
24995
+ "inheritedFrom": {
24996
+ "name": "DataAriaLabelMixin",
24997
+ "module": "utils/mixins/DataAriaLabelMixin.js"
24998
+ }
24999
+ },
24983
25000
  {
24984
25001
  "kind": "field",
24985
25002
  "name": "variant",
@@ -24989,7 +25006,11 @@
24989
25006
  "description": "Types of the progressbar\n- **Default**\n- **Inline**",
24990
25007
  "default": "default",
24991
25008
  "attribute": "variant",
24992
- "reflects": true
25009
+ "reflects": true,
25010
+ "inheritedFrom": {
25011
+ "name": "Progressbar",
25012
+ "module": "components/progressbar/progressbar.component.js"
25013
+ }
24993
25014
  },
24994
25015
  {
24995
25016
  "kind": "field",
@@ -25000,7 +25021,11 @@
25000
25021
  "default": "'0'",
25001
25022
  "description": "The current progress as a percentage, 0 to 100.\nThe value will be clamped between 0 and 100.",
25002
25023
  "attribute": "value",
25003
- "reflects": true
25024
+ "reflects": true,
25025
+ "inheritedFrom": {
25026
+ "name": "Progressbar",
25027
+ "module": "components/progressbar/progressbar.component.js"
25028
+ }
25004
25029
  },
25005
25030
  {
25006
25031
  "kind": "field",
@@ -25010,7 +25035,11 @@
25010
25035
  },
25011
25036
  "default": "false",
25012
25037
  "description": "Define error state of the progressbar\n- **true**\n- **false**",
25013
- "attribute": "error"
25038
+ "attribute": "error",
25039
+ "inheritedFrom": {
25040
+ "name": "Progressbar",
25041
+ "module": "components/progressbar/progressbar.component.js"
25042
+ }
25014
25043
  },
25015
25044
  {
25016
25045
  "kind": "method",
@@ -25021,21 +25050,10 @@
25021
25050
  "type": {
25022
25051
  "text": ""
25023
25052
  }
25024
- }
25025
- },
25026
- {
25027
- "kind": "field",
25028
- "name": "dataAriaLabel",
25029
- "type": {
25030
- "text": "string | null"
25031
25053
  },
25032
- "default": "null",
25033
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
25034
- "attribute": "data-aria-label",
25035
- "reflects": true,
25036
25054
  "inheritedFrom": {
25037
- "name": "DataAriaLabelMixin",
25038
- "module": "utils/mixins/DataAriaLabelMixin.js"
25055
+ "name": "Progressbar",
25056
+ "module": "components/progressbar/progressbar.component.js"
25039
25057
  }
25040
25058
  },
25041
25059
  {
@@ -25243,7 +25261,27 @@
25243
25261
  }
25244
25262
  }
25245
25263
  ],
25264
+ "superclass": {
25265
+ "name": "Progressbar",
25266
+ "module": "/src/components/progressbar/progressbar.component"
25267
+ },
25268
+ "tagName": "mdc-progressspinner",
25269
+ "jsDoc": "/**\n * `mdc-progressspinner` is a customizable, circular progress indicator component.\n * It visually represents the current completion state of a process, such as loading,\n * syncing, uploading, or any ongoing task that has a measurable percentage.\n *\n * The spinner is built using SVG with two concentric `<circle>` elements:\n * - The `progress` arc represents the portion of work completed.\n * - The `track` arc represents the remaining part.\n *\n * A visual gap is maintained between the progress and track arcs to clearly\n * distinguish the two segments. The component smoothly animates arc length\n * and respects accessibility best practices with ARIA attributes.\n *\n * The component supports different states:\n * - **Default**: Circular spinner shows the progress.\n * - **Success**: Displays a checkmark icon when progress reaches 100%.\n * - **Error**: Displays an error icon when in an error state.\n *\n * @tagname mdc-progressspinner\n *\n * @cssproperty --mdc-spinner-size - The size of the spinner.\n * @cssproperty --mdc-track-color - The color of the spinner track.\n * @cssproperty --mdc-progress-color - The color of the spinner progress.\n * @cssproperty --mdc-progress-success-color - The color of the spinner when in success state.\n * @cssproperty --mdc-progress-error-color - The color of the spinner when in error state.\n *\n */",
25270
+ "customElement": true,
25246
25271
  "attributes": [
25272
+ {
25273
+ "name": "data-aria-label",
25274
+ "type": {
25275
+ "text": "string | null"
25276
+ },
25277
+ "default": "null",
25278
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
25279
+ "fieldName": "dataAriaLabel",
25280
+ "inheritedFrom": {
25281
+ "name": "DataAriaLabelMixin",
25282
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
25283
+ }
25284
+ },
25247
25285
  {
25248
25286
  "name": "variant",
25249
25287
  "type": {
@@ -25251,7 +25289,11 @@
25251
25289
  },
25252
25290
  "description": "Types of the progressbar\n- **Default**\n- **Inline**",
25253
25291
  "default": "default",
25254
- "fieldName": "variant"
25292
+ "fieldName": "variant",
25293
+ "inheritedFrom": {
25294
+ "name": "Progressbar",
25295
+ "module": "src/components/progressbar/progressbar.component.ts"
25296
+ }
25255
25297
  },
25256
25298
  {
25257
25299
  "name": "value",
@@ -25260,7 +25302,11 @@
25260
25302
  },
25261
25303
  "default": "'0'",
25262
25304
  "description": "The current progress as a percentage, 0 to 100.\nThe value will be clamped between 0 and 100.",
25263
- "fieldName": "value"
25305
+ "fieldName": "value",
25306
+ "inheritedFrom": {
25307
+ "name": "Progressbar",
25308
+ "module": "src/components/progressbar/progressbar.component.ts"
25309
+ }
25264
25310
  },
25265
25311
  {
25266
25312
  "name": "error",
@@ -25269,19 +25315,10 @@
25269
25315
  },
25270
25316
  "default": "false",
25271
25317
  "description": "Define error state of the progressbar\n- **true**\n- **false**",
25272
- "fieldName": "error"
25273
- },
25274
- {
25275
- "name": "data-aria-label",
25276
- "type": {
25277
- "text": "string | null"
25278
- },
25279
- "default": "null",
25280
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
25281
- "fieldName": "dataAriaLabel",
25318
+ "fieldName": "error",
25282
25319
  "inheritedFrom": {
25283
- "name": "DataAriaLabelMixin",
25284
- "module": "src/utils/mixins/DataAriaLabelMixin.ts"
25320
+ "name": "Progressbar",
25321
+ "module": "src/components/progressbar/progressbar.component.ts"
25285
25322
  }
25286
25323
  },
25287
25324
  {
@@ -25396,20 +25433,7 @@
25396
25433
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
25397
25434
  }
25398
25435
  }
25399
- ],
25400
- "mixins": [
25401
- {
25402
- "name": "DataAriaLabelMixin",
25403
- "module": "/src/utils/mixins/DataAriaLabelMixin"
25404
- }
25405
- ],
25406
- "superclass": {
25407
- "name": "FormfieldWrapper",
25408
- "module": "/src/components/formfieldwrapper"
25409
- },
25410
- "tagName": "mdc-progressbar",
25411
- "jsDoc": "/**\n * mdc-progressbar component visually represents a progress indicator, typically used to show\n * the completion state of an ongoing process (e.g., loading, file upload, etc.).\n * It contains an optional label and an optional helper text.\n *\n * - It supports mainly two types: Default and Inline\n * - It supports three validation variants: Default, Success and Error.\n *\n * This component is created by extending FormfieldWrapper.\n *\n * @tagname mdc-progressbar\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-progressbar-default-background-color - Background color of the progressbar when inactive.\n * @cssproperty --mdc-progressbar-default-active-background-color - Background color of the progressbar when active.\n * @cssproperty --mdc-progressbar-success-background-color - Background color of the progressbar when in success state.\n * @cssproperty --mdc-progressbar-error-background-color - Background color of the progressbar when in error state.\n * @cssproperty --mdc-progressbar-height - The height of the progressbar.\n * @cssproperty --mdc-progressbar-border-radius - The border radius of the progressbar.\n * @cssproperty --mdc-progressbar-label-color - Color of the progressbar label text.\n * @cssproperty --mdc-progressbar-label-lineheight - Line height of the label text.\n * @cssproperty --mdc-progressbar-label-fontsize - Font size of the label text.\n * @cssproperty --mdc-progressbar-label-fontweight - Font weight of the label text.\n * @cssproperty --mdc-progressbar-help-text-color - Color of the help text.\n */",
25412
- "customElement": true
25436
+ ]
25413
25437
  }
25414
25438
  ],
25415
25439
  "exports": [
@@ -25417,8 +25441,8 @@
25417
25441
  "kind": "js",
25418
25442
  "name": "default",
25419
25443
  "declaration": {
25420
- "name": "Progressbar",
25421
- "module": "components/progressbar/progressbar.component.js"
25444
+ "name": "Progressspinner",
25445
+ "module": "components/progressspinner/progressspinner.component.js"
25422
25446
  }
25423
25447
  }
25424
25448
  ]