@momentum-design/components 0.129.37 → 0.129.39

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.
Files changed (30) hide show
  1. package/dist/browser/index.js +12 -7
  2. package/dist/browser/index.js.map +2 -2
  3. package/dist/components/bullet/bullet.component.d.ts +16 -6
  4. package/dist/components/bullet/bullet.component.js +16 -6
  5. package/dist/components/bullet/bullet.styles.js +5 -6
  6. package/dist/components/dialog/dialog.styles.js +7 -1
  7. package/dist/components/divider/divider.component.d.ts +50 -55
  8. package/dist/components/divider/divider.component.js +50 -55
  9. package/dist/components/marker/marker.component.d.ts +20 -15
  10. package/dist/components/marker/marker.component.js +20 -15
  11. package/dist/components/staticcheckbox/staticcheckbox.component.d.ts +22 -11
  12. package/dist/components/staticcheckbox/staticcheckbox.component.js +22 -11
  13. package/dist/components/staticradio/staticradio.component.d.ts +21 -11
  14. package/dist/components/staticradio/staticradio.component.js +21 -11
  15. package/dist/components/statictoggle/statictoggle.component.d.ts +25 -12
  16. package/dist/components/statictoggle/statictoggle.component.js +25 -12
  17. package/dist/custom-elements.json +73 -75
  18. package/dist/react/bullet/index.d.ts +16 -6
  19. package/dist/react/bullet/index.js +16 -6
  20. package/dist/react/divider/index.d.ts +33 -38
  21. package/dist/react/divider/index.js +33 -38
  22. package/dist/react/marker/index.d.ts +17 -12
  23. package/dist/react/marker/index.js +17 -12
  24. package/dist/react/staticcheckbox/index.d.ts +22 -11
  25. package/dist/react/staticcheckbox/index.js +22 -11
  26. package/dist/react/staticradio/index.d.ts +21 -11
  27. package/dist/react/staticradio/index.js +21 -11
  28. package/dist/react/statictoggle/index.d.ts +25 -12
  29. package/dist/react/statictoggle/index.js +25 -12
  30. package/package.json +1 -1
@@ -1,50 +1,45 @@
1
1
  import Component from '../../components/divider';
