@quidgest/ui 0.16.37 → 0.16.38
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/json/api.json +9 -1
- package/dist/ui.css +14 -9
- package/dist/ui.esm.js +5 -3
- package/dist/ui.js +2 -2
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +5 -5
- package/dist/ui.scss +5 -2
- package/esm/components/QDialog/QDialog.d.ts +1 -0
- package/esm/components/QDialog/QDialog.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.vue.js +38 -36
- package/esm/components/QDialog/index.d.ts +6 -0
- package/esm/components/QDialog/index.d.ts.map +1 -1
- package/esm/components/QDialog/types.d.ts +7 -0
- package/esm/components/QDialog/types.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.vue.js +1 -1
- package/esm/composables/useDialog/index.d.ts +1 -0
- package/esm/composables/useDialog/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/json/api.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.16.
|
|
2
|
+
"version": "0.16.38",
|
|
3
3
|
"components": [
|
|
4
4
|
{
|
|
5
5
|
"name": "QAccordion",
|
|
@@ -2025,6 +2025,14 @@
|
|
|
2025
2025
|
"required": false,
|
|
2026
2026
|
"category": "Behavior"
|
|
2027
2027
|
},
|
|
2028
|
+
{
|
|
2029
|
+
"name": "focusTrap",
|
|
2030
|
+
"type": "boolean | undefined",
|
|
2031
|
+
"description": "Whether to enable focus trapping within the dialog.\nWhen enabled, focus will be constrained to elements within the dialog.",
|
|
2032
|
+
"default": "true",
|
|
2033
|
+
"required": false,
|
|
2034
|
+
"category": "Behavior"
|
|
2035
|
+
},
|
|
2028
2036
|
{
|
|
2029
2037
|
"name": "dismissible",
|
|
2030
2038
|
"type": "boolean | undefined",
|
package/dist/ui.css
CHANGED
|
@@ -4337,6 +4337,11 @@ body *::-webkit-scrollbar-track {
|
|
|
4337
4337
|
display: flex;
|
|
4338
4338
|
overflow: hidden;
|
|
4339
4339
|
flex-direction: row;
|
|
4340
|
+
width: -moz-min-content;
|
|
4341
|
+
width: min-content;
|
|
4342
|
+
}
|
|
4343
|
+
|
|
4344
|
+
.q-sidebar--expanded {
|
|
4340
4345
|
min-width: 19rem;
|
|
4341
4346
|
max-width: 35rem;
|
|
4342
4347
|
}
|
|
@@ -4430,39 +4435,39 @@ body *::-webkit-scrollbar-track {
|
|
|
4430
4435
|
border-radius: 2px;
|
|
4431
4436
|
}
|
|
4432
4437
|
|
|
4433
|
-
.q-sidebar--small {
|
|
4438
|
+
.q-sidebar--expanded.q-sidebar--small {
|
|
4434
4439
|
width: 19rem;
|
|
4435
4440
|
}
|
|
4436
4441
|
|
|
4437
|
-
.q-sidebar--medium {
|
|
4442
|
+
.q-sidebar--expanded.q-sidebar--medium {
|
|
4438
4443
|
width: 27rem;
|
|
4439
4444
|
}
|
|
4440
4445
|
|
|
4441
|
-
.q-sidebar--large {
|
|
4446
|
+
.q-sidebar--expanded.q-sidebar--large {
|
|
4442
4447
|
width: 35rem;
|
|
4443
4448
|
}
|
|
4444
4449
|
|
|
4445
|
-
.q-sidebar--min-small {
|
|
4450
|
+
.q-sidebar--expanded.q-sidebar--min-small {
|
|
4446
4451
|
min-width: 19rem;
|
|
4447
4452
|
}
|
|
4448
4453
|
|
|
4449
|
-
.q-sidebar--min-medium {
|
|
4454
|
+
.q-sidebar--expanded.q-sidebar--min-medium {
|
|
4450
4455
|
min-width: 27rem;
|
|
4451
4456
|
}
|
|
4452
4457
|
|
|
4453
|
-
.q-sidebar--min-large {
|
|
4458
|
+
.q-sidebar--expanded.q-sidebar--min-large {
|
|
4454
4459
|
min-width: 35rem;
|
|
4455
4460
|
}
|
|
4456
4461
|
|
|
4457
|
-
.q-sidebar--max-small {
|
|
4462
|
+
.q-sidebar--expanded.q-sidebar--max-small {
|
|
4458
4463
|
max-width: 19rem;
|
|
4459
4464
|
}
|
|
4460
4465
|
|
|
4461
|
-
.q-sidebar--max-medium {
|
|
4466
|
+
.q-sidebar--expanded.q-sidebar--max-medium {
|
|
4462
4467
|
max-width: 27rem;
|
|
4463
4468
|
}
|
|
4464
4469
|
|
|
4465
|
-
.q-sidebar--max-large {
|
|
4470
|
+
.q-sidebar--expanded.q-sidebar--max-large {
|
|
4466
4471
|
max-width: 35rem;
|
|
4467
4472
|
}
|
|
4468
4473
|
|
package/dist/ui.esm.js
CHANGED
|
@@ -3,7 +3,7 @@ var Io = (a, e, t) => e in a ? So(a, e, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var we = (a, e, t) => Io(a, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import { getCurrentInstance as Al, computed as D, ref as K, toValue as ma, provide as Ml, inject as Za, unref as u, isRef as bn, watch as Ae, defineComponent as ce, mergeModels as Ie, toRef as Pe, useModel as Fe, createElementBlock as k, openBlock as m, normalizeClass as ie, renderSlot as S, normalizeStyle as Qe, withModifiers as dt, createCommentVNode as O, createElementVNode as te, createVNode as ye, createTextVNode as Xe, toDisplayString as ke, useAttrs as Pl, createBlock as ae, resolveDynamicComponent as aa, withCtx as Q, Fragment as be, h as wn, mergeProps as De, withKeys as _n, normalizeProps as Oe, guardReactiveProps as ze, useSlots as Ht, onMounted as Ze, onUnmounted as $t, renderList as Re, nextTick as Ue, useTemplateRef as Ot, createSlots as We, withDirectives as Yt, vModelDynamic as Oo, vModelText as ql, useId as Eo, readonly as Lo, customRef as Ro, getCurrentScope as Kr, onScopeDispose as Sl, shallowRef as ul, reactive as Jt, onBeforeUnmount as Gr, Teleport as Zr, Transition as zt, render as fr, onBeforeUpdate as Bo, vShow as yn, resolveComponent as No, vModelCheckbox as Vo, toHandlers as Fo, watchEffect as Yo, TransitionGroup as zo } from "vue";
|
|
5
5
|
/*!
|
|
6
|
-
* Quidgest UI v0.16.
|
|
6
|
+
* Quidgest UI v0.16.38
|
|
7
7
|
* (c) 2025 Quidgest - Consultores de Gestão, S.A.
|
|
8
8
|
* Released under the MIT License.
|
|
9
9
|
*/
|
|
@@ -3749,7 +3749,7 @@ const mc = ["id"], vc = ["role"], hc = /* @__PURE__ */ ce({
|
|
|
3749
3749
|
default: Q(() => [
|
|
3750
3750
|
T.value ? (m(), ae(u(_s), {
|
|
3751
3751
|
key: 0,
|
|
3752
|
-
disabled: t.nonModal || !l.value,
|
|
3752
|
+
disabled: t.nonModal || !l.value || !t.focusTrap,
|
|
3753
3753
|
options: { fallbackFocus: T.value }
|
|
3754
3754
|
}, {
|
|
3755
3755
|
default: Q(() => [
|
|
@@ -13078,6 +13078,7 @@ const rh = ["value", "placeholder", "disabled", "readonly", "required", "onInput
|
|
|
13078
13078
|
centerVertically: { type: Boolean },
|
|
13079
13079
|
attach: { default: "body" },
|
|
13080
13080
|
inline: { type: Boolean },
|
|
13081
|
+
focusTrap: { type: Boolean, default: !0 },
|
|
13081
13082
|
dismissible: { type: Boolean },
|
|
13082
13083
|
html: { type: Boolean, default: !0 },
|
|
13083
13084
|
input: {},
|
|
@@ -13118,6 +13119,7 @@ const rh = ["value", "placeholder", "disabled", "readonly", "required", "onInput
|
|
|
13118
13119
|
attach: t.attach,
|
|
13119
13120
|
"backdrop-blur": t.backdropBlur,
|
|
13120
13121
|
"center-vertically": t.centerVertically,
|
|
13122
|
+
"focus-trap": t.focusTrap,
|
|
13121
13123
|
class: ie(i.value),
|
|
13122
13124
|
onEnter: c,
|
|
13123
13125
|
onLeave: v
|
|
@@ -13201,7 +13203,7 @@ const rh = ["value", "placeholder", "disabled", "readonly", "required", "onInput
|
|
|
13201
13203
|
], 2)
|
|
13202
13204
|
]),
|
|
13203
13205
|
_: 3
|
|
13204
|
-
}, 8, ["id", "modelValue", "inline", "attach", "backdrop-blur", "center-vertically", "class"]));
|
|
13206
|
+
}, 8, ["id", "modelValue", "inline", "attach", "backdrop-blur", "center-vertically", "focus-trap", "class"]));
|
|
13205
13207
|
}
|
|
13206
13208
|
}), Dh = /* @__PURE__ */ ce({
|
|
13207
13209
|
inheritAttrs: !1,
|