yukit-web 0.2.6 → 0.2.7
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/{be/c2/585d18647dc09d0105a4f4d5412bb462eb496cf66739c4781f22f5ae7141f2e0dfc4117b26615f3f07d02d76e36cb35d52c9f8fa5a029f2cdbe36b5c9a08 → ef/55/687c01abb9f14dd078e36526cf974d1f614a71529b0080d2fbb7da2c77a6d4e49579457f7a81861d934ee2458b2e5b0556132b1ef825192ddf528c7a773e} +1 -1
- package/.npm/_cacache/index-v5/64/dc/73c7a26f2e6eb0c711133d96c247da5ecf0eba708cd37c450a7b3c7cb488 +1 -1
- package/.npm/_logs/{2026-10-05T08_25_41_092Z-debug-0.log → 2026-10-05T10_13_49_268Z-debug-0.log} +10 -10
- package/.npm/_logs/{2026-10-05T08_25_41_448Z-debug-0.log → 2026-10-05T10_13_49_709Z-debug-0.log} +2 -2
- package/README.md +25 -0
- package/fesm2022/yukit-web.mjs +13 -9
- package/fesm2022/yukit-web.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/theme/components/reveal-on-hover.css +18 -0
- package/src/lib/theme/theme.css +1 -0
- package/types/yukit-web.d.ts +7 -3
package/package.json
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@media (hover: hover) {
|
|
2
|
+
.yuw-reveal {
|
|
3
|
+
opacity: 0;
|
|
4
|
+
transition: opacity 150ms ease-in-out;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.yuw-reveal-host:is(:hover, :has(:focus-visible)) .yuw-reveal,
|
|
8
|
+
[data-highlighted] .yuw-reveal,
|
|
9
|
+
.yuw-reveal:has(:focus-visible) {
|
|
10
|
+
opacity: 1;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@media (prefers-reduced-motion: reduce) {
|
|
14
|
+
.yuw-reveal {
|
|
15
|
+
transition: none;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
package/src/lib/theme/theme.css
CHANGED
package/types/yukit-web.d.ts
CHANGED
|
@@ -2323,7 +2323,8 @@ declare class YuwDatatableRowSelect {
|
|
|
2323
2323
|
}
|
|
2324
2324
|
|
|
2325
2325
|
/**
|
|
2326
|
-
* Pencil button cell that runs `onEdit`,
|
|
2326
|
+
* Pencil button cell that runs `onEdit`, hidden until its row is hovered or keyboard-focused (`yuw-reveal`,
|
|
2327
|
+
* see `theme/components/reveal-on-hover.css`); touch devices keep it visible. An input because `flexRenderComponent` does not subscribe
|
|
2327
2328
|
* outputs. The host stops the click so a clickable row does not fire twice.
|
|
2328
2329
|
*/
|
|
2329
2330
|
declare class YuwActionsCellComponent {
|
|
@@ -2335,8 +2336,11 @@ declare class YuwActionsCellComponent {
|
|
|
2335
2336
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<YuwActionsCellComponent, "yuw-actions-cell", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "onEdit": { "alias": "onEdit"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
2336
2337
|
}
|
|
2337
2338
|
|
|
2338
|
-
/**
|
|
2339
|
-
|
|
2339
|
+
/**
|
|
2340
|
+
* `actions` column; `label` is the button's accessible name and `header` the optional visible
|
|
2341
|
+
* column title, both already translated. Without `header` the column stays headerless.
|
|
2342
|
+
*/
|
|
2343
|
+
declare function buildYuwActionsColumn<Row extends RowData>(label: string, onEdit: (row: Row) => void, cellClass?: string, header?: string): YuwDatatableColumnDef<Row>;
|
|
2340
2344
|
|
|
2341
2345
|
/** A single entry in `<yuw-avatar>`'s `group` input, which turns it into a stack of overlapping avatars. */
|
|
2342
2346
|
interface YuwAvatarGroupItemDto {
|