@spark-web/text
Advanced tools
Comparing version 5.0.0-rc.24 to 5.0.0-rc.25
# @spark-web/text | ||
## 5.0.0-rc.25 | ||
### Minor Changes | ||
- Implement checkbox tokens for test theme | ||
### Patch Changes | ||
- Updated dependencies []: | ||
- @spark-web/theme@5.0.0-rc.25 | ||
- @spark-web/utils@5.0.0-rc.25 | ||
- @spark-web/box@5.0.0-rc.25 | ||
## 5.0.0-rc.24 | ||
@@ -4,0 +17,0 @@ |
/// <reference types="react" /> | ||
export declare const TextContext: import("react").Context<{ | ||
size: import("@spark-web/theme/src/themes/types").TypographySizing; | ||
size: import("@spark-web/theme/src/themes/_types/typography").TypographySizing; | ||
tone: string | number; | ||
@@ -8,5 +8,5 @@ weight: "regular" | "semibold"; | ||
export declare function useTextContext(): { | ||
size: import("@spark-web/theme/src/themes/types").TypographySizing; | ||
size: import("@spark-web/theme/src/themes/_types/typography").TypographySizing; | ||
tone: string | number; | ||
weight: "regular" | "semibold"; | ||
} | undefined; |
@@ -12,3 +12,3 @@ import type { ReactNode } from 'react'; | ||
export declare const useDefaultTextProps: ({ size: sizeProp, tone: toneProp, weight: weightProp, }: DefaultTextProps) => { | ||
size: import("@spark-web/theme/src/themes/types").TypographySizing; | ||
size: import("@spark-web/theme/src/themes/_types/typography").TypographySizing; | ||
tone: string | number; | ||
@@ -15,0 +15,0 @@ weight: "regular" | "semibold"; |
@@ -33,4 +33,4 @@ import type { BoxProps } from '@spark-web/box'; | ||
as?: Comp | undefined; | ||
ref?: import("react").Ref<Comp extends "symbol" | "clipPath" | "filter" | "mask" | "marker" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | keyof HTMLElementTagNameMap ? (HTMLElementTagNameMap & Pick<SVGElementTagNameMap, "symbol" | "clipPath" | "filter" | "mask" | "marker" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view">)[Comp] : Comp extends new (...args: any) => any ? InstanceType<Comp> : undefined> | undefined; | ||
ref?: import("react").Ref<Comp extends "symbol" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | keyof HTMLElementTagNameMap ? (HTMLElementTagNameMap & Pick<SVGElementTagNameMap, "symbol" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view">)[Comp] : Comp extends new (...args: any) => any ? InstanceType<Comp> : undefined> | undefined; | ||
} & Omit<import("react").PropsWithoutRef<import("react").ComponentProps<Comp>>, "as"> & TextProps) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>; | ||
export {}; |
{ | ||
"name": "@spark-web/text", | ||
"version": "5.0.0-rc.24", | ||
"version": "5.0.0-rc.25", | ||
"homepage": "https://github.com/brighte-labs/spark-web#readme", | ||
@@ -20,5 +20,5 @@ "repository": { | ||
"@emotion/react": "^11.14.0", | ||
"@spark-web/box": "^5.0.0-rc.24", | ||
"@spark-web/theme": "^5.0.0-rc.24", | ||
"@spark-web/utils": "^5.0.0-rc.24" | ||
"@spark-web/box": "^5.0.0-rc.25", | ||
"@spark-web/theme": "^5.0.0-rc.25", | ||
"@spark-web/utils": "^5.0.0-rc.25" | ||
}, | ||
@@ -25,0 +25,0 @@ "devDependencies": { |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
49357
0