@aloudata/aloudata-design 2.7.7 → 2.8.0
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/dist/Slider/index.d.ts +5 -0
- package/dist/Slider/index.js +10 -0
- package/dist/Slider/style/index.d.ts +2 -0
- package/dist/Slider/style/index.js +2 -0
- package/dist/Slider/style/index.less +15 -0
- package/dist/Steps/style/index.less +2 -2
- package/dist/ald.min.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.less +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
|
|
2
|
+
import { Slider as AntdSlider } from 'antd';
|
|
3
|
+
import classnames from 'classnames';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
function Slider(props) {
|
|
6
|
+
return /*#__PURE__*/React.createElement(AntdSlider, _extends({}, props, {
|
|
7
|
+
className: classnames('ald-slider', props.className)
|
|
8
|
+
}));
|
|
9
|
+
}
|
|
10
|
+
export default Slider;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@import '../../style/index.less';
|
|
2
|
+
|
|
3
|
+
.ald-slider.ald-slider.ant-slider {
|
|
4
|
+
.ant-slider-rail {
|
|
5
|
+
background-color: #d1d5db;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.ant-slider-track {
|
|
9
|
+
background-color: #126fdd;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.ant-slider-handle::after {
|
|
13
|
+
box-shadow: 0 0 0 2px #126fdd;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -114,9 +114,9 @@
|
|
|
114
114
|
}
|
|
115
115
|
// 等待中step
|
|
116
116
|
&.ant-steps-item-wait {
|
|
117
|
-
.ant-steps-item-container {
|
|
117
|
+
.ant-steps-item-container[class] {
|
|
118
118
|
.ant-steps-item-tail::after {
|
|
119
|
-
background-color: #
|
|
119
|
+
background-color: #e5e7eb;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
.ant-steps-item-content {
|