@justeattakeaway/pie-button 0.12.0 → 0.12.2

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.
@@ -6,6 +6,6 @@ computing gzip size...
6
6
  dist/index.js 4.32 kB │ gzip: 1.65 kB
7
7
  
8
8
  [vite:dts] Start generate declaration files...
9
- ✓ built in 19.30s
10
- [vite:dts] Declaration files built in 18529ms.
9
+ ✓ built in 24.29s
10
+ [vite:dts] Declaration files built in 23021ms.
11
11
  
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.12.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`1f79d9d1a`](https://github.com/justeattakeaway/pie/commit/1f79d9d1a6fe9160b244e82d956290136b87187b)]:
8
+ - @justeattakeaway/pie-webc-core@0.1.0
9
+
10
+ ## 0.12.1
11
+
12
+ ### Patch Changes
13
+
14
+ - [Changed] - Added missing newline at the end of tsconfig.json ([#439](https://github.com/justeattakeaway/pie/pull/439)) by [@fernandofranca](https://github.com/fernandofranca)
15
+
16
+ [Changed] - Updated README.md
17
+ [Removed] - Removed npm `dev` script
18
+
3
19
  ## 0.12.0
4
20
 
5
21
  ### Minor Changes
package/README.md CHANGED
@@ -40,15 +40,11 @@ cd packages/components/pie-button
40
40
  yarn build
41
41
  ```
42
42
 
43
- compile using Vite (auto-compiles `dist` on save)
43
+ Compile and watch for changes (auto-compiles `dist` on save)
44
44
  ```
45
45
  yarn watch
46
46
  ```
47
47
 
48
- Local dev server using Vite (with hot module reloading)
49
- ```
50
- yarn dev
51
- ```
52
48
  ## Props
53
49
 
54
50
  | Property | Type | Default | Description |
@@ -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;AAEpD,qBACa,SAAU,SAAQ,UAAU;IAGjC,IAAI,EAAG,WAAW,CAAsB;IAIxC,IAAI,EAAG,WAAW,CAAsB;IAIxC,OAAO,EAAG,cAAc,CAA0B;IAGlD,QAAQ,UAAS;IAGjB,WAAW,UAAS;IAExB,MAAM;IAwBN,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;AAKlD,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAGlE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC;AAEpD,qBACa,SAAU,SAAQ,UAAU;IAGjC,IAAI,EAAG,WAAW,CAAsB;IAIxC,IAAI,EAAG,WAAW,CAAsB;IAIxC,OAAO,EAAG,cAAc,CAA0B;IAGlD,QAAQ,UAAS;IAGjB,WAAW,UAAS;IAExB,MAAM;IAwBN,MAAM,CAAC,MAAM,0BAAqB;CACrC;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,YAAY,EAAE,SAAS,CAAC;KAC3B;CACJ"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-button",
3
- "version": "0.12.0",
3
+ "version": "0.12.2",
4
4
  "description": "PIE design system button built using web components",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -9,7 +9,6 @@
9
9
  "scripts": {
10
10
  "build": "run -T vite build",
11
11
  "watch": "run -T vite build --watch",
12
- "dev": "run -T vite",
13
12
  "test": "echo \"Error: no test specified\" && exit 0",
14
13
  "test:browsers": "npx playwright test -c ./playwright-lit.config.ts",
15
14
  "test:browsers:ci": "yarn test:browsers",
@@ -18,6 +17,9 @@
18
17
  },
19
18
  "author": "JustEatTakeaway - Design System Web Team",
20
19
  "license": "Apache-2.0",
20
+ "dependencies": {
21
+ "@justeattakeaway/pie-webc-core": "workspace:*"
22
+ },
21
23
  "volta": {
22
24
  "extends": "../../../package.json"
23
25
  }
package/src/index.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { LitElement, html, unsafeCSS } from 'lit';
2
2
  import { classMap } from 'lit/directives/class-map.js';
3
3
  import { customElement, property } from 'lit/decorators.js';
4
-
5
4
  import styles from './button.scss?inline';
6
5
  import { validPropertyValues } from './decorators';
7
6
  import { BUTTON_SIZE, BUTTON_TYPE, BUTTON_VARIANT } from './defs';
package/tsconfig.json CHANGED
@@ -27,4 +27,4 @@
27
27
  },
28
28
  "include": ["src/**/*.ts","./declaration.d.ts", "test/**/*.ts"],
29
29
  "exclude": []
30
- }
30
+ }