@duskmoon-dev/components 0.5.3 → 0.5.4

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.
@@ -4,7 +4,7 @@
4
4
  import { useCallback, useState } from "react";
5
5
 
6
6
  // src/generated/version.ts
7
- var version = "0.5.3";
7
+ var version = "0.5.4";
8
8
 
9
9
  // src/infrastructure.ts
10
10
  var theme = {
package/dist/styles.css CHANGED
@@ -26771,7 +26771,12 @@ html {
26771
26771
  }
26772
26772
 
26773
26773
  .select-container > .select {
26774
+ display: flex;
26775
+ align-items: center;
26776
+ gap: 0.5rem;
26777
+ padding: 0 0.75rem 0 0.875rem;
26774
26778
  background-image: none;
26779
+ appearance: none;
26775
26780
  }
26776
26781
 
26777
26782
  .select:focus-visible {
@@ -26895,6 +26900,42 @@ html {
26895
26900
  0 16px 40px rgb(15 23 42 / 0.12);
26896
26901
  }
26897
26902
 
26903
+ .select-dropdown[popover] {
26904
+ position: fixed;
26905
+ inset: auto;
26906
+ width: anchor-size(width);
26907
+ min-width: var(--select-anchor-width, 10rem);
26908
+ max-height: 16rem;
26909
+ margin: 0.375rem 0 0 0;
26910
+ padding: 0.375rem;
26911
+ overflow: auto;
26912
+ color: var(--color-on-surface);
26913
+ background-color: var(--color-surface);
26914
+ border: 1px solid var(--color-outline-variant);
26915
+ border-radius: var(--radius-sm);
26916
+ box-shadow:
26917
+ 0 4px 12px rgb(15 23 42 / 0.1),
26918
+ 0 16px 40px rgb(15 23 42 / 0.12);
26919
+ }
26920
+
26921
+ @supports (position-area: bottom) {
26922
+ .select-dropdown[popover] {
26923
+ position-area: bottom span-right;
26924
+ position-try-fallbacks: flip-block;
26925
+ }
26926
+ }
26927
+
26928
+ @supports not (position-area: bottom) {
26929
+ .select-dropdown[popover] {
26930
+ top: anchor(bottom);
26931
+ left: anchor(left);
26932
+ }
26933
+ }
26934
+
26935
+ .select-dropdown[popover]:popover-open {
26936
+ display: grid;
26937
+ }
26938
+
26898
26939
  .select-option {
26899
26940
  display: flex;
26900
26941
  width: 100%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duskmoon-dev/components",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",