@topvisor/ui 0.0.10 → 0.0.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.
Files changed (55) hide show
  1. package/README.md +85 -85
  2. package/c/button/button.amd.js +27 -32
  3. package/c/button/button.amd.js.map +1 -1
  4. package/c/button/button.js +28 -33
  5. package/c/button/button.js.map +1 -1
  6. package/c/checkbox/checkbox.amd.js +58 -0
  7. package/c/checkbox/checkbox.amd.js.map +1 -0
  8. package/c/checkbox/checkbox.js +59 -0
  9. package/c/checkbox/checkbox.js.map +1 -0
  10. package/c/example/example.amd.js +7 -7
  11. package/c/example/example.js +7 -7
  12. package/c/{Icon/Icon.amd.js → icon/icon.amd.js} +4 -4
  13. package/c/icon/icon.amd.js.map +1 -0
  14. package/c/{Icon/Icon.js → icon/icon.js} +4 -4
  15. package/c/icon/icon.js.map +1 -0
  16. package/c/radio/radio.amd.js +49 -0
  17. package/c/radio/radio.amd.js.map +1 -0
  18. package/c/radio/radio.js +50 -0
  19. package/c/radio/radio.js.map +1 -0
  20. package/c/style.css +199 -76
  21. package/core.css +285 -110
  22. package/dark.css +12 -12
  23. package/l/common/common.amd.js +6 -5
  24. package/l/common/common.amd.js.map +1 -1
  25. package/l/common/common.js +4 -4
  26. package/l/forms/forms.amd.js +66 -56
  27. package/l/forms/forms.amd.js.map +1 -1
  28. package/l/forms/forms.js +67 -57
  29. package/l/forms/forms.js.map +1 -1
  30. package/l/style.css +160 -76
  31. package/light.css +15 -15
  32. package/package.json +1 -4
  33. package/c/Icon/Icon.amd.js.map +0 -1
  34. package/c/Icon/Icon.js.map +0 -1
  35. package/c/README.md +0 -86
  36. package/c/icomoon/demo-files/Read Me.txt +0 -7
  37. package/c/icomoon/demo-files/demo.css +0 -161
  38. package/c/icomoon/demo-files/demo.js +0 -30
  39. package/c/icomoon/demo.html +0 -2931
  40. package/c/icomoon/fonts/Topvisor-2.svg +0 -232
  41. package/c/icomoon/fonts/Topvisor-2.ttf +0 -0
  42. package/c/icomoon/fonts/Topvisor-2.woff +0 -0
  43. package/c/icomoon/selection.json +0 -1
  44. package/c/icomoon/style.css +0 -644
  45. package/icomoon/Read Me.txt +0 -7
  46. package/l/README.md +0 -86
  47. package/l/icomoon/demo-files/Read Me.txt +0 -7
  48. package/l/icomoon/demo-files/demo.css +0 -161
  49. package/l/icomoon/demo-files/demo.js +0 -30
  50. package/l/icomoon/demo.html +0 -2931
  51. package/l/icomoon/fonts/Topvisor-2.svg +0 -232
  52. package/l/icomoon/fonts/Topvisor-2.ttf +0 -0
  53. package/l/icomoon/fonts/Topvisor-2.woff +0 -0
  54. package/l/icomoon/selection.json +0 -1
  55. package/l/icomoon/style.css +0 -644
@@ -1,30 +0,0 @@
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
- }());