@onereach/ui-components 2.70.2-beta.2207.0 → 2.70.2-beta.2212.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 (36) hide show
  1. package/dist/bundled/v2/{OrConfirm-23c3ce56.js → OrConfirm-057e997e.js} +12 -5
  2. package/dist/bundled/v2/{OrSelect-02fb39f0.js → OrSelect-c49e1bcf.js} +1 -1
  3. package/dist/bundled/v2/{OrTag-30fecee5.js → OrTag-e3e6fdd6.js} +1 -1
  4. package/dist/bundled/v2/components/index.js +3 -3
  5. package/dist/bundled/v2/components/or-confirm-v3/index.js +3 -3
  6. package/dist/bundled/v2/components/or-select-v3/index.js +2 -2
  7. package/dist/bundled/v2/components/or-tag-v3/index.js +1 -1
  8. package/dist/bundled/v2/index.js +4 -4
  9. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-05b21989.js → OrConfirm.vue_vue_type_script_lang-9d9a3917.js} +12 -5
  10. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-83f15704.js → OrSelect.vue_vue_type_script_lang-58e5a52b.js} +1 -1
  11. package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-3e30f662.js → OrTag.vue_vue_type_script_lang-e45c345b.js} +1 -1
  12. package/dist/bundled/v3/components/index.js +3 -3
  13. package/dist/bundled/v3/components/or-confirm-v3/index.js +2 -2
  14. package/dist/bundled/v3/components/or-select-v3/index.js +2 -2
  15. package/dist/bundled/v3/components/or-tag-v3/index.js +1 -1
  16. package/dist/bundled/v3/index.js +6 -6
  17. package/dist/esm/v2/{OrConfirm-e2ab9b4c.js → OrConfirm-047d4086.js} +13 -6
  18. package/dist/esm/v2/{OrSelect-f8837f5d.js → OrSelect-1d705445.js} +1 -1
  19. package/dist/esm/v2/{OrTag-5c404031.js → OrTag-52e4cc94.js} +1 -1
  20. package/dist/esm/v2/components/index.js +3 -3
  21. package/dist/esm/v2/components/or-confirm-v3/index.js +7 -7
  22. package/dist/esm/v2/components/or-select-v3/index.js +2 -2
  23. package/dist/esm/v2/components/or-tag-v3/index.js +1 -1
  24. package/dist/esm/v2/index.js +3 -3
  25. package/dist/esm/v3/{OrConfirm-1bcd39b1.js → OrConfirm-fee3c859.js} +13 -6
  26. package/dist/esm/v3/{OrSelect-8fbd88bc.js → OrSelect-dfa4885f.js} +1 -1
  27. package/dist/esm/v3/{OrTag-5d54f37d.js → OrTag-efa7578f.js} +1 -1
  28. package/dist/esm/v3/components/index.js +3 -3
  29. package/dist/esm/v3/components/or-confirm-v3/index.js +6 -6
  30. package/dist/esm/v3/components/or-select-v3/index.js +2 -2
  31. package/dist/esm/v3/components/or-tag-v3/index.js +1 -1
  32. package/dist/esm/v3/index.js +3 -3
  33. package/package.json +1 -1
  34. package/src/components/or-confirm-v3/OrConfirm.vue +11 -10
  35. package/src/components/or-confirm-v3/styles.ts +13 -3
  36. package/src/components/or-tag-v3/styles.ts +0 -3
@@ -1,6 +1,6 @@
1
- import './index-fa6eb4ca.js';
2
- import { useMagicKeys, whenever } from '@vueuse/core';
1
+ import { useMagicKeys, whenever, onClickOutside } from '@vueuse/core';
3
2
  import { l as logicAnd } from './index-17f264f9.js';
3
+ import './index-fa6eb4ca.js';
4
4
  import { O as OrOverlay } from './OrOverlay-3c89d622.js';
5
5
  import { O as OrButton, a as ButtonColor } from './OrButton-a846fa7e.js';
6
6
  import { O as OrInput } from './OrInput-82ccfe00.js';
@@ -14,12 +14,14 @@ var ConfirmType;
14
14
  })(ConfirmType || (ConfirmType = {}));
15
15
 
16
16
  const ConfirmRoot = [
17
+ // Position
18
+ 'fixed md:static', 'left-none', 'right-none', 'bottom-none',
17
19
  // Layout
18
20
  'layout-column',
19
21
  // Box
20
- 'w-[320px]',
22
+ 'w-full md:w-[320px]',
21
23
  // Shape
22
- 'rounded-md',
24
+ 'rounded-0 md:rounded-md',
23
25
  // Spacing
24
26
  'px-lg', 'py-lg', 'gap-md',
25
27
  // Typography
@@ -52,8 +54,10 @@ const ConfirmFooterTypes = {
52
54
  'flex-row-reverse']
53
55
  };
54
56
  const ConfirmFooterButtons = [
57
+ // Layout
58
+ 'grow',
55
59
  // Box
56
- 'w-[128px]'];
60
+ 'w-auto md:w-[128px]'];
57
61
 
