@fluixi/core 1.0.0-alpha.92 → 1.0.0-alpha.94

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 (113) hide show
  1. package/dist/cdn/core.global.js +2 -2
  2. package/dist/src/cdn/{chunk-MDJLC3PE.mjs → chunk-7XM7Q5VR.mjs} +271 -229
  3. package/dist/src/cdn/core.cjs +360 -253
  4. package/dist/src/cdn/core.mjs +92 -20
  5. package/dist/src/cdn/{router-JYFZP3EZ.mjs → router-VOY43YNM.mjs} +7 -3
  6. package/dist/src/index.cjs +548 -232
  7. package/dist/src/index.mjs +549 -224
  8. package/dist/src/lib/client/chunk-TSXM2PNY.mjs +53 -0
  9. package/dist/src/lib/client/index.cjs +310 -176
  10. package/dist/src/lib/client/index.d.ts.map +1 -1
  11. package/dist/src/lib/client/index.js +33 -18
  12. package/dist/src/lib/client/index.mjs +86 -15
  13. package/dist/src/lib/client/{router-PHLUYVQU.mjs → router-BDVPLLYX.mjs} +244 -99
  14. package/dist/src/lib/context/context.cjs +35 -72
  15. package/dist/src/lib/context/context.d.ts +45 -291
  16. package/dist/src/lib/context/context.d.ts.map +1 -1
  17. package/dist/src/lib/context/context.js +65 -397
  18. package/dist/src/lib/context/context.mjs +38 -73
  19. package/dist/src/lib/context/index.cjs +35 -72
  20. package/dist/src/lib/context/index.d.ts +2 -2
  21. package/dist/src/lib/context/index.d.ts.map +1 -1
  22. package/dist/src/lib/context/index.js +1 -5
  23. package/dist/src/lib/context/index.mjs +38 -73
  24. package/dist/src/lib/core.cjs +547 -231
  25. package/dist/src/lib/core.d.ts +5 -3
  26. package/dist/src/lib/core.d.ts.map +1 -1
  27. package/dist/src/lib/core.js +6 -4
  28. package/dist/src/lib/core.mjs +548 -223
  29. package/dist/src/lib/env/index.cjs +1 -17
  30. package/dist/src/lib/env/index.d.ts +2 -14
  31. package/dist/src/lib/env/index.d.ts.map +1 -1
  32. package/dist/src/lib/env/index.js +2 -26
  33. package/dist/src/lib/env/index.mjs +1 -17
  34. package/dist/src/lib/i18n/index.cjs +17 -2
  35. package/dist/src/lib/i18n/index.d.ts +10 -0
  36. package/dist/src/lib/i18n/index.d.ts.map +1 -1
  37. package/dist/src/lib/i18n/index.js +17 -1
  38. package/dist/src/lib/i18n/index.mjs +17 -2
  39. package/dist/src/lib/index.cjs +64 -99
  40. package/dist/src/lib/index.mjs +43 -76
  41. package/dist/src/lib/isomorphic.cjs +9 -4
  42. package/dist/src/lib/isomorphic.d.ts +9 -2
  43. package/dist/src/lib/isomorphic.d.ts.map +1 -1
  44. package/dist/src/lib/isomorphic.js +11 -4
  45. package/dist/src/lib/isomorphic.mjs +9 -4
  46. package/dist/src/lib/jsx-runtime/index.cjs +1 -1
  47. package/dist/src/lib/jsx-runtime/index.mjs +1 -1
  48. package/dist/src/lib/jsx-runtime/jsx-dev-runtime.cjs +1 -1
  49. package/dist/src/lib/jsx-runtime/jsx-dev-runtime.mjs +1 -1
  50. package/dist/src/lib/plugins/fluixi-routes-plugin.cjs +2 -2
  51. package/dist/src/lib/plugins/fluixi-routes-plugin.mjs +2 -2
  52. package/dist/src/lib/plugins/index.cjs +3 -3
  53. package/dist/src/lib/plugins/index.mjs +3 -3
  54. package/dist/src/lib/plugins/route-codegen.cjs +2 -2
  55. package/dist/src/lib/plugins/route-codegen.js +1 -1
  56. package/dist/src/lib/plugins/route-codegen.mjs +2 -2
  57. package/dist/src/lib/render/index.cjs +1 -1
  58. package/dist/src/lib/render/index.mjs +1 -1
  59. package/dist/src/lib/render/versions.cjs +1 -1
  60. package/dist/src/lib/render/versions.mjs +1 -1
  61. package/dist/src/lib/router/data.cjs +113 -115
  62. package/dist/src/lib/router/data.d.ts +63 -10
  63. package/dist/src/lib/router/data.d.ts.map +1 -1
  64. package/dist/src/lib/router/data.js +158 -68
  65. package/dist/src/lib/router/data.mjs +112 -112
  66. package/dist/src/lib/router/index.cjs +260 -163
  67. package/dist/src/lib/router/index.d.ts +22 -2
  68. package/dist/src/lib/router/index.d.ts.map +1 -1
  69. package/dist/src/lib/router/index.js +165 -22
  70. package/dist/src/lib/router/index.mjs +244 -143
  71. package/dist/src/lib/server/index.cjs +1 -1
  72. package/dist/src/lib/server/index.mjs +1 -1
  73. package/dist/src/lib/storage/cache.cjs +51 -0
  74. package/dist/src/lib/storage/cache.d.ts +18 -0
  75. package/dist/src/lib/storage/cache.d.ts.map +1 -0
  76. package/dist/src/lib/storage/cache.js +42 -0
  77. package/dist/src/lib/storage/cache.mjs +30 -0
  78. package/dist/src/lib/storage/index.cjs +246 -0
  79. package/dist/src/lib/storage/index.d.ts +83 -0
  80. package/dist/src/lib/storage/index.d.ts.map +1 -0
  81. package/dist/src/lib/storage/index.js +179 -0
  82. package/dist/src/lib/storage/index.mjs +231 -0
  83. package/dist/src/lib/storage/persisted.cjs +91 -0
  84. package/dist/src/lib/storage/persisted.d.ts +53 -0
  85. package/dist/src/lib/storage/persisted.d.ts.map +1 -0
  86. package/dist/src/lib/storage/persisted.js +75 -0
  87. package/dist/src/lib/storage/persisted.mjs +70 -0
  88. package/dist/src/lib/theme/color-scheme.cjs +281 -0
  89. package/dist/src/lib/theme/color-scheme.d.ts +61 -0
  90. package/dist/src/lib/theme/color-scheme.d.ts.map +1 -0
  91. package/dist/src/lib/theme/color-scheme.js +120 -0
  92. package/dist/src/lib/theme/color-scheme.mjs +265 -0
  93. package/dist/src/lib/theme/index.cjs +194 -37
  94. package/dist/src/lib/theme/index.d.ts +23 -11
  95. package/dist/src/lib/theme/index.d.ts.map +1 -1
  96. package/dist/src/lib/theme/index.js +73 -32
  97. package/dist/src/lib/theme/index.mjs +197 -35
  98. package/dist/src/lib/theme/provider.cjs +346 -0
  99. package/dist/src/lib/theme/provider.d.ts +34 -0
  100. package/dist/src/lib/theme/provider.d.ts.map +1 -0
  101. package/dist/src/lib/theme/provider.js +60 -0
  102. package/dist/src/lib/theme/provider.mjs +332 -0
  103. package/dist/src/routes.cjs +1 -1
  104. package/dist/src/routes.mjs +1 -1
  105. package/dist/src/utils.cjs +1 -1
  106. package/dist/src/utils.mjs +1 -1
  107. package/dist/src/version.generated.cjs +1 -1
  108. package/dist/src/version.generated.d.ts +1 -1
  109. package/dist/src/version.generated.js +1 -1
  110. package/dist/src/version.generated.mjs +1 -1
  111. package/dist/tsconfig.lib.tsbuildinfo +1 -1
  112. package/package.json +18 -11
  113. package/dist/src/lib/client/chunk-VB567ABU.mjs +0 -133
