@modular-component/default 0.1.3 → 0.1.5

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,21 @@
1
1
  # @modular-component/default
2
2
 
3
+ ## 0.1.5
4
+
5
+ ### Patch Changes
6
+
7
+ - @modular-component/with-default-props@0.1.5
8
+ - @modular-component/with-lifecycle@0.1.5
9
+
10
+ ## 0.1.4
11
+
12
+ ### Patch Changes
13
+
14
+ - 820a836: Refactor tuple system for better typescript performance
15
+ - Updated dependencies [820a836]
16
+ - @modular-component/with-default-props@0.1.4
17
+ - @modular-component/with-lifecycle@0.1.4
18
+
3
19
  ## 0.1.3
4
20
 
5
21
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -1,13 +1,4 @@
1
- export declare const WithDefaultStages: {
2
- withLifecycle: {
3
- readonly field: "lifecycle";
4
- };
5
- withDefaultProps: {
6
- readonly field: "props";
7
- readonly transform: <A extends {
8
- props: {};
9
- }, P>(args: A, props: P) => any;
10
- readonly restrict: Record<string, unknown>;
11
- };
12
- };
1
+ import { WithDefaultProps } from '@modular-component/with-default-props';
2
+ import { WithLifecycle } from '@modular-component/with-lifecycle';
3
+ export declare const WithDefaultStages: typeof WithDefaultProps & typeof WithLifecycle;
13
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB;;;;;;;;;;;CAG7B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAA;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAA;AAEjE,eAAO,MAAM,iBAAiB,EAAE,OAAO,gBAAgB,GAAG,OAAO,aAI9D,CAAA"}
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAA;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAA;AAEjE,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,GAAG,gBAAgB;IACnB,GAAG,aAAa;CACjB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAA;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAA;AAEjE,MAAM,CAAC,MAAM,iBAAiB,GAC5B;IACE,GAAG,gBAAgB;IACnB,GAAG,aAAa;CACjB,CAAA"}
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "Default",
9
9
  "Lifecycle"
10
10
  ],
11
- "version": "0.1.3",
11
+ "version": "0.1.5",
12
12
  "type": "module",
13
13
  "license": "MIT",
14
14
  "publishConfig": {
@@ -27,8 +27,8 @@
27
27
  "license": "cp ../../LICENSE ./LICENSE"
28
28
  },
29
29
  "dependencies": {
30
- "@modular-component/with-default-props": "0.1.3",
31
- "@modular-component/with-lifecycle": "0.1.3"
30
+ "@modular-component/with-default-props": "0.1.5",
31
+ "@modular-component/with-lifecycle": "0.1.5"
32
32
  },
33
33
  "devDependencies": {
34
34
  "typescript": "^4.6.4"
package/src/index.ts CHANGED
@@ -1,7 +1,8 @@
1
1
  import { WithDefaultProps } from '@modular-component/with-default-props'
2
2
  import { WithLifecycle } from '@modular-component/with-lifecycle'
3
3
 
4
- export const WithDefaultStages = {
5
- ...WithDefaultProps,
6
- ...WithLifecycle,
7
- }
4
+ export const WithDefaultStages: typeof WithDefaultProps & typeof WithLifecycle =
5
+ {
6
+ ...WithDefaultProps,
7
+ ...WithLifecycle,
8
+ }