@quidgest/ui 0.16.73 → 0.16.75

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 (34) hide show
  1. package/dist/json/api.json +31 -1
  2. package/dist/ui.css +57 -11
  3. package/dist/ui.esm.js +6614 -6541
  4. package/dist/ui.js +25 -25
  5. package/dist/ui.min.css +1 -1
  6. package/dist/ui.min.js +142 -137
  7. package/dist/ui.scss +52 -4
  8. package/esm/components/QCheckbox/QCheckbox.d.ts.map +1 -1
  9. package/esm/components/QCheckbox/QCheckbox.vue.js +18 -16
  10. package/esm/components/QCheckbox/index.d.ts +3 -0
  11. package/esm/components/QCheckbox/index.d.ts.map +1 -1
  12. package/esm/components/QCheckbox/types.d.ts +6 -0
  13. package/esm/components/QCheckbox/types.d.ts.map +1 -1
  14. package/esm/components/QCombobox/QCombobox.d.ts +2 -0
  15. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  16. package/esm/components/QCombobox/index.d.ts +1 -0
  17. package/esm/components/QCombobox/index.d.ts.map +1 -1
  18. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +2 -0
  19. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
  20. package/esm/components/QList/QList.d.ts +2 -0
  21. package/esm/components/QList/QList.d.ts.map +1 -1
  22. package/esm/components/QList/QList.vue.js +17 -16
  23. package/esm/components/QList/QListItem.d.ts.map +1 -1
  24. package/esm/components/QList/QListItem.vue.js +50 -49
  25. package/esm/components/QList/index.d.ts +1 -0
  26. package/esm/components/QList/index.d.ts.map +1 -1
  27. package/esm/components/QList/types.d.ts +6 -0
  28. package/esm/components/QList/types.d.ts.map +1 -1
  29. package/esm/components/QSelect/QSelect.d.ts +154 -2
  30. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  31. package/esm/components/QSelect/QSelect.vue.js +410 -310
  32. package/esm/components/QSelect/index.d.ts +77 -1
  33. package/esm/components/QSelect/index.d.ts.map +1 -1
  34. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.16.73",
2
+ "version": "0.16.75",
3
3
  "components": [
4
4
  {
5
5
  "name": "QAccordion",
@@ -1449,6 +1449,16 @@
1449
1449
  "default": "true",
1450
1450
  "required": false,
1451
1451
  "category": "Behavior"
1452
+ },
1453
+ {
1454
+ "name": "borderless",
1455
+ "type": {
1456
+ "kind": "primitive",
1457
+ "name": "boolean"
1458
+ },
1459
+ "description": "If true, the checkbox has no borders.",
1460
+ "required": false,
1461
+ "category": "Presentation"
1452
1462
  }
1453
1463
  ],
1454
1464
  "events": [
@@ -1510,6 +1520,11 @@
1510
1520
  "title": "Extras",
1511
1521
  "description": "Displays additional information in the `extras` slot.",
1512
1522
  "code": "<q-checkbox v-bind=args>\n\t\t\t\t<template #extras>\n\t\t\t\t\tBy clicking this checkbox, you agree to the terms and conditions.\n\t\t\t\t</template>\n\t\t\t</q-checkbox>"
1523
+ },
1524
+ {
1525
+ "title": "Borderless",
1526
+ "description": "Displays borderless checkbox.",
1527
+ "code": "<QCheckbox :label=\"Accept terms and conditions\" :borderless=\"true\" :model-value=\"true\" />"
1513
1528
  }
1514
1529
  ]
1515
1530
  },
@@ -4605,6 +4620,11 @@
4605
4620
  "description": "Allows the user to select items from the list.",
4606
4621
  "code": "<QList :items=\"[\n\t\t\t{ key: 'item1', label: 'Item 1' },\n\t\t\t{ key: 'item2', label: 'Item 2' },\n\t\t\t{ key: 'item3', label: 'Item 3' }\n\t\t]\" :multiple=\"true\" />"
4607
4622
  },
4623
+ {
4624
+ "title": "Multiple With Description",
4625
+ "description": "Allows the user to select items from the list with icons.",
4626
+ "code": "<QList :items=\"[\n\t\t\t{\n\t\t\t\ticon: { icon: 'content-copy' },\n\t\t\t\tkey: 'item1',\n\t\t\t\tlabel: 'Item 1',\n\t\t\t\tdescription: 'Description for items'\n\t\t\t},\n\t\t\t{\n\t\t\t\ticon: { icon: 'content-duplicate' },\n\t\t\t\tkey: 'item2',\n\t\t\t\tlabel: 'Item 2',\n\t\t\t\tdescription: 'This item is nice :)'\n\t\t\t},\n\t\t\t{\n\t\t\t\ticon: { icon: 'content-paste' },\n\t\t\t\tkey: 'item3',\n\t\t\t\tlabel: 'Item 3',\n\t\t\t\tdescription: 'This is a description for this item'\n\t\t\t}\n\t\t]\" :multiple=\"true\" />"
4627
+ },
4608
4628
  {
4609
4629
  "title": "Selectable And Required",
4610
4630
  "description": "Allows the user to select items from the list and requires at least one item to be selected.",
@@ -6458,6 +6478,16 @@
6458
6478
  "description": "Allows the selection of multiple items.",
6459
6479
  "code": "<QSelect :items=\"[\n\t\t\t{ key: 'italic', label: 'Italic' },\n\t\t\t{ key: 'bold', label: 'Bold' },\n\t\t\t{ key: 'underlined', label: 'Underlined' },\n\t\t\t{ key: 'strikethrough', label: 'Strikethrough' },\n\t\t\t{ key: 'superscript', label: 'Superscript' },\n\t\t\t{ key: 'subscript', label: 'Subscript' },\n\t\t\t{ key: 'uppercase', label: 'Uppercase' },\n\t\t\t{ key: 'lowercase', label: 'Lowercase' },\n\t\t\t{ key: 'capitalize', label: 'Capitalize' },\n\t\t\t{ key: 'highlight', label: 'Highlight' }\n\t\t]\" :multiple=\"true\" />"
6460
6480
  },
