fomantic-ui-sass 2.7.5 → 2.7.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/fonts/semantic-ui/brand-icons.eot +0 -0
  3. data/app/assets/fonts/semantic-ui/brand-icons.svg +773 -617
  4. data/app/assets/fonts/semantic-ui/brand-icons.ttf +0 -0
  5. data/app/assets/fonts/semantic-ui/brand-icons.woff +0 -0
  6. data/app/assets/fonts/semantic-ui/brand-icons.woff2 +0 -0
  7. data/app/assets/fonts/semantic-ui/icons.eot +0 -0
  8. data/app/assets/fonts/semantic-ui/icons.svg +150 -139
  9. data/app/assets/fonts/semantic-ui/icons.ttf +0 -0
  10. data/app/assets/fonts/semantic-ui/icons.woff +0 -0
  11. data/app/assets/fonts/semantic-ui/icons.woff2 +0 -0
  12. data/app/assets/fonts/semantic-ui/outline-icons.eot +0 -0
  13. data/app/assets/fonts/semantic-ui/outline-icons.svg +13 -9
  14. data/app/assets/fonts/semantic-ui/outline-icons.ttf +0 -0
  15. data/app/assets/fonts/semantic-ui/outline-icons.woff +0 -0
  16. data/app/assets/fonts/semantic-ui/outline-icons.woff2 +0 -0
  17. data/app/assets/javascripts/semantic-ui/api.js +0 -1
  18. data/app/assets/javascripts/semantic-ui/calendar.js +31 -14
  19. data/app/assets/javascripts/semantic-ui/dropdown.js +2 -2
  20. data/app/assets/javascripts/semantic-ui/embed.js +1 -1
  21. data/app/assets/javascripts/semantic-ui/form.js +4 -3
  22. data/app/assets/javascripts/semantic-ui/popup.js +2 -2
  23. data/app/assets/javascripts/semantic-ui/progress.js +118 -72
  24. data/app/assets/javascripts/semantic-ui/slider.js +7 -3
  25. data/app/assets/javascripts/semantic-ui/transition.js +1 -1
  26. data/app/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss +0 -6
  27. data/app/assets/stylesheets/semantic-ui/collections/_form.scss +26 -70
  28. data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +71 -187
  29. data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +113 -161
  30. data/app/assets/stylesheets/semantic-ui/collections/_message.scss +47 -113
  31. data/app/assets/stylesheets/semantic-ui/collections/_table.scss +50 -85
  32. data/app/assets/stylesheets/semantic-ui/elements/_button.scss +325 -685
  33. data/app/assets/stylesheets/semantic-ui/elements/_container.scss +0 -6
  34. data/app/assets/stylesheets/semantic-ui/elements/_divider.scss +0 -18
  35. data/app/assets/stylesheets/semantic-ui/elements/_flag.scss +0 -993
  36. data/app/assets/stylesheets/semantic-ui/elements/_header.scss +4 -16
  37. data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +8 -10989
  38. data/app/assets/stylesheets/semantic-ui/elements/_image.scss +0 -6
  39. data/app/assets/stylesheets/semantic-ui/elements/_input.scss +31 -55
  40. data/app/assets/stylesheets/semantic-ui/elements/_label.scss +6 -27
  41. data/app/assets/stylesheets/semantic-ui/elements/_list.scss +0 -10
  42. data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +1 -8
  43. data/app/assets/stylesheets/semantic-ui/elements/_placeholder.scss +0 -10
  44. data/app/assets/stylesheets/semantic-ui/elements/_rail.scss +0 -6
  45. data/app/assets/stylesheets/semantic-ui/elements/_reveal.scss +2 -13
  46. data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +27 -80
  47. data/app/assets/stylesheets/semantic-ui/elements/_step.scss +21 -97
  48. data/app/assets/stylesheets/semantic-ui/elements/_text.scss +0 -6
  49. data/app/assets/stylesheets/semantic-ui/globals/_reset.scss +5 -357
  50. data/app/assets/stylesheets/semantic-ui/globals/_site.scss +9 -7
  51. data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +1 -32
  52. data/app/assets/stylesheets/semantic-ui/modules/_calendar.scss +4 -14
  53. data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +9 -58
  54. data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +5 -26
  55. data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +39 -142
  56. data/app/assets/stylesheets/semantic-ui/modules/_embed.scss +1 -10
  57. data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +17 -51
  58. data/app/assets/stylesheets/semantic-ui/modules/_nag.scss +1 -10
  59. data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +19 -46
  60. data/app/assets/stylesheets/semantic-ui/modules/_progress.scss +209 -12
  61. data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +1 -12
  62. data/app/assets/stylesheets/semantic-ui/modules/_search.scss +5 -22
  63. data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +1 -12
  64. data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +2 -21
  65. data/app/assets/stylesheets/semantic-ui/modules/_slider.scss +1 -18
  66. data/app/assets/stylesheets/semantic-ui/modules/_sticky.scss +0 -7
  67. data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +1 -8
  68. data/app/assets/stylesheets/semantic-ui/modules/_toast.scss +2 -5
  69. data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +1 -1201
  70. data/app/assets/stylesheets/semantic-ui/views/_ad.scss +0 -6
  71. data/app/assets/stylesheets/semantic-ui/views/_card.scss +81 -189
  72. data/app/assets/stylesheets/semantic-ui/views/_comment.scss +3 -13
  73. data/app/assets/stylesheets/semantic-ui/views/_feed.scss +6 -26
  74. data/app/assets/stylesheets/semantic-ui/views/_item.scss +12 -43
  75. data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +10 -48
  76. data/lib/fomantic/ui/sass/version.rb +2 -2
  77. metadata +2 -2
