@cloudron/pankow 3.2.20 → 3.2.21

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.
@@ -35,10 +35,6 @@ const props = defineProps({
35
35
  type: Boolean,
36
36
  default: true
37
37
  },
38
- rejectBusy: {
39
- type: Boolean,
40
- default: false
41
- },
42
38
  rejectActive: {
43
39
  type: Boolean,
44
40
  default: true
@@ -120,7 +116,7 @@ defineExpose({ open, close });
120
116
  <div class="pankow-dialog-buttons" v-if="rejectLabel || confirmLabel || alternateLabel">
121
117
  <Button :[alternateStyle]="!!alternateStyle" @click="onAlternateAction" v-show="alternateLabel" :loading="alternateBusy" :disabled="alternateBusy || !alternateActive">{{ alternateLabel }}</Button>
122
118
  <div style="flex-grow: 1;"></div>
123
- <Button :[rejectStyle]="!!rejectStyle" @click="onReject" v-show="rejectLabel">{{ rejectLabel }}</Button>
119
+ <Button :[rejectStyle]="!!rejectStyle" @click="onReject" v-show="rejectLabel" :disabled="!rejectActive">{{ rejectLabel }}</Button>
124
120
  <Button :[confirmStyle]="!!confirmStyle" @click="onConfirm" v-show="confirmLabel" :loading="confirmBusy" :disabled="confirmBusy || !confirmActive">{{ confirmLabel }}</Button>
125
121
  </div>
126
122
  </div>
@@ -139,7 +135,6 @@ defineExpose({ open, close });
139
135
  top: 0px;
140
136
  z-index: 2001;
141
137
  background-color: var(--pankow-dialog-backdrop-color);
142
- backdrop-filter: blur(2px);
143
138
  }
144
139
 
145
140
  .pankow-dialog {
@@ -287,7 +287,7 @@ defineExpose({
287
287
  <div class="pankow-menu-backdrop" @click="onBackdrop($event)" @contextmenu="onBackdrop($event)" v-show="isOpen"></div>
288
288
  <Transition :name="rollUp ? 'pankow-roll-up' : 'pankow-roll-down'">
289
289
  <div class="pankow-menu" v-show="isOpen" ref="container" tabindex="0" @keydown.up.stop="selectUp()" @keydown.down.stop="selectDown()" @keydown.esc.stop="close()" @keydown="onKeyDown">
290
- <TextInput placeholder="Filter ..." @keydown.up.stop="selectUp()" @keydown.down.stop="selectDown()" @keydown.stop @keydown.esc.stop="close()" @click.stop style="border: 0; padding: 8px 12px;" v-model="searchString" v-if="searchThreshold < model.length"/>
290
+ <TextInput placeholder="Filter ..." @keydown.up.stop="selectUp()" @keydown.down.stop="selectDown()" @keydown.stop @keydown.esc.stop="close()" @click.stop style="width: 100%; border: 0; padding: 8px 12px;" v-model="searchString" v-if="searchThreshold < model.length"/>
291
291
  <component v-for="item in visibleItems" ref="itemElements" :is="item.type || (item.href ? MenuItemLink : MenuItem)" @activated="onItemActivated(item)" :item="item" :has-icons="hasIcons" />
292
292
  <MenuItem v-if="model.length === 0" :item="emptyItem"/>
293
293
  </div>
@@ -114,7 +114,6 @@ export default {
114
114
  .pankow-notification {
115
115
  display: inline-block;
116
116
  background-color: rgba(255,255,255,0.6);
117
- backdrop-filter: blur(10px);
118
117
  opacity: 0.9;
119
118
  padding: 10px 15px;
120
119
  margin-top: 10px;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudron/pankow",
3
3
  "private": false,
4
- "version": "3.2.20",
4
+ "version": "3.2.21",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "types": "types/index.d.ts",
package/style.css CHANGED
@@ -198,7 +198,6 @@ textarea:focus {
198
198
  position: absolute;
199
199
  border-radius: var(--pankow-border-radius);
200
200
  background-color: var(--pankow-tooltip-background-color);
201
- backdrop-filter: blur(10px);
202
201
  color: var(--pankow-tooltip-text-color);
203
202
  padding: 4px 7px;
204
203
  font-size: 12px;