@justeattakeaway/pie-icon-button 0.28.7 → 0.28.9
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/README.md +3 -5
- package/dist/index.d.ts +2 -2
- package/dist/react.d.ts +2 -2
- package/package.json +4 -4
- package/src/defs.ts +2 -2
package/README.md
CHANGED
|
@@ -20,16 +20,14 @@ This component can be easily integrated into various frontend frameworks and cus
|
|
|
20
20
|
To install `pie-icon-button` in your application, run the following on your command line:
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
|
-
|
|
24
|
-
$ npm i @justeattakeaway/pie-icon-button
|
|
23
|
+
npm i @justeattakeaway/pie-icon-button
|
|
25
24
|
|
|
26
|
-
|
|
27
|
-
$ yarn add @justeattakeaway/pie-icon-button
|
|
25
|
+
yarn add @justeattakeaway/pie-icon-button
|
|
28
26
|
```
|
|
29
27
|
|
|
30
28
|
## Documentation
|
|
31
29
|
|
|
32
|
-
Visit [Icon Button | PIE Design System](https://pie.design/components/icon-button
|
|
30
|
+
Visit [Icon Button | PIE Design System](https://pie.design/components/icon-button) to view more information on this component.
|
|
33
31
|
|
|
34
32
|
## Questions
|
|
35
33
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ComponentDefaultProps } from '@justeattakeaway/pie-webc-core';
|
|
2
2
|
import type { CSSResult } from 'lit';
|
|
3
3
|
import type { LitElement } from 'lit';
|
|
4
4
|
import type { TemplateResult } from 'lit';
|
|
5
5
|
|
|
6
|
-
export declare type DefaultProps =
|
|
6
|
+
export declare type DefaultProps = ComponentDefaultProps<IconButtonProps>;
|
|
7
7
|
|
|
8
8
|
export declare const defaultProps: DefaultProps;
|
|
9
9
|
|
package/dist/react.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ComponentDefaultProps } from '@justeattakeaway/pie-webc-core';
|
|
2
2
|
import type { CSSResult } from 'lit';
|
|
3
3
|
import type { LitElement } from 'lit';
|
|
4
4
|
import * as React_2 from 'react';
|
|
5
5
|
import type { TemplateResult } from 'lit';
|
|
6
6
|
|
|
7
|
-
export declare type DefaultProps =
|
|
7
|
+
export declare type DefaultProps = ComponentDefaultProps<IconButtonProps>;
|
|
8
8
|
|
|
9
9
|
export declare const defaultProps: DefaultProps;
|
|
10
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justeattakeaway/pie-icon-button",
|
|
3
|
-
"version": "0.28.
|
|
3
|
+
"version": "0.28.9",
|
|
4
4
|
"description": "PIE Design System Icon Button built using Web Components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"cem-plugin-module-file-extensions": "0.0.5"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@justeattakeaway/pie-icons-webc": "0.24.
|
|
43
|
-
"@justeattakeaway/pie-spinner": "0.6.
|
|
44
|
-
"@justeattakeaway/pie-webc-core": "0.
|
|
42
|
+
"@justeattakeaway/pie-icons-webc": "0.24.2",
|
|
43
|
+
"@justeattakeaway/pie-spinner": "0.6.6",
|
|
44
|
+
"@justeattakeaway/pie-webc-core": "0.24.0"
|
|
45
45
|
},
|
|
46
46
|
"volta": {
|
|
47
47
|
"extends": "../../../package.json"
|
package/src/defs.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type ComponentDefaultProps } from '@justeattakeaway/pie-webc-core';
|
|
2
2
|
|
|
3
3
|
export const sizes = ['xsmall', 'small', 'medium', 'large'] as const;
|
|
4
4
|
export const variants = ['primary', 'secondary', 'outline', 'ghost',
|
|
@@ -27,7 +27,7 @@ export interface IconButtonProps {
|
|
|
27
27
|
isLoading?: boolean;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
export type DefaultProps =
|
|
30
|
+
export type DefaultProps = ComponentDefaultProps<IconButtonProps>;
|
|
31
31
|
|
|
32
32
|
export const defaultProps: DefaultProps = {
|
|
33
33
|
size: 'medium',
|