@unhead/vue 1.1.29 → 1.1.30
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.
|
@@ -37,7 +37,7 @@ type HtmlAttributes<E extends EntryAugmentation = {}> = MaybeComputedRef<MaybeCo
|
|
|
37
37
|
type BodyAttributes<E extends EntryAugmentation = {}> = MaybeComputedRef<MaybeComputedRefEntries<BodyAttr & DataKeys & SchemaAugmentations['bodyAttrs'] & DefinedValueOrEmptyObject<E>> & MaybeFunctionEntries<BodyEvents>>;
|
|
38
38
|
interface ReactiveHead<E extends MergeHead = MergeHead> {
|
|
39
39
|
/**
|
|
40
|
-
* The
|
|
40
|
+
* The `<title>` HTML element defines the document's title that is shown in a browser's title bar or a page's tab.
|
|
41
41
|
* It only contains text; tags within the element are ignored.
|
|
42
42
|
*
|
|
43
43
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title
|
|
@@ -52,14 +52,14 @@ interface ReactiveHead<E extends MergeHead = MergeHead> {
|
|
|
52
52
|
*/
|
|
53
53
|
templateParams?: MaybeComputedRefEntries<Record<string, null | string | MaybeComputedRefEntries<Record<string, null | string>>>>;
|
|
54
54
|
/**
|
|
55
|
-
* The
|
|
55
|
+
* The `<base>` HTML element specifies the base URL to use for all relative URLs in a document.
|
|
56
56
|
* There can be only one <base> element in a document.
|
|
57
57
|
*
|
|
58
58
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
|
|
59
59
|
*/
|
|
60
60
|
base?: Base<E['base']>;
|
|
61
61
|
/**
|
|
62
|
-
* The
|
|
62
|
+
* The `<link>` HTML element specifies relationships between the current document and an external resource.
|
|
63
63
|
* This element is most commonly used to link to stylesheets, but is also used to establish site icons
|
|
64
64
|
* (both "favicon" style icons and icons for the home screen and apps on mobile devices) among other things.
|
|
65
65
|
*
|
|
@@ -67,39 +67,39 @@ interface ReactiveHead<E extends MergeHead = MergeHead> {
|
|
|
67
67
|
*/
|
|
68
68
|
link?: MaybeComputedRef<Link<E['link']>[]>;
|
|
69
69
|
/**
|
|
70
|
-
* The
|
|
70
|
+
* The `<meta>` element represents metadata that cannot be expressed in other HTML elements, like `<link>` or `<script>`.
|
|
71
71
|
*
|
|
72
72
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
|
|
73
73
|
*/
|
|
74
74
|
meta?: MaybeComputedRef<Meta<E['meta']>[]>;
|
|
75
75
|
/**
|
|
76
|
-
* The
|
|
77
|
-
* It contains CSS, which is applied to the contents of the document containing the
|
|
76
|
+
* The `<style>` HTML element contains style information for a document, or part of a document.
|
|
77
|
+
* It contains CSS, which is applied to the contents of the document containing the `<style>` element.
|
|
78
78
|
*
|
|
79
79
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style
|
|
80
80
|
*/
|
|
81
81
|
style?: MaybeComputedRef<(Style<E['style']> | string)[]>;
|
|
82
82
|
/**
|
|
83
|
-
* The
|
|
83
|
+
* The `<script>` HTML element is used to embed executable code or data; this is typically used to embed or refer to JavaScript code.
|
|
84
84
|
*
|
|
85
85
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script
|
|
86
86
|
*/
|
|
87
87
|
script?: MaybeComputedRef<(Script<E['script']> | string)[]>;
|
|
88
88
|
/**
|
|
89
|
-
* The
|
|
89
|
+
* The `<noscript>` HTML element defines a section of HTML to be inserted if a script type on the page is unsupported
|
|
90
90
|
* or if scripting is currently turned off in the browser.
|
|
91
91
|
*
|
|
92
92
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noscript
|
|
93
93
|
*/
|
|
94
94
|
noscript?: MaybeComputedRef<(Noscript<E['noscript']> | string)[]>;
|
|
95
95
|
/**
|
|
96
|
-
* Attributes for the
|
|
96
|
+
* Attributes for the `<html>` HTML element.
|
|
97
97
|
*
|
|
98
98
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/html
|
|
99
99
|
*/
|
|
100
100
|
htmlAttrs?: HtmlAttributes<E['htmlAttrs']>;
|
|
101
101
|
/**
|
|
102
|
-
* Attributes for the
|
|
102
|
+
* Attributes for the `<body>` HTML element.
|
|
103
103
|
*
|
|
104
104
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body
|
|
105
105
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { createHeadCore } from 'unhead';
|
|
2
|
-
import { R as ReactiveHead, M as MaybeComputedRefEntries, a as MaybeComputedRef, U as UseHeadInput, A as Arrayable, b as Meta, L as Link, S as Script, c as Style, N as Noscript } from './createHead-
|
|
3
|
-
export { e as Base, B as BodyAttr, g as BodyAttributes, H as HtmlAttr, f as HtmlAttributes, i as MaybeComputedRefOrPromise, h as MaybeReadonlyRef, T as Title, d as TitleTemplate, V as VueHeadClient, m as createHead, l as createServerHead, j as headSymbol, k as injectHead } from './createHead-
|
|
2
|
+
import { R as ReactiveHead, M as MaybeComputedRefEntries, a as MaybeComputedRef, U as UseHeadInput, A as Arrayable, b as Meta, L as Link, S as Script, c as Style, N as Noscript } from './createHead-197548ae.js';
|
|
3
|
+
export { e as Base, B as BodyAttr, g as BodyAttributes, H as HtmlAttr, f as HtmlAttributes, i as MaybeComputedRefOrPromise, h as MaybeReadonlyRef, T as Title, d as TitleTemplate, V as VueHeadClient, m as createHead, l as createServerHead, j as headSymbol, k as injectHead } from './createHead-197548ae.js';
|
|
4
4
|
import * as _unhead_schema from '@unhead/schema';
|
|
5
5
|
import { SafeMeta, SafeLink, SafeNoscript, SafeScript, SafeHtmlAttr, SafeBodyAttr, MergeHead, HeadEntryOptions, ActiveHeadEntry, MetaFlatInput } from '@unhead/schema';
|
|
6
6
|
export { ActiveHeadEntry, Head, HeadEntryOptions, HeadTag, MergeHead, Unhead } from '@unhead/schema';
|
package/dist/polyfill.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MergeHead, HeadEntryOptions } from '@unhead/schema';
|
|
2
|
-
import { V as VueHeadClient, U as UseHeadInput } from './createHead-
|
|
2
|
+
import { V as VueHeadClient, U as UseHeadInput } from './createHead-197548ae.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
|
|
5
5
|
type VueHeadClientPollyFill<T extends MergeHead> = VueHeadClient<T> & {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unhead/vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.30",
|
|
5
5
|
"packageManager": "pnpm@8.6.2",
|
|
6
6
|
"author": "Harlan Wilton <harlan@harlanzw.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"hookable": "^5.5.3",
|
|
42
|
-
"@unhead/schema": "1.1.
|
|
43
|
-
"@unhead/shared": "1.1.
|
|
44
|
-
"unhead": "1.1.
|
|
42
|
+
"@unhead/schema": "1.1.30",
|
|
43
|
+
"@unhead/shared": "1.1.30",
|
|
44
|
+
"unhead": "1.1.30"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"vue": "^3.3.4"
|