lutra 0.1.44 → 0.1.45

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.
@@ -61,12 +61,17 @@
61
61
  .Dialog {
62
62
  padding: 0;
63
63
  border: var(--modal-border-size) var(--modal-border-style) var(--modal-border-color);
64
- border-radius: var(--modal-border-radius);
65
- background: var(--modal-background);
64
+ border-radius: var(--modal-border-radius, var(--surface-border-radius));
65
+ background: var(--modal-background, var(--surface-background));
66
66
  color: var(--text-color-p);
67
67
  max-width: min(calc(100vw - 2rem), 32rem);
68
68
  max-height: min(calc(100vh - 2rem), 80vh);
69
- box-shadow: 0 0.5rem 1rem var(--modal-shadow-color);
69
+ box-shadow: var(--modal-shadow, var(--surface-shadow));
70
+ }
71
+
72
+ .Dialog[open] {
73
+ display: grid;
74
+ grid-template-rows: auto 1fr;
70
75
  }
71
76
 
72
77
  .Dialog::backdrop {
@@ -221,9 +221,12 @@
221
221
  max-width: min(var(--modal-max-width, 40rem), calc(100vw - 2rem));
222
222
  max-height: min(var(--modal-max-height, 80vh), calc(100vh - 2rem));
223
223
  overflow: hidden;
224
+ gap: var(--modal-gap);
225
+ }
226
+
227
+ dialog.Modal[open] {
224
228
  display: grid;
225
229
  grid-template-rows: 1fr auto;
226
- gap: var(--modal-gap);
227
230
  }
228
231
 
229
232
  dialog.Modal.contained {
@@ -114,10 +114,10 @@
114
114
  width: var(--modal-width, fit-content);
115
115
  max-width: min(var(--modal-max-width, 40rem), calc(100svw - 2rem));
116
116
  max-height: min(var(--modal-max-height, 80svh), calc(100svh - 2rem));
117
- background: var(--modal-background);
117
+ background: var(--modal-background, var(--surface-background));
118
118
  border: var(--modal-border-size) var(--modal-border-style) var(--modal-border-color);
119
- border-radius: var(--modal-border-radius);
120
- box-shadow: 0 0.5rem 1rem var(--modal-shadow-color);
119
+ border-radius: var(--modal-border-radius, var(--surface-border-radius));
120
+ box-shadow: var(--modal-shadow, var(--surface-shadow));
121
121
  overflow: hidden;
122
122
  }
123
123
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lutra",
3
- "version": "0.1.44",
3
+ "version": "0.1.45",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "bump-and-publish:patch": "pnpm version:patch && pnpm build && npm publish",