@lotics/ui 44.14.0 → 45.2.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/AGENTS.md +8 -1
- package/MIGRATION.md +61 -5
- package/docs/ai_patterns.md +2 -3
- package/docs/catalog.md +25 -12
- package/docs/composition.md +143 -42
- package/docs/data_entry.md +2 -3
- package/docs/reviewing.md +24 -12
- package/docs/templates.md +1 -1
- package/package.json +2 -2
- package/src/accordion.tsx +2 -2
- package/src/avatar_group.tsx +1 -1
- package/src/avatar_size.ts +2 -3
- package/src/card_select_item.tsx +7 -6
- package/src/color_tokens.ts +22 -6
- package/src/combobox.tsx +11 -1
- package/src/control_surface.ts +22 -16
- package/src/date_stamp.tsx +1 -3
- package/src/detail_row.tsx +4 -5
- package/src/dialog.tsx +13 -6
- package/src/drawer.tsx +18 -4
- package/src/filter_chip.tsx +1 -2
- package/src/finding.tsx +24 -7
- package/src/heading_altitude.ts +65 -0
- package/src/inline_text_input.tsx +4 -5
- package/src/ledger.tsx +3 -3
- package/src/markdown.web.tsx +3 -6
- package/src/matrix.tsx +1 -1
- package/src/modal.tsx +10 -1
- package/src/popover.tsx +151 -142
- package/src/pressable_row.tsx +24 -15
- package/src/reference_field.tsx +11 -9
- package/src/section_heading.tsx +57 -71
- package/src/stepper.tsx +2 -3
- package/src/summary.tsx +3 -3
- package/src/table.tsx +4 -1
- package/src/text_utils.ts +3 -4
- package/src/timeline.tsx +3 -4
package/src/text_utils.ts
CHANGED
|
@@ -103,10 +103,9 @@ export const inputTextStyleWeb = {
|
|
|
103
103
|
// THE INK IS PART OF THE CONTRACT, because leaving it out does not mean
|
|
104
104
|
// "inherit" — a native <input> ignores inherited colour and falls to the UA
|
|
105
105
|
// default, PURE BLACK, while every resting value beside it renders `zinc-900`.
|
|
106
|
-
// So a field's own text changed colour the instant it was focused
|
|
107
|
-
//
|
|
108
|
-
//
|
|
109
|
-
// and five widths all measured identical — but at 14px a darkness change
|
|
106
|
+
// So a field's own text changed colour the instant it was focused — the
|
|
107
|
+
// resting ink against the UA's black. Nothing MOVED, which is why every
|
|
108
|
+
// geometry check came back identical, but at body size a darkness change
|
|
110
109
|
// re-weights the antialiasing of every stroke, and the eye reads that as the
|
|
111
110
|
// text shifting on focus. An EMPTY field hid it completely, since a placeholder
|
|
112
111
|
// sets its own colour and therefore never changed.
|
package/src/timeline.tsx
CHANGED
|
@@ -17,10 +17,9 @@ export interface TimelineItem {
|
|
|
17
17
|
/**
|
|
18
18
|
* The row's identity line — CLAMPED TO TWO LINES, because it is a scan target
|
|
19
19
|
* before it is a sentence. A feed is the one place user-authored prose lands in
|
|
20
|
-
* a row primitive, and unclamped it eats the section:
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* below the first line it was meant to sit beside.
|
|
20
|
+
* a row primitive, and unclamped it eats the section: one long summary can
|
|
21
|
+
* draw a label many lines deep, and the disc — which centres on the label row —
|
|
22
|
+
* ends up far below the first line it was meant to sit beside.
|
|
24
23
|
*
|
|
25
24
|
* The clamp holds while the row is COLLAPSED and lifts when it opens, so a
|
|
26
25
|
* long label is readable in full without being copied anywhere. **Never repeat
|