@devalok/shilp-sutra 0.5.0 → 0.6.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/dist/composed/command-palette.d.ts +1 -2
- package/dist/composed/command-palette.d.ts.map +1 -1
- package/dist/composed/command-palette.js +27 -33
- package/dist/composed/date-picker/calendar-grid.d.ts +7 -0
- package/dist/composed/date-picker/calendar-grid.d.ts.map +1 -1
- package/dist/composed/date-picker/calendar-grid.js +92 -72
- package/dist/composed/date-picker/index.d.ts +1 -1
- package/dist/composed/date-picker/index.d.ts.map +1 -1
- package/dist/composed/index.d.ts +5 -1
- package/dist/composed/index.d.ts.map +1 -1
- package/dist/composed/index.js +42 -38
- package/dist/composed/page-header.d.ts +1 -1
- package/dist/composed/page-header.d.ts.map +1 -1
- package/dist/composed/page-header.js +63 -59
- package/dist/composed/schedule-view.d.ts +26 -0
- package/dist/composed/schedule-view.d.ts.map +1 -0
- package/dist/composed/schedule-view.js +183 -0
- package/dist/composed/simple-tooltip.d.ts +15 -0
- package/dist/composed/simple-tooltip.d.ts.map +1 -0
- package/dist/composed/simple-tooltip.js +17 -0
- package/dist/composed/status-badge.d.ts +2 -1
- package/dist/composed/status-badge.d.ts.map +1 -1
- package/dist/composed/status-badge.js +37 -22
- package/dist/shell/app-command-palette.js +87 -87
- package/dist/shell/bottom-navbar.d.ts +1 -3
- package/dist/shell/bottom-navbar.d.ts.map +1 -1
- package/dist/shell/bottom-navbar.js +37 -37
- package/dist/shell/notification-preferences.d.ts.map +1 -1
- package/dist/shell/notification-preferences.js +31 -31
- package/dist/shell/sidebar.d.ts +1 -3
- package/dist/shell/sidebar.d.ts.map +1 -1
- package/dist/shell/sidebar.js +6 -6
- package/dist/ui/alert.d.ts +3 -0
- package/dist/ui/alert.d.ts.map +1 -1
- package/dist/ui/alert.js +56 -31
- package/package.json +210 -208
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Icon as TablerIcon } from '@tabler/icons-react';
|
|
3
2
|
/**
|
|
4
3
|
* CommandPalette -- Keyboard-driven command palette (Ctrl+K / Cmd+K).
|
|
5
4
|
*
|
|
@@ -11,7 +10,7 @@ export interface CommandItem {
|
|
|
11
10
|
id: string;
|
|
12
11
|
label: string;
|
|
13
12
|
description?: string;
|
|
14
|
-
icon?:
|
|
13
|
+
icon?: React.ReactNode;
|
|
15
14
|
shortcut?: string;
|
|
16
15
|
onSelect: () => void;
|
|
17
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-palette.d.ts","sourceRoot":"","sources":["../../src/composed/command-palette.tsx"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"command-palette.d.ts","sourceRoot":"","sources":["../../src/composed/command-palette.tsx"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAiB9B,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,IAAI,CAAA;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,WAAW,EAAE,CAAA;CACrB;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,CAAC,EAAE,YAAY,EAAE,CAAA;IACvB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAMD,QAAA,MAAM,cAAc,4FAuRnB,CAAA;AAID,OAAO,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as s, jsxs as a } from "react/jsx-runtime";
|
|
3
3
|
import * as r from "react";
|
|
4
|
-
import { Dialog as
|
|
5
|
-
import { IconSearch as
|
|
4
|
+
import { Dialog as I, DialogPortal as E, DialogOverlay as A, DialogContentRaw as M, DialogTitle as R, DialogDescription as L } from "../ui/dialog.js";
|
|
5
|
+
import { IconSearch as S, IconCornerDownLeft as g, IconArrowUp as K, IconArrowDown as P } from "@tabler/icons-react";
|
|
6
6
|
import { cn as u } from "../ui/lib/utils.js";
|
|
7
|
-
import { VisuallyHidden as
|
|
8
|
-
const
|
|
7
|
+
import { VisuallyHidden as q } from "../ui/visually-hidden.js";
|
|
8
|
+
const z = r.forwardRef(
|
|
9
9
|
function({
|
|
10
10
|
groups: p = [],
|
|
11
|
-
placeholder:
|
|
11
|
+
placeholder: w = "Search or jump to...",
|
|
12
12
|
onSearch: x,
|
|
13
|
-
emptyMessage:
|
|
14
|
-
},
|
|
13
|
+
emptyMessage: k = "No results found."
|
|
14
|
+
}, v) {
|
|
15
15
|
const [f, n] = r.useState(!1), [i, b] = r.useState(""), [m, c] = r.useState(0), y = r.useRef(null), N = r.useRef(null), l = r.useMemo(() => {
|
|
16
16
|
if (!i.trim()) return p;
|
|
17
17
|
const t = i.toLowerCase();
|
|
@@ -39,7 +39,7 @@ const O = r.forwardRef(
|
|
|
39
39
|
(t = y.current) == null || t.focus();
|
|
40
40
|
}));
|
|
41
41
|
}, [f]);
|
|
42
|
-
const
|
|
42
|
+
const D = (t) => {
|
|
43
43
|
switch (t.key) {
|
|
44
44
|
case "ArrowDown": {
|
|
45
45
|
t.preventDefault(), c(
|
|
@@ -72,7 +72,7 @@ const O = r.forwardRef(
|
|
|
72
72
|
);
|
|
73
73
|
t == null || t.scrollIntoView({ block: "nearest" });
|
|
74
74
|
}, [m]);
|
|
75
|
-
const
|
|
75
|
+
const C = (t) => {
|
|
76
76
|
b(t), c(0), x == null || x(t);
|
|
77
77
|
}, j = r.useMemo(() => {
|
|
78
78
|
const t = /* @__PURE__ */ new Map();
|
|
@@ -82,17 +82,17 @@ const O = r.forwardRef(
|
|
|
82
82
|
t.set(o.id, e++);
|
|
83
83
|
return t;
|
|
84
84
|
}, [l]);
|
|
85
|
-
return /* @__PURE__ */ s(
|
|
85
|
+
return /* @__PURE__ */ s(I, { open: f, onOpenChange: n, children: /* @__PURE__ */ a(E, { children: [
|
|
86
86
|
/* @__PURE__ */ s(
|
|
87
|
-
|
|
87
|
+
A,
|
|
88
88
|
{
|
|
89
89
|
className: "fixed inset-0 z-overlay bg-overlay data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"
|
|
90
90
|
}
|
|
91
91
|
),
|
|
92
92
|
/* @__PURE__ */ a(
|
|
93
|
-
|
|
93
|
+
M,
|
|
94
94
|
{
|
|
95
|
-
ref:
|
|
95
|
+
ref: v,
|
|
96
96
|
className: u(
|
|
97
97
|
"fixed left-1/2 top-[20%] z-modal w-full max-w-[560px] -translate-x-1/2",
|
|
98
98
|
"overflow-hidden rounded-ds-xl border border-border bg-layer-01 shadow-05",
|
|
@@ -102,15 +102,15 @@ const O = r.forwardRef(
|
|
|
102
102
|
"data-[state=closed]:slide-out-to-left-1/2 data-[state=open]:slide-in-from-left-1/2",
|
|
103
103
|
"data-[state=closed]:slide-out-to-top-2 data-[state=open]:slide-in-from-top-2"
|
|
104
104
|
),
|
|
105
|
-
onKeyDown:
|
|
105
|
+
onKeyDown: D,
|
|
106
106
|
children: [
|
|
107
|
-
/* @__PURE__ */ a(
|
|
108
|
-
/* @__PURE__ */ s(
|
|
109
|
-
/* @__PURE__ */ s(
|
|
107
|
+
/* @__PURE__ */ a(q, { children: [
|
|
108
|
+
/* @__PURE__ */ s(R, { children: "Command Palette" }),
|
|
109
|
+
/* @__PURE__ */ s(L, { children: "Search or jump to pages, projects, tasks, and actions" })
|
|
110
110
|
] }),
|
|
111
111
|
/* @__PURE__ */ a("div", { className: "flex items-center gap-ds-04 border-b border-border px-ds-05 py-ds-04", children: [
|
|
112
112
|
/* @__PURE__ */ s(
|
|
113
|
-
|
|
113
|
+
S,
|
|
114
114
|
{
|
|
115
115
|
className: "h-ico-sm w-ico-sm shrink-0 text-text-placeholder",
|
|
116
116
|
stroke: 1.5
|
|
@@ -121,8 +121,8 @@ const O = r.forwardRef(
|
|
|
121
121
|
{
|
|
122
122
|
ref: y,
|
|
123
123
|
value: i,
|
|
124
|
-
onChange: (t) =>
|
|
125
|
-
placeholder:
|
|
124
|
+
onChange: (t) => C(t.target.value),
|
|
125
|
+
placeholder: w,
|
|
126
126
|
className: u(
|
|
127
127
|
"flex-1 bg-transparent text-ds-base text-text-primary outline-none",
|
|
128
128
|
"placeholder:text-text-placeholder"
|
|
@@ -140,11 +140,11 @@ const O = r.forwardRef(
|
|
|
140
140
|
ref: N,
|
|
141
141
|
className: "max-h-[320px] overflow-y-auto px-ds-03 py-ds-03",
|
|
142
142
|
children: [
|
|
143
|
-
l.length === 0 && /* @__PURE__ */ s("div", { className: "flex items-center justify-center py-ds-07", children: /* @__PURE__ */ s("p", { className: "text-ds-md text-text-placeholder", children:
|
|
143
|
+
l.length === 0 && /* @__PURE__ */ s("div", { className: "flex items-center justify-center py-ds-07", children: /* @__PURE__ */ s("p", { className: "text-ds-md text-text-placeholder", children: k }) }),
|
|
144
144
|
l.map((t) => /* @__PURE__ */ a("div", { className: "mb-ds-02", children: [
|
|
145
145
|
/* @__PURE__ */ s("div", { className: "px-ds-03 pb-ds-02 pt-ds-03", children: /* @__PURE__ */ s("span", { className: "text-ds-xs font-semibold uppercase tracking-wider text-text-placeholder", children: t.label }) }),
|
|
146
146
|
t.items.map((e) => {
|
|
147
|
-
const d = j.get(e.id) ?? 0, o = d === m
|
|
147
|
+
const d = j.get(e.id) ?? 0, o = d === m;
|
|
148
148
|
return /* @__PURE__ */ a(
|
|
149
149
|
"button",
|
|
150
150
|
{
|
|
@@ -159,13 +159,7 @@ const O = r.forwardRef(
|
|
|
159
159
|
o ? "bg-layer-03 text-text-primary" : "text-text-secondary hover:bg-layer-02"
|
|
160
160
|
),
|
|
161
161
|
children: [
|
|
162
|
-
|
|
163
|
-
w,
|
|
164
|
-
{
|
|
165
|
-
className: "h-ico-sm w-ico-sm shrink-0 text-text-placeholder",
|
|
166
|
-
stroke: 1.5
|
|
167
|
-
}
|
|
168
|
-
),
|
|
162
|
+
e.icon && /* @__PURE__ */ s("span", { className: "[&>svg]:h-ico-sm [&>svg]:w-ico-sm shrink-0 text-text-placeholder", "aria-hidden": "true", children: e.icon }),
|
|
169
163
|
/* @__PURE__ */ a("div", { className: "flex flex-1 flex-col", children: [
|
|
170
164
|
/* @__PURE__ */ s("span", { className: "text-ds-md", children: e.label }),
|
|
171
165
|
e.description && /* @__PURE__ */ s("span", { className: "text-ds-sm text-text-placeholder", children: e.description })
|
|
@@ -190,8 +184,8 @@ const O = r.forwardRef(
|
|
|
190
184
|
/* @__PURE__ */ a("div", { className: "flex items-center gap-ds-05 border-t border-border px-ds-05 py-ds-03", children: [
|
|
191
185
|
/* @__PURE__ */ a("div", { className: "flex items-center gap-ds-02b", children: [
|
|
192
186
|
/* @__PURE__ */ a("div", { className: "flex items-center gap-ds-01", children: [
|
|
193
|
-
/* @__PURE__ */ s("kbd", { className: "inline-flex h-ico-md w-ico-md items-center justify-center rounded border border-border bg-layer-02", children: /* @__PURE__ */ s(
|
|
194
|
-
/* @__PURE__ */ s("kbd", { className: "inline-flex h-ico-md w-ico-md items-center justify-center rounded border border-border bg-layer-02", children: /* @__PURE__ */ s(
|
|
187
|
+
/* @__PURE__ */ s("kbd", { className: "inline-flex h-ico-md w-ico-md items-center justify-center rounded border border-border bg-layer-02", children: /* @__PURE__ */ s(K, { className: "h-ds-03 w-ds-03 text-text-placeholder", stroke: 2 }) }),
|
|
188
|
+
/* @__PURE__ */ s("kbd", { className: "inline-flex h-ico-md w-ico-md items-center justify-center rounded border border-border bg-layer-02", children: /* @__PURE__ */ s(P, { className: "h-ds-03 w-ds-03 text-text-placeholder", stroke: 2 }) })
|
|
195
189
|
] }),
|
|
196
190
|
/* @__PURE__ */ s("span", { className: "text-ds-xs text-text-placeholder", children: "Navigate" })
|
|
197
191
|
] }),
|
|
@@ -210,7 +204,7 @@ const O = r.forwardRef(
|
|
|
210
204
|
] }) });
|
|
211
205
|
}
|
|
212
206
|
);
|
|
213
|
-
|
|
207
|
+
z.displayName = "CommandPalette";
|
|
214
208
|
export {
|
|
215
|
-
|
|
209
|
+
z as CommandPalette
|
|
216
210
|
};
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import * as React from 'react';
|
|
3
|
+
export interface CalendarEvent {
|
|
4
|
+
date: Date;
|
|
5
|
+
color?: string;
|
|
6
|
+
label?: string;
|
|
7
|
+
}
|
|
3
8
|
export interface CalendarGridProps {
|
|
4
9
|
currentMonth: Date;
|
|
5
10
|
selected?: Date | null;
|
|
@@ -17,6 +22,8 @@ export interface CalendarGridProps {
|
|
|
17
22
|
hidePrevNav?: boolean;
|
|
18
23
|
/** Hide the next-month navigation arrow */
|
|
19
24
|
hideNextNav?: boolean;
|
|
25
|
+
/** Events to display as dot indicators on dates */
|
|
26
|
+
events?: CalendarEvent[];
|
|
20
27
|
}
|
|
21
28
|
export declare const CalendarGrid: React.ForwardRefExoticComponent<CalendarGridProps & React.RefAttributes<HTMLDivElement>>;
|
|
22
29
|
//# sourceMappingURL=calendar-grid.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-grid.d.ts","sourceRoot":"","sources":["../../../src/composed/date-picker/calendar-grid.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAuB9B,MAAM,WAAW,iBAAiB;IAChC,YAAY,EAAE,IAAI,CAAA;IAClB,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;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,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAA;IACrC,aAAa,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAA;IACnC,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAA;IACvC,OAAO,CAAC,EAAE,IAAI,CAAA;IACd,OAAO,CAAC,EAAE,IAAI,CAAA;IACd,+CAA+C;IAC/C,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,2CAA2C;IAC3C,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,mDAAmD;IACnD,MAAM,CAAC,EAAE,aAAa,EAAE,CAAA;CACzB;AAED,eAAO,MAAM,YAAY,0FAyPxB,CAAA"}
|
|
@@ -1,127 +1,136 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import * as
|
|
4
|
-
import { startOfMonth as
|
|
5
|
-
import { IconChevronLeft as
|
|
6
|
-
import { cn as
|
|
7
|
-
const
|
|
2
|
+
import { jsxs as y, jsx as a } from "react/jsx-runtime";
|
|
3
|
+
import * as M from "react";
|
|
4
|
+
import { format as l, startOfMonth as k, endOfMonth as ee, startOfWeek as te, endOfWeek as se, addDays as m, subMonths as re, addMonths as ne, isSameMonth as T, isSameDay as x, lastDayOfMonth as oe, isBefore as N, startOfDay as G, isAfter as g, isWithinInterval as L } from "date-fns";
|
|
5
|
+
import { IconChevronLeft as ae, IconChevronRight as ie } from "@tabler/icons-react";
|
|
6
|
+
import { cn as B } from "../../ui/lib/utils.js";
|
|
7
|
+
const de = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], ce = M.forwardRef(
|
|
8
8
|
function({
|
|
9
|
-
currentMonth:
|
|
10
|
-
selected:
|
|
9
|
+
currentMonth: i,
|
|
10
|
+
selected: R,
|
|
11
11
|
rangeStart: n,
|
|
12
12
|
rangeEnd: d,
|
|
13
|
-
hoverDate:
|
|
14
|
-
onSelect:
|
|
13
|
+
hoverDate: u,
|
|
14
|
+
onSelect: j,
|
|
15
15
|
onHover: c,
|
|
16
|
-
onMonthChange:
|
|
17
|
-
onHeaderClick:
|
|
16
|
+
onMonthChange: h,
|
|
17
|
+
onHeaderClick: C,
|
|
18
18
|
disabledDates: b,
|
|
19
19
|
minDate: A,
|
|
20
|
-
maxDate:
|
|
21
|
-
hidePrevNav:
|
|
22
|
-
hideNextNav:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
20
|
+
maxDate: E,
|
|
21
|
+
hidePrevNav: q,
|
|
22
|
+
hideNextNav: F,
|
|
23
|
+
events: w
|
|
24
|
+
}, P) {
|
|
25
|
+
const v = M.useRef(null), U = M.useMemo(() => {
|
|
26
|
+
const e = /* @__PURE__ */ new Map();
|
|
27
|
+
if (!w) return e;
|
|
28
|
+
for (const o of w) {
|
|
29
|
+
const t = l(o.date, "yyyy-MM-dd"), s = e.get(t) ?? [];
|
|
30
|
+
s.push(o), e.set(t, s);
|
|
31
|
+
}
|
|
32
|
+
return e;
|
|
33
|
+
}, [w]), Y = k(i), $ = ee(i), z = te(Y), J = se($), D = [];
|
|
34
|
+
let p = z;
|
|
35
|
+
for (; p <= J; )
|
|
36
|
+
D.push(p), p = m(p, 1);
|
|
37
|
+
const I = (e) => !!(b != null && b(e) || A && N(e, G(A)) || E && g(e, G(E))), Q = (e) => {
|
|
29
38
|
if (n && d) {
|
|
30
|
-
const o =
|
|
31
|
-
return
|
|
39
|
+
const o = N(n, d) ? n : d, t = g(d, n) ? d : n;
|
|
40
|
+
return L(e, { start: o, end: t });
|
|
32
41
|
}
|
|
33
|
-
if (n &&
|
|
34
|
-
const o =
|
|
35
|
-
return
|
|
42
|
+
if (n && u) {
|
|
43
|
+
const o = N(n, u) ? n : u, t = g(u, n) ? u : n;
|
|
44
|
+
return L(e, { start: o, end: t });
|
|
36
45
|
}
|
|
37
46
|
return !1;
|
|
38
|
-
},
|
|
39
|
-
if (!
|
|
40
|
-
const o =
|
|
47
|
+
}, S = (e) => !!(n && x(e, n) || d && x(e, d)), V = (e) => {
|
|
48
|
+
if (!v.current) return;
|
|
49
|
+
const o = l(e, "yyyy-MM-dd"), t = v.current.querySelector(
|
|
41
50
|
`[data-date="${o}"]`
|
|
42
51
|
);
|
|
43
|
-
t ? t.focus() :
|
|
44
|
-
},
|
|
52
|
+
t ? t.focus() : h(k(e));
|
|
53
|
+
}, X = (e) => {
|
|
45
54
|
const t = e.target.getAttribute("data-date");
|
|
46
55
|
if (!t) return;
|
|
47
56
|
const s = /* @__PURE__ */ new Date(t + "T00:00:00");
|
|
48
57
|
let r = null;
|
|
49
58
|
switch (e.key) {
|
|
50
59
|
case "ArrowLeft":
|
|
51
|
-
r =
|
|
60
|
+
r = m(s, -1);
|
|
52
61
|
break;
|
|
53
62
|
case "ArrowRight":
|
|
54
|
-
r =
|
|
63
|
+
r = m(s, 1);
|
|
55
64
|
break;
|
|
56
65
|
case "ArrowUp":
|
|
57
|
-
r =
|
|
66
|
+
r = m(s, -7);
|
|
58
67
|
break;
|
|
59
68
|
case "ArrowDown":
|
|
60
|
-
r =
|
|
69
|
+
r = m(s, 7);
|
|
61
70
|
break;
|
|
62
71
|
case "Home":
|
|
63
|
-
r =
|
|
72
|
+
r = k(s);
|
|
64
73
|
break;
|
|
65
74
|
case "End":
|
|
66
|
-
r =
|
|
75
|
+
r = oe(s);
|
|
67
76
|
break;
|
|
68
77
|
case "Enter":
|
|
69
78
|
case " ": {
|
|
70
|
-
e.preventDefault(), !I(s) &&
|
|
79
|
+
e.preventDefault(), !I(s) && T(s, i) && j(s);
|
|
71
80
|
return;
|
|
72
81
|
}
|
|
73
82
|
default:
|
|
74
83
|
return;
|
|
75
84
|
}
|
|
76
|
-
r && (e.preventDefault(),
|
|
85
|
+
r && (e.preventDefault(), V(r));
|
|
77
86
|
};
|
|
78
|
-
return /* @__PURE__ */
|
|
79
|
-
/* @__PURE__ */
|
|
80
|
-
|
|
87
|
+
return /* @__PURE__ */ y("div", { ref: P, className: "w-[252px]", children: [
|
|
88
|
+
/* @__PURE__ */ y("div", { className: "flex items-center justify-between px-ds-02 pb-ds-04", children: [
|
|
89
|
+
q ? /* @__PURE__ */ a("span", { className: "h-ds-xs-plus w-ds-xs-plus" }) : /* @__PURE__ */ a(
|
|
81
90
|
"button",
|
|
82
91
|
{
|
|
83
92
|
type: "button",
|
|
84
|
-
onClick: () =>
|
|
93
|
+
onClick: () => h(re(i, 1)),
|
|
85
94
|
className: "inline-flex h-ds-xs-plus w-ds-xs-plus items-center justify-center rounded-ds-md text-text-placeholder transition-colors duration-fast-01 ease-productive-standard hover:bg-field hover:text-text-secondary",
|
|
86
95
|
"aria-label": "Previous month",
|
|
87
|
-
children: /* @__PURE__ */
|
|
96
|
+
children: /* @__PURE__ */ a(ae, { className: "h-ico-sm w-ico-sm", stroke: 1.5 })
|
|
88
97
|
}
|
|
89
98
|
),
|
|
90
|
-
/* @__PURE__ */
|
|
99
|
+
/* @__PURE__ */ a(
|
|
91
100
|
"button",
|
|
92
101
|
{
|
|
93
102
|
type: "button",
|
|
94
|
-
onClick:
|
|
95
|
-
className:
|
|
103
|
+
onClick: C,
|
|
104
|
+
className: B(
|
|
96
105
|
"text-ds-md font-semibold text-text-primary",
|
|
97
|
-
|
|
106
|
+
C && "cursor-pointer rounded-ds-md px-ds-02 transition-colors duration-fast-01 ease-productive-standard hover:bg-field"
|
|
98
107
|
),
|
|
99
108
|
"aria-label": "Switch to month/year view",
|
|
100
|
-
children:
|
|
109
|
+
children: l(i, "MMMM yyyy")
|
|
101
110
|
}
|
|
102
111
|
),
|
|
103
|
-
|
|
112
|
+
F ? /* @__PURE__ */ a("span", { className: "h-ds-xs-plus w-ds-xs-plus" }) : /* @__PURE__ */ a(
|
|
104
113
|
"button",
|
|
105
114
|
{
|
|
106
115
|
type: "button",
|
|
107
|
-
onClick: () =>
|
|
116
|
+
onClick: () => h(ne(i, 1)),
|
|
108
117
|
className: "inline-flex h-ds-xs-plus w-ds-xs-plus items-center justify-center rounded-ds-md text-text-placeholder transition-colors duration-fast-01 ease-productive-standard hover:bg-field hover:text-text-secondary",
|
|
109
118
|
"aria-label": "Next month",
|
|
110
|
-
children: /* @__PURE__ */
|
|
119
|
+
children: /* @__PURE__ */ a(ie, { className: "h-ico-sm w-ico-sm", stroke: 1.5 })
|
|
111
120
|
}
|
|
112
121
|
)
|
|
113
122
|
] }),
|
|
114
|
-
/* @__PURE__ */
|
|
123
|
+
/* @__PURE__ */ y(
|
|
115
124
|
"div",
|
|
116
125
|
{
|
|
117
|
-
ref:
|
|
126
|
+
ref: v,
|
|
118
127
|
className: "grid grid-cols-7 gap-0",
|
|
119
128
|
role: "grid",
|
|
120
129
|
tabIndex: 0,
|
|
121
130
|
"aria-label": "Calendar",
|
|
122
|
-
onKeyDown:
|
|
131
|
+
onKeyDown: X,
|
|
123
132
|
children: [
|
|
124
|
-
|
|
133
|
+
de.map((e) => /* @__PURE__ */ a(
|
|
125
134
|
"div",
|
|
126
135
|
{
|
|
127
136
|
role: "columnheader",
|
|
@@ -130,34 +139,45 @@ const se = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], re = g.forwardRef(
|
|
|
130
139
|
},
|
|
131
140
|
e
|
|
132
141
|
)),
|
|
133
|
-
|
|
134
|
-
const t =
|
|
135
|
-
return /* @__PURE__ */
|
|
142
|
+
D.map((e, o) => {
|
|
143
|
+
const t = T(e, i), s = I(e), r = R && x(e, R), O = Q(e), f = S(e), Z = x(e, /* @__PURE__ */ new Date()), W = l(e, "yyyy-MM-dd"), K = U.get(W) ?? [];
|
|
144
|
+
return /* @__PURE__ */ y(
|
|
136
145
|
"button",
|
|
137
146
|
{
|
|
138
147
|
type: "button",
|
|
139
148
|
role: "gridcell",
|
|
140
|
-
"data-date":
|
|
149
|
+
"data-date": W,
|
|
141
150
|
tabIndex: t && !s ? 0 : -1,
|
|
142
151
|
disabled: !t || s,
|
|
143
152
|
onClick: () => {
|
|
144
|
-
t && !s &&
|
|
153
|
+
t && !s && j(e);
|
|
145
154
|
},
|
|
146
155
|
onMouseEnter: () => c == null ? void 0 : c(e),
|
|
147
156
|
onMouseLeave: () => c == null ? void 0 : c(null),
|
|
148
|
-
"aria-label":
|
|
149
|
-
"aria-selected": r ||
|
|
157
|
+
"aria-label": l(e, "EEEE, MMMM d, yyyy"),
|
|
158
|
+
"aria-selected": r || f || void 0,
|
|
150
159
|
"aria-disabled": !t || s || void 0,
|
|
151
|
-
className:
|
|
152
|
-
"flex h-ds-sm w-ds-sm-plus items-center justify-center rounded-ds-md text-ds-md font-body transition-colors duration-fast-01 ease-productive-standard",
|
|
160
|
+
className: B(
|
|
161
|
+
"relative flex h-ds-sm w-ds-sm-plus items-center justify-center rounded-ds-md text-ds-md font-body transition-colors duration-fast-01 ease-productive-standard",
|
|
153
162
|
!t && "pointer-events-none opacity-0",
|
|
154
163
|
t && s && "opacity-[0.38] pointer-events-none cursor-not-allowed",
|
|
155
|
-
t && !s && !r && !
|
|
156
|
-
O && !
|
|
157
|
-
(r ||
|
|
158
|
-
|
|
164
|
+
t && !s && !r && !f && !O && "text-text-primary hover:bg-field",
|
|
165
|
+
O && !f && "rounded-ds-none bg-field text-text-primary",
|
|
166
|
+
(r || f) && "bg-interactive text-text-on-color hover:bg-interactive-hover",
|
|
167
|
+
Z && !r && !f && !s && "font-semibold text-interactive"
|
|
159
168
|
),
|
|
160
|
-
children:
|
|
169
|
+
children: [
|
|
170
|
+
l(e, "d"),
|
|
171
|
+
K.length > 0 && /* @__PURE__ */ a("span", { className: "flex gap-px justify-center absolute bottom-[2px] left-0 right-0", children: K.slice(0, 3).map((_, H) => /* @__PURE__ */ a(
|
|
172
|
+
"span",
|
|
173
|
+
{
|
|
174
|
+
"data-event-dot": !0,
|
|
175
|
+
className: "h-[4px] w-[4px] rounded-ds-full",
|
|
176
|
+
style: { backgroundColor: _.color ?? "var(--color-interactive)" }
|
|
177
|
+
},
|
|
178
|
+
H
|
|
179
|
+
)) })
|
|
180
|
+
]
|
|
161
181
|
},
|
|
162
182
|
o
|
|
163
183
|
);
|
|
@@ -168,7 +188,7 @@ const se = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], re = g.forwardRef(
|
|
|
168
188
|
] });
|
|
169
189
|
}
|
|
170
190
|
);
|
|
171
|
-
|
|
191
|
+
ce.displayName = "CalendarGrid";
|
|
172
192
|
export {
|
|
173
|
-
|
|
193
|
+
ce as CalendarGrid
|
|
174
194
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
export { CalendarGrid } from './calendar-grid';
|
|
3
|
-
export type { CalendarGridProps } from './calendar-grid';
|
|
3
|
+
export type { CalendarGridProps, CalendarEvent } from './calendar-grid';
|
|
4
4
|
export { DatePicker } from './date-picker';
|
|
5
5
|
export type { DatePickerProps } from './date-picker';
|
|
6
6
|
export { DateRangePicker } from './date-range-picker';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/composed/date-picker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/composed/date-picker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,YAAY,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AACvE,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,YAAY,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACnD,YAAY,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA"}
|
package/dist/composed/index.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ export type { PriorityIndicatorProps, Priority } from './priority-indicator';
|
|
|
28
28
|
export { RichTextEditor, RichTextViewer } from './rich-text-editor';
|
|
29
29
|
export type { RichTextEditorProps, RichTextViewerProps } from './rich-text-editor';
|
|
30
30
|
export { DatePicker, DateRangePicker, CalendarGrid, TimePicker, DateTimePicker, Presets, useCalendar, YearPicker, MonthPicker } from './date-picker';
|
|
31
|
-
export type { DatePickerProps, DateRangePickerProps, CalendarGridProps, TimePickerProps, DateTimePickerProps, PresetsProps, PresetKey, YearPickerProps, MonthPickerProps } from './date-picker';
|
|
31
|
+
export type { DatePickerProps, DateRangePickerProps, CalendarGridProps, CalendarEvent, TimePickerProps, DateTimePickerProps, PresetsProps, PresetKey, YearPickerProps, MonthPickerProps } from './date-picker';
|
|
32
32
|
export { CardSkeleton, TableSkeleton, BoardSkeleton, ListSkeleton } from './loading-skeleton';
|
|
33
33
|
export type { CardSkeletonProps, TableSkeletonProps, BoardSkeletonProps, ListSkeletonProps } from './loading-skeleton';
|
|
34
34
|
export { DashboardSkeleton, ProjectListSkeleton, TaskDetailSkeleton, } from './page-skeletons';
|
|
@@ -40,4 +40,8 @@ export { CommandPalette } from './command-palette';
|
|
|
40
40
|
export type { CommandPaletteProps, CommandGroup, CommandItem } from './command-palette';
|
|
41
41
|
export { MemberPicker } from './member-picker';
|
|
42
42
|
export type { MemberPickerProps, MemberPickerMember } from './member-picker';
|
|
43
|
+
export { SimpleTooltip } from './simple-tooltip';
|
|
44
|
+
export type { SimpleTooltipProps } from './simple-tooltip';
|
|
45
|
+
export { ScheduleView } from './schedule-view';
|
|
46
|
+
export type { ScheduleViewProps, ScheduleEvent } from './schedule-view';
|
|
43
47
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/composed/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,YAAY,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAEhE,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AACjE,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAEtD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AACjE,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAEtD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAEpD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,YAAY,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAElE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AACxD,YAAY,EAAE,sBAAsB,EAAE,QAAQ,E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;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AAE1D,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,YAAY,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA"}
|
package/dist/composed/index.js
CHANGED
|
@@ -3,53 +3,57 @@ import { PageHeader as o } from "./page-header.js";
|
|
|
3
3
|
import { ContentCard as a, contentCardVariants as m } from "./content-card.js";
|
|
4
4
|
import { StatusBadge as i, statusBadgeVariants as x } from "./status-badge.js";
|
|
5
5
|
import { EmptyState as n } from "./empty-state.js";
|
|
6
|
-
import { AvatarGroup as
|
|
7
|
-
import { PriorityIndicator as
|
|
6
|
+
import { AvatarGroup as d } from "./avatar-group.js";
|
|
7
|
+
import { PriorityIndicator as c } from "./priority-indicator.js";
|
|
8
8
|
import { RichTextEditor as P, RichTextViewer as S } from "./rich-text-editor.js";
|
|
9
|
-
import { BoardSkeleton as
|
|
10
|
-
import { DashboardSkeleton as
|
|
11
|
-
import { ErrorDisplay as
|
|
12
|
-
import { GlobalLoading as
|
|
13
|
-
import { CommandPalette as
|
|
14
|
-
import { MemberPicker as
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
9
|
+
import { BoardSkeleton as T, CardSkeleton as D, ListSkeleton as g, TableSkeleton as h } from "./loading-skeleton.js";
|
|
10
|
+
import { DashboardSkeleton as b, ProjectListSkeleton as V, TaskDetailSkeleton as y } from "./page-skeletons.js";
|
|
11
|
+
import { ErrorDisplay as E } from "./error-boundary.js";
|
|
12
|
+
import { GlobalLoading as L } from "./global-loading.js";
|
|
13
|
+
import { CommandPalette as w } from "./command-palette.js";
|
|
14
|
+
import { MemberPicker as j } from "./member-picker.js";
|
|
15
|
+
import { SimpleTooltip as A } from "./simple-tooltip.js";
|
|
16
|
+
import { ScheduleView as I } from "./schedule-view.js";
|
|
17
|
+
import { CalendarGrid as q } from "./date-picker/calendar-grid.js";
|
|
18
|
+
import { DatePicker as F } from "./date-picker/date-picker.js";
|
|
19
|
+
import { DateRangePicker as K } from "./date-picker/date-range-picker.js";
|
|
20
|
+
import { DateTimePicker as O } from "./date-picker/date-time-picker.js";
|
|
21
|
+
import { MonthPicker as U } from "./date-picker/month-picker.js";
|
|
22
|
+
import { Presets as X } from "./date-picker/presets.js";
|
|
23
|
+
import { TimePicker as _ } from "./date-picker/time-picker.js";
|
|
24
|
+
import { YearPicker as ee } from "./date-picker/year-picker.js";
|
|
25
|
+
import { useCalendar as oe } from "./date-picker/use-calendar.js";
|
|
24
26
|
export {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
d as AvatarGroup,
|
|
28
|
+
T as BoardSkeleton,
|
|
29
|
+
q as CalendarGrid,
|
|
30
|
+
D as CardSkeleton,
|
|
31
|
+
w as CommandPalette,
|
|
30
32
|
a as ContentCard,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
b as DashboardSkeleton,
|
|
34
|
+
F as DatePicker,
|
|
35
|
+
K as DateRangePicker,
|
|
36
|
+
O as DateTimePicker,
|
|
35
37
|
n as EmptyState,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
+
E as ErrorDisplay,
|
|
39
|
+
L as GlobalLoading,
|
|
38
40
|
g as ListSkeleton,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
+
j as MemberPicker,
|
|
42
|
+
U as MonthPicker,
|
|
41
43
|
o as PageHeader,
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
44
|
+
X as Presets,
|
|
45
|
+
c as PriorityIndicator,
|
|
46
|
+
V as ProjectListSkeleton,
|
|
45
47
|
P as RichTextEditor,
|
|
46
48
|
S as RichTextViewer,
|
|
49
|
+
I as ScheduleView,
|
|
50
|
+
A as SimpleTooltip,
|
|
47
51
|
i as StatusBadge,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
+
h as TableSkeleton,
|
|
53
|
+
y as TaskDetailSkeleton,
|
|
54
|
+
_ as TimePicker,
|
|
55
|
+
ee as YearPicker,
|
|
52
56
|
m as contentCardVariants,
|
|
53
57
|
x as statusBadgeVariants,
|
|
54
|
-
|
|
58
|
+
oe as useCalendar
|
|
55
59
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-header.d.ts","sourceRoot":"","sources":["../../src/composed/page-header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC3E,KAAK,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"page-header.d.ts","sourceRoot":"","sources":["../../src/composed/page-header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC3E,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,WAAW,CAAC,EAAE,UAAU,EAAE,CAAA;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,QAAA,MAAM,UAAU,wFA+Ef,CAAA;AAGD,OAAO,EAAE,UAAU,EAAE,CAAA"}
|