@momentum-design/components 0.82.0 → 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.
@@ -34,6 +34,8 @@ declare const Card_base: import("../../utils/mixins/index.types").Constructor<im
34
34
  * `mdc-button` component within the footer section.
35
35
  * @slot footer-button-secondary - This slot is for passing secondary variant of `mdc-button` component
36
36
  * within the footer section.
37
+ * @slot footer - This slot is for passing custom footer content. Only use this if really needed,
38
+ * using the footer-link and footer-button slots is preferred.
37
39
  *
38
40
  * @tagname mdc-card
39
41
  *
@@ -48,6 +48,8 @@ import { CardAndDialogFooterMixin } from '../../utils/mixins/CardAndDialogFooter
48
48
  * `mdc-button` component within the footer section.
49
49
  * @slot footer-button-secondary - This slot is for passing secondary variant of `mdc-button` component
50
50
  * within the footer section.
51
+ * @slot footer - This slot is for passing custom footer content. Only use this if really needed,
52
+ * using the footer-link and footer-button slots is preferred.
51
53
  *
52
54
  * @tagname mdc-card
53
55
  *
@@ -47,7 +47,8 @@ declare const Dialog_base: import("../../utils/mixins/index.types").Constructor<
47
47
  * within the footer section.
48
48
  * @slot footer-button-primary - This slot is for passing primary variant of
49
49
  * `mdc-button` component within the footer section.
50
- *
50
+ * @slot footer - This slot is for passing custom footer content. Only use this if really needed,
51
+ * using the footer-link and footer-button slots is preferred
51
52
  */
