@quidgest/ui 0.16.42 → 0.16.44

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 (59) hide show
  1. package/dist/json/api.json +68 -57
  2. package/dist/manifest/components.json +0 -1
  3. package/dist/ui.css +18 -22
  4. package/dist/ui.esm.js +5318 -5235
  5. package/dist/ui.js +25 -21
  6. package/dist/ui.min.css +1 -1
  7. package/dist/ui.min.js +659 -650
  8. package/dist/ui.scss +65 -53
  9. package/esm/components/QDialog/QDialog.d.ts +1 -0
  10. package/esm/components/QDialog/QDialog.d.ts.map +1 -1
  11. package/esm/components/QDialog/QDialog.vue.js +50 -48
  12. package/esm/components/QDialog/index.d.ts +6 -0
  13. package/esm/components/QDialog/index.d.ts.map +1 -1
  14. package/esm/components/QDialog/types.d.ts +7 -0
  15. package/esm/components/QDialog/types.d.ts.map +1 -1
  16. package/esm/components/QDivider/QDivider.d.ts +2 -0
  17. package/esm/components/QDivider/QDivider.d.ts.map +1 -1
  18. package/esm/components/QDivider/QDivider.vue.js +26 -18
  19. package/esm/components/QDivider/index.d.ts +6 -0
  20. package/esm/components/QDivider/index.d.ts.map +1 -1
  21. package/esm/components/QDivider/types.d.ts +14 -0
  22. package/esm/components/QDivider/types.d.ts.map +1 -1
  23. package/esm/components/QDropdownMenu/QDropdownMenu.d.ts +2 -0
  24. package/esm/components/QDropdownMenu/QDropdownMenu.d.ts.map +1 -1
  25. package/esm/components/QDropdownMenu/QDropdownMenu.vue.js +23 -17
  26. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +4 -0
  27. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
  28. package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +70 -68
  29. package/esm/components/QDropdownMenu/index.d.ts +2 -0
  30. package/esm/components/QDropdownMenu/index.d.ts.map +1 -1
  31. package/esm/components/QOverlay/QOverlay.d.ts +1 -0
  32. package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
  33. package/esm/components/QOverlay/QOverlay.vue.js +114 -111
  34. package/esm/components/QOverlay/index.d.ts +6 -0
  35. package/esm/components/QOverlay/index.d.ts.map +1 -1
  36. package/esm/components/QOverlay/types.d.ts +7 -0
  37. package/esm/components/QOverlay/types.d.ts.map +1 -1
  38. package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +12 -11
  39. package/esm/components/QPopover/QPopover.d.ts.map +1 -1
  40. package/esm/components/QPopover/QPopover.vue.js +14 -13
  41. package/esm/components/QSelect/QSelect.vue.js +1 -2
  42. package/esm/components/index.d.ts +0 -1
  43. package/esm/components/index.d.ts.map +1 -1
  44. package/esm/components/index.js +70 -72
  45. package/esm/composables/useDialog/index.d.ts +1 -0
  46. package/esm/composables/useDialog/index.d.ts.map +1 -1
  47. package/esm/index.d.ts +0 -1
  48. package/esm/vendors/focus-trap-vue/dist/focus-trap-vue.esm-browser.js +104 -0
  49. package/package.json +3 -2
  50. package/esm/components/QFocusTrap/QFocusTrap.d.ts +0 -28
  51. package/esm/components/QFocusTrap/QFocusTrap.d.ts.map +0 -1
  52. package/esm/components/QFocusTrap/QFocusTrap.vue.js +0 -32
  53. package/esm/components/QFocusTrap/QFocusTrap.vue2.js +0 -4
  54. package/esm/components/QFocusTrap/index.d.ts +0 -37
  55. package/esm/components/QFocusTrap/index.d.ts.map +0 -1
  56. package/esm/components/QFocusTrap/index.js +0 -6
  57. package/esm/components/QFocusTrap/types.d.ts +0 -6
  58. package/esm/components/QFocusTrap/types.d.ts.map +0 -1
  59. package/esm/vendors/@vueuse/integrations/useFocusTrap/component.js +0 -24
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.16.42",
2
+ "version": "0.16.44",
3
3
  "components": [
4
4
  {
5
5
  "name": "QAccordion",
@@ -2674,6 +2674,17 @@
2674
2674
  "required": false,
2675
2675
  "category": "Behavior"
2676
2676
  },
2677
+ {
2678
+ "name": "returnFocusOnDeactivate",
2679
+ "type": {
2680
+ "kind": "primitive",
2681
+ "name": "boolean"
2682
+ },
2683
+ "description": "Whether to return focus to the element that opened this\nwhen the focus trap is deactivaed.",
2684
+ "default": "true",
2685
+ "required": false,
2686
+ "category": "Behavior"
2687
+ },
2677
2688
  {
2678
2689
  "name": "dismissible",
2679
2690
  "type": {
@@ -2916,6 +2927,28 @@
2916
2927
  "description": "If true, applies inset margin.",
2917
2928
  "required": false,
2918
2929
  "category": "Presentation"
2930
+ },
2931
+ {
2932
+ "name": "thickness",
2933
+ "type": {
2934
+ "kind": "primitive",
2935
+ "name": "number"
2936
+ },
2937
+ "description": "The thickness of the divider line in pixels.",
2938
+ "default": "1",
2939
+ "required": false,
2940
+ "category": "Presentation"
2941
+ },
2942
+ {
2943
+ "name": "color",
2944
+ "type": {
2945
+ "kind": "primitive",
2946
+ "name": "string"
2947
+ },
2948
+ "description": "The color of the divider line.\nCan be chosen from utility colors like 'success' or 'danger',\nor specified using CSS color codes.",
2949
+ "default": "neutral",
2950
+ "required": false,
2951
+ "category": "Presentation"
2919
2952
  }
2920
2953
  ],
2921
2954
  "events": [],
@@ -2946,6 +2979,16 @@
2946
2979
  "title": "Vertical",
2947
2980
  "description": "A vertical divider used to split side-by-side elements.",
2948
2981
  "code": "<div style=\"display: flex; height: 1rem;\">\n <div>Left</div>\n <QDivider direction=\"vertical\" />\n <div>Right</div>\n </div>"
2982
+ },
2983
+ {
2984
+ "title": "Thicker",
2985
+ "description": "A horizontal divider with a bigger thickness.",
2986
+ "code": "<div>\n <p>Section above</p>\n <QDivider :thickness=\"5\" />\n <p>Section below</p>\n </div>"
2987
+ },
2988
+ {
2989
+ "title": "Colored",
2990
+ "description": "A horizontal divider with a primary color.",
2991
+ "code": "<div>\n <p>Section above</p>\n <QDivider color=\"primary\" />\n <p>Section below</p>\n </div>"
2949
2992
  }
