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/.npm/_cacache/content-v2/sha512/{83/fd/9894053424a620cf87e798b5e1118f232e130974d0a9030f9d2f7c799490c5c88240737f891f4fe84a6fe254433351d3b44375f33d8c014f10e0be0ae48d → 54/48/2f4eae643f1dd67c1bbd859f7eaa7fd04bb6909b3bbc72cbd32cd7ef0e04af763cc75c0e1bb7cc2916d065c0ac10883ea078f300865a8d718cd79008c1c0} +1 -1
- package/.npm/_cacache/index-v5/64/dc/73c7a26f2e6eb0c711133d96c247da5ecf0eba708cd37c450a7b3c7cb488 +1 -1
- package/.npm/_logs/{2026-10-02T13_56_59_811Z-debug-0.log → 2026-10-05T07_16_11_636Z-debug-0.log} +10 -10
- package/.npm/_logs/{2026-10-02T13_57_00_246Z-debug-0.log → 2026-10-05T07_16_12_109Z-debug-0.log} +2 -2
- package/fesm2022/yukit-web.mjs +15 -3
- package/fesm2022/yukit-web.mjs.map +1 -1
- package/package.json +1 -1
- package/types/yukit-web.d.ts +13 -0
package/package.json
CHANGED
package/types/yukit-web.d.ts
CHANGED
|
@@ -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>;
|