noph-ui 0.12.5 → 0.12.6

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.
@@ -104,6 +104,7 @@
104
104
  padding: 0.5rem 0;
105
105
  box-shadow: var(--np-elevation-2);
106
106
  margin: var(--np-menu-margin, 2px);
107
+ inset: auto;
107
108
  max-height: 80dvh;
108
109
  scrollbar-color: var(--np-color-on-surface-variant) transparent;
109
110
  scrollbar-width: thin;
@@ -113,7 +114,7 @@
113
114
  opacity: 0;
114
115
  justify-self: var(--np-menu-justify-self, anchor-center);
115
116
  position-area: var(--np-menu-position-area, bottom center);
116
- position-try: most-height flip-block;
117
+ position-try: normal flip-block;
117
118
  }
118
119
 
119
120
  .np-menu:popover-open {
@@ -251,8 +251,9 @@
251
251
  }
252
252
  }}
253
253
  variant="button"
254
- selected={value === option.value}>{option.label}</Item
255
- >
254
+ selected={value === option.value}
255
+ >{option.label}
256
+ </Item>
256
257
  {/each}
257
258
  </Menu>
258
259
 
@@ -92,6 +92,7 @@
92
92
  .np-tooltip[popover] {
93
93
  width: max-content;
94
94
  margin: 4px 0;
95
+ inset: auto;
95
96
  background: var(--np-color-inverse-surface);
96
97
  color: var(--np-color-inverse-on-surface);
97
98
  padding: 0.25rem 0.5rem;
@@ -106,15 +107,12 @@
106
107
  opacity 0.3s ease;
107
108
  justify-self: var(--np-tooltip-justify-self, anchor-center);
108
109
  position-area: var(--np-tooltip-position-area, top);
109
- position-try-fallbacks: --np-tooltip-position-fallback;
110
+ position-try: normal flip-block;
110
111
  }
111
112
  .np-tooltip:popover-open {
112
113
  opacity: 1;
113
114
  animation: scaleIn 0.3s ease;
114
115
  }
115
- @position-try --np-tooltip-position-fallback {
116
- position-area: var(--np-tooltip-position-area-fallback, bottom);
117
- }
118
116
 
119
117
  @keyframes scaleIn {
120
118
  from {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "noph-ui",
3
- "version": "0.12.5",
3
+ "version": "0.12.6",
4
4
  "license": "MIT",
5
5
  "homepage": "https://noph.dev",
6
6
  "repository": {