@ankhorage/zora 25.4.0 → 25.5.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 +6 -0
- package/README.md +2 -1
- package/dist/features/registry/ZORA_COMPONENT_REGISTRY.d.ts.map +1 -1
- package/dist/features/registry/ZORA_COMPONENT_REGISTRY.js +2 -0
- package/dist/features/registry/ZORA_COMPONENT_REGISTRY.js.map +1 -1
- package/dist/features/registry/componentMeta.d.ts.map +1 -1
- package/dist/features/registry/componentMeta.js +2 -0
- package/dist/features/registry/componentMeta.js.map +1 -1
- package/dist/features/time-grid/adapters/inbound/TimeGrid.d.ts +5 -0
- package/dist/features/time-grid/adapters/inbound/TimeGrid.d.ts.map +1 -0
- package/dist/features/time-grid/adapters/inbound/TimeGrid.js +107 -0
- package/dist/features/time-grid/adapters/inbound/TimeGrid.js.map +1 -0
- package/dist/features/time-grid/adapters/inbound/TimeGridKeyboardProxy.d.ts +9 -0
- package/dist/features/time-grid/adapters/inbound/TimeGridKeyboardProxy.d.ts.map +1 -0
- package/dist/features/time-grid/adapters/inbound/TimeGridKeyboardProxy.js +5 -0
- package/dist/features/time-grid/adapters/inbound/TimeGridKeyboardProxy.js.map +1 -0
- package/dist/features/time-grid/adapters/inbound/TimeGridKeyboardProxy.native.d.ts +9 -0
- package/dist/features/time-grid/adapters/inbound/TimeGridKeyboardProxy.native.d.ts.map +1 -0
- package/dist/features/time-grid/adapters/inbound/TimeGridKeyboardProxy.native.js +5 -0
- package/dist/features/time-grid/adapters/inbound/TimeGridKeyboardProxy.native.js.map +1 -0
- package/dist/features/time-grid/adapters/inbound/TimeGridKeyboardProxy.web.d.ts +9 -0
- package/dist/features/time-grid/adapters/inbound/TimeGridKeyboardProxy.web.d.ts.map +1 -0
- package/dist/features/time-grid/adapters/inbound/TimeGridKeyboardProxy.web.js +10 -0
- package/dist/features/time-grid/adapters/inbound/TimeGridKeyboardProxy.web.js.map +1 -0
- package/dist/features/time-grid/application/resolveTimeGridNextFocusId.d.ts +4 -0
- package/dist/features/time-grid/application/resolveTimeGridNextFocusId.d.ts.map +1 -0
- package/dist/features/time-grid/application/resolveTimeGridNextFocusId.js +31 -0
- package/dist/features/time-grid/application/resolveTimeGridNextFocusId.js.map +1 -0
- package/dist/features/time-grid/application/resolveTimeGridVisibleIntervals.d.ts +5 -0
- package/dist/features/time-grid/application/resolveTimeGridVisibleIntervals.d.ts.map +1 -0
- package/dist/features/time-grid/application/resolveTimeGridVisibleIntervals.js +6 -0
- package/dist/features/time-grid/application/resolveTimeGridVisibleIntervals.js.map +1 -0
- package/dist/features/time-grid/meta.d.ts +11 -0
- package/dist/features/time-grid/meta.d.ts.map +1 -0
- package/dist/features/time-grid/meta.js +11 -0
- package/dist/features/time-grid/meta.js.map +1 -0
- package/dist/features/time-grid/public.d.ts +5 -0
- package/dist/features/time-grid/public.d.ts.map +1 -0
- package/dist/features/time-grid/public.js +4 -0
- package/dist/features/time-grid/public.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/types/time-grid.d.ts +30 -0
- package/dist/types/time-grid.d.ts.map +1 -0
- package/dist/types/time-grid.js +2 -0
- package/dist/types/time-grid.js.map +1 -0
- package/package.json +1 -1
- package/src/features/registry/ZORA_COMPONENT_REGISTRY.ts +2 -0
- package/src/features/registry/componentMeta.ts +2 -0
- package/src/features/time-grid/adapters/inbound/TimeGrid.test.tsx +131 -0
- package/src/features/time-grid/adapters/inbound/TimeGrid.tsx +197 -0
- package/src/features/time-grid/adapters/inbound/TimeGridKeyboardProxy.native.tsx +11 -0
- package/src/features/time-grid/adapters/inbound/TimeGridKeyboardProxy.tsx +11 -0
- package/src/features/time-grid/adapters/inbound/TimeGridKeyboardProxy.web.tsx +20 -0
- package/src/features/time-grid/application/resolveTimeGridNextFocusId.test.ts +46 -0
- package/src/features/time-grid/application/resolveTimeGridNextFocusId.ts +41 -0
- package/src/features/time-grid/application/resolveTimeGridVisibleIntervals.test.ts +33 -0
- package/src/features/time-grid/application/resolveTimeGridVisibleIntervals.ts +13 -0
- package/src/features/time-grid/meta.ts +12 -0
- package/src/features/time-grid/public.ts +4 -0
- package/src/index.ts +2 -0
- package/src/types/time-grid.ts +33 -0
- package/web-dist/chunks/{Accordion-r2w86rwv.js → Accordion-0my2z6qe.js} +85 -1
- package/web-dist/chunks/{Accordion-60wn9xn9.js → Accordion-7qfd4cb4.js} +1 -1
- package/web-dist/chunks/{Accordion-s3d6g59s.js → Accordion-d6azgz09.js} +1 -1
- package/web-dist/chunks/{Accordion-nxsda1my.js → Accordion-gxj5qbpr.js} +1 -1
- package/web-dist/components/explorer/Explorer.js +2 -2
- package/web-dist/components/file-explorer/FileExplorer.js +2 -2
- package/web-dist/components/grid-line-overlay/GridLineOverlay.js +1 -1
- package/web-dist/components/grid-ruler/GridRuler.js +1 -1
- package/web-dist/components/grid-view/GridView.js +1 -1
- package/web-dist/components/media-explorer/MediaExplorer.js +2 -2
- package/web-dist/components/reader/Reader.js +1 -1
- package/web-dist/components/spatial-grid/SpatialGrid.js +1 -1
- package/web-dist/components/tile-grid/TileGrid.js +1 -1
- package/web-dist/components/time-grid/TimeGrid.d.ts +3 -0
- package/web-dist/components/time-grid/TimeGrid.js +208 -0
- package/web-dist/components/time-grid/index.d.ts +1 -0
- package/web-dist/components/time-grid/index.js +2 -0
- package/web-dist/components/uploader/Uploader.js +2 -2
- package/web-dist/manifest.json +38 -22
package/CHANGELOG.md
CHANGED
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
|
|
|
@@ -71,6 +71,7 @@ This package contains 6 additional examples. See the generated documentation for
|
|
|
71
71
|
- [resolveGridRulerMarks sequence](././paradox/diagrams/sequences/resolve-grid-ruler-marks.mmd)
|
|
72
72
|
- [resolveOAuthProviderIcon sequence](././paradox/diagrams/sequences/resolve-oauth-provider-icon.mmd)
|
|
73
73
|
- [resolveOAuthProviderLabel sequence](././paradox/diagrams/sequences/resolve-oauth-provider-label.mmd)
|
|
74
|
+
- [resolveTimeGridVisibleIntervals sequence](././paradox/diagrams/sequences/resolve-time-grid-visible-intervals.mmd)
|
|
74
75
|
- [SelectionProvider sequence](././paradox/diagrams/sequences/selection-provider.mmd)
|
|
75
76
|
- [tryMove sequence](././paradox/diagrams/sequences/try-move.mmd)
|
|
76
77
|
- [useZoraTheme sequence](././paradox/diagrams/sequences/use-zora-theme.mmd)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZORA_COMPONENT_REGISTRY.d.ts","sourceRoot":"","sources":["../../../src/features/registry/ZORA_COMPONENT_REGISTRY.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"ZORA_COMPONENT_REGISTRY.d.ts","sourceRoot":"","sources":["../../../src/features/registry/ZORA_COMPONENT_REGISTRY.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAqOlE,eAAO,MAAM,uBAAuB,EAAE,qBAAgD,CAAC"}
|
|
@@ -52,6 +52,7 @@ import { Surface } from '../surface/public';
|
|
|
52
52
|
import { CardBack, CardHand, PlayingCard, PokerTrainingTable, TabletopTable, } from '../tabletop/public';
|
|
53
53
|
import { Tab, TabList, TabPanel, Tabs } from '../tabs/public';
|
|
54
54
|
import { ThemeModeToggle } from '../theme/adapters/inbound/ThemeModeToggle';
|
|
55
|
+
import { TimeGrid } from '../time-grid/public';
|
|
55
56
|
import { TimePicker } from '../time-picker/public';
|
|
56
57
|
import { Timeline } from '../timeline/public';
|
|
57
58
|
import { Toast } from '../toast/public';
|
|
@@ -151,6 +152,7 @@ const _ZORA_COMPONENT_REGISTRY = {
|
|
|
151
152
|
GridRuler,
|
|
152
153
|
GridView,
|
|
153
154
|
TileGrid,
|
|
155
|
+
TimeGrid,
|
|
154
156
|
MediaExplorer,
|
|
155
157
|
Hero,
|
|
156
158
|
List,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZORA_COMPONENT_REGISTRY.js","sourceRoot":"","sources":["../../../src/features/registry/ZORA_COMPONENT_REGISTRY.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EACL,UAAU,EACV,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,OAAO,EACP,UAAU,EACV,UAAU,GACX,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACpF,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,g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f,OAAO;IACP,IAAI;IACJ,OAAO;IACP,QAAQ;IACR,MAAM;IACN,aAAa;IACb,UAAU;IACV,kBAAkB;IAClB,mBAAmB;IACnB,iBAAiB;IACjB,OAAO;IACP,UAAU;IACV,UAAU;IACV,YAAY;IACZ,UAAU;IACV,gBAAgB;IAChB,WAAW;IACX,UAAU;IACV,QAAQ;IACR,YAAY;IACZ,eAAe;IACf,SAAS;IACT,QAAQ;IACR,QAAQ;IACR,aAAa;IACb,IAAI;IACJ,IAAI;IACJ,QAAQ;IACR,WAAW;IACX,aAAa;IACb,WAAW;IACX,cAAc;IACd,QAAQ;IACR,WAAW;IACX,MAAM;IACN,kBAAkB;IAClB,oBAAoB;IACpB,WAAW;IACX,aAAa;IACb,cAAc;IACd,WAAW;IACX,WAAW;IACX,QAAQ;IACR,QAAQ;IACR,WAAW;IACX,aAAa;IACb,kBAAkB;IAClB,QAAQ;IACR,QAAQ;IACR,QAAQ;CACgC,CAAC;AAE3C,MAAM,CAAC,MAAM,uBAAuB,GAA0B,wBAAwB,CAAC","sourcesContent":["import type { InteractionPolicyProps } from '@ankhorage/surface';\nimport type React from 'react';\n\nimport type { ZoraComponentRegistry } from '../../types/registry';\nimport { Accordion, AccordionItem } from '../accordion/public';\nimport { ActivityIndicator } from '../activity-indicator/public';\nimport { AppBar } from '../app-bar/public';\nimport { AppHeader } from '../app-header/public';\nimport {\n AuthScreen,\n ForgotPasswordForm,\n OAuthProviderButton,\n OAuthProviderList,\n OtpForm,\n SignInForm,\n SignUpForm,\n} from '../auth/public';\nimport { Avatar, AvatarGroup } from '../avatar/public';\nimport { Badge } from '../badge/public';\nimport { BottomSheet } from '../bottom-sheet/public';\nimport { Breadcrumbs } from '../breadcrumbs/public';\nimport { Button, ButtonGroup, IconButton } from '../button/public';\nimport { Card, MediaCard, MetricCard, PostCard, ProductCard } from '../card/public';\nimport { ChatListItem, MessageBubble } from '../chat/public';\nimport { ChessBoard, OpeningBook } from '../chess/public';\nimport { Chip, ChipGroup } from '../chip/public';\nimport { CollectionEditor } from '../collection-editor/public';\nimport { ContentRail } from '../content-rail/public';\nimport { DataTable } from '../data-table/public';\nimport { DatePicker } from '../date-picker/public';\nimport { Dialog } from '../dialog/public';\nimport { EmptyState } from '../empty-state/public';\nimport { Explorer, FileExplorer, MediaExplorer } from '../explorer/public';\nimport { Checkbox, CheckboxGroup } from '../form/checkbox/public';\nimport { Field, Form, FormActions, FormError } from '../form/public';\nimport { Radio, RadioGroup } from '../form/radio/public';\nimport { SearchInput } from '../form/search-input/public';\nimport { Select } from '../form/select/public';\nimport { Switch } from '../form/switch/public';\nimport { TextInput } from '../form/text-input/public';\nimport {\n Game,\n GameEntity,\n GameField,\n GameInputZone,\n GameMeasurementProbe,\n GameOverlay,\n} from '../game/public';\nimport { Gradient } from '../gradient/public';\nimport { GridLineOverlay, GridRuler } from '../grid-rulers/public';\nimport { GridView, TileGrid } from '../grid-view/public';\nimport { Hero } from '../hero/public';\nimport { Icon } from '../icon/public';\nimport { Image } from '../image/public';\nimport { KeyboardAvoidingView } from '../keyboard-avoiding-view/public';\nimport { AppShell, Divider, Grid, Screen, ScrollView, View } from '../layout/public';\nimport { FlatList, List, ListItem, ListSection, SectionList } from '../list/public';\nimport { MissingElement } from '../missing-element/public';\nimport { Pagination } from '../pagination/public';\nimport { PaletteItem } from '../palette-item/public';\nimport { PopoverMenu } from '../popover-menu/public';\nimport { Progress, ProgressRing } from '../progress/public';\nimport { Rating } from '../rating/public';\nimport { Reader } from '../reader/public';\nimport { BarcodeScannerView, CameraPermissionView, ScanOverlay } from '../scanner/public';\nimport { ScreenSection, SectionHeader } from '../section/public';\nimport { SelectableItem } from '../selection/public';\nimport { Skeleton, SkeletonCard, SkeletonList, SkeletonText } from '../skeleton/public';\nimport { SpatialGrid } from '../spatial-grid/public';\nimport { Surface } from '../surface/public';\nimport {\n CardBack,\n CardHand,\n PlayingCard,\n PokerTrainingTable,\n TabletopTable,\n} from '../tabletop/public';\nimport { Tab, TabList, TabPanel, Tabs } from '../tabs/public';\nimport { ThemeModeToggle } from '../theme/adapters/inbound/ThemeModeToggle';\nimport { TimePicker } from '../time-picker/public';\nimport { Timeline } from '../timeline/public';\nimport { Toast } from '../toast/public';\nimport { Toolbar } from '../toolbar/public';\nimport { TreeItem, TreeView } from '../tree-view/public';\nimport { Heading, Text } from '../typography/public';\nimport { Uploader } from '../uploader/public';\n\ntype ComponentPropsFor<K extends keyof typeof _ZORA_COMPONENT_REGISTRY> = React.ComponentProps<\n (typeof _ZORA_COMPONENT_REGISTRY)[K]\n>;\n\ntype AcceptsSurfaceInteractionPolicyProps<P> = 'interactionPolicy' extends keyof P\n ? InteractionPolicyProps extends Pick<P, 'interactionPolicy'>\n ? Pick<P, 'interactionPolicy'> extends InteractionPolicyProps\n ? true\n : false\n : false\n : false;\n\ntype RegistryInteractionPolicyContract = {\n [K in keyof typeof _ZORA_COMPONENT_REGISTRY]: AcceptsSurfaceInteractionPolicyProps<\n ComponentPropsFor<K>\n >;\n};\n\ntype _AssertTrue<T extends true> = T;\ntype _RegistryInteractionPolicyCheck = _AssertTrue<\n RegistryInteractionPolicyContract[keyof typeof _ZORA_COMPONENT_REGISTRY]\n>;\n\nconst _ZORA_COMPONENT_REGISTRY = {\n Accordion,\n AccordionItem,\n ActivityIndicator,\n AppBar,\n AppHeader,\n Avatar,\n AvatarGroup,\n Badge,\n Breadcrumbs,\n Button,\n ButtonGroup,\n Card,\n Checkbox,\n CheckboxGroup,\n Chip,\n ChipGroup,\n DataTable,\n DatePicker,\n Dialog,\n Form,\n FormActions,\n FormError,\n Field,\n Gradient,\n Game,\n GameEntity,\n GameField,\n GameInputZone,\n GameMeasurementProbe,\n GameOverlay,\n Heading,\n Icon,\n IconButton,\n Image,\n KeyboardAvoidingView,\n TextInput,\n MediaCard,\n MetricCard,\n Pagination,\n PopoverMenu,\n Progress,\n ProgressRing,\n Radio,\n RadioGroup,\n Rating,\n SearchInput,\n Select,\n Switch,\n Skeleton,\n SkeletonCard,\n SkeletonList,\n SkeletonText,\n Tab,\n TabList,\n TabPanel,\n Tabs,\n Text,\n TimePicker,\n Toast,\n Toolbar,\n Uploader,\n BottomSheet,\n FlatList,\n SectionList,\n ScrollView,\n View,\n ThemeModeToggle,\n Divider,\n Grid,\n Surface,\n AppShell,\n Screen,\n ScreenSection,\n AuthScreen,\n ForgotPasswordForm,\n OAuthProviderButton,\n OAuthProviderList,\n OtpForm,\n SignInForm,\n SignUpForm,\n ChatListItem,\n ChessBoard,\n CollectionEditor,\n ContentRail,\n EmptyState,\n Explorer,\n FileExplorer,\n GridLineOverlay,\n GridRuler,\n GridView,\n TileGrid,\n MediaExplorer,\n Hero,\n List,\n ListItem,\n ListSection,\n MessageBubble,\n OpeningBook,\n MissingElement,\n PostCard,\n ProductCard,\n Reader,\n BarcodeScannerView,\n CameraPermissionView,\n ScanOverlay,\n SectionHeader,\n SelectableItem,\n SpatialGrid,\n PaletteItem,\n CardBack,\n CardHand,\n PlayingCard,\n TabletopTable,\n PokerTrainingTable,\n Timeline,\n TreeItem,\n TreeView,\n} as const satisfies ZoraComponentRegistry;\n\nexport const ZORA_COMPONENT_REGISTRY: ZoraComponentRegistry = _ZORA_COMPONENT_REGISTRY;\n"]}
|
|
1
|
+
{"version":3,"file":"ZORA_COMPONENT_REGISTRY.js","sourceRoot":"","sources":["../../../src/features/registry/ZORA_COMPONENT_REGISTRY.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EACL,UAAU,EACV,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,OAAO,EACP,UAAU,EACV,UAAU,GACX,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,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,uBAAuB,GAA0B,wBAAwB,CAAC","sourcesContent":["import type { InteractionPolicyProps } from '@ankhorage/surface';\nimport type React from 'react';\n\nimport type { ZoraComponentRegistry } from '../../types/registry';\nimport { Accordion, AccordionItem } from '../accordion/public';\nimport { ActivityIndicator } from '../activity-indicator/public';\nimport { AppBar } from '../app-bar/public';\nimport { AppHeader } from '../app-header/public';\nimport {\n AuthScreen,\n ForgotPasswordForm,\n OAuthProviderButton,\n OAuthProviderList,\n OtpForm,\n SignInForm,\n SignUpForm,\n} from '../auth/public';\nimport { Avatar, AvatarGroup } from '../avatar/public';\nimport { Badge } from '../badge/public';\nimport { BottomSheet } from '../bottom-sheet/public';\nimport { Breadcrumbs } from '../breadcrumbs/public';\nimport { Button, ButtonGroup, IconButton } from '../button/public';\nimport { Card, MediaCard, MetricCard, PostCard, ProductCard } from '../card/public';\nimport { ChatListItem, MessageBubble } from '../chat/public';\nimport { ChessBoard, OpeningBook } from '../chess/public';\nimport { Chip, ChipGroup } from '../chip/public';\nimport { CollectionEditor } from '../collection-editor/public';\nimport { ContentRail } from '../content-rail/public';\nimport { DataTable } from '../data-table/public';\nimport { DatePicker } from '../date-picker/public';\nimport { Dialog } from '../dialog/public';\nimport { EmptyState } from '../empty-state/public';\nimport { Explorer, FileExplorer, MediaExplorer } from '../explorer/public';\nimport { Checkbox, CheckboxGroup } from '../form/checkbox/public';\nimport { Field, Form, FormActions, FormError } from '../form/public';\nimport { Radio, RadioGroup } from '../form/radio/public';\nimport { SearchInput } from '../form/search-input/public';\nimport { Select } from '../form/select/public';\nimport { Switch } from '../form/switch/public';\nimport { TextInput } from '../form/text-input/public';\nimport {\n Game,\n GameEntity,\n GameField,\n GameInputZone,\n GameMeasurementProbe,\n GameOverlay,\n} from '../game/public';\nimport { Gradient } from '../gradient/public';\nimport { GridLineOverlay, GridRuler } from '../grid-rulers/public';\nimport { GridView, TileGrid } from '../grid-view/public';\nimport { Hero } from '../hero/public';\nimport { Icon } from '../icon/public';\nimport { Image } from '../image/public';\nimport { KeyboardAvoidingView } from '../keyboard-avoiding-view/public';\nimport { AppShell, Divider, Grid, Screen, ScrollView, View } from '../layout/public';\nimport { FlatList, List, ListItem, ListSection, SectionList } from '../list/public';\nimport { MissingElement } from '../missing-element/public';\nimport { Pagination } from '../pagination/public';\nimport { PaletteItem } from '../palette-item/public';\nimport { PopoverMenu } from '../popover-menu/public';\nimport { Progress, ProgressRing } from '../progress/public';\nimport { Rating } from '../rating/public';\nimport { Reader } from '../reader/public';\nimport { BarcodeScannerView, CameraPermissionView, ScanOverlay } from '../scanner/public';\nimport { ScreenSection, SectionHeader } from '../section/public';\nimport { SelectableItem } from '../selection/public';\nimport { Skeleton, SkeletonCard, SkeletonList, SkeletonText } from '../skeleton/public';\nimport { SpatialGrid } from '../spatial-grid/public';\nimport { Surface } from '../surface/public';\nimport {\n CardBack,\n CardHand,\n PlayingCard,\n PokerTrainingTable,\n TabletopTable,\n} from '../tabletop/public';\nimport { Tab, TabList, TabPanel, Tabs } from '../tabs/public';\nimport { ThemeModeToggle } from '../theme/adapters/inbound/ThemeModeToggle';\nimport { TimeGrid } from '../time-grid/public';\nimport { TimePicker } from '../time-picker/public';\nimport { Timeline } from '../timeline/public';\nimport { Toast } from '../toast/public';\nimport { Toolbar } from '../toolbar/public';\nimport { TreeItem, TreeView } from '../tree-view/public';\nimport { Heading, Text } from '../typography/public';\nimport { Uploader } from '../uploader/public';\n\ntype ComponentPropsFor<K extends keyof typeof _ZORA_COMPONENT_REGISTRY> = React.ComponentProps<\n (typeof _ZORA_COMPONENT_REGISTRY)[K]\n>;\n\ntype AcceptsSurfaceInteractionPolicyProps<P> = 'interactionPolicy' extends keyof P\n ? InteractionPolicyProps extends Pick<P, 'interactionPolicy'>\n ? Pick<P, 'interactionPolicy'> extends InteractionPolicyProps\n ? true\n : false\n : false\n : false;\n\ntype RegistryInteractionPolicyContract = {\n [K in keyof typeof _ZORA_COMPONENT_REGISTRY]: AcceptsSurfaceInteractionPolicyProps<\n ComponentPropsFor<K>\n >;\n};\n\ntype _AssertTrue<T extends true> = T;\ntype _RegistryInteractionPolicyCheck = _AssertTrue<\n RegistryInteractionPolicyContract[keyof typeof _ZORA_COMPONENT_REGISTRY]\n>;\n\nconst _ZORA_COMPONENT_REGISTRY = {\n Accordion,\n AccordionItem,\n ActivityIndicator,\n AppBar,\n AppHeader,\n Avatar,\n AvatarGroup,\n Badge,\n Breadcrumbs,\n Button,\n ButtonGroup,\n Card,\n Checkbox,\n CheckboxGroup,\n Chip,\n ChipGroup,\n DataTable,\n DatePicker,\n Dialog,\n Form,\n FormActions,\n FormError,\n Field,\n Gradient,\n Game,\n GameEntity,\n GameField,\n GameInputZone,\n GameMeasurementProbe,\n GameOverlay,\n Heading,\n Icon,\n IconButton,\n Image,\n KeyboardAvoidingView,\n TextInput,\n MediaCard,\n MetricCard,\n Pagination,\n PopoverMenu,\n Progress,\n ProgressRing,\n Radio,\n RadioGroup,\n Rating,\n SearchInput,\n Select,\n Switch,\n Skeleton,\n SkeletonCard,\n SkeletonList,\n SkeletonText,\n Tab,\n TabList,\n TabPanel,\n Tabs,\n Text,\n TimePicker,\n Toast,\n Toolbar,\n Uploader,\n BottomSheet,\n FlatList,\n SectionList,\n ScrollView,\n View,\n ThemeModeToggle,\n Divider,\n Grid,\n Surface,\n AppShell,\n Screen,\n ScreenSection,\n AuthScreen,\n ForgotPasswordForm,\n OAuthProviderButton,\n OAuthProviderList,\n OtpForm,\n SignInForm,\n SignUpForm,\n ChatListItem,\n ChessBoard,\n CollectionEditor,\n ContentRail,\n EmptyState,\n Explorer,\n FileExplorer,\n GridLineOverlay,\n GridRuler,\n GridView,\n TileGrid,\n TimeGrid,\n MediaExplorer,\n Hero,\n List,\n ListItem,\n ListSection,\n MessageBubble,\n OpeningBook,\n MissingElement,\n PostCard,\n ProductCard,\n Reader,\n BarcodeScannerView,\n CameraPermissionView,\n ScanOverlay,\n SectionHeader,\n SelectableItem,\n SpatialGrid,\n PaletteItem,\n CardBack,\n CardHand,\n PlayingCard,\n TabletopTable,\n PokerTrainingTable,\n Timeline,\n TreeItem,\n TreeView,\n} as const satisfies ZoraComponentRegistry;\n\nexport const ZORA_COMPONENT_REGISTRY: ZoraComponentRegistry = _ZORA_COMPONENT_REGISTRY;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"componentMeta.d.ts","sourceRoot":"","sources":["../../../src/features/registry/componentMeta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"componentMeta.d.ts","sourceRoot":"","sources":["../../../src/features/registry/componentMeta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAiHvE,eAAO,MAAM,mBAAmB,EAAE,yBAyHhC,CAAC"}
|
|
@@ -87,6 +87,7 @@ import { tabMeta } from '../tabs/tabMeta';
|
|
|
87
87
|
import { tabPanelMeta } from '../tabs/tabPanelMeta';
|
|
88
88
|
import { tabsMeta } from '../tabs/tabsMeta';
|
|
89
89
|
import { themeModeToggleMeta } from '../theme/ThemeModeToggle.meta';
|
|
90
|
+
import { timeGridMeta } from '../time-grid/meta';
|
|
90
91
|
import { timePickerMeta } from '../time-picker/timePickerMeta';
|
|
91
92
|
import { timelineMeta } from '../timeline/meta';
|
|
92
93
|
import { toastMeta } from '../toast/toastMeta';
|
|
@@ -191,6 +192,7 @@ export const ZORA_COMPONENT_META = finalizeFeatureMetadata({
|
|
|
191
192
|
GridRuler: gridRulerMeta,
|
|
192
193
|
GridView: gridViewMeta,
|
|
193
194
|
TileGrid: tileGridMeta,
|
|
195
|
+
TimeGrid: timeGridMeta,
|
|
194
196
|
Hero: heroMeta,
|
|
195
197
|
List: listMeta,
|
|
196
198
|
ListItem: listItemMeta,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"componentMeta.js","sourceRoot":"","sources":["../../../src/features/registry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EAAE,uBAAuB;IAC5C,iBAAiB,EAAE,qBAAqB;IACxC,OAAO,EAAE,WAAW;IACpB,UAAU,EAAE,cAAc;IAC1B,UAAU,EAAE,cAAc;IAC1B,YAAY,EAAE,gBAAgB;IAC9B,UAAU,EAAE,cAAc;IAC1B,gBAAgB,EAAE,oBAAoB;IACtC,WAAW,EAAE,eAAe;IAC5B,UAAU,EAAE,cAAc;IAC1B,QAAQ,EAAE,YAAY;IACtB,YAAY,EAAE,gBAAgB;IAC9B,aAAa,EAAE,iBAAiB;IAChC,eAAe,EAAE,mBAAmB;IACpC,SAAS,EAAE,aAAa;IACxB,QAAQ,EAAE,YAAY;IACtB,QAAQ,EAAE,YAAY;IACtB,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,eAAe;IAC5B,aAAa,EAAE,iBAAiB;IAChC,WAAW,EAAE,eAAe;IAC5B,cAAc,EAAE,kBAAkB;IAClC,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,eAAe;IAC5B,MAAM,EAAE,UAAU;IAClB,kBAAkB,EAAE,sBAAsB;IAC1C,oBAAoB,EAAE,wBAAwB;IAC9C,WAAW,EAAE,eAAe;IAC5B,aAAa,EAAE,iBAAiB;IAChC,cAAc,EAAE,kBAAkB;IAClC,WAAW,EAAE,eAAe;IAC5B,iBAAiB,EAAE,qBAAqB;IACxC,WAAW,EAAE,eAAe;IAC5B,QAAQ,EAAE,YAAY;IACtB,QAAQ,EAAE,YAAY;IACtB,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,eAAe;IAC5B,aAAa,EAAE,iBAAiB;IAChC,kBAAkB,EAAE,sBAAsB;IAC1C,QAAQ,EAAE,YAAY;IACtB,QAAQ,EAAE,YAAY;CACvB,CAAC,CAAC","sourcesContent":["import type { ZoraComponentMetaRegistry } from '../../types/authoring';\nimport { accordionItemMeta } from '../accordion/accordionItemMeta';\nimport { accordionMeta } from '../accordion/accordionMeta';\nimport { activityIndicatorMeta } from '../activity-indicator/activityIndicatorMeta';\nimport { appBarMeta } from '../app-bar/appBarMeta';\nimport { appHeaderMeta } from '../app-header/appHeaderMeta';\nimport { authScreenMeta } from '../auth/authScreenMeta';\nimport { forgotPasswordFormMeta } from '../auth/forgotPasswordFormMeta';\nimport { oauthProviderButtonMeta } from '../auth/oauthProviderButtonMeta';\nimport { oauthProviderListMeta } from '../auth/oauthProviderListMeta';\nimport { otpFormMeta } from '../auth/otpFormMeta';\nimport { signInFormMeta } from '../auth/signInFormMeta';\nimport { signUpFormMeta } from '../auth/signUpFormMeta';\nimport { avatarGroupMeta } from '../avatar/avatarGroupMeta';\nimport { avatarMeta } from '../avatar/avatarMeta';\nimport { badgeMeta } from '../badge/badgeMeta';\nimport { bottomSheetMeta } from '../bottom-sheet/bottomSheetMeta';\nimport { breadcrumbsMeta } from '../breadcrumbs/breadcrumbsMeta';\nimport { buttonGroupMeta } from '../button/buttonGroupMeta';\nimport { buttonMeta } from '../button/buttonMeta';\nimport { iconButtonMeta } from '../button/iconButtonMeta';\nimport { cardMeta } from '../card/cardMeta';\nimport { mediaCardMeta } from '../card/mediaCardMeta';\nimport { metricCardMeta } from '../card/metricCardMeta';\nimport { postCardMeta } from '../card/postCardMeta';\nimport { productCardMeta } from '../card/productCardMeta';\nimport { chatListItemMeta } from '../chat/chatListItemMeta';\nimport { messageBubbleMeta } from '../chat/messageBubbleMeta';\nimport { chessBoardMeta, openingBookMeta } from '../chess/meta';\nimport { chipGroupMeta } from '../chip/chipGroupMeta';\nimport { chipMeta } from '../chip/chipMeta';\nimport { collectionEditorMeta } from '../collection-editor/meta';\nimport { contentRailMeta } from '../content-rail/contentRailMeta';\nimport { dataTableMeta } from '../data-table/dataTableMeta';\nimport { datePickerMeta } from '../date-picker/datePickerMeta';\nimport { dialogMeta } from '../dialog/dialogMeta';\nimport { emptyStateMeta } from '../empty-state/emptyStateMeta';\nimport { explorerMeta, fileExplorerMeta, mediaExplorerMeta } from '../explorer/meta';\nimport { checkboxGroupMeta, checkboxMeta } from '../form/checkbox/checkboxMeta';\nimport { fieldMeta } from '../form/field/meta';\nimport { formActionsMeta } from '../form/formActionsMeta';\nimport { formErrorMeta } from '../form/formErrorMeta';\nimport { formMeta } from '../form/formMeta';\nimport { radioGroupMeta, radioMeta } from '../form/radio/radioMeta';\nimport { searchInputMeta } from '../form/search-input/searchInputMeta';\nimport { selectMeta } from '../form/select/selectMeta';\nimport { switchMeta } from '../form/switch/switchMeta';\nimport { textInputMeta } from '../form/text-input/textInputMeta';\nimport { gameEntityMeta } from '../game/meta/gameEntityMeta';\nimport { gameFieldMeta } from '../game/meta/gameFieldMeta';\nimport { gameInputZoneMeta } from '../game/meta/gameInputZoneMeta';\nimport { gameMeasurementProbeMeta } from '../game/meta/gameMeasurementProbeMeta';\nimport { gameMeta } from '../game/meta/gameMeta';\nimport { gameOverlayMeta } from '../game/meta/gameOverlayMeta';\nimport { gradientMeta } from '../gradient/gradientMeta';\nimport { gridLineOverlayMeta, gridRulerMeta } from '../grid-rulers/meta';\nimport { gridViewMeta, tileGridMeta } from '../grid-view/meta';\nimport { heroMeta } from '../hero/heroMeta';\nimport { iconMeta } from '../icon/iconMeta';\nimport { imageMeta } from '../image/imageMeta';\nimport { keyboardAvoidingViewMeta } from '../keyboard-avoiding-view/keyboardAvoidingViewMeta';\nimport { appShellMeta } from '../layout/appShellMeta';\nimport { dividerMeta } from '../layout/dividerMeta';\nimport { gridMeta } from '../layout/gridMeta';\nimport { screenMeta } from '../layout/screenMeta';\nimport { scrollViewMeta } from '../layout/scrollViewMeta';\nimport { viewMeta } from '../layout/viewMeta';\nimport { flatListMeta } from '../list/flatListMeta';\nimport { listItemMeta, listMeta, listSectionMeta } from '../list/meta';\nimport { sectionListMeta } from '../list/sectionListMeta';\nimport { missingElementMeta } from '../missing-element/missingElementMeta';\nimport { paginationMeta } from '../pagination/paginationMeta';\nimport { paletteItemMeta } from '../palette-item/paletteItemMeta';\nimport { popoverMenuMeta } from '../popover-menu/popoverMenuMeta';\nimport { progressMeta, progressRingMeta } from '../progress/progressMeta';\nimport { ratingMeta } from '../rating/ratingMeta';\nimport { readerMeta } from '../reader/meta';\nimport { barcodeScannerViewMeta, cameraPermissionViewMeta, scanOverlayMeta } from '../scanner/meta';\nimport { screenSectionMeta } from '../section/screenSectionMeta';\nimport { sectionHeaderMeta } from '../section/sectionHeaderMeta';\nimport { selectableItemMeta, selectionProviderMeta } from '../selection/meta';\nimport {\n skeletonCardMeta,\n skeletonListMeta,\n skeletonMeta,\n skeletonTextMeta,\n} from '../skeleton/skeletonMeta';\nimport { spatialGridMeta } from '../spatial-grid/meta';\nimport { surfaceMeta } from '../surface/surfaceMeta';\nimport {\n cardBackMeta,\n cardHandMeta,\n playingCardMeta,\n pokerTrainingTableMeta,\n tabletopTableMeta,\n} from '../tabletop/meta';\nimport { tabListMeta } from '../tabs/tabListMeta';\nimport { tabMeta } from '../tabs/tabMeta';\nimport { tabPanelMeta } from '../tabs/tabPanelMeta';\nimport { tabsMeta } from '../tabs/tabsMeta';\nimport { themeModeToggleMeta } from '../theme/ThemeModeToggle.meta';\nimport { timePickerMeta } from '../time-picker/timePickerMeta';\nimport { timelineMeta } from '../timeline/meta';\nimport { toastMeta } from '../toast/toastMeta';\nimport { toastProviderMeta } from '../toast/toastProviderMeta';\nimport { toolbarMeta } from '../toolbar/toolbarMeta';\nimport { treeItemMeta, treeViewMeta } from '../tree-view/meta';\nimport { headingMeta } from '../typography/headingMeta';\nimport { textMeta } from '../typography/textMeta';\nimport { uploaderMeta } from '../uploader/uploaderMeta';\nimport { finalizeFeatureMetadata } from './finalizeFeatureMetadata';\n\nexport const ZORA_COMPONENT_META: ZoraComponentMetaRegistry = finalizeFeatureMetadata({\n Accordion: accordionMeta,\n AccordionItem: accordionItemMeta,\n ActivityIndicator: activityIndicatorMeta,\n View: viewMeta,\n ScrollView: scrollViewMeta,\n Grid: gridMeta,\n Divider: dividerMeta,\n Surface: surfaceMeta,\n AppBar: appBarMeta,\n AppHeader: appHeaderMeta,\n Avatar: avatarMeta,\n AvatarGroup: avatarGroupMeta,\n Badge: badgeMeta,\n Breadcrumbs: breadcrumbsMeta,\n Button: buttonMeta,\n ButtonGroup: buttonGroupMeta,\n Card: cardMeta,\n Checkbox: checkboxMeta,\n CheckboxGroup: checkboxGroupMeta,\n Chip: chipMeta,\n ChipGroup: chipGroupMeta,\n DataTable: dataTableMeta,\n DatePicker: datePickerMeta,\n Dialog: dialogMeta,\n Form: formMeta,\n FormActions: formActionsMeta,\n FormError: formErrorMeta,\n Field: fieldMeta,\n Gradient: gradientMeta,\n Game: gameMeta,\n GameField: gameFieldMeta,\n GameEntity: gameEntityMeta,\n GameInputZone: gameInputZoneMeta,\n GameMeasurementProbe: gameMeasurementProbeMeta,\n GameOverlay: gameOverlayMeta,\n Heading: headingMeta,\n Icon: iconMeta,\n IconButton: iconButtonMeta,\n Image: imageMeta,\n KeyboardAvoidingView: keyboardAvoidingViewMeta,\n TextInput: textInputMeta,\n MediaCard: mediaCardMeta,\n MetricCard: metricCardMeta,\n Pagination: paginationMeta,\n PopoverMenu: popoverMenuMeta,\n Progress: progressMeta,\n ProgressRing: progressRingMeta,\n Radio: radioMeta,\n RadioGroup: radioGroupMeta,\n Rating: ratingMeta,\n SearchInput: searchInputMeta,\n Select: selectMeta,\n Switch: switchMeta,\n Skeleton: skeletonMeta,\n SkeletonCard: skeletonCardMeta,\n SkeletonList: skeletonListMeta,\n SkeletonText: skeletonTextMeta,\n Tab: tabMeta,\n TabList: tabListMeta,\n TabPanel: tabPanelMeta,\n Tabs: tabsMeta,\n Text: textMeta,\n TimePicker: timePickerMeta,\n Toast: toastMeta,\n ToastProvider: toastProviderMeta,\n Toolbar: toolbarMeta,\n Uploader: uploaderMeta,\n BottomSheet: bottomSheetMeta,\n FlatList: flatListMeta,\n SectionList: sectionListMeta,\n ThemeModeToggle: themeModeToggleMeta,\n AppShell: appShellMeta,\n Screen: screenMeta,\n ScreenSection: screenSectionMeta,\n AuthScreen: authScreenMeta,\n ForgotPasswordForm: forgotPasswordFormMeta,\n OAuthProviderButton: oauthProviderButtonMeta,\n OAuthProviderList: oauthProviderListMeta,\n OtpForm: otpFormMeta,\n SignInForm: signInFormMeta,\n SignUpForm: signUpFormMeta,\n ChatListItem: chatListItemMeta,\n ChessBoard: chessBoardMeta,\n CollectionEditor: collectionEditorMeta,\n ContentRail: contentRailMeta,\n EmptyState: emptyStateMeta,\n Explorer: explorerMeta,\n FileExplorer: fileExplorerMeta,\n MediaExplorer: mediaExplorerMeta,\n GridLineOverlay: gridLineOverlayMeta,\n GridRuler: gridRulerMeta,\n GridView: gridViewMeta,\n TileGrid: tileGridMeta,\n Hero: heroMeta,\n List: listMeta,\n ListItem: listItemMeta,\n ListSection: listSectionMeta,\n MessageBubble: messageBubbleMeta,\n OpeningBook: openingBookMeta,\n MissingElement: missingElementMeta,\n PostCard: postCardMeta,\n ProductCard: productCardMeta,\n Reader: readerMeta,\n BarcodeScannerView: barcodeScannerViewMeta,\n CameraPermissionView: cameraPermissionViewMeta,\n ScanOverlay: scanOverlayMeta,\n SectionHeader: sectionHeaderMeta,\n SelectableItem: selectableItemMeta,\n SpatialGrid: spatialGridMeta,\n SelectionProvider: selectionProviderMeta,\n PaletteItem: paletteItemMeta,\n Timeline: timelineMeta,\n CardBack: cardBackMeta,\n CardHand: cardHandMeta,\n PlayingCard: playingCardMeta,\n TabletopTable: tabletopTableMeta,\n PokerTrainingTable: pokerTrainingTableMeta,\n TreeItem: treeItemMeta,\n TreeView: treeViewMeta,\n});\n"]}
|
|
1
|
+
{"version":3,"file":"componentMeta.js","sourceRoot":"","sources":["../../../src/features/registry/componentMeta.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACpF,OAA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gB;IAC9B,UAAU,EAAE,cAAc;IAC1B,gBAAgB,EAAE,oBAAoB;IACtC,WAAW,EAAE,eAAe;IAC5B,UAAU,EAAE,cAAc;IAC1B,QAAQ,EAAE,YAAY;IACtB,YAAY,EAAE,gBAAgB;IAC9B,aAAa,EAAE,iBAAiB;IAChC,eAAe,EAAE,mBAAmB;IACpC,SAAS,EAAE,aAAa;IACxB,QAAQ,EAAE,YAAY;IACtB,QAAQ,EAAE,YAAY;IACtB,QAAQ,EAAE,YAAY;IACtB,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,eAAe;IAC5B,aAAa,EAAE,iBAAiB;IAChC,WAAW,EAAE,eAAe;IAC5B,cAAc,EAAE,kBAAkB;IAClC,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,eAAe;IAC5B,MAAM,EAAE,UAAU;IAClB,kBAAkB,EAAE,sBAAsB;IAC1C,oBAAoB,EAAE,wBAAwB;IAC9C,WAAW,EAAE,eAAe;IAC5B,aAAa,EAAE,iBAAiB;IAChC,cAAc,EAAE,kBAAkB;IAClC,WAAW,EAAE,eAAe;IAC5B,iBAAiB,EAAE,qBAAqB;IACxC,WAAW,EAAE,eAAe;IAC5B,QAAQ,EAAE,YAAY;IACtB,QAAQ,EAAE,YAAY;IACtB,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,eAAe;IAC5B,aAAa,EAAE,iBAAiB;IAChC,kBAAkB,EAAE,sBAAsB;IAC1C,QAAQ,EAAE,YAAY;IACtB,QAAQ,EAAE,YAAY;CACvB,CAAC,CAAC","sourcesContent":["import type { ZoraComponentMetaRegistry } from '../../types/authoring';\nimport { accordionItemMeta } from '../accordion/accordionItemMeta';\nimport { accordionMeta } from '../accordion/accordionMeta';\nimport { activityIndicatorMeta } from '../activity-indicator/activityIndicatorMeta';\nimport { appBarMeta } from '../app-bar/appBarMeta';\nimport { appHeaderMeta } from '../app-header/appHeaderMeta';\nimport { authScreenMeta } from '../auth/authScreenMeta';\nimport { forgotPasswordFormMeta } from '../auth/forgotPasswordFormMeta';\nimport { oauthProviderButtonMeta } from '../auth/oauthProviderButtonMeta';\nimport { oauthProviderListMeta } from '../auth/oauthProviderListMeta';\nimport { otpFormMeta } from '../auth/otpFormMeta';\nimport { signInFormMeta } from '../auth/signInFormMeta';\nimport { signUpFormMeta } from '../auth/signUpFormMeta';\nimport { avatarGroupMeta } from '../avatar/avatarGroupMeta';\nimport { avatarMeta } from '../avatar/avatarMeta';\nimport { badgeMeta } from '../badge/badgeMeta';\nimport { bottomSheetMeta } from '../bottom-sheet/bottomSheetMeta';\nimport { breadcrumbsMeta } from '../breadcrumbs/breadcrumbsMeta';\nimport { buttonGroupMeta } from '../button/buttonGroupMeta';\nimport { buttonMeta } from '../button/buttonMeta';\nimport { iconButtonMeta } from '../button/iconButtonMeta';\nimport { cardMeta } from '../card/cardMeta';\nimport { mediaCardMeta } from '../card/mediaCardMeta';\nimport { metricCardMeta } from '../card/metricCardMeta';\nimport { postCardMeta } from '../card/postCardMeta';\nimport { productCardMeta } from '../card/productCardMeta';\nimport { chatListItemMeta } from '../chat/chatListItemMeta';\nimport { messageBubbleMeta } from '../chat/messageBubbleMeta';\nimport { chessBoardMeta, openingBookMeta } from '../chess/meta';\nimport { chipGroupMeta } from '../chip/chipGroupMeta';\nimport { chipMeta } from '../chip/chipMeta';\nimport { collectionEditorMeta } from '../collection-editor/meta';\nimport { contentRailMeta } from '../content-rail/contentRailMeta';\nimport { dataTableMeta } from '../data-table/dataTableMeta';\nimport { datePickerMeta } from '../date-picker/datePickerMeta';\nimport { dialogMeta } from '../dialog/dialogMeta';\nimport { emptyStateMeta } from '../empty-state/emptyStateMeta';\nimport { explorerMeta, fileExplorerMeta, mediaExplorerMeta } from '../explorer/meta';\nimport { checkboxGroupMeta, checkboxMeta } from '../form/checkbox/checkboxMeta';\nimport { fieldMeta } from '../form/field/meta';\nimport { formActionsMeta } from '../form/formActionsMeta';\nimport { formErrorMeta } from '../form/formErrorMeta';\nimport { formMeta } from '../form/formMeta';\nimport { radioGroupMeta, radioMeta } from '../form/radio/radioMeta';\nimport { searchInputMeta } from '../form/search-input/searchInputMeta';\nimport { selectMeta } from '../form/select/selectMeta';\nimport { switchMeta } from '../form/switch/switchMeta';\nimport { textInputMeta } from '../form/text-input/textInputMeta';\nimport { gameEntityMeta } from '../game/meta/gameEntityMeta';\nimport { gameFieldMeta } from '../game/meta/gameFieldMeta';\nimport { gameInputZoneMeta } from '../game/meta/gameInputZoneMeta';\nimport { gameMeasurementProbeMeta } from '../game/meta/gameMeasurementProbeMeta';\nimport { gameMeta } from '../game/meta/gameMeta';\nimport { gameOverlayMeta } from '../game/meta/gameOverlayMeta';\nimport { gradientMeta } from '../gradient/gradientMeta';\nimport { gridLineOverlayMeta, gridRulerMeta } from '../grid-rulers/meta';\nimport { gridViewMeta, tileGridMeta } from '../grid-view/meta';\nimport { heroMeta } from '../hero/heroMeta';\nimport { iconMeta } from '../icon/iconMeta';\nimport { imageMeta } from '../image/imageMeta';\nimport { keyboardAvoidingViewMeta } from '../keyboard-avoiding-view/keyboardAvoidingViewMeta';\nimport { appShellMeta } from '../layout/appShellMeta';\nimport { dividerMeta } from '../layout/dividerMeta';\nimport { gridMeta } from '../layout/gridMeta';\nimport { screenMeta } from '../layout/screenMeta';\nimport { scrollViewMeta } from '../layout/scrollViewMeta';\nimport { viewMeta } from '../layout/viewMeta';\nimport { flatListMeta } from '../list/flatListMeta';\nimport { listItemMeta, listMeta, listSectionMeta } from '../list/meta';\nimport { sectionListMeta } from '../list/sectionListMeta';\nimport { missingElementMeta } from '../missing-element/missingElementMeta';\nimport { paginationMeta } from '../pagination/paginationMeta';\nimport { paletteItemMeta } from '../palette-item/paletteItemMeta';\nimport { popoverMenuMeta } from '../popover-menu/popoverMenuMeta';\nimport { progressMeta, progressRingMeta } from '../progress/progressMeta';\nimport { ratingMeta } from '../rating/ratingMeta';\nimport { readerMeta } from '../reader/meta';\nimport { barcodeScannerViewMeta, cameraPermissionViewMeta, scanOverlayMeta } from '../scanner/meta';\nimport { screenSectionMeta } from '../section/screenSectionMeta';\nimport { sectionHeaderMeta } from '../section/sectionHeaderMeta';\nimport { selectableItemMeta, selectionProviderMeta } from '../selection/meta';\nimport {\n skeletonCardMeta,\n skeletonListMeta,\n skeletonMeta,\n skeletonTextMeta,\n} from '../skeleton/skeletonMeta';\nimport { spatialGridMeta } from '../spatial-grid/meta';\nimport { surfaceMeta } from '../surface/surfaceMeta';\nimport {\n cardBackMeta,\n cardHandMeta,\n playingCardMeta,\n pokerTrainingTableMeta,\n tabletopTableMeta,\n} from '../tabletop/meta';\nimport { tabListMeta } from '../tabs/tabListMeta';\nimport { tabMeta } from '../tabs/tabMeta';\nimport { tabPanelMeta } from '../tabs/tabPanelMeta';\nimport { tabsMeta } from '../tabs/tabsMeta';\nimport { themeModeToggleMeta } from '../theme/ThemeModeToggle.meta';\nimport { timeGridMeta } from '../time-grid/meta';\nimport { timePickerMeta } from '../time-picker/timePickerMeta';\nimport { timelineMeta } from '../timeline/meta';\nimport { toastMeta } from '../toast/toastMeta';\nimport { toastProviderMeta } from '../toast/toastProviderMeta';\nimport { toolbarMeta } from '../toolbar/toolbarMeta';\nimport { treeItemMeta, treeViewMeta } from '../tree-view/meta';\nimport { headingMeta } from '../typography/headingMeta';\nimport { textMeta } from '../typography/textMeta';\nimport { uploaderMeta } from '../uploader/uploaderMeta';\nimport { finalizeFeatureMetadata } from './finalizeFeatureMetadata';\n\nexport const ZORA_COMPONENT_META: ZoraComponentMetaRegistry = finalizeFeatureMetadata({\n Accordion: accordionMeta,\n AccordionItem: accordionItemMeta,\n ActivityIndicator: activityIndicatorMeta,\n View: viewMeta,\n ScrollView: scrollViewMeta,\n Grid: gridMeta,\n Divider: dividerMeta,\n Surface: surfaceMeta,\n AppBar: appBarMeta,\n AppHeader: appHeaderMeta,\n Avatar: avatarMeta,\n AvatarGroup: avatarGroupMeta,\n Badge: badgeMeta,\n Breadcrumbs: breadcrumbsMeta,\n Button: buttonMeta,\n ButtonGroup: buttonGroupMeta,\n Card: cardMeta,\n Checkbox: checkboxMeta,\n CheckboxGroup: checkboxGroupMeta,\n Chip: chipMeta,\n ChipGroup: chipGroupMeta,\n DataTable: dataTableMeta,\n DatePicker: datePickerMeta,\n Dialog: dialogMeta,\n Form: formMeta,\n FormActions: formActionsMeta,\n FormError: formErrorMeta,\n Field: fieldMeta,\n Gradient: gradientMeta,\n Game: gameMeta,\n GameField: gameFieldMeta,\n GameEntity: gameEntityMeta,\n GameInputZone: gameInputZoneMeta,\n GameMeasurementProbe: gameMeasurementProbeMeta,\n GameOverlay: gameOverlayMeta,\n Heading: headingMeta,\n Icon: iconMeta,\n IconButton: iconButtonMeta,\n Image: imageMeta,\n KeyboardAvoidingView: keyboardAvoidingViewMeta,\n TextInput: textInputMeta,\n MediaCard: mediaCardMeta,\n MetricCard: metricCardMeta,\n Pagination: paginationMeta,\n PopoverMenu: popoverMenuMeta,\n Progress: progressMeta,\n ProgressRing: progressRingMeta,\n Radio: radioMeta,\n RadioGroup: radioGroupMeta,\n Rating: ratingMeta,\n SearchInput: searchInputMeta,\n Select: selectMeta,\n Switch: switchMeta,\n Skeleton: skeletonMeta,\n SkeletonCard: skeletonCardMeta,\n SkeletonList: skeletonListMeta,\n SkeletonText: skeletonTextMeta,\n Tab: tabMeta,\n TabList: tabListMeta,\n TabPanel: tabPanelMeta,\n Tabs: tabsMeta,\n Text: textMeta,\n TimePicker: timePickerMeta,\n Toast: toastMeta,\n ToastProvider: toastProviderMeta,\n Toolbar: toolbarMeta,\n Uploader: uploaderMeta,\n BottomSheet: bottomSheetMeta,\n FlatList: flatListMeta,\n SectionList: sectionListMeta,\n ThemeModeToggle: themeModeToggleMeta,\n AppShell: appShellMeta,\n Screen: screenMeta,\n ScreenSection: screenSectionMeta,\n AuthScreen: authScreenMeta,\n ForgotPasswordForm: forgotPasswordFormMeta,\n OAuthProviderButton: oauthProviderButtonMeta,\n OAuthProviderList: oauthProviderListMeta,\n OtpForm: otpFormMeta,\n SignInForm: signInFormMeta,\n SignUpForm: signUpFormMeta,\n ChatListItem: chatListItemMeta,\n ChessBoard: chessBoardMeta,\n CollectionEditor: collectionEditorMeta,\n ContentRail: contentRailMeta,\n EmptyState: emptyStateMeta,\n Explorer: explorerMeta,\n FileExplorer: fileExplorerMeta,\n MediaExplorer: mediaExplorerMeta,\n GridLineOverlay: gridLineOverlayMeta,\n GridRuler: gridRulerMeta,\n GridView: gridViewMeta,\n TileGrid: tileGridMeta,\n TimeGrid: timeGridMeta,\n Hero: heroMeta,\n List: listMeta,\n ListItem: listItemMeta,\n ListSection: listSectionMeta,\n MessageBubble: messageBubbleMeta,\n OpeningBook: openingBookMeta,\n MissingElement: missingElementMeta,\n PostCard: postCardMeta,\n ProductCard: productCardMeta,\n Reader: readerMeta,\n BarcodeScannerView: barcodeScannerViewMeta,\n CameraPermissionView: cameraPermissionViewMeta,\n ScanOverlay: scanOverlayMeta,\n SectionHeader: sectionHeaderMeta,\n SelectableItem: selectableItemMeta,\n SpatialGrid: spatialGridMeta,\n SelectionProvider: selectionProviderMeta,\n PaletteItem: paletteItemMeta,\n Timeline: timelineMeta,\n CardBack: cardBackMeta,\n CardHand: cardHandMeta,\n PlayingCard: playingCardMeta,\n TabletopTable: tabletopTableMeta,\n PokerTrainingTable: pokerTrainingTableMeta,\n TreeItem: treeItemMeta,\n TreeView: treeViewMeta,\n});\n"]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { TimeGridProps } from '../../../../types/time-grid';
|
|
3
|
+
/*** Presents virtualized variable-height interval lanes through ZORA's shared GridView renderer. */
|
|
4
|
+
export declare function TimeGrid({ contentWidth, focusedIntervalId, height, interactionPolicy, intervals, lanes, onFocusedIntervalIdChange, onIntervalPress, onViewportChange, onVisibleIntervalIdsChange, overscanPixels, renderInterval, renderLaneLabel, revealPaddingPixels, selectedIntervalIds, testID, width, zoom, }: TimeGridProps): React.JSX.Element;
|
|
5
|
+
//# sourceMappingURL=TimeGrid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimeGrid.d.ts","sourceRoot":"","sources":["../../../../../src/features/time-grid/adapters/inbound/TimeGrid.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAMjE,oGAAoG;AACpG,wBAAgB,QAAQ,CAAC,EACvB,YAAY,EACZ,iBAAiB,EACjB,MAAM,EACN,iBAAiB,EACjB,SAAS,EACT,KAAK,EACL,yBAAyB,EACzB,eAAe,EACf,gBAAgB,EAChB,0BAA0B,EAC1B,cAAc,EACd,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,mBAAwB,EACxB,MAAM,EACN,KAAK,EACL,IAAI,GACL,EAAE,aAAa,qBA6Jf"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { getLaneIntervalPlacement } from '@ankhorage/grid-view';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { Pressable, View } from 'react-native';
|
|
4
|
+
import { GridView } from '../../../grid-view/public';
|
|
5
|
+
import { resolveTimeGridNextFocusId } from '../../application/resolveTimeGridNextFocusId';
|
|
6
|
+
import { resolveTimeGridVisibleIntervals } from '../../application/resolveTimeGridVisibleIntervals';
|
|
7
|
+
import { TimeGridKeyboardProxy } from './TimeGridKeyboardProxy';
|
|
8
|
+
/*** Presents virtualized variable-height interval lanes through ZORA's shared GridView renderer. */
|
|
9
|
+
export function TimeGrid({ contentWidth, focusedIntervalId, height, interactionPolicy, intervals, lanes, onFocusedIntervalIdChange, onIntervalPress, onViewportChange, onVisibleIntervalIdsChange, overscanPixels, renderInterval, renderLaneLabel, revealPaddingPixels, selectedIntervalIds = [], testID, width, zoom, }) {
|
|
10
|
+
const scale = Math.max(0.01, zoom ?? 1);
|
|
11
|
+
const [scrollOffsets, setScrollOffsets] = React.useState(() => ({
|
|
12
|
+
offsetX: 0,
|
|
13
|
+
offsetY: 0,
|
|
14
|
+
}));
|
|
15
|
+
const viewport = React.useMemo(() => ({
|
|
16
|
+
...scrollOffsets,
|
|
17
|
+
height,
|
|
18
|
+
pixelsPerUnitX: scale,
|
|
19
|
+
pixelsPerUnitY: scale,
|
|
20
|
+
width,
|
|
21
|
+
}), [height, scale, scrollOffsets, width]);
|
|
22
|
+
const intervalById = React.useMemo(() => new Map(intervals.map((interval) => [interval.id, interval])), [intervals]);
|
|
23
|
+
const selectedIds = React.useMemo(() => new Set(selectedIntervalIds), [selectedIntervalIds]);
|
|
24
|
+
const contentHeight = React.useMemo(() => lanes.reduce((total, lane) => total + lane.height, 0), [lanes]);
|
|
25
|
+
const visibleIntervals = React.useMemo(() => resolveTimeGridVisibleIntervals(lanes, intervals, viewport, overscanPixels), [intervals, lanes, overscanPixels, viewport]);
|
|
26
|
+
const focusedPlacement = React.useMemo(() => {
|
|
27
|
+
const focusedInterval = intervals.find((interval) => interval.id === focusedIntervalId);
|
|
28
|
+
return focusedInterval ? getLaneIntervalPlacement(lanes, focusedInterval) : undefined;
|
|
29
|
+
}, [focusedIntervalId, intervals, lanes]);
|
|
30
|
+
const gridItems = React.useMemo(() => focusedPlacement && !visibleIntervals.some((interval) => interval.id === focusedPlacement.id)
|
|
31
|
+
? [...visibleIntervals, focusedPlacement]
|
|
32
|
+
: visibleIntervals, [focusedPlacement, visibleIntervals]);
|
|
33
|
+
const labelIntervals = React.useMemo(() => lanes.map((lane) => ({
|
|
34
|
+
extent: contentWidth,
|
|
35
|
+
id: `lane-label-${lane.id}`,
|
|
36
|
+
laneId: lane.id,
|
|
37
|
+
start: 0,
|
|
38
|
+
})), [contentWidth, lanes]);
|
|
39
|
+
const visibleLabels = React.useMemo(() => resolveTimeGridVisibleIntervals(lanes, labelIntervals, viewport, overscanPixels), [labelIntervals, lanes, overscanPixels, viewport]);
|
|
40
|
+
const handleViewportChange = React.useCallback((nextViewport) => {
|
|
41
|
+
setScrollOffsets((current) => current.offsetX === nextViewport.offsetX && current.offsetY === nextViewport.offsetY
|
|
42
|
+
? current
|
|
43
|
+
: { offsetX: nextViewport.offsetX, offsetY: nextViewport.offsetY });
|
|
44
|
+
onViewportChange?.(nextViewport);
|
|
45
|
+
}, [onViewportChange]);
|
|
46
|
+
const resolveNextFocusId = React.useCallback((intervalId, direction) => {
|
|
47
|
+
const allIntervals = resolveTimeGridVisibleIntervals(lanes, intervals, {
|
|
48
|
+
height: contentHeight,
|
|
49
|
+
offsetX: 0,
|
|
50
|
+
offsetY: 0,
|
|
51
|
+
pixelsPerUnitX: 1,
|
|
52
|
+
pixelsPerUnitY: 1,
|
|
53
|
+
width: contentWidth,
|
|
54
|
+
});
|
|
55
|
+
return resolveTimeGridNextFocusId(allIntervals, intervalId, direction);
|
|
56
|
+
}, [contentHeight, contentWidth, intervals, lanes]);
|
|
57
|
+
return (<View style={{ flexDirection: 'row', height, width }} testID={testID}>
|
|
58
|
+
{renderLaneLabel ? (<View accessibilityElementsHidden pointerEvents="none" style={{ height, overflow: 'hidden' }}>
|
|
59
|
+
{visibleLabels.map((placement) => {
|
|
60
|
+
const lane = lanes[placement.laneIndex];
|
|
61
|
+
if (!lane)
|
|
62
|
+
return null;
|
|
63
|
+
return (<View key={lane.id} style={{
|
|
64
|
+
height: placement.height * scale,
|
|
65
|
+
position: 'absolute',
|
|
66
|
+
top: (placement.y - viewport.offsetY) * scale,
|
|
67
|
+
}} testID={testID === undefined ? undefined : `${testID}-lane-label-${lane.id}`}>
|
|
68
|
+
{renderLaneLabel(lane)}
|
|
69
|
+
</View>);
|
|
70
|
+
})}
|
|
71
|
+
</View>) : null}
|
|
72
|
+
<GridView contentHeight={contentHeight} contentWidth={contentWidth} focusedItemId={focusedIntervalId} height={height} interactionPolicy={interactionPolicy} items={gridItems} onViewportChange={handleViewportChange} onVisibleItemIdsChange={onVisibleIntervalIdsChange} overscanPixels={overscanPixels} renderItem={(placement) => {
|
|
73
|
+
const interval = intervalById.get(placement.id);
|
|
74
|
+
if (!interval)
|
|
75
|
+
return null;
|
|
76
|
+
const selected = selectedIds.has(interval.id);
|
|
77
|
+
return (<TimeGridKeyboardProxy onKeyDown={(key) => {
|
|
78
|
+
const direction = resolveKeyboardDirection(key);
|
|
79
|
+
const nextId = direction === undefined ? undefined : resolveNextFocusId(interval.id, direction);
|
|
80
|
+
if (!nextId)
|
|
81
|
+
return false;
|
|
82
|
+
onFocusedIntervalIdChange?.(nextId);
|
|
83
|
+
return true;
|
|
84
|
+
}}>
|
|
85
|
+
<Pressable accessibilityLabel={`Interval ${interval.id}`} accessibilityRole="button" disabled={interactionPolicy === 'passive'} onPress={() => {
|
|
86
|
+
onFocusedIntervalIdChange?.(interval.id);
|
|
87
|
+
onIntervalPress?.(interval);
|
|
88
|
+
}} style={{ flex: 1 }} testID={testID === undefined ? undefined : `${testID}-interval-${interval.id}`}>
|
|
89
|
+
{renderInterval(interval, selected)}
|
|
90
|
+
</Pressable>
|
|
91
|
+
</TimeGridKeyboardProxy>);
|
|
92
|
+
}} revealPaddingPixels={revealPaddingPixels} testID={testID === undefined ? undefined : `${testID}-viewport`} width={width} zoom={zoom}/>
|
|
93
|
+
</View>);
|
|
94
|
+
}
|
|
95
|
+
/*** Maps desktop arrow keys to the platform-neutral interval navigation directions. */
|
|
96
|
+
function resolveKeyboardDirection(key) {
|
|
97
|
+
if (key === 'ArrowDown')
|
|
98
|
+
return 'down';
|
|
99
|
+
if (key === 'ArrowLeft')
|
|
100
|
+
return 'left';
|
|
101
|
+
if (key === 'ArrowRight')
|
|
102
|
+
return 'right';
|
|
103
|
+
if (key === 'ArrowUp')
|
|
104
|
+
return 'up';
|
|
105
|
+
return undefined;
|
|
106
|
+
}
|
|
107
|
+
//# sourceMappingURL=TimeGrid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimeGrid.js","sourceRoot":"","sources":["../../../../../src/features/time-grid/adapters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,IAAI,GAAG,KAAK,SAAS;QAAE,OAAO,IAAI,CAAC;IACnC,OAAO,SAAS,CAAC;AACnB,CAAC","sourcesContent":["import { getLaneIntervalPlacement, type GridViewport } from '@ankhorage/grid-view';\nimport React from 'react';\nimport { Pressable, View } from 'react-native';\n\nimport type { TimeGridProps } from '../../../../types/time-grid';\nimport { GridView } from '../../../grid-view/public';\nimport { resolveTimeGridNextFocusId } from '../../application/resolveTimeGridNextFocusId';\nimport { resolveTimeGridVisibleIntervals } from '../../application/resolveTimeGridVisibleIntervals';\nimport { TimeGridKeyboardProxy } from './TimeGridKeyboardProxy';\n\n/*** Presents virtualized variable-height interval lanes through ZORA's shared GridView renderer. */\nexport function TimeGrid({\n contentWidth,\n focusedIntervalId,\n height,\n interactionPolicy,\n intervals,\n lanes,\n onFocusedIntervalIdChange,\n onIntervalPress,\n onViewportChange,\n onVisibleIntervalIdsChange,\n overscanPixels,\n renderInterval,\n renderLaneLabel,\n revealPaddingPixels,\n selectedIntervalIds = [],\n testID,\n width,\n zoom,\n}: TimeGridProps) {\n const scale = Math.max(0.01, zoom ?? 1);\n const [scrollOffsets, setScrollOffsets] = React.useState(() => ({\n offsetX: 0,\n offsetY: 0,\n }));\n const viewport = React.useMemo<GridViewport>(\n () => ({\n ...scrollOffsets,\n height,\n pixelsPerUnitX: scale,\n pixelsPerUnitY: scale,\n width,\n }),\n [height, scale, scrollOffsets, width],\n );\n const intervalById = React.useMemo(\n () => new Map(intervals.map((interval) => [interval.id, interval])),\n [intervals],\n );\n const selectedIds = React.useMemo(() => new Set(selectedIntervalIds), [selectedIntervalIds]);\n const contentHeight = React.useMemo(\n () => lanes.reduce((total, lane) => total + lane.height, 0),\n [lanes],\n );\n const visibleIntervals = React.useMemo(\n () => resolveTimeGridVisibleIntervals(lanes, intervals, viewport, overscanPixels),\n [intervals, lanes, overscanPixels, viewport],\n );\n const focusedPlacement = React.useMemo(() => {\n const focusedInterval = intervals.find((interval) => interval.id === focusedIntervalId);\n return focusedInterval ? getLaneIntervalPlacement(lanes, focusedInterval) : undefined;\n }, [focusedIntervalId, intervals, lanes]);\n const gridItems = React.useMemo(\n () =>\n focusedPlacement && !visibleIntervals.some((interval) => interval.id === focusedPlacement.id)\n ? [...visibleIntervals, focusedPlacement]\n : visibleIntervals,\n [focusedPlacement, visibleIntervals],\n );\n const labelIntervals = React.useMemo(\n () =>\n lanes.map((lane) => ({\n extent: contentWidth,\n id: `lane-label-${lane.id}`,\n laneId: lane.id,\n start: 0,\n })),\n [contentWidth, lanes],\n );\n const visibleLabels = React.useMemo(\n () => resolveTimeGridVisibleIntervals(lanes, labelIntervals, viewport, overscanPixels),\n [labelIntervals, lanes, overscanPixels, viewport],\n );\n\n const handleViewportChange = React.useCallback(\n (nextViewport: GridViewport) => {\n setScrollOffsets((current) =>\n current.offsetX === nextViewport.offsetX && current.offsetY === nextViewport.offsetY\n ? current\n : { offsetX: nextViewport.offsetX, offsetY: nextViewport.offsetY },\n );\n onViewportChange?.(nextViewport);\n },\n [onViewportChange],\n );\n\n const resolveNextFocusId = React.useCallback(\n (intervalId: string, direction: 'down' | 'left' | 'right' | 'up') => {\n const allIntervals = resolveTimeGridVisibleIntervals(lanes, intervals, {\n height: contentHeight,\n offsetX: 0,\n offsetY: 0,\n pixelsPerUnitX: 1,\n pixelsPerUnitY: 1,\n width: contentWidth,\n });\n return resolveTimeGridNextFocusId(allIntervals, intervalId, direction);\n },\n [contentHeight, contentWidth, intervals, lanes],\n );\n\n return (\n <View style={{ flexDirection: 'row', height, width }} testID={testID}>\n {renderLaneLabel ? (\n <View\n accessibilityElementsHidden\n pointerEvents=\"none\"\n style={{ height, overflow: 'hidden' }}\n >\n {visibleLabels.map((placement) => {\n const lane = lanes[placement.laneIndex];\n if (!lane) return null;\n return (\n <View\n key={lane.id}\n style={{\n height: placement.height * scale,\n position: 'absolute',\n top: (placement.y - viewport.offsetY) * scale,\n }}\n testID={testID === undefined ? undefined : `${testID}-lane-label-${lane.id}`}\n >\n {renderLaneLabel(lane)}\n </View>\n );\n })}\n </View>\n ) : null}\n <GridView\n contentHeight={contentHeight}\n contentWidth={contentWidth}\n focusedItemId={focusedIntervalId}\n height={height}\n interactionPolicy={interactionPolicy}\n items={gridItems}\n onViewportChange={handleViewportChange}\n onVisibleItemIdsChange={onVisibleIntervalIdsChange}\n overscanPixels={overscanPixels}\n renderItem={(placement) => {\n const interval = intervalById.get(placement.id);\n if (!interval) return null;\n const selected = selectedIds.has(interval.id);\n return (\n <TimeGridKeyboardProxy\n onKeyDown={(key) => {\n const direction = resolveKeyboardDirection(key);\n const nextId =\n direction === undefined ? undefined : resolveNextFocusId(interval.id, direction);\n if (!nextId) return false;\n onFocusedIntervalIdChange?.(nextId);\n return true;\n }}\n >\n <Pressable\n accessibilityLabel={`Interval ${interval.id}`}\n accessibilityRole=\"button\"\n disabled={interactionPolicy === 'passive'}\n onPress={() => {\n onFocusedIntervalIdChange?.(interval.id);\n onIntervalPress?.(interval);\n }}\n style={{ flex: 1 }}\n testID={testID === undefined ? undefined : `${testID}-interval-${interval.id}`}\n >\n {renderInterval(interval, selected)}\n </Pressable>\n </TimeGridKeyboardProxy>\n );\n }}\n revealPaddingPixels={revealPaddingPixels}\n testID={testID === undefined ? undefined : `${testID}-viewport`}\n width={width}\n zoom={zoom}\n />\n </View>\n );\n}\n\n/*** Maps desktop arrow keys to the platform-neutral interval navigation directions. */\nfunction resolveKeyboardDirection(key: string): 'down' | 'left' | 'right' | 'up' | undefined {\n if (key === 'ArrowDown') return 'down';\n if (key === 'ArrowLeft') return 'left';\n if (key === 'ArrowRight') return 'right';\n if (key === 'ArrowUp') return 'up';\n return undefined;\n}\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
/*** Provides the native fallback type surface; React Native Web resolves the DOM adapter at runtime. */
|
|
3
|
+
export declare function TimeGridKeyboardProxy({ children }: TimeGridKeyboardProxyProps): React.JSX.Element;
|
|
4
|
+
interface TimeGridKeyboardProxyProps {
|
|
5
|
+
readonly children: React.ReactNode;
|
|
6
|
+
readonly onKeyDown: (key: string) => boolean;
|
|
7
|
+
}
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=TimeGridKeyboardProxy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimeGridKeyboardProxy.d.ts","sourceRoot":"","sources":["../../../../../src/features/time-grid/adapters/inbound/TimeGridKeyboardProxy.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,wGAAwG;AACxG,wBAAgB,qBAAqB,CAAC,EAAE,QAAQ,EAAE,EAAE,0BAA0B,qBAE7E;AAED,UAAU,0BAA0B;IAClC,QAAQ,CAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IACnC,QAAQ,CAAC,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;CAC9C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimeGridKeyboardProxy.js","sourceRoot":"","sources":["../../../../../src/features/time-grid/adapters/inbound/TimeGridKeyboardProxy.tsx"],"names":[],"mappings":"AAEA,wGAAwG;AACxG,MAAM,UAAU,qBAAqB,CAAC,EAAE,QAAQ,EAA8B;IAC5E,OAAO,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC;AACzB,CAAC","sourcesContent":["import type React from 'react';\n\n/*** Provides the native fallback type surface; React Native Web resolves the DOM adapter at runtime. */\nexport function TimeGridKeyboardProxy({ children }: TimeGridKeyboardProxyProps) {\n return <>{children}</>;\n}\n\ninterface TimeGridKeyboardProxyProps {\n readonly children: React.ReactNode;\n readonly onKeyDown: (key: string) => boolean;\n}\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
/*** Preserves native activation and touch interaction where DOM arrow-key events do not exist. */
|
|
3
|
+
export declare function TimeGridKeyboardProxy({ children }: TimeGridKeyboardProxyProps): React.JSX.Element;
|
|
4
|
+
interface TimeGridKeyboardProxyProps {
|
|
5
|
+
readonly children: React.ReactNode;
|
|
6
|
+
readonly onKeyDown: (key: string) => boolean;
|
|
7
|
+
}
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=TimeGridKeyboardProxy.native.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimeGridKeyboardProxy.native.d.ts","sourceRoot":"","sources":["../../../../../src/features/time-grid/adapters/inbound/TimeGridKeyboardProxy.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,kGAAkG;AAClG,wBAAgB,qBAAqB,CAAC,EAAE,QAAQ,EAAE,EAAE,0BAA0B,qBAE7E;AAED,UAAU,0BAA0B;IAClC,QAAQ,CAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IACnC,QAAQ,CAAC,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;CAC9C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimeGridKeyboardProxy.native.js","sourceRoot":"","sources":["../../../../../src/features/time-grid/adapters/inbound/TimeGridKeyboardProxy.native.tsx"],"names":[],"mappings":"AAEA,kGAAkG;AAClG,MAAM,UAAU,qBAAqB,CAAC,EAAE,QAAQ,EAA8B;IAC5E,OAAO,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC;AACzB,CAAC","sourcesContent":["import type React from 'react';\n\n/*** Preserves native activation and touch interaction where DOM arrow-key events do not exist. */\nexport function TimeGridKeyboardProxy({ children }: TimeGridKeyboardProxyProps) {\n return <>{children}</>;\n}\n\ninterface TimeGridKeyboardProxyProps {\n readonly children: React.ReactNode;\n readonly onKeyDown: (key: string) => boolean;\n}\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
/*** Bridges DOM arrow keys into portable interval focus navigation on React Native Web. */
|
|
3
|
+
export declare function TimeGridKeyboardProxy({ children, onKeyDown }: TimeGridKeyboardProxyProps): React.JSX.Element;
|
|
4
|
+
interface TimeGridKeyboardProxyProps {
|
|
5
|
+
readonly children: React.ReactNode;
|
|
6
|
+
readonly onKeyDown: (key: string) => boolean;
|
|
7
|
+
}
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=TimeGridKeyboardProxy.web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimeGridKeyboardProxy.web.d.ts","sourceRoot":"","sources":["../../../../../src/features/time-grid/adapters/inbound/TimeGridKeyboardProxy.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,2FAA2F;AAC3F,wBAAgB,qBAAqB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,0BAA0B,qBAWxF;AAED,UAAU,0BAA0B;IAClC,QAAQ,CAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IACnC,QAAQ,CAAC,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;CAC9C"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/*** Bridges DOM arrow keys into portable interval focus navigation on React Native Web. */
|
|
2
|
+
export function TimeGridKeyboardProxy({ children, onKeyDown }) {
|
|
3
|
+
return (<div onKeyDown={(event) => {
|
|
4
|
+
if (onKeyDown(event.key))
|
|
5
|
+
event.preventDefault();
|
|
6
|
+
}} style={{ display: 'flex', flex: 1 }}>
|
|
7
|
+
{children}
|
|
8
|
+
</div>);
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=TimeGridKeyboardProxy.web.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimeGridKeyboardProxy.web.js","sourceRoot":"","sources":["../../../../../src/features/time-grid/adapters/inbound/TimeGridKeyboardProxy.web.tsx"],"names":[],"mappings":"AAEA,2FAA2F;AAC3F,MAAM,UAAU,qBAAqB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAA8B;IACvF,OAAO,CACL,CAAC,GAAG,CACF,SAAS,CAAC,CAAC,CAAC,KAAK,EAAE,EAAE;YACnB,IAAI,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC;gBAAE,KAAK,CAAC,cAAc,EAAE,CAAC;QACnD,CAAC,CAAC,CACF,KAAK,CAAC,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,CAEpC;MAAA,CAAC,QAAQ,CACX;IAAA,EAAE,GAAG,CAAC,CACP,CAAC;AACJ,CAAC","sourcesContent":["import type React from 'react';\n\n/*** Bridges DOM arrow keys into portable interval focus navigation on React Native Web. */\nexport function TimeGridKeyboardProxy({ children, onKeyDown }: TimeGridKeyboardProxyProps) {\n return (\n <div\n onKeyDown={(event) => {\n if (onKeyDown(event.key)) event.preventDefault();\n }}\n style={{ display: 'flex', flex: 1 }}\n >\n {children}\n </div>\n );\n}\n\ninterface TimeGridKeyboardProxyProps {\n readonly children: React.ReactNode;\n readonly onKeyDown: (key: string) => boolean;\n}\n"]}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { GridLaneIntervalPlacement } from '@ankhorage/grid-view';
|
|
2
|
+
/*** Resolves a neighboring interval for keyboard movement without attaching domain meaning to lanes. */
|
|
3
|
+
export declare function resolveTimeGridNextFocusId(placements: readonly GridLaneIntervalPlacement[], focusedId: string, direction: 'down' | 'left' | 'right' | 'up'): string | undefined;
|
|
4
|
+
//# sourceMappingURL=resolveTimeGridNextFocusId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolveTimeGridNextFocusId.d.ts","sourceRoot":"","sources":["../../../../src/features/time-grid/application/resolveTimeGridNextFocusId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAEtE,wGAAwG;AACxG,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,SAAS,yBAAyB,EAAE,EAChD,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAC1C,MAAM,GAAG,SAAS,CAiBpB"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*** Resolves a neighboring interval for keyboard movement without attaching domain meaning to lanes. */
|
|
2
|
+
export function resolveTimeGridNextFocusId(placements, focusedId, direction) {
|
|
3
|
+
const focused = placements.find((placement) => placement.id === focusedId);
|
|
4
|
+
if (!focused)
|
|
5
|
+
return undefined;
|
|
6
|
+
const candidates = placements.filter((placement) => {
|
|
7
|
+
if (direction === 'left')
|
|
8
|
+
return placement.laneId === focused.laneId && placement.x < focused.x;
|
|
9
|
+
if (direction === 'right')
|
|
10
|
+
return placement.laneId === focused.laneId && placement.x > focused.x;
|
|
11
|
+
if (direction === 'up')
|
|
12
|
+
return placement.laneIndex < focused.laneIndex;
|
|
13
|
+
return placement.laneIndex > focused.laneIndex;
|
|
14
|
+
});
|
|
15
|
+
return candidates
|
|
16
|
+
.sort((first, second) => resolveFocusDistance(first, focused, direction) -
|
|
17
|
+
resolveFocusDistance(second, focused, direction))
|
|
18
|
+
.at(0)?.id;
|
|
19
|
+
}
|
|
20
|
+
/*** Measures nearby candidates by axis first and timeline/lane offset second. */
|
|
21
|
+
function resolveFocusDistance(candidate, focused, direction) {
|
|
22
|
+
const horizontal = direction === 'left' || direction === 'right';
|
|
23
|
+
const primary = horizontal
|
|
24
|
+
? Math.abs(candidate.x - focused.x)
|
|
25
|
+
: Math.abs(candidate.laneIndex - focused.laneIndex);
|
|
26
|
+
const secondary = horizontal
|
|
27
|
+
? Math.abs(candidate.laneIndex - focused.laneIndex)
|
|
28
|
+
: Math.abs(candidate.x - focused.x);
|
|
29
|
+
return primary * 1_000_000 + secondary;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=resolveTimeGridNextFocusId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolveTimeGridNextFocusId.js","sourceRoot":"","sources":["../../../../src/features/time-grid/application/resolveTimeGridNextFocusId.ts"],"names":[],"mappings":"AAEA,wGAAwG;AACxG,MAAM,UAAU,0BAA0B,CACxC,UAAgD,EAChD,SAAiB,EACjB,SAA2C;IAE3C,MAAM,OAAO,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,EAAE,KAAK,SAAS,CAAC,CAAC;IAC3E,IAAI,CAAC,OAAO;QAAE,OAAO,SAAS,CAAC;IAC/B,MAAM,UAAU,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,SAAS,EAAE,EAAE;QACjD,IAAI,SAAS,KAAK,MAAM;YAAE,OAAO,SAAS,CAAC,MAAM,KAAK,OAAO,CAAC,MAAM,IAAI,SAAS,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;QAChG,IAAI,SAAS,KAAK,OAAO;YACvB,OAAO,SAAS,CAAC,MAAM,KAAK,OAAO,CAAC,MAAM,IAAI,SAAS,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;QACxE,IAAI,SAAS,KAAK,IAAI;YAAE,OAAO,SAAS,CAAC,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;QACvE,OAAO,SAAS,CAAC,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;IACjD,CAAC,CAAC,CAAC;IACH,OAAO,UAAU;SACd,IAAI,CACH,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,CAChB,oBAAoB,CAAC,KAAK,EAAE,OAAO,EAAE,SAAS,CAAC;QAC/C,oBAAoB,CAAC,MAAM,EAAE,OAAO,EAAE,SAAS,CAAC,CACnD;SACA,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;AACf,CAAC;AAED,iFAAiF;AACjF,SAAS,oBAAoB,CAC3B,SAAoC,EACpC,OAAkC,EAClC,SAA2C;IAE3C,MAAM,UAAU,GAAG,SAAS,KAAK,MAAM,IAAI,SAAS,KAAK,OAAO,CAAC;IACjE,MAAM,OAAO,GAAG,UAAU;QACxB,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;QACnC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;IACtD,MAAM,SAAS,GAAG,UAAU;QAC1B,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;QACnD,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IACtC,OAAO,OAAO,GAAG,SAAS,GAAG,SAAS,CAAC;AACzC,CAAC","sourcesContent":["import type { GridLaneIntervalPlacement } from '@ankhorage/grid-view';\n\n/*** Resolves a neighboring interval for keyboard movement without attaching domain meaning to lanes. */\nexport function resolveTimeGridNextFocusId(\n placements: readonly GridLaneIntervalPlacement[],\n focusedId: string,\n direction: 'down' | 'left' | 'right' | 'up',\n): string | undefined {\n const focused = placements.find((placement) => placement.id === focusedId);\n if (!focused) return undefined;\n const candidates = placements.filter((placement) => {\n if (direction === 'left') return placement.laneId === focused.laneId && placement.x < focused.x;\n if (direction === 'right')\n return placement.laneId === focused.laneId && placement.x > focused.x;\n if (direction === 'up') return placement.laneIndex < focused.laneIndex;\n return placement.laneIndex > focused.laneIndex;\n });\n return candidates\n .sort(\n (first, second) =>\n resolveFocusDistance(first, focused, direction) -\n resolveFocusDistance(second, focused, direction),\n )\n .at(0)?.id;\n}\n\n/*** Measures nearby candidates by axis first and timeline/lane offset second. */\nfunction resolveFocusDistance(\n candidate: GridLaneIntervalPlacement,\n focused: GridLaneIntervalPlacement,\n direction: 'down' | 'left' | 'right' | 'up',\n): number {\n const horizontal = direction === 'left' || direction === 'right';\n const primary = horizontal\n ? Math.abs(candidate.x - focused.x)\n : Math.abs(candidate.laneIndex - focused.laneIndex);\n const secondary = horizontal\n ? Math.abs(candidate.laneIndex - focused.laneIndex)\n : Math.abs(candidate.x - focused.x);\n return primary * 1_000_000 + secondary;\n}\n"]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type GridViewport } from '@ankhorage/grid-view';
|
|
2
|
+
import type { TimeGridInterval, TimeGridLane } from '../../../types/time-grid';
|
|
3
|
+
/*** Resolves the ordered interval placements visible in both world-space axes. */
|
|
4
|
+
export declare function resolveTimeGridVisibleIntervals(lanes: readonly TimeGridLane[], intervals: readonly TimeGridInterval[], viewport: GridViewport, overscanPixels?: number): readonly import("@ankhorage/grid-view").GridLaneIntervalPlacement[];
|
|
5
|
+
//# sourceMappingURL=resolveTimeGridVisibleIntervals.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolveTimeGridVisibleIntervals.d.ts","sourceRoot":"","sources":["../../../../src/features/time-grid/application/resolveTimeGridVisibleIntervals.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAElF,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE/E,kFAAkF;AAClF,wBAAgB,+BAA+B,CAC7C,KAAK,EAAE,SAAS,YAAY,EAAE,EAC9B,SAAS,EAAE,SAAS,gBAAgB,EAAE,EACtC,QAAQ,EAAE,YAAY,EACtB,cAAc,CAAC,EAAE,MAAM,uEAGxB"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { getVisibleLaneIntervals } from '@ankhorage/grid-view';
|
|
2
|
+
/*** Resolves the ordered interval placements visible in both world-space axes. */
|
|
3
|
+
export function resolveTimeGridVisibleIntervals(lanes, intervals, viewport, overscanPixels) {
|
|
4
|
+
return getVisibleLaneIntervals(lanes, intervals, viewport, overscanPixels);
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=resolveTimeGridVisibleIntervals.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolveTimeGridVisibleIntervals.js","sourceRoot":"","sources":["../../../../src/features/time-grid/application/resolveTimeGridVisibleIntervals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAqB,MAAM,sBAAsB,CAAC;AAIlF,kFAAkF;AAClF,MAAM,UAAU,+BAA+B,CAC7C,KAA8B,EAC9B,SAAsC,EACtC,QAAsB,EACtB,cAAuB;IAEvB,OAAO,uBAAuB,CAAC,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,cAAc,CAAC,CAAC;AAC7E,CAAC","sourcesContent":["import { getVisibleLaneIntervals, type GridViewport } from '@ankhorage/grid-view';\n\nimport type { TimeGridInterval, TimeGridLane } from '../../../types/time-grid';\n\n/*** Resolves the ordered interval placements visible in both world-space axes. */\nexport function resolveTimeGridVisibleIntervals(\n lanes: readonly TimeGridLane[],\n intervals: readonly TimeGridInterval[],\n viewport: GridViewport,\n overscanPixels?: number,\n) {\n return getVisibleLaneIntervals(lanes, intervals, viewport, overscanPixels);\n}\n"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** TimeGrid remains code-only because interval and lane presentation require executable renderers. */
|
|
2
|
+
export declare const timeGridMeta: {
|
|
3
|
+
readonly name: "TimeGrid";
|
|
4
|
+
readonly category: "foundation";
|
|
5
|
+
readonly description: "Virtualized variable-height world-space interval lanes for code-defined timelines.";
|
|
6
|
+
readonly directManifestNode: false;
|
|
7
|
+
readonly note: "Requires executable interval and optional lane-label renderers; available through code APIs, not a serializable manifest node.";
|
|
8
|
+
readonly allowedChildren: readonly [];
|
|
9
|
+
readonly props: {};
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=meta.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/features/time-grid/meta.ts"],"names":[],"mappings":"AAEA,sGAAsG;AACtG,eAAO,MAAM,YAAY;;;;;;;;CAQa,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** TimeGrid remains code-only because interval and lane presentation require executable renderers. */
|
|
2
|
+
export const timeGridMeta = {
|
|
3
|
+
name: 'TimeGrid',
|
|
4
|
+
category: 'foundation',
|
|
5
|
+
description: 'Virtualized variable-height world-space interval lanes for code-defined timelines.',
|
|
6
|
+
directManifestNode: false,
|
|
7
|
+
note: 'Requires executable interval and optional lane-label renderers; available through code APIs, not a serializable manifest node.',
|
|
8
|
+
allowedChildren: [],
|
|
9
|
+
props: {},
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=meta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../src/features/time-grid/meta.ts"],"names":[],"mappings":"AAEA,sGAAsG;AACtG,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,IAAI,EAAE,UAAU;IAChB,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,oFAAoF;IACjG,kBAAkB,EAAE,KAAK;IACzB,IAAI,EAAE,gIAAgI;IACtI,eAAe,EAAE,EAAE;IACnB,KAAK,EAAE,EAAE;CAC2B,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../types/authoring';\n\n/** TimeGrid remains code-only because interval and lane presentation require executable renderers. */\nexport const timeGridMeta = {\n name: 'TimeGrid',\n category: 'foundation',\n description: 'Virtualized variable-height world-space interval lanes for code-defined timelines.',\n directManifestNode: false,\n note: 'Requires executable interval and optional lane-label renderers; available through code APIs, not a serializable manifest node.',\n allowedChildren: [],\n props: {},\n} as const satisfies ZoraComponentMeta;\n"]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type { TimeGridInterval, TimeGridLane, TimeGridProps } from '../../types/time-grid';
|
|
2
|
+
export { TimeGrid } from './adapters/inbound/TimeGrid';
|
|
3
|
+
export { resolveTimeGridNextFocusId } from './application/resolveTimeGridNextFocusId';
|
|
4
|
+
export { resolveTimeGridVisibleIntervals } from './application/resolveTimeGridVisibleIntervals';
|
|
5
|
+
//# sourceMappingURL=public.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/features/time-grid/public.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,gBAAgB,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3F,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AACtF,OAAO,EAAE,+BAA+B,EAAE,MAAM,+CAA+C,CAAC"}
|