@onereach/ui-components 2.69.7 → 2.69.8-beta.2189.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 (103) hide show
  1. package/dist/bundled/v2/{OrButton-4b99c680.js → OrButton-a846fa7e.js} +10 -1
  2. package/dist/bundled/v2/{OrCardCollection-754aa36f.js → OrCardCollection-0141a358.js} +1 -1
  3. package/dist/bundled/v2/{OrConfirm-cf334659.js → OrConfirm-23c3ce56.js} +1 -1
  4. package/dist/bundled/v2/OrPagination-379c10b8.js +308 -0
  5. package/dist/bundled/v2/{OrSelect-2e48be47.js → OrSelect-20226912.js} +15 -8
  6. package/dist/bundled/v2/components/index.d.ts +1 -0
  7. package/dist/bundled/v2/components/index.js +5 -4
  8. package/dist/bundled/v2/components/or-button-v3/OrButton.vue.d.ts +11 -0
  9. package/dist/bundled/v2/components/or-button-v3/index.js +1 -1
  10. package/dist/bundled/v2/components/or-card-collection-v3/index.js +2 -2
  11. package/dist/bundled/v2/components/or-confirm-v3/index.js +2 -2
  12. package/dist/bundled/v2/components/or-pagination-v3/OrPagination.stories3.d.ts +12 -0
  13. package/dist/bundled/v2/components/or-pagination-v3/OrPagination.vue.d.ts +112 -0
  14. package/dist/bundled/v2/components/or-pagination-v3/index.d.ts +2 -0
  15. package/dist/bundled/v2/components/or-pagination-v3/index.js +20 -0
  16. package/dist/bundled/v2/components/or-pagination-v3/styles.d.ts +4 -0
  17. package/dist/bundled/v2/components/or-pagination-v3/types.d.ts +4 -0
  18. package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +25 -14
  19. package/dist/bundled/v2/components/or-select-v3/index.d.ts +1 -0
  20. package/dist/bundled/v2/components/or-select-v3/index.js +1 -1
  21. package/dist/bundled/v2/components/or-select-v3/types.d.ts +1 -1
  22. package/dist/bundled/v2/index.js +6 -5
  23. package/dist/bundled/v3/{OrButton-a671b8a1.js → OrButton-2b27c1fd.js} +3 -2
  24. package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-b0dc31ca.js → OrButton.vue_vue_type_script_lang-8c44986c.js} +9 -1
  25. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-365741ae.js → OrCardCollection.vue_vue_type_script_lang-2d78a51a.js} +2 -2
  26. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-68329ca1.js → OrConfirm.vue_vue_type_script_lang-05b21989.js} +2 -2
  27. package/dist/bundled/v3/OrPagination.vue_vue_type_script_lang-c96d7cd7.js +187 -0
  28. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-a5ecc5ed.js → OrSelect.vue_vue_type_script_lang-edc5eb2d.js} +6 -2
  29. package/dist/bundled/v3/components/index.d.ts +1 -0
  30. package/dist/bundled/v3/components/index.js +6 -5
  31. package/dist/bundled/v3/components/or-button-v3/OrButton.vue.d.ts +11 -0
  32. package/dist/bundled/v3/components/or-button-v3/index.js +1 -1
  33. package/dist/bundled/v3/components/or-card-collection-v3/index.js +3 -3
  34. package/dist/bundled/v3/components/or-confirm-v3/index.js +3 -3
  35. package/dist/bundled/v3/components/or-pagination-v3/OrPagination.stories3.d.ts +12 -0
  36. package/dist/bundled/v3/components/or-pagination-v3/OrPagination.vue.d.ts +112 -0
  37. package/dist/bundled/v3/components/or-pagination-v3/index.d.ts +2 -0
  38. package/dist/bundled/v3/components/or-pagination-v3/index.js +22 -0
  39. package/dist/bundled/v3/components/or-pagination-v3/styles.d.ts +4 -0
  40. package/dist/bundled/v3/components/or-pagination-v3/types.d.ts +4 -0
  41. package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +25 -14
  42. package/dist/bundled/v3/components/or-select-v3/index.d.ts +1 -0
  43. package/dist/bundled/v3/components/or-select-v3/index.js +1 -1
  44. package/dist/bundled/v3/components/or-select-v3/types.d.ts +1 -1
  45. package/dist/bundled/v3/index.js +253 -162
  46. package/dist/esm/v2/{OrButton-357e1e2c.js → OrButton-835d4f11.js} +10 -1
  47. package/dist/esm/v2/{OrCardCollection-153b0179.js → OrCardCollection-3c38fc85.js} +1 -1
  48. package/dist/esm/v2/{OrConfirm-d67d5c00.js → OrConfirm-e2ab9b4c.js} +1 -1
  49. package/dist/esm/v2/OrPagination-c0dbec6a.js +308 -0
  50. package/dist/esm/v2/{OrSelect-b3794fd3.js → OrSelect-2b198f4f.js} +15 -8
  51. package/dist/esm/v2/components/index.d.ts +1 -0
  52. package/dist/esm/v2/components/index.js +5 -4
  53. package/dist/esm/v2/components/or-button-v3/OrButton.vue.d.ts +11 -0
  54. package/dist/esm/v2/components/or-button-v3/index.js +1 -1
  55. package/dist/esm/v2/components/or-card-collection-v3/index.js +2 -2
  56. package/dist/esm/v2/components/or-confirm-v3/index.js +2 -2
  57. package/dist/esm/v2/components/or-pagination-v3/OrPagination.stories3.d.ts +12 -0
  58. package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +112 -0
  59. package/dist/esm/v2/components/or-pagination-v3/index.d.ts +2 -0
  60. package/dist/esm/v2/components/or-pagination-v3/index.js +18 -0
  61. package/dist/esm/v2/components/or-pagination-v3/styles.d.ts +4 -0
  62. package/dist/esm/v2/components/or-pagination-v3/types.d.ts +4 -0
  63. package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +25 -14
  64. package/dist/esm/v2/components/or-select-v3/index.d.ts +1 -0
  65. package/dist/esm/v2/components/or-select-v3/index.js +1 -1
  66. package/dist/esm/v2/components/or-select-v3/types.d.ts +1 -1
  67. package/dist/esm/v2/index.js +5 -4
  68. package/dist/esm/v3/{OrButton-bb6bf8a9.js → OrButton-0fa67a0d.js} +11 -2
  69. package/dist/esm/v3/{OrCardCollection-a09ad585.js → OrCardCollection-dbb3e839.js} +1 -1
  70. package/dist/esm/v3/{OrConfirm-b93b5131.js → OrConfirm-1bcd39b1.js} +1 -1
  71. package/dist/esm/v3/OrPagination-a703307d.js +269 -0
  72. package/dist/esm/v3/{OrSelect-a0718c44.js → OrSelect-f42de9d8.js} +19 -9
  73. package/dist/esm/v3/components/index.d.ts +1 -0
  74. package/dist/esm/v3/components/index.js +5 -4
  75. package/dist/esm/v3/components/or-button-v3/OrButton.vue.d.ts +11 -0
  76. package/dist/esm/v3/components/or-button-v3/index.js +1 -1
  77. package/dist/esm/v3/components/or-card-collection-v3/index.js +2 -2
  78. package/dist/esm/v3/components/or-confirm-v3/index.js +2 -2
  79. package/dist/esm/v3/components/or-pagination-v3/OrPagination.stories3.d.ts +12 -0
  80. package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +112 -0
  81. package/dist/esm/v3/components/or-pagination-v3/index.d.ts +2 -0
  82. package/dist/esm/v3/components/or-pagination-v3/index.js +17 -0
  83. package/dist/esm/v3/components/or-pagination-v3/styles.d.ts +4 -0
  84. package/dist/esm/v3/components/or-pagination-v3/types.d.ts +4 -0
  85. package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +25 -14
  86. package/dist/esm/v3/components/or-select-v3/index.d.ts +1 -0
  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 +5 -4
  90. package/package.json +2 -3
  91. package/src/components/index.ts +1 -0
  92. package/src/components/or-button-v3/OrButton.stories3.ts +4 -0
  93. package/src/components/or-button-v3/OrButton.vue +6 -0
  94. package/src/components/or-button-v3/styles.ts +9 -1
  95. package/src/components/or-pagination-v3/OrPagination.docs.mdx +7 -0
  96. package/src/components/or-pagination-v3/OrPagination.stories3.ts +87 -0
  97. package/src/components/or-pagination-v3/OrPagination.vue +270 -0
  98. package/src/components/or-pagination-v3/index.ts +2 -0
  99. package/src/components/or-pagination-v3/styles.ts +38 -0
  100. package/src/components/or-pagination-v3/types.ts +4 -0
  101. package/src/components/or-select-v3/OrSelect.vue +26 -14
  102. package/src/components/or-select-v3/index.ts +1 -0
  103. package/src/components/or-select-v3/types.ts +1 -1
