@thinkpixellab-public/px-vue 3.0.81 → 3.0.82

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.
@@ -29,9 +29,11 @@
29
29
  <div :class="bem('top')">
30
30
  <div :class="bem('close')">
31
31
  <button :class="closeButtonClass" @click="visibleValue = false">
32
- <px-icon :src="closeIcon" />
32
+ <px-icon :src="closeIcon" size="1.25" />
33
33
  </button>
34
34
  </div>
35
+ </div>
36
+ <div :class="bem('content')">
35
37
  <slot name="default" />
36
38
  </div>
37
39
  <div :class="bem('bottom')">
@@ -141,8 +143,21 @@ $dur: 400ms;
141
143
  width: 320px;
142
144
  max-width: 100vw;
143
145
  height: 100%;
144
- background-color: clr(page-bg);
146
+ background-color: clr(page-bg, $alpha: 0.9);
147
+ backdrop-filter: blur(8px);
145
148
  box-shadow: depth-shadow(15, 0.1);
149
+ overflow: auto;
150
+ }
151
+
152
+ &__top {
153
+ position: sticky;
154
+ top: 0;
155
+ background-color: clr(page-bg, $alpha: 0.5);
156
+ backdrop-filter: blur(2px);
157
+ z-index: 1;
158
+ }
159
+ &__content {
160
+ flex: 1;
146
161
  }
147
162
 
148
163
  &__close {
@@ -153,7 +168,7 @@ $dur: 400ms;
153
168
  &__icon-button {
154
169
  @include button-icon(
155
170
  (
156
- padding: 0.5em,
171
+ padding: 1em,
157
172
  min-height: 0,
158
173
  min-width: 0,
159
174
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thinkpixellab-public/px-vue",
3
- "version": "3.0.81",
3
+ "version": "3.0.82",
4
4
  "description": "General purpose Vue components and helpers that can be used across projects.",
5
5
  "author": "Pixel Lab",
6
6
  "license": "MIT",