@synerise/ds-tabs 1.0.4 → 1.0.6
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 +16 -0
- package/dist/Tab/Tab.js +1 -1
- package/dist/Tabs.js +3 -3
- package/package.json +7 -7
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.0.6](https://github.com/synerise/synerise-design/compare/@synerise/ds-tabs@1.0.5...@synerise/ds-tabs@1.0.6) (2025-04-24)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-tabs
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [1.0.5](https://github.com/synerise/synerise-design/compare/@synerise/ds-tabs@1.0.4...@synerise/ds-tabs@1.0.5) (2025-04-16)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @synerise/ds-tabs
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [1.0.4](https://github.com/synerise/synerise-design/compare/@synerise/ds-tabs@1.0.3...@synerise/ds-tabs@1.0.4) (2025-04-02)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @synerise/ds-tabs
|
package/dist/Tab/Tab.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
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, { useState } from 'react';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import Icon from '@synerise/ds-icon';
|
package/dist/Tabs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _excluded = ["ref"],
|
|
2
2
|
_excluded2 = ["ref"];
|
|
3
|
-
function _objectWithoutPropertiesLoose(
|
|
4
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
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
|
+
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); }
|
|
5
5
|
import React, { useCallback, createRef, useMemo, useState, useRef, useEffect } from 'react';
|
|
6
6
|
import { debounce } from 'lodash';
|
|
7
7
|
import { theme } from '@synerise/ds-core';
|
|
@@ -63,7 +63,7 @@ var Tabs = function Tabs(_ref) {
|
|
|
63
63
|
useEffect(function () {
|
|
64
64
|
var newTabs = tabs.map(function (tab) {
|
|
65
65
|
return _extends({}, tab, {
|
|
66
|
-
ref: createRef()
|
|
66
|
+
ref: /*#__PURE__*/createRef()
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
setItems(newTabs);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-tabs",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Tabs UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "synerise/synerise-design",
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
],
|
|
35
35
|
"types": "dist/index.d.ts",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@synerise/ds-button": "^1.1.
|
|
38
|
-
"@synerise/ds-dropdown": "^1.0.
|
|
39
|
-
"@synerise/ds-icon": "^1.
|
|
40
|
-
"@synerise/ds-menu": "^1.0.
|
|
41
|
-
"@synerise/ds-typography": "^1.0.
|
|
37
|
+
"@synerise/ds-button": "^1.1.5",
|
|
38
|
+
"@synerise/ds-dropdown": "^1.0.6",
|
|
39
|
+
"@synerise/ds-icon": "^1.4.1",
|
|
40
|
+
"@synerise/ds-menu": "^1.0.6",
|
|
41
|
+
"@synerise/ds-typography": "^1.0.6",
|
|
42
42
|
"@synerise/ds-utils": "^1.0.1",
|
|
43
43
|
"classnames": "2.3.2",
|
|
44
44
|
"lodash": "^4.17.21"
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"react": ">=16.9.0 <= 18.3.1",
|
|
50
50
|
"styled-components": "^5.3.3"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "fc601270d3c84a5a52b62473a01f1b3c1c7014a7"
|
|
53
53
|
}
|