@onereach/ui-components-vue2 23.1.4 → 23.1.5-beta.5553.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.
@@ -1,4 +1,3 @@
1
- /// <reference types="env" />
2
1
  import { Ref, ComputedRef } from 'vue';
3
2
  import { BottomSheetVariant } from '../props';
4
3
  declare function useBottomSheetSwipeState(root: Ref<HTMLElement | undefined>, content: Ref<HTMLElement | undefined>, fullscreen: Ref<boolean>, variant: Ref<`${BottomSheetVariant}`>, close: () => void): {
@@ -1,5 +1,5 @@
1
- import { defineComponent, ref, computed, toRef } from 'vue-demi';
2
1
  import { X, t as te } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
2
+ import { defineComponent, ref, computed, toRef } from 'vue-demi';
3
3
  import { OrButtonV3 as OrButton } from '../or-button-v3/index.js';
4
4
  import { OrModalV3 as OrModal } from '../or-modal-v3/index.js';
5
5
  import { OrPopoverV3 as OrPopover, PopoverPlacement } from '../or-popover-v3/index.js';
@@ -165,23 +165,23 @@ var __vue_render__ = function () {
165
165
  }, 'div', _vm.$attrs, false), [_c('div', {
166
166
  class: _vm.headerStyles
167
167
  }, [_c('div', {
168
- class: ['grow', 'truncate']
168
+ staticClass: "grow truncate"
169
169
  }, [_vm._v("\n " + _vm._s(_vm.title) + "\n ")]), _vm._v(" "), _c('OrButton', {
170
170
  attrs: {
171
- "variant": 'link'
171
+ "variant": "link"
172
172
  },
173
173
  on: {
174
174
  "click": function ($event) {
175
175
  return _vm.reset();
176
176
  }
177
177
  }
178
- }, [_vm._v("\n " + _vm._s(_vm.resetLabel) + "\n ")])], 1), _vm._v(" "), _vm._t("default"), _vm._v(" "), _vm._t('actions', function () {
178
+ }, [_vm._v("\n " + _vm._s(_vm.resetLabel) + "\n ")])], 1), _vm._v(" "), _vm._t("default"), _vm._v(" "), _vm._t("actions", function () {
179
179
  return [_vm.enableDesktopControls ? _c('div', {
180
180
  class: _vm.footerStyles
181
181
  }, [_c('OrButton', {
182
- class: ['grow'],
182
+ staticClass: "grow",
183
183
  attrs: {
184
- "variant": 'contained'
184
+ "variant": "contained"
185
185
  },
186
186
  on: {
187
187
  "click": function ($event) {
@@ -189,9 +189,9 @@ var __vue_render__ = function () {
189
189
  }
190
190
  }
191
191
  }, [_vm._v("\n " + _vm._s(_vm.applyLabel) + "\n ")]), _vm._v(" "), _c('OrButton', {
192
- class: ['grow'],
192
+ staticClass: "grow",
193
193
  attrs: {
194
- "variant": 'outlined'
194
+ "variant": "outlined"
195
195
  },
196
196
  on: {
197
197
  "click": function ($event) {
@@ -222,13 +222,13 @@ var __vue_render__ = function () {
222
222
  }, {
223
223
  key: "footer",
224
224
  fn: function () {
225
- return [_vm._t('actions', function () {
225
+ return [_vm._t("actions", function () {
226
226
  return [_c('div', {
227
227
  class: _vm.footerStyles
228
228
  }, [_c('OrButton', {
229
- class: ['grow'],
229
+ staticClass: "grow",
230
230
  attrs: {
231
- "variant": 'contained'
231
+ "variant": "contained"
232
232
  },
233
233
  on: {
234
234
  "click": function ($event) {
@@ -236,9 +236,9 @@ var __vue_render__ = function () {
236
236
  }
237
237
  }
238
238
  }, [_vm._v("\n " + _vm._s(_vm.applyLabel) + "\n ")]), _vm._v(" "), _c('OrButton', {
239
- class: ['grow'],
239
+ staticClass: "grow",
240
240
  attrs: {
241
- "variant": 'outlined'
241
+ "variant": "outlined"
242
242
  },
243
243
  on: {
244
244
  "click": function ($event) {
@@ -1,4 +1,3 @@
1
- /// <reference types="env" />
2
1
  import type { FloatingElement, Middleware, MiddlewareData, Placement, ReferenceElement, Strategy } from '@floating-ui/dom';
3
2
  import type { ComponentPublicInstance, Ref } from 'vue';
4
3
  export type MaybeReadonlyRef<T> = T | Readonly<Ref<T>>;
@@ -1,4 +1,3 @@
1
- /// <reference types="env" />
2
1
  import type { FloatingElement, ReferenceElement } from '@floating-ui/dom';
3
2
  import { Ref } from 'vue';
4
3
  import type { UseFloatingOptions, UseFloatingReturn, MaybeElement } from './types';
@@ -1,7 +1,7 @@
1
1
  import { computePosition, offset, shift, flip, hide, size, autoUpdate } from '@floating-ui/dom';
2
+ import { X, t as te, G } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
2
3
  import { onClickOutside } from '@vueuse/core';
3
4
  import { computed, unref, ref, shallowRef, watch, getCurrentScope, onScopeDispose, shallowReadonly, defineComponent, toRefs, toRef } from 'vue-demi';
4
- import { X, t as te, G } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
5
5
  import { a9 as p } from '../../utils-72d9c2bb.js';
6
6
  import { OrBottomSheetV3 as OrBottomSheet } from '../or-bottom-sheet-v3/index.js';
7
7
  import { OrTeleportV3 as OrTeleport } from '../or-teleport-v3/index.js';
@@ -245,6 +245,12 @@ var script = defineComponent({
245
245
  },
246
246
  inheritAttrs: false,
247
247
  props: {
248
+ // @workaround for bundled builds with scoped styles
249
+ twScope: {
250
+ type: String,
251
+ required: false,
252
+ default: undefined
253
+ },
248
254
  // @workaround for Vue 2
249
255
  customStyles: {
250
256
  type: Array,
@@ -396,10 +402,11 @@ const __vue_script__ = script;
396
402
 
397
403
  /* template */
398
404
  var __vue_render__ = function () {
405
+ var _obj;
399
406
  var _vm = this;
400
407
  var _h = _vm.$createElement;
401
408
  var _c = _vm._self._c || _h;
402
- return _vm.keepAlive || _vm.state === 'open' ? _c('OrTeleport', [_c('div', {
409
+ return _vm.keepAlive || _vm.state === 'open' ? _c('OrTeleport', [_c('div', _vm._b({
403
410
  directives: [{
404
411
  name: "show",
405
412
  rawName: "v-show",
@@ -408,7 +415,7 @@ var __vue_render__ = function () {
408
415
  }],
409
416
  ref: 'containerRoot',
410
417
  class: ['contents', 'my-state' + _vm.state]
411
- }, [_vm.isDesktop && _vm.variant === 'auto' || _vm.variant === 'popover' ? [_c('div', _vm._b({
418
+ }, 'div', _vm.twScope ? (_obj = {}, _obj[_vm.twScope] = '', _obj) : {}, false), [_vm.isDesktop && _vm.variant === 'auto' || _vm.variant === 'popover' ? [_c('div', _vm._b({
412
419
  directives: [{
413
420
  name: "show",
414
421
  rawName: "v-show",
@@ -1,5 +1,5 @@
1
- import { defineComponent, reactive, ref, computed, toRef } from 'vue-demi';
2
1
  import { J, Z, e as ee } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
2
+ import { defineComponent, reactive, ref, computed, toRef } from 'vue-demi';
3
3
  import { OrLabelV3 as OrLabel, LabelVariant } from '../or-label-v3/index.js';
4
4
  import { s as styleInject } from '../../style-inject.es-87955792.js';
5
5
  import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
@@ -129,7 +129,7 @@ var script = defineComponent({
129
129
  }
130
130
  });
131
131
 
132
- var css_248z = "input[data-v-acd87988]{line-height:0;appearance:none}";
132
+ var css_248z = "input[data-v-4839fdfc]{line-height:0;appearance:none}";
133
133
  styleInject(css_248z);
134
134
 
135
135
  /* script */
@@ -194,7 +194,7 @@ var __vue_staticRenderFns__ = [];
194
194
  /* style */
195
195
  const __vue_inject_styles__ = undefined;
196
196
  /* scoped */
197
- const __vue_scope_id__ = "data-v-acd87988";
197
+ const __vue_scope_id__ = "data-v-4839fdfc";
198
198
  /* module identifier */
199
199
  const __vue_module_identifier__ = undefined;
200
200
  /* functional template */
@@ -1,4 +1,3 @@
1
- /// <reference types="env" />
2
1
  import { Ref } from 'vue';
3
2
  export default function useQueue<T>(initialValue?: Array<T>): {
4
3
  queue: Ref<Ref<T>[]>;
@@ -4,6 +4,6 @@ export type ToastEventsBusEvents = 'toastNotify' | 'toastClose' | 'toastCloseAll
4
4
  declare const _default: () => {
5
5
  on: (namedQueue: ToastEventsBusEvents, listener: EventBusListener<ToastConfiguration>) => void;
6
6
  off: (namedQueue: ToastEventsBusEvents, listener: EventBusListener<ToastConfiguration>) => void;
7
- emit: (namedQueue: ToastEventsBusEvents, data?: ToastConfiguration | undefined) => void;
7
+ emit: (namedQueue: ToastEventsBusEvents, data?: ToastConfiguration) => void;
8
8
  };
9
9
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/ui-components-vue2",
3
- "version": "23.1.4",
3
+ "version": "23.1.5-beta.5553.0",
4
4
  "description": "Vue components library for v2",
5
5
  "license": "Apache-2.0",
6
6
  "sideEffects": false,
@@ -40,8 +40,8 @@
40
40
  "@codemirror/view": "^6",
41
41
  "@floating-ui/dom": "1.5.3",
42
42
  "@lezer/highlight": "*",
43
- "@onereach/styles": "^23.1.4",
44
- "@onereach/ui-components-common": "^23.1.4",
43
+ "@onereach/styles": "^23.1.5-beta.5553.0",
44
+ "@onereach/ui-components-common": "^23.1.5-beta.5553.0",
45
45
  "@splidejs/splide": "4.0.6",
46
46
  "@tiptap/core": "2.0.3",
47
47
  "@tiptap/extension-blockquote": "2.0.3",
@@ -102,6 +102,5 @@
102
102
  "publishConfig": {
103
103
  "access": "public"
104
104
  },
105
- "npmUnpacked": "4.15.2",
106
- "gitHead": "1c1d5f2c88c7c80e4769a6f78375a2bf00856a09"
105
+ "npmUnpacked": "4.15.2"
107
106
  }