@pyreon/meta 0.24.5 → 0.24.6
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/package.json +35 -37
- package/src/index.ts +0 -337
- package/src/tests/exports.test.ts +0 -194
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pyreon/meta",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.6",
|
|
4
4
|
"description": "Pyreon Meta — barrel package re-exporting the full Pyreon fundamentals ecosystem",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Vit Bokisch",
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
"lib",
|
|
14
14
|
"!lib/**/*.map",
|
|
15
15
|
"!lib/analysis",
|
|
16
|
-
"src",
|
|
17
16
|
"LICENSE",
|
|
18
17
|
"README.md"
|
|
19
18
|
],
|
|
@@ -24,7 +23,6 @@
|
|
|
24
23
|
"types": "./lib/types/index.d.ts",
|
|
25
24
|
"exports": {
|
|
26
25
|
".": {
|
|
27
|
-
"bun": "./src/index.ts",
|
|
28
26
|
"import": "./lib/index.js",
|
|
29
27
|
"types": "./lib/types/index.d.ts"
|
|
30
28
|
}
|
|
@@ -37,39 +35,39 @@
|
|
|
37
35
|
"lint": "oxlint ."
|
|
38
36
|
},
|
|
39
37
|
"dependencies": {
|
|
40
|
-
"@pyreon/attrs": "^0.24.
|
|
41
|
-
"@pyreon/charts": "^0.24.
|
|
42
|
-
"@pyreon/code": "^0.24.
|
|
43
|
-
"@pyreon/connector-document": "^0.24.
|
|
44
|
-
"@pyreon/coolgrid": "^0.24.
|
|
45
|
-
"@pyreon/dnd": "^0.24.
|
|
46
|
-
"@pyreon/document": "^0.24.
|
|
47
|
-
"@pyreon/document-primitives": "^0.24.
|
|
48
|
-
"@pyreon/elements": "^0.24.
|
|
49
|
-
"@pyreon/feature": "^0.24.
|
|
50
|
-
"@pyreon/flow": "^0.24.
|
|
51
|
-
"@pyreon/form": "^0.24.
|
|
52
|
-
"@pyreon/hooks": "^0.24.
|
|
53
|
-
"@pyreon/hotkeys": "^0.24.
|
|
54
|
-
"@pyreon/i18n": "^0.24.
|
|
55
|
-
"@pyreon/kinetic": "^0.24.
|
|
56
|
-
"@pyreon/kinetic-presets": "^0.24.
|
|
57
|
-
"@pyreon/machine": "^0.24.
|
|
58
|
-
"@pyreon/permissions": "^0.24.
|
|
59
|
-
"@pyreon/query": "^0.24.
|
|
60
|
-
"@pyreon/reactivity": "^0.24.
|
|
61
|
-
"@pyreon/rocketstyle": "^0.24.
|
|
62
|
-
"@pyreon/rx": "^0.24.
|
|
63
|
-
"@pyreon/state-tree": "^0.24.
|
|
64
|
-
"@pyreon/storage": "^0.24.
|
|
65
|
-
"@pyreon/store": "^0.24.
|
|
66
|
-
"@pyreon/styler": "^0.24.
|
|
67
|
-
"@pyreon/table": "^0.24.
|
|
68
|
-
"@pyreon/toast": "^0.24.
|
|
69
|
-
"@pyreon/ui-core": "^0.24.
|
|
70
|
-
"@pyreon/unistyle": "^0.24.
|
|
71
|
-
"@pyreon/url-state": "^0.24.
|
|
72
|
-
"@pyreon/validation": "^0.24.
|
|
73
|
-
"@pyreon/virtual": "^0.24.
|
|
38
|
+
"@pyreon/attrs": "^0.24.6",
|
|
39
|
+
"@pyreon/charts": "^0.24.6",
|
|
40
|
+
"@pyreon/code": "^0.24.6",
|
|
41
|
+
"@pyreon/connector-document": "^0.24.6",
|
|
42
|
+
"@pyreon/coolgrid": "^0.24.6",
|
|
43
|
+
"@pyreon/dnd": "^0.24.6",
|
|
44
|
+
"@pyreon/document": "^0.24.6",
|
|
45
|
+
"@pyreon/document-primitives": "^0.24.6",
|
|
46
|
+
"@pyreon/elements": "^0.24.6",
|
|
47
|
+
"@pyreon/feature": "^0.24.6",
|
|
48
|
+
"@pyreon/flow": "^0.24.6",
|
|
49
|
+
"@pyreon/form": "^0.24.6",
|
|
50
|
+
"@pyreon/hooks": "^0.24.6",
|
|
51
|
+
"@pyreon/hotkeys": "^0.24.6",
|
|
52
|
+
"@pyreon/i18n": "^0.24.6",
|
|
53
|
+
"@pyreon/kinetic": "^0.24.6",
|
|
54
|
+
"@pyreon/kinetic-presets": "^0.24.6",
|
|
55
|
+
"@pyreon/machine": "^0.24.6",
|
|
56
|
+
"@pyreon/permissions": "^0.24.6",
|
|
57
|
+
"@pyreon/query": "^0.24.6",
|
|
58
|
+
"@pyreon/reactivity": "^0.24.6",
|
|
59
|
+
"@pyreon/rocketstyle": "^0.24.6",
|
|
60
|
+
"@pyreon/rx": "^0.24.6",
|
|
61
|
+
"@pyreon/state-tree": "^0.24.6",
|
|
62
|
+
"@pyreon/storage": "^0.24.6",
|
|
63
|
+
"@pyreon/store": "^0.24.6",
|
|
64
|
+
"@pyreon/styler": "^0.24.6",
|
|
65
|
+
"@pyreon/table": "^0.24.6",
|
|
66
|
+
"@pyreon/toast": "^0.24.6",
|
|
67
|
+
"@pyreon/ui-core": "^0.24.6",
|
|
68
|
+
"@pyreon/unistyle": "^0.24.6",
|
|
69
|
+
"@pyreon/url-state": "^0.24.6",
|
|
70
|
+
"@pyreon/validation": "^0.24.6",
|
|
71
|
+
"@pyreon/virtual": "^0.24.6"
|
|
74
72
|
}
|
|
75
73
|
}
|
package/src/index.ts
DELETED
|
@@ -1,337 +0,0 @@
|
|
|
1
|
-
// ─── Store ───────────────────────────────────────────────────────────────────
|
|
2
|
-
|
|
3
|
-
export type { StoreApi, StorePlugin } from '@pyreon/store'
|
|
4
|
-
export {
|
|
5
|
-
addStorePlugin,
|
|
6
|
-
batch,
|
|
7
|
-
computed,
|
|
8
|
-
defineStore,
|
|
9
|
-
effect,
|
|
10
|
-
resetAllStores,
|
|
11
|
-
resetStore,
|
|
12
|
-
signal,
|
|
13
|
-
} from '@pyreon/store'
|
|
14
|
-
|
|
15
|
-
// ─── Form ────────────────────────────────────────────────────────────────────
|
|
16
|
-
|
|
17
|
-
export type {
|
|
18
|
-
FieldRegisterProps,
|
|
19
|
-
FieldState,
|
|
20
|
-
FormState,
|
|
21
|
-
UseFieldArrayResult,
|
|
22
|
-
UseFieldResult,
|
|
23
|
-
UseFormOptions,
|
|
24
|
-
} from '@pyreon/form'
|
|
25
|
-
export {
|
|
26
|
-
FormProvider,
|
|
27
|
-
useField,
|
|
28
|
-
useFieldArray,
|
|
29
|
-
useForm,
|
|
30
|
-
useFormContext,
|
|
31
|
-
useFormState,
|
|
32
|
-
useWatch,
|
|
33
|
-
} from '@pyreon/form'
|
|
34
|
-
|
|
35
|
-
// ─── Validation ──────────────────────────────────────────────────────────────
|
|
36
|
-
|
|
37
|
-
export type { SchemaAdapter, ValidationIssue } from '@pyreon/validation'
|
|
38
|
-
export { zodField, zodSchema } from '@pyreon/validation'
|
|
39
|
-
|
|
40
|
-
// ─── Query ───────────────────────────────────────────────────────────────────
|
|
41
|
-
|
|
42
|
-
export type { UseMutationResult, UseQueryResult } from '@pyreon/query'
|
|
43
|
-
export {
|
|
44
|
-
QueryClient,
|
|
45
|
-
QueryClientProvider,
|
|
46
|
-
useInfiniteQuery,
|
|
47
|
-
useIsFetching,
|
|
48
|
-
useIsMutating,
|
|
49
|
-
useMutation,
|
|
50
|
-
useQuery,
|
|
51
|
-
useQueryClient,
|
|
52
|
-
} from '@pyreon/query'
|
|
53
|
-
|
|
54
|
-
// ─── Table ───────────────────────────────────────────────────────────────────
|
|
55
|
-
|
|
56
|
-
export type { UseTableOptions } from '@pyreon/table'
|
|
57
|
-
export { flexRender, useTable } from '@pyreon/table'
|
|
58
|
-
|
|
59
|
-
// ─── Virtual ─────────────────────────────────────────────────────────────────
|
|
60
|
-
|
|
61
|
-
export type { UseVirtualizerOptions, UseVirtualizerResult } from '@pyreon/virtual'
|
|
62
|
-
export { useVirtualizer, useWindowVirtualizer } from '@pyreon/virtual'
|
|
63
|
-
|
|
64
|
-
// ─── i18n ────────────────────────────────────────────────────────────────────
|
|
65
|
-
|
|
66
|
-
export type { I18nInstance, I18nOptions } from '@pyreon/i18n'
|
|
67
|
-
export { createI18n, I18nProvider, Trans, useI18n } from '@pyreon/i18n'
|
|
68
|
-
|
|
69
|
-
// ─── Feature ─────────────────────────────────────────────────────────────────
|
|
70
|
-
|
|
71
|
-
export type { Feature, FeatureConfig } from '@pyreon/feature'
|
|
72
|
-
export { defineFeature, reference } from '@pyreon/feature'
|
|
73
|
-
|
|
74
|
-
// ─── Flow ────────────────────────────────────────────────────────────────────
|
|
75
|
-
|
|
76
|
-
export type { FlowConfig, FlowEdge, FlowInstance, FlowNode, NodeComponentProps } from '@pyreon/flow'
|
|
77
|
-
export {
|
|
78
|
-
Background,
|
|
79
|
-
Controls,
|
|
80
|
-
computeLayout,
|
|
81
|
-
createFlow,
|
|
82
|
-
Flow,
|
|
83
|
-
flowStyles,
|
|
84
|
-
Handle,
|
|
85
|
-
MiniMap,
|
|
86
|
-
NodeResizer,
|
|
87
|
-
NodeToolbar,
|
|
88
|
-
Panel,
|
|
89
|
-
Position,
|
|
90
|
-
} from '@pyreon/flow'
|
|
91
|
-
|
|
92
|
-
// ─── Code ────────────────────────────────────────────────────────────────────
|
|
93
|
-
|
|
94
|
-
export type { EditorConfig, EditorInstance } from '@pyreon/code'
|
|
95
|
-
export { CodeEditor, createEditor, DiffEditor, TabbedEditor } from '@pyreon/code'
|
|
96
|
-
|
|
97
|
-
// ─── Charts ──────────────────────────────────────────────────────────────────
|
|
98
|
-
|
|
99
|
-
export { Chart } from '@pyreon/charts'
|
|
100
|
-
|
|
101
|
-
// ─── Hotkeys ─────────────────────────────────────────────────────────────────
|
|
102
|
-
|
|
103
|
-
export { useHotkey, useHotkeyScope } from '@pyreon/hotkeys'
|
|
104
|
-
|
|
105
|
-
// ─── Storage ─────────────────────────────────────────────────────────────────
|
|
106
|
-
|
|
107
|
-
export {
|
|
108
|
-
createStorage,
|
|
109
|
-
useCookie,
|
|
110
|
-
useIndexedDB,
|
|
111
|
-
useMemoryStorage,
|
|
112
|
-
useStorage,
|
|
113
|
-
} from '@pyreon/storage'
|
|
114
|
-
|
|
115
|
-
// ─── State Tree ──────────────────────────────────────────────────────────────
|
|
116
|
-
|
|
117
|
-
export type { ModelDefinition, ModelInstance, Snapshot } from '@pyreon/state-tree'
|
|
118
|
-
export {
|
|
119
|
-
addMiddleware,
|
|
120
|
-
applyPatch,
|
|
121
|
-
applySnapshot,
|
|
122
|
-
getSnapshot,
|
|
123
|
-
model,
|
|
124
|
-
onPatch,
|
|
125
|
-
resetAllHooks,
|
|
126
|
-
resetHook,
|
|
127
|
-
} from '@pyreon/state-tree'
|
|
128
|
-
|
|
129
|
-
// ─── Machine ─────────────────────────────────────────────────────────────────
|
|
130
|
-
|
|
131
|
-
export { createMachine } from '@pyreon/machine'
|
|
132
|
-
|
|
133
|
-
// ─── Permissions ─────────────────────────────────────────────────────────────
|
|
134
|
-
|
|
135
|
-
export { createPermissions, PermissionsProvider, usePermissions } from '@pyreon/permissions'
|
|
136
|
-
|
|
137
|
-
// ─── Styler ──────────────────────────────────────────────────────────────────
|
|
138
|
-
|
|
139
|
-
export { createGlobalStyle, css, keyframes, styled } from '@pyreon/styler'
|
|
140
|
-
|
|
141
|
-
// ─── Hooks ───────────────────────────────────────────────────────────────────
|
|
142
|
-
|
|
143
|
-
export {
|
|
144
|
-
useBreakpoint,
|
|
145
|
-
useClickOutside,
|
|
146
|
-
useColorScheme,
|
|
147
|
-
useDebouncedCallback,
|
|
148
|
-
useDebouncedValue,
|
|
149
|
-
useElementSize,
|
|
150
|
-
useFocus,
|
|
151
|
-
useFocusTrap,
|
|
152
|
-
useHover,
|
|
153
|
-
useIntersection,
|
|
154
|
-
useInterval,
|
|
155
|
-
useKeyboard,
|
|
156
|
-
useMediaQuery,
|
|
157
|
-
useMergedRef,
|
|
158
|
-
useReducedMotion,
|
|
159
|
-
useScrollLock,
|
|
160
|
-
useThrottledCallback,
|
|
161
|
-
useTimeout,
|
|
162
|
-
useToggle,
|
|
163
|
-
useWindowResize,
|
|
164
|
-
} from '@pyreon/hooks'
|
|
165
|
-
|
|
166
|
-
// ─── Elements ────────────────────────────────────────────────────────────────
|
|
167
|
-
|
|
168
|
-
export { Element, Iterator, List, Overlay, Portal, Text } from '@pyreon/elements'
|
|
169
|
-
|
|
170
|
-
// ─── Unistyle ────────────────────────────────────────────────────────────────
|
|
171
|
-
|
|
172
|
-
export { makeItResponsive, normalizeTheme, sortBreakpoints } from '@pyreon/unistyle'
|
|
173
|
-
|
|
174
|
-
// ─── Coolgrid ────────────────────────────────────────────────────────────────
|
|
175
|
-
|
|
176
|
-
export { Col, Container, Row } from '@pyreon/coolgrid'
|
|
177
|
-
|
|
178
|
-
// ─── Kinetic ─────────────────────────────────────────────────────────────────
|
|
179
|
-
|
|
180
|
-
export { kinetic, useAnimationEnd, useTransitionState } from '@pyreon/kinetic'
|
|
181
|
-
|
|
182
|
-
// ─── Kinetic Presets ─────────────────────────────────────────────────────────
|
|
183
|
-
|
|
184
|
-
export {
|
|
185
|
-
createBlur,
|
|
186
|
-
createFade,
|
|
187
|
-
createRotate,
|
|
188
|
-
createScale,
|
|
189
|
-
createSlide,
|
|
190
|
-
} from '@pyreon/kinetic-presets'
|
|
191
|
-
|
|
192
|
-
// ─── Attrs ───────────────────────────────────────────────────────────────────
|
|
193
|
-
|
|
194
|
-
export { attrs } from '@pyreon/attrs'
|
|
195
|
-
|
|
196
|
-
// ─── Rocketstyle ─────────────────────────────────────────────────────────────
|
|
197
|
-
|
|
198
|
-
export { rocketstyle } from '@pyreon/rocketstyle'
|
|
199
|
-
|
|
200
|
-
// ─── Rx ──────────────────────────────────────────────────────────────────────
|
|
201
|
-
// Exposed as the `rx` namespace to avoid collisions with generic operator
|
|
202
|
-
// names (`merge` / `throttle` / `debounce`) used by other meta entries.
|
|
203
|
-
// Tree-shakeable via `sideEffects: false`; unused operators drop out at
|
|
204
|
-
// bundle time.
|
|
205
|
-
|
|
206
|
-
export type { KeyOf, ReadableSignal } from '@pyreon/rx'
|
|
207
|
-
export { rx } from '@pyreon/rx'
|
|
208
|
-
|
|
209
|
-
// ─── Toast ───────────────────────────────────────────────────────────────────
|
|
210
|
-
|
|
211
|
-
export type {
|
|
212
|
-
Toast,
|
|
213
|
-
ToasterProps,
|
|
214
|
-
ToastOptions,
|
|
215
|
-
ToastPosition,
|
|
216
|
-
ToastPromiseOptions,
|
|
217
|
-
ToastState,
|
|
218
|
-
ToastType,
|
|
219
|
-
} from '@pyreon/toast'
|
|
220
|
-
export { Toaster, toast } from '@pyreon/toast'
|
|
221
|
-
|
|
222
|
-
// ─── URL State ───────────────────────────────────────────────────────────────
|
|
223
|
-
|
|
224
|
-
export type {
|
|
225
|
-
ArrayFormat,
|
|
226
|
-
Serializer,
|
|
227
|
-
UrlRouter,
|
|
228
|
-
UrlStateOptions,
|
|
229
|
-
UrlStateSignal,
|
|
230
|
-
} from '@pyreon/url-state'
|
|
231
|
-
export { setUrlRouter, useUrlState } from '@pyreon/url-state'
|
|
232
|
-
|
|
233
|
-
// ─── DnD ─────────────────────────────────────────────────────────────────────
|
|
234
|
-
|
|
235
|
-
export type {
|
|
236
|
-
UseDragMonitorOptions,
|
|
237
|
-
UseDragMonitorResult,
|
|
238
|
-
UseFileDropOptions,
|
|
239
|
-
UseFileDropResult,
|
|
240
|
-
} from '@pyreon/dnd'
|
|
241
|
-
export {
|
|
242
|
-
useDragMonitor,
|
|
243
|
-
useDraggable,
|
|
244
|
-
useDroppable,
|
|
245
|
-
useFileDrop,
|
|
246
|
-
useSortable,
|
|
247
|
-
} from '@pyreon/dnd'
|
|
248
|
-
|
|
249
|
-
// ─── Document ────────────────────────────────────────────────────────────────
|
|
250
|
-
// Builder + render API only. The format-renderer chunks (PDF / DOCX / XLSX /
|
|
251
|
-
// PPTX) are lazy-loaded INSIDE `render()` via dynamic `import()` — they do
|
|
252
|
-
// NOT bundle eagerly into consumers' main chunk. Document's generic JSX
|
|
253
|
-
// primitive names (`Text` / `List` / `Row` / `Table` / `Image` / …) are
|
|
254
|
-
// deliberately NOT re-exported here because they collide with `@pyreon/
|
|
255
|
-
// elements` / `@pyreon/coolgrid`; use the `Doc*`-named primitives from
|
|
256
|
-
// `@pyreon/document-primitives` (re-exported below) for JSX, or import the
|
|
257
|
-
// builder primitives directly from `@pyreon/document` when needed.
|
|
258
|
-
|
|
259
|
-
export type {
|
|
260
|
-
DocumentBuilder,
|
|
261
|
-
DocumentProps,
|
|
262
|
-
DocumentRenderer,
|
|
263
|
-
OutputFormat,
|
|
264
|
-
PageOrientation,
|
|
265
|
-
PageSize,
|
|
266
|
-
} from '@pyreon/document'
|
|
267
|
-
export {
|
|
268
|
-
createDocument,
|
|
269
|
-
download,
|
|
270
|
-
isDocNode,
|
|
271
|
-
registerRenderer,
|
|
272
|
-
render,
|
|
273
|
-
unregisterRenderer,
|
|
274
|
-
} from '@pyreon/document'
|
|
275
|
-
|
|
276
|
-
// ─── Document Primitives ─────────────────────────────────────────────────────
|
|
277
|
-
// The `Doc*`-prefixed JSX primitives (the rocketstyle-based components that
|
|
278
|
-
// render in the browser AND export to 14+ formats via `extractDocNode`).
|
|
279
|
-
|
|
280
|
-
export type {
|
|
281
|
-
DocumentExport,
|
|
282
|
-
DocumentExportOptions,
|
|
283
|
-
DocumentTheme,
|
|
284
|
-
} from '@pyreon/document-primitives'
|
|
285
|
-
export {
|
|
286
|
-
DocButton,
|
|
287
|
-
DocCode,
|
|
288
|
-
DocColumn,
|
|
289
|
-
DocDivider,
|
|
290
|
-
DocDocument,
|
|
291
|
-
DocHeading,
|
|
292
|
-
DocImage,
|
|
293
|
-
DocLink,
|
|
294
|
-
DocList,
|
|
295
|
-
DocListItem,
|
|
296
|
-
DocPage,
|
|
297
|
-
DocPageBreak,
|
|
298
|
-
DocQuote,
|
|
299
|
-
DocRow,
|
|
300
|
-
DocSection,
|
|
301
|
-
DocSpacer,
|
|
302
|
-
DocTable,
|
|
303
|
-
DocText,
|
|
304
|
-
DocumentPreview,
|
|
305
|
-
createDocumentExport,
|
|
306
|
-
documentTheme,
|
|
307
|
-
extractDocNode,
|
|
308
|
-
} from '@pyreon/document-primitives'
|
|
309
|
-
|
|
310
|
-
// ─── Connector Document ──────────────────────────────────────────────────────
|
|
311
|
-
// Bridge between rocketstyle / styled UI trees and `@pyreon/document`'s node
|
|
312
|
-
// graph — used by export pipelines. Generic `DocChild`/`DocNode`/`NodeType`
|
|
313
|
-
// types are NOT re-exported here to avoid duplicate-name surfaces against
|
|
314
|
-
// `@pyreon/document`; import them from `@pyreon/document` directly.
|
|
315
|
-
|
|
316
|
-
export type {
|
|
317
|
-
DocumentMarker,
|
|
318
|
-
ExtractOptions,
|
|
319
|
-
ResolvedStyles,
|
|
320
|
-
} from '@pyreon/connector-document'
|
|
321
|
-
export { extractDocumentTree, resolveStyles } from '@pyreon/connector-document'
|
|
322
|
-
|
|
323
|
-
// ─── UI Core (provider surface) ──────────────────────────────────────────────
|
|
324
|
-
// Only the high-value consumer-app surface: `PyreonUI` (the unified provider)
|
|
325
|
-
// + `useMode`. Framework-internal utilities (`init` / `compose` / `Provider`
|
|
326
|
-
// / `context` / `render` / generic `get`/`set`/`omit`/`pick`/`throttle`/
|
|
327
|
-
// `merge`) are deliberately omitted — they target ui-system authors, not
|
|
328
|
-
// app code, and several would collide with other meta entries.
|
|
329
|
-
|
|
330
|
-
export type {
|
|
331
|
-
BreakpointKeys,
|
|
332
|
-
Breakpoints,
|
|
333
|
-
PyreonUIProps,
|
|
334
|
-
ThemeMode,
|
|
335
|
-
ThemeModeInput,
|
|
336
|
-
} from '@pyreon/ui-core'
|
|
337
|
-
export { PyreonUI, useMode } from '@pyreon/ui-core'
|
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
import { describe, expect, it } from 'vitest'
|
|
2
|
-
import * as meta from '../index'
|
|
3
|
-
|
|
4
|
-
describe('@pyreon/meta exports', () => {
|
|
5
|
-
// ─── Fundamentals ───────────────────────────────────────────────────────
|
|
6
|
-
const fundamentals = [
|
|
7
|
-
'defineStore',
|
|
8
|
-
'signal',
|
|
9
|
-
'computed',
|
|
10
|
-
'effect',
|
|
11
|
-
'batch',
|
|
12
|
-
'resetStore',
|
|
13
|
-
'resetAllStores',
|
|
14
|
-
'addStorePlugin',
|
|
15
|
-
'useForm',
|
|
16
|
-
'useField',
|
|
17
|
-
'useFieldArray',
|
|
18
|
-
'FormProvider',
|
|
19
|
-
'useFormContext',
|
|
20
|
-
'useFormState',
|
|
21
|
-
'useWatch',
|
|
22
|
-
'zodSchema',
|
|
23
|
-
'zodField',
|
|
24
|
-
'QueryClient',
|
|
25
|
-
'QueryClientProvider',
|
|
26
|
-
'useQuery',
|
|
27
|
-
'useMutation',
|
|
28
|
-
'useQueryClient',
|
|
29
|
-
'useInfiniteQuery',
|
|
30
|
-
'useIsFetching',
|
|
31
|
-
'useIsMutating',
|
|
32
|
-
'useTable',
|
|
33
|
-
'flexRender',
|
|
34
|
-
'useVirtualizer',
|
|
35
|
-
'useWindowVirtualizer',
|
|
36
|
-
'createI18n',
|
|
37
|
-
'I18nProvider',
|
|
38
|
-
'useI18n',
|
|
39
|
-
'Trans',
|
|
40
|
-
'defineFeature',
|
|
41
|
-
'reference',
|
|
42
|
-
'Chart',
|
|
43
|
-
'useHotkey',
|
|
44
|
-
'useHotkeyScope',
|
|
45
|
-
'useStorage',
|
|
46
|
-
'useCookie',
|
|
47
|
-
'useIndexedDB',
|
|
48
|
-
'useMemoryStorage',
|
|
49
|
-
'createStorage',
|
|
50
|
-
'model',
|
|
51
|
-
'addMiddleware',
|
|
52
|
-
'applyPatch',
|
|
53
|
-
'applySnapshot',
|
|
54
|
-
'getSnapshot',
|
|
55
|
-
'onPatch',
|
|
56
|
-
'resetAllHooks',
|
|
57
|
-
'resetHook',
|
|
58
|
-
'createMachine',
|
|
59
|
-
'createPermissions',
|
|
60
|
-
'PermissionsProvider',
|
|
61
|
-
'usePermissions',
|
|
62
|
-
'createFlow',
|
|
63
|
-
'Flow',
|
|
64
|
-
'Background',
|
|
65
|
-
'Controls',
|
|
66
|
-
'MiniMap',
|
|
67
|
-
'Handle',
|
|
68
|
-
'Position',
|
|
69
|
-
'computeLayout',
|
|
70
|
-
'flowStyles',
|
|
71
|
-
'NodeResizer',
|
|
72
|
-
'NodeToolbar',
|
|
73
|
-
'Panel',
|
|
74
|
-
'createEditor',
|
|
75
|
-
'CodeEditor',
|
|
76
|
-
'DiffEditor',
|
|
77
|
-
'TabbedEditor',
|
|
78
|
-
]
|
|
79
|
-
|
|
80
|
-
for (const name of fundamentals) {
|
|
81
|
-
it(`exports ${name}`, () => {
|
|
82
|
-
expect(name in meta).toBe(true)
|
|
83
|
-
})
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
// ─── UI System ──────────────────────────────────────────────────────────
|
|
87
|
-
const uiSystem = [
|
|
88
|
-
'css',
|
|
89
|
-
'styled',
|
|
90
|
-
'createGlobalStyle',
|
|
91
|
-
'keyframes',
|
|
92
|
-
'useBreakpoint',
|
|
93
|
-
'useClickOutside',
|
|
94
|
-
'useColorScheme',
|
|
95
|
-
'useHover',
|
|
96
|
-
'useFocus',
|
|
97
|
-
'useMediaQuery',
|
|
98
|
-
'useToggle',
|
|
99
|
-
'useElementSize',
|
|
100
|
-
'useIntersection',
|
|
101
|
-
'useInterval',
|
|
102
|
-
'Element',
|
|
103
|
-
'Text',
|
|
104
|
-
'List',
|
|
105
|
-
'Overlay',
|
|
106
|
-
'Portal',
|
|
107
|
-
'Iterator',
|
|
108
|
-
'makeItResponsive',
|
|
109
|
-
'normalizeTheme',
|
|
110
|
-
'sortBreakpoints',
|
|
111
|
-
'Col',
|
|
112
|
-
'Container',
|
|
113
|
-
'Row',
|
|
114
|
-
'kinetic',
|
|
115
|
-
'useAnimationEnd',
|
|
116
|
-
'useTransitionState',
|
|
117
|
-
'createBlur',
|
|
118
|
-
'createFade',
|
|
119
|
-
'createRotate',
|
|
120
|
-
'createScale',
|
|
121
|
-
'createSlide',
|
|
122
|
-
'attrs',
|
|
123
|
-
'rocketstyle',
|
|
124
|
-
]
|
|
125
|
-
|
|
126
|
-
for (const name of uiSystem) {
|
|
127
|
-
it(`exports ${name}`, () => {
|
|
128
|
-
expect(name in meta).toBe(true)
|
|
129
|
-
})
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
// ─── Additions (ecosystem completion) ────────────────────────────────────
|
|
133
|
-
// Rx (namespace), Toast, URL state, DnD, Document, Document Primitives,
|
|
134
|
-
// Connector Document, UI Core provider surface.
|
|
135
|
-
const additions = [
|
|
136
|
-
// Rx — namespace + types only (operators reachable as `rx.filter` etc.).
|
|
137
|
-
'rx',
|
|
138
|
-
// Toast
|
|
139
|
-
'toast',
|
|
140
|
-
'Toaster',
|
|
141
|
-
// URL state
|
|
142
|
-
'useUrlState',
|
|
143
|
-
'setUrlRouter',
|
|
144
|
-
// DnD
|
|
145
|
-
'useDragMonitor',
|
|
146
|
-
'useDraggable',
|
|
147
|
-
'useDroppable',
|
|
148
|
-
'useFileDrop',
|
|
149
|
-
'useSortable',
|
|
150
|
-
// Document (builder + render only — generic JSX names skipped to avoid
|
|
151
|
-
// collisions with elements/coolgrid).
|
|
152
|
-
'createDocument',
|
|
153
|
-
'download',
|
|
154
|
-
'isDocNode',
|
|
155
|
-
'registerRenderer',
|
|
156
|
-
'render',
|
|
157
|
-
'unregisterRenderer',
|
|
158
|
-
// Document primitives (Doc*-prefixed JSX components)
|
|
159
|
-
'DocButton',
|
|
160
|
-
'DocCode',
|
|
161
|
-
'DocColumn',
|
|
162
|
-
'DocDivider',
|
|
163
|
-
'DocDocument',
|
|
164
|
-
'DocHeading',
|
|
165
|
-
'DocImage',
|
|
166
|
-
'DocLink',
|
|
167
|
-
'DocList',
|
|
168
|
-
'DocListItem',
|
|
169
|
-
'DocPage',
|
|
170
|
-
'DocPageBreak',
|
|
171
|
-
'DocQuote',
|
|
172
|
-
'DocRow',
|
|
173
|
-
'DocSection',
|
|
174
|
-
'DocSpacer',
|
|
175
|
-
'DocTable',
|
|
176
|
-
'DocText',
|
|
177
|
-
'DocumentPreview',
|
|
178
|
-
'createDocumentExport',
|
|
179
|
-
'documentTheme',
|
|
180
|
-
'extractDocNode',
|
|
181
|
-
// Connector document
|
|
182
|
-
'extractDocumentTree',
|
|
183
|
-
'resolveStyles',
|
|
184
|
-
// UI Core provider surface
|
|
185
|
-
'PyreonUI',
|
|
186
|
-
'useMode',
|
|
187
|
-
]
|
|
188
|
-
|
|
189
|
-
for (const name of additions) {
|
|
190
|
-
it(`exports ${name}`, () => {
|
|
191
|
-
expect(name in meta).toBe(true)
|
|
192
|
-
})
|
|
193
|
-
}
|
|
194
|
-
})
|