nectiasw 0.0.33 → 0.0.35
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/dist/components/Dragarea/index.d.ts +4 -0
- package/dist/components/Dragarea/styled.d.ts +6 -0
- package/dist/components/Dragarea/svg.d.ts +7 -0
- package/dist/components/Dragarea/types.d.ts +36 -0
- package/dist/components/Timeline/styled.d.ts +4 -2
- package/dist/components/Timeline/types.d.ts +26 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +15747 -14447
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +358 -320
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DragareaProps } from './types';
|
|
2
|
+
|
|
3
|
+
export declare const Dropzone: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, DragareaProps>> & string;
|
|
4
|
+
export declare const Message: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
5
|
+
export declare const Input: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, never>> & string;
|
|
6
|
+
export declare const Label: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, DragareaProps>> & string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { JSX } from 'react/jsx-runtime';
|
|
3
|
+
|
|
4
|
+
export declare const CloudArrowUpIcon: React.FC<JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>>;
|
|
5
|
+
export declare const ExclamationTriangleIcon: React.FC<JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>>;
|
|
6
|
+
export declare const DocumentTextIcon: React.FC<JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>>;
|
|
7
|
+
export declare const ArrowPathIcon: React.FC<JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export type DragareaProps = {
|
|
2
|
+
color?: string;
|
|
3
|
+
width?: number;
|
|
4
|
+
height?: number;
|
|
5
|
+
filename?: string;
|
|
6
|
+
message?: string;
|
|
7
|
+
status?: DropStatus;
|
|
8
|
+
borderColor?: string;
|
|
9
|
+
wrongColor?: string;
|
|
10
|
+
successColor?: string;
|
|
11
|
+
maxFileSize?: number;
|
|
12
|
+
backgroundColor?: string;
|
|
13
|
+
isDragActive?: boolean;
|
|
14
|
+
onFileUpload?: (file: File) => void;
|
|
15
|
+
setIsDragActive?: (active: boolean) => void;
|
|
16
|
+
acceptedFileType?: {
|
|
17
|
+
[type: string]: any[];
|
|
18
|
+
};
|
|
19
|
+
onStatusChange?: (status: DropStatus) => void;
|
|
20
|
+
onFileNameChange?: (filename: string) => void;
|
|
21
|
+
statusMessages?: Record<DropStatus, string[]>;
|
|
22
|
+
statusColors?: Partial<Record<DropStatus, string>>;
|
|
23
|
+
statusBorder?: Partial<Record<DropStatus, string>>;
|
|
24
|
+
statusIcons?: Partial<Record<DropStatus, React.ComponentType<any>>>;
|
|
25
|
+
};
|
|
26
|
+
export declare enum DropStatus {
|
|
27
|
+
DragActive = 1,
|
|
28
|
+
FileEmpty = 2,
|
|
29
|
+
InvalidType = 3,
|
|
30
|
+
FileTooBig = 4,
|
|
31
|
+
WithError = 5,
|
|
32
|
+
Reload = 6,
|
|
33
|
+
TooManyParticipants = 7,
|
|
34
|
+
MoreThanFifteen = 8,
|
|
35
|
+
MissingField = 9
|
|
36
|
+
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import { IDisclosureProps, TimelineDashedProps } from './types';
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* @description
|
|
3
5
|
* Styled Disclosure Component API.
|
|
4
6
|
*/
|
|
5
|
-
export declare const StyledDisclosure: import('styled-components/dist/types').IStyledComponentBase<"web",
|
|
6
|
-
export declare const TimelineDashed: import('styled-components/dist/types').IStyledComponentBase<"web",
|
|
7
|
+
export declare const StyledDisclosure: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IDisclosureProps>> & string;
|
|
8
|
+
export declare const TimelineDashed: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TimelineDashedProps>> & string;
|
|
7
9
|
/**
|
|
8
10
|
* @description
|
|
9
11
|
* TimeLineUnion Normal Stage API.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export type Stage = {
|
|
2
|
+
name: string;
|
|
3
|
+
date: string;
|
|
4
|
+
author: string;
|
|
5
|
+
uuid?: string;
|
|
6
|
+
};
|
|
7
|
+
export type Event = {
|
|
8
|
+
category: string;
|
|
9
|
+
data: Stage[];
|
|
10
|
+
isOpen: boolean;
|
|
11
|
+
};
|
|
12
|
+
export type EventUI = Event & {
|
|
13
|
+
uuid: string;
|
|
14
|
+
};
|
|
15
|
+
export type TimelineProps = {
|
|
16
|
+
events: Event[] | null;
|
|
17
|
+
title?: string;
|
|
18
|
+
};
|
|
19
|
+
export type TimelineDashedProps = {
|
|
20
|
+
lineHeight: string;
|
|
21
|
+
};
|
|
22
|
+
export type IDisclosureProps = {
|
|
23
|
+
isOpen: boolean;
|
|
24
|
+
lineHeight: string;
|
|
25
|
+
ref?: React.RefObject<HTMLDivElement>;
|
|
26
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -110,3 +110,5 @@ export * as Detail from './components/Detail';
|
|
|
110
110
|
export type { DetailProps, SectionProps } from './components/Detail';
|
|
111
111
|
export { Timeline } from './components/Timeline';
|
|
112
112
|
export type { TimelineProps, TimelineDashedProps } from './components/Timeline/types';
|
|
113
|
+
export { Dragarea } from './components/Dragarea';
|
|
114
|
+
export type { DragareaProps } from './components/Dragarea/types';
|