@stacksjs/defaults 0.75.81 → 0.75.82

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.
@@ -2,7 +2,7 @@
2
2
  "publisher": "Stacks",
3
3
  "name": "vscode-stacks",
4
4
  "displayName": "Stacks",
5
- "version": "0.75.81",
5
+ "version": "0.75.82",
6
6
  "description": "Stacks, built into VS Code: stx templates, pickier linting and formatting, encrypted env files, the dev server preview and every buddy command. No other extensions required.",
7
7
  "license": "MIT",
8
8
  "funding": "https://github.com/sponsors/chrisbbreuer",
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@stacksjs/defaults",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "0.75.81",
5
+ "version": "0.75.82",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git+https://github.com/stacksjs/stacks.git",
@@ -55,7 +55,7 @@
55
55
  "dependencies": {
56
56
  "@iconify-json/f7": "^1.2.2",
57
57
  "@iconify-json/hugeicons": "^1.2.35",
58
- "@stacksjs/mobile": "^0.75.81",
58
+ "@stacksjs/mobile": "^0.75.82",
59
59
  "@stacksjs/sanitizer": "^0.2.378",
60
60
  "@xterm/addon-fit": "^0.11.0",
61
61
  "@xterm/xterm": "^6.0.0",
@@ -0,0 +1 @@
1
+ 1.4.2
@@ -57,7 +57,7 @@ describe('Native components', () => {
57
57
  it('names the screen the back button returns to, and gives way to the title', () => {
58
58
  const bar = read('NativeNavBar')
59
59
  expect(bar).toContain('enterNavTrail(navTrail(), window.location.pathname + window.location.search)')
60
- expect(bar).toContain('@container (max-width: 4.5rem)')
60
+ expect(bar).toContain('@container (max-width: 6.5rem)')
61
61
  expect(bar).toContain("useReactiveProp<boolean>('titleOnScroll', false)")
62
62
  })
63
63
 
@@ -171,7 +171,10 @@ function tapBack(event: MouseEvent): void {
171
171
  .native-nav-back:active { opacity: 0.55; }
172
172
  .native-nav-back-icon { flex-shrink: 0; width: 1.6rem; height: 1.6rem; }
173
173
  .native-nav-back-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
174
- @container (max-width: 4.5rem) {
174
+ /* Where the centred title leaves too little room for a word, the chevron
175
+ alone, as on iOS: at 4.5rem a long title still left "Wo…" for "Workout"
176
+ on a 402pt phone. 6.5rem fits a one-word name beside the chevron. */
177
+ @container (max-width: 6.5rem) {
175
178
  .native-nav-back-label { display: none; }
176
179
  }
177
180
 
@@ -26,9 +26,9 @@ const backgroundImage = props.backgroundImage || '/svgs/404.svg'
26
26
  Sorry, we couldn't find the page you're looking for.
27
27
  </p>
28
28
 
29
- <!-- Same ember as the illustration beside it. White on #c14a15 is
30
- 4.93:1 and on the #9c3510 hover 7.17:1, so both states clear AA. -->
31
- <a href="/" class="inline-block mt-10 px-4 py-2 text-white bg-[#c14a15] hover:bg-[#9c3510] rounded">
29
+ <!-- The Stacks cobalt, from the logo's plate. White on #1747c9 is
30
+ 7.55:1 and on the #0f359d hover 10.41:1, so both states clear AA. -->
31
+ <a href="/" class="inline-block mt-10 px-4 py-2 text-white bg-[#1747c9] hover:bg-[#0f359d] rounded">
32
32
  Go back home
33
33
  </a>
34
34
  </main>
@@ -24,7 +24,7 @@
24
24
  framework accent: it sits inches from the artwork, and a blue mark
25
25
  against a warm dusk scene reads as a mistake in any app's brand. The
26
26
  dark value is the same ramp's coral, from the scene's night variant. -->
27
- <div class="my-6 h-1 w-14 bg-[#c14a15] dark:bg-[#ff8a4c] rounded-full"></div>
27
+ <div class="my-6 h-1 w-14 bg-[#1747c9] dark:bg-[#7ea3ff] rounded-full"></div>
28
28
 
29
29
  <h1 class="mb-2 font-semibold text-2xl text-neutral-950 dark:text-white">Page not found</h1>
30
30