2
2
  /**
3
- * `mdc-divider` is a component that provides a line to separate and organize content.
4
- * It can also include a button or text positioned centrally, allowing users to interact with the layout.
3
+ * The Divider component provides a visual line to separate and organize content within layouts.
4
+ * It supports both horizontal and vertical orientations with solid or gradient styles, and can
5
+ * optionally include centered text labels or interactive grabber buttons.
5
6
  *
6
- * **Divider Orientation:**
7
- * - **Horizontal**: A thin, horizontal line.
8
- * - **Vertical**: A thin, vertical line.
7
+ * The divider automatically infers its type based on the content in its slot:
8
+ * - **Primary**: Simple line with no content
9
+ * - **Text**: Horizontal line with centered text label
10
+ * - **Grabber Button**: Line with centered interactive button
9
11
  *
10
- * **Divider Variants:**
11
- * - **solid**: Solid line.
12
- * - **gradient**: Gradient Line.
12
+ * **Note:**
13
+ * - Vertical text dividers are not currently supported.
14
+ * - If the slot contains invalid tag names or multiple elements, the divider defaults to the Primary type
15
+ * - Use the provided CSS custom properties to customize divider styles
13
16
  *
14
- * **Divider Types:**
15
- * - The type of divider is inferred based on the kind of slot present.
16
- * - **Primary**: A simple horizontal or vertical divider.
17
- * - **Text**: A horizontal divider with a text label in the center.
18
- * - **Grabber Button**: A horizontal or vertical divider with a styled button in the center.
17
+ * ## When to use
18
+ * Use dividers to create visual separation between content sections, list items, or layout regions.
19
+ * Add text labels to provide context, or grabber buttons to create resizable panes.
19
20
  *
20
- * **Accessibility:**
21
- * - When the slot is replaced by an `mdc-button`:
22
- * - `aria-label` should be passed to the `mdc-button`.
23
- * - `aria-expanded` should be passed to the `mdc-button`.
24
- *
25
- * **Notes:**
26
- * - If the slot is replaced by an invalid tag name or contains multiple elements,
27
- * the divider defaults to the **Primary** type.
28
- * - To override the styles of the divider, use the provided CSS custom properties.
21
+ * ## Accessibility
22
+ * - When using a grabber button, provide `aria-label` to describe its purpose
23
+ * - Set `aria-expanded` on the button to indicate the current state of resizable sections
24
+ * - Ensure sufficient color contrast for the divider line
29
25
  *
30
26
  * @tagname mdc-divider
31
27
  *
32
- * @cssproperty --mdc-divider-background-color - background color of the divider
33
- * @cssproperty --mdc-divider-width - width of the divider
34
- * @cssproperty --mdc-divider-horizontal-gradient - gradient of the horizontal divider
35
- * @cssproperty --mdc-divider-vertical-gradient - gradient of the vertical divider
36
- * @cssproperty --mdc-divider-text-size - font size of label in the text divider
37
- * @cssproperty --mdc-divider-text-color - font color of label in the text divider
38
- * @cssproperty --mdc-divider-text-margin - left and right margin of label in the text divider
39
- * @cssproperty --mdc-divider-text-line-height - line height of label in the text divider
40
- * @cssproperty --mdc-divider-grabber-button-background-color-normal - background color of the grabber button
41
- * in rest state
42
- * @cssproperty --mdc-divider-grabber-button-background-color-hover - background color of the grabber button
43
- * in hover state
44
- * @cssproperty --mdc-divider-grabber-button-background-color-pressed - background color of the grabber button
45
- * in pressed state
46
- * @cssproperty --mdc-divider-grabber-button-border-color - border color of the grabber button
47
- * @cssproperty --mdc-divider-grabber-button-border-radius - border radius of the grabber button
28
+ * @cssproperty --mdc-divider-background-color - Background color of the divider line.
29
+ * @cssproperty --mdc-divider-width - Width (thickness) of the divider line.
30
+ * @cssproperty --mdc-divider-horizontal-gradient - Gradient for horizontal dividers.
31
+ * @cssproperty --mdc-divider-vertical-gradient - Gradient for vertical dividers.
32
+ * @cssproperty --mdc-divider-text-size - Font size of the text label in text dividers.
33
+ * @cssproperty --mdc-divider-text-color - Font color of the text label in text dividers.
34
+ * @cssproperty --mdc-divider-text-margin - Left and right margin of the text label.
35
+ * @cssproperty --mdc-divider-text-line-height - Line height of the text label.
36
+ * @cssproperty --mdc-divider-grabber-button-background-color-normal - Background color of the grabber button in rest state.
37
+ * @cssproperty --mdc-divider-grabber-button-background-color-hover - Background color of the grabber button in hover state.
38
+ * @cssproperty --mdc-divider-grabber-button-background-color-pressed - Background color of the grabber button in pressed state.
39
+ * @cssproperty --mdc-divider-grabber-button-border-color - Border color of the grabber button.
40
+ * @cssproperty --mdc-divider-grabber-button-border-radius - Border radius of the grabber button.
41
+ *
42
+ * @slot - Content for the divider. Use `mdc-text` for text labels or `mdc-button` for grabber buttons.
48
43
  */
49
44
  declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {}>;
50
45
  export default reactWrapper;
@@ -3,51 +3,46 @@ import { createComponent } from '@lit/react';
3
3
  import Component from '../../components/divider';
4
4
  import { TAG_NAME } from '../../components/divider/divider.constants';
