@quidgest/ui 0.16.46 → 0.16.47

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,5 +1,5 @@
1
1
  {
2
- "version": "0.16.46",
2
+ "version": "0.16.47",
3
3
  "components": [
4
4
  {
5
5
  "name": "QAccordion",
@@ -1407,6 +1407,17 @@
1407
1407
  "default": "DEFAULT_ICONS",
1408
1408
  "required": false,
1409
1409
  "category": "Configuration"
1410
+ },
1411
+ {
1412
+ "name": "hasFocusOutline",
1413
+ "type": {
1414
+ "kind": "primitive",
1415
+ "name": "boolean"
1416
+ },
1417
+ "description": "Indicates whether the control will have an outline when focused.",
1418
+ "default": "true",
1419
+ "required": false,
1420
+ "category": "Behavior"
1410
1421
  }
1411
1422
  ],
1412
1423
  "events": [
@@ -5509,6 +5520,17 @@
5509
5520
  "description": "Indicates whether the provided value fails the validation criteria.",
5510
5521
  "required": false,
5511
5522
  "category": "State"
5523
+ },
5524
+ {
5525
+ "name": "hasFocusOutline",
5526
+ "type": {
5527
+ "kind": "primitive",
5528
+ "name": "boolean"
5529
+ },
5530
+ "description": "Indicates whether the control will have an outline when focused.",
5531
+ "default": "true",
5532
+ "required": false,
5533
+ "category": "Behavior"
5512
5534
  }
5513
5535
  ],
