@htmlplus/element 3.4.1 → 3.4.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.
- package/dist/client.d.ts +14 -10
- package/dist/client.js +543 -601
- package/dist/constants.d.ts +8 -8
- package/dist/constants.js +9 -9
- package/dist/jsx-runtime.d.ts +15 -186
- package/dist/transformer.js +51 -21
- package/package.json +50 -47
- package/dist/internal.d.ts +0 -1
- package/dist/internal.js +0 -3
package/dist/client.d.ts
CHANGED
|
@@ -364,18 +364,22 @@ declare class Hole {
|
|
|
364
364
|
values: any;
|
|
365
365
|
}
|
|
366
366
|
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
}[keyof Overrides]> | {
|
|
370
|
-
[K in keyof Overrides]: Overrides[K] extends true ? K : never;
|
|
371
|
-
}[keyof Overrides];
|
|
372
|
-
|
|
373
|
-
declare const attributes: (target: HTMLElement | HTMLPlusElement, attributes: unknown[]) => void;
|
|
374
|
-
declare const html: ((template: any, ...values: any[]) => Hole) & {
|
|
367
|
+
declare const _internal_a_: (target: HTMLElement | HTMLPlusElement, attributes: unknown[]) => void;
|
|
368
|
+
declare const _internal_h_: ((template: any, ...values: any[]) => Hole) & {
|
|
375
369
|
for(ref: any, id: any): any;
|
|
376
370
|
node: (template: any, ...values: any[]) => any;
|
|
377
371
|
};
|
|
378
|
-
declare const
|
|
372
|
+
declare const _internal_s_: (input: object) => string;
|
|
373
|
+
|
|
374
|
+
type Listed<T> = T extends string | number ? (T extends `${infer _}` | number ? T : never) : never;
|
|
375
|
+
type Unlisted<T> = Exclude<T, Listed<T>>;
|
|
376
|
+
type OverridableValue<Base, Overrides = unknown> = {
|
|
377
|
+
[K in keyof Overrides]: Overrides[K] extends true ? K : never;
|
|
378
|
+
}[keyof Overrides] | Exclude<Listed<Base>, keyof {
|
|
379
|
+
[K in keyof Overrides as Overrides[K] extends false ? K : never]: any;
|
|
380
|
+
}> | (Overrides extends {
|
|
381
|
+
UNLISTED: false;
|
|
382
|
+
} ? never : Unlisted<Base>);
|
|
379
383
|
|
|
380
|
-
export { Bind, Consumer, Debounce, Direction$1 as Direction, Element$1 as Element, Event, Host, IsRTL, Listen, Method, Overrides, Property, Provider, Query, QueryAll, Slots$1 as Slots, State, Style, Variant, Watch,
|
|
384
|
+
export { Bind, Consumer, Debounce, Direction$1 as Direction, Element$1 as Element, Event, Host, IsRTL, Listen, Method, Overrides, Property, Provider, Query, QueryAll, Slots$1 as Slots, State, Style, Variant, Watch, _internal_a_, _internal_h_, _internal_s_, classes, direction, dispatch, getConfig, getConfigCreator, host, isCSSColor, isCSSUnit, isRTL, off, on, query, queryAll, setConfig, setConfigCreator, slots, toUnit };
|
|
381
385
|
export type { Config, ConfigOptions, EventEmitter, EventOptions, ListenOptions, OverridableValue, OverridesConfig, PropertyOptions };
|