@knapsack/renderer-react 4.71.17--canary.5251.cc77be8.0 → 4.71.17--canary.5261.959b319.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. package/CHANGELOG.md +60 -0
  2. package/ava.config.cjs +7 -1
  3. package/dist/analyze/infer-spec.test.d.ts +2 -0
  4. package/dist/analyze/infer-spec.test.d.ts.map +1 -0
  5. package/dist/analyze/infer-spec.test.js +112 -0
  6. package/dist/analyze/infer-spec.test.js.map +1 -0
  7. package/dist/analyze/mui.test.d.ts +2 -0
  8. package/dist/analyze/mui.test.d.ts.map +1 -0
  9. package/dist/analyze/mui.test.js +60 -0
  10. package/dist/analyze/mui.test.js.map +1 -0
  11. package/dist/analyze/pkg-basic.test.d.ts +2 -0
  12. package/dist/analyze/pkg-basic.test.d.ts.map +1 -0
  13. package/dist/analyze/pkg-basic.test.js +33 -0
  14. package/dist/analyze/pkg-basic.test.js.map +1 -0
  15. package/dist/analyze/pkg-diff-types.test.d.ts +2 -0
  16. package/dist/analyze/pkg-diff-types.test.d.ts.map +1 -0
  17. package/dist/analyze/pkg-diff-types.test.js +43 -0
  18. package/dist/analyze/pkg-diff-types.test.js.map +1 -0
  19. package/dist/client/init.d.mts +2 -2
  20. package/dist/client/init.d.mts.map +1 -0
  21. package/dist/client/init.mjs +39 -3
  22. package/dist/client/init.mjs.map +1 -1
  23. package/dist/index.d.ts +3 -45
  24. package/dist/index.d.ts.map +1 -0
  25. package/dist/index.js +16 -31
  26. package/dist/index.js.map +1 -1
  27. package/dist/react-creators.d.ts +20 -0
  28. package/dist/react-creators.d.ts.map +1 -0
  29. package/dist/react-creators.js +170 -0
  30. package/dist/react-creators.js.map +1 -0
  31. package/dist/{index.d.mts → renderer-react.d.ts} +2 -5
  32. package/dist/renderer-react.d.ts.map +1 -0
  33. package/dist/renderer-react.js +569 -0
  34. package/dist/renderer-react.js.map +1 -0
  35. package/dist/types.d.ts +19 -0
  36. package/dist/types.d.ts.map +1 -0
  37. package/dist/types.js +5 -0
  38. package/dist/types.js.map +1 -0
  39. package/dist/utils.d.ts +28 -0
  40. package/dist/utils.d.ts.map +1 -0
  41. package/dist/utils.js +500 -0
  42. package/dist/utils.js.map +1 -0
  43. package/dist/utils.test.d.ts +2 -0
  44. package/dist/utils.test.d.ts.map +1 -0
  45. package/dist/utils.test.js +59 -0
  46. package/dist/utils.test.js.map +1 -0
  47. package/package.json +23 -27
  48. package/prototype-template.d.mts +3 -0
  49. package/prototype-template.mjs +3 -0
  50. package/test-fixtures/pkg-diff-types/button.js +10 -0
  51. package/test-fixtures/pkg-diff-types/package.json +4 -0
  52. package/test-fixtures/pkg-diff-types/readme.md +1 -0
  53. package/test-fixtures/pkg-diff-types/types/button.d.ts +5 -0
  54. package/tsconfig.json +2 -2
  55. package/dist/client/init.d.ts +0 -2
  56. package/dist/client/init.js +0 -5
  57. package/dist/client/init.js.map +0 -1
  58. package/dist/demo-wrapper.d.mts +0 -7
  59. package/dist/demo-wrapper.d.ts +0 -7
  60. package/dist/demo-wrapper.js +0 -2
  61. package/dist/demo-wrapper.js.map +0 -1
  62. package/dist/demo-wrapper.mjs +0 -2
  63. package/dist/demo-wrapper.mjs.map +0 -1
  64. package/dist/error-catcher.d.mts +0 -20
  65. package/dist/error-catcher.d.ts +0 -20
  66. package/dist/error-catcher.js +0 -2
  67. package/dist/error-catcher.js.map +0 -1
  68. package/dist/error-catcher.mjs +0 -2
  69. package/dist/error-catcher.mjs.map +0 -1
  70. package/dist/index.mjs +0 -33
  71. package/dist/index.mjs.map +0 -1
  72. package/dist/prototype-template.d.mts +0 -7
  73. package/dist/prototype-template.d.ts +0 -7
  74. package/dist/prototype-template.js +0 -2
  75. package/dist/prototype-template.js.map +0 -1
  76. package/dist/prototype-template.mjs +0 -2
  77. package/dist/prototype-template.mjs.map +0 -1
  78. package/dist/types-CivTHEEo.d.mts +0 -10
  79. package/dist/types-CivTHEEo.d.ts +0 -10
  80. package/tsup.config.cjs +0 -5
