@onereach/ui-components 2.74.12-beta.2354.0 → 2.74.12-beta.2355.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 (33) hide show
  1. package/dist/bundled/v2/{OrModal-5f094323.js → OrModal-d845da2d.js} +4 -4
  2. package/dist/bundled/v2/{OrNotification-f7644c55.js → OrNotification-e102f0d7.js} +6 -2
  3. package/dist/bundled/v2/components/index.js +2 -2
  4. package/dist/bundled/v2/components/or-modal-v3/index.js +1 -1
  5. package/dist/bundled/v2/components/or-notification-v3/OrNotification.vue.d.ts +11 -0
  6. package/dist/bundled/v2/components/or-notification-v3/index.js +1 -1
  7. package/dist/bundled/v2/index.js +3 -3
  8. package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-92339e0f.js → OrModal.vue_vue_type_script_lang-3f3ce339.js} +4 -4
  9. package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-4532696a.js → OrNotification.vue_vue_type_script_lang-7dd0d85f.js} +4 -0
  10. package/dist/bundled/v3/components/index.js +2 -2
  11. package/dist/bundled/v3/components/or-modal-v3/index.js +1 -1
  12. package/dist/bundled/v3/components/or-notification-v3/OrNotification.vue.d.ts +11 -0
  13. package/dist/bundled/v3/components/or-notification-v3/index.js +1 -1
  14. package/dist/bundled/v3/index.js +8 -7
  15. package/dist/esm/v2/{OrModal-407f3ac7.js → OrModal-370cfc3b.js} +4 -4
  16. package/dist/esm/v2/{OrNotification-687b4999.js → OrNotification-76498693.js} +6 -2
  17. package/dist/esm/v2/components/index.js +2 -2
  18. package/dist/esm/v2/components/or-modal-v3/index.js +1 -1
  19. package/dist/esm/v2/components/or-notification-v3/OrNotification.vue.d.ts +11 -0
  20. package/dist/esm/v2/components/or-notification-v3/index.js +1 -1
  21. package/dist/esm/v2/index.js +2 -2
  22. package/dist/esm/v3/{OrModal-17c3a1cb.js → OrModal-f9f2279b.js} +4 -4
  23. package/dist/esm/v3/{OrNotification-03a7426c.js → OrNotification-aab2e22a.js} +8 -3
  24. package/dist/esm/v3/components/index.js +2 -2
  25. package/dist/esm/v3/components/or-modal-v3/index.js +1 -1
  26. package/dist/esm/v3/components/or-notification-v3/OrNotification.vue.d.ts +11 -0
  27. package/dist/esm/v3/components/or-notification-v3/index.js +1 -1
  28. package/dist/esm/v3/index.js +2 -2
  29. package/package.json +2 -2
  30. package/src/components/or-modal-v3/OrModal.stories3.ts +0 -19
  31. package/src/components/or-modal-v3/styles.ts +4 -1
  32. package/src/components/or-notification-v3/OrNotification.stories3.ts +53 -0
  33. package/src/components/or-notification-v3/OrNotification.vue +6 -0
@@ -15,7 +15,7 @@ const ModalRoot = [
15
15
  // Layout
16
16
  'layout-column',
17
17
  // Box
18
- 'w-full', 'h-full md:h-auto md:max-h-[min(calc(100%-(2*theme(spacing.3xl))),772px)]',
18
+ 'w-full', 'h-full',
19
19
  // Shape
20
20
  'md:rounded-md',
21
21
  // Spacing
@@ -29,13 +29,13 @@ const ModalRoot = [
29
29
  const ModalRootSizes = {
30
30
  'l': [
31
31
  // Box
32
- 'md:w-[1050px]'],
32
+ 'md:w-[1050px]', 'md:h-auto'],
33
33
  'm': [
34
34
  // Box
35
- 'md:w-[700px]'],
35
+ 'md:w-[700px]', 'md:h-auto'],
36
36
  's': [
37
37
  // Box
38
- 'md:w-[480px]']
38
+ 'md:w-[480px]', 'md:h-auto']
39
39
  };
