@rebilly/revel 4.19.0 → 4.19.2

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,3 +1,17 @@
1
+ ## [4.19.2](https://github.com/Rebilly/rebilly/compare/revel-v4.19.1...revel-v4.19.2) (2023-06-26)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **revel:** Add style to radios that are disabled but checked ([#563](https://github.com/Rebilly/rebilly/issues/563)) ([01a2615](https://github.com/Rebilly/rebilly/commit/01a261583c3a3db86edb1a9445afc17a02159b95))
7
+
8
+ ## [4.19.1](https://github.com/Rebilly/rebilly/compare/revel-v4.19.0...revel-v4.19.1) (2023-06-26)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **revel:** Fix r-select not showing no result message ([#562](https://github.com/Rebilly/rebilly/issues/562)) ([a6cb0f5](https://github.com/Rebilly/rebilly/commit/a6cb0f5faa4ad60f4f5f25ff9e93290d68979e74))
14
+
1
15
  ## [4.19.0](https://github.com/Rebilly/rebilly/compare/revel-v4.18.2...revel-v4.19.0) (2023-06-20)
2
16
 
3
17
 
package/dist/revel.es.js CHANGED
@@ -19706,6 +19706,15 @@ const _sfc_main$5 = {
19706
19706
  };
19707
19707
  return hasNextOptions(this.computedAsyncLastOptions);
19708
19708
  },
19709
+ displayNoResultsMessage() {
19710
+ return (
19711
+ this.showNoResults &&
19712
+ this.filteredOptions.length === 0 &&
19713
+ this.search &&
19714
+ !this.loading &&
19715
+ !this.computedIsLoading
19716
+ );
19717
+ },
19709
19718
  },
19710
19719
  watch: {
19711
19720
  filteredOptions() {
@@ -20193,6 +20202,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
20193
20202
  'r-select-is-disabled': $props.disabled,
20194
20203
  'r-select-is-above': $options.isAbove,
20195
20204
  'r-select-is-allow-empty': $props.allowEmpty,
20205
+ 'r-select-is-no-result': $options.displayNoResultsMessage,
20196
20206
  }, "r-select r-field"]),
20197
20207
  role: "combobox",
20198
20208
  "aria-owns": 'listbox-' + $props.id,
@@ -20399,13 +20409,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
20399
20409
  ])
20400
20410
  ])
20401
20411
  ], 512), [
20402
- [vShow,
20403
- $props.showNoResults &&
20404
- $options.filteredOptions.length === 0 &&
20405
- $data.search &&
20406
- !$props.loading &&
20407
- !$options.computedIsLoading
20408
- ]
20412
+ [vShow, $options.displayNoResultsMessage]
20409
20413
  ]),
20410
20414
  withDirectives(createElementVNode("li", _hoisted_16, [
20411
20415
  createElementVNode("span", _hoisted_17, [