@bodynarf/react.components 1.14.1 → 1.14.3
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/changelog.md +4 -1
- package/components/primitives/radioGroup/component/style.css +63 -143
- package/components/primitives/radioGroup/component/style.scss +33 -2
- package/components/primitives/slider/component/index.d.ts.map +1 -1
- package/components/primitives/slider/component/index.js +33 -6
- package/components/primitives/slider/component/style.css +190 -163
- package/components/primitives/slider/component/style.scss +93 -5
- package/components/primitives/slider/types.d.ts +5 -0
- package/components/primitives/slider/types.d.ts.map +1 -1
- package/components/primitives/switch/component/index.js +2 -2
- package/components/primitives/switch/component/style.css +63 -106
- package/components/primitives/switch/component/style.scss +39 -10
- package/components/progress/component/style.css +41 -41
- package/components/progress/component/style.scss +20 -15
- package/components/stepper/component/style.css +83 -175
- package/components/stepper/component/style.scss +27 -3
- package/components/timeline/component/index.js +1 -1
- package/components/timeline/component/style.css +90 -141
- package/components/timeline/component/style.scss +56 -5
- package/package.json +5 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/components/anchor/component/index.d.ts +0 -8
- package/components/anchor/component/index.d.ts.map +0 -1
- package/components/anchor/component/index.js +0 -23
- package/components/anchor/component/style.css +0 -12
- package/components/anchor/component/style.scss +0 -15
- package/components/anchor/components/anchorWithIcon/index.d.ts +0 -11
- package/components/anchor/components/anchorWithIcon/index.d.ts.map +0 -1
- package/components/anchor/components/anchorWithIcon/index.js +0 -24
- package/components/anchor/components/simpleAnchor/index.d.ts +0 -5
- package/components/anchor/components/simpleAnchor/index.d.ts.map +0 -1
- package/components/anchor/components/simpleAnchor/index.js +0 -11
- package/components/anchor/index.d.ts +0 -3
- package/components/anchor/index.d.ts.map +0 -1
- package/components/anchor/index.js +0 -2
- package/components/anchor/types.d.ts +0 -20
- package/components/anchor/types.d.ts.map +0 -1
- package/components/anchor/types.js +0 -1
- package/components/tooltip/component/index.d.ts +0 -6
- package/components/tooltip/component/index.d.ts.map +0 -1
- package/components/tooltip/component/index.js +0 -80
- package/components/tooltip/index.d.ts +0 -3
- package/components/tooltip/index.d.ts.map +0 -1
- package/components/tooltip/index.js +0 -2
- package/components/tooltip/types.d.ts +0 -31
- package/components/tooltip/types.d.ts.map +0 -1
- package/components/tooltip/types.js +0 -1
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
height: 1.5rem;
|
|
45
45
|
min-width: 1.5rem;
|
|
46
46
|
border-radius: 50%;
|
|
47
|
-
background:
|
|
48
|
-
border: 2px solid
|
|
49
|
-
color:
|
|
47
|
+
background: var(--bulma-primary, #00d1b2);
|
|
48
|
+
border: 2px solid var(--bulma-primary, #00d1b2);
|
|
49
|
+
color: var(--bulma-white, #fff);
|
|
50
50
|
font-size: 0.75rem;
|
|
51
51
|
font-weight: 600;
|
|
52
52
|
z-index: 1;
|
|
@@ -59,30 +59,39 @@
|
|
|
59
59
|
justify-content: center;
|
|
60
60
|
font-size: 0.65rem;
|
|
61
61
|
}
|
|
62
|
+
.bbr-timeline .bbr-timeline-marker.has-text-marker {
|
|
63
|
+
width: auto;
|
|
64
|
+
min-width: 1.5rem;
|
|
65
|
+
padding: 0 0.5rem;
|
|
66
|
+
border-radius: 999px;
|
|
67
|
+
}
|
|
68
|
+
.bbr-timeline .bbr-timeline-marker.has-text-marker .bbr-timeline-marker-content {
|
|
69
|
+
white-space: nowrap;
|
|
70
|
+
}
|
|
62
71
|
.bbr-timeline .bbr-timeline-content {
|
|
63
72
|
flex: 1;
|
|
64
|
-
background:
|
|
65
|
-
border: 1px solid
|
|
73
|
+
background: var(--bulma-white, #fff);
|
|
74
|
+
border: 1px solid var(--bulma-grey-lighter, #dbdbdb);
|
|
66
75
|
border-radius: 4px;
|
|
67
76
|
padding: 1rem;
|
|
68
77
|
margin-left: 1rem;
|
|
69
|
-
box-shadow: 0 2px 4px rgba(
|
|
78
|
+
box-shadow: 0 2px 4px rgba(var(--bulma-black, #0a0a0a), 0.05);
|
|
70
79
|
}
|
|
71
80
|
.bbr-timeline .bbr-timeline-title {
|
|
72
81
|
font-weight: 600;
|
|
73
82
|
font-size: 1rem;
|
|
74
|
-
color:
|
|
83
|
+
color: var(--bulma-grey-darker, #363636);
|
|
75
84
|
line-height: 1.25;
|
|
76
85
|
}
|
|
77
86
|
.bbr-timeline .bbr-timeline-text {
|
|
78
87
|
margin-top: 0.5rem;
|
|
79
88
|
font-size: 0.875rem;
|
|
80
|
-
color:
|
|
89
|
+
color: var(--bulma-grey, #7a7a7a);
|
|
81
90
|
line-height: 1.5;
|
|
82
91
|
}
|
|
83
92
|
.bbr-timeline .bbr-timeline-timestamp {
|
|
84
93
|
font-size: 0.75rem;
|
|
85
|
-
color:
|
|
94
|
+
color: var(--bulma-grey-light, #b5b5b5);
|
|
86
95
|
margin-bottom: 0.25rem;
|
|
87
96
|
}
|
|
88
97
|
.bbr-timeline .bbr-timeline-connector {
|
|
@@ -91,7 +100,7 @@
|
|
|
91
100
|
top: 1.5rem;
|
|
92
101
|
width: 2px;
|
|
93
102
|
height: calc(100% - 1.5rem);
|
|
94
|
-
background:
|
|
103
|
+
background: var(--bulma-grey-lighter, #dbdbdb);
|
|
95
104
|
z-index: 0;
|
|
96
105
|
}
|
|
97
106
|
.bbr-timeline.is-left-aligned .bbr-timeline-item {
|
|
@@ -163,57 +172,37 @@
|
|
|
163
172
|
display: none;
|
|
164
173
|
}
|
|
165
174
|
.bbr-timeline.is-hollow .bbr-timeline-marker {
|
|
166
|
-
background:
|
|
167
|
-
}
|
|
168
|
-
.bbr-timeline.is-hollow .bbr-timeline-item.is-white .bbr-timeline-marker {
|
|
169
|
-
background: hsl(0, 0%, 100%);
|
|
170
|
-
border-color: hsl(0, 0%, 100%);
|
|
171
|
-
color: hsl(0, 0%, 100%);
|
|
172
|
-
}
|
|
173
|
-
.bbr-timeline.is-hollow .bbr-timeline-item.is-black .bbr-timeline-marker {
|
|
174
|
-
background: hsl(0, 0%, 100%);
|
|
175
|
-
border-color: hsl(0, 0%, 4%);
|
|
176
|
-
color: hsl(0, 0%, 4%);
|
|
177
|
-
}
|
|
178
|
-
.bbr-timeline.is-hollow .bbr-timeline-item.is-light .bbr-timeline-marker {
|
|
179
|
-
background: hsl(0, 0%, 100%);
|
|
180
|
-
border-color: hsl(0, 0%, 96%);
|
|
181
|
-
color: hsl(0, 0%, 96%);
|
|
182
|
-
}
|
|
183
|
-
.bbr-timeline.is-hollow .bbr-timeline-item.is-dark .bbr-timeline-marker {
|
|
184
|
-
background: hsl(0, 0%, 100%);
|
|
185
|
-
border-color: hsl(0, 0%, 21%);
|
|
186
|
-
color: hsl(0, 0%, 21%);
|
|
175
|
+
background: var(--bulma-white, #fff);
|
|
187
176
|
}
|
|
188
177
|
.bbr-timeline.is-hollow .bbr-timeline-item.is-primary .bbr-timeline-marker {
|
|
189
|
-
background:
|
|
190
|
-
border-color:
|
|
191
|
-
color:
|
|
178
|
+
background: var(--bulma-white, #fff);
|
|
179
|
+
border-color: var(--bulma-primary, #00d1b2);
|
|
180
|
+
color: var(--bulma-primary, #00d1b2);
|
|
192
181
|
}
|
|
193
182
|
.bbr-timeline.is-hollow .bbr-timeline-item.is-link .bbr-timeline-marker {
|
|
194
|
-
background:
|
|
195
|
-
border-color:
|
|
196
|
-
color:
|
|
183
|
+
background: var(--bulma-white, #fff);
|
|
184
|
+
border-color: var(--bulma-link, #485fc7);
|
|
185
|
+
color: var(--bulma-link, #485fc7);
|
|
197
186
|
}
|
|
198
187
|
.bbr-timeline.is-hollow .bbr-timeline-item.is-info .bbr-timeline-marker {
|
|
199
|
-
background:
|
|
200
|
-
border-color:
|
|
201
|
-
color:
|
|
188
|
+
background: var(--bulma-white, #fff);
|
|
189
|
+
border-color: var(--bulma-info, #3e8ed0);
|
|
190
|
+
color: var(--bulma-info, #3e8ed0);
|
|
202
191
|
}
|
|
203
192
|
.bbr-timeline.is-hollow .bbr-timeline-item.is-success .bbr-timeline-marker {
|
|
204
|
-
background:
|
|
205
|
-
border-color:
|
|
206
|
-
color:
|
|
193
|
+
background: var(--bulma-white, #fff);
|
|
194
|
+
border-color: var(--bulma-success, #48c78e);
|
|
195
|
+
color: var(--bulma-success, #48c78e);
|
|
207
196
|
}
|
|
208
197
|
.bbr-timeline.is-hollow .bbr-timeline-item.is-warning .bbr-timeline-marker {
|
|
209
|
-
background:
|
|
210
|
-
border-color:
|
|
211
|
-
color:
|
|
198
|
+
background: var(--bulma-white, #fff);
|
|
199
|
+
border-color: var(--bulma-warning, #ffe08a);
|
|
200
|
+
color: var(--bulma-warning, #ffe08a);
|
|
212
201
|
}
|
|
213
202
|
.bbr-timeline.is-hollow .bbr-timeline-item.is-danger .bbr-timeline-marker {
|
|
214
|
-
background:
|
|
215
|
-
border-color:
|
|
216
|
-
color:
|
|
203
|
+
background: var(--bulma-white, #fff);
|
|
204
|
+
border-color: var(--bulma-danger, #f14668);
|
|
205
|
+
color: var(--bulma-danger, #f14668);
|
|
217
206
|
}
|
|
218
207
|
.bbr-timeline.is-animated .bbr-timeline-item {
|
|
219
208
|
opacity: 0;
|
|
@@ -290,6 +279,10 @@
|
|
|
290
279
|
min-width: 1.25rem;
|
|
291
280
|
font-size: 0.625rem;
|
|
292
281
|
}
|
|
282
|
+
.bbr-timeline.is-small .bbr-timeline-marker.has-text-marker {
|
|
283
|
+
width: auto;
|
|
284
|
+
min-width: 1.25rem;
|
|
285
|
+
}
|
|
293
286
|
.bbr-timeline.is-small .bbr-timeline-icon,
|
|
294
287
|
.bbr-timeline.is-small .bbr-timeline-marker-content {
|
|
295
288
|
font-size: 0.55rem;
|
|
@@ -317,6 +310,10 @@
|
|
|
317
310
|
min-width: 1.75rem;
|
|
318
311
|
font-size: 0.875rem;
|
|
319
312
|
}
|
|
313
|
+
.bbr-timeline.is-medium .bbr-timeline-marker.has-text-marker {
|
|
314
|
+
width: auto;
|
|
315
|
+
min-width: 1.75rem;
|
|
316
|
+
}
|
|
320
317
|
.bbr-timeline.is-medium .bbr-timeline-icon,
|
|
321
318
|
.bbr-timeline.is-medium .bbr-timeline-marker-content {
|
|
322
319
|
font-size: 0.75rem;
|
|
@@ -338,6 +335,10 @@
|
|
|
338
335
|
min-width: 2rem;
|
|
339
336
|
font-size: 1rem;
|
|
340
337
|
}
|
|
338
|
+
.bbr-timeline.is-large .bbr-timeline-marker.has-text-marker {
|
|
339
|
+
width: auto;
|
|
340
|
+
min-width: 2rem;
|
|
341
|
+
}
|
|
341
342
|
.bbr-timeline.is-large .bbr-timeline-icon,
|
|
342
343
|
.bbr-timeline.is-large .bbr-timeline-marker-content {
|
|
343
344
|
font-size: 0.875rem;
|
|
@@ -356,133 +357,81 @@
|
|
|
356
357
|
top: 2rem;
|
|
357
358
|
height: calc(100% - 2rem);
|
|
358
359
|
}
|
|
359
|
-
.bbr-timeline.is-white .bbr-timeline-marker {
|
|
360
|
-
background: hsl(0, 0%, 100%);
|
|
361
|
-
border-color: hsl(0, 0%, 100%);
|
|
362
|
-
color: hsl(0, 0%, 4%);
|
|
363
|
-
}
|
|
364
|
-
.bbr-timeline.is-white .bbr-timeline-connector {
|
|
365
|
-
background: rgba(255, 255, 255, 0.3);
|
|
366
|
-
}
|
|
367
|
-
.bbr-timeline .bbr-timeline-item.is-white .bbr-timeline-marker {
|
|
368
|
-
background: hsl(0, 0%, 100%);
|
|
369
|
-
border-color: hsl(0, 0%, 100%);
|
|
370
|
-
color: hsl(0, 0%, 4%);
|
|
371
|
-
}
|
|
372
|
-
.bbr-timeline.is-black .bbr-timeline-marker {
|
|
373
|
-
background: hsl(0, 0%, 4%);
|
|
374
|
-
border-color: hsl(0, 0%, 4%);
|
|
375
|
-
color: hsl(0, 0%, 100%);
|
|
376
|
-
}
|
|
377
|
-
.bbr-timeline.is-black .bbr-timeline-connector {
|
|
378
|
-
background: rgba(10.2, 10.2, 10.2, 0.3);
|
|
379
|
-
}
|
|
380
|
-
.bbr-timeline .bbr-timeline-item.is-black .bbr-timeline-marker {
|
|
381
|
-
background: hsl(0, 0%, 4%);
|
|
382
|
-
border-color: hsl(0, 0%, 4%);
|
|
383
|
-
color: hsl(0, 0%, 100%);
|
|
384
|
-
}
|
|
385
|
-
.bbr-timeline.is-light .bbr-timeline-marker {
|
|
386
|
-
background: hsl(0, 0%, 96%);
|
|
387
|
-
border-color: hsl(0, 0%, 96%);
|
|
388
|
-
color: rgba(0, 0, 0, 0.7);
|
|
389
|
-
}
|
|
390
|
-
.bbr-timeline.is-light .bbr-timeline-connector {
|
|
391
|
-
background: rgba(244.8, 244.8, 244.8, 0.3);
|
|
392
|
-
}
|
|
393
|
-
.bbr-timeline .bbr-timeline-item.is-light .bbr-timeline-marker {
|
|
394
|
-
background: hsl(0, 0%, 96%);
|
|
395
|
-
border-color: hsl(0, 0%, 96%);
|
|
396
|
-
color: rgba(0, 0, 0, 0.7);
|
|
397
|
-
}
|
|
398
|
-
.bbr-timeline.is-dark .bbr-timeline-marker {
|
|
399
|
-
background: hsl(0, 0%, 21%);
|
|
400
|
-
border-color: hsl(0, 0%, 21%);
|
|
401
|
-
color: #fff;
|
|
402
|
-
}
|
|
403
|
-
.bbr-timeline.is-dark .bbr-timeline-connector {
|
|
404
|
-
background: rgba(53.55, 53.55, 53.55, 0.3);
|
|
405
|
-
}
|
|
406
|
-
.bbr-timeline .bbr-timeline-item.is-dark .bbr-timeline-marker {
|
|
407
|
-
background: hsl(0, 0%, 21%);
|
|
408
|
-
border-color: hsl(0, 0%, 21%);
|
|
409
|
-
color: #fff;
|
|
410
|
-
}
|
|
411
360
|
.bbr-timeline.is-primary .bbr-timeline-marker {
|
|
412
|
-
background:
|
|
413
|
-
border-color:
|
|
414
|
-
color: #fff;
|
|
361
|
+
background: var(--bulma-primary, #00d1b2);
|
|
362
|
+
border-color: var(--bulma-primary, #00d1b2);
|
|
363
|
+
color: var(--bulma-white, #fff);
|
|
415
364
|
}
|
|
416
365
|
.bbr-timeline.is-primary .bbr-timeline-connector {
|
|
417
|
-
background:
|
|
366
|
+
background: color-mix(in srgb, var(--bulma-primary, #00d1b2) 30%, transparent);
|
|
418
367
|
}
|
|
419
368
|
.bbr-timeline .bbr-timeline-item.is-primary .bbr-timeline-marker {
|
|
420
|
-
background:
|
|
421
|
-
border-color:
|
|
422
|
-
color: #fff;
|
|
369
|
+
background: var(--bulma-primary, #00d1b2);
|
|
370
|
+
border-color: var(--bulma-primary, #00d1b2);
|
|
371
|
+
color: var(--bulma-white, #fff);
|
|
423
372
|
}
|
|
424
373
|
.bbr-timeline.is-link .bbr-timeline-marker {
|
|
425
|
-
background:
|
|
426
|
-
border-color:
|
|
427
|
-
color: #fff;
|
|
374
|
+
background: var(--bulma-link, #485fc7);
|
|
375
|
+
border-color: var(--bulma-link, #485fc7);
|
|
376
|
+
color: var(--bulma-white, #fff);
|
|
428
377
|
}
|
|
429
378
|
.bbr-timeline.is-link .bbr-timeline-connector {
|
|
430
|
-
background:
|
|
379
|
+
background: color-mix(in srgb, var(--bulma-link, #485fc7) 30%, transparent);
|
|
431
380
|
}
|
|
432
381
|
.bbr-timeline .bbr-timeline-item.is-link .bbr-timeline-marker {
|
|
433
|
-
background:
|
|
434
|
-
border-color:
|
|
435
|
-
color: #fff;
|
|
382
|
+
background: var(--bulma-link, #485fc7);
|
|
383
|
+
border-color: var(--bulma-link, #485fc7);
|
|
384
|
+
color: var(--bulma-white, #fff);
|
|
436
385
|
}
|
|
437
386
|
.bbr-timeline.is-info .bbr-timeline-marker {
|
|
438
|
-
background:
|
|
439
|
-
border-color:
|
|
440
|
-
color: #fff;
|
|
387
|
+
background: var(--bulma-info, #3e8ed0);
|
|
388
|
+
border-color: var(--bulma-info, #3e8ed0);
|
|
389
|
+
color: var(--bulma-white, #fff);
|
|
441
390
|
}
|
|
442
391
|
.bbr-timeline.is-info .bbr-timeline-connector {
|
|
443
|
-
background:
|
|
392
|
+
background: color-mix(in srgb, var(--bulma-info, #3e8ed0) 30%, transparent);
|
|
444
393
|
}
|
|
445
394
|
.bbr-timeline .bbr-timeline-item.is-info .bbr-timeline-marker {
|
|
446
|
-
background:
|
|
447
|
-
border-color:
|
|
448
|
-
color: #fff;
|
|
395
|
+
background: var(--bulma-info, #3e8ed0);
|
|
396
|
+
border-color: var(--bulma-info, #3e8ed0);
|
|
397
|
+
color: var(--bulma-white, #fff);
|
|
449
398
|
}
|
|
450
399
|
.bbr-timeline.is-success .bbr-timeline-marker {
|
|
451
|
-
background:
|
|
452
|
-
border-color:
|
|
453
|
-
color: #fff;
|
|
400
|
+
background: var(--bulma-success, #48c78e);
|
|
401
|
+
border-color: var(--bulma-success, #48c78e);
|
|
402
|
+
color: var(--bulma-white, #fff);
|
|
454
403
|
}
|
|
455
404
|
.bbr-timeline.is-success .bbr-timeline-connector {
|
|
456
|
-
background:
|
|
405
|
+
background: color-mix(in srgb, var(--bulma-success, #48c78e) 30%, transparent);
|
|
457
406
|
}
|
|
458
407
|
.bbr-timeline .bbr-timeline-item.is-success .bbr-timeline-marker {
|
|
459
|
-
background:
|
|
460
|
-
border-color:
|
|
461
|
-
color: #fff;
|
|
408
|
+
background: var(--bulma-success, #48c78e);
|
|
409
|
+
border-color: var(--bulma-success, #48c78e);
|
|
410
|
+
color: var(--bulma-white, #fff);
|
|
462
411
|
}
|
|
463
412
|
.bbr-timeline.is-warning .bbr-timeline-marker {
|
|
464
|
-
background:
|
|
465
|
-
border-color:
|
|
413
|
+
background: var(--bulma-warning, #ffe08a);
|
|
414
|
+
border-color: var(--bulma-warning, #ffe08a);
|
|
466
415
|
color: rgba(0, 0, 0, 0.7);
|
|
467
416
|
}
|
|
468
417
|
.bbr-timeline.is-warning .bbr-timeline-connector {
|
|
469
|
-
background:
|
|
418
|
+
background: color-mix(in srgb, var(--bulma-warning, #ffe08a) 30%, transparent);
|
|
470
419
|
}
|
|
471
420
|
.bbr-timeline .bbr-timeline-item.is-warning .bbr-timeline-marker {
|
|
472
|
-
background:
|
|
473
|
-
border-color:
|
|
421
|
+
background: var(--bulma-warning, #ffe08a);
|
|
422
|
+
border-color: var(--bulma-warning, #ffe08a);
|
|
474
423
|
color: rgba(0, 0, 0, 0.7);
|
|
475
424
|
}
|
|
476
425
|
.bbr-timeline.is-danger .bbr-timeline-marker {
|
|
477
|
-
background:
|
|
478
|
-
border-color:
|
|
479
|
-
color: #fff;
|
|
426
|
+
background: var(--bulma-danger, #f14668);
|
|
427
|
+
border-color: var(--bulma-danger, #f14668);
|
|
428
|
+
color: var(--bulma-white, #fff);
|
|
480
429
|
}
|
|
481
430
|
.bbr-timeline.is-danger .bbr-timeline-connector {
|
|
482
|
-
background:
|
|
431
|
+
background: color-mix(in srgb, var(--bulma-danger, #f14668) 30%, transparent);
|
|
483
432
|
}
|
|
484
433
|
.bbr-timeline .bbr-timeline-item.is-danger .bbr-timeline-marker {
|
|
485
|
-
background:
|
|
486
|
-
border-color:
|
|
487
|
-
color: #fff;
|
|
434
|
+
background: var(--bulma-danger, #f14668);
|
|
435
|
+
border-color: var(--bulma-danger, #f14668);
|
|
436
|
+
color: var(--bulma-white, #fff);
|
|
488
437
|
}
|
|
@@ -1,4 +1,28 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "sass:list";
|
|
2
|
+
|
|
3
|
+
// Bulma variables - compatible with v0.9.x and v1.x
|
|
4
|
+
// Uses CSS variables with fallbacks matching Bulma 0.9.4 defaults
|
|
5
|
+
// v1.x: CSS variables (--bulma-*) will be used if defined
|
|
6
|
+
// v0.9.x: Fallback values will be used (no CSS variables in 0.9.x)
|
|
7
|
+
|
|
8
|
+
// Colors
|
|
9
|
+
$primary: var(--bulma-primary, #00d1b2);
|
|
10
|
+
$white: var(--bulma-white, #fff);
|
|
11
|
+
$black: var(--bulma-black, #0a0a0a);
|
|
12
|
+
$grey-lighter: var(--bulma-grey-lighter, #dbdbdb);
|
|
13
|
+
$grey-light: var(--bulma-grey-light, #b5b5b5);
|
|
14
|
+
$grey: var(--bulma-grey, #7a7a7a);
|
|
15
|
+
$grey-darker: var(--bulma-grey-darker, #363636);
|
|
16
|
+
|
|
17
|
+
// Color map for variations
|
|
18
|
+
$colors: (
|
|
19
|
+
"primary": ($primary, $white),
|
|
20
|
+
"link": (var(--bulma-link, #485fc7), $white),
|
|
21
|
+
"info": (var(--bulma-info, #3e8ed0), $white),
|
|
22
|
+
"success": (var(--bulma-success, #48c78e), $white),
|
|
23
|
+
"warning": (var(--bulma-warning, #ffe08a), rgba(0, 0, 0, 0.7)),
|
|
24
|
+
"danger": (var(--bulma-danger, #f14668), $white)
|
|
25
|
+
);
|
|
2
26
|
|
|
3
27
|
$timeline-marker-size: 1.5rem !default;
|
|
4
28
|
$timeline-marker-size-small: 1.25rem !default;
|
|
@@ -95,6 +119,18 @@ $timeline-item-spacing: 2rem !default;
|
|
|
95
119
|
font-size: 0.65rem;
|
|
96
120
|
}
|
|
97
121
|
|
|
122
|
+
// Text marker - pill shape with auto width
|
|
123
|
+
.bbr-timeline-marker.has-text-marker {
|
|
124
|
+
width: auto;
|
|
125
|
+
min-width: $timeline-marker-size;
|
|
126
|
+
padding: 0 0.5rem;
|
|
127
|
+
border-radius: 999px;
|
|
128
|
+
|
|
129
|
+
.bbr-timeline-marker-content {
|
|
130
|
+
white-space: nowrap;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
98
134
|
// Content box
|
|
99
135
|
.bbr-timeline-content {
|
|
100
136
|
flex: 1;
|
|
@@ -241,7 +277,7 @@ $timeline-item-spacing: 2rem !default;
|
|
|
241
277
|
}
|
|
242
278
|
|
|
243
279
|
@each $name, $pair in $colors {
|
|
244
|
-
$color: nth($pair, 1);
|
|
280
|
+
$color: list.nth($pair, 1);
|
|
245
281
|
|
|
246
282
|
.bbr-timeline-item.is-#{$name} .bbr-timeline-marker {
|
|
247
283
|
background: $timeline-marker-hollow-bg;
|
|
@@ -279,6 +315,11 @@ $timeline-item-spacing: 2rem !default;
|
|
|
279
315
|
height: $timeline-marker-size-small;
|
|
280
316
|
min-width: $timeline-marker-size-small;
|
|
281
317
|
font-size: 0.625rem;
|
|
318
|
+
|
|
319
|
+
&.has-text-marker {
|
|
320
|
+
width: auto;
|
|
321
|
+
min-width: $timeline-marker-size-small;
|
|
322
|
+
}
|
|
282
323
|
}
|
|
283
324
|
|
|
284
325
|
.bbr-timeline-icon,
|
|
@@ -315,6 +356,11 @@ $timeline-item-spacing: 2rem !default;
|
|
|
315
356
|
height: $timeline-marker-size-medium;
|
|
316
357
|
min-width: $timeline-marker-size-medium;
|
|
317
358
|
font-size: 0.875rem;
|
|
359
|
+
|
|
360
|
+
&.has-text-marker {
|
|
361
|
+
width: auto;
|
|
362
|
+
min-width: $timeline-marker-size-medium;
|
|
363
|
+
}
|
|
318
364
|
}
|
|
319
365
|
|
|
320
366
|
.bbr-timeline-icon,
|
|
@@ -343,6 +389,11 @@ $timeline-item-spacing: 2rem !default;
|
|
|
343
389
|
height: $timeline-marker-size-large;
|
|
344
390
|
min-width: $timeline-marker-size-large;
|
|
345
391
|
font-size: 1rem;
|
|
392
|
+
|
|
393
|
+
&.has-text-marker {
|
|
394
|
+
width: auto;
|
|
395
|
+
min-width: $timeline-marker-size-large;
|
|
396
|
+
}
|
|
346
397
|
}
|
|
347
398
|
|
|
348
399
|
.bbr-timeline-icon,
|
|
@@ -371,8 +422,8 @@ $timeline-item-spacing: 2rem !default;
|
|
|
371
422
|
|
|
372
423
|
// Color variations
|
|
373
424
|
@each $name, $pair in $colors {
|
|
374
|
-
$color: nth($pair, 1);
|
|
375
|
-
$color-invert: nth($pair, 2);
|
|
425
|
+
$color: list.nth($pair, 1);
|
|
426
|
+
$color-invert: list.nth($pair, 2);
|
|
376
427
|
|
|
377
428
|
&.is-#{$name} {
|
|
378
429
|
.bbr-timeline-marker {
|
|
@@ -382,7 +433,7 @@ $timeline-item-spacing: 2rem !default;
|
|
|
382
433
|
}
|
|
383
434
|
|
|
384
435
|
.bbr-timeline-connector {
|
|
385
|
-
background:
|
|
436
|
+
background: color-mix(in srgb, $color 30%, transparent);
|
|
386
437
|
}
|
|
387
438
|
}
|
|
388
439
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bodynarf/react.components",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.3",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Artem",
|
|
6
6
|
"email": "bodynar@gmail.com"
|
|
@@ -21,6 +21,8 @@
|
|
|
21
21
|
"bulma"
|
|
22
22
|
],
|
|
23
23
|
"scripts": {
|
|
24
|
+
"dev": "cd examples && npm run dev",
|
|
25
|
+
"examples:install": "cd examples && npm install",
|
|
24
26
|
"build": "npx tsc && tsc-alias -p tsconfig.json",
|
|
25
27
|
"copy_styles": "copyfiles -u 1 src/**/*.scss dist",
|
|
26
28
|
"copy_main": "copyfiles package.json *.md .npmignore dist",
|
|
@@ -50,7 +52,8 @@
|
|
|
50
52
|
"stylelint-config-standard-scss": "^13.1.0",
|
|
51
53
|
"tsc-alias": "^1.8.6",
|
|
52
54
|
"typescript": "~5.8.3",
|
|
53
|
-
"typescript-eslint": "^8.35.1"
|
|
55
|
+
"typescript-eslint": "^8.35.1",
|
|
56
|
+
"vite-tsconfig-paths": "^6.1.1"
|
|
54
57
|
},
|
|
55
58
|
"peerDependencies": {
|
|
56
59
|
"@bodynarf/utils": "latest",
|