pixuireactcomponents 1.3.83 → 1.3.84

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pixuireactcomponents",
3
- "version": "1.3.83",
3
+ "version": "1.3.84",
4
4
  "description": "pixui react components",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -14,6 +14,9 @@ export interface SliderProps {
14
14
  outerBg: string;
15
15
  innerBg: string;
16
16
  dotBg: string;
17
+ outerCss?: CSSProperties;
18
+ innerCss?: CSSProperties;
19
+ dotCss?: CSSProperties;
17
20
  onDragStart: Function | null;
18
21
  onDrag: Function | null;
19
22
  onDragEnd: Function | null;
@@ -366,9 +366,9 @@ var Slider = /** @class */ (function (_super) {
366
366
  return (h("div", { style: this.props.hasIncDecButton ? this.state.withButtonStyle : {}, id: this.props.id, className: this.props.className },
367
367
  this.props.hasIncDecButton && h("img", { src: this.props.decButtonBg, style: this.state.decButtonStyle, onClick: this.onDecClick }),
368
368
  h("div", { ref: this.refWrapper, style: this.state.wrapperStyle },
369
- h("div", { style: this.state.outerStyle, draggable: true, onDragStart: this.onDragStart, onDrag: this.onDrag, onDragEnd: this.onDragEnd },
370
- h("div", { style: __assign(__assign({}, this.state.innerStyle), { width: innerWidth }) },
371
- h("div", { style: __assign(__assign({}, this.state.dotWrapperStyle), { marginLeft: dotWrapperMarginLeft }) }, hasDot && h("img", { src: this.props.dotBg, style: this.state.dotStyle }))))),
369
+ h("div", { style: __assign(__assign({}, this.state.outerStyle), this.props.outerCss), draggable: true, onDragStart: this.onDragStart, onDrag: this.onDrag, onDragEnd: this.onDragEnd },
370
+ h("div", { style: __assign(__assign(__assign({}, this.state.innerStyle), { width: innerWidth }), this.props.innerCss) },
371
+ h("div", { style: __assign(__assign({}, this.state.dotWrapperStyle), { marginLeft: dotWrapperMarginLeft }) }, hasDot && h("img", { src: this.props.dotBg, style: __assign(__assign({}, this.state.dotStyle), this.props.dotCss) }))))),
372
372
  this.props.hasIncDecButton && h("img", { src: this.props.incButtonBg, style: this.state.incButtonStyle, onClick: this.onIncClick })));
373
373
  };
374
374
  Slider.defaultProps = {