nice-elements 1.10.14 → 1.10.16
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 +0 -1
- package/CHANGELOG.md +16 -0
- package/README.md +1 -1
- package/bower.json +1 -1
- package/dist/nice.js +371 -302
- package/dist/nice.min.js +1 -1
- package/dist/style.css +65 -10
- package/dist/style.css.map +2 -1
- package/dist/style.min.css +2 -2
- package/eslint.config.mjs +6 -2
- package/package.json +4 -4
- package/src/components/nice-calendar/nice-calendar.js +16 -16
- package/src/components/nice-choice/nice-choice.js +6 -6
- package/src/components/nice-click-outside/nice-click-outside.js +7 -7
- package/src/components/nice-comment/nice-comment.js +2 -2
- package/src/components/nice-date/nice-date.js +6 -4
- package/src/components/nice-date-input/nice-date-input.js +3 -3
- package/src/components/nice-date-range/nice-date-range.js +2 -2
- package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.js +21 -21
- package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.js +8 -7
- package/src/components/nice-dropdown/nice-dropdown.js +29 -22
- package/src/components/nice-dropdown/nice-dropdown.scss +1 -1
- package/src/components/nice-dropdown-date/nice-dropdown-date.js +9 -5
- package/src/components/nice-dropdown-date/nice-dropdown-date.scss +5 -1
- package/src/components/nice-dropdown-old/nice-dropdown-old.js +26 -27
- package/src/components/nice-dtp/nice-dtp.js +85 -85
- package/src/components/nice-help/nice-help.js +7 -4
- package/src/components/nice-input/nice-input.js +8 -8
- package/src/components/nice-no-data/nice-no-data.scss +4 -9
- package/src/components/nice-notification/nice-notification.js +42 -42
- package/src/components/nice-number/nice-number.js +3 -3
- package/src/components/nice-percent/nice-percent.js +1 -1
- package/src/components/nice-popup/nice-popup.js +2 -2
- package/src/components/nice-search/nice-search.js +12 -9
- package/src/components/nice-search2/nice-search2.js +15 -13
- package/src/components/nice-table/nice-table.scss +3 -3
- package/src/components/nice-time-picker/nice-time-picker.js +1 -1
- package/src/components/nice-toast/nice-toast.js +2 -2
- package/src/components/nice-upload/nice-upload.js +4 -4
- package/src/components/nice-view/_nice-view.scss +62 -0
- package/src/components/nice-view/nice-view.html +13 -0
- package/src/components/nice-view/nice-view.js +30 -0
- package/src/components/nice-wrapper/nice-wrapper.js +1 -1
- package/src/filters/nice-date.js +1 -1
- package/src/filters/nice-highlight.js +2 -2
- package/src/services/nice-service.js +2 -2
- package/src/styles/_nice.scss +2 -1
- package/src/styles/_variables.scss +2 -1
package/dist/style.css
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
--nice-font-family: Roboto, Helvetica Neue, Helvetica, Arial, sans-serif;
|
|
3
3
|
--nice-font-weight: normal;
|
|
4
4
|
--nice-font-color: #404040;
|
|
5
|
+
--nice-font-color-lighter: #767676;
|
|
5
6
|
--nice-hover-color: #ededed;
|
|
6
7
|
--nice-primary-color: #3189ff;
|
|
7
8
|
--nice-primary-color-lighter: #64a6ff;
|
|
@@ -39,7 +40,7 @@
|
|
|
39
40
|
--nice-disabled-bg: white;
|
|
40
41
|
--nice-card-border: #cbd4d9;
|
|
41
42
|
--nice-card-bg: white;
|
|
42
|
-
--nice-card-bg-opacity: rgba(255, 255, 255, 0.
|
|
43
|
+
--nice-card-bg-opacity: rgba(255, 255, 255, 0.9);
|
|
43
44
|
--nice-card-padding: 2rem;
|
|
44
45
|
--nice-input-bg: white;
|
|
45
46
|
--nice-input-bg-hover: #f7f7f7;
|
|
@@ -10035,13 +10036,7 @@ p.nice {
|
|
|
10035
10036
|
padding: 2rem 1rem;
|
|
10036
10037
|
font-size: 0.9em;
|
|
10037
10038
|
gap: 0.3rem;
|
|
10038
|
-
color: var(--nice-font-color);
|
|
10039
|
-
opacity: 0.5;
|
|
10040
|
-
transition: opacity 0.3s ease;
|
|
10041
|
-
}
|
|
10042
|
-
|
|
10043
|
-
.nice-no-data:hover {
|
|
10044
|
-
opacity: 0.7;
|
|
10039
|
+
color: var(--nice-font-color-lighter);
|
|
10045
10040
|
}
|
|
10046
10041
|
|
|
10047
10042
|
.nice-no-data.nice-no-data-fulldiv {
|
|
@@ -10058,7 +10053,7 @@ p.nice {
|
|
|
10058
10053
|
}
|
|
10059
10054
|
|
|
10060
10055
|
.nice-table-wrapper {
|
|
10061
|
-
min-height: .01%;
|
|
10056
|
+
min-height: 0.01%;
|
|
10062
10057
|
overflow-x: auto;
|
|
10063
10058
|
}
|
|
10064
10059
|
|
|
@@ -10075,7 +10070,6 @@ p.nice {
|
|
|
10075
10070
|
.nice-table-wrapper .nice-table .nice-table-freeze-right {
|
|
10076
10071
|
position: sticky;
|
|
10077
10072
|
background: var(--nice-card-bg-opacity);
|
|
10078
|
-
backdrop-filter: blur(3px);
|
|
10079
10073
|
}
|
|
10080
10074
|
|
|
10081
10075
|
.nice-table-wrapper .nice-table .nice-table-freeze-left {
|
|
@@ -10159,6 +10153,67 @@ p.nice {
|
|
|
10159
10153
|
border-top: 1px solid var(--nice-border-color);
|
|
10160
10154
|
}
|
|
10161
10155
|
|
|
10156
|
+
.nice-view {
|
|
10157
|
+
display: flex;
|
|
10158
|
+
flex-direction: column;
|
|
10159
|
+
height: 100dvh;
|
|
10160
|
+
--nice-view-padding: 2rem;
|
|
10161
|
+
}
|
|
10162
|
+
|
|
10163
|
+
.nice-view.nice-view-has-header .nice-view-body {
|
|
10164
|
+
padding-top: calc(var(--nice-view-padding) / 2);
|
|
10165
|
+
}
|
|
10166
|
+
|
|
10167
|
+
.nice-view.nice-view-has-footer .nice-view-body {
|
|
10168
|
+
padding-bottom: calc(var(--nice-view-padding) / 2);
|
|
10169
|
+
}
|
|
10170
|
+
|
|
10171
|
+
.nice-view .nice-view-header {
|
|
10172
|
+
flex-shrink: 0;
|
|
10173
|
+
padding: var(--nice-view-padding);
|
|
10174
|
+
padding-bottom: calc(var(--nice-view-padding) / 2);
|
|
10175
|
+
}
|
|
10176
|
+
|
|
10177
|
+
.nice-view .nice-view-header .nice-view-header-wrapper {
|
|
10178
|
+
display: flex;
|
|
10179
|
+
align-items: center;
|
|
10180
|
+
}
|
|
10181
|
+
|
|
10182
|
+
.nice-view .nice-view-header .nice-view-header-wrapper .nice-icon {
|
|
10183
|
+
height: 50px;
|
|
10184
|
+
width: 50px;
|
|
10185
|
+
margin-right: 1rem;
|
|
10186
|
+
}
|
|
10187
|
+
|
|
10188
|
+
.nice-view .nice-view-header .nice-view-header-title {
|
|
10189
|
+
font-size: 2em;
|
|
10190
|
+
line-height: 1;
|
|
10191
|
+
}
|
|
10192
|
+
|
|
10193
|
+
.nice-view .nice-view-header .nice-view-header-subtitle {
|
|
10194
|
+
text-transform: uppercase;
|
|
10195
|
+
color: var(--nice-primary-color);
|
|
10196
|
+
margin-bottom: 3px;
|
|
10197
|
+
}
|
|
10198
|
+
|
|
10199
|
+
.nice-view .nice-view-body {
|
|
10200
|
+
flex-grow: 1;
|
|
10201
|
+
overflow: auto;
|
|
10202
|
+
padding: var(--nice-view-padding);
|
|
10203
|
+
}
|
|
10204
|
+
|
|
10205
|
+
.nice-view .nice-view-footer {
|
|
10206
|
+
flex-shrink: 0;
|
|
10207
|
+
padding: var(--nice-view-padding);
|
|
10208
|
+
padding-top: calc(var(--nice-view-padding) / 2);
|
|
10209
|
+
}
|
|
10210
|
+
|
|
10211
|
+
@media (max-width: 767px) {
|
|
10212
|
+
.nice-view {
|
|
10213
|
+
--nice-view-padding: 1rem;
|
|
10214
|
+
}
|
|
10215
|
+
}
|
|
10216
|
+
|
|
10162
10217
|
.nice-multilangual-modal .nice-multilangual-languages .nice-multilangual-language {
|
|
10163
10218
|
margin-bottom: 1rem;
|
|
10164
10219
|
display: flex;
|