@datum-cloud/datum-ui 2.11.0 → 3.0.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/app-navigation/index.mjs +1 -1
- package/dist/{app-navigation-DhPaPFnN.mjs → app-navigation-D52ikGN-.mjs} +1 -1
- package/dist/assistant/index.mjs +4 -4
- package/dist/calendar/index.mjs +2 -2
- package/dist/{calendar-date-picker-DW31tDSa.mjs → calendar-date-picker-DPvVAW2I.mjs} +1 -1
- package/dist/components/base/typography/typography.d.ts +2 -2
- package/dist/components/features/data-table/components/list-panel.d.ts +1 -1
- package/dist/components/features/data-table/types.d.ts +13 -0
- package/dist/data-table/index.mjs +1 -1
- package/dist/{data-table-DrSsRKRi.mjs → data-table-DXrwZpgq.mjs} +11 -4
- package/dist/date-picker/index.mjs +3 -3
- package/dist/date-time-picker/index.mjs +1 -1
- package/dist/{date-time-picker-BVvWQXMt.mjs → date-time-picker-CricsXgF.mjs} +1 -1
- package/dist/{date-time-range-picker-BEulotVf.mjs → date-time-range-picker-DM4AIvQ1.mjs} +1 -1
- package/dist/form/index.mjs +1 -1
- package/dist/{form-DB5MbJ2U.mjs → form-D4R6C609.mjs} +3 -3
- package/dist/grouped-table/index.mjs +1 -1
- package/dist/{grouped-table-DIFPMKLL.mjs → grouped-table-DewB9KoB.mjs} +1 -1
- package/dist/index.mjs +12 -12
- package/dist/logs/index.mjs +13 -13
- package/dist/picker/index.mjs +2 -2
- package/dist/{picker-Cke6cfsb.mjs → picker-BoKXW6_s.mjs} +1 -1
- package/dist/settings-nav/index.mjs +1 -1
- package/dist/{settings-nav-C_AF6gld.mjs → settings-nav-Hf3GrCGv.mjs} +2 -2
- package/dist/styles/shadcn/shadcn.css +1 -1
- package/dist/styles/themes/alpha.css +108 -6
- package/dist/task-queue/index.mjs +1 -1
- package/dist/{task-queue-dropdown-BJS3snfZ.mjs → task-queue-dropdown-B7FCpfqr.mjs} +1 -1
- package/dist/time-picker/index.mjs +1 -1
- package/dist/{time-picker-BzNSUazl.mjs → time-picker-DQlc2gKW.mjs} +1 -1
- package/dist/{to-api-format-W3qJE68W.mjs → to-api-format-QuJ81vQ9.mjs} +2 -2
- package/dist/typography/index.mjs +1 -1
- package/dist/{typography-BXIBvq3-.mjs → typography-DNQXFq1I.mjs} +35 -25
- package/package.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { C as SidebarProvider, S as SidebarGroupLabel, _ as SidebarMenuSubButton, a as SidebarInput, b as SidebarGroupAction, c as SidebarSeparator, d as SidebarMenuAction, f as SidebarMenuBadge, g as SidebarMenuSub, h as SidebarMenuSkeleton, i as SidebarHeader, l as SidebarTrigger, m as SidebarMenuItem, n as SidebarContent, o as SidebarInset, p as SidebarMenuButton, r as SidebarFooter, s as SidebarRail, t as Sidebar, u as SidebarMenu, v as SidebarMenuSubItem, w as useSidebar, x as SidebarGroupContent, y as SidebarGroup } from "../sidebar-BeWEEu7P.mjs";
|
|
2
|
-
import { a as hasActiveDescendant, i as findItemByHref, n as NavMenu, o as isNavItemActive, r as NavMenuItem, s as normalizePath, t as AppNavigation } from "../app-navigation-
|
|
2
|
+
import { a as hasActiveDescendant, i as findItemByHref, n as NavMenu, o as isNavItemActive, r as NavMenuItem, s as normalizePath, t as AppNavigation } from "../app-navigation-D52ikGN-.mjs";
|
|
3
3
|
export { AppNavigation, NavMenu, NavMenuItem, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, findItemByHref, hasActiveDescendant, isNavItemActive, normalizePath, useSidebar };
|
|
@@ -169,7 +169,7 @@ function itemKeyOf(item, level) {
|
|
|
169
169
|
*/
|
|
170
170
|
function NavBadge({ badge }) {
|
|
171
171
|
return /* @__PURE__ */ jsx("div", {
|
|
172
|
-
className: cn("text-muted-foreground inline-flex shrink-0 items-center rounded-full border border-dashed px-1.5 py-px", "text-
|
|
172
|
+
className: cn("text-muted-foreground inline-flex shrink-0 items-center rounded-full border border-dashed px-1.5 py-px", "text-4xs leading-none font-medium tracking-wide", "border-border/80"),
|
|
173
173
|
children: badge.label
|
|
174
174
|
});
|
|
175
175
|
}
|
package/dist/assistant/index.mjs
CHANGED
|
@@ -109,7 +109,7 @@ function ModelSelector({ modelId, effortId, onModelChange, onEffortChange, disab
|
|
|
109
109
|
className: "flex w-56 max-h-[min(24rem,var(--radix-dropdown-menu-content-available-height))] flex-col overflow-hidden",
|
|
110
110
|
children: [
|
|
111
111
|
/* @__PURE__ */ jsx(DropdownMenuLabel, {
|
|
112
|
-
className: "text-muted-foreground shrink-0 text-
|
|
112
|
+
className: "text-muted-foreground shrink-0 text-4xs tracking-wide uppercase",
|
|
113
113
|
children: "Model"
|
|
114
114
|
}),
|
|
115
115
|
/* @__PURE__ */ jsx("div", {
|
|
@@ -126,7 +126,7 @@ function ModelSelector({ modelId, effortId, onModelChange, onEffortChange, disab
|
|
|
126
126
|
}),
|
|
127
127
|
/* @__PURE__ */ jsx(DropdownMenuSeparator, { className: "shrink-0" }),
|
|
128
128
|
/* @__PURE__ */ jsx(DropdownMenuLabel, {
|
|
129
|
-
className: "text-muted-foreground shrink-0 text-
|
|
129
|
+
className: "text-muted-foreground shrink-0 text-4xs tracking-wide uppercase",
|
|
130
130
|
children: "Effort"
|
|
131
131
|
}),
|
|
132
132
|
/* @__PURE__ */ jsx(DropdownMenuRadioGroup, {
|
|
@@ -964,7 +964,7 @@ function HistoryPanel({ chatList, currentChatId, onLoadChat, onDeleteChat, onArc
|
|
|
964
964
|
}), /* @__PURE__ */ jsxs("span", {
|
|
965
965
|
className: "flex items-center gap-1",
|
|
966
966
|
children: [/* @__PURE__ */ jsx("span", {
|
|
967
|
-
className: "text-muted-foreground/60 text-
|
|
967
|
+
className: "text-muted-foreground/60 text-4xs",
|
|
968
968
|
children: formatRelativeTime(chat.updatedAt)
|
|
969
969
|
}), /* @__PURE__ */ jsx(Tooltip, {
|
|
970
970
|
message: "Download as Markdown",
|
|
@@ -987,7 +987,7 @@ function HistoryPanel({ chatList, currentChatId, onLoadChat, onDeleteChat, onArc
|
|
|
987
987
|
}, chat.id))
|
|
988
988
|
}),
|
|
989
989
|
/* @__PURE__ */ jsx("p", {
|
|
990
|
-
className: "text-muted-foreground mt-auto shrink-0 border-t px-3 py-2 text-
|
|
990
|
+
className: "text-muted-foreground mt-auto shrink-0 border-t px-3 py-2 text-4xs",
|
|
991
991
|
children: "Chats are saved to your browser's local storage."
|
|
992
992
|
}),
|
|
993
993
|
confirmDelete && /* @__PURE__ */ jsx(Dialog, {
|
package/dist/calendar/index.mjs
CHANGED
|
@@ -64,10 +64,10 @@ function Calendar({ className, classNames, showOutsideDays = true, captionLayout
|
|
|
64
64
|
caption_label: cn("select-none font-medium", captionLayout === "label" ? "text-sm" : "rounded-md pl-2 pr-1 flex items-center gap-1 text-sm h-8 [&>svg]:text-muted-foreground [&>svg]:size-3.5", defaultClassNames.caption_label),
|
|
65
65
|
month_grid: "w-full border-collapse",
|
|
66
66
|
weekdays: cn("flex", defaultClassNames.weekdays),
|
|
67
|
-
weekday: cn("text-muted-foreground rounded-md flex-1 font-normal text-
|
|
67
|
+
weekday: cn("text-muted-foreground rounded-md flex-1 font-normal text-xs select-none", defaultClassNames.weekday),
|
|
68
68
|
week: cn("flex w-full mt-2", defaultClassNames.week),
|
|
69
69
|
week_number_header: cn("select-none w-(--cell-size)", defaultClassNames.week_number_header),
|
|
70
|
-
week_number: cn("text-
|
|
70
|
+
week_number: cn("text-xs select-none text-muted-foreground", defaultClassNames.week_number),
|
|
71
71
|
day: 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", defaultClassNames.day),
|
|
72
72
|
range_start: cn("rounded-l-md bg-primary/10", defaultClassNames.range_start),
|
|
73
73
|
range_middle: cn("rounded-none bg-primary/10", defaultClassNames.range_middle),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as useDeprecationWarning } from "./use-deprecation-warning-DXrGc0jX.mjs";
|
|
2
|
-
import { a as DateRangePicker } from "./picker-
|
|
2
|
+
import { a as DateRangePicker } from "./picker-BoKXW6_s.mjs";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/features/calendar-date-picker/calendar-date-picker.tsx
|
|
5
5
|
/**
|
|
@@ -6,13 +6,13 @@ declare const titleVariants: (props?: ({
|
|
|
6
6
|
textColor?: "default" | "secondary" | "destructive" | "success" | "info" | "warning" | "primary" | "muted" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
declare const textVariants: (props?: ({
|
|
9
|
-
size?: "base" | "xs" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | null | undefined;
|
|
9
|
+
size?: "base" | "xs" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "5xs" | "4xs" | "3xs" | "2xs" | null | undefined;
|
|
10
10
|
weight?: "bold" | "normal" | "medium" | "semibold" | "extrabold" | null | undefined;
|
|
11
11
|
textColor?: "default" | "secondary" | "destructive" | "success" | "info" | "warning" | "primary" | "muted" | null | undefined;
|
|
12
12
|
type?: "default" | "code" | "mark" | "strong" | "delete" | "italic" | "underline" | null | undefined;
|
|
13
13
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
14
14
|
declare const paragraphVariants: (props?: ({
|
|
15
|
-
size?: "base" | "xs" | "sm" | "lg" | "xl" | null | undefined;
|
|
15
|
+
size?: "base" | "xs" | "sm" | "lg" | "xl" | "5xs" | "4xs" | "3xs" | "2xs" | null | undefined;
|
|
16
16
|
spacing?: "normal" | "loose" | "tight" | null | undefined;
|
|
17
17
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
18
18
|
interface TitleProps extends React.HTMLAttributes<HTMLHeadingElement>, VariantProps<typeof titleVariants> {
|
|
@@ -7,4 +7,4 @@ import type { ListPanelProps } from '../types';
|
|
|
7
7
|
* deliberately not included — render `DataTable.ListPagination` as a sibling,
|
|
8
8
|
* below the panel.
|
|
9
9
|
*/
|
|
10
|
-
export declare function DataTableListPanel<TData extends RowData = Record<string, any>>({ search, searchSlot, toolbar, emptyMessage, loading, onRowClick, className, panelClassName, }: ListPanelProps<TData>): import("react").JSX.Element;
|
|
10
|
+
export declare function DataTableListPanel<TData extends RowData = Record<string, any>>({ search, searchSlot, toolbar, emptyMessage, loading, onRowClick, className, panelClassName, tableClassName, headerClassName, headerRowClassName, headerCellClassName, bodyClassName, rowClassName, cellClassName, }: ListPanelProps<TData>): import("react").JSX.Element;
|
|
@@ -315,6 +315,19 @@ export interface ListPanelProps<TData extends RowData = Record<string, any>> {
|
|
|
315
315
|
readonly className?: string;
|
|
316
316
|
/** Class on the card container (border/rounding/background) — merges with, and can override, the default chrome. */
|
|
317
317
|
readonly panelClassName?: string;
|
|
318
|
+
/**
|
|
319
|
+
* Forwarded to the underlying `DataTable.Content` (`density="compact"` already
|
|
320
|
+
* applied) — merges with, and can override, the compact preset. Use this for
|
|
321
|
+
* app-specific cell integrations (e.g. sizing a row-actions menu or a
|
|
322
|
+
* copy-button rendered inside a cell) that don't belong in the shared preset.
|
|
323
|
+
*/
|
|
324
|
+
readonly tableClassName?: string;
|
|
325
|
+
readonly headerClassName?: string;
|
|
326
|
+
readonly headerRowClassName?: string;
|
|
327
|
+
readonly headerCellClassName?: string;
|
|
328
|
+
readonly bodyClassName?: string;
|
|
329
|
+
readonly rowClassName?: string | ((row: Row<DataTableFeatures, TData>) => string);
|
|
330
|
+
readonly cellClassName?: string | ((cell: Cell<DataTableFeatures, TData, unknown>) => string);
|
|
318
331
|
}
|
|
319
332
|
export interface ListPaginationProps {
|
|
320
333
|
readonly pageSizes?: readonly number[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as useNuqsAdapter, a as useDataTablePagination, b as DEFAULT_PAGE_SIZE, c as useDataTableSelection, d as resolvePath, f as rowMatchesSearch, g as createSelectionColumn, h as DataTableColumnHeader, i as useDataTableLoading, l as useDataTableSorting, m as DataTableRowActions, n as useDataTableFilters, o as useDataTableRows, p as dataTableFeatures, r as useDataTableInlineContents, s as useDataTableSearch, t as DataTable, u as createDataTableStore, v as DEFAULT_DEBOUNCE_MS, x as DEFAULT_PAGE_SIZES, y as DEFAULT_LOADING_ROWS } from "../data-table-
|
|
1
|
+
import { _ as useNuqsAdapter, a as useDataTablePagination, b as DEFAULT_PAGE_SIZE, c as useDataTableSelection, d as resolvePath, f as rowMatchesSearch, g as createSelectionColumn, h as DataTableColumnHeader, i as useDataTableLoading, l as useDataTableSorting, m as DataTableRowActions, n as useDataTableFilters, o as useDataTableRows, p as dataTableFeatures, r as useDataTableInlineContents, s as useDataTableSearch, t as DataTable, u as createDataTableStore, v as DEFAULT_DEBOUNCE_MS, x as DEFAULT_PAGE_SIZES, y as DEFAULT_LOADING_ROWS } from "../data-table-DXrwZpgq.mjs";
|
|
2
2
|
export { DEFAULT_DEBOUNCE_MS, DEFAULT_LOADING_ROWS, DEFAULT_PAGE_SIZE, DEFAULT_PAGE_SIZES, DataTable, DataTableColumnHeader, DataTableRowActions, createDataTableStore, createSelectionColumn, dataTableFeatures, resolvePath, rowMatchesSearch, useDataTableFilters, useDataTableInlineContents, useDataTableLoading, useDataTablePagination, useDataTableRows, useDataTableSearch, useDataTableSelection, useDataTableSorting, useNuqsAdapter };
|
|
@@ -8,7 +8,7 @@ import { i as SelectItem, l as SelectTrigger, n as SelectContent, t as Select, u
|
|
|
8
8
|
import { Skeleton } from "./skeleton/index.mjs";
|
|
9
9
|
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "./table/index.mjs";
|
|
10
10
|
import { t as Autocomplete } from "./autocomplete-BxtzndxZ.mjs";
|
|
11
|
-
import { t as CalendarDatePicker } from "./calendar-date-picker-
|
|
11
|
+
import { t as CalendarDatePicker } from "./calendar-date-picker-DPvVAW2I.mjs";
|
|
12
12
|
import { t as ActionRow } from "./action-row-DTvs91_3.mjs";
|
|
13
13
|
import { n as useDebouncedSearchInput } from "./use-debounced-search-input-yu_F0QBt.mjs";
|
|
14
14
|
import { t as MultiSelect } from "./multi-select-CH8KERkt.mjs";
|
|
@@ -927,7 +927,7 @@ const DENSITY_PRESETS = {
|
|
|
927
927
|
headerCellClassName: cn("sticky top-0 z-10 h-9 border-b border-border bg-table-header-background px-4", "text-xs leading-4 font-normal tracking-normal text-table-header-foreground uppercase"),
|
|
928
928
|
bodyClassName: "[&_tr:last-child]:border-b-0",
|
|
929
929
|
rowClassName: "border-0 hover:bg-muted/30",
|
|
930
|
-
cellClassName: "border-b border-border px-4 py-
|
|
930
|
+
cellClassName: "border-b border-border px-4 py-2 text-sm"
|
|
931
931
|
}
|
|
932
932
|
};
|
|
933
933
|
function resolveClassName(value, item) {
|
|
@@ -1195,7 +1195,7 @@ function ListPanelSkeleton({ columnCount }) {
|
|
|
1195
1195
|
* deliberately not included — render `DataTable.ListPagination` as a sibling,
|
|
1196
1196
|
* below the panel.
|
|
1197
1197
|
*/
|
|
1198
|
-
function DataTableListPanel({ search = {}, searchSlot, toolbar, emptyMessage, loading = false, onRowClick, className, panelClassName }) {
|
|
1198
|
+
function DataTableListPanel({ search = {}, searchSlot, toolbar, emptyMessage, loading = false, onRowClick, className, panelClassName, tableClassName, headerClassName, headerRowClassName, headerCellClassName, bodyClassName, rowClassName, cellClassName }) {
|
|
1199
1199
|
const { totalColumns } = useDataTableRows();
|
|
1200
1200
|
const showSearch = search !== false;
|
|
1201
1201
|
const isControlledSearch = showSearch && (search.value !== void 0 || search.onChange !== void 0);
|
|
@@ -1226,7 +1226,14 @@ function DataTableListPanel({ search = {}, searchSlot, toolbar, emptyMessage, lo
|
|
|
1226
1226
|
density: "compact",
|
|
1227
1227
|
emptyMessage,
|
|
1228
1228
|
onRowClick,
|
|
1229
|
-
className: "min-h-0 flex-1"
|
|
1229
|
+
className: "min-h-0 flex-1",
|
|
1230
|
+
tableClassName,
|
|
1231
|
+
headerClassName,
|
|
1232
|
+
headerRowClassName,
|
|
1233
|
+
headerCellClassName,
|
|
1234
|
+
bodyClassName,
|
|
1235
|
+
rowClassName,
|
|
1236
|
+
cellClassName
|
|
1230
1237
|
})
|
|
1231
1238
|
]
|
|
1232
1239
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as getBrowserTimezone, N as getTimezoneOffset, j as formatTimezoneLabel } from "../date-time-range-picker-
|
|
2
|
-
import { t as CalendarDatePicker } from "../calendar-date-picker-
|
|
3
|
-
import { _ as getShortTimezoneDisplay, a as TimeRangePicker, b as utcToLocalInputString, c as getPresetByKey, d as TimezoneSelector, f as QuickRangesPanel, g as getDefaultTimezoneOptions, h as formatUtcForDisplay, i as formatTimeRangeDisplay, l as getPresetByShortcut, m as createTimezoneOption, n as formatDateForInput, o as DEFAULT_PRESETS, p as CustomRangePanel, r as formatSingleTimeDisplay, s as getDefaultPreset, t as toApiTimeRange, u as getPresetRange, v as localInputStringToUtc, x as zonedDateToUtcString, y as utcStringToZonedDate } from "../to-api-format-
|
|
1
|
+
import { M as getBrowserTimezone, N as getTimezoneOffset, j as formatTimezoneLabel } from "../date-time-range-picker-DM4AIvQ1.mjs";
|
|
2
|
+
import { t as CalendarDatePicker } from "../calendar-date-picker-DPvVAW2I.mjs";
|
|
3
|
+
import { _ as getShortTimezoneDisplay, a as TimeRangePicker, b as utcToLocalInputString, c as getPresetByKey, d as TimezoneSelector, f as QuickRangesPanel, g as getDefaultTimezoneOptions, h as formatUtcForDisplay, i as formatTimeRangeDisplay, l as getPresetByShortcut, m as createTimezoneOption, n as formatDateForInput, o as DEFAULT_PRESETS, p as CustomRangePanel, r as formatSingleTimeDisplay, s as getDefaultPreset, t as toApiTimeRange, u as getPresetRange, v as localInputStringToUtc, x as zonedDateToUtcString, y as utcStringToZonedDate } from "../to-api-format-QuJ81vQ9.mjs";
|
|
4
4
|
export { CustomRangePanel as AbsoluteRangePanel, CustomRangePanel, CalendarDatePicker, DEFAULT_PRESETS, QuickRangesPanel, TimeRangePicker, TimezoneSelector, createTimezoneOption, formatDateForInput, formatSingleTimeDisplay, formatTimeRangeDisplay, formatTimezoneLabel, formatUtcForDisplay, getBrowserTimezone, getDefaultPreset, getDefaultTimezoneOptions, getPresetByKey, getPresetByShortcut, getPresetRange, getShortTimezoneDisplay, getTimezoneOffset, localInputStringToUtc, toApiTimeRange, utcStringToZonedDate, utcToLocalInputString, zonedDateToUtcString };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as DateTimePicker } from "../date-time-picker-
|
|
1
|
+
import { t as DateTimePicker } from "../date-time-picker-CricsXgF.mjs";
|
|
2
2
|
export { DateTimePicker };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as useDeprecationWarning } from "./use-deprecation-warning-DXrGc0jX.mjs";
|
|
2
|
-
import { r as DateTimePicker$1 } from "./picker-
|
|
2
|
+
import { r as DateTimePicker$1 } from "./picker-BoKXW6_s.mjs";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/features/date-time-picker/date-time-picker.tsx
|
|
5
5
|
/**
|
|
@@ -399,7 +399,7 @@ function PickerPresets({ className }) {
|
|
|
399
399
|
actions.selectPreset(range, preset.key);
|
|
400
400
|
},
|
|
401
401
|
children: [/* @__PURE__ */ jsx("span", { children: preset.label }), preset.shortcut && /* @__PURE__ */ jsx("kbd", {
|
|
402
|
-
className: cn("ml-auto hidden rounded border px-1.5 font-mono text-
|
|
402
|
+
className: cn("ml-auto hidden rounded border px-1.5 font-mono text-4xs sm:inline-flex", isSelected ? "border-primary-foreground/30 bg-primary-foreground/15 text-primary-foreground" : "bg-muted text-muted-foreground"),
|
|
403
403
|
children: preset.shortcut
|
|
404
404
|
})]
|
|
405
405
|
}, preset.key);
|
package/dist/form/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as FormCheckbox, C as FormDialog, D as FormCustom, E as FormDatePicker, M as FormAutosearch, N as FormAutocomplete, O as FormCopyBox, S as FormError, T as FormDateTimePicker, _ as FormRadioGroup, a as useField, b as FormFieldArray, c as useWatchAll, d as FormTextarea, f as FormSwitch, g as FormRoot, h as FormSelectItem, i as useFieldContext, j as FormButton, k as FormCombobox, l as FormTransfer, m as FormSelect, n as useFormState, o as FormWhen, p as FormSubmit, r as useFormContext, s as useWatch, t as Form, u as FormTimePicker, v as FormRadioItem, w as FormDescription, x as FormField, y as FormInput } from "../form-
|
|
1
|
+
import { A as FormCheckbox, C as FormDialog, D as FormCustom, E as FormDatePicker, M as FormAutosearch, N as FormAutocomplete, O as FormCopyBox, S as FormError, T as FormDateTimePicker, _ as FormRadioGroup, a as useField, b as FormFieldArray, c as useWatchAll, d as FormTextarea, f as FormSwitch, g as FormRoot, h as FormSelectItem, i as useFieldContext, j as FormButton, k as FormCombobox, l as FormTransfer, m as FormSelect, n as useFormState, o as FormWhen, p as FormSubmit, r as useFormContext, s as useWatch, t as Form, u as FormTimePicker, v as FormRadioItem, w as FormDescription, x as FormField, y as FormInput } from "../form-D4R6C609.mjs";
|
|
2
2
|
import { n as useAdapter, t as FormAdapterProvider } from "../adapter-context-h0jCVqGO.mjs";
|
|
3
3
|
export { Form, FormAdapterProvider, FormAutocomplete, FormAutosearch, FormButton, FormCheckbox, FormCombobox, FormCopyBox, FormCustom, FormDatePicker, FormDateTimePicker, FormDescription, FormDialog, FormError, FormField, FormFieldArray, FormInput, FormRadioGroup, FormRadioItem, FormRoot, FormSelect, FormSelectItem, FormSubmit, FormSwitch, FormTextarea, FormTimePicker, FormTransfer, FormWhen, useAdapter, useField, useFieldContext, useFormContext, useFormState, useWatch, useWatchAll };
|
|
@@ -13,14 +13,14 @@ import { t as Switch } from "./switch-BaR-Vna4.mjs";
|
|
|
13
13
|
import { t as Textarea } from "./textarea-DiSGxCBO.mjs";
|
|
14
14
|
import { t as Autocomplete } from "./autocomplete-BxtzndxZ.mjs";
|
|
15
15
|
import { Autosearch } from "./autosearch/index.mjs";
|
|
16
|
-
import { t as CalendarDatePicker } from "./calendar-date-picker-
|
|
16
|
+
import { t as CalendarDatePicker } from "./calendar-date-picker-DPvVAW2I.mjs";
|
|
17
17
|
import { t as toast } from "./toast-BUPlDkN3.mjs";
|
|
18
|
-
import { t as DateTimePicker } from "./date-time-picker-
|
|
18
|
+
import { t as DateTimePicker } from "./date-time-picker-CricsXgF.mjs";
|
|
19
19
|
import { n as useFormContext$1, t as FormProvider } from "./form-context-DzB2a-dw.mjs";
|
|
20
20
|
import { t as useCopyToClipboard } from "./use-copy-to-clipboard-DZDq_85T.mjs";
|
|
21
21
|
import { n as useAdapter } from "./adapter-context-h0jCVqGO.mjs";
|
|
22
22
|
import { InputWithAddons } from "./input-with-addons/index.mjs";
|
|
23
|
-
import { t as TimePicker } from "./time-picker-
|
|
23
|
+
import { t as TimePicker } from "./time-picker-DQlc2gKW.mjs";
|
|
24
24
|
import { t as Transfer } from "./transfer-DsshYgIk.mjs";
|
|
25
25
|
import { CheckIcon, CircleHelp, CopyIcon } from "lucide-react";
|
|
26
26
|
import * as React from "react";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as GroupedTable } from "../grouped-table-
|
|
1
|
+
import { t as GroupedTable } from "../grouped-table-DewB9KoB.mjs";
|
|
2
2
|
export { GroupedTable };
|
|
@@ -6,7 +6,7 @@ import { t as useControllableState } from "./use-controllable-state-Dna7u3r9.mjs
|
|
|
6
6
|
import { Skeleton } from "./skeleton/index.mjs";
|
|
7
7
|
import { TableBody, TableCell, TableHead, TableHeader, TableRow } from "./table/index.mjs";
|
|
8
8
|
import { n as EASE } from "./motion-DvGRWdsm.mjs";
|
|
9
|
-
import { f as rowMatchesSearch, g as createSelectionColumn, h as DataTableColumnHeader, m as DataTableRowActions, p as dataTableFeatures } from "./data-table-
|
|
9
|
+
import { f as rowMatchesSearch, g as createSelectionColumn, h as DataTableColumnHeader, m as DataTableRowActions, p as dataTableFeatures } from "./data-table-DXrwZpgq.mjs";
|
|
10
10
|
import { n as useDebouncedSearchInput } from "./use-debounced-search-input-yu_F0QBt.mjs";
|
|
11
11
|
import { InputWithAddons } from "./input-with-addons/index.mjs";
|
|
12
12
|
import { ChevronRight, Search, X } from "lucide-react";
|
package/dist/index.mjs
CHANGED
|
@@ -33,7 +33,7 @@ import { t as useBreakpoint } from "./use-breakpoint-CwiUJSmk.mjs";
|
|
|
33
33
|
import { t as ResponsiveDropdown } from "./responsive-dropdown-C_KKgLbH.mjs";
|
|
34
34
|
import { t as ResponsivePopover } from "./responsive-popover-8VcjBM2d.mjs";
|
|
35
35
|
import { a as SelectLabel, c as SelectSeparator, i as SelectItem, l as SelectTrigger, n as SelectContent, o as SelectScrollDownButton, r as SelectGroup, s as SelectScrollUpButton, t as Select, u as SelectValue } from "./select-D4pk9e2d.mjs";
|
|
36
|
-
import { n as SettingsNavItem, r as SettingsNavLabel, t as SettingsNav } from "./settings-nav-
|
|
36
|
+
import { n as SettingsNavItem, r as SettingsNavLabel, t as SettingsNav } from "./settings-nav-Hf3GrCGv.mjs";
|
|
37
37
|
import { C as SidebarProvider, S as SidebarGroupLabel, _ as SidebarMenuSubButton, a as SidebarInput, b as SidebarGroupAction, c as SidebarSeparator, d as SidebarMenuAction, f as SidebarMenuBadge, g as SidebarMenuSub, h as SidebarMenuSkeleton, i as SidebarHeader, l as SidebarTrigger, m as SidebarMenuItem, n as SidebarContent, o as SidebarInset, p as SidebarMenuButton, r as SidebarFooter, s as SidebarRail, t as Sidebar, u as SidebarMenu, v as SidebarMenuSubItem, w as useSidebar, x as SidebarGroupContent, y as SidebarGroup } from "./sidebar-BeWEEu7P.mjs";
|
|
38
38
|
import { t as Tooltip } from "./tooltip-DhbN1BDK.mjs";
|
|
39
39
|
import { Skeleton } from "./skeleton/index.mjs";
|
|
@@ -41,37 +41,37 @@ import { t as Switch } from "./switch-BaR-Vna4.mjs";
|
|
|
41
41
|
import { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from "./table/index.mjs";
|
|
42
42
|
import { Tabs, TabsContent, TabsLinkTrigger, TabsList, TabsTrigger } from "./tabs/index.mjs";
|
|
43
43
|
import { t as Textarea } from "./textarea-DiSGxCBO.mjs";
|
|
44
|
-
import { a as ListItem, c as Title, d as titleVariants, i as List, l as paragraphVariants, n as Code, o as Paragraph, r as Link, s as Text, t as Blockquote, u as textVariants } from "./typography-
|
|
44
|
+
import { a as ListItem, c as Title, d as titleVariants, i as List, l as paragraphVariants, n as Code, o as Paragraph, r as Link, s as Text, t as Blockquote, u as textVariants } from "./typography-DNQXFq1I.mjs";
|
|
45
45
|
import { t as VisuallyHidden } from "./visuallyhidden-D7L_qs8b.mjs";
|
|
46
|
-
import { a as hasActiveDescendant, i as findItemByHref, n as NavMenu, o as isNavItemActive, r as NavMenuItem, s as normalizePath, t as AppNavigation } from "./app-navigation-
|
|
46
|
+
import { a as hasActiveDescendant, i as findItemByHref, n as NavMenu, o as isNavItemActive, r as NavMenuItem, s as normalizePath, t as AppNavigation } from "./app-navigation-D52ikGN-.mjs";
|
|
47
47
|
import { n as EASE, t as DURATION } from "./motion-DvGRWdsm.mjs";
|
|
48
48
|
import { t as LoaderOverlay } from "./loader-overlay-DD94azZX.mjs";
|
|
49
49
|
import { t as Autocomplete } from "./autocomplete-BxtzndxZ.mjs";
|
|
50
50
|
import { Autosearch, defaultAutosearchValue } from "./autosearch/index.mjs";
|
|
51
51
|
import { n as avatarStackVariants, t as AvatarStack } from "./avatar-stack-BUcsjhA6.mjs";
|
|
52
|
-
import { M as getBrowserTimezone, N as getTimezoneOffset, j as formatTimezoneLabel } from "./date-time-range-picker-
|
|
53
|
-
import { t as CalendarDatePicker } from "./calendar-date-picker-
|
|
52
|
+
import { M as getBrowserTimezone, N as getTimezoneOffset, j as formatTimezoneLabel } from "./date-time-range-picker-DM4AIvQ1.mjs";
|
|
53
|
+
import { t as CalendarDatePicker } from "./calendar-date-picker-DPvVAW2I.mjs";
|
|
54
54
|
import { i as ClientOnly, n as useTheme, r as ThemeScript, t as ThemeProvider } from "./themes-Ba2bajuF.mjs";
|
|
55
55
|
import { a as formatJson, c as isValidYaml, d as CodeEditor, i as CodeEditorTabs, l as jsonToYaml, n as jsonSchema, o as formatYaml, r as yamlSchema, s as isValidJson, t as createCodeEditorSchema, u as yamlToJson } from "./types-agDpVXBG.mjs";
|
|
56
56
|
import { t as toast } from "./toast-BUPlDkN3.mjs";
|
|
57
57
|
import { n as Toaster, t as useToast } from "./use-toast-Bpq0yJIT.mjs";
|
|
58
|
-
import { _ as useNuqsAdapter, a as useDataTablePagination, b as DEFAULT_PAGE_SIZE, c as useDataTableSelection, d as resolvePath, f as rowMatchesSearch, g as createSelectionColumn, h as DataTableColumnHeader, i as useDataTableLoading, l as useDataTableSorting, m as DataTableRowActions, n as useDataTableFilters, o as useDataTableRows, p as dataTableFeatures, r as useDataTableInlineContents, s as useDataTableSearch, t as DataTable, u as createDataTableStore, v as DEFAULT_DEBOUNCE_MS, x as DEFAULT_PAGE_SIZES, y as DEFAULT_LOADING_ROWS } from "./data-table-
|
|
58
|
+
import { _ as useNuqsAdapter, a as useDataTablePagination, b as DEFAULT_PAGE_SIZE, c as useDataTableSelection, d as resolvePath, f as rowMatchesSearch, g as createSelectionColumn, h as DataTableColumnHeader, i as useDataTableLoading, l as useDataTableSorting, m as DataTableRowActions, n as useDataTableFilters, o as useDataTableRows, p as dataTableFeatures, r as useDataTableInlineContents, s as useDataTableSearch, t as DataTable, u as createDataTableStore, v as DEFAULT_DEBOUNCE_MS, x as DEFAULT_PAGE_SIZES, y as DEFAULT_LOADING_ROWS } from "./data-table-DXrwZpgq.mjs";
|
|
59
59
|
import { t as ActionRow } from "./action-row-DTvs91_3.mjs";
|
|
60
60
|
import { n as useDebouncedSearchInput, t as DEFAULT_SEARCH_DEBOUNCE_MS } from "./use-debounced-search-input-yu_F0QBt.mjs";
|
|
61
61
|
import { t as MultiSelect } from "./multi-select-CH8KERkt.mjs";
|
|
62
62
|
import { a as formatRelativeDate, d as parseDate, i as formatCombinedDate, l as getTimestamp, n as DEFAULT_DATE_FORMAT, o as formatTimezoneDate, r as formatAbsoluteDate, s as formatUTCDate, t as DateTime, u as getTimezoneAbbreviation } from "./date-time-lZdefM4H.mjs";
|
|
63
|
-
import { t as DateTimePicker } from "./date-time-picker-
|
|
63
|
+
import { t as DateTimePicker } from "./date-time-picker-CricsXgF.mjs";
|
|
64
64
|
import { a as DropdownMenuItem, c as DropdownMenuRadioGroup, d as DropdownMenuShortcut, f as DropdownMenuSub, h as DropdownMenuTrigger, i as DropdownMenuGroup, l as DropdownMenuRadioItem, m as DropdownMenuSubTrigger, n as DropdownMenuCheckboxItem, o as DropdownMenuLabel, p as DropdownMenuSubContent, r as DropdownMenuContent, s as DropdownMenuPortal, t as DropdownMenu, u as DropdownMenuSeparator } from "./dropdown-Xvduih96.mjs";
|
|
65
65
|
import { i as FileInputButton, n as DropzoneContent, r as DropzoneEmptyState, t as Dropzone } from "./dropzone-ihksfjN2.mjs";
|
|
66
66
|
import { t as EmptyContent } from "./empty-content-CmuVcU0P.mjs";
|
|
67
|
-
import { A as FormCheckbox, C as FormDialog, D as FormCustom, E as FormDatePicker, M as FormAutosearch, N as FormAutocomplete, O as FormCopyBox, S as FormError, T as FormDateTimePicker, _ as FormRadioGroup, a as useField, b as FormFieldArray, c as useWatchAll, d as FormTextarea, f as FormSwitch, g as FormRoot, h as FormSelectItem, i as useFieldContext, j as FormButton, k as FormCombobox, l as FormTransfer, m as FormSelect, n as useFormState, o as FormWhen, p as FormSubmit, r as useFormContext, s as useWatch, t as Form, u as FormTimePicker, v as FormRadioItem, w as FormDescription, x as FormField, y as FormInput } from "./form-
|
|
67
|
+
import { A as FormCheckbox, C as FormDialog, D as FormCustom, E as FormDatePicker, M as FormAutosearch, N as FormAutocomplete, O as FormCopyBox, S as FormError, T as FormDateTimePicker, _ as FormRadioGroup, a as useField, b as FormFieldArray, c as useWatchAll, d as FormTextarea, f as FormSwitch, g as FormRoot, h as FormSelectItem, i as useFieldContext, j as FormButton, k as FormCombobox, l as FormTransfer, m as FormSelect, n as useFormState, o as FormWhen, p as FormSubmit, r as useFormContext, s as useWatch, t as Form, u as FormTimePicker, v as FormRadioItem, w as FormDescription, x as FormField, y as FormInput } from "./form-D4R6C609.mjs";
|
|
68
68
|
import { t as useCopyToClipboard } from "./use-copy-to-clipboard-DZDq_85T.mjs";
|
|
69
69
|
import { n as useAdapter, t as FormAdapterProvider } from "./adapter-context-h0jCVqGO.mjs";
|
|
70
70
|
import { InputWithAddons } from "./input-with-addons/index.mjs";
|
|
71
|
-
import { t as TimePicker } from "./time-picker-
|
|
71
|
+
import { t as TimePicker } from "./time-picker-DQlc2gKW.mjs";
|
|
72
72
|
import { t as Transfer } from "./transfer-DsshYgIk.mjs";
|
|
73
73
|
import { a as getResponsiveValue, c as GRID_COLUMNS, d as RESPONSIVE_MAP, i as getGutter, l as GRID_PREFIX, n as Row, o as registerMediaQuery, r as RowContext, s as GRID_BREAKPOINTS, t as Col, u as RESPONSIVE_ARRAY } from "./col-BYGWTB4j.mjs";
|
|
74
|
-
import { t as GroupedTable } from "./grouped-table-
|
|
74
|
+
import { t as GroupedTable } from "./grouped-table-DewB9KoB.mjs";
|
|
75
75
|
import { t as InputNumber } from "./input-number-TXmW-X9o.mjs";
|
|
76
76
|
import { a as logoStyles, i as LogoFlat, n as LogoStacked, r as LogoIcon, t as LogoText } from "./logo-text-Dpm5O6Kg.mjs";
|
|
77
77
|
import { t as Logo } from "./logo-C3FxD7jb.mjs";
|
|
@@ -81,8 +81,8 @@ import { t as PageTitle } from "./page-title-ipRWEOeM.mjs";
|
|
|
81
81
|
import { n as useRichTextEditor, r as RichTextContent, t as RichTextEditor } from "./rich-text-editor-DVga5upM.mjs";
|
|
82
82
|
import { t as defineStepper } from "./stepper-dNvkipop.mjs";
|
|
83
83
|
import { t as TagsInput } from "./tag-input-Ctxtcpwy.mjs";
|
|
84
|
-
import { _ as RedisTaskStorage, a as TaskPanelItem, b as createProjectMetadata, c as TaskPanelHeader, d as useCurrentScope, f as useTasksWithLabels, g as detectStorage, h as TaskQueue, i as TaskPanel, l as getContextLabel, m as TaskQueueProvider, n as TaskSummaryDialog, o as TaskPanelCounter, p as useTaskQueue, r as TaskQueueTrigger, s as TaskPanelActions, t as TaskQueueDropdown, u as matchesCurrentScope, v as LocalTaskStorage, x as createUserMetadata, y as createOrgMetadata } from "./task-queue-dropdown-
|
|
85
|
-
import { _ as getShortTimezoneDisplay, a as TimeRangePicker, b as utcToLocalInputString, c as getPresetByKey, d as TimezoneSelector, f as QuickRangesPanel, g as getDefaultTimezoneOptions, h as formatUtcForDisplay, i as formatTimeRangeDisplay, l as getPresetByShortcut, m as createTimezoneOption, n as formatDateForInput, o as DEFAULT_PRESETS, p as CustomRangePanel, r as formatSingleTimeDisplay, s as getDefaultPreset, t as toApiTimeRange, u as getPresetRange, v as localInputStringToUtc, x as zonedDateToUtcString, y as utcStringToZonedDate } from "./to-api-format-
|
|
84
|
+
import { _ as RedisTaskStorage, a as TaskPanelItem, b as createProjectMetadata, c as TaskPanelHeader, d as useCurrentScope, f as useTasksWithLabels, g as detectStorage, h as TaskQueue, i as TaskPanel, l as getContextLabel, m as TaskQueueProvider, n as TaskSummaryDialog, o as TaskPanelCounter, p as useTaskQueue, r as TaskQueueTrigger, s as TaskPanelActions, t as TaskQueueDropdown, u as matchesCurrentScope, v as LocalTaskStorage, x as createUserMetadata, y as createOrgMetadata } from "./task-queue-dropdown-B7FCpfqr.mjs";
|
|
85
|
+
import { _ as getShortTimezoneDisplay, a as TimeRangePicker, b as utcToLocalInputString, c as getPresetByKey, d as TimezoneSelector, f as QuickRangesPanel, g as getDefaultTimezoneOptions, h as formatUtcForDisplay, i as formatTimeRangeDisplay, l as getPresetByShortcut, m as createTimezoneOption, n as formatDateForInput, o as DEFAULT_PRESETS, p as CustomRangePanel, r as formatSingleTimeDisplay, s as getDefaultPreset, t as toApiTimeRange, u as getPresetRange, v as localInputStringToUtc, x as zonedDateToUtcString, y as utcStringToZonedDate } from "./to-api-format-QuJ81vQ9.mjs";
|
|
86
86
|
import { t as useDebounce } from "./hooks-CwZ6hyI1.mjs";
|
|
87
87
|
import { n as toUTCTimestampStartOfDay, t as toUTCTimestampEndOfDay } from "./utils-CA4QEIJ8.mjs";
|
|
88
88
|
export { CustomRangePanel as AbsoluteRangePanel, CustomRangePanel, ActionRow, Alert, AlertDescription, AlertTitle, AppNavigation, Autocomplete, Autosearch, Avatar, AvatarFallback, AvatarImage, AvatarStack, Badge, Blockquote, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDatePicker, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardField, CardFieldLabel, CardFieldValue, CardFooter, CardHeader, CardSaveBar, CardTitle, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, ClientOnly, CloseIcon, Code, CodeEditor, CodeEditorTabs, Col, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DEFAULT_DATE_FORMAT, DEFAULT_DEBOUNCE_MS, DEFAULT_LOADING_ROWS, DEFAULT_PAGE_SIZE, DEFAULT_PAGE_SIZES, DEFAULT_PRESETS, DEFAULT_SEARCH_DEBOUNCE_MS, DURATION, DataTable, DataTableColumnHeader, DataTableRowActions, DateTime, DateTimePicker, Dialog, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, DropzoneContent, DropzoneEmptyState, EASE, EmptyContent, FileInputButton, Form, FormAdapterProvider, FormAutocomplete, FormAutosearch, FormButton, FormCheckbox, FormCombobox, FormCopyBox, FormCustom, FormDatePicker, FormDateTimePicker, FormDescription, FormDialog, FormError, FormField, FormFieldArray, FormInput, FormRadioGroup, FormRadioItem, FormRoot, FormSelect, FormSelectItem, FormSubmit, FormSwitch, FormTextarea, FormTimePicker, FormTransfer, FormWhen, GRID_BREAKPOINTS, GRID_COLUMNS, GRID_PREFIX, GroupedTable, HoverCard, HoverCardContent, HoverCardTrigger, Icon, InSheetContext, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputNumber, InputWithAddons, Label, Link, LinkButton, List, ListItem, LoaderOverlay, LocalTaskStorage, Logo, LogoFlat, LogoIcon, LogoStacked, LogoText, Map, MapCircle, MapCircleMarker, MapControlContainer, MapDrawCircle, MapDrawControl, MapDrawDelete, MapDrawEdit, MapDrawMarker, MapDrawPolygon, MapDrawPolyline, MapDrawRectangle, MapDrawUndo, MapFeatureGroup, MapFullscreenControl, MapLayerGroup, MapLayers, MapLayersControl, MapLocateControl, MapMarker, MapMarkerClusterGroup, MapPolygon, MapPolyline, MapPopup, MapRectangle, MapSearchControl, MapTileLayer, MapTooltip, MapZoomControl, MobileSheet, MoreActions, MultiSelect, NavMenu, NavMenuItem, PageTitle, Paragraph, PlaceAutocomplete, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, QuickRangesPanel, RESPONSIVE_ARRAY, RESPONSIVE_MAP, RadioGroup, RadioGroupItem, RedisTaskStorage, ResponsiveDropdown, ResponsivePopover, ResponsiveSheetTrigger, RichTextContent, RichTextEditor, Row, RowContext, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SettingsNav, SettingsNavItem, SettingsNavLabel, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Spinner, SpinnerIcon, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsLinkTrigger, TabsList, TabsTrigger, TagsInput, TaskPanel, TaskPanelActions, TaskPanelCounter, TaskPanelHeader, TaskPanelItem, TaskQueue, TaskQueueDropdown, TaskQueueProvider, TaskQueueTrigger, TaskSummaryDialog, Text, Textarea, ThemeProvider, ThemeScript, TimePicker, TimeRangePicker, TimezoneSelector, Title, Toaster, Tooltip, Transfer, VisuallyHidden, avatarStackVariants, badgeVariants, buttonGroupVariants, buttonVariants, cn, configureProgress, createCodeEditorSchema, createDataTableStore, createOrgMetadata, createProjectMetadata, createSelectionColumn, createTimezoneOption, createUserMetadata, dataTableFeatures, defaultAutosearchValue, defineStepper, detectStorage, findItemByHref, formatAbsoluteDate, formatCombinedDate, formatDateForInput, formatJson, formatRelativeDate, formatSingleTimeDisplay, formatTimeRangeDisplay, formatTimezoneDate, formatTimezoneLabel, formatUTCDate, formatUtcForDisplay, formatYaml, getBrowserTimezone, getContextLabel, getDefaultPreset, getDefaultTimezoneOptions, getGutter, getPresetByKey, getPresetByShortcut, getPresetRange, getResponsiveValue, getShortTimezoneDisplay, getTimestamp, getTimezoneAbbreviation, getTimezoneOffset, hasActiveDescendant, isNavItemActive, isValidJson, isValidYaml, jsonSchema, jsonToYaml, localInputStringToUtc, logoStyles, matchesCurrentScope, normalizePath, paragraphVariants, parseDate, registerMediaQuery, resolvePath, rowMatchesSearch, startProgress, stopProgress, textVariants, titleVariants, toApiTimeRange, toUTCTimestampEndOfDay, toUTCTimestampStartOfDay, toast, useAdapter, useBreakpoint, useControllableState, useCopyToClipboard, useCurrentScope, useDataTableFilters, useDataTableInlineContents, useDataTableLoading, useDataTablePagination, useDataTableRows, useDataTableSearch, useDataTableSelection, useDataTableSorting, useDebounce, useDebouncedSearchInput, useField, useFieldContext, useFormContext, useFormState, useInSheet, useLeaflet, useNuqsAdapter, useRichTextEditor, useSidebar, useTaskQueue, useTasksWithLabels, useTheme, useToast, useWatch, useWatchAll, utcStringToZonedDate, utcToLocalInputString, yamlSchema, yamlToJson, zonedDateToUtcString };
|
package/dist/logs/index.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import { t as Sheet } from "../sheet-DHn6C_rs.mjs";
|
|
|
9
9
|
import { t as useBreakpoint } from "../use-breakpoint-CwiUJSmk.mjs";
|
|
10
10
|
import { Skeleton } from "../skeleton/index.mjs";
|
|
11
11
|
import { TableBody, TableCell, TableHead, TableHeader, TableRow } from "../table/index.mjs";
|
|
12
|
-
import { t as DateTimeRangePicker } from "../date-time-range-picker-
|
|
12
|
+
import { t as DateTimeRangePicker } from "../date-time-range-picker-DM4AIvQ1.mjs";
|
|
13
13
|
import { c as getBrowserTimezone, t as DateTime, u as getTimezoneAbbreviation } from "../date-time-lZdefM4H.mjs";
|
|
14
14
|
import { t as useCopyToClipboard } from "../use-copy-to-clipboard-DZDq_85T.mjs";
|
|
15
15
|
import { Bot, ChevronDown, ChevronUp, Clock, Copy, Download, HelpCircle, Inbox, Monitor, RefreshCw, Search, SlidersHorizontal, Smartphone, Tablet, TriangleAlert, X } from "lucide-react";
|
|
@@ -78,7 +78,7 @@ function LogsSeverityBadge({ severity }) {
|
|
|
78
78
|
return /* @__PURE__ */ jsx(Badge, {
|
|
79
79
|
type: severityBadgeType(severity),
|
|
80
80
|
theme: unlabeled ? "solid" : "light",
|
|
81
|
-
className: cn("h-4 px-1.5 py-0 font-mono text-
|
|
81
|
+
className: cn("h-4 px-1.5 py-0 font-mono text-4xs leading-4 font-medium", unlabeled && "border-border bg-muted text-foreground"),
|
|
82
82
|
children: severity ?? "LOG"
|
|
83
83
|
});
|
|
84
84
|
}
|
|
@@ -88,7 +88,7 @@ function LogsHttpStatusChip({ status, className }) {
|
|
|
88
88
|
type: httpStatusBadgeType(status),
|
|
89
89
|
theme: "light",
|
|
90
90
|
"data-slot": "logs-http-status",
|
|
91
|
-
className: cn("h-5 shrink-0 px-1.5 py-0 font-mono text-
|
|
91
|
+
className: cn("h-5 shrink-0 px-1.5 py-0 font-mono text-3xs leading-5 font-medium tabular-nums", className),
|
|
92
92
|
children: status
|
|
93
93
|
});
|
|
94
94
|
}
|
|
@@ -98,7 +98,7 @@ function LogsStatusBadge({ parsed }) {
|
|
|
98
98
|
children: "—"
|
|
99
99
|
});
|
|
100
100
|
return /* @__PURE__ */ jsxs("span", {
|
|
101
|
-
className: "inline-flex h-4 items-center gap-1.5 font-mono text-
|
|
101
|
+
className: "inline-flex h-4 items-center gap-1.5 font-mono text-3xs leading-4 font-medium",
|
|
102
102
|
children: [/* @__PURE__ */ jsx("span", {
|
|
103
103
|
className: cn("tabular-nums", httpStatusTextClass(parsed.status)),
|
|
104
104
|
children: parsed.status
|
|
@@ -183,7 +183,7 @@ const BUILTIN_COLUMNS = {
|
|
|
183
183
|
size: "hug",
|
|
184
184
|
cell: ({ parsed }) => /* @__PURE__ */ jsx(LogsStatusBadge, { parsed }),
|
|
185
185
|
skeleton: ({ row }) => /* @__PURE__ */ jsxs("span", {
|
|
186
|
-
className: "inline-flex h-4 items-center gap-1.5 font-mono text-
|
|
186
|
+
className: "inline-flex h-4 items-center gap-1.5 font-mono text-3xs leading-4",
|
|
187
187
|
"data-slot": "logs-skeleton-status",
|
|
188
188
|
children: [lineSkeleton(3, "h-[11px]"), lineSkeleton(pick(METHOD_CHS, row), "h-[11px]")]
|
|
189
189
|
})
|
|
@@ -674,7 +674,7 @@ function MetaCell({ label, children, className }) {
|
|
|
674
674
|
return /* @__PURE__ */ jsxs("div", {
|
|
675
675
|
className: cn("bg-background min-w-0 px-3 py-2.5", className),
|
|
676
676
|
children: [/* @__PURE__ */ jsx("div", {
|
|
677
|
-
className: "text-muted-foreground mb-1 text-
|
|
677
|
+
className: "text-muted-foreground mb-1 text-3xs font-medium",
|
|
678
678
|
children: label
|
|
679
679
|
}), /* @__PURE__ */ jsx("div", {
|
|
680
680
|
className: "font-mono text-xs break-all",
|
|
@@ -833,7 +833,7 @@ const DetailBody = memo(({ showClose = true }) => {
|
|
|
833
833
|
/* @__PURE__ */ jsxs("div", {
|
|
834
834
|
className: "mb-1 flex items-center justify-between",
|
|
835
835
|
children: [/* @__PURE__ */ jsx("span", {
|
|
836
|
-
className: "text-muted-foreground text-
|
|
836
|
+
className: "text-muted-foreground text-3xs font-medium",
|
|
837
837
|
children: "Client"
|
|
838
838
|
}), /* @__PURE__ */ jsx(Button, {
|
|
839
839
|
type: "secondary",
|
|
@@ -861,13 +861,13 @@ const DetailBody = memo(({ showClose = true }) => {
|
|
|
861
861
|
children: client.summary
|
|
862
862
|
}),
|
|
863
863
|
/* @__PURE__ */ jsx("span", {
|
|
864
|
-
className: "text-muted-foreground shrink-0 text-
|
|
864
|
+
className: "text-muted-foreground shrink-0 text-3xs capitalize",
|
|
865
865
|
children: client.device === "unknown" ? "" : client.device
|
|
866
866
|
})
|
|
867
867
|
]
|
|
868
868
|
}),
|
|
869
869
|
client.summary !== client.raw && /* @__PURE__ */ jsx("p", {
|
|
870
|
-
className: "text-muted-foreground mt-1 font-mono text-
|
|
870
|
+
className: "text-muted-foreground mt-1 font-mono text-3xs leading-4 break-all",
|
|
871
871
|
title: client.raw,
|
|
872
872
|
children: client.raw
|
|
873
873
|
})
|
|
@@ -879,7 +879,7 @@ const DetailBody = memo(({ showClose = true }) => {
|
|
|
879
879
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
880
880
|
className: "mb-1.5 flex items-center justify-between",
|
|
881
881
|
children: [/* @__PURE__ */ jsx("span", {
|
|
882
|
-
className: "text-muted-foreground text-
|
|
882
|
+
className: "text-muted-foreground text-3xs font-medium",
|
|
883
883
|
children: "Search params"
|
|
884
884
|
}), /* @__PURE__ */ jsx(Button, {
|
|
885
885
|
type: "secondary",
|
|
@@ -918,7 +918,7 @@ const DetailBody = memo(({ showClose = true }) => {
|
|
|
918
918
|
children: Object.entries(selectedEntry.labels).map(([key, value]) => /* @__PURE__ */ jsxs("div", {
|
|
919
919
|
className: "grid grid-cols-[minmax(0,8.5rem)_minmax(0,1fr)] gap-x-3 border-b px-3 py-2 last:border-b-0",
|
|
920
920
|
children: [/* @__PURE__ */ jsx("dt", {
|
|
921
|
-
className: "text-muted-foreground truncate font-mono text-
|
|
921
|
+
className: "text-muted-foreground truncate font-mono text-3xs",
|
|
922
922
|
children: key
|
|
923
923
|
}), /* @__PURE__ */ jsx("dd", {
|
|
924
924
|
className: "min-w-0 font-mono text-xs break-all",
|
|
@@ -1423,7 +1423,7 @@ function LogsTable({ className }) {
|
|
|
1423
1423
|
icon: /* @__PURE__ */ jsx(Icon, { icon: TriangleAlert }),
|
|
1424
1424
|
title: "Couldn't load logs",
|
|
1425
1425
|
description: /* @__PURE__ */ jsx("code", {
|
|
1426
|
-
className: "bg-muted text-foreground inline-block max-w-full rounded-md border px-2 py-1 text-left font-mono text-
|
|
1426
|
+
className: "bg-muted text-foreground inline-block max-w-full rounded-md border px-2 py-1 text-left font-mono text-3xs leading-4 break-all",
|
|
1427
1427
|
children: error
|
|
1428
1428
|
}),
|
|
1429
1429
|
action: retry
|
|
@@ -1564,7 +1564,7 @@ function LogsTimeline({ className }) {
|
|
|
1564
1564
|
}, bucket.start);
|
|
1565
1565
|
})
|
|
1566
1566
|
}), /* @__PURE__ */ jsxs("div", {
|
|
1567
|
-
className: "text-muted-foreground mt-1 flex justify-between font-mono text-
|
|
1567
|
+
className: "text-muted-foreground mt-1 flex justify-between font-mono text-4xs tabular-nums",
|
|
1568
1568
|
children: [
|
|
1569
1569
|
/* @__PURE__ */ jsx("span", { children: formatTimelineTick(from, axisSpan) }),
|
|
1570
1570
|
/* @__PURE__ */ jsx("span", { children: formatTimelineTick(mid, axisSpan) }),
|
package/dist/picker/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as formatInTimezone, B as isDateBearingMode, C as PickerClear, D as PickerCalendar, E as PickerContent, F as zonedDateToIso, H as isTimeBearingMode, I as ALLOWED_STEPS, L as DATE_BEARING_MODES, M as getBrowserTimezone, N as getTimezoneOffset, O as PickerContext, P as isoToZonedDate, R as RANGE_MODES, S as PickerCancel, T as PickerReset, V as isRangeMode, _ as parseTimeString, a as PickerTimezoneIndicator, b as PickerPresets, d as DATE_PRESETS, f as getDefaultPresets, g as isValidTimeString, h as formatTimeLabel, i as PickerTrigger, j as formatTimezoneLabel, k as usePickerContext, l as usePresets, m as dateToYYYYMMDD, o as PickerTimeInput, p as usePickerState, r as formatPickerValue, s as useTimeSlots, t as DateTimeRangePicker, u as DATETIME_PRESETS, v as resolveCommit, w as PickerFooter, x as PickerApply, y as useKeyboardShortcuts, z as TIME_BEARING_MODES } from "../date-time-range-picker-
|
|
2
|
-
import { a as DateRangePicker, c as getDaysDifference, d as isSameDateRange, f as isSameStringRange, i as DateRangeTimePicker, l as isRangeValid, m as PickerTimezoneSelect, n as TimePicker, o as DatePicker, p as Picker, r as DateTimePicker, s as clampRange, t as TimeRangePicker, u as isSameDate } from "../picker-
|
|
1
|
+
import { A as formatInTimezone, B as isDateBearingMode, C as PickerClear, D as PickerCalendar, E as PickerContent, F as zonedDateToIso, H as isTimeBearingMode, I as ALLOWED_STEPS, L as DATE_BEARING_MODES, M as getBrowserTimezone, N as getTimezoneOffset, O as PickerContext, P as isoToZonedDate, R as RANGE_MODES, S as PickerCancel, T as PickerReset, V as isRangeMode, _ as parseTimeString, a as PickerTimezoneIndicator, b as PickerPresets, d as DATE_PRESETS, f as getDefaultPresets, g as isValidTimeString, h as formatTimeLabel, i as PickerTrigger, j as formatTimezoneLabel, k as usePickerContext, l as usePresets, m as dateToYYYYMMDD, o as PickerTimeInput, p as usePickerState, r as formatPickerValue, s as useTimeSlots, t as DateTimeRangePicker, u as DATETIME_PRESETS, v as resolveCommit, w as PickerFooter, x as PickerApply, y as useKeyboardShortcuts, z as TIME_BEARING_MODES } from "../date-time-range-picker-DM4AIvQ1.mjs";
|
|
2
|
+
import { a as DateRangePicker, c as getDaysDifference, d as isSameDateRange, f as isSameStringRange, i as DateRangeTimePicker, l as isRangeValid, m as PickerTimezoneSelect, n as TimePicker, o as DatePicker, p as Picker, r as DateTimePicker, s as clampRange, t as TimeRangePicker, u as isSameDate } from "../picker-BoKXW6_s.mjs";
|
|
3
3
|
export { ALLOWED_STEPS, DATETIME_PRESETS, DATE_BEARING_MODES, DATE_PRESETS, DatePicker, DateRangePicker, DateRangeTimePicker, DateTimePicker, DateTimeRangePicker, Picker, PickerApply, PickerCalendar, PickerCancel, PickerClear, PickerContent, PickerContext, PickerFooter, PickerPresets, PickerReset, PickerTimeInput, PickerTimezoneIndicator, PickerTimezoneSelect, PickerTrigger, RANGE_MODES, TIME_BEARING_MODES, TimePicker, TimeRangePicker, clampRange, dateToYYYYMMDD, formatInTimezone, formatPickerValue, formatTimeLabel, formatTimezoneLabel, getBrowserTimezone, getDaysDifference, getDefaultPresets, getTimezoneOffset, isDateBearingMode, isRangeMode, isRangeValid, isSameDate, isSameDateRange, isSameStringRange, isTimeBearingMode, isValidTimeString, isoToZonedDate, parseTimeString, resolveCommit, useKeyboardShortcuts, usePickerContext, usePickerState, usePresets, useTimeSlots, zonedDateToIso };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cn } from "./utils-Bu32wN-x.mjs";
|
|
2
2
|
import { i as SelectItem, l as SelectTrigger, n as SelectContent, t as Select, u as SelectValue } from "./select-daE2Nn0Z.mjs";
|
|
3
|
-
import { C as PickerClear, D as PickerCalendar, E as PickerContent, F as zonedDateToIso, H as isTimeBearingMode, P as isoToZonedDate, S as PickerCancel, T as PickerReset, _ as parseTimeString, a as PickerTimezoneIndicator, b as PickerPresets, c as Picker$1, i as PickerTrigger, k as usePickerContext, n as DefaultFooter, o as PickerTimeInput, r as formatPickerValue, w as PickerFooter, x as PickerApply } from "./date-time-range-picker-
|
|
3
|
+
import { C as PickerClear, D as PickerCalendar, E as PickerContent, F as zonedDateToIso, H as isTimeBearingMode, P as isoToZonedDate, S as PickerCancel, T as PickerReset, _ as parseTimeString, a as PickerTimezoneIndicator, b as PickerPresets, c as Picker$1, i as PickerTrigger, k as usePickerContext, n as DefaultFooter, o as PickerTimeInput, r as formatPickerValue, w as PickerFooter, x as PickerApply } from "./date-time-range-picker-DM4AIvQ1.mjs";
|
|
4
4
|
import { Clock, Globe } from "lucide-react";
|
|
5
5
|
import { useEffect, useState } from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SettingsNavItem, r as SettingsNavLabel, t as SettingsNav } from "../settings-nav-
|
|
1
|
+
import { n as SettingsNavItem, r as SettingsNavLabel, t as SettingsNav } from "../settings-nav-Hf3GrCGv.mjs";
|
|
2
2
|
export { SettingsNav, SettingsNavItem, SettingsNavLabel };
|
|
@@ -30,7 +30,7 @@ function SettingsNav({ className, ...props }) {
|
|
|
30
30
|
function SettingsNavLabel({ className, ...props }) {
|
|
31
31
|
return /* @__PURE__ */ jsx("div", {
|
|
32
32
|
"data-slot": "settings-nav-label",
|
|
33
|
-
className: cn("text-muted-foreground px-2.5 pt-1 pb-2 text-
|
|
33
|
+
className: cn("text-muted-foreground px-2.5 pt-1 pb-2 text-3xs font-semibold tracking-wide uppercase", className),
|
|
34
34
|
...props
|
|
35
35
|
});
|
|
36
36
|
}
|
|
@@ -61,7 +61,7 @@ function SettingsNavItem({ className, variant, asChild = false, icon, active = f
|
|
|
61
61
|
}) : null,
|
|
62
62
|
badge != null ? /* @__PURE__ */ jsx("span", {
|
|
63
63
|
"data-slot": "settings-nav-item-badge",
|
|
64
|
-
className: "bg-muted text-muted-foreground rounded-md px-1.5 py-0.5 text-
|
|
64
|
+
className: "bg-muted text-muted-foreground rounded-md px-1.5 py-0.5 text-4xs font-semibold tracking-wide uppercase",
|
|
65
65
|
children: badge
|
|
66
66
|
}) : null
|
|
67
67
|
] });
|
|
@@ -221,7 +221,7 @@ body {
|
|
|
221
221
|
@apply hidden;
|
|
222
222
|
}
|
|
223
223
|
.leaflet-control-attribution {
|
|
224
|
-
@apply !bg-muted rounded-md !px-[4px] !py-[2px] text-
|
|
224
|
+
@apply !bg-muted rounded-md !px-[4px] !py-[2px] text-4xs !leading-none !text-inherit;
|
|
225
225
|
}
|
|
226
226
|
.leaflet-draw-guide-dash {
|
|
227
227
|
@apply rounded-full;
|
|
@@ -74,6 +74,13 @@ Light-mode tokens on :root, dark-mode tokens on .dark
|
|
|
74
74
|
--destructive: var(--alert-red-light);
|
|
75
75
|
--destructive-foreground: var(--glacier-mist-700);
|
|
76
76
|
|
|
77
|
+
/* Status text colors — for text on the page background, used by
|
|
78
|
+
text-success / text-warning / text-info and Typography's textColor.
|
|
79
|
+
Values match the palette colors they replace, for no visual change. */
|
|
80
|
+
--success: #16a34a; /* green-600 */
|
|
81
|
+
--warning: #ca8a04; /* yellow-600 */
|
|
82
|
+
--info: #2563eb; /* blue-600 */
|
|
83
|
+
|
|
77
84
|
/* UI elements */
|
|
78
85
|
--border: var(--glacier-mist-900);
|
|
79
86
|
--input: var(--app-dark-utility-5);
|
|
@@ -270,6 +277,11 @@ Light-mode tokens on :root, dark-mode tokens on .dark
|
|
|
270
277
|
--destructive: var(--alert-red-light);
|
|
271
278
|
--destructive-foreground: var(--glacier-mist-700);
|
|
272
279
|
|
|
280
|
+
/* Status text colors */
|
|
281
|
+
--success: #4ade80; /* green-400 */
|
|
282
|
+
--warning: #facc15; /* yellow-400 */
|
|
283
|
+
--info: #60a5fa; /* blue-400 */
|
|
284
|
+
|
|
273
285
|
/* UI elements */
|
|
274
286
|
--border: var(--app-dark-utility-2);
|
|
275
287
|
--input: var(--app-dark-utility-2);
|
|
@@ -473,6 +485,11 @@ TAILWIND CUSTOM UTILITIES FOR THEME
|
|
|
473
485
|
--color-icon-quinary: var(--icon-quinary);
|
|
474
486
|
--color-icon-header: var(--icon-header);
|
|
475
487
|
|
|
488
|
+
/* Status text */
|
|
489
|
+
--color-success: var(--success);
|
|
490
|
+
--color-warning: var(--warning);
|
|
491
|
+
--color-info: var(--info);
|
|
492
|
+
|
|
476
493
|
/* Toast */
|
|
477
494
|
--color-toast-error-background: var(--toast-error-background);
|
|
478
495
|
--color-toast-error-foreground: var(--toast-error-foreground);
|
|
@@ -481,12 +498,6 @@ TAILWIND CUSTOM UTILITIES FOR THEME
|
|
|
481
498
|
--color-toast-success-foreground: var(--toast-success-foreground);
|
|
482
499
|
--color-toast-success-icon: var(--toast-success-icon);
|
|
483
500
|
|
|
484
|
-
/* Font Sizes */
|
|
485
|
-
--text-sm: 14px;
|
|
486
|
-
--text-xs: 13px;
|
|
487
|
-
--text-1xs: 12px;
|
|
488
|
-
--text-2xs: 9px;
|
|
489
|
-
|
|
490
501
|
/* Badge */
|
|
491
502
|
--color-badge-primary: var(--badge-primary);
|
|
492
503
|
--color-badge-primary-foreground: var(--badge-primary-foreground);
|
|
@@ -575,6 +586,97 @@ TAILWIND CUSTOM UTILITIES FOR THEME
|
|
|
575
586
|
--color-stepper-label: var(--stepper-label);
|
|
576
587
|
}
|
|
577
588
|
|
|
589
|
+
/* ========================================
|
|
590
|
+
TYPE SCALE
|
|
591
|
+
One named scale shared by raw `text-*` utilities and the Typography
|
|
592
|
+
components. See Storybook "Docs/Type Scale" for the rules.
|
|
593
|
+
|
|
594
|
+
Deliberately a plain `@theme`, not `@theme inline`: utilities must read
|
|
595
|
+
`var(--text-*)` at runtime so the display steps below can shrink per
|
|
596
|
+
breakpoint. An inline theme would bake the desktop values into every
|
|
597
|
+
utility and the media queries would have nothing to override.
|
|
598
|
+
======================================== */
|
|
599
|
+
@theme {
|
|
600
|
+
/* Body — fixed on every screen */
|
|
601
|
+
/* 5xs is the floor, kept for dense numerics that already sit at 9px
|
|
602
|
+
(badge counters, table micro-labels). Prefer 4xs for anything a
|
|
603
|
+
reader has to parse rather than glance at. */
|
|
604
|
+
--text-5xs: 9px;
|
|
605
|
+
--text-5xs--line-height: 12px;
|
|
606
|
+
--text-4xs: 10px;
|
|
607
|
+
--text-4xs--line-height: 14px;
|
|
608
|
+
--text-3xs: 11px;
|
|
609
|
+
--text-3xs--line-height: 16px;
|
|
610
|
+
--text-2xs: 12px;
|
|
611
|
+
--text-2xs--line-height: 16px;
|
|
612
|
+
--text-xs: 13px;
|
|
613
|
+
--text-xs--line-height: 18px;
|
|
614
|
+
--text-sm: 14px;
|
|
615
|
+
--text-sm--line-height: 20px;
|
|
616
|
+
--text-base: 16px;
|
|
617
|
+
--text-base--line-height: 24px;
|
|
618
|
+
--text-lg: 18px;
|
|
619
|
+
--text-lg--line-height: 28px;
|
|
620
|
+
|
|
621
|
+
/* Display — desktop values; stepped down below */
|
|
622
|
+
--text-xl: 20px;
|
|
623
|
+
--text-xl--line-height: 28px;
|
|
624
|
+
--text-2xl: 24px;
|
|
625
|
+
--text-2xl--line-height: 32px;
|
|
626
|
+
--text-3xl: 30px;
|
|
627
|
+
--text-3xl--line-height: 36px;
|
|
628
|
+
--text-4xl: 36px;
|
|
629
|
+
--text-4xl--line-height: 40px;
|
|
630
|
+
--text-5xl: 48px;
|
|
631
|
+
--text-5xl--line-height: 48px;
|
|
632
|
+
--text-6xl: 60px;
|
|
633
|
+
--text-6xl--line-height: 60px;
|
|
634
|
+
--text-7xl: 72px;
|
|
635
|
+
--text-7xl--line-height: 72px;
|
|
636
|
+
--text-8xl: 96px;
|
|
637
|
+
--text-8xl--line-height: 96px;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
/* Tablet (< lg). Every value is an existing step, so no new sizes appear. */
|
|
641
|
+
@media (width < 64rem) {
|
|
642
|
+
:root {
|
|
643
|
+
--text-3xl: 24px;
|
|
644
|
+
--text-3xl--line-height: 32px;
|
|
645
|
+
--text-4xl: 30px;
|
|
646
|
+
--text-4xl--line-height: 36px;
|
|
647
|
+
--text-5xl: 36px;
|
|
648
|
+
--text-5xl--line-height: 40px;
|
|
649
|
+
--text-6xl: 48px;
|
|
650
|
+
--text-6xl--line-height: 48px;
|
|
651
|
+
--text-7xl: 60px;
|
|
652
|
+
--text-7xl--line-height: 60px;
|
|
653
|
+
--text-8xl: 72px;
|
|
654
|
+
--text-8xl--line-height: 72px;
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
/* Mobile (< md). */
|
|
659
|
+
@media (width < 48rem) {
|
|
660
|
+
:root {
|
|
661
|
+
--text-xl: 18px;
|
|
662
|
+
--text-xl--line-height: 28px;
|
|
663
|
+
--text-2xl: 20px;
|
|
664
|
+
--text-2xl--line-height: 28px;
|
|
665
|
+
--text-3xl: 24px;
|
|
666
|
+
--text-3xl--line-height: 32px;
|
|
667
|
+
--text-4xl: 24px;
|
|
668
|
+
--text-4xl--line-height: 32px;
|
|
669
|
+
--text-5xl: 30px;
|
|
670
|
+
--text-5xl--line-height: 36px;
|
|
671
|
+
--text-6xl: 36px;
|
|
672
|
+
--text-6xl--line-height: 40px;
|
|
673
|
+
--text-7xl: 48px;
|
|
674
|
+
--text-7xl--line-height: 48px;
|
|
675
|
+
--text-8xl: 60px;
|
|
676
|
+
--text-8xl--line-height: 60px;
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
|
|
578
680
|
/* ========================================
|
|
579
681
|
GLOBAL STYLES FOR ALPHA THEME
|
|
580
682
|
======================================== */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as RedisTaskStorage, a as TaskPanelItem, b as createProjectMetadata, c as TaskPanelHeader, d as useCurrentScope, f as useTasksWithLabels, g as detectStorage, h as TaskQueue, i as TaskPanel, l as getContextLabel, m as TaskQueueProvider, n as TaskSummaryDialog, o as TaskPanelCounter, p as useTaskQueue, r as TaskQueueTrigger, s as TaskPanelActions, t as TaskQueueDropdown, u as matchesCurrentScope, v as LocalTaskStorage, x as createUserMetadata, y as createOrgMetadata } from "../task-queue-dropdown-
|
|
1
|
+
import { _ as RedisTaskStorage, a as TaskPanelItem, b as createProjectMetadata, c as TaskPanelHeader, d as useCurrentScope, f as useTasksWithLabels, g as detectStorage, h as TaskQueue, i as TaskPanel, l as getContextLabel, m as TaskQueueProvider, n as TaskSummaryDialog, o as TaskPanelCounter, p as useTaskQueue, r as TaskQueueTrigger, s as TaskPanelActions, t as TaskQueueDropdown, u as matchesCurrentScope, v as LocalTaskStorage, x as createUserMetadata, y as createOrgMetadata } from "../task-queue-dropdown-B7FCpfqr.mjs";
|
|
2
2
|
export { LocalTaskStorage, RedisTaskStorage, TaskPanel, TaskPanelActions, TaskPanelCounter, TaskPanelHeader, TaskPanelItem, TaskQueue, TaskQueueDropdown, TaskQueueProvider, TaskQueueTrigger, TaskSummaryDialog, createOrgMetadata, createProjectMetadata, createUserMetadata, detectStorage, getContextLabel, matchesCurrentScope, useCurrentScope, useTaskQueue, useTasksWithLabels };
|
|
@@ -1446,7 +1446,7 @@ function TaskQueueTrigger({ ref, tasks, ...props }) {
|
|
|
1446
1446
|
activeCount > 0 && /* @__PURE__ */ jsx(Badge, {
|
|
1447
1447
|
type: "tertiary",
|
|
1448
1448
|
theme: "solid",
|
|
1449
|
-
className: "bg-primary text-primary-foreground text-
|
|
1449
|
+
className: "bg-primary text-primary-foreground text-5xs absolute -top-1 -right-1 flex size-4 items-center justify-center rounded-full p-0 leading-0",
|
|
1450
1450
|
children: activeCount > 99 ? "99+" : activeCount
|
|
1451
1451
|
})
|
|
1452
1452
|
]
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as TimePicker } from "../time-picker-
|
|
1
|
+
import { t as TimePicker } from "../time-picker-DQlc2gKW.mjs";
|
|
2
2
|
export { TimePicker };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as useDeprecationWarning } from "./use-deprecation-warning-DXrGc0jX.mjs";
|
|
2
|
-
import { n as TimePicker$1 } from "./picker-
|
|
2
|
+
import { n as TimePicker$1 } from "./picker-BoKXW6_s.mjs";
|
|
3
3
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/features/time-picker/time-picker.tsx
|
|
5
5
|
const STEP_VALUES = [
|
|
@@ -4,7 +4,7 @@ import { Calendar } from "./calendar/index.mjs";
|
|
|
4
4
|
import { t as Input } from "./input-j4tbmYYz.mjs";
|
|
5
5
|
import { t as ResponsivePopover } from "./responsive-popover-8VcjBM2d.mjs";
|
|
6
6
|
import { i as SelectItem, l as SelectTrigger, n as SelectContent, t as Select, u as SelectValue } from "./select-D4pk9e2d.mjs";
|
|
7
|
-
import { F as zonedDateToIso, M as getBrowserTimezone, N as getTimezoneOffset, P as isoToZonedDate, U as endOfDayInTz, W as startOfDayInTz, j as formatTimezoneLabel, t as DateTimeRangePicker } from "./date-time-range-picker-
|
|
7
|
+
import { F as zonedDateToIso, M as getBrowserTimezone, N as getTimezoneOffset, P as isoToZonedDate, U as endOfDayInTz, W as startOfDayInTz, j as formatTimezoneLabel, t as DateTimeRangePicker } from "./date-time-range-picker-DM4AIvQ1.mjs";
|
|
8
8
|
import { t as useDeprecationWarning } from "./use-deprecation-warning-DXrGc0jX.mjs";
|
|
9
9
|
import { CalendarIcon, Globe } from "lucide-react";
|
|
10
10
|
import { useCallback, useEffect, useId, useRef, useState } from "react";
|
|
@@ -369,7 +369,7 @@ function QuickRangesPanel({ presets, value, onPresetSelect, className }) {
|
|
|
369
369
|
onClick: () => onPresetSelect(preset),
|
|
370
370
|
className: cn("flex items-center justify-between gap-2 rounded-lg px-3 py-1.5 text-xs transition-colors", "hover:bg-accent hover:text-accent-foreground", isSelected ? "bg-accent text-primary border-border border font-medium" : "border border-transparent"),
|
|
371
371
|
children: [/* @__PURE__ */ jsx("span", { children: preset.label }), /* @__PURE__ */ jsx("kbd", {
|
|
372
|
-
className: cn("bg-muted pointer-events-none hidden h-5 items-center gap-1 rounded border px-1.5 font-mono text-
|
|
372
|
+
className: cn("bg-muted pointer-events-none hidden h-5 items-center gap-1 rounded border px-1.5 font-mono text-4xs font-medium select-none sm:flex", isSelected ? "border-primary" : "bg-muted/50 border-transparent"),
|
|
373
373
|
children: preset.shortcut
|
|
374
374
|
})]
|
|
375
375
|
}, preset.key);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ListItem, c as Title, d as titleVariants, i as List, l as paragraphVariants, n as Code, o as Paragraph, r as Link, s as Text, t as Blockquote, u as textVariants } from "../typography-
|
|
1
|
+
import { a as ListItem, c as Title, d as titleVariants, i as List, l as paragraphVariants, n as Code, o as Paragraph, r as Link, s as Text, t as Blockquote, u as textVariants } from "../typography-DNQXFq1I.mjs";
|
|
2
2
|
export { Blockquote, Code, Link, List, ListItem, Paragraph, Text, Title, paragraphVariants, textVariants, titleVariants };
|
|
@@ -7,12 +7,12 @@ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
|
7
7
|
const titleVariants = cva("font-semibold leading-tight tracking-tight", {
|
|
8
8
|
variants: {
|
|
9
9
|
level: {
|
|
10
|
-
1: "text-
|
|
11
|
-
2: "text-
|
|
12
|
-
3: "text-
|
|
13
|
-
4: "text-
|
|
14
|
-
5: "text-
|
|
15
|
-
6: "text-
|
|
10
|
+
1: "text-4xl",
|
|
11
|
+
2: "text-3xl",
|
|
12
|
+
3: "text-2xl",
|
|
13
|
+
4: "text-xl",
|
|
14
|
+
5: "text-lg",
|
|
15
|
+
6: "text-base"
|
|
16
16
|
},
|
|
17
17
|
weight: {
|
|
18
18
|
normal: "font-normal",
|
|
@@ -27,28 +27,35 @@ const titleVariants = cva("font-semibold leading-tight tracking-tight", {
|
|
|
27
27
|
primary: "text-primary",
|
|
28
28
|
secondary: "text-secondary-foreground",
|
|
29
29
|
destructive: "text-destructive",
|
|
30
|
-
success: "text-
|
|
31
|
-
warning: "text-
|
|
32
|
-
info: "text-
|
|
30
|
+
success: "text-success",
|
|
31
|
+
warning: "text-warning",
|
|
32
|
+
info: "text-info"
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
defaultVariants: {
|
|
36
36
|
level: 4,
|
|
37
|
-
weight: "semibold"
|
|
38
|
-
textColor: "default"
|
|
37
|
+
weight: "semibold"
|
|
39
38
|
}
|
|
40
39
|
});
|
|
41
|
-
const textVariants = cva("
|
|
40
|
+
const textVariants = cva("", {
|
|
42
41
|
variants: {
|
|
43
42
|
size: {
|
|
43
|
+
"5xs": "text-5xs",
|
|
44
|
+
"4xs": "text-4xs",
|
|
45
|
+
"3xs": "text-3xs",
|
|
46
|
+
"2xs": "text-2xs",
|
|
44
47
|
"xs": "text-xs",
|
|
45
48
|
"sm": "text-sm",
|
|
46
|
-
"base": "text-
|
|
49
|
+
"base": "text-base",
|
|
47
50
|
"lg": "text-lg",
|
|
48
51
|
"xl": "text-xl",
|
|
49
52
|
"2xl": "text-2xl",
|
|
50
53
|
"3xl": "text-3xl",
|
|
51
|
-
"4xl": "text-4xl"
|
|
54
|
+
"4xl": "text-4xl",
|
|
55
|
+
"5xl": "text-5xl",
|
|
56
|
+
"6xl": "text-6xl",
|
|
57
|
+
"7xl": "text-7xl",
|
|
58
|
+
"8xl": "text-8xl"
|
|
52
59
|
},
|
|
53
60
|
weight: {
|
|
54
61
|
normal: "font-normal",
|
|
@@ -63,9 +70,9 @@ const textVariants = cva("leading-relaxed", {
|
|
|
63
70
|
primary: "text-primary",
|
|
64
71
|
secondary: "text-secondary-foreground",
|
|
65
72
|
destructive: "text-destructive",
|
|
66
|
-
success: "text-
|
|
67
|
-
warning: "text-
|
|
68
|
-
info: "text-
|
|
73
|
+
success: "text-success",
|
|
74
|
+
warning: "text-warning",
|
|
75
|
+
info: "text-info"
|
|
69
76
|
},
|
|
70
77
|
type: {
|
|
71
78
|
default: "",
|
|
@@ -78,20 +85,23 @@ const textVariants = cva("leading-relaxed", {
|
|
|
78
85
|
}
|
|
79
86
|
},
|
|
80
87
|
defaultVariants: {
|
|
81
|
-
size: "
|
|
88
|
+
size: "sm",
|
|
82
89
|
weight: "normal",
|
|
83
|
-
textColor: "default",
|
|
84
90
|
type: "default"
|
|
85
91
|
}
|
|
86
92
|
});
|
|
87
93
|
const paragraphVariants = cva("leading-relaxed", {
|
|
88
94
|
variants: {
|
|
89
95
|
size: {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
96
|
+
"5xs": "text-5xs",
|
|
97
|
+
"4xs": "text-4xs",
|
|
98
|
+
"3xs": "text-3xs",
|
|
99
|
+
"2xs": "text-2xs",
|
|
100
|
+
"xs": "text-xs",
|
|
101
|
+
"sm": "text-sm",
|
|
102
|
+
"base": "text-base",
|
|
103
|
+
"lg": "text-lg",
|
|
104
|
+
"xl": "text-xl"
|
|
95
105
|
},
|
|
96
106
|
spacing: {
|
|
97
107
|
tight: "leading-tight",
|
|
@@ -100,7 +110,7 @@ const paragraphVariants = cva("leading-relaxed", {
|
|
|
100
110
|
}
|
|
101
111
|
},
|
|
102
112
|
defaultVariants: {
|
|
103
|
-
size: "
|
|
113
|
+
size: "sm",
|
|
104
114
|
spacing: "normal"
|
|
105
115
|
}
|
|
106
116
|
});
|