@spark-web/data-table 1.0.0-rc.2 → 1.0.0-rc.4
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,39 @@
|
|
|
1
1
|
# @spark-web/data-table
|
|
2
2
|
|
|
3
|
+
## 1.0.0-rc.4
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- bug
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies []:
|
|
12
|
+
- @spark-web/checkbox@2.0.0-rc.4
|
|
13
|
+
- @spark-web/spinner@2.0.0-rc.4
|
|
14
|
+
- @spark-web/theme@4.0.0-rc.4
|
|
15
|
+
- @spark-web/utils@2.0.0-rc.4
|
|
16
|
+
- @spark-web/a11y@2.0.0-rc.4
|
|
17
|
+
- @spark-web/text@2.0.0-rc.4
|
|
18
|
+
- @spark-web/box@2.0.0-rc.4
|
|
19
|
+
|
|
20
|
+
## 1.0.0-rc.3
|
|
21
|
+
|
|
22
|
+
### Major Changes
|
|
23
|
+
|
|
24
|
+
- upgrade package
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- Updated dependencies []:
|
|
29
|
+
- @spark-web/checkbox@2.0.0-rc.3
|
|
30
|
+
- @spark-web/spinner@2.0.0-rc.3
|
|
31
|
+
- @spark-web/theme@4.0.0-rc.3
|
|
32
|
+
- @spark-web/utils@2.0.0-rc.3
|
|
33
|
+
- @spark-web/a11y@2.0.0-rc.3
|
|
34
|
+
- @spark-web/text@2.0.0-rc.3
|
|
35
|
+
- @spark-web/box@2.0.0-rc.3
|
|
36
|
+
|
|
3
37
|
## 1.0.0-rc.2
|
|
4
38
|
|
|
5
39
|
### Major Changes
|
|
@@ -63,7 +63,7 @@ function DataTable(_ref) {
|
|
|
63
63
|
return jsxRuntime.jsxs(box.Box, _objectSpread(_objectSpread({
|
|
64
64
|
as: "table"
|
|
65
65
|
}, data ? internal.buildDataAttributes(data) : undefined), {}, {
|
|
66
|
-
|
|
66
|
+
css: className,
|
|
67
67
|
children: [headerGroups.length > 0 ? jsxRuntime.jsx(react.ClassNames, {
|
|
68
68
|
children: function children(_ref2) {
|
|
69
69
|
var css = _ref2.css,
|
|
@@ -71,7 +71,7 @@ function DataTable(_ref) {
|
|
|
71
71
|
return jsxRuntime.jsx(box.Box, {
|
|
72
72
|
as: "thead",
|
|
73
73
|
background: "neutral",
|
|
74
|
-
|
|
74
|
+
css: cx(css({
|
|
75
75
|
// we use box shadow instead of bottom border
|
|
76
76
|
// to allow the border to stay in the header on scroll
|
|
77
77
|
// when the table is sticky
|
|
@@ -63,7 +63,7 @@ function DataTable(_ref) {
|
|
|
63
63
|
return jsxRuntime.jsxs(box.Box, _objectSpread(_objectSpread({
|
|
64
64
|
as: "table"
|
|
65
65
|
}, data ? internal.buildDataAttributes(data) : undefined), {}, {
|
|
66
|
-
|
|
66
|
+
css: className,
|
|
67
67
|
children: [headerGroups.length > 0 ? jsxRuntime.jsx(react.ClassNames, {
|
|
68
68
|
children: function children(_ref2) {
|
|
69
69
|
var css = _ref2.css,
|
|
@@ -71,7 +71,7 @@ function DataTable(_ref) {
|
|
|
71
71
|
return jsxRuntime.jsx(box.Box, {
|
|
72
72
|
as: "thead",
|
|
73
73
|
background: "neutral",
|
|
74
|
-
|
|
74
|
+
css: cx(css({
|
|
75
75
|
// we use box shadow instead of bottom border
|
|
76
76
|
// to allow the border to stay in the header on scroll
|
|
77
77
|
// when the table is sticky
|
|
@@ -56,7 +56,7 @@ function DataTable(_ref) {
|
|
|
56
56
|
return jsxs(Box, _objectSpread(_objectSpread({
|
|
57
57
|
as: "table"
|
|
58
58
|
}, data ? buildDataAttributes(data) : undefined), {}, {
|
|
59
|
-
|
|
59
|
+
css: className,
|
|
60
60
|
children: [headerGroups.length > 0 ? jsx(ClassNames, {
|
|
61
61
|
children: function children(_ref2) {
|
|
62
62
|
var css = _ref2.css,
|
|
@@ -64,7 +64,7 @@ function DataTable(_ref) {
|
|
|
64
64
|
return jsx(Box, {
|
|
65
65
|
as: "thead",
|
|
66
66
|
background: "neutral",
|
|
67
|
-
|
|
67
|
+
css: cx(css({
|
|
68
68
|
// we use box shadow instead of bottom border
|
|
69
69
|
// to allow the border to stay in the header on scroll
|
|
70
70
|
// when the table is sticky
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spark-web/data-table",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.4",
|
|
4
4
|
"homepage": "https://github.com/brighte-labs/spark-web#readme",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@babel/runtime": "^7.25.0",
|
|
20
|
-
"@emotion/react": "^11.
|
|
21
|
-
"@spark-web/a11y": "^2.0.0-rc.
|
|
22
|
-
"@spark-web/box": "^2.0.0-rc.
|
|
23
|
-
"@spark-web/checkbox": "^2.0.0-rc.
|
|
24
|
-
"@spark-web/spinner": "^2.0.0-rc.
|
|
25
|
-
"@spark-web/text": "^2.0.0-rc.
|
|
26
|
-
"@spark-web/theme": "^4.0.0-rc.
|
|
27
|
-
"@spark-web/utils": "^2.0.0-rc.
|
|
20
|
+
"@emotion/react": "^11.14.0",
|
|
21
|
+
"@spark-web/a11y": "^2.0.0-rc.4",
|
|
22
|
+
"@spark-web/box": "^2.0.0-rc.4",
|
|
23
|
+
"@spark-web/checkbox": "^2.0.0-rc.4",
|
|
24
|
+
"@spark-web/spinner": "^2.0.0-rc.4",
|
|
25
|
+
"@spark-web/text": "^2.0.0-rc.4",
|
|
26
|
+
"@spark-web/theme": "^4.0.0-rc.4",
|
|
27
|
+
"@spark-web/utils": "^2.0.0-rc.4",
|
|
28
28
|
"@tanstack/react-table": "^8.14.0",
|
|
29
29
|
"react-intersection-observer": "^9.8.2"
|
|
30
30
|
},
|