@profitliga/ui 2.0.6 → 2.0.8

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.
@@ -1 +1 @@
1
- .alert-dialog-trigger[data-v-6c5794b1]{display:contents}.alert-dialog-layer[data-v-6c5794b1]{position:relative}.alert-dialog-icon[data-v-6c5794b1]{--icon-bg:var(--color-primary-600);--icon-shadow:#008925b2;box-sizing:border-box;width:44px;height:44px;color:var(--color-neutral-0);background-color:var(--icon-bg);box-shadow:-1px 1px 10px 0px var(--icon-shadow);filter:opacity(.7);border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;padding:8px;display:flex}.alert-dialog-icon--success[data-v-6c5794b1]{--icon-bg:var(--color-primary-600);--icon-shadow:#008925b2}.alert-dialog-icon--warning[data-v-6c5794b1]{--icon-bg:var(--color-warn-600);--icon-shadow:#d47d16b2}.alert-dialog-icon--error[data-v-6c5794b1]{--icon-bg:var(--color-error-600);--icon-shadow:#bd2429b2}.alert-dialog-content[data-v-6c5794b1]{box-sizing:content-box;scrollbar-width:thin;scrollbar-color:var(--theme-neutral-icon-primary) var(--theme-neutral-surface-icon);width:90vw;max-height:85vh;overflow-y:auto}.alert-dialog-content[data-v-6c5794b1]::-webkit-scrollbar{width:8px;height:0}.alert-dialog-content[data-v-6c5794b1]::-webkit-scrollbar-thumb{background-color:var(--theme-neutral-icon-primary);background-clip:padding-box;border:1px solid #0000;border-radius:999px}.alert-dialog-content[data-v-6c5794b1]::-webkit-scrollbar-track{background:var(--theme-neutral-surface-icon);border-radius:4px}.alert-dialog-content[data-v-6c5794b1]::-webkit-scrollbar-corner{background:0 0}.alert-dialog-content[data-v-6c5794b1]{box-sizing:border-box;z-index:1001;background-color:#fff;border-radius:12px;flex-direction:column;justify-content:flex-start;align-items:flex-start;padding:24px;display:flex;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.alert-dialog-content[data-state=open][data-v-6c5794b1]{animation:fadeIn var(--animation-duration) ease-in-out}.alert-dialog-content[data-state=closed][data-v-6c5794b1]{animation:fadeOut var(--animation-duration) ease-in-out}.alert-dialog-content__header[data-v-6c5794b1]{justify-content:flex-start;align-items:center;gap:12px;width:100%;margin-bottom:20px;display:flex}.alert-dialog-content__header--divided[data-v-6c5794b1]{border-bottom:1px solid var(--color-secondary-250);margin-bottom:12px;padding-bottom:12px}.alert-dialog-content__title[data-v-6c5794b1]{width:100%;color:var(--theme-neutral-text-title);margin:0;font-size:1.25rem;font-weight:500;line-height:120%}.alert-dialog-content__title--with-icon[data-v-6c5794b1]{font-weight:700}.alert-dialog-content__description[data-v-6c5794b1]{width:100%;color:var(--theme-neutral-text-body);margin:0 0 12px;font-size:1rem;font-weight:400;line-height:160%}.alert-dialog-content__actions[data-v-6c5794b1]{justify-content:flex-end;align-items:center;gap:12px;width:100%;margin-top:20px;display:flex}.alert-dialog-mobile[data-v-6c5794b1]{box-sizing:border-box;flex-direction:column;gap:16px;width:100%;padding:16px;display:flex}.alert-dialog-mobile__header[data-v-6c5794b1]{justify-content:flex-start;align-items:center;gap:12px;display:flex}.alert-dialog-mobile__header--divided[data-v-6c5794b1]{border-bottom:1px solid var(--color-secondary-250);padding-bottom:12px}.alert-dialog-mobile__title[data-v-6c5794b1]{color:var(--theme-neutral-text-title);margin:0;font-size:1.125rem;font-weight:500;line-height:1.5}.alert-dialog-mobile__title--with-icon[data-v-6c5794b1]{font-weight:700}.alert-dialog-mobile__description[data-v-6c5794b1]{color:var(--theme-neutral-text-body);font-size:1rem;font-weight:400;line-height:160%}.alert-dialog-mobile__actions[data-v-6c5794b1]{flex-direction:column-reverse;gap:8px;width:100%;display:flex}.alert-dialog-mobile__actions[data-v-6c5794b1] button{width:100%}
1
+ .alert-dialog-trigger[data-v-59984f26]{display:contents}.alert-dialog-layer[data-v-59984f26]{position:relative}.alert-dialog-icon[data-v-59984f26]{--icon-bg:var(--color-primary-600);--icon-shadow:#008925b2;box-sizing:border-box;width:44px;height:44px;color:var(--color-neutral-0);background-color:var(--icon-bg);box-shadow:-1px 1px 10px 0px var(--icon-shadow);filter:opacity(.7);border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;padding:8px;display:flex}.alert-dialog-icon--success[data-v-59984f26]{--icon-bg:var(--color-primary-600);--icon-shadow:#008925b2}.alert-dialog-icon--warning[data-v-59984f26]{--icon-bg:var(--color-warn-600);--icon-shadow:#d47d16b2}.alert-dialog-icon--error[data-v-59984f26]{--icon-bg:var(--color-error-600);--icon-shadow:#bd2429b2}.alert-dialog-content[data-v-59984f26]{box-sizing:content-box;scrollbar-width:thin;scrollbar-color:var(--theme-neutral-icon-primary) var(--theme-neutral-surface-icon);width:90vw;max-height:85vh;overflow-y:auto}.alert-dialog-content[data-v-59984f26]::-webkit-scrollbar{width:8px;height:0}.alert-dialog-content[data-v-59984f26]::-webkit-scrollbar-thumb{background-color:var(--theme-neutral-icon-primary);background-clip:padding-box;border:1px solid #0000;border-radius:999px}.alert-dialog-content[data-v-59984f26]::-webkit-scrollbar-track{background:var(--theme-neutral-surface-icon);border-radius:4px}.alert-dialog-content[data-v-59984f26]::-webkit-scrollbar-corner{background:0 0}.alert-dialog-content[data-v-59984f26]{box-sizing:border-box;z-index:1001;background-color:#fff;border-radius:12px;flex-direction:column;justify-content:flex-start;align-items:flex-start;padding:24px;display:flex;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.alert-dialog-content[data-state=open][data-v-59984f26]{animation:fadeIn var(--animation-duration) ease-in-out}.alert-dialog-content[data-state=closed][data-v-59984f26]{animation:fadeOut var(--animation-duration) ease-in-out}.alert-dialog-content__header[data-v-59984f26]{justify-content:flex-start;align-items:center;gap:12px;width:100%;margin-bottom:20px;display:flex}.alert-dialog-content__header--divided[data-v-59984f26]{border-bottom:1px solid var(--color-secondary-250);margin-bottom:12px;padding-bottom:12px}.alert-dialog-content__title[data-v-59984f26]{width:100%;color:var(--theme-neutral-text-title);margin:0;font-size:1.25rem;font-weight:500;line-height:120%}.alert-dialog-content__title--with-icon[data-v-59984f26]{font-weight:700}.alert-dialog-content__description[data-v-59984f26]{width:100%;color:var(--theme-neutral-text-body);margin:0 0 12px;font-size:1rem;font-weight:400;line-height:160%}.alert-dialog-content__actions[data-v-59984f26]{justify-content:flex-end;align-items:center;gap:12px;width:100%;margin-top:20px;display:flex}.alert-dialog-mobile[data-v-59984f26]{box-sizing:border-box;flex-direction:column;gap:16px;width:100%;padding:16px;display:flex}.alert-dialog-mobile__header[data-v-59984f26]{justify-content:flex-start;align-items:center;gap:12px;display:flex}.alert-dialog-mobile__header--divided[data-v-59984f26]{border-bottom:1px solid var(--color-secondary-250);padding-bottom:12px}.alert-dialog-mobile__title[data-v-59984f26]{color:var(--theme-neutral-text-title);margin:0;font-size:1.125rem;font-weight:500;line-height:1.5}.alert-dialog-mobile__title--with-icon[data-v-59984f26]{font-weight:700}.alert-dialog-mobile__description[data-v-59984f26]{color:var(--theme-neutral-text-body);font-size:1rem;font-weight:400;line-height:160%}.alert-dialog-mobile__actions[data-v-59984f26]{flex-direction:column-reverse;gap:8px;width:100%;display:flex}.alert-dialog-mobile__actions[data-v-59984f26] button{width:100%}
@@ -26,6 +26,7 @@ declare function __VLS_template(): {
26
26
  };
27
27
  refs: {
28
28
  triggerRef: HTMLSpanElement;
29
+ layerRef: HTMLDivElement;
29
30
  contentRef: HTMLDivElement;
30
31
  };
31
32
  rootEl: any;
@@ -45,6 +46,7 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}
45
46
  testId: string;
46
47
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
47
48
  triggerRef: HTMLSpanElement;
49
+ layerRef: HTMLDivElement;
48
50
  contentRef: HTMLDivElement;
49
51
  }, any>;
