@quidgest/ui 0.16.20 → 0.16.22

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 (50) hide show
  1. package/dist/manifest/components.json +1 -0
  2. package/dist/ui.css +249 -1
  3. package/dist/ui.esm.js +5242 -4967
  4. package/dist/ui.js +19 -19
  5. package/dist/ui.min.css +1 -1
  6. package/dist/ui.min.js +789 -765
  7. package/dist/ui.scss +221 -2
  8. package/esm/components/QCarousel/QCarousel.d.ts +44 -0
  9. package/esm/components/QCarousel/QCarousel.d.ts.map +1 -0
  10. package/esm/components/QCarousel/QCarousel.vue.js +355 -0
  11. package/esm/components/QCarousel/QCarousel.vue2.js +4 -0
  12. package/esm/components/QCarousel/constants.d.ts +14 -0
  13. package/esm/components/QCarousel/constants.d.ts.map +1 -0
  14. package/esm/components/QCarousel/constants.js +16 -0
  15. package/esm/components/QCarousel/index.d.ts +119 -0
  16. package/esm/components/QCarousel/index.d.ts.map +1 -0
  17. package/esm/components/QCarousel/index.js +6 -0
  18. package/esm/components/QCarousel/types.d.ts +79 -0
  19. package/esm/components/QCarousel/types.d.ts.map +1 -0
  20. package/esm/components/QCombobox/QCombobox.d.ts +22 -72
  21. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  22. package/esm/components/QCombobox/index.d.ts +19 -44
  23. package/esm/components/QCombobox/index.d.ts.map +1 -1
  24. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +18 -68
  25. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
  26. package/esm/components/QGrid/QRow.d.ts +1 -1
  27. package/esm/components/QGrid/index.d.ts +3 -3
  28. package/esm/components/QList/QList.d.ts +5 -10
  29. package/esm/components/QList/QList.d.ts.map +1 -1
  30. package/esm/components/QList/QList.vue.js +94 -96
  31. package/esm/components/QList/index.d.ts +10 -48
  32. package/esm/components/QList/index.d.ts.map +1 -1
  33. package/esm/components/QList/types.d.ts +5 -1
  34. package/esm/components/QList/types.d.ts.map +1 -1
  35. package/esm/components/QSelect/QSelect.d.ts +22 -72
  36. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  37. package/esm/components/QSelect/QSelect.vue.js +18 -18
  38. package/esm/components/QSelect/index.d.ts +19 -44
  39. package/esm/components/QSelect/index.d.ts.map +1 -1
  40. package/esm/components/QTextArea/QTextArea.d.ts +1 -1
  41. package/esm/components/QTextArea/index.d.ts +3 -3
  42. package/esm/components/QToggleGroup/types.d.ts +1 -1
  43. package/esm/components/index.d.ts +1 -0
  44. package/esm/components/index.d.ts.map +1 -1
  45. package/esm/components/index.js +90 -88
  46. package/esm/composables/useGroup/index.d.ts +4 -2
  47. package/esm/composables/useGroup/index.d.ts.map +1 -1
  48. package/esm/composables/useGroup/index.js +26 -24
  49. package/esm/index.d.ts +1 -0
  50. package/package.json +1 -1
@@ -7,6 +7,7 @@
7
7
  "QButton",
8
8
  "QButtonGroup",
9
9
  "QCard",
10
+ "QCarousel",
10
11
  "QCheckbox",
11
12
  "QCheckboxLabel",
12
13
  "QCollapsible",
package/dist/ui.css CHANGED
@@ -274,6 +274,15 @@ a:focus {
274
274
  outline: 2px solid rgb(var(--q-theme-info-rgb)/50%);
275
275
  }
276
276
 
277
+ h1,
278
+ h2,
279
+ h3,
280
+ h4,
281
+ h5,
282
+ h6 {
283
+ text-transform: uppercase;
284
+ }
285
+
277
286
  .fade-enter-from,
