@onereach/ui-components 2.70.2-beta.2203.0 → 2.70.2-beta.2207.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.
- package/dist/bundled/v2/{OrConfirm-057e997e.js → OrConfirm-23c3ce56.js} +5 -12
- package/dist/bundled/v2/{OrSelect-c49e1bcf.js → OrSelect-02fb39f0.js} +1 -1
- package/dist/bundled/v2/{OrTag-e3e6fdd6.js → OrTag-30fecee5.js} +1 -1
- package/dist/bundled/v2/components/index.js +3 -3
- package/dist/bundled/v2/components/or-confirm-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-select-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-tag-v3/index.js +1 -1
- package/dist/bundled/v2/index.js +4 -4
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-9d9a3917.js → OrConfirm.vue_vue_type_script_lang-05b21989.js} +5 -12
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-58e5a52b.js → OrSelect.vue_vue_type_script_lang-83f15704.js} +1 -1
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-e45c345b.js → OrTag.vue_vue_type_script_lang-3e30f662.js} +1 -1
- package/dist/bundled/v3/components/index.js +3 -3
- package/dist/bundled/v3/components/or-confirm-v3/index.js +2 -2
- package/dist/bundled/v3/components/or-select-v3/index.js +2 -2
- package/dist/bundled/v3/components/or-tag-v3/index.js +1 -1
- package/dist/bundled/v3/index.js +6 -6
- package/dist/esm/v2/{OrConfirm-047d4086.js → OrConfirm-e2ab9b4c.js} +6 -13
- package/dist/esm/v2/{OrSelect-1d705445.js → OrSelect-f8837f5d.js} +1 -1
- package/dist/esm/v2/{OrTag-52e4cc94.js → OrTag-5c404031.js} +1 -1
- package/dist/esm/v2/components/index.js +3 -3
- package/dist/esm/v2/components/or-confirm-v3/index.js +7 -7
- package/dist/esm/v2/components/or-select-v3/index.js +2 -2
- package/dist/esm/v2/components/or-tag-v3/index.js +1 -1
- package/dist/esm/v2/index.js +3 -3
- package/dist/esm/v3/{OrConfirm-fee3c859.js → OrConfirm-1bcd39b1.js} +6 -13
- package/dist/esm/v3/{OrSelect-dfa4885f.js → OrSelect-8fbd88bc.js} +1 -1
- package/dist/esm/v3/{OrTag-efa7578f.js → OrTag-5d54f37d.js} +1 -1
- package/dist/esm/v3/components/index.js +3 -3
- package/dist/esm/v3/components/or-confirm-v3/index.js +6 -6
- package/dist/esm/v3/components/or-select-v3/index.js +2 -2
- package/dist/esm/v3/components/or-tag-v3/index.js +1 -1
- package/dist/esm/v3/index.js +3 -3
- package/package.json +1 -1
- package/src/components/or-confirm-v3/OrConfirm.vue +10 -11
- package/src/components/or-confirm-v3/styles.ts +3 -13
- package/src/components/or-tag-v3/styles.ts +3 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useMagicKeys, whenever, onClickOutside } from '@vueuse/core';
|
|
2
|
-
import { logicAnd } from '@vueuse/math';
|
|
3
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
4
2
|
import { _ as __vue_component__$2, a as ButtonColor } from './OrButton-835d4f11.js';
|
|
5
|
-
import { _ as __vue_component__$3 } from './OrInput-ada3a970.js';
|
|
6
3
|
import { _ as __vue_component__$1 } from './OrOverlay-18ba2dc6.js';
|
|
4
|
+
import { _ as __vue_component__$3 } from './OrInput-ada3a970.js';
|
|
5
|
+
import { useMagicKeys, whenever } from '@vueuse/core';
|
|
6
|
+
import { logicAnd } from '@vueuse/math';
|
|
7
7
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
8
8
|
|
|
9
9
|
var ConfirmType;
|
|
@@ -13,14 +13,12 @@ var ConfirmType;
|
|
|
13
13
|
})(ConfirmType || (ConfirmType = {}));
|
|
14
14
|
|
|
15
15
|
const ConfirmRoot = [
|
|
16
|
-
// Position
|
|
17
|
-
'fixed md:static', 'left-none', 'right-none', 'bottom-none',
|
|
18
16
|
// Layout
|
|
19
17
|
'layout-column',
|
|
20
18
|
// Box
|
|
21
|
-
'w-
|
|
19
|
+
'w-[320px]',
|
|
22
20
|
// Shape
|
|
23
|
-
'rounded-
|
|
21
|
+
'rounded-md',
|
|
24
22
|
// Spacing
|
|
25
23
|
'px-lg', 'py-lg', 'gap-md',
|
|
26
24
|
// Typography
|
|
@@ -53,10 +51,8 @@ const ConfirmFooterTypes = {
|
|
|
53
51
|
'flex-row-reverse']
|
|
54
52
|
};
|
|
55
53
|
const ConfirmFooterButtons = [
|
|
56
|
-
// Layout
|
|
57
|
-
'grow',
|
|
58
54
|
// Box
|
|
59
|
-
'w-
|
|
55
|
+
'w-[128px]'];
|
|
60
56
|
|
|
61
57
|
var script = defineComponent({
|
|
62
58
|
name: 'OrConfirm',
|
|
@@ -198,9 +194,6 @@ var script = defineComponent({
|
|
|
198
194
|
const inputBoxStyles = computed(() => [...ConfirmInput]);
|
|
199
195
|
const footerStyles = computed(() => [...ConfirmFooter, ...ConfirmFooterTypes[props.confirmType]]);
|
|
200
196
|
const buttonsStyles = computed(() => [...ConfirmFooterButtons]);
|
|
201
|
-
// #region Click Outside
|
|
202
|
-
onClickOutside(root, close);
|
|
203
|
-
// #endregion
|
|
204
197
|
return {
|
|
205
198
|
root,
|
|
206
199
|
confirmationInput,
|
|
@@ -13,7 +13,7 @@ import { _ as __vue_component__$6 } from './OrInput-ada3a970.js';
|
|
|
13
13
|
import { _ as __vue_component__$8 } from './OrLabel-2a9f1477.js';
|
|
14
14
|
import { _ as __vue_component__$9 } from './OrMenuItem-c7f28480.js';
|
|
15
15
|
import { _ as __vue_component__$a } from './OrPopover-9bafbdb4.js';
|
|
16
|
-
import { _ as __vue_component__$b } from './OrTag-
|
|
16
|
+
import { _ as __vue_component__$b } from './OrTag-5c404031.js';
|
|
17
17
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
18
18
|
|
|
19
19
|
const SelectRoot = [
|
|
@@ -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'],
|
|
46
|
+
'theme-preset-2-primary', 'dark:theme-preset-2-primary-dark', 'theme-foreground-default', 'dark:theme-foreground-default-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-d4400b42.js';
|
|
|
19
19
|
export { _ as OrCollapse } from '../OrCollapse-4d892ca3.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-75abefdd.js';
|
|
21
21
|
export { _ as OrConfirm } from '../OrConfirm-d7112dd3.js';
|
|
22
|
-
export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-
|
|
22
|
+
export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-e2ab9b4c.js';
|
|
23
23
|
export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-349df9b2.js';
|
|
24
24
|
export { _ as OrError } from '../OrError-081130bb.js';
|
|
25
25
|
export { _ as OrErrorTagV3 } from '../OrErrorTag-782dd714.js';
|
|
@@ -68,7 +68,7 @@ export { _ as OrRadioV3 } from '../OrRadio-848ce55d.js';
|
|
|
68
68
|
export { _ as OrSearchV3 } from '../OrSearch-0f08f2f5.js';
|
|
69
69
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-e8dce8f9.js';
|
|
70
70
|
export { _ as OrSelect } from '../OrSelect-dae2b069.js';
|
|
71
|
-
export { _ as OrSelectV3 } from '../OrSelect-
|
|
71
|
+
export { _ as OrSelectV3 } from '../OrSelect-f8837f5d.js';
|
|
72
72
|
export { _ as OrSidebar, O as OrSidebarSide } from '../OrSidebar-7d6125bb.js';
|
|
73
73
|
export { O as OrSidebarPlacement, _ as OrSidebarV3 } from '../OrSidebar-fabc7bc9.js';
|
|
74
74
|
export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-cc94bdc9.js';
|
|
@@ -84,7 +84,7 @@ export { _ as OrTabV3 } from '../OrTab-702e7335.js';
|
|
|
84
84
|
export { _ as OrTabs } from '../OrTabs-e1c13d41.js';
|
|
85
85
|
export { _ as OrTabsV3, T as TabsVariant } from '../OrTabs-71bd3fd2.js';
|
|
86
86
|
export { _ as OrTag } from '../OrTag-c1fa6901.js';
|
|
87
|
-
export { _ as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag-
|
|
87
|
+
export { _ as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag-5c404031.js';
|
|
88
88
|
export { _ as OrTeleport } from '../OrTeleportVue2-8ef4ceca.js';
|
|
89
89
|
export { _ as OrTeleportV3 } from '../OrTeleport.vue2-fb92f29f.js';
|
|
90
90
|
export { _ as OrTextV3 } from '../OrText-ba5a2b6c.js';
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-
|
|
2
|
-
import '@vueuse/core';
|
|
3
|
-
import '@vueuse/math';
|
|
1
|
+
export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-e2ab9b4c.js';
|
|
4
2
|
import 'vue-demi';
|
|
5
3
|
import '../../OrButton-835d4f11.js';
|
|
6
4
|
import '../../useClassAttribute-47fdb016.js';
|
|
5
|
+
import '@vueuse/core';
|
|
7
6
|
import '../../OrLoader-f857d55b.js';
|
|
8
7
|
import '../../normalize-component-6e8e3d80.js';
|
|
8
|
+
import '../../OrOverlay-18ba2dc6.js';
|
|
9
|
+
import '../../useElevation-31bfe1f6.js';
|
|
10
|
+
import '../../OrTeleport.vue2-fb92f29f.js';
|
|
11
|
+
import 'portal-vue';
|
|
9
12
|
import '../../OrInput-ada3a970.js';
|
|
10
13
|
import '../../OrError-d267ee9a.js';
|
|
11
14
|
import '../../OrHint-42dc9ebb.js';
|
|
@@ -14,12 +17,9 @@ import '../../OrIcon-5e394c62.js';
|
|
|
14
17
|
import '../../OrTooltip-513bee30.js';
|
|
15
18
|
import '../../OrPopover-9bafbdb4.js';
|
|
16
19
|
import '@floating-ui/dom';
|
|
17
|
-
import '../../useElevation-31bfe1f6.js';
|
|
18
20
|
import '../../useResponsive-a02e95b7.js';
|
|
19
21
|
import '../../OrBottomSheet-16c2e610.js';
|
|
20
|
-
import '../../OrOverlay-18ba2dc6.js';
|
|
21
|
-
import '../../OrTeleport.vue2-fb92f29f.js';
|
|
22
|
-
import 'portal-vue';
|
|
23
22
|
import '../../OrInputBox-4d5a318d.js';
|
|
24
23
|
import '../../OrLabel-2a9f1477.js';
|
|
25
24
|
import '../../browser-82dea9ed.js';
|
|
25
|
+
import '@vueuse/math';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as OrSelectV3 } from '../../OrSelect-
|
|
1
|
+
export { _ as OrSelectV3 } from '../../OrSelect-f8837f5d.js';
|
|
2
2
|
export { a as SelectSize } from '../../OrInputBox-4d5a318d.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-0d314aa4.js';
|
|
@@ -25,4 +25,4 @@ import '../../OrOverlay-18ba2dc6.js';
|
|
|
25
25
|
import '../../OrTeleport.vue2-fb92f29f.js';
|
|
26
26
|
import 'portal-vue';
|
|
27
27
|
import '../../OrMenuItem-c7f28480.js';
|
|
28
|
-
import '../../OrTag-
|
|
28
|
+
import '../../OrTag-5c404031.js';
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -19,7 +19,7 @@ export { _ as OrCode, O as OrCodeLanguages } from './OrCode-d4400b42.js';
|
|
|
19
19
|
export { _ as OrCollapse } from './OrCollapse-4d892ca3.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-75abefdd.js';
|
|
21
21
|
export { _ as OrConfirm } from './OrConfirm-d7112dd3.js';
|
|
22
|
-
export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-
|
|
22
|
+
export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-e2ab9b4c.js';
|
|
23
23
|
export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-349df9b2.js';
|
|
24
24
|
export { _ as OrError } from './OrError-081130bb.js';
|
|
25
25
|
export { _ as OrErrorTagV3 } from './OrErrorTag-782dd714.js';
|
|
@@ -68,7 +68,7 @@ export { _ as OrRadioV3 } from './OrRadio-848ce55d.js';
|
|
|
68
68
|
export { _ as OrSearchV3 } from './OrSearch-0f08f2f5.js';
|
|
69
69
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-e8dce8f9.js';
|
|
70
70
|
export { _ as OrSelect } from './OrSelect-dae2b069.js';
|
|
71
|
-
export { _ as OrSelectV3 } from './OrSelect-
|
|
71
|
+
export { _ as OrSelectV3 } from './OrSelect-f8837f5d.js';
|
|
72
72
|
export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-7d6125bb.js';
|
|
73
73
|
export { O as OrSidebarPlacement, _ as OrSidebarV3 } from './OrSidebar-fabc7bc9.js';
|
|
74
74
|
export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-cc94bdc9.js';
|
|
@@ -84,7 +84,7 @@ export { _ as OrTabV3 } from './OrTab-702e7335.js';
|
|
|
84
84
|
export { _ as OrTabs } from './OrTabs-e1c13d41.js';
|
|
85
85
|
export { _ as OrTabsV3, T as TabsVariant } from './OrTabs-71bd3fd2.js';
|
|
86
86
|
export { _ as OrTag } from './OrTag-c1fa6901.js';
|
|
87
|
-
export { _ as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-
|
|
87
|
+
export { _ as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-5c404031.js';
|
|
88
88
|
export { _ as OrTeleport } from './OrTeleportVue2-8ef4ceca.js';
|
|
89
89
|
export { _ as OrTeleportV3 } from './OrTeleport.vue2-fb92f29f.js';
|
|
90
90
|
export { _ as OrTextV3 } from './OrText-ba5a2b6c.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useMagicKeys, whenever, onClickOutside } from '@vueuse/core';
|
|
2
|
-
import { logicAnd } from '@vueuse/math';
|
|
3
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
4
2
|
import { s as script$2, a as ButtonColor } from './OrButton-0fa67a0d.js';
|
|
5
|
-
import { s as script$3 } from './OrInput-9c0426b9.js';
|
|
6
3
|
import { s as script$1 } from './OrOverlay-738a44d5.js';
|
|
4
|
+
import { s as script$3 } from './OrInput-9c0426b9.js';
|
|
5
|
+
import { useMagicKeys, whenever } from '@vueuse/core';
|
|
6
|
+
import { logicAnd } from '@vueuse/math';
|
|
7
7
|
import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, normalizeClass, renderSlot, createTextVNode, toDisplayString, createElementBlock, createVNode, createCommentVNode } from 'vue';
|
|
8
8
|
|
|
9
9
|
var ConfirmType;
|
|
@@ -13,14 +13,12 @@ var ConfirmType;
|
|
|
13
13
|
})(ConfirmType || (ConfirmType = {}));
|
|
14
14
|
|
|
15
15
|
const ConfirmRoot = [
|
|
16
|
-
// Position
|
|
17
|
-
'fixed md:static', 'left-none', 'right-none', 'bottom-none',
|
|
18
16
|
// Layout
|
|
19
17
|
'layout-column',
|
|
20
18
|
// Box
|
|
21
|
-
'w-
|
|
19
|
+
'w-[320px]',
|
|
22
20
|
// Shape
|
|
23
|
-
'rounded-
|
|
21
|
+
'rounded-md',
|
|
24
22
|
// Spacing
|
|
25
23
|
'px-lg', 'py-lg', 'gap-md',
|
|
26
24
|
// Typography
|
|
@@ -53,10 +51,8 @@ const ConfirmFooterTypes = {
|
|
|
53
51
|
'flex-row-reverse']
|
|
54
52
|
};
|
|
55
53
|
const ConfirmFooterButtons = [
|
|
56
|
-
// Layout
|
|
57
|
-
'grow',
|
|
58
54
|
// Box
|
|
59
|
-
'w-
|
|
55
|
+
'w-[128px]'];
|
|
60
56
|
|
|
61
57
|
var script = defineComponent({
|
|
62
58
|
name: 'OrConfirm',
|
|
@@ -198,9 +194,6 @@ var script = defineComponent({
|
|
|
198
194
|
const inputBoxStyles = computed(() => [...ConfirmInput]);
|
|
199
195
|
const footerStyles = computed(() => [...ConfirmFooter, ...ConfirmFooterTypes[props.confirmType]]);
|
|
200
196
|
const buttonsStyles = computed(() => [...ConfirmFooterButtons]);
|
|
201
|
-
// #region Click Outside
|
|
202
|
-
onClickOutside(root, close);
|
|
203
|
-
// #endregion
|
|
204
197
|
return {
|
|
205
198
|
root,
|
|
206
199
|
confirmationInput,
|
|
@@ -13,7 +13,7 @@ import { s as script$6 } from './OrInput-9c0426b9.js';
|
|
|
13
13
|
import { s as script$8 } from './OrLabel-bdaec602.js';
|
|
14
14
|
import { s as script$9 } from './OrMenuItem-9da279f6.js';
|
|
15
15
|
import { s as script$a } from './OrPopover-1075dd38.js';
|
|
16
|
-
import { s as script$b } from './OrTag-
|
|
16
|
+
import { s as script$b } from './OrTag-5d54f37d.js';
|
|
17
17
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, mergeProps, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, normalizeClass, createElementVNode, Fragment, renderList, createVNode, withModifiers } from 'vue';
|
|
18
18
|
|
|
19
19
|
const SelectRoot = [
|
|
@@ -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'],
|
|
46
|
+
'theme-preset-2-primary', 'dark:theme-preset-2-primary-dark', 'theme-foreground-default', 'dark:theme-foreground-default-dark'],
|
|
47
47
|
'danger': [
|
|
48
48
|
// Theme
|
|
49
49
|
'theme-preset-2-error', 'dark:theme-preset-2-error-dark']
|
|
@@ -16,7 +16,7 @@ export { s as OrCode, O as OrCodeLanguages } from '../OrCode-5ed69c23.js';
|
|
|
16
16
|
export { s as OrCollapse } from '../OrCollapse-445141ab.js';
|
|
17
17
|
export { s 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-189cb097.js';
|
|
18
18
|
export { s as OrConfirm } from '../OrConfirm-f39bd784.js';
|
|
19
|
-
export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-
|
|
19
|
+
export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-1bcd39b1.js';
|
|
20
20
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-f2e08564.js';
|
|
21
21
|
export { s as OrError } from '../OrError-f90296db.js';
|
|
22
22
|
export { s as OrErrorTagV3 } from '../OrErrorTag-98252eef.js';
|
|
@@ -63,7 +63,7 @@ export { s as OrRadioV3 } from '../OrRadio-54b6d0de.js';
|
|
|
63
63
|
export { s as OrSearchV3 } from '../OrSearch-9885d178.js';
|
|
64
64
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-171cad78.js';
|
|
65
65
|
export { s as OrSelect } from '../OrSelect-0821b907.js';
|
|
66
|
-
export { s as OrSelectV3 } from '../OrSelect-
|
|
66
|
+
export { s as OrSelectV3 } from '../OrSelect-8fbd88bc.js';
|
|
67
67
|
export { s as OrSidebar, O as OrSidebarSide } from '../OrSidebar-375c85a3.js';
|
|
68
68
|
export { O as OrSidebarPlacement, s as OrSidebarV3 } from '../OrSidebar-a62972f5.js';
|
|
69
69
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-2b1610ce.js';
|
|
@@ -79,7 +79,7 @@ export { s as OrTabV3 } from '../OrTab-c131cf60.js';
|
|
|
79
79
|
export { s as OrTabs } from '../OrTabs-d3812c11.js';
|
|
80
80
|
export { s as OrTabsV3, T as TabsVariant } from '../OrTabs-d0ee6cef.js';
|
|
81
81
|
export { s as OrTag } from '../OrTag-1b5e43fa.js';
|
|
82
|
-
export { s as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag-
|
|
82
|
+
export { s as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag-5d54f37d.js';
|
|
83
83
|
export { s as OrTeleport } from '../OrTeleportVue3-ad639f12.js';
|
|
84
84
|
export { s as OrTeleportV3 } from '../OrTeleport.vue3-8099178c.js';
|
|
85
85
|
export { s as OrTextV3 } from '../OrText-ecb46923.js';
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-
|
|
2
|
-
import '@vueuse/core';
|
|
3
|
-
import '@vueuse/math';
|
|
1
|
+
export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-1bcd39b1.js';
|
|
4
2
|
import 'vue-demi';
|
|
5
3
|
import '../../OrButton-0fa67a0d.js';
|
|
6
4
|
import '../../useClassAttribute-47fdb016.js';
|
|
5
|
+
import '@vueuse/core';
|
|
7
6
|
import '../../OrLoader-b3cf4231.js';
|
|
8
7
|
import 'vue';
|
|
8
|
+
import '../../OrOverlay-738a44d5.js';
|
|
9
|
+
import '../../useElevation-31bfe1f6.js';
|
|
10
|
+
import '../../OrTeleport.vue3-8099178c.js';
|
|
9
11
|
import '../../OrInput-9c0426b9.js';
|
|
10
12
|
import '../../OrError-ec8c709d.js';
|
|
11
13
|
import '../../OrHint-74bb732d.js';
|
|
@@ -14,11 +16,9 @@ import '../../OrIcon-b195169c.js';
|
|
|
14
16
|
import '../../OrTooltip-50d27b4f.js';
|
|
15
17
|
import '../../OrPopover-1075dd38.js';
|
|
16
18
|
import '@floating-ui/dom';
|
|
17
|
-
import '../../useElevation-31bfe1f6.js';
|
|
18
19
|
import '../../useResponsive-a02e95b7.js';
|
|
19
20
|
import '../../OrBottomSheet-62817aec.js';
|
|
20
|
-
import '../../OrOverlay-738a44d5.js';
|
|
21
|
-
import '../../OrTeleport.vue3-8099178c.js';
|
|
22
21
|
import '../../OrInputBox-6d1b6059.js';
|
|
23
22
|
import '../../OrLabel-bdaec602.js';
|
|
24
23
|
import '../../style-inject.es-4c6f2515.js';
|
|
24
|
+
import '@vueuse/math';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { s as OrSelectV3 } from '../../OrSelect-
|
|
1
|
+
export { s as OrSelectV3 } from '../../OrSelect-8fbd88bc.js';
|
|
2
2
|
export { a as SelectSize } from '../../OrInputBox-6d1b6059.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-0d314aa4.js';
|
|
@@ -24,4 +24,4 @@ import '../../OrBottomSheet-62817aec.js';
|
|
|
24
24
|
import '../../OrOverlay-738a44d5.js';
|
|
25
25
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
26
26
|
import '../../OrMenuItem-9da279f6.js';
|
|
27
|
-
import '../../OrTag-
|
|
27
|
+
import '../../OrTag-5d54f37d.js';
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -16,7 +16,7 @@ export { s as OrCode, O as OrCodeLanguages } from './OrCode-5ed69c23.js';
|
|
|
16
16
|
export { s as OrCollapse } from './OrCollapse-445141ab.js';
|
|
17
17
|
export { s 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-189cb097.js';
|
|
18
18
|
export { s as OrConfirm } from './OrConfirm-f39bd784.js';
|
|
19
|
-
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-
|
|
19
|
+
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-1bcd39b1.js';
|
|
20
20
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-f2e08564.js';
|
|
21
21
|
export { s as OrError } from './OrError-f90296db.js';
|
|
22
22
|
export { s as OrErrorTagV3 } from './OrErrorTag-98252eef.js';
|
|
@@ -63,7 +63,7 @@ export { s as OrRadioV3 } from './OrRadio-54b6d0de.js';
|
|
|
63
63
|
export { s as OrSearchV3 } from './OrSearch-9885d178.js';
|
|
64
64
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-171cad78.js';
|
|
65
65
|
export { s as OrSelect } from './OrSelect-0821b907.js';
|
|
66
|
-
export { s as OrSelectV3 } from './OrSelect-
|
|
66
|
+
export { s as OrSelectV3 } from './OrSelect-8fbd88bc.js';
|
|
67
67
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-375c85a3.js';
|
|
68
68
|
export { O as OrSidebarPlacement, s as OrSidebarV3 } from './OrSidebar-a62972f5.js';
|
|
69
69
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-2b1610ce.js';
|
|
@@ -79,7 +79,7 @@ export { s as OrTabV3 } from './OrTab-c131cf60.js';
|
|
|
79
79
|
export { s as OrTabs } from './OrTabs-d3812c11.js';
|
|
80
80
|
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-d0ee6cef.js';
|
|
81
81
|
export { s as OrTag } from './OrTag-1b5e43fa.js';
|
|
82
|
-
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-
|
|
82
|
+
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-5d54f37d.js';
|
|
83
83
|
export { s as OrTeleport } from './OrTeleportVue3-ad639f12.js';
|
|
84
84
|
export { s as OrTeleportV3 } from './OrTeleport.vue3-8099178c.js';
|
|
85
85
|
export { s as OrTextV3 } from './OrText-ecb46923.js';
|
package/package.json
CHANGED
|
@@ -65,17 +65,20 @@
|
|
|
65
65
|
</template>
|
|
66
66
|
|
|
67
67
|
<script lang="ts">
|
|
68
|
-
import { onClickOutside, useMagicKeys, whenever } from '@vueuse/core';
|
|
69
|
-
import { logicAnd } from '@vueuse/math';
|
|
70
68
|
import { computed, defineComponent, PropType, ref, watch } from 'vue-demi';
|
|
71
|
-
import {
|
|
72
|
-
import { OrInputV3 as OrInput } from '../or-input-v3';
|
|
69
|
+
import { OrButtonV3 as OrButton, ButtonColor } from '../or-button-v3';
|
|
73
70
|
import { OrOverlayV3 as OrOverlay } from '../or-overlay-v3';
|
|
71
|
+
import { OrInputV3 as OrInput } from '../or-input-v3';
|
|
72
|
+
import { useMagicKeys, whenever } from '@vueuse/core';
|
|
73
|
+
import { logicAnd } from '@vueuse/math';
|
|
74
74
|
import { ConfirmType } from './props';
|
|
75
75
|
import {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
76
|
+
ConfirmFooterTypes,
|
|
77
|
+
ConfirmFooter,
|
|
78
|
+
ConfirmHeader,
|
|
79
|
+
ConfirmInput,
|
|
80
|
+
ConfirmRoot,
|
|
81
|
+
ConfirmFooterButtons,
|
|
79
82
|
} from './styles';
|
|
80
83
|
|
|
81
84
|
export default defineComponent({
|
|
@@ -258,10 +261,6 @@ export default defineComponent({
|
|
|
258
261
|
...ConfirmFooterButtons,
|
|
259
262
|
]);
|
|
260
263
|
|
|
261
|
-
// #region Click Outside
|
|
262
|
-
onClickOutside(root, close);
|
|
263
|
-
// #endregion
|
|
264
|
-
|
|
265
264
|
return {
|
|
266
265
|
root,
|
|
267
266
|
confirmationInput,
|
|
@@ -1,21 +1,14 @@
|
|
|
1
1
|
import { ConfirmType } from './props';
|
|
2
2
|
|
|
3
3
|
export const ConfirmRoot: string[] = [
|
|
4
|
-
// Position
|
|
5
|
-
'fixed md:static',
|
|
6
|
-
|
|
7
|
-
'left-none',
|
|
8
|
-
'right-none',
|
|
9
|
-
'bottom-none',
|
|
10
|
-
|
|
11
4
|
// Layout
|
|
12
5
|
'layout-column',
|
|
13
6
|
|
|
14
7
|
// Box
|
|
15
|
-
'w-
|
|
8
|
+
'w-[320px]',
|
|
16
9
|
|
|
17
10
|
// Shape
|
|
18
|
-
'rounded-
|
|
11
|
+
'rounded-md',
|
|
19
12
|
|
|
20
13
|
// Spacing
|
|
21
14
|
'px-lg',
|
|
@@ -78,9 +71,6 @@ export const ConfirmFooterTypes: Record<ConfirmType, string[]> = {
|
|
|
78
71
|
};
|
|
79
72
|
|
|
80
73
|
export const ConfirmFooterButtons: string[] = [
|
|
81
|
-
// Layout
|
|
82
|
-
'grow',
|
|
83
|
-
|
|
84
74
|
// Box
|
|
85
|
-
'w-
|
|
75
|
+
'w-[128px]',
|
|
86
76
|
];
|