2950
2993
  ]
2951
2994
  },
@@ -3151,6 +3194,14 @@
3151
3194
  }
3152
3195
  ],
3153
3196
  "slots": [
3197
+ {
3198
+ "name": "prepend",
3199
+ "description": ""
3200
+ },
3201
+ {
3202
+ "name": "append",
3203
+ "description": ""
3204
+ },
3154
3205
  {
3155
3206
  "name": "item",
3156
3207
  "description": ""
@@ -3191,6 +3242,11 @@
3191
3242
  "title": "Submenus",
3192
3243
  "description": "A dropdown menu with submenus.",
3193
3244
  "code": "<q-button\n\t\t\t\tref=\"activatorRef\"\n\t\t\t\tlabel=\"Click me\" />\n\t\t\t<q-dropdown-menu\n\t\t\t\tv-bind=\"args\"\n\t\t\t\t:activator=\"activator?.$el\" />"
3245
+ },
3246
+ {
3247
+ "title": "Custom Activator",
3248
+ "description": "Example of a custom activator other than a button.",
3249
+ "code": "<q-button ref=\"activator\" variant=\"ghost\" pill size=\"small\">\n\t\t\t\t<q-avatar alt=\"User Avatar\" src=\"https://i.pravatar.cc/150?img=10\" />\n\t\t\t</q-button>\n\t\t\t<q-dropdown-menu v-bind=\"args\" :activator=\"activatorRef?.$el\">\n\t\t\t\t<template #prepend>\n\t\t\t\t\t<div style=\"padding: .75rem .75rem .1rem .75rem; min-width: 12rem;\">\n\t\t\t\t\t\t<p style=\"margin: 0\">User Avatar</p>\n\t\t\t\t\t\t<span style=\"color: var(--q-theme-primary); font-size: .85rem;\">Administrator</span>\n\t\t\t\t\t</div>\n\t\t\t\t\t<q-divider />\n\t\t\t\t</template>\n\t\t\t</q-dropdown-menu>"
3194
3250
  }
3195
3251
  ]
