@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: {
@@ -2,7 +2,7 @@ import './index-fa6eb4ca.js';
2
2
  import { defineComponent, computed, ref, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
3
3
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
4
4
  import { O as OrIconButton } from './OrIconButton-a2ba92df.js';
5
- import { O as OrButton } from './OrButton-4b99c680.js';
5
+ import { O as OrButton } from './OrButton-a846fa7e.js';
6
6
  import { O as OrMenu } from './OrMenu-fa47c888.js';
7
7
  import { O as OrMenuItem } from './OrMenuItem-26420908.js';
8
8
  import { O as OrIcon } from './OrIcon-8625385f.js';
@@ -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-4b99c680.js';
5
+ import { O as OrButton, a as ButtonColor } from './OrButton-a846fa7e.js';
6
6
  import { O as OrInput } from './OrInput-82ccfe00.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';
@@ -0,0 +1,308 @@
1
+ import './index-fa6eb4ca.js';
2
+ import { O as OrButton } from './OrButton-a846fa7e.js';
3
+ import { O as OrIcon } from './OrIcon-8625385f.js';
4
+ import { O as OrMenu } from './OrMenu-fa47c888.js';
5
+ import { O as OrMenuItem } from './OrMenuItem-26420908.js';
6
+ import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
7
+ import { defineComponent, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
8
+ import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
9
+
10
+ const PaginationRoot = [
11
+ // Layout
12
+ 'layout-row',
13
+ // Spacing
14
+ 'gap-xl',
15
+ // Typography
16
+ 'typography-caption-regular',
17
+ // Theme
18
+ 'theme-foreground-outline', 'dark:theme-foreground-outline-dark'];
19
+ const PaginationOffsetControl = [
20
+ // Layout
21
+ 'layout-row',
22
+ // Spacing
23
+ 'gap-md'];
24
+ const PaginationLimitControl = [
25
+ // Layout
26
+ 'layout-row',
27
+ // Spacing
28
+ 'gap-sm'];
29
+ const PaginationItem = [
30
+ // Typography
31
+ 'typography-caption-regular',
32
+ // Typography (activated)
33
+ 'activated:typography-caption-bold'];
34
+
35
+ var script = defineComponent({
36
+ name: 'OrPagination',
37
+ components: {
38
+ OrButton,
39
+ OrIcon,
40
+ OrMenu,
41
+ OrMenuItem
42
+ },
43
+ inheritAttrs: false,
44
+ props: {
45
+ modelValue: {
46
+ type: Object,
47
+ default: undefined
48
+ },
49
+ value: {
50
+ type: Object,
51
+ default: undefined
52
+ },
53
+ length: {
54
+ type: Number,
55
+ required: true
56
+ },
57
+ pageSizeOptions: {
58
+ type: Array,
59
+ default: () => [50, 20, 10, 5]
60
+ }
61
+ },
62
+ emits: ['update:modelValue', 'input'],
63
+ expose: ['root'],
64
+ setup(props, context) {
65
+ // Refs
66
+ const root = ref();
67
+ const limitButton = ref();
68
+ const limitButtonRoot = computed(() => {
69
+ var _a;
70
+ return (_a = limitButton.value) === null || _a === void 0 ? void 0 : _a.root;
71
+ });
72
+ const limitMenu = ref();
73
+ const limitMenuRoot = computed(() => {
74
+ var _a;
75
+ return (_a = limitMenu.value) === null || _a === void 0 ? void 0 : _a.root;
76
+ });
77
+ // Styles
78
+ const classAttribute = useClassAttribute();
79
+ const rootStyles = computed(() => ['or-pagination', ...PaginationRoot, classAttribute.value]);
80
+ const offsetControlStyles = computed(() => [...PaginationOffsetControl]);
81
+ const limitControlStyles = computed(() => [...PaginationLimitControl]);
82
+ const itemStyles = computed(() => [...PaginationItem]);
83
+ // State
84
+ const proxyModelValue = computed({
85
+ get: () => {
86
+ var _a;
87
+ return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
88
+ },
89
+
90
+ set: value => {
91
+ context.emit('input', value);
92
+ context.emit('update:modelValue', value);
93
+ }
94
+ });
95
+ const currentLimit = computed({
96
+ get: () => {
97
+ var _a, _b;
98
+ return (_b = (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.limit) !== null && _b !== void 0 ? _b : props.pageSizeOptions[0];
99
+ },
100
+ set: value => {
101
+ proxyModelValue.value = {
102
+ limit: value,
103
+ offset: 0
104
+ };
105
+ }
106
+ });
107
+ const currentOffset = computed({
108
+ get: () => {
109
+ var _a, _b;
110
+ return (_b = (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.offset) !== null && _b !== void 0 ? _b : 0;
111
+ },
112
+ set: value => {
113
+ proxyModelValue.value = {
114
+ limit: currentLimit.value,
115
+ offset: value
116
+ };
117
+ }
118
+ });
119
+ const currentPage = computed({
120
+ get: () => {
121
+ return Math.floor(currentOffset.value / currentLimit.value) + 1;
122
+ },
123
+ set: value => {
124
+ currentOffset.value = (value - 1) * currentLimit.value;
125
+ }
126
+ });
127
+ const firstPage = computed(() => {
128
+ return 1;
129
+ });
130
+ const lastPage = computed(() => {
131
+ return Math.ceil(props.length / currentLimit.value);
132
+ });
133
+ const buttonGroup = computed(() => {
134
+ return Array.from({
135
+ length: lastPage.value
136
+ }, (_, index) => index + 1).map(page => {
137
+ switch (true) {
138
+ case page > firstPage.value && page < currentPage.value - 1:
139
+ case page > currentPage.value + 1 && page < lastPage.value:
140
+ return '…';
141
+ default:
142
+ return page;
143
+ }
144
+ }).reduce((accumulator, page) => {
145
+ if (accumulator[accumulator.length - 1] === page) {
146
+ return accumulator;
147
+ }
148
+ return [...accumulator, page];
149
+ }, []);
150
+ });
151
+ // Functions
152
+ function toPreviousPage() {
153
+ currentPage.value = currentPage.value - 1;
154
+ }
155
+ function toNextPage() {
156
+ currentPage.value = currentPage.value + 1;
157
+ }
158
+ function toPage(page) {
159
+ currentPage.value = page;
160
+ }
161
+ return {
162
+ root,
163
+ limitButton,
164
+ limitButtonRoot,
165
+ limitMenu,
166
+ limitMenuRoot,
167
+ rootStyles,
168
+ offsetControlStyles,
169
+ limitControlStyles,
170
+ itemStyles,
171
+ proxyModelValue,
172
+ currentLimit,
173
+ currentOffset,
174
+ currentPage,
175
+ firstPage,
176
+ lastPage,
177
+ buttonGroup,
178
+ toPreviousPage,
179
+ toNextPage,
180
+ toPage
181
+ };
182
+ }
183
+ });
184
+
185
+ /* script */
186
+ const __vue_script__ = script;
187
+
188
+ /* template */
189
+ var __vue_render__ = function () {
190
+ var _vm = this;
191
+ var _h = _vm.$createElement;
192
+ var _c = _vm._self._c || _h;
193
+ return _c('div', _vm._b({
194
+ ref: "root",
195
+ class: _vm.rootStyles
196
+ }, 'div', _vm.$attrs, false), [_c('div', {
197
+ class: _vm.offsetControlStyles
198
+ }, [_c('OrButton', {
199
+ class: _vm.itemStyles,
200
+ attrs: {
201
+ "variant": 'link',
202
+ "color": 'inherit',
203
+ "disabled": _vm.currentPage === _vm.firstPage
204
+ },
205
+ on: {
206
+ "click": function ($event) {
207
+ $event.stopPropagation();
208
+ return _vm.toPreviousPage();
209
+ }
210
+ }
211
+ }, [_c('OrIcon', {
212
+ attrs: {
213
+ "icon": 'keyboard_arrow_left'
214
+ }
215
+ })], 1), _vm._v(" "), _vm._l(_vm.buttonGroup, function (page, index) {
216
+ return _c('OrButton', {
217
+ key: index,
218
+ class: _vm.itemStyles,
219
+ attrs: {
220
+ "variant": 'link',
221
+ "color": 'inherit',
222
+ "activated": _vm.currentPage === page
223
+ },
224
+ on: {
225
+ "click": function ($event) {
226
+ $event.stopPropagation();
227
+ typeof page === 'number' && _vm.toPage(page);
228
+ }
229
+ }
230
+ }, [_vm._v("\n " + _vm._s(page) + "\n ")]);
231
+ }), _vm._v(" "), _c('OrButton', {
232
+ class: _vm.itemStyles,
233
+ attrs: {
234
+ "variant": 'link',
235
+ "color": 'inherit',
236
+ "disabled": _vm.currentPage === _vm.lastPage
237
+ },
238
+ on: {
239
+ "click": function ($event) {
240
+ $event.stopPropagation();
241
+ return _vm.toNextPage();
242
+ }
243
+ }
244
+ }, [_c('OrIcon', {
245
+ attrs: {
246
+ "icon": 'keyboard_arrow_right'
247
+ }
248
+ })], 1)], 2), _vm._v(" "), _c('div', {
249
+ class: _vm.limitControlStyles
250
+ }, [_vm._v("\n Per page:\n\n "), _c('OrButton', {
251
+ ref: "limitButton",
252
+ class: _vm.itemStyles,
253
+ attrs: {
254
+ "variant": 'link',
255
+ "color": 'inherit',
256
+ "activated": true
257
+ },
258
+ on: {
259
+ "click": function ($event) {
260
+ $event.stopPropagation();
261
+ return _vm.limitMenu.open();
262
+ }
263
+ }
264
+ }, [_vm._v("\n " + _vm._s(_vm.currentLimit) + " "), _c('OrIcon', {
265
+ attrs: {
266
+ "icon": 'arrow_drop_down'
267
+ }
268
+ })], 1), _vm._v(" "), _c('OrMenu', {
269
+ ref: "limitMenu",
270
+ attrs: {
271
+ "trigger": _vm.limitButtonRoot,
272
+ "placement": 'top'
273
+ }
274
+ }, _vm._l(_vm.pageSizeOptions, function (pageSize) {
275
+ return _c('OrMenuItem', {
276
+ key: pageSize,
277
+ on: {
278
+ "click": function ($event) {
279
+ $event.stopPropagation();
280
+ _vm.currentLimit = pageSize;
281
+ }
282
+ }
283
+ }, [_vm._v("\n " + _vm._s(pageSize) + "\n ")]);
284
+ }), 1)], 1)]);
285
+ };
286
+ var __vue_staticRenderFns__ = [];
287
+
288
+ /* style */
289
+ const __vue_inject_styles__ = undefined;
290
+ /* scoped */
291
+ const __vue_scope_id__ = undefined;
292
+ /* module identifier */
293
+ const __vue_module_identifier__ = undefined;
294
+ /* functional template */
295
+ const __vue_is_functional_template__ = false;
296
+ /* style inject */
297
+
298
+ /* style inject SSR */
299
+
300
+ /* style inject shadow dom */
301
+
302
+ const __vue_component__ = /*#__PURE__*/normalizeComponent({
303
+ render: __vue_render__,
304
+ staticRenderFns: __vue_staticRenderFns__
305
+ }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
306
+ var __vue_component__$1 = __vue_component__;
307
+
308
+ export { __vue_component__$1 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 { 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-4b99c680.js';
8
+ export { a as ButtonColor, b as ButtonType, B as ButtonVariant, O as OrButtonV3 } from '../OrButton-a846fa7e.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 { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-754aa36f.js';
11
+ export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-0141a358.js';
12
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';
@@ -19,7 +19,7 @@ export { _ as OrCode, O as OrCodeLanguages } from '../OrCode-fc6876ec.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-cf334659.js';
22
+ export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-23c3ce56.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';
@@ -59,6 +59,7 @@ export { N as NotificationVariant, _ as OrNotificationV3 } from '../OrNotificati
59
59
  export { _ as OrOverflowMenu } from '../OrOverflowMenu-711e460e.js';
60
60
  export { O as OrOverlay } from '../OrOverlay-47967a8b.js';
61
61
  export { O as OrOverlayV3 } from '../OrOverlay-3c89d622.js';
62
+ export { _ as OrPaginationV3 } from '../OrPagination-379c10b8.js';
62
63
  export { O as OrProgress, a as OrProgressColors, b as OrProgressTypes } from '../OrProgress-de947341.js';
63
64
  export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrProgress-cc397a38.js';
64
65
  export { _ as OrRadio } from '../OrRadio-187d6fc7.js';
@@ -67,7 +68,7 @@ export { _ as OrRadioV3 } from '../OrRadio-cd39b20b.js';
67
68
  export { O as OrSearchV3 } from '../OrSearch-53470b0e.js';
68
69
  export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-21cc914e.js';
69
70
  export { _ as OrSelect } from '../OrSelect-a23d4210.js';
70
- export { _ as OrSelectV3 } from '../OrSelect-2e48be47.js';
71
+ export { _ as OrSelectV3 } from '../OrSelect-20226912.js';
71
72
  export { _ as OrSidebar, O as OrSidebarSide } from '../OrSidebar-e2b2c9ec.js';
72
73
  export { O as OrSidebarPlacement, _ as OrSidebarV3 } from '../OrSidebar-c95ef614.js';
73
74
  export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-242d22f3.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, O as OrButtonV3 } from '../../OrButton-4b99c680.js';
1
+ export { a as ButtonColor, b as ButtonType, B as ButtonVariant, O as OrButtonV3 } from '../../OrButton-a846fa7e.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,4 @@
1
- export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-754aa36f.js';
1
+ export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-0141a358.js';
2
2
  import '../../index-fa6eb4ca.js';
3
3
  import 'vue';
4
4
  import '@vue/composition-api/dist/vue-composition-api.mjs';
@@ -16,7 +16,7 @@ import '../../OrTeleport.vue2-e9ba3054.js';
16
16
  import 'portal-vue';
17
17
  import '../../useElevation-aac032f4.js';
18
18
  import '../../useResponsive-e13dfbb0.js';
19
- import '../../OrButton-4b99c680.js';
19
+ import '../../OrButton-a846fa7e.js';
20
20
  import '../../OrLoader-6a1f937b.js';
21
21
  import '../../OrMenu-fa47c888.js';
22
22
  import '../../OrMenuItem-26420908.js';
@@ -1,4 +1,4 @@
1
- export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-cf334659.js';
1
+ export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-23c3ce56.js';
2
2
  import '../../index-fa6eb4ca.js';
3
3
  import 'vue';
4
4
  import '@vue/composition-api/dist/vue-composition-api.mjs';
@@ -10,7 +10,7 @@ import 'portal-vue';
10
10
  import '../../normalize-component-6e8e3d80.js';
11
11
  import '../../useClassAttribute-9bf33346.js';
12
12
  import '../../useElevation-aac032f4.js';
13
- import '../../OrButton-4b99c680.js';
13
+ import '../../OrButton-a846fa7e.js';
14
14
  import '../../OrLoader-6a1f937b.js';
15
15
  import '../../OrInput-82ccfe00.js';
16
16
  import '../../OrError-aad17598.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>)>;