lawgic-dev-kit 0.16.7 → 0.16.8
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/atoms/ThresholdCircleProgress/ThresholdCircleProgress.js +115 -0
- package/dist/components/atoms/TresholdProgressBar/TresholdProgressBar.js +72 -0
- package/dist/components/atoms/index.d.ts +2 -0
- package/dist/index.js +81 -77
- package/dist/lawgic-dev-kit.umd.js +50 -50
- package/dist/src/components/atoms/index.d.ts +37 -0
- package/package.json +1 -1
- package/dist/src/components/atoms/FloatingCard/FloatingCard.d.ts +0 -4
- package/dist/src/components/atoms/FloatingCard/FloatingCard.types.d.ts +0 -9
- package/dist/src/components/atoms/FloatingCard/index.d.ts +0 -1
- package/dist/src/components/atoms/ThresholdCircleProgress/ThresholdCircleProgress.d.ts +0 -4
- package/dist/src/components/atoms/ThresholdCircleProgress/ThresholdCircleProgress.types.d.ts +0 -26
- package/dist/src/components/atoms/ThresholdCircleProgress/index.d.ts +0 -1
- package/dist/src/components/atoms/TresholdProgressBar/TresholdProgressBar.d.ts +0 -4
- package/dist/src/components/atoms/TresholdProgressBar/TresholdProgressBar.types.d.ts +0 -22
- package/dist/src/components/atoms/TresholdProgressBar/index.d.ts +0 -1
- package/dist/src/components/molecules/AlertModal/AlertModal.d.ts +0 -3
- package/dist/src/components/molecules/AlertModal/AlertModal.types.d.ts +0 -9
- package/dist/src/components/molecules/DialogModal/DialogModal.d.ts +0 -3
- package/dist/src/components/molecules/DialogModal/DialogModal.types.d.ts +0 -11
- package/dist/src/types/modal.d.ts +0 -34
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export * from "./ActionButton/index";
|
|
2
|
+
export * from "./ActionButton/index";
|
|
3
|
+
export * from "./AsyncToast/index";
|
|
4
|
+
export * from "./Avatar/index";
|
|
5
|
+
export * from "./BoxContainer/index";
|
|
6
|
+
export * from "./Button/index";
|
|
7
|
+
export * from "./CenterModal/index";
|
|
8
|
+
export * from "./Checkbox/index";
|
|
9
|
+
export * from "./CountryInput/index";
|
|
10
|
+
export * from "./CountryLabel/index";
|
|
11
|
+
export * from "./CountrySelectInput/index";
|
|
12
|
+
export * from "./Divider/index";
|
|
13
|
+
export * from "./IconButton/index";
|
|
14
|
+
export * from "./ImageProfileInput/index";
|
|
15
|
+
export * from "./IndexedStep/index";
|
|
16
|
+
export * from "./InfoCard/index";
|
|
17
|
+
export * from "./InformationDisclaimer/index";
|
|
18
|
+
export * from "./LoadingSpinner/index";
|
|
19
|
+
export * from "./PasswordInput/index";
|
|
20
|
+
export * from "./PhoneInput/index";
|
|
21
|
+
export * from "./ProgressBar/index";
|
|
22
|
+
export * from "./SearchBar/index";
|
|
23
|
+
export * from "./SectionButton/index";
|
|
24
|
+
export * from "./SelectInput/index";
|
|
25
|
+
export * from "./SidebarButton/index";
|
|
26
|
+
export * from "./Tab/index";
|
|
27
|
+
export * from "./TextButton/index";
|
|
28
|
+
export * from "./TextInput/index";
|
|
29
|
+
export * from "./TextStaticInput/index";
|
|
30
|
+
export * from "./Toast/index";
|
|
31
|
+
export * from "./UncontrolledSelector/index";
|
|
32
|
+
export * from "./UncontrolledTextInput/index";
|
|
33
|
+
export * from "./UploadContainer/index";
|
|
34
|
+
export * from "./Tooltip/index";
|
|
35
|
+
export * from "./LoadingProgress/index";
|
|
36
|
+
export * from "./ThresholdCircleProgress/index";
|
|
37
|
+
export * from "./TresholdProgressBar/index";
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as FloatingCard } from "./FloatingCard";
|
package/dist/src/components/atoms/ThresholdCircleProgress/ThresholdCircleProgress.types.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export interface ColorThreshold {
|
|
2
|
-
threshold: number;
|
|
3
|
-
color: string;
|
|
4
|
-
label?: string;
|
|
5
|
-
}
|
|
6
|
-
export interface ThresholdCircleProgressProps {
|
|
7
|
-
progress: number;
|
|
8
|
-
showPercentage?: boolean;
|
|
9
|
-
showLabel?: boolean;
|
|
10
|
-
percentageLabel?: string;
|
|
11
|
-
className?: string;
|
|
12
|
-
size?: number;
|
|
13
|
-
strokeWidth?: number;
|
|
14
|
-
backgroundColor?: string;
|
|
15
|
-
animated?: boolean;
|
|
16
|
-
animationDuration?: string;
|
|
17
|
-
colorThresholds?: ColorThreshold[];
|
|
18
|
-
lowThreshold?: number;
|
|
19
|
-
mediumThreshold?: number;
|
|
20
|
-
lowColor?: string;
|
|
21
|
-
mediumColor?: string;
|
|
22
|
-
highColor?: string;
|
|
23
|
-
singleColor?: string;
|
|
24
|
-
clockwise?: boolean;
|
|
25
|
-
startAngle?: number;
|
|
26
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as ThresholdCircleProgress } from "./ThresholdCircleProgress";
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export interface ColorThreshold {
|
|
2
|
-
threshold: number;
|
|
3
|
-
color: string;
|
|
4
|
-
label?: string;
|
|
5
|
-
}
|
|
6
|
-
export interface ThresholdProgressBarProps {
|
|
7
|
-
progress: number;
|
|
8
|
-
showPercentage?: boolean;
|
|
9
|
-
percentageLabel?: string;
|
|
10
|
-
className?: string;
|
|
11
|
-
height?: string;
|
|
12
|
-
backgroundColor?: string;
|
|
13
|
-
animated?: boolean;
|
|
14
|
-
animationDuration?: string;
|
|
15
|
-
colorThresholds?: ColorThreshold[];
|
|
16
|
-
lowThreshold?: number;
|
|
17
|
-
mediumThreshold?: number;
|
|
18
|
-
lowColor?: string;
|
|
19
|
-
mediumColor?: string;
|
|
20
|
-
highColor?: string;
|
|
21
|
-
singleColor?: string;
|
|
22
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as TresholdProgressBar } from "./TresholdProgressBar";
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IconProp } from "@fortawesome/fontawesome-svg-core";
|
|
2
|
-
export interface DialogModalProps {
|
|
3
|
-
title: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
open: boolean;
|
|
6
|
-
icon?: IconProp;
|
|
7
|
-
onClose: () => void;
|
|
8
|
-
onConfirm?: () => void;
|
|
9
|
-
onCancel?: () => void;
|
|
10
|
-
showCloseButton?: boolean;
|
|
11
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from "react";
|
|
2
|
-
import { CenterModalProps } from "../components/atoms/CenterModal/CenterModal.types";
|
|
3
|
-
import { AlertModalProps } from "../components/molecules";
|
|
4
|
-
import { DialogModalProps } from "../components/molecules/DialogModal/DialogModal.types";
|
|
5
|
-
import { ModalType } from "./modalType";
|
|
6
|
-
export interface ModalProps {
|
|
7
|
-
open: boolean;
|
|
8
|
-
onClose: () => void;
|
|
9
|
-
showCloseButton?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export interface ModalOptionsBase {
|
|
12
|
-
id?: string;
|
|
13
|
-
onClose?: () => void;
|
|
14
|
-
}
|
|
15
|
-
export interface AlertModalOptions extends ModalOptionsBase {
|
|
16
|
-
type: "alert";
|
|
17
|
-
props: Omit<AlertModalProps, "open" | "onClose">;
|
|
18
|
-
}
|
|
19
|
-
export interface CenterModalOptions extends ModalOptionsBase {
|
|
20
|
-
type: "center";
|
|
21
|
-
props: Omit<CenterModalProps, "open" | "onClose">;
|
|
22
|
-
}
|
|
23
|
-
export interface DialogModalOptions extends ModalOptionsBase {
|
|
24
|
-
type: "dialog";
|
|
25
|
-
props: Omit<DialogModalProps, "open" | "onClose">;
|
|
26
|
-
}
|
|
27
|
-
export type ModalOptions = AlertModalOptions | CenterModalOptions | DialogModalOptions;
|
|
28
|
-
export interface ModalState extends Omit<ModalOptionsBase, "id"> {
|
|
29
|
-
id: string;
|
|
30
|
-
open: boolean;
|
|
31
|
-
type: ModalType;
|
|
32
|
-
props?: AlertModalProps | CenterModalProps | DialogModalProps | Record<string, any>;
|
|
33
|
-
component?: (open: boolean, onClose: () => void) => ReactElement;
|
|
34
|
-
}
|