@momentum-design/components 0.16.19 → 0.16.20
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 +46 -96
- package/dist/browser/index.js.map +4 -4
- package/dist/components/avatarbutton/avatarbutton.component.d.ts +1 -1
- package/dist/components/avatarbutton/avatarbutton.component.js +1 -1
- package/dist/components/button/button.component.d.ts +1 -1
- package/dist/components/button/button.component.js +1 -1
- package/dist/custom-elements.json +2 -2
- package/dist/index.d.ts +1 -3
- package/dist/index.js +1 -3
- package/package.json +1 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
import { CSSResult, PropertyValueMap } from 'lit';
|
2
|
-
import Buttonsimple from '../buttonsimple';
|
2
|
+
import Buttonsimple from '../buttonsimple/buttonsimple.component';
|
3
3
|
declare const AvatarButton_base: import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/AvatarComponentMixin").AvatarComponentMixinInterface> & typeof Buttonsimple;
|
4
4
|
/**
|
5
5
|
* The `mdc-avatarbutton` component is an interactable version of the `mdc-avatar` component.
|
@@ -13,7 +13,7 @@ import { ifDefined } from 'lit/directives/if-defined.js';
|
|
13
13
|
import { AvatarComponentMixin } from '../../utils/mixins/AvatarComponentMixin';
|
14
14
|
import { AVATAR_SIZE, DEFAULTS } from '../avatar/avatar.constants';
|
15
15
|
import { DEFAULTS as BUTTON_DEFAULTS } from '../button/button.constants';
|
16
|
-
import Buttonsimple from '../buttonsimple';
|
16
|
+
import Buttonsimple from '../buttonsimple/buttonsimple.component';
|
17
17
|
import styles from './avatarbutton.styles';
|
18
18
|
/**
|
19
19
|
* The `mdc-avatarbutton` component is an interactable version of the `mdc-avatar` component.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { CSSResult, PropertyValueMap } from 'lit';
|
2
2
|
import type { ButtonColor, ButtonVariant, PillButtonSize, IconButtonSize } from './button.types';
|
3
|
-
import Buttonsimple from '../buttonsimple';
|
3
|
+
import Buttonsimple from '../buttonsimple/buttonsimple.component';
|
4
4
|
/**
|
5
5
|
* `mdc-button` is a component that can be configured in various ways to suit different use cases.
|
6
6
|
*
|
@@ -12,7 +12,7 @@ import { property, state } from 'lit/decorators.js';
|
|
12
12
|
import styles from './button.styles';
|
13
13
|
import { BUTTON_COLORS, BUTTON_TYPE_INTERNAL, BUTTON_VARIANTS, DEFAULTS, ICON_BUTTON_SIZES, PILL_BUTTON_SIZES, } from './button.constants';
|
14
14
|
import { getIconNameWithoutStyle, getIconSize } from './button.utils';
|
15
|
-
import Buttonsimple from '../buttonsimple';
|
15
|
+
import Buttonsimple from '../buttonsimple/buttonsimple.component';
|
16
16
|
/**
|
17
17
|
* `mdc-button` is a component that can be configured in various ways to suit different use cases.
|
18
18
|
*
|
@@ -771,7 +771,7 @@
|
|
771
771
|
],
|
772
772
|
"superclass": {
|
773
773
|
"name": "Buttonsimple",
|
774
|
-
"module": "/src/components/buttonsimple"
|
774
|
+
"module": "/src/components/buttonsimple/buttonsimple.component"
|
775
775
|
},
|
776
776
|
"tagName": "mdc-avatarbutton",
|
777
777
|
"jsDoc": "/**\n * The `mdc-avatarbutton` component is an interactable version of the `mdc-avatar` component.\n *\n * This component is made by extending `buttonsimple` class.\n * The button component acts as a wrapper for the avatar component.\n *\n * @dependency mdc-avatar\n *\n * @tagname mdc-avatarbutton\n */",
|
@@ -1615,7 +1615,7 @@
|
|
1615
1615
|
],
|
1616
1616
|
"superclass": {
|
1617
1617
|
"name": "Buttonsimple",
|
1618
|
-
"module": "/src/components/buttonsimple"
|
1618
|
+
"module": "/src/components/buttonsimple/buttonsimple.component"
|
1619
1619
|
},
|
1620
1620
|
"tagName": "mdc-button",
|
1621
1621
|
"jsDoc": "/**\n * `mdc-button` is a component that can be configured in various ways to suit different use cases.\n *\n * Button Variants:\n * - **Primary**: Solid background color.\n * - **Secondary**: Transparent background with a solid border.\n * - **Tertiary**: No background or border, appears as plain text but retains all button functionalities.\n *\n * Button Colors:\n * - **Positive**: Green color.\n * - **Negative**: Red color.\n * - **Accent**: Blue color.\n * - **Promotional**: Purple color.\n * - **Default**: White color.\n *\n * Button Sizes (in REM units):\n * - **Pill button**: 40, 32, 28, 24.\n * - **Icon button**: 64, 52, 40, 32, 28, 24.\n * - **Tertiary icon button**: 20.\n *\n * Button Types:\n * - **Pill button**: A button that contains text value. Commonly used for call to action, tags, or filters.\n * - **Pill button with icons**: A button containing an icon either on the left or right side of the button.\n * - **Icon button**: A button represented by just an icon without any text.\n * The type of button is inferred based on the presence of slot and/or prefix and postfix icons.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-button\n *\n * @slot - Text label of the button.\n */",
|
package/dist/index.d.ts
CHANGED
@@ -9,10 +9,8 @@ import Button from './components/button';
|
|
9
9
|
import Bullet from './components/bullet';
|
10
10
|
import Marker from './components/marker';
|
11
11
|
import Divider from './components/divider';
|
12
|
-
import Modalcontainer from './components/modalcontainer';
|
13
|
-
import Buttonsimple from './components/buttonsimple';
|
14
12
|
import Avatarbutton from './components/avatarbutton';
|
15
13
|
import Link from './components/link';
|
16
14
|
import type { TextType } from './components/text/text.types';
|
17
|
-
export { ThemeProvider, Icon, IconProvider, Avatar, Badge, Presence, Text, Button, Bullet, Marker, Divider,
|
15
|
+
export { ThemeProvider, Icon, IconProvider, Avatar, Badge, Presence, Text, Button, Bullet, Marker, Divider, Avatarbutton, Link, };
|
18
16
|
export type { TextType, };
|
package/dist/index.js
CHANGED
@@ -9,8 +9,6 @@ import Button from './components/button';
|
|
9
9
|
import Bullet from './components/bullet';
|
10
10
|
import Marker from './components/marker';
|
11
11
|
import Divider from './components/divider';
|
12
|
-
import Modalcontainer from './components/modalcontainer';
|
13
|
-
import Buttonsimple from './components/buttonsimple';
|
14
12
|
import Avatarbutton from './components/avatarbutton';
|
15
13
|
import Link from './components/link';
|
16
|
-
export { ThemeProvider, Icon, IconProvider, Avatar, Badge, Presence, Text, Button, Bullet, Marker, Divider,
|
14
|
+
export { ThemeProvider, Icon, IconProvider, Avatar, Badge, Presence, Text, Button, Bullet, Marker, Divider, Avatarbutton, Link, };
|
package/package.json
CHANGED