@synerise/ds-date-picker 1.2.5 → 1.2.7

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,22 @@
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.2.7](https://github.com/Synerise/synerise-design/compare/@synerise/ds-date-picker@1.2.6...@synerise/ds-date-picker@1.2.7) (2025-09-19)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-date-picker
9
+
10
+
11
+
12
+
13
+
14
+ ## [1.2.6](https://github.com/Synerise/synerise-design/compare/@synerise/ds-date-picker@1.2.5...@synerise/ds-date-picker@1.2.6) (2025-09-16)
15
+
16
+ **Note:** Version bump only for package @synerise/ds-date-picker
17
+
18
+
19
+
20
+
21
+
6
22
  ## [1.2.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-date-picker@1.2.4...@synerise/ds-date-picker@1.2.5) (2025-08-28)
7
23
 
8
24
  **Note:** Version bump only for package @synerise/ds-date-picker
@@ -1,6 +1,6 @@
1
1
  import type { HTMLAttributes, ReactElement, ReactNode } from 'react';
2
2
  import type { IntlShape } from 'react-intl';
3
- import type { DateToFormatOptions } from '@synerise/ds-data-format';
3
+ import type { DateToFormatOptions } from '@synerise/ds-core';
4
4
  import type { DropdownProps } from '@synerise/ds-dropdown';
5
5
  import type { InputProps } from '@synerise/ds-input';
6
6
  import type { DataAttributes } from '@synerise/ds-utils';
@@ -3,7 +3,7 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
3
3
  function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React from 'react';
5
5
  import { injectIntl } from 'react-intl';
6
- import { useDataFormat } from '@synerise/ds-data-format';
6
+ import { useDataFormat } from '@synerise/ds-core';
7
7
  import { fnsAddMonths, fnsAddYears } from '../../fns';
8
8
  import fnsFormat from '../../format';
9
9
  import localeUtils from '../../localeUtils';
@@ -4,8 +4,7 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
4
4
  function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
5
5
  import React, { useCallback, useMemo, useState } from 'react';
6
6
  import { legacyParse } from '@date-fns/upgrade/v2';
7
- import { useTheme } from '@synerise/ds-core';
8
- import { getDefaultDataTimeOptions, useDataFormat } from '@synerise/ds-data-format';
7
+ import { getDefaultDataTimeOptions, useDataFormat, useTheme } from '@synerise/ds-core';
9
8
  import Icon, { CalendarM, Close3S } from '@synerise/ds-icon';
10
9
  import Tooltip from '@synerise/ds-tooltip';
11
10
  import format from '../../format';
@@ -1,6 +1,6 @@
1
1
  import { type SizeType } from 'antd/lib/config-provider/SizeContext';
2
2
  import type { CSSProperties, HTMLAttributes, ReactNode } from 'react';
3
- import type { DateToFormatOptions } from '@synerise/ds-data-format';
3
+ import type { DateToFormatOptions } from '@synerise/ds-core';
4
4
  import type { DataAttributes } from '@synerise/ds-utils';
5
5
  import type { DatePickerProps } from '../../DatePicker.types';
6
6
  type InputProps = DatePickerProps['inputProps'];
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ButtonToggle } from '@synerise/ds-button';
3
- import { useDataFormat } from '@synerise/ds-data-format';
3
+ import { useDataFormat } from '@synerise/ds-core';
4
4
  import { Title } from '@synerise/ds-typography';
5
5
  import { fnsIsSameDay } from '../../fns';
6
6
  import * as S from './QuickPicks.styles';
@@ -1,6 +1,6 @@
1
1
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  import React from 'react';
3
- import { getDefaultDataTimeOptions, useDataFormat } from '@synerise/ds-data-format';
3
+ import { getDefaultDataTimeOptions, useDataFormat } from '@synerise/ds-core';
4
4
  import DSTimePicker from '@synerise/ds-time-picker';
5
5
  import Navbar from '../Navbar/Navbar';
6
6
  import * as S from './TimePicker.styles';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-date-picker",
3
- "version": "1.2.5",
3
+ "version": "1.2.7",
4
4
  "description": "DatePicker UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -26,6 +26,7 @@
26
26
  "test": "jest",
27
27
  "test:watch": "npm run test -- --watchAll",
28
28
  "types": "tsc --noEmit",
29
+ "check:circular-dependencies": "madge --circular --extensions ts,tsx,js,jsx --ts-config tsconfig.json src/ --exclude '/dist/'",
29
30
  "upgrade:ds": "ncu -f \"@synerise/ds-*\" -u"
30
31
  },
31
32
  "sideEffects": [
@@ -35,14 +36,13 @@
35
36
  "types": "dist/index.d.ts",
36
37
  "dependencies": {
37
38
  "@date-fns/upgrade": "^1.0.3",
38
- "@synerise/ds-button": "^1.4.9",
39
- "@synerise/ds-data-format": "^1.1.1",
40
- "@synerise/ds-dropdown": "^1.0.21",
41
- "@synerise/ds-icon": "^1.7.1",
42
- "@synerise/ds-input": "^1.3.8",
43
- "@synerise/ds-time-picker": "^1.1.16",
44
- "@synerise/ds-tooltip": "^1.1.17",
45
- "@synerise/ds-utils": "^1.4.1",
39
+ "@synerise/ds-button": "^1.4.11",
40
+ "@synerise/ds-dropdown": "^1.0.23",
41
+ "@synerise/ds-icon": "^1.7.2",
42
+ "@synerise/ds-input": "^1.3.10",
43
+ "@synerise/ds-time-picker": "^1.1.18",
44
+ "@synerise/ds-tooltip": "^1.2.0",
45
+ "@synerise/ds-utils": "^1.4.2",
46
46
  "classnames": "^2.5.1",
47
47
  "date-fns": "2.16.1",
48
48
  "lodash": "^4.17.21",
@@ -56,5 +56,5 @@
56
56
  "react-intl": ">=3.12.0 <= 6.8",
57
57
  "styled-components": "^5.3.3"
58
58
  },
59
- "gitHead": "5f5d424cf8c7fa89e231c36a45f5ab3e4cfac8e7"
59
+ "gitHead": "5029af8713235b315d36bb3c73363f2feca86da0"
60
60
  }