@rebilly/revel 4.18.2 → 4.19.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,3 +1,17 @@
1
+ ## [4.19.1](https://github.com/Rebilly/rebilly/compare/revel-v4.19.0...revel-v4.19.1) (2023-06-26)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **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))
7
+
8
+ ## [4.19.0](https://github.com/Rebilly/rebilly/compare/revel-v4.18.2...revel-v4.19.0) (2023-06-20)
9
+
10
+
11
+ ### Features
12
+
13
+ * **revel:** Add breakpoints tokens ([#516](https://github.com/Rebilly/rebilly/issues/516)) ([b9f7eda](https://github.com/Rebilly/rebilly/commit/b9f7edad021df1eefea2414d8cbfe62775f0738b))
14
+
1
15
  ## [4.18.2](https://github.com/Rebilly/rebilly/compare/revel-v4.18.1...revel-v4.18.2) (2023-06-19)
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, [
@@ -21238,7 +21242,7 @@ const createRToastManager = (app, globalOptions = {}) => ({
21238
21242
 
21239
21243
  /**
21240
21244
  * Do not edit directly
21241
- * Generated on Wed, 14 Jun 2023 16:02:11 GMT
21245
+ * Generated on Fri, 16 Jun 2023 16:03:28 GMT
21242
21246
  */
21243
21247
 
21244
21248
  const RBorderRadius1 = "0.125rem"; // 1 border radius
@@ -21246,6 +21250,11 @@ const RBorderRadius2 = "0.25rem"; // 2 border radius
21246
21250
  const RBorderRadius3 = "0.5rem"; // 3 border radius
21247
21251
  const RBorderRadiusPill = "624.9375rem"; // pill border radius
21248
21252
  const RBorderRadiusCircle = "50%"; // circle border radius
21253
+ const RBreakpointsXs = "576px"; // 576px breakpoint value
21254
+ const RBreakpointsS = "768px"; // 768px breakpoint value
21255
+ const RBreakpointsM = "1040px"; // 1040px breakpoint value
21256
+ const RBreakpointsL = "1200px"; // 1200px breakpoint value
21257
+ const RBreakpointsXl = "1400px"; // 1400px breakpoint value
21249
21258
  const RBackground = "#F7FAFC"; // base background color
21250
21259
  const RBackgroundRaised = "#E7EDF1"; // background hovered color
21251
21260
  const RSurface = "#FFFFFF"; // base surface color
@@ -21370,6 +21379,11 @@ var tokens = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
21370
21379
  RBorderRadius3: RBorderRadius3,
21371
21380
  RBorderRadiusPill: RBorderRadiusPill,
21372
21381
  RBorderRadiusCircle: RBorderRadiusCircle,
21382
+ RBreakpointsXs: RBreakpointsXs,
21383
+ RBreakpointsS: RBreakpointsS,
21384
+ RBreakpointsM: RBreakpointsM,
21385
+ RBreakpointsL: RBreakpointsL,
21386
+ RBreakpointsXl: RBreakpointsXl,
21373
21387
  RBackground: RBackground,
21374
21388
  RBackgroundRaised: RBackgroundRaised,
21375
21389
  RSurface: RSurface,