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.
@@ -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,6 +1,6 @@
1
1
  {
2
2
  "name": "lawgic-dev-kit",
3
- "version": "0.16.7",
3
+ "version": "0.16.8",
4
4
  "description": "Componentes de UI para Lawgic",
5
5
  "type": "module",
6
6
  "private": false,
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import type { FloatingCardProps } from "./FloatingCard.types";
3
- declare const FloatingCard: React.FC<FloatingCardProps>;
4
- export default FloatingCard;
@@ -1,9 +0,0 @@
1
- import type { Placement } from "@floating-ui/dom";
2
- export interface FloatingCardProps {
3
- content: React.ReactNode;
4
- children: React.ReactElement;
5
- className?: string;
6
- placement?: Placement;
7
- offset?: number;
8
- delay?: number;
9
- }
@@ -1 +0,0 @@
1
- export { default as FloatingCard } from "./FloatingCard";
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { ThresholdCircleProgressProps } from "./ThresholdCircleProgress.types";
3
- declare const ThresholdCircleProgress: React.FC<ThresholdCircleProgressProps>;
4
- export default ThresholdCircleProgress;
@@ -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,4 +0,0 @@
1
- import React from "react";
2
- import { ThresholdProgressBarProps } from "./TresholdProgressBar.types";
3
- declare const ThresholdProgressBar: React.FC<ThresholdProgressBarProps>;
4
- export default ThresholdProgressBar;
@@ -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,3 +0,0 @@
1
- import { AlertModalProps } from "./AlertModal.types";
2
- declare const AlertModal: ({ title, description, open, onClose, onConfirm, onCancel, showCloseButton, }: AlertModalProps) => import("react/jsx-runtime").JSX.Element;
3
- export default AlertModal;
@@ -1,9 +0,0 @@
1
- export interface AlertModalProps {
2
- title: string;
3
- description: string;
4
- open: boolean;
5
- onClose: () => void;
6
- onConfirm?: () => void;
7
- onCancel?: () => void;
8
- showCloseButton?: boolean;
9
- }
@@ -1,3 +0,0 @@
1
- import { DialogModalProps } from "./DialogModal.types";
2
- declare const DialogModal: ({ title, description, open, onClose, onConfirm, onCancel, icon, showCloseButton, }: DialogModalProps) => import("react/jsx-runtime").JSX.Element;
3
- export default DialogModal;
@@ -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
- }