componentes-sinco 1.0.3 → 1.0.5

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 (113) hide show
  1. package/dist/create-KZGO2OZA.svg +18 -0
  2. package/dist/empty-3NEKE7WO.svg +13 -0
  3. package/dist/error-RUCZUXDN.svg +5 -0
  4. package/dist/index.cjs +1555 -1101
  5. package/dist/index.cjs.map +1 -0
  6. package/dist/index.css +1 -0
  7. package/dist/index.css.map +1 -0
  8. package/dist/index.d.cts +216 -148
  9. package/dist/index.d.ts +216 -148
  10. package/dist/index.js +1536 -1086
  11. package/dist/index.js.map +1 -0
  12. package/dist/search-OKSCVF2W.svg +12 -0
  13. package/package.json +24 -17
  14. package/dist/componentes-sinco.css +0 -1
  15. package/dist/my-react-lib.es.js +0 -105856
  16. package/dist/my-react-lib.umd.js +0 -454
  17. package/dist/src/App.d.ts +0 -4
  18. package/dist/src/Components/Adjuntar/Adjuntar.d.ts +0 -4
  19. package/dist/src/Components/Adjuntar/Model.d.ts +0 -17
  20. package/dist/src/Components/Adjuntar/index.d.ts +0 -1
  21. package/dist/src/Components/Calendario/Calendario.d.ts +0 -3
  22. package/dist/src/Components/Drawer/Helpers/Model.d.ts +0 -55
  23. package/dist/src/Components/Drawer/Helpers/Utils.d.ts +0 -4
  24. package/dist/src/Components/Drawer/Helpers/index.d.ts +0 -3
  25. package/dist/src/Components/Drawer/Helpers/validateInput.d.ts +0 -3
  26. package/dist/src/Components/Drawer/SCDrawer.d.ts +0 -5
  27. package/dist/src/Components/Drawer/SCDrawer.test.d.ts +0 -1
  28. package/dist/src/Components/Drawer/index.d.ts +0 -1
  29. package/dist/src/Components/FooterAction/FooterAction.d.ts +0 -4
  30. package/dist/src/Components/FooterAction/Model.d.ts +0 -6
  31. package/dist/src/Components/FooterAction/index.d.ts +0 -2
  32. package/dist/src/Components/Hooks/useWindowDimensions.d.ts +0 -4
  33. package/dist/src/Components/Modal/Helpers/Data.d.ts +0 -19
  34. package/dist/src/Components/Modal/Helpers/Model.d.ts +0 -26
  35. package/dist/src/Components/Modal/Helpers/Utils.d.ts +0 -3
  36. package/dist/src/Components/Modal/Helpers/index.d.ts +0 -3
  37. package/dist/src/Components/Modal/SCModal.d.ts +0 -4
  38. package/dist/src/Components/Modal/SCModal.test.d.ts +0 -1
  39. package/dist/src/Components/Modal/index.d.ts +0 -2
  40. package/dist/src/Components/MultiSelect/MultiSelect.test.d.ts +0 -1
  41. package/dist/src/Components/MultiSelect/SCMultiSelect.d.ts +0 -4
  42. package/dist/src/Components/MultiSelect/example.d.ts +0 -3
  43. package/dist/src/Components/MultiSelect/helpers/Model.d.ts +0 -24
  44. package/dist/src/Components/MultiSelect/helpers/Utils.d.ts +0 -3
  45. package/dist/src/Components/MultiSelect/helpers/index.d.ts +0 -4
  46. package/dist/src/Components/MultiSelect/helpers/useFilteredItems.d.ts +0 -4
  47. package/dist/src/Components/MultiSelect/helpers/useHandlers.d.ts +0 -12
  48. package/dist/src/Components/MultiSelect/index.d.ts +0 -2
  49. package/dist/src/Components/PageHeader/Model.d.ts +0 -8
  50. package/dist/src/Components/PageHeader/PageHeader.d.ts +0 -4
  51. package/dist/src/Components/PageHeader/PageHeader.test.d.ts +0 -1
  52. package/dist/src/Components/PageHeader/index.d.ts +0 -2
  53. package/dist/src/Components/SCAutocomplete.d.ts +0 -26
  54. package/dist/src/Components/SCCalendarSwipeable.d.ts +0 -9
  55. package/dist/src/Components/SCDataGrid.d.ts +0 -19
  56. package/dist/src/Components/SCDialog.d.ts +0 -32
  57. package/dist/src/Components/SCMenu.d.ts +0 -20
  58. package/dist/src/Components/SCTabs.d.ts +0 -22
  59. package/dist/src/Components/TextArea/Helpers/Model.d.ts +0 -23
  60. package/dist/src/Components/TextArea/Helpers/index.d.ts +0 -2
  61. package/dist/src/Components/TextArea/Helpers/validateIcon.d.ts +0 -3
  62. package/dist/src/Components/TextArea/SCTextArea.d.ts +0 -4
  63. package/dist/src/Components/TextArea/index.d.ts +0 -2
  64. package/dist/src/Components/Textfield/Helpers/index.d.ts +0 -3
  65. package/dist/src/Components/Textfield/Helpers/validateIcon.d.ts +0 -4
  66. package/dist/src/Components/Textfield/Helpers/validateKeyDown.d.ts +0 -1
  67. package/dist/src/Components/Textfield/Helpers/validateOnBlur.d.ts +0 -10
  68. package/dist/src/Components/Textfield/Model.d.ts +0 -32
  69. package/dist/src/Components/Textfield/SCTextField.d.ts +0 -4
  70. package/dist/src/Components/Textfield/Textfield.test.d.ts +0 -1
  71. package/dist/src/Components/Textfield/index.d.ts +0 -2
  72. package/dist/src/Components/ToastNotification/Model.d.ts +0 -14
  73. package/dist/src/Components/ToastNotification/SCToastNotification.d.ts +0 -4
  74. package/dist/src/Components/ToastNotification/index.d.ts +0 -3
  75. package/dist/src/Components/ToastNotification/useProgress.d.ts +0 -6
  76. package/dist/src/Components/index.d.ts +0 -14
  77. package/dist/src/Pages/PruebasDavid/Test.d.ts +0 -3
  78. package/dist/src/Pages/PruebasNataly/PruebaPag1.d.ts +0 -4
  79. package/dist/src/Pages/PruebasNataly/PruebaPag2.d.ts +0 -3
  80. package/dist/src/Pages/PruebasNataly/TestNataly.d.ts +0 -3
  81. package/dist/src/Theme/breakpoints.d.ts +0 -3
  82. package/dist/src/Theme/components.d.ts +0 -3
  83. package/dist/src/Theme/index.d.ts +0 -3
  84. package/dist/src/Theme/mixins.d.ts +0 -3
  85. package/dist/src/Theme/module.d.ts +0 -69
  86. package/dist/src/Theme/palette.d.ts +0 -6
  87. package/dist/src/Theme/shadows.d.ts +0 -3
  88. package/dist/src/Theme/theme.d.ts +0 -5
  89. package/dist/src/Theme/typography.d.ts +0 -3
  90. package/dist/src/generales/capitalize.d.ts +0 -1
  91. package/dist/src/generales/index.d.ts +0 -2
  92. package/dist/src/generales/types.d.ts +0 -4
  93. package/dist/src/index.d.ts +0 -5
  94. package/dist/src/main.d.ts +0 -1
  95. package/dist/src/stories/Autocomplete/Autocomplete.stories.d.ts +0 -7
  96. package/dist/src/stories/CalendarSwipeable/CalendarSwipeable.stories.d.ts +0 -7
  97. package/dist/src/stories/DataGrid/DataGrid.stories.d.ts +0 -7
  98. package/dist/src/stories/Dialog/Dialog.stories.d.ts +0 -7
  99. package/dist/src/stories/Drawer/Drawer.stories.d.ts +0 -7
  100. package/dist/src/stories/FooterAction/Footer.stories.d.ts +0 -7
  101. package/dist/src/stories/Generales/Typography.d.ts +0 -1
  102. package/dist/src/stories/Generales/index.d.ts +0 -2
  103. package/dist/src/stories/Generales/types.d.ts +0 -3
  104. package/dist/src/stories/Menu/Menu.stories.d.ts +0 -7
  105. package/dist/src/stories/Modal/Modal.stories.d.ts +0 -7
  106. package/dist/src/stories/MultiSelect/MultiSelect.stories.d.ts +0 -7
  107. package/dist/src/stories/PageHeader/Header.stories.d.ts +0 -7
  108. package/dist/src/stories/Tabs/Tabs.stories.d.ts +0 -7
  109. package/dist/src/stories/TextArea/TextArea.stories.d.ts +0 -7
  110. package/dist/src/stories/Textfield/textfield.stories.d.ts +0 -7
  111. package/dist/src/stories/ToastNotification/toastNotification.stories.d.ts +0 -27
  112. package/dist/vite.svg +0 -1
  113. package/dist/vitest.setup.d.ts +0 -1
