@modular-component/default 0.1.6 → 0.2.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @modular-component/default
2
2
 
3
+ ## 0.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 83d453f: Rework API for better TypeScript performance and improved DX
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [83d453f]
12
+ - @modular-component/core@0.2.0
13
+ - @modular-component/with-default-props@0.2.0
14
+ - @modular-component/with-lifecycle@0.2.0
15
+
16
+ ## 0.1.7
17
+
18
+ ### Patch Changes
19
+
20
+ - @modular-component/with-default-props@0.1.7
21
+ - @modular-component/with-lifecycle@0.1.7
22
+
3
23
  ## 0.1.6
4
24
 
5
25
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
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;
1
+ export { render } from '@modular-component/core';
2
+ export { defaultProps } from '@modular-component/with-default-props';
3
+ export { lifecycle } from '@modular-component/with-lifecycle';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAA;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAA"}
package/dist/index.js CHANGED
@@ -1,7 +1,4 @@
1
- import { WithDefaultProps } from '@modular-component/with-default-props';
2
- import { WithLifecycle } from '@modular-component/with-lifecycle';
3
- export const WithDefaultStages = {
4
- ...WithDefaultProps,
5
- ...WithLifecycle,
6
- };
1
+ export { render } from '@modular-component/core';
2
+ export { defaultProps } from '@modular-component/with-default-props';
3
+ export { lifecycle } from '@modular-component/with-lifecycle';
7
4
  //# sourceMappingURL=index.js.map
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,GAC5B;IACE,GAAG,gBAAgB;IACnB,GAAG,aAAa;CACjB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAA;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAA"}
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "Default",
9
9
  "Lifecycle"
10
10
  ],
11
- "version": "0.1.6",
11
+ "version": "0.2.0",
12
12
  "type": "module",
13
13
  "license": "MIT",
14
14
  "publishConfig": {
@@ -27,11 +27,12 @@
27
27
  "license": "cp ../../LICENSE ./LICENSE"
28
28
  },
29
29
  "dependencies": {
30
- "@modular-component/with-default-props": "0.1.6",
31
- "@modular-component/with-lifecycle": "0.1.6"
30
+ "@modular-component/core": "0.2.0",
31
+ "@modular-component/with-default-props": "0.2.0",
32
+ "@modular-component/with-lifecycle": "0.2.0"
32
33
  },
33
34
  "devDependencies": {
34
- "typescript": "^4.6.4"
35
+ "typescript": "^5.2.2"
35
36
  },
36
37
  "main": "dist/index.js",
37
38
  "types": "dist/index.d.ts"
package/src/index.ts CHANGED
@@ -1,8 +1,3 @@
1
- import { WithDefaultProps } from '@modular-component/with-default-props'
2
- import { WithLifecycle } from '@modular-component/with-lifecycle'
3
-
4
- export const WithDefaultStages: typeof WithDefaultProps & typeof WithLifecycle =
5
- {
6
- ...WithDefaultProps,
7
- ...WithLifecycle,
8
- }
1
+ export { render } from '@modular-component/core'
2
+ export { defaultProps } from '@modular-component/with-default-props'
3
+ export { lifecycle } from '@modular-component/with-lifecycle'