@knapsack/renderer-react-components 4.88.0--canary.6959.fe0865f.1 → 4.88.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 +13 -0
- package/dist/error-catcher.d.ts +1 -1
- package/dist/test-fixtures/complex-props.d.ts +1 -1
- package/dist/test-fixtures/complex-props.d.ts.map +1 -1
- package/dist/test-fixtures/complex-props.js +1 -1
- package/dist/test-fixtures/complex-props.js.map +1 -1
- package/dist/test-fixtures/generic-component-type.d.ts +1 -1
- package/dist/test-fixtures/generic-component-type.d.ts.map +1 -1
- package/dist/test-fixtures/generic-component-type.js.map +1 -1
- package/dist/test-fixtures/render-node-props.d.ts +1 -1
- package/dist/test-fixtures/render-node-props.d.ts.map +1 -1
- package/dist/test-fixtures/render-node-props.js.map +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
# v4.88.0 (Mon Nov 24 2025)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- upgrade to react 19 [#6897](https://github.com/knapsack-labs/app-monorepo/pull/6897) ([@brittanysmart](https://github.com/brittanysmart) [@EvanLovely](https://github.com/EvanLovely))
|
|
6
|
+
|
|
7
|
+
#### Authors: 2
|
|
8
|
+
|
|
9
|
+
- Brittany Smart ([@brittanysmart](https://github.com/brittanysmart))
|
|
10
|
+
- Evan Lovely ([@EvanLovely](https://github.com/EvanLovely))
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
1
14
|
# v4.87.9 (Thu Nov 20 2025)
|
|
2
15
|
|
|
3
16
|
#### 🏠 Internal
|
package/dist/error-catcher.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export default class ErrorCatcher extends React.Component<{
|
|
|
14
14
|
hasError: boolean;
|
|
15
15
|
};
|
|
16
16
|
componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
|
|
17
|
-
render(): string | number | boolean | Iterable<React.ReactNode> | import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
render(): string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode>> | import("react/jsx-runtime").JSX.Element;
|
|
18
18
|
}
|
|
19
19
|
export {};
|
|
20
20
|
//# sourceMappingURL=error-catcher.d.ts.map
|
|
@@ -11,6 +11,6 @@ interface ComplexProps {
|
|
|
11
11
|
showHeader: boolean;
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
|
-
export declare const ComplexComponent: ({ users, config
|
|
14
|
+
export declare const ComplexComponent: ({ users, config: _config }: ComplexProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
export {};
|
|
16
16
|
//# sourceMappingURL=complex-props.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"complex-props.d.ts","sourceRoot":"","sources":["../../src/test-fixtures/complex-props.tsx"],"names":[],"mappings":"AACA,UAAU,YAAY;IACpB,4BAA4B;IAC5B,KAAK,EAAE,KAAK,CAAC;QACX,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC;KACxB,CAAC,CAAC;IACH,2BAA2B;IAC3B,MAAM,EAAE;QACN,KAAK,EAAE,OAAO,GAAG,MAAM,CAAC;QACxB,UAAU,EAAE,OAAO,CAAC;KACrB,CAAC;CACH;AAED,eAAO,MAAM,gBAAgB,GAAI,
|
|
1
|
+
{"version":3,"file":"complex-props.d.ts","sourceRoot":"","sources":["../../src/test-fixtures/complex-props.tsx"],"names":[],"mappings":"AACA,UAAU,YAAY;IACpB,4BAA4B;IAC5B,KAAK,EAAE,KAAK,CAAC;QACX,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC;KACxB,CAAC,CAAC;IACH,2BAA2B;IAC3B,MAAM,EAAE;QACN,KAAK,EAAE,OAAO,GAAG,MAAM,CAAC;QACxB,UAAU,EAAE,OAAO,CAAC;KACrB,CAAC;CACH;AAED,eAAO,MAAM,gBAAgB,GAAI,4BAA4B,YAAY,4CAMxE,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
export const ComplexComponent = ({ users, config
|
|
2
|
+
export const ComplexComponent = ({ users, config: _config }) => (_jsx("div", { children: users.map((user) => (_jsx("div", { children: user.name }, user.id))) }));
|
|
3
3
|
//# sourceMappingURL=complex-props.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"complex-props.js","sourceRoot":"","sources":["../../src/test-fixtures/complex-props.tsx"],"names":[],"mappings":";AAeA,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"complex-props.js","sourceRoot":"","sources":["../../src/test-fixtures/complex-props.tsx"],"names":[],"mappings":";AAeA,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAgB,EAAE,EAAE,CAAC,CAC5E,wBACG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACnB,wBAAoB,IAAI,CAAC,IAAI,IAAnB,IAAI,CAAC,EAAE,CAAmB,CACrC,CAAC,GACE,CACP,CAAC"}
|
|
@@ -5,6 +5,6 @@ interface ListProps<T> {
|
|
|
5
5
|
/** Render function for each item */
|
|
6
6
|
renderItem: (item: T) => ReactNode;
|
|
7
7
|
}
|
|
8
|
-
export declare const GenericComponentType: <T>({ items, renderItem, }: ListProps<T>) => JSX.Element;
|
|
8
|
+
export declare const GenericComponentType: <T>({ items, renderItem, }: ListProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export {};
|
|
10
10
|
//# sourceMappingURL=generic-component-type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generic-component-type.d.ts","sourceRoot":"","sources":["../../src/test-fixtures/generic-component-type.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlC,UAAU,SAAS,CAAC,CAAC;IACnB,oBAAoB;IACpB,KAAK,EAAE,CAAC,EAAE,CAAC;IACX,oCAAoC;IACpC,UAAU,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,SAAS,CAAC;CACpC;AAED,eAAO,MAAM,oBAAoB,GAAI,CAAC,EAAG,wBAGtC,SAAS,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"generic-component-type.d.ts","sourceRoot":"","sources":["../../src/test-fixtures/generic-component-type.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlC,UAAU,SAAS,CAAC,CAAC;IACnB,oBAAoB;IACpB,KAAK,EAAE,CAAC,EAAE,CAAC;IACX,oCAAoC;IACpC,UAAU,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,SAAS,CAAC;CACpC;AAED,eAAO,MAAM,oBAAoB,GAAI,CAAC,EAAG,wBAGtC,SAAS,CAAC,CAAC,CAAC,4CAMd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generic-component-type.js","sourceRoot":"","sources":["../../src/test-fixtures/generic-component-type.tsx"],"names":[],"mappings":";AAUA,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAK,EACvC,KAAK,EACL,UAAU,GACG,
|
|
1
|
+
{"version":3,"file":"generic-component-type.js","sourceRoot":"","sources":["../../src/test-fixtures/generic-component-type.tsx"],"names":[],"mappings":";AAUA,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAK,EACvC,KAAK,EACL,UAAU,GACG,EAAE,EAAE,CAAC,CAClB,uBACG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAC1B,uBAAgC,UAAU,CAAC,IAAI,CAAC,IAAvC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAyB,CACvD,CAAC,GACC,CACN,CAAC"}
|
|
@@ -9,6 +9,6 @@ interface RenderPropsComponentProps {
|
|
|
9
9
|
/** Optional footer */
|
|
10
10
|
footer?: ReactNode;
|
|
11
11
|
}
|
|
12
|
-
export declare const RenderPropsComponent: ({ renderHeader, renderContent, footer, }: RenderPropsComponentProps) => JSX.Element;
|
|
12
|
+
export declare const RenderPropsComponent: ({ renderHeader, renderContent, footer, }: RenderPropsComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
export {};
|
|
14
14
|
//# sourceMappingURL=render-node-props.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-node-props.d.ts","sourceRoot":"","sources":["../../src/test-fixtures/render-node-props.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlC,UAAU,yBAAyB;IACjC,6BAA6B;IAC7B,YAAY,EAAE,MAAM,SAAS,CAAC;IAC9B,8BAA8B;IAC9B,aAAa,EAAE,CAAC,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,KAAK,SAAS,CAAC;IACtD,sBAAsB;IACtB,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AAED,eAAO,MAAM,oBAAoB,GAAI,0CAIlC,yBAAyB,
|
|
1
|
+
{"version":3,"file":"render-node-props.d.ts","sourceRoot":"","sources":["../../src/test-fixtures/render-node-props.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlC,UAAU,yBAAyB;IACjC,6BAA6B;IAC7B,YAAY,EAAE,MAAM,SAAS,CAAC;IAC9B,8BAA8B;IAC9B,aAAa,EAAE,CAAC,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,KAAK,SAAS,CAAC;IACtD,sBAAsB;IACtB,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AAED,eAAO,MAAM,oBAAoB,GAAI,0CAIlC,yBAAyB,4CAM3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-node-props.js","sourceRoot":"","sources":["../../src/test-fixtures/render-node-props.tsx"],"names":[],"mappings":";AAYA,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,EACnC,YAAY,EACZ,aAAa,EACb,MAAM,GACoB,
|
|
1
|
+
{"version":3,"file":"render-node-props.js","sourceRoot":"","sources":["../../src/test-fixtures/render-node-props.tsx"],"names":[],"mappings":";AAYA,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,EACnC,YAAY,EACZ,aAAa,EACb,MAAM,GACoB,EAAE,EAAE,CAAC,CAC/B,0BACG,YAAY,EAAE,EACd,aAAa,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,EAC3B,MAAM,IACH,CACP,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knapsack/renderer-react-components",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "4.88.0
|
|
4
|
+
"version": "4.88.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
7
|
"./demo-wrapper": {
|
|
@@ -35,16 +35,16 @@
|
|
|
35
35
|
"lint": "eslint ./"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@knapsack/eslint-config-starter": "4.88.0
|
|
39
|
-
"@knapsack/prettier-config": "4.88.0
|
|
40
|
-
"@knapsack/types": "4.88.0
|
|
41
|
-
"@knapsack/typescript-config-starter": "4.88.0
|
|
38
|
+
"@knapsack/eslint-config-starter": "4.88.0",
|
|
39
|
+
"@knapsack/prettier-config": "4.88.0",
|
|
40
|
+
"@knapsack/types": "4.88.0",
|
|
41
|
+
"@knapsack/typescript-config-starter": "4.88.0",
|
|
42
42
|
"@types/node": "^20.19.25",
|
|
43
43
|
"@types/prop-types": "^15.7.15",
|
|
44
|
-
"@types/react": "^
|
|
44
|
+
"@types/react": "^19.2.3",
|
|
45
45
|
"eslint": "^8.57.0",
|
|
46
46
|
"prop-types": "^15.8.1",
|
|
47
|
-
"react": "^
|
|
47
|
+
"react": "^19.2.0",
|
|
48
48
|
"typescript": "^5.9.3"
|
|
49
49
|
},
|
|
50
50
|
"license": "GPL-2.0-or-later",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"directory": "apps/client/libs/renderer-react-components",
|
|
57
57
|
"type": "git"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "4928bd1dbcb4cc1af722a728d7c1de84c6f7f1e1"
|
|
60
60
|
}
|