nectiasw 0.0.294 → 0.0.296

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 (190) hide show
  1. package/package.json +1 -1
  2. package/dist/App.d.ts +0 -2
  3. package/dist/components/Alert/Alert.stories.d.ts +0 -13
  4. package/dist/components/Alert/index.d.ts +0 -2
  5. package/dist/components/Alert/types.d.ts +0 -9
  6. package/dist/components/Badge/Bagde.stories.d.ts +0 -17
  7. package/dist/components/Badge/index.d.ts +0 -16
  8. package/dist/components/Badge/types.d.ts +0 -5
  9. package/dist/components/Box/index.d.ts +0 -3
  10. package/dist/components/Box/styles.d.ts +0 -9
  11. package/dist/components/Box/types.d.ts +0 -105
  12. package/dist/components/Button/builder.d.ts +0 -20
  13. package/dist/components/Button/index.d.ts +0 -9
  14. package/dist/components/Button/styled.d.ts +0 -4
  15. package/dist/components/Button/styles.d.ts +0 -4
  16. package/dist/components/Button/types.d.ts +0 -25
  17. package/dist/components/Button/variants/Weekday/Weekday.stories.d.ts +0 -6
  18. package/dist/components/Button/variants/Weekday/index.d.ts +0 -3
  19. package/dist/components/Button/variants/Weekday/styled.d.ts +0 -13
  20. package/dist/components/Button/variants/Weekday/types.d.ts +0 -15
  21. package/dist/components/Card/Card.stories.d.ts +0 -13
  22. package/dist/components/Card/index.d.ts +0 -6
  23. package/dist/components/Card/styles.d.ts +0 -17
  24. package/dist/components/Card/types.d.ts +0 -10
  25. package/dist/components/Card/variants/Schedule/index.d.ts +0 -4
  26. package/dist/components/Card/variants/Schedule/styled.d.ts +0 -3
  27. package/dist/components/Card/variants/Schedule/types.d.ts +0 -13
  28. package/dist/components/Chart/Chart.stories.d.ts +0 -40
  29. package/dist/components/Chart/index.d.ts +0 -47
  30. package/dist/components/Chart/styles.d.ts +0 -5
  31. package/dist/components/Checkbox/index.d.ts +0 -27
  32. package/dist/components/Checkbox/styled.d.ts +0 -41
  33. package/dist/components/Checkbox/styles.d.ts +0 -7
  34. package/dist/components/Col/index.d.ts +0 -3
  35. package/dist/components/Col/styled.d.ts +0 -2
  36. package/dist/components/Col/types.d.ts +0 -13
  37. package/dist/components/Collapse/index.d.ts +0 -18
  38. package/dist/components/Collapse/styles.d.ts +0 -17
  39. package/dist/components/Container/index.d.ts +0 -12
  40. package/dist/components/Counter/index.d.ts +0 -11
  41. package/dist/components/Counter/styles.d.ts +0 -9
  42. package/dist/components/Datepicker/index.d.ts +0 -29
  43. package/dist/components/Datepicker/styled.d.ts +0 -8
  44. package/dist/components/Datepicker/styles.d.ts +0 -5
  45. package/dist/components/DeadlineChart/index.d.ts +0 -58
  46. package/dist/components/DeadlineChart/styles.d.ts +0 -11
  47. package/dist/components/Detail/Detail.stories.d.ts +0 -9
  48. package/dist/components/Detail/index.d.ts +0 -43
  49. package/dist/components/Detail/styles.d.ts +0 -14
  50. package/dist/components/Dragarea/index.d.ts +0 -3
  51. package/dist/components/Dragarea/styled.d.ts +0 -5
  52. package/dist/components/Dragarea/svg.d.ts +0 -5
  53. package/dist/components/Dragarea/types.d.ts +0 -38
  54. package/dist/components/Dropdown/index.d.ts +0 -41
  55. package/dist/components/Dropdown/styles.d.ts +0 -21
  56. package/dist/components/Empty/index.d.ts +0 -13
  57. package/dist/components/EnterprisesFilter/EnterpriseContext.d.ts +0 -17
  58. package/dist/components/EnterprisesFilter/index.d.ts +0 -21
  59. package/dist/components/FirstModal/index.d.ts +0 -3
  60. package/dist/components/FirstModal/styled.d.ts +0 -6
  61. package/dist/components/FirstModal/types.d.ts +0 -14
  62. package/dist/components/Flex/index.d.ts +0 -25
  63. package/dist/components/Flex/styles.d.ts +0 -8
  64. package/dist/components/Footer/index.d.ts +0 -7
  65. package/dist/components/Footer/styled.d.ts +0 -2
  66. package/dist/components/Footer/styles.d.ts +0 -3
  67. package/dist/components/Footer/svg.d.ts +0 -5
  68. package/dist/components/Grid/index.d.ts +0 -37
  69. package/dist/components/Input/index.d.ts +0 -67
  70. package/dist/components/Input/styles.d.ts +0 -8
  71. package/dist/components/Input/variants/InputTable.d.ts +0 -3
  72. package/dist/components/Layout/hooks.d.ts +0 -1
  73. package/dist/components/Layout/index.d.ts +0 -20
  74. package/dist/components/Layout/styles.d.ts +0 -13
  75. package/dist/components/Loading/index.d.ts +0 -16
  76. package/dist/components/Loading/styles.d.ts +0 -19
  77. package/dist/components/Modal/index.d.ts +0 -8
  78. package/dist/components/Modal/styles.d.ts +0 -25
  79. package/dist/components/Modal/variant/TCModal.d.ts +0 -4
  80. package/dist/components/Modal/variant/TCModal.stories.d.ts +0 -7
  81. package/dist/components/Modal/variant/styles.d.ts +0 -11
  82. package/dist/components/Modal/variant/svg.d.ts +0 -1
  83. package/dist/components/Modal/variant/types.d.ts +0 -14
  84. package/dist/components/ModalUnathorized/index.d.ts +0 -4
  85. package/dist/components/Navbar/Navbar.stories.d.ts +0 -7
  86. package/dist/components/Navbar/index.d.ts +0 -24
  87. package/dist/components/Navbar/styles.d.ts +0 -49
  88. package/dist/components/Pagination/index.d.ts +0 -3
  89. package/dist/components/Pagination/styles.d.ts +0 -26
  90. package/dist/components/Pagination/types.d.ts +0 -19
  91. package/dist/components/RadioButton/index.d.ts +0 -15
  92. package/dist/components/RadioButton/styles.d.ts +0 -7
  93. package/dist/components/Row/index.d.ts +0 -14
  94. package/dist/components/Search/index.d.ts +0 -7
  95. package/dist/components/Search/styled.d.ts +0 -14
  96. package/dist/components/Search/styles.d.ts +0 -20
  97. package/dist/components/Search/types.d.ts +0 -75
  98. package/dist/components/Search/variants/ScrollSearch.d.ts +0 -4
  99. package/dist/components/Search/variants/styled.d.ts +0 -23
  100. package/dist/components/Select/Select.stories.d.ts +0 -15
  101. package/dist/components/Select/builder.d.ts +0 -27
  102. package/dist/components/Select/index.d.ts +0 -46
  103. package/dist/components/Select/styled.d.ts +0 -1
  104. package/dist/components/Sidebar/Sidebar.stories.d.ts +0 -36
  105. package/dist/components/Sidebar/index.d.ts +0 -2
  106. package/dist/components/Sidebar/styles.d.ts +0 -26
  107. package/dist/components/Sidebar/types.d.ts +0 -37
  108. package/dist/components/Stepper/index.d.ts +0 -17
  109. package/dist/components/Stepper/styles.d.ts +0 -15
  110. package/dist/components/Switch/index.d.ts +0 -20
  111. package/dist/components/Table/Table.stories.d.ts +0 -8
  112. package/dist/components/Table/builder.d.ts +0 -18
  113. package/dist/components/Table/index.d.ts +0 -32
  114. package/dist/components/Table/styled.d.ts +0 -41
  115. package/dist/components/Table/styles.d.ts +0 -27
  116. package/dist/components/Table/svg.d.ts +0 -1
  117. package/dist/components/Table/types.d.ts +0 -98
  118. package/dist/components/Tableinput/index.d.ts +0 -40
  119. package/dist/components/Tableinput/styles.d.ts +0 -3
  120. package/dist/components/Tableinput/types.d.ts +0 -8
  121. package/dist/components/Text/index.d.ts +0 -47
  122. package/dist/components/Text/styles.d.ts +0 -23
  123. package/dist/components/Textarea/TextArea.stories.d.ts +0 -10
  124. package/dist/components/Textarea/index.d.ts +0 -15
  125. package/dist/components/Textarea/styled.d.ts +0 -2
  126. package/dist/components/Textarea/styles.d.ts +0 -23
  127. package/dist/components/Timeline/index.d.ts +0 -3
  128. package/dist/components/Timeline/styled.d.ts +0 -12
  129. package/dist/components/Timeline/styles.d.ts +0 -26
  130. package/dist/components/Timeline/types.d.ts +0 -26
  131. package/dist/components/Tooltip/index.d.ts +0 -16
  132. package/dist/components/Tooltip/styled.d.ts +0 -22
  133. package/dist/components/Tooltip/styles.d.ts +0 -3
  134. package/dist/components/Totalhours/index.d.ts +0 -72
  135. package/dist/constants/index.d.ts +0 -11
  136. package/dist/events/index.d.ts +0 -58
  137. package/dist/hooks/usecache/config.d.ts +0 -7
  138. package/dist/hooks/usecache/index.d.ts +0 -13
  139. package/dist/hooks/usecheckbox/index.d.ts +0 -12
  140. package/dist/hooks/usetoggle/index.d.ts +0 -14
  141. package/dist/index.d.ts +0 -133
  142. package/dist/index.es.js +0 -36161
  143. package/dist/index.es.js.map +0 -1
  144. package/dist/index.umd.js +0 -2129
  145. package/dist/index.umd.js.map +0 -1
  146. package/dist/main.d.ts +0 -0
  147. package/dist/providers/channel/hooks.d.ts +0 -11
  148. package/dist/providers/channel/index.d.ts +0 -26
  149. package/dist/providers/channel/types.d.ts +0 -8
  150. package/dist/providers/context/hooks.d.ts +0 -1
  151. package/dist/providers/context/index.d.ts +0 -31
  152. package/dist/providers/context/types.d.ts +0 -48
  153. package/dist/providers/https/http.api.d.ts +0 -27
  154. package/dist/providers/https/index.d.ts +0 -68
  155. package/dist/providers/logger/index.d.ts +0 -24
  156. package/dist/providers/microfront/index.d.ts +0 -16
  157. package/dist/providers/microfront/types.d.ts +0 -50
  158. package/dist/providers/permissions/index.d.ts +0 -12
  159. package/dist/providers/permissions/types.d.ts +0 -88
  160. package/dist/providers/permissions/utils.d.ts +0 -11
  161. package/dist/providers/private/index.d.ts +0 -25
  162. package/dist/providers/storage/crypto.d.ts +0 -1
  163. package/dist/providers/storage/index.d.ts +0 -4
  164. package/dist/providers/storage/session/index.d.ts +0 -53
  165. package/dist/providers/storage/types.d.ts +0 -32
  166. package/dist/providers/taggeo/tagEvent.d.ts +0 -12
  167. package/dist/stories/Button.d.ts +0 -27
  168. package/dist/stories/Button.stories.d.ts +0 -23
  169. package/dist/stories/Header.d.ts +0 -12
  170. package/dist/stories/Header.stories.d.ts +0 -18
  171. package/dist/stories/Page.d.ts +0 -2
  172. package/dist/stories/Page.stories.d.ts +0 -12
  173. package/dist/style.css +0 -1
  174. package/dist/theme/index.d.ts +0 -12
  175. package/dist/typings/index.d.ts +0 -150
  176. package/dist/utils/amount/index.d.ts +0 -1
  177. package/dist/utils/bearer/index.d.ts +0 -6
  178. package/dist/utils/cache/index.d.ts +0 -7
  179. package/dist/utils/capitalize/index.d.ts +0 -6
  180. package/dist/utils/download/index.d.ts +0 -6
  181. package/dist/utils/index.d.ts +0 -13
  182. package/dist/utils/mapping/index.d.ts +0 -19
  183. package/dist/utils/microfront/index.d.ts +0 -8
  184. package/dist/utils/responsive/index.d.ts +0 -5
  185. package/dist/utils/revert/index.d.ts +0 -5
  186. package/dist/utils/slots/index.d.ts +0 -14
  187. package/dist/utils/sort/index.d.ts +0 -6
  188. package/dist/utils/stack/index.d.ts +0 -5
  189. package/dist/utils/time/index.d.ts +0 -7
  190. package/dist/vite.svg +0 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nectiasw",
