nectiasw 0.0.233 → 0.0.234-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/dist/App.d.ts +0 -2
- package/dist/components/Badge/Bagde.stories.d.ts +0 -18
- package/dist/components/Badge/index.d.ts +0 -17
- package/dist/components/Badge/types.d.ts +0 -5
- package/dist/components/Box/index.d.ts +0 -4
- package/dist/components/Box/styles.d.ts +0 -10
- package/dist/components/Box/types.d.ts +0 -105
- package/dist/components/Button/builder.d.ts +0 -21
- package/dist/components/Button/index.d.ts +0 -10
- package/dist/components/Button/styled.d.ts +0 -5
- package/dist/components/Button/styles.d.ts +0 -4
- package/dist/components/Button/types.d.ts +0 -26
- package/dist/components/Button/variants/Weekday/Weekday.stories.d.ts +0 -7
- package/dist/components/Button/variants/Weekday/index.d.ts +0 -4
- package/dist/components/Button/variants/Weekday/styled.d.ts +0 -13
- package/dist/components/Button/variants/Weekday/types.d.ts +0 -15
- package/dist/components/Card/Card.stories.d.ts +0 -14
- package/dist/components/Card/index.d.ts +0 -7
- package/dist/components/Card/styles.d.ts +0 -17
- package/dist/components/Card/types.d.ts +0 -10
- package/dist/components/Card/variants/Schedule/index.d.ts +0 -5
- package/dist/components/Card/variants/Schedule/styled.d.ts +0 -4
- package/dist/components/Card/variants/Schedule/types.d.ts +0 -13
- package/dist/components/Chart/index.d.ts +0 -29
- package/dist/components/Chart/styles.d.ts +0 -5
- package/dist/components/Checkbox/index.d.ts +0 -28
- package/dist/components/Checkbox/styled.d.ts +0 -23
- package/dist/components/Checkbox/styles.d.ts +0 -7
- package/dist/components/Col/index.d.ts +0 -4
- package/dist/components/Col/styled.d.ts +0 -3
- package/dist/components/Col/types.d.ts +0 -13
- package/dist/components/Collapse/index.d.ts +0 -17
- package/dist/components/Collapse/styles.d.ts +0 -17
- package/dist/components/Container/index.d.ts +0 -13
- package/dist/components/Counter/index.d.ts +0 -12
- package/dist/components/Counter/styles.d.ts +0 -9
- package/dist/components/Datepicker/index.d.ts +0 -30
- package/dist/components/Datepicker/styled.d.ts +0 -9
- package/dist/components/Datepicker/styles.d.ts +0 -5
- package/dist/components/DeadlineChart/index.d.ts +0 -54
- package/dist/components/DeadlineChart/styles.d.ts +0 -11
- package/dist/components/Detail/index.d.ts +0 -38
- package/dist/components/Detail/styles.d.ts +0 -14
- package/dist/components/Dragarea/index.d.ts +0 -4
- package/dist/components/Dragarea/styled.d.ts +0 -6
- package/dist/components/Dragarea/svg.d.ts +0 -6
- package/dist/components/Dragarea/types.d.ts +0 -38
- package/dist/components/Dropdown/index.d.ts +0 -42
- package/dist/components/Dropdown/styles.d.ts +0 -21
- package/dist/components/Empty/index.d.ts +0 -14
- package/dist/components/FirstModal/index.d.ts +0 -4
- package/dist/components/FirstModal/styled.d.ts +0 -7
- package/dist/components/FirstModal/types.d.ts +0 -15
- package/dist/components/Flex/index.d.ts +0 -26
- package/dist/components/Flex/styles.d.ts +0 -9
- package/dist/components/Footer/index.d.ts +0 -8
- package/dist/components/Footer/styled.d.ts +0 -2
- package/dist/components/Footer/styles.d.ts +0 -3
- package/dist/components/Footer/svg.d.ts +0 -6
- package/dist/components/Grid/index.d.ts +0 -38
- package/dist/components/Input/index.d.ts +0 -60
- package/dist/components/Input/styles.d.ts +0 -8
- package/dist/components/Input/variants/InputTable.d.ts +0 -4
- package/dist/components/Layout/hooks.d.ts +0 -1
- package/dist/components/Layout/index.d.ts +0 -21
- package/dist/components/Layout/styles.d.ts +0 -11
- package/dist/components/Loading/index.d.ts +0 -17
- package/dist/components/Loading/styles.d.ts +0 -19
- package/dist/components/Modal/index.d.ts +0 -9
- package/dist/components/Modal/styles.d.ts +0 -25
- package/dist/components/Modal/variant/TCModal.d.ts +0 -5
- package/dist/components/Modal/variant/TCModal.stories.d.ts +0 -8
- package/dist/components/Modal/variant/styles.d.ts +0 -11
- package/dist/components/Modal/variant/svg.d.ts +0 -1
- package/dist/components/Modal/variant/types.d.ts +0 -14
- package/dist/components/ModalUnathorized/index.d.ts +0 -4
- package/dist/components/Navbar/Navbar.stories.d.ts +0 -8
- package/dist/components/Navbar/index.d.ts +0 -25
- package/dist/components/Navbar/styles.d.ts +0 -49
- package/dist/components/Pagination/index.d.ts +0 -4
- package/dist/components/Pagination/styles.d.ts +0 -26
- package/dist/components/Pagination/types.d.ts +0 -19
- package/dist/components/RadioButton/index.d.ts +0 -14
- package/dist/components/RadioButton/styles.d.ts +0 -7
- package/dist/components/Row/index.d.ts +0 -15
- package/dist/components/Search/index.d.ts +0 -8
- package/dist/components/Search/styled.d.ts +0 -13
- package/dist/components/Search/styles.d.ts +0 -20
- package/dist/components/Search/types.d.ts +0 -76
- package/dist/components/Search/variants/ScrollSearch.d.ts +0 -5
- package/dist/components/Search/variants/styled.d.ts +0 -22
- package/dist/components/Select/Select.stories.d.ts +0 -15
- package/dist/components/Select/builder.d.ts +0 -28
- package/dist/components/Select/index.d.ts +0 -47
- package/dist/components/Select/styled.d.ts +0 -1
- package/dist/components/Sidebar/index.d.ts +0 -4
- package/dist/components/Sidebar/styles.d.ts +0 -26
- package/dist/components/Sidebar/types.d.ts +0 -38
- package/dist/components/Stepper/index.d.ts +0 -18
- package/dist/components/Stepper/styles.d.ts +0 -15
- package/dist/components/Switch/index.d.ts +0 -19
- package/dist/components/Table/Table.stories.d.ts +0 -7
- package/dist/components/Table/builder.d.ts +0 -19
- package/dist/components/Table/index.d.ts +0 -33
- package/dist/components/Table/styled.d.ts +0 -31
- package/dist/components/Table/styles.d.ts +0 -27
- package/dist/components/Table/svg.d.ts +0 -1
- package/dist/components/Table/types.d.ts +0 -97
- package/dist/components/Tableinput/index.d.ts +0 -41
- package/dist/components/Tableinput/styles.d.ts +0 -3
- package/dist/components/Tableinput/types.d.ts +0 -8
- package/dist/components/Text/index.d.ts +0 -48
- package/dist/components/Text/styles.d.ts +0 -23
- package/dist/components/Textarea/TextArea.stories.d.ts +0 -11
- package/dist/components/Textarea/index.d.ts +0 -16
- package/dist/components/Textarea/styled.d.ts +0 -3
- package/dist/components/Textarea/styles.d.ts +0 -23
- package/dist/components/Timeline/index.d.ts +0 -4
- package/dist/components/Timeline/styled.d.ts +0 -13
- package/dist/components/Timeline/styles.d.ts +0 -26
- package/dist/components/Timeline/types.d.ts +0 -26
- package/dist/components/Tooltip/index.d.ts +0 -17
- package/dist/components/Tooltip/styled.d.ts +0 -23
- package/dist/components/Tooltip/styles.d.ts +0 -3
- package/dist/components/Totalhours/index.d.ts +0 -49
- package/dist/constants/index.d.ts +0 -11
- package/dist/events/index.d.ts +0 -58
- package/dist/hooks/usecache/config.d.ts +0 -8
- package/dist/hooks/usecache/index.d.ts +0 -13
- package/dist/hooks/usecheckbox/index.d.ts +0 -13
- package/dist/hooks/usetoggle/index.d.ts +0 -14
- package/dist/index.d.ts +0 -129
- package/dist/index.es.js +0 -59629
- package/dist/index.es.js.map +0 -1
- package/dist/index.umd.js +0 -4860
- package/dist/index.umd.js.map +0 -1
- package/dist/main.d.ts +0 -1
- package/dist/providers/channel/hooks.d.ts +0 -11
- package/dist/providers/channel/index.d.ts +0 -27
- package/dist/providers/channel/types.d.ts +0 -9
- package/dist/providers/context/hooks.d.ts +0 -1
- package/dist/providers/context/index.d.ts +0 -32
- package/dist/providers/context/types.d.ts +0 -49
- package/dist/providers/https/http.api.d.ts +0 -28
- package/dist/providers/https/index.d.ts +0 -69
- package/dist/providers/logger/index.d.ts +0 -24
- package/dist/providers/microfront/index.d.ts +0 -17
- package/dist/providers/microfront/types.d.ts +0 -51
- package/dist/providers/permissions/index.d.ts +0 -13
- package/dist/providers/permissions/types.d.ts +0 -77
- package/dist/providers/permissions/utils.d.ts +0 -12
- package/dist/providers/private/index.d.ts +0 -26
- package/dist/providers/storage/crypto.d.ts +0 -1
- package/dist/providers/storage/index.d.ts +0 -5
- package/dist/providers/storage/session/index.d.ts +0 -54
- package/dist/providers/storage/types.d.ts +0 -32
- package/dist/providers/taggeo/tagEvent.d.ts +0 -12
- package/dist/stories/Button.d.ts +0 -27
- package/dist/stories/Button.stories.d.ts +0 -24
- package/dist/stories/Header.d.ts +0 -12
- package/dist/stories/Header.stories.d.ts +0 -19
- package/dist/stories/Page.d.ts +0 -3
- package/dist/stories/Page.stories.d.ts +0 -13
- package/dist/style.css +0 -1
- package/dist/theme/index.d.ts +0 -12
- package/dist/typings/index.d.ts +0 -150
- package/dist/utils/amount/index.d.ts +0 -1
- package/dist/utils/bearer/index.d.ts +0 -6
- package/dist/utils/cache/index.d.ts +0 -7
- package/dist/utils/capitalize/index.d.ts +0 -6
- package/dist/utils/download/index.d.ts +0 -6
- package/dist/utils/index.d.ts +0 -13
- package/dist/utils/mapping/index.d.ts +0 -19
- package/dist/utils/microfront/index.d.ts +0 -8
- package/dist/utils/responsive/index.d.ts +0 -5
- package/dist/utils/revert/index.d.ts +0 -5
- package/dist/utils/slots/index.d.ts +0 -14
- package/dist/utils/sort/index.d.ts +0 -7
- package/dist/utils/stack/index.d.ts +0 -5
- package/dist/utils/time/index.d.ts +0 -7
- package/dist/vite.svg +0 -1
package/package.json
CHANGED
package/dist/App.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
2
|
-
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: import('react').FunctionComponent<import('.').BadgeProps>;
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: string;
|
|
8
|
-
};
|
|
9
|
-
tags: string[];
|
|
10
|
-
argTypes: {};
|
|
11
|
-
args: {
|
|
12
|
-
onClick: import('@vitest/spy').Mock<[], void>;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export default meta;
|
|
16
|
-
type Story = StoryObj<typeof meta>;
|
|
17
|
-
export declare const Correct: Story;
|
|
18
|
-
export declare const WithError: Story;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { BadgeStatus } from './types';
|
|
3
|
-
|
|
4
|
-
export type BadgeProps = {
|
|
5
|
-
color?: string;
|
|
6
|
-
error?: number;
|
|
7
|
-
width?: string;
|
|
8
|
-
height?: string;
|
|
9
|
-
className?: string;
|
|
10
|
-
status?: BadgeStatus;
|
|
11
|
-
onClick?: () => void;
|
|
12
|
-
borderRadius?: string;
|
|
13
|
-
backgroundColor?: string;
|
|
14
|
-
isLabel?: boolean;
|
|
15
|
-
children?: React.ReactNode;
|
|
16
|
-
};
|
|
17
|
-
export declare const Badge: React.FunctionComponent<BadgeProps>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BoxProps } from './types';
|
|
2
|
-
|
|
3
|
-
type ContainerArgs = Partial<BoxProps>;
|
|
4
|
-
export declare const classes: (props: ContainerArgs) => string;
|
|
5
|
-
/**
|
|
6
|
-
* @description
|
|
7
|
-
* Hover utility to avoid redundant hovering classes.
|
|
8
|
-
*/
|
|
9
|
-
export declare const hoverFn: (props: BoxProps) => string;
|
|
10
|
-
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,21 +0,0 @@
|
|
|
1
|
-
import { ButtonProps } from './types';
|
|
2
|
-
|
|
3
|
-
export type Override<T, U> = Omit<T, keyof U> & U;
|
|
4
|
-
export type OverrideBuilder = Override<Builder, {
|
|
5
|
-
backgrounds: typeof Builder.prototype.backgrounds;
|
|
6
|
-
variants: typeof Builder.prototype.variants;
|
|
7
|
-
}>;
|
|
8
|
-
declare class Builder {
|
|
9
|
-
private base;
|
|
10
|
-
private props;
|
|
11
|
-
variants: Record<string, string>;
|
|
12
|
-
fontSize: Record<string, string>;
|
|
13
|
-
backgrounds: Record<string, string>;
|
|
14
|
-
private disabled;
|
|
15
|
-
private active;
|
|
16
|
-
tailwind: string;
|
|
17
|
-
constructor(props: Partial<ButtonProps>, override?: OverrideBuilder);
|
|
18
|
-
private getDisabledStyle;
|
|
19
|
-
private buildClassName;
|
|
20
|
-
}
|
|
21
|
-
export { Builder };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { ButtonProps } from './types';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* @description
|
|
6
|
-
* Button component with TailwindCSS support and default props for size and variant.
|
|
7
|
-
* The component is styled with styled-components.
|
|
8
|
-
* @param props - ButtonProps
|
|
9
|
-
*/
|
|
10
|
-
export declare const Button: React.FunctionComponent<ButtonProps>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ButtonProps } from './types';
|
|
2
|
-
|
|
3
|
-
type ButtonStyledProps = Pick<ButtonProps, "fullWidth" | "tabWithHover" | "visuallyDisabled">;
|
|
4
|
-
export declare const StyledButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ButtonStyledProps>> & string;
|
|
5
|
-
export {};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { OverrideBuilder } from './builder';
|
|
3
|
-
|
|
4
|
-
export type Variant = "primary" | "secondary" | "outline" | "tertiary" | "quaternary" | "quinary" | "senary" | "secondarymuted" | "danger" | "info-outline" | "danger-outline" | "primary-outline" | "darkened-outline" | "secondary-outline";
|
|
5
|
-
export type ButtonProps = {
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
variant: Variant;
|
|
8
|
-
children?: React.ReactNode;
|
|
9
|
-
size: "xs" | "sm" | "base" | "lg" | "xl" | "xxl" | "circle";
|
|
10
|
-
fontSize?: "xs" | "sm" | "base" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl";
|
|
11
|
-
onClick?: () => void;
|
|
12
|
-
disabledStyle?: string | Record<string, string>;
|
|
13
|
-
Icon?: JSX.Element;
|
|
14
|
-
override?: OverrideBuilder;
|
|
15
|
-
activeAsTab?: boolean;
|
|
16
|
-
className?: string;
|
|
17
|
-
fullWidth?: boolean;
|
|
18
|
-
tabWithHover?: boolean;
|
|
19
|
-
visuallyDisabled?: boolean;
|
|
20
|
-
orientationIcon?: "right" | "left";
|
|
21
|
-
};
|
|
22
|
-
export type ButtonStyledProps = {
|
|
23
|
-
fullWidth?: boolean;
|
|
24
|
-
tabWithHover?: boolean;
|
|
25
|
-
activeColor?: string;
|
|
26
|
-
};
|
|
@@ -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/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ButtonProps>> & string;
|
|
9
|
-
interface ButtonBarProps {
|
|
10
|
-
isMobile?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare const ButtonBar: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ButtonBarProps>> & 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,14 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
2
|
-
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: import('react').FunctionComponent<import('./types').CardProps>;
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: string;
|
|
8
|
-
};
|
|
9
|
-
tags: string[];
|
|
10
|
-
argTypes: {};
|
|
11
|
-
};
|
|
12
|
-
export default meta;
|
|
13
|
-
type Story = StoryObj<typeof meta>;
|
|
14
|
-
export declare const Requirement: Story;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { CardProps, CardTitleProps } from './types';
|
|
3
|
-
|
|
4
|
-
export declare const Card: React.FunctionComponent<CardProps>;
|
|
5
|
-
export declare const DangerTitle: React.FC<CardTitleProps>;
|
|
6
|
-
export declare const CheckTitle: React.FC<CardTitleProps>;
|
|
7
|
-
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 { ScheduleCardProps, HeaderProps } from './types';
|
|
2
|
-
|
|
3
|
-
export declare const Card: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ScheduleCardProps>> & string;
|
|
4
|
-
export declare const Header: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, HeaderProps>> & 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,29 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @description
|
|
5
|
-
* Chart componnet for rendering content based on stages.
|
|
6
|
-
*/
|
|
7
|
-
export declare const Chart: React.FunctionComponent<ChartProps>;
|
|
8
|
-
export interface Graph {
|
|
9
|
-
level: string;
|
|
10
|
-
count: number;
|
|
11
|
-
color: string;
|
|
12
|
-
percent: string;
|
|
13
|
-
}
|
|
14
|
-
export type ChartProps = {
|
|
15
|
-
className?: string;
|
|
16
|
-
partials: Graph[];
|
|
17
|
-
label: string;
|
|
18
|
-
width?: number;
|
|
19
|
-
height?: number;
|
|
20
|
-
labels?: string[];
|
|
21
|
-
closed?: boolean;
|
|
22
|
-
aspect?: boolean;
|
|
23
|
-
flex?: boolean;
|
|
24
|
-
disabled?: boolean;
|
|
25
|
-
drawText?: string;
|
|
26
|
-
textStyle?: string;
|
|
27
|
-
fontStyle?: string;
|
|
28
|
-
innerText?: string;
|
|
29
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
export type CheckboxIconProps = {
|
|
4
|
-
status?: boolean;
|
|
5
|
-
} & Pick<CheckboxProps, "left" | "top" | "right">;
|
|
6
|
-
export type CheckboxProps = {
|
|
7
|
-
id?: string;
|
|
8
|
-
top?: string;
|
|
9
|
-
left?: string;
|
|
10
|
-
right?: string;
|
|
11
|
-
name?: string;
|
|
12
|
-
label?: string;
|
|
13
|
-
value?: string;
|
|
14
|
-
hidden?: boolean;
|
|
15
|
-
filter?: boolean;
|
|
16
|
-
checked?: boolean;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
className?: string;
|
|
19
|
-
indeterminate?: boolean;
|
|
20
|
-
onChange?: (checked: boolean) => void;
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @description
|
|
24
|
-
* Checkbox component with Tailwind CSS styles. This component is a wrapper of the native HTML checkbox.
|
|
25
|
-
* @example
|
|
26
|
-
* <TwCheckbox id="checkbox" name="checkbox" checked={true} />
|
|
27
|
-
*/
|
|
28
|
-
export declare const Checkbox: React.FunctionComponent<CheckboxProps>;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { CheckboxIconProps } from '.';
|
|
2
|
-
|
|
3
|
-
export declare const StyledCheckbox: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, 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
|
-
}>, never>, never>> & string;
|
|
6
|
-
export declare const CheckboxIcon: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<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
|
-
}, CheckboxIconProps>> & string & Omit<import('react').ForwardRefExoticComponent<Omit<import('react').SVGProps<SVGSVGElement>, "ref"> & {
|
|
12
|
-
title?: string;
|
|
13
|
-
titleId?: string;
|
|
14
|
-
} & import('react').RefAttributes<SVGSVGElement>>, keyof import('react').Component<any, {}, any>>;
|
|
15
|
-
export declare const CheckboxIconFilter: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<Omit<import('react').SVGProps<SVGSVGElement>, "ref"> & {
|
|
16
|
-
title?: string;
|
|
17
|
-
titleId?: string;
|
|
18
|
-
} & import('react').RefAttributes<SVGSVGElement>, "ref"> & {
|
|
19
|
-
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;
|
|
20
|
-
}, CheckboxIconProps>> & 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>>;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { ColProps } from './types';
|
|
2
|
-
|
|
3
|
-
export declare const StyledCol: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ColProps>> & 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,17 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
export declare const Collapse: React.FunctionComponent<CollapseProps>;
|
|
4
|
-
export declare const StyledCollapse: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
5
|
-
width?: string;
|
|
6
|
-
}>> & string;
|
|
7
|
-
export type CollapseProps = {
|
|
8
|
-
isOpen?: boolean;
|
|
9
|
-
title?: string;
|
|
10
|
-
child?: boolean;
|
|
11
|
-
width?: string;
|
|
12
|
-
className?: string;
|
|
13
|
-
override?: string;
|
|
14
|
-
onCollapse?: () => void;
|
|
15
|
-
uncontrollable?: boolean;
|
|
16
|
-
children?: React.ReactNode;
|
|
17
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare const classes: {
|
|
2
|
-
container: {
|
|
3
|
-
text: string;
|
|
4
|
-
child: string;
|
|
5
|
-
panel: string;
|
|
6
|
-
button: string;
|
|
7
|
-
disclosure: string;
|
|
8
|
-
content: string;
|
|
9
|
-
};
|
|
10
|
-
icon: {
|
|
11
|
-
root: string;
|
|
12
|
-
container: string;
|
|
13
|
-
open: string;
|
|
14
|
-
close: string;
|
|
15
|
-
size: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @description
|
|
5
|
-
* Col grid container for tailwind dynamic grid.
|
|
6
|
-
*/
|
|
7
|
-
export declare const Container: React.FunctionComponent<ContainerProps>;
|
|
8
|
-
export type ContainerProps = {
|
|
9
|
-
children: React.ReactNode;
|
|
10
|
-
className?: string;
|
|
11
|
-
cols?: number;
|
|
12
|
-
start?: number;
|
|
13
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
export declare const Counter: React.FunctionComponent<CounterProps>;
|
|
4
|
-
export declare const Circle: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
5
|
-
export declare const PassedDays: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
6
|
-
export type CounterProps = {
|
|
7
|
-
color?: string;
|
|
8
|
-
message?: string;
|
|
9
|
-
passedDays?: number;
|
|
10
|
-
remainingDays?: number;
|
|
11
|
-
children?: React.ReactNode;
|
|
12
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @description
|
|
5
|
-
* Handle date and sync dates.
|
|
6
|
-
*/
|
|
7
|
-
export declare const Datepicker: React.FC<DatepickerProps>;
|
|
8
|
-
export type DatepickerProps = {
|
|
9
|
-
date?: Date;
|
|
10
|
-
dayRef?: Date;
|
|
11
|
-
format?: string;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
readOnly?: boolean;
|
|
14
|
-
placeholderText?: string;
|
|
15
|
-
onChange?: (date: Date) => void;
|
|
16
|
-
className?: string;
|
|
17
|
-
debug?: boolean;
|
|
18
|
-
minDate?: Date;
|
|
19
|
-
maxDate?: Date;
|
|
20
|
-
tooltipMinDate?: string;
|
|
21
|
-
tooltipMaxDate?: string;
|
|
22
|
-
isTableInput?: boolean;
|
|
23
|
-
formatDisabled?: boolean;
|
|
24
|
-
isSelectable?: boolean;
|
|
25
|
-
};
|
|
26
|
-
export type YearOption = {
|
|
27
|
-
key: string;
|
|
28
|
-
label: string;
|
|
29
|
-
value: string;
|
|
30
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { default as Datepicker } from 'react-datepicker';
|
|
2
|
-
import { DatepickerProps } from '.';
|
|
3
|
-
|
|
4
|
-
export declare const StyledDatepicker: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<(import('react-datepicker').DatePickerProps & import('react').RefAttributes<Datepicker>) & import('styled-components/dist/types').BaseObject, DatepickerProps>> & string & Omit<typeof Datepicker, keyof import('react').Component<any, {}, any>>;
|
|
5
|
-
export declare const StyledTableInput: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, DatepickerProps>> & string;
|
|
6
|
-
export declare const StyledInput: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, DatepickerProps>> & string;
|
|
7
|
-
export declare const StyledIcon: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, DatepickerProps>> & string;
|
|
8
|
-
export declare const StyledHeader: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
9
|
-
export declare const StyledDay: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|