@scmlatam/web-ui 0.2.13 → 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.
@@ -19,3 +19,5 @@ export { Sidebar, SidebarContent, SidebarFooter, SidebarHeader, } from '../rb-co
19
19
  export { TopBar, TopBarUserMenu } from '../rb-components/topbar';
20
20
  export { TreePanel, findNodeById, flattenTree, getExpandableNodeIds, getNodeSelectionState, getSelectableDescendantIds, getSelectableSubtreeIds, hasNodeChildren, isNodeSelectable, isNodeSelectionMutable, normalizeHierarchicalSelection, toggleExpandedNode, toggleNodeSelection, } from '../rb-components/tree-panel';
21
21
  export type { GetSelectableSubtreeOptions, TreePanelExpandedChangeDetails, TreePanelIdCollection, TreePanelNode, TreePanelNodeId, TreePanelProps, TreePanelRenderNodeParams, TreePanelSelectionChangeDetails, TreePanelSelectionState, } from '../rb-components/tree-panel';
22
+ export { getRbImageUrl, rbImages } from '../rb-components/images';
23
+ export type { RbImageName } from '../rb-components/images';
@@ -0,0 +1 @@
1
+ export declare function CssFoundationsSection(): import("react").JSX.Element;
@@ -0,0 +1,36 @@
1
+ export declare const rbImages: {
2
+ readonly conejo: string;
3
+ readonly grLight: string;
4
+ readonly add: string;
5
+ readonly analytics: string;
6
+ readonly arrow: string;
7
+ readonly arrowBread: string;
8
+ readonly arrowBack: string;
9
+ readonly arrowRight: string;
10
+ readonly check: string;
11
+ readonly checkReview: string;
12
+ readonly clock: string;
13
+ readonly close: string;
14
+ readonly download: string;
15
+ readonly edit: string;
16
+ readonly feedbackError: string;
17
+ readonly feedbackInfo: string;
18
+ readonly feedbackSuccess: string;
19
+ readonly feedbackSuggestion: string;
20
+ readonly feedbackWarning: string;
21
+ readonly home: string;
22
+ readonly logo: string;
23
+ readonly logotipo: string;
24
+ readonly logout: string;
25
+ readonly menu: string;
26
+ readonly panelClose: string;
27
+ readonly settings: string;
28
+ readonly timeline: string;
29
+ readonly toolInfo: string;
30
+ readonly uploadMass: string;
31
+ readonly view: string;
32
+ readonly visibilityOff: string;
33
+ readonly visibilityOn: string;
34
+ };
35
+ export type RbImageName = keyof typeof rbImages;
36
+ export declare const getRbImageUrl: (name: RbImageName) => string;
@@ -6,3 +6,4 @@ export * from './ui';
6
6
  export * from './table';
7
7
  export * from './navigation';
8
8
  export * from './tree-panel';
9
+ export * from './images';
@@ -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
- declare const Sidebar: ({ items, signOut, tooltips, state, setState, getWidth, }: SidebarProps) => import("react").JSX.Element;
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,7 +1,7 @@
1
1
  declare const ICON_PATHS: {
2
- readonly arrow: "/images/arrow.svg";
3
- readonly arrowUp: "/images/arrow_right.svg";
4
- readonly toolInfo: "/images/toolInfo.svg";
2
+ readonly arrow: string;
3
+ readonly arrowUp: string;
4
+ readonly toolInfo: string;
5
5
  };
6
6
  declare const SIZE_CLASSES: {
7
7
  readonly s: "size-4";
@@ -74,4 +74,4 @@ interface CustomAutoCompleteMultipleProps extends CustomAutoCompleteBaseProps {
74
74
  }
75
75
  export type CustomAutoCompleteFieldProps = CustomAutoCompleteSingleProps | CustomAutoCompleteMultipleProps;
76
76
  declare const AutoCustomCompleteField: (props: CustomAutoCompleteFieldProps) => React.JSX.Element;
77
- export { AutoCustomCompleteField, };
77
+ export { AutoCustomCompleteField };
@@ -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: [Dayjs | null, Dayjs | null];
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: [Dayjs | null, Dayjs | null]) => void;
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 {};