@momentum-design/components 0.15.2 → 0.15.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 +93 -55
- package/dist/browser/index.js.map +4 -4
- package/dist/components/button/button.component.d.ts +3 -91
- package/dist/components/button/button.component.js +4 -175
- package/dist/components/button/button.constants.d.ts +1 -5
- package/dist/components/button/button.constants.js +1 -5
- package/dist/components/button/button.styles.d.ts +2 -2
- package/dist/components/button/button.styles.js +4 -25
- package/dist/components/button/button.types.d.ts +2 -3
- package/dist/components/buttonsimple/buttonsimple.component.d.ts +126 -0
- package/dist/components/buttonsimple/buttonsimple.component.js +240 -0
- package/dist/components/buttonsimple/buttonsimple.constants.d.ts +25 -0
- package/dist/components/buttonsimple/buttonsimple.constants.js +26 -0
- package/dist/components/buttonsimple/buttonsimple.styles.d.ts +2 -0
- package/dist/components/buttonsimple/buttonsimple.styles.js +60 -0
- package/dist/components/buttonsimple/buttonsimple.types.d.ts +5 -0
- package/dist/components/buttonsimple/buttonsimple.types.js +1 -0
- package/dist/components/buttonsimple/index.d.ts +7 -0
- package/dist/components/buttonsimple/index.js +4 -0
- package/dist/custom-elements.json +560 -206
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/react/buttonsimple/index.d.ts +11 -0
- package/dist/react/buttonsimple/index.js +20 -0
- package/dist/react/index.d.ts +2 -1
- package/dist/react/index.js +2 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -9,6 +9,7 @@ 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 Buttonsimple from './components/buttonsimple';
|
12
13
|
import type { TextType } from './components/text/text.types';
|
13
|
-
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, Buttonsimple, };
|
14
15
|
export type { TextType, };
|
package/dist/index.js
CHANGED
@@ -9,4 +9,5 @@ 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
|
-
|
12
|
+
import Buttonsimple from './components/buttonsimple';
|
13
|
+
export { ThemeProvider, Icon, IconProvider, Avatar, Badge, Presence, Text, Button, Bullet, Marker, Divider, Buttonsimple, };
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import Component from '../../components/buttonsimple';
|
2
|
+
/**
|
3
|
+
* `mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.
|
4
|
+
* It is used as an internal component and is not intended to be used directly by consumers.
|
5
|
+
* Consumers should use the `mdc-button` component instead.
|
6
|
+
*
|
7
|
+
* @tagname mdc-buttonsimple
|
8
|
+
*
|
9
|
+
*/
|
10
|
+
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {}>;
|
11
|
+
export default reactWrapper;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { createComponent } from '@lit/react';
|
3
|
+
import Component from '../../components/buttonsimple';
|
4
|
+
import { TAG_NAME } from '../../components/buttonsimple/buttonsimple.constants';
|
5
|
+
/**
|
6
|
+
* `mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.
|
7
|
+
* It is used as an internal component and is not intended to be used directly by consumers.
|
8
|
+
* Consumers should use the `mdc-button` component instead.
|
9
|
+
*
|
10
|
+
* @tagname mdc-buttonsimple
|
11
|
+
*
|
12
|
+
*/
|
13
|
+
const reactWrapper = createComponent({
|
14
|
+
tagName: TAG_NAME,
|
15
|
+
elementClass: Component,
|
16
|
+
react: React,
|
17
|
+
events: {},
|
18
|
+
displayName: 'Buttonsimple',
|
19
|
+
});
|
20
|
+
export default reactWrapper;
|
package/dist/react/index.d.ts
CHANGED
@@ -2,10 +2,11 @@ export { default as Avatar } from './avatar';
|
|
2
2
|
export { default as Badge } from './badge';
|
3
3
|
export { default as Bullet } from './bullet';
|
4
4
|
export { default as Button } from './button';
|
5
|
+
export { default as Buttonsimple } from './buttonsimple';
|
5
6
|
export { default as Divider } from './divider';
|
6
7
|
export { default as Icon } from './icon';
|
7
|
-
export { default as IconProvider } from './iconprovider';
|
8
8
|
export { default as Marker } from './marker';
|
9
|
+
export { default as IconProvider } from './iconprovider';
|
9
10
|
export { default as Presence } from './presence';
|
10
11
|
export { default as Text } from './text';
|
11
12
|
export { default as ThemeProvider } from './themeprovider';
|
package/dist/react/index.js
CHANGED
@@ -2,10 +2,11 @@ export { default as Avatar } from './avatar';
|
|
2
2
|
export { default as Badge } from './badge';
|
3
3
|
export { default as Bullet } from './bullet';
|
4
4
|
export { default as Button } from './button';
|
5
|
+
export { default as Buttonsimple } from './buttonsimple';
|
5
6
|
export { default as Divider } from './divider';
|
6
7
|
export { default as Icon } from './icon';
|
7
|
-
export { default as IconProvider } from './iconprovider';
|
8
8
|
export { default as Marker } from './marker';
|
9
|
+
export { default as IconProvider } from './iconprovider';
|
9
10
|
export { default as Presence } from './presence';
|
10
11
|
export { default as Text } from './text';
|
11
12
|
export { default as ThemeProvider } from './themeprovider';
|
package/package.json
CHANGED