nice-elements 1.15.1 → 1.16.1
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 +24 -0
- package/CLAUDE.md +1 -0
- package/README.md +1 -1
- package/bower.json +1 -1
- package/dist/nice.js +620 -509
- package/dist/nice.min.js +1 -1
- package/dist/style.css +145 -126
- package/dist/style.css.map +1 -1
- package/dist/style.min.css +2 -2
- package/package.json +5 -6
- package/src/components/nice-calendar/nice-calendar.html +3 -4
- package/src/components/nice-calendar/nice-calendar.scss +0 -9
- package/src/components/nice-date/nice-date-picker.html +60 -0
- package/src/components/nice-date/nice-date.html +29 -86
- package/src/components/nice-date/nice-date.js +7 -35
- package/src/components/nice-date/nice-date.scss +6 -15
- package/src/components/nice-datetime-picker/nice-datetime-picker.html +1 -4
- package/src/components/nice-datetime-picker/nice-datetime-picker.scss +9 -12
- package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.html +1 -3
- package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.html +32 -30
- package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.js +1 -33
- package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.scss +7 -12
- package/src/components/nice-dropdown/nice-dropdown.html +42 -40
- package/src/components/nice-dropdown/nice-dropdown.js +52 -54
- package/src/components/nice-dropdown/nice-dropdown.scss +25 -4
- package/src/components/nice-dropdown-old/nice-dropdown-old.html +1 -1
- package/src/components/nice-dropdown-old/nice-dropdown-old.scss +8 -2
- package/src/components/nice-dtp/nice-dtp.html +7 -7
- package/src/components/nice-notification/nice-notification.html +6 -6
- package/src/components/nice-notification/nice-notification.scss +7 -6
- package/src/components/nice-options/nice-options.scss +4 -0
- package/src/components/nice-popup/nice-popup.html +4 -4
- package/src/components/nice-popup/nice-popup.js +61 -75
- package/src/components/nice-popup/nice-popup.scss +10 -31
- package/src/components/nice-search/nice-search.html +21 -26
- package/src/components/nice-search/nice-search.js +9 -12
- package/src/components/nice-search/nice-search.scss +9 -10
- package/src/components/nice-search2/nice-search2.html +22 -18
- package/src/components/nice-search2/nice-search2.js +12 -56
- package/src/components/nice-search2/nice-search2.scss +3 -2
- package/src/components/nice-svgs/nice-svgs.html +8 -0
- package/src/components/nice-time-picker/nice-time-picker.html +1 -3
- package/src/components/nice-time-picker/nice-time-picker.scss +0 -8
- package/src/directives/nice-tooltip/_nice-tooltip.scss +7 -28
- package/src/directives/nice-tooltip/nice-tooltip.js +16 -29
- package/src/services/nice-service.js +236 -1
- package/src/styles/_nice-anchored.scss +75 -0
- package/src/styles/_nice.scss +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v1.16.1 (30.11.2026)
|
|
4
|
+
|
|
5
|
+
- fixed nice search dropdown position (sits under the input),
|
|
6
|
+
- nice search dropdown closes on click outside,
|
|
7
|
+
- nice search updates results also when refresh-function returns a native promise,
|
|
8
|
+
- fixed nice search2 on-select (accepts an expression like on-select="fn(model)" or a function reference),
|
|
9
|
+
- fixed nice search2 model binding inside nice popup,
|
|
10
|
+
- nice notification classes are prefixed with nice-,
|
|
11
|
+
- added max-width to nice notification, cards align left
|
|
12
|
+
|
|
13
|
+
## v1.16.0 (27.11.2026)
|
|
14
|
+
|
|
15
|
+
- removed font awesome, all icons are now nice icon (added icon-dot, bolder icon-plus),
|
|
16
|
+
- nice popup, nice dropdown, nice search2, nice date, nice datetimerange picker 2 and nice tooltip are positioned with native popover and css anchor positioning, popper is only a fallback,
|
|
17
|
+
- added is-open, trigger and same-width to nice popup,
|
|
18
|
+
- nice dropdown, nice search2, nice date and nice datetimerange picker 2 now use nice popup,
|
|
19
|
+
- popups close on escape, flip to the other side when there is no space and slide under the header when their input scrolls out of view,
|
|
20
|
+
- fixed page not scrolling while a popup is open (nice date, nice datetime picker, nice datetimerange picker, nice datetimerange picker 2, nice time picker), they now close on click outside,
|
|
21
|
+
- added selected-function to nice dropdown,
|
|
22
|
+
- fixed nice dropdown showing "," and losing selected keys that are not in the list,
|
|
23
|
+
- fixed nice options text overflowing its buttons,
|
|
24
|
+
- updated build dependencies (grunt-contrib-cssmin, grunt-sass, sass),
|
|
25
|
+
- updated example documentation
|
|
26
|
+
|
|
3
27
|
## v1.15.1 (20.11.2026)
|
|
4
28
|
|
|
5
29
|
- added manual input support to nice date,
|
package/CLAUDE.md
CHANGED
|
@@ -72,6 +72,7 @@ Adding a component means touching all of these:
|
|
|
72
72
|
- **Translations**: angular-gettext with `translate-context="Nice"` on user-facing strings in templates.
|
|
73
73
|
- **Dialogs**: ngDialog is a peer dependency. Library dialogs use `<nice-dialog>` and are opened with `className: 'nice-ngdialog', showClose: false`.
|
|
74
74
|
- Globals available everywhere: `angular`, `moment`, `_` (lodash 3), `Decimal` (decimal.js), `Popper`.
|
|
75
|
+
- **Floating content** (popups, dropdowns): use `<nice-popup>` (`trigger="manual" is-open="isOpen"` when the component controls it), never Popper directly. nice-popup is built on `NiceService.anchor(target, content, options)` (native popover + CSS anchor positioning, `src/styles/_nice-anchored.scss`, Popper fallback); call that directly only where wrapping markup isn't possible, like the `nice-tooltip` attribute.
|
|
75
76
|
|
|
76
77
|
## Releases
|
|
77
78
|
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|

|
|
2
2
|
|
|
3
|
-
# Nice elements v1.
|
|
3
|
+
# Nice elements v1.16.1
|
|
4
4
|
|
|
5
5
|
Nice elements is an AngularJS v1.5.8 module that contains nice form elements like inputs, choice fields, search, toggle, dropdown, etc.
|
|
6
6
|
|