@spark-web/box
Advanced tools
+20
-0
| # @spark-web/box | ||
| ## 5.2.2 | ||
| ### Patch Changes | ||
| - [#698](https://github.com/brighte-labs/spark-web/pull/698) | ||
| [`814b373`](https://github.com/brighte-labs/spark-web/commit/814b373cbe9fcf0757738c78eef6b516624df62c) | ||
| Thanks [@michtntbrighte](https://github.com/michtntbrighte)! - Bump version | ||
| - Updated dependencies | ||
| [[`814b373`](https://github.com/brighte-labs/spark-web/commit/814b373cbe9fcf0757738c78eef6b516624df62c)]: | ||
| - @spark-web/theme@5.12.1 | ||
| ## 5.2.1 | ||
| ### Patch Changes | ||
| - Updated dependencies | ||
| [[`1995db7`](https://github.com/brighte-labs/spark-web/commit/1995db7f4342803732c7648ab3ca6d32442cc347)]: | ||
| - @spark-web/theme@5.12.0 | ||
| ## 5.2.0 | ||
@@ -4,0 +24,0 @@ |
@@ -25,3 +25,3 @@ /** @jsxImportSource @emotion/react */ | ||
| 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"> & { | ||
@@ -47,5 +47,5 @@ /** Children element to be rendered inside the component. */ | ||
| minWidth?: 0 | undefined; | ||
| overflow?: "auto" | "hidden" | "scroll" | "visible" | undefined; | ||
| overflow?: "hidden" | "scroll" | "auto" | "visible" | undefined; | ||
| shadow?: string | null | undefined; | ||
| userSelect?: "none" | undefined; | ||
| } & import("./use-box-styles.js").ResponsiveBoxProps) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>; |
@@ -140,3 +140,3 @@ import type { ResponsiveProp, SparkTheme } from '@spark-web/theme'; | ||
| */ | ||
| top?: ResponsiveProp<0>; | ||
| top?: ResponsiveProp<number>; | ||
| /** | ||
@@ -146,3 +146,3 @@ * The `right` property participates in specifying the horizontal position of | ||
| */ | ||
| right?: ResponsiveProp<0>; | ||
| right?: ResponsiveProp<number>; | ||
| /** | ||
@@ -152,3 +152,3 @@ * The `bottom` property participates in setting the vertical position of a | ||
| */ | ||
| bottom?: ResponsiveProp<0>; | ||
| bottom?: ResponsiveProp<number>; | ||
| /** | ||
@@ -158,3 +158,3 @@ * The `left` property participates in specifying the horizontal position of a | ||
| */ | ||
| left?: ResponsiveProp<0>; | ||
| left?: ResponsiveProp<number>; | ||
| /** | ||
@@ -161,0 +161,0 @@ * The `zIndex` property sets the "z-order" of a positioned element and its |
+3
-3
| { | ||
| "name": "@spark-web/box", | ||
| "version": "5.2.0", | ||
| "version": "5.2.2", | ||
| "homepage": "https://github.com/brighte-labs/spark-web#readme", | ||
@@ -23,3 +23,3 @@ "repository": { | ||
| "devDependencies": { | ||
| "@spark-web/theme": "^5.10.0", | ||
| "@spark-web/theme": "^5.12.1", | ||
| "@types/react": "^18.2.0", | ||
@@ -29,3 +29,3 @@ "react": "^18.2.0" | ||
| "peerDependencies": { | ||
| "@spark-web/theme": "^5.10.0", | ||
| "@spark-web/theme": "^5.12.1", | ||
| "react": ">=17.0.2" | ||
@@ -32,0 +32,0 @@ }, |
77755
0.83%