@ankhorage/zora 1.4.8 → 1.4.10
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 +222 -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/message-bubble/MessageBubble.d.ts +4 -0
- package/dist/patterns/message-bubble/MessageBubble.d.ts.map +1 -0
- package/dist/patterns/message-bubble/MessageBubble.js +126 -0
- package/dist/patterns/message-bubble/MessageBubble.js.map +1 -0
- package/dist/patterns/message-bubble/index.d.ts +3 -0
- package/dist/patterns/message-bubble/index.d.ts.map +1 -0
- package/dist/patterns/message-bubble/index.js +2 -0
- package/dist/patterns/message-bubble/index.js.map +1 -0
- package/dist/patterns/message-bubble/meta.d.ts +67 -0
- package/dist/patterns/message-bubble/meta.d.ts.map +1 -0
- package/dist/patterns/message-bubble/meta.js +66 -0
- package/dist/patterns/message-bubble/meta.js.map +1 -0
- package/dist/patterns/message-bubble/types.d.ts +40 -0
- package/dist/patterns/message-bubble/types.d.ts.map +1 -0
- package/dist/patterns/message-bubble/types.js +2 -0
- package/dist/patterns/message-bubble/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/meta.d.ts +1 -1
- package/package.json +1 -1
- package/src/index.ts +10 -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/message-bubble/MessageBubble.tsx +261 -0
- package/src/patterns/message-bubble/index.ts +8 -0
- package/src/patterns/message-bubble/meta.ts +68 -0
- package/src/patterns/message-bubble/types.ts +43 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.4.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 59de5b0: Add a reusable MessageBubble pattern with metadata, exports, and showcase coverage.
|
|
8
|
+
|
|
9
|
+
## 1.4.9
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 7089849: Add a reusable ChatListItem pattern with showcase coverage.
|
|
14
|
+
|
|
3
15
|
## 1.4.8
|
|
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`
|
|
@@ -1525,6 +1526,124 @@ No inherited props. `AuthLayoutProps` is declared directly by ZORA.
|
|
|
1525
1526
|
|
|
1526
1527
|
## Patterns
|
|
1527
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
|
+
|
|
1528
1647
|
### `FormField`
|
|
1529
1648
|
|
|
1530
1649
|
Form field wrapper with rich label composition, description, helper text, and
|
|
@@ -2372,6 +2491,109 @@ Inherits all `FormField` props.
|
|
|
2372
2491
|
|
|
2373
2492
|
</details>
|
|
2374
2493
|
|
|
2494
|
+
### `MessageBubble`
|
|
2495
|
+
|
|
2496
|
+
Reusable chat/message bubble for rendering one message. Use `MessageBubble` for
|
|
2497
|
+
message anatomy only; the surrounding screen owns scrolling, keyboard handling,
|
|
2498
|
+
pagination, realtime updates, data fetching, and composer behavior.
|
|
2499
|
+
|
|
2500
|
+
```tsx
|
|
2501
|
+
import { MessageBubble, Stack } from '@ankhorage/zora';
|
|
2502
|
+
|
|
2503
|
+
<Stack gap="s">
|
|
2504
|
+
<MessageBubble
|
|
2505
|
+
direction="incoming"
|
|
2506
|
+
author={{
|
|
2507
|
+
name: 'Ada Lovelace',
|
|
2508
|
+
avatar: { name: 'Ada Lovelace', tone: 'primary' },
|
|
2509
|
+
}}
|
|
2510
|
+
text="Can you review the new ChatListItem API?"
|
|
2511
|
+
timestamp="10:41"
|
|
2512
|
+
/>
|
|
2513
|
+
|
|
2514
|
+
<MessageBubble
|
|
2515
|
+
direction="outgoing"
|
|
2516
|
+
text="Yes, the row/list boundary looks correct."
|
|
2517
|
+
timestamp="10:42"
|
|
2518
|
+
status="read"
|
|
2519
|
+
/>
|
|
2520
|
+
|
|
2521
|
+
<MessageBubble direction="system" compact text="Today" />
|
|
2522
|
+
</Stack>;
|
|
2523
|
+
```
|
|
2524
|
+
|
|
2525
|
+
For long conversations, render `MessageBubble` inside an app-owned list renderer:
|
|
2526
|
+
|
|
2527
|
+
```tsx
|
|
2528
|
+
import { FlatList } from 'react-native';
|
|
2529
|
+
import { MessageBubble } from '@ankhorage/zora';
|
|
2530
|
+
|
|
2531
|
+
<FlatList
|
|
2532
|
+
data={messages}
|
|
2533
|
+
keyExtractor={(message) => message.id}
|
|
2534
|
+
renderItem={({ item }) => <MessageBubble {...item} />}
|
|
2535
|
+
/>;
|
|
2536
|
+
```
|
|
2537
|
+
|
|
2538
|
+
Do not use `MessageBubble` as a chat screen, thread manager, composer, or data
|
|
2539
|
+
adapter. Future chat/thread abstractions can compose it without changing the
|
|
2540
|
+
bubble API.
|
|
2541
|
+
|
|
2542
|
+
<details>
|
|
2543
|
+
<summary>Props</summary>
|
|
2544
|
+
|
|
2545
|
+
ZORA props:
|
|
2546
|
+
|
|
2547
|
+
| Prop | Type | Default | Notes |
|
|
2548
|
+
| -------------------- | ---------------------------------------- | ------------ | ---------------------------------------------------------------------- |
|
|
2549
|
+
| `direction` | `'incoming' \| 'outgoing' \| 'system'` | `'incoming'` | Controls alignment and visual treatment. |
|
|
2550
|
+
| `text` | `React.ReactNode` | - | Main message text. |
|
|
2551
|
+
| `children` | `React.ReactNode` | - | Custom body slot inside the bubble. |
|
|
2552
|
+
| `author` | `MessageBubbleAuthor` | - | Optional author label/avatar for incoming/group messages. |
|
|
2553
|
+
| `timestamp` | `React.ReactNode` | - | Optional timestamp rendered in the bubble meta row. |
|
|
2554
|
+
| `meta` | `React.ReactNode` | - | Additional meta text. |
|
|
2555
|
+
| `status` | `MessageBubbleStatus \| React.ReactNode` | - | Delivery/read status presentation only; no delivery logic is included. |
|
|
2556
|
+
| `leading` | `React.ReactNode` | - | Optional leading slot. |
|
|
2557
|
+
| `trailing` | `React.ReactNode` | - | Optional trailing slot. |
|
|
2558
|
+
| `footer` | `React.ReactNode` | - | Optional footer below the bubble. |
|
|
2559
|
+
| `selected` | `boolean` | `false` | Highlight/selection state for previews and authoring. |
|
|
2560
|
+
| `disabled` | `boolean` | `false` | Muted/disabled presentation and disabled press handling. |
|
|
2561
|
+
| `compact` | `boolean` | `false` | Uses tighter spacing and a smaller max width. |
|
|
2562
|
+
| `accessibilityLabel` | `string` | - | Accessible label used when the bubble is pressable. |
|
|
2563
|
+
| `onPress` | `() => void` | - | Makes the bubble pressable. |
|
|
2564
|
+
| `testID` | `string` | - | Test id. |
|
|
2565
|
+
|
|
2566
|
+
`MessageBubbleStatus`:
|
|
2567
|
+
|
|
2568
|
+
```ts
|
|
2569
|
+
type MessageBubbleStatus = 'sending' | 'sent' | 'delivered' | 'read' | 'failed';
|
|
2570
|
+
```
|
|
2571
|
+
|
|
2572
|
+
`MessageBubbleAuthor`:
|
|
2573
|
+
|
|
2574
|
+
| Prop | Type | Notes |
|
|
2575
|
+
| -------- | --------------------- | ------------------------------------------- |
|
|
2576
|
+
| `name` | `React.ReactNode` | Optional author label. |
|
|
2577
|
+
| `avatar` | `MessageBubbleAvatar` | Optional avatar for incoming/group bubbles. |
|
|
2578
|
+
|
|
2579
|
+
`MessageBubbleAvatar`:
|
|
2580
|
+
|
|
2581
|
+
| Prop | Type | Notes |
|
|
2582
|
+
| ---------- | --------------------- | ----------------------------------------------- |
|
|
2583
|
+
| `source` | `ImageSourcePropType` | React Native image source for the avatar. |
|
|
2584
|
+
| `name` | `string` | Used to derive initials when `initials` absent. |
|
|
2585
|
+
| `initials` | `string` | Explicit initials override. |
|
|
2586
|
+
| `label` | `string` | Accessibility label. |
|
|
2587
|
+
| `size` | `AvatarSize` | Optional avatar size override. |
|
|
2588
|
+
| `shape` | `AvatarShape` | Optional avatar shape override. |
|
|
2589
|
+
| `tone` | `ZoraTone` | Optional avatar tone. |
|
|
2590
|
+
|
|
2591
|
+
Inherited props:
|
|
2592
|
+
|
|
2593
|
+
No inherited props. `MessageBubbleProps` is declared directly by ZORA.
|
|
2594
|
+
|
|
2595
|
+
</details>
|
|
2596
|
+
|
|
2375
2597
|
### `SwitchField`
|
|
2376
2598
|
|
|
2377
2599
|
Labeled boolean toggle row.
|
|
@@ -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", "PostCard"];
|
|
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
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", "PostCard"];
|
|
6
|
+
readonly allowedChildren: readonly ["Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Button", "Input", "Textarea", "FormField", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem", "MessageBubble"];
|
|
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", "PostCard"];
|
|
24
|
+
readonly allowedChildren: readonly ["Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Button", "Input", "Textarea", "FormField", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem", "MessageBubble"];
|
|
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", "PostCard"];
|
|
44
|
+
readonly allowedChildren: readonly ["Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Button", "Input", "Textarea", "FormField", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem", "MessageBubble"];
|
|
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", "PostCard"];
|
|
78
|
+
readonly allowedChildren: readonly ["Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Button", "Input", "Textarea", "FormField", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem", "MessageBubble"];
|
|
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';
|
|
@@ -100,6 +102,8 @@ export type { InspectorFieldProps } from './patterns/inspector-field';
|
|
|
100
102
|
export { InspectorField } from './patterns/inspector-field';
|
|
101
103
|
export type { ListChildrenProps, ListItemsProps, ListProps, ListRowProps, ListRowVariant, ListSectionProps, } from './patterns/list';
|
|
102
104
|
export { List, ListRow, ListSection } from './patterns/list';
|
|
105
|
+
export type { MessageBubbleAuthor, MessageBubbleAvatar, MessageBubbleDirection, MessageBubbleProps, MessageBubbleStatus, } from './patterns/message-bubble';
|
|
106
|
+
export { MessageBubble } from './patterns/message-bubble';
|
|
103
107
|
export type { NoticeProps } from './patterns/notice';
|
|
104
108
|
export { Notice } from './patterns/notice';
|
|
105
109
|
export type { PanelProps } from './patterns/panel';
|
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;AAC7E,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,YAAY,EAAE,WAAW,EA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;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';
|
|
@@ -49,6 +50,7 @@ export { ImagePreview } from './patterns/image-preview';
|
|
|
49
50
|
export { ImageUploadField } from './patterns/image-upload-field';
|
|
50
51
|
export { InspectorField } from './patterns/inspector-field';
|
|
51
52
|
export { List, ListRow, ListSection } from './patterns/list';
|
|
53
|
+
export { MessageBubble } from './patterns/message-bubble';
|
|
52
54
|
export { Notice } from './patterns/notice';
|
|
53
55
|
export { Panel } from './patterns/panel';
|
|
54
56
|
export { PostCard } from './patterns/post-card';
|
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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AE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAS5D,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,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 {\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"]}
|
|
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,EAA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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"]}
|
|
@@ -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", "PostCard"];
|
|
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
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", "PostCard"];
|
|
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", "MessageBubble"];
|
|
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", "PostCard"];
|
|
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
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", "PostCard"];
|
|
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"];
|
|
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"];
|
|
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", "MessageBubble"];
|
|
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", "MessageBubble"];
|
|
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", "MessageBubble"];
|
|
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,gPAqB7B,CAAC;AAEX,eAAO,MAAM,6BAA6B,gPAA2C,CAAC;AAEtF,eAAO,MAAM,qBAAqB,6QAIxB,CAAC"}
|
|
@@ -17,6 +17,8 @@ export const CONTAINER_ALLOWED_CHILDREN = [
|
|
|
17
17
|
'SectionHeader',
|
|
18
18
|
'SettingsRow',
|
|
19
19
|
'PostCard',
|
|
20
|
+
'ChatListItem',
|
|
21
|
+
'MessageBubble',
|
|
20
22
|
];
|
|
21
23
|
export const PAGE_SECTION_ALLOWED_CHILDREN = [...CONTAINER_ALLOWED_CHILDREN];
|
|
22
24
|
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;IACb,UAAU;
|
|
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;IACd,eAAe;CACP,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 'MessageBubble',\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":"AAuEA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAEzD,eAAO,MAAM,mBAAmB,EAAE,yBAiFjC,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';
|
|
@@ -48,6 +49,7 @@ import { imagePreviewMeta } from '../patterns/image-preview/meta';
|
|
|
48
49
|
import { imageUploadFieldMeta } from '../patterns/image-upload-field/meta';
|
|
49
50
|
import { inspectorFieldMeta } from '../patterns/inspector-field/meta';
|
|
50
51
|
import { listMeta, listRowMeta, listSectionMeta } from '../patterns/list/meta';
|
|
52
|
+
import { messageBubbleMeta } from '../patterns/message-bubble/meta';
|
|
51
53
|
import { noticeMeta } from '../patterns/notice/meta';
|
|
52
54
|
import { panelMeta } from '../patterns/panel/meta';
|
|
53
55
|
import { postCardMeta } from '../patterns/post-card/meta';
|
|
@@ -112,6 +114,7 @@ export const ZORA_COMPONENT_META = {
|
|
|
112
114
|
OtpForm: otpFormMeta,
|
|
113
115
|
SignInForm: signInFormMeta,
|
|
114
116
|
SignUpForm: signUpFormMeta,
|
|
117
|
+
ChatListItem: chatListItemMeta,
|
|
115
118
|
CollectionEditor: collectionEditorMeta,
|
|
116
119
|
ConfirmDialog: confirmDialogMeta,
|
|
117
120
|
DisclosureSection: disclosureSectionMeta,
|
|
@@ -124,6 +127,7 @@ export const ZORA_COMPONENT_META = {
|
|
|
124
127
|
List: listMeta,
|
|
125
128
|
ListRow: listRowMeta,
|
|
126
129
|
ListSection: listSectionMeta,
|
|
130
|
+
MessageBubble: messageBubbleMeta,
|
|
127
131
|
Notice: noticeMeta,
|
|
128
132
|
Panel: panelMeta,
|
|
129
133
|
PostCard: postCardMeta,
|