@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.
- package/AGENTS.md +171 -68
- package/examples/tpl_allocate.tsx +2 -2
- package/examples/tpl_attendance.tsx +2 -2
- package/examples/tpl_calendar.tsx +1 -1
- package/examples/tpl_dashboard.tsx +1 -1
- package/examples/tpl_item_list.tsx +1015 -124
- package/examples/tpl_pick.tsx +3 -3
- package/examples/tpl_pivot.tsx +1 -1
- package/examples/tpl_record.tsx +1354 -0
- package/examples/tpl_report.tsx +7 -7
- package/examples/tpl_rollup.tsx +6 -6
- package/examples/tpl_shifts.tsx +2 -2
- package/examples/tpl_statements.tsx +221 -0
- package/examples/tpl_stock.tsx +7 -7
- package/examples/tpl_task_board.tsx +16 -13
- package/examples/tpl_tasks.tsx +15 -28
- package/examples/tpl_tower.tsx +2 -2
- package/package.json +8 -1
- package/src/capture_row.tsx +59 -0
- package/src/checklist.tsx +104 -0
- package/src/chip.tsx +12 -3
- package/src/detail_row.tsx +137 -10
- package/src/inline_date_picker.tsx +8 -3
- package/src/inline_edit.tsx +40 -10
- package/src/inline_member_select.tsx +3 -0
- package/src/inline_number_input.tsx +5 -2
- package/src/inline_select.tsx +8 -3
- package/src/inline_tag_select.tsx +140 -0
- package/src/inline_text_input.tsx +5 -2
- package/src/inline_time_picker.tsx +5 -2
- package/src/ledger.tsx +220 -0
- package/src/locale.tsx +21 -0
- package/src/progress_bar.tsx +32 -1
- package/src/record_summary.tsx +101 -0
- package/src/section_heading.tsx +16 -8
- package/src/suggestion_chip.tsx +47 -0
- package/src/use_section_nav.test.ts +69 -0
- package/src/use_section_nav.ts +59 -0
- package/examples/tpl_billing.tsx +0 -344
- package/examples/tpl_detail.tsx +0 -232
- package/examples/tpl_directory.tsx +0 -260
- package/examples/tpl_intake.tsx +0 -206
- package/examples/tpl_order.tsx +0 -482
- package/examples/tpl_quick.tsx +0 -211
- package/examples/tpl_record_plain.tsx +0 -259
- package/examples/tpl_settings.tsx +0 -178
- package/examples/tpl_timeline.tsx +0 -244
- package/examples/tpl_wizard.tsx +0 -223
package/examples/tpl_pick.tsx
CHANGED
|
@@ -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
|
|
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"
|
|
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">
|
|
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={() => {}} />
|
package/examples/tpl_pivot.tsx
CHANGED
|
@@ -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
|
|
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
|