@synerise/ds-date-picker 0.11.16 → 0.11.17

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
+ ## [0.11.17](https://github.com/Synerise/synerise-design/compare/@synerise/ds-date-picker@0.11.16...@synerise/ds-date-picker@0.11.17) (2024-09-17)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-date-picker
9
+
10
+
11
+
12
+
13
+
6
14
  ## [0.11.16](https://github.com/Synerise/synerise-design/compare/@synerise/ds-date-picker@0.11.15...@synerise/ds-date-picker@0.11.16) (2024-09-13)
7
15
 
8
16
  **Note:** Version bump only for package @synerise/ds-date-picker
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { DayPickerProps } from './DayPicker.types';
3
3
  declare const _default: React.ForwardRefExoticComponent<import("react-intl").Omit<DayPickerProps, "intl"> & {
4
4
  forwardedRef?: React.Ref<any> | undefined;
@@ -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 * as React from 'react';
7
+ import React from 'react';
8
8
  import { injectIntl } from 'react-intl';
9
9
  import { useDataFormat } from '@synerise/ds-data-format';
10
10
  import fnsFormat from '../../format';
@@ -1,5 +1,5 @@
1
1
  import { IntlShape } from 'react-intl';
2
- import * as React from 'react';
2
+ import React from 'react';
3
3
  import { DayModifiers, Modifier, Modifiers } from 'react-day-picker/types/Modifiers';
4
4
  import MomentLocaleUtils from 'react-day-picker/moment';
5
5
  export type DayPickerProps = {
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { DecadePickerProps, DecadePickerState } from './DecadePicker.types';
3
3
  export default class DecadePicker extends React.PureComponent<DecadePickerProps, DecadePickerState> {
4
4
  state: DecadePickerState;
@@ -2,7 +2,7 @@ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.crea
2
2
 
3
3
  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; }
4
4
 
5
- import * as React from 'react';
5
+ import React from 'react';
6
6
  import { range } from 'lodash';
7
7
  import { legacyParse } from '@date-fns/upgrade/v2';
8
8
  import GridPicker from '../GridPicker/GridPicker';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { Props } from './Footer.types';
3
3
  declare const _default: React.ForwardRefExoticComponent<import("react-intl").Omit<Props, "intl"> & {
4
4
  forwardedRef?: React.Ref<any> | undefined;
@@ -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 * as React from 'react';
7
+ import React from 'react';
8
8
  import { injectIntl } from 'react-intl';
9
9
  import { v4 as uuid } from 'uuid';
10
10
  import Button from '@synerise/ds-button';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { Cell, GridPickerProps } from './GridPicker.types';
3
3
  export default class GridPicker extends React.PureComponent<GridPickerProps> {
4
4
  handleCellClick: (cell: Cell) => void;
@@ -2,7 +2,7 @@ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.crea
2
2
 
3
3
  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; }
4
4
 
5
- import * as React from 'react';
5
+ import React from 'react';
6
6
  import classNames from 'classnames';
7
7
  import * as S from './GridPicker.styles';
8
8
 
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  export type Cell = {
3
3
  disabled?: boolean;
4
4
  key: React.ReactText;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { MonthPickerProps } from './MonthPicker.types';
3
3
  declare const _default: React.ForwardRefExoticComponent<import("react-intl").Omit<MonthPickerProps, "intl"> & {
4
4
  forwardedRef?: React.Ref<any> | undefined;
@@ -2,7 +2,7 @@ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.crea
2
2
 
3
3
  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; }
4
4
 
5
- import * as React from 'react';
5
+ import React from 'react';
6
6
  import { injectIntl } from 'react-intl';
7
7
  import { range } from 'lodash';
8
8
  import { legacyParse } from '@date-fns/upgrade/v2';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { NavbarProps } from './Navbar.types';
3
3
  declare const Navbar: React.FC<NavbarProps>;
4
4
  export default Navbar;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { v4 as uuid } from 'uuid';
3
3
  import Icon, { AngleLeftS, AngleRightS, DoubleAngleLeftS, DoubleAngleRightS } from '@synerise/ds-icon';
4
4
  import * as S from './Navbar.styles';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  export type NavbarProps = {
3
3
  title?: React.ReactNode | React.ReactText;
4
4
  hidePrev?: boolean;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { YearPickerProps, YearPickerState } from './YearPicker.types';
3
3
  export default class YearPicker extends React.PureComponent<YearPickerProps, YearPickerState> {
4
4
  state: YearPickerState;
@@ -2,7 +2,7 @@ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.crea
2
2
 
3
3
  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; }
4
4
 
5
- import * as React from 'react';
5
+ import React from 'react';
6
6
  import { legacyParse } from '@date-fns/upgrade/v2';
7
7
  import fnsFormat from '../../format';
8
8
  import DecadePicker from '../DecadePicker/DecadePicker';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-date-picker",
3
- "version": "0.11.16",
3
+ "version": "0.11.17",
4
4
  "description": "DatePicker UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -34,17 +34,17 @@
34
34
  "types": "dist/index.d.ts",
35
35
  "dependencies": {
36
36
  "@date-fns/upgrade": "^1.0.3",
37
- "@synerise/ds-button": "^0.21.10",
38
- "@synerise/ds-data-format": "^0.5.2",
39
- "@synerise/ds-dropdown": "^0.18.14",
40
- "@synerise/ds-icon": "^0.65.5",
41
- "@synerise/ds-input": "^0.24.4",
42
- "@synerise/ds-time-picker": "^0.10.24",
43
- "@synerise/ds-tooltip": "^0.14.40",
44
- "@synerise/ds-utils": "^0.29.2",
37
+ "@synerise/ds-button": "^0.21.11",
38
+ "@synerise/ds-data-format": "^0.5.3",
39
+ "@synerise/ds-dropdown": "^0.18.15",
40
+ "@synerise/ds-icon": "^0.65.6",
41
+ "@synerise/ds-input": "^0.24.5",
42
+ "@synerise/ds-time-picker": "^0.10.25",
43
+ "@synerise/ds-tooltip": "^0.14.41",
44
+ "@synerise/ds-utils": "^0.29.3",
45
45
  "classnames": "2.3.2",
46
46
  "date-fns": "2.16.1",
47
- "lodash": "^4.17.20",
47
+ "lodash": "^4.17.21",
48
48
  "react-day-picker": "^7.4.8",
49
49
  "react-intl": "3.12.0",
50
50
  "uuid": "^8.3.2"
@@ -55,5 +55,5 @@
55
55
  "react": ">=16.9.0 <= 17.0.2",
56
56
  "styled-components": "5.0.1"
57
57
  },
58
- "gitHead": "6f3231e4a9e0720ffee61b748488cecd590da6e6"
58
+ "gitHead": "ae3c38b44ca0f9071cd55f7b82c182a99b5710e8"
59
59
  }