@@ -1,284 +1,22 @@
1
- import { type Component, type ComponentChild } from '@fluixi/dom';
2
- import { Accessor, Context } from '@fluixi/reactive/signal';
3
- type C = Component | Component[];
4
- interface Children {
5
- (): C;
6
- (...args: any[]): C;
7
- }
8
- type PickChildren<T> = T extends Record<any, any> ? 'children' extends keyof T ? T['children'] : never : never;
9
- export interface ContextProvider<T, S> {
10
- /**
11
- * Context to provide
12
- */
13
- context: Context<T>;
14
- /**
15
- * Value to provide
16
- */
17
- value: T | Accessor<T>;
18
- /**
19
- * Children components that can access this context
20
- */
21
- debug?: boolean;
22
- children?: (S extends Record<any, any> ? PickChildren<S> : never) | S;
23
- }
24
- export interface ProviderProps<Child> {
25
- /**
26
- * Children components that can access this context
27
- */
28
- children?: Child extends Record<any, any> ? PickChildren<Child> : never;
29
- }
30
1
  /**
31
- * Lazy-safe form: pass the component's `props` so `children` is read through a
32
- * getter (inside the stamped scope), never materialised early. This is the
33
- * recommended way to wrap an <Outlet/>.
2
+ * Context: a value provided by a component and read by any component below it.
34
3
  *
35
- * function ThemeProvider(props) {
36
- * return createProvider(ThemeContext, theme, props);
37
- * }
38
- */
39
- export declare function createProvider<T>(context: Context<T>, value: T | Accessor<T>, props: {
40
- children?: any;
41
- }): ComponentChild;
42
- /**
43
- * @deprecated Eager form: `{ context, value, children }` reads `children` before
44
- * the context is stamped (see warnEagerProvider). Use `createProvider(context,
45
- * value, props)` or `<Context.Provider>` instead.
46
- */
47
- /**
48
- * Provide a context value to a subtree, without writing the `Provider` tag.
49
- *
50
- * Takes either a `Context` from `createContext` or a provider component, so it works for
51
- * both shapes the context API hands back. `value` may be an accessor, in which case
52
- * descendants see it change.
53
- *
54
- * Reach for the `Provider` tag in markup; this is for providing a value from code, such as
55
- * a wrapper that supplies context around children it was handed.
56
- *
57
- * @example
58
- * ```ts
59
- * createProvider(ThemeContext, 'dark', { children: () => renderPage() });
60
- * ```
61
- */
62
- export declare function createProvider<T, S = Children>(props: ContextProvider<T, S>): ComponentChild;
63
- /**
64
- * Creates a context with a provider component
65
- *
66
- * Returns both the context and a convenience component that combines
67
- * context creation with the provider.
68
- *
69
- * @example
70
- * ```typescript
71
- * import { createContextWithProvider } from '@fluixi/core/context';
72
- * import { createSignal } from '@fluixi/reactive';
73
- * import { html } from 'lit';
74
- *
75
- * const [ThemeContext, ThemeProvider] = createContextWithProvider({
76
- * primaryColor: '#007bff'
77
- * });
78
- *
79
- * class App extends FluixiElement {
80
- * private [theme] = createSignal({ primaryColor: '#28a745' });
81
- *
82
- * view() {
83
- * return html`
84
- * ${ThemeProvider({
85
- * value: this.theme(),
86
- * children: html`<div><themed-button></themed-button></div>`
87
- * })}
88
- * `;
89
- * }
90
- * }
91
- *
92
- * class ThemedButton extends FluixiElement {
93
- * view() {
94
- * const theme = useContext(ThemeContext);
95
- * return html`<button style="color: ${theme.primaryColor}">Click</button>`;
96
- * }
97
- * }
98
- * ```
99
- */
100
- export declare function createContextWithProvider<T, U>(defaultValue: T): [Context<T>, (props: Omit<ContextProvider<T, U>, 'context'>) => ComponentChild];
101
- /**
102
- * Creates multiple context providers in a nested structure
103
- *
104
- * Utility function to avoid deeply nested Provider components.
105
- *
106
- * @example
107
- * ```typescript
108
- * import { composeProviders, createContext } from '@fluixi/core/context';
109
- * import { createSignal } from '@fluixi/reactive';
110
- * import { html } from 'lit';
111
- *
112
- * const ThemeContext = createContext({ dark: false });
113
- * const UserContext = createContext<User | null>(null);
114
- * const LocaleContext = createContext('en');
115
- *
116
- * class App extends FluixiElement {
117
- * private [theme] = createSignal({ dark: true });
118
- * private [user] = createSignal<User | null>({ id: 1, name: 'Alice' });
119
- * private [locale] = createSignal('fr');
120
- *
121
- * view() {
122
- * return composeProviders(
123
- * [
124
- * [ThemeContext, this.theme()],
125
- * [UserContext, this.user()],
126
- * [LocaleContext, this.locale()]
127
- * ],
128
- * html`<app-dashboard></app-dashboard>`
129
- * );
130
- * }
131
- * }
132
- * ```
133
- */
134
- export declare function composeProviders(contexts: Array<[Context<any>, any]>, children: Children): ComponentChild;
135
- /**
136
- * Creates a context consumer component
137
- *
138
- * Alternative to useContext hook, useful for rendering props patterns.
139
- *
140
- * @example
141
- * ```typescript
142
- * import { createContext, createConsumer } from '@fluixi/core/context';
143
- * import { html } from 'lit';
144
- *
145
- * const ThemeContext = createContext({ primaryColor: '#007bff' });
146
- * const ThemeConsumer = createConsumer(ThemeContext);
147
- *
148
- * class MyComponent extends FluixiElement {
149
- * view() {
150
- * return html`
151
- * ${ThemeConsumer({
152
- * children: (theme) => html`
153
- * <div style="color: ${theme.primaryColor}">
154
- * Themed content
155
- * </div>
156
- * `
157
- * })}
158
- * `;
159
- * }
160
- * }
161
- * ```
162
- */
163
- export declare function createConsumer<T>(context: Context<T>): (props: {
164
- children: (value: T) => Component;
165
- }) => Component;
166
- /**
167
- * Hook to provide and consume a context in one component
168
- *
169
- * Useful for creating context-based stores or services.
170
- *
171
- * @example
172
- * ```typescript
173
- * import { createContext, useProvide, Provider } from '@fluixi/core/context';
174
- * import { createSignal } from '@fluixi/reactive';
175
- * import { html } from 'lit';
176
- *
177
- * interface Counter {
178
- * count: number;
179
- * increment: () => void;
180
- * }
181
- *
182
- * const CounterContext = createContext<Counter>({
183
- * count: 0,
184
- * increment: () => {}
185
- * });
186
- *
187
- * class CounterProvider extends FluixiElement {
188
- * view() {
189
- * const counter = useProvide(CounterContext, () => {
190
- * const [count, setCount] = createSignal(0);
191
- * return {
192
- * count: count(),
193
- * increment: () => setCount(count() + 1)
194
- * };
195
- * });
196
- *
197
- * return html`
198
- * ${Provider({
199
- * context: CounterContext,
200
- * value: counter,
201
- * children: html`<slot></slot>`
202
- * })}
203
- * `;
204
- * }
205
- * }
206
- * ```
207
- */
208
- export declare function useProvide<T>(context: Context<T>, factory: () => T): T;
209
- /**
210
- * Creates a scoped context that only exists within a specific component tree
211
- *
212
- * @example
213
- * ```typescript
214
- * import { createContext } from '@fluixi/core/context';
215
- *
216
- * // This context won't leak to parent or sibling components
217
- * const LocalContext = createContext({ data: 'local' });
218
- * ```
4
+ * The owner tree holds it (`@fluixi/reactive`), so `useContext` finds the nearest
5
+ * `<Ctx.Provider>` above the component that asks. The same object is the key custom elements use
6
+ * with `@fluixi/web-components`: an element reads what a Provider around it gives, and the
7
+ * components an element renders read what the element provides.
219
8
  */
