chore: release v0.37.2
This commit is contained in:
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.37.2] - 2026-04-30
|
||||
|
||||
### Changed
|
||||
- Search bar in More sheet: added hover, active, and focus states with accent colour highlight and subtle scale feedback
|
||||
- Search bar icon changes to accent colour on hover and press for clearer trigger affordance
|
||||
- Keyboard shortcut hint (`/`) shown inside search bar on desktop as discoverability signal
|
||||
|
||||
## [0.37.1] - 2026-04-30
|
||||
|
||||
### Changed
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "oikos",
|
||||
"version": "0.37.1",
|
||||
"version": "0.37.2",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "oikos",
|
||||
"version": "0.37.1",
|
||||
"version": "0.37.2",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"bcrypt": "^6.0.0",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "oikos",
|
||||
"version": "0.37.1",
|
||||
"version": "0.37.2",
|
||||
"description": "Self-hosted family planner - calendar, tasks, shopping, meal planning, budget and more. Private, open-source, no subscription.",
|
||||
"main": "server/index.js",
|
||||
"type": "module",
|
||||
|
||||
@@ -550,8 +550,13 @@ function renderAppShell(container) {
|
||||
const moreSearchPlaceholder = document.createElement('span');
|
||||
moreSearchPlaceholder.className = 'more-sheet__search-placeholder';
|
||||
moreSearchPlaceholder.textContent = t('search.placeholder');
|
||||
const moreSearchKbd = document.createElement('kbd');
|
||||
moreSearchKbd.className = 'more-sheet__search-kbd';
|
||||
moreSearchKbd.textContent = '/';
|
||||
moreSearchKbd.setAttribute('aria-hidden', 'true');
|
||||
moreSearchBar.appendChild(moreSearchIcon);
|
||||
moreSearchBar.appendChild(moreSearchPlaceholder);
|
||||
moreSearchBar.appendChild(moreSearchKbd);
|
||||
moreSheet.appendChild(moreSearchBar);
|
||||
|
||||
navItems().filter((i) => !i.kitchenGroup).slice(PRIMARY_NAV).forEach((item) => moreSheet.appendChild(moreItemEl(item)));
|
||||
|
||||
@@ -252,10 +252,22 @@
|
||||
cursor: text;
|
||||
margin-bottom: var(--space-1);
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
transition: border-color var(--transition-fast);
|
||||
transition: border-color var(--transition-fast), background-color var(--transition-fast), transform 0.1s ease;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.more-sheet__search:hover {
|
||||
border-color: var(--color-border-strong, var(--color-border));
|
||||
background-color: var(--color-surface-hover);
|
||||
}
|
||||
|
||||
.more-sheet__search:active {
|
||||
outline: none;
|
||||
border-color: var(--color-accent);
|
||||
background-color: color-mix(in srgb, var(--color-accent) 8%, var(--color-surface-elevated));
|
||||
transform: scale(0.985);
|
||||
}
|
||||
|
||||
.more-sheet__search:active,
|
||||
.more-sheet__search:focus {
|
||||
outline: none;
|
||||
border-color: var(--color-accent);
|
||||
@@ -265,11 +277,37 @@
|
||||
width: var(--space-4);
|
||||
height: var(--space-4);
|
||||
flex-shrink: 0;
|
||||
transition: color var(--transition-fast);
|
||||
}
|
||||
|
||||
.more-sheet__search:hover .more-sheet__search-icon,
|
||||
.more-sheet__search:active .more-sheet__search-icon {
|
||||
color: var(--color-accent);
|
||||
}
|
||||
|
||||
.more-sheet__search-placeholder {
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-text-tertiary);
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.more-sheet__search-kbd {
|
||||
display: none;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-text-quaternary, var(--color-text-tertiary));
|
||||
background-color: var(--color-surface);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-sm);
|
||||
padding: 1px 5px;
|
||||
font-family: inherit;
|
||||
line-height: 1.4;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.more-sheet__search-kbd {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
|
||||
/* ── More-Item ── */
|
||||
|
||||
Reference in New Issue
Block a user