@poveste/controls 0.15.0 → 0.16.1
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/HstColor-DHgxKTkm.es.js +2405 -0
- package/dist/HstDate-Ct5Jp_ZD.es.js +4954 -0
- package/dist/{HstJson-3DiXqRjL.es.js → HstJson-D83KEa9o.es.js} +2734 -2454
- package/dist/HstWrapper-Bm5H3_to.es.js +2835 -0
- package/dist/PopoverTrigger-BVAfE9fE.es.js +974 -0
- package/dist/VisuallyHiddenInput-0it-_FH2.es.js +183 -0
- package/dist/components/HstTooltip.vue.d.ts +39 -0
- package/dist/components/button/HstButton.vue.d.ts +2 -2
- package/dist/components/checkbox/CheckboxVisual.vue.d.ts +7 -0
- package/dist/components/color/HstColor.story.vue.d.ts +3 -0
- package/dist/components/color/HstColor.vue.d.ts +25 -0
- package/dist/components/date/HstDate.story.vue.d.ts +3 -0
- package/dist/components/date/HstDate.vue.d.ts +30 -0
- package/dist/components/date/iso.d.ts +5 -0
- package/dist/components/json/serialize.d.ts +7 -3
- package/dist/index.d.ts +295 -7
- package/dist/index.es.css +1 -1
- package/dist/index.es.js +2176 -412
- package/dist/portal-target.d.ts +13 -0
- package/dist/style-standalone.css +122 -449
- package/dist/useKbd-DQM4Oqri.es.js +41 -0
- package/dist/useLocale-Dr4PRYn1.es.js +27 -0
- package/package.json +20 -18
- package/dist/HstWrapper-C557fRoN.es.js +0 -22
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Where a popper mounts, answered by the document that asks.
|
|
3
|
+
*
|
|
4
|
+
* A control renders in two realms. The chrome wraps itself in `.poveste-app-root`.
|
|
5
|
+
* A story sandbox has no such element and tags its own `body` as the render root
|
|
6
|
+
* instead, which is what keeps a teleported popper inside the user-CSS `@scope`
|
|
7
|
+
* boundary — so `body` is the right answer there rather than a fallback.
|
|
8
|
+
*
|
|
9
|
+
* A fixed selector is what makes this worth a function: in the sandbox Teleport
|
|
10
|
+
* takes a null target and renders nothing, so the control opens onto an empty
|
|
11
|
+
* screen. In a production build Vue does not even warn.
|
|
12
|
+
*/
|
|
13
|
+
export declare function portalTarget(doc?: Document): HTMLElement;
|