fomantic-ui 2.10.0-beta.4 → 2.10.0-beta.40
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 +0 -10
- package/CHANGELOG.md +5289 -2325
- package/README.md +4 -5
- package/changelog-setup.js +85 -69
- package/changelog-template.hbs +256 -251
- package/dist/components/accordion.css +1 -1
- package/dist/components/accordion.js +103 -142
- package/dist/components/accordion.min.css +1 -1
- package/dist/components/accordion.min.js +2 -2
- package/dist/components/ad.css +1 -1
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +152 -205
- 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 +1 -2
- package/dist/components/button.min.css +2 -2
- package/dist/components/calendar.css +1 -1
- package/dist/components/calendar.js +308 -346
- package/dist/components/calendar.min.css +1 -1
- package/dist/components/calendar.min.js +2 -2
- package/dist/components/card.css +1 -1
- package/dist/components/card.min.css +1 -1
- package/dist/components/checkbox.css +1 -1
- package/dist/components/checkbox.js +85 -127
- package/dist/components/checkbox.min.css +1 -1
- package/dist/components/checkbox.min.js +2 -2
- package/dist/components/comment.css +1 -1
- package/dist/components/comment.min.css +1 -1
- package/dist/components/container.css +1 -1
- package/dist/components/container.min.css +1 -1
- package/dist/components/dimmer.css +1 -1
- package/dist/components/dimmer.js +58 -91
- package/dist/components/dimmer.min.css +1 -1
- package/dist/components/dimmer.min.js +2 -2
- package/dist/components/divider.css +1 -1
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +7 -5
- package/dist/components/dropdown.js +744 -1071
- package/dist/components/dropdown.min.css +2 -2
- package/dist/components/dropdown.min.js +2 -2
- package/dist/components/embed.css +1 -1
- package/dist/components/embed.js +83 -113
- package/dist/components/embed.min.css +1 -1
- package/dist/components/embed.min.js +2 -2
- package/dist/components/emoji.css +3809 -7617
- package/dist/components/emoji.min.css +2 -2
- package/dist/components/feed.css +1 -1
- package/dist/components/feed.min.css +1 -1
- package/dist/components/flag.css +1 -1
- package/dist/components/flag.min.css +1 -1
- package/dist/components/flyout.css +1 -1
- package/dist/components/flyout.js +225 -314
- package/dist/components/flyout.min.css +1 -1
- package/dist/components/flyout.min.js +2 -2
- package/dist/components/form.css +1 -1
- package/dist/components/form.js +325 -429
- package/dist/components/form.min.css +1 -1
- package/dist/components/form.min.js +2 -2
- package/dist/components/grid.css +1 -1
- package/dist/components/grid.min.css +1 -1
- package/dist/components/header.css +1 -1
- package/dist/components/header.min.css +1 -1
- package/dist/components/icon.css +1 -1
- package/dist/components/icon.min.css +1 -1
- package/dist/components/image.css +1 -1
- package/dist/components/image.min.css +1 -1
- package/dist/components/input.css +1 -1
- package/dist/components/input.min.css +1 -1
- package/dist/components/item.css +1 -1
- package/dist/components/item.min.css +1 -1
- package/dist/components/label.css +2 -1
- package/dist/components/label.min.css +2 -2
- package/dist/components/list.css +1 -1
- package/dist/components/list.min.css +1 -1
- package/dist/components/loader.css +1 -1
- package/dist/components/loader.min.css +1 -1
- package/dist/components/menu.css +40 -40
- package/dist/components/menu.min.css +2 -2
- package/dist/components/message.css +1 -1
- package/dist/components/message.min.css +1 -1
- package/dist/components/modal.css +3 -3
- package/dist/components/modal.js +259 -358
- package/dist/components/modal.min.css +2 -2
- package/dist/components/modal.min.js +2 -2
- package/dist/components/nag.css +1 -1
- package/dist/components/nag.js +67 -97
- package/dist/components/nag.min.css +1 -1
- package/dist/components/nag.min.js +2 -2
- package/dist/components/placeholder.css +1 -1
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +1 -1
- package/dist/components/popup.js +190 -264
- package/dist/components/popup.min.css +1 -1
- package/dist/components/popup.min.js +2 -2
- package/dist/components/progress.css +1 -1
- package/dist/components/progress.js +103 -138
- package/dist/components/progress.min.css +1 -1
- package/dist/components/progress.min.js +2 -2
- package/dist/components/rail.css +1 -1
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +1 -1
- package/dist/components/rating.js +90 -123
- 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 +1 -1
- package/dist/components/reveal.min.css +1 -1
- package/dist/components/search.css +1 -1
- package/dist/components/search.js +270 -373
- package/dist/components/search.min.css +1 -1
- package/dist/components/search.min.js +2 -2
- package/dist/components/segment.css +1 -1
- package/dist/components/segment.min.css +1 -1
- package/dist/components/shape.css +1 -1
- package/dist/components/shape.js +157 -223
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +2 -2
- package/dist/components/sidebar.css +1 -1
- package/dist/components/sidebar.js +125 -165
- package/dist/components/sidebar.min.css +1 -1
- package/dist/components/sidebar.min.js +2 -2
- package/dist/components/site.css +1 -1
- package/dist/components/site.js +38 -57
- package/dist/components/site.min.css +1 -1
- package/dist/components/site.min.js +2 -2
- package/dist/components/slider.css +1 -1
- package/dist/components/slider.js +242 -325
- package/dist/components/slider.min.css +1 -1
- package/dist/components/slider.min.js +2 -2
- package/dist/components/state.js +68 -98
- package/dist/components/state.min.js +2 -2
- package/dist/components/statistic.css +1 -1
- package/dist/components/statistic.min.css +1 -1
- package/dist/components/step.css +1 -1
- package/dist/components/step.min.css +1 -1
- package/dist/components/sticky.css +1 -1
- package/dist/components/sticky.js +131 -176
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +2 -2
- package/dist/components/tab.css +1 -1
- package/dist/components/tab.js +168 -233
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +2 -2
- package/dist/components/table.css +8 -8
- 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 +1 -1
- package/dist/components/toast.js +104 -143
- package/dist/components/toast.min.css +1 -1
- package/dist/components/toast.min.js +2 -2
- package/dist/components/transition.css +1 -1
- package/dist/components/transition.js +86 -141
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +2 -2
- package/dist/components/visibility.js +145 -223
- package/dist/components/visibility.min.js +2 -2
- package/dist/semantic.css +3916 -7722
- package/dist/semantic.js +4324 -5973
- package/dist/semantic.min.css +2 -2
- package/dist/semantic.min.js +2 -2
- package/examples/assets/show-examples.js +2 -4
- package/examples/attached.html +1 -1
- package/examples/components/menu.html +1 -1
- package/gulpfile.js +5 -7
- package/package.json +1 -3
- package/scripts/nightly-version.js +7 -10
- package/src/definitions/behaviors/api.js +151 -204
- package/src/definitions/behaviors/form.js +324 -428
- package/src/definitions/behaviors/state.js +67 -97
- package/src/definitions/behaviors/visibility.js +144 -222
- package/src/definitions/collections/menu.less +101 -96
- package/src/definitions/collections/table.less +7 -7
- package/src/definitions/elements/button.less +0 -1
- package/src/definitions/elements/label.less +1 -0
- package/src/definitions/globals/site.js +37 -56
- package/src/definitions/modules/accordion.js +102 -141
- package/src/definitions/modules/calendar.js +307 -345
- package/src/definitions/modules/checkbox.js +84 -126
- package/src/definitions/modules/dimmer.js +57 -90
- package/src/definitions/modules/dropdown.js +743 -1070
- package/src/definitions/modules/dropdown.less +11 -5
- package/src/definitions/modules/embed.js +82 -112
- package/src/definitions/modules/flyout.js +224 -313
- package/src/definitions/modules/modal.js +258 -357
- package/src/definitions/modules/modal.less +1 -1
- package/src/definitions/modules/nag.js +66 -96
- package/src/definitions/modules/popup.js +189 -263
- package/src/definitions/modules/progress.js +102 -137
- package/src/definitions/modules/rating.js +89 -122
- package/src/definitions/modules/search.js +269 -372
- package/src/definitions/modules/shape.js +156 -222
- package/src/definitions/modules/sidebar.js +124 -164
- package/src/definitions/modules/slider.js +241 -324
- package/src/definitions/modules/sticky.js +130 -175
- package/src/definitions/modules/tab.js +167 -232
- package/src/definitions/modules/toast.js +103 -142
- package/src/definitions/modules/transition.js +85 -140
- package/src/themes/chubby/collections/menu.variables +1 -1
- package/src/themes/default/collections/menu.variables +23 -23
- package/src/themes/default/globals/variation.variables +3 -2
- package/src/themes/default/modules/dropdown.variables +1 -0
- package/src/themes/default/modules/modal.variables +1 -1
- package/tasks/admin/components/create.js +88 -108
- package/tasks/admin/components/init.js +26 -32
- package/tasks/admin/components/update.js +46 -53
- package/tasks/admin/distributions/create.js +71 -101
- package/tasks/admin/distributions/init.js +27 -33
- package/tasks/admin/distributions/update.js +45 -52
- package/tasks/admin/register.js +11 -15
- package/tasks/build/assets.js +14 -18
- package/tasks/build/css.js +54 -63
- package/tasks/build/javascript.js +45 -53
- package/tasks/build.js +4 -6
- package/tasks/check-install.js +5 -7
- package/tasks/clean.js +2 -4
- package/tasks/collections/admin.js +13 -15
- package/tasks/collections/build.js +6 -8
- package/tasks/collections/docs.js +2 -4
- package/tasks/collections/install.js +2 -4
- package/tasks/collections/rtl.js +2 -4
- package/tasks/collections/various.js +2 -4
- package/tasks/config/admin/github.js +7 -9
- package/tasks/config/admin/templates/css-package.js +1 -3
- package/tasks/config/admin/templates/less-package.js +1 -3
- package/tasks/config/defaults.js +0 -1
- package/tasks/config/npm/gulpfile.js +4 -6
- package/tasks/config/project/config.js +22 -30
- package/tasks/config/project/install.js +61 -78
- package/tasks/config/project/release.js +6 -8
- package/tasks/config/tasks.js +8 -12
- package/tasks/config/user.js +13 -17
- package/tasks/docs/build.js +26 -31
- package/tasks/docs/metadata.js +24 -30
- package/tasks/docs/serve.js +20 -26
- package/tasks/install.js +81 -109
- package/tasks/rtl/build.js +2 -4
- package/tasks/rtl/watch.js +2 -4
- package/tasks/watch.js +9 -11
- package/test/meteor/fonts.js +1 -2
- package/test/modules/module.spec.js +16 -18
- package/types/fomantic-ui-dropdown.d.ts +44 -0
- package/types/fomantic-ui-embed.d.ts +1 -1
- package/types/fomantic-ui-search.d.ts +6 -6
@@ -19,7 +19,7 @@
|
|
19
19
|
|
20
20
|
@notSecondary: if(@variationMenuSecondary, e(":not(.secondary)"));
|
21
21
|
@notText: if(@variationMenuText, e(":not(.text)"));
|
22
|
-
@
|
22
|
+
@notTabbed: if(@variationMenuTabbed, e(":not(.tabbed)"));
|
23
23
|
@notVertical: if(@variationMenuVertical, e(":not(.vertical)"));
|
24
24
|
@notBorderless: if(@variationMenuBorderless, e(":not(.borderless)"));
|
25
25
|
@notFluid: if(@variationMenuFluid, e(":not(.fluid)"));
|
@@ -407,11 +407,11 @@
|
|
407
407
|
}
|
408
408
|
}
|
409
409
|
@media only screen and (min-width: @tabletBreakpoint) {
|
410
|
-
.ui.menu@{notSecondary}@{notText}@{
|
410
|
+
.ui.menu@{notSecondary}@{notText}@{notTabbed}@{notBorderless} > .container > .item:not(.right)@{notBorderless}:first-child {
|
411
411
|
border-left: @dividerSize solid @dividerBackground;
|
412
412
|
}
|
413
|
-
.ui.menu@{notSecondary}@{notText}@{
|
414
|
-
.ui.menu@{notSecondary}@{notText}@{
|
413
|
+
.ui.menu@{notSecondary}@{notText}@{notTabbed}@{notBorderless} > .container > .right.item@{notBorderless}:last-child,
|
414
|
+
.ui.menu@{notSecondary}@{notText}@{notTabbed}@{notBorderless} > .container > .right.menu > .item@{notBorderless}:last-child {
|
415
415
|
border-right: @dividerSize solid @dividerBackground;
|
416
416
|
}
|
417
417
|
}
|
@@ -629,156 +629,156 @@ Floated Menu / Item
|
|
629
629
|
}
|
630
630
|
}
|
631
631
|
|
632
|
-
& when (@
|
632
|
+
& when (@variationMenuTabbed) {
|
633
633
|
/* --------------
|
634
|
-
|
634
|
+
Tabbed
|
635
635
|
--------------- */
|
636
636
|
|
637
|
-
.ui.
|
637
|
+
.ui.tabbed.menu {
|
638
638
|
border-radius: 0;
|
639
639
|
box-shadow: none !important;
|
640
640
|
border: none;
|
641
|
-
background: @
|
642
|
-
border-bottom: @
|
641
|
+
background: @tabbedBackground;
|
642
|
+
border-bottom: @tabbedBorderWidth solid @tabbedBorderColor;
|
643
643
|
}
|
644
|
-
.ui.
|
645
|
-
width: @
|
644
|
+
.ui.tabbed.fluid.menu {
|
645
|
+
width: @tabbedFluidWidth !important;
|
646
646
|
}
|
647
|
-
.ui.
|
647
|
+
.ui.tabbed.menu .item {
|
648
648
|
background: transparent;
|
649
649
|
border-bottom: none;
|
650
|
-
border-left: @
|
651
|
-
border-right: @
|
652
|
-
border-top: @
|
653
|
-
padding: @
|
654
|
-
color: @
|
650
|
+
border-left: @tabbedBorderWidth solid transparent;
|
651
|
+
border-right: @tabbedBorderWidth solid transparent;
|
652
|
+
border-top: @tabbedOppositeBorderWidth solid transparent;
|
653
|
+
padding: @tabbedVerticalPadding @tabbedHorizontalPadding;
|
654
|
+
color: @tabbedTextColor;
|
655
655
|
}
|
656
|
-
.ui.
|
656
|
+
.ui.tabbed.menu .item::before {
|
657
657
|
display: none;
|
658
658
|
}
|
659
659
|
|
660
660
|
/* Hover */
|
661
|
-
.ui.
|
661
|
+
.ui.tabbed.menu .item:hover {
|
662
662
|
background-color: transparent;
|
663
|
-
color: @
|
663
|
+
color: @tabbedHoveredTextColor;
|
664
664
|
}
|
665
665
|
|
666
666
|
/* Active */
|
667
|
-
.ui.
|
668
|
-
background: @
|
669
|
-
color: @
|
670
|
-
border-top-width: @
|
671
|
-
border-color: @
|
672
|
-
font-weight: @
|
673
|
-
margin-bottom: -@
|
674
|
-
box-shadow: @
|
675
|
-
border-radius: @
|
667
|
+
.ui.tabbed.menu .active.item {
|
668
|
+
background: @tabbedActiveBackground;
|
669
|
+
color: @tabbedActiveColor;
|
670
|
+
border-top-width: @tabbedBorderWidth;
|
671
|
+
border-color: @tabbedBorderColor;
|
672
|
+
font-weight: @tabbedActiveWeight;
|
673
|
+
margin-bottom: -@tabbedBorderWidth;
|
674
|
+
box-shadow: @tabbedActiveBoxShadow;
|
675
|
+
border-radius: @tabbedBorderRadius @tabbedBorderRadius 0 0 !important;
|
676
676
|
&:hover {
|
677
677
|
cursor: default;
|
678
678
|
}
|
679
679
|
}
|
680
680
|
|
681
681
|
/* Coupling with segment for attachment */
|
682
|
-
.ui.
|
682
|
+
.ui.tabbed.menu ~ .attached:not(.top).segment {
|
683
683
|
border-top: none;
|
684
684
|
margin-left: 0;
|
685
685
|
margin-top: 0;
|
686
686
|
margin-right: 0;
|
687
687
|
width: 100%;
|
688
688
|
}
|
689
|
-
.top.attached.segment + .ui.bottom.
|
689
|
+
.top.attached.segment + .ui.bottom.tabbed.menu {
|
690
690
|
position: relative;
|
691
|
-
width: @
|
692
|
-
left: -@
|
691
|
+
width: @tabbedFluidWidth;
|
692
|
+
left: -@tabbedFluidOffset;
|
693
693
|
}
|
694
694
|
|
695
|
-
/* Bottom Vertical
|
696
|
-
.ui.bottom.
|
697
|
-
background: @
|
695
|
+
/* Bottom Vertical Tabbed */
|
696
|
+
.ui.bottom.tabbed.menu {
|
697
|
+
background: @tabbedBackground;
|
698
698
|
border-radius: 0;
|
699
699
|
box-shadow: none !important;
|
700
700
|
border-bottom: none;
|
701
|
-
border-top: @
|
701
|
+
border-top: @tabbedBorderWidth solid @tabbedBorderColor;
|
702
702
|
}
|
703
|
-
.ui.bottom.
|
703
|
+
.ui.bottom.tabbed.menu .item {
|
704
704
|
background: none;
|
705
|
-
border-left: @
|
706
|
-
border-right: @
|
707
|
-
border-bottom: @
|
705
|
+
border-left: @tabbedBorderWidth solid transparent;
|
706
|
+
border-right: @tabbedBorderWidth solid transparent;
|
707
|
+
border-bottom: @tabbedBorderWidth solid transparent;
|
708
708
|
border-top: none;
|
709
709
|
}
|
710
|
-
.ui.bottom.
|
711
|
-
background: @
|
712
|
-
color: @
|
713
|
-
border-color: @
|
714
|
-
margin: -@
|
715
|
-
border-radius: 0 0 @
|
710
|
+
.ui.bottom.tabbed.menu .active.item {
|
711
|
+
background: @tabbedActiveBackground;
|
712
|
+
color: @tabbedActiveColor;
|
713
|
+
border-color: @tabbedBorderColor;
|
714
|
+
margin: -@tabbedBorderWidth 0 0 0;
|
715
|
+
border-radius: 0 0 @tabbedBorderRadius @tabbedBorderRadius !important;
|
716
716
|
}
|
717
717
|
& when (@variationMenuVertical) {
|
718
|
-
/* Vertical
|
719
|
-
.ui.vertical.
|
720
|
-
background: @
|
718
|
+
/* Vertical Tabbed (Left) */
|
719
|
+
.ui.vertical.tabbed.menu {
|
720
|
+
background: @tabbedVerticalBackground;
|
721
721
|
border-radius: 0;
|
722
722
|
box-shadow: none !important;
|
723
723
|
border-bottom: none;
|
724
|
-
border-right: @
|
724
|
+
border-right: @tabbedBorderWidth solid @tabbedBorderColor;
|
725
725
|
}
|
726
|
-
.ui.vertical.
|
726
|
+
.ui.vertical.tabbed.menu .item {
|
727
727
|
background: none;
|
728
|
-
border-left: @
|
729
|
-
border-bottom: @
|
730
|
-
border-top: @
|
728
|
+
border-left: @tabbedBorderWidth solid transparent;
|
729
|
+
border-bottom: @tabbedBorderWidth solid transparent;
|
730
|
+
border-top: @tabbedBorderWidth solid transparent;
|
731
731
|
border-right: none;
|
732
732
|
}
|
733
|
-
.ui.vertical.
|
734
|
-
background: @
|
735
|
-
color: @
|
736
|
-
border-color: @
|
737
|
-
margin: 0 -@
|
738
|
-
border-radius: @
|
733
|
+
.ui.vertical.tabbed.menu .active.item {
|
734
|
+
background: @tabbedActiveBackground;
|
735
|
+
color: @tabbedActiveColor;
|
736
|
+
border-color: @tabbedBorderColor;
|
737
|
+
margin: 0 -@tabbedBorderWidth 0 0;
|
738
|
+
border-radius: @tabbedBorderRadius 0 0 @tabbedBorderRadius !important;
|
739
739
|
}
|
740
740
|
|
741
|
-
/* Vertical Right
|
742
|
-
.ui.vertical.right.
|
743
|
-
background: @
|
741
|
+
/* Vertical Right Tabbed */
|
742
|
+
.ui.vertical.right.tabbed.menu {
|
743
|
+
background: @tabbedVerticalBackground;
|
744
744
|
border-radius: 0;
|
745
745
|
box-shadow: none !important;
|
746
746
|
border-bottom: none;
|
747
747
|
border-right: none;
|
748
|
-
border-left: @
|
748
|
+
border-left: @tabbedBorderWidth solid @tabbedBorderColor;
|
749
749
|
}
|
750
|
-
.ui.vertical.right.
|
750
|
+
.ui.vertical.right.tabbed.menu .item {
|
751
751
|
background: none;
|
752
|
-
border-right: @
|
753
|
-
border-bottom: @
|
754
|
-
border-top: @
|
752
|
+
border-right: @tabbedBorderWidth solid transparent;
|
753
|
+
border-bottom: @tabbedBorderWidth solid transparent;
|
754
|
+
border-top: @tabbedBorderWidth solid transparent;
|
755
755
|
border-left: none;
|
756
756
|
}
|
757
|
-
.ui.vertical.right.
|
758
|
-
background: @
|
759
|
-
color: @
|
760
|
-
border-color: @
|
761
|
-
margin: 0 0 0 -@
|
762
|
-
border-radius: 0 @
|
757
|
+
.ui.vertical.right.tabbed.menu .active.item {
|
758
|
+
background: @tabbedActiveBackground;
|
759
|
+
color: @tabbedActiveColor;
|
760
|
+
border-color: @tabbedBorderColor;
|
761
|
+
margin: 0 0 0 -@tabbedBorderWidth;
|
762
|
+
border-radius: 0 @tabbedBorderRadius @tabbedBorderRadius 0 !important;
|
763
763
|
}
|
764
764
|
}
|
765
765
|
|
766
766
|
/* Dropdown */
|
767
|
-
.ui.
|
767
|
+
.ui.tabbed.menu .active.dropdown.item {
|
768
768
|
margin-bottom: 0;
|
769
|
-
border-left: @
|
770
|
-
border-right: @
|
771
|
-
border-top: @
|
769
|
+
border-left: @tabbedBorderWidth solid transparent;
|
770
|
+
border-right: @tabbedBorderWidth solid transparent;
|
771
|
+
border-top: @tabbedOppositeBorderWidth solid transparent;
|
772
772
|
border-bottom: none;
|
773
773
|
}
|
774
774
|
& when (@variationMenuInverted) {
|
775
|
-
.ui.inverted.
|
776
|
-
.ui.inverted.
|
777
|
-
background: @
|
778
|
-
border-color: @
|
775
|
+
.ui.inverted.tabbed.menu .active.item,
|
776
|
+
.ui.inverted.tabbed.menu .active.item:hover {
|
777
|
+
background: @invertedTabbedActiveBackground;
|
778
|
+
border-color: @invertedTabbedBorderColor;
|
779
779
|
}
|
780
|
-
.ui.inverted.
|
781
|
-
color: @
|
780
|
+
.ui.inverted.tabbed.menu .item:not(.active):hover {
|
781
|
+
color: @invertedTabbedHoveredTextColor;
|
782
782
|
background: transparent;
|
783
783
|
cursor: pointer;
|
784
784
|
}
|
@@ -1643,8 +1643,8 @@ Floated Menu / Item
|
|
1643
1643
|
text-align: center;
|
1644
1644
|
justify-content: center;
|
1645
1645
|
}
|
1646
|
-
.ui.attached[class*="equal width"].menu@{
|
1647
|
-
.ui.attached.item.menu@{
|
1646
|
+
.ui.attached[class*="equal width"].menu@{notTabbed},
|
1647
|
+
.ui.attached.item.menu@{notTabbed} {
|
1648
1648
|
margin: 0 @attachedHorizontalOffset !important;
|
1649
1649
|
}
|
1650
1650
|
|
@@ -1903,22 +1903,22 @@ Floated Menu / Item
|
|
1903
1903
|
border-radius: 0 0 0 @borderRadius;
|
1904
1904
|
}
|
1905
1905
|
|
1906
|
-
/*
|
1907
|
-
.ui.attached.menu@{
|
1906
|
+
/* Tabbed Attached */
|
1907
|
+
.ui.attached.menu@{notTabbed}@{notText} {
|
1908
1908
|
border: @attachedBorder;
|
1909
1909
|
}
|
1910
1910
|
& when (@variationMenuInverted) {
|
1911
1911
|
.ui.attached.inverted.menu {
|
1912
1912
|
border: none;
|
1913
1913
|
}
|
1914
|
-
& when (@
|
1915
|
-
.ui[class*="top attached"].inverted.
|
1916
|
-
border-bottom: @
|
1914
|
+
& when (@variationMenuTabbed) {
|
1915
|
+
.ui[class*="top attached"].inverted.tabbed.menu {
|
1916
|
+
border-bottom: @invertedTabbedBorder;
|
1917
1917
|
}
|
1918
1918
|
}
|
1919
1919
|
}
|
1920
|
-
& when (@
|
1921
|
-
.ui.attached.
|
1920
|
+
& when (@variationMenuTabbed) {
|
1921
|
+
.ui.attached.tabbed.menu {
|
1922
1922
|
margin-left: 0;
|
1923
1923
|
margin-right: 0;
|
1924
1924
|
width: 100%;
|
@@ -1936,7 +1936,7 @@ Floated Menu / Item
|
|
1936
1936
|
& .item:first-child::before {
|
1937
1937
|
display: none;
|
1938
1938
|
}
|
1939
|
-
&@{notSecondary}@{notText}@{
|
1939
|
+
&@{notSecondary}@{notText}@{notTabbed}@{notBorderless} .item {
|
1940
1940
|
&:last-of-type,
|
1941
1941
|
&:last-child {
|
1942
1942
|
border-right: @dividerSize solid @dividerBackground;
|
@@ -1944,7 +1944,7 @@ Floated Menu / Item
|
|
1944
1944
|
}
|
1945
1945
|
}
|
1946
1946
|
& when (@variationMenuWrapped) {
|
1947
|
-
.ui.wrapped.menu@{notSecondary}@{notText}@{
|
1947
|
+
.ui.wrapped.menu@{notSecondary}@{notText}@{notTabbed}@{notBorderless} .item {
|
1948
1948
|
&:first-child {
|
1949
1949
|
border-bottom-left-radius: 0;
|
1950
1950
|
}
|
@@ -2018,5 +2018,10 @@ Floated Menu / Item
|
|
2018
2018
|
}
|
2019
2019
|
}
|
2020
2020
|
|
2021
|
+
& when (@variationMenuTabbedLegacyTabular) {
|
2022
|
+
.tabbed:extend(.tabular all) {
|
2023
|
+
}
|
2024
|
+
}
|
2025
|
+
|
2021
2026
|
// stylelint-disable no-invalid-position-at-import-rule
|
2022
2027
|
@import (multiple, optional) "../../overrides.less";
|
@@ -1667,19 +1667,19 @@
|
|
1667
1667
|
.ui.basic.table > tfoot {
|
1668
1668
|
box-shadow: none;
|
1669
1669
|
}
|
1670
|
-
.ui.basic.table > thead > tr > th,
|
1671
|
-
.ui.basic.table > tbody > tr > th,
|
1672
|
-
.ui.basic.table > tfoot > tr > th,
|
1673
|
-
.ui.basic.table > tr > th {
|
1670
|
+
.ui.ui.basic.table > thead > tr > th,
|
1671
|
+
.ui.ui.basic.table > tbody > tr > th,
|
1672
|
+
.ui.ui.basic.table > tfoot > tr > th,
|
1673
|
+
.ui.ui.basic.table > tr > th {
|
1674
1674
|
background: @basicTableHeaderBackground;
|
1675
1675
|
border-left: @basicTableHeaderDivider;
|
1676
1676
|
}
|
1677
1677
|
.ui.basic.table > tbody > tr {
|
1678
1678
|
border-bottom: @basicTableCellBorder;
|
1679
1679
|
}
|
1680
|
-
.ui.basic.table > tbody > tr > td,
|
1681
|
-
.ui.basic.table > tfoot > tr > td,
|
1682
|
-
.ui.basic.table > tr > td {
|
1680
|
+
.ui.ui.basic.table > tbody > tr > td,
|
1681
|
+
.ui.ui.basic.table > tfoot > tr > td,
|
1682
|
+
.ui.ui.basic.table > tr > td {
|
1683
1683
|
background: @basicTableCellBackground;
|
1684
1684
|
}
|
1685
1685
|
& when (@variationTableStriped) {
|
@@ -20,31 +20,29 @@
|
|
20
20
|
: globalThis;
|
21
21
|
|
22
22
|
$.fn.site = function (parameters) {
|
23
|
-
|
24
|
-
|
25
|
-
performance = [],
|
23
|
+
let time = Date.now();
|
24
|
+
let performance = [];
|
26
25
|
|
27
|
-
|
28
|
-
|
29
|
-
|
26
|
+
let query = arguments[0];
|
27
|
+
let methodInvoked = typeof query === 'string';
|
28
|
+
let queryArguments = [].slice.call(arguments, 1);
|
30
29
|
|
31
|
-
|
32
|
-
|
33
|
-
|
30
|
+
let settings = $.isPlainObject(parameters)
|
31
|
+
? $.extend(true, {}, $.site.settings, parameters)
|
32
|
+
: $.extend({}, $.site.settings);
|
34
33
|
|
35
|
-
|
36
|
-
|
34
|
+
let namespace = settings.namespace;
|
35
|
+
let error = settings.error;
|
37
36
|
|
38
|
-
|
37
|
+
let moduleNamespace = 'module-' + namespace;
|
39
38
|
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
39
|
+
let $document = $(document);
|
40
|
+
let $module = $document;
|
41
|
+
let element = this;
|
42
|
+
let instance = $module.data(moduleNamespace);
|
44
43
|
|
45
|
-
|
46
|
-
|
47
|
-
;
|
44
|
+
let module;
|
45
|
+
let returnedValue;
|
48
46
|
module = {
|
49
47
|
|
50
48
|
initialize: function () {
|
@@ -55,8 +53,7 @@
|
|
55
53
|
module.verbose('Storing instance of site', module);
|
56
54
|
instance = module;
|
57
55
|
$module
|
58
|
-
.data(moduleNamespace, module)
|
59
|
-
;
|
56
|
+
.data(moduleNamespace, module);
|
60
57
|
},
|
61
58
|
|
62
59
|
normalize: function () {
|
@@ -78,9 +75,7 @@
|
|
78
75
|
|
79
76
|
enabled: {
|
80
77
|
modules: function (modules) {
|
81
|
-
|
82
|
-
enabledModules = []
|
83
|
-
;
|
78
|
+
let enabledModules = [];
|
84
79
|
modules = modules || settings.modules;
|
85
80
|
$.each(modules, function (index, name) {
|
86
81
|
if (module.moduleExists(name)) {
|
@@ -94,9 +89,7 @@
|
|
94
89
|
|
95
90
|
disabled: {
|
96
91
|
modules: function (modules) {
|
97
|
-
|
98
|
-
disabledModules = []
|
99
|
-
;
|
92
|
+
let disabledModules = [];
|
100
93
|
modules = modules || settings.modules;
|
101
94
|
$.each(modules, function (index, name) {
|
102
95
|
if (!module.moduleExists(name)) {
|
@@ -119,12 +112,10 @@
|
|
119
112
|
? modifyExisting
|
120
113
|
: true;
|
121
114
|
$.each(modules, function (index, name) {
|
122
|
-
|
123
|
-
namespace
|
124
|
-
|
125
|
-
|
126
|
-
$existingModules
|
127
|
-
;
|
115
|
+
let namespace = module.moduleExists(name)
|
116
|
+
? $.fn[name].settings.namespace || false
|
117
|
+
: true;
|
118
|
+
let $existingModules;
|
128
119
|
if (module.moduleExists(name)) {
|
129
120
|
module.verbose('Changing default setting', setting, value, name);
|
130
121
|
$.fn[name].settings[setting] = value;
|
@@ -146,9 +137,7 @@
|
|
146
137
|
? modifyExisting
|
147
138
|
: true;
|
148
139
|
$.each(modules, function (index, name) {
|
149
|
-
|
150
|
-
$existingModules
|
151
|
-
;
|
140
|
+
let $existingModules;
|
152
141
|
if (module.moduleExists(name)) {
|
153
142
|
module.verbose('Changing default setting', newSettings, name);
|
154
143
|
$.extend(true, $.fn[name].settings, newSettings);
|
@@ -224,8 +213,7 @@
|
|
224
213
|
destroy: function () {
|
225
214
|
module.verbose('Destroying previous site for', $module);
|
226
215
|
$module
|
227
|
-
.removeData(moduleNamespace)
|
228
|
-
;
|
216
|
+
.removeData(moduleNamespace);
|
229
217
|
},
|
230
218
|
|
231
219
|
cache: {},
|
@@ -274,11 +262,9 @@
|
|
274
262
|
},
|
275
263
|
performance: {
|
276
264
|
log: function (message) {
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
previousTime
|
281
|
-
;
|
265
|
+
let currentTime;
|
266
|
+
let executionTime;
|
267
|
+
let previousTime;
|
282
268
|
if (settings.performance) {
|
283
269
|
currentTime = Date.now();
|
284
270
|
previousTime = time || currentTime;
|
@@ -297,10 +283,8 @@
|
|
297
283
|
}, 500);
|
298
284
|
},
|
299
285
|
display: function () {
|
300
|
-
|
301
|
-
|
302
|
-
totalTime = 0
|
303
|
-
;
|
286
|
+
let title = settings.name + ':';
|
287
|
+
let totalTime = 0;
|
304
288
|
time = false;
|
305
289
|
clearTimeout(module.performance.timer);
|
306
290
|
$.each(performance, function (index, data) {
|
@@ -322,22 +306,19 @@
|
|
322
306
|
},
|
323
307
|
},
|
324
308
|
invoke: function (query, passedArguments, context) {
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
response
|
330
|
-
;
|
309
|
+
let object = instance;
|
310
|
+
let maxDepth;
|
311
|
+
let found;
|
312
|
+
let response;
|
331
313
|
passedArguments = passedArguments || queryArguments;
|
332
314
|
context = context || element;
|
333
315
|
if (typeof query === 'string' && object !== undefined) {
|
334
316
|
query = query.split(/[ .]/);
|
335
317
|
maxDepth = query.length - 1;
|
336
318
|
$.each(query, function (depth, value) {
|
337
|
-
|
319
|
+
let camelCaseValue = depth !== maxDepth
|
338
320
|
? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1)
|
339
|
-
: query
|
340
|
-
;
|
321
|
+
: query;
|
341
322
|
if ($.isPlainObject(object[camelCaseValue]) && (depth !== maxDepth)) {
|
342
323
|
object = object[camelCaseValue];
|
343
324
|
} else if (object[camelCaseValue] !== undefined) {
|