sprint-asia-custom-component 0.1.110 → 0.1.112
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.js
CHANGED
|
@@ -191,8 +191,8 @@
|
|
|
191
191
|
};
|
|
192
192
|
|
|
193
193
|
const Alert = ({
|
|
194
|
-
title
|
|
195
|
-
subtitle
|
|
194
|
+
title,
|
|
195
|
+
subtitle,
|
|
196
196
|
type = "primary",
|
|
197
197
|
titleLeftButton,
|
|
198
198
|
titleRightButton,
|
|
@@ -224,9 +224,9 @@
|
|
|
224
224
|
${type === "warning" && "text-warning800"}
|
|
225
225
|
${type === "danger" && "text-danger500"}
|
|
226
226
|
mr-2`
|
|
227
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
227
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", null, title && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
228
228
|
className: "text-md font-semibold text-black"
|
|
229
|
-
}, title), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
229
|
+
}, title), subtitle && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
230
230
|
className: "text-sm font-normal text-black"
|
|
231
231
|
}, subtitle))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
232
232
|
className: "flex items-center"
|
|
@@ -47906,7 +47906,7 @@
|
|
|
47906
47906
|
onClickRightButton
|
|
47907
47907
|
}) => {
|
|
47908
47908
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47909
|
-
className: "fixed bottom-0 flex justify-end w-full items-center py-1 px-6 bg-white
|
|
47909
|
+
className: "fixed bottom-0 flex justify-end w-full items-center py-1 px-6 bg-white"
|
|
47910
47910
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47911
47911
|
className: "flex items-center mr-48"
|
|
47912
47912
|
}, isActiveLeftButton && /*#__PURE__*/React__default["default"].createElement("div", {
|
package/package.json
CHANGED
|
@@ -4,8 +4,8 @@ import OutlineButton from '../button/outlinebutton'
|
|
|
4
4
|
import PrimaryButton from '../button/primarybutton'
|
|
5
5
|
|
|
6
6
|
const Alert = ({
|
|
7
|
-
title
|
|
8
|
-
subtitle
|
|
7
|
+
title,
|
|
8
|
+
subtitle,
|
|
9
9
|
type = "primary",
|
|
10
10
|
titleLeftButton,
|
|
11
11
|
titleRightButton,
|
|
@@ -45,8 +45,14 @@ const Alert = ({
|
|
|
45
45
|
}
|
|
46
46
|
</div>
|
|
47
47
|
<div>
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
{
|
|
49
|
+
title &&
|
|
50
|
+
<p className='text-md font-semibold text-black'>{title}</p>
|
|
51
|
+
}
|
|
52
|
+
{
|
|
53
|
+
subtitle &&
|
|
54
|
+
<p className='text-sm font-normal text-black'>{subtitle}</p>
|
|
55
|
+
}
|
|
50
56
|
</div>
|
|
51
57
|
</div>
|
|
52
58
|
<div className='flex items-center'>
|
|
@@ -15,7 +15,7 @@ const Footer = ({
|
|
|
15
15
|
onClickRightButton,
|
|
16
16
|
}) => {
|
|
17
17
|
return (
|
|
18
|
-
<div className="fixed bottom-0 flex justify-end w-full items-center py-1 px-6 bg-white
|
|
18
|
+
<div className="fixed bottom-0 flex justify-end w-full items-center py-1 px-6 bg-white">
|
|
19
19
|
<div className="flex items-center mr-48">
|
|
20
20
|
{isActiveLeftButton && (
|
|
21
21
|
<div className="m-1">
|