3
3
  "private": false,
4
- "version": "0.0.294",
4
+ "version": "0.0.296",
5
5
  "type": "module",
6
6
  "types": "dist/index.d.ts",
7
7
  "main": "dist/index.umd.js",
package/dist/App.d.ts DELETED
@@ -1,2 +0,0 @@
1
- declare function App(): import("react").JSX.Element;
2
- export default App;
@@ -1,13 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { Alert } from '.';
3
- declare const meta: Meta<typeof Alert>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Default: Story;
7
- export declare const WarningOutlined: Story;
8
- export declare const WarningSolid: Story;
9
- export declare const Info: Story;
10
- export declare const Error: Story;
11
- export declare const Success: Story;
12
- export declare const WithoutIcon: Story;
13
- export declare const ComplexContent: Story;
@@ -1,2 +0,0 @@
1
- import { AlertProps } from './types';
2
- export declare const Alert: ({ icon: Icon, iconSize, iconColor, iconTextColor, content, className, }: AlertProps) => import("react").JSX.Element;
@@ -1,9 +0,0 @@
1
- import { ComponentType, ReactNode, SVGProps } from 'react';
2
- export type AlertProps = {
3
- icon?: ComponentType<SVGProps<SVGSVGElement>>;
4
- iconSize?: number | string;
5
- iconColor?: string;
6
- iconTextColor?: string;
7
- content?: ReactNode;
8
- className?: string;
9
- };
@@ -1,17 +0,0 @@
1
- import { StoryObj } from '@storybook/react';
2
- declare const meta: {
3
- title: string;
4
- component: import('react').FunctionComponent<import('.').BadgeProps>;
5
- parameters: {
6
- layout: string;
7
- };
8
- tags: string[];
9
- argTypes: {};
10
- args: {
11
- onClick: import('@vitest/spy').Mock<(...args: any[]) => any>;
12
- };
13
- };
14
- export default meta;
15
- type Story = StoryObj<typeof meta>;
16
- export declare const Correct: Story;
17
- export declare const WithError: Story;
@@ -1,16 +0,0 @@
1
- import { default as React } from 'react';
2
- import { BadgeStatus } from './types';
3
- export type BadgeProps = {
4
- color?: string;
5
- error?: number;
6
- width?: string;
7
- height?: string;
8
- className?: string;
9
- status?: BadgeStatus;
10
- onClick?: () => void;
11
- borderRadius?: string;
12
- backgroundColor?: string;
13
- isLabel?: boolean;
14
- children?: React.ReactNode;
15
- };
16
- export declare const Badge: React.FunctionComponent<BadgeProps>;
@@ -1,5 +0,0 @@
1
- export declare enum BadgeStatus {
2
- DEFAULT = 1,
3
- ERROR = 2,
4
- SUCCESS = 3
5
- }
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- import { BoxProps } from './types';
3
- export declare const Box: React.FC<BoxProps>;
@@ -1,9 +0,0 @@
1
- import { BoxProps } from './types';
2
- type ContainerArgs = Partial<BoxProps>;
3
- export declare const classes: (props: ContainerArgs) => string;
4
- /**
5
- * @description
6
- * Hover utility to avoid redundant hovering classes.
7
- */
8
- export declare const hoverFn: (props: BoxProps) => string;
9
- export {};
@@ -1,105 +0,0 @@
1
- export declare enum Rule {
2
- REM = "rem",
3
- PIXELS = "px"
4
- }
5
- type RotateDegree = '0' | '1' | '2' | '3' | '6' | '12' | '45' | '90' | '180';
6
- type BrightnessLevel = '0' | '50' | '75' | '90' | '95' | '100' | '105' | '110' | '125' | '150' | '200';
7
- type ScaleLevel = '0' | '50' | '75' | '90' | '95' | '100';
8
- type BorderWidth = '0' | '2' | '4' | '8' | 'x-0' | 'x-2' | 'x-4' | 'x-8' | 'x' | 'y-0' | 'y-2' | 'y-4' | 'y-8' | 'y' | 's-0' | 's-2' | 's-4' | 's-8' | 's' | 'e-0' | 'e-2' | 'e-4' | 'e-8' | 'e' | 't-0' | 't-2' | 't-4' | 't-8' | 't' | 'r-0' | 'r-2' | 'r-4' | 'r-8' | 'r' | 'b-0' | 'b-2' | 'b-4' | 'b-8' | 'b' | 'l-0' | 'l-2' | 'l-4' | 'l-8' | 'l';
9
- type Radius = 'none' | 'sm' | 'full' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
10
- type OpacityValue = '0' | '5' | '10' | '20' | '25' | '30' | '40' | '50' | '60' | '70' | '75' | '80' | '90' | '95' | '100';
11
- type BorderRadius = Radius | `s-${Radius}` | `e-${Radius}` | `t-${Radius}` | `r-${Radius}` | `b-${Radius}` | `ss-${Radius}` | `se-${Radius}` | `ee-${Radius}` | `es-${Radius}` | `tl-${Radius}` | `tr-${Radius}` | `bl-${Radius}` | `br-${Radius}`;
12
- type BreakTiming = 'auto' | 'avoid' | 'all' | 'avoid-page' | 'page' | 'left' | 'right' | 'column';
13
- type ScreenSize = '0' | 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | 'full' | 'min' | 'max' | 'fit' | 'prose';
14
- type BlurLevel = 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
15
- type SelectProperties = 'none' | 'text' | 'all' | 'auto';
16
- type TextOverflowProperties = 'truncate' | 'ellipsis' | 'clip';
17
- type DisplayProperties = 'block' | 'inline' | 'inline-block' | string;
18
- type PositionProperties = 'static' | 'relative' | 'absolute' | 'sticky' | 'fixed';
19
- type OverflowProperties = 'auto' | 'hidden' | 'clip' | 'visible' | 'scroll' | 'x-auto' | 'y-auto' | 'x-hidden' | 'y-hidden' | 'x-clip' | 'y-visible' | 'x-scroll' | 'y-scroll';
20
- type whiteSpaceProperties = 'normal' | 'nowrap' | 'pre' | 'pre-line' | 'pre-wrap' | 'break-spaces';
21
- export type BoxProps = {
22
- id?: string;
23
- as?: string;
24
- rule?: Rule;
25
- color?: string;
26
- blur?: BlurLevel;
27
- grid?: boolean;
28
- style?: React.CSSProperties;
29
- onClick?: () => void;
30
- onMouseEnter?: () => void;
31
- onMouseLeave?: () => void;
32
- fullWidth?: boolean;
33
- fullHeight?: boolean;
34
- width?: number | string;
35
- height?: number | string;
36
- top?: number | string;
37
- left?: number | string;
38
- right?: number | string;
39
- bottom?: number | string;
40
- insetX?: number | string;
41
- insetY?: number | string;
42
- margin?: number | string;
43
- marginX?: number | string;
44
- marginY?: number | string;
45
- padding?: number | string;
46
- paddingY?: number | string;
47
- paddingX?: number | string;
48
- paddingTop?: number | string;
49
- paddingLeft?: number | string;
50
- paddingRight?: number | string;
51
- paddingBottom?: number | string;
52
- maxWidth?: number | string;
53
- minWidth?: number | string;
54
- maxHeight?: number | string;
55
- minHeight?: number | string;
56
- minWidthScreen?: ScreenSize | string;
57
- minHeightScreen?: ScreenSize | string;
58
- maxWidthScreen?: ScreenSize | string;
59
- maxHeightScreen?: ScreenSize | string;
60
- marginTop?: number | string;
61
- marginLeft?: number | string;
62
- marginRight?: number | string;
63
- marginBottom?: number | string;
64
- backgroundColor?: string;
65
- zIndex?: number | string;
66
- display?: DisplayProperties;
67
- position?: PositionProperties;
68
- overflow?: OverflowProperties;
69
- borderWidth?: BorderWidth | string | number;
70
- textOverflow?: TextOverflowProperties;
71
- borderTop?: boolean;
72
- borderLeft?: boolean;
73
- borderRight?: boolean;
74
- borderBottom?: boolean;
75
- container?: boolean;
76
- breakAfter?: BreakTiming;
77
- breakInside?: BreakTiming;
78
- breakBefore?: BreakTiming;
79
- float?: 'left' | 'right';
80
- borderBox?: 'border' | 'content';
81
- clear?: 'left' | 'right' | 'both' | 'none';
82
- borders?: string[];
83
- wordBreak?: 'normal' | 'words' | 'all' | 'keep';
84
- borderStyle?: 'solid' | 'dashed';
85
- borderColor?: string;
86
- visibility?: 'visibile' | 'invisible' | 'collapse';
87
- textAlign?: 'left' | 'center' | 'right' | 'justify' | 'start' | 'end';
88
- textTransform?: 'uppercase' | 'lowercase' | 'capitalize' | 'normal-case';
89
- textDecoration?: 'underline' | 'overline' | 'line-through' | 'no-underline';
90
- lineHeight?: number | string;
91
- ringColor?: string | number;
92
- ringWidth?: string | number;
93
- ringOfsset?: string | number;
94
- brightness?: BrightnessLevel;
95
- borderRadius?: BorderRadius;
96
- scale?: ScaleLevel | string;
97
- scaleY?: ScaleLevel | string;
98
- scaleX?: ScaleLevel | string;
99
- rotate?: RotateDegree;
100
- select?: SelectProperties;
101
- whiteSpace?: whiteSpaceProperties;
102
- onHover?: Partial<BoxProps> & Exclude<BoxProps, 'hover'>;
103
- opacity?: OpacityValue;
104
- } & React.DetailedHTMLProps<React.HtmlHTMLAttributes<HTMLDivElement>, HTMLDivElement>;
105
- export {};
@@ -1,20 +0,0 @@
1
- import { ButtonProps } from './types';
2
- export type Override<T, U> = Omit<T, keyof U> & U;
3
- export type OverrideBuilder = Override<Builder, {
4
- backgrounds: typeof Builder.prototype.backgrounds;
5
- variants: typeof Builder.prototype.variants;
6
- }>;
7
- declare class Builder {
8
- private base;
9
- private props;
10
- variants: Record<string, string>;
11
- fontSize: Record<string, string>;
12
- backgrounds: Record<string, string>;
13
- private disabled;
14
- private active;
15
- tailwind: string;
16
- constructor(props: Partial<ButtonProps>, override?: OverrideBuilder);
17
- private getDisabledStyle;
18
- private buildClassName;
19
- }
20
- export { Builder };
@@ -1,9 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ButtonProps } from './types';
3
- /**
4
- * @description
5
- * Button component with TailwindCSS support and default props for size and variant.
6
- * The component is styled with styled-components.
7
- * @param props - ButtonProps
8
- */
9
- export declare const Button: React.FunctionComponent<ButtonProps>;
@@ -1,4 +0,0 @@
1
- import { ButtonProps } from './types';
2
- type ButtonStyledProps = Pick<ButtonProps, 'fullWidth' | 'tabWithHover' | 'visuallyDisabled'>;
3
- export declare const StyledButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "fullWidth" | "tabWithHover" | "visuallyDisabled"> & ButtonStyledProps, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "fullWidth" | "tabWithHover" | "visuallyDisabled"> & ButtonStyledProps, never>>> & string;
4
- export {};
@@ -1,4 +0,0 @@
1
- export declare const classes: {
2
- wrap: string;
3
- disabledTest: string;
4
- };
@@ -1,25 +0,0 @@
1
- import { default as React } from 'react';
2
- import { OverrideBuilder } from './builder';
3
- export type Variant = 'primary' | 'secondary' | 'outline' | 'tertiary' | 'quaternary' | 'quinary' | 'senary' | 'secondarymuted' | 'danger' | 'info-outline' | 'danger-outline' | 'primary-outline' | 'darkened-outline' | 'secondary-outline';
4
- export type ButtonProps = {
5
- disabled?: boolean;
6
- variant: Variant;
7
- children?: React.ReactNode;
8
- size: 'xs' | 'sm' | 'base' | 'lg' | 'xl' | 'xxl' | 'circle';
9
- fontSize?: 'xs' | 'sm' | 'base' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl';
10
- onClick?: () => void;
11
- disabledStyle?: string | Record<string, string>;
12
- Icon?: JSX.Element;
13
- override?: OverrideBuilder;
14
- activeAsTab?: boolean;
15
- className?: string;
16
- fullWidth?: boolean;
17
- tabWithHover?: boolean;
18
- visuallyDisabled?: boolean;
19
- orientationIcon?: 'right' | 'left';
20
- };
21
- export type ButtonStyledProps = {
22
- fullWidth?: boolean;
23
- tabWithHover?: boolean;
24
- activeColor?: string;
25
- };
@@ -1,6 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { WeekdayBarProps } from './types';
3
- declare const meta: Meta<WeekdayBarProps>;
4
- export default meta;
5
- type Story = StoryObj<WeekdayBarProps>;
6
- export declare const Default: Story;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- import { WeekdayBarProps } from './types';
3
- export declare const WeekdayBar: React.FunctionComponent<WeekdayBarProps>;
@@ -1,13 +0,0 @@
1
- interface ButtonProps {
2
- color: string;
3
- hoverColor: string;
4
- activeColor?: string;
5
- isActive: boolean;
6
- onClick: () => void;
7
- }
8
- export declare const WeekdayButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, keyof ButtonProps> & ButtonProps, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, keyof ButtonProps> & ButtonProps, never>>> & string;
9
- interface ButtonBarProps {
10
- isMobile?: boolean;
11
- }
12
- export declare const ButtonBar: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "isMobile"> & ButtonBarProps, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "isMobile"> & ButtonBarProps, never>>> & string;
13
- export {};
@@ -1,15 +0,0 @@
1
- export interface Day {
2
- name: string;
3
- color: string;
4
- hoverColor: string;
5
- id: number;
6
- }
7
- export interface WeekdayBarProps {
8
- activeDays: number[];
9
- days: Day[];
10
- activeColor?: string;
11
- hoverColor?: string;
12
- isActive?: boolean;
13
- setActiveDays: (activeDays: number[]) => void;
14
- isMobile?: boolean;
15
- }
@@ -1,13 +0,0 @@
1
- import { StoryObj } from '@storybook/react';
2
- declare const meta: {
3
- title: string;
4
- component: import('react').FunctionComponent<import('./types').CardProps>;
5
- parameters: {
6
- layout: string;
7
- };
8
- tags: string[];
9
- argTypes: {};
10
- };
11
- export default meta;
12
- type Story = StoryObj<typeof meta>;
13
- export declare const Requirement: Story;
@@ -1,6 +0,0 @@
1
- import { default as React } from 'react';
2
- import { CardProps, CardTitleProps } from './types';
3
- export declare const Card: React.FunctionComponent<CardProps>;
4
- export declare const DangerTitle: React.FC<CardTitleProps>;
5
- export declare const CheckTitle: React.FC<CardTitleProps>;
6
- export declare const AlertTitle: React.FC<CardTitleProps>;
@@ -1,17 +0,0 @@
1
- export declare const classes: {
2
- card: {
3
- size: string;
4
- style: string;
5
- separator: string;
6
- title: string;
7
- body: string;
8
- icon: string;
9
- };
10
- title: {
11
- rule: string;
12
- danger: string;
13
- alert: string;
14
- pass: string;
15
- icon: string;
16
- };
17
- };
@@ -1,10 +0,0 @@
1
- export type CardProps = {
2
- requirement?: string;
3
- description?: string;
4
- Icon?: React.FunctionComponent<React.SVGProps<SVGSVGElement>>;
5
- state?: number;
6
- };
7
- export type CardTitleProps = {
8
- title?: 'Pendientes de Carga' | 'Pendientes de Validación' | 'Validados';
9
- Icon?: React.FunctionComponent<React.SVGProps<SVGSVGElement>>;
10
- };
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ScheduleCardProps, HeaderProps } from './types';
3
- export declare const ScheduleCard: React.FC<ScheduleCardProps>;
4
- export declare const ScheduleHeader: React.FC<HeaderProps>;
@@ -1,3 +0,0 @@
1
- import { ScheduleCardProps, HeaderProps } from './types';
2
- export declare const Card: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof ScheduleCardProps> & ScheduleCardProps, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof ScheduleCardProps> & ScheduleCardProps, never>>> & string;
3
- export declare const Header: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof HeaderProps> & HeaderProps, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof HeaderProps> & HeaderProps, never>>> & string;
@@ -1,13 +0,0 @@
1
- export interface ScheduleCardProps {
2
- borderColor?: string;
3
- bgColor?: string;
4
- padding?: string;
5
- children: React.ReactNode;
6
- className?: string;
7
- }
8
- export interface HeaderProps {
9
- display?: string;
10
- justifyContent?: string;
11
- alignItems?: string;
12
- children: React.ReactNode;
13
- }
@@ -1,40 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { Chart } from '.';
3
- declare const meta: Meta<typeof Chart>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Default: Story;
7
- export declare const Disabled: Story;
8
- export declare const WithInnerText: Story;
9
- export declare const WithFlex: Story;
10
- export declare const CustomSize: Story;
11
- export declare const MultipleStages: Story;
12
- export declare const SingleStage: Story;
13
- export declare const CustomTextStyle: Story;
14
- export declare const WithoutAspect: Story;
15
- export declare const CustomTooltipContent: Story;
16
- export declare const RegisteredWithMultipleLevels: Story;
17
- export declare const ExecutionWithMultipleLevels: Story;
18
- export declare const DeliverOCWithMultipleLevels: Story;
19
- /**
20
- * Interactive chart with click handler.
21
- * Click on any segment to see the query params in the Actions panel.
22
- */
23
- export declare const WithClickHandler: Story;
24
- /**
25
- * Multiple interactive charts simulating dashboard behavior.
26
- * Shows how to use stageId to get query params for API calls.
27
- */
28
- export declare const DashboardSimulation: Story;
29
- /**
30
- * Chart showing "Cursos Cerrados" with 0 count (disabled state).
31
- */
32
- export declare const CerradosEmpty: Story;
33
- /**
34
- * Chart showing "Cursos Cerrados" with data.
35
- */
36
- export declare const CerradosWithData: Story;
37
- /**
38
- * All 5 stages in disabled state (no data).
39
- */
40
- export declare const AllStagesDisabled: Story;
@@ -1,47 +0,0 @@
1
- import { default as React } from 'react';
2
- /**
3
- * @description
4
- * Chart componnet for rendering content based on stages.
5
- */
6
- export declare const Chart: React.FunctionComponent<ChartProps>;
7
- export interface Graph {
8
- level: string;
9
- count: number;
10
- color: string;
11
- percent: string;
12
- }
13
- /**
14
- * @description
15
- * Query params emitted when clicking on a chart segment.
16
- * Contains the parameters needed to filter courses via API.
17
- */
18
- export interface ChartClickQuery {
19
- /** Stage ID for API query (1=Inscrito, 2=Ejecución, 3=Por Emisión OC, 4=Por Liquidar, 5=Cerrado) */
20
- stageId: number;
21
- /** Stage label for display */
22
- stageLabel: string;
23
- /** Level/deadline name (e.g., 'normal', 'medio', 'critico') */
24
- level: string;
25
- /** Count of courses in this segment */
26
- count: number;
27
- }
28
- export type ChartProps = {
29
- className?: string;
30
- partials: Graph[];
31
- label: string;
32
- width?: number;
33
- height?: number;
34
- labels?: string[];
35
- aspect?: boolean;
36
- flex?: boolean;
37
- disabled?: boolean;
38
- drawText?: string;
39
- textStyle?: string;
40
- fontStyle?: string;
41
- innerText?: string;
42
- content?: string;
43
- /** Stage ID for click events (e.g., 1, 2, 3, 4, 5) */
44
- stageId?: number;
45
- /** Callback fired when a chart segment is clicked */
46
- onBarClick?: (query: ChartClickQuery) => void;
47
- };
@@ -1,5 +0,0 @@
1
- export declare const classes: {
2
- label: string;
3
- flex: string;
4
- center: string;
5
- };
@@ -1,27 +0,0 @@
1
- import { default as React } from 'react';
2
- export type CheckboxIconProps = {
3
- status?: boolean;
4
- } & Pick<CheckboxProps, 'left' | 'top' | 'right'>;
5
- export type CheckboxProps = {
6
- id?: string;
7
- top?: string;
8
- left?: string;
9
- right?: string;
10
- name?: string;
11
- label?: string;
12
- value?: string;
13
- hidden?: boolean;
14
- filter?: boolean;
15
- checked?: boolean;
16
- disabled?: boolean;
17
- className?: string;
18
- indeterminate?: boolean;
19
- onChange?: (checked: boolean) => void;
20
- };
21
- /**
22
- * @description
23
- * Checkbox component with Tailwind CSS styles. This component is a wrapper of the native HTML checkbox.
24
- * @example
25
- * <TwCheckbox id="checkbox" name="checkbox" checked={true} />
26
- */
27
- export declare const Checkbox: React.FunctionComponent<CheckboxProps>;
@@ -1,41 +0,0 @@
1
- export declare const StyledCheckbox: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref" | "key" | keyof import('react').InputHTMLAttributes<HTMLInputElement>> & Omit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
2
- ref?: ((instance: HTMLInputElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLInputElement> | null | undefined;
3
- }, "type"> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref" | "key" | keyof import('react').InputHTMLAttributes<HTMLInputElement>> & Omit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
4
- ref?: ((instance: HTMLInputElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLInputElement> | null | undefined;
5
- }, "type">>> & string;
6
- export declare const CheckboxIcon: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<Omit<Omit<import('react').SVGProps<SVGSVGElement>, "ref"> & {
7
- title?: string;
8
- titleId?: string;
9
- } & import('react').RefAttributes<SVGSVGElement>, "ref"> & {
10
- ref?: ((instance: SVGSVGElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<SVGSVGElement> | null | undefined;
11
- }, "left" | "right" | "status" | "top"> & {
12
- status?: boolean;
13
- } & Pick<import('.').CheckboxProps, "left" | "right" | "top">, never> & Partial<Pick<import('styled-components').FastOmit<Omit<Omit<import('react').SVGProps<SVGSVGElement>, "ref"> & {
14
- title?: string;
15
- titleId?: string;
16
- } & import('react').RefAttributes<SVGSVGElement>, "ref"> & {
17
- ref?: ((instance: SVGSVGElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<SVGSVGElement> | null | undefined;
18
- }, "left" | "right" | "status" | "top"> & {
19
- status?: boolean;
20
- } & Pick<import('.').CheckboxProps, "left" | "right" | "top">, never>>> & string & Omit<import('react').ForwardRefExoticComponent<Omit<import('react').SVGProps<SVGSVGElement>, "ref"> & {
21
- title?: string;
22
- titleId?: string;
23
- } & import('react').RefAttributes<SVGSVGElement>>, keyof import('react').Component<any, {}, any>>;
24
- export declare const CheckboxIconFilter: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<Omit<Omit<import('react').SVGProps<SVGSVGElement>, "ref"> & {
25
- title?: string;
26
- titleId?: string;
27
- } & import('react').RefAttributes<SVGSVGElement>, "ref"> & {
28
- ref?: ((instance: SVGSVGElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<SVGSVGElement> | null | undefined;
29
- }, "left" | "right" | "status" | "top"> & {
30
- status?: boolean;
31
- } & Pick<import('.').CheckboxProps, "left" | "right" | "top">, never> & Partial<Pick<import('styled-components').FastOmit<Omit<Omit<import('react').SVGProps<SVGSVGElement>, "ref"> & {
32
- title?: string;
33
- titleId?: string;
34
- } & import('react').RefAttributes<SVGSVGElement>, "ref"> & {
35
- ref?: ((instance: SVGSVGElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<SVGSVGElement> | null | undefined;
36
- }, "left" | "right" | "status" | "top"> & {
37
- status?: boolean;
38
- } & Pick<import('.').CheckboxProps, "left" | "right" | "top">, never>>> & string & Omit<import('react').ForwardRefExoticComponent<Omit<import('react').SVGProps<SVGSVGElement>, "ref"> & {
39
- title?: string;
40
- titleId?: string;
41
- } & import('react').RefAttributes<SVGSVGElement>>, keyof import('react').Component<any, {}, any>>;
@@ -1,7 +0,0 @@
1
- export declare const classes: {
2
- container: {
3
- root: string;
4
- label: string;
5
- input: string;
6
- };
7
- };
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ColProps } from './types.ts';
3
- export declare const Col: React.FunctionComponent<ColProps>;
@@ -1,2 +0,0 @@
1
- import { ColProps } from './types';
2
- export declare const StyledCol: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof ColProps> & ColProps, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof ColProps> & ColProps, never>>> & string;
@@ -1,13 +0,0 @@
1
- export interface ColProps {
2
- row?: boolean;
3
- color?: string;
4
- width?: number;
5
- border?: string;
6
- padding?: string;
7
- borderColor?: string;
8
- borderHeight?: string;
9
- contentColor?: string;
10
- borderLeft?: boolean;
11
- backgroundColor?: string;
12
- children?: React.ReactNode;
13
- }
@@ -1,18 +0,0 @@
1
- import { default as React } from 'react';
2
- export declare const Collapse: React.FunctionComponent<CollapseProps>;
3
- export declare const StyledCollapse: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "width"> & {
4
- width?: string;
5
- }, never> & Partial<Pick<import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "width"> & {
6
- width?: string;
7
- }, never>>> & string;
8
- export type CollapseProps = {
9
- isOpen?: boolean;
10
- title?: string;
11
- child?: boolean;
12
- width?: string;
13
- className?: string;
14
- override?: string;
15
- onCollapse?: () => void;
16
- uncontrollable?: boolean;
17
- children?: React.ReactNode;
18
- };