@momentum-design/components 0.81.3 → 0.81.4
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 +230 -225
- package/dist/browser/index.js.map +4 -4
- package/dist/components/avatarbutton/avatarbutton.component.js +2 -1
- package/dist/components/badge/badge.component.js +2 -1
- package/dist/components/optgroup/optgroup.component.js +3 -2
- package/dist/components/option/option.component.d.ts +0 -4
- package/dist/components/option/option.component.js +3 -9
- package/dist/components/popover/popover.component.js +4 -4
- package/dist/components/popover/popover.utils.js +7 -7
- package/dist/components/progressbar/progressbar.component.js +2 -1
- package/dist/components/progressspinner/progressspinner.component.js +2 -1
- package/dist/components/radio/radio.component.js +2 -1
- package/dist/components/select/select.component.d.ts +0 -10
- package/dist/components/select/select.component.js +67 -53
- package/dist/components/select/select.constants.d.ts +2 -1
- package/dist/components/select/select.constants.js +2 -1
- package/dist/components/select/select.styles.js +2 -1
- package/dist/components/spinner/spinner.component.js +2 -1
- package/dist/components/tab/tab.component.js +2 -1
- package/dist/components/tablist/tablist.component.js +2 -1
- package/dist/components/toggle/toggle.component.js +2 -1
- package/dist/custom-elements.json +838 -883
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +2 -2
- package/dist/utils/keys.d.ts +1 -0
- package/dist/utils/keys.js +1 -0
- package/dist/utils/mixins/FormInternalsMixin.js +1 -1
- package/dist/utils/roles.d.ts +9 -0
- package/dist/utils/roles.js +9 -0
- package/package.json +1 -1
package/dist/react/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { default as AlertChip } from './alertchip';
|
|
2
1
|
export { default as Animation } from './animation';
|
|
3
2
|
export { default as Appheader } from './appheader';
|
|
4
3
|
export { default as Avatar } from './avatar';
|
|
4
|
+
export { default as AlertChip } from './alertchip';
|
|
5
5
|
export { default as AvatarButton } from './avatarbutton';
|
|
6
6
|
export { default as Badge } from './badge';
|
|
7
7
|
export { default as Brandvisual } from './brandvisual';
|
|
8
8
|
export { default as Bullet } from './bullet';
|
|
9
|
-
export { default as ButtonGroup } from './buttongroup';
|
|
10
9
|
export { default as Button } from './button';
|
|
10
|
+
export { default as ButtonGroup } from './buttongroup';
|
|
11
11
|
export { default as ButtonLink } from './buttonlink';
|
|
12
12
|
export { default as Buttonsimple } from './buttonsimple';
|
|
13
13
|
export { default as Card } from './card';
|
package/dist/react/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { default as AlertChip } from './alertchip';
|
|
2
1
|
export { default as Animation } from './animation';
|
|
3
2
|
export { default as Appheader } from './appheader';
|
|
4
3
|
export { default as Avatar } from './avatar';
|
|
4
|
+
export { default as AlertChip } from './alertchip';
|
|
5
5
|
export { default as AvatarButton } from './avatarbutton';
|
|
6
6
|
export { default as Badge } from './badge';
|
|
7
7
|
export { default as Brandvisual } from './brandvisual';
|
|
8
8
|
export { default as Bullet } from './bullet';
|
|
9
|
-
export { default as ButtonGroup } from './buttongroup';
|
|
10
9
|
export { default as Button } from './button';
|
|
10
|
+
export { default as ButtonGroup } from './buttongroup';
|
|
11
11
|
export { default as ButtonLink } from './buttonlink';
|
|
12
12
|
export { default as Buttonsimple } from './buttonsimple';
|
|
13
13
|
export { default as Card } from './card';
|
package/dist/utils/keys.d.ts
CHANGED
package/dist/utils/keys.js
CHANGED
|
@@ -40,7 +40,7 @@ export const FormInternalsMixin = (superClass) => {
|
|
|
40
40
|
connectedCallback() {
|
|
41
41
|
super.connectedCallback();
|
|
42
42
|
/** @internal */
|
|
43
|
-
this.id = `mdc-
|
|
43
|
+
this.id = `mdc-el-${uuidv4()}`;
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
46
|
* Sets the validity of the input field based on the input field's validity.
|
package/dist/utils/roles.d.ts
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import type { ValueOf } from './types';
|
|
2
2
|
declare const ROLE: {
|
|
3
|
+
readonly ALERTDIALOG: "alertdialog";
|
|
3
4
|
readonly BUTTON: "button";
|
|
4
5
|
readonly CHECKBOX: "checkbox";
|
|
6
|
+
readonly COMBOBOX: "combobox";
|
|
7
|
+
readonly DIALOG: "dialog";
|
|
5
8
|
readonly GROUP: "group";
|
|
9
|
+
readonly IMG: "img";
|
|
6
10
|
readonly LIST: "list";
|
|
11
|
+
readonly LISTBOX: "listbox";
|
|
7
12
|
readonly LISTITEM: "listitem";
|
|
8
13
|
readonly MENU: "menu";
|
|
9
14
|
readonly MENUBAR: "menubar";
|
|
@@ -11,8 +16,12 @@ declare const ROLE: {
|
|
|
11
16
|
readonly MENUITEMCHECKBOX: "menuitemcheckbox";
|
|
12
17
|
readonly MENUITEMRADIO: "menuitemradio";
|
|
13
18
|
readonly NAVIGATION: "navigation";
|
|
19
|
+
readonly PRESENTATION: "presentation";
|
|
20
|
+
readonly PROGRESSBAR: "progressbar";
|
|
14
21
|
readonly RADIO: "radio";
|
|
15
22
|
readonly RADIOGROUP: "radiogroup";
|
|
23
|
+
readonly TAB: "tab";
|
|
24
|
+
readonly TABLIST: "tablist";
|
|
16
25
|
readonly TOOLTIP: "tooltip";
|
|
17
26
|
};
|
|
18
27
|
type RoleType = ValueOf<typeof ROLE>;
|
package/dist/utils/roles.js
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
// When adding a new role in this list, please sort this list.
|
|
2
2
|
const ROLE = {
|
|
3
|
+
ALERTDIALOG: 'alertdialog',
|
|
3
4
|
BUTTON: 'button',
|
|
4
5
|
CHECKBOX: 'checkbox',
|
|
6
|
+
COMBOBOX: 'combobox',
|
|
7
|
+
DIALOG: 'dialog',
|
|
5
8
|
GROUP: 'group',
|
|
9
|
+
IMG: 'img',
|
|
6
10
|
LIST: 'list',
|
|
11
|
+
LISTBOX: 'listbox',
|
|
7
12
|
LISTITEM: 'listitem',
|
|
8
13
|
MENU: 'menu',
|
|
9
14
|
MENUBAR: 'menubar',
|
|
@@ -11,8 +16,12 @@ const ROLE = {
|
|
|
11
16
|
MENUITEMCHECKBOX: 'menuitemcheckbox',
|
|
12
17
|
MENUITEMRADIO: 'menuitemradio',
|
|
13
18
|
NAVIGATION: 'navigation',
|
|
19
|
+
PRESENTATION: 'presentation',
|
|
20
|
+
PROGRESSBAR: 'progressbar',
|
|
14
21
|
RADIO: 'radio',
|
|
15
22
|
RADIOGROUP: 'radiogroup',
|
|
23
|
+
TAB: 'tab',
|
|
24
|
+
TABLIST: 'tablist',
|
|
16
25
|
TOOLTIP: 'tooltip',
|
|
17
26
|
};
|
|
18
27
|
export { ROLE };
|
package/package.json
CHANGED