@awes-io/ui 2.68.0 → 2.69.0
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/CHANGELOG.md +27 -0
- package/assets/css/components/page-menu-buttons.css +1 -1
- package/assets/css/components/select.css +1 -0
- package/assets/css/components/text-field.css +1 -1
- package/components/1_atoms/AwDropdownButton.vue +6 -1
- package/components/3_organisms/AwContextMenu.vue +3 -2
- package/components/4_pages/AwPageMenuButtons.vue +18 -17
- package/package.json +2 -2
- package/readme.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [2.69.0](https://github.com/awes-io/client/compare/@awes-io/ui@2.68.1...@awes-io/ui@2.69.0) (2023-09-04)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* pkg ([3a0fb7b](https://github.com/awes-io/client/commit/3a0fb7bac1c9f2b41abbeebc866458ac9d6a06d9))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* update ([ba17580](https://github.com/awes-io/client/commit/ba1758017437b2cb18109807ab4465f6be4a0ba1))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [2.68.1](https://github.com/awes-io/client/compare/@awes-io/ui@2.68.0...@awes-io/ui@2.68.1) (2023-09-04)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* change styles and code in some components ([1d998fb](https://github.com/awes-io/client/commit/1d998fb7d07587feead975fafc9dd9205e4372c4))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [2.68.0](https://github.com/awes-io/client/compare/@awes-io/ui@2.67.0...@awes-io/ui@2.68.0) (2023-08-25)
|
|
7
34
|
|
|
8
35
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
class="w-6 text-left inline-block mr-1"
|
|
15
15
|
>
|
|
16
16
|
<slot name="icon">
|
|
17
|
-
<AwIcon :name="icon" />
|
|
17
|
+
<AwIcon :name="icon" :size="iconSize" />
|
|
18
18
|
</slot>
|
|
19
19
|
</span>
|
|
20
20
|
<slot>
|
|
@@ -58,6 +58,11 @@ export default {
|
|
|
58
58
|
default: ''
|
|
59
59
|
},
|
|
60
60
|
|
|
61
|
+
iconSize: {
|
|
62
|
+
type: [String, Number],
|
|
63
|
+
default: ''
|
|
64
|
+
},
|
|
65
|
+
|
|
61
66
|
/**
|
|
62
67
|
* Sets active state class
|
|
63
68
|
*/
|
|
@@ -72,9 +72,10 @@ export default {
|
|
|
72
72
|
props: {
|
|
73
73
|
theme: 'ghost',
|
|
74
74
|
color: 'default',
|
|
75
|
-
contentClass: 'p-2'
|
|
75
|
+
contentClass: 'p-2',
|
|
76
|
+
text: this.$t('More')
|
|
76
77
|
},
|
|
77
|
-
staticClass: '
|
|
78
|
+
staticClass: 'h-10 ' + this.buttonClass,
|
|
78
79
|
attrs: {
|
|
79
80
|
'data-arrow-focus': ''
|
|
80
81
|
},
|
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div v-if="items && items.length" class="aw-page-menu-buttons">
|
|
3
|
+
<!-- context menu -->
|
|
4
|
+
<AwContextMenu
|
|
5
|
+
v-if="splitButtons.dropdown.length"
|
|
6
|
+
class="aw-page-menu-buttons__aw-context-menu"
|
|
7
|
+
vertical
|
|
8
|
+
:options="$options.dropdownOptions"
|
|
9
|
+
>
|
|
10
|
+
<AwDropdownButton
|
|
11
|
+
v-for="({ listeners, tooltip, iconSize, ...attrs },
|
|
12
|
+
i) in splitButtons.dropdown"
|
|
13
|
+
:key="i"
|
|
14
|
+
:iconSize="iconSize ? iconSize : 24"
|
|
15
|
+
v-tooltip="tooltip"
|
|
16
|
+
v-bind="attrs"
|
|
17
|
+
v-on="listeners"
|
|
18
|
+
/>
|
|
19
|
+
</AwContextMenu>
|
|
20
|
+
|
|
3
21
|
<!-- default buttons -->
|
|
4
22
|
<AwFlow
|
|
5
23
|
v-if="isExpanded && splitButtons.buttons.length"
|
|
@@ -17,23 +35,6 @@
|
|
|
17
35
|
/>
|
|
18
36
|
</AwFlow>
|
|
19
37
|
|
|
20
|
-
<!-- context menu -->
|
|
21
|
-
<AwContextMenu
|
|
22
|
-
v-if="splitButtons.dropdown.length"
|
|
23
|
-
class="aw-page-menu-buttons__aw-context-menu"
|
|
24
|
-
vertical
|
|
25
|
-
:options="$options.dropdownOptions"
|
|
26
|
-
>
|
|
27
|
-
<AwDropdownButton
|
|
28
|
-
v-for="({ listeners, tooltip, ...attrs },
|
|
29
|
-
i) in splitButtons.dropdown"
|
|
30
|
-
:key="i"
|
|
31
|
-
v-tooltip="tooltip"
|
|
32
|
-
v-bind="attrs"
|
|
33
|
-
v-on="listeners"
|
|
34
|
-
/>
|
|
35
|
-
</AwContextMenu>
|
|
36
|
-
|
|
37
38
|
<!-- fixed button -->
|
|
38
39
|
<div
|
|
39
40
|
v-if="!isExpanded && splitButtons.fixed"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awes-io/ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.69.0",
|
|
4
4
|
"description": "User Interface (UI) components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ui",
|
|
@@ -112,5 +112,5 @@
|
|
|
112
112
|
"rollup-plugin-visualizer": "^2.6.0",
|
|
113
113
|
"rollup-plugin-vue": "^5.0.1"
|
|
114
114
|
},
|
|
115
|
-
"gitHead": "
|
|
115
|
+
"gitHead": "4759d6f928a64de1452f06409a79b2a00fcbd735"
|
|
116
116
|
}
|
package/readme.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Awes.io/Ui
|
|
1
|
+
Awes.io/Ui 424
|