@ttoss/ui 1.8.2 → 1.9.0
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/dist/esm/index.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +4 -4
- package/src/components/Button/Button.tsx +1 -3
package/dist/esm/index.js
CHANGED
|
@@ -116,7 +116,7 @@ import { Box } from "@theme-ui/components";
|
|
|
116
116
|
import { Button as ButtonUi } from "@theme-ui/components";
|
|
117
117
|
var Button = (props) => {
|
|
118
118
|
return /* @__PURE__ */ React.createElement(ButtonUi, __spreadProps(__spreadValues({}, props), {
|
|
119
|
-
sx: __spreadValues({ cursor: "pointer"
|
|
119
|
+
sx: __spreadValues({ cursor: "pointer" }, props.sx)
|
|
120
120
|
}));
|
|
121
121
|
};
|
|
122
122
|
var Button_default = Button;
|
package/dist/index.js
CHANGED
|
@@ -160,7 +160,7 @@ var import_components = require("@theme-ui/components");
|
|
|
160
160
|
var import_components2 = require("@theme-ui/components");
|
|
161
161
|
var Button = (props) => {
|
|
162
162
|
return /* @__PURE__ */ React.createElement(import_components2.Button, __spreadProps(__spreadValues({}, props), {
|
|
163
|
-
sx: __spreadValues({ cursor: "pointer"
|
|
163
|
+
sx: __spreadValues({ cursor: "pointer" }, props.sx)
|
|
164
164
|
}));
|
|
165
165
|
};
|
|
166
166
|
var Button_default = Button;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"description": "Primitive layout, typographic, and other components for styling applications.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"publishConfig": {
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"react": ">=17.0.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@ttoss/config": "^1.
|
|
47
|
-
"@ttoss/test-utils": "^1.
|
|
46
|
+
"@ttoss/config": "^1.9.0",
|
|
47
|
+
"@ttoss/test-utils": "^1.9.0"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "3475ada98ef1215202b68ccb737f1d8f7c96b89c"
|
|
50
50
|
}
|
|
@@ -5,9 +5,7 @@ import type { ButtonProps } from '@theme-ui/components';
|
|
|
5
5
|
export type { ButtonProps };
|
|
6
6
|
|
|
7
7
|
const Button = (props: ButtonProps) => {
|
|
8
|
-
return
|
|
9
|
-
<ButtonUi {...props} sx={{ cursor: 'pointer', padding: 2, ...props.sx }} />
|
|
10
|
-
);
|
|
8
|
+
return <ButtonUi {...props} sx={{ cursor: 'pointer', ...props.sx }} />;
|
|
11
9
|
};
|
|
12
10
|
|
|
13
11
|
export default Button;
|