@noya-app/noya-designsystem 0.1.38 → 0.1.39

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noya-app/noya-designsystem",
3
- "version": "0.1.38",
3
+ "version": "0.1.39",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -13,12 +13,13 @@ const colorSchemeStyles = {
13
13
 
14
14
  export const Checkbox = memo(
15
15
  forwardRef<HTMLInputElement, CheckboxProps>(function Checkbox(
16
- { className, colorScheme = "secondary", ...props },
16
+ { className, style, colorScheme = "secondary", ...props },
17
17
  ref
18
18
  ) {
19
19
  return (
20
20
  <div
21
21
  className={`relative inline-flex w-[19px] h-[19px] ${colorSchemeStyles[colorScheme]} ${className ?? ""}`}
22
+ style={style}
22
23
  >
23
24
  <input
24
25
  ref={ref}
@@ -28,6 +29,7 @@ export const Checkbox = memo(
28
29
  h-full
29
30
  peer
30
31
  appearance-none
32
+ m-0
31
33
  rounded
32
34
  bg-input-background
33
35
  transition-colors
@@ -40,10 +42,6 @@ export const Checkbox = memo(
40
42
  focus:ring-offset-1
41
43
  focus:z-interactable
42
44
  `}
43
- style={{
44
- width: "27px",
45
- ...props.style,
46
- }}
47
45
  {...props}
48
46
  />
49
47
  <svg
@@ -57,10 +55,8 @@ export const Checkbox = memo(
57
55
  opacity-0
58
56
  peer-checked:opacity-100
59
57
  z-label
58
+ stroke-[1.3px]
60
59
  `}
61
- style={{
62
- strokeWidth: "1.3",
63
- }}
64
60
  viewBox="0 0 16 16"
65
61
  fill="none"
66
62
  xmlns="http://www.w3.org/2000/svg"