yukit-web 1.0.0 → 1.0.2

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": "1.0.0",
4
+ "version": "1.0.2",
5
5
  "author": {
6
6
  "name": "Yurest Solutions",
7
7
  "email": "develop@yurest.com"
@@ -18,3 +18,8 @@
18
18
  border-start-end-radius: var(--radius-4xl, 2rem);
19
19
  border-end-end-radius: var(--radius-4xl, 2rem);
20
20
  }
21
+
22
+ [data-sidebar='header'] [data-yuw-variant='ghost'] button:not(:disabled):hover {
23
+ background-color: var(--sidebar-rail-hover);
24
+ color: var(--sidebar-rail-icon-active);
25
+ }
@@ -6562,7 +6562,9 @@ export declare const YUW_SIDEBAR_RAIL_WIDTH = "78px";
6562
6562
  *
6563
6563
  * The body leaves a gap of sidebar visible above, below and to its right: 8px from `lg`, 4px below
6564
6564
  * it. On mobile the sidebar is an off-canvas sheet, so the gap closes the left side too. Its padding
6565
- * is the page gutter minus that gap, written per breakpoint.
6565
+ * is the page gutter minus that gap, written per breakpoint. The left side switches at `769px`, not
6566
+ * at `md`: the sidebar is mobile up to and including `768px` (its `mobileBreakpoint`), and `md` starts
6567
+ * at `768px`, so `md` alone would leave that one width with no sidebar and no gap.
6566
6568
  *
6567
6569
  * While mounted it adds `yuw-layout-page` to `<body>`, which `theme.css` paints with the sidebar
6568
6570
  * colour so a resize never flashes the page background through the gap. The body's box is published
@@ -6578,7 +6580,7 @@ export declare const YUW_SIDEBAR_RAIL_WIDTH = "78px";
6578
6580
  */
6579
6581
  export declare class YuwLayoutComponent {
6580
6582
  private readonly page;
6581
- protected readonly bodyClass = "\n min-w-0\n overflow-y-auto\n no-scrollbar\n rounded-4xl\n bg-background\n my-1\n ms-1\n me-1\n md:ms-0\n lg:my-2\n lg:me-2\n px-3\n pb-3\n md:ps-8\n md:pe-7\n md:pb-7\n lg:ps-10\n lg:pe-8\n lg:pb-8\n xl:ps-12\n xl:pe-10\n xl:pb-10\n";
6583
+ protected readonly bodyClass = "\n min-w-0\n overflow-y-auto\n no-scrollbar\n rounded-4xl\n bg-background\n my-1\n ms-1\n me-1\n min-[769px]:ms-0\n lg:my-2\n lg:me-2\n px-3\n pb-3\n md:max-[769px]:ps-7\n min-[769px]:ps-8\n md:pe-7\n md:pb-7\n lg:ps-10\n lg:pe-8\n lg:pb-8\n xl:ps-12\n xl:pe-10\n xl:pb-10\n";
6582
6584
  constructor();
6583
6585
  static ɵfac: i0.ɵɵFactoryDeclaration<YuwLayoutComponent, never>;
6584
6586
  static ɵcmp: i0.ɵɵComponentDeclaration<YuwLayoutComponent, "yuw-layout", never, {}, {}, never, ["[yuwLayoutSidebar]", "*"], true, [{
@@ -7616,6 +7618,8 @@ export interface YuwsFormSheetLabels {
7616
7618
  * - `errorMessage`: Rejection shown above the footer, so the draft stays on screen to be fixed. Default is `undefined`.
7617
7619
  * - `hideFooter`: Hides the footer. Default is `false`.
7618
7620
  * - `labels` (required): Cancel, close and save texts.
7621
+ * - `layoutInset`: How the panel fits the `yuw-layout` frame, as on `yuw-sheet`. Default is `'right'`, laid over the
7622
+ * body; pass `undefined` for a panel that covers the viewport.
7619
7623
  * - `note`: Second muted line under `description`. Default is `undefined`.
7620
7624
  * - `panelClass`: Class of the sheet panel. Default is `'w-full sm:max-w-md'`.
7621
7625
  * - `readonly`: Drops the save button. Default is `false`.
@@ -7639,6 +7643,7 @@ export declare class YuwsFormSheetComponent {
7639
7643
  readonly guarded: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
7640
7644
  readonly hideFooter: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
7641
7645
  readonly labels: import("@angular/core").InputSignal<YuwsFormSheetLabels>;
7646
+ readonly layoutInset: import("@angular/core").InputSignal<YuwSheetLayoutInsetDto | undefined>;
7642
7647
  readonly note: import("@angular/core").InputSignal<string | undefined>;
7643
7648
  readonly open: import("@angular/core").ModelSignal<boolean>;
7644
7649
  readonly panelClass: import("@angular/core").InputSignal<string>;
@@ -7690,6 +7695,11 @@ export declare class YuwsFormSheetComponent {
7690
7695
  "required": true;
7691
7696
  "isSignal": true;
7692
7697
  };
7698
+ "layoutInset": {
7699
+ "alias": "layoutInset";
7700
+ "required": false;
7701
+ "isSignal": true;
7702
+ };
7693
7703
  "note": {
7694
7704
  "alias": "note";
7695
7705
  "required": false;