Binary file
@@ -1,8 +1,12 @@
1
1
  <?xml version="1.0" standalone="no"?>
2
+ <!--
3
+ Font Awesome Free 5.8.2 by @fontawesome - https://fontawesome.com
4
+ License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
5
+ -->
2
6
  <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
7
  <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
4
8
  <metadata>
5
- Created by FontForge 20190112 at Mon Jan 28 12:50:36 2019
9
+ Created by FontForge 20190112 at Tue May 7 11:33:43 2019
6
10
  By Robert Madole
7
11
  Copyright (c) Font Awesome
8
12
  </metadata>
@@ -54,7 +58,7 @@ d="M336 448c26.5098 0 48 -21.4902 48 -48v-464l-192 112l-192 -112v464c0 26.5098 2
54
58
  d="M464 384c26.5098 0 48 -21.4902 48 -48v-288c0 -26.5098 -21.4902 -48 -48 -48h-416c-26.5098 0 -48 21.4902 -48 48v288c0 26.5098 21.4902 48 48 48h416zM458 48c3.31152 0 6 2.68848 6 6v276c0 3.31152 -2.68848 6 -6 6h-404c-3.31152 0 -6 -2.68848 -6 -6v-276
55
59
  c0 -3.31152 2.68848 -6 6 -6h404zM128 296c22.0908 0 40 -17.9092 40 -40s-17.9092 -40 -40 -40s-40 17.9092 -40 40s17.9092 40 40 40zM96 96v48l39.5137 39.5146c4.6875 4.68652 12.2852 4.68652 16.9717 0l39.5146 -39.5146l119.514 119.515
56
60
  c4.6875 4.68652 12.2852 4.68652 16.9717 0l87.5146 -87.5146v-80h-320z" />
57
- <glyph glyph-name="edit" unicode="&#xf044;" horiz-adv-x="575"
61
+ <glyph glyph-name="edit" unicode="&#xf044;" horiz-adv-x="576"
58
62
  d="M402.3 103.1l32 32c5 5 13.7002 1.5 13.7002 -5.69922v-145.4c0 -26.5 -21.5 -48 -48 -48h-352c-26.5 0 -48 21.5 -48 48v352c0 26.5 21.5 48 48 48h273.5c7.09961 0 10.7002 -8.59961 5.7002 -13.7002l-32 -32c-1.5 -1.5 -3.5 -2.2998 -5.7002 -2.2998h-241.5v-352h352
59
63
  v113.5c0 2.09961 0.799805 4.09961 2.2998 5.59961zM558.9 304.9l-262.601 -262.601l-90.3994 -10c-26.2002 -2.89941 -48.5 19.2002 -45.6006 45.6006l10 90.3994l262.601 262.601c22.8994 22.8994 59.8994 22.8994 82.6992 0l43.2002 -43.2002
60
64
  c22.9004 -22.9004 22.9004 -60 0.100586 -82.7998zM460.1 274l-58.0996 58.0996l-185.8 -185.899l-7.2998 -65.2998l65.2998 7.2998zM524.9 353.7l-43.2002 43.2002c-4.10059 4.09961 -10.7998 4.09961 -14.7998 0l-30.9004 -30.9004l58.0996 -58.0996l30.9004 30.8994
@@ -97,7 +101,7 @@ l20.6006 -21.7998l-10.6006 -28.0996c-5.5 -14.5 -12.5996 -28.1006 -19.8994 -40.20
97
101
  <glyph glyph-name="folder" unicode="&#xf07b;"
98
102
  d="M464 320c26.5098 0 48 -21.4902 48 -48v-224c0 -26.5098 -21.4902 -48 -48 -48h-416c-26.5098 0 -48 21.4902 -48 48v288c0 26.5098 21.4902 48 48 48h146.74c8.49023 0 16.6299 -3.37012 22.6299 -9.37012l54.6299 -54.6299h192zM464 48v224h-198.62
99
103
  c-8.49023 0 -16.6299 3.37012 -22.6299 9.37012l-54.6299 54.6299h-140.12v-288h416z" />
100
- <glyph glyph-name="folder-open" unicode="&#xf07c;" horiz-adv-x="575"
104
+ <glyph glyph-name="folder-open" unicode="&#xf07c;" horiz-adv-x="576"
101
105
  d="M527.9 224c37.6992 0 60.6992 -41.5 40.6992 -73.4004l-79.8994 -128c-8.7998 -14.0996 -24.2002 -22.5996 -40.7002 -22.5996h-400c-26.5 0 -48 21.5 -48 48v288c0 26.5 21.5 48 48 48h160l64 -64h160c26.5 0 48 -21.5 48 -48v-48h47.9004zM48 330v-233.4l62.9004 104.2
102
106
  c8.69922 14.4004 24.2998 23.2002 41.0996 23.2002h280v42c0 3.2998 -2.7002 6 -6 6h-173.9l-64 64h-134.1c-3.2998 0 -6 -2.7002 -6 -6zM448 48l80 128h-378.8l-77.2002 -128h376z" />
103
107
  <glyph glyph-name="chart-bar" unicode="&#xf080;"
@@ -113,7 +117,7 @@ c0.400391 0.399414 22.4004 24.1992 37.7002 54.8994c-27.5 27.2002 -44 61.2002 -44
113
117
  l19.7998 -4.5c16 -3.69922 32.5 -5.59961 49 -5.59961c86.7002 0 160 51.2998 160 112s-73.2998 112 -160 112s-160 -51.2998 -160 -112c0 -28.7002 16.2002 -50.5996 29.7002 -64l24.7998 -24.5l-15.5 -31.0996c-2.59961 -5.10059 -5.2998 -10.1006 -8 -14.8008
