@ray-js/lamp-style-slider 0.0.4 → 0.0.5
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/lib/index.js +2 -2
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
|
2
2
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
3
3
|
import React, { useRef, useState, useEffect } from 'react';
|
|
4
4
|
import { View, Text } from '@ray-js/ray';
|
|
5
|
-
import Slider from '@ray-js/components-ty-slider/lib/
|
|
5
|
+
import Slider from '@ray-js/components-ty-slider/lib/SjsSlider';
|
|
6
6
|
import { toStyle } from '@ray-js/components-ty-slider';
|
|
7
7
|
import { useDebounceFn, useThrottleFn } from 'ahooks';
|
|
8
8
|
import { formatPercent } from './utils';
|
|
@@ -108,7 +108,7 @@ function OpacitySlider(props) {
|
|
|
108
108
|
disable: disable,
|
|
109
109
|
end: controllerValue - min,
|
|
110
110
|
step: 1,
|
|
111
|
-
enableTouch:
|
|
111
|
+
enableTouch: enableTouch,
|
|
112
112
|
bindstart: _ref => {
|
|
113
113
|
let {
|
|
114
114
|
detail
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ray-js/lamp-style-slider",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"description": "照明样式的基础滑动条",
|
|
5
5
|
"main": "lib/index",
|
|
6
6
|
"files": [
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
]
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@ray-js/components-ty-slider": "^0.2.
|
|
62
|
+
"@ray-js/components-ty-slider": "^0.2.40"
|
|
63
63
|
},
|
|
64
64
|
"maintainers": [
|
|
65
65
|
{
|