@jsxstyle/react
Advanced tools
Comparing version 0.0.0-canary-20241221205438 to 0.0.0-canary-20241222054518
@@ -7,2 +7,3 @@ import { componentStyles, cacheSingleton, } from '@jsxstyle/core'; | ||
const defaultProps = componentStyles[displayName]; | ||
// biome-ignore lint/style/noNonNullAssertion: we know it's set | ||
return { | ||
@@ -9,0 +10,0 @@ // this sets Function.name |
@@ -6,3 +6,3 @@ import { cacheSingleton } from '@jsxstyle/core'; | ||
export { useMatchMedia } from './useMatchMedia.js'; | ||
export declare const makeCustomProperties: <KPropKeys extends string>(props: Record<KPropKeys, string | number>) => import("@jsxstyle/core").MakeCustomPropertiesFunction<KPropKeys, "default">; | ||
export declare const makeCustomProperties: <TCustomProps extends import("@jsxstyle/core").CustomPropsObject>(props: TCustomProps) => import("@jsxstyle/core").MakeCustomPropertiesFunction<never, TCustomProps>; | ||
export declare const css: (...params: Array<import("@jsxstyle/core").JsxstyleComponentStyleProps | string | null | undefined | false>) => string; | ||
@@ -9,0 +9,0 @@ export declare const Box: <T extends import("./types.js").ValidComponentPropValue = "div">(props: import("./types.js").JsxstyleProps<T>) => React.ReactElement; |
{ | ||
"name": "@jsxstyle/react", | ||
"version": "0.0.0-canary-20241221205438", | ||
"version": "0.0.0-canary-20241222054518", | ||
"type": "module", | ||
@@ -12,3 +12,3 @@ "files": [ | ||
"peerDependencies": { | ||
"@jsxstyle/core": "0.0.0-canary-20241221205438", | ||
"@jsxstyle/core": "0.0.0-canary-20241222054518", | ||
"@types/react": "^18.0.0 || ^19.0.0", | ||
@@ -15,0 +15,0 @@ "react": "^18.0.0 || ^19.0.0" |
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
13006
106