Skip to content

Commit 31ce284

Browse files
committed
Merge remote-tracking branch 'origin/main' into chart-improvements
2 parents aaa02a0 + 44ad364 commit 31ce284

63 files changed

Lines changed: 1871 additions & 1757 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

app/assets/main.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114

115115
--badge-blue: oklch(0.579 0.191 252);
116116
--badge-yellow: oklch(0.588 0.183 91);
117-
--badge-green: oklch(0.566 0.202 165);
117+
--badge-green: oklch(0.49 0.15 161.08);
118118
--badge-indigo: oklch(0.457 0.24 277.023);
119119
--badge-purple: oklch(0.495 0.172 295);
120120
--badge-orange: oklch(0.67 0.185 55);

app/components/AppFooter.vue

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,21 @@ const closeModal = () => modalRef.value?.close?.()
8888
</p>
8989
<ul class="mb-8 flex flex-col gap-2">
9090
<li class="flex gap-2 items-center">
91-
<kbd class="kbd">.</kbd>
92-
<span>{{ $t('shortcuts.open_code_view') }}</span>
91+
<kbd class="kbd">m</kbd>
92+
<span>{{ $t('shortcuts.open_main') }}</span>
9393
</li>
9494
<li class="flex gap-2 items-center">
9595
<kbd class="kbd">d</kbd>
9696
<span>{{ $t('shortcuts.open_docs') }}</span>
9797
</li>
98+
<li class="flex gap-2 items-center">
99+
<kbd class="kbd">.</kbd>
100+
<span>{{ $t('shortcuts.open_code_view') }}</span>
101+
</li>
102+
<li class="flex gap-2 items-center">
103+
<kbd class="kbd">f</kbd>
104+
<span>{{ $t('shortcuts.open_diff') }}</span>
105+
</li>
98106
<li class="flex gap-2 items-center">
99107
<kbd class="kbd">c</kbd>
100108
<span>{{ $t('shortcuts.compare_from_package') }}</span>

app/components/Code/MobileTreeDrawer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ watch(isOpen, open => (isLocked.value = open))
2929
<!-- Toggle button (mobile only) -->
3030
<ButtonBase
3131
variant="primary"
32-
class="md:hidden fixed bottom-4 inset-ie-4 z-45"
32+
class="md:hidden fixed bottom-9 inset-ie-4 z-45"
3333
:aria-label="$t('code.toggle_tree')"
3434
@click="isOpen = !isOpen"
3535
:classicon="isOpen ? 'i-lucide:x' : 'i-lucide:folder'"

app/components/Compare/FacetBarChart.vue

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
<script setup lang="ts">
22
import { ref, computed } from 'vue'
33
import { VueUiHorizontalBar } from 'vue-data-ui/vue-ui-horizontal-bar'
4-
import type {
5-
VueUiHorizontalBarConfig,
6-
VueUiHorizontalBarDatapoint,
7-
VueUiHorizontalBarDatasetItem,
8-
} from 'vue-data-ui'
4+
import type { VueUiHorizontalBarConfig, VueUiHorizontalBarDatasetItem } from 'vue-data-ui'
95
import { getFrameworkColor, isListedFramework } from '~/utils/frameworks'
106
import { drawSmallNpmxLogoAndTaglineWatermark } from '~/composables/useChartWatermark'
117
import {
@@ -230,7 +226,7 @@ const config = computed<VueUiHorizontalBarConfig>(() => {
230226
${name}
231227
</span>
232228
<span class="text-base text-[var(--fg)] font-mono tabular-nums text-end">
233-
${(datapoint as VueUiHorizontalBarDatapoint).formattedValue ?? 0}
229+
${datapoint?.formattedValue ?? 0}
234230
</span>
235231
</div>
236232
</div>

app/components/Link/Base.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ const keyboardShortcutsEnabled = useKeyboardShortcuts()
124124
<kbd
125125
v-if="keyboardShortcutsEnabled && ariaKeyshortcuts"
126126
data-kbd-hint
127-
class="ms-2 inline-flex items-center justify-center size-4 text-xs text-fg bg-bg-muted border border-border rounded no-underline"
127+
class="ms-2 hidden sm:inline-flex items-center justify-center size-4 text-xs text-fg bg-bg-muted border border-border rounded no-underline"
128128
aria-hidden="true"
129129
>
130130
{{ ariaKeyshortcuts }}

0 commit comments

Comments
 (0)