j20 0.0.23 → 0.0.25
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/index.d.ts +11 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +36 -35
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4598,14 +4598,6 @@ declare global {
|
|
|
4598
4598
|
}
|
|
4599
4599
|
}
|
|
4600
4600
|
|
|
4601
|
-
declare const effect: typeof effect$1;
|
|
4602
|
-
|
|
4603
|
-
interface RefObject<T> {
|
|
4604
|
-
current: T | null;
|
|
4605
|
-
}
|
|
4606
|
-
declare function ref<T>(init: T): RefObject<T>;
|
|
4607
|
-
declare function ref<T>(): RefObject<T>;
|
|
4608
|
-
|
|
4609
4601
|
type FC<P extends Record<string, any> = {}> = {
|
|
4610
4602
|
isLogic?: boolean;
|
|
4611
4603
|
} & ((props: P) => JSX.Element);
|
|
@@ -4644,6 +4636,16 @@ declare abstract class WebComponentClass extends HTMLElement {
|
|
|
4644
4636
|
removeStyleSheet(styleSheet: CSSStyleSheet): void;
|
|
4645
4637
|
}
|
|
4646
4638
|
|
|
4639
|
+
declare const cssHash: (str: string) => string;
|
|
4640
|
+
|
|
4641
|
+
declare const effect: typeof effect$1;
|
|
4642
|
+
|
|
4643
|
+
interface RefObject<T> {
|
|
4644
|
+
current: T | null;
|
|
4645
|
+
}
|
|
4646
|
+
declare function ref<T>(init: T): RefObject<T>;
|
|
4647
|
+
declare function ref<T>(): RefObject<T>;
|
|
4648
|
+
|
|
4647
4649
|
declare const wc: () => {
|
|
4648
4650
|
host: Document | WebComponentClass | ShadowRoot;
|
|
4649
4651
|
emit: (name: string, detail: any) => void;
|
|
@@ -4767,6 +4769,6 @@ declare const Fragment: (props: {
|
|
|
4767
4769
|
}) => any;
|
|
4768
4770
|
declare const template: (template: string) => (isSvg: boolean) => any;
|
|
4769
4771
|
|
|
4770
|
-
export { $, $useContext, Case, Default, For, Fragment, If, Replace, Some, Switch, createComponent, createContext, createCss, createDom, createElement, createLogicComponent, createRoot, effect, getCurrentInstance, h2, id, instanceCreate, instanceCreateElement, instanceDestroy, instanceGetElements, instanceInit, jsx, jsxs, mounts, onDestroy, onMount, ref, registerWebComponent, securityGetCurrentInstance, styleSheet, template, wc };
|
|
4772
|
+
export { $, $useContext, Case, Default, For, Fragment, If, Replace, Some, Switch, createComponent, createContext, createCss, createDom, createElement, createLogicComponent, createRoot, cssHash, effect, getCurrentInstance, h2, id, instanceCreate, instanceCreateElement, instanceDestroy, instanceGetElements, instanceInit, jsx, jsxs, mounts, onDestroy, onMount, ref, registerWebComponent, securityGetCurrentInstance, styleSheet, template, wc };
|
|
4771
4773
|
export type { AttrValueType, CaseProps, CustomElement, DOMElement, DefaultProps, ExtractClasses, FC, IfProps, Instance, ListProps, RefObject, ReplaceProps, ReplacePropsInner, SomeProps, SwitchProps, WC };
|
|
4772
4774
|
//# sourceMappingURL=index.d.ts.map
|