@bagelink/vue 1.15.293 → 1.15.295

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.15.293",
4
+ "version": "1.15.295",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Bagel Studio",
@@ -310,9 +310,12 @@ opacity: 0;
310
310
  z-index: 1;
311
311
  }
312
312
 
313
- /* Loading.ring applies a thickness offset transform that pulls the spinner off-center */
314
- .bgl_btn :deep(.lds-ring) {
315
- transform: none;
313
+ /* Pin the ring itself to the exact center of the full-button loading overlay. */
314
+ .bgl_btn .btn-loading :deep(.lds-ring) {
315
+ position: absolute;
316
+ top: 50%;
317
+ left: 50%;
318
+ transform: translate(-50%, -50%);
316
319
  }
317
320
 
318
321
  .bgl_btn .bgl_btn-icon {
@@ -29,6 +29,8 @@ const props = defineProps<{
29
29
  h100?: boolean
30
30
  to?: import('vue-router').RouteLocationRaw
31
31
  href?: string
32
+ /** Enable the ripple effect for linked cards. Pass `false` to disable it. */
33
+ ripple?: boolean
32
34
  overflowX?: boolean
33
35
  overflowY?: boolean
34
36
  frame?: boolean
@@ -99,7 +101,7 @@ const hasFooter = computed<boolean>(() =>
99
101
 
100
102
  <template>
101
103
  <component
102
- :is="is" v-ripple="!!to" v-bind="bind" class="bgl_card" :class="[{
104
+ :is="is" v-ripple="ripple !== false && !!to" v-bind="bind" class="bgl_card" :class="[{
103
105
  thin,
104
106
  'border bg-transparent': outline,
105
107
  'h-100': h100,
@@ -407,7 +407,7 @@ defineExpose({ show, hide, shown })
407
407
  <div
408
408
  :id="bglId" ref="popoverRef" popover="manual" class="bgl-dropdown m-0 p-0 border-none"
409
409
  role="menu"
410
- style="border-radius: calc(var(--bgl-card-border-radius) * 0.7);"
410
+ style="border-radius:var(--bgl-card-border-radius);"
411
411
  :class="[props.popupClass, { 'bgl-dropdown--no-positioning': shouldDisablePositioning, 'bg-white shadow': props.card }]"
412
412
  @toggle="onPopoverToggle" @mouseenter="onPopoverMouseenter" @mouseleave="onPopoverMouseleave"
413
413
  @focus="onPopoverMouseenter" @blur="onPopoverMouseleave" @keydown="onPopoverKeydown"
@@ -185,7 +185,7 @@ const headerFontSize = computed(() => {
185
185
  <table class="infinite-wrapper" :class="{ selecting: computedSelectedItems.length }">
186
186
  <thead class="row first-row">
187
187
  <th v-if="isSortable" class="col-drag" />
188
- <th v-if="isSelectable" class="col-check">
188
+ <th v-if="isSelectable" class="col-check ps-1">
189
189
  <input ref="allSelectorEl" type="checkbox" @click.stop @change="(e) => toggleSelectAll(e)">
190
190
  </th>
191
191
  <th
@@ -210,7 +210,7 @@ const headerFontSize = computed(() => {
210
210
  <td v-if="isSortable" class="col-drag">
211
211
  <Icon icon="drag_indicator" :size="1.2" class="drag-handle-col grab" />
212
212
  </td>
213
- <td v-if="isSelectable" class="col-check">
213
+ <td v-if="isSelectable" class="col-check ps-1">
214
214
  <div @click.stop>
215
215
  <input v-model="selectedItems" type="checkbox" :value="row?.id || ''">
216
216
  </div>
@@ -258,9 +258,12 @@ justify-content: center;
258
258
 
259
259
  .col-check {
260
260
  width: 1rem;
261
- padding: 0 0.5rem;
261
+ padding: 0rem 0.5rem;
262
262
  vertical-align: middle;
263
263
  }
264
+ .row-item .col-check {
265
+ padding: 0.25rem 0.5rem 0;
266
+ }
264
267
 
265
268
  .col-check > div {
266
269
  display: flex;
@@ -374,7 +377,7 @@ vertical-align: bottom;
374
377
 
375
378
  .row.first-row::after {
376
379
  content: '';
377
- /* border-bottom: 1px solid var(--bgl-border-color); */
380
+ border-bottom: 1px solid var(--bgl-border-color);
378
381
  position: absolute;
379
382
  left: 0;
380
383
  right: 0;
@@ -162,19 +162,19 @@
162
162
  }
163
163
 
164
164
  .border-bottom {
165
- border-bottom: 1px solid var(--bgl-border-color)
165
+ border-bottom: var(--bgl-border-width, 1px) solid var(--bgl-border-color)
166
166
  }
167
167
 
168
168
  .border-top {
169
- border-top: 1px solid var(--bgl-border-color)
169
+ border-top: var(--bgl-border-width, 1px) solid var(--bgl-border-color)
170
170
  }
171
171
 
172
172
  .border-start {
173
- border-inline-start: 1px solid var(--bgl-border-color)
173
+ border-inline-start: var(--bgl-border-width, 1px) solid var(--bgl-border-color)
174
174
  }
175
175
 
176
176
  .border-end {
177
- border-inline-end: 1px solid var(--bgl-border-color)
177
+ border-inline-end: var(--bgl-border-width, 1px) solid var(--bgl-border-color)
178
178
  }
179
179
 
180
180
  .border-input input:not(.national-number-input),
@@ -178,27 +178,23 @@
178
178
  }
179
179
 
180
180
  .border {
181
- border: 1px solid var(--bgl-border-color);
181
+ border: var(--bgl-border-width, 1px) solid var(--bgl-border-color);
182
182
  }
183
183
 
184
184
  .border-1 {
185
- border-width: 1px !important;
186
- border-style: solid !important;
185
+ --bgl-border-width: 1px;
187
186
  }
188
187
 
189
188
  .border-2 {
190
- border-width: 2px !important;
191
- border-style: solid !important;
189
+ --bgl-border-width: 2px;
192
190
  }
193
191
 
194
192
  .border-3 {
195
- border-width: 3px !important;
196
- border-style: solid !important;
193
+ --bgl-border-width: 3px;
197
194
  }
198
195
 
199
196
  .border-4 {
200
- border-width: 4px !important;
201
- border-style: solid !important;
197
+ --bgl-border-width: 4px;
202
198
  }
203
199
 
204
200
  .outline {
@@ -288,23 +284,19 @@
288
284
  }
289
285
 
290
286
  .m_border-1 {
291
- border-width: 1px !important;
292
- border-style: solid !important;
287
+ --bgl-border-width: 1px;
293
288
  }
294
289
 
295
290
  .m_border-2 {
296
- border-width: 2px !important;
297
- border-style: solid !important;
291
+ --bgl-border-width: 2px;
298
292
  }
299
293
 
300
294
  .m_border-3 {
301
- border-width: 3px !important;
302
- border-style: solid !important;
295
+ --bgl-border-width: 3px;
303
296
  }
304
297
 
305
298
  .m_border-4 {
306
- border-width: 4px !important;
307
- border-style: solid !important;
299
+ --bgl-border-width: 4px;
308
300
  }
309
301
  }
310
302