@adukiorg/anza 0.2.0 → 0.2.3

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 (83) hide show
  1. package/CHANGELOG.md +90 -4
  2. package/README.md +97 -133
  3. package/bin/anza/anza-linux-arm64 +0 -0
  4. package/bin/anza/anza-linux-x64 +0 -0
  5. package/bin/anza/anza-macos-arm64 +0 -0
  6. package/bin/anza/anza-macos-x64 +0 -0
  7. package/bin/anza/anza-windows-x64.exe +0 -0
  8. package/bin/anza/find.js +35 -0
  9. package/bin/anza/index.js +34 -0
  10. package/bin/anza/launch.js +19 -0
  11. package/bin/common/index.js +7 -0
  12. package/bin/common/logs.js +62 -0
  13. package/bin/create/copy.js +18 -0
  14. package/bin/create/index.js +45 -0
  15. package/bin/create/run.js +210 -0
  16. package/bin/create/write.js +19 -0
  17. package/importmap.json +4 -0
  18. package/package.json +16 -10
  19. package/src/core/offline/{usage.md → notes/usage.md} +11 -1
  20. package/src/core/router/boot.js +82 -0
  21. package/src/core/router/cascade.js +76 -0
  22. package/src/core/router/container.js +63 -72
  23. package/src/core/router/graph.js +144 -0
  24. package/src/core/router/index.js +12 -2
  25. package/src/core/router/intercept.js +26 -7
  26. package/src/core/router/lca.js +58 -0
  27. package/src/core/router/match.js +49 -36
  28. package/src/core/router/notes/audit-old.md +887 -0
  29. package/src/core/router/notes/audti.md +773 -0
  30. package/src/core/router/notes/tasks.md +473 -0
  31. package/src/core/router/{usage.md → notes/usage.md} +57 -35
  32. package/src/core/router/sync/tab.js +6 -4
  33. package/src/core/router/transitions.js +35 -8
  34. package/src/core/router/trie.js +130 -0
  35. package/src/core/security/{usage.md → notes/usage.md} +1 -2
  36. package/src/core/storage/{usage.md → notes/usage.md} +6 -6
  37. package/src/core/theme/index.js +78 -0
  38. package/src/core/ui/define/index.js +2 -1
  39. package/src/core/ui/define/orchestrator.js +10 -4
  40. package/src/core/ui/defs/dock.js +134 -0
  41. package/src/core/ui/defs/index.js +20 -0
  42. package/src/core/ui/defs/page.js +89 -0
  43. package/src/core/ui/defs/part.js +28 -0
  44. package/src/core/ui/defs/spec.js +96 -0
  45. package/src/core/ui/defs/view.js +23 -0
  46. package/src/core/ui/index.js +16 -3
  47. package/src/core/ui/notes/definations.md +979 -0
  48. package/src/tokens/index.css +1 -0
  49. package/src/tokens/semantic/contrast.css +18 -0
  50. package/src/tokens/semantic/transitions.css +32 -0
  51. package/types/core/platform/index.d.ts +39 -10
  52. package/types/core/router/index.d.ts +9 -0
  53. package/types/core/theme/index.d.ts +18 -0
  54. package/types/core/ui/index.d.ts +11 -0
  55. package/types/index.d.ts +1 -0
  56. package/bin/anza.js +0 -63
  57. package/bin/create.js +0 -150
  58. package/src/core/api/plan.md +0 -209
  59. package/src/core/events/missing.md +0 -103
  60. package/src/core/events/plan.md +0 -177
  61. package/src/core/offline/missing.md +0 -89
  62. package/src/core/offline/plan.md +0 -143
  63. package/src/core/platform/missing.md +0 -119
  64. package/src/core/platform/platform.d.ts +0 -88
  65. package/src/core/router/missing.md +0 -716
  66. package/src/core/router/outlet.js +0 -139
  67. package/src/core/router/plan.md +0 -370
  68. package/src/core/security/missing.md +0 -97
  69. package/src/core/state/missing.md +0 -165
  70. package/src/core/storage/missing.md +0 -165
  71. package/src/core/storage/plan.md +0 -69
  72. package/src/core/ui/implementation.md +0 -170
  73. package/src/core/ui/plan.md +0 -510
  74. package/src/core/ui/ui.types.md +0 -890
  75. /package/src/core/animations/{usage.md → notes/usage.md} +0 -0
  76. /package/src/core/api/{usage.md → notes/usage.md} +0 -0
  77. /package/src/core/events/{usage.md → notes/usage.md} +0 -0
  78. /package/src/core/platform/{usage.md → notes/usage.md} +0 -0
  79. /package/src/core/state/{usage.md → notes/usage.md} +0 -0
  80. /package/src/core/ui/{usage.md → notes/usage.md} +0 -0
  81. /package/src/core/ui/{watch.md → notes/watch.md} +0 -0
  82. /package/src/core/workers/{plan.md → notes/plan.md} +0 -0
  83. /package/src/core/workers/{usage.md → notes/usage.md} +0 -0
