@woobee/ui 0.3.1 → 0.3.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/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -89,7 +89,7 @@ function Tag({
|
|
|
89
89
|
{
|
|
90
90
|
className: classNames({
|
|
91
91
|
"inline-flex items-center rounded font-medium whitespace-nowrap": true,
|
|
92
|
-
"bg-cream-200 dark:bg-charcoal-700
|
|
92
|
+
"bg-cream-200 dark:bg-charcoal-700": !color,
|
|
93
93
|
"text-white": !!color,
|
|
94
94
|
// medium size
|
|
95
95
|
"text-sm": size === "medium",
|
|
@@ -693,7 +693,7 @@ function Modal({
|
|
|
693
693
|
}),
|
|
694
694
|
children: [
|
|
695
695
|
/* @__PURE__ */ jsxs("div", { className: "flex-1", children: [
|
|
696
|
-
/* @__PURE__ */ jsx("h3", { className: "my-0 text-base font-semibold leading-tight
|
|
696
|
+
/* @__PURE__ */ jsx("h3", { className: "my-0 text-base font-semibold leading-tight", children: title }),
|
|
697
697
|
!!description && description.length > 0 && /* @__PURE__ */ jsx("p", { className: "text-sm text-primary-700", children: description })
|
|
698
698
|
] }),
|
|
699
699
|
/* @__PURE__ */ jsx(Button, { variant: "flat", compact: true, onClick: handleClose, children: /* @__PURE__ */ jsx("svg", { className: "w-6 h-6", fill: "none", viewBox: "0 0 24 24", stroke: "currentColor", children: /* @__PURE__ */ jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M6 18L18 6M6 6l12 12" }) }) })
|
|
@@ -711,7 +711,7 @@ function Modal({
|
|
|
711
711
|
"sm:pr-80": !!sidebar && sidebarPosition === "right",
|
|
712
712
|
"sm:pl-80": !!sidebar && sidebarPosition === "left"
|
|
713
713
|
}),
|
|
714
|
-
children: /* @__PURE__ */ jsxs("div", { className: "flex-grow px-3 sm:px-
|
|
714
|
+
children: /* @__PURE__ */ jsxs("div", { className: "flex-grow px-3 sm:px-5", children: [
|
|
715
715
|
!!sidebar && isMobileSidebarTop && /* @__PURE__ */ jsx(
|
|
716
716
|
"div",
|
|
717
717
|
{
|