@sikka/hawa 0.24.10-next → 0.24.12-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
@@ -339,7 +339,7 @@ var CommandInput = React2.forwardRef(({ className, ...props }, ref) => /* @__PUR
339
339
  strokeWidth: "2",
340
340
  strokeLinecap: "round",
341
341
  strokeLinejoin: "round",
342
- className: "hawa-icon hawa-mr-2 hawa-shrink-0 hawa-opacity-50"
342
+ className: "hawa-icon hawa-me-2 hawa-shrink-0 hawa-opacity-50"
343
343
  },
344
344
  /* @__PURE__ */ React2.createElement("circle", { cx: "11", cy: "11", r: "8" }),
345
345
  /* @__PURE__ */ React2.createElement("path", { d: "m21 21-4.3-4.3" })
@@ -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
  },
@@ -1720,7 +1720,7 @@ var CommandInput = React25.forwardRef(({ className, ...props }, ref) => /* @__PU
1720
1720
  strokeWidth: "2",
1721
1721
  strokeLinecap: "round",
1722
1722
  strokeLinejoin: "round",
1723
- className: "hawa-icon hawa-mr-2 hawa-shrink-0 hawa-opacity-50"
1723
+ className: "hawa-icon hawa-me-2 hawa-shrink-0 hawa-opacity-50"
1724
1724
  },
1725
1725
  /* @__PURE__ */ React25.createElement("circle", { cx: "11", cy: "11", r: "8" }),
1726
1726
  /* @__PURE__ */ React25.createElement("path", { d: "m21 21-4.3-4.3" })
@@ -1835,6 +1835,7 @@ var Combobox = React27.forwardRef(
1835
1835
  valueKey = "value",
1836
1836
  defaultValue = "",
1837
1837
  popoverClassName,
1838
+ direction,
1838
1839
  labelProps,
1839
1840
  data,
1840
1841
  ...props
@@ -1913,7 +1914,8 @@ var Combobox = React27.forwardRef(
1913
1914
  PopoverContent,
1914
1915
  {
1915
1916
  sideOffset: 0,
1916
- className: cn("popover-w-parent", props.helperText && "-hawa-mt-4")
1917
+ className: cn("popover-w-parent", props.helperText && "-hawa-mt-4"),
1918
+ dir: direction
1917
1919
  },
1918
1920
  /* @__PURE__ */ React27.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React27.createElement(
1919
1921
  CommandInput,
@@ -1949,7 +1951,7 @@ var Combobox = React27.forwardRef(
1949
1951
  strokeLinecap: "round",
1950
1952
  strokeLinejoin: "round",
1951
1953
  className: cn(
1952
- "hawa-icon hawa-mr-2",
1954
+ "hawa-icon hawa-me-2",
1953
1955
  value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
1954
1956
  )
1955
1957
  },
@@ -1604,7 +1604,7 @@ var CommandInput = React23.forwardRef(({ className, ...props }, ref) => /* @__PU
1604
1604
  strokeWidth: "2",
1605
1605
  strokeLinecap: "round",
1606
1606
  strokeLinejoin: "round",
1607
- className: "hawa-icon hawa-mr-2 hawa-shrink-0 hawa-opacity-50"
1607
+ className: "hawa-icon hawa-me-2 hawa-shrink-0 hawa-opacity-50"
1608
1608
  },
1609
1609
  /* @__PURE__ */ React23.createElement("circle", { cx: "11", cy: "11", r: "8" }),
1610
1610
  /* @__PURE__ */ React23.createElement("path", { d: "m21 21-4.3-4.3" })
@@ -1719,6 +1719,7 @@ var Combobox = React25.forwardRef(
1719
1719
  valueKey = "value",
1720
1720
  defaultValue = "",
1721
1721
  popoverClassName,
1722
+ direction,
1722
1723
  labelProps,
1723
1724
  data,
1724
1725
  ...props
@@ -1797,7 +1798,8 @@ var Combobox = React25.forwardRef(
1797
1798
  PopoverContent,
1798
1799
  {
1799
1800
  sideOffset: 0,
1800
- className: cn("popover-w-parent", props.helperText && "-hawa-mt-4")
1801
+ className: cn("popover-w-parent", props.helperText && "-hawa-mt-4"),
1802
+ dir: direction
1801
1803
  },
1802
1804
  /* @__PURE__ */ React25.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React25.createElement(
1803
1805
  CommandInput,
@@ -1833,7 +1835,7 @@ var Combobox = React25.forwardRef(
1833
1835
  strokeLinecap: "round",
1834
1836
  strokeLinejoin: "round",
1835
1837
  className: cn(
1836
- "hawa-icon hawa-mr-2",
1838
+ "hawa-icon hawa-me-2",
1837
1839
  value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
1838
1840
  )
1839
1841
  },
@@ -1,5 +1,6 @@
1
1
  import * as React from 'react';
2
2
 
3
+ type DirectionType = "rtl" | "ltr";
3
4
  type PositionType = "top" | "bottom" | "right" | "left";
4
5
 
5
6
  type LabelProps = {
@@ -26,6 +27,7 @@ type ComboboxTypes<T> = {
26
27
  defaultValue?: string;
27
28
  preview?: boolean;
28
29
  hideInput?: boolean;
30
+ direction?: DirectionType;
29
31
  id?: string;
30
32
  /** The label of the input field */
31
33
  label?: any;
@@ -1,5 +1,6 @@
1
1
  import * as React from 'react';
2
2
 
3
+ type DirectionType = "rtl" | "ltr";
3
4
  type PositionType = "top" | "bottom" | "right" | "left";
4
5
 
5
6
  type LabelProps = {
@@ -26,6 +27,7 @@ type ComboboxTypes<T> = {
26
27
  defaultValue?: string;
27
28
  preview?: boolean;
28
29
  hideInput?: boolean;
30
+ direction?: DirectionType;
29
31
  id?: string;
30
32
  /** The label of the input field */
31
33
  label?: any;
@@ -375,7 +375,7 @@ var CommandInput = React2.forwardRef(({ className, ...props }, ref) => /* @__PUR
375
375
  strokeWidth: "2",
376
376
  strokeLinecap: "round",
377
377
  strokeLinejoin: "round",
378
- className: "hawa-icon hawa-mr-2 hawa-shrink-0 hawa-opacity-50"
378
+ className: "hawa-icon hawa-me-2 hawa-shrink-0 hawa-opacity-50"
379
379
  },
380
380
  /* @__PURE__ */ React2.createElement("circle", { cx: "11", cy: "11", r: "8" }),
381
381
  /* @__PURE__ */ React2.createElement("path", { d: "m21 21-4.3-4.3" })
@@ -602,6 +602,7 @@ var Combobox = React7.forwardRef(
602
602
  valueKey = "value",
603
603
  defaultValue = "",
604
604
  popoverClassName,
605
+ direction,
605
606
  labelProps,
606
607
  data,
607
608
  ...props
@@ -680,7 +681,8 @@ var Combobox = React7.forwardRef(
680
681
  PopoverContent,
681
682
  {
682
683
  sideOffset: 0,
683
- className: cn("popover-w-parent", props.helperText && "-hawa-mt-4")
684
+ className: cn("popover-w-parent", props.helperText && "-hawa-mt-4"),
685
+ dir: direction
684
686
  },
685
687
  /* @__PURE__ */ React7.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React7.createElement(
686
688
  CommandInput,
@@ -716,7 +718,7 @@ var Combobox = React7.forwardRef(
716
718
  strokeLinecap: "round",
717
719
  strokeLinejoin: "round",
718
720
  className: cn(
719
- "hawa-icon hawa-mr-2",
721
+ "hawa-icon hawa-me-2",
720
722
  value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
721
723
  )
722
724
  },
@@ -5,7 +5,7 @@ import {
5
5
  CommandInput,
6
6
  CommandItem,
7
7
  cn
8
- } from "../chunk-62GI5F2P.mjs";
8
+ } from "../chunk-EYUG3GRC.mjs";
9
9
 
10
10
  // components/elements/combobox/Combobox.tsx
11
11
  import * as React5 from "react";
@@ -149,6 +149,7 @@ var Combobox = React5.forwardRef(
149
149
  valueKey = "value",
150
150
  defaultValue = "",
151
151
  popoverClassName,
152
+ direction,
152
153
  labelProps,
153
154
  data,
154
155
  ...props
@@ -227,7 +228,8 @@ var Combobox = React5.forwardRef(
227
228
  PopoverContent,
228
229
  {
229
230
  sideOffset: 0,
230
- className: cn("popover-w-parent", props.helperText && "-hawa-mt-4")
231
+ className: cn("popover-w-parent", props.helperText && "-hawa-mt-4"),
232
+ dir: direction
231
233
  },
232
234
  /* @__PURE__ */ React5.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React5.createElement(
233
235
  CommandInput,
@@ -263,7 +265,7 @@ var Combobox = React5.forwardRef(
263
265
  strokeLinecap: "round",
264
266
  strokeLinejoin: "round",
265
267
  className: cn(
266
- "hawa-icon hawa-mr-2",
268
+ "hawa-icon hawa-me-2",
267
269
  value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
268
270
  )
269
271
  },
@@ -383,7 +383,7 @@ var CommandInput = React2.forwardRef(({ className, ...props }, ref) => /* @__PUR
383
383
  strokeWidth: "2",
384
384
  strokeLinecap: "round",
385
385
  strokeLinejoin: "round",
386
- className: "hawa-icon hawa-mr-2 hawa-shrink-0 hawa-opacity-50"
386
+ className: "hawa-icon hawa-me-2 hawa-shrink-0 hawa-opacity-50"
387
387
  },
388
388
  /* @__PURE__ */ React2.createElement("circle", { cx: "11", cy: "11", r: "8" }),
389
389
  /* @__PURE__ */ React2.createElement("path", { d: "m21 21-4.3-4.3" })
@@ -8,7 +8,7 @@ import {
8
8
  CommandList,
9
9
  CommandSeparator,
10
10
  CommandShortcut
11
- } from "../chunk-62GI5F2P.mjs";
11
+ } from "../chunk-EYUG3GRC.mjs";
12
12
  export {
13
13
  Command,
14
14
  CommandDialog,
@@ -368,6 +368,7 @@ type ComboboxTypes<T> = {
368
368
  defaultValue?: string;
369
369
  preview?: boolean;
370
370
  hideInput?: boolean;
371
+ direction?: DirectionType;
371
372
  id?: string;
372
373
  /** The label of the input field */
373
374
  label?: any;
@@ -368,6 +368,7 @@ type ComboboxTypes<T> = {
368
368
  defaultValue?: string;
369
369
  preview?: boolean;
370
370
  hideInput?: boolean;
371
+ direction?: DirectionType;
371
372
  id?: string;
372
373
  /** The label of the input field */
373
374
  label?: any;
@@ -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
  },
@@ -3117,7 +3117,7 @@ var CommandInput = React25.forwardRef(({ className, ...props }, ref) => /* @__PU
3117
3117
  strokeWidth: "2",
3118
3118
  strokeLinecap: "round",
3119
3119
  strokeLinejoin: "round",
3120
- className: "hawa-icon hawa-mr-2 hawa-shrink-0 hawa-opacity-50"
3120
+ className: "hawa-icon hawa-me-2 hawa-shrink-0 hawa-opacity-50"
3121
3121
  },
3122
3122
  /* @__PURE__ */ React25.createElement("circle", { cx: "11", cy: "11", r: "8" }),
3123
3123
  /* @__PURE__ */ React25.createElement("path", { d: "m21 21-4.3-4.3" })
@@ -3273,6 +3273,7 @@ var Combobox = React27.forwardRef(
3273
3273
  valueKey = "value",
3274
3274
  defaultValue = "",
3275
3275
  popoverClassName,
3276
+ direction,
3276
3277
  labelProps,
3277
3278
  data,
3278
3279
  ...props
@@ -3351,7 +3352,8 @@ var Combobox = React27.forwardRef(
3351
3352
  PopoverContent,
3352
3353
  {
3353
3354
  sideOffset: 0,
3354
- className: cn("popover-w-parent", props.helperText && "-hawa-mt-4")
3355
+ className: cn("popover-w-parent", props.helperText && "-hawa-mt-4"),
3356
+ dir: direction
3355
3357
  },
3356
3358
  /* @__PURE__ */ React27.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React27.createElement(
3357
3359
  CommandInput,
@@ -3387,7 +3389,7 @@ var Combobox = React27.forwardRef(
3387
3389
  strokeLinecap: "round",
3388
3390
  strokeLinejoin: "round",
3389
3391
  className: cn(
3390
- "hawa-icon hawa-mr-2",
3392
+ "hawa-icon hawa-me-2",
3391
3393
  value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
3392
3394
  )
3393
3395
  },
@@ -4015,7 +4017,7 @@ var Checkbox = ({
4015
4017
  let labelLineHeightStyles = {
4016
4018
  xs: sublabel || helperText ? 0.5 : 0.1,
4017
4019
  sm: 0.6,
4018
- default: 0.7,
4020
+ default: 1,
4019
4021
  md: 0.8,
4020
4022
  lg: 0.9,
4021
4023
  xl: 1
@@ -4025,8 +4027,7 @@ var Checkbox = ({
4025
4027
  {
4026
4028
  className: cn(
4027
4029
  "hawa-flex hawa-gap-2",
4028
- "hawa-items-top",
4029
- sublabel || helperText ? "hawa-items-top" : "hawa-items-center"
4030
+ size === "default" ? "hawa-items-top" : "hawa-items-center"
4030
4031
  )
4031
4032
  },
4032
4033
  /* @__PURE__ */ React34.createElement(
@@ -4039,16 +4040,17 @@ var Checkbox = ({
4039
4040
  id
4040
4041
  }
4041
4042
  ),
4042
- (label || helperText) && /* @__PURE__ */ React34.createElement("div", { className: "hawa-grid hawa-gap-1.5 hawa-leading-none" }, label && /* @__PURE__ */ React34.createElement(
4043
+ (label || helperText) && /* @__PURE__ */ React34.createElement("div", { className: "hawa-grid hawa-gap-1.5" }, label && /* @__PURE__ */ React34.createElement(
4043
4044
  "label",
4044
4045
  {
4045
4046
  htmlFor: id,
4046
4047
  className: cn(
4047
- "hawa-w-fit hawa-select-none hawa-pt-0.5 hawa-text-sm hawa-font-medium hawa-leading-none",
4048
+ "hawa-w-fit hawa-select-none hawa-pt-0.5 hawa-text-sm hawa-font-medium",
4048
4049
  disabled ? "hawa-cursor-not-allowed hawa-text-muted-foreground hawa-opacity-70 " : "hawa-cursor-pointer"
4049
4050
  ),
4050
4051
  style: {
4051
- lineHeight: labelLineHeightStyles[size]
4052
+ // lineHeight: labelLineHeightStyles[size]
4053
+ lineHeight: 1
4052
4054
  }
4053
4055
  },
4054
4056
  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,
@@ -1355,7 +1355,7 @@ var CommandInput = React12.forwardRef(({ className, ...props }, ref) => /* @__PU
1355
1355
  strokeWidth: "2",
1356
1356
  strokeLinecap: "round",
1357
1357
  strokeLinejoin: "round",
1358
- className: "hawa-icon hawa-mr-2 hawa-shrink-0 hawa-opacity-50"
1358
+ className: "hawa-icon hawa-me-2 hawa-shrink-0 hawa-opacity-50"
1359
1359
  },
1360
1360
  /* @__PURE__ */ React12.createElement("circle", { cx: "11", cy: "11", r: "8" }),
1361
1361
  /* @__PURE__ */ React12.createElement("path", { d: "m21 21-4.3-4.3" })
@@ -1451,6 +1451,7 @@ var Combobox = React13.forwardRef(
1451
1451
  valueKey = "value",
1452
1452
  defaultValue = "",
1453
1453
  popoverClassName,
1454
+ direction,
1454
1455
  labelProps,
1455
1456
  data,
1456
1457
  ...props
@@ -1529,7 +1530,8 @@ var Combobox = React13.forwardRef(
1529
1530
  PopoverContent,
1530
1531
  {
1531
1532
  sideOffset: 0,
1532
- className: cn("popover-w-parent", props.helperText && "-hawa-mt-4")
1533
+ className: cn("popover-w-parent", props.helperText && "-hawa-mt-4"),
1534
+ dir: direction
1533
1535
  },
1534
1536
  /* @__PURE__ */ React13.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React13.createElement(
1535
1537
  CommandInput,
@@ -1565,7 +1567,7 @@ var Combobox = React13.forwardRef(
1565
1567
  strokeLinecap: "round",
1566
1568
  strokeLinejoin: "round",
1567
1569
  className: cn(
1568
- "hawa-icon hawa-mr-2",
1570
+ "hawa-icon hawa-me-2",
1569
1571
  value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
1570
1572
  )
1571
1573
  },
package/dist/index.css CHANGED
@@ -1216,6 +1216,9 @@ input[type="number"]::-webkit-inner-spin-button,
1216
1216
  .hawa-mb-5 {
1217
1217
  margin-bottom: 1.25rem;
1218
1218
  }
1219
+ .hawa-me-2 {
1220
+ margin-inline-end: 0.5rem;
1221
+ }
1219
1222
  .hawa-ml-0 {
1220
1223
  margin-left: 0px;
1221
1224
  }
package/dist/index.d.mts CHANGED
@@ -527,6 +527,7 @@ type ComboboxTypes<T> = {
527
527
  defaultValue?: string;
528
528
  preview?: boolean;
529
529
  hideInput?: boolean;
530
+ direction?: DirectionType;
530
531
  id?: string;
531
532
  /** The label of the input field */
532
533
  label?: any;
package/dist/index.d.ts CHANGED
@@ -527,6 +527,7 @@ type ComboboxTypes<T> = {
527
527
  defaultValue?: string;
528
528
  preview?: boolean;
529
529
  hideInput?: boolean;
530
+ direction?: DirectionType;
530
531
  id?: string;
531
532
  /** The label of the input field */
532
533
  label?: any;
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
  },
@@ -3183,7 +3183,7 @@ var CommandInput = React25.forwardRef(({ className, ...props }, ref) => /* @__PU
3183
3183
  strokeWidth: "2",
3184
3184
  strokeLinecap: "round",
3185
3185
  strokeLinejoin: "round",
3186
- className: "hawa-icon hawa-mr-2 hawa-shrink-0 hawa-opacity-50"
3186
+ className: "hawa-icon hawa-me-2 hawa-shrink-0 hawa-opacity-50"
3187
3187
  },
3188
3188
  /* @__PURE__ */ React25.createElement("circle", { cx: "11", cy: "11", r: "8" }),
3189
3189
  /* @__PURE__ */ React25.createElement("path", { d: "m21 21-4.3-4.3" })
@@ -3339,6 +3339,7 @@ var Combobox = React27.forwardRef(
3339
3339
  valueKey = "value",
3340
3340
  defaultValue = "",
3341
3341
  popoverClassName,
3342
+ direction,
3342
3343
  labelProps,
3343
3344
  data,
3344
3345
  ...props
@@ -3417,7 +3418,8 @@ var Combobox = React27.forwardRef(
3417
3418
  PopoverContent,
3418
3419
  {
3419
3420
  sideOffset: 0,
3420
- className: cn("popover-w-parent", props.helperText && "-hawa-mt-4")
3421
+ className: cn("popover-w-parent", props.helperText && "-hawa-mt-4"),
3422
+ dir: direction
3421
3423
  },
3422
3424
  /* @__PURE__ */ React27.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React27.createElement(
3423
3425
  CommandInput,
@@ -3453,7 +3455,7 @@ var Combobox = React27.forwardRef(
3453
3455
  strokeLinecap: "round",
3454
3456
  strokeLinejoin: "round",
3455
3457
  className: cn(
3456
- "hawa-icon hawa-mr-2",
3458
+ "hawa-icon hawa-me-2",
3457
3459
  value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
3458
3460
  )
3459
3461
  },
@@ -4081,7 +4083,7 @@ var Checkbox = ({
4081
4083
  let labelLineHeightStyles = {
4082
4084
  xs: sublabel || helperText ? 0.5 : 0.1,
4083
4085
  sm: 0.6,
4084
- default: 0.7,
4086
+ default: 1,
4085
4087
  md: 0.8,
4086
4088
  lg: 0.9,
4087
4089
  xl: 1
@@ -4091,8 +4093,7 @@ var Checkbox = ({
4091
4093
  {
4092
4094
  className: cn(
4093
4095
  "hawa-flex hawa-gap-2",
4094
- "hawa-items-top",
4095
- sublabel || helperText ? "hawa-items-top" : "hawa-items-center"
4096
+ size === "default" ? "hawa-items-top" : "hawa-items-center"
4096
4097
  )
4097
4098
  },
4098
4099
  /* @__PURE__ */ React34.createElement(
@@ -4105,16 +4106,17 @@ var Checkbox = ({
4105
4106
  id
4106
4107
  }
4107
4108
  ),
4108
- (label || helperText) && /* @__PURE__ */ React34.createElement("div", { className: "hawa-grid hawa-gap-1.5 hawa-leading-none" }, label && /* @__PURE__ */ React34.createElement(
4109
+ (label || helperText) && /* @__PURE__ */ React34.createElement("div", { className: "hawa-grid hawa-gap-1.5" }, label && /* @__PURE__ */ React34.createElement(
4109
4110
  "label",
4110
4111
  {
4111
4112
  htmlFor: id,
4112
4113
  className: cn(
4113
- "hawa-w-fit hawa-select-none hawa-pt-0.5 hawa-text-sm hawa-font-medium hawa-leading-none",
4114
+ "hawa-w-fit hawa-select-none hawa-pt-0.5 hawa-text-sm hawa-font-medium",
4114
4115
  disabled ? "hawa-cursor-not-allowed hawa-text-muted-foreground hawa-opacity-70 " : "hawa-cursor-pointer"
4115
4116
  ),
4116
4117
  style: {
4117
- lineHeight: labelLineHeightStyles[size]
4118
+ // lineHeight: labelLineHeightStyles[size]
4119
+ lineHeight: 1
4118
4120
  }
4119
4121
  },
4120
4122
  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
  },
@@ -2950,7 +2950,7 @@ var CommandInput = React25.forwardRef(({ className, ...props }, ref) => /* @__PU
2950
2950
  strokeWidth: "2",
2951
2951
  strokeLinecap: "round",
2952
2952
  strokeLinejoin: "round",
2953
- className: "hawa-icon hawa-mr-2 hawa-shrink-0 hawa-opacity-50"
2953
+ className: "hawa-icon hawa-me-2 hawa-shrink-0 hawa-opacity-50"
2954
2954
  },
2955
2955
  /* @__PURE__ */ React25.createElement("circle", { cx: "11", cy: "11", r: "8" }),
2956
2956
  /* @__PURE__ */ React25.createElement("path", { d: "m21 21-4.3-4.3" })
@@ -3106,6 +3106,7 @@ var Combobox = React27.forwardRef(
3106
3106
  valueKey = "value",
3107
3107
  defaultValue = "",
3108
3108
  popoverClassName,
3109
+ direction,
3109
3110
  labelProps,
3110
3111
  data,
3111
3112
  ...props
@@ -3184,7 +3185,8 @@ var Combobox = React27.forwardRef(
3184
3185
  PopoverContent,
3185
3186
  {
3186
3187
  sideOffset: 0,
3187
- className: cn("popover-w-parent", props.helperText && "-hawa-mt-4")
3188
+ className: cn("popover-w-parent", props.helperText && "-hawa-mt-4"),
3189
+ dir: direction
3188
3190
  },
3189
3191
  /* @__PURE__ */ React27.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React27.createElement(
3190
3192
  CommandInput,
@@ -3220,7 +3222,7 @@ var Combobox = React27.forwardRef(
3220
3222
  strokeLinecap: "round",
3221
3223
  strokeLinejoin: "round",
3222
3224
  className: cn(
3223
- "hawa-icon hawa-mr-2",
3225
+ "hawa-icon hawa-me-2",
3224
3226
  value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
3225
3227
  )
3226
3228
  },
@@ -3848,7 +3850,7 @@ var Checkbox = ({
3848
3850
  let labelLineHeightStyles = {
3849
3851
  xs: sublabel || helperText ? 0.5 : 0.1,
3850
3852
  sm: 0.6,
3851
- default: 0.7,
3853
+ default: 1,
3852
3854
  md: 0.8,
3853
3855
  lg: 0.9,
3854
3856
  xl: 1
@@ -3858,8 +3860,7 @@ var Checkbox = ({
3858
3860
  {
3859
3861
  className: cn(
3860
3862
  "hawa-flex hawa-gap-2",
3861
- "hawa-items-top",
3862
- sublabel || helperText ? "hawa-items-top" : "hawa-items-center"
3863
+ size === "default" ? "hawa-items-top" : "hawa-items-center"
3863
3864
  )
3864
3865
  },
3865
3866
  /* @__PURE__ */ React34.createElement(
@@ -3872,16 +3873,17 @@ var Checkbox = ({
3872
3873
  id
3873
3874
  }
3874
3875
  ),
3875
- (label || helperText) && /* @__PURE__ */ React34.createElement("div", { className: "hawa-grid hawa-gap-1.5 hawa-leading-none" }, label && /* @__PURE__ */ React34.createElement(
3876
+ (label || helperText) && /* @__PURE__ */ React34.createElement("div", { className: "hawa-grid hawa-gap-1.5" }, label && /* @__PURE__ */ React34.createElement(
3876
3877
  "label",
3877
3878
  {
3878
3879
  htmlFor: id,
3879
3880
  className: cn(
3880
- "hawa-w-fit hawa-select-none hawa-pt-0.5 hawa-text-sm hawa-font-medium hawa-leading-none",
3881
+ "hawa-w-fit hawa-select-none hawa-pt-0.5 hawa-text-sm hawa-font-medium",
3881
3882
  disabled ? "hawa-cursor-not-allowed hawa-text-muted-foreground hawa-opacity-70 " : "hawa-cursor-pointer"
3882
3883
  ),
3883
3884
  style: {
3884
- lineHeight: labelLineHeightStyles[size]
3885
+ // lineHeight: labelLineHeightStyles[size]
3886
+ lineHeight: 1
3885
3887
  }
3886
3888
  },
3887
3889
  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.12-next",
4
4
  "description": "Modern UI Kit made with Tailwind",
5
5
  "author": {
6
6
  "name": "Sikka Software",