@@ -1,2 +0,0 @@
1
- 'use strict';var r=Object.defineProperty;var t=(e,o)=>r(e,"name",{value:o,configurable:!0});var p=t(({children:e})=>e,"PrototypeWrapper"),c=p;module.exports=c;//# sourceMappingURL=prototype-template.js.map
2
- //# sourceMappingURL=prototype-template.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/prototype-template.tsx"],"names":["PrototypeWrapper","__name","children","prototype_template_default"],"mappings":"4FAEMA,IAAAA,CAAAA,CAAmBC,EAAA,CAAC,CAAE,SAAAC,CAAS,CAAA,GAA+BA,CAA3C,CAAA,kBAAA,CAAA,CAElBC,CAAQH,CAAAA","file":"prototype-template.js","sourcesContent":["import type { ReactNode } from 'react';\n\nconst PrototypeWrapper = ({ children }: { children: ReactNode }) => children;\n\nexport default PrototypeWrapper;\n"]}
@@ -1,2 +0,0 @@
1
- var r=Object.defineProperty;var t=(e,o)=>r(e,"name",{value:o,configurable:!0});var p=t(({children:e})=>e,"PrototypeWrapper"),c=p;export{c as default};//# sourceMappingURL=prototype-template.mjs.map
2
- //# sourceMappingURL=prototype-template.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/prototype-template.tsx"],"names":["PrototypeWrapper","__name","children","prototype_template_default"],"mappings":"+EAEMA,IAAAA,CAAAA,CAAmBC,EAAA,CAAC,CAAE,SAAAC,CAAS,CAAA,GAA+BA,CAA3C,CAAA,kBAAA,CAAA,CAElBC,CAAQH,CAAAA","file":"prototype-template.mjs","sourcesContent":["import type { ReactNode } from 'react';\n\nconst PrototypeWrapper = ({ children }: { children: ReactNode }) => children;\n\nexport default PrototypeWrapper;\n"]}
@@ -1,10 +0,0 @@
1
- import { Demo } from '@knapsack/types';
2
-
3
- type DemoWrapperProps = {
4
- children: React.ReactNode;
5
- demo: Demo;
6
- patternId: string;
7
- templateId: string;
8
- };
9
-
10
- export type { DemoWrapperProps as D };
@@ -1,10 +0,0 @@
1
- import { Demo } from '@knapsack/types';
2
-
3
- type DemoWrapperProps = {
4
- children: React.ReactNode;
5
- demo: Demo;
6
- patternId: string;
7
- templateId: string;
8
- };
9
-
10
- export type { DemoWrapperProps as D };
package/tsup.config.cjs DELETED
@@ -1,5 +0,0 @@
1
- const {
2
- dualConfig,
3
- } = require('@knapsack/typescript-config-starter/tsup.config-base.cjs');
4
-
5
- module.exports = dualConfig;