stylable-components
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -31,4 +31,4 @@ "use strict"; | ||
var wix_react_tools_1 = require("wix-react-tools"); | ||
var src_1 = require("../../../src"); | ||
var noop_1 = require("../../utils/noop"); | ||
var _1 = require("../popup/"); | ||
var selection_list_1 = require("../selection-list"); | ||
@@ -96,3 +96,3 @@ var drop_down_icons_1 = require("./drop-down-icons"); | ||
React.createElement(ToggleIcon, null))), | ||
React.createElement(src_1.Popup, { open: this.state.open && !this.props.disabled, anchor: this.state.dropdown }, | ||
React.createElement(_1.Popup, { open: this.state.open && !this.props.disabled, anchor: this.state.dropdown }, | ||
React.createElement("div", { className: "root" }, | ||
@@ -99,0 +99,0 @@ React.createElement(selection_list_1.SelectionList, { "data-automation-id": "DROP_DOWN_LIST", className: "drop-down-list", value: this.props.value, onChange: this.onItemClick, dataSource: this.props.dataSource }, this.props.children))))); |
@@ -31,3 +31,3 @@ "use strict"; | ||
var wix_react_tools_1 = require("wix-react-tools"); | ||
var global_event_1 = require("../../common/global-event"); | ||
var global_event_1 = require("../global-event"); | ||
var noop_1 = require("./../../utils/noop"); | ||
@@ -232,3 +232,3 @@ var slider_st_css_1 = require("./slider.st.css"); | ||
} }), | ||
React.createElement(global_event_1.default, { mousemove: this.onSliderAreaMouseMove, mouseup: this.onSliderAreaMouseUp, touchmove: this.onSliderAreaTouchMove, touchend: this.onSliderAreaTouchEnd, touchcancel: this.onSliderAreaTouchEnd }), | ||
React.createElement(global_event_1.GlobalEvent, { mousemove: this.onSliderAreaMouseMove, mouseup: this.onSliderAreaMouseUp, touchmove: this.onSliderAreaTouchMove, touchend: this.onSliderAreaTouchEnd, touchcancel: this.onSliderAreaTouchEnd }), | ||
React.createElement("input", { className: "native-input", value: this.props.value, type: "hidden", "data-automation-id": "SLIDER-NATIVE-INPUT", name: this.props.name, required: this.props.required, disabled: this.props.disabled }), | ||
@@ -235,0 +235,0 @@ React.createElement("div", { ref: function (el) { return _this.sliderArea = el; }, className: "slider", "data-automation-id": "SLIDER", title: this.props.label, onMouseDown: this.onSliderAreaMouseDown, onTouchStart: this.onSliderAreaTouchStart }, |
@@ -38,5 +38,5 @@ "use strict"; | ||
var stylable_react_component_1 = require("stylable-react-component"); | ||
var global_event_1 = require("../../common/global-event"); | ||
var icons_1 = require("../../icons"); | ||
var button_st_css_1 = require("../../style/default-theme/controls/button.st.css"); | ||
var global_event_1 = require("../global-event"); | ||
var stepper_st_css_1 = require("./stepper.st.css"); | ||
@@ -100,3 +100,3 @@ var DEFAULTS = { | ||
React.createElement(icons_1.ChevronDownIcon, { className: "control-icon" })), | ||
React.createElement(global_event_1.default, { mousemove: dragged ? this.handleDrag : undefined, mouseup: this.handleDragStop }))); | ||
React.createElement(global_event_1.GlobalEvent, { mousemove: dragged ? this.handleDrag : undefined, mouseup: this.handleDragStop }))); | ||
}; | ||
@@ -103,0 +103,0 @@ Stepper.prototype.updateDragRefPoint = function (_a) { |
{ | ||
"name": "stylable-components", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "Fully-tested & strictly-typed component library based on React, using optional Wix styling.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
/// <reference path="../typings/stylable.d.ts" /> | ||
export * from './components'; | ||
export * from './icons'; | ||
export * from './types'; |
import {ChangeEvent} from './events'; | ||
export interface FormInputProps<T, S = any> { | ||
export interface FormInputProps<T, S = T> { | ||
value?: T; | ||
@@ -5,0 +5,0 @@ onChange?: (event: ChangeEvent<T>) => void; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
579466
317
11512