5514
5536
  "events": [
package/dist/ui.css CHANGED
@@ -1321,7 +1321,7 @@ body *::-webkit-scrollbar-track {
1321
1321
  color: var(--q-theme-neutral-dark);
1322
1322
  cursor: pointer;
1323
1323
  }
1324
- .q-checkbox:focus-within {
1324
+ .q-checkbox--focus-style:focus-within {
1325
1325
  outline: 2px solid rgb(var(--q-theme-info-rgb)/50%);
1326
1326
  }
1327
1327
  .q-checkbox label {
@@ -4305,9 +4305,6 @@ body *::-webkit-scrollbar-track {
4305
4305
  gap: 0.5em;
4306
4306
  cursor: pointer;
4307
4307
  }
4308
- .q-radio-button:focus-within {
4309
- outline: 2px solid rgb(var(--q-theme-info-rgb)/50%);
4310
- }
4311
4308
  .q-radio-button label {
4312
4309
  line-height: 1;
4313
4310
  cursor: pointer;
@@ -4407,6 +4404,10 @@ body *::-webkit-scrollbar-track {
4407
4404
  padding: 0.625rem;
4408
4405
  }
4409
4406
 
4407
+ .q-radio-group--focus-style .q-radio-button:focus-within {
4408
+ outline: 2px solid rgb(var(--q-theme-info-rgb)/50%);
4409
+ }
4410
+
4410
4411
  .q-select {
4411
4412
  /* Icon of the selected item */
4412
4413
  }
package/dist/ui.esm.js CHANGED
@@ -3,7 +3,7 @@ var Is = (a, e, t) => e in a ? Os(a, e, { enumerable: !0, configurable: !0, writ
3
3
  var we = (a, e, t) => Is(a, typeof e != "symbol" ? e + "" : e, t);
4
4
  import { getCurrentInstance as qn, computed as $, ref as K, toValue as ga, provide as Al, inject as Ja, unref as u, isRef as wn, watch as Ae, defineComponent as ce, mergeModels as Oe, toRef as Pe, useModel as Ye, createElementBlock as k, openBlock as p, normalizeClass as ie, renderSlot as P, normalizeStyle as ze, withModifiers as at, createCommentVNode as E, createElementVNode as te, createVNode as he, createTextVNode as Ge, toDisplayString as ke, useAttrs as Cl, createBlock as re, resolveDynamicComponent as ra, withCtx as H, Fragment as be, h as ul, mergeProps as Me, withKeys as _n, normalizeProps as Ie, guardReactiveProps as Qe, useSlots as Gt, onMounted as Je, onUnmounted as Tt, renderList as Re, nextTick as Ue, useTemplateRef as Dt, createSlots as We, withDirectives as Wt, vModelDynamic as Es, vModelText as Pl, useId as Ls, Comment as Rs, cloneVNode as Bs, reactive as na, onBeforeUnmount as Gr, Teleport as Kr, Transition as Ht, render as cr, getCurrentScope as Zr, onScopeDispose as Jr, onBeforeUpdate as Fs, vShow as gn, resolveComponent as Vs, vModelCheckbox as Ns, readonly as Ys, customRef as zs, shallowRef as dl, toHandlers as Qs, watchEffect as Ws, TransitionGroup as Hs } from "vue";
5
5
  /*!
6
- * Quidgest UI v0.16.46
6
+ * Quidgest UI v0.16.47
7
7
  * (c) 2025 Quidgest - Consultores de Gestão, S.A.
8
8
  * Released under the MIT License.
9
9
  */
@@ -1582,7 +1582,8 @@ const Bi = /* @__PURE__ */ ce({
1582
1582
  disabled: { type: Boolean },
1583
1583
  readonly: { type: Boolean },
1584
1584
  indeterminate: { type: Boolean },
1585
- icons: { default: () => ku }
1585
+ icons: { default: () => ku },
1586
+ hasFocusOutline: { type: Boolean, default: !0 }
1586
1587
  }, {
1587
1588
  modelValue: { type: Boolean },
1588
1589
  modelModifiers: {}
@@ -1597,7 +1598,8 @@ const Bi = /* @__PURE__ */ ce({
1597
1598
  "q-checkbox--readonly": e.readonly,
1598
1599
  "q-checkbox--disabled": e.disabled,
1599
1600
  "q-checkbox--checked": t.value,
1600
- "q-checkbox--indeterminate": e.indeterminate
1601
+ "q-checkbox--indeterminate": e.indeterminate,
1602
+ "q-checkbox--focus-style": e.hasFocusOutline
1601
1603
  },
1602
1604
  e.class
1603
1605
  ]);
@@ -2388,7 +2390,7 @@ const Bi = /* @__PURE__ */ ce({
2388
2390
  P(n.$slots, "default")
2389
2391
  ], 8, ad));
2390
2392
  }
2391
- }), En = _e(ju), po = _e(td), vo = _e(ld), mo = Symbol("DismissibleLayer");
2393
+ }), En = _e(ju), po = _e(td), vo = _e(ld), mo = Symbol.for("DismissibleLayer");
2392
2394
  function rd() {
2393
2395
  const a = K([]);
2394
2396
  function e(l) {
@@ -3526,7 +3528,7 @@ const uc = ["id"], dc = ["role"], cc = /* @__PURE__ */ ce({
3526
3528
  "q-overlay--center": t.centerVertically
3527
3529
  },
3528
3530
  t.class
3529
- ]), s = $(() => t.anchor === void 0), i = $(() => l.value && !t.nonModal), d = $(() => (l.value || v.animating) && t.scrollLock), c = $(() => !t.inline && (l.value || v.animating)), f = $(() => D.value ?? "#" + t.id), v = na({
3531
+ ]), s = $(() => t.anchor === void 0), i = $(() => l.value && !t.nonModal), d = $(() => (l.value || v.animating) && t.scrollLock), c = $(() => !t.inline && (l.value || v.animating)), f = () => D.value ? D.value ?? void 0 : "#" + t.id, v = na({
3530
3532
  animating: !1,
3531
3533
  top: 0,
3532
3534
  left: 0,
@@ -3736,8 +3738,8 @@ const uc = ["id"], dc = ["role"], cc = /* @__PURE__ */ ce({
3736
3738
  D.value ? (p(), re(u(Zd), {
3737
3739
  key: 0,
3738
3740
  active: !t.nonModal && l.value && t.focusTrap,
3739
- "fallback-focus": f.value,
3740
- "initial-focus": f.value,
3741
+ "fallback-focus": f,
3742
+ "initial-focus": f,
3741
3743
  "return-focus-on-deactivate": t.returnFocusOnDeactivate
3742
3744
  }, {
3743
3745
  default: H(() => [
@@ -3760,7 +3762,7 @@ const uc = ["id"], dc = ["role"], cc = /* @__PURE__ */ ce({
3760
3762
  ], 16, dc)
3761
3763
  ]),
3762
3764
  _: 3
3763
- }, 8, ["active", "fallback-focus", "initial-focus", "return-focus-on-deactivate"])) : E("", !0)
3765
+ }, 8, ["active", "return-focus-on-deactivate"])) : E("", !0)
3764
3766
  ]),
3765
3767
  _: 3
3766
3768
  })
@@ -14670,7 +14672,8 @@ const Jh = /* @__PURE__ */ Xh(Gh, [["render", Zh]]), Ha = _e(Hh), Ml = _e(Uh), D
14670
14672
  columns: { default: 1 },
14671
14673
  disabled: { type: Boolean },
14672
14674
  readonly: { type: Boolean },
14673
- invalid: { type: Boolean }
14675
+ invalid: { type: Boolean },
14676
+ hasFocusOutline: { type: Boolean, default: !0 }
14674
14677
  }, {
14675
14678
  modelValue: {},
14676
14679
  modelModifiers: {}
@@ -14684,7 +14687,8 @@ const Jh = /* @__PURE__ */ Xh(Gh, [["render", Zh]]), Ha = _e(Hh), Ml = _e(Uh), D
14684
14687
  const l = ht(Pe(e, "id")), r = ht(Pe(e, "name")), o = $(() => [
14685
14688
  "q-radio-group",
14686
14689
  {
14687
- "q-radio-group--horizontal": e.orientation === "horizontal"
14690
+ "q-radio-group--horizontal": e.orientation === "horizontal",
14691
+ "q-radio-group--focus-style": e.hasFocusOutline
14688
14692
  },
14689
14693
  e.class
14690
14694
  ]), s = $(() => e.columns > 1 ? {