@sikka/hawa 0.24.10-next → 0.24.11-next

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.
@@ -3314,7 +3314,7 @@ var Checkbox = ({
3314
3314
  let labelLineHeightStyles = {
3315
3315
  xs: sublabel || helperText ? 0.5 : 0.1,
3316
3316
  sm: 0.6,
3317
- default: 0.7,
3317
+ default: 1,
3318
3318
  md: 0.8,
3319
3319
  lg: 0.9,
3320
3320
  xl: 1
@@ -3324,8 +3324,7 @@ var Checkbox = ({
3324
3324
  {
3325
3325
  className: cn(
3326
3326
  "hawa-flex hawa-gap-2",
3327
- "hawa-items-top",
3328
- sublabel || helperText ? "hawa-items-top" : "hawa-items-center"
3327
+ size === "default" ? "hawa-items-top" : "hawa-items-center"
3329
3328
  )
3330
3329
  },
3331
3330
  /* @__PURE__ */ React17.createElement(
@@ -3338,16 +3337,17 @@ var Checkbox = ({
3338
3337
  id
3339
3338
  }
3340
3339
  ),
3341
- (label || helperText) && /* @__PURE__ */ React17.createElement("div", { className: "hawa-grid hawa-gap-1.5 hawa-leading-none" }, label && /* @__PURE__ */ React17.createElement(
3340
+ (label || helperText) && /* @__PURE__ */ React17.createElement("div", { className: "hawa-grid hawa-gap-1.5" }, label && /* @__PURE__ */ React17.createElement(
3342
3341
  "label",
3343
3342
  {
3344
3343
  htmlFor: id,
3345
3344
  className: cn(
3346
- "hawa-w-fit hawa-select-none hawa-pt-0.5 hawa-text-sm hawa-font-medium hawa-leading-none",
3345
+ "hawa-w-fit hawa-select-none hawa-pt-0.5 hawa-text-sm hawa-font-medium",
3347
3346
  disabled ? "hawa-cursor-not-allowed hawa-text-muted-foreground hawa-opacity-70 " : "hawa-cursor-pointer"
3348
3347
  ),
3349
3348
  style: {
3350
- lineHeight: labelLineHeightStyles[size]
3349
+ // lineHeight: labelLineHeightStyles[size]
3350
+ lineHeight: 1
3351
3351
  }
3352
3352
  },
3353
3353
  label
@@ -2527,7 +2527,7 @@ var Checkbox = ({
2527
2527
  let labelLineHeightStyles = {
2528
2528
  xs: sublabel || helperText ? 0.5 : 0.1,
2529
2529
  sm: 0.6,
2530
- default: 0.7,
2530
+ default: 1,
2531
2531
  md: 0.8,
2532
2532
  lg: 0.9,
2533
2533
  xl: 1
@@ -2537,8 +2537,7 @@ var Checkbox = ({
2537
2537
  {
2538
2538
  className: cn(
2539
2539
  "hawa-flex hawa-gap-2",
2540
- "hawa-items-top",
2541
- sublabel || helperText ? "hawa-items-top" : "hawa-items-center"
2540
+ size === "default" ? "hawa-items-top" : "hawa-items-center"
2542
2541
  )
2543
2542
  },
2544
2543
  /* @__PURE__ */ React6.createElement(
@@ -2551,16 +2550,17 @@ var Checkbox = ({
2551
2550
  id
2552
2551
  }
2553
2552
  ),
2554
- (label || helperText) && /* @__PURE__ */ React6.createElement("div", { className: "hawa-grid hawa-gap-1.5 hawa-leading-none" }, label && /* @__PURE__ */ React6.createElement(
2553
+ (label || helperText) && /* @__PURE__ */ React6.createElement("div", { className: "hawa-grid hawa-gap-1.5" }, label && /* @__PURE__ */ React6.createElement(
2555
2554
  "label",
2556
2555
  {
2557
2556
  htmlFor: id,
2558
2557
  className: cn(
2559
- "hawa-w-fit hawa-select-none hawa-pt-0.5 hawa-text-sm hawa-font-medium hawa-leading-none",
2558
+ "hawa-w-fit hawa-select-none hawa-pt-0.5 hawa-text-sm hawa-font-medium",
2560
2559
  disabled ? "hawa-cursor-not-allowed hawa-text-muted-foreground hawa-opacity-70 " : "hawa-cursor-pointer"
2561
2560
  ),
2562
2561
  style: {
2563
- lineHeight: labelLineHeightStyles[size]
2562
+ // lineHeight: labelLineHeightStyles[size]
2563
+ lineHeight: 1
2564
2564
  }
2565
2565
  },
2566
2566
  label
@@ -561,7 +561,7 @@ var Radio = ({
561
561
  "div",
562
562
  {
563
563
  key: i,
564
- className: "hawa-rounded hawa-border hawa-border-gray-200 "
564
+ className: "hawa-w-full hawa-rounded hawa-border hawa-border-gray-200"
565
565
  },
566
566
  /* @__PURE__ */ import_react3.default.createElement(
567
567
  "div",
@@ -588,7 +588,7 @@ var Radio = ({
588
588
  {
589
589
  htmlFor: opt.value.toString(),
590
590
  className: cn(
591
- "hawa-ml-2 hawa-w-full hawa-p-4 hawa-pl-3 hawa-text-sm hawa-font-medium dark:hawa-text-white",
591
+ "hawa-ml-2 hawa-w-full hawa-select-none hawa-p-4 hawa-pl-3 hawa-text-sm hawa-font-medium dark:hawa-text-white",
592
592
  opt.disabled ? "hawa-opacity-50" : "hawa-cursor-pointer hawa-text-gray-900"
593
593
  )
594
594
  },
@@ -6,7 +6,7 @@ import {
6
6
  } from "../../chunk-UTGVG66T.mjs";
7
7
  import {
8
8
  Radio
9
- } from "../../chunk-4Y2FCYFW.mjs";
9
+ } from "../../chunk-N26RJDIG.mjs";
10
10
  import {
11
11
  BadEmoji,
12
12
  GoodEmoji,
@@ -3471,7 +3471,7 @@ var Checkbox = ({
3471
3471
  let labelLineHeightStyles = {
3472
3472
  xs: sublabel || helperText ? 0.5 : 0.1,
3473
3473
  sm: 0.6,
3474
- default: 0.7,
3474
+ default: 1,
3475
3475
  md: 0.8,
3476
3476
  lg: 0.9,
3477
3477
  xl: 1
@@ -3481,8 +3481,7 @@ var Checkbox = ({
3481
3481
  {
3482
3482
  className: cn(
3483
3483
  "hawa-flex hawa-gap-2",
3484
- "hawa-items-top",
3485
- sublabel || helperText ? "hawa-items-top" : "hawa-items-center"
3484
+ size === "default" ? "hawa-items-top" : "hawa-items-center"
3486
3485
  )
3487
3486
  },
3488
3487
  /* @__PURE__ */ React17.createElement(
@@ -3495,16 +3494,17 @@ var Checkbox = ({
3495
3494
  id
3496
3495
  }
3497
3496
  ),
3498
- (label || helperText) && /* @__PURE__ */ React17.createElement("div", { className: "hawa-grid hawa-gap-1.5 hawa-leading-none" }, label && /* @__PURE__ */ React17.createElement(
3497
+ (label || helperText) && /* @__PURE__ */ React17.createElement("div", { className: "hawa-grid hawa-gap-1.5" }, label && /* @__PURE__ */ React17.createElement(
3499
3498
  "label",
3500
3499
  {
3501
3500
  htmlFor: id,
3502
3501
  className: cn(
3503
- "hawa-w-fit hawa-select-none hawa-pt-0.5 hawa-text-sm hawa-font-medium hawa-leading-none",
3502
+ "hawa-w-fit hawa-select-none hawa-pt-0.5 hawa-text-sm hawa-font-medium",
3504
3503
  disabled ? "hawa-cursor-not-allowed hawa-text-muted-foreground hawa-opacity-70 " : "hawa-cursor-pointer"
3505
3504
  ),
3506
3505
  style: {
3507
- lineHeight: labelLineHeightStyles[size]
3506
+ // lineHeight: labelLineHeightStyles[size]
3507
+ lineHeight: 1
3508
3508
  }
3509
3509
  },
3510
3510
  label
@@ -4425,7 +4425,7 @@ var Radio = ({
4425
4425
  "div",
4426
4426
  {
4427
4427
  key: i,
4428
- className: "hawa-rounded hawa-border hawa-border-gray-200 "
4428
+ className: "hawa-w-full hawa-rounded hawa-border hawa-border-gray-200"
4429
4429
  },
4430
4430
  /* @__PURE__ */ import_react22.default.createElement(
4431
4431
  "div",
@@ -4452,7 +4452,7 @@ var Radio = ({
4452
4452
  {
4453
4453
  htmlFor: opt.value.toString(),
4454
4454
  className: cn(
4455
- "hawa-ml-2 hawa-w-full hawa-p-4 hawa-pl-3 hawa-text-sm hawa-font-medium dark:hawa-text-white",
4455
+ "hawa-ml-2 hawa-w-full hawa-select-none hawa-p-4 hawa-pl-3 hawa-text-sm hawa-font-medium dark:hawa-text-white",
4456
4456
  opt.disabled ? "hawa-opacity-50" : "hawa-cursor-pointer hawa-text-gray-900"
4457
4457
  )
4458
4458
  },
@@ -25,7 +25,7 @@ import {
25
25
  UncheckMark,
26
26
  VeryBadEmoji,
27
27
  VeryGoodEmoji
28
- } from "../chunk-2VDIM3CP.mjs";
28
+ } from "../chunk-XOEHA3H6.mjs";
29
29
  import {
30
30
  Button,
31
31
  Card,
@@ -988,7 +988,7 @@ var Radio = ({
988
988
  "div",
989
989
  {
990
990
  key: i,
991
- className: "hawa-rounded hawa-border hawa-border-gray-200 "
991
+ className: "hawa-w-full hawa-rounded hawa-border hawa-border-gray-200"
992
992
  },
993
993
  /* @__PURE__ */ import_react11.default.createElement(
994
994
  "div",
@@ -1015,7 +1015,7 @@ var Radio = ({
1015
1015
  {
1016
1016
  htmlFor: opt.value.toString(),
1017
1017
  className: cn(
1018
- "hawa-ml-2 hawa-w-full hawa-p-4 hawa-pl-3 hawa-text-sm hawa-font-medium dark:hawa-text-white",
1018
+ "hawa-ml-2 hawa-w-full hawa-select-none hawa-p-4 hawa-pl-3 hawa-text-sm hawa-font-medium dark:hawa-text-white",
1019
1019
  opt.disabled ? "hawa-opacity-50" : "hawa-cursor-pointer hawa-text-gray-900"
1020
1020
  )
1021
1021
  },
@@ -5,7 +5,7 @@ import {
5
5
  import "../../chunk-ZCZ3WARS.mjs";
6
6
  import {
7
7
  Radio
8
- } from "../../chunk-4Y2FCYFW.mjs";
8
+ } from "../../chunk-N26RJDIG.mjs";
9
9
  import {
10
10
  CheckMark,
11
11
  UncheckMark
@@ -59,7 +59,7 @@ var Checkbox = ({
59
59
  let labelLineHeightStyles = {
60
60
  xs: sublabel || helperText ? 0.5 : 0.1,
61
61
  sm: 0.6,
62
- default: 0.7,
62
+ default: 1,
63
63
  md: 0.8,
64
64
  lg: 0.9,
65
65
  xl: 1
@@ -69,8 +69,7 @@ var Checkbox = ({
69
69
  {
70
70
  className: cn(
71
71
  "hawa-flex hawa-gap-2",
72
- "hawa-items-top",
73
- sublabel || helperText ? "hawa-items-top" : "hawa-items-center"
72
+ size === "default" ? "hawa-items-top" : "hawa-items-center"
74
73
  )
75
74
  },
76
75
  /* @__PURE__ */ React.createElement(
@@ -83,16 +82,17 @@ var Checkbox = ({
83
82
  id
84
83
  }
85
84
  ),
86
- (label || helperText) && /* @__PURE__ */ React.createElement("div", { className: "hawa-grid hawa-gap-1.5 hawa-leading-none" }, label && /* @__PURE__ */ React.createElement(
85
+ (label || helperText) && /* @__PURE__ */ React.createElement("div", { className: "hawa-grid hawa-gap-1.5" }, label && /* @__PURE__ */ React.createElement(
87
86
  "label",
88
87
  {
89
88
  htmlFor: id,
90
89
  className: cn(
91
- "hawa-w-fit hawa-select-none hawa-pt-0.5 hawa-text-sm hawa-font-medium hawa-leading-none",
90
+ "hawa-w-fit hawa-select-none hawa-pt-0.5 hawa-text-sm hawa-font-medium",
92
91
  disabled ? "hawa-cursor-not-allowed hawa-text-muted-foreground hawa-opacity-70 " : "hawa-cursor-pointer"
93
92
  ),
94
93
  style: {
95
- lineHeight: labelLineHeightStyles[size]
94
+ // lineHeight: labelLineHeightStyles[size]
95
+ lineHeight: 1
96
96
  }
97
97
  },
98
98
  label
@@ -18,7 +18,7 @@ var Checkbox = ({
18
18
  let labelLineHeightStyles = {
19
19
  xs: sublabel || helperText ? 0.5 : 0.1,
20
20
  sm: 0.6,
21
- default: 0.7,
21
+ default: 1,
22
22
  md: 0.8,
23
23
  lg: 0.9,
24
24
  xl: 1
@@ -28,8 +28,7 @@ var Checkbox = ({
28
28
  {
29
29
  className: cn(
30
30
  "hawa-flex hawa-gap-2",
31
- "hawa-items-top",
32
- sublabel || helperText ? "hawa-items-top" : "hawa-items-center"
31
+ size === "default" ? "hawa-items-top" : "hawa-items-center"
33
32
  )
34
33
  },
35
34
  /* @__PURE__ */ React.createElement(
@@ -42,16 +41,17 @@ var Checkbox = ({
42
41
  id
43
42
  }
44
43
  ),
45
- (label || helperText) && /* @__PURE__ */ React.createElement("div", { className: "hawa-grid hawa-gap-1.5 hawa-leading-none" }, label && /* @__PURE__ */ React.createElement(
44
+ (label || helperText) && /* @__PURE__ */ React.createElement("div", { className: "hawa-grid hawa-gap-1.5" }, label && /* @__PURE__ */ React.createElement(
46
45
  "label",
47
46
  {
48
47
  htmlFor: id,
49
48
  className: cn(
50
- "hawa-w-fit hawa-select-none hawa-pt-0.5 hawa-text-sm hawa-font-medium hawa-leading-none",
49
+ "hawa-w-fit hawa-select-none hawa-pt-0.5 hawa-text-sm hawa-font-medium",
51
50
  disabled ? "hawa-cursor-not-allowed hawa-text-muted-foreground hawa-opacity-70 " : "hawa-cursor-pointer"
52
51
  ),
53
52
  style: {
54
- lineHeight: labelLineHeightStyles[size]
53
+ // lineHeight: labelLineHeightStyles[size]
54
+ lineHeight: 1
55
55
  }
56
56
  },
57
57
  label
@@ -94,7 +94,7 @@ var Radio = ({
94
94
  "div",
95
95
  {
96
96
  key: i,
97
- className: "hawa-rounded hawa-border hawa-border-gray-200 "
97
+ className: "hawa-w-full hawa-rounded hawa-border hawa-border-gray-200"
98
98
  },
99
99
  /* @__PURE__ */ React.createElement(
100
100
  "div",
@@ -121,7 +121,7 @@ var Radio = ({
121
121
  {
122
122
  htmlFor: opt.value.toString(),
123
123
  className: cn(
124
- "hawa-ml-2 hawa-w-full hawa-p-4 hawa-pl-3 hawa-text-sm hawa-font-medium dark:hawa-text-white",
124
+ "hawa-ml-2 hawa-w-full hawa-select-none hawa-p-4 hawa-pl-3 hawa-text-sm hawa-font-medium dark:hawa-text-white",
125
125
  opt.disabled ? "hawa-opacity-50" : "hawa-cursor-pointer hawa-text-gray-900"
126
126
  )
127
127
  },
@@ -2231,7 +2231,7 @@ var Checkbox = ({
2231
2231
  let labelLineHeightStyles = {
2232
2232
  xs: sublabel || helperText ? 0.5 : 0.1,
2233
2233
  sm: 0.6,
2234
- default: 0.7,
2234
+ default: 1,
2235
2235
  md: 0.8,
2236
2236
  lg: 0.9,
2237
2237
  xl: 1
@@ -2241,8 +2241,7 @@ var Checkbox = ({
2241
2241
  {
2242
2242
  className: cn(
2243
2243
  "hawa-flex hawa-gap-2",
2244
- "hawa-items-top",
2245
- sublabel || helperText ? "hawa-items-top" : "hawa-items-center"
2244
+ size === "default" ? "hawa-items-top" : "hawa-items-center"
2246
2245
  )
2247
2246
  },
2248
2247
  /* @__PURE__ */ React6.createElement(
@@ -2255,16 +2254,17 @@ var Checkbox = ({
2255
2254
  id
2256
2255
  }
2257
2256
  ),
2258
- (label || helperText) && /* @__PURE__ */ React6.createElement("div", { className: "hawa-grid hawa-gap-1.5 hawa-leading-none" }, label && /* @__PURE__ */ React6.createElement(
2257
+ (label || helperText) && /* @__PURE__ */ React6.createElement("div", { className: "hawa-grid hawa-gap-1.5" }, label && /* @__PURE__ */ React6.createElement(
2259
2258
  "label",
2260
2259
  {
2261
2260
  htmlFor: id,
2262
2261
  className: cn(
2263
- "hawa-w-fit hawa-select-none hawa-pt-0.5 hawa-text-sm hawa-font-medium hawa-leading-none",
2262
+ "hawa-w-fit hawa-select-none hawa-pt-0.5 hawa-text-sm hawa-font-medium",
2264
2263
  disabled ? "hawa-cursor-not-allowed hawa-text-muted-foreground hawa-opacity-70 " : "hawa-cursor-pointer"
2265
2264
  ),
2266
2265
  style: {
2267
- lineHeight: labelLineHeightStyles[size]
2266
+ // lineHeight: labelLineHeightStyles[size]
2267
+ lineHeight: 1
2268
2268
  }
2269
2269
  },
2270
2270
  label
@@ -2533,7 +2533,7 @@ var Radio = ({
2533
2533
  "div",
2534
2534
  {
2535
2535
  key: i,
2536
- className: "hawa-rounded hawa-border hawa-border-gray-200 "
2536
+ className: "hawa-w-full hawa-rounded hawa-border hawa-border-gray-200"
2537
2537
  },
2538
2538
  /* @__PURE__ */ React9.createElement(
2539
2539
  "div",
@@ -2560,7 +2560,7 @@ var Radio = ({
2560
2560
  {
2561
2561
  htmlFor: opt.value.toString(),
2562
2562
  className: cn(
2563
- "hawa-ml-2 hawa-w-full hawa-p-4 hawa-pl-3 hawa-text-sm hawa-font-medium dark:hawa-text-white",
2563
+ "hawa-ml-2 hawa-w-full hawa-select-none hawa-p-4 hawa-pl-3 hawa-text-sm hawa-font-medium dark:hawa-text-white",
2564
2564
  opt.disabled ? "hawa-opacity-50" : "hawa-cursor-pointer hawa-text-gray-900"
2565
2565
  )
2566
2566
  },
@@ -2973,7 +2973,7 @@ var Radio = ({
2973
2973
  "div",
2974
2974
  {
2975
2975
  key: i,
2976
- className: "hawa-rounded hawa-border hawa-border-gray-200 "
2976
+ className: "hawa-w-full hawa-rounded hawa-border hawa-border-gray-200"
2977
2977
  },
2978
2978
  /* @__PURE__ */ import_react11.default.createElement(
2979
2979
  "div",
@@ -3000,7 +3000,7 @@ var Radio = ({
3000
3000
  {
3001
3001
  htmlFor: opt.value.toString(),
3002
3002
  className: cn(
3003
- "hawa-ml-2 hawa-w-full hawa-p-4 hawa-pl-3 hawa-text-sm hawa-font-medium dark:hawa-text-white",
3003
+ "hawa-ml-2 hawa-w-full hawa-select-none hawa-p-4 hawa-pl-3 hawa-text-sm hawa-font-medium dark:hawa-text-white",
3004
3004
  opt.disabled ? "hawa-opacity-50" : "hawa-cursor-pointer hawa-text-gray-900"
3005
3005
  )
3006
3006
  },
@@ -4015,7 +4015,7 @@ var Checkbox = ({
4015
4015
  let labelLineHeightStyles = {
4016
4016
  xs: sublabel || helperText ? 0.5 : 0.1,
4017
4017
  sm: 0.6,
4018
- default: 0.7,
4018
+ default: 1,
4019
4019
  md: 0.8,
4020
4020
  lg: 0.9,
4021
4021
  xl: 1
@@ -4025,8 +4025,7 @@ var Checkbox = ({
4025
4025
  {
4026
4026
  className: cn(
4027
4027
  "hawa-flex hawa-gap-2",
4028
- "hawa-items-top",
4029
- sublabel || helperText ? "hawa-items-top" : "hawa-items-center"
4028
+ size === "default" ? "hawa-items-top" : "hawa-items-center"
4030
4029
  )
4031
4030
  },
4032
4031
  /* @__PURE__ */ React34.createElement(
@@ -4039,16 +4038,17 @@ var Checkbox = ({
4039
4038
  id
4040
4039
  }
4041
4040
  ),
4042
- (label || helperText) && /* @__PURE__ */ React34.createElement("div", { className: "hawa-grid hawa-gap-1.5 hawa-leading-none" }, label && /* @__PURE__ */ React34.createElement(
4041
+ (label || helperText) && /* @__PURE__ */ React34.createElement("div", { className: "hawa-grid hawa-gap-1.5" }, label && /* @__PURE__ */ React34.createElement(
4043
4042
  "label",
4044
4043
  {
4045
4044
  htmlFor: id,
4046
4045
  className: cn(
4047
- "hawa-w-fit hawa-select-none hawa-pt-0.5 hawa-text-sm hawa-font-medium hawa-leading-none",
4046
+ "hawa-w-fit hawa-select-none hawa-pt-0.5 hawa-text-sm hawa-font-medium",
4048
4047
  disabled ? "hawa-cursor-not-allowed hawa-text-muted-foreground hawa-opacity-70 " : "hawa-cursor-pointer"
4049
4048
  ),
4050
4049
  style: {
4051
- lineHeight: labelLineHeightStyles[size]
4050
+ // lineHeight: labelLineHeightStyles[size]
4051
+ lineHeight: 1
4052
4052
  }
4053
4053
  },
4054
4054
  label
@@ -28,7 +28,7 @@ import {
28
28
  TabsTrigger,
29
29
  Textarea,
30
30
  UncheckMark
31
- } from "../chunk-2VDIM3CP.mjs";
31
+ } from "../chunk-XOEHA3H6.mjs";
32
32
  import {
33
33
  Sheet,
34
34
  SheetClose,
package/dist/index.js CHANGED
@@ -3039,7 +3039,7 @@ var Radio = ({
3039
3039
  "div",
3040
3040
  {
3041
3041
  key: i,
3042
- className: "hawa-rounded hawa-border hawa-border-gray-200 "
3042
+ className: "hawa-w-full hawa-rounded hawa-border hawa-border-gray-200"
3043
3043
  },
3044
3044
  /* @__PURE__ */ import_react11.default.createElement(
3045
3045
  "div",
@@ -3066,7 +3066,7 @@ var Radio = ({
3066
3066
  {
3067
3067
  htmlFor: opt.value.toString(),
3068
3068
  className: cn(
3069
- "hawa-ml-2 hawa-w-full hawa-p-4 hawa-pl-3 hawa-text-sm hawa-font-medium dark:hawa-text-white",
3069
+ "hawa-ml-2 hawa-w-full hawa-select-none hawa-p-4 hawa-pl-3 hawa-text-sm hawa-font-medium dark:hawa-text-white",
3070
3070
  opt.disabled ? "hawa-opacity-50" : "hawa-cursor-pointer hawa-text-gray-900"
3071
3071
  )
3072
3072
  },
@@ -4081,7 +4081,7 @@ var Checkbox = ({
4081
4081
  let labelLineHeightStyles = {
4082
4082
  xs: sublabel || helperText ? 0.5 : 0.1,
4083
4083
  sm: 0.6,
4084
- default: 0.7,
4084
+ default: 1,
4085
4085
  md: 0.8,
4086
4086
  lg: 0.9,
4087
4087
  xl: 1
@@ -4091,8 +4091,7 @@ var Checkbox = ({
4091
4091
  {
4092
4092
  className: cn(
4093
4093
  "hawa-flex hawa-gap-2",
4094
- "hawa-items-top",
4095
- sublabel || helperText ? "hawa-items-top" : "hawa-items-center"
4094
+ size === "default" ? "hawa-items-top" : "hawa-items-center"
4096
4095
  )
4097
4096
  },
4098
4097
  /* @__PURE__ */ React34.createElement(
@@ -4105,16 +4104,17 @@ var Checkbox = ({
4105
4104
  id
4106
4105
  }
4107
4106
  ),
4108
- (label || helperText) && /* @__PURE__ */ React34.createElement("div", { className: "hawa-grid hawa-gap-1.5 hawa-leading-none" }, label && /* @__PURE__ */ React34.createElement(
4107
+ (label || helperText) && /* @__PURE__ */ React34.createElement("div", { className: "hawa-grid hawa-gap-1.5" }, label && /* @__PURE__ */ React34.createElement(
4109
4108
  "label",
4110
4109
  {
4111
4110
  htmlFor: id,
4112
4111
  className: cn(
4113
- "hawa-w-fit hawa-select-none hawa-pt-0.5 hawa-text-sm hawa-font-medium hawa-leading-none",
4112
+ "hawa-w-fit hawa-select-none hawa-pt-0.5 hawa-text-sm hawa-font-medium",
4114
4113
  disabled ? "hawa-cursor-not-allowed hawa-text-muted-foreground hawa-opacity-70 " : "hawa-cursor-pointer"
4115
4114
  ),
4116
4115
  style: {
4117
- lineHeight: labelLineHeightStyles[size]
4116
+ // lineHeight: labelLineHeightStyles[size]
4117
+ lineHeight: 1
4118
4118
  }
4119
4119
  },
4120
4120
  label
package/dist/index.mjs CHANGED
@@ -2806,7 +2806,7 @@ var Radio = ({
2806
2806
  "div",
2807
2807
  {
2808
2808
  key: i,
2809
- className: "hawa-rounded hawa-border hawa-border-gray-200 "
2809
+ className: "hawa-w-full hawa-rounded hawa-border hawa-border-gray-200"
2810
2810
  },
2811
2811
  /* @__PURE__ */ React24.createElement(
2812
2812
  "div",
@@ -2833,7 +2833,7 @@ var Radio = ({
2833
2833
  {
2834
2834
  htmlFor: opt.value.toString(),
2835
2835
  className: cn(
2836
- "hawa-ml-2 hawa-w-full hawa-p-4 hawa-pl-3 hawa-text-sm hawa-font-medium dark:hawa-text-white",
2836
+ "hawa-ml-2 hawa-w-full hawa-select-none hawa-p-4 hawa-pl-3 hawa-text-sm hawa-font-medium dark:hawa-text-white",
2837
2837
  opt.disabled ? "hawa-opacity-50" : "hawa-cursor-pointer hawa-text-gray-900"
2838
2838
  )
2839
2839
  },
@@ -3848,7 +3848,7 @@ var Checkbox = ({
3848
3848
  let labelLineHeightStyles = {
3849
3849
  xs: sublabel || helperText ? 0.5 : 0.1,
3850
3850
  sm: 0.6,
3851
- default: 0.7,
3851
+ default: 1,
3852
3852
  md: 0.8,
3853
3853
  lg: 0.9,
3854
3854
  xl: 1
@@ -3858,8 +3858,7 @@ var Checkbox = ({
3858
3858
  {
3859
3859
  className: cn(
3860
3860
  "hawa-flex hawa-gap-2",
3861
- "hawa-items-top",
3862
- sublabel || helperText ? "hawa-items-top" : "hawa-items-center"
3861
+ size === "default" ? "hawa-items-top" : "hawa-items-center"
3863
3862
  )
3864
3863
  },
3865
3864
  /* @__PURE__ */ React34.createElement(
@@ -3872,16 +3871,17 @@ var Checkbox = ({
3872
3871
  id
3873
3872
  }
3874
3873
  ),
3875
- (label || helperText) && /* @__PURE__ */ React34.createElement("div", { className: "hawa-grid hawa-gap-1.5 hawa-leading-none" }, label && /* @__PURE__ */ React34.createElement(
3874
+ (label || helperText) && /* @__PURE__ */ React34.createElement("div", { className: "hawa-grid hawa-gap-1.5" }, label && /* @__PURE__ */ React34.createElement(
3876
3875
  "label",
3877
3876
  {
3878
3877
  htmlFor: id,
3879
3878
  className: cn(
3880
- "hawa-w-fit hawa-select-none hawa-pt-0.5 hawa-text-sm hawa-font-medium hawa-leading-none",
3879
+ "hawa-w-fit hawa-select-none hawa-pt-0.5 hawa-text-sm hawa-font-medium",
3881
3880
  disabled ? "hawa-cursor-not-allowed hawa-text-muted-foreground hawa-opacity-70 " : "hawa-cursor-pointer"
3882
3881
  ),
3883
3882
  style: {
3884
- lineHeight: labelLineHeightStyles[size]
3883
+ // lineHeight: labelLineHeightStyles[size]
3884
+ lineHeight: 1
3885
3885
  }
3886
3886
  },
3887
3887
  label
@@ -222,7 +222,7 @@ var Radio = ({
222
222
  "div",
223
223
  {
224
224
  key: i,
225
- className: "hawa-rounded hawa-border hawa-border-gray-200 "
225
+ className: "hawa-w-full hawa-rounded hawa-border hawa-border-gray-200"
226
226
  },
227
227
  /* @__PURE__ */ import_react2.default.createElement(
228
228
  "div",
@@ -249,7 +249,7 @@ var Radio = ({
249
249
  {
250
250
  htmlFor: opt.value.toString(),
251
251
  className: cn(
252
- "hawa-ml-2 hawa-w-full hawa-p-4 hawa-pl-3 hawa-text-sm hawa-font-medium dark:hawa-text-white",
252
+ "hawa-ml-2 hawa-w-full hawa-select-none hawa-p-4 hawa-pl-3 hawa-text-sm hawa-font-medium dark:hawa-text-white",
253
253
  opt.disabled ? "hawa-opacity-50" : "hawa-cursor-pointer hawa-text-gray-900"
254
254
  )
255
255
  },
@@ -97,7 +97,7 @@ var Radio = ({
97
97
  "div",
98
98
  {
99
99
  key: i,
100
- className: "hawa-rounded hawa-border hawa-border-gray-200 "
100
+ className: "hawa-w-full hawa-rounded hawa-border hawa-border-gray-200"
101
101
  },
102
102
  /* @__PURE__ */ React.createElement(
103
103
  "div",
@@ -124,7 +124,7 @@ var Radio = ({
124
124
  {
125
125
  htmlFor: opt.value.toString(),
126
126
  className: cn(
127
- "hawa-ml-2 hawa-w-full hawa-p-4 hawa-pl-3 hawa-text-sm hawa-font-medium dark:hawa-text-white",
127
+ "hawa-ml-2 hawa-w-full hawa-select-none hawa-p-4 hawa-pl-3 hawa-text-sm hawa-font-medium dark:hawa-text-white",
128
128
  opt.disabled ? "hawa-opacity-50" : "hawa-cursor-pointer hawa-text-gray-900"
129
129
  )
130
130
  },
@@ -219,7 +219,7 @@ var Radio = ({
219
219
  "div",
220
220
  {
221
221
  key: i,
222
- className: "hawa-rounded hawa-border hawa-border-gray-200 "
222
+ className: "hawa-w-full hawa-rounded hawa-border hawa-border-gray-200"
223
223
  },
224
224
  /* @__PURE__ */ import_react2.default.createElement(
225
225
  "div",
@@ -246,7 +246,7 @@ var Radio = ({
246
246
  {
247
247
  htmlFor: opt.value.toString(),
248
248
  className: cn(
249
- "hawa-ml-2 hawa-w-full hawa-p-4 hawa-pl-3 hawa-text-sm hawa-font-medium dark:hawa-text-white",
249
+ "hawa-ml-2 hawa-w-full hawa-select-none hawa-p-4 hawa-pl-3 hawa-text-sm hawa-font-medium dark:hawa-text-white",
250
250
  opt.disabled ? "hawa-opacity-50" : "hawa-cursor-pointer hawa-text-gray-900"
251
251
  )
252
252
  },
@@ -180,7 +180,7 @@ var Radio = ({
180
180
  "div",
181
181
  {
182
182
  key: i,
183
- className: "hawa-rounded hawa-border hawa-border-gray-200 "
183
+ className: "hawa-w-full hawa-rounded hawa-border hawa-border-gray-200"
184
184
  },
185
185
  /* @__PURE__ */ React3.createElement(
186
186
  "div",
@@ -207,7 +207,7 @@ var Radio = ({
207
207
  {
208
208
  htmlFor: opt.value.toString(),
209
209
  className: cn(
210
- "hawa-ml-2 hawa-w-full hawa-p-4 hawa-pl-3 hawa-text-sm hawa-font-medium dark:hawa-text-white",
210
+ "hawa-ml-2 hawa-w-full hawa-select-none hawa-p-4 hawa-pl-3 hawa-text-sm hawa-font-medium dark:hawa-text-white",
211
211
  opt.disabled ? "hawa-opacity-50" : "hawa-cursor-pointer hawa-text-gray-900"
212
212
  )
213
213
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.24.10-next",
3
+ "version": "0.24.11-next",
4
4
  "description": "Modern UI Kit made with Tailwind",
5
5
  "author": {
6
6
  "name": "Sikka Software",