lawgic-dev-kit 0.16.7 → 0.17.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/dist/_virtual/index2.js +2 -3
- package/dist/_virtual/index3.js +3 -3
- package/dist/_virtual/index4.js +3 -5
- package/dist/_virtual/index5.js +5 -2
- package/dist/_virtual/index6.js +2 -2
- package/dist/_virtual/index7.js +2 -2
- package/dist/components/atoms/CircleProgress/CircleProgress.d.ts +22 -0
- package/dist/components/atoms/CircleProgress/CircleProgress.js +78 -0
- package/dist/components/atoms/CircleProgress/index.d.ts +1 -0
- package/dist/components/atoms/Switch/Switch.d.ts +7 -0
- package/dist/components/atoms/Switch/Switch.js +33 -0
- package/dist/components/atoms/Switch/index.d.ts +1 -0
- package/dist/components/atoms/ThresholdCircleProgress/ThresholdCircleProgress.js +108 -0
- package/dist/components/atoms/ThresholdCircleProgress/ThresholdCircleProgress.types.d.ts +6 -2
- package/dist/components/atoms/{TresholdProgressBar/TresholdProgressBar.d.ts → ThresholdProgressBar/ThresholdProgressBar.d.ts} +1 -1
- package/dist/components/atoms/ThresholdProgressBar/ThresholdProgressBar.js +72 -0
- package/dist/components/atoms/ThresholdProgressBar/index.d.ts +1 -0
- package/dist/components/atoms/index.d.ts +4 -0
- package/dist/index.js +89 -81
- package/dist/lawgic-dev-kit.css +1 -1
- package/dist/lawgic-dev-kit.umd.js +47 -38
- package/dist/node_modules/prop-types/index.js +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/toposort/index.js +1 -1
- package/dist/node_modules/yup/index.esm.js +3 -3
- package/dist/src/components/atoms/{TresholdProgressBar/TresholdProgressBar.d.ts → ThresholdProgressBar/ThresholdProgressBar.d.ts} +1 -1
- package/dist/src/components/atoms/ThresholdProgressBar/index.d.ts +1 -0
- package/dist/src/components/atoms/index.d.ts +39 -0
- package/package.json +1 -1
- package/dist/components/atoms/TresholdProgressBar/index.d.ts +0 -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/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
- /package/dist/components/atoms/{TresholdProgressBar/TresholdProgressBar.types.d.ts → ThresholdProgressBar/ThresholdProgressBar.types.d.ts} +0 -0
- /package/dist/src/components/atoms/{TresholdProgressBar/TresholdProgressBar.types.d.ts → ThresholdProgressBar/ThresholdProgressBar.types.d.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __module as r } from "../../_virtual/
|
|
1
|
+
import { __module as r } from "../../_virtual/index2.js";
|
|
2
2
|
import { __require as s } from "./node_modules/react-is/index.js";
|
|
3
3
|
import { __require as t } from "./factoryWithTypeCheckers.js";
|
|
4
4
|
import { __require as p } from "./factoryWithThrowingShims.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __module as e } from "../../../../_virtual/
|
|
1
|
+
import { __module as e } from "../../../../_virtual/index6.js";
|
|
2
2
|
import { __require as o } from "./cjs/react-is.production.min.js";
|
|
3
3
|
import { __require as t } from "./cjs/react-is.development.js";
|
|
4
4
|
var r;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as v } from "../../_virtual/
|
|
2
|
-
import { t as U } from "../../_virtual/
|
|
3
|
-
import oe from "../../_virtual/
|
|
1
|
+
import { p as v } from "../../_virtual/index3.js";
|
|
2
|
+
import { t as U } from "../../_virtual/index4.js";
|
|
3
|
+
import oe from "../../_virtual/index5.js";
|
|
4
4
|
const ce = Object.prototype.toString, he = Error.prototype.toString, fe = RegExp.prototype.toString, de = typeof Symbol < "u" ? Symbol.prototype.toString : () => "", pe = /^Symbol\((.*)\)(.*)$/;
|
|
5
5
|
function me(n) {
|
|
6
6
|
return n != +n ? "NaN" : n === 0 && 1 / n < 0 ? "-0" : "" + n;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { ThresholdProgressBarProps } from "./
|
|
2
|
+
import { ThresholdProgressBarProps } from "./ThresholdProgressBar.types";
|
|
3
3
|
declare const ThresholdProgressBar: React.FC<ThresholdProgressBarProps>;
|
|
4
4
|
export default ThresholdProgressBar;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ThresholdProgressBar } from "./ThresholdProgressBar";
|
|
@@ -0,0 +1,39 @@
|
|
|
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 "./ThresholdProgressBar/index";
|
|
38
|
+
export * from "./CircleProgress/index";
|
|
39
|
+
export * from "./Switch/index";
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as TresholdProgressBar } from './TresholdProgressBar';
|
|
@@ -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 +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
|
-
}
|
|
File without changes
|