3196
3252
  },
@@ -3515,62 +3571,6 @@
3515
3571
  }
3516
3572
  ]
3517
3573
  },
3518
- {
3519
- "name": "QFocusTrap",
3520
- "meta": {
3521
- "props": [
3522
- {
3523
- "name": "disabled",
3524
- "type": {
3525
- "kind": "primitive",
3526
- "name": "boolean"
3527
- },
3528
- "description": "",
3529
- "required": false
3530
- },
3531
- {
3532
- "name": "options",
3533
- "type": {
3534
- "kind": "object",
3535
- "fields": {}
3536
- },
3537
- "description": "",
3538
- "required": false
3539
- },
3540
- {
3541
- "name": "as",
3542
- "type": {
3543
- "kind": "union",
3544
- "types": [
3545
- {
3546
- "name": "string"
3547
- },
3548
- {
3549
- "name": "other",
3550
- "value": "object"
3551
- }
3552
- ]
3553
- },
3554
- "description": "The element that the component should be rendered as",
3555
- "required": false
3556
- }
3557
- ],
3558
- "events": [
3559
- {
3560
- "name": "update:disabled",
3561
- "description": "",
3562
- "type": "[value: boolean]"
3563
- }
3564
- ],
3565
- "slots": [
3566
- {
3567
- "name": "default",
3568
- "description": ""
3569
- }
3570
- ]
3571
- },
3572
- "examples": []
3573
- },
3574
3574
  {
3575
3575
  "name": "QGroupBox",
3576
3576
  "description": "A container with a title that groups related content.",
@@ -4678,6 +4678,17 @@
4678
4678
  "description": "Whether to enable focus trapping within the overlay.\nWhen enabled, focus will be constrained to elements within the overlay.",
4679
4679
  "required": false,
4680
4680
  "category": "Behavior"
4681
+ },
4682
+ {
4683
+ "name": "returnFocusOnDeactivate",
4684
+ "type": {
4685
+ "kind": "primitive",
4686
+ "name": "boolean"
4687
+ },
4688
+ "description": "Whether to return focus to the element that opened this\nwhen the focus trap is deactivaed.",
4689
+ "default": "true",
4690
+ "required": false,
4691
+ "category": "Behavior"
4681
4692
  }
4682
4693
  ],
