@object-ui/plugin-timeline 17.7.0 → 18.0.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 +518 -0
- package/README.md +4 -1
- package/dist/ObjectTimeline.d.ts +9 -3
- package/dist/ObjectTimeline.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +231 -227
- package/dist/index.umd.cjs +1 -1
- package/dist/renderHandoff.d.ts +20 -7
- package/dist/renderHandoff.d.ts.map +1 -1
- package/dist/renderer.d.ts.map +1 -1
- package/dist/useTimelineTranslation.d.ts.map +1 -1
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,523 @@
|
|
|
1
1
|
# @object-ui/plugin-timeline
|
|
2
2
|
|
|
3
|
+
## 18.0.0
|
|
4
|
+
|
|
5
|
+
### Dependency floors
|
|
6
|
+
|
|
7
|
+
Computed from `.objectstack-sha` `06cab4849a8a`: the earliest published `@objectstack/spec` that contains it is `18.0.0`.
|
|
8
|
+
|
|
9
|
+
- `@objectstack/spec` (`dependencies`): `^18.0.0-next.1` → `^18.0.0`
|
|
10
|
+
|
|
11
|
+
### Major Changes
|
|
12
|
+
|
|
13
|
+
- 6f3299f: objectui moves to major 18, following `@objectstack/*` from 17 to 18 (objectui#12334). objectui's major is not a count of its own breaking changes: it tracks the major of the `@objectstack/spec` its packages depend on, so that the same major means compatible across the two projects. These packages already declare `@objectstack/*` on the 18 line (objectui#12030), so every package in the fixed release group crosses to 18 together. It is the one `major` that rule admits: objectui's own breaking changes ship as `minor`, described in their entries.
|
|
14
|
+
|
|
15
|
+
The 18 line is released from Changesets pre mode on the `next` tag (`.changeset/pre.json`), as `@objectstack/*` 18 is: these releases are `18.0.0-next.N` on the npm `next` dist-tag, and they do not move `latest`. The first `18.0.0` on `latest` comes when `@objectstack` 18 is generally available and this repository leaves pre mode.
|
|
16
|
+
|
|
17
|
+
What a consumer must do to take it is in the `@objectstack/*` 18 entry of this release (objectui#12030): move its own `@objectstack/*` packages to the 18 line at the same time.
|
|
18
|
+
|
|
19
|
+
### Minor Changes
|
|
20
|
+
|
|
21
|
+
- 9ca3cac: The calendar and the timeline start the week on the first day of the week of the user's locale (objectui#11675), instead of a fixed Sunday (calendar) and a fixed Monday (timeline). Under `en-US` both start on Sunday; under `en-GB` or `zh-CN` both start on Monday; under `ar-EG` both start on Saturday. There is no separate week-start setting: the first day comes from the locale the dates are already formatted with.
|
|
22
|
+
|
|
23
|
+
- **`@object-ui/i18n` exports `firstDayOfWeek(locale)` and its `WeekdayIndex` type.** It returns the first day of the week for a BCP-47 tag, numbered as `Date.prototype.getDay` numbers weekdays (0 is Sunday), which is also what react-day-picker's `weekStartsOn` takes. It reads the engine's `Intl.Locale` week info (`getWeekInfo()`, else the `weekInfo` accessor), including a `-u-fw-` keyword on the tag. Where the engine has neither, it reads CLDR's first-day table by the tag's region, or the region CLDR's likely subtags give it (`en` reads `US`, `zh` reads `CN`), and a region the table does not list reads Monday, CLDR's world default. A malformed tag throws the same `RangeError` that formatting a date with it would.
|
|
24
|
+
- **The calendar's weeks start on the locale's first day.** `CalendarView` (and `object-calendar` through it) reads the first day from its `locale` prop, else the display locale, and the month grid's rows, its weekday heads, the week view's columns, the header's week range, the day a span that wraps into a new row shows its title on, and the header's date popover all start there. The popover used to take date-fns's own week start for the tag, which is not CLDR's for every tag (date-fns reads `es-MX` as `es`, a Monday start, where CLDR starts Mexico's week on Sunday) and which read Sunday until the date-fns locale had loaded.
|
|
25
|
+
- **The object timeline's "This week" and "Next week" start on the display locale's first day.** The bucket bounds are also stepped on the local calendar now, so across a DST change the day after it is "Tomorrow" again, and the first day of next week no longer falls into "This week".
|
|
26
|
+
|
|
27
|
+
A host that relied on the calendar always starting on Sunday, or on the timeline's week always starting on Monday, now sees the locale's first day. The gantt variant's `week` axis is unchanged: it still counts plan weeks from the axis's first day.
|
|
28
|
+
- c910630: The timeline's unused "Overdue" bucket label is removed: `timeline.bucket.overdue` is gone from all ten language packs and from the timeline's built-in English defaults (objectui#11676).
|
|
29
|
+
|
|
30
|
+
Nothing has read the key since a past date on a timeline went under "Earlier". No timeline heads a group "Overdue": a date is overdue only when it is a due date and the record is still open, and a timeline declares neither fact. Overdue records are still marked where record state lives: the date cell's due treatment, the gantt's alert colour and conditional formatting.
|
|
31
|
+
|
|
32
|
+
**Narrowed public surface (`@object-ui/i18n`).** The exported `en` pack and the `TranslationKeys` type derived from it lose one member, `timeline.bucket.overdue`. Code that reads `en.timeline.bucket.overdue`, or passes that key to `t()` expecting a translation, has to drop it. This is released as `minor` under objectui's version policy, which keeps the major aligned with `@objectstack`. The date cell's "Overdue 3d" phrase is a different key, `fields.relativeDate.overdue`, and stays in every pack.
|
|
33
|
+
- ce464d9: An object-bound timeline no longer heads every past date "Overdue": a day before today goes under a neutral "Earlier" bucket, translated in every language (objectui#11676).
|
|
34
|
+
|
|
35
|
+
Without a `groupByField`, `ObjectTimeline` groups its entries into date buckets, and every day before today went under "Overdue", whatever the date meant. The showcase's Activity Timeline, bound to `created_at`, put all ten tasks under "Overdue", the two Done ones included. A creation date cannot be overdue, and a closed record cannot be either.
|
|
36
|
+
|
|
37
|
+
"Overdue" needs two facts: that the date is a due date, and that the record is still open. Nothing the timeline reads declares either one. The timeline configuration (`startDateField`, `endDateField`, `titleField`, `groupByField`, `colorField`, `scale`) names no due-date role, and no field option marks a closed state. So a past day is now "Earlier", and the timeline does not guess either fact from a field name or a status value. Today, Tomorrow, This week, Next week, Later and No date are unchanged.
|
|
38
|
+
|
|
39
|
+
**Widened public surface (`@object-ui/i18n`).** One new key in all ten language packs, `timeline.bucket.earlier`, so the exported `en` pack and the `TranslationKeys` type derived from it gain one member. The timeline no longer reads `timeline.bucket.overdue`, and this release also removes that key from every pack (the "Overdue" bucket label retirement entry). No component prop or exported type changes.
|
|
40
|
+
- c5406c2: Depend on the `@objectstack/*` 18 prerelease line (objectui#12030).
|
|
41
|
+
|
|
42
|
+
Every `@objectstack/*` range these packages declare in `dependencies` or `peerDependencies` moves from `^17.x` to `^18.0.0-next.0`, the `next` prerelease of `@objectstack/*` 18 (raised to `^18.0.0-next.1` by objectui#12370 before release).
|
|
43
|
+
|
|
44
|
+
**Breaking for consumers:** an install that resolves `@objectstack/spec` (or `@objectstack/client`, `@objectstack/formula`, `@objectstack/lint`) 17.x no longer satisfies these ranges. A consumer must move its own `@objectstack/*` packages to the 18 line, starting with `18.0.0-next.1` (objectui#12370), at the same time as it takes this release.
|
|
45
|
+
|
|
46
|
+
**objectui's own surface moves with it:**
|
|
47
|
+
|
|
48
|
+
- `element:record_picker`'s registration stops publishing the `object`, `filter`, `sort` and `limit` inputs, which spec 18 retires; a JSX page that writes one now gets `unknown-prop`.
|
|
49
|
+
- The `CapabilityMultiSelectField` widget's curated capability set (`@object-ui/fields`) follows spec 18: `manage_mailboxes` in, `manage_org_presentation` out.
|
|
50
|
+
- `element:number` and `element:repeater` nodes that bind no object are accepted, as spec 18's row and `PageComponentSchema` accept them; the two `ELEMENT_*_OBJECT_REQUIRED` refusals are gone.
|
|
51
|
+
|
|
52
|
+
**Retired with the spec:** `@objectstack/spec` 18 tombstones `object-grid`'s `defaultFilters` and refuses it by name, and `ObjectGrid` and `ObjectView` stop reading it (`table.defaultFilters` on an `object-view` included). A view that still carries it renders unfiltered: rename the key to `filter`, whose value is the same rule array.
|
|
53
|
+
- ff9df88: Depend on `@objectstack/*` `18.0.0-next.1` (objectui#12370).
|
|
54
|
+
|
|
55
|
+
Every `@objectstack/*` range these packages declare moves from `^18.0.0-next.0` to `^18.0.0-next.1`; the console and the runner bundle `18.0.0-next.1`. A consumer moves its own `@objectstack/*` packages to `18.0.0-next.1` with this release.
|
|
56
|
+
|
|
57
|
+
**Accept sets that narrow with it.** `@object-ui/types` validates page action rows and view data bindings through the spec's own rows, so its faces (`safeValidateSchema` and `StrictAnyComponentSchema`) now refuse what `18.0.0-next.1` refuses. Each was accepted on `18.0.0-next.0`:
|
|
58
|
+
|
|
59
|
+
- `onSuccess` on an `action:button` / `action:icon` row, or an `action:group` / `action:menu` member, whose executor is the `url`, `navigation`, `modal`, `flow` or `form` built-in, or that has no executor at all. Write the hop on an `api` or `script` action (or a host handler name), or drop it.
|
|
60
|
+
- `onSuccess` beside `operation: 'update'`, and an `onSuccess` block carrying a key outside `{ navigate, openIn }`.
|
|
61
|
+
- `actionType: 'navigation'` on a row (and `type: 'navigation'` on a container member): write `'url'`.
|
|
62
|
+
- A `url` executor's `target` that is not openable, judged on the executor the runner runs, including a row whose `name` selects it.
|
|
63
|
+
- A view `data` binding with `provider: 'api'`: bind the object or static rows; an API call is the page element's binding.
|
|
64
|
+
- 3fd8625: feat(plugin-list)!: the renderers stop reading the list-view keys every door refuses: the pre-#2231 aliases, `calendar.defaultView`, and the undeclared keys a per-kind block carries (objectui#6152, round 14)
|
|
65
|
+
|
|
66
|
+
Clause-②: no
|
|
67
|
+
|
|
68
|
+
**Changed (breaking for a stored view that carries a refused key).** Rounds 11 and 12 of
|
|
69
|
+
objectui#6152 closed the doors: `@object-ui/types`, `objectui validate` and `@objectstack/spec`'s
|
|
70
|
+
view write door refuse these keys on a list view's per-kind blocks, top-level and under the legacy
|
|
71
|
+
`options` bag. The renderers kept reading them, so a view stored before the doors closed still
|
|
72
|
+
rendered as written. They no longer read them, on every route that did: `normalizeListViewSchema`
|
|
73
|
+
(`@object-ui/core`), which folded the four aliases onto their spec keys before anything else read
|
|
74
|
+
the view, `ListView`, the object page's relay (`@object-ui/app-shell`), `ObjectView`'s own views
|
|
75
|
+
(`@object-ui/plugin-view`) and `ObjectTimeline`. A stored view that carries one of these keys still renders, without what the key
|
|
76
|
+
used to bind. Write the spec's key instead:
|
|
77
|
+
|
|
78
|
+
| stored key (either nesting) | what renders now | write instead |
|
|
79
|
+
| :--- | :--- | :--- |
|
|
80
|
+
| `kanban.groupField` | lanes as for a view that names none: the object's declared lifecycle field (`status` on an `object-view` element's own views) | `kanban.groupByField` |
|
|
81
|
+
| `kanban.cardFields` | cards show `kanban.columns`, or the view's own fields | `kanban.columns` |
|
|
82
|
+
| `gallery.imageField` | no cover binding: `ObjectGallery` tries `image`, and the Gallery view is not offered | `gallery.coverField` |
|
|
83
|
+
| `timeline.dateField`, and `calendar.dateField` read as a timeline axis | no timeline axis: the timeline's refusal names the keys to write, and the Timeline view is not offered | `timeline.startDateField` (or `calendar.startDateField`) |
|
|
84
|
+
| `calendar.defaultView` | the calendar opens on its own default view | nothing on a list view: the initial mode is the `object-calendar` element's flat `defaultView` |
|
|
85
|
+
| `kanban.swimlaneField` and any other undeclared kanban key | not drawn | nothing: the spec's kanban block has no swimlane |
|
|
86
|
+
| `tree.titleField` | the tree labels by `name` | `tree.labelField` |
|
|
87
|
+
| an undeclared key under `calendar`, `tree` or `gantt`, or anything under `options.grid` | not forwarded to the view | the block's declared key, or a top-level key of the view for a grid |
|
|
88
|
+
|
|
89
|
+
The declared keys keep their route: `kanban.summarizeField`, `calendar.colorField` and
|
|
90
|
+
`calendar.allDayField` are now read by name where the removed spreads used to carry them, and every
|
|
91
|
+
`gantt` key the spec declares reaches the gantt through a typed table that `tsc` keeps total. A
|
|
92
|
+
block key named like a node key (`objectName`, `filter`) can no longer override the node's own
|
|
93
|
+
value. `ListView`'s projection collectors stop asking the server for the fields these keys named.
|
|
94
|
+
|
|
95
|
+
**Not measured: production.** The census before this change (objectui#6152 round 13) found no
|
|
96
|
+
writer and no stored row carrying these keys in any repository corpus a seat can reach, with
|
|
97
|
+
positive controls; stored view and page metadata in deployments was not measured. A row that
|
|
98
|
+
carries one of these keys renders as the table says until it is re-saved with the key on the
|
|
99
|
+
right.
|
|
100
|
+
|
|
101
|
+
Not in this change: the legacy chart axes (`chart.xAxisField`, `yAxisFields`, `categoryField`,
|
|
102
|
+
`valueField`, `aggregation`), which `ListView` still reads until the next round on objectui#6152.
|
|
103
|
+
|
|
104
|
+
- `@object-ui/core`: `normalizeListViewSchema` returns a view whose only legacy vocabulary is one of
|
|
105
|
+
these nested aliases by reference, with the alias in place; it no longer removes it either.
|
|
106
|
+
- `@object-ui/types`: the refusal messages of these keys no longer say a stored view still renders
|
|
107
|
+
through the alias, and the kanban `groupBy` refusal no longer suggests the refused `groupField`.
|
|
108
|
+
|
|
109
|
+
**Note added 2026-10-09 (objectui#6152 round 15):** the legacy chart axes are no longer read either.
|
|
110
|
+
`ListView`, the object page and `ObjectView`'s own views read no `xAxisField`, `yAxisFields`,
|
|
111
|
+
`categoryField`, `valueField` or `aggregation` on a chart block, so a chart view that names no
|
|
112
|
+
`dataset` binds nothing and `ObjectChart` refuses it on screen; see
|
|
113
|
+
`.changeset/6152-list-view-legacy-chart-retired.md`.
|
|
114
|
+
- b403bb3: **`BaseSchema` no longer declares `[key: string]: any`** (objectui#8347, executing the objectui#7927 ruling: the TypeScript face is a contract). Every node type extends `BaseSchema`, so a node literal annotated with its node type now refuses a key that no declaration names, a misspelled key included, where it used to type it `any`. The correct spelling compiles as before.
|
|
115
|
+
|
|
116
|
+
**Clause-②: yes (narrowing)**, shipped as `minor` per this repository's version policy. The removal narrows the TypeScript authoring face of every node type; the `visibleWhen` change below widens both faces to the envelope the spec's own parse writes.
|
|
117
|
+
|
|
118
|
+
- **What does not move.** The zod faces keep their accept sets for every key but `visibleWhen`: the tolerant mirror is still `.passthrough()`, so `safeValidateSchema` keeps an undeclared key, and the derived strict face refuses it as before. `ComponentRendererProps`, the renderer props type, keeps its own index signature. Nothing a renderer draws changes.
|
|
119
|
+
- **The bound.** TypeScript runs its excess-property check only on a fresh object literal. A value that reached its annotation through a variable of a wider type is not re-checked.
|
|
120
|
+
- **`PartialSchema<T>` works as written.** With the signature gone, `keyof T` is the literal member union again, so the alias keeps `T`'s declared members, optional, with `type` required. While the signature stood it declared `type` alone (objectui#6397).
|
|
121
|
+
- **`BaseSchema.visibleWhen` is the spec's `EvaluatedExpressionInput`**, by reference: a predicate string, or the `{ dialect, source }` envelope. The zod twin takes `EvaluatedExpressionInputSchema`'s verdict without its transform, so a string parses to itself. A dialect-less envelope, an unknown dialect and a blank predicate are refused, as the spec refuses them. Both faces read `string` before, which refused the envelope a spec parse writes into this key.
|
|
122
|
+
- **`@object-ui/plugin-kanban`.** `ObjectKanban` reads the `sort` the element data-source gate writes through a read type private to the package. `ObjectKanbanSchema` still declares no `sort` (objectui#8174). Nothing drawn changes.
|
|
123
|
+
- **`@object-ui/plugin-timeline`.** `TimelineRenderSchema`, the `schema` prop type of the exported `TimelineRenderer`, gains one optional member: the `onItemClick` slot `ObjectTimeline` composes. That is a one-member optional widening of an exported prop type. `TimelineSchema`, the authoring face, still declares no `onItemClick`. Nothing drawn changes.
|
|
124
|
+
|
|
125
|
+
**Migration.** Where a literal stops compiling, the key is misspelled (fix it) or not declared on that node type (declare it on the type that reads it, by reference to the `@objectstack/spec` row, or remove it). Do not cast past the error. `props`, the legacy alias of `properties`, is not declared on the TypeScript face; the renderer still reads it, so write `properties`.
|
|
126
|
+
|
|
127
|
+
### Patch Changes
|
|
128
|
+
|
|
129
|
+
- c0862c1: The `object-gantt` `markers` input and the `object-timeline` `items` and `mapping` inputs open their descriptions with the `@objectstack/spec` 17.7.0 row's own describe text, which is true of these renderers (objectui#11168's rule, followed at objectui#11717). The renderer-specific sentences after it are unchanged.
|
|
130
|
+
- 206505c: An object timeline with a `groupByField` draws one group per value, headed by the value's display name (objectui#12104).
|
|
131
|
+
|
|
132
|
+
- **A lookup groups by the referenced record's name.** The timeline's own query expands every declared relation, so a lookup value arrives as the related record, and the group header used to read "[object Object]" for every row: a timeline grouped by an owner or an account drew one group. The group key now reads the field's display value through the same resolver the entry title and description use. A select field still groups by its option's label. An empty value groups under "Unassigned", and when no row has a display value the timeline keeps its date buckets. A lookup that arrives unexpanded groups under its id, which is what the title shows for it too.
|
|
133
|
+
- **A key's rows are gathered into one group.** Entries are sorted by start date, and a group used to end wherever the next entry had another value, so a field whose values alternate in date order (a channel, say) drew the same header many times. Each value now heads exactly one group. Groups appear in the order of their earliest entry, and entries stay in date order inside each group, so a timeline whose values were already contiguous renders as before.
|
|
134
|
+
|
|
135
|
+
Unchanged: a timeline with no `groupByField` (its date buckets), the horizontal timeline, which draws no groups and keeps its date order, and the group key of a multi-valued field (a multiselect, tags, or a lookup with `multiple`), which reads as before. Nothing is added to the package entry: no export, prop or language-pack key.
|
|
136
|
+
- 1e6d83b: Data-bound blocks title their "data source could not be resolved" panel in the page's language (objectui#12920, the family of objectui#12910). The panel shows when a block's `dataSource.view` names a view its object does not have. Each block's title now reads `@object-ui/i18n` through `useObjectTranslation`, with the `en` pack's value as the inline default, so a page with no `I18nProvider` draws the same English it drew before.
|
|
137
|
+
|
|
138
|
+
- **Plugin blocks.** `object-calendar`, `object-chart`, `object-metric`, `object-pivot`, `detail-view`, `record:related_list`, `object-form`, `embeddable-form`, `object-master-detail-form`, `record:line_items`, `object-gantt`, `object-grid`, `object-kanban`, `list-view`, `object-map` and `object-timeline` read one `element.KIND.sourceUnresolved` key per block kind. `object-metric` reads `element.number.sourceUnresolved`, the key `element:number` already reads for the same sentence. The three forms share `element.form.sourceUnresolved`. `record:related_list`'s panel for a failed `parentDataSource` read reads `element.relatedList.parentUnreadable` ("This related list’s parent record could not be read").
|
|
139
|
+
- **`@object-ui/react` panel defaults.** `ElementDataSourceErrorPanel` with no `title` reads `element.component.sourceUnresolved`, and `NoDataSourcePanel` with no `title` reads `element.component.noDataSource`. A passed `title` still wins, an empty string included. Props and markup do not change.
|
|
140
|
+
|
|
141
|
+
Clause-②: yes
|
|
142
|
+
|
|
143
|
+
The new keys in `@object-ui/i18n` widen its exported `TranslationKeys`. No prop, input or export of these packages changes.
|
|
144
|
+
- 5d77c09: feat(types)!: a list view's legacy `options` bag is the `@objectstack/spec` list overlay's bag by reference, `ListViewTimelineConfig` is the list view's own `timeline` block, and `ListViewGalleryConfig` is retired (objectui#6152, round 12)
|
|
145
|
+
|
|
146
|
+
Clause-②: no
|
|
147
|
+
|
|
148
|
+
**Narrowed (breaking), `@object-ui/types`.** `@objectstack/spec`'s authoring list view declares no
|
|
149
|
+
`options` bag. Its one home is the flattened list overlay on the view write door
|
|
150
|
+
(`VIEW_METADATA_MEMBERS.listOverlay`), where it is a strict object of the eight kinds that name a
|
|
151
|
+
block, each judged by its own list-view block with every key optional. `ListViewSchema.options` was
|
|
152
|
+
a record of `any` with three named refusals, so `ListViewSchema`, `AnyComponentSchema`,
|
|
153
|
+
`safeValidateSchema` (`objectui validate`), `StrictAnyComponentSchema` and the TypeScript
|
|
154
|
+
`ListViewSchema['options']` accepted what that door refuses. It is now that member's own bag, taken
|
|
155
|
+
by reference, with this package's `kanban`, `calendar`, `gallery` and `timeline` blocks in it, so
|
|
156
|
+
each named refusal gives the same message under `options.KIND` as under the top-level `KIND`. What is
|
|
157
|
+
refused now, and what to write instead:
|
|
158
|
+
|
|
159
|
+
- A key that is not one of the eight kinds is refused with the spec's own `unrecognized_keys` at
|
|
160
|
+
`options`. `options.grid` gets the spec's guidance: a grid has no per-kind block, so its settings
|
|
161
|
+
(`columns`, `sort`, `filter`, …) are top-level keys of the view. Remove it.
|
|
162
|
+
- An undeclared key in any kind (for example `options.kanban.swimlaneField`,
|
|
163
|
+
`options.timeline.descriptionField`, `options.tree.titleField`, `options.chart.xAxisField`) is
|
|
164
|
+
refused with the spec's own `unrecognized_keys` at that kind. Before this change it was kept and
|
|
165
|
+
never examined.
|
|
166
|
+
- `options.kanban.groupField` is refused by name: write `groupByField`.
|
|
167
|
+
- `options.kanban.cardFields` is refused by name: write `columns`.
|
|
168
|
+
- `options.gallery.imageField` is refused by name: write `coverField`.
|
|
169
|
+
- `options.timeline.dateField` is refused by name: write `startDateField`.
|
|
170
|
+
- `options.calendar.defaultView` is refused by name: the initial view mode is a member of the
|
|
171
|
+
`object-calendar` element (its flat `defaultView`), not of a list view's calendar block.
|
|
172
|
+
- `options.chart`'s legacy axes (`xAxisField`, `yAxisFields`, `categoryField`, `valueField`,
|
|
173
|
+
`aggregation`) are refused: write the dataset-bound block, `chart: { dataset, dimensions, values }`.
|
|
174
|
+
- A value of the wrong type (for example `options.kanban: 42`, or a number where a field name
|
|
175
|
+
belongs) is refused at its path.
|
|
176
|
+
|
|
177
|
+
The three refusals already in place (`options.kanban.groupBy`, objectui#8365;
|
|
178
|
+
`options.calendar.dateField` / `endField`, objectui#8355) keep their messages, and now report
|
|
179
|
+
`invalid_type` at the key, as the top-level blocks do, where they reported `custom`. Each kind is
|
|
180
|
+
`.partial()`, as the spec's bag is: the renderer reads the bag as a per-key underlay of the top-level
|
|
181
|
+
block, so a required member is not asked of it.
|
|
182
|
+
|
|
183
|
+
**Changed, `@object-ui/types`.** `ListViewTimelineConfig` is `NonNullable<ListViewSchema['timeline']>`:
|
|
184
|
+
the spec's list-view slot, strict and `.partial()`, with the legacy `dateField` refused by name
|
|
185
|
+
(write `startDateField`). It was the spec's `TimelineConfig` plus `dateField?: string` and a string
|
|
186
|
+
index signature of `any`, so a block with any key compiled.
|
|
187
|
+
|
|
188
|
+
**Retired, `@object-ui/types`.** The `ListViewGalleryConfig` type export is gone. Nothing in this
|
|
189
|
+
repository used it, and the spec has no element of that shape. Write the spec's `GalleryConfig`,
|
|
190
|
+
which this package re-exports.
|
|
191
|
+
|
|
192
|
+
**`@object-ui/app-shell`.** The object page's relay writes the spec's spellings into the bag it hands
|
|
193
|
+
`ListView`: `options.kanban.columns` where it wrote `cardFields`, no `options.gallery.imageField`
|
|
194
|
+
beside `coverField`, and no `options.timeline.descriptionField`. What renders does not change: the
|
|
195
|
+
board reads `columns` for its cards, the gallery reads `coverField` first, and nothing drew the
|
|
196
|
+
timeline's nested `descriptionField`.
|
|
197
|
+
|
|
198
|
+
**`@object-ui/plugin-list`.** `ListView`'s capability gate also reads `options.gallery.coverField`, so
|
|
199
|
+
a bag binding its cover under the spec's key offers the Gallery view; it read only the legacy
|
|
200
|
+
`imageField` there. The README's examples author the top-level per-kind blocks and a dataset-bound
|
|
201
|
+
chart, and no longer show the bag.
|
|
202
|
+
|
|
203
|
+
**`@object-ui/plugin-timeline`.** `ObjectTimeline`'s nested `schema.timeline` prop takes the new
|
|
204
|
+
`ListViewTimelineConfig`.
|
|
205
|
+
|
|
206
|
+
What did not move: the renderers' reads. `ListView` still merges each `options.KIND` under the
|
|
207
|
+
top-level block and still reads the legacy spellings, so a view stored before these doors closed
|
|
208
|
+
renders as before; only authored metadata meets the refusal.
|
|
209
|
+
|
|
210
|
+
**Note added 2026-10-09 (objectui#6152 round 14):** the renderers' reads have moved. `ListView`
|
|
211
|
+
still merges each `options.KIND` under the top-level block, but it reads each kind's declared keys
|
|
212
|
+
only: the legacy spellings, `options.grid` and the undeclared keys a bag carries are no longer read,
|
|
213
|
+
so a view stored with one of them renders without what that key used to bind; see
|
|
214
|
+
`.changeset/6152-list-view-readers-retired.md`. The legacy chart axes (`options.chart.xAxisField`
|
|
215
|
+
and the rest) are still read until the next round on objectui#6152.
|
|
216
|
+
|
|
217
|
+
**Note added 2026-10-09 (objectui#6152 round 15):** the legacy chart axes are no longer read, in the
|
|
218
|
+
bag or at the top level: a chart block that names no `dataset` binds nothing, and `ObjectChart`
|
|
219
|
+
refuses it on screen; see `.changeset/6152-list-view-legacy-chart-retired.md`.
|
|
220
|
+
- Updated dependencies [18d7b48]
|
|
221
|
+
- Updated dependencies [172acc3]
|
|
222
|
+
- Updated dependencies [f0496bd]
|
|
223
|
+
- Updated dependencies [c4c506b]
|
|
224
|
+
- Updated dependencies [9db9ff3]
|
|
225
|
+
- Updated dependencies [c096f03]
|
|
226
|
+
- Updated dependencies [d92b2a1]
|
|
227
|
+
- Updated dependencies [92f4e2b]
|
|
228
|
+
- Updated dependencies [b10c68e]
|
|
229
|
+
- Updated dependencies [bdc9049]
|
|
230
|
+
- Updated dependencies [e8c0b96]
|
|
231
|
+
- Updated dependencies [b92329c]
|
|
232
|
+
- Updated dependencies [2e818d0]
|
|
233
|
+
- Updated dependencies [fd060f0]
|
|
234
|
+
- Updated dependencies [fd060f0]
|
|
235
|
+
- Updated dependencies [8b14aec]
|
|
236
|
+
- Updated dependencies [2abec3a]
|
|
237
|
+
- Updated dependencies [9dfaca6]
|
|
238
|
+
- Updated dependencies [c000398]
|
|
239
|
+
- Updated dependencies [73b5d77]
|
|
240
|
+
- Updated dependencies [7b17705]
|
|
241
|
+
- Updated dependencies [fc3c2cc]
|
|
242
|
+
- Updated dependencies [f9f4a62]
|
|
243
|
+
- Updated dependencies [848ba0e]
|
|
244
|
+
- Updated dependencies [57d82cb]
|
|
245
|
+
- Updated dependencies [de96f3d]
|
|
246
|
+
- Updated dependencies [9ca3cac]
|
|
247
|
+
- Updated dependencies [c910630]
|
|
248
|
+
- Updated dependencies [ce464d9]
|
|
249
|
+
- Updated dependencies [e6dcd85]
|
|
250
|
+
- Updated dependencies [96fcf30]
|
|
251
|
+
- Updated dependencies [7a2c60b]
|
|
252
|
+
- Updated dependencies [834c559]
|
|
253
|
+
- Updated dependencies [22b503c]
|
|
254
|
+
- Updated dependencies [9fc68aa]
|
|
255
|
+
- Updated dependencies [d50f724]
|
|
256
|
+
- Updated dependencies [17acfbb]
|
|
257
|
+
- Updated dependencies [6be0f7a]
|
|
258
|
+
- Updated dependencies [89cc738]
|
|
259
|
+
- Updated dependencies [c0862c1]
|
|
260
|
+
- Updated dependencies [c0862c1]
|
|
261
|
+
- Updated dependencies [c0862c1]
|
|
262
|
+
- Updated dependencies [c0862c1]
|
|
263
|
+
- Updated dependencies [c0862c1]
|
|
264
|
+
- Updated dependencies [c0862c1]
|
|
265
|
+
- Updated dependencies [ded4494]
|
|
266
|
+
- Updated dependencies [d172f63]
|
|
267
|
+
- Updated dependencies [4c0de52]
|
|
268
|
+
- Updated dependencies [a80fef7]
|
|
269
|
+
- Updated dependencies [3bf8894]
|
|
270
|
+
- Updated dependencies [e06365c]
|
|
271
|
+
- Updated dependencies [1e1f09e]
|
|
272
|
+
- Updated dependencies [455c646]
|
|
273
|
+
- Updated dependencies [f34e877]
|
|
274
|
+
- Updated dependencies [f34e877]
|
|
275
|
+
- Updated dependencies [9844bbf]
|
|
276
|
+
- Updated dependencies [cef0eee]
|
|
277
|
+
- Updated dependencies [7ebff39]
|
|
278
|
+
- Updated dependencies [054fd84]
|
|
279
|
+
- Updated dependencies [5275d1f]
|
|
280
|
+
- Updated dependencies [7241a81]
|
|
281
|
+
- Updated dependencies [74add0c]
|
|
282
|
+
- Updated dependencies [aaba865]
|
|
283
|
+
- Updated dependencies [f1781be]
|
|
284
|
+
- Updated dependencies [fbad078]
|
|
285
|
+
- Updated dependencies [45d5853]
|
|
286
|
+
- Updated dependencies [4f4fc03]
|
|
287
|
+
- Updated dependencies [2312bd9]
|
|
288
|
+
- Updated dependencies [6d5eb34]
|
|
289
|
+
- Updated dependencies [c5406c2]
|
|
290
|
+
- Updated dependencies [c5406c2]
|
|
291
|
+
- Updated dependencies [d99b731]
|
|
292
|
+
- Updated dependencies [2571a3e]
|
|
293
|
+
- Updated dependencies [2a48bd4]
|
|
294
|
+
- Updated dependencies [8a55f0c]
|
|
295
|
+
- Updated dependencies [c7b30bd]
|
|
296
|
+
- Updated dependencies [20c6d35]
|
|
297
|
+
- Updated dependencies [417e245]
|
|
298
|
+
- Updated dependencies [69bca0a]
|
|
299
|
+
- Updated dependencies [023f00d]
|
|
300
|
+
- Updated dependencies [158c75d]
|
|
301
|
+
- Updated dependencies [7525045]
|
|
302
|
+
- Updated dependencies [5af42db]
|
|
303
|
+
- Updated dependencies [ce991bd]
|
|
304
|
+
- Updated dependencies [3c0f806]
|
|
305
|
+
- Updated dependencies [1071393]
|
|
306
|
+
- Updated dependencies [5f75cfa]
|
|
307
|
+
- Updated dependencies [6757a93]
|
|
308
|
+
- Updated dependencies [b7cd5c8]
|
|
309
|
+
- Updated dependencies [5330038]
|
|
310
|
+
- Updated dependencies [c9fc10b]
|
|
311
|
+
- Updated dependencies [dc6d28e]
|
|
312
|
+
- Updated dependencies [c0c2f79]
|
|
313
|
+
- Updated dependencies [0665c3b]
|
|
314
|
+
- Updated dependencies [d2500d8]
|
|
315
|
+
- Updated dependencies [e723f58]
|
|
316
|
+
- Updated dependencies [82bb1d5]
|
|
317
|
+
- Updated dependencies [f3d5408]
|
|
318
|
+
- Updated dependencies [b231607]
|
|
319
|
+
- Updated dependencies [b231607]
|
|
320
|
+
- Updated dependencies [466a219]
|
|
321
|
+
- Updated dependencies [6fb281d]
|
|
322
|
+
- Updated dependencies [54159d3]
|
|
323
|
+
- Updated dependencies [fa778e6]
|
|
324
|
+
- Updated dependencies [334f0cf]
|
|
325
|
+
- Updated dependencies [c08c933]
|
|
326
|
+
- Updated dependencies [92f979d]
|
|
327
|
+
- Updated dependencies [c4dd707]
|
|
328
|
+
- Updated dependencies [c4dd707]
|
|
329
|
+
- Updated dependencies [7578323]
|
|
330
|
+
- Updated dependencies [38bb373]
|
|
331
|
+
- Updated dependencies [923504f]
|
|
332
|
+
- Updated dependencies [5c2982a]
|
|
333
|
+
- Updated dependencies [97e7d4e]
|
|
334
|
+
- Updated dependencies [10aba37]
|
|
335
|
+
- Updated dependencies [5d3f437]
|
|
336
|
+
- Updated dependencies [51c661e]
|
|
337
|
+
- Updated dependencies [7af0ab3]
|
|
338
|
+
- Updated dependencies [b434f5f]
|
|
339
|
+
- Updated dependencies [9f282ef]
|
|
340
|
+
- Updated dependencies [fd4872f]
|
|
341
|
+
- Updated dependencies [f0532d8]
|
|
342
|
+
- Updated dependencies [cea429b]
|
|
343
|
+
- Updated dependencies [3092aca]
|
|
344
|
+
- Updated dependencies [82e5f53]
|
|
345
|
+
- Updated dependencies [d81e460]
|
|
346
|
+
- Updated dependencies [8106db1]
|
|
347
|
+
- Updated dependencies [068a540]
|
|
348
|
+
- Updated dependencies [ca45c6d]
|
|
349
|
+
- Updated dependencies [093d55b]
|
|
350
|
+
- Updated dependencies [b64fda3]
|
|
351
|
+
- Updated dependencies [a8051d6]
|
|
352
|
+
- Updated dependencies [72594f2]
|
|
353
|
+
- Updated dependencies [524136e]
|
|
354
|
+
- Updated dependencies [2b06a91]
|
|
355
|
+
- Updated dependencies [6f3299f]
|
|
356
|
+
- Updated dependencies [065a1cf]
|
|
357
|
+
- Updated dependencies [f2b17c6]
|
|
358
|
+
- Updated dependencies [52d6194]
|
|
359
|
+
- Updated dependencies [23bf859]
|
|
360
|
+
- Updated dependencies [1c72d77]
|
|
361
|
+
- Updated dependencies [2b4d3f1]
|
|
362
|
+
- Updated dependencies [d75f212]
|
|
363
|
+
- Updated dependencies [37db09f]
|
|
364
|
+
- Updated dependencies [ff9df88]
|
|
365
|
+
- Updated dependencies [70e843f]
|
|
366
|
+
- Updated dependencies [caac3b2]
|
|
367
|
+
- Updated dependencies [a2225f9]
|
|
368
|
+
- Updated dependencies [5c4deb5]
|
|
369
|
+
- Updated dependencies [a8e5b73]
|
|
370
|
+
- Updated dependencies [d9d9d98]
|
|
371
|
+
- Updated dependencies [c950345]
|
|
372
|
+
- Updated dependencies [21f9577]
|
|
373
|
+
- Updated dependencies [044f231]
|
|
374
|
+
- Updated dependencies [f8267df]
|
|
375
|
+
- Updated dependencies [9b82ced]
|
|
376
|
+
- Updated dependencies [3821a3a]
|
|
377
|
+
- Updated dependencies [3eb3ec1]
|
|
378
|
+
- Updated dependencies [92c2a69]
|
|
379
|
+
- Updated dependencies [646caea]
|
|
380
|
+
- Updated dependencies [1ffd6a2]
|
|
381
|
+
- Updated dependencies [5f8ecf6]
|
|
382
|
+
- Updated dependencies [8ed7e5a]
|
|
383
|
+
- Updated dependencies [6c4d00d]
|
|
384
|
+
- Updated dependencies [db8ce2f]
|
|
385
|
+
- Updated dependencies [726d8c9]
|
|
386
|
+
- Updated dependencies [f0e760a]
|
|
387
|
+
- Updated dependencies [a5bb7ac]
|
|
388
|
+
- Updated dependencies [f78efdd]
|
|
389
|
+
- Updated dependencies [8a8bcf3]
|
|
390
|
+
- Updated dependencies [f74638c]
|
|
391
|
+
- Updated dependencies [ef71a09]
|
|
392
|
+
- Updated dependencies [8614705]
|
|
393
|
+
- Updated dependencies [619e3f7]
|
|
394
|
+
- Updated dependencies [ca7a4c3]
|
|
395
|
+
- Updated dependencies [c9e6742]
|
|
396
|
+
- Updated dependencies [f62b6ff]
|
|
397
|
+
- Updated dependencies [608033b]
|
|
398
|
+
- Updated dependencies [611566b]
|
|
399
|
+
- Updated dependencies [efa9cb4]
|
|
400
|
+
- Updated dependencies [d66d7e8]
|
|
401
|
+
- Updated dependencies [15d8ca6]
|
|
402
|
+
- Updated dependencies [378896d]
|
|
403
|
+
- Updated dependencies [9d857c9]
|
|
404
|
+
- Updated dependencies [670ea10]
|
|
405
|
+
- Updated dependencies [ff215d9]
|
|
406
|
+
- Updated dependencies [71243db]
|
|
407
|
+
- Updated dependencies [a8add5c]
|
|
408
|
+
- Updated dependencies [33ee9de]
|
|
409
|
+
- Updated dependencies [4839f5c]
|
|
410
|
+
- Updated dependencies [a23e804]
|
|
411
|
+
- Updated dependencies [c7462e7]
|
|
412
|
+
- Updated dependencies [36e2f7b]
|
|
413
|
+
- Updated dependencies [ac59073]
|
|
414
|
+
- Updated dependencies [44cb469]
|
|
415
|
+
- Updated dependencies [e058d76]
|
|
416
|
+
- Updated dependencies [c999d4c]
|
|
417
|
+
- Updated dependencies [8df2608]
|
|
418
|
+
- Updated dependencies [5483297]
|
|
419
|
+
- Updated dependencies [ed43c79]
|
|
420
|
+
- Updated dependencies [260ef71]
|
|
421
|
+
- Updated dependencies [655e897]
|
|
422
|
+
- Updated dependencies [655e897]
|
|
423
|
+
- Updated dependencies [8d80845]
|
|
424
|
+
- Updated dependencies [69a408f]
|
|
425
|
+
- Updated dependencies [d2b21a1]
|
|
426
|
+
- Updated dependencies [5ff64ef]
|
|
427
|
+
- Updated dependencies [64acb7e]
|
|
428
|
+
- Updated dependencies [4ff5b6b]
|
|
429
|
+
- Updated dependencies [473e5a0]
|
|
430
|
+
- Updated dependencies [b279016]
|
|
431
|
+
- Updated dependencies [bb6c38c]
|
|
432
|
+
- Updated dependencies [26323c4]
|
|
433
|
+
- Updated dependencies [9753811]
|
|
434
|
+
- Updated dependencies [2727527]
|
|
435
|
+
- Updated dependencies [3da39ae]
|
|
436
|
+
- Updated dependencies [bc281f4]
|
|
437
|
+
- Updated dependencies [d637be3]
|
|
438
|
+
- Updated dependencies [2cfdc99]
|
|
439
|
+
- Updated dependencies [2cfdc99]
|
|
440
|
+
- Updated dependencies [1e6d83b]
|
|
441
|
+
- Updated dependencies [1e6d83b]
|
|
442
|
+
- Updated dependencies [6058bf8]
|
|
443
|
+
- Updated dependencies [c219165]
|
|
444
|
+
- Updated dependencies [a7ae252]
|
|
445
|
+
- Updated dependencies [fb501bc]
|
|
446
|
+
- Updated dependencies [30083da]
|
|
447
|
+
- Updated dependencies [7f9cc37]
|
|
448
|
+
- Updated dependencies [025130c]
|
|
449
|
+
- Updated dependencies [76f91f8]
|
|
450
|
+
- Updated dependencies [ea34d9b]
|
|
451
|
+
- Updated dependencies [8aa8e3e]
|
|
452
|
+
- Updated dependencies [024b7b6]
|
|
453
|
+
- Updated dependencies [cb80001]
|
|
454
|
+
- Updated dependencies [909c64e]
|
|
455
|
+
- Updated dependencies [9e7e1a5]
|
|
456
|
+
- Updated dependencies [2493e85]
|
|
457
|
+
- Updated dependencies [d0b9648]
|
|
458
|
+
- Updated dependencies [46dbf32]
|
|
459
|
+
- Updated dependencies [a928aaa]
|
|
460
|
+
- Updated dependencies [47508f3]
|
|
461
|
+
- Updated dependencies [61ed5ad]
|
|
462
|
+
- Updated dependencies [1b94d50]
|
|
463
|
+
- Updated dependencies [6f877f1]
|
|
464
|
+
- Updated dependencies [988aa9f]
|
|
465
|
+
- Updated dependencies [1ce0711]
|
|
466
|
+
- Updated dependencies [fb85637]
|
|
467
|
+
- Updated dependencies [9f1dd79]
|
|
468
|
+
- Updated dependencies [df71568]
|
|
469
|
+
- Updated dependencies [d11174a]
|
|
470
|
+
- Updated dependencies [2d8a8b7]
|
|
471
|
+
- Updated dependencies [cbac9d7]
|
|
472
|
+
- Updated dependencies [9eb1479]
|
|
473
|
+
- Updated dependencies [74e37aa]
|
|
474
|
+
- Updated dependencies [961b69f]
|
|
475
|
+
- Updated dependencies [52907d7]
|
|
476
|
+
- Updated dependencies [f466b0a]
|
|
477
|
+
- Updated dependencies [673a71c]
|
|
478
|
+
- Updated dependencies [616df65]
|
|
479
|
+
- Updated dependencies [58798ec]
|
|
480
|
+
- Updated dependencies [8803ca5]
|
|
481
|
+
- Updated dependencies [e70c21d]
|
|
482
|
+
- Updated dependencies [4b92c5a]
|
|
483
|
+
- Updated dependencies [06be396]
|
|
484
|
+
- Updated dependencies [3650d94]
|
|
485
|
+
- Updated dependencies [7c05f21]
|
|
486
|
+
- Updated dependencies [8cd4db4]
|
|
487
|
+
- Updated dependencies [daeb77f]
|
|
488
|
+
- Updated dependencies [eb4552e]
|
|
489
|
+
- Updated dependencies [3c3115e]
|
|
490
|
+
- Updated dependencies [55e90fd]
|
|
491
|
+
- Updated dependencies [9b75509]
|
|
492
|
+
- Updated dependencies [b13ea3c]
|
|
493
|
+
- Updated dependencies [d7e9e9a]
|
|
494
|
+
- Updated dependencies [cf62edf]
|
|
495
|
+
- Updated dependencies [0253416]
|
|
496
|
+
- Updated dependencies [5d77c09]
|
|
497
|
+
- Updated dependencies [3fd8625]
|
|
498
|
+
- Updated dependencies [1473757]
|
|
499
|
+
- Updated dependencies [d73d987]
|
|
500
|
+
- Updated dependencies [12ff256]
|
|
501
|
+
- Updated dependencies [26b0bd2]
|
|
502
|
+
- Updated dependencies [26b0bd2]
|
|
503
|
+
- Updated dependencies [d328698]
|
|
504
|
+
- Updated dependencies [d328698]
|
|
505
|
+
- Updated dependencies [b4e0787]
|
|
506
|
+
- Updated dependencies [088e0f7]
|
|
507
|
+
- Updated dependencies [78b07f4]
|
|
508
|
+
- Updated dependencies [f962cdc]
|
|
509
|
+
- Updated dependencies [b403bb3]
|
|
510
|
+
- Updated dependencies [8a25fee]
|
|
511
|
+
- Updated dependencies [4016370]
|
|
512
|
+
- Updated dependencies [12dc7b4]
|
|
513
|
+
- @object-ui/types@18.0.0
|
|
514
|
+
- @object-ui/components@18.0.0
|
|
515
|
+
- @object-ui/core@18.0.0
|
|
516
|
+
- @object-ui/i18n@18.0.0
|
|
517
|
+
- @object-ui/react@18.0.0
|
|
518
|
+
- @object-ui/permissions@18.0.0
|
|
519
|
+
- @object-ui/mobile@18.0.0
|
|
520
|
+
|
|
3
521
|
## 17.7.0
|
|
4
522
|
|
|
5
523
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -105,7 +105,10 @@ is read where the block leaves a binding unset, and `descriptionField` names
|
|
|
105
105
|
the description field (`mapping.description` outranks it). `limit` caps the
|
|
106
106
|
query (`$top`, default 100), and `filter` / `sort` lower to `$filter` /
|
|
107
107
|
`$orderby` on it; the rail still draws composed entries by start date.
|
|
108
|
-
`dateFormat` is `short`, `long` or `iso`.
|
|
108
|
+
`dateFormat` is `short`, `long` or `iso`. Without a `groupByField`, entries
|
|
109
|
+
group into date buckets (Earlier, Today, Tomorrow, This week, Next week, Later,
|
|
110
|
+
No date), and "This week" starts on the first day of the week of the display
|
|
111
|
+
locale: Sunday under `en-US`, Monday under `en-GB` or `zh-CN`. `rowLabel`, `minDate`, `maxDate` and
|
|
109
112
|
`timeline.scale` are read by the gantt branch only, which on this block draws
|
|
110
113
|
authored `items`.
|
|
111
114
|
|
package/dist/ObjectTimeline.d.ts
CHANGED
|
@@ -14,9 +14,15 @@ export interface ObjectTimelineProps {
|
|
|
14
14
|
schema: TimelineSchema & {
|
|
15
15
|
objectName?: string;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
17
|
+
* The nested timeline block. `ListViewTimelineConfig` is
|
|
18
|
+
* `NonNullable<ListViewSchema['timeline']>` since objectui#6152 round 12
|
|
19
|
+
* (seat answer Q2 → B): the `@objectstack/spec` list-view slot by reference,
|
|
20
|
+
* strict and `.partial()`, with the legacy `dateField` refused by name
|
|
21
|
+
* (write `startDateField`). It is what this component receives on both
|
|
22
|
+
* routes: an authored `object-timeline` node's block (judged by the spec's
|
|
23
|
+
* element row) and the block `ListView` builds, which can leave out
|
|
24
|
+
* `titleField` or `startDateField`. It was the spec's `TimelineConfig` plus
|
|
25
|
+
* `dateField?: string` and a string index signature of `any`.
|
|
20
26
|
*/
|
|
21
27
|
timeline?: ListViewTimelineConfig;
|
|
22
28
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectTimeline.d.ts","sourceRoot":"","sources":["../src/ObjectTimeline.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAA4D,MAAM,OAAO,CAAC;AACjF,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"ObjectTimeline.d.ts","sourceRoot":"","sources":["../src/ObjectTimeline.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAA4D,MAAM,OAAO,CAAC;AACjF,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAWjH;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB,MAAM,CAAC;AA6I1C,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,cAAc,GAAG;QACvB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB;;;;;;;;;;WAUG;QACH,QAAQ,CAAC,EAAE,sBAAsB,CAAC;QAClC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAuCG;QACH,UAAU,CAAC,EAAE,oBAAoB,CAAC;QAClC;;;;;;;;;WASG;QACH,MAAM,CAAC,EAAE,GAAG,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QACrC;;;;WAIG;QACH,IAAI,CAAC,EAAE,KAAK,CAAC;YAAE,KAAK,CAAC,EAAE,MAAM,CAAC;YAAC,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAAA;SAAE,C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