@quidgest/ui 0.16.43 → 0.16.45

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 (54) hide show
  1. package/dist/json/api.json +36 -57
  2. package/dist/manifest/components.json +0 -1
  3. package/dist/ui.css +1 -1
  4. package/dist/ui.esm.js +5248 -5171
  5. package/dist/ui.js +24 -20
  6. package/dist/ui.min.css +1 -1
  7. package/dist/ui.min.js +658 -651
  8. package/dist/ui.scss +2 -2
  9. package/esm/components/QBadge/QBadge.d.ts.map +1 -1
  10. package/esm/components/QBadge/QBadge.vue.js +15 -14
  11. package/esm/components/QDialog/QDialog.d.ts +1 -0
  12. package/esm/components/QDialog/QDialog.d.ts.map +1 -1
  13. package/esm/components/QDialog/QDialog.vue.js +50 -48
  14. package/esm/components/QDialog/index.d.ts +6 -0
  15. package/esm/components/QDialog/index.d.ts.map +1 -1
  16. package/esm/components/QDialog/types.d.ts +7 -0
  17. package/esm/components/QDialog/types.d.ts.map +1 -1
  18. package/esm/components/QDropdownMenu/QDropdownMenu.d.ts +2 -0
  19. package/esm/components/QDropdownMenu/QDropdownMenu.d.ts.map +1 -1
  20. package/esm/components/QDropdownMenu/QDropdownMenu.vue.js +23 -17
  21. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +4 -0
  22. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
  23. package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +70 -68
  24. package/esm/components/QDropdownMenu/index.d.ts +2 -0
  25. package/esm/components/QDropdownMenu/index.d.ts.map +1 -1
  26. package/esm/components/QOverlay/QOverlay.d.ts +1 -0
  27. package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
  28. package/esm/components/QOverlay/QOverlay.vue.js +114 -111
  29. package/esm/components/QOverlay/index.d.ts +6 -0
  30. package/esm/components/QOverlay/index.d.ts.map +1 -1
  31. package/esm/components/QOverlay/types.d.ts +7 -0
  32. package/esm/components/QOverlay/types.d.ts.map +1 -1
  33. package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +12 -11
  34. package/esm/components/QPopover/QPopover.d.ts.map +1 -1
  35. package/esm/components/QPopover/QPopover.vue.js +14 -13
  36. package/esm/components/QSelect/QSelect.vue.js +1 -2
  37. package/esm/components/index.d.ts +0 -1
  38. package/esm/components/index.d.ts.map +1 -1
  39. package/esm/components/index.js +70 -72
  40. package/esm/composables/useDialog/index.d.ts +1 -0
  41. package/esm/composables/useDialog/index.d.ts.map +1 -1
  42. package/esm/index.d.ts +0 -1
  43. package/esm/vendors/focus-trap-vue/dist/focus-trap-vue.esm-browser.js +104 -0
  44. package/package.json +3 -2
  45. package/esm/components/QFocusTrap/QFocusTrap.d.ts +0 -28
  46. package/esm/components/QFocusTrap/QFocusTrap.d.ts.map +0 -1
  47. package/esm/components/QFocusTrap/QFocusTrap.vue.js +0 -32
  48. package/esm/components/QFocusTrap/QFocusTrap.vue2.js +0 -4
  49. package/esm/components/QFocusTrap/index.d.ts +0 -37
  50. package/esm/components/QFocusTrap/index.d.ts.map +0 -1
  51. package/esm/components/QFocusTrap/index.js +0 -6
  52. package/esm/components/QFocusTrap/types.d.ts +0 -6
  53. package/esm/components/QFocusTrap/types.d.ts.map +0 -1
  54. package/esm/vendors/@vueuse/integrations/useFocusTrap/component.js +0 -24
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.16.43",
2
+ "version": "0.16.45",
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": {
@@ -3183,6 +3194,14 @@
3183
3194
  }
3184
3195
  ],
3185
3196
  "slots": [
3197
+ {
3198
+ "name": "prepend",
3199
+ "description": ""
3200
+ },
3201
+ {
3202
+ "name": "append",
3203
+ "description": ""
3204
+ },
3186
3205
  {
3187
3206
  "name": "item",
3188
3207
  "description": ""
@@ -3223,6 +3242,11 @@
3223
3242
  "title": "Submenus",
3224
3243
  "description": "A dropdown menu with submenus.",
3225
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>"
3226
3250
  }
3227
3251
  ]
3228
3252
  },
@@ -3547,62 +3571,6 @@
3547
3571
  }
3548
3572
  ]
3549
3573
  },
3550
- {
3551
- "name": "QFocusTrap",
3552
- "meta": {
3553
- "props": [
3554
- {
3555
- "name": "disabled",
3556
- "type": {
3557
- "kind": "primitive",
3558
- "name": "boolean"
3559
- },
3560
- "description": "",
3561
- "required": false
3562
- },
3563
- {
3564
- "name": "options",
3565
- "type": {
3566
- "kind": "object",
3567
- "fields": {}
3568
- },
3569
- "description": "",
3570
- "required": false
3571
- },
3572
- {
3573
- "name": "as",
3574
- "type": {
3575
- "kind": "union",
3576
- "types": [
3577
- {
3578
- "name": "string"
3579
- },
3580
- {
3581
- "name": "other",
3582
- "value": "object"
3583
- }
3584
- ]
3585
- },
3586
- "description": "The element that the component should be rendered as",
3587
- "required": false
3588
- }
3589
- ],
3590
- "events": [
3591
- {
3592
- "name": "update:disabled",
3593
- "description": "",
3594
- "type": "[value: boolean]"
3595
- }
3596
- ],
3597
- "slots": [
3598
- {
3599
- "name": "default",
3600
- "description": ""
3601
- }
3602
- ]
3603
- },
3604
- "examples": []
3605
- },
3606
3574
  {
3607
3575
  "name": "QGroupBox",
3608
3576
  "description": "A container with a title that groups related content.",
@@ -4710,6 +4678,17 @@
4710
4678
  "description": "Whether to enable focus trapping within the overlay.\nWhen enabled, focus will be constrained to elements within the overlay.",
4711
4679
  "required": false,
4712
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"
4713
4692
  }
4714
4693
  ],
4715
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
@@ -4386,6 +4386,7 @@ body *::-webkit-scrollbar-track {
4386
4386
  gap: 0.1rem;
4387
4387
  overflow: hidden;
4388
4388
  width: 100%;
4389
+ height: 1.35rem;
4389
4390
  }
4390
4391
  .q-select__badge-container .q-select__badge-count {
4391
4392
  font-weight: 900;
@@ -4394,7 +4395,6 @@ body *::-webkit-scrollbar-track {
4394
4395
  visibility: hidden;
4395
4396
  }
4396
4397
  .q-select__badge-container .q-badge__content {
4397
- height: 0.85em;
4398
4398
  white-space: nowrap;
4399
4399
  }
4400
4400
  .q-select__placeholder {