package/dist/src/App.d.ts DELETED
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
-
3
- declare function App(): React.JSX.Element;
4
- export default App;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { AdjuntarProps } from './Model';
3
-
4
- export declare const Adjuntar: <T>({ sx, compact, error, onClickAdjuntar, onChangeArchivos }: AdjuntarProps<T>) => React.JSX.Element;
@@ -1,17 +0,0 @@
1
- import { SxProps } from '@mui/material';
2
-
3
- export interface UploadedFile {
4
- name: string;
5
- size: number;
6
- type: string;
7
- progress: number;
8
- uploadError?: boolean;
9
- }
10
- export interface AdjuntarProps<T> {
11
- compact?: boolean;
12
- sx?: SxProps;
13
- files?: T[];
14
- error?: boolean;
15
- onClickAdjuntar?: () => void;
16
- onChangeArchivos?: (archivos: UploadedFile[]) => void;
17
- }
@@ -1 +0,0 @@
1
- export * from './Adjuntar';
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
-
3
- export declare const Calendar: () => React.JSX.Element;
@@ -1,55 +0,0 @@
1
- import { ReplyPalette, ReplyTextPalette, ReplyVariants } from '../../../generales';
2
- import * as Muicon from "@mui/icons-material";
3
- export interface ArrayElement {
4
- type?: 'textField' | 'textArea';
5
- title?: string;
6
- iconTitle?: keyof typeof Muicon;
7
- infoTitle?: {
8
- text?: string;
9
- component?: "tooltip" | "popover";
10
- };
11
- label?: string;
12
- placeholder?: string;
13
- infoElement?: {
14
- text?: string;
15
- component?: "tooltip" | "popover";
16
- };
17
- iconInputStart?: string;
18
- iconInputEnd?: string;
19
- maxLength?: number;
20
- component?: React.ReactNode;
21
- variant?: ReplyVariants;
22
- format?: 'int' | 'text' | 'password' | 'decimal';
23
- disabled?: boolean;
24
- required?: boolean;
25
- size?: 'small' | 'medium';
26
- width?: string;
27
- rows?: number;
28
- color?: ReplyPalette;
29
- background?: string;
30
- state?: any | React.Dispatch<React.SetStateAction<string>>;
31
- value?: string;
32
- onChange?: () => {};
33
- onBlur?: () => {};
34
- onKeyDown?: () => {};
35
- }
36
- export interface DrawerProps {
37
- title?: string;
38
- arrayElements?: ArrayElement[];
39
- actions?: {
40
- text: string;
41
- fn: () => void;
42
- disabled?: boolean;
43
- }[];
44
- buttonDrawer?: {
45
- icon?: keyof typeof Muicon;
46
- text?: string;
47
- color?: ReplyPalette;
48
- variant?: 'text' | 'outlined' | 'contained';
49
- iconPosition?: 'left' | 'right' | undefined;
50
- };
51
- colorTitle?: ReplyTextPalette | ReplyPalette | string;
52
- anchor?: "left" | "right";
53
- width?: string;
54
- open?: boolean;
55
- }
@@ -1,4 +0,0 @@
1
- export declare const getIcon: (iconName?: string) => import('@mui/material/OverridableComponent').OverridableComponent<import('@mui/material').SvgIconTypeMap<{}, "svg">> & {
2
- muiName: string;
3
- };
4
- export declare const cleanInputs: (arrayElements: any[]) => void;
@@ -1,3 +0,0 @@
1
- export * from './Model';
2
- export * from './Utils';
3
- export * from './validateInput';
@@ -1,3 +0,0 @@
1
- import { ToastBaseProperties } from '../../ToastNotification';
2
-
3
- export declare const validateInputs: (arrayElements: any[], onError: (toast: ToastBaseProperties) => void, onSuccess: () => void) => void;
@@ -1,5 +0,0 @@
1
- import { default as React } from 'react';
2
- import { DrawerProps } from './Helpers';
3
-
4
- export declare const SCDrawer: ({ title, arrayElements, actions, buttonDrawer, colorTitle, anchor, width, open, }: DrawerProps) => React.JSX.Element;
5
- export default SCDrawer;
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export * from './SCDrawer';
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { FooterActionsProperties } from './Model';
3
-
4
- export declare const FooterAction: ({ leftContent, rightContent, label, variant, }: FooterActionsProperties) => React.JSX.Element;
@@ -1,6 +0,0 @@
1
- export interface FooterActionsProperties {
2
- label?: React.ReactNode;
3
- leftContent?: React.ReactNode;
4
- rightContent?: React.ReactNode;
5
- variant?: 'standard' | 'float';
6
- }
@@ -1,2 +0,0 @@
1
- export * from './FooterAction';
2
- export * from './Model';
@@ -1,4 +0,0 @@
1
- export default function useWindowDimensions(): {
2
- width: number;
3
- height: number;
4
- };
@@ -1,19 +0,0 @@
1
- import { default as React } from 'react';
2
-
3
- export declare const modalStateConfig: {
4
- info: {
5
- color: string;
6
- defaultDescription: string;
7
- icon: React.JSX.Element;
8
- };
9
- delete: {
10
- color: string;
11
- defaultDescription: string;
12
- icon: React.JSX.Element;
13
- };
14
- warning: {
15
- color: string;
16
- defaultDescription: string;
17
- icon: React.JSX.Element;
18
- };
19
- };
@@ -1,26 +0,0 @@
1
- import { RepplyButtonVariants, ReplyPalette } from '../../../generales';
2
-
3
- export type ModalStates = 'info' | 'delete' | 'warning';
4
- export interface ModalProps {
5
- title: string;
6
- description?: string;
7
- textButton?: string;
8
- buttonVariant?: RepplyButtonVariants;
9
- iconPosition?: 'left' | 'right';
10
- buttonColor?: ReplyPalette;
11
- state: ModalStates;
12
- open: boolean;
13
- action?: {
14
- text: string;
15
- fn: () => void;
16
- disabled?: boolean;
17
- }[];
18
- buttonModal?: {
19
- icon?: string;
20
- text?: string;
21
- color?: ReplyPalette;
22
- variant?: 'text' | 'outlined' | 'contained';
23
- iconPosition?: 'left' | 'right';
24
- size?: "small" | "medium" | "large";
25
- };
26
- }
@@ -1,3 +0,0 @@
1
- export declare const getIconComponent: (iconName?: string) => React.ElementType;
2
- export declare const getModalColor: (state: string) => string;
3
- export declare const getButtonColor: (state: string) => 'inherit' | 'info' | 'error' | 'warning';
@@ -1,3 +0,0 @@
1
- export * from './Data';
2
- export * from './Model';
3
- export * from './Utils';
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ModalProps } from './Helpers';
3
-
4
- export declare const SCModal: ({ buttonModal, state, open, title, description, action, }: ModalProps) => React.JSX.Element;
@@ -1 +0,0 @@
1
- export {};
@@ -1,2 +0,0 @@
1
- export * from './Helpers';
2
- export * from './SCModal';
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { MultiSelectProps } from './helpers';
3
-
4
- export declare function SCMultiSelect<T>({ textButton, button, items, topPanel, actions, dense, open, selectAll, getItemLabel }: MultiSelectProps<T>): React.JSX.Element;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
-
3
- export default function ExamplePopTypes(): React.JSX.Element;
@@ -1,24 +0,0 @@
1
- import { ReplyPalette, RepplyButtonVariants } from '../../../generales';
2
-
3
- export interface MultiSelectProps<T> {
4
- textButton?: string;
5
- button?: {
6
- icon?: string;
7
- text?: string;
8
- color?: ReplyPalette;
9
- variant?: RepplyButtonVariants;
10
- iconPosition?: 'left' | 'right';
11
- size?: "small" | "medium" | "large";
12
- };
13
- topPanel?: React.ReactNode;
14
- dense?: boolean;
15
- open: boolean;
16
- selectAll?: boolean;
17
- items: T[];
18
- getItemLabel: (item: T) => string;
19
- actions?: {
20
- text: string;
21
- fn: () => void;
22
- disabled?: boolean;
23
- }[];
24
- }
@@ -1,3 +0,0 @@
1
- export declare function getIconMultiSelect(name: string): import('@mui/material/OverridableComponent').OverridableComponent<import('@mui/material').SvgIconTypeMap<{}, "svg">> & {
2
- muiName: string;
3
- };
@@ -1,4 +0,0 @@
1
- export * from './Model';
2
- export * from './useHandlers';
3
- export * from './Utils';
4
- export * from './useFilteredItems';
@@ -1,4 +0,0 @@
1
- export declare function useFilteredItems<T>(items: T[], filterValue: string, getItemLabel: (item: T) => string, selectedItems: T[]): {
2
- filteredItems: T[];
3
- sortedItems: T[];
4
- };
@@ -1,12 +0,0 @@
1
- export declare function useMultiSelectHandlers<T>(): {
2
- anchorEl: HTMLButtonElement | null;
3
- open: boolean;
4
- selectedItems: T[];
5
- filterValue: string;
6
- setSelectedItems: import('react').Dispatch<import('react').SetStateAction<T[]>>;
7
- handleOpen: (e: React.MouseEvent<HTMLButtonElement>) => void;
8
- handleClose: () => void;
9
- handleFilterChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
10
- handleCheckboxToggle: (item: T) => void;
11
- setOpen: import('react').Dispatch<import('react').SetStateAction<boolean>>;
12
- };
@@ -1,2 +0,0 @@
1
- export * from './SCMultiSelect';
2
- export * from './helpers';
@@ -1,8 +0,0 @@
1
- export interface PageheaderProperties {
2
- title: string | React.ReactNode;
3
- subtitle?: string | React.ReactNode;
4
- actions?: React.ReactNode;
5
- buttonBack?: React.ReactNode;
6
- fixed?: boolean;
7
- shadow?: boolean;
8
- }
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { PageheaderProperties } from './Model';
3
-
4
- export declare const PageHeader: ({ title, subtitle, actions, buttonBack, fixed, shadow, }: PageheaderProperties) => React.JSX.Element;
@@ -1 +0,0 @@
1
- export {};
@@ -1,2 +0,0 @@
1
- export * from './PageHeader';
2
- export * from './Model';
@@ -1,26 +0,0 @@
1
- import { default as React } from 'react';
2
-
3
- interface SCAutocompleteProps<T> {
4
- label?: string;
5
- data: T[];
6
- columnGroup?: string;
7
- getItemValue: (item: T) => {
8
- icon?: any;
9
- text: string;
10
- value: string;
11
- };
12
- type?: "normal" | "multiselect";
13
- checkMassive?: boolean;
14
- deleteType?: "button" | "icon";
15
- required?: boolean;
16
- disabled?: boolean;
17
- background?: string;
18
- fnAplicar?: () => void | React.ReactNode;
19
- setState: React.Dispatch<React.SetStateAction<any>>;
20
- state: {
21
- hiddenValue: string | string[];
22
- textValue: string | string[];
23
- };
24
- }
25
- export declare function SCAutocomplete<T>({ label, data, columnGroup, getItemValue, type, checkMassive, deleteType, fnAplicar, required, disabled, background, setState, state, }: SCAutocompleteProps<T>): React.JSX.Element;
26
- export {};
@@ -1,9 +0,0 @@
1
- import { default as React } from 'react';
2
-
3
- interface SCCalendarSwipeableProps {
4
- background?: string;
5
- setState: React.Dispatch<React.SetStateAction<string>>;
6
- state: string | any;
7
- }
8
- export declare const SCCalendarSwipeable: ({ background, setState, state, }: SCCalendarSwipeableProps) => React.JSX.Element;
9
- export {};
@@ -1,19 +0,0 @@
1
- import { default as React } from 'react';
2
-
3
- interface SCDataGridProps {
4
- data: any;
5
- columns: any;
6
- rowsTable?: number;
7
- checkboxSelection?: boolean;
8
- width?: string | number;
9
- height?: number;
10
- maxHeight?: number;
11
- density?: "compact" | "standard" | "comfortable";
12
- agrupacion?: boolean;
13
- columnsGrouping?: number;
14
- groupingColDef?: any;
15
- getTreeDataPath?: (row: any) => string[] | [];
16
- otherProps?: any;
17
- }
18
- export declare const SCDataGrid: ({ data, columns, rowsTable, checkboxSelection, width, height, maxHeight, density, agrupacion, groupingColDef, getTreeDataPath, ...props }: SCDataGridProps) => React.JSX.Element;
19
- export {};
@@ -1,32 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ReplyPalette } from '../stories/Generales/types';
3
-
4
- import * as Muicon from "@mui/icons-material";
5
- interface SCDialogProps {
6
- title?: string;
7
- iconTitle?: React.ReactNode | React.ReactElement | keyof typeof Muicon;
8
- subtitle?: string;
9
- content?: any;
10
- actions?: {
11
- text: string;
12
- fn: () => void;
13
- disabled?: boolean;
14
- }[];
15
- buttonDialog?: {
16
- icon?: string;
17
- text?: string;
18
- color?: ReplyPalette;
19
- tooltip?: string;
20
- variant?: 'text' | 'outlined' | 'contained';
21
- iconPosition?: 'left' | 'right' | undefined;
22
- };
23
- disableClose?: boolean;
24
- dividers?: boolean;
25
- widthContent?: 'extra-small' | 'small' | 'medium' | 'large' | 'extra-large';
26
- heightContent?: string;
27
- background?: string;
28
- setShow?: React.Dispatch<React.SetStateAction<boolean>>;
29
- show?: boolean | any;
30
- }
31
- export declare const SCDialog: ({ title, iconTitle, subtitle, content, actions, buttonDialog, disableClose, dividers, widthContent, heightContent, background, setShow, show }: SCDialogProps) => React.JSX.Element;
32
- export {};
@@ -1,20 +0,0 @@
1
- import { default as React } from 'react';
2
-
3
- interface Option {
4
- name?: string;
5
- iconLeft?: any | React.ReactNode | React.ReactElement | React.ElementType | null;
6
- iconRight?: any | React.ReactNode | React.ReactElement | React.ElementType | null;
7
- divider?: boolean;
8
- page: React.ReactNode | React.ReactElement;
9
- }
10
- interface SCMenuProps {
11
- header?: any;
12
- options: Option[];
13
- defaultOption?: string;
14
- disable?: boolean;
15
- widthMenu?: string;
16
- heightMenu?: string;
17
- widthPage?: string;
18
- }
19
- export declare const SCMenu: ({ header, options, defaultOption, disable, widthMenu, heightMenu, widthPage }: SCMenuProps) => React.JSX.Element;
20
- export {};
@@ -1,22 +0,0 @@
1
- import { default as React } from 'react';
2
-
3
- interface Option {
4
- name?: string;
5
- iconOrBadge: string | number | null | undefined | any | React.ReactNode | React.ReactElement | React.ElementType;
6
- disabled?: boolean;
7
- page: React.ReactNode | React.ReactElement;
8
- }
9
- interface SCTabsProps {
10
- options: Option[];
11
- defaultOption?: string;
12
- typeIcon?: "badge" | "icon";
13
- background?: string;
14
- iconPosition?: "top" | "bottom" | "start" | "end";
15
- colorTab?: "secondary" | "primary";
16
- orientation?: "horizontal" | "vertical";
17
- variant?: "standard" | "fullWidth" | "scrollable";
18
- scrollButtons?: boolean;
19
- children?: any;
20
- }
21
- export declare const SCTabs: ({ options, defaultOption, typeIcon, background, iconPosition, colorTab, orientation, variant, scrollButtons, children }: SCTabsProps) => React.JSX.Element;
22
- export {};
@@ -1,23 +0,0 @@
1
- import { ReplyTextPalette, ReplyVariants } from '../../../generales';
2
- import * as Muicon from "@mui/icons-material";
3
- export interface SCTextAreaProps {
4
- title?: string;
5
- iconTitle?: keyof typeof Muicon;
6
- infoTitle?: {
7
- text?: string;
8
- component?: "tooltip" | "popover";
9
- };
10
- colorTitle?: ReplyTextPalette;
11
- placeholder?: string;
12
- label?: string;
13
- width?: string;
14
- required?: boolean;
15
- background?: string;
16
- variant?: ReplyVariants;
17
- disabled?: boolean;
18
- rows?: number;
19
- maxLength?: number;
20
- value: string;
21
- state: React.Dispatch<React.SetStateAction<string>>;
22
- onBlur?: (event: React.FocusEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
23
- }
@@ -1,2 +0,0 @@
1
- export * from './Model';
2
- export * from './validateIcon';
@@ -1,3 +0,0 @@
1
- import { ComponentType } from 'react';
2
-
3
- export declare function getIcon(name?: string): ComponentType | null;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { SCTextAreaProps } from './Helpers';
3
-
4
- export declare const SCTextArea: ({ title, iconTitle, infoTitle, label, placeholder, maxLength, variant, disabled, required, width, rows, colorTitle, background, state, value, onBlur, }: SCTextAreaProps) => React.JSX.Element;
@@ -1,2 +0,0 @@
1
- export * from './Helpers';
2
- export * from './SCTextArea';
@@ -1,3 +0,0 @@
1
- export * from './validateIcon';
2
- export * from './validateKeyDown';
3
- export * from './validateOnBlur';
@@ -1,4 +0,0 @@
1
- import { ElementType } from 'react';
2
-
3
- export declare function getIconComponent(name: string | ElementType): ElementType | undefined;
4
- export declare function getIconValidation(name: string | any): "icon" | "text";
@@ -1 +0,0 @@
1
- export declare function validateKeyDown(event: React.KeyboardEvent<HTMLInputElement>, format?: string): void;
@@ -1,10 +0,0 @@
1
- import { FocusEvent } from 'react';
2
-
3
- type HandleBlurProps = {
4
- value: string;
5
- required?: boolean;
6
- setError: (val: boolean) => void;
7
- onBlur?: (event: FocusEvent<HTMLInputElement>) => void;
8
- };
9
- export declare const validateOnBlurField: ({ value, required, setError, onBlur, }: HandleBlurProps) => (event: FocusEvent<HTMLInputElement>) => void;
10
- export {};
@@ -1,32 +0,0 @@
1
- import { ReplyPalette } from '../../generales';
2
-
3
- export interface SCTextFieldProps {
4
- title?: string;
5
- iconTitle?: string;
6
- infoTitle?: {
7
- text?: string;
8
- component?: "tooltip" | "popover";
9
- };
10
- label?: string;
11
- placeholder?: string;
12
- color?: ReplyPalette;
13
- width?: string;
14
- background?: string;
15
- format?: 'int' | 'text' | 'password' | 'decimal';
16
- iconInputStart?: string;
17
- iconInputEnd?: string;
18
- infoElement?: {
19
- text?: string;
20
- component?: "tooltip" | "popover";
21
- };
22
- size?: "small" | "medium";
23
- variant?: "outlined" | "filled" | "standard";
24
- value: string;
25
- maxLength?: number;
26
- disabled?: boolean;
27
- required?: boolean;
28
- state: React.Dispatch<React.SetStateAction<string>>;
29
- onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
30
- onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
31
- onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
32
- }
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { SCTextFieldProps } from './Model';
3
-
4
- export declare const SCTextField: ({ title, iconTitle, infoTitle, label, placeholder, infoElement, iconInputStart, iconInputEnd, maxLength, variant, format, disabled, required, size, width, color, background, state, value, onChange, onBlur, onKeyDown, }: SCTextFieldProps) => React.JSX.Element;
@@ -1 +0,0 @@
1
- export {};
@@ -1,2 +0,0 @@
1
- export * from './Model';
2
- export * from './SCTextField';
@@ -1,14 +0,0 @@
1
- export type ToastType = 'success' | 'error' | 'warning' | 'info';
2
- export interface ToastBaseProperties {
3
- type?: ToastType;
4
- title: string;
5
- subtitle?: string;
6
- time?: number;
7
- listITems?: string[];
8
- seeMore?: boolean;
9
- actions?: {
10
- text: string;
11
- fn: () => void;
12
- disabled?: boolean;
13
- }[];
14
- }
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ToastBaseProperties } from './Model';
3
-
4
- export declare const SCToastNotification: (toast: ToastBaseProperties) => React.JSX.Element;
@@ -1,3 +0,0 @@
1
- export * from './Model';
2
- export * from './SCToastNotification';
3
- export * from './useProgress';
@@ -1,6 +0,0 @@
1
- export declare const useProgress: (timeProgress: number, lote?: number) => {
2
- progress: number;
3
- };
4
- export declare const ToastProgress: (timeProgress: number) => {
5
- progressToast: number;
6
- };
@@ -1,14 +0,0 @@
1
- export * from './Drawer';
2
- export * from './ToastNotification';
3
- export * from './MultiSelect';
4
- export * from './TextArea';
5
- export * from './Textfield';
6
- export * from './SCDialog';
7
- export * from './SCMenu';
8
- export * from './SCTabs';
9
- export * from './FooterAction';
10
- export * from './Modal';
11
- export * from './PageHeader';
12
- export * from './SCCalendarSwipeable';
13
- export * from './SCDataGrid';
14
- export * from './SCAutocomplete';
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
-
3
- export declare const TestComponents: () => React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
-
3
- /***************************************************************************/
4
- export default function PruebaPag1(): React.JSX.Element;