@turingpaper/ui 0.0.10 → 0.0.11

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.
@@ -17,7 +17,7 @@ const l = i.forwardRef(({ className: e, children: a, ...r }, n) => /* @__PURE__
17
17
  {
18
18
  ref: n,
19
19
  className: s(
20
- "flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",
20
+ "flex flex-1 items-center justify-between py-2.5 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",
21
21
  e
22
22
  ),
23
23
  ...r,
@@ -34,7 +34,7 @@ const f = i.forwardRef(({ className: e, children: a, ...r }, n) => /* @__PURE__
34
34
  ref: n,
35
35
  className: "overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
36
36
  ...r,
37
- children: /* @__PURE__ */ t("div", { className: s("pb-4 pt-0", e), children: a })
37
+ children: /* @__PURE__ */ t("div", { className: s("pb-2.5 pt-0", e), children: a })
38
38
  }
39
39
  ));
40
40
  f.displayName = o.Content.displayName;
@@ -22,7 +22,7 @@ const c = i.forwardRef(({ className: a, ...e }, o) => /* @__PURE__ */ n(m, { chi
22
22
  {
23
23
  ref: o,
24
24
  className: s(
25
- "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
25
+ "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-3 border bg-background p-4 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
26
26
  a
27
27
  ),
28
28
  ...e
@@ -37,7 +37,7 @@ const f = ({
37
37
  "div",
38
38
  {
39
39
  className: s(
40
- "flex flex-col space-y-2 text-center sm:text-left",
40
+ "flex flex-col space-y-1.5 text-center sm:text-left",
41
41
  a
42
42
  ),
43
43
  ...e
package/dist/avatar.mjs CHANGED
@@ -7,7 +7,7 @@ const m = s.forwardRef(({ className: e, ...l }, r) => /* @__PURE__ */ o(
7
7
  {
8
8
  ref: r,
9
9
  className: t(
10
- "relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",
10
+ "relative flex h-8 w-8 shrink-0 overflow-hidden rounded-full",
11
11
  e
12
12
  ),
13
13
  ...l
package/dist/badge.mjs CHANGED
@@ -2,7 +2,7 @@ import { jsx as n } from "react/jsx-runtime";
2
2
  import { cva as o } from "class-variance-authority";
3
3
  import { cn as i } from "./utils.mjs";
4
4
  const a = o(
5
- "inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus-visible:outline-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50",
5
+ "inline-flex items-center rounded-full border px-2 py-0.5 text-xs font-semibold transition-colors focus-visible:outline-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50",
6
6
  {
7
7
  variants: {
8
8
  variant: {
@@ -73,7 +73,7 @@ const g = ({
73
73
  {
74
74
  role: "presentation",
75
75
  "aria-hidden": "true",
76
- className: o("flex h-9 w-9 items-center justify-center", r),
76
+ className: o("flex h-7 w-7 items-center justify-center", r),
77
77
  ...e,
78
78
  children: [
79
79
  /* @__PURE__ */ s(d, { className: "h-4 w-4" }),
package/dist/button.mjs CHANGED
@@ -16,11 +16,11 @@ const m = c(
16
16
  link: "text-primary underline-offset-4 hover:underline"
17
17
  },
18
18
  size: {
19
- default: "h-10 px-4 py-2",
20
- xs: "h-8 rounded-md px-2.5 text-xs",
21
- sm: "h-9 rounded-md px-3",
22
- lg: "h-11 rounded-md px-8",
23
- icon: "h-10 w-10"
19
+ default: "h-8 px-3 py-1",
20
+ xs: "h-6 rounded-md px-2 text-xs",
21
+ sm: "h-7 rounded-md px-2.5",
22
+ lg: "h-9 rounded-md px-6",
23
+ icon: "h-8 w-8"
24
24
  }
25
25
  },
26
26
  defaultVariants: {
package/dist/card.mjs CHANGED
@@ -17,7 +17,7 @@ const i = o.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ d(
17
17
  "div",
18
18
  {
19
19
  ref: r,
20
- className: t("flex flex-col space-y-1.5 p-6", a),
20
+ className: t("flex flex-col space-y-1 p-4", a),
21
21
  ...e
22
22
  }
23
23
  ));
@@ -43,13 +43,13 @@ const c = o.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ d(
43
43
  }
44
44
  ));
45
45
  c.displayName = "CardDescription";
46
- const l = o.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ d("div", { ref: r, className: t("p-6 pt-0", a), ...e }));
46
+ const l = o.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ d("div", { ref: r, className: t("p-4 pt-0", a), ...e }));
47
47
  l.displayName = "CardContent";
48
48
  const n = o.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ d(
49
49
  "div",
50
50
  {
51
51
  ref: r,
52
- className: t("flex items-center p-6 pt-0", a),
52
+ className: t("flex items-center p-4 pt-0", a),
53
53
  ...e
54
54
  }
55
55
  ));
package/dist/command.mjs CHANGED
@@ -16,14 +16,14 @@ const n = m.forwardRef(({ className: e, ...a }, d) => /* @__PURE__ */ t(
16
16
  }
17
17
  ));
18
18
  n.displayName = o.displayName;
19
- const C = ({ children: e, ...a }) => /* @__PURE__ */ t(i, { ...a, children: /* @__PURE__ */ t(l, { className: "overflow-hidden p-0 shadow-lg", children: /* @__PURE__ */ t(n, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children: e }) }) }), c = m.forwardRef(({ className: e, ...a }, d) => /* @__PURE__ */ s("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
19
+ const C = ({ children: e, ...a }) => /* @__PURE__ */ t(i, { ...a, children: /* @__PURE__ */ t(l, { className: "overflow-hidden p-0 shadow-lg", children: /* @__PURE__ */ t(n, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-10 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-2 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children: e }) }) }), c = m.forwardRef(({ className: e, ...a }, d) => /* @__PURE__ */ s("div", { className: "flex items-center border-b px-2.5", "cmdk-input-wrapper": "", children: [
20
20
  /* @__PURE__ */ t(p, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
21
21
  /* @__PURE__ */ t(
22
22
  o.Input,
23
23
  {
24
24
  ref: d,
25
25
  className: r(
26
- "flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
26
+ "flex h-9 w-full rounded-md bg-transparent py-2 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
27
27
  e
28
28
  ),
29
29
  ...a
@@ -44,7 +44,7 @@ const f = m.forwardRef((e, a) => /* @__PURE__ */ t(
44
44
  o.Empty,
45
45
  {
46
46
  ref: a,
47
- className: "py-6 text-center text-sm",
47
+ className: "py-4 text-center text-sm",
48
48
  ...e
49
49
  }
50
50
  ));
@@ -54,7 +54,7 @@ const g = m.forwardRef(({ className: e, ...a }, d) => /* @__PURE__ */ t(
54
54
  {
55
55
  ref: d,
56
56
  className: r(
57
- "overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",
57
+ "overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",
58
58
  e
59
59
  ),
60
60
  ...a
@@ -75,7 +75,7 @@ const h = m.forwardRef(({ className: e, ...a }, d) => /* @__PURE__ */ t(
75
75
  {
76
76
  ref: d,
77
77
  className: r(
78
- "relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected='true']:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
78
+ "relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected='true']:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
79
79
  e
80
80
  ),
81
81
  ...a
package/dist/dialog.mjs CHANGED
@@ -22,7 +22,7 @@ const p = l.forwardRef(({ className: a, children: t, ...s }, r) => /* @__PURE__
22
22
  {
23
23
  ref: r,
24
24
  className: i(
25
- "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
25
+ "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-3 border bg-background p-4 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
26
26
  a
27
27
  ),
28
28
  ...s,
@@ -44,7 +44,7 @@ const f = ({
44
44
  "div",
45
45
  {
46
46
  className: i(
47
- "flex flex-col space-y-1.5 text-center sm:text-left",
47
+ "flex flex-col space-y-1 text-center sm:text-left",
48
48
  a
49
49
  ),
50
50
  ...t
package/dist/drawer.mjs CHANGED
@@ -34,7 +34,7 @@ const p = l.forwardRef(({ className: e, children: r, ...o }, m) => /* @__PURE__
34
34
  ),
35
35
  ...o,
36
36
  children: [
37
- /* @__PURE__ */ t("div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
37
+ /* @__PURE__ */ t("div", { className: "mx-auto mt-3 h-2 w-[100px] rounded-full bg-muted" }),
38
38
  r
39
39
  ]
40
40
  }
@@ -47,7 +47,7 @@ const f = ({
47
47
  }) => /* @__PURE__ */ t(
48
48
  "div",
49
49
  {
50
- className: s("grid gap-1.5 p-4 text-center sm:text-left", e),
50
+ className: s("grid gap-1 p-3 text-center sm:text-left", e),
51
51
  ...r
52
52
  }
53
53
  );
@@ -58,7 +58,7 @@ const w = ({
58
58
  }) => /* @__PURE__ */ t(
59
59
  "div",
60
60
  {
61
- className: s("mt-auto flex flex-col gap-2 p-4", e),
61
+ className: s("mt-auto flex flex-col gap-1.5 p-3", e),
62
62
  ...r
63
63
  }
64
64
  );
@@ -8,7 +8,7 @@ const I = e.Root, S = e.Trigger, C = e.Group, z = e.Portal, k = e.Sub, _ = e.Rad
8
8
  {
9
9
  ref: i,
10
10
  className: s(
11
- "flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
11
+ "flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
12
12
  t && "pl-8",
13
13
  o
14
14
  ),
@@ -50,7 +50,7 @@ const w = d.forwardRef(({ className: o, inset: t, ...a }, r) => /* @__PURE__ */
50
50
  {
51
51
  ref: r,
52
52
  className: s(
53
- "relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
53
+ "relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
54
54
  t && "pl-8",
55
55
  o
56
56
  ),
@@ -63,7 +63,7 @@ const b = d.forwardRef(({ className: o, children: t, checked: a, ...r }, i) => /
63
63
  {
64
64
  ref: i,
65
65
  className: s(
66
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
66
+ "relative flex cursor-default select-none items-center rounded-sm py-1 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
67
67
  o
68
68
  ),
69
69
  checked: a,
@@ -80,7 +80,7 @@ const h = d.forwardRef(({ className: o, children: t, ...a }, r) => /* @__PURE__
80
80
  {
81
81
  ref: r,
82
82
  className: s(
83
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
83
+ "relative flex cursor-default select-none items-center rounded-sm py-1 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
84
84
  o
85
85
  ),
86
86
  ...a,
@@ -96,7 +96,7 @@ const x = d.forwardRef(({ className: o, inset: t, ...a }, r) => /* @__PURE__ */
96
96
  {
97
97
  ref: r,
98
98
  className: s(
99
- "px-2 py-1.5 text-sm font-semibold",
99
+ "px-2 py-1 text-sm font-semibold",
100
100
  t && "pl-8",
101
101
  o
102
102
  ),
@@ -9,7 +9,7 @@ const c = o.Root, g = o.Trigger, m = n.forwardRef(({ className: t, align: e = "c
9
9
  align: e,
10
10
  sideOffset: a,
11
11
  className: s(
12
- "z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-hover-card-content-transform-origin]",
12
+ "z-50 w-64 rounded-md border bg-popover p-3 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-hover-card-content-transform-origin]",
13
13
  t
14
14
  ),
15
15
  ...r
@@ -11,7 +11,7 @@ function v({ className: a, ...t }) {
11
11
  "data-slot": "input-group",
12
12
  role: "group",
13
13
  className: r(
14
- "group/input-group relative flex h-9 w-full min-w-0 items-center rounded-4xl border border-input bg-input/30 transition-colors outline-none in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-data-[align=block-end]:rounded-2xl has-data-[align=block-start]:rounded-2xl has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-[3px] has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:border-destructive-foreground has-[[data-slot][aria-invalid=true]]:ring-[3px] has-[[data-slot][aria-invalid=true]]:ring-destructive-foreground/20 has-[textarea]:rounded-xl has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto dark:has-[[data-slot][aria-invalid=true]]:ring-destructive-foreground/40 has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5",
14
+ "group/input-group relative flex h-7 w-full min-w-0 items-center rounded-4xl border border-input bg-input/30 transition-colors outline-none in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-data-[align=block-end]:rounded-2xl has-data-[align=block-start]:rounded-2xl has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-[3px] has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:border-destructive-foreground has-[[data-slot][aria-invalid=true]]:ring-[3px] has-[[data-slot][aria-invalid=true]]:ring-destructive-foreground/20 has-[textarea]:rounded-xl has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto dark:has-[[data-slot][aria-invalid=true]]:ring-destructive-foreground/40 has-[>[data-align=block-end]]:[&>input]:pt-2 has-[>[data-align=block-start]]:[&>input]:pb-2 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5",
15
15
  a
16
16
  ),
17
17
  ...t
@@ -19,14 +19,14 @@ function v({ className: a, ...t }) {
19
19
  );
20
20
  }
21
21
  const p = i(
22
- "flex h-auto cursor-text items-center justify-center gap-2 py-2 text-sm font-medium text-muted-foreground select-none group-data-[disabled=true]/input-group:opacity-50 **:data-[slot=kbd]:rounded-4xl **:data-[slot=kbd]:bg-muted-foreground/10 **:data-[slot=kbd]:px-1.5 [&>svg:not([class*='size-'])]:size-4",
22
+ "flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium text-muted-foreground select-none group-data-[disabled=true]/input-group:opacity-50 **:data-[slot=kbd]:rounded-4xl **:data-[slot=kbd]:bg-muted-foreground/10 **:data-[slot=kbd]:px-1.5 [&>svg:not([class*='size-'])]:size-4",
23
23
  {
24
24
  variants: {
25
25
  align: {
26
- "inline-start": "order-first pl-3 has-[>button]:-ml-1 has-[>kbd]:ml-[-0.15rem]",
27
- "inline-end": "order-last pr-3 has-[>button]:-mr-1 has-[>kbd]:mr-[-0.15rem]",
28
- "block-start": "order-first w-full justify-start px-3 pt-3 group-has-[>input]/input-group:pt-3 [.border-b]:pb-3",
29
- "block-end": "order-last w-full justify-start px-3 pb-3 group-has-[>input]/input-group:pb-3 [.border-t]:pt-3"
26
+ "inline-start": "order-first pl-2.5 has-[>button]:-ml-1 has-[>kbd]:ml-[-0.15rem]",
27
+ "inline-end": "order-last pr-2.5 has-[>button]:-mr-1 has-[>kbd]:mr-[-0.15rem]",
28
+ "block-start": "order-first w-full justify-start px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2",
29
+ "block-end": "order-last w-full justify-start px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2"
30
30
  }
31
31
  },
32
32
  defaultVariants: {
@@ -25,7 +25,7 @@ const P = a.forwardRef(({ index: e, className: r, ...o }, s) => {
25
25
  {
26
26
  ref: s,
27
27
  className: n(
28
- "relative flex h-10 w-10 items-center justify-center border-y border-r border-input text-sm transition-all first:rounded-l-md first:border-l last:rounded-r-md",
28
+ "relative flex h-8 w-8 items-center justify-center border-y border-r border-input text-sm transition-all first:rounded-l-md first:border-l last:rounded-r-md",
29
29
  p && "z-10 border-ring ring-3 ring-ring/50",
30
30
  r
31
31
  ),
package/dist/input.mjs CHANGED
@@ -7,7 +7,7 @@ const l = n.forwardRef(
7
7
  {
8
8
  type: r,
9
9
  className: d(
10
- "flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
10
+ "flex h-8 w-full rounded-md border border-input bg-background px-2.5 py-1 text-base file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
11
11
  e
12
12
  ),
13
13
  ref: i,
@@ -52,7 +52,7 @@ const P = ({
52
52
  {
53
53
  "aria-label": "Go to previous page",
54
54
  size: "default",
55
- className: n("gap-1 pl-2.5", i),
55
+ className: n("gap-1 pl-2", i),
56
56
  ...a,
57
57
  children: [
58
58
  /* @__PURE__ */ e(p, { className: "h-4 w-4" }),
@@ -69,7 +69,7 @@ const h = ({
69
69
  {
70
70
  "aria-label": "Go to next page",
71
71
  size: "default",
72
- className: n("gap-1 pr-2.5", i),
72
+ className: n("gap-1 pr-2", i),
73
73
  ...a,
74
74
  children: [
75
75
  /* @__PURE__ */ e("span", { children: "Next" }),
@@ -85,7 +85,7 @@ const u = ({
85
85
  "span",
86
86
  {
87
87
  "aria-hidden": !0,
88
- className: n("flex h-9 w-9 items-center justify-center", i),
88
+ className: n("flex h-7 w-7 items-center justify-center", i),
89
89
  ...a,
90
90
  children: [
91
91
  /* @__PURE__ */ e(m, { className: "h-4 w-4" }),
package/dist/popover.mjs CHANGED
@@ -9,7 +9,7 @@ const c = o.Root, g = o.Trigger, m = n.forwardRef(({ className: e, align: a = "c
9
9
  align: a,
10
10
  sideOffset: r,
11
11
  className: s(
12
- "z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-popover-content-transform-origin]",
12
+ "z-50 w-72 rounded-md border bg-popover p-3 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-popover-content-transform-origin]",
13
13
  e
14
14
  ),
15
15
  ...d