@synerise/ds-date-range-picker 1.7.8 → 1.7.10

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 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
+ ## [1.7.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-date-range-picker@1.7.9...@synerise/ds-date-range-picker@1.7.10) (2026-07-09)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-date-range-picker
9
+
10
+ ## [1.7.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-date-range-picker@1.7.8...@synerise/ds-date-range-picker@1.7.9) (2026-07-09)
11
+
12
+ **Note:** Version bump only for package @synerise/ds-date-range-picker
13
+
6
14
  ## [1.7.8](https://github.com/Synerise/synerise-design/compare/@synerise/ds-date-range-picker@1.7.7...@synerise/ds-date-range-picker@1.7.8) (2026-07-08)
7
15
 
8
16
  ### Bug Fixes
@@ -27,7 +27,9 @@ const DurationField = ({
27
27
  return /* @__PURE__ */ jsxs(Fragment, { children: [
28
28
  /* @__PURE__ */ jsx(Title, { children: currentGroup === RANGES_MODE.PAST ? texts.last : texts.next }),
29
29
  /* @__PURE__ */ jsxs(InputSelectGroup, { compact: true, children: [
30
- /* @__PURE__ */ jsx(InputNumber, { min: 1, max: RELATIVE_DURATION_MAX, precision: 0, step: 1, value: duration?.value, onBlur: ({
30
+ /* @__PURE__ */ jsx(InputNumber, { min: 1, max: RELATIVE_DURATION_MAX, step: 1, valueFormatOptions: {
31
+ maximumFractionDigits: 0
32
+ }, value: duration?.value, onBlur: ({
31
33
  target: {
32
34
  value
33
35
  }
@@ -26,7 +26,9 @@ const OffsetField = ({
26
26
  " ",
27
27
  /* @__PURE__ */ jsx(Title, { children: currentGroup === RANGES_MODE.PAST ? texts.before : texts.after }),
28
28
  /* @__PURE__ */ jsxs(InputSelectGroup, { compact: true, children: [
29
- /* @__PURE__ */ jsx(InputNumber, { min: 0, max: RELATIVE_OFFSET_MAX, precision: 0, step: 1, value: offset?.value, onBlur: ({
29
+ /* @__PURE__ */ jsx(InputNumber, { min: 0, max: RELATIVE_OFFSET_MAX, step: 1, valueFormatOptions: {
30
+ maximumFractionDigits: 0
31
+ }, value: offset?.value, onBlur: ({
30
32
  target: {
31
33
  value
32
34
  }
@@ -25,7 +25,9 @@ const TimestampDuration = ({
25
25
  points: ["bl", "tl"],
26
26
  offset: [0, SELECT_DROPDOWN_OFFSET]
27
27
  }, getPopupContainer: (node) => node.parentElement !== null ? node.parentElement : document.body, children: durationModiferValues.map((modifier) => /* @__PURE__ */ jsx(Select.Option, { value: modifier, children: texts[modifier] }, modifier)) }),
28
- /* @__PURE__ */ jsx(InputNumber, { min: 1, max: RELATIVE_DURATION_MAX, precision: 0, step: 1, value, onChange: handleDurationValueChange }),
28
+ /* @__PURE__ */ jsx(InputNumber, { min: 1, max: RELATIVE_DURATION_MAX, step: 1, valueFormatOptions: {
29
+ maximumFractionDigits: 0
30
+ }, value, onChange: handleDurationValueChange }),
29
31
  /* @__PURE__ */ jsx(Select, { value: unit, dropdownStyle: {
30
32
  minWidth: "125px"
31
33
  }, onChange: (type) => onDurationUnitChange(type), dropdownAlign: {
@@ -7,7 +7,7 @@ export declare const Title: import('styled-components').StyledComponent<"div", a
7
7
  export declare const Help: import('styled-components').StyledComponent<"div", any, {}, never>;
8
8
  export declare const Ranges: import('styled-components').StyledComponent<"div", any, {}, never>;
9
9
  export declare const CustomForm: import('styled-components').StyledComponent<"div", any, {}, never>;
10
- export declare const InputSelectGroup: import('styled-components').StyledComponent<({ children, label, errors, description, resetMargin, tooltip, tooltipConfig, ...antdInputGroupProps }: InputGroupProps) => React.JSX.Element, any, InputGroupProps, never>;
10
+ export declare const InputSelectGroup: import('styled-components').StyledComponent<({ children, label, errorText, errors, description, resetMargin, tooltip, tooltipConfig, compact, growItem, className, style, size: _size, ...rest }: InputGroupProps) => React.JSX.Element, any, InputGroupProps, never>;
11
11
  export declare const ModeDropdownTrigger: import('styled-components').StyledComponent<({ children, ...rest }: any) => React.JSX.Element, any, {}, never>;
12
12
  export declare const Range: import('styled-components').StyledComponent<({ children, ...rest }: any) => React.JSX.Element, any, {}, never>;
13
13
  export declare const RangeFormColumn: import('styled-components').StyledComponent<"div", any, {}, never>;
@@ -31,7 +31,7 @@ const CustomForm = /* @__PURE__ */ styled.div.withConfig({
31
31
  const InputSelectGroup = /* @__PURE__ */ styled(InputGroup).withConfig({
32
32
  displayName: "RelativeRangePickerstyles__InputSelectGroup",
33
33
  componentId: "sc-17ul7sp-6"
34
- })(["&&,.ant-input-group.ant-input-group-compact&&{display:flex;align-items:center;.ant-input-number{display:flex;flex:1;}.ds-select-wrapper{width:122px;}height:32px;", "{min-width:unset;}}"], InputGroupItem);
34
+ })(["&&,.ant-input-group.ant-input-group-compact&&{display:flex;align-items:center;.ds-input-number{display:flex;flex:1;}.ds-select-wrapper{width:122px;}height:32px;", "{min-width:unset;}}"], InputGroupItem);
35
35
  const ModeDropdownTrigger = /* @__PURE__ */ styled(({
36
36
  children,
37
37
  ...rest
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-date-range-picker",
3
- "version": "1.7.8",
3
+ "version": "1.7.10",
4
4
  "description": "Date-Range-Picker UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -45,21 +45,21 @@
45
45
  "@synerise/ds-badge": "^1.0.57",
46
46
  "@synerise/ds-button": "^1.5.33",
47
47
  "@synerise/ds-button-group": "^1.1.58",
48
- "@synerise/ds-date-picker": "^1.4.18",
49
- "@synerise/ds-dropdown": "^1.3.16",
48
+ "@synerise/ds-date-picker": "^1.4.20",
49
+ "@synerise/ds-dropdown": "^1.3.18",
50
50
  "@synerise/ds-form-field": "^1.3.23",
51
51
  "@synerise/ds-icon": "^1.18.4",
52
- "@synerise/ds-inline-edit": "^1.1.44",
53
- "@synerise/ds-input": "^1.7.11",
54
- "@synerise/ds-input-number": "^1.2.48",
55
- "@synerise/ds-list-item": "^1.5.1",
56
- "@synerise/ds-manageable-list": "^1.8.7",
52
+ "@synerise/ds-inline-edit": "^1.1.46",
53
+ "@synerise/ds-input": "^1.7.12",
54
+ "@synerise/ds-input-number": "^1.2.49",
55
+ "@synerise/ds-list-item": "^1.6.0",
56
+ "@synerise/ds-manageable-list": "^1.8.9",
57
57
  "@synerise/ds-popover": "^1.6.1",
58
58
  "@synerise/ds-scrollbar": "^1.5.1",
59
59
  "@synerise/ds-select": "^1.3.33",
60
60
  "@synerise/ds-slider": "^1.1.26",
61
61
  "@synerise/ds-tag": "^1.4.31",
62
- "@synerise/ds-time-picker": "^1.2.38",
62
+ "@synerise/ds-time-picker": "^1.2.40",
63
63
  "@synerise/ds-tooltip": "^1.5.3",
64
64
  "@synerise/ds-utils": "^1.10.1",
65
65
  "date-fns": "^2.16.1",
@@ -101,5 +101,5 @@
101
101
  "react-intl": ">=3.12.0 <= 6.8",
102
102
  "styled-components": "^5.3.3"
103
103
  },
104
- "gitHead": "5452c886c6a70cc2847fdb50ccf376dfb93916e5"
104
+ "gitHead": "5c90008871be36fb52553a2ed3a633acf5db5b3b"
105
105
  }