40
40
  const ModalHeader = [
41
41
  // Layouot
@@ -75,6 +75,10 @@ var script = defineComponent({
75
75
  variant: {
76
76
  type: String,
77
77
  default: NotificationVariant.Info
78
+ },
79
+ disableClose: {
80
+ type: Boolean,
81
+ default: false
78
82
  }
79
83
  },
80
84
  expose: ['root'],
@@ -126,7 +130,7 @@ var __vue_render__ = function () {
126
130
  }
127
131
  })], 1), _vm._v(" "), _c('div', {
128
132
  class: ['grow', 'my-[-2px] md:my-[-3px]']
129
- }, [_vm._t("default")], 2), _vm._v(" "), _c('OrIconButton', {
133
+ }, [_vm._t("default")], 2), _vm._v(" "), !_vm.disableClose ? _c('OrIconButton', {
130
134
  attrs: {
131
135
  "icon": 'close',
132
136
  "size": 'm'
@@ -137,7 +141,7 @@ var __vue_render__ = function () {
137
141
  return _vm.$emit('close');
138
142
  }
139
143
  }
140
- })], 1);
144
+ }) : _vm._e()], 1);
141
145
  };
142
146
  var __vue_staticRenderFns__ = [];
143
147
 
@@ -51,9 +51,9 @@ export { O as OrMenuItemV3 } from '../OrMenuItem-f295292e.js';
51
51
  export { O as OrMenuV3 } from '../OrMenu-82c77b2c.js';
52
52
  export { P as MenuPlacement, O as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from '../OrPopover-597ad11f.js';
53
53
  export { O as OrModal, a as OrModalSizes } from '../OrModal-0026f7c8.js';
54
- export { M as ModalSize, _ as OrModalV3 } from '../OrModal-5f094323.js';
54
+ export { M as ModalSize, _ as OrModalV3 } from '../OrModal-d845da2d.js';
55
55
  export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, _ as OrNotification } from '../OrNotification-e9db011e.js';
56
- export { N as NotificationVariant, _ as OrNotificationV3 } from '../OrNotification-f7644c55.js';
56
+ export { N as NotificationVariant, _ as OrNotificationV3 } from '../OrNotification-e102f0d7.js';
57
57
  export { _ as OrNumberInput } from '../OrNumberInput-3c45193e.js';
58
58
  export { _ as OrOverflowMenu } from '../OrOverflowMenu-29c1ea12.js';
59
59
  export { O as OrOverlay } from '../OrOverlay-5263b088.js';
@@ -1,4 +1,4 @@
1
- export { M as ModalSize, _ as OrModalV3 } from '../../OrModal-5f094323.js';
1
+ export { M as ModalSize, _ as OrModalV3 } from '../../OrModal-d845da2d.js';
2
2
  import '../../index-fa6eb4ca.js';
3
3
  import 'vue';
4
4
  import '@vue/composition-api/dist/vue-composition-api.mjs';
@@ -10,13 +10,22 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
10
10
  type: PropType<NotificationVariant>;
11
11
  default: NotificationVariant;
12
12
  };
13
+ disableClose: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
16
+ };
13
17
  }, import("@vue/composition-api").ExtractPropTypes<{
14
18
  variant: {
15
19
  type: PropType<NotificationVariant>;
16
20
  default: NotificationVariant;
17
21
  };
22
+ disableClose: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
18
26
  }>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
19
27
  variant: NotificationVariant;
28
+ disableClose: boolean;
20
29
  } & {}, import("@vue/composition-api").ShallowUnwrapRef<{
21
30
  root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
22
31
  rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
@@ -24,7 +33,9 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
24
33
  icon: import("@vue/composition-api").ComputedRef<"warning" | "error" | "info" | "check_circle" | undefined>;
25
34
  }>, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {
26
35
  variant: NotificationVariant;
36
+ disableClose: boolean;
27
37
  } & {}, {
28
38
  variant: NotificationVariant;
39
+ disableClose: boolean;
29
40
  }, true>);
30
41
  export default _default;
@@ -1,4 +1,4 @@
1
- export { N as NotificationVariant, _ as OrNotificationV3 } from '../../OrNotification-f7644c55.js';
1
+ export { N as NotificationVariant, _ as OrNotificationV3 } from '../../OrNotification-e102f0d7.js';
2
2
  import '../../index-fa6eb4ca.js';
3
3
  import 'vue';
4
4
  import '@vue/composition-api/dist/vue-composition-api.mjs';