@justeattakeaway/pie-icon-button 0.7.0 → 0.8.0

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.
@@ -1,4 +1,4 @@
1
- [11:02:00 AM] @custom-elements-manifest/analyzer: Created new manifest.
1
+ [13:51:03] @custom-elements-manifest/analyzer: Created new manifest.
2
2
  react wrapper has been added!
3
3
  vite v4.3.9 building for production...
4
4
  transforming...
@@ -7,14 +7,8 @@ rendering chunks...
7
7
  computing gzip size...
8
8
  dist/index.js  8.63 kB │ gzip: 2.50 kB
9
9
  dist/react.js 59.03 kB │ gzip: 15.92 kB
10
- 
11
- [vite:dts] Start generate declaration files...
12
- src/index.ts:4:32 - error TS7016: Could not find a declaration file for module '@justeattakeaway/pie-icons-webc'. '/home/runner/work/pie/pie/packages/tools/pie-icons-webc/icons/index.js' implicitly has an 'any' type.
13
- Try `npm i --save-dev @types/justeattakeaway__pie-icons-webc` if it exists or add a new declaration (.d.ts) file containing `declare module '@justeattakeaway/pie-icons-webc';`
14
10
 
15
- 4 import { IconCloseLarge } from '@justeattakeaway/pie-icons-webc';
16
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11
+ [vite:dts] Start generate declaration files...
12
+ ✓ built in 5.30s
13
+ [vite:dts] Declaration files built in 3770ms.
17
14
 
18
- ✓ built in 23.45s
19
- [vite:dts] Declaration files built in 18363ms.
20
- 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @justeattakeaway/pie-icon-button
2
2
 
3
+ ## 0.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [Changed] - Set all component props to public ([#597](https://github.com/justeattakeaway/pie/pull/597)) by [@jamieomaguire](https://github.com/jamieomaguire)
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [[`816909e55`](https://github.com/justeattakeaway/pie/commit/816909e55f464fd191fa8a54e3407b8fbd0cdc29), [`816909e55`](https://github.com/justeattakeaway/pie/commit/816909e55f464fd191fa8a54e3407b8fbd0cdc29), [`816909e55`](https://github.com/justeattakeaway/pie/commit/816909e55f464fd191fa8a54e3407b8fbd0cdc29)]:
12
+ - @justeattakeaway/pie-icons-webc@0.2.0
13
+
3
14
  ## 0.7.0
4
15
 
5
16
  ### Minor Changes
package/declaration.d.ts CHANGED
@@ -7,3 +7,5 @@ declare module '*.scss?inline' {
7
7
  const content: Record<string, string>;
8
8
  export default content;
9
9
  }
10
+
11
+ declare module '@justeattakeaway/pie-icons-webc';
package/dist/index.js CHANGED
File without changes
package/dist/react.js CHANGED
File without changes
File without changes
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAmB,MAAM,KAAK,CAAC;AAGlD,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAGjE,OAAO,EACH,eAAe,EAAE,KAAK,EAAE,QAAQ,EACnC,MAAM,QAAQ,CAAC;AAGhB,OAAO,EAAE,KAAK,eAAe,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,CAAC;AAE1B,QAAA,MAAM,iBAAiB,oBAAoB,CAAC;AAE5C,qBAAa,aAAc,SAAQ,UAAU;IAGrC,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAY;IAIzC,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,CAAa;IAGhD,QAAQ,UAAS;IAErB,MAAM;IAiBN,MAAM,CAAC,MAAM,0BAAqB;CACrC;AAID,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,CAAC,iBAAiB,CAAC,EAAE,aAAa,CAAC;KACtC;CACJ"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAmB,MAAM,KAAK,CAAC;AAGlD,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAGjE,OAAO,EACH,eAAe,EAAE,KAAK,EAAE,QAAQ,EACnC,MAAM,QAAQ,CAAC;AAGhB,OAAO,EAAE,KAAK,eAAe,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,CAAC;AAE1B,QAAA,MAAM,iBAAiB,oBAAoB,CAAC;AAE5C,qBAAa,aAAc,SAAQ,UAAU;IAGlC,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAY;IAIzC,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,CAAa;IAGhD,QAAQ,UAAS;IAExB,MAAM;IAiBN,MAAM,CAAC,MAAM,0BAAqB;CACrC;AAID,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,CAAC,iBAAiB,CAAC,EAAE,aAAa,CAAC;KACtC;CACJ"}
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-icon-button",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "PIE Design System Icon Button built using Web Components",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
package/src/index.ts CHANGED
@@ -17,14 +17,14 @@ const componentSelector = 'pie-icon-button';
17
17
  export class PieIconButton extends LitElement {
18
18
  @property()
19
19
  @validPropertyValues(componentSelector, sizes, 'medium')
20
- size: IconButtonProps['size'] = 'medium';
20
+ public size: IconButtonProps['size'] = 'medium';
21
21
 
22
22
  @property()
23
23
  @validPropertyValues(componentSelector, variants, 'primary')
24
- variant: IconButtonProps['variant'] = 'primary';
24
+ public variant: IconButtonProps['variant'] = 'primary';
25
25
 
26
26
  @property({ type: Boolean })
27
- disabled = false;
27
+ public disabled = false;
28
28
 
29
29
  render () {
30
30
  const {