@mayor_grd/centry-ui 0.1.0
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/README.md +100 -0
- package/dist/components/ui/accordion.cjs +2 -0
- package/dist/components/ui/accordion.cjs.map +1 -0
- package/dist/components/ui/accordion.d.ts +8 -0
- package/dist/components/ui/accordion.d.ts.map +1 -0
- package/dist/components/ui/accordion.js +47 -0
- package/dist/components/ui/accordion.js.map +1 -0
- package/dist/components/ui/alert-dialog.cjs +2 -0
- package/dist/components/ui/alert-dialog.cjs.map +1 -0
- package/dist/components/ui/alert-dialog.d.ts +21 -0
- package/dist/components/ui/alert-dialog.d.ts.map +1 -0
- package/dist/components/ui/alert-dialog.js +108 -0
- package/dist/components/ui/alert-dialog.js.map +1 -0
- package/dist/components/ui/alert.cjs +2 -0
- package/dist/components/ui/alert.cjs.map +1 -0
- package/dist/components/ui/alert.d.ts +12 -0
- package/dist/components/ui/alert.d.ts.map +1 -0
- package/dist/components/ui/alert.js +55 -0
- package/dist/components/ui/alert.js.map +1 -0
- package/dist/components/ui/aspect-ratio.cjs +2 -0
- package/dist/components/ui/aspect-ratio.cjs.map +1 -0
- package/dist/components/ui/aspect-ratio.d.ts +4 -0
- package/dist/components/ui/aspect-ratio.d.ts.map +1 -0
- package/dist/components/ui/aspect-ratio.js +6 -0
- package/dist/components/ui/aspect-ratio.js.map +1 -0
- package/dist/components/ui/avatar.cjs +2 -0
- package/dist/components/ui/avatar.cjs.map +1 -0
- package/dist/components/ui/avatar.d.ts +13 -0
- package/dist/components/ui/avatar.d.ts.map +1 -0
- package/dist/components/ui/avatar.js +57 -0
- package/dist/components/ui/avatar.js.map +1 -0
- package/dist/components/ui/badge.cjs +2 -0
- package/dist/components/ui/badge.cjs.map +1 -0
- package/dist/components/ui/badge.d.ts +10 -0
- package/dist/components/ui/badge.d.ts.map +1 -0
- package/dist/components/ui/badge.js +38 -0
- package/dist/components/ui/badge.js.map +1 -0
- package/dist/components/ui/breadcrumb.cjs +2 -0
- package/dist/components/ui/breadcrumb.cjs.map +1 -0
- package/dist/components/ui/breadcrumb.d.ts +23 -0
- package/dist/components/ui/breadcrumb.d.ts.map +1 -0
- package/dist/components/ui/breadcrumb.js +97 -0
- package/dist/components/ui/breadcrumb.js.map +1 -0
- package/dist/components/ui/button.cjs +2 -0
- package/dist/components/ui/button.cjs.map +1 -0
- package/dist/components/ui/button.d.ts +13 -0
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/button.figma.d.ts +2 -0
- package/dist/components/ui/button.figma.d.ts.map +1 -0
- package/dist/components/ui/button.js +73 -0
- package/dist/components/ui/button.js.map +1 -0
- package/dist/components/ui/calendar.cjs +2 -0
- package/dist/components/ui/calendar.cjs.map +1 -0
- package/dist/components/ui/calendar.d.ts +9 -0
- package/dist/components/ui/calendar.d.ts.map +1 -0
- package/dist/components/ui/calendar.js +56 -0
- package/dist/components/ui/calendar.js.map +1 -0
- package/dist/components/ui/card.cjs +2 -0
- package/dist/components/ui/card.cjs.map +1 -0
- package/dist/components/ui/card.d.ts +9 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/card.js +51 -0
- package/dist/components/ui/card.js.map +1 -0
- package/dist/components/ui/carousel.cjs +2 -0
- package/dist/components/ui/carousel.cjs.map +1 -0
- package/dist/components/ui/carousel.d.ts +19 -0
- package/dist/components/ui/carousel.d.ts.map +1 -0
- package/dist/components/ui/carousel.js +156 -0
- package/dist/components/ui/carousel.js.map +1 -0
- package/dist/components/ui/checkbox.cjs +2 -0
- package/dist/components/ui/checkbox.cjs.map +1 -0
- package/dist/components/ui/checkbox.d.ts +5 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -0
- package/dist/components/ui/checkbox.js +53 -0
- package/dist/components/ui/checkbox.js.map +1 -0
- package/dist/components/ui/collapsible.cjs +2 -0
- package/dist/components/ui/collapsible.cjs.map +1 -0
- package/dist/components/ui/collapsible.d.ts +6 -0
- package/dist/components/ui/collapsible.d.ts.map +1 -0
- package/dist/components/ui/collapsible.js +8 -0
- package/dist/components/ui/collapsible.js.map +1 -0
- package/dist/components/ui/combobox.cjs +2 -0
- package/dist/components/ui/combobox.cjs.map +1 -0
- package/dist/components/ui/combobox.d.ts +22 -0
- package/dist/components/ui/combobox.d.ts.map +1 -0
- package/dist/components/ui/combobox.js +70 -0
- package/dist/components/ui/combobox.js.map +1 -0
- package/dist/components/ui/command.cjs +2 -0
- package/dist/components/ui/command.cjs.map +1 -0
- package/dist/components/ui/command.d.ts +82 -0
- package/dist/components/ui/command.d.ts.map +1 -0
- package/dist/components/ui/command.js +107 -0
- package/dist/components/ui/command.js.map +1 -0
- package/dist/components/ui/data-table.cjs +2 -0
- package/dist/components/ui/data-table.cjs.map +1 -0
- package/dist/components/ui/data-table.d.ts +11 -0
- package/dist/components/ui/data-table.d.ts.map +1 -0
- package/dist/components/ui/data-table.js +26 -0
- package/dist/components/ui/data-table.js.map +1 -0
- package/dist/components/ui/date-picker.cjs +2 -0
- package/dist/components/ui/date-picker.cjs.map +1 -0
- package/dist/components/ui/date-picker.d.ts +15 -0
- package/dist/components/ui/date-picker.d.ts.map +1 -0
- package/dist/components/ui/date-picker.js +49 -0
- package/dist/components/ui/date-picker.js.map +1 -0
- package/dist/components/ui/dialog.cjs +2 -0
- package/dist/components/ui/dialog.cjs.map +1 -0
- package/dist/components/ui/dialog.d.ts +20 -0
- package/dist/components/ui/dialog.d.ts.map +1 -0
- package/dist/components/ui/dialog.js +96 -0
- package/dist/components/ui/dialog.js.map +1 -0
- package/dist/components/ui/drawer.cjs +2 -0
- package/dist/components/ui/drawer.cjs.map +1 -0
- package/dist/components/ui/drawer.d.ts +23 -0
- package/dist/components/ui/drawer.d.ts.map +1 -0
- package/dist/components/ui/drawer.js +84 -0
- package/dist/components/ui/drawer.js.map +1 -0
- package/dist/components/ui/dropdown-menu.cjs +2 -0
- package/dist/components/ui/dropdown-menu.cjs.map +1 -0
- package/dist/components/ui/dropdown-menu.d.ts +34 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/components/ui/dropdown-menu.js +153 -0
- package/dist/components/ui/dropdown-menu.js.map +1 -0
- package/dist/components/ui/form.cjs +2 -0
- package/dist/components/ui/form.cjs.map +1 -0
- package/dist/components/ui/form.d.ts +23 -0
- package/dist/components/ui/form.d.ts.map +1 -0
- package/dist/components/ui/form.js +93 -0
- package/dist/components/ui/form.js.map +1 -0
- package/dist/components/ui/hover-card.cjs +2 -0
- package/dist/components/ui/hover-card.cjs.map +1 -0
- package/dist/components/ui/hover-card.d.ts +7 -0
- package/dist/components/ui/hover-card.d.ts.map +1 -0
- package/dist/components/ui/hover-card.js +24 -0
- package/dist/components/ui/hover-card.js.map +1 -0
- package/dist/components/ui/index.d.ts +45 -0
- package/dist/components/ui/index.d.ts.map +1 -0
- package/dist/components/ui/input-otp.cjs +2 -0
- package/dist/components/ui/input-otp.cjs.map +1 -0
- package/dist/components/ui/input-otp.d.ts +36 -0
- package/dist/components/ui/input-otp.d.ts.map +1 -0
- package/dist/components/ui/input-otp.js +55 -0
- package/dist/components/ui/input-otp.js.map +1 -0
- package/dist/components/ui/input.cjs +2 -0
- package/dist/components/ui/input.cjs.map +1 -0
- package/dist/components/ui/input.d.ts +10 -0
- package/dist/components/ui/input.d.ts.map +1 -0
- package/dist/components/ui/input.js +32 -0
- package/dist/components/ui/input.js.map +1 -0
- package/dist/components/ui/label.cjs +2 -0
- package/dist/components/ui/label.cjs.map +1 -0
- package/dist/components/ui/label.d.ts +6 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/label.js +13 -0
- package/dist/components/ui/label.js.map +1 -0
- package/dist/components/ui/navigation-menu.cjs +2 -0
- package/dist/components/ui/navigation-menu.cjs.map +1 -0
- package/dist/components/ui/navigation-menu.d.ts +13 -0
- package/dist/components/ui/navigation-menu.d.ts.map +1 -0
- package/dist/components/ui/navigation-menu.js +100 -0
- package/dist/components/ui/navigation-menu.js.map +1 -0
- package/dist/components/ui/pagination.cjs +2 -0
- package/dist/components/ui/pagination.cjs.map +1 -0
- package/dist/components/ui/pagination.d.ts +29 -0
- package/dist/components/ui/pagination.d.ts.map +1 -0
- package/dist/components/ui/pagination.js +100 -0
- package/dist/components/ui/pagination.js.map +1 -0
- package/dist/components/ui/popover.cjs +2 -0
- package/dist/components/ui/popover.cjs.map +1 -0
- package/dist/components/ui/popover.d.ts +8 -0
- package/dist/components/ui/popover.d.ts.map +1 -0
- package/dist/components/ui/popover.js +25 -0
- package/dist/components/ui/popover.js.map +1 -0
- package/dist/components/ui/progress.cjs +2 -0
- package/dist/components/ui/progress.cjs.map +1 -0
- package/dist/components/ui/progress.d.ts +5 -0
- package/dist/components/ui/progress.d.ts.map +1 -0
- package/dist/components/ui/progress.js +24 -0
- package/dist/components/ui/progress.js.map +1 -0
- package/dist/components/ui/radio-group.cjs +2 -0
- package/dist/components/ui/radio-group.cjs.map +1 -0
- package/dist/components/ui/radio-group.d.ts +6 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -0
- package/dist/components/ui/radio-group.js +31 -0
- package/dist/components/ui/radio-group.js.map +1 -0
- package/dist/components/ui/select.cjs +2 -0
- package/dist/components/ui/select.cjs.map +1 -0
- package/dist/components/ui/select.d.ts +14 -0
- package/dist/components/ui/select.d.ts.map +1 -0
- package/dist/components/ui/select.js +116 -0
- package/dist/components/ui/select.js.map +1 -0
- package/dist/components/ui/separator.cjs +2 -0
- package/dist/components/ui/separator.cjs.map +1 -0
- package/dist/components/ui/separator.d.ts +5 -0
- package/dist/components/ui/separator.d.ts.map +1 -0
- package/dist/components/ui/separator.js +23 -0
- package/dist/components/ui/separator.js.map +1 -0
- package/dist/components/ui/sheet.cjs +2 -0
- package/dist/components/ui/sheet.cjs.map +1 -0
- package/dist/components/ui/sheet.d.ts +26 -0
- package/dist/components/ui/sheet.d.ts.map +1 -0
- package/dist/components/ui/sheet.js +87 -0
- package/dist/components/ui/sheet.js.map +1 -0
- package/dist/components/ui/sidebar.cjs +2 -0
- package/dist/components/ui/sidebar.cjs.map +1 -0
- package/dist/components/ui/sidebar.d.ts +70 -0
- package/dist/components/ui/sidebar.d.ts.map +1 -0
- package/dist/components/ui/sidebar.js +541 -0
- package/dist/components/ui/sidebar.js.map +1 -0
- package/dist/components/ui/skeleton.cjs +2 -0
- package/dist/components/ui/skeleton.cjs.map +1 -0
- package/dist/components/ui/skeleton.d.ts +4 -0
- package/dist/components/ui/skeleton.d.ts.map +1 -0
- package/dist/components/ui/skeleton.js +18 -0
- package/dist/components/ui/skeleton.js.map +1 -0
- package/dist/components/ui/slider.cjs +2 -0
- package/dist/components/ui/slider.cjs.map +1 -0
- package/dist/components/ui/slider.d.ts +5 -0
- package/dist/components/ui/slider.d.ts.map +1 -0
- package/dist/components/ui/slider.js +21 -0
- package/dist/components/ui/slider.js.map +1 -0
- package/dist/components/ui/sonner.cjs +2 -0
- package/dist/components/ui/sonner.cjs.map +1 -0
- package/dist/components/ui/sonner.d.ts +6 -0
- package/dist/components/ui/sonner.d.ts.map +1 -0
- package/dist/components/ui/sonner.js +27 -0
- package/dist/components/ui/sonner.js.map +1 -0
- package/dist/components/ui/switch.cjs +2 -0
- package/dist/components/ui/switch.cjs.map +1 -0
- package/dist/components/ui/switch.d.ts +5 -0
- package/dist/components/ui/switch.d.ts.map +1 -0
- package/dist/components/ui/switch.js +28 -0
- package/dist/components/ui/switch.js.map +1 -0
- package/dist/components/ui/table.cjs +2 -0
- package/dist/components/ui/table.cjs.map +1 -0
- package/dist/components/ui/table.d.ts +17 -0
- package/dist/components/ui/table.d.ts.map +1 -0
- package/dist/components/ui/table.js +86 -0
- package/dist/components/ui/table.js.map +1 -0
- package/dist/components/ui/tag.cjs +2 -0
- package/dist/components/ui/tag.cjs.map +1 -0
- package/dist/components/ui/tag.d.ts +11 -0
- package/dist/components/ui/tag.d.ts.map +1 -0
- package/dist/components/ui/tag.js +50 -0
- package/dist/components/ui/tag.js.map +1 -0
- package/dist/components/ui/textarea.cjs +2 -0
- package/dist/components/ui/textarea.cjs.map +1 -0
- package/dist/components/ui/textarea.d.ts +10 -0
- package/dist/components/ui/textarea.d.ts.map +1 -0
- package/dist/components/ui/textarea.js +31 -0
- package/dist/components/ui/textarea.js.map +1 -0
- package/dist/components/ui/toggle-group.cjs +2 -0
- package/dist/components/ui/toggle-group.cjs.map +1 -0
- package/dist/components/ui/toggle-group.d.ts +17 -0
- package/dist/components/ui/toggle-group.d.ts.map +1 -0
- package/dist/components/ui/toggle-group.js +57 -0
- package/dist/components/ui/toggle-group.js.map +1 -0
- package/dist/components/ui/toggle.cjs +2 -0
- package/dist/components/ui/toggle.cjs.map +1 -0
- package/dist/components/ui/toggle.d.ts +13 -0
- package/dist/components/ui/toggle.d.ts.map +1 -0
- package/dist/components/ui/toggle.js +35 -0
- package/dist/components/ui/toggle.js.map +1 -0
- package/dist/components/ui/tooltip.cjs +2 -0
- package/dist/components/ui/tooltip.cjs.map +1 -0
- package/dist/components/ui/tooltip.d.ts +14 -0
- package/dist/components/ui/tooltip.d.ts.map +1 -0
- package/dist/components/ui/tooltip.js +34 -0
- package/dist/components/ui/tooltip.js.map +1 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +264 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/utils.cjs +2 -0
- package/dist/lib/utils.cjs.map +1 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +9 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/styles/library.css +174 -0
- package/dist/tokens/generated/primitives.css +541 -0
- package/dist/tokens/generated/tailwind-theme.cjs +2 -0
- package/dist/tokens/generated/tailwind-theme.cjs.map +1 -0
- package/dist/tokens/generated/tailwind-theme.d.ts +870 -0
- package/dist/tokens/generated/tailwind-theme.d.ts.map +1 -0
- package/dist/tokens/generated/tailwind-theme.js +872 -0
- package/dist/tokens/generated/tailwind-theme.js.map +1 -0
- package/dist/tokens/generated/tokens.cjs +2 -0
- package/dist/tokens/generated/tokens.cjs.map +1 -0
- package/dist/tokens/generated/tokens.d.ts +891 -0
- package/dist/tokens/generated/tokens.d.ts.map +1 -0
- package/dist/tokens/generated/tokens.js +1596 -0
- package/dist/tokens/generated/tokens.js.map +1 -0
- package/dist/tokens/generated/variables.css +919 -0
- package/dist/tokens/index.cjs +2 -0
- package/dist/tokens/index.cjs.map +1 -0
- package/dist/tokens/index.d.ts +3 -0
- package/dist/tokens/index.d.ts.map +1 -0
- package/dist/tokens/index.js +15 -0
- package/dist/tokens/index.js.map +1 -0
- package/package.json +140 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-otp.d.ts","sourceRoot":"","sources":["../../../src/components/ui/input-otp.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,QAAA,MAAM,QAAQ;;;;;kBAWR,GAAG;;;;;;;;;;;;;kBAAH,GAAG;;;;;;;;2FAEP,CAAC;AAGH,QAAA,MAAM,aAAa,mKAIlB,CAAC;AAGF,UAAU,iBAAkB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC;IACvE,KAAK,EAAE,MAAM,CAAC;CACf;AAED,QAAA,MAAM,YAAY,0FAuBjB,CAAC;AAGF,QAAA,MAAM,iBAAiB,mKAMtB,CAAC;AAGF,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,YAAY,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { jsx as r, jsxs as m } from "react/jsx-runtime";
|
|
2
|
+
import * as s from "react";
|
|
3
|
+
import { OTPInput as p, OTPInputContext as f } from "input-otp";
|
|
4
|
+
import { Minus as u } from "iconsax-react";
|
|
5
|
+
import { cn as a } from "../../lib/utils.js";
|
|
6
|
+
const x = s.forwardRef(({ className: e, containerClassName: t, ...o }, n) => /* @__PURE__ */ r(
|
|
7
|
+
p,
|
|
8
|
+
{
|
|
9
|
+
ref: n,
|
|
10
|
+
containerClassName: a(
|
|
11
|
+
"flex items-center gap-2 has-[:disabled]:opacity-50",
|
|
12
|
+
t
|
|
13
|
+
),
|
|
14
|
+
className: a("disabled:cursor-not-allowed", e),
|
|
15
|
+
...o
|
|
16
|
+
}
|
|
17
|
+
));
|
|
18
|
+
x.displayName = "InputOTP";
|
|
19
|
+
const N = s.forwardRef(
|
|
20
|
+
({ className: e, ...t }, o) => /* @__PURE__ */ r("div", { ref: o, className: a("flex items-center", e), ...t })
|
|
21
|
+
);
|
|
22
|
+
N.displayName = "InputOTPGroup";
|
|
23
|
+
const O = s.forwardRef(
|
|
24
|
+
({ index: e, className: t, ...o }, n) => {
|
|
25
|
+
const i = s.useContext(f), { char: l, hasFakeCaret: d, isActive: c } = i.slots[e];
|
|
26
|
+
return /* @__PURE__ */ m(
|
|
27
|
+
"div",
|
|
28
|
+
{
|
|
29
|
+
ref: n,
|
|
30
|
+
className: a(
|
|
31
|
+
"relative flex h-10 w-10 items-center justify-center border-y border-r border-field-border text-sm text-field-text transition-all first:rounded-l-md first:border-l last:rounded-r-md",
|
|
32
|
+
c && "z-10 ring-2 ring-focus-ring ring-offset-focus-offset",
|
|
33
|
+
t
|
|
34
|
+
),
|
|
35
|
+
...o,
|
|
36
|
+
children: [
|
|
37
|
+
l,
|
|
38
|
+
d && /* @__PURE__ */ r("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ r("div", { className: "h-4 w-px animate-caret-blink bg-text-primary duration-1000" }) })
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
);
|
|
44
|
+
O.displayName = "InputOTPSlot";
|
|
45
|
+
const P = s.forwardRef(
|
|
46
|
+
({ ...e }, t) => /* @__PURE__ */ r("div", { ref: t, role: "separator", ...e, children: /* @__PURE__ */ r(u, { size: 16, color: "currentColor", className: "text-icon-muted" }) })
|
|
47
|
+
);
|
|
48
|
+
P.displayName = "InputOTPSeparator";
|
|
49
|
+
export {
|
|
50
|
+
x as InputOTP,
|
|
51
|
+
N as InputOTPGroup,
|
|
52
|
+
P as InputOTPSeparator,
|
|
53
|
+
O as InputOTPSlot
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=input-otp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-otp.js","sources":["../../../src/components/ui/input-otp.tsx"],"sourcesContent":["import * as React from 'react';\nimport { OTPInput, OTPInputContext } from 'input-otp';\nimport { Minus } from 'iconsax-react';\nimport { cn } from '@/lib/utils';\n\nconst InputOTP = React.forwardRef<\n React.ComponentRef<typeof OTPInput>,\n React.ComponentPropsWithoutRef<typeof OTPInput>\n>(({ className, containerClassName, ...props }, ref) => (\n <OTPInput\n ref={ref}\n containerClassName={cn(\n 'flex items-center gap-2 has-[:disabled]:opacity-50',\n containerClassName\n )}\n className={cn('disabled:cursor-not-allowed', className)}\n {...props}\n />\n));\nInputOTP.displayName = 'InputOTP';\n\nconst InputOTPGroup = React.forwardRef<HTMLDivElement, React.ComponentPropsWithoutRef<'div'>>(\n ({ className, ...props }, ref) => (\n <div ref={ref} className={cn('flex items-center', className)} {...props} />\n )\n);\nInputOTPGroup.displayName = 'InputOTPGroup';\n\ninterface InputOTPSlotProps extends React.ComponentPropsWithoutRef<'div'> {\n index: number;\n}\n\nconst InputOTPSlot = React.forwardRef<HTMLDivElement, InputOTPSlotProps>(\n ({ index, className, ...props }, ref) => {\n const inputOTPContext = React.useContext(OTPInputContext);\n const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];\n return (\n <div\n ref={ref}\n className={cn(\n 'relative flex h-10 w-10 items-center justify-center border-y border-r border-field-border text-sm text-field-text transition-all first:rounded-l-md first:border-l last:rounded-r-md',\n isActive && 'z-10 ring-2 ring-focus-ring ring-offset-focus-offset',\n className\n )}\n {...props}\n >\n {char}\n {hasFakeCaret && (\n <div className=\"pointer-events-none absolute inset-0 flex items-center justify-center\">\n <div className=\"h-4 w-px animate-caret-blink bg-text-primary duration-1000\" />\n </div>\n )}\n </div>\n );\n }\n);\nInputOTPSlot.displayName = 'InputOTPSlot';\n\nconst InputOTPSeparator = React.forwardRef<HTMLDivElement, React.ComponentPropsWithoutRef<'div'>>(\n ({ ...props }, ref) => (\n <div ref={ref} role=\"separator\" {...props}>\n <Minus size={16} color=\"currentColor\" className=\"text-icon-muted\" />\n </div>\n )\n);\nInputOTPSeparator.displayName = 'InputOTPSeparator';\n\nexport { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator };\n"],"names":["InputOTP","React","className","containerClassName","props","ref","jsx","OTPInput","cn","InputOTPGroup","InputOTPSlot","index","inputOTPContext","OTPInputContext","char","hasFakeCaret","isActive","jsxs","InputOTPSeparator","Minus"],"mappings":";;;;;AAKA,MAAMA,IAAWC,EAAM,WAGrB,CAAC,EAAE,WAAAC,GAAW,oBAAAC,GAAoB,GAAGC,KAASC,MAC9C,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,KAAAF;AAAA,IACA,oBAAoBG;AAAA,MAClB;AAAA,MACAL;AAAA,IAAA;AAAA,IAEF,WAAWK,EAAG,+BAA+BN,CAAS;AAAA,IACrD,GAAGE;AAAA,EAAA;AACN,CACD;AACDJ,EAAS,cAAc;AAEvB,MAAMS,IAAgBR,EAAM;AAAA,EAC1B,CAAC,EAAE,WAAAC,GAAW,GAAGE,EAAA,GAASC,MACxB,gBAAAC,EAAC,OAAA,EAAI,KAAAD,GAAU,WAAWG,EAAG,qBAAqBN,CAAS,GAAI,GAAGE,EAAA,CAAO;AAE7E;AACAK,EAAc,cAAc;AAM5B,MAAMC,IAAeT,EAAM;AAAA,EACzB,CAAC,EAAE,OAAAU,GAAO,WAAAT,GAAW,GAAGE,EAAA,GAASC,MAAQ;AACvC,UAAMO,IAAkBX,EAAM,WAAWY,CAAe,GAClD,EAAE,MAAAC,GAAM,cAAAC,GAAc,UAAAC,MAAaJ,EAAgB,MAAMD,CAAK;AACpE,WACE,gBAAAM;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,KAAAZ;AAAA,QACA,WAAWG;AAAA,UACT;AAAA,UACAQ,KAAY;AAAA,UACZd;AAAA,QAAA;AAAA,QAED,GAAGE;AAAA,QAEH,UAAA;AAAA,UAAAU;AAAA,UACAC,uBACE,OAAA,EAAI,WAAU,yEACb,UAAA,gBAAAT,EAAC,OAAA,EAAI,WAAU,6DAAA,CAA6D,EAAA,CAC9E;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAIR;AACF;AACAI,EAAa,cAAc;AAE3B,MAAMQ,IAAoBjB,EAAM;AAAA,EAC9B,CAAC,EAAE,GAAGG,EAAA,GAASC,MACb,gBAAAC,EAAC,SAAI,KAAAD,GAAU,MAAK,aAAa,GAAGD,GAClC,4BAACe,GAAA,EAAM,MAAM,IAAI,OAAM,gBAAe,WAAU,kBAAA,CAAkB,EAAA,CACpE;AAEJ;AACAD,EAAkB,cAAc;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),a=require("react"),n=require("class-variance-authority"),f=require("../../lib/utils.cjs");function u(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const c=u(a),o=n.cva("flex h-10 w-full rounded-md border bg-field-bg px-3 py-2 text-sm text-field-text shadow-input ring-offset-focus-offset file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-text-primary placeholder:text-field-placeholder focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:border-field-border-disabled disabled:bg-field-bg-disabled disabled:text-field-text-disabled disabled:placeholder:text-field-text-disabled",{variants:{state:{default:"border-field-border hover:border-field-border-hover",error:"border-field-border-error text-field-errortext placeholder:text-field-errortext focus-visible:ring-status-error-border"}},defaultVariants:{state:"default"}}),l=c.forwardRef(({className:e,type:r,state:t,...i},d)=>s.jsx("input",{type:r,className:f.cn(o({state:t}),e),ref:d,...i}));l.displayName="Input";exports.Input=l;exports.inputVariants=o;
|
|
2
|
+
//# sourceMappingURL=input.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.cjs","sources":["../../../src/components/ui/input.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { cn } from '@/lib/utils';\n\nconst inputVariants = cva(\n 'flex h-10 w-full rounded-md border bg-field-bg px-3 py-2 text-sm text-field-text shadow-input ring-offset-focus-offset file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-text-primary placeholder:text-field-placeholder focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:border-field-border-disabled disabled:bg-field-bg-disabled disabled:text-field-text-disabled disabled:placeholder:text-field-text-disabled',\n {\n variants: {\n state: {\n default: 'border-field-border hover:border-field-border-hover',\n error: 'border-field-border-error text-field-errortext placeholder:text-field-errortext focus-visible:ring-status-error-border',\n },\n },\n defaultVariants: { state: 'default' },\n }\n);\n\nexport interface InputProps\n extends React.InputHTMLAttributes<HTMLInputElement>,\n VariantProps<typeof inputVariants> {}\n\nconst Input = React.forwardRef<HTMLInputElement, InputProps>(\n ({ className, type, state, ...props }, ref) => (\n <input\n type={type}\n className={cn(inputVariants({ state }), className)}\n ref={ref}\n {...props}\n />\n )\n);\nInput.displayName = 'Input';\n\nexport { Input, inputVariants };\n"],"names":["inputVariants","cva","Input","React","className","type","state","props","ref","jsx","cn"],"mappings":"yeAIMA,EAAgBC,EAAAA,IACpB,6gBACA,CACE,SAAU,CACR,MAAO,CACL,QAAS,sDACT,MAAO,wHAAA,CACT,EAEF,gBAAiB,CAAE,MAAO,SAAA,CAAU,CAExC,EAMMC,EAAQC,EAAM,WAClB,CAAC,CAAE,UAAAC,EAAW,KAAAC,EAAM,MAAAC,EAAO,GAAGC,CAAA,EAASC,IACrCC,EAAAA,IAAC,QAAA,CACC,KAAAJ,EACA,UAAWK,EAAAA,GAAGV,EAAc,CAAE,MAAAM,CAAA,CAAO,EAAGF,CAAS,EACjD,IAAAI,EACC,GAAGD,CAAA,CAAA,CAGV,EACAL,EAAM,YAAc"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const inputVariants: (props?: ({
|
|
4
|
+
state?: "default" | "error" | null | undefined;
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
+
export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof inputVariants> {
|
|
7
|
+
}
|
|
8
|
+
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
9
|
+
export { Input, inputVariants };
|
|
10
|
+
//# sourceMappingURL=input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/components/ui/input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,QAAA,MAAM,aAAa;;8EAWlB,CAAC;AAEF,MAAM,WAAW,UACf,SAAQ,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EACjD,YAAY,CAAC,OAAO,aAAa,CAAC;CAAG;AAEzC,QAAA,MAAM,KAAK,qFASV,CAAC;AAGF,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import * as l from "react";
|
|
3
|
+
import { cva as s } from "class-variance-authority";
|
|
4
|
+
import { cn as f } from "../../lib/utils.js";
|
|
5
|
+
const a = s(
|
|
6
|
+
"flex h-10 w-full rounded-md border bg-field-bg px-3 py-2 text-sm text-field-text shadow-input ring-offset-focus-offset file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-text-primary placeholder:text-field-placeholder focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:border-field-border-disabled disabled:bg-field-bg-disabled disabled:text-field-text-disabled disabled:placeholder:text-field-text-disabled",
|
|
7
|
+
{
|
|
8
|
+
variants: {
|
|
9
|
+
state: {
|
|
10
|
+
default: "border-field-border hover:border-field-border-hover",
|
|
11
|
+
error: "border-field-border-error text-field-errortext placeholder:text-field-errortext focus-visible:ring-status-error-border"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
defaultVariants: { state: "default" }
|
|
15
|
+
}
|
|
16
|
+
), b = l.forwardRef(
|
|
17
|
+
({ className: e, type: r, state: t, ...d }, i) => /* @__PURE__ */ o(
|
|
18
|
+
"input",
|
|
19
|
+
{
|
|
20
|
+
type: r,
|
|
21
|
+
className: f(a({ state: t }), e),
|
|
22
|
+
ref: i,
|
|
23
|
+
...d
|
|
24
|
+
}
|
|
25
|
+
)
|
|
26
|
+
);
|
|
27
|
+
b.displayName = "Input";
|
|
28
|
+
export {
|
|
29
|
+
b as Input,
|
|
30
|
+
a as inputVariants
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.js","sources":["../../../src/components/ui/input.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { cn } from '@/lib/utils';\n\nconst inputVariants = cva(\n 'flex h-10 w-full rounded-md border bg-field-bg px-3 py-2 text-sm text-field-text shadow-input ring-offset-focus-offset file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-text-primary placeholder:text-field-placeholder focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:border-field-border-disabled disabled:bg-field-bg-disabled disabled:text-field-text-disabled disabled:placeholder:text-field-text-disabled',\n {\n variants: {\n state: {\n default: 'border-field-border hover:border-field-border-hover',\n error: 'border-field-border-error text-field-errortext placeholder:text-field-errortext focus-visible:ring-status-error-border',\n },\n },\n defaultVariants: { state: 'default' },\n }\n);\n\nexport interface InputProps\n extends React.InputHTMLAttributes<HTMLInputElement>,\n VariantProps<typeof inputVariants> {}\n\nconst Input = React.forwardRef<HTMLInputElement, InputProps>(\n ({ className, type, state, ...props }, ref) => (\n <input\n type={type}\n className={cn(inputVariants({ state }), className)}\n ref={ref}\n {...props}\n />\n )\n);\nInput.displayName = 'Input';\n\nexport { Input, inputVariants };\n"],"names":["inputVariants","cva","Input","React","className","type","state","props","ref","jsx","cn"],"mappings":";;;;AAIA,MAAMA,IAAgBC;AAAA,EACpB;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,OAAO;AAAA,QACL,SAAS;AAAA,QACT,OAAO;AAAA,MAAA;AAAA,IACT;AAAA,IAEF,iBAAiB,EAAE,OAAO,UAAA;AAAA,EAAU;AAExC,GAMMC,IAAQC,EAAM;AAAA,EAClB,CAAC,EAAE,WAAAC,GAAW,MAAAC,GAAM,OAAAC,GAAO,GAAGC,EAAA,GAASC,MACrC,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,MAAAJ;AAAA,MACA,WAAWK,EAAGV,EAAc,EAAE,OAAAM,EAAA,CAAO,GAAGF,CAAS;AAAA,MACjD,KAAAI;AAAA,MACC,GAAGD;AAAA,IAAA;AAAA,EAAA;AAGV;AACAL,EAAM,cAAc;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),s=require("react"),l=require("@radix-ui/react-label"),u=require("class-variance-authority"),d=require("../../lib/utils.cjs");function o(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return a.default=e,Object.freeze(a)}const b=o(s),n=o(l),m=u.cva("text-sm font-medium text-field-label leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),i=b.forwardRef(({className:e,...a},t)=>c.jsx(n.Root,{ref:t,className:d.cn(m(),e),...a}));i.displayName=n.Root.displayName;exports.Label=i;
|
|
2
|
+
//# sourceMappingURL=label.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"label.cjs","sources":["../../../src/components/ui/label.tsx"],"sourcesContent":["// FIGMA-UNVERIFIED: standalone Label primitive; no Figma node in components.txt (used by Form/Field).\nimport * as React from 'react';\nimport * as LabelPrimitive from '@radix-ui/react-label';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { cn } from '@/lib/utils';\n\nconst labelVariants = cva(\n 'text-sm font-medium text-field-label leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70'\n);\n\nconst Label = React.forwardRef<\n React.ComponentRef<typeof LabelPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> &\n VariantProps<typeof labelVariants>\n>(({ className, ...props }, ref) => (\n <LabelPrimitive.Root ref={ref} className={cn(labelVariants(), className)} {...props} />\n));\nLabel.displayName = LabelPrimitive.Root.displayName;\n\nexport { Label };\n"],"names":["labelVariants","cva","Label","React","className","props","ref","jsx","LabelPrimitive","cn"],"mappings":"mhBAMMA,EAAgBC,EAAAA,IACpB,6GACF,EAEMC,EAAQC,EAAM,WAIlB,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAA,EAASC,IAC1BC,MAACC,EAAe,KAAf,CAAoB,IAAAF,EAAU,UAAWG,EAAAA,GAAGT,EAAA,EAAiBI,CAAS,EAAI,GAAGC,EAAO,CACtF,EACDH,EAAM,YAAcM,EAAe,KAAK"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
4
|
+
declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: import('class-variance-authority/types').ClassProp | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
|
|
5
|
+
export { Label };
|
|
6
|
+
//# sourceMappingURL=label.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/components/ui/label.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAOlE,QAAA,MAAM,KAAK,4PAMT,CAAC;AAGH,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import * as i from "react";
|
|
3
|
+
import * as e from "@radix-ui/react-label";
|
|
4
|
+
import { cva as m } from "class-variance-authority";
|
|
5
|
+
import { cn as l } from "../../lib/utils.js";
|
|
6
|
+
const s = m(
|
|
7
|
+
"text-sm font-medium text-field-label leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
|
|
8
|
+
), d = i.forwardRef(({ className: o, ...a }, t) => /* @__PURE__ */ r(e.Root, { ref: t, className: l(s(), o), ...a }));
|
|
9
|
+
d.displayName = e.Root.displayName;
|
|
10
|
+
export {
|
|
11
|
+
d as Label
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=label.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"label.js","sources":["../../../src/components/ui/label.tsx"],"sourcesContent":["// FIGMA-UNVERIFIED: standalone Label primitive; no Figma node in components.txt (used by Form/Field).\nimport * as React from 'react';\nimport * as LabelPrimitive from '@radix-ui/react-label';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { cn } from '@/lib/utils';\n\nconst labelVariants = cva(\n 'text-sm font-medium text-field-label leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70'\n);\n\nconst Label = React.forwardRef<\n React.ComponentRef<typeof LabelPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> &\n VariantProps<typeof labelVariants>\n>(({ className, ...props }, ref) => (\n <LabelPrimitive.Root ref={ref} className={cn(labelVariants(), className)} {...props} />\n));\nLabel.displayName = LabelPrimitive.Root.displayName;\n\nexport { Label };\n"],"names":["labelVariants","cva","Label","React","className","props","ref","jsx","LabelPrimitive","cn"],"mappings":";;;;;AAMA,MAAMA,IAAgBC;AAAA,EACpB;AACF,GAEMC,IAAQC,EAAM,WAIlB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAC,EAACC,EAAe,MAAf,EAAoB,KAAAF,GAAU,WAAWG,EAAGT,EAAA,GAAiBI,CAAS,GAAI,GAAGC,GAAO,CACtF;AACDH,EAAM,cAAcM,EAAe,KAAK;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),v=require("react"),N=require("@radix-ui/react-navigation-menu"),x=require("iconsax-react"),b=require("class-variance-authority"),r=require("../../lib/utils.cjs");function l(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return a.default=e,Object.freeze(a)}const s=l(v),i=l(N),c=s.forwardRef(({className:e,children:a,...t},n)=>o.jsxs(i.Root,{ref:n,className:r.cn("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...t,children:[a,o.jsx(d,{})]}));c.displayName=i.Root.displayName;const u=s.forwardRef(({className:e,...a},t)=>o.jsx(i.List,{ref:t,className:r.cn("group flex flex-1 list-none items-center justify-center space-x-1",e),...a}));u.displayName=i.List.displayName;const y=i.Item,m=b.cva("group inline-flex h-10 w-max items-center justify-center rounded-md bg-bg-transparent px-4 py-2 text-sm font-medium text-text-primary transition-colors hover:bg-action-ghost-bg-hover hover:text-action-ghost-text focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus-ring disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-bg-accent data-[state=open]:bg-bg-accent"),g=s.forwardRef(({className:e,children:a,...t},n)=>o.jsxs(i.Trigger,{ref:n,className:r.cn(m(),"group",e),...t,children:[a,o.jsx(x.ArrowDown2,{size:14,color:"currentColor",className:"relative top-[1px] ml-1 transition duration-200 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));g.displayName=i.Trigger.displayName;const f=s.forwardRef(({className:e,...a},t)=>o.jsx(i.Content,{ref:t,className:r.cn("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto",e),...a}));f.displayName=i.Content.displayName;const w=i.Link,d=s.forwardRef(({className:e,...a},t)=>o.jsx("div",{className:"absolute left-0 top-full flex justify-center",children:o.jsx(i.Viewport,{className:r.cn("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border border-border-default bg-bg-popover text-text-popover shadow-popover data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",e),ref:t,...a})}));d.displayName=i.Viewport.displayName;const p=s.forwardRef(({className:e,...a},t)=>o.jsx(i.Indicator,{ref:t,className:r.cn("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",e),...a,children:o.jsx("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border-default"})}));p.displayName=i.Indicator.displayName;exports.NavigationMenu=c;exports.NavigationMenuContent=f;exports.NavigationMenuIndicator=p;exports.NavigationMenuItem=y;exports.NavigationMenuLink=w;exports.NavigationMenuList=u;exports.NavigationMenuTrigger=g;exports.NavigationMenuViewport=d;exports.navigationMenuTriggerStyle=m;
|
|
2
|
+
//# sourceMappingURL=navigation-menu.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"navigation-menu.cjs","sources":["../../../src/components/ui/navigation-menu.tsx"],"sourcesContent":["import * as React from 'react';\nimport * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';\nimport { ArrowDown2 } from 'iconsax-react';\nimport { cva } from 'class-variance-authority';\nimport { cn } from '@/lib/utils';\n\nconst NavigationMenu = React.forwardRef<\n React.ComponentRef<typeof NavigationMenuPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Root>\n>(({ className, children, ...props }, ref) => (\n <NavigationMenuPrimitive.Root\n ref={ref}\n className={cn('relative z-10 flex max-w-max flex-1 items-center justify-center', className)}\n {...props}\n >\n {children}\n <NavigationMenuViewport />\n </NavigationMenuPrimitive.Root>\n));\nNavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;\n\nconst NavigationMenuList = React.forwardRef<\n React.ComponentRef<typeof NavigationMenuPrimitive.List>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.List>\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.List\n ref={ref}\n className={cn('group flex flex-1 list-none items-center justify-center space-x-1', className)}\n {...props}\n />\n));\nNavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;\n\nconst NavigationMenuItem = NavigationMenuPrimitive.Item;\n\nconst navigationMenuTriggerStyle = cva(\n 'group inline-flex h-10 w-max items-center justify-center rounded-md bg-bg-transparent px-4 py-2 text-sm font-medium text-text-primary transition-colors hover:bg-action-ghost-bg-hover hover:text-action-ghost-text focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus-ring disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-bg-accent data-[state=open]:bg-bg-accent'\n);\n\nconst NavigationMenuTrigger = React.forwardRef<\n React.ComponentRef<typeof NavigationMenuPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Trigger>\n>(({ className, children, ...props }, ref) => (\n <NavigationMenuPrimitive.Trigger\n ref={ref}\n className={cn(navigationMenuTriggerStyle(), 'group', className)}\n {...props}\n >\n {children}\n <ArrowDown2\n size={14}\n color=\"currentColor\"\n className=\"relative top-[1px] ml-1 transition duration-200 group-data-[state=open]:rotate-180\"\n aria-hidden=\"true\"\n />\n </NavigationMenuPrimitive.Trigger>\n));\nNavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;\n\nconst NavigationMenuContent = React.forwardRef<\n React.ComponentRef<typeof NavigationMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Content>\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.Content\n ref={ref}\n className={cn(\n 'left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto',\n className\n )}\n {...props}\n />\n));\nNavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;\n\nconst NavigationMenuLink = NavigationMenuPrimitive.Link;\n\nconst NavigationMenuViewport = React.forwardRef<\n React.ComponentRef<typeof NavigationMenuPrimitive.Viewport>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Viewport>\n>(({ className, ...props }, ref) => (\n <div className=\"absolute left-0 top-full flex justify-center\">\n <NavigationMenuPrimitive.Viewport\n className={cn(\n 'origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border border-border-default bg-bg-popover text-text-popover shadow-popover data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]',\n className\n )}\n ref={ref}\n {...props}\n />\n </div>\n));\nNavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;\n\nconst NavigationMenuIndicator = React.forwardRef<\n React.ComponentRef<typeof NavigationMenuPrimitive.Indicator>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Indicator>\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.Indicator\n ref={ref}\n className={cn(\n 'top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in',\n className\n )}\n {...props}\n >\n <div className=\"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border-default\" />\n </NavigationMenuPrimitive.Indicator>\n));\nNavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;\n\nexport {\n navigationMenuTriggerStyle,\n NavigationMenu,\n NavigationMenuList,\n NavigationMenuItem,\n NavigationMenuContent,\n NavigationMenuTrigger,\n NavigationMenuLink,\n NavigationMenuIndicator,\n NavigationMenuViewport,\n};\n"],"names":["NavigationMenu","React","className","children","props","ref","jsxs","NavigationMenuPrimitive","cn","NavigationMenuViewport","NavigationMenuList","jsx","NavigationMenuItem","navigationMenuTriggerStyle","cva","NavigationMenuTrigger","ArrowDown2","NavigationMenuContent","NavigationMenuLink","NavigationMenuIndicator"],"mappings":"wjBAMMA,EAAiBC,EAAM,WAG3B,CAAC,CAAE,UAAAC,EAAW,SAAAC,EAAU,GAAGC,GAASC,IACpCC,EAAAA,KAACC,EAAwB,KAAxB,CACC,IAAAF,EACA,UAAWG,EAAAA,GAAG,kEAAmEN,CAAS,EACzF,GAAGE,EAEH,SAAA,CAAAD,QACAM,EAAA,CAAA,CAAuB,CAAA,CAAA,CAC1B,CACD,EACDT,EAAe,YAAcO,EAAwB,KAAK,YAE1D,MAAMG,EAAqBT,EAAM,WAG/B,CAAC,CAAE,UAAAC,EAAW,GAAGE,CAAA,EAASC,IAC1BM,EAAAA,IAACJ,EAAwB,KAAxB,CACC,IAAAF,EACA,UAAWG,EAAAA,GAAG,oEAAqEN,CAAS,EAC3F,GAAGE,CAAA,CACN,CACD,EACDM,EAAmB,YAAcH,EAAwB,KAAK,YAE9D,MAAMK,EAAqBL,EAAwB,KAE7CM,EAA6BC,EAAAA,IACjC,8YACF,EAEMC,EAAwBd,EAAM,WAGlC,CAAC,CAAE,UAAAC,EAAW,SAAAC,EAAU,GAAGC,GAASC,IACpCC,EAAAA,KAACC,EAAwB,QAAxB,CACC,IAAAF,EACA,UAAWG,EAAAA,GAAGK,IAA8B,QAASX,CAAS,EAC7D,GAAGE,EAEH,SAAA,CAAAD,EACDQ,EAAAA,IAACK,EAAAA,WAAA,CACC,KAAM,GACN,MAAM,eACN,UAAU,qFACV,cAAY,MAAA,CAAA,CACd,CAAA,CACF,CACD,EACDD,EAAsB,YAAcR,EAAwB,QAAQ,YAEpE,MAAMU,EAAwBhB,EAAM,WAGlC,CAAC,CAAE,UAAAC,EAAW,GAAGE,CAAA,EAASC,IAC1BM,EAAAA,IAACJ,EAAwB,QAAxB,CACC,IAAAF,EACA,UAAWG,EAAAA,GACT,wVACAN,CAAA,EAED,GAAGE,CAAA,CACN,CACD,EACDa,EAAsB,YAAcV,EAAwB,QAAQ,YAEpE,MAAMW,EAAqBX,EAAwB,KAE7CE,EAAyBR,EAAM,WAGnC,CAAC,CAAE,UAAAC,EAAW,GAAGE,CAAA,EAASC,IAC1BM,EAAAA,IAAC,MAAA,CAAI,UAAU,+CACb,SAAAA,EAAAA,IAACJ,EAAwB,SAAxB,CACC,UAAWC,EAAAA,GACT,gXACAN,CAAA,EAEF,IAAAG,EACC,GAAGD,CAAA,CACN,EACF,CACD,EACDK,EAAuB,YAAcF,EAAwB,SAAS,YAEtE,MAAMY,EAA0BlB,EAAM,WAGpC,CAAC,CAAE,UAAAC,EAAW,GAAGE,CAAA,EAASC,IAC1BM,EAAAA,IAACJ,EAAwB,UAAxB,CACC,IAAAF,EACA,UAAWG,EAAAA,GACT,+LACAN,CAAA,EAED,GAAGE,EAEJ,SAAAO,EAAAA,IAAC,MAAA,CAAI,UAAU,sEAAA,CAAuE,CAAA,CACxF,CACD,EACDQ,EAAwB,YAAcZ,EAAwB,UAAU"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
3
|
+
declare const NavigationMenu: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
4
|
+
declare const NavigationMenuList: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React.RefAttributes<HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
5
|
+
declare const NavigationMenuItem: React.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & React.RefAttributes<HTMLLIElement>>;
|
|
6
|
+
declare const navigationMenuTriggerStyle: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
7
|
+
declare const NavigationMenuTrigger: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
8
|
+
declare const NavigationMenuContent: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
declare const NavigationMenuLink: React.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
10
|
+
declare const NavigationMenuViewport: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
declare const NavigationMenuIndicator: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
export { navigationMenuTriggerStyle, NavigationMenu, NavigationMenuList, NavigationMenuItem, NavigationMenuContent, NavigationMenuTrigger, NavigationMenuLink, NavigationMenuIndicator, NavigationMenuViewport, };
|
|
13
|
+
//# sourceMappingURL=navigation-menu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"navigation-menu.d.ts","sourceRoot":"","sources":["../../../src/components/ui/navigation-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,uBAAuB,MAAM,iCAAiC,CAAC;AAK3E,QAAA,MAAM,cAAc,iKAYlB,CAAC;AAGH,QAAA,MAAM,kBAAkB,+KAStB,CAAC;AAGH,QAAA,MAAM,kBAAkB,uHAA+B,CAAC;AAExD,QAAA,MAAM,0BAA0B,oFAE/B,CAAC;AAEF,QAAA,MAAM,qBAAqB,oLAiBzB,CAAC;AAGH,QAAA,MAAM,qBAAqB,8KAYzB,CAAC;AAGH,QAAA,MAAM,kBAAkB,2HAA+B,CAAC;AAExD,QAAA,MAAM,sBAAsB,+KAc1B,CAAC;AAGH,QAAA,MAAM,uBAAuB,gLAc3B,CAAC;AAGH,OAAO,EACL,0BAA0B,EAC1B,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,kBAAkB,EAClB,uBAAuB,EACvB,sBAAsB,GACvB,CAAC"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { jsxs as d, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import * as n from "react";
|
|
3
|
+
import * as t from "@radix-ui/react-navigation-menu";
|
|
4
|
+
import { ArrowDown2 as l } from "iconsax-react";
|
|
5
|
+
import { cva as f } from "class-variance-authority";
|
|
6
|
+
import { cn as r } from "../../lib/utils.js";
|
|
7
|
+
const c = n.forwardRef(({ className: e, children: a, ...o }, s) => /* @__PURE__ */ d(
|
|
8
|
+
t.Root,
|
|
9
|
+
{
|
|
10
|
+
ref: s,
|
|
11
|
+
className: r("relative z-10 flex max-w-max flex-1 items-center justify-center", e),
|
|
12
|
+
...o,
|
|
13
|
+
children: [
|
|
14
|
+
a,
|
|
15
|
+
/* @__PURE__ */ i(m, {})
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
));
|
|
19
|
+
c.displayName = t.Root.displayName;
|
|
20
|
+
const p = n.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ i(
|
|
21
|
+
t.List,
|
|
22
|
+
{
|
|
23
|
+
ref: o,
|
|
24
|
+
className: r("group flex flex-1 list-none items-center justify-center space-x-1", e),
|
|
25
|
+
...a
|
|
26
|
+
}
|
|
27
|
+
));
|
|
28
|
+
p.displayName = t.List.displayName;
|
|
29
|
+
const y = t.Item, u = f(
|
|
30
|
+
"group inline-flex h-10 w-max items-center justify-center rounded-md bg-bg-transparent px-4 py-2 text-sm font-medium text-text-primary transition-colors hover:bg-action-ghost-bg-hover hover:text-action-ghost-text focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus-ring disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-bg-accent data-[state=open]:bg-bg-accent"
|
|
31
|
+
), g = n.forwardRef(({ className: e, children: a, ...o }, s) => /* @__PURE__ */ d(
|
|
32
|
+
t.Trigger,
|
|
33
|
+
{
|
|
34
|
+
ref: s,
|
|
35
|
+
className: r(u(), "group", e),
|
|
36
|
+
...o,
|
|
37
|
+
children: [
|
|
38
|
+
a,
|
|
39
|
+
/* @__PURE__ */ i(
|
|
40
|
+
l,
|
|
41
|
+
{
|
|
42
|
+
size: 14,
|
|
43
|
+
color: "currentColor",
|
|
44
|
+
className: "relative top-[1px] ml-1 transition duration-200 group-data-[state=open]:rotate-180",
|
|
45
|
+
"aria-hidden": "true"
|
|
46
|
+
}
|
|
47
|
+
)
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
));
|
|
51
|
+
g.displayName = t.Trigger.displayName;
|
|
52
|
+
const v = n.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ i(
|
|
53
|
+
t.Content,
|
|
54
|
+
{
|
|
55
|
+
ref: o,
|
|
56
|
+
className: r(
|
|
57
|
+
"left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto",
|
|
58
|
+
e
|
|
59
|
+
),
|
|
60
|
+
...a
|
|
61
|
+
}
|
|
62
|
+
));
|
|
63
|
+
v.displayName = t.Content.displayName;
|
|
64
|
+
const M = t.Link, m = n.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ i("div", { className: "absolute left-0 top-full flex justify-center", children: /* @__PURE__ */ i(
|
|
65
|
+
t.Viewport,
|
|
66
|
+
{
|
|
67
|
+
className: r(
|
|
68
|
+
"origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border border-border-default bg-bg-popover text-text-popover shadow-popover data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",
|
|
69
|
+
e
|
|
70
|
+
),
|
|
71
|
+
ref: o,
|
|
72
|
+
...a
|
|
73
|
+
}
|
|
74
|
+
) }));
|
|
75
|
+
m.displayName = t.Viewport.displayName;
|
|
76
|
+
const N = n.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ i(
|
|
77
|
+
t.Indicator,
|
|
78
|
+
{
|
|
79
|
+
ref: o,
|
|
80
|
+
className: r(
|
|
81
|
+
"top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",
|
|
82
|
+
e
|
|
83
|
+
),
|
|
84
|
+
...a,
|
|
85
|
+
children: /* @__PURE__ */ i("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border-default" })
|
|
86
|
+
}
|
|
87
|
+
));
|
|
88
|
+
N.displayName = t.Indicator.displayName;
|
|
89
|
+
export {
|
|
90
|
+
c as NavigationMenu,
|
|
91
|
+
v as NavigationMenuContent,
|
|
92
|
+
N as NavigationMenuIndicator,
|
|
93
|
+
y as NavigationMenuItem,
|
|
94
|
+
M as NavigationMenuLink,
|
|
95
|
+
p as NavigationMenuList,
|
|
96
|
+
g as NavigationMenuTrigger,
|
|
97
|
+
m as NavigationMenuViewport,
|
|
98
|
+
u as navigationMenuTriggerStyle
|
|
99
|
+
};
|
|
100
|
+
//# sourceMappingURL=navigation-menu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"navigation-menu.js","sources":["../../../src/components/ui/navigation-menu.tsx"],"sourcesContent":["import * as React from 'react';\nimport * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';\nimport { ArrowDown2 } from 'iconsax-react';\nimport { cva } from 'class-variance-authority';\nimport { cn } from '@/lib/utils';\n\nconst NavigationMenu = React.forwardRef<\n React.ComponentRef<typeof NavigationMenuPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Root>\n>(({ className, children, ...props }, ref) => (\n <NavigationMenuPrimitive.Root\n ref={ref}\n className={cn('relative z-10 flex max-w-max flex-1 items-center justify-center', className)}\n {...props}\n >\n {children}\n <NavigationMenuViewport />\n </NavigationMenuPrimitive.Root>\n));\nNavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;\n\nconst NavigationMenuList = React.forwardRef<\n React.ComponentRef<typeof NavigationMenuPrimitive.List>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.List>\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.List\n ref={ref}\n className={cn('group flex flex-1 list-none items-center justify-center space-x-1', className)}\n {...props}\n />\n));\nNavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;\n\nconst NavigationMenuItem = NavigationMenuPrimitive.Item;\n\nconst navigationMenuTriggerStyle = cva(\n 'group inline-flex h-10 w-max items-center justify-center rounded-md bg-bg-transparent px-4 py-2 text-sm font-medium text-text-primary transition-colors hover:bg-action-ghost-bg-hover hover:text-action-ghost-text focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus-ring disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-bg-accent data-[state=open]:bg-bg-accent'\n);\n\nconst NavigationMenuTrigger = React.forwardRef<\n React.ComponentRef<typeof NavigationMenuPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Trigger>\n>(({ className, children, ...props }, ref) => (\n <NavigationMenuPrimitive.Trigger\n ref={ref}\n className={cn(navigationMenuTriggerStyle(), 'group', className)}\n {...props}\n >\n {children}\n <ArrowDown2\n size={14}\n color=\"currentColor\"\n className=\"relative top-[1px] ml-1 transition duration-200 group-data-[state=open]:rotate-180\"\n aria-hidden=\"true\"\n />\n </NavigationMenuPrimitive.Trigger>\n));\nNavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;\n\nconst NavigationMenuContent = React.forwardRef<\n React.ComponentRef<typeof NavigationMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Content>\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.Content\n ref={ref}\n className={cn(\n 'left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto',\n className\n )}\n {...props}\n />\n));\nNavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;\n\nconst NavigationMenuLink = NavigationMenuPrimitive.Link;\n\nconst NavigationMenuViewport = React.forwardRef<\n React.ComponentRef<typeof NavigationMenuPrimitive.Viewport>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Viewport>\n>(({ className, ...props }, ref) => (\n <div className=\"absolute left-0 top-full flex justify-center\">\n <NavigationMenuPrimitive.Viewport\n className={cn(\n 'origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border border-border-default bg-bg-popover text-text-popover shadow-popover data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]',\n className\n )}\n ref={ref}\n {...props}\n />\n </div>\n));\nNavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;\n\nconst NavigationMenuIndicator = React.forwardRef<\n React.ComponentRef<typeof NavigationMenuPrimitive.Indicator>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Indicator>\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.Indicator\n ref={ref}\n className={cn(\n 'top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in',\n className\n )}\n {...props}\n >\n <div className=\"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border-default\" />\n </NavigationMenuPrimitive.Indicator>\n));\nNavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;\n\nexport {\n navigationMenuTriggerStyle,\n NavigationMenu,\n NavigationMenuList,\n NavigationMenuItem,\n NavigationMenuContent,\n NavigationMenuTrigger,\n NavigationMenuLink,\n NavigationMenuIndicator,\n NavigationMenuViewport,\n};\n"],"names":["NavigationMenu","React","className","children","props","ref","jsxs","NavigationMenuPrimitive","cn","NavigationMenuViewport","NavigationMenuList","jsx","NavigationMenuItem","navigationMenuTriggerStyle","cva","NavigationMenuTrigger","ArrowDown2","NavigationMenuContent","NavigationMenuLink","NavigationMenuIndicator"],"mappings":";;;;;;AAMA,MAAMA,IAAiBC,EAAM,WAG3B,CAAC,EAAE,WAAAC,GAAW,UAAAC,GAAU,GAAGC,KAASC,MACpC,gBAAAC;AAAA,EAACC,EAAwB;AAAA,EAAxB;AAAA,IACC,KAAAF;AAAA,IACA,WAAWG,EAAG,mEAAmEN,CAAS;AAAA,IACzF,GAAGE;AAAA,IAEH,UAAA;AAAA,MAAAD;AAAA,wBACAM,GAAA,CAAA,CAAuB;AAAA,IAAA;AAAA,EAAA;AAC1B,CACD;AACDT,EAAe,cAAcO,EAAwB,KAAK;AAE1D,MAAMG,IAAqBT,EAAM,WAG/B,CAAC,EAAE,WAAAC,GAAW,GAAGE,EAAA,GAASC,MAC1B,gBAAAM;AAAA,EAACJ,EAAwB;AAAA,EAAxB;AAAA,IACC,KAAAF;AAAA,IACA,WAAWG,EAAG,qEAAqEN,CAAS;AAAA,IAC3F,GAAGE;AAAA,EAAA;AACN,CACD;AACDM,EAAmB,cAAcH,EAAwB,KAAK;AAE9D,MAAMK,IAAqBL,EAAwB,MAE7CM,IAA6BC;AAAA,EACjC;AACF,GAEMC,IAAwBd,EAAM,WAGlC,CAAC,EAAE,WAAAC,GAAW,UAAAC,GAAU,GAAGC,KAASC,MACpC,gBAAAC;AAAA,EAACC,EAAwB;AAAA,EAAxB;AAAA,IACC,KAAAF;AAAA,IACA,WAAWG,EAAGK,KAA8B,SAASX,CAAS;AAAA,IAC7D,GAAGE;AAAA,IAEH,UAAA;AAAA,MAAAD;AAAA,MACD,gBAAAQ;AAAA,QAACK;AAAA,QAAA;AAAA,UACC,MAAM;AAAA,UACN,OAAM;AAAA,UACN,WAAU;AAAA,UACV,eAAY;AAAA,QAAA;AAAA,MAAA;AAAA,IACd;AAAA,EAAA;AACF,CACD;AACDD,EAAsB,cAAcR,EAAwB,QAAQ;AAEpE,MAAMU,IAAwBhB,EAAM,WAGlC,CAAC,EAAE,WAAAC,GAAW,GAAGE,EAAA,GAASC,MAC1B,gBAAAM;AAAA,EAACJ,EAAwB;AAAA,EAAxB;AAAA,IACC,KAAAF;AAAA,IACA,WAAWG;AAAA,MACT;AAAA,MACAN;AAAA,IAAA;AAAA,IAED,GAAGE;AAAA,EAAA;AACN,CACD;AACDa,EAAsB,cAAcV,EAAwB,QAAQ;AAEpE,MAAMW,IAAqBX,EAAwB,MAE7CE,IAAyBR,EAAM,WAGnC,CAAC,EAAE,WAAAC,GAAW,GAAGE,EAAA,GAASC,MAC1B,gBAAAM,EAAC,OAAA,EAAI,WAAU,gDACb,UAAA,gBAAAA;AAAA,EAACJ,EAAwB;AAAA,EAAxB;AAAA,IACC,WAAWC;AAAA,MACT;AAAA,MACAN;AAAA,IAAA;AAAA,IAEF,KAAAG;AAAA,IACC,GAAGD;AAAA,EAAA;AACN,GACF,CACD;AACDK,EAAuB,cAAcF,EAAwB,SAAS;AAEtE,MAAMY,IAA0BlB,EAAM,WAGpC,CAAC,EAAE,WAAAC,GAAW,GAAGE,EAAA,GAASC,MAC1B,gBAAAM;AAAA,EAACJ,EAAwB;AAAA,EAAxB;AAAA,IACC,KAAAF;AAAA,IACA,WAAWG;AAAA,MACT;AAAA,MACAN;AAAA,IAAA;AAAA,IAED,GAAGE;AAAA,IAEJ,UAAA,gBAAAO,EAAC,OAAA,EAAI,WAAU,uEAAA,CAAuE;AAAA,EAAA;AACxF,CACD;AACDQ,EAAwB,cAAcZ,EAAwB,UAAU;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),P=require("react"),r=require("iconsax-react"),i=require("../../lib/utils.cjs"),x=require("./button.cjs");function f(a){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const t in a)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(a,t);Object.defineProperty(e,t,o.get?o:{enumerable:!0,get:()=>a[t]})}}return e.default=a,Object.freeze(e)}const l=f(P),c=({className:a,...e})=>n.jsx("nav",{role:"navigation","aria-label":"pagination",className:i.cn("mx-auto flex w-full justify-center",a),...e});c.displayName="Pagination";const u=l.forwardRef(({className:a,...e},t)=>n.jsx("ul",{ref:t,className:i.cn("flex flex-row items-center gap-1",a),...e}));u.displayName="PaginationContent";const g=l.forwardRef(({className:a,...e},t)=>n.jsx("li",{ref:t,className:i.cn("",a),...e}));g.displayName="PaginationItem";const s=({className:a,isActive:e,size:t="icon",...o})=>n.jsx("a",{"aria-current":e?"page":void 0,className:i.cn(x.buttonVariants({variant:e?"outline":"ghost",size:t}),a),...o});s.displayName="PaginationLink";const p=({className:a,...e})=>n.jsxs(s,{"aria-label":"Go to previous page",size:"default",className:i.cn("gap-1 pl-2.5",a),...e,children:[n.jsx(r.ArrowLeft2,{size:16,color:"currentColor"}),n.jsx("span",{children:"Previous"})]});p.displayName="PaginationPrevious";const d=({className:a,...e})=>n.jsxs(s,{"aria-label":"Go to next page",size:"default",className:i.cn("gap-1 pr-2.5",a),...e,children:[n.jsx("span",{children:"Next"}),n.jsx(r.ArrowRight2,{size:16,color:"currentColor"})]});d.displayName="PaginationNext";const m=({className:a,...e})=>n.jsxs("span",{"aria-hidden":!0,className:i.cn("flex h-9 w-9 items-center justify-center text-icon-muted",a),...e,children:[n.jsx(r.More,{size:16,color:"currentColor"}),n.jsx("span",{className:"sr-only",children:"More pages"})]});m.displayName="PaginationEllipsis";exports.Pagination=c;exports.PaginationContent=u;exports.PaginationEllipsis=m;exports.PaginationItem=g;exports.PaginationLink=s;exports.PaginationNext=d;exports.PaginationPrevious=p;
|
|
2
|
+
//# sourceMappingURL=pagination.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagination.cjs","sources":["../../../src/components/ui/pagination.tsx"],"sourcesContent":["import * as React from 'react';\nimport { ArrowLeft2, ArrowRight2, More } from 'iconsax-react';\nimport { cn } from '@/lib/utils';\nimport { buttonVariants } from './button';\nimport type { ButtonProps } from './button';\n\nconst Pagination = ({ className, ...props }: React.ComponentProps<'nav'>) => (\n <nav\n role=\"navigation\"\n aria-label=\"pagination\"\n className={cn('mx-auto flex w-full justify-center', className)}\n {...props}\n />\n);\nPagination.displayName = 'Pagination';\n\nconst PaginationContent = React.forwardRef<HTMLUListElement, React.ComponentProps<'ul'>>(\n ({ className, ...props }, ref) => (\n <ul ref={ref} className={cn('flex flex-row items-center gap-1', className)} {...props} />\n )\n);\nPaginationContent.displayName = 'PaginationContent';\n\nconst PaginationItem = React.forwardRef<HTMLLIElement, React.ComponentProps<'li'>>(\n ({ className, ...props }, ref) => <li ref={ref} className={cn('', className)} {...props} />\n);\nPaginationItem.displayName = 'PaginationItem';\n\ntype PaginationLinkProps = {\n isActive?: boolean;\n} & Pick<ButtonProps, 'size'> &\n React.ComponentProps<'a'>;\n\nconst PaginationLink = ({\n className,\n isActive,\n size = 'icon',\n ...props\n}: PaginationLinkProps) => (\n <a\n aria-current={isActive ? 'page' : undefined}\n className={cn(\n buttonVariants({\n variant: isActive ? 'outline' : 'ghost',\n size,\n }),\n className\n )}\n {...props}\n />\n);\nPaginationLink.displayName = 'PaginationLink';\n\nconst PaginationPrevious = ({\n className,\n ...props\n}: React.ComponentProps<typeof PaginationLink>) => (\n <PaginationLink\n aria-label=\"Go to previous page\"\n size=\"default\"\n className={cn('gap-1 pl-2.5', className)}\n {...props}\n >\n <ArrowLeft2 size={16} color=\"currentColor\" />\n <span>Previous</span>\n </PaginationLink>\n);\nPaginationPrevious.displayName = 'PaginationPrevious';\n\nconst PaginationNext = ({\n className,\n ...props\n}: React.ComponentProps<typeof PaginationLink>) => (\n <PaginationLink\n aria-label=\"Go to next page\"\n size=\"default\"\n className={cn('gap-1 pr-2.5', className)}\n {...props}\n >\n <span>Next</span>\n <ArrowRight2 size={16} color=\"currentColor\" />\n </PaginationLink>\n);\nPaginationNext.displayName = 'PaginationNext';\n\nconst PaginationEllipsis = ({ className, ...props }: React.ComponentProps<'span'>) => (\n <span\n aria-hidden\n className={cn('flex h-9 w-9 items-center justify-center text-icon-muted', className)}\n {...props}\n >\n <More size={16} color=\"currentColor\" />\n <span className=\"sr-only\">More pages</span>\n </span>\n);\nPaginationEllipsis.displayName = 'PaginationEllipsis';\n\nexport {\n Pagination,\n PaginationContent,\n PaginationLink,\n PaginationItem,\n PaginationPrevious,\n PaginationNext,\n PaginationEllipsis,\n};\n"],"names":["Pagination","className","props","jsx","cn","PaginationContent","React","ref","PaginationItem","PaginationLink","isActive","size","buttonVariants","PaginationPrevious","jsxs","ArrowLeft2","PaginationNext","ArrowRight2","PaginationEllipsis","More"],"mappings":"wfAMMA,EAAa,CAAC,CAAE,UAAAC,EAAW,GAAGC,KAClCC,EAAAA,IAAC,MAAA,CACC,KAAK,aACL,aAAW,aACX,UAAWC,EAAAA,GAAG,qCAAsCH,CAAS,EAC5D,GAAGC,CAAA,CACN,EAEFF,EAAW,YAAc,aAEzB,MAAMK,EAAoBC,EAAM,WAC9B,CAAC,CAAE,UAAAL,EAAW,GAAGC,CAAA,EAASK,IACxBJ,EAAAA,IAAC,KAAA,CAAG,IAAAI,EAAU,UAAWH,EAAAA,GAAG,mCAAoCH,CAAS,EAAI,GAAGC,CAAA,CAAO,CAE3F,EACAG,EAAkB,YAAc,oBAEhC,MAAMG,EAAiBF,EAAM,WAC3B,CAAC,CAAE,UAAAL,EAAW,GAAGC,CAAA,EAASK,IAAQJ,EAAAA,IAAC,KAAA,CAAG,IAAAI,EAAU,UAAWH,EAAAA,GAAG,GAAIH,CAAS,EAAI,GAAGC,CAAA,CAAO,CAC3F,EACAM,EAAe,YAAc,iBAO7B,MAAMC,EAAiB,CAAC,CACtB,UAAAR,EACA,SAAAS,EACA,KAAAC,EAAO,OACP,GAAGT,CACL,IACEC,EAAAA,IAAC,IAAA,CACC,eAAcO,EAAW,OAAS,OAClC,UAAWN,EAAAA,GACTQ,iBAAe,CACb,QAASF,EAAW,UAAY,QAChC,KAAAC,CAAA,CACD,EACDV,CAAA,EAED,GAAGC,CAAA,CACN,EAEFO,EAAe,YAAc,iBAE7B,MAAMI,EAAqB,CAAC,CAC1B,UAAAZ,EACA,GAAGC,CACL,IACEY,EAAAA,KAACL,EAAA,CACC,aAAW,sBACX,KAAK,UACL,UAAWL,EAAAA,GAAG,eAAgBH,CAAS,EACtC,GAAGC,EAEJ,SAAA,CAAAC,EAAAA,IAACY,EAAAA,WAAA,CAAW,KAAM,GAAI,MAAM,eAAe,EAC3CZ,EAAAA,IAAC,QAAK,SAAA,UAAA,CAAQ,CAAA,CAAA,CAChB,EAEFU,EAAmB,YAAc,qBAEjC,MAAMG,EAAiB,CAAC,CACtB,UAAAf,EACA,GAAGC,CACL,IACEY,EAAAA,KAACL,EAAA,CACC,aAAW,kBACX,KAAK,UACL,UAAWL,EAAAA,GAAG,eAAgBH,CAAS,EACtC,GAAGC,EAEJ,SAAA,CAAAC,EAAAA,IAAC,QAAK,SAAA,MAAA,CAAI,EACVA,EAAAA,IAACc,EAAAA,YAAA,CAAY,KAAM,GAAI,MAAM,cAAA,CAAe,CAAA,CAAA,CAC9C,EAEFD,EAAe,YAAc,iBAE7B,MAAME,EAAqB,CAAC,CAAE,UAAAjB,EAAW,GAAGC,KAC1CY,EAAAA,KAAC,OAAA,CACC,cAAW,GACX,UAAWV,EAAAA,GAAG,2DAA4DH,CAAS,EAClF,GAAGC,EAEJ,SAAA,CAAAC,EAAAA,IAACgB,EAAAA,KAAA,CAAK,KAAM,GAAI,MAAM,eAAe,EACrChB,EAAAA,IAAC,OAAA,CAAK,UAAU,UAAU,SAAA,YAAA,CAAU,CAAA,CAAA,CACtC,EAEFe,EAAmB,YAAc"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ButtonProps } from './button';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const Pagination: {
|
|
4
|
+
({ className, ...props }: React.ComponentProps<"nav">): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
declare const PaginationContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
8
|
+
declare const PaginationItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
9
|
+
type PaginationLinkProps = {
|
|
10
|
+
isActive?: boolean;
|
|
11
|
+
} & Pick<ButtonProps, 'size'> & React.ComponentProps<'a'>;
|
|
12
|
+
declare const PaginationLink: {
|
|
13
|
+
({ className, isActive, size, ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
displayName: string;
|
|
15
|
+
};
|
|
16
|
+
declare const PaginationPrevious: {
|
|
17
|
+
({ className, ...props }: React.ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
displayName: string;
|
|
19
|
+
};
|
|
20
|
+
declare const PaginationNext: {
|
|
21
|
+
({ className, ...props }: React.ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
displayName: string;
|
|
23
|
+
};
|
|
24
|
+
declare const PaginationEllipsis: {
|
|
25
|
+
({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
displayName: string;
|
|
27
|
+
};
|
|
28
|
+
export { Pagination, PaginationContent, PaginationLink, PaginationItem, PaginationPrevious, PaginationNext, PaginationEllipsis, };
|
|
29
|
+
//# sourceMappingURL=pagination.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../../src/components/ui/pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,QAAA,MAAM,UAAU;8BAA6B,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC;;CAOvE,CAAC;AAGF,QAAA,MAAM,iBAAiB,yKAItB,CAAC;AAGF,QAAA,MAAM,cAAc,kKAEnB,CAAC;AAGF,KAAK,mBAAmB,GAAG;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,GAC3B,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;AAE5B,QAAA,MAAM,cAAc;8CAKjB,mBAAmB;;CAYrB,CAAC;AAGF,QAAA,MAAM,kBAAkB;8BAGrB,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC;;CAU7C,CAAC;AAGF,QAAA,MAAM,cAAc;8BAGjB,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC;;CAU7C,CAAC;AAGF,QAAA,MAAM,kBAAkB;8BAA6B,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC;;CAShF,CAAC;AAGF,OAAO,EACL,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,kBAAkB,GACnB,CAAC"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
import * as s from "react";
|
|
3
|
+
import { More as c, ArrowRight2 as m, ArrowLeft2 as p } from "iconsax-react";
|
|
4
|
+
import { cn as n } from "../../lib/utils.js";
|
|
5
|
+
import { buttonVariants as g } from "./button.js";
|
|
6
|
+
const d = ({ className: i, ...a }) => /* @__PURE__ */ e(
|
|
7
|
+
"nav",
|
|
8
|
+
{
|
|
9
|
+
role: "navigation",
|
|
10
|
+
"aria-label": "pagination",
|
|
11
|
+
className: n("mx-auto flex w-full justify-center", i),
|
|
12
|
+
...a
|
|
13
|
+
}
|
|
14
|
+
);
|
|
15
|
+
d.displayName = "Pagination";
|
|
16
|
+
const f = s.forwardRef(
|
|
17
|
+
({ className: i, ...a }, o) => /* @__PURE__ */ e("ul", { ref: o, className: n("flex flex-row items-center gap-1", i), ...a })
|
|
18
|
+
);
|
|
19
|
+
f.displayName = "PaginationContent";
|
|
20
|
+
const u = s.forwardRef(
|
|
21
|
+
({ className: i, ...a }, o) => /* @__PURE__ */ e("li", { ref: o, className: n("", i), ...a })
|
|
22
|
+
);
|
|
23
|
+
u.displayName = "PaginationItem";
|
|
24
|
+
const r = ({
|
|
25
|
+
className: i,
|
|
26
|
+
isActive: a,
|
|
27
|
+
size: o = "icon",
|
|
28
|
+
...l
|
|
29
|
+
}) => /* @__PURE__ */ e(
|
|
30
|
+
"a",
|
|
31
|
+
{
|
|
32
|
+
"aria-current": a ? "page" : void 0,
|
|
33
|
+
className: n(
|
|
34
|
+
g({
|
|
35
|
+
variant: a ? "outline" : "ghost",
|
|
36
|
+
size: o
|
|
37
|
+
}),
|
|
38
|
+
i
|
|
39
|
+
),
|
|
40
|
+
...l
|
|
41
|
+
}
|
|
42
|
+
);
|
|
43
|
+
r.displayName = "PaginationLink";
|
|
44
|
+
const N = ({
|
|
45
|
+
className: i,
|
|
46
|
+
...a
|
|
47
|
+
}) => /* @__PURE__ */ t(
|
|
48
|
+
r,
|
|
49
|
+
{
|
|
50
|
+
"aria-label": "Go to previous page",
|
|
51
|
+
size: "default",
|
|
52
|
+
className: n("gap-1 pl-2.5", i),
|
|
53
|
+
...a,
|
|
54
|
+
children: [
|
|
55
|
+
/* @__PURE__ */ e(p, { size: 16, color: "currentColor" }),
|
|
56
|
+
/* @__PURE__ */ e("span", { children: "Previous" })
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
);
|
|
60
|
+
N.displayName = "PaginationPrevious";
|
|
61
|
+
const P = ({
|
|
62
|
+
className: i,
|
|
63
|
+
...a
|
|
64
|
+
}) => /* @__PURE__ */ t(
|
|
65
|
+
r,
|
|
66
|
+
{
|
|
67
|
+
"aria-label": "Go to next page",
|
|
68
|
+
size: "default",
|
|
69
|
+
className: n("gap-1 pr-2.5", i),
|
|
70
|
+
...a,
|
|
71
|
+
children: [
|
|
72
|
+
/* @__PURE__ */ e("span", { children: "Next" }),
|
|
73
|
+
/* @__PURE__ */ e(m, { size: 16, color: "currentColor" })
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
);
|
|
77
|
+
P.displayName = "PaginationNext";
|
|
78
|
+
const x = ({ className: i, ...a }) => /* @__PURE__ */ t(
|
|
79
|
+
"span",
|
|
80
|
+
{
|
|
81
|
+
"aria-hidden": !0,
|
|
82
|
+
className: n("flex h-9 w-9 items-center justify-center text-icon-muted", i),
|
|
83
|
+
...a,
|
|
84
|
+
children: [
|
|
85
|
+
/* @__PURE__ */ e(c, { size: 16, color: "currentColor" }),
|
|
86
|
+
/* @__PURE__ */ e("span", { className: "sr-only", children: "More pages" })
|
|
87
|
+
]
|
|
88
|
+
}
|
|
89
|
+
);
|
|
90
|
+
x.displayName = "PaginationEllipsis";
|
|
91
|
+
export {
|
|
92
|
+
d as Pagination,
|
|
93
|
+
f as PaginationContent,
|
|
94
|
+
x as PaginationEllipsis,
|
|
95
|
+
u as PaginationItem,
|
|
96
|
+
r as PaginationLink,
|
|
97
|
+
P as PaginationNext,
|
|
98
|
+
N as PaginationPrevious
|
|
99
|
+
};
|
|
100
|
+
//# sourceMappingURL=pagination.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagination.js","sources":["../../../src/components/ui/pagination.tsx"],"sourcesContent":["import * as React from 'react';\nimport { ArrowLeft2, ArrowRight2, More } from 'iconsax-react';\nimport { cn } from '@/lib/utils';\nimport { buttonVariants } from './button';\nimport type { ButtonProps } from './button';\n\nconst Pagination = ({ className, ...props }: React.ComponentProps<'nav'>) => (\n <nav\n role=\"navigation\"\n aria-label=\"pagination\"\n className={cn('mx-auto flex w-full justify-center', className)}\n {...props}\n />\n);\nPagination.displayName = 'Pagination';\n\nconst PaginationContent = React.forwardRef<HTMLUListElement, React.ComponentProps<'ul'>>(\n ({ className, ...props }, ref) => (\n <ul ref={ref} className={cn('flex flex-row items-center gap-1', className)} {...props} />\n )\n);\nPaginationContent.displayName = 'PaginationContent';\n\nconst PaginationItem = React.forwardRef<HTMLLIElement, React.ComponentProps<'li'>>(\n ({ className, ...props }, ref) => <li ref={ref} className={cn('', className)} {...props} />\n);\nPaginationItem.displayName = 'PaginationItem';\n\ntype PaginationLinkProps = {\n isActive?: boolean;\n} & Pick<ButtonProps, 'size'> &\n React.ComponentProps<'a'>;\n\nconst PaginationLink = ({\n className,\n isActive,\n size = 'icon',\n ...props\n}: PaginationLinkProps) => (\n <a\n aria-current={isActive ? 'page' : undefined}\n className={cn(\n buttonVariants({\n variant: isActive ? 'outline' : 'ghost',\n size,\n }),\n className\n )}\n {...props}\n />\n);\nPaginationLink.displayName = 'PaginationLink';\n\nconst PaginationPrevious = ({\n className,\n ...props\n}: React.ComponentProps<typeof PaginationLink>) => (\n <PaginationLink\n aria-label=\"Go to previous page\"\n size=\"default\"\n className={cn('gap-1 pl-2.5', className)}\n {...props}\n >\n <ArrowLeft2 size={16} color=\"currentColor\" />\n <span>Previous</span>\n </PaginationLink>\n);\nPaginationPrevious.displayName = 'PaginationPrevious';\n\nconst PaginationNext = ({\n className,\n ...props\n}: React.ComponentProps<typeof PaginationLink>) => (\n <PaginationLink\n aria-label=\"Go to next page\"\n size=\"default\"\n className={cn('gap-1 pr-2.5', className)}\n {...props}\n >\n <span>Next</span>\n <ArrowRight2 size={16} color=\"currentColor\" />\n </PaginationLink>\n);\nPaginationNext.displayName = 'PaginationNext';\n\nconst PaginationEllipsis = ({ className, ...props }: React.ComponentProps<'span'>) => (\n <span\n aria-hidden\n className={cn('flex h-9 w-9 items-center justify-center text-icon-muted', className)}\n {...props}\n >\n <More size={16} color=\"currentColor\" />\n <span className=\"sr-only\">More pages</span>\n </span>\n);\nPaginationEllipsis.displayName = 'PaginationEllipsis';\n\nexport {\n Pagination,\n PaginationContent,\n PaginationLink,\n PaginationItem,\n PaginationPrevious,\n PaginationNext,\n PaginationEllipsis,\n};\n"],"names":["Pagination","className","props","jsx","cn","PaginationContent","React","ref","PaginationItem","PaginationLink","isActive","size","buttonVariants","PaginationPrevious","jsxs","ArrowLeft2","PaginationNext","ArrowRight2","PaginationEllipsis","More"],"mappings":";;;;;AAMA,MAAMA,IAAa,CAAC,EAAE,WAAAC,GAAW,GAAGC,QAClC,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,MAAK;AAAA,IACL,cAAW;AAAA,IACX,WAAWC,EAAG,sCAAsCH,CAAS;AAAA,IAC5D,GAAGC;AAAA,EAAA;AACN;AAEFF,EAAW,cAAc;AAEzB,MAAMK,IAAoBC,EAAM;AAAA,EAC9B,CAAC,EAAE,WAAAL,GAAW,GAAGC,EAAA,GAASK,MACxB,gBAAAJ,EAAC,MAAA,EAAG,KAAAI,GAAU,WAAWH,EAAG,oCAAoCH,CAAS,GAAI,GAAGC,EAAA,CAAO;AAE3F;AACAG,EAAkB,cAAc;AAEhC,MAAMG,IAAiBF,EAAM;AAAA,EAC3B,CAAC,EAAE,WAAAL,GAAW,GAAGC,EAAA,GAASK,MAAQ,gBAAAJ,EAAC,MAAA,EAAG,KAAAI,GAAU,WAAWH,EAAG,IAAIH,CAAS,GAAI,GAAGC,EAAA,CAAO;AAC3F;AACAM,EAAe,cAAc;AAO7B,MAAMC,IAAiB,CAAC;AAAA,EACtB,WAAAR;AAAA,EACA,UAAAS;AAAA,EACA,MAAAC,IAAO;AAAA,EACP,GAAGT;AACL,MACE,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,gBAAcO,IAAW,SAAS;AAAA,IAClC,WAAWN;AAAA,MACTQ,EAAe;AAAA,QACb,SAASF,IAAW,YAAY;AAAA,QAChC,MAAAC;AAAA,MAAA,CACD;AAAA,MACDV;AAAA,IAAA;AAAA,IAED,GAAGC;AAAA,EAAA;AACN;AAEFO,EAAe,cAAc;AAE7B,MAAMI,IAAqB,CAAC;AAAA,EAC1B,WAAAZ;AAAA,EACA,GAAGC;AACL,MACE,gBAAAY;AAAA,EAACL;AAAA,EAAA;AAAA,IACC,cAAW;AAAA,IACX,MAAK;AAAA,IACL,WAAWL,EAAG,gBAAgBH,CAAS;AAAA,IACtC,GAAGC;AAAA,IAEJ,UAAA;AAAA,MAAA,gBAAAC,EAACY,GAAA,EAAW,MAAM,IAAI,OAAM,gBAAe;AAAA,MAC3C,gBAAAZ,EAAC,UAAK,UAAA,WAAA,CAAQ;AAAA,IAAA;AAAA,EAAA;AAChB;AAEFU,EAAmB,cAAc;AAEjC,MAAMG,IAAiB,CAAC;AAAA,EACtB,WAAAf;AAAA,EACA,GAAGC;AACL,MACE,gBAAAY;AAAA,EAACL;AAAA,EAAA;AAAA,IACC,cAAW;AAAA,IACX,MAAK;AAAA,IACL,WAAWL,EAAG,gBAAgBH,CAAS;AAAA,IACtC,GAAGC;AAAA,IAEJ,UAAA;AAAA,MAAA,gBAAAC,EAAC,UAAK,UAAA,OAAA,CAAI;AAAA,MACV,gBAAAA,EAACc,GAAA,EAAY,MAAM,IAAI,OAAM,eAAA,CAAe;AAAA,IAAA;AAAA,EAAA;AAC9C;AAEFD,EAAe,cAAc;AAE7B,MAAME,IAAqB,CAAC,EAAE,WAAAjB,GAAW,GAAGC,QAC1C,gBAAAY;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,eAAW;AAAA,IACX,WAAWV,EAAG,4DAA4DH,CAAS;AAAA,IAClF,GAAGC;AAAA,IAEJ,UAAA;AAAA,MAAA,gBAAAC,EAACgB,GAAA,EAAK,MAAM,IAAI,OAAM,gBAAe;AAAA,MACrC,gBAAAhB,EAAC,QAAA,EAAK,WAAU,WAAU,UAAA,aAAA,CAAU;AAAA,IAAA;AAAA,EAAA;AACtC;AAEFe,EAAmB,cAAc;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),c=require("react"),p=require("@radix-ui/react-popover"),l=require("../../lib/utils.cjs");function i(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,a.get?a:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const u=i(c),o=i(p),m=o.Root,f=o.Trigger,g=o.Anchor,s=u.forwardRef(({className:e,align:r="center",sideOffset:t=4,...a},d)=>n.jsx(o.Portal,{children:n.jsx(o.Content,{ref:d,align:r,sideOffset:t,className:l.cn("z-50 w-72 rounded-md border border-border-default bg-bg-popover p-4 text-text-popover shadow-popover 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",e),...a})}));s.displayName=o.Content.displayName;exports.Popover=m;exports.PopoverAnchor=g;exports.PopoverContent=s;exports.PopoverTrigger=f;
|
|
2
|
+
//# sourceMappingURL=popover.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.cjs","sources":["../../../src/components/ui/popover.tsx"],"sourcesContent":["import * as React from 'react';\nimport * as PopoverPrimitive from '@radix-ui/react-popover';\nimport { cn } from '@/lib/utils';\n\nconst Popover = PopoverPrimitive.Root;\nconst PopoverTrigger = PopoverPrimitive.Trigger;\nconst PopoverAnchor = PopoverPrimitive.Anchor;\n\nconst PopoverContent = React.forwardRef<\n React.ComponentRef<typeof PopoverPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content>\n>(({ className, align = 'center', sideOffset = 4, ...props }, ref) => (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n ref={ref}\n align={align}\n sideOffset={sideOffset}\n className={cn(\n 'z-50 w-72 rounded-md border border-border-default bg-bg-popover p-4 text-text-popover shadow-popover 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',\n className\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n));\nPopoverContent.displayName = PopoverPrimitive.Content.displayName;\n\nexport { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };\n"],"names":["Popover","PopoverPrimitive","PopoverTrigger","PopoverAnchor","PopoverContent","React","className","align","sideOffset","props","ref","jsx","cn"],"mappings":"+eAIMA,EAAUC,EAAiB,KAC3BC,EAAiBD,EAAiB,QAClCE,EAAgBF,EAAiB,OAEjCG,EAAiBC,EAAM,WAG3B,CAAC,CAAE,UAAAC,EAAW,MAAAC,EAAQ,SAAU,WAAAC,EAAa,EAAG,GAAGC,CAAA,EAASC,IAC5DC,EAAAA,IAACV,EAAiB,OAAjB,CACC,SAAAU,EAAAA,IAACV,EAAiB,QAAjB,CACC,IAAAS,EACA,MAAAH,EACA,WAAAC,EACA,UAAWI,EAAAA,GACT,qcACAN,CAAA,EAED,GAAGG,CAAA,CACN,EACF,CACD,EACDL,EAAe,YAAcH,EAAiB,QAAQ"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
3
|
+
declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
|
|
4
|
+
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
declare const PopoverAnchor: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };
|
|
8
|
+
//# sourceMappingURL=popover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../src/components/ui/popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAG5D,QAAA,MAAM,OAAO,yCAAwB,CAAC;AACtC,QAAA,MAAM,cAAc,gHAA2B,CAAC;AAChD,QAAA,MAAM,aAAa,4GAA0B,CAAC;AAE9C,QAAA,MAAM,cAAc,gKAgBlB,CAAC;AAGH,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import * as n from "react";
|
|
3
|
+
import * as o from "@radix-ui/react-popover";
|
|
4
|
+
import { cn as s } from "../../lib/utils.js";
|
|
5
|
+
const f = o.Root, c = o.Trigger, v = o.Anchor, p = n.forwardRef(({ className: e, align: a = "center", sideOffset: r = 4, ...d }, i) => /* @__PURE__ */ t(o.Portal, { children: /* @__PURE__ */ t(
|
|
6
|
+
o.Content,
|
|
7
|
+
{
|
|
8
|
+
ref: i,
|
|
9
|
+
align: a,
|
|
10
|
+
sideOffset: r,
|
|
11
|
+
className: s(
|
|
12
|
+
"z-50 w-72 rounded-md border border-border-default bg-bg-popover p-4 text-text-popover shadow-popover 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",
|
|
13
|
+
e
|
|
14
|
+
),
|
|
15
|
+
...d
|
|
16
|
+
}
|
|
17
|
+
) }));
|
|
18
|
+
p.displayName = o.Content.displayName;
|
|
19
|
+
export {
|
|
20
|
+
f as Popover,
|
|
21
|
+
v as PopoverAnchor,
|
|
22
|
+
p as PopoverContent,
|
|
23
|
+
c as PopoverTrigger
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=popover.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.js","sources":["../../../src/components/ui/popover.tsx"],"sourcesContent":["import * as React from 'react';\nimport * as PopoverPrimitive from '@radix-ui/react-popover';\nimport { cn } from '@/lib/utils';\n\nconst Popover = PopoverPrimitive.Root;\nconst PopoverTrigger = PopoverPrimitive.Trigger;\nconst PopoverAnchor = PopoverPrimitive.Anchor;\n\nconst PopoverContent = React.forwardRef<\n React.ComponentRef<typeof PopoverPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content>\n>(({ className, align = 'center', sideOffset = 4, ...props }, ref) => (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n ref={ref}\n align={align}\n sideOffset={sideOffset}\n className={cn(\n 'z-50 w-72 rounded-md border border-border-default bg-bg-popover p-4 text-text-popover shadow-popover 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',\n className\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n));\nPopoverContent.displayName = PopoverPrimitive.Content.displayName;\n\nexport { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };\n"],"names":["Popover","PopoverPrimitive","PopoverTrigger","PopoverAnchor","PopoverContent","React","className","align","sideOffset","props","ref","jsx","cn"],"mappings":";;;;AAIA,MAAMA,IAAUC,EAAiB,MAC3BC,IAAiBD,EAAiB,SAClCE,IAAgBF,EAAiB,QAEjCG,IAAiBC,EAAM,WAG3B,CAAC,EAAE,WAAAC,GAAW,OAAAC,IAAQ,UAAU,YAAAC,IAAa,GAAG,GAAGC,EAAA,GAASC,MAC5D,gBAAAC,EAACV,EAAiB,QAAjB,EACC,UAAA,gBAAAU;AAAA,EAACV,EAAiB;AAAA,EAAjB;AAAA,IACC,KAAAS;AAAA,IACA,OAAAH;AAAA,IACA,YAAAC;AAAA,IACA,WAAWI;AAAA,MACT;AAAA,MACAN;AAAA,IAAA;AAAA,IAED,GAAGG;AAAA,EAAA;AACN,GACF,CACD;AACDL,EAAe,cAAcH,EAAiB,QAAQ;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),l=require("react"),c=require("@radix-ui/react-progress"),u=require("../../lib/utils.cjs");function a(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const f=a(l),s=a(c),i=f.forwardRef(({className:e,value:r,...t},o)=>n.jsx(s.Root,{ref:o,className:u.cn("relative h-2 w-full overflow-hidden rounded-full bg-bg-strong",e),...t,children:n.jsx(s.Indicator,{className:"h-full w-full flex-1 bg-action-primary-bg transition-all",style:{transform:`translateX(-${100-(r||0)}%)`}})}));i.displayName=s.Root.displayName;exports.Progress=i;
|
|
2
|
+
//# sourceMappingURL=progress.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progress.cjs","sources":["../../../src/components/ui/progress.tsx"],"sourcesContent":["import * as React from 'react';\nimport * as ProgressPrimitive from '@radix-ui/react-progress';\nimport { cn } from '@/lib/utils';\n\nconst Progress = React.forwardRef<\n React.ComponentRef<typeof ProgressPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>\n>(({ className, value, ...props }, ref) => (\n <ProgressPrimitive.Root\n ref={ref}\n className={cn('relative h-2 w-full overflow-hidden rounded-full bg-bg-strong', className)}\n {...props}\n >\n <ProgressPrimitive.Indicator\n className=\"h-full w-full flex-1 bg-action-primary-bg transition-all\"\n style={{ transform: `translateX(-${100 - (value || 0)}%)` }}\n />\n </ProgressPrimitive.Root>\n));\nProgress.displayName = ProgressPrimitive.Root.displayName;\n\nexport { Progress };\n"],"names":["Progress","React","className","value","props","ref","jsx","ProgressPrimitive","cn"],"mappings":"gfAIMA,EAAWC,EAAM,WAGrB,CAAC,CAAE,UAAAC,EAAW,MAAAC,EAAO,GAAGC,GAASC,IACjCC,EAAAA,IAACC,EAAkB,KAAlB,CACC,IAAAF,EACA,UAAWG,EAAAA,GAAG,gEAAiEN,CAAS,EACvF,GAAGE,EAEJ,SAAAE,EAAAA,IAACC,EAAkB,UAAlB,CACC,UAAU,2DACV,MAAO,CAAE,UAAW,eAAe,KAAOJ,GAAS,EAAE,IAAA,CAAK,CAAA,CAC5D,CACF,CACD,EACDH,EAAS,YAAcO,EAAkB,KAAK"}
|