@synerise/ds-date-range-picker 0.29.11 → 0.29.12
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/CHANGELOG.md +8 -0
- package/dist/AddonCollapse/AddonCollapse.d.ts +1 -1
- package/dist/AddonCollapse/AddonCollapse.js +1 -1
- package/dist/AddonCollapse/AddonCollapse.types.d.ts +1 -1
- package/dist/RangeFilter/Filters/MonthlyFilter/MonthlyFilter.d.ts +1 -1
- package/dist/RangeFilter/Filters/MonthlyFilter/MonthlyFilter.js +1 -1
- package/dist/RangeFilter/Filters/WeeklyFilter/WeeklyFilter.js +1 -1
- package/dist/RangeFilter/Filters/new/Monthly/Monthly.d.ts +1 -1
- package/dist/RangeFilter/Filters/new/Monthly/Monthly.js +1 -1
- package/dist/RangeFilter/Filters/new/hooks/useShiftAndControlKeys.d.ts +1 -1
- package/dist/RangeFilter/Filters/new/hooks/useShiftAndControlKeys.js +1 -1
- package/dist/RangeFilter/RangeFilter.d.ts +1 -1
- package/dist/RangeFilter/RangeFilter.js +1 -1
- package/dist/RangeFilter/RangeFilter.types.d.ts +1 -1
- package/dist/RangeFilter/Shared/AddButton/AddButton.d.ts +1 -1
- package/dist/RangeFilter/Shared/AddButton/AddButton.js +1 -1
- package/dist/RangeFilter/Shared/AddButton/AddButton.types.d.ts +1 -1
- package/dist/RangeFilter/Shared/FilterDropdown/FilterDropdown.d.ts +1 -1
- package/dist/RangeFilter/Shared/FilterDropdown/FilterDropdown.js +1 -1
- package/dist/RangeFilter/Shared/FilterDropdown/FilterDropdown.types.d.ts +1 -1
- package/dist/RangeFilter/Shared/SaveFilterForm/SaveFilterForm.d.ts +1 -1
- package/dist/RangeFilter/Shared/SaveFilterForm/SaveFilterForm.js +1 -1
- package/dist/RangeFilter/Shared/SelectionCount/SelectionCount.d.ts +1 -1
- package/dist/RangeFilter/Shared/SelectionCount/SelectionCount.js +1 -1
- package/dist/RangeFilter/Shared/SelectionCount/SelectionCount.types.d.ts +1 -1
- package/dist/RangeFilter/Shared/SelectionHint/SelectionHint.d.ts +1 -1
- package/dist/RangeFilter/Shared/SelectionHint/SelectionHint.js +1 -1
- package/dist/RangeFilter/Shared/TimeWindow/Day/Day.d.ts +1 -1
- package/dist/RangeFilter/Shared/TimeWindow/Day/Day.js +1 -1
- package/dist/RangeFilter/Shared/TimeWindow/Day/Day.types.d.ts +1 -1
- package/dist/RangeFilter/Shared/TimeWindow/Grid/Grid.d.ts +1 -1
- package/dist/RangeFilter/Shared/TimeWindow/Grid/Grid.js +1 -1
- package/dist/RangeFilter/Shared/TimeWindow/Grid/Grid.types.d.ts +1 -1
- package/dist/RangeFilter/Shared/TimeWindow/Header/Header.d.ts +1 -1
- package/dist/RangeFilter/Shared/TimeWindow/Header/Header.js +1 -1
- package/dist/RangeFilter/Shared/TimeWindow/RangeActions/RangeActions.d.ts +1 -1
- package/dist/RangeFilter/Shared/TimeWindow/RangeActions/RangeActions.js +1 -1
- package/dist/RangeFilter/Shared/TimeWindow/RangeActions/RangeActions.types.d.ts +1 -1
- package/dist/RangeFilter/Shared/TimeWindow/RangeFormContainer/RangeFormContainer.d.ts +1 -1
- package/dist/RangeFilter/Shared/TimeWindow/RangeFormContainer/RangeFormContainer.js +1 -1
- package/dist/RangeFilter/Shared/TimeWindow/RangeSummary/RangeSummary.d.ts +1 -1
- package/dist/RangeFilter/Shared/TimeWindow/RangeSummary/RangeSummary.js +1 -1
- package/dist/RangeFilter/Shared/TimeWindow/RangeSummary/RangeSummary.types.d.ts +1 -1
- package/dist/RangeFilter/Shared/TimeWindow/TimeWindow.types.d.ts +1 -1
- package/dist/RangePickerInput/RangePickerInput.d.ts +1 -1
- package/dist/RangePickerInput/RangePickerInput.js +1 -1
- package/dist/RangePickerInput/RangePickerInput.types.d.ts +1 -1
- package/dist/RelativeRangePicker/Elements/CustomRangeForm/CustomRangeForm.d.ts +1 -1
- package/dist/RelativeRangePicker/Elements/CustomRangeForm/CustomRangeForm.js +1 -1
- package/dist/RelativeRangePicker/Elements/CustomRangeForm/DurationField/DurationField.d.ts +1 -1
- package/dist/RelativeRangePicker/Elements/CustomRangeForm/DurationField/DurationField.js +1 -1
- package/dist/RelativeRangePicker/Elements/CustomRangeForm/OffsetField/OffsetField.d.ts +1 -1
- package/dist/RelativeRangePicker/Elements/CustomRangeForm/OffsetField/OffsetField.js +1 -1
- package/dist/RelativeRangePicker/Elements/ModeDropdown/ModeDropdown.d.ts +1 -1
- package/dist/RelativeRangePicker/Elements/ModeDropdown/ModeDropdown.js +1 -1
- package/dist/RelativeRangePicker/Elements/RangeButtons/RangeButtons.d.ts +1 -1
- package/dist/RelativeRangePicker/Elements/RangeButtons/RangeButtons.js +1 -1
- package/dist/RelativeRangePicker/Elements/TimestampRange/TimestampDuration/TimestampDuration.d.ts +1 -1
- package/dist/RelativeRangePicker/Elements/TimestampRange/TimestampDuration/TimestampDuration.js +1 -1
- package/dist/RelativeRangePicker/RelativeRangePicker.d.ts +1 -1
- package/dist/RelativeRangePicker/RelativeRangePicker.js +1 -1
- package/dist/date.types.d.ts +1 -1
- package/dist/dateUtils/Date.d.ts +1 -1
- package/dist/dateUtils/Date.js +1 -1
- package/package.json +22 -22
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.29.12](https://github.com/Synerise/synerise-design/compare/@synerise/ds-date-range-picker@0.29.11...@synerise/ds-date-range-picker@0.29.12) (2024-09-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-date-range-picker
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [0.29.11](https://github.com/Synerise/synerise-design/compare/@synerise/ds-date-range-picker@0.29.10...@synerise/ds-date-range-picker@0.29.11) (2024-09-13)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @synerise/ds-date-range-picker
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { MonthlyFilterProps } from './MonthlyFilter.types';
|
|
3
3
|
declare const _default: React.ForwardRefExoticComponent<import("react-intl").Omit<MonthlyFilterProps, "intl"> & {
|
|
4
4
|
forwardedRef?: React.Ref<any> | undefined;
|
|
@@ -8,7 +8,7 @@ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.crea
|
|
|
8
8
|
|
|
9
9
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10
10
|
|
|
11
|
-
import
|
|
11
|
+
import React from 'react';
|
|
12
12
|
import { FormattedMessage, injectIntl } from 'react-intl';
|
|
13
13
|
import ContentItem from '@synerise/ds-manageable-list/dist/Item/ContentItem/ContentItem';
|
|
14
14
|
import { Tag, TagShape } from '@synerise/ds-tags';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { MonthlyProps } from './Monthly.types';
|
|
3
3
|
declare const Monthly: ({ maxEntries, valueSelectionMode, onChange, timeFormat, valueFormatOptions, value, timePickerProps, disabled, texts, periodType, countedFrom, errorTexts, }: MonthlyProps) => React.JSX.Element;
|
|
4
4
|
export default Monthly;
|
|
@@ -6,7 +6,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
6
6
|
|
|
7
7
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8
8
|
|
|
9
|
-
import
|
|
9
|
+
import React from 'react';
|
|
10
10
|
import { useIntl } from 'react-intl';
|
|
11
11
|
import dayjs from 'dayjs';
|
|
12
12
|
import { v4 as uuid } from 'uuid';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export declare const useShiftAndControlKeys: (ref: React.MutableRefObject<HTMLElement | undefined>) => readonly [boolean, boolean];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { RangeFilterProps } from './RangeFilter.types';
|
|
3
3
|
declare const _default: React.ForwardRefExoticComponent<import("react-intl").Omit<RangeFilterProps, "intl"> & {
|
|
4
4
|
forwardedRef?: React.Ref<any> | undefined;
|
|
@@ -6,7 +6,7 @@ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.crea
|
|
|
6
6
|
|
|
7
7
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8
8
|
|
|
9
|
-
import
|
|
9
|
+
import React from 'react';
|
|
10
10
|
import { cloneDeep } from 'lodash';
|
|
11
11
|
import ButtonGroup from '@synerise/ds-button-group';
|
|
12
12
|
import { injectIntl } from 'react-intl';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { IntlShape } from 'react-intl';
|
|
3
3
|
import { SavedFilter } from './Shared/FilterDropdown/FilterDropdown.types';
|
|
4
4
|
import { DateLimitMode, RangeDisplayMode } from './Shared/TimeWindow/RangeFormContainer/RangeForm/RangeForm.types';
|
|
@@ -4,7 +4,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
4
4
|
|
|
5
5
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
6
6
|
|
|
7
|
-
import
|
|
7
|
+
import React from 'react';
|
|
8
8
|
import Button from '@synerise/ds-button';
|
|
9
9
|
import Icon, { Add3M } from '@synerise/ds-icon';
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
4
4
|
|
|
5
5
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
6
6
|
|
|
7
|
-
import
|
|
7
|
+
import React from 'react'; // @ts-ignore
|
|
8
8
|
|
|
9
9
|
import dayjs from 'dayjs'; // @ts-ignore
|
|
10
10
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { RangeFormContainerProps } from './RangeFormContainer.types';
|
|
3
3
|
declare const RangeFormContainer: ({ errorTexts, activeDays, disabled, days, dayKeys, getDayValue, getDayLabel, onDayTimeChange, onMultipleDayTimeChange, hideHeader, headerOptions, monthlyFilter, monthlyFilterPeriod, onRangeClear, onRangePaste, onRangeCopy, onRangeDelete, texts, onChange, valueSelectionModes, rangeDisplayMode, onModeChange, timePickerProps, renderSuffix, timeFormat, valueFormatOptions, }: RangeFormContainerProps) => React.JSX.Element;
|
|
4
4
|
export default RangeFormContainer;
|
|
@@ -4,7 +4,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
4
4
|
|
|
5
5
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
6
|
|
|
7
|
-
import
|
|
7
|
+
import React from 'react';
|
|
8
8
|
import RangeForm from './RangeForm/RangeForm';
|
|
9
9
|
import { RANGE_DISPLAY_MODES } from './RangeForm/RangeForm.constants';
|
|
10
10
|
import { getDateFromDayValue, getDefaultFilterForLimitMode } from '../utils';
|
|
@@ -4,7 +4,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
4
4
|
|
|
5
5
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
6
|
|
|
7
|
-
import
|
|
7
|
+
import React from 'react';
|
|
8
8
|
import Icon, { ArrowRightS, CalendarM, Close3S } from '@synerise/ds-icon';
|
|
9
9
|
import { theme } from '@synerise/ds-core';
|
|
10
10
|
import Tooltip from '@synerise/ds-tooltip';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { WrappedComponentProps } from 'react-intl';
|
|
3
3
|
declare const _default: React.ForwardRefExoticComponent<import("react-intl").Omit<import("./RelativeRangePicker.types").RelativeRangePickerProps & WrappedComponentProps<"intl">, "intl"> & {
|
|
4
4
|
forwardedRef?: React.Ref<any> | undefined;
|
|
@@ -6,7 +6,7 @@ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.crea
|
|
|
6
6
|
|
|
7
7
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8
8
|
|
|
9
|
-
import
|
|
9
|
+
import React from 'react';
|
|
10
10
|
import { injectIntl } from 'react-intl';
|
|
11
11
|
import * as S from './RelativeRangePicker.styles';
|
|
12
12
|
import * as CONST from '../constants';
|
package/dist/date.types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type startOf from './dateUtils/startOf';
|
|
3
3
|
import type endOf from './dateUtils/endOf';
|
|
4
4
|
export type RelativeUnits = 'SECONDS' | 'MINUTES' | 'HOURS' | 'DAYS' | 'WEEKS' | 'MONTHS' | 'YEARS' | 'SINCE' | keyof typeof startOf | keyof typeof endOf;
|
package/dist/dateUtils/Date.d.ts
CHANGED
package/dist/dateUtils/Date.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-date-range-picker",
|
|
3
|
-
"version": "0.29.
|
|
3
|
+
"version": "0.29.12",
|
|
4
4
|
"description": "Date-Range-Picker UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -34,29 +34,29 @@
|
|
|
34
34
|
"types": "dist/index.d.ts",
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@date-fns/upgrade": "^1.0.3",
|
|
37
|
-
"@synerise/ds-badge": "^0.8.
|
|
38
|
-
"@synerise/ds-button": "^0.21.
|
|
39
|
-
"@synerise/ds-button-group": "^0.7.
|
|
40
|
-
"@synerise/ds-data-format": "^0.5.
|
|
41
|
-
"@synerise/ds-date-picker": "^0.11.
|
|
42
|
-
"@synerise/ds-dropdown": "^0.18.
|
|
43
|
-
"@synerise/ds-icon": "^0.65.
|
|
44
|
-
"@synerise/ds-inline-edit": "^0.8.
|
|
45
|
-
"@synerise/ds-input": "^0.24.
|
|
46
|
-
"@synerise/ds-input-number": "^0.10.
|
|
47
|
-
"@synerise/ds-list-item": "^0.4.
|
|
48
|
-
"@synerise/ds-manageable-list": "^0.26.
|
|
49
|
-
"@synerise/ds-scrollbar": "^0.11.
|
|
50
|
-
"@synerise/ds-select": "^0.16.
|
|
51
|
-
"@synerise/ds-slider": "^0.13.
|
|
52
|
-
"@synerise/ds-tags": "^0.10.
|
|
53
|
-
"@synerise/ds-time-picker": "^0.10.
|
|
54
|
-
"@synerise/ds-tooltip": "^0.14.
|
|
55
|
-
"@synerise/ds-utils": "^0.29.
|
|
37
|
+
"@synerise/ds-badge": "^0.8.10",
|
|
38
|
+
"@synerise/ds-button": "^0.21.11",
|
|
39
|
+
"@synerise/ds-button-group": "^0.7.15",
|
|
40
|
+
"@synerise/ds-data-format": "^0.5.3",
|
|
41
|
+
"@synerise/ds-date-picker": "^0.11.17",
|
|
42
|
+
"@synerise/ds-dropdown": "^0.18.15",
|
|
43
|
+
"@synerise/ds-icon": "^0.65.6",
|
|
44
|
+
"@synerise/ds-inline-edit": "^0.8.11",
|
|
45
|
+
"@synerise/ds-input": "^0.24.5",
|
|
46
|
+
"@synerise/ds-input-number": "^0.10.6",
|
|
47
|
+
"@synerise/ds-list-item": "^0.4.11",
|
|
48
|
+
"@synerise/ds-manageable-list": "^0.26.70",
|
|
49
|
+
"@synerise/ds-scrollbar": "^0.11.11",
|
|
50
|
+
"@synerise/ds-select": "^0.16.17",
|
|
51
|
+
"@synerise/ds-slider": "^0.13.39",
|
|
52
|
+
"@synerise/ds-tags": "^0.10.8",
|
|
53
|
+
"@synerise/ds-time-picker": "^0.10.25",
|
|
54
|
+
"@synerise/ds-tooltip": "^0.14.41",
|
|
55
|
+
"@synerise/ds-utils": "^0.29.3",
|
|
56
56
|
"date-fns": "^2.16.1",
|
|
57
57
|
"date-fns-tz": "1.1.4",
|
|
58
58
|
"dayjs": "^1.8.35",
|
|
59
|
-
"lodash": "^4.17.
|
|
59
|
+
"lodash": "^4.17.21",
|
|
60
60
|
"ramda": "^0.27.0",
|
|
61
61
|
"react-day-picker": "^7.4.8",
|
|
62
62
|
"react-intl": "3.12.0",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"react": ">=16.9.0 <= 17.0.2",
|
|
69
69
|
"styled-components": "5.0.1"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "ae3c38b44ca0f9071cd55f7b82c182a99b5710e8"
|
|
72
72
|
}
|