4683
4694
  "events": [
@@ -22,7 +22,6 @@
22
22
  "QDropdownMenu",
23
23
  "QField",
24
24
  "QFileUpload",
25
- "QFocusTrap",
26
25
  "QCol",
27
26
  "QContainer",
28
27
  "QRow",
package/dist/ui.css CHANGED
@@ -2981,45 +2981,45 @@ body *::-webkit-scrollbar-track {
2981
2981
  }
2982
2982
 
2983
2983
  .q-divider {
2984
+ --q-divider-thickness: 1px;
2985
+ --q-divider-color: var(--q-theme-neutral);
2984
2986
  display: flex;
2985
2987
  align-items: center;
2986
2988
  justify-content: center;
2987
2989
  position: relative;
2988
- color: var(--q-theme-neutral);
2990
+ color: var(--q-divider-color);
2989
2991
  font-size: 0.875rem;
2992
+ /* Horizontal */
2993
+ /* Labeled horizontal: lines + label */
2994
+ /* Inset margin */
2995
+ /* Vertical */
2996
+ /* Labeled vertical: lines + label */
2997
+ /* Inset for vertical (optional – if used) */
2990
2998
  }
2991
-
2992
- /* Horizontal */
2993
2999
  .q-divider--horizontal {
2994
3000
  width: 100%;
2995
3001
  flex-direction: row;
2996
3002
  margin: 8px 0;
2997
3003
  }
2998
-
2999
3004
  .q-divider--horizontal:not(.q-divider--labeled)::before {
3000
3005
  content: "";
3001
3006
  flex: 1;
3002
- border-top-width: 1px;
3007
+ border-top-width: var(--q-divider-thickness);
3008
+ border-color: var(--q-divider-color);
3003
3009
  }
3004
-
3005
- /* Labeled horizontal: lines + label */
3006
3010
  .q-divider--horizontal.q-divider--labeled .q-divider__line {
3007
3011
  flex: 1;
3008
- border-top-width: 1px;
3012
+ border-top-width: var(--q-divider-thickness);
3013
+ border-color: var(--q-divider-color);
3009
3014
  }
3010
-
3011
3015
  .q-divider--horizontal.q-divider--labeled .q-divider__label {
3012
3016
  padding: 0 12px;
3013
3017
  white-space: nowrap;
3014
3018
  }
3015
-
3016
- /* Inset margin */
3017
3019
  .q-divider--horizontal.q-divider--inset {
3018
3020
  max-width: calc(100% - 72px);
3019
3021
  margin-inline-start: 72px;
3020
3022
  }
3021
-
3022
- /* Vertical */
3023
3023
  .q-divider--vertical {
3024
3024
  display: flex;
3025
3025
  flex-direction: column;
@@ -3028,27 +3028,23 @@ body *::-webkit-scrollbar-track {
3028
3028
  min-height: 100%;
3029
3029
  margin: 0 8px;
3030
3030
  }
3031
-
3032
3031
  .q-divider--vertical:not(.q-divider--labeled)::before {
3033
3032
  content: "";
3034
3033
  flex: 1;
3035
- border-left-width: 1px;
3034
+ border-left-width: var(--q-divider-thickness);
3035
+ border-color: var(--q-divider-color);
3036
3036
  }
3037
-
3038
- /* Labeled vertical: lines + label */
3039
3037
  .q-divider--vertical.q-divider--labeled .q-divider__line {
3040
- border-left-width: 1px;
3038
+ border-left-width: var(--q-divider-thickness);
3039
+ border-color: var(--q-divider-color);
3041
3040
  height: 100%;
3042
3041
  }
3043
-
3044
3042
  .q-divider--vertical.q-divider--labeled .q-divider__label {
3045
3043
  writing-mode: vertical-rl;
3046
3044
  text-orientation: mixed;
3047
3045
  padding: 12px 0;
3048
3046
  white-space: nowrap;
3049
3047
  }
3050
-
3051
- /* Inset for vertical (optional – if used) */
3052
3048
  .q-divider--vertical.q-divider--inset {
3053
3049
  margin-bottom: 8px;
3054
3050
  margin-top: 8px;
@@ -4390,6 +4386,7 @@ body *::-webkit-scrollbar-track {
4390
4386
  gap: 0.1rem;
4391
4387
  overflow: hidden;
4392
4388
  width: 100%;
4389
+ height: 1.35rem;
4393
4390
  }
4394
4391
  .q-select__badge-container .q-select__badge-count {
4395
4392
  font-weight: 900;
@@ -4398,7 +4395,6 @@ body *::-webkit-scrollbar-track {
4398
4395
  visibility: hidden;
4399
4396
  }
4400
4397
  .q-select__badge-container .q-badge__content {
4401
- height: 0.85em;
4402
4398
  white-space: nowrap;
4403
4399
  }
4404
4400
  .q-select__placeholder {