lawgic-dev-kit 0.21.6 → 0.22.2
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/README.md +54 -54
- package/dist/components/atoms/Checkbox/Checkbox.d.ts +3 -2
- package/dist/components/atoms/Checkbox/Checkbox.js +43 -30
- package/dist/components/atoms/SelectInput/SelectInput.d.ts +1 -1
- package/dist/components/atoms/SelectInput/SelectInput.js +125 -140
- package/dist/components/atoms/SelectInput/SelectInput.types.d.ts +2 -0
- package/dist/components/atoms/StepIndicator/StepIndicator.d.ts +5 -0
- package/dist/components/atoms/StepIndicator/StepIndicator.js +58 -0
- package/dist/components/atoms/StepIndicator/index.d.ts +1 -0
- package/dist/components/atoms/TextInput/TextInput.js +33 -33
- package/dist/components/atoms/Toast/Toast.d.ts +2 -3
- package/dist/components/atoms/Toast/Toast.js +46 -53
- package/dist/components/atoms/UncontrolledSelector/UncontrolledSelector.d.ts +1 -0
- package/dist/components/atoms/UncontrolledSelector/UncontrolledSelector.js +102 -88
- package/dist/components/atoms/UncontrolledTextInput/UncontrolledTextInput.js +20 -26
- package/dist/components/atoms/UploadContainer/UploadContainer.js +4 -4
- package/dist/components/atoms/index.d.ts +1 -1
- package/dist/components/molecules/CalendarSelector/CalendarSelector.js +8 -8
- package/dist/components/molecules/EmptyState/EmptyState.d.ts +9 -0
- package/dist/components/molecules/EmptyState/EmptyState.js +16 -0
- package/dist/components/molecules/EmptyState/index.d.ts +1 -0
- package/dist/components/molecules/MultiSelectDropdown/MultiSelectDropdown.d.ts +23 -0
- package/dist/components/molecules/MultiSelectDropdown/MultiSelectDropdown.js +190 -0
- package/dist/components/molecules/MultiSelectDropdown/index.d.ts +1 -0
- package/dist/components/molecules/Stepper/Stepper.d.ts +1 -1
- package/dist/components/molecules/Stepper/Stepper.js +78 -231
- package/dist/components/molecules/Stepper/Stepper.styles.d.ts +7 -3
- package/dist/components/molecules/Stepper/Stepper.styles.js +23 -15
- package/dist/components/molecules/Tooltip/Tooltip.d.ts +20 -0
- package/dist/components/molecules/Tooltip/Tooltip.js +41 -0
- package/dist/components/molecules/index.d.ts +3 -0
- package/dist/index.js +71 -65
- package/dist/lawgic-dev-kit.css +1 -1
- package/dist/lawgic-dev-kit.umd.js +80 -73
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +396 -712
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +33 -81
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/index.js +7 -2
- package/dist/node_modules/@fortawesome/pro-light-svg-icons/index.js +14 -49
- package/dist/node_modules/@fortawesome/pro-regular-svg-icons/index.js +32 -12
- package/dist/src/Root.d.ts +2 -0
- package/dist/src/app.d.ts +1 -0
- package/dist/src/components/atoms/ActionButton/ActionButton.d.ts +11 -0
- package/dist/src/components/atoms/ActionButton/index.d.ts +1 -0
- package/dist/src/components/atoms/AsyncToast/index.d.ts +11 -0
- package/dist/src/components/atoms/Avatar/Avatar.d.ts +11 -0
- package/dist/src/components/atoms/Avatar/index.d.ts +1 -0
- package/dist/src/components/atoms/BoxContainer/BoxContainer.d.ts +4 -0
- package/dist/src/components/atoms/BoxContainer/BoxContainer.types.d.ts +6 -0
- package/dist/src/components/atoms/BoxContainer/index.d.ts +1 -0
- package/dist/src/components/atoms/Button/Button.d.ts +4 -0
- package/dist/src/components/atoms/Button/Button.styles.d.ts +26 -0
- package/dist/src/components/atoms/Button/Button.types.d.ts +12 -0
- package/dist/src/components/atoms/Button/index.d.ts +1 -0
- package/dist/src/components/atoms/CenterModal/CenterModal.d.ts +4 -0
- package/dist/src/components/atoms/CenterModal/CenterModal.types.d.ts +6 -0
- package/dist/src/components/atoms/CenterModal/index.d.ts +1 -0
- package/dist/src/components/atoms/Checkbox/Checkbox.d.ts +13 -0
- package/dist/src/components/atoms/Checkbox/index.d.ts +1 -0
- package/dist/src/components/atoms/CircleProgress/CircleProgress.d.ts +22 -0
- package/dist/src/components/atoms/CircleProgress/index.d.ts +1 -0
- package/dist/src/components/atoms/ClickAwayListener/ClickAwayListener.d.ts +4 -0
- package/dist/src/components/atoms/ClickAwayListener/ClickAwayListener.types.d.ts +7 -0
- package/dist/src/components/atoms/ClickAwayListener/index.d.ts +1 -0
- package/dist/src/components/atoms/CountryInput/CountryInput.d.ts +4 -0
- package/dist/src/components/atoms/CountryInput/CountryInput.types.d.ts +37 -0
- package/dist/src/components/atoms/CountryInput/index.d.ts +1 -0
- package/dist/src/components/atoms/CountryLabel/CountryLabel.d.ts +6 -0
- package/dist/src/components/atoms/CountryLabel/index.d.ts +1 -0
- package/dist/src/components/atoms/CountrySelectInput/CountryDropdown.d.ts +4 -0
- package/dist/src/components/atoms/CountrySelectInput/CountryDropdown.types.d.ts +36 -0
- package/dist/src/components/atoms/CountrySelectInput/index.d.ts +1 -0
- package/dist/src/components/atoms/Divider/Divider.d.ts +7 -0
- package/dist/src/components/atoms/Divider/index.d.ts +1 -0
- package/dist/src/components/atoms/FilterPill/FilterPill.d.ts +8 -0
- package/dist/src/components/atoms/FilterPill/index.d.ts +1 -0
- package/dist/src/components/atoms/FloatingCard/FloatingCard.d.ts +4 -0
- package/dist/{components/atoms/Tooltip/Tooltip.types.d.ts → src/components/atoms/FloatingCard/FloatingCard.types.d.ts} +3 -3
- package/dist/src/components/atoms/FloatingCard/index.d.ts +1 -0
- package/dist/src/components/atoms/IconButton/IconButton.d.ts +4 -0
- package/dist/src/components/atoms/IconButton/IconButton.styles.d.ts +10 -0
- package/dist/src/components/atoms/IconButton/IconButton.types.d.ts +11 -0
- package/dist/src/components/atoms/IconButton/index.d.ts +1 -0
- package/dist/src/components/atoms/ImageProfileInput/ImageProfileInput.d.ts +4 -0
- package/dist/src/components/atoms/ImageProfileInput/ImageProfileInput.types.d.ts +12 -0
- package/dist/src/components/atoms/ImageProfileInput/ImageProfileInput.validators.d.ts +9 -0
- package/dist/src/components/atoms/ImageProfileInput/index.d.ts +2 -0
- package/dist/src/components/atoms/IndexedStep/IndexedStep.d.ts +9 -0
- package/dist/src/components/atoms/IndexedStep/index.d.ts +1 -0
- package/dist/src/components/atoms/InfoCard/InfoCard.d.ts +3 -0
- package/dist/src/components/atoms/InfoCard/InfoCard.types.d.ts +6 -0
- package/dist/src/components/atoms/InfoCard/index.d.ts +1 -0
- package/dist/src/components/atoms/InformationDisclaimer/InformationDisclaimer.d.ts +4 -0
- package/dist/src/components/atoms/InformationDisclaimer/InformationDisclaimer.styles.d.ts +3 -0
- package/dist/src/components/atoms/InformationDisclaimer/InformationDisclaimer.types.d.ts +10 -0
- package/dist/src/components/atoms/InformationDisclaimer/index.d.ts +1 -0
- package/dist/src/components/atoms/LoadingProgress/LoadingProgress.d.ts +13 -0
- package/dist/src/components/atoms/LoadingProgress/index.d.ts +1 -0
- package/dist/src/components/atoms/LoadingSpinner/LoadingSpinner.d.ts +8 -0
- package/dist/src/components/atoms/LoadingSpinner/index.d.ts +1 -0
- package/dist/src/components/atoms/PasswordInput/PasswordInput.d.ts +5 -0
- package/dist/src/components/atoms/PasswordInput/PasswordInput.types.d.ts +11 -0
- package/dist/src/components/atoms/PasswordInput/index.d.ts +1 -0
- package/dist/src/components/atoms/PhoneInput/PhoneInput.d.ts +5 -0
- package/dist/src/components/atoms/PhoneInput/PhoneInput.types.d.ts +12 -0
- package/dist/src/components/atoms/PhoneInput/index.d.ts +1 -0
- package/dist/src/components/atoms/Pill/Pill.d.ts +8 -0
- package/dist/src/components/atoms/Pill/index.d.ts +1 -0
- package/dist/src/components/atoms/ProgressBar/ProgressBar.d.ts +3 -0
- package/dist/src/components/atoms/ProgressBar/ProgressBar.styles.d.ts +7 -0
- package/dist/src/components/atoms/ProgressBar/ProgressBar.types.d.ts +6 -0
- package/dist/src/components/atoms/ProgressBar/index.d.ts +1 -0
- package/dist/src/components/atoms/SearchBar/index.d.ts +2 -0
- package/dist/src/components/atoms/SectionButton/SectionButton.d.ts +12 -0
- package/dist/src/components/atoms/SectionButton/desktop/SectionButton.d.ts +3 -0
- package/dist/src/components/atoms/SectionButton/desktop/SectionButton.styles.d.ts +2 -0
- package/dist/src/components/atoms/SectionButton/desktop/SectionButton.types.d.ts +37 -0
- package/dist/src/components/atoms/SectionButton/desktop/index.d.ts +2 -0
- package/dist/src/components/atoms/SectionButton/index.d.ts +1 -0
- package/dist/src/components/atoms/SectionButton/mobile/MobileSectionButton.styles.d.ts +3 -0
- package/dist/src/components/atoms/SectionButton/mobile/SectionButton.d.ts +3 -0
- package/dist/src/components/atoms/SectionButton/mobile/SectionButton.types.d.ts +37 -0
- package/dist/src/components/atoms/SectionButton/mobile/index.d.ts +2 -0
- package/dist/src/components/atoms/SelectInput/SelectInput.d.ts +1 -1
- package/dist/src/components/atoms/SelectInput/SelectInput.types.d.ts +2 -0
- package/dist/src/components/atoms/SelectInput/index.d.ts +1 -0
- package/dist/src/components/atoms/SidebarButton/SidebarButton.d.ts +13 -0
- package/dist/src/components/atoms/SidebarButton/SidebarButton.styles.d.ts +9 -0
- package/dist/src/components/atoms/SidebarButton/index.d.ts +1 -0
- package/dist/src/components/atoms/StepIndicator/StepIndicator.d.ts +5 -0
- package/dist/src/components/atoms/StepIndicator/index.d.ts +1 -0
- package/dist/src/components/atoms/Switch/Switch.d.ts +7 -0
- package/dist/src/components/atoms/Switch/index.d.ts +1 -0
- package/dist/src/components/atoms/Tab/Tab.d.ts +3 -0
- package/dist/src/components/atoms/Tab/Tab.styles.d.ts +6 -0
- package/dist/src/components/atoms/Tab/Tab.types.d.ts +11 -0
- package/dist/src/components/atoms/Tab/index.d.ts +1 -0
- package/dist/src/components/atoms/TextButton/TextButton.d.ts +4 -0
- package/dist/src/components/atoms/TextButton/TextButton.styles.d.ts +2 -0
- package/dist/src/components/atoms/TextButton/TextButton.types.d.ts +6 -0
- package/dist/src/components/atoms/TextButton/index.d.ts +1 -0
- package/dist/src/components/atoms/TextInput/TextInput.d.ts +5 -0
- package/dist/src/components/atoms/TextInput/TextInput.types.d.ts +13 -0
- package/dist/src/components/atoms/TextInput/index.d.ts +1 -0
- package/dist/src/components/atoms/TextStaticInput/TextStaticInput.d.ts +3 -0
- package/dist/src/components/atoms/TextStaticInput/TextStaticInput.types.d.ts +5 -0
- package/dist/src/components/atoms/TextStaticInput/index.d.ts +1 -0
- package/dist/src/components/atoms/ThresholdCircleProgress/ThresholdCircleProgress.d.ts +4 -0
- package/dist/src/components/atoms/ThresholdCircleProgress/ThresholdCircleProgress.types.d.ts +30 -0
- package/dist/src/components/atoms/ThresholdCircleProgress/index.d.ts +1 -0
- package/dist/src/components/atoms/ThresholdProgressBar/ThresholdProgressBar.d.ts +4 -0
- package/dist/src/components/atoms/ThresholdProgressBar/ThresholdProgressBar.types.d.ts +22 -0
- package/dist/src/components/atoms/ThresholdProgressBar/index.d.ts +1 -0
- package/dist/src/components/atoms/Toast/Toast.d.ts +20 -0
- package/dist/src/components/atoms/Toast/index.d.ts +1 -0
- package/dist/src/components/atoms/UncontrolledSelector/UncontrolledSelector.d.ts +1 -0
- package/dist/src/components/atoms/UncontrolledSelector/index.d.ts +1 -0
- package/dist/src/components/atoms/UncontrolledTextInput/UncontrolledTextInput.d.ts +4 -0
- package/dist/src/components/atoms/UncontrolledTextInput/UncontrolledTextInput.types.d.ts +14 -0
- package/dist/src/components/atoms/UncontrolledTextInput/index.d.ts +1 -0
- package/dist/src/components/atoms/UploadContainer/UploadContainer.d.ts +4 -0
- package/dist/src/components/atoms/UploadContainer/UploadContainer.types.d.ts +37 -0
- package/dist/src/components/atoms/UploadContainer/index.d.ts +1 -0
- package/dist/src/components/atoms/index.d.ts +42 -0
- package/dist/src/components/index.d.ts +3 -0
- package/dist/src/components/molecules/AlertModal/AlertModal.d.ts +3 -0
- package/dist/src/components/molecules/AlertModal/AlertModal.types.d.ts +9 -0
- package/dist/src/components/molecules/AlertModal/index.d.ts +2 -0
- package/dist/src/components/molecules/AutocompleteInput/AutocompleteInput.d.ts +3 -0
- package/dist/src/components/molecules/AutocompleteInput/AutocompleteInput.types.d.ts +28 -0
- package/dist/src/components/molecules/AutocompleteInput/index.d.ts +1 -0
- package/dist/src/components/molecules/CalendarSelector/CalendarSelector.d.ts +14 -0
- package/dist/src/components/molecules/CalendarSelector/CalendarSelector.styles.d.ts +36 -0
- package/dist/src/components/molecules/CalendarSelector/PeriodToggle.d.ts +15 -0
- package/dist/src/components/molecules/CalendarSelector/TimeDisplay.d.ts +7 -0
- package/dist/src/components/molecules/CalendarSelector/index.d.ts +1 -0
- package/dist/src/components/molecules/DateInput/DateInput.d.ts +14 -0
- package/dist/src/components/molecules/DateInput/index.d.ts +1 -0
- package/dist/src/components/molecules/DialogModal/DialogModal.d.ts +3 -0
- package/dist/src/components/molecules/DialogModal/DialogModal.types.d.ts +11 -0
- package/dist/src/components/molecules/DialogModal/index.d.ts +1 -0
- package/dist/src/components/molecules/Dropdown/Dropdown.d.ts +3 -0
- package/dist/src/components/molecules/Dropdown/Dropdown.types.d.ts +9 -0
- package/dist/src/components/molecules/Dropdown/index.d.ts +1 -0
- package/dist/src/components/molecules/EmptyState/EmptyState.d.ts +9 -0
- package/dist/src/components/molecules/EmptyState/index.d.ts +1 -0
- package/dist/src/components/molecules/FileUpload/FileUpload.d.ts +4 -0
- package/dist/src/components/molecules/FileUpload/FileUpload.types.d.ts +17 -0
- package/dist/src/components/molecules/FileUpload/index.d.ts +1 -0
- package/dist/src/components/molecules/FiltersMenu/FiltersMenu.d.ts +13 -0
- package/dist/src/components/molecules/FiltersMenu/index.d.ts +1 -0
- package/dist/src/components/molecules/FloatingMenu/FloatingMenu.d.ts +4 -0
- package/dist/src/components/molecules/FloatingMenu/FloatingMenu.types.d.ts +13 -0
- package/dist/src/components/molecules/FloatingMenu/index.d.ts +1 -0
- package/dist/src/components/molecules/IndexedStepper/IndexedStepper.d.ts +7 -0
- package/dist/src/components/molecules/IndexedStepper/index.d.ts +1 -0
- package/dist/src/components/molecules/InformationContainer/InformationContainer.d.ts +14 -0
- package/dist/src/components/molecules/InformationContainer/index.d.ts +1 -0
- package/dist/src/components/molecules/MultiSelectDropdown/MultiSelectDropdown.d.ts +23 -0
- package/dist/src/components/molecules/MultiSelectDropdown/index.d.ts +1 -0
- package/dist/src/components/molecules/PillsContainer/PillsContainer.d.ts +9 -0
- package/dist/src/components/molecules/PillsContainer/index.d.ts +1 -0
- package/dist/src/components/molecules/SearchModal/SearchModal.d.ts +4 -0
- package/dist/src/components/molecules/SearchModal/SearchModal.types.d.ts +5 -0
- package/dist/src/components/molecules/SearchModal/index.d.ts +1 -0
- package/dist/src/components/molecules/SideModal/SideModal.d.ts +4 -0
- package/dist/src/components/molecules/SideModal/SideModal.types.d.ts +11 -0
- package/dist/src/components/molecules/SideModal/index.d.ts +1 -0
- package/dist/src/components/molecules/Stepper/Stepper.d.ts +3 -0
- package/dist/src/components/molecules/Stepper/Stepper.styles.d.ts +15 -0
- package/dist/src/components/molecules/Stepper/index.d.ts +1 -0
- package/dist/src/components/molecules/Tabs/Tabs.d.ts +21 -0
- package/dist/src/components/molecules/Tabs/index.d.ts +1 -0
- package/dist/src/components/molecules/Tooltip/Tooltip.d.ts +20 -0
- package/dist/src/components/molecules/Tooltip/index.d.ts +1 -0
- package/dist/src/components/molecules/UncontrolledDateInput/UncontrolledDateInput.d.ts +16 -0
- package/dist/src/components/molecules/UncontrolledDateInput/index.d.ts +1 -0
- package/dist/src/components/molecules/index.d.ts +22 -0
- package/dist/src/components/organisms/index.d.ts +1 -0
- package/dist/src/constants/countries.d.ts +30 -0
- package/dist/src/contexts/index.d.ts +1 -0
- package/dist/src/contexts/themeContext.d.ts +3 -0
- package/dist/src/hooks/index.d.ts +2 -0
- package/dist/src/hooks/useFilterToggler.d.ts +5 -0
- package/dist/src/hooks/useTheme.d.ts +1 -0
- package/dist/src/index.d.ts +8 -0
- package/dist/src/lab/Laboratory.d.ts +2 -0
- package/dist/src/lab/LaboratoryLayout.d.ts +5 -0
- package/dist/src/lab/index.lab.d.ts +1 -0
- package/dist/src/providers/ThemeProvider.d.ts +7 -0
- package/dist/src/providers/index.d.ts +1 -0
- package/dist/src/themes/default.d.ts +2 -0
- package/dist/src/themes/index.d.ts +2 -0
- package/dist/src/themes/types.d.ts +6 -0
- package/dist/src/types/baseModalProps.d.ts +4 -0
- package/dist/src/types/cycles.d.ts +103 -0
- package/dist/src/types/display.d.ts +2 -0
- package/dist/src/types/fileInfo.d.ts +2 -0
- package/dist/src/types/filters.d.ts +22 -0
- package/dist/src/types/i18n.d.ts +1 -0
- package/dist/src/types/index.d.ts +10 -0
- package/dist/src/types/modal.d.ts +34 -0
- package/dist/src/types/modalType.d.ts +1 -0
- package/dist/src/types/navbarOption.d.ts +7 -0
- package/dist/src/types/sidebarOption.d.ts +7 -0
- package/dist/src/types/stepper.d.ts +23 -0
- package/dist/src/types/styleValues.d.ts +4 -0
- package/dist/src/types/toast.d.ts +29 -0
- package/dist/src/utils/cycles.d.ts +2 -0
- package/dist/src/utils/dates.d.ts +1 -0
- package/dist/src/utils/files.d.ts +8 -0
- package/dist/src/utils/images.d.ts +1 -0
- package/dist/src/utils/index.d.ts +7 -0
- package/dist/src/utils/modal.d.ts +13 -0
- package/dist/src/utils/renderContentOptions.d.ts +3 -0
- package/dist/src/utils/stepper.d.ts +2 -0
- package/dist/src/utils/strings.d.ts +2 -0
- package/dist/src/utils/toast.d.ts +15 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stepper.d.ts +23 -0
- package/dist/types/toast.d.ts +6 -3
- package/dist/utils/stepper.d.ts +2 -0
- package/dist/utils/toast.js +3 -3
- package/dist/vite-env.d.ts +1 -1
- package/dist/vite.config.d.ts +2 -0
- package/package.json +157 -157
- package/dist/components/atoms/Tooltip/Tooltip.d.ts +0 -4
- package/dist/components/atoms/Tooltip/Tooltip.js +0 -121
- package/dist/components/molecules/Stepper/Stepper.types.d.ts +0 -9
- /package/dist/components/{atoms → molecules}/Tooltip/index.d.ts +0 -0
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
showPercentageLabel?: boolean;
|
|
10
|
+
percentageClassName?: string;
|
|
11
|
+
percentageLabelClassName?: string;
|
|
12
|
+
percentageLabel?: string;
|
|
13
|
+
label?: string;
|
|
14
|
+
labelClassName?: string;
|
|
15
|
+
className?: string;
|
|
16
|
+
size?: number;
|
|
17
|
+
strokeWidth?: number;
|
|
18
|
+
backgroundColor?: string;
|
|
19
|
+
animated?: boolean;
|
|
20
|
+
animationDuration?: string;
|
|
21
|
+
colorThresholds?: ColorThreshold[];
|
|
22
|
+
lowThreshold?: number;
|
|
23
|
+
mediumThreshold?: number;
|
|
24
|
+
lowColor?: string;
|
|
25
|
+
mediumColor?: string;
|
|
26
|
+
highColor?: string;
|
|
27
|
+
singleColor?: string;
|
|
28
|
+
clockwise?: boolean;
|
|
29
|
+
startAngle?: number;
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ThresholdCircleProgress } from "./ThresholdCircleProgress";
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ThresholdProgressBar } from "./ThresholdProgressBar";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ToastContent, ToastType } from "../../../types";
|
|
2
|
+
interface ToastProps {
|
|
3
|
+
id?: string;
|
|
4
|
+
content: ToastContent;
|
|
5
|
+
type?: ToastType;
|
|
6
|
+
duration?: number;
|
|
7
|
+
onClose: () => void;
|
|
8
|
+
}
|
|
9
|
+
declare const Toast: React.FC<ToastProps>;
|
|
10
|
+
export default Toast;
|
|
11
|
+
interface ToastManagerProps {
|
|
12
|
+
toasts: Array<{
|
|
13
|
+
id: string;
|
|
14
|
+
content: ToastContent;
|
|
15
|
+
type: "success" | "error" | "warning" | "notification" | "loading";
|
|
16
|
+
duration?: number;
|
|
17
|
+
}>;
|
|
18
|
+
removeToast: (id: string) => void;
|
|
19
|
+
}
|
|
20
|
+
export declare const ToastManager: React.FC<ToastManagerProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Toast } from './Toast';
|
|
@@ -17,6 +17,7 @@ interface UncontrolledSelectorProps {
|
|
|
17
17
|
innerClassName?: string;
|
|
18
18
|
dropdownStyle?: React.CSSProperties;
|
|
19
19
|
showChevron?: boolean;
|
|
20
|
+
size?: 'sm' | 'base';
|
|
20
21
|
}
|
|
21
22
|
declare const UncontrolledSelector: React.FC<UncontrolledSelectorProps>;
|
|
22
23
|
export default UncontrolledSelector;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as UncontrolledSelector } from './UncontrolledSelector';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type UncontrolledTextInputProps = {
|
|
2
|
+
name: string;
|
|
3
|
+
label?: string;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
onChange: (value: string) => void;
|
|
7
|
+
value: string;
|
|
8
|
+
error?: string | undefined;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
disabledInput?: boolean;
|
|
11
|
+
size?: 'sm' | 'base';
|
|
12
|
+
leftSide?: React.ReactNode;
|
|
13
|
+
rightSide?: React.ReactNode;
|
|
14
|
+
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as UncontrolledTextInput } from "./UncontrolledTextInput";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export interface UploadContainerProps {
|
|
2
|
+
/**
|
|
3
|
+
* Título que se muestra en el área de carga
|
|
4
|
+
* @default 'drag_and_drop_your_files_here'
|
|
5
|
+
*/
|
|
6
|
+
title?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Subtítulo opcional para mostrar información adicional
|
|
9
|
+
* @default null
|
|
10
|
+
*/
|
|
11
|
+
subtitle?: string | null;
|
|
12
|
+
/**
|
|
13
|
+
* Texto del botón de selección de archivos
|
|
14
|
+
* @default 'choose_files'
|
|
15
|
+
*/
|
|
16
|
+
buttonTitle?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Función que se ejecuta cuando se cargan archivos válidos
|
|
19
|
+
* @param files Array de objetos File seleccionados
|
|
20
|
+
*/
|
|
21
|
+
onUpload?: (files: File[]) => void;
|
|
22
|
+
/**
|
|
23
|
+
* Lista de extensiones de archivo permitidas
|
|
24
|
+
* @default ['pdf', 'png', 'jpg', 'jpeg', 'svg', 'docx', 'doc', 'xls', 'xlsx']
|
|
25
|
+
*/
|
|
26
|
+
acceptedExtensions?: string[];
|
|
27
|
+
/**
|
|
28
|
+
* Tamaño máximo de archivo en KB
|
|
29
|
+
* @default 1024
|
|
30
|
+
*/
|
|
31
|
+
maxSize?: number;
|
|
32
|
+
direction?: 'row' | 'column';
|
|
33
|
+
disabled?: boolean;
|
|
34
|
+
loading?: boolean;
|
|
35
|
+
loadingDuration?: number;
|
|
36
|
+
className?: string;
|
|
37
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as UploadContainer } from "./UploadContainer";
|
|
@@ -0,0 +1,42 @@
|
|
|
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 "./LoadingProgress/index";
|
|
35
|
+
export * from "./ThresholdCircleProgress/index";
|
|
36
|
+
export * from "./ThresholdProgressBar/index";
|
|
37
|
+
export * from "./CircleProgress/index";
|
|
38
|
+
export * from "./Switch/index";
|
|
39
|
+
export * from "./Pill/index";
|
|
40
|
+
export * from "./FilterPill/index";
|
|
41
|
+
export * from "./ClickAwayListener/index";
|
|
42
|
+
export * from "./StepIndicator/index";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface AutocompleteInputProps {
|
|
2
|
+
name: string;
|
|
3
|
+
error?: string | undefined;
|
|
4
|
+
value?: string;
|
|
5
|
+
onChange?: (value: string) => void;
|
|
6
|
+
onSelect?: (value: unknown) => void;
|
|
7
|
+
onKeyDown?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
8
|
+
onOptionClick?: ({ label, value }: {
|
|
9
|
+
label: string;
|
|
10
|
+
value: unknown;
|
|
11
|
+
}) => void;
|
|
12
|
+
onButtonClick?: () => void;
|
|
13
|
+
buttonContent?: React.ReactNode;
|
|
14
|
+
options: {
|
|
15
|
+
label: string;
|
|
16
|
+
value: unknown;
|
|
17
|
+
}[];
|
|
18
|
+
placeholder?: string;
|
|
19
|
+
label?: string;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
className?: string;
|
|
22
|
+
showOptionsOnClick?: boolean;
|
|
23
|
+
showChevron?: boolean;
|
|
24
|
+
showButton?: boolean;
|
|
25
|
+
setValueOnOptionSelect?: boolean;
|
|
26
|
+
leftSide?: React.ReactNode;
|
|
27
|
+
rightSide?: React.ReactNode;
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as AutocompleteInput } from './AutocompleteInput';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { CalendarColor } from "./CalendarSelector.styles";
|
|
3
|
+
export type CalendarSelectorProps = {
|
|
4
|
+
date: Date;
|
|
5
|
+
onDateChange: (date: Date) => void;
|
|
6
|
+
showTimeSelector?: boolean;
|
|
7
|
+
minDate?: Date;
|
|
8
|
+
maxDate?: Date;
|
|
9
|
+
futureDates?: boolean;
|
|
10
|
+
pastDates?: boolean;
|
|
11
|
+
color?: CalendarColor;
|
|
12
|
+
};
|
|
13
|
+
declare const CalendarSelector: React.FC<CalendarSelectorProps>;
|
|
14
|
+
export default CalendarSelector;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export declare const blueVariants: {
|
|
2
|
+
primary: string;
|
|
3
|
+
primaryLight: string;
|
|
4
|
+
primaryDark: string;
|
|
5
|
+
hover: string;
|
|
6
|
+
hoverLight: string;
|
|
7
|
+
text: string;
|
|
8
|
+
textLight: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const aquaVariants: {
|
|
11
|
+
primary: string;
|
|
12
|
+
primaryLight: string;
|
|
13
|
+
primaryDark: string;
|
|
14
|
+
hover: string;
|
|
15
|
+
hoverLight: string;
|
|
16
|
+
text: string;
|
|
17
|
+
textLight: string;
|
|
18
|
+
};
|
|
19
|
+
export type CalendarColor = 'blue' | 'aqua';
|
|
20
|
+
export declare const getColorVariants: (color: CalendarColor) => {
|
|
21
|
+
primary: string;
|
|
22
|
+
primaryLight: string;
|
|
23
|
+
primaryDark: string;
|
|
24
|
+
hover: string;
|
|
25
|
+
hoverLight: string;
|
|
26
|
+
text: string;
|
|
27
|
+
textLight: string;
|
|
28
|
+
} | {
|
|
29
|
+
primary: string;
|
|
30
|
+
primaryLight: string;
|
|
31
|
+
primaryDark: string;
|
|
32
|
+
hover: string;
|
|
33
|
+
hoverLight: string;
|
|
34
|
+
text: string;
|
|
35
|
+
textLight: string;
|
|
36
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
interface PeriodToggleProps {
|
|
2
|
+
selectedPeriod: string;
|
|
3
|
+
handlePeriodChange: (period: string) => void;
|
|
4
|
+
colorVariants?: {
|
|
5
|
+
primary: string;
|
|
6
|
+
primaryLight: string;
|
|
7
|
+
primaryDark: string;
|
|
8
|
+
hover: string;
|
|
9
|
+
hoverLight: string;
|
|
10
|
+
text: string;
|
|
11
|
+
textLight: string;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
declare const PeriodToggle: ({ selectedPeriod, handlePeriodChange, colorVariants, }: PeriodToggleProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export default PeriodToggle;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface TimeDisplayProps {
|
|
2
|
+
setHourMenuOpen: (value: boolean) => void;
|
|
3
|
+
hourMenuOpen: boolean;
|
|
4
|
+
selectedHour: number;
|
|
5
|
+
}
|
|
6
|
+
declare const TimeDisplay: ({ setHourMenuOpen, hourMenuOpen, selectedHour, }: TimeDisplayProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default TimeDisplay;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CalendarSelector } from './CalendarSelector';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Control, FieldValues, Path } from "react-hook-form";
|
|
2
|
+
export type DateInputProps<T extends FieldValues = FieldValues> = {
|
|
3
|
+
control: Control<T>;
|
|
4
|
+
name: Path<T>;
|
|
5
|
+
label?: string;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
showTimeSelector?: boolean;
|
|
8
|
+
translateKey?: string;
|
|
9
|
+
futureDates?: boolean;
|
|
10
|
+
pastDates?: boolean;
|
|
11
|
+
size?: "sm" | "base";
|
|
12
|
+
};
|
|
13
|
+
declare const DateInput: <T extends FieldValues = FieldValues>({ control, name, showTimeSelector, label, translateKey, placeholder, futureDates, pastDates, size, }: DateInputProps<T>) => React.ReactElement;
|
|
14
|
+
export default DateInput;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as DateInput } from './DateInput';
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as DialogModal } from './DialogModal';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Dropdown } from "./Dropdown";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as EmptyState } from "./EmptyState";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FileInfo } from "../../../types";
|
|
2
|
+
export declare const FileStatus: {
|
|
3
|
+
LOADING: string;
|
|
4
|
+
COMPLETE: string;
|
|
5
|
+
ERROR: string;
|
|
6
|
+
};
|
|
7
|
+
export interface UploadingFile extends FileInfo {
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
error?: boolean;
|
|
10
|
+
analyzing?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface FileUploadProps {
|
|
13
|
+
file: UploadingFile;
|
|
14
|
+
onDelete?: () => void;
|
|
15
|
+
onRetry?: () => void;
|
|
16
|
+
uploadDuration?: number;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as FileUpload } from './FileUpload';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IconProp } from "@fortawesome/fontawesome-svg-core";
|
|
2
|
+
import { FilterControl } from "../../../types/filters";
|
|
3
|
+
import { Cycle } from "motion/react";
|
|
4
|
+
interface FiltersMenuProps {
|
|
5
|
+
filters: {
|
|
6
|
+
icon: IconProp;
|
|
7
|
+
label: string;
|
|
8
|
+
onClick: () => void;
|
|
9
|
+
}[];
|
|
10
|
+
filterControl: FilterControl<Cycle>;
|
|
11
|
+
}
|
|
12
|
+
declare const FiltersMenu: React.FC<FiltersMenuProps>;
|
|
13
|
+
export default FiltersMenu;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as FiltersMenu } from "./FiltersMenu";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface FloatingMenuProps {
|
|
2
|
+
open?: boolean;
|
|
3
|
+
onClose?: () => void;
|
|
4
|
+
component: React.ReactNode | (() => React.ReactNode);
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
placement?: "top" | "bottom" | "left" | "right";
|
|
7
|
+
className?: string;
|
|
8
|
+
strategy?: "fixed" | "absolute";
|
|
9
|
+
styles?: React.CSSProperties;
|
|
10
|
+
offset?: number;
|
|
11
|
+
padding?: number;
|
|
12
|
+
handleClickAway?: boolean;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as FloatingMenu } from './FloatingMenu';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as IndexedStepper } from './IndexedStepper';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
type InformationContainerProps = {
|
|
3
|
+
title: string;
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
};
|
|
7
|
+
type InformationContainerComponent = React.FC<InformationContainerProps> & {
|
|
8
|
+
Entry: React.FC<{
|
|
9
|
+
label: string;
|
|
10
|
+
value: string | ReactNode | Element;
|
|
11
|
+
}>;
|
|
12
|
+
};
|
|
13
|
+
declare const InformationContainer: InformationContainerComponent;
|
|
14
|
+
export default InformationContainer;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as InformationContainer } from './InformationContainer';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type Option = {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string | number;
|
|
5
|
+
colors?: {
|
|
6
|
+
dot?: string;
|
|
7
|
+
background?: string;
|
|
8
|
+
text?: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
interface MultiSelectDropdownProps {
|
|
12
|
+
label?: string;
|
|
13
|
+
options: Option[];
|
|
14
|
+
selectedValues: string[];
|
|
15
|
+
onUpdate: (newSelectedValues: string[]) => void;
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
allowSearch?: boolean;
|
|
18
|
+
className?: string;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
size?: 'sm' | 'base';
|
|
21
|
+
}
|
|
22
|
+
declare const MultiSelectDropdown: React.FC<MultiSelectDropdownProps>;
|
|
23
|
+
export default MultiSelectDropdown;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as MultiSelectDropdown } from "./MultiSelectDropdown";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as PillsContainer } from "./PillsContainer";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SearchModal } from "./SearchModal";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SideModal } from "./SideModal";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Color } from "../../../types/styleValues";
|
|
2
|
+
interface StepperColorConfig {
|
|
3
|
+
focusIconColor: string;
|
|
4
|
+
completedIconColor: string;
|
|
5
|
+
pendingIconColor: string;
|
|
6
|
+
labelColor: string;
|
|
7
|
+
focusBgColor: string;
|
|
8
|
+
completedBgColor: string;
|
|
9
|
+
pendingBgColor: string;
|
|
10
|
+
lineActiveColor: string;
|
|
11
|
+
lineGradientFrom: string;
|
|
12
|
+
lineGradientTo: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const resolveStepperColors: (color: Color) => StepperColorConfig;
|
|
15
|
+
export {};
|