@scmlatam/web-ui 0.2.26 → 0.2.28
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/components/rb.d.ts +5 -5
- package/dist/src/pages/home/rb/sections/StepperSection.d.ts +1 -0
- package/dist/src/rb-components/tree-panel/TreePanel.d.ts +1 -1
- package/dist/src/rb-components/tree-panel/treePanel.types.d.ts +2 -0
- package/dist/src/rb-components/ui/index.d.ts +19 -17
- package/dist/src/rb-components/ui/primitives/RbStepper.d.ts +12 -0
- package/dist/web-ui.js +3071 -3016
- package/dist/web-ui.umd.cjs +58 -54
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { MessageAlert
|
|
1
|
+
export { MessageAlert } from '../rb-components/feedback';
|
|
2
2
|
export type { MessageAlertAction, MessageAlertProps, MessageAlertType, } from '../rb-components/feedback';
|
|
3
|
-
export { SystemAlert
|
|
4
|
-
export { useSystemAlert as useRbSystemAlert
|
|
3
|
+
export { SystemAlert } from '../rb-components/feedback/system-alert';
|
|
4
|
+
export { useSystemAlert as useRbSystemAlert } from '../rb-components/feedback/system-alert';
|
|
5
5
|
export type { SystemAlertKey, SystemAlertOptions, SystemAlertSeverity, } from '../rb-components/feedback/system-alert';
|
|
6
6
|
export { AuthLanguageDropdown, AuthPasswordInput, AuthShell, } from '../rb-components/auth';
|
|
7
7
|
export { FormField, FormGrid, FormShell } from '../rb-components/form';
|
|
@@ -10,8 +10,8 @@ export { RbList, RbListItem } from '../rb-components/list';
|
|
|
10
10
|
export type { RbListItemProps, RbListProps, RbListSize, RbListVariant, } from '../rb-components/list';
|
|
11
11
|
export { PillsTabs, PillsTabs as RbPillsTabs, } from '../rb-components/navigation';
|
|
12
12
|
export type { PillsTabItem, PillsTabsProps } from '../rb-components/navigation';
|
|
13
|
-
export { Button as RBButton, Input, AutoCustomCompleteField, CustomDatefield, CustomDatePicker, CustomTimefield, CustomDateRangefield, CustomDateRangePicker, CustomDateRangeCalendar, RbInlineChipField, CalendarChipIcon, ClockChipIcon, Card, CardHeader, CardTitle, CardContent, CardFooter, IconButton as RbIconButton, Tooltip, Portal, ConfirmDialog, RbContextMenu, Checkbox, Radio, cn, } from '../rb-components/ui';
|
|
14
|
-
export type { AutoValueItem, ButtonProps as RBButtonProps, InputProps, CustomAutoCompleteFieldProps, CustomDatefieldProps, CustomDatePickerProps, CustomTimefieldProps, CustomDateRangefieldProps, CustomDateRangePickerProps, CustomDateRangeCalendarProps, RbInlineChipFieldProps, RbInlineChipFieldAction, RbContextMenuAlign, RbContextMenuItem, RbContextMenuPosition, RbContextMenuProps, RbContextMenuVariant, CardProps, IconButtonProps as RbIconButtonProps, CheckboxProps, CheckboxSize, RadioProps, PortalProps, TooltipProps, ConfirmDialogProps, ConfirmDialogInitialFocus, ConfirmDialogIconType, } from '../rb-components/ui';
|
|
13
|
+
export { Button as RBButton, Input, AutoCustomCompleteField, CustomDatefield, CustomDatePicker, CustomTimefield, CustomDateRangefield, CustomDateRangePicker, CustomDateRangeCalendar, RbInlineChipField, CalendarChipIcon, ClockChipIcon, Card, CardHeader, CardTitle, CardContent, CardFooter, IconButton as RbIconButton, Tooltip, Portal, ConfirmDialog, RbContextMenu, Checkbox, Radio, RbStepper, cn, } from '../rb-components/ui';
|
|
14
|
+
export type { AutoValueItem, ButtonProps as RBButtonProps, InputProps, CustomAutoCompleteFieldProps, CustomDatefieldProps, CustomDatePickerProps, CustomTimefieldProps, CustomDateRangefieldProps, CustomDateRangePickerProps, CustomDateRangeCalendarProps, RbInlineChipFieldProps, RbInlineChipFieldAction, RbContextMenuAlign, RbContextMenuItem, RbContextMenuPosition, RbContextMenuProps, RbContextMenuVariant, CardProps, IconButtonProps as RbIconButtonProps, CheckboxProps, CheckboxSize, RadioProps, RbStepperProps, RbStepperStep, PortalProps, TooltipProps, ConfirmDialogProps, ConfirmDialogInitialFocus, ConfirmDialogIconType, } from '../rb-components/ui';
|
|
15
15
|
export { RbTable, RbExcelTable, RbTableToolbar, RbToolbarActionButton, RbToolbarActions, RbToolbarDateRangeField, RbToolbarMultiSelectField, RbToolbarSearchField, RbToolbarSelectField, formatRbExcelDate, formatRbExcelTime, getRbExcelValueAtPath, isRbExcelEmptyValue, isValidRbExcelDate, isValidRbExcelNumber, isValidRbExcelTime, parseRbExcelValue, setRbExcelValueAtPath, } from '../rb-components/table';
|
|
16
16
|
export type { RbExcelCellContext, RbExcelCreateRowContext, RbExcelEditorContext, RbExcelFieldType, RbExcelImportContext, RbExcelParseContext, RbExcelRenderContext, RbExcelRowsChangeMeta, RbExcelRowsChangeSource, RbExcelTableActions, RbExcelTableColumn, RbExcelTableLabels, RbExcelTableProps, RbExcelTableRef, RbExcelValidationError, RbExcelValidationErrorInput, RbExcelValidationErrorSource, RbExcelValidationResult, RbExcelValueSource, RbTableColumn, RbTableRowId, RbTableProps, RbTableCellParams, RbTableRowParams, RbTableInitialState, RbTablePinnedColumns, RbTableBaseRow, RbTableSize, RbTableDensity, RbTableAlign, RbTableCellContextMenuParams, RbTableCellContextMenuPosition, RbTablePaginationMode, RbTablePaginationModel, RbRowSelectionModel, RbRowsPerPageOption, RbToolbarActionsProps, RbToolbarDateRangeFieldProps, RbToolbarDateRangeValue, RbAnyTableColumn, RbLegacyGridColumn, } from '../rb-components/table';
|
|
17
17
|
export { DashboardShell, ShellContent } from '../rb-components/shell';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function StepperSection(): import("react").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { TreePanelProps } from './treePanel.types';
|
|
3
|
-
export declare function TreePanel({ title, ariaLabel, items, selectedIds, defaultSelectedIds, onSelectionChange, expandedIds, defaultExpandedIds, defaultExpandAll, onExpandedChange, showCheckboxes, selectionDisabled, headerAction, headerTooltip, headerActionLabel, renderNodeContent, emptyText, fill, expandLabel, collapseLabel, className, headerClassName, bodyClassName, listClassName, }: TreePanelProps): React.JSX.Element;
|
|
3
|
+
export declare function TreePanel({ title, ariaLabel, items, selectedIds, defaultSelectedIds, onSelectionChange, expandedIds, defaultExpandedIds, defaultExpandAll, onExpandedChange, showCheckboxes, selectionDisabled, headerAction, headerTooltip, headerActionLabel, renderNodeContent, emptyText, loading, loadingLabel, fill, expandLabel, collapseLabel, className, headerClassName, bodyClassName, listClassName, }: TreePanelProps): React.JSX.Element;
|
|
4
4
|
export default TreePanel;
|
|
@@ -80,6 +80,8 @@ export interface TreePanelProps {
|
|
|
80
80
|
headerActionLabel?: string;
|
|
81
81
|
renderNodeContent?: (params: TreePanelRenderNodeParams) => React.ReactNode;
|
|
82
82
|
emptyText?: React.ReactNode;
|
|
83
|
+
loading?: boolean;
|
|
84
|
+
loadingLabel?: string;
|
|
83
85
|
/**
|
|
84
86
|
* Hace que el panel ocupe la altura disponible
|
|
85
87
|
* de su contenedor.
|
|
@@ -11,28 +11,30 @@
|
|
|
11
11
|
*/
|
|
12
12
|
export { cn } from './utils/cn';
|
|
13
13
|
export { Button } from './primitives/Button';
|
|
14
|
-
export type { ButtonProps
|
|
15
|
-
export { AutoCustomCompleteField
|
|
14
|
+
export type { ButtonProps } from './primitives/Button';
|
|
15
|
+
export { AutoCustomCompleteField } from './primitives/AutoCustomCompleteField';
|
|
16
16
|
export type { AutoValueItem, CustomAutoCompleteFieldProps, } from './primitives/AutoCustomCompleteField';
|
|
17
17
|
export { CustomDatefield, CustomDatePicker, CustomTimefield, CustomDateRangefield, CustomDateRangePicker, CustomDateRangeCalendar, } from './primitives/date-fields';
|
|
18
18
|
export type { CustomDatefieldProps, CustomDatePickerProps, CustomTimefieldProps, CustomDateRangefieldProps, CustomDateRangePickerProps, CustomDateRangeCalendarProps, } from './primitives/date-fields';
|
|
19
19
|
export { RbInlineChipField, CalendarChipIcon, ClockChipIcon, } from './primitives/RbInlineChipField';
|
|
20
20
|
export type { RbInlineChipFieldProps, RbInlineChipFieldAction, } from './primitives/RbInlineChipField';
|
|
21
|
-
export { RbContextMenu
|
|
21
|
+
export { RbContextMenu } from './primitives/RbContextMenu';
|
|
22
22
|
export type { RbContextMenuAlign, RbContextMenuItem, RbContextMenuPosition, RbContextMenuProps, RbContextMenuVariant, } from './primitives/RbContextMenu';
|
|
23
23
|
export { Card, CardHeader, CardTitle, CardContent, CardFooter, } from './primitives/Card';
|
|
24
|
-
export type { CardProps
|
|
25
|
-
export { IconButton
|
|
26
|
-
export type { IconButtonProps
|
|
27
|
-
export { Input
|
|
28
|
-
export type { InputProps
|
|
29
|
-
export { Checkbox
|
|
30
|
-
export type { CheckboxProps, CheckboxSize
|
|
31
|
-
export { Radio
|
|
32
|
-
export type { RadioProps
|
|
33
|
-
export {
|
|
34
|
-
export type {
|
|
35
|
-
export { default as
|
|
36
|
-
export type {
|
|
37
|
-
export { default as
|
|
24
|
+
export type { CardProps } from './primitives/Card';
|
|
25
|
+
export { IconButton } from './primitives/IconButton';
|
|
26
|
+
export type { IconButtonProps } from './primitives/IconButton';
|
|
27
|
+
export { Input } from './primitives/Input';
|
|
28
|
+
export type { InputProps } from './primitives/Input';
|
|
29
|
+
export { Checkbox } from './primitives/Checkbox';
|
|
30
|
+
export type { CheckboxProps, CheckboxSize } from './primitives/Checkbox';
|
|
31
|
+
export { Radio } from './primitives/Radio';
|
|
32
|
+
export type { RadioProps } from './primitives/Radio';
|
|
33
|
+
export { RbStepper } from './primitives/RbStepper';
|
|
34
|
+
export type { RbStepperProps, RbStepperStep } from './primitives/RbStepper';
|
|
35
|
+
export { default as Portal } from './overlays/Portal';
|
|
36
|
+
export type { PortalProps } from './overlays/Portal';
|
|
37
|
+
export { default as Tooltip } from './overlays/Tooltip';
|
|
38
|
+
export type { TooltipProps } from './overlays/Tooltip';
|
|
39
|
+
export { default as ConfirmDialog } from './overlays/ConfirmDialog';
|
|
38
40
|
export type { ConfirmDialogProps, ConfirmDialogInitialFocus, ConfirmDialogIconType, } from './overlays/ConfirmDialog';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export type RbStepperStep = {
|
|
3
|
+
label: React.ReactNode;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
};
|
|
6
|
+
export interface RbStepperProps extends Omit<React.OlHTMLAttributes<HTMLOListElement>, "onChange"> {
|
|
7
|
+
steps: RbStepperStep[];
|
|
8
|
+
activeStep: number;
|
|
9
|
+
onStepChange?: (stepIndex: number) => void;
|
|
10
|
+
ariaLabel?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function RbStepper({ steps, activeStep, onStepChange, ariaLabel, className, ...rest }: RbStepperProps): React.JSX.Element;
|