@momentum-design/components 0.129.14 → 0.129.16
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 +2 -2
- package/dist/browser/index.js.map +2 -2
- package/dist/components/brandvisual/brandvisual.component.d.ts +2 -0
- package/dist/components/brandvisual/brandvisual.component.js +3 -1
- package/dist/components/bullet/bullet.component.d.ts +5 -2
- package/dist/components/bullet/bullet.component.js +5 -2
- package/dist/components/button/button.component.d.ts +65 -29
- package/dist/components/button/button.component.js +65 -29
- package/dist/components/buttongroup/buttongroup.component.d.ts +26 -21
- package/dist/components/buttongroup/buttongroup.component.js +26 -21
- package/dist/components/buttonsimple/buttonsimple.component.d.ts +5 -3
- package/dist/components/buttonsimple/buttonsimple.component.js +5 -3
- package/dist/custom-elements.json +153 -63
- package/dist/react/brandvisual/index.d.ts +2 -0
- package/dist/react/brandvisual/index.js +2 -0
- package/dist/react/button/index.d.ts +39 -22
- package/dist/react/button/index.js +39 -22
- package/dist/react/buttongroup/index.d.ts +16 -18
- package/dist/react/buttongroup/index.js +16 -18
- package/dist/react/buttonsimple/index.d.ts +5 -3
- package/dist/react/buttonsimple/index.js +5 -3
- package/dist/utils/mixins/ButtonComponentMixin.js +12 -5
- package/dist/utils/roles.d.ts +1 -0
- package/dist/utils/roles.js +1 -0
- package/package.json +1 -1
|
@@ -1046,7 +1046,7 @@
|
|
|
1046
1046
|
}
|
|
1047
1047
|
},
|
|
1048
1048
|
{
|
|
1049
|
-
"description": "
|
|
1049
|
+
"description": "Border color of the button",
|
|
1050
1050
|
"name": "--mdc-button-border-color",
|
|
1051
1051
|
"inheritedFrom": {
|
|
1052
1052
|
"name": "Buttonsimple",
|
|
@@ -1640,7 +1640,17 @@
|
|
|
1640
1640
|
},
|
|
1641
1641
|
"tagName": "mdc-alertchip",
|
|
1642
1642
|
"jsDoc": "/**\n * mdc-alertchip component is an interactive chip that consumers can use to represent an alert.\n *\n * - It supports a leading icon along with label.\n * - It supports 5 variants of alerts - neutral, warning, error, success, and informational\n *\n * This component is built by extending Buttonsimple.\n *\n * @tagname mdc-alertchip\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-chip-color - The color of the label text\n * @cssproperty --mdc-chip-icon-color - The color of the icon\n * @cssproperty --mdc-chip-border-color - The border color of the alertchip\n * @cssproperty --mdc-chip-background-color - The background color of the alertchip\n *\n * @csspart icon - The alert icon\n * @csspart label - The text label of the alertchip\n *\n * @event click - (React: onClick) This event is dispatched when the chip is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the chip.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the chip.\n * @event focus - (React: onFocus) This event is dispatched when the chip receives focus.\n */",
|
|
1643
|
-
"customElement": true
|
|
1643
|
+
"customElement": true,
|
|
1644
|
+
"slots": [
|
|
1645
|
+
{
|
|
1646
|
+
"description": "Text label of the button.",
|
|
1647
|
+
"name": "",
|
|
1648
|
+
"inheritedFrom": {
|
|
1649
|
+
"name": "Buttonsimple",
|
|
1650
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
1651
|
+
}
|
|
1652
|
+
}
|
|
1653
|
+
]
|
|
1644
1654
|
}
|
|
1645
1655
|
],
|
|
1646
1656
|
"exports": [
|
|
@@ -3628,7 +3638,7 @@
|
|
|
3628
3638
|
}
|
|
3629
3639
|
},
|
|
3630
3640
|
{
|
|
3631
|
-
"description": "
|
|
3641
|
+
"description": "Border color of the button",
|
|
3632
3642
|
"name": "--mdc-button-border-color",
|
|
3633
3643
|
"inheritedFrom": {
|
|
3634
3644
|
"name": "Buttonsimple",
|
|
@@ -4362,7 +4372,17 @@
|
|
|
4362
4372
|
},
|
|
4363
4373
|
"tagName": "mdc-avatarbutton",
|
|
4364
4374
|
"jsDoc": "/**\n * The `mdc-avatarbutton` component is an interactive, clickable version of `mdc-avatar`.\n * It wraps the avatar component in a button, making it focusable and actionable.\n *\n * This component extends `buttonsimple` and includes all avatar display features (photo, initials, icon, counter, presence).\n * Use CSS parts to customize the avatar's appearance inside the button.\n *\n * ## Accessibility\n * - Always provide an `aria-label` attribute to describe the button's purpose\n *\n * @dependency mdc-avatar\n *\n * @event click - (React: onClick) Dispatched when the avatar button is clicked.\n * @event keydown - (React: onKeyDown) Dispatched when a key is pressed on the avatar button.\n * @event keyup - (React: onKeyUp) Dispatched when a key is released on the avatar button.\n * @event focus - (React: onFocus) Dispatched when the avatar button receives focus.\n *\n * @tagname mdc-avatarbutton\n *\n * @cssproperty --mdc-avatarbutton-overlay-background-color-rest - Background color of the overlay in rest state.\n * @cssproperty --mdc-avatarbutton-overlay-background-color-hover - Background color of the overlay in hover state.\n * @cssproperty --mdc-avatarbutton-overlay-background-color-active - Background color of the overlay in active state.\n *\n * @csspart overlay - The overlay part of the avatar button.\n * @csspart content - The main content of the avatar.\n * @csspart photo - The photo part of the avatar.\n * @csspart presence - The presence indicator part of the avatar.\n * @csspart loading-wrapper - The wrapper for the loading indicator of the avatar.\n * @csspart loader - The loading indicator part of the avatar.\n */",
|
|
4365
|
-
"customElement": true
|
|
4375
|
+
"customElement": true,
|
|
4376
|
+
"slots": [
|
|
4377
|
+
{
|
|
4378
|
+
"description": "Text label of the button.",
|
|
4379
|
+
"name": "",
|
|
4380
|
+
"inheritedFrom": {
|
|
4381
|
+
"name": "Buttonsimple",
|
|
4382
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
4383
|
+
}
|
|
4384
|
+
}
|
|
4385
|
+
]
|
|
4366
4386
|
}
|
|
4367
4387
|
],
|
|
4368
4388
|
"exports": [
|
|
@@ -4886,6 +4906,16 @@
|
|
|
4886
4906
|
"kind": "class",
|
|
4887
4907
|
"description": "The `mdc-brandvisual` component is responsible for rendering logos dynamically & ensures they are\ndisplayed correctly within applications.\n\nFeatures:\n- Dynamically loads brandvisuals based on the `name` attribute.\n- Emits a `load` event when the brandvisual is successfully fetched.\n- Emits an `error` event when the brandvisual import fails.\n- Supports accessibility best practices.\n- Used for brand representation within the design system.",
|
|
4888
4908
|
"name": "Brandvisual",
|
|
4909
|
+
"cssParts": [
|
|
4910
|
+
{
|
|
4911
|
+
"description": "Set styles for the brandvisual svg container",
|
|
4912
|
+
"name": "brandvisual"
|
|
4913
|
+
},
|
|
4914
|
+
{
|
|
4915
|
+
"description": "Set styles for the brandvisual image container",
|
|
4916
|
+
"name": "brandvisualImage"
|
|
4917
|
+
}
|
|
4918
|
+
],
|
|
4889
4919
|
"members": [
|
|
4890
4920
|
{
|
|
4891
4921
|
"kind": "field",
|
|
@@ -4894,7 +4924,7 @@
|
|
|
4894
4924
|
"text": "string | undefined"
|
|
4895
4925
|
},
|
|
4896
4926
|
"description": "Alt text for the brandvisual image for accessibility.\nThis will only be set if the brandvisual is an image (png).",
|
|
4897
|
-
"attribute": "
|
|
4927
|
+
"attribute": "alt-text",
|
|
4898
4928
|
"reflects": true
|
|
4899
4929
|
},
|
|
4900
4930
|
{
|
|
@@ -5026,7 +5056,7 @@
|
|
|
5026
5056
|
"fieldName": "name"
|
|
5027
5057
|
},
|
|
5028
5058
|
{
|
|
5029
|
-
"name": "
|
|
5059
|
+
"name": "alt-text",
|
|
5030
5060
|
"type": {
|
|
5031
5061
|
"text": "string | undefined"
|
|
5032
5062
|
},
|
|
@@ -5039,7 +5069,7 @@
|
|
|
5039
5069
|
"module": "/src/models"
|
|
5040
5070
|
},
|
|
5041
5071
|
"tagName": "mdc-brandvisual",
|
|
5042
|
-
"jsDoc": "/**\n * The `mdc-brandvisual` component is responsible for rendering logos dynamically & ensures they are\n * displayed correctly within applications.\n *\n * Features:\n * - Dynamically loads brandvisuals based on the `name` attribute.\n * - Emits a `load` event when the brandvisual is successfully fetched.\n * - Emits an `error` event when the brandvisual import fails.\n * - Supports accessibility best practices.\n * - Used for brand representation within the design system.\n *\n * @tagname mdc-brandvisual\n *\n * @event load - (React: onLoad) This event is dispatched when the brandvisual has been successfully loaded.\n * @event error - (React: onError) This event is dispatched when the brandvisual fetching has failed.\n *\n */",
|
|
5072
|
+
"jsDoc": "/**\n * The `mdc-brandvisual` component is responsible for rendering logos dynamically & ensures they are\n * displayed correctly within applications.\n *\n * Features:\n * - Dynamically loads brandvisuals based on the `name` attribute.\n * - Emits a `load` event when the brandvisual is successfully fetched.\n * - Emits an `error` event when the brandvisual import fails.\n * - Supports accessibility best practices.\n * - Used for brand representation within the design system.\n *\n * @tagname mdc-brandvisual\n *\n * @event load - (React: onLoad) This event is dispatched when the brandvisual has been successfully loaded.\n * @event error - (React: onError) This event is dispatched when the brandvisual fetching has failed.\n *\n * @csspart brandvisual - Set styles for the brandvisual svg container\n * @csspart brandvisualImage - Set styles for the brandvisual image container\n */",
|
|
5043
5073
|
"customElement": true
|
|
5044
5074
|
}
|
|
5045
5075
|
],
|
|
@@ -5088,7 +5118,7 @@
|
|
|
5088
5118
|
"text": "Size"
|
|
5089
5119
|
},
|
|
5090
5120
|
"privacy": "public",
|
|
5091
|
-
"description": "
|
|
5121
|
+
"description": "Specifies the size of the bullet visual indicator.\n\n- `small` (default): 0.25rem (4px) - Compact bullet for dense layouts\n- `medium`: 0.5rem (8px) - Standard bullet for most use cases\n- `large`: 1rem (16px) - Prominent bullet for emphasis",
|
|
5092
5122
|
"default": "small",
|
|
5093
5123
|
"attribute": "size",
|
|
5094
5124
|
"reflects": true
|
|
@@ -5100,7 +5130,7 @@
|
|
|
5100
5130
|
"type": {
|
|
5101
5131
|
"text": "Size"
|
|
5102
5132
|
},
|
|
5103
|
-
"description": "
|
|
5133
|
+
"description": "Specifies the size of the bullet visual indicator.\n\n- `small` (default): 0.25rem (4px) - Compact bullet for dense layouts\n- `medium`: 0.5rem (8px) - Standard bullet for most use cases\n- `large`: 1rem (16px) - Prominent bullet for emphasis",
|
|
5104
5134
|
"default": "small",
|
|
5105
5135
|
"fieldName": "size"
|
|
5106
5136
|
}
|
|
@@ -5131,7 +5161,7 @@
|
|
|
5131
5161
|
"declarations": [
|
|
5132
5162
|
{
|
|
5133
5163
|
"kind": "class",
|
|
5134
|
-
"description": "`mdc-button` is a component that can be configured in various ways to suit different use cases.\n\
|
|
5164
|
+
"description": "`mdc-button` is a component that can be configured in various ways to suit different use cases.\n\n## Button configuration\n\nThe appearance of the button depends on combination of multiple attributes.\n\n### Button Types\n\nThe type of button is inferred based on the presence of slot and/or prefix and postfix icons/slots:\n\n- **Pill button**: Contains text value, commonly used for call to action, tags, or filters\n- **Pill button with icons**: Contains an icon on the left or right side of the button\n- **Icon button**: Represented by just an icon without any text\n\n### Button Variants:\n\nOptions for button backgrounds and borders:\n\n- **Primary**: Solid background color\n- **Secondary**: Transparent background with solid border\n- **Tertiary**: No background or border, text-only appearance\n\n### Button Colors\n\nColor options for **Primary** and **Secondary** buttons:\n\n- **Default**: For standard actions\n- **Positive**: For success or confirmation actions\n- **Negative**: For destructive or error actions\n- **Accent**: For informational actions\n- **Promotional**: For promotional actions\n\n### Button Sizes\n\nSize options for different button configurations in REM:\n\n- **Pill button**: 40, 32, 28, 24\n- **Icon button**: 64, 52, 40, 32, 28, 24\n- **Tertiary icon button**: 20",
|
|
5135
5165
|
"name": "Button",
|
|
5136
5166
|
"cssProperties": [
|
|
5137
5167
|
{
|
|
@@ -5191,12 +5221,24 @@
|
|
|
5191
5221
|
{
|
|
5192
5222
|
"description": "Content after the text label, passed in `postfix` slot",
|
|
5193
5223
|
"name": "postfix"
|
|
5224
|
+
},
|
|
5225
|
+
{
|
|
5226
|
+
"description": "Icon element displayed before the text label when `prefix-icon` attribute is set",
|
|
5227
|
+
"name": "prefix-icon"
|
|
5228
|
+
},
|
|
5229
|
+
{
|
|
5230
|
+
"description": "Icon element displayed after the text label when `postfix-icon` attribute is set",
|
|
5231
|
+
"name": "postfix-icon"
|
|
5194
5232
|
}
|
|
5195
5233
|
],
|
|
5196
5234
|
"slots": [
|
|
5197
5235
|
{
|
|
5198
5236
|
"description": "Text label of the button.",
|
|
5199
|
-
"name": ""
|
|
5237
|
+
"name": "",
|
|
5238
|
+
"inheritedFrom": {
|
|
5239
|
+
"name": "Buttonsimple",
|
|
5240
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
5241
|
+
}
|
|
5200
5242
|
},
|
|
5201
5243
|
{
|
|
5202
5244
|
"description": "Content to be displayed before the text label.",
|
|
@@ -5259,7 +5301,7 @@
|
|
|
5259
5301
|
"type": {
|
|
5260
5302
|
"text": "ButtonColor"
|
|
5261
5303
|
},
|
|
5262
|
-
"description": "
|
|
5304
|
+
"description": "The semantic color of the button.\n- `positive`: For success or confirmation actions\n- `negative`: For destructive or error actions\n- `accent`: For informational actions\n- `promotional`: For promotional actions\n- `default`: For standard actions\n\nNote: Tertiary buttons always use default color.",
|
|
5263
5305
|
"default": "default",
|
|
5264
5306
|
"attribute": "color",
|
|
5265
5307
|
"inheritedFrom": {
|
|
@@ -5377,7 +5419,7 @@
|
|
|
5377
5419
|
"type": {
|
|
5378
5420
|
"text": "boolean"
|
|
5379
5421
|
},
|
|
5380
|
-
"description": "
|
|
5422
|
+
"description": "Inverts the button's color scheme for use on dark backgrounds.\nWhen enabled, the button adapts its colors to maintain proper contrast on inverted surfaces.\n\n**Requirements:**\n- Only works with `variant=\"primary\"`\n- Only works with `color=\"default\"`\n- Button must not be in `active` state\n\n**Use case:** Place buttons on dark-colored backgrounds or inverted theme sections.",
|
|
5381
5423
|
"default": "false",
|
|
5382
5424
|
"attribute": "inverted",
|
|
5383
5425
|
"reflects": true
|
|
@@ -5402,7 +5444,7 @@
|
|
|
5402
5444
|
"type": {
|
|
5403
5445
|
"text": "IconNames | undefined"
|
|
5404
5446
|
},
|
|
5405
|
-
"description": "The name of the icon to display
|
|
5447
|
+
"description": "The name of the icon to display after the button text (right side in LTR layouts).\nWhen set without text content, creates an icon-only button.\nIcons automatically change to their filled variant when the button is in active state.",
|
|
5406
5448
|
"attribute": "postfix-icon",
|
|
5407
5449
|
"reflects": true,
|
|
5408
5450
|
"inheritedFrom": {
|
|
@@ -5416,7 +5458,7 @@
|
|
|
5416
5458
|
"type": {
|
|
5417
5459
|
"text": "IconNames | undefined"
|
|
5418
5460
|
},
|
|
5419
|
-
"description": "The name of the icon to display
|
|
5461
|
+
"description": "The name of the icon to display before the button text (left side in LTR layouts).\nWhen set without text content, creates an icon-only button.\nIcons automatically change to their filled variant when the button is in active state.",
|
|
5420
5462
|
"attribute": "prefix-icon",
|
|
5421
5463
|
"reflects": true,
|
|
5422
5464
|
"inheritedFrom": {
|
|
@@ -5582,7 +5624,7 @@
|
|
|
5582
5624
|
"type": {
|
|
5583
5625
|
"text": "ButtonSize"
|
|
5584
5626
|
},
|
|
5585
|
-
"description": "
|
|
5627
|
+
"description": "Specifies the size of the button in pixels. Available sizes depend on the button type:\n\n**Pill button** (with text):\n- `40`: Large size (2.5rem)\n- `32`: Default size (2rem)\n- `28`: Medium size (1.75rem)\n- `24`: Small size (1.5rem)\n\n**Icon button** (icon only):\n- `64`: Extra large (4rem)\n- `52`: Large (3.25rem)\n- `40`: Medium-large (2.5rem)\n- `32`: Default (2rem)\n- `28`: Medium (1.75rem)\n- `24`: Small (1.5rem)\n- `20`: Extra small (1.25rem) - Only available for tertiary variant",
|
|
5586
5628
|
"default": "32",
|
|
5587
5629
|
"attribute": "size",
|
|
5588
5630
|
"reflects": true,
|
|
@@ -5665,7 +5707,7 @@
|
|
|
5665
5707
|
"type": {
|
|
5666
5708
|
"text": "ButtonVariant"
|
|
5667
5709
|
},
|
|
5668
|
-
"description": "
|
|
5710
|
+
"description": "The visual style variant of the button.\n- `primary`: Solid background color\n- `secondary`: Transparent background with solid border\n- `tertiary`: No background or border, text-only appearance",
|
|
5669
5711
|
"default": "primary",
|
|
5670
5712
|
"attribute": "variant",
|
|
5671
5713
|
"inheritedFrom": {
|
|
@@ -5680,7 +5722,7 @@
|
|
|
5680
5722
|
"type": {
|
|
5681
5723
|
"text": "ButtonSize"
|
|
5682
5724
|
},
|
|
5683
|
-
"description": "
|
|
5725
|
+
"description": "Specifies the size of the button in pixels. Available sizes depend on the button type:\n\n**Pill button** (with text):\n- `40`: Large size (2.5rem)\n- `32`: Default size (2rem)\n- `28`: Medium size (1.75rem)\n- `24`: Small size (1.5rem)\n\n**Icon button** (icon only):\n- `64`: Extra large (4rem)\n- `52`: Large (3.25rem)\n- `40`: Medium-large (2.5rem)\n- `32`: Default (2rem)\n- `28`: Medium (1.75rem)\n- `24`: Small (1.5rem)\n- `20`: Extra small (1.25rem) - Only available for tertiary variant",
|
|
5684
5726
|
"default": "32",
|
|
5685
5727
|
"fieldName": "size",
|
|
5686
5728
|
"inheritedFrom": {
|
|
@@ -5693,7 +5735,7 @@
|
|
|
5693
5735
|
"type": {
|
|
5694
5736
|
"text": "boolean"
|
|
5695
5737
|
},
|
|
5696
|
-
"description": "
|
|
5738
|
+
"description": "Inverts the button's color scheme for use on dark backgrounds.\nWhen enabled, the button adapts its colors to maintain proper contrast on inverted surfaces.\n\n**Requirements:**\n- Only works with `variant=\"primary\"`\n- Only works with `color=\"default\"`\n- Button must not be in `active` state\n\n**Use case:** Place buttons on dark-colored backgrounds or inverted theme sections.",
|
|
5697
5739
|
"default": "false",
|
|
5698
5740
|
"fieldName": "inverted"
|
|
5699
5741
|
},
|
|
@@ -5715,7 +5757,7 @@
|
|
|
5715
5757
|
"type": {
|
|
5716
5758
|
"text": "IconNames | undefined"
|
|
5717
5759
|
},
|
|
5718
|
-
"description": "The name of the icon to display
|
|
5760
|
+
"description": "The name of the icon to display before the button text (left side in LTR layouts).\nWhen set without text content, creates an icon-only button.\nIcons automatically change to their filled variant when the button is in active state.",
|
|
5719
5761
|
"fieldName": "prefixIcon",
|
|
5720
5762
|
"inheritedFrom": {
|
|
5721
5763
|
"name": "ButtonComponentMixin",
|
|
@@ -5727,7 +5769,7 @@
|
|
|
5727
5769
|
"type": {
|
|
5728
5770
|
"text": "IconNames | undefined"
|
|
5729
5771
|
},
|
|
5730
|
-
"description": "The name of the icon to display
|
|
5772
|
+
"description": "The name of the icon to display after the button text (right side in LTR layouts).\nWhen set without text content, creates an icon-only button.\nIcons automatically change to their filled variant when the button is in active state.",
|
|
5731
5773
|
"fieldName": "postfixIcon",
|
|
5732
5774
|
"inheritedFrom": {
|
|
5733
5775
|
"name": "ButtonComponentMixin",
|
|
@@ -5739,7 +5781,7 @@
|
|
|
5739
5781
|
"type": {
|
|
5740
5782
|
"text": "ButtonVariant"
|
|
5741
5783
|
},
|
|
5742
|
-
"description": "
|
|
5784
|
+
"description": "The visual style variant of the button.\n- `primary`: Solid background color\n- `secondary`: Transparent background with solid border\n- `tertiary`: No background or border, text-only appearance",
|
|
5743
5785
|
"default": "primary",
|
|
5744
5786
|
"fieldName": "variant",
|
|
5745
5787
|
"inheritedFrom": {
|
|
@@ -5752,7 +5794,7 @@
|
|
|
5752
5794
|
"type": {
|
|
5753
5795
|
"text": "ButtonColor"
|
|
5754
5796
|
},
|
|
5755
|
-
"description": "
|
|
5797
|
+
"description": "The semantic color of the button.\n- `positive`: For success or confirmation actions\n- `negative`: For destructive or error actions\n- `accent`: For informational actions\n- `promotional`: For promotional actions\n- `default`: For standard actions\n\nNote: Tertiary buttons always use default color.",
|
|
5756
5798
|
"default": "default",
|
|
5757
5799
|
"fieldName": "color",
|
|
5758
5800
|
"inheritedFrom": {
|
|
@@ -5887,7 +5929,7 @@
|
|
|
5887
5929
|
"module": "/src/components/buttonsimple/buttonsimple.component"
|
|
5888
5930
|
},
|
|
5889
5931
|
"tagName": "mdc-button",
|
|
5890
|
-
"jsDoc": "/**\n * `mdc-button` is a component that can be configured in various ways to suit different use cases.\n *\n * Button
|
|
5932
|
+
"jsDoc": "/**\n * `mdc-button` is a component that can be configured in various ways to suit different use cases.\n *\n * ## Button configuration\n *\n * The appearance of the button depends on combination of multiple attributes.\n *\n * ### Button Types\n * \n * The type of button is inferred based on the presence of slot and/or prefix and postfix icons/slots:\n * \n * - **Pill button**: Contains text value, commonly used for call to action, tags, or filters\n * - **Pill button with icons**: Contains an icon on the left or right side of the button\n * - **Icon button**: Represented by just an icon without any text\n * \n * ### Button Variants:\n *\n * Options for button backgrounds and borders:\n * \n * - **Primary**: Solid background color\n * - **Secondary**: Transparent background with solid border\n * - **Tertiary**: No background or border, text-only appearance\n *\n * ### Button Colors\n * \n * Color options for **Primary** and **Secondary** buttons:\n *\n * - **Default**: For standard actions\n * - **Positive**: For success or confirmation actions\n * - **Negative**: For destructive or error actions\n * - **Accent**: For informational actions\n * - **Promotional**: For promotional actions\n *\n * ### Button Sizes\n * \n * Size options for different button configurations in REM:\n * \n * - **Pill button**: 40, 32, 28, 24\n * - **Icon button**: 64, 52, 40, 32, 28, 24\n * - **Tertiary icon button**: 20\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-button\n *\n * @slot - Text label of the button.\n * @slot prefix - Content to be displayed before the text label.\n * @slot postfix - Content to be displayed after the text label.\n *\n * @csspart button-text - Text label of the button, passed in default slot\n * @csspart prefix - Content before the text label, passed in `prefix` slot\n * @csspart postfix - Content after the text label, passed in `postfix` slot\n * @csspart prefix-icon - Icon element displayed before the text label when `prefix-icon` attribute is set\n * @csspart postfix-icon - Icon element displayed after the text label when `postfix-icon` attribute is set\n *\n * @cssproperty --mdc-button-height - Height for button size\n * @cssproperty --mdc-button-background - Background of the button\n * @cssproperty --mdc-button-border-color - Borer color of the button\n * @cssproperty --mdc-button-text-color - Text color of the button\n * @cssproperty --mdc-button-prefix-icon-size - Size of the prefix icon\n * @cssproperty --mdc-button-postfix-icon-size - Size of the postfix icon\n * @cssproperty --mdc-button-line-height - Line height of the button text\n */",
|
|
5891
5933
|
"customElement": true,
|
|
5892
5934
|
"events": [
|
|
5893
5935
|
{
|
|
@@ -5946,7 +5988,7 @@
|
|
|
5946
5988
|
"declarations": [
|
|
5947
5989
|
{
|
|
5948
5990
|
"kind": "class",
|
|
5949
|
-
"description": "buttongroup
|
|
5991
|
+
"description": "`mdc-buttongroup` is a wrapper component that groups multiple buttons together.\n\n## Supported button types\n- Icon buttons\n- Pill buttons\n- Combination of icon and pill buttons\n\n## Features\n- Horizontal or vertical orientation\n- Unified size and variant applied to all child buttons\n- Optional compact mode for reduced height\n- Supported sizes: 24, 28 (default), 32, 40\n\n## Usage\n- Only `mdc-button` components are allowed as direct children\n- The `size` and `variant` set on buttongroup override individual button settings",
|
|
5950
5992
|
"name": "ButtonGroup",
|
|
5951
5993
|
"cssProperties": [
|
|
5952
5994
|
{
|
|
@@ -5982,7 +6024,7 @@
|
|
|
5982
6024
|
"text": "boolean"
|
|
5983
6025
|
},
|
|
5984
6026
|
"default": "false",
|
|
5985
|
-
"description": "
|
|
6027
|
+
"description": "Enables compact mode with reduced height.\nWhen true, all buttons have a fixed height of 24px regardless of their size setting.\nUseful for space-constrained layouts.",
|
|
5986
6028
|
"attribute": "compact",
|
|
5987
6029
|
"reflects": true
|
|
5988
6030
|
},
|
|
@@ -5992,7 +6034,7 @@
|
|
|
5992
6034
|
"type": {
|
|
5993
6035
|
"text": "ButtonGroupOrientation"
|
|
5994
6036
|
},
|
|
5995
|
-
"description": "
|
|
6037
|
+
"description": "Layout direction of the buttons within the group.\n- `horizontal`: Buttons are arranged side by side (default)\n- `vertical`: Buttons are stacked vertically",
|
|
5996
6038
|
"default": "'horizontal'",
|
|
5997
6039
|
"attribute": "orientation",
|
|
5998
6040
|
"reflects": true
|
|
@@ -6003,8 +6045,8 @@
|
|
|
6003
6045
|
"type": {
|
|
6004
6046
|
"text": "ButtonGroupSize"
|
|
6005
6047
|
},
|
|
6006
|
-
"description": "Size
|
|
6007
|
-
"default": "
|
|
6048
|
+
"description": "Size applied to all buttons in the group.\nAvailable sizes: 24, 28, 32, 40",
|
|
6049
|
+
"default": "28",
|
|
6008
6050
|
"attribute": "size",
|
|
6009
6051
|
"reflects": true
|
|
6010
6052
|
},
|
|
@@ -6014,7 +6056,7 @@
|
|
|
6014
6056
|
"type": {
|
|
6015
6057
|
"text": "ButtonGroupVariant"
|
|
6016
6058
|
},
|
|
6017
|
-
"description": "
|
|
6059
|
+
"description": "Visual style variant applied to all buttons in the group.\n- `primary`: Solid background color\n- `secondary`: Transparent background with solid border\n- `tertiary`: No background or border, text-only appearance",
|
|
6018
6060
|
"default": "'primary'",
|
|
6019
6061
|
"attribute": "variant",
|
|
6020
6062
|
"reflects": true
|
|
@@ -6026,7 +6068,7 @@
|
|
|
6026
6068
|
"type": {
|
|
6027
6069
|
"text": "ButtonGroupOrientation"
|
|
6028
6070
|
},
|
|
6029
|
-
"description": "
|
|
6071
|
+
"description": "Layout direction of the buttons within the group.\n- `horizontal`: Buttons are arranged side by side (default)\n- `vertical`: Buttons are stacked vertically",
|
|
6030
6072
|
"default": "'horizontal'",
|
|
6031
6073
|
"fieldName": "orientation"
|
|
6032
6074
|
},
|
|
@@ -6035,7 +6077,7 @@
|
|
|
6035
6077
|
"type": {
|
|
6036
6078
|
"text": "ButtonGroupVariant"
|
|
6037
6079
|
},
|
|
6038
|
-
"description": "
|
|
6080
|
+
"description": "Visual style variant applied to all buttons in the group.\n- `primary`: Solid background color\n- `secondary`: Transparent background with solid border\n- `tertiary`: No background or border, text-only appearance",
|
|
6039
6081
|
"default": "'primary'",
|
|
6040
6082
|
"fieldName": "variant"
|
|
6041
6083
|
},
|
|
@@ -6044,8 +6086,8 @@
|
|
|
6044
6086
|
"type": {
|
|
6045
6087
|
"text": "ButtonGroupSize"
|
|
6046
6088
|
},
|
|
6047
|
-
"description": "Size
|
|
6048
|
-
"default": "
|
|
6089
|
+
"description": "Size applied to all buttons in the group.\nAvailable sizes: 24, 28, 32, 40",
|
|
6090
|
+
"default": "28",
|
|
6049
6091
|
"fieldName": "size"
|
|
6050
6092
|
},
|
|
6051
6093
|
{
|
|
@@ -6054,7 +6096,7 @@
|
|
|
6054
6096
|
"text": "boolean"
|
|
6055
6097
|
},
|
|
6056
6098
|
"default": "false",
|
|
6057
|
-
"description": "
|
|
6099
|
+
"description": "Enables compact mode with reduced height.\nWhen true, all buttons have a fixed height of 24px regardless of their size setting.\nUseful for space-constrained layouts.",
|
|
6058
6100
|
"fieldName": "compact"
|
|
6059
6101
|
}
|
|
6060
6102
|
],
|
|
@@ -6063,7 +6105,7 @@
|
|
|
6063
6105
|
"module": "/src/models"
|
|
6064
6106
|
},
|
|
6065
6107
|
"tagName": "mdc-buttongroup",
|
|
6066
|
-
"jsDoc": "/**\n * buttongroup
|
|
6108
|
+
"jsDoc": "/**\n * `mdc-buttongroup` is a wrapper component that groups multiple buttons together.\n *\n * ## Supported button types\n * - Icon buttons\n * - Pill buttons\n * - Combination of icon and pill buttons\n *\n * ## Features\n * - Horizontal or vertical orientation\n * - Unified size and variant applied to all child buttons\n * - Optional compact mode for reduced height\n * - Supported sizes: 24, 28 (default), 32, 40\n *\n * ## Usage\n * - Only `mdc-button` components are allowed as direct children\n * - The `size` and `variant` set on buttongroup override individual button settings\n *\n * @tagname mdc-buttongroup\n *\n * @slot default - This is a default/unnamed slot, which contains the buttons\n *\n * @cssproperty --mdc-buttongroup-border-radius - The border radius of the buttongroup\n * @cssproperty --mdc-buttongroup-border-color - The border color of the buttongroup\n * @cssproperty --mdc-buttongroup-divider-color - The color of the divider between buttons within the buttongroup\n *\n * @csspart container - The container of the buttongroup.\n */",
|
|
6067
6109
|
"customElement": true
|
|
6068
6110
|
}
|
|
6069
6111
|
],
|
|
@@ -6223,7 +6265,7 @@
|
|
|
6223
6265
|
"type": {
|
|
6224
6266
|
"text": "ButtonColor"
|
|
6225
6267
|
},
|
|
6226
|
-
"description": "
|
|
6268
|
+
"description": "The semantic color of the button.\n- `positive`: For success or confirmation actions\n- `negative`: For destructive or error actions\n- `accent`: For informational actions\n- `promotional`: For promotional actions\n- `default`: For standard actions\n\nNote: Tertiary buttons always use default color.",
|
|
6227
6269
|
"default": "default",
|
|
6228
6270
|
"attribute": "color",
|
|
6229
6271
|
"inheritedFrom": {
|
|
@@ -6391,7 +6433,7 @@
|
|
|
6391
6433
|
"type": {
|
|
6392
6434
|
"text": "IconNames | undefined"
|
|
6393
6435
|
},
|
|
6394
|
-
"description": "The name of the icon to display
|
|
6436
|
+
"description": "The name of the icon to display after the button text (right side in LTR layouts).\nWhen set without text content, creates an icon-only button.\nIcons automatically change to their filled variant when the button is in active state.",
|
|
6395
6437
|
"attribute": "postfix-icon",
|
|
6396
6438
|
"reflects": true,
|
|
6397
6439
|
"inheritedFrom": {
|
|
@@ -6405,7 +6447,7 @@
|
|
|
6405
6447
|
"type": {
|
|
6406
6448
|
"text": "IconNames | undefined"
|
|
6407
6449
|
},
|
|
6408
|
-
"description": "The name of the icon to display
|
|
6450
|
+
"description": "The name of the icon to display before the button text (left side in LTR layouts).\nWhen set without text content, creates an icon-only button.\nIcons automatically change to their filled variant when the button is in active state.",
|
|
6409
6451
|
"attribute": "prefix-icon",
|
|
6410
6452
|
"reflects": true,
|
|
6411
6453
|
"inheritedFrom": {
|
|
@@ -6602,7 +6644,7 @@
|
|
|
6602
6644
|
"type": {
|
|
6603
6645
|
"text": "ButtonVariant"
|
|
6604
6646
|
},
|
|
6605
|
-
"description": "
|
|
6647
|
+
"description": "The visual style variant of the button.\n- `primary`: Solid background color\n- `secondary`: Transparent background with solid border\n- `tertiary`: No background or border, text-only appearance",
|
|
6606
6648
|
"default": "primary",
|
|
6607
6649
|
"attribute": "variant",
|
|
6608
6650
|
"inheritedFrom": {
|
|
@@ -6673,7 +6715,7 @@
|
|
|
6673
6715
|
"type": {
|
|
6674
6716
|
"text": "IconNames | undefined"
|
|
6675
6717
|
},
|
|
6676
|
-
"description": "The name of the icon to display
|
|
6718
|
+
"description": "The name of the icon to display before the button text (left side in LTR layouts).\nWhen set without text content, creates an icon-only button.\nIcons automatically change to their filled variant when the button is in active state.",
|
|
6677
6719
|
"fieldName": "prefixIcon",
|
|
6678
6720
|
"inheritedFrom": {
|
|
6679
6721
|
"name": "ButtonComponentMixin",
|
|
@@ -6685,7 +6727,7 @@
|
|
|
6685
6727
|
"type": {
|
|
6686
6728
|
"text": "IconNames | undefined"
|
|
6687
6729
|
},
|
|
6688
|
-
"description": "The name of the icon to display
|
|
6730
|
+
"description": "The name of the icon to display after the button text (right side in LTR layouts).\nWhen set without text content, creates an icon-only button.\nIcons automatically change to their filled variant when the button is in active state.",
|
|
6689
6731
|
"fieldName": "postfixIcon",
|
|
6690
6732
|
"inheritedFrom": {
|
|
6691
6733
|
"name": "ButtonComponentMixin",
|
|
@@ -6697,7 +6739,7 @@
|
|
|
6697
6739
|
"type": {
|
|
6698
6740
|
"text": "ButtonVariant"
|
|
6699
6741
|
},
|
|
6700
|
-
"description": "
|
|
6742
|
+
"description": "The visual style variant of the button.\n- `primary`: Solid background color\n- `secondary`: Transparent background with solid border\n- `tertiary`: No background or border, text-only appearance",
|
|
6701
6743
|
"default": "primary",
|
|
6702
6744
|
"fieldName": "variant",
|
|
6703
6745
|
"inheritedFrom": {
|
|
@@ -6710,7 +6752,7 @@
|
|
|
6710
6752
|
"type": {
|
|
6711
6753
|
"text": "ButtonColor"
|
|
6712
6754
|
},
|
|
6713
|
-
"description": "
|
|
6755
|
+
"description": "The semantic color of the button.\n- `positive`: For success or confirmation actions\n- `negative`: For destructive or error actions\n- `accent`: For informational actions\n- `promotional`: For promotional actions\n- `default`: For standard actions\n\nNote: Tertiary buttons always use default color.",
|
|
6714
6756
|
"default": "default",
|
|
6715
6757
|
"fieldName": "color",
|
|
6716
6758
|
"inheritedFrom": {
|
|
@@ -6912,7 +6954,7 @@
|
|
|
6912
6954
|
"name": "--mdc-button-background"
|
|
6913
6955
|
},
|
|
6914
6956
|
{
|
|
6915
|
-
"description": "
|
|
6957
|
+
"description": "Border color of the button",
|
|
6916
6958
|
"name": "--mdc-button-border-color"
|
|
6917
6959
|
},
|
|
6918
6960
|
{
|
|
@@ -6920,6 +6962,12 @@
|
|
|
6920
6962
|
"name": "--mdc-button-text-color"
|
|
6921
6963
|
}
|
|
6922
6964
|
],
|
|
6965
|
+
"slots": [
|
|
6966
|
+
{
|
|
6967
|
+
"description": "Text label of the button.",
|
|
6968
|
+
"name": ""
|
|
6969
|
+
}
|
|
6970
|
+
],
|
|
6923
6971
|
"members": [
|
|
6924
6972
|
{
|
|
6925
6973
|
"kind": "field",
|
|
@@ -7319,7 +7367,7 @@
|
|
|
7319
7367
|
"module": "/src/models"
|
|
7320
7368
|
},
|
|
7321
7369
|
"tagName": "mdc-buttonsimple",
|
|
7322
|
-
"jsDoc": "/**\n * `mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\n * It is used as an internal component and is not intended to be used directly by consumers.\n * Consumers should use the `mdc-button` component instead.\n *\n * @event click - (React: onClick) This event is dispatched when the button is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the button.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the button.\n * @event focus - (React: onFocus) This event is dispatched when the button receives focus.\n *\n * @
|
|
7370
|
+
"jsDoc": "/**\n * `mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\n * It is used as an internal component and is not intended to be used directly by consumers.\n * Consumers should use the `mdc-button` component instead.\n *\n * @tagname mdc-buttonsimple\n *\n * @slot - Text label of the button.\n *\n * @event click - (React: onClick) This event is dispatched when the button is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the button.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the button.\n * @event focus - (React: onFocus) This event is dispatched when the button receives focus.\n *\n * @cssproperty --mdc-button-height - Height for button size\n * @cssproperty --mdc-button-background - Background color of the button\n * @cssproperty --mdc-button-border-color - Border color of the button\n * @cssproperty --mdc-button-text-color - Text color of the button\n */",
|
|
7323
7371
|
"customElement": true
|
|
7324
7372
|
}
|
|
7325
7373
|
],
|
|
@@ -7809,7 +7857,7 @@
|
|
|
7809
7857
|
}
|
|
7810
7858
|
},
|
|
7811
7859
|
{
|
|
7812
|
-
"description": "
|
|
7860
|
+
"description": "Border color of the button",
|
|
7813
7861
|
"name": "--mdc-button-border-color",
|
|
7814
7862
|
"inheritedFrom": {
|
|
7815
7863
|
"name": "Buttonsimple",
|
|
@@ -7891,6 +7939,14 @@
|
|
|
7891
7939
|
{
|
|
7892
7940
|
"description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
|
|
7893
7941
|
"name": "footer-button-primary"
|
|
7942
|
+
},
|
|
7943
|
+
{
|
|
7944
|
+
"description": "Text label of the button.",
|
|
7945
|
+
"name": "",
|
|
7946
|
+
"inheritedFrom": {
|
|
7947
|
+
"name": "Buttonsimple",
|
|
7948
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
7949
|
+
}
|
|
7894
7950
|
}
|
|
7895
7951
|
],
|
|
7896
7952
|
"members": [
|
|
@@ -11181,7 +11237,7 @@
|
|
|
11181
11237
|
}
|
|
11182
11238
|
},
|
|
11183
11239
|
{
|
|
11184
|
-
"description": "
|
|
11240
|
+
"description": "Border color of the button",
|
|
11185
11241
|
"name": "--mdc-button-border-color",
|
|
11186
11242
|
"inheritedFrom": {
|
|
11187
11243
|
"name": "Buttonsimple",
|
|
@@ -11782,7 +11838,17 @@
|
|
|
11782
11838
|
},
|
|
11783
11839
|
"tagName": "mdc-chip",
|
|
11784
11840
|
"jsDoc": "/**\n * mdc-chip is an interactive element that can be used to represent a chip. It supports a leading icon along with label.\n * Consumers can wrap this component around a tooltip to provide additional context.\n *\n * It is recommended to keep the label text for the chip component concise and compact.\n * For best results, we recommend limiting the <b>maximum length of the label text to 20 characters</b>,\n * including empty spaces to split words.\n *\n * This component is built by extending Buttonsimple.\n *\n * @tagname mdc-chip\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-chip-color - The color of the chip.\n * @cssproperty --mdc-chip-border-color - The border color of the chip.\n * @cssproperty --mdc-chip-background-color - The background color of the chip.\n * @cssproperty --mdc-button-height - Height for button size\n *\n * @csspart label - The label part of the chip.\n *\n * @event click - (React: onClick) This event is dispatched when the chip is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the chip.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the chip.\n * @event focus - (React: onFocus) This event is dispatched when the chip receives focus.\n *\n */",
|
|
11785
|
-
"customElement": true
|
|
11841
|
+
"customElement": true,
|
|
11842
|
+
"slots": [
|
|
11843
|
+
{
|
|
11844
|
+
"description": "Text label of the button.",
|
|
11845
|
+
"name": "",
|
|
11846
|
+
"inheritedFrom": {
|
|
11847
|
+
"name": "Buttonsimple",
|
|
11848
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
11849
|
+
}
|
|
11850
|
+
}
|
|
11851
|
+
]
|
|
11786
11852
|
}
|
|
11787
11853
|
],
|
|
11788
11854
|
"exports": [
|
|
@@ -16659,7 +16725,7 @@
|
|
|
16659
16725
|
}
|
|
16660
16726
|
},
|
|
16661
16727
|
{
|
|
16662
|
-
"description": "
|
|
16728
|
+
"description": "Border color of the button",
|
|
16663
16729
|
"name": "--mdc-button-border-color",
|
|
16664
16730
|
"inheritedFrom": {
|
|
16665
16731
|
"name": "Buttonsimple",
|
|
@@ -17318,7 +17384,17 @@
|
|
|
17318
17384
|
},
|
|
17319
17385
|
"tagName": "mdc-filterchip",
|
|
17320
17386
|
"jsDoc": "/**\n * mdc-filterchip component is an interactive chip that consumers can use to select or deselect.\n * They can be found with lists or tables as quick filters.\n *\n * This component is built on top of the mdc-chip component.\n *\n * @tagname mdc-filterchip\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @csspart label - The label part of the chip.\n *\n * @cssproperty --mdc-chip-color - The color of the chip.\n * @cssproperty --mdc-chip-border-color - The border color of the chip.\n * @cssproperty --mdc-chip-background-color - The background color of the chip.\n *\n * @event click - (React: onClick) This event is dispatched when the chip is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the chip.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the chip.\n * @event focus - (React: onFocus) This event is dispatched when the chip receives focus.\n */",
|
|
17321
|
-
"customElement": true
|
|
17387
|
+
"customElement": true,
|
|
17388
|
+
"slots": [
|
|
17389
|
+
{
|
|
17390
|
+
"description": "Text label of the button.",
|
|
17391
|
+
"name": "",
|
|
17392
|
+
"inheritedFrom": {
|
|
17393
|
+
"name": "Buttonsimple",
|
|
17394
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
17395
|
+
}
|
|
17396
|
+
}
|
|
17397
|
+
]
|
|
17322
17398
|
}
|
|
17323
17399
|
],
|
|
17324
17400
|
"exports": [
|
|
@@ -21225,7 +21301,7 @@
|
|
|
21225
21301
|
}
|
|
21226
21302
|
},
|
|
21227
21303
|
{
|
|
21228
|
-
"description": "
|
|
21304
|
+
"description": "Border color of the button",
|
|
21229
21305
|
"name": "--mdc-button-border-color",
|
|
21230
21306
|
"inheritedFrom": {
|
|
21231
21307
|
"name": "Buttonsimple",
|
|
@@ -21244,7 +21320,11 @@
|
|
|
21244
21320
|
"slots": [
|
|
21245
21321
|
{
|
|
21246
21322
|
"description": "Text label of the linkbutton.",
|
|
21247
|
-
"name": ""
|
|
21323
|
+
"name": "",
|
|
21324
|
+
"inheritedFrom": {
|
|
21325
|
+
"name": "Buttonsimple",
|
|
21326
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
21327
|
+
}
|
|
21248
21328
|
}
|
|
21249
21329
|
],
|
|
21250
21330
|
"members": [
|
|
@@ -45728,7 +45808,7 @@
|
|
|
45728
45808
|
}
|
|
45729
45809
|
},
|
|
45730
45810
|
{
|
|
45731
|
-
"description": "
|
|
45811
|
+
"description": "Border color of the button",
|
|
45732
45812
|
"name": "--mdc-button-border-color",
|
|
45733
45813
|
"inheritedFrom": {
|
|
45734
45814
|
"name": "Buttonsimple",
|
|
@@ -46405,7 +46485,17 @@
|
|
|
46405
46485
|
},
|
|
46406
46486
|
"tagName": "mdc-tab",
|
|
46407
46487
|
"jsDoc": "/**\n * `mdc-tab` is Tab component to be used within the Tabgroup.\n *\n * Passing in the attribute `text` to the tab component is changing the text displayed in the tab.\n *\n * Pass attribute `tabid` when using inside of `tablist` component.\n *\n * The `slot=\"badge\"` can be used to add a badge to the tab.\n *\n * The `slot=\"chip\"` can be used to add a chip to the tab.\n *\n * For `icon`, the `mdc-icon` component is used to render the icon.\n *\n * Note: Icons can be used in conjunction with badges or chips.\n * Badges and chips should not be used at the same time.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event click - (React: onClick) This event is dispatched when the tab is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the tab.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the tab.\n * @event focus - (React: onFocus) This event is dispatched when the tab receives focus.\n * @event activechange - (React: onActiveChange) This event is dispatched when the active state of the tab changes\n * <br />\n * Event Data: `detail: { tabId: this.tabId, active }`\n * <br />\n * Note: the activechange event is used by the tab list component to react to the change in state of the tab,\n * so this event won't be needed if the tab list is used.\n *\n * @tagname mdc-tab\n *\n * @cssproperty --mdc-tab-height - The height of the tab.\n * @cssproperty --mdc-tab-padding-left - The left padding of the tab.\n * @cssproperty --mdc-tab-padding-right - The right padding of the tab.\n * @cssproperty --mdc-tab-content-gap - The gap between the icon and text in the tab.\n * @cssproperty --mdc-tab-background-color - The background color of the tab.\n * @cssproperty --mdc-tab-color - The text color of the tab.\n * @cssproperty --mdc-tab-border-radius - The border radius of the tab.\n *\n * @cssproperty --mdc-tab-line-active-indicator-height - The height of the active indicator line.\n * @cssproperty --mdc-tab-line-active-indicator-width - The width of the active indicator line.\n *\n * @cssproperty --mdc-tab-line-border-bottom-left-radius - The border bottom left radius of the active indicator line.\n * @cssproperty --mdc-tab-line-border-bottom-right-radius - The border bottom right radius of the active indicator line.\n * @cssproperty --mdc-tab-line-border-top-left-radius - The border top left radius of the active indicator line.\n * @cssproperty --mdc-tab-line-border-top-right-radius - The border top right radius of the active indicator line.\n *\n *\n *\n * @csspart container - The container of the tab.\n * @csspart icon - The icon of the tab.\n * @csspart indicator - The indicator of the tab.\n * @csspart text - The text of the tab.\n */",
|
|
46408
|
-
"customElement": true
|
|
46488
|
+
"customElement": true,
|
|
46489
|
+
"slots": [
|
|
46490
|
+
{
|
|
46491
|
+
"description": "Text label of the button.",
|
|
46492
|
+
"name": "",
|
|
46493
|
+
"inheritedFrom": {
|
|
46494
|
+
"name": "Buttonsimple",
|
|
46495
|
+
"module": "src/components/buttonsimple/buttonsimple.component.ts"
|
|
46496
|
+
}
|
|
46497
|
+
}
|
|
46498
|
+
]
|
|
46409
46499
|
}
|
|
46410
46500
|
],
|
|
46411
46501
|
"exports": [
|
|
@@ -54719,7 +54809,7 @@
|
|
|
54719
54809
|
"type": {
|
|
54720
54810
|
"text": "ButtonColor"
|
|
54721
54811
|
},
|
|
54722
|
-
"description": "
|
|
54812
|
+
"description": "The semantic color of the button.\n- `positive`: For success or confirmation actions\n- `negative`: For destructive or error actions\n- `accent`: For informational actions\n- `promotional`: For promotional actions\n- `default`: For standard actions\n\nNote: Tertiary buttons always use default color.",
|
|
54723
54813
|
"default": "default",
|
|
54724
54814
|
"attribute": "color"
|
|
54725
54815
|
},
|
|
@@ -54741,7 +54831,7 @@
|
|
|
54741
54831
|
"type": {
|
|
54742
54832
|
"text": "IconNames | undefined"
|
|
54743
54833
|
},
|
|
54744
|
-
"description": "The name of the icon to display
|
|
54834
|
+
"description": "The name of the icon to display after the button text (right side in LTR layouts).\nWhen set without text content, creates an icon-only button.\nIcons automatically change to their filled variant when the button is in active state.",
|
|
54745
54835
|
"attribute": "postfix-icon",
|
|
54746
54836
|
"reflects": true
|
|
54747
54837
|
},
|
|
@@ -54751,7 +54841,7 @@
|
|
|
54751
54841
|
"type": {
|
|
54752
54842
|
"text": "IconNames | undefined"
|
|
54753
54843
|
},
|
|
54754
|
-
"description": "The name of the icon to display
|
|
54844
|
+
"description": "The name of the icon to display before the button text (left side in LTR layouts).\nWhen set without text content, creates an icon-only button.\nIcons automatically change to their filled variant when the button is in active state.",
|
|
54755
54845
|
"attribute": "prefix-icon",
|
|
54756
54846
|
"reflects": true
|
|
54757
54847
|
},
|
|
@@ -54806,7 +54896,7 @@
|
|
|
54806
54896
|
"type": {
|
|
54807
54897
|
"text": "ButtonVariant"
|
|
54808
54898
|
},
|
|
54809
|
-
"description": "
|
|
54899
|
+
"description": "The visual style variant of the button.\n- `primary`: Solid background color\n- `secondary`: Transparent background with solid border\n- `tertiary`: No background or border, text-only appearance",
|
|
54810
54900
|
"default": "primary",
|
|
54811
54901
|
"attribute": "variant"
|
|
54812
54902
|
}
|
|
@@ -54817,7 +54907,7 @@
|
|
|
54817
54907
|
"type": {
|
|
54818
54908
|
"text": "IconNames | undefined"
|
|
54819
54909
|
},
|
|
54820
|
-
"description": "The name of the icon to display
|
|
54910
|
+
"description": "The name of the icon to display before the button text (left side in LTR layouts).\nWhen set without text content, creates an icon-only button.\nIcons automatically change to their filled variant when the button is in active state.",
|
|
54821
54911
|
"fieldName": "prefixIcon"
|
|
54822
54912
|
},
|
|
54823
54913
|
{
|
|
@@ -54825,7 +54915,7 @@
|
|
|
54825
54915
|
"type": {
|
|
54826
54916
|
"text": "IconNames | undefined"
|
|
54827
54917
|
},
|
|
54828
|
-
"description": "The name of the icon to display
|
|
54918
|
+
"description": "The name of the icon to display after the button text (right side in LTR layouts).\nWhen set without text content, creates an icon-only button.\nIcons automatically change to their filled variant when the button is in active state.",
|
|
54829
54919
|
"fieldName": "postfixIcon"
|
|
54830
54920
|
},
|
|
54831
54921
|
{
|
|
@@ -54833,7 +54923,7 @@
|
|
|
54833
54923
|
"type": {
|
|
54834
54924
|
"text": "ButtonVariant"
|
|
54835
54925
|
},
|
|
54836
|
-
"description": "
|
|
54926
|
+
"description": "The visual style variant of the button.\n- `primary`: Solid background color\n- `secondary`: Transparent background with solid border\n- `tertiary`: No background or border, text-only appearance",
|
|
54837
54927
|
"default": "primary",
|
|
54838
54928
|
"fieldName": "variant"
|
|
54839
54929
|
},
|
|
@@ -54842,7 +54932,7 @@
|
|
|
54842
54932
|
"type": {
|
|
54843
54933
|
"text": "ButtonColor"
|
|
54844
54934
|
},
|
|
54845
|
-
"description": "
|
|
54935
|
+
"description": "The semantic color of the button.\n- `positive`: For success or confirmation actions\n- `negative`: For destructive or error actions\n- `accent`: For informational actions\n- `promotional`: For promotional actions\n- `default`: For standard actions\n\nNote: Tertiary buttons always use default color.",
|
|
54846
54936
|
"default": "default",
|
|
54847
54937
|
"fieldName": "color"
|
|
54848
54938
|
}
|