@lotics/ui 47.12.2 → 47.13.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/docs/catalog.md +3 -0
- package/docs/data_entry.md +4 -1
- package/package.json +2 -1
package/docs/catalog.md
CHANGED
|
@@ -637,6 +637,9 @@ source (`src/<module>.tsx`/`.ts`) is the API reference.
|
|
|
637
637
|
the scale (h1→h4, h2→h5, h3+→h6): sizing alone leaves a model's `##` announcing as a PEER of
|
|
638
638
|
your own sections in heading navigation, which no visual check can see.
|
|
639
639
|
- **`markdown_types`** — `MarkdownProps`; types only.
|
|
640
|
+
- **`remark_gfm_safe`** — `remarkGfmSafe`: the GFM plugin `Markdown` uses, for a
|
|
641
|
+
`react-markdown` instance the kit's renderer cannot serve. Never `remark-gfm`: it ships a
|
|
642
|
+
regex-lookbehind literal, which WebKit older than Safari 16.4 rejects while parsing the bundle.
|
|
640
643
|
- **`markdown.css`** — import once for the web markdown styling.
|
|
641
644
|
- **`format_date`** — `formatDate` / `parseDate` / `toISODate` + `DateFormatStyle`.
|
|
642
645
|
- **`format_money`** — `formatMoney` / `formatCompactNumber`.
|
package/docs/data_entry.md
CHANGED
|
@@ -284,7 +284,10 @@ field they would be both a false claim and dead buttons. The **popover** editors
|
|
|
284
284
|
(the resting box, wired as the popover trigger) with their OWN `useState` for open/draft/saving/
|
|
285
285
|
error — a pick, not a keystroke, is the edit, so `useInlineEdit` doesn't fit. `onSave` is async
|
|
286
286
|
either way: the saving spinner sits INSIDE the control at its right edge (never a sibling — that
|
|
287
|
-
reflows); an error shows inline without losing the edit.
|
|
287
|
+
reflows); an error shows inline without losing the edit. Saves overlap — the operator blurs one
|
|
288
|
+
field and edits the next while the first round trip is out — so land each result with the
|
|
289
|
+
updater form (`setForm((f) => ({ ...f, [key]: value }))`), never the form the save started from:
|
|
290
|
+
a snapshot lands the other field back at its pre-edit value while the server holds both.
|
|
288
291
|
|
|
289
292
|
To let a value be UNSET (a diff-write CLEAR — unassign, remove a due date, drop a select), pass
|
|
290
293
|
**`onClear`** to `InlineSelect` / `InlineMemberSelect` / `InlineDatePicker`. It surfaces through
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lotics/ui",
|
|
3
|
-
"version": "47.
|
|
3
|
+
"version": "47.13.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./accordion": "./src/accordion.tsx",
|
|
@@ -187,6 +187,7 @@
|
|
|
187
187
|
"./markdown_editor.css": "./src/markdown_editor.css",
|
|
188
188
|
"./markdown_editor_props": "./src/markdown_editor_props.ts",
|
|
189
189
|
"./markdown_types": "./src/markdown_types.ts",
|
|
190
|
+
"./remark_gfm_safe": "./src/remark_gfm_safe.ts",
|
|
190
191
|
"./matrix": "./src/matrix.tsx",
|
|
191
192
|
"./matrix_totals": "./src/matrix_totals.ts",
|
|
192
193
|
"./media_player": {
|