@justeattakeaway/pie-icons-webc 0.8.1 → 0.10.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.
Files changed (3) hide show
  1. package/README.md +6 -2
  2. package/package.json +7 -7
  3. package/LICENSE +0 -17
package/README.md CHANGED
@@ -63,7 +63,11 @@ function renderIcon() {
63
63
  document.body.appendChild(iconElement);
64
64
  }
65
65
  ```
66
- 4. Importing individual icons from the main package entry point (not recommended)
66
+
67
+
68
+ > [!WARNING]
69
+ > While it is also possible to import individual components from the overall bundle, we don't recommend this because
70
+ > it is likely that the import will be tree-shaken unless you are referencing the imported object in your code.
67
71
 
68
72
  ```js
69
73
  // Not recommended - Webpack v4+ or Rollup should treeshake but be careful
@@ -127,7 +131,7 @@ If you can't use a tree-shaking compatible build tool, then you can use the per-
127
131
 
128
132
  ### Browser Support
129
133
 
130
- The component extends [@justeat/browserslist-config-fozzie](https://github.com/justeat/browserslist-config-fozzie) package for the list of browsers to support.
134
+ The component extends [@justeattakeaway/browserslist-config-pie](https://github.com/justeattakeaway/pie/tree/main/packages/tools/browserslist-config-pie) package for the list of browsers to support.
131
135
 
132
136
 
133
137
  ## Contributing
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-icons-webc",
3
- "version": "0.8.1",
3
+ "version": "0.10.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -51,15 +51,15 @@
51
51
  "test:ci": "yarn test"
52
52
  },
53
53
  "browserslist": [
54
- "extends @justeat/browserslist-config-fozzie"
54
+ "extends @justeattakeaway/browserslist-config-pie"
55
55
  ],
56
56
  "devDependencies": {
57
- "@babel/core": "7.22.17",
57
+ "@babel/core": "7.23.0",
58
58
  "@babel/node": "7.20.7",
59
- "@justeattakeaway/pie-icons": "4.9.1",
60
- "@justeattakeaway/pie-icons-configs": "workspace:*",
61
- "@justeattakeaway/pie-webc-core": "0.9.0",
62
- "@rollup/plugin-typescript": "11.1.3",
59
+ "@justeattakeaway/pie-icons": "4.9.2",
60
+ "@justeattakeaway/pie-icons-configs": "4.5.0",
61
+ "@justeattakeaway/pie-webc-core": "0.10.0",
62
+ "@rollup/plugin-typescript": "11.1.5",
63
63
  "just-kebab-case": "4.2.0",
64
64
  "just-pascal-case": "3.2.0",
65
65
  "lit": "2.7.5",
package/LICENSE DELETED
@@ -1,17 +0,0 @@
1
- Apache License
2
- Version 2.0, January 2004
3
- http://www.apache.org/licenses/
4
-
5
- Copyright (c) Just Eat Takeaway.com
6
-
7
- Licensed under the Apache License, Version 2.0 (the "License");
8
- you may not use this file except in compliance with the License.
9
- You may obtain a copy of the License at
10
-
11
- http://www.apache.org/licenses/LICENSE-2.0
12
-
13
- Unless required by applicable law or agreed to in writing, software
14
- distributed under the License is distributed on an "AS IS" BASIS,
15
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- See the License for the specific language governing permissions and
17
- limitations under the License.