@bouko/react 1.8.2 → 1.8.4
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/components/field.js
CHANGED
|
@@ -5,6 +5,6 @@ export default function Field({ style, label, required = true, note, children })
|
|
|
5
5
|
}
|
|
6
6
|
const styles = {
|
|
7
7
|
container: "flex flex-col shrink-0 gap-1 w-full overflow-hidden",
|
|
8
|
-
label: "text-xs text-
|
|
8
|
+
label: "text-xs text-primary-dark",
|
|
9
9
|
note: "mt-1 text-xs text-slate-500 whitespace-pre-line"
|
|
10
10
|
};
|
|
@@ -10,7 +10,7 @@ const styles = tv({
|
|
|
10
10
|
color: {
|
|
11
11
|
accent: "bg-accent/20 border-accent-dark text-accent-dark",
|
|
12
12
|
orange: "bg-orange-400/20 border-orange-500 text-orange-500",
|
|
13
|
-
dark: "bg-slate-
|
|
13
|
+
dark: "bg-slate-600/20 border-slate-700 text-slate-700"
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -7,6 +7,6 @@ export default function TextArea({ id, style, label, required = true, note, upda
|
|
|
7
7
|
const styles = {
|
|
8
8
|
container: "flex flex-col gap-1 overflow-hidden",
|
|
9
9
|
label: "text-xs text-slate-600",
|
|
10
|
-
textarea: "px-3 py-2 bg-
|
|
10
|
+
textarea: "px-3 py-2 bg-input border border-outline focus:border-outline-light rounded text-sm resize-none",
|
|
11
11
|
note: "mt-1 text-xs text-slate-500"
|
|
12
12
|
};
|