@powered-by-array/ui 1.90.1 → 1.92.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/components/ArtifactCard/ArtifactCard.d.ts +7 -0
- package/dist/components/ArtifactCard/ArtifactCard.d.ts.map +1 -0
- package/dist/components/ArtifactCard/ArtifactCard.js +26 -0
- package/dist/components/ArtifactCard/ArtifactCard.js.map +1 -0
- package/dist/components/ArtifactCard/ArtifactCard.types.d.ts +25 -0
- package/dist/components/ArtifactCard/ArtifactCard.types.d.ts.map +1 -0
- package/dist/components/ArtifactCard/ArtifactCard.types.js +2 -0
- package/dist/components/ArtifactCard/ArtifactCard.types.js.map +1 -0
- package/dist/components/ArtifactCard/ArtifactCard.variants.d.ts +19 -0
- package/dist/components/ArtifactCard/ArtifactCard.variants.d.ts.map +1 -0
- package/dist/components/ArtifactCard/ArtifactCard.variants.js +40 -0
- package/dist/components/ArtifactCard/ArtifactCard.variants.js.map +1 -0
- package/dist/components/ArtifactCard/index.d.ts +3 -0
- package/dist/components/ArtifactCard/index.d.ts.map +1 -0
- package/dist/components/ArtifactCard/index.js +2 -0
- package/dist/components/ArtifactCard/index.js.map +1 -0
- package/dist/components/Calendar/Calendar.types.d.ts +18 -0
- package/dist/components/Calendar/Calendar.types.d.ts.map +1 -0
- package/dist/components/Calendar/Calendar.types.js +2 -0
- package/dist/components/Calendar/Calendar.types.js.map +1 -0
- package/dist/components/Calendar/CalendarEventModal/CalendarEventModal.d.ts +3 -0
- package/dist/components/Calendar/CalendarEventModal/CalendarEventModal.d.ts.map +1 -0
- package/dist/components/Calendar/CalendarEventModal/CalendarEventModal.js +35 -0
- package/dist/components/Calendar/CalendarEventModal/CalendarEventModal.js.map +1 -0
- package/dist/components/Calendar/CalendarEventModal/CalendarEventModal.types.d.ts +8 -0
- package/dist/components/Calendar/CalendarEventModal/CalendarEventModal.types.d.ts.map +1 -0
- package/dist/components/Calendar/CalendarEventModal/CalendarEventModal.types.js +2 -0
- package/dist/components/Calendar/CalendarEventModal/CalendarEventModal.types.js.map +1 -0
- package/dist/components/Calendar/CalendarEventModal/CalendarEventModal.utils.d.ts +17 -0
- package/dist/components/Calendar/CalendarEventModal/CalendarEventModal.utils.d.ts.map +1 -0
- package/dist/components/Calendar/CalendarEventModal/CalendarEventModal.utils.js +59 -0
- package/dist/components/Calendar/CalendarEventModal/CalendarEventModal.utils.js.map +1 -0
- package/dist/components/Calendar/CalendarEventModal/CalendarEventModal.variants.d.ts +8 -0
- package/dist/components/Calendar/CalendarEventModal/CalendarEventModal.variants.d.ts.map +1 -0
- package/dist/components/Calendar/CalendarEventModal/CalendarEventModal.variants.js +8 -0
- package/dist/components/Calendar/CalendarEventModal/CalendarEventModal.variants.js.map +1 -0
- package/dist/components/Calendar/CalendarEventModal/index.d.ts +3 -0
- package/dist/components/Calendar/CalendarEventModal/index.d.ts.map +1 -0
- package/dist/components/Calendar/CalendarEventModal/index.js +2 -0
- package/dist/components/Calendar/CalendarEventModal/index.js.map +1 -0
- package/dist/components/Calendar/CalendarFilter/CalendarFilter.d.ts +3 -0
- package/dist/components/Calendar/CalendarFilter/CalendarFilter.d.ts.map +1 -0
- package/dist/components/Calendar/CalendarFilter/CalendarFilter.js +18 -0
- package/dist/components/Calendar/CalendarFilter/CalendarFilter.js.map +1 -0
- package/dist/components/Calendar/CalendarFilter/CalendarFilter.types.d.ts +14 -0
- package/dist/components/Calendar/CalendarFilter/CalendarFilter.types.d.ts.map +1 -0
- package/dist/components/Calendar/CalendarFilter/CalendarFilter.types.js +2 -0
- package/dist/components/Calendar/CalendarFilter/CalendarFilter.types.js.map +1 -0
- package/dist/components/Calendar/CalendarFilter/CalendarFilter.variants.d.ts +5 -0
- package/dist/components/Calendar/CalendarFilter/CalendarFilter.variants.d.ts.map +1 -0
- package/dist/components/Calendar/CalendarFilter/CalendarFilter.variants.js +20 -0
- package/dist/components/Calendar/CalendarFilter/CalendarFilter.variants.js.map +1 -0
- package/dist/components/Calendar/CalendarFilter/index.d.ts +3 -0
- package/dist/components/Calendar/CalendarFilter/index.d.ts.map +1 -0
- package/dist/components/Calendar/CalendarFilter/index.js +2 -0
- package/dist/components/Calendar/CalendarFilter/index.js.map +1 -0
- package/dist/components/Calendar/CalendarGrid/CalendarGrid.css +126 -0
- package/dist/components/Calendar/CalendarGrid/CalendarGrid.d.ts +3 -0
- package/dist/components/Calendar/CalendarGrid/CalendarGrid.d.ts.map +1 -0
- package/dist/components/Calendar/CalendarGrid/CalendarGrid.js +26 -0
- package/dist/components/Calendar/CalendarGrid/CalendarGrid.js.map +1 -0
- package/dist/components/Calendar/CalendarGrid/CalendarGrid.types.d.ts +8 -0
- package/dist/components/Calendar/CalendarGrid/CalendarGrid.types.d.ts.map +1 -0
- package/dist/components/Calendar/CalendarGrid/CalendarGrid.types.js +2 -0
- package/dist/components/Calendar/CalendarGrid/CalendarGrid.types.js.map +1 -0
- package/dist/components/Calendar/CalendarGrid/CalendarGrid.variants.d.ts +9 -0
- package/dist/components/Calendar/CalendarGrid/CalendarGrid.variants.d.ts.map +1 -0
- package/dist/components/Calendar/CalendarGrid/CalendarGrid.variants.js +12 -0
- package/dist/components/Calendar/CalendarGrid/CalendarGrid.variants.js.map +1 -0
- package/dist/components/Calendar/CalendarGrid/index.d.ts +3 -0
- package/dist/components/Calendar/CalendarGrid/index.d.ts.map +1 -0
- package/dist/components/Calendar/CalendarGrid/index.js +2 -0
- package/dist/components/Calendar/CalendarGrid/index.js.map +1 -0
- package/dist/components/Calendar/CalendarNav/CalendarNav.d.ts +3 -0
- package/dist/components/Calendar/CalendarNav/CalendarNav.d.ts.map +1 -0
- package/dist/components/Calendar/CalendarNav/CalendarNav.js +14 -0
- package/dist/components/Calendar/CalendarNav/CalendarNav.js.map +1 -0
- package/dist/components/Calendar/CalendarNav/CalendarNav.types.d.ts +9 -0
- package/dist/components/Calendar/CalendarNav/CalendarNav.types.d.ts.map +1 -0
- package/dist/components/Calendar/CalendarNav/CalendarNav.types.js +2 -0
- package/dist/components/Calendar/CalendarNav/CalendarNav.types.js.map +1 -0
- package/dist/components/Calendar/CalendarNav/CalendarNav.variants.d.ts +11 -0
- package/dist/components/Calendar/CalendarNav/CalendarNav.variants.d.ts.map +1 -0
- package/dist/components/Calendar/CalendarNav/CalendarNav.variants.js +18 -0
- package/dist/components/Calendar/CalendarNav/CalendarNav.variants.js.map +1 -0
- package/dist/components/Calendar/CalendarNav/index.d.ts +3 -0
- package/dist/components/Calendar/CalendarNav/index.d.ts.map +1 -0
- package/dist/components/Calendar/CalendarNav/index.js +2 -0
- package/dist/components/Calendar/CalendarNav/index.js.map +1 -0
- package/dist/components/Calendar/index.d.ts +4 -0
- package/dist/components/Calendar/index.d.ts.map +1 -0
- package/dist/components/Calendar/index.js +2 -0
- package/dist/components/Calendar/index.js.map +1 -0
- package/dist/components/ChipPicker/ChipPicker.d.ts +3 -0
- package/dist/components/ChipPicker/ChipPicker.d.ts.map +1 -0
- package/dist/components/ChipPicker/ChipPicker.js +24 -0
- package/dist/components/ChipPicker/ChipPicker.js.map +1 -0
- package/dist/components/ChipPicker/ChipPicker.types.d.ts +21 -0
- package/dist/components/ChipPicker/ChipPicker.types.d.ts.map +1 -0
- package/dist/components/ChipPicker/ChipPicker.types.js +2 -0
- package/dist/components/ChipPicker/ChipPicker.types.js.map +1 -0
- package/dist/components/ChipPicker/ChipPicker.variants.d.ts +7 -0
- package/dist/components/ChipPicker/ChipPicker.variants.d.ts.map +1 -0
- package/dist/components/ChipPicker/ChipPicker.variants.js +7 -0
- package/dist/components/ChipPicker/ChipPicker.variants.js.map +1 -0
- package/dist/components/ChipPicker/index.d.ts +4 -0
- package/dist/components/ChipPicker/index.d.ts.map +1 -0
- package/dist/components/ChipPicker/index.js +3 -0
- package/dist/components/ChipPicker/index.js.map +1 -0
- package/dist/components/DataTable/DataTable.d.ts.map +1 -1
- package/dist/components/DataTable/DataTable.js +4 -2
- package/dist/components/DataTable/DataTable.js.map +1 -1
- package/dist/index.d.ts +184 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/package.json +8 -3
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
@import "react-big-calendar/lib/css/react-big-calendar.css";
|
|
2
|
+
|
|
3
|
+
[data-slot="calendar-grid"] .rbc-calendar {
|
|
4
|
+
font-family: inherit;
|
|
5
|
+
color: var(--color-semantic-fg-primary);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
[data-slot="calendar-grid"] .rbc-header {
|
|
9
|
+
padding: 0.75rem 0.5rem;
|
|
10
|
+
font-size: 0.75rem;
|
|
11
|
+
font-weight: 600;
|
|
12
|
+
text-transform: uppercase;
|
|
13
|
+
letter-spacing: 0.04em;
|
|
14
|
+
color: var(--color-semantic-calendar-header-text);
|
|
15
|
+
border-bottom: 1px solid var(--color-semantic-calendar-stroke);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
[data-slot="calendar-grid"] .rbc-header + .rbc-header {
|
|
19
|
+
border-left: 1px solid var(--color-semantic-calendar-stroke);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
[data-slot="calendar-grid"] .rbc-month-header .rbc-row,
|
|
23
|
+
[data-slot="calendar-grid"] .rbc-day-bg + .rbc-day-bg,
|
|
24
|
+
[data-slot="calendar-grid"] .rbc-month-row + .rbc-month-row,
|
|
25
|
+
[data-slot="calendar-grid"] .rbc-month-row,
|
|
26
|
+
[data-slot="calendar-grid"] .rbc-row-bg {
|
|
27
|
+
border-color: var(--color-semantic-calendar-stroke);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
[data-slot="calendar-grid"] .rbc-month-view {
|
|
31
|
+
background: var(--color-semantic-calendar-surface);
|
|
32
|
+
border: 1px solid var(--color-semantic-calendar-stroke);
|
|
33
|
+
border-radius: 0.5rem;
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
[data-slot="calendar-grid"] .rbc-day-bg {
|
|
38
|
+
background: var(--color-semantic-calendar-surface);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
[data-slot="calendar-grid"] .rbc-day-bg.rbc-off-range-bg {
|
|
42
|
+
background: var(--color-semantic-calendar-off-range-bg);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
[data-slot="calendar-grid"] .rbc-off-range {
|
|
46
|
+
color: var(--color-semantic-calendar-header-text);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
[data-slot="calendar-grid"] .rbc-day-bg.rbc-today {
|
|
50
|
+
background: var(--color-semantic-calendar-today-bg);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
[data-slot="calendar-grid"] .rbc-date-cell {
|
|
54
|
+
padding: 0.375rem 0.5rem;
|
|
55
|
+
font-size: 0.875rem;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
[data-slot="calendar-grid"] .rbc-date-cell.rbc-now {
|
|
59
|
+
font-weight: 700;
|
|
60
|
+
color: var(--color-semantic-calendar-today-text);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
[data-slot="calendar-grid"] .rbc-event,
|
|
64
|
+
[data-slot="calendar-grid"] .rbc-event.rbc-selected {
|
|
65
|
+
border: none;
|
|
66
|
+
border-radius: 0.25rem;
|
|
67
|
+
padding: 0.125rem 0.375rem;
|
|
68
|
+
font-size: 0.75rem;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
[data-slot="calendar-grid"] .rbc-event:focus,
|
|
72
|
+
[data-slot="calendar-grid"] .rbc-event.rbc-selected:focus {
|
|
73
|
+
outline: 2px solid var(--color-semantic-calendar-today-text);
|
|
74
|
+
outline-offset: 1px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
[data-slot="calendar-grid"] .rbc-event-interview,
|
|
78
|
+
.rbc-overlay .rbc-event-interview {
|
|
79
|
+
background-color: var(--color-semantic-calendar-event-interview-bg);
|
|
80
|
+
color: var(--color-semantic-calendar-event-interview-fg);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
[data-slot="calendar-grid"] .rbc-event-meeting,
|
|
84
|
+
.rbc-overlay .rbc-event-meeting {
|
|
85
|
+
background-color: var(--color-semantic-calendar-event-meeting-bg);
|
|
86
|
+
color: var(--color-semantic-calendar-event-meeting-fg);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
[data-slot="calendar-grid"] .rbc-show-more {
|
|
90
|
+
background: transparent;
|
|
91
|
+
color: var(--color-semantic-accent-link);
|
|
92
|
+
font-size: 0.75rem;
|
|
93
|
+
font-weight: 500;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* The "+N more" popup is portaled outside [data-slot="calendar-grid"], so these
|
|
97
|
+
rules are global and reference the calendar tokens directly. */
|
|
98
|
+
.rbc-overlay {
|
|
99
|
+
background: var(--color-semantic-calendar-overlay-bg);
|
|
100
|
+
border: 1px solid var(--color-semantic-calendar-overlay-border);
|
|
101
|
+
border-radius: 0.5rem;
|
|
102
|
+
padding: 0.5rem;
|
|
103
|
+
box-shadow: var(--color-semantic-calendar-overlay-shadow);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.rbc-overlay > * + * {
|
|
107
|
+
margin-top: 0.25rem;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.rbc-overlay-header {
|
|
111
|
+
margin: -0.5rem -0.5rem 0.5rem;
|
|
112
|
+
padding: 0.5rem 0.75rem;
|
|
113
|
+
border-bottom: 1px solid var(--color-semantic-calendar-overlay-border);
|
|
114
|
+
color: var(--color-semantic-fg-primary);
|
|
115
|
+
font-size: 0.75rem;
|
|
116
|
+
font-weight: 600;
|
|
117
|
+
text-transform: uppercase;
|
|
118
|
+
letter-spacing: 0.04em;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.rbc-overlay .rbc-event {
|
|
122
|
+
border: none;
|
|
123
|
+
border-radius: 0.25rem;
|
|
124
|
+
padding: 0.125rem 0.375rem;
|
|
125
|
+
font-size: 0.75rem;
|
|
126
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarGrid.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarGrid/CalendarGrid.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAqBjE,wBAAgB,YAAY,CAAC,EAC3B,MAAM,EACN,IAAI,EACJ,UAAU,EACV,aAAa,GACd,EAAE,iBAAiB,2CAmDnB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { format, getDay, parse, startOfWeek } from "date-fns";
|
|
3
|
+
import { enUS } from "date-fns/locale";
|
|
4
|
+
import { Calendar as BigCalendar, dateFnsLocalizer, } from "react-big-calendar";
|
|
5
|
+
import { cn } from "../../../lib/cn.js";
|
|
6
|
+
import { calendarGridSlotVariants } from "./CalendarGrid.variants.js";
|
|
7
|
+
const localizer = dateFnsLocalizer({
|
|
8
|
+
format,
|
|
9
|
+
parse,
|
|
10
|
+
startOfWeek,
|
|
11
|
+
getDay,
|
|
12
|
+
locales: { "en-US": enUS },
|
|
13
|
+
});
|
|
14
|
+
function CalendarGridEventChip({ event }) {
|
|
15
|
+
return _jsx("span", { className: "block truncate", children: event.title });
|
|
16
|
+
}
|
|
17
|
+
function eventClassName(event) {
|
|
18
|
+
return {
|
|
19
|
+
className: event.isInterview ? "rbc-event-interview" : "rbc-event-meeting",
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
export function CalendarGrid({ events, date, onNavigate, onSelectEvent, }) {
|
|
23
|
+
const hasMeeting = events.some((event) => !event.isInterview);
|
|
24
|
+
return (_jsxs("div", { "data-slot": "calendar-grid", className: cn(calendarGridSlotVariants.root), children: [_jsx("div", { "data-slot": "calendar-grid-canvas", className: cn(calendarGridSlotVariants.canvas), children: _jsx(BigCalendar, { localizer: localizer, events: events, startAccessor: "start", endAccessor: "end", titleAccessor: "title", tooltipAccessor: (event) => event.title, defaultView: "month", views: ["month"], date: date, toolbar: false, onNavigate: onNavigate, onSelectEvent: onSelectEvent, eventPropGetter: eventClassName, components: { event: CalendarGridEventChip }, popup: true, style: { height: 640 } }) }), _jsxs("div", { "data-slot": "calendar-grid-legend", className: cn(calendarGridSlotVariants.legend), children: [_jsxs("span", { "data-slot": "calendar-grid-legend-item", className: cn(calendarGridSlotVariants.legendItem), children: [_jsx("span", { className: cn(calendarGridSlotVariants.legendDotInterview) }), "Interview"] }), hasMeeting ? (_jsxs("span", { "data-slot": "calendar-grid-legend-item", className: cn(calendarGridSlotVariants.legendItem), children: [_jsx("span", { className: cn(calendarGridSlotVariants.legendDotMeeting) }), "Other meeting"] })) : null] })] }));
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=CalendarGrid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarGrid.js","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarGrid/CalendarGrid.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EACL,QAAQ,IAAI,WAAW,EACvB,gBAAgB,GAEjB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAC;AAGxC,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,MAAM,SAAS,GAAG,gBAAgB,CAAC;IACjC,MAAM;IACN,KAAK;IACL,WAAW;IACX,MAAM;IACN,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;CAC3B,CAAC,CAAC;AAEH,SAAS,qBAAqB,CAAC,EAAE,KAAK,EAA6B;IACjE,OAAO,eAAM,SAAS,EAAC,gBAAgB,YAAE,KAAK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,EAAE,EAAE,CAAC,wBAAwB,CAAC,kBAAkB,CAAC,GAAI,iBAE/D,EACN,UAAU,CAAC,CAAC,CAAC,CACZ,6BACY,2BAA2B,EACrC,SAAS,EAAE,EAAE,CAAC,wBAAwB,CAAC,UAAU,CAAC,aAElD,eAAM,SAAS,EAAE,EAAE,CAAC,wBAAwB,CAAC,gBAAgB,CAAC,GAAI,qBAE7D,CACR,CAAC,CAAC,CAAC,IAAI,IACJ,IACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { CalendarEvent } from "../Calendar.types.js";
|
|
2
|
+
export type CalendarGridProps = {
|
|
3
|
+
events: CalendarEvent[];
|
|
4
|
+
date: Date;
|
|
5
|
+
onNavigate?: (date: Date) => void;
|
|
6
|
+
onSelectEvent?: (event: CalendarEvent) => void;
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=CalendarGrid.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarGrid.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarGrid/CalendarGrid.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE,aAAa,EAAE,CAAC;IACxB,IAAI,EAAE,IAAI,CAAC;IACX,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IAClC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;CAChD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarGrid.types.js","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarGrid/CalendarGrid.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const calendarGridSlotVariants: {
|
|
2
|
+
readonly root: "flex flex-col gap-4";
|
|
3
|
+
readonly canvas: "min-h-[640px]";
|
|
4
|
+
readonly legend: readonly ["mt-4 flex flex-wrap items-center gap-4", "text-xs font-medium text-[var(--color-semantic-calendar-header-text)]"];
|
|
5
|
+
readonly legendItem: "inline-flex items-center gap-2";
|
|
6
|
+
readonly legendDotInterview: "inline-block h-2 w-2 rounded-sm bg-[var(--color-semantic-calendar-event-interview-bg)]";
|
|
7
|
+
readonly legendDotMeeting: "inline-block h-2 w-2 rounded-sm bg-[var(--color-semantic-calendar-event-meeting-bg)]";
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=CalendarGrid.variants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarGrid.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarGrid/CalendarGrid.variants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB;;;;;;;CAY3B,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export const calendarGridSlotVariants = {
|
|
2
|
+
root: "flex flex-col gap-4",
|
|
3
|
+
canvas: "min-h-[640px]",
|
|
4
|
+
legend: [
|
|
5
|
+
"mt-4 flex flex-wrap items-center gap-4",
|
|
6
|
+
"text-xs font-medium text-[var(--color-semantic-calendar-header-text)]",
|
|
7
|
+
],
|
|
8
|
+
legendItem: "inline-flex items-center gap-2",
|
|
9
|
+
legendDotInterview: "inline-block h-2 w-2 rounded-sm bg-[var(--color-semantic-calendar-event-interview-bg)]",
|
|
10
|
+
legendDotMeeting: "inline-block h-2 w-2 rounded-sm bg-[var(--color-semantic-calendar-event-meeting-bg)]",
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=CalendarGrid.variants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarGrid.variants.js","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarGrid/CalendarGrid.variants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,IAAI,EAAE,qBAAqB;IAC3B,MAAM,EAAE,eAAe;IACvB,MAAM,EAAE;QACN,wCAAwC;QACxC,uEAAuE;KACxE;IACD,UAAU,EAAE,gCAAgC;IAC5C,kBAAkB,EAChB,wFAAwF;IAC1F,gBAAgB,EACd,sFAAsF;CAChF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarGrid/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,YAAY,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarGrid/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarNav.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarNav/CalendarNav.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE/D,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,KAAK,EACL,OAAe,EACf,OAAO,EACP,UAAU,EACV,MAAM,GACP,EAAE,gBAAgB,2CA8DlB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { ChevronLeft, ChevronRight } from "lucide-react";
|
|
3
|
+
import { cn } from "../../../lib/cn.js";
|
|
4
|
+
import { Button } from "../../Button/index.js";
|
|
5
|
+
import { Skeleton } from "../../Skeleton/index.js";
|
|
6
|
+
import { calendarNavSlotVariants } from "./CalendarNav.variants.js";
|
|
7
|
+
export function CalendarNav({ date, count, loading = false, onToday, onPrevious, onNext, }) {
|
|
8
|
+
const title = date.toLocaleDateString("en-US", {
|
|
9
|
+
month: "long",
|
|
10
|
+
year: "numeric",
|
|
11
|
+
});
|
|
12
|
+
return (_jsxs("div", { "data-slot": "calendar-nav", className: cn(calendarNavSlotVariants.root), children: [_jsxs("div", { "data-slot": "calendar-nav-controls", className: cn(calendarNavSlotVariants.controls), children: [_jsx(Button, { variant: "tertiary", size: "sm", className: calendarNavSlotVariants.todayButton, onClick: onToday, children: "Today" }), _jsx(Button, { variant: "tertiary", size: "sm", className: calendarNavSlotVariants.navButton, onClick: onPrevious, "aria-label": "Previous month", children: _jsx(ChevronLeft, {}) }), _jsx(Button, { variant: "tertiary", size: "sm", className: calendarNavSlotVariants.navButton, onClick: onNext, "aria-label": "Next month", children: _jsx(ChevronRight, {}) })] }), _jsxs("div", { "data-slot": "calendar-nav-title-group", className: cn(calendarNavSlotVariants.titleGroup), children: [_jsx("span", { "data-slot": "calendar-nav-title", className: cn(calendarNavSlotVariants.title), children: title }), loading ? (_jsx(Skeleton, { className: calendarNavSlotVariants.summarySkeleton })) : (_jsx("span", { "data-slot": "calendar-nav-summary", className: cn(calendarNavSlotVariants.summary), children: `${count} event${count === 1 ? "" : "s"}` }))] })] }));
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=CalendarNav.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarNav.js","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarNav/CalendarNav.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEzD,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,uBAAuB,EAA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S,EAAE,EAAE,CAAC,uBAAuB,CAAC,OAAO,CAAC,YAE7C,GAAG,KAAK,SAAS,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,EAAE,GACrC,CACR,IACG,IACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarNav.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarNav/CalendarNav.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarNav.types.js","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarNav/CalendarNav.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const calendarNavSlotVariants: {
|
|
2
|
+
readonly root: "flex items-center gap-4";
|
|
3
|
+
readonly controls: readonly ["inline-flex items-center gap-1 rounded-full p-1", "border border-[var(--color-semantic-calendar-nav-pill-border)]", "bg-[var(--color-semantic-calendar-nav-pill-bg)]"];
|
|
4
|
+
readonly todayButton: "rounded-full";
|
|
5
|
+
readonly navButton: "rounded-full px-2";
|
|
6
|
+
readonly titleGroup: "flex flex-col";
|
|
7
|
+
readonly title: readonly ["text-lg font-bold leading-tight tracking-tight", "text-[var(--color-semantic-fg-primary)]"];
|
|
8
|
+
readonly summary: "text-xs font-medium text-[var(--color-semantic-fg-muted)]";
|
|
9
|
+
readonly summarySkeleton: "mt-1 h-3 w-16";
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=CalendarNav.variants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarNav.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarNav/CalendarNav.variants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB;;;;;;;;;CAgB1B,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export const calendarNavSlotVariants = {
|
|
2
|
+
root: "flex items-center gap-4",
|
|
3
|
+
controls: [
|
|
4
|
+
"inline-flex items-center gap-1 rounded-full p-1",
|
|
5
|
+
"border border-[var(--color-semantic-calendar-nav-pill-border)]",
|
|
6
|
+
"bg-[var(--color-semantic-calendar-nav-pill-bg)]",
|
|
7
|
+
],
|
|
8
|
+
todayButton: "rounded-full",
|
|
9
|
+
navButton: "rounded-full px-2",
|
|
10
|
+
titleGroup: "flex flex-col",
|
|
11
|
+
title: [
|
|
12
|
+
"text-lg font-bold leading-tight tracking-tight",
|
|
13
|
+
"text-[var(--color-semantic-fg-primary)]",
|
|
14
|
+
],
|
|
15
|
+
summary: "text-xs font-medium text-[var(--color-semantic-fg-muted)]",
|
|
16
|
+
summarySkeleton: "mt-1 h-3 w-16",
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=CalendarNav.variants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarNav.variants.js","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarNav/CalendarNav.variants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,IAAI,EAAE,yBAAyB;IAC/B,QAAQ,EAAE;QACR,iDAAiD;QACjD,gEAAgE;QAChE,iDAAiD;KAClD;IACD,WAAW,EAAE,cAAc;IAC3B,SAAS,EAAE,mBAAmB;IAC9B,UAAU,EAAE,eAAe;IAC3B,KAAK,EAAE;QACL,gDAAgD;QAChD,yCAAyC;KAC1C;IACD,OAAO,EAAE,2DAA2D;IACpE,eAAe,EAAE,eAAe;CACxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarNav/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,YAAY,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarNav/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Calendar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,YAAY,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,YAAY,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Calendar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { ChipPickerProps } from "./ChipPicker.types.js";
|
|
2
|
+
export declare function ChipPicker({ label, options, value, onValueChange, disabled, readOnly, helperText, customSlotValue, customSlot, className, "aria-label": ariaLabel, }: ChipPickerProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
//# sourceMappingURL=ChipPicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChipPicker.d.ts","sourceRoot":"","sources":["../../../src/components/ChipPicker/ChipPicker.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAoB,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAU/E,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,OAAO,EACP,KAAK,EACL,aAAa,EACb,QAAgB,EAChB,QAAgB,EAChB,UAAU,EACV,eAAe,EACf,UAAU,EACV,SAAS,EACT,YAAY,EAAE,SAAS,GACxB,EAAE,eAAe,2CA6DjB"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { cn } from "../../lib/cn.js";
|
|
4
|
+
import { Button } from "../Button/index.js";
|
|
5
|
+
import { chipPickerVariants } from "./ChipPicker.variants.js";
|
|
6
|
+
function getSelectedOption(options, value) {
|
|
7
|
+
if (value === null)
|
|
8
|
+
return undefined;
|
|
9
|
+
return options.find((option) => option.value === value);
|
|
10
|
+
}
|
|
11
|
+
export function ChipPicker({ label, options, value, onValueChange, disabled = false, readOnly = false, helperText, customSlotValue, customSlot, className, "aria-label": ariaLabel, }) {
|
|
12
|
+
const groupLabelId = React.useId();
|
|
13
|
+
const selectedOption = getSelectedOption(options, value);
|
|
14
|
+
const visibleOptions = readOnly
|
|
15
|
+
? selectedOption
|
|
16
|
+
? [selectedOption]
|
|
17
|
+
: []
|
|
18
|
+
: options;
|
|
19
|
+
return (_jsxs("div", { "data-slot": "chip-picker", role: "group", "aria-labelledby": label ? groupLabelId : undefined, "aria-label": label ? undefined : ariaLabel, className: cn(chipPickerVariants.root, className), children: [label ? (_jsx("span", { id: groupLabelId, "data-slot": "chip-picker-label", className: chipPickerVariants.label, children: label })) : null, _jsx("div", { "data-slot": "chip-picker-chips", className: chipPickerVariants.chipsPanel, children: visibleOptions.map((option) => {
|
|
20
|
+
const isSelected = value === option.value;
|
|
21
|
+
return (_jsx(Button, { type: "button", "data-slot": "chip-picker-chip", "data-selected": isSelected ? "true" : undefined, variant: isSelected ? "primary" : "secondary", size: "sm", disabled: disabled || readOnly, "aria-pressed": isSelected, className: cn(readOnly && isSelected && "disabled:opacity-100"), onClick: () => onValueChange?.(option.value), children: option.label }, option.value));
|
|
22
|
+
}) }), customSlotValue && value === customSlotValue ? customSlot : null, helperText ? (_jsx("p", { "data-slot": "chip-picker-helper", className: chipPickerVariants.helper, children: helperText })) : null] }));
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=ChipPicker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChipPicker.js","sourceRoot":"","sources":["../../../src/components/ChipPicker/ChipPicker.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAG9D,SAAS,iBAAiB,CACxB,OAAoC,EACpC,KAAoB;IAEpB,IAAI,KAAK,KAAK,IAAI;QAAE,OAAO,SAAS,CAAC;IACrC,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,KAAK,KAAK,CAAC,CAAC;AAC1D,CAAC;AAED,MAAM,UAAU,UAAU,CAAC,EACzB,KAAK,EACL,OAAO,EACP,KAAK,EACL,aAAa,EACb,QAAQ,GAAG,KAAK,EAChB,QAAQ,GAAG,KAAK,EAChB,UAAU,EACV,eAAe,EACf,UAAU,EACV,SAAS,EACT,YAAY,EAAE,SAAS,GACP;IAChB,MAAM,YAAY,GAAG,KAAK,CAAC,KAAK,EAAE,CAAC;IACnC,MAAM,cAAc,GAAG,iBAAiB,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACzD,MAAM,cAAc,GAAG,QAAQ;QAC7B,CAAC,CAAC,cAAc;YACd,CAAC,CAAC,CAAC,cAAc,CAAC;YAClB,CAAC,C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AU,CAAC,CAAC,CAAC,CACZ,yBAAa,oBAAoB,EAAC,SAAS,EAAE,kBAAkB,CAAC,MAAM,YACnE,UAAU,GACT,CACL,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
export type ChipPickerOption = {
|
|
3
|
+
value: string;
|
|
4
|
+
label: ReactNode;
|
|
5
|
+
};
|
|
6
|
+
export type ChipPickerProps = {
|
|
7
|
+
label?: ReactNode;
|
|
8
|
+
options: readonly ChipPickerOption[];
|
|
9
|
+
value: string | null;
|
|
10
|
+
onValueChange?: (value: string) => void;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
/** When true, renders only the selected chip without interaction. */
|
|
13
|
+
readOnly?: boolean;
|
|
14
|
+
helperText?: ReactNode;
|
|
15
|
+
/** Renders below the chip row when `value` matches this option value. */
|
|
16
|
+
customSlotValue?: string;
|
|
17
|
+
customSlot?: ReactNode;
|
|
18
|
+
className?: string;
|
|
19
|
+
"aria-label"?: string;
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=ChipPicker.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChipPicker.types.d.ts","sourceRoot":"","sources":["../../../src/components/ChipPicker/ChipPicker.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,SAAS,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,OAAO,EAAE,SAAS,gBAAgB,EAAE,CAAC;IACrC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,qEAAqE;IACrE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,yEAAyE;IACzE,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChipPicker.types.js","sourceRoot":"","sources":["../../../src/components/ChipPicker/ChipPicker.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const chipPickerVariants: {
|
|
2
|
+
readonly root: "flex w-full flex-col gap-1";
|
|
3
|
+
readonly label: "text-xs font-medium leading-snug text-semantic-ink-secondary";
|
|
4
|
+
readonly chipsPanel: "flex flex-wrap gap-2 rounded-[6px] p-4";
|
|
5
|
+
readonly helper: "text-xs leading-snug text-semantic-ink-muted";
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=ChipPicker.variants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChipPicker.variants.d.ts","sourceRoot":"","sources":["../../../src/components/ChipPicker/ChipPicker.variants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB;;;;;CAKrB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export const chipPickerVariants = {
|
|
2
|
+
root: "flex w-full flex-col gap-1",
|
|
3
|
+
label: "text-xs font-medium leading-snug text-semantic-ink-secondary",
|
|
4
|
+
chipsPanel: "flex flex-wrap gap-2 rounded-[6px] p-4",
|
|
5
|
+
helper: "text-xs leading-snug text-semantic-ink-muted",
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=ChipPicker.variants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChipPicker.variants.js","sourceRoot":"","sources":["../../../src/components/ChipPicker/ChipPicker.variants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,IAAI,EAAE,4BAA4B;IAClC,KAAK,EAAE,8DAA8D;IACrE,UAAU,EAAE,wCAAwC;IACpD,MAAM,EAAE,8CAA8C;CAC9C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ChipPicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,YAAY,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/ChipPicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTable.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAIV,cAAc,EAGf,MAAM,sBAAsB,CAAC;AAmB9B,wBAAgB,SAAS,CAAC,EACxB,OAAO,EACP,IAAI,EACJ,OAAO,EACP,UAAU,EACV,UAAkB,EAClB,QAAQ,EACR,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,eAAe,GAChB,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTable.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAIV,cAAc,EAGf,MAAM,sBAAsB,CAAC;AAmB9B,wBAAgB,SAAS,CAAC,EACxB,OAAO,EACP,IAAI,EACJ,OAAO,EACP,UAAU,EACV,UAAkB,EAClB,QAAQ,EACR,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,eAAe,GAChB,EAAE,cAAc,2CA4LhB"}
|
|
@@ -39,13 +39,15 @@ export function DataTable({ columns, rows, caption, onRowClick, selectable = fal
|
|
|
39
39
|
}
|
|
40
40
|
function toggleRow(id, checked) {
|
|
41
41
|
const next = checked
|
|
42
|
-
?
|
|
42
|
+
? selectedSet.has(id)
|
|
43
|
+
? selection
|
|
44
|
+
: [...selection, id]
|
|
43
45
|
: selection.filter((rowId) => rowId !== id);
|
|
44
46
|
commitSelection(next);
|
|
45
47
|
}
|
|
46
48
|
function toggleAll(checked) {
|
|
47
49
|
const next = checked
|
|
48
|
-
?
|
|
50
|
+
? [...new Set([...selection, ...selectableIds])]
|
|
49
51
|
: selection.filter((id) => !selectableSet.has(id));
|
|
50
52
|
commitSelection(next);
|
|
51
53
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTable.js","sourceRoot":"","sources":["../../../src/components/DataTable/DataTable.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAUhF,SAAS,YAAY,CACnB,MAAuB;IAEvB,IAAI,MAAM,CAAC,KAAK,EAAE,CAAC;QACjB,OAAO,MAAM,CAAC,KAAK,CAAC;IACtB,CAAC;IACD,OAAO,MAAM,CAAC,IAAI,KAAK,QAAQ,IAAI,MAAM,CAAC,IAAI,KAAK,MAAM,CAAC,CAAC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