@spark-web/stack 5.0.0-rc.29 → 5.0.0-rc.31
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @spark-web/stack
|
|
2
2
|
|
|
3
|
+
## 5.0.0-rc.31
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fix type-related issues
|
|
8
|
+
|
|
9
|
+
- Updated dependencies []:
|
|
10
|
+
- @spark-web/divider@5.0.0-rc.31
|
|
11
|
+
- @spark-web/theme@5.0.0-rc.31
|
|
12
|
+
- @spark-web/utils@5.0.0-rc.31
|
|
13
|
+
- @spark-web/box@5.0.0-rc.31
|
|
14
|
+
|
|
15
|
+
## 5.0.0-rc.30
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- Adopt latest changes from stable main branch
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies []:
|
|
24
|
+
- @spark-web/divider@5.0.0-rc.30
|
|
25
|
+
- @spark-web/theme@5.0.0-rc.30
|
|
26
|
+
- @spark-web/utils@5.0.0-rc.30
|
|
27
|
+
- @spark-web/box@5.0.0-rc.30
|
|
28
|
+
|
|
3
29
|
## 5.0.0-rc.29
|
|
4
30
|
|
|
5
31
|
### Minor Changes
|
|
@@ -5,10 +5,10 @@ declare const alignLookup: {
|
|
|
5
5
|
readonly stretch: "stretch";
|
|
6
6
|
};
|
|
7
7
|
export declare type Align = keyof typeof alignLookup;
|
|
8
|
-
export declare const alignToAlignItems: (prop?: import("@spark-web/theme").ResponsiveProp<"center" | "
|
|
9
|
-
mobile: "center" | "
|
|
10
|
-
tablet: "center" | "
|
|
11
|
-
desktop: "center" | "
|
|
12
|
-
wide: "center" | "
|
|
8
|
+
export declare const alignToAlignItems: (prop?: import("@spark-web/theme").ResponsiveProp<"center" | "left" | "right" | "stretch"> | undefined) => "center" | "end" | "start" | "stretch" | {
|
|
9
|
+
mobile: "center" | "end" | "start" | "stretch" | undefined;
|
|
10
|
+
tablet: "center" | "end" | "start" | "stretch" | undefined;
|
|
11
|
+
desktop: "center" | "end" | "start" | "stretch" | undefined;
|
|
12
|
+
wide: "center" | "end" | "start" | "stretch" | undefined;
|
|
13
13
|
} | undefined;
|
|
14
14
|
export {};
|
|
@@ -11,10 +11,10 @@ export declare type StackProps = {
|
|
|
11
11
|
} & ValidBoxProps;
|
|
12
12
|
export declare const Stack: <Comp extends import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> = "div">(props: {
|
|
13
13
|
as?: Comp | undefined;
|
|
14
|
-
ref?: import("react").Ref<Comp extends "symbol" | "
|
|
14
|
+
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;
|
|
15
15
|
} & Omit<import("react").PropsWithoutRef<import("react").ComponentProps<Comp>>, "as"> & {
|
|
16
16
|
/** Horizontally align items within the stack. */
|
|
17
|
-
align?: ResponsiveProp<"center" | "
|
|
17
|
+
align?: ResponsiveProp<"center" | "left" | "right" | "stretch"> | undefined;
|
|
18
18
|
/** Place a divider between each element. */
|
|
19
19
|
dividers?: boolean | undefined;
|
|
20
20
|
} & ValidBoxProps) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spark-web/stack",
|
|
3
|
-
"version": "5.0.0-rc.
|
|
3
|
+
"version": "5.0.0-rc.31",
|
|
4
4
|
"homepage": "https://github.com/brighte-labs/spark-web#readme",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@babel/runtime": "^7.25.0",
|
|
19
19
|
"@emotion/react": "^11.14.0",
|
|
20
|
-
"@spark-web/box": "^5.0.0-rc.
|
|
21
|
-
"@spark-web/divider": "^5.0.0-rc.
|
|
22
|
-
"@spark-web/theme": "^5.0.0-rc.
|
|
23
|
-
"@spark-web/utils": "^5.0.0-rc.
|
|
20
|
+
"@spark-web/box": "^5.0.0-rc.31",
|
|
21
|
+
"@spark-web/divider": "^5.0.0-rc.31",
|
|
22
|
+
"@spark-web/theme": "^5.0.0-rc.31",
|
|
23
|
+
"@spark-web/utils": "^5.0.0-rc.31"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/react": "^18.2.0",
|