@bouko/react 0.4.7 → 0.4.8

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.
@@ -6,5 +6,5 @@ export default function Field({ style, label, required = true, note, children })
6
6
  const styles = {
7
7
  container: "flex flex-col shrink-0 gap-1 w-full overflow-hidden",
8
8
  label: "text-xs text-slate-600",
9
- note: "mt-1 text-xs text-slate-500"
9
+ note: "mt-1 text-xs text-slate-500 whitespace-pre-line"
10
10
  };
@@ -7,7 +7,7 @@ export default function MultipleChoice({ id, label, options, style, value, updat
7
7
  }
8
8
  const Dot = ({ active, select }) => (_jsx("div", { className: cn(styles.dot, active && "bg-accent border-accent-dark"), onClick: select }));
9
9
  const styles = {
10
- options: "flex shrink-0 flex-col gap-1 w-full",
10
+ options: "flex shrink-0 flex-col gap-1 mt-px w-full",
11
11
  item: "flex items-center gap-3 text-sm",
12
- dot: "size-3 bg-background-dark/50 hover:bg-background-dark duration-200 cursor-pointer border border-background-dark rounded-full"
12
+ dot: "size-3 bg-background-dark/50 hover:bg-background-dark duration-200 cursor-pointer border border-background-darker rounded-full"
13
13
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
 
3
3
  "name": "@bouko/react",
4
- "version": "0.4.7",
4
+ "version": "0.4.8",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "license": "MIT",