50
52
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -2,7 +2,7 @@ import './AlertDialog.css';
2
2
  import o from "./AlertDialog.vue2.js";
3
3
  /* empty css */
4
4
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
5
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-6c5794b1"]]);
5
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-59984f26"]]);
6
6
  export {
7
- p as default
7
+ m as default
8
8
  };
@@ -1,16 +1,16 @@
1
- import { defineComponent as W, useModel as Z, useId as j, computed as m, useTemplateRef as R, watch as G, onBeforeUnmount as H, openBlock as o, createElementBlock as n, Fragment as J, mergeProps as i, unref as t, renderSlot as s, createCommentVNode as d, createBlock as y, withCtx as A, createElementVNode as c, normalizeClass as T, resolveDynamicComponent as z, normalizeStyle as Q, mergeModels as O } from "vue";
2
- import { CircleCheck as X, CircleAlert as Y } from "@lucide/vue";
3
- import { useBodyScroll as x } from "../../../utils/useBodyScroll.util.js";
4
- import { useFocusTrap as ee } from "../../../utils/useFocusTrap.util.js";
5
- import te from "../BottomSheet/BottomSheet.vue.js";
6
- import { ANIMATION_DURATION_MS as _ } from "../shared/animation.const.js";
7
- import oe from "../shared/Portal.vue.js";
8
- import { useDelayedVisibility as ae } from "../shared/useDelayedVisibility.util.js";
9
- import { useIsMobile as ie } from "../shared/useIsMobile.util.js";
10
- import { useLayerZIndex as le } from "../shared/useLayerZIndex.util.js";
1
+ import { defineComponent as Z, useModel as j, useId as G, computed as m, useTemplateRef as I, watch as H, onBeforeUnmount as J, openBlock as o, createElementBlock as n, Fragment as Q, mergeProps as i, unref as t, renderSlot as r, createCommentVNode as d, createBlock as y, withCtx as T, createElementVNode as c, normalizeClass as _, resolveDynamicComponent as z, normalizeStyle as X, mergeModels as O } from "vue";
2
+ import { CircleCheck as Y, CircleAlert as x } from "@lucide/vue";
3
+ import { useBodyScroll as ee } from "../../../utils/useBodyScroll.util.js";
4
+ import { useFocusTrap as te } from "../../../utils/useFocusTrap.util.js";
5
+ import oe from "../BottomSheet/BottomSheet.vue.js";
6
+ import { ANIMATION_DURATION_MS as N } from "../shared/animation.const.js";
7
+ import ae from "../shared/Portal.vue.js";
8
+ import { useDelayedVisibility as ie } from "../shared/useDelayedVisibility.util.js";
9
+ import { useIsMobile as le } from "../shared/useIsMobile.util.js";
10
+ import { useLayerZIndex as re } from "../shared/useLayerZIndex.util.js";
11
11
  import { useTestId as se } from "../shared/useTestId.util.js";
