@shopify/react-html
Advanced tools
Comparing version 11.1.15 to 11.1.16-export-beta.0
@@ -1,6 +0,5 @@ | ||
import { FirstArgument } from '@shopify/useful-types'; | ||
import { useBodyAttributes } from '../hooks'; | ||
declare type Props = FirstArgument<typeof useBodyAttributes>; | ||
declare type Props = Parameters<typeof useBodyAttributes>[0]; | ||
export declare function BodyAttributes(props: Props): null; | ||
export {}; | ||
//# sourceMappingURL=BodyAttributes.d.ts.map |
@@ -1,6 +0,5 @@ | ||
import { FirstArgument } from '@shopify/useful-types'; | ||
import { useHtmlAttributes } from '../hooks'; | ||
declare type Props = FirstArgument<typeof useHtmlAttributes>; | ||
declare type Props = Parameters<typeof useHtmlAttributes>[0]; | ||
export declare function HtmlAttributes(props: Props): null; | ||
export {}; | ||
//# sourceMappingURL=HtmlAttributes.d.ts.map |
/// <reference types="react" /> | ||
import { FirstArgument } from '@shopify/useful-types'; | ||
import { HtmlManager } from './manager'; | ||
@@ -12,6 +11,6 @@ export declare function useDomEffect(perform: (manager: HtmlManager) => () => void, inputs?: unknown[]): void; | ||
export declare function useLocale(locale: string): void; | ||
export declare function useHtmlAttributes(htmlAttributes: FirstArgument<HtmlManager['addHtmlAttributes']>): void; | ||
export declare function useBodyAttributes(bodyAttributes: FirstArgument<HtmlManager['addBodyAttributes']>): void; | ||
export declare function useHtmlAttributes(htmlAttributes: Parameters<HtmlManager['addHtmlAttributes']>[0]): void; | ||
export declare function useBodyAttributes(bodyAttributes: Parameters<HtmlManager['addBodyAttributes']>[0]): void; | ||
export declare function useClientDomEffect(perform: (manager: HtmlManager) => () => void, inputs?: unknown[]): void; | ||
export declare function useServerDomEffect(perform: (manager: HtmlManager) => () => void): void; | ||
//# sourceMappingURL=hooks.d.ts.map |
{ | ||
"name": "@shopify/react-html", | ||
"version": "11.1.15", | ||
"version": "11.1.16-export-beta.0", | ||
"license": "MIT", | ||
@@ -33,5 +33,4 @@ "description": "A component to render your React app with no static HTML", | ||
"dependencies": { | ||
"@shopify/react-effect": "^4.1.9", | ||
"@shopify/react-hydrate": "^2.1.14", | ||
"@shopify/useful-types": "^3.1.0", | ||
"@shopify/react-effect": "^4.1.9-export-beta.0", | ||
"@shopify/react-hydrate": "^2.1.15-export-beta.0", | ||
"@types/multistream": "^2.1.1", | ||
@@ -46,4 +45,4 @@ "multistream": "^2.1.1", | ||
"devDependencies": { | ||
"@shopify/react-testing": "^3.3.4", | ||
"@shopify/with-env": "^2.0.6" | ||
"@shopify/react-testing": "^3.3.5-export-beta.0", | ||
"@shopify/with-env": "^2.0.6-export-beta.0" | ||
}, | ||
@@ -65,3 +64,7 @@ "sideEffects": false, | ||
"exports": { | ||
"./": "./", | ||
"./server": { | ||
"esnext": "./server.esnext", | ||
"import": "./server.mjs", | ||
"require": "./server.js" | ||
}, | ||
".": { | ||
@@ -72,9 +75,5 @@ "esnext": "./index.esnext", | ||
}, | ||
"./server": { | ||
"esnext": "./server.esnext", | ||
"import": "./server.mjs", | ||
"require": "./server.js" | ||
} | ||
"./*": "./" | ||
}, | ||
"gitHead": "330b095ff92c3538d5c21efcbf70d72ec2ecb9c6" | ||
"gitHead": "69db61b7221ba3bf80918a5b7b15ec8f31ce99ed" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
7
118820
1867
1
- Removed@shopify/useful-types@^3.1.0
- Removed@shopify/useful-types@3.1.0(transitive)