@ankhorage/zora 25.8.13 → 25.8.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +1 -1
- package/dist/features/button/utils/resolveButtonThemeRecipe.d.ts +1 -1
- package/dist/features/matrix-grid/adapters/inbound/MatrixGrid.d.ts.map +1 -1
- package/dist/features/matrix-grid/adapters/inbound/MatrixGrid.js +11 -8
- package/dist/features/matrix-grid/adapters/inbound/MatrixGrid.js.map +1 -1
- package/dist/features/matrix-grid/adapters/inbound/useMatrixGridKeyboardFocus.d.ts +1 -1
- package/dist/features/matrix-grid/adapters/inbound/useMatrixGridKeyboardFocus.d.ts.map +1 -1
- package/dist/features/matrix-grid/adapters/inbound/useMatrixGridKeyboardFocus.js +25 -5
- package/dist/features/matrix-grid/adapters/inbound/useMatrixGridKeyboardFocus.js.map +1 -1
- package/dist/features/matrix-grid/application/resolveMatrixGridSelection.d.ts +1 -1
- package/dist/features/matrix-grid/application/resolveMatrixGridSelection.d.ts.map +1 -1
- package/dist/features/matrix-grid/application/resolveMatrixGridSelection.js +5 -2
- package/dist/features/matrix-grid/application/resolveMatrixGridSelection.js.map +1 -1
- package/dist/features/registry/ZORA_BASE_COMPONENT_REGISTRY.d.ts +4 -0
- package/dist/features/registry/ZORA_BASE_COMPONENT_REGISTRY.d.ts.map +1 -0
- package/dist/features/registry/ZORA_BASE_COMPONENT_REGISTRY.js +187 -0
- package/dist/features/registry/ZORA_BASE_COMPONENT_REGISTRY.js.map +1 -0
- package/dist/features/registry/ZORA_COMPONENT_REGISTRY.d.ts +1 -0
- package/dist/features/registry/ZORA_COMPONENT_REGISTRY.d.ts.map +1 -1
- package/dist/features/registry/ZORA_COMPONENT_REGISTRY.js +4 -185
- package/dist/features/registry/ZORA_COMPONENT_REGISTRY.js.map +1 -1
- package/dist/features/registry/createZoraComponentRegistry.d.ts +4 -0
- package/dist/features/registry/createZoraComponentRegistry.d.ts.map +1 -0
- package/dist/features/registry/createZoraComponentRegistry.js +6 -0
- package/dist/features/registry/createZoraComponentRegistry.js.map +1 -0
- package/dist/features/registry/public.d.ts +2 -0
- package/dist/features/registry/public.d.ts.map +1 -1
- package/dist/features/registry/public.js +2 -0
- package/dist/features/registry/public.js.map +1 -1
- package/dist/features/registry/readerFreeRegistry.d.ts +3 -0
- package/dist/features/registry/readerFreeRegistry.d.ts.map +1 -0
- package/dist/features/registry/readerFreeRegistry.js +3 -0
- package/dist/features/registry/readerFreeRegistry.js.map +1 -0
- package/dist/index.d.ts +1 -126
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -77
- package/dist/index.js.map +1 -1
- package/dist/readerFree.d.ts +129 -0
- package/dist/readerFree.d.ts.map +1 -0
- package/dist/readerFree.js +79 -0
- package/dist/readerFree.js.map +1 -0
- package/dist/types/matrix-grid.d.ts +2 -0
- package/dist/types/matrix-grid.d.ts.map +1 -1
- package/dist/types/matrix-grid.js.map +1 -1
- package/package.json +17 -2
- package/src/features/layout/public.test.ts +2 -1
- package/src/features/matrix-grid/adapters/inbound/MatrixGrid.protected-focus.test.tsx +252 -0
- package/src/features/matrix-grid/adapters/inbound/MatrixGrid.test.tsx +79 -0
- package/src/features/matrix-grid/adapters/inbound/MatrixGrid.tsx +16 -5
- package/src/features/matrix-grid/adapters/inbound/useMatrixGridKeyboardFocus.ts +31 -4
- package/src/features/matrix-grid/application/resolveMatrixGridSelection.test.ts +20 -13
- package/src/features/matrix-grid/application/resolveMatrixGridSelection.ts +3 -0
- package/src/features/progress/adapters/inbound/ProgressRing.test.ts +6 -4
- package/src/features/reader/adapters/inbound/Reader.test.ts +1 -1
- package/src/features/reader/utils/resolveReaderProgress.test.ts +1 -1
- package/src/features/registry/ZORA_BASE_COMPONENT_REGISTRY.ts +236 -0
- package/src/features/registry/ZORA_COMPONENT_REGISTRY.ts +4 -233
- package/src/features/registry/createZoraComponentRegistry.ts +9 -0
- package/src/features/registry/public.ts +2 -0
- package/src/features/registry/readerFreeRegistry.ts +2 -0
- package/src/features/registry/registry.test.ts +36 -5
- package/src/features/uploader/public.test.ts +3 -2
- package/src/index.ts +1 -533
- package/src/interactionPolicy.test.ts +1 -1
- package/src/readerFree.ts +538 -0
- package/src/types/matrix-grid.ts +2 -0
- package/web-dist/components/matrix-grid/MatrixGrid.js +41 -16
package/src/index.ts
CHANGED
|
@@ -1,349 +1,3 @@
|
|
|
1
|
-
export {
|
|
2
|
-
Accordion,
|
|
3
|
-
AccordionItem,
|
|
4
|
-
type AccordionItemProps,
|
|
5
|
-
type AccordionMode,
|
|
6
|
-
type AccordionMultipleProps,
|
|
7
|
-
type AccordionProps,
|
|
8
|
-
type AccordionSingleProps,
|
|
9
|
-
} from './features/accordion/public';
|
|
10
|
-
export {
|
|
11
|
-
ActivityIndicator,
|
|
12
|
-
type ActivityIndicatorProps,
|
|
13
|
-
} from './features/activity-indicator/public';
|
|
14
|
-
export type { AppBarMode, AppBarOverflowMenu, AppBarProps } from './features/app-bar/public';
|
|
15
|
-
export { AppBar } from './features/app-bar/public';
|
|
16
|
-
export { AppHeader, type AppHeaderProps } from './features/app-header/public';
|
|
17
|
-
export type {
|
|
18
|
-
AuthFormBaseProps,
|
|
19
|
-
AuthIdentifierKind,
|
|
20
|
-
AuthScreenMode,
|
|
21
|
-
AuthScreenProps,
|
|
22
|
-
ForgotPasswordFormProps,
|
|
23
|
-
ForgotPasswordFormValues,
|
|
24
|
-
OAuthProviderButtonProps,
|
|
25
|
-
OAuthProviderIconSpec,
|
|
26
|
-
OAuthProviderItem,
|
|
27
|
-
OAuthProviderListLayout,
|
|
28
|
-
OAuthProviderListProps,
|
|
29
|
-
OtpFormProps,
|
|
30
|
-
OtpFormValues,
|
|
31
|
-
SignInFormProps,
|
|
32
|
-
SignInFormValues,
|
|
33
|
-
SignUpFormField,
|
|
34
|
-
SignUpFormProps,
|
|
35
|
-
SignUpFormValues,
|
|
36
|
-
} from './features/auth/public';
|
|
37
|
-
export {
|
|
38
|
-
AuthScreen,
|
|
39
|
-
DEFAULT_OAUTH_PROVIDER_ICONS,
|
|
40
|
-
ForgotPasswordForm,
|
|
41
|
-
OAuthProviderButton,
|
|
42
|
-
OAuthProviderList,
|
|
43
|
-
OtpForm,
|
|
44
|
-
resolveOAuthProviderIcon,
|
|
45
|
-
resolveOAuthProviderLabel,
|
|
46
|
-
SignInForm,
|
|
47
|
-
SignUpForm,
|
|
48
|
-
} from './features/auth/public';
|
|
49
|
-
export type { AvatarProps, AvatarShape, AvatarSize } from './features/avatar/public';
|
|
50
|
-
export type { AvatarGroupItem, AvatarGroupProps } from './features/avatar/public';
|
|
51
|
-
export { Avatar, resolveAvatarInitials } from './features/avatar/public';
|
|
52
|
-
export { AvatarGroup } from './features/avatar/public';
|
|
53
|
-
export type { BadgeProps } from './features/badge/public';
|
|
54
|
-
export { Badge } from './features/badge/public';
|
|
55
|
-
export type { BottomSheetProps } from './features/bottom-sheet/public';
|
|
56
|
-
export { BottomSheet } from './features/bottom-sheet/public';
|
|
57
|
-
export {
|
|
58
|
-
type BreadcrumbItem,
|
|
59
|
-
type BreadcrumbPressEvent,
|
|
60
|
-
Breadcrumbs,
|
|
61
|
-
type BreadcrumbsProps,
|
|
62
|
-
} from './features/breadcrumbs/public';
|
|
63
|
-
export type { ButtonProps } from './features/button/public';
|
|
64
|
-
export type {
|
|
65
|
-
ButtonGroupAlign,
|
|
66
|
-
ButtonGroupOrientation,
|
|
67
|
-
ButtonGroupProps,
|
|
68
|
-
} from './features/button/public';
|
|
69
|
-
export type { IconButtonProps } from './features/button/public';
|
|
70
|
-
export { Button } from './features/button/public';
|
|
71
|
-
export { ButtonGroup } from './features/button/public';
|
|
72
|
-
export { IconButton } from './features/button/public';
|
|
73
|
-
export type { CardProps } from './features/card/public';
|
|
74
|
-
export type { MediaCardImageProps, MediaCardProps } from './features/card/public';
|
|
75
|
-
export type { MetricCardProps } from './features/card/public';
|
|
76
|
-
export type {
|
|
77
|
-
PostAction,
|
|
78
|
-
PostAuthor,
|
|
79
|
-
PostAuthorAvatar,
|
|
80
|
-
PostCardMedia,
|
|
81
|
-
PostCardProps,
|
|
82
|
-
} from './features/card/public';
|
|
83
|
-
export type { ProductCardProps } from './features/card/public';
|
|
84
|
-
export { Card } from './features/card/public';
|
|
85
|
-
export { MediaCard } from './features/card/public';
|
|
86
|
-
export { MetricCard } from './features/card/public';
|
|
87
|
-
export { PostCard } from './features/card/public';
|
|
88
|
-
export { ProductCard } from './features/card/public';
|
|
89
|
-
export type {
|
|
90
|
-
ChatListAvatar,
|
|
91
|
-
ChatListItemProps,
|
|
92
|
-
MessageBubbleAuthor,
|
|
93
|
-
MessageBubbleAvatar,
|
|
94
|
-
MessageBubbleDirection,
|
|
95
|
-
MessageBubbleProps,
|
|
96
|
-
MessageBubbleStatus,
|
|
97
|
-
} from './features/chat/public';
|
|
98
|
-
export { ChatListItem, MessageBubble } from './features/chat/public';
|
|
99
|
-
export type {
|
|
100
|
-
ChessBoardColorOverrides,
|
|
101
|
-
ChessBoardColorScheme,
|
|
102
|
-
ChessBoardOrientation,
|
|
103
|
-
ChessBoardProps,
|
|
104
|
-
ChessMoveAttempt,
|
|
105
|
-
ChessMoveResult,
|
|
106
|
-
ChessPieceCode,
|
|
107
|
-
ChessPieceRenderContext,
|
|
108
|
-
ChessPieceRenderer,
|
|
109
|
-
ChessPieceState,
|
|
110
|
-
ChessPromotionPiece,
|
|
111
|
-
ChessSquareId,
|
|
112
|
-
OpeningBookColorOverrides,
|
|
113
|
-
OpeningBookColorScheme,
|
|
114
|
-
OpeningBookMove,
|
|
115
|
-
OpeningBookProps,
|
|
116
|
-
} from './features/chess/public';
|
|
117
|
-
export type { ChessColorThemeShape } from './features/chess/public';
|
|
118
|
-
export { ChessBoard, chessBoardMeta, OpeningBook, openingBookMeta } from './features/chess/public';
|
|
119
|
-
export {
|
|
120
|
-
chessSquares,
|
|
121
|
-
createBoardSquares,
|
|
122
|
-
createChessBoardColorScheme,
|
|
123
|
-
createOpeningBookColorScheme,
|
|
124
|
-
getLegalTargets,
|
|
125
|
-
getSquareFile,
|
|
126
|
-
getSquareRank,
|
|
127
|
-
isLightSquare,
|
|
128
|
-
readChessPieces,
|
|
129
|
-
tryMove,
|
|
130
|
-
} from './features/chess/public';
|
|
131
|
-
export type { ChipProps } from './features/chip/public';
|
|
132
|
-
export type { ChipGroupItem, ChipGroupProps } from './features/chip/public';
|
|
133
|
-
export { Chip } from './features/chip/public';
|
|
134
|
-
export { ChipGroup } from './features/chip/public';
|
|
135
|
-
export type {
|
|
136
|
-
CollectionEditorProps,
|
|
137
|
-
CollectionEditorRenderItemProps,
|
|
138
|
-
} from './features/collection-editor/public';
|
|
139
|
-
export { CollectionEditor } from './features/collection-editor/public';
|
|
140
|
-
export type {
|
|
141
|
-
ContentRailControlPressEvent,
|
|
142
|
-
ContentRailDirection,
|
|
143
|
-
ContentRailItemSize,
|
|
144
|
-
ContentRailMotion,
|
|
145
|
-
ContentRailProps,
|
|
146
|
-
ContentRailSpacing,
|
|
147
|
-
ContentRailVisibleRangeChangeEvent,
|
|
148
|
-
} from './features/content-rail/public';
|
|
149
|
-
export { ContentRail } from './features/content-rail/public';
|
|
150
|
-
export type {
|
|
151
|
-
DataTableCellContext,
|
|
152
|
-
DataTableColumn,
|
|
153
|
-
DataTableColumnAlign,
|
|
154
|
-
DataTableDensity,
|
|
155
|
-
DataTableProps,
|
|
156
|
-
DataTableRowAction,
|
|
157
|
-
DataTableSortDirection,
|
|
158
|
-
DataTableSortState,
|
|
159
|
-
} from './features/data-table/public';
|
|
160
|
-
export { DataTable } from './features/data-table/public';
|
|
161
|
-
export {
|
|
162
|
-
DatePicker,
|
|
163
|
-
type DatePickerProps,
|
|
164
|
-
type DatePickerValue,
|
|
165
|
-
} from './features/date-picker/public';
|
|
166
|
-
export { Dialog, type DialogProps } from './features/dialog/public';
|
|
167
|
-
export {
|
|
168
|
-
EmptyState,
|
|
169
|
-
type EmptyStateAction,
|
|
170
|
-
type EmptyStateProps,
|
|
171
|
-
} from './features/empty-state/public';
|
|
172
|
-
export type {
|
|
173
|
-
ExplorerActivateEvent,
|
|
174
|
-
ExplorerItem,
|
|
175
|
-
ExplorerItemKind,
|
|
176
|
-
ExplorerProps,
|
|
177
|
-
ExplorerSelectionChangeEvent,
|
|
178
|
-
ExplorerSelectionMode,
|
|
179
|
-
} from './features/explorer/public';
|
|
180
|
-
export {
|
|
181
|
-
Explorer,
|
|
182
|
-
FileExplorer,
|
|
183
|
-
MediaExplorer,
|
|
184
|
-
resolveExplorerSelection,
|
|
185
|
-
} from './features/explorer/public';
|
|
186
|
-
export {
|
|
187
|
-
Checkbox,
|
|
188
|
-
CheckboxGroup,
|
|
189
|
-
type CheckboxGroupOption,
|
|
190
|
-
type CheckboxGroupProps,
|
|
191
|
-
type CheckboxProps,
|
|
192
|
-
} from './features/form/checkbox/public';
|
|
193
|
-
export type {
|
|
194
|
-
FieldProps,
|
|
195
|
-
FormActionsProps,
|
|
196
|
-
FormErrorProps,
|
|
197
|
-
FormErrors,
|
|
198
|
-
FormFieldConfig,
|
|
199
|
-
FormFieldInputType,
|
|
200
|
-
FormProps,
|
|
201
|
-
FormValidationErrors,
|
|
202
|
-
FormValidationResult,
|
|
203
|
-
FormValues,
|
|
204
|
-
UseFormControllerOptions,
|
|
205
|
-
UseFormControllerResult,
|
|
206
|
-
ValidationRule,
|
|
207
|
-
} from './features/form/public';
|
|
208
|
-
export {
|
|
209
|
-
Field,
|
|
210
|
-
Form,
|
|
211
|
-
FormActions,
|
|
212
|
-
FormError,
|
|
213
|
-
hasRequiredRule,
|
|
214
|
-
useFormController,
|
|
215
|
-
validateField,
|
|
216
|
-
validateFields,
|
|
217
|
-
validateValue,
|
|
218
|
-
} from './features/form/public';
|
|
219
|
-
export {
|
|
220
|
-
Radio,
|
|
221
|
-
RadioGroup,
|
|
222
|
-
type RadioGroupOption,
|
|
223
|
-
type RadioGroupProps,
|
|
224
|
-
type RadioProps,
|
|
225
|
-
} from './features/form/radio/public';
|
|
226
|
-
export { SearchInput, type SearchInputProps } from './features/form/search-input/public';
|
|
227
|
-
export { Select, type SelectOption, type SelectProps } from './features/form/select/public';
|
|
228
|
-
export { Switch, type SwitchProps } from './features/form/switch/public';
|
|
229
|
-
export {
|
|
230
|
-
TextInput,
|
|
231
|
-
type TextInputProps,
|
|
232
|
-
type TextInputTrailingAction,
|
|
233
|
-
} from './features/form/text-input/public';
|
|
234
|
-
export type {
|
|
235
|
-
GameEntityEasing,
|
|
236
|
-
GameEntityMotionProps,
|
|
237
|
-
GameEntityProps,
|
|
238
|
-
GameFieldProps,
|
|
239
|
-
GameInputZoneProps,
|
|
240
|
-
GameKeyboardBinding,
|
|
241
|
-
GameMeasurementProbeProps,
|
|
242
|
-
GameOverlayPlacement,
|
|
243
|
-
GameOverlayProps,
|
|
244
|
-
GamePointerEvents,
|
|
245
|
-
GameProps,
|
|
246
|
-
} from './features/game/public';
|
|
247
|
-
export {
|
|
248
|
-
Game,
|
|
249
|
-
GameEntity,
|
|
250
|
-
GameField,
|
|
251
|
-
GameInputZone,
|
|
252
|
-
GameMeasurementProbe,
|
|
253
|
-
GameOverlay,
|
|
254
|
-
} from './features/game/public';
|
|
255
|
-
export type {
|
|
256
|
-
GradientColor,
|
|
257
|
-
GradientColors,
|
|
258
|
-
GradientLocations,
|
|
259
|
-
GradientPoint,
|
|
260
|
-
GradientProps,
|
|
261
|
-
GradientRenderer,
|
|
262
|
-
GradientRendererProps,
|
|
263
|
-
GradientRendererProviderProps,
|
|
264
|
-
} from './features/gradient/public';
|
|
265
|
-
export { Gradient, GradientRendererProvider } from './features/gradient/public';
|
|
266
|
-
export {
|
|
267
|
-
createGridInteractionsController,
|
|
268
|
-
type GridInteractionIntent,
|
|
269
|
-
type GridInteractionItem,
|
|
270
|
-
type GridInteractionPointer,
|
|
271
|
-
GridInteractions,
|
|
272
|
-
type GridInteractionsController,
|
|
273
|
-
type GridInteractionsControllerProps,
|
|
274
|
-
type GridInteractionSnap,
|
|
275
|
-
type GridInteractionsProps,
|
|
276
|
-
} from './features/grid-interactions/public';
|
|
277
|
-
export type {
|
|
278
|
-
GridGuide,
|
|
279
|
-
GridLineOverlayProps,
|
|
280
|
-
GridRulerMark,
|
|
281
|
-
GridRulerProps,
|
|
282
|
-
GridRulerTickSource,
|
|
283
|
-
} from './features/grid-rulers/public';
|
|
284
|
-
export { GridLineOverlay, GridRuler, resolveGridRulerMarks } from './features/grid-rulers/public';
|
|
285
|
-
export type { GridViewProps, TileGridItem, TileGridProps } from './features/grid-view/public';
|
|
286
|
-
export { GridView, layoutTileGrid, TileGrid } from './features/grid-view/public';
|
|
287
|
-
export {
|
|
288
|
-
Hero,
|
|
289
|
-
type HeroAction,
|
|
290
|
-
type HeroAlign,
|
|
291
|
-
type HeroLayout,
|
|
292
|
-
type HeroProps,
|
|
293
|
-
type HeroTone,
|
|
294
|
-
} from './features/hero/public';
|
|
295
|
-
export type { IconProps } from './features/icon/public';
|
|
296
|
-
export { Icon } from './features/icon/public';
|
|
297
|
-
export type { ImageFit, ImageProps, SurfaceImageSource } from './features/image/public';
|
|
298
|
-
export { Image } from './features/image/public';
|
|
299
|
-
export {
|
|
300
|
-
KeyboardAvoidingView,
|
|
301
|
-
type KeyboardAvoidingViewBehavior,
|
|
302
|
-
type KeyboardAvoidingViewProps,
|
|
303
|
-
} from './features/keyboard-avoiding-view/public';
|
|
304
|
-
export type {
|
|
305
|
-
AppShellProps,
|
|
306
|
-
DividerProps,
|
|
307
|
-
GridProps,
|
|
308
|
-
ScreenProps,
|
|
309
|
-
ScrollViewProps,
|
|
310
|
-
ViewProps,
|
|
311
|
-
} from './features/layout/public';
|
|
312
|
-
export { AppShell, Divider, Grid, Screen, ScrollView, View } from './features/layout/public';
|
|
313
|
-
export type {
|
|
314
|
-
ManifestListProps,
|
|
315
|
-
ManifestListSection,
|
|
316
|
-
ManifestSectionListProps,
|
|
317
|
-
} from './features/list/public';
|
|
318
|
-
export type {
|
|
319
|
-
ListChildrenProps,
|
|
320
|
-
ListItemProps,
|
|
321
|
-
ListItemsProps,
|
|
322
|
-
ListItemVariant,
|
|
323
|
-
ListProps,
|
|
324
|
-
ListSectionProps,
|
|
325
|
-
} from './features/list/public';
|
|
326
|
-
export { FlatList, SectionList } from './features/list/public';
|
|
327
|
-
export { List, ListItem, ListSection } from './features/list/public';
|
|
328
|
-
export type { MatrixGridProps } from './features/matrix-grid/public';
|
|
329
|
-
export { MatrixGrid } from './features/matrix-grid/public';
|
|
330
|
-
export { MissingElement, type MissingElementProps } from './features/missing-element/public';
|
|
331
|
-
export { Pagination, type PaginationProps } from './features/pagination/public';
|
|
332
|
-
export type { PaletteItemProps } from './features/palette-item/public';
|
|
333
|
-
export { PaletteItem } from './features/palette-item/public';
|
|
334
|
-
export {
|
|
335
|
-
PopoverMenu,
|
|
336
|
-
type PopoverMenuAction,
|
|
337
|
-
type PopoverMenuActionIntent,
|
|
338
|
-
type PopoverMenuProps,
|
|
339
|
-
} from './features/popover-menu/public';
|
|
340
|
-
export {
|
|
341
|
-
Progress,
|
|
342
|
-
type ProgressProps,
|
|
343
|
-
ProgressRing,
|
|
344
|
-
type ProgressRingProps,
|
|
345
|
-
} from './features/progress/public';
|
|
346
|
-
export { Rating, type RatingProps } from './features/rating/public';
|
|
347
1
|
export type {
|
|
348
2
|
ReaderColorScheme,
|
|
349
3
|
ReaderDocumentFormat,
|
|
@@ -358,192 +12,6 @@ export type {
|
|
|
358
12
|
ReaderStatus,
|
|
359
13
|
} from './features/reader/public';
|
|
360
14
|
export { Reader, resolveReaderProgress } from './features/reader/public';
|
|
361
|
-
export type {
|
|
362
|
-
ZoraBindableComponentType,
|
|
363
|
-
ZoraComponentBlueprint,
|
|
364
|
-
ZoraComponentCategory,
|
|
365
|
-
ZoraComponentEventMeta,
|
|
366
|
-
ZoraComponentEventPayloadFieldMeta,
|
|
367
|
-
ZoraComponentEventPayloadFieldType,
|
|
368
|
-
ZoraComponentEventPayloadKind,
|
|
369
|
-
ZoraComponentI18nMeta,
|
|
370
|
-
ZoraComponentManifestPolicy,
|
|
371
|
-
ZoraComponentMeta,
|
|
372
|
-
ZoraComponentMetaRegistry,
|
|
373
|
-
ZoraComponentPropArrayItemSchema,
|
|
374
|
-
ZoraComponentPropAuthoring,
|
|
375
|
-
ZoraComponentPropSchema,
|
|
376
|
-
ZoraComponentPropType,
|
|
377
|
-
ZoraComponentPropValue,
|
|
378
|
-
ZoraComponentSlotMeta,
|
|
379
|
-
ZoraThemeRecipeBooleanFieldMeta,
|
|
380
|
-
ZoraThemeRecipeChoiceFieldMeta,
|
|
381
|
-
ZoraThemeRecipeFieldMeta,
|
|
382
|
-
ZoraThemeRecipeKind,
|
|
383
|
-
ZoraThemeRecipeMeta,
|
|
384
|
-
ZoraThemeRecipeMetaRegistry,
|
|
385
|
-
ZoraThemeRecipeTokenFieldMeta,
|
|
386
|
-
ZoraThemeTokenFamily,
|
|
387
|
-
} from './features/registry';
|
|
388
|
-
export {
|
|
389
|
-
ZORA_BINDABLE_COMPONENT_META,
|
|
390
|
-
ZORA_COMPONENT_META,
|
|
391
|
-
ZORA_THEME_RECIPE_META,
|
|
392
|
-
ZORA_THEME_TOKEN_FAMILIES,
|
|
393
|
-
} from './features/registry';
|
|
394
15
|
export { ZORA_COMPONENT_REGISTRY } from './features/registry/public';
|
|
395
|
-
export
|
|
396
|
-
BarcodeScannerViewProps,
|
|
397
|
-
BarcodeScanResult,
|
|
398
|
-
CameraPermissionStatus,
|
|
399
|
-
CameraPermissionViewProps,
|
|
400
|
-
ScanOverlayProps,
|
|
401
|
-
} from './features/scanner/public';
|
|
402
|
-
export { BarcodeScannerView, CameraPermissionView, ScanOverlay } from './features/scanner/public';
|
|
403
|
-
export {
|
|
404
|
-
ScreenSection,
|
|
405
|
-
type ScreenSectionProps,
|
|
406
|
-
SectionHeader,
|
|
407
|
-
type SectionHeaderProps,
|
|
408
|
-
} from './features/section/public';
|
|
409
|
-
export type {
|
|
410
|
-
SelectableItemProps,
|
|
411
|
-
SelectableItemState,
|
|
412
|
-
SelectionIntent,
|
|
413
|
-
SelectionMode,
|
|
414
|
-
SelectionProviderProps,
|
|
415
|
-
SelectionTrigger,
|
|
416
|
-
UseSelectionResult,
|
|
417
|
-
} from './features/selection/public';
|
|
418
|
-
export { SelectableItem, SelectionProvider, useSelection } from './features/selection/public';
|
|
419
|
-
export {
|
|
420
|
-
Skeleton,
|
|
421
|
-
SkeletonCard,
|
|
422
|
-
type SkeletonCardProps,
|
|
423
|
-
type SkeletonDimension,
|
|
424
|
-
SkeletonList,
|
|
425
|
-
type SkeletonListProps,
|
|
426
|
-
type SkeletonListVariant,
|
|
427
|
-
type SkeletonProps,
|
|
428
|
-
type SkeletonRadius,
|
|
429
|
-
SkeletonText,
|
|
430
|
-
type SkeletonTextProps,
|
|
431
|
-
} from './features/skeleton/public';
|
|
432
|
-
export type {
|
|
433
|
-
SpatialGridItem,
|
|
434
|
-
SpatialGridItemState,
|
|
435
|
-
SpatialGridProps,
|
|
436
|
-
} from './features/spatial-grid/public';
|
|
437
|
-
export { SpatialGrid } from './features/spatial-grid/public';
|
|
438
|
-
export type { SurfaceProps, SurfaceVariant } from './features/surface/public';
|
|
439
|
-
export { Surface } from './features/surface/public';
|
|
440
|
-
export type {
|
|
441
|
-
CardBackProps,
|
|
442
|
-
CardHandProps,
|
|
443
|
-
CreatePokerTrainingTableStateOptions,
|
|
444
|
-
CreateTabletopGameSeatsInput,
|
|
445
|
-
PlayingCardProps,
|
|
446
|
-
PlayingCardSuit,
|
|
447
|
-
PlayingCardValue,
|
|
448
|
-
PokerTrainingPlayer,
|
|
449
|
-
PokerTrainingTableProps,
|
|
450
|
-
PokerTrainingTableSize,
|
|
451
|
-
PokerTrainingTableState,
|
|
452
|
-
PokerTrainingTaskTableData,
|
|
453
|
-
TabletopCardSize,
|
|
454
|
-
TabletopColorOverrides,
|
|
455
|
-
TabletopColorScheme,
|
|
456
|
-
TabletopGameParticipantState,
|
|
457
|
-
TabletopGameSeatDefinition,
|
|
458
|
-
TabletopGameSeatPresentation,
|
|
459
|
-
TabletopSeatCount,
|
|
460
|
-
TabletopSeatState,
|
|
461
|
-
TabletopShape,
|
|
462
|
-
TabletopTableProps,
|
|
463
|
-
} from './features/tabletop/public';
|
|
464
|
-
export {
|
|
465
|
-
CardBack,
|
|
466
|
-
CardHand,
|
|
467
|
-
createPokerTrainingTableState,
|
|
468
|
-
createTabletopColorScheme,
|
|
469
|
-
createTabletopGameSeats,
|
|
470
|
-
PlayingCard,
|
|
471
|
-
PokerTrainingTable,
|
|
472
|
-
pokerTrainingTableMeta,
|
|
473
|
-
TabletopTable,
|
|
474
|
-
tabletopTableMeta,
|
|
475
|
-
} from './features/tabletop/public';
|
|
476
|
-
export {
|
|
477
|
-
Tab,
|
|
478
|
-
TabList,
|
|
479
|
-
type TabListProps,
|
|
480
|
-
TabPanel,
|
|
481
|
-
type TabPanelProps,
|
|
482
|
-
type TabProps,
|
|
483
|
-
Tabs,
|
|
484
|
-
type TabsProps,
|
|
485
|
-
} from './features/tabs/public';
|
|
486
|
-
export type {
|
|
487
|
-
ZoraColor,
|
|
488
|
-
ZoraEmphasis,
|
|
489
|
-
ZoraPaletteColor,
|
|
490
|
-
ZoraStatusColor,
|
|
491
|
-
} from './features/theme/colorModel';
|
|
492
|
-
export {
|
|
493
|
-
ZORA_COLORS,
|
|
494
|
-
ZORA_EMPHASES,
|
|
495
|
-
ZORA_PALETTE_COLORS,
|
|
496
|
-
ZORA_STATUS_COLORS,
|
|
497
|
-
} from './features/theme/colorModel';
|
|
498
|
-
export * from './features/theme/public';
|
|
499
|
-
export * from './features/theme/runtime';
|
|
500
|
-
export type { TimeGridInterval, TimeGridLane, TimeGridProps } from './features/time-grid/public';
|
|
501
|
-
export { resolveTimeGridVisibleIntervals, TimeGrid } from './features/time-grid/public';
|
|
502
|
-
export {
|
|
503
|
-
TimePicker,
|
|
504
|
-
type TimePickerProps,
|
|
505
|
-
type TimePickerValue,
|
|
506
|
-
} from './features/time-picker/public';
|
|
507
|
-
export type { TimelineItem, TimelineProps } from './features/timeline/public';
|
|
508
|
-
export { Timeline } from './features/timeline/public';
|
|
509
|
-
export type {
|
|
510
|
-
ToastController,
|
|
511
|
-
ToastOptions,
|
|
512
|
-
ToastProps,
|
|
513
|
-
ToastProviderProps,
|
|
514
|
-
ToastStatus,
|
|
515
|
-
} from './features/toast/public';
|
|
516
|
-
export { Toast, ToastProvider, useToast } from './features/toast/public';
|
|
517
|
-
export { Toolbar, type ToolbarProps } from './features/toolbar/public';
|
|
518
|
-
export type { TreeItemNode, TreeItemRenderProps, TreeViewProps } from './features/tree-view/public';
|
|
519
|
-
export { TreeItem, TreeView } from './features/tree-view/public';
|
|
520
|
-
export type {
|
|
521
|
-
HeadingAlign,
|
|
522
|
-
HeadingColor,
|
|
523
|
-
HeadingEmphasis,
|
|
524
|
-
HeadingLevel,
|
|
525
|
-
HeadingProps,
|
|
526
|
-
HeadingSize,
|
|
527
|
-
HeadingWeight,
|
|
528
|
-
} from './features/typography/public';
|
|
529
|
-
export type {
|
|
530
|
-
TextAlign,
|
|
531
|
-
TextColor,
|
|
532
|
-
TextEmphasis,
|
|
533
|
-
TextProps,
|
|
534
|
-
TextVariant,
|
|
535
|
-
TextWeight,
|
|
536
|
-
} from './features/typography/public';
|
|
537
|
-
export { Heading } from './features/typography/public';
|
|
538
|
-
export { Text } from './features/typography/public';
|
|
539
|
-
export type {
|
|
540
|
-
UploadAsset,
|
|
541
|
-
UploadAssetBase,
|
|
542
|
-
UploaderExplorerItem,
|
|
543
|
-
UploaderProps,
|
|
544
|
-
UploadProgressContext,
|
|
545
|
-
UploadType,
|
|
546
|
-
ValidateUploadAssetInput,
|
|
547
|
-
} from './features/uploader/public';
|
|
548
|
-
export { Uploader, validateUploadAsset } from './features/uploader/public';
|
|
16
|
+
export * from './readerFree';
|
|
549
17
|
export type { ZoraComponentRegistry } from './types/registry';
|
|
@@ -50,7 +50,7 @@ describe('InteractionPolicy declaration', () => {
|
|
|
50
50
|
});
|
|
51
51
|
|
|
52
52
|
test('registry contract is compile-time only', () => {
|
|
53
|
-
const registrySource = readFeature('registry', '
|
|
53
|
+
const registrySource = readFeature('registry', 'ZORA_BASE_COMPONENT_REGISTRY.ts');
|
|
54
54
|
|
|
55
55
|
expect(registrySource).not.toMatch(/type\s+InteractionPolicy/);
|
|
56
56
|
expect(registrySource).toContain(
|