@onereach/ui-components 12.0.0 → 12.0.1-beta.4593.0

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.
@@ -249,13 +249,13 @@ var __vue_render__ = function () {
249
249
  items: _vm.items
250
250
  }) : _vm._e(), _vm._v(" "), _vm.items.length === 0 || _vm.loading ? _c('div', {
251
251
  class: _vm.emptyContainerStyles
252
- }, [_vm.proxySearch.length > 0 && !_vm.loading ? _vm._t("noSearchResults", function () {
252
+ }, [_vm.proxySearch && _vm.proxySearch.length > 0 && !_vm.loading ? _vm._t("noSearchResults", function () {
253
253
  return [_vm._v("\n No results\n ")];
254
254
  }, {
255
255
  "search": _vm.proxySearch
256
256
  }) : _vm._e(), _vm._v(" "), _vm.loading ? _vm._t("loading", function () {
257
257
  return [_c('OrLoader')];
258
- }) : _vm._e(), _vm._v(" "), _vm.items.length === 0 && _vm.proxySearch.length === 0 && !_vm.loading ? _vm._t("empty") : _vm._e()], 2) : _vm._e()], 2);
258
+ }) : _vm._e(), _vm._v(" "), _vm.items.length === 0 && _vm.proxySearch && _vm.proxySearch.length === 0 && !_vm.loading ? _vm._t("empty") : _vm._e()], 2) : _vm._e()], 2);
259
259
  };
260
260
  var __vue_staticRenderFns__ = [];
261
261
 
@@ -1 +1 @@
1
- export { s as default } from '../OrCardCollectionV3-eb4602ae.js';
1
+ export { s as default } from '../OrCardCollectionV3-dc193039.js';
@@ -1 +1 @@
1
- export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollectionV3-eb4602ae.js';
1
+ export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollectionV3-dc193039.js';
@@ -1 +1 @@
1
- export { C as CardCollectionView, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollectionV3-eb4602ae.js';
1
+ export { C as CardCollectionView, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollectionV3-dc193039.js';
@@ -1 +1 @@
1
- export { a as CardCollection, e as CardCollectionContent, f as CardCollectionContentViews, h as CardCollectionEmptyContentItem, b as CardCollectionToolbar, c as CardCollectionToolbarPanel } from '../OrCardCollectionV3-eb4602ae.js';
1
+ export { a as CardCollection, e as CardCollectionContent, f as CardCollectionContentViews, h as CardCollectionEmptyContentItem, b as CardCollectionToolbar, c as CardCollectionToolbarPanel } from '../OrCardCollectionV3-dc193039.js';
@@ -250,12 +250,12 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
250
250
  }, 8 /* PROPS */, ["items", "mode"])]) : createCommentVNode("v-if", true), _ctx.items.length === 0 || _ctx.loading ? (openBlock(), createElementBlock("div", {
251
251
  key: 1,
252
252
  class: normalizeClass(_ctx.emptyContainerStyles)
253
- }, [_ctx.proxySearch.length > 0 && !_ctx.loading ? renderSlot(_ctx.$slots, "noSearchResults", {
253
+ }, [_ctx.proxySearch && _ctx.proxySearch.length > 0 && !_ctx.loading ? renderSlot(_ctx.$slots, "noSearchResults", {
254
254
  key: 0,
255
255
  search: _ctx.proxySearch
256
256
  }, () => [createTextVNode(" No results ")]) : createCommentVNode("v-if", true), _ctx.loading ? renderSlot(_ctx.$slots, "loading", {
257
257
  key: 1
258
- }, () => [createVNode(_component_OrLoader)]) : createCommentVNode("v-if", true), _ctx.items.length === 0 && _ctx.proxySearch.length === 0 && !_ctx.loading ? renderSlot(_ctx.$slots, "empty", {
258
+ }, () => [createVNode(_component_OrLoader)]) : createCommentVNode("v-if", true), _ctx.items.length === 0 && _ctx.proxySearch && _ctx.proxySearch.length === 0 && !_ctx.loading ? renderSlot(_ctx.$slots, "empty", {
259
259
  key: 2
260
260
  }) : createCommentVNode("v-if", true)], 2 /* CLASS */)) : createCommentVNode("v-if", true)], 2 /* CLASS */);
261
261
  }
@@ -9,7 +9,7 @@ export { default as OrIconButton, default as OrIconButtonV2 } from './OrIconButt
9
9
  export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButtonV3-7775352a.js';
10
10
  export { default as OrCard } from './OrCard/OrCard.js';
11
11
  export { CARD_COLLECTION_LAYOUT, OrCardCollection } from './OrCardCollection/index.js';