9
+ import { type ComponentChild } from '@fluixi/dom';
10
+ import { type Accessor, type Context } from '@fluixi/reactive/signal';
220
11
  /**
221
- * Create a context for sharing state across component tree
222
- *
223
- * Context is lookup-based, works on server and client
224
- * Supports nested contexts and complex values
12
+ * A context with a default for components that have no Provider above them. `name` is what
13
+ * devtools show for it.
225
14
  *
226
15
  * @example
227
- * ```typescript
228
- * // Simple context
229
- * const ThemeContext = createContext('light');
230
- *
231
- * // Complex context with object
232
- * const AppContext = createContext({
233
- * theme: 'light',
234
- * toggleTheme: () => {}
235
- * });
236
- *
237
- * // Usage in JSX
238
- * <ThemeContext.Provider value="dark">
239
- * <Child />
240
- * </ThemeContext.Provider>
241
- *
242
- * // Usage in Lit-html
243
- * html`
244
- * <${ThemeContext.Provider} value=${{ theme: 'dark', toggleTheme }}>
245
- * <${Child} />
246
- * </${ThemeContext.Provider}>
247
- * `
248
- * ```
249
- */
250
- /**
251
- * Creates a scoped context that only exists within a specific component tree
252
- *
253
- * @example
254
- * ```typescript
255
- * import { createContext } from '@fluixi/core';
256
- *
257
- * // This context won't leak to parent or sibling components
258
- * const LocalContext = createContext({ data: 'local' });
259
- * ```
260
- * @example
261
- * ```typescript
262
- * // Simple context
263
- * const ThemeContext = createContext('light');
264
- *
265
- * // Complex context with object
266
- * const AppContext = createContext({
267
- * theme: 'light',
268
- * toggleTheme: () => {}
269
- * });
16
+ * ```tsx
17
+ * const Theme = createContext<'light' | 'dark'>('light', 'theme');
270
18
  *
271
- * // Usage in JSX
272
- * <ThemeContext.Provider value="dark">
273
- * <Child />
274
- * </ThemeContext.Provider>
275
- *
276
- * // Usage in Lit-html
277
- * html`
278
- * <${ThemeContext.Provider} value=${{ theme: 'dark', toggleTheme }}>
279
- * <${Child} />
280
- * </${ThemeContext.Provider}>
281
- * `
19
+ * <Theme.Provider value="dark"><Toolbar /></Theme.Provider>
282
20
  * ```
283
21
  */