114
118
  c14.5996 5.10059 29 12.3008 43.0996 21.4004zM498.3 96c13.5 13.4004 29.7002 35.2998 29.7002 64c0 49.2002 -48.2998 91.5 -112.7 106c0.299805 -3.2998 0.700195 -6.59961 0.700195 -10c0 -80.9004 -78 -147.5 -179.3 -158.3
115
119
  c29.0996 -29.6006 77.2998 -49.7002 131.3 -49.7002c16.5 0 33 1.90039 49 5.59961l19.9004 4.60059l17.0996 -11.1006c14.0996 -9.09961 28.5 -16.2998 43.0996 -21.3994c-2.69922 4.7002 -5.39941 9.7002 -8 14.7998l-15.5 31.0996z" />
116
- <glyph glyph-name="star-half" unicode="&#xf089;" horiz-adv-x="308"
120
+ <glyph glyph-name="star-half" unicode="&#xf089;" horiz-adv-x="576"
117
121
  d="M288 62.7002v-54.2998l-130.7 -68.6006c-23.3994 -12.2998 -50.8994 7.60059 -46.3994 33.7002l25 145.5l-105.7 103c-19 18.5 -8.5 50.7998 17.7002 54.5996l146.1 21.2002l65.2998 132.4c5.90039 11.8994 17.2998 17.7998 28.7002 17.7998v-68.0996l-62.2002 -126
118
122
  l-139 -20.2002l100.601 -98l-23.7002 -138.4z" />
119
123
  <glyph glyph-name="lemon" unicode="&#xf094;"
@@ -137,7 +141,7 @@ c8.58398 0 16.373 -3.04785 22.1201 -8h2.67871c6.96387 0 14.8623 6.19336 30.1816
137
141
  v-0.0839844c0 -6.21777 -0.974609 -16.2148 -2.17578 -22.3154h86.1768zM428.8 192c18.9756 0 35.2002 16.2246 35.2002 35.2002c0 18.7002 -16.7754 35.2002 -35.2002 35.2002h-158.399c0 17.3242 26.3994 35.1992 26.3994 70.3994c0 26.4004 -20.625 35.2002 -44 35.2002
138
142
  c-8.79395 0 -20.4443 -32.7119 -34.9258 -56.0996c-9.07422 -14.5752 -19.5244 -27.2256 -30.7988 -39.875c-16.1094 -18.374 -33.8359 -36.6328 -59.0752 -39.5967v-176.753c42.79 -3.7627 74.5088 -39.6758 120 -39.6758h21.2988
139
143
  c40.5244 0 57.124 22.1973 50.6006 61.3252c14.6113 8.00098 24.1514 33.9785 12.9248 53.625c19.3652 18.2246 17.7871 46.3809 4.9502 61.0498h91.0254zM88 64c0 13.2549 -10.7451 24 -24 24s-24 -10.7451 -24 -24s10.7451 -24 24 -24s24 10.7451 24 24z" />
140
- <glyph glyph-name="hand-point-left" unicode="&#xf0a5;" horiz-adv-x="511"
144
+ <glyph glyph-name="hand-point-left" unicode="&#xf0a5;"
141
145
  d="M0 227.2c0 45.0986 38.1006 83.2002 83.2002 83.2002h86.1758c-1.3623 6.91016 -2.17578 14.374 -2.17578 22.3994c0 47.9141 35.0723 83.2002 92 83.2002c45.3135 0 57.002 -48.5371 75.7061 -78.7852c7.73438 -12.4121 16.9951 -23.3154 25.8506 -33.2529
142
146
  l0.130859 -0.145508l0.128906 -0.148438c15.3213 -17.4746 23.2197 -23.668 30.1836 -23.668h2.67871c5.74707 4.95215 13.5361 8 22.1201 8h64c17.6729 0 32 -12.8936 32 -28.7998v-230.4c0 -15.9062 -14.3271 -28.7998 -32 -28.7998h-64
143
147
  c-8.58398 0 -16.373 3.04785 -22.1201 8h-2.67871c-28.6885 0 -67.1367 -40 -127.2 -40h-21.2988c-62.542 0 -98.8008 38.6582 -99.9404 91.1445c-12.4814 17.8135 -18.4922 40.7852 -15.9844 62.791c-2.96094 5.8125 -6.51367 15.6973 -7.92969 22.0645h-35.6465
@@ -261,14 +265,14 @@ h-104c-13.2998 0 -24 10.7002 -24 24v104h-160v-416z" />
261
265
  d="M288 200v-28c0 -6.59961 -5.40039 -12 -12 -12h-168c-6.59961 0 -12 5.40039 -12 12v28c0 6.59961 5.40039 12 12 12h168c6.59961 0 12 -5.40039 12 -12zM276 128c6.59961 0 12 -5.40039 12 -12v-28c0 -6.59961 -5.40039 -12 -12 -12h-168c-6.59961 0 -12 5.40039 -12 12
262
266
  v28c0 6.59961 5.40039 12 12 12h168zM384 316.1v-332.1c0 -26.5 -21.5 -48 -48 -48h-288c-26.5 0 -48 21.5 -48 48v416c0 26.5 21.5 48 48 48h204.1c12.7002 0 24.9004 -5.09961 33.9004 -14.0996l83.9004 -83.9004c9 -8.90039 14.0996 -21.2002 14.0996 -33.9004z
263
267
  M256 396.1v-76.0996h76.0996zM336 -16v288h-104c-13.2998 0 -24 10.7002 -24 24v104h-160v-416h288z" />
