@sikka/hawa 0.32.2-next → 0.33.0-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.
Files changed (136) hide show
  1. package/dist/{Chip-BT2hUlGJ.d.mts → Chip-BtgTAs8x.d.mts} +1 -1
  2. package/dist/{Chip-Dt7zJ-jZ.d.ts → Chip-DQsP5hFS.d.ts} +1 -1
  3. package/dist/Label-UbMDLtJF.d.mts +14 -0
  4. package/dist/Label-UbMDLtJF.d.ts +14 -0
  5. package/dist/alert/index.js +151 -34
  6. package/dist/alert/index.js.map +1 -1
  7. package/dist/alert/index.mjs +148 -31
  8. package/dist/alert/index.mjs.map +1 -1
  9. package/dist/appLayout/index.js +191 -145
  10. package/dist/appLayout/index.js.map +1 -1
  11. package/dist/appLayout/index.mjs +226 -180
  12. package/dist/appLayout/index.mjs.map +1 -1
  13. package/dist/backToTop/index.js +147 -30
  14. package/dist/backToTop/index.js.map +1 -1
  15. package/dist/backToTop/index.mjs +142 -25
  16. package/dist/backToTop/index.mjs.map +1 -1
  17. package/dist/blocks/auth/index.js +230 -229
  18. package/dist/blocks/auth/index.mjs +4 -4
  19. package/dist/blocks/feedback/index.js +147 -148
  20. package/dist/blocks/feedback/index.mjs +5 -5
  21. package/dist/blocks/index.js +230 -229
  22. package/dist/blocks/index.mjs +3 -3
  23. package/dist/blocks/misc/index.js +155 -154
  24. package/dist/blocks/misc/index.mjs +5 -5
  25. package/dist/blocks/pricing/index.js +174 -173
  26. package/dist/blocks/pricing/index.mjs +4 -4
  27. package/dist/button/index.d.mts +3 -2
  28. package/dist/button/index.d.ts +3 -2
  29. package/dist/button/index.js +138 -21
  30. package/dist/button/index.js.map +1 -1
  31. package/dist/button/index.mjs +138 -21
  32. package/dist/button/index.mjs.map +1 -1
  33. package/dist/calendar/index.d.mts +15 -0
  34. package/dist/calendar/index.d.ts +15 -0
  35. package/dist/calendar/index.js +545 -0
  36. package/dist/calendar/index.js.map +1 -0
  37. package/dist/calendar/index.mjs +509 -0
  38. package/dist/calendar/index.mjs.map +1 -0
  39. package/dist/{chunk-WFPAI2QC.mjs → chunk-3HJ3JXPA.mjs} +130 -174
  40. package/dist/{chunk-XRUPXLOK.mjs → chunk-AW5FW5TY.mjs} +1 -1
  41. package/dist/{chunk-MQWYXMSK.mjs → chunk-CKLK3G32.mjs} +242 -197
  42. package/dist/{chunk-XZLXGXIA.mjs → chunk-E3WWI4I5.mjs} +1 -1
  43. package/dist/{chunk-WUMWQIAW.mjs → chunk-FRYGQYUO.mjs} +1 -1
  44. package/dist/{chunk-S6TZHTWS.mjs → chunk-GEB3LM5A.mjs} +1 -1
  45. package/dist/{chunk-2QAGLSHC.mjs → chunk-IQEBXGLM.mjs} +1 -1
  46. package/dist/{chunk-PA3Z7W32.mjs → chunk-OS2UOK5C.mjs} +147 -146
  47. package/dist/{chunk-3S44N7SB.mjs → chunk-RTGD7N7I.mjs} +1 -1
  48. package/dist/{chunk-WAVKQ44V.mjs → chunk-UBNCETCU.mjs} +1 -1
  49. package/dist/codeBlock/index.js +138 -92
  50. package/dist/codeBlock/index.js.map +1 -1
  51. package/dist/codeBlock/index.mjs +157 -111
  52. package/dist/codeBlock/index.mjs.map +1 -1
  53. package/dist/commonTypes-CgDwjGvU.d.mts +5 -0
  54. package/dist/commonTypes-CgDwjGvU.d.ts +5 -0
  55. package/dist/commonTypes-DZdITB5m.d.mts +4 -0
  56. package/dist/commonTypes-DZdITB5m.d.ts +4 -0
  57. package/dist/dataTable/index.d.mts +2 -1
  58. package/dist/dataTable/index.d.ts +2 -1
  59. package/dist/dataTable/index.js +177 -174
  60. package/dist/dataTable/index.js.map +1 -1
  61. package/dist/dataTable/index.mjs +177 -174
  62. package/dist/dataTable/index.mjs.map +1 -1
  63. package/dist/datePicker/index.d.mts +20 -0
  64. package/dist/datePicker/index.d.ts +20 -0
  65. package/dist/datePicker/index.js +630 -0
  66. package/dist/datePicker/index.js.map +1 -0
  67. package/dist/datePicker/index.mjs +593 -0
  68. package/dist/datePicker/index.mjs.map +1 -0
  69. package/dist/destroyableCard/index.d.mts +1 -1
  70. package/dist/destroyableCard/index.d.ts +1 -1
  71. package/dist/dialog/index.d.mts +1 -1
  72. package/dist/dialog/index.d.ts +1 -1
  73. package/dist/docsLayout/index.js +231 -114
  74. package/dist/docsLayout/index.js.map +1 -1
  75. package/dist/docsLayout/index.mjs +222 -105
  76. package/dist/docsLayout/index.mjs.map +1 -1
  77. package/dist/dropdownMenu/index.d.mts +1 -6
  78. package/dist/dropdownMenu/index.d.ts +1 -6
  79. package/dist/elements/index.d.mts +9 -8
  80. package/dist/elements/index.d.ts +9 -8
  81. package/dist/elements/index.js +54 -51
  82. package/dist/elements/index.mjs +7 -5
  83. package/dist/fileDropzone/index.js +184 -67
  84. package/dist/fileDropzone/index.js.map +1 -1
  85. package/dist/fileDropzone/index.mjs +176 -59
  86. package/dist/fileDropzone/index.mjs.map +1 -1
  87. package/dist/index.css +83 -0
  88. package/dist/index.d.mts +1 -0
  89. package/dist/index.d.ts +1 -0
  90. package/dist/index.js +54 -51
  91. package/dist/index.mjs +74 -71
  92. package/dist/input/index.d.mts +1 -2
  93. package/dist/input/index.d.ts +1 -2
  94. package/dist/label/index.d.mts +2 -1
  95. package/dist/label/index.d.ts +2 -1
  96. package/dist/layout/index.d.mts +1 -1
  97. package/dist/layout/index.d.ts +1 -1
  98. package/dist/layout/index.js +204 -158
  99. package/dist/layout/index.mjs +2 -2
  100. package/dist/phoneInput/index.d.mts +1 -2
  101. package/dist/phoneInput/index.d.ts +1 -2
  102. package/dist/progress/index.d.mts +1 -8
  103. package/dist/progress/index.d.ts +1 -8
  104. package/dist/radio/index.d.mts +1 -9
  105. package/dist/radio/index.d.ts +1 -9
  106. package/dist/scrollArea/index.d.mts +1 -1
  107. package/dist/scrollArea/index.d.ts +1 -1
  108. package/dist/separator/index.d.mts +1 -1
  109. package/dist/separator/index.d.ts +1 -1
  110. package/dist/signature/index.d.mts +2 -1
  111. package/dist/signature/index.d.ts +2 -1
  112. package/dist/simpleTable/index.d.mts +1 -1
  113. package/dist/simpleTable/index.d.ts +1 -1
  114. package/dist/sortButton/index.js +145 -28
  115. package/dist/sortButton/index.js.map +1 -1
  116. package/dist/sortButton/index.mjs +145 -28
  117. package/dist/sortButton/index.mjs.map +1 -1
  118. package/dist/splitButton/index.d.mts +3 -2
  119. package/dist/splitButton/index.d.ts +3 -2
  120. package/dist/splitButton/index.js +145 -28
  121. package/dist/splitButton/index.js.map +1 -1
  122. package/dist/splitButton/index.mjs +145 -28
  123. package/dist/splitButton/index.mjs.map +1 -1
  124. package/dist/tabs/index.d.mts +1 -1
  125. package/dist/tabs/index.d.ts +1 -1
  126. package/dist/textarea/index.d.mts +1 -1
  127. package/dist/textarea/index.d.ts +1 -1
  128. package/dist/toast/index.d.mts +1 -1
  129. package/dist/toast/index.d.ts +1 -1
  130. package/dist/toaster/index.d.mts +22 -4
  131. package/dist/toaster/index.d.ts +22 -4
  132. package/package.json +3 -1
  133. package/dist/commonTypes-CMqMLkhN.d.mts +0 -4
  134. package/dist/commonTypes-CMqMLkhN.d.ts +0 -4
  135. package/dist/commonTypes-D_7LV7Ri.d.mts +0 -5
  136. package/dist/commonTypes-D_7LV7Ri.d.ts +0 -5
