@bagelink/vue 1.15.88 → 1.15.90
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/components/Card.vue.d.ts.map +1 -1
- package/dist/components/ListItem.vue.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/Card.vue +2 -0
- package/src/components/ListItem.vue +5 -4
- package/src/styles/colors.css +23 -0
- package/src/styles/layout.css +264 -26
- package/src/styles/mobilLayout.css +133 -0
package/package.json
CHANGED
package/src/components/Card.vue
CHANGED
|
@@ -129,6 +129,8 @@ padding: var(--bgl-card-pad);
|
|
|
129
129
|
/* When padding is stripped via the p-0 utility, the header supplies its own. */
|
|
130
130
|
.bgl_card.p-0 { --bgl-card-pad: 0rem; }
|
|
131
131
|
.bgl_card.p-0 .card_header { padding-inline: 1rem; padding-block: 0.75rem; margin-bottom: 0; }
|
|
132
|
+
/* Likewise the label hangs off the card edge on a p-0 card, so give it its own. */
|
|
133
|
+
.bgl_card.p-0 .card_label { padding-inline: 1rem; padding-top: 0.75rem; }
|
|
132
134
|
|
|
133
135
|
.bgl_card.BagelTable {
|
|
134
136
|
height: 100%;
|
|
@@ -99,7 +99,7 @@ const bind = computed(() => {
|
|
|
99
99
|
<template>
|
|
100
100
|
<div
|
|
101
101
|
v-bind="rootAttrs"
|
|
102
|
-
class="flex space-between list-item-row"
|
|
102
|
+
class="flex space-between list-item-row bg"
|
|
103
103
|
:class="{ 'no-border-list': props.flat || rounded, 'list-item-flush': props.fullWidth, 'list-item-fullrow': isClickable, 'list-item-rounded': rounded, 'list-item-active': active }"
|
|
104
104
|
:style="color ? { '--bgl-list-item-accent': `var(--bgl-${color})` } : undefined"
|
|
105
105
|
>
|
|
@@ -177,13 +177,14 @@ gap: 0.5rem;
|
|
|
177
177
|
--bgl-list-item-end-inset: 1rem;
|
|
178
178
|
}
|
|
179
179
|
.list-item-fullrow .list-item-end {
|
|
180
|
-
position: absolute;
|
|
180
|
+
/* position: absolute; */
|
|
181
181
|
inset-inline-end: var(--bgl-list-item-end-inset);
|
|
182
|
-
top: 50%;
|
|
183
|
-
transform: translateY(-50%);
|
|
182
|
+
/* top: 50%; */
|
|
183
|
+
/* transform: translateY(-50%); */
|
|
184
184
|
z-index: 1;
|
|
185
185
|
/* non-interactive meta lets clicks fall through to the row button… */
|
|
186
186
|
pointer-events: none;
|
|
187
|
+
padding-inline-end: 1rem;
|
|
187
188
|
}
|
|
188
189
|
/* …interactive trailing controls stay clickable on top of the row button. */
|
|
189
190
|
.list-item-fullrow .list-item-end :where(button, a, input, select, label, [role="button"], [tabindex]) {
|
package/src/styles/colors.css
CHANGED
|
@@ -742,6 +742,29 @@
|
|
|
742
742
|
color: var(--bgl-bg) !important;
|
|
743
743
|
}
|
|
744
744
|
|
|
745
|
+
.bg-box {
|
|
746
|
+
background: var(--bgl-box-bg) !important;
|
|
747
|
+
--alpha-color: var(--bgl-box-bg);
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
.color-box {
|
|
751
|
+
color: var(--bgl-box-bg) !important;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
.bg-input-box input,
|
|
755
|
+
.bg-input-box textarea,
|
|
756
|
+
.bg-input-box .selectinput-btn {
|
|
757
|
+
background: var(--bgl-box-bg) !important;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
.border-box {
|
|
761
|
+
border-color: var(--bgl-box-bg) !important;
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
.color-input-box input {
|
|
765
|
+
color: var(--bgl-box-bg) !important;
|
|
766
|
+
}
|
|
767
|
+
|
|
745
768
|
.bg-popup {
|
|
746
769
|
background: var(--bgl-popup-bg) !important;
|
|
747
770
|
--alpha-color: var(--bgl-popup-bg);
|
package/src/styles/layout.css
CHANGED
|
@@ -19,25 +19,100 @@
|
|
|
19
19
|
* `width:N; height:N` (often + place-items:center + radius) chip/control/avatar
|
|
20
20
|
* pattern. Pair with `.grid.place-items-center` (or `.flex-center`) + `.round`
|
|
21
21
|
* / `.radius-*` as needed. Values in px to match icon/control sizing. */
|
|
22
|
-
.square-8 {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
.square-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
.square-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
.square-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
22
|
+
.square-8 {
|
|
23
|
+
width: 8px;
|
|
24
|
+
height: 8px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.square-10 {
|
|
28
|
+
width: 10px;
|
|
29
|
+
height: 10px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.square-12 {
|
|
33
|
+
width: 12px;
|
|
34
|
+
height: 12px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.square-16 {
|
|
38
|
+
width: 16px;
|
|
39
|
+
height: 16px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.square-20 {
|
|
43
|
+
width: 20px;
|
|
44
|
+
height: 20px;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.square-24 {
|
|
48
|
+
width: 24px;
|
|
49
|
+
height: 24px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.square-28 {
|
|
53
|
+
width: 28px;
|
|
54
|
+
height: 28px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.square-30 {
|
|
58
|
+
width: 30px;
|
|
59
|
+
height: 30px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.square-32 {
|
|
63
|
+
width: 32px;
|
|
64
|
+
height: 32px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.square-34 {
|
|
68
|
+
width: 34px;
|
|
69
|
+
height: 34px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.square-36 {
|
|
73
|
+
width: 36px;
|
|
74
|
+
height: 36px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.square-38 {
|
|
78
|
+
width: 38px;
|
|
79
|
+
height: 38px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.square-40 {
|
|
83
|
+
width: 40px;
|
|
84
|
+
height: 40px;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.square-44 {
|
|
88
|
+
width: 44px;
|
|
89
|
+
height: 44px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.square-48 {
|
|
93
|
+
width: 48px;
|
|
94
|
+
height: 48px;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.square-56 {
|
|
98
|
+
width: 56px;
|
|
99
|
+
height: 56px;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.square-64 {
|
|
103
|
+
width: 64px;
|
|
104
|
+
height: 64px;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.square-80 {
|
|
108
|
+
width: 80px;
|
|
109
|
+
height: 80px;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.square-96 {
|
|
113
|
+
width: 96px;
|
|
114
|
+
height: 96px;
|
|
115
|
+
}
|
|
41
116
|
|
|
42
117
|
/* FLEX-CENTER — flex + center both axes. The other half of the chip pattern. */
|
|
43
118
|
.flex-center {
|
|
@@ -48,24 +123,52 @@
|
|
|
48
123
|
|
|
49
124
|
/* ABSOLUTE CENTERING — for an absolutely-positioned child, center on one or
|
|
50
125
|
* both axes. Replaces the repeated `left:50%; transform:translateX(-50%)`. */
|
|
51
|
-
.center-x {
|
|
52
|
-
|
|
53
|
-
|
|
126
|
+
.center-x {
|
|
127
|
+
inset-inline-start: 50%;
|
|
128
|
+
transform: translateX(-50%);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.center-y {
|
|
132
|
+
top: 50%;
|
|
133
|
+
transform: translateY(-50%);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.center-xy {
|
|
137
|
+
inset-inline-start: 50%;
|
|
138
|
+
top: 50%;
|
|
139
|
+
transform: translate(-50%, -50%);
|
|
140
|
+
}
|
|
54
141
|
|
|
55
142
|
/* DIVIDERS — hairline separators in the border color. `.divider` is a full-width
|
|
56
143
|
* horizontal rule; `.divider-v` is a short vertical rule for inline groups
|
|
57
144
|
* (toolbars, pill search bars, breadcrumbs). Height of the vertical one tracks
|
|
58
145
|
* the line via --divider-size (default 1.25rem). */
|
|
59
|
-
.divider {
|
|
60
|
-
|
|
146
|
+
.divider {
|
|
147
|
+
height: 1px;
|
|
148
|
+
width: 100%;
|
|
149
|
+
background: var(--bgl-border-color);
|
|
150
|
+
border: none;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.divider-v {
|
|
154
|
+
width: 1px;
|
|
155
|
+
height: var(--divider-size, 1.25rem);
|
|
156
|
+
background: var(--bgl-border-color);
|
|
157
|
+
flex-shrink: 0;
|
|
158
|
+
}
|
|
61
159
|
|
|
62
160
|
/* ABSOLUTE-FILL — position:absolute pinned to all edges. Collapses the very
|
|
63
161
|
* common `position:absolute; inset:0` overlay/background pattern. */
|
|
64
|
-
.absolute-fill {
|
|
162
|
+
.absolute-fill {
|
|
163
|
+
position: absolute;
|
|
164
|
+
inset: 0;
|
|
165
|
+
}
|
|
65
166
|
|
|
66
167
|
/* TABULAR-NUMS — fixed-width figures so numbers line up in columns and don't
|
|
67
168
|
* jitter when animating counters/stats. */
|
|
68
|
-
.tabular-nums {
|
|
169
|
+
.tabular-nums {
|
|
170
|
+
font-variant-numeric: tabular-nums;
|
|
171
|
+
}
|
|
69
172
|
|
|
70
173
|
.rounded,
|
|
71
174
|
.radius,
|
|
@@ -1256,6 +1359,101 @@
|
|
|
1256
1359
|
min-width: 0 !important;
|
|
1257
1360
|
}
|
|
1258
1361
|
|
|
1362
|
+
.w-5p,
|
|
1363
|
+
.w5p {
|
|
1364
|
+
width: 5%;
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1367
|
+
.w-10p,
|
|
1368
|
+
.w10p {
|
|
1369
|
+
width: 10%;
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
.w-15p,
|
|
1373
|
+
.w15p {
|
|
1374
|
+
width: 15%;
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1377
|
+
.w-20p,
|
|
1378
|
+
.w20p {
|
|
1379
|
+
width: 20%;
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
.w-25p,
|
|
1383
|
+
.w25p {
|
|
1384
|
+
width: 25%;
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
.w-30p,
|
|
1388
|
+
.w30p {
|
|
1389
|
+
width: 30%;
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1392
|
+
.w-35p,
|
|
1393
|
+
.w35p {
|
|
1394
|
+
width: 35%;
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1397
|
+
.w-40p,
|
|
1398
|
+
.w40p {
|
|
1399
|
+
width: 40%;
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
.w-45p,
|
|
1403
|
+
.w45p {
|
|
1404
|
+
width: 45%;
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
.w-50p,
|
|
1408
|
+
.w50p {
|
|
1409
|
+
width: 50%;
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
.w-55p,
|
|
1413
|
+
.w55p {
|
|
1414
|
+
width: 55%;
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1417
|
+
.w-60p,
|
|
1418
|
+
.w60p {
|
|
1419
|
+
width: 60%;
|
|
1420
|
+
}
|
|
1421
|
+
|
|
1422
|
+
.w-65p,
|
|
1423
|
+
.w65p {
|
|
1424
|
+
width: 65%;
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
.w-70p,
|
|
1428
|
+
.w70p {
|
|
1429
|
+
width: 70%;
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1432
|
+
.w-75p,
|
|
1433
|
+
.w75p {
|
|
1434
|
+
width: 75%;
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1437
|
+
.w-80p,
|
|
1438
|
+
.w80p {
|
|
1439
|
+
width: 80%;
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
.w-85p,
|
|
1443
|
+
.w85p {
|
|
1444
|
+
width: 85%;
|
|
1445
|
+
}
|
|
1446
|
+
|
|
1447
|
+
.w-90p,
|
|
1448
|
+
.w90p {
|
|
1449
|
+
width: 90%;
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
.w-95p,
|
|
1453
|
+
.w95p {
|
|
1454
|
+
width: 95%;
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1259
1457
|
.w-100,
|
|
1260
1458
|
.w-100p,
|
|
1261
1459
|
.w100p {
|
|
@@ -6838,6 +7036,46 @@
|
|
|
6838
7036
|
grid-template-rows: 1fr;
|
|
6839
7037
|
}
|
|
6840
7038
|
|
|
7039
|
+
.grid-template-columns-1 {
|
|
7040
|
+
grid-template-columns: 1fr;
|
|
7041
|
+
}
|
|
7042
|
+
|
|
7043
|
+
.grid-template-columns-2 {
|
|
7044
|
+
grid-template-columns: 2fr;
|
|
7045
|
+
}
|
|
7046
|
+
|
|
7047
|
+
.grid-template-columns-3 {
|
|
7048
|
+
grid-template-columns: 3fr;
|
|
7049
|
+
}
|
|
7050
|
+
|
|
7051
|
+
.grid-template-columns-4 {
|
|
7052
|
+
grid-template-columns: 4fr;
|
|
7053
|
+
}
|
|
7054
|
+
|
|
7055
|
+
.grid-template-columns-5 {
|
|
7056
|
+
grid-template-columns: 5fr;
|
|
7057
|
+
}
|
|
7058
|
+
|
|
7059
|
+
.grid-template-columns-6 {
|
|
7060
|
+
grid-template-columns: 6fr;
|
|
7061
|
+
}
|
|
7062
|
+
|
|
7063
|
+
.grid-template-columns-7 {
|
|
7064
|
+
grid-template-columns: 7fr;
|
|
7065
|
+
}
|
|
7066
|
+
|
|
7067
|
+
.grid-template-columns-8 {
|
|
7068
|
+
grid-template-columns: 8fr;
|
|
7069
|
+
}
|
|
7070
|
+
|
|
7071
|
+
.grid-template-columns-9 {
|
|
7072
|
+
grid-template-columns: 9fr;
|
|
7073
|
+
}
|
|
7074
|
+
|
|
7075
|
+
.grid-template-columns-10 {
|
|
7076
|
+
grid-template-columns: 10fr;
|
|
7077
|
+
}
|
|
7078
|
+
|
|
6841
7079
|
.grid-wrap-50,
|
|
6842
7080
|
.grid-wrap-50-fit {
|
|
6843
7081
|
grid-template-columns: repeat(auto-fit, minmax(min(50px, 100%), 1fr));
|
|
@@ -449,6 +449,100 @@
|
|
|
449
449
|
min-width: 0 !important;
|
|
450
450
|
}
|
|
451
451
|
|
|
452
|
+
.m_w-5p,
|
|
453
|
+
.m_w5p {
|
|
454
|
+
width: 5%;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
.m_w-10p,
|
|
458
|
+
.m_w10p {
|
|
459
|
+
width: 10%;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
.m_w-15p,
|
|
463
|
+
.m_w15p {
|
|
464
|
+
width: 15%;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.m_w-20p,
|
|
468
|
+
.m_w20p {
|
|
469
|
+
width: 20%;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.m_w-25p,
|
|
473
|
+
.m_w25p {
|
|
474
|
+
width: 25%;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
.m_w-30p,
|
|
478
|
+
.m_w30p {
|
|
479
|
+
width: 30%;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
.m_w-35p,
|
|
483
|
+
.m_w35p {
|
|
484
|
+
width: 35%;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
.m_w-40p,
|
|
488
|
+
.m_w40p {
|
|
489
|
+
width: 40%;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
.m_w-45p,
|
|
493
|
+
.m_w45p {
|
|
494
|
+
width: 45%;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
.m_w-50p,
|
|
498
|
+
.m_w50p {
|
|
499
|
+
width: 50%;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
.m_w-55p,
|
|
503
|
+
.m_w55p {
|
|
504
|
+
width: 55%;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
.m_w-60p,
|
|
508
|
+
.m_w60p {
|
|
509
|
+
width: 60%;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
.m_w-65p,
|
|
513
|
+
.m_w65p {
|
|
514
|
+
width: 65%;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
.m_w-70p,
|
|
518
|
+
.m_w70p {
|
|
519
|
+
width: 70%;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.m_w-75p,
|
|
523
|
+
.m_w75p {
|
|
524
|
+
width: 75%;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
.m_w-80p,
|
|
528
|
+
.m_w80p {
|
|
529
|
+
width: 80%;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
.m_w-85p,
|
|
533
|
+
.m_w85p {
|
|
534
|
+
width: 85%;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
.m_w-90p,
|
|
538
|
+
.m_w90p {
|
|
539
|
+
width: 90%;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
.m_w-95p,
|
|
543
|
+
.m_w95p {
|
|
544
|
+
width: 95%;
|
|
545
|
+
}
|
|
452
546
|
|
|
453
547
|
.m_w-100,
|
|
454
548
|
.m_w-100p,
|
|
@@ -6898,6 +6992,45 @@
|
|
|
6898
6992
|
overflow-y: hidden;
|
|
6899
6993
|
}
|
|
6900
6994
|
|
|
6995
|
+
.m_grid-template-columns-1 {
|
|
6996
|
+
grid-template-columns: 1fr !important;
|
|
6997
|
+
}
|
|
6998
|
+
|
|
6999
|
+
.m_grid-template-columns-2 {
|
|
7000
|
+
grid-template-columns: 2fr !important;
|
|
7001
|
+
}
|
|
7002
|
+
|
|
7003
|
+
.m_grid-template-columns-3 {
|
|
7004
|
+
grid-template-columns: 3fr !important;
|
|
7005
|
+
}
|
|
7006
|
+
|
|
7007
|
+
.m_grid-template-columns-4 {
|
|
7008
|
+
grid-template-columns: 4fr !important;
|
|
7009
|
+
}
|
|
7010
|
+
|
|
7011
|
+
.m_grid-template-columns-5 {
|
|
7012
|
+
grid-template-columns: 5fr !important;
|
|
7013
|
+
}
|
|
7014
|
+
|
|
7015
|
+
.m_grid-template-columns-6 {
|
|
7016
|
+
grid-template-columns: 6fr !important;
|
|
7017
|
+
}
|
|
7018
|
+
|
|
7019
|
+
.m_grid-template-columns-7 {
|
|
7020
|
+
grid-template-columns: 7fr !important;
|
|
7021
|
+
}
|
|
7022
|
+
|
|
7023
|
+
.m_grid-template-columns-8 {
|
|
7024
|
+
grid-template-columns: 8fr !important;
|
|
7025
|
+
}
|
|
7026
|
+
|
|
7027
|
+
.m_grid-template-columns-9 {
|
|
7028
|
+
grid-template-columns: 9fr !important;
|
|
7029
|
+
}
|
|
7030
|
+
|
|
7031
|
+
.m_grid-template-columns-10 {
|
|
7032
|
+
grid-template-columns: 10fr !important;
|
|
7033
|
+
}
|
|
6901
7034
|
|
|
6902
7035
|
|
|
6903
7036
|
.m_grid-wrap-50,
|