@serkonda7/solid-components 0.4.0 → 0.4.1

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/styles.css CHANGED
@@ -491,6 +491,15 @@ scroll away with the table. */
491
491
  pointer-events: none;
492
492
  }
493
493
 
494
+ /* `previewAtCursor`: float at the mouse, shifted back into the viewport. */
495
+ .combobox-preview-cursor {
496
+ position: fixed;
497
+ top: calc(var(--combobox-cursor-y) + 1rem);
498
+ left: calc(var(--combobox-cursor-x) + 1rem);
499
+ translate: min(0px, calc(100vw - var(--combobox-cursor-x) - 1.5rem - 100%))
500
+ min(0px, calc(100vh - var(--combobox-cursor-y) - 1.5rem - 100%));
501
+ }
502
+
494
503
  .combobox-option,
495
504
  .combobox-empty {
496
505
  padding: 0.3rem 0.5rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serkonda7/solid-components",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Reusable components for SolidJS",
5
5
  "license": "MIT",
6
6
  "author": "serkonda7",