6481
+ {
6482
+ "title": "Multiple With Description",
6483
+ "description": "Allows the selection of multiple items with description.",
6484
+ "code": "<QSelect :items=\"[\n\t\t\t{\n\t\t\t\tkey: 'copy',\n\t\t\t\tlabel: 'Copy',\n\t\t\t\ticon: { icon: 'content-copy' },\n\t\t\t\tdescription: 'Is used to duplicate the selected information.'\n\t\t\t},\n\t\t\t{\n\t\t\t\tkey: 'cut',\n\t\t\t\tlabel: 'Cut',\n\t\t\t\ticon: { icon: 'content-cut' },\n\t\t\t\tdescription:\n\t\t\t\t\t'This allows the cut information to be pasted in another location, effectively moving it from its original place to a new one.'\n\t\t\t},\n\t\t\t{\n\t\t\t\tkey: 'duplicate',\n\t\t\t\tlabel: 'Duplicate',\n\t\t\t\ticon: { icon: 'content-duplicate' },\n\t\t\t\tdescription:\n\t\t\t\t\t'Is used to create an exact copy of the selected item. Does not rely on the clipboard'\n\t\t\t},\n\t\t\t{\n\t\t\t\tkey: 'paste',\n\t\t\t\tlabel: 'Paste',\n\t\t\t\ticon: { icon: 'content-paste' },\n\t\t\t\tdescription: \"Is used to insert the information stored in the system's clipboard.\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tkey: 'save',\n\t\t\t\tlabel: 'Save',\n\t\t\t\ticon: { icon: 'content-save' },\n\t\t\t\tdescription:\n\t\t\t\t\t'Is used to store the current state of a document, file, or project to a specified location on a storage device.'\n\t\t\t}\n\t\t]\" :multiple=\"true\" />"
6485
+ },
6486
+ {
6487
+ "title": "Multiple With Icons",
6488
+ "description": "Allows the selection of multiple items with icon.",
6489
+ "code": "<QSelect :items=\"[\n\t\t\t{\n\t\t\t\tkey: 'copy',\n\t\t\t\tlabel: 'Copy',\n\t\t\t\ticon: { icon: 'content-copy' }\n\t\t\t},\n\t\t\t{\n\t\t\t\tkey: 'cut',\n\t\t\t\tlabel: 'Cut',\n\t\t\t\ticon: { icon: 'content-cut' }\n\t\t\t},\n\t\t\t{\n\t\t\t\tkey: 'duplicate',\n\t\t\t\tlabel: 'Duplicate',\n\t\t\t\ticon: { icon: 'content-duplicate' }\n\t\t\t},\n\t\t\t{\n\t\t\t\tkey: 'paste',\n\t\t\t\tlabel: 'Paste',\n\t\t\t\ticon: { icon: 'content-paste' }\n\t\t\t},\n\t\t\t{\n\t\t\t\tkey: 'save',\n\t\t\t\tlabel: 'Save',\n\t\t\t\ticon: { icon: 'content-save' }\n\t\t\t}\n\t\t]\" :multiple=\"true\" />"
6490
+ },
6461
6491
  {
6462
6492
  "title": "Badges",
6463
6493
  "description": "Displays the selected options as badges.",
package/dist/ui.css CHANGED
@@ -1468,12 +1468,28 @@ body *::-webkit-scrollbar-track {
1468
1468
  --active-color: var(--q-theme-neutral-light);
1469
1469
  cursor: default;
1470
1470
  }
1471
- .q-checkbox--readonly:not(.q-checkbox--checked):not(.q-checkbox--indeterminate) .q-checkbox__input {
1471
+ .q-checkbox--readonly:not(.q-checkbox--checked):not(.q-checkbox--indeterminate):not(.q-checkbox--borderless) .q-checkbox__input {
1472
1472
  background-color: rgb(var(--q-theme-neutral-light-rgb)/25%);
1473
1473
  }
1474
1474
  .q-checkbox--readonly label {
1475
1475
  cursor: default;
1476
1476
  }
1477
+ .q-checkbox--borderless {
1478
+ --active-color: transparent;
1479
+ }
1480
+ .q-checkbox--borderless:focus-within {
1481
+ outline: 0;
1482
+ }
1483
+ .q-checkbox--borderless .q-checkbox__input {
1484
+ background-color: var(--active-color);
1485
+ border-color: var(--active-color);
1486
+ }
1487
+ .q-checkbox--borderless .q-checkbox__input-icon.q-icon {
1488
+ --icon-color: var(--q-theme-neutral-dark);
1489
+ }
1490
+ .q-checkbox--borderless:not(.q-checkbox--readonly) .q-checkbox__input-icon.q-icon {
1491
+ --icon-color: var(--q-theme-primary);
1492
+ }
1477
1493
 
1478
1494
  @media (prefers-reduced-motion: reduce) {
1479
1495
  .q-checkbox__input,
@@ -3201,22 +3217,28 @@ body *::-webkit-scrollbar-track {
3201
3217
  outline: 2px solid rgb(var(--q-theme-info-rgb)/50%);
3202
3218
  }
3203
3219
  .q-field--mini > .q-field__control {
3204
- width: min(1 * 5em + 0 * 0.25rem, 100%);
3220
+ width: calc(1 * 5em + 0 * 0.25rem);
3221
+ max-width: 100%;
3205
3222
  }
3206
3223
  .q-field--small > .q-field__control {
3207
- width: min(2 * 5em + 1 * 0.25rem, 100%);
3224
+ width: calc(2 * 5em + 1 * 0.25rem);
3225
+ max-width: 100%;
3208
3226
  }
3209
3227
  .q-field--medium > .q-field__control {
3210
- width: min(3 * 5em + 2 * 0.25rem, 100%);
3228
+ width: calc(3 * 5em + 2 * 0.25rem);
3229
+ max-width: 100%;
3211
3230
  }
3212
3231
  .q-field--large > .q-field__control {
3213
- width: min(4 * 5em + 3 * 0.25rem, 100%);
3232
+ width: calc(4 * 5em + 3 * 0.25rem);
3233
+ max-width: 100%;
3214
3234
  }
3215
3235
  .q-field--xlarge > .q-field__control {
3216
- width: min(6 * 5em + 5 * 0.25rem, 100%);
3236
+ width: calc(6 * 5em + 5 * 0.25rem);
3237
+ max-width: 100%;
3217
3238
  }
3218
3239
  .q-field--xxlarge > .q-field__control {
3219
- width: min(8 * 5em + 7 * 0.25rem, 100%);
3240
+ width: calc(8 * 5em + 7 * 0.25rem);
3241
+ max-width: 100%;
3220
3242
  }
3221
3243
  .q-field--block {
3222
3244
  width: 100%;
@@ -4505,6 +4527,11 @@ body *::-webkit-scrollbar-track {
4505
4527
  .q-select:not(.q-select--disabled) .q-select__chevron:hover, .q-select:not(.q-select--disabled) .q-select__chevron:focus {
4506
4528
  opacity: 1;
4507
4529
  }
4530
+ .q-select--readonly .q-badge--disabled, .q-select--disabled .q-badge--disabled {
4531
+ opacity: 1;
4532
+ font-weight: 900;
4533
+ color: var(--q-theme-neutral-dark);
4534
+ }
4508
4535
  .q-select__value, .q-select__placeholder {
4509
4536
  white-space: nowrap;
4510
4537
  overflow: hidden;
@@ -4512,20 +4539,39 @@ body *::-webkit-scrollbar-track {
4512
4539
  pointer-events: none;
4513
4540
  min-height: 1lh;
4514
4541
  }
4515
- .q-select__badge-container {
4542
+ .q-select__multi-value {
4543
+ white-space: nowrap;
4544
+ overflow: hidden;
4545
+ text-overflow: ellipsis;
4546
+ pointer-events: none;
4547
+ min-height: 1lh;
4548
+ display: inline-flex;
4549
+ align-items: center;
4550
+ min-width: 0;
4551
+ max-width: 100%;
4552
+ }
4553
+ .q-select__multi-value--hidden {
4554
+ visibility: hidden;
4555
+ position: absolute;
4556
+ pointer-events: none;
4557
+ }
4558
+ .q-select__value-container {
4516
4559
  display: flex;
4517
4560
  gap: 0.1rem;
4518
4561
  overflow: hidden;
4519
4562
  width: 100%;
4520
4563
  height: 1.35rem;
4521
4564
  }
4522
- .q-select__badge-container .q-select__badge-count {
4565
+ .q-select__value-container .q-select__badge-count {
4523
4566
  font-weight: 900;
4524
4567
  }
4525
- .q-select__badge-container .q-select__badge-hidden {
4568
+ .q-select__value-container .q-select__badge-count--clickable {
4569
+ cursor: pointer;
4570
+ }
4571
+ .q-select__value-container .q-select__badge-hidden {
4526
4572
  visibility: hidden;
4527
4573
  }
4528
- .q-select__badge-container .q-badge__content {
4574
+ .q-select__value-container .q-badge__content {
4529
4575
  white-space: nowrap;
4530
4576
  }
4531
4577
  .q-select__placeholder {