58
62
  var script = defineComponent({
59
63
  name: 'OrConfirm',
@@ -195,6 +199,9 @@ var script = defineComponent({
195
199
  const inputBoxStyles = computed(() => [...ConfirmInput]);
196
200
  const footerStyles = computed(() => [...ConfirmFooter, ...ConfirmFooterTypes[props.confirmType]]);
197
201
  const buttonsStyles = computed(() => [...ConfirmFooterButtons]);
202
+ // #region Click Outside
203
+ onClickOutside(root, close);
204
+ // #endregion
198
205
  return {
199
206
  root,
200
207
  confirmationInput,
@@ -9,7 +9,7 @@ import { O as OrInputBox, a as InputBoxSize } from './OrInputBox-79ec54ad.js';
9
9
  import { O as OrLabel } from './OrLabel-172c4b89.js';
10
10
  import { O as OrMenuItem } from './OrMenuItem-26420908.js';
11
11
  import { O as OrPopover } from './OrPopover-5dc240f1.js';
12
- import { O as OrTag } from './OrTag-30fecee5.js';
12
+ import { O as OrTag } from './OrTag-e3e6fdd6.js';
13
13
  import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e2a93aaf.js';
14
14
  import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
15
15
  import { u as useOverflow } from './useOverflow-bae6342f.js';
@@ -43,7 +43,7 @@ const TagRootVariants = {
43
43
  const TagRootColors = {
44
44
  'default': [
45
45
  // Theme
46
- 'theme-preset-2-primary', 'dark:theme-preset-2-primary-dark', 'theme-foreground-default', 'dark:theme-foreground-default-dark'],
46
+ 'theme-preset-2-primary', 'dark:theme-preset-2-primary-dark'],
47
47
  'danger': [
48
48
  // Theme
49
49
  'theme-preset-2-error', 'dark:theme-preset-2-error-dark']
@@ -19,7 +19,7 @@ export { _ as OrCode, O as OrCodeLanguages } from '../OrCode-fc6876ec.js';
19
19
  export { O as OrCollapse } from '../OrCollapse-3aa9a9b7.js';
20
20
  export { _ as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from '../OrColorPicker-a1a37e83.js';
21
21
  export { _ as OrConfirm } from '../OrConfirm-56d01cff.js';
22
- export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-23c3ce56.js';
22
+ export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-057e997e.js';
23
23
  export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-e212f892.js';
24
24
  export { O as OrError } from '../OrError-31503e4c.js';
25
25
  export { _ as OrErrorTagV3 } from '../OrErrorTag-d0c5bcf4.js';
@@ -68,7 +68,7 @@ export { _ as OrRadioV3 } from '../OrRadio-cd39b20b.js';
68
68
  export { O as OrSearchV3 } from '../OrSearch-53470b0e.js';
69
69
  export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-21cc914e.js';
70
70
  export { _ as OrSelect } from '../OrSelect-a23d4210.js';
71
- export { _ as OrSelectV3 } from '../OrSelect-02fb39f0.js';
71
+ export { _ as OrSelectV3 } from '../OrSelect-c49e1bcf.js';
72
72
  export { _ as OrSidebar, O as OrSidebarSide } from '../OrSidebar-e2b2c9ec.js';
73
73
  export { O as OrSidebarPlacement, _ as OrSidebarV3 } from '../OrSidebar-c95ef614.js';
74
74
  export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-242d22f3.js';
@@ -84,7 +84,7 @@ export { O as OrTabV3 } from '../OrTab-dd949240.js';
84
84
  export { _ as OrTabs } from '../OrTabs-4c8f6422.js';
85
85
  export { _ as OrTabsV3, T as TabsVariant } from '../OrTabs-42f7c52c.js';
86
86
  export { _ as OrTag } from '../OrTag-79e48fec.js';
87
- export { O as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag-30fecee5.js';
87
+ export { O as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag-e3e6fdd6.js';
88
88
  export { O as OrTeleport } from '../OrTeleportVue2-3544f185.js';
89
89
  export { O as OrTeleportV3 } from '../OrTeleport.vue2-e9ba3054.js';
90
90
  export { _ as OrTextV3 } from '../OrText-eac4b9f5.js';
@@ -1,9 +1,9 @@
1
- export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-23c3ce56.js';
1
+ export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-057e997e.js';
2
+ import '@vueuse/core';
3
+ import '../../index-17f264f9.js';
2
4
  import '../../index-fa6eb4ca.js';
3
5
  import 'vue';
4
6
  import '@vue/composition-api/dist/vue-composition-api.mjs';
5
- import '@vueuse/core';
6
- import '../../index-17f264f9.js';
7
7
  import '../../OrOverlay-3c89d622.js';
8
8
  import '../../OrTeleport.vue2-e9ba3054.js';
9
9
  import 'portal-vue';
@@ -1,4 +1,4 @@
1
- export { _ as OrSelectV3 } from '../../OrSelect-02fb39f0.js';
1
+ export { _ as OrSelectV3 } from '../../OrSelect-c49e1bcf.js';
2
2
  export { a as SelectSize } from '../../OrInputBox-79ec54ad.js';
3
3
  import '../../index-fa6eb4ca.js';
4
4
  import 'vue';
@@ -25,6 +25,6 @@ import 'portal-vue';
25
25
  import '../../useElevation-aac032f4.js';
26
26
  import '../../useResponsive-e13dfbb0.js';
27
27
  import '../../OrMenuItem-26420908.js';
28
- import '../../OrTag-30fecee5.js';
28
+ import '../../OrTag-e3e6fdd6.js';
29
29
  import '../../dropdown-open-e2a93aaf.js';
30
30
  import '../../useOverflow-bae6342f.js';
@@ -1,4 +1,4 @@
1
- export { O as OrTagV3, a as TagColor, T as TagVariant } from '../../OrTag-30fecee5.js';
1
+ export { O as OrTagV3, a as TagColor, T as TagVariant } from '../../OrTag-e3e6fdd6.js';
2
2
  import '../../index-fa6eb4ca.js';
3
3
  import 'vue';
4
4
  import '@vue/composition-api/dist/vue-composition-api.mjs';