fomantic-ui 2.9.1-beta.5 → 2.9.1-beta.7
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/dist/components/accordion.css +1 -1
- package/dist/components/accordion.js +1 -1
- package/dist/components/accordion.min.css +1 -1
- package/dist/components/accordion.min.js +1 -1
- package/dist/components/ad.css +1 -1
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +1 -1
- package/dist/components/api.min.js +1 -1
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +1 -11
- package/dist/components/button.min.css +1 -1
- package/dist/components/calendar.css +1 -1
- package/dist/components/calendar.js +1 -1
- package/dist/components/calendar.min.css +1 -1
- package/dist/components/calendar.min.js +1 -1
- 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 +1 -1
- package/dist/components/checkbox.min.css +1 -1
- package/dist/components/checkbox.min.js +1 -1
- 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 +1 -1
- package/dist/components/dimmer.min.css +1 -1
- package/dist/components/dimmer.min.js +1 -1
- package/dist/components/divider.css +1 -1
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/dropdown.min.css +1 -1
- package/dist/components/dropdown.min.js +1 -1
- package/dist/components/embed.css +1 -1
- package/dist/components/embed.js +1 -1
- package/dist/components/embed.min.css +1 -1
- package/dist/components/embed.min.js +1 -1
- 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 +1 -1
- package/dist/components/flyout.min.css +1 -1
- package/dist/components/flyout.min.js +1 -1
- package/dist/components/form.css +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/form.min.css +1 -1
- package/dist/components/form.min.js +1 -1
- 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 +1 -1
- package/dist/components/label.min.css +1 -1
- 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/message.css +1 -1
- package/dist/components/message.min.css +1 -1
- package/dist/components/modal.css +1 -1
- package/dist/components/modal.js +1 -1
- package/dist/components/modal.min.css +1 -1
- package/dist/components/modal.min.js +1 -1
- package/dist/components/nag.css +1 -1
- package/dist/components/nag.js +1 -1
- package/dist/components/nag.min.css +1 -1
- package/dist/components/nag.min.js +1 -1
- 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 +1 -1
- package/dist/components/popup.min.css +1 -1
- package/dist/components/popup.min.js +1 -1
- package/dist/components/progress.css +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/progress.min.css +1 -1
- package/dist/components/progress.min.js +1 -1
- 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 +1 -1
- package/dist/components/rating.min.css +1 -1
- package/dist/components/rating.min.js +1 -1
- 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 +1 -1
- package/dist/components/search.min.css +1 -1
- package/dist/components/search.min.js +1 -1
- 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 +1 -1
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +1 -1
- package/dist/components/sidebar.css +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/sidebar.min.css +1 -1
- package/dist/components/sidebar.min.js +1 -1
- package/dist/components/site.css +1 -1
- package/dist/components/site.js +1 -1
- package/dist/components/site.min.css +1 -1
- package/dist/components/site.min.js +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/slider.min.js +1 -1
- package/dist/components/state.js +1 -1
- package/dist/components/state.min.js +1 -1
- 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 +1 -1
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +1 -1
- package/dist/components/tab.css +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +1 -1
- package/dist/components/table.css +1 -1
- package/dist/components/table.min.css +1 -1
- 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 +1 -1
- package/dist/components/toast.min.css +1 -1
- package/dist/components/toast.min.js +1 -1
- package/dist/components/transition.css +1 -1
- package/dist/components/transition.js +1 -1
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +1 -1
- package/dist/components/visibility.js +1 -1
- package/dist/components/visibility.min.js +1 -1
- package/dist/semantic.css +50 -58
- package/dist/semantic.js +26 -26
- package/dist/semantic.min.css +1 -1
- package/dist/semantic.min.js +1 -1
- 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/package.json +1 -1
- package/src/definitions/collections/form.less +2 -2
- package/src/definitions/elements/button.less +84 -92
- package/src/definitions/elements/input.less +9 -8
- 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/globals/site.variables +1 -0
- package/src/themes/default/globals/variation.variables +3 -0
- package/tasks/config/user.js +4 -1
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
package/package.json
CHANGED
@@ -591,7 +591,7 @@
|
|
591
591
|
border-radius: @formStates[@@state][borderRadius];
|
592
592
|
box-shadow: @formStates[@@state][boxShadow];
|
593
593
|
}
|
594
|
-
& when (@state=error) {
|
594
|
+
& when (@state=error) and (@variationFormInvalid) {
|
595
595
|
.ui.form .field input:not(:placeholder-shown):invalid {
|
596
596
|
color: @c;
|
597
597
|
background: @bg;
|
@@ -760,7 +760,7 @@
|
|
760
760
|
.ui.form .disabled.fields .field,
|
761
761
|
.ui.form .disabled.field,
|
762
762
|
.ui.form .field :disabled {
|
763
|
-
pointer-events:
|
763
|
+
pointer-events: @disabledPointerEvents;
|
764
764
|
opacity: @disabledOpacity;
|
765
765
|
}
|
766
766
|
.ui.form .field.disabled > label,
|
@@ -1756,101 +1756,93 @@
|
|
1756
1756
|
})
|
1757
1757
|
}
|
1758
1758
|
|
1759
|
-
|
1760
|
-
|
1761
|
-
|
1762
|
-
|
1763
|
-
|
1764
|
-
|
1765
|
-
|
1766
|
-
|
1767
|
-
|
1768
|
-
|
1769
|
-
|
1770
|
-
|
1771
|
-
|
1772
|
-
|
1773
|
-
|
1774
|
-
|
1775
|
-
|
1776
|
-
|
1777
|
-
|
1778
|
-
box-shadow: @coloredBoxShadow;
|
1779
|
-
}
|
1780
|
-
.ui.@{consequence}.buttons .button:hover,
|
1781
|
-
.ui.@{consequence}.button:hover {
|
1782
|
-
background-color: @@_backgroundColorHover;
|
1783
|
-
color: @@_textColor;
|
1784
|
-
text-shadow: @@_textShadow;
|
1785
|
-
}
|
1786
|
-
.ui.@{consequence}.buttons .button:focus,
|
1787
|
-
.ui.@{consequence}.button:focus {
|
1788
|
-
background-color: @@_backgroundColorFocus;
|
1789
|
-
color: @@_textColor;
|
1790
|
-
text-shadow: @@_textShadow;
|
1791
|
-
}
|
1792
|
-
.ui.@{consequence}.buttons .button:active,
|
1793
|
-
.ui.@{consequence}.button:active {
|
1794
|
-
background-color: @@_backgroundColorDown;
|
1795
|
-
color: @@_textColor;
|
1796
|
-
text-shadow: @@_textShadow;
|
1797
|
-
}
|
1798
|
-
.ui.@{consequence}.buttons .active.button,
|
1799
|
-
.ui.@{consequence}.buttons .active.button:active,
|
1800
|
-
.ui.@{consequence}.active.button,
|
1801
|
-
.ui.@{consequence}.button .active.button:active {
|
1802
|
-
background-color: @@_backgroundColorActive;
|
1803
|
-
color: @@_textColor;
|
1804
|
-
text-shadow: @@_textShadow;
|
1805
|
-
}
|
1806
|
-
& when (@variationButtonBasic) {
|
1807
|
-
/* Basic */
|
1808
|
-
.ui.basic.@{consequence}.buttons .button,
|
1809
|
-
.ui.basic.@{consequence}.button {
|
1810
|
-
background: transparent;
|
1811
|
-
box-shadow: 0 0 0 @basicBorderSize @@_backgroundColor inset;
|
1812
|
-
color: @@_backgroundColor;
|
1813
|
-
}
|
1814
|
-
.ui.basic.@{consequence}.buttons .button:hover,
|
1815
|
-
.ui.basic.@{consequence}.button:hover {
|
1816
|
-
background: transparent;
|
1817
|
-
box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorHover inset;
|
1818
|
-
color: @@_backgroundColorHover;
|
1819
|
-
}
|
1820
|
-
.ui.basic.@{consequence}.buttons .button:focus,
|
1821
|
-
.ui.basic.@{consequence}.button:focus {
|
1822
|
-
background: transparent;
|
1823
|
-
box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorFocus inset;
|
1824
|
-
color: @@_backgroundColorHover;
|
1825
|
-
}
|
1826
|
-
.ui.basic.@{consequence}.buttons .active.button,
|
1827
|
-
.ui.basic.@{consequence}.active.button {
|
1828
|
-
background: transparent;
|
1829
|
-
box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorActive inset;
|
1830
|
-
color: @@_backgroundColorDown;
|
1831
|
-
}
|
1832
|
-
.ui.basic.@{consequence}.buttons .button:active,
|
1833
|
-
.ui.basic.@{consequence}.button:active {
|
1834
|
-
box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorDown inset;
|
1835
|
-
color: @@_backgroundColorDown;
|
1836
|
-
}
|
1837
|
-
.ui.buttons:not(.vertical) > .basic.@{consequence}.button:not(:first-child) {
|
1838
|
-
margin-left: -@basicColoredBorderSize;
|
1759
|
+
& when not (@variationButtonConsequences = false) {
|
1760
|
+
each(@variationButtonConsequences, {
|
1761
|
+
@consequence: @value;
|
1762
|
+
|
1763
|
+
@_backgroundColor: "@{consequence}Color";
|
1764
|
+
@_backgroundColorHover: "@{consequence}ColorHover";
|
1765
|
+
@_backgroundColorFocus: "@{consequence}ColorFocus";
|
1766
|
+
@_backgroundColorDown: "@{consequence}ColorDown";
|
1767
|
+
@_backgroundColorActive: "@{consequence}ColorActive";
|
1768
|
+
@_textColor: "@{consequence}TextColor";
|
1769
|
+
@_textShadow: "@{consequence}TextShadow";
|
1770
|
+
|
1771
|
+
/* Standard */
|
1772
|
+
.ui.@{consequence}.buttons .button,
|
1773
|
+
.ui.@{consequence}.button {
|
1774
|
+
background-color: @@_backgroundColor;
|
1775
|
+
color: @@_textColor;
|
1776
|
+
text-shadow: @@_textShadow;
|
1777
|
+
background-image: @coloredBackgroundImage;
|
1839
1778
|
}
|
1840
|
-
|
1779
|
+
.ui.@{consequence}.button {
|
1780
|
+
box-shadow: @coloredBoxShadow;
|
1781
|
+
}
|
1782
|
+
.ui.@{consequence}.buttons .button:hover,
|
1783
|
+
.ui.@{consequence}.button:hover {
|
1784
|
+
background-color: @@_backgroundColorHover;
|
1785
|
+
color: @@_textColor;
|
1786
|
+
text-shadow: @@_textShadow;
|
1787
|
+
}
|
1788
|
+
.ui.@{consequence}.buttons .button:focus,
|
1789
|
+
.ui.@{consequence}.button:focus {
|
1790
|
+
background-color: @@_backgroundColorFocus;
|
1791
|
+
color: @@_textColor;
|
1792
|
+
text-shadow: @@_textShadow;
|
1793
|
+
}
|
1794
|
+
.ui.@{consequence}.buttons .button:active,
|
1795
|
+
.ui.@{consequence}.button:active {
|
1796
|
+
background-color: @@_backgroundColorDown;
|
1797
|
+
color: @@_textColor;
|
1798
|
+
text-shadow: @@_textShadow;
|
1799
|
+
}
|
1800
|
+
.ui.@{consequence}.buttons .active.button,
|
1801
|
+
.ui.@{consequence}.buttons .active.button:active,
|
1802
|
+
.ui.@{consequence}.active.button,
|
1803
|
+
.ui.@{consequence}.button .active.button:active {
|
1804
|
+
background-color: @@_backgroundColorActive;
|
1805
|
+
color: @@_textColor;
|
1806
|
+
text-shadow: @@_textShadow;
|
1807
|
+
}
|
1808
|
+
& when (@variationButtonBasic) {
|
1809
|
+
/* Basic */
|
1810
|
+
.ui.basic.@{consequence}.buttons .button,
|
1811
|
+
.ui.basic.@{consequence}.button {
|
1812
|
+
background: transparent;
|
1813
|
+
box-shadow: 0 0 0 @basicBorderSize @@_backgroundColor inset;
|
1814
|
+
color: @@_backgroundColor;
|
1815
|
+
}
|
1816
|
+
.ui.basic.@{consequence}.buttons .button:hover,
|
1817
|
+
.ui.basic.@{consequence}.button:hover {
|
1818
|
+
background: transparent;
|
1819
|
+
box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorHover inset;
|
1820
|
+
color: @@_backgroundColorHover;
|
1821
|
+
}
|
1822
|
+
.ui.basic.@{consequence}.buttons .button:focus,
|
1823
|
+
.ui.basic.@{consequence}.button:focus {
|
1824
|
+
background: transparent;
|
1825
|
+
box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorFocus inset;
|
1826
|
+
color: @@_backgroundColorHover;
|
1827
|
+
}
|
1828
|
+
.ui.basic.@{consequence}.buttons .active.button,
|
1829
|
+
.ui.basic.@{consequence}.active.button {
|
1830
|
+
background: transparent;
|
1831
|
+
box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorActive inset;
|
1832
|
+
color: @@_backgroundColorDown;
|
1833
|
+
}
|
1834
|
+
.ui.basic.@{consequence}.buttons .button:active,
|
1835
|
+
.ui.basic.@{consequence}.button:active {
|
1836
|
+
box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorDown inset;
|
1837
|
+
color: @@_backgroundColorDown;
|
1838
|
+
}
|
1839
|
+
.ui.buttons:not(.vertical) > .basic.@{consequence}.button:not(:first-child) {
|
1840
|
+
margin-left: -@basicColoredBorderSize;
|
1841
|
+
}
|
1842
|
+
}
|
1843
|
+
})
|
1841
1844
|
}
|
1842
1845
|
|
1843
|
-
/*---------------
|
1844
|
-
Positive
|
1845
|
-
----------------*/
|
1846
|
-
|
1847
|
-
.addConsequence(positive);
|
1848
|
-
|
1849
|
-
/*---------------
|
1850
|
-
Negative
|
1851
|
-
----------------*/
|
1852
|
-
|
1853
|
-
.addConsequence(negative);
|
1854
1846
|
|
1855
1847
|
& when (@variationButtonGroups) {
|
1856
1848
|
/*******************************
|
@@ -97,7 +97,7 @@
|
|
97
97
|
|
98
98
|
.ui.disabled.input > input,
|
99
99
|
.ui.input:not(.disabled) input[disabled] {
|
100
|
-
pointer-events:
|
100
|
+
pointer-events: @disabledPointerEvents;
|
101
101
|
}
|
102
102
|
}
|
103
103
|
|
@@ -191,7 +191,7 @@
|
|
191
191
|
color: @formStates[@@state][color];
|
192
192
|
box-shadow: @formStates[@@state][boxShadow];
|
193
193
|
}
|
194
|
-
& when (@state=error) {
|
194
|
+
& when (@state=error) and (@variationInputInvalid) {
|
195
195
|
.ui.input > input:not(:placeholder-shown):invalid {
|
196
196
|
background-color: @formStates[@@state][background];
|
197
197
|
border-color: @formStates[@@state][borderColor];
|
@@ -718,12 +718,13 @@
|
|
718
718
|
color: @fileButtonTextColor;
|
719
719
|
}
|
720
720
|
}
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
721
|
+
& when (@variationInputInvalid) {
|
722
|
+
.ui.form .field input[type="file"]:required:invalid,
|
723
|
+
.ui.file.input input[type="file"]:required:invalid {
|
724
|
+
color: @negativeTextColor;
|
725
|
+
background: @negativeBackgroundColor;
|
726
|
+
border-color: @negativeBorderColor;
|
727
|
+
}
|
727
728
|
}
|
728
729
|
|
729
730
|
input[type="file"].ui.invisible.file.input,
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -38,6 +38,7 @@
|
|
38
38
|
@variationButtonWrapping: true;
|
39
39
|
@variationButtonWrapped: true;
|
40
40
|
@variationButtonSpaced: true;
|
41
|
+
@variationButtonConsequences: positive, negative;
|
41
42
|
@variationButtonSizes: @variationAllSizes;
|
42
43
|
@variationButtonColors: @variationAllColors;
|
43
44
|
|
@@ -125,6 +126,7 @@
|
|
125
126
|
@variationInputDisabled: true;
|
126
127
|
@variationInputInverted: true;
|
127
128
|
@variationInputStates: @variationAllStates;
|
129
|
+
@variationInputInvalid: true;
|
128
130
|
@variationInputTransparent: true;
|
129
131
|
@variationInputCorner: true;
|
130
132
|
@variationInputLoading: true;
|
@@ -271,6 +273,7 @@
|
|
271
273
|
@variationFormTransparent: true;
|
272
274
|
@variationFormLoading: true;
|
273
275
|
@variationFormStates: @variationAllStates;
|
276
|
+
@variationFormInvalid: true;
|
274
277
|
@variationFormRequired: true;
|
275
278
|
@variationFormInline: true;
|
276
279
|
@variationFormGrouped: true;
|
package/tasks/config/user.js
CHANGED
@@ -29,10 +29,13 @@ var
|
|
29
29
|
try {
|
30
30
|
// looks for config file across all parent directories
|
31
31
|
userConfig = requireDotFile('semantic.json', process.cwd());
|
32
|
+
if(userConfig.valueOf() === false) {
|
33
|
+
console.error('No semantic.json config found');
|
34
|
+
}
|
32
35
|
}
|
33
36
|
catch(error) {
|
34
37
|
if(error.code === 'MODULE_NOT_FOUND') {
|
35
|
-
console.error('
|
38
|
+
console.error('require-dot-file module not found');
|
36
39
|
}
|
37
40
|
}
|
38
41
|
|