nice-elements 1.10.4 → 1.10.5

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.
Files changed (34) hide show
  1. package/CHANGELOG.md +8 -1
  2. package/README.md +1 -1
  3. package/bower.json +1 -1
  4. package/dist/nice.js +142 -114
  5. package/dist/nice.min.js +1 -1
  6. package/dist/style.css +13 -2
  7. package/dist/style.css.map +1 -1
  8. package/dist/style.min.css +1 -1
  9. package/eslint.config.mjs +28 -0
  10. package/package.json +4 -1
  11. package/src/components/nice-calendar/nice-calendar.js +2 -1
  12. package/src/components/nice-comment/nice-comment.html +1 -1
  13. package/src/components/nice-comment/nice-comment.js +2 -1
  14. package/src/components/nice-date/nice-date.html +2 -1
  15. package/src/components/nice-date/nice-date.js +2 -1
  16. package/src/components/nice-date-input/nice-date-input.js +2 -1
  17. package/src/components/nice-date-range/nice-date-range.js +8 -7
  18. package/src/components/nice-datetime-picker/nice-datetime-picker.js +2 -1
  19. package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.js +2 -1
  20. package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.js +2 -1
  21. package/src/components/nice-dropdown/nice-dropdown.html +2 -1
  22. package/src/components/nice-dropdown/nice-dropdown.js +12 -6
  23. package/src/components/nice-dropdown/nice-dropdown.scss +13 -1
  24. package/src/components/nice-dropdown-date/nice-dropdown-date.js +9 -8
  25. package/src/components/nice-dtp/nice-dtp.js +2 -1
  26. package/src/components/nice-label/nice-label.js +2 -1
  27. package/src/components/nice-quantity/nice-quantity.js +1 -0
  28. package/src/components/nice-slot/nice-slot.js +2 -1
  29. package/src/components/nice-time-picker/nice-time-picker.js +2 -1
  30. package/src/components/nice-toggle/nice-toggle.js +3 -2
  31. package/src/components/nice-upload/nice-upload.html +1 -1
  32. package/src/components/nice-upload/nice-upload.js +2 -1
  33. package/src/components/nice-yesno/nice-yesno.js +22 -21
  34. package/src/services/nice-service.js +5 -2
package/dist/style.css CHANGED
@@ -82,7 +82,7 @@ label.nice {
82
82
  }
83
83
 
84
84
  .nice-focus, .nice-component .input-group:focus-within,
85
- .nice-component .form-group:focus-within, .btn.focus, .btn.active.focus, .nice-table.nice-table-settings .btn.focus.nice-table-row:hover, .btn.active:focus, .nice-table.nice-table-settings .btn.nice-table-row:focus:hover, .btn.focus:active, .btn:active:focus, .btn:focus, .nice-dropdown .btn-dropdown:active, .nice-search .nice-dropdown-empty .btn-dropdown:active, .nice-dropdown .btn-dropdown:focus, .nice-search .nice-dropdown-empty .btn-dropdown:focus, .nice-dropdown-old .btn-dropdown:active, .nice-dropdown-old .btn-dropdown:focus, .nice-yesno .yesno-wrapper:focus-within, .nice-choice li .choice-checkbox:focus, .nice-dropdown-date select:active, .nice-dropdown-date select:focus, .nice-upload .nice-field:focus-within .input-area, .nice-toggle:focus-within .nice-toggle-field {
85
+ .nice-component .form-group:focus-within, .btn.focus, .btn.active.focus, .nice-table.nice-table-settings .btn.focus.nice-table-row:hover, .btn.active:focus, .nice-table.nice-table-settings .btn.nice-table-row:focus:hover, .btn.focus:active, .btn:active:focus, .btn:focus, .nice-dropdown .btn-dropdown:active, .nice-search .nice-dropdown-empty .btn-dropdown:active, .nice-dropdown .btn-dropdown:focus, .nice-search .nice-dropdown-empty .btn-dropdown:focus, .nice-dropdown .btn-dropdown:focus-within, .nice-search .nice-dropdown-empty .btn-dropdown:focus-within, .nice-dropdown-old .btn-dropdown:active, .nice-dropdown-old .btn-dropdown:focus, .nice-yesno .yesno-wrapper:focus-within, .nice-choice li .choice-checkbox:focus, .nice-dropdown-date select:active, .nice-dropdown-date select:focus, .nice-upload .nice-field:focus-within .input-area, .nice-toggle:focus-within .nice-toggle-field {
86
86
  outline: 2px solid;
87
87
  outline-color: var(--nice-primary-color);
88
88
  outline-offset: 2px;
@@ -6617,6 +6617,17 @@ p.nice {
6617
6617
  position: fixed !important;
6618
6618
  }
6619
6619
 
6620
+ .nice-dropdown .hidden-input, .nice-search .nice-dropdown-empty .hidden-input {
6621
+ height: 0;
6622
+ width: 100%;
6623
+ position: absolute;
6624
+ bottom: 0;
6625
+ left: 0;
6626
+ padding: 0;
6627
+ background: transparent;
6628
+ opacity: 0;
6629
+ }
6630
+
6620
6631
  .nice-dropdown .open .btn-dropdown, .nice-search .nice-dropdown-empty .open .btn-dropdown {
6621
6632
  background: white !important;
6622
6633
  color: #404040 !important;
@@ -6840,7 +6851,7 @@ p.nice {
6840
6851
  color: #474F52;
6841
6852
  }
6842
6853
 
6843
- .nice-dropdown .btn-dropdown:active, .nice-search .nice-dropdown-empty .btn-dropdown:active, .nice-dropdown .btn-dropdown:focus, .nice-search .nice-dropdown-empty .btn-dropdown:focus {
6854
+ .nice-dropdown .btn-dropdown:active, .nice-search .nice-dropdown-empty .btn-dropdown:active, .nice-dropdown .btn-dropdown:focus, .nice-search .nice-dropdown-empty .btn-dropdown:focus, .nice-dropdown .btn-dropdown:focus-within, .nice-search .nice-dropdown-empty .btn-dropdown:focus-within {
6844
6855
  background: white !important;
6845
6856
  color: #474F52 !important;
6846
6857
  border-color: var(--nice-border-color);