@bytebrand/fe-ui-core-autobahn 1.0.161 → 1.0.162

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/theme/md3.css +6 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytebrand/fe-ui-core-autobahn",
3
- "version": "1.0.161",
3
+ "version": "1.0.162",
4
4
  "description": "auto.de md3 (Autobahn) design system — UI primitives, cards, chrome, VDP modules, theme CSS and locales. Ships raw TypeScript source (like fe-ui-core before it); each consumer's bundler compiles it.",
5
5
  "main": "index.ts",
6
6
  "license": "UNLICENSED",
package/theme/md3.css CHANGED
@@ -10100,9 +10100,8 @@ line-height: 31px;
10100
10100
  z-index: 71;
10101
10101
  background: var(--md-surface);
10102
10102
  border-radius: var(--md-r-xl) var(--md-r-xl) 0 0;
10103
- max-height: 92vh;
10104
- /* dvh: on iOS, vh is the height with the browser toolbars collapsed, so while they are shown a vh-sized bottom sheet grew under the address bar and hid its own header (title, download, close). vh stays as the fallback. */
10105
- max-height: 92dvh;
10103
+ /* % of the fixed containing block, not vh/dvh: on iOS vh is the toolbars-collapsed height, and Chrome on iOS does not shrink dvh while its toolbars are shown either, so a 92vh/92dvh bottom sheet grew under the address bar and hid its own header (title, download, close). The fixed box itself always matches the visible area. */
10104
+ max-height: 92%;
10106
10105
  display: flex;
10107
10106
  flex-direction: column;
10108
10107
  box-shadow: 0 -8px 30px rgba(16, 22, 42, 0.22);
@@ -14153,8 +14152,8 @@ color: #005CFF;
14153
14152
  flex-direction: column;
14154
14153
  width: 100%;
14155
14154
  max-width: 560px;
14156
- max-height: calc(100vh - 32px);
14157
- max-height: calc(100dvh - 32px);
14155
+ /* % of the scrim (fixed, inset 0, 16px padding) instead of calc(100vh - 32px): see the iOS note on the mobile .mmodal below */
14156
+ max-height: 100%;
14158
14157
  background: var(--md-sc-lowest, #fff);
14159
14158
  color: var(--md-on-surface);
14160
14159
  border-radius: var(--md-r-lg);
@@ -14300,9 +14299,8 @@ color: #005CFF;
14300
14299
  }
14301
14300
  .md3 .mmodal {
14302
14301
  max-width: 100%;
14303
- max-height: 92vh;
14304
- /* dvh: on iOS, vh is the height with the browser toolbars collapsed, so while they are shown a vh-sized bottom sheet grew under the address bar and hid its own header (title, download, close). vh stays as the fallback. */
14305
- max-height: 92dvh;
14302
+ /* % of the fixed containing block, not vh/dvh: on iOS vh is the toolbars-collapsed height, and Chrome on iOS does not shrink dvh while its toolbars are shown either, so a 92vh/92dvh bottom sheet grew under the address bar and hid its own header (title, download, close). The fixed box itself always matches the visible area. */
14303
+ max-height: 92%;
14306
14304
  border-radius: var(--md-r-lg) var(--md-r-lg) 0 0;
14307
14305
  border-bottom: 0;
14308
14306
  animation: mmodal-sheet-up 0.25s ease-out;