@tempots/beatui 0.35.0 → 0.37.0
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/{2019-DJeW9RI7.cjs → 2019-B1QESOSc.cjs} +1 -1
- package/dist/{2019-Dmseo7Cq.js → 2019-RaU4YQ5c.js} +2 -2
- package/dist/{2020-I1mnGGtD.js → 2020-BAomdSE8.js} +2 -2
- package/dist/{2020-BySxLQc5.cjs → 2020-BI-SxTSK.cjs} +1 -1
- package/dist/auth/index.cjs.js +1 -1
- package/dist/auth/index.es.js +2 -2
- package/dist/beatui.css +530 -10
- package/dist/beatui.tailwind.css +530 -10
- package/dist/{index-CBc0q0zl.cjs → index-BKjL6RO2.cjs} +2 -2
- package/dist/{index-D-CBfcZj.js → index-BS0NyhvV.js} +192 -189
- package/dist/{index-Ct2_ulan.cjs → index-BzApzJXc.cjs} +1 -1
- package/dist/{index-DbQzJti7.js → index-Dc9UNC8n.js} +1 -1
- package/dist/index.cjs.js +4 -4
- package/dist/index.es.js +2501 -2264
- package/dist/json-schema/index.cjs.js +1 -1
- package/dist/json-schema/index.es.js +1 -1
- package/dist/{modal-Dm61yY5i.js → modal-CxG-RO9B.js} +1 -1
- package/dist/{modal-AFhB4rIq.cjs → modal-OMSAbIg1.cjs} +1 -1
- package/dist/notice-0Xhzr7qR.cjs +2 -0
- package/dist/{notice-Cd9ElXwb.js → notice-C7o5d8Jw.js} +390 -375
- package/dist/types/components/data/badge.d.ts +16 -0
- package/dist/types/components/data/index.d.ts +2 -0
- package/dist/types/components/data/table.d.ts +27 -0
- package/dist/types/components/form/input/input-wrapper.d.ts +4 -2
- package/dist/types/components/form/input/switch.d.ts +4 -3
- package/dist/types/components/layout/action-card.d.ts +19 -0
- package/dist/types/components/layout/index.d.ts +1 -0
- package/dist/utils-BcIRhDH0.cjs +1 -0
- package/dist/{utils-g5YCiiS6.js → utils-C7619Rp3.js} +392 -398
- package/package.json +1 -1
- package/dist/notice-len8sDjL.cjs +0 -2
- package/dist/utils-BetBqtiV.cjs +0 -1
package/dist/beatui.tailwind.css
CHANGED
|
@@ -742,6 +742,180 @@ a:focus-visible {
|
|
|
742
742
|
|
|
743
743
|
}
|
|
744
744
|
@layer components {
|
|
745
|
+
@layer components {
|
|
746
|
+
.bc-action-card {
|
|
747
|
+
/* Default CSS variables - can be overridden by inline styles or hover states */
|
|
748
|
+
--action-card-bg: var(--bg-background-light);
|
|
749
|
+
--action-card-border: var(--border-divider-light);
|
|
750
|
+
--action-card-title-color: var(--text-normal-light);
|
|
751
|
+
--action-card-description-color: var(--text-muted-light);
|
|
752
|
+
|
|
753
|
+
/* Layout */
|
|
754
|
+
display: flex;
|
|
755
|
+
align-items: flex-start;
|
|
756
|
+
gap: var(--spacing-md);
|
|
757
|
+
|
|
758
|
+
/* Spacing */
|
|
759
|
+
padding: var(--spacing-md);
|
|
760
|
+
|
|
761
|
+
/* Border */
|
|
762
|
+
border: 2px solid var(--action-card-border);
|
|
763
|
+
border-radius: var(--radius-lg);
|
|
764
|
+
|
|
765
|
+
/* Background */
|
|
766
|
+
background-color: var(--action-card-bg);
|
|
767
|
+
|
|
768
|
+
/* Transitions */
|
|
769
|
+
transition:
|
|
770
|
+
border-color 0.2s ease,
|
|
771
|
+
background-color 0.2s ease,
|
|
772
|
+
box-shadow 0.2s ease;
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
/* Icon container */
|
|
776
|
+
.bc-action-card__icon {
|
|
777
|
+
flex-shrink: 0;
|
|
778
|
+
display: flex;
|
|
779
|
+
align-items: center;
|
|
780
|
+
justify-content: center;
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
/* Content container */
|
|
784
|
+
.bc-action-card__content {
|
|
785
|
+
flex: 1;
|
|
786
|
+
min-width: 0; /* Allow text truncation */
|
|
787
|
+
display: flex;
|
|
788
|
+
flex-direction: column;
|
|
789
|
+
gap: var(--spacing-xs);
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
/* Title */
|
|
793
|
+
.bc-action-card__title {
|
|
794
|
+
font-size: var(--font-size-lg);
|
|
795
|
+
font-weight: var(--font-weight-semibold);
|
|
796
|
+
color: var(--action-card-title-color);
|
|
797
|
+
line-height: var(--line-height-tight);
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
/* Description */
|
|
801
|
+
.bc-action-card__description {
|
|
802
|
+
font-size: var(--font-size-md);
|
|
803
|
+
font-weight: var(--font-weight-normal);
|
|
804
|
+
color: var(--action-card-description-color);
|
|
805
|
+
line-height: var(--line-height-normal);
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
/* Clickable state */
|
|
809
|
+
.bc-action-card--clickable {
|
|
810
|
+
cursor: pointer;
|
|
811
|
+
user-select: none;
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
.bc-action-card--clickable:hover {
|
|
815
|
+
--action-card-bg: var(--bg-surface-light);
|
|
816
|
+
box-shadow: var(--shadow-md);
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
.bc-action-card--clickable:active {
|
|
820
|
+
transform: translateY(1px);
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
/* Active state */
|
|
824
|
+
.bc-action-card--active {
|
|
825
|
+
--action-card-border: var(--color-primary-500);
|
|
826
|
+
box-shadow: var(--shadow-sm);
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
.bc-action-card--active:hover {
|
|
830
|
+
--action-card-border: var(--color-primary-600);
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
.b-dark .bc-action-card--active {
|
|
834
|
+
--action-card-border: var(--color-primary-400);
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
.b-dark .bc-action-card--active:hover {
|
|
838
|
+
--action-card-border: var(--color-primary-300);
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
/* Disabled state */
|
|
842
|
+
.bc-action-card--disabled {
|
|
843
|
+
opacity: 0.5;
|
|
844
|
+
cursor: not-allowed;
|
|
845
|
+
pointer-events: none;
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
/* Size variants */
|
|
849
|
+
.bc-action-card--xs {
|
|
850
|
+
padding: var(--spacing-xs);
|
|
851
|
+
gap: var(--spacing-xs);
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
.bc-action-card--xs .bc-action-card__title {
|
|
855
|
+
font-size: var(--font-size-sm);
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
.bc-action-card--xs .bc-action-card__description {
|
|
859
|
+
font-size: var(--font-size-xs);
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
.bc-action-card--sm {
|
|
863
|
+
padding: var(--spacing-sm);
|
|
864
|
+
gap: var(--spacing-sm);
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
.bc-action-card--sm .bc-action-card__title {
|
|
868
|
+
font-size: var(--font-size-md);
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
.bc-action-card--sm .bc-action-card__description {
|
|
872
|
+
font-size: var(--font-size-sm);
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
.bc-action-card--lg {
|
|
876
|
+
padding: var(--spacing-xl);
|
|
877
|
+
gap: var(--spacing-lg);
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
.bc-action-card--lg .bc-action-card__title {
|
|
881
|
+
font-size: var(--font-size-xl);
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
.bc-action-card--lg .bc-action-card__description {
|
|
885
|
+
font-size: var(--font-size-lg);
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
.bc-action-card--xl {
|
|
889
|
+
padding: var(--spacing-2xl);
|
|
890
|
+
gap: var(--spacing-xl);
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
.bc-action-card--xl .bc-action-card__title {
|
|
894
|
+
font-size: var(--font-size-2xl);
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
.bc-action-card--xl .bc-action-card__description {
|
|
898
|
+
font-size: var(--font-size-xl);
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
/* Focus styles for accessibility */
|
|
902
|
+
.bc-action-card--clickable:focus-visible {
|
|
903
|
+
outline: 2px solid var(--color-primary-500);
|
|
904
|
+
outline-offset: 2px;
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
/* Reduced motion */
|
|
908
|
+
@media (prefers-reduced-motion: reduce) {
|
|
909
|
+
.bc-action-card {
|
|
910
|
+
transition: none;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
.bc-action-card--clickable:active {
|
|
914
|
+
transform: none;
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
}
|
|
918
|
+
|
|
745
919
|
/* Auth Container Component */
|
|
746
920
|
.bc-auth-container--styled {
|
|
747
921
|
display: flex;
|
|
@@ -1085,6 +1259,138 @@ a:focus-visible {
|
|
|
1085
1259
|
color: var(--color-white);
|
|
1086
1260
|
}
|
|
1087
1261
|
|
|
1262
|
+
/* Badge Component */
|
|
1263
|
+
.bc-badge {
|
|
1264
|
+
--badge-bg: transparent;
|
|
1265
|
+
--badge-bg-dark: transparent;
|
|
1266
|
+
--badge-bg-hover: var(--badge-bg);
|
|
1267
|
+
--badge-bg-hover-dark: var(--badge-bg-dark);
|
|
1268
|
+
--badge-text: inherit;
|
|
1269
|
+
--badge-text-dark: inherit;
|
|
1270
|
+
--badge-text-hover: var(--badge-text);
|
|
1271
|
+
--badge-text-hover-dark: var(--badge-text-dark);
|
|
1272
|
+
--badge-border: transparent;
|
|
1273
|
+
--badge-border-dark: transparent;
|
|
1274
|
+
|
|
1275
|
+
display: inline-flex;
|
|
1276
|
+
align-items: center;
|
|
1277
|
+
justify-content: center;
|
|
1278
|
+
border: 1.5px solid var(--badge-border);
|
|
1279
|
+
font-weight: var(--font-weight-semibold);
|
|
1280
|
+
font-family: var(
|
|
1281
|
+
--default-ui-font-family,
|
|
1282
|
+
var(--font-ui, var(--font-body, var(--font-family-sans)))
|
|
1283
|
+
);
|
|
1284
|
+
font-size: inherit;
|
|
1285
|
+
line-height: 1;
|
|
1286
|
+
border-radius: var(--radius-badge, var(--radius-control, var(--radius-md)));
|
|
1287
|
+
transition: all
|
|
1288
|
+
var(--motion-transition-fast, var(--motion-duration-fast, 0.2s))
|
|
1289
|
+
var(--motion-easing-standard, cubic-bezier(0.2, 0, 0, 1));
|
|
1290
|
+
background-color: var(--badge-bg);
|
|
1291
|
+
color: var(--badge-text);
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
.bc-badge__content {
|
|
1295
|
+
display: flex;
|
|
1296
|
+
align-items: center;
|
|
1297
|
+
justify-content: center;
|
|
1298
|
+
gap: var(
|
|
1299
|
+
--badge-gap,
|
|
1300
|
+
var(--spacing-stack-2xs, calc(var(--spacing-base) / 2))
|
|
1301
|
+
);
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
/* Size variants */
|
|
1305
|
+
.bc-badge--size-xs {
|
|
1306
|
+
font-size: var(--font-size-xs);
|
|
1307
|
+
padding: calc(var(--spacing-base) * 0.5) calc(var(--spacing-base) * 1);
|
|
1308
|
+
--badge-gap: calc(var(--spacing-base) * 0.25);
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1311
|
+
.bc-badge--size-sm {
|
|
1312
|
+
font-size: var(--font-size-sm);
|
|
1313
|
+
padding: calc(var(--spacing-base) * 0.75) calc(var(--spacing-base) * 1.5);
|
|
1314
|
+
--badge-gap: calc(var(--spacing-base) * 0.5);
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
.bc-badge--size-md {
|
|
1318
|
+
font-size: var(--font-size-base);
|
|
1319
|
+
padding: var(--spacing-base) calc(var(--spacing-base) * 2);
|
|
1320
|
+
--badge-gap: calc(var(--spacing-base) * 0.75);
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
.bc-badge--size-lg {
|
|
1324
|
+
font-size: var(--font-size-lg);
|
|
1325
|
+
padding: calc(var(--spacing-base) * 1.25) calc(var(--spacing-base) * 2.5);
|
|
1326
|
+
--badge-gap: var(--spacing-base);
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
.bc-badge--size-xl {
|
|
1330
|
+
font-size: var(--font-size-xl);
|
|
1331
|
+
padding: calc(var(--spacing-base) * 1.5) calc(var(--spacing-base) * 3);
|
|
1332
|
+
--badge-gap: calc(var(--spacing-base) * 1.25);
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
/* Circle variant - makes badge circular with equal width/height */
|
|
1336
|
+
.bc-badge--circle {
|
|
1337
|
+
padding-left: 0;
|
|
1338
|
+
padding-right: 0;
|
|
1339
|
+
aspect-ratio: 1;
|
|
1340
|
+
border-radius: 50%;
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1343
|
+
.bc-badge--circle.bc-badge--size-xs {
|
|
1344
|
+
min-width: calc(var(--font-size-xs) + var(--spacing-base) * 1 + 3px);
|
|
1345
|
+
}
|
|
1346
|
+
|
|
1347
|
+
.bc-badge--circle.bc-badge--size-sm {
|
|
1348
|
+
min-width: calc(var(--font-size-sm) + var(--spacing-base) * 1.5 + 3px);
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
.bc-badge--circle.bc-badge--size-md {
|
|
1352
|
+
min-width: calc(var(--font-size-md) + var(--spacing-base) * 2 + 3px);
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1355
|
+
.bc-badge--circle.bc-badge--size-lg {
|
|
1356
|
+
min-width: calc(var(--font-size-lg) * 1.2 + var(--spacing-base) * 2.5 + 3px);
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
.bc-badge--circle.bc-badge--size-xl {
|
|
1360
|
+
min-width: calc(var(--font-size-xl) * 1.2 + var(--spacing-base) * 3 + 3px);
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
/* Full width variant */
|
|
1364
|
+
.bc-badge--full-width {
|
|
1365
|
+
display: flex;
|
|
1366
|
+
width: 100%;
|
|
1367
|
+
}
|
|
1368
|
+
|
|
1369
|
+
/* Dark mode styles */
|
|
1370
|
+
.b-dark .bc-badge {
|
|
1371
|
+
background-color: var(--badge-bg-dark);
|
|
1372
|
+
color: var(--badge-text-dark);
|
|
1373
|
+
border-color: var(--badge-border-dark);
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1376
|
+
.b-dark .bc-badge:hover {
|
|
1377
|
+
background-color: var(--badge-bg-hover-dark);
|
|
1378
|
+
color: var(--badge-text-hover-dark);
|
|
1379
|
+
}
|
|
1380
|
+
|
|
1381
|
+
/* Accessibility adjustments */
|
|
1382
|
+
@media (prefers-contrast: high) {
|
|
1383
|
+
.bc-badge {
|
|
1384
|
+
border-width: 2px;
|
|
1385
|
+
}
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1389
|
+
.bc-badge {
|
|
1390
|
+
transition: none;
|
|
1391
|
+
}
|
|
1392
|
+
}
|
|
1393
|
+
|
|
1088
1394
|
/* Button Component */
|
|
1089
1395
|
.bc-button {
|
|
1090
1396
|
--button-bg: transparent;
|
|
@@ -3230,13 +3536,26 @@ a:focus-visible {
|
|
|
3230
3536
|
width: 100%;
|
|
3231
3537
|
}
|
|
3232
3538
|
|
|
3233
|
-
/* Horizontal layout
|
|
3234
|
-
.bc-input-wrapper--horizontal
|
|
3539
|
+
/* Horizontal layout variants */
|
|
3540
|
+
.bc-input-wrapper--horizontal,
|
|
3541
|
+
.bc-input-wrapper--horizontal-label-right,
|
|
3542
|
+
.bc-input-wrapper--horizontal-fixed {
|
|
3235
3543
|
flex-direction: row;
|
|
3236
3544
|
align-items: center;
|
|
3237
3545
|
gap: var(--spacing-stack-lg, calc(var(--spacing-base) * 4));
|
|
3238
3546
|
}
|
|
3239
3547
|
|
|
3548
|
+
/* Horizontal with label on right */
|
|
3549
|
+
.bc-input-wrapper--horizontal-label-right {
|
|
3550
|
+
flex-direction: row-reverse;
|
|
3551
|
+
}
|
|
3552
|
+
|
|
3553
|
+
/* Horizontal with fixed-width label */
|
|
3554
|
+
.bc-input-wrapper--horizontal-fixed .bc-input-wrapper__header {
|
|
3555
|
+
width: var(--input-wrapper-label-width, 12rem);
|
|
3556
|
+
flex-shrink: 0;
|
|
3557
|
+
}
|
|
3558
|
+
|
|
3240
3559
|
/* Label header container */
|
|
3241
3560
|
.bc-input-wrapper__header {
|
|
3242
3561
|
display: flex;
|
|
@@ -3288,23 +3607,32 @@ a:focus-visible {
|
|
|
3288
3607
|
vertical-align: top;
|
|
3289
3608
|
}
|
|
3290
3609
|
|
|
3291
|
-
/* Horizontal layout adjustments */
|
|
3292
|
-
.bc-input-wrapper--horizontal .bc-input-wrapper__header
|
|
3610
|
+
/* Horizontal layout adjustments (all variants) */
|
|
3611
|
+
.bc-input-wrapper--horizontal .bc-input-wrapper__header,
|
|
3612
|
+
.bc-input-wrapper--horizontal-label-right .bc-input-wrapper__header {
|
|
3293
3613
|
flex-shrink: 0;
|
|
3294
3614
|
min-width: 0;
|
|
3295
3615
|
/* Allow text to wrap if needed */
|
|
3296
3616
|
}
|
|
3297
3617
|
|
|
3298
|
-
.bc-input-wrapper--horizontal .bc-input-wrapper__content
|
|
3618
|
+
.bc-input-wrapper--horizontal .bc-input-wrapper__content,
|
|
3619
|
+
.bc-input-wrapper--horizontal-label-right .bc-input-wrapper__content,
|
|
3620
|
+
.bc-input-wrapper--horizontal-fixed .bc-input-wrapper__content {
|
|
3299
3621
|
flex: 1;
|
|
3300
3622
|
min-width: 0; /* Prevent overflow issues */
|
|
3301
3623
|
}
|
|
3302
3624
|
|
|
3303
3625
|
/* Error messages in horizontal mode should align with content */
|
|
3304
|
-
.bc-input-wrapper--horizontal .bc-input-wrapper__error
|
|
3626
|
+
.bc-input-wrapper--horizontal .bc-input-wrapper__error,
|
|
3627
|
+
.bc-input-wrapper--horizontal-fixed .bc-input-wrapper__error {
|
|
3305
3628
|
margin-left: calc(var(--spacing-base) * 4); /* Align with content */
|
|
3306
3629
|
}
|
|
3307
3630
|
|
|
3631
|
+
/* Error messages in horizontal-label-right mode should align with content on the right */
|
|
3632
|
+
.bc-input-wrapper--horizontal-label-right .bc-input-wrapper__error {
|
|
3633
|
+
margin-right: calc(var(--spacing-base) * 4); /* Align with content */
|
|
3634
|
+
}
|
|
3635
|
+
|
|
3308
3636
|
/* Description text */
|
|
3309
3637
|
.bc-input-wrapper__description {
|
|
3310
3638
|
font-size: var(--font-size-sm);
|
|
@@ -6183,6 +6511,195 @@ span.bc-sidebar-link {
|
|
|
6183
6511
|
box-shadow: var(--shadow-switch-thumb-dark, var(--shadow-md));
|
|
6184
6512
|
}
|
|
6185
6513
|
|
|
6514
|
+
/* Table Container */
|
|
6515
|
+
.bc-table-container {
|
|
6516
|
+
--table-bg: #fff;
|
|
6517
|
+
--table-text: var(--text-normal-light);
|
|
6518
|
+
--table-border: var(--border-border-light);
|
|
6519
|
+
--table-header-bg: var(--bg-surface-light);
|
|
6520
|
+
--table-header-text: var(--text-normal-light);
|
|
6521
|
+
--table-stripe-bg: var(--bg-background-light);
|
|
6522
|
+
--table-hover-bg: var(--interactive-hover-light);
|
|
6523
|
+
--table-border-radius: var(--radius-surface, var(--radius-lg));
|
|
6524
|
+
|
|
6525
|
+
display: inline-block;
|
|
6526
|
+
max-width: 100%;
|
|
6527
|
+
overflow: hidden;
|
|
6528
|
+
border-radius: var(--table-border-radius);
|
|
6529
|
+
}
|
|
6530
|
+
|
|
6531
|
+
/* Container for sticky header - needs to be scrollable */
|
|
6532
|
+
.bc-table-container--sticky {
|
|
6533
|
+
max-height: 100%;
|
|
6534
|
+
overflow: auto;
|
|
6535
|
+
}
|
|
6536
|
+
|
|
6537
|
+
/* Full width container */
|
|
6538
|
+
.bc-table-container--full-width {
|
|
6539
|
+
display: block;
|
|
6540
|
+
width: 100%;
|
|
6541
|
+
}
|
|
6542
|
+
|
|
6543
|
+
/* Table Component */
|
|
6544
|
+
.bc-table {
|
|
6545
|
+
width: 100%;
|
|
6546
|
+
border-collapse: collapse;
|
|
6547
|
+
background-color: var(--table-bg);
|
|
6548
|
+
color: var(--table-text);
|
|
6549
|
+
font-family: var(
|
|
6550
|
+
--default-ui-font-family,
|
|
6551
|
+
var(--font-ui, var(--font-body, var(--font-family-sans)))
|
|
6552
|
+
);
|
|
6553
|
+
font-size: var(--font-size-base);
|
|
6554
|
+
line-height: var(--line-height-normal);
|
|
6555
|
+
border: none;
|
|
6556
|
+
}
|
|
6557
|
+
|
|
6558
|
+
/* Table header */
|
|
6559
|
+
.bc-table thead,
|
|
6560
|
+
.bc-table tfoot {
|
|
6561
|
+
background-color: var(--table-header-bg);
|
|
6562
|
+
color: var(--table-header-text);
|
|
6563
|
+
font-weight: var(--font-weight-semibold);
|
|
6564
|
+
}
|
|
6565
|
+
|
|
6566
|
+
/* Sticky header */
|
|
6567
|
+
.bc-table--sticky-header thead {
|
|
6568
|
+
position: sticky;
|
|
6569
|
+
top: 0;
|
|
6570
|
+
z-index: var(--z-index-sticky, 10);
|
|
6571
|
+
box-shadow: var(--shadow-sm);
|
|
6572
|
+
}
|
|
6573
|
+
|
|
6574
|
+
/* Sticky footer */
|
|
6575
|
+
.bc-table--sticky-header tfoot {
|
|
6576
|
+
position: sticky;
|
|
6577
|
+
bottom: 0;
|
|
6578
|
+
z-index: var(--z-index-sticky, 10);
|
|
6579
|
+
box-shadow: var(--shadow-sm);
|
|
6580
|
+
}
|
|
6581
|
+
|
|
6582
|
+
/* Table cells */
|
|
6583
|
+
.bc-table th,
|
|
6584
|
+
.bc-table td {
|
|
6585
|
+
text-align: left;
|
|
6586
|
+
vertical-align: middle;
|
|
6587
|
+
padding: var(--spacing-md);
|
|
6588
|
+
border: none;
|
|
6589
|
+
}
|
|
6590
|
+
|
|
6591
|
+
.bc-table th {
|
|
6592
|
+
font-weight: var(--font-weight-semibold);
|
|
6593
|
+
white-space: nowrap;
|
|
6594
|
+
}
|
|
6595
|
+
|
|
6596
|
+
/* With table border */
|
|
6597
|
+
.bc-table-container--with-table-border {
|
|
6598
|
+
border: 1px solid var(--table-border);
|
|
6599
|
+
}
|
|
6600
|
+
|
|
6601
|
+
/* With row borders */
|
|
6602
|
+
.bc-table--with-row-borders th,
|
|
6603
|
+
.bc-table--with-row-borders td {
|
|
6604
|
+
border-bottom: 1px solid var(--table-border);
|
|
6605
|
+
}
|
|
6606
|
+
|
|
6607
|
+
/* With column borders */
|
|
6608
|
+
.bc-table--with-column-borders th,
|
|
6609
|
+
.bc-table--with-column-borders td {
|
|
6610
|
+
border-right: 1px solid var(--table-border);
|
|
6611
|
+
}
|
|
6612
|
+
|
|
6613
|
+
.bc-table--with-column-borders th:last-child,
|
|
6614
|
+
.bc-table--with-column-borders td:last-child {
|
|
6615
|
+
border-right: none;
|
|
6616
|
+
}
|
|
6617
|
+
|
|
6618
|
+
/* With striped rows */
|
|
6619
|
+
.bc-table--with-striped-rows tbody tr:nth-child(even) {
|
|
6620
|
+
background-color: var(--table-stripe-bg);
|
|
6621
|
+
}
|
|
6622
|
+
|
|
6623
|
+
/* Hoverable striped rows - darker stripe on hover */
|
|
6624
|
+
.bc-table--hoverable.bc-table--with-striped-rows
|
|
6625
|
+
tbody
|
|
6626
|
+
tr:nth-child(even):hover {
|
|
6627
|
+
background-color: var(--table-hover-bg);
|
|
6628
|
+
filter: brightness(0.95);
|
|
6629
|
+
}
|
|
6630
|
+
|
|
6631
|
+
/* Size variants */
|
|
6632
|
+
.bc-table--size-xs th,
|
|
6633
|
+
.bc-table--size-xs td {
|
|
6634
|
+
padding: var(--spacing-xs);
|
|
6635
|
+
font-size: var(--font-size-sm);
|
|
6636
|
+
}
|
|
6637
|
+
|
|
6638
|
+
.bc-table--size-sm th,
|
|
6639
|
+
.bc-table--size-sm td {
|
|
6640
|
+
padding: calc(var(--spacing-base) * 1.5);
|
|
6641
|
+
font-size: var(--font-size-sm);
|
|
6642
|
+
}
|
|
6643
|
+
|
|
6644
|
+
.bc-table--size-lg th,
|
|
6645
|
+
.bc-table--size-lg td {
|
|
6646
|
+
padding: var(--spacing-lg);
|
|
6647
|
+
}
|
|
6648
|
+
|
|
6649
|
+
.bc-table--size-xl th,
|
|
6650
|
+
.bc-table--size-xl td {
|
|
6651
|
+
padding: calc(var(--spacing-base) * 5);
|
|
6652
|
+
font-size: var(--font-size-lg);
|
|
6653
|
+
}
|
|
6654
|
+
|
|
6655
|
+
/* Hoverable rows */
|
|
6656
|
+
.bc-table--hoverable tbody tr {
|
|
6657
|
+
transition: background-color
|
|
6658
|
+
var(--motion-transition-fast, var(--motion-duration-fast, 0.2s))
|
|
6659
|
+
var(--motion-easing-standard, cubic-bezier(0.2, 0, 0, 1));
|
|
6660
|
+
cursor: pointer;
|
|
6661
|
+
}
|
|
6662
|
+
|
|
6663
|
+
.bc-table--hoverable tbody tr:hover {
|
|
6664
|
+
background-color: var(--table-hover-bg);
|
|
6665
|
+
}
|
|
6666
|
+
|
|
6667
|
+
/* Footer */
|
|
6668
|
+
.bc-table__footer {
|
|
6669
|
+
background-color: var(--table-header-bg);
|
|
6670
|
+
font-weight: var(--font-weight-semibold);
|
|
6671
|
+
border-top: 2px solid var(--table-border);
|
|
6672
|
+
}
|
|
6673
|
+
|
|
6674
|
+
/* Dark mode styles */
|
|
6675
|
+
.b-dark .bc-table-container {
|
|
6676
|
+
--table-bg: var(--bg-background-dark);
|
|
6677
|
+
--table-text: var(--text-normal-dark);
|
|
6678
|
+
--table-border: var(--border-border-dark);
|
|
6679
|
+
--table-header-bg: var(--bg-surface-dark);
|
|
6680
|
+
--table-header-text: var(--text-normal-dark);
|
|
6681
|
+
--table-stripe-bg: var(--bg-surface-dark);
|
|
6682
|
+
--table-hover-bg: var(--interactive-hover-dark);
|
|
6683
|
+
}
|
|
6684
|
+
|
|
6685
|
+
/* Accessibility */
|
|
6686
|
+
@media (prefers-reduced-motion: reduce) {
|
|
6687
|
+
.bc-table--hoverable tbody tr {
|
|
6688
|
+
transition: none;
|
|
6689
|
+
}
|
|
6690
|
+
}
|
|
6691
|
+
|
|
6692
|
+
/* Responsive behavior - allow horizontal scroll on small screens */
|
|
6693
|
+
@media (width < 48rem) {
|
|
6694
|
+
.bc-table-container {
|
|
6695
|
+
overflow-x: auto;
|
|
6696
|
+
}
|
|
6697
|
+
|
|
6698
|
+
.bc-table {
|
|
6699
|
+
white-space: nowrap;
|
|
6700
|
+
}
|
|
6701
|
+
}
|
|
6702
|
+
|
|
6186
6703
|
/* Tabs Component */
|
|
6187
6704
|
.bc-tabs {
|
|
6188
6705
|
display: flex;
|
|
@@ -6987,7 +7504,7 @@ span.bc-sidebar-link {
|
|
|
6987
7504
|
}
|
|
6988
7505
|
|
|
6989
7506
|
/* Top-left corner */
|
|
6990
|
-
.bc-ribbon[style*=
|
|
7507
|
+
.bc-ribbon[style*='--ribbon-corner: top-left'] {
|
|
6991
7508
|
top: 0;
|
|
6992
7509
|
left: 0;
|
|
6993
7510
|
transform: translate(-50%, -50%) rotate(calc(var(--ribbon-angle, 45deg) * -1))
|
|
@@ -6995,7 +7512,7 @@ span.bc-sidebar-link {
|
|
|
6995
7512
|
}
|
|
6996
7513
|
|
|
6997
7514
|
/* Bottom-right corner */
|
|
6998
|
-
.bc-ribbon[style*=
|
|
7515
|
+
.bc-ribbon[style*='--ribbon-corner: bottom-right'] {
|
|
6999
7516
|
top: 100%;
|
|
7000
7517
|
left: 100%;
|
|
7001
7518
|
transform: translate(-50%, -50%) rotate(calc(var(--ribbon-angle, 45deg) * -1))
|
|
@@ -7003,11 +7520,14 @@ span.bc-sidebar-link {
|
|
|
7003
7520
|
}
|
|
7004
7521
|
|
|
7005
7522
|
/* Bottom-left corner */
|
|
7006
|
-
.bc-ribbon[style*=
|
|
7523
|
+
.bc-ribbon[style*='--ribbon-corner: bottom-left'] {
|
|
7007
7524
|
top: 100%;
|
|
7008
7525
|
left: 0;
|
|
7009
7526
|
transform: translate(-50%, -50%) rotate(var(--ribbon-angle, 45deg))
|
|
7010
|
-
translate(
|
|
7527
|
+
translate(
|
|
7528
|
+
calc(var(--ribbon-inset, 0px) * -1),
|
|
7529
|
+
calc(var(--ribbon-offset, 0px) * -1)
|
|
7530
|
+
);
|
|
7011
7531
|
}
|
|
7012
7532
|
|
|
7013
7533
|
/* Dark mode overrides */
|