@omerdlw/base-framework 1.0.0 → 1.0.2

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 (171) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +121 -52
  3. package/dist/atoms/index.d.ts +0 -1
  4. package/dist/atoms/index.d.ts.map +1 -1
  5. package/dist/atoms/index.js +1 -64
  6. package/dist/atoms/index.js.map +1 -1
  7. package/dist/error/index.js +22 -25
  8. package/dist/error/index.js.map +1 -1
  9. package/dist/hooks/index.d.ts +2 -9
  10. package/dist/hooks/index.d.ts.map +1 -1
  11. package/dist/hooks/index.js +97 -540
  12. package/dist/hooks/index.js.map +1 -1
  13. package/dist/hooks/types.d.ts +3 -45
  14. package/dist/hooks/types.d.ts.map +1 -1
  15. package/dist/hooks/use-controllable-state.d.ts +1 -1
  16. package/dist/hooks/use-controllable-state.d.ts.map +1 -1
  17. package/dist/hooks/use-global-event.d.ts +0 -2
  18. package/dist/hooks/use-global-event.d.ts.map +1 -1
  19. package/dist/hooks/use-hotkey.d.ts +1 -1
  20. package/dist/hooks/use-hotkey.d.ts.map +1 -1
  21. package/dist/index.js +11283 -11772
  22. package/dist/index.js.map +1 -1
  23. package/dist/kernel/adapters.d.ts.map +1 -1
  24. package/dist/kernel/index.d.ts +1 -0
  25. package/dist/kernel/index.d.ts.map +1 -1
  26. package/dist/kernel/index.js +10 -81
  27. package/dist/kernel/index.js.map +1 -1
  28. package/dist/kernel/installed.d.ts.map +1 -1
  29. package/dist/kernel/page-controller.d.ts.map +1 -1
  30. package/dist/kernel/provider.d.ts.map +1 -1
  31. package/dist/modules/ambient/constants.d.ts +1 -1
  32. package/dist/modules/ambient/constants.d.ts.map +1 -1
  33. package/dist/modules/ambient/index.js +180 -326
  34. package/dist/modules/ambient/index.js.map +1 -1
  35. package/dist/modules/ambient/module.d.ts.map +1 -1
  36. package/dist/modules/background/constants.d.ts +4 -2
  37. package/dist/modules/background/constants.d.ts.map +1 -1
  38. package/dist/modules/background/context.d.ts +3 -0
  39. package/dist/modules/background/context.d.ts.map +1 -1
  40. package/dist/modules/background/hooks.d.ts +1 -1
  41. package/dist/modules/background/index.d.ts +2 -2
  42. package/dist/modules/background/index.d.ts.map +1 -1
  43. package/dist/modules/background/index.js +1172 -1270
  44. package/dist/modules/background/index.js.map +1 -1
  45. package/dist/modules/background/overlay.d.ts +1 -1
  46. package/dist/modules/background/overlay.d.ts.map +1 -1
  47. package/dist/modules/background/types.d.ts +1 -1
  48. package/dist/modules/background/types.d.ts.map +1 -1
  49. package/dist/modules/context-menu/constants.d.ts +1 -1
  50. package/dist/modules/context-menu/constants.d.ts.map +1 -1
  51. package/dist/modules/context-menu/context.d.ts.map +1 -1
  52. package/dist/modules/context-menu/hooks.d.ts.map +1 -1
  53. package/dist/modules/context-menu/index.js +133 -238
  54. package/dist/modules/context-menu/index.js.map +1 -1
  55. package/dist/modules/controls/constants.d.ts +1 -1
  56. package/dist/modules/controls/constants.d.ts.map +1 -1
  57. package/dist/modules/controls/hooks.d.ts +1 -1
  58. package/dist/modules/controls/index.js +28 -162
  59. package/dist/modules/controls/index.js.map +1 -1
  60. package/dist/modules/controls/types.d.ts +1 -1
  61. package/dist/modules/controls/types.d.ts.map +1 -1
  62. package/dist/modules/dock/cards.d.ts +2 -2
  63. package/dist/modules/dock/constants.d.ts +1 -1
  64. package/dist/modules/dock/constants.d.ts.map +1 -1
  65. package/dist/modules/dock/context.d.ts +10 -6
  66. package/dist/modules/dock/context.d.ts.map +1 -1
  67. package/dist/modules/dock/hooks.d.ts +5 -5
  68. package/dist/modules/dock/hooks.d.ts.map +1 -1
  69. package/dist/modules/dock/index.d.ts +1 -1
  70. package/dist/modules/dock/index.d.ts.map +1 -1
  71. package/dist/modules/dock/index.js +2060 -2080
  72. package/dist/modules/dock/index.js.map +1 -1
  73. package/dist/modules/dock/runtime/dock.d.ts.map +1 -1
  74. package/dist/modules/dock/types.d.ts +1 -1
  75. package/dist/modules/dock/types.d.ts.map +1 -1
  76. package/dist/modules/index.js +10789 -11027
  77. package/dist/modules/index.js.map +1 -1
  78. package/dist/modules/loading/constants.d.ts +4 -2
  79. package/dist/modules/loading/constants.d.ts.map +1 -1
  80. package/dist/modules/loading/context.d.ts +3 -0
  81. package/dist/modules/loading/context.d.ts.map +1 -1
  82. package/dist/modules/loading/hooks.d.ts +1 -1
  83. package/dist/modules/loading/hooks.d.ts.map +1 -1
  84. package/dist/modules/loading/index.d.ts +2 -2
  85. package/dist/modules/loading/index.d.ts.map +1 -1
  86. package/dist/modules/loading/index.js +118 -222
  87. package/dist/modules/loading/index.js.map +1 -1
  88. package/dist/modules/loading/types.d.ts +1 -1
  89. package/dist/modules/loading/types.d.ts.map +1 -1
  90. package/dist/modules/media/constants.d.ts +2 -1
  91. package/dist/modules/media/constants.d.ts.map +1 -1
  92. package/dist/modules/media/context.d.ts +3 -0
  93. package/dist/modules/media/context.d.ts.map +1 -1
  94. package/dist/modules/media/index.d.ts +2 -2
  95. package/dist/modules/media/index.d.ts.map +1 -1
  96. package/dist/modules/media/index.js +61 -218
  97. package/dist/modules/media/index.js.map +1 -1
  98. package/dist/modules/modal/constants.d.ts +1 -1
  99. package/dist/modules/modal/constants.d.ts.map +1 -1
  100. package/dist/modules/modal/context.d.ts.map +1 -1
  101. package/dist/modules/modal/hooks.d.ts +2 -2
  102. package/dist/modules/modal/index.js +20 -366
  103. package/dist/modules/modal/index.js.map +1 -1
  104. package/dist/modules/notification/constants.d.ts +4 -2
  105. package/dist/modules/notification/constants.d.ts.map +1 -1
  106. package/dist/modules/notification/context.d.ts +4 -0
  107. package/dist/modules/notification/context.d.ts.map +1 -1
  108. package/dist/modules/notification/hooks.d.ts +1 -1
  109. package/dist/modules/notification/index.d.ts +2 -3
  110. package/dist/modules/notification/index.d.ts.map +1 -1
  111. package/dist/modules/notification/index.js +70 -154
  112. package/dist/modules/notification/index.js.map +1 -1
  113. package/dist/modules/notification/module.d.ts.map +1 -1
  114. package/dist/provider.js +255 -257
  115. package/dist/provider.js.map +1 -1
  116. package/dist/theme.d.ts +1 -0
  117. package/dist/theme.d.ts.map +1 -1
  118. package/dist/theme.js +2 -2
  119. package/dist/theme.js.map +1 -1
  120. package/dist/utils/index.d.ts +5 -6
  121. package/dist/utils/index.d.ts.map +1 -1
  122. package/dist/utils/index.js +1 -57
  123. package/dist/utils/index.js.map +1 -1
  124. package/dist/utils/number.d.ts +0 -1
  125. package/dist/utils/number.d.ts.map +1 -1
  126. package/dist/utils/object.d.ts +0 -2
  127. package/dist/utils/object.d.ts.map +1 -1
  128. package/dist/utils/string.d.ts +0 -3
  129. package/dist/utils/string.d.ts.map +1 -1
  130. package/dist/utils/timing.d.ts +0 -1
  131. package/dist/utils/timing.d.ts.map +1 -1
  132. package/docs/README.md +124 -0
  133. package/docs/architecture-and-rules.md +129 -0
  134. package/docs/core-engine.md +196 -0
  135. package/docs/custom-modules.md +267 -0
  136. package/docs/getting-started.md +199 -0
  137. package/docs/modules/README.md +176 -0
  138. package/docs/modules/ambient.md +150 -0
  139. package/docs/modules/background.md +195 -0
  140. package/docs/modules/context-menu.md +248 -0
  141. package/docs/modules/controls.md +159 -0
  142. package/docs/modules/dock.md +734 -0
  143. package/docs/modules/error-boundary.md +160 -0
  144. package/docs/modules/kernel.md +266 -0
  145. package/docs/modules/loading.md +157 -0
  146. package/docs/modules/media.md +196 -0
  147. package/docs/modules/modal.md +229 -0
  148. package/docs/modules/notification.md +161 -0
  149. package/docs/modules/result.md +135 -0
  150. package/docs/testing.md +160 -0
  151. package/docs/theming.md +185 -0
  152. package/package.json +50 -2
  153. package/templates/AGENTS.md +165 -0
  154. package/dist/hooks/use-async-action.d.ts +0 -3
  155. package/dist/hooks/use-async-action.d.ts.map +0 -1
  156. package/dist/hooks/use-debounce.d.ts +0 -2
  157. package/dist/hooks/use-debounce.d.ts.map +0 -1
  158. package/dist/hooks/use-intersection-observer.d.ts +0 -4
  159. package/dist/hooks/use-intersection-observer.d.ts.map +0 -1
  160. package/dist/hooks/use-media-query.d.ts +0 -2
  161. package/dist/hooks/use-media-query.d.ts.map +0 -1
  162. package/dist/hooks/use-mounted.d.ts +0 -2
  163. package/dist/hooks/use-mounted.d.ts.map +0 -1
  164. package/dist/hooks/use-server-action.d.ts +0 -4
  165. package/dist/hooks/use-server-action.d.ts.map +0 -1
  166. package/dist/hooks/use-storage-state.d.ts +0 -5
  167. package/dist/hooks/use-storage-state.d.ts.map +0 -1
  168. package/dist/modules/theme.d.ts +0 -3
  169. package/dist/modules/theme.d.ts.map +0 -1
  170. package/dist/utils/json.d.ts +0 -3
  171. package/dist/utils/json.d.ts.map +0 -1
