@ankhorage/zora 1.4.11 → 1.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 +27 -0
- package/README.md +48 -25
- package/dist/index.d.ts +4 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/dist/layout/auth-layout/meta.js +2 -2
- package/dist/layout/auth-layout/meta.js.map +1 -1
- package/dist/layout/screen/Screen.d.ts +4 -0
- package/dist/layout/screen/Screen.d.ts.map +1 -0
- package/dist/layout/screen/Screen.js +19 -0
- package/dist/layout/screen/Screen.js.map +1 -0
- package/dist/layout/screen/index.d.ts +3 -0
- package/dist/layout/screen/index.d.ts.map +1 -0
- package/dist/layout/screen/index.js +2 -0
- package/dist/layout/screen/index.js.map +1 -0
- package/dist/layout/screen/meta.d.ts +25 -0
- package/dist/layout/screen/meta.d.ts.map +1 -0
- package/dist/layout/screen/meta.js +26 -0
- package/dist/layout/screen/meta.js.map +1 -0
- package/dist/layout/{page → screen}/types.d.ts +2 -2
- package/dist/layout/screen/types.d.ts.map +1 -0
- package/dist/layout/screen/types.js.map +1 -0
- package/dist/layout/screen-section/ScreenSection.d.ts +4 -0
- package/dist/layout/screen-section/ScreenSection.d.ts.map +1 -0
- package/dist/layout/{page-section/PageSection.js → screen-section/ScreenSection.js} +3 -3
- package/dist/layout/screen-section/ScreenSection.js.map +1 -0
- package/dist/layout/screen-section/index.d.ts +3 -0
- package/dist/layout/screen-section/index.d.ts.map +1 -0
- package/dist/layout/screen-section/index.js +2 -0
- package/dist/layout/screen-section/index.js.map +1 -0
- package/dist/layout/{page-section → screen-section}/meta.d.ts +3 -3
- package/dist/layout/screen-section/meta.d.ts.map +1 -0
- package/dist/layout/{page-section → screen-section}/meta.js +5 -5
- package/dist/layout/screen-section/meta.js.map +1 -0
- package/dist/layout/{page-section → screen-section}/types.d.ts +1 -1
- package/dist/layout/screen-section/types.d.ts.map +1 -0
- package/dist/layout/screen-section/types.js.map +1 -0
- package/dist/layout/settings-layout/SettingsLayout.d.ts.map +1 -1
- package/dist/layout/settings-layout/SettingsLayout.js +8 -5
- package/dist/layout/settings-layout/SettingsLayout.js.map +1 -1
- package/dist/metadata/allowedChildren.d.ts +2 -2
- package/dist/metadata/allowedChildren.d.ts.map +1 -1
- package/dist/metadata/allowedChildren.js +2 -6
- package/dist/metadata/allowedChildren.js.map +1 -1
- package/dist/metadata/componentMeta.d.ts.map +1 -1
- package/dist/metadata/componentMeta.js +4 -6
- package/dist/metadata/componentMeta.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +4 -6
- package/src/layout/auth-layout/meta.ts +2 -2
- package/src/layout/{page/Page.tsx → screen/Screen.tsx} +13 -7
- package/src/layout/screen/index.ts +2 -0
- package/src/layout/{page → screen}/meta.ts +11 -5
- package/src/layout/{page → screen}/types.ts +2 -2
- package/src/layout/{page-section/PageSection.tsx → screen-section/ScreenSection.tsx} +4 -4
- package/src/layout/screen-section/index.ts +2 -0
- package/src/layout/{page-section → screen-section}/meta.ts +5 -5
- package/src/layout/{page-section → screen-section}/types.ts +1 -1
- package/src/layout/settings-layout/SettingsLayout.tsx +8 -10
- package/src/metadata/allowedChildren.ts +2 -6
- package/src/metadata/componentMeta.test.ts +2 -3
- package/src/metadata/componentMeta.ts +4 -6
- package/src/showcaseCoverage.test.ts +2 -3
- package/src/theme/themeScopeStructure.test.ts +4 -6
- package/dist/layout/page/Page.d.ts +0 -4
- package/dist/layout/page/Page.d.ts.map +0 -1
- package/dist/layout/page/Page.js +0 -15
- package/dist/layout/page/Page.js.map +0 -1
- package/dist/layout/page/index.d.ts +0 -3
- package/dist/layout/page/index.d.ts.map +0 -1
- package/dist/layout/page/index.js +0 -2
- package/dist/layout/page/index.js.map +0 -1
- package/dist/layout/page/meta.d.ts +0 -19
- package/dist/layout/page/meta.d.ts.map +0 -1
- package/dist/layout/page/meta.js +0 -20
- package/dist/layout/page/meta.js.map +0 -1
- package/dist/layout/page/types.d.ts.map +0 -1
- package/dist/layout/page/types.js +0 -2
- package/dist/layout/page/types.js.map +0 -1
- package/dist/layout/page-header/PageHeader.d.ts +0 -4
- package/dist/layout/page-header/PageHeader.d.ts.map +0 -1
- package/dist/layout/page-header/PageHeader.js +0 -24
- package/dist/layout/page-header/PageHeader.js.map +0 -1
- package/dist/layout/page-header/index.d.ts +0 -3
- package/dist/layout/page-header/index.d.ts.map +0 -1
- package/dist/layout/page-header/index.js +0 -2
- package/dist/layout/page-header/index.js.map +0 -1
- package/dist/layout/page-header/meta.d.ts +0 -38
- package/dist/layout/page-header/meta.d.ts.map +0 -1
- package/dist/layout/page-header/meta.js +0 -38
- package/dist/layout/page-header/meta.js.map +0 -1
- package/dist/layout/page-header/types.d.ts +0 -10
- package/dist/layout/page-header/types.d.ts.map +0 -1
- package/dist/layout/page-header/types.js.map +0 -1
- package/dist/layout/page-section/PageSection.d.ts +0 -4
- package/dist/layout/page-section/PageSection.d.ts.map +0 -1
- package/dist/layout/page-section/PageSection.js.map +0 -1
- package/dist/layout/page-section/index.d.ts +0 -3
- package/dist/layout/page-section/index.d.ts.map +0 -1
- package/dist/layout/page-section/index.js +0 -2
- package/dist/layout/page-section/index.js.map +0 -1
- package/dist/layout/page-section/meta.d.ts.map +0 -1
- package/dist/layout/page-section/meta.js.map +0 -1
- package/dist/layout/page-section/types.d.ts.map +0 -1
- package/dist/layout/page-section/types.js.map +0 -1
- package/src/layout/page/index.ts +0 -2
- package/src/layout/page-header/PageHeader.tsx +0 -48
- package/src/layout/page-header/index.ts +0 -2
- package/src/layout/page-header/meta.ts +0 -39
- package/src/layout/page-header/types.ts +0 -11
- package/src/layout/page-section/index.ts +0 -2
- /package/dist/layout/{page-section → screen}/types.js +0 -0
- /package/dist/layout/{page-header → screen-section}/types.js +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- f3c2822: Replace the web-oriented `Page` / `PageHeader` / `PageSection` layout model with the native-app-oriented `Screen` / `ScreenSection` model.
|
|
8
|
+
|
|
9
|
+
`Screen` is the default scroll owner for normal app screens, while `AppBar` owns the active screen title and screen-level actions. `ScreenSection` replaces page sections as the content grouping primitive inside app screens.
|
|
10
|
+
|
|
11
|
+
## 1.4.12
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- 6220959: Add realistic category-based example apps and a scaffold script for creating real Expo Router + React Native Web + ZORA apps.
|
|
16
|
+
|
|
17
|
+
The new examples live under `examples/<app-category>/<example-id>/` and use real Expo Router route files, real tab navigation through `ZoraTabBar`, and ZORA-only UI without `StyleSheet`, direct Surface imports, or local styling workaround layers.
|
|
18
|
+
|
|
19
|
+
Included examples:
|
|
20
|
+
- `social_community/community-feed`
|
|
21
|
+
- `social_community/photo-social`
|
|
22
|
+
- `social_community/private-messaging`
|
|
23
|
+
- `social_community/visual-discovery`
|
|
24
|
+
- `shopping_commerce/marketplace`
|
|
25
|
+
- `shopping_commerce/storefront`
|
|
26
|
+
- `food_drink/restaurant`
|
|
27
|
+
|
|
28
|
+
The examples also document current ZORA product gaps, including future needs for product cards, product grids, menu item cards, reservation summaries, visual wall/grid patterns, and richer chat/status patterns.
|
|
29
|
+
|
|
3
30
|
## 1.4.11
|
|
4
31
|
|
|
5
32
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -27,6 +27,9 @@ Peer dependencies:
|
|
|
27
27
|
Wrap your app in `ZoraProvider`, then import components from
|
|
28
28
|
`@ankhorage/zora`.
|
|
29
29
|
|
|
30
|
+
<details>
|
|
31
|
+
<summary>Toggle code</summary>
|
|
32
|
+
|
|
30
33
|
```tsx
|
|
31
34
|
import React from 'react';
|
|
32
35
|
import {
|
|
@@ -36,8 +39,7 @@ import {
|
|
|
36
39
|
Card,
|
|
37
40
|
Heading,
|
|
38
41
|
IconButton,
|
|
39
|
-
|
|
40
|
-
PageHeader,
|
|
42
|
+
Screen,
|
|
41
43
|
Text,
|
|
42
44
|
ZoraProvider,
|
|
43
45
|
} from '@ankhorage/zora';
|
|
@@ -53,7 +55,7 @@ export function App() {
|
|
|
53
55
|
/>
|
|
54
56
|
}
|
|
55
57
|
>
|
|
56
|
-
<
|
|
58
|
+
<Screen>
|
|
57
59
|
<Card
|
|
58
60
|
actions={<Button>Continue</Button>}
|
|
59
61
|
description="ZORA provides composed UI surfaces for apps."
|
|
@@ -62,13 +64,51 @@ export function App() {
|
|
|
62
64
|
<Heading level={3}>Next steps</Heading>
|
|
63
65
|
<Text tone="muted">Structured text comes from ZORA too.</Text>
|
|
64
66
|
</Card>
|
|
65
|
-
</
|
|
67
|
+
</Screen>
|
|
66
68
|
</AppShell>
|
|
67
69
|
</ZoraProvider>
|
|
68
70
|
);
|
|
69
71
|
}
|
|
70
72
|
```
|
|
71
73
|
|
|
74
|
+
</details>
|
|
75
|
+
|
|
76
|
+
## Example apps
|
|
77
|
+
|
|
78
|
+
ZORA has two example layers:
|
|
79
|
+
|
|
80
|
+
- `examples/expo-showcase` is the component catalogue.
|
|
81
|
+
- `examples/<app-category>/<example-id>/` contains realistic product-shaped apps.
|
|
82
|
+
|
|
83
|
+
The realistic examples are real Expo Router + React Native Web apps. They use
|
|
84
|
+
public `@ankhorage/zora` exports, real route files, real navigation chrome, and
|
|
85
|
+
static product data to prove that ZORA can build believable apps without
|
|
86
|
+
consumer-side styling hacks.
|
|
87
|
+
|
|
88
|
+
Implemented realistic examples:
|
|
89
|
+
|
|
90
|
+
- `social_community/community-feed`
|
|
91
|
+
- `social_community/photo-social`
|
|
92
|
+
- `social_community/private-messaging`
|
|
93
|
+
- `social_community/visual-discovery`
|
|
94
|
+
- `shopping_commerce/marketplace`
|
|
95
|
+
- `shopping_commerce/storefront`
|
|
96
|
+
- `food_drink/restaurant`
|
|
97
|
+
|
|
98
|
+
Scaffold a new realistic example from the repository root:
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
bun run scripts/scaffold-zora-example-app.ts social_community/community-feed "Community Feed"
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
Run one example:
|
|
105
|
+
|
|
106
|
+
```bash
|
|
107
|
+
cd examples/social_community/community-feed
|
|
108
|
+
bun install
|
|
109
|
+
bunx expo start
|
|
110
|
+
```
|
|
111
|
+
|
|
72
112
|
## Scoped themes
|
|
73
113
|
|
|
74
114
|
ZORA supports nested theme scopes. A component may set `mode` and, later,
|
|
@@ -1266,11 +1306,11 @@ It defines the top-level layout slots (`header`, `body`, `footer`, `overlay`)
|
|
|
1266
1306
|
and ensures a full-height, flexible container.
|
|
1267
1307
|
|
|
1268
1308
|
Use it as the outer layout inside `ZoraProvider`. Combine it with layout
|
|
1269
|
-
primitives like `SidebarLayout` or `
|
|
1309
|
+
primitives like `SidebarLayout` or `Screen` to structure inner content.
|
|
1270
1310
|
|
|
1271
1311
|
```tsx
|
|
1272
1312
|
<AppShell header={<Toolbar position="inline">{actions}</Toolbar>} footer={<BottomBar />}>
|
|
1273
|
-
<
|
|
1313
|
+
<Screen>{content}</Screen>
|
|
1274
1314
|
</AppShell>
|
|
1275
1315
|
```
|
|
1276
1316
|
|
|
@@ -1381,9 +1421,9 @@ No inherited props. `PageHeaderProps` is declared directly by ZORA.
|
|
|
1381
1421
|
Section wrapper that optionally renders a `SectionHeader`.
|
|
1382
1422
|
|
|
1383
1423
|
```tsx
|
|
1384
|
-
<
|
|
1424
|
+
<ScreenSection actions={<Button>Refresh</Button>} title="Recent activity">
|
|
1385
1425
|
{content}
|
|
1386
|
-
</
|
|
1426
|
+
</ScreenSection>
|
|
1387
1427
|
```
|
|
1388
1428
|
|
|
1389
1429
|
<details>
|
|
@@ -2836,23 +2876,6 @@ const zoraDefaultTheme: ZoraTheme = {
|
|
|
2836
2876
|
|
|
2837
2877
|
</details>
|
|
2838
2878
|
|
|
2839
|
-
## Example App
|
|
2840
|
-
|
|
2841
|
-
A complete Expo showcase lives in `examples/expo-showcase`. It renders the
|
|
2842
|
-
current ZORA components, layouts, patterns, and theme entry points, including
|
|
2843
|
-
light/dark mode through `AppShell`.
|
|
2844
|
-
|
|
2845
|
-
Run it locally:
|
|
2846
|
-
|
|
2847
|
-
```bash
|
|
2848
|
-
cd examples/expo-showcase
|
|
2849
|
-
bun install
|
|
2850
|
-
bun run web
|
|
2851
|
-
```
|
|
2852
|
-
|
|
2853
|
-
The example imports `@ankhorage/zora` and demonstrates the package API in
|
|
2854
|
-
`examples/expo-showcase/App.tsx`.
|
|
2855
|
-
|
|
2856
2879
|
## Changelog
|
|
2857
2880
|
|
|
2858
2881
|
Version history is maintained in [CHANGELOG.md](./CHANGELOG.md).
|
package/dist/index.d.ts
CHANGED
|
@@ -64,12 +64,10 @@ export type { AppShellProps } from './layout/app-shell';
|
|
|
64
64
|
export { AppShell } from './layout/app-shell';
|
|
65
65
|
export type { AuthLayoutProps } from './layout/auth-layout';
|
|
66
66
|
export { AuthLayout } from './layout/auth-layout';
|
|
67
|
-
export type {
|
|
68
|
-
export {
|
|
69
|
-
export type {
|
|
70
|
-
export {
|
|
71
|
-
export type { PageSectionProps } from './layout/page-section';
|
|
72
|
-
export { PageSection } from './layout/page-section';
|
|
67
|
+
export type { ScreenProps } from './layout/screen';
|
|
68
|
+
export { Screen } from './layout/screen';
|
|
69
|
+
export type { ScreenSectionProps } from './layout/screen-section';
|
|
70
|
+
export { ScreenSection } from './layout/screen-section';
|
|
73
71
|
export type { SettingsLayoutProps } from './layout/settings-layout';
|
|
74
72
|
export { SettingsLayout } from './layout/settings-layout';
|
|
75
73
|
export type { SidebarLayoutProps } from './layout/sidebar-layout';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,UAAU,EAAE,oBAAoB,EAAE,WAAW,EAAE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aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAC7D,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,YAAY,EAAE,YAAY,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC7F,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAC1D,YAAY,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,YAAY,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,cAAc,SAAS,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -31,9 +31,8 @@ export { Toolbar, ToolbarAction } from './components/toolbar';
|
|
|
31
31
|
export { Box, Center, Container, Divider, Grid, Inline, Show, Spacer, Stack, Surface, } from './foundation';
|
|
32
32
|
export { AppShell } from './layout/app-shell';
|
|
33
33
|
export { AuthLayout } from './layout/auth-layout';
|
|
34
|
-
export {
|
|
35
|
-
export {
|
|
36
|
-
export { PageSection } from './layout/page-section';
|
|
34
|
+
export { Screen } from './layout/screen';
|
|
35
|
+
export { ScreenSection } from './layout/screen-section';
|
|
37
36
|
export { SettingsLayout } from './layout/settings-layout';
|
|
38
37
|
export { SidebarLayout } from './layout/sidebar-layout';
|
|
39
38
|
export { TopbarLayout } from './layout/topbar-layout';
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,OAAO,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AgC,CAAC;AAEnE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,cAAc,SAAS,CAAC","sourcesContent":["export type { AppBarMode, AppBarOverflowAction, AppBarProps } from './components/app-bar';\nexport { AppBar } from './components/app-bar';\nexport type { AvatarProps, AvatarShape, AvatarSize } from './components/avatar';\nexport { Avatar, resolveAvatarInitials } from './components/avatar';\nexport type { AvatarGroupItem, AvatarGroupProps } from './components/avatar-group';\nexport { AvatarGroup } from './components/avatar-group';\nexport type { BadgeProps } from './components/badge';\nexport { Badge } from './components/badge';\nexport type { ButtonProps } from './components/button';\nexport { Button } from './components/button';\nexport type { CardProps } from './components/card';\nexport { Card } from './components/card';\nexport type { CheckboxGroupOption, CheckboxGroupProps, CheckboxProps } from './components/checkbox';\nexport { Checkbox, CheckboxGroup } from './components/checkbox';\nexport type { ChipProps } from './components/chip';\nexport { Chip } from './components/chip';\nexport type { ChipGroupItem, ChipGroupProps } from './components/chip-group';\nexport { ChipGroup } from './components/chip-group';\nexport type { DrawerProps } from './components/drawer';\nexport { Drawer } from './components/drawer';\nexport type {\n FormActionsProps,\n FormErrorProps,\n FormErrors,\n FormFieldConfig,\n FormFieldControlProps,\n FormFieldInputType,\n FormFieldProps,\n FormFieldValue,\n FormProps,\n FormValidationErrors,\n FormValidationResult,\n FormValues,\n UseFormControllerOptions,\n UseFormControllerResult,\n ValidationRule,\n} from './components/form';\nexport {\n Form,\n FormActions,\n FormError,\n FormField,\n hasRequiredRule,\n useFormController,\n validateField,\n validateFields,\n validateValue,\n} from './components/form';\nexport type {\n HeadingAlign,\n HeadingLevel,\n HeadingProps,\n HeadingSize,\n HeadingTone,\n HeadingWeight,\n} from './components/heading';\nexport { Heading } from './components/heading';\nexport type { IconProps } from './components/icon';\nexport { Icon } from './components/icon';\nexport type { IconButtonProps } from './components/icon-button';\nexport { IconButton } from './components/icon-button';\nexport type { ImageFit, ImageProps, SurfaceImageSource } from './components/image';\nexport { Image } from './components/image';\nexport type { InputProps, InputTrailingAction } from './components/input';\nexport { Input } from './components/input';\nexport type { MediaCardImageProps, MediaCardProps } from './components/media-card';\nexport { MediaCard } from './components/media-card';\nexport type { MetricCardProps } from './components/metric-card';\nexport { MetricCard } from './components/metric-card';\nexport type { ModalProps } from './components/modal';\nexport { Modal } from './components/modal';\nexport type {\n NavigationItemProps,\n ZoraNavigationRouteMetadata,\n ZoraNavigationRouteState,\n} from './components/navigation-item';\nexport { NavigationItem } from './components/navigation-item';\nexport type { NavigationListProps, ZoraNavigationRouteMap } from './components/navigation-list';\nexport { NavigationList } from './components/navigation-list';\nexport type { ProgressProps } from './components/progress';\nexport { Progress } from './components/progress';\nexport type { RadioGroupOption, RadioGroupProps, RadioProps } from './components/radio';\nexport { Radio, RadioGroup } from './components/radio';\nexport type { RatingProps } from './components/rating';\nexport { Rating } from './components/rating';\nexport type { SearchBarProps } from './components/search-bar';\nexport { SearchBar } from './components/search-bar';\nexport type { SelectOption, SelectProps } from './components/select';\nexport { Select } from './components/select';\nexport type { TabItem, TabsProps, TabsVariant } from './components/tabs';\nexport { Tabs } from './components/tabs';\nexport type { TextAlign, TextProps, TextTone, TextVariant, TextWeight } from './components/text';\nexport { Text } from './components/text';\nexport type { TextareaProps } from './components/textarea';\nexport { Textarea } from './components/textarea';\nexport type { ToolbarActionProps, ToolbarPosition, ToolbarProps } from './components/toolbar';\nexport { Toolbar, ToolbarAction } from './components/toolbar';\nexport type {\n BoxProps,\n CenterProps,\n ContainerProps,\n DividerProps,\n GridProps,\n InlineProps,\n ShowProps,\n SpacerProps,\n StackProps,\n SurfaceProps,\n SurfaceVariant,\n} from './foundation';\nexport {\n Box,\n Center,\n Container,\n Divider,\n Grid,\n Inline,\n Show,\n Spacer,\n Stack,\n Surface,\n} from './foundation';\nexport type { AppShellProps } from './layout/app-shell';\nexport { AppShell } from './layout/app-shell';\nexport type { AuthLayoutProps } from './layout/auth-layout';\nexport { AuthLayout } from './layout/auth-layout';\nexport type { PageProps } from './layout/page';\nexport { Page } from './layout/page';\nexport type { PageHeaderProps } from './layout/page-header';\nexport { PageHeader } from './layout/page-header';\nexport type { PageSectionProps } from './layout/page-section';\nexport { PageSection } from './layout/page-section';\nexport type { SettingsLayoutProps } from './layout/settings-layout';\nexport { SettingsLayout } from './layout/settings-layout';\nexport type { SidebarLayoutProps } from './layout/sidebar-layout';\nexport { SidebarLayout } from './layout/sidebar-layout';\nexport type { TopbarLayoutProps } from './layout/topbar-layout';\nexport { TopbarLayout } from './layout/topbar-layout';\nexport type {\n ZoraComponentBlueprint,\n ZoraComponentCategory,\n ZoraComponentI18nMeta,\n ZoraComponentMeta,\n ZoraComponentMetaRegistry,\n ZoraComponentPropArrayItemSchema,\n ZoraComponentPropSchema,\n ZoraComponentPropType,\n ZoraComponentPropValue,\n ZoraComponentSlotMeta,\n} from './metadata';\nexport { ZORA_COMPONENT_META } from './metadata';\nexport type {\n AuthFormBaseProps,\n AuthIdentifierKind,\n ForgotPasswordFormProps,\n ForgotPasswordFormValues,\n OtpFormProps,\n OtpFormValues,\n SignInFormProps,\n SignInFormValues,\n SignUpFormField,\n SignUpFormProps,\n SignUpFormValues,\n} from './patterns/auth';\nexport { ForgotPasswordForm, OtpForm, SignInForm, SignUpForm } from './patterns/auth';\nexport type { ChatListAvatar, ChatListItemProps } from './patterns/chat-list-item';\nexport { ChatListItem } from './patterns/chat-list-item';\nexport type {\n CollectionEditorProps,\n CollectionEditorRenderItemProps,\n} from './patterns/collection-editor';\nexport { CollectionEditor } from './patterns/collection-editor';\nexport type { ConfirmDialogProps } from './patterns/confirm-dialog';\nexport { ConfirmDialog } from './patterns/confirm-dialog';\nexport type { DisclosureSectionProps } from './patterns/disclosure-section';\nexport { DisclosureSection } from './patterns/disclosure-section';\nexport type { EmptyStateAction, EmptyStateProps } from './patterns/empty-state';\nexport { EmptyState } from './patterns/empty-state';\nexport type { FilterBarProps } from './patterns/filter-bar';\nexport { FilterBar } from './patterns/filter-bar';\nexport type { HeroAction, HeroAlign, HeroLayout, HeroProps, HeroTone } from './patterns/hero';\nexport { Hero } from './patterns/hero';\nexport type {\n ImagePreviewProps,\n ZoraImageAsset,\n ZoraImageMetadata,\n} from './patterns/image-preview';\nexport { ImagePreview } from './patterns/image-preview';\nexport type {\n ImageUploadFieldProps,\n ImageUploadProgressContext,\n ZoraPickedImage,\n} from './patterns/image-upload-field';\nexport { ImageUploadField } from './patterns/image-upload-field';\nexport type { InspectorFieldProps } from './patterns/inspector-field';\nexport { InspectorField } from './patterns/inspector-field';\nexport type {\n ListChildrenProps,\n ListItemsProps,\n ListProps,\n ListRowProps,\n ListRowVariant,\n ListSectionProps,\n} from './patterns/list';\nexport { List, ListRow, ListSection } from './patterns/list';\nexport type {\n MessageBubbleAuthor,\n MessageBubbleAvatar,\n MessageBubbleDirection,\n MessageBubbleProps,\n MessageBubbleStatus,\n} from './patterns/message-bubble';\nexport { MessageBubble } from './patterns/message-bubble';\nexport type { NoticeProps } from './patterns/notice';\nexport { Notice } from './patterns/notice';\nexport type { PanelProps } from './patterns/panel';\nexport { Panel } from './patterns/panel';\nexport type {\n PostAction,\n PostAuthor,\n PostAuthorAvatar,\n PostCardMedia,\n PostCardProps,\n PostCommentPreview,\n} from './patterns/post-card';\nexport { PostCard } from './patterns/post-card';\nexport type {\n ResponsivePanelDesktopMode,\n ResponsivePanelMobileMode,\n ResponsivePanelProps,\n ResponsivePanelSide,\n} from './patterns/responsive-panel';\nexport { ResponsivePanel } from './patterns/responsive-panel';\nexport type { SectionHeaderProps } from './patterns/section-header';\nexport { SectionHeader } from './patterns/section-header';\nexport type {\n SelectableItemProps,\n SelectableItemState,\n SelectionMode,\n SelectionProviderProps,\n SelectionTrigger,\n UseSelectionResult,\n} from './patterns/selection';\nexport { SelectableItem, SelectionProvider, useSelection } from './patterns/selection';\nexport type { SettingsRowProps } from './patterns/settings-row';\nexport { SettingsRow } from './patterns/settings-row';\nexport type { SwitchFieldProps } from './patterns/switch-field';\nexport { SwitchField } from './patterns/switch-field';\nexport type { ThemeComposerProps } from './patterns/theme-composer';\nexport { ThemeComposer } from './patterns/theme-composer';\nexport type { PaletteItemProps, TileGridProps } from './patterns/tile-grid';\nexport { PaletteItem, TileGrid } from './patterns/tile-grid';\nexport type { TimelineItem, TimelineProps } from './patterns/timeline';\nexport { Timeline } from './patterns/timeline';\nexport type { TreeItemNode, TreeItemRenderProps, TreeViewProps } from './patterns/tree-view';\nexport { TreeItem, TreeView } from './patterns/tree-view';\nexport type { ZoraDrawerContentProps } from './patterns/zora-drawer-content';\nexport { ZoraDrawerContent } from './patterns/zora-drawer-content';\nexport type { ZoraTabBarProps } from './patterns/zora-tab-bar';\nexport { ZoraTabBar } from './patterns/zora-tab-bar';\nexport * from './theme';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAEpE,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAEzC,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEhE,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAEzC,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEpD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAkB7C,OAAO,EACL,IAAI,EACJ,WAAW,EACX,SAAS,EACT,SAAS,EACT,eAAe,EACf,iBAAiB,EACjB,aAAa,EACb,cAAc,EACd,aAAa,GACd,MAAM,mBAAmB,CAAC;AAS3B,OAAO,EAAE,OAAO,EAAE,M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AM,6BAA6B,CAAC;AAE9D,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAS1D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEvF,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE1D,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAE7D,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAE/C,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEnE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,cAAc,SAAS,CAAC","sourcesContent":["export type { AppBarMode, AppBarOverflowAction, AppBarProps } from './components/app-bar';\nexport { AppBar } from './components/app-bar';\nexport type { AvatarProps, AvatarShape, AvatarSize } from './components/avatar';\nexport { Avatar, resolveAvatarInitials } from './components/avatar';\nexport type { AvatarGroupItem, AvatarGroupProps } from './components/avatar-group';\nexport { AvatarGroup } from './components/avatar-group';\nexport type { BadgeProps } from './components/badge';\nexport { Badge } from './components/badge';\nexport type { ButtonProps } from './components/button';\nexport { Button } from './components/button';\nexport type { CardProps } from './components/card';\nexport { Card } from './components/card';\nexport type { CheckboxGroupOption, CheckboxGroupProps, CheckboxProps } from './components/checkbox';\nexport { Checkbox, CheckboxGroup } from './components/checkbox';\nexport type { ChipProps } from './components/chip';\nexport { Chip } from './components/chip';\nexport type { ChipGroupItem, ChipGroupProps } from './components/chip-group';\nexport { ChipGroup } from './components/chip-group';\nexport type { DrawerProps } from './components/drawer';\nexport { Drawer } from './components/drawer';\nexport type {\n FormActionsProps,\n FormErrorProps,\n FormErrors,\n FormFieldConfig,\n FormFieldControlProps,\n FormFieldInputType,\n FormFieldProps,\n FormFieldValue,\n FormProps,\n FormValidationErrors,\n FormValidationResult,\n FormValues,\n UseFormControllerOptions,\n UseFormControllerResult,\n ValidationRule,\n} from './components/form';\nexport {\n Form,\n FormActions,\n FormError,\n FormField,\n hasRequiredRule,\n useFormController,\n validateField,\n validateFields,\n validateValue,\n} from './components/form';\nexport type {\n HeadingAlign,\n HeadingLevel,\n HeadingProps,\n HeadingSize,\n HeadingTone,\n HeadingWeight,\n} from './components/heading';\nexport { Heading } from './components/heading';\nexport type { IconProps } from './components/icon';\nexport { Icon } from './components/icon';\nexport type { IconButtonProps } from './components/icon-button';\nexport { IconButton } from './components/icon-button';\nexport type { ImageFit, ImageProps, SurfaceImageSource } from './components/image';\nexport { Image } from './components/image';\nexport type { InputProps, InputTrailingAction } from './components/input';\nexport { Input } from './components/input';\nexport type { MediaCardImageProps, MediaCardProps } from './components/media-card';\nexport { MediaCard } from './components/media-card';\nexport type { MetricCardProps } from './components/metric-card';\nexport { MetricCard } from './components/metric-card';\nexport type { ModalProps } from './components/modal';\nexport { Modal } from './components/modal';\nexport type {\n NavigationItemProps,\n ZoraNavigationRouteMetadata,\n ZoraNavigationRouteState,\n} from './components/navigation-item';\nexport { NavigationItem } from './components/navigation-item';\nexport type { NavigationListProps, ZoraNavigationRouteMap } from './components/navigation-list';\nexport { NavigationList } from './components/navigation-list';\nexport type { ProgressProps } from './components/progress';\nexport { Progress } from './components/progress';\nexport type { RadioGroupOption, RadioGroupProps, RadioProps } from './components/radio';\nexport { Radio, RadioGroup } from './components/radio';\nexport type { RatingProps } from './components/rating';\nexport { Rating } from './components/rating';\nexport type { SearchBarProps } from './components/search-bar';\nexport { SearchBar } from './components/search-bar';\nexport type { SelectOption, SelectProps } from './components/select';\nexport { Select } from './components/select';\nexport type { TabItem, TabsProps, TabsVariant } from './components/tabs';\nexport { Tabs } from './components/tabs';\nexport type { TextAlign, TextProps, TextTone, TextVariant, TextWeight } from './components/text';\nexport { Text } from './components/text';\nexport type { TextareaProps } from './components/textarea';\nexport { Textarea } from './components/textarea';\nexport type { ToolbarActionProps, ToolbarPosition, ToolbarProps } from './components/toolbar';\nexport { Toolbar, ToolbarAction } from './components/toolbar';\nexport type {\n BoxProps,\n CenterProps,\n ContainerProps,\n DividerProps,\n GridProps,\n InlineProps,\n ShowProps,\n SpacerProps,\n StackProps,\n SurfaceProps,\n SurfaceVariant,\n} from './foundation';\nexport {\n Box,\n Center,\n Container,\n Divider,\n Grid,\n Inline,\n Show,\n Spacer,\n Stack,\n Surface,\n} from './foundation';\nexport type { AppShellProps } from './layout/app-shell';\nexport { AppShell } from './layout/app-shell';\nexport type { AuthLayoutProps } from './layout/auth-layout';\nexport { AuthLayout } from './layout/auth-layout';\nexport type { ScreenProps } from './layout/screen';\nexport { Screen } from './layout/screen';\nexport type { ScreenSectionProps } from './layout/screen-section';\nexport { ScreenSection } from './layout/screen-section';\nexport type { SettingsLayoutProps } from './layout/settings-layout';\nexport { SettingsLayout } from './layout/settings-layout';\nexport type { SidebarLayoutProps } from './layout/sidebar-layout';\nexport { SidebarLayout } from './layout/sidebar-layout';\nexport type { TopbarLayoutProps } from './layout/topbar-layout';\nexport { TopbarLayout } from './layout/topbar-layout';\nexport type {\n ZoraComponentBlueprint,\n ZoraComponentCategory,\n ZoraComponentI18nMeta,\n ZoraComponentMeta,\n ZoraComponentMetaRegistry,\n ZoraComponentPropArrayItemSchema,\n ZoraComponentPropSchema,\n ZoraComponentPropType,\n ZoraComponentPropValue,\n ZoraComponentSlotMeta,\n} from './metadata';\nexport { ZORA_COMPONENT_META } from './metadata';\nexport type {\n AuthFormBaseProps,\n AuthIdentifierKind,\n ForgotPasswordFormProps,\n ForgotPasswordFormValues,\n OtpFormProps,\n OtpFormValues,\n SignInFormProps,\n SignInFormValues,\n SignUpFormField,\n SignUpFormProps,\n SignUpFormValues,\n} from './patterns/auth';\nexport { ForgotPasswordForm, OtpForm, SignInForm, SignUpForm } from './patterns/auth';\nexport type { ChatListAvatar, ChatListItemProps } from './patterns/chat-list-item';\nexport { ChatListItem } from './patterns/chat-list-item';\nexport type {\n CollectionEditorProps,\n CollectionEditorRenderItemProps,\n} from './patterns/collection-editor';\nexport { CollectionEditor } from './patterns/collection-editor';\nexport type { ConfirmDialogProps } from './patterns/confirm-dialog';\nexport { ConfirmDialog } from './patterns/confirm-dialog';\nexport type { DisclosureSectionProps } from './patterns/disclosure-section';\nexport { DisclosureSection } from './patterns/disclosure-section';\nexport type { EmptyStateAction, EmptyStateProps } from './patterns/empty-state';\nexport { EmptyState } from './patterns/empty-state';\nexport type { FilterBarProps } from './patterns/filter-bar';\nexport { FilterBar } from './patterns/filter-bar';\nexport type { HeroAction, HeroAlign, HeroLayout, HeroProps, HeroTone } from './patterns/hero';\nexport { Hero } from './patterns/hero';\nexport type {\n ImagePreviewProps,\n ZoraImageAsset,\n ZoraImageMetadata,\n} from './patterns/image-preview';\nexport { ImagePreview } from './patterns/image-preview';\nexport type {\n ImageUploadFieldProps,\n ImageUploadProgressContext,\n ZoraPickedImage,\n} from './patterns/image-upload-field';\nexport { ImageUploadField } from './patterns/image-upload-field';\nexport type { InspectorFieldProps } from './patterns/inspector-field';\nexport { InspectorField } from './patterns/inspector-field';\nexport type {\n ListChildrenProps,\n ListItemsProps,\n ListProps,\n ListRowProps,\n ListRowVariant,\n ListSectionProps,\n} from './patterns/list';\nexport { List, ListRow, ListSection } from './patterns/list';\nexport type {\n MessageBubbleAuthor,\n MessageBubbleAvatar,\n MessageBubbleDirection,\n MessageBubbleProps,\n MessageBubbleStatus,\n} from './patterns/message-bubble';\nexport { MessageBubble } from './patterns/message-bubble';\nexport type { NoticeProps } from './patterns/notice';\nexport { Notice } from './patterns/notice';\nexport type { PanelProps } from './patterns/panel';\nexport { Panel } from './patterns/panel';\nexport type {\n PostAction,\n PostAuthor,\n PostAuthorAvatar,\n PostCardMedia,\n PostCardProps,\n PostCommentPreview,\n} from './patterns/post-card';\nexport { PostCard } from './patterns/post-card';\nexport type {\n ResponsivePanelDesktopMode,\n ResponsivePanelMobileMode,\n ResponsivePanelProps,\n ResponsivePanelSide,\n} from './patterns/responsive-panel';\nexport { ResponsivePanel } from './patterns/responsive-panel';\nexport type { SectionHeaderProps } from './patterns/section-header';\nexport { SectionHeader } from './patterns/section-header';\nexport type {\n SelectableItemProps,\n SelectableItemState,\n SelectionMode,\n SelectionProviderProps,\n SelectionTrigger,\n UseSelectionResult,\n} from './patterns/selection';\nexport { SelectableItem, SelectionProvider, useSelection } from './patterns/selection';\nexport type { SettingsRowProps } from './patterns/settings-row';\nexport { SettingsRow } from './patterns/settings-row';\nexport type { SwitchFieldProps } from './patterns/switch-field';\nexport { SwitchField } from './patterns/switch-field';\nexport type { ThemeComposerProps } from './patterns/theme-composer';\nexport { ThemeComposer } from './patterns/theme-composer';\nexport type { PaletteItemProps, TileGridProps } from './patterns/tile-grid';\nexport { PaletteItem, TileGrid } from './patterns/tile-grid';\nexport type { TimelineItem, TimelineProps } from './patterns/timeline';\nexport { Timeline } from './patterns/timeline';\nexport type { TreeItemNode, TreeItemRenderProps, TreeViewProps } from './patterns/tree-view';\nexport { TreeItem, TreeView } from './patterns/tree-view';\nexport type { ZoraDrawerContentProps } from './patterns/zora-drawer-content';\nexport { ZoraDrawerContent } from './patterns/zora-drawer-content';\nexport type { ZoraTabBarProps } from './patterns/zora-tab-bar';\nexport { ZoraTabBar } from './patterns/zora-tab-bar';\nexport * from './theme';\n"]}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SCREEN_SECTION_ALLOWED_CHILDREN } from '../../metadata/allowedChildren';
|
|
2
2
|
export const authLayoutMeta = {
|
|
3
3
|
name: 'AuthLayout',
|
|
4
4
|
category: 'layout',
|
|
5
5
|
directManifestNode: true,
|
|
6
|
-
allowedChildren: [...
|
|
6
|
+
allowedChildren: [...SCREEN_SECTION_ALLOWED_CHILDREN],
|
|
7
7
|
blueprint: {
|
|
8
8
|
label: 'Auth layout',
|
|
9
9
|
defaultProps: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../src/layout/auth-layout/meta.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../src/layout/auth-layout/meta.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,+BAA+B,EAAE,MAAM,gCAAgC,CAAC;AAEjF,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,IAAI,EAAE,YAAY;IAClB,QAAQ,EAAE,QAAQ;IAClB,kBAAkB,EAAE,IAAI;IACxB,eAAe,EAAE,CAAC,GAAG,+BAA+B,CAAC;IACrD,SAAS,EAAE;QACT,KAAK,EAAE,aAAa;QACpB,YAAY,EAAE;YACZ,KAAK,EAAE,SAAS;YAChB,WAAW,EAAE,sBAAsB;SACpC;KACF;IACD,KAAK,EAAE;QACL,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,OAAO;YACd,OAAO,EAAE,SAAS;SACnB;QACD,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,aAAa;YACpB,OAAO,EAAE,sBAAsB;SAChC;QACD,OAAO,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,SAAS;SACjB;KACF;CACmC,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../metadata';\nimport { SCREEN_SECTION_ALLOWED_CHILDREN } from '../../metadata/allowedChildren';\n\nexport const authLayoutMeta = {\n name: 'AuthLayout',\n category: 'layout',\n directManifestNode: true,\n allowedChildren: [...SCREEN_SECTION_ALLOWED_CHILDREN],\n blueprint: {\n label: 'Auth layout',\n defaultProps: {\n title: 'Welcome',\n description: 'Sign in to continue.',\n },\n },\n props: {\n title: {\n type: 'string',\n category: 'Content',\n label: 'Title',\n default: 'Welcome',\n },\n description: {\n type: 'string',\n category: 'Content',\n label: 'Description',\n default: 'Sign in to continue.',\n },\n eyebrow: {\n type: 'string',\n category: 'Content',\n label: 'Eyebrow',\n },\n },\n} as const satisfies ZoraComponentMeta;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Screen.d.ts","sourceRoot":"","sources":["../../../src/layout/screen/Screen.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AA2B3C,eAAO,MAAM,MAAM,mDAAkC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ScrollArea } from '@ankhorage/surface';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { Container, Stack } from '../../foundation';
|
|
4
|
+
import { resolvePageMaxWidth } from '../../internal/recipes';
|
|
5
|
+
import { withZoraThemeScope } from '../../theme/withZoraThemeScope';
|
|
6
|
+
function ScreenInner({ themeId: _themeId, mode: _mode, children, footer, scroll = true, width = 'default', testID, }) {
|
|
7
|
+
const content = (<Container maxWidth={resolvePageMaxWidth(width)} py="xl" testID={testID}>
|
|
8
|
+
<Stack gap="l">
|
|
9
|
+
{children}
|
|
10
|
+
{footer}
|
|
11
|
+
</Stack>
|
|
12
|
+
</Container>);
|
|
13
|
+
if (!scroll) {
|
|
14
|
+
return content;
|
|
15
|
+
}
|
|
16
|
+
return <ScrollArea>{content}</ScrollArea>;
|
|
17
|
+
}
|
|
18
|
+
export const Screen = withZoraThemeScope(ScreenInner);
|
|
19
|
+
//# sourceMappingURL=Screen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Screen.js","sourceRoot":"","sources":["../../../src/layout/screen/Screen.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAGpE,SAAS,WAAW,CAAC,EACnB,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EACX,QAAQ,EACR,MAAM,EACN,MAAM,GAAG,IAAI,EACb,KAAK,GAAG,SAAS,EACjB,MAAM,GACM;IACZ,MAAM,OAAO,GAAG,CACd,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CACtE;MAAA,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CACZ;QAAA,CAAC,QAAQ,CACT;QAAA,CAAC,MAAM,CACT;MAAA,EAAE,KAAK,CACT;IAAA,EAAE,SAAS,CAAC,CACb,CAAC;IAEF,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,OAAO,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC,CAAC;AAC5C,CAAC;AAED,MAAM,CAAC,MAAM,MAAM,GAAG,kBAAkB,CAAC,WAAW,CAAC,CAAC","sourcesContent":["import { ScrollArea } from '@ankhorage/surface';\nimport React from 'react';\n\nimport { Container, Stack } from '../../foundation';\nimport { resolvePageMaxWidth } from '../../internal/recipes';\nimport { withZoraThemeScope } from '../../theme/withZoraThemeScope';\nimport type { ScreenProps } from './types';\n\nfunction ScreenInner({\n themeId: _themeId,\n mode: _mode,\n children,\n footer,\n scroll = true,\n width = 'default',\n testID,\n}: ScreenProps) {\n const content = (\n <Container maxWidth={resolvePageMaxWidth(width)} py=\"xl\" testID={testID}>\n <Stack gap=\"l\">\n {children}\n {footer}\n </Stack>\n </Container>\n );\n\n if (!scroll) {\n return content;\n }\n\n return <ScrollArea>{content}</ScrollArea>;\n}\n\nexport const Screen = withZoraThemeScope(ScreenInner);\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layout/screen/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/layout/screen/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC","sourcesContent":["export { Screen } from './Screen';\nexport type { ScreenProps } from './types';\n"]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare const screenMeta: {
|
|
2
|
+
readonly name: "Screen";
|
|
3
|
+
readonly category: "layout";
|
|
4
|
+
readonly directManifestNode: true;
|
|
5
|
+
readonly allowedChildren: readonly ["ScreenSection", "Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Button", "Input", "Textarea", "FormField", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem", "MessageBubble"];
|
|
6
|
+
readonly blueprint: {
|
|
7
|
+
readonly label: "Screen";
|
|
8
|
+
};
|
|
9
|
+
readonly props: {
|
|
10
|
+
readonly width: {
|
|
11
|
+
readonly type: "enum";
|
|
12
|
+
readonly category: "Layout";
|
|
13
|
+
readonly label: "Width";
|
|
14
|
+
readonly enum: readonly ["narrow", "default", "wide"];
|
|
15
|
+
readonly default: "default";
|
|
16
|
+
};
|
|
17
|
+
readonly scroll: {
|
|
18
|
+
readonly type: "boolean";
|
|
19
|
+
readonly category: "Layout";
|
|
20
|
+
readonly label: "Scroll";
|
|
21
|
+
readonly default: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=meta.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/layout/screen/meta.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;CAuBe,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { SCREEN_ALLOWED_CHILDREN } from '../../metadata/allowedChildren';
|
|
2
|
+
export const screenMeta = {
|
|
3
|
+
name: 'Screen',
|
|
4
|
+
category: 'layout',
|
|
5
|
+
directManifestNode: true,
|
|
6
|
+
allowedChildren: [...SCREEN_ALLOWED_CHILDREN],
|
|
7
|
+
blueprint: {
|
|
8
|
+
label: 'Screen',
|
|
9
|
+
},
|
|
10
|
+
props: {
|
|
11
|
+
width: {
|
|
12
|
+
type: 'enum',
|
|
13
|
+
category: 'Layout',
|
|
14
|
+
label: 'Width',
|
|
15
|
+
enum: ['narrow', 'default', 'wide'],
|
|
16
|
+
default: 'default',
|
|
17
|
+
},
|
|
18
|
+
scroll: {
|
|
19
|
+
type: 'boolean',
|
|
20
|
+
category: 'Layout',
|
|
21
|
+
label: 'Scroll',
|
|
22
|
+
default: true,
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=meta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../src/layout/screen/meta.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,QAAQ;IAClB,kBAAkB,EAAE,IAAI;IACxB,eAAe,EAAE,CAAC,GAAG,uBAAuB,CAAC;IAC7C,SAAS,EAAE;QACT,KAAK,EAAE,QAAQ;KAChB;IACD,KAAK,EAAE;QACL,KAAK,EAAE;YACL,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,QAAQ;YAClB,KAAK,EAAE,OAAO;YACd,IAAI,EAAE,CAAC,QAAQ,EAAE,SAAS,EAAE,MAAM,CAAC;YACnC,OAAO,EAAE,SAAS;SACnB;QACD,MAAM,EAAE;YACN,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,QAAQ;YAClB,KAAK,EAAE,QAAQ;YACf,OAAO,EAAE,IAAI;SACd;KACF;CACmC,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../metadata';\nimport { SCREEN_ALLOWED_CHILDREN } from '../../metadata/allowedChildren';\n\nexport const screenMeta = {\n name: 'Screen',\n category: 'layout',\n directManifestNode: true,\n allowedChildren: [...SCREEN_ALLOWED_CHILDREN],\n blueprint: {\n label: 'Screen',\n },\n props: {\n width: {\n type: 'enum',\n category: 'Layout',\n label: 'Width',\n enum: ['narrow', 'default', 'wide'],\n default: 'default',\n },\n scroll: {\n type: 'boolean',\n category: 'Layout',\n label: 'Scroll',\n default: true,\n },\n },\n} as const satisfies ZoraComponentMeta;\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import type { ZoraContentWidth } from '../../internal/recipes';
|
|
3
3
|
import type { ZoraBaseProps } from '../../theme/ZoraBaseProps';
|
|
4
|
-
export interface
|
|
4
|
+
export interface ScreenProps extends ZoraBaseProps {
|
|
5
5
|
children?: React.ReactNode;
|
|
6
|
-
header?: React.ReactNode;
|
|
7
6
|
footer?: React.ReactNode;
|
|
7
|
+
scroll?: boolean;
|
|
8
8
|
width?: ZoraContentWidth;
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/layout/screen/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D,MAAM,WAAW,WAAY,SAAQ,aAAa;IAChD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,gBAAgB,CAAC;CAC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/layout/screen/types.ts"],"names":[],"mappings":"","sourcesContent":["import type React from 'react';\n\nimport type { ZoraContentWidth } from '../../internal/recipes';\nimport type { ZoraBaseProps } from '../../theme/ZoraBaseProps';\n\nexport interface ScreenProps extends ZoraBaseProps {\n children?: React.ReactNode;\n footer?: React.ReactNode;\n scroll?: boolean;\n width?: ZoraContentWidth;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScreenSection.d.ts","sourceRoot":"","sources":["../../../src/layout/screen-section/ScreenSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAmBlD,eAAO,MAAM,aAAa,0DAAyC,CAAC"}
|
|
@@ -2,11 +2,11 @@ import React from 'react';
|
|
|
2
2
|
import { Stack } from '../../foundation';
|
|
3
3
|
import { SectionHeader } from '../../patterns/section-header';
|
|
4
4
|
import { withZoraThemeScope } from '../../theme/withZoraThemeScope';
|
|
5
|
-
function
|
|
5
|
+
function ScreenSectionInner({ themeId: _themeId, mode: _mode, title, description, actions, children, testID, }) {
|
|
6
6
|
return (<Stack gap="m" testID={testID}>
|
|
7
7
|
{title ? <SectionHeader actions={actions} description={description} title={title}/> : null}
|
|
8
8
|
{children}
|
|
9
9
|
</Stack>);
|
|
10
10
|
}
|
|
11
|
-
export const
|
|
12
|
-
//# sourceMappingURL=
|
|
11
|
+
export const ScreenSection = withZoraThemeScope(ScreenSectionInner);
|
|
12
|
+
//# sourceMappingURL=ScreenSection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScreenSection.js","sourceRoot":"","sources":["../../../src/layout/screen-section/ScreenSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAGpE,SAAS,kBAAkB,CAAC,EAC1B,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EACX,KAAK,EACL,WAAW,EACX,OAAO,EACP,QAAQ,EACR,MAAM,GACa;IACnB,OAAO,CACL,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAC5B;MAAA,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,EAAG,CAAC,CAAC,CAAC,IAAI,CAC3F;MAAA,CAAC,QAAQ,CACX;IAAA,EAAE,KAAK,CAAC,CACT,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,aAAa,GAAG,kBAAkB,CAAC,kBAAkB,CAAC,CAAC","sourcesContent":["import React from 'react';\n\nimport { Stack } from '../../foundation';\nimport { SectionHeader } from '../../patterns/section-header';\nimport { withZoraThemeScope } from '../../theme/withZoraThemeScope';\nimport type { ScreenSectionProps } from './types';\n\nfunction ScreenSectionInner({\n themeId: _themeId,\n mode: _mode,\n title,\n description,\n actions,\n children,\n testID,\n}: ScreenSectionProps) {\n return (\n <Stack gap=\"m\" testID={testID}>\n {title ? <SectionHeader actions={actions} description={description} title={title} /> : null}\n {children}\n </Stack>\n );\n}\n\nexport const ScreenSection = withZoraThemeScope(ScreenSectionInner);\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layout/screen-section/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/layout/screen-section/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["export { ScreenSection } from './ScreenSection';\nexport type { ScreenSectionProps } from './types';\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
readonly name: "
|
|
1
|
+
export declare const screenSectionMeta: {
|
|
2
|
+
readonly name: "ScreenSection";
|
|
3
3
|
readonly category: "layout";
|
|
4
4
|
readonly directManifestNode: true;
|
|
5
5
|
readonly allowedChildren: readonly ["Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Button", "Input", "Textarea", "FormField", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem", "MessageBubble"];
|
|
6
6
|
readonly blueprint: {
|
|
7
|
-
readonly label: "
|
|
7
|
+
readonly label: "Screen section";
|
|
8
8
|
readonly defaultProps: {
|
|
9
9
|
readonly title: "Section";
|
|
10
10
|
readonly description: "Section description.";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/layout/screen-section/meta.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BQ,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export const
|
|
3
|
-
name: '
|
|
1
|
+
import { SCREEN_SECTION_ALLOWED_CHILDREN } from '../../metadata/allowedChildren';
|
|
2
|
+
export const screenSectionMeta = {
|
|
3
|
+
name: 'ScreenSection',
|
|
4
4
|
category: 'layout',
|
|
5
5
|
directManifestNode: true,
|
|
6
|
-
allowedChildren: [...
|
|
6
|
+
allowedChildren: [...SCREEN_SECTION_ALLOWED_CHILDREN],
|
|
7
7
|
blueprint: {
|
|
8
|
-
label: '
|
|
8
|
+
label: 'Screen section',
|
|
9
9
|
defaultProps: {
|
|
10
10
|
title: 'Section',
|
|
11
11
|
description: 'Section description.',
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../src/layout/screen-section/meta.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,+BAA+B,EAAE,MAAM,gCAAgC,CAAC;AAEjF,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,IAAI,EAAE,eAAe;IACrB,QAAQ,EAAE,QAAQ;IAClB,kBAAkB,EAAE,IAAI;IACxB,eAAe,EAAE,CAAC,GAAG,+BAA+B,CAAC;IACrD,SAAS,EAAE;QACT,KAAK,EAAE,gBAAgB;QACvB,YAAY,EAAE;YACZ,KAAK,EAAE,SAAS;YAChB,WAAW,EAAE,sBAAsB;SACpC;KACF;IACD,KAAK,EAAE;QACL,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,OAAO;YACd,OAAO,EAAE,SAAS;SACnB;QACD,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,aAAa;YACpB,OAAO,EAAE,sBAAsB;SAChC;KACF;CACmC,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../metadata';\nimport { SCREEN_SECTION_ALLOWED_CHILDREN } from '../../metadata/allowedChildren';\n\nexport const screenSectionMeta = {\n name: 'ScreenSection',\n category: 'layout',\n directManifestNode: true,\n allowedChildren: [...SCREEN_SECTION_ALLOWED_CHILDREN],\n blueprint: {\n label: 'Screen section',\n defaultProps: {\n title: 'Section',\n description: 'Section description.',\n },\n },\n props: {\n title: {\n type: 'string',\n category: 'Content',\n label: 'Title',\n default: 'Section',\n },\n description: {\n type: 'string',\n category: 'Content',\n label: 'Description',\n default: 'Section description.',\n },\n },\n} as const satisfies ZoraComponentMeta;\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import type { ZoraBaseProps } from '../../theme/ZoraBaseProps';
|
|
3
|
-
export interface
|
|
3
|
+
export interface ScreenSectionProps extends ZoraBaseProps {
|
|
4
4
|
title?: React.ReactNode;
|
|
5
5
|
description?: React.ReactNode;
|
|
6
6
|
actions?: React.ReactNode;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/layout/screen-section/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D,MAAM,WAAW,kBAAmB,SAAQ,aAAa;IACvD,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/layout/screen-section/types.ts"],"names":[],"mappings":"","sourcesContent":["import type React from 'react';\n\nimport type { ZoraBaseProps } from '../../theme/ZoraBaseProps';\n\nexport interface ScreenSectionProps extends ZoraBaseProps {\n title?: React.ReactNode;\n description?: React.ReactNode;\n actions?: React.ReactNode;\n children?: React.ReactNode;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SettingsLayout.d.ts","sourceRoot":"","sources":["../../../src/layout/settings-layout/SettingsLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"SettingsLayout.d.ts","sourceRoot":"","sources":["../../../src/layout/settings-layout/SettingsLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAsBnD,eAAO,MAAM,cAAc,2DAA0C,CAAC"}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { AppBar } from '../../components/app-bar';
|
|
2
3
|
import { withZoraThemeScope } from '../../theme/withZoraThemeScope';
|
|
3
|
-
import {
|
|
4
|
-
import { PageHeader } from '../page-header';
|
|
4
|
+
import { Screen } from '../screen';
|
|
5
5
|
import { SidebarLayout } from '../sidebar-layout';
|
|
6
6
|
function SettingsLayoutInner({ themeId: _themeId, mode: _mode, title, description, sidebar, children, actions, testID, }) {
|
|
7
|
-
return (
|
|
8
|
-
<
|
|
9
|
-
|
|
7
|
+
return (<>
|
|
8
|
+
{title ? <AppBar actions={actions} subtitle={description} title={title}/> : null}
|
|
9
|
+
<Screen testID={testID}>
|
|
10
|
+
<SidebarLayout sidebar={sidebar}>{children}</SidebarLayout>
|
|
11
|
+
</Screen>
|
|
12
|
+
</>);
|
|
10
13
|
}
|
|
11
14
|
export const SettingsLayout = withZoraThemeScope(SettingsLayoutInner);
|
|
12
15
|
//# sourceMappingURL=SettingsLayout.js.map
|