@quilted/quilt 0.0.0-Simpler-Quilt-app-context-component-20220421223224

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.
Files changed (191) hide show
  1. package/CHANGELOG.md +189 -0
  2. package/build/cjs/AppContext.cjs +22 -0
  3. package/build/cjs/email.cjs +32 -0
  4. package/build/cjs/env.cjs +7 -0
  5. package/build/cjs/global.cjs +5 -0
  6. package/build/cjs/html.cjs +112 -0
  7. package/build/cjs/http-handlers/index.cjs +14 -0
  8. package/build/cjs/http-handlers/node.cjs +14 -0
  9. package/build/cjs/http.cjs +108 -0
  10. package/build/cjs/index.cjs +187 -0
  11. package/build/cjs/matchers.cjs +5 -0
  12. package/build/cjs/polyfills/base.cjs +4 -0
  13. package/build/cjs/polyfills/crypto.cjs +4 -0
  14. package/build/cjs/polyfills/fetch.cjs +4 -0
  15. package/build/cjs/polyfills/noop.cjs +4 -0
  16. package/build/cjs/react/index.cjs +22 -0
  17. package/build/cjs/react/jsx-runtime.cjs +14 -0
  18. package/build/cjs/react/server.cjs +14 -0
  19. package/build/cjs/react/test-utils.cjs +14 -0
  20. package/build/cjs/server/ServerContext.cjs +22 -0
  21. package/build/cjs/server/http-handler.cjs +87 -0
  22. package/build/cjs/server/index.cjs +89 -0
  23. package/build/cjs/server/render.cjs +46 -0
  24. package/build/cjs/static/StaticContext.cjs +22 -0
  25. package/build/cjs/static/index.cjs +306 -0
  26. package/build/cjs/static/render.cjs +46 -0
  27. package/build/cjs/testing.cjs +42 -0
  28. package/build/cjs/utilities/react.cjs +14 -0
  29. package/build/cjs/workers/index.cjs +14 -0
  30. package/build/cjs/workers/worker.cjs +14 -0
  31. package/build/esm/AppContext.mjs +18 -0
  32. package/build/esm/email.mjs +1 -0
  33. package/build/esm/env.mjs +3 -0
  34. package/build/esm/global.mjs +3 -0
  35. package/build/esm/html.mjs +1 -0
  36. package/build/esm/http-handlers/index.mjs +1 -0
  37. package/build/esm/http-handlers/node.mjs +1 -0
  38. package/build/esm/http.mjs +1 -0
  39. package/build/esm/index.mjs +11 -0
  40. package/build/esm/matchers.mjs +2 -0
  41. package/build/esm/polyfills/base.mjs +1 -0
  42. package/build/esm/polyfills/crypto.mjs +1 -0
  43. package/build/esm/polyfills/fetch.mjs +1 -0
  44. package/build/esm/polyfills/noop.mjs +1 -0
  45. package/build/esm/react/index.mjs +2 -0
  46. package/build/esm/react/jsx-runtime.mjs +1 -0
  47. package/build/esm/react/server.mjs +1 -0
  48. package/build/esm/react/test-utils.mjs +1 -0
  49. package/build/esm/server/ServerContext.mjs +18 -0
  50. package/build/esm/server/http-handler.mjs +81 -0
  51. package/build/esm/server/index.mjs +9 -0
  52. package/build/esm/server/render.mjs +42 -0
  53. package/build/esm/static/StaticContext.mjs +18 -0
  54. package/build/esm/static/index.mjs +284 -0
  55. package/build/esm/static/render.mjs +42 -0
  56. package/build/esm/testing.mjs +3 -0
  57. package/build/esm/utilities/react.mjs +10 -0
  58. package/build/esm/workers/index.mjs +1 -0
  59. package/build/esm/workers/worker.mjs +1 -0
  60. package/build/esnext/AppContext.esnext +18 -0
  61. package/build/esnext/email.esnext +1 -0
  62. package/build/esnext/env.esnext +3 -0
  63. package/build/esnext/global.esnext +3 -0
  64. package/build/esnext/html.esnext +1 -0
  65. package/build/esnext/http-handlers/index.esnext +1 -0
  66. package/build/esnext/http-handlers/node.esnext +1 -0
  67. package/build/esnext/http.esnext +1 -0
  68. package/build/esnext/index.esnext +11 -0
  69. package/build/esnext/matchers.esnext +2 -0
  70. package/build/esnext/polyfills/base.esnext +1 -0
  71. package/build/esnext/polyfills/crypto.esnext +1 -0
  72. package/build/esnext/polyfills/fetch.esnext +1 -0
  73. package/build/esnext/polyfills/noop.esnext +1 -0
  74. package/build/esnext/react/index.esnext +2 -0
  75. package/build/esnext/react/jsx-runtime.esnext +1 -0
  76. package/build/esnext/react/server.esnext +1 -0
  77. package/build/esnext/react/test-utils.esnext +1 -0
  78. package/build/esnext/server/ServerContext.esnext +18 -0
  79. package/build/esnext/server/http-handler.esnext +81 -0
  80. package/build/esnext/server/index.esnext +9 -0
  81. package/build/esnext/server/render.esnext +40 -0
  82. package/build/esnext/static/StaticContext.esnext +18 -0
  83. package/build/esnext/static/index.esnext +280 -0
  84. package/build/esnext/static/render.esnext +40 -0
  85. package/build/esnext/testing.esnext +3 -0
  86. package/build/esnext/utilities/react.esnext +10 -0
  87. package/build/esnext/workers/index.esnext +1 -0
  88. package/build/esnext/workers/worker.esnext +1 -0
  89. package/build/tsconfig.tsbuildinfo +1 -0
  90. package/build/typescript/App.d.ts +15 -0
  91. package/build/typescript/App.d.ts.map +1 -0
  92. package/build/typescript/AppContext.d.ts +8 -0
  93. package/build/typescript/AppContext.d.ts.map +1 -0
  94. package/build/typescript/email.d.ts +3 -0
  95. package/build/typescript/email.d.ts.map +1 -0
  96. package/build/typescript/env.d.ts +5 -0
  97. package/build/typescript/env.d.ts.map +1 -0
  98. package/build/typescript/global.d.ts +2 -0
  99. package/build/typescript/global.d.ts.map +1 -0
  100. package/build/typescript/html.d.ts +3 -0
  101. package/build/typescript/html.d.ts.map +1 -0
  102. package/build/typescript/http-handlers/index.d.ts +2 -0
  103. package/build/typescript/http-handlers/index.d.ts.map +1 -0
  104. package/build/typescript/http-handlers/node.d.ts +2 -0
  105. package/build/typescript/http-handlers/node.d.ts.map +1 -0
  106. package/build/typescript/http.d.ts +2 -0
  107. package/build/typescript/http.d.ts.map +1 -0
  108. package/build/typescript/index.d.ts +21 -0
  109. package/build/typescript/index.d.ts.map +1 -0
  110. package/build/typescript/magic/app.d.ts +4 -0
  111. package/build/typescript/magic/app.d.ts.map +1 -0
  112. package/build/typescript/magic/asset-loader.d.ts +6 -0
  113. package/build/typescript/magic/asset-loader.d.ts.map +1 -0
  114. package/build/typescript/magic/http-handler.d.ts +4 -0
  115. package/build/typescript/magic/http-handler.d.ts.map +1 -0
  116. package/build/typescript/matchers.d.ts +3 -0
  117. package/build/typescript/matchers.d.ts.map +1 -0
  118. package/build/typescript/polyfills/base.d.ts +2 -0
  119. package/build/typescript/polyfills/base.d.ts.map +1 -0
  120. package/build/typescript/polyfills/crypto.d.ts +2 -0
  121. package/build/typescript/polyfills/crypto.d.ts.map +1 -0
  122. package/build/typescript/polyfills/fetch.d.ts +2 -0
  123. package/build/typescript/polyfills/fetch.d.ts.map +1 -0
  124. package/build/typescript/polyfills/noop.d.ts +2 -0
  125. package/build/typescript/polyfills/noop.d.ts.map +1 -0
  126. package/build/typescript/react/index.d.ts +3 -0
  127. package/build/typescript/react/index.d.ts.map +1 -0
  128. package/build/typescript/react/jsx-runtime.d.ts +2 -0
  129. package/build/typescript/react/jsx-runtime.d.ts.map +1 -0
  130. package/build/typescript/react/server.d.ts +2 -0
  131. package/build/typescript/react/server.d.ts.map +1 -0
  132. package/build/typescript/react/test-utils.d.ts +2 -0
  133. package/build/typescript/react/test-utils.d.ts.map +1 -0
  134. package/build/typescript/server/ServerContext.d.ts +13 -0
  135. package/build/typescript/server/ServerContext.d.ts.map +1 -0
  136. package/build/typescript/server/http-handler.d.ts +15 -0
  137. package/build/typescript/server/http-handler.d.ts.map +1 -0
  138. package/build/typescript/server/index.d.ts +13 -0
  139. package/build/typescript/server/index.d.ts.map +1 -0
  140. package/build/typescript/server/render.d.ts +17 -0
  141. package/build/typescript/server/render.d.ts.map +1 -0
  142. package/build/typescript/static/StaticContext.d.ts +13 -0
  143. package/build/typescript/static/StaticContext.d.ts.map +1 -0
  144. package/build/typescript/static/index.d.ts +22 -0
  145. package/build/typescript/static/index.d.ts.map +1 -0
  146. package/build/typescript/static/render.d.ts +17 -0
  147. package/build/typescript/static/render.d.ts.map +1 -0
  148. package/build/typescript/testing.d.ts +4 -0
  149. package/build/typescript/testing.d.ts.map +1 -0
  150. package/build/typescript/utilities/react.d.ts +3 -0
  151. package/build/typescript/utilities/react.d.ts.map +1 -0
  152. package/build/typescript/workers/index.d.ts +2 -0
  153. package/build/typescript/workers/index.d.ts.map +1 -0
  154. package/build/typescript/workers/worker.d.ts +2 -0
  155. package/build/typescript/workers/worker.d.ts.map +1 -0
  156. package/package.json +282 -0
  157. package/quilt.project.ts +48 -0
  158. package/source/AppContext.tsx +21 -0
  159. package/source/email.ts +9 -0
  160. package/source/env.ts +5 -0
  161. package/source/global.ts +3 -0
  162. package/source/html.ts +29 -0
  163. package/source/http-handlers/index.ts +1 -0
  164. package/source/http-handlers/node.ts +1 -0
  165. package/source/http.ts +27 -0
  166. package/source/index.ts +103 -0
  167. package/source/magic/app.ts +5 -0
  168. package/source/magic/asset-loader.ts +5 -0
  169. package/source/magic/http-handler.ts +5 -0
  170. package/source/matchers.ts +2 -0
  171. package/source/polyfills/README.md +3 -0
  172. package/source/polyfills/base.ts +1 -0
  173. package/source/polyfills/crypto.ts +1 -0
  174. package/source/polyfills/fetch.ts +1 -0
  175. package/source/polyfills/noop.ts +1 -0
  176. package/source/react/index.ts +4 -0
  177. package/source/react/jsx-runtime.ts +2 -0
  178. package/source/react/server.ts +2 -0
  179. package/source/react/test-utils.ts +2 -0
  180. package/source/server/ServerContext.tsx +42 -0
  181. package/source/server/http-handler.tsx +101 -0
  182. package/source/server/index.ts +45 -0
  183. package/source/server/render.tsx +43 -0
  184. package/source/static/StaticContext.tsx +42 -0
  185. package/source/static/index.tsx +307 -0
  186. package/source/static/render.tsx +43 -0
  187. package/source/testing.ts +7 -0
  188. package/source/utilities/react.tsx +13 -0
  189. package/source/workers/index.ts +1 -0
  190. package/source/workers/worker.ts +1 -0
  191. package/tsconfig.json +30 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,189 @@
