@obosbbl/grunnmuren-react 2.0.0-canary.29 → 2.0.0-canary.30
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.
- package/dist/index.mjs +3 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -313,8 +313,9 @@ const inputGroup = cx([
|
|
|
313
313
|
'group-data-[invalid]:ring-2 group-data-[invalid]:ring-red group-data-[invalid]:focus-within:ring'
|
|
314
314
|
]);
|
|
315
315
|
const dropdown = {
|
|
316
|
-
popover: cx(
|
|
317
|
-
|
|
316
|
+
popover: cx(// Use outline + clip-path hack instead of border to prevent scrollbars from overflowing border-radius
|
|
317
|
+
'min-w-[--trigger-width] overflow-y-auto rounded-md bg-white shadow outline outline-1 outline-offset-[-1px] outline-black [clip-path:content-box] data-[entering]:animate-in data-[exiting]:animate-out data-[entering]:fade-in data-[exiting]:fade-out'),
|
|
318
|
+
listbox: cx('max-h-[25rem] text-sm outline-none'),
|
|
318
319
|
chevronIcon: cx('text-base transition-transform duration-150 group-data-[open]:rotate-180 motion-reduce:transition-none')
|
|
319
320
|
};
|
|
320
321
|
|