@@ -81,7 +81,11 @@ const ButtonRootColors = {
81
81
  'danger-link': [
82
82
  // Theme
83
83
  'theme-preset-4-error', 'dark:theme-preset-4-error-dark'],
84
- 'inherit-link': []
84
+ 'inherit-link': [
85
+ // Theme
86
+ 'theme-foreground-inherit', 'dark:theme-foreground-inherit',
87
+ // Theme (activated)
88
+ 'activated:theme-foreground-default', 'dark:activated:theme-foreground-default-dark']
85
89
  };
86
90
 
87
91
  var script = defineComponent({
@@ -103,6 +107,10 @@ var script = defineComponent({
103
107
  type: String,
104
108
  default: ButtonColor.Primary
105
109
  },
110
+ activated: {
111
+ type: Boolean,
112
+ default: false
113
+ },
106
114
  disabled: {
107
115
  type: Boolean,
108
116
  default: false
@@ -144,6 +152,7 @@ var __vue_render__ = function () {
144
152
  class: _vm.rootStyles,
145
153
  attrs: {
146
154
  "type": _vm.type,
155
+ "activated": _vm.activated ? '' : null,
147
156
  "disabled": _vm.disabled
148
157
  },
149
158
  on: {
@@ -7,7 +7,7 @@ import './OrPopover-9bafbdb4.js';
7
7
  import { _ as __vue_component__$5 } from './OrMenuItem-c7f28480.js';
8
8
  import { _ as __vue_component__$6 } from './OrIcon-5e394c62.js';
9
9
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
10
- import { _ as __vue_component__$3 } from './OrButton-357e1e2c.js';
10
+ import { _ as __vue_component__$3 } from './OrButton-835d4f11.js';
11
11
  import { _ as __vue_component__$7 } from './OrSearch-0f08f2f5.js';
12
12
  import './OrInputBox-4d5a318d.js';
13
13
 
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, computed, watch } from 'vue-demi';
2
- import { _ as __vue_component__$2, a as ButtonColor } from './OrButton-357e1e2c.js';
2
+ import { _ as __vue_component__$2, a as ButtonColor } from './OrButton-835d4f11.js';
3
3
  import { _ as __vue_component__$1 } from './OrOverlay-18ba2dc6.js';
4
4
  import { _ as __vue_component__$3 } from './OrInput-ada3a970.js';
5
5
  import { useMagicKeys, whenever } from '@vueuse/core';
@@ -0,0 +1,308 @@
1
+ import { defineComponent, ref, computed } from 'vue-demi';
2
+ import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
3
+ import '@vueuse/core';
4
+ import { _ as __vue_component__$1 } from './OrButton-835d4f11.js';
5
+ import { _ as __vue_component__$2 } from './OrIcon-5e394c62.js';
6
+ import { _ as __vue_component__$4 } from './OrMenuItem-c7f28480.js';
7
+ import { _ as __vue_component__$3 } from './OrMenu-df27d0ef.js';
8
+ import './OrPopover-9bafbdb4.js';
9
+ import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
10
+
11
+ const PaginationRoot = [
12
+ // Layout
13
+ 'layout-row',
14
+ // Spacing
15
+ 'gap-xl',
16
+ // Typography
17
+ 'typography-caption-regular',
18
+ // Theme
19
+ 'theme-foreground-outline', 'dark:theme-foreground-outline-dark'];
20
+ const PaginationOffsetControl = [
21
+ // Layout
22
+ 'layout-row',
23
+ // Spacing
24
+ 'gap-md'];
25
+ const PaginationLimitControl = [
26
+ // Layout
27
+ 'layout-row',
28
+ // Spacing
29
+ 'gap-sm'];
30
+ const PaginationItem = [
31
+ // Typography
32
+ 'typography-caption-regular',
33
+ // Typography (activated)
34
+ 'activated:typography-caption-bold'];
35
+
36
+ var script = defineComponent({
37
+ name: 'OrPagination',
38
+ components: {
39
+ OrButton: __vue_component__$1,
40
+ OrIcon: __vue_component__$2,
41
+ OrMenu: __vue_component__$3,
42
+ OrMenuItem: __vue_component__$4
43
+ },
44
+ inheritAttrs: false,
45
+ props: {
46
+ modelValue: {
47
+ type: Object,
48
+ default: undefined
49
+ },
50
+ value: {
51
+ type: Object,
52
+ default: undefined
53
+ },
54
+ length: {
55
+ type: Number,
56
+ required: true
57
+ },
58
+ pageSizeOptions: {
59
+ type: Array,
60
+ default: () => [50, 20, 10, 5]
61
+ }
62
+ },
63
+ emits: ['update:modelValue', 'input'],
64
+ expose: ['root'],
65
+ setup(props, context) {
66
+ // Refs
67
+ const root = ref();
68
+ const limitButton = ref();
69
+ const limitButtonRoot = computed(() => {
70
+ var _a;
71
+ return (_a = limitButton.value) === null || _a === void 0 ? void 0 : _a.root;
72
+ });
73
+ const limitMenu = ref();
74
+ const limitMenuRoot = computed(() => {
75
+ var _a;
76
+ return (_a = limitMenu.value) === null || _a === void 0 ? void 0 : _a.root;
77
+ });
78
+ // Styles
79
+ const classAttribute = useClassAttribute();
80
+ const rootStyles = computed(() => ['or-pagination', ...PaginationRoot, classAttribute.value]);
81
+ const offsetControlStyles = computed(() => [...PaginationOffsetControl]);
82
+ const limitControlStyles = computed(() => [...PaginationLimitControl]);
83
+ const itemStyles = computed(() => [...PaginationItem]);
84
+ // State
85
+ const proxyModelValue = computed({
86
+ get: () => {
87
+ var _a;
88
+ return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
89
+ },
90
+
91
+ set: value => {
92
+ context.emit('input', value);
93
+ context.emit('update:modelValue', value);
94
+ }
95
+ });
96
+ const currentLimit = computed({
97
+ get: () => {
98
+ var _a, _b;
99
+ return (_b = (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.limit) !== null && _b !== void 0 ? _b : props.pageSizeOptions[0];
100
+ },
101
+ set: value => {
102
+ proxyModelValue.value = {
103
+ limit: value,
104
+ offset: 0
105
+ };
106
+ }
107
+ });
108
+ const currentOffset = computed({
109
+ get: () => {
110
+ var _a, _b;
111
+ return (_b = (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.offset) !== null && _b !== void 0 ? _b : 0;
112
+ },
113
+ set: value => {
114
+ proxyModelValue.value = {
115
+ limit: currentLimit.value,
116
+ offset: value
117
+ };
118
+ }
119
+ });
120
+ const currentPage = computed({
121
+ get: () => {
122
+ return Math.floor(currentOffset.value / currentLimit.value) + 1;
123
+ },
124
+ set: value => {
125
+ currentOffset.value = (value - 1) * currentLimit.value;
126
+ }
127
+ });
128
+ const firstPage = computed(() => {
129
+ return 1;
130
+ });
131
+ const lastPage = computed(() => {
132
+ return Math.ceil(props.length / currentLimit.value);
133
+ });
134
+ const buttonGroup = computed(() => {
135
+ return Array.from({
136
+ length: lastPage.value
137
+ }, (_, index) => index + 1).map(page => {
138
+ switch (true) {
139
+ case page > firstPage.value && page < currentPage.value - 1:
140
+ case page > currentPage.value + 1 && page < lastPage.value:
141
+ return '…';
142
+ default:
143
+ return page;
144
+ }
145
+ }).reduce((accumulator, page) => {
146
+ if (accumulator[accumulator.length - 1] === page) {
147
+ return accumulator;
148
+ }
149
+ return [...accumulator, page];
150
+ }, []);
151
+ });
152
+ // Functions
153
+ function toPreviousPage() {
154
+ currentPage.value = currentPage.value - 1;
155
+ }
156
+ function toNextPage() {
157
+ currentPage.value = currentPage.value + 1;
158
+ }
159
+ function toPage(page) {
160
+ currentPage.value = page;
161
+ }
162
+ return {
163
+ root,
164
+ limitButton,
165
+ limitButtonRoot,
166
+ limitMenu,
167
+ limitMenuRoot,
168
+ rootStyles,
169
+ offsetControlStyles,
170
+ limitControlStyles,
171
+ itemStyles,
172
+ proxyModelValue,
173
+ currentLimit,
174
+ currentOffset,
175
+ currentPage,
176
+ firstPage,
177
+ lastPage,
178
+ buttonGroup,
179
+ toPreviousPage,
180
+ toNextPage,
181
+ toPage
182
+ };
183
+ }
184
+ });
185
+
186
+ /* script */
187
+ const __vue_script__ = script;
188
+
189
+ /* template */
190
+ var __vue_render__ = function () {
191
+ var _vm = this;
192
+ var _h = _vm.$createElement;
193
+ var _c = _vm._self._c || _h;
194
+ return _c('div', _vm._b({
195
+ ref: "root",
196
+ class: _vm.rootStyles
197
+ }, 'div', _vm.$attrs, false), [_c('div', {
198
+ class: _vm.offsetControlStyles
199
+ }, [_c('OrButton', {
200
+ class: _vm.itemStyles,
201
+ attrs: {
202
+ "variant": 'link',
203
+ "color": 'inherit',
204
+ "disabled": _vm.currentPage === _vm.firstPage
205
+ },
206
+ on: {
207
+ "click": function ($event) {
208
+ $event.stopPropagation();
209
+ return _vm.toPreviousPage();
210
+ }
211
+ }
212
+ }, [_c('OrIcon', {
213
+ attrs: {
214
+ "icon": 'keyboard_arrow_left'
215
+ }
216
+ })], 1), _vm._v(" "), _vm._l(_vm.buttonGroup, function (page, index) {
217
+ return _c('OrButton', {
218
+ key: index,
219
+ class: _vm.itemStyles,
220
+ attrs: {
221
+ "variant": 'link',
222
+ "color": 'inherit',
223
+ "activated": _vm.currentPage === page
224
+ },
225
+ on: {
226
+ "click": function ($event) {
227
+ $event.stopPropagation();
228
+ typeof page === 'number' && _vm.toPage(page);
229
+ }
230
+ }
231
+ }, [_vm._v("\n " + _vm._s(page) + "\n ")]);
232
+ }), _vm._v(" "), _c('OrButton', {
233
+ class: _vm.itemStyles,
234
+ attrs: {
235
+ "variant": 'link',
236
+ "color": 'inherit',
237
+ "disabled": _vm.currentPage === _vm.lastPage
238
+ },
239
+ on: {
240
+ "click": function ($event) {
241
+ $event.stopPropagation();
242
+ return _vm.toNextPage();
243
+ }
244
+ }
245
+ }, [_c('OrIcon', {
246
+ attrs: {
247
+ "icon": 'keyboard_arrow_right'
248
+ }
249
+ })], 1)], 2), _vm._v(" "), _c('div', {
250
+ class: _vm.limitControlStyles
251
+ }, [_vm._v("\n Per page:\n\n "), _c('OrButton', {
252
+ ref: "limitButton",
253
+ class: _vm.itemStyles,
254
+ attrs: {
255
+ "variant": 'link',
256
+ "color": 'inherit',
257
+ "activated": true
258
+ },
259
+ on: {
260
+ "click": function ($event) {
261
+ $event.stopPropagation();
262
+ return _vm.limitMenu.open();
263
+ }
264
+ }
265
+ }, [_vm._v("\n " + _vm._s(_vm.currentLimit) + " "), _c('OrIcon', {
266
+ attrs: {
267
+ "icon": 'arrow_drop_down'
268
+ }
269
+ })], 1), _vm._v(" "), _c('OrMenu', {
270
+ ref: "limitMenu",
271
+ attrs: {
272
+ "trigger": _vm.limitButtonRoot,
273
+ "placement": 'top'
274
+ }
275
+ }, _vm._l(_vm.pageSizeOptions, function (pageSize) {
276
+ return _c('OrMenuItem', {
277
+ key: pageSize,
278
+ on: {
279
+ "click": function ($event) {
280
+ $event.stopPropagation();
281
+ _vm.currentLimit = pageSize;
282
+ }
283
+ }
284
+ }, [_vm._v("\n " + _vm._s(pageSize) + "\n ")]);
285
+ }), 1)], 1)]);
286
+ };
287
+ var __vue_staticRenderFns__ = [];
288
+
289
+ /* style */
290
+ const __vue_inject_styles__ = undefined;
291
+ /* scoped */
292
+ const __vue_scope_id__ = undefined;
293
+ /* module identifier */
294
+ const __vue_module_identifier__ = undefined;
295
+ /* functional template */
296
+ const __vue_is_functional_template__ = false;
297
+ /* style inject */
298
+
299
+ /* style inject SSR */
300
+
301
+ /* style inject shadow dom */
302
+
303
+ const __vue_component__ = /*#__PURE__*/normalizeComponent({
304
+ render: __vue_render__,
305
+ staticRenderFns: __vue_staticRenderFns__
306
+ }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
307
+
308
+ export { __vue_component__ as _ };
@@ -82,11 +82,11 @@ var script = defineComponent({
82
82
  default: []
83
83
  },
84
84
  modelValue: {
85
- type: [String, Array],
85
+ type: [String, Number, Array],
86
86
  default: undefined
87
87
  },
88
88
  value: {
89
- type: [String, Array],
89
+ type: [String, Number, Array],
90
90
  default: undefined
91
91
  },
92
92
  multiple: {
@@ -121,6 +121,10 @@ var script = defineComponent({
121
121
  type: Boolean,
122
122
  default: false
123
123
  },
124
+ disableDefaultStyles: {
125
+ type: Boolean,
126
+ default: false
127
+ },
124
128
  enableSearch: {
125
129
  type: Boolean,
126
130
  default: false
@@ -326,6 +330,7 @@ var __vue_render__ = function () {
326
330
  ref: "inputBox",
327
331
  class: [_vm.popoverState === 'open' && 'rounded-b-0'],
328
332
  attrs: {
333
+ "variant": _vm.disableDefaultStyles ? 'unstyled' : 'styled',
329
334
  "size": _vm.size,
330
335
  "invalid": _vm.invalid,
331
336
  "readonly": _vm.readonly,
@@ -347,8 +352,8 @@ var __vue_render__ = function () {
347
352
  return _vm.$emit('blur', $event);
348
353
  }
349
354
  }
350
- }, [_vm.proxyModelValue && _vm.proxyModelValue.length > 0 ? [_vm.multiple ? [_vm._t("valueTemplate", function () {
351
- return _vm._l(_vm.selection, function (option) {
355
+ }, [_vm.multiple ? [_vm._t("valueTemplate", function () {
356
+ return [_vm.proxyModelValue && _vm.proxyModelValue.length > 0 ? _vm._l(_vm.selection, function (option) {
352
357
  return _c('OrTag', {
353
358
  key: option.value,
354
359
  attrs: {
@@ -360,16 +365,18 @@ var __vue_render__ = function () {
360
365
  }
361
366
  }
362
367
  }, [_vm._v("\n " + _vm._s(option.label) + "\n ")]);
363
- });
368
+ }) : [_c('span', {
369
+ class: _vm.placeholderStyles
370
+ }, [_vm._v(_vm._s(_vm.placeholder))])]];
364
371
  }, {
365
372
  "model": _vm.proxyModelValue
366
- })] : [_vm._t("valueTemplate", function () {
373
+ })] : [_vm.proxyModelValue ? [_vm._t("valueTemplate", function () {
367
374
  return [_vm._v("\n " + _vm._s(_vm.selection.label) + "\n ")];
368
375
  }, {
369
376
  "model": _vm.proxyModelValue
370
- })]] : [_c('span', {
377
+ })] : [_c('span', {
371
378
  class: _vm.placeholderStyles
372
- }, [_vm._v(_vm._s(_vm.placeholder))])]], 2), _vm._v(" "), _vm.multiple && _vm.outerItems.length > 0 ? [_vm._v("\n +" + _vm._s(_vm.outerItems.length) + "\n ")] : _vm._e(), _vm._v(" "), _c('div', {
379
+ }, [_vm._v(_vm._s(_vm.placeholder))])]]], 2), _vm._v(" "), _vm.multiple && _vm.outerItems.length > 0 ? [_vm._v("\n +" + _vm._s(_vm.outerItems.length) + "\n ")] : _vm._e(), _vm._v(" "), _c('div', {
373
380
  class: ['layout-row']
374
381
  }, [_c('OrIcon', {
375
382
  attrs: {
@@ -53,6 +53,7 @@ export * from './or-notification-v3';
53
53
  export * from './or-overflow-menu';
54
54
  export * from './or-overlay';
55
55
  export * from './or-overlay-v3';
56
+ export * from './or-pagination-v3';
56
57
  export * from './or-popover-v3';
57
58
  export * from './or-progress';
58
59
  export * from './or-progress-v3';
@@ -5,10 +5,10 @@ export { _ as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonVi
5
5
  export { _ as OrButtonV2 } from '../OrButton-c4f9955b.js';
6
6
  export { _ as OrIconButton } from '../OrIconButton-014e86a7.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 '../OrIconButton.vue_rollup-plugin-vue_script-9fb7b7ab.js';
8
- export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from '../OrButton-357e1e2c.js';
8
+ export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from '../OrButton-835d4f11.js';
9
9
  export { _ as OrCard } from '../OrCard-b7268256.js';
10
10
  export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from '../OrCardCollection-f6b07557.js';
11
- export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-153b0179.js';
11
+ export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-3c38fc85.js';
12
12
  export { _ as OrCardV3 } from '../OrCard-de799db0.js';
13
13
  export { a as OrCarousel, _ as OrCarouselItem } from '../OrCarouselItem-4e2cf3d8.js';
14
14
  export { _ as OrCheckbox } from '../OrCheckbox-915f1f0a.js';
@@ -19,7 +19,7 @@ export { _ as OrCode, O as OrCodeLanguages } from '../OrCode-d4400b42.js';
19
19
  export { _ as OrCollapse } from '../OrCollapse-4d892ca3.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-75abefdd.js';
21
21
  export { _ as OrConfirm } from '../OrConfirm-d7112dd3.js';
22
- export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-d67d5c00.js';
22
+ export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-e2ab9b4c.js';
23
23
  export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-349df9b2.js';
24
24
  export { _ as OrError } from '../OrError-081130bb.js';
25
25
  export { _ as OrErrorTagV3 } from '../OrErrorTag-782dd714.js';
@@ -59,6 +59,7 @@ export { N as NotificationVariant, _ as OrNotificationV3 } from '../OrNotificati
59
59
  export { _ as OrOverflowMenu } from '../OrOverflowMenu-10a4166a.js';
60
60
  export { _ as OrOverlay } from '../OrOverlay-3b52865d.js';
61
61
  export { _ as OrOverlayV3 } from '../OrOverlay-18ba2dc6.js';
62
+ export { _ as OrPaginationV3 } from '../OrPagination-c0dbec6a.js';
62
63
  export { _ as OrProgress, O as OrProgressColors, a as OrProgressTypes } from '../OrProgress-4ee24824.js';
63
64
  export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrProgress-c27c8946.js';
64
65
  export { _ as OrRadio } from '../OrRadio-e4198532.js';
@@ -67,7 +68,7 @@ export { _ as OrRadioV3 } from '../OrRadio-848ce55d.js';
67
68
  export { _ as OrSearchV3 } from '../OrSearch-0f08f2f5.js';
68
69
  export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-e8dce8f9.js';
69
70
  export { _ as OrSelect } from '../OrSelect-dae2b069.js';
70
- export { _ as OrSelectV3 } from '../OrSelect-b3794fd3.js';
71
+ export { _ as OrSelectV3 } from '../OrSelect-2b198f4f.js';
71
72
  export { _ as OrSidebar, O as OrSidebarSide } from '../OrSidebar-7d6125bb.js';
72
73
  export { O as OrSidebarPlacement, _ as OrSidebarV3 } from '../OrSidebar-fabc7bc9.js';
73
74
  export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-cc94bdc9.js';
@@ -16,6 +16,10 @@ 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
+ };
19
23
  disabled: {
20
24
  type: BooleanConstructor;
21
25
  default: boolean;
@@ -41,6 +45,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
41
45
  type: PropType<ButtonColor>;
42
46
  default: ButtonColor;
43
47
  };
48
+ activated: {
49
+ type: BooleanConstructor;
50
+ default: boolean;
51
+ };
44
52
  disabled: {
45
53
  type: BooleanConstructor;
46
54
  default: boolean;
@@ -54,6 +62,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
54
62
  default: string;
55
63
  };
56
64
  }>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
65
+ activated: boolean;
57
66
  type: ButtonType;
58
67
  variant: ButtonVariant;
59
68
  color: ButtonColor;
@@ -66,6 +75,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
66
75
  root: import("@vue/composition-api").Ref<HTMLButtonElement | undefined>;
67
76
  rootStyles: import("@vue/composition-api").ComputedRef<(string | false | undefined)[]>;
68
77
  }>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
78
+ activated: boolean;
69
79
  type: ButtonType;
70
80
  variant: ButtonVariant;
71
81
  color: ButtonColor;
@@ -75,6 +85,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
75
85
  } & {} & {
76
86
  [x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
77
87
  }, {
88
+ activated: boolean;
78
89
  type: ButtonType;
79
90
  variant: ButtonVariant;
80
91
  color: ButtonColor;
@@ -1,4 +1,4 @@
1
- export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from '../../OrButton-357e1e2c.js';
1
+ export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from '../../OrButton-835d4f11.js';
2
2
  import 'vue-demi';
3
3
  import '../../useClassAttribute-47fdb016.js';
4
4
  import '@vueuse/core';
@@ -1,4 +1,4 @@
1
- export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-153b0179.js';
1
+ export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-3c38fc85.js';
2
2
  import 'vue-demi';
3
3
  import '../../useClassAttribute-47fdb016.js';
4
4
  import '@vueuse/core';
@@ -16,7 +16,7 @@ import '../../OrTeleport.vue2-fb92f29f.js';
16
16
  import 'portal-vue';
17
17
  import '../../OrMenu-df27d0ef.js';
18
18
  import '../../OrMenuItem-c7f28480.js';
19
- import '../../OrButton-357e1e2c.js';
19
+ import '../../OrButton-835d4f11.js';
20
20
  import '../../OrLoader-f857d55b.js';
21
21
  import '../../OrSearch-0f08f2f5.js';
22
22
  import '../../OrInput-ada3a970.js';
@@ -1,6 +1,6 @@
1
- export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-d67d5c00.js';
1
+ export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-e2ab9b4c.js';
2
2
  import 'vue-demi';
3
- import '../../OrButton-357e1e2c.js';
3
+ import '../../OrButton-835d4f11.js';
4
4
  import '../../useClassAttribute-47fdb016.js';
5
5
  import '@vueuse/core';
6
6
  import '../../OrLoader-f857d55b.js';
@@ -0,0 +1,12 @@
1
+ import { Meta, StoryFn } from '@storybook/vue3';
2
+ 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
+ [x: string]: ((...args: any[]) => any) | null;
4
+ } | string[], {} & {}, {
5
+ [x: number]: string;
6
+ } | {}, true>)>;
7
+ export default _default;
8
+ export declare const Default: StoryFn<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, {
9
+ [x: string]: ((...args: any[]) => any) | null;
10
+ } | string[], {} & {}, {
11
+ [x: number]: string;
12
+ } | {}, true>)>;