@justeattakeaway/pie-button 0.47.6 → 0.47.8

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 CHANGED
@@ -21,16 +21,14 @@ This component can be easily integrated into various frontend frameworks and cus
21
21
  To install `pie-button` in your application, run the following on your command line:
22
22
 
23
23
  ```bash
24
- # npm
25
- $ npm i @justeattakeaway/pie-button
24
+ npm i @justeattakeaway/pie-button
26
25
 
27
- # yarn
28
- $ yarn add @justeattakeaway/pie-button
26
+ yarn add @justeattakeaway/pie-button
29
27
  ```
30
28
 
31
29
  ## Documentation
32
30
 
33
- Visit [Button | PIE Design System](https://pie.design/components/button/overview) to view more information on this component.
31
+ Visit [Button | PIE Design System](https://pie.design/components/button) to view more information on this component.
34
32
 
35
33
  ## Questions
36
34
 
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ComponentDefaultPropsGeneric } from '@justeattakeaway/pie-webc-core';
1
+ import { ComponentDefaultProps } from '@justeattakeaway/pie-webc-core';
2
2
  import type { CSSResult } from 'lit';
3
3
  import type { FormControlInterface } from '@justeattakeaway/pie-webc-core';
4
4
  import type { GenericConstructor } from '@justeattakeaway/pie-webc-core';
@@ -83,7 +83,7 @@ export declare interface ButtonProps {
83
83
  responsiveSize?: typeof responsiveSizes[number];
84
84
  }
85
85
 
86
- export declare type DefaultProps = ComponentDefaultPropsGeneric<ButtonProps, 'size' | 'type' | 'variant' | 'iconPlacement' | 'disabled' | 'isLoading' | 'isFullWidth' | 'isResponsive'>;
86
+ export declare type DefaultProps = ComponentDefaultProps<ButtonProps, 'size' | 'type' | 'variant' | 'iconPlacement' | 'disabled' | 'isFullWidth' | 'isLoading' | 'isResponsive'>;
87
87
 
88
88
  export declare const defaultProps: DefaultProps;
89
89
 
package/dist/react.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ComponentDefaultPropsGeneric } from '@justeattakeaway/pie-webc-core';
1
+ import { ComponentDefaultProps } from '@justeattakeaway/pie-webc-core';
2
2
  import type { CSSResult } from 'lit';
3
3
  import type { FormControlInterface } from '@justeattakeaway/pie-webc-core';
4
4
  import type { GenericConstructor } from '@justeattakeaway/pie-webc-core';
@@ -84,7 +84,7 @@ export declare interface ButtonProps {
84
84
  responsiveSize?: typeof responsiveSizes[number];
85
85
  }
86
86
 
87
- export declare type DefaultProps = ComponentDefaultPropsGeneric<ButtonProps, 'size' | 'type' | 'variant' | 'iconPlacement' | 'disabled' | 'isLoading' | 'isFullWidth' | 'isResponsive'>;
87
+ export declare type DefaultProps = ComponentDefaultProps<ButtonProps, 'size' | 'type' | 'variant' | 'iconPlacement' | 'disabled' | 'isFullWidth' | 'isLoading' | 'isResponsive'>;
88
88
 
89
89
  export declare const defaultProps: DefaultProps;
90
90
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-button",
3
- "version": "0.47.6",
3
+ "version": "0.47.8",
4
4
  "description": "PIE design system button built using web components",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -37,7 +37,7 @@
37
37
  "devDependencies": {
38
38
  "@custom-elements-manifest/analyzer": "0.9.0",
39
39
  "@justeattakeaway/pie-components-config": "0.16.0",
40
- "@justeattakeaway/pie-wrapper-react": "0.14.0",
40
+ "@justeattakeaway/pie-wrapper-react": "0.14.1",
41
41
  "cem-plugin-module-file-extensions": "0.0.5"
42
42
  },
43
43
  "volta": {
@@ -48,8 +48,8 @@
48
48
  "dist/*.js"
49
49
  ],
50
50
  "dependencies": {
51
- "@justeattakeaway/pie-spinner": "0.6.5",
52
- "@justeattakeaway/pie-webc-core": "0.23.0",
51
+ "@justeattakeaway/pie-spinner": "0.6.6",
52
+ "@justeattakeaway/pie-webc-core": "0.24.0",
53
53
  "element-internals-polyfill": "1.3.11"
54
54
  }
55
55
  }
package/src/defs.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { type ComponentDefaultPropsGeneric } from '@justeattakeaway/pie-webc-core';
1
+ import { type ComponentDefaultProps } from '@justeattakeaway/pie-webc-core';
2
2
 
3
3
  export const sizes = ['xsmall', 'small-productive', 'small-expressive', 'medium', 'large'] as const;
4
4
  export const responsiveSizes = ['productive', 'expressive'] as const;
@@ -101,7 +101,7 @@ export interface ButtonProps {
101
101
  responsiveSize?: typeof responsiveSizes[number];
102
102
  }
103
103
 
104
- export type DefaultProps = ComponentDefaultPropsGeneric<ButtonProps, 'size' | 'type' | 'variant' | 'iconPlacement' | 'disabled' | 'isLoading' | 'isFullWidth' | 'isResponsive'>;
104
+ export type DefaultProps = ComponentDefaultProps<ButtonProps, 'size' | 'type' | 'variant' | 'iconPlacement' | 'disabled' | 'isFullWidth' | 'isLoading' | 'isResponsive'>;
105
105
 
106
106
  export const defaultProps: DefaultProps = {
107
107
  size: 'medium',