264
- <glyph glyph-name="thumbs-up" unicode="&#xf164;" horiz-adv-x="480"
268
+ <glyph glyph-name="thumbs-up" unicode="&#xf164;"
265
269
  d="M466.27 161.31c4.6748 -22.6465 0.864258 -44.5371 -8.98926 -62.9893c2.95898 -23.8682 -4.02148 -48.5654 -17.3398 -66.9902c-0.954102 -55.9072 -35.8232 -95.3301 -112.94 -95.3301c-7 0 -15 0.00976562 -22.2197 0.00976562
266
270
  c-102.742 0 -133.293 38.9395 -177.803 39.9404c-3.56934 -13.7764 -16.085 -23.9502 -30.9775 -23.9502h-64c-17.6729 0 -32 14.3271 -32 32v240c0 17.6729 14.3271 32 32 32h98.7598c19.1455 16.9531 46.0137 60.6533 68.7598 83.4004
267
271
  c13.667 13.667 10.1533 108.6 71.7607 108.6c57.5801 0 95.2695 -31.9355 95.2695 -104.73c0 -18.4092 -3.92969 -33.7295 -8.84961 -46.5391h36.4795c48.6025 0 85.8203 -41.5654 85.8203 -85.5801c0 -19.1504 -4.95996 -34.9902 -13.7305 -49.8408zM404.52 107.48
268
272
  c21.5811 20.3838 18.6992 51.0645 5.21094 65.6191c9.44922 0 22.3594 18.9102 22.2695 37.8105c-0.0898438 18.9102 -16.71 37.8203 -37.8203 37.8203h-103.989c0 37.8193 28.3594 55.3691 28.3594 94.5391c0 23.75 0 56.7305 -47.2695 56.7305
269
273
  c-18.9102 -18.9102 -9.45996 -66.1797 -37.8203 -94.54c-26.5596 -26.5703 -66.1797 -97.46 -94.54 -97.46h-10.9199v-186.17c53.6113 0 100.001 -37.8203 171.64 -37.8203h37.8203c35.5117 0 60.8203 17.1201 53.1201 65.9004
270
274
  c15.2002 8.16016 26.5 36.4395 13.9395 57.5703zM88 16c0 13.2549 -10.7451 24 -24 24s-24 -10.7451 -24 -24s10.7451 -24 24 -24s24 10.7451 24 24z" />
271
- <glyph glyph-name="thumbs-down" unicode="&#xf165;" horiz-adv-x="480"
275
+ <glyph glyph-name="thumbs-down" unicode="&#xf165;"
272
276
  d="M466.27 222.69c8.77051 -14.8506 13.7305 -30.6904 13.7305 -49.8408c0 -44.0146 -37.2178 -85.5801 -85.8203 -85.5801h-36.4795c4.91992 -12.8096 8.84961 -28.1299 8.84961 -46.5391c0 -72.7949 -37.6895 -104.73 -95.2695 -104.73
273
277
  c-61.6074 0 -58.0938 94.9326 -71.7607 108.6c-22.7461 22.7471 -49.6133 66.4473 -68.7598 83.4004h-7.05176c-5.5332 -9.56152 -15.8662 -16 -27.708 -16h-64c-17.6729 0 -32 14.3271 -32 32v240c0 17.6729 14.3271 32 32 32h64c8.11328 0 15.5146 -3.02539 21.1553 -8
274
278
  h10.8447c40.9971 0 73.1953 39.9902 176.78 39.9902c7.21973 0 15.2197 0.00976562 22.2197 0.00976562c77.1172 0 111.986 -39.4229 112.94 -95.3301c13.3184 -18.4248 20.2979 -43.1221 17.3398 -66.9902c9.85352 -18.4521 13.6641 -40.3428 8.98926 -62.9893zM64 152
@@ -282,7 +286,7 @@ c-11.0996 7.5 -17.7998 20 -17.7998 33.5s6.59961 26 17.7998 33.5996l59.7998 40.5l
282
286
  l40.4004 -59.8994l70.8994 13.6992c13 2.60059 26.6006 -1.59961 36.2002 -11.0996c9.5 -9.59961 13.7002 -23.2002 11.0996 -36.4004l-13.6992 -71zM381.3 140.5l76.7998 52.0996l-76.7998 52l17.6006 91.1006l-91 -17.6006l-51.9004 76.9004l-51.7998 -76.7998
283
287
  l-91 17.5996l17.5996 -91.2002l-76.7998 -52l76.7998 -52l-17.5996 -91.1992l90.8994 17.5996l51.9004 -77l51.9004 76.9004l91 -17.6006zM256 296c57.2998 0 104 -46.7002 104 -104s-46.7002 -104 -104 -104s-104 46.7002 -104 104s46.7002 104 104 104zM256 136
284
288
  c30.9004 0 56 25.0996 56 56s-25.0996 56 -56 56s-56 -25.0996 -56 -56s25.0996 -56 56 -56z" />
285
- <glyph glyph-name="moon" unicode="&#xf186;" horiz-adv-x="511"
289
+ <glyph glyph-name="moon" unicode="&#xf186;"
286
290
  d="M279.135 -64c-141.424 0 -256 114.64 -256 256c0 141.425 114.641 256 256 256c13.0068 -0.00195312 33.9443 -1.91797 46.7354 -4.27734c44.0205 -8.13086 53.7666 -66.8691 15.0215 -88.9189c-41.374 -23.5439 -67.4336 -67.4121 -67.4336 -115.836
287
291
  c0 -83.5234 75.9238 -146.475 158.272 -130.792c43.6904 8.32129 74.5186 -42.5693 46.248 -77.4004c-47.8613 -58.9717 -120.088 -94.7754 -198.844 -94.7754zM279.135 400c-114.875 0 -208 -93.125 -208 -208s93.125 -208 208 -208
