fomantic-ui 2.9.1-beta.2 → 2.9.1-beta.21
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/.eslintrc.js +111 -0
- package/.github/workflows/ci.yml +14 -4
- package/.stylelintrc.js +59 -0
- package/dist/components/accordion.css +19 -26
- package/dist/components/accordion.js +568 -595
- package/dist/components/accordion.min.css +1 -1
- package/dist/components/accordion.min.js +2 -2
- package/dist/components/ad.css +31 -41
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +1156 -1179
- package/dist/components/api.min.js +2 -2
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +71 -106
- package/dist/components/button.min.css +1 -1
- package/dist/components/calendar.css +18 -16
- package/dist/components/calendar.js +1902 -1809
- package/dist/components/calendar.min.css +2 -2
- package/dist/components/calendar.min.js +2 -2
- package/dist/components/card.css +83 -115
- package/dist/components/card.min.css +1 -1
- package/dist/components/checkbox.css +47 -64
- package/dist/components/checkbox.js +842 -841
- package/dist/components/checkbox.min.css +1 -1
- package/dist/components/checkbox.min.js +2 -2
- package/dist/components/comment.css +37 -51
- package/dist/components/comment.min.css +1 -1
- package/dist/components/container.css +6 -5
- package/dist/components/container.min.css +2 -2
- package/dist/components/dimmer.css +31 -41
- package/dist/components/dimmer.js +708 -737
- package/dist/components/dimmer.min.css +1 -1
- package/dist/components/dimmer.min.js +2 -2
- package/dist/components/divider.css +32 -44
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +129 -166
- package/dist/components/dropdown.js +4161 -4234
- package/dist/components/dropdown.min.css +2 -2
- package/dist/components/dropdown.min.js +2 -2
- package/dist/components/embed.css +13 -19
- package/dist/components/embed.js +651 -675
- package/dist/components/embed.min.css +1 -1
- package/dist/components/embed.min.js +2 -2
- package/dist/components/emoji.css +7 -6
- package/dist/components/feed.css +24 -32
- package/dist/components/feed.min.css +1 -1
- package/dist/components/flag.css +5 -3
- package/dist/components/flag.min.css +1 -1
- package/dist/components/flyout.css +44 -58
- package/dist/components/flyout.js +1464 -1465
- package/dist/components/flyout.min.css +2 -2
- package/dist/components/flyout.min.js +2 -2
- package/dist/components/form.css +85 -111
- package/dist/components/form.js +1979 -2004
- package/dist/components/form.min.css +1 -1
- package/dist/components/form.min.js +2 -2
- package/dist/components/grid.css +70 -96
- package/dist/components/grid.min.css +1 -1
- package/dist/components/header.css +47 -65
- package/dist/components/header.min.css +1 -1
- package/dist/components/icon.css +45 -66
- package/dist/components/icon.min.css +2 -2
- package/dist/components/image.css +32 -42
- package/dist/components/image.min.css +1 -1
- package/dist/components/input.css +182 -65
- package/dist/components/input.min.css +2 -2
- package/dist/components/item.css +55 -77
- package/dist/components/item.min.css +1 -1
- package/dist/components/label.css +68 -91
- package/dist/components/label.min.css +2 -2
- package/dist/components/list.css +44 -59
- package/dist/components/list.min.css +1 -1
- package/dist/components/loader.css +16 -22
- package/dist/components/loader.min.css +1 -1
- package/dist/components/menu.css +126 -186
- package/dist/components/message.css +25 -35
- package/dist/components/message.min.css +1 -1
- package/dist/components/modal.css +39 -40
- package/dist/components/modal.js +1491 -1485
- package/dist/components/modal.min.css +2 -2
- package/dist/components/modal.min.js +2 -2
- package/dist/components/nag.css +21 -28
- package/dist/components/nag.js +518 -526
- package/dist/components/nag.min.css +2 -2
- package/dist/components/nag.min.js +2 -2
- package/dist/components/placeholder.css +10 -12
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +352 -59
- package/dist/components/popup.js +1437 -1456
- package/dist/components/popup.min.css +2 -2
- package/dist/components/popup.min.js +2 -2
- package/dist/components/progress.css +29 -39
- package/dist/components/progress.js +969 -997
- package/dist/components/progress.min.css +1 -1
- package/dist/components/progress.min.js +2 -2
- package/dist/components/rail.css +15 -20
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +9 -13
- package/dist/components/rating.js +505 -523
- package/dist/components/rating.min.css +1 -1
- package/dist/components/rating.min.js +2 -2
- package/dist/components/reset.css +1 -1
- package/dist/components/reset.min.css +1 -1
- package/dist/components/reveal.css +19 -26
- package/dist/components/reveal.min.css +1 -1
- package/dist/components/search.css +43 -58
- package/dist/components/search.js +1498 -1534
- package/dist/components/search.min.css +2 -2
- package/dist/components/search.min.js +2 -2
- package/dist/components/segment.css +64 -83
- package/dist/components/segment.min.css +2 -2
- package/dist/components/shape.css +10 -14
- package/dist/components/shape.js +792 -809
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +2 -2
- package/dist/components/sidebar.css +43 -58
- package/dist/components/sidebar.js +1071 -1098
- package/dist/components/sidebar.min.css +2 -2
- package/dist/components/sidebar.min.js +2 -2
- package/dist/components/site.css +5 -5
- package/dist/components/site.js +462 -476
- package/dist/components/site.min.css +1 -1
- package/dist/components/site.min.js +2 -2
- package/dist/components/slider.css +27 -37
- package/dist/components/slider.js +1287 -1306
- package/dist/components/slider.min.js +2 -2
- package/dist/components/state.js +639 -657
- package/dist/components/state.min.js +2 -2
- package/dist/components/statistic.css +32 -41
- package/dist/components/statistic.min.css +2 -2
- package/dist/components/step.css +26 -35
- package/dist/components/step.min.css +1 -1
- package/dist/components/sticky.css +1 -1
- package/dist/components/sticky.js +857 -902
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +2 -2
- package/dist/components/tab.css +6 -8
- package/dist/components/tab.js +922 -963
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +2 -2
- package/dist/components/table.css +93 -119
- package/dist/components/table.min.css +2 -2
- package/dist/components/text.css +1 -1
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +4 -6
- package/dist/components/toast.js +886 -887
- package/dist/components/toast.min.css +1 -1
- package/dist/components/toast.min.js +2 -2
- package/dist/components/transition.css +179 -42
- package/dist/components/transition.js +1041 -1077
- package/dist/components/transition.min.css +2 -2
- package/dist/components/transition.min.js +2 -2
- package/dist/components/visibility.js +1220 -1244
- package/dist/components/visibility.min.js +2 -2
- package/dist/semantic.css +2558 -1807
- package/dist/semantic.js +28960 -29413
- package/dist/semantic.min.css +2 -2
- package/dist/semantic.min.js +2 -2
- package/dist/themes/default/assets/fonts/Lato-Bold.woff +0 -0
- package/dist/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
- package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
- package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
- package/dist/themes/default/assets/fonts/Lato-Italic.woff +0 -0
- package/dist/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
- package/dist/themes/default/assets/fonts/Lato-Regular.woff +0 -0
- package/dist/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
- package/examples/assets/show-examples.js +13 -13
- package/gulpfile.js +9 -10
- package/package.json +13 -8
- package/scripts/nightly-version.js +81 -75
- package/src/_site/collections/menu.overrides +1 -1
- package/src/_site/elements/flag.variables +2 -2
- package/src/_site/globals/site.variables +1 -1
- package/src/definitions/behaviors/api.js +1157 -1180
- package/src/definitions/behaviors/form.js +1978 -2003
- package/src/definitions/behaviors/state.js +645 -663
- package/src/definitions/behaviors/visibility.js +1219 -1243
- package/src/definitions/collections/breadcrumb.less +41 -45
- package/src/definitions/collections/form.less +864 -882
- package/src/definitions/collections/grid.less +1689 -1697
- package/src/definitions/collections/menu.less +1490 -1508
- package/src/definitions/collections/message.less +292 -295
- package/src/definitions/collections/table.less +1616 -1620
- package/src/definitions/elements/button.less +1710 -1754
- package/src/definitions/elements/container.less +209 -209
- package/src/definitions/elements/divider.less +200 -209
- package/src/definitions/elements/emoji.less +38 -45
- package/src/definitions/elements/flag.less +44 -46
- package/src/definitions/elements/header.less +337 -345
- package/src/definitions/elements/icon.less +516 -451
- package/src/definitions/elements/image.less +219 -225
- package/src/definitions/elements/input.less +657 -663
- package/src/definitions/elements/label.less +783 -804
- package/src/definitions/elements/list.less +808 -812
- package/src/definitions/elements/loader.less +269 -266
- package/src/definitions/elements/placeholder.less +171 -168
- package/src/definitions/elements/rail.less +91 -91
- package/src/definitions/elements/reveal.less +190 -196
- package/src/definitions/elements/segment.less +738 -747
- package/src/definitions/elements/step.less +424 -435
- package/src/definitions/elements/text.less +32 -34
- package/src/definitions/globals/reset.less +9 -6
- package/src/definitions/globals/site.js +461 -475
- package/src/definitions/globals/site.less +106 -108
- package/src/definitions/modules/accordion.js +567 -594
- package/src/definitions/modules/accordion.less +242 -246
- package/src/definitions/modules/calendar.js +1901 -1808
- package/src/definitions/modules/calendar.less +98 -95
- package/src/definitions/modules/checkbox.js +841 -840
- package/src/definitions/modules/checkbox.less +524 -545
- package/src/definitions/modules/dimmer.js +707 -736
- package/src/definitions/modules/dimmer.less +300 -303
- package/src/definitions/modules/dropdown.js +4160 -4233
- package/src/definitions/modules/dropdown.less +1570 -1596
- package/src/definitions/modules/embed.js +650 -674
- package/src/definitions/modules/embed.less +80 -82
- package/src/definitions/modules/flyout.js +1463 -1464
- package/src/definitions/modules/flyout.less +444 -454
- package/src/definitions/modules/modal.js +1490 -1484
- package/src/definitions/modules/modal.less +459 -465
- package/src/definitions/modules/nag.js +517 -525
- package/src/definitions/modules/nag.less +134 -147
- package/src/definitions/modules/popup.js +1436 -1455
- package/src/definitions/modules/popup.less +733 -690
- package/src/definitions/modules/progress.js +968 -996
- package/src/definitions/modules/progress.less +521 -497
- package/src/definitions/modules/rating.js +504 -522
- package/src/definitions/modules/rating.less +94 -101
- package/src/definitions/modules/search.js +1497 -1533
- package/src/definitions/modules/search.less +373 -392
- package/src/definitions/modules/shape.js +791 -808
- package/src/definitions/modules/shape.less +68 -77
- package/src/definitions/modules/sidebar.js +1070 -1097
- package/src/definitions/modules/sidebar.less +462 -474
- package/src/definitions/modules/slider.js +1286 -1305
- package/src/definitions/modules/slider.less +307 -308
- package/src/definitions/modules/sticky.js +873 -918
- package/src/definitions/modules/sticky.less +22 -23
- package/src/definitions/modules/tab.js +921 -962
- package/src/definitions/modules/tab.less +46 -52
- package/src/definitions/modules/toast.js +885 -886
- package/src/definitions/modules/toast.less +584 -586
- package/src/definitions/modules/transition.js +1040 -1076
- package/src/definitions/modules/transition.less +62 -28
- package/src/definitions/views/ad.less +205 -206
- package/src/definitions/views/card.less +963 -969
- package/src/definitions/views/comment.less +190 -198
- package/src/definitions/views/feed.less +220 -224
- package/src/definitions/views/item.less +435 -446
- package/src/definitions/views/statistic.less +271 -277
- package/src/theme.less +29 -32
- package/src/themes/amazon/elements/button.overrides +23 -24
- package/src/themes/amazon/elements/button.variables +11 -11
- package/src/themes/amazon/globals/site.variables +2 -3
- package/src/themes/basic/collections/table.overrides +0 -1
- package/src/themes/basic/collections/table.variables +3 -3
- package/src/themes/basic/elements/button.overrides +0 -1
- package/src/themes/basic/elements/button.variables +2 -2
- package/src/themes/basic/elements/icon.overrides +12 -13
- package/src/themes/basic/elements/icon.variables +13 -13
- package/src/themes/basic/elements/step.overrides +2 -2
- package/src/themes/basic/elements/step.variables +2 -2
- package/src/themes/basic/globals/reset.overrides +1 -1
- package/src/themes/basic/globals/reset.variables +1 -1
- package/src/themes/basic/views/card.overrides +0 -1
- package/src/themes/basic/views/card.variables +3 -3
- package/src/themes/bookish/elements/header.overrides +3 -3
- package/src/themes/bookish/elements/header.variables +2 -2
- package/src/themes/bootstrap3/elements/button.variables +7 -8
- package/src/themes/chubby/collections/form.overrides +9 -9
- package/src/themes/chubby/collections/form.variables +3 -3
- package/src/themes/chubby/collections/menu.variables +1 -1
- package/src/themes/chubby/elements/button.overrides +7 -9
- package/src/themes/chubby/elements/button.variables +2 -2
- package/src/themes/chubby/elements/header.variables +3 -3
- package/src/themes/chubby/modules/accordion.overrides +2 -2
- package/src/themes/chubby/modules/accordion.variables +3 -3
- package/src/themes/chubby/views/comment.overrides +5 -5
- package/src/themes/chubby/views/comment.variables +4 -4
- package/src/themes/classic/collections/table.variables +2 -2
- package/src/themes/classic/elements/button.variables +20 -21
- package/src/themes/classic/elements/header.variables +3 -3
- package/src/themes/classic/modules/progress.variables +1 -1
- package/src/themes/classic/views/card.overrides +14 -14
- package/src/themes/classic/views/card.variables +4 -4
- package/src/themes/colored/modules/checkbox.variables +1 -1
- package/src/themes/default/assets/fonts/Lato-Bold.woff +0 -0
- package/src/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
- package/src/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
- package/src/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
- package/src/themes/default/assets/fonts/Lato-Italic.woff +0 -0
- package/src/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
- package/src/themes/default/assets/fonts/Lato-Regular.woff +0 -0
- package/src/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
- package/src/themes/default/collections/breadcrumb.variables +4 -4
- package/src/themes/default/collections/form.variables +12 -12
- package/src/themes/default/collections/grid.overrides +0 -1
- package/src/themes/default/collections/grid.variables +14 -16
- package/src/themes/default/collections/menu.variables +19 -31
- package/src/themes/default/collections/message.variables +83 -84
- package/src/themes/default/collections/table.variables +16 -18
- package/src/themes/default/elements/button.variables +30 -31
- package/src/themes/default/elements/container.variables +4 -12
- package/src/themes/default/elements/divider.overrides +8 -9
- package/src/themes/default/elements/divider.variables +4 -5
- package/src/themes/default/elements/emoji.overrides +0 -1
- package/src/themes/default/elements/emoji.variables +3555 -3555
- package/src/themes/default/elements/flag.variables +1594 -1594
- package/src/themes/default/elements/header.overrides +0 -1
- package/src/themes/default/elements/header.variables +16 -16
- package/src/themes/default/elements/icon.variables +2017 -2001
- package/src/themes/default/elements/image.variables +6 -7
- package/src/themes/default/elements/input.variables +10 -10
- package/src/themes/default/elements/label.variables +19 -20
- package/src/themes/default/elements/list.variables +16 -16
- package/src/themes/default/elements/loader.variables +15 -16
- package/src/themes/default/elements/placeholder.variables +6 -7
- package/src/themes/default/elements/rail.variables +4 -5
- package/src/themes/default/elements/segment.variables +18 -29
- package/src/themes/default/elements/step.overrides +4 -4
- package/src/themes/default/elements/step.variables +14 -16
- package/src/themes/default/elements/text.variables +2 -3
- package/src/themes/default/globals/colors.less +588 -588
- package/src/themes/default/globals/reset.overrides +57 -57
- package/src/themes/default/globals/reset.variables +1 -1
- package/src/themes/default/globals/site.variables +869 -875
- package/src/themes/default/globals/variation.variables +13 -4
- package/src/themes/default/modules/accordion.overrides +11 -11
- package/src/themes/default/modules/accordion.variables +14 -15
- package/src/themes/default/modules/calendar.variables +2 -0
- package/src/themes/default/modules/chatroom.variables +1 -1
- package/src/themes/default/modules/checkbox.overrides +6 -7
- package/src/themes/default/modules/checkbox.variables +17 -22
- package/src/themes/default/modules/dimmer.variables +7 -8
- package/src/themes/default/modules/dropdown.overrides +17 -17
- package/src/themes/default/modules/dropdown.variables +20 -21
- package/src/themes/default/modules/embed.variables +9 -10
- package/src/themes/default/modules/flyout.variables +6 -6
- package/src/themes/default/modules/modal.variables +18 -18
- package/src/themes/default/modules/nag.variables +11 -14
- package/src/themes/default/modules/popup.variables +14 -13
- package/src/themes/default/modules/progress.variables +10 -11
- package/src/themes/default/modules/rating.variables +10 -11
- package/src/themes/default/modules/search.variables +9 -11
- package/src/themes/default/modules/shape.variables +6 -6
- package/src/themes/default/modules/sidebar.variables +4 -4
- package/src/themes/default/modules/slider.variables +48 -49
- package/src/themes/default/modules/sticky.variables +1 -1
- package/src/themes/default/modules/toast.variables +1 -1
- package/src/themes/default/modules/transition.overrides +936 -915
- package/src/themes/default/modules/transition.variables +8 -1
- package/src/themes/default/views/card.variables +20 -22
- package/src/themes/default/views/comment.variables +6 -8
- package/src/themes/default/views/feed.variables +6 -6
- package/src/themes/default/views/item.variables +6 -9
- package/src/themes/default/views/statistic.variables +8 -8
- package/src/themes/duo/elements/loader.variables +1 -1
- package/src/themes/famfamfam/elements/flag.overrides +263 -268
- package/src/themes/famfamfam/elements/flag.variables +3 -3
- package/src/themes/fixed-width/collections/grid.variables +1 -1
- package/src/themes/fixed-width/modules/modal.variables +3 -5
- package/src/themes/flat/collections/form.overrides +9 -9
- package/src/themes/flat/collections/form.variables +4 -5
- package/src/themes/flat/globals/site.variables +61 -66
- package/src/themes/github/collections/breadcrumb.variables +0 -1
- package/src/themes/github/collections/form.overrides +7 -8
- package/src/themes/github/collections/form.variables +12 -13
- package/src/themes/github/collections/grid.variables +1 -2
- package/src/themes/github/collections/menu.overrides +2 -2
- package/src/themes/github/collections/menu.variables +11 -12
- package/src/themes/github/collections/message.overrides +3 -3
- package/src/themes/github/collections/message.variables +5 -5
- package/src/themes/github/collections/table.variables +1 -1
- package/src/themes/github/elements/button.overrides +0 -1
- package/src/themes/github/elements/button.variables +14 -14
- package/src/themes/github/elements/header.variables +2 -2
- package/src/themes/github/elements/icon.overrides +179 -179
- package/src/themes/github/elements/icon.variables +10 -10
- package/src/themes/github/elements/image.variables +1 -1
- package/src/themes/github/elements/input.overrides +16 -16
- package/src/themes/github/elements/input.variables +3 -3
- package/src/themes/github/elements/label.overrides +3 -3
- package/src/themes/github/elements/label.variables +0 -1
- package/src/themes/github/elements/segment.variables +2 -3
- package/src/themes/github/elements/step.overrides +13 -13
- package/src/themes/github/elements/step.variables +2 -2
- package/src/themes/github/globals/site.variables +2 -2
- package/src/themes/github/modules/dropdown.overrides +18 -19
- package/src/themes/github/modules/dropdown.variables +1 -1
- package/src/themes/github/modules/popup.variables +0 -2
- package/src/themes/instagram/views/card.overrides +3 -4
- package/src/themes/instagram/views/card.variables +3 -4
- package/src/themes/joypixels/elements/emoji.overrides +0 -2
- package/src/themes/joypixels/elements/emoji.variables +3554 -3554
- package/src/themes/material/collections/menu.variables +1 -1
- package/src/themes/material/elements/button.overrides +6 -8
- package/src/themes/material/elements/button.variables +28 -28
- package/src/themes/material/elements/header.overrides +2 -2
- package/src/themes/material/elements/header.variables +2 -4
- package/src/themes/material/elements/icon.overrides +932 -932
- package/src/themes/material/elements/icon.variables +11 -11
- package/src/themes/material/globals/site.variables +78 -79
- package/src/themes/material/modules/dropdown.overrides +1 -1
- package/src/themes/material/modules/dropdown.variables +1 -1
- package/src/themes/material/modules/modal.overrides +2 -2
- package/src/themes/material/modules/modal.variables +1 -2
- package/src/themes/pulsar/elements/loader.overrides +58 -58
- package/src/themes/raised/elements/button.variables +8 -8
- package/src/themes/resetcss/globals/reset.overrides +115 -33
- package/src/themes/resetcss/globals/reset.variables +1 -1
- package/src/themes/round/elements/button.variables +11 -14
- package/src/themes/rtl/globals/site.variables +5 -6
- package/src/themes/striped/modules/progress.overrides +20 -16
- package/src/themes/systemfont/globals/reset.overrides +1 -1
- package/src/themes/systemfont/globals/site.variables +5 -5
- package/src/themes/timeline/views/feed.overrides +12 -12
- package/src/themes/timeline/views/feed.variables +4 -4
- package/src/themes/twitter/elements/button.overrides +4 -5
- package/src/themes/twitter/elements/button.variables +6 -7
- package/src/themes/twitter/elements/emoji.variables +3555 -3555
- package/tasks/admin/components/create.js +274 -276
- package/tasks/admin/components/init.js +123 -130
- package/tasks/admin/components/update.js +149 -157
- package/tasks/admin/distributions/create.js +184 -187
- package/tasks/admin/distributions/init.js +123 -130
- package/tasks/admin/distributions/update.js +145 -152
- package/tasks/admin/publish.js +5 -7
- package/tasks/admin/register.js +36 -38
- package/tasks/admin/release.js +8 -10
- package/tasks/build/assets.js +42 -39
- package/tasks/build/css.js +225 -216
- package/tasks/build/javascript.js +118 -113
- package/tasks/build.js +10 -10
- package/tasks/check-install.js +14 -16
- package/tasks/clean.js +5 -5
- package/tasks/collections/admin.js +34 -36
- package/tasks/collections/build.js +18 -20
- package/tasks/collections/docs.js +9 -11
- package/tasks/collections/install.js +9 -11
- package/tasks/collections/rtl.js +9 -11
- package/tasks/collections/various.js +8 -10
- package/tasks/config/admin/github.js +17 -17
- package/tasks/config/admin/oauth.example.js +4 -4
- package/tasks/config/admin/release.js +98 -98
- package/tasks/config/admin/templates/component-package.js +9 -10
- package/tasks/config/admin/templates/css-package.js +18 -20
- package/tasks/config/admin/templates/less-package.js +11 -13
- package/tasks/config/defaults.js +116 -114
- package/tasks/config/docs.js +23 -23
- package/tasks/config/npm/gulpfile.js +8 -9
- package/tasks/config/project/config.js +127 -134
- package/tasks/config/project/install.js +715 -713
- package/tasks/config/project/release.js +32 -38
- package/tasks/config/tasks.js +165 -156
- package/tasks/config/user.js +23 -26
- package/tasks/docs/build.js +97 -95
- package/tasks/docs/metadata.js +90 -96
- package/tasks/docs/serve.js +80 -81
- package/tasks/install.js +370 -378
- package/tasks/rtl/build.js +2 -2
- package/tasks/rtl/watch.js +2 -2
- package/tasks/version.js +4 -4
- package/tasks/watch.js +28 -30
- package/test/meteor/assets.js +10 -13
- package/test/meteor/fonts.js +12 -13
- package/test/modules/accordion.spec.js +6 -8
- package/test/modules/checkbox.spec.js +5 -7
- package/test/modules/dropdown.spec.js +5 -7
- package/test/modules/modal.spec.js +6 -8
- package/test/modules/module.spec.js +158 -178
- package/test/modules/popup.spec.js +5 -7
- package/test/modules/search.spec.js +5 -7
- package/test/modules/shape.spec.js +5 -7
- package/test/modules/sidebar.spec.js +5 -7
- package/test/modules/tab.spec.js +6 -8
- package/test/modules/transition.spec.js +5 -7
- package/test/modules/video.spec.js +5 -7
@@ -8,12 +8,11 @@
|
|
8
8
|
*
|
9
9
|
*/
|
10
10
|
|
11
|
-
|
12
11
|
/*******************************
|
13
12
|
Theme
|
14
13
|
*******************************/
|
15
14
|
|
16
|
-
@type
|
15
|
+
@type : 'view';
|
17
16
|
@element : 'comment';
|
18
17
|
|
19
18
|
@import (multiple) '../../theme.config';
|
@@ -22,186 +21,183 @@
|
|
22
21
|
Standard
|
23
22
|
*******************************/
|
24
23
|
|
25
|
-
|
26
|
-
/*--------------
|
24
|
+
/* --------------
|
27
25
|
Comments
|
28
|
-
|
26
|
+
--------------- */
|
29
27
|
|
30
28
|
.ui.comments {
|
31
|
-
|
32
|
-
|
29
|
+
margin: @margin;
|
30
|
+
max-width: @maxWidth;
|
33
31
|
}
|
34
32
|
|
35
33
|
.ui.comments:first-child {
|
36
|
-
|
34
|
+
margin-top: 0;
|
37
35
|
}
|
38
36
|
.ui.comments:last-child {
|
39
|
-
|
37
|
+
margin-bottom: 0;
|
40
38
|
}
|
41
39
|
|
42
|
-
|
40
|
+
/* --------------
|
43
41
|
Comment
|
44
|
-
|
42
|
+
--------------- */
|
45
43
|
|
46
44
|
.ui.comments .comment {
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
45
|
+
position: relative;
|
46
|
+
background: @commentBackground;
|
47
|
+
margin: @commentMargin;
|
48
|
+
padding: @commentPadding;
|
49
|
+
border: @commentBorder;
|
50
|
+
border-top: @commentDivider;
|
51
|
+
line-height: @commentLineHeight;
|
54
52
|
}
|
55
53
|
.ui.comments .comment:first-child {
|
56
|
-
|
57
|
-
|
54
|
+
margin-top: @firstCommentMargin;
|
55
|
+
padding-top: @firstCommentPadding;
|
58
56
|
}
|
59
57
|
|
60
|
-
|
61
|
-
/*--------------------
|
58
|
+
/* --------------------
|
62
59
|
Nested Comments
|
63
|
-
|
60
|
+
--------------------- */
|
64
61
|
|
65
62
|
.ui.comments .comment > .comments {
|
66
|
-
|
67
|
-
|
63
|
+
margin: @nestedCommentsMargin;
|
64
|
+
padding: @nestedCommentsPadding;
|
68
65
|
}
|
69
|
-
.ui.comments .comment > .comments::before{
|
70
|
-
|
71
|
-
|
72
|
-
|
66
|
+
.ui.comments .comment > .comments::before {
|
67
|
+
position: absolute;
|
68
|
+
top: 0;
|
69
|
+
left: 0;
|
73
70
|
}
|
74
71
|
.ui.comments .comment > .comments .comment {
|
75
|
-
|
76
|
-
|
77
|
-
|
72
|
+
border: @nestedCommentBorder;
|
73
|
+
border-top: @nestedCommentDivider;
|
74
|
+
background: @nestedCommentBackground;
|
78
75
|
}
|
79
76
|
& when (@variationCommentAvatar) {
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
77
|
+
/* --------------
|
78
|
+
Avatar
|
79
|
+
--------------- */
|
80
|
+
|
81
|
+
.ui.comments .comment .avatar {
|
82
|
+
display: @avatarDisplay;
|
83
|
+
width: @avatarWidth;
|
84
|
+
height: @avatarHeight;
|
85
|
+
float: @avatarFloat;
|
86
|
+
margin: @avatarMargin;
|
87
|
+
}
|
88
|
+
.ui.comments .comment img.avatar,
|
89
|
+
.ui.comments .comment .avatar img {
|
90
|
+
display: block;
|
91
|
+
margin: 0 auto;
|
92
|
+
width: 100%;
|
93
|
+
height: 100%;
|
94
|
+
border-radius: @avatarBorderRadius;
|
95
|
+
}
|
99
96
|
}
|
100
97
|
|
101
|
-
|
98
|
+
/* --------------
|
102
99
|
Content
|
103
|
-
|
100
|
+
--------------- */
|
104
101
|
|
105
102
|
.ui.comments .comment > .content {
|
106
|
-
|
103
|
+
display: block;
|
107
104
|
}
|
108
105
|
& when (@variationCommentAvatar) {
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
106
|
+
/* If there is an avatar move content over */
|
107
|
+
.ui.comments .comment > .avatar ~ .content {
|
108
|
+
margin-left: @contentMargin;
|
109
|
+
}
|
113
110
|
}
|
114
111
|
|
115
112
|
& when (@variationCommentAuthor) {
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
113
|
+
/* --------------
|
114
|
+
Author
|
115
|
+
--------------- */
|
116
|
+
|
117
|
+
.ui.comments .comment .author {
|
118
|
+
font-size: @authorFontSize;
|
119
|
+
color: @authorColor;
|
120
|
+
font-weight: @authorFontWeight;
|
121
|
+
}
|
122
|
+
.ui.comments .comment a.author {
|
123
|
+
cursor: pointer;
|
124
|
+
}
|
125
|
+
.ui.comments .comment a.author:hover {
|
126
|
+
color: @authorHoverColor;
|
127
|
+
}
|
131
128
|
}
|
132
129
|
|
133
130
|
& when (@variationCommentMeta) {
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
131
|
+
/* --------------
|
132
|
+
Metadata
|
133
|
+
--------------- */
|
134
|
+
|
135
|
+
.ui.comments .comment .metadata {
|
136
|
+
display: @metadataDisplay;
|
137
|
+
margin-left: @metadataSpacing;
|
138
|
+
color: @metadataColor;
|
139
|
+
font-size: @metadataFontSize;
|
140
|
+
}
|
141
|
+
.ui.comments .comment .metadata > * {
|
142
|
+
display: inline-block;
|
143
|
+
margin: 0 @metadataContentSpacing 0 0;
|
144
|
+
}
|
145
|
+
.ui.comments .comment .metadata > :last-child {
|
146
|
+
margin-right: 0;
|
147
|
+
}
|
151
148
|
}
|
152
149
|
|
153
|
-
|
150
|
+
/* --------------------
|
154
151
|
Comment Text
|
155
|
-
|
152
|
+
--------------------- */
|
156
153
|
|
157
154
|
.ui.comments .comment .text {
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
155
|
+
margin: @textMargin;
|
156
|
+
font-size: @textFontSize;
|
157
|
+
word-wrap: @textWordWrap;
|
158
|
+
color: @textColor;
|
159
|
+
line-height: @textLineHeight;
|
163
160
|
}
|
164
161
|
|
165
|
-
|
166
162
|
& when (@variationCommentActions) {
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
163
|
+
/* --------------------
|
164
|
+
User Actions
|
165
|
+
--------------------- */
|
166
|
+
|
167
|
+
.ui.comments .comment .actions {
|
168
|
+
font-size: @actionFontSize;
|
169
|
+
}
|
170
|
+
.ui.comments .comment .actions a {
|
171
|
+
cursor: pointer;
|
172
|
+
display: inline-block;
|
173
|
+
margin: 0 @actionContentDistance 0 0;
|
174
|
+
color: @actionLinkColor;
|
175
|
+
}
|
176
|
+
.ui.comments .comment .actions a:last-child {
|
177
|
+
margin-right: 0;
|
178
|
+
}
|
179
|
+
.ui.comments .comment .actions a.active,
|
180
|
+
.ui.comments .comment .actions a:hover {
|
181
|
+
color: @actionLinkHoverColor;
|
182
|
+
}
|
187
183
|
}
|
188
184
|
|
189
185
|
& when (@variationCommentReply) {
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
186
|
+
/* --------------------
|
187
|
+
Reply Form
|
188
|
+
--------------------- */
|
189
|
+
|
190
|
+
.ui.comments > .reply.form {
|
191
|
+
margin-top: @replyDistance;
|
192
|
+
}
|
193
|
+
.ui.comments .comment .reply.form {
|
194
|
+
width: 100%;
|
195
|
+
margin-top: @commentReplyDistance;
|
196
|
+
}
|
197
|
+
.ui.comments .reply.form textarea {
|
198
|
+
font-size: @replyFontSize;
|
199
|
+
height: @replyHeight;
|
200
|
+
}
|
205
201
|
}
|
206
202
|
|
207
203
|
/*******************************
|
@@ -211,92 +207,88 @@
|
|
211
207
|
.ui.collapsed.comments,
|
212
208
|
.ui.comments .collapsed.comments,
|
213
209
|
.ui.comments .collapsed.comment {
|
214
|
-
|
210
|
+
display: none;
|
215
211
|
}
|
216
212
|
|
217
|
-
|
218
213
|
/*******************************
|
219
214
|
Variations
|
220
215
|
*******************************/
|
221
216
|
|
222
217
|
& when (@variationCommentThreaded) {
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
218
|
+
/* --------------------
|
219
|
+
Threaded
|
220
|
+
--------------------- */
|
221
|
+
|
222
|
+
.ui.threaded.comments .comment > .comments {
|
223
|
+
margin: @threadedCommentMargin;
|
224
|
+
padding: @threadedCommentPadding;
|
225
|
+
box-shadow: @threadedCommentBoxShadow;
|
226
|
+
}
|
232
227
|
}
|
233
228
|
|
234
229
|
& when (@variationCommentMinimal) {
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
230
|
+
/* --------------------
|
231
|
+
Minimal
|
232
|
+
--------------------- */
|
233
|
+
|
234
|
+
.ui.minimal.comments .comment .actions {
|
235
|
+
opacity: 0;
|
236
|
+
position: @minimalActionPosition;
|
237
|
+
top: @minimalActionTop;
|
238
|
+
right: @minimalActionRight;
|
239
|
+
left: @minimalActionLeft;
|
240
|
+
transition: @minimalTransition;
|
241
|
+
transition-delay: @minimalTransitionDelay;
|
242
|
+
}
|
243
|
+
.ui.minimal.comments .comment > .content:hover > .actions {
|
244
|
+
opacity: 1;
|
245
|
+
}
|
251
246
|
}
|
252
247
|
|
253
|
-
|
254
|
-
/*-------------------
|
248
|
+
/* -------------------
|
255
249
|
Sizes
|
256
|
-
|
250
|
+
-------------------- */
|
257
251
|
|
258
252
|
.ui.comments {
|
259
|
-
|
253
|
+
font-size: @medium;
|
260
254
|
}
|
261
255
|
& when not (@variationCommentSizes = false) {
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
256
|
+
each(@variationCommentSizes, {
|
257
|
+
@s: @@value;
|
258
|
+
.ui.@{value}.comments {
|
259
|
+
font-size: @s;
|
260
|
+
}
|
261
|
+
})
|
268
262
|
}
|
269
263
|
|
270
|
-
|
271
264
|
& when (@variationCommentInverted) {
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
}
|
278
|
-
|
279
|
-
.ui.inverted.comments .comment .author,
|
280
|
-
.ui.inverted.comments .comment .text {
|
281
|
-
color: @invertedTextColor;
|
282
|
-
}
|
283
|
-
|
284
|
-
.ui.inverted.comments .comment .metadata,
|
285
|
-
.ui.inverted.comments .comment .actions a {
|
286
|
-
color: @invertedLightTextColor;
|
287
|
-
}
|
288
|
-
|
289
|
-
.ui.inverted.comments .comment a.author:hover,
|
290
|
-
.ui.inverted.comments .comment .actions a.active,
|
291
|
-
.ui.inverted.comments .comment .actions a:hover {
|
292
|
-
color: @invertedHoveredTextColor;
|
293
|
-
}
|
294
|
-
& when (@variationCommentThreaded) {
|
295
|
-
.ui.inverted.threaded.comments .comment > .comments {
|
296
|
-
box-shadow: -1px 0 0 @solidWhiteBorderColor;
|
265
|
+
/* -------------------
|
266
|
+
Inverted
|
267
|
+
-------------------- */
|
268
|
+
.ui.inverted.comments .comment {
|
269
|
+
background-color: @black;
|
297
270
|
}
|
298
|
-
}
|
299
|
-
}
|
300
271
|
|
272
|
+
.ui.inverted.comments .comment .author,
|
273
|
+
.ui.inverted.comments .comment .text {
|
274
|
+
color: @invertedTextColor;
|
275
|
+
}
|
276
|
+
|
277
|
+
.ui.inverted.comments .comment .metadata,
|
278
|
+
.ui.inverted.comments .comment .actions a {
|
279
|
+
color: @invertedLightTextColor;
|
280
|
+
}
|
281
|
+
|
282
|
+
.ui.inverted.comments .comment a.author:hover,
|
283
|
+
.ui.inverted.comments .comment .actions a.active,
|
284
|
+
.ui.inverted.comments .comment .actions a:hover {
|
285
|
+
color: @invertedHoveredTextColor;
|
286
|
+
}
|
287
|
+
& when (@variationCommentThreaded) {
|
288
|
+
.ui.inverted.threaded.comments .comment > .comments {
|
289
|
+
box-shadow: -1px 0 0 @solidWhiteBorderColor;
|
290
|
+
}
|
291
|
+
}
|
292
|
+
}
|
301
293
|
|
302
294
|
.loadUIOverrides();
|