@justeattakeaway/pie-button 0.9.0 → 0.10.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.10.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [Fixed] - Added module entry for component
8
+
9
+ ## 0.10.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [Removed] Global declare statement ([#371](https://github.com/justeattakeaway/pie/pull/371)) by [@kevinrodrigues](https://github.com/kevinrodrigues)
14
+
3
15
  ## 0.9.0
4
16
 
5
17
  ### Minor Changes
@@ -9,9 +9,4 @@ export declare class PieButton extends LitElement {
9
9
  render(): import("lit-html").TemplateResult<1>;
10
10
  static styles: import("lit").CSSResult;
11
11
  }
12
- declare global {
13
- interface HTMLElementTagNameMap {
14
- 'pie-button': PieButton;
15
- }
16
- }
17
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAmB,MAAM,KAAK,CAAC;AAMlD,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAGlE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC;AAWpD,qBACa,SAAU,SAAQ,UAAU;IAGrC,IAAI,EAAG,WAAW,CAAsB;IAIxC,IAAI,EAAG,WAAW,CAAsB;IAIxC,OAAO,EAAG,cAAc,CAA0B;IAGlD,QAAQ,EAAG,OAAO,CAAS;IAE3B,MAAM;IA2BN,MAAM,CAAC,MAAM,0BAAqB;CACrC;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,YAAY,EAAE,SAAS,CAAC;KAC3B;CACJ"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAmB,MAAM,KAAK,CAAC;AAMlD,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAGlE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC;AAWpD,qBACa,SAAU,SAAQ,UAAU;IAGrC,IAAI,EAAG,WAAW,CAAsB;IAIxC,IAAI,EAAG,WAAW,CAAsB;IAIxC,OAAO,EAAG,cAAc,CAA0B;IAGlD,QAAQ,EAAG,OAAO,CAAS;IAE3B,MAAM;IA2BN,MAAM,CAAC,MAAM,0BAAqB;CACrC"}
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-button",
3
- "version": "0.9.0",
3
+ "version": "0.10.1",
4
4
  "description": "PIE design system button built using web components",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
+ "module": "dist/index.js",
7
8
  "types": "dist/types/index.d.ts",
8
9
  "scripts": {
9
10
  "build": "run -T vite build",
package/src/index.ts CHANGED
@@ -64,9 +64,3 @@ export class PieButton extends LitElement {
64
64
  // Renders a `CSSResult` generated from SCSS by Vite
65
65
  static styles = unsafeCSS(styles);
66
66
  }
67
-
68
- declare global {
69
- interface HTMLElementTagNameMap {
70
- 'pie-button': PieButton;
71
- }
72
- }
@@ -1,29 +0,0 @@
1
- vite v4.0.4 building for production...
2
- transforming...
3
- ✓ 4 modules transformed.
4
- rendering chunks...
5
- computing gzip size...
6
- dist/index.js 3.81 kB │ gzip: 1.60 kB
7
- 
8
- [vite:dts] Start generate declaration files...
9
- ../../../node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:3135:14 - error TS2300: Duplicate identifier 'LibraryManagedAttributes'.
10
-
11
- 3135 type LibraryManagedAttributes<C, P> = C extends React.MemoExoticComponent<infer T> | React.LazyExoticComponent<infer T>
12
-    ~~~~~~~~~~~~~~~~~~~~~~~~
13
-
14
- ../../../node_modules/@types/react/index.d.ts:3135:14
15
- 3135 type LibraryManagedAttributes<C, P> = C extends React.MemoExoticComponent<infer T> | React.LazyExoticComponent<infer T>
16
-    ~~~~~~~~~~~~~~~~~~~~~~~~
17
- 'LibraryManagedAttributes' was also declared here.
18
- ../../../node_modules/@types/react/index.d.ts:3135:14 - error TS2300: Duplicate identifier 'LibraryManagedAttributes'.
19
-
20
- 3135 type LibraryManagedAttributes<C, P> = C extends React.MemoExoticComponent<infer T> | React.LazyExoticComponent<infer T>
21
-    ~~~~~~~~~~~~~~~~~~~~~~~~
22
-
23
- ../../../node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:3135:14
24
- 3135 type LibraryManagedAttributes<C, P> = C extends React.MemoExoticComponent<infer T> | React.LazyExoticComponent<infer T>
25
-    ~~~~~~~~~~~~~~~~~~~~~~~~
26
- 'LibraryManagedAttributes' was also declared here.
27
-
28
- [vite:dts] Declaration files built in 17153ms.
29
-