package/dist/index.mjs CHANGED
@@ -1985,11 +1985,56 @@ DialogContent.displayName = DialogPrimitive.Content.displayName;
1985
1985
  DialogDescription.displayName = DialogPrimitive.Description.displayName;
1986
1986
 
1987
1987
  // elements/alert/Alert.tsx
1988
- import React16, { useRef, useState as useState3, useEffect as useEffect2 } from "react";
1988
+ import React17, { useRef, useState as useState3, useEffect as useEffect2 } from "react";
1989
1989
 
1990
1990
  // elements/button/Button.tsx
1991
- import * as React15 from "react";
1991
+ import * as React16 from "react";
1992
1992
  import { cva as cva3 } from "class-variance-authority";
1993
+
1994
+ // elements/label/Label.tsx
1995
+ import * as React15 from "react";
1996
+ var Label2 = React15.forwardRef(({ className, hint, hintSide, required, children, ...props }, ref) => /* @__PURE__ */ React15.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-1 hawa-transition-all" }, /* @__PURE__ */ React15.createElement(
1997
+ "label",
1998
+ {
1999
+ ref,
2000
+ className: cn(
2001
+ "hawa-text-sm hawa-font-medium hawa-leading-none peer-disabled:hawa-cursor-not-allowed peer-disabled:hawa-opacity-70",
2002
+ className
2003
+ ),
2004
+ ...props
2005
+ },
2006
+ children,
2007
+ required && /* @__PURE__ */ React15.createElement("span", { className: "hawa-mx-0.5 hawa-text-red-500" }, "*")
2008
+ ), hint && /* @__PURE__ */ React15.createElement(
2009
+ Tooltip,
2010
+ {
2011
+ content: hint,
2012
+ side: hintSide,
2013
+ triggerProps: {
2014
+ tabIndex: -1,
2015
+ onClick: (event) => event.preventDefault()
2016
+ }
2017
+ },
2018
+ /* @__PURE__ */ React15.createElement("div", null, /* @__PURE__ */ React15.createElement(
2019
+ "svg",
2020
+ {
2021
+ xmlns: "http://www.w3.org/2000/svg",
2022
+ className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
2023
+ viewBox: "0 0 24 24",
2024
+ fill: "none",
2025
+ stroke: "currentColor",
2026
+ strokeWidth: "2",
2027
+ strokeLinecap: "round",
2028
+ strokeLinejoin: "round"
2029
+ },
2030
+ /* @__PURE__ */ React15.createElement("circle", { cx: "12", cy: "12", r: "10" }),
2031
+ /* @__PURE__ */ React15.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
2032
+ /* @__PURE__ */ React15.createElement("path", { d: "M12 17h.01" })
2033
+ ))
2034
+ )));
2035
+ Label2.displayName = "Label";
2036
+
2037
+ // elements/button/Button.tsx
1993
2038
  var buttonVariants = cva3(
1994
2039
  "hawa-inline-flex hawa-items-center hawa-select-none hawa-rounded-md hawa-text-sm hawa-font-medium hawa-ring-offset-background hawa-transition-colors focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-pointer-events-none disabled:hawa-opacity-50",
1995
2040
  {
@@ -2023,9 +2068,10 @@ var buttonVariants = cva3(
2023
2068
  }
2024
2069
  }
2025
2070
  );