@@ -0,0 +1,165 @@
1
+ # Base Framework — AI Agent & Developer Mastery Guide
2
+
3
+ > **This project is powered by `@omerdlw/base-framework`.**
4
+ > Read this file first before reading or modifying any code. It contains the exact architectural boundaries, rules, patterns, and code recipes you must follow without exception.
5
+
6
+ ---
7
+
8
+ ## 1. Quick Tech Stack & Foundations
9
+
10
+ - **Engine:** Next.js 16 (App Router), React 19
11
+ - **Core Framework:** `@omerdlw/base-framework` (Microkernel & Declarative UI Modules)
12
+ - **Styling:** Tailwind CSS v4 (`@theme`, OKLCH semantic color tokens, `.center`, `.skeleton-block`)
13
+ - **Motion:** Motion (v13) with hardware GPU acceleration (`translate3d`, `scale`)
14
+ - **Icons:** `@iconify-icon/react` via `<Icon icon="solar:..." />`
15
+
16
+ ---
17
+
18
+ ## 2. The 4-Layer Architectural Hierarchy
19
+
20
+ Code in this project strictly follows a four-layer dependency hierarchy:
21
+
22
+ ```
23
+ Layer 4: src/app (Routing, Next.js page composition & layout orchestration)
24
+ ↓ imports
25
+ Layer 3: src/features (Domain capabilities: auth, account, social, checkout)
26
+ ↓ imports
27
+ Layer 2: src/infrastructure (Adapters: database, HTTP client, proxy, rate limiting)
28
+ ↓ imports
29
+ Layer 1: @omerdlw/base-framework (Microkernel, first-party modules, atoms, tokens, result)
30
+ ```
31
+
32
+ ### Strict Architectural Boundaries:
33
+ - `src/features/*` must **never** import from `src/app/*`.
34
+ - `src/infrastructure/*` must **never** import from `src/features/*` or `src/app/*`.
35
+ - Every feature in `src/features/` **must** have an `index.ts` barrel export.
36
+ - Server database and adapter files **must** begin with `import "server-only";`.
37
+ - Server Actions **must** begin with `"use server";` and return `Result<T, E>` (`ok()` or `err()`).
38
+
39
+ ---
40
+
41
+ ## 3. The 5 Golden Rules of Base Framework
42
+
43
+ ### Rule 1: Declarative Chrome (`usePage`)
44
+ **Never** build custom top navigation bars, ad-hoc sticky headers, or scattered floating buttons.
45
+ All route-level visual state (title, dock card, loading state, background, modals) **must** be declared using `usePage()` from `@omerdlw/base-framework/kernel`:
46
+
47
+ ```tsx
48
+ "use client";
49
+
50
+ import { usePage } from "@omerdlw/base-framework/kernel";
51
+
52
+ export default function MyPage() {
53
+ const page = usePage({
54
+ title: "Dashboard",
55
+ dock: {
56
+ description: "Project metrics and activity",
57
+ icon: "solar:widget-bold",
58
+ },
59
+ loading: false,
60
+ });
61
+
62
+ return <main>...</main>;
63
+ }
64
+ ```
65
+
66
+ ### Rule 2: Result Pattern for All Async Operations
67
+ Never return raw unchecked errors or throw unhandled exceptions from server actions or infrastructure operations. Always wrap return values with `Result<T, E>` from `@omerdlw/base-framework/result`:
68
+
69
+ ```tsx
70
+ "use server";
71
+
72
+ import "server-only";
73
+ import { ok, err, type Result } from "@omerdlw/base-framework/result";
74
+
75
+ export async function updateProfile(username: string): Promise<Result<{ id: string }, string>> {
76
+ if (!username) return err("Username is required");
77
+ // Save to DB...
78
+ return ok({ id: "user_123" });
79
+ }
80
+ ```
81
+
82
+ ### Rule 3: Bridge Server Actions to Feedback with `toast.fromResult`
83
+ When consuming Server Actions in the UI, do not write manual `try/catch` and `if (res.error)` blocks. Use `toast.fromResult()`:
84
+
85
+ ```tsx
86
+ "use client";
87
+
88
+ import { useToast } from "@omerdlw/base-framework/modules/notification";
89
+ import { updateProfile } from "@/features/account/actions";
90
+
91
+ export function ProfileForm() {
92
+ const { toast } = useToast();
93
+
94
+ const handleSubmit = async (name: string) => {
95
+ const result = await updateProfile(name);
96
+ toast.fromResult(result, {
97
+ success: "Profile updated successfully!",
98
+ });
99
+ };
100
+
101
+ return <form>...</form>;
102
+ }
103
+ ```
104
+
105
+ ### Rule 4: Subpath Imports Only
106
+ Always import from the exact subpaths exposed by `@omerdlw/base-framework`:
107
+
108
+ | What you need | Where to import it |
109
+ | :--- | :--- |
110
+ | `usePage`, `defineModule` | `@omerdlw/base-framework/kernel` |
111
+ | `CoreProvider` | `@omerdlw/base-framework/provider` |
112
+ | `ok`, `err`, `isResult`, `type Result` | `@omerdlw/base-framework/result` |
113
+ | `globalEvents`, `EVENT_TYPES` | `@omerdlw/base-framework/events` |
114
+ | `useToast` | `@omerdlw/base-framework/modules/notification` |
115
+ | `useDockActions`, `useDockStatus` | `@omerdlw/base-framework/modules/dock` |
116
+ | `useModal`, `useModalContext` | `@omerdlw/base-framework/modules/modal` |
117
+ | `useAmbientTheme` | `@omerdlw/base-framework/modules/ambient` |
118
+ | `cn`, `report`, `createStore` | `@omerdlw/base-framework/utils` |
119
+ | `useClickOutside`, `useGlobalEvent` | `@omerdlw/base-framework/hooks` |
120
+ | `Button`, `Icon`, `Spinner`, `Tooltip` | `@omerdlw/base-framework/atoms` |
121
+
122
+ ### Rule 5: Modals and Surfaces Must Be Declared or Scoped
123
+ Do not create floating unmanaged `fixed z-50` dialog div wrappers.
124
+ - For sheets/drawers sliding up from the dock: use `useDockActions().openSurface(...)`.
125
+ - For standard dialogs: register them in `usePage({ modal: { ... } })` or trigger with `useModal().openModal(...)`.
126
+
127
+ ---
128
+
129
+ ## 4. Standard Next.js Root Layout Recipe
130
+
131
+ In `src/app/providers.tsx`:
132
+
133
+ ```tsx
134
+ "use client";
135
+
136
+ import { CoreProvider } from "@omerdlw/base-framework/provider";
137
+ import { dockModule } from "@omerdlw/base-framework/modules/dock";
138
+ import { modalModule } from "@omerdlw/base-framework/modules/modal";
139
+ import { notificationModule } from "@omerdlw/base-framework/modules/notification";
140
+ import { ambientModule } from "@omerdlw/base-framework/modules/ambient";
141
+ import { backgroundModule } from "@omerdlw/base-framework/modules/background";
142
+ import { controlsModule } from "@omerdlw/base-framework/modules/controls";
143
+ import { loadingModule } from "@omerdlw/base-framework/modules/loading";
144
+
145
+ const modules = [
146
+ dockModule,
147
+ modalModule,
148
+ notificationModule,
149
+ ambientModule,
150
+ backgroundModule,
151
+ controlsModule,
152
+ loadingModule,
153
+ ];
154
+
155
+ export function Providers({ children }: { children: React.ReactNode }) {
156
+ return <CoreProvider modules={modules}>{children}</CoreProvider>;
157
+ }
158
+ ```
159
+
160
+ In `src/app/globals.css`:
161
+
162
+ ```css
163
+ @import "tailwindcss";
164
+ @source "../node_modules/@omerdlw/base-framework";
165
+ ```
@@ -1,3 +0,0 @@
1
- import { UseAsyncActionOptions, UseAsyncActionResult } from "./types";
2
- export declare function useAsyncAction<TArgs extends unknown[] = unknown[], TResult = unknown>(actionFn: (...args: TArgs) => Promise<TResult>, options?: UseAsyncActionOptions<TResult>): UseAsyncActionResult<TArgs, TResult>;
3
- //# sourceMappingURL=use-async-action.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-async-action.d.ts","sourceRoot":"","sources":["../../src/hooks/use-async-action.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEtE,wBAAgB,cAAc,CAC5B,KAAK,SAAS,OAAO,EAAE,GAAG,OAAO,EAAE,EACnC,OAAO,GAAG,OAAO,EAEjB,QAAQ,EAAE,CAAC,GAAG,IAAI,EAAE,KAAK,KAAK,OAAO,CAAC,OAAO,CAAC,EAC9C,OAAO,GAAE,qBAAqB,CAAC,OAAO,CAAM,GAC3C,oBAAoB,CAAC,KAAK,EAAE,OAAO,CAAC,CAmEtC"}
@@ -1,2 +0,0 @@
1
- export declare function useDebounce<T>(value: T, delay?: number): T;
2
- //# sourceMappingURL=use-debounce.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-debounce.d.ts","sourceRoot":"","sources":["../../src/hooks/use-debounce.ts"],"names":[],"mappings":"AAIA,wBAAgB,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,GAAE,MAAY,GAAG,CAAC,CAS/D"}
@@ -1,4 +0,0 @@
1
- import { type RefObject } from "react";
2
- import { UseIntersectionObserverOptions, UseIntersectionObserverResult } from "./types";
3
- export declare function useIntersectionObserver<T extends Element = Element>(targetRef: RefObject<T | null> | null | undefined, options?: UseIntersectionObserverOptions): UseIntersectionObserverResult;
4
- //# sourceMappingURL=use-intersection-observer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-intersection-observer.d.ts","sourceRoot":"","sources":["../../src/hooks/use-intersection-observer.ts"],"names":[],"mappings":"AAEA,OAAO,EAA+B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGpE,OAAO,EACL,8BAA8B,EAC9B,6BAA6B,EAC9B,MAAM,SAAS,CAAC;AAEjB,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,OAAO,GAAG,OAAO,EACjE,SAAS,EAAE,SAAS,CAAC,CAAC,GAAG,IAAI,CAAC,GAAG,IAAI,GAAG,SAAS,EACjD,OAAO,GAAE,8BAAmC,GAC3C,6BAA6B,CAiD/B"}
@@ -1,2 +0,0 @@
1
- export declare function useMediaQuery(query: string, serverFallback?: boolean): boolean;
2
- //# sourceMappingURL=use-media-query.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-media-query.d.ts","sourceRoot":"","sources":["../../src/hooks/use-media-query.ts"],"names":[],"mappings":"AAKA,wBAAgB,aAAa,CAC3B,KAAK,EAAE,MAAM,EACb,cAAc,GAAE,OAAe,GAC9B,OAAO,CAuBT"}
@@ -1,2 +0,0 @@
1
- export declare function useMounted(): boolean;
2
- //# sourceMappingURL=use-mounted.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-mounted.d.ts","sourceRoot":"","sources":["../../src/hooks/use-mounted.ts"],"names":[],"mappings":"AAMA,wBAAgB,UAAU,IAAI,OAAO,CAMpC"}
@@ -1,4 +0,0 @@
1
- import { type Result } from "@/result";
2
- import { UseServerActionOptions, UseServerActionResult } from "./types";
3
- export declare function useServerAction<TArgs extends unknown[] = unknown[], T = unknown, E = string>(actionFn: (...args: TArgs) => Promise<Result<T, E>>, options?: UseServerActionOptions<T, E>): UseServerActionResult<TArgs, T, E>;
4
- //# sourceMappingURL=use-server-action.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-server-action.d.ts","sourceRoot":"","sources":["../../src/hooks/use-server-action.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2B,KAAK,MAAM,EAAE,MAAM,UAAU,CAAC;AAEhE,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAExE,wBAAgB,eAAe,CAC7B,KAAK,SAAS,OAAO,EAAE,GAAG,OAAO,EAAE,EACnC,CAAC,GAAG,OAAO,EACX,CAAC,GAAG,MAAM,EAEV,QAAQ,EAAE,CAAC,GAAG,IAAI,EAAE,KAAK,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EACnD,OAAO,GAAE,sBAAsB,CAAC,CAAC,EAAE,CAAC,CAAM,GACzC,qBAAqB,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC,CA6EpC"}
@@ -1,5 +0,0 @@
1
- import { UseStorageStateOptions } from "./types";
2
- export declare function useStorageState<T>(key: string, initialValue: T, options?: UseStorageStateOptions<T>): [T, (next: T | ((prev: T) => T)) => void, () => void];
3
- export declare function useLocalStorage<T>(key: string, initialValue: T, options?: Omit<UseStorageStateOptions<T>, "storage">): [T, (next: T | ((prev: T) => T)) => void, () => void];
4
- export declare function useSessionStorage<T>(key: string, initialValue: T, options?: Omit<UseStorageStateOptions<T>, "storage">): [T, (next: T | ((prev: T) => T)) => void, () => void];
5
- //# sourceMappingURL=use-storage-state.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-storage-state.d.ts","sourceRoot":"","sources":["../../src/hooks/use-storage-state.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAajD,wBAAgB,eAAe,CAAC,CAAC,EAC/B,GAAG,EAAE,MAAM,EACX,YAAY,EAAE,CAAC,EACf,OAAO,GAAE,sBAAsB,CAAC,CAAC,CAAM,GACtC,CAAC,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,IAAI,EAAE,MAAM,IAAI,CAAC,CAgHvD;AAED,wBAAgB,eAAe,CAAC,CAAC,EAC/B,GAAG,EAAE,MAAM,EACX,YAAY,EAAE,CAAC,EACf,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,GACnD,CAAC,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,IAAI,EAAE,MAAM,IAAI,CAAC,CAEvD;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EACjC,GAAG,EAAE,MAAM,EACX,YAAY,EAAE,CAAC,EACf,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,GACnD,CAAC,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,IAAI,EAAE,MAAM,IAAI,CAAC,CAEvD"}
@@ -1,3 +0,0 @@
1
- export { ThemeProvider, defineTheme, defineThemeSpec, useTheme as useModuleTheme, } from "@/theme";
2
- export type { ResolvedTheme, ThemeConfig, ThemeEntry, ThemeSpec, } from "@/theme";
3
- //# sourceMappingURL=theme.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/modules/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,WAAW,EACX,eAAe,EACf,QAAQ,IAAI,cAAc,GAC3B,MAAM,SAAS,CAAC;AACjB,YAAY,EACV,aAAa,EACb,WAAW,EACX,UAAU,EACV,SAAS,GACV,MAAM,SAAS,CAAC"}
@@ -1,3 +0,0 @@
1
- export declare function safeJsonParse<T = unknown>(text: unknown, fallback?: T | null): T | null;
2
- export declare function safeJsonStringify(value: unknown, fallback?: string): string;
3
- //# sourceMappingURL=json.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../src/utils/json.ts"],"names":[],"mappings":"AAAA,wBAAgB,aAAa,CAAC,CAAC,GAAG,OAAO,EACvC,IAAI,EAAE,OAAO,EACb,QAAQ,GAAE,CAAC,GAAG,IAAW,GACxB,CAAC,GAAG,IAAI,CAOV;AAED,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,OAAO,EACd,QAAQ,GAAE,MAAW,GACpB,MAAM,CAMR"}