@onereach/ui-components 2.74.15-beta.2371.0 → 2.74.15

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.
@@ -14,7 +14,7 @@ const ModalRoot = [
14
14
  // Layout
15
15
  'layout-column',
16
16
  // Box
17
- 'w-full', 'h-full md:h-auto md:max-h-[min(calc(100%-(2*theme(spacing.3xl))),772px)]',
17
+ 'w-full', 'h-full',
18
18
  // Shape
19
19
  'md:rounded-md',
20
20
  // Spacing
@@ -28,13 +28,13 @@ const ModalRoot = [
28
28
  const ModalRootSizes = {
29
29
  'l': [
30
30
  // Box
31
- 'md:w-[1050px]'],
31
+ 'md:w-[1050px]', 'md:h-auto'],
32
32
  'm': [
33
33
  // Box
34
- 'md:w-[700px]'],
34
+ 'md:w-[700px]', 'md:h-auto'],
35
35
  's': [
36
36
  // Box
37
- 'md:w-[480px]']
37
+ 'md:w-[480px]', 'md:h-auto']
38
38
  };
39
39
  const ModalHeader = [
40
40
  // Layouot
@@ -51,7 +51,7 @@ export { _ as OrMenuItemV3 } from '../OrMenuItem-4f810513.js';
51
51
  export { _ as OrMenuV3 } from '../OrMenu-bb6e93bc.js';
52
52
  export { P as MenuPlacement, _ as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from '../OrPopover-a101a230.js';
53
53
  export { _ as OrModal, O as OrModalSizes } from '../OrModal-a02dcd2a.js';
54
- export { M as ModalSize, _ as OrModalV3 } from '../OrModal-407f3ac7.js';
54
+ export { M as ModalSize, _ as OrModalV3 } from '../OrModal-370cfc3b.js';
55
55
  export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, _ as OrNotification } from '../OrNotification-f905da81.js';
56
56
  export { N as NotificationVariant, _ as OrNotificationV3 } from '../OrNotification-76498693.js';
57
57
  export { _ as OrNumberInput } from '../OrNumberInput-eb0e7087.js';
@@ -1,4 +1,4 @@
1
- export { M as ModalSize, _ as OrModalV3 } from '../../OrModal-407f3ac7.js';
1
+ export { M as ModalSize, _ as OrModalV3 } from '../../OrModal-370cfc3b.js';
2
2
  import 'vue-demi';
3
3
  import '../../OrIconButton-fa9bff07.js';
4
4
  import '../../OrIcon-c434985a.js';
@@ -51,7 +51,7 @@ export { _ as OrMenuItemV3 } from './OrMenuItem-4f810513.js';
51
51
  export { _ as OrMenuV3 } from './OrMenu-bb6e93bc.js';
52
52
  export { P as MenuPlacement, _ as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-a101a230.js';
53
53
  export { _ as OrModal, O as OrModalSizes } from './OrModal-a02dcd2a.js';
54
- export { M as ModalSize, _ as OrModalV3 } from './OrModal-407f3ac7.js';
54
+ export { M as ModalSize, _ as OrModalV3 } from './OrModal-370cfc3b.js';
55
55
  export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, _ as OrNotification } from './OrNotification-f905da81.js';
56
56
  export { N as NotificationVariant, _ as OrNotificationV3 } from './OrNotification-76498693.js';
57
57
  export { _ as OrNumberInput } from './OrNumberInput-eb0e7087.js';
@@ -14,7 +14,7 @@ const ModalRoot = [
14
14
  // Layout
15
15
  'layout-column',
16
16
  // Box
17
- 'w-full', 'h-full md:h-auto md:max-h-[min(calc(100%-(2*theme(spacing.3xl))),772px)]',
17
+ 'w-full', 'h-full',
18
18
  // Shape
19
19
  'md:rounded-md',
20
20
  // Spacing
@@ -28,13 +28,13 @@ const ModalRoot = [
28
28
  const ModalRootSizes = {
29
29
  'l': [
30
30
  // Box
31
- 'md:w-[1050px]'],
31
+ 'md:w-[1050px]', 'md:h-auto'],
32
32
  'm': [
33
33
  // Box
34
- 'md:w-[700px]'],
34
+ 'md:w-[700px]', 'md:h-auto'],
35
35
  's': [
36
36
  // Box
37
- 'md:w-[480px]']
37
+ 'md:w-[480px]', 'md:h-auto']
38
38
  };
