@marcoschwartz/lite-ui 0.23.4 → 0.23.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -21,10 +21,10 @@ var themes = {
21
21
  link: "bg-transparent text-[hsl(var(--primary))] underline-offset-4 hover:underline !p-0 !h-auto !min-h-0 shadow-none"
22
22
  },
23
23
  sizes: {
24
- sm: "px-3 py-1.5 text-sm h-8",
25
- md: "px-4 py-2 text-sm h-9",
26
- lg: "px-5 py-2.5 text-base h-10",
27
- xl: "px-6 py-3 text-base h-11"
24
+ sm: "px-3 py-1.5 text-sm",
25
+ md: "px-4 py-2.5 text-base",
26
+ lg: "px-4 py-3 text-lg",
27
+ xl: "px-6 py-3.5 text-lg"
28
28
  },
29
29
  disabled: "pointer-events-none opacity-50"
30
30
  },
@@ -32,8 +32,8 @@ var themes = {
32
32
  base: "w-full appearance-none rounded-md border border-[hsl(var(--input))] bg-transparent text-[hsl(var(--foreground))] text-left transition-colors duration-150 focus:outline-none focus:ring-1 focus:ring-[hsl(var(--ring))]/50 focus:border-[hsl(var(--ring))] hover:border-[hsl(var(--muted-foreground))] pr-10 cursor-pointer",
33
33
  sizes: {
34
34
  sm: "px-3 py-1.5 text-sm",
35
- md: "px-3 py-2.5 text-sm",
36
- lg: "px-4 py-3 text-base",
35
+ md: "px-4 py-2.5 text-base",
36
+ lg: "px-4 py-3 text-lg",
37
37
  xl: "px-4 py-3.5 text-lg"
38
38
  },
39
39
  disabled: "pointer-events-none opacity-50 bg-[hsl(var(--muted))]"
@@ -1404,8 +1404,8 @@ import { useState as useState5, useRef as useRef2 } from "react";
1404
1404
  import { jsx as jsx81, jsxs as jsxs12 } from "react/jsx-runtime";
1405
1405
  var sizeClasses5 = {
1406
1406
  sm: "px-3 py-1.5 text-sm",
1407
- md: "px-3 py-2.5 text-sm",
1408
- lg: "px-4 py-3 text-base"
1407
+ md: "px-4 py-2.5 text-base",
1408
+ lg: "px-4 py-3 text-lg"
1409
1409
  };
1410
1410
  var NumberInput = ({
1411
1411
  label,
@@ -2205,7 +2205,7 @@ var DatePicker = ({
2205
2205
  year: "numeric"
2206
2206
  });
2207
2207
  };
2208
- const baseStyles = "w-full appearance-none rounded-md border border-[hsl(var(--input))] bg-transparent text-[hsl(var(--foreground))] px-4 py-2.5 text-sm transition-colors duration-150 focus:outline-none focus:ring-1 focus:ring-[hsl(var(--ring))]/50 focus:border-[hsl(var(--ring))] hover:border-[hsl(var(--muted-foreground))] cursor-pointer";
2208
+ const baseStyles = "w-full appearance-none rounded-md border border-[hsl(var(--input))] bg-transparent text-[hsl(var(--foreground))] px-4 py-2.5 text-base transition-colors duration-150 focus:outline-none focus:ring-1 focus:ring-[hsl(var(--ring))]/50 focus:border-[hsl(var(--ring))] hover:border-[hsl(var(--muted-foreground))] cursor-pointer";
2209
2209
  const errorStyles = error ? "border-[hsl(var(--destructive))] focus:ring-[hsl(var(--destructive))]/50" : "";
2210
2210
  const disabledStyles = disabled ? "opacity-50 cursor-not-allowed bg-[hsl(var(--muted))]" : "";
2211
2211
  const calendar = isOpen && mounted && calendarPosition ? /* @__PURE__ */ jsxs20(
@@ -2307,7 +2307,7 @@ import { forwardRef as forwardRef4 } from "react";
2307
2307
  import { jsx as jsx93, jsxs as jsxs21 } from "react/jsx-runtime";
2308
2308
  var TimePicker = forwardRef4(
2309
2309
  ({ label, error, helperText, className = "", disabled, ...props }, ref) => {
2310
- const baseStyles = "w-full appearance-none rounded-md border border-[hsl(var(--input))] bg-transparent text-[hsl(var(--foreground))] px-3 py-2.5 text-sm transition-colors duration-150 focus:outline-none focus:ring-1 focus:ring-[hsl(var(--ring))]/50 focus:border-[hsl(var(--ring))] hover:border-[hsl(var(--muted-foreground))]";
2310
+ const baseStyles = "w-full appearance-none rounded-md border border-[hsl(var(--input))] bg-transparent text-[hsl(var(--foreground))] px-4 py-2.5 text-base transition-colors duration-150 focus:outline-none focus:ring-1 focus:ring-[hsl(var(--ring))]/50 focus:border-[hsl(var(--ring))] hover:border-[hsl(var(--muted-foreground))]";
2311
2311
  const errorStyles = error ? "border-[hsl(var(--destructive))] focus:ring-[hsl(var(--destructive))]/50" : "";
2312
2312
  const disabledStyles = disabled ? "opacity-50 cursor-not-allowed bg-[hsl(var(--muted))]" : "";
2313
2313
  return /* @__PURE__ */ jsxs21("div", { className, children: [
@@ -2487,7 +2487,7 @@ var DateTimePicker = ({
2487
2487
  const displayMinutes = minutes.toString().padStart(2, "0");
2488
2488
  return `${displayHours}:${displayMinutes} ${period}`;
2489
2489
  };
2490
- const baseStyles = "w-full appearance-none rounded-md border border-[hsl(var(--input))] bg-transparent text-[hsl(var(--foreground))] px-4 py-2.5 text-sm transition-colors duration-150 focus:outline-none focus:ring-1 focus:ring-[hsl(var(--ring))]/50 focus:border-[hsl(var(--ring))] hover:border-[hsl(var(--muted-foreground))] cursor-pointer";
2490
+ const baseStyles = "w-full appearance-none rounded-md border border-[hsl(var(--input))] bg-transparent text-[hsl(var(--foreground))] px-4 py-2.5 text-base transition-colors duration-150 focus:outline-none focus:ring-1 focus:ring-[hsl(var(--ring))]/50 focus:border-[hsl(var(--ring))] hover:border-[hsl(var(--muted-foreground))] cursor-pointer";
2491
2491
  const errorStyles = error ? "border-[hsl(var(--destructive))] focus:ring-[hsl(var(--destructive))]/50" : "";
2492
2492
  const disabledStyles = disabled ? "opacity-50 cursor-not-allowed bg-[hsl(var(--muted))]" : "";
2493
2493
  const picker = isOpen && mounted && pickerPosition ? /* @__PURE__ */ jsxs22(
@@ -3194,8 +3194,8 @@ var Textarea = ({
3194
3194
  }) => {
3195
3195
  const sizeClasses7 = {
3196
3196
  sm: "px-3 py-1.5 text-sm min-h-[80px]",
3197
- md: "px-3 py-2.5 text-sm min-h-[100px]",
3198
- lg: "px-4 py-3 text-base min-h-[120px]"
3197
+ md: "px-4 py-2.5 text-base min-h-[100px]",
3198
+ lg: "px-4 py-3 text-lg min-h-[120px]"
3199
3199
  };
3200
3200
  const resizeClasses = {
3201
3201
  none: "resize-none",