@ankhorage/zora 28.9.0 → 28.10.1
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 +16 -0
- package/README.md +1 -1
- package/dist/capabilities/index.js +52 -5
- package/dist/capabilities/index.js.map +4 -4
- package/dist/features/calendar/adapters/inbound/Calendar.d.ts +1 -1
- package/dist/features/calendar/adapters/inbound/Calendar.d.ts.map +1 -1
- package/dist/features/calendar/adapters/inbound/Calendar.js +207 -75
- package/dist/features/calendar/adapters/inbound/Calendar.js.map +1 -1
- package/dist/features/calendar/calendarMeta.d.ts +106 -4
- package/dist/features/calendar/calendarMeta.d.ts.map +1 -1
- package/dist/features/calendar/calendarMeta.js +44 -4
- package/dist/features/calendar/calendarMeta.js.map +1 -1
- package/dist/features/calendar/public.d.ts +1 -1
- package/dist/features/calendar/public.d.ts.map +1 -1
- package/dist/features/calendar/public.js.map +1 -1
- package/dist/features/data-table/dataTableMeta.d.ts +10 -0
- package/dist/features/data-table/dataTableMeta.d.ts.map +1 -1
- package/dist/features/data-table/dataTableMeta.js +7 -0
- package/dist/features/data-table/dataTableMeta.js.map +1 -1
- package/dist/types/calendar.d.ts +40 -19
- package/dist/types/calendar.d.ts.map +1 -1
- package/dist/types/calendar.js.map +1 -1
- package/package.json +79 -4
- package/src/features/calendar/adapters/inbound/Calendar.interaction.test.tsx +95 -0
- package/src/features/calendar/adapters/inbound/Calendar.tsx +425 -135
- package/src/features/calendar/calendarMeta.ts +44 -4
- package/src/features/calendar/public.test.ts +8 -5
- package/src/features/calendar/public.ts +4 -0
- package/src/features/data-table/adapters/inbound/DataTable.test.tsx +52 -1
- package/src/features/data-table/dataTableMeta.test.ts +8 -1
- package/src/features/data-table/dataTableMeta.ts +7 -0
- package/src/features/registry/componentMeta.test.ts +1 -0
- package/src/types/calendar.ts +44 -19
- package/web-dist/chunks/Accordion-59x6e7bs.js +200 -0
- package/web-dist/chunks/Accordion-q2yxtdzc.js +426 -0
- package/web-dist/components/calendar/Calendar.d.ts +2 -2
- package/web-dist/components/calendar/Calendar.dependency-2.d.ts +165 -0
- package/web-dist/components/calendar/Calendar.js +2 -1
- package/web-dist/components/calendar/Calendar.types-0.d.ts +45 -19
- package/web-dist/components/calendar/index.d.ts +1 -1
- package/web-dist/components/date-picker/DatePicker.js +2 -1
- package/web-dist/components/time-grid/TimeGrid.js +4 -198
- package/web-dist/manifest.json +6 -2
- package/web-dist/chunks/Accordion-v3bmbnfh.js +0 -237
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 28.10.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 3274a74: Update dependencies: `@ankhorage/contracts`, `@ankhorage/runtime`, `@ankhorage/surface`.
|
|
8
|
+
|
|
9
|
+
## 28.10.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- b4627f3: Expose Calendar as a serializable manifest component with controlled day, week, and month views backed by GridView and TimeGrid.
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- 485580d: Enable reactive manifest bindings for DataTable rows.
|
|
18
|
+
|
|
3
19
|
## 28.9.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
# ZORA
|
|
5
5
|
|
|
6
|
-
         
