@momentum-design/components 0.129.37 → 0.129.38
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.
- package/dist/browser/index.js +5 -6
- package/dist/browser/index.js.map +2 -2
- package/dist/components/bullet/bullet.component.d.ts +16 -6
- package/dist/components/bullet/bullet.component.js +16 -6
- package/dist/components/bullet/bullet.styles.js +5 -6
- package/dist/components/divider/divider.component.d.ts +50 -55
- package/dist/components/divider/divider.component.js +50 -55
- package/dist/components/marker/marker.component.d.ts +20 -15
- package/dist/components/marker/marker.component.js +20 -15
- package/dist/components/staticcheckbox/staticcheckbox.component.d.ts +22 -11
- package/dist/components/staticcheckbox/staticcheckbox.component.js +22 -11
- package/dist/components/staticradio/staticradio.component.d.ts +21 -11
- package/dist/components/staticradio/staticradio.component.js +21 -11
- package/dist/components/statictoggle/statictoggle.component.d.ts +25 -12
- package/dist/components/statictoggle/statictoggle.component.js +25 -12
- package/dist/custom-elements.json +73 -75
- package/dist/react/bullet/index.d.ts +16 -6
- package/dist/react/bullet/index.js +16 -6
- package/dist/react/divider/index.d.ts +33 -38
- package/dist/react/divider/index.js +33 -38
- package/dist/react/marker/index.d.ts +17 -12
- package/dist/react/marker/index.js +17 -12
- package/dist/react/staticcheckbox/index.d.ts +22 -11
- package/dist/react/staticcheckbox/index.js +22 -11
- package/dist/react/staticradio/index.d.ts +21 -11
- package/dist/react/staticradio/index.js +21 -11
- package/dist/react/statictoggle/index.d.ts +25 -12
- package/dist/react/statictoggle/index.js +25 -12
- package/package.json +1 -1
|
@@ -5094,24 +5094,16 @@
|
|
|
5094
5094
|
"declarations": [
|
|
5095
5095
|
{
|
|
5096
5096
|
"kind": "class",
|
|
5097
|
-
"description": "Bullet component
|
|
5097
|
+
"description": "The Bullet component displays a small circular visual indicator used to organize and present\nitems in a list format. It provides a simple, consistent way to mark list items or emphasize\ncontent points.\n\nBullets are available in three sizes (small, medium, large) to accommodate different layout\ndensities and visual hierarchies.\n\n## When to use\nUse bullets to create unordered lists, mark navigation items, or provide visual indicators\nfor list content. Choose bullet size based on content importance and layout density.\n\n## Accessibility\n- Bullets are purely decorative and should be used alongside meaningful text content\n- Do not rely solely on bullet size or color to convey information",
|
|
5098
5098
|
"name": "Bullet",
|
|
5099
5099
|
"cssProperties": [
|
|
5100
5100
|
{
|
|
5101
|
-
"description": "
|
|
5101
|
+
"description": "Background color of the bullet.",
|
|
5102
5102
|
"name": "--mdc-bullet-background-color"
|
|
5103
5103
|
},
|
|
5104
5104
|
{
|
|
5105
|
-
"description": "
|
|
5106
|
-
"name": "--mdc-bullet-size
|
|
5107
|
-
},
|
|
5108
|
-
{
|
|
5109
|
-
"description": "medium size value of the bullet",
|
|
5110
|
-
"name": "--mdc-bullet-size-medium"
|
|
5111
|
-
},
|
|
5112
|
-
{
|
|
5113
|
-
"description": "large size value of the bullet",
|
|
5114
|
-
"name": "--mdc-bullet-size-large"
|
|
5105
|
+
"description": "Height of the bullet.",
|
|
5106
|
+
"name": "--mdc-bullet-size"
|
|
5115
5107
|
}
|
|
5116
5108
|
],
|
|
5117
5109
|
"members": [
|
|
@@ -5144,7 +5136,7 @@
|
|
|
5144
5136
|
"module": "/src/models"
|
|
5145
5137
|
},
|
|
5146
5138
|
"tagName": "mdc-bullet",
|
|
5147
|
-
"jsDoc": "/**\n * Bullet component
|
|
5139
|
+
"jsDoc": "/**\n * The Bullet component displays a small circular visual indicator used to organize and present\n * items in a list format. It provides a simple, consistent way to mark list items or emphasize\n * content points.\n *\n * Bullets are available in three sizes (small, medium, large) to accommodate different layout\n * densities and visual hierarchies.\n *\n * ## When to use\n * Use bullets to create unordered lists, mark navigation items, or provide visual indicators\n * for list content. Choose bullet size based on content importance and layout density.\n *\n * ## Accessibility\n * - Bullets are purely decorative and should be used alongside meaningful text content\n * - Do not rely solely on bullet size or color to convey information\n *\n * @tagname mdc-bullet\n *\n * @cssproperty --mdc-bullet-background-color - Background color of the bullet.\n * @cssproperty --mdc-bullet-size - Height of the bullet.\n */",
|
|
5148
5140
|
"customElement": true
|
|
5149
5141
|
}
|
|
5150
5142
|
],
|
|
@@ -16436,62 +16428,68 @@
|
|
|
16436
16428
|
"declarations": [
|
|
16437
16429
|
{
|
|
16438
16430
|
"kind": "class",
|
|
16439
|
-
"description": "
|
|
16431
|
+
"description": "The Divider component provides a visual line to separate and organize content within layouts.\nIt supports both horizontal and vertical orientations with solid or gradient styles, and can\noptionally include centered text labels or interactive grabber buttons.\n\nThe divider automatically infers its type based on the content in its slot:\n- **Primary**: Simple line with no content\n- **Text**: Horizontal line with centered text label\n- **Grabber Button**: Line with centered interactive button\n\n**Note:**\n- Vertical text dividers are not currently supported.\n- If the slot contains invalid tag names or multiple elements, the divider defaults to the Primary type\n- Use the provided CSS custom properties to customize divider styles\n\n## When to use\nUse dividers to create visual separation between content sections, list items, or layout regions.\nAdd text labels to provide context, or grabber buttons to create resizable panes.\n\n## Accessibility\n- When using a grabber button, provide `aria-label` to describe its purpose\n- Set `aria-expanded` on the button to indicate the current state of resizable sections\n- Ensure sufficient color contrast for the divider line",
|
|
16440
16432
|
"name": "Divider",
|
|
16441
16433
|
"cssProperties": [
|
|
16442
16434
|
{
|
|
16443
|
-
"description": "
|
|
16435
|
+
"description": "Background color of the divider line.",
|
|
16444
16436
|
"name": "--mdc-divider-background-color"
|
|
16445
16437
|
},
|
|
16446
16438
|
{
|
|
16447
|
-
"description": "
|
|
16439
|
+
"description": "Width (thickness) of the divider line.",
|
|
16448
16440
|
"name": "--mdc-divider-width"
|
|
16449
16441
|
},
|
|
16450
16442
|
{
|
|
16451
|
-
"description": "
|
|
16443
|
+
"description": "Gradient for horizontal dividers.",
|
|
16452
16444
|
"name": "--mdc-divider-horizontal-gradient"
|
|
16453
16445
|
},
|
|
16454
16446
|
{
|
|
16455
|
-
"description": "
|
|
16447
|
+
"description": "Gradient for vertical dividers.",
|
|
16456
16448
|
"name": "--mdc-divider-vertical-gradient"
|
|
16457
16449
|
},
|
|
16458
16450
|
{
|
|
16459
|
-
"description": "
|
|
16451
|
+
"description": "Font size of the text label in text dividers.",
|
|
16460
16452
|
"name": "--mdc-divider-text-size"
|
|
16461
16453
|
},
|
|
16462
16454
|
{
|
|
16463
|
-
"description": "
|
|
16455
|
+
"description": "Font color of the text label in text dividers.",
|
|
16464
16456
|
"name": "--mdc-divider-text-color"
|
|
16465
16457
|
},
|
|
16466
16458
|
{
|
|
16467
|
-
"description": "
|
|
16459
|
+
"description": "Left and right margin of the text label.",
|
|
16468
16460
|
"name": "--mdc-divider-text-margin"
|
|
16469
16461
|
},
|
|
16470
16462
|
{
|
|
16471
|
-
"description": "
|
|
16463
|
+
"description": "Line height of the text label.",
|
|
16472
16464
|
"name": "--mdc-divider-text-line-height"
|
|
16473
16465
|
},
|
|
16474
16466
|
{
|
|
16475
|
-
"description": "
|
|
16467
|
+
"description": "Background color of the grabber button in rest state.",
|
|
16476
16468
|
"name": "--mdc-divider-grabber-button-background-color-normal"
|
|
16477
16469
|
},
|
|
16478
16470
|
{
|
|
16479
|
-
"description": "
|
|
16471
|
+
"description": "Background color of the grabber button in hover state.",
|
|
16480
16472
|
"name": "--mdc-divider-grabber-button-background-color-hover"
|
|
16481
16473
|
},
|
|
16482
16474
|
{
|
|
16483
|
-
"description": "
|
|
16475
|
+
"description": "Background color of the grabber button in pressed state.",
|
|
16484
16476
|
"name": "--mdc-divider-grabber-button-background-color-pressed"
|
|
16485
16477
|
},
|
|
16486
16478
|
{
|
|
16487
|
-
"description": "
|
|
16479
|
+
"description": "Border color of the grabber button.",
|
|
16488
16480
|
"name": "--mdc-divider-grabber-button-border-color"
|
|
16489
16481
|
},
|
|
16490
16482
|
{
|
|
16491
|
-
"description": "
|
|
16483
|
+
"description": "Border radius of the grabber button.",
|
|
16492
16484
|
"name": "--mdc-divider-grabber-button-border-radius"
|
|
16493
16485
|
}
|
|
16494
16486
|
],
|
|
16487
|
+
"slots": [
|
|
16488
|
+
{
|
|
16489
|
+
"description": "Content for the divider. Use `mdc-text` for text labels or `mdc-button` for grabber buttons.",
|
|
16490
|
+
"name": ""
|
|
16491
|
+
}
|
|
16492
|
+
],
|
|
16495
16493
|
"members": [
|
|
16496
16494
|
{
|
|
16497
16495
|
"kind": "field",
|
|
@@ -16499,8 +16497,8 @@
|
|
|
16499
16497
|
"type": {
|
|
16500
16498
|
"text": "Directions"
|
|
16501
16499
|
},
|
|
16502
|
-
"description": "Direction of the arrow icon
|
|
16503
|
-
"default": "
|
|
16500
|
+
"description": "Direction of the arrow icon displayed on the grabber button.\n- **positive**: Up arrow (horizontal) or right arrow (vertical)\n- **negative**: Down arrow (horizontal) or left arrow (vertical)\n\nOnly applies when using a grabber button. Directions follow the Cartesian coordinate system.",
|
|
16501
|
+
"default": "negative",
|
|
16504
16502
|
"attribute": "arrow-direction",
|
|
16505
16503
|
"reflects": true
|
|
16506
16504
|
},
|
|
@@ -16510,8 +16508,8 @@
|
|
|
16510
16508
|
"type": {
|
|
16511
16509
|
"text": "Directions"
|
|
16512
16510
|
},
|
|
16513
|
-
"description": "Position of the button
|
|
16514
|
-
"default": "
|
|
16511
|
+
"description": "Position of the grabber button along the divider line.\n- **positive**: Right side (horizontal) or top side (vertical)\n- **negative**: Left side (horizontal) or bottom side (vertical)\n\nOnly applies when using a grabber button. Directions follow the Cartesian coordinate system.",
|
|
16512
|
+
"default": "negative",
|
|
16515
16513
|
"attribute": "button-position",
|
|
16516
16514
|
"reflects": true
|
|
16517
16515
|
},
|
|
@@ -16560,7 +16558,7 @@
|
|
|
16560
16558
|
"type": {
|
|
16561
16559
|
"text": "DividerOrientation"
|
|
16562
16560
|
},
|
|
16563
|
-
"description": "
|
|
16561
|
+
"description": "Determines the orientation of the divider line.\n- **horizontal**: A thin horizontal line\n- **vertical**: A thin vertical line\n\nNote: Vertical text dividers are not currently supported.",
|
|
16564
16562
|
"default": "horizontal",
|
|
16565
16563
|
"attribute": "orientation",
|
|
16566
16564
|
"reflects": true
|
|
@@ -16612,7 +16610,7 @@
|
|
|
16612
16610
|
"type": {
|
|
16613
16611
|
"text": "DividerVariant"
|
|
16614
16612
|
},
|
|
16615
|
-
"description": "
|
|
16613
|
+
"description": "Visual style of the divider line.\n- **solid**: Solid line with uniform color\n- **gradient**: Gradient line that fades on both ends",
|
|
16616
16614
|
"default": "solid",
|
|
16617
16615
|
"attribute": "variant",
|
|
16618
16616
|
"reflects": true
|
|
@@ -16624,7 +16622,7 @@
|
|
|
16624
16622
|
"type": {
|
|
16625
16623
|
"text": "DividerOrientation"
|
|
16626
16624
|
},
|
|
16627
|
-
"description": "
|
|
16625
|
+
"description": "Determines the orientation of the divider line.\n- **horizontal**: A thin horizontal line\n- **vertical**: A thin vertical line\n\nNote: Vertical text dividers are not currently supported.",
|
|
16628
16626
|
"default": "horizontal",
|
|
16629
16627
|
"fieldName": "orientation"
|
|
16630
16628
|
},
|
|
@@ -16633,7 +16631,7 @@
|
|
|
16633
16631
|
"type": {
|
|
16634
16632
|
"text": "DividerVariant"
|
|
16635
16633
|
},
|
|
16636
|
-
"description": "
|
|
16634
|
+
"description": "Visual style of the divider line.\n- **solid**: Solid line with uniform color\n- **gradient**: Gradient line that fades on both ends",
|
|
16637
16635
|
"default": "solid",
|
|
16638
16636
|
"fieldName": "variant"
|
|
16639
16637
|
},
|
|
@@ -16642,8 +16640,8 @@
|
|
|
16642
16640
|
"type": {
|
|
16643
16641
|
"text": "Directions"
|
|
16644
16642
|
},
|
|
16645
|
-
"description": "Direction of the arrow icon
|
|
16646
|
-
"default": "
|
|
16643
|
+
"description": "Direction of the arrow icon displayed on the grabber button.\n- **positive**: Up arrow (horizontal) or right arrow (vertical)\n- **negative**: Down arrow (horizontal) or left arrow (vertical)\n\nOnly applies when using a grabber button. Directions follow the Cartesian coordinate system.",
|
|
16644
|
+
"default": "negative",
|
|
16647
16645
|
"fieldName": "arrowDirection"
|
|
16648
16646
|
},
|
|
16649
16647
|
{
|
|
@@ -16651,8 +16649,8 @@
|
|
|
16651
16649
|
"type": {
|
|
16652
16650
|
"text": "Directions"
|
|
16653
16651
|
},
|
|
16654
|
-
"description": "Position of the button
|
|
16655
|
-
"default": "
|
|
16652
|
+
"description": "Position of the grabber button along the divider line.\n- **positive**: Right side (horizontal) or top side (vertical)\n- **negative**: Left side (horizontal) or bottom side (vertical)\n\nOnly applies when using a grabber button. Directions follow the Cartesian coordinate system.",
|
|
16653
|
+
"default": "negative",
|
|
16656
16654
|
"fieldName": "buttonPosition"
|
|
16657
16655
|
}
|
|
16658
16656
|
],
|
|
@@ -16661,7 +16659,7 @@
|
|
|
16661
16659
|
"module": "/src/models"
|
|
16662
16660
|
},
|
|
16663
16661
|
"tagName": "mdc-divider",
|
|
16664
|
-
"jsDoc": "/**\n *
|
|
16662
|
+
"jsDoc": "/**\n * The Divider component provides a visual line to separate and organize content within layouts.\n * It supports both horizontal and vertical orientations with solid or gradient styles, and can\n * optionally include centered text labels or interactive grabber buttons.\n *\n * The divider automatically infers its type based on the content in its slot:\n * - **Primary**: Simple line with no content\n * - **Text**: Horizontal line with centered text label\n * - **Grabber Button**: Line with centered interactive button\n * \n * **Note:**\n * - Vertical text dividers are not currently supported.\n * - If the slot contains invalid tag names or multiple elements, the divider defaults to the Primary type\n * - Use the provided CSS custom properties to customize divider styles\n *\n * ## When to use\n * Use dividers to create visual separation between content sections, list items, or layout regions.\n * Add text labels to provide context, or grabber buttons to create resizable panes.\n *\n * ## Accessibility\n * - When using a grabber button, provide `aria-label` to describe its purpose\n * - Set `aria-expanded` on the button to indicate the current state of resizable sections\n * - Ensure sufficient color contrast for the divider line\n *\n * @tagname mdc-divider\n *\n * @cssproperty --mdc-divider-background-color - Background color of the divider line.\n * @cssproperty --mdc-divider-width - Width (thickness) of the divider line.\n * @cssproperty --mdc-divider-horizontal-gradient - Gradient for horizontal dividers.\n * @cssproperty --mdc-divider-vertical-gradient - Gradient for vertical dividers.\n * @cssproperty --mdc-divider-text-size - Font size of the text label in text dividers.\n * @cssproperty --mdc-divider-text-color - Font color of the text label in text dividers.\n * @cssproperty --mdc-divider-text-margin - Left and right margin of the text label.\n * @cssproperty --mdc-divider-text-line-height - Line height of the text label.\n * @cssproperty --mdc-divider-grabber-button-background-color-normal - Background color of the grabber button in rest state.\n * @cssproperty --mdc-divider-grabber-button-background-color-hover - Background color of the grabber button in hover state.\n * @cssproperty --mdc-divider-grabber-button-background-color-pressed - Background color of the grabber button in pressed state.\n * @cssproperty --mdc-divider-grabber-button-border-color - Border color of the grabber button.\n * @cssproperty --mdc-divider-grabber-button-border-radius - Border radius of the grabber button.\n *\n * @slot - Content for the divider. Use `mdc-text` for text labels or `mdc-button` for grabber buttons.\n */",
|
|
16665
16663
|
"customElement": true
|
|
16666
16664
|
}
|
|
16667
16665
|
],
|
|
@@ -23651,23 +23649,23 @@
|
|
|
23651
23649
|
"declarations": [
|
|
23652
23650
|
{
|
|
23653
23651
|
"kind": "class",
|
|
23654
|
-
"description": "
|
|
23652
|
+
"description": "The Marker component displays a vertical line (0.25rem wide) used to draw attention to specific content\nor signify important information. It provides visual emphasis through color and pattern variations.\n\nMarkers are commonly used alongside list items, cards, or content blocks to indicate status,\npriority, or categorization.\n\n## When to use\nUse markers to highlight important content, indicate status or priority levels, or provide\nvisual categorization in lists and layouts.\n\n## Accessibility\n- Markers are purely decorative and should not convey information solely through color\n- Always pair markers with text labels or other indicators to convey meaning\n- Ensure sufficient color contrast for visibility",
|
|
23655
23653
|
"name": "Marker",
|
|
23656
23654
|
"cssProperties": [
|
|
23657
23655
|
{
|
|
23658
|
-
"description": "
|
|
23656
|
+
"description": "Background color for solid variant markers.",
|
|
23659
23657
|
"name": "--mdc-marker-solid-background-color"
|
|
23660
23658
|
},
|
|
23661
23659
|
{
|
|
23662
|
-
"description": "
|
|
23660
|
+
"description": "Stripe color for striped variant markers.",
|
|
23663
23661
|
"name": "--mdc-marker-striped-color"
|
|
23664
23662
|
},
|
|
23665
23663
|
{
|
|
23666
|
-
"description": "
|
|
23664
|
+
"description": "Background color for striped variant markers.",
|
|
23667
23665
|
"name": "--mdc-marker-striped-background-color"
|
|
23668
23666
|
},
|
|
23669
23667
|
{
|
|
23670
|
-
"description": "
|
|
23668
|
+
"description": "Width (thickness) of the marker line.",
|
|
23671
23669
|
"name": "--mdc-marker-width"
|
|
23672
23670
|
}
|
|
23673
23671
|
],
|
|
@@ -23679,7 +23677,7 @@
|
|
|
23679
23677
|
"text": "MarkerVariants"
|
|
23680
23678
|
},
|
|
23681
23679
|
"privacy": "public",
|
|
23682
|
-
"description": "
|
|
23680
|
+
"description": "Visual style of the marker.\n- **solid**: Solid colored vertical line\n- **striped**: Vertical line with diagonal stripes pattern",
|
|
23683
23681
|
"default": "solid",
|
|
23684
23682
|
"attribute": "variant",
|
|
23685
23683
|
"reflects": true
|
|
@@ -23691,7 +23689,7 @@
|
|
|
23691
23689
|
"type": {
|
|
23692
23690
|
"text": "MarkerVariants"
|
|
23693
23691
|
},
|
|
23694
|
-
"description": "
|
|
23692
|
+
"description": "Visual style of the marker.\n- **solid**: Solid colored vertical line\n- **striped**: Vertical line with diagonal stripes pattern",
|
|
23695
23693
|
"default": "solid",
|
|
23696
23694
|
"fieldName": "variant"
|
|
23697
23695
|
}
|
|
@@ -23701,7 +23699,7 @@
|
|
|
23701
23699
|
"module": "/src/models"
|
|
23702
23700
|
},
|
|
23703
23701
|
"tagName": "mdc-marker",
|
|
23704
|
-
"jsDoc": "/**\n *
|
|
23702
|
+
"jsDoc": "/**\n * The Marker component displays a vertical line (0.25rem wide) used to draw attention to specific content\n * or signify important information. It provides visual emphasis through color and pattern variations.\n *\n * Markers are commonly used alongside list items, cards, or content blocks to indicate status,\n * priority, or categorization.\n *\n * ## When to use\n * Use markers to highlight important content, indicate status or priority levels, or provide\n * visual categorization in lists and layouts.\n *\n * ## Accessibility\n * - Markers are purely decorative and should not convey information solely through color\n * - Always pair markers with text labels or other indicators to convey meaning\n * - Ensure sufficient color contrast for visibility\n *\n * @tagname mdc-marker\n *\n * @cssproperty --mdc-marker-solid-background-color - Background color for solid variant markers.\n * @cssproperty --mdc-marker-striped-color - Stripe color for striped variant markers.\n * @cssproperty --mdc-marker-striped-background-color - Background color for striped variant markers.\n * @cssproperty --mdc-marker-width - Width (thickness) of the marker line.\n */",
|
|
23705
23703
|
"customElement": true
|
|
23706
23704
|
}
|
|
23707
23705
|
],
|
|
@@ -44599,39 +44597,39 @@
|
|
|
44599
44597
|
"declarations": [
|
|
44600
44598
|
{
|
|
44601
44599
|
"kind": "class",
|
|
44602
|
-
"description": "StaticCheckbox is a decorative
|
|
44600
|
+
"description": "The StaticCheckbox component is a decorative, non-interactive checkbox used for visual\npresentation in read-only scenarios. Unlike the interactive `mdc-checkbox`, it does not\nhandle user interactions or form submissions.\n\nThis component supports multiple visual states: checked, indeterminate, disabled, readonly,\nand soft-disabled.\n\n## When to use\nUse StaticCheckbox to display checkbox states in read-only contexts such as summary views,\nconfirmation screens, or when showing historical form data. For interactive checkboxes, use\n`mdc-checkbox` instead.\n\n## Accessibility\n- StaticCheckbox is decorative and non-interactive by design\n- Always pair with descriptive text labels in the default slot\n- Do not use this as a replacement for interactive checkboxes in forms",
|
|
44603
44601
|
"name": "StaticCheckbox",
|
|
44604
44602
|
"cssProperties": [
|
|
44605
44603
|
{
|
|
44606
|
-
"description": "
|
|
44604
|
+
"description": "Border color of the checkbox.",
|
|
44607
44605
|
"name": "--mdc-staticcheckbox-border-color"
|
|
44608
44606
|
},
|
|
44609
44607
|
{
|
|
44610
|
-
"description": "
|
|
44608
|
+
"description": "Background color of the checkbox.",
|
|
44611
44609
|
"name": "--mdc-staticcheckbox-background-color"
|
|
44612
44610
|
},
|
|
44613
44611
|
{
|
|
44614
|
-
"description": "
|
|
44612
|
+
"description": "Icon color of the checkbox.",
|
|
44615
44613
|
"name": "--mdc-staticcheckbox-icon-color"
|
|
44616
44614
|
},
|
|
44617
44615
|
{
|
|
44618
|
-
"description": "
|
|
44616
|
+
"description": "Size of the checkbox.",
|
|
44619
44617
|
"name": "--mdc-staticcheckbox-size"
|
|
44620
44618
|
}
|
|
44621
44619
|
],
|
|
44622
44620
|
"cssParts": [
|
|
44623
44621
|
{
|
|
44624
|
-
"description": "The container for the checkbox icon",
|
|
44622
|
+
"description": "The container for the checkbox icon.",
|
|
44625
44623
|
"name": "icon-container"
|
|
44626
44624
|
},
|
|
44627
44625
|
{
|
|
44628
|
-
"description": "The checkbox icon element",
|
|
44626
|
+
"description": "The checkbox icon element.",
|
|
44629
44627
|
"name": "checkbox-icon"
|
|
44630
44628
|
}
|
|
44631
44629
|
],
|
|
44632
44630
|
"slots": [
|
|
44633
44631
|
{
|
|
44634
|
-
"description": "Default slot for
|
|
44632
|
+
"description": "Default slot for label text.",
|
|
44635
44633
|
"name": ""
|
|
44636
44634
|
}
|
|
44637
44635
|
],
|
|
@@ -44758,7 +44756,7 @@
|
|
|
44758
44756
|
"module": "/src/models"
|
|
44759
44757
|
},
|
|
44760
44758
|
"tagName": "mdc-staticcheckbox",
|
|
44761
|
-
"jsDoc": "/**\n * StaticCheckbox is a decorative
|
|
44759
|
+
"jsDoc": "/**\n * The StaticCheckbox component is a decorative, non-interactive checkbox used for visual\n * presentation in read-only scenarios. Unlike the interactive `mdc-checkbox`, it does not\n * handle user interactions or form submissions.\n *\n * This component supports multiple visual states: checked, indeterminate, disabled, readonly,\n * and soft-disabled.\n *\n * ## When to use\n * Use StaticCheckbox to display checkbox states in read-only contexts such as summary views,\n * confirmation screens, or when showing historical form data. For interactive checkboxes, use\n * `mdc-checkbox` instead.\n *\n * ## Accessibility\n * - StaticCheckbox is decorative and non-interactive by design\n * - Always pair with descriptive text labels in the default slot\n * - Do not use this as a replacement for interactive checkboxes in forms\n *\n * @tagname mdc-staticcheckbox\n *\n * @dependency mdc-icon\n *\n * @cssproperty --mdc-staticcheckbox-border-color - Border color of the checkbox.\n * @cssproperty --mdc-staticcheckbox-background-color - Background color of the checkbox.\n * @cssproperty --mdc-staticcheckbox-icon-color - Icon color of the checkbox.\n * @cssproperty --mdc-staticcheckbox-size - Size of the checkbox.\n *\n * @csspart icon-container - The container for the checkbox icon.\n * @csspart checkbox-icon - The checkbox icon element.\n *\n * @slot - Default slot for label text.\n */",
|
|
44762
44760
|
"customElement": true
|
|
44763
44761
|
}
|
|
44764
44762
|
],
|
|
@@ -44918,39 +44916,39 @@
|
|
|
44918
44916
|
"declarations": [
|
|
44919
44917
|
{
|
|
44920
44918
|
"kind": "class",
|
|
44921
|
-
"description": "StaticRadio is a decorative
|
|
44919
|
+
"description": "The StaticRadio component is a decorative, non-interactive radio button used for visual\npresentation in read-only scenarios. Unlike the interactive `mdc-radio`, it does not\nhandle user interactions or form submissions.\n\nThis component supports multiple visual states: checked, disabled, readonly, and soft-disabled.\n\n## When to use\nUse StaticRadio to display radio button states in read-only contexts such as summary views,\nconfirmation screens, or when showing historical form data. For interactive radio buttons, use\n`mdc-radio` instead.\n\n## Accessibility\n- StaticRadio is decorative and non-interactive by design\n- Always pair with descriptive text labels in the default slot\n- Do not use this as a replacement for interactive radio buttons in forms",
|
|
44922
44920
|
"name": "StaticRadio",
|
|
44923
44921
|
"cssProperties": [
|
|
44924
44922
|
{
|
|
44925
|
-
"description": "
|
|
44923
|
+
"description": "Size of the inner circle when checked.",
|
|
44926
44924
|
"name": "--mdc-staticradio-inner-circle-size"
|
|
44927
44925
|
},
|
|
44928
44926
|
{
|
|
44929
|
-
"description": "
|
|
44927
|
+
"description": "Size of the outer circle border.",
|
|
44930
44928
|
"name": "--mdc-staticradio-outer-circle-size"
|
|
44931
44929
|
},
|
|
44932
44930
|
{
|
|
44933
|
-
"description": "
|
|
44931
|
+
"description": "Background color of the inner circle when checked.",
|
|
44934
44932
|
"name": "--mdc-staticradio-inner-circle-background-color"
|
|
44935
44933
|
},
|
|
44936
44934
|
{
|
|
44937
|
-
"description": "
|
|
44935
|
+
"description": "Border color of the outer circle.",
|
|
44938
44936
|
"name": "--mdc-staticradio-outer-circle-border-color"
|
|
44939
44937
|
},
|
|
44940
44938
|
{
|
|
44941
|
-
"description": "
|
|
44939
|
+
"description": "Background color of the outer circle.",
|
|
44942
44940
|
"name": "--mdc-staticradio-outer-circle-background-color"
|
|
44943
44941
|
}
|
|
44944
44942
|
],
|
|
44945
44943
|
"cssParts": [
|
|
44946
44944
|
{
|
|
44947
|
-
"description": "The radio icon element",
|
|
44945
|
+
"description": "The radio icon element.",
|
|
44948
44946
|
"name": "radio-icon"
|
|
44949
44947
|
}
|
|
44950
44948
|
],
|
|
44951
44949
|
"slots": [
|
|
44952
44950
|
{
|
|
44953
|
-
"description": "Default slot for the label of the radio",
|
|
44951
|
+
"description": "Default slot for the label of the radio.",
|
|
44954
44952
|
"name": ""
|
|
44955
44953
|
}
|
|
44956
44954
|
],
|
|
@@ -45057,7 +45055,7 @@
|
|
|
45057
45055
|
"module": "/src/models"
|
|
45058
45056
|
},
|
|
45059
45057
|
"tagName": "mdc-staticradio",
|
|
45060
|
-
"jsDoc": "/**\n * StaticRadio is a decorative
|
|
45058
|
+
"jsDoc": "/**\n * The StaticRadio component is a decorative, non-interactive radio button used for visual\n * presentation in read-only scenarios. Unlike the interactive `mdc-radio`, it does not\n * handle user interactions or form submissions.\n *\n * This component supports multiple visual states: checked, disabled, readonly, and soft-disabled.\n *\n * ## When to use\n * Use StaticRadio to display radio button states in read-only contexts such as summary views,\n * confirmation screens, or when showing historical form data. For interactive radio buttons, use\n * `mdc-radio` instead.\n *\n * ## Accessibility\n * - StaticRadio is decorative and non-interactive by design\n * - Always pair with descriptive text labels in the default slot\n * - Do not use this as a replacement for interactive radio buttons in forms\n *\n * @tagname mdc-staticradio\n *\n * @cssproperty --mdc-staticradio-inner-circle-size - Size of the inner circle when checked.\n * @cssproperty --mdc-staticradio-outer-circle-size - Size of the outer circle border.\n * @cssproperty --mdc-staticradio-inner-circle-background-color - Background color of the inner circle when checked.\n * @cssproperty --mdc-staticradio-outer-circle-border-color - Border color of the outer circle.\n * @cssproperty --mdc-staticradio-outer-circle-background-color - Background color of the outer circle.\n *\n * @csspart radio-icon - The radio icon element.\n *\n * @slot - Default slot for the label of the radio.\n */",
|
|
45061
45059
|
"customElement": true
|
|
45062
45060
|
}
|
|
45063
45061
|
],
|
|
@@ -45078,35 +45076,35 @@
|
|
|
45078
45076
|
"declarations": [
|
|
45079
45077
|
{
|
|
45080
45078
|
"kind": "class",
|
|
45081
|
-
"description": "The StaticToggle is a decorative
|
|
45079
|
+
"description": "The StaticToggle component is a decorative, non-interactive toggle switch used for visual\npresentation. It shares the same styling as the interactive `mdc-toggle` component but does\nnot provide user interaction functionality.\n\nThis component supports multiple visual states: checked, disabled, readonly, soft-disabled,\nand size variations (default, compact).\n\n## When to use\nUse StaticToggle to display toggle states in read-only contexts such as summary views,\nconfirmation screens, or as a building block within custom interactive components. For\ninteractive toggles, use `mdc-toggle` instead.\n\n## Accessibility\n- StaticToggle is decorative and non-interactive by design\n- When used within parent components, ensure proper ARIA attributes are provided by the parent\n- Do not use this as a replacement for interactive toggles in forms",
|
|
45082
45080
|
"name": "StaticToggle",
|
|
45083
45081
|
"cssProperties": [
|
|
45084
45082
|
{
|
|
45085
|
-
"description": "
|
|
45083
|
+
"description": "Width of the static toggle.",
|
|
45086
45084
|
"name": "--mdc-statictoggle-width"
|
|
45087
45085
|
},
|
|
45088
45086
|
{
|
|
45089
|
-
"description": "
|
|
45087
|
+
"description": "Height of the static toggle.",
|
|
45090
45088
|
"name": "--mdc-statictoggle-height"
|
|
45091
45089
|
},
|
|
45092
45090
|
{
|
|
45093
|
-
"description": "
|
|
45091
|
+
"description": "Border radius of the static toggle.",
|
|
45094
45092
|
"name": "--mdc-statictoggle-border-radius"
|
|
45095
45093
|
},
|
|
45096
45094
|
{
|
|
45097
|
-
"description": "
|
|
45095
|
+
"description": "Border color of the static toggle.",
|
|
45098
45096
|
"name": "--mdc-statictoggle-border-color"
|
|
45099
45097
|
},
|
|
45100
45098
|
{
|
|
45101
|
-
"description": "
|
|
45099
|
+
"description": "Background color of the static toggle.",
|
|
45102
45100
|
"name": "--mdc-statictoggle-background-color"
|
|
45103
45101
|
},
|
|
45104
45102
|
{
|
|
45105
|
-
"description": "
|
|
45103
|
+
"description": "Icon color of the static toggle.",
|
|
45106
45104
|
"name": "--mdc-statictoggle-icon-color"
|
|
45107
45105
|
},
|
|
45108
45106
|
{
|
|
45109
|
-
"description": "
|
|
45107
|
+
"description": "Icon background color of the static toggle.",
|
|
45110
45108
|
"name": "--mdc-statictoggle-icon-background-color"
|
|
45111
45109
|
}
|
|
45112
45110
|
],
|
|
@@ -45249,7 +45247,7 @@
|
|
|
45249
45247
|
"module": "/src/models"
|
|
45250
45248
|
},
|
|
45251
45249
|
"tagName": "mdc-statictoggle",
|
|
45252
|
-
"jsDoc": "/**\n * The StaticToggle is a decorative
|
|
45250
|
+
"jsDoc": "/**\n * The StaticToggle component is a decorative, non-interactive toggle switch used for visual\n * presentation. It shares the same styling as the interactive `mdc-toggle` component but does\n * not provide user interaction functionality.\n *\n * This component supports multiple visual states: checked, disabled, readonly, soft-disabled,\n * and size variations (default, compact).\n *\n * ## When to use\n * Use StaticToggle to display toggle states in read-only contexts such as summary views,\n * confirmation screens, or as a building block within custom interactive components. For\n * interactive toggles, use `mdc-toggle` instead.\n *\n * ## Accessibility\n * - StaticToggle is decorative and non-interactive by design\n * - When used within parent components, ensure proper ARIA attributes are provided by the parent\n * - Do not use this as a replacement for interactive toggles in forms\n *\n * @tagname mdc-statictoggle\n *\n * @dependency mdc-icon\n *\n * @cssproperty --mdc-statictoggle-width - Width of the static toggle.\n * @cssproperty --mdc-statictoggle-height - Height of the static toggle.\n * @cssproperty --mdc-statictoggle-border-radius - Border radius of the static toggle.\n * @cssproperty --mdc-statictoggle-border-color - Border color of the static toggle.\n * @cssproperty --mdc-statictoggle-background-color - Background color of the static toggle.\n * @cssproperty --mdc-statictoggle-icon-color - Icon color of the static toggle.\n * @cssproperty --mdc-statictoggle-icon-background-color - Icon background color of the static toggle.\n *\n * @csspart slider - The slider part of the toggle.\n * @csspart toggle-icon - The icon part of the toggle.\n *\n * @slot - Default slot for slotted content (typically used by parent `mdc-toggle` for the checkbox input).\n */",
|
|
45253
45251
|
"customElement": true
|
|
45254
45252
|
}
|
|
45255
45253
|
],
|
|
@@ -1,14 +1,24 @@
|
|
|
1
1
|
import Component from '../../components/bullet';
|
|
2
2
|
/**
|
|
3
|
-
* Bullet component
|
|
4
|
-
*
|
|
3
|
+
* The Bullet component displays a small circular visual indicator used to organize and present
|
|
4
|
+
* items in a list format. It provides a simple, consistent way to mark list items or emphasize
|
|
5
|
+
* content points.
|
|
6
|
+
*
|
|
7
|
+
* Bullets are available in three sizes (small, medium, large) to accommodate different layout
|
|
8
|
+
* densities and visual hierarchies.
|
|
9
|
+
*
|
|
10
|
+
* ## When to use
|
|
11
|
+
* Use bullets to create unordered lists, mark navigation items, or provide visual indicators
|
|
12
|
+
* for list content. Choose bullet size based on content importance and layout density.
|
|
13
|
+
*
|
|
14
|
+
* ## Accessibility
|
|
15
|
+
* - Bullets are purely decorative and should be used alongside meaningful text content
|
|
16
|
+
* - Do not rely solely on bullet size or color to convey information
|
|
5
17
|
*
|
|
6
18
|
* @tagname mdc-bullet
|
|
7
19
|
*
|
|
8
|
-
* @cssproperty --mdc-bullet-background-color -
|
|
9
|
-
* @cssproperty --mdc-bullet-size
|
|
10
|
-
* @cssproperty --mdc-bullet-size-medium - medium size value of the bullet
|
|
11
|
-
* @cssproperty --mdc-bullet-size-large - large size value of the bullet
|
|
20
|
+
* @cssproperty --mdc-bullet-background-color - Background color of the bullet.
|
|
21
|
+
* @cssproperty --mdc-bullet-size - Height of the bullet.
|
|
12
22
|
*/
|
|
13
23
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {}>;
|
|
14
24
|
export default reactWrapper;
|
|
@@ -3,15 +3,25 @@ import { createComponent } from '@lit/react';
|
|
|
3
3
|
import Component from '../../components/bullet';
|
|
4
4
|
import { TAG_NAME } from '../../components/bullet/bullet.constants';
|
|
5
5
|
/**
|
|
6
|
-
* Bullet component
|
|
7
|
-
*
|
|
6
|
+
* The Bullet component displays a small circular visual indicator used to organize and present
|
|
7
|
+
* items in a list format. It provides a simple, consistent way to mark list items or emphasize
|
|
8
|
+
* content points.
|
|
9
|
+
*
|
|
10
|
+
* Bullets are available in three sizes (small, medium, large) to accommodate different layout
|
|
11
|
+
* densities and visual hierarchies.
|
|
12
|
+
*
|
|
13
|
+
* ## When to use
|
|
14
|
+
* Use bullets to create unordered lists, mark navigation items, or provide visual indicators
|
|
15
|
+
* for list content. Choose bullet size based on content importance and layout density.
|
|
16
|
+
*
|
|
17
|
+
* ## Accessibility
|
|
18
|
+
* - Bullets are purely decorative and should be used alongside meaningful text content
|
|
19
|
+
* - Do not rely solely on bullet size or color to convey information
|
|
8
20
|
*
|
|
9
21
|
* @tagname mdc-bullet
|
|
10
22
|
*
|
|
11
|
-
* @cssproperty --mdc-bullet-background-color -
|
|
12
|
-
* @cssproperty --mdc-bullet-size
|
|
13
|
-
* @cssproperty --mdc-bullet-size-medium - medium size value of the bullet
|
|
14
|
-
* @cssproperty --mdc-bullet-size-large - large size value of the bullet
|
|
23
|
+
* @cssproperty --mdc-bullet-background-color - Background color of the bullet.
|
|
24
|
+
* @cssproperty --mdc-bullet-size - Height of the bullet.
|
|
15
25
|
*/
|
|
16
26
|
const reactWrapper = createComponent({
|
|
17
27
|
tagName: TAG_NAME,
|