diff --git a/app/components/AppHeader.vue b/app/components/AppHeader.vue index 01390c82e..c59bdd132 100644 --- a/app/components/AppHeader.vue +++ b/app/components/AppHeader.vue @@ -122,8 +122,12 @@ onKeyStroke(
-
+
-
diff --git a/app/components/Header/AuthModal.client.vue b/app/components/Header/AuthModal.client.vue index 4113ed97b..caab42736 100644 --- a/app/components/Header/AuthModal.client.vue +++ b/app/components/Header/AuthModal.client.vue @@ -89,14 +89,15 @@ watch(handleInput, newHandleInput => { > {{ $t('auth.modal.handle_label') }} -
@@ -183,14 +184,15 @@ function handleDisconnect() { > {{ $t('connector.modal.port_label') }} - diff --git a/app/components/Header/SearchBox.vue b/app/components/Header/SearchBox.vue index b99fa79cb..2822fd2b1 100644 --- a/app/components/Header/SearchBox.vue +++ b/app/components/Header/SearchBox.vue @@ -70,15 +70,6 @@ watch( }, ) -function handleSearchBlur() { - isSearchFocused.value = false - emit('blur') -} -function handleSearchFocus() { - isSearchFocused.value = true - emit('focus') -} - function handleSubmit() { if (pagesWithLocalFilter.has(route.name as string)) { router.push({ @@ -114,17 +105,18 @@ defineExpose({ focus }) / - diff --git a/app/components/Input/Base.vue b/app/components/Input/Base.vue new file mode 100644 index 000000000..49b971b66 --- /dev/null +++ b/app/components/Input/Base.vue @@ -0,0 +1,49 @@ + + + diff --git a/app/components/Org/MembersPanel.vue b/app/components/Org/MembersPanel.vue index 5ad15717b..2da3ff55f 100644 --- a/app/components/Org/MembersPanel.vue +++ b/app/components/Org/MembersPanel.vue @@ -331,14 +331,15 @@ watch(lastExecutionTime, () => { aria-hidden="true" /> -
{ -
@@ -553,7 +555,7 @@ watch(lastExecutionTime, () => { diff --git a/app/components/Org/OperationsQueue.vue b/app/components/Org/OperationsQueue.vue index e10ce418a..92eff1722 100644 --- a/app/components/Org/OperationsQueue.vue +++ b/app/components/Org/OperationsQueue.vue @@ -242,7 +242,7 @@ watch(isExecuting, executing => {
- { :placeholder="$t('operations.queue.otp_placeholder')" autocomplete="one-time-code" spellcheck="false" - class="flex-1 px-3 py-1.5 font-mono text-sm bg-bg border border-border rounded text-fg placeholder:text-fg-subtle transition-colors duration-200 focus:border-border-hover focus-visible:outline-accent/70" + class="flex-1 min-w-25" + size="small" /> diff --git a/app/components/Org/TeamsPanel.vue b/app/components/Org/TeamsPanel.vue index 095aa5cf2..ad378e5a5 100644 --- a/app/components/Org/TeamsPanel.vue +++ b/app/components/Org/TeamsPanel.vue @@ -287,14 +287,15 @@ watch(lastExecutionTime, () => { aria-hidden="true" /> -
{ > ~{{ user }} - {{ teamName }} + {{ teamName }} diff --git a/app/components/Package/AccessControls.vue b/app/components/Package/AccessControls.vue index c3d9a7d89..901437416 100644 --- a/app/components/Package/AccessControls.vue +++ b/app/components/Package/AccessControls.vue @@ -281,7 +281,7 @@ watch( diff --git a/app/components/Package/DownloadAnalytics.vue b/app/components/Package/DownloadAnalytics.vue index 3c0aef58e..5856a4794 100644 --- a/app/components/Package/DownloadAnalytics.vue +++ b/app/components/Package/DownloadAnalytics.vue @@ -1489,7 +1489,7 @@ const chartConfig = computed(() => { id="granularity" v-model="selectedGranularity" :disabled="pending" - class="w-full px-2.5 py-1.75 bg-bg-subtle font-mono text-sm text-fg outline-none appearance-none focus-visible:outline-accent/70" + class="w-full px-4 py-3 leading-none bg-bg-subtle font-mono text-sm text-fg outline-none appearance-none focus-visible:outline-accent/70" >
@@ -1533,16 +1535,18 @@ const chartConfig = computed(() => { -
-
diff --git a/app/components/Package/ListControls.vue b/app/components/Package/ListControls.vue index d635f52f2..066845c5c 100644 --- a/app/components/Package/ListControls.vue +++ b/app/components/Package/ListControls.vue @@ -61,13 +61,14 @@ const showFilteredCount = computed(() => { >
- @@ -78,7 +79,7 @@ const showFilteredCount = computed(() => { {{ isAdding ? '…' : $t('package.maintainers.add_button') }} diff --git a/app/pages/index.vue b/app/pages/index.vue index 64bd828cd..66ea291a3 100644 --- a/app/pages/index.vue +++ b/app/pages/index.vue @@ -3,8 +3,7 @@ import { debounce } from 'perfect-debounce' import { SHOWCASED_FRAMEWORKS } from '~/utils/frameworks' const searchQuery = shallowRef('') -const searchInputRef = useTemplateRef('searchInputRef') -const { focused: isSearchFocused } = useFocus(searchInputRef) +const isSearchFocused = shallowRef(false) async function search() { const query = searchQuery.value.trim() @@ -73,7 +72,7 @@ defineOgImageComponent('Default', {