@elasticias/ui 1.0.20 → 1.0.21

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@elasticias/ui",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.0.0",
6
6
  "@angular/core": "^21.0.0",
@@ -4616,4 +4616,46 @@ input.ef-input[type='number'] {
4616
4616
  inline-size: var(--hit-touch);
4617
4617
  block-size: var(--hit-touch);
4618
4618
  }
4619
+
4620
+ /* Toolbar buttons collapse to icon-only below 767px, so the blanket
4621
+ min-block-size above stretched a 40px-wide button to 48px tall and
4622
+ produced a lozenge four-across in the header. Here the VISUAL stays
4623
+ 40px square and the TOUCH TARGET reaches the tier through a hit
4624
+ slop, which is the point of the tier: a thumb needs 48px, an eye
4625
+ does not. */
4626
+ .detail-toolbar .right .btn,
4627
+ .search-toolbar .right .btn {
4628
+ position: relative;
4629
+ inline-size: var(--hit-base);
4630
+ block-size: var(--hit-base);
4631
+ min-inline-size: 0;
4632
+ min-block-size: 0;
4633
+ padding: 0;
4634
+ }
4635
+
4636
+ .detail-toolbar .right .btn::after,
4637
+ .search-toolbar .right .btn::after {
4638
+ content: '';
4639
+ position: absolute;
4640
+ /* (48 - 40) / 2 outward on every side */
4641
+ inset: calc((var(--hit-touch) - var(--hit-base)) / -2);
4642
+ }
4643
+ }
4644
+
4645
+
4646
+ /* ── MOBILE BOTTOM BAR ──────────────────────────────────────────────
4647
+ The phone shell renders a 64px tab bar fixed to the bottom edge.
4648
+ Anything else pinned down there has to clear it, so the height is
4649
+ published as a token rather than copied as a magic number: the order
4650
+ builder's totals pill sat at bottom: 20px and covered the
4651
+ Administration tab, taking a primary navigation destination with it.
4652
+ 0px above the breakpoint, where no tab bar is rendered. */
4653
+ :root {
4654
+ --app-bottom-bar: 0px;
4655
+ }
4656
+
4657
+ @media (max-width: 767px) {
4658
+ :root {
4659
+ --app-bottom-bar: 64px;
4660
+ }
4619
4661
  }