@@ -1,88 +0,0 @@
1
- /**
2
- * core/platform/platform.d.ts
3
- *
4
- * TypeScript definitions for the platform module.
5
- * Types the supports detection registry, reset function, and guard loader.
6
- */
7
-
8
- export interface Supports {
9
- // --- Routing ---
10
- navigationAPI: boolean;
11
- urlPattern: boolean;
12
-
13
- // --- Component Model ---
14
- declarativeShadowDOM: boolean;
15
- customStatePseudo: boolean;
16
- formAssociated: boolean;
17
-
18
- // --- Overlay / Popover ---
19
- popoverAPI: boolean;
20
- anchorPositioning: boolean;
21
-
22
- // --- Animation ---
23
- viewTransitions: boolean;
24
- scrollTimeline: boolean;
25
- viewTimeline: boolean;
26
-
27
- // --- Scheduling ---
28
- schedulerPostTask: boolean;
29
- schedulerYield: boolean;
30
-
31
- // --- CSS ---
32
- contentVisibility: boolean;
33
- cssScope: boolean;
34
- cssLayer: boolean;
35
- cssModuleScripts: boolean;
36
-
37
- // --- Module System ---
38
- importMaps: boolean;
39
-
40
- // --- Security ---
41
- sanitizerAPI: boolean;
42
- trustedTypes: boolean;
43
- subtleCrypto: boolean;
44
-
45
- // --- Storage ---
46
- opfs: boolean;
47
- storageManager: boolean;
48
- fileSystemPickers: boolean;
49
- compression: boolean;
50
- storagePersistence: boolean;
51
-
52
- // --- Networking / Workers ---
53
- backgroundSync: boolean;
54
- speculationRules: boolean;
55
- sharedWorker: boolean;
56
- webLocks: boolean;
57
- offscreenCanvas: boolean;
58
-
59
- // --- Notifications / Push ---
60
- pushAPI: boolean;
61
- notificationsAPI: boolean;
62
-
63
- // --- Device ---
64
- screenWakeLock: boolean;
65
- idleDetection: boolean;
66
- webAuthn: boolean;
67
- }
68
-
69
- export const supports: Supports;
70
-
71
- export function reset(key: keyof Supports): void;
72
-
73
- export function typeGuard(key: keyof Supports, message?: string): void;
74
-
75
- export interface Guard {
76
- urlPattern(): Promise<typeof URLPattern>;
77
- navigation(): Promise<Navigation>;
78
- popover(): Promise<void>;
79
- shadow(root?: Document | ShadowRoot): Promise<void>;
80
- anchor(floating: HTMLElement, anchorEl: HTMLElement, options?: object): Promise<void>;
81
- sanitizer(): Promise<{ sanitizeToString(input: string): string }>;
82
- scheduler(): Promise<Scheduler>;
83
- yield(): Promise<void>;
84
- }
85
-
86
- declare const guard: Guard;
87
-
88
- export default guard;