@plyaz/ui 0.7.9 → 0.7.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.
Files changed (114) hide show
  1. package/dist/Button-BBFJyA3y.js +89 -0
  2. package/dist/Button-oW9LiTe6.cjs +39 -0
  3. package/dist/Skeleton-BuCmZ9yF.cjs +1 -0
  4. package/dist/Skeleton-Cj9Od_Nd.js +37 -0
  5. package/dist/Textarea-CLBbcfr_.cjs +24 -0
  6. package/dist/Textarea-nx_ki3Gv.js +837 -0
  7. package/dist/client/accordion.cjs.js +1 -0
  8. package/dist/client/accordion.es.js +62 -0
  9. package/dist/client/alert-dialog.cjs.js +1 -0
  10. package/dist/client/alert-dialog.es.js +127 -0
  11. package/dist/client/avatar.cjs.js +1 -0
  12. package/dist/client/avatar.es.js +41 -0
  13. package/dist/client/calendar.cjs.js +1 -0
  14. package/dist/client/calendar.es.js +160 -0
  15. package/dist/client/carousel.cjs.js +1 -0
  16. package/dist/client/carousel.es.js +170 -0
  17. package/dist/client/checkbox.cjs.js +1 -0
  18. package/dist/client/checkbox.es.js +28 -0
  19. package/dist/client/combobox.cjs.js +1 -0
  20. package/dist/client/combobox.es.js +77 -0
  21. package/dist/client/command.cjs.js +1 -0
  22. package/dist/client/command.es.js +143 -0
  23. package/dist/client/context-menu.cjs.js +1 -0
  24. package/dist/client/context-menu.es.js +200 -0
  25. package/dist/client/dialog.cjs.js +1 -0
  26. package/dist/client/dialog.es.js +122 -0
  27. package/dist/client/drawer.cjs.js +1 -0
  28. package/dist/client/drawer.es.js +117 -0
  29. package/dist/client/dropdown-menu.cjs.js +1 -0
  30. package/dist/client/dropdown-menu.es.js +204 -0
  31. package/dist/client/hover-card.cjs.js +1 -0
  32. package/dist/client/hover-card.es.js +34 -0
  33. package/dist/client/input-otp.cjs.js +1 -0
  34. package/dist/client/input-otp.es.js +55 -0
  35. package/dist/client/label.cjs.js +1 -0
  36. package/dist/client/label.es.js +19 -0
  37. package/dist/client/menu-bar.cjs.js +1 -0
  38. package/dist/client/menu-bar.es.js +229 -0
  39. package/dist/client/popover.cjs.js +1 -0
  40. package/dist/client/popover.es.js +38 -0
  41. package/dist/client/progress.cjs.js +1 -0
  42. package/dist/client/progress.es.js +29 -0
  43. package/dist/client/radio-group.cjs.js +1 -0
  44. package/dist/client/radio-group.es.js +45 -0
  45. package/dist/client/reveal-text.cjs.js +1 -0
  46. package/dist/client/reveal-text.es.js +5066 -0
  47. package/dist/client/scroll-area.cjs.js +1 -0
  48. package/dist/client/scroll-area.es.js +60 -0
  49. package/dist/client/sheet.cjs.js +1 -0
  50. package/dist/client/sheet.es.js +117 -0
  51. package/dist/client/slider.cjs.js +1 -0
  52. package/dist/client/slider.es.js +63 -0
  53. package/dist/client/switch.cjs.js +1 -0
  54. package/dist/client/switch.es.js +28 -0
  55. package/dist/client/tabs.cjs.js +1 -0
  56. package/dist/client/tabs.es.js +55 -0
  57. package/dist/client/toaster.cjs.js +1 -0
  58. package/dist/client/toaster.es.js +22 -0
  59. package/dist/client/toggle.cjs.js +1 -0
  60. package/dist/client/toggle.es.js +43 -0
  61. package/dist/client/tooltip.cjs.js +1 -0
  62. package/dist/client/tooltip.es.js +51 -0
  63. package/dist/client.cjs.js +1 -93
  64. package/dist/client.es.js +495 -21191
  65. package/dist/index.cjs.js +15 -16
  66. package/dist/index.es.js +312 -558
  67. package/dist/types/client/accordion.d.ts +2 -0
  68. package/dist/types/client/alert-dialog.d.ts +2 -0
  69. package/dist/types/client/avatar.d.ts +2 -0
  70. package/dist/types/client/calendar.d.ts +2 -0
  71. package/dist/types/client/carousel.d.ts +2 -0
  72. package/dist/types/client/checkbox.d.ts +2 -0
  73. package/dist/types/client/combobox.d.ts +2 -0
  74. package/dist/types/client/command.d.ts +2 -0
  75. package/dist/types/client/context-menu.d.ts +2 -0
  76. package/dist/types/client/dialog.d.ts +2 -0
  77. package/dist/types/client/drawer.d.ts +2 -0
  78. package/dist/types/client/dropdown-menu.d.ts +2 -0
  79. package/dist/types/client/hover-card.d.ts +2 -0
  80. package/dist/types/client/input-otp.d.ts +2 -0
  81. package/dist/types/client/label.d.ts +2 -0
  82. package/dist/types/client/menu-bar.d.ts +2 -0
  83. package/dist/types/client/popover.d.ts +2 -0
  84. package/dist/types/client/progress.d.ts +2 -0
  85. package/dist/types/client/radio-group.d.ts +2 -0
  86. package/dist/types/client/reveal-text.d.ts +2 -0
  87. package/dist/types/client/scroll-area.d.ts +2 -0
  88. package/dist/types/client/sheet.d.ts +2 -0
  89. package/dist/types/client/slider.d.ts +2 -0
  90. package/dist/types/client/switch.d.ts +2 -0
  91. package/dist/types/client/tabs.d.ts +2 -0
  92. package/dist/types/client/toaster.d.ts +2 -0
  93. package/dist/types/client/toggle.d.ts +2 -0
  94. package/dist/types/client/tooltip.d.ts +2 -0
  95. package/dist/types/components/Checkbox/Checkbox.stories.d.ts.map +1 -1
  96. package/dist/types/components/Label/Label.stories.d.ts +1 -1
  97. package/dist/types/components/Label/Label.stories.d.ts.map +1 -1
  98. package/dist/types/components/Pagination/Pagination.d.ts.map +1 -1
  99. package/dist/types/components/RadioGroup/RadioGroup.stories.d.ts.map +1 -1
  100. package/dist/types/components/Select/Select.d.ts.map +1 -1
  101. package/dist/types/components/Select/Select.stories.d.ts +0 -3
  102. package/dist/types/components/Select/Select.stories.d.ts.map +1 -1
  103. package/dist/types/components/Switch/Switch.stories.d.ts.map +1 -1
  104. package/dist/types/components/Textarea/Textarea.stories.d.ts.map +1 -1
  105. package/dist/types/components/client.d.ts +1 -0
  106. package/dist/types/components/client.d.ts.map +1 -1
  107. package/dist/types/components/index.d.ts +0 -1
  108. package/dist/types/components/index.d.ts.map +1 -1
  109. package/dist/ui.css +1 -1
  110. package/dist/utils-B6yFEsav.js +8 -0
  111. package/dist/utils-IjLH3w2e.cjs +1 -0
  112. package/package.json +186 -1
  113. package/dist/Skeleton-Bn2Kdinb.cjs +0 -62
  114. package/dist/Skeleton-CnBXKh2c.js +0 -3511
