@bigtablet/design-system 3.2.1 → 3.3.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/index.css +102 -11
- package/dist/index.d.ts +132 -77
- package/dist/index.js +359 -168
- package/dist/styles/colors/_index.scss +5 -0
- package/package.json +19 -15
package/dist/index.css
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
--bt-color-brand-primary-container: rgba(0, 0, 0, 0.05);
|
|
8
8
|
--bt-color-text-heading: #121212;
|
|
9
9
|
--bt-color-text-body: #666666;
|
|
10
|
-
--bt-color-text-caption: #
|
|
10
|
+
--bt-color-text-caption: #6F6F6F;
|
|
11
11
|
--bt-color-text-brand: #121212;
|
|
12
12
|
--bt-color-text-inverse: #FFFFFF;
|
|
13
13
|
--bt-color-text-disabled: rgba(26, 26, 26, 0.38);
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
-moz-osx-font-smoothing: grayscale;
|
|
73
73
|
--bt-color-text-heading: rgba(255, 255, 255, 0.95);
|
|
74
74
|
--bt-color-text-body: #B3B3B3;
|
|
75
|
-
--bt-color-text-caption: #
|
|
75
|
+
--bt-color-text-caption: #808080;
|
|
76
76
|
--bt-color-text-inverse: #121212;
|
|
77
77
|
--bt-color-text-disabled: rgba(255, 255, 255, 0.38);
|
|
78
78
|
--bt-color-bg-solid: #0A0A0A;
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
-moz-osx-font-smoothing: grayscale;
|
|
131
131
|
--bt-color-text-heading: rgba(255, 255, 255, 0.95);
|
|
132
132
|
--bt-color-text-body: #B3B3B3;
|
|
133
|
-
--bt-color-text-caption: #
|
|
133
|
+
--bt-color-text-caption: #808080;
|
|
134
134
|
--bt-color-text-inverse: #121212;
|
|
135
135
|
--bt-color-text-disabled: rgba(255, 255, 255, 0.38);
|
|
136
136
|
--bt-color-bg-solid: #0A0A0A;
|
|
@@ -830,6 +830,11 @@
|
|
|
830
830
|
cursor: not-allowed;
|
|
831
831
|
opacity: 0.38;
|
|
832
832
|
}
|
|
833
|
+
@media (prefers-reduced-motion: reduce) {
|
|
834
|
+
.menu_item {
|
|
835
|
+
transition: none;
|
|
836
|
+
}
|
|
837
|
+
}
|
|
833
838
|
|
|
834
839
|
/* src/ui/navigation/nav-bar/style.scss */
|
|
835
840
|
@keyframes skeleton_loading {
|
|
@@ -1095,6 +1100,14 @@
|
|
|
1095
1100
|
.nav_bar_variant_transparent .nav_bar_indicator {
|
|
1096
1101
|
background: var(--bt-color-brand-on-primary);
|
|
1097
1102
|
}
|
|
1103
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1104
|
+
.nav_bar_indicator_animated {
|
|
1105
|
+
transition: none;
|
|
1106
|
+
}
|
|
1107
|
+
.nav_bar_locale_chevron {
|
|
1108
|
+
transition: none;
|
|
1109
|
+
}
|
|
1110
|
+
}
|
|
1098
1111
|
|
|
1099
1112
|
/* src/ui/navigation/sidebar/style.scss */
|
|
1100
1113
|
@keyframes skeleton_loading {
|
|
@@ -1392,6 +1405,19 @@
|
|
|
1392
1405
|
clip: auto;
|
|
1393
1406
|
}
|
|
1394
1407
|
}
|
|
1408
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1409
|
+
.sidebar,
|
|
1410
|
+
.sidebar_header,
|
|
1411
|
+
.sidebar_header_layer,
|
|
1412
|
+
.sidebar_item,
|
|
1413
|
+
.sidebar_item_label,
|
|
1414
|
+
.sidebar_collapse_btn {
|
|
1415
|
+
transition: none;
|
|
1416
|
+
}
|
|
1417
|
+
.sidebar_collapse_btn:hover {
|
|
1418
|
+
transform: none;
|
|
1419
|
+
}
|
|
1420
|
+
}
|
|
1395
1421
|
|
|
1396
1422
|
/* src/ui/navigation/tabs/style.scss */
|
|
1397
1423
|
@keyframes skeleton_loading {
|
|
@@ -1512,6 +1538,12 @@
|
|
|
1512
1538
|
box-shadow: var(--bt-focus-ring);
|
|
1513
1539
|
border-radius: 6px;
|
|
1514
1540
|
}
|
|
1541
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1542
|
+
.tabs_indicator_animated,
|
|
1543
|
+
.tabs_tab {
|
|
1544
|
+
transition: none;
|
|
1545
|
+
}
|
|
1546
|
+
}
|
|
1515
1547
|
|
|
1516
1548
|
/* src/ui/overlay/popover/style.scss */
|
|
1517
1549
|
@keyframes skeleton_loading {
|
|
@@ -1878,6 +1910,15 @@
|
|
|
1878
1910
|
.button_danger.button_variant_text:hover:not(:disabled) {
|
|
1879
1911
|
background: color-mix(in srgb, var(--bt-color-status-error) 8%, transparent);
|
|
1880
1912
|
}
|
|
1913
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1914
|
+
.button,
|
|
1915
|
+
.button::before {
|
|
1916
|
+
transition: none;
|
|
1917
|
+
}
|
|
1918
|
+
.button:active {
|
|
1919
|
+
transform: none;
|
|
1920
|
+
}
|
|
1921
|
+
}
|
|
1881
1922
|
|
|
1882
1923
|
/* src/ui/feedback/alert/style.scss */
|
|
1883
1924
|
@keyframes skeleton_loading {
|
|
@@ -2252,6 +2293,11 @@
|
|
|
2252
2293
|
transform: translate(-50%, -50%) scaleX(1);
|
|
2253
2294
|
}
|
|
2254
2295
|
}
|
|
2296
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2297
|
+
.checkbox_icon::after {
|
|
2298
|
+
animation: none;
|
|
2299
|
+
}
|
|
2300
|
+
}
|
|
2255
2301
|
|
|
2256
2302
|
/* src/ui/display/chip/style.scss */
|
|
2257
2303
|
@keyframes skeleton_loading {
|
|
@@ -2424,28 +2470,28 @@
|
|
|
2424
2470
|
color: var(--bt-color-accent-default);
|
|
2425
2471
|
}
|
|
2426
2472
|
.chip_tone_info {
|
|
2427
|
-
background:
|
|
2473
|
+
background: var(--bt-color-status-info-container);
|
|
2428
2474
|
}
|
|
2429
2475
|
.chip_tone_info .chip_content {
|
|
2430
|
-
color: var(--bt-color-status-info);
|
|
2476
|
+
color: var(--bt-color-status-info-on-container);
|
|
2431
2477
|
}
|
|
2432
2478
|
.chip_tone_success {
|
|
2433
|
-
background:
|
|
2479
|
+
background: var(--bt-color-status-success-container);
|
|
2434
2480
|
}
|
|
2435
2481
|
.chip_tone_success .chip_content {
|
|
2436
|
-
color: var(--bt-color-status-success);
|
|
2482
|
+
color: var(--bt-color-status-success-on-container);
|
|
2437
2483
|
}
|
|
2438
2484
|
.chip_tone_warning {
|
|
2439
|
-
background:
|
|
2485
|
+
background: var(--bt-color-status-warning-container);
|
|
2440
2486
|
}
|
|
2441
2487
|
.chip_tone_warning .chip_content {
|
|
2442
|
-
color: var(--bt-color-status-warning);
|
|
2488
|
+
color: var(--bt-color-status-warning-on-container);
|
|
2443
2489
|
}
|
|
2444
2490
|
.chip_tone_error {
|
|
2445
|
-
background:
|
|
2491
|
+
background: var(--bt-color-status-error-container);
|
|
2446
2492
|
}
|
|
2447
2493
|
.chip_tone_error .chip_content {
|
|
2448
|
-
color: var(--bt-color-status-error);
|
|
2494
|
+
color: var(--bt-color-status-error-on-container);
|
|
2449
2495
|
}
|
|
2450
2496
|
.chip_size_sm {
|
|
2451
2497
|
height: 24px;
|
|
@@ -2753,6 +2799,11 @@
|
|
|
2753
2799
|
border: none;
|
|
2754
2800
|
margin: 0;
|
|
2755
2801
|
}
|
|
2802
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2803
|
+
.dropdown_icon {
|
|
2804
|
+
transition: none;
|
|
2805
|
+
}
|
|
2806
|
+
}
|
|
2756
2807
|
|
|
2757
2808
|
/* src/ui/forms/date-picker/style.scss */
|
|
2758
2809
|
@keyframes skeleton_loading {
|
|
@@ -2993,6 +3044,14 @@
|
|
|
2993
3044
|
.file_input_variant_preview .file_input_helper {
|
|
2994
3045
|
display: block;
|
|
2995
3046
|
}
|
|
3047
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3048
|
+
.file_input_preview_remove {
|
|
3049
|
+
transition: none;
|
|
3050
|
+
}
|
|
3051
|
+
.file_input_preview_remove:hover {
|
|
3052
|
+
transform: none;
|
|
3053
|
+
}
|
|
3054
|
+
}
|
|
2996
3055
|
|
|
2997
3056
|
/* src/ui/display/hero/style.scss */
|
|
2998
3057
|
@keyframes skeleton_loading {
|
|
@@ -3653,6 +3712,14 @@
|
|
|
3653
3712
|
.media_card_image_overlay .media_card_meta {
|
|
3654
3713
|
color: rgba(255, 255, 255, 0.6);
|
|
3655
3714
|
}
|
|
3715
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3716
|
+
.media_card {
|
|
3717
|
+
transition: none;
|
|
3718
|
+
}
|
|
3719
|
+
.media_card_clickable:hover {
|
|
3720
|
+
transform: none;
|
|
3721
|
+
}
|
|
3722
|
+
}
|
|
3656
3723
|
|
|
3657
3724
|
/* src/ui/overlay/modal/style.scss */
|
|
3658
3725
|
@keyframes skeleton_loading {
|
|
@@ -4090,6 +4157,11 @@
|
|
|
4090
4157
|
transform: translate(-50%, -50%) scale(1);
|
|
4091
4158
|
}
|
|
4092
4159
|
}
|
|
4160
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4161
|
+
.radio_dot::after {
|
|
4162
|
+
animation: none;
|
|
4163
|
+
}
|
|
4164
|
+
}
|
|
4093
4165
|
|
|
4094
4166
|
/* src/ui/feedback/skeleton/style.scss */
|
|
4095
4167
|
@keyframes skeleton_loading {
|
|
@@ -4150,6 +4222,11 @@
|
|
|
4150
4222
|
background-position: 0 0;
|
|
4151
4223
|
}
|
|
4152
4224
|
}
|
|
4225
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4226
|
+
.skeleton {
|
|
4227
|
+
animation: none;
|
|
4228
|
+
}
|
|
4229
|
+
}
|
|
4153
4230
|
|
|
4154
4231
|
/* src/ui/feedback/spinner/style.scss */
|
|
4155
4232
|
@keyframes skeleton_loading {
|
|
@@ -4952,6 +5029,12 @@
|
|
|
4952
5029
|
.toggle_disabled .toggle_thumb {
|
|
4953
5030
|
background: var(--bt-color-brand-on-primary);
|
|
4954
5031
|
}
|
|
5032
|
+
@media (prefers-reduced-motion: reduce) {
|
|
5033
|
+
.toggle,
|
|
5034
|
+
.toggle_thumb {
|
|
5035
|
+
transition: none;
|
|
5036
|
+
}
|
|
5037
|
+
}
|
|
4955
5038
|
|
|
4956
5039
|
/* src/ui/feedback/top-loading/style.scss */
|
|
4957
5040
|
@keyframes skeleton_loading {
|
|
@@ -4988,6 +5071,14 @@
|
|
|
4988
5071
|
transform: translateX(400%);
|
|
4989
5072
|
}
|
|
4990
5073
|
}
|
|
5074
|
+
@media (prefers-reduced-motion: reduce) {
|
|
5075
|
+
.top_loading_bar {
|
|
5076
|
+
transition: none;
|
|
5077
|
+
}
|
|
5078
|
+
.top_loading_indeterminate {
|
|
5079
|
+
animation: none;
|
|
5080
|
+
}
|
|
5081
|
+
}
|
|
4991
5082
|
|
|
4992
5083
|
/* src/ui/layout/container/style.scss */
|
|
4993
5084
|
@keyframes skeleton_loading {
|