1
+ # @quilted/quilt
2
+
3
+ ## 0.0.0-Simpler-Quilt-app-context-component-20220421223224
4
+
5
+ ### Patch Changes
6
+
7
+ - [#265](https://github.com/lemonmade/quilt/pull/265) [`e2db9b85`](https://github.com/lemonmade/quilt/commit/e2db9b85cd4a88eebf60038e0f08b083b307c934) Thanks [@lemonmade](https://github.com/lemonmade)! - Simpler AppContext component
8
+
9
+ - Updated dependencies [[`e2db9b85`](https://github.com/lemonmade/quilt/commit/e2db9b85cd4a88eebf60038e0f08b083b307c934)]:
10
+ - @quilted/react-graphql@0.0.0-Simpler-Quilt-app-context-component-20220421223224
11
+ - @quilted/react-http@0.0.0-Simpler-Quilt-app-context-component-20220421223224
12
+ - @quilted/react-router@0.0.0-Simpler-Quilt-app-context-component-20220421223224
13
+
14
+ ## 0.5.83
15
+
16
+ ### Patch Changes
17
+
18
+ - [#263](https://github.com/lemonmade/quilt/pull/263) [`6df853eb`](https://github.com/lemonmade/quilt/commit/6df853eb1e83abfa00e88b43e91b350da28d2704) Thanks [@lemonmade](https://github.com/lemonmade)! - Rename locale from environment hook
19
+
20
+ ## 0.5.82
21
+
22
+ ### Patch Changes
23
+
24
+ - Updated dependencies [[`b0040c72`](https://github.com/lemonmade/quilt/commit/b0040c7279931f426df5d7fac91a3a35ea49eae1)]:
25
+ - @quilted/react-localize@0.1.0
26
+
27
+ ## 0.5.81
28
+
29
+ ### Patch Changes
30
+
31
+ - [`e65f1b91`](https://github.com/lemonmade/quilt/commit/e65f1b91b378058f6a39028417066582e76faf2a) Thanks [@lemonmade](https://github.com/lemonmade)! - Re-export GraphQLResult type
32
+
33
+ ## 0.5.80
34
+
35
+ ### Patch Changes
36
+
37
+ - [`4087f361`](https://github.com/lemonmade/quilt/commit/4087f361cd1a1bb8aa0d3334beb737569178bdb2) Thanks [@lemonmade](https://github.com/lemonmade)! - Re-export more react-server-render types
38
+
39
+ ## 0.5.79
40
+
41
+ ### Patch Changes
42
+
43
+ - [`ea331646`](https://github.com/lemonmade/quilt/commit/ea3316461bc42fe799e402a5635dd118e4a7e4a0) Thanks [@lemonmade](https://github.com/lemonmade)! - Improve GraphQL fetch naming and type exports
44
+
45
+ ## 0.5.78
46
+
47
+ ### Patch Changes
48
+
49
+ - [`eb9f7d42`](https://github.com/lemonmade/quilt/commit/eb9f7d4271010a8edfd683d825e9d49cb8969c8e) Thanks [@lemonmade](https://github.com/lemonmade)! - Improve usefulness of GraphQL client
50
+
51
+ * [#241](https://github.com/lemonmade/quilt/pull/241) [`04555fea`](https://github.com/lemonmade/quilt/commit/04555fea5652c30b27f146e10003e32fa16d66e8) Thanks [@lemonmade](https://github.com/lemonmade)! - Add react-query GraphQL hooks
52
+
53
+ ## 0.5.77
54
+
55
+ ### Patch Changes
56
+
57
+ - [`563e0097`](https://github.com/lemonmade/quilt/commit/563e009757ba94e8021bb927e00462483b84d1e0) Thanks [@lemonmade](https://github.com/lemonmade)! - Fix React development server
58
+
59
+ ## 0.5.76
60
+
61
+ ### Patch Changes
62
+
63
+ - [`78fe1682`](https://github.com/lemonmade/quilt/commit/78fe1682e3f258ffca719c7eaaeeac05031dfa80) Thanks [@lemonmade](https://github.com/lemonmade)! - Simplify craft and sewing-kit
64
+
65
+ ## 0.5.75
66
+
67
+ ### Patch Changes
68
+
69
+ - [#214](https://github.com/lemonmade/quilt/pull/214) [`70dc3a9a`](https://github.com/lemonmade/quilt/commit/70dc3a9a52cec86224017874520e0ec941b8b85f) Thanks [@lemonmade](https://github.com/lemonmade)! - Fix polyfill package resolution
70
+
71
+ ## 0.5.74
72
+
73
+ ### Patch Changes
74
+
75
+ - [`433f94f5`](https://github.com/lemonmade/quilt/commit/433f94f56a86a687b5f70a2887a83a3aae25e025) Thanks [@lemonmade](https://github.com/lemonmade)! - Add missing quilted/quilt/crypto entry
76
+
77
+ * [`5bdbcf9c`](https://github.com/lemonmade/quilt/commit/5bdbcf9c298d653dafca4996a5c28ff48829ed4e) Thanks [@lemonmade](https://github.com/lemonmade)! - Fix package resolution for workers package
78
+
79
+ ## 0.5.73
80
+
81
+ ### Patch Changes
82
+
83
+ - [`65db3731`](https://github.com/lemonmade/quilt/commit/65db37312192507643bafa672a29d8e63cce823f) Thanks [@lemonmade](https://github.com/lemonmade)! - Force another version bump
84
+
85
+ ## 0.5.72
86
+
87
+ ### Patch Changes
88
+
89
+ - [`0735184`](https://github.com/lemonmade/quilt/commit/073518430d0fcabab7a2db9c76f8a69dac1fdea5) Thanks [@lemonmade](https://github.com/lemonmade)! - Publish new latest versions
90
+
91
+ ## 0.5.71
92
+
93
+ ### Patch Changes
94
+
95
+ - [#206](https://github.com/lemonmade/quilt/pull/206) [`d3c6346`](https://github.com/lemonmade/quilt/commit/d3c6346dc61a77fd6d45f13abe29222742b895fc) Thanks [@lemonmade](https://github.com/lemonmade)! - Remove unnecessary react alias dependencies
96
+
97
+ ## 0.5.70
98
+
99
+ ### Patch Changes
100
+
101
+ - [#203](https://github.com/lemonmade/quilt/pull/203) [`2a5063f`](https://github.com/lemonmade/quilt/commit/2a5063fe8e949eaa7829dd5685901b67a06c09c8) Thanks [@lemonmade](https://github.com/lemonmade)! - Fix preact aliases in tests
102
+
103
+ * [#203](https://github.com/lemonmade/quilt/pull/203) [`2a5063f`](https://github.com/lemonmade/quilt/commit/2a5063fe8e949eaa7829dd5685901b67a06c09c8) Thanks [@lemonmade](https://github.com/lemonmade)! - Fix test files being included in TypeScript output
104
+
105
+ ## 0.5.69
106
+
107
+ ### Patch Changes
108
+
109
+ - [`937a890`](https://github.com/lemonmade/quilt/commit/937a89009924a7b1d9e2a102028efd97928396e3) Thanks [@lemonmade](https://github.com/lemonmade)! - Improve base TypeScript preset
110
+
111
+ ## 0.5.68
112
+
113
+ ### Patch Changes
114
+
115
+ - [`c4c6792`](https://github.com/lemonmade/quilt/commit/c4c6792ef355cc3bc8c8ada65ec7b1db8a836fef) Thanks [@lemonmade](https://github.com/lemonmade)! - Improve server rendering helpers
116
+
117
+ ## 0.5.67
118
+
119
+ ### Patch Changes
120
+
121
+ - [`ec90a3f`](https://github.com/lemonmade/quilt/commit/ec90a3f0de7366a42fd1e13b903154f5bc8c0a54) Thanks [@lemonmade](https://github.com/lemonmade)! - Add simpler way of rendering React to a http-handlers response
122
+
123
+ ## 0.5.66
124
+
125
+ ### Patch Changes
126
+
127
+ - [`fb10e01`](https://github.com/lemonmade/quilt/commit/fb10e0181c26b6faedaea6f7fc5d88d7ccccc3d1) Thanks [@lemonmade](https://github.com/lemonmade)! - Add web crypto polyfill
128
+
129
+ * [`33c1a59`](https://github.com/lemonmade/quilt/commit/33c1a59c89fd9aeae81cb6072b4100d706268985) Thanks [@lemonmade](https://github.com/lemonmade)! - Add ability to nest http handlers
130
+
131
+ ## 0.5.65
132
+
133
+ ### Patch Changes
134
+
135
+ - [`c58ca94`](https://github.com/lemonmade/quilt/commit/c58ca9468f24c1cc193d67f56692e07e71e918ab) Thanks [@lemonmade](https://github.com/lemonmade)! - Add `Serialize` component
136
+
137
+ * [`f75a035`](https://github.com/lemonmade/quilt/commit/f75a035e5a6ec857497f28da9f0f0ba2d5d6112a) Thanks [@lemonmade](https://github.com/lemonmade)! - Add props customization to Quilt server handler
138
+
139
+ ## 0.5.64
140
+
141
+ ### Patch Changes
142
+
143
+ - [#190](https://github.com/lemonmade/quilt/pull/190) [`9bf454a`](https://github.com/lemonmade/quilt/commit/9bf454aaefc7ac6b85060fc5493b6b3ee4e2b526) Thanks [@lemonmade](https://github.com/lemonmade)! - Add easy environment variables
144
+
145
+ ## 0.5.63
146
+
147
+ ### Patch Changes
148
+
149
+ - [#185](https://github.com/lemonmade/quilt/pull/185) [`3b9a758`](https://github.com/lemonmade/quilt/commit/3b9a758c5703aa63b93a736e33f88a3bfa393fb8) Thanks [@lemonmade](https://github.com/lemonmade)! - Improve package entry declarations
150
+
151
+ ## 0.5.62
152
+
153
+ ### Patch Changes
154
+
155
+ - [#179](https://github.com/lemonmade/quilt/pull/179) [`ba2d282`](https://github.com/lemonmade/quilt/commit/ba2d28245528fc9825e36cfed85798b721f33152) Thanks [@lemonmade](https://github.com/lemonmade)! - Add useful-react-types package
156
+
157
+ ## 0.5.61
158
+
159
+ ### Patch Changes
160
+
161
+ - [#168](https://github.com/lemonmade/quilt/pull/168) [`ce60ec7`](https://github.com/lemonmade/quilt/commit/ce60ec7d864eb3b7c20a1f6cfe8839652bd8e3db) Thanks [@lemonmade](https://github.com/lemonmade)! - Add own utilities for handling cookie strings
162
+
163
+ * [#168](https://github.com/lemonmade/quilt/pull/168) [`ce60ec7`](https://github.com/lemonmade/quilt/commit/ce60ec7d864eb3b7c20a1f6cfe8839652bd8e3db) Thanks [@lemonmade](https://github.com/lemonmade)! - App server only renders requests for HTML
164
+
165
+ ## 0.5.60
166
+
167
+ ### Patch Changes
168
+
169
+ - [`091e067`](https://github.com/lemonmade/quilt/commit/091e067ff3240fcb140687d47afce73926ff70ac) Thanks [@lemonmade](https://github.com/lemonmade)! - Improve safety of magic entrypoints
170
+
171
+ ## 0.5.59
172
+
173
+ ### Patch Changes
174
+
175
+ - [`a9d3eb2`](https://github.com/lemonmade/quilt/commit/a9d3eb268447b50bb4504584d568fd16df158265) Thanks [@lemonmade](https://github.com/lemonmade)! - Fix asset manifest creation and types in strict package environments
176
+
177
+ * [`73c25d2`](https://github.com/lemonmade/quilt/commit/73c25d295614141230c3607e92c8da5342e013d7) Thanks [@lemonmade](https://github.com/lemonmade)! - Fix `createAsyncComponent()` typing in strict package environments
178
+
179
+ - [`1cd1f3b`](https://github.com/lemonmade/quilt/commit/1cd1f3b886081f40e7dfe1c2695516faf8e3b536) Thanks [@lemonmade](https://github.com/lemonmade)! - Fix http-handlers imports in strict package environments
180
+
181
+ * [`d1b0622`](https://github.com/lemonmade/quilt/commit/d1b0622144a2af199c60aaa5d206d82ebc0214bf) Thanks [@lemonmade](https://github.com/lemonmade)! - Fix React aliasing in strict package environments
182
+
183
+ - [`6ad3628`](https://github.com/lemonmade/quilt/commit/6ad362860eb65392ec5c5fa80c62e002e7f99f74) Thanks [@lemonmade](https://github.com/lemonmade)! - Fix @quilted/polyfills in strict package environments
184
+
185
+ ## 0.5.58
186
+
187
+ ### Patch Changes
188
+
189
+ - [`917ea19`](https://github.com/lemonmade/quilt/commit/917ea19edbd8ad210675b11ef7f2ebe0c33e0b3e) Thanks [@lemonmade](https://github.com/lemonmade)! - Fixed dependencies to support stricter pnpm-based project
@@ -0,0 +1,22 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var reactHttp = require('@quilted/react-http');
6
+ var reactHtml = require('@quilted/react-html');
7
+ var jsxRuntime = require('react/jsx-runtime');
8
+
9
+ // TODO: have craft options to remove the bundle impact of parts of this that are
10
+ // unused.
11
+ function AppContext({
12
+ children
13
+ }) {
14
+ reactHtml.useHtmlUpdater();
15
+ return /*#__PURE__*/jsxRuntime.jsx(reactHttp.HttpContext, {
16
+ children: /*#__PURE__*/jsxRuntime.jsx(reactHttp.CookieContext, {
17
+ children: children
18
+ })
19
+ });
20
+ }
21
+
22
+ exports.AppContext = AppContext;
@@ -0,0 +1,32 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var reactEmail = require('@quilted/react-email');
6
+
7
+
8
+
9
+ Object.defineProperty(exports, 'usePlainTextContent', {
10
+ enumerable: true,
11
+ get: function () { return reactEmail.usePlainTextContent; }
12
+ });
13
+ Object.defineProperty(exports, 'useSendBcc', {
14
+ enumerable: true,
15
+ get: function () { return reactEmail.useSendBcc; }
16
+ });
17
+ Object.defineProperty(exports, 'useSendCc', {
18
+ enumerable: true,
19
+ get: function () { return reactEmail.useSendCc; }
20
+ });
21
+ Object.defineProperty(exports, 'useSendTo', {
22
+ enumerable: true,
23
+ get: function () { return reactEmail.useSendTo; }
24
+ });
25
+ Object.defineProperty(exports, 'useSender', {
26
+ enumerable: true,
27
+ get: function () { return reactEmail.useSender; }
28
+ });
29
+ Object.defineProperty(exports, 'useSubject', {
30
+ enumerable: true,
31
+ get: function () { return reactEmail.useSubject; }
32
+ });
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const Env = {};
6
+
7
+ exports["default"] = Env;
@@ -0,0 +1,5 @@
1
+ 'use strict';
2
+
3
+ var async = require('@quilted/async');
4
+
5
+ async.installAsyncAssetsGlobal();
@@ -0,0 +1,112 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var reactHtml = require('@quilted/react-html');
6
+
7
+
8
+
9
+ Object.defineProperty(exports, 'Alternate', {
10
+ enumerable: true,
11
+ get: function () { return reactHtml.Alternate; }
12
+ });
13
+ Object.defineProperty(exports, 'BodyAttributes', {
14
+ enumerable: true,
15
+ get: function () { return reactHtml.BodyAttributes; }
16
+ });
17
+ Object.defineProperty(exports, 'Favicon', {
18
+ enumerable: true,
19
+ get: function () { return reactHtml.Favicon; }
20
+ });
21
+ Object.defineProperty(exports, 'HtmlAttributes', {
22
+ enumerable: true,
23
+ get: function () { return reactHtml.HtmlAttributes; }
24
+ });
25
+ Object.defineProperty(exports, 'Hydrator', {
26
+ enumerable: true,
27
+ get: function () { return reactHtml.Hydrator; }
28
+ });
29
+ Object.defineProperty(exports, 'Link', {
30
+ enumerable: true,
31
+ get: function () { return reactHtml.Link; }
32
+ });
33
+ Object.defineProperty(exports, 'Meta', {
34
+ enumerable: true,
35
+ get: function () { return reactHtml.Meta; }
36
+ });
37
+ Object.defineProperty(exports, 'SearchRobots', {
38
+ enumerable: true,
39
+ get: function () { return reactHtml.SearchRobots; }
40
+ });
41
+ Object.defineProperty(exports, 'Serialize', {
42
+ enumerable: true,
43
+ get: function () { return reactHtml.Serialize; }
44
+ });
45
+ Object.defineProperty(exports, 'ThemeColor', {
46
+ enumerable: true,
47
+ get: function () { return reactHtml.ThemeColor; }
48
+ });
49
+ Object.defineProperty(exports, 'Title', {
50
+ enumerable: true,
51
+ get: function () { return reactHtml.Title; }
52
+ });
53
+ Object.defineProperty(exports, 'Viewport', {
54
+ enumerable: true,
55
+ get: function () { return reactHtml.Viewport; }
56
+ });
57
+ Object.defineProperty(exports, 'getSerialized', {
58
+ enumerable: true,
59
+ get: function () { return reactHtml.getSerialized; }
60
+ });
61
+ Object.defineProperty(exports, 'useAlternateUrl', {
62
+ enumerable: true,
63
+ get: function () { return reactHtml.useAlternateUrl; }
64
+ });
65
+ Object.defineProperty(exports, 'useBodyAttributes', {
66
+ enumerable: true,
67
+ get: function () { return reactHtml.useBodyAttributes; }
68
+ });
69
+ Object.defineProperty(exports, 'useFavicon', {
70
+ enumerable: true,
71
+ get: function () { return reactHtml.useFavicon; }
72
+ });
73
+ Object.defineProperty(exports, 'useHtmlAttributes', {
74
+ enumerable: true,
75
+ get: function () { return reactHtml.useHtmlAttributes; }
76
+ });
77
+ Object.defineProperty(exports, 'useHtmlUpdater', {
78
+ enumerable: true,
79
+ get: function () { return reactHtml.useHtmlUpdater; }
80
+ });
81
+ Object.defineProperty(exports, 'useLink', {
82
+ enumerable: true,
83
+ get: function () { return reactHtml.useLink; }
84
+ });
85
+ Object.defineProperty(exports, 'useLocale', {
86
+ enumerable: true,
87
+ get: function () { return reactHtml.useLocale; }
88
+ });
89
+ Object.defineProperty(exports, 'useMeta', {
90
+ enumerable: true,
91
+ get: function () { return reactHtml.useMeta; }
92
+ });
93
+ Object.defineProperty(exports, 'useSearchRobots', {
94
+ enumerable: true,
95
+ get: function () { return reactHtml.useSearchRobots; }
96
+ });
97
+ Object.defineProperty(exports, 'useSerialized', {
98
+ enumerable: true,
99
+ get: function () { return reactHtml.useSerialized; }
100
+ });
101
+ Object.defineProperty(exports, 'useThemeColor', {
102
+ enumerable: true,
103
+ get: function () { return reactHtml.useThemeColor; }
104
+ });
105
+ Object.defineProperty(exports, 'useTitle', {
106
+ enumerable: true,
107
+ get: function () { return reactHtml.useTitle; }
108
+ });
109
+ Object.defineProperty(exports, 'useViewport', {
110
+ enumerable: true,
111
+ get: function () { return reactHtml.useViewport; }
112
+ });
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var httpHandlers = require('@quilted/http-handlers');
6
+
7
+
8
+
9
+ Object.keys(httpHandlers).forEach(function (k) {
10
+ if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
11
+ enumerable: true,
12
+ get: function () { return httpHandlers[k]; }
13
+ });
14
+ });
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var node = require('@quilted/http-handlers/node');
6
+
7
+
8
+
9
+ Object.keys(node).forEach(function (k) {
10
+ if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
11
+ enumerable: true,
12
+ get: function () { return node[k]; }
13
+ });
14
+ });
@@ -0,0 +1,108 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var reactHttp = require('@quilted/react-http');
6
+
7
+
8
+
9
+ Object.defineProperty(exports, 'CacheControl', {
10
+ enumerable: true,
11
+ get: function () { return reactHttp.CacheControl; }
12
+ });
13
+ Object.defineProperty(exports, 'ContentSecurityPolicy', {
14
+ enumerable: true,
15
+ get: function () { return reactHttp.ContentSecurityPolicy; }
16
+ });
17
+ Object.defineProperty(exports, 'ContentSecurityPolicyDirective', {
18
+ enumerable: true,
19
+ get: function () { return reactHttp.ContentSecurityPolicyDirective; }
20
+ });
21
+ Object.defineProperty(exports, 'ContentSecurityPolicySandboxAllow', {
22
+ enumerable: true,
23
+ get: function () { return reactHttp.ContentSecurityPolicySandboxAllow; }
24
+ });
25
+ Object.defineProperty(exports, 'ContentSecurityPolicySpecialSource', {
26
+ enumerable: true,
27
+ get: function () { return reactHttp.ContentSecurityPolicySpecialSource; }
28
+ });
29
+ Object.defineProperty(exports, 'HttpContext', {
30
+ enumerable: true,
31
+ get: function () { return reactHttp.HttpContext; }
32
+ });
33
+ Object.defineProperty(exports, 'HttpMethod', {
34
+ enumerable: true,
35
+ get: function () { return reactHttp.HttpMethod; }
36
+ });
37
+ Object.defineProperty(exports, 'NotFound', {
38
+ enumerable: true,
39
+ get: function () { return reactHttp.NotFound; }
40
+ });
41
+ Object.defineProperty(exports, 'PermissionsPolicy', {
42
+ enumerable: true,
43
+ get: function () { return reactHttp.PermissionsPolicy; }
44
+ });
45
+ Object.defineProperty(exports, 'ResponseCookie', {
46
+ enumerable: true,
47
+ get: function () { return reactHttp.ResponseCookie; }
48
+ });
49
+ Object.defineProperty(exports, 'ResponseHeader', {
50
+ enumerable: true,
51
+ get: function () { return reactHttp.ResponseHeader; }
52
+ });
53
+ Object.defineProperty(exports, 'ResponseStatus', {
54
+ enumerable: true,
55
+ get: function () { return reactHttp.ResponseStatus; }
56
+ });
57
+ Object.defineProperty(exports, 'ResponseType', {
58
+ enumerable: true,
59
+ get: function () { return reactHttp.ResponseType; }
60
+ });
61
+ Object.defineProperty(exports, 'StatusCode', {
62
+ enumerable: true,
63
+ get: function () { return reactHttp.StatusCode; }
64
+ });
65
+ Object.defineProperty(exports, 'StrictTransportSecurity', {
66
+ enumerable: true,
67
+ get: function () { return reactHttp.StrictTransportSecurity; }
68
+ });
69
+ Object.defineProperty(exports, 'useCacheControl', {
70
+ enumerable: true,
71
+ get: function () { return reactHttp.useCacheControl; }
72
+ });
73
+ Object.defineProperty(exports, 'useContentSecurityPolicy', {
74
+ enumerable: true,
75
+ get: function () { return reactHttp.useContentSecurityPolicy; }
76
+ });
77
+ Object.defineProperty(exports, 'useDeleteResponseCookie', {
78
+ enumerable: true,
79
+ get: function () { return reactHttp.useDeleteResponseCookie; }
80
+ });
81
+ Object.defineProperty(exports, 'usePermissionsPolicy', {
82
+ enumerable: true,
83
+ get: function () { return reactHttp.usePermissionsPolicy; }
84
+ });
85
+ Object.defineProperty(exports, 'useRequestHeader', {
86
+ enumerable: true,
87
+ get: function () { return reactHttp.useRequestHeader; }
88
+ });
89
+ Object.defineProperty(exports, 'useResponseCookie', {
90
+ enumerable: true,
91
+ get: function () { return reactHttp.useResponseCookie; }
92
+ });
93
+ Object.defineProperty(exports, 'useResponseHeader', {
94
+ enumerable: true,
95
+ get: function () { return reactHttp.useResponseHeader; }
96
+ });
97
+ Object.defineProperty(exports, 'useResponseRedirect', {
98
+ enumerable: true,
99
+ get: function () { return reactHttp.useResponseRedirect; }
100
+ });
101
+ Object.defineProperty(exports, 'useResponseStatus', {
102
+ enumerable: true,
103
+ get: function () { return reactHttp.useResponseStatus; }
104
+ });
105
+ Object.defineProperty(exports, 'useStrictTransportSecurity', {
106
+ enumerable: true,
107
+ get: function () { return reactHttp.useStrictTransportSecurity; }
108
+ });