@ankhorage/zora 25.9.2 → 25.10.0
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 +7 -0
- package/README.md +1 -1
- package/dist/features/calendar/public.d.ts +2 -0
- package/dist/features/calendar/public.d.ts.map +1 -0
- package/dist/features/calendar/public.js +2 -0
- package/dist/features/calendar/public.js.map +1 -0
- package/dist/readerFree.d.ts +1 -0
- package/dist/readerFree.d.ts.map +1 -1
- package/dist/readerFree.js.map +1 -1
- package/dist/types/temporal.d.ts +147 -0
- package/dist/types/temporal.d.ts.map +1 -0
- package/dist/types/temporal.js +2 -0
- package/dist/types/temporal.js.map +1 -0
- package/package.json +2 -2
- package/src/features/calendar/public.ts +22 -0
- package/src/readerFree.ts +22 -0
- package/src/types/temporal.test.ts +88 -0
- package/src/types/temporal.ts +184 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 25.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 83ecdfa: Add the provider-neutral, serializable temporal event contract for future Calendar and Scheduler UI,
|
|
8
|
+
including type-safe timed and all-day recurrence values.
|
|
9
|
+
|
|
3
10
|
## 25.9.2
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
# @ankhorage/zora
|
|
5
5
|
|
|
6
|
-
         
