@bagelink/vue 1.21.22 → 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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/vue",
3
3
  "type": "module",
4
- "version": "1.21.22",
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.22"
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: props.bgColor,
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
- backgroundColor: isActiveRoute(link) ? props.activeColor : props.bgColor,
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
- backgroundColor: selfActive ? activeColor : bgColor,
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
- backgroundColor: !open && !isMobile
100
- ? (isActive ? activeColor : bgColor)
99
+ background: !open && !isMobile
100
+ ? (isActive ? activeColor : 'transparent')
101
101
  : undefined,
102
102
  color: isActive
103
103
  ? (!open && !isMobile ? 'white' : activeColor)