wacomm 2.35.0 → 2.35.2
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/wacomm.cjs.js +1 -1
- package/dist/wacomm.css +1 -1
- package/dist/wacomm.es.js +5 -3
- package/package.json +1 -1
package/dist/wacomm.es.js
CHANGED
|
@@ -15500,7 +15500,7 @@ function xo({ className: e = "", label: t = "Loading...", imgClassName: n = "",
|
|
|
15500
15500
|
function So({ label: e, className: t = "", isLoading: n = !1, disabled: r = !1, onClick: i = Yt }) {
|
|
15501
15501
|
return /* @__PURE__ */ C("button", {
|
|
15502
15502
|
type: "submit",
|
|
15503
|
-
className: G("SubmitButton px-1 border border-gray-300 rounded-lg w-full px-2 text-white", r || n ? "bg-gray-300 cursor-not-allowed" : "bg-blue-500 hover:bg-blue-600 cursor-pointer", t),
|
|
15503
|
+
className: G("SubmitButton px-1 border border-gray-300 rounded-lg w-full px-2 text-white focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-300 focus-visible:ring-offset-1", r || n ? "bg-gray-300 cursor-not-allowed" : "bg-blue-500 hover:bg-blue-600 cursor-pointer", t),
|
|
15504
15504
|
disabled: r || n,
|
|
15505
15505
|
onClick: i,
|
|
15506
15506
|
children: /* @__PURE__ */ w(mo, { children: [/* @__PURE__ */ C("p", {
|
|
@@ -15512,7 +15512,7 @@ function So({ label: e, className: t = "", isLoading: n = !1, disabled: r = !1,
|
|
|
15512
15512
|
//#endregion
|
|
15513
15513
|
//#region src/buttons/Button.tsx
|
|
15514
15514
|
var Co = (e, t, n) => {
|
|
15515
|
-
let r = G("flex flex-row items-center justify-center px-1 border border-gray-300 rounded-lg w-full bg-white", n || "");
|
|
15515
|
+
let r = G("flex flex-row items-center justify-center px-1 border border-gray-300 rounded-lg w-full bg-white focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-300 focus-visible:ring-offset-1", n || "");
|
|
15516
15516
|
return e && (r = G(r, "bg-blue-200 border-0")), t && (r = G(r, "bg-gray-200")), r;
|
|
15517
15517
|
}, wo = (e, t, n) => {
|
|
15518
15518
|
let r = G("text-gray-600", n || "");
|
|
@@ -15980,7 +15980,9 @@ function Wo({ isOpen: e = !0, onClose: t, title: n, content: r, shouldCloseOnEsc
|
|
|
15980
15980
|
style: {
|
|
15981
15981
|
flex: "1 1 auto",
|
|
15982
15982
|
minHeight: 0,
|
|
15983
|
-
overflowY: "auto"
|
|
15983
|
+
overflowY: "auto",
|
|
15984
|
+
scrollbarGutter: "stable",
|
|
15985
|
+
paddingRight: 4
|
|
15984
15986
|
},
|
|
15985
15987
|
children: r
|
|
15986
15988
|
})]
|