@g9tm/lynxcontrols 1.4.11 → 1.6.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 (146) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/anchor/context.d.ts +15 -0
  3. package/dist/anchor/context.d.ts.map +1 -0
  4. package/dist/anchor/context.jsx +10 -0
  5. package/dist/anchor/context.jsx.map +1 -0
  6. package/dist/anchor/hooks.d.ts +72 -0
  7. package/dist/anchor/hooks.d.ts.map +1 -0
  8. package/dist/anchor/hooks.jsx +147 -0
  9. package/dist/anchor/hooks.jsx.map +1 -0
  10. package/dist/anchor/index.d.ts +6 -0
  11. package/dist/anchor/index.d.ts.map +1 -0
  12. package/dist/anchor/index.jsx +5 -0
  13. package/dist/anchor/measure.d.ts +22 -0
  14. package/dist/anchor/measure.d.ts.map +1 -0
  15. package/dist/anchor/measure.jsx +110 -0
  16. package/dist/anchor/measure.jsx.map +1 -0
  17. package/dist/anchor/registry.d.ts +108 -0
  18. package/dist/anchor/registry.d.ts.map +1 -0
  19. package/dist/anchor/registry.jsx +142 -0
  20. package/dist/anchor/registry.jsx.map +1 -0
  21. package/dist/anchor/scroll.d.ts +34 -0
  22. package/dist/anchor/scroll.d.ts.map +1 -0
  23. package/dist/anchor/scroll.jsx +255 -0
  24. package/dist/anchor/scroll.jsx.map +1 -0
  25. package/dist/base/control.d.ts +10 -3
  26. package/dist/base/control.d.ts.map +1 -1
  27. package/dist/base/control.jsx +17 -2
  28. package/dist/base/control.jsx.map +1 -1
  29. package/dist/base/pressable.d.ts.map +1 -1
  30. package/dist/base/pressable.jsx +7 -1
  31. package/dist/base/pressable.jsx.map +1 -1
  32. package/dist/button/button.d.ts.map +1 -1
  33. package/dist/button/button.jsx +11 -1
  34. package/dist/button/button.jsx.map +1 -1
  35. package/dist/button/header-action-button.d.ts.map +1 -1
  36. package/dist/button/header-action-button.jsx +10 -1
  37. package/dist/button/header-action-button.jsx.map +1 -1
  38. package/dist/button/icon-button.d.ts.map +1 -1
  39. package/dist/button/icon-button.jsx +11 -1
  40. package/dist/button/icon-button.jsx.map +1 -1
  41. package/dist/button/nav-card.d.ts.map +1 -1
  42. package/dist/button/nav-card.jsx +10 -1
  43. package/dist/button/nav-card.jsx.map +1 -1
  44. package/dist/button/vertical-icon-text-button.d.ts.map +1 -1
  45. package/dist/button/vertical-icon-text-button.jsx +10 -1
  46. package/dist/button/vertical-icon-text-button.jsx.map +1 -1
  47. package/dist/expander/expander.d.ts.map +1 -1
  48. package/dist/expander/expander.jsx +14 -1
  49. package/dist/expander/expander.jsx.map +1 -1
  50. package/dist/fields/editor.d.ts.map +1 -1
  51. package/dist/fields/editor.jsx +17 -1
  52. package/dist/fields/editor.jsx.map +1 -1
  53. package/dist/fields/outlined-field.d.ts +6 -0
  54. package/dist/fields/outlined-field.d.ts.map +1 -1
  55. package/dist/fields/outlined-field.jsx +14 -3
  56. package/dist/fields/outlined-field.jsx.map +1 -1
  57. package/dist/fields/text-entry.d.ts.map +1 -1
  58. package/dist/fields/text-entry.jsx +17 -1
  59. package/dist/fields/text-entry.jsx.map +1 -1
  60. package/dist/fields/use-text-input.d.ts +1 -1
  61. package/dist/guide/confirm-sheet.d.ts +26 -0
  62. package/dist/guide/confirm-sheet.d.ts.map +1 -0
  63. package/dist/guide/confirm-sheet.jsx +146 -0
  64. package/dist/guide/confirm-sheet.jsx.map +1 -0
  65. package/dist/guide/guide.css +428 -0
  66. package/dist/guide/guide.css.map +1 -0
  67. package/dist/guide/index.d.ts +5 -0
  68. package/dist/guide/index.d.ts.map +1 -0
  69. package/dist/guide/index.jsx +4 -0
  70. package/dist/guide/journey.d.ts +46 -0
  71. package/dist/guide/journey.d.ts.map +1 -0
  72. package/dist/guide/journey.jsx +462 -0
  73. package/dist/guide/journey.jsx.map +1 -0
  74. package/dist/guide/placement.d.ts +44 -0
  75. package/dist/guide/placement.d.ts.map +1 -0
  76. package/dist/guide/placement.jsx +119 -0
  77. package/dist/guide/placement.jsx.map +1 -0
  78. package/dist/guide/service.d.ts +95 -0
  79. package/dist/guide/service.d.ts.map +1 -0
  80. package/dist/guide/service.jsx +566 -0
  81. package/dist/guide/service.jsx.map +1 -0
  82. package/dist/guide/settings.d.ts +68 -0
  83. package/dist/guide/settings.d.ts.map +1 -0
  84. package/dist/guide/settings.jsx +66 -0
  85. package/dist/guide/settings.jsx.map +1 -0
  86. package/dist/host/host.d.ts +5 -1
  87. package/dist/host/host.d.ts.map +1 -1
  88. package/dist/host/host.jsx +12 -0
  89. package/dist/host/host.jsx.map +1 -1
  90. package/dist/host/layers.d.ts +3 -1
  91. package/dist/host/layers.d.ts.map +1 -1
  92. package/dist/host/layers.jsx +4 -2
  93. package/dist/host/layers.jsx.map +1 -1
  94. package/dist/host/registry.d.ts +3 -0
  95. package/dist/host/registry.d.ts.map +1 -1
  96. package/dist/host/registry.jsx.map +1 -1
  97. package/dist/index.d.ts +3 -0
  98. package/dist/index.d.ts.map +1 -1
  99. package/dist/provider/contexts.d.ts +3 -0
  100. package/dist/provider/contexts.d.ts.map +1 -1
  101. package/dist/provider/contexts.jsx.map +1 -1
  102. package/dist/provider/provider.d.ts.map +1 -1
  103. package/dist/provider/provider.jsx +24 -17
  104. package/dist/provider/provider.jsx.map +1 -1
  105. package/dist/provider/settings.d.ts +4 -0
  106. package/dist/provider/settings.d.ts.map +1 -1
  107. package/dist/provider/settings.jsx +3 -2
  108. package/dist/provider/settings.jsx.map +1 -1
  109. package/dist/route/hooks.d.ts +34 -0
  110. package/dist/route/hooks.d.ts.map +1 -0
  111. package/dist/route/hooks.jsx +147 -0
  112. package/dist/route/hooks.jsx.map +1 -0
  113. package/dist/route/index.d.ts +3 -0
  114. package/dist/route/index.d.ts.map +1 -0
  115. package/dist/route/index.jsx +2 -0
  116. package/dist/route/router.d.ts +201 -0
  117. package/dist/route/router.d.ts.map +1 -0
  118. package/dist/route/router.jsx +810 -0
  119. package/dist/route/router.jsx.map +1 -0
  120. package/dist/sheet/frame.d.ts +3 -1
  121. package/dist/sheet/frame.d.ts.map +1 -1
  122. package/dist/sheet/frame.jsx +67 -25
  123. package/dist/sheet/frame.jsx.map +1 -1
  124. package/dist/sheet/options.d.ts +10 -0
  125. package/dist/sheet/options.d.ts.map +1 -1
  126. package/dist/sheet/options.jsx.map +1 -1
  127. package/dist/sheet/service.d.ts +5 -0
  128. package/dist/sheet/service.d.ts.map +1 -1
  129. package/dist/sheet/service.jsx +14 -2
  130. package/dist/sheet/service.jsx.map +1 -1
  131. package/dist/sheet/sheet.css +9 -0
  132. package/dist/sheet/sheet.css.map +1 -1
  133. package/dist/tabs/tab-view.d.ts +14 -0
  134. package/dist/tabs/tab-view.d.ts.map +1 -1
  135. package/dist/tabs/tab-view.jsx +59 -3
  136. package/dist/tabs/tab-view.jsx.map +1 -1
  137. package/dist/toggle/checkbox.d.ts.map +1 -1
  138. package/dist/toggle/checkbox.jsx +15 -1
  139. package/dist/toggle/checkbox.jsx.map +1 -1
  140. package/dist/toggle/chip-group.d.ts.map +1 -1
  141. package/dist/toggle/chip-group.jsx +12 -1
  142. package/dist/toggle/chip-group.jsx.map +1 -1
  143. package/dist/toggle/switch.d.ts.map +1 -1
  144. package/dist/toggle/switch.jsx +15 -1
  145. package/dist/toggle/switch.jsx.map +1 -1
  146. package/package.json +17 -2