278
287
  .fade-leave-to {
279
288
  opacity: 0;
@@ -1070,6 +1079,246 @@ a:focus {
1070
1079
  --card-width: 100%;
1071
1080
  }
1072
1081
 
1082
+ .q-carousel {
1083
+ --q-carousel-height: 360px;
1084
+ position: relative;
1085
+ overflow: hidden;
1086
+ width: 100%;
1087
+ height: var(--q-carousel-height);
1088
+ border-radius: 0.25rem;
1089
+ background-color: var(--q-theme-neutral-light);
1090
+ outline: none;
1091
+ }
1092
+
1093
+ .q-carousel__track {
1094
+ display: flex;
1095
+ width: 100%;
1096
+ height: 100%;
1097
+ will-change: transform;
1098
+ }
1099
+
1100
+ .q-carousel__slide {
1101
+ flex: 0 0 100%;
1102
+ width: 100%;
1103
+ height: 100%;
1104
+ position: relative;
1105
+ cursor: pointer;
1106
+ -webkit-user-select: none;
1107
+ -moz-user-select: none;
1108
+ user-select: none;
1109
+ overflow: hidden;
1110
+ }
1111
+
1112
+ .q-carousel__image {
1113
+ width: 100%;
1114
+ height: 100%;
1115
+ -o-object-fit: cover;
1116
+ object-fit: cover;
1117
+ }
1118
+
1119
+ /* Captions (centered, above indicators) */
1120
+ .q-carousel__caption-global {
1121
+ position: absolute;
1122
+ bottom: 3.5rem;
1123
+ left: 50%;
1124
+ transform: translateX(-50%);
1125
+ text-align: center;
1126
+ color: white;
1127
+ z-index: 20;
1128
+ max-width: 80%;
1129
+ }
1130
+
1131
+ .q-carousel__title {
1132
+ margin: 0 0 0.25rem;
1133
+ font-size: 2rem;
1134
+ font-weight: 600;
1135
+ text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
1136
+ }
1137
+
1138
+ .q-carousel__subtitle {
1139
+ margin: 0;
1140
+ font-size: 1.1rem;
1141
+ opacity: 0.9;
1142
+ text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
1143
+ }
1144
+
1145
+ /* Indicators - horizontal bars */
1146
+ .q-carousel__indicators {
1147
+ position: absolute;
1148
+ bottom: 1rem;
1149
+ left: 50%;
1150
+ transform: translateX(-50%);
1151
+ display: flex;
1152
+ gap: 0.5rem;
1153
+ margin: 0;
1154
+ padding: 0;
1155
+ list-style: none;
1156
+ z-index: 10;
1157
+ }
1158
+
1159
+ .q-carousel__indicator {
1160
+ position: relative; /* Needed for pseudo-element positioning */
1161
+ width: 30px;
1162
+ height: 4px;
1163
+ border-radius: 2px;
1164
+ background-color: rgba(255, 255, 255, 0.5);
1165
+ cursor: pointer;
1166
+ transition: all 0.3s ease;
1167
+ overflow: hidden; /* Hide overflow of the progress bar */
1168
+ }
1169
+
1170
+ .q-carousel__indicator:hover {
1171
+ background-color: rgba(255, 255, 255, 0.8);
1172
+ }
1173
+
1174
+ .q-carousel__indicator--active {
1175
+ background-color: white;
1176
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
1177
+ }
1178
+
1179
+ /* Progress bar for active indicator */
1180
+ .q-carousel__indicator--active::before {
1181
+ content: "";
1182
+ position: absolute;
1183
+ top: 0;
1184
+ left: 0;
1185
+ height: 100%;
1186
+ background-color: rgba(0, 0, 0, 0.2); /* A slightly darker shade to show progress */
1187
+ width: var(--q-carousel-progress-width); /* Controlled by progressValue */
1188
+ transition: width 0.05s linear; /* Smooth, linear transition */
1189
+ will-change: width;
1190
+ }
1191
+
1192
+ /* Controls */
1193
+ .q-carousel__control {
1194
+ position: absolute;
1195
+ top: 50%;
1196
+ transform: translateY(-50%);
1197
+ background: rgba(0, 0, 0, 0.5);
1198
+ border: none;
1199
+ border-radius: 50%;
1200
+ width: 48px;
1201
+ height: 48px;
1202
+ display: flex;
1203
+ align-items: center;
1204
+ justify-content: center;
1205
+ cursor: pointer;
1206
+ z-index: 10;
1207
+ -webkit-backdrop-filter: blur(4px);
1208
+ backdrop-filter: blur(4px);
1209
+ color: white;
1210
+ }
1211
+
1212
+ .q-carousel__control:hover {
1213
+ background: rgba(0, 0, 0, 0.7);
1214
+ }
1215
+
1216
+ .q-carousel__control--prev {
1217
+ left: 1rem;
1218
+ }
1219
+
1220
+ .q-carousel__control--next {
1221
+ right: 1rem;
1222
+ }
1223
+
1224
+ .q-carousel__control-icon.q-icon {
1225
+ width: 24px;
1226
+ height: 24px;
1227
+ }
1228
+
1229
+ .q-carousel__skeleton {
1230
+ position: relative;
1231
+ width: 100%;
1232
+ height: 100%;
1233
+ }
1234
+
1235
+ .q-carousel__skeleton-caption {
1236
+ position: absolute;
1237
+ bottom: 20%;
1238
+ left: 50%;
1239
+ transform: translateX(-50%);
1240
+ display: flex;
1241
+ flex-direction: column;
1242
+ align-items: center;
1243
+ gap: 8px;
1244
+ width: 100%;
1245
+ max-width: 600px;
1246
+ }
1247
+
1248
+ .q-carousel__skeleton-controls {
1249
+ position: absolute;
1250
+ top: 50%;
1251
+ left: 0;
1252
+ right: 0;
1253
+ display: flex;
1254
+ justify-content: space-between;
1255
+ padding: 0 16px;
1256
+ transform: translateY(-50%);
1257
+ }
1258
+
1259
+ .q-carousel__skeleton-caption .q-skeleton-loader__bone,
1260
+ .q-carousel__skeleton-controls .q-skeleton-loader__bone {
1261
+ background-color: var(--q-theme-neutral);
1262
+ }
1263
+
1264
+ .q-carousel__empty-container {
1265
+ display: flex;
1266
+ align-items: center;
1267
+ justify-content: center;
1268
+ width: 100%;
1269
+ height: 100%;
1270
+ }
1271
+
1272
+ .q-carousel__sr-only {
1273
+ position: absolute;
1274
+ width: 1px;
1275
+ height: 1px;
1276
+ padding: 0;
1277
+ margin: -1px;
1278
+ overflow: hidden;
1279
+ clip: rect(0, 0, 0, 0);
1280
+ white-space: nowrap;
1281
+ border: 0;
1282
+ }
1283
+
1284
+ @media (max-width: 768px) {
1285
+ .q-carousel {
1286
+ --q-carousel-height: 300px;
1287
+ }
1288
+ .q-carousel__caption-global {
1289
+ bottom: 3rem;
1290
+ max-width: 90%;
1291
+ }
1292
+ .q-carousel__title {
1293
+ font-size: 1.5rem;
1294
+ }
1295
+ .q-carousel__subtitle {
1296
+ font-size: 1rem;
1297
+ }
1298
+ .q-carousel__control {
1299
+ width: 40px;
1300
+ height: 40px;
1301
+ }
1302
+ .q-carousel__control-icon svg {
1303
+ width: 16px;
1304
+ height: 16px;
1305
+ }
1306
+ .q-carousel__control--prev {
1307
+ left: 0.5rem;
1308
+ }
1309
+ .q-carousel__control--next {
1310
+ right: 0.5rem;
1311
+ }
1312
+ }
1313
+ .q-carousel:focus-visible {
1314
+ outline: 2px solid rgb(var(--q-theme-info-rgb)/50%);
1315
+ }
1316
+
1317
+ .q-carousel__control:focus-visible,
1318
+ .q-carousel__indicator:focus-visible {
1319
+ outline: 2px solid rgb(var(--q-theme-info-rgb)/50%);
1320
+ }
1321
+
1073
1322
  .q-checkbox {
1074
1323
  --box-size: 1.15rem;
1075
1324
  --icon-color: var(--q-theme-on-primary);
@@ -1228,7 +1477,6 @@ a:focus {
1228
1477
  }
1229
1478
  .q-collapsible__btn .q-button__content h4 {
1230
1479
  margin: 0;
1231
- text-transform: uppercase;
1232
1480
  }
1233
1481
  .q-collapsible__title {
1234
1482
  display: flex;