288
292
  c65.2314 0 123.439 30.0361 161.575 77.0244c-111.611 -21.2568 -215.252 64.0957 -215.252 177.943c0 67.5127 36.9326 126.392 91.6934 157.555c-12.3271 2.27637 -25.0312 3.47754 -38.0166 3.47754z" />
@@ -730,7 +734,7 @@ c-3.69922 0 -7 2.60059 -7.7998 6.2002c-0.899414 3.7998 1.10059 7.7002 4.7002 9.2
730
734
  c12.9004 5.5 20.7002 13.5 20.7002 21.5s-7.7998 16 -20.7998 21.5l-16.9004 7.19922c-3.59961 1.5 -5.59961 5.40039 -4.7002 9.2002c0.799805 3.7998 4.40039 6.60059 8.2002 6.2002c42.7002 -2.5 71.5 -24.7998 71.5 -44zM328 296
731
735
  c23.7998 0 52.7002 -29.2998 55.7998 -71.4004c0.299805 -3.7998 -2 -7.19922 -5.59961 -8.2998c-3.10059 -1 -7.2002 0 -9.2998 3.7002l-9.5 17c-7.7002 13.7002 -19.2002 21.5996 -31.5 21.5996c-12.3008 0 -23.8008 -7.89941 -31.5 -21.5996l-9.5 -17
732
736
  c-1.80078 -3.2002 -5.80078 -4.7002 -9.30078 -3.7002c-3.59961 1.10059 -5.89941 4.60059 -5.59961 8.2998c3.2998 42.1006 32.2002 71.4004 56 71.4004z" />
733
- <glyph glyph-name="kiss-wink-heart" unicode="&#xf598;" horiz-adv-x="503"
737
+ <glyph glyph-name="kiss-wink-heart" unicode="&#xf598;" horiz-adv-x="504"
734
738
  d="M304 139.5c0 -13 -13.4004 -27.2998 -35.0996 -36.4004c21.7998 -8.69922 35.1992 -23 35.1992 -36c0 -19.1992 -28.6992 -41.5 -71.5 -44h-0.5c-3.69922 0 -7 2.60059 -7.7998 6.2002c-0.899414 3.7998 1.10059 7.7002 4.7002 9.2002l17 7.2002
735
739
  c12.9004 5.5 20.7002 13.5 20.7002 21.5s-7.7998 16 -20.7998 21.5l-16.9004 7.2002c-6 2.59961 -5.7002 12.3994 0 14.7998l17 7.2002c12.9004 5.5 20.7002 13.5 20.7002 21.5s-7.7998 16 -20.7998 21.5l-16.9004 7.19922c-3.59961 1.5 -5.59961 5.40039 -4.7002 9.2002
736
740
  c0.799805 3.7998 4.40039 6.60059 8.2002 6.2002c42.7002 -2.5 71.5 -24.7998 71.5 -44zM374.5 223c-14.7998 13.2002 -46.2002 13.2002 -61 0l-9.5 -8.5c-2.5 -2.2998 -7.90039 -4.7002 -13.7002 -1.59961c-4.39941 2.39941 -6.89941 7.39941 -6.09961 12.3994
@@ -16,7 +16,6 @@ $.isWindow = $.isWindow || function(obj) {
16
16
  return obj != null && obj === obj.window;
17
17
  };
18
18
 
19
- var
20
19
  window = (typeof window != 'undefined' && window.Math == Math)
21
20
  ? window
22
21
  : (typeof self != 'undefined' && self.Math == Math)
@@ -133,7 +133,9 @@ $.fn.calendar = function(parameters) {
133
133
  if (!$container.length) {
134
134
  //prepend the popup element to the activator's parent so that it has less chance of messing with
135
135
  //the styling (eg input action button needs to be the last child to have correct border radius)
136
- $container = $('<div/>').addClass(className.popup).prependTo($activator.parent());
136
+ var $activatorParent = $activator.parent(),
137
+ domPositionFunction = $activatorParent.closest(selector.append).length !== 0 ? 'appendTo' : 'prependTo';
138
+ $container = $('<div/>').addClass(className.popup)[domPositionFunction]($activatorParent);
137
139
  }
138
140
  $container.addClass(className.calendar);
139
141
  var onVisible = settings.onVisible;
@@ -504,17 +506,18 @@ $.fn.calendar = function(parameters) {
504
506
  }
505
507
  },
