@ankhorage/zora 27.6.1 → 27.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +1 -1
- package/dist/capabilities/index.js +94 -5
- package/dist/capabilities/index.js.map +5 -5
- package/dist/constants/authoring.d.ts +4 -3
- package/dist/constants/authoring.d.ts.map +1 -1
- package/dist/constants/authoring.js +2 -0
- package/dist/constants/authoring.js.map +1 -1
- package/dist/features/accordion/accordionItemMeta.d.ts +1 -1
- package/dist/features/bottom-sheet/bottomSheetMeta.d.ts +1 -1
- package/dist/features/card/cardMeta.d.ts +1 -1
- package/dist/features/card/mediaCardMeta.d.ts +1 -1
- package/dist/features/card/postCardMeta.d.ts +1 -1
- package/dist/features/chat/messageBubbleMeta.d.ts +1 -1
- package/dist/features/data-table/adapters/inbound/DataTable.d.ts.map +1 -1
- package/dist/features/data-table/adapters/inbound/DataTable.js +90 -18
- package/dist/features/data-table/adapters/inbound/DataTable.js.map +1 -1
- package/dist/features/data-table/dataTableMeta.d.ts +63 -0
- package/dist/features/data-table/dataTableMeta.d.ts.map +1 -1
- package/dist/features/data-table/dataTableMeta.js +42 -0
- package/dist/features/data-table/dataTableMeta.js.map +1 -1
- package/dist/features/data-table/public.d.ts +1 -1
- package/dist/features/data-table/public.d.ts.map +1 -1
- package/dist/features/data-table/public.js.map +1 -1
- package/dist/features/dialog/dialogMeta.d.ts +2 -2
- package/dist/features/gradient/gradientMeta.d.ts +1 -1
- package/dist/features/keyboard-avoiding-view/keyboardAvoidingViewMeta.d.ts +1 -1
- package/dist/features/layout/gridMeta.d.ts +1 -1
- package/dist/features/layout/screenMeta.d.ts +1 -1
- package/dist/features/layout/scrollViewMeta.d.ts +1 -1
- package/dist/features/layout/viewMeta.d.ts +1 -1
- package/dist/features/list/flatListMeta.d.ts +1 -1
- package/dist/features/list/sectionListMeta.d.ts +1 -1
- package/dist/features/reader/meta.d.ts +2 -2
- package/dist/features/registry/bindableComponentMeta.d.ts +42 -3
- package/dist/features/registry/bindableComponentMeta.d.ts.map +1 -1
- package/dist/features/registry/bindableComponentMeta.js +27 -10
- package/dist/features/registry/bindableComponentMeta.js.map +1 -1
- package/dist/features/scanner/meta.d.ts +2 -2
- package/dist/features/section/screenSectionMeta.d.ts +1 -1
- package/dist/features/surface/surfaceMeta.d.ts +1 -1
- package/dist/features/tabs/tabPanelMeta.d.ts +1 -1
- package/dist/features/timeline/meta.d.ts +79 -3
- package/dist/features/timeline/meta.d.ts.map +1 -1
- package/dist/features/timeline/meta.js +50 -3
- package/dist/features/timeline/meta.js.map +1 -1
- package/dist/features/timeline/public.d.ts +1 -1
- package/dist/features/timeline/public.d.ts.map +1 -1
- package/dist/features/timeline/public.js.map +1 -1
- package/dist/readerFree.d.ts +2 -2
- package/dist/readerFree.d.ts.map +1 -1
- package/dist/readerFree.js.map +1 -1
- package/dist/types/data-table.d.ts +37 -0
- package/dist/types/data-table.d.ts.map +1 -1
- package/dist/types/data-table.js.map +1 -1
- package/dist/types/timeline.d.ts +16 -0
- package/dist/types/timeline.d.ts.map +1 -1
- package/dist/types/timeline.js.map +1 -1
- package/package.json +50 -1
- package/src/constants/authoring.ts +2 -0
- package/src/features/data-table/adapters/inbound/DataTable.test.tsx +127 -6
- package/src/features/data-table/adapters/inbound/DataTable.tsx +149 -24
- package/src/features/data-table/dataTableMeta.test.ts +23 -0
- package/src/features/data-table/dataTableMeta.ts +42 -0
- package/src/features/data-table/public.ts +4 -0
- package/src/features/registry/bindableComponentMeta.ts +27 -10
- package/src/features/registry/componentMeta.test.ts +45 -0
- package/src/features/timeline/manifest.test.tsx +115 -0
- package/src/features/timeline/meta.ts +50 -3
- package/src/features/timeline/public.ts +6 -1
- package/src/readerFree.ts +10 -1
- package/src/types/data-table.ts +45 -0
- package/src/types/timeline.ts +18 -0
- package/web-dist/components/data-table/DataTable.d.ts +1 -1
- package/web-dist/components/data-table/DataTable.dependency-3.d.ts +1 -0
- package/web-dist/components/data-table/DataTable.js +128 -17
- package/web-dist/components/data-table/DataTable.types-0.d.ts +42 -0
- package/web-dist/components/data-table/index.d.ts +1 -1
- package/web-dist/components/timeline/Timeline.d.ts +1 -1
- package/web-dist/components/timeline/Timeline.types-0.d.ts +19 -0
- package/web-dist/components/timeline/index.d.ts +1 -1
- package/web-dist/manifest.json +1 -0
|
@@ -23,6 +23,24 @@ export declare const dataTableMeta: {
|
|
|
23
23
|
readonly type: "string";
|
|
24
24
|
}];
|
|
25
25
|
};
|
|
26
|
+
readonly selectionChange: {
|
|
27
|
+
readonly label: "Selection change";
|
|
28
|
+
readonly eventType: "dataTable.selectionChange";
|
|
29
|
+
readonly payloadFields: readonly [{
|
|
30
|
+
readonly path: "selectedRowIds";
|
|
31
|
+
readonly type: "unknown";
|
|
32
|
+
readonly label: "Selected row IDs";
|
|
33
|
+
}];
|
|
34
|
+
};
|
|
35
|
+
readonly rowActivate: {
|
|
36
|
+
readonly label: "Activate row";
|
|
37
|
+
readonly eventType: "dataTable.rowActivate";
|
|
38
|
+
readonly payloadFields: readonly [{
|
|
39
|
+
readonly path: "rowId";
|
|
40
|
+
readonly type: "string";
|
|
41
|
+
readonly label: "Row ID";
|
|
42
|
+
}];
|
|
43
|
+
};
|
|
26
44
|
};
|
|
27
45
|
readonly bindings: {
|
|
28
46
|
readonly props: {
|
|
@@ -39,6 +57,39 @@ export declare const dataTableMeta: {
|
|
|
39
57
|
};
|
|
40
58
|
readonly acceptsFallback: true;
|
|
41
59
|
};
|
|
60
|
+
readonly selectedRowIds: {
|
|
61
|
+
readonly label: "Selected row IDs";
|
|
62
|
+
readonly description: "Controlled stable row identities selected with the checkbox column.";
|
|
63
|
+
readonly value: {
|
|
64
|
+
readonly type: "array";
|
|
65
|
+
};
|
|
66
|
+
readonly acceptsFallback: true;
|
|
67
|
+
readonly acceptsTransforms: true;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
readonly events: {
|
|
71
|
+
readonly selectionChange: {
|
|
72
|
+
readonly label: "Selection change";
|
|
73
|
+
readonly payload: {
|
|
74
|
+
readonly eventType: "dataTable.selectionChange";
|
|
75
|
+
readonly fields: readonly [{
|
|
76
|
+
readonly path: "selectedRowIds";
|
|
77
|
+
readonly type: "unknown";
|
|
78
|
+
readonly label: "Selected row IDs";
|
|
79
|
+
}];
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
readonly rowActivate: {
|
|
83
|
+
readonly label: "Activate row";
|
|
84
|
+
readonly payload: {
|
|
85
|
+
readonly eventType: "dataTable.rowActivate";
|
|
86
|
+
readonly fields: readonly [{
|
|
87
|
+
readonly path: "rowId";
|
|
88
|
+
readonly type: "string";
|
|
89
|
+
readonly label: "Row ID";
|
|
90
|
+
}];
|
|
91
|
+
};
|
|
92
|
+
};
|
|
42
93
|
};
|
|
43
94
|
};
|
|
44
95
|
readonly props: {
|
|
@@ -97,8 +148,20 @@ export declare const dataTableMeta: {
|
|
|
97
148
|
readonly type: "boolean";
|
|
98
149
|
readonly category: "Behavior";
|
|
99
150
|
};
|
|
151
|
+
}, {
|
|
152
|
+
readonly key: "cell";
|
|
153
|
+
readonly schema: {
|
|
154
|
+
readonly type: "object";
|
|
155
|
+
readonly category: "Content";
|
|
156
|
+
readonly label: "Portable cell presentation";
|
|
157
|
+
};
|
|
100
158
|
}];
|
|
101
159
|
};
|
|
160
|
+
readonly selectedRowIds: {
|
|
161
|
+
readonly type: "array";
|
|
162
|
+
readonly category: "Selection";
|
|
163
|
+
readonly label: "Selected row IDs";
|
|
164
|
+
};
|
|
102
165
|
readonly loading: {
|
|
103
166
|
readonly type: "boolean";
|
|
104
167
|
readonly category: "State";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataTableMeta.d.ts","sourceRoot":"","sources":["../../../src/features/data-table/dataTableMeta.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"dataTableMeta.d.ts","sourceRoot":"","sources":["../../../src/features/data-table/dataTableMeta.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiGY,CAAC"}
|
|
@@ -13,6 +13,16 @@ export const dataTableMeta = {
|
|
|
13
13
|
{ path: 'direction', type: 'string' },
|
|
14
14
|
],
|
|
15
15
|
},
|
|
16
|
+
selectionChange: {
|
|
17
|
+
label: 'Selection change',
|
|
18
|
+
eventType: 'dataTable.selectionChange',
|
|
19
|
+
payloadFields: [{ path: 'selectedRowIds', type: 'unknown', label: 'Selected row IDs' }],
|
|
20
|
+
},
|
|
21
|
+
rowActivate: {
|
|
22
|
+
label: 'Activate row',
|
|
23
|
+
eventType: 'dataTable.rowActivate',
|
|
24
|
+
payloadFields: [{ path: 'rowId', type: 'string', label: 'Row ID' }],
|
|
25
|
+
},
|
|
16
26
|
},
|
|
17
27
|
bindings: {
|
|
18
28
|
props: {
|
|
@@ -26,6 +36,29 @@ export const dataTableMeta = {
|
|
|
26
36
|
},
|
|
27
37
|
acceptsFallback: true,
|
|
28
38
|
},
|
|
39
|
+
selectedRowIds: {
|
|
40
|
+
label: 'Selected row IDs',
|
|
41
|
+
description: 'Controlled stable row identities selected with the checkbox column.',
|
|
42
|
+
value: { type: 'array' },
|
|
43
|
+
acceptsFallback: true,
|
|
44
|
+
acceptsTransforms: true,
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
events: {
|
|
48
|
+
selectionChange: {
|
|
49
|
+
label: 'Selection change',
|
|
50
|
+
payload: {
|
|
51
|
+
eventType: 'dataTable.selectionChange',
|
|
52
|
+
fields: [{ path: 'selectedRowIds', type: 'unknown', label: 'Selected row IDs' }],
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
rowActivate: {
|
|
56
|
+
label: 'Activate row',
|
|
57
|
+
payload: {
|
|
58
|
+
eventType: 'dataTable.rowActivate',
|
|
59
|
+
fields: [{ path: 'rowId', type: 'string', label: 'Row ID' }],
|
|
60
|
+
},
|
|
61
|
+
},
|
|
29
62
|
},
|
|
30
63
|
},
|
|
31
64
|
props: {
|
|
@@ -45,8 +78,17 @@ export const dataTableMeta = {
|
|
|
45
78
|
{ key: 'width', schema: { type: 'number', category: 'Layout' } },
|
|
46
79
|
{ key: 'minWidth', schema: { type: 'number', category: 'Layout' } },
|
|
47
80
|
{ key: 'sortable', schema: { type: 'boolean', category: 'Behavior' } },
|
|
81
|
+
{
|
|
82
|
+
key: 'cell',
|
|
83
|
+
schema: {
|
|
84
|
+
type: 'object',
|
|
85
|
+
category: 'Content',
|
|
86
|
+
label: 'Portable cell presentation',
|
|
87
|
+
},
|
|
88
|
+
},
|
|
48
89
|
],
|
|
49
90
|
},
|
|
91
|
+
selectedRowIds: { type: 'array', category: 'Selection', label: 'Selected row IDs' },
|
|
50
92
|
loading: { type: 'boolean', category: 'State' },
|
|
51
93
|
loadingRows: { type: 'number', category: 'State' },
|
|
52
94
|
emptyTitle: { type: 'string', category: 'Content' },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataTableMeta.js","sourceRoot":"","sources":["../../../src/features/data-table/dataTableMeta.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,IAAI,EAAE,WAAW;IACjB,QAAQ,EAAE,WAAW;IACrB,kBAAkB,EAAE,IAAI;IACxB,eAAe,EAAE,EAAE;IACnB,SAAS,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE;IACzF,MAAM,EAAE;QACN,UAAU,EAAE;YACV,KAAK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SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE;QAC/C,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE;QAClD,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE;QACnD,gBAAgB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE;QACzD,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,aAAa,EAAE,SAAS,CAAC,EAAE;KAChF;CACmC,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../types/authoring';\n\nexport const dataTableMeta = {\n name: 'DataTable',\n category: 'component',\n directManifestNode: true,\n allowedChildren: [],\n blueprint: { label: 'Data table', defaultProps: { rows: [], columns: [], rowKey: 'id' } },\n events: {\n sortChange: {\n label: 'Sort change',\n eventType: 'dataTable.sortChange',\n payloadFields: [\n { path: 'columnId', type: 'string' },\n { path: 'direction', type: 'string' },\n ],\n },\n selectionChange: {\n label: 'Selection change',\n eventType: 'dataTable.selectionChange',\n payloadFields: [{ path: 'selectedRowIds', type: 'unknown', label: 'Selected row IDs' }],\n },\n rowActivate: {\n label: 'Activate row',\n eventType: 'dataTable.rowActivate',\n payloadFields: [{ path: 'rowId', type: 'string', label: 'Row ID' }],\n },\n },\n bindings: {\n props: {\n sort: {\n value: {\n type: 'object',\n fields: [\n { path: 'columnId', type: 'string' },\n { path: 'direction', type: 'string' },\n ],\n },\n acceptsFallback: true,\n },\n selectedRowIds: {\n label: 'Selected row IDs',\n description: 'Controlled stable row identities selected with the checkbox column.',\n value: { type: 'array' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n },\n events: {\n selectionChange: {\n label: 'Selection change',\n payload: {\n eventType: 'dataTable.selectionChange',\n fields: [{ path: 'selectedRowIds', type: 'unknown', label: 'Selected row IDs' }],\n },\n },\n rowActivate: {\n label: 'Activate row',\n payload: {\n eventType: 'dataTable.rowActivate',\n fields: [{ path: 'rowId', type: 'string', label: 'Row ID' }],\n },\n },\n },\n },\n props: {\n rows: { type: 'array', category: 'Data' },\n rowKey: { type: 'string', category: 'Identity', label: 'Row identity field' },\n columns: {\n type: 'array',\n category: 'Data',\n itemSchema: [\n { key: 'id', schema: { type: 'string', category: 'Identity' } },\n { key: 'header', schema: { type: 'string', category: 'Content' } },\n { key: 'accessor', schema: { type: 'string', category: 'Data' } },\n {\n key: 'align',\n schema: { type: 'enum', category: 'Layout', enum: ['start', 'center', 'end'] },\n },\n { key: 'width', schema: { type: 'number', category: 'Layout' } },\n { key: 'minWidth', schema: { type: 'number', category: 'Layout' } },\n { key: 'sortable', schema: { type: 'boolean', category: 'Behavior' } },\n {\n key: 'cell',\n schema: {\n type: 'object',\n category: 'Content',\n label: 'Portable cell presentation',\n },\n },\n ],\n },\n selectedRowIds: { type: 'array', category: 'Selection', label: 'Selected row IDs' },\n loading: { type: 'boolean', category: 'State' },\n loadingRows: { type: 'number', category: 'State' },\n emptyTitle: { type: 'string', category: 'Content' },\n emptyDescription: { type: 'string', category: 'Content' },\n density: { type: 'enum', category: 'Layout', enum: ['comfortable', 'compact'] },\n },\n} as const satisfies ZoraComponentMeta;\n"]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type { DataTableCellContext, DataTableColumn, DataTableColumnAlign, DataTableDensity, DataTableProps, DataTableRowAction, DataTableSortDirection, DataTableSortState, } from '../../types/data-table';
|
|
1
|
+
export type { DataTableCellContext, DataTableCellSpec, DataTableColumn, DataTableColumnAlign, DataTableDensity, DataTableProps, DataTableRowAction, DataTableRowActivateEvent, DataTableRowField, DataTableSelectionChangeEvent, DataTableSortDirection, DataTableSortState, } from '../../types/data-table';
|
|
2
2
|
export { DataTable } from './adapters/inbound/DataTable';
|
|
3
3
|
//# sourceMappingURL=public.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/features/data-table/public.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,oBAAoB,EACpB,eAAe,EACf,oBAAoB,EACpB,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAClB,sBAAsB,EACtB,kBAAkB,GACnB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC"}
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/features/data-table/public.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,oBAAoB,EACpB,iBAAiB,EACjB,eAAe,EACf,oBAAoB,EACpB,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAClB,yBAAyB,EACzB,iBAAiB,EACjB,6BAA6B,EAC7B,sBAAsB,EACtB,kBAAkB,GACnB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.js","sourceRoot":"","sources":["../../../src/features/data-table/public.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"public.js","sourceRoot":"","sources":["../../../src/features/data-table/public.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC","sourcesContent":["export type {\n DataTableCellContext,\n DataTableCellSpec,\n DataTableColumn,\n DataTableColumnAlign,\n DataTableDensity,\n DataTableProps,\n DataTableRowAction,\n DataTableRowActivateEvent,\n DataTableRowField,\n DataTableSelectionChangeEvent,\n DataTableSortDirection,\n DataTableSortState,\n} from '../../types/data-table';\nexport { DataTable } from './adapters/inbound/DataTable';\n"]}
|
|
@@ -2,7 +2,7 @@ export declare const dialogMeta: {
|
|
|
2
2
|
readonly name: "Dialog";
|
|
3
3
|
readonly category: "component";
|
|
4
4
|
readonly directManifestNode: true;
|
|
5
|
-
readonly allowedChildren: readonly ["ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement"];
|
|
5
|
+
readonly allowedChildren: readonly ["ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Timeline", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement"];
|
|
6
6
|
readonly description: "Modal dialog composition with title, description, content, and optional footer.";
|
|
7
7
|
readonly blueprint: {
|
|
8
8
|
readonly label: "Dialog";
|
|
@@ -45,7 +45,7 @@ export declare const dialogMeta: {
|
|
|
45
45
|
readonly slots: {
|
|
46
46
|
readonly children: {
|
|
47
47
|
readonly label: "Content";
|
|
48
|
-
readonly allowedChildren: readonly ["ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement"];
|
|
48
|
+
readonly allowedChildren: readonly ["ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Timeline", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement"];
|
|
49
49
|
};
|
|
50
50
|
readonly footer: {
|
|
51
51
|
readonly label: "Footer";
|
|
@@ -3,7 +3,7 @@ export declare const gradientMeta: {
|
|
|
3
3
|
readonly category: "component";
|
|
4
4
|
readonly description: "Renders a host-backed gradient container for nested manifest content.";
|
|
5
5
|
readonly directManifestNode: true;
|
|
6
|
-
readonly allowedChildren: readonly ["ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement"];
|
|
6
|
+
readonly allowedChildren: readonly ["ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Timeline", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement"];
|
|
7
7
|
readonly blueprint: {
|
|
8
8
|
readonly label: "Gradient";
|
|
9
9
|
};
|
|
@@ -2,7 +2,7 @@ export declare const keyboardAvoidingViewMeta: {
|
|
|
2
2
|
readonly name: "KeyboardAvoidingView";
|
|
3
3
|
readonly category: "layout";
|
|
4
4
|
readonly directManifestNode: true;
|
|
5
|
-
readonly allowedChildren: readonly ["ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement"];
|
|
5
|
+
readonly allowedChildren: readonly ["ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Timeline", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement"];
|
|
6
6
|
readonly blueprint: {
|
|
7
7
|
readonly label: "Keyboard avoiding view";
|
|
8
8
|
readonly defaultProps: {
|
|
@@ -2,7 +2,7 @@ export declare const gridMeta: {
|
|
|
2
2
|
readonly name: "Grid";
|
|
3
3
|
readonly category: "foundation";
|
|
4
4
|
readonly directManifestNode: true;
|
|
5
|
-
readonly allowedChildren: readonly ["ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement", "ChessBoard", "OpeningBook", "Game", "GameField", "TabletopTable", "PokerTrainingTable"];
|
|
5
|
+
readonly allowedChildren: readonly ["ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Timeline", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement", "ChessBoard", "OpeningBook", "Game", "GameField", "TabletopTable", "PokerTrainingTable"];
|
|
6
6
|
readonly props: {
|
|
7
7
|
readonly cols: {
|
|
8
8
|
readonly type: "number";
|
|
@@ -2,7 +2,7 @@ export declare const screenMeta: {
|
|
|
2
2
|
readonly name: "Screen";
|
|
3
3
|
readonly category: "layout";
|
|
4
4
|
readonly directManifestNode: true;
|
|
5
|
-
readonly allowedChildren: readonly ["ScreenSection", "ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement", "ChessBoard", "OpeningBook", "Game", "GameField", "TabletopTable", "PokerTrainingTable"];
|
|
5
|
+
readonly allowedChildren: readonly ["ScreenSection", "ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Timeline", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement", "ChessBoard", "OpeningBook", "Game", "GameField", "TabletopTable", "PokerTrainingTable"];
|
|
6
6
|
readonly blueprint: {
|
|
7
7
|
readonly label: "Screen";
|
|
8
8
|
};
|
|
@@ -2,7 +2,7 @@ export declare const scrollViewMeta: {
|
|
|
2
2
|
readonly name: "ScrollView";
|
|
3
3
|
readonly category: "foundation";
|
|
4
4
|
readonly directManifestNode: true;
|
|
5
|
-
readonly allowedChildren: readonly ["ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement"];
|
|
5
|
+
readonly allowedChildren: readonly ["ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Timeline", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement"];
|
|
6
6
|
readonly events: {
|
|
7
7
|
readonly refresh: {
|
|
8
8
|
readonly label: "Refresh";
|
|
@@ -2,7 +2,7 @@ export declare const viewMeta: {
|
|
|
2
2
|
readonly name: "View";
|
|
3
3
|
readonly category: "foundation";
|
|
4
4
|
readonly directManifestNode: true;
|
|
5
|
-
readonly allowedChildren: readonly ["ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement", "ChessBoard", "OpeningBook", "Game", "GameField"];
|
|
5
|
+
readonly allowedChildren: readonly ["ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Timeline", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement", "ChessBoard", "OpeningBook", "Game", "GameField"];
|
|
6
6
|
readonly props: {
|
|
7
7
|
readonly direction: {
|
|
8
8
|
readonly type: "enum";
|
|
@@ -9,7 +9,7 @@ export declare const flatListMeta: {
|
|
|
9
9
|
readonly onEndReachedThreshold: 2;
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
|
-
readonly allowedChildren: readonly ["ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement"];
|
|
12
|
+
readonly allowedChildren: readonly ["ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Timeline", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement"];
|
|
13
13
|
readonly description: "Virtualized children. Put node.repeat on this list for keyed data and item bindings; bind selection on the child Button/Card press event. Bound the list viewport and avoid nesting in a same-direction ScrollView.";
|
|
14
14
|
readonly events: {
|
|
15
15
|
readonly visibleItemsChange: {
|
|
@@ -111,6 +111,6 @@ export declare const sectionListMeta: {
|
|
|
111
111
|
};
|
|
112
112
|
readonly category: "layout";
|
|
113
113
|
readonly directManifestNode: true;
|
|
114
|
-
readonly allowedChildren: readonly ["ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement"];
|
|
114
|
+
readonly allowedChildren: readonly ["ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Timeline", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement"];
|
|
115
115
|
};
|
|
116
116
|
//# sourceMappingURL=sectionListMeta.d.ts.map
|
|
@@ -121,11 +121,11 @@ export declare const readerMeta: {
|
|
|
121
121
|
readonly slots: {
|
|
122
122
|
readonly headerActions: {
|
|
123
123
|
readonly label: "Header actions";
|
|
124
|
-
readonly allowedChildren: readonly ["ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement"];
|
|
124
|
+
readonly allowedChildren: readonly ["ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Timeline", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement"];
|
|
125
125
|
};
|
|
126
126
|
readonly footerActions: {
|
|
127
127
|
readonly label: "Footer actions";
|
|
128
|
-
readonly allowedChildren: readonly ["ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement"];
|
|
128
|
+
readonly allowedChildren: readonly ["ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Timeline", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement"];
|
|
129
129
|
};
|
|
130
130
|
};
|
|
131
131
|
readonly props: {
|
|
@@ -490,7 +490,7 @@ export declare const ZORA_BINDABLE_COMPONENT_META: {
|
|
|
490
490
|
readonly DataTable: {
|
|
491
491
|
readonly name: "DataTable";
|
|
492
492
|
readonly category: "component";
|
|
493
|
-
readonly description: "Renders tabular records.";
|
|
493
|
+
readonly description: "Renders tabular records with portable selection and activation events.";
|
|
494
494
|
readonly directManifestNode: true;
|
|
495
495
|
readonly allowedChildren: readonly [];
|
|
496
496
|
readonly bindings: {
|
|
@@ -505,6 +505,40 @@ export declare const ZORA_BINDABLE_COMPONENT_META: {
|
|
|
505
505
|
readonly acceptsFallback: true;
|
|
506
506
|
readonly acceptsTransforms: true;
|
|
507
507
|
};
|
|
508
|
+
readonly selectedRowIds: {
|
|
509
|
+
readonly label: "Selected row IDs";
|
|
510
|
+
readonly description: "Controlled stable row identities selected with the checkbox column.";
|
|
511
|
+
readonly value: {
|
|
512
|
+
readonly type: "array";
|
|
513
|
+
readonly itemType: "string";
|
|
514
|
+
};
|
|
515
|
+
readonly acceptsFallback: true;
|
|
516
|
+
readonly acceptsTransforms: true;
|
|
517
|
+
};
|
|
518
|
+
};
|
|
519
|
+
readonly events: {
|
|
520
|
+
readonly selectionChange: {
|
|
521
|
+
readonly label: "Selection change";
|
|
522
|
+
readonly payload: {
|
|
523
|
+
readonly eventType: "dataTable.selectionChange";
|
|
524
|
+
readonly fields: readonly [{
|
|
525
|
+
readonly path: "selectedRowIds";
|
|
526
|
+
readonly type: "unknown";
|
|
527
|
+
readonly label: "Selected row IDs";
|
|
528
|
+
}];
|
|
529
|
+
};
|
|
530
|
+
};
|
|
531
|
+
readonly rowActivate: {
|
|
532
|
+
readonly label: "Activate row";
|
|
533
|
+
readonly payload: {
|
|
534
|
+
readonly eventType: "dataTable.rowActivate";
|
|
535
|
+
readonly fields: readonly [{
|
|
536
|
+
readonly path: "rowId";
|
|
537
|
+
readonly type: "string";
|
|
538
|
+
readonly label: "Row ID";
|
|
539
|
+
}];
|
|
540
|
+
};
|
|
541
|
+
};
|
|
508
542
|
};
|
|
509
543
|
};
|
|
510
544
|
readonly props: {
|
|
@@ -521,6 +555,11 @@ export declare const ZORA_BINDABLE_COMPONENT_META: {
|
|
|
521
555
|
readonly category: "Data";
|
|
522
556
|
readonly label: "Rows";
|
|
523
557
|
};
|
|
558
|
+
readonly selectedRowIds: {
|
|
559
|
+
readonly type: "array";
|
|
560
|
+
readonly category: "Selection";
|
|
561
|
+
readonly label: "Selected row IDs";
|
|
562
|
+
};
|
|
524
563
|
};
|
|
525
564
|
};
|
|
526
565
|
readonly Reader: {
|
|
@@ -1004,11 +1043,11 @@ export declare const ZORA_BINDABLE_COMPONENT_META: {
|
|
|
1004
1043
|
readonly slots: {
|
|
1005
1044
|
readonly headerActions: {
|
|
1006
1045
|
readonly label: "Header actions";
|
|
1007
|
-
readonly allowedChildren: readonly ["ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement"];
|
|
1046
|
+
readonly allowedChildren: readonly ["ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Timeline", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement"];
|
|
1008
1047
|
};
|
|
1009
1048
|
readonly footerActions: {
|
|
1010
1049
|
readonly label: "Footer actions";
|
|
1011
|
-
readonly allowedChildren: readonly ["ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement"];
|
|
1050
|
+
readonly allowedChildren: readonly ["ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Timeline", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement"];
|
|
1012
1051
|
};
|
|
1013
1052
|
};
|
|
1014
1053
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bindableComponentMeta.d.ts","sourceRoot":"","sources":["../../../src/features/registry/bindableComponentMeta.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"bindableComponentMeta.d.ts","sourceRoot":"","sources":["../../../src/features/registry/bindableComponentMeta.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAudG,CAAC;AAE7C,MAAM,MAAM,yBAAyB,GAAG,MAAM,OAAO,4BAA4B,CAAC"}
|
|
@@ -327,7 +327,7 @@ export const ZORA_BINDABLE_COMPONENT_META = {
|
|
|
327
327
|
DataTable: {
|
|
328
328
|
name: 'DataTable',
|
|
329
329
|
category: 'component',
|
|
330
|
-
description: 'Renders tabular records.',
|
|
330
|
+
description: 'Renders tabular records with portable selection and activation events.',
|
|
331
331
|
directManifestNode: true,
|
|
332
332
|
allowedChildren: [],
|
|
333
333
|
bindings: {
|
|
@@ -335,22 +335,39 @@ export const ZORA_BINDABLE_COMPONENT_META = {
|
|
|
335
335
|
rows: {
|
|
336
336
|
label: 'Rows',
|
|
337
337
|
description: 'Rows rendered by the table.',
|
|
338
|
-
value: {
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
338
|
+
value: { type: 'array', itemType: 'record' },
|
|
339
|
+
acceptsFallback: true,
|
|
340
|
+
acceptsTransforms: true,
|
|
341
|
+
},
|
|
342
|
+
selectedRowIds: {
|
|
343
|
+
label: 'Selected row IDs',
|
|
344
|
+
description: 'Controlled stable row identities selected with the checkbox column.',
|
|
345
|
+
value: { type: 'array', itemType: 'string' },
|
|
342
346
|
acceptsFallback: true,
|
|
343
347
|
acceptsTransforms: true,
|
|
344
348
|
},
|
|
345
349
|
},
|
|
350
|
+
events: {
|
|
351
|
+
selectionChange: {
|
|
352
|
+
label: 'Selection change',
|
|
353
|
+
payload: {
|
|
354
|
+
eventType: 'dataTable.selectionChange',
|
|
355
|
+
fields: [{ path: 'selectedRowIds', type: 'unknown', label: 'Selected row IDs' }],
|
|
356
|
+
},
|
|
357
|
+
},
|
|
358
|
+
rowActivate: {
|
|
359
|
+
label: 'Activate row',
|
|
360
|
+
payload: {
|
|
361
|
+
eventType: 'dataTable.rowActivate',
|
|
362
|
+
fields: [{ path: 'rowId', type: 'string', label: 'Row ID' }],
|
|
363
|
+
},
|
|
364
|
+
},
|
|
365
|
+
},
|
|
346
366
|
},
|
|
347
367
|
props: {
|
|
348
368
|
inverted: INVERTED_POLARITY_PROP,
|
|
349
|
-
rows: {
|
|
350
|
-
|
|
351
|
-
category: 'Data',
|
|
352
|
-
label: 'Rows',
|
|
353
|
-
},
|
|
369
|
+
rows: { type: 'array', category: 'Data', label: 'Rows' },
|
|
370
|
+
selectedRowIds: { type: 'array', category: 'Selection', label: 'Selected row IDs' },
|
|
354
371
|
},
|
|
355
372
|
},
|
|
356
373
|
Reader: {
|