2026
- var Button = React15.forwardRef(
2071
+ var Button = React16.forwardRef(
2027
2072
  ({
2028
2073
  className,
2074
+ label,
2029
2075
  variant,
2030
2076
  size,
2031
2077
  asChild = false,
@@ -2036,7 +2082,7 @@ var Button = React15.forwardRef(
2036
2082
  }, ref) => {
2037
2083
  const Comp = "button";
2038
2084
  const loadingColor = variant === "outline" || variant === "ghost" || variant === "neoBrutalism" ? "hawa-bg-primary" : "hawa-bg-primary-foreground";
2039
- return /* @__PURE__ */ React15.createElement(
2085
+ return /* @__PURE__ */ React16.createElement("div", { className: "flex flex-col" }, label && /* @__PURE__ */ React16.createElement(Label2, { className: "hawa-mb-2" }, label), /* @__PURE__ */ React16.createElement(
2040
2086
  Comp,
2041
2087
  {
2042
2088
  className: cn(
@@ -2046,7 +2092,7 @@ var Button = React15.forwardRef(
2046
2092
  ref,
2047
2093
  ...props
2048
2094
  },
2049
- isLoading ? /* @__PURE__ */ React15.createElement(
2095
+ isLoading ? /* @__PURE__ */ React16.createElement(
2050
2096
  Loading,
2051
2097
  {
2052
2098
  design: size === "icon" || size === "smallIcon" ? "spinner" : "dots-pulse",
@@ -2055,7 +2101,7 @@ var Button = React15.forwardRef(
2055
2101
  size: size === "sm" || size === "xs" ? "xs" : "button"
2056
2102
  }
2057
2103
  ) : children
2058
- );
2104
+ ));
2059
2105
  }
2060
2106
  );
2061
2107
  Button.displayName = "Button";
@@ -2106,7 +2152,7 @@ var Alert = ({
2106
2152
  hyper: "hawa-text-white hawa-bg-gradient-to-tl hawa-from-pink-700 hawa-via-red-500 hawa-to-yellow-600 ",
2107
2153
  oceanic: "hawa-text-white hawa-bg-gradient-to-bl hawa-from-green-500 hawa-via-blue-700 hawa-to-purple-500"
2108
2154
  };
2109
- return /* @__PURE__ */ React16.createElement("div", { ref: alertRef }, /* @__PURE__ */ React16.createElement(
2155
+ return /* @__PURE__ */ React17.createElement("div", { ref: alertRef }, /* @__PURE__ */ React17.createElement(
2110
2156
  "div",
2111
2157
  {
2112
2158
  "data-testid": "alert",
@@ -2120,13 +2166,13 @@ var Alert = ({
2120
2166
  className
2121
2167
  )
2122
2168
  },
2123
- /* @__PURE__ */ React16.createElement("div", { className: "hawa-flex hawa-flex-row" }, icon && /* @__PURE__ */ React16.createElement(
2169
+ /* @__PURE__ */ React17.createElement("div", { className: "hawa-flex hawa-flex-row" }, icon && /* @__PURE__ */ React17.createElement(
2124
2170
  "div",
2125
2171
  {
2126
2172
  className: direction === "rtl" ? "hawa-pl-2 hawa-pt-1" : "hawa-pr-2 hawa-pt-1"
2127
2173
  },
2128
2174
  icon
2129
- ), /* @__PURE__ */ React16.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React16.createElement(
2175
+ ), /* @__PURE__ */ React17.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React17.createElement(
2130
2176
  "span",
2131
2177
  {
2132
2178
  className: cn(
@@ -2135,7 +2181,7 @@ var Alert = ({
2135
2181
  )
2136
2182
  },
2137
2183
  props.title
2138
- ), /* @__PURE__ */ React16.createElement(
2184
+ ), /* @__PURE__ */ React17.createElement(
2139
2185
  "span",
2140
2186
  {
2141
2187
  className: cn(
@@ -2144,7 +2190,7 @@ var Alert = ({
2144
2190
  )
2145
2191
  },
2146
2192
  props.text
2147
- ), props.actions && /* @__PURE__ */ React16.createElement("div", { className: "hawa-mt-2 hawa-flex hawa-flex-row hawa-gap-2" }, props.actions.map((act, index) => /* @__PURE__ */ React16.createElement(
2193
+ ), props.actions && /* @__PURE__ */ React17.createElement("div", { className: "hawa-mt-2 hawa-flex hawa-flex-row hawa-gap-2" }, props.actions.map((act, index) => /* @__PURE__ */ React17.createElement(
2148
2194
  Button,
2149
2195
  {
2150
2196
  key: index,
@@ -2153,7 +2199,7 @@ var Alert = ({
2153
2199
  },
2154
2200
  act.label
2155
2201
  ))))),
2156
- !props.persistent && /* @__PURE__ */ React16.createElement(
2202
+ !props.persistent && /* @__PURE__ */ React17.createElement(
2157
2203
  "button",
2158
2204
  {
2159
2205
  type: "button",
@@ -2180,8 +2226,8 @@ var Alert = ({
2180
2226
  }
2181
2227
  }
2182
2228
  },
2183
- /* @__PURE__ */ React16.createElement("span", { className: "hawa-sr-only" }, "Close"),
2184
- /* @__PURE__ */ React16.createElement(
2229
+ /* @__PURE__ */ React17.createElement("span", { className: "hawa-sr-only" }, "Close"),
2230
+ /* @__PURE__ */ React17.createElement(
2185
2231
  "svg",
2186
2232
  {
2187
2233
  "aria-label": "Close Icon",
@@ -2190,7 +2236,7 @@ var Alert = ({
2190
2236
  fill: "currentColor",
2191
2237
  viewBox: "0 0 20 20"
2192
2238
  },
2193
- /* @__PURE__ */ React16.createElement(
2239
+ /* @__PURE__ */ React17.createElement(
2194
2240
  "path",
2195
2241
  {
2196
2242
  fillRule: "evenodd",
@@ -2204,10 +2250,10 @@ var Alert = ({
2204
2250
  };
2205
2251
 
2206
2252
  // elements/avatar/Avatar.tsx
2207
- import React18 from "react";
2253
+ import React19 from "react";
2208
2254
 
2209
2255
  // elements/fileUploader/FileUploader.tsx
2210
- import React17, { useRef as useRef2 } from "react";
2256
+ import React18, { useRef as useRef2 } from "react";
2211
2257
  var FileUploader = ({ handleFile, className }) => {
2212
2258
  const hiddenFileInput = useRef2(null);
2213
2259
  const handleClick = () => {
@@ -2218,7 +2264,7 @@ var FileUploader = ({ handleFile, className }) => {
2218
2264
  const fileUploaded = event.target.files[0];
2219
2265
  handleFile(fileUploaded);
2220
2266
  };
2221
- return /* @__PURE__ */ React17.createElement("div", { className }, /* @__PURE__ */ React17.createElement("div", { className: "hawa-h-full hawa-w-full", onClick: handleClick }), /* @__PURE__ */ React17.createElement(
2267
+ return /* @__PURE__ */ React18.createElement("div", { className }, /* @__PURE__ */ React18.createElement("div", { className: "hawa-h-full hawa-w-full", onClick: handleClick }), /* @__PURE__ */ React18.createElement(
2222
2268
  "input",
2223
2269
  {
2224
2270
  type: "file",
@@ -2259,7 +2305,7 @@ var Avatar = ({
2259
2305
  inherit: "hawa-rounded",
2260
2306
  none: "hawa-rounded-none"
2261
2307
  };
2262
- return /* @__PURE__ */ React18.createElement(
2308
+ return /* @__PURE__ */ React19.createElement(
2263
2309
  "div",
2264
2310
  {
2265
2311
  className: cn(
@@ -2269,7 +2315,7 @@ var Avatar = ({
2269
2315
  className
2270
2316
  )
2271
2317
  },
2272
- /* @__PURE__ */ React18.createElement(
2318
+ /* @__PURE__ */ React19.createElement(
2273
2319
  FileUploader,
2274
2320
  {
2275
2321
  className: cn(
@@ -2280,7 +2326,7 @@ var Avatar = ({
2280
2326
  )
2281
2327
  }
2282
2328
  ),
2283
- /* @__PURE__ */ React18.createElement(
2329
+ /* @__PURE__ */ React19.createElement(
2284
2330
  "img",
2285
2331
  {
2286
2332
  className: cn(
@@ -2293,7 +2339,7 @@ var Avatar = ({
2293
2339
  alt
2294
2340
  }
2295
2341
  ),
2296
- !src && !hideIcon && /* @__PURE__ */ React18.createElement(
2342
+ !src && !hideIcon && /* @__PURE__ */ React19.createElement(
2297
2343
  "div",
2298
2344
  {
2299
2345
  className: cn(
@@ -2301,7 +2347,7 @@ var Avatar = ({
2301
2347
  "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center"
2302
2348
  )
2303
2349
  },
2304
- icon ? icon : /* @__PURE__ */ React18.createElement(
2350
+ icon ? icon : /* @__PURE__ */ React19.createElement(
2305
2351
  "svg",
2306
2352
  {
2307
2353
  xmlns: "http://www.w3.org/2000/svg",
@@ -2313,8 +2359,8 @@ var Avatar = ({
2313
2359
  strokeLinecap: "round",
2314
2360
  strokeLinejoin: "round"
2315
2361
  },
2316
- /* @__PURE__ */ React18.createElement("circle", { cx: "12", cy: "8", r: "5" }),
2317
- /* @__PURE__ */ React18.createElement("path", { d: "M20 21a8 8 0 1 0-16 0" })
2362
+ /* @__PURE__ */ React19.createElement("circle", { cx: "12", cy: "8", r: "5" }),
2363
+ /* @__PURE__ */ React19.createElement("path", { d: "M20 21a8 8 0 1 0-16 0" })
2318
2364
  )
2319
2365
  )
2320
2366
  );
@@ -2334,51 +2380,6 @@ import {
2334
2380
 
2335
2381
  // elements/input/Input.tsx
2336
2382
  import React20, { forwardRef as forwardRef12 } from "react";
2337
-
2338
- // elements/label/Label.tsx
2339
- import * as React19 from "react";
2340
- var Label2 = React19.forwardRef(({ className, hint, hintSide, required, children, ...props }, ref) => /* @__PURE__ */ React19.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-1 hawa-transition-all" }, /* @__PURE__ */ React19.createElement(
2341
- "label",
2342
- {
2343
- ref,
2344
- className: cn(
2345
- "hawa-text-sm hawa-font-medium hawa-leading-none peer-disabled:hawa-cursor-not-allowed peer-disabled:hawa-opacity-70",
2346
- className
2347
- ),
2348
- ...props
2349
- },
2350
- children,
2351
- required && /* @__PURE__ */ React19.createElement("span", { className: "hawa-mx-0.5 hawa-text-red-500" }, "*")
2352
- ), hint && /* @__PURE__ */ React19.createElement(
2353
- Tooltip,
2354
- {
2355
- content: hint,
2356
- side: hintSide,
2357
- triggerProps: {
2358
- tabIndex: -1,
2359
- onClick: (event) => event.preventDefault()
2360
- }
2361
- },
2362
- /* @__PURE__ */ React19.createElement("div", null, /* @__PURE__ */ React19.createElement(
2363
- "svg",
2364
- {
2365
- xmlns: "http://www.w3.org/2000/svg",
2366
- className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
2367
- viewBox: "0 0 24 24",
2368
- fill: "none",
2369
- stroke: "currentColor",
2370
- strokeWidth: "2",
2371
- strokeLinecap: "round",
2372
- strokeLinejoin: "round"
2373
- },
2374
- /* @__PURE__ */ React19.createElement("circle", { cx: "12", cy: "12", r: "10" }),
2375
- /* @__PURE__ */ React19.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
2376
- /* @__PURE__ */ React19.createElement("path", { d: "M12 17h.01" })
2377
- ))
2378
- )));
2379
- Label2.displayName = "Label";
2380
-
2381
- // elements/input/Input.tsx
2382
2383
  var Input = forwardRef12(
2383
2384
  ({
2384
2385
  margin = "none",
@@ -2743,7 +2744,9 @@ var DataTable = ({
2743
2744
  checked: column.getIsVisible(),
2744
2745
  onCheckedChange: (value) => column.toggleVisibility(!!value)
2745
2746
  },
2746
- ((_a2 = column.columnDef.meta) == null ? void 0 : _a2.i18nKey) ? (_b2 = column.columnDef.meta) == null ? void 0 : _b2.i18nKey : translateFn ? translateFn(column.id) : column.id
2747
+ translateFn ? translateFn(
2748
+ ((_a2 = column.columnDef.meta) == null ? void 0 : _a2.i18nKey) ? (_b2 = column.columnDef.meta) == null ? void 0 : _b2.i18nKey : column.id
2749
+ ) : column.id
2747
2750
  );
2748
2751
  })
2749
2752
  ))), props.isLoading ? /* @__PURE__ */ React22.createElement(Skeleton, { className: "hawa-h-[130px] hawa-w-full" }) : /* @__PURE__ */ React22.createElement(
@@ -1,7 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import React__default from 'react';
3
-
4
- type PositionType = "top" | "bottom" | "right" | "left";
3
+ import { P as PositionType } from '../commonTypes-DinbCdmt.mjs';
5
4
 
6
5
  type LabelProps = {
7
6
  hint?: React.ReactNode;
@@ -1,7 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import React__default from 'react';
3
-
4
- type PositionType = "top" | "bottom" | "right" | "left";
3
+ import { P as PositionType } from '../commonTypes-DinbCdmt.js';
5
4
 
6
5
  type LabelProps = {
7
6
  hint?: React.ReactNode;
@@ -1,5 +1,6 @@
1
1
  import * as React from 'react';
2
- import { P as PositionType } from '../commonTypes-DinbCdmt.mjs';
2
+
3
+ type PositionType = "top" | "bottom" | "right" | "left";
3
4
 
4
5
  type LabelProps = {
5
6
  hint?: React.ReactNode;
@@ -1,5 +1,6 @@
1
1
  import * as React from 'react';
2
- import { P as PositionType } from '../commonTypes-DinbCdmt.js';
2
+
3
+ type PositionType = "top" | "bottom" | "right" | "left";
3
4
 
4
5
  type LabelProps = {
5
6
  hint?: React.ReactNode;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import React__default, { FC } from 'react';
3
3
  import { D as DirectionType } from '../commonTypes-C-g8nFFC.mjs';
4
- import { C as ChipColors } from '../Chip-BT2hUlGJ.mjs';
4
+ import { C as ChipColors } from '../Chip-BtgTAs8x.mjs';
5
5
  import { M as MenuItemType } from '../DropdownMenu-K3ztliYc.mjs';
6
6
  import * as MenubarPrimitive from '@radix-ui/react-menubar';
7
7
  import '@radix-ui/react-dropdown-menu';
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import React__default, { FC } from 'react';
3
3
  import { D as DirectionType } from '../commonTypes-C-g8nFFC.js';
4
- import { C as ChipColors } from '../Chip-Dt7zJ-jZ.js';
4
+ import { C as ChipColors } from '../Chip-DQsP5hFS.js';
5
5
  import { M as MenuItemType } from '../DropdownMenu-CJblb-9q.js';
6
6
  import * as MenubarPrimitive from '@radix-ui/react-menubar';
7
7
  import '@radix-ui/react-dropdown-menu';