@scmlatam/web-ui 0.2.12 → 0.2.13
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/examples/rb-excel-table-example.xlsx +0 -0
- package/dist/src/App.d.ts +1 -1
- package/dist/src/components/contextmenu/Contextmenu.d.ts +1 -1
- package/dist/src/components/core/Core.d.ts +1 -1
- package/dist/src/components/core/context/Provider.d.ts +1 -1
- package/dist/src/components/core/dashboard/Dashboard.d.ts +1 -1
- package/dist/src/components/core/dashboard/account/Account.d.ts +1 -1
- package/dist/src/components/core/dashboard/content/Content.d.ts +1 -1
- package/dist/src/components/core/dashboard/search/Search.d.ts +1 -1
- package/dist/src/components/core/dashboard/sidebar/CompactItem.d.ts +1 -1
- package/dist/src/components/core/dashboard/sidebar/Content.d.ts +1 -1
- package/dist/src/components/core/dashboard/sidebar/ExtendGroupItem.d.ts +1 -1
- package/dist/src/components/core/dashboard/sidebar/Footer.d.ts +1 -1
- package/dist/src/components/core/dashboard/sidebar/Header.d.ts +1 -1
- package/dist/src/components/core/dashboard/sidebar/Sidebar.d.ts +1 -1
- package/dist/src/components/core/dashboard/sidebar/SubItem.d.ts +1 -1
- package/dist/src/components/core/signin/SignIn.d.ts +1 -1
- package/dist/src/components/core/signin/SignUp.d.ts +1 -1
- package/dist/src/components/core/system/Alert.d.ts +1 -1
- package/dist/src/components/form/Form.d.ts +1 -1
- package/dist/src/components/form/autocomplete/Autocomplete.d.ts +1 -1
- package/dist/src/components/form/datefield/range/DateRangeCalendar.d.ts +1 -1
- package/dist/src/components/form/datefield/range/DateRangePicker.d.ts +1 -1
- package/dist/src/components/form/datefield/range/Datefield.d.ts +1 -1
- package/dist/src/components/form/datefield/simple/DatePicker.d.ts +1 -1
- package/dist/src/components/form/datefield/simple/Datefield.d.ts +1 -1
- package/dist/src/components/form/datefield/simple/Timefield.d.ts +1 -1
- package/dist/src/components/form/file/FileField.d.ts +1 -1
- package/dist/src/components/form/select/MultiSelect.d.ts +1 -1
- package/dist/src/components/form/select/Select.d.ts +1 -1
- package/dist/src/components/form/sheet/Sheet.d.ts +1 -1
- package/dist/src/components/form/treewiew/Treeview.d.ts +1 -1
- package/dist/src/components/rb.d.ts +14 -6
- package/dist/src/components/table/Table.d.ts +1 -1
- package/dist/src/components/table/toolbar/Toolbar.d.ts +1 -1
- package/dist/src/components/table/toolbar/datefield/range/DateRangePicker.d.ts +1 -1
- package/dist/src/components/table/toolbar/datefield/range/Datefield.d.ts +1 -1
- package/dist/src/components/table/toolbar/datefield/simple/DatePicker.d.ts +1 -1
- package/dist/src/components/table/toolbar/datefield/simple/Datefield.d.ts +1 -1
- package/dist/src/components/table/toolbar/select/MultiSelect.d.ts +1 -1
- package/dist/src/components/table/toolbar/select/Select.d.ts +1 -1
- package/dist/src/mock/SidebarData.d.ts +3 -3
- package/dist/src/pages/Home.d.ts +1 -1
- package/dist/src/pages/Segment.d.ts +1 -1
- package/dist/src/pages/Timekeeper.d.ts +1 -1
- package/dist/src/pages/home/rb/RbComponentsDocumentation.d.ts +1 -0
- package/dist/src/pages/home/rb/components/GuideCard.d.ts +32 -0
- package/dist/src/pages/home/rb/components/GuideSection.d.ts +8 -0
- package/dist/src/pages/home/rb/components/LibraryIcon.d.ts +5 -0
- package/dist/src/pages/home/rb/components/RbDocumentationIndex.d.ts +5 -0
- package/dist/src/pages/home/rb/data/excelTableGuideData.d.ts +12 -0
- package/dist/src/pages/home/rb/data/rbDocumentationIndexItems.d.ts +2 -0
- package/dist/src/pages/home/rb/data/tableGuideData.d.ts +18 -0
- package/dist/src/pages/home/rb/data/treePanelData.d.ts +4 -0
- package/dist/src/pages/home/rb/index.d.ts +1 -0
- package/dist/src/pages/home/rb/sections/BaseComponentsSection.d.ts +1 -0
- package/dist/src/pages/home/rb/sections/ButtonsSection.d.ts +1 -0
- package/dist/src/pages/home/rb/sections/DatesSection.d.ts +1 -0
- package/dist/src/pages/home/rb/sections/ExcelTableSection.d.ts +1 -0
- package/dist/src/pages/home/rb/sections/FeedbackComponentsSection.d.ts +1 -0
- package/dist/src/pages/home/rb/sections/FormShellSection.d.ts +2 -0
- package/dist/src/pages/home/rb/sections/InlineChipFieldSection.d.ts +1 -0
- package/dist/src/pages/home/rb/sections/InputsSection.d.ts +1 -0
- package/dist/src/pages/home/rb/sections/ListsSection.d.ts +1 -0
- package/dist/src/pages/home/rb/sections/SelectionControlsSection.d.ts +1 -0
- package/dist/src/pages/home/rb/sections/SelectsSection.d.ts +1 -0
- package/dist/src/pages/home/rb/sections/TableToolbarSection.d.ts +1 -0
- package/dist/src/pages/home/rb/sections/TablesSection.d.ts +1 -0
- package/dist/src/pages/home/rb/sections/TreePanelSection.d.ts +1 -0
- package/dist/src/pages/home/rb/sections/TypographySection.d.ts +1 -0
- package/dist/src/pages/home/rb/types/documentation.types.d.ts +6 -0
- package/dist/src/rb-components/auth/components/AuthLanguageDropdown.d.ts +1 -1
- package/dist/src/rb-components/auth/components/AuthPasswordInput.d.ts +1 -1
- package/dist/src/rb-components/auth/components/AuthShell.d.ts +1 -1
- package/dist/src/rb-components/feedback/message-alert/MessageAlert.d.ts +1 -1
- package/dist/src/rb-components/form/FormLayout.d.ts +15 -0
- package/dist/src/rb-components/form/FormShell.d.ts +26 -3
- package/dist/src/rb-components/form/index.d.ts +3 -1
- package/dist/src/rb-components/index.d.ts +1 -0
- package/dist/src/rb-components/list/RbList.d.ts +48 -0
- package/dist/src/rb-components/list/index.d.ts +2 -0
- package/dist/src/rb-components/navigation/PillsTabs.d.ts +1 -1
- package/dist/src/rb-components/shell/Breadcrumbs.d.ts +1 -1
- package/dist/src/rb-components/shell/DashboardShell.d.ts +1 -1
- package/dist/src/rb-components/shell/ShellContent.d.ts +1 -1
- package/dist/src/rb-components/sidebar/Sidebar.d.ts +1 -1
- package/dist/src/rb-components/sidebar/SidebarContent.d.ts +1 -1
- package/dist/src/rb-components/sidebar/SidebarFooter.d.ts +1 -1
- package/dist/src/rb-components/sidebar/SidebarHeader.d.ts +1 -1
- package/dist/src/rb-components/table/RbExcelTable.d.ts +7 -0
- package/dist/src/rb-components/table/RbTable.d.ts +2 -1
- package/dist/src/rb-components/table/RbTableToolbar.d.ts +1 -17
- package/dist/src/rb-components/table/excel/RbExcelEditableCell.d.ts +12 -0
- package/dist/src/rb-components/table/excel/RbExcelValidationAlert.d.ts +11 -0
- package/dist/src/rb-components/table/excel/excel.helpers.d.ts +16 -0
- package/dist/src/rb-components/table/excel/excel.types.d.ts +361 -0
- package/dist/src/rb-components/table/index.d.ts +5 -1
- package/dist/src/rb-components/table/toolbar/RbToolbarActionButton.d.ts +1 -9
- package/dist/src/rb-components/table/toolbar/RbToolbarActions.d.ts +7 -0
- package/dist/src/rb-components/table/toolbar/RbToolbarDateRangeField.d.ts +1 -1
- package/dist/src/rb-components/table/toolbar/RbToolbarMultiSelectField.d.ts +5 -1
- package/dist/src/rb-components/table/toolbar/RbToolbarSearchField.d.ts +3 -10
- package/dist/src/rb-components/table/toolbar/RbToolbarSelectField.d.ts +8 -1
- package/dist/src/rb-components/table/toolbar/index.d.ts +9 -7
- package/dist/src/rb-components/table/types.d.ts +48 -2
- package/dist/src/rb-components/topbar/TopBar.d.ts +1 -1
- package/dist/src/rb-components/topbar/TopBarUserMenu.d.ts +1 -1
- package/dist/src/rb-components/tree-panel/TreeIcon.d.ts +19 -0
- package/dist/src/rb-components/tree-panel/TreeNode.d.ts +17 -0
- package/dist/src/rb-components/tree-panel/TreePanel.d.ts +4 -0
- package/dist/src/rb-components/tree-panel/index.d.ts +4 -0
- package/dist/src/rb-components/tree-panel/treePanel.types.d.ts +94 -0
- package/dist/src/rb-components/tree-panel/treePanel.utils.d.ts +25 -0
- package/dist/src/rb-components/ui/index.d.ts +18 -19
- package/dist/src/rb-components/ui/overlays/Tooltip.d.ts +1 -1
- package/dist/src/rb-components/ui/primitives/AutoCustomCompleteField.d.ts +61 -4
- package/dist/src/rb-components/ui/primitives/Button.d.ts +2 -3
- package/dist/src/rb-components/ui/primitives/Card.d.ts +5 -5
- package/dist/src/rb-components/ui/primitives/Checkbox.d.ts +10 -0
- package/dist/src/rb-components/ui/primitives/Input.d.ts +2 -2
- package/dist/src/rb-components/ui/primitives/Radio.d.ts +11 -0
- package/dist/src/rb-components/ui/primitives/RbContextMenu.d.ts +1 -1
- package/dist/src/rb-components/ui/primitives/RbInlineChipField.d.ts +3 -3
- package/dist/src/rb-components/ui/primitives/date-fields/CustomDatePicker.d.ts +12 -1
- package/dist/src/rb-components/ui/primitives/date-fields/CustomDateRangeCalendar.d.ts +1 -1
- package/dist/src/rb-components/ui/primitives/date-fields/CustomDateRangePicker.d.ts +2 -1
- package/dist/src/rb-components/ui/primitives/date-fields/CustomDateRangefield.d.ts +2 -1
- package/dist/src/rb-components/ui/primitives/date-fields/CustomDatefield.d.ts +2 -1
- package/dist/src/rb-components/ui/primitives/date-fields/CustomTimefield.d.ts +2 -1
- package/dist/src/rb-components/ui/primitives/date-fields/DateFieldTrigger.d.ts +13 -1
- package/dist/src/rb-components/ui/primitives/date-fields/DateShortcuts.d.ts +3 -2
- package/dist/src/rb-components/ui/primitives/date-fields/TimePickerPanel.d.ts +1 -1
- package/dist/src/router/Router.d.ts +2 -2
- package/dist/src/stories/Button.d.ts +1 -1
- package/dist/src/stories/Button.stories.d.ts +1 -1
- package/dist/src/stories/Header.d.ts +1 -1
- package/dist/src/stories/Header.stories.d.ts +1 -1
- package/dist/src/stories/rb/PillsTabs.stories.d.ts +1 -1
- package/dist/src/stories/rb/RbAutoCustomCompleteField.stories.d.ts +1 -1
- package/dist/src/stories/rb/RbIconButton.stories.d.ts +1 -1
- package/dist/src/stories/rb/RbTable.stories.d.ts +1 -1
- package/dist/src/stories/sidebar.stories.d.ts +1 -1
- package/dist/web-ui.js +25356 -6448
- package/dist/web-ui.umd.cjs +151 -25
- package/package.json +1 -1
- /package/dist/images/{checkReview.svg.svg → checkReview.svg} +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { Dayjs } from 'dayjs';
|
|
2
3
|
export interface CustomTimefieldProps {
|
|
3
4
|
label: string;
|
|
@@ -8,5 +9,5 @@ export interface CustomTimefieldProps {
|
|
|
8
9
|
white: boolean;
|
|
9
10
|
fullWidth: boolean;
|
|
10
11
|
}
|
|
11
|
-
declare const CustomTimefield: ({ label, initialValue, value, setValue, disabled, white, fullWidth, }: CustomTimefieldProps) =>
|
|
12
|
+
declare const CustomTimefield: ({ label, initialValue, value, setValue, disabled, white, fullWidth, }: CustomTimefieldProps) => React.JSX.Element;
|
|
12
13
|
export { CustomTimefield };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
type DateFieldIcon = "chevron" | "clock";
|
|
2
|
+
type DateFieldIcon = "chevron" | "calendar" | "clock";
|
|
3
3
|
interface DateFieldTriggerProps {
|
|
4
4
|
id?: string;
|
|
5
5
|
label: string;
|
|
@@ -10,6 +10,18 @@ interface DateFieldTriggerProps {
|
|
|
10
10
|
white?: boolean;
|
|
11
11
|
fullWidth?: boolean;
|
|
12
12
|
icon?: DateFieldIcon;
|
|
13
|
+
/**
|
|
14
|
+
* Representa visual y accesiblemente
|
|
15
|
+
* un estado de error.
|
|
16
|
+
*/
|
|
17
|
+
error?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Texto mostrado bajo el campo.
|
|
20
|
+
*
|
|
21
|
+
* Cuando error=true, utiliza el color
|
|
22
|
+
* de error de la librería.
|
|
23
|
+
*/
|
|
24
|
+
helperText?: React.ReactNode;
|
|
13
25
|
onClick?: () => void;
|
|
14
26
|
}
|
|
15
27
|
export declare const DateFieldTrigger: React.ForwardRefExoticComponent<DateFieldTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { Dayjs } from 'dayjs';
|
|
2
3
|
export interface DateShortcut {
|
|
3
4
|
label: string;
|
|
@@ -15,11 +16,11 @@ interface DateShortcutsProps {
|
|
|
15
16
|
onSelect: (value: Dayjs | null) => void;
|
|
16
17
|
variant?: ShortcutVariant;
|
|
17
18
|
}
|
|
18
|
-
export declare function DateShortcuts({ shortcuts, onSelect, variant, }: DateShortcutsProps):
|
|
19
|
+
export declare function DateShortcuts({ shortcuts, onSelect, variant, }: DateShortcutsProps): React.JSX.Element;
|
|
19
20
|
interface DateRangeShortcutsProps {
|
|
20
21
|
shortcuts: DateRangeShortcut[];
|
|
21
22
|
onSelect: (value: [Dayjs | null, Dayjs | null]) => void;
|
|
22
23
|
variant?: ShortcutVariant;
|
|
23
24
|
}
|
|
24
|
-
export declare function DateRangeShortcuts({ shortcuts, onSelect, variant, }: DateRangeShortcutsProps):
|
|
25
|
+
export declare function DateRangeShortcuts({ shortcuts, onSelect, variant, }: DateRangeShortcutsProps): React.JSX.Element;
|
|
25
26
|
export {};
|
|
@@ -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
|
|
6
|
+
export declare function TimePickerPanel({ value, onChange }: TimePickerPanelProps): import("react").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -8,6 +8,6 @@ interface SignInProps {
|
|
|
8
8
|
interface PostSignInProps {
|
|
9
9
|
routes: RouteItem[];
|
|
10
10
|
}
|
|
11
|
-
declare const PrevSignIn: ({ product, languages, form, signup }: SignInProps) => import("react
|
|
12
|
-
declare const PostSignIn: ({ routes }: PostSignInProps) => import("react
|
|
11
|
+
declare const PrevSignIn: ({ product, languages, form, signup }: SignInProps) => import("react").JSX.Element;
|
|
12
|
+
declare const PostSignIn: ({ routes }: PostSignInProps) => import("react").JSX.Element;
|
|
13
13
|
export { PrevSignIn, PostSignIn };
|
|
@@ -11,4 +11,4 @@ export interface ButtonProps {
|
|
|
11
11
|
onClick?: () => void;
|
|
12
12
|
}
|
|
13
13
|
/** Primary UI component for user interaction */
|
|
14
|
-
export declare const Button: ({ primary, size, backgroundColor, label, ...props }: ButtonProps) => import("react
|
|
14
|
+
export declare const Button: ({ primary, size, backgroundColor, label, ...props }: ButtonProps) => import("react").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: ({ primary, size, backgroundColor, label, ...props }: import('./Button').ButtonProps) => import("react
|
|
4
|
+
component: ({ primary, size, backgroundColor, label, ...props }: import('./Button').ButtonProps) => import("react").JSX.Element;
|
|
5
5
|
parameters: {
|
|
6
6
|
layout: string;
|
|
7
7
|
};
|
|
@@ -7,5 +7,5 @@ export interface HeaderProps {
|
|
|
7
7
|
onLogout?: () => void;
|
|
8
8
|
onCreateAccount?: () => void;
|
|
9
9
|
}
|
|
10
|
-
export declare const Header: ({ user, onLogin, onLogout, onCreateAccount, }: HeaderProps) => import("react
|
|
10
|
+
export declare const Header: ({ user, onLogin, onLogout, onCreateAccount, }: HeaderProps) => import("react").JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: ({ user, onLogin, onLogout, onCreateAccount, }: import('./Header').HeaderProps) => import("react
|
|
4
|
+
component: ({ user, onLogin, onLogout, onCreateAccount, }: import('./Header').HeaderProps) => import("react").JSX.Element;
|
|
5
5
|
tags: string[];
|
|
6
6
|
parameters: {
|
|
7
7
|
layout: string;
|
|
@@ -3,7 +3,7 @@ import { PillsTabsProps } from '../../rb-components/navigation';
|
|
|
3
3
|
type HomeTab = "legacy" | "rb" | "preview";
|
|
4
4
|
declare const meta: {
|
|
5
5
|
title: string;
|
|
6
|
-
component: (props: PillsTabsProps<HomeTab>) => import("react
|
|
6
|
+
component: (props: PillsTabsProps<HomeTab>) => import("react").JSX.Element;
|
|
7
7
|
tags: string[];
|
|
8
8
|
parameters: {
|
|
9
9
|
layout: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: (
|
|
4
|
+
component: (props: import('../../rb-components').CustomAutoCompleteFieldProps) => import("react").JSX.Element;
|
|
5
5
|
tags: string[];
|
|
6
6
|
parameters: {
|
|
7
7
|
layout: string;
|
|
@@ -9,7 +9,7 @@ type WorkerRow = {
|
|
|
9
9
|
};
|
|
10
10
|
declare const meta: {
|
|
11
11
|
title: string;
|
|
12
|
-
component: (props: RbTableProps<WorkerRow>) => import("react
|
|
12
|
+
component: (props: RbTableProps<WorkerRow>) => import("react").JSX.Element;
|
|
13
13
|
tags: string[];
|
|
14
14
|
parameters: {
|
|
15
15
|
layout: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const meta: {
|
|
2
2
|
title: string;
|
|
3
|
-
component: ({ items, signOut, tooltips, state, setState, getWidth, }: import('../components/core/types/types').SidebarProps) => import("react
|
|
3
|
+
component: ({ items, signOut, tooltips, state, setState, getWidth, }: import('../components/core/types/types').SidebarProps) => import("react").JSX.Element;
|
|
4
4
|
parameters: {
|
|
5
5
|
layout: string;
|
|
6
6
|
};
|