@ankhorage/zora 14.0.1 → 15.0.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 +1 -1
- package/dist/features/app-bar/adapters/inbound/AppBar.d.ts.map +1 -1
- package/dist/features/app-bar/adapters/inbound/AppBar.js +28 -27
- package/dist/features/app-bar/adapters/inbound/AppBar.js.map +1 -1
- package/dist/features/app-bar/public.d.ts +1 -1
- package/dist/features/app-bar/public.d.ts.map +1 -1
- package/dist/features/app-bar/public.js.map +1 -1
- package/dist/features/bottom-sheet/public.d.ts +2 -2
- package/dist/features/bottom-sheet/public.d.ts.map +1 -1
- package/dist/features/bottom-sheet/public.js +1 -1
- package/dist/features/bottom-sheet/public.js.map +1 -1
- package/dist/features/breadcrumbs/adapters/inbound/Breadcrumbs.d.ts +5 -0
- package/dist/features/breadcrumbs/adapters/inbound/Breadcrumbs.d.ts.map +1 -0
- package/dist/features/breadcrumbs/adapters/inbound/Breadcrumbs.js +81 -0
- package/dist/features/breadcrumbs/adapters/inbound/Breadcrumbs.js.map +1 -0
- package/dist/features/breadcrumbs/breadcrumbsMeta.d.ts +119 -0
- package/dist/features/breadcrumbs/breadcrumbsMeta.d.ts.map +1 -0
- package/dist/features/breadcrumbs/breadcrumbsMeta.js +94 -0
- package/dist/features/breadcrumbs/breadcrumbsMeta.js.map +1 -0
- package/dist/features/breadcrumbs/public.d.ts +3 -0
- package/dist/features/breadcrumbs/public.d.ts.map +1 -0
- package/dist/features/breadcrumbs/public.js +2 -0
- package/dist/features/breadcrumbs/public.js.map +1 -0
- package/dist/features/button/utils/resolveButtonThemeRecipe.d.ts +1 -1
- package/dist/features/data-table/adapters/inbound/DataTable.d.ts.map +1 -1
- package/dist/features/data-table/adapters/inbound/DataTable.js +4 -2
- package/dist/features/data-table/adapters/inbound/DataTable.js.map +1 -1
- package/dist/features/form/formFieldMeta.d.ts +1 -1
- package/dist/features/form/formFieldMeta.js +1 -1
- package/dist/features/form/formFieldMeta.js.map +1 -1
- package/dist/features/form/radio/utils/resolveRadioGroupThemeRecipe.d.ts +1 -1
- package/dist/features/form/select/adapters/inbound/Select.d.ts +2 -0
- package/dist/features/form/select/adapters/inbound/Select.d.ts.map +1 -0
- package/dist/features/form/select/adapters/inbound/Select.js +2 -0
- package/dist/features/form/select/adapters/inbound/Select.js.map +1 -0
- package/dist/features/form/select/adapters/inbound/Select.native.d.ts +5 -0
- package/dist/features/form/select/adapters/inbound/Select.native.d.ts.map +1 -0
- package/dist/features/form/select/adapters/inbound/Select.native.js +42 -0
- package/dist/features/form/select/adapters/inbound/Select.native.js.map +1 -0
- package/dist/features/form/select/adapters/inbound/Select.web.d.ts +5 -0
- package/dist/features/form/select/adapters/inbound/Select.web.d.ts.map +1 -0
- package/dist/features/form/select/adapters/inbound/Select.web.js +31 -0
- package/dist/features/form/select/adapters/inbound/Select.web.js.map +1 -0
- package/dist/features/form/select/composition/SelectField.d.ts +10 -0
- package/dist/features/form/select/composition/SelectField.d.ts.map +1 -0
- package/dist/features/form/select/composition/SelectField.js +8 -0
- package/dist/features/form/select/composition/SelectField.js.map +1 -0
- package/dist/features/form/select/composition/SelectOptionRow.d.ts +12 -0
- package/dist/features/form/select/composition/SelectOptionRow.d.ts.map +1 -0
- package/dist/features/form/select/composition/SelectOptionRow.js +9 -0
- package/dist/features/form/select/composition/SelectOptionRow.js.map +1 -0
- package/dist/features/form/select/composition/SelectTrigger.d.ts +10 -0
- package/dist/features/form/select/composition/SelectTrigger.d.ts.map +1 -0
- package/dist/features/form/select/composition/SelectTrigger.js +9 -0
- package/dist/features/form/select/composition/SelectTrigger.js.map +1 -0
- package/dist/features/form/select/composition/useSelectController.d.ts +8 -0
- package/dist/features/form/select/composition/useSelectController.d.ts.map +1 -0
- package/dist/features/form/select/composition/useSelectController.js +15 -0
- package/dist/features/form/select/composition/useSelectController.js.map +1 -0
- package/dist/features/form/select/public.d.ts +3 -0
- package/dist/features/form/select/public.d.ts.map +1 -0
- package/dist/features/form/select/public.js +2 -0
- package/dist/features/form/select/public.js.map +1 -0
- package/dist/features/form/select/selectMeta.d.ts +195 -0
- package/dist/features/form/select/selectMeta.d.ts.map +1 -0
- package/dist/features/form/select/selectMeta.js +152 -0
- package/dist/features/form/select/selectMeta.js.map +1 -0
- package/dist/features/popover-menu/adapters/inbound/PopoverMenu.d.ts +5 -0
- package/dist/features/popover-menu/adapters/inbound/PopoverMenu.d.ts.map +1 -0
- package/dist/features/popover-menu/adapters/inbound/PopoverMenu.js +43 -0
- package/dist/features/popover-menu/adapters/inbound/PopoverMenu.js.map +1 -0
- package/dist/features/popover-menu/popoverMenuMeta.d.ts +9 -0
- package/dist/features/popover-menu/popoverMenuMeta.d.ts.map +1 -0
- package/dist/features/popover-menu/popoverMenuMeta.js +9 -0
- package/dist/features/popover-menu/popoverMenuMeta.js.map +1 -0
- package/dist/features/popover-menu/public.d.ts +3 -0
- package/dist/features/popover-menu/public.d.ts.map +1 -0
- package/dist/features/popover-menu/public.js +2 -0
- package/dist/features/popover-menu/public.js.map +1 -0
- package/dist/features/typography/utils/resolveHeadingThemeRecipe.d.ts +1 -1
- package/dist/features/typography/utils/resolveTextThemeRecipe.d.ts +1 -1
- package/dist/index.d.ts +4 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/metadata/bindableComponentMeta.d.ts +1 -2
- package/dist/metadata/bindableComponentMeta.d.ts.map +1 -1
- package/dist/metadata/bindableComponentMeta.js +1 -2
- package/dist/metadata/bindableComponentMeta.js.map +1 -1
- package/dist/metadata/componentMeta.d.ts.map +1 -1
- package/dist/metadata/componentMeta.js +4 -5
- package/dist/metadata/componentMeta.js.map +1 -1
- package/dist/patterns/theme-composer/ThemeComposer.js +1 -1
- package/dist/patterns/theme-composer/ThemeComposer.js.map +1 -1
- package/dist/registry.d.ts.map +1 -1
- package/dist/registry.js +4 -5
- package/dist/registry.js.map +1 -1
- package/dist/types/app-bar.d.ts +6 -3
- package/dist/types/app-bar.d.ts.map +1 -1
- package/dist/types/app-bar.js.map +1 -1
- package/dist/{components/breadcrumbs/types.d.ts → types/breadcrumbs.d.ts} +8 -6
- package/dist/types/breadcrumbs.d.ts.map +1 -0
- package/dist/types/breadcrumbs.js +2 -0
- package/dist/types/breadcrumbs.js.map +1 -0
- package/dist/types/data-table.d.ts +2 -2
- package/dist/types/data-table.d.ts.map +1 -1
- package/dist/types/data-table.js.map +1 -1
- package/dist/types/popover-menu.d.ts +24 -0
- package/dist/types/popover-menu.d.ts.map +1 -0
- package/dist/types/popover-menu.js +2 -0
- package/dist/types/popover-menu.js.map +1 -0
- package/dist/types/select.d.ts +22 -0
- package/dist/types/select.d.ts.map +1 -0
- package/dist/types/select.js +2 -0
- package/dist/types/select.js.map +1 -0
- package/package.json +2 -4
- package/src/features/app-bar/adapters/inbound/AppBar.tsx +50 -42
- package/src/features/app-bar/public.ts +1 -1
- package/src/features/bottom-sheet/public.test.ts +10 -1
- package/src/features/bottom-sheet/public.ts +9 -1
- package/src/features/breadcrumbs/adapters/inbound/Breadcrumbs.tsx +179 -0
- package/src/features/breadcrumbs/breadcrumbsMeta.ts +95 -0
- package/src/features/breadcrumbs/public.test.ts +22 -0
- package/src/features/breadcrumbs/public.ts +6 -0
- package/src/features/data-table/adapters/inbound/DataTable.tsx +9 -5
- package/src/features/form/formFieldMeta.ts +1 -1
- package/src/features/form/select/adapters/inbound/Select.native.tsx +78 -0
- package/src/features/form/select/adapters/inbound/Select.tsx +1 -0
- package/src/features/form/select/adapters/inbound/Select.web.tsx +63 -0
- package/src/features/form/select/composition/SelectField.tsx +27 -0
- package/src/features/form/select/composition/SelectOptionRow.tsx +36 -0
- package/src/features/form/select/composition/SelectTrigger.tsx +32 -0
- package/src/features/form/select/composition/useSelectController.ts +21 -0
- package/src/features/form/select/public.test.ts +25 -0
- package/src/features/form/select/public.ts +2 -0
- package/src/features/form/select/selectMeta.ts +154 -0
- package/src/features/popover-menu/adapters/inbound/PopoverMenu.tsx +60 -0
- package/src/{components/breadcrumbs/meta.ts → features/popover-menu/popoverMenuMeta.ts} +3 -3
- package/src/features/popover-menu/public.test.ts +11 -0
- package/src/features/popover-menu/public.ts +6 -0
- package/src/index.ts +14 -7
- package/src/interactionPolicy.test.ts +19 -21
- package/src/metadata/bindableComponentMeta.test.ts +8 -0
- package/src/metadata/bindableComponentMeta.ts +1 -2
- package/src/metadata/componentMeta.test.ts +3 -0
- package/src/metadata/componentMeta.ts +4 -5
- package/src/nativePeerContract.test.ts +5 -19
- package/src/patterns/theme-composer/ThemeComposer.tsx +1 -1
- package/src/platformAcceptance.test.ts +1 -1
- package/src/registry.ts +4 -5
- package/src/theme/themeScopeStructure.test.ts +8 -3
- package/src/types/app-bar.ts +6 -3
- package/src/{components/breadcrumbs/types.ts → types/breadcrumbs.ts} +8 -5
- package/src/types/data-table.ts +2 -2
- package/src/types/popover-menu.ts +31 -0
- package/src/{components/select/types.ts → types/select.ts} +11 -3
- package/dist/components/breadcrumbs/Breadcrumbs.d.ts +0 -7
- package/dist/components/breadcrumbs/Breadcrumbs.d.ts.map +0 -1
- package/dist/components/breadcrumbs/Breadcrumbs.js +0 -80
- package/dist/components/breadcrumbs/Breadcrumbs.js.map +0 -1
- package/dist/components/breadcrumbs/index.d.ts +0 -3
- package/dist/components/breadcrumbs/index.d.ts.map +0 -1
- package/dist/components/breadcrumbs/index.js +0 -2
- package/dist/components/breadcrumbs/index.js.map +0 -1
- package/dist/components/breadcrumbs/meta.d.ts +0 -9
- package/dist/components/breadcrumbs/meta.d.ts.map +0 -1
- package/dist/components/breadcrumbs/meta.js +0 -9
- package/dist/components/breadcrumbs/meta.js.map +0 -1
- package/dist/components/breadcrumbs/types.d.ts.map +0 -1
- package/dist/components/breadcrumbs/types.js +0 -2
- package/dist/components/breadcrumbs/types.js.map +0 -1
- package/dist/components/menu/DropdownMenu.d.ts +0 -7
- package/dist/components/menu/DropdownMenu.d.ts.map +0 -1
- package/dist/components/menu/DropdownMenu.js +0 -9
- package/dist/components/menu/DropdownMenu.js.map +0 -1
- package/dist/components/menu/Menu.d.ts +0 -7
- package/dist/components/menu/Menu.d.ts.map +0 -1
- package/dist/components/menu/Menu.js +0 -46
- package/dist/components/menu/Menu.js.map +0 -1
- package/dist/components/menu/index.d.ts +0 -4
- package/dist/components/menu/index.d.ts.map +0 -1
- package/dist/components/menu/index.js +0 -3
- package/dist/components/menu/index.js.map +0 -1
- package/dist/components/menu/meta.d.ts +0 -17
- package/dist/components/menu/meta.d.ts.map +0 -1
- package/dist/components/menu/meta.js +0 -17
- package/dist/components/menu/meta.js.map +0 -1
- package/dist/components/menu/types.d.ts +0 -22
- package/dist/components/menu/types.d.ts.map +0 -1
- package/dist/components/menu/types.js +0 -2
- package/dist/components/menu/types.js.map +0 -1
- package/dist/components/select/Select.d.ts +0 -7
- package/dist/components/select/Select.d.ts.map +0 -1
- package/dist/components/select/Select.js +0 -32
- package/dist/components/select/Select.js.map +0 -1
- package/dist/components/select/index.d.ts +0 -3
- package/dist/components/select/index.d.ts.map +0 -1
- package/dist/components/select/index.js +0 -3
- package/dist/components/select/index.js.map +0 -1
- package/dist/components/select/meta.d.ts +0 -9
- package/dist/components/select/meta.d.ts.map +0 -1
- package/dist/components/select/meta.js +0 -9
- package/dist/components/select/meta.js.map +0 -1
- package/dist/components/select/types.d.ts +0 -14
- package/dist/components/select/types.d.ts.map +0 -1
- package/dist/components/select/types.js +0 -2
- package/dist/components/select/types.js.map +0 -1
- package/src/components/breadcrumbs/Breadcrumbs.tsx +0 -147
- package/src/components/breadcrumbs/index.ts +0 -2
- package/src/components/menu/DropdownMenu.tsx +0 -11
- package/src/components/menu/Menu.tsx +0 -59
- package/src/components/menu/index.ts +0 -3
- package/src/components/menu/meta.ts +0 -19
- package/src/components/menu/types.ts +0 -31
- package/src/components/select/Select.tsx +0 -67
- package/src/components/select/index.ts +0 -2
- package/src/components/select/meta.ts +0 -10
package/dist/registry.js
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import { Breadcrumbs } from './components/breadcrumbs';
|
|
2
|
-
import { DropdownMenu, Menu } from './components/menu';
|
|
3
1
|
import { Modal } from './components/modal';
|
|
4
2
|
import { Pagination } from './components/pagination';
|
|
5
3
|
import { Rating } from './components/rating';
|
|
6
4
|
import { SearchBar } from './components/search-bar';
|
|
7
|
-
import { Select } from './components/select';
|
|
8
5
|
import { Tabs } from './components/tabs';
|
|
9
6
|
import { Toolbar, ToolbarAction } from './components/toolbar';
|
|
10
7
|
import { Accordion, AccordionItem } from './features/accordion/public';
|
|
@@ -15,6 +12,7 @@ import { Avatar } from './features/avatar/public';
|
|
|
15
12
|
import { AvatarGroup } from './features/avatar/public';
|
|
16
13
|
import { Badge } from './features/badge/public';
|
|
17
14
|
import { BottomSheet } from './features/bottom-sheet/public';
|
|
15
|
+
import { Breadcrumbs } from './features/breadcrumbs/public';
|
|
18
16
|
import { Button } from './features/button/public';
|
|
19
17
|
import { ButtonGroup } from './features/button/public';
|
|
20
18
|
import { IconButton } from './features/button/public';
|
|
@@ -31,6 +29,7 @@ import { EmptyState } from './features/empty-state/public';
|
|
|
31
29
|
import { Checkbox, CheckboxGroup } from './features/form/checkbox/public';
|
|
32
30
|
import { Form, FormActions, FormError, FormField } from './features/form/public';
|
|
33
31
|
import { Radio, RadioGroup } from './features/form/radio/public';
|
|
32
|
+
import { Select } from './features/form/select/public';
|
|
34
33
|
import { TextInput } from './features/form/text-input/public';
|
|
35
34
|
import { Gradient } from './features/gradient/public';
|
|
36
35
|
import { Hero } from './features/hero/public';
|
|
@@ -41,6 +40,7 @@ import { Box, Container, Divider, Grid, Stack } from './features/layout/public';
|
|
|
41
40
|
import { ContentRail } from './features/layout/public';
|
|
42
41
|
import { FlatList, SectionList } from './features/list/public';
|
|
43
42
|
import { MissingElement } from './features/missing-element/public';
|
|
43
|
+
import { PopoverMenu } from './features/popover-menu/public';
|
|
44
44
|
import { Progress, ProgressRing } from './features/progress/public';
|
|
45
45
|
import { Skeleton, SkeletonCard, SkeletonList, SkeletonText } from './features/skeleton/public';
|
|
46
46
|
import { Surface } from './features/surface/public';
|
|
@@ -94,7 +94,6 @@ const _ZORA_COMPONENT_REGISTRY = {
|
|
|
94
94
|
ChipGroup,
|
|
95
95
|
DataTable,
|
|
96
96
|
DatePicker,
|
|
97
|
-
DropdownMenu,
|
|
98
97
|
Form,
|
|
99
98
|
FormActions,
|
|
100
99
|
FormError,
|
|
@@ -107,10 +106,10 @@ const _ZORA_COMPONENT_REGISTRY = {
|
|
|
107
106
|
KeyboardAvoidingView,
|
|
108
107
|
TextInput,
|
|
109
108
|
MediaCard,
|
|
110
|
-
Menu,
|
|
111
109
|
MetricCard,
|
|
112
110
|
Modal,
|
|
113
111
|
Pagination,
|
|
112
|
+
PopoverMenu,
|
|
114
113
|
Progress,
|
|
115
114
|
ProgressRing,
|
|
116
115
|
Radio,
|
package/dist/registry.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.js","sourceRoot":"","sources":["../src/registry.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACvE,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R,WAAW;IACX,aAAa;IACb,kBAAkB;IAClB,oBAAoB;IACpB,WAAW;IACX,aAAa;IACb,cAAc;IACd,WAAW;IACX,WAAW;IACX,aAAa;IACb,WAAW;IACX,QAAQ;IACR,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 { Breadcrumbs } from './components/breadcrumbs';\nimport { DropdownMenu, Menu } from './components/menu';\nimport { Modal } from './components/modal';\nimport { Pagination } from './components/pagination';\nimport { Rating } from './components/rating';\nimport { SearchBar } from './components/search-bar';\nimport { Select } from './components/select';\nimport { Tabs } from './components/tabs';\nimport { Toolbar, ToolbarAction } from './components/toolbar';\nimport { Accordion, AccordionItem } from './features/accordion/public';\nimport { ActivityIndicator } from './features/activity-indicator/public';\nimport { AppBar } from './features/app-bar/public';\nimport {\n ForgotPasswordForm,\n OAuthProviderButton,\n OAuthProviderList,\n OtpForm,\n SignInForm,\n SignUpForm,\n} from './features/auth/public';\nimport { Avatar } from './features/avatar/public';\nimport { AvatarGroup } from './features/avatar/public';\nimport { Badge } from './features/badge/public';\nimport { BottomSheet } from './features/bottom-sheet/public';\nimport { Button } from './features/button/public';\nimport { ButtonGroup } from './features/button/public';\nimport { IconButton } from './features/button/public';\nimport { Card } from './features/card/public';\nimport { MediaCard } from './features/card/public';\nimport { MetricCard } from './features/card/public';\nimport { PostCard } from './features/card/public';\nimport { ProductCard } from './features/card/public';\nimport { Chip } from './features/chip/public';\nimport { ChipGroup } from './features/chip/public';\nimport { DataTable } from './features/data-table/public';\nimport { DatePicker } from './features/date-picker/public';\nimport { EmptyState } from './features/empty-state/public';\nimport { Checkbox, CheckboxGroup } from './features/form/checkbox/public';\nimport { Form, FormActions, FormError, FormField } from './features/form/public';\nimport { Radio, RadioGroup } from './features/form/radio/public';\nimport { TextInput } from './features/form/text-input/public';\nimport { Gradient } from './features/gradient/public';\nimport { Hero } from './features/hero/public';\nimport { Icon } from './features/icon/public';\nimport { Image } from './features/image/public';\nimport { KeyboardAvoidingView } from './features/keyboard-avoiding-view/public';\nimport { Box, Container, Divider, Grid, Stack } from './features/layout/public';\nimport { ContentRail } from './features/layout/public';\nimport { FlatList, SectionList } from './features/list/public';\nimport { MissingElement } from './features/missing-element/public';\nimport { Progress, ProgressRing } from './features/progress/public';\nimport { Skeleton, SkeletonCard, SkeletonList, SkeletonText } from './features/skeleton/public';\nimport { Surface } from './features/surface/public';\nimport { TimePicker } from './features/time-picker/public';\nimport { Toast } from './features/toast/public';\nimport { Heading } from './features/typography/public';\nimport { Text } from './features/typography/public';\nimport { Uploader } from './features/uploader/public';\nimport { Center, Inline, Show, Spacer } from './foundation';\nimport { AppShell } from './layout/app-shell';\nimport { Screen } from './layout/screen';\nimport { ScreenSection } from './layout/screen-section';\nimport { SettingsLayout } from './layout/settings-layout';\nimport { SidebarLayout } from './layout/sidebar-layout';\nimport { TopbarLayout } from './layout/topbar-layout';\nimport { ChatListItem } from './patterns/chat-list-item';\nimport { CollectionEditor } from './patterns/collection-editor';\nimport { ConfirmDialog } from './patterns/confirm-dialog';\nimport { FilterBar } from './patterns/filter-bar';\nimport { InspectorField } from './patterns/inspector-field';\nimport { List, ListRow, ListSection } from './patterns/list';\nimport { MessageBubble } from './patterns/message-bubble';\nimport { Notice } from './patterns/notice';\nimport { Panel } from './patterns/panel';\nimport { ReaderSurface } from './patterns/reader';\nimport { BarcodeScannerView, CameraPermissionView, ScanOverlay } from './patterns/scanner';\nimport { SectionHeader } from './patterns/section-header';\nimport { SelectableItem } from './patterns/selection';\nimport { SettingsRow } from './patterns/settings-row';\nimport { SwitchField } from './patterns/switch-field';\nimport { ThemeComposer } from './patterns/theme-composer';\nimport { PaletteItem, TileGrid } from './patterns/tile-grid';\nimport { Timeline } from './patterns/timeline';\nimport { TreeItem, TreeView } from './patterns/tree-view';\nimport { ThemeModeToggle } from './theme/ThemeModeToggle';\n\nexport type ZoraComponentRegistry = Readonly<Record<string, React.ElementType>>;\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 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 DropdownMenu,\n Form,\n FormActions,\n FormError,\n FormField,\n Gradient,\n Heading,\n Icon,\n IconButton,\n Image,\n KeyboardAvoidingView,\n TextInput,\n MediaCard,\n Menu,\n MetricCard,\n Modal,\n Pagination,\n Progress,\n ProgressRing,\n Radio,\n RadioGroup,\n Rating,\n SearchBar,\n Select,\n Skeleton,\n SkeletonCard,\n SkeletonList,\n SkeletonText,\n Tabs,\n Text,\n TimePicker,\n Toast,\n Toolbar,\n ToolbarAction,\n Uploader,\n BottomSheet,\n FlatList,\n SectionList,\n ThemeModeToggle,\n Box,\n Center,\n Container,\n Divider,\n Grid,\n Inline,\n Show,\n Spacer,\n Stack,\n Surface,\n AppShell,\n Screen,\n ScreenSection,\n SettingsLayout,\n SidebarLayout,\n TopbarLayout,\n ForgotPasswordForm,\n OAuthProviderButton,\n OAuthProviderList,\n OtpForm,\n SignInForm,\n SignUpForm,\n ChatListItem,\n CollectionEditor,\n ConfirmDialog,\n ContentRail,\n EmptyState,\n FilterBar,\n Hero,\n InspectorField,\n List,\n ListRow,\n ListSection,\n MessageBubble,\n MissingElement,\n Notice,\n Panel,\n PostCard,\n ProductCard,\n ReaderSurface,\n BarcodeScannerView,\n CameraPermissionView,\n ScanOverlay,\n SectionHeader,\n SelectableItem,\n SettingsRow,\n SwitchField,\n ThemeComposer,\n PaletteItem,\n TileGrid,\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":"registry.js","sourceRoot":"","sources":["../src/registry.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,OAAO,EACP,UAAU,EACV,UAAU,GACX,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,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R,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 { Modal } from './components/modal';\nimport { Pagination } from './components/pagination';\nimport { Rating } from './components/rating';\nimport { SearchBar } from './components/search-bar';\nimport { Tabs } from './components/tabs';\nimport { Toolbar, ToolbarAction } from './components/toolbar';\nimport { Accordion, AccordionItem } from './features/accordion/public';\nimport { ActivityIndicator } from './features/activity-indicator/public';\nimport { AppBar } from './features/app-bar/public';\nimport {\n ForgotPasswordForm,\n OAuthProviderButton,\n OAuthProviderList,\n OtpForm,\n SignInForm,\n SignUpForm,\n} from './features/auth/public';\nimport { Avatar } from './features/avatar/public';\nimport { AvatarGroup } from './features/avatar/public';\nimport { Badge } from './features/badge/public';\nimport { BottomSheet } from './features/bottom-sheet/public';\nimport { Breadcrumbs } from './features/breadcrumbs/public';\nimport { Button } from './features/button/public';\nimport { ButtonGroup } from './features/button/public';\nimport { IconButton } from './features/button/public';\nimport { Card } from './features/card/public';\nimport { MediaCard } from './features/card/public';\nimport { MetricCard } from './features/card/public';\nimport { PostCard } from './features/card/public';\nimport { ProductCard } from './features/card/public';\nimport { Chip } from './features/chip/public';\nimport { ChipGroup } from './features/chip/public';\nimport { DataTable } from './features/data-table/public';\nimport { DatePicker } from './features/date-picker/public';\nimport { EmptyState } from './features/empty-state/public';\nimport { Checkbox, CheckboxGroup } from './features/form/checkbox/public';\nimport { Form, FormActions, FormError, FormField } from './features/form/public';\nimport { Radio, RadioGroup } from './features/form/radio/public';\nimport { Select } from './features/form/select/public';\nimport { TextInput } from './features/form/text-input/public';\nimport { Gradient } from './features/gradient/public';\nimport { Hero } from './features/hero/public';\nimport { Icon } from './features/icon/public';\nimport { Image } from './features/image/public';\nimport { KeyboardAvoidingView } from './features/keyboard-avoiding-view/public';\nimport { Box, Container, Divider, Grid, Stack } from './features/layout/public';\nimport { ContentRail } from './features/layout/public';\nimport { FlatList, SectionList } from './features/list/public';\nimport { MissingElement } from './features/missing-element/public';\nimport { PopoverMenu } from './features/popover-menu/public';\nimport { Progress, ProgressRing } from './features/progress/public';\nimport { Skeleton, SkeletonCard, SkeletonList, SkeletonText } from './features/skeleton/public';\nimport { Surface } from './features/surface/public';\nimport { TimePicker } from './features/time-picker/public';\nimport { Toast } from './features/toast/public';\nimport { Heading } from './features/typography/public';\nimport { Text } from './features/typography/public';\nimport { Uploader } from './features/uploader/public';\nimport { Center, Inline, Show, Spacer } from './foundation';\nimport { AppShell } from './layout/app-shell';\nimport { Screen } from './layout/screen';\nimport { ScreenSection } from './layout/screen-section';\nimport { SettingsLayout } from './layout/settings-layout';\nimport { SidebarLayout } from './layout/sidebar-layout';\nimport { TopbarLayout } from './layout/topbar-layout';\nimport { ChatListItem } from './patterns/chat-list-item';\nimport { CollectionEditor } from './patterns/collection-editor';\nimport { ConfirmDialog } from './patterns/confirm-dialog';\nimport { FilterBar } from './patterns/filter-bar';\nimport { InspectorField } from './patterns/inspector-field';\nimport { List, ListRow, ListSection } from './patterns/list';\nimport { MessageBubble } from './patterns/message-bubble';\nimport { Notice } from './patterns/notice';\nimport { Panel } from './patterns/panel';\nimport { ReaderSurface } from './patterns/reader';\nimport { BarcodeScannerView, CameraPermissionView, ScanOverlay } from './patterns/scanner';\nimport { SectionHeader } from './patterns/section-header';\nimport { SelectableItem } from './patterns/selection';\nimport { SettingsRow } from './patterns/settings-row';\nimport { SwitchField } from './patterns/switch-field';\nimport { ThemeComposer } from './patterns/theme-composer';\nimport { PaletteItem, TileGrid } from './patterns/tile-grid';\nimport { Timeline } from './patterns/timeline';\nimport { TreeItem, TreeView } from './patterns/tree-view';\nimport { ThemeModeToggle } from './theme/ThemeModeToggle';\n\nexport type ZoraComponentRegistry = Readonly<Record<string, React.ElementType>>;\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 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 Form,\n FormActions,\n FormError,\n FormField,\n Gradient,\n Heading,\n Icon,\n IconButton,\n Image,\n KeyboardAvoidingView,\n TextInput,\n MediaCard,\n MetricCard,\n Modal,\n Pagination,\n PopoverMenu,\n Progress,\n ProgressRing,\n Radio,\n RadioGroup,\n Rating,\n SearchBar,\n Select,\n Skeleton,\n SkeletonCard,\n SkeletonList,\n SkeletonText,\n Tabs,\n Text,\n TimePicker,\n Toast,\n Toolbar,\n ToolbarAction,\n Uploader,\n BottomSheet,\n FlatList,\n SectionList,\n ThemeModeToggle,\n Box,\n Center,\n Container,\n Divider,\n Grid,\n Inline,\n Show,\n Spacer,\n Stack,\n Surface,\n AppShell,\n Screen,\n ScreenSection,\n SettingsLayout,\n SidebarLayout,\n TopbarLayout,\n ForgotPasswordForm,\n OAuthProviderButton,\n OAuthProviderList,\n OtpForm,\n SignInForm,\n SignUpForm,\n ChatListItem,\n CollectionEditor,\n ConfirmDialog,\n ContentRail,\n EmptyState,\n FilterBar,\n Hero,\n InspectorField,\n List,\n ListRow,\n ListSection,\n MessageBubble,\n MissingElement,\n Notice,\n Panel,\n PostCard,\n ProductCard,\n ReaderSurface,\n BarcodeScannerView,\n CameraPermissionView,\n ScanOverlay,\n SectionHeader,\n SelectableItem,\n SettingsRow,\n SwitchField,\n ThemeComposer,\n PaletteItem,\n TileGrid,\n Timeline,\n TreeItem,\n TreeView,\n} as const satisfies ZoraComponentRegistry;\n\nexport const ZORA_COMPONENT_REGISTRY: ZoraComponentRegistry = _ZORA_COMPONENT_REGISTRY;\n"]}
|
package/dist/types/app-bar.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ButtonIconSpec } from '@ankhorage/surface';
|
|
2
2
|
import type React from 'react';
|
|
3
3
|
import type { ZoraBaseProps } from '../theme/ZoraBaseProps';
|
|
4
|
+
import type { PopoverMenuAction } from './popover-menu';
|
|
4
5
|
export type AppBarMode = {
|
|
5
6
|
type: 'default';
|
|
6
7
|
} | {
|
|
@@ -11,18 +12,20 @@ export type AppBarMode = {
|
|
|
11
12
|
cancelLabel?: string;
|
|
12
13
|
cancelIcon?: ButtonIconSpec;
|
|
13
14
|
};
|
|
14
|
-
export interface
|
|
15
|
-
|
|
15
|
+
export interface AppBarOverflowMenu {
|
|
16
|
+
actions: readonly PopoverMenuAction[];
|
|
16
17
|
label?: string;
|
|
17
18
|
icon?: ButtonIconSpec;
|
|
18
19
|
disabled?: boolean;
|
|
20
|
+
closeOnSelect?: boolean;
|
|
21
|
+
onDismiss?: () => void;
|
|
19
22
|
}
|
|
20
23
|
export interface AppBarProps extends ZoraBaseProps {
|
|
21
24
|
title?: React.ReactNode;
|
|
22
25
|
subtitle?: React.ReactNode;
|
|
23
26
|
leading?: React.ReactNode;
|
|
24
27
|
actions?: React.ReactNode;
|
|
25
|
-
overflow?:
|
|
28
|
+
overflow?: AppBarOverflowMenu;
|
|
26
29
|
appMode?: AppBarMode;
|
|
27
30
|
children?: React.ReactNode;
|
|
28
31
|
safeAreaTop?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-bar.d.ts","sourceRoot":"","sources":["../../src/types/app-bar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"app-bar.d.ts","sourceRoot":"","sources":["../../src/types/app-bar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD,MAAM,MAAM,UAAU,GAClB;IACE,IAAI,EAAE,SAAS,CAAC;CACjB,GACD;IACE,IAAI,EAAE,WAAW,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,cAAc,CAAC;CAC7B,CAAC;AAEN,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,SAAS,iBAAiB,EAAE,CAAC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,WAAY,SAAQ,aAAa;IAChD,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAC9B,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-bar.js","sourceRoot":"","sources":["../../src/types/app-bar.ts"],"names":[],"mappings":"","sourcesContent":["import type { ButtonIconSpec } from '@ankhorage/surface';\nimport type React from 'react';\n\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport type AppBarMode =\n | {\n type: 'default';\n }\n | {\n type: 'selection';\n label: string;\n count?: number;\n onCancel: () => void;\n cancelLabel?: string;\n cancelIcon?: ButtonIconSpec;\n };\n\nexport interface
|
|
1
|
+
{"version":3,"file":"app-bar.js","sourceRoot":"","sources":["../../src/types/app-bar.ts"],"names":[],"mappings":"","sourcesContent":["import type { ButtonIconSpec } from '@ankhorage/surface';\nimport type React from 'react';\n\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\nimport type { PopoverMenuAction } from './popover-menu';\n\nexport type AppBarMode =\n | {\n type: 'default';\n }\n | {\n type: 'selection';\n label: string;\n count?: number;\n onCancel: () => void;\n cancelLabel?: string;\n cancelIcon?: ButtonIconSpec;\n };\n\nexport interface AppBarOverflowMenu {\n actions: readonly PopoverMenuAction[];\n label?: string;\n icon?: ButtonIconSpec;\n disabled?: boolean;\n closeOnSelect?: boolean;\n onDismiss?: () => void;\n}\n\nexport interface AppBarProps extends ZoraBaseProps {\n title?: React.ReactNode;\n subtitle?: React.ReactNode;\n leading?: React.ReactNode;\n actions?: React.ReactNode;\n overflow?: AppBarOverflowMenu;\n appMode?: AppBarMode;\n children?: React.ReactNode;\n safeAreaTop?: boolean;\n divider?: boolean;\n}\n"]}
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import type { ButtonIconSpec } from '@ankhorage/surface';
|
|
2
|
-
import type
|
|
3
|
-
import type { ZoraBaseProps } from '../../theme/ZoraBaseProps';
|
|
2
|
+
import type { ZoraBaseProps } from '../theme/ZoraBaseProps';
|
|
4
3
|
export interface BreadcrumbItem {
|
|
5
4
|
id: string;
|
|
6
|
-
label:
|
|
5
|
+
label: string;
|
|
7
6
|
icon?: ButtonIconSpec;
|
|
8
|
-
onPress?: () => void;
|
|
9
7
|
disabled?: boolean;
|
|
10
8
|
}
|
|
9
|
+
export interface BreadcrumbPressEvent {
|
|
10
|
+
id: string;
|
|
11
|
+
}
|
|
11
12
|
export interface BreadcrumbsProps extends ZoraBaseProps {
|
|
12
13
|
items: readonly BreadcrumbItem[];
|
|
13
|
-
separator?:
|
|
14
|
+
separator?: string;
|
|
14
15
|
maxItems?: number;
|
|
15
16
|
compact?: boolean;
|
|
16
17
|
disabled?: boolean;
|
|
18
|
+
onItemPress?: (event: BreadcrumbPressEvent) => void;
|
|
17
19
|
testID?: string;
|
|
18
20
|
}
|
|
19
|
-
//# sourceMappingURL=
|
|
21
|
+
//# sourceMappingURL=breadcrumbs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumbs.d.ts","sourceRoot":"","sources":["../../src/types/breadcrumbs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,gBAAiB,SAAQ,aAAa;IACrD,KAAK,EAAE,SAAS,cAAc,EAAE,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACpD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumbs.js","sourceRoot":"","sources":["../../src/types/breadcrumbs.ts"],"names":[],"mappings":"","sourcesContent":["import type { ButtonIconSpec } from '@ankhorage/surface';\n\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport interface BreadcrumbItem {\n id: string;\n label: string;\n icon?: ButtonIconSpec;\n disabled?: boolean;\n}\n\nexport interface BreadcrumbPressEvent {\n id: string;\n}\n\nexport interface BreadcrumbsProps extends ZoraBaseProps {\n items: readonly BreadcrumbItem[];\n separator?: string;\n maxItems?: number;\n compact?: boolean;\n disabled?: boolean;\n onItemPress?: (event: BreadcrumbPressEvent) => void;\n testID?: string;\n}\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ButtonIconSpec } from '@ankhorage/surface';
|
|
2
2
|
import type React from 'react';
|
|
3
|
-
import type { MenuActionIntent } from '../components/menu';
|
|
4
3
|
import type { ZoraBaseProps } from '../theme/ZoraBaseProps';
|
|
4
|
+
import type { PopoverMenuActionIntent } from './popover-menu';
|
|
5
5
|
export type DataTableColumnAlign = 'start' | 'center' | 'end';
|
|
6
6
|
export type DataTableDensity = 'comfortable' | 'compact';
|
|
7
7
|
export type DataTableSortDirection = 'asc' | 'desc';
|
|
@@ -30,7 +30,7 @@ export interface DataTableRowAction<TRow extends object> {
|
|
|
30
30
|
title: React.ReactNode;
|
|
31
31
|
description?: React.ReactNode;
|
|
32
32
|
icon?: ButtonIconSpec;
|
|
33
|
-
intent?:
|
|
33
|
+
intent?: PopoverMenuActionIntent;
|
|
34
34
|
disabled?: boolean;
|
|
35
35
|
onPress?: (row: TRow) => void;
|
|
36
36
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-table.d.ts","sourceRoot":"","sources":["../../src/types/data-table.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"data-table.d.ts","sourceRoot":"","sources":["../../src/types/data-table.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAE9D,MAAM,MAAM,oBAAoB,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;AAC9D,MAAM,MAAM,gBAAgB,GAAG,aAAa,GAAG,SAAS,CAAC;AACzD,MAAM,MAAM,sBAAsB,GAAG,KAAK,GAAG,MAAM,CAAC;AAEpD,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,sBAAsB,CAAC;CACnC;AAED,MAAM,WAAW,oBAAoB,CAAC,IAAI,SAAS,MAAM;IACvD,GAAG,EAAE,IAAI,CAAC;IACV,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,eAAe,CAAC,IAAI,CAAC,CAAC;IAC9B,KAAK,EAAE,OAAO,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,kBAAkB,CAAC;IAC1B,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAClD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,gBAAgB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACnC,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-table.js","sourceRoot":"","sources":["../../src/types/data-table.ts"],"names":[],"mappings":"","sourcesContent":["import type { ButtonIconSpec } from '@ankhorage/surface';\nimport type React from 'react';\n\nimport type {
|
|
1
|
+
{"version":3,"file":"data-table.js","sourceRoot":"","sources":["../../src/types/data-table.ts"],"names":[],"mappings":"","sourcesContent":["import type { ButtonIconSpec } from '@ankhorage/surface';\nimport type React from 'react';\n\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\nimport type { PopoverMenuActionIntent } from './popover-menu';\n\nexport type DataTableColumnAlign = 'start' | 'center' | 'end';\nexport type DataTableDensity = 'comfortable' | 'compact';\nexport type DataTableSortDirection = 'asc' | 'desc';\n\nexport interface DataTableSortState {\n columnId: string;\n direction: DataTableSortDirection;\n}\n\nexport interface DataTableCellContext<TRow extends object> {\n row: TRow;\n rowIndex: number;\n column: DataTableColumn<TRow>;\n value: unknown;\n}\n\nexport interface DataTableColumn<TRow extends object> {\n id: string;\n header: React.ReactNode;\n accessor?: keyof TRow;\n align?: DataTableColumnAlign;\n width?: number;\n minWidth?: number;\n sortable?: boolean;\n renderCell?: (context: DataTableCellContext<TRow>) => React.ReactNode;\n}\n\nexport interface DataTableRowAction<TRow extends object> {\n id: string;\n title: React.ReactNode;\n description?: React.ReactNode;\n icon?: ButtonIconSpec;\n intent?: PopoverMenuActionIntent;\n disabled?: boolean;\n onPress?: (row: TRow) => void;\n}\n\nexport interface DataTableProps<TRow extends object> extends ZoraBaseProps {\n columns: readonly DataTableColumn<TRow>[];\n rows: readonly TRow[];\n rowId?: (row: TRow, index: number) => string;\n rowKey?: keyof TRow;\n rowActions?: (row: TRow, index: number) => readonly DataTableRowAction<TRow>[];\n sort?: DataTableSortState;\n onSortChange?: (sort: DataTableSortState) => void;\n loading?: boolean;\n loadingRows?: number;\n emptyTitle?: React.ReactNode;\n emptyDescription?: React.ReactNode;\n density?: DataTableDensity;\n testID?: string;\n}\n"]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { ButtonIconSpec, PopoverAnchorRenderProps, PopoverMenuActionIntent as SurfacePopoverMenuActionIntent } from '@ankhorage/surface';
|
|
2
|
+
import type React from 'react';
|
|
3
|
+
import type { ZoraBaseProps } from '../theme/ZoraBaseProps';
|
|
4
|
+
export type PopoverMenuActionIntent = SurfacePopoverMenuActionIntent;
|
|
5
|
+
export interface PopoverMenuAction {
|
|
6
|
+
id: string;
|
|
7
|
+
title: React.ReactNode;
|
|
8
|
+
description?: React.ReactNode;
|
|
9
|
+
icon?: ButtonIconSpec;
|
|
10
|
+
leading?: React.ReactNode;
|
|
11
|
+
trailing?: React.ReactNode;
|
|
12
|
+
intent?: PopoverMenuActionIntent;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
selected?: boolean;
|
|
15
|
+
onPress?: () => void;
|
|
16
|
+
}
|
|
17
|
+
export interface PopoverMenuProps extends ZoraBaseProps {
|
|
18
|
+
trigger: (controls: PopoverAnchorRenderProps) => React.ReactNode;
|
|
19
|
+
actions: readonly PopoverMenuAction[];
|
|
20
|
+
onDismiss?: () => void;
|
|
21
|
+
closeOnSelect?: boolean;
|
|
22
|
+
testID?: string;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=popover-menu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover-menu.d.ts","sourceRoot":"","sources":["../../src/types/popover-menu.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,wBAAwB,EACxB,uBAAuB,IAAI,8BAA8B,EAC1D,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,MAAM,uBAAuB,GAAG,8BAA8B,CAAC;AAErE,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,uBAAuB,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,MAAM,WAAW,gBAAiB,SAAQ,aAAa;IACrD,OAAO,EAAE,CAAC,QAAQ,EAAE,wBAAwB,KAAK,KAAK,CAAC,SAAS,CAAC;IACjE,OAAO,EAAE,SAAS,iBAAiB,EAAE,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover-menu.js","sourceRoot":"","sources":["../../src/types/popover-menu.ts"],"names":[],"mappings":"","sourcesContent":["import type {\n ButtonIconSpec,\n PopoverAnchorRenderProps,\n PopoverMenuActionIntent as SurfacePopoverMenuActionIntent,\n} from '@ankhorage/surface';\nimport type React from 'react';\n\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport type PopoverMenuActionIntent = SurfacePopoverMenuActionIntent;\n\nexport interface PopoverMenuAction {\n id: string;\n title: React.ReactNode;\n description?: React.ReactNode;\n icon?: ButtonIconSpec;\n leading?: React.ReactNode;\n trailing?: React.ReactNode;\n intent?: PopoverMenuActionIntent;\n disabled?: boolean;\n selected?: boolean;\n onPress?: () => void;\n}\n\nexport interface PopoverMenuProps extends ZoraBaseProps {\n trigger: (controls: PopoverAnchorRenderProps) => React.ReactNode;\n actions: readonly PopoverMenuAction[];\n onDismiss?: () => void;\n closeOnSelect?: boolean;\n testID?: string;\n}\n"]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ZoraBaseProps } from '../theme/ZoraBaseProps';
|
|
2
|
+
export interface SelectOption<TValue extends string = string> {
|
|
3
|
+
value: TValue;
|
|
4
|
+
label: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface SelectProps<TValue extends string = string> extends ZoraBaseProps {
|
|
8
|
+
value?: TValue;
|
|
9
|
+
defaultValue?: TValue;
|
|
10
|
+
options: readonly SelectOption<TValue>[];
|
|
11
|
+
onValueChange?: (value: TValue) => void;
|
|
12
|
+
label?: string;
|
|
13
|
+
helperText?: string;
|
|
14
|
+
errorText?: string;
|
|
15
|
+
placeholder?: string;
|
|
16
|
+
required?: boolean;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
readOnly?: boolean;
|
|
19
|
+
invalid?: boolean;
|
|
20
|
+
testID?: string;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=select.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../src/types/select.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,YAAY,CAAC,MAAM,SAAS,MAAM,GAAG,MAAM;IAC1D,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,WAAW,CAAC,MAAM,SAAS,MAAM,GAAG,MAAM,CAAE,SAAQ,aAAa;IAChF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,SAAS,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC;IACzC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select.js","sourceRoot":"","sources":["../../src/types/select.ts"],"names":[],"mappings":"","sourcesContent":["import type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport interface SelectOption<TValue extends string = string> {\n value: TValue;\n label: string;\n disabled?: boolean;\n}\n\nexport interface SelectProps<TValue extends string = string> extends ZoraBaseProps {\n value?: TValue;\n defaultValue?: TValue;\n options: readonly SelectOption<TValue>[];\n onValueChange?: (value: TValue) => void;\n label?: string;\n helperText?: string;\n errorText?: string;\n placeholder?: string;\n required?: boolean;\n disabled?: boolean;\n readOnly?: boolean;\n invalid?: boolean;\n testID?: string;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ankhorage/zora",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "15.0.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": {
|
|
@@ -25,7 +25,6 @@
|
|
|
25
25
|
"components"
|
|
26
26
|
],
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@react-native-picker/picker": "2.11.4",
|
|
29
28
|
"@react-native-vector-icons/fontawesome": "^13.1.3",
|
|
30
29
|
"@react-native-vector-icons/fontawesome5": "^13.1.3",
|
|
31
30
|
"@react-native-vector-icons/fontawesome6": "^13.1.3",
|
|
@@ -42,7 +41,7 @@
|
|
|
42
41
|
"dependencies": {
|
|
43
42
|
"@ankhorage/color-theory": "^0.3.0",
|
|
44
43
|
"@ankhorage/contracts": "^12.0.1",
|
|
45
|
-
"@ankhorage/surface": "^
|
|
44
|
+
"@ankhorage/surface": "^5.0.0",
|
|
46
45
|
"@ankhorage/utility": "^0.8.0",
|
|
47
46
|
"expo-document-picker": "~57.0.1",
|
|
48
47
|
"expo-image-picker": "~57.0.16"
|
|
@@ -117,7 +116,6 @@
|
|
|
117
116
|
"devDependencies": {
|
|
118
117
|
"@ankhorage/devtools": "^1.13.0",
|
|
119
118
|
"@ankhorage/paradox": "^0.1.24",
|
|
120
|
-
"@react-native-picker/picker": "2.11.4",
|
|
121
119
|
"@react-native-vector-icons/fontawesome": "^13.1.3",
|
|
122
120
|
"@react-native-vector-icons/fontawesome5": "^13.1.3",
|
|
123
121
|
"@react-native-vector-icons/fontawesome6": "^13.1.3",
|
|
@@ -4,35 +4,15 @@ import React from 'react';
|
|
|
4
4
|
import { Inline } from '../../../../foundation';
|
|
5
5
|
import { useZoraTheme } from '../../../../theme/useZoraTheme';
|
|
6
6
|
import { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';
|
|
7
|
-
import type { AppBarMode,
|
|
7
|
+
import type { AppBarMode, AppBarOverflowMenu, AppBarProps } from '../../../../types/app-bar';
|
|
8
8
|
import { IconButton } from '../../../button/public';
|
|
9
9
|
import { Box, Stack } from '../../../layout/public';
|
|
10
|
+
import { PopoverMenu } from '../../../popover-menu/public';
|
|
10
11
|
import { Heading, Text } from '../../../typography/public';
|
|
11
12
|
|
|
12
13
|
const DEFAULT_CANCEL_ICON = { name: 'close-outline' } satisfies ButtonIconSpec;
|
|
13
14
|
const DEFAULT_OVERFLOW_ICON = { name: 'ellipsis-vertical' } satisfies ButtonIconSpec;
|
|
14
15
|
|
|
15
|
-
/*** Resolves the effective AppBar mode. */
|
|
16
|
-
function resolveMode(mode: AppBarMode | undefined): AppBarMode {
|
|
17
|
-
return mode ?? { type: 'default' };
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
/*** Formats the active selection label with its optional count. */
|
|
21
|
-
function resolveSelectionLabel({ count, label }: { count?: number; label: string }): string {
|
|
22
|
-
if (count === undefined) return label;
|
|
23
|
-
return `${label} (${count})`;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/*** Resolves the accessible label for the overflow action. */
|
|
27
|
-
function resolveOverflowLabel(overflow: AppBarOverflowAction): string {
|
|
28
|
-
return overflow.label ?? 'More options';
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/*** Resolves the accessible label for leaving selection mode. */
|
|
32
|
-
function resolveCancelLabel(mode: Extract<AppBarMode, { type: 'selection' }>): string {
|
|
33
|
-
return mode.cancelLabel ?? 'Cancel selection';
|
|
34
|
-
}
|
|
35
|
-
|
|
36
16
|
/*** Renders a top app bar with title/subtitle and optional leading/trailing actions. */
|
|
37
17
|
export const AppBar = withZoraThemeScope(AppBarInner);
|
|
38
18
|
|
|
@@ -56,8 +36,8 @@ function AppBarInner({
|
|
|
56
36
|
const resolvedMode = resolveMode(appMode);
|
|
57
37
|
const isSelectionMode = resolvedMode.type === 'selection';
|
|
58
38
|
const resolvedLeading = leading ?? resolveSelectionLeading(resolvedMode, interactionPolicy);
|
|
59
|
-
const
|
|
60
|
-
const resolvedTrailing = resolveTrailing(actions,
|
|
39
|
+
const overflowMenu = resolveOverflowMenu(overflow, interactionPolicy, testID);
|
|
40
|
+
const resolvedTrailing = resolveTrailing(actions, overflowMenu);
|
|
61
41
|
const resolvedCenter = resolveCenter({
|
|
62
42
|
children,
|
|
63
43
|
isSelectionMode,
|
|
@@ -80,6 +60,27 @@ function AppBarInner({
|
|
|
80
60
|
);
|
|
81
61
|
}
|
|
82
62
|
|
|
63
|
+
/*** Resolves the effective AppBar mode. */
|
|
64
|
+
function resolveMode(mode: AppBarMode | undefined): AppBarMode {
|
|
65
|
+
return mode ?? { type: 'default' };
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/*** Formats the active selection label with its optional count. */
|
|
69
|
+
function resolveSelectionLabel({ count, label }: { count?: number; label: string }): string {
|
|
70
|
+
if (count === undefined) return label;
|
|
71
|
+
return `${label} (${count})`;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/*** Resolves the accessible label for the overflow menu trigger. */
|
|
75
|
+
function resolveOverflowLabel(overflow: AppBarOverflowMenu): string {
|
|
76
|
+
return overflow.label ?? 'More options';
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/*** Resolves the accessible label for leaving selection mode. */
|
|
80
|
+
function resolveCancelLabel(mode: Extract<AppBarMode, { type: 'selection' }>): string {
|
|
81
|
+
return mode.cancelLabel ?? 'Cancel selection';
|
|
82
|
+
}
|
|
83
|
+
|
|
83
84
|
/*** Resolves the selection action shown at the leading edge. */
|
|
84
85
|
function resolveSelectionLeading(
|
|
85
86
|
mode: AppBarMode,
|
|
@@ -100,37 +101,44 @@ function resolveSelectionLeading(
|
|
|
100
101
|
);
|
|
101
102
|
}
|
|
102
103
|
|
|
103
|
-
/*** Resolves the optional overflow action. */
|
|
104
|
-
function
|
|
105
|
-
overflow:
|
|
104
|
+
/*** Resolves the optional AppBar overflow action menu. */
|
|
105
|
+
function resolveOverflowMenu(
|
|
106
|
+
overflow: AppBarOverflowMenu | undefined,
|
|
106
107
|
interactionPolicy: AppBarProps['interactionPolicy'],
|
|
108
|
+
testID: string | undefined,
|
|
107
109
|
): React.ReactNode {
|
|
108
|
-
if (
|
|
110
|
+
if (overflow === undefined || overflow.actions.length === 0) return null;
|
|
109
111
|
|
|
110
112
|
return (
|
|
111
|
-
<
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
icon={overflow.icon ?? DEFAULT_OVERFLOW_ICON}
|
|
113
|
+
<PopoverMenu
|
|
114
|
+
actions={overflow.actions}
|
|
115
|
+
closeOnSelect={overflow.closeOnSelect}
|
|
115
116
|
interactionPolicy={interactionPolicy}
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
117
|
+
onDismiss={overflow.onDismiss}
|
|
118
|
+
testID={testID ? `${testID}-overflow` : undefined}
|
|
119
|
+
trigger={({ toggle }) => (
|
|
120
|
+
<IconButton
|
|
121
|
+
color="neutral"
|
|
122
|
+
disabled={overflow.disabled}
|
|
123
|
+
icon={overflow.icon ?? DEFAULT_OVERFLOW_ICON}
|
|
124
|
+
interactionPolicy={interactionPolicy}
|
|
125
|
+
label={resolveOverflowLabel(overflow)}
|
|
126
|
+
onPress={toggle}
|
|
127
|
+
size="m"
|
|
128
|
+
variant="ghost"
|
|
129
|
+
/>
|
|
130
|
+
)}
|
|
120
131
|
/>
|
|
121
132
|
);
|
|
122
133
|
}
|
|
123
134
|
|
|
124
135
|
/*** Composes trailing actions and overflow controls. */
|
|
125
|
-
function resolveTrailing(
|
|
126
|
-
actions
|
|
127
|
-
overflowButton: React.ReactNode,
|
|
128
|
-
): React.ReactNode {
|
|
129
|
-
if (!actions && !overflowButton) return undefined;
|
|
136
|
+
function resolveTrailing(actions: React.ReactNode, overflowMenu: React.ReactNode): React.ReactNode {
|
|
137
|
+
if (!actions && !overflowMenu) return undefined;
|
|
130
138
|
return (
|
|
131
139
|
<Inline align="center" gap="s" wrap="nowrap">
|
|
132
140
|
{actions}
|
|
133
|
-
{
|
|
141
|
+
{overflowMenu}
|
|
134
142
|
</Inline>
|
|
135
143
|
);
|
|
136
144
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { AppBarMode,
|
|
1
|
+
export type { AppBarMode, AppBarOverflowMenu, AppBarProps } from '../../types/app-bar';
|
|
2
2
|
export { AppBar } from './adapters/inbound/AppBar';
|
|
@@ -10,8 +10,17 @@ describe('ZORA BottomSheet public contract', () => {
|
|
|
10
10
|
const source = await Bun.file('src/features/bottom-sheet/public.ts').text();
|
|
11
11
|
|
|
12
12
|
expect(packageJson.exports['./bottom-sheet']).toBeDefined();
|
|
13
|
-
expect(packageJson.dependencies['@ankhorage/surface']).toMatch(/^\^
|
|
13
|
+
expect(packageJson.dependencies['@ankhorage/surface']).toMatch(/^\^5\./u);
|
|
14
14
|
expect(source).toContain("from '@ankhorage/surface/bottom-sheet'");
|
|
15
|
+
for (const name of [
|
|
16
|
+
'BottomSheetFlatList',
|
|
17
|
+
'BottomSheetScrollView',
|
|
18
|
+
'BottomSheetSectionList',
|
|
19
|
+
'BottomSheetView',
|
|
20
|
+
'BottomSheetVirtualizedList',
|
|
21
|
+
]) {
|
|
22
|
+
expect(source).toContain(name);
|
|
23
|
+
}
|
|
15
24
|
const {
|
|
16
25
|
'react-native-gesture-handler': gestureHandlerPeer,
|
|
17
26
|
'react-native-reanimated': reanimatedPeer,
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
export type { BottomSheetProps } from '../../types/manifest-bottom-sheet';
|
|
2
2
|
export { BottomSheet } from './adapters/inbound/BottomSheet';
|
|
3
3
|
export type {
|
|
4
|
+
BottomSheetContentMode,
|
|
4
5
|
BottomSheetController,
|
|
5
6
|
BottomSheetPresentOptions,
|
|
6
7
|
} from '@ankhorage/surface/bottom-sheet';
|
|
7
|
-
export {
|
|
8
|
+
export {
|
|
9
|
+
BottomSheetFlatList,
|
|
10
|
+
BottomSheetScrollView,
|
|
11
|
+
BottomSheetSectionList,
|
|
12
|
+
BottomSheetView,
|
|
13
|
+
BottomSheetVirtualizedList,
|
|
14
|
+
useBottomSheet,
|
|
15
|
+
} from '@ankhorage/surface/bottom-sheet';
|