@cloudron/pankow 3.2.17 → 3.2.18

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.
@@ -0,0 +1,31 @@
1
+ <script setup>
2
+
3
+ import { copyToClipboard } from '../utils';
4
+ import Button from './Button.vue';
5
+
6
+ const props = defineProps({
7
+ value: String,
8
+ doneHint: String,
9
+ });
10
+
11
+ function onClipboard() {
12
+ copyToClipboard(props.value);
13
+ window.pankow.notify({
14
+ text: props.doneHint || 'Copied',
15
+ type: 'success',
16
+ });
17
+ }
18
+
19
+ </script>
20
+
21
+ <template>
22
+ <Button class="pankow-clipboard-button" icon="fa-solid fa-clipboard" tool @click="onClipboard()" style=""></Button>
23
+ </template>
24
+
25
+ <style>
26
+
27
+ .pankow-clipboard-button {
28
+ padding: var(--pankow-input-vertial-padding);
29
+ }
30
+
31
+ </style>
package/index.js CHANGED
@@ -7,6 +7,7 @@ import BottomBar from './components/BottomBar.vue';
7
7
  import Breadcrumb from './components/Breadcrumb.vue';
8
8
  import Button from './components/Button.vue';
9
9
  import ButtonGroup from './components/ButtonGroup.vue';
10
+ import ClipboardButton from './components/ClipboardButton.vue';
10
11
  import Checkbox from './components/Checkbox.vue';
11
12
  import Dialog from './components/Dialog.vue';
12
13
  import DirectoryView from './components/DirectoryView.vue';
@@ -49,6 +50,7 @@ export {
49
50
  Breadcrumb,
50
51
  Button,
51
52
  ButtonGroup,
53
+ ClipboardButton,
52
54
  Checkbox,
53
55
  Dialog,
54
56
  DirectoryView,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudron/pankow",
3
3
  "private": false,
4
- "version": "3.2.17",
4
+ "version": "3.2.18",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "types": "types/index.d.ts",
@@ -16,7 +16,7 @@
16
16
  "author": "",
17
17
  "license": "ISC",
18
18
  "dependencies": {
19
- "@fontsource/inter": "^5.2.7",
19
+ "@fontsource/inter": "^5.2.8",
20
20
  "@fortawesome/fontawesome-free": "^7.0.1",
21
21
  "filesize": "^11.0.2",
22
22
  "monaco-editor": "^0.53.0"
@@ -24,7 +24,7 @@
24
24
  "devDependencies": {
25
25
  "@vitejs/plugin-vue": "^6.0.1",
26
26
  "typescript": "^5.9.2",
27
- "vite": "^7.1.5",
27
+ "vite": "^7.1.6",
28
28
  "vue": "^3.5.21"
29
29
  }
30
30
  }
package/types/index.d.ts CHANGED
@@ -3,4 +3,4 @@ import gestures from './gestures.js';
3
3
  import tooltip from './tooltip.js';
4
4
  import fallbackImage from './fallbackImage.js';
5
5
  import utils from './utils.js';
6
- export { BottomBar, Breadcrumb, Button, ButtonGroup, Checkbox, Dialog, DirectoryView, EmailInput, FileUploader, FormGroup, InputGroup, Icon, InputDialog, MainLayout, Menu, MenuItem, SingleSelect, MultiSelect, Notification, NumberInput, OfflineBanner, PasswordInput, Popover, ProgressBar, Radiobutton, SideBar, Spinner, Switch, TableView, TabView, TagInput, TextInput, TextInputRaw, TopBar, fetcher, gestures, tooltip, fallbackImage, utils };
6
+ export { BottomBar, Breadcrumb, Button, ButtonGroup, ClipboardButton, Checkbox, Dialog, DirectoryView, EmailInput, FileUploader, FormGroup, InputGroup, Icon, InputDialog, MainLayout, Menu, MenuItem, SingleSelect, MultiSelect, Notification, NumberInput, OfflineBanner, PasswordInput, Popover, ProgressBar, Radiobutton, SideBar, Spinner, Switch, TableView, TabView, TagInput, TextInput, TextInputRaw, TopBar, fetcher, gestures, tooltip, fallbackImage, utils };