12
- import { useTriggerAria as re } from "../shared/useTriggerAria.util.js";
13
- const ne = { class: "alert-dialog-mobile" }, de = ["data-state"], ce = ["aria-describedby", "data-state"], we = /* @__PURE__ */ W({
12
+ import { useTriggerAria as ne } from "../shared/useTriggerAria.util.js";
13
+ const de = { class: "alert-dialog-mobile" }, ce = ["data-state"], ue = ["aria-describedby", "data-state"], Ce = /* @__PURE__ */ Z({
14
14
  inheritAttrs: !1,
15
15
  __name: "AlertDialog",
16
16
  props: /* @__PURE__ */ O({
@@ -24,163 +24,165 @@ const ne = { class: "alert-dialog-mobile" }, de = ["data-state"], ce = ["aria-de
24
24
  openModifiers: {}
25
25
  }),
26
26
  emits: /* @__PURE__ */ O(["escapeKeyDown"], ["update:open"]),
27
- setup(l, { emit: N }) {
28
- const u = l, w = ie(u.breakpointMobile), C = N, r = Z(l, "open"), b = j(), p = `alert-dialog-title-${b}`, S = `alert-dialog-description-${b}`, k = `alert-dialog-content-${b}`, K = m(() => `${u.width}px`), a = se(() => u.testId), L = m(() => ({
27
+ setup(l, { emit: K }) {
28
+ const u = l, w = le(u.breakpointMobile), C = K, s = j(l, "open"), k = G(), f = `alert-dialog-title-${k}`, R = `alert-dialog-description-${k}`, b = `alert-dialog-content-${k}`, L = m(() => `${u.width}px`), a = se(() => u.testId), P = m(() => ({
29
29
  "aria-haspopup": "dialog",
30
- "aria-expanded": r.value,
31
- "aria-controls": r.value ? k : void 0
32
- })), B = m(
33
- () => u.variant === "success" ? X : Y
34
- ), D = m(() => u.divider ?? !!u.variant), E = R("triggerRef"), $ = R("contentRef");
35
- re({
36
- host: () => E.value,
37
- isOpen: () => r.value,
38
- contentId: () => k,
30
+ "aria-expanded": s.value,
31
+ "aria-controls": s.value ? b : void 0
32
+ })), S = m(
33
+ () => u.variant === "success" ? Y : x
34
+ ), B = m(() => u.divider ?? !!u.variant), D = I("triggerRef"), E = I("contentRef"), M = I("layerRef");
35
+ ne({
36
+ host: () => D.value,
37
+ isOpen: () => s.value,
38
+ contentId: () => b,
39
39
  hasPopup: () => "dialog"
40
40
  });
41
- const { lockScroll: P, unlockScroll: U } = x(), h = ee(() => $.value), f = le();
42
- G($, (e) => f.registerElement(e));
43
- function V() {
44
- r.value = !1;
41
+ const { lockScroll: U, unlockScroll: V } = ee(), $ = te(() => E.value), p = re();
42
+ H(M, (e) => p.registerElement(e));
43
+ function F() {
44
+ s.value = !1;
45
45
  }
46
- function I(e) {
47
- e.key === "Escape" && (C("escapeKeyDown", e), e.defaultPrevented || V());
46
+ function h(e) {
47
+ e.key === "Escape" && (C("escapeKeyDown", e), e.defaultPrevented || F());
48
48
  }
49
- const F = m(() => r.value && !w.value), { visible: q, dataState: M } = ae(
50
- F,
51
- _,
49
+ const q = m(() => s.value && !w.value), { visible: W, dataState: A } = ie(
50
+ q,
51
+ N,
52
52
  {
53
53
  onOpen: () => {
54
- f.acquire(), P(), h.activate({ focusDelayMs: _ }), document.addEventListener("keydown", I);
54
+ p.acquire(), U(), $.activate({ focusDelayMs: N }), document.addEventListener("keydown", h);
55
55
  },
56
56
  onCloseStart: () => {
57
- h.deactivate(), document.removeEventListener("keydown", I);
57
+ $.deactivate(), document.removeEventListener("keydown", h);
58
58
  },
59
59
  onCloseEnd: () => {
60
- U(), f.release();
60
+ V(), p.release();
61
61
  }
62
62
  }
63
63
  );
64
- return H(() => {
65
- document.removeEventListener("keydown", I), h.deactivate();
66
- }), (e, v) => (o(), n(J, null, [
64
+ return J(() => {
65
+ document.removeEventListener("keydown", h), $.deactivate();
66
+ }), (e, v) => (o(), n(Q, null, [
67
67
  e.$slots.trigger ? (o(), n("span", i({
68
68
  key: 0,
69
69
  ref_key: "triggerRef",
70
- ref: E,
70
+ ref: D,
71
71
  class: "alert-dialog-trigger"
72
72
  }, t(a)("trigger"), {
73
- onClick: v[0] || (v[0] = (g) => r.value = !0)
73
+ onClick: v[0] || (v[0] = (g) => s.value = !0)
74
74
  }), [
75
- s(e.$slots, "trigger", { props: L.value }, void 0, !0)
75
+ r(e.$slots, "trigger", { props: P.value }, void 0, !0)
76
76
  ], 16)) : d("", !0),
77
- t(w) ? (o(), y(t(te), {
77
+ t(w) ? (o(), y(t(oe), {
78
78
  key: 1,
79
- open: r.value,
80
- "onUpdate:open": v[1] || (v[1] = (g) => r.value = g),
79
+ open: s.value,
80
+ "onUpdate:open": v[1] || (v[1] = (g) => s.value = g),
81
81
  "disable-outside-pointer-events": "",
82
82
  "disable-swipe-to-close": "",
83
- "labelled-by": p,
83
+ "labelled-by": f,
84
84
  "test-id": l.testId,
85
85
  onEscapeKeyDown: v[2] || (v[2] = (g) => C("escapeKeyDown", g))
86
86
  }, {
87
- default: A(() => [
88
- c("div", ne, [
87
+ default: T(() => [
88
+ c("div", de, [
89
89
  c("div", {
90
- class: T(["alert-dialog-mobile__header", {
91
- "alert-dialog-mobile__header--divided": D.value
90
+ class: _(["alert-dialog-mobile__header", {
91
+ "alert-dialog-mobile__header--divided": B.value
92
92
  }])
93
93
  }, [
94
94
  l.variant ? (o(), n("span", i({
95
95
  key: 0,
96
96
  class: ["alert-dialog-icon", `alert-dialog-icon--${l.variant}`]
97
97
  }, t(a)("icon")), [
98
- s(e.$slots, "icon", {}, () => [
99
- (o(), y(z(B.value), { size: 28 }))
98
+ r(e.$slots, "icon", {}, () => [
99
+ (o(), y(z(S.value), { size: 28 }))
100
100
  ], !0)
101
101
  ], 16)) : d("", !0),
102
102
  c("h2", i({
103
- id: p,
103
+ id: f,
104
104
  class: ["alert-dialog-mobile__title", {
105
105
  "alert-dialog-mobile__title--with-icon": l.variant
106
106
  }]
107
107
  }, t(a)("title")), [
108
- s(e.$slots, "title", {}, void 0, !0)
108
+ r(e.$slots, "title", {}, void 0, !0)
109
109
  ], 16)
110
110
  ], 2),
111
111
  e.$slots.default ? (o(), n("div", i({
112
112
  key: 0,
113
113
  class: "alert-dialog-mobile__description"
114
114
  }, t(a)("description")), [
115
- s(e.$slots, "default", {}, void 0, !0)
115
+ r(e.$slots, "default", {}, void 0, !0)
116
116
  ], 16)) : d("", !0),
117
117
  e.$slots.actions ? (o(), n("div", i({
118
118
  key: 1,
119
119
  class: "alert-dialog-mobile__actions"
120
120
  }, t(a)("actions")), [
121
- s(e.$slots, "actions", {}, void 0, !0)
121
+ r(e.$slots, "actions", {}, void 0, !0)
122
122
  ], 16)) : d("", !0)
123
123
  ])
124
124
  ]),
125
125
  _: 3
126
- }, 8, ["open", "test-id"])) : t(q) ? (o(), y(oe, { key: 2 }, {
127
- default: A(() => [
126
+ }, 8, ["open", "test-id"])) : t(W) ? (o(), y(ae, { key: 2 }, {
127
+ default: T(() => [
128
128
  c("div", {
129
+ ref_key: "layerRef",
130
+ ref: M,
129
131
  class: "alert-dialog-layer",
130
- style: Q({ zIndex: t(f).zIndex.value })
132
+ style: X({ zIndex: t(p).zIndex.value })
131
133
  }, [
132
134
  c("div", i({
133
135
  class: "overlay alert-dialog-overlay",
134
- "data-state": t(M)
135
- }, t(a)("overlay")), null, 16, de),
136
+ "data-state": t(A)
137
+ }, t(a)("overlay")), null, 16, ce),
136
138
  c("div", i({
137
- id: k,
139
+ id: b,
138
140
  ref_key: "contentRef",
139
- ref: $,
141
+ ref: E,
140
142
  role: "alertdialog",
141
143
  "aria-modal": "true",
142
- "aria-labelledby": p,
143
- "aria-describedby": e.$slots.default ? S : void 0,
144
- "data-state": t(M),
144
+ "aria-labelledby": f,
145
+ "aria-describedby": e.$slots.default ? R : void 0,
146
+ "data-state": t(A),
145
147
  class: "alert-dialog-content",
146
- style: { maxWidth: K.value }
148
+ style: { maxWidth: L.value }
147
149
  }, { ...e.$attrs, ...t(a)("content") }), [
148
150
  c("div", {
149
- class: T(["alert-dialog-content__header", {
150
- "alert-dialog-content__header--divided": D.value
151
+ class: _(["alert-dialog-content__header", {
152
+ "alert-dialog-content__header--divided": B.value
151
153
  }])
152
154
  }, [
153
155
  l.variant ? (o(), n("span", i({
154
156
  key: 0,
155
157
  class: ["alert-dialog-icon", `alert-dialog-icon--${l.variant}`]
156
158
  }, t(a)("icon")), [
157
- s(e.$slots, "icon", {}, () => [
158
- (o(), y(z(B.value), { size: 28 }))
159
+ r(e.$slots, "icon", {}, () => [
160
+ (o(), y(z(S.value), { size: 28 }))
159
161
  ], !0)
160
162
  ], 16)) : d("", !0),
161
163
  c("h2", i({
162
- id: p,
164
+ id: f,
163
165
  class: ["alert-dialog-content__title", {
164
166
  "alert-dialog-content__title--with-icon": l.variant
165
167
  }]
166
168
  }, t(a)("title")), [
167
- s(e.$slots, "title", {}, void 0, !0)
169
+ r(e.$slots, "title", {}, void 0, !0)
168
170
  ], 16)
169
171
  ], 2),
170
172
  e.$slots.default ? (o(), n("div", i({
171
173
  key: 0,
172
- id: S,
174
+ id: R,
173
175
  class: "alert-dialog-content__description"
174
176
  }, t(a)("description")), [
175
- s(e.$slots, "default", {}, void 0, !0)
177
+ r(e.$slots, "default", {}, void 0, !0)
176
178
  ], 16)) : d("", !0),
177
179
  e.$slots.actions ? (o(), n("div", i({
178
180
  key: 1,
179
181
  class: "alert-dialog-content__actions"
180
182
  }, t(a)("actions")), [
181
- s(e.$slots, "actions", {}, void 0, !0)
183
+ r(e.$slots, "actions", {}, void 0, !0)
182
184
  ], 16)) : d("", !0)
183
- ], 16, ce)
185
+ ], 16, ue)
184
186
  ], 4)
185
187
  ]),
186
188
  _: 3
@@ -189,5 +191,5 @@ const ne = { class: "alert-dialog-mobile" }, de = ["data-state"], ce = ["aria-de
189
191
  }
190
192
  });
191
193
  export {
192
- we as default
194
+ Ce as default
193
195
  };
@@ -1 +1 @@
1
- .sheet-trigger[data-v-0004fa4b]{display:contents}.sheet-layer[data-v-0004fa4b]{position:relative}.sheet-content[data-v-0004fa4b]{background-color:var(--theme-neutral-0);z-index:1002;border-radius:12px 12px 0 0;flex-direction:column;width:100%;max-height:calc(100vh - 40px);display:flex;position:fixed;bottom:0;left:0;right:0;overflow:visible;box-shadow:0 2px 5px #3a3a3a40}.sheet-content[data-state=open][data-v-0004fa4b]{animation:slideBottomIn var(--animation-duration) ease-in-out}.sheet-content[data-state=closed][data-v-0004fa4b]{animation:slideBottomOut var(--animation-duration) ease-in-out}.sheet-content__handle[data-v-0004fa4b]{cursor:grab;touch-action:none;flex-shrink:0;justify-content:center;align-items:flex-end;width:100%;height:24px;padding-bottom:12px;display:flex}.sheet-content__handle[data-v-0004fa4b]:active{cursor:grabbing}.sheet-content__handle-dot[data-v-0004fa4b]{background-color:var(--theme-neutral-icon-primary);border-radius:2px;width:48px;height:4px}.sheet-content__body[data-v-0004fa4b]{box-sizing:content-box;scrollbar-width:thin;scrollbar-color:var(--theme-neutral-icon-primary) var(--theme-neutral-surface-icon);flex:auto;width:100%;min-height:0;overflow-y:auto}.sheet-content__body[data-v-0004fa4b]::-webkit-scrollbar{width:8px;height:0}.sheet-content__body[data-v-0004fa4b]::-webkit-scrollbar-thumb{background-color:var(--theme-neutral-icon-primary);background-clip:padding-box;border:1px solid #0000;border-radius:999px}.sheet-content__body[data-v-0004fa4b]::-webkit-scrollbar-track{background:var(--theme-neutral-surface-icon);border-radius:4px}.sheet-content__body[data-v-0004fa4b]::-webkit-scrollbar-corner{background:0 0}.sheet-overlay--drag-closing[data-v-0004fa4b]{visibility:hidden}
1
+ .sheet-trigger[data-v-8862ce15]{display:contents}.sheet-layer[data-v-8862ce15]{position:relative}.sheet-content[data-v-8862ce15]{background-color:var(--theme-neutral-0);z-index:1002;border-radius:12px 12px 0 0;flex-direction:column;width:100%;max-height:calc(100vh - 40px);display:flex;position:fixed;bottom:0;left:0;right:0;overflow:visible;box-shadow:0 2px 5px #3a3a3a40}.sheet-content[data-state=open][data-v-8862ce15]{animation:slideBottomIn var(--animation-duration) ease-in-out}.sheet-content[data-state=closed][data-v-8862ce15]{animation:slideBottomOut var(--animation-duration) ease-in-out}.sheet-content__handle[data-v-8862ce15]{cursor:grab;touch-action:none;flex-shrink:0;justify-content:center;align-items:flex-end;width:100%;height:24px;padding-bottom:12px;display:flex}.sheet-content__handle[data-v-8862ce15]:active{cursor:grabbing}.sheet-content__handle-dot[data-v-8862ce15]{background-color:var(--theme-neutral-icon-primary);border-radius:2px;width:48px;height:4px}.sheet-content__body[data-v-8862ce15]{box-sizing:content-box;scrollbar-width:thin;scrollbar-color:var(--theme-neutral-icon-primary) var(--theme-neutral-surface-icon);flex:auto;width:100%;min-height:0;overflow-y:auto}.sheet-content__body[data-v-8862ce15]::-webkit-scrollbar{width:8px;height:0}.sheet-content__body[data-v-8862ce15]::-webkit-scrollbar-thumb{background-color:var(--theme-neutral-icon-primary);background-clip:padding-box;border:1px solid #0000;border-radius:999px}.sheet-content__body[data-v-8862ce15]::-webkit-scrollbar-track{background:var(--theme-neutral-surface-icon);border-radius:4px}.sheet-content__body[data-v-8862ce15]::-webkit-scrollbar-corner{background:0 0}.sheet-overlay--drag-closing[data-v-8862ce15]{visibility:hidden}
@@ -18,6 +18,7 @@ declare function __VLS_template(): {
18
18
  };
19
19
  refs: {
20
20
  triggerRef: HTMLSpanElement;
21
+ layerRef: HTMLDivElement;
21
22
  contentRef: HTMLDivElement;
22
23
  };
23
24
  rootEl: any;
@@ -40,6 +41,7 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}
40
41
  labelledBy: string;
41
42
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
42
43
  triggerRef: HTMLSpanElement;
44
+ layerRef: HTMLDivElement;
43
45
  contentRef: HTMLDivElement;
44
46
  }, any>;
45
47
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -2,7 +2,7 @@ import './BottomSheet.css';
2
2
  import o from "./BottomSheet.vue2.js";
3
3
  /* empty css */
4
4
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
5
- const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-0004fa4b"]]);
5
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8862ce15"]]);
6
6
  export {
7
- e as default
7
+ p as default
8
8
  };
@@ -1,18 +1,18 @@
1
- import { defineComponent as L, useModel as V, useId as F, computed as k, ref as K, useTemplateRef as O, watch as U, onBeforeUnmount as Z, openBlock as m, createElementBlock as w, Fragment as q, mergeProps as u, unref as e, renderSlot as T, createCommentVNode as D, createBlock as H, withCtx as Y, createElementVNode as f, normalizeStyle as j, withModifiers as G, mergeModels as E, nextTick as J } from "vue";
2
- import { onClickOutside as Q } from "../../../utils/onClickOutside.util.js";
3
- import { useBodyScroll as W } from "../../../utils/useBodyScroll.util.js";
4
- import { useFocusTrap as X } from "../../../utils/useFocusTrap.util.js";
5
- import { useSwipeToClose as _ } from "../../../utils/useSwipeToClose.util.js";
6
- import { ANIMATION_DURATION_MS as B } from "../shared/animation.const.js";
7
- import ee from "../shared/Portal.vue.js";
8
- import { useDelayedVisibility as te } from "../shared/useDelayedVisibility.util.js";
9
- import { useLayerZIndex as oe } from "../shared/useLayerZIndex.util.js";
10
- import { useTestId as ae } from "../shared/useTestId.util.js";
11
- import { useTriggerAria as ne } from "../shared/useTriggerAria.util.js";
12
- const le = ["data-state"], se = ["aria-label", "aria-labelledby", "data-state"], be = /* @__PURE__ */ L({
1
+ import { defineComponent as F, useModel as K, useId as U, computed as k, ref as Z, useTemplateRef as w, watch as E, onBeforeUnmount as q, openBlock as m, createElementBlock as D, Fragment as H, mergeProps as u, unref as t, renderSlot as B, createCommentVNode as I, createBlock as Y, withCtx as j, createElementVNode as f, normalizeStyle as G, withModifiers as J, mergeModels as M, nextTick as Q } from "vue";
2
+ import { onClickOutside as W } from "../../../utils/onClickOutside.util.js";
3
+ import { useBodyScroll as X } from "../../../utils/useBodyScroll.util.js";
4
+ import { useFocusTrap as _ } from "../../../utils/useFocusTrap.util.js";
5
+ import { useSwipeToClose as ee } from "../../../utils/useSwipeToClose.util.js";
6
+ import { ANIMATION_DURATION_MS as R } from "../shared/animation.const.js";
7
+ import te from "../shared/Portal.vue.js";
8
+ import { useDelayedVisibility as oe } from "../shared/useDelayedVisibility.util.js";
9
+ import { useLayerZIndex as ae } from "../shared/useLayerZIndex.util.js";
10
+ import { useTestId as ne } from "../shared/useTestId.util.js";
11
+ import { useTriggerAria as le } from "../shared/useTriggerAria.util.js";
12
+ const se = ["data-state"], re = ["aria-label", "aria-labelledby", "data-state"], ke = /* @__PURE__ */ F({
13
13
  inheritAttrs: !1,
14
14
  __name: "BottomSheet",
15
- props: /* @__PURE__ */ E({
15
+ props: /* @__PURE__ */ M({
16
16
  zIndex: { default: "auto" },
17
17
  disableOutsidePointerEvents: { type: Boolean, default: !1 },
18
18
  disableSwipeToClose: { type: Boolean, default: !1 },
@@ -23,85 +23,88 @@ const le = ["data-state"], se = ["aria-label", "aria-labelledby", "data-state"],
23
23
  open: { type: Boolean, default: !1 },
24
24
  openModifiers: {}
25
25
  }),
26
- emits: /* @__PURE__ */ E(["escapeKeyDown", "pointerDownOutside"], ["update:open"]),
27
- setup(l, { emit: M }) {
28
- const c = l, I = M, s = V(l, "open"), p = `sheet-content-${F()}`, r = ae(() => c.testId), x = k(() => ({
26
+ emits: /* @__PURE__ */ M(["escapeKeyDown", "pointerDownOutside"], ["update:open"]),
27
+ setup(l, { emit: x }) {
28
+ const c = l, S = x, s = K(l, "open"), p = `sheet-content-${U()}`, r = ne(() => c.testId), $ = k(() => ({
29
29
  "aria-haspopup": "dialog",
30
30
  "aria-expanded": s.value,
31
31
  "aria-controls": s.value ? p : void 0
32
- })), i = K(!1), S = O("triggerRef"), v = O("contentRef");
33
- ne({
34
- host: () => S.value,
32
+ })), i = Z(!1), C = w("triggerRef"), v = w("contentRef"), O = w("layerRef");
33
+ le({
34
+ host: () => C.value,
35
35
  isOpen: () => s.value,
36
36
  contentId: () => p,
37
37
  hasPopup: () => "dialog"
38
38
  });
39
- const { lockScroll: R, unlockScroll: $ } = W(), g = X(() => v.value), d = oe(), P = k(
39
+ const { lockScroll: P, unlockScroll: z } = X(), g = _(() => v.value), d = ae(), A = k(
40
40
  () => c.zIndex === "auto" ? d.zIndex.value : c.zIndex
41
41
  );
42
42
  function y() {
43
43
  s.value = !1;
44
44
  }
45
- const o = _({
45
+ const o = ee({
46
46
  onClose: () => {
47
47
  i.value = !0, y();
48
48
  }
49
49
  });
50
- function h(t) {
51
- t.key === "Escape" && (I("escapeKeyDown", t), t.defaultPrevented || y());
50
+ function h(e) {
51
+ e.key === "Escape" && (S("escapeKeyDown", e), e.defaultPrevented || y());
52
52
  }
53
- function z(t) {
54
- I("pointerDownOutside", t), !c.disableOutsidePointerEvents && !t.defaultPrevented && y();
53
+ function N(e) {
54
+ S("pointerDownOutside", e), !c.disableOutsidePointerEvents && !e.defaultPrevented && y();
55
55
  }
56
- const { visible: A, dataState: C } = te(
56
+ const { visible: L, dataState: T } = oe(
57
57
  s,
58
- () => i.value ? 0 : B,
58
+ () => i.value ? 0 : R,
59
59
  {
60
60
  onOpen: () => {
61
- i.value = !1, o.reset(), d.acquire(), R(), g.activate({ focusDelayMs: B }), document.addEventListener("keydown", h), J(() => o.measureContentHeight(v.value));
61
+ i.value = !1, o.reset(), d.acquire(), P(), g.activate({ focusDelayMs: R }), document.addEventListener("keydown", h), Q(() => o.measureContentHeight(v.value));
62
62
  },
63
63
  onCloseStart: () => {
64
64
  g.deactivate(), document.removeEventListener("keydown", h);
65
65
  },
66
66
  onCloseEnd: () => {
67
- $(), d.release();
67
+ z(), d.release();
68
68
  }
69
69
  }
70
70
  );
71
+ E(O, (e) => d.registerElement(e));
71
72
  let b;
72
- U(v, (t) => {
73
- d.registerElement(t), b?.(), b = t ? Q(t, z, {
73
+ E(v, (e) => {
74
+ b?.(), b = e ? W(e, N, {
74
75
  ignore: () => d.elementsAbove()
75
76
  }) : void 0;
76
- }), Z(() => {
77
+ }), q(() => {
77
78
  b?.(), document.removeEventListener("keydown", h), g.deactivate();
78
79
  });
79
- const N = k(() => ({
80
+ const V = k(() => ({
80
81
  transform: o.dragOffset.value > 0 ? `translateY(${o.dragOffset.value}px)` : void 0,
81
82
  transition: o.isDragging.value ? "none" : "transform 0.2s ease-out",
82
83
  animation: i.value ? "none" : void 0
83
84
  }));
84
- return (t, a) => (m(), w(q, null, [
85
- t.$slots.trigger ? (m(), w("span", u({
85
+ return (e, a) => (m(), D(H, null, [
86
+ e.$slots.trigger ? (m(), D("span", u({
86
87
  key: 0,
87
88
  ref_key: "triggerRef",
88
- ref: S,
89
+ ref: C,
89
90
  class: "sheet-trigger"
90
- }, e(r)("trigger"), {
91
+ }, t(r)("trigger"), {
91
92
  onClick: a[0] || (a[0] = (n) => s.value = !0)
92
93
  }), [
93
- T(t.$slots, "trigger", { props: x.value }, void 0, !0)
94
- ], 16)) : D("", !0),
95
- e(A) ? (m(), H(ee, { key: 1 }, {
96
- default: Y(() => [
94
+ B(e.$slots, "trigger", { props: $.value }, void 0, !0)
95
+ ], 16)) : I("", !0),
96
+ t(L) ? (m(), Y(te, { key: 1 }, {
97
+ default: j(() => [
97
98
  f("div", {
99
+ ref_key: "layerRef",
100
+ ref: O,
98
101
  class: "sheet-layer",
99
- style: j({ zIndex: P.value })
102
+ style: G({ zIndex: A.value })
100
103
  }, [
101
104
  f("div", u({
102
105
  class: ["overlay dialog-overlay", { "sheet-overlay--drag-closing": i.value }],
103
- "data-state": e(C)
104
- }, e(r)("overlay")), null, 16, le),
106
+ "data-state": t(T)
107
+ }, t(r)("overlay")), null, 16, se),
105
108
  f("div", u({
106
109
  id: p,
107
110
  ref_key: "contentRef",
@@ -111,40 +114,40 @@ const le = ["data-state"], se = ["aria-label", "aria-labelledby", "data-state"],
111
114
  "aria-label": l.labelledBy ? void 0 : l.label,
112
115
  "aria-labelledby": l.labelledBy,
113
116
  class: "sheet-content",
114
- "data-state": e(C),
115
- style: N.value
116
- }, { ...t.$attrs, ...e(r)("content") }), [
117
- l.disableSwipeToClose ? D("", !0) : (m(), w("div", u({
117
+ "data-state": t(T),
118
+ style: V.value
119
+ }, { ...e.$attrs, ...t(r)("content") }), [
120
+ l.disableSwipeToClose ? I("", !0) : (m(), D("div", u({
118
121
  key: 0,
119
122
  class: "sheet-content__handle",
120
123
  "aria-hidden": "true",
121
124
  tabindex: "-1"
122
- }, e(r)("handle"), {
125
+ }, t(r)("handle"), {
123
126
  onTouchstart: a[1] || (a[1] = //@ts-ignore
124
- (...n) => e(o).handleDragStart && e(o).handleDragStart(...n)),
125
- onTouchmove: a[2] || (a[2] = G(
127
+ (...n) => t(o).handleDragStart && t(o).handleDragStart(...n)),
128
+ onTouchmove: a[2] || (a[2] = J(
126
129
  //@ts-ignore
127
- (...n) => e(o).handleDragMove && e(o).handleDragMove(...n),
130
+ (...n) => t(o).handleDragMove && t(o).handleDragMove(...n),
128
131
  ["prevent"]
129
132
  )),
130
133
  onTouchend: a[3] || (a[3] = //@ts-ignore
131
- (...n) => e(o).handleDragEnd && e(o).handleDragEnd(...n)),
134
+ (...n) => t(o).handleDragEnd && t(o).handleDragEnd(...n)),
132
135
  onMousedown: a[4] || (a[4] = //@ts-ignore
133
- (...n) => e(o).handleMouseDown && e(o).handleMouseDown(...n))
136
+ (...n) => t(o).handleMouseDown && t(o).handleMouseDown(...n))
134
137
  }), [...a[5] || (a[5] = [
135
138
  f("div", { class: "sheet-content__handle-dot" }, null, -1)
136
139
  ])], 16)),
137
- f("div", u({ class: "sheet-content__body" }, e(r)("body")), [
138
- T(t.$slots, "default", {}, void 0, !0)
140
+ f("div", u({ class: "sheet-content__body" }, t(r)("body")), [
141
+ B(e.$slots, "default", {}, void 0, !0)
139
142
  ], 16)
140
- ], 16, se)
143
+ ], 16, re)
141
144
  ], 4)
142
145
  ]),
143
146
  _: 3
144
- })) : D("", !0)
147
+ })) : I("", !0)
145
148
  ], 64));
146
149
  }
147
150
  });
148
151
  export {
149
- be as default
152
+ ke as default
150
153
  };
@@ -1 +1 @@
1
- .dialog-trigger[data-v-a32e6353]{display:contents}.dialog-layer[data-v-a32e6353]{position:relative}.dialog-content[data-v-a32e6353]{background-color:var(--theme-neutral-0);z-index:1002;border-radius:12px;max-width:90vw;padding:24px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 2px 5px #3a3a3a40}.dialog-content[data-state=open][data-v-a32e6353]{animation:fadeIn var(--animation-duration) ease-in-out}.dialog-content[data-state=closed][data-v-a32e6353]{animation:fadeOut var(--animation-duration) ease-in-out}.dialog-content__header[data-v-a32e6353]{justify-content:space-between;align-items:flex-start;gap:12px;width:100%;height:auto;margin-bottom:16px;display:flex}.dialog-content__header--divided[data-v-a32e6353]{margin-bottom:12px}.dialog-content__heading[data-v-a32e6353]{flex:1 1 0;align-items:center;gap:12px;min-width:0;display:flex}.dialog-content__icon[data-v-a32e6353]{flex-shrink:0;justify-content:center;align-items:center;display:flex}.dialog-content__divider[data-v-a32e6353]{background-color:var(--theme-secondary-250);flex:none;width:100%;height:1px;margin-bottom:12px}.dialog-content__close[data-v-a32e6353]{background:0 0;border:none;justify-content:center;align-items:center;width:20px;min-width:20px;height:20px;margin-left:auto;padding:0;display:flex}.dialog-content__close[data-v-a32e6353]:focus-visible{outline:2px solid var(--theme-primary-500);outline-offset:2px}.dialog-content__close svg[data-v-a32e6353]{width:20px;height:20px;color:var(--color-secondary-400);transition:color .3s ease-in-out}.dialog-content__close[data-v-a32e6353]:hover{cursor:pointer}.dialog-content__close:hover svg[data-v-a32e6353]{color:var(--color-secondary-500);transition:color .3s ease-in-out}.dialog-content__wrapper[data-v-a32e6353]{flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:12px;width:100%;height:auto;display:flex}.dialog-content__wrapper[data-v-a32e6353]:not(:last-child){margin-bottom:32px}.dialog-content__actions[data-v-a32e6353]{justify-content:flex-end;align-items:center;gap:8px;width:100%;height:auto;display:flex}@media (max-width:1010px){.dialog-content[data-v-a32e6353]{box-sizing:border-box;flex-direction:column;height:calc(100dvh - 32px);max-height:calc(100dvh - 32px);display:flex}.dialog-content__header[data-v-a32e6353]{flex:none}.dialog-content__wrapper[data-v-a32e6353]{box-sizing:content-box;scrollbar-width:thin;scrollbar-color:var(--theme-neutral-icon-primary) var(--theme-neutral-surface-icon);flex:1 1 0;min-height:0;overflow-y:auto}.dialog-content__wrapper[data-v-a32e6353]::-webkit-scrollbar{width:8px;height:0}.dialog-content__wrapper[data-v-a32e6353]::-webkit-scrollbar-thumb{background-color:var(--theme-neutral-icon-primary);background-clip:padding-box;border:1px solid #0000;border-radius:999px}.dialog-content__wrapper[data-v-a32e6353]::-webkit-scrollbar-track{background:var(--theme-neutral-surface-icon);border-radius:4px}.dialog-content__wrapper[data-v-a32e6353]::-webkit-scrollbar-corner{background:0 0}.dialog-content__actions[data-v-a32e6353]{flex:none}}.dialog-content__title[data-v-a32e6353]{width:100%;font-weight:500}.dialog-content__title--with-icon[data-v-a32e6353]{font-weight:700}.dialog-mobile[data-v-a32e6353]{width:100%;padding:0 16px 16px;padding-bottom:calc(16px + env(safe-area-inset-bottom,0px));flex-direction:column;gap:16px;display:flex}.dialog-mobile__header[data-v-a32e6353]{align-items:center;gap:12px;display:flex}.dialog-mobile__icon[data-v-a32e6353]{flex-shrink:0;justify-content:center;align-items:center;display:flex}.dialog-mobile__divider[data-v-a32e6353]{background-color:var(--theme-secondary-250);width:100%;height:1px;margin-top:-4px}.dialog-mobile__title[data-v-a32e6353]{color:var(--theme-neutral-text-title);font-size:1.125rem;font-weight:500;line-height:1.5}.dialog-mobile__content[data-v-a32e6353]{flex-direction:column;gap:12px;display:flex}.dialog-mobile__actions[data-v-a32e6353]{flex-direction:column-reverse;gap:8px;width:100%;display:flex}.dialog-mobile__actions[data-v-a32e6353] button{width:100%}
1
+ .dialog-trigger[data-v-57a203bb]{display:contents}.dialog-layer[data-v-57a203bb]{position:relative}.dialog-content[data-v-57a203bb]{background-color:var(--theme-neutral-0);z-index:1002;border-radius:12px;max-width:90vw;padding:24px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 2px 5px #3a3a3a40}.dialog-content[data-state=open][data-v-57a203bb]{animation:fadeIn var(--animation-duration) ease-in-out}.dialog-content[data-state=closed][data-v-57a203bb]{animation:fadeOut var(--animation-duration) ease-in-out}.dialog-content__header[data-v-57a203bb]{justify-content:space-between;align-items:flex-start;gap:12px;width:100%;height:auto;margin-bottom:16px;display:flex}.dialog-content__header--divided[data-v-57a203bb]{margin-bottom:12px}.dialog-content__heading[data-v-57a203bb]{flex:1 1 0;align-items:center;gap:12px;min-width:0;display:flex}.dialog-content__icon[data-v-57a203bb]{flex-shrink:0;justify-content:center;align-items:center;display:flex}.dialog-content__divider[data-v-57a203bb]{background-color:var(--theme-secondary-250);flex:none;width:100%;height:1px;margin-bottom:12px}.dialog-content__close[data-v-57a203bb]{background:0 0;border:none;justify-content:center;align-items:center;width:20px;min-width:20px;height:20px;margin-left:auto;padding:0;display:flex}.dialog-content__close[data-v-57a203bb]:focus-visible{outline:2px solid var(--theme-primary-500);outline-offset:2px}.dialog-content__close svg[data-v-57a203bb]{width:20px;height:20px;color:var(--color-secondary-400);transition:color .3s ease-in-out}.dialog-content__close[data-v-57a203bb]:hover{cursor:pointer}.dialog-content__close:hover svg[data-v-57a203bb]{color:var(--color-secondary-500);transition:color .3s ease-in-out}.dialog-content__wrapper[data-v-57a203bb]{flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:12px;width:100%;height:auto;display:flex}.dialog-content__wrapper[data-v-57a203bb]:not(:last-child){margin-bottom:32px}.dialog-content__actions[data-v-57a203bb]{justify-content:flex-end;align-items:center;gap:8px;width:100%;height:auto;display:flex}@media (max-width:1010px){.dialog-content[data-v-57a203bb]{box-sizing:border-box;flex-direction:column;height:calc(100dvh - 32px);max-height:calc(100dvh - 32px);display:flex}.dialog-content__header[data-v-57a203bb]{flex:none}.dialog-content__wrapper[data-v-57a203bb]{box-sizing:content-box;scrollbar-width:thin;scrollbar-color:var(--theme-neutral-icon-primary) var(--theme-neutral-surface-icon);flex:1 1 0;min-height:0;overflow-y:auto}.dialog-content__wrapper[data-v-57a203bb]::-webkit-scrollbar{width:8px;height:0}.dialog-content__wrapper[data-v-57a203bb]::-webkit-scrollbar-thumb{background-color:var(--theme-neutral-icon-primary);background-clip:padding-box;border:1px solid #0000;border-radius:999px}.dialog-content__wrapper[data-v-57a203bb]::-webkit-scrollbar-track{background:var(--theme-neutral-surface-icon);border-radius:4px}.dialog-content__wrapper[data-v-57a203bb]::-webkit-scrollbar-corner{background:0 0}.dialog-content__actions[data-v-57a203bb]{flex:none}}.dialog-content__title[data-v-57a203bb]{width:100%;font-weight:500}.dialog-content__title--with-icon[data-v-57a203bb]{font-weight:700}.dialog-mobile[data-v-57a203bb]{width:100%;padding:0 16px 16px;padding-bottom:calc(16px + env(safe-area-inset-bottom,0px));flex-direction:column;gap:16px;display:flex}.dialog-mobile__header[data-v-57a203bb]{align-items:center;gap:12px;display:flex}.dialog-mobile__icon[data-v-57a203bb]{flex-shrink:0;justify-content:center;align-items:center;display:flex}.dialog-mobile__divider[data-v-57a203bb]{background-color:var(--theme-secondary-250);width:100%;height:1px;margin-top:-4px}.dialog-mobile__title[data-v-57a203bb]{color:var(--theme-neutral-text-title);font-size:1.125rem;font-weight:500;line-height:1.5}.dialog-mobile__content[data-v-57a203bb]{flex-direction:column;gap:12px;display:flex}.dialog-mobile__actions[data-v-57a203bb]{flex-direction:column-reverse;gap:8px;width:100%;display:flex}.dialog-mobile__actions[data-v-57a203bb] button{width:100%}
@@ -33,6 +33,7 @@ declare function __VLS_template(): {
33
33
  };
34
34
  refs: {
35
35
  triggerRef: HTMLSpanElement;
36
+ layerRef: HTMLDivElement;
36
37
  contentRef: HTMLDivElement;
37
38
  };
38
39
  rootEl: any;
@@ -57,6 +58,7 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}
57
58
  testId: string;
58
59
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
59
60
  triggerRef: HTMLSpanElement;
61
+ layerRef: HTMLDivElement;
60
62
  contentRef: HTMLDivElement;
61
63
  }, any>;
62
64
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -2,7 +2,7 @@ import './Dialog.css';
2
2
  import o from "./Dialog.vue2.js";
3
3
  /* empty css */
4
4
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
5
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a32e6353"]]);
5
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-57a203bb"]]);
6
6
  export {
7
7
  p as default
8
8
  };