@x-plat/design-system 0.5.2 → 0.5.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/dist/components/Accordion/index.cjs +38 -31
- package/dist/components/Accordion/index.css +1 -0
- package/dist/components/Accordion/index.js +38 -31
- package/dist/components/Alert/index.css +1 -0
- package/dist/components/Breadcrumb/index.css +3 -0
- package/dist/components/Button/index.css +1 -0
- package/dist/components/Calendar/index.cjs +103 -62
- package/dist/components/Calendar/index.css +1 -0
- package/dist/components/Calendar/index.js +103 -62
- package/dist/components/Card/index.css +2 -0
- package/dist/components/CardTab/index.css +1 -0
- package/dist/components/Chart/index.cjs +106 -83
- package/dist/components/Chart/index.css +1 -0
- package/dist/components/Chart/index.js +106 -83
- package/dist/components/DatePicker/index.cjs +36 -15
- package/dist/components/DatePicker/index.css +2 -0
- package/dist/components/DatePicker/index.js +36 -15
- package/dist/components/EmptyState/index.css +1 -0
- package/dist/components/FileUpload/index.css +2 -0
- package/dist/components/HtmlTypeWriter/index.css +1 -0
- package/dist/components/Pagination/index.css +8 -8
- package/dist/components/Spinner/index.css +7 -2
- package/dist/components/Steps/index.cjs +1 -4
- package/dist/components/Steps/index.css +15 -36
- package/dist/components/Steps/index.js +1 -4
- package/dist/components/Swiper/index.cjs +16 -12
- package/dist/components/Swiper/index.css +1 -0
- package/dist/components/Swiper/index.js +16 -12
- package/dist/components/Switch/index.css +20 -19
- package/dist/components/Tab/index.css +16 -2
- package/dist/components/Table/index.cjs +4 -4
- package/dist/components/Table/index.css +1 -0
- package/dist/components/Table/index.d.cts +2 -5
- package/dist/components/Table/index.d.ts +2 -5
- package/dist/components/Table/index.js +4 -4
- package/dist/components/Video/index.cjs +32 -43
- package/dist/components/Video/index.css +4 -4
- package/dist/components/Video/index.d.cts +1 -5
- package/dist/components/Video/index.d.ts +1 -5
- package/dist/components/Video/index.js +32 -43
- package/dist/components/index.cjs +339 -257
- package/dist/components/index.css +88 -71
- package/dist/components/index.js +339 -257
- package/dist/index.cjs +339 -257
- package/dist/index.css +88 -71
- package/dist/index.js +339 -257
- package/guidelines/Guidelines.md +11 -4
- package/package.json +1 -2
|
@@ -1083,6 +1083,7 @@
|
|
|
1083
1083
|
|
|
1084
1084
|
/* src/components/Accordion/accordion.scss */
|
|
1085
1085
|
.lib-xplat-accordion {
|
|
1086
|
+
contain: content;
|
|
1086
1087
|
border: 1px solid var(--semantic-border-default);
|
|
1087
1088
|
border-radius: var(--spacing-radius-md);
|
|
1088
1089
|
overflow: hidden;
|
|
@@ -1138,6 +1139,7 @@
|
|
|
1138
1139
|
|
|
1139
1140
|
/* src/components/Alert/alert.scss */
|
|
1140
1141
|
.lib-xplat-alert {
|
|
1142
|
+
width: 100%;
|
|
1141
1143
|
display: flex;
|
|
1142
1144
|
align-items: flex-start;
|
|
1143
1145
|
justify-content: space-between;
|
|
@@ -1340,6 +1342,9 @@
|
|
|
1340
1342
|
}
|
|
1341
1343
|
|
|
1342
1344
|
/* src/components/Breadcrumb/breadcrumb.scss */
|
|
1345
|
+
.lib-xplat-breadcrumb {
|
|
1346
|
+
width: 100%;
|
|
1347
|
+
}
|
|
1343
1348
|
.lib-xplat-breadcrumb ol {
|
|
1344
1349
|
display: flex;
|
|
1345
1350
|
align-items: center;
|
|
@@ -1379,6 +1384,7 @@
|
|
|
1379
1384
|
|
|
1380
1385
|
/* src/components/Button/button.scss */
|
|
1381
1386
|
.lib-xplat-button {
|
|
1387
|
+
width: 100%;
|
|
1382
1388
|
border-radius: var(--spacing-radius-md);
|
|
1383
1389
|
font-weight: 500;
|
|
1384
1390
|
cursor: pointer;
|
|
@@ -1467,6 +1473,7 @@
|
|
|
1467
1473
|
|
|
1468
1474
|
/* src/components/Calendar/calendar.scss */
|
|
1469
1475
|
.lib-xplat-calendar {
|
|
1476
|
+
contain: content;
|
|
1470
1477
|
width: 100%;
|
|
1471
1478
|
min-width: 200px;
|
|
1472
1479
|
user-select: none;
|
|
@@ -1652,6 +1659,8 @@
|
|
|
1652
1659
|
|
|
1653
1660
|
/* src/components/Card/card.scss */
|
|
1654
1661
|
.lib-xplat-card {
|
|
1662
|
+
contain: content;
|
|
1663
|
+
width: 100%;
|
|
1655
1664
|
display: flex;
|
|
1656
1665
|
flex-direction: column;
|
|
1657
1666
|
flex: 1;
|
|
@@ -1679,6 +1688,7 @@
|
|
|
1679
1688
|
|
|
1680
1689
|
/* src/components/CardTab/cardTab.scss */
|
|
1681
1690
|
.lib-xplat-card-tab {
|
|
1691
|
+
width: 100%;
|
|
1682
1692
|
display: flex;
|
|
1683
1693
|
flex-direction: column;
|
|
1684
1694
|
}
|
|
@@ -1757,6 +1767,7 @@
|
|
|
1757
1767
|
|
|
1758
1768
|
/* src/components/Chart/chart.scss */
|
|
1759
1769
|
.lib-xplat-chart {
|
|
1770
|
+
contain: content;
|
|
1760
1771
|
width: 100%;
|
|
1761
1772
|
position: relative;
|
|
1762
1773
|
}
|
|
@@ -2066,6 +2077,7 @@
|
|
|
2066
2077
|
|
|
2067
2078
|
/* src/components/DatePicker/datepicker.scss */
|
|
2068
2079
|
.lib-xplat-datepicker {
|
|
2080
|
+
contain: content;
|
|
2069
2081
|
user-select: none;
|
|
2070
2082
|
min-width: 200px;
|
|
2071
2083
|
width: 100%;
|
|
@@ -2498,6 +2510,7 @@
|
|
|
2498
2510
|
|
|
2499
2511
|
/* src/components/EmptyState/emptystate.scss */
|
|
2500
2512
|
.lib-xplat-empty-state {
|
|
2513
|
+
width: 100%;
|
|
2501
2514
|
display: flex;
|
|
2502
2515
|
flex-direction: column;
|
|
2503
2516
|
align-items: center;
|
|
@@ -2530,6 +2543,8 @@
|
|
|
2530
2543
|
|
|
2531
2544
|
/* src/components/FileUpload/fileupload.scss */
|
|
2532
2545
|
.lib-xplat-file-upload {
|
|
2546
|
+
contain: content;
|
|
2547
|
+
width: 100%;
|
|
2533
2548
|
display: flex;
|
|
2534
2549
|
flex-direction: column;
|
|
2535
2550
|
align-items: center;
|
|
@@ -2572,6 +2587,7 @@
|
|
|
2572
2587
|
|
|
2573
2588
|
/* src/components/HtmlTypeWriter/htmlTypeWriter.scss */
|
|
2574
2589
|
.lib-xplat-htmlTypewriter {
|
|
2590
|
+
width: 100%;
|
|
2575
2591
|
font-size: 16px;
|
|
2576
2592
|
}
|
|
2577
2593
|
.lib-xplat-htmlTypewriter h1,
|
|
@@ -2749,24 +2765,24 @@
|
|
|
2749
2765
|
color: var(--semantic-text-inverse);
|
|
2750
2766
|
font-weight: 600;
|
|
2751
2767
|
}
|
|
2752
|
-
.lib-xplat-pagination
|
|
2768
|
+
.lib-xplat-pagination .page-btn svg {
|
|
2769
|
+
font-size: 16px;
|
|
2770
|
+
}
|
|
2771
|
+
.lib-xplat-pagination.brand .page-btn.active {
|
|
2753
2772
|
background-color: var(--semantic-surface-brand-default);
|
|
2754
2773
|
}
|
|
2755
|
-
.lib-xplat-pagination.success .
|
|
2774
|
+
.lib-xplat-pagination.success .page-btn.active {
|
|
2756
2775
|
background-color: var(--semantic-surface-success-default);
|
|
2757
2776
|
}
|
|
2758
|
-
.lib-xplat-pagination.error .
|
|
2777
|
+
.lib-xplat-pagination.error .page-btn.active {
|
|
2759
2778
|
background-color: var(--semantic-surface-error-default);
|
|
2760
2779
|
}
|
|
2761
|
-
.lib-xplat-pagination.warning .
|
|
2780
|
+
.lib-xplat-pagination.warning .page-btn.active {
|
|
2762
2781
|
background-color: var(--semantic-surface-warning-default);
|
|
2763
2782
|
}
|
|
2764
|
-
.lib-xplat-pagination.info .
|
|
2783
|
+
.lib-xplat-pagination.info .page-btn.active {
|
|
2765
2784
|
background-color: var(--semantic-surface-info-default);
|
|
2766
2785
|
}
|
|
2767
|
-
.lib-xplat-pagination .page-btn svg {
|
|
2768
|
-
font-size: 16px;
|
|
2769
|
-
}
|
|
2770
2786
|
|
|
2771
2787
|
/* src/components/PopOver/popOver.scss */
|
|
2772
2788
|
.lib-xplat-pop-over {
|
|
@@ -3156,10 +3172,15 @@
|
|
|
3156
3172
|
width: var(--spacing-space-9);
|
|
3157
3173
|
height: var(--spacing-space-9);
|
|
3158
3174
|
}
|
|
3175
|
+
.lib-xplat-spinner {
|
|
3176
|
+
contain: strict;
|
|
3177
|
+
}
|
|
3159
3178
|
.lib-xplat-spinner svg {
|
|
3160
3179
|
width: 100%;
|
|
3161
3180
|
height: 100%;
|
|
3162
3181
|
animation: lib-xplat-spin 0.8s linear infinite;
|
|
3182
|
+
will-change: transform;
|
|
3183
|
+
backface-visibility: hidden;
|
|
3163
3184
|
}
|
|
3164
3185
|
.lib-xplat-spinner .track {
|
|
3165
3186
|
stroke: var(--semantic-border-default);
|
|
@@ -3185,10 +3206,10 @@
|
|
|
3185
3206
|
}
|
|
3186
3207
|
@keyframes lib-xplat-spin {
|
|
3187
3208
|
from {
|
|
3188
|
-
transform:
|
|
3209
|
+
transform: rotate3d(0, 0, 1, 0deg);
|
|
3189
3210
|
}
|
|
3190
3211
|
to {
|
|
3191
|
-
transform:
|
|
3212
|
+
transform: rotate3d(0, 0, 1, 360deg);
|
|
3192
3213
|
}
|
|
3193
3214
|
}
|
|
3194
3215
|
|
|
@@ -3202,16 +3223,18 @@
|
|
|
3202
3223
|
display: flex;
|
|
3203
3224
|
flex-direction: column;
|
|
3204
3225
|
align-items: center;
|
|
3205
|
-
}
|
|
3206
|
-
.lib-xplat-steps .step-item:last-child .step-line {
|
|
3207
|
-
display: none;
|
|
3208
|
-
}
|
|
3209
|
-
.lib-xplat-steps .step-indicator {
|
|
3210
|
-
display: flex;
|
|
3211
|
-
align-items: center;
|
|
3212
|
-
width: 100%;
|
|
3213
3226
|
position: relative;
|
|
3214
3227
|
}
|
|
3228
|
+
.lib-xplat-steps .step-item:not(:last-child)::after {
|
|
3229
|
+
content: "";
|
|
3230
|
+
position: absolute;
|
|
3231
|
+
top: 16px;
|
|
3232
|
+
left: calc(50% + 20px);
|
|
3233
|
+
right: calc(-50% + 20px);
|
|
3234
|
+
height: 2px;
|
|
3235
|
+
background-color: var(--semantic-surface-neutral-disabled);
|
|
3236
|
+
transition: background-color 0.2s;
|
|
3237
|
+
}
|
|
3215
3238
|
.lib-xplat-steps .step-circle {
|
|
3216
3239
|
width: var(--spacing-control-height-sm);
|
|
3217
3240
|
height: var(--spacing-control-height-sm);
|
|
@@ -3228,11 +3251,6 @@
|
|
|
3228
3251
|
.lib-xplat-steps .step-circle svg {
|
|
3229
3252
|
font-size: 16px;
|
|
3230
3253
|
}
|
|
3231
|
-
.lib-xplat-steps .step-line {
|
|
3232
|
-
flex: 1;
|
|
3233
|
-
height: 2px;
|
|
3234
|
-
transition: background-color 0.2s;
|
|
3235
|
-
}
|
|
3236
3254
|
.lib-xplat-steps .step-content {
|
|
3237
3255
|
display: flex;
|
|
3238
3256
|
flex-direction: column;
|
|
@@ -3254,79 +3272,61 @@
|
|
|
3254
3272
|
color: var(--semantic-text-inverse);
|
|
3255
3273
|
background-color: var(--semantic-surface-brand-default);
|
|
3256
3274
|
}
|
|
3257
|
-
.lib-xplat-steps.brand .step-item.completed
|
|
3275
|
+
.lib-xplat-steps.brand .step-item.completed::after {
|
|
3258
3276
|
background-color: var(--semantic-surface-brand-default);
|
|
3259
3277
|
}
|
|
3260
3278
|
.lib-xplat-steps.brand .step-item.active .step-circle {
|
|
3261
3279
|
color: var(--semantic-text-inverse);
|
|
3262
3280
|
background-color: var(--semantic-surface-brand-default);
|
|
3263
3281
|
}
|
|
3264
|
-
.lib-xplat-steps.brand .step-item.active .step-line {
|
|
3265
|
-
background-color: var(--semantic-surface-neutral-disabled);
|
|
3266
|
-
}
|
|
3267
3282
|
.lib-xplat-steps.success .step-item.completed .step-circle {
|
|
3268
3283
|
color: var(--semantic-text-inverse);
|
|
3269
3284
|
background-color: var(--semantic-surface-success-default);
|
|
3270
3285
|
}
|
|
3271
|
-
.lib-xplat-steps.success .step-item.completed
|
|
3286
|
+
.lib-xplat-steps.success .step-item.completed::after {
|
|
3272
3287
|
background-color: var(--semantic-surface-success-default);
|
|
3273
3288
|
}
|
|
3274
3289
|
.lib-xplat-steps.success .step-item.active .step-circle {
|
|
3275
3290
|
color: var(--semantic-text-inverse);
|
|
3276
3291
|
background-color: var(--semantic-surface-success-default);
|
|
3277
3292
|
}
|
|
3278
|
-
.lib-xplat-steps.success .step-item.active .step-line {
|
|
3279
|
-
background-color: var(--semantic-surface-neutral-disabled);
|
|
3280
|
-
}
|
|
3281
3293
|
.lib-xplat-steps.error .step-item.completed .step-circle {
|
|
3282
3294
|
color: var(--semantic-text-inverse);
|
|
3283
3295
|
background-color: var(--semantic-surface-error-default);
|
|
3284
3296
|
}
|
|
3285
|
-
.lib-xplat-steps.error .step-item.completed
|
|
3297
|
+
.lib-xplat-steps.error .step-item.completed::after {
|
|
3286
3298
|
background-color: var(--semantic-surface-error-default);
|
|
3287
3299
|
}
|
|
3288
3300
|
.lib-xplat-steps.error .step-item.active .step-circle {
|
|
3289
3301
|
color: var(--semantic-text-inverse);
|
|
3290
3302
|
background-color: var(--semantic-surface-error-default);
|
|
3291
3303
|
}
|
|
3292
|
-
.lib-xplat-steps.error .step-item.active .step-line {
|
|
3293
|
-
background-color: var(--semantic-surface-neutral-disabled);
|
|
3294
|
-
}
|
|
3295
3304
|
.lib-xplat-steps.warning .step-item.completed .step-circle {
|
|
3296
3305
|
color: var(--semantic-text-inverse);
|
|
3297
3306
|
background-color: var(--semantic-surface-warning-default);
|
|
3298
3307
|
}
|
|
3299
|
-
.lib-xplat-steps.warning .step-item.completed
|
|
3308
|
+
.lib-xplat-steps.warning .step-item.completed::after {
|
|
3300
3309
|
background-color: var(--semantic-surface-warning-default);
|
|
3301
3310
|
}
|
|
3302
3311
|
.lib-xplat-steps.warning .step-item.active .step-circle {
|
|
3303
3312
|
color: var(--semantic-text-inverse);
|
|
3304
3313
|
background-color: var(--semantic-surface-warning-default);
|
|
3305
3314
|
}
|
|
3306
|
-
.lib-xplat-steps.warning .step-item.active .step-line {
|
|
3307
|
-
background-color: var(--semantic-surface-neutral-disabled);
|
|
3308
|
-
}
|
|
3309
3315
|
.lib-xplat-steps.info .step-item.completed .step-circle {
|
|
3310
3316
|
color: var(--semantic-text-inverse);
|
|
3311
3317
|
background-color: var(--semantic-surface-info-default);
|
|
3312
3318
|
}
|
|
3313
|
-
.lib-xplat-steps.info .step-item.completed
|
|
3319
|
+
.lib-xplat-steps.info .step-item.completed::after {
|
|
3314
3320
|
background-color: var(--semantic-surface-info-default);
|
|
3315
3321
|
}
|
|
3316
3322
|
.lib-xplat-steps.info .step-item.active .step-circle {
|
|
3317
3323
|
color: var(--semantic-text-inverse);
|
|
3318
3324
|
background-color: var(--semantic-surface-info-default);
|
|
3319
3325
|
}
|
|
3320
|
-
.lib-xplat-steps.info .step-item.active .step-line {
|
|
3321
|
-
background-color: var(--semantic-surface-neutral-disabled);
|
|
3322
|
-
}
|
|
3323
3326
|
.lib-xplat-steps .step-item.pending .step-circle {
|
|
3324
3327
|
background-color: var(--semantic-surface-neutral-disabled);
|
|
3325
3328
|
color: var(--semantic-text-muted);
|
|
3326
3329
|
}
|
|
3327
|
-
.lib-xplat-steps .step-item.pending .step-line {
|
|
3328
|
-
background-color: var(--semantic-surface-neutral-disabled);
|
|
3329
|
-
}
|
|
3330
3330
|
.lib-xplat-steps .step-item.pending .step-title {
|
|
3331
3331
|
color: var(--semantic-text-disabled);
|
|
3332
3332
|
}
|
|
@@ -3336,6 +3336,7 @@
|
|
|
3336
3336
|
|
|
3337
3337
|
/* src/components/Swiper/swiper.scss */
|
|
3338
3338
|
.lib-xplat-swiper {
|
|
3339
|
+
contain: content;
|
|
3339
3340
|
width: 100%;
|
|
3340
3341
|
position: relative;
|
|
3341
3342
|
}
|
|
@@ -3410,43 +3411,44 @@
|
|
|
3410
3411
|
position: relative;
|
|
3411
3412
|
border-radius: var(--spacing-radius-full);
|
|
3412
3413
|
cursor: pointer;
|
|
3414
|
+
box-sizing: border-box;
|
|
3413
3415
|
transition: background-color 0.2s, border-color 0.2s;
|
|
3414
3416
|
border: 1px solid transparent;
|
|
3415
3417
|
background-color: var(--semantic-border-default);
|
|
3416
3418
|
border-color: var(--semantic-border-default);
|
|
3417
3419
|
}
|
|
3418
3420
|
.lib-xplat-switch.sm {
|
|
3419
|
-
width:
|
|
3420
|
-
height:
|
|
3421
|
+
width: 34px;
|
|
3422
|
+
height: 20px;
|
|
3421
3423
|
}
|
|
3422
3424
|
.lib-xplat-switch.sm > .knob {
|
|
3423
|
-
width:
|
|
3424
|
-
height:
|
|
3425
|
+
width: 16px;
|
|
3426
|
+
height: 16px;
|
|
3425
3427
|
}
|
|
3426
3428
|
.lib-xplat-switch.sm > .knob.checked {
|
|
3427
|
-
|
|
3429
|
+
left: calc(100% - 16px - 2px);
|
|
3428
3430
|
}
|
|
3429
3431
|
.lib-xplat-switch.md {
|
|
3430
|
-
width:
|
|
3431
|
-
height:
|
|
3432
|
+
width: 42px;
|
|
3433
|
+
height: 24px;
|
|
3432
3434
|
}
|
|
3433
3435
|
.lib-xplat-switch.md > .knob {
|
|
3434
|
-
width:
|
|
3435
|
-
height:
|
|
3436
|
+
width: 20px;
|
|
3437
|
+
height: 20px;
|
|
3436
3438
|
}
|
|
3437
3439
|
.lib-xplat-switch.md > .knob.checked {
|
|
3438
|
-
|
|
3440
|
+
left: calc(100% - 20px - 2px);
|
|
3439
3441
|
}
|
|
3440
3442
|
.lib-xplat-switch.lg {
|
|
3441
|
-
width:
|
|
3442
|
-
height:
|
|
3443
|
+
width: 50px;
|
|
3444
|
+
height: 28px;
|
|
3443
3445
|
}
|
|
3444
3446
|
.lib-xplat-switch.lg > .knob {
|
|
3445
|
-
width:
|
|
3446
|
-
height:
|
|
3447
|
+
width: 24px;
|
|
3448
|
+
height: 24px;
|
|
3447
3449
|
}
|
|
3448
3450
|
.lib-xplat-switch.lg > .knob.checked {
|
|
3449
|
-
|
|
3451
|
+
left: calc(100% - 24px - 2px);
|
|
3450
3452
|
}
|
|
3451
3453
|
.lib-xplat-switch.disabled {
|
|
3452
3454
|
opacity: 0.5;
|
|
@@ -3500,21 +3502,27 @@
|
|
|
3500
3502
|
.lib-xplat-switch > .knob {
|
|
3501
3503
|
position: absolute;
|
|
3502
3504
|
top: 50%;
|
|
3503
|
-
left:
|
|
3505
|
+
left: 2px;
|
|
3506
|
+
transform: translateY(-50%);
|
|
3504
3507
|
background-color: var(--semantic-surface-neutral-default);
|
|
3505
3508
|
border-radius: var(--spacing-radius-full);
|
|
3506
|
-
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.
|
|
3507
|
-
|
|
3508
|
-
transition: transform 0.25s;
|
|
3509
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
|
|
3510
|
+
transition: left 0.25s;
|
|
3509
3511
|
}
|
|
3510
3512
|
|
|
3511
3513
|
/* src/components/Tab/tab.scss */
|
|
3512
3514
|
.lib-xplat-tab {
|
|
3513
3515
|
position: relative;
|
|
3514
3516
|
display: flex;
|
|
3515
|
-
width:
|
|
3516
|
-
|
|
3517
|
+
width: 100%;
|
|
3518
|
+
min-width: 0;
|
|
3517
3519
|
align-items: center;
|
|
3520
|
+
overflow-x: auto;
|
|
3521
|
+
-ms-overflow-style: none;
|
|
3522
|
+
scrollbar-width: none;
|
|
3523
|
+
}
|
|
3524
|
+
.lib-xplat-tab::-webkit-scrollbar {
|
|
3525
|
+
display: none;
|
|
3518
3526
|
}
|
|
3519
3527
|
.lib-xplat-tab.sm {
|
|
3520
3528
|
height: var(--spacing-control-height-sm);
|
|
@@ -3529,15 +3537,19 @@
|
|
|
3529
3537
|
font-size: 18px;
|
|
3530
3538
|
}
|
|
3531
3539
|
.lib-xplat-tab.type-default {
|
|
3540
|
+
width: 100%;
|
|
3532
3541
|
background-color: var(--semantic-surface-neutral-strong);
|
|
3533
3542
|
border-radius: var(--spacing-radius-md);
|
|
3534
3543
|
}
|
|
3535
3544
|
.lib-xplat-tab.type-default > .tab-item {
|
|
3545
|
+
flex: 1;
|
|
3536
3546
|
padding: var(--spacing-space-1) var(--spacing-space-6);
|
|
3537
3547
|
height: 100%;
|
|
3538
3548
|
display: flex;
|
|
3539
3549
|
align-items: center;
|
|
3550
|
+
justify-content: center;
|
|
3540
3551
|
cursor: pointer;
|
|
3552
|
+
white-space: nowrap;
|
|
3541
3553
|
border-right: 1px solid var(--semantic-border-strong);
|
|
3542
3554
|
color: var(--semantic-text-inverse);
|
|
3543
3555
|
}
|
|
@@ -3548,13 +3560,17 @@
|
|
|
3548
3560
|
background-color: var(--semantic-surface-brand-default);
|
|
3549
3561
|
}
|
|
3550
3562
|
.lib-xplat-tab.type-toggle {
|
|
3563
|
+
width: 100%;
|
|
3551
3564
|
border-bottom: 1px solid var(--semantic-border-default);
|
|
3552
3565
|
gap: var(--spacing-space-6);
|
|
3553
3566
|
}
|
|
3554
3567
|
.lib-xplat-tab.type-toggle > .tab-item {
|
|
3555
3568
|
position: relative;
|
|
3569
|
+
flex: 1;
|
|
3556
3570
|
display: flex;
|
|
3557
3571
|
align-items: center;
|
|
3572
|
+
justify-content: center;
|
|
3573
|
+
white-space: nowrap;
|
|
3558
3574
|
padding: 0 var(--spacing-space-3);
|
|
3559
3575
|
font-size: 16px;
|
|
3560
3576
|
font-weight: 500;
|
|
@@ -3581,6 +3597,7 @@
|
|
|
3581
3597
|
|
|
3582
3598
|
/* src/components/Table/table.scss */
|
|
3583
3599
|
.lib-xplat-table-wrapper {
|
|
3600
|
+
contain: content;
|
|
3584
3601
|
width: 100%;
|
|
3585
3602
|
position: relative;
|
|
3586
3603
|
}
|
|
@@ -4086,10 +4103,10 @@
|
|
|
4086
4103
|
opacity: 0;
|
|
4087
4104
|
pointer-events: none;
|
|
4088
4105
|
}
|
|
4089
|
-
.lib-xplat-video.custom-overlay > .play-overlay.is-playing:hover {
|
|
4090
|
-
opacity: 1;
|
|
4091
|
-
pointer-events: auto;
|
|
4092
|
-
}
|
|
4093
4106
|
.lib-xplat-video.custom-overlay > .play-overlay.is-loading .play-icon {
|
|
4094
4107
|
opacity: 0.6;
|
|
4095
4108
|
}
|
|
4109
|
+
.lib-xplat-video.custom-overlay:hover > .play-overlay.is-playing {
|
|
4110
|
+
opacity: 1;
|
|
4111
|
+
pointer-events: auto;
|
|
4112
|
+
}
|