@leonardaustin/ui 0.27.0 → 0.28.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/charts/AreaChart.js +113 -114
- package/dist/components/charts/Heatmap.d.ts +20 -0
- package/dist/components/charts/Heatmap.js +46 -0
- package/dist/components/charts/chartUtils.d.ts +2 -0
- package/dist/components/charts/chartUtils.js +14 -9
- package/dist/components/charts/useChartSize.d.ts +5 -0
- package/dist/components/charts/useChartSize.js +18 -0
- package/dist/components/tables/Pagination.d.ts +3 -1
- package/dist/components/tables/Pagination.js +12 -12
- package/dist/components/tables/ResourceTable.d.ts +5 -0
- package/dist/components/tables/ResourceTable.js +11 -9
- package/dist/components/tables/Table.d.ts +22 -3
- package/dist/components/tables/Table.js +41 -35
- package/dist/components/ui/ActionLink.d.ts +14 -0
- package/dist/components/ui/ActionLink.js +12 -0
- package/dist/components/ui/DateRangePicker.js +107 -76
- package/dist/components/ui/EmptyState.d.ts +8 -6
- package/dist/components/ui/EmptyState.js +11 -10
- package/dist/components/ui/ErrorBoundary.d.ts +6 -0
- package/dist/components/ui/ErrorBoundary.js +11 -5
- package/dist/components/ui/Grid.d.ts +1 -1
- package/dist/components/ui/Icon.d.ts +91 -0
- package/dist/components/ui/Icon.js +98 -0
- package/dist/components/ui/Inline.d.ts +1 -1
- package/dist/components/ui/LoadingSpinner.d.ts +7 -3
- package/dist/components/ui/LoadingSpinner.js +19 -11
- package/dist/components/ui/Meter.d.ts +11 -0
- package/dist/components/ui/Meter.js +7 -0
- package/dist/components/ui/MetricCard.d.ts +11 -8
- package/dist/components/ui/MetricCard.js +18 -15
- package/dist/components/ui/PaginationBar.d.ts +3 -3
- package/dist/components/ui/PaginationBar.js +35 -33
- package/dist/components/ui/SideSheet.d.ts +4 -2
- package/dist/components/ui/SideSheet.js +64 -52
- package/dist/components/ui/Stack.d.ts +1 -1
- package/dist/components/ui/Tabs.d.ts +5 -1
- package/dist/components/ui/Tabs.js +23 -21
- package/dist/components/ui/Text.d.ts +19 -0
- package/dist/components/ui/Text.js +20 -0
- package/dist/components/ui/Toolbar.js +13 -13
- package/dist/core.css +105 -0
- package/dist/hooks/useFocusTrap.js +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.js +134 -129
- package/dist/styles.css +106 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,132 +2,137 @@ import { cn as e } from "./lib/cn.js";
|
|
|
2
2
|
import { AreaChart as t } from "./components/charts/AreaChart.js";
|
|
3
3
|
import { BarChart as n } from "./components/charts/BarChart.js";
|
|
4
4
|
import { DonutChart as r } from "./components/charts/DonutChart.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
|
|
5
|
+
import { Table as i, TableBody as a, TableCell as o, TableEmptyRow as s, TableFoot as c, TableHead as l, TableHeaderCell as u, TableRow as d } from "./components/tables/Table.js";
|
|
6
|
+
import { Heatmap as f } from "./components/charts/Heatmap.js";
|
|
7
|
+
import { RadarChart as p } from "./components/charts/RadarChart.js";
|
|
8
|
+
import { RadialBarChart as m } from "./components/charts/RadialBarChart.js";
|
|
9
|
+
import { SparkLine as h } from "./components/charts/SparkLine.js";
|
|
10
|
+
import { StackedBarChart as g } from "./components/charts/StackedBarChart.js";
|
|
11
|
+
import { VerticalBarChart as _ } from "./components/charts/VerticalBarChart.js";
|
|
12
|
+
import { handleAppShellNavigate as v, isAppShellPathActive as y, navigateToPath as b } from "./components/app-shell/navigation.js";
|
|
13
|
+
import { BottomNav as x } from "./components/app-shell/BottomNav.js";
|
|
14
|
+
import { useFocusTrap as S } from "./hooks/useFocusTrap.js";
|
|
15
|
+
import { COMMAND_PALETTE_EVENT as C, DEFAULT_COMMAND_PALETTE_SHORTCUT as w, matchesCommandPaletteShortcut as T, openCommandPalette as E } from "./components/app-shell/commandPaletteEvents.js";
|
|
16
|
+
import { CommandPalette as D } from "./components/app-shell/CommandPalette.js";
|
|
17
|
+
import { PortalContainerContext as O, usePortalContainer as k } from "./hooks/usePortalContainer.js";
|
|
18
|
+
import { MobileDrawer as A } from "./components/app-shell/MobileDrawer.js";
|
|
19
|
+
import { accentItems as j, darkThemes as M, fontOptions as N, isLightTheme as P, lightThemes as F, themeDefaults as I, themeItems as L } from "./config/theme.js";
|
|
20
|
+
import { useAnchoredPopup as R } from "./hooks/useAnchoredPopup.js";
|
|
21
|
+
import { useDismiss as z } from "./hooks/useDismiss.js";
|
|
22
|
+
import { SettingsContext as B } from "./providers/SettingsContext.js";
|
|
23
|
+
import { useSettings as V } from "./hooks/useSettings.js";
|
|
24
|
+
import { Avatar as H } from "./components/ui/Avatar.js";
|
|
25
|
+
import { isTone as U, semanticTones as W, toneClasses as G, toneColor as K, tones as q } from "./lib/tones.js";
|
|
26
|
+
import { ToastProvider as J, useToast as Y } from "./components/ui/Toast.js";
|
|
27
|
+
import { Sidebar as X } from "./components/app-shell/Sidebar.js";
|
|
28
|
+
import { Breadcrumbs as Z } from "./components/app-shell/Breadcrumbs.js";
|
|
29
|
+
import { useApplyTheme as Q } from "./hooks/useApplyTheme.js";
|
|
30
|
+
import { useControlSize as $ } from "./providers/ControlSizeContext.js";
|
|
31
|
+
import { Button as ee } from "./components/ui/Button.js";
|
|
32
|
+
import { SectionHeader as te } from "./components/ui/SectionHeader.js";
|
|
33
|
+
import { usePopover as ne } from "./hooks/usePopover.js";
|
|
34
|
+
import { SelectDropdown as re } from "./components/ui/SelectDropdown.js";
|
|
35
|
+
import { Slider as ie } from "./components/ui/Slider.js";
|
|
36
|
+
import { ThemePreview as ae } from "./components/ui/ThemePreview.js";
|
|
37
|
+
import { Toggle as oe } from "./components/ui/Toggle.js";
|
|
38
|
+
import { THEME_MENU_EVENT as se, openThemeMenu as ce } from "./components/app-shell/themeMenuEvents.js";
|
|
39
|
+
import { ThemeMenu as le } from "./components/app-shell/ThemeMenu.js";
|
|
40
|
+
import { TopBar as ue } from "./components/app-shell/TopBar.js";
|
|
41
|
+
import { AppShell as de } from "./components/app-shell/AppShell.js";
|
|
42
|
+
import { AuthLayout as fe } from "./components/app-shell/AuthLayout.js";
|
|
43
|
+
import { BackLink as pe } from "./components/app-shell/BackLink.js";
|
|
44
|
+
import { Checkbox as me } from "./components/ui/Checkbox.js";
|
|
45
|
+
import { FilterButton as he } from "./components/ui/FilterButton.js";
|
|
46
|
+
import { ColumnPicker as ge } from "./components/tables/ColumnPicker.js";
|
|
47
|
+
import { Pagination as _e } from "./components/tables/Pagination.js";
|
|
48
|
+
import { sortRows as ve } from "./components/tables/sortRows.js";
|
|
49
|
+
import { ResourceTable as ye } from "./components/tables/ResourceTable.js";
|
|
50
|
+
import { Disclosure as be } from "./components/ui/Disclosure.js";
|
|
51
|
+
import { Accordion as xe } from "./components/ui/Accordion.js";
|
|
52
|
+
import { Alert as Se } from "./components/ui/Alert.js";
|
|
53
|
+
import { AudioPlayer as Ce } from "./components/ui/AudioPlayer.js";
|
|
54
|
+
import { AuthCard as we } from "./components/ui/AuthCard.js";
|
|
55
|
+
import { AuthorByline as Te } from "./components/ui/AuthorByline.js";
|
|
56
|
+
import { Badge as Ee } from "./components/ui/Badge.js";
|
|
57
|
+
import { badgeColors as De } from "./components/ui/badgeColors.js";
|
|
58
|
+
import { addDays as Oe, addMinutes as ke, addMonths as Ae, calendarDateFromParts as je, calendarDateParts as Me, createCalendarDateMath as Ne, dateAtMinutes as Pe, differenceInDays as Fe, expandAvailabilityRules as Ie, formatRangeTitle as Le, formatTime as Re, formatTimeOfDay as ze, formatTimeRange as Be, fromDateKey as Ve, getActiveResourceIds as He, getViewRange as Ue, getVisibleDays as We, isAllDayLike as Ge, isSameDay as Ke, isTimeGridView as qe, layoutOverlaps as Je, minutesOfDay as Ye, parseTime as Xe, rangesOverlap as Ze, shiftDate as Qe, snapDate as $e, snapMinutes as et, startOfDay as tt, startOfMonth as nt, startOfWeek as rt, toDateKey as it } from "./lib/calendar.js";
|
|
59
|
+
import { DEFAULT_CALENDAR_LABELS as at } from "./components/ui/calendar/types.js";
|
|
60
|
+
import { RadioPill as ot } from "./components/ui/RadioPill.js";
|
|
61
|
+
import { Calendar as st } from "./components/ui/Calendar.js";
|
|
62
|
+
import { CalendarGrid as ct } from "./components/ui/CalendarGrid.js";
|
|
63
|
+
import { Card as lt } from "./components/ui/Card.js";
|
|
64
|
+
import { CodeInput as ut } from "./components/ui/CodeInput.js";
|
|
65
|
+
import { Combobox as dt } from "./components/ui/Combobox.js";
|
|
66
|
+
import { CopyButton as ft } from "./components/ui/CopyButton.js";
|
|
67
|
+
import { DangerZone as pt } from "./components/ui/DangerZone.js";
|
|
68
|
+
import { DatePicker as mt } from "./components/ui/DatePicker.js";
|
|
69
|
+
import { DateRangePicker as ht } from "./components/ui/DateRangePicker.js";
|
|
70
|
+
import { DateTimePicker as gt } from "./components/ui/DateTimePicker.js";
|
|
71
|
+
import { DetailPanel as _t } from "./components/ui/DetailPanel.js";
|
|
72
|
+
import { Dialog as vt } from "./components/ui/Dialog.js";
|
|
73
|
+
import { DialogActions as yt } from "./components/ui/DialogActions.js";
|
|
74
|
+
import { DividerLabel as bt } from "./components/ui/DividerLabel.js";
|
|
75
|
+
import { DropdownMenu as xt } from "./components/ui/DropdownMenu.js";
|
|
76
|
+
import { EmptyState as St } from "./components/ui/EmptyState.js";
|
|
77
|
+
import { ErrorBoundary as Ct } from "./components/ui/ErrorBoundary.js";
|
|
78
|
+
import { FilterDropdown as wt } from "./components/ui/FilterDropdown.js";
|
|
79
|
+
import { Kbd as Tt } from "./components/ui/Kbd.js";
|
|
80
|
+
import { LoadingSpinner as Et } from "./components/ui/LoadingSpinner.js";
|
|
81
|
+
import { ListItemLink as Dt } from "./components/ui/ListItemLink.js";
|
|
82
|
+
import { MessageBubble as Ot } from "./components/ui/MessageBubble.js";
|
|
83
|
+
import { MetadataGrid as kt } from "./components/ui/MetadataGrid.js";
|
|
84
|
+
import { MetricCard as At } from "./components/ui/MetricCard.js";
|
|
85
|
+
import { OAuthButton as jt } from "./components/ui/OAuthButton.js";
|
|
86
|
+
import { OverlineLabel as Mt } from "./components/ui/OverlineLabel.js";
|
|
87
|
+
import { PageHeader as Nt } from "./components/ui/PageHeader.js";
|
|
88
|
+
import { PageSection as Pt } from "./components/ui/PageSection.js";
|
|
89
|
+
import { PaginationBar as Ft } from "./components/ui/PaginationBar.js";
|
|
90
|
+
import { PasswordInput as It } from "./components/ui/PasswordInput.js";
|
|
91
|
+
import { defaultPasswordRequirements as Lt, meetsPasswordRequirements as Rt } from "./lib/passwordRequirements.js";
|
|
92
|
+
import { PasswordRequirements as zt } from "./components/ui/PasswordRequirements.js";
|
|
93
|
+
import { Popover as Bt } from "./components/ui/Popover.js";
|
|
94
|
+
import { ProfileHeader as Vt } from "./components/ui/ProfileHeader.js";
|
|
95
|
+
import { ProseContent as Ht } from "./components/ui/ProseContent.js";
|
|
96
|
+
import { QrCapacityError as Ut, encodeQrCode as Wt } from "./lib/qrCode.js";
|
|
97
|
+
import { QrCode as Gt } from "./components/ui/QrCode.js";
|
|
98
|
+
import { ReorderList as Kt } from "./components/ui/ReorderList.js";
|
|
99
|
+
import { SearchInput as qt } from "./components/ui/SearchInput.js";
|
|
100
|
+
import { Select as Jt } from "./components/ui/Select.js";
|
|
101
|
+
import { SettingRow as Yt } from "./components/ui/SettingRow.js";
|
|
102
|
+
import { SideSheet as Xt } from "./components/ui/SideSheet.js";
|
|
103
|
+
import { SplitPaneLayout as Zt } from "./components/ui/SplitPaneLayout.js";
|
|
104
|
+
import { StatusDot as Qt } from "./components/ui/StatusDot.js";
|
|
105
|
+
import { StepProgress as $t } from "./components/ui/StepProgress.js";
|
|
106
|
+
import { Tabs as en } from "./components/ui/Tabs.js";
|
|
107
|
+
import { Textarea as tn } from "./components/ui/Textarea.js";
|
|
108
|
+
import { TextInput as nn } from "./components/ui/TextInput.js";
|
|
109
|
+
import { TimeInput as rn } from "./components/ui/TimeInput.js";
|
|
110
|
+
import { Timeline as an } from "./components/ui/Timeline.js";
|
|
111
|
+
import { TranscriptLine as on } from "./components/ui/TranscriptLine.js";
|
|
112
|
+
import { Tooltip as sn } from "./components/ui/Tooltip.js";
|
|
113
|
+
import { Toolbar as cn } from "./components/ui/Toolbar.js";
|
|
114
|
+
import { UploadDropzone as ln } from "./components/ui/UploadDropzone.js";
|
|
115
|
+
import { ThemeContext as un } from "./providers/ThemeContext.js";
|
|
116
|
+
import { useTheme as dn } from "./hooks/useTheme.js";
|
|
117
|
+
import { formatDateLong as fn, formatDateShort as pn, formatRelative as mn } from "./lib/formatDate.js";
|
|
118
|
+
import { SettingsProvider as hn } from "./providers/SettingsProvider.js";
|
|
119
|
+
import { ThemeProvider as gn } from "./providers/ThemeProvider.js";
|
|
120
|
+
import { FieldError as _n, FieldHint as vn, FormField as yn } from "./components/ui/FormField.js";
|
|
121
|
+
import { Fieldset as bn } from "./components/ui/Fieldset.js";
|
|
122
|
+
import { Radio as xn } from "./components/ui/Radio.js";
|
|
123
|
+
import { AttachmentItem as Sn, AttachmentList as Cn } from "./components/ui/AttachmentList.js";
|
|
124
|
+
import { DatePartsInput as wn } from "./components/ui/DatePartsInput.js";
|
|
125
|
+
import { Skeleton as Tn } from "./components/ui/Skeleton.js";
|
|
126
|
+
import { NavTabs as En } from "./components/ui/NavTabs.js";
|
|
127
|
+
import { CharacterCount as Dn } from "./components/ui/CharacterCount.js";
|
|
128
|
+
import { ControlSizeProvider as On } from "./providers/ControlSizeProvider.js";
|
|
129
|
+
import { ProgressBar as kn } from "./components/ui/ProgressBar.js";
|
|
130
|
+
import { Stack as An } from "./components/ui/Stack.js";
|
|
131
|
+
import { Inline as jn } from "./components/ui/Inline.js";
|
|
132
|
+
import { Grid as Mn } from "./components/ui/Grid.js";
|
|
133
|
+
import { GridItem as Nn } from "./components/ui/GridItem.js";
|
|
134
|
+
import { ActionLink as Pn } from "./components/ui/ActionLink.js";
|
|
135
|
+
import { Icon as Fn } from "./components/ui/Icon.js";
|
|
136
|
+
import { Text as In } from "./components/ui/Text.js";
|
|
137
|
+
import { Meter as Ln } from "./components/ui/Meter.js";
|
|
138
|
+
export { xe as Accordion, Pn as ActionLink, Se as Alert, de as AppShell, t as AreaChart, Sn as AttachmentItem, Cn as AttachmentList, Ce as AudioPlayer, we as AuthCard, fe as AuthLayout, Te as AuthorByline, H as Avatar, pe as BackLink, Ee as Badge, n as BarChart, x as BottomNav, Z as Breadcrumbs, ee as Button, C as COMMAND_PALETTE_EVENT, st as Calendar, ct as CalendarGrid, lt as Card, Dn as CharacterCount, me as Checkbox, ut as CodeInput, ge as ColumnPicker, dt as Combobox, D as CommandPalette, On as ControlSizeProvider, ft as CopyButton, at as DEFAULT_CALENDAR_LABELS, w as DEFAULT_COMMAND_PALETTE_SHORTCUT, pt as DangerZone, wn as DatePartsInput, mt as DatePicker, ht as DateRangePicker, gt as DateTimePicker, _t as DetailPanel, vt as Dialog, yt as DialogActions, be as Disclosure, bt as DividerLabel, r as DonutChart, xt as DropdownMenu, St as EmptyState, Ct as ErrorBoundary, _n as FieldError, vn as FieldHint, bn as Fieldset, he as FilterButton, wt as FilterDropdown, yn as FormField, Mn as Grid, Nn as GridItem, f as Heatmap, Fn as Icon, jn as Inline, Tt as Kbd, Dt as ListItemLink, Et as LoadingSpinner, Ot as MessageBubble, kt as MetadataGrid, Ln as Meter, At as MetricCard, A as MobileDrawer, En as NavTabs, jt as OAuthButton, Mt as OverlineLabel, Nt as PageHeader, Pt as PageSection, _e as Pagination, Ft as PaginationBar, It as PasswordInput, zt as PasswordRequirements, Bt as Popover, O as PortalContainerContext, Vt as ProfileHeader, kn as ProgressBar, Ht as ProseContent, Ut as QrCapacityError, Gt as QrCode, p as RadarChart, m as RadialBarChart, xn as Radio, ot as RadioPill, Kt as ReorderList, ye as ResourceTable, qt as SearchInput, te as SectionHeader, Jt as Select, re as SelectDropdown, Yt as SettingRow, B as SettingsContext, hn as SettingsProvider, Xt as SideSheet, X as Sidebar, Tn as Skeleton, ie as Slider, h as SparkLine, Zt as SplitPaneLayout, An as Stack, g as StackedBarChart, Qt as StatusDot, $t as StepProgress, se as THEME_MENU_EVENT, i as Table, a as TableBody, o as TableCell, s as TableEmptyRow, c as TableFoot, l as TableHead, u as TableHeaderCell, d as TableRow, en as Tabs, In as Text, nn as TextInput, tn as Textarea, un as ThemeContext, le as ThemeMenu, ae as ThemePreview, gn as ThemeProvider, rn as TimeInput, an as Timeline, J as ToastProvider, oe as Toggle, cn as Toolbar, sn as Tooltip, ue as TopBar, on as TranscriptLine, ln as UploadDropzone, _ as VerticalBarChart, j as accentItems, Oe as addDays, ke as addMinutes, Ae as addMonths, De as badgeColors, je as calendarDateFromParts, Me as calendarDateParts, e as cn, Ne as createCalendarDateMath, M as darkThemes, Pe as dateAtMinutes, Lt as defaultPasswordRequirements, Fe as differenceInDays, Wt as encodeQrCode, Ie as expandAvailabilityRules, N as fontOptions, fn as formatDateLong, pn as formatDateShort, Le as formatRangeTitle, mn as formatRelative, Re as formatTime, ze as formatTimeOfDay, Be as formatTimeRange, Ve as fromDateKey, He as getActiveResourceIds, Ue as getViewRange, We as getVisibleDays, v as handleAppShellNavigate, Ge as isAllDayLike, y as isAppShellPathActive, P as isLightTheme, Ke as isSameDay, qe as isTimeGridView, U as isTone, Je as layoutOverlaps, F as lightThemes, T as matchesCommandPaletteShortcut, Rt as meetsPasswordRequirements, Ye as minutesOfDay, b as navigateToPath, E as openCommandPalette, ce as openThemeMenu, Xe as parseTime, Ze as rangesOverlap, W as semanticTones, Qe as shiftDate, $e as snapDate, et as snapMinutes, ve as sortRows, tt as startOfDay, nt as startOfMonth, rt as startOfWeek, I as themeDefaults, L as themeItems, it as toDateKey, G as toneClasses, K as toneColor, q as tones, R as useAnchoredPopup, Q as useApplyTheme, $ as useControlSize, z as useDismiss, S as useFocusTrap, ne as usePopover, k as usePortalContainer, V as useSettings, dn as useTheme, Y as useToast };
|
package/dist/styles.css
CHANGED
|
@@ -2869,6 +2869,32 @@ select:disabled + .ui-select-placeholder {
|
|
|
2869
2869
|
|
|
2870
2870
|
/* Component defaults stay below consumer utilities in the cascade. */
|
|
2871
2871
|
@layer components {
|
|
2872
|
+
.ui-toolbar-start {
|
|
2873
|
+
display: flex;
|
|
2874
|
+
flex: auto;
|
|
2875
|
+
}
|
|
2876
|
+
.ui-toolbar-start:empty {
|
|
2877
|
+
display: none;
|
|
2878
|
+
}
|
|
2879
|
+
.ui-toolbar-end {
|
|
2880
|
+
margin-inline-start: auto;
|
|
2881
|
+
}
|
|
2882
|
+
:where(.ui-toolbar-start, .ui-toolbar-end),
|
|
2883
|
+
:where(.ui-toolbar-start, .ui-toolbar-end) > * {
|
|
2884
|
+
max-width: 100%;
|
|
2885
|
+
}
|
|
2886
|
+
:where(.ui-toolbar-start, .ui-toolbar-end) > * {
|
|
2887
|
+
min-width: 0;
|
|
2888
|
+
}
|
|
2889
|
+
|
|
2890
|
+
@media (width < 640px) {
|
|
2891
|
+
/* The narrow layout takes precedence over the inline drag width and cap. */
|
|
2892
|
+
.ui-sheet-full-narrow {
|
|
2893
|
+
width: 100% !important;
|
|
2894
|
+
max-width: 100% !important;
|
|
2895
|
+
}
|
|
2896
|
+
}
|
|
2897
|
+
|
|
2872
2898
|
@media (width < 40rem) {
|
|
2873
2899
|
.ui-pagination-count:where(:not(:focus-within)) {
|
|
2874
2900
|
clip-path: inset(50%);
|
|
@@ -3072,6 +3098,17 @@ select:disabled + .ui-select-placeholder {
|
|
|
3072
3098
|
border: var(--ui-border-width, 1px) solid var(--border);
|
|
3073
3099
|
border-radius: var(--ui-radius-md);
|
|
3074
3100
|
background-color: var(--bg-table, transparent);
|
|
3101
|
+
inline-size: 100%;
|
|
3102
|
+
container: ui-table / inline-size;
|
|
3103
|
+
}
|
|
3104
|
+
@container ui-table (max-width: 32rem) {
|
|
3105
|
+
.ui-table-wrap
|
|
3106
|
+
> .ui-table
|
|
3107
|
+
> :is(thead, tbody, tfoot)
|
|
3108
|
+
> tr
|
|
3109
|
+
> .ui-table-low-priority {
|
|
3110
|
+
display: none !important;
|
|
3111
|
+
}
|
|
3075
3112
|
}
|
|
3076
3113
|
.ui-table {
|
|
3077
3114
|
width: 100%;
|
|
@@ -3090,6 +3127,46 @@ select:disabled + .ui-select-placeholder {
|
|
|
3090
3127
|
letter-spacing: var(--ui-tracking);
|
|
3091
3128
|
text-transform: uppercase;
|
|
3092
3129
|
}
|
|
3130
|
+
.ui-table-wrap-embedded {
|
|
3131
|
+
border: 0;
|
|
3132
|
+
border-radius: 0;
|
|
3133
|
+
background-color: transparent;
|
|
3134
|
+
}
|
|
3135
|
+
.ui-table-wrap-embedded > .ui-table:not(.ui-table-sticky) > .ui-table-head {
|
|
3136
|
+
background-color: transparent;
|
|
3137
|
+
}
|
|
3138
|
+
.ui-table-wrap-embedded > .ui-table > .ui-table-body > tr + tr {
|
|
3139
|
+
border-top: 0;
|
|
3140
|
+
}
|
|
3141
|
+
.ui-table-compact {
|
|
3142
|
+
font-size: var(--ui-control-font-size, var(--text-xs));
|
|
3143
|
+
}
|
|
3144
|
+
.ui-table-compact
|
|
3145
|
+
> :is(thead, tbody, tfoot)
|
|
3146
|
+
> tr
|
|
3147
|
+
> :is(th, td):not(.ui-table-empty-cell) {
|
|
3148
|
+
padding-inline: var(--ui-table-cell-padding-x, calc(var(--spacing) * 2));
|
|
3149
|
+
padding-block: var(--ui-table-cell-padding-y, calc(var(--spacing) * 1.5));
|
|
3150
|
+
}
|
|
3151
|
+
.ui-table-header-band > thead > tr > th {
|
|
3152
|
+
color: var(--text-primary);
|
|
3153
|
+
background-color: var(--bg-hover);
|
|
3154
|
+
font-size: inherit;
|
|
3155
|
+
letter-spacing: normal;
|
|
3156
|
+
text-transform: none;
|
|
3157
|
+
}
|
|
3158
|
+
:where(.theme-glass) .ui-table-header-band > thead > tr > th {
|
|
3159
|
+
background-color: var(--glass-solid-hover);
|
|
3160
|
+
}
|
|
3161
|
+
:where(
|
|
3162
|
+
.ui-table-striped > tbody > tr:nth-child(odd):not(.ui-table-empty-row)
|
|
3163
|
+
) {
|
|
3164
|
+
background-color: var(--bg-active);
|
|
3165
|
+
}
|
|
3166
|
+
.ui-table-foot {
|
|
3167
|
+
border-top: var(--ui-border-width, 1px) solid var(--border);
|
|
3168
|
+
font-weight: 600;
|
|
3169
|
+
}
|
|
3093
3170
|
.ui-table-sort-button {
|
|
3094
3171
|
display: inline-flex;
|
|
3095
3172
|
align-items: center;
|
|
@@ -3647,3 +3724,32 @@ button[data-pressed="true"][data-variant="link"] {
|
|
|
3647
3724
|
button[data-variant="link"]:disabled:hover {
|
|
3648
3725
|
text-decoration: none;
|
|
3649
3726
|
}
|
|
3727
|
+
|
|
3728
|
+
.ui-heatmap {
|
|
3729
|
+
font-variant-numeric: tabular-nums;
|
|
3730
|
+
white-space: nowrap;
|
|
3731
|
+
}
|
|
3732
|
+
.ui-heatmap td[data-intensity] {
|
|
3733
|
+
text-align: center;
|
|
3734
|
+
background-color: color-mix(
|
|
3735
|
+
in srgb,
|
|
3736
|
+
var(--accent) var(--heatmap-tint, 0%),
|
|
3737
|
+
var(--bg-primary)
|
|
3738
|
+
);
|
|
3739
|
+
}
|
|
3740
|
+
.ui-heatmap td[data-intensity="1"] {
|
|
3741
|
+
--heatmap-tint: 10%;
|
|
3742
|
+
}
|
|
3743
|
+
.ui-heatmap td[data-intensity="2"] {
|
|
3744
|
+
--heatmap-tint: 20%;
|
|
3745
|
+
}
|
|
3746
|
+
.ui-heatmap td[data-intensity="3"] {
|
|
3747
|
+
--heatmap-tint: 30%;
|
|
3748
|
+
}
|
|
3749
|
+
.ui-heatmap td[data-intensity="4"] {
|
|
3750
|
+
--heatmap-tint: 40%;
|
|
3751
|
+
}
|
|
3752
|
+
.ui-heatmap td[data-intensity="missing"] {
|
|
3753
|
+
color: var(--text-secondary);
|
|
3754
|
+
background-color: var(--bg-secondary);
|
|
3755
|
+
}
|