@cloudron/pankow 4.4.4 → 4.4.5
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/components/SettingsItem.vue +49 -0
- package/index.js +2 -0
- package/package.json +3 -3
- package/types/index.d.ts +2 -1
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
</script>
|
|
3
|
+
|
|
4
|
+
<template>
|
|
5
|
+
<div class="pankow-settings-item">
|
|
6
|
+
<div class="pankow-settings-item-body">
|
|
7
|
+
<slot></slot>
|
|
8
|
+
</div>
|
|
9
|
+
<div class="pankow-settings-item-bottom" v-if="$slots.bottom">
|
|
10
|
+
<slot name="bottom"></slot>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<style>
|
|
16
|
+
|
|
17
|
+
.pankow-settings-item {
|
|
18
|
+
border-radius: var(--pankow-border-radius);
|
|
19
|
+
padding: 0;
|
|
20
|
+
margin-bottom: 20px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.pankow-settings-item-body {
|
|
24
|
+
display: flex;
|
|
25
|
+
justify-content: space-between;
|
|
26
|
+
align-items: center;
|
|
27
|
+
gap: 20px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.pankow-settings-item-body > :first-child {
|
|
31
|
+
max-width: 720px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@media (max-width: 576px) {
|
|
35
|
+
.pankow-settings-item[wrap] .pankow-settings-item-body {
|
|
36
|
+
flex-wrap: wrap;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.pankow-settings-item label {
|
|
41
|
+
margin-top: 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.pankow-settings-item-bottom {
|
|
45
|
+
width: 100%;
|
|
46
|
+
margin-top: 10px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
</style>
|
package/index.js
CHANGED
|
@@ -40,6 +40,7 @@ import ProgressBar from './components/ProgressBar.vue';
|
|
|
40
40
|
import RadioButton from './components/RadioButton.vue';
|
|
41
41
|
import SaveIndicator from './components/SaveIndicator.vue';
|
|
42
42
|
import SectionItem from './components/SectionItem.vue';
|
|
43
|
+
import SettingsItem from './components/SettingsItem.vue';
|
|
43
44
|
import SideBar from './components/SideBar.vue';
|
|
44
45
|
import SplitLayout from './components/SplitLayout.vue';
|
|
45
46
|
import Spinner from './components/Spinner.vue';
|
|
@@ -95,6 +96,7 @@ export {
|
|
|
95
96
|
RadioButton,
|
|
96
97
|
SaveIndicator,
|
|
97
98
|
SectionItem,
|
|
99
|
+
SettingsItem,
|
|
98
100
|
SideBar,
|
|
99
101
|
SplitLayout,
|
|
100
102
|
Spinner,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudron/pankow",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "4.4.
|
|
4
|
+
"version": "4.4.5",
|
|
5
5
|
"description": "Vue 3 UI component library for Cloudron apps",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"types": "types/index.d.ts",
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@highlightjs/vue-plugin": "^2.1.0",
|
|
51
|
-
"@unhead/vue": "^3.
|
|
51
|
+
"@unhead/vue": "^3.3.0",
|
|
52
52
|
"@vitejs/plugin-vue": "^6.0.8",
|
|
53
53
|
"highlight.js": "^11.11.1",
|
|
54
54
|
"typescript": "^7.0.2",
|
|
55
|
-
"vite": "^8.
|
|
55
|
+
"vite": "^8.2.0",
|
|
56
56
|
"vite-ssg": "^28.3.0",
|
|
57
57
|
"vue": "^3.5.40",
|
|
58
58
|
"vue-router": "^5.2.0"
|
package/types/index.d.ts
CHANGED
|
@@ -35,6 +35,7 @@ import ProgressBar from './components/ProgressBar.vue';
|
|
|
35
35
|
import RadioButton from './components/RadioButton.vue';
|
|
36
36
|
import SaveIndicator from './components/SaveIndicator.vue';
|
|
37
37
|
import SectionItem from './components/SectionItem.vue';
|
|
38
|
+
import SettingsItem from './components/SettingsItem.vue';
|
|
38
39
|
import SideBar from './components/SideBar.vue';
|
|
39
40
|
import SplitLayout from './components/SplitLayout.vue';
|
|
40
41
|
import Spinner from './components/Spinner.vue';
|
|
@@ -54,7 +55,7 @@ import utils from './utils.js';
|
|
|
54
55
|
import tooltip from './tooltip.js';
|
|
55
56
|
import fallbackImage from './fallbackImage.js';
|
|
56
57
|
import textOverflow from './text-overflow.js';
|
|
57
|
-
export { BottomBar, BreadCrumb, Button, ButtonGroup, ClipboardAction, ClipboardButton, CheckBox, DateTimeInput, Dialog, DirectoryView, EmailInput, FileUploader, FormGroup, InputGroup, Icon, ListItem, InputDialog, LoginView, MainLayout, MaskedInput, Menu, MenuItem, SingleSelect, MultiSelect, Notification, NumberInput, OfflineBanner, PasswordInput, Popover, ProgressBar, RadioButton, SaveIndicator, SectionItem, SideBar, SplitLayout, Spinner, Switch, TableView, TableViewActionBar, TabView, TagInput, TextInput, TextInputRaw, TopBar, TreeView, fetcher, gestures, tooltip, fallbackImage, textOverflow, utils, };
|
|
58
|
+
export { BottomBar, BreadCrumb, Button, ButtonGroup, ClipboardAction, ClipboardButton, CheckBox, DateTimeInput, Dialog, DirectoryView, EmailInput, FileUploader, FormGroup, InputGroup, Icon, ListItem, InputDialog, LoginView, MainLayout, MaskedInput, Menu, MenuItem, SingleSelect, MultiSelect, Notification, NumberInput, OfflineBanner, PasswordInput, Popover, ProgressBar, RadioButton, SaveIndicator, SectionItem, SettingsItem, SideBar, SplitLayout, Spinner, Switch, TableView, TableViewActionBar, TabView, TagInput, TextInput, TextInputRaw, TopBar, TreeView, fetcher, gestures, tooltip, fallbackImage, textOverflow, utils, };
|
|
58
59
|
export { CheckBox as Checkbox };
|
|
59
60
|
export { RadioButton as Radiobutton };
|
|
60
61
|
export { BreadCrumb as Breadcrumb };
|