@lotics/ui 8.0.0 → 9.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.
Files changed (48) hide show
  1. package/AGENTS.md +171 -68
  2. package/examples/tpl_allocate.tsx +2 -2
  3. package/examples/tpl_attendance.tsx +2 -2
  4. package/examples/tpl_calendar.tsx +1 -1
  5. package/examples/tpl_dashboard.tsx +1 -1
  6. package/examples/tpl_item_list.tsx +1015 -124
  7. package/examples/tpl_pick.tsx +3 -3
  8. package/examples/tpl_pivot.tsx +1 -1
  9. package/examples/tpl_record.tsx +1354 -0
  10. package/examples/tpl_report.tsx +7 -7
  11. package/examples/tpl_rollup.tsx +6 -6
  12. package/examples/tpl_shifts.tsx +2 -2
  13. package/examples/tpl_statements.tsx +221 -0
  14. package/examples/tpl_stock.tsx +7 -7
  15. package/examples/tpl_task_board.tsx +16 -13
  16. package/examples/tpl_tasks.tsx +15 -28
  17. package/examples/tpl_tower.tsx +2 -2
  18. package/package.json +8 -1
  19. package/src/capture_row.tsx +59 -0
  20. package/src/checklist.tsx +104 -0
  21. package/src/chip.tsx +12 -3
  22. package/src/detail_row.tsx +137 -10
  23. package/src/inline_date_picker.tsx +8 -3
  24. package/src/inline_edit.tsx +40 -10
  25. package/src/inline_member_select.tsx +3 -0
  26. package/src/inline_number_input.tsx +5 -2
  27. package/src/inline_select.tsx +8 -3
  28. package/src/inline_tag_select.tsx +140 -0
  29. package/src/inline_text_input.tsx +5 -2
  30. package/src/inline_time_picker.tsx +5 -2
  31. package/src/ledger.tsx +220 -0
  32. package/src/locale.tsx +21 -0
  33. package/src/progress_bar.tsx +32 -1
  34. package/src/record_summary.tsx +101 -0
  35. package/src/section_heading.tsx +16 -8
  36. package/src/suggestion_chip.tsx +47 -0
  37. package/src/use_section_nav.test.ts +69 -0
  38. package/src/use_section_nav.ts +59 -0
  39. package/examples/tpl_billing.tsx +0 -344
  40. package/examples/tpl_detail.tsx +0 -232
  41. package/examples/tpl_directory.tsx +0 -260
  42. package/examples/tpl_intake.tsx +0 -206
  43. package/examples/tpl_order.tsx +0 -482
  44. package/examples/tpl_quick.tsx +0 -211
  45. package/examples/tpl_record_plain.tsx +0 -259
  46. package/examples/tpl_settings.tsx +0 -178
  47. package/examples/tpl_timeline.tsx +0 -244
  48. package/examples/tpl_wizard.tsx +0 -223
@@ -15,7 +15,7 @@ import { Stepper, Step, type StepStatus } from "@lotics/ui/stepper";
15
15
  import { CompletionState } from "@lotics/ui/completion_state";
16
16
 
17
17
  // ─────────────────────────────────────────────────────────────────────────────
18
- // Template · Guided execution — a warehouse PICK RUN. The work is a SEQUENCE of
18
+ // Template · Guided queue — a warehouse PICK RUN. The work is a SEQUENCE of
19
19
  // physical tasks, not a list to browse: the run hands the operator the next bin,
20
20
  // they scan to verify they're at the right shelf, confirm the count, and the
21
21
  // next task takes its place. A single focus column — the CURRENT task is the only
@@ -100,7 +100,7 @@ function CurrentTask({ line, index, total, onConfirm, onShort }: {
100
100
  </View>
101
101
  {/* the bin is the biggest thing on screen — it's where you walk */}
102
102
  <View style={{ gap: 2 }}>
103
- <Text size="xs" color="muted" transform="uppercase">Go to bin</Text>
103
+ <Text size="xs" color="muted" weight="medium">Go to bin</Text>
104
104
  <Text size="xxl" weight="semibold" tabular>{line.bin}</Text>
105
105
  </View>
106
106
  <View style={{ flexDirection: "row", alignItems: "flex-end", gap: 16, flexWrap: "wrap" }}>
@@ -199,7 +199,7 @@ export function TplPick() {
199
199
  {/* header — the wave + the cart it's filling */}
200
200
  <View style={{ flexDirection: "row", alignItems: "flex-end", gap: 12, flexWrap: "wrap" }}>
201
201
  <View style={{ gap: 2, flex: 1 }}>
202
- <Text size="xl" weight="semibold">Pick wave W-0142</Text>
202
+ <Text size="xl" weight="semibold">Queue W-0142</Text>
203
203
  <Text size="sm" color="muted">7 lines for 3 outbound orders · Cart C-07</Text>
204
204
  </View>
205
205
  <Button title="Pause wave" color="muted" onPress={() => {}} />
@@ -14,7 +14,7 @@ import { type MatrixCellRef } from "@lotics/ui/matrix_totals";
14
14
  import { PressableRow } from "@lotics/ui/pressable_row";
15
15
 
16
16
  // ─────────────────────────────────────────────────────────────────────────────
17
- // Template · Pivot desk — one dimension crossed against another, then drill.
17
+ // Template · Pivot — one dimension crossed against another, then drill.
18
18
  // The Matrix is the hero: warehouse × category, the number IN each cell and a
19
19
  // heat wash behind it so the concentration reads at a glance, row/column/grand
20
20
  // totals down the edges. Pressing a cell is a door — the register below filters