@awes-io/ui 2.86.0 → 2.88.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.
Files changed (64) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/assets/css/components/_index.css +1 -1
  3. package/assets/css/components/alert.css +6 -9
  4. package/assets/css/components/button-nav.css +26 -15
  5. package/assets/css/components/button.css +204 -455
  6. package/assets/css/components/context-menu.css +0 -37
  7. package/assets/css/components/dropdown-button.css +1 -1
  8. package/assets/css/components/filter-month.css +17 -0
  9. package/assets/css/components/mobile-menu-item.css +1 -1
  10. package/assets/css/components/mobile-menu.css +1 -1
  11. package/assets/css/components/modal-buttons.css +17 -0
  12. package/assets/css/components/modal.css +0 -19
  13. package/assets/css/components/page-menu-buttons.css +16 -17
  14. package/assets/css/components/page-modal.css +1 -1
  15. package/assets/css/components/tab-nav.css +2 -2
  16. package/assets/css/components/table.css +2 -2
  17. package/assets/css/components/user-menu.css +9 -9
  18. package/assets/css/typography.css +39 -6
  19. package/assets/js/icons/mono.js +86 -2
  20. package/assets/js/icons/multicolor.js +0 -6
  21. package/assets/js/styles.js +20 -18
  22. package/components/1_atoms/AwDock.vue +2 -2
  23. package/components/1_atoms/AwDropdown.vue +1 -2
  24. package/components/1_atoms/AwDropdownButton.vue +2 -5
  25. package/components/1_atoms/AwIcon/AwIcon.vue +40 -16
  26. package/components/1_atoms/AwIcon/AwIconSystemMono.vue +12 -6
  27. package/components/1_atoms/AwLabel.vue +2 -4
  28. package/components/1_atoms/AwLink.vue +16 -1
  29. package/components/1_atoms/AwSwitcher.vue +2 -2
  30. package/components/2_molecules/AwButton.vue +116 -96
  31. package/components/2_molecules/AwIsland/AwIsland.vue +4 -3
  32. package/components/2_molecules/AwSelect.vue +60 -45
  33. package/components/2_molecules/AwTabNav.vue +8 -3
  34. package/components/2_molecules/_AwSelectFakeInput.vue +10 -6
  35. package/components/2_molecules/_AwSelectInput.vue +10 -6
  36. package/components/3_organisms/AwAddressBlock.vue +2 -6
  37. package/components/3_organisms/AwCalendar/_AwCalendarNav.vue +6 -2
  38. package/components/3_organisms/AwCodeSnippet.vue +2 -2
  39. package/components/3_organisms/AwContextMenu.vue +14 -6
  40. package/components/3_organisms/AwCropper.vue +13 -11
  41. package/components/3_organisms/AwDate.vue +3 -1
  42. package/components/3_organisms/AwFilterMonth.vue +10 -14
  43. package/components/3_organisms/AwModal.vue +2 -4
  44. package/components/3_organisms/AwModalButtons.vue +129 -0
  45. package/components/3_organisms/AwModelEdit.vue +2 -4
  46. package/components/3_organisms/AwPagination.vue +25 -21
  47. package/components/3_organisms/AwPassword.vue +10 -4
  48. package/components/3_organisms/AwSearch.vue +0 -1
  49. package/components/3_organisms/AwTable/AwTableBuilder.vue +2 -2
  50. package/components/3_organisms/AwTel.vue +1 -1
  51. package/components/3_organisms/AwUploaderFiles.vue +1 -1
  52. package/components/4_pages/AwPage.vue +1 -1
  53. package/components/4_pages/AwPageMenuButtons.vue +27 -10
  54. package/components/4_pages/AwPageSingle.vue +3 -2
  55. package/components/4_pages/_AwPageHeader.vue +1 -1
  56. package/components/4_pages/_AwPageHeadline.vue +3 -4
  57. package/components/5_layouts/_AwHeaderNotification.vue +4 -2
  58. package/components/5_layouts/_AwMobileMenu.vue +6 -14
  59. package/components/5_layouts/_AwUserMenu.vue +25 -12
  60. package/mixins/button.js +10 -2
  61. package/nuxt/index.js +10 -1
  62. package/package.json +2 -2
  63. package/assets/css/components/button-fixed.css +0 -84
  64. package/components/4_pages/_AwButtonFixed.vue +0 -56
@@ -56,7 +56,9 @@
56
56
  theme="icon"
