framework7 6.3.11 → 6.3.12
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/cjs/components/calendar/calendar-class.js +37 -20
- package/cjs/components/tabs/tabs.js +4 -5
- package/cjs/components/toolbar/toolbar.js +1 -1
- package/cjs/framework7-bundle.js +2 -2
- package/cjs/framework7-lite-bundle.js +2 -2
- package/cjs/framework7-lite.js +2 -2
- package/cjs/framework7.js +2 -2
- package/components/calendar/calendar.js +1 -1
- package/components/popup/popup-rtl.css +1 -1
- package/components/popup/popup.css +1 -1
- package/components/popup/popup.less +1 -0
- package/components/range/range.d.ts +23 -5
- package/components/tabs/tabs.js +1 -1
- package/components/toolbar/toolbar-aurora.less +0 -13
- package/components/toolbar/toolbar-md.less +0 -13
- package/components/toolbar/toolbar.less +13 -0
- package/esm/components/calendar/calendar-class.js +37 -20
- package/esm/components/tabs/tabs.js +4 -5
- package/esm/components/toolbar/toolbar.js +1 -1
- package/esm/framework7-bundle.js +2 -2
- package/esm/framework7-lite-bundle.js +2 -2
- package/esm/framework7-lite.js +2 -2
- package/esm/framework7.js +2 -2
- package/framework7-bundle-rtl.css +12 -20
- package/framework7-bundle-rtl.min.css +3 -3
- package/framework7-bundle.css +11 -18
- package/framework7-bundle.js +44 -28
- package/framework7-bundle.js.map +1 -1
- package/framework7-bundle.less +2 -2
- package/framework7-bundle.min.css +3 -3
- package/framework7-bundle.min.js +3 -3
- package/framework7-bundle.min.js.map +1 -1
- package/framework7-rtl.css +11 -20
- package/framework7-rtl.min.css +3 -3
- package/framework7.css +10 -18
- package/framework7.js +3 -3
- package/framework7.js.map +1 -1
- package/framework7.less +2 -2
- package/framework7.min.css +3 -3
- package/framework7.min.js +3 -3
- package/framework7.min.js.map +1 -1
- package/package.json +1 -1
- package/types/components/range/range.d.ts +23 -5
package/package.json
CHANGED
|
@@ -13,6 +13,8 @@ export namespace Range {
|
|
|
13
13
|
step?: number;
|
|
14
14
|
/** Enables additional label around range slider knob (default false) */
|
|
15
15
|
label?: boolean;
|
|
16
|
+
/** Method must return formatted range knob label text. As an argument it receives label value */
|
|
17
|
+
formatLabel?: (value: number) => string;
|
|
16
18
|
/** Minimum value */
|
|
17
19
|
min?: number;
|
|
18
20
|
/** Maximum value */
|
|
@@ -21,11 +23,19 @@ export namespace Range {
|
|
|
21
23
|
value?: number | number[];
|
|
22
24
|
/** When enabled it is also possible to interact with range slider (change value) on range bar click and swipe (default true) */
|
|
23
25
|
draggableBar?: boolean;
|
|
24
|
-
/** Enables vertical range slider */
|
|
26
|
+
/** Enables vertical range slider (default false) */
|
|
25
27
|
vertical?: boolean;
|
|
26
|
-
/** Makes vertical range slider reversed */
|
|
28
|
+
/** Makes vertical range slider reversed (default false) */
|
|
27
29
|
verticalReversed?: boolean;
|
|
28
|
-
/**
|
|
30
|
+
/** Enables range slider scale (default false) */
|
|
31
|
+
scale?: boolean;
|
|
32
|
+
/** Number of scale steps (default 5) */
|
|
33
|
+
scaleSteps?: number;
|
|
34
|
+
/** Number of scale sub steps (each step will be divided by this value) (default 0) */
|
|
35
|
+
scaleSubSteps?: number;
|
|
36
|
+
/** Method must return formatted scale value. As an argument it receives currect scale step value. This method will be called as for each scale step. */
|
|
37
|
+
formatScaleLabel?: (value: number) => string;
|
|
38
|
+
/** Limit knob position to the size of range bar. By default enabled from iOS theme */
|
|
29
39
|
limitKnobPosition?: boolean;
|
|
30
40
|
/** Object with events handlers.. */
|
|
31
41
|
on?: {
|
|
@@ -55,13 +65,21 @@ export namespace Range {
|
|
|
55
65
|
max: number;
|
|
56
66
|
/** Range value */
|
|
57
67
|
value: number | number[];
|
|
68
|
+
/** Boolean property indicating whether scale is enabled or not */
|
|
69
|
+
scale: boolean;
|
|
70
|
+
/** Number of scale steps */
|
|
71
|
+
scaleSteps: number;
|
|
72
|
+
/** Number of scale sub steps */
|
|
73
|
+
scaleSubSteps: number;
|
|
74
|
+
/** Dom7 instance with generated scale HTML element */
|
|
75
|
+
$scaleEl: Dom7Array;
|
|
58
76
|
/** Array where each element represents HTMLElement of created range knob (2 knobs in case of dual slider) */
|
|
59
77
|
knobs: HTMLElement[];
|
|
60
78
|
/** Array where each element represent HTMLElement of created range knob label (2 labels in case of dual slider) */
|
|
61
79
|
labels: HTMLElement[];
|
|
62
|
-
/** Boolean property indicating whether it is vertical or not
|
|
80
|
+
/** Boolean property indicating whether it is vertical or not */
|
|
63
81
|
vertical: boolean;
|
|
64
|
-
/** Boolean property indicating whether it is vertical and reversed or not
|
|
82
|
+
/** Boolean property indicating whether it is vertical and reversed or not */
|
|
65
83
|
verticalReversed: boolean;
|
|
66
84
|
/** Range parameters */
|
|
67
85
|
params: Parameters;
|