|
|
7
7
|
|
|
8
8
|
Opinionated React Native and React Native Web UI kit built on @ankhorage/surface.
|
|
9
9
|
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export type { TemporalAllDayEvent, TemporalAllDayRange, TemporalAvailability, TemporalDataValue, TemporalDate, TemporalDuration, TemporalEvent, TemporalEventStatus, TemporalInstant, TemporalInteroperabilityData, TemporalParticipant, TemporalRange, TemporalRecurrence, TemporalRecurrenceException, TemporalRecurrenceRule, TemporalReminder, TemporalTimedEvent, TemporalTimedRange, TemporalTimeZone, TemporalTone, } from '../../types/temporal';
|
|
2
|
+
//# sourceMappingURL=public.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/features/calendar/public.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,mBAAmB,EACnB,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,YAAY,EACZ,gBAAgB,EAChB,aAAa,EACb,mBAAmB,EACnB,eAAe,EACf,4BAA4B,EAC5B,mBAAmB,EACnB,aAAa,EACb,kBAAkB,EAClB,2BAA2B,EAC3B,sBAAsB,EACtB,gBAAgB,EAChB,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAChB,YAAY,GACb,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public.js","sourceRoot":"","sources":["../../../src/features/calendar/public.ts"],"names":[],"mappings":"","sourcesContent":["export type {\n TemporalAllDayEvent,\n TemporalAllDayRange,\n TemporalAvailability,\n TemporalDataValue,\n TemporalDate,\n TemporalDuration,\n TemporalEvent,\n TemporalEventStatus,\n TemporalInstant,\n TemporalInteroperabilityData,\n TemporalParticipant,\n TemporalRange,\n TemporalRecurrence,\n TemporalRecurrenceException,\n TemporalRecurrenceRule,\n TemporalReminder,\n TemporalTimedEvent,\n TemporalTimedRange,\n TemporalTimeZone,\n TemporalTone,\n} from '../../types/temporal';\n"]}
|
package/dist/readerFree.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export type { IconButtonProps } from './features/button/public';
|
|
|
20
20
|
export { Button } from './features/button/public';
|
|
21
21
|
export { ButtonGroup } from './features/button/public';
|
|
22
22
|
export { IconButton } from './features/button/public';
|
|
23
|
+
export type { TemporalAllDayEvent, TemporalAllDayRange, TemporalAvailability, TemporalDataValue, TemporalDate, TemporalDuration, TemporalEvent, TemporalEventStatus, TemporalInstant, TemporalInteroperabilityData, TemporalParticipant, TemporalRange, TemporalRecurrence, TemporalRecurrenceException, TemporalRecurrenceRule, TemporalReminder, TemporalTimedEvent, TemporalTimedRange, TemporalTimeZone, TemporalTone, } from './features/calendar/public';
|
|
23
24
|
export type { CardProps } from './features/card/public';
|
|
24
25
|
export type { MediaCardImageProps, MediaCardProps } from './features/card/public';
|
|
25
26
|
export type { MetricCardProps } from './features/card/public';
|
package/dist/readerFree.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"readerFree.d.ts","sourceRoot":"","sources":["../src/readerFree.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,aAAa,EACb,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAClB,KAAK,sBAAsB,EAC3B,KAAK,cAAc,EACnB,KAAK,oBAAoB,GAC1B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,iBAAiB,EACjB,KAAK,sBAAsB,GAC5B,MAAM,sCAAsC,CAAC;AAC9C,YAAY,EAAE,UAAU,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7F,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9E,YAAY,EACV,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,eAAe,EACf,uBAAuB,EACvB,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACrB,iBAAiB,EACjB,uBAAuB,EACvB,sBAAsB,EACtB,YAAY,EACZ,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,gBAAgB,GACjB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,UAAU,EACV,4BAA4B,EAC5B,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,OAAO,EACP,wBAAwB,EACxB,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e,EACf,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,aAAa,GACd,MAAM,8BAA8B,CAAC;AACtC,YAAY,EACV,SAAS,EACT,SAAS,EACT,YAAY,EACZ,SAAS,EACT,WAAW,EACX,UAAU,GACX,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,YAAY,EACV,WAAW,EACX,eAAe,EACf,oBAAoB,EACpB,aAAa,EACb,qBAAqB,EACrB,UAAU,EACV,wBAAwB,GACzB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAC3E,YAAY,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC"}
|
package/dist/readerFree.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"readerFree.js","sourceRoot":"","sources":["../src/readerFree.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,aAAa,GAMd,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,iBAAiB,GAElB,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,SAAS,EAAuB,MAAM,8BAA8B,CAAC;AAqB9E,OAAO,EACL,UAAU,EACV,4BAA4B,EAC5B,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,OAAO,EACP,wBAAwB,EACxB,yBAAyB,EACzB,UAAU,EACV,UAAU,GACX,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAEhD,OAAO,EAAE,WAAW,EAAE,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B,EACtB,aAAa,EACb,iBAAiB,GAClB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,GAAG,EACH,OAAO,EAEP,QAAQ,EAGR,IAAI,GAEL,MAAM,wBAAwB,CAAC;AAOhC,OAAO,EACL,WAAW,EACX,aAAa,EACb,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,6BAA6B,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AAEzC,OAAO,EAAE,+BAA+B,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACxF,OAAO,EACL,UAAU,GAGX,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAQtD,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,OAAO,EAAqB,MAAM,2BAA2B,CAAC;AAEvE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAkBjE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AAUpD,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC","sourcesContent":["export {\n Accordion,\n AccordionItem,\n type AccordionItemProps,\n type AccordionMode,\n type AccordionMultipleProps,\n type AccordionProps,\n type AccordionSingleProps,\n} from './features/accordion/public';\nexport {\n ActivityIndicator,\n type ActivityIndicatorProps,\n} from './features/activity-indicator/public';\nexport type { AppBarMode, AppBarOverflowMenu, AppBarProps } from './features/app-bar/public';\nexport { AppBar } from './features/app-bar/public';\nexport { AppHeader, type AppHeaderProps } from './features/app-header/public';\nexport type {\n AuthFormBaseProps,\n AuthIdentifierKind,\n AuthScreenMode,\n AuthScreenProps,\n ForgotPasswordFormProps,\n ForgotPasswordFormValues,\n OAuthProviderButtonProps,\n OAuthProviderIconSpec,\n OAuthProviderItem,\n OAuthProviderListLayout,\n OAuthProviderListProps,\n OtpFormProps,\n OtpFormValues,\n SignInFormProps,\n SignInFormValues,\n SignUpFormField,\n SignUpFormProps,\n SignUpFormValues,\n} from './features/auth/public';\nexport {\n AuthScreen,\n DEFAULT_OAUTH_PROVIDER_ICONS,\n ForgotPasswordForm,\n OAuthProviderButton,\n OAuthProviderList,\n OtpForm,\n resolveOAuthProviderIcon,\n resolveOAuthProviderLabel,\n SignInForm,\n SignUpForm,\n} from './features/auth/public';\nexport type { AvatarProps, AvatarShape, AvatarSize } from './features/avatar/public';\nexport type { AvatarGroupItem, AvatarGroupProps } from './features/avatar/public';\nexport { Avatar, resolveAvatarInitials } from './features/avatar/public';\nexport { AvatarGroup } from './features/avatar/public';\nexport type { BadgeProps } from './features/badge/public';\nexport { Badge } from './features/badge/public';\nexport type { BottomSheetProps } from './features/bottom-sheet/public';\nexport { BottomSheet } from './features/bottom-sheet/public';\nexport {\n type BreadcrumbItem,\n type BreadcrumbPressEvent,\n Breadcrumbs,\n type BreadcrumbsProps,\n} from './features/breadcrumbs/public';\nexport type { ButtonProps } from './features/button/public';\nexport type {\n ButtonGroupAlign,\n ButtonGroupOrientation,\n ButtonGroupProps,\n} from './features/button/public';\nexport type { IconButtonProps } from './features/button/public';\nexport { Button } from './features/button/public';\nexport { ButtonGroup } from './features/button/public';\nexport { IconButton } from './features/button/public';\nexport type { CardProps } from './features/card/public';\nexport type { MediaCardImageProps, MediaCardProps } from './features/card/public';\nexport type { MetricCardProps } from './features/card/public';\nexport type {\n PostAction,\n PostAuthor,\n PostAuthorAvatar,\n PostCardMedia,\n PostCardProps,\n} from './features/card/public';\nexport type { ProductCardProps } from './features/card/public';\nexport { Card } from './features/card/public';\nexport { MediaCard } from './features/card/public';\nexport { MetricCard } from './features/card/public';\nexport { PostCard } from './features/card/public';\nexport { ProductCard } from './features/card/public';\nexport type {\n ChatListAvatar,\n ChatListItemProps,\n MessageBubbleAuthor,\n MessageBubbleAvatar,\n MessageBubbleDirection,\n MessageBubbleProps,\n MessageBubbleStatus,\n} from './features/chat/public';\nexport { ChatListItem, MessageBubble } from './features/chat/public';\nexport type {\n ChessBoardColorOverrides,\n ChessBoardColorScheme,\n ChessBoardOrientation,\n ChessBoardProps,\n ChessMoveAttempt,\n ChessMoveResult,\n ChessPieceCode,\n ChessPieceRenderContext,\n ChessPieceRenderer,\n ChessPieceState,\n ChessPromotionPiece,\n ChessSquareId,\n OpeningBookColorOverrides,\n OpeningBookColorScheme,\n OpeningBookMove,\n OpeningBookProps,\n} from './features/chess/public';\nexport type { ChessColorThemeShape } from './features/chess/public';\nexport { ChessBoard, chessBoardMeta, OpeningBook, openingBookMeta } from './features/chess/public';\nexport {\n chessSquares,\n createBoardSquares,\n createChessBoardColorScheme,\n createOpeningBookColorScheme,\n getLegalTargets,\n getSquareFile,\n getSquareRank,\n isLightSquare,\n readChessPieces,\n tryMove,\n} from './features/chess/public';\nexport type { ChipProps } from './features/chip/public';\nexport type { ChipGroupItem, ChipGroupProps } from './features/chip/public';\nexport { Chip } from './features/chip/public';\nexport { ChipGroup } from './features/chip/public';\nexport type {\n CollectionEditorProps,\n CollectionEditorRenderItemProps,\n} from './features/collection-editor/public';\nexport { CollectionEditor } from './features/collection-editor/public';\nexport type {\n ContentRailControlPressEvent,\n ContentRailDirection,\n ContentRailItemSize,\n ContentRailMotion,\n ContentRailProps,\n ContentRailSpacing,\n ContentRailVisibleRangeChangeEvent,\n} from './features/content-rail/public';\nexport { ContentRail } from './features/content-rail/public';\nexport type {\n DataTableCellContext,\n DataTableColumn,\n DataTableColumnAlign,\n DataTableDensity,\n DataTableProps,\n DataTableRowAction,\n DataTableSortDirection,\n DataTableSortState,\n} from './features/data-table/public';\nexport { DataTable } from './features/data-table/public';\nexport {\n DatePicker,\n type DatePickerProps,\n type DatePickerValue,\n} from './features/date-picker/public';\nexport { Dialog, type DialogProps } from './features/dialog/public';\nexport {\n EmptyState,\n type EmptyStateAction,\n type EmptyStateProps,\n} from './features/empty-state/public';\nexport type {\n ExplorerActivateEvent,\n ExplorerItem,\n ExplorerItemKind,\n ExplorerProps,\n ExplorerSelectionChangeEvent,\n ExplorerSelectionMode,\n} from './features/explorer/public';\nexport {\n Explorer,\n FileExplorer,\n MediaExplorer,\n resolveExplorerSelection,\n} from './features/explorer/public';\nexport {\n Checkbox,\n CheckboxGroup,\n type CheckboxGroupOption,\n type CheckboxGroupProps,\n type CheckboxProps,\n} from './features/form/checkbox/public';\nexport type {\n FieldProps,\n FormActionsProps,\n FormErrorProps,\n FormErrors,\n FormFieldConfig,\n FormFieldInputType,\n FormProps,\n FormValidationErrors,\n FormValidationResult,\n FormValues,\n UseFormControllerOptions,\n UseFormControllerResult,\n ValidationRule,\n} from './features/form/public';\nexport {\n Field,\n Form,\n FormActions,\n FormError,\n hasRequiredRule,\n useFormController,\n validateField,\n validateFields,\n validateValue,\n} from './features/form/public';\nexport {\n Radio,\n RadioGroup,\n type RadioGroupOption,\n type RadioGroupProps,\n type RadioProps,\n} from './features/form/radio/public';\nexport { SearchInput, type SearchInputProps } from './features/form/search-input/public';\nexport { Select, type SelectOption, type SelectProps } from './features/form/select/public';\nexport { Switch, type SwitchProps } from './features/form/switch/public';\nexport {\n TextInput,\n type TextInputProps,\n type TextInputTrailingAction,\n} from './features/form/text-input/public';\nexport type {\n GameEntityEasing,\n GameEntityMotionProps,\n GameEntityProps,\n GameFieldProps,\n GameInputZoneProps,\n GameKeyboardBinding,\n GameMeasurementProbeProps,\n GameOverlayPlacement,\n GameOverlayProps,\n GamePointerEvents,\n GameProps,\n} from './features/game/public';\nexport {\n Game,\n GameEntity,\n GameField,\n GameInputZone,\n GameMeasurementProbe,\n GameOverlay,\n} from './features/game/public';\nexport type {\n GradientColor,\n GradientColors,\n GradientLocations,\n GradientPoint,\n GradientProps,\n GradientRenderer,\n GradientRendererProps,\n GradientRendererProviderProps,\n} from './features/gradient/public';\nexport { Gradient, GradientRendererProvider } from './features/gradient/public';\nexport {\n createGridInteractionsController,\n type GridInteractionIntent,\n type GridInteractionItem,\n type GridInteractionPointer,\n GridInteractions,\n type GridInteractionsController,\n type GridInteractionsControllerProps,\n type GridInteractionSnap,\n type GridInteractionsProps,\n} from './features/grid-interactions/public';\nexport type {\n GridGuide,\n GridLineOverlayProps,\n GridRulerMark,\n GridRulerProps,\n GridRulerTickSource,\n} from './features/grid-rulers/public';\nexport { GridLineOverlay, GridRuler, resolveGridRulerMarks } from './features/grid-rulers/public';\nexport type { GridViewProps, TileGridItem, TileGridProps } from './features/grid-view/public';\nexport { GridView, layoutTileGrid, TileGrid } from './features/grid-view/public';\nexport {\n Hero,\n type HeroAction,\n type HeroAlign,\n type HeroLayout,\n type HeroProps,\n type HeroTone,\n} from './features/hero/public';\nexport type { IconProps } from './features/icon/public';\nexport { Icon } from './features/icon/public';\nexport type { ImageFit, ImageProps, SurfaceImageSource } from './features/image/public';\nexport { Image } from './features/image/public';\nexport {\n KeyboardAvoidingView,\n type KeyboardAvoidingViewBehavior,\n type KeyboardAvoidingViewProps,\n} from './features/keyboard-avoiding-view/public';\nexport type {\n AppShellProps,\n DividerProps,\n GridProps,\n ScreenProps,\n ScrollViewProps,\n ViewProps,\n} from './features/layout/public';\nexport { AppShell, Divider, Grid, Screen, ScrollView, View } from './features/layout/public';\nexport type {\n ManifestListProps,\n ManifestListSection,\n ManifestSectionListProps,\n} from './features/list/public';\nexport type {\n ListChildrenProps,\n ListItemProps,\n ListItemsProps,\n ListItemVariant,\n ListProps,\n ListSectionProps,\n} from './features/list/public';\nexport { FlatList, SectionList } from './features/list/public';\nexport { List, ListItem, ListSection } from './features/list/public';\nexport type { MatrixGridProps } from './features/matrix-grid/public';\nexport { MatrixGrid } from './features/matrix-grid/public';\nexport { MissingElement, type MissingElementProps } from './features/missing-element/public';\nexport { Pagination, type PaginationProps } from './features/pagination/public';\nexport type { PaletteItemProps } from './features/palette-item/public';\nexport { PaletteItem } from './features/palette-item/public';\nexport {\n PopoverMenu,\n type PopoverMenuAction,\n type PopoverMenuActionIntent,\n type PopoverMenuProps,\n} from './features/popover-menu/public';\nexport {\n Progress,\n type ProgressProps,\n ProgressRing,\n type ProgressRingProps,\n} from './features/progress/public';\nexport { Rating, type RatingProps } from './features/rating/public';\nexport type {\n ZoraBindableComponentType,\n ZoraComponentBlueprint,\n ZoraComponentCategory,\n ZoraComponentEventMeta,\n ZoraComponentEventPayloadFieldMeta,\n ZoraComponentEventPayloadFieldType,\n ZoraComponentEventPayloadKind,\n ZoraComponentI18nMeta,\n ZoraComponentManifestPolicy,\n ZoraComponentMeta,\n ZoraComponentMetaRegistry,\n ZoraComponentPropArrayItemSchema,\n ZoraComponentPropAuthoring,\n ZoraComponentPropSchema,\n ZoraComponentPropType,\n ZoraComponentPropValue,\n ZoraComponentSlotMeta,\n ZoraThemeRecipeBooleanFieldMeta,\n ZoraThemeRecipeChoiceFieldMeta,\n ZoraThemeRecipeFieldMeta,\n ZoraThemeRecipeKind,\n ZoraThemeRecipeMeta,\n ZoraThemeRecipeMetaRegistry,\n ZoraThemeRecipeTokenFieldMeta,\n ZoraThemeTokenFamily,\n} from './features/registry';\nexport {\n ZORA_BINDABLE_COMPONENT_META,\n ZORA_COMPONENT_META,\n ZORA_THEME_RECIPE_META,\n ZORA_THEME_TOKEN_FAMILIES,\n} from './features/registry';\nexport {\n createZoraComponentRegistry,\n ZORA_BASE_COMPONENT_REGISTRY,\n} from './features/registry/readerFreeRegistry';\nexport type {\n BarcodeScannerViewProps,\n BarcodeScanResult,\n CameraPermissionStatus,\n CameraPermissionViewProps,\n ScanOverlayProps,\n} from './features/scanner/public';\nexport { BarcodeScannerView, CameraPermissionView, ScanOverlay } from './features/scanner/public';\nexport {\n ScreenSection,\n type ScreenSectionProps,\n SectionHeader,\n type SectionHeaderProps,\n} from './features/section/public';\nexport type {\n SelectableItemProps,\n SelectableItemState,\n SelectionIntent,\n SelectionMode,\n SelectionProviderProps,\n SelectionTrigger,\n UseSelectionResult,\n} from './features/selection/public';\nexport { SelectableItem, SelectionProvider, useSelection } from './features/selection/public';\nexport {\n Skeleton,\n SkeletonCard,\n type SkeletonCardProps,\n type SkeletonDimension,\n SkeletonList,\n type SkeletonListProps,\n type SkeletonListVariant,\n type SkeletonProps,\n type SkeletonRadius,\n SkeletonText,\n type SkeletonTextProps,\n} from './features/skeleton/public';\nexport type {\n SpatialGridItem,\n SpatialGridItemState,\n SpatialGridProps,\n} from './features/spatial-grid/public';\nexport { SpatialGrid } from './features/spatial-grid/public';\nexport type { SurfaceProps, SurfaceVariant } from './features/surface/public';\nexport { Surface } from './features/surface/public';\nexport type {\n CardBackProps,\n CardHandProps,\n CreatePokerTrainingTableStateOptions,\n CreateTabletopGameSeatsInput,\n PlayingCardProps,\n PlayingCardSuit,\n PlayingCardValue,\n PokerTrainingPlayer,\n PokerTrainingTableProps,\n PokerTrainingTableSize,\n PokerTrainingTableState,\n PokerTrainingTaskTableData,\n TabletopCardSize,\n TabletopColorOverrides,\n TabletopColorScheme,\n TabletopGameParticipantState,\n TabletopGameSeatDefinition,\n TabletopGameSeatPresentation,\n TabletopSeatCount,\n TabletopSeatState,\n TabletopShape,\n TabletopTableProps,\n} from './features/tabletop/public';\nexport {\n CardBack,\n CardHand,\n createPokerTrainingTableState,\n createTabletopColorScheme,\n createTabletopGameSeats,\n PlayingCard,\n PokerTrainingTable,\n pokerTrainingTableMeta,\n TabletopTable,\n tabletopTableMeta,\n} from './features/tabletop/public';\nexport {\n Tab,\n TabList,\n type TabListProps,\n TabPanel,\n type TabPanelProps,\n type TabProps,\n Tabs,\n type TabsProps,\n} from './features/tabs/public';\nexport type {\n ZoraColor,\n ZoraEmphasis,\n ZoraPaletteColor,\n ZoraStatusColor,\n} from './features/theme/colorModel';\nexport {\n ZORA_COLORS,\n ZORA_EMPHASES,\n ZORA_PALETTE_COLORS,\n ZORA_STATUS_COLORS,\n} from './features/theme/colorModel';\nexport * from './features/theme/public';\nexport * from './features/theme/runtime';\nexport type { TimeGridInterval, TimeGridLane, TimeGridProps } from './features/time-grid/public';\nexport { resolveTimeGridVisibleIntervals, TimeGrid } from './features/time-grid/public';\nexport {\n TimePicker,\n type TimePickerProps,\n type TimePickerValue,\n} from './features/time-picker/public';\nexport type { TimelineItem, TimelineProps } from './features/timeline/public';\nexport { Timeline } from './features/timeline/public';\nexport type {\n ToastController,\n ToastOptions,\n ToastProps,\n ToastProviderProps,\n ToastStatus,\n} from './features/toast/public';\nexport { Toast, ToastProvider, useToast } from './features/toast/public';\nexport { Toolbar, type ToolbarProps } from './features/toolbar/public';\nexport type { TreeItemNode, TreeItemRenderProps, TreeViewProps } from './features/tree-view/public';\nexport { TreeItem, TreeView } from './features/tree-view/public';\nexport type {\n HeadingAlign,\n HeadingColor,\n HeadingEmphasis,\n HeadingLevel,\n HeadingProps,\n HeadingSize,\n HeadingWeight,\n} from './features/typography/public';\nexport type {\n TextAlign,\n TextColor,\n TextEmphasis,\n TextProps,\n TextVariant,\n TextWeight,\n} from './features/typography/public';\nexport { Heading } from './features/typography/public';\nexport { Text } from './features/typography/public';\nexport type {\n UploadAsset,\n UploadAssetBase,\n UploaderExplorerItem,\n UploaderProps,\n UploadProgressContext,\n UploadType,\n ValidateUploadAssetInput,\n} from './features/uploader/public';\nexport { Uploader, validateUploadAsset } from './features/uploader/public';\nexport type { ZoraComponentRegistry } from './types/registry';\n"]}
|
|
1
|
+
{"version":3,"file":"readerFree.js","sourceRoot":"","sources":["../src/readerFree.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,aAAa,GAMd,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,iBAAiB,GAElB,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,SAAS,EAAuB,MAAM,8BAA8B,CAAC;AAqB9E,OAAO,EACL,UAAU,EACV,4BAA4B,EAC5B,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,OAAO,EACP,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Z,YAAY,EAKZ,YAAY,GAEb,MAAM,4BAA4B,CAAC;AAMpC,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAyBpD,OAAO,EACL,QAAQ,EACR,QAAQ,EACR,6BAA6B,EAC7B,yBAAyB,EACzB,uBAAuB,EACvB,WAAW,EACX,kBAAkB,EAClB,sBAAsB,EACtB,aAAa,EACb,iBAAiB,GAClB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,GAAG,EACH,OAAO,EAEP,QAAQ,EAGR,IAAI,GAEL,MAAM,wBAAwB,CAAC;AAOhC,OAAO,EACL,WAAW,EACX,aAAa,EACb,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,6BAA6B,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AAEzC,OAAO,EAAE,+BAA+B,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACxF,OAAO,EACL,UAAU,GAGX,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAQtD,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,OAAO,EAAqB,MAAM,2BAA2B,CAAC;AAEvE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAkBjE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AAUpD,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC","sourcesContent":["export {\n Accordion,\n AccordionItem,\n type AccordionItemProps,\n type AccordionMode,\n type AccordionMultipleProps,\n type AccordionProps,\n type AccordionSingleProps,\n} from './features/accordion/public';\nexport {\n ActivityIndicator,\n type ActivityIndicatorProps,\n} from './features/activity-indicator/public';\nexport type { AppBarMode, AppBarOverflowMenu, AppBarProps } from './features/app-bar/public';\nexport { AppBar } from './features/app-bar/public';\nexport { AppHeader, type AppHeaderProps } from './features/app-header/public';\nexport type {\n AuthFormBaseProps,\n AuthIdentifierKind,\n AuthScreenMode,\n AuthScreenProps,\n ForgotPasswordFormProps,\n ForgotPasswordFormValues,\n OAuthProviderButtonProps,\n OAuthProviderIconSpec,\n OAuthProviderItem,\n OAuthProviderListLayout,\n OAuthProviderListProps,\n OtpFormProps,\n OtpFormValues,\n SignInFormProps,\n SignInFormValues,\n SignUpFormField,\n SignUpFormProps,\n SignUpFormValues,\n} from './features/auth/public';\nexport {\n AuthScreen,\n DEFAULT_OAUTH_PROVIDER_ICONS,\n ForgotPasswordForm,\n OAuthProviderButton,\n OAuthProviderList,\n OtpForm,\n resolveOAuthProviderIcon,\n resolveOAuthProviderLabel,\n SignInForm,\n SignUpForm,\n} from './features/auth/public';\nexport type { AvatarProps, AvatarShape, AvatarSize } from './features/avatar/public';\nexport type { AvatarGroupItem, AvatarGroupProps } from './features/avatar/public';\nexport { Avatar, resolveAvatarInitials } from './features/avatar/public';\nexport { AvatarGroup } from './features/avatar/public';\nexport type { BadgeProps } from './features/badge/public';\nexport { Badge } from './features/badge/public';\nexport type { BottomSheetProps } from './features/bottom-sheet/public';\nexport { BottomSheet } from './features/bottom-sheet/public';\nexport {\n type BreadcrumbItem,\n type BreadcrumbPressEvent,\n Breadcrumbs,\n type BreadcrumbsProps,\n} from './features/breadcrumbs/public';\nexport type { ButtonProps } from './features/button/public';\nexport type {\n ButtonGroupAlign,\n ButtonGroupOrientation,\n ButtonGroupProps,\n} from './features/button/public';\nexport type { IconButtonProps } from './features/button/public';\nexport { Button } from './features/button/public';\nexport { ButtonGroup } from './features/button/public';\nexport { IconButton } from './features/button/public';\nexport type {\n TemporalAllDayEvent,\n TemporalAllDayRange,\n TemporalAvailability,\n TemporalDataValue,\n TemporalDate,\n TemporalDuration,\n TemporalEvent,\n TemporalEventStatus,\n TemporalInstant,\n TemporalInteroperabilityData,\n TemporalParticipant,\n TemporalRange,\n TemporalRecurrence,\n TemporalRecurrenceException,\n TemporalRecurrenceRule,\n TemporalReminder,\n TemporalTimedEvent,\n TemporalTimedRange,\n TemporalTimeZone,\n TemporalTone,\n} from './features/calendar/public';\nexport type { CardProps } from './features/card/public';\nexport type { MediaCardImageProps, MediaCardProps } from './features/card/public';\nexport type { MetricCardProps } from './features/card/public';\nexport type {\n PostAction,\n PostAuthor,\n PostAuthorAvatar,\n PostCardMedia,\n PostCardProps,\n} from './features/card/public';\nexport type { ProductCardProps } from './features/card/public';\nexport { Card } from './features/card/public';\nexport { MediaCard } from './features/card/public';\nexport { MetricCard } from './features/card/public';\nexport { PostCard } from './features/card/public';\nexport { ProductCard } from './features/card/public';\nexport type {\n ChatListAvatar,\n ChatListItemProps,\n MessageBubbleAuthor,\n MessageBubbleAvatar,\n MessageBubbleDirection,\n MessageBubbleProps,\n MessageBubbleStatus,\n} from './features/chat/public';\nexport { ChatListItem, MessageBubble } from './features/chat/public';\nexport type {\n ChessBoardColorOverrides,\n ChessBoardColorScheme,\n ChessBoardOrientation,\n ChessBoardProps,\n ChessMoveAttempt,\n ChessMoveResult,\n ChessPieceCode,\n ChessPieceRenderContext,\n ChessPieceRenderer,\n ChessPieceState,\n ChessPromotionPiece,\n ChessSquareId,\n OpeningBookColorOverrides,\n OpeningBookColorScheme,\n OpeningBookMove,\n OpeningBookProps,\n} from './features/chess/public';\nexport type { ChessColorThemeShape } from './features/chess/public';\nexport { ChessBoard, chessBoardMeta, OpeningBook, openingBookMeta } from './features/chess/public';\nexport {\n chessSquares,\n createBoardSquares,\n createChessBoardColorScheme,\n createOpeningBookColorScheme,\n getLegalTargets,\n getSquareFile,\n getSquareRank,\n isLightSquare,\n readChessPieces,\n tryMove,\n} from './features/chess/public';\nexport type { ChipProps } from './features/chip/public';\nexport type { ChipGroupItem, ChipGroupProps } from './features/chip/public';\nexport { Chip } from './features/chip/public';\nexport { ChipGroup } from './features/chip/public';\nexport type {\n CollectionEditorProps,\n CollectionEditorRenderItemProps,\n} from './features/collection-editor/public';\nexport { CollectionEditor } from './features/collection-editor/public';\nexport type {\n ContentRailControlPressEvent,\n ContentRailDirection,\n ContentRailItemSize,\n ContentRailMotion,\n ContentRailProps,\n ContentRailSpacing,\n ContentRailVisibleRangeChangeEvent,\n} from './features/content-rail/public';\nexport { ContentRail } from './features/content-rail/public';\nexport type {\n DataTableCellContext,\n DataTableColumn,\n DataTableColumnAlign,\n DataTableDensity,\n DataTableProps,\n DataTableRowAction,\n DataTableSortDirection,\n DataTableSortState,\n} from './features/data-table/public';\nexport { DataTable } from './features/data-table/public';\nexport {\n DatePicker,\n type DatePickerProps,\n type DatePickerValue,\n} from './features/date-picker/public';\nexport { Dialog, type DialogProps } from './features/dialog/public';\nexport {\n EmptyState,\n type EmptyStateAction,\n type EmptyStateProps,\n} from './features/empty-state/public';\nexport type {\n ExplorerActivateEvent,\n ExplorerItem,\n ExplorerItemKind,\n ExplorerProps,\n ExplorerSelectionChangeEvent,\n ExplorerSelectionMode,\n} from './features/explorer/public';\nexport {\n Explorer,\n FileExplorer,\n MediaExplorer,\n resolveExplorerSelection,\n} from './features/explorer/public';\nexport {\n Checkbox,\n CheckboxGroup,\n type CheckboxGroupOption,\n type CheckboxGroupProps,\n type CheckboxProps,\n} from './features/form/checkbox/public';\nexport type {\n FieldProps,\n FormActionsProps,\n FormErrorProps,\n FormErrors,\n FormFieldConfig,\n FormFieldInputType,\n FormProps,\n FormValidationErrors,\n FormValidationResult,\n FormValues,\n UseFormControllerOptions,\n UseFormControllerResult,\n ValidationRule,\n} from './features/form/public';\nexport {\n Field,\n Form,\n FormActions,\n FormError,\n hasRequiredRule,\n useFormController,\n validateField,\n validateFields,\n validateValue,\n} from './features/form/public';\nexport {\n Radio,\n RadioGroup,\n type RadioGroupOption,\n type RadioGroupProps,\n type RadioProps,\n} from './features/form/radio/public';\nexport { SearchInput, type SearchInputProps } from './features/form/search-input/public';\nexport { Select, type SelectOption, type SelectProps } from './features/form/select/public';\nexport { Switch, type SwitchProps } from './features/form/switch/public';\nexport {\n TextInput,\n type TextInputProps,\n type TextInputTrailingAction,\n} from './features/form/text-input/public';\nexport type {\n GameEntityEasing,\n GameEntityMotionProps,\n GameEntityProps,\n GameFieldProps,\n GameInputZoneProps,\n GameKeyboardBinding,\n GameMeasurementProbeProps,\n GameOverlayPlacement,\n GameOverlayProps,\n GamePointerEvents,\n GameProps,\n} from './features/game/public';\nexport {\n Game,\n GameEntity,\n GameField,\n GameInputZone,\n GameMeasurementProbe,\n GameOverlay,\n} from './features/game/public';\nexport type {\n GradientColor,\n GradientColors,\n GradientLocations,\n GradientPoint,\n GradientProps,\n GradientRenderer,\n GradientRendererProps,\n GradientRendererProviderProps,\n} from './features/gradient/public';\nexport { Gradient, GradientRendererProvider } from './features/gradient/public';\nexport {\n createGridInteractionsController,\n type GridInteractionIntent,\n type GridInteractionItem,\n type GridInteractionPointer,\n GridInteractions,\n type GridInteractionsController,\n type GridInteractionsControllerProps,\n type GridInteractionSnap,\n type GridInteractionsProps,\n} from './features/grid-interactions/public';\nexport type {\n GridGuide,\n GridLineOverlayProps,\n GridRulerMark,\n GridRulerProps,\n GridRulerTickSource,\n} from './features/grid-rulers/public';\nexport { GridLineOverlay, GridRuler, resolveGridRulerMarks } from './features/grid-rulers/public';\nexport type { GridViewProps, TileGridItem, TileGridProps } from './features/grid-view/public';\nexport { GridView, layoutTileGrid, TileGrid } from './features/grid-view/public';\nexport {\n Hero,\n type HeroAction,\n type HeroAlign,\n type HeroLayout,\n type HeroProps,\n type HeroTone,\n} from './features/hero/public';\nexport type { IconProps } from './features/icon/public';\nexport { Icon } from './features/icon/public';\nexport type { ImageFit, ImageProps, SurfaceImageSource } from './features/image/public';\nexport { Image } from './features/image/public';\nexport {\n KeyboardAvoidingView,\n type KeyboardAvoidingViewBehavior,\n type KeyboardAvoidingViewProps,\n} from './features/keyboard-avoiding-view/public';\nexport type {\n AppShellProps,\n DividerProps,\n GridProps,\n ScreenProps,\n ScrollViewProps,\n ViewProps,\n} from './features/layout/public';\nexport { AppShell, Divider, Grid, Screen, ScrollView, View } from './features/layout/public';\nexport type {\n ManifestListProps,\n ManifestListSection,\n ManifestSectionListProps,\n} from './features/list/public';\nexport type {\n ListChildrenProps,\n ListItemProps,\n ListItemsProps,\n ListItemVariant,\n ListProps,\n ListSectionProps,\n} from './features/list/public';\nexport { FlatList, SectionList } from './features/list/public';\nexport { List, ListItem, ListSection } from './features/list/public';\nexport type { MatrixGridProps } from './features/matrix-grid/public';\nexport { MatrixGrid } from './features/matrix-grid/public';\nexport { MissingElement, type MissingElementProps } from './features/missing-element/public';\nexport { Pagination, type PaginationProps } from './features/pagination/public';\nexport type { PaletteItemProps } from './features/palette-item/public';\nexport { PaletteItem } from './features/palette-item/public';\nexport {\n PopoverMenu,\n type PopoverMenuAction,\n type PopoverMenuActionIntent,\n type PopoverMenuProps,\n} from './features/popover-menu/public';\nexport {\n Progress,\n type ProgressProps,\n ProgressRing,\n type ProgressRingProps,\n} from './features/progress/public';\nexport { Rating, type RatingProps } from './features/rating/public';\nexport type {\n ZoraBindableComponentType,\n ZoraComponentBlueprint,\n ZoraComponentCategory,\n ZoraComponentEventMeta,\n ZoraComponentEventPayloadFieldMeta,\n ZoraComponentEventPayloadFieldType,\n ZoraComponentEventPayloadKind,\n ZoraComponentI18nMeta,\n ZoraComponentManifestPolicy,\n ZoraComponentMeta,\n ZoraComponentMetaRegistry,\n ZoraComponentPropArrayItemSchema,\n ZoraComponentPropAuthoring,\n ZoraComponentPropSchema,\n ZoraComponentPropType,\n ZoraComponentPropValue,\n ZoraComponentSlotMeta,\n ZoraThemeRecipeBooleanFieldMeta,\n ZoraThemeRecipeChoiceFieldMeta,\n ZoraThemeRecipeFieldMeta,\n ZoraThemeRecipeKind,\n ZoraThemeRecipeMeta,\n ZoraThemeRecipeMetaRegistry,\n ZoraThemeRecipeTokenFieldMeta,\n ZoraThemeTokenFamily,\n} from './features/registry';\nexport {\n ZORA_BINDABLE_COMPONENT_META,\n ZORA_COMPONENT_META,\n ZORA_THEME_RECIPE_META,\n ZORA_THEME_TOKEN_FAMILIES,\n} from './features/registry';\nexport {\n createZoraComponentRegistry,\n ZORA_BASE_COMPONENT_REGISTRY,\n} from './features/registry/readerFreeRegistry';\nexport type {\n BarcodeScannerViewProps,\n BarcodeScanResult,\n CameraPermissionStatus,\n CameraPermissionViewProps,\n ScanOverlayProps,\n} from './features/scanner/public';\nexport { BarcodeScannerView, CameraPermissionView, ScanOverlay } from './features/scanner/public';\nexport {\n ScreenSection,\n type ScreenSectionProps,\n SectionHeader,\n type SectionHeaderProps,\n} from './features/section/public';\nexport type {\n SelectableItemProps,\n SelectableItemState,\n SelectionIntent,\n SelectionMode,\n SelectionProviderProps,\n SelectionTrigger,\n UseSelectionResult,\n} from './features/selection/public';\nexport { SelectableItem, SelectionProvider, useSelection } from './features/selection/public';\nexport {\n Skeleton,\n SkeletonCard,\n type SkeletonCardProps,\n type SkeletonDimension,\n SkeletonList,\n type SkeletonListProps,\n type SkeletonListVariant,\n type SkeletonProps,\n type SkeletonRadius,\n SkeletonText,\n type SkeletonTextProps,\n} from './features/skeleton/public';\nexport type {\n SpatialGridItem,\n SpatialGridItemState,\n SpatialGridProps,\n} from './features/spatial-grid/public';\nexport { SpatialGrid } from './features/spatial-grid/public';\nexport type { SurfaceProps, SurfaceVariant } from './features/surface/public';\nexport { Surface } from './features/surface/public';\nexport type {\n CardBackProps,\n CardHandProps,\n CreatePokerTrainingTableStateOptions,\n CreateTabletopGameSeatsInput,\n PlayingCardProps,\n PlayingCardSuit,\n PlayingCardValue,\n PokerTrainingPlayer,\n PokerTrainingTableProps,\n PokerTrainingTableSize,\n PokerTrainingTableState,\n PokerTrainingTaskTableData,\n TabletopCardSize,\n TabletopColorOverrides,\n TabletopColorScheme,\n TabletopGameParticipantState,\n TabletopGameSeatDefinition,\n TabletopGameSeatPresentation,\n TabletopSeatCount,\n TabletopSeatState,\n TabletopShape,\n TabletopTableProps,\n} from './features/tabletop/public';\nexport {\n CardBack,\n CardHand,\n createPokerTrainingTableState,\n createTabletopColorScheme,\n createTabletopGameSeats,\n PlayingCard,\n PokerTrainingTable,\n pokerTrainingTableMeta,\n TabletopTable,\n tabletopTableMeta,\n} from './features/tabletop/public';\nexport {\n Tab,\n TabList,\n type TabListProps,\n TabPanel,\n type TabPanelProps,\n type TabProps,\n Tabs,\n type TabsProps,\n} from './features/tabs/public';\nexport type {\n ZoraColor,\n ZoraEmphasis,\n ZoraPaletteColor,\n ZoraStatusColor,\n} from './features/theme/colorModel';\nexport {\n ZORA_COLORS,\n ZORA_EMPHASES,\n ZORA_PALETTE_COLORS,\n ZORA_STATUS_COLORS,\n} from './features/theme/colorModel';\nexport * from './features/theme/public';\nexport * from './features/theme/runtime';\nexport type { TimeGridInterval, TimeGridLane, TimeGridProps } from './features/time-grid/public';\nexport { resolveTimeGridVisibleIntervals, TimeGrid } from './features/time-grid/public';\nexport {\n TimePicker,\n type TimePickerProps,\n type TimePickerValue,\n} from './features/time-picker/public';\nexport type { TimelineItem, TimelineProps } from './features/timeline/public';\nexport { Timeline } from './features/timeline/public';\nexport type {\n ToastController,\n ToastOptions,\n ToastProps,\n ToastProviderProps,\n ToastStatus,\n} from './features/toast/public';\nexport { Toast, ToastProvider, useToast } from './features/toast/public';\nexport { Toolbar, type ToolbarProps } from './features/toolbar/public';\nexport type { TreeItemNode, TreeItemRenderProps, TreeViewProps } from './features/tree-view/public';\nexport { TreeItem, TreeView } from './features/tree-view/public';\nexport type {\n HeadingAlign,\n HeadingColor,\n HeadingEmphasis,\n HeadingLevel,\n HeadingProps,\n HeadingSize,\n HeadingWeight,\n} from './features/typography/public';\nexport type {\n TextAlign,\n TextColor,\n TextEmphasis,\n TextProps,\n TextVariant,\n TextWeight,\n} from './features/typography/public';\nexport { Heading } from './features/typography/public';\nexport { Text } from './features/typography/public';\nexport type {\n UploadAsset,\n UploadAssetBase,\n UploaderExplorerItem,\n UploaderProps,\n UploadProgressContext,\n UploadType,\n ValidateUploadAssetInput,\n} from './features/uploader/public';\nexport { Uploader, validateUploadAsset } from './features/uploader/public';\nexport type { ZoraComponentRegistry } from './types/registry';\n"]}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
/** A calendar date without a time or timezone, represented as `YYYY-MM-DD`. */
|
|
2
|
+
export type TemporalDate = `${number}-${number}-${number}`;
|
|
3
|
+
/** A UTC ISO-8601 instant, represented as an RFC 3339 string ending in `Z`. */
|
|
4
|
+
export type TemporalInstant = `${string}Z`;
|
|
5
|
+
/** An IANA timezone identifier such as `Europe/Zurich`. */
|
|
6
|
+
export type TemporalTimeZone = string;
|
|
7
|
+
/** An ISO-8601 duration string such as `PT30M` or `-PT15M`. */
|
|
8
|
+
export type TemporalDuration = string;
|
|
9
|
+
/**
|
|
10
|
+
* This contract describes serializable shape, not runtime validation. Consumers must validate
|
|
11
|
+
* RFC 3339 instants, ISO calendar dates and durations, IANA zone identifiers, positive non-zero
|
|
12
|
+
* intervals, ordered ranges, and finite JSON numbers at their input boundary.
|
|
13
|
+
*/
|
|
14
|
+
export type TemporalDataValue = boolean | null | number | string | readonly TemporalDataValue[] | {
|
|
15
|
+
readonly [key: string]: TemporalDataValue;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* A timed interval with exactly one exclusive end. Recurring timed events retain the local
|
|
19
|
+
* wall-clock time derived from `start` in `timeZone` across DST transitions; a recurrence engine
|
|
20
|
+
* materializes each occurrence as its corresponding UTC instant.
|
|
21
|
+
*/
|
|
22
|
+
export type TemporalTimedRange = {
|
|
23
|
+
readonly allDay: false;
|
|
24
|
+
readonly start: TemporalInstant;
|
|
25
|
+
readonly end: TemporalInstant;
|
|
26
|
+
readonly duration?: never;
|
|
27
|
+
readonly timeZone: TemporalTimeZone;
|
|
28
|
+
} | {
|
|
29
|
+
readonly allDay: false;
|
|
30
|
+
readonly start: TemporalInstant;
|
|
31
|
+
readonly end?: never;
|
|
32
|
+
readonly duration: TemporalDuration;
|
|
33
|
+
readonly timeZone: TemporalTimeZone;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* A timezone-free all-day calendar-date interval with exactly one exclusive end. `end` is the
|
|
37
|
+
* first day not included, so a one-day event from `2026-10-24` ends on `2026-10-25`.
|
|
38
|
+
*/
|
|
39
|
+
export type TemporalAllDayRange = {
|
|
40
|
+
readonly allDay: true;
|
|
41
|
+
readonly start: TemporalDate;
|
|
42
|
+
readonly end: TemporalDate;
|
|
43
|
+
readonly duration?: never;
|
|
44
|
+
} | {
|
|
45
|
+
readonly allDay: true;
|
|
46
|
+
readonly start: TemporalDate;
|
|
47
|
+
readonly end?: never;
|
|
48
|
+
readonly duration: TemporalDuration;
|
|
49
|
+
};
|
|
50
|
+
/** A timed or all-day interval with exactly one way to define its exclusive end. */
|
|
51
|
+
export type TemporalRange = TemporalAllDayRange | TemporalTimedRange;
|
|
52
|
+
/** The availability an event contributes without disclosing its details. */
|
|
53
|
+
export type TemporalAvailability = 'free' | 'busy' | 'tentative' | 'unavailable';
|
|
54
|
+
/** A provider-neutral lifecycle state for a scheduled event. */
|
|
55
|
+
export type TemporalEventStatus = 'cancelled' | 'confirmed' | 'draft' | 'tentative';
|
|
56
|
+
/** A semantic theme treatment that later ZORA renderers resolve through their active theme. */
|
|
57
|
+
export type TemporalTone = 'accent' | 'critical' | 'info' | 'neutral' | 'positive' | 'warning';
|
|
58
|
+
/** A person or organization participating in an event without provider-specific identity objects. */
|
|
59
|
+
export interface TemporalParticipant {
|
|
60
|
+
readonly id?: string;
|
|
61
|
+
readonly name?: string;
|
|
62
|
+
readonly email?: string;
|
|
63
|
+
readonly role?: 'optional' | 'organizer' | 'required' | 'resource';
|
|
64
|
+
readonly response?: 'accepted' | 'declined' | 'delegated' | 'needs-action' | 'tentative';
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* A reminder relative to the event start or exclusive end. A negative ISO duration fires before
|
|
68
|
+
* that reference point; a positive duration fires after it.
|
|
69
|
+
*/
|
|
70
|
+
export interface TemporalReminder {
|
|
71
|
+
readonly id: string;
|
|
72
|
+
readonly offset: TemporalDuration;
|
|
73
|
+
readonly reference: 'end' | 'start';
|
|
74
|
+
readonly channel?: 'display' | 'email' | 'push';
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* One normalized recurrence rule. `until` has the same value type as DTSTART: a date for all-day
|
|
78
|
+
* series and a UTC instant for timed series. Adapter layers map this to and from RFC 5545 RRULE.
|
|
79
|
+
*/
|
|
80
|
+
export interface TemporalRecurrenceRule<TValue extends TemporalDate | TemporalInstant> {
|
|
81
|
+
readonly frequency: 'daily' | 'monthly' | 'weekly' | 'yearly';
|
|
82
|
+
readonly interval?: number;
|
|
83
|
+
readonly count?: number;
|
|
84
|
+
readonly until?: TValue;
|
|
85
|
+
readonly weekdays?: readonly ('friday' | 'monday' | 'saturday' | 'sunday' | 'thursday' | 'tuesday' | 'wednesday')[];
|
|
86
|
+
readonly monthDays?: readonly number[];
|
|
87
|
+
readonly months?: readonly number[];
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Recurrence data retained independently from provider-specific series representations. `dates`
|
|
91
|
+
* and `excludedDates` correspond to RFC 5545 RDATE and EXDATE and use the DTSTART value type.
|
|
92
|
+
*/
|
|
93
|
+
export interface TemporalRecurrence<TValue extends TemporalDate | TemporalInstant> {
|
|
94
|
+
readonly rules: readonly TemporalRecurrenceRule<TValue>[];
|
|
95
|
+
readonly dates?: readonly TValue[];
|
|
96
|
+
readonly excludedDates?: readonly TValue[];
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* A detached occurrence that replaces or cancels one generated recurrence instance. `recurrenceId`
|
|
100
|
+
* is the original scheduled DTSTART value: for timed DST series, the UTC instant materialized from
|
|
101
|
+
* that occurrence's wall-clock time in the series timezone; for all-day series, its calendar date.
|
|
102
|
+
*/
|
|
103
|
+
export interface TemporalRecurrenceException<TValue extends TemporalDate | TemporalInstant, TRange extends TemporalRange> {
|
|
104
|
+
readonly recurrenceId: TValue;
|
|
105
|
+
readonly status: 'cancelled' | 'replacement';
|
|
106
|
+
readonly range?: TRange;
|
|
107
|
+
readonly title?: string;
|
|
108
|
+
}
|
|
109
|
+
/** Lossless serialized data that an interoperability adapter must round-trip without exposing its runtime. */
|
|
110
|
+
export interface TemporalInteroperabilityData {
|
|
111
|
+
readonly format: 'icalendar' | 'jcal' | 'provider';
|
|
112
|
+
readonly value: TemporalDataValue;
|
|
113
|
+
}
|
|
114
|
+
interface TemporalEventBase {
|
|
115
|
+
readonly id: string;
|
|
116
|
+
readonly title: string;
|
|
117
|
+
readonly description?: string;
|
|
118
|
+
readonly location?: string;
|
|
119
|
+
readonly conferenceUrl?: string;
|
|
120
|
+
readonly calendarId?: string;
|
|
121
|
+
readonly tone?: TemporalTone;
|
|
122
|
+
readonly availability?: TemporalAvailability;
|
|
123
|
+
readonly status?: TemporalEventStatus;
|
|
124
|
+
readonly resourceIds?: readonly string[];
|
|
125
|
+
readonly organizer?: TemporalParticipant;
|
|
126
|
+
readonly attendees?: readonly TemporalParticipant[];
|
|
127
|
+
readonly reminders?: readonly TemporalReminder[];
|
|
128
|
+
readonly editable?: boolean;
|
|
129
|
+
readonly metadata?: Readonly<Record<string, TemporalDataValue>>;
|
|
130
|
+
readonly interoperability?: readonly TemporalInteroperabilityData[];
|
|
131
|
+
}
|
|
132
|
+
/** A provider-neutral timed event with instant-based recurrence values. */
|
|
133
|
+
export interface TemporalTimedEvent extends TemporalEventBase {
|
|
134
|
+
readonly range: TemporalTimedRange;
|
|
135
|
+
readonly recurrence?: TemporalRecurrence<TemporalInstant>;
|
|
136
|
+
readonly recurrenceExceptions?: readonly TemporalRecurrenceException<TemporalInstant, TemporalTimedRange>[];
|
|
137
|
+
}
|
|
138
|
+
/** A provider-neutral all-day event with date-based recurrence values. */
|
|
139
|
+
export interface TemporalAllDayEvent extends TemporalEventBase {
|
|
140
|
+
readonly range: TemporalAllDayRange;
|
|
141
|
+
readonly recurrence?: TemporalRecurrence<TemporalDate>;
|
|
142
|
+
readonly recurrenceExceptions?: readonly TemporalRecurrenceException<TemporalDate, TemporalAllDayRange>[];
|
|
143
|
+
}
|
|
144
|
+
/** Provider-neutral, serializable event data shared by future Calendar and Scheduler presentations. */
|
|
145
|
+
export type TemporalEvent = TemporalAllDayEvent | TemporalTimedEvent;
|
|
146
|
+
export {};
|
|
147
|
+
//# sourceMappingURL=temporal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"temporal.d.ts","sourceRoot":"","sources":["../../src/types/temporal.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,MAAM,MAAM,YAAY,GAAG,GAAG,MAAM,IAAI,MAAM,IAAI,MAAM,EAAE,CAAC;AAE3D,+EAA+E;AAC/E,MAAM,MAAM,eAAe,GAAG,GAAG,MAAM,GAAG,CAAC;AAE3C,2DAA2D;AAC3D,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC;AAEtC,+DAA+D;AAC/D,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC;AAEtC;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GACzB,OAAO,GACP,IAAI,GACJ,MAAM,GACN,MAAM,GACN,SAAS,iBAAiB,EAAE,GAC5B;IAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,iBAAiB,CAAA;CAAE,CAAC;AAElD;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAC1B;IACE,QAAQ,CAAC,MAAM,EAAE,KAAK,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,eAAe,CAAC;IAChC,QAAQ,CAAC,GAAG,EAAE,eAAe,CAAC;IAC9B,QAAQ,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC;IAC1B,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC;CACrC,GACD;IACE,QAAQ,CAAC,M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AAC,EAAE,SAAS,gBAAgB,EAAE,CAAC;IACjD,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC,CAAC;IAChE,QAAQ,CAAC,gBAAgB,CAAC,EAAE,SAAS,4BAA4B,EAAE,CAAC;CACrE;AAED,2EAA2E;AAC3E,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;IAC3D,QAAQ,CAAC,KAAK,EAAE,kBAAkB,CAAC;IACnC,QAAQ,CAAC,UAAU,CAAC,EAAE,kBAAkB,CAAC,eAAe,CAAC,CAAC;IAC1D,QAAQ,CAAC,oBAAoB,CAAC,EAAE,SAAS,2BAA2B,CAClE,eAAe,EACf,kBAAkB,CACnB,EAAE,CAAC;CACL;AAED,0EAA0E;AAC1E,MAAM,WAAW,mBAAoB,SAAQ,iBAAiB;IAC5D,QAAQ,CAAC,KAAK,EAAE,mBAAmB,CAAC;IACpC,QAAQ,CAAC,UAAU,CAAC,EAAE,kBAAkB,CAAC,YAAY,CAAC,CAAC;IACvD,QAAQ,CAAC,oBAAoB,CAAC,EAAE,SAAS,2BAA2B,CAClE,YAAY,EACZ,mBAAmB,CACpB,EAAE,CAAC;CACL;AAED,uGAAuG;AACvG,MAAM,MAAM,aAAa,GAAG,mBAAmB,GAAG,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"temporal.js","sourceRoot":"","sources":["../../src/types/temporal.ts"],"names":[],"mappings":"","sourcesContent":["/** A calendar date without a time or timezone, represented as `YYYY-MM-DD`. */\nexport type TemporalDate = `${number}-${number}-${number}`;\n\n/** A UTC ISO-8601 instant, represented as an RFC 3339 string ending in `Z`. */\nexport type TemporalInstant = `${string}Z`;\n\n/** An IANA timezone identifier such as `Europe/Zurich`. */\nexport type TemporalTimeZone = string;\n\n/** An ISO-8601 duration string such as `PT30M` or `-PT15M`. */\nexport type TemporalDuration = string;\n\n/**\n * This contract describes serializable shape, not runtime validation. Consumers must validate\n * RFC 3339 instants, ISO calendar dates and durations, IANA zone identifiers, positive non-zero\n * intervals, ordered ranges, and finite JSON numbers at their input boundary.\n */\nexport type TemporalDataValue =\n | boolean\n | null\n | number\n | string\n | readonly TemporalDataValue[]\n | { readonly [key: string]: TemporalDataValue };\n\n/**\n * A timed interval with exactly one exclusive end. Recurring timed events retain the local\n * wall-clock time derived from `start` in `timeZone` across DST transitions; a recurrence engine\n * materializes each occurrence as its corresponding UTC instant.\n */\nexport type TemporalTimedRange =\n | {\n readonly allDay: false;\n readonly start: TemporalInstant;\n readonly end: TemporalInstant;\n readonly duration?: never;\n readonly timeZone: TemporalTimeZone;\n }\n | {\n readonly allDay: false;\n readonly start: TemporalInstant;\n readonly end?: never;\n readonly duration: TemporalDuration;\n readonly timeZone: TemporalTimeZone;\n };\n\n/**\n * A timezone-free all-day calendar-date interval with exactly one exclusive end. `end` is the\n * first day not included, so a one-day event from `2026-10-24` ends on `2026-10-25`.\n */\nexport type TemporalAllDayRange =\n | {\n readonly allDay: true;\n readonly start: TemporalDate;\n readonly end: TemporalDate;\n readonly duration?: never;\n }\n | {\n readonly allDay: true;\n readonly start: TemporalDate;\n readonly end?: never;\n readonly duration: TemporalDuration;\n };\n\n/** A timed or all-day interval with exactly one way to define its exclusive end. */\nexport type TemporalRange = TemporalAllDayRange | TemporalTimedRange;\n\n/** The availability an event contributes without disclosing its details. */\nexport type TemporalAvailability = 'free' | 'busy' | 'tentative' | 'unavailable';\n\n/** A provider-neutral lifecycle state for a scheduled event. */\nexport type TemporalEventStatus = 'cancelled' | 'confirmed' | 'draft' | 'tentative';\n\n/** A semantic theme treatment that later ZORA renderers resolve through their active theme. */\nexport type TemporalTone = 'accent' | 'critical' | 'info' | 'neutral' | 'positive' | 'warning';\n\n/** A person or organization participating in an event without provider-specific identity objects. */\nexport interface TemporalParticipant {\n readonly id?: string;\n readonly name?: string;\n readonly email?: string;\n readonly role?: 'optional' | 'organizer' | 'required' | 'resource';\n readonly response?: 'accepted' | 'declined' | 'delegated' | 'needs-action' | 'tentative';\n}\n\n/**\n * A reminder relative to the event start or exclusive end. A negative ISO duration fires before\n * that reference point; a positive duration fires after it.\n */\nexport interface TemporalReminder {\n readonly id: string;\n readonly offset: TemporalDuration;\n readonly reference: 'end' | 'start';\n readonly channel?: 'display' | 'email' | 'push';\n}\n\n/**\n * One normalized recurrence rule. `until` has the same value type as DTSTART: a date for all-day\n * series and a UTC instant for timed series. Adapter layers map this to and from RFC 5545 RRULE.\n */\nexport interface TemporalRecurrenceRule<TValue extends TemporalDate | TemporalInstant> {\n readonly frequency: 'daily' | 'monthly' | 'weekly' | 'yearly';\n readonly interval?: number;\n readonly count?: number;\n readonly until?: TValue;\n readonly weekdays?: readonly (\n 'friday' | 'monday' | 'saturday' | 'sunday' | 'thursday' | 'tuesday' | 'wednesday'\n )[];\n readonly monthDays?: readonly number[];\n readonly months?: readonly number[];\n}\n\n/**\n * Recurrence data retained independently from provider-specific series representations. `dates`\n * and `excludedDates` correspond to RFC 5545 RDATE and EXDATE and use the DTSTART value type.\n */\nexport interface TemporalRecurrence<TValue extends TemporalDate | TemporalInstant> {\n readonly rules: readonly TemporalRecurrenceRule<TValue>[];\n readonly dates?: readonly TValue[];\n readonly excludedDates?: readonly TValue[];\n}\n\n/**\n * A detached occurrence that replaces or cancels one generated recurrence instance. `recurrenceId`\n * is the original scheduled DTSTART value: for timed DST series, the UTC instant materialized from\n * that occurrence's wall-clock time in the series timezone; for all-day series, its calendar date.\n */\nexport interface TemporalRecurrenceException<\n TValue extends TemporalDate | TemporalInstant,\n TRange extends TemporalRange,\n> {\n readonly recurrenceId: TValue;\n readonly status: 'cancelled' | 'replacement';\n readonly range?: TRange;\n readonly title?: string;\n}\n\n/** Lossless serialized data that an interoperability adapter must round-trip without exposing its runtime. */\nexport interface TemporalInteroperabilityData {\n readonly format: 'icalendar' | 'jcal' | 'provider';\n readonly value: TemporalDataValue;\n}\n\ninterface TemporalEventBase {\n readonly id: string;\n readonly title: string;\n readonly description?: string;\n readonly location?: string;\n readonly conferenceUrl?: string;\n readonly calendarId?: string;\n readonly tone?: TemporalTone;\n readonly availability?: TemporalAvailability;\n readonly status?: TemporalEventStatus;\n readonly resourceIds?: readonly string[];\n readonly organizer?: TemporalParticipant;\n readonly attendees?: readonly TemporalParticipant[];\n readonly reminders?: readonly TemporalReminder[];\n readonly editable?: boolean;\n readonly metadata?: Readonly<Record<string, TemporalDataValue>>;\n readonly interoperability?: readonly TemporalInteroperabilityData[];\n}\n\n/** A provider-neutral timed event with instant-based recurrence values. */\nexport interface TemporalTimedEvent extends TemporalEventBase {\n readonly range: TemporalTimedRange;\n readonly recurrence?: TemporalRecurrence<TemporalInstant>;\n readonly recurrenceExceptions?: readonly TemporalRecurrenceException<\n TemporalInstant,\n TemporalTimedRange\n >[];\n}\n\n/** A provider-neutral all-day event with date-based recurrence values. */\nexport interface TemporalAllDayEvent extends TemporalEventBase {\n readonly range: TemporalAllDayRange;\n readonly recurrence?: TemporalRecurrence<TemporalDate>;\n readonly recurrenceExceptions?: readonly TemporalRecurrenceException<\n TemporalDate,\n TemporalAllDayRange\n >[];\n}\n\n/** Provider-neutral, serializable event data shared by future Calendar and Scheduler presentations. */\nexport type TemporalEvent = TemporalAllDayEvent | TemporalTimedEvent;\n"]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ankhorage/zora",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "25.
|
|
4
|
+
"version": "25.10.0",
|
|
5
5
|
"description": "Opinionated React Native and React Native Web UI kit built on @ankhorage/surface.",
|
|
6
6
|
"homepage": "https://github.com/ankhorage/zora#readme",
|
|
7
7
|
"bugs": {
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
"format:check": "ankhorage-prettier --check .",
|
|
156
156
|
"prepack": "bun run build",
|
|
157
157
|
"test": "bun run build && bun test src examples/grid-workspaces/time examples/grid-workspaces/plugins --isolate",
|
|
158
|
-
"typecheck": "bun x tsc --noEmit -p tsconfig.json && bun x tsc --noEmit -p tsconfig.scripts.json",
|
|
158
|
+
"typecheck": "bun x tsc --noEmit -p tsconfig.json && bun x tsc --noEmit -p tsconfig.scripts.json && bun x tsc -p tsconfig.typecheck.json",
|
|
159
159
|
"version-packages": "ankhorage-changeset version"
|
|
160
160
|
},
|
|
161
161
|
"devDependencies": {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export type {
|
|
2
|
+
TemporalAllDayEvent,
|
|
3
|
+
TemporalAllDayRange,
|
|
4
|
+
TemporalAvailability,
|
|
5
|
+
TemporalDataValue,
|
|
6
|
+
TemporalDate,
|
|
7
|
+
TemporalDuration,
|
|
8
|
+
TemporalEvent,
|
|
9
|
+
TemporalEventStatus,
|
|
10
|
+
TemporalInstant,
|
|
11
|
+
TemporalInteroperabilityData,
|
|
12
|
+
TemporalParticipant,
|
|
13
|
+
TemporalRange,
|
|
14
|
+
TemporalRecurrence,
|
|
15
|
+
TemporalRecurrenceException,
|
|
16
|
+
TemporalRecurrenceRule,
|
|
17
|
+
TemporalReminder,
|
|
18
|
+
TemporalTimedEvent,
|
|
19
|
+
TemporalTimedRange,
|
|
20
|
+
TemporalTimeZone,
|
|
21
|
+
TemporalTone,
|
|
22
|
+
} from '../../types/temporal';
|
package/src/readerFree.ts
CHANGED
|
@@ -70,6 +70,28 @@ export type { IconButtonProps } from './features/button/public';
|
|
|
70
70
|
export { Button } from './features/button/public';
|
|
71
71
|
export { ButtonGroup } from './features/button/public';
|
|
72
72
|
export { IconButton } from './features/button/public';
|
|
73
|
+
export type {
|
|
74
|
+
TemporalAllDayEvent,
|
|
75
|
+
TemporalAllDayRange,
|
|
76
|
+
TemporalAvailability,
|
|
77
|
+
TemporalDataValue,
|
|
78
|
+
TemporalDate,
|
|
79
|
+
TemporalDuration,
|
|
80
|
+
TemporalEvent,
|
|
81
|
+
TemporalEventStatus,
|
|
82
|
+
TemporalInstant,
|
|
83
|
+
TemporalInteroperabilityData,
|
|
84
|
+
TemporalParticipant,
|
|
85
|
+
TemporalRange,
|
|
86
|
+
TemporalRecurrence,
|
|
87
|
+
TemporalRecurrenceException,
|
|
88
|
+
TemporalRecurrenceRule,
|
|
89
|
+
TemporalReminder,
|
|
90
|
+
TemporalTimedEvent,
|
|
91
|
+
TemporalTimedRange,
|
|
92
|
+
TemporalTimeZone,
|
|
93
|
+
TemporalTone,
|
|
94
|
+
} from './features/calendar/public';
|
|
73
95
|
export type { CardProps } from './features/card/public';
|
|
74
96
|
export type { MediaCardImageProps, MediaCardProps } from './features/card/public';
|
|
75
97
|
export type { MetricCardProps } from './features/card/public';
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { expect, test } from 'bun:test';
|
|
2
|
+
|
|
3
|
+
import type { TemporalEvent, TemporalRange } from './temporal';
|
|
4
|
+
|
|
5
|
+
const timedRange = {
|
|
6
|
+
allDay: false,
|
|
7
|
+
end: '2026-10-25T09:30:00Z',
|
|
8
|
+
start: '2026-10-25T09:00:00Z',
|
|
9
|
+
timeZone: 'Europe/Zurich',
|
|
10
|
+
} as const satisfies TemporalRange;
|
|
11
|
+
|
|
12
|
+
const allDayRange = {
|
|
13
|
+
allDay: true,
|
|
14
|
+
end: '2026-10-25',
|
|
15
|
+
start: '2026-10-24',
|
|
16
|
+
} as const satisfies TemporalRange;
|
|
17
|
+
|
|
18
|
+
test('models calendar, scheduler, planner and Gantt inputs as provider-neutral serialized data', () => {
|
|
19
|
+
const calendarEvent = {
|
|
20
|
+
id: 'review',
|
|
21
|
+
range: timedRange,
|
|
22
|
+
title: 'Design review',
|
|
23
|
+
} as const satisfies TemporalEvent;
|
|
24
|
+
const schedulerEvent = {
|
|
25
|
+
availability: 'busy',
|
|
26
|
+
id: 'booking',
|
|
27
|
+
range: timedRange,
|
|
28
|
+
resourceIds: ['room-1'],
|
|
29
|
+
title: 'Room booking',
|
|
30
|
+
} as const satisfies TemporalEvent;
|
|
31
|
+
const plannerItem = {
|
|
32
|
+
editable: true,
|
|
33
|
+
id: 'plan',
|
|
34
|
+
range: allDayRange,
|
|
35
|
+
status: 'draft',
|
|
36
|
+
title: 'Plan release',
|
|
37
|
+
} as const satisfies TemporalEvent;
|
|
38
|
+
const ganttItem = {
|
|
39
|
+
id: 'task',
|
|
40
|
+
metadata: { progress: 0.5 },
|
|
41
|
+
range: timedRange,
|
|
42
|
+
title: 'Implement contract',
|
|
43
|
+
} as const satisfies TemporalEvent;
|
|
44
|
+
|
|
45
|
+
expect([calendarEvent, schedulerEvent, plannerItem, ganttItem]).toHaveLength(4);
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
test('keeps Europe/Zurich DST, all-day and recurrence edge fixtures serializable', () => {
|
|
49
|
+
const event = {
|
|
50
|
+
id: 'series',
|
|
51
|
+
interoperability: [
|
|
52
|
+
{
|
|
53
|
+
format: 'icalendar',
|
|
54
|
+
value: { uid: 'series@example.test', xProperties: ['X-OWNER:calendar'] },
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
range: timedRange,
|
|
58
|
+
recurrence: {
|
|
59
|
+
dates: ['2026-11-01T09:00:00Z'],
|
|
60
|
+
excludedDates: ['2026-11-08T09:00:00Z'],
|
|
61
|
+
rules: [
|
|
62
|
+
{
|
|
63
|
+
frequency: 'weekly',
|
|
64
|
+
interval: 2,
|
|
65
|
+
until: '2026-11-29T09:00:00Z',
|
|
66
|
+
weekdays: ['sunday'],
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
},
|
|
70
|
+
recurrenceExceptions: [{ recurrenceId: '2026-11-22T09:00:00Z', status: 'cancelled' }],
|
|
71
|
+
reminders: [{ id: 'before-start', offset: '-PT15M', reference: 'start' }],
|
|
72
|
+
title: 'Biweekly review',
|
|
73
|
+
} as const satisfies TemporalEvent;
|
|
74
|
+
const allDayEvent = {
|
|
75
|
+
id: 'all-day-series',
|
|
76
|
+
range: allDayRange,
|
|
77
|
+
recurrence: {
|
|
78
|
+
dates: ['2026-10-31'],
|
|
79
|
+
excludedDates: ['2026-11-07'],
|
|
80
|
+
rules: [{ frequency: 'weekly', until: '2026-11-28', weekdays: ['saturday'] }],
|
|
81
|
+
},
|
|
82
|
+
recurrenceExceptions: [{ recurrenceId: '2026-11-14', status: 'cancelled' }],
|
|
83
|
+
reminders: [{ id: 'after-end', offset: 'PT15M', reference: 'end' }],
|
|
84
|
+
title: 'All-day Saturday series',
|
|
85
|
+
} as const satisfies TemporalEvent;
|
|
86
|
+
|
|
87
|
+
expect(JSON.parse(JSON.stringify([allDayEvent, event]))).toEqual([allDayEvent, event]);
|
|
88
|
+
});
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
/** A calendar date without a time or timezone, represented as `YYYY-MM-DD`. */
|
|
2
|
+
export type TemporalDate = `${number}-${number}-${number}`;
|
|
3
|
+
|
|
4
|
+
/** A UTC ISO-8601 instant, represented as an RFC 3339 string ending in `Z`. */
|
|
5
|
+
export type TemporalInstant = `${string}Z`;
|
|
6
|
+
|
|
7
|
+
/** An IANA timezone identifier such as `Europe/Zurich`. */
|
|
8
|
+
export type TemporalTimeZone = string;
|
|
9
|
+
|
|
10
|
+
/** An ISO-8601 duration string such as `PT30M` or `-PT15M`. */
|
|
11
|
+
export type TemporalDuration = string;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* This contract describes serializable shape, not runtime validation. Consumers must validate
|
|
15
|
+
* RFC 3339 instants, ISO calendar dates and durations, IANA zone identifiers, positive non-zero
|
|
16
|
+
* intervals, ordered ranges, and finite JSON numbers at their input boundary.
|
|
17
|
+
*/
|
|
18
|
+
export type TemporalDataValue =
|
|
19
|
+
| boolean
|
|
20
|
+
| null
|
|
21
|
+
| number
|
|
22
|
+
| string
|
|
23
|
+
| readonly TemporalDataValue[]
|
|
24
|
+
| { readonly [key: string]: TemporalDataValue };
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* A timed interval with exactly one exclusive end. Recurring timed events retain the local
|
|
28
|
+
* wall-clock time derived from `start` in `timeZone` across DST transitions; a recurrence engine
|
|
29
|
+
* materializes each occurrence as its corresponding UTC instant.
|
|
30
|
+
*/
|
|
31
|
+
export type TemporalTimedRange =
|
|
32
|
+
| {
|
|
33
|
+
readonly allDay: false;
|
|
34
|
+
readonly start: TemporalInstant;
|
|
35
|
+
readonly end: TemporalInstant;
|
|
36
|
+
readonly duration?: never;
|
|
37
|
+
readonly timeZone: TemporalTimeZone;
|
|
38
|
+
}
|
|
39
|
+
| {
|
|
40
|
+
readonly allDay: false;
|
|
41
|
+
readonly start: TemporalInstant;
|
|
42
|
+
readonly end?: never;
|
|
43
|
+
readonly duration: TemporalDuration;
|
|
44
|
+
readonly timeZone: TemporalTimeZone;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* A timezone-free all-day calendar-date interval with exactly one exclusive end. `end` is the
|
|
49
|
+
* first day not included, so a one-day event from `2026-10-24` ends on `2026-10-25`.
|
|
50
|
+
*/
|
|
51
|
+
export type TemporalAllDayRange =
|
|
52
|
+
| {
|
|
53
|
+
readonly allDay: true;
|
|
54
|
+
readonly start: TemporalDate;
|
|
55
|
+
readonly end: TemporalDate;
|
|
56
|
+
readonly duration?: never;
|
|
57
|
+
}
|
|
58
|
+
| {
|
|
59
|
+
readonly allDay: true;
|
|
60
|
+
readonly start: TemporalDate;
|
|
61
|
+
readonly end?: never;
|
|
62
|
+
readonly duration: TemporalDuration;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
/** A timed or all-day interval with exactly one way to define its exclusive end. */
|
|
66
|
+
export type TemporalRange = TemporalAllDayRange | TemporalTimedRange;
|
|
67
|
+
|
|
68
|
+
/** The availability an event contributes without disclosing its details. */
|
|
69
|
+
export type TemporalAvailability = 'free' | 'busy' | 'tentative' | 'unavailable';
|
|
70
|
+
|
|
71
|
+
/** A provider-neutral lifecycle state for a scheduled event. */
|
|
72
|
+
export type TemporalEventStatus = 'cancelled' | 'confirmed' | 'draft' | 'tentative';
|
|
73
|
+
|
|
74
|
+
/** A semantic theme treatment that later ZORA renderers resolve through their active theme. */
|
|
75
|
+
export type TemporalTone = 'accent' | 'critical' | 'info' | 'neutral' | 'positive' | 'warning';
|
|
76
|
+
|
|
77
|
+
/** A person or organization participating in an event without provider-specific identity objects. */
|
|
78
|
+
export interface TemporalParticipant {
|
|
79
|
+
readonly id?: string;
|
|
80
|
+
readonly name?: string;
|
|
81
|
+
readonly email?: string;
|
|
82
|
+
readonly role?: 'optional' | 'organizer' | 'required' | 'resource';
|
|
83
|
+
readonly response?: 'accepted' | 'declined' | 'delegated' | 'needs-action' | 'tentative';
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* A reminder relative to the event start or exclusive end. A negative ISO duration fires before
|
|
88
|
+
* that reference point; a positive duration fires after it.
|
|
89
|
+
*/
|
|
90
|
+
export interface TemporalReminder {
|
|
91
|
+
readonly id: string;
|
|
92
|
+
readonly offset: TemporalDuration;
|
|
93
|
+
readonly reference: 'end' | 'start';
|
|
94
|
+
readonly channel?: 'display' | 'email' | 'push';
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* One normalized recurrence rule. `until` has the same value type as DTSTART: a date for all-day
|
|
99
|
+
* series and a UTC instant for timed series. Adapter layers map this to and from RFC 5545 RRULE.
|
|
100
|
+
*/
|
|
101
|
+
export interface TemporalRecurrenceRule<TValue extends TemporalDate | TemporalInstant> {
|
|
102
|
+
readonly frequency: 'daily' | 'monthly' | 'weekly' | 'yearly';
|
|
103
|
+
readonly interval?: number;
|
|
104
|
+
readonly count?: number;
|
|
105
|
+
readonly until?: TValue;
|
|
106
|
+
readonly weekdays?: readonly (
|
|
107
|
+
'friday' | 'monday' | 'saturday' | 'sunday' | 'thursday' | 'tuesday' | 'wednesday'
|
|
108
|
+
)[];
|
|
109
|
+
readonly monthDays?: readonly number[];
|
|
110
|
+
readonly months?: readonly number[];
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Recurrence data retained independently from provider-specific series representations. `dates`
|
|
115
|
+
* and `excludedDates` correspond to RFC 5545 RDATE and EXDATE and use the DTSTART value type.
|
|
116
|
+
*/
|
|
117
|
+
export interface TemporalRecurrence<TValue extends TemporalDate | TemporalInstant> {
|
|
118
|
+
readonly rules: readonly TemporalRecurrenceRule<TValue>[];
|
|
119
|
+
readonly dates?: readonly TValue[];
|
|
120
|
+
readonly excludedDates?: readonly TValue[];
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* A detached occurrence that replaces or cancels one generated recurrence instance. `recurrenceId`
|
|
125
|
+
* is the original scheduled DTSTART value: for timed DST series, the UTC instant materialized from
|
|
126
|
+
* that occurrence's wall-clock time in the series timezone; for all-day series, its calendar date.
|
|
127
|
+
*/
|
|
128
|
+
export interface TemporalRecurrenceException<
|
|
129
|
+
TValue extends TemporalDate | TemporalInstant,
|
|
130
|
+
TRange extends TemporalRange,
|
|
131
|
+
> {
|
|
132
|
+
readonly recurrenceId: TValue;
|
|
133
|
+
readonly status: 'cancelled' | 'replacement';
|
|
134
|
+
readonly range?: TRange;
|
|
135
|
+
readonly title?: string;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/** Lossless serialized data that an interoperability adapter must round-trip without exposing its runtime. */
|
|
139
|
+
export interface TemporalInteroperabilityData {
|
|
140
|
+
readonly format: 'icalendar' | 'jcal' | 'provider';
|
|
141
|
+
readonly value: TemporalDataValue;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
interface TemporalEventBase {
|
|
145
|
+
readonly id: string;
|
|
146
|
+
readonly title: string;
|
|
147
|
+
readonly description?: string;
|
|
148
|
+
readonly location?: string;
|
|
149
|
+
readonly conferenceUrl?: string;
|
|
150
|
+
readonly calendarId?: string;
|
|
151
|
+
readonly tone?: TemporalTone;
|
|
152
|
+
readonly availability?: TemporalAvailability;
|
|
153
|
+
readonly status?: TemporalEventStatus;
|
|
154
|
+
readonly resourceIds?: readonly string[];
|
|
155
|
+
readonly organizer?: TemporalParticipant;
|
|
156
|
+
readonly attendees?: readonly TemporalParticipant[];
|
|
157
|
+
readonly reminders?: readonly TemporalReminder[];
|
|
158
|
+
readonly editable?: boolean;
|
|
159
|
+
readonly metadata?: Readonly<Record<string, TemporalDataValue>>;
|
|
160
|
+
readonly interoperability?: readonly TemporalInteroperabilityData[];
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/** A provider-neutral timed event with instant-based recurrence values. */
|
|
164
|
+
export interface TemporalTimedEvent extends TemporalEventBase {
|
|
165
|
+
readonly range: TemporalTimedRange;
|
|
166
|
+
readonly recurrence?: TemporalRecurrence<TemporalInstant>;
|
|
167
|
+
readonly recurrenceExceptions?: readonly TemporalRecurrenceException<
|
|
168
|
+
TemporalInstant,
|
|
169
|
+
TemporalTimedRange
|
|
170
|
+
>[];
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/** A provider-neutral all-day event with date-based recurrence values. */
|
|
174
|
+
export interface TemporalAllDayEvent extends TemporalEventBase {
|
|
175
|
+
readonly range: TemporalAllDayRange;
|
|
176
|
+
readonly recurrence?: TemporalRecurrence<TemporalDate>;
|
|
177
|
+
readonly recurrenceExceptions?: readonly TemporalRecurrenceException<
|
|
178
|
+
TemporalDate,
|
|
179
|
+
TemporalAllDayRange
|
|
180
|
+
>[];
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/** Provider-neutral, serializable event data shared by future Calendar and Scheduler presentations. */
|
|
184
|
+
export type TemporalEvent = TemporalAllDayEvent | TemporalTimedEvent;
|