@umbraco-ui/uui-range-slider 1.8.0-rc.0 → 1.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/custom-elements.json
CHANGED
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"name": "pristine",
|
|
69
69
|
"description": "Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.",
|
|
70
70
|
"type": "boolean",
|
|
71
|
-
"default": "\"
|
|
71
|
+
"default": "\"true\""
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
74
|
"name": "required",
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
"attribute": "pristine",
|
|
183
183
|
"description": "Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.",
|
|
184
184
|
"type": "boolean",
|
|
185
|
-
"default": "\"
|
|
185
|
+
"default": "\"true\""
|
|
186
186
|
},
|
|
187
187
|
{
|
|
188
188
|
"name": "required",
|
package/lib/index.js
CHANGED
|
@@ -49,10 +49,7 @@ const Z_INDEX = {
|
|
|
49
49
|
const THUMB_SIZE = 18;
|
|
50
50
|
const TRACK_PADDING = 12;
|
|
51
51
|
const STEP_MIN_WIDTH = 24;
|
|
52
|
-
let UUIRangeSliderElement = class extends UUIFormControlMixin(
|
|
53
|
-
LitElement,
|
|
54
|
-
""
|
|
55
|
-
) {
|
|
52
|
+
let UUIRangeSliderElement = class extends UUIFormControlMixin(LitElement, "") {
|
|
56
53
|
/** Constructor and Validator */
|
|
57
54
|
constructor() {
|
|
58
55
|
super();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
|
-
declare const UUIRangeSliderElement_base: (new (...args: any[]) => import("@umbraco-ui/uui-base/lib/mixins").
|
|
2
|
+
declare const UUIRangeSliderElement_base: (new (...args: any[]) => import("@umbraco-ui/uui-base/lib/mixins").UUIFormControlMixinElement<FormDataEntryValue | FormData>) & typeof LitElement;
|
|
3
3
|
/**
|
|
4
4
|
* @element uui-range-slider
|
|
5
5
|
* @description - Range slider with two handles. Use uui-slider for a single handle.
|
|
@@ -81,8 +81,8 @@ export declare class UUIRangeSliderElement extends UUIRangeSliderElement_base {
|
|
|
81
81
|
* @attr
|
|
82
82
|
* @default 0,0
|
|
83
83
|
*/
|
|
84
|
-
get value():
|
|
85
|
-
set value(newVal:
|
|
84
|
+
get value(): FormDataEntryValue | FormData;
|
|
85
|
+
set value(newVal: FormDataEntryValue | FormData);
|
|
86
86
|
private _currentFocus?;
|
|
87
87
|
private _movement;
|
|
88
88
|
private startPoint;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umbraco-ui/uui-range-slider",
|
|
3
|
-
"version": "1.8.0
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Umbraco",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"custom-elements.json"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@umbraco-ui/uui-base": "1.8.0
|
|
33
|
+
"@umbraco-ui/uui-base": "1.8.0"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "npm run analyze && tsc --build && rollup -c rollup.config.js",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
43
|
"homepage": "https://uui.umbraco.com/?path=/story/uui-range-slider",
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "53021762a52dc54a46f0c5ef829c1cbaabde1160"
|
|
45
45
|
}
|