@spark-web/row 5.0.0-rc.24 → 5.0.0-rc.25
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,19 @@
|
|
|
1
1
|
# @spark-web/row
|
|
2
2
|
|
|
3
|
+
## 5.0.0-rc.25
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Implement checkbox tokens for test theme
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies []:
|
|
12
|
+
- @spark-web/divider@5.0.0-rc.25
|
|
13
|
+
- @spark-web/theme@5.0.0-rc.25
|
|
14
|
+
- @spark-web/utils@5.0.0-rc.25
|
|
15
|
+
- @spark-web/box@5.0.0-rc.25
|
|
16
|
+
|
|
3
17
|
## 5.0.0-rc.24
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -11,16 +11,16 @@ declare const alignYLookup: {
|
|
|
11
11
|
};
|
|
12
12
|
export declare type Align = keyof typeof alignLookup;
|
|
13
13
|
export declare type AlignY = keyof typeof alignYLookup;
|
|
14
|
-
export declare const alignToJustifyContent: (prop?: import("@spark-web/theme").ResponsiveProp<"
|
|
15
|
-
mobile: "center" | "
|
|
16
|
-
tablet: "center" | "
|
|
17
|
-
desktop: "center" | "
|
|
18
|
-
wide: "center" | "
|
|
14
|
+
export declare const alignToJustifyContent: (prop?: import("@spark-web/theme").ResponsiveProp<"center" | "left" | "right"> | undefined) => "center" | "end" | "start" | {
|
|
15
|
+
mobile: "center" | "end" | "start" | undefined;
|
|
16
|
+
tablet: "center" | "end" | "start" | undefined;
|
|
17
|
+
desktop: "center" | "end" | "start" | undefined;
|
|
18
|
+
wide: "center" | "end" | "start" | undefined;
|
|
19
19
|
} | undefined;
|
|
20
|
-
export declare const alignYToAlignItems: (prop?: import("@spark-web/theme").ResponsiveProp<"
|
|
21
|
-
mobile: "center" | "
|
|
22
|
-
tablet: "center" | "
|
|
23
|
-
desktop: "center" | "
|
|
24
|
-
wide: "center" | "
|
|
20
|
+
export declare const alignYToAlignItems: (prop?: import("@spark-web/theme").ResponsiveProp<"center" | "bottom" | "top" | "stretch"> | undefined) => "center" | "end" | "start" | "stretch" | {
|
|
21
|
+
mobile: "center" | "end" | "start" | "stretch" | undefined;
|
|
22
|
+
tablet: "center" | "end" | "start" | "stretch" | undefined;
|
|
23
|
+
desktop: "center" | "end" | "start" | "stretch" | undefined;
|
|
24
|
+
wide: "center" | "end" | "start" | "stretch" | undefined;
|
|
25
25
|
} | undefined;
|
|
26
26
|
export {};
|
|
@@ -16,12 +16,12 @@ export declare type RowProps = {
|
|
|
16
16
|
} & ValidBoxProps;
|
|
17
17
|
export declare const Row: <Comp extends import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> = "div">(props: {
|
|
18
18
|
as?: Comp | undefined;
|
|
19
|
-
ref?: import("react").Ref<Comp extends "symbol" | "
|
|
19
|
+
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;
|
|
20
20
|
} & Omit<import("react").PropsWithoutRef<import("react").ComponentProps<Comp>>, "as"> & {
|
|
21
21
|
/** Horizontally align items within the container. */
|
|
22
|
-
align?: ResponsiveProp<"
|
|
22
|
+
align?: ResponsiveProp<"center" | "left" | "right"> | undefined;
|
|
23
23
|
/** Vertically align items within the container. */
|
|
24
|
-
alignY?: ResponsiveProp<"
|
|
24
|
+
alignY?: ResponsiveProp<"center" | "bottom" | "top" | "stretch"> | undefined;
|
|
25
25
|
/** Sets data attributes for the element. */
|
|
26
26
|
data?: DataAttributeMap | undefined;
|
|
27
27
|
/** Place a divider between each element. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spark-web/row",
|
|
3
|
-
"version": "5.0.0-rc.
|
|
3
|
+
"version": "5.0.0-rc.25",
|
|
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.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"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/react": "^18.2.0",
|