@spark-web/stack 5.0.0-rc.25 → 5.0.0-rc.27

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,34 @@
1
1
  # @spark-web/stack
2
2
 
3
+ ## 5.0.0-rc.27
4
+
5
+ ### Minor Changes
6
+
7
+ - Remove theme prop in button link
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies []:
12
+ - @spark-web/divider@5.0.0-rc.27
13
+ - @spark-web/theme@5.0.0-rc.27
14
+ - @spark-web/utils@5.0.0-rc.27
15
+ - @spark-web/box@5.0.0-rc.27
16
+
17
+ ## 5.0.0-rc.26
18
+
19
+ ### Minor Changes
20
+
21
+ - Roll back on using theme prop for component level theming; prefer using
22
+ ThemeProvider in applications instead
23
+
24
+ ### Patch Changes
25
+
26
+ - Updated dependencies []:
27
+ - @spark-web/divider@5.0.0-rc.26
28
+ - @spark-web/theme@5.0.0-rc.26
29
+ - @spark-web/utils@5.0.0-rc.26
30
+ - @spark-web/box@5.0.0-rc.26
31
+
3
32
  ## 5.0.0-rc.25
4
33
 
5
34
  ### 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" | "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;
8
+ export declare const alignToAlignItems: (prop?: import("@spark-web/theme").ResponsiveProp<"left" | "right" | "center" | "stretch"> | undefined) => "center" | "start" | "end" | "stretch" | {
9
+ mobile: "center" | "start" | "end" | "stretch" | undefined;
10
+ tablet: "center" | "start" | "end" | "stretch" | undefined;
11
+ desktop: "center" | "start" | "end" | "stretch" | undefined;
12
+ wide: "center" | "start" | "end" | "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" | "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;
14
+ 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;
15
15
  } & Omit<import("react").PropsWithoutRef<import("react").ComponentProps<Comp>>, "as"> & {
16
16
  /** Horizontally align items within the stack. */
17
- align?: ResponsiveProp<"center" | "left" | "right" | "stretch"> | undefined;
17
+ align?: ResponsiveProp<"left" | "right" | "center" | "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.25",
3
+ "version": "5.0.0-rc.27",
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.25",
21
- "@spark-web/divider": "^5.0.0-rc.25",
22
- "@spark-web/theme": "^5.0.0-rc.25",
23
- "@spark-web/utils": "^5.0.0-rc.25"
20
+ "@spark-web/box": "^5.0.0-rc.27",
21
+ "@spark-web/divider": "^5.0.0-rc.27",
22
+ "@spark-web/theme": "^5.0.0-rc.27",
23
+ "@spark-web/utils": "^5.0.0-rc.27"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/react": "^18.2.0",