open-mcp-app-ui 0.0.8 → 0.0.10
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 +12 -12
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/table/index.js +1 -1
- package/dist/table/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -192,7 +192,7 @@ var Input = forwardRef2(
|
|
|
192
192
|
ref,
|
|
193
193
|
id: inputId,
|
|
194
194
|
className: [
|
|
195
|
-
"omu-control block w-full rounded-lg bg-bg-primary text-txt-primary placeholder:text-txt-
|
|
195
|
+
"omu-control block w-full rounded-lg bg-bg-primary text-txt-primary placeholder:text-txt-secondary",
|
|
196
196
|
sizeClasses2[size],
|
|
197
197
|
className
|
|
198
198
|
].filter(Boolean).join(" "),
|
|
@@ -243,7 +243,7 @@ var Textarea = forwardRef3(
|
|
|
243
243
|
ref,
|
|
244
244
|
id: inputId,
|
|
245
245
|
className: [
|
|
246
|
-
"omu-control block w-full rounded-lg bg-bg-primary text-txt-primary placeholder:text-txt-
|
|
246
|
+
"omu-control block w-full rounded-lg bg-bg-primary text-txt-primary placeholder:text-txt-secondary",
|
|
247
247
|
"text-sm px-3 py-2",
|
|
248
248
|
resizeClass,
|
|
249
249
|
className
|
|
@@ -581,7 +581,7 @@ var Checkbox = forwardRef5(
|
|
|
581
581
|
/* @__PURE__ */ jsx7(
|
|
582
582
|
"div",
|
|
583
583
|
{
|
|
584
|
-
className: "omu-checkbox peer-focus-visible:[
|
|
584
|
+
className: "omu-checkbox peer-focus-visible:[border-color:var(--color-text-primary)]",
|
|
585
585
|
"data-checked": visualChecked || void 0,
|
|
586
586
|
"data-disabled": disabled || void 0,
|
|
587
587
|
"aria-hidden": "true",
|
|
@@ -628,9 +628,9 @@ var Switch = forwardRef6(
|
|
|
628
628
|
disabled,
|
|
629
629
|
onClick: handleClick,
|
|
630
630
|
className: [
|
|
631
|
-
"relative inline-flex h-5 w-9 shrink-0 items-center rounded-full transition-colors",
|
|
632
|
-
"
|
|
633
|
-
checked ? "bg-bg-inverse" : "bg-bg-
|
|
631
|
+
"relative inline-flex h-5 w-9 shrink-0 items-center rounded-full border transition-colors",
|
|
632
|
+
"text-txt-primary focus-visible:outline-none focus-visible:border-current",
|
|
633
|
+
checked ? "bg-bg-inverse border-transparent" : "bg-bg-secondary border-bdr-secondary",
|
|
634
634
|
disabled ? "cursor-not-allowed" : "cursor-pointer"
|
|
635
635
|
].join(" "),
|
|
636
636
|
...rest,
|
|
@@ -639,8 +639,8 @@ var Switch = forwardRef6(
|
|
|
639
639
|
{
|
|
640
640
|
"aria-hidden": "true",
|
|
641
641
|
className: [
|
|
642
|
-
"pointer-events-none inline-block h-3.5 w-3.5 rounded-full
|
|
643
|
-
checked ? "translate-x-4.5" : "translate-x-0.5"
|
|
642
|
+
"pointer-events-none inline-block h-3.5 w-3.5 rounded-full shadow-sm transition-transform transition-colors",
|
|
643
|
+
checked ? "translate-x-4.5 bg-bg-primary" : "translate-x-0.5 bg-bg-inverse"
|
|
644
644
|
].join(" ")
|
|
645
645
|
}
|
|
646
646
|
)
|
|
@@ -730,7 +730,7 @@ function RadioGroupItem({
|
|
|
730
730
|
/* @__PURE__ */ jsx9(
|
|
731
731
|
"div",
|
|
732
732
|
{
|
|
733
|
-
className: "omu-radio peer-focus-visible:[
|
|
733
|
+
className: "omu-radio peer-focus-visible:[border-color:var(--color-text-primary)]",
|
|
734
734
|
"data-checked": isSelected || void 0,
|
|
735
735
|
"data-disabled": disabled || void 0,
|
|
736
736
|
"aria-hidden": "true",
|
|
@@ -958,7 +958,7 @@ var TagInput = forwardRef9(
|
|
|
958
958
|
},
|
|
959
959
|
placeholder: tags.length === 0 ? placeholder : "",
|
|
960
960
|
disabled,
|
|
961
|
-
className: "flex-1 min-w-[60px] bg-transparent border-none outline-none text-txt-primary placeholder:text-txt-
|
|
961
|
+
className: "flex-1 min-w-[60px] bg-transparent border-none outline-none text-txt-primary placeholder:text-txt-secondary"
|
|
962
962
|
}
|
|
963
963
|
)
|
|
964
964
|
]
|
|
@@ -1850,9 +1850,9 @@ var Tab = ({ value, children, disabled = false, className = "" }) => {
|
|
|
1850
1850
|
disabled,
|
|
1851
1851
|
onClick: () => !disabled && onChange(value),
|
|
1852
1852
|
className: [
|
|
1853
|
-
"px-3 py-2 text-
|
|
1853
|
+
"px-3 py-2 text-sm font-normal transition-colors select-none",
|
|
1854
1854
|
"border-b-2 -mb-px",
|
|
1855
|
-
isActive ? "text-txt-primary" : "border-transparent text-txt-
|
|
1855
|
+
isActive ? "text-txt-primary" : "border-transparent text-txt-secondary hover:text-txt-primary",
|
|
1856
1856
|
disabled ? "opacity-40 cursor-not-allowed" : "cursor-pointer",
|
|
1857
1857
|
className
|
|
1858
1858
|
].filter(Boolean).join(" "),
|