@spark-web/box 2.0.0-rc.13 → 2.0.0-rc.15
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,29 @@
|
|
|
1
1
|
# @spark-web/box
|
|
2
2
|
|
|
3
|
+
## 2.0.0-rc.15
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- test
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies []:
|
|
12
|
+
- @spark-web/theme@4.0.0-rc.15
|
|
13
|
+
- @spark-web/utils@2.0.0-rc.15
|
|
14
|
+
|
|
15
|
+
## 2.0.0-rc.14
|
|
16
|
+
|
|
17
|
+
### Major Changes
|
|
18
|
+
|
|
19
|
+
- test
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies []:
|
|
24
|
+
- @spark-web/theme@4.0.0-rc.14
|
|
25
|
+
- @spark-web/utils@2.0.0-rc.14
|
|
26
|
+
|
|
3
27
|
## 2.0.0-rc.13
|
|
4
28
|
|
|
5
29
|
### Major Changes
|
|
@@ -329,12 +329,14 @@ var Box = ts.forwardRefWithAs(function (_ref, forwardedRef) {
|
|
|
329
329
|
var resetStyles = internal.resetElementStyles(asElement !== null && asElement !== void 0 ? asElement : Tag);
|
|
330
330
|
var element = jsxRuntime.jsx(react$1.ClassNames, {
|
|
331
331
|
children: function children(_ref2) {
|
|
332
|
-
var css = _ref2.css
|
|
333
|
-
cx = _ref2.cx;
|
|
332
|
+
var css = _ref2.css;
|
|
334
333
|
return jsxRuntime.jsx(Tag, _objectSpread(_objectSpread({}, data ? internal.buildDataAttributes(data) : undefined), {}, {
|
|
335
334
|
ref: forwardedRef,
|
|
336
|
-
id: id
|
|
337
|
-
|
|
335
|
+
id: id
|
|
336
|
+
// css={cx(css(resetStyles), css(styles), css(cssProps))}
|
|
337
|
+
,
|
|
338
|
+
|
|
339
|
+
css: css(resetStyles, styles, cssProps)
|
|
338
340
|
}, attributes));
|
|
339
341
|
}
|
|
340
342
|
});
|
|
@@ -329,12 +329,14 @@ var Box = ts.forwardRefWithAs(function (_ref, forwardedRef) {
|
|
|
329
329
|
var resetStyles = internal.resetElementStyles(asElement !== null && asElement !== void 0 ? asElement : Tag);
|
|
330
330
|
var element = jsxRuntime.jsx(react$1.ClassNames, {
|
|
331
331
|
children: function children(_ref2) {
|
|
332
|
-
var css = _ref2.css
|
|
333
|
-
cx = _ref2.cx;
|
|
332
|
+
var css = _ref2.css;
|
|
334
333
|
return jsxRuntime.jsx(Tag, _objectSpread(_objectSpread({}, data ? internal.buildDataAttributes(data) : undefined), {}, {
|
|
335
334
|
ref: forwardedRef,
|
|
336
|
-
id: id
|
|
337
|
-
|
|
335
|
+
id: id
|
|
336
|
+
// css={cx(css(resetStyles), css(styles), css(cssProps))}
|
|
337
|
+
,
|
|
338
|
+
|
|
339
|
+
css: css(resetStyles, styles, cssProps)
|
|
338
340
|
}, attributes));
|
|
339
341
|
}
|
|
340
342
|
});
|
|
@@ -325,12 +325,14 @@ var Box = forwardRefWithAs(function (_ref, forwardedRef) {
|
|
|
325
325
|
var resetStyles = resetElementStyles(asElement !== null && asElement !== void 0 ? asElement : Tag);
|
|
326
326
|
var element = jsx(ClassNames, {
|
|
327
327
|
children: function children(_ref2) {
|
|
328
|
-
var css = _ref2.css
|
|
329
|
-
cx = _ref2.cx;
|
|
328
|
+
var css = _ref2.css;
|
|
330
329
|
return jsx(Tag, _objectSpread(_objectSpread({}, data ? buildDataAttributes(data) : undefined), {}, {
|
|
331
330
|
ref: forwardedRef,
|
|
332
|
-
id: id
|
|
333
|
-
|
|
331
|
+
id: id
|
|
332
|
+
// css={cx(css(resetStyles), css(styles), css(cssProps))}
|
|
333
|
+
,
|
|
334
|
+
|
|
335
|
+
css: css(resetStyles, styles, cssProps)
|
|
334
336
|
}, attributes));
|
|
335
337
|
}
|
|
336
338
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spark-web/box",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.15",
|
|
4
4
|
"homepage": "https://github.com/brighte-labs/spark-web#readme",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@babel/runtime": "^7.25.0",
|
|
19
19
|
"@emotion/react": "^11.14.0",
|
|
20
|
-
"@spark-web/theme": "^4.0.0-rc.
|
|
21
|
-
"@spark-web/utils": "^2.0.0-rc.
|
|
20
|
+
"@spark-web/theme": "^4.0.0-rc.15",
|
|
21
|
+
"@spark-web/utils": "^2.0.0-rc.15"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/react": "^18.2.0",
|