52
53
  declare class Dialog extends Dialog_base {
53
54
  /**
@@ -63,7 +63,8 @@ import { CardAndDialogFooterMixin } from '../../utils/mixins/CardAndDialogFooter
63
63
  * within the footer section.
64
64
  * @slot footer-button-primary - This slot is for passing primary variant of
65
65
  * `mdc-button` component within the footer section.
66
- *
66
+ * @slot footer - This slot is for passing custom footer content. Only use this if really needed,
67
+ * using the footer-link and footer-button slots is preferred
67
68
  */
68
69
  class Dialog extends FocusTrapMixin(CardAndDialogFooterMixin(Component)) {
69
70
  constructor() {
@@ -80,7 +80,8 @@ const styles = css `
80
80
  flex-direction: column;
81
81
  justify-content: center;
82
82
  align-items: center;
83
- height: 100%
83
+ height: 100%;
84
+ width: 100%;
84
85
  }
85
86
 
86
87
  :host::part(footer) {
@@ -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
  ],
@@ -29208,6 +29232,139 @@
29208
29232
  }
29209
29233
  ]
29210
29234
  },
29235
+ {
29236
+ "kind": "javascript-module",
29237
+ "path": "components/spinner/spinner.component.js",
29238
+ "declarations": [
29239
+ {
29240
+ "kind": "class",
29241
+ "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.",
29242
+ "name": "Spinner",
29243
+ "cssProperties": [
29244
+ {
29245
+ "description": "Allows customization of the default spinner color.",
29246
+ "name": "--mdc-spinner-default-color"
29247
+ },
29248
+ {
29249
+ "description": "Allows customization of the inverted spinner color.",
29250
+ "name": "--mdc-spinner-inverted-color"
29251
+ },
29252
+ {
29253
+ "description": "Allows customization of the spinner Button variant color.",
29254
+ "name": "--mdc-spinner-button-variant-color"
29255
+ },
29256
+ {
29257
+ "description": "Allows customization of the spinner size.",
29258
+ "name": "--mdc-spinner-size"
29259
+ }
29260
+ ],
29261
+ "cssParts": [
29262
+ {
29263
+ "description": "The svg which contains the circle spinner.",
29264
+ "name": "container"
29265
+ },
29266
+ {
29267
+ "description": "The circle of the spinner.",
29268
+ "name": "circle"
29269
+ }
29270
+ ],
29271
+ "members": [
29272
+ {
29273
+ "kind": "field",
29274
+ "name": "inverted",
29275
+ "description": "The spinner color can be inverted by setting the inverted attribute to true.",
29276
+ "default": "false",
29277
+ "attribute": "inverted",
29278
+ "reflects": true
29279
+ },
29280
+ {
29281
+ "kind": "field",
29282
+ "name": "size",
29283
+ "type": {
29284
+ "text": "SpinnerSize | undefined"
29285
+ },
29286
+ "description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
29287
+ "default": "midsize",
29288
+ "attribute": "size",
29289
+ "reflects": true
29290
+ },
29291
+ {
29292
+ "kind": "field",
29293
+ "name": "ariaLabel",
29294
+ "type": {
29295
+ "text": "string | null"
29296
+ },
29297
+ "default": "null",
29298
+ "description": "Aria-label attribute to be set for accessibility",
29299
+ "attribute": "aria-label"
29300
+ },
29301
+ {
29302
+ "kind": "field",
29303
+ "name": "variant",
29304
+ "type": {
29305
+ "text": "SpinnerVariant"
29306
+ },
29307
+ "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.",
29308
+ "default": "standalone",
29309
+ "attribute": "variant",
29310
+ "reflects": true
29311
+ }
29312
+ ],
29313
+ "attributes": [
29314
+ {
29315
+ "name": "inverted",
29316
+ "description": "The spinner color can be inverted by setting the inverted attribute to true.",
29317
+ "default": "false",
29318
+ "fieldName": "inverted"
29319
+ },
29320
+ {
29321
+ "name": "size",
29322
+ "type": {
29323
+ "text": "SpinnerSize | undefined"
29324
+ },
29325
+ "description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
29326
+ "default": "midsize",
29327
+ "fieldName": "size"
29328
+ },
29329
+ {
29330
+ "name": "aria-label",
29331
+ "type": {
29332
+ "text": "string | null"
29333
+ },
29334
+ "default": "null",
29335
+ "description": "Aria-label attribute to be set for accessibility",
29336
+ "fieldName": "ariaLabel"
29337
+ },
29338
+ {
29339
+ "name": "variant",
29340
+ "type": {
29341
+ "text": "SpinnerVariant"
29342
+ },
29343
+ "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.",
29344
+ "default": "standalone",
29345
+ "fieldName": "variant"
29346
+ }
29347
+ ],
29348
+ "superclass": {
29349
+ "name": "Component",
29350
+ "module": "/src/models"
29351
+ },
29352
+ "tagName": "mdc-spinner",
29353
+ "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 */",
29354
+ "customElement": true
29355
+ }
29356
+ ],
29357
+ "exports": [
29358
+ {
29359
+ "kind": "js",
29360
+ "name": "default",
29361
+ "declaration": {
29362
+ "name": "Spinner",
29363
+ "module": "components/spinner/spinner.component.js"
29364
+ }
29365
+ }
29366
+ ]
29367
+ },
29211
29368
  {
29212
29369
  "kind": "javascript-module",
29213
29370
  "path": "components/staticcheckbox/staticcheckbox.component.js",
@@ -29674,139 +29831,6 @@
29674
29831
  }
29675
29832
  ]
29676
29833
  },
29677
- {
29678
- "kind": "javascript-module",
29679
- "path": "components/spinner/spinner.component.js",
29680
- "declarations": [
29681
- {
29682
- "kind": "class",
29683
- "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.",
29684
- "name": "Spinner",
29685
- "cssProperties": [
29686
- {
29687
- "description": "Allows customization of the default spinner color.",
29688
- "name": "--mdc-spinner-default-color"
29689
- },
29690
- {
29691
- "description": "Allows customization of the inverted spinner color.",
29692
- "name": "--mdc-spinner-inverted-color"
29693
- },
29694
- {
29695
- "description": "Allows customization of the spinner Button variant color.",
29696
- "name": "--mdc-spinner-button-variant-color"
29697
- },
29698
- {
29699
- "description": "Allows customization of the spinner size.",
29700
- "name": "--mdc-spinner-size"
29701
- }
29702
- ],
29703
- "cssParts": [
29704
- {
29705
- "description": "The svg which contains the circle spinner.",
29706
- "name": "container"
29707
- },
29708
- {
29709
- "description": "The circle of the spinner.",
29710
- "name": "circle"
29711
- }
29712
- ],
29713
- "members": [
29714
- {
29715
- "kind": "field",
29716
- "name": "inverted",
29717
- "description": "The spinner color can be inverted by setting the inverted attribute to true.",
29718
- "default": "false",
29719
- "attribute": "inverted",
29720
- "reflects": true
29721
- },
29722
- {
29723
- "kind": "field",
29724
- "name": "size",
29725
- "type": {
29726
- "text": "SpinnerSize | undefined"
29727
- },
29728
- "description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
29729
- "default": "midsize",
29730
- "attribute": "size",
29731
- "reflects": true
29732
- },
29733
- {
29734
- "kind": "field",
29735
- "name": "ariaLabel",
29736
- "type": {
29737
- "text": "string | null"
29738
- },
29739
- "default": "null",
29740
- "description": "Aria-label attribute to be set for accessibility",
29741
- "attribute": "aria-label"
29742
- },
29743
- {
29744
- "kind": "field",
29745
- "name": "variant",
29746
- "type": {
29747
- "text": "SpinnerVariant"
29748
- },
29749
- "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.",
29750
- "default": "standalone",
29751
- "attribute": "variant",
29752
- "reflects": true
29753
- }
29754
- ],
29755
- "attributes": [
29756
- {
29757
- "name": "inverted",
29758
- "description": "The spinner color can be inverted by setting the inverted attribute to true.",
29759
- "default": "false",
29760
- "fieldName": "inverted"
29761
- },
29762
- {
29763
- "name": "size",
29764
- "type": {
29765
- "text": "SpinnerSize | undefined"
29766
- },
29767
- "description": "Size of the spinner.\nAcceptable values include:\n\n- 'small'\n- 'midsize'\n- 'large'\n- 'undefined'",
29768
- "default": "midsize",
29769
- "fieldName": "size"
29770
- },
29771
- {
29772
- "name": "aria-label",
29773
- "type": {
29774
- "text": "string | null"
29775
- },
29776
- "default": "null",
29777
- "description": "Aria-label attribute to be set for accessibility",
29778
- "fieldName": "ariaLabel"
29779
- },
29780
- {
29781
- "name": "variant",
29782
- "type": {
29783
- "text": "SpinnerVariant"
29784
- },
29785
- "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.",
29786
- "default": "standalone",
29787
- "fieldName": "variant"
29788
- }
29789
- ],
29790
- "superclass": {
29791
- "name": "Component",
29792
- "module": "/src/models"
29793
- },
29794
- "tagName": "mdc-spinner",
29795
- "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 */",
29796
- "customElement": true
29797
- }
29798
- ],
29799
- "exports": [
29800
- {
29801
- "kind": "js",
29802
- "name": "default",
29803
- "declaration": {
29804
- "name": "Spinner",
29805
- "module": "components/spinner/spinner.component.js"
29806
- }
29807
- }
29808
- ]
29809
- },
29810
29834
  {
29811
29835
  "kind": "javascript-module",
29812
29836
  "path": "components/tab/tab.component.js",
@@ -32,6 +32,8 @@ import Component from '../../components/card';
32
32
  * `mdc-button` component within the footer section.
33
33
  * @slot footer-button-secondary - This slot is for passing secondary variant of `mdc-button` component
34
34
  * within the footer section.
35
+ * @slot footer - This slot is for passing custom footer content. Only use this if really needed,
36
+ * using the footer-link and footer-button slots is preferred.
35
37
  *
36
38
  * @tagname mdc-card
37
39
  *
@@ -35,6 +35,8 @@ import { TAG_NAME } from '../../components/card/card.constants';
35
35
  * `mdc-button` component within the footer section.
36
36
  * @slot footer-button-secondary - This slot is for passing secondary variant of `mdc-button` component
37
37
  * within the footer section.
38
+ * @slot footer - This slot is for passing custom footer content. Only use this if really needed,
39
+ * using the footer-link and footer-button slots is preferred.
38
40
  *
39
41
  * @tagname mdc-card
40
42
  *
@@ -45,7 +45,8 @@ import Component from '../../components/dialog';
45
45
  * within the footer section.
46
46
  * @slot footer-button-primary - This slot is for passing primary variant of
47
47
  * `mdc-button` component within the footer section.
48
- *
48
+ * @slot footer - This slot is for passing custom footer content. Only use this if really needed,
49
+ * using the footer-link and footer-button slots is preferred
49
50
  */
50
51
  declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
51
52
  onShown: EventName<Event>;
@@ -47,7 +47,8 @@ import { TAG_NAME } from '../../components/dialog/dialog.constants';
47
47
  * within the footer section.
48
48
  * @slot footer-button-primary - This slot is for passing primary variant of
49
49
  * `mdc-button` component within the footer section.
50
- *
50
+ * @slot footer - This slot is for passing custom footer content. Only use this if really needed,
51
+ * using the footer-link and footer-button slots is preferred
51
52
  */
52
53
  const reactWrapper = createComponent({
53
54
  tagName: TAG_NAME,
@@ -52,10 +52,10 @@ export { default as Searchfield } from './searchfield';
52
52
  export { default as Select } from './select';
53
53
  export { default as SideNavigation } from './sidenavigation';
54
54
  export { default as Skeleton } from './skeleton';
55
+ export { default as Spinner } from './spinner';
55
56
  export { default as StaticCheckbox } from './staticcheckbox';
56
57
  export { default as StaticRadio } from './staticradio';
57
58
  export { default as StaticToggle } from './statictoggle';
58
- export { default as Spinner } from './spinner';
59
59
  export { default as Tab } from './tab';
60
60
  export { default as TabList } from './tablist';
61
61
  export { default as Text } from './text';
@@ -52,10 +52,10 @@ export { default as Searchfield } from './searchfield';
52
52
  export { default as Select } from './select';
53
53
  export { default as SideNavigation } from './sidenavigation';
54
54
  export { default as Skeleton } from './skeleton';
55
+ export { default as Spinner } from './spinner';
55
56
  export { default as StaticCheckbox } from './staticcheckbox';
56
57
  export { default as StaticRadio } from './staticradio';
57
58
  export { default as StaticToggle } from './statictoggle';
58
- export { default as Spinner } from './spinner';
59
59
  export { default as Tab } from './tab';
60
60
  export { default as TabList } from './tablist';
61
61
  export { default as Text } from './text';
@@ -77,15 +77,17 @@ export const CardAndDialogFooterMixin = (superClass) => {
77
77
  */
78
78
  renderFooter() {
79
79
  return html `<div part="footer">
80
- <slot name="footer-link" @slotchange=${() => this.handleFooterSlot(DEFAULTS.LINK)}></slot>
81
- <slot
82
- name="footer-button-secondary"
83
- @slotchange=${() => this.handleFooterSlot(DEFAULTS.BUTTON, BUTTON_VARIANTS.SECONDARY)}
84
- ></slot>
85
- <slot
86
- name="footer-button-primary"
87
- @slotchange=${() => this.handleFooterSlot(DEFAULTS.BUTTON, BUTTON_VARIANTS.PRIMARY)}
88
- ></slot>
80
+ <slot name="footer">
81
+ <slot name="footer-link" @slotchange=${() => this.handleFooterSlot(DEFAULTS.LINK)}></slot>
82
+ <slot
83
+ name="footer-button-secondary"
84
+ @slotchange=${() => this.handleFooterSlot(DEFAULTS.BUTTON, BUTTON_VARIANTS.SECONDARY)}
85
+ ></slot>
86
+ <slot
87
+ name="footer-button-primary"
88
+ @slotchange=${() => this.handleFooterSlot(DEFAULTS.BUTTON, BUTTON_VARIANTS.PRIMARY)}
89
+ ></slot>
90
+ </slot>
89
91
  </div>`;
90
92
  }
91
93
  }
package/package.json CHANGED
@@ -41,5 +41,5 @@
41
41
  "lottie-web": "^5.12.2",
42
42
  "uuid": "^11.0.5"
43
43
  },
44
- "version": "0.82.0"
44
+ "version": "0.82.1"
45
45
  }