@react-email/button 0.0.13 → 0.0.14-canary.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/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -2
- package/dist/index.mjs +3 -2
- package/license.md +1 -1
- package/package.json +6 -6
- package/readme.md +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -191,11 +191,12 @@ var Button = (_a) => {
|
|
|
191
191
|
};
|
|
192
192
|
var buttonStyle = (style) => {
|
|
193
193
|
const _a = style || {}, { pt, pr, pb, pl } = _a, rest = __objRest(_a, ["pt", "pr", "pb", "pl"]);
|
|
194
|
-
return __spreadProps(__spreadValues({
|
|
194
|
+
return __spreadProps(__spreadValues({
|
|
195
195
|
lineHeight: "100%",
|
|
196
196
|
textDecoration: "none",
|
|
197
197
|
display: "inline-block",
|
|
198
|
-
maxWidth: "100%"
|
|
198
|
+
maxWidth: "100%"
|
|
199
|
+
}, rest), {
|
|
199
200
|
padding: `${pt}px ${pr}px ${pb}px ${pl}px`
|
|
200
201
|
});
|
|
201
202
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -168,11 +168,12 @@ var Button = (_a) => {
|
|
|
168
168
|
};
|
|
169
169
|
var buttonStyle = (style) => {
|
|
170
170
|
const _a = style || {}, { pt, pr, pb, pl } = _a, rest = __objRest(_a, ["pt", "pr", "pb", "pl"]);
|
|
171
|
-
return __spreadProps(__spreadValues({
|
|
171
|
+
return __spreadProps(__spreadValues({
|
|
172
172
|
lineHeight: "100%",
|
|
173
173
|
textDecoration: "none",
|
|
174
174
|
display: "inline-block",
|
|
175
|
-
maxWidth: "100%"
|
|
175
|
+
maxWidth: "100%"
|
|
176
|
+
}, rest), {
|
|
176
177
|
padding: `${pt}px ${pr}px ${pb}px ${pl}px`
|
|
177
178
|
});
|
|
178
179
|
};
|
package/license.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Copyright
|
|
1
|
+
Copyright 2024 Plus Five Five, Inc
|
|
2
2
|
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
4
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-email/button",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14-canary.0",
|
|
4
4
|
"description": "A link that is styled to look like a button",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|
|
27
|
-
"url": "https://github.com/
|
|
27
|
+
"url": "https://github.com/resend/react-email.git",
|
|
28
28
|
"directory": "packages/button"
|
|
29
29
|
},
|
|
30
30
|
"keywords": [
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"react": "18.2.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@babel/preset-react": "7.
|
|
41
|
+
"@babel/preset-react": "7.23.3",
|
|
42
42
|
"typescript": "5.1.6",
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
43
|
+
"@react-email/render": "0.0.12",
|
|
44
|
+
"tsconfig": "0.0.0",
|
|
45
|
+
"eslint-config-custom": "0.0.0"
|
|
46
46
|
},
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"access": "public"
|
package/readme.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<div align="center">
|
|
7
7
|
<a href="https://react.email">Website</a>
|
|
8
8
|
<span> · </span>
|
|
9
|
-
<a href="https://github.com/
|
|
9
|
+
<a href="https://github.com/resend/react-email">GitHub</a>
|
|
10
10
|
<span> · </span>
|
|
11
11
|
<a href="https://react.email/discord">Discord</a>
|
|
12
12
|
</div>
|