@onereach/ui-components 2.69.1-beta.2095.0 → 2.69.1-beta.2097.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.
Files changed (142) hide show
  1. package/dist/bundled/v2/{OrButton-66d37aff.js → OrButton-0e91a808.js} +1 -14
  2. package/dist/bundled/v2/{OrCard-58a1ba3e.js → OrCard-29116e1f.js} +2 -2
  3. package/dist/bundled/v2/OrCardCollection-8606c407.js +336 -0
  4. package/dist/bundled/v2/{OrConfirm-e1ca1422.js → OrConfirm-18c534df.js} +1 -1
  5. package/dist/bundled/v2/{OrSearch-9d402f56.js → OrSearch-19f43fe5.js} +2 -2
  6. package/dist/bundled/v2/{OrSelect-1c9421ad.js → OrSelect-759b4410.js} +3 -3
  7. package/dist/bundled/v2/{OrSortHeader-396e6a7c.js → OrSortHeader-9932d28f.js} +2 -2
  8. package/dist/bundled/v2/components/index.d.ts +0 -1
  9. package/dist/bundled/v2/components/index.js +7 -8
  10. package/dist/bundled/v2/components/or-button-v3/OrButton.vue.d.ts +0 -11
  11. package/dist/bundled/v2/components/or-button-v3/index.js +1 -1
  12. package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +4 -0
  13. package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +63 -37
  14. package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollectionView.vue2.vue.d.ts +35 -0
  15. package/dist/bundled/v2/components/or-card-collection-v3/constatnts.d.ts +4 -0
  16. package/dist/bundled/v2/components/or-card-collection-v3/index.js +7 -4
  17. package/dist/bundled/v2/components/or-card-collection-v3/types.d.ts +8 -3
  18. package/dist/bundled/v2/components/or-card-v3/index.js +1 -1
  19. package/dist/bundled/v2/components/or-confirm-v3/index.js +2 -2
  20. package/dist/bundled/v2/components/or-search-v3/index.js +1 -1
  21. package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +14 -14
  22. package/dist/bundled/v2/components/or-select-v3/index.d.ts +0 -1
  23. package/dist/bundled/v2/components/or-select-v3/index.js +1 -1
  24. package/dist/bundled/v2/components/or-select-v3/types.d.ts +1 -1
  25. package/dist/bundled/v2/components/or-sort-header-v3/index.js +1 -1
  26. package/dist/bundled/v2/index.js +8 -9
  27. package/dist/bundled/v3/{OrButton-9640286b.js → OrButton-8ab33d9d.js} +2 -3
  28. package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-06d8ead1.js → OrButton.vue_vue_type_script_lang-3718b300.js} +1 -13
  29. package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-80c10c12.js +229 -0
  30. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-f1b81f00.js → OrConfirm.vue_vue_type_script_lang-85472b12.js} +2 -2
  31. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-ed78b21f.js → OrSearch.vue_vue_type_script_lang-cb2d6612.js} +1 -1
  32. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-d0626539.js → OrSelect.vue_vue_type_script_lang-dfadd12f.js} +2 -2
  33. package/dist/bundled/v3/components/index.d.ts +0 -1
  34. package/dist/bundled/v3/components/index.js +10 -11
  35. package/dist/bundled/v3/components/or-button-v3/OrButton.vue.d.ts +0 -11
  36. package/dist/bundled/v3/components/or-button-v3/index.js +1 -1
  37. package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +4 -0
  38. package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +63 -37
  39. package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollectionView.vue3.vue.d.ts +35 -0
  40. package/dist/bundled/v3/components/or-card-collection-v3/constatnts.d.ts +4 -0
  41. package/dist/bundled/v3/components/or-card-collection-v3/index.js +11 -4
  42. package/dist/bundled/v3/components/or-card-collection-v3/types.d.ts +8 -3
  43. package/dist/bundled/v3/components/or-confirm-v3/index.js +3 -3
  44. package/dist/bundled/v3/components/or-search-v3/index.js +1 -1
  45. package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +14 -14
  46. package/dist/bundled/v3/components/or-select-v3/index.d.ts +0 -1
  47. package/dist/bundled/v3/components/or-select-v3/index.js +1 -1
  48. package/dist/bundled/v3/components/or-select-v3/types.d.ts +1 -1
  49. package/dist/bundled/v3/index.js +295 -354
  50. package/dist/esm/v2/{OrButton-3d4fc9da.js → OrButton-357a5756.js} +1 -14
  51. package/dist/esm/v2/OrCardCollection-e7a4ead6.js +336 -0
  52. package/dist/esm/v2/{OrConfirm-ba3f8c45.js → OrConfirm-b0b2e43c.js} +1 -1
  53. package/dist/esm/v2/{OrSelect-ca2510cd.js → OrSelect-ac382aa6.js} +3 -3
  54. package/dist/esm/v2/components/index.d.ts +0 -1
  55. package/dist/esm/v2/components/index.js +4 -5
  56. package/dist/esm/v2/components/or-button-v3/OrButton.vue.d.ts +0 -11
  57. package/dist/esm/v2/components/or-button-v3/index.js +1 -1
  58. package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +4 -0
  59. package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +63 -37
  60. package/dist/esm/v2/components/or-card-collection-v3/OrCardCollectionView.vue2.vue.d.ts +35 -0
  61. package/dist/esm/v2/components/or-card-collection-v3/constatnts.d.ts +4 -0
  62. package/dist/esm/v2/components/or-card-collection-v3/index.js +7 -4
  63. package/dist/esm/v2/components/or-card-collection-v3/types.d.ts +8 -3
  64. package/dist/esm/v2/components/or-confirm-v3/index.js +2 -2
  65. package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +14 -14
  66. package/dist/esm/v2/components/or-select-v3/index.d.ts +0 -1
  67. package/dist/esm/v2/components/or-select-v3/index.js +1 -1
  68. package/dist/esm/v2/components/or-select-v3/types.d.ts +1 -1
  69. package/dist/esm/v2/index.js +4 -5
  70. package/dist/esm/v3/{OrButton-970ae320.js → OrButton-f4b9ee51.js} +2 -15
  71. package/dist/esm/v3/OrCardCollection-3bd67c5c.js +282 -0
  72. package/dist/esm/v3/{OrConfirm-7cb2f36b.js → OrConfirm-906427ef.js} +1 -1
  73. package/dist/esm/v3/{OrSelect-bff22c7f.js → OrSelect-fee9c099.js} +3 -3
  74. package/dist/esm/v3/components/index.d.ts +0 -1
  75. package/dist/esm/v3/components/index.js +4 -5
  76. package/dist/esm/v3/components/or-button-v3/OrButton.vue.d.ts +0 -11
  77. package/dist/esm/v3/components/or-button-v3/index.js +1 -1
  78. package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +4 -0
  79. package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +63 -37
  80. package/dist/esm/v3/components/or-card-collection-v3/OrCardCollectionView.vue3.vue.d.ts +35 -0
  81. package/dist/esm/v3/components/or-card-collection-v3/constatnts.d.ts +4 -0
  82. package/dist/esm/v3/components/or-card-collection-v3/index.js +7 -4
  83. package/dist/esm/v3/components/or-card-collection-v3/types.d.ts +8 -3
  84. package/dist/esm/v3/components/or-confirm-v3/index.js +2 -2
  85. package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +14 -14
  86. package/dist/esm/v3/components/or-select-v3/index.d.ts +0 -1
  87. package/dist/esm/v3/components/or-select-v3/index.js +1 -1
  88. package/dist/esm/v3/components/or-select-v3/types.d.ts +1 -1
  89. package/dist/esm/v3/index.js +4 -5
  90. package/package.json +1 -1
  91. package/src/components/index.ts +0 -1
  92. package/src/components/or-button-v3/OrButton.stories3.ts +0 -4
  93. package/src/components/or-button-v3/OrButton.vue +0 -6
  94. package/src/components/or-button-v3/styles.ts +1 -15
  95. package/src/components/or-card-collection-v3/OrCardCollection.stories3.ts +193 -28
  96. package/src/components/or-card-collection-v3/OrCardCollection.vue +110 -76
  97. package/src/components/or-card-collection-v3/OrCardCollectionView.vue2.vue +41 -0
  98. package/src/components/or-card-collection-v3/OrCardCollectionView.vue3.vue +42 -0
  99. package/src/components/or-card-collection-v3/constatnts.ts +12 -0
  100. package/src/components/or-card-collection-v3/styles.ts +1 -1
  101. package/src/components/or-card-collection-v3/types.ts +9 -3
  102. package/src/components/or-select-v3/OrSelect.vue +3 -3
  103. package/src/components/or-select-v3/index.ts +0 -1
  104. package/src/components/or-select-v3/types.ts +1 -1
  105. package/dist/bundled/v2/OrCardCollection-a9a779ea.js +0 -228
  106. package/dist/bundled/v2/OrPagination-354e9abd.js +0 -296
  107. package/dist/bundled/v2/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
  108. package/dist/bundled/v2/components/or-pagination-v3/OrPagination.vue.d.ts +0 -110
  109. package/dist/bundled/v2/components/or-pagination-v3/index.d.ts +0 -2
  110. package/dist/bundled/v2/components/or-pagination-v3/index.js +0 -20
  111. package/dist/bundled/v2/components/or-pagination-v3/styles.d.ts +0 -3
  112. package/dist/bundled/v2/components/or-pagination-v3/types.d.ts +0 -4
  113. package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-3993a015.js +0 -164
  114. package/dist/bundled/v3/OrPagination.vue_vue_type_script_lang-ff22b11c.js +0 -180
  115. package/dist/bundled/v3/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
  116. package/dist/bundled/v3/components/or-pagination-v3/OrPagination.vue.d.ts +0 -110
  117. package/dist/bundled/v3/components/or-pagination-v3/index.d.ts +0 -2
  118. package/dist/bundled/v3/components/or-pagination-v3/index.js +0 -22
  119. package/dist/bundled/v3/components/or-pagination-v3/styles.d.ts +0 -3
  120. package/dist/bundled/v3/components/or-pagination-v3/types.d.ts +0 -4
  121. package/dist/esm/v2/OrCardCollection-4f001551.js +0 -227
  122. package/dist/esm/v2/OrPagination-a56eb93b.js +0 -296
  123. package/dist/esm/v2/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
  124. package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +0 -110
  125. package/dist/esm/v2/components/or-pagination-v3/index.d.ts +0 -2
  126. package/dist/esm/v2/components/or-pagination-v3/index.js +0 -18
  127. package/dist/esm/v2/components/or-pagination-v3/styles.d.ts +0 -3
  128. package/dist/esm/v2/components/or-pagination-v3/types.d.ts +0 -4
  129. package/dist/esm/v3/OrCardCollection-5a0febaf.js +0 -198
  130. package/dist/esm/v3/OrPagination-d351a13b.js +0 -257
  131. package/dist/esm/v3/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
  132. package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +0 -110
  133. package/dist/esm/v3/components/or-pagination-v3/index.d.ts +0 -2
  134. package/dist/esm/v3/components/or-pagination-v3/index.js +0 -17
  135. package/dist/esm/v3/components/or-pagination-v3/styles.d.ts +0 -3
  136. package/dist/esm/v3/components/or-pagination-v3/types.d.ts +0 -4
  137. package/src/components/or-pagination-v3/OrPagination.docs.mdx +0 -7
  138. package/src/components/or-pagination-v3/OrPagination.stories3.ts +0 -87
  139. package/src/components/or-pagination-v3/OrPagination.vue +0 -260
  140. package/src/components/or-pagination-v3/index.ts +0 -2
  141. package/src/components/or-pagination-v3/styles.ts +0 -30
  142. package/src/components/or-pagination-v3/types.ts +0 -4
