@justeattakeaway/pie-webc-core 0.22.0 → 0.23.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,7 +1,7 @@
1
1
  vite v4.5.3 building for production...
2
2
  transforming...
3
- ✓ 14 modules transformed.
3
+ ✓ 16 modules transformed.
4
4
  rendering chunks...
5
5
  computing gzip size...
6
6
  dist/index.js 2.66 kB │ gzip: 1.20 kB
7
- ✓ built in 148ms
7
+ ✓ built in 196ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.23.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [Added] - Generic type for components default props ([#1451](https://github.com/justeattakeaway/pie/pull/1451)) by [@fernandofranca](https://github.com/fernandofranca)
8
+
3
9
  ## 0.22.0
4
10
 
5
11
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-webc-core",
3
- "version": "0.22.0",
3
+ "version": "0.23.0",
4
4
  "description": "PIE design system base classes, mixins and utilities for web components",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
package/src/index.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from './decorators';
2
2
  export * from './functions';
3
3
  export * from './interfaces';
4
+ export * from './types';
4
5
  export * from './mixins';
@@ -0,0 +1 @@
1
+ export type ComponentDefaultPropsGeneric<T, K extends keyof T> = Readonly<Required<Pick<T, K>>>;
@@ -0,0 +1 @@
1
+ export * from './component-default-props-generic';