@zsherman/canvas 0.0.0-stage → 0.1.1

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 (196) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/LICENSE +373 -0
  3. package/README.md +15 -2
  4. package/THIRD_PARTY_NOTICES.md +117 -0
  5. package/dist/dom/canvas/assets.js +89 -0
  6. package/dist/dom/canvas/board-store.js +56 -0
  7. package/dist/dom/canvas/canvas-actions.js +78 -0
  8. package/dist/dom/canvas/canvas-board.js +557 -0
  9. package/dist/dom/canvas/canvas-board.styles.js +110 -0
  10. package/dist/dom/canvas/canvas-chrome.js +1167 -0
  11. package/dist/dom/canvas/canvas-chrome.styles.js +220 -0
  12. package/dist/dom/canvas/canvas-comments.js +950 -0
  13. package/dist/dom/canvas/canvas-comments.styles.js +231 -0
  14. package/dist/dom/canvas/canvas-context.js +196 -0
  15. package/dist/dom/canvas/canvas-controller.js +697 -0
  16. package/dist/dom/canvas/canvas-cursor-chat.js +120 -0
  17. package/dist/dom/canvas/canvas-cursor-chat.styles.js +55 -0
  18. package/dist/dom/canvas/canvas-menus.js +276 -0
  19. package/dist/dom/canvas/canvas-menus.styles.js +7 -0
  20. package/dist/dom/canvas/canvas-style-bar.js +930 -0
  21. package/dist/dom/canvas/canvas-style-bar.styles.js +52 -0
  22. package/dist/dom/canvas/canvas-surface.js +1354 -0
  23. package/dist/dom/canvas/canvas-surface.styles.js +345 -0
  24. package/dist/dom/canvas/canvas-tool-rail.js +406 -0
  25. package/dist/dom/canvas/canvas-tool-rail.styles.js +20 -0
  26. package/dist/dom/canvas/comments.js +58 -0
  27. package/dist/dom/canvas/equality.js +13 -0
  28. package/dist/dom/canvas/export-png.js +496 -0
  29. package/dist/dom/canvas/gesture-machine.js +91 -0
  30. package/dist/dom/canvas/handlers.js +18 -0
  31. package/dist/dom/canvas/index.js +9 -0
  32. package/dist/dom/canvas/input.js +85 -0
  33. package/dist/dom/canvas/instant.js +28 -0
  34. package/dist/dom/canvas/kernel.js +39 -0
  35. package/dist/dom/canvas/motion.js +686 -0
  36. package/dist/dom/canvas/palette.js +165 -0
  37. package/dist/dom/canvas/random-id.js +15 -0
  38. package/dist/dom/canvas/scene-renderer.js +559 -0
  39. package/dist/dom/canvas/scene.styles.js +7 -0
  40. package/dist/dom/canvas/surface-model.js +324 -0
  41. package/dist/dom/canvas/uploads.js +294 -0
  42. package/dist/dom/index.js +9 -0
  43. package/dist/dom/kernel/actions.js +455 -0
  44. package/dist/dom/kernel/board.js +856 -0
  45. package/dist/dom/kernel/claims.js +40 -0
  46. package/dist/dom/kernel/clipboard.js +30 -0
  47. package/dist/dom/kernel/constants.js +210 -0
  48. package/dist/dom/kernel/contract.js +0 -0
  49. package/dist/dom/kernel/decode.js +85 -0
  50. package/dist/dom/kernel/editor.js +2077 -0
  51. package/dist/dom/kernel/errors.js +82 -0
  52. package/dist/dom/kernel/fonts/inter.js +7924 -0
  53. package/dist/dom/kernel/fractional-index.js +54 -0
  54. package/dist/dom/kernel/geometry.js +123 -0
  55. package/dist/dom/kernel/hit-test.js +156 -0
  56. package/dist/dom/kernel/index.js +22 -0
  57. package/dist/dom/kernel/inspect.js +116 -0
  58. package/dist/dom/kernel/kernel.js +251 -0
  59. package/dist/dom/kernel/outline.js +64 -0
  60. package/dist/dom/kernel/plan.js +1370 -0
  61. package/dist/dom/kernel/rev.js +173 -0
  62. package/dist/dom/kernel/scene.js +580 -0
  63. package/dist/dom/kernel/schema.js +1109 -0
  64. package/dist/dom/kernel/snap.js +258 -0
  65. package/dist/dom/kernel/svg.js +148 -0
  66. package/dist/dom/kernel/text.js +142 -0
  67. package/dist/solid/canvas/assets.jsx +89 -0
  68. package/dist/solid/canvas/board-store.jsx +56 -0
  69. package/dist/solid/canvas/canvas-actions.jsx +78 -0
  70. package/dist/solid/canvas/canvas-board.jsx +326 -0
  71. package/dist/solid/canvas/canvas-board.styles.jsx +110 -0
  72. package/dist/solid/canvas/canvas-chrome.jsx +612 -0
  73. package/dist/solid/canvas/canvas-chrome.styles.jsx +220 -0
  74. package/dist/solid/canvas/canvas-comments.jsx +435 -0
  75. package/dist/solid/canvas/canvas-comments.styles.jsx +231 -0
  76. package/dist/solid/canvas/canvas-context.jsx +174 -0
  77. package/dist/solid/canvas/canvas-controller.jsx +697 -0
  78. package/dist/solid/canvas/canvas-cursor-chat.jsx +87 -0
  79. package/dist/solid/canvas/canvas-cursor-chat.styles.jsx +55 -0
  80. package/dist/solid/canvas/canvas-menus.jsx +223 -0
  81. package/dist/solid/canvas/canvas-menus.styles.jsx +7 -0
  82. package/dist/solid/canvas/canvas-style-bar.jsx +486 -0
  83. package/dist/solid/canvas/canvas-style-bar.styles.jsx +52 -0
  84. package/dist/solid/canvas/canvas-surface.jsx +681 -0
  85. package/dist/solid/canvas/canvas-surface.styles.jsx +345 -0
  86. package/dist/solid/canvas/canvas-tool-rail.jsx +195 -0
  87. package/dist/solid/canvas/canvas-tool-rail.styles.jsx +20 -0
  88. package/dist/solid/canvas/comments.jsx +58 -0
  89. package/dist/solid/canvas/equality.jsx +13 -0
  90. package/dist/solid/canvas/export-png.jsx +496 -0
  91. package/dist/solid/canvas/gesture-machine.jsx +91 -0
  92. package/dist/solid/canvas/handlers.jsx +18 -0
  93. package/dist/solid/canvas/index.jsx +9 -0
  94. package/dist/solid/canvas/input.jsx +85 -0
  95. package/dist/solid/canvas/instant.jsx +28 -0
  96. package/dist/solid/canvas/kernel.jsx +39 -0
  97. package/dist/solid/canvas/motion.jsx +686 -0
  98. package/dist/solid/canvas/palette.jsx +165 -0
  99. package/dist/solid/canvas/random-id.jsx +15 -0
  100. package/dist/solid/canvas/scene-renderer.jsx +559 -0
  101. package/dist/solid/canvas/scene.styles.jsx +7 -0
  102. package/dist/solid/canvas/surface-model.jsx +324 -0
  103. package/dist/solid/canvas/uploads.jsx +294 -0
  104. package/dist/solid/index.jsx +9 -0
  105. package/dist/solid/kernel/actions.jsx +455 -0
  106. package/dist/solid/kernel/board.jsx +856 -0
  107. package/dist/solid/kernel/claims.jsx +40 -0
  108. package/dist/solid/kernel/clipboard.jsx +30 -0
  109. package/dist/solid/kernel/constants.jsx +210 -0
  110. package/dist/solid/kernel/contract.jsx +0 -0
  111. package/dist/solid/kernel/decode.jsx +85 -0
  112. package/dist/solid/kernel/editor.jsx +2077 -0
  113. package/dist/solid/kernel/errors.jsx +82 -0
  114. package/dist/solid/kernel/fonts/inter.jsx +7924 -0
  115. package/dist/solid/kernel/fractional-index.jsx +54 -0
  116. package/dist/solid/kernel/geometry.jsx +123 -0
  117. package/dist/solid/kernel/hit-test.jsx +156 -0
  118. package/dist/solid/kernel/index.jsx +22 -0
  119. package/dist/solid/kernel/inspect.jsx +116 -0
  120. package/dist/solid/kernel/kernel.jsx +251 -0
  121. package/dist/solid/kernel/outline.jsx +64 -0
  122. package/dist/solid/kernel/plan.jsx +1370 -0
  123. package/dist/solid/kernel/rev.jsx +173 -0
  124. package/dist/solid/kernel/scene.jsx +580 -0
  125. package/dist/solid/kernel/schema.jsx +1109 -0
  126. package/dist/solid/kernel/snap.jsx +258 -0
  127. package/dist/solid/kernel/svg.jsx +148 -0
  128. package/dist/solid/kernel/text.jsx +142 -0
  129. package/dist/styles.css +1 -0
  130. package/dist/types/canvas/assets.d.ts +111 -0
  131. package/dist/types/canvas/board-store.d.ts +86 -0
  132. package/dist/types/canvas/canvas-actions.d.ts +21 -0
  133. package/dist/types/canvas/canvas-board.d.ts +53 -0
  134. package/dist/types/canvas/canvas-board.styles.d.ts +94 -0
  135. package/dist/types/canvas/canvas-chrome.d.ts +109 -0
  136. package/dist/types/canvas/canvas-chrome.styles.d.ts +193 -0
  137. package/dist/types/canvas/canvas-comments.d.ts +20 -0
  138. package/dist/types/canvas/canvas-comments.styles.d.ts +208 -0
  139. package/dist/types/canvas/canvas-context.d.ts +104 -0
  140. package/dist/types/canvas/canvas-controller.d.ts +159 -0
  141. package/dist/types/canvas/canvas-cursor-chat.d.ts +13 -0
  142. package/dist/types/canvas/canvas-cursor-chat.styles.d.ts +54 -0
  143. package/dist/types/canvas/canvas-menus.d.ts +21 -0
  144. package/dist/types/canvas/canvas-menus.styles.d.ts +6 -0
  145. package/dist/types/canvas/canvas-style-bar.d.ts +19 -0
  146. package/dist/types/canvas/canvas-style-bar.styles.d.ts +43 -0
  147. package/dist/types/canvas/canvas-surface.d.ts +15 -0
  148. package/dist/types/canvas/canvas-surface.styles.d.ts +313 -0
  149. package/dist/types/canvas/canvas-tool-rail.d.ts +41 -0
  150. package/dist/types/canvas/canvas-tool-rail.styles.d.ts +15 -0
  151. package/dist/types/canvas/comments.d.ts +106 -0
  152. package/dist/types/canvas/equality.d.ts +4 -0
  153. package/dist/types/canvas/export-png.d.ts +77 -0
  154. package/dist/types/canvas/gesture-machine.d.ts +46 -0
  155. package/dist/types/canvas/handlers.d.ts +7 -0
  156. package/dist/types/canvas/index.d.ts +18 -0
  157. package/dist/types/canvas/input.d.ts +63 -0
  158. package/dist/types/canvas/instant.d.ts +13 -0
  159. package/dist/types/canvas/kernel.d.ts +27 -0
  160. package/dist/types/canvas/motion.d.ts +72 -0
  161. package/dist/types/canvas/palette.d.ts +46 -0
  162. package/dist/types/canvas/random-id.d.ts +6 -0
  163. package/dist/types/canvas/scene-renderer.d.ts +27 -0
  164. package/dist/types/canvas/scene.styles.d.ts +4 -0
  165. package/dist/types/canvas/surface-model.d.ts +113 -0
  166. package/dist/types/canvas/uploads.d.ts +58 -0
  167. package/dist/types/index.d.ts +1 -0
  168. package/dist/types/kernel/actions.d.ts +19 -0
  169. package/dist/types/kernel/board.d.ts +137 -0
  170. package/dist/types/kernel/claims.d.ts +29 -0
  171. package/dist/types/kernel/clipboard.d.ts +10 -0
  172. package/dist/types/kernel/constants.d.ts +195 -0
  173. package/dist/types/kernel/contract.d.ts +1533 -0
  174. package/dist/types/kernel/decode.d.ts +60 -0
  175. package/dist/types/kernel/editor.d.ts +12 -0
  176. package/dist/types/kernel/errors.d.ts +11 -0
  177. package/dist/types/kernel/fractional-index.d.ts +7 -0
  178. package/dist/types/kernel/geometry.d.ts +42 -0
  179. package/dist/types/kernel/hit-test.d.ts +16 -0
  180. package/dist/types/kernel/index.d.ts +8 -0
  181. package/dist/types/kernel/inspect.d.ts +6 -0
  182. package/dist/types/kernel/kernel.d.ts +6 -0
  183. package/dist/types/kernel/outline.d.ts +4 -0
  184. package/dist/types/kernel/plan.d.ts +20 -0
  185. package/dist/types/kernel/rev.d.ts +21 -0
  186. package/dist/types/kernel/scene.d.ts +16 -0
  187. package/dist/types/kernel/schema.d.ts +3436 -0
  188. package/dist/types/kernel/snap.d.ts +41 -0
  189. package/dist/types/kernel/svg.d.ts +3 -0
  190. package/dist/types/kernel/text.d.ts +21 -0
  191. package/docs/api.json +207 -0
  192. package/docs/canvas.md +444 -0
  193. package/docs/kernel.md +108 -0
  194. package/docs/llms.txt +41 -0
  195. package/docs/search-index.json +52 -0
  196. package/package.json +60 -4
