@usefidel/design-system 0.13.0 → 0.15.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/fidel.manifest.json +2 -2
- package/dist/index.cjs +352 -2
- package/dist/index.css +643 -0
- package/dist/index.d.cts +175 -2
- package/dist/index.d.ts +175 -2
- package/dist/index.js +342 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -127,6 +127,44 @@
|
|
|
127
127
|
color: #a3a3a3;
|
|
128
128
|
cursor: not-allowed;
|
|
129
129
|
}
|
|
130
|
+
.fds-button--danger {
|
|
131
|
+
background-color: var(--color-error, #b91c1c);
|
|
132
|
+
color: #ffffff;
|
|
133
|
+
}
|
|
134
|
+
.fds-button--danger:hover:not(:disabled) {
|
|
135
|
+
background-color: var(--color-error-text, #991b1b);
|
|
136
|
+
}
|
|
137
|
+
.fds-button--danger:active:not(:disabled) {
|
|
138
|
+
background-color: #7f1d1d;
|
|
139
|
+
}
|
|
140
|
+
.fds-button--danger:focus-visible {
|
|
141
|
+
outline-color: var(--color-error, #b91c1c);
|
|
142
|
+
}
|
|
143
|
+
.fds-button--danger:disabled {
|
|
144
|
+
background-color: var(--color-error-bg, #fef2f2);
|
|
145
|
+
color: #f87171;
|
|
146
|
+
cursor: not-allowed;
|
|
147
|
+
}
|
|
148
|
+
.fds-button--danger-outlined {
|
|
149
|
+
background-color: #ffffff;
|
|
150
|
+
border-color: var(--color-error-border, #fecaca);
|
|
151
|
+
color: var(--color-error, #b91c1c);
|
|
152
|
+
}
|
|
153
|
+
.fds-button--danger-outlined:hover:not(:disabled) {
|
|
154
|
+
background-color: var(--color-error-bg, #fef2f2);
|
|
155
|
+
border-color: #fca5a5;
|
|
156
|
+
}
|
|
157
|
+
.fds-button--danger-outlined:active:not(:disabled) {
|
|
158
|
+
background-color: #fee2e2;
|
|
159
|
+
}
|
|
160
|
+
.fds-button--danger-outlined:focus-visible {
|
|
161
|
+
outline-color: var(--color-error, #b91c1c);
|
|
162
|
+
}
|
|
163
|
+
.fds-button--danger-outlined:disabled {
|
|
164
|
+
border-color: #e5e5e5;
|
|
165
|
+
color: #a3a3a3;
|
|
166
|
+
cursor: not-allowed;
|
|
167
|
+
}
|
|
130
168
|
.fds-button--neutral {
|
|
131
169
|
background-color: var(--color-surface-subtle, #fafafa);
|
|
132
170
|
color: var(--color-text-on-neutral, #404040);
|
|
@@ -778,3 +816,608 @@
|
|
|
778
816
|
line-height: var(--line-height-text-sm, 22px);
|
|
779
817
|
color: var(--color-text-secondary, #525252);
|
|
780
818
|
}
|
|
819
|
+
|
|
820
|
+
/* src/components/AppNav/app-nav.css */
|
|
821
|
+
.fds-app-nav {
|
|
822
|
+
display: flex;
|
|
823
|
+
align-items: center;
|
|
824
|
+
gap: var(--spacing-5, 20px);
|
|
825
|
+
height: 64px;
|
|
826
|
+
padding: 0 var(--spacing-5, 20px);
|
|
827
|
+
background: var(--color-surface, #f4f4f4);
|
|
828
|
+
border-bottom: 1px solid var(--color-border-light, #e5e5e5);
|
|
829
|
+
position: sticky;
|
|
830
|
+
top: 0;
|
|
831
|
+
z-index: 100;
|
|
832
|
+
}
|
|
833
|
+
.fds-app-nav__logo {
|
|
834
|
+
display: flex;
|
|
835
|
+
align-items: center;
|
|
836
|
+
flex-shrink: 0;
|
|
837
|
+
}
|
|
838
|
+
.fds-app-nav__links {
|
|
839
|
+
display: flex;
|
|
840
|
+
align-items: center;
|
|
841
|
+
gap: var(--spacing-2, 8px);
|
|
842
|
+
flex: 1;
|
|
843
|
+
min-width: 0;
|
|
844
|
+
}
|
|
845
|
+
.fds-app-nav__links > * {
|
|
846
|
+
position: relative;
|
|
847
|
+
display: flex;
|
|
848
|
+
align-items: center;
|
|
849
|
+
gap: var(--spacing-2, 8px);
|
|
850
|
+
flex-shrink: 0;
|
|
851
|
+
padding: 10px var(--spacing-3, 12px);
|
|
852
|
+
color: var(--color-text-muted, #a3a3a3);
|
|
853
|
+
font-family: var(--font-display, "Rethink Sans", system-ui, sans-serif);
|
|
854
|
+
font-size: 14px;
|
|
855
|
+
line-height: 20px;
|
|
856
|
+
font-weight: 600;
|
|
857
|
+
white-space: nowrap;
|
|
858
|
+
text-decoration: none;
|
|
859
|
+
transition: color var(--duration-quick, 150ms) var(--ease-out, ease);
|
|
860
|
+
}
|
|
861
|
+
.fds-app-nav__links > *:hover,
|
|
862
|
+
.fds-app-nav__links > [aria-current=page] {
|
|
863
|
+
color: var(--color-text, #171717);
|
|
864
|
+
}
|
|
865
|
+
.fds-app-nav__links > *:focus-visible {
|
|
866
|
+
outline: 2px solid var(--color-accent, #ea580c);
|
|
867
|
+
outline-offset: -2px;
|
|
868
|
+
border-radius: var(--radius-sm, 6px);
|
|
869
|
+
}
|
|
870
|
+
.fds-app-nav__links > [aria-current=page]::after {
|
|
871
|
+
content: "";
|
|
872
|
+
position: absolute;
|
|
873
|
+
left: var(--spacing-3, 12px);
|
|
874
|
+
right: var(--spacing-3, 12px);
|
|
875
|
+
bottom: 2px;
|
|
876
|
+
height: 2px;
|
|
877
|
+
border-radius: 2px;
|
|
878
|
+
background: var(--color-accent, #ea580c);
|
|
879
|
+
}
|
|
880
|
+
.fds-app-nav__actions {
|
|
881
|
+
display: flex;
|
|
882
|
+
align-items: center;
|
|
883
|
+
gap: var(--spacing-3, 12px);
|
|
884
|
+
margin-left: auto;
|
|
885
|
+
flex-shrink: 0;
|
|
886
|
+
}
|
|
887
|
+
.fds-app-nav__toggle {
|
|
888
|
+
display: none;
|
|
889
|
+
}
|
|
890
|
+
@media (max-width: 640px) {
|
|
891
|
+
.fds-app-nav {
|
|
892
|
+
gap: var(--spacing-2, 8px);
|
|
893
|
+
padding: 0 var(--spacing-3, 12px) 0 var(--spacing-4, 16px);
|
|
894
|
+
}
|
|
895
|
+
.fds-app-nav__toggle {
|
|
896
|
+
display: grid;
|
|
897
|
+
place-items: center;
|
|
898
|
+
flex-shrink: 0;
|
|
899
|
+
width: 40px;
|
|
900
|
+
height: 40px;
|
|
901
|
+
padding: 0;
|
|
902
|
+
border: none;
|
|
903
|
+
border-radius: var(--radius-md, 8px);
|
|
904
|
+
background: transparent;
|
|
905
|
+
color: var(--color-text, #171717);
|
|
906
|
+
cursor: pointer;
|
|
907
|
+
transition: background-color var(--duration-quick, 150ms) var(--ease-out, ease);
|
|
908
|
+
}
|
|
909
|
+
.fds-app-nav__toggle:hover,
|
|
910
|
+
.fds-app-nav__toggle[aria-expanded=true] {
|
|
911
|
+
background: var(--color-surface-hover, #ebebeb);
|
|
912
|
+
}
|
|
913
|
+
.fds-app-nav__toggle:focus-visible {
|
|
914
|
+
outline: 2px solid var(--color-accent, #ea580c);
|
|
915
|
+
outline-offset: 2px;
|
|
916
|
+
}
|
|
917
|
+
.fds-app-nav__links {
|
|
918
|
+
display: none;
|
|
919
|
+
position: absolute;
|
|
920
|
+
top: 100%;
|
|
921
|
+
left: 0;
|
|
922
|
+
right: 0;
|
|
923
|
+
flex-direction: column;
|
|
924
|
+
align-items: stretch;
|
|
925
|
+
gap: 0;
|
|
926
|
+
padding: var(--spacing-2, 8px);
|
|
927
|
+
background: var(--color-surface-raised, #ffffff);
|
|
928
|
+
border-bottom: 1px solid var(--color-border-light, #e5e5e5);
|
|
929
|
+
box-shadow: var(--shadow-lg, 0 16px 48px rgba(0, 0, 0, 0.12));
|
|
930
|
+
}
|
|
931
|
+
.fds-app-nav__links[data-open] {
|
|
932
|
+
display: flex;
|
|
933
|
+
animation: fds-app-nav-menu-in var(--duration-quick, 150ms) var(--ease-out, ease) both;
|
|
934
|
+
}
|
|
935
|
+
.fds-app-nav__links > * {
|
|
936
|
+
padding: 12px var(--spacing-3, 12px);
|
|
937
|
+
border-radius: var(--radius-md, 8px);
|
|
938
|
+
font-size: 15px;
|
|
939
|
+
line-height: 22px;
|
|
940
|
+
color: var(--color-text-secondary, #525252);
|
|
941
|
+
}
|
|
942
|
+
.fds-app-nav__links > *:hover {
|
|
943
|
+
background: var(--color-surface, #f4f4f4);
|
|
944
|
+
}
|
|
945
|
+
.fds-app-nav__links > [aria-current=page] {
|
|
946
|
+
color: var(--color-text, #171717);
|
|
947
|
+
background: var(--color-surface, #f4f4f4);
|
|
948
|
+
}
|
|
949
|
+
.fds-app-nav__links > [aria-current=page]::after {
|
|
950
|
+
display: none;
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
@keyframes fds-app-nav-menu-in {
|
|
954
|
+
from {
|
|
955
|
+
opacity: 0;
|
|
956
|
+
transform: translateY(-4px);
|
|
957
|
+
}
|
|
958
|
+
to {
|
|
959
|
+
opacity: 1;
|
|
960
|
+
transform: translateY(0);
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
@media (prefers-reduced-motion: reduce) {
|
|
964
|
+
.fds-app-nav__links[data-open] {
|
|
965
|
+
animation: none;
|
|
966
|
+
}
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
/* src/components/TabNav/tab-nav.css */
|
|
970
|
+
.fds-tab-nav {
|
|
971
|
+
display: flex;
|
|
972
|
+
align-items: stretch;
|
|
973
|
+
gap: var(--spacing-1, 4px);
|
|
974
|
+
overflow-x: auto;
|
|
975
|
+
scrollbar-width: none;
|
|
976
|
+
box-shadow: inset 0 -1px 0 var(--color-border-light, #e5e5e5);
|
|
977
|
+
}
|
|
978
|
+
.fds-tab-nav::-webkit-scrollbar {
|
|
979
|
+
display: none;
|
|
980
|
+
}
|
|
981
|
+
.fds-tab-nav > * {
|
|
982
|
+
position: relative;
|
|
983
|
+
flex-shrink: 0;
|
|
984
|
+
padding: 10px 14px;
|
|
985
|
+
font-family: var(--font-display, "Rethink Sans", system-ui, sans-serif);
|
|
986
|
+
font-size: 13px;
|
|
987
|
+
font-weight: 500;
|
|
988
|
+
line-height: 20px;
|
|
989
|
+
white-space: nowrap;
|
|
990
|
+
color: var(--color-text-muted, #a3a3a3);
|
|
991
|
+
background: transparent;
|
|
992
|
+
text-decoration: none;
|
|
993
|
+
transition: color var(--duration-quick, 150ms) var(--ease-out, ease);
|
|
994
|
+
}
|
|
995
|
+
.fds-tab-nav > *:hover {
|
|
996
|
+
color: var(--color-text, #171717);
|
|
997
|
+
}
|
|
998
|
+
.fds-tab-nav > *:focus-visible {
|
|
999
|
+
outline: 2px solid var(--color-accent, #ea580c);
|
|
1000
|
+
outline-offset: -2px;
|
|
1001
|
+
border-radius: var(--radius-xs, 4px);
|
|
1002
|
+
}
|
|
1003
|
+
.fds-tab-nav > [aria-current=page] {
|
|
1004
|
+
color: var(--color-text, #171717);
|
|
1005
|
+
font-weight: 600;
|
|
1006
|
+
}
|
|
1007
|
+
.fds-tab-nav > [aria-current=page]::after {
|
|
1008
|
+
content: "";
|
|
1009
|
+
position: absolute;
|
|
1010
|
+
left: var(--spacing-2, 8px);
|
|
1011
|
+
right: var(--spacing-2, 8px);
|
|
1012
|
+
bottom: 0;
|
|
1013
|
+
height: 2px;
|
|
1014
|
+
border-radius: 1px 1px 0 0;
|
|
1015
|
+
background: var(--color-accent, #ea580c);
|
|
1016
|
+
}
|
|
1017
|
+
@media (max-width: 640px) {
|
|
1018
|
+
.fds-tab-nav {
|
|
1019
|
+
-webkit-mask-image:
|
|
1020
|
+
linear-gradient(
|
|
1021
|
+
to right,
|
|
1022
|
+
#000 calc(100% - 24px),
|
|
1023
|
+
transparent);
|
|
1024
|
+
mask-image:
|
|
1025
|
+
linear-gradient(
|
|
1026
|
+
to right,
|
|
1027
|
+
#000 calc(100% - 24px),
|
|
1028
|
+
transparent);
|
|
1029
|
+
padding-right: 24px;
|
|
1030
|
+
}
|
|
1031
|
+
.fds-tab-nav > * {
|
|
1032
|
+
padding: 10px var(--spacing-3, 12px);
|
|
1033
|
+
}
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
/* src/components/SettingsSection/settings-section.css */
|
|
1037
|
+
.fds-settings-section {
|
|
1038
|
+
display: grid;
|
|
1039
|
+
grid-template-columns: 280px minmax(0, 1fr);
|
|
1040
|
+
gap: var(--spacing-12, 48px);
|
|
1041
|
+
align-items: start;
|
|
1042
|
+
padding: var(--spacing-8, 32px) 0;
|
|
1043
|
+
border-bottom: 1px solid var(--color-border-light, #e5e5e5);
|
|
1044
|
+
}
|
|
1045
|
+
.fds-settings-section:first-child {
|
|
1046
|
+
padding-top: 0;
|
|
1047
|
+
}
|
|
1048
|
+
.fds-settings-section:last-child {
|
|
1049
|
+
border-bottom: none;
|
|
1050
|
+
}
|
|
1051
|
+
.fds-settings-section__head {
|
|
1052
|
+
position: sticky;
|
|
1053
|
+
top: var(--spacing-6, 24px);
|
|
1054
|
+
}
|
|
1055
|
+
.fds-settings-section__title {
|
|
1056
|
+
margin: 0 0 var(--spacing-2, 8px);
|
|
1057
|
+
font-family: var(--font-display, "Rethink Sans", system-ui, sans-serif);
|
|
1058
|
+
font-size: 14.5px;
|
|
1059
|
+
font-weight: 600;
|
|
1060
|
+
letter-spacing: -0.005em;
|
|
1061
|
+
color: var(--color-text, #171717);
|
|
1062
|
+
}
|
|
1063
|
+
.fds-settings-section__description {
|
|
1064
|
+
margin: 0;
|
|
1065
|
+
max-width: 32ch;
|
|
1066
|
+
font-size: 12.5px;
|
|
1067
|
+
line-height: 1.55;
|
|
1068
|
+
color: var(--color-text-muted, #a3a3a3);
|
|
1069
|
+
}
|
|
1070
|
+
.fds-settings-section__body {
|
|
1071
|
+
display: flex;
|
|
1072
|
+
flex-direction: column;
|
|
1073
|
+
gap: var(--spacing-4, 16px);
|
|
1074
|
+
min-width: 0;
|
|
1075
|
+
}
|
|
1076
|
+
@media (max-width: 900px) {
|
|
1077
|
+
.fds-settings-section {
|
|
1078
|
+
grid-template-columns: minmax(0, 1fr);
|
|
1079
|
+
gap: var(--spacing-4, 16px);
|
|
1080
|
+
padding: var(--spacing-6, 24px) 0;
|
|
1081
|
+
}
|
|
1082
|
+
.fds-settings-section__head {
|
|
1083
|
+
position: static;
|
|
1084
|
+
}
|
|
1085
|
+
.fds-settings-section__description {
|
|
1086
|
+
max-width: none;
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
/* src/components/Modal/modal.css */
|
|
1091
|
+
.fds-modal__scrim {
|
|
1092
|
+
position: fixed;
|
|
1093
|
+
inset: 0;
|
|
1094
|
+
z-index: 1000;
|
|
1095
|
+
display: grid;
|
|
1096
|
+
grid-template-columns: minmax(0, 1fr);
|
|
1097
|
+
place-items: center;
|
|
1098
|
+
padding: var(--spacing-6, 24px);
|
|
1099
|
+
background: rgba(10, 10, 10, 0.42);
|
|
1100
|
+
animation: fds-modal-scrim-in var(--duration-moderate, 200ms) var(--ease-out, ease) both;
|
|
1101
|
+
}
|
|
1102
|
+
.fds-modal {
|
|
1103
|
+
box-sizing: border-box;
|
|
1104
|
+
position: relative;
|
|
1105
|
+
width: 100%;
|
|
1106
|
+
max-height: calc(100dvh - 2 * var(--spacing-6, 24px));
|
|
1107
|
+
overflow-y: auto;
|
|
1108
|
+
padding: var(--spacing-8, 32px) var(--spacing-8, 32px) var(--spacing-6, 24px);
|
|
1109
|
+
background: var(--color-surface-raised, #ffffff);
|
|
1110
|
+
border: 1px solid var(--color-border, #e5e5e5);
|
|
1111
|
+
border-radius: var(--radius-xl, 16px);
|
|
1112
|
+
box-shadow: var(--shadow-lg, 0 16px 48px rgba(0, 0, 0, 0.12));
|
|
1113
|
+
animation: fds-modal-in var(--duration-slow, 300ms) var(--ease-out, ease) both;
|
|
1114
|
+
}
|
|
1115
|
+
.fds-modal:focus {
|
|
1116
|
+
outline: none;
|
|
1117
|
+
}
|
|
1118
|
+
.fds-modal--small {
|
|
1119
|
+
max-width: 420px;
|
|
1120
|
+
}
|
|
1121
|
+
.fds-modal--medium {
|
|
1122
|
+
max-width: 560px;
|
|
1123
|
+
}
|
|
1124
|
+
.fds-modal__close {
|
|
1125
|
+
position: absolute;
|
|
1126
|
+
top: var(--spacing-4, 16px);
|
|
1127
|
+
right: var(--spacing-4, 16px);
|
|
1128
|
+
display: grid;
|
|
1129
|
+
place-items: center;
|
|
1130
|
+
width: 32px;
|
|
1131
|
+
height: 32px;
|
|
1132
|
+
padding: 0;
|
|
1133
|
+
border: none;
|
|
1134
|
+
border-radius: var(--radius-md, 8px);
|
|
1135
|
+
background: transparent;
|
|
1136
|
+
color: var(--color-text-muted, #a3a3a3);
|
|
1137
|
+
cursor: pointer;
|
|
1138
|
+
transition: color var(--duration-quick, 150ms) var(--ease-out, ease), background-color var(--duration-quick, 150ms) var(--ease-out, ease);
|
|
1139
|
+
}
|
|
1140
|
+
.fds-modal__close:hover:not(:disabled) {
|
|
1141
|
+
color: var(--color-text, #171717);
|
|
1142
|
+
background: var(--color-surface, #f4f4f4);
|
|
1143
|
+
}
|
|
1144
|
+
.fds-modal__close:focus-visible {
|
|
1145
|
+
outline: 2px solid var(--color-accent, #ea580c);
|
|
1146
|
+
outline-offset: 2px;
|
|
1147
|
+
}
|
|
1148
|
+
.fds-modal__close:disabled {
|
|
1149
|
+
cursor: not-allowed;
|
|
1150
|
+
opacity: 0.4;
|
|
1151
|
+
}
|
|
1152
|
+
.fds-modal__icon {
|
|
1153
|
+
display: grid;
|
|
1154
|
+
place-items: center;
|
|
1155
|
+
width: 40px;
|
|
1156
|
+
height: 40px;
|
|
1157
|
+
margin-bottom: var(--spacing-4, 16px);
|
|
1158
|
+
border-radius: var(--radius-full, 9999px);
|
|
1159
|
+
background: var(--color-error-bg, #fef2f2);
|
|
1160
|
+
color: var(--color-error, #b91c1c);
|
|
1161
|
+
}
|
|
1162
|
+
.fds-modal__title {
|
|
1163
|
+
margin: 0 var(--spacing-8, 32px) var(--spacing-3, 12px) 0;
|
|
1164
|
+
font-family: var(--font-display, "Rethink Sans", system-ui, sans-serif);
|
|
1165
|
+
font-size: 20px;
|
|
1166
|
+
font-weight: 600;
|
|
1167
|
+
line-height: 1.25;
|
|
1168
|
+
letter-spacing: -0.015em;
|
|
1169
|
+
color: var(--color-text, #171717);
|
|
1170
|
+
}
|
|
1171
|
+
.fds-modal__description {
|
|
1172
|
+
margin: 0 0 var(--spacing-5, 20px);
|
|
1173
|
+
font-size: 13.5px;
|
|
1174
|
+
line-height: 1.55;
|
|
1175
|
+
color: var(--color-text-secondary, #525252);
|
|
1176
|
+
}
|
|
1177
|
+
.fds-modal__content {
|
|
1178
|
+
margin-bottom: var(--spacing-5, 20px);
|
|
1179
|
+
font-size: 13.5px;
|
|
1180
|
+
line-height: 1.55;
|
|
1181
|
+
color: var(--color-text-secondary, #525252);
|
|
1182
|
+
}
|
|
1183
|
+
.fds-modal__actions {
|
|
1184
|
+
display: flex;
|
|
1185
|
+
justify-content: flex-end;
|
|
1186
|
+
gap: var(--spacing-2, 8px);
|
|
1187
|
+
}
|
|
1188
|
+
@keyframes fds-modal-scrim-in {
|
|
1189
|
+
from {
|
|
1190
|
+
opacity: 0;
|
|
1191
|
+
}
|
|
1192
|
+
to {
|
|
1193
|
+
opacity: 1;
|
|
1194
|
+
}
|
|
1195
|
+
}
|
|
1196
|
+
@keyframes fds-modal-in {
|
|
1197
|
+
from {
|
|
1198
|
+
opacity: 0;
|
|
1199
|
+
transform: translateY(8px);
|
|
1200
|
+
}
|
|
1201
|
+
to {
|
|
1202
|
+
opacity: 1;
|
|
1203
|
+
transform: translateY(0);
|
|
1204
|
+
}
|
|
1205
|
+
}
|
|
1206
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1207
|
+
.fds-modal__scrim,
|
|
1208
|
+
.fds-modal {
|
|
1209
|
+
animation: none;
|
|
1210
|
+
}
|
|
1211
|
+
}
|
|
1212
|
+
@media (max-width: 480px) {
|
|
1213
|
+
.fds-modal__scrim {
|
|
1214
|
+
padding: var(--spacing-4, 16px);
|
|
1215
|
+
}
|
|
1216
|
+
.fds-modal {
|
|
1217
|
+
max-height: calc(100dvh - 2 * var(--spacing-4, 16px));
|
|
1218
|
+
padding: var(--spacing-6, 24px) var(--spacing-5, 20px) var(--spacing-5, 20px);
|
|
1219
|
+
}
|
|
1220
|
+
.fds-modal__actions {
|
|
1221
|
+
flex-direction: column-reverse;
|
|
1222
|
+
}
|
|
1223
|
+
.fds-modal__actions > * {
|
|
1224
|
+
box-sizing: border-box;
|
|
1225
|
+
width: 100%;
|
|
1226
|
+
}
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
/* src/components/SegmentedControl/segmented-control.css */
|
|
1230
|
+
.fds-segmented {
|
|
1231
|
+
box-sizing: border-box;
|
|
1232
|
+
display: flex;
|
|
1233
|
+
max-width: 100%;
|
|
1234
|
+
gap: var(--spacing-1, 4px);
|
|
1235
|
+
overflow-x: auto;
|
|
1236
|
+
scrollbar-width: none;
|
|
1237
|
+
box-shadow: inset 0 -1px 0 var(--color-border-light, #e5e5e5);
|
|
1238
|
+
}
|
|
1239
|
+
.fds-segmented::-webkit-scrollbar {
|
|
1240
|
+
display: none;
|
|
1241
|
+
}
|
|
1242
|
+
.fds-segmented__option {
|
|
1243
|
+
position: relative;
|
|
1244
|
+
display: inline-flex;
|
|
1245
|
+
align-items: center;
|
|
1246
|
+
gap: 6px;
|
|
1247
|
+
flex-shrink: 0;
|
|
1248
|
+
padding: 10px;
|
|
1249
|
+
border: none;
|
|
1250
|
+
background: transparent;
|
|
1251
|
+
color: var(--color-text-muted, #a3a3a3);
|
|
1252
|
+
font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
|
|
1253
|
+
font-size: 13px;
|
|
1254
|
+
font-weight: 500;
|
|
1255
|
+
line-height: 20px;
|
|
1256
|
+
white-space: nowrap;
|
|
1257
|
+
cursor: pointer;
|
|
1258
|
+
transition: color var(--duration-quick, 150ms) var(--ease-out, ease);
|
|
1259
|
+
}
|
|
1260
|
+
.fds-segmented__option:hover:not(:disabled) {
|
|
1261
|
+
color: var(--color-text, #171717);
|
|
1262
|
+
}
|
|
1263
|
+
.fds-segmented__option:focus-visible {
|
|
1264
|
+
outline: 2px solid var(--color-accent, #ea580c);
|
|
1265
|
+
outline-offset: -2px;
|
|
1266
|
+
border-radius: var(--radius-xs, 4px);
|
|
1267
|
+
}
|
|
1268
|
+
.fds-segmented__option[aria-selected=true] {
|
|
1269
|
+
color: var(--color-text, #171717);
|
|
1270
|
+
font-weight: 600;
|
|
1271
|
+
}
|
|
1272
|
+
.fds-segmented__option[aria-selected=true]::after {
|
|
1273
|
+
content: "";
|
|
1274
|
+
position: absolute;
|
|
1275
|
+
left: var(--spacing-2, 8px);
|
|
1276
|
+
right: var(--spacing-2, 8px);
|
|
1277
|
+
bottom: 0;
|
|
1278
|
+
height: 2px;
|
|
1279
|
+
border-radius: 1px 1px 0 0;
|
|
1280
|
+
background: var(--color-text, #171717);
|
|
1281
|
+
}
|
|
1282
|
+
.fds-segmented__option:disabled {
|
|
1283
|
+
color: #d4d4d4;
|
|
1284
|
+
cursor: not-allowed;
|
|
1285
|
+
}
|
|
1286
|
+
.fds-segmented__count {
|
|
1287
|
+
box-sizing: border-box;
|
|
1288
|
+
display: inline-grid;
|
|
1289
|
+
place-items: center;
|
|
1290
|
+
min-width: 20px;
|
|
1291
|
+
height: 20px;
|
|
1292
|
+
padding: 0 6px;
|
|
1293
|
+
border-radius: var(--radius-full, 9999px);
|
|
1294
|
+
background: var(--color-accent-subtle, #ffedd5);
|
|
1295
|
+
color: var(--color-accent-text, #c2410c);
|
|
1296
|
+
font-size: 11px;
|
|
1297
|
+
font-weight: 600;
|
|
1298
|
+
line-height: 1;
|
|
1299
|
+
font-variant-numeric: tabular-nums;
|
|
1300
|
+
}
|
|
1301
|
+
.fds-segmented__option[aria-selected=true] .fds-segmented__count {
|
|
1302
|
+
background: var(--color-accent, #ea580c);
|
|
1303
|
+
color: #ffffff;
|
|
1304
|
+
}
|
|
1305
|
+
.fds-segmented__option:disabled .fds-segmented__count {
|
|
1306
|
+
background: #f5f5f5;
|
|
1307
|
+
color: #a3a3a3;
|
|
1308
|
+
}
|
|
1309
|
+
@media (max-width: 640px) {
|
|
1310
|
+
.fds-segmented {
|
|
1311
|
+
padding-right: 24px;
|
|
1312
|
+
-webkit-mask-image:
|
|
1313
|
+
linear-gradient(
|
|
1314
|
+
to right,
|
|
1315
|
+
#000 calc(100% - 24px),
|
|
1316
|
+
transparent);
|
|
1317
|
+
mask-image:
|
|
1318
|
+
linear-gradient(
|
|
1319
|
+
to right,
|
|
1320
|
+
#000 calc(100% - 24px),
|
|
1321
|
+
transparent);
|
|
1322
|
+
}
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
/* src/components/Avatar/avatar.css */
|
|
1326
|
+
.fds-avatar {
|
|
1327
|
+
box-sizing: border-box;
|
|
1328
|
+
display: inline-grid;
|
|
1329
|
+
place-items: center;
|
|
1330
|
+
flex-shrink: 0;
|
|
1331
|
+
overflow: hidden;
|
|
1332
|
+
border-radius: var(--radius-full, 9999px);
|
|
1333
|
+
background: var(--color-accent-subtle, #ffedd5);
|
|
1334
|
+
color: var(--color-accent-text, #c2410c);
|
|
1335
|
+
font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
|
|
1336
|
+
font-weight: 600;
|
|
1337
|
+
line-height: 1;
|
|
1338
|
+
user-select: none;
|
|
1339
|
+
}
|
|
1340
|
+
.fds-avatar--small {
|
|
1341
|
+
width: 24px;
|
|
1342
|
+
height: 24px;
|
|
1343
|
+
font-size: 10px;
|
|
1344
|
+
}
|
|
1345
|
+
.fds-avatar--medium {
|
|
1346
|
+
width: 32px;
|
|
1347
|
+
height: 32px;
|
|
1348
|
+
font-size: 12px;
|
|
1349
|
+
}
|
|
1350
|
+
.fds-avatar--large {
|
|
1351
|
+
width: 40px;
|
|
1352
|
+
height: 40px;
|
|
1353
|
+
font-size: 14px;
|
|
1354
|
+
}
|
|
1355
|
+
.fds-avatar__img {
|
|
1356
|
+
width: 100%;
|
|
1357
|
+
height: 100%;
|
|
1358
|
+
object-fit: cover;
|
|
1359
|
+
display: block;
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
/* src/components/SectionHeader/section-header.css */
|
|
1363
|
+
.fds-section-header {
|
|
1364
|
+
display: flex;
|
|
1365
|
+
flex-direction: column;
|
|
1366
|
+
gap: var(--spacing-2, 8px);
|
|
1367
|
+
min-width: 0;
|
|
1368
|
+
}
|
|
1369
|
+
.fds-section-header__title {
|
|
1370
|
+
margin: 0;
|
|
1371
|
+
font-family: var(--font-display, "Rethink Sans", system-ui, sans-serif);
|
|
1372
|
+
font-size: 14.5px;
|
|
1373
|
+
font-weight: 600;
|
|
1374
|
+
line-height: 1.3;
|
|
1375
|
+
letter-spacing: -0.005em;
|
|
1376
|
+
color: var(--color-text, #171717);
|
|
1377
|
+
}
|
|
1378
|
+
.fds-section-header__description {
|
|
1379
|
+
margin: 0;
|
|
1380
|
+
max-width: 60ch;
|
|
1381
|
+
font-size: 12.5px;
|
|
1382
|
+
line-height: 1.55;
|
|
1383
|
+
color: var(--color-text-muted, #a3a3a3);
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1386
|
+
/* src/components/Split/split.css */
|
|
1387
|
+
.fds-split {
|
|
1388
|
+
display: grid;
|
|
1389
|
+
grid-template-columns: var(--fds-split-aside, 280px) minmax(0, 1fr);
|
|
1390
|
+
gap: var(--spacing-12, 48px);
|
|
1391
|
+
align-items: start;
|
|
1392
|
+
}
|
|
1393
|
+
.fds-split__aside,
|
|
1394
|
+
.fds-split__main {
|
|
1395
|
+
min-width: 0;
|
|
1396
|
+
}
|
|
1397
|
+
.fds-split__main {
|
|
1398
|
+
display: flex;
|
|
1399
|
+
flex-direction: column;
|
|
1400
|
+
gap: var(--spacing-4, 16px);
|
|
1401
|
+
}
|
|
1402
|
+
.fds-split--sticky .fds-split__aside {
|
|
1403
|
+
position: sticky;
|
|
1404
|
+
top: var(--spacing-6, 24px);
|
|
1405
|
+
}
|
|
1406
|
+
@media (max-width: 900px) {
|
|
1407
|
+
.fds-split--collapse-lg {
|
|
1408
|
+
grid-template-columns: minmax(0, 1fr);
|
|
1409
|
+
gap: var(--spacing-4, 16px);
|
|
1410
|
+
}
|
|
1411
|
+
.fds-split--collapse-lg .fds-split__aside {
|
|
1412
|
+
position: static;
|
|
1413
|
+
}
|
|
1414
|
+
}
|
|
1415
|
+
@media (max-width: 640px) {
|
|
1416
|
+
.fds-split--collapse-md {
|
|
1417
|
+
grid-template-columns: minmax(0, 1fr);
|
|
1418
|
+
gap: var(--spacing-4, 16px);
|
|
1419
|
+
}
|
|
1420
|
+
.fds-split--collapse-md .fds-split__aside {
|
|
1421
|
+
position: static;
|
|
1422
|
+
}
|
|
1423
|
+
}
|