39
39
  const ModalHeader = [
40
40
  // Layouot
@@ -48,7 +48,7 @@ export { s as OrMenuItemV3 } from '../OrMenuItem-de91aded.js';
48
48
  export { s as OrMenuV3 } from '../OrMenu-b4e8136c.js';
49
49
  export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from '../OrPopover-35ee1b1e.js';
50
50
  export { s as OrModal, O as OrModalSizes } from '../OrModal-153310f7.js';
51
- export { M as ModalSize, s as OrModalV3 } from '../OrModal-17c3a1cb.js';
51
+ export { M as ModalSize, s as OrModalV3 } from '../OrModal-f9f2279b.js';
52
52
  export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from '../OrNotification-b90cf406.js';
53
53
  export { N as NotificationVariant, s as OrNotificationV3 } from '../OrNotification-aab2e22a.js';
54
54
  export { s as OrNumberInput } from '../OrNumberInput-dca5e850.js';
@@ -1,4 +1,4 @@
1
- export { M as ModalSize, s as OrModalV3 } from '../../OrModal-17c3a1cb.js';
1
+ export { M as ModalSize, s as OrModalV3 } from '../../OrModal-f9f2279b.js';
2
2
  import 'vue-demi';
3
3
  import '../../OrIconButton-385e997c.js';
4
4
  import '../../OrIcon-ea40e58c.js';
@@ -48,7 +48,7 @@ export { s as OrMenuItemV3 } from './OrMenuItem-de91aded.js';
48
48
  export { s as OrMenuV3 } from './OrMenu-b4e8136c.js';
49
49
  export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-35ee1b1e.js';
50
50
  export { s as OrModal, O as OrModalSizes } from './OrModal-153310f7.js';
51
- export { M as ModalSize, s as OrModalV3 } from './OrModal-17c3a1cb.js';
51
+ export { M as ModalSize, s as OrModalV3 } from './OrModal-f9f2279b.js';
52
52
  export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from './OrNotification-b90cf406.js';
53
53
  export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-aab2e22a.js';
54
54
  export { s as OrNumberInput } from './OrNumberInput-dca5e850.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/ui-components",
3
- "version": "2.74.15-beta.2371.0",
3
+ "version": "2.74.15",
4
4
  "description": "Vue components library for v2/3",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/auto/index.js",
@@ -124,5 +124,6 @@
124
124
  "default": "./dist/bundled/v3/components/*/index.js"
125
125
  },
126
126
  "./package.json": "./package.json"
127
- }
127
+ },
128
+ "gitHead": "369f29f205cc022f40d2fcf4a00ed4abcd9e4842"
128
129
  }
@@ -1,7 +1,6 @@
1
1
  import { action } from '@storybook/addon-actions';
2
2
  import { Meta, StoryFn } from '@storybook/vue3';
3
3
  import { ref } from 'vue-demi';
4
- import Faker from 'faker';
5
4
  import { OrButtonV3 as OrButton } from '../or-button-v3';
6
5
  import OrModalDocs from './OrModal.docs.mdx';
7
6
  import OrModal from './OrModal.vue';
@@ -258,21 +257,3 @@ zIndex.args = {
258
257
  </div>
259
258
  `,
260
259
  };
261
-
262
- export const WithVerticalScroll = Template.bind({});
263
-
264
- WithVerticalScroll.args = {
265
- header: 'Upload Files',
266
- default: `
267
- <div class="flex items-center justify-center">
268
- ${Faker.lorem.lines(50)}
269
- </div>
270
- `,
271
-
272
- footer: `
273
- <div class="flex items-center justify-end gap-[16px]">
274
- <OrButton variant="outlined">Save</OrButton>
275
- <OrButton>Upload</OrButton>
276
- </div>
277
- `,
278
- };
@@ -6,7 +6,7 @@ export const ModalRoot: string[] = [
6
6
 
7
7
  // Box
8
8
  'w-full',
9
- 'h-full md:h-auto md:max-h-[min(calc(100%-(2*theme(spacing.3xl))),772px)]',
9
+ 'h-full',
10
10
 
11
11
  // Shape
12
12
  'md:rounded-md',
@@ -36,16 +36,19 @@ export const ModalRootSizes: Record<ModalSize, string[]> = {
36
36
  'l': [
37
37
  // Box
38
38
  'md:w-[1050px]',
39
+ 'md:h-auto',
39
40
  ],
40
41
 
41
42
  'm': [
42
43
  // Box
43
44
  'md:w-[700px]',
45
+ 'md:h-auto',
44
46
  ],
45
47
 
46
48
  's': [
47
49
  // Box
48
50
  'md:w-[480px]',
51
+ 'md:h-auto',
49
52
  ],
50
53
  };
51
54
 
@@ -409,7 +409,7 @@ WithLeftToolbar.args = {
409
409
  };
410
410
 
411
411
  export const CollapsibleWithLeftToolbar = LeftTemplate.bind({});
412
- CollapsibleWithWithLeftToolbar.args = {
412
+ CollapsibleWithLeftToolbar.args = {
413
413
  ...WithLeftToolbar.args,
414
414
  collapsible: true,
415
415
  };