@spark-web/box 2.0.0-rc.15 → 2.0.0-rc.17
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.17
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- test
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies []:
|
|
12
|
+
- @spark-web/theme@4.0.0-rc.17
|
|
13
|
+
- @spark-web/utils@2.0.0-rc.17
|
|
14
|
+
|
|
15
|
+
## 2.0.0-rc.16
|
|
16
|
+
|
|
17
|
+
### Major Changes
|
|
18
|
+
|
|
19
|
+
- test
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies []:
|
|
24
|
+
- @spark-web/theme@4.0.0-rc.16
|
|
25
|
+
- @spark-web/utils@2.0.0-rc.16
|
|
26
|
+
|
|
3
27
|
## 2.0.0-rc.15
|
|
4
28
|
|
|
5
29
|
### Major Changes
|
|
@@ -329,14 +329,12 @@ 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
|
|
332
|
+
var css = _ref2.css,
|
|
333
|
+
cx = _ref2.cx;
|
|
333
334
|
return jsxRuntime.jsx(Tag, _objectSpread(_objectSpread({}, data ? internal.buildDataAttributes(data) : undefined), {}, {
|
|
334
335
|
ref: forwardedRef,
|
|
335
|
-
id: id
|
|
336
|
-
|
|
337
|
-
,
|
|
338
|
-
|
|
339
|
-
css: css(resetStyles, styles, cssProps)
|
|
336
|
+
id: id,
|
|
337
|
+
css: [cx(css(resetStyles), css(styles)), cssProps]
|
|
340
338
|
}, attributes));
|
|
341
339
|
}
|
|
342
340
|
});
|
|
@@ -329,14 +329,12 @@ 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
|
|
332
|
+
var css = _ref2.css,
|
|
333
|
+
cx = _ref2.cx;
|
|
333
334
|
return jsxRuntime.jsx(Tag, _objectSpread(_objectSpread({}, data ? internal.buildDataAttributes(data) : undefined), {}, {
|
|
334
335
|
ref: forwardedRef,
|
|
335
|
-
id: id
|
|
336
|
-
|
|
337
|
-
,
|
|
338
|
-
|
|
339
|
-
css: css(resetStyles, styles, cssProps)
|
|
336
|
+
id: id,
|
|
337
|
+
css: [cx(css(resetStyles), css(styles)), cssProps]
|
|
340
338
|
}, attributes));
|
|
341
339
|
}
|
|
342
340
|
});
|
|
@@ -325,14 +325,12 @@ 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
|
|
328
|
+
var css = _ref2.css,
|
|
329
|
+
cx = _ref2.cx;
|
|
329
330
|
return jsx(Tag, _objectSpread(_objectSpread({}, data ? buildDataAttributes(data) : undefined), {}, {
|
|
330
331
|
ref: forwardedRef,
|
|
331
|
-
id: id
|
|
332
|
-
|
|
333
|
-
,
|
|
334
|
-
|
|
335
|
-
css: css(resetStyles, styles, cssProps)
|
|
332
|
+
id: id,
|
|
333
|
+
css: [cx(css(resetStyles), css(styles)), cssProps]
|
|
336
334
|
}, attributes));
|
|
337
335
|
}
|
|
338
336
|
});
|
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.17",
|
|
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.17",
|
|
21
|
+
"@spark-web/utils": "^2.0.0-rc.17"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/react": "^18.2.0",
|