nice-elements 1.13.6 → 1.13.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.13.7 (28.9.2026)
4
+
5
+ - worked on email regex - OLA-1902
6
+
3
7
  ## v1.13.6 (18.9.2026)
4
8
 
5
9
  - added upload progress to nice upload component
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # MIT License
2
2
 
3
- Copyright (c) 2024 Klemen Kastelic
3
+ Copyright (c) 2026 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.13.6
3
+ # Nice elements v1.13.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.13.6",
3
+ "version": "1.13.7",
4
4
  "authors": [
5
5
  "Klemen Kastelic <klemen@olaii.com>"
6
6
  ],
package/dist/nice.js CHANGED
@@ -4096,8 +4096,7 @@ angular.module('niceElements')
4096
4096
  $scope.model = Number($scope.model);
4097
4097
  } else if ($scope.type == "email") {
4098
4098
  $scope.inputMode = "email";
4099
- // TODO: get rid of the errors
4100
- $scope.regexexp = new RegExp('^[_a-zA-Z0-9]+(.[_a-zA-Z0-9]+)*@[a-zA-Z0-9]+(.[a-zA-Z0-9]+)+(.[a-zA-Z]{2,4})');
4099
+ $scope.regexexp = new RegExp("^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$");
4101
4100
  } else {
4102
4101
  $scope.internalType = "text";
4103
4102
  }
@@ -6703,7 +6702,7 @@ angular.module('niceElements')
6703
6702
  .service('NiceService', function ($rootScope) {
6704
6703
  const service = {
6705
6704
  name: "Nice elements",
6706
- version: "1.13.6",
6705
+ version: "1.13.7",
6707
6706
  getHeader: function () {
6708
6707
  return {};
6709
6708
  },