@selfdecode/sd-component-library 3.0.6 → 3.0.7-test
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/lib/components/animations/up-down-arrow/up-down-arrow.d.ts +0 -1
- package/lib/components/bicolor-badge/interfaces.d.ts +0 -1
- package/lib/components/checkboxes/checkbox/checkbox.d.ts +0 -1
- package/lib/components/complex/footer/partials/footer-link/footer-link.d.ts +0 -1
- package/lib/components/complex/footer/partials/footer-section/footer-section.d.ts +0 -1
- package/lib/components/complex/footer/partials/footer-social/footer-social.d.ts +0 -1
- package/lib/components/complex/footer/presentational/footer-presentational.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/menu-row/menu-row.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/new-apps/new-apps.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/menu-box/menu-box.d.ts +0 -1
- package/lib/components/complex/navbar/presentational/navbar-presentational.d.ts +0 -1
- package/lib/components/containers/section-container/section-container.d.ts +0 -1
- package/lib/components/feature-explanation/feature-explanation.d.ts +0 -1
- package/lib/components/inputs/date-inputs/base-date-range-input/interfaces.d.ts +6 -2
- package/lib/components/inputs/date-inputs/base-date-range-input/utils.d.ts +2 -2
- package/lib/components/inputs/search-autocomplete-input/partials/search-autocomplete-results-box/search-autocomplete-results-box.d.ts +0 -1
- package/lib/components/inputs/search-autocomplete-input/partials/search-autocomplete-row/search-autocomplete-row.d.ts +0 -1
- package/lib/components/inputs/search-autocomplete-input/search-autocomplete-input.d.ts +0 -1
- package/lib/components/inputs/search-input/partials/search-box/search-box.d.ts +0 -1
- package/lib/components/labels/base-label/base-label.d.ts +0 -1
- package/lib/components/radio-button/radio-button.d.ts +0 -1
- package/lib/components/ratings/five-stars-rating/five-stars-rating.d.ts +0 -1
- package/lib/components/selectors/compact-primary-selector/compact-primary-selector.d.ts +0 -1
- package/lib/components/selectors/custom-scrollable-selector/custom-scrollable-selector.d.ts +0 -1
- package/lib/components/selectors/custom-scrollable-selector/partials/custom-scrollable-options-box/custom-scrollable-options-box.d.ts +0 -1
- package/lib/components/selectors/primary-custom-scrollable-selector/partials/custom-scrollable-options-box/custom-scrollable-options-box.d.ts +0 -1
- package/lib/components/selectors/primary-custom-scrollable-selector/partials/option-row/option-row.d.ts +0 -1
- package/lib/components/selectors/primary-custom-scrollable-selector/primary-custom-scrollable-selector.d.ts +0 -1
- package/lib/components/selectors/primary-selector/primary-selector.d.ts +0 -1
- package/lib/components/selectors/secondary-custom-selector/partials/secondary-custom-selector-options-box/secondary-custom-selector-options-box.d.ts +0 -1
- package/lib/components/selectors/secondary-custom-selector/secondary-custom-selector.d.ts +0 -1
- package/lib/components/selectors/secondary-selector/secondary-selector.d.ts +0 -1
- package/lib/components/selectors/selector/selector.d.ts +0 -1
- package/lib/components/selectors/selector-v2/partials/base-selector-v2/base-selector-v2.d.ts +0 -1
- package/lib/components/selectors/selector-v2/selector-v2.d.ts +0 -1
- package/lib/components/selectors/tertiary-selector/tertiary-selector.d.ts +0 -1
- package/lib/components/slider/partials/step-circles/step-circles.d.ts +0 -1
- package/lib/components/slider/slider.d.ts +0 -1
- package/lib/components/tabs/tab-bar/partials/tab/tab.d.ts +0 -1
- package/lib/components/tabs/tab-bar/tab-bar.d.ts +0 -1
- package/lib/components/tabs/tabbed-view/tabbed-view.d.ts +0 -1
- package/lib/components/tabs/tabs-menu/tabs-menu.d.ts +0 -1
- package/lib/components/texts/base-text/base-text.d.ts +0 -1
- package/lib/components/texts/eighteen-bold/eighteen-bold.d.ts +0 -1
- package/lib/components/texts/eighteen-regular/eighteen-regular.d.ts +0 -1
- package/lib/components/texts/fifty-five-sb/fifty-five-sb.d.ts +0 -1
- package/lib/components/texts/fourteen-regular/fourteen-regular.d.ts +0 -1
- package/lib/components/texts/fourteen-sb/fourteen-sb.d.ts +0 -1
- package/lib/components/texts/fourty-bold/fourty-bold.d.ts +0 -1
- package/lib/components/texts/no-translate/no-translate.d.ts +0 -1
- package/lib/components/texts/sixteen-regular/sixteen-regular.d.ts +0 -1
- package/lib/components/texts/ten-sb/ten-sb.d.ts +0 -1
- package/lib/components/texts/thirteen-bold/thirteen-bold.d.ts +0 -1
- package/lib/components/texts/thirteen-regular/thirteen-regular.d.ts +0 -1
- package/lib/components/texts/thirteen-sb/thirteen-sb.d.ts +0 -1
- package/lib/components/texts/thirty-two-bold/thirty-two-bold.d.ts +0 -1
- package/lib/components/texts/thirty-two-regular/thirty-two-regular.d.ts +0 -1
- package/lib/components/texts/twelve-regular/twelve-regular.d.ts +0 -1
- package/lib/components/texts/twelve-sb/twelve-sb.d.ts +0 -1
- package/lib/components/texts/twenty-four-bold/twenty-four-bold.d.ts +0 -1
- package/lib/components/texts/twenty-four-regular/twenty-four-regular.d.ts +0 -1
- package/lib/components/utils/scroll-to-top/scroll-to-top.d.ts +0 -1
- package/lib/components/utils/scroll-to-top-on-mount/scroll-to-top-on-mount.d.ts +0 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Range } from "react-date-range";
|
|
3
|
+
export interface DateRange {
|
|
4
|
+
startDate: Date;
|
|
5
|
+
endDate: Date;
|
|
6
|
+
}
|
|
3
7
|
export interface BaseDateRangeInputProps {
|
|
4
8
|
/**
|
|
5
9
|
* Currently selected date range.
|
|
6
10
|
*/
|
|
7
|
-
initialRange:
|
|
11
|
+
initialRange: DateRange | null;
|
|
8
12
|
/**
|
|
9
13
|
* Callback to handle date range select.
|
|
10
14
|
*/
|
|
11
|
-
onSelect: (range:
|
|
15
|
+
onSelect: (range: DateRange) => void;
|
|
12
16
|
/**
|
|
13
17
|
* Function to close calendar.
|
|
14
18
|
*/
|
|
@@ -16,13 +16,13 @@ export declare const getCalendarProps: (props: BaseDateRangeInputMobileProps) =>
|
|
|
16
16
|
color?: string | undefined;
|
|
17
17
|
zIndex?: number | undefined;
|
|
18
18
|
width?: string | string[] | undefined;
|
|
19
|
-
onSelect: (range:
|
|
19
|
+
onSelect: (range: import("./interfaces").DateRange) => void;
|
|
20
20
|
showCalendar: boolean;
|
|
21
21
|
alignCalendar?: "left" | "right" | undefined;
|
|
22
22
|
maxDate?: Date | undefined;
|
|
23
23
|
minDate?: Date | undefined;
|
|
24
24
|
onClose: () => void;
|
|
25
|
-
initialRange:
|
|
25
|
+
initialRange: import("./interfaces").DateRange | null;
|
|
26
26
|
onCancel?: (() => void) | undefined;
|
|
27
27
|
showMonthAndYearPickers?: boolean | undefined;
|
|
28
28
|
dateDisplayFormat?: string | undefined;
|