5
5
  /**
6
- * `mdc-divider` is a component that provides a line to separate and organize content.
7
- * It can also include a button or text positioned centrally, allowing users to interact with the layout.
6
+ * The Divider component provides a visual line to separate and organize content within layouts.
7
+ * It supports both horizontal and vertical orientations with solid or gradient styles, and can
8
+ * optionally include centered text labels or interactive grabber buttons.
8
9
  *
9
- * **Divider Orientation:**
10
- * - **Horizontal**: A thin, horizontal line.
11
- * - **Vertical**: A thin, vertical line.
10
+ * The divider automatically infers its type based on the content in its slot:
11
+ * - **Primary**: Simple line with no content
12
+ * - **Text**: Horizontal line with centered text label
13
+ * - **Grabber Button**: Line with centered interactive button
12
14
  *
13
- * **Divider Variants:**
14
- * - **solid**: Solid line.
15
- * - **gradient**: Gradient Line.
15
+ * **Note:**
16
+ * - Vertical text dividers are not currently supported.
17
+ * - If the slot contains invalid tag names or multiple elements, the divider defaults to the Primary type
18
+ * - Use the provided CSS custom properties to customize divider styles
16
19
  *
17
- * **Divider Types:**
18
- * - The type of divider is inferred based on the kind of slot present.
19
- * - **Primary**: A simple horizontal or vertical divider.
20
- * - **Text**: A horizontal divider with a text label in the center.
21
- * - **Grabber Button**: A horizontal or vertical divider with a styled button in the center.
20
+ * ## When to use
21
+ * Use dividers to create visual separation between content sections, list items, or layout regions.
22
+ * Add text labels to provide context, or grabber buttons to create resizable panes.
22
23
  *
23
- * **Accessibility:**
24
- * - When the slot is replaced by an `mdc-button`:
25
- * - `aria-label` should be passed to the `mdc-button`.
26
- * - `aria-expanded` should be passed to the `mdc-button`.
27
- *
28
- * **Notes:**
29
- * - If the slot is replaced by an invalid tag name or contains multiple elements,
30
- * the divider defaults to the **Primary** type.
31
- * - To override the styles of the divider, use the provided CSS custom properties.
24
+ * ## Accessibility
25
+ * - When using a grabber button, provide `aria-label` to describe its purpose
26
+ * - Set `aria-expanded` on the button to indicate the current state of resizable sections
27
+ * - Ensure sufficient color contrast for the divider line
32
28
  *
33
29
  * @tagname mdc-divider
34
30
  *
35
- * @cssproperty --mdc-divider-background-color - background color of the divider
36
- * @cssproperty --mdc-divider-width - width of the divider
37
- * @cssproperty --mdc-divider-horizontal-gradient - gradient of the horizontal divider
38
- * @cssproperty --mdc-divider-vertical-gradient - gradient of the vertical divider
39
- * @cssproperty --mdc-divider-text-size - font size of label in the text divider
40
- * @cssproperty --mdc-divider-text-color - font color of label in the text divider
41
- * @cssproperty --mdc-divider-text-margin - left and right margin of label in the text divider
42
- * @cssproperty --mdc-divider-text-line-height - line height of label in the text divider
43
- * @cssproperty --mdc-divider-grabber-button-background-color-normal - background color of the grabber button
44
- * in rest state
45
- * @cssproperty --mdc-divider-grabber-button-background-color-hover - background color of the grabber button
46
- * in hover state
47
- * @cssproperty --mdc-divider-grabber-button-background-color-pressed - background color of the grabber button
48
- * in pressed state
49
- * @cssproperty --mdc-divider-grabber-button-border-color - border color of the grabber button
50
- * @cssproperty --mdc-divider-grabber-button-border-radius - border radius of the grabber button
31
+ * @cssproperty --mdc-divider-background-color - Background color of the divider line.
32
+ * @cssproperty --mdc-divider-width - Width (thickness) of the divider line.
33
+ * @cssproperty --mdc-divider-horizontal-gradient - Gradient for horizontal dividers.
34
+ * @cssproperty --mdc-divider-vertical-gradient - Gradient for vertical dividers.
35
+ * @cssproperty --mdc-divider-text-size - Font size of the text label in text dividers.
36
+ * @cssproperty --mdc-divider-text-color - Font color of the text label in text dividers.
37
+ * @cssproperty --mdc-divider-text-margin - Left and right margin of the text label.
38
+ * @cssproperty --mdc-divider-text-line-height - Line height of the text label.
39
+ * @cssproperty --mdc-divider-grabber-button-background-color-normal - Background color of the grabber button in rest state.
40
+ * @cssproperty --mdc-divider-grabber-button-background-color-hover - Background color of the grabber button in hover state.
41
+ * @cssproperty --mdc-divider-grabber-button-background-color-pressed - Background color of the grabber button in pressed state.
42
+ * @cssproperty --mdc-divider-grabber-button-border-color - Border color of the grabber button.
43
+ * @cssproperty --mdc-divider-grabber-button-border-radius - Border radius of the grabber button.
44
+ *
45
+ * @slot - Content for the divider. Use `mdc-text` for text labels or `mdc-button` for grabber buttons.
51
46
  */
