@synerise/ds-slider 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
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-slider@1.0.5...@synerise/ds-slider@1.0.6) (2025-04-24)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-slider
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [1.0.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-slider@1.0.4...@synerise/ds-slider@1.0.5) (2025-04-16)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @synerise/ds-slider
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [1.0.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-slider@1.0.3...@synerise/ds-slider@1.0.4) (2025-04-02)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @synerise/ds-slider
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var _excluded = ["allocationConfig", "tracksColorMap", "description", "tipFormatter", "handlers"];
|
|
2
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
3
|
-
function _objectWithoutPropertiesLoose(
|
|
2
|
+
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); }
|
|
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, { useState, useEffect, useMemo } from 'react';
|
|
5
5
|
import { useIntl } from 'react-intl';
|
|
6
6
|
import Tooltip from '@synerise/ds-tooltip';
|
|
@@ -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 from 'react';
|
|
3
3
|
import Tooltip from '@synerise/ds-tooltip';
|
|
4
4
|
import * as S from './BlockedHandlerWthTooltip.styles';
|
package/dist/Slider.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var _excluded = ["useColorPalette", "label", "inverted", "getTooltipPopupContainer", "tracksColorMap", "type", "thickness", "description", "tipFormatter", "allocationConfig", "hideMinAndMaxMarks", "disabled", "max", "min", "value", "range"];
|
|
2
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
3
|
-
function _objectWithoutPropertiesLoose(
|
|
2
|
+
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); }
|
|
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 { Label } from '@synerise/ds-typography';
|
|
6
6
|
import '@synerise/ds-core/dist/js/style';
|
package/dist/Slider.types.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export var SliderTypes
|
|
2
|
-
(function (SliderTypes) {
|
|
1
|
+
export var SliderTypes = /*#__PURE__*/function (SliderTypes) {
|
|
3
2
|
SliderTypes["ALLOCATION"] = "allocation";
|
|
4
3
|
SliderTypes["DEFAULT"] = "default";
|
|
5
|
-
|
|
4
|
+
return SliderTypes;
|
|
5
|
+
}({});
|
|
@@ -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
|
export var countControlGroupAllocation = function countControlGroupAllocation(userAllocation) {
|
|
3
3
|
return 100 - userAllocation.reduce(function (prev, curr) {
|
|
4
4
|
return prev + curr;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-slider",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Slider UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
],
|
|
35
35
|
"types": "dist/index.d.ts",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@synerise/ds-tooltip": "^1.1.
|
|
38
|
-
"@synerise/ds-typography": "^1.0.
|
|
37
|
+
"@synerise/ds-tooltip": "^1.1.5",
|
|
38
|
+
"@synerise/ds-typography": "^1.0.6",
|
|
39
39
|
"@synerise/ds-utils": "^1.0.1"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"react-intl": ">=3.12.0 <= 6.8",
|
|
46
46
|
"styled-components": "^5.3.3"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "fc601270d3c84a5a52b62473a01f1b3c1c7014a7"
|
|
49
49
|
}
|