kwant-ui 3.25.4 → 3.25.5-alpha.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/README.md +73 -73
- package/dist/GlobalStyles/index.d.ts +5 -5
- package/dist/GlobalStyles/types.d.ts +17 -17
- package/dist/GlobalStyles/typography.d.ts +20 -20
- package/dist/HOC/HoverHOC/HoverHOC.d.ts +3 -3
- package/dist/HOC/HoverHOC/HoverHOCStyled.d.ts +2 -2
- package/dist/HOC/HoverHOC/index.d.ts +2 -2
- package/dist/HOC/HoverHOC/types.d.ts +16 -16
- package/dist/components/Alert/Alert.d.ts +3 -3
- package/dist/components/Alert/AlertStyled.d.ts +6 -6
- package/dist/components/Alert/AlertTypes.d.ts +24 -24
- package/dist/components/Alert/AlertUtils.d.ts +23 -23
- package/dist/components/Alert/index.d.ts +2 -2
- package/dist/components/Avatar/Avatar.d.ts +3 -3
- package/dist/components/Avatar/Avatar.types.d.ts +40 -40
- package/dist/components/Avatar/AvatarStyled.d.ts +6 -6
- package/dist/components/Avatar/AvatarUtils.d.ts +2 -2
- package/dist/components/Avatar/index.d.ts +2 -2
- package/dist/components/AvatarGroup/AvatarGroup.d.ts +3 -3
- package/dist/components/AvatarGroup/AvatarGroupStyled.d.ts +3 -3
- package/dist/components/AvatarGroup/AvatarGroupTypes.d.ts +20 -20
- package/dist/components/AvatarGroup/AvatarGroupUtils.d.ts +1 -1
- package/dist/components/AvatarGroup/index.d.ts +2 -2
- package/dist/components/Badge/Badge.d.ts +3 -3
- package/dist/components/Badge/Badge.styled.d.ts +1 -1
- package/dist/components/Badge/types.d.ts +6 -6
- package/dist/components/BaseDrawer/BaseDrawer.d.ts +3 -3
- package/dist/components/BaseDrawer/BaseDrawer.styled.d.ts +3 -3
- package/dist/components/BaseDrawer/BaseDrawer.types.d.ts +19 -19
- package/dist/components/BaseDrawer/BaseDrawer.utils.d.ts +12 -12
- package/dist/components/BaseDrawer/index.d.ts +2 -2
- package/dist/components/BaseDropdown/BaseDropdown.d.ts +3 -3
- package/dist/components/BaseDropdown/BaseDropdownStyled.d.ts +2 -2
- package/dist/components/BaseDropdown/BaseDropdownTypes.d.ts +20 -20
- package/dist/components/BaseDropdown/index.d.ts +2 -2
- package/dist/components/Battery/Battery.d.ts +3 -3
- package/dist/components/Battery/Battery.styled.d.ts +1 -1
- package/dist/components/Battery/types.d.ts +3 -3
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +12 -12
- package/dist/components/Breadcrumb/Breadcrumb.styled.d.ts +5 -5
- package/dist/components/Breadcrumb/BreadcrumbUtils.d.ts +7 -7
- package/dist/components/Breadcrumb/Crumb.d.ts +9 -9
- package/dist/components/Breadcrumb/index.d.ts +2 -2
- package/dist/components/Button/Button.d.ts +3 -3
- package/dist/components/Button/Button.styled.d.ts +3 -3
- package/dist/components/Button/buttonColors.d.ts +3 -3
- package/dist/components/Button/helper.d.ts +4 -4
- package/dist/components/Button/types.d.ts +79 -79
- package/dist/components/Calendar/Calendar.d.ts +3 -3
- package/dist/components/Calendar/CalendarComponents.d.ts +10 -10
- package/dist/components/Calendar/CalendarStyled.d.ts +8 -8
- package/dist/components/Calendar/CalendarTypes.d.ts +34 -34
- package/dist/components/Calendar/CalendarUtils.d.ts +26 -26
- package/dist/components/Calendar/icons.d.ts +6 -6
- package/dist/components/Calendar/index.d.ts +2 -2
- package/dist/components/Charts/AreaChart/AreaChart.d.ts +3 -3
- package/dist/components/Charts/AreaChart/AreaChartData.d.ts +43 -43
- package/dist/components/Charts/AreaChart/AreaChartStyled.d.ts +19 -19
- package/dist/components/Charts/AreaChart/AreaChartTypes.d.ts +62 -61
- package/dist/components/Charts/AreaChart/AreaChartUtils.d.ts +23 -23
- package/dist/components/Charts/AreaChart/index.d.ts +2 -2
- package/dist/components/Charts/GaugeChart/GaugeChart.d.ts +3 -3
- package/dist/components/Charts/GaugeChart/GaugeChartStyled.d.ts +9 -9
- package/dist/components/Charts/GaugeChart/GaugeChartTypes.d.ts +26 -26
- package/dist/components/Charts/GaugeChart/index.d.ts +2 -2
- package/dist/components/Charts/HorizontalStackedBarChart/HorizontalStackedBarChart.d.ts +3 -3
- package/dist/components/Charts/HorizontalStackedBarChart/HorizontalStackedBarChartData.d.ts +19 -19
- package/dist/components/Charts/HorizontalStackedBarChart/HorizontalStackedBarChartStyled.d.ts +18 -18
- package/dist/components/Charts/HorizontalStackedBarChart/HorizontalStackedBarChartTypes.d.ts +60 -60
- package/dist/components/Charts/HorizontalStackedBarChart/HorizontalStackedBarChartUtils.d.ts +10 -10
- package/dist/components/Charts/HorizontalStackedBarChart/index.d.ts +2 -2
- package/dist/components/Charts/LineChart/LineChart.d.ts +3 -3
- package/dist/components/Charts/LineChart/LineChartData.d.ts +37 -37
- package/dist/components/Charts/LineChart/LineChartStyled.d.ts +19 -19
- package/dist/components/Charts/LineChart/LineChartTypes.d.ts +59 -59
- package/dist/components/Charts/LineChart/LineChartUtils.d.ts +20 -20
- package/dist/components/Charts/LineChart/index.d.ts +2 -2
- package/dist/components/Charts/ProgressChart/ProgressChart.d.ts +3 -3
- package/dist/components/Charts/ProgressChart/ProgressChartStyled.d.ts +1 -1
- package/dist/components/Charts/ProgressChart/ProgressChartTypes.d.ts +13 -13
- package/dist/components/Charts/ProgressChart/index.d.ts +2 -2
- package/dist/components/Charts/StackedBarChart/StackedBarChart.d.ts +3 -3
- package/dist/components/Charts/StackedBarChart/StackedBarChartData.d.ts +34 -34
- package/dist/components/Charts/StackedBarChart/StackedBarChartStyled.d.ts +19 -19
- package/dist/components/Charts/StackedBarChart/StackedBarChartTypes.d.ts +60 -60
- package/dist/components/Charts/StackedBarChart/StackedBarChartUtils.d.ts +19 -19
- package/dist/components/Charts/StackedBarChart/index.d.ts +2 -2
- package/dist/components/Charts/WeekwiseBarChart/WeekwiseBarChart.d.ts +3 -3
- package/dist/components/Charts/WeekwiseBarChart/WeekwiseBarChartData.d.ts +13 -13
- package/dist/components/Charts/WeekwiseBarChart/WeekwiseBarChartTypes.d.ts +37 -35
- package/dist/components/Charts/WeekwiseBarChart/WeekwiseBarChartUtils.d.ts +11 -11
- package/dist/components/Charts/WeekwiseBarChart/index.d.ts +2 -2
- package/dist/components/Charts/WorkerTimeChart/WorkTimeChartComponents.d.ts +14 -14
- package/dist/components/Charts/WorkerTimeChart/WorkerTimeChart.d.ts +3 -3
- package/dist/components/Charts/WorkerTimeChart/WorkerTimeChartData.d.ts +16 -16
- package/dist/components/Charts/WorkerTimeChart/WorkerTimeChartTypes.d.ts +49 -47
- package/dist/components/Charts/WorkerTimeChart/WorkerTimeChartUtils.d.ts +11 -8
- package/dist/components/Charts/WorkerTimeChart/index.d.ts +2 -2
- package/dist/components/Checkbox/Checkbox.d.ts +4 -4
- package/dist/components/Checkbox/CheckboxStyled.d.ts +12 -12
- package/dist/components/Checkbox/types.d.ts +26 -26
- package/dist/components/ConfirmationScreen/ConfirmationIcons.d.ts +3 -3
- package/dist/components/ConfirmationScreen/ConfirmationScreen.d.ts +3 -3
- package/dist/components/ConfirmationScreen/ConfirmationScreenStyled.d.ts +1 -1
- package/dist/components/ConfirmationScreen/types.d.ts +10 -10
- package/dist/components/CountryCodeInput/CountryCodeInput.styled.d.ts +5 -5
- package/dist/components/CountryCodeInput/countryCodes.d.ts +6 -6
- package/dist/components/CountryCodeInput/index.d.ts +3 -3
- package/dist/components/CountryCodeInput/types.d.ts +24 -24
- package/dist/components/Datepicker/Datepicker.d.ts +3 -3
- package/dist/components/Datepicker/DatepickerStyled.d.ts +3 -3
- package/dist/components/Datepicker/components/icons.d.ts +6 -6
- package/dist/components/Datepicker/index.d.ts +2 -2
- package/dist/components/Datepicker/types.d.ts +19 -19
- package/dist/components/Datepicker/utils/index.d.ts +7 -7
- package/dist/components/Dialog/Dialog.d.ts +3 -3
- package/dist/components/Dialog/DialogStyled.d.ts +9 -9
- package/dist/components/Dialog/DialogTypes.d.ts +17 -17
- package/dist/components/Dialog/DialogUtils.d.ts +1 -1
- package/dist/components/Dialog/index.d.ts +2 -2
- package/dist/components/DocumentCard/DocumentCard.d.ts +3 -3
- package/dist/components/DocumentCard/DocumentCard.styled.d.ts +1 -1
- package/dist/components/DocumentCard/types.d.ts +10 -10
- package/dist/components/Drawer/Drawer.d.ts +3 -3
- package/dist/components/Drawer/Drawer.styled.d.ts +13 -13
- package/dist/components/Drawer/Drawer.types.d.ts +18 -18
- package/dist/components/Drawer/Drawer.utils.d.ts +1 -1
- package/dist/components/Drawer/DrawerLayout.d.ts +3 -3
- package/dist/components/Drawer/index.d.ts +2 -2
- package/dist/components/Dropdown/Dropdown.d.ts +3 -3
- package/dist/components/Dropdown/DropdownStyled.d.ts +16 -16
- package/dist/components/Dropdown/DropdownTypes.d.ts +33 -33
- package/dist/components/Dropdown/DropdownUtils.d.ts +5 -5
- package/dist/components/Dropdown/index.d.ts +2 -2
- package/dist/components/DropdownCalendar/DropdownCalendar.d.ts +10 -10
- package/dist/components/DropdownCalendar/index.d.ts +2 -2
- package/dist/components/DropdownSelect/DropdownSelect.d.ts +3 -3
- package/dist/components/DropdownSelect/DropdownSelect.styled.d.ts +13 -13
- package/dist/components/DropdownSelect/DropdownSelect.types.d.ts +9 -9
- package/dist/components/DropdownSelect/DropdownSelect.utils.d.ts +4 -4
- package/dist/components/DropdownSelect/index.d.ts +2 -2
- package/dist/components/FilterTag/FilterTag.d.ts +3 -3
- package/dist/components/FilterTag/FilterTag.styled.d.ts +1 -1
- package/dist/components/FilterTag/types.d.ts +11 -11
- package/dist/components/Grid/Col.d.ts +3 -3
- package/dist/components/Grid/Col.styled.d.ts +1 -1
- package/dist/components/Grid/Row.d.ts +3 -3
- package/dist/components/Grid/Row.styled.d.ts +10 -10
- package/dist/components/Grid/index.d.ts +3 -3
- package/dist/components/Grid/types.d.ts +22 -22
- package/dist/components/HorizontalStepper/HorizontalStepper.styled.d.ts +10 -10
- package/dist/components/HorizontalStepper/index.d.ts +11 -11
- package/dist/components/HoverCalendar/HoverCalendar.d.ts +3 -3
- package/dist/components/HoverCalendar/HoverCalendarStyled.d.ts +1 -1
- package/dist/components/HoverCalendar/types.d.ts +14 -14
- package/dist/components/HoverInput/HoverInput.d.ts +3 -3
- package/dist/components/HoverInput/HoverInputStyled.d.ts +1 -1
- package/dist/components/HoverInput/types.d.ts +5 -5
- package/dist/components/HoverSelect/HoverSelect.d.ts +3 -3
- package/dist/components/HoverSelect/HoverSelectStyled.d.ts +1 -1
- package/dist/components/HoverSelect/types.d.ts +16 -16
- package/dist/components/Icon/Icon.d.ts +15 -15
- package/dist/components/Icon/IconUtils.d.ts +1 -1
- package/dist/components/Icon/index.d.ts +2 -2
- package/dist/components/IconLabel/InfoAccordion/InfoAccordion.d.ts +3 -3
- package/dist/components/IconLabel/InfoAccordion/InfoAccordionStyled.d.ts +1 -1
- package/dist/components/IconLabel/InfoAccordion/types.d.ts +13 -13
- package/dist/components/IconLabel/iconlabel.styled.d.ts +1 -1
- package/dist/components/IconLabel/index.d.ts +3 -3
- package/dist/components/IconLabel/types.d.ts +10 -10
- package/dist/components/InfoAccordion/InfoAccordion.d.ts +3 -3
- package/dist/components/InfoAccordion/InfoAccordionStyled.d.ts +1 -1
- package/dist/components/InfoAccordion/types.d.ts +13 -13
- package/dist/components/Input/index.d.ts +4 -4
- package/dist/components/Input/inputStyled.d.ts +9 -9
- package/dist/components/Input/types.d.ts +49 -49
- package/dist/components/Input/utils.d.ts +4 -4
- package/dist/components/Label/LabelStyled.d.ts +3 -3
- package/dist/components/Label/index.d.ts +2 -2
- package/dist/components/Label/types.d.ts +6 -6
- package/dist/components/Loader/FullScreenLoader.d.ts +3 -3
- package/dist/components/Loader/FullScreenLoaderStyled.d.ts +2 -2
- package/dist/components/Loader/Loader.d.ts +6 -6
- package/dist/components/Loader/Loader.styled.d.ts +4 -4
- package/dist/components/Loader/SimpleLoader.d.ts +7 -7
- package/dist/components/Loader/SimpleLoader.styled.d.ts +2 -2
- package/dist/components/Loader/index.d.ts +4 -4
- package/dist/components/Loader/types.d.ts +4 -4
- package/dist/components/MultiSelect/MultiSelect.d.ts +3 -3
- package/dist/components/MultiSelect/MultiSelectStyled.d.ts +2 -2
- package/dist/components/MultiSelect/types.d.ts +18 -18
- package/dist/components/MultiSelect/utils.d.ts +24 -24
- package/dist/components/Navigation/CollapsibleNavItem/NavItemStyled.d.ts +10 -10
- package/dist/components/Navigation/CollapsibleNavItem/index.d.ts +4 -4
- package/dist/components/Navigation/NavItem/NavItemStyled.d.ts +12 -12
- package/dist/components/Navigation/NavItem/index.d.ts +6 -6
- package/dist/components/Navigation/NavigationStyled.d.ts +8 -8
- package/dist/components/Navigation/data.d.ts +3 -3
- package/dist/components/Navigation/index.d.ts +4 -4
- package/dist/components/Navigation/types.d.ts +36 -36
- package/dist/components/OTPInput/OTPInput.constants.d.ts +10 -10
- package/dist/components/OTPInput/OTPInput.d.ts +3 -3
- package/dist/components/OTPInput/OTPInput.styled.d.ts +18 -18
- package/dist/components/OTPInput/OTPInput.utils.d.ts +9 -9
- package/dist/components/OTPInput/index.d.ts +2 -2
- package/dist/components/Overlay/Overlay.d.ts +9 -9
- package/dist/components/Overlay/index.d.ts +2 -2
- package/dist/components/Pagination/Pagination.components.d.ts +3 -3
- package/dist/components/Pagination/Pagination.d.ts +3 -3
- package/dist/components/Pagination/Pagination.styled.d.ts +13 -13
- package/dist/components/Pagination/Pagination.types.d.ts +48 -48
- package/dist/components/Pagination/Pagination.utils.d.ts +6 -6
- package/dist/components/Pagination/index.d.ts +2 -2
- package/dist/components/Radio/Radio.d.ts +3 -3
- package/dist/components/Radio/RadioStyled.d.ts +8 -8
- package/dist/components/Radio/RadioType.d.ts +19 -19
- package/dist/components/Radio/index.d.ts +2 -2
- package/dist/components/Select/Select.d.ts +3 -3
- package/dist/components/Select/Select.styled.d.ts +8 -8
- package/dist/components/Select/Select.types.d.ts +22 -22
- package/dist/components/Select/Select.utils.d.ts +5 -5
- package/dist/components/Select/index.d.ts +2 -2
- package/dist/components/Selector/Selector.d.ts +3 -3
- package/dist/components/Selector/Selector.styled.d.ts +5 -5
- package/dist/components/Selector/index.d.ts +2 -2
- package/dist/components/Selector/types.d.ts +8 -8
- package/dist/components/Skeleton/Skeleton.styled.d.ts +7 -7
- package/dist/components/Skeleton/index.d.ts +7 -7
- package/dist/components/Slider/Slider.d.ts +15 -15
- package/dist/components/Slider/Slider.styled.d.ts +6 -6
- package/dist/components/Slider/index.d.ts +3 -3
- package/dist/components/Slider/types.d.ts +10 -10
- package/dist/components/Spinner/Spinner.d.ts +5 -5
- package/dist/components/Spinner/Spinner.styled.d.ts +1 -1
- package/dist/components/Spinner/index.d.ts +2 -2
- package/dist/components/StepperDrawerLayout/StepperDrawerLayout.d.ts +3 -3
- package/dist/components/StepperDrawerLayout/StepperDrawerLayout.types.d.ts +8 -8
- package/dist/components/StepperDrawerLayout/StepperDrawerLayout.utils.d.ts +1 -1
- package/dist/components/StepperDrawerLayout/StepperDrawerLayoutStyled.d.ts +5 -5
- package/dist/components/StepperDrawerLayout/index.d.ts +2 -2
- package/dist/components/Switch/Switch.d.ts +3 -3
- package/dist/components/Switch/Switch.styled.d.ts +2 -2
- package/dist/components/Switch/index.d.ts +1 -1
- package/dist/components/Switch/types.d.ts +23 -23
- package/dist/components/Tabs/Tabs.d.ts +3 -3
- package/dist/components/Tabs/TabsStyled.d.ts +14 -14
- package/dist/components/Tabs/TabsTypes.d.ts +22 -22
- package/dist/components/Tabs/TabsUtils.d.ts +2 -2
- package/dist/components/Tabs/index.d.ts +2 -2
- package/dist/components/Tag/Tag.d.ts +3 -3
- package/dist/components/Tag/Tag.styled.d.ts +2 -2
- package/dist/components/Tag/types.d.ts +17 -17
- package/dist/components/Text/TextStyled.d.ts +3 -3
- package/dist/components/Text/index.d.ts +3 -3
- package/dist/components/Text/types.d.ts +18 -18
- package/dist/components/Text/typography.d.ts +19 -19
- package/dist/components/Text/utils.d.ts +4 -4
- package/dist/components/Toast/Toast.d.ts +3 -3
- package/dist/components/Toast/Toast.styled.d.ts +7 -7
- package/dist/components/Toast/Toast.types.d.ts +49 -49
- package/dist/components/Toast/Toast.utils.d.ts +8 -8
- package/dist/components/Toast/ToastContext.d.ts +4 -4
- package/dist/components/Toast/ToastProvider.d.ts +3 -3
- package/dist/components/Toast/index.d.ts +2 -2
- package/dist/components/Tooltip/Tooltip.d.ts +3 -3
- package/dist/components/Tooltip/index.d.ts +2 -2
- package/dist/components/Tooltip/tooltip.styled.d.ts +2 -2
- package/dist/components/Tooltip/types.d.ts +34 -34
- package/dist/components/TrendPercentage/TrendPercentage.d.ts +11 -11
- package/dist/components/TrendPercentage/TrendPercentageStyled.d.ts +4 -4
- package/dist/components/TrendPercentage/index.d.ts +2 -2
- package/dist/components/UploadAvatar/UploadAvatar.d.ts +3 -3
- package/dist/components/UploadAvatar/UploadAvatarStyled.d.ts +1 -1
- package/dist/components/UploadAvatar/types.d.ts +9 -9
- package/dist/components/stepper/StepperStyled.d.ts +26 -26
- package/dist/components/stepper/StepperTypes.d.ts +28 -28
- package/dist/components/stepper/StepperUtils.d.ts +10 -10
- package/dist/components/stepper/index.d.ts +3 -3
- package/dist/globals.d.ts +7 -7
- package/dist/hooks/index.d.ts +4 -4
- package/dist/hooks/useDebouncedValue.d.ts +2 -2
- package/dist/hooks/useDynamicImport.d.ts +8 -8
- package/dist/hooks/useOutsideClick.d.ts +6 -6
- package/dist/hooks/useToast.d.ts +10 -10
- package/dist/hooks/useToggle.d.ts +8 -8
- package/dist/index.d.ts +67 -67
- package/dist/index.es.js +136 -136
- package/dist/index.js +291 -291
- package/dist/package.json +88 -88
- package/dist/public/assets/icons/doc-alert.svg +5 -5
- package/dist/public/assets/icons/no-entry-man.svg +4 -4
- package/dist/themes/colors.d.ts +3 -3
- package/dist/themes/colors.ts +186 -186
- package/dist/themes/index.d.ts +3 -3
- package/dist/themes/types.d.ts +192 -192
- package/dist/types/IconTypes.d.ts +1 -1
- package/dist/utils/formatDate.d.ts +1 -1
- package/dist/utils/index.d.ts +12 -12
- package/dist/utils/index.ts +86 -86
- package/package.json +88 -88
- package/themes/colors.ts +186 -186
- package/themes/index.ts +8 -8
- package/themes/types.ts +211 -211
- package/utils/formatDate.ts +5 -5
- package/utils/generateTypesForIcons.js +37 -37
- package/utils/index.ts +86 -86
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { BaseDrawerDeclarations } from './BaseDrawer.types';
|
|
2
|
-
export declare const DrawerBackdrop: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
-
export declare const DrawerContentRoot: import("styled-components").StyledComponent<"section", any, BaseDrawerDeclarations.BaseDrawerContentStyled, never>;
|
|
1
|
+
import { BaseDrawerDeclarations } from './BaseDrawer.types';
|
|
2
|
+
export declare const DrawerBackdrop: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const DrawerContentRoot: import("styled-components").StyledComponent<"section", any, BaseDrawerDeclarations.BaseDrawerContentStyled, never>;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare namespace BaseDrawerDeclarations {
|
|
3
|
-
type Position = 'left' | 'right';
|
|
4
|
-
type Props = {
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
open?: boolean;
|
|
7
|
-
onClose?: () => void;
|
|
8
|
-
width?: string;
|
|
9
|
-
position?: Position;
|
|
10
|
-
loading?: boolean;
|
|
11
|
-
overlayOpacity?: number;
|
|
12
|
-
customLoader?: React.ReactNode;
|
|
13
|
-
portal?: boolean;
|
|
14
|
-
};
|
|
15
|
-
type BaseDrawerContentStyled = {
|
|
16
|
-
width?: string;
|
|
17
|
-
position?: Position;
|
|
18
|
-
};
|
|
19
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare namespace BaseDrawerDeclarations {
|
|
3
|
+
type Position = 'left' | 'right';
|
|
4
|
+
type Props = {
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
open?: boolean;
|
|
7
|
+
onClose?: () => void;
|
|
8
|
+
width?: string;
|
|
9
|
+
position?: Position;
|
|
10
|
+
loading?: boolean;
|
|
11
|
+
overlayOpacity?: number;
|
|
12
|
+
customLoader?: React.ReactNode;
|
|
13
|
+
portal?: boolean;
|
|
14
|
+
};
|
|
15
|
+
type BaseDrawerContentStyled = {
|
|
16
|
+
width?: string;
|
|
17
|
+
position?: Position;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export declare const position: {
|
|
2
|
-
left: {
|
|
3
|
-
top: number;
|
|
4
|
-
left: number;
|
|
5
|
-
bottom: number;
|
|
6
|
-
};
|
|
7
|
-
right: {
|
|
8
|
-
top: number;
|
|
9
|
-
right: number;
|
|
10
|
-
bottom: number;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
1
|
+
export declare const position: {
|
|
2
|
+
left: {
|
|
3
|
+
top: number;
|
|
4
|
+
left: number;
|
|
5
|
+
bottom: number;
|
|
6
|
+
};
|
|
7
|
+
right: {
|
|
8
|
+
top: number;
|
|
9
|
+
right: number;
|
|
10
|
+
bottom: number;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BaseDrawer } from './BaseDrawer';
|
|
2
|
-
export { BaseDrawer };
|
|
1
|
+
import { BaseDrawer } from './BaseDrawer';
|
|
2
|
+
export { BaseDrawer };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IBaseDropdown } from './BaseDropdownTypes';
|
|
2
|
-
declare const BaseDropdown: (props: IBaseDropdown.Props) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export { BaseDropdown };
|
|
1
|
+
import { IBaseDropdown } from './BaseDropdownTypes';
|
|
2
|
+
declare const BaseDropdown: (props: IBaseDropdown.Props) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export { BaseDropdown };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IBaseDropdown } from './BaseDropdownTypes';
|
|
2
|
-
export declare const DropdownRoot: import("styled-components").StyledComponent<"div", any, IBaseDropdown.BaseDropdownRootTypes, never>;
|
|
1
|
+
import { IBaseDropdown } from './BaseDropdownTypes';
|
|
2
|
+
export declare const DropdownRoot: import("styled-components").StyledComponent<"div", any, IBaseDropdown.BaseDropdownRootTypes, never>;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { MouseEventHandler } from 'react';
|
|
2
|
-
export declare namespace IBaseDropdown {
|
|
3
|
-
type BaseDropdownRootTypes = {
|
|
4
|
-
width?: string | number;
|
|
5
|
-
height?: string | number;
|
|
6
|
-
offsetTop?: string;
|
|
7
|
-
offsetBottom?: string;
|
|
8
|
-
offsetLeft?: string;
|
|
9
|
-
offsetRight?: string;
|
|
10
|
-
zIndex?: number;
|
|
11
|
-
onMouseEnter?: MouseEventHandler<HTMLDivElement>;
|
|
12
|
-
onMouseLeave?: MouseEventHandler<HTMLDivElement>;
|
|
13
|
-
};
|
|
14
|
-
type Props = BaseDropdownRootTypes & {
|
|
15
|
-
children?: React.ReactNode;
|
|
16
|
-
opened?: boolean;
|
|
17
|
-
targetRef?: React.RefObject<HTMLDivElement>;
|
|
18
|
-
onClose?: () => void;
|
|
19
|
-
};
|
|
20
|
-
}
|
|
1
|
+
import { MouseEventHandler } from 'react';
|
|
2
|
+
export declare namespace IBaseDropdown {
|
|
3
|
+
type BaseDropdownRootTypes = {
|
|
4
|
+
width?: string | number;
|
|
5
|
+
height?: string | number;
|
|
6
|
+
offsetTop?: string;
|
|
7
|
+
offsetBottom?: string;
|
|
8
|
+
offsetLeft?: string;
|
|
9
|
+
offsetRight?: string;
|
|
10
|
+
zIndex?: number;
|
|
11
|
+
onMouseEnter?: MouseEventHandler<HTMLDivElement>;
|
|
12
|
+
onMouseLeave?: MouseEventHandler<HTMLDivElement>;
|
|
13
|
+
};
|
|
14
|
+
type Props = BaseDropdownRootTypes & {
|
|
15
|
+
children?: React.ReactNode;
|
|
16
|
+
opened?: boolean;
|
|
17
|
+
targetRef?: React.RefObject<HTMLDivElement>;
|
|
18
|
+
onClose?: () => void;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BaseDropdown } from './BaseDropdown';
|
|
2
|
-
export { BaseDropdown };
|
|
1
|
+
import { BaseDropdown } from './BaseDropdown';
|
|
2
|
+
export { BaseDropdown };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { BType } from './types';
|
|
2
|
-
declare function Battery({ level }: BType): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export { Battery };
|
|
1
|
+
import { BType } from './types';
|
|
2
|
+
declare function Battery({ level }: BType): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export { Battery };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const BatteryIconWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
1
|
+
export declare const BatteryIconWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type BType = {
|
|
2
|
-
level?: number;
|
|
3
|
-
};
|
|
1
|
+
export type BType = {
|
|
2
|
+
level?: number;
|
|
3
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export interface ICrumbBase {
|
|
2
|
-
name: string;
|
|
3
|
-
path: string;
|
|
4
|
-
isFavourite?: boolean;
|
|
5
|
-
}
|
|
6
|
-
declare const Breadcrumb: ({ crumbs, showFavoriteButton, onCrumbClick, onFavoriteClick, }: {
|
|
7
|
-
crumbs: ICrumbBase[];
|
|
8
|
-
showFavoriteButton?: boolean;
|
|
9
|
-
onCrumbClick?: (crumb: ICrumbBase) => void;
|
|
10
|
-
onFavoriteClick?: (crumb: ICrumbBase) => void;
|
|
11
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export { Breadcrumb };
|
|
1
|
+
export interface ICrumbBase {
|
|
2
|
+
name: string;
|
|
3
|
+
path: string;
|
|
4
|
+
isFavourite?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const Breadcrumb: ({ crumbs, showFavoriteButton, onCrumbClick, onFavoriteClick, }: {
|
|
7
|
+
crumbs: ICrumbBase[];
|
|
8
|
+
showFavoriteButton?: boolean;
|
|
9
|
+
onCrumbClick?: (crumb: ICrumbBase) => void;
|
|
10
|
+
onFavoriteClick?: (crumb: ICrumbBase) => void;
|
|
11
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export { Breadcrumb };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
-
export declare const StyledCrumb: import("styled-components").StyledComponent<"div", any, {
|
|
3
|
-
isLast?: boolean;
|
|
4
|
-
}, never>;
|
|
5
|
-
export declare const StyledSeparator: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
1
|
+
export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const StyledCrumb: import("styled-components").StyledComponent<"div", any, {
|
|
3
|
+
isLast?: boolean;
|
|
4
|
+
}, never>;
|
|
5
|
+
export declare const StyledSeparator: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare const StarIcon: (props: {
|
|
2
|
-
isFavourite?: boolean;
|
|
3
|
-
onClick?: (event: React.MouseEvent<SVGSVGElement, MouseEvent>) => void;
|
|
4
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export declare const RestCrumb: () => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export declare const Separator: () => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export declare const isLast: (index: number, array: unknown[]) => boolean;
|
|
1
|
+
export declare const StarIcon: (props: {
|
|
2
|
+
isFavourite?: boolean;
|
|
3
|
+
onClick?: (event: React.MouseEvent<SVGSVGElement, MouseEvent>) => void;
|
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare const RestCrumb: () => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const Separator: () => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const isLast: (index: number, array: unknown[]) => boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ICrumbBase } from './Breadcrumb';
|
|
2
|
-
interface ICrumb extends ICrumbBase {
|
|
3
|
-
isLast?: boolean;
|
|
4
|
-
showFavoriteButton?: boolean;
|
|
5
|
-
onClick?: () => void;
|
|
6
|
-
onFavoriteClick?: () => void;
|
|
7
|
-
}
|
|
8
|
-
declare const Crumb: ({ name, isFavourite, isLast, showFavoriteButton, onClick, onFavoriteClick, }: ICrumb) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export default Crumb;
|
|
1
|
+
import { ICrumbBase } from './Breadcrumb';
|
|
2
|
+
interface ICrumb extends ICrumbBase {
|
|
3
|
+
isLast?: boolean;
|
|
4
|
+
showFavoriteButton?: boolean;
|
|
5
|
+
onClick?: () => void;
|
|
6
|
+
onFavoriteClick?: () => void;
|
|
7
|
+
}
|
|
8
|
+
declare const Crumb: ({ name, isFavourite, isLast, showFavoriteButton, onClick, onFavoriteClick, }: ICrumb) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default Crumb;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Breadcrumb } from './Breadcrumb';
|
|
2
|
-
export { Breadcrumb };
|
|
1
|
+
import { Breadcrumb } from './Breadcrumb';
|
|
2
|
+
export { Breadcrumb };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ButtonComponent } from './types';
|
|
2
|
-
declare const Button: (props: ButtonComponent.Props) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export { Button };
|
|
1
|
+
import { ButtonComponent } from './types';
|
|
2
|
+
declare const Button: (props: ButtonComponent.Props) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export { Button };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ButtonComponent } from './types';
|
|
2
|
-
declare const ButtonWrapper: import("styled-components").StyledComponent<"div", any, ButtonComponent.ButtonWrapper, never>;
|
|
3
|
-
export default ButtonWrapper;
|
|
1
|
+
import { ButtonComponent } from './types';
|
|
2
|
+
declare const ButtonWrapper: import("styled-components").StyledComponent<"div", any, ButtonComponent.ButtonWrapper, never>;
|
|
3
|
+
export default ButtonWrapper;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ButtonComponent } from './types';
|
|
2
|
-
declare const buttonColors: ButtonComponent.ButtonColors;
|
|
3
|
-
export { buttonColors };
|
|
1
|
+
import { ButtonComponent } from './types';
|
|
2
|
+
declare const buttonColors: ButtonComponent.ButtonColors;
|
|
3
|
+
export { buttonColors };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ButtonComponent } from './types';
|
|
2
|
-
declare const switchButtonStyles: (props: ButtonComponent.SwitchButtonStyles) => import("styled-components").FlattenSimpleInterpolation;
|
|
3
|
-
declare const switchTextStyle: (secondary: boolean, variant: ButtonComponent.ButtonVariant) => string;
|
|
4
|
-
export { switchButtonStyles, switchTextStyle };
|
|
1
|
+
import { ButtonComponent } from './types';
|
|
2
|
+
declare const switchButtonStyles: (props: ButtonComponent.SwitchButtonStyles) => import("styled-components").FlattenSimpleInterpolation;
|
|
3
|
+
declare const switchTextStyle: (secondary: boolean, variant: ButtonComponent.ButtonVariant) => string;
|
|
4
|
+
export { switchButtonStyles, switchTextStyle };
|
|
@@ -1,79 +1,79 @@
|
|
|
1
|
-
import { ButtonHTMLAttributes } from 'react';
|
|
2
|
-
import { Color } from '../../themes/types';
|
|
3
|
-
export declare namespace ButtonComponent {
|
|
4
|
-
type Props = {
|
|
5
|
-
label?: string;
|
|
6
|
-
buttontype?: ButtonType;
|
|
7
|
-
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
icon?: React.ReactNode;
|
|
10
|
-
variant?: ButtonVariant;
|
|
11
|
-
secondary?: boolean;
|
|
12
|
-
fullWidth?: boolean;
|
|
13
|
-
cursor?: string;
|
|
14
|
-
leftIcon?: React.ReactNode;
|
|
15
|
-
rightIcon?: React.ReactNode;
|
|
16
|
-
buttonElementProps?: ButtonHTMLAttributes<HTMLButtonElement>;
|
|
17
|
-
};
|
|
18
|
-
enum Variant {
|
|
19
|
-
outline = "outline",
|
|
20
|
-
filled = "filled",
|
|
21
|
-
filter = "filter",
|
|
22
|
-
ghost = "ghost",
|
|
23
|
-
ghostSecondary = "ghostSecondary"
|
|
24
|
-
}
|
|
25
|
-
type ButtonVariant = keyof typeof Variant;
|
|
26
|
-
type ButtonWrapper = {
|
|
27
|
-
buttontype?: ButtonType;
|
|
28
|
-
disabled?: boolean;
|
|
29
|
-
cursor?: string;
|
|
30
|
-
variant?: ButtonVariant;
|
|
31
|
-
secondary?: boolean;
|
|
32
|
-
fullWidth?: boolean;
|
|
33
|
-
label: string;
|
|
34
|
-
rightIcon: React.ReactNode;
|
|
35
|
-
leftIcon: React.ReactNode;
|
|
36
|
-
};
|
|
37
|
-
enum ButtonEnum {
|
|
38
|
-
primary = 0,
|
|
39
|
-
secondary = 1,
|
|
40
|
-
error = 2,
|
|
41
|
-
success = 3
|
|
42
|
-
}
|
|
43
|
-
type ButtonColor = {
|
|
44
|
-
backgroundColor: string;
|
|
45
|
-
borderColor: string;
|
|
46
|
-
textColor: string;
|
|
47
|
-
focusColor: string;
|
|
48
|
-
hoverColor: string;
|
|
49
|
-
disabledBackgroundColor: string;
|
|
50
|
-
disabledTextColor: string;
|
|
51
|
-
disabledBorderColor: string;
|
|
52
|
-
disabledOutlineTextColor: string;
|
|
53
|
-
disabledOutlineBorderColor: string;
|
|
54
|
-
outlineHoverColor: string;
|
|
55
|
-
outlineTextColor: string;
|
|
56
|
-
outlineBorderColor: string;
|
|
57
|
-
outlineFocusColor: string;
|
|
58
|
-
};
|
|
59
|
-
type FilterButtonColor = ButtonColor & {
|
|
60
|
-
hoverTextColor: string;
|
|
61
|
-
hoverBorderColor: string;
|
|
62
|
-
};
|
|
63
|
-
type ButtonColors = {
|
|
64
|
-
primary: ButtonColor;
|
|
65
|
-
secondary: ButtonColor;
|
|
66
|
-
error: ButtonColor;
|
|
67
|
-
success: ButtonColor;
|
|
68
|
-
filter: FilterButtonColor;
|
|
69
|
-
ghost: ButtonColor;
|
|
70
|
-
ghostSecondary: ButtonColor;
|
|
71
|
-
};
|
|
72
|
-
type ButtonType = keyof typeof ButtonEnum;
|
|
73
|
-
type SwitchButtonStyles = {
|
|
74
|
-
disabled?: boolean;
|
|
75
|
-
theme: Color;
|
|
76
|
-
buttontype?: ButtonType;
|
|
77
|
-
variant?: ButtonVariant;
|
|
78
|
-
};
|
|
79
|
-
}
|
|
1
|
+
import { ButtonHTMLAttributes } from 'react';
|
|
2
|
+
import { Color } from '../../themes/types';
|
|
3
|
+
export declare namespace ButtonComponent {
|
|
4
|
+
type Props = {
|
|
5
|
+
label?: string;
|
|
6
|
+
buttontype?: ButtonType;
|
|
7
|
+
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
icon?: React.ReactNode;
|
|
10
|
+
variant?: ButtonVariant;
|
|
11
|
+
secondary?: boolean;
|
|
12
|
+
fullWidth?: boolean;
|
|
13
|
+
cursor?: string;
|
|
14
|
+
leftIcon?: React.ReactNode;
|
|
15
|
+
rightIcon?: React.ReactNode;
|
|
16
|
+
buttonElementProps?: ButtonHTMLAttributes<HTMLButtonElement>;
|
|
17
|
+
};
|
|
18
|
+
enum Variant {
|
|
19
|
+
outline = "outline",
|
|
20
|
+
filled = "filled",
|
|
21
|
+
filter = "filter",
|
|
22
|
+
ghost = "ghost",
|
|
23
|
+
ghostSecondary = "ghostSecondary"
|
|
24
|
+
}
|
|
25
|
+
type ButtonVariant = keyof typeof Variant;
|
|
26
|
+
type ButtonWrapper = {
|
|
27
|
+
buttontype?: ButtonType;
|
|
28
|
+
disabled?: boolean;
|
|
29
|
+
cursor?: string;
|
|
30
|
+
variant?: ButtonVariant;
|
|
31
|
+
secondary?: boolean;
|
|
32
|
+
fullWidth?: boolean;
|
|
33
|
+
label: string;
|
|
34
|
+
rightIcon: React.ReactNode;
|
|
35
|
+
leftIcon: React.ReactNode;
|
|
36
|
+
};
|
|
37
|
+
enum ButtonEnum {
|
|
38
|
+
primary = 0,
|
|
39
|
+
secondary = 1,
|
|
40
|
+
error = 2,
|
|
41
|
+
success = 3
|
|
42
|
+
}
|
|
43
|
+
type ButtonColor = {
|
|
44
|
+
backgroundColor: string;
|
|
45
|
+
borderColor: string;
|
|
46
|
+
textColor: string;
|
|
47
|
+
focusColor: string;
|
|
48
|
+
hoverColor: string;
|
|
49
|
+
disabledBackgroundColor: string;
|
|
50
|
+
disabledTextColor: string;
|
|
51
|
+
disabledBorderColor: string;
|
|
52
|
+
disabledOutlineTextColor: string;
|
|
53
|
+
disabledOutlineBorderColor: string;
|
|
54
|
+
outlineHoverColor: string;
|
|
55
|
+
outlineTextColor: string;
|
|
56
|
+
outlineBorderColor: string;
|
|
57
|
+
outlineFocusColor: string;
|
|
58
|
+
};
|
|
59
|
+
type FilterButtonColor = ButtonColor & {
|
|
60
|
+
hoverTextColor: string;
|
|
61
|
+
hoverBorderColor: string;
|
|
62
|
+
};
|
|
63
|
+
type ButtonColors = {
|
|
64
|
+
primary: ButtonColor;
|
|
65
|
+
secondary: ButtonColor;
|
|
66
|
+
error: ButtonColor;
|
|
67
|
+
success: ButtonColor;
|
|
68
|
+
filter: FilterButtonColor;
|
|
69
|
+
ghost: ButtonColor;
|
|
70
|
+
ghostSecondary: ButtonColor;
|
|
71
|
+
};
|
|
72
|
+
type ButtonType = keyof typeof ButtonEnum;
|
|
73
|
+
type SwitchButtonStyles = {
|
|
74
|
+
disabled?: boolean;
|
|
75
|
+
theme: Color;
|
|
76
|
+
buttontype?: ButtonType;
|
|
77
|
+
variant?: ButtonVariant;
|
|
78
|
+
};
|
|
79
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ICalendar } from './CalendarTypes';
|
|
2
|
-
declare const Calendar: (props: ICalendar.Props) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export { Calendar };
|
|
1
|
+
import { ICalendar } from './CalendarTypes';
|
|
2
|
+
declare const Calendar: (props: ICalendar.Props) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export { Calendar };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { DateObject } from 'react-multi-date-picker';
|
|
2
|
-
import { ICalendar } from './CalendarTypes';
|
|
3
|
-
export type SidebarOptionProps = ICalendar.SidebarOptionProps;
|
|
4
|
-
export declare const SidebarOption: ({ title, selected, onClick }: SidebarOptionProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export declare const CalendarSidebar: ({ options, selectedOption, onOptionClick, }: {
|
|
6
|
-
options?: Pick<SidebarOptionProps, 'title' | 'selected' | 'value'>[];
|
|
7
|
-
selectedOption: string;
|
|
8
|
-
onOptionClick?: (value: () => DateObject[], option?: Pick<SidebarOptionProps, 'title' | 'selected' | 'value'>) => void;
|
|
9
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export declare const renderDatepickerNavigationButton: (direction: ICalendar.DatpickerNavigationDirection, handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import { DateObject } from 'react-multi-date-picker';
|
|
2
|
+
import { ICalendar } from './CalendarTypes';
|
|
3
|
+
export type SidebarOptionProps = ICalendar.SidebarOptionProps;
|
|
4
|
+
export declare const SidebarOption: ({ title, selected, onClick }: SidebarOptionProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare const CalendarSidebar: ({ options, selectedOption, onOptionClick, }: {
|
|
6
|
+
options?: Pick<SidebarOptionProps, 'title' | 'selected' | 'value'>[];
|
|
7
|
+
selectedOption: string;
|
|
8
|
+
onOptionClick?: (value: () => DateObject[], option?: Pick<SidebarOptionProps, 'title' | 'selected' | 'value'>) => void;
|
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const renderDatepickerNavigationButton: (direction: ICalendar.DatpickerNavigationDirection, handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export declare const CalendarWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
-
export declare const CalendarSidebarStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
-
export declare const CalendarSidebarOptions: import("styled-components").StyledComponent<"button", any, {
|
|
4
|
-
selected?: boolean;
|
|
5
|
-
}, never>;
|
|
6
|
-
declare const DatepickerNavigationButton: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
7
|
-
declare const IconWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
-
export { DatepickerNavigationButton, IconWrapper };
|
|
1
|
+
export declare const CalendarWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const CalendarSidebarStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const CalendarSidebarOptions: import("styled-components").StyledComponent<"button", any, {
|
|
4
|
+
selected?: boolean;
|
|
5
|
+
}, never>;
|
|
6
|
+
declare const DatepickerNavigationButton: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
7
|
+
declare const IconWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
+
export { DatepickerNavigationButton, IconWrapper };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { CalendarProps, DateObject } from 'react-multi-date-picker';
|
|
3
|
-
export type RangeDomainUnit = 'd' | 'w' | 'm' | 'y';
|
|
4
|
-
export type RangeDomain = `${number}${RangeDomainUnit}`;
|
|
5
|
-
export declare namespace ICalendar {
|
|
6
|
-
type Props = CalendarProps & {
|
|
7
|
-
range?: boolean;
|
|
8
|
-
numberOfMonths?: number;
|
|
9
|
-
calenderRef?: any;
|
|
10
|
-
showSidebar?: boolean;
|
|
11
|
-
sidebarOptions?: Omit<SidebarOptionProps, 'onClick'>[];
|
|
12
|
-
projectDuration?: ProjectDuration;
|
|
13
|
-
disableFutureDatesOnCustomRange?: boolean;
|
|
14
|
-
selectedSidebarOption?: string;
|
|
15
|
-
rangeDomain?: RangeDomain;
|
|
16
|
-
onChange?: (date: DateObject | DateObject[], selectedOption?: string) => void;
|
|
17
|
-
};
|
|
18
|
-
enum DatpickerNavigationDirectionEnum {
|
|
19
|
-
right = "right",
|
|
20
|
-
left = "left"
|
|
21
|
-
}
|
|
22
|
-
type ProjectDuration = {
|
|
23
|
-
startDate: string;
|
|
24
|
-
endDate: string;
|
|
25
|
-
};
|
|
26
|
-
type InputChangeEvent = React.ChangeEvent<HTMLInputElement>;
|
|
27
|
-
type DatpickerNavigationDirection = keyof typeof DatpickerNavigationDirectionEnum;
|
|
28
|
-
type SidebarOptionProps = {
|
|
29
|
-
title: string;
|
|
30
|
-
selected?: boolean;
|
|
31
|
-
value?: () => DateObject[];
|
|
32
|
-
onClick?: () => void;
|
|
33
|
-
};
|
|
34
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CalendarProps, DateObject } from 'react-multi-date-picker';
|
|
3
|
+
export type RangeDomainUnit = 'd' | 'w' | 'm' | 'y';
|
|
4
|
+
export type RangeDomain = `${number}${RangeDomainUnit}`;
|
|
5
|
+
export declare namespace ICalendar {
|
|
6
|
+
type Props = CalendarProps & {
|
|
7
|
+
range?: boolean;
|
|
8
|
+
numberOfMonths?: number;
|
|
9
|
+
calenderRef?: any;
|
|
10
|
+
showSidebar?: boolean;
|
|
11
|
+
sidebarOptions?: Omit<SidebarOptionProps, 'onClick'>[];
|
|
12
|
+
projectDuration?: ProjectDuration;
|
|
13
|
+
disableFutureDatesOnCustomRange?: boolean;
|
|
14
|
+
selectedSidebarOption?: string;
|
|
15
|
+
rangeDomain?: RangeDomain;
|
|
16
|
+
onChange?: (date: DateObject | DateObject[], selectedOption?: string) => void;
|
|
17
|
+
};
|
|
18
|
+
enum DatpickerNavigationDirectionEnum {
|
|
19
|
+
right = "right",
|
|
20
|
+
left = "left"
|
|
21
|
+
}
|
|
22
|
+
type ProjectDuration = {
|
|
23
|
+
startDate: string;
|
|
24
|
+
endDate: string;
|
|
25
|
+
};
|
|
26
|
+
type InputChangeEvent = React.ChangeEvent<HTMLInputElement>;
|
|
27
|
+
type DatpickerNavigationDirection = keyof typeof DatpickerNavigationDirectionEnum;
|
|
28
|
+
type SidebarOptionProps = {
|
|
29
|
+
title: string;
|
|
30
|
+
selected?: boolean;
|
|
31
|
+
value?: () => DateObject[];
|
|
32
|
+
onClick?: () => void;
|
|
33
|
+
};
|
|
34
|
+
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import dayjs from 'dayjs';
|
|
2
|
-
import { DateObject, Value } from 'react-multi-date-picker';
|
|
3
|
-
import { ICalendar, RangeDomain } from './CalendarTypes';
|
|
4
|
-
export declare const isRangeWithNumberOfMonths: (range: boolean, numberOfMonths: number) => boolean;
|
|
5
|
-
declare const regexInputValidate: (event: ICalendar.InputChangeEvent, onChange: (event: ICalendar.InputChangeEvent) => void) => void;
|
|
6
|
-
declare const weeks: string[];
|
|
7
|
-
declare const fullMonthsText: any;
|
|
8
|
-
export declare const getDateObjectForCalendarConstants: (date: string | Date, amount: number, unit: dayjs.ManipulateType, end: 'startOf' | 'endOf') => DateObject;
|
|
9
|
-
export declare const CALENDAR_CONSTANTS: {
|
|
10
|
-
TODAY: DateObject[];
|
|
11
|
-
CURRENT_WEEK: DateObject[];
|
|
12
|
-
LAST_7_DAYS: DateObject[];
|
|
13
|
-
LAST_WEEK: DateObject[];
|
|
14
|
-
LAST_2_WEEKS: DateObject[];
|
|
15
|
-
LAST_3_WEEKS: DateObject[];
|
|
16
|
-
LAST_4_WEEKS: DateObject[];
|
|
17
|
-
LAST_30_DAYS: DateObject[];
|
|
18
|
-
THIS_MONTH: DateObject[];
|
|
19
|
-
CUSTOM_RANGE: DateObject[];
|
|
20
|
-
};
|
|
21
|
-
export declare const getSidebarOptions: (projectDuration?: ICalendar.ProjectDuration) => {
|
|
22
|
-
title: string;
|
|
23
|
-
value: () => DateObject[];
|
|
24
|
-
}[];
|
|
25
|
-
declare const getDateOffset: (valueArr: Value, domain: RangeDomain) => DateObject[];
|
|
26
|
-
export { fullMonthsText, regexInputValidate, weeks, getDateOffset };
|
|
1
|
+
import dayjs from 'dayjs';
|
|
2
|
+
import { DateObject, Value } from 'react-multi-date-picker';
|
|
3
|
+
import { ICalendar, RangeDomain } from './CalendarTypes';
|
|
4
|
+
export declare const isRangeWithNumberOfMonths: (range: boolean, numberOfMonths: number) => boolean;
|
|
5
|
+
declare const regexInputValidate: (event: ICalendar.InputChangeEvent, onChange: (event: ICalendar.InputChangeEvent) => void) => void;
|
|
6
|
+
declare const weeks: string[];
|
|
7
|
+
declare const fullMonthsText: any;
|
|
8
|
+
export declare const getDateObjectForCalendarConstants: (date: string | Date, amount: number, unit: dayjs.ManipulateType, end: 'startOf' | 'endOf') => DateObject;
|
|
9
|
+
export declare const CALENDAR_CONSTANTS: {
|
|
10
|
+
TODAY: DateObject[];
|
|
11
|
+
CURRENT_WEEK: DateObject[];
|
|
12
|
+
LAST_7_DAYS: DateObject[];
|
|
13
|
+
LAST_WEEK: DateObject[];
|
|
14
|
+
LAST_2_WEEKS: DateObject[];
|
|
15
|
+
LAST_3_WEEKS: DateObject[];
|
|
16
|
+
LAST_4_WEEKS: DateObject[];
|
|
17
|
+
LAST_30_DAYS: DateObject[];
|
|
18
|
+
THIS_MONTH: DateObject[];
|
|
19
|
+
CUSTOM_RANGE: DateObject[];
|
|
20
|
+
};
|
|
21
|
+
export declare const getSidebarOptions: (projectDuration?: ICalendar.ProjectDuration) => {
|
|
22
|
+
title: string;
|
|
23
|
+
value: () => DateObject[];
|
|
24
|
+
}[];
|
|
25
|
+
declare const getDateOffset: (valueArr: Value, domain: RangeDomain) => DateObject[];
|
|
26
|
+
export { fullMonthsText, regexInputValidate, weeks, getDateOffset };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare const icons: {
|
|
2
|
-
chevronLeft: import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
chevronRight: import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
calendar: import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
};
|
|
6
|
-
export { icons };
|
|
1
|
+
declare const icons: {
|
|
2
|
+
chevronLeft: import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
chevronRight: import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
calendar: import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
};
|
|
6
|
+
export { icons };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Calendar } from './Calendar';
|
|
2
|
-
export { Calendar };
|
|
1
|
+
import { Calendar } from './Calendar';
|
|
2
|
+
export { Calendar };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IAreaChart } from './AreaChartTypes';
|
|
2
|
-
declare const AreaChart: (props: IAreaChart.Props) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export default AreaChart;
|
|
1
|
+
import { IAreaChart } from './AreaChartTypes';
|
|
2
|
+
declare const AreaChart: (props: IAreaChart.Props) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default AreaChart;
|