@modular-component/default 0.1.2 → 0.1.4
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 +16 -0
- package/dist/index.d.ts +3 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/index.ts +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @modular-component/default
|
|
2
2
|
|
|
3
|
+
## 0.1.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 820a836: Refactor tuple system for better typescript performance
|
|
8
|
+
- Updated dependencies [820a836]
|
|
9
|
+
- @modular-component/with-default-props@0.1.4
|
|
10
|
+
- @modular-component/with-lifecycle@0.1.4
|
|
11
|
+
|
|
12
|
+
## 0.1.3
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- @modular-component/with-default-props@0.1.3
|
|
17
|
+
- @modular-component/with-lifecycle@0.1.3
|
|
18
|
+
|
|
3
19
|
## 0.1.2
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
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,
|
|
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.
|
|
11
|
+
"version": "0.1.4",
|
|
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.
|
|
31
|
-
"@modular-component/with-lifecycle": "0.1.
|
|
30
|
+
"@modular-component/with-default-props": "0.1.4",
|
|
31
|
+
"@modular-component/with-lifecycle": "0.1.4"
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
export const WithDefaultStages: typeof WithDefaultProps & typeof WithLifecycle =
|
|
5
|
+
{
|
|
6
|
+
...WithDefaultProps,
|
|
7
|
+
...WithLifecycle,
|
|
8
|
+
}
|