57
57
  class="h-full"
58
58
  >
59
- <AwIconSystemMono name="close" />
59
+ <template #icon>
60
+ <AwIconSystemMono name="close" />
61
+ </template>
60
62
  </AwButton>
61
63
 
62
64
  <slot name="caret" :is-opened="isOpened">
@@ -69,11 +71,13 @@
69
71
  class="h-full"
70
72
  @click="$emit('caret')"
71
73
  >
72
- <AwIconSystemMono
73
- name="triangle"
74
- class="transition-200"
75
- :class="{ 'rotate-180': isOpened }"
76
- />
74
+ <template #icon>
75
+ <AwIconSystemMono
76
+ name="triangle"
77
+ class="transition-200"
78
+ :class="{ 'rotate-180': isOpened }"
79
+ />
80
+ </template>
77
81
  </AwButton>
78
82
  </slot>
79
83
  </slot>
@@ -20,7 +20,9 @@
20
20
  theme="icon"
21
21
  class="h-full"
22
22
  >
23
- <AwIconSystemMono name="close" />
23
+ <template #icon>
24
+ <AwIconSystemMono name="close" />
25
+ </template>
24
26
  </AwButton>
25
27
 
26
28
  <slot name="caret" :is-opened="isOpened">
@@ -33,11 +35,13 @@
33
35
  class="h-full"
34
36
  @click="$emit('caret')"
35
37
  >
36
- <AwIconSystemMono
37
- name="triangle"
38
- class="transition-200"
39
- :class="{ 'rotate-180': isOpened }"
40
- />
38
+ <template #icon>
39
+ <AwIconSystemMono
40
+ name="triangle"
41
+ class="transition-200"
42
+ :class="{ 'rotate-180': isOpened }"
43
+ />
44
+ </template>
41
45
  </AwButton>
42
46
  </slot>
43
47
  </template>
@@ -16,8 +16,8 @@
16
16
  <AwAccordionFold :show="hasAddress">
17
17
  <div class="flex justify-end relative w-full">
18
18
  <AwButton
19
+ color="mono-light"
19
20
  icon="edit"
20
- theme="circle"
21
21
  class="edit-button"
22
22
  @click="openModal(null)"
23
23
  />
@@ -175,11 +175,7 @@
175
175
  @click="saveAddress"
176
176
  />
177
177
 
178
- <AwButton
179
- color="default"
180
- theme="ghost"
181
- @click="resetAddress"
182
- >
178
+ <AwButton color="mono" @click="resetAddress">
183
179
  <span class="text-dark-blue">
184
180
  {{ $t('Cancel') }}
185
181
  </span>
@@ -6,7 +6,9 @@
6
6
  :disabled="disabledPrev"
7
7
  @click.stop="$emit('click:prev')"
8
8
  >
9
- <AwIconSystemMono name="angle" />
9
+ <template #icon>
10
+ <AwIconSystemMono name="angle" />
11
+ </template>
10
12
  </AwButton>
11
13
  <div
12
14
  class="aw-calendar__nav-title"
@@ -29,7 +31,9 @@
29
31
  :disabled="disabledNext"
30
32
  @click.stop="$emit('click:next')"
31
33
  >
32
- <AwIconSystemMono name="angle" rotate="180" />
34
+ <template #icon>
35
+ <AwIconSystemMono name="angle" rotate="180" />
36
+ </template>
33
37
  </AwButton>
34
38
  </div>
35
39
  </template>
