nice-elements 1.8.0 → 1.8.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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## v1.8.1 (16.3.2023)
4
+
5
+ - worked on nice-search and nice-search2
6
+
3
7
  ## v1.8.0 (16.3.2023)
4
8
 
5
9
  - created nice-wrapper component,
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # MIT License
2
2
 
3
- Copyright (c) 2022 Klemen Kastelic
3
+ Copyright (c) 2023 Klemen Kastelic
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
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.0
3
+ # Nice elements v1.8.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
 
package/bower.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nice-elements",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "authors": [
5
5
  "Klemen Kastelic <klemen@olaii.com>"
6
6
  ],
package/dist/nice.js CHANGED
@@ -4747,6 +4747,7 @@ angular.module('niceElements')
4747
4747
  onChange: '&?',
4748
4748
  noMargin: '@',
4749
4749
  tabIndex: '@',
4750
+ keyForInputLabel: '@',
4750
4751
  debounceTime: '@',
4751
4752
  isInline: '=',
4752
4753
  help: '@'
@@ -5565,7 +5566,7 @@ angular.module('niceElements')
5565
5566
  .service('NiceService', function () {
5566
5567
  var service = {
5567
5568
  name: "Nice elements",
5568
- version: "1.7.12",
5569
+ version: "1.8.0",
5569
5570
  getHeader: function () {
5570
5571
  return {};
5571
5572
  }
@@ -6357,9 +6358,9 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
6357
6358
  "</div>\n" +
6358
6359
  "</div>\n" +
6359
6360
  "</div>\n" +
6360
- "<div class=\"row\">\n" +
6361
+ "<div class=\"row\" ng-if=\"noResults || results.length\">\n" +
6361
6362
  "<div ng-class=\"labelWidth ? labelWidth : 'col-sm-4'\" ng-if=\"title\"></div>\n" +
6362
- "<div ng-class=\"fieldWidth ? fieldWidth : 'col-sm-8'\">\n" +
6363
+ "<div class=\"nice-field col-xs-12\" ng-class=\"fieldWidth ? fieldWidth : 'col-sm-8'\">\n" +
6363
6364
  "<div class=\"nice-dropdown-empty\" ng-if=\"noResults\">\n" +
6364
6365
  "<div class=\"nice-search-row\" translate translate-context=\"Nice\">No results found.</div>\n" +
6365
6366
  "</div>\n" +