@sikka/hawa 0.24.11-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.
@@ -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" })
@@ -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;
@@ -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
  },
@@ -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
@@ -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
  },
package/dist/index.mjs CHANGED
@@ -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
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.24.11-next",
3
+ "version": "0.24.12-next",
4
4
  "description": "Modern UI Kit made with Tailwind",
5
5
  "author": {
6
6
  "name": "Sikka Software",