284
22
  export declare function createContext<T>(defaultValue?: T, name?: string): {
@@ -290,30 +28,46 @@ export declare function createContext<T>(defaultValue?: T, name?: string): {
290
28
  }) => any;
291
29
  defaultValue: T;
292
30
  };
31
+ /** The value of the nearest Provider above the calling component, or the context's default. */
32
+ export declare function useContext<T>(context: {
33
+ id: symbol;
34
+ defaultValue: T;
35
+ [key: string]: any;
36
+ }): T;
293
37
  /**
294
- * Use context value from nearest Provider
295
- *
296
- * Lookup-based, no subscriptions on server
38
+ * A Provider as a function call, for a component that provides without JSX. `value` may be an
39
+ * accessor, read once. Pass the component's own props so `children` stays lazy.
297
40
  *
298
41
  * @example
299
- * ```typescript
300
- * const Child = () => {
301
- * const theme = useContext(ThemeContext);
302
- * const { theme: currentTheme, toggleTheme } = useContext(AppContext);
42
+ * ```ts
43
+ * const ThemeProvider = (props) => createProvider(Theme, 'dark', props);
44
+ * ```
45
+ */
46
+ export declare function createProvider<T>(context: Context<T>, value: T | Accessor<T>, props: {
47
+ children?: any;
48
+ }): ComponentChild;
49
+ /**
50
+ * Several Providers as one, outermost first, for an app shell that would otherwise nest a
51
+ * Provider per context. Values may be accessors, as in `createProvider`; children stay lazy.
303
52
  *
304
- * return html`
305
- * <div>
306
- * <p>Theme: ${currentTheme}</p>
307
- * <button @click=${toggleTheme}>Toggle</button>
308
- * </div>
309
- * `;
310
- * };
53
+ * @example
54
+ * ```ts
55
+ * const AppProviders = (props) =>
56
+ * composeProviders([[Theme, 'dark'], [Locale, () => locale()], [Session, session]], props);
311
57
  * ```
312
58
  */
