@synerise/ds-utils 0.29.2 → 0.29.4

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
+ ## [0.29.4](https://github.com/synerise/synerise-design/compare/@synerise/ds-utils@0.29.3...@synerise/ds-utils@0.29.4) (2024-09-26)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-utils
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.29.3](https://github.com/synerise/synerise-design/compare/@synerise/ds-utils@0.29.2...@synerise/ds-utils@0.29.3) (2024-09-17)
15
+
16
+ **Note:** Version bump only for package @synerise/ds-utils
17
+
18
+
19
+
20
+
21
+
6
22
  ## [0.29.2](https://github.com/synerise/synerise-design/compare/@synerise/ds-utils@0.29.1...@synerise/ds-utils@0.29.2) (2024-09-13)
7
23
 
8
24
 
@@ -1,3 +1,3 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  declare function doubleClickListener<T extends any>(onClick: (e: React.SyntheticEvent<T>) => void, onDblClick: (e: React.SyntheticEvent<T>) => void, delay?: number): React.ReactEventHandler<T>;
3
3
  export default doubleClickListener;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { RenderOptions, RenderResult } from '@testing-library/react';
3
3
  import { DataFormatNotationType } from '@synerise/ds-data-format';
4
4
  type Options = Omit<RenderOptions, 'queries'>;
@@ -6,7 +6,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
6
6
 
7
7
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
8
8
 
9
- import * as React from 'react';
9
+ import React from 'react';
10
10
  import { render } from '@testing-library/react';
11
11
  import { DSProvider } from '@synerise/ds-core';
12
12
  import { getDataFormatConfigFromNotation } from '@synerise/ds-data-format';
@@ -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 * as React from 'react';
7
+ import React from 'react';
8
8
  var BREAKPOINTS = {
9
9
  xxl: {
10
10
  max: Infinity,
@@ -1,3 +1,3 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  declare const useCombinedRefs: <T extends unknown>(...refs: React.Ref<T | null>[]) => React.MutableRefObject<T | null>;
3
3
  export default useCombinedRefs;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
 
3
3
  var useCombinedRefs = function useCombinedRefs() {
4
4
  for (var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++) {
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
 
3
3
  function usePrevious(value) {
4
4
  var ref = React.useRef();
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  type Dimensions = {
3
3
  width: number;
4
4
  height: number;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
 
3
3
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
4
4
  var useResize = function useResize(componentRef, visible) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-utils",
3
- "version": "0.29.2",
3
+ "version": "0.29.4",
4
4
  "description": "Utils UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "synerise/synerise-design",
@@ -24,7 +24,8 @@
24
24
  "pack:ci": "npm pack --pack-destination ../../portal/storybook-static/static",
25
25
  "prepublish": "npm run build",
26
26
  "test": "jest",
27
- "types": "tsc --noEmit"
27
+ "types": "tsc --noEmit",
28
+ "upgrade:ds": "ncu -f \"@synerise/ds-*\" -u"
28
29
  },
29
30
  "sideEffects": [
30
31
  "dist/style/*",
@@ -32,7 +33,7 @@
32
33
  ],
33
34
  "types": "dist/index.d.ts",
34
35
  "dependencies": {
35
- "@synerise/ds-data-format": "^0.5.2",
36
+ "@synerise/ds-data-format": "^0.5.4",
36
37
  "latinize": "^0.5.0"
37
38
  },
38
39
  "peerDependencies": {
@@ -40,5 +41,5 @@
40
41
  "react": ">=16.9.0 <= 17.0.2",
41
42
  "styled-components": "5.0.1"
42
43
  },
43
- "gitHead": "6f3231e4a9e0720ffee61b748488cecd590da6e6"
44
+ "gitHead": "fc06bd0f13401a57329fb92985b735de33108dbc"
44
45
  }