@scmlatam/web-ui 0.2.11 → 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.
Files changed (146) hide show
  1. package/dist/examples/rb-excel-table-example.xlsx +0 -0
  2. package/dist/src/App.d.ts +1 -1
  3. package/dist/src/components/contextmenu/Contextmenu.d.ts +1 -1
  4. package/dist/src/components/core/Core.d.ts +1 -1
  5. package/dist/src/components/core/context/Provider.d.ts +1 -1
  6. package/dist/src/components/core/dashboard/Dashboard.d.ts +1 -1
  7. package/dist/src/components/core/dashboard/account/Account.d.ts +1 -1
  8. package/dist/src/components/core/dashboard/content/Content.d.ts +1 -1
  9. package/dist/src/components/core/dashboard/search/Search.d.ts +1 -1
  10. package/dist/src/components/core/dashboard/sidebar/CompactItem.d.ts +1 -1
  11. package/dist/src/components/core/dashboard/sidebar/Content.d.ts +1 -1
  12. package/dist/src/components/core/dashboard/sidebar/ExtendGroupItem.d.ts +1 -1
  13. package/dist/src/components/core/dashboard/sidebar/Footer.d.ts +1 -1
  14. package/dist/src/components/core/dashboard/sidebar/Header.d.ts +1 -1
  15. package/dist/src/components/core/dashboard/sidebar/Sidebar.d.ts +1 -1
  16. package/dist/src/components/core/dashboard/sidebar/SubItem.d.ts +1 -1
  17. package/dist/src/components/core/signin/SignIn.d.ts +1 -1
  18. package/dist/src/components/core/signin/SignUp.d.ts +1 -1
  19. package/dist/src/components/core/system/Alert.d.ts +1 -1
  20. package/dist/src/components/form/Form.d.ts +1 -1
  21. package/dist/src/components/form/autocomplete/Autocomplete.d.ts +1 -1
  22. package/dist/src/components/form/datefield/range/DateRangeCalendar.d.ts +1 -1
  23. package/dist/src/components/form/datefield/range/DateRangePicker.d.ts +1 -1
  24. package/dist/src/components/form/datefield/range/Datefield.d.ts +1 -1
  25. package/dist/src/components/form/datefield/simple/DatePicker.d.ts +1 -1
  26. package/dist/src/components/form/datefield/simple/Datefield.d.ts +1 -1
  27. package/dist/src/components/form/datefield/simple/Timefield.d.ts +1 -1
  28. package/dist/src/components/form/file/FileField.d.ts +1 -1
  29. package/dist/src/components/form/select/MultiSelect.d.ts +1 -1
  30. package/dist/src/components/form/select/Select.d.ts +1 -1
  31. package/dist/src/components/form/sheet/Sheet.d.ts +1 -1
  32. package/dist/src/components/form/treewiew/Treeview.d.ts +1 -1
  33. package/dist/src/components/rb.d.ts +14 -6
  34. package/dist/src/components/table/Table.d.ts +1 -1
  35. package/dist/src/components/table/toolbar/Toolbar.d.ts +1 -1
  36. package/dist/src/components/table/toolbar/datefield/range/DateRangePicker.d.ts +1 -1
  37. package/dist/src/components/table/toolbar/datefield/range/Datefield.d.ts +1 -1
  38. package/dist/src/components/table/toolbar/datefield/simple/DatePicker.d.ts +1 -1
  39. package/dist/src/components/table/toolbar/datefield/simple/Datefield.d.ts +1 -1
  40. package/dist/src/components/table/toolbar/select/MultiSelect.d.ts +1 -1
  41. package/dist/src/components/table/toolbar/select/Select.d.ts +1 -1
  42. package/dist/src/mock/SidebarData.d.ts +3 -3
  43. package/dist/src/pages/Home.d.ts +1 -1
  44. package/dist/src/pages/Segment.d.ts +1 -1
  45. package/dist/src/pages/Timekeeper.d.ts +1 -1
  46. package/dist/src/pages/home/rb/RbComponentsDocumentation.d.ts +1 -0
  47. package/dist/src/pages/home/rb/components/GuideCard.d.ts +32 -0
  48. package/dist/src/pages/home/rb/components/GuideSection.d.ts +8 -0
  49. package/dist/src/pages/home/rb/components/LibraryIcon.d.ts +5 -0
  50. package/dist/src/pages/home/rb/components/RbDocumentationIndex.d.ts +5 -0
  51. package/dist/src/pages/home/rb/data/excelTableGuideData.d.ts +12 -0
  52. package/dist/src/pages/home/rb/data/rbDocumentationIndexItems.d.ts +2 -0
  53. package/dist/src/pages/home/rb/data/tableGuideData.d.ts +18 -0
  54. package/dist/src/pages/home/rb/data/treePanelData.d.ts +4 -0
  55. package/dist/src/pages/home/rb/index.d.ts +1 -0
  56. package/dist/src/pages/home/rb/sections/BaseComponentsSection.d.ts +1 -0
  57. package/dist/src/pages/home/rb/sections/ButtonsSection.d.ts +1 -0
  58. package/dist/src/pages/home/rb/sections/DatesSection.d.ts +1 -0
  59. package/dist/src/pages/home/rb/sections/ExcelTableSection.d.ts +1 -0
  60. package/dist/src/pages/home/rb/sections/FeedbackComponentsSection.d.ts +1 -0
  61. package/dist/src/pages/home/rb/sections/FormShellSection.d.ts +2 -0
  62. package/dist/src/pages/home/rb/sections/InlineChipFieldSection.d.ts +1 -0
  63. package/dist/src/pages/home/rb/sections/InputsSection.d.ts +1 -0
  64. package/dist/src/pages/home/rb/sections/ListsSection.d.ts +1 -0
  65. package/dist/src/pages/home/rb/sections/SelectionControlsSection.d.ts +1 -0
  66. package/dist/src/pages/home/rb/sections/SelectsSection.d.ts +1 -0
  67. package/dist/src/pages/home/rb/sections/TableToolbarSection.d.ts +1 -0
  68. package/dist/src/pages/home/rb/sections/TablesSection.d.ts +1 -0
  69. package/dist/src/pages/home/rb/sections/TreePanelSection.d.ts +1 -0
  70. package/dist/src/pages/home/rb/sections/TypographySection.d.ts +1 -0
  71. package/dist/src/pages/home/rb/types/documentation.types.d.ts +6 -0
  72. package/dist/src/rb-components/auth/components/AuthLanguageDropdown.d.ts +1 -1
  73. package/dist/src/rb-components/auth/components/AuthPasswordInput.d.ts +1 -1
  74. package/dist/src/rb-components/auth/components/AuthShell.d.ts +1 -1
  75. package/dist/src/rb-components/feedback/message-alert/MessageAlert.d.ts +1 -1
  76. package/dist/src/rb-components/form/FormLayout.d.ts +15 -0
  77. package/dist/src/rb-components/form/FormShell.d.ts +26 -3
  78. package/dist/src/rb-components/form/index.d.ts +3 -1
  79. package/dist/src/rb-components/index.d.ts +1 -0
  80. package/dist/src/rb-components/list/RbList.d.ts +48 -0
  81. package/dist/src/rb-components/list/index.d.ts +2 -0
  82. package/dist/src/rb-components/navigation/PillsTabs.d.ts +1 -1
  83. package/dist/src/rb-components/shell/Breadcrumbs.d.ts +1 -1
  84. package/dist/src/rb-components/shell/DashboardShell.d.ts +1 -1
  85. package/dist/src/rb-components/shell/ShellContent.d.ts +1 -1
  86. package/dist/src/rb-components/sidebar/Sidebar.d.ts +1 -1
  87. package/dist/src/rb-components/sidebar/SidebarContent.d.ts +1 -1
  88. package/dist/src/rb-components/sidebar/SidebarFooter.d.ts +1 -1
  89. package/dist/src/rb-components/sidebar/SidebarHeader.d.ts +1 -1
  90. package/dist/src/rb-components/table/RbExcelTable.d.ts +7 -0
  91. package/dist/src/rb-components/table/RbTable.d.ts +2 -1
  92. package/dist/src/rb-components/table/RbTableToolbar.d.ts +1 -17
  93. package/dist/src/rb-components/table/excel/RbExcelEditableCell.d.ts +12 -0
  94. package/dist/src/rb-components/table/excel/RbExcelValidationAlert.d.ts +11 -0
  95. package/dist/src/rb-components/table/excel/excel.helpers.d.ts +16 -0
  96. package/dist/src/rb-components/table/excel/excel.types.d.ts +361 -0
  97. package/dist/src/rb-components/table/index.d.ts +5 -1
  98. package/dist/src/rb-components/table/toolbar/RbToolbarActionButton.d.ts +1 -9
  99. package/dist/src/rb-components/table/toolbar/RbToolbarActions.d.ts +7 -0
  100. package/dist/src/rb-components/table/toolbar/RbToolbarDateRangeField.d.ts +1 -1
  101. package/dist/src/rb-components/table/toolbar/RbToolbarMultiSelectField.d.ts +5 -1
  102. package/dist/src/rb-components/table/toolbar/RbToolbarSearchField.d.ts +3 -10
  103. package/dist/src/rb-components/table/toolbar/RbToolbarSelectField.d.ts +8 -1
  104. package/dist/src/rb-components/table/toolbar/index.d.ts +9 -7
  105. package/dist/src/rb-components/table/types.d.ts +48 -2
  106. package/dist/src/rb-components/topbar/TopBar.d.ts +1 -1
  107. package/dist/src/rb-components/topbar/TopBarUserMenu.d.ts +1 -1
  108. package/dist/src/rb-components/tree-panel/TreeIcon.d.ts +19 -0
  109. package/dist/src/rb-components/tree-panel/TreeNode.d.ts +17 -0
  110. package/dist/src/rb-components/tree-panel/TreePanel.d.ts +4 -0
  111. package/dist/src/rb-components/tree-panel/index.d.ts +4 -0
  112. package/dist/src/rb-components/tree-panel/treePanel.types.d.ts +94 -0
  113. package/dist/src/rb-components/tree-panel/treePanel.utils.d.ts +25 -0
  114. package/dist/src/rb-components/ui/index.d.ts +18 -19
  115. package/dist/src/rb-components/ui/overlays/Tooltip.d.ts +1 -1
  116. package/dist/src/rb-components/ui/primitives/AutoCustomCompleteField.d.ts +61 -4
  117. package/dist/src/rb-components/ui/primitives/Button.d.ts +2 -3
  118. package/dist/src/rb-components/ui/primitives/Card.d.ts +5 -5
  119. package/dist/src/rb-components/ui/primitives/Checkbox.d.ts +10 -0
  120. package/dist/src/rb-components/ui/primitives/Input.d.ts +2 -2
  121. package/dist/src/rb-components/ui/primitives/Radio.d.ts +11 -0
  122. package/dist/src/rb-components/ui/primitives/RbContextMenu.d.ts +1 -1
  123. package/dist/src/rb-components/ui/primitives/RbInlineChipField.d.ts +3 -3
  124. package/dist/src/rb-components/ui/primitives/date-fields/CustomDatePicker.d.ts +12 -1
  125. package/dist/src/rb-components/ui/primitives/date-fields/CustomDateRangeCalendar.d.ts +1 -1
  126. package/dist/src/rb-components/ui/primitives/date-fields/CustomDateRangePicker.d.ts +2 -1
  127. package/dist/src/rb-components/ui/primitives/date-fields/CustomDateRangefield.d.ts +2 -1
  128. package/dist/src/rb-components/ui/primitives/date-fields/CustomDatefield.d.ts +2 -1
  129. package/dist/src/rb-components/ui/primitives/date-fields/CustomTimefield.d.ts +2 -1
  130. package/dist/src/rb-components/ui/primitives/date-fields/DateFieldTrigger.d.ts +13 -1
  131. package/dist/src/rb-components/ui/primitives/date-fields/DateShortcuts.d.ts +3 -2
  132. package/dist/src/rb-components/ui/primitives/date-fields/TimePickerPanel.d.ts +1 -1
  133. package/dist/src/router/Router.d.ts +2 -2
  134. package/dist/src/stories/Button.d.ts +1 -1
  135. package/dist/src/stories/Button.stories.d.ts +1 -1
  136. package/dist/src/stories/Header.d.ts +1 -1
  137. package/dist/src/stories/Header.stories.d.ts +1 -1
  138. package/dist/src/stories/rb/PillsTabs.stories.d.ts +1 -1
  139. package/dist/src/stories/rb/RbAutoCustomCompleteField.stories.d.ts +1 -1
  140. package/dist/src/stories/rb/RbIconButton.stories.d.ts +1 -1
  141. package/dist/src/stories/rb/RbTable.stories.d.ts +1 -1
  142. package/dist/src/stories/sidebar.stories.d.ts +1 -1
  143. package/dist/web-ui.js +25356 -6448
  144. package/dist/web-ui.umd.cjs +151 -25
  145. package/package.json +1 -1
  146. /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) => import("react/jsx-runtime").JSX.Element;
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): import("react/jsx-runtime").JSX.Element;
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): import("react/jsx-runtime").JSX.Element;
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/jsx-runtime").JSX.Element;
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/jsx-runtime").JSX.Element;
12
- declare const PostSignIn: ({ routes }: PostSignInProps) => import("react/jsx-runtime").JSX.Element;
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/jsx-runtime").JSX.Element;
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/jsx-runtime").JSX.Element;
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/jsx-runtime").JSX.Element;
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/jsx-runtime").JSX.Element;
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/jsx-runtime").JSX.Element;
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: ({ label, placeholder, values, value, setValue, white, }: import('../../rb-components').CustomAutoCompleteFieldProps) => import("react/jsx-runtime").JSX.Element;
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 @@ declare const meta: {
9
9
  args: {
10
10
  size: "m";
11
11
  active: false;
12
- children: import("react/jsx-runtime").JSX.Element;
12
+ children: import("react").JSX.Element;
13
13
  };
14
14
  argTypes: {
15
15
  size: {
@@ -9,7 +9,7 @@ type WorkerRow = {
9
9
  };
10
10
  declare const meta: {
11
11
  title: string;
12
- component: (props: RbTableProps<WorkerRow>) => import("react/jsx-runtime").JSX.Element;
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/jsx-runtime").JSX.Element;
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
  };