@onereach/ui-components 2.75.2-beta.2391.0 → 2.75.2-beta.2393.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.
@@ -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-0b22c94c.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-0b22c94c.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-2d77aae4.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-2d77aae4.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.75.2-beta.2391.0",
3
+ "version": "2.75.2-beta.2393.0",
4
4
  "description": "Vue components library for v2/3",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/auto/index.js",
@@ -38,7 +38,7 @@
38
38
  "@codemirror/lang-json": "6.0.0",
39
39
  "@codemirror/lang-markdown": "6.0.1",
40
40
  "@floating-ui/dom": "0.3.1",
41
- "@onereach/styles": "^2.36.1",
41
+ "@onereach/styles": "^2.36.2-beta.2393.0",
42
42
  "@splidejs/splide": "4.0.6",
43
43
  "@types/lodash": "4.14.173",
44
44
  "@types/sortablejs": "1.10.7",
@@ -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
 
@@ -104,7 +104,7 @@ const DefaultTemplate: StoryFn<typeof OrSidebar> = (args) => ({
104
104
  class="theme-background-surface-1 dark:theme-background-surface-1-dark text-on-background dark:text-on-background-dark"
105
105
  style="flex-grow: 1; overflow: auto; padding: 16px"
106
106
  >
107
- ${Faker.lorem.paragraphs(10)}
107
+ ${Faker.lorem.paragraphs(100)}
108
108
  </div>
109
109
  <OrSidebar
110
110
  v-bind="args"