@bagelink/vue 1.21.20 → 1.21.26
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/dist/{StructuredEditor-DVWSlCuv.js → StructuredEditor-BQEjrMDP.js} +1 -1
- package/dist/{StructuredEditor-CBut_alq.cjs → StructuredEditor-UdsxFbg_.cjs} +1 -1
- package/dist/components/layout/AppSidebar.vue.d.ts.map +1 -1
- package/dist/core.css +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{src-C2dddU0t.js → src-C0qYUY7s.js} +6 -6
- package/dist/{src-CF4KCA4n.cjs → src-pIF2XEoP.cjs} +2 -2
- package/dist/src.css +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/components/layout/AppSidebar.vue +3 -2
- package/src/components/layout/SidebarNavItem.vue +3 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bagelink/vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.21.
|
|
4
|
+
"version": "1.21.26",
|
|
5
5
|
"description": "Bagel core sdk packages",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Bagel Studio",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"@types/signature_pad": "^4.0.0",
|
|
64
64
|
"vue": "^3.5.45",
|
|
65
65
|
"vue-component-type-helpers": "^2.2.12",
|
|
66
|
-
"@bagelink/sdk": "1.21.
|
|
66
|
+
"@bagelink/sdk": "1.21.26"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
69
|
"@bagelink/sdk": "*",
|
|
@@ -162,7 +162,8 @@ const sidebarStyles = computed(() => {
|
|
|
162
162
|
>
|
|
163
163
|
<div
|
|
164
164
|
:style="{
|
|
165
|
-
backgroundColor
|
|
165
|
+
/* `background` (not backgroundColor) so gradients via bgColor work */
|
|
166
|
+
background: props.bgColor,
|
|
166
167
|
color: props.textColor,
|
|
167
168
|
...(props.card && { borderRadius: 'var(--bgl-card-border-radius)' }),
|
|
168
169
|
}" :class="{
|
|
@@ -218,7 +219,7 @@ const sidebarStyles = computed(() => {
|
|
|
218
219
|
v-for="link in props.footerLinks" :key="link.to || link.label"
|
|
219
220
|
:title="!isOpen && !isMobile ? resolveI18n(link.label) : ''"
|
|
220
221
|
:style="{
|
|
221
|
-
|
|
222
|
+
background: isActiveRoute(link) ? props.activeColor : 'transparent',
|
|
222
223
|
color: isActiveRoute(link) ? 'white' : props.textColor,
|
|
223
224
|
}"
|
|
224
225
|
fullWidth alignTxt="start" class="sidebar-link-btn flex-shrink-0 px-075" :class="[link.class, { 'nav-btn-active': isActiveRoute(link) }]"
|
|
@@ -68,7 +68,7 @@ function onParentClick() {
|
|
|
68
68
|
fullWidth alignTxt="start" class="sidebar-link-btn flex-shrink-0 px-075"
|
|
69
69
|
:class="[link.class, { 'nav-btn-active': selfActive }]"
|
|
70
70
|
:style="{
|
|
71
|
-
|
|
71
|
+
background: selfActive ? activeColor : 'transparent',
|
|
72
72
|
color: selfActive ? 'white' : textColor,
|
|
73
73
|
}"
|
|
74
74
|
:to="link.to || undefined" @click="link.action"
|
|
@@ -96,8 +96,8 @@ function onParentClick() {
|
|
|
96
96
|
'nav-btn-active': !open && !isMobile && isActive,
|
|
97
97
|
}"
|
|
98
98
|
:style="{
|
|
99
|
-
|
|
100
|
-
? (isActive ? activeColor :
|
|
99
|
+
background: !open && !isMobile
|
|
100
|
+
? (isActive ? activeColor : 'transparent')
|
|
101
101
|
: undefined,
|
|
102
102
|
color: isActive
|
|
103
103
|
? (!open && !isMobile ? 'white' : activeColor)
|