@seahax/elemental 0.5.20 → 0.5.21
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/hooks/useShadow.js +9 -0
- package/dist/hooks/useShadow.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -2
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useShadow.js","names":[],"sources":["../../src/hooks/useShadow.ts"],"sourcesContent":["import { useInternalController } from './useInternalController.ts';\n\nexport function useShadow(): ShadowRoot {\n return useInternalController().shadow;\n}\n"],"mappings":";;AAEA,SAAgB,IAAwB;AACtC,QAAO,GAAuB,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export * from './hooks/useHost.ts';
|
|
|
14
14
|
export * from './hooks/useParent.ts';
|
|
15
15
|
export * from './hooks/useRef.ts';
|
|
16
16
|
export * from './hooks/useRoute.ts';
|
|
17
|
+
export * from './hooks/useShadow.ts';
|
|
17
18
|
export * from './hooks/useStore.ts';
|
|
18
19
|
export * from './html.ts';
|
|
19
20
|
export { html as h } from './html.ts';
|
package/dist/index.js
CHANGED
|
@@ -15,5 +15,6 @@ import { useForm as p, useFormDisabled as m, useFormResetCallback as h, useFormR
|
|
|
15
15
|
import { useParent as _ } from "./hooks/useParent.js";
|
|
16
16
|
import { useStore as v } from "./hooks/useStore.js";
|
|
17
17
|
import { useRoute as y } from "./hooks/useRoute.js";
|
|
18
|
-
import {
|
|
19
|
-
|
|
18
|
+
import { useShadow as b } from "./hooks/useShadow.js";
|
|
19
|
+
import { html as x } from "./html.js";
|
|
20
|
+
export { e as classes, t as createStore, r as defineComponent, i as extendComponentDefinition, x as h, x as html, s as useAsync, l as useAttributes, u as useChildEffect, a as useDisconnectCallback, d as useDocument, o as useEffect, f as useElementInternals, p as useForm, m as useFormDisabled, h as useFormResetCallback, g as useFormRestoreCallback, c as useHost, _ as useParent, n as useRef, y as useRoute, b as useShadow, v as useStore };
|
package/package.json
CHANGED