12
- export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollectionV3-eb4602ae.js';
12
+ export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollectionV3-dc193039.js';
13
13
  export { C as CardPadding, s as OrCardV3 } from './OrCardV3-a0e51677.js';
14
14
  export { default as OrCheckbox } from './OrCheckbox/OrCheckbox.js';
15
15
  export { default as OrCheckboxGroupV3 } from './OrCheckboxGroupV3/OrCheckboxGroup.js';
@@ -5,7 +5,7 @@ export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from './components
5
5
  export { OrButton, OrButtonColors, OrButtonSizes, OrButtonViews } from './components/OrButton/index.js';
6
6
  export { s as OrButtonGroupV3 } from './components/OrButtonGroupV3-7e762e7c.js';
7
7
  export { CARD_COLLECTION_LAYOUT, OrCardCollection } from './components/OrCardCollection/index.js';
8
- export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './components/OrCardCollectionV3-eb4602ae.js';
8
+ export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './components/OrCardCollectionV3-dc193039.js';
9
9
  export { C as CardPadding, s as OrCardV3 } from './components/OrCardV3-a0e51677.js';
10
10
  export { default as OrCheckboxGroupV3 } from './components/OrCheckboxGroupV3/OrCheckboxGroup.js';
11
11
  export { s as OrChip, a as OrChips } from './components/OrChips-9db1d174.js';
@@ -299,13 +299,13 @@ var __vue_render__ = function () {
299
299
  items: _vm.items
300
300
  }) : _vm._e(), _vm._v(" "), _vm.items.length === 0 || _vm.loading ? _c('div', {
301
301
  class: _vm.emptyContainerStyles
302
- }, [_vm.proxySearch.length > 0 && !_vm.loading ? _vm._t("noSearchResults", function () {
302
+ }, [_vm.proxySearch && _vm.proxySearch.length > 0 && !_vm.loading ? _vm._t("noSearchResults", function () {
303
303
  return [_vm._v("\n No results\n ")];
304
304
  }, {
305
305
  "search": _vm.proxySearch
306
306
  }) : _vm._e(), _vm._v(" "), _vm.loading ? _vm._t("loading", function () {
307
307
  return [_c('OrLoader')];
308
- }) : _vm._e(), _vm._v(" "), _vm.items.length === 0 && _vm.proxySearch.length === 0 && !_vm.loading ? _vm._t("empty") : _vm._e()], 2) : _vm._e()], 2);
308
+ }) : _vm._e(), _vm._v(" "), _vm.items.length === 0 && _vm.proxySearch && _vm.proxySearch.length === 0 && !_vm.loading ? _vm._t("empty") : _vm._e()], 2) : _vm._e()], 2);
309
309
  };
310
310
  var __vue_staticRenderFns__ = [];
311
311
 
@@ -11,7 +11,7 @@ export { _ as OrButtonV3 } from '../OrButton-3a743a90.js';
11
11
  export { a as ButtonColor, b as ButtonType, B as ButtonVariant } from '../OrButton.vue_rollup-plugin-vue_script-e8900483.js';
12
12
  export { _ as OrCard } from '../OrCard-c44d9783.js';
13
13
  export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from '../OrCardCollection-5c35e100.js';
