@onereach/ui-components-vue2 21.0.0 → 21.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, ref, computed, toRef } from 'vue-demi';
2
- import { t as te } from '../../useValidationAttributes-BpeWsfb0-24439d6f.js';
2
+ import { n as ne, t as te } from '../../useValidationAttributes-BpeWsfb0-24439d6f.js';
3
3
  import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
4
+ import '../../dom-qGGG2YCX-4d4cca6e.js';
4
5
  import { OrIconButtonV3 as OrIconButton } from '../or-icon-button-v3/index.js';
5
6
  import { OrOverlayV3 as OrOverlay } from '../or-overlay-v3/index.js';
6
- import '../../dom-qGGG2YCX-4d4cca6e.js';
7
7
  import '@vueuse/core';
8
8
  import '@onereach/styles/screens.json';
9
9
  import '@onereach/styles/tailwind.config.json';
@@ -145,11 +145,15 @@ var script$1 = defineComponent({
145
145
  setup() {
146
146
  // Refs
147
147
  const root = ref();
148
+ const {
149
+ isMobile
150
+ } = ne();
148
151
  // Styles
149
152
  const rootStyles = computed(() => ['or-modal-header', ...ModalHeader]);
150
153
  return {
151
154
  root,
152
- rootStyles
155
+ rootStyles,
156
+ isMobile
153
157
  };
154
158
  }
155
159
  });
@@ -170,7 +174,7 @@ var __vue_render__$1 = function () {
170
174
  }, [_vm._t("default")], 2), _vm._v(" "), _c('OrIconButton', {
171
175
  attrs: {
172
176
  "icon": 'close',
173
- "size": 'l'
177
+ "size": _vm.isMobile ? 'l' : 'xl'
174
178
  },
175
179
  on: {
176
180
  "click": function ($event) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/ui-components-vue2",
3
- "version": "21.0.0",
3
+ "version": "21.0.1",
4
4
  "description": "Vue components library for v2",
5
5
  "sideEffects": false,
6
6
  "exports": {
@@ -39,8 +39,8 @@
39
39
  "@codemirror/view": "^6",
40
40
  "@floating-ui/dom": "1.5.3",
41
41
  "@lezer/highlight": "*",
42
- "@onereach/styles": "^21.0.0",
43
- "@onereach/ui-components-common": "^21.0.0",
42
+ "@onereach/styles": "^21.0.1",
43
+ "@onereach/ui-components-common": "^21.0.1",
44
44
  "@splidejs/splide": "4.0.6",
45
45
  "@tiptap/core": "2.0.3",
46
46
  "@tiptap/extension-blockquote": "2.0.3",
@@ -104,5 +104,5 @@
104
104
  "access": "public"
105
105
  },
106
106
  "npmUnpacked": "4.15.2",
107
- "gitHead": "1b0b3229bd78b1c713901758e3bab1567d899cd6"
107
+ "gitHead": "f95337d592ce13a53032c77552666e097cd40d23"
108
108
  }