@topvisor/ui 0.9.2 → 0.9.4
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/.chunks/datepicker-78c2af5a.es.js +275 -0
- package/.chunks/datepicker-78c2af5a.es.js.map +1 -0
- package/.chunks/datepicker-cc0011e1.amd.js +234 -0
- package/.chunks/datepicker-cc0011e1.amd.js.map +1 -0
- package/.chunks/forms-9516aa6c.es.js +1000 -0
- package/.chunks/forms-9516aa6c.es.js.map +1 -0
- package/.chunks/forms-9972aba2.amd.js +3 -0
- package/.chunks/forms-9972aba2.amd.js.map +1 -0
- package/.chunks/{popup-b2fe3094.es.js → popup-70a8c892.es.js} +423 -422
- package/.chunks/popup-70a8c892.es.js.map +1 -0
- package/.chunks/popup-d96418da.amd.js +378 -0
- package/.chunks/popup-d96418da.amd.js.map +1 -0
- package/README.md +80 -80
- package/assets/forms.css +1 -1
- package/assets/tabsView.css +1 -1
- package/core/core.amd.js +1 -1
- package/core/core.js +1 -1
- package/forms/forms.amd.js +1 -1
- package/forms/forms.js +1 -1
- package/forms/helpers.amd.js.map +1 -1
- package/forms/helpers.js.map +1 -1
- package/formsExt/formsExt.amd.js +1 -1
- package/formsExt/formsExt.amd.js.map +1 -1
- package/formsExt/formsExt.js +83 -84
- package/formsExt/formsExt.js.map +1 -1
- package/icomoon/demo-files/demo.css +161 -161
- package/icomoon/demo-files/demo.js +30 -30
- package/icomoon/demo.html +2945 -2945
- package/icomoon/fonts/Topvisor-2.svg +232 -232
- package/icomoon/style.css +647 -647
- package/package.json +22 -19
- package/popup/popup.amd.js +1 -1
- package/popup/popup.amd.js.map +1 -1
- package/popup/popup.js +52 -52
- package/popup/popup.js.map +1 -1
- package/popup/worker.amd.js +1 -1
- package/popup/worker.amd.js.map +1 -1
- package/popup/worker.js +3 -2
- package/popup/worker.js.map +1 -1
- package/require/css.amd.js +12 -0
- package/src/components/forms/button/button.stories.d.ts +97 -140
- package/src/components/forms/checkbox/checkbox.stories.d.ts +61 -100
- package/src/components/forms/controlLabel/controlLabel.stories.d.ts +20 -53
- package/src/components/forms/input/input.stories.d.ts +101 -145
- package/src/components/forms/inputRange/inputRange.stories.d.ts +117 -221
- package/src/components/forms/radio/radio.stories.d.ts +57 -95
- package/src/components/forms/switcher/switcher.stories.d.ts +55 -93
- package/src/components/formsExt/editInput/editInput.stories.d.ts +34 -69
- package/src/components/popup/popup/popup.stories.d.ts +242 -363
- package/src/components/tabs/tabs/tabs.stories.d.ts +195 -370
- package/src/components/tabsView/tabsView/_MenuItem.stories.d.ts +110 -216
- package/src/components/tabsView/tabsView/_MenuTitle.stories.d.ts +76 -176
- package/src/components/tabsView/tabsView/tabsView.stories.d.ts +156 -327
- package/src/core/core/page.d.ts +0 -7
- package/src/core/utils/css.d.ts +5 -0
- package/tabs/tabs.amd.js +1 -1
- package/tabs/tabs.js +37 -38
- package/tabs/tabs.js.map +1 -1
- package/tabsView/tabsView.amd.js +1 -1
- package/tabsView/tabsView.amd.js.map +1 -1
- package/tabsView/tabsView.js +94 -90
- package/tabsView/tabsView.js.map +1 -1
- package/utils/css.amd.js +2 -0
- package/utils/css.amd.js.map +1 -0
- package/utils/css.d.ts +1 -0
- package/utils/css.js +35 -0
- package/utils/css.js.map +1 -0
- package/utils/date.amd.js +1 -1
- package/utils/date.js +1 -1
- package/utils/device.amd.js +1 -1
- package/utils/device.js +1 -1
- package/utils/dom.amd.js +1 -1
- package/utils/dom.amd.js.map +1 -1
- package/utils/dom.js +61 -3
- package/utils/dom.js.map +1 -1
- package/.chunks/datepicker-32bc8bd9.es.js +0 -275
- package/.chunks/datepicker-32bc8bd9.es.js.map +0 -1
- package/.chunks/datepicker-8a42d8a6.amd.js +0 -234
- package/.chunks/datepicker-8a42d8a6.amd.js.map +0 -1
- package/.chunks/forms-30d68077.amd.js +0 -3
- package/.chunks/forms-30d68077.amd.js.map +0 -1
- package/.chunks/forms-64632f73.es.js +0 -1091
- package/.chunks/forms-64632f73.es.js.map +0 -1
- package/.chunks/popup-14ca85cf.amd.js +0 -378
- package/.chunks/popup-14ca85cf.amd.js.map +0 -1
- package/.chunks/popup-b2fe3094.es.js.map +0 -1
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
if (!('boxShadow' in document.body.style)) {
|
|
2
|
-
document.body.setAttribute('class', 'noBoxShadow');
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
document.body.addEventListener("click", function(e) {
|
|
6
|
-
var target = e.target;
|
|
7
|
-
if (target.tagName === "INPUT" &&
|
|
8
|
-
target.getAttribute('class').indexOf('liga') === -1) {
|
|
9
|
-
target.select();
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
(function() {
|
|
14
|
-
var fontSize = document.getElementById('fontSize'),
|
|
15
|
-
testDrive = document.getElementById('testDrive'),
|
|
16
|
-
testText = document.getElementById('testText');
|
|
17
|
-
function updateTest() {
|
|
18
|
-
testDrive.innerHTML = testText.value || String.fromCharCode(160);
|
|
19
|
-
if (window.icomoonLiga) {
|
|
20
|
-
window.icomoonLiga(testDrive);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
function updateSize() {
|
|
24
|
-
testDrive.style.fontSize = fontSize.value + 'px';
|
|
25
|
-
}
|
|
26
|
-
fontSize.addEventListener('change', updateSize, false);
|
|
27
|
-
testText.addEventListener('input', updateTest, false);
|
|
28
|
-
testText.addEventListener('change', updateTest, false);
|
|
29
|
-
updateSize();
|
|
30
|
-
}());
|
|
1
|
+
if (!('boxShadow' in document.body.style)) {
|
|
2
|
+
document.body.setAttribute('class', 'noBoxShadow');
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
document.body.addEventListener("click", function(e) {
|
|
6
|
+
var target = e.target;
|
|
7
|
+
if (target.tagName === "INPUT" &&
|
|
8
|
+
target.getAttribute('class').indexOf('liga') === -1) {
|
|
9
|
+
target.select();
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
(function() {
|
|
14
|
+
var fontSize = document.getElementById('fontSize'),
|
|
15
|
+
testDrive = document.getElementById('testDrive'),
|
|
16
|
+
testText = document.getElementById('testText');
|
|
17
|
+
function updateTest() {
|
|
18
|
+
testDrive.innerHTML = testText.value || String.fromCharCode(160);
|
|
19
|
+
if (window.icomoonLiga) {
|
|
20
|
+
window.icomoonLiga(testDrive);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
function updateSize() {
|
|
24
|
+
testDrive.style.fontSize = fontSize.value + 'px';
|
|
25
|
+
}
|
|
26
|
+
fontSize.addEventListener('change', updateSize, false);
|
|
27
|
+
testText.addEventListener('input', updateTest, false);
|
|
28
|
+
testText.addEventListener('change', updateTest, false);
|
|
29
|
+
updateSize();
|
|
30
|
+
}());
|