package/dist/index.es.js CHANGED
@@ -1,22 +1,27 @@
1
- import { c as n, a as f, B as _, I as E, f as P, b as T, P as I, d as S } from "./Skeleton-CnBXKh2c.js";
2
- import { A as wt, S as Nt, e as yt } from "./Skeleton-CnBXKh2c.js";
3
- import { jsx as a, jsxs as u } from "react/jsx-runtime";
4
- import { Slot as x } from "@radix-ui/react-slot";
1
+ import { f as y, a as T } from "./Textarea-nx_ki3Gv.js";
2
+ import { i as et, k as tt, j as at, A as rt, B as ot, I as st, b as nt, c as lt, d as it, g as dt, e as ct, h as ut, T as mt } from "./Textarea-nx_ki3Gv.js";
3
+ import { jsx as a, jsxs as c } from "react/jsx-runtime";
4
+ import { c as o } from "./utils-B6yFEsav.js";
5
+ import { b as I } from "./Button-BBFJyA3y.js";
6
+ import { B as ft } from "./Button-BBFJyA3y.js";
7
+ import * as i from "@radix-ui/react-select";
8
+ import { CheckIcon as E, ChevronDownIcon as x, ChevronUpIcon as P, ChevronRight as _, MoreHorizontal as S, ChevronLeftIcon as z, ChevronRightIcon as C, MoreHorizontalIcon as k } from "lucide-react";
9
+ import { useTranslations as g } from "next-intl";
10
+ import M from "react";
11
+ import { Slot as A } from "@radix-ui/react-slot";
12
+ import "@radix-ui/react-separator";
5
13
  import "clsx";
