@onereach/ui-components 11.7.0 → 11.7.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/dist/bundled/v2/components/OrCardCollectionV3/OrCardCollection.js +12 -10
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +1 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +1 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/props.js +1 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrCardCollectionV3-3515151e.js → OrCardCollectionV3-2afb748f.js} +5 -4
- package/dist/bundled/v3/components/index.js +1 -1
- package/dist/bundled/v3/index.js +1 -1
- package/dist/esm/v2/{OrCardCollection-a1d1233b.js → OrCardCollection-0ce09b30.js} +12 -10
- package/dist/esm/v2/components/index.js +1 -1
- package/dist/esm/v2/components/or-card-collection-v3/index.js +1 -1
- package/dist/esm/v2/index.js +1 -1
- package/dist/esm/v3/{OrCardCollection-f08fe5c7.js → OrCardCollection-3b296973.js} +5 -4
- package/dist/esm/v3/components/index.js +1 -1
- package/dist/esm/v3/components/or-card-collection-v3/index.js +1 -1
- package/dist/esm/v3/index.js +1 -1
- package/package.json +2 -2
- package/src/components/or-card-collection-v3/OrCardCollection.vue +11 -7
|
@@ -194,16 +194,18 @@ var __vue_render__ = function () {
|
|
|
194
194
|
}
|
|
195
195
|
}) : _vm._e(), _vm._v(" "), _vm._t("toolbar")], 2), _vm._v(" "), _c('div', {
|
|
196
196
|
class: _vm.toolbarPanelStyles
|
|
197
|
-
}, [_vm.enableSearch ?
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
197
|
+
}, [_vm.enableSearch ? _vm._t("search", function () {
|
|
198
|
+
return [_c('OrSearch', {
|
|
199
|
+
staticClass: "md:w-[350px]",
|
|
200
|
+
attrs: {
|
|
201
|
+
"model-value": _vm.proxySearch,
|
|
202
|
+
"placeholder": _vm.searchPlaceholder,
|
|
203
|
+
"debounce": _vm.searchDebounce
|
|
204
|
+
},
|
|
205
|
+
on: {
|
|
206
|
+
"search": _vm.handleSearch
|
|
207
|
+
}
|
|
208
|
+
})];
|
|
207
209
|
}) : _vm._e(), _vm._v(" "), _vm.viewModes.length > 1 ? [_c('div', {
|
|
208
210
|
staticClass: "layout-row gap-sm"
|
|
209
211
|
}, _vm._l(_vm.viewModes, function (viewOption) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { s as default } from '../OrCardCollectionV3-
|
|
1
|
+
export { s as default } from '../OrCardCollectionV3-2afb748f.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollectionV3-
|
|
1
|
+
export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollectionV3-2afb748f.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { C as CardCollectionView, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollectionV3-
|
|
1
|
+
export { C as CardCollectionView, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollectionV3-2afb748f.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-
|
|
1
|
+
export { a as CardCollection, e as CardCollectionContent, f as CardCollectionContentViews, h as CardCollectionEmptyContentItem, b as CardCollectionToolbar, c as CardCollectionToolbarPanel } from '../OrCardCollectionV3-2afb748f.js';
|
package/dist/bundled/v3/components/{OrCardCollectionV3-3515151e.js → OrCardCollectionV3-2afb748f.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock, createElementBlock, normalizeClass, Fragment, renderList, renderSlot, mergeProps, createTextVNode, toDisplayString, resolveComponent, createElementVNode, createBlock, createCommentVNode, normalizeProps, guardReactiveProps,
|
|
1
|
+
import { openBlock, createElementBlock, normalizeClass, Fragment, renderList, renderSlot, mergeProps, createTextVNode, toDisplayString, resolveComponent, createElementVNode, createBlock, createCommentVNode, createVNode, normalizeProps, guardReactiveProps, withCtx } from 'vue';
|
|
2
2
|
import { defineComponent, computed, ref, watch } from 'vue-demi';
|
|
3
3
|
import { s as script$2 } from './OrIconButtonV3-3308b059.js';
|
|
4
4
|
import { s as script$3 } from './OrSortingV3-b711339d.js';
|
|
@@ -217,14 +217,15 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
217
217
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.$emit('sortChange', $event))
|
|
218
218
|
}, null, 8 /* PROPS */, ["model-value", "options"])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "toolbar")], 2 /* CLASS */), createElementVNode("div", {
|
|
219
219
|
class: normalizeClass(_ctx.toolbarPanelStyles)
|
|
220
|
-
}, [_ctx.enableSearch ? (
|
|
221
|
-
key: 0
|
|
220
|
+
}, [_ctx.enableSearch ? renderSlot(_ctx.$slots, "search", {
|
|
221
|
+
key: 0
|
|
222
|
+
}, () => [createVNode(_component_OrSearch, {
|
|
222
223
|
"model-value": _ctx.proxySearch,
|
|
223
224
|
class: "md:w-[350px]",
|
|
224
225
|
placeholder: _ctx.searchPlaceholder,
|
|
225
226
|
debounce: _ctx.searchDebounce,
|
|
226
227
|
onSearch: _ctx.handleSearch
|
|
227
|
-
}, null, 8 /* PROPS */, ["model-value", "placeholder", "debounce", "onSearch"])) : createCommentVNode("v-if", true), _ctx.viewModes.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_1, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.viewModes, viewOption => {
|
|
228
|
+
}, null, 8 /* PROPS */, ["model-value", "placeholder", "debounce", "onSearch"])]) : createCommentVNode("v-if", true), _ctx.viewModes.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_1, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.viewModes, viewOption => {
|
|
228
229
|
return openBlock(), createBlock(_component_OrIconButton, {
|
|
229
230
|
key: viewOption.view,
|
|
230
231
|
icon: viewOption.icon,
|
|
@@ -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-93a1cbea.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-
|
|
12
|
+
export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollectionV3-2afb748f.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';
|
package/dist/bundled/v3/index.js
CHANGED
|
@@ -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-816c17f4.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-
|
|
8
|
+
export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './components/OrCardCollectionV3-2afb748f.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-76a65a2b.js';
|
|
@@ -244,16 +244,18 @@ var __vue_render__ = function () {
|
|
|
244
244
|
}
|
|
245
245
|
}) : _vm._e(), _vm._v(" "), _vm._t("toolbar")], 2), _vm._v(" "), _c('div', {
|
|
246
246
|
class: _vm.toolbarPanelStyles
|
|
247
|
-
}, [_vm.enableSearch ?
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
247
|
+
}, [_vm.enableSearch ? _vm._t("search", function () {
|
|
248
|
+
return [_c('OrSearch', {
|
|
249
|
+
staticClass: "md:w-[350px]",
|
|
250
|
+
attrs: {
|
|
251
|
+
"model-value": _vm.proxySearch,
|
|
252
|
+
"placeholder": _vm.searchPlaceholder,
|
|
253
|
+
"debounce": _vm.searchDebounce
|
|
254
|
+
},
|
|
255
|
+
on: {
|
|
256
|
+
"search": _vm.handleSearch
|
|
257
|
+
}
|
|
258
|
+
})];
|
|
257
259
|
}) : _vm._e(), _vm._v(" "), _vm.viewModes.length > 1 ? [_c('div', {
|
|
258
260
|
staticClass: "layout-row gap-sm"
|
|
259
261
|
}, _vm._l(_vm.viewModes, function (viewOption) {
|
|
@@ -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-a9e0b0c9.js';
|
|
14
|
-
export { C as CardCollectionView, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-
|
|
14
|
+
export { C as CardCollectionView, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-0ce09b30.js';
|
|
15
15
|
export { C as CardPadding, _ as OrCardV3 } from '../OrCard-42359715.js';
|
|
16
16
|
export { _ as OrCheckbox } from '../OrCheckbox-b1c8e25e.js';
|
|
17
17
|
export { _ as OrCheckboxGroupV3 } from '../OrCheckboxGroup-319908d4.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CardCollectionView, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-
|
|
1
|
+
export { C as CardCollectionView, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-0ce09b30.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../OrIconButton-3601fc59.js';
|
|
4
4
|
import '../../OrIcon-0a14dafc.js';
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -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-a9e0b0c9.js';
|
|
14
|
-
export { C as CardCollectionView, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-
|
|
14
|
+
export { C as CardCollectionView, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-0ce09b30.js';
|
|
15
15
|
export { C as CardPadding, _ as OrCardV3 } from './OrCard-42359715.js';
|
|
16
16
|
export { _ as OrCheckbox } from './OrCheckbox-b1c8e25e.js';
|
|
17
17
|
export { _ as OrCheckboxGroupV3 } from './OrCheckboxGroup-319908d4.js';
|
|
@@ -3,7 +3,7 @@ import { s as script$2 } from './OrIconButton-02b59101.js';
|
|
|
3
3
|
import { s as script$5 } from './OrLoader-5e2f359b.js';
|
|
4
4
|
import { s as script$4 } from './OrSearch-d19e5d31.js';
|
|
5
5
|
import { s as script$3 } from './OrSorting-1d14048b.js';
|
|
6
|
-
import { openBlock, createElementBlock, normalizeClass, Fragment, renderList, renderSlot, mergeProps, createTextVNode, toDisplayString, resolveComponent, createElementVNode, createBlock, createCommentVNode, normalizeProps, guardReactiveProps,
|
|
6
|
+
import { openBlock, createElementBlock, normalizeClass, Fragment, renderList, renderSlot, mergeProps, createTextVNode, toDisplayString, resolveComponent, createElementVNode, createBlock, createCommentVNode, createVNode, normalizeProps, guardReactiveProps, withCtx } from 'vue';
|
|
7
7
|
|
|
8
8
|
var CardCollectionView;
|
|
9
9
|
(function (CardCollectionView) {
|
|
@@ -217,14 +217,15 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
217
217
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.$emit('sortChange', $event))
|
|
218
218
|
}, null, 8 /* PROPS */, ["model-value", "options"])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "toolbar")], 2 /* CLASS */), createElementVNode("div", {
|
|
219
219
|
class: normalizeClass(_ctx.toolbarPanelStyles)
|
|
220
|
-
}, [_ctx.enableSearch ? (
|
|
221
|
-
key: 0
|
|
220
|
+
}, [_ctx.enableSearch ? renderSlot(_ctx.$slots, "search", {
|
|
221
|
+
key: 0
|
|
222
|
+
}, () => [createVNode(_component_OrSearch, {
|
|
222
223
|
"model-value": _ctx.proxySearch,
|
|
223
224
|
class: "md:w-[350px]",
|
|
224
225
|
placeholder: _ctx.searchPlaceholder,
|
|
225
226
|
debounce: _ctx.searchDebounce,
|
|
226
227
|
onSearch: _ctx.handleSearch
|
|
227
|
-
}, null, 8 /* PROPS */, ["model-value", "placeholder", "debounce", "onSearch"])) : createCommentVNode("v-if", true), _ctx.viewModes.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_1, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.viewModes, viewOption => {
|
|
228
|
+
}, null, 8 /* PROPS */, ["model-value", "placeholder", "debounce", "onSearch"])]) : createCommentVNode("v-if", true), _ctx.viewModes.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_1, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.viewModes, viewOption => {
|
|
228
229
|
return openBlock(), createBlock(_component_OrIconButton, {
|
|
229
230
|
key: viewOption.view,
|
|
230
231
|
icon: viewOption.icon,
|
|
@@ -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-6ee44732.js';
|
|
12
|
-
export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-
|
|
12
|
+
export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-3b296973.js';
|
|
13
13
|
export { C as CardPadding, s as OrCardV3 } from '../OrCard-c2ef331b.js';
|
|
14
14
|
export { s as OrCheckbox } from '../OrCheckbox-eedaff8f.js';
|
|
15
15
|
export { s as OrCheckboxGroupV3 } from '../OrCheckboxGroup-fa6ecd15.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-
|
|
1
|
+
export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-3b296973.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../OrIconButton-02b59101.js';
|
|
4
4
|
import '../../OrIcon-9aff520e.js';
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -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-6ee44732.js';
|
|
12
|
-
export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-
|
|
12
|
+
export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-3b296973.js';
|
|
13
13
|
export { C as CardPadding, s as OrCardV3 } from './OrCard-c2ef331b.js';
|
|
14
14
|
export { s as OrCheckbox } from './OrCheckbox-eedaff8f.js';
|
|
15
15
|
export { s as OrCheckboxGroupV3 } from './OrCheckboxGroup-fa6ecd15.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "11.7.
|
|
3
|
+
"version": "11.7.1",
|
|
4
4
|
"npmUnpacked": "4.15.2",
|
|
5
5
|
"description": "Vue components library for v2/3",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -180,5 +180,5 @@
|
|
|
180
180
|
},
|
|
181
181
|
"./package.json": "./package.json"
|
|
182
182
|
},
|
|
183
|
-
"gitHead": "
|
|
183
|
+
"gitHead": "511bfc60a2cd4f7d76db51f3ced34308a13c3f9b"
|
|
184
184
|
}
|
|
@@ -16,14 +16,18 @@
|
|
|
16
16
|
<div
|
|
17
17
|
:class="toolbarPanelStyles"
|
|
18
18
|
>
|
|
19
|
-
<
|
|
19
|
+
<slot
|
|
20
20
|
v-if="enableSearch"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
name="search"
|
|
22
|
+
>
|
|
23
|
+
<OrSearch
|
|
24
|
+
:model-value="proxySearch"
|
|
25
|
+
class="md:w-[350px]"
|
|
26
|
+
:placeholder="searchPlaceholder"
|
|
27
|
+
:debounce="searchDebounce"
|
|
28
|
+
@search="handleSearch"
|
|
29
|
+
/>
|
|
30
|
+
</slot>
|
|
27
31
|
|
|
28
32
|
<template v-if="viewModes.length > 1">
|
|
29
33
|
<div class="layout-row gap-sm">
|