sprint-asia-custom-component 0.1.170 → 0.1.172
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
|
@@ -44470,9 +44470,6 @@
|
|
|
44470
44470
|
}
|
|
44471
44471
|
return false;
|
|
44472
44472
|
};
|
|
44473
|
-
function handleBackgroundClick(e) {
|
|
44474
|
-
e.stopPropagation();
|
|
44475
|
-
}
|
|
44476
44473
|
return /*#__PURE__*/React__default["default"].createElement(qe.Root, {
|
|
44477
44474
|
show: isOpen,
|
|
44478
44475
|
as: React.Fragment
|
|
@@ -44480,7 +44477,7 @@
|
|
|
44480
44477
|
as: "div",
|
|
44481
44478
|
className: "fixed inset-0 overflow-y-auto z-50",
|
|
44482
44479
|
initialFocus: cancelButtonRef,
|
|
44483
|
-
onClose:
|
|
44480
|
+
onClose: () => {},
|
|
44484
44481
|
static: false
|
|
44485
44482
|
}, /*#__PURE__*/React__default["default"].createElement(qe.Child, {
|
|
44486
44483
|
as: React.Fragment,
|
|
@@ -44491,8 +44488,7 @@
|
|
|
44491
44488
|
leaveFrom: "opacity-100",
|
|
44492
44489
|
leaveTo: "opacity-0"
|
|
44493
44490
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44494
|
-
className: "fixed inset-0 bg-black bg-opacity-25"
|
|
44495
|
-
onClick: handleBackgroundClick
|
|
44491
|
+
className: "fixed inset-0 bg-black bg-opacity-25"
|
|
44496
44492
|
})), /*#__PURE__*/React__default["default"].createElement(qe.Child, {
|
|
44497
44493
|
as: React.Fragment,
|
|
44498
44494
|
enter: "ease-out duration-300",
|
|
@@ -52935,7 +52931,7 @@
|
|
|
52935
52931
|
`
|
|
52936
52932
|
})), /*#__PURE__*/React__default["default"].createElement("textarea", {
|
|
52937
52933
|
type: type === "password" ? showPassword ? "text" : "password" : type,
|
|
52938
|
-
className: `py-2.5 px-4 w-full font-normal text-sm text-
|
|
52934
|
+
className: `py-2.5 px-4 w-full font-normal text-sm text-black rounded-md border
|
|
52939
52935
|
${!value && mode === "default" && "bg-neutral20 border-neutral50 focus:outline-2 outline-primary500"}
|
|
52940
52936
|
${value && mode === "default" && "bg-neutral20 border-black focus:outline-2 outline-primary500"}
|
|
52941
52937
|
${isFocused && mode === "default" && "bg-neutral20 border-primary500"}
|
package/package.json
CHANGED
|
@@ -50,7 +50,7 @@ const ModalState = ({
|
|
|
50
50
|
as="div"
|
|
51
51
|
className="fixed inset-0 overflow-y-auto z-50"
|
|
52
52
|
initialFocus={cancelButtonRef}
|
|
53
|
-
onClose={
|
|
53
|
+
onClose={() => {}}
|
|
54
54
|
static={false}
|
|
55
55
|
>
|
|
56
56
|
<Transition.Child
|
|
@@ -62,7 +62,7 @@ const ModalState = ({
|
|
|
62
62
|
leaveFrom="opacity-100"
|
|
63
63
|
leaveTo="opacity-0"
|
|
64
64
|
>
|
|
65
|
-
<div className="fixed inset-0 bg-black bg-opacity-25"
|
|
65
|
+
<div className="fixed inset-0 bg-black bg-opacity-25" />
|
|
66
66
|
</Transition.Child>
|
|
67
67
|
|
|
68
68
|
<Transition.Child
|
|
@@ -54,7 +54,7 @@ const TextArea = ({
|
|
|
54
54
|
|
|
55
55
|
<textarea
|
|
56
56
|
type={type === "password" ? (showPassword ? "text" : "password") : type}
|
|
57
|
-
className={`py-2.5 px-4 w-full font-normal text-sm text-
|
|
57
|
+
className={`py-2.5 px-4 w-full font-normal text-sm text-black rounded-md border
|
|
58
58
|
${
|
|
59
59
|
!value &&
|
|
60
60
|
mode === "default" &&
|