@momentum-design/components 0.112.0 → 0.112.2
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 +527 -361
- package/dist/browser/index.js.map +4 -4
- package/dist/components/buttonlink/buttonlink.component.d.ts +5 -0
- package/dist/components/buttonlink/buttonlink.component.js +37 -6
- package/dist/components/buttonlink/buttonlink.styles.d.ts +2 -0
- package/dist/components/buttonlink/buttonlink.styles.js +58 -0
- package/dist/components/link/link.component.d.ts +3 -0
- package/dist/components/link/link.component.js +28 -3
- package/dist/components/link/link.styles.js +15 -13
- package/dist/components/linkbutton/linkbutton.component.js +2 -2
- package/dist/components/linkbutton/linkbutton.styles.js +39 -2
- package/dist/components/linksimple/linksimple.component.d.ts +24 -6
- package/dist/components/linksimple/linksimple.component.js +49 -19
- package/dist/components/linksimple/linksimple.styles.js +41 -28
- package/dist/components/option/option.styles.js +2 -1
- package/dist/custom-elements.json +1829 -1437
- package/dist/react/buttonlink/index.d.ts +5 -0
- package/dist/react/buttonlink/index.js +5 -0
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.js +3 -3
- package/dist/react/link/index.d.ts +3 -0
- package/dist/react/link/index.js +3 -0
- package/dist/react/linksimple/index.d.ts +2 -0
- package/dist/react/linksimple/index.js +2 -0
- package/package.json +1 -1
@@ -20,6 +20,11 @@ import Component from '../../components/buttonlink';
|
|
20
20
|
* @event focus - (React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.
|
21
21
|
* @event blur - (React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.
|
22
22
|
*
|
23
|
+
* @csspart anchor - The anchor element that wraps the buttonlink content.
|
24
|
+
* @csspart prefix-icon - The prefix icon element.
|
25
|
+
* @csspart button-text - The slot containing the buttonlink text.
|
26
|
+
* @csspart postfix-icon - The postfix icon element.
|
27
|
+
*
|
23
28
|
*/
|
24
29
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
25
30
|
onClick: EventName<import("../../utils/types").OverrideEventTarget<MouseEvent, import("../../components/linksimple/linksimple.component").default>>;
|
@@ -22,6 +22,11 @@ import { TAG_NAME } from '../../components/buttonlink/buttonlink.constants';
|
|
22
22
|
* @event focus - (React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.
|
23
23
|
* @event blur - (React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.
|
24
24
|
*
|
25
|
+
* @csspart anchor - The anchor element that wraps the buttonlink content.
|
26
|
+
* @csspart prefix-icon - The prefix icon element.
|
27
|
+
* @csspart button-text - The slot containing the buttonlink text.
|
28
|
+
* @csspart postfix-icon - The postfix icon element.
|
29
|
+
*
|
25
30
|
*/
|
26
31
|
const reactWrapper = createComponent({
|
27
32
|
tagName: TAG_NAME,
|
package/dist/react/index.d.ts
CHANGED
@@ -5,9 +5,9 @@ export { default as AlertChip } from './alertchip';
|
|
5
5
|
export { default as Animation } from './animation';
|
6
6
|
export { default as Appheader } from './appheader';
|
7
7
|
export { default as Avatar } from './avatar';
|
8
|
-
export { default as AvatarButton } from './avatarbutton';
|
9
8
|
export { default as Badge } from './badge';
|
10
9
|
export { default as Brandvisual } from './brandvisual';
|
10
|
+
export { default as AvatarButton } from './avatarbutton';
|
11
11
|
export { default as Bullet } from './bullet';
|
12
12
|
export { default as Button } from './button';
|
13
13
|
export { default as ButtonGroup } from './buttongroup';
|
@@ -23,8 +23,8 @@ export { default as Coachmark } from './coachmark';
|
|
23
23
|
export { default as Combobox } from './combobox';
|
24
24
|
export { default as Dialog } from './dialog';
|
25
25
|
export { default as Divider } from './divider';
|
26
|
-
export { default as FilterChip } from './filterchip';
|
27
26
|
export { default as FormfieldGroup } from './formfieldgroup';
|
27
|
+
export { default as FilterChip } from './filterchip';
|
28
28
|
export { default as FormfieldWrapper } from './formfieldwrapper';
|
29
29
|
export { default as Icon } from './icon';
|
30
30
|
export { default as IconProvider } from './iconprovider';
|
@@ -77,6 +77,6 @@ export { default as ThemeProvider } from './themeprovider';
|
|
77
77
|
export { default as Toast } from './toast';
|
78
78
|
export { default as Toggle } from './toggle';
|
79
79
|
export { default as ToggleTip } from './toggletip';
|
80
|
-
export { default as Typewriter } from './typewriter';
|
81
80
|
export { default as Tooltip } from './tooltip';
|
81
|
+
export { default as Typewriter } from './typewriter';
|
82
82
|
export { default as VirtualizedList } from './virtualizedlist';
|
package/dist/react/index.js
CHANGED
@@ -5,9 +5,9 @@ export { default as AlertChip } from './alertchip';
|
|
5
5
|
export { default as Animation } from './animation';
|
6
6
|
export { default as Appheader } from './appheader';
|
7
7
|
export { default as Avatar } from './avatar';
|
8
|
-
export { default as AvatarButton } from './avatarbutton';
|
9
8
|
export { default as Badge } from './badge';
|
10
9
|
export { default as Brandvisual } from './brandvisual';
|
10
|
+
export { default as AvatarButton } from './avatarbutton';
|
11
11
|
export { default as Bullet } from './bullet';
|
12
12
|
export { default as Button } from './button';
|
13
13
|
export { default as ButtonGroup } from './buttongroup';
|
@@ -23,8 +23,8 @@ export { default as Coachmark } from './coachmark';
|
|
23
23
|
export { default as Combobox } from './combobox';
|
24
24
|
export { default as Dialog } from './dialog';
|
25
25
|
export { default as Divider } from './divider';
|
26
|
-
export { default as FilterChip } from './filterchip';
|
27
26
|
export { default as FormfieldGroup } from './formfieldgroup';
|
27
|
+
export { default as FilterChip } from './filterchip';
|
28
28
|
export { default as FormfieldWrapper } from './formfieldwrapper';
|
29
29
|
export { default as Icon } from './icon';
|
30
30
|
export { default as IconProvider } from './iconprovider';
|
@@ -77,6 +77,6 @@ export { default as ThemeProvider } from './themeprovider';
|
|
77
77
|
export { default as Toast } from './toast';
|
78
78
|
export { default as Toggle } from './toggle';
|
79
79
|
export { default as ToggleTip } from './toggletip';
|
80
|
-
export { default as Typewriter } from './typewriter';
|
81
80
|
export { default as Tooltip } from './tooltip';
|
81
|
+
export { default as Typewriter } from './typewriter';
|
82
82
|
export { default as VirtualizedList } from './virtualizedlist';
|
@@ -17,6 +17,9 @@ import Component from '../../components/link';
|
|
17
17
|
* @event keydown - (React: onKeyDown) Fired when the user presses a key while the Link has focus.
|
18
18
|
* @event focus - (React: onFocus) Fired when the Link receives keyboard or mouse focus.
|
19
19
|
* @event blur - (React: onBlur) Fired when the Link loses keyboard or mouse focus.
|
20
|
+
*
|
21
|
+
* @csspart anchor - The anchor element that wraps the link content.
|
22
|
+
* @csspart icon - The icon element.
|
20
23
|
*/
|
21
24
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
22
25
|
onClick: EventName<import("../../utils/types").OverrideEventTarget<MouseEvent, import("../../components/linksimple/linksimple.component").default>>;
|
package/dist/react/link/index.js
CHANGED
@@ -19,6 +19,9 @@ import { TAG_NAME } from '../../components/link/link.constants';
|
|
19
19
|
* @event keydown - (React: onKeyDown) Fired when the user presses a key while the Link has focus.
|
20
20
|
* @event focus - (React: onFocus) Fired when the Link receives keyboard or mouse focus.
|
21
21
|
* @event blur - (React: onBlur) Fired when the Link loses keyboard or mouse focus.
|
22
|
+
*
|
23
|
+
* @csspart anchor - The anchor element that wraps the link content.
|
24
|
+
* @csspart icon - The icon element.
|
22
25
|
*/
|
23
26
|
const reactWrapper = createComponent({
|
24
27
|
tagName: TAG_NAME,
|
@@ -24,6 +24,8 @@ import Component from '../../components/linksimple';
|
|
24
24
|
* @cssproperty --mdc-link-inverted-color-disabled - Color of the inverted link’s child content in the disabled state.
|
25
25
|
* @cssproperty --mdc-link-inverted-color-hover - Color of the inverted link’s child content in the hover state.
|
26
26
|
* @cssproperty --mdc-link-inverted-color-normal - Color of the inverted link’s child content in the normal state.
|
27
|
+
*
|
28
|
+
* @csspart anchor - The anchor element that wraps the linksimple content.
|
27
29
|
*/
|
28
30
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
|
29
31
|
onClick: EventName<import("../../utils/types").OverrideEventTarget<MouseEvent, Component>>;
|
@@ -26,6 +26,8 @@ import { TAG_NAME } from '../../components/linksimple/linksimple.constants';
|
|
26
26
|
* @cssproperty --mdc-link-inverted-color-disabled - Color of the inverted link’s child content in the disabled state.
|
27
27
|
* @cssproperty --mdc-link-inverted-color-hover - Color of the inverted link’s child content in the hover state.
|
28
28
|
* @cssproperty --mdc-link-inverted-color-normal - Color of the inverted link’s child content in the normal state.
|
29
|
+
*
|
30
|
+
* @csspart anchor - The anchor element that wraps the linksimple content.
|
29
31
|
*/
|
30
32
|
const reactWrapper = createComponent({
|
31
33
|
tagName: TAG_NAME,
|