yukit-web 0.2.2 → 0.2.4

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "yukit-web",
3
3
  "description": "Angular UI component library for Yurest web applications.",
4
- "version": "0.2.2",
4
+ "version": "0.2.4",
5
5
  "author": {
6
6
  "name": "Yurest Solutions",
7
7
  "email": "develop@yurest.com"
@@ -467,6 +467,9 @@ declare class YuwButtonComponent {
467
467
  * first: this entry's `selectedColor`, then its `color`, then the group's `selectedColor`, then the
468
468
  * group's `color`. An entry declaring `selectedColor` therefore keeps it even in a group that sets
469
469
  * its own, which is the point — the entry is the specific case.
470
+ *
471
+ * `class` adds classes to this entry's button, merged last so they win; use it for one-off tweaks
472
+ * such as `border-0` on the selected entry.
470
473
  */
471
474
  interface YuwButtonGroupItemDto {
472
475
  id: string;
@@ -484,6 +487,7 @@ interface YuwButtonGroupItemDto {
484
487
  target?: string;
485
488
  type?: 'button' | 'submit' | 'reset';
486
489
  ariaLabel?: string;
490
+ class?: string;
487
491
  tooltip?: string;
488
492
  yuwDropdownMenuTrigger?: TemplateRef<unknown>;
489
493
  }
@@ -1439,6 +1443,10 @@ declare class YuwSkeletonDirective {
1439
1443
  * Grid of projected cards, usually `yuw-card-grid-item`s in an `@for`. `loading` shows
1440
1444
  * `skeletonCount` placeholders shaped by `skeletonClass`; `empty` shows `emptyText`; `columnsClass`
1441
1445
  * holds the Tailwind column utilities.
1446
+ *
1447
+ * `YuwCardGridComponent.COLUMNS` holds the column classes admin lists share per view mode — `list`
1448
+ * is one column, `block` grows from one to five, and `tags` packs small tag cards up to six — so every listing lays out its cards the same
1449
+ * way: `[columnsClass]="YuwCardGridComponent.COLUMNS[mode]"`.
1442
1450
  */
1443
1451
  declare class YuwCardGridComponent {
1444
1452
  readonly columnsClass: _angular_core.InputSignal<string>;
@@ -1447,6 +1455,11 @@ declare class YuwCardGridComponent {
1447
1455
  readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
1448
1456
  readonly skeletonClass: _angular_core.InputSignal<string>;
1449
1457
  readonly skeletonCount: _angular_core.InputSignalWithTransform<number, unknown>;
1458
+ static readonly COLUMNS: {
1459
+ readonly list: "grid-cols-1";
1460
+ readonly block: "grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 2xl:grid-cols-5";
1461
+ readonly tags: "grid-cols-1 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 2xl:grid-cols-6";
1462
+ };
1450
1463
  protected readonly skeletons: _angular_core.Signal<number[]>;
1451
1464
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<YuwCardGridComponent, never>;
1452
1465
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<YuwCardGridComponent, "yuw-card-grid", never, { "columnsClass": { "alias": "columnsClass"; "required": false; "isSignal": true; }; "empty": { "alias": "empty"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": true; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "skeletonClass": { "alias": "skeletonClass"; "required": false; "isSignal": true; }; "skeletonCount": { "alias": "skeletonCount"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;