@@ -77,15 +77,7 @@ const ButtonRootColors = {
77
77
  'danger-link': [
78
78
  // Theme
79
79
  'theme-preset-4-error', 'dark:theme-preset-4-error-dark'],
80
- 'inherit-link': [
81
- // Typography
82
- 'typography-caption-regular',
83
- // Typography (activated)
84
- 'activated:typography-caption-bold',
85
- // Theme
86
- 'theme-foreground-inherit', 'dark:theme-foreground-inherit',
87
- // Theme (activated)
88
- 'activated:theme-foreground-default', 'dark:activated:theme-foreground-default-dark']
80
+ 'inherit-link': []
89
81
  };
90
82
 
91
83
  var script = defineComponent({
@@ -107,10 +99,6 @@ var script = defineComponent({
107
99
  type: String,
108
100
  default: ButtonColor.Primary
109
101
  },
110
- activated: {
111
- type: Boolean,
112
- default: false
113
- },
114
102
  disabled: {
115
103
  type: Boolean,
116
104
  default: false
@@ -152,7 +140,6 @@ var __vue_render__ = function () {
152
140
  class: _vm.rootStyles,
153
141
  attrs: {
154
142
  "type": _vm.type,
155
- "activated": _vm.activated ? '' : null,
156
143
  "disabled": _vm.disabled
157
144
  },
158
145
  on: {
@@ -67,6 +67,6 @@ const __vue_component__ = /*#__PURE__*/normalizeComponent({
67
67
  render: __vue_render__,
68
68
  staticRenderFns: __vue_staticRenderFns__
69
69
  }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
70
- var OrCard = __vue_component__;
70
+ var __vue_component__$1 = __vue_component__;
71
71
 
72
- export { OrCard as O };
72
+ export { __vue_component__$1 as _ };
@@ -0,0 +1,336 @@
1
+ import './index-fa6eb4ca.js';
2
+ import { defineComponent, computed, ref, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
3
+ import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
4
+ import { O as OrIconButton } from './OrIconButton-a215104c.js';
5
+ import { O as OrButton } from './OrButton-0e91a808.js';
6
+ import { O as OrMenu } from './OrMenu-fa47c888.js';
7
+ import { O as OrMenuItem } from './OrMenuItem-26420908.js';
8
+ import { O as OrIcon } from './OrIcon-8625385f.js';
9
+ import { O as OrSearch } from './OrSearch-19f43fe5.js';
10
+ import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
11
+
12
+ var CardCollectionView;
13
+ (function (CardCollectionView) {
14
+ CardCollectionView["Grid"] = "grid";
15
+ CardCollectionView["List"] = "list";
16
+ })(CardCollectionView || (CardCollectionView = {}));
17
+
18
+ const CardCollectionRoot = [
19
+ // Layout
20
+ 'layout-column',
21
+ // Spacing
22
+ 'gap-md'];
23
+ const CardCollectionToolbar = [
24
+ // Layout
25
+ 'layout-row justify-between',
26
+ // Typography
27
+ 'typography-body-2-regular',
28
+ // Theme
29
+ 'theme-foreground-default', 'dark:theme-foreground-default-dark'];
30
+ const CardCollectionToolbarPanel = [
31
+ // Layout
32
+ 'layout-row',
33
+ // Spacing
34
+ 'gap-lg+'];
35
+ const CardCollectionContent = [
36
+ // Layout
37
+ 'grid',
38
+ // Spacing
39
+ 'gap-sm md:gap-md'];
40
+ const CardCollectionContentViews = {
41
+ 'grid': [
42
+ // Layout
43
+ 'sm:grid-cols-1', 'md:grid-cols-2', 'lg:grid-cols-4', 'xl:grid-cols-6'],
44
+ 'list': []
45
+ };
46
+
47
+ var script$1 = defineComponent({
48
+ name: 'OrCardCollectionView',
49
+ props: {
50
+ items: {
51
+ type: Array,
52
+ default: []
53
+ },
54
+ mode: {
55
+ type: String,
56
+ required: true
57
+ }
58
+ },
59
+ setup(props) {
60
+ const contentStyles = computed(() => [...CardCollectionContent, ...CardCollectionContentViews[props.mode]]);
61
+ return {
62
+ contentStyles
63
+ };
64
+ }
65
+ });
66
+
67
+ /* script */
68
+ const __vue_script__$1 = script$1;
69
+
70
+ /* template */
71
+ var __vue_render__$1 = function () {
72
+ var _vm = this;
73
+ var _h = _vm.$createElement;
74
+ var _c = _vm._self._c || _h;
75
+ return _c('div', {
76
+ class: _vm.contentStyles
77
+ }, [_vm._l(_vm.items, function (item) {
78
+ return _vm._t("item", function () {
79
+ return [_vm._v("\n " + _vm._s(item.key) + "\n ")];
80
+ }, null, {
81
+ item: item,
82
+ mode: _vm.mode
83
+ });
84
+ })], 2);
85
+ };
86
+ var __vue_staticRenderFns__$1 = [];
87
+
88
+ /* style */
89
+ const __vue_inject_styles__$1 = undefined;
90
+ /* scoped */
91
+ const __vue_scope_id__$1 = undefined;
92
+ /* module identifier */
93
+ const __vue_module_identifier__$1 = undefined;
94
+ /* functional template */
95
+ const __vue_is_functional_template__$1 = false;
96
+ /* style inject */
97
+
98
+ /* style inject SSR */
99
+
100
+ /* style inject shadow dom */
101
+
102
+ const __vue_component__$2 = /*#__PURE__*/normalizeComponent({
103
+ render: __vue_render__$1,
104
+ staticRenderFns: __vue_staticRenderFns__$1
105
+ }, __vue_inject_styles__$1, __vue_script__$1, __vue_scope_id__$1, __vue_is_functional_template__$1, __vue_module_identifier__$1, false, undefined, undefined, undefined);
106
+ var OrCardCollectionView = __vue_component__$2;
107
+
108
+ const gridView = {
109
+ view: 'grid',
110
+ icon: 'grid_view'
111
+ };
112
+ const listView = {
113
+ view: 'list',
114
+ icon: 'view_agenda'
115
+ };
116
+ const defaultViewModes = [gridView, listView];
117
+
118
+ var script = defineComponent({
119
+ name: 'OrCardCollection',
120
+ components: {
121
+ OrCardCollectionView,
122
+ OrIconButton,
123
+ OrButton,
124
+ OrMenu,
125
+ OrMenuItem,
126
+ OrIcon,
127
+ OrSearch
128
+ },
129
+ inheritAttrs: false,
130
+ props: {
131
+ items: {
132
+ type: Array,
133
+ default: []
134
+ },
135
+ view: {
136
+ type: String,
137
+ default: CardCollectionView.Grid
138
+ },
139
+ viewModes: {
140
+ type: Array,
141
+ default: () => defaultViewModes
142
+ },
143
+ sort: {
144
+ type: String,
145
+ default: undefined
146
+ },
147
+ sortOptions: {
148
+ type: Array,
149
+ default: () => []
150
+ },
151
+ search: {
152
+ type: String,
153
+ default: undefined
154
+ }
155
+ },
156
+ emits: ['viewChange', 'sortChange', 'searchChange'],
157
+ expose: ['root'],
158
+ setup(props, context) {
159
+ // Refs
160
+ const root = ref();
161
+ const sortMenu = ref();
162
+ const sortButton = ref();
163
+ // Styles
164
+ const classAttribute = useClassAttribute();
165
+ const rootStyles = computed(() => ['or-card-collection', ...CardCollectionRoot, classAttribute.value]);
166
+ const toolbarStyles = computed(() => [...CardCollectionToolbar]);
167
+ const toolbarPanelStyles = computed(() => [...CardCollectionToolbarPanel]);
168
+ const sortLabel = computed(() => {
169
+ var _a;
170
+ return (_a = props.sortOptions.find(item => item.value === props.sort)) === null || _a === void 0 ? void 0 : _a.label;
171
+ });
172
+ // State
173
+ const proxyView = ref(props.view);
174
+ const proxySort = ref(props.sort);
175
+ const proxySearch = ref(props.search);
176
+ // Methods
177
+ function switchView(view) {
178
+ proxyView.value = view;
179
+ }
180
+ function handleSort(sort) {
181
+ proxySort.value = sort;
182
+ }
183
+ function handleSearch(search) {
184
+ proxySearch.value = search;
185
+ }
186
+ // Effects
187
+ watch(() => props.view, value => {
188
+ proxyView.value = value;
189
+ });
190
+ watch(proxyView, value => {
191
+ context.emit('viewChange', value);
192
+ });
193
+ watch(() => props.sort, value => {
194
+ proxySort.value = value;
195
+ });
196
+ watch(proxySort, value => {
197
+ context.emit('sortChange', value);
198
+ });
199
+ watch(() => props.search, value => {
200
+ proxySearch.value = value;
201
+ });
202
+ watch(proxySearch, value => {
203
+ context.emit('searchChange', value);
204
+ });
205
+ return {
206
+ root,
207
+ sortMenu,
208
+ sortButton,
209
+ rootStyles,
210
+ toolbarStyles,
211
+ toolbarPanelStyles,
212
+ proxyView,
213
+ proxySort,
214
+ proxySearch,
215
+ sortLabel,
216
+ switchView,
217
+ handleSort,
218
+ handleSearch
219
+ };
220
+ }
221
+ });
222
+
223
+ /* script */
224
+ const __vue_script__ = script;
225
+
226
+ /* template */
227
+ var __vue_render__ = function () {
228
+ var _vm = this;
229
+ var _h = _vm.$createElement;
230
+ var _c = _vm._self._c || _h;
231
+ return _c('div', _vm._b({
232
+ ref: "root",
233
+ class: _vm.rootStyles
234
+ }, 'div', _vm.$attrs, false), [_c('div', {
235
+ class: _vm.toolbarStyles
236
+ }, [_c('div', {
237
+ class: _vm.toolbarPanelStyles
238
+ }, [_vm.sortOptions.length ? [_c('OrButton', {
239
+ ref: "sortButton",
240
+ attrs: {
241
+ "variant": "link",
242
+ "color": "inherit"
243
+ },
244
+ on: {
245
+ "click": function ($event) {
246
+ return _vm.sortMenu.toggle();
247
+ }
248
+ }
249
+ }, [_vm._v("\n " + _vm._s(_vm.sortLabel) + "\n "), _vm.sortMenu ? _c('OrIcon', {
250
+ attrs: {
251
+ "icon": _vm.sortMenu.isOpen ? 'arrow_drop_up' : 'arrow_drop_down'
252
+ }
253
+ }) : _vm._e()], 1), _vm._v(" "), _c('OrMenu', {
254
+ ref: "sortMenu",
255
+ attrs: {
256
+ "trigger": _vm.sortButton && _vm.sortButton.root
257
+ }
258
+ }, _vm._l(_vm.sortOptions, function (sortItem) {
259
+ return _c('OrMenuItem', {
260
+ key: sortItem,
261
+ on: {
262
+ "click": function ($event) {
263
+ return _vm.handleSort(sortItem.value);
264
+ }
265
+ }
266
+ }, [_vm._v("\n " + _vm._s(sortItem.label) + "\n ")]);
267
+ }), 1)] : _vm._e()], 2), _vm._v(" "), _c('div', {
268
+ class: _vm.toolbarPanelStyles
269
+ }, [_c('OrSearch', {
270
+ staticClass: "md:w-[350px]",
271
+ attrs: {
272
+ "size": "s"
273
+ },
274
+ on: {
275
+ "search": _vm.handleSearch
276
+ }
277
+ }), _vm._v(" "), _c('div', {
278
+ staticClass: "layout-row gap-sm"
279
+ }, [_vm.viewModes.length > 1 ? _vm._l(_vm.viewModes, function (viewOption) {
280
+ return _c('OrIconButton', {
281
+ key: viewOption.view,
282
+ attrs: {
283
+ "icon": {
284
+ icon: viewOption.icon,
285
+ variant: viewOption.view === _vm.proxyView ? 'filled' : 'outlined'
286
+ }
287
+ },
288
+ on: {
289
+ "click": function ($event) {
290
+ return _vm.switchView(viewOption.view);
291
+ }
292
+ }
293
+ });
294
+ }) : _vm._e(), _vm._v(" "), _vm._t("addon")], 2)], 1)]), _vm._v(" "), _vm._t("header", null, null, {
295
+ items: _vm.items,
296
+ mode: _vm.proxyView
297
+ }), _vm._v(" "), _vm._t(_vm.proxyView, function () {
298
+ return [_c('OrCardCollectionView', {
299
+ attrs: {
300
+ "items": _vm.items,
301
+ "mode": _vm.proxyView
302
+ },
303
+ scopedSlots: _vm._u([{
304
+ key: "item",
305
+ fn: function (props) {
306
+ return [_vm._t("item", null, null, props)];
307
+ }
308
+ }], null, true)
309
+ })];
310
+ }, null, {
311
+ items: _vm.items
312
+ })], 2);
313
+ };
314
+ var __vue_staticRenderFns__ = [];
315
+
316
+ /* style */
317
+ const __vue_inject_styles__ = undefined;
318
+ /* scoped */
319
+ const __vue_scope_id__ = undefined;
320
+ /* module identifier */
321
+ const __vue_module_identifier__ = undefined;
322
+ /* functional template */
323
+ const __vue_is_functional_template__ = false;
324
+ /* style inject */
325
+
326
+ /* style inject SSR */
327
+
328
+ /* style inject shadow dom */
329
+
330
+ const __vue_component__ = /*#__PURE__*/normalizeComponent({
331
+ render: __vue_render__,
332
+ staticRenderFns: __vue_staticRenderFns__
333
+ }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
334
+ var __vue_component__$1 = __vue_component__;
335
+
336
+ export { CardCollectionView as C, __vue_component__$1 as _ };
@@ -2,7 +2,7 @@ import './index-fa6eb4ca.js';
2
2
  import { useMagicKeys, whenever } from '@vueuse/core';
3
3
  import { l as logicAnd } from './index-17f264f9.js';
4
4
  import { O as OrOverlay } from './OrOverlay-3c89d622.js';
5
- import { O as OrButton, a as ButtonColor } from './OrButton-66d37aff.js';
5
+ import { O as OrButton, a as ButtonColor } from './OrButton-0e91a808.js';
6
6
  import { O as OrInput } from './OrInput-8b90e08f.js';
7
7
  import { defineComponent, ref, computed, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
8
8
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
@@ -137,6 +137,6 @@ const __vue_component__ = /*#__PURE__*/normalizeComponent({
137
137
  render: __vue_render__,
138
138
  staticRenderFns: __vue_staticRenderFns__
139
139
  }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
140
- var __vue_component__$1 = __vue_component__;
140
+ var OrSearch = __vue_component__;
141
141
 
142
- export { __vue_component__$1 as _ };
142
+ export { OrSearch as O };
@@ -82,11 +82,11 @@ var script = defineComponent({
82
82
  default: []
83
83
  },
84
84
  modelValue: {
85
- type: [String, Number, Array],
85
+ type: [String, Array],
86
86
  default: undefined
87
87
  },
88
88
  value: {
89
- type: [String, Number, Array],
89
+ type: [String, Array],
90
90
  default: undefined
91
91
  },
92
92
  multiple: {
@@ -347,7 +347,7 @@ var __vue_render__ = function () {
347
347
  return _vm.$emit('blur', $event);
348
348
  }
349
349
  }
350
- }, [_vm.proxyModelValue !== undefined ? [_vm.multiple ? [_vm._t("valueTemplate", function () {
350
+ }, [_vm.proxyModelValue && _vm.proxyModelValue.length > 0 ? [_vm.multiple ? [_vm._t("valueTemplate", function () {
351
351
  return _vm._l(_vm.selection, function (option) {
352
352
  return _c('OrTag', {
353
353
  key: option.value,
@@ -129,6 +129,6 @@ const __vue_component__ = /*#__PURE__*/normalizeComponent({
129
129
  render: __vue_render__,
130
130
  staticRenderFns: __vue_staticRenderFns__
131
131
  }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
132
- var OrSortHeader = __vue_component__;
132
+ var __vue_component__$1 = __vue_component__;
133
133
 
134
- export { OrSortHeader as O };
134
+ export { __vue_component__$1 as _ };
@@ -52,7 +52,6 @@ export * from './or-notification-v3';
52
52
  export * from './or-overflow-menu';
53
53
  export * from './or-overlay';
54
54
  export * from './or-overlay-v3';
55
- export * from './or-pagination-v3';
56
55
  export * from './or-popover-v3';
57
56
  export * from './or-progress';
58
57
  export * from './or-progress-v3';
@@ -5,11 +5,11 @@ export { _ as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonVi
5
5
  export { O as OrButtonV2 } from '../OrButton-705cd0bd.js';
6
6
  export { O as OrIconButton } from '../OrIconButton-65962c1c.js';
7
7
  export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE } from '../constants-c5d1139f.js';
8
- export { a as ButtonColor, b as ButtonType, B as ButtonVariant, O as OrButtonV3 } from '../OrButton-66d37aff.js';
8
+ export { a as ButtonColor, b as ButtonType, B as ButtonVariant, O as OrButtonV3 } from '../OrButton-0e91a808.js';
9
9
  export { O as OrCard } from '../OrCard-a6b30f8f.js';
10
10
  export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from '../OrCardCollection-89428bbf.js';
11
- export { C as CardCollectionView, _ as OrCardCollectionV3 } from '../OrCardCollection-a9a779ea.js';
12
- export { O as OrCardV3 } from '../OrCard-58a1ba3e.js';
11
+ export { C as CardCollectionView, _ as OrCardCollectionV3 } from '../OrCardCollection-8606c407.js';
12
+ export { _ as OrCardV3 } from '../OrCard-29116e1f.js';
13
13
  export { a as OrCarousel, _ as OrCarouselItem } from '../OrCarouselItem-6da755c0.js';
14
14
  export { O as OrCheckbox } from '../OrCheckbox-4cbddd67.js';
15
15
  export { O as OrCheckboxV3 } from '../OrCheckbox-dbef9f9a.js';
@@ -19,7 +19,7 @@ export { _ as OrCode, O as OrCodeLanguages } from '../OrCode-edc7a1f5.js';
19
19
  export { O as OrCollapse } from '../OrCollapse-3aa9a9b7.js';
20
20
  export { _ as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from '../OrColorPicker-a1a37e83.js';
21
21
  export { _ as OrConfirm } from '../OrConfirm-56d01cff.js';
22
- export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-e1ca1422.js';
22
+ export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-18c534df.js';
23
23
  export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-e212f892.js';
24
24
  export { O as OrError } from '../OrError-31503e4c.js';
25
25
  export { _ as OrErrorTagV3 } from '../OrErrorTag-d0c5bcf4.js';
@@ -58,22 +58,21 @@ export { N as NotificationVariant, _ as OrNotificationV3 } from '../OrNotificati
58
58
  export { _ as OrOverflowMenu } from '../OrOverflowMenu-711e460e.js';
59
59
  export { O as OrOverlay } from '../OrOverlay-47967a8b.js';
60
60
  export { O as OrOverlayV3 } from '../OrOverlay-3c89d622.js';
61
- export { _ as OrPaginationV3 } from '../OrPagination-354e9abd.js';
62
61
  export { O as OrProgress, a as OrProgressColors, b as OrProgressTypes } from '../OrProgress-de947341.js';
63
62
  export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrProgress-cc397a38.js';
64
63
  export { _ as OrRadio } from '../OrRadio-187d6fc7.js';
65
64
  export { _ as OrRadioGroup } from '../OrRadioGroup-aa9f0757.js';
66
65
  export { _ as OrRadioV3 } from '../OrRadio-cd39b20b.js';
67
- export { _ as OrSearchV3 } from '../OrSearch-9d402f56.js';
66
+ export { O as OrSearchV3 } from '../OrSearch-19f43fe5.js';
68
67
  export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-21cc914e.js';
69
68
  export { _ as OrSelect } from '../OrSelect-a23d4210.js';
70
- export { _ as OrSelectV3 } from '../OrSelect-1c9421ad.js';
69
+ export { _ as OrSelectV3 } from '../OrSelect-759b4410.js';
71
70
  export { _ as OrSidebar, O as OrSidebarSide } from '../OrSidebar-e2b2c9ec.js';
72
71
  export { O as OrSidebarPlacement, _ as OrSidebarV3 } from '../OrSidebar-c95ef614.js';
73
72
  export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-242d22f3.js';
74
73
  export { _ as OrSkeletonCircleV3, a as OrSkeletonRectV3, b as OrSkeletonTextV3 } from '../OrSkeletonText-516993b4.js';
75
74
  export { _ as OrSlider } from '../OrSlider-59d05856.js';
76
- export { O as OrSortHeaderV3 } from '../OrSortHeader-396e6a7c.js';
75
+ export { _ as OrSortHeaderV3 } from '../OrSortHeader-9932d28f.js';
77
76
  export { _ as OrStepper } from '../OrStepper-3fc1a2b3.js';
78
77
  export { _ as OrSwitch } from '../OrSwitch-47670dbd.js';
79
78
  export { _ as OrSwitchV3 } from '../OrSwitch-237a2081.js';
@@ -16,10 +16,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
16
16
  type: PropType<ButtonColor>;
17
17
  default: ButtonColor;
18
18
  };
19
- activated: {
20
- type: BooleanConstructor;
21
- default: boolean;
22
- };
23
19
  disabled: {
24
20
  type: BooleanConstructor;
25
21
  default: boolean;
@@ -45,10 +41,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
45
41
  type: PropType<ButtonColor>;
46
42
  default: ButtonColor;
47
43
  };
48
- activated: {
49
- type: BooleanConstructor;
50
- default: boolean;
51
- };
52
44
  disabled: {
53
45
  type: BooleanConstructor;
54
46
  default: boolean;
@@ -62,7 +54,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
62
54
  default: string;
63
55
  };
64
56
  }>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
65
- activated: boolean;
66
57
  type: ButtonType;
67
58
  variant: ButtonVariant;
68
59
  color: ButtonColor;
@@ -75,7 +66,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
75
66
  root: import("@vue/composition-api").Ref<HTMLButtonElement | undefined>;
76
67
  rootStyles: import("@vue/composition-api").ComputedRef<(string | false | undefined)[]>;
77
68
  }>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
78
- activated: boolean;
79
69
  type: ButtonType;
80
70
  variant: ButtonVariant;
81
71
  color: ButtonColor;
@@ -85,7 +75,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
85
75
  } & {} & {
86
76
  [x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
87
77
  }, {
88
- activated: boolean;
89
78
  type: ButtonType;
90
79
  variant: ButtonVariant;
91
80
  color: ButtonColor;
@@ -1,4 +1,4 @@
1
- export { a as ButtonColor, b as ButtonType, B as ButtonVariant, O as OrButtonV3 } from '../../OrButton-66d37aff.js';
1
+ export { a as ButtonColor, b as ButtonType, B as ButtonVariant, O as OrButtonV3 } from '../../OrButton-0e91a808.js';
2
2
  import '../../index-fa6eb4ca.js';
3
3
  import 'vue';
4
4
  import '@vue/composition-api/dist/vue-composition-api.mjs';
@@ -1,4 +1,5 @@
1
1
  import { Meta, StoryFn } from '@storybook/vue3';
2
+ import OrCardCollection from './OrCardCollection.vue';
2
3
  declare const _default: Meta<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
3
4
  [x: string]: ((...args: any[]) => any) | null;
4
5
  } | string[], {} & {}, {
@@ -15,3 +16,6 @@ export declare const WithSorting: StoryFn<import("vue").ComponentOptions<import(
15
16
  } | string[], {} & {}, {
16
17
  [x: number]: string;
17
18
  } | {}, true>)>;
19
+ export declare const OverrideViewContainer: StoryFn<typeof OrCardCollection>;
20
+ export declare const ExtraViewMode: StoryFn<typeof OrCardCollection>;
21
+ export declare const WithLink: StoryFn<typeof OrCardCollection>;