@progress/kendo-react-inputs 5.4.0-dev.202206081230 → 5.4.0-dev.202206140937
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/cdn/js/kendo-react-inputs.js +1 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/slider/SliderLabel.js +4 -3
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/slider/SliderLabel.js +4 -3
- package/dist/systemjs/kendo-react-inputs.js +1 -1
- package/package.json +14 -14
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-react-inputs',
|
|
6
6
|
productName: 'KendoReact',
|
|
7
7
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1655198188,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
11
11
|
};
|
|
@@ -23,8 +23,9 @@ export var SliderLabel = function (props) {
|
|
|
23
23
|
var sliderLabelRef = React.useRef(null);
|
|
24
24
|
var dir = useDir(sliderLabelRef);
|
|
25
25
|
var style = props.vertical
|
|
26
|
-
? { bottom: "".concat(props.position, "%")
|
|
27
|
-
: (_a = {}, _a[dir === 'rtl' ? 'right' : 'left'] = "".concat(props.position, "%"), _a
|
|
28
|
-
|
|
26
|
+
? { bottom: "".concat(props.position, "%") }
|
|
27
|
+
: (_a = {}, _a[dir === 'rtl' ? 'right' : 'left'] = "".concat(props.position, "%"), _a);
|
|
28
|
+
var tickStyle = props.vertical ? 'k-tick-vertical' : 'k-tick-horizontal';
|
|
29
|
+
return (React.createElement("li", { ref: sliderLabelRef, role: "presentation", className: "k-tick k-tick-large ".concat(tickStyle), title: props.title, style: __assign({ zIndex: 1, position: 'absolute' }, style) },
|
|
29
30
|
React.createElement("span", __assign({}, (_b = {}, _b[SLIDER_LABEL_ATTRIBUTE] = true, _b), { className: "k-label", onClick: props.onClick }), props.children)));
|
|
30
31
|
};
|
|
@@ -8,7 +8,7 @@ exports.packageMetadata = {
|
|
|
8
8
|
name: '@progress/kendo-react-inputs',
|
|
9
9
|
productName: 'KendoReact',
|
|
10
10
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate:
|
|
11
|
+
publishDate: 1655198188,
|
|
12
12
|
version: '',
|
|
13
13
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
14
14
|
};
|
|
@@ -26,9 +26,10 @@ var SliderLabel = function (props) {
|
|
|
26
26
|
var sliderLabelRef = React.useRef(null);
|
|
27
27
|
var dir = (0, kendo_react_common_1.useDir)(sliderLabelRef);
|
|
28
28
|
var style = props.vertical
|
|
29
|
-
? { bottom: "".concat(props.position, "%")
|
|
30
|
-
: (_a = {}, _a[dir === 'rtl' ? 'right' : 'left'] = "".concat(props.position, "%"), _a
|
|
31
|
-
|
|
29
|
+
? { bottom: "".concat(props.position, "%") }
|
|
30
|
+
: (_a = {}, _a[dir === 'rtl' ? 'right' : 'left'] = "".concat(props.position, "%"), _a);
|
|
31
|
+
var tickStyle = props.vertical ? 'k-tick-vertical' : 'k-tick-horizontal';
|
|
32
|
+
return (React.createElement("li", { ref: sliderLabelRef, role: "presentation", className: "k-tick k-tick-large ".concat(tickStyle), title: props.title, style: __assign({ zIndex: 1, position: 'absolute' }, style) },
|
|
32
33
|
React.createElement("span", __assign({}, (_b = {}, _b[exports.SLIDER_LABEL_ATTRIBUTE] = true, _b), { className: "k-label", onClick: props.onClick }), props.children)));
|
|
33
34
|
};
|
|
34
35
|
exports.SliderLabel = SliderLabel;
|