@synerise/ds-sidebar 0.5.33 → 0.5.35

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.5.35](https://github.com/Synerise/synerise-design/compare/@synerise/ds-sidebar@0.5.34...@synerise/ds-sidebar@0.5.35) (2024-09-26)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-sidebar
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.5.34](https://github.com/Synerise/synerise-design/compare/@synerise/ds-sidebar@0.5.33...@synerise/ds-sidebar@0.5.34) (2024-09-17)
15
+
16
+ **Note:** Version bump only for package @synerise/ds-sidebar
17
+
18
+
19
+
20
+
21
+
6
22
  ## [0.5.33](https://github.com/Synerise/synerise-design/compare/@synerise/ds-sidebar@0.5.32...@synerise/ds-sidebar@0.5.33) (2024-09-13)
7
23
 
8
24
  **Note:** Version bump only for package @synerise/ds-sidebar
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { PanelProps } from '../Sidebar.types';
3
3
  export declare const Panel: React.FC<PanelProps>;
4
4
  export default Panel;
@@ -10,7 +10,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
10
10
 
11
11
  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; }
12
12
 
13
- import * as React from 'react';
13
+ import React from 'react';
14
14
  import { useDrag, useDrop } from 'react-dnd';
15
15
  import Icon, { DragHandleM } from '@synerise/ds-icon';
16
16
  import { theme } from '@synerise/ds-core';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { SidebarContextType } from './Sidebar.types';
3
3
  export declare const SidebarContext: React.Context<SidebarContextType | undefined>;
4
4
  export default SidebarContext;
@@ -1,3 +1,3 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  export var SidebarContext = React.createContext(undefined);
3
3
  export default SidebarContext;
package/dist/Sidebar.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import './style/index.less';
3
3
  import { Panel } from './Panel/Panel';
4
4
  import { SidebarProps } from './Sidebar.types';
package/dist/Sidebar.js CHANGED
@@ -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 "./style/index.css";
9
9
  import { theme } from '@synerise/ds-core';
10
10
  import Icon, { AngleDownS, AngleUpS } from '@synerise/ds-icon';
@@ -1,5 +1,5 @@
1
1
  import { CollapseProps } from 'antd/lib/collapse';
2
- import * as React from 'react';
2
+ import React from 'react';
3
3
  export declare const SidebarHandle: import("styled-components").StyledComponent<"div", any, {}, never>;
4
4
  export declare const SidebarHeader: import("styled-components").StyledComponent<"div", any, {}, never>;
5
5
  export declare const PanelWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { CollapseProps } from 'antd/lib/collapse';
3
3
  export type SidebarProps = CollapseProps & {
4
4
  children: React.ReactNode;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { SidebarWithButtonProps } from './SidebarWithButton.types';
3
3
  declare const SidebarWithButton: React.FC<SidebarWithButtonProps>;
4
4
  export default SidebarWithButton;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import Button from '@synerise/ds-button';
3
3
  import Icon, { AngleDownS } from '@synerise/ds-icon';
4
4
  import Dropdown from '@synerise/ds-dropdown';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-sidebar",
3
- "version": "0.5.33",
3
+ "version": "0.5.35",
4
4
  "description": "Sidebar UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -25,7 +25,8 @@
25
25
  "prepublish": "npm run build",
26
26
  "test": "jest",
27
27
  "test:watch": "npm run test -- --watchAll",
28
- "types": "tsc --noEmit"
28
+ "types": "tsc --noEmit",
29
+ "upgrade:ds": "ncu -f \"@synerise/ds-*\" -u"
29
30
  },
30
31
  "sideEffects": [
31
32
  "dist/style/*",
@@ -33,11 +34,11 @@
33
34
  ],
34
35
  "types": "dist/index.d.ts",
35
36
  "dependencies": {
36
- "@synerise/ds-button": "^0.21.10",
37
- "@synerise/ds-dropdown": "^0.18.14",
38
- "@synerise/ds-icon": "^0.65.5",
39
- "@synerise/ds-menu": "^0.19.14",
40
- "@synerise/ds-utils": "^0.29.2",
37
+ "@synerise/ds-button": "^0.21.12",
38
+ "@synerise/ds-dropdown": "^0.18.16",
39
+ "@synerise/ds-icon": "^0.65.7",
40
+ "@synerise/ds-menu": "^0.19.16",
41
+ "@synerise/ds-utils": "^0.29.4",
41
42
  "dnd-core": "10.0.2",
42
43
  "immutability-helper": "^3.0.1",
43
44
  "react-dnd": "^10.0.2",
@@ -49,5 +50,5 @@
49
50
  "react": ">=16.9.0 <= 17.0.2",
50
51
  "styled-components": "5.0.1"
51
52
  },
52
- "gitHead": "6f3231e4a9e0720ffee61b748488cecd590da6e6"
53
+ "gitHead": "fc06bd0f13401a57329fb92985b735de33108dbc"
53
54
  }