nice-elements 1.8.6 → 1.8.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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## v1.8.7 (26.6.2023)
4
+
5
+ - changed trash can with x - OLA-639
6
+
3
7
  ## v1.8.6 (8.6.2023)
4
8
 
5
9
  - worked on nice-dropdown filter function,
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ![Nice elements](https://github.com/Klemen1337/angularjs-nice-elements/raw/master/demo/assets/logo.png)
2
2
 
3
- # Nice elements v1.8.6
3
+ # Nice elements v1.8.7
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
 
package/bower.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nice-elements",
3
- "version": "1.8.6",
3
+ "version": "1.8.7",
4
4
  "authors": [
5
5
  "Klemen Kastelic <klemen@olaii.com>"
6
6
  ],
package/dist/nice.js CHANGED
@@ -5632,7 +5632,7 @@ angular.module('niceElements')
5632
5632
  .service('NiceService', function () {
5633
5633
  var service = {
5634
5634
  name: "Nice elements",
5635
- version: "1.8.6",
5635
+ version: "1.8.7",
5636
5636
  getHeader: function () {
5637
5637
  return {};
5638
5638
  }
@@ -6101,7 +6101,7 @@ angular.module('niceElements').run(['$templateCache', function ($templateCache)
6101
6101
  "<input ng-model=\"internal.search\" ng-model-options=\"{ debounce: 500 }\" ng-change=\"handleSearch()\" placeholder=\"{{ searchText }}\">\n" +
6102
6102
  "<div class=\"count\" ng-if=\"internalList && internalList._metadata && enableLoadMore\">{{ internalList.length }}/{{ internalList._metadata.count }}</div>\n" +
6103
6103
  "<nice-icon ng-if=\"!internal.search\" class=\"icon\" icon=\"icon-search\"></nice-icon>\n" +
6104
- "<nice-icon ng-if=\"internal.search\" class=\"icon icon-trash\" icon=\"icon-trash\" ng-click=\"clearSearch()\"></nice-icon>\n" +
6104
+ "<nice-icon ng-if=\"internal.search\" class=\"icon\" icon=\"icon-x\" ng-click=\"clearSearch()\"></nice-icon>\n" +
6105
6105
  "</div>\n" +
6106
6106
  "<div class=\"nice-dropdown-items\" aria-labelledby=\"nice-dropdown-{{ id }}\" role=\"listbox\">\n" +
6107
6107
  "<div role=\"none\" class=\"nice-no-data\" ng-if=\"internalList && internalList.length == 0\">{{ noDataText }}</div>\n" +
@@ -6457,8 +6457,9 @@ angular.module('niceElements').run(['$templateCache', function ($templateCache)
6457
6457
  "<div class=\"nice-field col-xs-12\" ng-class=\"[fieldWidth ? fieldWidth : 'col-sm-8', { 'nice-disabled': isDisabled }]\" click-outside=\"close()\">\n" +
6458
6458
  "<div class=\"nice-search-button input-group\" ng-class=\"{ 'disabled': isDisabled }\">\n" +
6459
6459
  "<input class=\"form-control\" type=\"text\" id=\"{{ id }}\" ng-model=\"model\" placeholder=\"{{ placeholder }}\" ng-disabled=\"isDisabled\" ng-change=\"updateSearch()\" ng-focus=\"onFocus()\" tabindex=\"{{ tabIndex }}\">\n" +
6460
- "<span class=\"input-group-addon clickable\" ng-click=\"onFocus()\">\n" +
6461
- "<nice-icon ng-show=\"!loading\" icon=\"icon-search\"></nice-icon>\n" +
6460
+ "<span class=\"input-group-addon\">\n" +
6461
+ "<nice-icon class=\"clickable\" ng-show=\"!loading && model != ''\" icon=\"icon-x\" ng-click=\"clear()\"></nice-icon>\n" +
6462
+ "<nice-icon class=\"clickable\" ng-show=\"!loading && model == ''\" icon=\"icon-search\" ng-click=\"onFocus()\"></nice-icon>\n" +
6462
6463
  "<nice-loader ng-if=\"loading\"></nice-loader>\n" +
6463
6464
  "</span>\n" +
6464
6465
  "</div>\n" +