mirror of
https://github.com/wassname/slider.git
synced 2026-09-09 11:35:22 +08:00
Updates
This commit is contained in:
+17819
-16491
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -2,7 +2,7 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>custom-handles.js - example - rc-slider@3.7.3</title>
|
||||
<title>custom-handles.js - example - rc-slider@3.7.4</title>
|
||||
<meta name="viewport"
|
||||
content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
|
||||
<meta charset="utf-8"/>
|
||||
@@ -257,7 +257,7 @@ Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-lic
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<h1>rc-slider@3.7.3</h1>
|
||||
<h1>rc-slider@3.7.4</h1>
|
||||
|
||||
<p>slider ui component for react</p>
|
||||
</div>
|
||||
|
||||
@@ -14,8 +14,8 @@ webpackJsonp([0],[
|
||||
__webpack_require__(2);
|
||||
|
||||
var React = __webpack_require__(3);
|
||||
var ReactDOM = __webpack_require__(160);
|
||||
var Slider = __webpack_require__(161);
|
||||
var ReactDOM = __webpack_require__(35);
|
||||
var Slider = __webpack_require__(174);
|
||||
|
||||
var wrapperStyle = { width: 400, margin: 50 };
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"sources":["webpack:///./examples/custom-handles.js"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,oBAAO,CAAC,CAA6B,CAAC,CAAC;;AAEvC,KAAM,KAAK,GAAG,mBAAO,CAAC,CAAO,CAAC,CAAC;AAC/B,KAAM,QAAQ,GAAG,mBAAO,CAAC,GAAW,CAAC,CAAC;AACtC,KAAM,MAAM,GAAG,mBAAO,CAAC,GAAW,CAAC,CAAC;;AAEpC,KAAM,YAAY,GAAG,EAAC,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,EAAC,CAAC;;AAE9C,KAAM,WAAW,GAAG;AAClB,WAAQ,EAAE,UAAU;AACpB,YAAS,EAAE,uBAAuB;AAClC,SAAM,EAAE,SAAS;AACjB,UAAO,EAAE,KAAK;AACd,SAAM,EAAE,mBAAmB;AAC3B,eAAY,EAAE,KAAK;AACnB,aAAU,EAAE,MAAM;AAClB,WAAQ,EAAE,MAAM;AAChB,YAAS,EAAE,QAAQ;AACnB,SAAM,EAAE,CAAC;EACV,CAAC;;AAEF,KAAM,YAAY,GAAG,SAAf,YAAY,CAAG,KAAK,EAAI;AAC5B,OAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,EAAC,IAAI,EAAE,KAAK,CAAC,MAAM,GAAG,GAAG,EAAC,EAAE,WAAW,CAAC,CAAC;AACrE,UACE;;OAAK,KAAK,EAAE,KAAM;;KAAO,KAAK,CAAC,KAAK;IAAO,CAC3C;EACH,CAAC;AACF,aAAY,CAAC,SAAS,GAAG;AACvB,QAAK,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG;AAC1B,SAAM,EAAE,KAAK,CAAC,SAAS,CAAC,MAAM;EAC/B,CAAC;;AAEF,SAAQ,CAAC,MAAM,CACb;;;GACE;;OAAK,KAAK,EAAE,YAAa;KACvB;;;;MAAqB;KACrB,oBAAC,MAAM,IAAC,GAAG,EAAE,CAAE,EAAC,GAAG,EAAE,EAAG,EAAC,YAAY,EAAE,CAAE,GAAG;IACxC;GACN;;OAAK,KAAK,EAAE,YAAa;KACvB;;;;MAAgC;KAChC,oBAAC,MAAM,IAAC,GAAG,EAAE,CAAE,EAAC,GAAG,EAAE,EAAG,EAAC,YAAY,EAAE,CAAE,EAAC,MAAM,EAAE,oBAAC,YAAY,OAAI,GAAG;IAClE;EACF,EACJ,QAAQ,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC,C","file":"custom-handles.js","sourcesContent":["require('rc-slider/assets/index.less');\n\nconst React = require('react');\nconst ReactDOM = require('react-dom');\nconst Slider = require('rc-slider');\n\nconst wrapperStyle = {width: 400, margin: 50};\n\nconst handleStyle = {\n position: 'absolute',\n transform: 'translate(-50%, -50%)',\n cursor: 'pointer',\n padding: '2px',\n border: '2px solid #abe2fb',\n borderRadius: '3px',\n background: '#fff',\n fontSize: '14px',\n textAlign: 'center',\n zIndex: 3,\n};\n\nconst CustomHandle = props => {\n const style = Object.assign({left: props.offset + '%'}, handleStyle);\n return (\n <div style={style}>val: {props.value}</div>\n );\n};\nCustomHandle.propTypes = {\n value: React.PropTypes.any,\n offset: React.PropTypes.number,\n};\n\nReactDOM.render(\n <div>\n <div style={wrapperStyle}>\n <p>Default slider</p>\n <Slider min={0} max={20} defaultValue={3} />\n </div>\n <div style={wrapperStyle}>\n <p>Slider with custom handle</p>\n <Slider min={0} max={20} defaultValue={3} handle={<CustomHandle />} />\n </div>\n </div>\n , document.getElementById('__react-content'));\n\n\n\n/** WEBPACK FOOTER **\n ** ./examples/custom-handles.js\n **/"],"sourceRoot":""}
|
||||
{"version":3,"sources":["webpack:///./examples/custom-handles.js"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,oBAAO,CAAC,CAA6B,CAAC,CAAC;;AAEvC,KAAM,KAAK,GAAG,mBAAO,CAAC,CAAO,CAAC,CAAC;AAC/B,KAAM,QAAQ,GAAG,mBAAO,CAAC,EAAW,CAAC,CAAC;AACtC,KAAM,MAAM,GAAG,mBAAO,CAAC,GAAW,CAAC,CAAC;;AAEpC,KAAM,YAAY,GAAG,EAAC,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,EAAC,CAAC;;AAE9C,KAAM,WAAW,GAAG;AAClB,WAAQ,EAAE,UAAU;AACpB,YAAS,EAAE,uBAAuB;AAClC,SAAM,EAAE,SAAS;AACjB,UAAO,EAAE,KAAK;AACd,SAAM,EAAE,mBAAmB;AAC3B,eAAY,EAAE,KAAK;AACnB,aAAU,EAAE,MAAM;AAClB,WAAQ,EAAE,MAAM;AAChB,YAAS,EAAE,QAAQ;AACnB,SAAM,EAAE,CAAC;EACV,CAAC;;AAEF,KAAM,YAAY,GAAG,SAAf,YAAY,CAAG,KAAK,EAAI;AAC5B,OAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,EAAC,IAAI,EAAE,KAAK,CAAC,MAAM,GAAG,GAAG,EAAC,EAAE,WAAW,CAAC,CAAC;AACrE,UACE;;OAAK,KAAK,EAAE,KAAM;;KAAO,KAAK,CAAC,KAAK;IAAO,CAC3C;EACH,CAAC;AACF,aAAY,CAAC,SAAS,GAAG;AACvB,QAAK,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG;AAC1B,SAAM,EAAE,KAAK,CAAC,SAAS,CAAC,MAAM;EAC/B,CAAC;;AAEF,SAAQ,CAAC,MAAM,CACb;;;GACE;;OAAK,KAAK,EAAE,YAAa;KACvB;;;;MAAqB;KACrB,oBAAC,MAAM,IAAC,GAAG,EAAE,CAAE,EAAC,GAAG,EAAE,EAAG,EAAC,YAAY,EAAE,CAAE,GAAG;IACxC;GACN;;OAAK,KAAK,EAAE,YAAa;KACvB;;;;MAAgC;KAChC,oBAAC,MAAM,IAAC,GAAG,EAAE,CAAE,EAAC,GAAG,EAAE,EAAG,EAAC,YAAY,EAAE,CAAE,EAAC,MAAM,EAAE,oBAAC,YAAY,OAAI,GAAG;IAClE;EACF,EACJ,QAAQ,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC,C","file":"custom-handles.js","sourcesContent":["require('rc-slider/assets/index.less');\n\nconst React = require('react');\nconst ReactDOM = require('react-dom');\nconst Slider = require('rc-slider');\n\nconst wrapperStyle = {width: 400, margin: 50};\n\nconst handleStyle = {\n position: 'absolute',\n transform: 'translate(-50%, -50%)',\n cursor: 'pointer',\n padding: '2px',\n border: '2px solid #abe2fb',\n borderRadius: '3px',\n background: '#fff',\n fontSize: '14px',\n textAlign: 'center',\n zIndex: 3,\n};\n\nconst CustomHandle = props => {\n const style = Object.assign({left: props.offset + '%'}, handleStyle);\n return (\n <div style={style}>val: {props.value}</div>\n );\n};\nCustomHandle.propTypes = {\n value: React.PropTypes.any,\n offset: React.PropTypes.number,\n};\n\nReactDOM.render(\n <div>\n <div style={wrapperStyle}>\n <p>Default slider</p>\n <Slider min={0} max={20} defaultValue={3} />\n </div>\n <div style={wrapperStyle}>\n <p>Slider with custom handle</p>\n <Slider min={0} max={20} defaultValue={3} handle={<CustomHandle />} />\n </div>\n </div>\n , document.getElementById('__react-content'));\n\n\n\n/** WEBPACK FOOTER **\n ** ./examples/custom-handles.js\n **/"],"sourceRoot":""}
|
||||
+2
-2
@@ -2,7 +2,7 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>marks.js - example - rc-slider@3.7.3</title>
|
||||
<title>marks.js - example - rc-slider@3.7.4</title>
|
||||
<meta name="viewport"
|
||||
content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
|
||||
<meta charset="utf-8"/>
|
||||
@@ -257,7 +257,7 @@ Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-lic
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<h1>rc-slider@3.7.3</h1>
|
||||
<h1>rc-slider@3.7.4</h1>
|
||||
|
||||
<p>slider ui component for react</p>
|
||||
</div>
|
||||
|
||||
+4
-4
@@ -3,12 +3,12 @@ webpackJsonp([1],{
|
||||
/***/ 0:
|
||||
/***/ function(module, exports, __webpack_require__) {
|
||||
|
||||
module.exports = __webpack_require__(206);
|
||||
module.exports = __webpack_require__(218);
|
||||
|
||||
|
||||
/***/ },
|
||||
|
||||
/***/ 206:
|
||||
/***/ 218:
|
||||
/***/ function(module, exports, __webpack_require__) {
|
||||
|
||||
'use strict';
|
||||
@@ -16,8 +16,8 @@ webpackJsonp([1],{
|
||||
__webpack_require__(2);
|
||||
|
||||
var React = __webpack_require__(3);
|
||||
var ReactDOM = __webpack_require__(160);
|
||||
var Slider = __webpack_require__(161);
|
||||
var ReactDOM = __webpack_require__(35);
|
||||
var Slider = __webpack_require__(174);
|
||||
|
||||
var style = { width: 400, margin: 50 };
|
||||
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AChB;;;;MAA0C;KAC1C,oBAAC,MAAM,IAAC,GAAG,EAAE,CAAC,EAAG,EAAC,KAAK,EAAE,KAAM,EAAC,QAAQ,EAAE,KAAM,EAAC,YAAY,EAAE,EAAG,GAAG;IACjE;GACN;;OAAK,KAAK,EAAE,KAAM;KAChB;;;;MAAoD;KACpD,oBAAC,MAAM,IAAC,GAAG,EAAE,CAAC,EAAG,EAAC,KAAK,EAAE,KAAM,EAAC,IAAI,EAAE,EAAG,EAAC,QAAQ,EAAE,KAAM,EAAC,YAAY,EAAE,EAAG,GAAG;IAC3E;GAEN;;OAAK,KAAK,EAAE,KAAM;KAChB;;;;MAAuB;KACvB,oBAAC,MAAM,IAAC,GAAG,EAAE,CAAC,EAAG,EAAC,KAAK,QAAC,KAAK,EAAE,KAAM,EAAC,QAAQ,EAAE,GAAI,EAAC,YAAY,EAAE,CAAC,EAAE,EAAE,EAAE,CAAE,GAAG;IAC3E;GACN;;OAAK,KAAK,EAAE,KAAM;KAChB;;;;MAAiC;KACjC,oBAAC,MAAM,IAAC,GAAG,EAAE,CAAC,EAAG,EAAC,KAAK,QAAC,KAAK,EAAE,KAAM,EAAC,IAAI,EAAE,EAAG,EAAC,QAAQ,EAAE,GAAI,EAAC,YAAY,EAAE,CAAC,EAAE,EAAE,EAAE,CAAE,GAAG;IACrF;EACF,EACJ,QAAQ,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC,C","file":"marks.js","sourcesContent":["require('rc-slider/assets/index.less');\n\nconst React = require('react');\nconst ReactDOM = require('react-dom');\nconst Slider = require('rc-slider');\n\nconst style = {width: 400, margin: 50};\nconst marks = {\n '-10': '-10°C',\n 0: <strong>0°C</strong>,\n 26: '26°C',\n 37: '37°C',\n 50: '50°C',\n 100: {\n style: {\n color: 'red',\n },\n label: <strong>100°C</strong>,\n },\n};\n\nfunction log(value) {\n console.log(value);\n}\n\nReactDOM.render(\n <div>\n <div style={style}>\n <p>Slider with marks, `step=null`</p>\n <Slider min={-10} marks={marks} step={null} onChange={log} defaultValue={20} />\n </div>\n <div style={style}>\n <p>Slider with marks and steps</p>\n <Slider dots min={-10} marks={marks} step={10} onChange={log} defaultValue={20} />\n </div>\n\n <div style={style}>\n <p>Slider with marks, `included=false`</p>\n <Slider min={-10} marks={marks} included={false} defaultValue={20} />\n </div>\n <div style={style}>\n <p>Slider with marks and steps, `included=false`</p>\n <Slider min={-10} marks={marks} step={10} included={false} defaultValue={20} />\n </div>\n\n <div style={style}>\n <p>Range with marks</p>\n <Slider min={-10} range marks={marks} onChange={log} defaultValue={[20, 40]} />\n </div>\n <div style={style}>\n <p>Range with marks and steps</p>\n <Slider min={-10} range marks={marks} step={10} onChange={log} defaultValue={[20, 40]} />\n </div>\n </div>\n , document.getElementById('__react-content'));\n\n\n\n/** WEBPACK FOOTER **\n ** ./examples/marks.js\n **/"],"sourceRoot":""}
|
||||
{"version":3,"sources":["webpack:///./examples/marks.js"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,oBAAO,CAAC,CAA6B,CAAC,CAAC;;AAEvC,KAAM,KAAK,GAAG,mBAAO,CAAC,CAAO,CAAC,CAAC;AAC/B,KAAM,QAAQ,GAAG,mBAAO,CAAC,EAAW,CAAC,CAAC;AACtC,KAAM,MAAM,GAAG,mBAAO,CAAC,GAAW,CAAC,CAAC;;AAEpC,KAAM,KAAK,GAAG,EAAC,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,EAAC,CAAC;AACvC,KAAM,KAAK,GAAG;AACZ,QAAK,EAAE,OAAO;AACd,IAAC,EAAE;;;;IAAoB;AACvB,KAAE,EAAE,MAAM;AACV,KAAE,EAAE,MAAM;AACV,KAAE,EAAE,MAAM;AACV,MAAG,EAAE;AACH,UAAK,EAAE;AACL,YAAK,EAAE,KAAK;MACb;AACD,UAAK,EAAE;;;;MAAsB;IAC9B;EACF,CAAC;;AAEF,UAAS,GAAG,CAAC,KAAK,EAAE;AAClB,UAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAA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G,EAAC,QAAQ,EAAE,GAAI,EAAC,YAAY,EAAE,CAAC,EAAE,EAAE,EAAE,CAAE,GAAG;IACrF;EACF,EACJ,QAAQ,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC,C","file":"marks.js","sourcesContent":["require('rc-slider/assets/index.less');\n\nconst React = require('react');\nconst ReactDOM = require('react-dom');\nconst Slider = require('rc-slider');\n\nconst style = {width: 400, margin: 50};\nconst marks = {\n '-10': '-10°C',\n 0: <strong>0°C</strong>,\n 26: '26°C',\n 37: '37°C',\n 50: '50°C',\n 100: {\n style: {\n color: 'red',\n },\n label: <strong>100°C</strong>,\n },\n};\n\nfunction log(value) {\n console.log(value);\n}\n\nReactDOM.render(\n <div>\n <div style={style}>\n <p>Slider with marks, `step=null`</p>\n <Slider min={-10} marks={marks} step={null} onChange={log} defaultValue={20} />\n </div>\n <div style={style}>\n <p>Slider with marks and steps</p>\n <Slider dots min={-10} marks={marks} step={10} onChange={log} defaultValue={20} />\n </div>\n\n <div style={style}>\n <p>Slider with marks, `included=false`</p>\n <Slider min={-10} marks={marks} included={false} defaultValue={20} />\n </div>\n <div style={style}>\n <p>Slider with marks and steps, `included=false`</p>\n <Slider min={-10} marks={marks} step={10} included={false} defaultValue={20} />\n </div>\n\n <div style={style}>\n <p>Range with marks</p>\n <Slider min={-10} range marks={marks} onChange={log} defaultValue={[20, 40]} />\n </div>\n <div style={style}>\n <p>Range with marks and steps</p>\n <Slider min={-10} range marks={marks} step={10} onChange={log} defaultValue={[20, 40]} />\n </div>\n </div>\n , document.getElementById('__react-content'));\n\n\n\n/** WEBPACK FOOTER **\n ** ./examples/marks.js\n **/"],"sourceRoot":""}
|
||||
+2
-2
@@ -2,7 +2,7 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>range.js - example - rc-slider@3.7.3</title>
|
||||
<title>range.js - example - rc-slider@3.7.4</title>
|
||||
<meta name="viewport"
|
||||
content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
|
||||
<meta charset="utf-8"/>
|
||||
@@ -257,7 +257,7 @@ Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-lic
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<h1>rc-slider@3.7.3</h1>
|
||||
<h1>rc-slider@3.7.4</h1>
|
||||
|
||||
<p>slider ui component for react</p>
|
||||
</div>
|
||||
|
||||
+4
-4
@@ -3,12 +3,12 @@ webpackJsonp([2],{
|
||||
/***/ 0:
|
||||
/***/ function(module, exports, __webpack_require__) {
|
||||
|
||||
module.exports = __webpack_require__(207);
|
||||
module.exports = __webpack_require__(219);
|
||||
|
||||
|
||||
/***/ },
|
||||
|
||||
/***/ 207:
|
||||
/***/ 219:
|
||||
/***/ function(module, exports, __webpack_require__) {
|
||||
|
||||
/* eslint react/no-multi-comp: 0 */
|
||||
@@ -17,8 +17,8 @@ webpackJsonp([2],{
|
||||
__webpack_require__(2);
|
||||
|
||||
var React = __webpack_require__(3);
|
||||
var ReactDOM = __webpack_require__(160);
|
||||
var Slider = __webpack_require__(161);
|
||||
var ReactDOM = __webpack_require__(35);
|
||||
var Slider = __webpack_require__(174);
|
||||
|
||||
var style = { width: 400, margin: 50 };
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -2,7 +2,7 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>slider.js - example - rc-slider@3.7.3</title>
|
||||
<title>slider.js - example - rc-slider@3.7.4</title>
|
||||
<meta name="viewport"
|
||||
content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
|
||||
<meta charset="utf-8"/>
|
||||
@@ -257,7 +257,7 @@ Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-lic
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<h1>rc-slider@3.7.3</h1>
|
||||
<h1>rc-slider@3.7.4</h1>
|
||||
|
||||
<p>slider ui component for react</p>
|
||||
</div>
|
||||
|
||||
+4
-4
@@ -3,12 +3,12 @@ webpackJsonp([3],{
|
||||
/***/ 0:
|
||||
/***/ function(module, exports, __webpack_require__) {
|
||||
|
||||
module.exports = __webpack_require__(208);
|
||||
module.exports = __webpack_require__(220);
|
||||
|
||||
|
||||
/***/ },
|
||||
|
||||
/***/ 208:
|
||||
/***/ 220:
|
||||
/***/ function(module, exports, __webpack_require__) {
|
||||
|
||||
/* eslint react/no-multi-comp: 0 */
|
||||
@@ -17,8 +17,8 @@ webpackJsonp([3],{
|
||||
__webpack_require__(2);
|
||||
|
||||
var React = __webpack_require__(3);
|
||||
var ReactDOM = __webpack_require__(160);
|
||||
var Slider = __webpack_require__(161);
|
||||
var ReactDOM = __webpack_require__(35);
|
||||
var Slider = __webpack_require__(174);
|
||||
|
||||
var style = { width: 400, margin: 50 };
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -2,7 +2,7 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>v-marks.js - example - rc-slider@3.7.3</title>
|
||||
<title>v-marks.js - example - rc-slider@3.7.4</title>
|
||||
<meta name="viewport"
|
||||
content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
|
||||
<meta charset="utf-8"/>
|
||||
@@ -257,7 +257,7 @@ Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-lic
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<h1>rc-slider@3.7.3</h1>
|
||||
<h1>rc-slider@3.7.4</h1>
|
||||
|
||||
<p>slider ui component for react</p>
|
||||
</div>
|
||||
|
||||
+4
-4
@@ -3,12 +3,12 @@ webpackJsonp([4],{
|
||||
/***/ 0:
|
||||
/***/ function(module, exports, __webpack_require__) {
|
||||
|
||||
module.exports = __webpack_require__(209);
|
||||
module.exports = __webpack_require__(221);
|
||||
|
||||
|
||||
/***/ },
|
||||
|
||||
/***/ 209:
|
||||
/***/ 221:
|
||||
/***/ function(module, exports, __webpack_require__) {
|
||||
|
||||
'use strict';
|
||||
@@ -16,8 +16,8 @@ webpackJsonp([4],{
|
||||
__webpack_require__(2);
|
||||
|
||||
var React = __webpack_require__(3);
|
||||
var ReactDOM = __webpack_require__(160);
|
||||
var Slider = __webpack_require__(161);
|
||||
var ReactDOM = __webpack_require__(35);
|
||||
var Slider = __webpack_require__(174);
|
||||
|
||||
var style = { float: 'left', width: 160, height: 400, marginBottom: 160, marginLeft: 50 };
|
||||
var parentStyle = { overflow: 'hidden' };
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"sources":["webpack:///./examples/v-marks.js"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,oBAAO,CAAC,CAA6B,CAAC,CAAC;;AAEvC,KAAM,KAAK,GAAG,mBAAO,CAAC,CAAO,CAAC,CAAC;AAC/B,KAAM,QAAQ,GAAG,mBAAO,CAAC,GAAW,CAAC,CAAC;AACtC,KAAM,MAAM,GAAG,mBAAO,CAAC,GAAW,CAAC,CAAC;;AAEpC,KAAM,KAAK,GAAG,EAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,YAAY,EAAE,GAAG,EAAE,UAAU,EAAE,EAAE,EAAC,CAAC;AAC1F,KAAM,WAAW,GAAG,EAAC,QAAQ,EAAE,QAAQ,EAAC,CAAC;;AAEzC,KAAM,KAAK,GAAG;AACZ,QAAK,EAAE,OAAO;AACd,IAAC,EAAE;;;;IAAoB;AACvB,KAAE,EAAE,MAAM;AACV,KAAE,EAAE,MAAM;AACV,KAAE,EAAE,MAAM;AACV,MAAG,EAAE;AACH,UAAK,EAAE;AACL,YAAK,EAAE,KAAK;MACb;AACD,UAAK,EAAE;;;;MAAsB;IAC9B;EACF,CAAC;;AAEF,UAAS,GAAG,CAAC,KAAK,EAAE;AAClB,UAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;EACpB;;AAED,SAAQ,CAAC,MAAM,CACb;;KAAK,KAAK,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AAC,KAAK,EAAE,KAAM,EAAC,IAAI,EAAE,EAAG,EAAC,QAAQ,EAAE,GAAI,EAAC,YAAY,EAAE,CAAC,EAAE,EAAE,EAAE,CAAE,GAAG;IAC9F;EACF,EACJ,QAAQ,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC,C","file":"v-marks.js","sourcesContent":["require('rc-slider/assets/index.less');\n\nconst React = require('react');\nconst ReactDOM = require('react-dom');\nconst Slider = require('rc-slider');\n\nconst style = {float: 'left', width: 160, height: 400, marginBottom: 160, marginLeft: 50};\nconst parentStyle = {overflow: 'hidden'};\n\nconst marks = {\n '-10': '-10°C',\n 0: <strong>0°C</strong>,\n 26: '26°C',\n 37: '37°C',\n 50: '50°C',\n 100: {\n style: {\n color: 'red',\n },\n label: <strong>100°C</strong>,\n },\n};\n\nfunction log(value) {\n console.log(value);\n}\n\nReactDOM.render(\n <div style={parentStyle}>\n <div style={style}>\n <p>Slider with marks, `step=null`</p>\n <Slider vertical min={-10} marks={marks} step={null} onChange={log} defaultValue={20} />\n </div>\n <div style={style}>\n <p>Slider with marks and steps</p>\n <Slider vertical dots min={-10} marks={marks} step={10} onChange={log} defaultValue={20} />\n </div>\n <div style={style}>\n <p>Slider with marks, `included=false`</p>\n <Slider vertical min={-10} marks={marks} included={false} defaultValue={20} />\n </div>\n <div style={style}>\n <p>Slider with marks and steps, `included=false`</p>\n <Slider vertical min={-10} marks={marks} step={10} included={false} defaultValue={20} />\n </div>\n <div style={style}>\n <p>Range with marks</p>\n <Slider vertical min={-10} range marks={marks} onChange={log} defaultValue={[20, 40]} />\n </div>\n <div style={style}>\n <p>Range with marks and steps</p>\n <Slider vertical min={-10} range marks={marks} step={10} onChange={log} defaultValue={[20, 40]} />\n </div>\n </div>\n , document.getElementById('__react-content'));\n\n\n\n/** WEBPACK FOOTER **\n ** ./examples/v-marks.js\n **/"],"sourceRoot":""}
|
||||
{"version":3,"sources":["webpack:///./examples/v-marks.js"],"names":[],"mappings":";;;;;;;;;;;;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QAAQ,EAAE,GAAI,EAAC,YAAY,EAAE,EAAG,GAAG;IACvF;GACN;;OAAK,KAAK,EAAE,KAAM;KAChB;;;;MAA0C;KAC1C,oBAAC,MAAM,IAAC,QAAQ,QAAC,GAAG,EAAE,CAAC,EAAG,EAAC,KAAK,EAAE,KAAM,EAAC,QAAQ,EAAE,KAAM,EAAC,YAAY,EAAE,EAAG,GAAG;IAC1E;GACN;;OAAK,KAAK,EAAE,KAAM;KAChB;;;;MAAoD;KACpD,oBAAC,MAAM,IAAC,QAAQ,QAAC,GAAG,EAAE,CAAC,EAAG,EAAC,KAAK,EAAE,KAAM,EAAC,IAAI,EAAE,EAAG,EAAC,QAAQ,EAAE,KAAM,EAAC,YAAY,EAAE,EAAG,GAAG;IACpF;GACN;;OAAK,KAAK,EAAE,KAAM;KAChB;;;;MAAuB;KACvB,oBAAC,MAAM,IAAC,QAAQ,QAAC,GAAG,EAAE,CAAC,EAAG,EAAC,KAAK,QAAC,KAAK,EAAE,KAAM,EAAC,QAAQ,EAAE,GAAI,EAAC,YAAY,EAAE,CAAC,EAAE,EAAE,EAAE,CAAE,GAAG;IACpF;GACN;;OAAK,KAAK,EAAE,KAAM;KAChB;;;;MAAiC;KACjC,oBAAC,MAAM,IAAC,QAAQ,QAAC,GAAG,EAAE,CAAC,EAAG,EAAC,KAAK,QAAC,KAAK,EAAE,KAAM,EAAC,IAAI,EAAE,EAAG,EAAC,QAAQ,EAAE,GAAI,EAAC,YAAY,EAAE,CAAC,EAAE,EAAE,EAAE,CAAE,GAAG;IAC9F;EACF,EACJ,QAAQ,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC,C","file":"v-marks.js","sourcesContent":["require('rc-slider/assets/index.less');\n\nconst React = require('react');\nconst ReactDOM = require('react-dom');\nconst Slider = require('rc-slider');\n\nconst style = {float: 'left', width: 160, height: 400, marginBottom: 160, marginLeft: 50};\nconst parentStyle = {overflow: 'hidden'};\n\nconst marks = {\n '-10': '-10°C',\n 0: <strong>0°C</strong>,\n 26: '26°C',\n 37: '37°C',\n 50: '50°C',\n 100: {\n style: {\n color: 'red',\n },\n label: <strong>100°C</strong>,\n },\n};\n\nfunction log(value) {\n console.log(value);\n}\n\nReactDOM.render(\n <div style={parentStyle}>\n <div style={style}>\n <p>Slider with marks, `step=null`</p>\n <Slider vertical min={-10} marks={marks} step={null} onChange={log} defaultValue={20} />\n </div>\n <div style={style}>\n <p>Slider with marks and steps</p>\n <Slider vertical dots min={-10} marks={marks} step={10} onChange={log} defaultValue={20} />\n </div>\n <div style={style}>\n <p>Slider with marks, `included=false`</p>\n <Slider vertical min={-10} marks={marks} included={false} defaultValue={20} />\n </div>\n <div style={style}>\n <p>Slider with marks and steps, `included=false`</p>\n <Slider vertical min={-10} marks={marks} step={10} included={false} defaultValue={20} />\n </div>\n <div style={style}>\n <p>Range with marks</p>\n <Slider vertical min={-10} range marks={marks} onChange={log} defaultValue={[20, 40]} />\n </div>\n <div style={style}>\n <p>Range with marks and steps</p>\n <Slider vertical min={-10} range marks={marks} step={10} onChange={log} defaultValue={[20, 40]} />\n </div>\n </div>\n , document.getElementById('__react-content'));\n\n\n\n/** WEBPACK FOOTER **\n ** ./examples/v-marks.js\n **/"],"sourceRoot":""}
|
||||
@@ -2,7 +2,7 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>v-range.js - example - rc-slider@3.7.3</title>
|
||||
<title>v-range.js - example - rc-slider@3.7.4</title>
|
||||
<meta name="viewport"
|
||||
content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
|
||||
<meta charset="utf-8"/>
|
||||
@@ -257,7 +257,7 @@ Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-lic
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<h1>rc-slider@3.7.3</h1>
|
||||
<h1>rc-slider@3.7.4</h1>
|
||||
|
||||
<p>slider ui component for react</p>
|
||||
</div>
|
||||
|
||||
+4
-4
@@ -3,12 +3,12 @@ webpackJsonp([5],{
|
||||
/***/ 0:
|
||||
/***/ function(module, exports, __webpack_require__) {
|
||||
|
||||
module.exports = __webpack_require__(210);
|
||||
module.exports = __webpack_require__(222);
|
||||
|
||||
|
||||
/***/ },
|
||||
|
||||
/***/ 210:
|
||||
/***/ 222:
|
||||
/***/ function(module, exports, __webpack_require__) {
|
||||
|
||||
/* eslint react/no-multi-comp: 0 */
|
||||
@@ -17,8 +17,8 @@ webpackJsonp([5],{
|
||||
__webpack_require__(2);
|
||||
|
||||
var React = __webpack_require__(3);
|
||||
var ReactDOM = __webpack_require__(160);
|
||||
var Slider = __webpack_require__(161);
|
||||
var ReactDOM = __webpack_require__(35);
|
||||
var Slider = __webpack_require__(174);
|
||||
|
||||
var style = { float: 'left', width: 180, height: 400, marginBottom: 160, marginLeft: 50 };
|
||||
var parentStyle = { overflow: 'hidden' };
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -2,7 +2,7 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>v-slider.js - example - rc-slider@3.7.3</title>
|
||||
<title>v-slider.js - example - rc-slider@3.7.4</title>
|
||||
<meta name="viewport"
|
||||
content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
|
||||
<meta charset="utf-8"/>
|
||||
@@ -257,7 +257,7 @@ Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-lic
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<h1>rc-slider@3.7.3</h1>
|
||||
<h1>rc-slider@3.7.4</h1>
|
||||
|
||||
<p>slider ui component for react</p>
|
||||
</div>
|
||||
|
||||
@@ -3,12 +3,12 @@ webpackJsonp([6],{
|
||||
/***/ 0:
|
||||
/***/ function(module, exports, __webpack_require__) {
|
||||
|
||||
module.exports = __webpack_require__(211);
|
||||
module.exports = __webpack_require__(223);
|
||||
|
||||
|
||||
/***/ },
|
||||
|
||||
/***/ 211:
|
||||
/***/ 223:
|
||||
/***/ function(module, exports, __webpack_require__) {
|
||||
|
||||
/* eslint react/no-multi-comp: 0 */
|
||||
@@ -17,8 +17,8 @@ webpackJsonp([6],{
|
||||
__webpack_require__(2);
|
||||
|
||||
var React = __webpack_require__(3);
|
||||
var ReactDOM = __webpack_require__(160);
|
||||
var Slider = __webpack_require__(161);
|
||||
var ReactDOM = __webpack_require__(35);
|
||||
var Slider = __webpack_require__(174);
|
||||
|
||||
var style = { float: 'left', width: 200, height: 400, marginBottom: 160, marginLeft: 50 };
|
||||
var parentStyle = { overflow: 'hidden' };
|
||||
|
||||
File diff suppressed because one or more lines are too long
+2
-2
@@ -7,7 +7,7 @@
|
||||
<meta charset="utf-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<link href="//cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.css" rel="stylesheet"/>
|
||||
<title>rc-slider@3.7.3 - slider ui component for react</title>
|
||||
<title>rc-slider@3.7.4 - slider ui component for react</title>
|
||||
<style>
|
||||
@font-face {
|
||||
font-family: octicons-anchor;
|
||||
@@ -737,7 +737,7 @@
|
||||
|
||||
<body>
|
||||
<div class="header">
|
||||
<h1>rc-slider@3.7.3</h1>
|
||||
<h1>rc-slider@3.7.4</h1>
|
||||
</div>
|
||||
<div class="examples">
|
||||
<h3>EXAMPLES</h3>
|
||||
|
||||
Reference in New Issue
Block a user