@lipsjs/lips 0.5.0 → 0.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.
- package/dist/lips.js +12 -3
- package/dist/lips.js.map +3 -3
- package/dist/lips.min.js +7 -7
- package/dist/lips.min.js.map +3 -3
- package/dist/lynx.min.js +8 -8
- package/dist/lynx.min.js.map +5 -4
- package/dist/parts.min.js +7 -7
- package/dist/parts.min.js.map +3 -3
- package/dist/precompile.min.js +13 -13
- package/dist/precompile.min.js.map +5 -4
- package/dist/runtime.min.js +3 -3
- package/dist/runtime.min.js.map +3 -3
- package/dist/types/ir/facade.d.ts +9 -1
- package/dist/types/lynx/components.d.ts +3 -3
- package/dist/types/parts/combobox.d.ts +7 -0
- package/dist/types/plugins.d.ts +15 -0
- package/dist/types/precompile.d.ts +30 -1
- package/dist/types/types.d.ts +11 -0
- package/package.json +1 -1
package/dist/types/types.d.ts
CHANGED
|
@@ -278,6 +278,17 @@ export type LipsConfig<Context extends Object = {}> = {
|
|
|
278
278
|
* entries are separate bundles with separate module state.
|
|
279
279
|
*/
|
|
280
280
|
stylePreprocessor?: (css: string) => string;
|
|
281
|
+
/**
|
|
282
|
+
* Plugins' components as a build compiled them (`precompilePlugins()`
|
|
283
|
+
* from `@lipsjs/lips/precompile`), by name: `use()` registers each
|
|
284
|
+
* component of a plugin with the IR made for its name, so a plugin's
|
|
285
|
+
* source templates run on `./runtime`, which has no compiler (RFC-008
|
|
286
|
+
* §4). A component with none here is registered as it is.
|
|
287
|
+
*/
|
|
288
|
+
precompiled?: Readonly<Record<string, {
|
|
289
|
+
ir: TemplateIR;
|
|
290
|
+
style?: StyleIR;
|
|
291
|
+
}>>;
|
|
281
292
|
/**
|
|
282
293
|
* The MessageFormat 2 engine dictionaries are formatted with. The full
|
|
283
294
|
* build wires it in; the precompiled `./runtime` entry ships without it
|