506
508
  keydown: function (event) {
507
- if (event.keyCode === 27 || event.keyCode === 9) {
509
+ var keyCode = event.which;
510
+ if (keyCode === 27 || keyCode === 9) {
508
511
  //esc || tab
509
512
  module.popup('hide');
510
513
  }
511
514
 
512
515
  if (module.popup('is visible')) {
513
- if (event.keyCode === 37 || event.keyCode === 38 || event.keyCode === 39 || event.keyCode === 40) {
516
+ if (keyCode === 37 || keyCode === 38 || keyCode === 39 || keyCode === 40) {
514
517
  //arrow keys
515
518
  var mode = module.get.mode();
516
519
  var bigIncrement = mode === 'day' ? 7 : mode === 'hour' ? 4 : mode === 'minute' ? timeGap['column'] : 3;
517
- var increment = event.keyCode === 37 ? -1 : event.keyCode === 38 ? -bigIncrement : event.keyCode == 39 ? 1 : bigIncrement;
520
+ var increment = keyCode === 37 ? -1 : keyCode === 38 ? -bigIncrement : keyCode == 39 ? 1 : bigIncrement;
518
521
  increment *= mode === 'minute' ? settings.minTimeGap : 1;
519
522
  var focusDate = module.get.focusDate() || module.get.date() || new Date();
520
523
  var year = focusDate.getFullYear() + (mode === 'year' ? increment : 0);
@@ -529,7 +532,7 @@ $.fn.calendar = function(parameters) {
529
532
  if (module.helper.isDateInRange(newFocusDate, mode)) {
530
533
  module.set.focusDate(newFocusDate);
531
534
  }
532
- } else if (event.keyCode === 13) {
535
+ } else if (keyCode === 13) {
533
536
  //enter
534
537
  var mode = module.get.mode();
535
538
  var date = module.get.focusDate();
@@ -542,7 +545,7 @@ $.fn.calendar = function(parameters) {
542
545
  }
543
546
  }
544
547
 
545
- if (event.keyCode === 38 || event.keyCode === 40) {
548
+ if (keyCode === 38 || keyCode === 40) {
546
549
  //arrow-up || arrow-down
547
550
  event.preventDefault(); //don't scroll
548
551
  module.popup('show');
@@ -771,7 +774,7 @@ $.fn.calendar = function(parameters) {
771
774
  },
772
775
 
773
776
  selectDate: function (date, forceSet) {
774
- module.verbose('New date selection', date)
777
+ module.verbose('New date selection', date);
775
778
  var mode = module.get.mode();
776
779
  var complete = forceSet || mode === 'minute' ||
777
780
  (settings.disableMinute && mode === 'hour') ||
@@ -832,22 +835,28 @@ $.fn.calendar = function(parameters) {
832
835
  helper: {
833
836
  isDisabled: function(date, mode) {
834
837
  return mode === 'day' && ((settings.disabledDaysOfWeek.indexOf(date.getDay()) !== -1) || settings.disabledDates.some(function(d){
838
+ if(typeof d === 'string') {
839
+ d = module.helper.sanitiseDate(d);
840
+ }
835
841
  if (d instanceof Date) {
836
842
  return module.helper.dateEqual(date, d, mode);
837
843
  }
838
- if (d !== null && typeof d === 'object') {
839
- return module.helper.dateEqual(date, d[metadata.date], mode);
844
+ if (d !== null && typeof d === 'object' && d[metadata.date]) {
845
+ return module.helper.dateEqual(date, module.helper.sanitiseDate(d[metadata.date]), mode);
840
846
  }
841
847
  }));
842
848
  },
843
849
  isEnabled: function(date, mode) {
844
850
  if (mode === 'day') {
845
- return settings.enabledDates.length == 0 || settings.enabledDates.some(function(d){
851
+ return settings.enabledDates.length === 0 || settings.enabledDates.some(function(d){
852
+ if(typeof d === 'string') {
853
+ d = module.helper.sanitiseDate(d);
854
+ }
846
855
  if (d instanceof Date) {
847
856
  return module.helper.dateEqual(date, d, mode);
848
857
  }
849
- if (d !== null && typeof d === 'object') {
850
- return module.helper.dateEqual(date, d[metadata.date], mode);
858
+ if (d !== null && typeof d === 'object' && d[metadata.date]) {
859
+ return module.helper.dateEqual(date, module.helper.sanitiseDate(d[metadata.date]), mode);
851
860
  }
852
861
  });
853
862
  } else {
@@ -860,12 +869,15 @@ $.fn.calendar = function(parameters) {
860
869
  var d;
861
870
  for (; i < il; i++) {
862
871
  d = dates[i];
872
+ if(typeof d === 'string') {
873
+ d = module.helper.sanitiseDate(d);
874
+ }
863
875
  if (d instanceof Date && module.helper.dateEqual(date, d, mode)) {
864
876
  var dateObject = {};
865
877
  dateObject[metadata.date] = d;
866
878
  return dateObject;
867
879
  }
868
- else if (d !== null && typeof d === 'object' && d[metadata.date] && module.helper.dateEqual(date, d[metadata.date], mode) ) {
880
+ else if (d !== null && typeof d === 'object' && d[metadata.date] && module.helper.dateEqual(date,module.helper.sanitiseDate(d[metadata.date]), mode) ) {
869
881
  return d;
870
882
  }
871
883
  }
@@ -1264,6 +1276,10 @@ $.fn.calendar.settings = {
1264
1276
  if (text.length === 0) {
1265
1277
  return null;
1266
1278
  }
1279
+ var textDate = new Date(text);
1280
+ if(!isNaN(textDate.getDate())) {
1281
+ return textDate;
1282
+ }
1267
1283
 
1268
1284
  var i, j, k;
1269
1285
  var minute = -1, hour = -1, day = -1, month = -1, year = -1;
@@ -1490,7 +1506,8 @@ $.fn.calendar.settings = {
1490
1506
  selector: {
1491
1507
  popup: '.ui.popup',
1492
1508
  input: 'input',
1493
- activator: 'input'
1509
+ activator: 'input',
1510
+ append: '.inline.field,.inline.fields'
1494
1511
  },
1495
1512
 
1496
1513
  regExp: {
@@ -181,7 +181,7 @@ $.fn.dropdown = function(parameters) {
181
181
  },
182
182
  observe: {
183
183
  select: function() {
184
- if(module.has.input()) {
184
+ if(module.has.input() && selectObserver) {
185
185
  selectObserver.observe($module[0], {
186
186
  childList : true,
187
187
  subtree : true
@@ -189,7 +189,7 @@ $.fn.dropdown = function(parameters) {
189
189
  }
190
190
  },
191
191
  menu: function() {
192
- if(module.has.menu()) {
192
+ if(module.has.menu() && menuObserver) {
193
193
  menuObserver.observe($menu[0], {
194
194
  childList : true,
195
195
  subtree : true
@@ -679,7 +679,7 @@ $.fn.embed.settings = {
679
679
  return ''
680
680
  + '<iframe src="' + src + '"'
681
681
  + ' width="100%" height="100%"'
682
- + ' frameborder="0" scrolling="no" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'
682
+ + ' webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'
683
683
  ;
684
684
  },
685
685
  placeholder : function(image, icon) {
@@ -298,9 +298,10 @@ $.fn.form = function(parameters) {
298
298
  } else {
299
299
  module.set.clean();
300
300
  }
301
-
302
- if (e) {
301
+
302
+ if (e && e.namespace === 'dirty') {
303
303
  e.stopImmediatePropagation();
304
+ e.preventDefault();
304
305
  }
305
306
  }
306
307
  },
@@ -909,7 +910,7 @@ $.fn.form = function(parameters) {
909
910
  return;
910
911
  }
911
912
  $.each(validation[field].rules, function(index, rule) {
912
- if(rules.indexOf(rule.type) !== -1) {
913
+ if(rule && rules.indexOf(rule.type) !== -1) {
913
914
  module.debug('Removed rule', rule.type);
914
915
  validation[field].rules.splice(index, 1);
915
916
  }
@@ -773,11 +773,11 @@ $.fn.popup = function(parameters) {
773
773
  if(module.should.centerArrow(calculations)) {
774
774
  module.verbose('Adjusting offset to center arrow on small target element');
775
775
  if(position == 'top left' || position == 'bottom left') {
776
- offset += (target.width / 2)
776
+ offset += (target.width / 2);
777
777
  offset -= settings.arrowPixelsFromEdge;
778
778
  }
779
779
  if(position == 'top right' || position == 'bottom right') {
780
- offset -= (target.width / 2)
780
+ offset -= (target.width / 2);
781
781
  offset += settings.arrowPixelsFromEdge;
782
782
  }
783
783
  }
@@ -71,9 +71,43 @@ $.fn.progress = function(parameters) {
71
71
  helper: {
72
72
  sum: function (nums) {
73
73
  return Array.isArray(nums) ? nums.reduce(function (left, right) {
74
- return left + right;
74
+ return left + Number(right);
75
75
  }, 0) : 0;
76
76
  },
77
+ /**
78
+ * Derive precision for multiple progress with total and values.
79
+ *
80
+ * This helper dervices a precision that is sufficiently large to show minimum value of multiple progress.
81
+ *
82
+ * Example1
83
+ * - total: 1122
84
+ * - values: [325, 111, 74, 612]
85
+ * - min ratio: 74/1122 = 0.0659...
86
+ * - required precision: 100
87
+ *
88
+ * Example2
89
+ * - total: 10541
90
+ * - values: [3235, 1111, 74, 6121]
91
+ * - min ratio: 74/10541 = 0.0070...
92
+ * - required precision: 1000
93
+ *
94
+ * @param min A minimum value within multiple values
95
+ * @param total A total amount of multiple values
96
+ * @returns {number} A precison. Could be 1, 10, 100, ... 1e+10.
97
+ */
98
+ derivePrecision: function(min, total) {
99
+ var precisionPower = 0
100
+ var precision = 1;
101
+ var ratio = min / total;
102
+ while (precisionPower < 10) {
103
+ ratio = ratio * precision;
104
+ if (ratio > 1) {
105
+ break;
106
+ }
107
+ precision = Math.pow(10, precisionPower++);
108
+ }
109
+ return precision;
110
+ },
77
111
  forceArray: function (element) {
78
112
  return Array.isArray(element)
79
113
  ? element
@@ -411,52 +445,43 @@ $.fn.progress = function(parameters) {
411
445
  barWidth: function(values) {
412
446
  module.debug("set bar width with ", values);
413
447
  values = module.helper.forceArray(values);
414
- var total = module.helper.sum(values);
415
- if(total > 100) {
416
- module.error(error.tooHigh, total);
417
- }
418
- else if (total < 0) {
419
- module.error(error.tooLow, total);
420
- }
421
- else {
422
- var firstNonZeroIndex = -1;
423
- var lastNonZeroIndex = -1;
424
- var valuesSum = module.helper.sum(values);
425
- var barCounts = $bars.length;
426
- var isMultiple = barCounts > 1;
427
- var percents = values.map(function(value, index) {
428
- var allZero = (index === barCounts - 1 && valuesSum === 0);
429
- var $bar = $($bars[index]);
430
- if (value === 0 && isMultiple && !allZero) {
431
- $bar.css('display', 'none');
432
- } else {
433
- if (isMultiple && allZero) {
434
- $bar.css('background', 'transparent');
435
- }
436
- if (firstNonZeroIndex == -1) {
437
- firstNonZeroIndex = index;
438
- }
439
- lastNonZeroIndex = index;
440
- $bar.css({
441
- display: 'block',
442
- width: value + '%'
443
- });
448
+ var firstNonZeroIndex = -1;
449
+ var lastNonZeroIndex = -1;
450
+ var valuesSum = module.helper.sum(values);
451
+ var barCounts = $bars.length;
452
+ var isMultiple = barCounts > 1;
453
+ var percents = values.map(function(value, index) {
454
+ var allZero = (index === barCounts - 1 && valuesSum === 0);
455
+ var $bar = $($bars[index]);
456
+ if (value === 0 && isMultiple && !allZero) {
457
+ $bar.css('display', 'none');
458
+ } else {
459
+ if (isMultiple && allZero) {
460
+ $bar.css('background', 'transparent');
444
461
  }
445
- return parseInt(value, 10);
446
- });
447
- values.forEach(function(_, index) {
448
- var $bar = $($bars[index]);
462
+ if (firstNonZeroIndex == -1) {
463
+ firstNonZeroIndex = index;
464
+ }
465
+ lastNonZeroIndex = index;
449
466
  $bar.css({
450
- borderTopLeftRadius: index == firstNonZeroIndex ? '' : 0,
451
- borderBottomLeftRadius: index == firstNonZeroIndex ? '' : 0,
452
- borderTopRightRadius: index == lastNonZeroIndex ? '' : 0,
453
- borderBottomRightRadius: index == lastNonZeroIndex ? '' : 0
467
+ display: 'block',
468
+ width: value + '%'
454
469
  });
470
+ }
471
+ return parseInt(value, 10);
472
+ });
473
+ values.forEach(function(_, index) {
474
+ var $bar = $($bars[index]);
475
+ $bar.css({
476
+ borderTopLeftRadius: index == firstNonZeroIndex ? '' : 0,
477
+ borderBottomLeftRadius: index == firstNonZeroIndex ? '' : 0,
478
+ borderTopRightRadius: index == lastNonZeroIndex ? '' : 0,
479
+ borderBottomRightRadius: index == lastNonZeroIndex ? '' : 0
455
480
  });
456
- $module
457
- .attr('data-percent', percents)
458
- ;
459
- }
481
+ });
482
+ $module
483
+ .attr('data-percent', percents)
484
+ ;
460
485
  },
461
486
  duration: function(duration) {
462
487
  duration = duration || settings.duration;
@@ -478,34 +503,54 @@ $.fn.progress = function(parameters) {
478
503
  : percent
479
504
  ;
480
505
  });
481
- // round display percentage
482
- percents = percents.map(function(percent){
483
- return (settings.precision > 0)
484
- ? Math.round(percent * (10 * settings.precision)) / (10 * settings.precision)
485
- : Math.round(percent)
486
- ;
487
- });
488
- module.percent = percents;
489
- if( !module.has.total() ) {
490
- module.value = percents.map(function(percent){
491
- return (settings.precision > 0)
492
- ? Math.round( (percent / 100) * module.total * (10 * settings.precision)) / (10 * settings.precision)
493
- : Math.round( (percent / 100) * module.total * 10) / 10
494
- ;
506
+ var hasTotal = module.has.total();
507
+ var totalPecent = module.helper.sum(percents);
508
+ var isMultpleValues = percents.length > 1 && hasTotal;
509
+ var sumTotal = module.helper.sum(module.helper.forceArray(module.value));
510
+ if (isMultpleValues && sumTotal > module.total) {
511
+ // Sum values instead of pecents to avoid precision issues when summing floats
512
+ module.error(error.sumExceedsTotal, sumTotal, module.total);
513
+ } else if (!isMultpleValues && totalPecent > 100) {
514
+ // Sum before rouding since sum of rounded may have error though sum of actual is fine
515
+ module.error(error.tooHigh, totalPecent);
516
+ } else if (totalPecent < 0) {
517
+ module.error(error.tooLow, totalPecent);
518
+ } else {
519
+ var autoPrecision = settings.precision > 0
520
+ ? settings.precision
521
+ : isMultpleValues
522
+ ? module.helper.derivePrecision(Math.min.apply(null, module.value), module.total)
523
+ : undefined;
524
+
525
+ // round display percentage
526
+ percents = percents.map(function (percent) {
527
+ return (autoPrecision > 0)
528
+ ? Math.round(percent * (10 * autoPrecision)) / (10 * autoPrecision)
529
+ : Math.round(percent)
530
+ ;
495
531
  });
496
- if(settings.limitValues) {
497
- module.value = module.value.map(function(value) {
498
- return (value > 100)
499
- ? 100
500
- : (module.value < 0)
501
- ? 0
502
- : module.value;
532
+ module.percent = percents;
533
+ if (!hasTotal) {
534
+ module.value = percents.map(function (percent) {
535
+ return (autoPrecision > 0)
536
+ ? Math.round((percent / 100) * module.total * (10 * autoPrecision)) / (10 * autoPrecision)
537
+ : Math.round((percent / 100) * module.total * 10) / 10
538
+ ;
503
539
  });
540
+ if (settings.limitValues) {
541
+ module.value = module.value.map(function (value) {
542
+ return (value > 100)
543
+ ? 100
544
+ : (module.value < 0)
545
+ ? 0
546
+ : module.value;
547
+ });
548
+ }
504
549
  }
550
+ module.set.barWidth(percents);
551
+ module.set.labelInterval();
552
+ module.set.labels();
505
553
  }
506
- module.set.barWidth(percents);
507
- module.set.labelInterval();
508
- module.set.labels();
509
554
  settings.onChange.call(element, percents, module.value, module.total);
510
555
  },
511
556
  labelInterval: function() {
@@ -550,7 +595,7 @@ $.fn.progress = function(parameters) {
550
595
  : module.helper.sum(module.percent)
551
596
  ;
552
597
  if(percent === 100) {
553
- if(settings.autoSuccess && !(module.is.warning() || module.is.error() || module.is.success())) {
598
+ if(settings.autoSuccess && $bars.length === 1 && !(module.is.warning() || module.is.error() || module.is.success())) {
554
599
  module.set.success();
555
600
  module.debug('Automatically triggering success at 100%');
556
601
  }
@@ -946,10 +991,11 @@ $.fn.progress.settings = {
946
991
  onWarning : function(value, total){},
947
992
 
948
993
  error : {
949
- method : 'The method you called is not defined.',
950
- nonNumeric : 'Progress value is non numeric',
951
- tooHigh : 'Value specified is above 100%',
952
- tooLow : 'Value specified is below 0%'
994
+ method : 'The method you called is not defined.',
995
+ nonNumeric : 'Progress value is non numeric',
996
+ tooHigh : 'Value specified is above 100%',
997
+ tooLow : 'Value specified is below 0%',
998
+ sumExceedsTotal : 'Sum of multple values exceed total',
953
999
  },
954
1000
 
955
1001
  regExp: {