@clasing/ui 2.0.3 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{badge-CJxUpkWv.js → badge-DgjaD6g5.js} +24 -24
- package/dist/{badge-DknEN5GE.cjs → badge-DuEEk3J_.cjs} +1 -1
- package/dist/{button-C5IBh3Tr.js → button-D8hlW1CJ.js} +123 -123
- package/dist/button-U1793OQ4.cjs +1 -0
- package/dist/{card-D0D_gMHR.cjs → card-BJMc0row.cjs} +1 -1
- package/dist/{card-9-UcGdV0.js → card-DPaMJS2f.js} +1 -1
- package/dist/{chip-D12iiF8O.js → chip-C5OWe3FG.js} +21 -21
- package/dist/chip-CXa6E8Cf.cjs +1 -0
- package/dist/command-B7wbtmbM.cjs +1 -0
- package/dist/command-RWDkdfba.js +176 -0
- package/dist/components/accordion.cjs.js +1 -1
- package/dist/components/accordion.es.js +23 -23
- package/dist/components/alert-dialog.cjs.js +1 -1
- package/dist/components/alert-dialog.es.js +14 -14
- package/dist/components/alert.cjs.js +1 -1
- package/dist/components/alert.es.js +35 -35
- package/dist/components/avatar.cjs.js +1 -1
- package/dist/components/avatar.es.js +9 -9
- package/dist/components/badge.cjs.js +1 -1
- package/dist/components/badge.es.js +1 -1
- package/dist/components/blocks/interactive-card.cjs.js +1 -1
- package/dist/components/blocks/interactive-card.es.js +37 -37
- package/dist/components/blocks/selectable-chips.cjs.js +1 -1
- package/dist/components/blocks/selectable-chips.es.js +10 -10
- package/dist/components/breadcrumb.cjs.js +1 -1
- package/dist/components/breadcrumb.es.js +10 -10
- package/dist/components/button.cjs.js +1 -1
- package/dist/components/button.es.js +1 -1
- package/dist/components/calendar.cjs.js +1 -1
- package/dist/components/calendar.es.js +8 -8
- package/dist/components/card.cjs.js +1 -1
- package/dist/components/card.es.js +1 -1
- package/dist/components/chart.cjs.js +3 -3
- package/dist/components/chart.es.js +24 -24
- package/dist/components/checkbox.cjs.js +1 -1
- package/dist/components/checkbox.es.js +1 -1
- package/dist/components/chip.cjs.js +1 -1
- package/dist/components/chip.es.js +1 -1
- package/dist/components/command.cjs.js +1 -1
- package/dist/components/command.es.js +1 -1
- package/dist/components/context-menu.cjs.js +1 -1
- package/dist/components/context-menu.es.js +39 -39
- package/dist/components/dialog.cjs.js +1 -1
- package/dist/components/dialog.es.js +1 -1
- package/dist/components/drawer.cjs.js +1 -1
- package/dist/components/drawer.es.js +30 -30
- package/dist/components/dropdown-menu.cjs.js +1 -1
- package/dist/components/dropdown-menu.es.js +15 -15
- package/dist/components/form.cjs.js +1 -1
- package/dist/components/form.es.js +3 -3
- package/dist/components/icon-component.cjs.js +1 -1
- package/dist/components/icon-component.es.js +1 -1
- package/dist/components/input-otp.cjs.js +1 -1
- package/dist/components/input-otp.es.js +4 -4
- package/dist/components/input.cjs.js +1 -1
- package/dist/components/input.es.js +1 -1
- package/dist/components/label.cjs.js +1 -1
- package/dist/components/label.es.js +1 -1
- package/dist/components/menubar.cjs.js +1 -1
- package/dist/components/menubar.es.js +42 -42
- package/dist/components/multi-select.cjs.js +1 -1
- package/dist/components/multi-select.es.js +8 -8
- package/dist/components/navigation-menu.cjs.js +1 -1
- package/dist/components/navigation-menu.es.js +7 -7
- package/dist/components/phone-input.cjs.js +1 -1
- package/dist/components/phone-input.d.ts +0 -5
- package/dist/components/phone-input.es.js +112 -154
- package/dist/components/resizable.cjs.js +1 -1
- package/dist/components/resizable.es.js +1 -1
- package/dist/components/select.cjs.js +1 -1
- package/dist/components/select.es.js +30 -27
- package/dist/components/sheet.cjs.js +1 -1
- package/dist/components/sheet.es.js +2 -2
- package/dist/components/table.cjs.js +1 -1
- package/dist/components/table.es.js +28 -28
- package/dist/components/textarea.cjs.js +1 -1
- package/dist/components/textarea.d.ts +1 -1
- package/dist/components/textarea.es.js +19 -19
- package/dist/components/toggle-group.cjs.js +1 -1
- package/dist/components/toggle-group.es.js +1 -1
- package/dist/components/toggle.cjs.js +1 -1
- package/dist/components/toggle.es.js +1 -1
- package/dist/components/tooltip.cjs.js +1 -1
- package/dist/components/tooltip.es.js +1 -1
- package/dist/{dialog-DIua9sAl.js → dialog-BSEMFrzb.js} +37 -37
- package/dist/{dialog-C15HjAtO.cjs → dialog-aYmcf_6q.cjs} +1 -1
- package/dist/icon-component-4lyl8wE_.cjs +1 -0
- package/dist/{icon-component-CxQsODCa.js → icon-component-Db_44zX2.js} +2 -2
- package/dist/{input-Bs18T-Y3.js → input-CUpmfQgR.js} +29 -29
- package/dist/input-belq5zLm.cjs +1 -0
- package/dist/label-CKObiJEl.js +22 -0
- package/dist/{label-U5GnYvFO.cjs → label-RxaHfl3U.cjs} +1 -1
- package/dist/{toggle-nsKZaKsW.js → toggle-DkQSX3ux.js} +13 -13
- package/dist/toggle-v18XjPC4.cjs +1 -0
- package/dist/{tooltip-Bxh10S4Q.js → tooltip-DgWl3klK.js} +1 -1
- package/dist/tooltip-__VfWmJD.cjs +1 -0
- package/dist/ui.css +692 -688
- package/package.json +357 -357
- package/dist/button-BnSM-lrr.cjs +0 -1
- package/dist/chip-DePZ5IYA.cjs +0 -1
- package/dist/command-C4Y6Ixrp.cjs +0 -1
- package/dist/command-pED95x7-.js +0 -176
- package/dist/icon-component-D5YssRbR.cjs +0 -1
- package/dist/input-wSGCWBH-.cjs +0 -1
- package/dist/label-_kG7WBoJ.js +0 -22
- package/dist/toggle-B9JMLYVf.cjs +0 -1
- package/dist/tooltip-BRSR0-4n.cjs +0 -1
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { c as
|
|
3
|
-
import { c as
|
|
4
|
-
import { I as
|
|
5
|
-
const
|
|
6
|
-
"relative grid w-full grid-cols-[0_1fr] items-start gap-y-2 rounded-2xl px-6 py-6
|
|
1
|
+
import { j as r } from "../jsx-runtime-DywqP_6a.js";
|
|
2
|
+
import { c as t } from "../index-CRiPKpXj.js";
|
|
3
|
+
import { c as g } from "../index-BqtVL8d-.js";
|
|
4
|
+
import { I as m } from "../icon-component-Db_44zX2.js";
|
|
5
|
+
const d = g(
|
|
6
|
+
"paragraph-sm text-foreground relative grid w-full grid-cols-[0_1fr] items-start gap-y-2 rounded-2xl px-6 py-6 has-[>svg]:grid-cols-[calc(var(--spacing)*5)_1fr] has-[>svg]:gap-x-3 [&>svg]:size-5 [&>svg]:translate-y-0.5 [&>svg]:text-current",
|
|
7
7
|
{
|
|
8
8
|
variants: {
|
|
9
9
|
variant: {
|
|
10
|
-
info: "bg-blue-050
|
|
11
|
-
success: "bg-success-light
|
|
12
|
-
warning: "bg-warning-light
|
|
13
|
-
error: "bg-error-light
|
|
14
|
-
neutral: "bg-neutral-000
|
|
10
|
+
info: "bg-blue-050",
|
|
11
|
+
success: "bg-success-light",
|
|
12
|
+
warning: "bg-warning-light",
|
|
13
|
+
error: "bg-error-light",
|
|
14
|
+
neutral: "bg-neutral-000"
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
defaultVariants: {
|
|
18
18
|
variant: "neutral"
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
),
|
|
21
|
+
), p = {
|
|
22
22
|
info: "IconInfoCircleFilled",
|
|
23
23
|
success: "IconCircleCheckFilled",
|
|
24
24
|
warning: "IconAlertTriangleFilled",
|
|
25
25
|
error: "IconAlertCircleFilled",
|
|
26
26
|
neutral: "IconHelpCircleFilled"
|
|
27
|
-
},
|
|
27
|
+
}, u = {
|
|
28
28
|
info: "text-blue-800",
|
|
29
29
|
success: "text-success-main",
|
|
30
30
|
warning: "text-warning-main",
|
|
@@ -32,59 +32,59 @@ const g = x(
|
|
|
32
32
|
neutral: "text-black"
|
|
33
33
|
};
|
|
34
34
|
function w({
|
|
35
|
-
className:
|
|
35
|
+
className: a,
|
|
36
36
|
title: e,
|
|
37
|
-
content:
|
|
38
|
-
variant:
|
|
39
|
-
showIcon:
|
|
40
|
-
iconName:
|
|
37
|
+
content: l,
|
|
38
|
+
variant: s = "neutral",
|
|
39
|
+
showIcon: i,
|
|
40
|
+
iconName: n,
|
|
41
41
|
children: c,
|
|
42
42
|
...o
|
|
43
43
|
}) {
|
|
44
|
-
return /* @__PURE__ */
|
|
44
|
+
return /* @__PURE__ */ r.jsxs(
|
|
45
45
|
"div",
|
|
46
46
|
{
|
|
47
47
|
"data-slot": "alert",
|
|
48
48
|
role: "alert",
|
|
49
|
-
className:
|
|
49
|
+
className: t(d({ variant: s }), a),
|
|
50
50
|
...o,
|
|
51
51
|
children: [
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
i && s && /* @__PURE__ */ r.jsx(
|
|
53
|
+
m,
|
|
54
54
|
{
|
|
55
|
-
className:
|
|
56
|
-
iconName:
|
|
55
|
+
className: t("max-w-5 min-w-5", u[s]),
|
|
56
|
+
iconName: n ?? p[s],
|
|
57
57
|
size: 20
|
|
58
58
|
}
|
|
59
59
|
),
|
|
60
|
-
e && /* @__PURE__ */
|
|
61
|
-
|
|
60
|
+
e && /* @__PURE__ */ r.jsx(x, { children: /* @__PURE__ */ r.jsx("p", { className: "label-lg font-semibold", children: e }) }),
|
|
61
|
+
l && /* @__PURE__ */ r.jsx(f, { children: /* @__PURE__ */ r.jsx("p", { className: "paragraph-sm", children: l }) }),
|
|
62
62
|
c
|
|
63
63
|
]
|
|
64
64
|
}
|
|
65
65
|
);
|
|
66
66
|
}
|
|
67
|
-
function
|
|
68
|
-
return /* @__PURE__ */
|
|
67
|
+
function x({ className: a, ...e }) {
|
|
68
|
+
return /* @__PURE__ */ r.jsx(
|
|
69
69
|
"div",
|
|
70
70
|
{
|
|
71
71
|
"data-slot": "alert-title",
|
|
72
|
-
className:
|
|
72
|
+
className: t("label-lg col-start-2 font-semibold", a),
|
|
73
73
|
...e
|
|
74
74
|
}
|
|
75
75
|
);
|
|
76
76
|
}
|
|
77
77
|
function f({
|
|
78
|
-
className:
|
|
78
|
+
className: a,
|
|
79
79
|
...e
|
|
80
80
|
}) {
|
|
81
|
-
return /* @__PURE__ */
|
|
81
|
+
return /* @__PURE__ */ r.jsx(
|
|
82
82
|
"div",
|
|
83
83
|
{
|
|
84
84
|
"data-slot": "alert-description",
|
|
85
|
-
className:
|
|
86
|
-
"
|
|
87
|
-
|
|
85
|
+
className: t(
|
|
86
|
+
"paragraph-sm col-start-2 grid justify-items-start gap-1",
|
|
87
|
+
a
|
|
88
88
|
),
|
|
89
89
|
...e
|
|
90
90
|
}
|
|
@@ -93,5 +93,5 @@ function f({
|
|
|
93
93
|
export {
|
|
94
94
|
w as Alert,
|
|
95
95
|
f as AlertDescription,
|
|
96
|
-
|
|
96
|
+
x as AlertTitle
|
|
97
97
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../jsx-runtime-BuHQgaKs.cjs"),i=require("@radix-ui/react-avatar"),n=require("../index-DoxiiusW.cjs");function o(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const l=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,l.get?l:{enumerable:!0,get:()=>e[a]})}}return t.default=e,Object.freeze(t)}const s=o(i);function u({className:e,...t}){return r.jsxRuntimeExports.jsx(s.Root,{"data-slot":"avatar",className:n.cn("relative flex size-8 shrink-0 overflow-hidden rounded-full",e),...t})}function c({className:e,...t}){return r.jsxRuntimeExports.jsx(s.Image,{"data-slot":"avatar-image",className:n.cn("aspect-square size-full",e),...t})}function f({className:e,...t}){return r.jsxRuntimeExports.jsx(s.Fallback,{"data-slot":"avatar-fallback",className:n.cn("bg-muted
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../jsx-runtime-BuHQgaKs.cjs"),i=require("@radix-ui/react-avatar"),n=require("../index-DoxiiusW.cjs");function o(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const l=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,l.get?l:{enumerable:!0,get:()=>e[a]})}}return t.default=e,Object.freeze(t)}const s=o(i);function u({className:e,...t}){return r.jsxRuntimeExports.jsx(s.Root,{"data-slot":"avatar",className:n.cn("relative flex size-8 shrink-0 overflow-hidden rounded-full",e),...t})}function c({className:e,...t}){return r.jsxRuntimeExports.jsx(s.Image,{"data-slot":"avatar-image",className:n.cn("aspect-square size-full",e),...t})}function f({className:e,...t}){return r.jsxRuntimeExports.jsx(s.Fallback,{"data-slot":"avatar-fallback",className:n.cn("bg-muted paragraph-sm flex size-full items-center justify-center rounded-full",e),...t})}exports.Avatar=u;exports.AvatarFallback=f;exports.AvatarImage=c;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import * as
|
|
1
|
+
import { j as r } from "../jsx-runtime-DywqP_6a.js";
|
|
2
|
+
import * as e from "@radix-ui/react-avatar";
|
|
3
3
|
import { c as s } from "../index-CRiPKpXj.js";
|
|
4
4
|
function i({
|
|
5
5
|
className: a,
|
|
6
6
|
...t
|
|
7
7
|
}) {
|
|
8
|
-
return /* @__PURE__ */
|
|
9
|
-
|
|
8
|
+
return /* @__PURE__ */ r.jsx(
|
|
9
|
+
e.Root,
|
|
10
10
|
{
|
|
11
11
|
"data-slot": "avatar",
|
|
12
12
|
className: s(
|
|
@@ -21,8 +21,8 @@ function m({
|
|
|
21
21
|
className: a,
|
|
22
22
|
...t
|
|
23
23
|
}) {
|
|
24
|
-
return /* @__PURE__ */
|
|
25
|
-
|
|
24
|
+
return /* @__PURE__ */ r.jsx(
|
|
25
|
+
e.Image,
|
|
26
26
|
{
|
|
27
27
|
"data-slot": "avatar-image",
|
|
28
28
|
className: s("aspect-square size-full", a),
|
|
@@ -34,12 +34,12 @@ function n({
|
|
|
34
34
|
className: a,
|
|
35
35
|
...t
|
|
36
36
|
}) {
|
|
37
|
-
return /* @__PURE__ */
|
|
38
|
-
|
|
37
|
+
return /* @__PURE__ */ r.jsx(
|
|
38
|
+
e.Fallback,
|
|
39
39
|
{
|
|
40
40
|
"data-slot": "avatar-fallback",
|
|
41
41
|
className: s(
|
|
42
|
-
"bg-muted
|
|
42
|
+
"bg-muted paragraph-sm flex size-full items-center justify-center rounded-full",
|
|
43
43
|
a
|
|
44
44
|
),
|
|
45
45
|
...t
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../badge-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../badge-DuEEk3J_.cjs");exports.Badge=e.Badge;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../jsx-runtime-BuHQgaKs.cjs"),I=require("../../badge-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../jsx-runtime-BuHQgaKs.cjs"),I=require("../../badge-DuEEk3J_.cjs"),i=require("../../card-BJMc0row.cjs"),j=require("../../icon-component-4lyl8wE_.cjs"),u=require("../../tooltip-__VfWmJD.cjs"),n=require("../../index-DoxiiusW.cjs"),q=require("../../index-C8P6Mn4U.cjs"),w=require("react"),y=q.cva("focus-visible:border-ring focus-visible:ring-ring/50 transition-[color,box-shadow] focus-visible:ring-[3px]"),g=w.forwardRef(({className:h,isActive:s,title:m,text:d,helperText:p,badgeText:l,disabled:r,badgeVariant:f,badgeSize:R="xs",iconName:o,iconText:a,tooltipIconName:b="IconHelpCircleFilled",tooltipText:t,tooltipTitle:c,tooltipSide:C,tooltipSideOffset:E,tooltipAlign:N,...x},v)=>e.jsxRuntimeExports.jsxs(i.Card,{ref:v,className:n.cn(y({className:h}),{"bg-blue-050 border-blue-950":s,"border-neutral-100 bg-neutral-100":r,"cursor-pointer lg:active:bg-blue-100":x.onClick&&s&&!r,"lg:active:bg-blue-050 cursor-pointer":x.onClick&&!s&&!r}),role:"button",tabIndex:0,...x,children:[l||o||a?e.jsxRuntimeExports.jsxs(i.CardHeader,{className:"flex items-center justify-between gap-2",children:[o||a?e.jsxRuntimeExports.jsx("div",{className:n.cn("rounded-full p-1",{"bg-neutral-000 text-muted-foreground":!s,"bg-white text-blue-800":s,"bg-white text-neutral-700":r}),children:e.jsxRuntimeExports.jsx(j.IconComponent,{iconName:o,iconText:a,size:20})}):null,(l||t)&&e.jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[l?e.jsxRuntimeExports.jsx(I.Badge,{variant:f,size:R,weight:"semibold",className:n.cn({"opacity-50":r}),children:l}):null,t&&e.jsxRuntimeExports.jsxs(u.Tooltip,{children:[e.jsxRuntimeExports.jsx(u.TooltipTrigger,{children:e.jsxRuntimeExports.jsx(j.IconComponent,{iconName:b??"IconHelpCircleFilled",size:20,className:"z-10 min-h-5 min-w-5"})}),e.jsxRuntimeExports.jsx(u.TooltipContent,{side:C,sideOffset:E,align:N,children:c||t&&e.jsxRuntimeExports.jsxs("div",{className:"text-neutral-1000 flex flex-col gap-1",children:[c&&e.jsxRuntimeExports.jsx("p",{className:"paragraph-md font-semibold",children:c}),t&&e.jsxRuntimeExports.jsx("p",{className:"paragraph-md",children:t})]})})]})]})]}):null,e.jsxRuntimeExports.jsxs(i.CardContent,{className:"flex flex-col gap-1",children:[m?e.jsxRuntimeExports.jsx("p",{className:n.cn("text-foreground label-xl font-semibold",{"text-neutral-700":r}),children:m}):null,d?e.jsxRuntimeExports.jsx("p",{className:n.cn("text-muted-foreground paragraph-md",{"text-neutral-700":r}),children:d}):null]}),p?e.jsxRuntimeExports.jsx(i.CardFooter,{children:e.jsxRuntimeExports.jsx("p",{className:n.cn("paragraph-sm text-neutral-800",{"text-neutral-700":r}),children:p})}):null]}));g.displayName="InteractiveCard";const z=g;exports.InteractiveCard=z;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { B as I } from "../../badge-
|
|
3
|
-
import { C as w, e as y, b as z, d as F } from "../../card-
|
|
4
|
-
import { I as x } from "../../icon-component-
|
|
5
|
-
import { T as H, c as k, a as B } from "../../tooltip-
|
|
1
|
+
import { j as r } from "../../jsx-runtime-DywqP_6a.js";
|
|
2
|
+
import { B as I } from "../../badge-DgjaD6g5.js";
|
|
3
|
+
import { C as w, e as y, b as z, d as F } from "../../card-DPaMJS2f.js";
|
|
4
|
+
import { I as x } from "../../icon-component-Db_44zX2.js";
|
|
5
|
+
import { T as H, c as k, a as B } from "../../tooltip-DgWl3klK.js";
|
|
6
6
|
import { c as a } from "../../index-CRiPKpXj.js";
|
|
7
7
|
import { c as R } from "../../index-BqtVL8d-.js";
|
|
8
8
|
import { forwardRef as E } from "react";
|
|
@@ -16,11 +16,11 @@ const O = R(
|
|
|
16
16
|
text: d,
|
|
17
17
|
helperText: u,
|
|
18
18
|
badgeText: n,
|
|
19
|
-
disabled:
|
|
19
|
+
disabled: e,
|
|
20
20
|
badgeVariant: g,
|
|
21
21
|
badgeSize: h = "xs",
|
|
22
|
-
iconName:
|
|
23
|
-
iconText:
|
|
22
|
+
iconName: o,
|
|
23
|
+
iconText: t,
|
|
24
24
|
tooltipIconName: j = "IconHelpCircleFilled",
|
|
25
25
|
tooltipText: l,
|
|
26
26
|
tooltipTitle: c,
|
|
@@ -28,54 +28,54 @@ const O = R(
|
|
|
28
28
|
tooltipSideOffset: C,
|
|
29
29
|
tooltipAlign: N,
|
|
30
30
|
...i
|
|
31
|
-
}, v) => /* @__PURE__ */
|
|
31
|
+
}, v) => /* @__PURE__ */ r.jsxs(
|
|
32
32
|
w,
|
|
33
33
|
{
|
|
34
34
|
ref: v,
|
|
35
35
|
className: a(O({ className: f }), {
|
|
36
36
|
"bg-blue-050 border-blue-950": s,
|
|
37
|
-
"border-neutral-100 bg-neutral-100":
|
|
38
|
-
"cursor-pointer lg:active:bg-blue-100": i.onClick && s && !
|
|
39
|
-
"lg:active:bg-blue-050 cursor-pointer": i.onClick && !s && !
|
|
37
|
+
"border-neutral-100 bg-neutral-100": e,
|
|
38
|
+
"cursor-pointer lg:active:bg-blue-100": i.onClick && s && !e,
|
|
39
|
+
"lg:active:bg-blue-050 cursor-pointer": i.onClick && !s && !e
|
|
40
40
|
}),
|
|
41
41
|
role: "button",
|
|
42
42
|
tabIndex: 0,
|
|
43
43
|
...i,
|
|
44
44
|
children: [
|
|
45
|
-
n ||
|
|
46
|
-
|
|
45
|
+
n || o || t ? /* @__PURE__ */ r.jsxs(y, { className: "flex items-center justify-between gap-2", children: [
|
|
46
|
+
o || t ? /* @__PURE__ */ r.jsx(
|
|
47
47
|
"div",
|
|
48
48
|
{
|
|
49
49
|
className: a("rounded-full p-1", {
|
|
50
50
|
"bg-neutral-000 text-muted-foreground": !s,
|
|
51
51
|
"bg-white text-blue-800": s,
|
|
52
|
-
"bg-white text-neutral-700":
|
|
52
|
+
"bg-white text-neutral-700": e
|
|
53
53
|
}),
|
|
54
|
-
children: /* @__PURE__ */
|
|
54
|
+
children: /* @__PURE__ */ r.jsx(
|
|
55
55
|
x,
|
|
56
56
|
{
|
|
57
|
-
iconName:
|
|
58
|
-
iconText:
|
|
57
|
+
iconName: o,
|
|
58
|
+
iconText: t,
|
|
59
59
|
size: 20
|
|
60
60
|
}
|
|
61
61
|
)
|
|
62
62
|
}
|
|
63
63
|
) : null,
|
|
64
|
-
(n || l) && /* @__PURE__ */
|
|
65
|
-
n ? /* @__PURE__ */
|
|
64
|
+
(n || l) && /* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
65
|
+
n ? /* @__PURE__ */ r.jsx(
|
|
66
66
|
I,
|
|
67
67
|
{
|
|
68
68
|
variant: g,
|
|
69
69
|
size: h,
|
|
70
70
|
weight: "semibold",
|
|
71
71
|
className: a({
|
|
72
|
-
"opacity-50":
|
|
72
|
+
"opacity-50": e
|
|
73
73
|
}),
|
|
74
74
|
children: n
|
|
75
75
|
}
|
|
76
76
|
) : null,
|
|
77
|
-
l && /* @__PURE__ */
|
|
78
|
-
/* @__PURE__ */
|
|
77
|
+
l && /* @__PURE__ */ r.jsxs(H, { children: [
|
|
78
|
+
/* @__PURE__ */ r.jsx(k, { children: /* @__PURE__ */ r.jsx(
|
|
79
79
|
x,
|
|
80
80
|
{
|
|
81
81
|
iconName: j ?? "IconHelpCircleFilled",
|
|
@@ -83,46 +83,46 @@ const O = R(
|
|
|
83
83
|
className: "z-10 min-h-5 min-w-5"
|
|
84
84
|
}
|
|
85
85
|
) }),
|
|
86
|
-
/* @__PURE__ */
|
|
86
|
+
/* @__PURE__ */ r.jsx(
|
|
87
87
|
B,
|
|
88
88
|
{
|
|
89
89
|
side: b,
|
|
90
90
|
sideOffset: C,
|
|
91
91
|
align: N,
|
|
92
|
-
children: c || l && /* @__PURE__ */
|
|
93
|
-
c && /* @__PURE__ */
|
|
94
|
-
l && /* @__PURE__ */
|
|
92
|
+
children: c || l && /* @__PURE__ */ r.jsxs("div", { className: "text-neutral-1000 flex flex-col gap-1", children: [
|
|
93
|
+
c && /* @__PURE__ */ r.jsx("p", { className: "paragraph-md font-semibold", children: c }),
|
|
94
|
+
l && /* @__PURE__ */ r.jsx("p", { className: "paragraph-md", children: l })
|
|
95
95
|
] })
|
|
96
96
|
}
|
|
97
97
|
)
|
|
98
98
|
] })
|
|
99
99
|
] })
|
|
100
100
|
] }) : null,
|
|
101
|
-
/* @__PURE__ */
|
|
102
|
-
m ? /* @__PURE__ */
|
|
101
|
+
/* @__PURE__ */ r.jsxs(z, { className: "flex flex-col gap-1", children: [
|
|
102
|
+
m ? /* @__PURE__ */ r.jsx(
|
|
103
103
|
"p",
|
|
104
104
|
{
|
|
105
|
-
className: a("text-foreground
|
|
106
|
-
"text-neutral-700":
|
|
105
|
+
className: a("text-foreground label-xl font-semibold", {
|
|
106
|
+
"text-neutral-700": e
|
|
107
107
|
}),
|
|
108
108
|
children: m
|
|
109
109
|
}
|
|
110
110
|
) : null,
|
|
111
|
-
d ? /* @__PURE__ */
|
|
111
|
+
d ? /* @__PURE__ */ r.jsx(
|
|
112
112
|
"p",
|
|
113
113
|
{
|
|
114
|
-
className: a("text-muted-foreground
|
|
115
|
-
"text-neutral-700":
|
|
114
|
+
className: a("text-muted-foreground paragraph-md", {
|
|
115
|
+
"text-neutral-700": e
|
|
116
116
|
}),
|
|
117
117
|
children: d
|
|
118
118
|
}
|
|
119
119
|
) : null
|
|
120
120
|
] }),
|
|
121
|
-
u ? /* @__PURE__ */
|
|
121
|
+
u ? /* @__PURE__ */ r.jsx(F, { children: /* @__PURE__ */ r.jsx(
|
|
122
122
|
"p",
|
|
123
123
|
{
|
|
124
|
-
className: a("
|
|
125
|
-
"text-neutral-700":
|
|
124
|
+
className: a("paragraph-sm text-neutral-800", {
|
|
125
|
+
"text-neutral-700": e
|
|
126
126
|
}),
|
|
127
127
|
children: u
|
|
128
128
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../../jsx-runtime-BuHQgaKs.cjs"),p=require("../../chip-CXa6E8Cf.cjs"),y=require("../../label-RxaHfl3U.cjs"),u=require("../../index-DoxiiusW.cjs"),R=({id:d,label:x,options:i,multiple:m=!1,selectedOptions:t,setSelectedOptions:j,className:v,disabled:c,helperText:h,error:a,touched:r})=>{const n=t,f=e=>{if(!m)return j(e.value),e.value;let l=[];return l=Array.isArray(n)?n.includes(e.value)?n.filter(S=>S!==e.value):[...n,e.value]:[e.value],j(l),l},b=e=>m&&Array.isArray(t)?t.includes(e.value):t===e.value;return i.length===0?null:s.jsxRuntimeExports.jsxs("div",{className:u.cn("flex flex-col gap-3",v),children:[x&&s.jsxRuntimeExports.jsx(y.Label,{htmlFor:d,className:u.cn({"text-neutral-700":c}),children:x}),s.jsxRuntimeExports.jsx("div",{className:"flex flex-wrap gap-2",children:i.map(e=>{const l=b(e);return s.jsxRuntimeExports.jsx(p.ChipComponent,{intent:l?"selected":"unselected",iconLeft:l?"IconCheck":void 0,onClick:()=>f(e),className:"py-1",disabled:c,children:e.label},e.label)})}),a&&r?s.jsxRuntimeExports.jsx("span",{className:"text-error-main label-md -mt-1",children:a}):s.jsxRuntimeExports.jsx("span",{className:u.clsx("label-md -mt-1",{"text-neutral-1000":!a&&!r,"text-error-main":a&&r,"text-success-main":r&&!a,"text-neutral-700":c}),children:h})]})};exports.SelectableChips=R;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as l } from "../../jsx-runtime-DywqP_6a.js";
|
|
2
|
-
import { C as y } from "../../chip-
|
|
3
|
-
import { L as S } from "../../label-
|
|
2
|
+
import { C as y } from "../../chip-C5OWe3FG.js";
|
|
3
|
+
import { L as S } from "../../label-CKObiJEl.js";
|
|
4
4
|
import { c as f, a as p } from "../../index-CRiPKpXj.js";
|
|
5
5
|
const k = ({
|
|
6
6
|
id: v,
|
|
@@ -13,13 +13,13 @@ const k = ({
|
|
|
13
13
|
disabled: n,
|
|
14
14
|
helperText: h,
|
|
15
15
|
error: s,
|
|
16
|
-
touched:
|
|
16
|
+
touched: c
|
|
17
17
|
}) => {
|
|
18
|
-
const
|
|
18
|
+
const t = r, j = (e) => {
|
|
19
19
|
if (!u)
|
|
20
20
|
return i(e.value), e.value;
|
|
21
21
|
let a = [];
|
|
22
|
-
return a = Array.isArray(
|
|
22
|
+
return a = Array.isArray(t) ? t.includes(e.value) ? t.filter((N) => N !== e.value) : [...t, e.value] : [e.value], i(a), a;
|
|
23
23
|
}, C = (e) => u && Array.isArray(r) ? r.includes(e.value) : r === e.value;
|
|
24
24
|
return x.length === 0 ? null : /* @__PURE__ */ l.jsxs("div", { className: f("flex flex-col gap-3", d), children: [
|
|
25
25
|
m && /* @__PURE__ */ l.jsx(S, { htmlFor: v, className: f({ "text-neutral-700": n }), children: m }),
|
|
@@ -38,13 +38,13 @@ const k = ({
|
|
|
38
38
|
e.label
|
|
39
39
|
);
|
|
40
40
|
}) }),
|
|
41
|
-
s &&
|
|
41
|
+
s && c ? /* @__PURE__ */ l.jsx("span", { className: "text-error-main label-md -mt-1", children: s }) : /* @__PURE__ */ l.jsx(
|
|
42
42
|
"span",
|
|
43
43
|
{
|
|
44
|
-
className: p("
|
|
45
|
-
"text-neutral-1000": !s && !
|
|
46
|
-
"text-error-main": s &&
|
|
47
|
-
"text-success-main":
|
|
44
|
+
className: p("label-md -mt-1", {
|
|
45
|
+
"text-neutral-1000": !s && !c,
|
|
46
|
+
"text-error-main": s && c,
|
|
47
|
+
"text-success-main": c && !s,
|
|
48
48
|
"text-neutral-700": n
|
|
49
49
|
}),
|
|
50
50
|
children: h
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../jsx-runtime-BuHQgaKs.cjs"),i=require("@radix-ui/react-slot"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../jsx-runtime-BuHQgaKs.cjs"),i=require("@radix-ui/react-slot"),a=require("../index-DoxiiusW.cjs"),n=require("../icon-component-4lyl8wE_.cjs");function c({...e}){return t.jsxRuntimeExports.jsx("nav",{"aria-label":"breadcrumb","data-slot":"breadcrumb",...e})}function u({className:e,...r}){return t.jsxRuntimeExports.jsx("ol",{"data-slot":"breadcrumb-list",className:a.cn("text-muted-foreground paragraph-sm flex flex-wrap items-center gap-1.5 break-words sm:gap-2.5",e),...r})}function m({className:e,...r}){return t.jsxRuntimeExports.jsx("li",{"data-slot":"breadcrumb-item",className:a.cn("inline-flex items-center gap-1.5",e),...r})}function l({asChild:e,className:r,...s}){const o=e?i.Slot:"a";return t.jsxRuntimeExports.jsx(o,{"data-slot":"breadcrumb-link",className:a.cn("hover:text-foreground transition-colors",r),...s})}function d({className:e,...r}){return t.jsxRuntimeExports.jsx("span",{"data-slot":"breadcrumb-page",role:"link","aria-disabled":"true","aria-current":"page",className:a.cn("text-foreground font-semibold",e),...r})}function x({children:e,className:r,...s}){return t.jsxRuntimeExports.jsx("li",{"data-slot":"breadcrumb-separator",role:"presentation","aria-hidden":"true",className:a.cn("[&>svg]:size-3.5",r),...s,children:e??t.jsxRuntimeExports.jsx(n.IconComponent,{iconName:"IconChevronRight"})})}function b({className:e,...r}){return t.jsxRuntimeExports.jsxs("span",{"data-slot":"breadcrumb-ellipsis",role:"presentation","aria-hidden":"true",className:a.cn("flex size-9 items-center justify-center [&>svg]:size-3.5",e),...r,children:[t.jsxRuntimeExports.jsx(n.IconComponent,{iconName:"IconDots"}),t.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"More"})]})}exports.Breadcrumb=c;exports.BreadcrumbEllipsis=b;exports.BreadcrumbItem=m;exports.BreadcrumbLink=l;exports.BreadcrumbList=u;exports.BreadcrumbPage=d;exports.BreadcrumbSeparator=x;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as a } from "../jsx-runtime-DywqP_6a.js";
|
|
2
2
|
import { Slot as i } from "@radix-ui/react-slot";
|
|
3
3
|
import { c as t } from "../index-CRiPKpXj.js";
|
|
4
|
-
import { I as n } from "../icon-component-
|
|
4
|
+
import { I as n } from "../icon-component-Db_44zX2.js";
|
|
5
5
|
function d({ ...r }) {
|
|
6
6
|
return /* @__PURE__ */ a.jsx("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...r });
|
|
7
7
|
}
|
|
@@ -11,7 +11,7 @@ function b({ className: r, ...e }) {
|
|
|
11
11
|
{
|
|
12
12
|
"data-slot": "breadcrumb-list",
|
|
13
13
|
className: t(
|
|
14
|
-
"text-muted-foreground flex flex-wrap items-center gap-1.5
|
|
14
|
+
"text-muted-foreground paragraph-sm flex flex-wrap items-center gap-1.5 break-words sm:gap-2.5",
|
|
15
15
|
r
|
|
16
16
|
),
|
|
17
17
|
...e
|
|
@@ -28,7 +28,7 @@ function p({ className: r, ...e }) {
|
|
|
28
28
|
}
|
|
29
29
|
);
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function f({
|
|
32
32
|
asChild: r,
|
|
33
33
|
className: e,
|
|
34
34
|
...s
|
|
@@ -43,7 +43,7 @@ function x({
|
|
|
43
43
|
}
|
|
44
44
|
);
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function x({ className: r, ...e }) {
|
|
47
47
|
return /* @__PURE__ */ a.jsx(
|
|
48
48
|
"span",
|
|
49
49
|
{
|
|
@@ -56,7 +56,7 @@ function f({ className: r, ...e }) {
|
|
|
56
56
|
}
|
|
57
57
|
);
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function g({
|
|
60
60
|
children: r,
|
|
61
61
|
className: e,
|
|
62
62
|
...s
|
|
@@ -73,7 +73,7 @@ function j({
|
|
|
73
73
|
}
|
|
74
74
|
);
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function j({
|
|
77
77
|
className: r,
|
|
78
78
|
...e
|
|
79
79
|
}) {
|
|
@@ -97,10 +97,10 @@ function g({
|
|
|
97
97
|
}
|
|
98
98
|
export {
|
|
99
99
|
d as Breadcrumb,
|
|
100
|
-
|
|
100
|
+
j as BreadcrumbEllipsis,
|
|
101
101
|
p as BreadcrumbItem,
|
|
102
|
-
|
|
102
|
+
f as BreadcrumbLink,
|
|
103
103
|
b as BreadcrumbList,
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
x as BreadcrumbPage,
|
|
105
|
+
g as BreadcrumbSeparator
|
|
106
106
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../button-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../button-U1793OQ4.cjs");exports.Button=t.Button;exports.buttonActiveStyles=t.buttonActiveStyles;exports.buttonLoadingStyles=t.buttonLoadingStyles;exports.buttonStyles=t.buttonStyles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../jsx-runtime-BuHQgaKs.cjs"),y=require("react"),m=require("react-day-picker"),p=require("../button-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../jsx-runtime-BuHQgaKs.cjs"),y=require("react"),m=require("react-day-picker"),p=require("../button-U1793OQ4.cjs"),g=require("../icon-component-4lyl8wE_.cjs"),e=require("../index-DoxiiusW.cjs");function h(r){const d=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const n in r)if(n!=="default"){const s=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(d,n,s.get?s:{enumerable:!0,get:()=>r[n]})}}return d.default=r,Object.freeze(d)}const f=h(y);function _({className:r,classNames:d,showOutsideDays:n=!0,captionLayout:s="label",buttonVariant:l="inverse",formatters:i,components:x,...b}){const t=m.getDefaultClassNames();return o.jsxRuntimeExports.jsx(m.DayPicker,{showOutsideDays:n,className:e.cn("bg-background group/calendar p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,r),captionLayout:s,formatters:{formatMonthDropdown:a=>a.toLocaleString("default",{month:"short"}),...i},classNames:{root:e.cn("w-fit",t.root),months:e.cn("flex gap-4 flex-col md:flex-row relative",t.months),month:e.cn("flex flex-col w-full gap-4",t.month),nav:e.cn("flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between",t.nav),button_previous:e.cn(p.buttonStyles({variant:l}),"size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",t.button_previous),button_next:e.cn(p.buttonStyles({variant:l}),"size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",t.button_next),month_caption:e.cn("flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)",t.month_caption),dropdowns:e.cn("w-full flex items-center paragraph-sm font-medium justify-center h-(--cell-size) gap-1.5",t.dropdowns),dropdown_root:e.cn("relative has-focus:border-ring border border-input has-focus:ring-ring/50 has-focus:ring-[3px] rounded-md",t.dropdown_root),dropdown:e.cn("absolute bg-popover inset-0 opacity-0",t.dropdown),caption_label:e.cn("select-none font-medium",s==="label"?"paragraph-sm":"rounded-md pl-2 pr-1 flex items-center gap-1 paragraph-sm h-8 [&>svg]:text-muted-foreground [&>svg]:size-3.5",t.caption_label),table:"w-full border-collapse",weekdays:e.cn("flex",t.weekdays),weekday:e.cn("text-muted-foreground rounded-md flex-1 font-normal text-[0.8rem] select-none",t.weekday),week:e.cn("flex w-full mt-2",t.week),week_number_header:e.cn("select-none w-(--cell-size)",t.week_number_header),week_number:e.cn("text-[0.8rem] select-none text-muted-foreground",t.week_number),day:e.cn("relative w-full h-full p-0 text-center [&:first-child[data-selected=true]_button]:rounded-l-md [&:last-child[data-selected=true]_button]:rounded-r-md group/day aspect-square select-none",t.day),range_start:e.cn("rounded-l-md bg-accent",t.range_start),range_middle:e.cn("rounded-none",t.range_middle),range_end:e.cn("rounded-r-md bg-accent",t.range_end),today:e.cn("bg-accent text-accent-foreground rounded-md data-[selected=true]:rounded-none",t.today),outside:e.cn("text-muted-foreground aria-selected:text-muted-foreground",t.outside),disabled:e.cn("text-muted-foreground opacity-50",t.disabled),hidden:e.cn("invisible",t.hidden),...d},components:{Root:({className:a,rootRef:c,...u})=>o.jsxRuntimeExports.jsx("div",{"data-slot":"calendar",ref:c,className:e.cn(a),...u}),Chevron:({className:a,orientation:c,...u})=>c==="left"?o.jsxRuntimeExports.jsx(g.IconComponent,{iconName:"IconChevronLeft",className:e.cn("size-4",a),...u}):c==="right"?o.jsxRuntimeExports.jsx(g.IconComponent,{iconName:"IconChevronRight",className:e.cn("size-4",a),...u}):o.jsxRuntimeExports.jsx(g.IconComponent,{iconName:"IconChevronDown",className:e.cn("size-4",a),...u}),DayButton:v,WeekNumber:({children:a,...c})=>o.jsxRuntimeExports.jsx("td",{...c,children:o.jsxRuntimeExports.jsx("div",{className:"flex size-(--cell-size) items-center justify-center text-center",children:a})}),...x},...b})}function v({className:r,day:d,modifiers:n,...s}){const l=m.getDefaultClassNames(),i=f.useRef(null);return f.useEffect(()=>{n.focused&&i.current?.focus()},[n.focused]),o.jsxRuntimeExports.jsx(p.Button,{ref:i,variant:"inverse",size:"sm","data-day":d.date.toLocaleDateString(),"data-selected-single":n.selected&&!n.range_start&&!n.range_end&&!n.range_middle,"data-range-start":n.range_start,"data-range-end":n.range_end,"data-range-middle":n.range_middle,className:e.cn("data-[selected-single=true]:bg-secondary data-[selected-single=true]:text-secondary-foreground data-[range-middle=true]:bg-blue-050 data-[range-start=true]:bg-secondary data-[range-start=true]:text-secondary-foreground data-[range-end=true]:bg-secondary data-[range-end=true]:text-secondary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-accent-foreground data-[selected-single=true]:hover:bg-secondary/80 data-[selected-single=true]:hover:text-secondary-foreground data-[range-start=true]:hover:bg-secondary/80 data-[range-end=true]:hover:bg-secondary/80 [&>span]:paragraph-xs flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 rounded-md p-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-middle=true]:rounded-none data-[range-middle=true]:text-blue-800 data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md [&>span]:opacity-70",l.day,r),...s})}exports.Calendar=_;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { j as n } from "../jsx-runtime-DywqP_6a.js";
|
|
2
2
|
import * as m from "react";
|
|
3
|
-
import { getDefaultClassNames as p, DayPicker as
|
|
4
|
-
import { c as f, B as
|
|
5
|
-
import { I as g } from "../icon-component-
|
|
3
|
+
import { getDefaultClassNames as p, DayPicker as h } from "react-day-picker";
|
|
4
|
+
import { c as f, B as y } from "../button-D8hlW1CJ.js";
|
|
5
|
+
import { I as g } from "../icon-component-Db_44zX2.js";
|
|
6
6
|
import { c as e } from "../index-CRiPKpXj.js";
|
|
7
7
|
function k({
|
|
8
8
|
className: c,
|
|
@@ -16,7 +16,7 @@ function k({
|
|
|
16
16
|
}) {
|
|
17
17
|
const t = p();
|
|
18
18
|
return /* @__PURE__ */ n.jsx(
|
|
19
|
-
|
|
19
|
+
h,
|
|
20
20
|
{
|
|
21
21
|
showOutsideDays: a,
|
|
22
22
|
className: e(
|
|
@@ -56,7 +56,7 @@ function k({
|
|
|
56
56
|
t.month_caption
|
|
57
57
|
),
|
|
58
58
|
dropdowns: e(
|
|
59
|
-
"w-full flex items-center
|
|
59
|
+
"w-full flex items-center paragraph-sm font-medium justify-center h-(--cell-size) gap-1.5",
|
|
60
60
|
t.dropdowns
|
|
61
61
|
),
|
|
62
62
|
dropdown_root: e(
|
|
@@ -69,7 +69,7 @@ function k({
|
|
|
69
69
|
),
|
|
70
70
|
caption_label: e(
|
|
71
71
|
"select-none font-medium",
|
|
72
|
-
s === "label" ? "
|
|
72
|
+
s === "label" ? "paragraph-sm" : "rounded-md pl-2 pr-1 flex items-center gap-1 paragraph-sm h-8 [&>svg]:text-muted-foreground [&>svg]:size-3.5",
|
|
73
73
|
t.caption_label
|
|
74
74
|
),
|
|
75
75
|
table: "w-full border-collapse",
|
|
@@ -166,7 +166,7 @@ function _({
|
|
|
166
166
|
return m.useEffect(() => {
|
|
167
167
|
a.focused && u.current?.focus();
|
|
168
168
|
}, [a.focused]), /* @__PURE__ */ n.jsx(
|
|
169
|
-
|
|
169
|
+
y,
|
|
170
170
|
{
|
|
171
171
|
ref: u,
|
|
172
172
|
variant: "inverse",
|
|
@@ -177,7 +177,7 @@ function _({
|
|
|
177
177
|
"data-range-end": a.range_end,
|
|
178
178
|
"data-range-middle": a.range_middle,
|
|
179
179
|
className: e(
|
|
180
|
-
"data-[selected-single=true]:bg-secondary data-[selected-single=true]:text-secondary-foreground data-[range-middle=true]:bg-blue-050 data-[range-start=true]:bg-secondary data-[range-start=true]:text-secondary-foreground data-[range-end=true]:bg-secondary data-[range-end=true]:text-secondary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-accent-foreground data-[selected-single=true]:hover:bg-secondary/80 data-[selected-single=true]:hover:text-secondary-foreground data-[range-start=true]:hover:bg-secondary/80 data-[range-end=true]:hover:bg-secondary/80 flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 rounded-md p-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-middle=true]:rounded-none data-[range-middle=true]:text-blue-800 data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md [&>span]:
|
|
180
|
+
"data-[selected-single=true]:bg-secondary data-[selected-single=true]:text-secondary-foreground data-[range-middle=true]:bg-blue-050 data-[range-start=true]:bg-secondary data-[range-start=true]:text-secondary-foreground data-[range-end=true]:bg-secondary data-[range-end=true]:text-secondary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-accent-foreground data-[selected-single=true]:hover:bg-secondary/80 data-[selected-single=true]:hover:text-secondary-foreground data-[range-start=true]:hover:bg-secondary/80 data-[range-end=true]:hover:bg-secondary/80 [&>span]:paragraph-xs flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 rounded-md p-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-middle=true]:rounded-none data-[range-middle=true]:text-blue-800 data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md [&>span]:opacity-70",
|
|
181
181
|
l.day,
|
|
182
182
|
c
|
|
183
183
|
),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../card-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../card-BJMc0row.cjs");exports.Card=r.Card;exports.CardAction=r.CardAction;exports.CardContent=r.CardContent;exports.CardDescription=r.CardDescription;exports.CardFooter=r.CardFooter;exports.CardHeader=r.CardHeader;exports.CardTitle=r.CardTitle;
|