6
- import * as d from "@radix-ui/react-select";
7
- import { CheckIcon as C, ChevronDownIcon as b, ChevronUpIcon as M, ChevronRight as A, MoreHorizontal as j, ChevronLeftIcon as R, ChevronRightIcon as B, MoreHorizontalIcon as D } from "lucide-react";
8
- import { useTranslations as v } from "next-intl";
9
- import * as G from "react";
10
- import L from "react";
11
- const p = ({ children: e, element: t = "div", className: r = "", ...s }) => /* @__PURE__ */ a(t, { className: r, ...s, "data-testid": "box", children: e }), xe = ({ className: e = "", children: t, element: r, ...s }) => /* @__PURE__ */ a(
12
- p,
14
+ import "tailwind-merge";
15
+ import { S as gt, a as bt } from "./Skeleton-Cj9Od_Nd.js";
16
+ const m = ({ children: e, element: t = "div", className: r = "", ...s }) => /* @__PURE__ */ a(t, { className: r, ...s, "data-testid": "box", children: e }), le = ({ className: e = "", children: t, element: r, ...s }) => /* @__PURE__ */ a(
17
+ m,
13
18
  {
14
19
  element: r,
15
- className: n("mx-auto px-4 sm:px-6 lg:px-8 max-w-7xl", e),
20
+ className: o("mx-auto px-4 sm:px-6 lg:px-8 max-w-7xl", e),
16
21
  ...s,
17
22
  children: t
18
23
  }
19
- ), h = {
24
+ ), b = {
20
25
  start: "justify-start",
21
26
  end: "justify-end",
22
27
  center: "justify-center",
@@ -24,17 +29,17 @@ const p = ({ children: e, element: t = "div", className: r = "", ...s }) => /* @
24
29
  around: "justify-around",
25
30
  evenly: "justify-evenly",
26
31
  stretch: "justify-stretch"
27
- }, w = {
32
+ }, h = {
28
33
  start: "items-start",
29
34
  end: "items-end",
30
35
  center: "items-center",
31
36
  baseline: "items-baseline",
32
37
  stretch: "items-stretch"
33
- }, V = {
38
+ }, B = {
34
39
  body: "font-general",
35
40
  heading: "font-general",
36
41
  caption: "font-general"
37
- }, H = {
42
+ }, R = {
38
43
  xs: "text-xs",
39
44
  sm: "text-sm",
40
45
  base: "text-base",
@@ -48,13 +53,13 @@ const p = ({ children: e, element: t = "div", className: r = "", ...s }) => /* @
48
53
  "7xl": "text-7xl",
49
54
  "8xl": "text-8xl",
50
55
  "9xl": "text-9xl"
51
- }, F = {
56
+ }, j = {
52
57
  normal: "font-normal",
53
58
  medium: "font-medium",
54
59
  semibold: "font-semibold",
55
60
  bold: "font-bold",
56
61
  light: "font-light"
57
- }, U = {
62
+ }, G = {
58
63
  1: "grid-cols-1",
59
64
  2: "grid-cols-2",
60
65
  3: "grid-cols-3",
@@ -64,7 +69,7 @@ const p = ({ children: e, element: t = "div", className: r = "", ...s }) => /* @
64
69
  7: "grid-cols-7",
65
70
  8: "grid-cols-8",
66
71
  9: "grid-cols-9"
67
- }, q = {
72
+ }, L = {
68
73
  1: "grid-rows-1",
69
74
  2: "grid-rows-2",
70
75
  3: "grid-rows-3",
@@ -74,7 +79,7 @@ const p = ({ children: e, element: t = "div", className: r = "", ...s }) => /* @
74
79
  7: "grid-rows-7",
75
80
  8: "grid-rows-8",
76
81
  9: "grid-rows-9"
77
- }, N = {
82
+ }, v = {
78
83
  1: "gap-1",
79
84
  2: "gap-2",
80
85
  3: "gap-3",
@@ -84,68 +89,68 @@ const p = ({ children: e, element: t = "div", className: r = "", ...s }) => /* @
84
89
  7: "gap-7",
85
90
  8: "gap-8",
86
91
  9: "gap-9"
87
- }, W = {
92
+ }, D = {
88
93
  row: "flex-row",
89
94
  col: "flex-col",
90
95
  row_reverse: "flex-row-reverse",
91
96
  col_reverse: "flex-col-reverse"
92
- }, Z = {
97
+ }, H = {
93
98
  wrap: "flex-wrap",
94
99
  nowrap: "flex-nowrap",
95
100
  wrap_reverse: "flex-wrap-reverse"
96
- }, be = ({
101
+ }, ie = ({
97
102
  children: e,
98
103
  gap: t,
99
104
  direction: r,
100
105
  justify: s,
101
- align: o,
102
- wrap: i,
103
- className: l = "",
104
- element: c,
105
- ...g
106
+ align: n,
107
+ wrap: l,
108
+ className: d = "",
109
+ element: u,
110
+ ...f
106
111
  }) => /* @__PURE__ */ a(
107
- p,
112
+ m,
108
113
  {
109
- element: c,
110
- className: n(
114
+ element: u,
115
+ className: o(
111
116
  "flex",
112
- r && W[r],
113
- s && h[s],
114
- o && w[o],
115
- i && Z[i],
116
- t && N[t],
117
- l
117
+ r && D[r],
118
+ s && b[s],
119
+ n && h[n],
120
+ l && H[l],
121
+ t && v[t],
122
+ d
118
123
  ),
119
- ...g,
124
+ ...f,
120
125
  children: e
121
126
  }
122
- ), ve = ({
127
+ ), de = ({
123
128
  children: e,
124
129
  className: t,
125
130
  cols: r,
126
131
  rows: s,
127
- gap: o,
128
- justify: i,
129
- align: l,
130
- element: c,
131
- ...g
132
+ gap: n,
133
+ justify: l,
134
+ align: d,
135
+ element: u,
136
+ ...f
132
137
  }) => /* @__PURE__ */ a(
133
- p,
138
+ m,
134
139
  {
135
- element: c,
136
- className: n(
140
+ element: u,
141
+ className: o(
137
142
  "grid",
138
- r && U[r],
139
- s && q[s],
140
- o && N[o],
141
- i && h[i],
142
- l && w[l],
143
+ r && G[r],
144
+ s && L[s],
145
+ n && v[n],
146
+ l && b[l],
147
+ d && h[d],
143
148
  t
144
149
  ),
145
- ...g,
150
+ ...f,
146
151
  children: e
147
152
  }
148
- ), $ = {
153
+ ), U = {
149
154
  xs: "xs",
150
155
  sm: "sm",
151
156
  base: "base",
@@ -154,287 +159,144 @@ const p = ({ children: e, element: t = "div", className: r = "", ...s }) => /* @
154
159
  "2xl": "2xl",
155
160
  "3xl": "3xl",
156
161
  "4xl": "4xl"
157
- }, he = ({ children: e, element: t, className: r, size: s, ...o }) => /* @__PURE__ */ a(
158
- m,
162
+ }, ce = ({ children: e, element: t, className: r, size: s, ...n }) => /* @__PURE__ */ a(
163
+ p,
159
164
  {
160
165
  className: r,
161
166
  element: t,
162
- size: $[s],
167
+ size: U[s],
163
168
  variant: "heading",
164
169
  weight: "medium",
165
- ...o,
170
+ ...n,
166
171
  children: e
167
172
  }
168
- ), we = ({ children: e, className: t, href: r, ...s }) => /* @__PURE__ */ a(
173
+ ), ue = ({ children: e, className: t, href: r, ...s }) => /* @__PURE__ */ a(
169
174
  "a",
170
175
  {
171
176
  "data-testid": "link",
172
177
  href: r,
173
178
  rel: "noopener noreferrer",
174
179
  target: "_blank",
175
- className: n(
180
+ className: o(
176
181
  "focus:outline-none text-blue-600 active:text-blue-900 visited:text-purple-600 hover:underline",
177
182
  t
178
183
  ),
179
184
  ...s,
180
185
  children: e
181
186
  }
182
- ), K = {
187
+ ), F = {
183
188
  xs: "xs",
184
189
  sm: "sm",
185
190
  base: "base",
186
191
  lg: "lg"
187
- }, Ne = ({ children: e, className: t, size: r, ...s }) => /* @__PURE__ */ a(
188
- m,
192
+ }, me = ({ children: e, className: t, size: r, ...s }) => /* @__PURE__ */ a(
193
+ p,
189
194
  {
190
195
  className: t,
191
196
  element: "p",
192
- size: K[r],
197
+ size: F[r],
193
198
  variant: "body",
194
199
  weight: "normal",
195
200
  ...s,
196
201
  children: e
197
202
  }
198
- ), ye = ({ className: e = "", children: t, ...r }) => /* @__PURE__ */ a(p, { element: "section", className: e, ...r, children: t }), ke = ({
203
+ ), pe = ({ className: e = "", children: t, ...r }) => /* @__PURE__ */ a(m, { element: "section", className: e, ...r, children: t }), fe = ({
199
204
  children: e,
200
205
  direction: t = "horizontal",
201
206
  spacing: r = "space-x-2",
202
207
  element: s,
203
- className: o,
204
- ...i
205
- }) => /* @__PURE__ */ a(p, { className: n("flex", t === "vertical" ? "flex-col" : "flex-row", r, o), element: s, ...i, children: e }), m = ({
208
+ className: n,
209
+ ...l
210
+ }) => /* @__PURE__ */ a(m, { className: o("flex", t === "vertical" ? "flex-col" : "flex-row", r, n), element: s, ...l, children: e }), p = ({
206
211
  className: e,
207
212
  children: t,
208
213
  element: r,
209
214
  weight: s,
210
- variant: o,
211
- size: i,
212
- ...l
215
+ variant: n,
216
+ size: l,
217
+ ...d
213
218
  }) => /* @__PURE__ */ a(
214
219
  r,
215
220
  {
216
221
  "data-testid": "text",
217
- className: n(
222
+ className: o(
218
223
  "font-normal text-base",
219
- i && H[i],
220
- s && F[s],
221
- o && V[o],
224
+ l && R[l],
225
+ s && j[s],
226
+ n && B[n],
222
227
  e
223
228
  ),
224
- ...l,
229
+ ...d,
225
230
  children: t
226
231
  }
227
232
  );
228
- function ze({ className: e, ...t }) {
229
- return /* @__PURE__ */ a(
230
- "div",
231
- {
232
- "data-slot": "input-group",
233
- role: "group",
234
- className: n(
235
- "group/input-group border-subtle dark:bg-input/30 relative flex w-full items-center rounded-sm border transition-[color,box-shadow] outline-none",
236
- "h-10 min-w-0 has-[>textarea]:h-auto",
237
- // Variants based on alignment.
238
- "has-[>[data-align=inline-start]]:[&>input]:pl-3",
239
- "has-[>[data-align=inline-end]]:[&>input]:pr-3",
240
- "has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-start]]:[&>input]:pb-2",
241
- "has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-2",
242
- // Focus state.
243
- "has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot=input-group-control]:focus-visible]:ring-[3px]",
244
- // Error state.
245
- "has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[[data-slot][aria-invalid=true]]:border-destructive dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40",
246
- // Disabled state.
247
- "has-[[data-slot=input-group-control]:disabled]:opacity-50 has-[[data-slot=input-group-control]:disabled]:pointer-events-none has-[[data-slot=input-group-control]:disabled]:cursor-not-allowed",
248
- e
249
- ),
250
- ...t
251
- }
252
- );
233
+ function V({ ...e }) {
234
+ return /* @__PURE__ */ a(i.Root, { "data-slot": "select", ...e });
253
235
  }
254
- const J = f(
255
- "text-muted-foreground flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium select-none [&>svg:not([class*='size-'])]:size-4 [&>kbd]:rounded-[calc(var(--radius)-5px)] group-data-[disabled=true]/input-group:opacity-50",
256
- {
257
- variants: {
258
- align: {
259
- "inline-start": "order-first pl-3 has-[>button]:ml-[-0.45rem] has-[>kbd]:ml-[-0.35rem]",
260
- "inline-end": "order-last pr-3 has-[>button]:mr-[-0.45rem] has-[>kbd]:mr-[-0.35rem]",
261
- "block-start": "order-first w-full justify-start px-3 pt-3 [.border-b]:pb-3 group-has-[>input]/input-group:pt-2.5",
262
- "block-end": "order-last w-full justify-start px-3 pb-3 [.border-t]:pt-3 group-has-[>input]/input-group:pb-2.5"
263
- }
264
- },
265
- defaultVariants: {
266
- align: "inline-start"
267
- }
268
- }
269
- );
270
- function _e({
271
- className: e,
272
- align: t = "inline-start",
273
- ...r
274
- }) {
275
- const s = (i) => {
276
- var l, c;
277
- i.target.closest("button") || (c = (l = i.currentTarget.parentElement) == null ? void 0 : l.querySelector("input")) == null || c.focus();
278
- }, o = (i) => {
279
- var l, c;
280
- if (i.key === "Enter" || i.key === " ") {
281
- if (i.preventDefault(), i.target.closest("button"))
282
- return;
283
- (c = (l = i.currentTarget.parentElement) == null ? void 0 : l.querySelector("input")) == null || c.focus();
284
- }
285
- };
286
- return /* @__PURE__ */ a(
287
- "div",
288
- {
289
- role: "button",
290
- tabIndex: 0,
291
- "data-slot": "input-group-addon",
292
- "data-align": t,
293
- className: n(J({ align: t }), e),
294
- onClick: s,
295
- onKeyDown: o,
296
- "aria-label": "Focus input field",
297
- ...r
298
- }
299
- );
236
+ function xe({ ...e }) {
237
+ return /* @__PURE__ */ a(i.Group, { "data-slot": "select-group", ...e });
300
238
  }
301
- const X = f("text-sm shadow-none flex gap-2 items-center", {
302
- variants: {
303
- size: {
304
- xs: "h-6 gap-1 px-2 rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-3.5 has-[>svg]:px-2",
305
- sm: "h-8 px-2.5 gap-1.5 rounded-md has-[>svg]:px-2.5",
306
- "icon-xs": "size-6 rounded-[calc(var(--radius)-5px)] p-0 has-[>svg]:p-0",
307
- "icon-sm": "size-8 p-0 has-[>svg]:p-0"
308
- }
309
- },
310
- defaultVariants: {
311
- size: "xs"
312
- }
313
- });
314
- function Ee({
315
- className: e,
316
- type: t = "button",
317
- variant: r = "default",
318
- size: s = "xs",
319
- ...o
320
- }) {
321
- return /* @__PURE__ */ a(
322
- _,
323
- {
324
- type: t,
325
- "data-size": s,
326
- variant: r,
327
- className: n(X({ size: s }), e),
328
- ...o
329
- }
330
- );
331
- }
332
- function Pe({ className: e, ...t }) {
333
- return /* @__PURE__ */ a(
334
- "span",
335
- {
336
- className: n(
337
- "text-muted-foreground flex items-center gap-2 text-sm [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4",
338
- e
339
- ),
340
- ...t
341
- }
342
- );
343
- }
344
- function Te({ className: e, ...t }) {
345
- return /* @__PURE__ */ a(
346
- E,
347
- {
348
- "data-slot": "input-group-control",
349
- className: n(
350
- "flex-1 rounded-none border-0 bg-transparent shadow-none focus-visible:ring-0 dark:bg-transparent",
351
- e
352
- ),
353
- ...t
354
- }
355
- );
239
+ function q({ ...e }) {
240
+ return /* @__PURE__ */ a(i.Value, { "data-slot": "select-value", ...e });
356
241
  }
357
- function Ie({ className: e, ...t }) {
358
- return /* @__PURE__ */ a(
359
- le,
360
- {
361
- "data-slot": "input-group-control",
362
- className: n(
363
- "flex-1 resize-none rounded-none border-0 bg-transparent py-3 shadow-none focus-visible:ring-0 dark:bg-transparent",
364
- e
365
- ),
366
- ...t
367
- }
368
- );
369
- }
370
- function Y({ ...e }) {
371
- return /* @__PURE__ */ a(d.Root, { "data-slot": "select", ...e });
372
- }
373
- function Se({ ...e }) {
374
- return /* @__PURE__ */ a(d.Group, { "data-slot": "select-group", ...e });
375
- }
376
- function Q({ ...e }) {
377
- return /* @__PURE__ */ a(d.Value, { "data-slot": "select-value", ...e });
378
- }
379
- function O({
242
+ function W({
380
243
  className: e,
381
244
  size: t = "default",
382
245
  children: r,
383
246
  ...s
384
247
  }) {
385
- return /* @__PURE__ */ u(
386
- d.Trigger,
248
+ return /* @__PURE__ */ c(
249
+ i.Trigger,
387
250
  {
388
251
  "data-slot": "select-trigger",
389
252
  "data-size": t,
390
- className: n(
253
+ className: o(
391
254
  `
392
- flex w-fit items-center justify-between gap-2 rounded-md border
393
- border-input bg-transparent px-3 py-2 text-sm whitespace-nowrap
394
- shadow-xs transition-[color,box-shadow] outline-none
255
+ flex w-fit items-center justify-between gap-2 rounded-sm
256
+ border-subtle bg-background px-3 py-2 text-sm whitespace-nowrap
257
+ transition-[color,box-shadow] outline-none
395
258
  focus-visible:border-ring focus-visible:ring-[3px]
396
259
  focus-visible:ring-ring/50
397
260
  disabled:cursor-not-allowed disabled:opacity-50
398
261
  aria-invalid:border-destructive aria-invalid:ring-destructive/20
399
- data-[placeholder]:text-muted-foreground
262
+ data-[placeholder]:text-secondary text-secondary
263
+ border-2 data-[placeholder]:border data-[placeholder]:border-subtle
400
264
  data-[size=default]:h-9
401
265
  data-[size=sm]:h-8
402
266
  *:data-[slot=select-value]:line-clamp-1
403
267
  *:data-[slot=select-value]:flex
404
268
  *:data-[slot=select-value]:items-center
405
269
  *:data-[slot=select-value]:gap-2
406
- dark:bg-input/30 dark:hover:bg-input/50
407
- dark:aria-invalid:ring-destructive/40
408
270
  [&_svg]:pointer-events-none [&_svg]:shrink-0
409
271
  [&_svg:not([class*='size-'])]:size-4
410
- [&_svg:not([class*='text-'])]:text-muted-foreground
272
+ [&_svg:not([class*='text-'])]:text-secondary
411
273
  `,
412
274
  e
413
275
  ),
414
276
  ...s,
415
277
  children: [
416
278
  r,
417
- /* @__PURE__ */ a(d.Icon, { asChild: !0, children: /* @__PURE__ */ a(b, { className: "size-4 opacity-50" }) })
279
+ /* @__PURE__ */ a(i.Icon, { asChild: !0, children: /* @__PURE__ */ a(x, { className: "size-4" }) })
418
280
  ]
419
281
  }
420
282
  );
421
283
  }
422
- function ee({
284
+ function Z({
423
285
  className: e,
424
286
  children: t,
425
287
  position: r = "popper",
426
288
  ...s
427
289
  }) {
428
- return /* @__PURE__ */ a(d.Portal, { "data-testid": "select", children: /* @__PURE__ */ u(
429
- d.Content,
290
+ return /* @__PURE__ */ a(i.Portal, { "data-testid": "select", children: /* @__PURE__ */ c(
291
+ i.Content,
430
292
  {
431
293
  "data-slot": "select-content",
432
- className: n(
294
+ className: o(
433
295
  `
434
296
  relative z-50 max-h-(--radix-select-content-available-height)
435
297
  min-w-[8rem] origin-(--radix-select-content-transform-origin)
436
- overflow-x-hidden overflow-y-auto rounded-md border bg-popover
437
- text-popover-foreground shadow-md
298
+ overflow-x-hidden overflow-y-auto rounded-sm border bg-popover
299
+ text-secondary shadow-md
438
300
  data-[side=bottom]:slide-in-from-top-2
439
301
  data-[side=left]:slide-in-from-right-2
440
302
  data-[side=right]:slide-in-from-left-2
@@ -455,11 +317,11 @@ function ee({
455
317
  position: r,
456
318
  ...s,
457
319
  children: [
458
- /* @__PURE__ */ a(ae, {}),
320
+ /* @__PURE__ */ a(J, {}),
459
321
  /* @__PURE__ */ a(
460
- d.Viewport,
322
+ i.Viewport,
461
323
  {
462
- className: n(
324
+ className: o(
463
325
  "p-1",
464
326
  r === "popper" && `
465
327
  h-[var(--radix-select-trigger-height)] w-full
@@ -469,35 +331,35 @@ function ee({
469
331
  children: t
470
332
  }
471
333
  ),
472
- /* @__PURE__ */ a(re, {})
334
+ /* @__PURE__ */ a(X, {})
473
335
  ]
474
336
  }
475
337
  ) });
476
338
  }
477
- function Ce({ className: e, ...t }) {
339
+ function ge({ className: e, ...t }) {
478
340
  return /* @__PURE__ */ a(
479
- d.Label,
341
+ i.Label,
480
342
  {
481
343
  "data-slot": "select-label",
482
- className: n("px-2 py-1.5 text-xs text-muted-foreground", e),
344
+ className: o("px-2 py-1.5 text-sm text-secondary font-semibold", e),
483
345
  ...t
484
346
  }
485
347
  );
486
348
  }
487
- function te({
349
+ function $({
488
350
  className: e,
489
351
  children: t,
490
352
  ...r
491
353
  }) {
492
- return /* @__PURE__ */ u(
493
- d.Item,
354
+ return /* @__PURE__ */ c(
355
+ i.Item,
494
356
  {
495
357
  "data-slot": "select-item",
496
- className: n(
358
+ className: o(
497
359
  `
498
360
  relative flex w-full cursor-default items-center gap-2 rounded-sm
499
361
  py-1.5 pr-8 pl-2 text-sm outline-hidden select-none
500
- focus:bg-accent focus:text-accent-foreground
362
+ focus:bg-primary
501
363
  data-[disabled]:pointer-events-none data-[disabled]:opacity-50
502
364
  [&_svg]:pointer-events-none [&_svg]:shrink-0
503
365
  [&_svg:not([class*='size-'])]:size-4
@@ -508,229 +370,159 @@ function te({
508
370
  ),
509
371
  ...r,
510
372
  children: [
511
- /* @__PURE__ */ a("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ a(d.ItemIndicator, { children: /* @__PURE__ */ a(C, { className: "size-4" }) }) }),
512
- /* @__PURE__ */ a(d.ItemText, { children: t })
373
+ /* @__PURE__ */ a("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ a(i.ItemIndicator, { children: /* @__PURE__ */ a(E, { className: "size-4" }) }) }),
374
+ /* @__PURE__ */ a(i.ItemText, { children: t })
513
375
  ]
514
376
  }
515
377
  );
516
378
  }
517
- function Me({
379
+ function be({
518
380
  className: e,
519
381
  ...t
520
382
  }) {
521
383
  return /* @__PURE__ */ a(
522
- d.Separator,
384
+ i.Separator,
523
385
  {
524
386
  "data-slot": "select-separator",
525
- className: n("pointer-events-none -mx-1 my-1 h-px bg-border", e),
387
+ className: o("pointer-events-none -mx-1 my-1 h-px bg-border", e),
526
388
  ...t
527
389
  }
528
390
  );
529
391
  }
530
- function ae({
392
+ function J({
531
393
  className: e,
532
394
  ...t
533
395
  }) {
534
396
  return /* @__PURE__ */ a(
535
- d.ScrollUpButton,
397
+ i.ScrollUpButton,
536
398
  {
537
399
  "data-slot": "select-scroll-up-button",
538
- className: n("flex cursor-default items-center justify-center py-1", e),
400
+ className: o(
401
+ "flex cursor-default items-center justify-center py-1 text-secondary",
402
+ e
403
+ ),
539
404
  ...t,
540
- children: /* @__PURE__ */ a(M, { className: "size-4" })
405
+ children: /* @__PURE__ */ a(P, { className: "size-4" })
541
406
  }
542
407
  );
543
408
  }
544
- function re({
409
+ function X({
545
410
  className: e,
546
411
  ...t
547
412
  }) {
548
413
  return /* @__PURE__ */ a(
549
- d.ScrollDownButton,
414
+ i.ScrollDownButton,
550
415
  {
551
416
  "data-slot": "select-scroll-down-button",
552
- className: n("flex cursor-default items-center justify-center py-1", e),
417
+ className: o(
418
+ "flex cursor-default items-center justify-center py-1 text-secondary",
419
+ e
420
+ ),
553
421
  ...t,
554
- children: /* @__PURE__ */ a(b, { className: "size-4" })
422
+ children: /* @__PURE__ */ a(x, { className: "size-4" })
555
423
  }
556
424
  );
557
425
  }
558
- const Ae = ({
426
+ const he = ({
559
427
  translationKey: e,
560
428
  translationOptions: t,
561
429
  namespace: r,
562
430
  ...s
563
431
  }) => {
564
- const i = v(r)(
432
+ const l = g(r)(
565
433
  e,
566
434
  t == null ? void 0 : t.args
567
435
  );
568
- return /* @__PURE__ */ a(m, { ...s, children: i });
569
- }, je = ({
436
+ return /* @__PURE__ */ a(p, { ...s, children: l });
437
+ }, ve = ({
570
438
  translationKey: e,
571
439
  translationOptions: t,
572
440
  namespace: r,
573
441
  className: s,
574
- tag: o = "div"
442
+ tag: n = "div"
575
443
  }) => {
576
- const l = v(r)(
444
+ const d = g(r)(
577
445
  e,
578
446
  t == null ? void 0 : t.args
579
447
  );
580
- return L.createElement(o, { className: s, "data-testid": "translated-html" }, l);
581
- }, Re = ({
448
+ return M.createElement(n, { className: s, "data-testid": "translated-html" }, d);
449
+ }, Ne = ({
582
450
  date: e,
583
451
  formatOptions: t,
584
452
  locale: r,
585
453
  ...s
586
454
  }) => {
587
- const o = P(e, r, t);
588
- return /* @__PURE__ */ a(m, { ...s, children: o });
589
- }, Be = ({
455
+ const n = y(e, r, t);
456
+ return /* @__PURE__ */ a(p, { ...s, children: n });
457
+ }, we = ({
590
458
  value: e,
591
459
  formatOptions: t,
592
460
  locale: r,
593
461
  ...s
594
462
  }) => {
595
- const o = T(e, r, t);
596
- return /* @__PURE__ */ a(m, { ...s, children: o });
463
+ const n = T(e, r, t);
464
+ return /* @__PURE__ */ a(p, { ...s, children: n });
597
465
  };
598
- function De({
466
+ function ye({
599
467
  locale: e,
600
468
  locales: t,
601
469
  onChange: r,
602
470
  getLabel: s,
603
- disabled: o
471
+ disabled: n
604
472
  }) {
605
- return /* @__PURE__ */ u(Y, { value: e, onValueChange: r, disabled: o, children: [
606
- /* @__PURE__ */ a(O, { children: /* @__PURE__ */ a(Q, { placeholder: s(e) }) }),
607
- /* @__PURE__ */ a(ee, { children: t.map((i) => /* @__PURE__ */ a(te, { value: i, children: s(i) }, i)) })
473
+ return /* @__PURE__ */ c(V, { value: e, onValueChange: r, disabled: n, children: [
474
+ /* @__PURE__ */ a(W, { children: /* @__PURE__ */ a(q, { placeholder: s(e) }) }),
475
+ /* @__PURE__ */ a(Z, { children: t.map((l) => /* @__PURE__ */ a($, { value: l, children: s(l) }, l)) })
608
476
  ] });
609
477
  }
610
- function Ge({
478
+ function Te({
611
479
  className: e,
612
480
  reverse: t = !1,
613
481
  pauseOnHover: r = !1,
614
482
  paused: s = !1,
615
- children: o,
616
- vertical: i = !1,
617
- repeat: l = 4,
618
- ...c
483
+ children: n,
484
+ vertical: l = !1,
485
+ repeat: d = 4,
486
+ ...u
619
487
  }) {
620
488
  return /* @__PURE__ */ a(
621
489
  "div",
622
490
  {
623
- ...c,
624
- className: n(
491
+ ...u,
492
+ className: o(
625
493
  "group flex overflow-hidden p-2 [--duration:40s] [--gap:1rem] [gap:var(--gap)]",
626
494
  {
627
- "flex-row": !i,
628
- "flex-col": i
495
+ "flex-row": !l,
496
+ "flex-col": l
629
497
  },
630
498
  e
631
499
  ),
632
- children: Array(l).fill(0).map((g, z) => /* @__PURE__ */ a(
500
+ children: Array(d).fill(0).map((f, w) => /* @__PURE__ */ a(
633
501
  "div",
634
502
  {
635
- className: n("flex shrink-0 justify-around [gap:var(--gap)]", {
636
- "animate-marquee flex-row": !i,
637
- "animate-marquee-vertical flex-col": i,
503
+ className: o("flex shrink-0 justify-around [gap:var(--gap)]", {
504
+ "animate-marquee flex-row": !l,
505
+ "animate-marquee-vertical flex-col": l,
638
506
  "group-hover:[animation-play-state:paused]": r,
639
507
  "[animation-direction:reverse]": t,
640
508
  "[animation-play-state:paused]": s
641
509
  }),
642
- children: o
510
+ children: n
643
511
  },
644
- z
512
+ w
645
513
  ))
646
514
  }
647
515
  );
648
516
  }
649
- const ne = f(
650
- "relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",
651
- {
652
- variants: {
653
- variant: {
654
- default: "bg-card text-card-foreground",
655
- destructive: "text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90"
656
- }
657
- },
658
- defaultVariants: {
659
- variant: "default"
660
- }
661
- }
662
- );
663
- function Le({
664
- className: e,
665
- variant: t,
666
- ...r
667
- }) {
668
- return /* @__PURE__ */ a(
669
- "div",
670
- {
671
- "data-slot": "alert",
672
- role: "alert",
673
- className: n(ne({ variant: t }), e),
674
- ...r
675
- }
676
- );
677
- }
678
- function Ve({ className: e, ...t }) {
679
- return /* @__PURE__ */ a(
680
- "div",
681
- {
682
- "data-slot": "alert-title",
683
- className: n("col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight", e),
684
- ...t
685
- }
686
- );
687
- }
688
- function He({ className: e, ...t }) {
689
- return /* @__PURE__ */ a(
690
- "div",
691
- {
692
- "data-slot": "alert-description",
693
- className: n(
694
- "text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed",
695
- e
696
- ),
697
- ...t
698
- }
699
- );
700
- }
701
- const se = f(
702
- "inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",
703
- {
704
- variants: {
705
- variant: {
706
- default: "border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
707
- secondary: "border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
708
- destructive: "border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
709
- outline: "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"
710
- }
711
- },
712
- defaultVariants: {
713
- variant: "default"
714
- }
715
- }
716
- );
717
- function Fe({
718
- className: e,
719
- variant: t,
720
- asChild: r = !1,
721
- ...s
722
- }) {
723
- return /* @__PURE__ */ a(r ? x : "span", { "data-slot": "badge", className: n(se({ variant: t }), e), ...s });
724
- }
725
- function Ue({ ...e }) {
517
+ function Ie({ ...e }) {
726
518
  return /* @__PURE__ */ a("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...e });
727
519
  }
728
- function qe({ className: e, ...t }) {
520
+ function Ee({ className: e, ...t }) {
729
521
  return /* @__PURE__ */ a(
730
522
  "ol",
731
523
  {
732
524
  "data-slot": "breadcrumb-list",
733
- className: n(
525
+ className: o(
734
526
  "text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",
735
527
  e
736
528
  ),
@@ -738,31 +530,31 @@ function qe({ className: e, ...t }) {
738
530
  }
739
531
  );
740
532
  }
741
- function We({ className: e, ...t }) {
533
+ function Pe({ className: e, ...t }) {
742
534
  return /* @__PURE__ */ a(
743
535
  "li",
744
536
  {
745
537
  "data-slot": "breadcrumb-item",
746
- className: n("inline-flex items-center gap-1.5", e),
538
+ className: o("inline-flex items-center gap-1.5", e),
747
539
  ...t
748
540
  }
749
541
  );
750
542
  }
751
- function Ze({
543
+ function _e({
752
544
  asChild: e,
753
545
  className: t,
754
546
  ...r
755
547
  }) {
756
548
  return /* @__PURE__ */ a(
757
- e ? x : "a",
549
+ e ? A : "a",
758
550
  {
759
551
  "data-slot": "breadcrumb-link",
760
- className: n("hover:text-secondary transition-colors", t),
552
+ className: o("hover:text-secondary transition-colors", t),
761
553
  ...r
762
554
  }
763
555
  );
764
556
  }
765
- function $e({ className: e, ...t }) {
557
+ function Se({ className: e, ...t }) {
766
558
  return /* @__PURE__ */ a(
767
559
  "span",
768
560
  {
@@ -770,46 +562,46 @@ function $e({ className: e, ...t }) {
770
562
  role: "link",
771
563
  "aria-disabled": "true",
772
564
  "aria-current": "page",
773
- className: n("text-secondary font-normal", e),
565
+ className: o("text-secondary font-normal", e),
774
566
  ...t
775
567
  }
776
568
  );
777
569
  }
778
- function Ke({ children: e, className: t, ...r }) {
570
+ function ze({ children: e, className: t, ...r }) {
779
571
  return /* @__PURE__ */ a(
780
572
  "li",
781
573
  {
782
574
  "data-slot": "breadcrumb-separator",
783
575
  role: "presentation",
784
576
  "aria-hidden": "true",
785
- className: n("[&>svg]:size-3.5", t),
577
+ className: o("[&>svg]:size-3.5", t),
786
578
  ...r,
787
- children: e ?? /* @__PURE__ */ a(A, {})
579
+ children: e ?? /* @__PURE__ */ a(_, {})
788
580
  }
789
581
  );
790
582
  }
791
- function Je({ className: e, ...t }) {
792
- return /* @__PURE__ */ u(
583
+ function Ce({ className: e, ...t }) {
584
+ return /* @__PURE__ */ c(
793
585
  "span",
794
586
  {
795
587
  "data-slot": "breadcrumb-ellipsis",
796
588
  role: "presentation",
797
589
  "aria-hidden": "true",
798
- className: n("flex size-9 items-center justify-center", e),
590
+ className: o("flex size-9 items-center justify-center", e),
799
591
  ...t,
800
592
  children: [
801
- /* @__PURE__ */ a(j, { className: "size-4" }),
593
+ /* @__PURE__ */ a(S, { className: "size-4" }),
802
594
  /* @__PURE__ */ a("span", { className: "sr-only", children: "More" })
803
595
  ]
804
596
  }
805
597
  );
806
598
  }
807
- function Xe({ className: e, ...t }) {
599
+ function ke({ className: e, ...t }) {
808
600
  return /* @__PURE__ */ a(
809
601
  "div",
810
602
  {
811
603
  "data-slot": "card",
812
- className: n(
604
+ className: o(
813
605
  "bg-card text-card-foreground flex flex-col gap-6 rounded border border-subtle shadow-sm",
814
606
  e
815
607
  ),
@@ -817,12 +609,12 @@ function Xe({ className: e, ...t }) {
817
609
  }
818
610
  );
819
611
  }
820
- function Ye({ className: e, ...t }) {
612
+ function Me({ className: e, ...t }) {
821
613
  return /* @__PURE__ */ a(
822
614
  "div",
823
615
  {
824
616
  "data-slot": "card-header",
825
- className: n(
617
+ className: o(
826
618
  "@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1 p-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",
827
619
  e
828
620
  ),
@@ -830,106 +622,80 @@ function Ye({ className: e, ...t }) {
830
622
  }
831
623
  );
832
624
  }
833
- function Qe({ className: e, ...t }) {
625
+ function Ae({ className: e, ...t }) {
834
626
  return /* @__PURE__ */ a(
835
627
  "div",
836
628
  {
837
629
  "data-slot": "card-title",
838
- className: n("text-xl font-semibold text-secondary", e),
630
+ className: o("text-xl font-semibold text-secondary", e),
839
631
  ...t
840
632
  }
841
633
  );
842
634
  }
843
- function Oe({ className: e, ...t }) {
635
+ function Be({ className: e, ...t }) {
844
636
  return /* @__PURE__ */ a(
845
637
  "div",
846
638
  {
847
639
  "data-slot": "card-description",
848
- className: n("text-muted-foreground text-sm", e),
640
+ className: o("text-muted-foreground text-sm", e),
849
641
  ...t
850
642
  }
851
643
  );
852
644
  }
853
- function et({ className: e, ...t }) {
645
+ function Re({ className: e, ...t }) {
854
646
  return /* @__PURE__ */ a(
855
647
  "div",
856
648
  {
857
649
  "data-slot": "card-action",
858
- className: n("col-start-2 row-span-2 row-start-1 self-start justify-self-end", e),
650
+ className: o("col-start-2 row-span-2 row-start-1 self-start justify-self-end", e),
859
651
  ...t
860
652
  }
861
653
  );
862
654
  }
863
- function tt({ className: e, ...t }) {
864
- return /* @__PURE__ */ a("div", { "data-slot": "card-content", className: n("px-6 pb-6", e), ...t });
655
+ function je({ className: e, ...t }) {
656
+ return /* @__PURE__ */ a("div", { "data-slot": "card-content", className: o("px-6 pb-6", e), ...t });
865
657
  }
866
- function at({ className: e, ...t }) {
658
+ function Ge({ className: e, ...t }) {
867
659
  return /* @__PURE__ */ a(
868
660
  "div",
869
661
  {
870
662
  "data-slot": "card-footer",
871
- className: n("flex items-center px-6 pb-6 [.border-t]:pt-6", e),
872
- ...t
873
- }
874
- );
875
- }
876
- var oe = "Label", y = G.forwardRef((e, t) => /* @__PURE__ */ a(
877
- I.label,
878
- {
879
- ...e,
880
- ref: t,
881
- onMouseDown: (r) => {
882
- var o;
883
- r.target.closest("button, input, select, textarea") || ((o = e.onMouseDown) == null || o.call(e, r), !r.defaultPrevented && r.detail > 1 && r.preventDefault());
884
- }
885
- }
886
- ));
887
- y.displayName = oe;
888
- var ie = y;
889
- function rt({ className: e, ...t }) {
890
- return /* @__PURE__ */ a(
891
- ie,
892
- {
893
- "data-slot": "label",
894
- className: n(
895
- "text-secondary flex items-center gap-2 text-sm font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-70 peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
896
- e
897
- ),
663
+ className: o("flex items-center px-6 pb-6 [.border-t]:pt-6", e),
898
664
  ...t
899
665
  }
900
666
  );
901
667
  }
902
- function nt({ className: e, ...t }) {
668
+ function Le({ className: e, ...t }) {
903
669
  return /* @__PURE__ */ a(
904
670
  "nav",
905
671
  {
906
672
  role: "navigation",
907
673
  "aria-label": "pagination",
908
674
  "data-slot": "pagination",
909
- className: n("mx-auto flex w-full justify-center", e),
675
+ className: o("mx-auto flex w-full justify-center", e),
910
676
  ...t
911
677
  }
912
678
  );
913
679
  }
914
- function st({ className: e, ...t }) {
680
+ function De({ className: e, ...t }) {
915
681
  return /* @__PURE__ */ a(
916
682
  "ul",
917
683
  {
918
684
  "data-slot": "pagination-content",
919
- className: n("flex flex-row items-center gap-1", e),
685
+ className: o("flex flex-row items-center gap-1", e),
920
686
  ...t
921
687
  }
922
688
  );
923
689
  }
924
- function ot({ ...e }) {
690
+ function He({ ...e }) {
925
691
  return /* @__PURE__ */ a("li", { "data-slot": "pagination-item", ...e });
926
692
  }
927
- function k({
693
+ function N({
928
694
  className: e,
929
695
  isActive: t,
930
696
  size: r = "icon",
931
697
  children: s,
932
- ...o
698
+ ...n
933
699
  }) {
934
700
  return /* @__PURE__ */ a(
935
701
  "a",
@@ -938,102 +704,104 @@ function k({
938
704
  "data-slot": "pagination-link",
939
705
  "data-active": t,
940
706
  "aria-label": s ? void 0 : `Go to page ${s}`,
941
- className: n(
942
- S({
707
+ className: o(
708
+ I({
943
709
  variant: t ? "outline" : "ghost",
944
710
  size: r
945
711
  }),
712
+ "rounded-sm hover:shadow-none hover:bg-muted",
713
+ t && "border-subtle",
946
714
  e
947
715
  ),
948
- ...o,
716
+ ...n,
949
717
  children: s
950
718
  }
951
719
  );
952
720
  }
953
- function it({ className: e, ...t }) {
954
- return /* @__PURE__ */ u(
955
- k,
721
+ function Ue({ className: e, ...t }) {
722
+ return /* @__PURE__ */ c(
723
+ N,
956
724
  {
957
725
  "aria-label": "Go to previous page",
958
726
  size: "default",
959
- className: n("gap-1 px-2.5 sm:pl-2.5", e),
727
+ className: o("gap-1 px-2.5 sm:pl-2.5", e),
960
728
  ...t,
961
729
  children: [
962
- /* @__PURE__ */ a(R, {}),
730
+ /* @__PURE__ */ a(z, {}),
963
731
  /* @__PURE__ */ a("span", { className: "hidden sm:block", children: "Previous" })
964
732
  ]
965
733
  }
966
734
  );
967
735
  }
968
- function lt({ className: e, ...t }) {
969
- return /* @__PURE__ */ u(
970
- k,
736
+ function Fe({ className: e, ...t }) {
737
+ return /* @__PURE__ */ c(
738
+ N,
971
739
  {
972
740
  "aria-label": "Go to next page",
973
741
  size: "default",
974
- className: n("gap-1 px-2.5 sm:pr-2.5", e),
742
+ className: o("gap-1 px-2.5 sm:pr-2.5", e),
975
743
  ...t,
976
744
  children: [
977
745
  /* @__PURE__ */ a("span", { className: "hidden sm:block", children: "Next" }),
978
- /* @__PURE__ */ a(B, {})
746
+ /* @__PURE__ */ a(C, {})
979
747
  ]
980
748
  }
981
749
  );
982
750
  }
983
- function dt({ className: e, ...t }) {
984
- return /* @__PURE__ */ u(
751
+ function Ve({ className: e, ...t }) {
752
+ return /* @__PURE__ */ c(
985
753
  "span",
986
754
  {
987
755
  "aria-hidden": !0,
988
756
  "data-slot": "pagination-ellipsis",
989
- className: n("flex size-9 items-center justify-center", e),
757
+ className: o("flex size-9 items-center justify-center text-secondary", e),
990
758
  ...t,
991
759
  children: [
992
- /* @__PURE__ */ a(D, { className: "size-4" }),
760
+ /* @__PURE__ */ a(k, { className: "size-4" }),
993
761
  /* @__PURE__ */ a("span", { className: "sr-only", children: "More pages" })
994
762
  ]
995
763
  }
996
764
  );
997
765
  }
998
- function ct({ className: e, ...t }) {
766
+ function qe({ className: e, ...t }) {
999
767
  return /* @__PURE__ */ a("div", { "data-slot": "table-wrapper", className: "relative w-full overflow-auto", children: /* @__PURE__ */ a(
1000
768
  "table",
1001
769
  {
1002
770
  "data-slot": "table",
1003
- className: n("w-full caption-bottom text-sm", e),
771
+ className: o("w-full caption-bottom text-sm", e),
1004
772
  ...t
1005
773
  }
1006
774
  ) });
1007
775
  }
1008
- function ut({ className: e, ...t }) {
1009
- return /* @__PURE__ */ a("thead", { "data-slot": "table-header", className: n("[&_tr]:border-b", e), ...t });
776
+ function We({ className: e, ...t }) {
777
+ return /* @__PURE__ */ a("thead", { "data-slot": "table-header", className: o("[&_tr]:border-b", e), ...t });
1010
778
  }
1011
- function pt({ className: e, ...t }) {
779
+ function Ze({ className: e, ...t }) {
1012
780
  return /* @__PURE__ */ a(
1013
781
  "tbody",
1014
782
  {
1015
783
  "data-slot": "table-body",
1016
- className: n("[&_tr:last-child]:border-0", e),
784
+ className: o("[&_tr:last-child]:border-0", e),
1017
785
  ...t
1018
786
  }
1019
787
  );
1020
788
  }
1021
- function mt({ className: e, ...t }) {
789
+ function $e({ className: e, ...t }) {
1022
790
  return /* @__PURE__ */ a(
1023
791
  "tfoot",
1024
792
  {
1025
793
  "data-slot": "table-footer",
1026
- className: n("bg-muted/50 font-medium [&>tr]:last:border-b-0", e),
794
+ className: o("bg-muted/50 font-medium [&>tr]:last:border-b-0", e),
1027
795
  ...t
1028
796
  }
1029
797
  );
1030
798
  }
1031
- function gt({ className: e, ...t }) {
799
+ function Je({ className: e, ...t }) {
1032
800
  return /* @__PURE__ */ a(
1033
801
  "tr",
1034
802
  {
1035
803
  "data-slot": "table-row",
1036
- className: n(
804
+ className: o(
1037
805
  "border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
1038
806
  e
1039
807
  ),
@@ -1041,12 +809,12 @@ function gt({ className: e, ...t }) {
1041
809
  }
1042
810
  );
1043
811
  }
1044
- function ft({ className: e, ...t }) {
812
+ function Xe({ className: e, ...t }) {
1045
813
  return /* @__PURE__ */ a(
1046
814
  "th",
1047
815
  {
1048
816
  "data-slot": "table-head",
1049
- className: n(
817
+ className: o(
1050
818
  "h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",
1051
819
  e
1052
820
  ),
@@ -1054,110 +822,96 @@ function ft({ className: e, ...t }) {
1054
822
  }
1055
823
  );
1056
824
  }
1057
- function xt({ className: e, ...t }) {
825
+ function Ye({ className: e, ...t }) {
1058
826
  return /* @__PURE__ */ a(
1059
827
  "td",
1060
828
  {
1061
829
  "data-slot": "table-cell",
1062
- className: n("p-4 align-middle [&:has([role=checkbox])]:pr-0", e),
830
+ className: o("p-4 align-middle [&:has([role=checkbox])]:pr-0", e),
1063
831
  ...t
1064
832
  }
1065
833
  );
1066
834
  }
1067
- function bt({ className: e, ...t }) {
835
+ function Ke({ className: e, ...t }) {
1068
836
  return /* @__PURE__ */ a(
1069
837
  "caption",
1070
838
  {
1071
839
  "data-slot": "table-caption",
1072
- className: n("mt-4 text-sm text-muted-foreground", e),
1073
- ...t
1074
- }
1075
- );
1076
- }
1077
- function le({ className: e, ...t }) {
1078
- return /* @__PURE__ */ a(
1079
- "textarea",
1080
- {
1081
- "data-slot": "textarea",
1082
- className: n(
1083
- "border-subtle text-secondary bg-background placeholder:text-accent-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 aria-invalid:border-destructive flex field-sizing-content min-h-16 w-full rounded-sm border px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 disabled:placeholder:text-secondary-foreground md:text-sm",
1084
- e
1085
- ),
840
+ className: o("mt-4 text-sm text-muted-foreground", e),
1086
841
  ...t
1087
842
  }
1088
843
  );
1089
844
  }
1090
845
  export {
1091
- Le as Alert,
1092
- He as AlertDescription,
1093
- Ve as AlertTitle,
1094
- wt as AuroraText,
1095
- Fe as Badge,
1096
- p as Box,
1097
- Ue as Breadcrumb,
1098
- Je as BreadcrumbEllipsis,
1099
- We as BreadcrumbItem,
1100
- Ze as BreadcrumbLink,
1101
- qe as BreadcrumbList,
1102
- $e as BreadcrumbPage,
1103
- Ke as BreadcrumbSeparator,
1104
- _ as Button,
1105
- Xe as Card,
1106
- et as CardAction,
1107
- tt as CardContent,
1108
- Oe as CardDescription,
1109
- at as CardFooter,
1110
- Ye as CardHeader,
1111
- Qe as CardTitle,
1112
- xe as Container,
1113
- we as ExternalLink,
1114
- be as Flex,
1115
- Re as FormattedDate,
1116
- Be as FormattedNumber,
1117
- ve as Grid,
1118
- he as Heading,
1119
- E as Input,
1120
- ze as InputGroup,
1121
- _e as InputGroupAddon,
1122
- Ee as InputGroupButton,
1123
- Te as InputGroupInput,
1124
- Pe as InputGroupText,
1125
- Ie as InputGroupTextarea,
1126
- rt as Label,
1127
- De as LanguageSelector,
1128
- Ge as Marquee,
1129
- nt as Pagination,
1130
- st as PaginationContent,
1131
- dt as PaginationEllipsis,
1132
- ot as PaginationItem,
1133
- k as PaginationLink,
1134
- lt as PaginationNext,
1135
- it as PaginationPrevious,
1136
- Ne as Paragraph,
1137
- ye as Section,
1138
- Y as Select,
1139
- ee as SelectContent,
1140
- Se as SelectGroup,
1141
- te as SelectItem,
1142
- Ce as SelectLabel,
1143
- re as SelectScrollDownButton,
1144
- ae as SelectScrollUpButton,
1145
- Me as SelectSeparator,
1146
- O as SelectTrigger,
1147
- Q as SelectValue,
1148
- Nt as Separator,
1149
- yt as Skeleton,
1150
- ke as Stack,
1151
- ct as Table,
1152
- pt as TableBody,
1153
- bt as TableCaption,
1154
- xt as TableCell,
1155
- mt as TableFooter,
1156
- ft as TableHead,
1157
- ut as TableHeader,
1158
- gt as TableRow,
1159
- m as Text,
1160
- le as Textarea,
1161
- je as TranslatedHtml,
1162
- Ae as TranslatedText
846
+ et as Alert,
847
+ tt as AlertDescription,
848
+ at as AlertTitle,
849
+ rt as AuroraText,
850
+ ot as Badge,
851
+ m as Box,
852
+ Ie as Breadcrumb,
853
+ Ce as BreadcrumbEllipsis,
854
+ Pe as BreadcrumbItem,
855
+ _e as BreadcrumbLink,
856
+ Ee as BreadcrumbList,
857
+ Se as BreadcrumbPage,
858
+ ze as BreadcrumbSeparator,
859
+ ft as Button,
860
+ ke as Card,
861
+ Re as CardAction,
862
+ je as CardContent,
863
+ Be as CardDescription,
864
+ Ge as CardFooter,
865
+ Me as CardHeader,
866
+ Ae as CardTitle,
867
+ le as Container,
868
+ ue as ExternalLink,
869
+ ie as Flex,
870
+ Ne as FormattedDate,
871
+ we as FormattedNumber,
872
+ de as Grid,
873
+ ce as Heading,
874
+ st as Input,
875
+ nt as InputGroup,
876
+ lt as InputGroupAddon,
877
+ it as InputGroupButton,
878
+ dt as InputGroupInput,
879
+ ct as InputGroupText,
880
+ ut as InputGroupTextarea,
881
+ ye as LanguageSelector,
882
+ Te as Marquee,
883
+ Le as Pagination,
884
+ De as PaginationContent,
885
+ Ve as PaginationEllipsis,
886
+ He as PaginationItem,
887
+ N as PaginationLink,
888
+ Fe as PaginationNext,
889
+ Ue as PaginationPrevious,
890
+ me as Paragraph,
891
+ pe as Section,
892
+ V as Select,
893
+ Z as SelectContent,
894
+ xe as SelectGroup,
895
+ $ as SelectItem,
896
+ ge as SelectLabel,
897
+ X as SelectScrollDownButton,
898
+ J as SelectScrollUpButton,
899
+ be as SelectSeparator,
900
+ W as SelectTrigger,
901
+ q as SelectValue,
902
+ gt as Separator,
903
+ bt as Skeleton,
904
+ fe as Stack,
905
+ qe as Table,
906
+ Ze as TableBody,
907
+ Ke as TableCaption,
908
+ Ye as TableCell,
909
+ $e as TableFooter,
910
+ Xe as TableHead,
911
+ We as TableHeader,
912
+ Je as TableRow,
913
+ p as Text,
914
+ mt as Textarea,
915
+ ve as TranslatedHtml,
916
+ he as TranslatedText
1163
917
  };