@spark-web/columns 3.0.0-rc.9 → 5.0.0-rc.24
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,174 @@
|
|
|
1
1
|
# @spark-web/columns
|
|
2
2
|
|
|
3
|
+
## 5.0.0-rc.24
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Resolve issues with package build output
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies []:
|
|
12
|
+
- @spark-web/theme@5.0.0-rc.24
|
|
13
|
+
- @spark-web/utils@5.0.0-rc.24
|
|
14
|
+
- @spark-web/box@5.0.0-rc.24
|
|
15
|
+
|
|
16
|
+
## 3.0.0-rc.21
|
|
17
|
+
|
|
18
|
+
### Minor Changes
|
|
19
|
+
|
|
20
|
+
- Introduce global theming provider to set global default theme
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies []:
|
|
25
|
+
- @spark-web/theme@4.0.0-rc.21
|
|
26
|
+
- @spark-web/utils@2.0.0-rc.21
|
|
27
|
+
- @spark-web/box@2.0.0-rc.21
|
|
28
|
+
|
|
29
|
+
## 3.0.0-rc.20
|
|
30
|
+
|
|
31
|
+
### Minor Changes
|
|
32
|
+
|
|
33
|
+
- Support for component-level theming; button-level theming
|
|
34
|
+
|
|
35
|
+
### Patch Changes
|
|
36
|
+
|
|
37
|
+
- Updated dependencies []:
|
|
38
|
+
- @spark-web/theme@4.0.0-rc.20
|
|
39
|
+
- @spark-web/utils@2.0.0-rc.20
|
|
40
|
+
- @spark-web/box@2.0.0-rc.20
|
|
41
|
+
|
|
42
|
+
## 3.0.0-rc.19
|
|
43
|
+
|
|
44
|
+
### Major Changes
|
|
45
|
+
|
|
46
|
+
- test
|
|
47
|
+
|
|
48
|
+
### Patch Changes
|
|
49
|
+
|
|
50
|
+
- Updated dependencies []:
|
|
51
|
+
- @spark-web/theme@4.0.0-rc.19
|
|
52
|
+
- @spark-web/utils@2.0.0-rc.19
|
|
53
|
+
- @spark-web/box@2.0.0-rc.19
|
|
54
|
+
|
|
55
|
+
## 3.0.0-rc.18
|
|
56
|
+
|
|
57
|
+
### Major Changes
|
|
58
|
+
|
|
59
|
+
- tests
|
|
60
|
+
|
|
61
|
+
### Patch Changes
|
|
62
|
+
|
|
63
|
+
- Updated dependencies []:
|
|
64
|
+
- @spark-web/theme@4.0.0-rc.18
|
|
65
|
+
- @spark-web/utils@2.0.0-rc.18
|
|
66
|
+
- @spark-web/box@2.0.0-rc.18
|
|
67
|
+
|
|
68
|
+
## 3.0.0-rc.17
|
|
69
|
+
|
|
70
|
+
### Major Changes
|
|
71
|
+
|
|
72
|
+
- test
|
|
73
|
+
|
|
74
|
+
### Patch Changes
|
|
75
|
+
|
|
76
|
+
- Updated dependencies []:
|
|
77
|
+
- @spark-web/theme@4.0.0-rc.17
|
|
78
|
+
- @spark-web/utils@2.0.0-rc.17
|
|
79
|
+
- @spark-web/box@2.0.0-rc.17
|
|
80
|
+
|
|
81
|
+
## 3.0.0-rc.16
|
|
82
|
+
|
|
83
|
+
### Major Changes
|
|
84
|
+
|
|
85
|
+
- test
|
|
86
|
+
|
|
87
|
+
### Patch Changes
|
|
88
|
+
|
|
89
|
+
- Updated dependencies []:
|
|
90
|
+
- @spark-web/theme@4.0.0-rc.16
|
|
91
|
+
- @spark-web/utils@2.0.0-rc.16
|
|
92
|
+
- @spark-web/box@2.0.0-rc.16
|
|
93
|
+
|
|
94
|
+
## 3.0.0-rc.15
|
|
95
|
+
|
|
96
|
+
### Major Changes
|
|
97
|
+
|
|
98
|
+
- test
|
|
99
|
+
|
|
100
|
+
### Patch Changes
|
|
101
|
+
|
|
102
|
+
- Updated dependencies []:
|
|
103
|
+
- @spark-web/theme@4.0.0-rc.15
|
|
104
|
+
- @spark-web/utils@2.0.0-rc.15
|
|
105
|
+
- @spark-web/box@2.0.0-rc.15
|
|
106
|
+
|
|
107
|
+
## 3.0.0-rc.14
|
|
108
|
+
|
|
109
|
+
### Major Changes
|
|
110
|
+
|
|
111
|
+
- test
|
|
112
|
+
|
|
113
|
+
### Patch Changes
|
|
114
|
+
|
|
115
|
+
- Updated dependencies []:
|
|
116
|
+
- @spark-web/theme@4.0.0-rc.14
|
|
117
|
+
- @spark-web/utils@2.0.0-rc.14
|
|
118
|
+
- @spark-web/box@2.0.0-rc.14
|
|
119
|
+
|
|
120
|
+
## 3.0.0-rc.13
|
|
121
|
+
|
|
122
|
+
### Major Changes
|
|
123
|
+
|
|
124
|
+
- test
|
|
125
|
+
|
|
126
|
+
### Patch Changes
|
|
127
|
+
|
|
128
|
+
- Updated dependencies []:
|
|
129
|
+
- @spark-web/theme@4.0.0-rc.13
|
|
130
|
+
- @spark-web/utils@2.0.0-rc.13
|
|
131
|
+
- @spark-web/box@2.0.0-rc.13
|
|
132
|
+
|
|
133
|
+
## 3.0.0-rc.12
|
|
134
|
+
|
|
135
|
+
### Major Changes
|
|
136
|
+
|
|
137
|
+
- test
|
|
138
|
+
|
|
139
|
+
### Patch Changes
|
|
140
|
+
|
|
141
|
+
- Updated dependencies []:
|
|
142
|
+
- @spark-web/theme@4.0.0-rc.12
|
|
143
|
+
- @spark-web/utils@2.0.0-rc.12
|
|
144
|
+
- @spark-web/box@2.0.0-rc.12
|
|
145
|
+
|
|
146
|
+
## 3.0.0-rc.11
|
|
147
|
+
|
|
148
|
+
### Major Changes
|
|
149
|
+
|
|
150
|
+
- test
|
|
151
|
+
|
|
152
|
+
### Patch Changes
|
|
153
|
+
|
|
154
|
+
- Updated dependencies []:
|
|
155
|
+
- @spark-web/theme@4.0.0-rc.11
|
|
156
|
+
- @spark-web/utils@2.0.0-rc.11
|
|
157
|
+
- @spark-web/box@2.0.0-rc.11
|
|
158
|
+
|
|
159
|
+
## 3.0.0-rc.10
|
|
160
|
+
|
|
161
|
+
### Major Changes
|
|
162
|
+
|
|
163
|
+
- test
|
|
164
|
+
|
|
165
|
+
### Patch Changes
|
|
166
|
+
|
|
167
|
+
- Updated dependencies []:
|
|
168
|
+
- @spark-web/theme@4.0.0-rc.10
|
|
169
|
+
- @spark-web/utils@2.0.0-rc.10
|
|
170
|
+
- @spark-web/box@2.0.0-rc.10
|
|
171
|
+
|
|
3
172
|
## 3.0.0-rc.9
|
|
4
173
|
|
|
5
174
|
### Major Changes
|
|
@@ -5,10 +5,10 @@ declare const alignYLookup: {
|
|
|
5
5
|
readonly stretch: "stretch";
|
|
6
6
|
};
|
|
7
7
|
export declare type AlignY = keyof typeof alignYLookup;
|
|
8
|
-
export declare const alignYToAlignItems: (prop?: import("@spark-web/theme").ResponsiveProp<"
|
|
9
|
-
mobile: "center" | "start" | "
|
|
10
|
-
tablet: "center" | "start" | "
|
|
11
|
-
desktop: "center" | "start" | "
|
|
12
|
-
wide: "center" | "start" | "
|
|
8
|
+
export declare const alignYToAlignItems: (prop?: import("@spark-web/theme").ResponsiveProp<"bottom" | "top" | "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 {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { BoxProps } from '@spark-web/box';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ResponsiveProp, ResponsiveRangeProps, SparkTheme } from '@spark-web/theme';
|
|
3
3
|
import type { DataAttributeMap } from '@spark-web/utils/internal';
|
|
4
4
|
import type { ReactNode } from 'react';
|
|
5
5
|
import type { AlignY } from "./alignment.js";
|
|
6
|
-
declare type Gap = ResponsiveProp<keyof Omit<
|
|
6
|
+
declare type Gap = ResponsiveProp<keyof Omit<SparkTheme['spacing'], 'none'>>;
|
|
7
7
|
declare type ValidBoxProps = Omit<BoxProps, 'display' | 'alignItems' | 'gap' | 'flexDirection' | 'justifyContent' | 'flexWrap' | 'dangerouslySetInnerHTML'>;
|
|
8
8
|
export declare type ColumnsProps = {
|
|
9
9
|
/** Vertically align items within the container. */
|
|
@@ -21,10 +21,10 @@ export declare type ColumnsProps = {
|
|
|
21
21
|
} & ValidBoxProps;
|
|
22
22
|
export declare const Columns: <Comp extends import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> = "div">(props: {
|
|
23
23
|
as?: Comp | undefined;
|
|
24
|
-
ref?: import("react").Ref<Comp extends "symbol" | "
|
|
24
|
+
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;
|
|
25
25
|
} & Omit<import("react").PropsWithoutRef<import("react").ComponentProps<Comp>>, "as"> & {
|
|
26
26
|
/** Vertically align items within the container. */
|
|
27
|
-
alignY?: ResponsiveProp<"
|
|
27
|
+
alignY?: ResponsiveProp<"bottom" | "top" | "center" | "stretch"> | undefined;
|
|
28
28
|
/** Elements representing each column. */
|
|
29
29
|
children: ReactNode;
|
|
30
30
|
/** At which breakpoint, if any, should the columns collapse. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spark-web/columns",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0-rc.24",
|
|
4
4
|
"homepage": "https://github.com/brighte-labs/spark-web#readme",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@babel/runtime": "^7.25.0",
|
|
19
19
|
"@emotion/react": "^11.14.0",
|
|
20
|
-
"@spark-web/box": "^
|
|
21
|
-
"@spark-web/theme": "^
|
|
22
|
-
"@spark-web/utils": "^
|
|
20
|
+
"@spark-web/box": "^5.0.0-rc.24",
|
|
21
|
+
"@spark-web/theme": "^5.0.0-rc.24",
|
|
22
|
+
"@spark-web/utils": "^5.0.0-rc.24"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/react": "^18.2.0",
|