@quidgest/ui 0.10.0 → 0.11.0

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.
package/dist/index.d.ts CHANGED
@@ -93,7 +93,10 @@ declare type FrameworkConfig = {
93
93
  };
94
94
 
95
95
  declare type Group = QListItemGroupProps & {
96
- id: string;
96
+ /**
97
+ * Whether the entire item group is disabled.
98
+ */
99
+ disabled?: boolean;
97
100
  };
98
101
 
99
102
  export declare type Icon = {
@@ -2161,7 +2164,7 @@ export declare const QList: {
2161
2164
  };
2162
2165
  groups: {
2163
2166
  type: PropType<(QListItemGroupProps & {
2164
- id: string;
2167
+ disabled?: boolean | undefined;
2165
2168
  })[]>;
2166
2169
  default: () => never[];
2167
2170
  };
@@ -2200,7 +2203,7 @@ export declare const QList: {
2200
2203
  };
2201
2204
  groups: {
2202
2205
  type: PropType<(QListItemGroupProps & {
2203
- id: string;
2206
+ disabled?: boolean | undefined;
2204
2207
  })[]>;
2205
2208
  default: () => never[];
2206
2209
  };
@@ -2216,7 +2219,7 @@ export declare const QList: {
2216
2219
  class: string | unknown[];
2217
2220
  highlighted: Primitive;
2218
2221
  groups: (QListItemGroupProps & {
2219
- id: string;
2222
+ disabled?: boolean | undefined;
2220
2223
  })[];
2221
2224
  itemValue: string;
2222
2225
  itemLabel: string;
@@ -2248,7 +2251,7 @@ export declare const QList: {
2248
2251
  };
2249
2252
  groups: {
2250
2253
  type: PropType<(QListItemGroupProps & {
2251
- id: string;
2254
+ disabled?: boolean | undefined;
2252
2255
  })[]>;
2253
2256
  default: () => never[];
2254
2257
  };
@@ -2270,7 +2273,7 @@ export declare const QList: {
2270
2273
  class: string | unknown[];
2271
2274
  highlighted: Primitive;
2272
2275
  groups: (QListItemGroupProps & {
2273
- id: string;
2276
+ disabled?: boolean | undefined;
2274
2277
  })[];
2275
2278
  itemValue: string;
2276
2279
  itemLabel: string;
@@ -2299,7 +2302,7 @@ export declare const QList: {
2299
2302
  };
2300
2303
  groups: {
2301
2304
  type: PropType<(QListItemGroupProps & {
2302
- id: string;
2305
+ disabled?: boolean | undefined;
2303
2306
  })[]>;
2304
2307
  default: () => never[];
2305
2308
  };
@@ -2321,7 +2324,7 @@ export declare const QList: {
2321
2324
  class: string | unknown[];
2322
2325
  highlighted: Primitive;
2323
2326
  groups: (QListItemGroupProps & {
2324
- id: string;
2327
+ disabled?: boolean | undefined;
2325
2328
  })[];
2326
2329
  itemValue: string;
2327
2330
  itemLabel: string;
@@ -2484,16 +2487,18 @@ export declare const QListItemGroup: {
2484
2487
  type: PropType<string>;
2485
2488
  default: string;
2486
2489
  };
2487
- disabled: {
2488
- type: PropType<boolean>;
2490
+ id: {
2491
+ type: PropType<string>;
2492
+ required: true;
2489
2493
  };
2490
2494
  }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
2491
2495
  title: {
2492
2496
  type: PropType<string>;
2493
2497
  default: string;
2494
2498
  };
2495
- disabled: {
2496
- type: PropType<boolean>;
2499
+ id: {
2500
+ type: PropType<string>;
2501
+ required: true;
2497
2502
  };
2498
2503
  }>>, {
2499
2504
  title: string;
@@ -2509,8 +2514,9 @@ export declare const QListItemGroup: {
2509
2514
  type: PropType<string>;
2510
2515
  default: string;
2511
2516
  };
2512
- disabled: {
2513
- type: PropType<boolean>;
2517
+ id: {
2518
+ type: PropType<string>;
2519
+ required: true;
2514
2520
  };
2515
2521
  }>>, {}, {}, {}, {}, {
2516
2522
  title: string;
@@ -2523,8 +2529,9 @@ export declare const QListItemGroup: {
2523
2529
  type: PropType<string>;
2524
2530
  default: string;
2525
2531
  };
2526
- disabled: {
2527
- type: PropType<boolean>;
2532
+ id: {
2533
+ type: PropType<string>;
2534
+ required: true;
2528
2535
  };
2529
2536
  }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
2530
2537
  title: string;
@@ -2536,13 +2543,13 @@ export declare const QListItemGroup: {
2536
2543
 
2537
2544
  export declare type QListItemGroupProps = {
2538
2545
  /**
2539
- * The title of the group.
2546
+ * The id of the group.
2540
2547
  */
2541
- title?: string;
2548
+ id: string;
2542
2549
  /**
2543
- * Whether the entire list group is disabled.
2550
+ * The title of the group.
2544
2551
  */
2545
- disabled?: boolean;
2552
+ title?: string;
2546
2553
  };
2547
2554
 
2548
2555
  export declare type QListItemProps = {
@@ -3463,6 +3470,38 @@ export declare const QSelect: {
3463
3470
  };
3464
3471
  });
3465
3472
 
3473
+ export declare const QSkeletonLoader: DefineComponent<{
3474
+ type: {
3475
+ type: PropType<"text" | "icon">;
3476
+ default: undefined;
3477
+ };
3478
+ height: {
3479
+ type: PropType<string | number>;
3480
+ default: undefined;
3481
+ };
3482
+ width: {
3483
+ type: PropType<string | number>;
3484
+ default: undefined;
3485
+ };
3486
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
3487
+ type: {
3488
+ type: PropType<"text" | "icon">;
3489
+ default: undefined;
3490
+ };
3491
+ height: {
3492
+ type: PropType<string | number>;
3493
+ default: undefined;
3494
+ };
3495
+ width: {
3496
+ type: PropType<string | number>;
3497
+ default: undefined;
3498
+ };
3499
+ }>>, {
3500
+ type: "text" | "icon";
3501
+ height: string | number;
3502
+ width: string | number;
3503
+ }, {}>;
3504
+
3466
3505
  export declare const QSpinnerLoader: DefineComponent<{
3467
3506
  size: {
3468
3507
  type: PropType<number>;
package/dist/ui.css CHANGED
@@ -495,8 +495,14 @@ body *::-webkit-scrollbar-track {
495
495
  display: flex;
496
496
  align-items: center;
497
497
  }
498
+ .q-field__prepend {
499
+ padding-right: 0.25rem;
500
+ padding-left: 0.05rem;
501
+ }
498
502
  .q-field__append {
499
503
  margin-left: auto;
504
+ padding-left: 0.25rem;
505
+ padding-right: 0.05rem;
500
506
  }
501
507
  .q-field--required > .q-field__label label::after {
502
508
  content: " *";
@@ -899,6 +905,51 @@ body *::-webkit-scrollbar-track {
899
905
  margin: 1rem 0;
900
906
  }
901
907
 
908
+ .q-skeleton-loader__bone {
909
+ display: inline-flex;
910
+ width: 100%;
911
+ height: 100%;
912
+ position: relative;
913
+ overflow: hidden;
914
+ background-color: var(--q-theme-neutral-light);
915
+ animation: fadeIn 1s;
916
+ border-radius: 0.25rem;
917
+ }
918
+ .q-skeleton-loader__bone::after {
919
+ position: absolute;
920
+ top: 0;
921
+ right: 0;
922
+ bottom: 0;
923
+ left: 0;
924
+ transform: translateX(-100%);
925
+ background-image: linear-gradient(90deg, rgb(var(--q-theme-background-rgb)/0) 0, rgb(var(--q-theme-background-rgb)/0.2) 20%, rgb(var(--q-theme-background-rgb)/0.5) 60%, rgb(var(--q-theme-background-rgb)/0));
926
+ animation: shimmer 2s infinite;
927
+ content: "";
928
+ }
929
+ .q-skeleton-loader--text {
930
+ height: 1em;
931
+ }
932
+ .q-skeleton-loader--icon {
933
+ width: 20px;
934
+ height: 20px;
935
+ }
936
+ .q-skeleton-loader--icon .q-skeleton-loader__bone {
937
+ border-radius: 50%;
938
+ }
939
+ @keyframes shimmer {
940
+ 100% {
941
+ transform: translateX(100%);
942
+ }
943
+ }
944
+ @keyframes fadeIn {
945
+ 0% {
946
+ opacity: 0;
947
+ }
948
+ 100% {
949
+ opacity: 1;
950
+ }
951
+ }
952
+
902
953
  .q-spinner-loader {
903
954
  font-size: 48px;
904
955
  width: 1em;