yukit-web 1.0.1 → 1.0.3

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.1",
4
+ "version": "1.0.3",
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, [{