@woobee/ui 0.3.1 → 0.3.3
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 +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -95,7 +95,7 @@ function Tag({
|
|
|
95
95
|
{
|
|
96
96
|
className: classNames({
|
|
97
97
|
"inline-flex items-center rounded font-medium whitespace-nowrap": true,
|
|
98
|
-
"bg-cream-200 dark:bg-charcoal-700
|
|
98
|
+
"bg-cream-200 dark:bg-charcoal-700": !color,
|
|
99
99
|
"text-white": !!color,
|
|
100
100
|
// medium size
|
|
101
101
|
"text-sm": size === "medium",
|
|
@@ -694,12 +694,12 @@ function Modal({
|
|
|
694
694
|
"div",
|
|
695
695
|
{
|
|
696
696
|
className: classNames({
|
|
697
|
-
"flex items-center justify-between px-3 pt-3 pb-2 space-x-2 sm:px-
|
|
697
|
+
"flex items-center justify-between px-3 pt-3 pb-2 space-x-2 sm:px-5 sm:pt-6 sm:pb-3": true,
|
|
698
698
|
"sm:border-b sm:border-gray-200 dark:sm:border-charcoal-700 sm:shadow-sm": !!sidebar
|
|
699
699
|
}),
|
|
700
700
|
children: [
|
|
701
701
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
|
|
702
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "my-0 text-base font-semibold leading-tight
|
|
702
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "my-0 text-base font-semibold leading-tight", children: title }),
|
|
703
703
|
!!description && description.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-primary-700", children: description })
|
|
704
704
|
] }),
|
|
705
705
|
/* @__PURE__ */ jsxRuntime.jsx(Button, { variant: "flat", compact: true, onClick: handleClose, children: /* @__PURE__ */ jsxRuntime.jsx("svg", { className: "w-6 h-6", fill: "none", viewBox: "0 0 24 24", stroke: "currentColor", children: /* @__PURE__ */ jsxRuntime.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M6 18L18 6M6 6l12 12" }) }) })
|
|
@@ -717,7 +717,7 @@ function Modal({
|
|
|
717
717
|
"sm:pr-80": !!sidebar && sidebarPosition === "right",
|
|
718
718
|
"sm:pl-80": !!sidebar && sidebarPosition === "left"
|
|
719
719
|
}),
|
|
720
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-grow px-3 sm:px-
|
|
720
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-grow px-3 sm:px-5", children: [
|
|
721
721
|
!!sidebar && isMobileSidebarTop && /* @__PURE__ */ jsxRuntime.jsx(
|
|
722
722
|
"div",
|
|
723
723
|
{
|