@@ -45,8 +45,8 @@ export default {
45
45
  {
46
46
  staticClass: 'absolute top-0 right-0 mr-4 mt-4',
47
47
  props: {
48
- size: 'sm',
49
- color: 'surface'
48
+ size: 'xs',
49
+ theme: 'outline'
50
50
  },
51
51
  on: {
52
52
  click: () => copyFn(props.code)
@@ -27,7 +27,15 @@ export default {
27
27
  default: ''
28
28
  },
29
29
 
30
- hideText: Boolean
30
+ hideText: {
31
+ type: Boolean,
32
+ default: null
33
+ },
34
+
35
+ color: {
36
+ type: String,
37
+ default: 'mono'
38
+ }
31
39
  },
32
40
 
33
41
  render(h) {
@@ -77,12 +85,12 @@ export default {
77
85
 
78
86
  const button = h('AwButton', {
79
87
  props: {
80
- theme: 'ghost',
81
- color: 'default',
82
- text: this.hideText ? '' : this.text
88
+ color: this.color,
89
+ text: this.hideText ? '' : this.text,
90
+ hideText: this.hideText === null ? !this.text : this.hideText
83
91
  },
84
- staticClass: this.buttonClass,
85
- class: { 'aw-context-menu--text': this.text && !this.hideText },
92
+ staticClass: 'aw-context-menu__button',
93
+ class: [this.buttonClass],
86
94
  attrs: {
87
95
  'data-arrow-focus': ''
88
96
  },
@@ -17,17 +17,19 @@
17
17
  color="default"
18
18
  @click="rotate"
19
19
  >
20
- <svg
21
- xmlns="http://www.w3.org/2000/svg"
22
- viewBox="0 0 512 512"
23
- width="20"
24
- height="20"
25
- class="fill-current"
26
- >
27
- <path
28
- d="M256.5 8c66.2.1 126.4 26.2 170.8 68.7L463 41a24 24 0 0141 17v134a24 24 0 01-24 24H346a24 24 0 01-17-41l41.7-41.7a168 168 0 10-4 249.2 12 12 0 0116.3.5l39.7 39.7a12 12 0 01-.5 17.4A248 248 0 11256.5 8z"
29
- />
30
- </svg>
20
+ <template #icon>
21
+ <svg
22
+ xmlns="http://www.w3.org/2000/svg"
23
+ viewBox="0 0 512 512"
24
+ width="20"
25
+ height="20"
26
+ class="fill-current"
27
+ >
28
+ <path
29
+ d="M256.5 8c66.2.1 126.4 26.2 170.8 68.7L463 41a24 24 0 0141 17v134a24 24 0 01-24 24H346a24 24 0 01-17-41l41.7-41.7a168 168 0 10-4 249.2 12 12 0 0116.3.5l39.7 39.7a12 12 0 01-.5 17.4A248 248 0 11256.5 8z"
30
+ />
31
+ </svg>
32
+ </template>
31
33
  </AwButton>
32
34
  </div>
33
35
 
@@ -19,7 +19,9 @@
19
19
  @click="$emit('input', null)"
20
20
  theme="icon"
21
21
  >
22
- <AwIconSystemMono name="close" />
22
+ <template #icon>
23
+ <AwIconSystemMono name="close" />
24
+ </template>
23
25
  </AwButton>
24
26
  </template>
25
27
 
@@ -1,16 +1,14 @@
1
1
  <template>
2
2
  <div :class="[_cssClasses.base, , { default: format === 'DD.MM.YYYY' }]">
3
- <AwButton
3
+ <button
4
4
  :disabled="prevDisabled"
5
- :size="_size"
6
5
  :class="_cssClasses.prev"
7
- theme="system"
8
6
  @click="prev"
7
+ class="aw-filter-month__btn"
9
8
  >
10
- <template #icon>
11
- <AwIconSystemMono name="arrow" size="16" />
12
- </template>
13
- </AwButton>
9
+ <AwIconSystemMono name="arrow" size="16" />
10
+ </button>
11
+
14
12
  <slot :date="date">
15
13
  <div :class="_cssClasses.date">
16
14
  <div
@@ -23,17 +21,15 @@
23
21
  {{ date.format(_displayFormat) }}
24
22
  </div>
25
23
  </slot>
26
- <AwButton
24
+
25
+ <button
27
26
  :disabled="nextDisabled"
28
- :size="_size"
29
27
  :class="_cssClasses.next"
30
- theme="system"
28
+ class="aw-filter-month__btn"
31
29
  @click="next"
32
30
  >
33
- <template #icon>
34
- <AwIconSystemMono name="arrow" rotate="180" size="16" />
35
- </template>
36
- </AwButton>
31
+ <AwIconSystemMono name="arrow" rotate="180" size="16" />
32
+ </button>
37
33
  </div>
38
34
  </template>
39
35
 
@@ -31,11 +31,9 @@
31
31
  :class="elClasses.close"
32
32
  :title="$t('Close')"
33
33
  :aria-label="$t('Close')"
34
- @click.prevent="close()"
35
- theme="ghost"
36
- color="default"
34
+ color="mono-light"
37
35
  tabindex="0"
38
- content-class="p-0"
36
+ @click.prevent="close()"
39
37
  >
40
38
  <template #icon>
41
39
  <AwIconSystemMono name="close" size="16" />
@@ -0,0 +1,129 @@
1
+ <template>
2
+ <div class="aw-modal-buttons" :class="{ 'aw-modal-buttons--desktop': isDesktop, 'aw-modal-buttons--mobile': !isDesktop }">
3
+ <!-- visible buttons -->
4
+ <slot name="buttons" :buttons="groupedButtons.buttons">
5
+ <AwButton
6
+ v-for="({ listeners, tooltip, size, cssClass, autoWidth, ...attrs }, i) in groupedButtons.buttons"
7
+ :key="i"
8
+ v-tooltip.prepend="tooltip"
9
+ v-bind="attrs"
10
+ :size="size ? size : 'lg'"
11
+ class="aw-modal-buttons__button"
12
+ :class="[
13
+ cssClass,
14
+ {
15
+ 'aw-modal-buttons__button--equal': !isDesktop && !autoWidth
16
+ }
17
+ ]"
18
+ v-on="listeners"
19
+ />
20
+ </slot>
21
+
22
+ <!-- dropdown buttons -->
23
+ <template v-if="groupedButtons.dropdown.length">
24
+ <slot name="toggler" :v-bind="{ togglerProps, isOpened, open, close }">
25
+ <AwButton v-bind="togglerProps" @click="open" />
26
+ </slot>
27
+ <AwDropdown :show.sync="isOpened" :options="$options.dropdownOptions">
28
+ <slot name="dropdown" :buttons="groupedButtons.dropdown">
29
+ <AwDropdownButton
30
+ v-for="({ listeners, tooltip, ...attrs }, i) in groupedButtons.dropdown"
31
+ :key="i"
32
+ v-tooltip.prepend="tooltip"
33
+ v-bind="attrs"
34
+ v-on="listeners"
35
+ />
36
+ </slot>
37
+ </AwDropdown>
38
+ </template>
39
+ </div>
40
+ </template>
41
+
42
+ <script>
43
+ import { omit } from 'rambdax'
44
+
45
+ export default {
46
+ name: 'AwModalButtons',
47
+
48
+ props: {
49
+ items: {
50
+ type: Array,
51
+ default: () => []
52
+ },
53
+
54
+ options: {
55
+ type: Object,
56
+ default: () => ({})
57
+ },
58
+
59
+ togglerOptions: {
60
+ type: Object,
61
+ default: () => ({ color: 'default', icon: 'more' })
62
+ },
63
+
64
+ desktopFrom: {
65
+ type: String,
66
+ default: 'md'
67
+ },
68
+
69
+ justify: {
70
+ type: String,
71
+ default: 'end'
72
+ }
73
+ },
74
+
75
+ data() {
76
+ return {
77
+ isOpened: false
78
+ }
79
+ },
80
+
81
+ computed: {
82
+ isDesktop() {
83
+ return this.$screen[this.desktopFrom] || false
84
+ },
85
+
86
+ groupedButtons() {
87
+ return this.items.reduce(
88
+ (acc, item) => {
89
+ const { cta, dropdown, show = true, ...itemProps } = { ...this.options, ...item }
90
+
91
+ // rename class prop
92
+ if (itemProps.class) {
93
+ itemProps.cssClass = itemProps.class
94
+ delete itemProps.class
95
+ }
96
+
97
+ // add button if visible
98
+ if (show !== false) {
99
+ const group = this.isDesktop ? (dropdown ? 'dropdown' : 'buttons') : cta ? 'buttons' : 'dropdown'
100
+ acc[group].push(itemProps)
101
+ }
102
+
103
+ return acc
104
+ },
105
+ { buttons: [], dropdown: [] }
106
+ )
107
+ },
108
+
109
+ togglerProps() {
110
+ return { ...omit(['cta'], this.options || {}), ...this.togglerOptions }
111
+ }
112
+ },
113
+
114
+ methods: {
115
+ open() {
116
+ this.isOpened = true
117
+ },
118
+
119
+ close() {
120
+ this.isOpened = false
121
+ }
122
+ },
123
+
124
+ dropdownOptions: {
125
+ placement: 'top-start',
126
+ modifiers: [{ name: 'offset', options: { offset: [0, 5] } }]
127
+ }
128
+ }
129
+ </script>
@@ -9,9 +9,8 @@
9
9
  <slot name="buttons">
10
10
  <AwButton
11
11
  :disabled="model.saving"
12
- theme="ghost"
13
12
  class="aw-model-edit__button aw-model-edit__button--mobile md:hidden"
14
- color="default"
13
+ color="mono"
15
14
  data-testid="model-reset"
16
15
  @click="reset"
17
16
  >
@@ -30,9 +29,8 @@
30
29
 
31
30
  <AwButton
32
31
  :disabled="model.saving"
33
- theme="ghost"
34
32
  class="aw-model-edit__button hidden md:block ml-4"
35
- color="default"
33
+ color="mono"
36
34
  type="button"
37
35
  data-testid="model-reset"
38
36
  @click="reset"
@@ -16,22 +16,23 @@
16
16
  <AwButton
17
17
  :data-page="prevPage"
18
18
  :disabled="prevPage === null"
19
- color="default"
20
19
  class="mr-1 lg:hidden"
21
- content-class="p-3"
20
+ color="mono"
22
21
  >
23
- <AwIconSystemMono name="arrow" size="16" />
22
+ <template #icon>
23
+ <AwIconSystemMono name="arrow" size="16" />
24
+ </template>
24
25
  </AwButton>
25
26
 
26
27
  <AwButton
27
28
  :data-page="prevPage"
28
29
  :disabled="prevPage === null"
29
- theme="ghost"
30
- color="default"
31
- size="sm"
30
+ color="mono"
32
31
  class="aw-button-nav__arrow-btn hidden lg:inline-flex mr-4"
33
32
  >
34
- <AwIconSystemMono name="arrow" size="16" />
33
+ <template #icon>
34
+ <AwIconSystemMono name="arrow" size="16" />
35
+ </template>
35
36
  </AwButton>
36
37
 
37
38
  <span class="lg:hidden">
@@ -61,22 +62,23 @@
61
62
  <AwButton
62
63
  :data-page="nextPage"
63
64
  :disabled="nextPage === null"
64
- size="sm"
65
- theme="ghost"
66
- color="default"
65
+ color="mono"
67
66
  class="aw-button-nav__arrow-btn hidden lg:inline-flex ml-4"
68
67
  >
69
- <AwIconSystemMono name="arrow" rotate="180" size="16" />
68
+ <template #icon>
69
+ <AwIconSystemMono name="arrow" rotate="180" size="16" />
70
+ </template>
70
71
  </AwButton>
71
72
 
72
73
  <AwButton
73
74
  :data-page="nextPage"
74
75
  :disabled="nextPage === null"
75
- color="default"
76
+ color="mono"
76
77
  class="ml-1 lg:hidden"
77
- content-class="p-3"
78
78
  >
79
- <AwIconSystemMono name="arrow" rotate="180" size="16" />
79
+ <template #icon>
80
+ <AwIconSystemMono name="arrow" rotate="180" size="16" />
81
+ </template>
80
82
  </AwButton>
81
83
  </div>
82
84
 
@@ -85,16 +87,18 @@
85
87
  <div class="flex justify-end">
86
88
  <template v-if="limits">
87
89
  <AwButton
88
- theme="toggle"
90
+ theme="icon"
89
91
  content-class="p-0"
90
92
  @click="limitsOpened = !limitsOpened"
91
93
  >
92
- {{ limit }}
93
- <AwIconSystemMono
94
- name="triangle"
95
- class="inline transition-200"
96
- :class="{ 'rotate-180': limitsOpened }"
97
- />
94
+ <template #icon-right>
95
+ {{ limit }}
96
+ <AwIconSystemMono
97
+ name="triangle"
98
+ class="inline transition-200"
99
+ :class="{ 'rotate-180': limitsOpened }"
100
+ />
101
+ </template>
98
102
  </AwButton>
99
103
  <AwDropdown
100
104
  ref="limits"
@@ -7,10 +7,16 @@
7
7
  type="button"
8
8
  @click.stop="type = isShown ? 'password' : 'text'"
9
9
  >
10
- <Transition name="fade-from-bottom" mode="out-in">
11
- <AwIconSystemMono v-if="isShown" key="hide" name="eye-no" />
12
- <AwIconSystemMono v-else key="show" name="eye" />
13
- </Transition>
10
+ <template #icon>
11
+ <Transition name="fade-from-bottom" mode="out-in">
12
+ <AwIconSystemMono
13
+ v-if="isShown"
14
+ key="hide"
15
+ name="eye-no"
16
+ />
17
+ <AwIconSystemMono v-else key="show" name="eye" />
18
+ </Transition>
19
+ </template>
14
20
  </AwButton>
15
21
  </template>
16
22
  </AwInput>
@@ -15,7 +15,6 @@
15
15
  v-if="!$route.query[param]"
16
16
  name="search"
17
17
  class="aw-search__icon-default mr-4"
18
- size="24"
19
18
  />
20
19
  <button
21
20
  v-else
@@ -136,7 +136,7 @@
136
136
 
137
137
  <AwButton
138
138
  v-if="infiniteScroll && !isLastPage"
139
- color="default"
139
+ color="mono"
140
140
  size="lg"
141
141
  class="mt-3 w-full"
142
142
  @click="fetchMore()"
@@ -146,7 +146,7 @@
146
146
 
147
147
  <AwButton
148
148
  v-if="mixed && !isLastPage"
149
- color="default"
149
+ color="mono"
150
150
  size="lg"
151
151
  class="mt-3 w-full"
152
152
  @click="onPageClick(page + 1, false)"
@@ -42,7 +42,7 @@
42
42
  "
43
43
  >
44
44
  <AwIconSystemMono
45
- :name="phoneNumber.valid ? 'check-light' : 'ban-light'"
45
+ :name="phoneNumber.valid ? 'check' : 'ban'"
46
46
  />
47
47
  </span>
48
48
  </template>
@@ -26,7 +26,7 @@
26
26
  <AwButton
27
27
  theme="icon"
28
28
  icon="close"
29
- size="sm"
29
+ size="xs"
30
30
  :text="parent.$t('Remove file')"
31
31
  @click="props.removeFile(file.id)"
32
32
  />
@@ -75,7 +75,7 @@
75
75
  ></div>
76
76
  <div class="flex-1 text-center">
77
77
  <AwButton
78
- color="surface"
78
+ color="mono"
79
79
  class="-mb-4"
80
80
  content-class="rounded-b-none normal-case"
81
81
  @click="toggleFullscreen(false)"
@@ -6,7 +6,7 @@
6
6
  class="aw-page-menu-buttons__aw-context-menu"
7
7
  :options="$options.dropdownOptions"
8
8
  :text="$t('More')"
9
- :hide-text="hideContextMenuText"
9
+ :hide-text="!$screen[showContextMenuTextFrom]"
10
10
  >
11
11
  <AwDropdownButton
12
12
  v-for="({ listeners, tooltip, iconSize, ...attrs },
@@ -41,15 +41,31 @@
41
41
  v-if="!isExpanded && splitButtons.fixed"
42
42
  class="aw-page-menu-buttons__fixed-btns"
43
43
  >
44
- <AwButtonFixed
44
+ <AwButton
45
45
  v-for="({ listeners, tooltip, ...attrs },
46
46
  i) in splitButtons.fixed"
47
47
  :key="i"
48
- :expanded="isInTopPosition"
49
48
  v-tooltip="tooltip"
50
49
  v-bind="attrs"
50
+ auto-width
51
51
  v-on="listeners"
52
- />
52
+ >
53
+ <template #icon="{ icon }">
54
+ <AwIcon :name="icon" />
55
+ </template>
56
+
57
+ <template #default="{ text }">
58
+ <span
59
+ v-if="text"
60
+ class="aw-page-menu-buttons__fixed-btn-text truncate"
61
+ :class="{
62
+ 'aw-page-menu-buttons__fixed-btn-text--expanded': isInTopPosition
63
+ }"
64
+ >
65
+ {{ text }}
66
+ </span>
67
+ </template>
68
+ </AwButton>
53
69
  </div>
54
70
  </div>
55
71
  </template>
@@ -62,16 +78,12 @@ import { supportsPassive } from '@AwUtils/events'
62
78
  const toIconButton = (props) => ({
63
79
  ...props,
64
80
  size: 'lg',
65
- theme: 'circle'
81
+ theme: 'solid'
66
82
  })
67
83
 
68
84
  export default {
69
85
  name: 'AwPageMenuButtons',
70
86
 
71
- components: {
72
- AwButtonFixed: () => import('@AwPages/_AwButtonFixed.vue')
73
- },
74
-
75
87
  props: {
76
88
  items: {
77
89
  type: Array,
@@ -90,7 +102,12 @@ export default {
90
102
  default: 150 // px
91
103
  },
92
104
 
93
- hideContextMenuText: Boolean
105
+ // hideContextMenuText: Boolean,
106
+
107
+ showContextMenuTextFrom: {
108
+ type: String,
109
+ default: 'lg'
110
+ }
94
111
  },
95
112
 
96
113
  data() {