@scmlatam/web-ui 0.2.14 → 0.2.15
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/src/pages/home/rb/sections/CssFoundationsSection.d.ts +1 -0
- package/dist/src/rb-components/shell/DashboardShell.d.ts +1 -1
- package/dist/src/rb-components/sidebar/Sidebar.d.ts +6 -1
- package/dist/src/rb-components/topbar/TopBar.d.ts +1 -1
- package/dist/src/rb-components/ui/primitives/IconButton.d.ts +1 -2
- package/dist/src/rb-components/ui/primitives/date-fields/DateShortcuts.d.ts +8 -2
- package/dist/src/rb-components/ui/primitives/date-fields/TimePickerPanel.d.ts +1 -1
- package/dist/web-ui.js +4131 -4048
- package/dist/web-ui.umd.cjs +158 -112
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function CssFoundationsSection(): import("react").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { DashboardProps } from '../../components/core/types/types';
|
|
2
|
-
declare const DashboardShell: ({ sidebar, routes, account }: DashboardProps) => import("react").JSX.Element;
|
|
2
|
+
declare const DashboardShell: ({ sidebar, routes, account, }: DashboardProps) => import("react").JSX.Element;
|
|
3
3
|
export { DashboardShell };
|
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
import { SidebarProps } from '../../components/core/types/types';
|
|
2
|
-
|
|
2
|
+
type ResponsiveSidebarProps = SidebarProps & {
|
|
3
|
+
isMobile?: boolean;
|
|
4
|
+
mobileOpen?: boolean;
|
|
5
|
+
onCloseMobile?: () => void;
|
|
6
|
+
};
|
|
7
|
+
declare const Sidebar: ({ items, signOut, tooltips, state, setState, getWidth, isMobile, mobileOpen, onCloseMobile, }: ResponsiveSidebarProps) => import("react").JSX.Element | null;
|
|
3
8
|
export { Sidebar };
|
|
@@ -6,5 +6,5 @@ interface TopBarProps {
|
|
|
6
6
|
sidebarItems: SidebarItemsType;
|
|
7
7
|
onOpenMobile?: () => void;
|
|
8
8
|
}
|
|
9
|
-
declare const TopBar: ({ account, sidebarItems, onOpenMobile }: TopBarProps) => import("react").JSX.Element;
|
|
9
|
+
declare const TopBar: ({ account, sidebarItems, onOpenMobile, }: TopBarProps) => import("react").JSX.Element;
|
|
10
10
|
export { TopBar };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
type IconButtonSize = "s" | "m" | "l";
|
|
2
|
+
export type IconButtonSize = "s" | "m" | "l";
|
|
3
3
|
export interface IconButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
4
4
|
active?: boolean;
|
|
5
5
|
size?: IconButtonSize;
|
|
6
6
|
}
|
|
7
7
|
export declare const IconButton: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
8
|
-
export {};
|
|
@@ -6,7 +6,10 @@ export interface DateShortcut {
|
|
|
6
6
|
}
|
|
7
7
|
export interface DateRangeShortcut {
|
|
8
8
|
label: string;
|
|
9
|
-
value: [
|
|
9
|
+
value: [
|
|
10
|
+
Dayjs | null,
|
|
11
|
+
Dayjs | null
|
|
12
|
+
];
|
|
10
13
|
}
|
|
11
14
|
type ShortcutVariant = "light" | "dark";
|
|
12
15
|
export declare function getDateShortcuts(): DateShortcut[];
|
|
@@ -19,7 +22,10 @@ interface DateShortcutsProps {
|
|
|
19
22
|
export declare function DateShortcuts({ shortcuts, onSelect, variant, }: DateShortcutsProps): React.JSX.Element;
|
|
20
23
|
interface DateRangeShortcutsProps {
|
|
21
24
|
shortcuts: DateRangeShortcut[];
|
|
22
|
-
onSelect: (value: [
|
|
25
|
+
onSelect: (value: [
|
|
26
|
+
Dayjs | null,
|
|
27
|
+
Dayjs | null
|
|
28
|
+
]) => void;
|
|
23
29
|
variant?: ShortcutVariant;
|
|
24
30
|
}
|
|
25
31
|
export declare function DateRangeShortcuts({ shortcuts, onSelect, variant, }: DateRangeShortcutsProps): React.JSX.Element;
|
|
@@ -3,5 +3,5 @@ interface TimePickerPanelProps {
|
|
|
3
3
|
value: Dayjs | null;
|
|
4
4
|
onChange: (newValue: Dayjs) => void;
|
|
5
5
|
}
|
|
6
|
-
export declare function TimePickerPanel({ value, onChange }: TimePickerPanelProps): import("react").JSX.Element;
|
|
6
|
+
export declare function TimePickerPanel({ value, onChange, }: TimePickerPanelProps): import("react").JSX.Element;
|
|
7
7
|
export {};
|