@dolanske/vui 1.2.0 → 1.2.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dolanske/vui",
3
3
  "type": "module",
4
- "version": "1.2.0",
4
+ "version": "1.2.1",
5
5
  "private": false,
6
6
  "description": "Brother in Christ there's a new UI library",
7
7
  "author": "dolanske",
@@ -62,9 +62,7 @@ const baseTransform = computed(() => {
62
62
  <Backdrop v-if="open" @close="emit('close')">
63
63
  <div v-if="open" class="vui-sheet" :class="[`vui-sheet-position-${position}`]" :style>
64
64
  <div class="vui-sheet-header">
65
- <div class="flex-1">
66
- <slot name="header" :close="() => emit('close')" />
67
- </div>
65
+ <slot name="header" :close="() => emit('close')" />
68
66
  <Button plain square icon="ph:x" @click="emit('close')" />
69
67
  </div>
70
68
 
@@ -58,9 +58,11 @@
58
58
  }
59
59
 
60
60
  .vui-sheet-header {
61
- display: flex;
61
+ display: grid;
62
+ grid-template-columns: 1fr 34px;
62
63
  gap: var(--space-m);
63
64
  align-self: flex-start;
65
+ align-items: center;
64
66
 
65
67
  & + .vui-sheet-content {
66
68
  padding-top: var(--space-s);