@apliteni/apliteni-ui 0.163.1 → 0.164.0

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.
@@ -588,8 +588,9 @@ above and below it on a short one. The rail is the page ground, with the reader'
588
588
  and email at its top. Only the open section's row carries the accent. Each rail row is a button
589
589
  with `aria-current`, because a section is a place in the window and not a route. The pane remounts
590
590
  when the section changes, so a half-filled form does not follow the reader. At 560px and below
591
- the window fills the screen, and the sections become tabs under the reader. They act as the
592
- `Tabs` panel tabs do: one Tab stop, the arrow keys, Home and End, and the open tab scrolled into
591
+ the window floats with a gap on each side, clear of the notch and the home bar. It is as tall as
592
+ its content, up to the screen height, and a long section scrolls inside it. The sections become
593
+ tabs under the reader. They act as the `Tabs` panel tabs do: one Tab stop, the arrow keys, Home and End, and the open tab scrolled into
593
594
  view. Pass `section` and `onSectionChange` to control the open section, or `defaultSection` to
594
595
  leave it to the window.
595
596
 
@@ -44,7 +44,7 @@ The kit has three breakpoints, and every media query it ships uses one of them.
44
44
  | ------- | -------------------------------------------------------------------------------------- |
45
45
  | `860px` | the page stops holding three tracks — a three-across grid drops to two, a side-by-side pair stacks |
46
46
  | `720px` | the shell folds — the app rail becomes an icon strip, link columns halve, a secondary label drops out |
47
- | `560px` | one column — every remaining grid is a single track, and a floating panel goes edge to edge |
47
+ | `560px` | one column — every remaining grid is a single track, and a floating panel goes edge to edge, except the account window, which keeps a gap on each side |
48
48
 
49
49
  A step describes a viewport class, not a preference for one surface. The values are written as
50
50
  literals because a media query cannot read a custom property, and the kit has no build step to
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apliteni/apliteni-ui",
3
- "version": "0.163.1",
3
+ "version": "0.164.0",
4
4
  "workspaces": [
5
5
  "react"
6
6
  ],
@@ -362,6 +362,7 @@
362
362
  .rx-account__body {
363
363
  flex: 1 1 auto;
364
364
  padding: var(--space-4) var(--space-8) var(--space-8);
365
+ scroll-padding-block: calc(var(--ring-gap-width) + var(--ring-width));
365
366
  }
366
367
  .rx-account__tabs,
367
368
  .rx-account__who > .ui-btn {
@@ -383,11 +384,12 @@
383
384
  }
384
385
  @media (max-width: 560px) {
385
386
  .rx-modal.rx-account {
386
- width: 100vw;
387
- height: 100vh;
388
- height: 100dvh;
389
- border-radius: 0;
390
387
  flex-direction: column;
388
+ height: auto;
389
+ margin: max(var(--space-4), env(safe-area-inset-top)) max(var(--space-4), env(safe-area-inset-right)) max(var(--space-4), env(safe-area-inset-bottom)) max(var(--space-4), env(safe-area-inset-left));
390
+ width: calc(100vw - max(var(--space-4), env(safe-area-inset-left)) - max(var(--space-4), env(safe-area-inset-right)));
391
+ max-height: calc(100vh - max(var(--space-4), env(safe-area-inset-top)) - max(var(--space-4), env(safe-area-inset-bottom)));
392
+ max-height: calc(100dvh - max(var(--space-4), env(safe-area-inset-top)) - max(var(--space-4), env(safe-area-inset-bottom)));
391
393
  }
392
394
  .rx-account__rail {
393
395
  overflow: visible;