nice-elements 1.9.16 → 1.10.0
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/.vscode/settings.json +17 -17
- package/CHANGELOG.md +407 -401
- package/LICENSE.md +21 -21
- package/README.md +95 -93
- package/bower.json +10 -10
- package/dist/nice.js +8073 -7930
- package/dist/nice.min.js +1 -1
- package/dist/style.css +105 -9
- package/dist/style.css.map +3 -1
- package/dist/style.min.css +8 -8
- package/package.json +40 -40
- package/src/components/nice-button/nice-button.html +4 -4
- package/src/components/nice-button/nice-button.js +41 -41
- package/src/components/nice-button/nice-button.scss +16 -16
- package/src/components/nice-button-toggle/nice-button-toggle.html +9 -9
- package/src/components/nice-button-toggle/nice-button-toggle.js +23 -23
- package/src/components/nice-button-toggle/nice-button-toggle.scss +2 -2
- package/src/components/nice-calendar/nice-calendar.html +91 -91
- package/src/components/nice-calendar/nice-calendar.js +334 -334
- package/src/components/nice-calendar/nice-calendar.scss +285 -285
- package/src/components/nice-checkbox/nice-checkbox.html +5 -5
- package/src/components/nice-checkbox/nice-checkbox.js +33 -33
- package/src/components/nice-checkbox/nice-checkbox.scss +91 -91
- package/src/components/nice-choice/nice-choice.html +18 -18
- package/src/components/nice-choice/nice-choice.js +210 -210
- package/src/components/nice-choice/nice-choice.scss +110 -110
- package/src/components/nice-click-outside/nice-click-outside.js +105 -105
- package/src/components/nice-comment/nice-comment.html +10 -10
- package/src/components/nice-comment/nice-comment.js +69 -69
- package/src/components/nice-comment/nice-comment.scss +39 -39
- package/src/components/nice-date/nice-date.html +74 -74
- package/src/components/nice-date/nice-date.js +327 -327
- package/src/components/nice-date/nice-date.scss +302 -302
- package/src/components/nice-date-input/nice-date-input.html +41 -41
- package/src/components/nice-date-input/nice-date-input.js +109 -109
- package/src/components/nice-date-input/nice-date-input.scss +45 -45
- package/src/components/nice-date-range/nice-date-range.html +15 -15
- package/src/components/nice-date-range/nice-date-range.js +76 -76
- package/src/components/nice-date-range/nice-date-range.scss +390 -390
- package/src/components/nice-datetime-picker/nice-datetime-picker.html +29 -29
- package/src/components/nice-datetime-picker/nice-datetime-picker.js +87 -87
- package/src/components/nice-datetime-picker/nice-datetime-picker.scss +428 -428
- package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.html +55 -55
- package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.js +246 -246
- package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.scss +73 -73
- package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.html +44 -44
- package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.js +172 -172
- package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.scss +127 -127
- package/src/components/nice-dropdown/nice-dropdown.html +60 -60
- package/src/components/nice-dropdown/nice-dropdown.js +489 -489
- package/src/components/nice-dropdown/nice-dropdown.scss +249 -249
- package/src/components/nice-dropdown-date/nice-dropdown-date.html +28 -28
- package/src/components/nice-dropdown-date/nice-dropdown-date.js +126 -126
- package/src/components/nice-dropdown-date/nice-dropdown-date.scss +82 -82
- package/src/components/nice-dropdown-old/nice-dropdown-old.html +44 -44
- package/src/components/nice-dropdown-old/nice-dropdown-old.js +330 -330
- package/src/components/nice-dropdown-old/nice-dropdown-old.scss +129 -129
- package/src/components/nice-dtp/nice-dtp.html +91 -91
- package/src/components/nice-dtp/nice-dtp.js +833 -833
- package/src/components/nice-help/nice-help.html +6 -6
- package/src/components/nice-help/nice-help.js +55 -55
- package/src/components/nice-help/nice-help.scss +78 -78
- package/src/components/nice-input/nice-input.html +48 -48
- package/src/components/nice-input/nice-input.js +244 -244
- package/src/components/nice-input/nice-input.scss +130 -130
- package/src/components/nice-label/nice-label.html +10 -10
- package/src/components/nice-label/nice-label.js +30 -30
- package/src/components/nice-loader/nice-loader.html +6 -6
- package/src/components/nice-loader/nice-loader.js +28 -28
- package/src/components/nice-loader/nice-loader.scss +47 -47
- package/src/components/nice-no-data/nice-no-data.html +4 -0
- package/src/components/nice-no-data/nice-no-data.js +26 -0
- package/src/components/nice-no-data/nice-no-data.scss +27 -0
- package/src/components/nice-notification/nice-notification.html +3 -3
- package/src/components/nice-notification/nice-notification.js +124 -124
- package/src/components/nice-notification/nice-notification.scss +66 -66
- package/src/components/nice-number/nice-number.html +40 -40
- package/src/components/nice-number/nice-number.js +169 -169
- package/src/components/nice-number/nice-number.scss +18 -18
- package/src/components/nice-percent/nice-percent.html +24 -24
- package/src/components/nice-percent/nice-percent.js +94 -94
- package/src/components/nice-pill/nice-pill.html +3 -3
- package/src/components/nice-pill/nice-pill.js +29 -29
- package/src/components/nice-pill/nice-pill.scss +25 -25
- package/src/components/nice-popup/nice-popup.html +6 -6
- package/src/components/nice-popup/nice-popup.js +122 -122
- package/src/components/nice-popup/nice-popup.scss +43 -43
- package/src/components/nice-progress-bar/nice-progress-bar.html +15 -15
- package/src/components/nice-progress-bar/nice-progress-bar.js +54 -54
- package/src/components/nice-progress-bar/nice-progress-bar.scss +47 -47
- package/src/components/nice-quantity/nice-quantity.html +22 -22
- package/src/components/nice-quantity/nice-quantity.js +55 -55
- package/src/components/nice-quantity/nice-quantity.scss +51 -51
- package/src/components/nice-search/nice-search.html +44 -44
- package/src/components/nice-search/nice-search.js +239 -239
- package/src/components/nice-search/nice-search.scss +90 -90
- package/src/components/nice-search2/nice-search2.html +32 -32
- package/src/components/nice-search2/nice-search2.js +264 -264
- package/src/components/nice-search2/nice-search2.scss +80 -80
- package/src/components/nice-slot/nice-slot.html +10 -10
- package/src/components/nice-slot/nice-slot.js +29 -29
- package/src/components/nice-steps/nice-steps.scss +81 -81
- package/src/components/nice-svgs/nice-svgs.html +1262 -1262
- package/src/components/nice-svgs/nice-svgs.js +16 -16
- package/src/components/nice-table/nice-table.html +28 -0
- package/src/components/nice-table/nice-table.js +40 -0
- package/src/components/nice-table/nice-table.scss +62 -0
- package/src/components/nice-time-picker/nice-time-picker.html +43 -43
- package/src/components/nice-time-picker/nice-time-picker.js +83 -83
- package/src/components/nice-time-picker/nice-time-picker.scss +37 -37
- package/src/components/nice-title/nice-title.html +3 -3
- package/src/components/nice-title/nice-title.js +21 -21
- package/src/components/nice-toast/nice-toast.html +2 -2
- package/src/components/nice-toast/nice-toast.js +56 -56
- package/src/components/nice-toast/nice-toast.scss +74 -74
- package/src/components/nice-toggle/nice-toggle.html +12 -12
- package/src/components/nice-toggle/nice-toggle.js +95 -95
- package/src/components/nice-toggle/nice-toggle.scss +74 -67
- package/src/components/nice-tooltip/_nice-tooltip.scss +71 -71
- package/src/components/nice-tooltip/nice-tooltip.js +23 -23
- package/src/components/nice-upload/nice-upload.html +22 -22
- package/src/components/nice-upload/nice-upload.js +157 -157
- package/src/components/nice-upload/nice-upload.scss +85 -85
- package/src/components/nice-wrapper/_nice-wrapper.scss +87 -87
- package/src/components/nice-wrapper/nice-wrapper.html +12 -12
- package/src/components/nice-wrapper/nice-wrapper.js +43 -43
- package/src/components/nice-yesno/nice-yesno.html +14 -14
- package/src/components/nice-yesno/nice-yesno.js +109 -109
- package/src/components/nice-yesno/nice-yesno.scss +95 -95
- package/src/filters/nice-date.js +17 -17
- package/src/filters/nice-highlight.js +16 -16
- package/src/modals/nice-multilangual-modal/nice-multilangual-modal.html +30 -30
- package/src/modals/nice-multilangual-modal/nice-multilangual-modal.js +67 -67
- package/src/modals/nice-multilangual-modal/nice-multilangual-modal.scss +19 -19
- package/src/nice.js +2 -2
- package/src/services/nice-service.js +19 -19
- package/src/styles/_bootstrap-variables.scss +178 -178
- package/src/styles/_nice-buttons.scss +403 -403
- package/src/styles/_nice-common.scss +471 -471
- package/src/styles/_nice-ngdialog.scss +85 -85
- package/src/styles/_nice-spacing.scss +283 -283
- package/src/styles/_nice.scss +67 -65
- package/src/styles/_variables.scss +197 -195
package/dist/style.css
CHANGED
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
--nice-warning-color-darker: #d39e00;
|
|
32
32
|
--nice-warning-color-plain: #fff9e8;
|
|
33
33
|
--nice-border-color: #cbd4d9;
|
|
34
|
+
--nice-border-color-darker: #aebcc3;
|
|
34
35
|
--nice-border-radius: 3px;
|
|
35
36
|
--nice-border-radius-small: 3px;
|
|
36
37
|
--nice-disabled-color: #EDEFF2;
|
|
@@ -40,6 +41,7 @@
|
|
|
40
41
|
--nice-card-bg: white;
|
|
41
42
|
--nice-card-padding: 2rem;
|
|
42
43
|
--nice-input-bg: white;
|
|
44
|
+
--nice-input-bg-hover: #f7f7f7;
|
|
43
45
|
}
|
|
44
46
|
|
|
45
47
|
.noselect, .nice-choice li {
|
|
@@ -7932,13 +7934,13 @@ p.nice {
|
|
|
7932
7934
|
}
|
|
7933
7935
|
|
|
7934
7936
|
.nice-date-range {
|
|
7935
|
-
/*!
|
|
7936
|
-
* Stylesheet for the Date Range Picker, for use with Bootstrap 3.x
|
|
7937
|
-
*
|
|
7938
|
-
* Copyright 2013-2015 Dan Grossman ( http://www.dangrossman.info )
|
|
7939
|
-
* Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php
|
|
7940
|
-
*
|
|
7941
|
-
* Built for http://www.improvely.com
|
|
7937
|
+
/*!
|
|
7938
|
+
* Stylesheet for the Date Range Picker, for use with Bootstrap 3.x
|
|
7939
|
+
*
|
|
7940
|
+
* Copyright 2013-2015 Dan Grossman ( http://www.dangrossman.info )
|
|
7941
|
+
* Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php
|
|
7942
|
+
*
|
|
7943
|
+
* Built for http://www.improvely.com
|
|
7942
7944
|
*/
|
|
7943
7945
|
}
|
|
7944
7946
|
|
|
@@ -9834,6 +9836,11 @@ p.nice {
|
|
|
9834
9836
|
position: relative;
|
|
9835
9837
|
width: 50px;
|
|
9836
9838
|
height: 25px;
|
|
9839
|
+
transition: background-color 0.3s ease-in-out;
|
|
9840
|
+
}
|
|
9841
|
+
|
|
9842
|
+
.nice-toggle .nice-toggle-field:hover .nice-toggle-field-handle {
|
|
9843
|
+
background: var(--nice-border-color-darker);
|
|
9837
9844
|
}
|
|
9838
9845
|
|
|
9839
9846
|
.nice-toggle .nice-toggle-field .nice-toggle-field-handle {
|
|
@@ -9844,14 +9851,103 @@ p.nice {
|
|
|
9844
9851
|
height: 19px;
|
|
9845
9852
|
background: var(--nice-border-color);
|
|
9846
9853
|
border-radius: 50%;
|
|
9847
|
-
transition:
|
|
9854
|
+
transition: all 0.3s ease-in-out;
|
|
9848
9855
|
}
|
|
9849
9856
|
|
|
9850
|
-
.nice-toggle
|
|
9857
|
+
.nice-toggle.active .nice-toggle-field, .nice-table.nice-table-settings .nice-toggle.nice-table-row:hover .nice-toggle-field {
|
|
9851
9858
|
background: var(--nice-primary-color);
|
|
9859
|
+
}
|
|
9860
|
+
|
|
9861
|
+
.nice-toggle.active .nice-toggle-field .nice-toggle-field-handle, .nice-table.nice-table-settings .nice-toggle.nice-table-row:hover .nice-toggle-field .nice-toggle-field-handle {
|
|
9862
|
+
background: var(--nice-input-bg);
|
|
9852
9863
|
left: calc(100% - 22px);
|
|
9853
9864
|
}
|
|
9854
9865
|
|
|
9866
|
+
.nice-no-data {
|
|
9867
|
+
display: flex;
|
|
9868
|
+
flex-direction: column;
|
|
9869
|
+
align-items: center;
|
|
9870
|
+
justify-content: center;
|
|
9871
|
+
padding: 1rem;
|
|
9872
|
+
gap: 0.3rem;
|
|
9873
|
+
color: var(--nice-font-color);
|
|
9874
|
+
opacity: 0.6;
|
|
9875
|
+
}
|
|
9876
|
+
|
|
9877
|
+
.nice-no-data.nice-no-data-fulldiv {
|
|
9878
|
+
position: absolute;
|
|
9879
|
+
top: 0;
|
|
9880
|
+
left: 0;
|
|
9881
|
+
width: 100%;
|
|
9882
|
+
height: 100%;
|
|
9883
|
+
}
|
|
9884
|
+
|
|
9885
|
+
.nice-no-data .nice-no-data-icon {
|
|
9886
|
+
height: 24px;
|
|
9887
|
+
width: 24px;
|
|
9888
|
+
}
|
|
9889
|
+
|
|
9890
|
+
.nice-no-data .nice-no-data-message {
|
|
9891
|
+
font-style: italic;
|
|
9892
|
+
}
|
|
9893
|
+
|
|
9894
|
+
.nice-table-wrapper {
|
|
9895
|
+
min-height: .01%;
|
|
9896
|
+
overflow-x: auto;
|
|
9897
|
+
}
|
|
9898
|
+
|
|
9899
|
+
.nice-table-wrapper .nice-table {
|
|
9900
|
+
width: 100%;
|
|
9901
|
+
max-width: 100%;
|
|
9902
|
+
border-collapse: collapse;
|
|
9903
|
+
border-spacing: 0;
|
|
9904
|
+
background: var(--nice-card-bg);
|
|
9905
|
+
}
|
|
9906
|
+
|
|
9907
|
+
.nice-table-wrapper .nice-table .nice-table-freeze-first {
|
|
9908
|
+
position: sticky;
|
|
9909
|
+
left: 0;
|
|
9910
|
+
background: var(--nice-card-bg);
|
|
9911
|
+
}
|
|
9912
|
+
|
|
9913
|
+
.nice-table-wrapper .nice-table .nice-table-freeze-last {
|
|
9914
|
+
position: sticky;
|
|
9915
|
+
right: 0;
|
|
9916
|
+
background: var(--nice-card-bg);
|
|
9917
|
+
}
|
|
9918
|
+
|
|
9919
|
+
.nice-table-wrapper .nice-table .nice-table-actions {
|
|
9920
|
+
display: flex;
|
|
9921
|
+
gap: 0.5rem;
|
|
9922
|
+
}
|
|
9923
|
+
|
|
9924
|
+
.nice-table-wrapper .nice-table thead {
|
|
9925
|
+
border-bottom: 1px solid var(--nice-border-color);
|
|
9926
|
+
}
|
|
9927
|
+
|
|
9928
|
+
.nice-table-wrapper .nice-table thead tr th {
|
|
9929
|
+
padding: 8px;
|
|
9930
|
+
vertical-align: bottom;
|
|
9931
|
+
text-transform: uppercase;
|
|
9932
|
+
font-size: 12px;
|
|
9933
|
+
color: var(--nice-primary-color);
|
|
9934
|
+
}
|
|
9935
|
+
|
|
9936
|
+
.nice-table-wrapper .nice-table tbody tr:hover {
|
|
9937
|
+
background-color: var(--nice-hover-color);
|
|
9938
|
+
}
|
|
9939
|
+
|
|
9940
|
+
.nice-table-wrapper .nice-table tbody tr:hover .nice-table-freeze-first,
|
|
9941
|
+
.nice-table-wrapper .nice-table tbody tr:hover .nice-table-freeze-last {
|
|
9942
|
+
background-color: var(--nice-hover-color);
|
|
9943
|
+
}
|
|
9944
|
+
|
|
9945
|
+
.nice-table-wrapper .nice-table tbody tr td {
|
|
9946
|
+
padding: 8px;
|
|
9947
|
+
vertical-align: middle;
|
|
9948
|
+
border-top: 1px solid var(--nice-border-color);
|
|
9949
|
+
}
|
|
9950
|
+
|
|
9855
9951
|
.nice-multilangual-modal .nice-multilangual-languages .nice-multilangual-language {
|
|
9856
9952
|
margin-bottom: 1rem;
|
|
9857
9953
|
display: flex;
|