@@ -0,0 +1,201 @@
1
+ import { type G9Address, type G9Catalogue, type G9GoFailure, type G9PlaceDeclaration, type G9PlaceLayer, type G9RouteSink, type G9Segment, type G9SegmentView, type G9Snapshot, type G9ViewApplied } from '@g9tm/lynxcontrols-foundation';
2
+ import type { G9AnchorRegistry } from '../anchor/registry.js';
3
+ /** A store a component reads with `useSyncExternalStore`. */
4
+ export interface G9ReadableStore<T> {
5
+ get(): T;
6
+ subscribe(listener: () => void): () => void;
7
+ }
8
+ /** Where the app is. The same object until something changes. */
9
+ export interface G9Location {
10
+ /** The unique address (canonical, ids included, no target). */
11
+ readonly unique: string;
12
+ /** The general address (kinds only). */
13
+ readonly general: string;
14
+ readonly segments: readonly G9Segment[];
15
+ /** A breadcrumb per segment, in the current language. */
16
+ readonly titles: readonly string[];
17
+ /** The path does not reach the root (a parent was missing). */
18
+ readonly incomplete: boolean;
19
+ /** Open places that are not on the path, as general segments (`site`, `map`). */
20
+ readonly others: readonly string[];
21
+ /** Facts the open places report (the surface, the open site…). */
22
+ readonly facts: Readonly<Record<string, string | number | boolean | null>>;
23
+ readonly revision: number;
24
+ }
25
+ /** One move in the trail. */
26
+ export interface G9TrailEntry {
27
+ readonly at: number;
28
+ readonly unique: string;
29
+ readonly general: string;
30
+ readonly cause: 'user' | 'go' | 'walk' | 'restore' | 'back';
31
+ }
32
+ /** How a navigation ended: where the app is, or the reason, the step and a message for the person. */
33
+ export type G9GoResult = {
34
+ readonly ok: true;
35
+ readonly location: G9Location;
36
+ readonly view: G9ViewApplied;
37
+ } | {
38
+ readonly ok: false;
39
+ readonly reason: G9GoFailure;
40
+ /** The segment index it stopped at (-1: before any). */
41
+ readonly at: number;
42
+ readonly segment: G9Segment | null;
43
+ /** For the person, in their language when the place said so; otherwise for developers. */
44
+ readonly message: string;
45
+ readonly location: G9Location;
46
+ };
47
+ /** Who asked for a navigation. */
48
+ export type G9GoSource = 'user' | 'assistant' | 'link' | 'tester' | 'qa' | 'restore';
49
+ /** How a navigation runs: who asked, snapshot views to put back, whether QA may force past unsaved work. */
50
+ export interface G9GoOptions {
51
+ readonly source?: G9GoSource;
52
+ /** Apply snapshot views (scroll marks, view values). `restore` does. */
53
+ readonly views?: readonly G9SegmentView[];
54
+ /** Close dirty places without asking: honoured for `qa` only. */
55
+ readonly force?: boolean;
56
+ }
57
+ /** What the router reports (diagnostics, busy tracking, a tester trail). */
58
+ export type G9RouteEvent = {
59
+ readonly kind: 'changed';
60
+ readonly location: G9Location;
61
+ readonly cause: G9TrailEntry['cause'];
62
+ } | {
63
+ readonly kind: 'go:start';
64
+ readonly address: string;
65
+ readonly mode: 'jump' | 'walk' | 'restore';
66
+ } | {
67
+ readonly kind: 'go:step';
68
+ readonly address: string;
69
+ readonly index: number;
70
+ readonly segment: G9Segment;
71
+ readonly how: 'opened' | 'walked' | 'jumped';
72
+ } | {
73
+ readonly kind: 'go:done';
74
+ readonly address: string;
75
+ readonly result: G9GoResult;
76
+ } | {
77
+ readonly kind: 'error';
78
+ readonly where: string;
79
+ readonly error: unknown;
80
+ };
81
+ /** One step of a walk. */
82
+ export interface G9WalkStep {
83
+ readonly index: number;
84
+ readonly segment: G9Segment;
85
+ readonly title: string;
86
+ readonly state: 'pending' | 'current' | 'done' | 'jumped' | 'failed';
87
+ }
88
+ /** Draws a walk step: the guide module's default presenter points a finger at the entry control. */
89
+ export interface G9WalkPresenter {
90
+ show(step: {
91
+ readonly anchor: string;
92
+ readonly text: string;
93
+ readonly gesture: 'tap' | 'longPress';
94
+ readonly index: number;
95
+ readonly count: number;
96
+ }): {
97
+ hide(): void;
98
+ };
99
+ /** A step the router does itself (a jump, a preparation): one short line. */
100
+ note?(text: string): void;
101
+ }
102
+ /** How a walk runs: the person taps (`user`) or the router presses (`demo`), and who draws the steps. */
103
+ export interface G9WalkOptions extends G9GoOptions {
104
+ /** `user` waits for the person's own tap; `demo` presses the entry itself. Default `user`. */
105
+ readonly by?: 'user' | 'demo';
106
+ readonly presenter?: G9WalkPresenter;
107
+ /** Per step. Default 60000 (user) / 8000 (demo). */
108
+ readonly stepTimeoutMs?: number;
109
+ /** How long a demo shows the control before pressing it. Default 900 ms. */
110
+ readonly demoDelayMs?: number;
111
+ }
112
+ /** A guided navigation in progress: its steps, cancel, and its result. */
113
+ export interface G9Walk {
114
+ readonly steps: G9ReadableStore<readonly G9WalkStep[]>;
115
+ cancel(): void;
116
+ readonly result: Promise<G9GoResult>;
117
+ }
118
+ /** A trip somewhere and back. */
119
+ export interface G9Excursion {
120
+ readonly origin: G9Snapshot;
121
+ readonly result: G9GoResult;
122
+ back(): Promise<G9GoResult>;
123
+ }
124
+ /** What a router is built from: the catalogue, the context and language its callbacks get, the anchors, texts. */
125
+ export interface G9RouterOptions<Ctx> {
126
+ readonly catalogue: G9Catalogue<Ctx>;
127
+ /** What every catalogue callback gets; null = nobody signed in (only places without guards resolve). */
128
+ context(): Ctx | null;
129
+ language(): 'fa' | 'en';
130
+ readonly anchors?: () => G9AnchorRegistry | null;
131
+ /** Wall clock (ms). Default `Date.now`. */
132
+ now?(): number;
133
+ /** Asked before closing a place with unsaved work. Absent = such a navigation is refused (`dirty`). */
134
+ confirmLeave?(segment: G9Segment, title: string, message: string | undefined): Promise<boolean>;
135
+ onEvent?(event: G9RouteEvent): void;
136
+ /** Default 50. */
137
+ readonly historySize?: number;
138
+ /**
139
+ * After a sheet appeared, how long before the next place is opened (G9 sheets drop a second show within 369 ms, the
140
+ * double-tap guard). Default 410.
141
+ */
142
+ readonly sheetGapMs?: number;
143
+ /** How long a closing place may take to go (ms). Default 3000. */
144
+ readonly closeTimeoutMs?: number;
145
+ /**
146
+ * How long an address's `#target` may take to appear after its place opened (ms) — a list fills after its sheet is
147
+ * declared. Default 3000.
148
+ */
149
+ readonly targetTimeoutMs?: number;
150
+ /** After restoring a scroll mark: how long the rows must stay unchanged before it is applied again (ms). Default 400. */
151
+ readonly scrollSettleMs?: number;
152
+ /** …and the longest wait for that (ms). Default 3000. */
153
+ readonly scrollSettleMaxMs?: number;
154
+ /** The app version written into snapshots. */
155
+ readonly appVersion?: string | (() => string);
156
+ /** Texts the router shows a person (default: English developer texts). */
157
+ readonly texts?: Partial<G9RouterTexts>;
158
+ }
159
+ /** What the router tells a person, in their language (the app supplies them). */
160
+ export interface G9RouterTexts {
161
+ notFound(title: string): string;
162
+ blocked(title: string): string;
163
+ timeout(title: string): string;
164
+ /** `open` said it could not open the place (the app already told the person why). */
165
+ notOpened(title: string): string;
166
+ dirty(title: string): string;
167
+ notAddressable(title: string): string;
168
+ badAddress(): string;
169
+ cancelled(): string;
170
+ jumped(title: string): string;
171
+ }
172
+ /** The router (also the route sink places declare themselves to). */
173
+ export interface G9Router extends G9RouteSink {
174
+ readonly current: G9ReadableStore<G9Location>;
175
+ where(): G9Location;
176
+ go(address: string | G9Address, options?: G9GoOptions): Promise<G9GoResult>;
177
+ walk(address: string | G9Address, options?: G9WalkOptions): G9Walk;
178
+ snapshot(): G9Snapshot;
179
+ /** The snapshot with the scroll mark of every scroller on screen (on the last segment). */
180
+ snapshotWithScroll(): Promise<G9Snapshot>;
181
+ /** Puts a snapshot back (refused across another catalogue or past `maxAgeMs`, default unlimited). */
182
+ restore(snapshot: G9Snapshot, options?: G9GoOptions & {
183
+ readonly maxAgeMs?: number;
184
+ }): Promise<G9GoResult>;
185
+ excursion(address: string | G9Address, options?: G9GoOptions): Promise<G9Excursion>;
186
+ readonly history: G9ReadableStore<readonly G9TrailEntry[]>;
187
+ readonly busy: G9ReadableStore<boolean>;
188
+ /** The declaration of an open place (QA, the guide), or null. */
189
+ placeAt(index: number): G9PlaceDeclaration | null;
190
+ /** A new user / sign-out: the trail is forgotten and a running navigation ends. */
191
+ reset(): void;
192
+ /** The catalogue (manifests, links). */
193
+ readonly catalogue: G9Catalogue<unknown>;
194
+ }
195
+ /** True when a route sink is a full router. */
196
+ export declare function isG9Router(sink: G9RouteSink | null | undefined): sink is G9Router;
197
+ /** Creates a router. */
198
+ export declare function createG9Router<Ctx>(options: G9RouterOptions<Ctx>): G9Router;
199
+ /** The layers a declaration may use (re-exported for places outside the controls). */
200
+ export type { G9PlaceLayer };
201
+ //# sourceMappingURL=router.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../src/route/router.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,WAAW,EAEhB,KAAK,WAAW,EAEhB,KAAK,kBAAkB,EAEvB,KAAK,YAAY,EACjB,KAAK,WAAW,EAEhB,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,aAAa,EASnB,MAAM,+BAA+B,CAAC;AAEv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