14
- export { C as CardCollectionView, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-084732f4.js';
14
+ export { C as CardCollectionView, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-5ecdff71.js';
15
15
  export { C as CardPadding, _ as OrCardV3 } from '../OrCard-42359715.js';
16
16
  export { _ as OrCheckbox } from '../OrCheckbox-a91ae887.js';
17
17
  export { _ as OrCheckboxGroupV3 } from '../OrCheckboxGroup-9b5928f0.js';
@@ -1,4 +1,4 @@
1
- export { C as CardCollectionView, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-084732f4.js';
1
+ export { C as CardCollectionView, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-5ecdff71.js';
2
2
  import 'vue-demi';
3
3
  import '../../OrIconButton-efaf73f5.js';
4
4
  import '../../OrIcon-0a14dafc.js';
@@ -11,7 +11,7 @@ export { _ as OrButtonV3 } from './OrButton-3a743a90.js';
11
11
  export { a as ButtonColor, b as ButtonType, B as ButtonVariant } from './OrButton.vue_rollup-plugin-vue_script-e8900483.js';
12
12
  export { _ as OrCard } from './OrCard-c44d9783.js';
13
13
  export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from './OrCardCollection-5c35e100.js';
14
- export { C as CardCollectionView, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-084732f4.js';
14
+ export { C as CardCollectionView, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-5ecdff71.js';
15
15
  export { C as CardPadding, _ as OrCardV3 } from './OrCard-42359715.js';
16
16
  export { _ as OrCheckbox } from './OrCheckbox-a91ae887.js';
17
17
  export { _ as OrCheckboxGroupV3 } from './OrCheckboxGroup-9b5928f0.js';
@@ -250,12 +250,12 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
250
250
  }, 8 /* PROPS */, ["items", "mode"])]) : createCommentVNode("v-if", true), _ctx.items.length === 0 || _ctx.loading ? (openBlock(), createElementBlock("div", {
251
251
  key: 1,
252
252
  class: normalizeClass(_ctx.emptyContainerStyles)
253
- }, [_ctx.proxySearch.length > 0 && !_ctx.loading ? renderSlot(_ctx.$slots, "noSearchResults", {
253
+ }, [_ctx.proxySearch && _ctx.proxySearch.length > 0 && !_ctx.loading ? renderSlot(_ctx.$slots, "noSearchResults", {
254
254
  key: 0,
255
255
  search: _ctx.proxySearch
256
256
  }, () => [createTextVNode(" No results ")]) : createCommentVNode("v-if", true), _ctx.loading ? renderSlot(_ctx.$slots, "loading", {
257
257
  key: 1
258
- }, () => [createVNode(_component_OrLoader)]) : createCommentVNode("v-if", true), _ctx.items.length === 0 && _ctx.proxySearch.length === 0 && !_ctx.loading ? renderSlot(_ctx.$slots, "empty", {
258
+ }, () => [createVNode(_component_OrLoader)]) : createCommentVNode("v-if", true), _ctx.items.length === 0 && _ctx.proxySearch && _ctx.proxySearch.length === 0 && !_ctx.loading ? renderSlot(_ctx.$slots, "empty", {
259
259
  key: 2
260
260
  }) : createCommentVNode("v-if", true)], 2 /* CLASS */)) : createCommentVNode("v-if", true)], 2 /* CLASS */);
261
261
  }
@@ -9,7 +9,7 @@ export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTT
9
9
  export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../OrButton-31bcb511.js';
10
10
  export { s as OrCard } from '../OrCard-e3a5aea4.js';
11
11
  export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from '../OrCardCollection-6559e6fa.js';
12
- export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-39981f6c.js';
12
+ export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-d91771c2.js';
13
13
  export { C as CardPadding, s as OrCardV3 } from '../OrCard-c2ef331b.js';
14
14
  export { s as OrCheckbox } from '../OrCheckbox-9d30d1d2.js';
15
15
  export { s as OrCheckboxGroupV3 } from '../OrCheckboxGroup-3864819c.js';
@@ -1,4 +1,4 @@
1
- export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-39981f6c.js';
1
+ export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-d91771c2.js';
2
2
  import 'vue-demi';
3
3
  import '../../OrIconButton-5a508869.js';
4
4
  import '../../OrIcon-9aff520e.js';
@@ -9,7 +9,7 @@ export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTT
9
9
  export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-31bcb511.js';
10
10
  export { s as OrCard } from './OrCard-e3a5aea4.js';
11
11
  export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from './OrCardCollection-6559e6fa.js';
12
- export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-39981f6c.js';
12
+ export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-d91771c2.js';
13
13
  export { C as CardPadding, s as OrCardV3 } from './OrCard-c2ef331b.js';
14
14
  export { s as OrCheckbox } from './OrCheckbox-9d30d1d2.js';
15
15
  export { s as OrCheckboxGroupV3 } from './OrCheckboxGroup-3864819c.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/ui-components",
3
- "version": "12.0.0",
3
+ "version": "12.0.1-beta.4593.0",
4
4
  "npmUnpacked": "4.15.2",
5
5
  "description": "Vue components library for v2/3",
6
6
  "sideEffects": false,
@@ -179,6 +179,5 @@
179
179
  "default": "./dist/bundled/v3/components/*/index.js"
180
180
  },
181
181
  "./package.json": "./package.json"
182
- },
183
- "gitHead": "cdd7c157c62978c5c1304def240ad877cb7e11d8"
182
+ }
184
183
  }
@@ -81,7 +81,7 @@
81
81
  :class="emptyContainerStyles"
82
82
  >
83
83
  <slot
84
- v-if="proxySearch.length > 0 && !loading"
84
+ v-if="proxySearch && proxySearch.length > 0 && !loading"
85
85
  name="noSearchResults"
86
86
  :search="proxySearch"
87
87
  >
@@ -94,7 +94,7 @@
94
94
  <OrLoader />
95
95
  </slot>
96
96
  <slot
97
- v-if="items.length === 0 && proxySearch.length === 0 && !loading"
97
+ v-if="items.length === 0 && proxySearch && proxySearch.length === 0 && !loading"
98
98
  name="empty"
99
99
  />
100
100
  </div>