313
- export declare function useContext<T>(context: {
59
+ export declare function composeProviders(providers: ReadonlyArray<readonly [Context<any>, unknown]>, props: {
60
+ children?: any;
61
+ }): ComponentChild;
62
+ /**
63
+ * `useContext` for a value that has to come from a Provider: throws when none is above,
64
+ * instead of handing back the default. For parts that only work inside their parent, a tab
65
+ * outside its tabs.
66
+ */
67
+ export declare function requireContext<T>(context: {
314
68
  id: symbol;
315
- defaultValue: T;
69
+ defaultValue?: T;
316
70
  [key: string]: any;
317
- }): T;
71
+ }, message?: string): T;
318
72
  export type { Context };
319
73
  //# sourceMappingURL=context.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/lib/context/context.ts"],"names":[],"mappings":"AAKA,OAAO,EAAc,KAAK,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAE9E,OAAO,EACL,QAAQ,EACR,OAAO,EAER,MAAM,yBAAyB,CAAC;AA6FjC,KAAK,CAAC,GAAG,SAAS,GAAG,SAAS,EAAE,CAAC;AAEjC,UAAU,QAAQ;IAChB,IAAI,CAAC,CAAC;IACN,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;CACrB;AAOD,KAAK,YAAY,CAAC,CAAC,IAAI,CAAC,SAAS,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,GAAG,UAAU,SAAS,MAAM,CAAC,GAAG,CAAC,CAAC,UAAU,CAAC,GAAG,KAAK,GAAG,KAAK,CAAC;AAC/G,MAAM,WAAW,eAAe,CAAC,CAAC,EAAE,CAAC;IACnC;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IAEpB;;OAEG;IACH,KAAK,EAAE,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAEvB;;OA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