nice-elements 1.7.3 → 1.7.5
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/CHANGELOG.md +14 -0
- package/README.md +6 -5
- package/bower.json +1 -1
- package/dist/nice.js +217 -256
- package/dist/nice.min.js +1 -1
- package/dist/style.css +26 -11
- package/dist/style.css.map +1 -1
- package/dist/style.min.css +2 -2
- package/package.json +1 -1
- package/src/components/nice-calendar/nice-calendar.html +9 -12
- package/src/components/nice-choice/nice-choice.html +3 -6
- package/src/components/nice-comment/nice-comment.html +5 -15
- package/src/components/nice-comment/nice-comment.js +7 -6
- package/src/components/nice-comment/nice-comment.scss +13 -9
- package/src/components/nice-date/nice-date.html +11 -14
- package/src/components/nice-date-input/nice-date-input.html +2 -5
- package/src/components/nice-date-range/nice-date-range.html +2 -5
- package/src/components/nice-datetime-picker/nice-datetime-picker.html +2 -5
- package/src/components/nice-datetime-picker/nice-datetime-picker.js +42 -41
- package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.html +3 -8
- package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.js +19 -18
- package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.html +3 -6
- package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.js +1 -1
- package/src/components/nice-dropdown/nice-dropdown.html +2 -6
- package/src/components/nice-dropdown/nice-dropdown.js +1 -2
- package/src/components/nice-dropdown/nice-dropdown.scss +3 -2
- package/src/components/nice-dropdown-date/nice-dropdown-date.html +7 -33
- package/src/components/nice-dropdown-date/nice-dropdown-date.scss +15 -15
- package/src/components/nice-dropdown-old/nice-dropdown-old.html +3 -13
- package/src/components/nice-dropdown-old/nice-dropdown-old.js +1 -1
- package/src/components/nice-help/nice-help.html +0 -1
- package/src/components/nice-help/nice-help.js +1 -0
- package/src/components/nice-icon/nice-icon.html +1 -1
- package/src/components/nice-input/nice-input.html +2 -5
- package/src/components/nice-label/nice-label.html +3 -6
- package/src/components/nice-number/nice-number.html +7 -10
- package/src/components/nice-number/nice-number.js +11 -11
- package/src/components/nice-percent/nice-percent.html +5 -22
- package/src/components/nice-percent/nice-percent.js +12 -12
- package/src/components/nice-progress-bar/nice-progress-bar.html +2 -5
- package/src/components/nice-quantity/nice-quantity.html +2 -5
- package/src/components/nice-search/nice-search.html +2 -5
- package/src/components/nice-search/nice-search.js +32 -32
- package/src/components/nice-search2/nice-search2.html +2 -5
- package/src/components/nice-slot/nice-slot.html +3 -6
- package/src/components/nice-slot/nice-slot.js +1 -1
- package/src/components/nice-time-picker/nice-time-picker.html +2 -5
- package/src/components/nice-title/nice-title.html +4 -0
- package/src/components/nice-title/nice-title.js +21 -0
- package/src/components/nice-upload/nice-upload.html +2 -5
- package/src/components/nice-yesno/nice-yesno.html +5 -8
- package/src/styles/_nice-common.scss +12 -1
- package/.sass-cache/1d4d0ffb237c3d9343c8307bb3646a3468e01635/_nice-time-picker.scssc +0 -0
- package/.sass-cache/1d4d0ffb237c3d9343c8307bb3646a3468e01635/nice-time-picker.scssc +0 -0
- package/.sass-cache/1f6e4ee3597ab85647886bc9c4e8109aa78717f7/_nice-comment.scssc +0 -0
- package/.sass-cache/1f6e4ee3597ab85647886bc9c4e8109aa78717f7/nice-comment.scssc +0 -0
- package/.sass-cache/1fa02acb98a7cebbbaaccd8ef62dedeb80075746/nice-quantity.scssc +0 -0
- package/.sass-cache/1fa94ee530c99ae186c7bd3283815b253c159498/_nice-date-range.scssc +0 -0
- package/.sass-cache/1fa94ee530c99ae186c7bd3283815b253c159498/nice-date-range.scssc +0 -0
- package/.sass-cache/2406fb0232b759324e272b7c77657baf27c90e42/_nice-button.scssc +0 -0
- package/.sass-cache/2406fb0232b759324e272b7c77657baf27c90e42/nice-button.scssc +0 -0
- package/.sass-cache/31b728a8c63158f4e90f2433807d8683ba9c2c31/_nice-steps.scssc +0 -0
- package/.sass-cache/31b728a8c63158f4e90f2433807d8683ba9c2c31/nice-steps.scssc +0 -0
- package/.sass-cache/37204b4bf5d558273e6880c7a4e167f7861ab03f/_nice-input.scssc +0 -0
- package/.sass-cache/37204b4bf5d558273e6880c7a4e167f7861ab03f/nice-input.scssc +0 -0
- package/.sass-cache/431ac0ca4bdfd08ba071d03a2ca7da0d436b3b83/_nice-calendar.scssc +0 -0
- package/.sass-cache/431ac0ca4bdfd08ba071d03a2ca7da0d436b3b83/nice-calendar.scssc +0 -0
- package/.sass-cache/459f898bda19afea4cd8d91d5c10187053da875e/_nice-notification.scssc +0 -0
- package/.sass-cache/459f898bda19afea4cd8d91d5c10187053da875e/nice-notification.scssc +0 -0
- package/.sass-cache/4930ed1ec4125e07b44755f9054b0955c5d670c1/_nice-datetimerange-picker.scssc +0 -0
- package/.sass-cache/4930ed1ec4125e07b44755f9054b0955c5d670c1/nice-datetimerange-picker.scssc +0 -0
- package/.sass-cache/50821918d2051e6c5077819410ba21c223fa5436/_nice-yesno.scssc +0 -0
- package/.sass-cache/50821918d2051e6c5077819410ba21c223fa5436/nice-yesno.scssc +0 -0
- package/.sass-cache/52335f6e13d042b07835d519f4267df952f94036/nice-dropdown-old.scssc +0 -0
- package/.sass-cache/52f492b94dd9f4468e58d8aa11ba26ac9cdcbbcf/nice-progress-bar.scssc +0 -0
- package/.sass-cache/6629f6f7b13f350c585c990e5699145891af0805/nice-help.scssc +0 -0
- package/.sass-cache/6dfd23eda68e4cff55e32e19d3bc5f0e6095bda9/nice-search2.scssc +0 -0
- package/.sass-cache/7870950c279970f0acdfb180a33c0d63a93fc5b0/nice-upload.scssc +0 -0
- package/.sass-cache/8262cded9a15ef6944463029ea13840a5c6a0a1c/_nice-button-toggle.scssc +0 -0
- package/.sass-cache/8262cded9a15ef6944463029ea13840a5c6a0a1c/nice-button-toggle.scssc +0 -0
- package/.sass-cache/857ba4c3c78aaab6e58c5b00a12da6c65d66676d/_bootstrap-variables.scssc +0 -0
- package/.sass-cache/857ba4c3c78aaab6e58c5b00a12da6c65d66676d/_nice-common.scssc +0 -0
- package/.sass-cache/857ba4c3c78aaab6e58c5b00a12da6c65d66676d/_nice.scssc +0 -0
- package/.sass-cache/857ba4c3c78aaab6e58c5b00a12da6c65d66676d/_variables.scssc +0 -0
- package/.sass-cache/857ba4c3c78aaab6e58c5b00a12da6c65d66676d/main.scssc +0 -0
- package/.sass-cache/857ba4c3c78aaab6e58c5b00a12da6c65d66676d/mian.scssc +0 -0
- package/.sass-cache/857ba4c3c78aaab6e58c5b00a12da6c65d66676d/style.scssc +0 -0
- package/.sass-cache/986d90a9d8ae3a4a5aa6f15810cce470ee21c1e4/_nice-date.scssc +0 -0
- package/.sass-cache/986d90a9d8ae3a4a5aa6f15810cce470ee21c1e4/nice-date.scssc +0 -0
- package/.sass-cache/9d06f237d2d27ccd53e7f33d4b297c0d8eb0b63f/_nice-number.scssc +0 -0
- package/.sass-cache/9d06f237d2d27ccd53e7f33d4b297c0d8eb0b63f/nice-number.scssc +0 -0
- package/.sass-cache/a03093fb7751330f3265c5ea28ca531de7f3d934/_nice-checkbox.scssc +0 -0
- package/.sass-cache/a03093fb7751330f3265c5ea28ca531de7f3d934/nice-checkbox.scssc +0 -0
- package/.sass-cache/a1b06abbd8698084475db896d8ff4a7f1265c271/_nice-dropdown-date.scssc +0 -0
- package/.sass-cache/a1b06abbd8698084475db896d8ff4a7f1265c271/nice-dropdown-date.scssc +0 -0
- package/.sass-cache/b19ce123b04f298b9f73064dd4bb3769bb7dac52/_nice-choice.scssc +0 -0
- package/.sass-cache/b19ce123b04f298b9f73064dd4bb3769bb7dac52/nice-choice.scssc +0 -0
- package/.sass-cache/ca90f8692023a08ca2b41d94fdfed54ba626bd71/_nice-datetimerange-picker-2.scssc +0 -0
- package/.sass-cache/ca90f8692023a08ca2b41d94fdfed54ba626bd71/nice-datetimerange-picker-2.scssc +0 -0
- package/.sass-cache/cecda35f57530d4aeece9f6e4b62149aefebc5d0/_mixins.scssc +0 -0
- package/.sass-cache/cecda35f57530d4aeece9f6e4b62149aefebc5d0/_variables.scssc +0 -0
- package/.sass-cache/d6e688001eb343b628b15651efd3d3f216ea3904/_nice-loader.scssc +0 -0
- package/.sass-cache/d6e688001eb343b628b15651efd3d3f216ea3904/nice-loader.scssc +0 -0
- package/.sass-cache/ea51e3b8d20bcedb108131c0024346d6e689f0ac/_alerts.scssc +0 -0
- package/.sass-cache/ea51e3b8d20bcedb108131c0024346d6e689f0ac/_background-variant.scssc +0 -0
- package/.sass-cache/ea51e3b8d20bcedb108131c0024346d6e689f0ac/_border-radius.scssc +0 -0
- package/.sass-cache/ea51e3b8d20bcedb108131c0024346d6e689f0ac/_buttons.scssc +0 -0
- package/.sass-cache/ea51e3b8d20bcedb108131c0024346d6e689f0ac/_center-block.scssc +0 -0
- package/.sass-cache/ea51e3b8d20bcedb108131c0024346d6e689f0ac/_clearfix.scssc +0 -0
- package/.sass-cache/ea51e3b8d20bcedb108131c0024346d6e689f0ac/_forms.scssc +0 -0
- package/.sass-cache/ea51e3b8d20bcedb108131c0024346d6e689f0ac/_gradients.scssc +0 -0
- package/.sass-cache/ea51e3b8d20bcedb108131c0024346d6e689f0ac/_grid-framework.scssc +0 -0
- package/.sass-cache/ea51e3b8d20bcedb108131c0024346d6e689f0ac/_grid.scssc +0 -0
- package/.sass-cache/ea51e3b8d20bcedb108131c0024346d6e689f0ac/_hide-text.scssc +0 -0
- package/.sass-cache/ea51e3b8d20bcedb108131c0024346d6e689f0ac/_image.scssc +0 -0
- package/.sass-cache/ea51e3b8d20bcedb108131c0024346d6e689f0ac/_labels.scssc +0 -0
- package/.sass-cache/ea51e3b8d20bcedb108131c0024346d6e689f0ac/_list-group.scssc +0 -0
- package/.sass-cache/ea51e3b8d20bcedb108131c0024346d6e689f0ac/_nav-divider.scssc +0 -0
- package/.sass-cache/ea51e3b8d20bcedb108131c0024346d6e689f0ac/_nav-vertical-align.scssc +0 -0
- package/.sass-cache/ea51e3b8d20bcedb108131c0024346d6e689f0ac/_opacity.scssc +0 -0
- package/.sass-cache/ea51e3b8d20bcedb108131c0024346d6e689f0ac/_pagination.scssc +0 -0
- package/.sass-cache/ea51e3b8d20bcedb108131c0024346d6e689f0ac/_panels.scssc +0 -0
- package/.sass-cache/ea51e3b8d20bcedb108131c0024346d6e689f0ac/_progress-bar.scssc +0 -0
- package/.sass-cache/ea51e3b8d20bcedb108131c0024346d6e689f0ac/_reset-filter.scssc +0 -0
- package/.sass-cache/ea51e3b8d20bcedb108131c0024346d6e689f0ac/_reset-text.scssc +0 -0
- package/.sass-cache/ea51e3b8d20bcedb108131c0024346d6e689f0ac/_resize.scssc +0 -0
- package/.sass-cache/ea51e3b8d20bcedb108131c0024346d6e689f0ac/_responsive-visibility.scssc +0 -0
- package/.sass-cache/ea51e3b8d20bcedb108131c0024346d6e689f0ac/_size.scssc +0 -0
- package/.sass-cache/ea51e3b8d20bcedb108131c0024346d6e689f0ac/_tab-focus.scssc +0 -0
- package/.sass-cache/ea51e3b8d20bcedb108131c0024346d6e689f0ac/_table-row.scssc +0 -0
- package/.sass-cache/ea51e3b8d20bcedb108131c0024346d6e689f0ac/_text-emphasis.scssc +0 -0
- package/.sass-cache/ea51e3b8d20bcedb108131c0024346d6e689f0ac/_text-overflow.scssc +0 -0
- package/.sass-cache/ea51e3b8d20bcedb108131c0024346d6e689f0ac/_vendor-prefixes.scssc +0 -0
- package/.sass-cache/f490af71b12507baba9bcbb0dd054fe1ecf75736/_nice-datetime-picker.scssc +0 -0
- package/.sass-cache/f490af71b12507baba9bcbb0dd054fe1ecf75736/nice-datetime-picker.scssc +0 -0
- package/.sass-cache/f5acd1dc0d835dc1887b3ac8ec2eecf82b650935/_nice-search.scssc +0 -0
- package/.sass-cache/f5acd1dc0d835dc1887b3ac8ec2eecf82b650935/nice-search.scssc +0 -0
- package/.sass-cache/fd9f4f9e07e96510c3ea7c8543d71e342ea61d29/_nice-dropdown.scssc +0 -0
- package/.sass-cache/fd9f4f9e07e96510c3ea7c8543d71e342ea61d29/nice-dropdown.scssc +0 -0
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
<ng-form class="nice-component nice-upload" ng-class="{ 'margin-bottom-0' : noMargin, 'nice-component-inline': isInline }" name="form">
|
|
2
2
|
<div class="row">
|
|
3
|
-
<!-------------------------
|
|
4
|
-
<
|
|
5
|
-
<div class="nice-title-text">{{ title }}<span ng-if="required">*</span></div>
|
|
6
|
-
<nice-help class="nice-title-help" ng-if="help" text="{{ help }}"></nice-help>
|
|
7
|
-
</div>
|
|
3
|
+
<!------------------------- Title ------------------------->
|
|
4
|
+
<nice-title title="title" help="help" required="required" label-width="labelWidth"></nice-title>
|
|
8
5
|
|
|
9
6
|
<!------------------------- Field ------------------------->
|
|
10
7
|
<div class="nice-field col-xs-12" ng-class="[fieldWidth ? fieldWidth : 'col-sm-8', { 'nice-disabled': isDisabled }]">
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
<div class="nice-component nice-yesno" ng-class="{ 'margin-bottom-0' : noMargin, 'nice-component-inline': isInline }" ng-form="formYesno">
|
|
2
2
|
<div class="row">
|
|
3
|
-
<!-------------------------
|
|
4
|
-
<
|
|
5
|
-
<div class="nice-title-text">{{ title }}<span ng-if="required">*</span></div>
|
|
6
|
-
<nice-help class="nice-title-help" ng-if="help" text="{{ help }}"></nice-help>
|
|
7
|
-
</div>
|
|
3
|
+
<!------------------------- Title ------------------------->
|
|
4
|
+
<nice-title title="title" help="help" required="required" label-width="labelWidth"></nice-title>
|
|
8
5
|
|
|
9
6
|
<!------------------------- Field ------------------------->
|
|
10
|
-
<div class="nice-field col-xs-12" ng-class="fieldWidth ? fieldWidth : 'col-sm-8'">
|
|
11
|
-
<div class="yesno-wrapper noselect"
|
|
7
|
+
<div class="nice-field col-xs-12" ng-class="[fieldWidth ? fieldWidth : 'col-sm-8', { 'nice-disabled': isDisabled }]">
|
|
8
|
+
<div class="yesno-wrapper noselect">
|
|
12
9
|
<button class="yesno-yes-bg" ng-click="switch()" tabindex="-1">{{ yes }}</button>
|
|
13
10
|
<button class="yesno-no-bg" ng-click="switch()" tabindex="-1">{{ no }}</button>
|
|
14
|
-
<button class="yesno-button btn btn-primary" ng-class="buttonClass" ng-click="switch()">{{ state }}</button>
|
|
11
|
+
<button class="yesno-button btn btn-primary" ng-class="buttonClass" ng-click="switch()" ng-disabled="isDisabled">{{ state }}</button>
|
|
15
12
|
</div>
|
|
16
13
|
</div>
|
|
17
14
|
</div>
|
|
@@ -73,13 +73,24 @@ label.nice {
|
|
|
73
73
|
color: $nice-label-color;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
.nice-title-
|
|
76
|
+
.nice-title-required {
|
|
77
|
+
color: var(--nice-danger-color);
|
|
78
|
+
padding-left: 1px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.nice-title-text+.nice-title-help {
|
|
77
82
|
margin-left: 5px;
|
|
78
83
|
line-height: 1;
|
|
79
84
|
}
|
|
80
85
|
|
|
81
86
|
@media (max-width: $screen-xs-max) {
|
|
82
87
|
justify-content: flex-start;
|
|
88
|
+
min-height: auto;
|
|
89
|
+
margin-bottom: 3px;
|
|
90
|
+
|
|
91
|
+
&.nice-title-empty {
|
|
92
|
+
margin-bottom: 0;
|
|
93
|
+
}
|
|
83
94
|
|
|
84
95
|
.nice-title-text {
|
|
85
96
|
text-align: left;
|
|
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
|
|
Binary file
|
package/.sass-cache/4930ed1ec4125e07b44755f9054b0955c5d670c1/_nice-datetimerange-picker.scssc
DELETED
|
Binary file
|
package/.sass-cache/4930ed1ec4125e07b44755f9054b0955c5d670c1/nice-datetimerange-picker.scssc
DELETED
|
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
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/.sass-cache/ca90f8692023a08ca2b41d94fdfed54ba626bd71/_nice-datetimerange-picker-2.scssc
DELETED
|
Binary file
|
package/.sass-cache/ca90f8692023a08ca2b41d94fdfed54ba626bd71/nice-datetimerange-picker-2.scssc
DELETED
|
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
|
|
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
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|