@@ -0,0 +1,193 @@
1
+ import * as stylex from "@stylexjs/stylex";
2
+ export declare const bar: Readonly<{
3
+ readonly floating: Readonly<{
4
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
5
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
6
+ readonly maxWidth: stylex.StyleXClassNameFor<"maxWidth", "100%">;
7
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
8
+ readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", string>;
9
+ }>;
10
+ readonly level: Readonly<{
11
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", "3.5rem">;
12
+ readonly fontVariantNumeric: stylex.StyleXClassNameFor<"fontVariantNumeric", "tabular-nums">;
13
+ }>;
14
+ readonly note: Readonly<{
15
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
16
+ readonly margin: stylex.StyleXClassNameFor<"margin", 0>;
17
+ readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
18
+ readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
19
+ readonly textOverflow: stylex.StyleXClassNameFor<"textOverflow", "ellipsis">;
20
+ readonly whiteSpace: stylex.StyleXClassNameFor<"whiteSpace", "nowrap">;
21
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
22
+ }>;
23
+ readonly who: Readonly<{
24
+ readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
25
+ }>;
26
+ readonly muted: Readonly<{
27
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
28
+ }>;
29
+ }>;
30
+ export declare const pill: Readonly<{
31
+ readonly root: Readonly<{
32
+ readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
33
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
34
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
35
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
36
+ readonly height: stylex.StyleXClassNameFor<"height", "2rem">;
37
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
38
+ readonly maxWidth: stylex.StyleXClassNameFor<"maxWidth", "100%">;
39
+ readonly paddingInlineStart: stylex.StyleXClassNameFor<"paddingInlineStart", string>;
40
+ readonly paddingInlineEnd: stylex.StyleXClassNameFor<"paddingInlineEnd", string>;
41
+ readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", "1px">;
42
+ readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
43
+ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
44
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
45
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "color-mix(in oklab, var(--sui-surface) 90%, transparent)">;
46
+ readonly backdropFilter: stylex.StyleXClassNameFor<"backdropFilter", "blur(8px)">;
47
+ readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", string>;
48
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
49
+ readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
50
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
51
+ readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", 1.4>;
52
+ }>;
53
+ readonly dismissible: Readonly<{
54
+ readonly paddingInlineEnd: stylex.StyleXClassNameFor<"paddingInlineEnd", string>;
55
+ }>;
56
+ readonly icon: Readonly<{
57
+ readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
58
+ readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
59
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
60
+ }>;
61
+ readonly warning: Readonly<{
62
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
63
+ }>;
64
+ readonly error: Readonly<{
65
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
66
+ }>;
67
+ readonly text: Readonly<{
68
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
69
+ readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
70
+ readonly textOverflow: stylex.StyleXClassNameFor<"textOverflow", "ellipsis">;
71
+ readonly whiteSpace: stylex.StyleXClassNameFor<"whiteSpace", "nowrap">;
72
+ }>;
73
+ readonly actions: Readonly<{
74
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
75
+ readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
76
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
77
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
78
+ }>;
79
+ readonly dismiss: Readonly<{
80
+ readonly position: stylex.StyleXClassNameFor<"position", "relative">;
81
+ readonly width: stylex.StyleXClassNameFor<"width", "1.5rem">;
82
+ readonly height: stylex.StyleXClassNameFor<"height", "1.5rem">;
83
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", "1.5rem">;
84
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
85
+ readonly "::after": stylex.StyleXClassNameFor<"::after", {
86
+ readonly content: {
87
+ readonly default: null;
88
+ readonly "@media (pointer: coarse)": "''";
89
+ };
90
+ readonly position: "absolute";
91
+ readonly inset: "-0.625rem";
92
+ }>;
93
+ }>;
94
+ readonly inline: Readonly<{
95
+ readonly height: stylex.StyleXClassNameFor<"height", "1.5rem">;
96
+ readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
97
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
98
+ }>;
99
+ }>;
100
+ export declare const presence: Readonly<{
101
+ readonly trigger: Readonly<{
102
+ readonly height: stylex.StyleXClassNameFor<"height", "auto">;
103
+ readonly minHeight: stylex.StyleXClassNameFor<"minHeight", 0>;
104
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
105
+ readonly padding: stylex.StyleXClassNameFor<"padding", "0.125rem">;
106
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
107
+ }>;
108
+ readonly followers: Readonly<{
109
+ readonly paddingInlineStart: stylex.StyleXClassNameFor<"paddingInlineStart", string>;
110
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
111
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
112
+ readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
113
+ }>;
114
+ readonly list: Readonly<{
115
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", "12rem">;
116
+ }>;
117
+ readonly fallback: Readonly<{
118
+ readonly forcedColorAdjust: stylex.StyleXClassNameFor<"forcedColorAdjust", "none">;
119
+ }>;
120
+ readonly agent: Readonly<{
121
+ readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
122
+ }>;
123
+ readonly name: Readonly<{
124
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
125
+ readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
126
+ readonly textOverflow: stylex.StyleXClassNameFor<"textOverflow", "ellipsis">;
127
+ readonly whiteSpace: stylex.StyleXClassNameFor<"whiteSpace", "nowrap">;
128
+ }>;
129
+ readonly meta: Readonly<{
130
+ readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
131
+ readonly marginInlineStart: stylex.StyleXClassNameFor<"marginInlineStart", "auto">;
132
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
133
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
134
+ }>;
135
+ }>;
136
+ export declare const empty: Readonly<{
137
+ readonly root: Readonly<{
138
+ readonly position: stylex.StyleXClassNameFor<"position", "absolute">;
139
+ readonly inset: stylex.StyleXClassNameFor<"inset", 0>;
140
+ readonly height: stylex.StyleXClassNameFor<"height", "fit-content">;
141
+ readonly maxWidth: stylex.StyleXClassNameFor<"maxWidth", "20rem">;
142
+ readonly margin: stylex.StyleXClassNameFor<"margin", "auto">;
143
+ readonly pointerEvents: stylex.StyleXClassNameFor<"pointerEvents", "none">;
144
+ }>;
145
+ readonly actions: Readonly<{
146
+ readonly pointerEvents: stylex.StyleXClassNameFor<"pointerEvents", "auto">;
147
+ }>;
148
+ }>;
149
+ export declare const shortcuts: Readonly<{
150
+ readonly groups: Readonly<{
151
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
152
+ readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
153
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
154
+ }>;
155
+ readonly section: Readonly<{
156
+ readonly margin: stylex.StyleXClassNameFor<"margin", 0>;
157
+ }>;
158
+ readonly heading: Readonly<{
159
+ readonly margin: stylex.StyleXClassNameFor<"margin", 0>;
160
+ readonly marginBottom: stylex.StyleXClassNameFor<"marginBottom", string>;
161
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
162
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
163
+ readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
164
+ }>;
165
+ readonly list: Readonly<{
166
+ readonly display: stylex.StyleXClassNameFor<"display", "grid">;
167
+ readonly gridTemplateColumns: stylex.StyleXClassNameFor<"gridTemplateColumns", "repeat(auto-fill, minmax(min(13rem, 100%), 1fr))">;
168
+ readonly columnGap: stylex.StyleXClassNameFor<"columnGap", string>;
169
+ readonly rowGap: stylex.StyleXClassNameFor<"rowGap", string>;
170
+ readonly margin: stylex.StyleXClassNameFor<"margin", 0>;
171
+ readonly padding: stylex.StyleXClassNameFor<"padding", 0>;
172
+ readonly listStyle: stylex.StyleXClassNameFor<"listStyle", "none">;
173
+ }>;
174
+ readonly row: Readonly<{
175
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
176
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
177
+ readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "space-between">;
178
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
179
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
180
+ readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
181
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
182
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
183
+ }>;
184
+ readonly label: Readonly<{
185
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
186
+ }>;
187
+ readonly keys: Readonly<{
188
+ readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
189
+ readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
190
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
191
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
192
+ }>;
193
+ }>;
@@ -0,0 +1,20 @@
1
+ import type { JSX } from "@solidjs/web";
2
+ import { type CanvasComments } from "./comments.js";
3
+ /**
4
+ * Comment pins over the board, which move with the view, and the thread popover a pin opens. A click with
5
+ * the comment tool starts a thread there, on the shape under it when there is one.
6
+ */
7
+ declare function CanvasCommentLayer(props: {
8
+ comments: CanvasComments;
9
+ showResolved: boolean;
10
+ }): JSX.Element;
11
+ /**
12
+ * The comment tool's bar, top centre: what a click does, and the switch that shows resolved threads,
13
+ * dimmed, beside the open ones.
14
+ */
15
+ declare function CanvasCommentBar(props: {
16
+ comments: CanvasComments;
17
+ onShowResolvedChange: (show: boolean) => void;
18
+ showResolved: boolean;
19
+ }): JSX.Element;
20
+ export { CanvasCommentBar, CanvasCommentLayer };
@@ -0,0 +1,208 @@
1
+ import * as stylex from "@stylexjs/stylex";
2
+ /** Pins over the board, and the thread popover a pin opens. */
3
+ export declare const layer: Readonly<{
4
+ readonly root: Readonly<{
5
+ readonly position: stylex.StyleXClassNameFor<"position", "absolute">;
6
+ readonly inset: stylex.StyleXClassNameFor<"inset", 0>;
7
+ readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
8
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", "inherit">;
9
+ readonly pointerEvents: stylex.StyleXClassNameFor<"pointerEvents", "none">;
10
+ }>;
11
+ readonly pin: Readonly<{
12
+ readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
13
+ readonly position: stylex.StyleXClassNameFor<"position", "absolute">;
14
+ readonly top: stylex.StyleXClassNameFor<"top", 0>;
15
+ readonly left: stylex.StyleXClassNameFor<"left", 0>;
16
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
17
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
18
+ readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
19
+ readonly width: stylex.StyleXClassNameFor<"width", "2rem">;
20
+ readonly height: stylex.StyleXClassNameFor<"height", "2rem">;
21
+ readonly margin: stylex.StyleXClassNameFor<"margin", 0>;
22
+ readonly padding: stylex.StyleXClassNameFor<"padding", 0>;
23
+ readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", "1px">;
24
+ readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
25
+ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
26
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
27
+ readonly borderBottomLeftRadius: stylex.StyleXClassNameFor<"borderBottomLeftRadius", 0>;
28
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
29
+ readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", string>;
30
+ readonly willChange: stylex.StyleXClassNameFor<"willChange", "transform">;
31
+ readonly pointerEvents: stylex.StyleXClassNameFor<"pointerEvents", "auto">;
32
+ readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer">;
33
+ readonly outlineStyle: stylex.StyleXClassNameFor<"outlineStyle", "none" | "solid">;
34
+ readonly outlineWidth: stylex.StyleXClassNameFor<"outlineWidth", "2px">;
35
+ readonly outlineOffset: stylex.StyleXClassNameFor<"outlineOffset", "1px">;
36
+ readonly outlineColor: stylex.StyleXClassNameFor<"outlineColor", string>;
37
+ readonly opacity: stylex.StyleXClassNameFor<"opacity", unknown>;
38
+ }>;
39
+ readonly draft: Readonly<{
40
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "Highlight" | "oklch(0.54 0.264 277)">;
41
+ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", "CanvasText" | "transparent">;
42
+ readonly pointerEvents: stylex.StyleXClassNameFor<"pointerEvents", "none">;
43
+ readonly forcedColorAdjust: stylex.StyleXClassNameFor<"forcedColorAdjust", "none">;
44
+ }>;
45
+ }>;
46
+ /** The thread popover's parts. */
47
+ export declare const thread: Readonly<{
48
+ readonly popup: Readonly<{
49
+ readonly gap: stylex.StyleXClassNameFor<"gap", 0>;
50
+ readonly maxHeight: stylex.StyleXClassNameFor<"maxHeight", "min(32rem, var(--available-height))">;
51
+ readonly overflowY: stylex.StyleXClassNameFor<"overflowY", "hidden">;
52
+ }>;
53
+ readonly header: Readonly<{
54
+ readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
55
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
56
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
57
+ readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
58
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
59
+ readonly height: stylex.StyleXClassNameFor<"height", "2.75rem">;
60
+ readonly paddingInlineStart: stylex.StyleXClassNameFor<"paddingInlineStart", string>;
61
+ readonly paddingInlineEnd: stylex.StyleXClassNameFor<"paddingInlineEnd", string>;
62
+ readonly borderBottomWidth: stylex.StyleXClassNameFor<"borderBottomWidth", "1px">;
63
+ readonly borderBottomStyle: stylex.StyleXClassNameFor<"borderBottomStyle", "solid">;
64
+ readonly borderBottomColor: stylex.StyleXClassNameFor<"borderBottomColor", string>;
65
+ }>;
66
+ readonly title: Readonly<{
67
+ readonly flex: stylex.StyleXClassNameFor<"flex", "1 1 auto">;
68
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
69
+ readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
70
+ readonly textOverflow: stylex.StyleXClassNameFor<"textOverflow", "ellipsis">;
71
+ readonly whiteSpace: stylex.StyleXClassNameFor<"whiteSpace", "nowrap">;
72
+ }>;
73
+ readonly list: Readonly<{
74
+ readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
75
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
76
+ readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
77
+ readonly flex: stylex.StyleXClassNameFor<"flex", "0 1 auto">;
78
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
79
+ readonly minHeight: stylex.StyleXClassNameFor<"minHeight", 0>;
80
+ readonly maxHeight: stylex.StyleXClassNameFor<"maxHeight", "20rem">;
81
+ readonly margin: stylex.StyleXClassNameFor<"margin", 0>;
82
+ readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
83
+ readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
84
+ readonly listStyle: stylex.StyleXClassNameFor<"listStyle", "none">;
85
+ readonly overflowY: stylex.StyleXClassNameFor<"overflowY", "auto">;
86
+ readonly overscrollBehavior: stylex.StyleXClassNameFor<"overscrollBehavior", "contain">;
87
+ }>;
88
+ readonly item: Readonly<{
89
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
90
+ }>;
91
+ readonly footer: Readonly<{
92
+ readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
93
+ readonly padding: stylex.StyleXClassNameFor<"padding", string>;
94
+ readonly borderTopWidth: stylex.StyleXClassNameFor<"borderTopWidth", "1px">;
95
+ readonly borderTopStyle: stylex.StyleXClassNameFor<"borderTopStyle", "solid">;
96
+ readonly borderTopColor: stylex.StyleXClassNameFor<"borderTopColor", string>;
97
+ }>;
98
+ readonly draft: Readonly<{
99
+ readonly padding: stylex.StyleXClassNameFor<"padding", string>;
100
+ }>;
101
+ readonly hiddenTitle: Readonly<{
102
+ readonly position: stylex.StyleXClassNameFor<"position", "absolute">;
103
+ readonly width: stylex.StyleXClassNameFor<"width", "1px">;
104
+ readonly height: stylex.StyleXClassNameFor<"height", "1px">;
105
+ readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
106
+ readonly clipPath: stylex.StyleXClassNameFor<"clipPath", "inset(50%)">;
107
+ readonly whiteSpace: stylex.StyleXClassNameFor<"whiteSpace", "nowrap">;
108
+ }>;
109
+ }>;
110
+ /** One comment and the field that writes one. */
111
+ export declare const comment: Readonly<{
112
+ readonly row: Readonly<{
113
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
114
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "flex-start">;
115
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
116
+ readonly margin: stylex.StyleXClassNameFor<"margin", 0>;
117
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
118
+ }>;
119
+ readonly avatar: Readonly<{
120
+ readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
121
+ readonly forcedColorAdjust: stylex.StyleXClassNameFor<"forcedColorAdjust", "none">;
122
+ }>;
123
+ readonly content: Readonly<{
124
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
125
+ readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
126
+ readonly flex: stylex.StyleXClassNameFor<"flex", "1 1 auto">;
127
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
128
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
129
+ }>;
130
+ readonly head: Readonly<{
131
+ readonly position: stylex.StyleXClassNameFor<"position", "relative">;
132
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
133
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
134
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
135
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
136
+ readonly height: stylex.StyleXClassNameFor<"height", "1.5rem">;
137
+ }>;
138
+ readonly author: Readonly<{
139
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
140
+ readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
141
+ readonly textOverflow: stylex.StyleXClassNameFor<"textOverflow", "ellipsis">;
142
+ readonly whiteSpace: stylex.StyleXClassNameFor<"whiteSpace", "nowrap">;
143
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
144
+ readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
145
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
146
+ }>;
147
+ readonly time: Readonly<{
148
+ readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
149
+ readonly whiteSpace: stylex.StyleXClassNameFor<"whiteSpace", "nowrap">;
150
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
151
+ readonly fontVariantNumeric: stylex.StyleXClassNameFor<"fontVariantNumeric", "tabular-nums">;
152
+ readonly unicodeBidi: stylex.StyleXClassNameFor<"unicodeBidi", "plaintext">;
153
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
154
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
155
+ readonly outlineStyle: stylex.StyleXClassNameFor<"outlineStyle", "none" | "solid">;
156
+ readonly outlineWidth: stylex.StyleXClassNameFor<"outlineWidth", "2px">;
157
+ readonly outlineOffset: stylex.StyleXClassNameFor<"outlineOffset", "2px">;
158
+ readonly outlineColor: stylex.StyleXClassNameFor<"outlineColor", string>;
159
+ }>;
160
+ readonly actions: Readonly<{
161
+ readonly position: stylex.StyleXClassNameFor<"position", "absolute">;
162
+ readonly insetInlineEnd: stylex.StyleXClassNameFor<"insetInlineEnd", 0>;
163
+ readonly top: stylex.StyleXClassNameFor<"top", "50%">;
164
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
165
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
166
+ readonly paddingInlineStart: stylex.StyleXClassNameFor<"paddingInlineStart", string>;
167
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
168
+ readonly transform: stylex.StyleXClassNameFor<"transform", "translateY(-50%)">;
169
+ readonly opacity: stylex.StyleXClassNameFor<"opacity", 0 | 1>;
170
+ readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "opacity">;
171
+ readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", string>;
172
+ }>;
173
+ readonly body: Readonly<{
174
+ readonly margin: stylex.StyleXClassNameFor<"margin", 0>;
175
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
176
+ readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
177
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
178
+ readonly whiteSpace: stylex.StyleXClassNameFor<"whiteSpace", "pre-wrap">;
179
+ readonly overflowWrap: stylex.StyleXClassNameFor<"overflowWrap", "anywhere">;
180
+ readonly unicodeBidi: stylex.StyleXClassNameFor<"unicodeBidi", "plaintext">;
181
+ }>;
182
+ readonly form: Readonly<{
183
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
184
+ readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
185
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
186
+ readonly margin: stylex.StyleXClassNameFor<"margin", 0>;
187
+ }>;
188
+ readonly buttons: Readonly<{
189
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
190
+ readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "flex-end">;
191
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
192
+ }>;
193
+ readonly error: Readonly<{
194
+ readonly margin: stylex.StyleXClassNameFor<"margin", 0>;
195
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
196
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
197
+ readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
198
+ }>;
199
+ }>;
200
+ /** The comment tool's bar. */
201
+ export declare const bar: Readonly<{
202
+ readonly hint: Readonly<{
203
+ readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
204
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
205
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
206
+ readonly whiteSpace: stylex.StyleXClassNameFor<"whiteSpace", "nowrap">;
207
+ }>;
208
+ }>;
@@ -0,0 +1,104 @@
1
+ import type { JSX } from "@solidjs/web";
2
+ import { type Accessor } from "solid-js";
3
+ import type { ActionIdJson, CommandJson, EditorInputJson, ToolStyleJson } from "../kernel/index.js";
4
+ import type { CanvasAssets } from "./assets.js";
5
+ import type { CanvasBoardStore } from "./board-store.js";
6
+ import { type CanvasController, type CanvasControllerOptions, type CanvasSnapshot } from "./canvas-controller.js";
7
+ import { type CanvasKernel } from "./kernel.js";
8
+ import { type CanvasUpload, type CanvasUploads } from "./uploads.js";
9
+ /** The host's image storage and the viewer's uploads, when the board has images. */
10
+ export interface CanvasMedia {
11
+ readonly assets: CanvasAssets;
12
+ readonly uploads: CanvasUploads;
13
+ }
14
+ /** What every part of a board reads: one viewer's editor and the reactive views of it. */
15
+ interface CanvasSession {
16
+ readonly controller: CanvasController;
17
+ /** The board, the viewer's editor state and everyone else's presence; a new object after every change. */
18
+ readonly snapshot: Accessor<CanvasSnapshot>;
19
+ /** The host's image storage, or null without `assets`. */
20
+ readonly media: Accessor<CanvasMedia | null>;
21
+ /** The viewer's uploads in flight or failed, with their progress. */
22
+ readonly uploads: Accessor<readonly CanvasUpload[]>;
23
+ }
24
+ export interface CanvasProviderProps {
25
+ /** A loaded kernel, from `useCanvasKernel` or `loadCanvasKernel`. A new one starts a new editor. */
26
+ canvas: CanvasKernel;
27
+ /** The board's data, which the app owns. A new store starts a new editor. */
28
+ store: CanvasBoardStore;
29
+ /**
30
+ * Only Select and Hand work, and nothing is sent but presence.
31
+ * @defaultValue false
32
+ */
33
+ readOnly?: boolean;
34
+ /** Where the view starts: the board point at the top left, and the zoom. Left out, the board fits its shapes. */
35
+ initialView?: CanvasControllerOptions["view"];
36
+ /** Receives copies and cuts made outside a clipboard event, such as from a menu. */
37
+ onClipboard?: CanvasControllerOptions["onClipboard"];
38
+ /**
39
+ * A change was refused, by the kernel or the store, after the board told the viewer why. For a host's
40
+ * own logging; the board already shows it.
41
+ */
42
+ onError?: CanvasControllerOptions["onError"];
43
+ /** Where images are stored. Left out, the board has no image tool and ignores dropped and pasted files. */
44
+ assets?: CanvasAssets;
45
+ /**
46
+ * The host shows comments, so the comment tool and its shortcut work. `CanvasBoard` sets it from its
47
+ * `comments`.
48
+ * @defaultValue false
49
+ */
50
+ comments?: boolean;
51
+ children?: JSX.Element;
52
+ }
53
+ /**
54
+ * Holds one viewer's editor for a board store. A new `store` or `canvas` starts a new editor (and renders
55
+ * the children again); `readOnly` and `comments` follow their props.
56
+ */
57
+ export declare function CanvasProvider(props: CanvasProviderProps): JSX.Element;
58
+ /** The board's session: its controller and reactive views. Throws outside a `CanvasProvider`. */
59
+ export declare function useCanvasSession(): CanvasSession;
60
+ export declare function useCanvasController(): CanvasController;
61
+ /** The host's image storage and the viewer's uploads, or null without `assets`. */
62
+ export declare function useCanvasMedia(): Accessor<CanvasMedia | null>;
63
+ /** The viewer's uploads in flight or failed, with their progress. */
64
+ export declare function useCanvasUploads(): Accessor<readonly CanvasUpload[]>;
65
+ /** The board, the viewer's editor state and everyone else's presence. A new snapshot after every change. */
66
+ export declare function useCanvas(): Accessor<CanvasSnapshot>;
67
+ /**
68
+ * One slice of the snapshot, as a memo: readers re-run only when the slice changes by `equal`, so chrome
69
+ * that shows the tool doesn't re-run for every pointer move, which changes the snapshot each time.
70
+ */
71
+ export declare function useCanvasSelector<T>(select: (snapshot: CanvasSnapshot) => T, equal?: (a: T, b: T) => boolean): Accessor<T>;
72
+ /** The selected ids, keeping identity while the selection is the same. */
73
+ export declare function useCanvasSelection(): Accessor<readonly string[]>;
74
+ /** Commands for toolbars, menus and agent panels, sent as the viewer's own. */
75
+ export interface CanvasCommands {
76
+ /** Run a named action, such as `undo` or `tool-pen`. */
77
+ action: (action: ActionIdJson) => void;
78
+ /** Any editor input. */
79
+ dispatch: (input: EditorInputJson) => void;
80
+ /** Commands as one transaction, such as from an agent panel; undoable as one step. */
81
+ run: (commands: readonly CommandJson[], reason?: string | null) => void;
82
+ select: (ids: readonly string[]) => void;
83
+ /** Set the style for new shapes and restyle the selection. Only the keys given change. */
84
+ style: (style: Partial<ToolStyleJson>) => void;
85
+ zoom: (to: "fit" | "in" | "out" | "reset" | "selection") => void;
86
+ }
87
+ /** Commands for toolbars, menus and agent panels, sent as the viewer's own. */
88
+ export declare function useCanvasCommands(): CanvasCommands;
89
+ /** The kernel's loading state. */
90
+ export type CanvasKernelState = {
91
+ readonly status: "loading";
92
+ } | {
93
+ readonly status: "ready";
94
+ readonly canvas: CanvasKernel;
95
+ } | {
96
+ readonly status: "failed";
97
+ readonly error: Error;
98
+ };
99
+ /**
100
+ * Loads the kernel once per page, after the component settles (the server and the first client render
101
+ * show `loading`).
102
+ */
103
+ export declare function useCanvasKernel(): Accessor<CanvasKernelState>;
104
+ export {};