52
47
  const reactWrapper = createComponent({
53
48
  tagName: TAG_NAME,
@@ -1,21 +1,26 @@
1
1
  import Component from '../../components/marker';
2
2
  /**
3
- * `mdc-marker`, which is a vertical line and
4
- * used to draw attention to specific parts of
5
- * the content or to signify important information.
3
+ * The Marker component displays a vertical line (0.25rem wide) used to draw attention to specific content
4
+ * or signify important information. It provides visual emphasis through color and pattern variations.
6
5
  *
7
- * **Marker Variants**:
8
- * - **solid**: Solid marker.
9
- * - **striped**: Striped marker.
6
+ * Markers are commonly used alongside list items, cards, or content blocks to indicate status,
7
+ * priority, or categorization.
8
+ *
9
+ * ## When to use
10
+ * Use markers to highlight important content, indicate status or priority levels, or provide
11
+ * visual categorization in lists and layouts.
12
+ *
13
+ * ## Accessibility
14
+ * - Markers are purely decorative and should not convey information solely through color
15
+ * - Always pair markers with text labels or other indicators to convey meaning
16
+ * - Ensure sufficient color contrast for visibility
10
17
  *
11
18
  * @tagname mdc-marker
12
19
  *
13
- * @cssproperty --mdc-marker-solid-background-color - Allows customization of the default background color
14
- * in solid variant.
15
- * @cssproperty --mdc-marker-striped-color - Allows customization of the default stripes in striped variant.
16
- * @cssproperty --mdc-marker-striped-background-color - Allows customization of the default background color
17
- * in striped variant.
18
- * @cssproperty --mdc-marker-width - Allows customization of the default width.
20
+ * @cssproperty --mdc-marker-solid-background-color - Background color for solid variant markers.
21
+ * @cssproperty --mdc-marker-striped-color - Stripe color for striped variant markers.
22
+ * @cssproperty --mdc-marker-striped-background-color - Background color for striped variant markers.
23
+ * @cssproperty --mdc-marker-width - Width (thickness) of the marker line.
19
24
  */
20
25
  declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {}>;
21
26
  export default reactWrapper;
@@ -3,22 +3,27 @@ import { createComponent } from '@lit/react';
3
3
  import Component from '../../components/marker';
4
4
  import { TAG_NAME } from '../../components/marker/marker.constants';
5
5
  /**
6
- * `mdc-marker`, which is a vertical line and
7
- * used to draw attention to specific parts of
8
- * the content or to signify important information.
6
+ * The Marker component displays a vertical line (0.25rem wide) used to draw attention to specific content
7
+ * or signify important information. It provides visual emphasis through color and pattern variations.
9
8
  *
10
- * **Marker Variants**:
11
- * - **solid**: Solid marker.
12
- * - **striped**: Striped marker.
9
+ * Markers are commonly used alongside list items, cards, or content blocks to indicate status,
10
+ * priority, or categorization.
11
+ *
12
+ * ## When to use
13
+ * Use markers to highlight important content, indicate status or priority levels, or provide
14
+ * visual categorization in lists and layouts.
15
+ *
16
+ * ## Accessibility
17
+ * - Markers are purely decorative and should not convey information solely through color
18
+ * - Always pair markers with text labels or other indicators to convey meaning
19
+ * - Ensure sufficient color contrast for visibility
13
20
  *
14
21
  * @tagname mdc-marker
15
22
  *
16
- * @cssproperty --mdc-marker-solid-background-color - Allows customization of the default background color
17
- * in solid variant.
18
- * @cssproperty --mdc-marker-striped-color - Allows customization of the default stripes in striped variant.
19
- * @cssproperty --mdc-marker-striped-background-color - Allows customization of the default background color
20
- * in striped variant.
21
- * @cssproperty --mdc-marker-width - Allows customization of the default width.
23
+ * @cssproperty --mdc-marker-solid-background-color - Background color for solid variant markers.
24
+ * @cssproperty --mdc-marker-striped-color - Stripe color for striped variant markers.
25
+ * @cssproperty --mdc-marker-striped-background-color - Background color for striped variant markers.
26
+ * @cssproperty --mdc-marker-width - Width (thickness) of the marker line.
22
27
  */
23
28
  const reactWrapper = createComponent({
24
29
  tagName: TAG_NAME,
@@ -1,24 +1,35 @@
1
1
  import Component from '../../components/staticcheckbox';
2
2
  /**
3
- * StaticCheckbox is a decorative component styled as a checkbox for visual presentation.
4
- * Unlike the interactive `mdc-checkbox`, this component does not handle user interactions or form submissions.
5
- * It is used purely for displaying checkbox states in read-only scenarios.
3
+ * The StaticCheckbox component is a decorative, non-interactive checkbox used for visual
4
+ * presentation in read-only scenarios. Unlike the interactive `mdc-checkbox`, it does not
5
+ * handle user interactions or form submissions.
6
6
  *
7
- * This component supports five display states: checked, indeterminate, disabled, readonly, and soft-disabled.
7
+ * This component supports multiple visual states: checked, indeterminate, disabled, readonly,
8
+ * and soft-disabled.
9
+ *
10
+ * ## When to use
11
+ * Use StaticCheckbox to display checkbox states in read-only contexts such as summary views,
12
+ * confirmation screens, or when showing historical form data. For interactive checkboxes, use
13
+ * `mdc-checkbox` instead.
14
+ *
15
+ * ## Accessibility
16
+ * - StaticCheckbox is decorative and non-interactive by design
17
+ * - Always pair with descriptive text labels in the default slot
18
+ * - Do not use this as a replacement for interactive checkboxes in forms
8
19
  *
9
20
  * @tagname mdc-staticcheckbox
10
21
  *
11
22
  * @dependency mdc-icon
12
23
  *
13
- * @cssproperty --mdc-staticcheckbox-border-color - The border color of the checkbox.
14
- * @cssproperty --mdc-staticcheckbox-background-color - The background color of the checkbox.
15
- * @cssproperty --mdc-staticcheckbox-icon-color - The icon color of the checkbox.
16
- * @cssproperty --mdc-staticcheckbox-size - The size of the checkbox.
24
+ * @cssproperty --mdc-staticcheckbox-border-color - Border color of the checkbox.
25
+ * @cssproperty --mdc-staticcheckbox-background-color - Background color of the checkbox.
26
+ * @cssproperty --mdc-staticcheckbox-icon-color - Icon color of the checkbox.
27
+ * @cssproperty --mdc-staticcheckbox-size - Size of the checkbox.
17
28
  *
18
- * @csspart icon-container - The container for the checkbox icon
19
- * @csspart checkbox-icon - The checkbox icon element
29
+ * @csspart icon-container - The container for the checkbox icon.
30
+ * @csspart checkbox-icon - The checkbox icon element.
20
31
  *
21
- * @slot - Default slot for adding label text
32
+ * @slot - Default slot for label text.
22
33
  */
23
34
  declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {}>;
24
35
  export default reactWrapper;
@@ -3,25 +3,36 @@ import { createComponent } from '@lit/react';
3
3
  import Component from '../../components/staticcheckbox';
4
4
  import { TAG_NAME } from '../../components/staticcheckbox/staticcheckbox.constants';
5
5
  /**
6
- * StaticCheckbox is a decorative component styled as a checkbox for visual presentation.
7
- * Unlike the interactive `mdc-checkbox`, this component does not handle user interactions or form submissions.
8
- * It is used purely for displaying checkbox states in read-only scenarios.
6
+ * The StaticCheckbox component is a decorative, non-interactive checkbox used for visual
7
+ * presentation in read-only scenarios. Unlike the interactive `mdc-checkbox`, it does not
8
+ * handle user interactions or form submissions.
9
9
  *
10
- * This component supports five display states: checked, indeterminate, disabled, readonly, and soft-disabled.
10
+ * This component supports multiple visual states: checked, indeterminate, disabled, readonly,
11
+ * and soft-disabled.
12
+ *
13
+ * ## When to use
14
+ * Use StaticCheckbox to display checkbox states in read-only contexts such as summary views,
15
+ * confirmation screens, or when showing historical form data. For interactive checkboxes, use
16
+ * `mdc-checkbox` instead.
17
+ *
18
+ * ## Accessibility
19
+ * - StaticCheckbox is decorative and non-interactive by design
20
+ * - Always pair with descriptive text labels in the default slot
21
+ * - Do not use this as a replacement for interactive checkboxes in forms
11
22
  *
12
23
  * @tagname mdc-staticcheckbox
13
24
  *
14
25
  * @dependency mdc-icon
15
26
  *
16
- * @cssproperty --mdc-staticcheckbox-border-color - The border color of the checkbox.
17
- * @cssproperty --mdc-staticcheckbox-background-color - The background color of the checkbox.
18
- * @cssproperty --mdc-staticcheckbox-icon-color - The icon color of the checkbox.
19
- * @cssproperty --mdc-staticcheckbox-size - The size of the checkbox.
27
+ * @cssproperty --mdc-staticcheckbox-border-color - Border color of the checkbox.
28
+ * @cssproperty --mdc-staticcheckbox-background-color - Background color of the checkbox.
29
+ * @cssproperty --mdc-staticcheckbox-icon-color - Icon color of the checkbox.
30
+ * @cssproperty --mdc-staticcheckbox-size - Size of the checkbox.
20
31
  *
21
- * @csspart icon-container - The container for the checkbox icon
22
- * @csspart checkbox-icon - The checkbox icon element
32
+ * @csspart icon-container - The container for the checkbox icon.
33
+ * @csspart checkbox-icon - The checkbox icon element.
23
34
  *
24
- * @slot - Default slot for adding label text
35
+ * @slot - Default slot for label text.
25
36
  */
26
37
  const reactWrapper = createComponent({
27
38
  tagName: TAG_NAME,
@@ -1,22 +1,32 @@
1
1
  import Component from '../../components/staticradio';
2
2
  /**
3
- * StaticRadio is a decorative component styled as a radio button for visual presentation.
4
- * Unlike the interactive `mdc-radio`, this component does not handle user interactions or form submissions.
5
- * It is used purely for displaying radio button states in read-only scenarios.
3
+ * The StaticRadio component is a decorative, non-interactive radio button used for visual
4
+ * presentation in read-only scenarios. Unlike the interactive `mdc-radio`, it does not
5
+ * handle user interactions or form submissions.
6
6
  *
7
- * This component supports four display states: checked, disabled, readonly, and soft-disabled.
7
+ * This component supports multiple visual states: checked, disabled, readonly, and soft-disabled.
8
+ *
9
+ * ## When to use
10
+ * Use StaticRadio to display radio button states in read-only contexts such as summary views,
11
+ * confirmation screens, or when showing historical form data. For interactive radio buttons, use
12
+ * `mdc-radio` instead.
13
+ *
14
+ * ## Accessibility
15
+ * - StaticRadio is decorative and non-interactive by design
16
+ * - Always pair with descriptive text labels in the default slot
17
+ * - Do not use this as a replacement for interactive radio buttons in forms
8
18
  *
9
19
  * @tagname mdc-staticradio
10
20
  *
11
- * @cssproperty --mdc-staticradio-inner-circle-size - The size of the inner circle when checked.
12
- * @cssproperty --mdc-staticradio-outer-circle-size - The size of the outer circle border.
13
- * @cssproperty --mdc-staticradio-inner-circle-background-color - The background color of the inner circle when checked.
14
- * @cssproperty --mdc-staticradio-outer-circle-border-color - The border color of the outer circle.
15
- * @cssproperty --mdc-staticradio-outer-circle-background-color - The background color of the outer circle.
21
+ * @cssproperty --mdc-staticradio-inner-circle-size - Size of the inner circle when checked.
22
+ * @cssproperty --mdc-staticradio-outer-circle-size - Size of the outer circle border.
23
+ * @cssproperty --mdc-staticradio-inner-circle-background-color - Background color of the inner circle when checked.
24
+ * @cssproperty --mdc-staticradio-outer-circle-border-color - Border color of the outer circle.
25
+ * @cssproperty --mdc-staticradio-outer-circle-background-color - Background color of the outer circle.
16
26
  *
17
- * @csspart radio-icon - The radio icon element
27
+ * @csspart radio-icon - The radio icon element.
18
28
  *
19
- * @slot - Default slot for the label of the radio
29
+ * @slot - Default slot for the label of the radio.
20
30
  */
21
31
  declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {}>;
22
32
  export default reactWrapper;
@@ -3,23 +3,33 @@ import { createComponent } from '@lit/react';
3
3
  import Component from '../../components/staticradio';
4
4
  import { TAG_NAME } from '../../components/staticradio/staticradio.constants';
5
5
  /**
6
- * StaticRadio is a decorative component styled as a radio button for visual presentation.
7
- * Unlike the interactive `mdc-radio`, this component does not handle user interactions or form submissions.
8
- * It is used purely for displaying radio button states in read-only scenarios.
6
+ * The StaticRadio component is a decorative, non-interactive radio button used for visual
7
+ * presentation in read-only scenarios. Unlike the interactive `mdc-radio`, it does not
8
+ * handle user interactions or form submissions.
9
9
  *
10
- * This component supports four display states: checked, disabled, readonly, and soft-disabled.
10
+ * This component supports multiple visual states: checked, disabled, readonly, and soft-disabled.
11
+ *
12
+ * ## When to use
13
+ * Use StaticRadio to display radio button states in read-only contexts such as summary views,
14
+ * confirmation screens, or when showing historical form data. For interactive radio buttons, use
15
+ * `mdc-radio` instead.
16
+ *
17
+ * ## Accessibility
18
+ * - StaticRadio is decorative and non-interactive by design
19
+ * - Always pair with descriptive text labels in the default slot
20
+ * - Do not use this as a replacement for interactive radio buttons in forms
11
21
  *
12
22
  * @tagname mdc-staticradio
13
23
  *
14
- * @cssproperty --mdc-staticradio-inner-circle-size - The size of the inner circle when checked.
15
- * @cssproperty --mdc-staticradio-outer-circle-size - The size of the outer circle border.
16
- * @cssproperty --mdc-staticradio-inner-circle-background-color - The background color of the inner circle when checked.
17
- * @cssproperty --mdc-staticradio-outer-circle-border-color - The border color of the outer circle.
18
- * @cssproperty --mdc-staticradio-outer-circle-background-color - The background color of the outer circle.
24
+ * @cssproperty --mdc-staticradio-inner-circle-size - Size of the inner circle when checked.
25
+ * @cssproperty --mdc-staticradio-outer-circle-size - Size of the outer circle border.
26
+ * @cssproperty --mdc-staticradio-inner-circle-background-color - Background color of the inner circle when checked.
27
+ * @cssproperty --mdc-staticradio-outer-circle-border-color - Border color of the outer circle.
28
+ * @cssproperty --mdc-staticradio-outer-circle-background-color - Background color of the outer circle.
19
29
  *
20
- * @csspart radio-icon - The radio icon element
30
+ * @csspart radio-icon - The radio icon element.
21
31
  *
22
- * @slot - Default slot for the label of the radio
32
+ * @slot - Default slot for the label of the radio.
23
33
  */
24
34
  const reactWrapper = createComponent({
25
35
  tagName: TAG_NAME,
@@ -1,25 +1,38 @@
1
1
  import Component from '../../components/statictoggle';
2
2
  /**
3
- * The StaticToggle is a decorative component that visually represents a toggle switch without interactive functionality.
4
- * It is primarily used for display purposes or as a building block within custom interactive components.
5
- * This component shares the same visual styling as the interactive `mdc-toggle` component.
3
+ * The StaticToggle component is a decorative, non-interactive toggle switch used for visual
4
+ * presentation. It shares the same styling as the interactive `mdc-toggle` component but does
5
+ * not provide user interaction functionality.
6
6
  *
7
- * @dependency mdc-icon
7
+ * This component supports multiple visual states: checked, disabled, readonly, soft-disabled,
8
+ * and size variations (default, compact).
9
+ *
10
+ * ## When to use
11
+ * Use StaticToggle to display toggle states in read-only contexts such as summary views,
12
+ * confirmation screens, or as a building block within custom interactive components. For
13
+ * interactive toggles, use `mdc-toggle` instead.
14
+ *
15
+ * ## Accessibility
16
+ * - StaticToggle is decorative and non-interactive by design
17
+ * - When used within parent components, ensure proper ARIA attributes are provided by the parent
18
+ * - Do not use this as a replacement for interactive toggles in forms
8
19
  *
9
20
  * @tagname mdc-statictoggle
10
21
  *
11
- * @slot - Default slot for slotted content (typically used by parent `mdc-toggle` for the checkbox input).
22
+ * @dependency mdc-icon
12
23
  *
13
- * @cssproperty --mdc-statictoggle-width - The width of the static toggle.
14
- * @cssproperty --mdc-statictoggle-height - The height of the static toggle.
15
- * @cssproperty --mdc-statictoggle-border-radius - The border radius of the static toggle.
16
- * @cssproperty --mdc-statictoggle-border-color - The border color of the static toggle.
17
- * @cssproperty --mdc-statictoggle-background-color - The background color of the static toggle.
18
- * @cssproperty --mdc-statictoggle-icon-color - The icon color of the static toggle.
19
- * @cssproperty --mdc-statictoggle-icon-background-color - The icon background color of the static toggle.
24
+ * @cssproperty --mdc-statictoggle-width - Width of the static toggle.
25
+ * @cssproperty --mdc-statictoggle-height - Height of the static toggle.
26
+ * @cssproperty --mdc-statictoggle-border-radius - Border radius of the static toggle.
27
+ * @cssproperty --mdc-statictoggle-border-color - Border color of the static toggle.
28
+ * @cssproperty --mdc-statictoggle-background-color - Background color of the static toggle.
29
+ * @cssproperty --mdc-statictoggle-icon-color - Icon color of the static toggle.
30
+ * @cssproperty --mdc-statictoggle-icon-background-color - Icon background color of the static toggle.
20
31
  *
21
32
  * @csspart slider - The slider part of the toggle.
22
33
  * @csspart toggle-icon - The icon part of the toggle.
34
+ *
35
+ * @slot - Default slot for slotted content (typically used by parent `mdc-toggle` for the checkbox input).
23
36
  */
24
37
  declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {}>;
25
38
  export default reactWrapper;
@@ -3,26 +3,39 @@ import { createComponent } from '@lit/react';
3
3
  import Component from '../../components/statictoggle';
4
4
  import { TAG_NAME } from '../../components/statictoggle/statictoggle.constants';
5
5
  /**
6
- * The StaticToggle is a decorative component that visually represents a toggle switch without interactive functionality.
7
- * It is primarily used for display purposes or as a building block within custom interactive components.
8
- * This component shares the same visual styling as the interactive `mdc-toggle` component.
6
+ * The StaticToggle component is a decorative, non-interactive toggle switch used for visual
7
+ * presentation. It shares the same styling as the interactive `mdc-toggle` component but does
8
+ * not provide user interaction functionality.
9
9
  *
10
- * @dependency mdc-icon
10
+ * This component supports multiple visual states: checked, disabled, readonly, soft-disabled,
11
+ * and size variations (default, compact).
12
+ *
13
+ * ## When to use
14
+ * Use StaticToggle to display toggle states in read-only contexts such as summary views,
15
+ * confirmation screens, or as a building block within custom interactive components. For
16
+ * interactive toggles, use `mdc-toggle` instead.
17
+ *
18
+ * ## Accessibility
19
+ * - StaticToggle is decorative and non-interactive by design
20
+ * - When used within parent components, ensure proper ARIA attributes are provided by the parent
21
+ * - Do not use this as a replacement for interactive toggles in forms
11
22
  *
12
23
  * @tagname mdc-statictoggle
13
24
  *
14
- * @slot - Default slot for slotted content (typically used by parent `mdc-toggle` for the checkbox input).
25
+ * @dependency mdc-icon
15
26
  *
16
- * @cssproperty --mdc-statictoggle-width - The width of the static toggle.
17
- * @cssproperty --mdc-statictoggle-height - The height of the static toggle.
18
- * @cssproperty --mdc-statictoggle-border-radius - The border radius of the static toggle.
19
- * @cssproperty --mdc-statictoggle-border-color - The border color of the static toggle.
20
- * @cssproperty --mdc-statictoggle-background-color - The background color of the static toggle.
21
- * @cssproperty --mdc-statictoggle-icon-color - The icon color of the static toggle.
22
- * @cssproperty --mdc-statictoggle-icon-background-color - The icon background color of the static toggle.
27
+ * @cssproperty --mdc-statictoggle-width - Width of the static toggle.
28
+ * @cssproperty --mdc-statictoggle-height - Height of the static toggle.
29
+ * @cssproperty --mdc-statictoggle-border-radius - Border radius of the static toggle.
30
+ * @cssproperty --mdc-statictoggle-border-color - Border color of the static toggle.
31
+ * @cssproperty --mdc-statictoggle-background-color - Background color of the static toggle.
32
+ * @cssproperty --mdc-statictoggle-icon-color - Icon color of the static toggle.
33
+ * @cssproperty --mdc-statictoggle-icon-background-color - Icon background color of the static toggle.
23
34
  *
24
35
  * @csspart slider - The slider part of the toggle.
25
36
  * @csspart toggle-icon - The icon part of the toggle.
37
+ *
38
+ * @slot - Default slot for slotted content (typically used by parent `mdc-toggle` for the checkbox input).
26
39
  */
27
40
  const reactWrapper = createComponent({
28
41
  tagName: TAG_NAME,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@momentum-design/components",
3
3
  "packageManager": "yarn@3.2.4",
4
- "version": "0.129.37",
4
+ "version": "0.129.39",
5
5
  "engines": {
6
6
  "node": ">=20.0.0",
7
7
  "npm": ">=8.0.0"