@momentum-design/components 0.129.19 → 0.129.21
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 +204 -204
- package/dist/browser/index.js.map +4 -4
- package/dist/components/alertchip/alertchip.component.d.ts +7 -7
- package/dist/components/alertchip/alertchip.component.js +7 -14
- package/dist/components/alertchip/alertchip.constants.js +2 -1
- package/dist/components/alertchip/alertchip.types.d.ts +1 -1
- package/dist/components/alertchip/alertchip.utils.js +2 -2
- package/dist/components/formfieldwrapper/formfieldwrapper.component.d.ts +5 -0
- package/dist/components/formfieldwrapper/formfieldwrapper.component.js +5 -0
- package/dist/components/formfieldwrapper/formfieldwrapper.constants.d.ts +1 -1
- package/dist/components/formfieldwrapper/formfieldwrapper.constants.js +3 -2
- package/dist/components/select/select.component.d.ts +2 -2
- package/dist/components/select/select.component.js +2 -2
- package/dist/custom-elements.json +102 -16
- package/dist/react/alertchip/index.d.ts +5 -5
- package/dist/react/alertchip/index.js +5 -5
- package/dist/react/select/index.d.ts +2 -2
- package/dist/react/select/index.js +2 -2
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ import { TAG_NAME } from '../../components/alertchip/alertchip.constants';
|
|
|
6
6
|
* mdc-alertchip component is an interactive chip that consumers can use to represent an alert.
|
|
7
7
|
*
|
|
8
8
|
* - It supports a leading icon along with label.
|
|
9
|
-
* - It supports 5 variants of alerts -
|
|
9
|
+
* - It supports 5 variants of alerts - error, informational, neutral, success and warning.
|
|
10
10
|
*
|
|
11
11
|
* This component is built by extending Buttonsimple.
|
|
12
12
|
*
|
|
@@ -23,10 +23,10 @@ import { TAG_NAME } from '../../components/alertchip/alertchip.constants';
|
|
|
23
23
|
* @csspart icon - The alert icon
|
|
24
24
|
* @csspart label - The text label of the alertchip
|
|
25
25
|
*
|
|
26
|
-
* @event click - (React: onClick) This event is dispatched when the
|
|
27
|
-
* @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the
|
|
28
|
-
* @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the
|
|
29
|
-
* @event focus - (React: onFocus) This event is dispatched when the
|
|
26
|
+
* @event click - (React: onClick) This event is dispatched when the alertchip is clicked.
|
|
27
|
+
* @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the alertchip.
|
|
28
|
+
* @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the alertchip.
|
|
29
|
+
* @event focus - (React: onFocus) This event is dispatched when the alertchip receives focus.
|
|
30
30
|
*/
|
|
31
31
|
const reactWrapper = createComponent({
|
|
32
32
|
tagName: TAG_NAME,
|
|
@@ -4,6 +4,7 @@ import type { Events } from '../../components/select/select.types';
|
|
|
4
4
|
/**
|
|
5
5
|
* The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.
|
|
6
6
|
* It is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.
|
|
7
|
+
* Optional: Add `mdc-divider` after each option group (`mdc-optgroup`) to separate groups visually.
|
|
7
8
|
*
|
|
8
9
|
* Every mdc-option should have a `value` attribute set to ensure proper form submission.
|
|
9
10
|
*
|
|
@@ -22,14 +23,13 @@ import type { Events } from '../../components/select/select.types';
|
|
|
22
23
|
*
|
|
23
24
|
* @tagname mdc-select
|
|
24
25
|
*
|
|
25
|
-
* @slot default - This is a default/unnamed slot for Selectlistbox including options and/or option group.
|
|
26
|
-
*
|
|
27
26
|
* @event click - (React: onClick) This event is dispatched when the select is clicked.
|
|
28
27
|
* @event change - (React: onChange) This event is dispatched when the select is changed.
|
|
29
28
|
* @event input - (React: onInput) This event is dispatched when the select is changed.
|
|
30
29
|
* @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the select.
|
|
31
30
|
* @event focus - (React: onFocus) This event is dispatched when the select receives focus.
|
|
32
31
|
*
|
|
32
|
+
* @slot default - This is a default/unnamed slot for Selectlistbox including options and/or option group.
|
|
33
33
|
* @slot label - Slot for the label element. If not provided, the `label` property will be used to render the label.
|
|
34
34
|
* @slot toggletip - Slot for the toggletip info icon button. If not provided, the `toggletip-text` property will be used to render the info icon button and toggletip.
|
|
35
35
|
* @slot help-icon - Slot for the helper/validation icon. If not provided, the icon will be rendered based on the `helpTextType` property.
|
|
@@ -5,6 +5,7 @@ import { TAG_NAME } from '../../components/select/select.constants';
|
|
|
5
5
|
/**
|
|
6
6
|
* The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.
|
|
7
7
|
* It is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.
|
|
8
|
+
* Optional: Add `mdc-divider` after each option group (`mdc-optgroup`) to separate groups visually.
|
|
8
9
|
*
|
|
9
10
|
* Every mdc-option should have a `value` attribute set to ensure proper form submission.
|
|
10
11
|
*
|
|
@@ -23,14 +24,13 @@ import { TAG_NAME } from '../../components/select/select.constants';
|
|
|
23
24
|
*
|
|
24
25
|
* @tagname mdc-select
|
|
25
26
|
*
|
|
26
|
-
* @slot default - This is a default/unnamed slot for Selectlistbox including options and/or option group.
|
|
27
|
-
*
|
|
28
27
|
* @event click - (React: onClick) This event is dispatched when the select is clicked.
|
|
29
28
|
* @event change - (React: onChange) This event is dispatched when the select is changed.
|
|
30
29
|
* @event input - (React: onInput) This event is dispatched when the select is changed.
|
|
31
30
|
* @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the select.
|
|
32
31
|
* @event focus - (React: onFocus) This event is dispatched when the select receives focus.
|
|
33
32
|
*
|
|
33
|
+
* @slot default - This is a default/unnamed slot for Selectlistbox including options and/or option group.
|
|
34
34
|
* @slot label - Slot for the label element. If not provided, the `label` property will be used to render the label.
|
|
35
35
|
* @slot toggletip - Slot for the toggletip info icon button. If not provided, the `toggletip-text` property will be used to render the info icon button and toggletip.
|
|
36
36
|
* @slot help-icon - Slot for the helper/validation icon. If not provided, the icon will be rendered based on the `helpTextType` property.
|