@usssa/component-library 1.0.0-alpha.265 → 1.0.0-alpha.267
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/README.md
CHANGED
package/package.json
CHANGED
|
@@ -71,22 +71,13 @@ const handleMenuClick = (menu) => {
|
|
|
71
71
|
@on-click="handleMenuClick(menuItem)"
|
|
72
72
|
>
|
|
73
73
|
<template v-if="!miniState" #trailing_slot>
|
|
74
|
-
<UBadgeStd
|
|
75
|
-
v-if="menuItem.badgeInfo"
|
|
76
|
-
:class="{
|
|
77
|
-
'nested-badge-margin': multiLevel,
|
|
78
|
-
}"
|
|
79
|
-
:label="menuItem.badgeInfo"
|
|
80
|
-
size="lg"
|
|
81
|
-
tabindex="-1"
|
|
82
|
-
/>
|
|
83
74
|
<q-icon
|
|
84
75
|
v-if="menuItem.rightIcon && !multiLevel"
|
|
85
76
|
:class="`${menuItem.rightIcon} ${
|
|
86
77
|
currentPath === menuItem.to.replaceAll('/', '')
|
|
87
78
|
? ''
|
|
88
79
|
: 'non-active-right-icon'
|
|
89
|
-
}`"
|
|
80
|
+
} q-ml-xs`"
|
|
90
81
|
:aria-label="menuItem.badgeInfo"
|
|
91
82
|
size="1rem"
|
|
92
83
|
tabindex="-1"
|
|
@@ -101,6 +92,19 @@ const handleMenuClick = (menu) => {
|
|
|
101
92
|
size="1.5rem"
|
|
102
93
|
tabindex="-1"
|
|
103
94
|
/>
|
|
95
|
+
<UBadgeStd
|
|
96
|
+
v-if="menuItem.badgeInfo"
|
|
97
|
+
:class="{
|
|
98
|
+
'badge-with-navigation-icon':
|
|
99
|
+
(menuItem.children && menuItem.children.length && multiLevel) ||
|
|
100
|
+
(menuItem.slot && menuItem.slot.hasSlot && multiLevel),
|
|
101
|
+
}"
|
|
102
|
+
class="default-badge-position"
|
|
103
|
+
:color="menuItem.badgeStyle?.color ?? 'primary'"
|
|
104
|
+
:label="menuItem.badgeInfo"
|
|
105
|
+
:size="menuItem.badgeStyle?.size ?? 'lg'"
|
|
106
|
+
tabindex="-1"
|
|
107
|
+
/>
|
|
104
108
|
</template>
|
|
105
109
|
</UMenuItem>
|
|
106
110
|
</transition>
|
|
@@ -118,7 +122,9 @@ const handleMenuClick = (menu) => {
|
|
|
118
122
|
.drawer-menu-list .q-icon.navigation-right-icon
|
|
119
123
|
margin-left: $xs
|
|
120
124
|
color: $dark !important
|
|
125
|
+
position: absolute
|
|
126
|
+
right: 0
|
|
121
127
|
|
|
122
|
-
.
|
|
123
|
-
margin-right:
|
|
128
|
+
.badge-with-navigation-icon
|
|
129
|
+
margin-right: $ms !important
|
|
124
130
|
</style>
|
|
@@ -185,7 +185,7 @@ const viewClick = () => {
|
|
|
185
185
|
:description="props.eventAgeGroup"
|
|
186
186
|
/>
|
|
187
187
|
</span>
|
|
188
|
-
|
|
188
|
+
<span v-if="props.eventAgeGroup && props.eventLocation">|</span>
|
|
189
189
|
<span v-if="props.eventLocation" class="q-px-xxs">
|
|
190
190
|
{{ eventLocation.text }}
|
|
191
191
|
<UTooltip
|
|
@@ -193,7 +193,13 @@ const viewClick = () => {
|
|
|
193
193
|
:description="props.eventLocation"
|
|
194
194
|
/>
|
|
195
195
|
</span>
|
|
196
|
-
|
|
196
|
+
<span
|
|
197
|
+
v-if="
|
|
198
|
+
(props.eventAgeGroup || props.eventLocation) && props.eventHost
|
|
199
|
+
"
|
|
200
|
+
>
|
|
201
|
+
|
|
|
202
|
+
</span>
|
|
197
203
|
<span v-if="props.eventHost" class="q-ml-xxs">
|
|
198
204
|
{{ eventHost.text }}
|
|
199
205
|
<UTooltip
|
|
@@ -310,14 +316,14 @@ const viewClick = () => {
|
|
|
310
316
|
</div>
|
|
311
317
|
|
|
312
318
|
<div class="event-item-mobile text-body-md text-description q-mt-ba">
|
|
313
|
-
<span v-if="props.eventAgeGroup" class="q-
|
|
319
|
+
<span v-if="props.eventAgeGroup" class="q-mx-xxs">
|
|
314
320
|
{{ eventAgeGroup.text }}
|
|
315
321
|
<UTooltip
|
|
316
322
|
v-if="eventAgeGroup.isTrimmed"
|
|
317
323
|
:description="props.eventAgeGroup"
|
|
318
324
|
/>
|
|
319
325
|
</span>
|
|
320
|
-
|
|
326
|
+
<span v-if="props.eventAgeGroup && props.eventLocation">|</span>
|
|
321
327
|
<span v-if="props.eventLocation" class="q-px-xxs">
|
|
322
328
|
{{ eventLocation.text }}
|
|
323
329
|
<UTooltip
|
|
@@ -325,7 +331,10 @@ const viewClick = () => {
|
|
|
325
331
|
:description="props.eventLocation"
|
|
326
332
|
/>
|
|
327
333
|
</span>
|
|
328
|
-
|
|
334
|
+
<span
|
|
335
|
+
v-if="(props.eventAgeGroup || props.eventLocation) && props.eventHost"
|
|
336
|
+
>|</span
|
|
337
|
+
>
|
|
329
338
|
<span v-if="props.eventHost" class="q-ml-xxs">
|
|
330
339
|
{{ eventHost.text }}
|
|
331
340
|
<UTooltip v-if="eventHost.isTrimmed" :description="props.eventHost" />
|
|
@@ -479,10 +479,7 @@ watch(selectedTab, () => {
|
|
|
479
479
|
<q-item-label class="text-body-sm">
|
|
480
480
|
{{ scope.opt.label }}
|
|
481
481
|
</q-item-label>
|
|
482
|
-
<q-item-label
|
|
483
|
-
v-if="scope.opt.description"
|
|
484
|
-
caption
|
|
485
|
-
>
|
|
482
|
+
<q-item-label v-if="scope.opt.description" caption>
|
|
486
483
|
{{ scope.opt.description }}
|
|
487
484
|
</q-item-label>
|
|
488
485
|
</div>
|
|
@@ -624,6 +621,7 @@ watch(selectedTab, () => {
|
|
|
624
621
|
min-height: $md
|
|
625
622
|
align-items: center
|
|
626
623
|
padding: 0px
|
|
624
|
+
gap: $xxs
|
|
627
625
|
|
|
628
626
|
&.q-field--outlined .q-field__control
|
|
629
627
|
border-radius: $xs
|