ab-nextjs-components 0.3.2 → 0.3.3
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.
|
@@ -84,9 +84,9 @@
|
|
|
84
84
|
border: 1px solid var(--ab-color-border, rgb(92 64 48 / 0.13)); border-radius: var(--ab-radius-pill, 999px); /* 💊 */
|
|
85
85
|
background: var(--ab-color-card, #fff); color: var(--ab-color-faint, #807062); font-size: 13px; line-height: 1; /* 🎨 🔤 */
|
|
86
86
|
}
|
|
87
|
-
/* 👆 0.3.2 (God, 0.2.23 gaps): an invisible 44px-tall hit area around the 34px pill (
|
|
87
|
+
/* 👆 0.3.2 (God, 0.2.23 gaps): an invisible 44px-tall hit area around the 34px pill (0.3.3: 6px above + below), so the
|
|
88
88
|
tap target is ≥ 44px (WCAG 2.5.5) without changing the look */
|
|
89
|
-
.abSearchTrigger[data-size='sm']::after { content: ''; position: absolute; inset: -
|
|
89
|
+
.abSearchTrigger[data-size='sm']::after { content: ''; position: absolute; inset: -6px 0; } /* 🫥 hit area: 0.3.3 6px above + below → 46px, safely ≥ 44 */
|
|
90
90
|
.abSearchTrigger[data-variant='field']:hover, .abSearchTrigger[data-size='sm']:hover { border-color: color-mix(in srgb, var(--ab-color-accent, #a67c52) 40%, transparent); } /* 🖱️ */
|
|
91
91
|
.abSearchTrigger[data-variant='field']:focus-visible, .abSearchTrigger[data-size='sm']:focus-visible { outline: 2px solid var(--ab-color-accent, #a67c52); outline-offset: 2px; } /* ♿ */
|
|
92
92
|
/* ⌨️ the single key cap (mock `kbd`): 20px, radius 5, 2px bottom border, 11/600 --muted */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ab-nextjs-components",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "🚀 A lightweight collection of server & client React components created by Abraham Ukachi, and optimized for Next.js applications 😎.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.ts",
|