impact-nova 1.5.13 → 1.5.14
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/ui/calendar.js +2 -3
- package/dist/components/ui/command-palette/command-palette.d.ts +5 -2
- package/dist/components/ui/command-palette/command-palette.js +242 -225
- package/dist/components/ui/command-palette/shortcut-settings.js +69 -58
- package/dist/components/ui/sidebar.js +145 -152
- package/dist/impact-nova.css +1 -1
- package/package.json +1 -1
|
@@ -4,13 +4,12 @@ import { ChevronLeftIcon as we, ChevronRightIcon as ye } from "lucide-react";
|
|
|
4
4
|
import { getDefaultClassNames as Fe, DayPicker as He } from "react-day-picker";
|
|
5
5
|
import { cn as f } from "../../lib/utils.js";
|
|
6
6
|
import { Button as A } from "./button.js";
|
|
7
|
-
import "./button-variants.js";
|
|
8
7
|
import ce from "./select/select.js";
|
|
9
8
|
import { FISCAL_PATTERNS as Be, resolveWeekSelection as Te } from "../../lib/fiscal-calendar.js";
|
|
10
9
|
import { getIntlLocale as We, getDateFnsLocale as qe } from "../../i18n/getDateFnsLocale.js";
|
|
11
10
|
import { useImpactNovaI18n as Ge } from "../../i18n/ImpactNovaI18nContext.js";
|
|
12
11
|
const fe = u.createContext(0);
|
|
13
|
-
function
|
|
12
|
+
function at({
|
|
14
13
|
className: ae,
|
|
15
14
|
classNames: J,
|
|
16
15
|
showOutsideDays: D = !1,
|
|
@@ -751,6 +750,6 @@ function Je({
|
|
|
751
750
|
);
|
|
752
751
|
}
|
|
753
752
|
export {
|
|
754
|
-
|
|
753
|
+
at as Calendar,
|
|
755
754
|
Je as CalendarDayButton
|
|
756
755
|
};
|
|
@@ -29,6 +29,8 @@ interface CommandPaletteLabels {
|
|
|
29
29
|
runLabel?: string;
|
|
30
30
|
/** Label for the close hint in the footer */
|
|
31
31
|
closeLabel?: string;
|
|
32
|
+
/** Label for the configure shortcuts hint in the footer */
|
|
33
|
+
configureShortcutsLabel?: string;
|
|
32
34
|
}
|
|
33
35
|
export interface CommandPaletteProps extends CommandPaletteLabels {
|
|
34
36
|
className?: string;
|
|
@@ -40,7 +42,7 @@ export interface CommandPaletteProps extends CommandPaletteLabels {
|
|
|
40
42
|
/** Called when the palette opens/closes */
|
|
41
43
|
onOpenChange?: (open: boolean) => void;
|
|
42
44
|
}
|
|
43
|
-
declare function CommandPalette({ className, children, commands: externalCommands, placeholder, emptyTitle, emptyDescription, recentGroupLabel, defaultGroupLabel, navigateLabel, runLabel, closeLabel, onCommandExecute, onOpenChange, }: CommandPaletteProps): import("react/jsx-runtime").JSX.Element;
|
|
45
|
+
declare function CommandPalette({ className, children, commands: externalCommands, placeholder, emptyTitle, emptyDescription, recentGroupLabel, defaultGroupLabel, navigateLabel, runLabel, closeLabel, configureShortcutsLabel, onCommandExecute, onOpenChange, }: CommandPaletteProps): import("react/jsx-runtime").JSX.Element;
|
|
44
46
|
declare namespace CommandPalette {
|
|
45
47
|
var displayName: string;
|
|
46
48
|
}
|
|
@@ -63,8 +65,9 @@ declare const CommandPaletteItem: React.ForwardRefExoticComponent<CommandPalette
|
|
|
63
65
|
export interface CommandPaletteShortcutProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
64
66
|
keybinding: KeyBinding;
|
|
65
67
|
isSelected?: boolean;
|
|
68
|
+
external?: boolean;
|
|
66
69
|
}
|
|
67
|
-
declare function CommandPaletteShortcut({ keybinding, isSelected, className, ...props }: CommandPaletteShortcutProps): import("react/jsx-runtime").JSX.Element;
|
|
70
|
+
declare function CommandPaletteShortcut({ keybinding, isSelected, external, className, ...props }: CommandPaletteShortcutProps): import("react/jsx-runtime").JSX.Element;
|
|
68
71
|
declare namespace CommandPaletteShortcut {
|
|
69
72
|
var displayName: string;
|
|
70
73
|
}
|