|
|
7
7
|
|
|
8
8
|
Provides opinionated React Native and React Native Web UI components, theme primitives, registries, and reader surfaces built on @ankhorage/surface.
|
|
9
9
|
|
|
@@ -1105,11 +1105,51 @@ var iconButtonMeta = {
|
|
|
1105
1105
|
var calendarMeta = {
|
|
1106
1106
|
name: "Calendar",
|
|
1107
1107
|
category: "component",
|
|
1108
|
-
description: "
|
|
1109
|
-
directManifestNode:
|
|
1110
|
-
note: "Uses Date values and executable change callbacks; available through the public code API.",
|
|
1108
|
+
description: "Serializable Calendar with GridView month and TimeGrid day/week views.",
|
|
1109
|
+
directManifestNode: true,
|
|
1111
1110
|
allowedChildren: [],
|
|
1112
|
-
|
|
1111
|
+
blueprint: {
|
|
1112
|
+
label: "Calendar",
|
|
1113
|
+
defaultProps: { displayedDate: "2026-12-04", events: [], view: "month" }
|
|
1114
|
+
},
|
|
1115
|
+
events: {
|
|
1116
|
+
dateChange: {
|
|
1117
|
+
label: "Date change",
|
|
1118
|
+
eventType: "calendar.dateChange",
|
|
1119
|
+
payloadFields: [{ path: "date", type: "string", label: "Date" }]
|
|
1120
|
+
},
|
|
1121
|
+
viewChange: {
|
|
1122
|
+
label: "View change",
|
|
1123
|
+
eventType: "calendar.viewChange",
|
|
1124
|
+
payloadFields: [{ path: "view", type: "string", label: "View" }]
|
|
1125
|
+
},
|
|
1126
|
+
eventActivate: {
|
|
1127
|
+
label: "Activate event",
|
|
1128
|
+
eventType: "calendar.eventActivate",
|
|
1129
|
+
payloadFields: [{ path: "eventId", type: "string", label: "Event ID" }]
|
|
1130
|
+
}
|
|
1131
|
+
},
|
|
1132
|
+
bindings: {
|
|
1133
|
+
props: {
|
|
1134
|
+
displayedDate: { value: { type: "string" }, acceptsFallback: true, acceptsTransforms: true },
|
|
1135
|
+
events: {
|
|
1136
|
+
value: { type: "array", itemType: "object" },
|
|
1137
|
+
acceptsFallback: true,
|
|
1138
|
+
acceptsTransforms: true
|
|
1139
|
+
},
|
|
1140
|
+
view: { value: { type: "string" }, acceptsFallback: true }
|
|
1141
|
+
}
|
|
1142
|
+
},
|
|
1143
|
+
props: {
|
|
1144
|
+
displayedDate: { type: "string", category: "State", label: "Displayed date" },
|
|
1145
|
+
defaultDisplayedDate: { type: "string", category: "State", label: "Initial displayed date" },
|
|
1146
|
+
view: { type: "enum", category: "State", enum: ["day", "week", "month"] },
|
|
1147
|
+
timeZone: { type: "string", category: "State", label: "Timezone" },
|
|
1148
|
+
events: { type: "array", category: "Data", label: "Events" },
|
|
1149
|
+
locale: { type: "string", category: "Content", label: "Locale" },
|
|
1150
|
+
weekStartsOn: { type: "number", category: "Layout", label: "Week starts on" },
|
|
1151
|
+
density: { type: "enum", category: "Layout", enum: ["regular", "compact"] }
|
|
1152
|
+
}
|
|
1113
1153
|
};
|
|
1114
1154
|
|
|
1115
1155
|
// src/features/card/cardMeta.ts
|
|
@@ -2067,6 +2107,13 @@ var dataTableMeta = {
|
|
|
2067
2107
|
},
|
|
2068
2108
|
bindings: {
|
|
2069
2109
|
props: {
|
|
2110
|
+
rows: {
|
|
2111
|
+
label: "Rows",
|
|
2112
|
+
description: "Reactive serializable rows rendered by the data table.",
|
|
2113
|
+
value: { type: "array", itemType: "object" },
|
|
2114
|
+
acceptsFallback: true,
|
|
2115
|
+
acceptsTransforms: true
|
|
2116
|
+
},
|
|
2070
2117
|
sort: {
|
|
2071
2118
|
value: {
|
|
2072
2119
|
type: "object",
|
|
@@ -6696,4 +6743,4 @@ export {
|
|
|
6696
6743
|
CAPABILITIES
|
|
6697
6744
|
};
|
|
6698
6745
|
|
|
6699
|
-
//# debugId=
|
|
6746
|
+
//# debugId=662C8CEA74C732C064756E2164756E21
|