@syscore/ui-library 1.5.2 → 1.6.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/client/components/icons/AlphaIcon.tsx +81 -0
- package/client/components/icons/StandardLogo.tsx +8 -2
- package/client/components/ui/navigation.tsx +617 -967
- package/client/global.css +327 -3
- package/client/ui/Navigation.stories.tsx +515 -38
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +30 -3
- package/dist/index.es.js +1964 -2236
- package/package.json +1 -1
package/client/global.css
CHANGED
|
@@ -957,7 +957,6 @@ body {
|
|
|
957
957
|
background-color: var(--color-white, #fff);
|
|
958
958
|
border: 1px solid var(--color-gray-200, #dedfe3);
|
|
959
959
|
color: var(--color-cyan-800, #0f748a);
|
|
960
|
-
|
|
961
960
|
}
|
|
962
961
|
|
|
963
962
|
.button--secondary-light:hover {
|
|
@@ -1036,7 +1035,7 @@ body {
|
|
|
1036
1035
|
cursor: pointer;
|
|
1037
1036
|
box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
1038
1037
|
background: none;
|
|
1039
|
-
background-color: #
|
|
1038
|
+
background-color: #282a3133;
|
|
1040
1039
|
padding-left: 3.75rem;
|
|
1041
1040
|
padding-right: 3.75rem;
|
|
1042
1041
|
color: white;
|
|
@@ -1146,7 +1145,7 @@ body {
|
|
|
1146
1145
|
.button-text {
|
|
1147
1146
|
position: relative;
|
|
1148
1147
|
z-index: 10;
|
|
1149
|
-
font-weight: 600;
|
|
1148
|
+
font-weight: 600 !important;
|
|
1150
1149
|
}
|
|
1151
1150
|
|
|
1152
1151
|
/* Accordion Styles */
|
|
@@ -6974,3 +6973,328 @@ body {
|
|
|
6974
6973
|
/* Uses body-large utility */
|
|
6975
6974
|
max-width: 680px;
|
|
6976
6975
|
}
|
|
6976
|
+
|
|
6977
|
+
/* Navigation Styles */
|
|
6978
|
+
.navigation {
|
|
6979
|
+
position: absolute;
|
|
6980
|
+
top: 0;
|
|
6981
|
+
left: 0;
|
|
6982
|
+
z-index: 50;
|
|
6983
|
+
width: 100%;
|
|
6984
|
+
}
|
|
6985
|
+
|
|
6986
|
+
.navigation--light {
|
|
6987
|
+
background-color: var(--color-gray-50, #f9f9fa);
|
|
6988
|
+
border-bottom: 1px solid var(--color-gray-100, #eff1f2);
|
|
6989
|
+
}
|
|
6990
|
+
|
|
6991
|
+
.navigation__backdrop {
|
|
6992
|
+
position: absolute;
|
|
6993
|
+
top: 0;
|
|
6994
|
+
left: 0;
|
|
6995
|
+
width: 100%;
|
|
6996
|
+
backdrop-filter: blur(20px);
|
|
6997
|
+
}
|
|
6998
|
+
|
|
6999
|
+
.navigation__content {
|
|
7000
|
+
position: relative;
|
|
7001
|
+
z-index: 10;
|
|
7002
|
+
margin-left: auto;
|
|
7003
|
+
margin-right: auto;
|
|
7004
|
+
max-width: calc(1536px + 64px);
|
|
7005
|
+
width: 100%;
|
|
7006
|
+
padding-left: 2rem;
|
|
7007
|
+
padding-right: 2rem;
|
|
7008
|
+
display: flex;
|
|
7009
|
+
height: 4rem;
|
|
7010
|
+
align-items: center;
|
|
7011
|
+
justify-content: space-between;
|
|
7012
|
+
}
|
|
7013
|
+
|
|
7014
|
+
.navigation__separator {
|
|
7015
|
+
position: relative;
|
|
7016
|
+
z-index: 10;
|
|
7017
|
+
height: 1px;
|
|
7018
|
+
width: 100%;
|
|
7019
|
+
background-color: rgba(255, 255, 255, 0.08);
|
|
7020
|
+
}
|
|
7021
|
+
|
|
7022
|
+
.navigation__tray-container {
|
|
7023
|
+
position: relative;
|
|
7024
|
+
z-index: 10;
|
|
7025
|
+
width: 100%;
|
|
7026
|
+
overflow: hidden;
|
|
7027
|
+
}
|
|
7028
|
+
|
|
7029
|
+
.navigation-brand {
|
|
7030
|
+
display: flex;
|
|
7031
|
+
height: 100%;
|
|
7032
|
+
min-width: 200px;
|
|
7033
|
+
align-items: center;
|
|
7034
|
+
gap: 6px;
|
|
7035
|
+
}
|
|
7036
|
+
|
|
7037
|
+
@media (max-width: 640px) {
|
|
7038
|
+
.navigation-brand {
|
|
7039
|
+
min-width: auto;
|
|
7040
|
+
}
|
|
7041
|
+
}
|
|
7042
|
+
|
|
7043
|
+
.navigation-back {
|
|
7044
|
+
display: flex;
|
|
7045
|
+
height: 2rem;
|
|
7046
|
+
width: 2rem;
|
|
7047
|
+
align-items: center;
|
|
7048
|
+
justify-content: center;
|
|
7049
|
+
border-radius: 9999px;
|
|
7050
|
+
margin-right: 18px;
|
|
7051
|
+
transition: colors 0.15s ease-in-out;
|
|
7052
|
+
}
|
|
7053
|
+
|
|
7054
|
+
.navigation-back--light {
|
|
7055
|
+
background-color: var(--color-white, #fff);
|
|
7056
|
+
border: 1px solid var(--color-gray-100, #eff1f2);
|
|
7057
|
+
}
|
|
7058
|
+
|
|
7059
|
+
.navigation-back--dark {
|
|
7060
|
+
background-color: rgba(255, 255, 255, 0.12);
|
|
7061
|
+
}
|
|
7062
|
+
|
|
7063
|
+
.navigation-back__icon--light {
|
|
7064
|
+
color: var(--color-gray-800, #282a31);
|
|
7065
|
+
}
|
|
7066
|
+
|
|
7067
|
+
.navigation-back__icon--dark {
|
|
7068
|
+
color: var(--color-white, #fff);
|
|
7069
|
+
}
|
|
7070
|
+
|
|
7071
|
+
.navigation-logo {
|
|
7072
|
+
display: flex;
|
|
7073
|
+
align-items: center;
|
|
7074
|
+
justify-content: center;
|
|
7075
|
+
gap: 6px;
|
|
7076
|
+
}
|
|
7077
|
+
|
|
7078
|
+
.navigation-menu {
|
|
7079
|
+
position: relative;
|
|
7080
|
+
display: none;
|
|
7081
|
+
height: 100%;
|
|
7082
|
+
flex: 1;
|
|
7083
|
+
align-items: center;
|
|
7084
|
+
justify-content: center;
|
|
7085
|
+
}
|
|
7086
|
+
|
|
7087
|
+
@media (min-width: 768px) {
|
|
7088
|
+
.navigation-menu {
|
|
7089
|
+
display: flex;
|
|
7090
|
+
}
|
|
7091
|
+
}
|
|
7092
|
+
|
|
7093
|
+
.navigation-menu__list {
|
|
7094
|
+
display: flex;
|
|
7095
|
+
height: 100%;
|
|
7096
|
+
gap: 3rem;
|
|
7097
|
+
}
|
|
7098
|
+
|
|
7099
|
+
.navigation-tray-trigger {
|
|
7100
|
+
position: relative;
|
|
7101
|
+
display: flex;
|
|
7102
|
+
height: 100%;
|
|
7103
|
+
flex-direction: column;
|
|
7104
|
+
align-items: center;
|
|
7105
|
+
justify-content: center;
|
|
7106
|
+
}
|
|
7107
|
+
|
|
7108
|
+
.navigation-tray-trigger__text {
|
|
7109
|
+
cursor: pointer;
|
|
7110
|
+
font-weight: 600;
|
|
7111
|
+
}
|
|
7112
|
+
|
|
7113
|
+
.navigation-tray-trigger__text--light {
|
|
7114
|
+
color: var(--color-gray-800, #282a31);
|
|
7115
|
+
}
|
|
7116
|
+
|
|
7117
|
+
.navigation-tray-trigger__text--dark {
|
|
7118
|
+
color: var(--color-white, #fff);
|
|
7119
|
+
}
|
|
7120
|
+
|
|
7121
|
+
.navigation-tray-trigger__indicator {
|
|
7122
|
+
position: absolute;
|
|
7123
|
+
bottom: -10px;
|
|
7124
|
+
z-index: 50;
|
|
7125
|
+
height: 10px;
|
|
7126
|
+
width: 10px;
|
|
7127
|
+
border-radius: 9999px;
|
|
7128
|
+
}
|
|
7129
|
+
|
|
7130
|
+
.navigation-tray-trigger__indicator-shape {
|
|
7131
|
+
background: linear-gradient(180deg, #3eecd1 0%, #66fcd9 100%);
|
|
7132
|
+
width: 10px;
|
|
7133
|
+
height: 5px;
|
|
7134
|
+
border-bottom-left-radius: 100px;
|
|
7135
|
+
border-bottom-right-radius: 100px;
|
|
7136
|
+
}
|
|
7137
|
+
|
|
7138
|
+
.navigation-tray-trigger__static-indicator {
|
|
7139
|
+
position: absolute;
|
|
7140
|
+
bottom: -5px;
|
|
7141
|
+
z-index: 50;
|
|
7142
|
+
height: 10px;
|
|
7143
|
+
width: 10px;
|
|
7144
|
+
border-radius: 9999px;
|
|
7145
|
+
}
|
|
7146
|
+
|
|
7147
|
+
.navigation-tray-trigger__static-indicator-shape {
|
|
7148
|
+
background-color: var(--color-white, #fff);
|
|
7149
|
+
width: 10px;
|
|
7150
|
+
height: 5px;
|
|
7151
|
+
border-top-left-radius: 100px;
|
|
7152
|
+
border-top-right-radius: 100px;
|
|
7153
|
+
}
|
|
7154
|
+
|
|
7155
|
+
.navigation-tray {
|
|
7156
|
+
margin-left: auto;
|
|
7157
|
+
margin-right: auto;
|
|
7158
|
+
max-width: calc(1536px + 64px);
|
|
7159
|
+
width: 100%;
|
|
7160
|
+
padding-left: 2rem;
|
|
7161
|
+
padding-right: 2rem;
|
|
7162
|
+
display: flex;
|
|
7163
|
+
flex-direction: column;
|
|
7164
|
+
gap: 1.5rem;
|
|
7165
|
+
padding-top: 1.5rem;
|
|
7166
|
+
padding-bottom: 1.5rem;
|
|
7167
|
+
transition: opacity 0.2s ease-in-out;
|
|
7168
|
+
}
|
|
7169
|
+
|
|
7170
|
+
.navigation-tray__title {
|
|
7171
|
+
padding-top: 0.25rem;
|
|
7172
|
+
padding-bottom: 0.25rem;
|
|
7173
|
+
}
|
|
7174
|
+
|
|
7175
|
+
.navigation-tray__content {
|
|
7176
|
+
display: flex;
|
|
7177
|
+
gap: 5rem;
|
|
7178
|
+
}
|
|
7179
|
+
|
|
7180
|
+
.navigation-column {
|
|
7181
|
+
display: flex;
|
|
7182
|
+
flex-direction: column;
|
|
7183
|
+
gap: 1.25rem;
|
|
7184
|
+
}
|
|
7185
|
+
|
|
7186
|
+
.navigation-column__title {
|
|
7187
|
+
font-weight: 600;
|
|
7188
|
+
}
|
|
7189
|
+
|
|
7190
|
+
.navigation-column__title--light {
|
|
7191
|
+
color: var(--color-gray-500, #71747d);
|
|
7192
|
+
}
|
|
7193
|
+
|
|
7194
|
+
.navigation-column__title--dark {
|
|
7195
|
+
color: var(--color-plum-400, #dcadd2);
|
|
7196
|
+
}
|
|
7197
|
+
|
|
7198
|
+
.navigation-column__list {
|
|
7199
|
+
display: flex;
|
|
7200
|
+
flex-direction: column;
|
|
7201
|
+
gap: 1rem;
|
|
7202
|
+
}
|
|
7203
|
+
|
|
7204
|
+
.navigation-link {
|
|
7205
|
+
display: block;
|
|
7206
|
+
font-weight: 500;
|
|
7207
|
+
}
|
|
7208
|
+
|
|
7209
|
+
.navigation-link--light {
|
|
7210
|
+
color: var(--color-gray-800, #282a31);
|
|
7211
|
+
}
|
|
7212
|
+
|
|
7213
|
+
.navigation-link--light:hover {
|
|
7214
|
+
color: var(--color-gray-900, #171820);
|
|
7215
|
+
}
|
|
7216
|
+
|
|
7217
|
+
.navigation-link--dark {
|
|
7218
|
+
color: var(--color-gray-100, #eff1f2);
|
|
7219
|
+
}
|
|
7220
|
+
|
|
7221
|
+
.navigation-link--dark:hover {
|
|
7222
|
+
color: var(--color-white, #fff);
|
|
7223
|
+
}
|
|
7224
|
+
|
|
7225
|
+
.navigation-link--sub {
|
|
7226
|
+
font-weight: 500;
|
|
7227
|
+
}
|
|
7228
|
+
|
|
7229
|
+
.navigation-link--sub-light {
|
|
7230
|
+
color: var(--color-gray-600, #52545d);
|
|
7231
|
+
}
|
|
7232
|
+
|
|
7233
|
+
.navigation-link--sub-dark {
|
|
7234
|
+
color: var(--color-gray-100, #eff1f2);
|
|
7235
|
+
}
|
|
7236
|
+
|
|
7237
|
+
.navigation-link__container {
|
|
7238
|
+
display: flex;
|
|
7239
|
+
align-items: center;
|
|
7240
|
+
gap: 0.75rem;
|
|
7241
|
+
padding-left: 6px;
|
|
7242
|
+
}
|
|
7243
|
+
|
|
7244
|
+
.navigation-link__bullet {
|
|
7245
|
+
height: 0.25rem;
|
|
7246
|
+
width: 0.25rem;
|
|
7247
|
+
border-radius: 9999px;
|
|
7248
|
+
background-color: var(--color-gray-500, #71747d);
|
|
7249
|
+
}
|
|
7250
|
+
|
|
7251
|
+
.navigation-link__badge-wrapper {
|
|
7252
|
+
display: flex;
|
|
7253
|
+
align-items: center;
|
|
7254
|
+
justify-content: flex-start;
|
|
7255
|
+
}
|
|
7256
|
+
|
|
7257
|
+
.navigation-link__badge {
|
|
7258
|
+
color: #f0aa99;
|
|
7259
|
+
margin-left: 0.25rem;
|
|
7260
|
+
}
|
|
7261
|
+
|
|
7262
|
+
.navigation-actions {
|
|
7263
|
+
display: flex;
|
|
7264
|
+
height: 100%;
|
|
7265
|
+
min-width: 200px;
|
|
7266
|
+
align-items: center;
|
|
7267
|
+
justify-content: flex-end;
|
|
7268
|
+
gap: 1rem;
|
|
7269
|
+
}
|
|
7270
|
+
|
|
7271
|
+
@media (max-width: 640px) {
|
|
7272
|
+
.navigation-actions {
|
|
7273
|
+
min-width: auto;
|
|
7274
|
+
}
|
|
7275
|
+
}
|
|
7276
|
+
|
|
7277
|
+
.navigation-account {
|
|
7278
|
+
display: flex;
|
|
7279
|
+
height: 2rem;
|
|
7280
|
+
width: 2rem;
|
|
7281
|
+
align-items: center;
|
|
7282
|
+
justify-content: center;
|
|
7283
|
+
border-radius: 9999px;
|
|
7284
|
+
transition: colors 0.15s ease-in-out;
|
|
7285
|
+
background-color: rgba(255, 255, 255, 0.12);
|
|
7286
|
+
border-color: transparent;
|
|
7287
|
+
}
|
|
7288
|
+
|
|
7289
|
+
.navigation-account--light {
|
|
7290
|
+
background-color: var(--color-white, #fff);
|
|
7291
|
+
border: 1px solid var(--color-gray-100, #eff1f2);
|
|
7292
|
+
}
|
|
7293
|
+
|
|
7294
|
+
.navigation-account__icon--light {
|
|
7295
|
+
color: var(--color-bronze-500, #e8d2b5);
|
|
7296
|
+
}
|
|
7297
|
+
|
|
7298
|
+
.navigation-account__icon--dark {
|
|
7299
|
+
color: var(--color-bronze-100, #fbf8f3);
|
|
7300
|
+
}
|