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
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
-
3
- export default function PruebaPag1(): React.JSX.Element;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
-
3
- export declare const TestNataly: () => React.JSX.Element;
@@ -1,3 +0,0 @@
1
- import { Breakpoints } from '@mui/material';
2
-
3
- export declare const breakpoints: Breakpoints;
@@ -1,3 +0,0 @@
1
- import { Components, Theme } from '@mui/material';
2
-
3
- export declare const components: Components<Theme>;
@@ -1,3 +0,0 @@
1
- export declare const SincoTheme: import('@mui/material/styles').Theme;
2
- export declare let AdproSincoTheme: import('@mui/material/styles').Theme;
3
- export declare let ADCSincoTheme: import('@mui/material/styles').Theme;
@@ -1,3 +0,0 @@
1
- import { Mixins } from '@mui/material';
2
-
3
- export declare const mixins: Mixins;
@@ -1,69 +0,0 @@
1
-
2
- declare module '@mui/material/styles' {
3
- interface TypographyVariants {
4
- body3: React.CSSProperties;
5
- }
6
- interface TypographyVariantsOptions {
7
- body3?: React.CSSProperties;
8
- }
9
- }
10
- declare module '@mui/material/Typography' {
11
- interface TypographyPropsVariantOverrides {
12
- body3: true;
13
- }
14
- }
15
- declare module "@mui/material/Radio" {
16
- interface RadioPropsSizeOverrides {
17
- large: true;
18
- }
19
- }
20
- declare module "@mui/material/Checkbox" {
21
- interface CheckboxPropsSizeOverrides {
22
- large: true;
23
- }
24
- }
25
- declare module '@mui/material/styles' {
26
- interface Palette {
27
- default: Palette['primary'];
28
- chipPrimary: Palette['primary'];
29
- chipSecondary: Palette['secondary'];
30
- chipInfo: Palette['info'];
31
- chipWarning: Palette['warning'];
32
- chipError: Palette['error'];
33
- chipSuccess: Palette['success'];
34
- }
35
- interface PaletteOptions {
36
- default?: Palette['primary'];
37
- chipPrimary?: Palette['primary'];
38
- chipSecondary?: Palette['secondary'];
39
- chipInfo?: Palette['info'];
40
- chipWarning?: Palette['warning'];
41
- chipError?: PaletteOptions['error'];
42
- chipSuccess?: PaletteOptions['success'];
43
- }
44
- }
45
- declare module '@mui/material/Chip' {
46
- interface ChipPropsVariantOverrides {
47
- standard: true;
48
- }
49
- interface ChipPropsColorOverrides {
50
- default: true;
51
- chipPrimary: true;
52
- chipSecondary: true;
53
- chipInfo: true;
54
- chipWarning: true;
55
- chipError: true;
56
- chipSuccess: true;
57
- }
58
- }
59
- declare module "@mui/material/styles" {
60
- interface PaletteColor {
61
- 50?: string;
62
- 100?: string;
63
- 200?: string;
64
- 300?: string;
65
- 600?: string;
66
- 700?: string;
67
- 800?: string;
68
- }
69
- }
@@ -1,6 +0,0 @@
1
- import { PaletteOptions } from '@mui/material';
2
-
3
- export declare const BasicPalette: Partial<PaletteOptions>;
4
- export declare const paletteERP: PaletteOptions;
5
- export declare const paletteADPRO: PaletteOptions;
6
- export declare const paletteADC: PaletteOptions;
@@ -1,3 +0,0 @@
1
- import { Shadows } from '@mui/material/styles/shadows';
2
-
3
- export declare const shadows: Shadows;
@@ -1,5 +0,0 @@
1
- import { ThemeOptions } from '@mui/material/styles';
2
-
3
- export declare const ERPTheme: ThemeOptions;
4
- export declare const ADPROTheme: ThemeOptions;
5
- export declare const ADCTheme: ThemeOptions;
@@ -1,3 +0,0 @@
1
- import { TypographyOptions } from '@mui/material/styles/createTypography';
2
-
3
- export declare const typography: TypographyOptions;
@@ -1 +0,0 @@
1
- export declare function capitalize(text: string): string;
@@ -1,2 +0,0 @@
1
- export * from './types';
2
- export * from './capitalize';
@@ -1,4 +0,0 @@
1
- export type ReplyPalette = "primary" | "secondary" | "warning" | "info" | "success" | "error";
2
- export type ReplyTextPalette = "primary" | "secondary" | "disabled";
3
- export type ReplyVariants = "outlined" | "filled" | "standard";
4
- export type RepplyButtonVariants = "text" | "contained" | "outlined";
@@ -1,5 +0,0 @@
1
- export * from './Components';
2
- export * from './Theme';
3
- export * from './generales';
4
- export * from './Components/SCAutocomplete';
5
- export * from './Components/SCDataGrid';
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { SCAutocomplete } from '../../Components/SCAutocomplete';
3
-
4
- declare const meta: Meta<typeof SCAutocomplete>;
5
- export default meta;
6
- type Story = StoryObj<typeof SCAutocomplete>;
7
- export declare const SCAutocompleteStory: Story;
@@ -1,7 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { SCCalendarSwipeable } from '../../Components/SCCalendarSwipeable';
3
-
4
- declare const meta: Meta<typeof SCCalendarSwipeable>;
5
- export default meta;
6
- type Story = StoryObj<typeof SCCalendarSwipeable>;
7
- export declare const SCCalendarSwipeableStory: Story;
@@ -1,7 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { SCDataGrid } from '../../Components/SCDataGrid';
3
-
4
- declare const meta: Meta<typeof SCDataGrid>;
5
- export default meta;
6
- type Story = StoryObj<typeof SCDataGrid>;
7
- export declare const SCDataGridStory: Story;
@@ -1,7 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { SCDialog } from '../../Components/SCDialog';
3
-
4
- declare const meta: Meta<typeof SCDialog>;
5
- export default meta;
6
- type Story = StoryObj<typeof SCDialog>;
7
- export declare const SCTextArea: Story;
@@ -1,7 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { SCDrawer } from '../../Components';
3
-
4
- declare const meta: Meta<typeof SCDrawer>;
5
- export default meta;
6
- type Story = StoryObj<typeof SCDrawer>;
7
- export declare const DrawerStory: Story;
@@ -1,7 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { FooterAction } from '../../Components';
3
-
4
- declare const meta: Meta<typeof FooterAction>;
5
- export default meta;
6
- type Story = StoryObj<typeof FooterAction>;
7
- export declare const FooterStory: Story;
@@ -1,2 +0,0 @@
1
- export * from './Typography';
2
- export * from './types';
@@ -1,3 +0,0 @@
1
- export type ReplyPalette = "primary" | "secondary" | "warning" | "info" | "success" | "error" | "inherit";
2
- export type ReplyTextPalette = "primary" | "secondary" | "disabled";
3
- export type ReplyVariants = "outlined" | "filled" | "standard";
@@ -1,7 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { SCMenu } from '../../Components/SCMenu';
3
-
4
- declare const meta: Meta<typeof SCMenu>;
5
- export default meta;
6
- type Story = StoryObj<typeof SCMenu>;
7
- export declare const SCMenuStory: Story;
@@ -1,7 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { SCModal } from '../../Components';
3
-
4
- declare const meta: Meta<typeof SCModal>;
5
- export default meta;
6
- type Story = StoryObj<typeof SCModal>;
7
- export declare const Modal: Story;
@@ -1,7 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { SCMultiSelect } from '../../Components';
3
-
4
- declare const meta: Meta<typeof SCMultiSelect>;
5
- export default meta;
6
- type Story = StoryObj<typeof SCMultiSelect>;
7
- export declare const MultiSelectAtorie: Story;
@@ -1,7 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { PageHeader } from '../../Components';
3
-
4
- declare const meta: Meta<typeof PageHeader>;
5
- export default meta;
6
- type Story = StoryObj<typeof PageHeader>;
7
- export declare const HeaderStory: Story;
@@ -1,7 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { SCTabs } from '../../Components/SCTabs';
3
-
4
- declare const meta: Meta<typeof SCTabs>;
5
- export default meta;
6
- type Story = StoryObj<typeof SCTabs>;
7
- export declare const SCTabsStory: Story;
@@ -1,7 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { SCTextArea } from '../../Components';
3
-
4
- declare const meta: Meta<typeof SCTextArea>;
5
- export default meta;
6
- type Story = StoryObj<typeof SCTextArea>;
7
- export declare const SCTextAreaStory: Story;
@@ -1,7 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { SCTextField } from '../../Components/Textfield/SCTextField';
3
-
4
- declare const meta: Meta<typeof SCTextField>;
5
- export default meta;
6
- type Story = StoryObj<typeof SCTextField>;
7
- export declare const SCTextfieldStory: Story;
@@ -1,27 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { SCToastNotification } from '../../Components/ToastNotification/SCToastNotification';
3
-
4
- declare const meta: Meta<typeof SCToastNotification>;
5
- export default meta;
6
- type Story = StoryObj<typeof SCToastNotification>;
7
- export declare const Primary: Story;
8
- export declare const Secondary: {
9
- name: string;
10
- args: {
11
- subtitle: string;
12
- title: string;
13
- dataOpt: string[];
14
- type: string;
15
- seeMore: boolean;
16
- time: number;
17
- };
18
- };
19
- export declare const Terciario: {
20
- name: string;
21
- args: {
22
- subtitle: string;
23
- title: string;
24
- type: string;
25
- time: number;
26
- };
27
- };
package/dist/vite.svg DELETED
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
@@ -1 +0,0 @@
1
-