@unhead/react 2.0.0-alpha.13 → 2.0.0-alpha.14
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.mts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/server.d.mts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/shared/{react.CaAmfJrQ.d.mts → react.Cz8ob63p.d.mts} +2 -2
- package/dist/shared/{react.CaAmfJrQ.d.ts → react.Cz8ob63p.d.ts} +2 -2
- package/dist/types.d.mts +2 -2
- package/dist/types.d.ts +2 -2
- package/package.json +2 -2
package/dist/client.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
import * as unhead_types from 'unhead/types';
|
|
4
4
|
import { MergeHead, CreateClientHeadOptions } from 'unhead/types';
|
|
5
5
|
export { renderDOMHead } from 'unhead/client';
|
|
6
|
-
import { R as ReactUnhead } from './shared/react.
|
|
6
|
+
import { R as ReactUnhead } from './shared/react.Cz8ob63p.mjs';
|
|
7
7
|
|
|
8
8
|
declare function createHead<T extends MergeHead>(options?: Omit<CreateClientHeadOptions, 'propResolvers'>): ReactUnhead<T>;
|
|
9
9
|
declare function UnheadProvider({ children, head }: {
|
package/dist/client.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
import * as unhead_types from 'unhead/types';
|
|
4
4
|
import { MergeHead, CreateClientHeadOptions } from 'unhead/types';
|
|
5
5
|
export { renderDOMHead } from 'unhead/client';
|
|
6
|
-
import { R as ReactUnhead } from './shared/react.
|
|
6
|
+
import { R as ReactUnhead } from './shared/react.Cz8ob63p.js';
|
|
7
7
|
|
|
8
8
|
declare function createHead<T extends MergeHead>(options?: Omit<CreateClientHeadOptions, 'propResolvers'>): ReactUnhead<T>;
|
|
9
9
|
declare function UnheadProvider({ children, head }: {
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import react__default, { ReactNode } from 'react';
|
|
2
2
|
import * as unhead_types from 'unhead/types';
|
|
3
3
|
import { MergeHead, HeadEntryOptions, ActiveHeadEntry, HeadSafe } from 'unhead/types';
|
|
4
|
-
import { U as UseHeadInput, a as UseSeoMetaInput } from './shared/react.
|
|
4
|
+
import { U as UseHeadInput, a as UseSeoMetaInput } from './shared/react.Cz8ob63p.mjs';
|
|
5
5
|
|
|
6
6
|
declare const hookImports: {
|
|
7
7
|
'@unhead/vue': string[];
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import react__default, { ReactNode } from 'react';
|
|
2
2
|
import * as unhead_types from 'unhead/types';
|
|
3
3
|
import { MergeHead, HeadEntryOptions, ActiveHeadEntry, HeadSafe } from 'unhead/types';
|
|
4
|
-
import { U as UseHeadInput, a as UseSeoMetaInput } from './shared/react.
|
|
4
|
+
import { U as UseHeadInput, a as UseSeoMetaInput } from './shared/react.Cz8ob63p.js';
|
|
5
5
|
|
|
6
6
|
declare const hookImports: {
|
|
7
7
|
'@unhead/vue': string[];
|
package/dist/server.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
import * as unhead_types from 'unhead/types';
|
|
4
4
|
import { MergeHead, CreateServerHeadOptions } from 'unhead/types';
|
|
5
5
|
export { SSRHeadPayload, extractUnheadInputFromHtml, renderSSRHead, transformHtmlTemplate } from 'unhead/server';
|
|
6
|
-
import { R as ReactUnhead } from './shared/react.
|
|
6
|
+
import { R as ReactUnhead } from './shared/react.Cz8ob63p.mjs';
|
|
7
7
|
|
|
8
8
|
declare function createHead<T extends MergeHead>(options?: Omit<CreateServerHeadOptions, 'propResolvers'>): ReactUnhead<T>;
|
|
9
9
|
declare function UnheadProvider({ children, value }: {
|
package/dist/server.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
import * as unhead_types from 'unhead/types';
|
|
4
4
|
import { MergeHead, CreateServerHeadOptions } from 'unhead/types';
|
|
5
5
|
export { SSRHeadPayload, extractUnheadInputFromHtml, renderSSRHead, transformHtmlTemplate } from 'unhead/server';
|
|
6
|
-
import { R as ReactUnhead } from './shared/react.
|
|
6
|
+
import { R as ReactUnhead } from './shared/react.Cz8ob63p.js';
|
|
7
7
|
|
|
8
8
|
declare function createHead<T extends MergeHead>(options?: Omit<CreateServerHeadOptions, 'propResolvers'>): ReactUnhead<T>;
|
|
9
9
|
declare function UnheadProvider({ children, value }: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RefObject } from 'react';
|
|
2
|
-
import { Falsey, BaseHtmlAttr, MaybeArray, BaseBodyAttr,
|
|
2
|
+
import { Falsey, BaseHtmlAttr, MaybeArray, BaseBodyAttr, SchemaAugmentations, TitleTemplate as TitleTemplate$1, EntryAugmentation, Base as Base$1, DefinedValueOrEmptyObject, LinkBase, DataKeys, MaybeEventFnHandlers, HttpEventAttributes, BaseMeta, Style as Style$1, ScriptBase, Noscript as Noscript$1, BodyEvents, MergeHead, MetaFlatInput, HeadEntryOptions, Unhead } from 'unhead/types';
|
|
3
3
|
|
|
4
4
|
type MaybeComputedRef<T> = T | (() => T) | RefObject<T>;
|
|
5
5
|
type ResolvableArray<T> = MaybeComputedRef<MaybeComputedRef<T>[]>;
|
|
@@ -29,7 +29,7 @@ interface BodyAttr extends Omit<BaseBodyAttr, 'class' | 'style'> {
|
|
|
29
29
|
*/
|
|
30
30
|
style?: MaybeArray<MaybeComputedRef<string>> | Record<string, MaybeComputedRef<string | boolean>>;
|
|
31
31
|
}
|
|
32
|
-
type Title = MaybeComputedRef<number | string | Falsey> |
|
|
32
|
+
type Title = MaybeComputedRef<number | string | Falsey> | ResolvableProperties<({
|
|
33
33
|
textContent: string;
|
|
34
34
|
} & SchemaAugmentations['title'])>;
|
|
35
35
|
type TitleTemplate = TitleTemplate$1 | RefObject<TitleTemplate$1> | ((title?: string) => TitleTemplate$1);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RefObject } from 'react';
|
|
2
|
-
import { Falsey, BaseHtmlAttr, MaybeArray, BaseBodyAttr,
|
|
2
|
+
import { Falsey, BaseHtmlAttr, MaybeArray, BaseBodyAttr, SchemaAugmentations, TitleTemplate as TitleTemplate$1, EntryAugmentation, Base as Base$1, DefinedValueOrEmptyObject, LinkBase, DataKeys, MaybeEventFnHandlers, HttpEventAttributes, BaseMeta, Style as Style$1, ScriptBase, Noscript as Noscript$1, BodyEvents, MergeHead, MetaFlatInput, HeadEntryOptions, Unhead } from 'unhead/types';
|
|
3
3
|
|
|
4
4
|
type MaybeComputedRef<T> = T | (() => T) | RefObject<T>;
|
|
5
5
|
type ResolvableArray<T> = MaybeComputedRef<MaybeComputedRef<T>[]>;
|
|
@@ -29,7 +29,7 @@ interface BodyAttr extends Omit<BaseBodyAttr, 'class' | 'style'> {
|
|
|
29
29
|
*/
|
|
30
30
|
style?: MaybeArray<MaybeComputedRef<string>> | Record<string, MaybeComputedRef<string | boolean>>;
|
|
31
31
|
}
|
|
32
|
-
type Title = MaybeComputedRef<number | string | Falsey> |
|
|
32
|
+
type Title = MaybeComputedRef<number | string | Falsey> | ResolvableProperties<({
|
|
33
33
|
textContent: string;
|
|
34
34
|
} & SchemaAugmentations['title'])>;
|
|
35
35
|
type TitleTemplate = TitleTemplate$1 | RefObject<TitleTemplate$1> | ((title?: string) => TitleTemplate$1);
|
package/dist/types.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SafeMeta, SafeLink, SafeNoscript, SafeScript, SafeHtmlAttr, SafeBodyAttr } from 'unhead/types';
|
|
2
2
|
export { ActiveHeadEntry, Head, HeadEntryOptions, HeadTag, MergeHead, ResolvedHead, Unhead } from 'unhead/types';
|
|
3
|
-
import { b as ReactiveHead, c as ResolvableArray, M as MaybeComputedRef } from './shared/react.
|
|
4
|
-
export { e as Base, B as BodyAttr, i as BodyAttributes, H as HtmlAttr, h as HtmlAttributes, L as Link, f as Meta, N as Noscript, R as ReactUnhead, k as ResolvableProperties, g as Script, S as Style, T as Title, d as TitleTemplate, U as UseHeadInput, j as UseHeadOptions, a as UseSeoMetaInput } from './shared/react.
|
|
3
|
+
import { b as ReactiveHead, c as ResolvableArray, M as MaybeComputedRef } from './shared/react.Cz8ob63p.mjs';
|
|
4
|
+
export { e as Base, B as BodyAttr, i as BodyAttributes, H as HtmlAttr, h as HtmlAttributes, L as Link, f as Meta, N as Noscript, R as ReactUnhead, k as ResolvableProperties, g as Script, S as Style, T as Title, d as TitleTemplate, U as UseHeadInput, j as UseHeadOptions, a as UseSeoMetaInput } from './shared/react.Cz8ob63p.mjs';
|
|
5
5
|
import 'react';
|
|
6
6
|
|
|
7
7
|
interface HeadSafe extends Pick<ReactiveHead, 'title' | 'titleTemplate' | 'templateParams'> {
|
package/dist/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SafeMeta, SafeLink, SafeNoscript, SafeScript, SafeHtmlAttr, SafeBodyAttr } from 'unhead/types';
|
|
2
2
|
export { ActiveHeadEntry, Head, HeadEntryOptions, HeadTag, MergeHead, ResolvedHead, Unhead } from 'unhead/types';
|
|
3
|
-
import { b as ReactiveHead, c as ResolvableArray, M as MaybeComputedRef } from './shared/react.
|
|
4
|
-
export { e as Base, B as BodyAttr, i as BodyAttributes, H as HtmlAttr, h as HtmlAttributes, L as Link, f as Meta, N as Noscript, R as ReactUnhead, k as ResolvableProperties, g as Script, S as Style, T as Title, d as TitleTemplate, U as UseHeadInput, j as UseHeadOptions, a as UseSeoMetaInput } from './shared/react.
|
|
3
|
+
import { b as ReactiveHead, c as ResolvableArray, M as MaybeComputedRef } from './shared/react.Cz8ob63p.js';
|
|
4
|
+
export { e as Base, B as BodyAttr, i as BodyAttributes, H as HtmlAttr, h as HtmlAttributes, L as Link, f as Meta, N as Noscript, R as ReactUnhead, k as ResolvableProperties, g as Script, S as Style, T as Title, d as TitleTemplate, U as UseHeadInput, j as UseHeadOptions, a as UseSeoMetaInput } from './shared/react.Cz8ob63p.js';
|
|
5
5
|
import 'react';
|
|
6
6
|
|
|
7
7
|
interface HeadSafe extends Pick<ReactiveHead, 'title' | 'titleTemplate' | 'templateParams'> {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unhead/react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.0-alpha.
|
|
4
|
+
"version": "2.0.0-alpha.14",
|
|
5
5
|
"author": "Harlan Wilton <harlan@harlanzw.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"funding": "https://github.com/sponsors/harlan-zw",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
]
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"unhead": "2.0.0-alpha.
|
|
67
|
+
"unhead": "2.0.0-alpha.14"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@testing-library/react": "^16.2.0",
|