nice-elements 1.10.2 → 1.10.3

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,11 @@
1
1
  # Changelog
2
2
 
3
+ ## v1.10.3 (4.4.2024)
4
+
5
+ - fixed nice button default type,
6
+ - fixed disabled button states,
7
+ - happy birthday Bine!
8
+
3
9
  ## v1.10.2 (3.4.2024)
4
10
 
5
11
  - worked on nice-toggle component style,
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.10.2
3
+ # Nice elements v1.10.3
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.10.2",
3
+ "version": "1.10.3",
4
4
  "authors": ["Klemen Kastelic <klemen@olaii.com>"],
5
5
  "description": "Nice elements",
6
6
  "keywords": [],
package/dist/nice.js CHANGED
@@ -46,11 +46,11 @@ angular.module('niceElements')
46
46
  niceClick: '&',
47
47
  niceDisabled: '=',
48
48
  addClass: '@',
49
- type: '@?'
49
+ niceType: '@?'
50
50
  },
51
51
  controller: function ($q, $scope, $transclude) {
52
52
  if ($scope.addClass != undefined) console.warn("[NICE ELEMENTS] Nice button: add-class attribute is deprecated")
53
- if (!$scope.type) $scope.type = "button";
53
+ if (!$scope.niceType) $scope.niceType = "button";
54
54
  $scope.showSlot = $transclude().length > 0;
55
55
  $scope.loading = false;
56
56
 
@@ -5903,7 +5903,7 @@ angular.module('niceElements')
5903
5903
  .service('NiceService', function () {
5904
5904
  var service = {
5905
5905
  name: "Nice elements",
5906
- version: "1.10.2",
5906
+ version: "1.10.3",
5907
5907
  getHeader: function () {
5908
5908
  return {};
5909
5909
  }
@@ -5979,7 +5979,7 @@ angular.module('niceElements')
5979
5979
  };
5980
5980
  });
5981
5981
 
5982
- angular.module('niceElements').run(['$templateCache', function($templateCache) {
5982
+ angular.module('niceElements').run(['$templateCache', function($templateCache) {
5983
5983
  'use strict';
5984
5984
 
5985
5985
  $templateCache.put('src/components/nice-button-toggle/nice-button-toggle.html',
@@ -5996,7 +5996,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
5996
5996
 
5997
5997
 
5998
5998
  $templateCache.put('src/components/nice-button/nice-button.html',
5999
- "<button type=\"{{ type }}\" class=\"nice-component nice-button btn btn-primary\" ng-class=\"{ 'margin-bottom-0' : noMargin }\" ng-click=\"click()\" ng-disabled=\"niceDisabled == true\">\n" +
5999
+ "<button type=\"{{ niceType }}\" class=\"nice-component nice-button btn btn-primary\" ng-class=\"{ 'margin-bottom-0' : noMargin }\" ng-click=\"click()\" ng-disabled=\"niceDisabled == true\">\n" +
6000
6000
  "<nice-icon icon=\"{{ icon }}\" ng-if=\"icon\" ng-class=\"{ 'opacity-0': loading }\"></nice-icon>\n" +
6001
6001
  "<span ng-if=\"showSlot\" ng-transclude ng-class=\"{ 'opacity-0': loading }\"></span>\n" +
6002
6002
  "<nice-loader ng-if=\"loading\" fulldiv=\"true\" class=\"nice-button-loader\"></nice-loader>\n" +
@@ -8068,5 +8068,5 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
8068
8068
  "</div>\n" +
8069
8069
  "</div>"
8070
8070
  );
8071
-
8072
- }]);
8071
+
8072
+ }]);