@ankhorage/zora 1.4.7 → 1.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +262 -0
- package/dist/components/card/meta.d.ts +1 -1
- package/dist/foundation/meta.d.ts +4 -4
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/layout/auth-layout/meta.d.ts +1 -1
- package/dist/layout/page/meta.d.ts +1 -1
- package/dist/layout/page-section/meta.d.ts +1 -1
- package/dist/metadata/allowedChildren.d.ts +3 -3
- package/dist/metadata/allowedChildren.d.ts.map +1 -1
- package/dist/metadata/allowedChildren.js +2 -0
- package/dist/metadata/allowedChildren.js.map +1 -1
- package/dist/metadata/componentMeta.d.ts.map +1 -1
- package/dist/metadata/componentMeta.js +4 -0
- package/dist/metadata/componentMeta.js.map +1 -1
- package/dist/patterns/chat-list-item/ChatListItem.d.ts +4 -0
- package/dist/patterns/chat-list-item/ChatListItem.d.ts.map +1 -0
- package/dist/patterns/chat-list-item/ChatListItem.js +110 -0
- package/dist/patterns/chat-list-item/ChatListItem.js.map +1 -0
- package/dist/patterns/chat-list-item/index.d.ts +3 -0
- package/dist/patterns/chat-list-item/index.d.ts.map +1 -0
- package/dist/patterns/chat-list-item/index.js +2 -0
- package/dist/patterns/chat-list-item/index.js.map +1 -0
- package/dist/patterns/chat-list-item/meta.d.ts +74 -0
- package/dist/patterns/chat-list-item/meta.d.ts.map +1 -0
- package/dist/patterns/chat-list-item/meta.js +72 -0
- package/dist/patterns/chat-list-item/meta.js.map +1 -0
- package/dist/patterns/chat-list-item/types.d.ts +31 -0
- package/dist/patterns/chat-list-item/types.d.ts.map +1 -0
- package/dist/patterns/chat-list-item/types.js +2 -0
- package/dist/patterns/chat-list-item/types.js.map +1 -0
- package/dist/patterns/notice/meta.d.ts +1 -1
- package/dist/patterns/panel/meta.d.ts +1 -1
- package/dist/patterns/post-card/PostCard.d.ts +4 -0
- package/dist/patterns/post-card/PostCard.d.ts.map +1 -0
- package/dist/patterns/post-card/PostCard.js +133 -0
- package/dist/patterns/post-card/PostCard.js.map +1 -0
- package/dist/patterns/post-card/index.d.ts +3 -0
- package/dist/patterns/post-card/index.d.ts.map +1 -0
- package/dist/patterns/post-card/index.js +2 -0
- package/dist/patterns/post-card/index.js.map +1 -0
- package/dist/patterns/post-card/meta.d.ts +64 -0
- package/dist/patterns/post-card/meta.d.ts.map +1 -0
- package/dist/patterns/post-card/meta.js +66 -0
- package/dist/patterns/post-card/meta.js.map +1 -0
- package/dist/patterns/post-card/types.d.ts +64 -0
- package/dist/patterns/post-card/types.d.ts.map +1 -0
- package/dist/patterns/post-card/types.js +2 -0
- package/dist/patterns/post-card/types.js.map +1 -0
- package/package.json +1 -1
- package/src/index.ts +11 -0
- package/src/metadata/allowedChildren.ts +2 -0
- package/src/metadata/componentMeta.test.ts +2 -0
- package/src/metadata/componentMeta.ts +4 -0
- package/src/patterns/chat-list-item/ChatListItem.test.tsx +11 -0
- package/src/patterns/chat-list-item/ChatListItem.tsx +219 -0
- package/src/patterns/chat-list-item/index.ts +2 -0
- package/src/patterns/chat-list-item/meta.ts +74 -0
- package/src/patterns/chat-list-item/types.ts +33 -0
- package/src/patterns/post-card/PostCard.test.tsx +11 -0
- package/src/patterns/post-card/PostCard.tsx +234 -0
- package/src/patterns/post-card/index.ts +9 -0
- package/src/patterns/post-card/meta.ts +68 -0
- package/src/patterns/post-card/types.ts +71 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.4.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 7089849: Add a reusable ChatListItem pattern with showcase coverage.
|
|
8
|
+
|
|
9
|
+
## 1.4.8
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 66a035d: Add a reusable PostCard pattern with showcase coverage.
|
|
14
|
+
|
|
3
15
|
## 1.4.7
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -304,6 +304,7 @@ Metadata model overview:
|
|
|
304
304
|
<details>
|
|
305
305
|
<summary>Patterns</summary>
|
|
306
306
|
|
|
307
|
+
- `ChatListItem`
|
|
307
308
|
- `CollectionEditor`
|
|
308
309
|
- `ConfirmDialog`
|
|
309
310
|
- `DisclosureSection`
|
|
@@ -321,6 +322,7 @@ Metadata model overview:
|
|
|
321
322
|
- `OtpForm`
|
|
322
323
|
- `PaletteItem`
|
|
323
324
|
- `Panel`
|
|
325
|
+
- `PostCard`
|
|
324
326
|
- `ResponsivePanel`
|
|
325
327
|
- `SectionHeader`
|
|
326
328
|
- `SelectableItem`
|
|
@@ -1524,6 +1526,124 @@ No inherited props. `AuthLayoutProps` is declared directly by ZORA.
|
|
|
1524
1526
|
|
|
1525
1527
|
## Patterns
|
|
1526
1528
|
|
|
1529
|
+
### `ChatListItem`
|
|
1530
|
+
|
|
1531
|
+
Reusable conversation preview row with avatar, title, preview text, timestamp,
|
|
1532
|
+
unread state, selected/open state, and optional trailing content.
|
|
1533
|
+
|
|
1534
|
+
`ChatListItem` owns the anatomy of one conversation row. It does not own chat
|
|
1535
|
+
list rendering, virtualization, pagination, pull-to-refresh, search/filter state,
|
|
1536
|
+
data fetching, realtime behavior, message bubbles, or composer UI. Compose
|
|
1537
|
+
multiple rows with `Stack` for short/static groups, or use an app-owned
|
|
1538
|
+
`FlatList` for long dynamic chat lists.
|
|
1539
|
+
|
|
1540
|
+
```tsx
|
|
1541
|
+
import { ChatListItem, Stack } from '@ankhorage/zora';
|
|
1542
|
+
|
|
1543
|
+
export function ChatsPreview() {
|
|
1544
|
+
return (
|
|
1545
|
+
<Stack gap="none">
|
|
1546
|
+
<ChatListItem
|
|
1547
|
+
accessibilityLabel="Ada Lovelace, unread, 3 new messages, Can you review the new PostCard API?, 2 minutes ago"
|
|
1548
|
+
avatar={{ name: 'Ada Lovelace', tone: 'primary' }}
|
|
1549
|
+
preview="Can you review the new PostCard API?"
|
|
1550
|
+
timestamp="2m"
|
|
1551
|
+
title="Ada Lovelace"
|
|
1552
|
+
unread
|
|
1553
|
+
unreadCount={3}
|
|
1554
|
+
onPress={() => undefined}
|
|
1555
|
+
/>
|
|
1556
|
+
|
|
1557
|
+
<ChatListItem
|
|
1558
|
+
avatar={{ name: 'Grace Hopper', tone: 'success' }}
|
|
1559
|
+
preview="The build is green."
|
|
1560
|
+
timestamp="1h"
|
|
1561
|
+
title="Grace Hopper"
|
|
1562
|
+
onPress={() => undefined}
|
|
1563
|
+
/>
|
|
1564
|
+
|
|
1565
|
+
<ChatListItem
|
|
1566
|
+
avatar={{ initials: 'CI', label: 'Build system', tone: 'neutral' }}
|
|
1567
|
+
compact
|
|
1568
|
+
meta="Release automation"
|
|
1569
|
+
preview="Version packages completed for @ankhorage/zora."
|
|
1570
|
+
timestamp="Today"
|
|
1571
|
+
title="Build system"
|
|
1572
|
+
/>
|
|
1573
|
+
</Stack>
|
|
1574
|
+
);
|
|
1575
|
+
}
|
|
1576
|
+
```
|
|
1577
|
+
|
|
1578
|
+
For long dynamic chat lists, use an app-owned list renderer:
|
|
1579
|
+
|
|
1580
|
+
```tsx
|
|
1581
|
+
import { ChatListItem } from '@ankhorage/zora';
|
|
1582
|
+
import { FlatList } from 'react-native';
|
|
1583
|
+
|
|
1584
|
+
export function ThreadList({ threads }: { threads: Thread[] }) {
|
|
1585
|
+
return (
|
|
1586
|
+
<FlatList
|
|
1587
|
+
data={threads}
|
|
1588
|
+
keyExtractor={(thread) => thread.id}
|
|
1589
|
+
renderItem={({ item }) => (
|
|
1590
|
+
<ChatListItem
|
|
1591
|
+
avatar={{ name: item.title, source: item.avatar }}
|
|
1592
|
+
preview={item.preview}
|
|
1593
|
+
timestamp={item.timestamp}
|
|
1594
|
+
title={item.title}
|
|
1595
|
+
unread={item.unread}
|
|
1596
|
+
unreadCount={item.unreadCount}
|
|
1597
|
+
onPress={() => openThread(item.id)}
|
|
1598
|
+
/>
|
|
1599
|
+
)}
|
|
1600
|
+
/>
|
|
1601
|
+
);
|
|
1602
|
+
}
|
|
1603
|
+
```
|
|
1604
|
+
|
|
1605
|
+
<details>
|
|
1606
|
+
<summary>Props</summary>
|
|
1607
|
+
|
|
1608
|
+
ZORA props:
|
|
1609
|
+
|
|
1610
|
+
| Prop | Type | Default | Notes |
|
|
1611
|
+
| -------------------- | ----------------- | ------- | -------------------------------------------------------------------- |
|
|
1612
|
+
| `title` | `React.ReactNode` | - | Required row title, usually the person, group, or conversation name. |
|
|
1613
|
+
| `preview` | `React.ReactNode` | - | Optional last message or conversation preview. |
|
|
1614
|
+
| `meta` | `React.ReactNode` | - | Optional secondary metadata under the preview. |
|
|
1615
|
+
| `timestamp` | `React.ReactNode` | - | Optional trailing timestamp/meta in the title row. |
|
|
1616
|
+
| `avatar` | `ChatListAvatar` | - | Optional avatar configuration. |
|
|
1617
|
+
| `leading` | `React.ReactNode` | - | Optional custom leading slot. Overrides the generated avatar. |
|
|
1618
|
+
| `trailing` | `React.ReactNode` | - | Optional trailing slot in the secondary row. |
|
|
1619
|
+
| `unread` | `boolean` | `false` | Emphasizes title/preview/timestamp as unread. |
|
|
1620
|
+
| `unreadCount` | `React.ReactNode` | - | Optional unread count badge content. |
|
|
1621
|
+
| `selected` | `boolean` | `false` | Marks the row as selected/open. |
|
|
1622
|
+
| `disabled` | `boolean` | `false` | Disables press handling and renders muted row state. |
|
|
1623
|
+
| `compact` | `boolean` | `false` | Uses tighter vertical padding and smaller avatar defaults. |
|
|
1624
|
+
| `accessibilityLabel` | `string` | - | Optional explicit label for interactive rows. |
|
|
1625
|
+
| `onPress` | `() => void` | - | Makes the row pressable. |
|
|
1626
|
+
| `testID` | `string` | - | Test id forwarded to the root row/pressable. |
|
|
1627
|
+
|
|
1628
|
+
`ChatListAvatar`:
|
|
1629
|
+
|
|
1630
|
+
| Prop | Type | Notes |
|
|
1631
|
+
| ---------- | --------------------- | ------------------------------------------ |
|
|
1632
|
+
| `source` | `ImageSourcePropType` | Optional avatar image source. |
|
|
1633
|
+
| `name` | `string` | Used for fallback initials when available. |
|
|
1634
|
+
| `initials` | `string` | Explicit fallback initials. |
|
|
1635
|
+
| `label` | `string` | Accessibility label. |
|
|
1636
|
+
| `size` | `AvatarSize` | Optional avatar size override. |
|
|
1637
|
+
| `shape` | `AvatarShape` | Optional avatar shape override. |
|
|
1638
|
+
| `tone` | `ZoraTone` | Optional fallback tone. |
|
|
1639
|
+
|
|
1640
|
+
Inherited props:
|
|
1641
|
+
|
|
1642
|
+
No raw style escape hatch is exposed by `ChatListItem`. It uses the underlying
|
|
1643
|
+
ZORA `Avatar`, `Badge`, `Text`, and layout primitives internally.
|
|
1644
|
+
|
|
1645
|
+
</details>
|
|
1646
|
+
|
|
1527
1647
|
### `FormField`
|
|
1528
1648
|
|
|
1529
1649
|
Form field wrapper with rich label composition, description, helper text, and
|
|
@@ -1764,6 +1884,148 @@ No inherited props. `PanelProps` is declared directly by ZORA.
|
|
|
1764
1884
|
|
|
1765
1885
|
</details>
|
|
1766
1886
|
|
|
1887
|
+
### `PostCard`
|
|
1888
|
+
|
|
1889
|
+
Reusable social/content post surface with author identity, optional media,
|
|
1890
|
+
interaction actions, and lightweight comment previews.
|
|
1891
|
+
|
|
1892
|
+
`PostCard` owns the anatomy of one post. It does not own feed rendering,
|
|
1893
|
+
virtualization, pagination, pull-to-refresh, search/filter state, data fetching,
|
|
1894
|
+
or realtime behavior. Compose multiple posts with `Stack` for short/static
|
|
1895
|
+
groups, or use an app-owned `FlatList` for long dynamic feeds.
|
|
1896
|
+
|
|
1897
|
+
```tsx
|
|
1898
|
+
import { IconButton, PostCard, Stack } from '@ankhorage/zora';
|
|
1899
|
+
|
|
1900
|
+
export function PostsPreview() {
|
|
1901
|
+
return (
|
|
1902
|
+
<Stack gap="m">
|
|
1903
|
+
<PostCard
|
|
1904
|
+
author={{
|
|
1905
|
+
name: 'Ada Lovelace',
|
|
1906
|
+
subtitle: '@ada · 2h',
|
|
1907
|
+
avatar: { name: 'Ada Lovelace', tone: 'primary' },
|
|
1908
|
+
}}
|
|
1909
|
+
headerAction={
|
|
1910
|
+
<IconButton icon={{ name: 'ellipsis-horizontal-outline' }} label="More post options" />
|
|
1911
|
+
}
|
|
1912
|
+
text="Working on a reusable social pattern for ZORA."
|
|
1913
|
+
actions={[
|
|
1914
|
+
{ id: 'like', label: 'Like', icon: { name: 'heart-outline' }, count: 24 },
|
|
1915
|
+
{
|
|
1916
|
+
id: 'comment',
|
|
1917
|
+
label: 'Comment',
|
|
1918
|
+
icon: { name: 'chatbubble-outline' },
|
|
1919
|
+
count: 5,
|
|
1920
|
+
},
|
|
1921
|
+
{ id: 'share', label: 'Share', icon: { name: 'share-outline' } },
|
|
1922
|
+
]}
|
|
1923
|
+
comments={[
|
|
1924
|
+
{
|
|
1925
|
+
id: 'comment-1',
|
|
1926
|
+
author: {
|
|
1927
|
+
name: 'Grace Hopper',
|
|
1928
|
+
subtitle: '1h',
|
|
1929
|
+
avatar: { name: 'Grace Hopper', tone: 'success' },
|
|
1930
|
+
},
|
|
1931
|
+
text: 'The card/list boundary feels right.',
|
|
1932
|
+
},
|
|
1933
|
+
]}
|
|
1934
|
+
/>
|
|
1935
|
+
|
|
1936
|
+
<PostCard
|
|
1937
|
+
compact
|
|
1938
|
+
tone="subtle"
|
|
1939
|
+
author={{
|
|
1940
|
+
name: 'Build system',
|
|
1941
|
+
subtitle: 'Today · release notes',
|
|
1942
|
+
avatar: { initials: 'CI', label: 'Build system', tone: 'neutral' },
|
|
1943
|
+
}}
|
|
1944
|
+
text="Compact density works well for notification-style posts."
|
|
1945
|
+
/>
|
|
1946
|
+
</Stack>
|
|
1947
|
+
);
|
|
1948
|
+
}
|
|
1949
|
+
```
|
|
1950
|
+
|
|
1951
|
+
<details>
|
|
1952
|
+
<summary>Props</summary>
|
|
1953
|
+
|
|
1954
|
+
ZORA props:
|
|
1955
|
+
|
|
1956
|
+
| Prop | Type | Default | Notes |
|
|
1957
|
+
| -------------- | ---------------------------------- | ----------- | ------------------------------------------------------------------ |
|
|
1958
|
+
| `author` | `PostAuthor` | - | Required author identity with name, optional subtitle, and avatar. |
|
|
1959
|
+
| `text` | `React.ReactNode` | - | Main post copy. |
|
|
1960
|
+
| `children` | `React.ReactNode` | - | Optional custom body content rendered after `text`. |
|
|
1961
|
+
| `media` | `PostCardMedia \| PostCardMedia[]` | - | Optional source-backed media or custom media slot. |
|
|
1962
|
+
| `actions` | `PostAction[]` | `[]` | Optional interaction row actions such as like/comment/share. |
|
|
1963
|
+
| `comments` | `PostCommentPreview[]` | `[]` | Optional lightweight comment preview rows. |
|
|
1964
|
+
| `headerAction` | `React.ReactNode` | - | Optional trailing header action; disables card-level `onPress`. |
|
|
1965
|
+
| `footer` | `React.ReactNode` | - | Optional footer content below actions/comments. |
|
|
1966
|
+
| `tone` | `ZoraCardTone` | `'default'` | Passed to the underlying `Card`. |
|
|
1967
|
+
| `compact` | `boolean` | `false` | Uses tighter spacing and smaller avatar defaults. |
|
|
1968
|
+
| `onPress` | `() => void` | - | Makes the card pressable when no `headerAction` is present. |
|
|
1969
|
+
| `testID` | `string` | - | Forwarded to the underlying card. |
|
|
1970
|
+
|
|
1971
|
+
`PostAuthor`:
|
|
1972
|
+
|
|
1973
|
+
| Prop | Type | Notes |
|
|
1974
|
+
| ---------- | ------------------ | ----------------------------------------- |
|
|
1975
|
+
| `name` | `React.ReactNode` | Display name. |
|
|
1976
|
+
| `subtitle` | `React.ReactNode` | Optional handle, timestamp, or meta text. |
|
|
1977
|
+
| `avatar` | `PostAuthorAvatar` | Optional avatar configuration. |
|
|
1978
|
+
|
|
1979
|
+
`PostAuthorAvatar`:
|
|
1980
|
+
|
|
1981
|
+
| Prop | Type | Notes |
|
|
1982
|
+
| ---------- | --------------------- | ------------------------------------------ |
|
|
1983
|
+
| `source` | `ImageSourcePropType` | Optional avatar image source. |
|
|
1984
|
+
| `name` | `string` | Used for fallback initials when available. |
|
|
1985
|
+
| `initials` | `string` | Explicit fallback initials. |
|
|
1986
|
+
| `label` | `string` | Accessibility label. |
|
|
1987
|
+
| `size` | `AvatarSize` | Optional avatar size override. |
|
|
1988
|
+
| `shape` | `AvatarShape` | Optional avatar shape override. |
|
|
1989
|
+
| `tone` | `ZoraTone` | Optional fallback tone. |
|
|
1990
|
+
|
|
1991
|
+
`PostCardMedia`:
|
|
1992
|
+
|
|
1993
|
+
| Prop | Type | Notes |
|
|
1994
|
+
| ------------- | --------------------- | ---------------------------------------------------- |
|
|
1995
|
+
| `source` | `ImageSourcePropType` | Source-backed media. Requires `label`. |
|
|
1996
|
+
| `label` | `string` | Accessibility label for source-backed media. |
|
|
1997
|
+
| `aspectRatio` | `number` | Optional aspect ratio. Defaults to `16 / 9`. |
|
|
1998
|
+
| `children` | `React.ReactNode` | Custom media slot, mutually exclusive with `source`. |
|
|
1999
|
+
|
|
2000
|
+
`PostAction`:
|
|
2001
|
+
|
|
2002
|
+
| Prop | Type | Notes |
|
|
2003
|
+
| ---------- | ----------------- | ---------------------------------------- |
|
|
2004
|
+
| `id` | `string` | Stable action key. |
|
|
2005
|
+
| `label` | `string` | Action label. |
|
|
2006
|
+
| `icon` | `ButtonIconSpec` | Optional leading icon. |
|
|
2007
|
+
| `count` | `React.ReactNode` | Optional count rendered after the label. |
|
|
2008
|
+
| `selected` | `boolean` | Uses primary/soft action styling. |
|
|
2009
|
+
| `disabled` | `boolean` | Disables the action. |
|
|
2010
|
+
| `onPress` | `() => void` | Optional press handler. |
|
|
2011
|
+
|
|
2012
|
+
`PostCommentPreview`:
|
|
2013
|
+
|
|
2014
|
+
| Prop | Type | Notes |
|
|
2015
|
+
| -------- | ----------------- | --------------------------------------- |
|
|
2016
|
+
| `id` | `string` | Stable comment key. |
|
|
2017
|
+
| `author` | `PostAuthor` | Optional comment author. |
|
|
2018
|
+
| `text` | `React.ReactNode` | Comment preview text. |
|
|
2019
|
+
| `meta` | `React.ReactNode` | Optional timestamp or comment metadata. |
|
|
2020
|
+
| `action` | `React.ReactNode` | Optional custom comment action. |
|
|
2021
|
+
|
|
2022
|
+
Inherited props:
|
|
2023
|
+
|
|
2024
|
+
No raw style escape hatch is exposed by `PostCard`. It uses the underlying ZORA
|
|
2025
|
+
`Card`, `Avatar`, `Text`, `Button`, and layout primitives internally.
|
|
2026
|
+
|
|
2027
|
+
</details>
|
|
2028
|
+
|
|
1767
2029
|
### `SectionHeader`
|
|
1768
2030
|
|
|
1769
2031
|
Reusable section heading with optional eyebrow, description, and actions.
|
|
@@ -2,7 +2,7 @@ export declare const cardMeta: {
|
|
|
2
2
|
readonly name: "Card";
|
|
3
3
|
readonly category: "component";
|
|
4
4
|
readonly directManifestNode: true;
|
|
5
|
-
readonly allowedChildren: readonly ["Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Button", "Input", "Textarea", "FormField", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow"];
|
|
5
|
+
readonly allowedChildren: readonly ["Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Button", "Input", "Textarea", "FormField", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem"];
|
|
6
6
|
readonly blueprint: {
|
|
7
7
|
readonly label: "Card";
|
|
8
8
|
readonly defaultProps: {
|
|
@@ -3,7 +3,7 @@ export declare const foundationMetas: {
|
|
|
3
3
|
readonly name: "Box";
|
|
4
4
|
readonly category: "foundation";
|
|
5
5
|
readonly directManifestNode: true;
|
|
6
|
-
readonly allowedChildren: readonly ["Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Button", "Input", "Textarea", "FormField", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow"];
|
|
6
|
+
readonly allowedChildren: readonly ["Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Button", "Input", "Textarea", "FormField", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem"];
|
|
7
7
|
readonly blueprint: {
|
|
8
8
|
readonly label: "Box";
|
|
9
9
|
};
|
|
@@ -21,7 +21,7 @@ export declare const foundationMetas: {
|
|
|
21
21
|
readonly name: "Container";
|
|
22
22
|
readonly category: "foundation";
|
|
23
23
|
readonly directManifestNode: true;
|
|
24
|
-
readonly allowedChildren: readonly ["Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Button", "Input", "Textarea", "FormField", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow"];
|
|
24
|
+
readonly allowedChildren: readonly ["Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Button", "Input", "Textarea", "FormField", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem"];
|
|
25
25
|
readonly blueprint: {
|
|
26
26
|
readonly label: "Container";
|
|
27
27
|
};
|
|
@@ -41,7 +41,7 @@ export declare const foundationMetas: {
|
|
|
41
41
|
readonly name: "Grid";
|
|
42
42
|
readonly category: "foundation";
|
|
43
43
|
readonly directManifestNode: true;
|
|
44
|
-
readonly allowedChildren: readonly ["Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Button", "Input", "Textarea", "FormField", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow"];
|
|
44
|
+
readonly allowedChildren: readonly ["Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Button", "Input", "Textarea", "FormField", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem"];
|
|
45
45
|
readonly blueprint: {
|
|
46
46
|
readonly label: "Grid";
|
|
47
47
|
};
|
|
@@ -75,7 +75,7 @@ export declare const foundationMetas: {
|
|
|
75
75
|
readonly name: "Stack";
|
|
76
76
|
readonly category: "foundation";
|
|
77
77
|
readonly directManifestNode: true;
|
|
78
|
-
readonly allowedChildren: readonly ["Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Button", "Input", "Textarea", "FormField", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow"];
|
|
78
|
+
readonly allowedChildren: readonly ["Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Button", "Input", "Textarea", "FormField", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem"];
|
|
79
79
|
readonly blueprint: {
|
|
80
80
|
readonly label: "Stack";
|
|
81
81
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -80,6 +80,8 @@ export type { ZoraComponentBlueprint, ZoraComponentCategory, ZoraComponentI18nMe
|
|
|
80
80
|
export { ZORA_COMPONENT_META } from './metadata';
|
|
81
81
|
export type { AuthFormBaseProps, AuthIdentifierKind, ForgotPasswordFormProps, ForgotPasswordFormValues, OtpFormProps, OtpFormValues, SignInFormProps, SignInFormValues, SignUpFormField, SignUpFormProps, SignUpFormValues, } from './patterns/auth';
|
|
82
82
|
export { ForgotPasswordForm, OtpForm, SignInForm, SignUpForm } from './patterns/auth';
|
|
83
|
+
export type { ChatListAvatar, ChatListItemProps } from './patterns/chat-list-item';
|
|
84
|
+
export { ChatListItem } from './patterns/chat-list-item';
|
|
83
85
|
export type { CollectionEditorProps, CollectionEditorRenderItemProps, } from './patterns/collection-editor';
|
|
84
86
|
export { CollectionEditor } from './patterns/collection-editor';
|
|
85
87
|
export type { ConfirmDialogProps } from './patterns/confirm-dialog';
|
|
@@ -104,6 +106,8 @@ export type { NoticeProps } from './patterns/notice';
|
|
|
104
106
|
export { Notice } from './patterns/notice';
|
|
105
107
|
export type { PanelProps } from './patterns/panel';
|
|
106
108
|
export { Panel } from './patterns/panel';
|
|
109
|
+
export type { PostAction, PostAuthor, PostAuthorAvatar, PostCardMedia, PostCardProps, PostCommentPreview, } from './patterns/post-card';
|
|
110
|
+
export { PostCard } from './patterns/post-card';
|
|
107
111
|
export type { ResponsivePanelDesktopMode, ResponsivePanelMobileMode, ResponsivePanelProps, ResponsivePanelSide, } from './patterns/responsive-panel';
|
|
108
112
|
export { ResponsivePanel } from './patterns/responsive-panel';
|
|
109
113
|
export type { SectionHeaderProps } from './patterns/section-header';
|
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,MAAM,sBAAsB,CAAC;AAC1F,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AACpE,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AACnF,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,YAAY,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,YAAY,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,YAAY,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,YAAY,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACpG,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAChE,YAAY,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;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gBAAgB,EAChB,kBAAkB,GACnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACvF,YAAY,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,YAAY,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,YAAY,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,YAAY,EAAE,gBAAgB,EAAE,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
|
@@ -39,6 +39,7 @@ export { SidebarLayout } from './layout/sidebar-layout';
|
|
|
39
39
|
export { TopbarLayout } from './layout/topbar-layout';
|
|
40
40
|
export { ZORA_COMPONENT_META } from './metadata';
|
|
41
41
|
export { ForgotPasswordForm, OtpForm, SignInForm, SignUpForm } from './patterns/auth';
|
|
42
|
+
export { ChatListItem } from './patterns/chat-list-item';
|
|
42
43
|
export { CollectionEditor } from './patterns/collection-editor';
|
|
43
44
|
export { ConfirmDialog } from './patterns/confirm-dialog';
|
|
44
45
|
export { DisclosureSection } from './patterns/disclosure-section';
|
|
@@ -51,6 +52,7 @@ export { InspectorField } from './patterns/inspector-field';
|
|
|
51
52
|
export { List, ListRow, ListSection } from './patterns/list';
|
|
52
53
|
export { Notice } from './patterns/notice';
|
|
53
54
|
export { Panel } from './patterns/panel';
|
|
55
|
+
export { PostCard } from './patterns/post-card';
|
|
54
56
|
export { ResponsivePanel } from './patterns/responsive-panel';
|
|
55
57
|
export { SectionHeader } from './patterns/section-header';
|
|
56
58
|
export { SelectableItem, SelectionProvider, useSelection } from './patterns/selection';
|
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,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,EAC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,eAAe,EAAE,MAAM,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 { 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 {\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 { NoticeProps } from './patterns/notice';\nexport { Notice } from './patterns/notice';\nexport type { PanelProps } from './patterns/panel';\nexport { Panel } from './patterns/panel';\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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EAAE,MAAM,iBAAiB,CAAC;AAE7D,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AASzC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAOhD,OAAO,EAAE,eAAe,EAAE,MAAM,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 { 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 { 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"]}
|
|
@@ -2,7 +2,7 @@ export declare const authLayoutMeta: {
|
|
|
2
2
|
readonly name: "AuthLayout";
|
|
3
3
|
readonly category: "layout";
|
|
4
4
|
readonly directManifestNode: true;
|
|
5
|
-
readonly allowedChildren: readonly ["Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Button", "Input", "Textarea", "FormField", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow"];
|
|
5
|
+
readonly allowedChildren: readonly ["Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Button", "Input", "Textarea", "FormField", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem"];
|
|
6
6
|
readonly blueprint: {
|
|
7
7
|
readonly label: "Auth layout";
|
|
8
8
|
readonly defaultProps: {
|
|
@@ -2,7 +2,7 @@ export declare const pageMeta: {
|
|
|
2
2
|
readonly name: "Page";
|
|
3
3
|
readonly category: "layout";
|
|
4
4
|
readonly directManifestNode: true;
|
|
5
|
-
readonly allowedChildren: readonly ["PageHeader", "PageSection", "Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Button", "Input", "Textarea", "FormField", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow"];
|
|
5
|
+
readonly allowedChildren: readonly ["PageHeader", "PageSection", "Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Button", "Input", "Textarea", "FormField", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem"];
|
|
6
6
|
readonly blueprint: {
|
|
7
7
|
readonly label: "Page";
|
|
8
8
|
};
|
|
@@ -2,7 +2,7 @@ export declare const pageSectionMeta: {
|
|
|
2
2
|
readonly name: "PageSection";
|
|
3
3
|
readonly category: "layout";
|
|
4
4
|
readonly directManifestNode: true;
|
|
5
|
-
readonly allowedChildren: readonly ["Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Button", "Input", "Textarea", "FormField", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow"];
|
|
5
|
+
readonly allowedChildren: readonly ["Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Button", "Input", "Textarea", "FormField", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem"];
|
|
6
6
|
readonly blueprint: {
|
|
7
7
|
readonly label: "Page section";
|
|
8
8
|
readonly defaultProps: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const CONTAINER_ALLOWED_CHILDREN: readonly ["Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Button", "Input", "Textarea", "FormField", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow"];
|
|
2
|
-
export declare const PAGE_SECTION_ALLOWED_CHILDREN: readonly ["Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Button", "Input", "Textarea", "FormField", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow"];
|
|
3
|
-
export declare const PAGE_ALLOWED_CHILDREN: readonly ["PageHeader", "PageSection", "Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Button", "Input", "Textarea", "FormField", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow"];
|
|
1
|
+
export declare const CONTAINER_ALLOWED_CHILDREN: readonly ["Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Button", "Input", "Textarea", "FormField", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem"];
|
|
2
|
+
export declare const PAGE_SECTION_ALLOWED_CHILDREN: readonly ["Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Button", "Input", "Textarea", "FormField", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem"];
|
|
3
|
+
export declare const PAGE_ALLOWED_CHILDREN: readonly ["PageHeader", "PageSection", "Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Button", "Input", "Textarea", "FormField", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem"];
|
|
4
4
|
//# sourceMappingURL=allowedChildren.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allowedChildren.d.ts","sourceRoot":"","sources":["../../src/metadata/allowedChildren.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,
|
|
1
|
+
{"version":3,"file":"allowedChildren.d.ts","sourceRoot":"","sources":["../../src/metadata/allowedChildren.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,+NAoB7B,CAAC;AAEX,eAAO,MAAM,6BAA6B,+NAA2C,CAAC;AAEtF,eAAO,MAAM,qBAAqB,4PAIxB,CAAC"}
|
|
@@ -16,6 +16,8 @@ export const CONTAINER_ALLOWED_CHILDREN = [
|
|
|
16
16
|
'EmptyState',
|
|
17
17
|
'SectionHeader',
|
|
18
18
|
'SettingsRow',
|
|
19
|
+
'PostCard',
|
|
20
|
+
'ChatListItem',
|
|
19
21
|
];
|
|
20
22
|
export const PAGE_SECTION_ALLOWED_CHILDREN = [...CONTAINER_ALLOWED_CHILDREN];
|
|
21
23
|
export const PAGE_ALLOWED_CHILDREN = [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allowedChildren.js","sourceRoot":"","sources":["../../src/metadata/allowedChildren.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,KAAK;IACL,OAAO;IACP,MAAM;IACN,WAAW;IACX,SAAS;IACT,MAAM;IACN,SAAS;IACT,QAAQ;IACR,OAAO;IACP,UAAU;IACV,WAAW;IACX,MAAM;IACN,OAAO;IACP,QAAQ;IACR,YAAY;IACZ,eAAe;IACf,aAAa;
|
|
1
|
+
{"version":3,"file":"allowedChildren.js","sourceRoot":"","sources":["../../src/metadata/allowedChildren.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,KAAK;IACL,OAAO;IACP,MAAM;IACN,WAAW;IACX,SAAS;IACT,MAAM;IACN,SAAS;IACT,QAAQ;IACR,OAAO;IACP,UAAU;IACV,WAAW;IACX,MAAM;IACN,OAAO;IACP,QAAQ;IACR,YAAY;IACZ,eAAe;IACf,aAAa;IACb,UAAU;IACV,cAAc;CACN,CAAC;AAEX,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,GAAG,0BAA0B,CAAU,CAAC;AAEtF,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,YAAY;IACZ,aAAa;IACb,GAAG,0BAA0B;CACrB,CAAC","sourcesContent":["export const CONTAINER_ALLOWED_CHILDREN = [\n 'Box',\n 'Stack',\n 'Grid',\n 'Container',\n 'Divider',\n 'Text',\n 'Heading',\n 'Button',\n 'Input',\n 'Textarea',\n 'FormField',\n 'Card',\n 'Panel',\n 'Notice',\n 'EmptyState',\n 'SectionHeader',\n 'SettingsRow',\n 'PostCard',\n 'ChatListItem',\n] as const;\n\nexport const PAGE_SECTION_ALLOWED_CHILDREN = [...CONTAINER_ALLOWED_CHILDREN] as const;\n\nexport const PAGE_ALLOWED_CHILDREN = [\n 'PageHeader',\n 'PageSection',\n ...CONTAINER_ALLOWED_CHILDREN,\n] as const;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"componentMeta.d.ts","sourceRoot":"","sources":["../../src/metadata/componentMeta.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"componentMeta.d.ts","sourceRoot":"","sources":["../../src/metadata/componentMeta.ts"],"names":[],"mappings":"AAsEA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAEzD,eAAO,MAAM,mBAAmB,EAAE,yBAgFjC,CAAC"}
|
|
@@ -38,6 +38,7 @@ import { settingsLayoutMeta } from '../layout/settings-layout/meta';
|
|
|
38
38
|
import { sidebarLayoutMeta } from '../layout/sidebar-layout/meta';
|
|
39
39
|
import { topbarLayoutMeta } from '../layout/topbar-layout/meta';
|
|
40
40
|
import { forgotPasswordFormMeta, otpFormMeta, signInFormMeta, signUpFormMeta, } from '../patterns/auth/meta';
|
|
41
|
+
import { chatListItemMeta } from '../patterns/chat-list-item/meta';
|
|
41
42
|
import { collectionEditorMeta } from '../patterns/collection-editor/meta';
|
|
42
43
|
import { confirmDialogMeta } from '../patterns/confirm-dialog/meta';
|
|
43
44
|
import { disclosureSectionMeta } from '../patterns/disclosure-section/meta';
|
|
@@ -50,6 +51,7 @@ import { inspectorFieldMeta } from '../patterns/inspector-field/meta';
|
|
|
50
51
|
import { listMeta, listRowMeta, listSectionMeta } from '../patterns/list/meta';
|
|
51
52
|
import { noticeMeta } from '../patterns/notice/meta';
|
|
52
53
|
import { panelMeta } from '../patterns/panel/meta';
|
|
54
|
+
import { postCardMeta } from '../patterns/post-card/meta';
|
|
53
55
|
import { responsivePanelMeta } from '../patterns/responsive-panel/meta';
|
|
54
56
|
import { sectionHeaderMeta } from '../patterns/section-header/meta';
|
|
55
57
|
import { selectableItemMeta, selectionProviderMeta } from '../patterns/selection/meta';
|
|
@@ -111,6 +113,7 @@ export const ZORA_COMPONENT_META = {
|
|
|
111
113
|
OtpForm: otpFormMeta,
|
|
112
114
|
SignInForm: signInFormMeta,
|
|
113
115
|
SignUpForm: signUpFormMeta,
|
|
116
|
+
ChatListItem: chatListItemMeta,
|
|
114
117
|
CollectionEditor: collectionEditorMeta,
|
|
115
118
|
ConfirmDialog: confirmDialogMeta,
|
|
116
119
|
DisclosureSection: disclosureSectionMeta,
|
|
@@ -125,6 +128,7 @@ export const ZORA_COMPONENT_META = {
|
|
|
125
128
|
ListSection: listSectionMeta,
|
|
126
129
|
Notice: noticeMeta,
|
|
127
130
|
Panel: panelMeta,
|
|
131
|
+
PostCard: postCardMeta,
|
|
128
132
|
ResponsivePanel: responsivePanelMeta,
|
|
129
133
|
SectionHeader: sectionHeaderMeta,
|
|
130
134
|
SelectableItem: selectableItemMeta,
|