@vsn-ux/gaia-styles 0.4.7 → 0.4.8
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/all-no-reset-10pt.css +142 -16
- package/dist/all-no-reset.css +142 -16
- package/dist/all.css +139 -17
- package/dist/base.css +1 -1
- package/dist/components/avatar.css +1 -1
- package/dist/components/badge.css +1 -1
- package/dist/components/button.css +3 -3
- package/dist/components/card.css +1 -1
- package/dist/components/checkbox.css +1 -1
- package/dist/components/dropdown.css +1 -8
- package/dist/components/form-field.css +1 -1
- package/dist/components/input.css +1 -1
- package/dist/components/link.css +1 -1
- package/dist/components/menu.css +1 -1
- package/dist/components/modal.css +152 -0
- package/dist/components/notification.css +1 -1
- package/dist/components/radio.css +1 -1
- package/dist/components/segmented-control.css +1 -1
- package/dist/components/select.css +1 -1
- package/dist/components/switch.css +1 -1
- package/dist/components/tag.css +2 -2
- package/dist/components/text-area.css +1 -1
- package/dist/components/tooltip.css +1 -1
- package/dist/components.css +137 -6
- package/dist/design-tokens.css +1 -13
- package/dist/design-tokens.js +3 -3
- package/package.json +1 -1
- package/src/design-tokens/dtcg-tokens.json +5 -5
- package/src/styles/components/button.css +1 -1
- package/src/styles/components/dropdown.css +1 -1
- package/src/styles/components/modal.css +89 -0
- package/src/styles/components/tag.css +1 -1
- package/src/styles/components.css +1 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.
|
|
1
|
+
/*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@layer properties;
|
|
3
3
|
:root {
|
|
4
4
|
--ga-color-black: #000000;
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
--ga-color-information-light: var(--ga-color-utility-blue-light);
|
|
49
49
|
--ga-color-lime-10: #edf6dd;
|
|
50
50
|
--ga-color-lime-40: #a5c656;
|
|
51
|
-
--ga-color-miscellaneous-overlay: #
|
|
51
|
+
--ga-color-miscellaneous-overlay: #70778891;
|
|
52
52
|
--ga-color-miscellaneous-skeleton-element: var(--ga-color-neutral-10);
|
|
53
53
|
--ga-color-miscellaneous-skeleton-highlight: var(--ga-color-neutral-20);
|
|
54
54
|
--ga-color-neutral: var(--ga-color-neutral-30);
|
|
@@ -210,17 +210,12 @@
|
|
|
210
210
|
--ga-text-xs-line-height: 1rem;
|
|
211
211
|
--ga-text-xs-tracking: 0.005rem;
|
|
212
212
|
}
|
|
213
|
-
@
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
}
|
|
218
|
-
@media (color-gamut: rec2020) {
|
|
219
|
-
:root {
|
|
220
|
-
--ga-color-miscellaneous-overlay: #3e00ff91;
|
|
213
|
+
@layer theme, base, components, utilities;
|
|
214
|
+
@layer theme {
|
|
215
|
+
:root, :host {
|
|
216
|
+
--spacing: 0.4rem;
|
|
221
217
|
}
|
|
222
218
|
}
|
|
223
|
-
@layer theme, base, components, utilities;
|
|
224
219
|
@layer base {
|
|
225
220
|
body {
|
|
226
221
|
font-family: Inter, ui-sans-serif, system-ui, sans-serif;
|
|
@@ -350,8 +345,8 @@
|
|
|
350
345
|
));
|
|
351
346
|
--tw-leading: calc(0.4rem * 1);
|
|
352
347
|
line-height: calc(0.4rem * 1);
|
|
353
|
-
--tw-font-weight:
|
|
354
|
-
font-weight:
|
|
348
|
+
--tw-font-weight: 500;
|
|
349
|
+
font-weight: 500;
|
|
355
350
|
white-space: nowrap;
|
|
356
351
|
&:focus-visible {
|
|
357
352
|
outline-style: var(--tw-outline-style);
|
|
@@ -606,8 +601,6 @@
|
|
|
606
601
|
letter-spacing: var(--tw-tracking, calc(
|
|
607
602
|
var(--ga-text-md-tracking) * var(--ga-base-scaling-factor, 1)
|
|
608
603
|
));
|
|
609
|
-
--tw-leading: 1;
|
|
610
|
-
line-height: 1;
|
|
611
604
|
color: var(--ga-color-text-action);
|
|
612
605
|
&:first-child {
|
|
613
606
|
border-top-left-radius: var(--ga-radius);
|
|
@@ -1121,6 +1114,139 @@
|
|
|
1121
1114
|
font-weight: 600;
|
|
1122
1115
|
}
|
|
1123
1116
|
}
|
|
1117
|
+
.ga-modal__backdrop {
|
|
1118
|
+
position: fixed;
|
|
1119
|
+
inset: calc(0.4rem * 0);
|
|
1120
|
+
z-index: 50;
|
|
1121
|
+
background-color: var(--ga-color-miscellaneous-overlay);
|
|
1122
|
+
}
|
|
1123
|
+
.ga-modal__container {
|
|
1124
|
+
position: fixed;
|
|
1125
|
+
inset: calc(0.4rem * 0);
|
|
1126
|
+
z-index: 50;
|
|
1127
|
+
display: flex;
|
|
1128
|
+
align-items: flex-start;
|
|
1129
|
+
justify-content: center;
|
|
1130
|
+
.ga-modal {
|
|
1131
|
+
margin-top: calc(0.4rem * 16);
|
|
1132
|
+
}
|
|
1133
|
+
}
|
|
1134
|
+
.ga-modal {
|
|
1135
|
+
display: inline-flex;
|
|
1136
|
+
max-height: calc(100vh - var(--spacing) * 16 * 2);
|
|
1137
|
+
width: 100%;
|
|
1138
|
+
max-width: calc(100vw - var(--spacing) * 8 * 2);
|
|
1139
|
+
flex-direction: column;
|
|
1140
|
+
overflow-y: auto;
|
|
1141
|
+
border-radius: var(--ga-radius);
|
|
1142
|
+
border-style: var(--tw-border-style);
|
|
1143
|
+
border-width: 1px;
|
|
1144
|
+
border-color: var(--ga-color-border-focus);
|
|
1145
|
+
background-color: #fff;
|
|
1146
|
+
padding-inline: calc(0.4rem * 2);
|
|
1147
|
+
padding-block: calc(0.4rem * 4);
|
|
1148
|
+
font-size: calc(
|
|
1149
|
+
var(--ga-text-md-font-size) * var(--ga-base-scaling-factor, 1)
|
|
1150
|
+
);
|
|
1151
|
+
line-height: var(--tw-leading, calc(
|
|
1152
|
+
var(--ga-text-md-line-height) * var(--ga-base-scaling-factor, 1)
|
|
1153
|
+
));
|
|
1154
|
+
letter-spacing: var(--tw-tracking, calc(
|
|
1155
|
+
var(--ga-text-md-tracking) * var(--ga-base-scaling-factor, 1)
|
|
1156
|
+
));
|
|
1157
|
+
scrollbar-width: thin;
|
|
1158
|
+
&.ga-modal--small {
|
|
1159
|
+
width: calc(0.4rem * 85);
|
|
1160
|
+
}
|
|
1161
|
+
&.ga-modal--medium {
|
|
1162
|
+
width: calc(0.4rem * 174);
|
|
1163
|
+
}
|
|
1164
|
+
&.ga-modal--large {
|
|
1165
|
+
width: calc(0.4rem * 307.5);
|
|
1166
|
+
}
|
|
1167
|
+
&.ga-modal--danger .ga-modal__icon {
|
|
1168
|
+
color: var(--ga-color-icon-error);
|
|
1169
|
+
}
|
|
1170
|
+
&.ga-modal--warning .ga-modal__icon {
|
|
1171
|
+
color: var(--ga-color-icon-warning);
|
|
1172
|
+
}
|
|
1173
|
+
&.ga-modal--success .ga-modal__icon {
|
|
1174
|
+
color: var(--ga-color-icon-success);
|
|
1175
|
+
}
|
|
1176
|
+
&.ga-modal--information .ga-modal__icon {
|
|
1177
|
+
color: var(--ga-color-icon-information);
|
|
1178
|
+
}
|
|
1179
|
+
.ga-modal__top-section {
|
|
1180
|
+
display: flex;
|
|
1181
|
+
min-height: calc(0.4rem * 16);
|
|
1182
|
+
flex-shrink: 0;
|
|
1183
|
+
align-items: flex-start;
|
|
1184
|
+
gap: calc(0.4rem * 4);
|
|
1185
|
+
padding-inline: calc(0.4rem * 2);
|
|
1186
|
+
padding-bottom: calc(0.4rem * 2);
|
|
1187
|
+
&.ga-modal__top-section--scrollable {
|
|
1188
|
+
flex-shrink: 1;
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1191
|
+
.ga-modal__heading {
|
|
1192
|
+
display: flex;
|
|
1193
|
+
min-height: calc(0.4rem * 0);
|
|
1194
|
+
flex: 1;
|
|
1195
|
+
flex-direction: column;
|
|
1196
|
+
align-self: stretch;
|
|
1197
|
+
}
|
|
1198
|
+
.ga-modal__icon {
|
|
1199
|
+
padding: calc(0.4rem * 2);
|
|
1200
|
+
}
|
|
1201
|
+
.ga-modal__label {
|
|
1202
|
+
margin-bottom: calc(0.4rem * 1);
|
|
1203
|
+
display: flex;
|
|
1204
|
+
min-height: calc(0.4rem * 6);
|
|
1205
|
+
align-items: center;
|
|
1206
|
+
}
|
|
1207
|
+
.ga-modal__title {
|
|
1208
|
+
font-size: calc(
|
|
1209
|
+
var(--ga-text-xl-font-size) * var(--ga-base-scaling-factor, 1)
|
|
1210
|
+
);
|
|
1211
|
+
line-height: var(--tw-leading, calc(
|
|
1212
|
+
var(--ga-text-xl-line-height) * var(--ga-base-scaling-factor, 1)
|
|
1213
|
+
));
|
|
1214
|
+
letter-spacing: var(--tw-tracking, calc(
|
|
1215
|
+
var(--ga-text-xl-tracking) * var(--ga-base-scaling-factor, 1)
|
|
1216
|
+
));
|
|
1217
|
+
--tw-font-weight: 600;
|
|
1218
|
+
font-weight: 600;
|
|
1219
|
+
}
|
|
1220
|
+
.ga-modal__content {
|
|
1221
|
+
margin-top: calc(0.4rem * 4);
|
|
1222
|
+
min-height: calc(0.4rem * 0);
|
|
1223
|
+
overflow-y: auto;
|
|
1224
|
+
padding: calc(0.4rem * 2);
|
|
1225
|
+
&:empty {
|
|
1226
|
+
margin-top: calc(0.4rem * 0);
|
|
1227
|
+
}
|
|
1228
|
+
scrollbar-width: thin;
|
|
1229
|
+
}
|
|
1230
|
+
.ga-modal__description {
|
|
1231
|
+
margin-top: calc(0.4rem * 4);
|
|
1232
|
+
min-height: calc(0.4rem * 0);
|
|
1233
|
+
overflow-y: auto;
|
|
1234
|
+
scrollbar-width: thin;
|
|
1235
|
+
}
|
|
1236
|
+
.ga-modal__actions {
|
|
1237
|
+
margin-top: calc(0.4rem * 6);
|
|
1238
|
+
display: flex;
|
|
1239
|
+
flex-wrap: wrap;
|
|
1240
|
+
align-items: center;
|
|
1241
|
+
justify-content: flex-end;
|
|
1242
|
+
gap: calc(0.4rem * 2);
|
|
1243
|
+
padding-right: calc(0.4rem * 2);
|
|
1244
|
+
}
|
|
1245
|
+
.ga-modal__close-icon {
|
|
1246
|
+
margin-top: calc(0.4rem * -2);
|
|
1247
|
+
margin-right: calc(0.4rem * -2);
|
|
1248
|
+
}
|
|
1249
|
+
}
|
|
1124
1250
|
.ga-radio-group {
|
|
1125
1251
|
display: inline-flex;
|
|
1126
1252
|
flex-direction: column;
|
|
@@ -1706,7 +1832,7 @@
|
|
|
1706
1832
|
.ga-tag__separator {
|
|
1707
1833
|
height: calc(0.4rem * 5);
|
|
1708
1834
|
width: 1px;
|
|
1709
|
-
background-color: var(--ga-color-border-
|
|
1835
|
+
background-color: var(--ga-color-border-disabled);
|
|
1710
1836
|
}
|
|
1711
1837
|
}
|
|
1712
1838
|
.ga-text-area {
|
package/dist/all-no-reset.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.
|
|
1
|
+
/*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@layer properties;
|
|
3
3
|
:root {
|
|
4
4
|
--ga-color-black: #000000;
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
--ga-color-information-light: var(--ga-color-utility-blue-light);
|
|
49
49
|
--ga-color-lime-10: #edf6dd;
|
|
50
50
|
--ga-color-lime-40: #a5c656;
|
|
51
|
-
--ga-color-miscellaneous-overlay: #
|
|
51
|
+
--ga-color-miscellaneous-overlay: #70778891;
|
|
52
52
|
--ga-color-miscellaneous-skeleton-element: var(--ga-color-neutral-10);
|
|
53
53
|
--ga-color-miscellaneous-skeleton-highlight: var(--ga-color-neutral-20);
|
|
54
54
|
--ga-color-neutral: var(--ga-color-neutral-30);
|
|
@@ -210,17 +210,12 @@
|
|
|
210
210
|
--ga-text-xs-line-height: 1rem;
|
|
211
211
|
--ga-text-xs-tracking: 0.005rem;
|
|
212
212
|
}
|
|
213
|
-
@
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
}
|
|
218
|
-
@media (color-gamut: rec2020) {
|
|
219
|
-
:root {
|
|
220
|
-
--ga-color-miscellaneous-overlay: #3e00ff91;
|
|
213
|
+
@layer theme, base, components, utilities;
|
|
214
|
+
@layer theme {
|
|
215
|
+
:root, :host {
|
|
216
|
+
--spacing: 0.25rem;
|
|
221
217
|
}
|
|
222
218
|
}
|
|
223
|
-
@layer theme, base, components, utilities;
|
|
224
219
|
@layer base {
|
|
225
220
|
body {
|
|
226
221
|
font-family: Inter, ui-sans-serif, system-ui, sans-serif;
|
|
@@ -350,8 +345,8 @@
|
|
|
350
345
|
));
|
|
351
346
|
--tw-leading: calc(0.25rem * 1);
|
|
352
347
|
line-height: calc(0.25rem * 1);
|
|
353
|
-
--tw-font-weight:
|
|
354
|
-
font-weight:
|
|
348
|
+
--tw-font-weight: 500;
|
|
349
|
+
font-weight: 500;
|
|
355
350
|
white-space: nowrap;
|
|
356
351
|
&:focus-visible {
|
|
357
352
|
outline-style: var(--tw-outline-style);
|
|
@@ -606,8 +601,6 @@
|
|
|
606
601
|
letter-spacing: var(--tw-tracking, calc(
|
|
607
602
|
var(--ga-text-md-tracking) * var(--ga-base-scaling-factor, 1)
|
|
608
603
|
));
|
|
609
|
-
--tw-leading: 1;
|
|
610
|
-
line-height: 1;
|
|
611
604
|
color: var(--ga-color-text-action);
|
|
612
605
|
&:first-child {
|
|
613
606
|
border-top-left-radius: var(--ga-radius);
|
|
@@ -1121,6 +1114,139 @@
|
|
|
1121
1114
|
font-weight: 600;
|
|
1122
1115
|
}
|
|
1123
1116
|
}
|
|
1117
|
+
.ga-modal__backdrop {
|
|
1118
|
+
position: fixed;
|
|
1119
|
+
inset: calc(0.25rem * 0);
|
|
1120
|
+
z-index: 50;
|
|
1121
|
+
background-color: var(--ga-color-miscellaneous-overlay);
|
|
1122
|
+
}
|
|
1123
|
+
.ga-modal__container {
|
|
1124
|
+
position: fixed;
|
|
1125
|
+
inset: calc(0.25rem * 0);
|
|
1126
|
+
z-index: 50;
|
|
1127
|
+
display: flex;
|
|
1128
|
+
align-items: flex-start;
|
|
1129
|
+
justify-content: center;
|
|
1130
|
+
.ga-modal {
|
|
1131
|
+
margin-top: calc(0.25rem * 16);
|
|
1132
|
+
}
|
|
1133
|
+
}
|
|
1134
|
+
.ga-modal {
|
|
1135
|
+
display: inline-flex;
|
|
1136
|
+
max-height: calc(100vh - var(--spacing) * 16 * 2);
|
|
1137
|
+
width: 100%;
|
|
1138
|
+
max-width: calc(100vw - var(--spacing) * 8 * 2);
|
|
1139
|
+
flex-direction: column;
|
|
1140
|
+
overflow-y: auto;
|
|
1141
|
+
border-radius: var(--ga-radius);
|
|
1142
|
+
border-style: var(--tw-border-style);
|
|
1143
|
+
border-width: 1px;
|
|
1144
|
+
border-color: var(--ga-color-border-focus);
|
|
1145
|
+
background-color: #fff;
|
|
1146
|
+
padding-inline: calc(0.25rem * 2);
|
|
1147
|
+
padding-block: calc(0.25rem * 4);
|
|
1148
|
+
font-size: calc(
|
|
1149
|
+
var(--ga-text-md-font-size) * var(--ga-base-scaling-factor, 1)
|
|
1150
|
+
);
|
|
1151
|
+
line-height: var(--tw-leading, calc(
|
|
1152
|
+
var(--ga-text-md-line-height) * var(--ga-base-scaling-factor, 1)
|
|
1153
|
+
));
|
|
1154
|
+
letter-spacing: var(--tw-tracking, calc(
|
|
1155
|
+
var(--ga-text-md-tracking) * var(--ga-base-scaling-factor, 1)
|
|
1156
|
+
));
|
|
1157
|
+
scrollbar-width: thin;
|
|
1158
|
+
&.ga-modal--small {
|
|
1159
|
+
width: calc(0.25rem * 85);
|
|
1160
|
+
}
|
|
1161
|
+
&.ga-modal--medium {
|
|
1162
|
+
width: calc(0.25rem * 174);
|
|
1163
|
+
}
|
|
1164
|
+
&.ga-modal--large {
|
|
1165
|
+
width: calc(0.25rem * 307.5);
|
|
1166
|
+
}
|
|
1167
|
+
&.ga-modal--danger .ga-modal__icon {
|
|
1168
|
+
color: var(--ga-color-icon-error);
|
|
1169
|
+
}
|
|
1170
|
+
&.ga-modal--warning .ga-modal__icon {
|
|
1171
|
+
color: var(--ga-color-icon-warning);
|
|
1172
|
+
}
|
|
1173
|
+
&.ga-modal--success .ga-modal__icon {
|
|
1174
|
+
color: var(--ga-color-icon-success);
|
|
1175
|
+
}
|
|
1176
|
+
&.ga-modal--information .ga-modal__icon {
|
|
1177
|
+
color: var(--ga-color-icon-information);
|
|
1178
|
+
}
|
|
1179
|
+
.ga-modal__top-section {
|
|
1180
|
+
display: flex;
|
|
1181
|
+
min-height: calc(0.25rem * 16);
|
|
1182
|
+
flex-shrink: 0;
|
|
1183
|
+
align-items: flex-start;
|
|
1184
|
+
gap: calc(0.25rem * 4);
|
|
1185
|
+
padding-inline: calc(0.25rem * 2);
|
|
1186
|
+
padding-bottom: calc(0.25rem * 2);
|
|
1187
|
+
&.ga-modal__top-section--scrollable {
|
|
1188
|
+
flex-shrink: 1;
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1191
|
+
.ga-modal__heading {
|
|
1192
|
+
display: flex;
|
|
1193
|
+
min-height: calc(0.25rem * 0);
|
|
1194
|
+
flex: 1;
|
|
1195
|
+
flex-direction: column;
|
|
1196
|
+
align-self: stretch;
|
|
1197
|
+
}
|
|
1198
|
+
.ga-modal__icon {
|
|
1199
|
+
padding: calc(0.25rem * 2);
|
|
1200
|
+
}
|
|
1201
|
+
.ga-modal__label {
|
|
1202
|
+
margin-bottom: calc(0.25rem * 1);
|
|
1203
|
+
display: flex;
|
|
1204
|
+
min-height: calc(0.25rem * 6);
|
|
1205
|
+
align-items: center;
|
|
1206
|
+
}
|
|
1207
|
+
.ga-modal__title {
|
|
1208
|
+
font-size: calc(
|
|
1209
|
+
var(--ga-text-xl-font-size) * var(--ga-base-scaling-factor, 1)
|
|
1210
|
+
);
|
|
1211
|
+
line-height: var(--tw-leading, calc(
|
|
1212
|
+
var(--ga-text-xl-line-height) * var(--ga-base-scaling-factor, 1)
|
|
1213
|
+
));
|
|
1214
|
+
letter-spacing: var(--tw-tracking, calc(
|
|
1215
|
+
var(--ga-text-xl-tracking) * var(--ga-base-scaling-factor, 1)
|
|
1216
|
+
));
|
|
1217
|
+
--tw-font-weight: 600;
|
|
1218
|
+
font-weight: 600;
|
|
1219
|
+
}
|
|
1220
|
+
.ga-modal__content {
|
|
1221
|
+
margin-top: calc(0.25rem * 4);
|
|
1222
|
+
min-height: calc(0.25rem * 0);
|
|
1223
|
+
overflow-y: auto;
|
|
1224
|
+
padding: calc(0.25rem * 2);
|
|
1225
|
+
&:empty {
|
|
1226
|
+
margin-top: calc(0.25rem * 0);
|
|
1227
|
+
}
|
|
1228
|
+
scrollbar-width: thin;
|
|
1229
|
+
}
|
|
1230
|
+
.ga-modal__description {
|
|
1231
|
+
margin-top: calc(0.25rem * 4);
|
|
1232
|
+
min-height: calc(0.25rem * 0);
|
|
1233
|
+
overflow-y: auto;
|
|
1234
|
+
scrollbar-width: thin;
|
|
1235
|
+
}
|
|
1236
|
+
.ga-modal__actions {
|
|
1237
|
+
margin-top: calc(0.25rem * 6);
|
|
1238
|
+
display: flex;
|
|
1239
|
+
flex-wrap: wrap;
|
|
1240
|
+
align-items: center;
|
|
1241
|
+
justify-content: flex-end;
|
|
1242
|
+
gap: calc(0.25rem * 2);
|
|
1243
|
+
padding-right: calc(0.25rem * 2);
|
|
1244
|
+
}
|
|
1245
|
+
.ga-modal__close-icon {
|
|
1246
|
+
margin-top: calc(0.25rem * -2);
|
|
1247
|
+
margin-right: calc(0.25rem * -2);
|
|
1248
|
+
}
|
|
1249
|
+
}
|
|
1124
1250
|
.ga-radio-group {
|
|
1125
1251
|
display: inline-flex;
|
|
1126
1252
|
flex-direction: column;
|
|
@@ -1706,7 +1832,7 @@
|
|
|
1706
1832
|
.ga-tag__separator {
|
|
1707
1833
|
height: calc(0.25rem * 5);
|
|
1708
1834
|
width: 1px;
|
|
1709
|
-
background-color: var(--ga-color-border-
|
|
1835
|
+
background-color: var(--ga-color-border-disabled);
|
|
1710
1836
|
}
|
|
1711
1837
|
}
|
|
1712
1838
|
.ga-text-area {
|
package/dist/all.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.
|
|
1
|
+
/*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@layer properties;
|
|
3
3
|
:root {
|
|
4
4
|
--ga-color-black: #000000;
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
--ga-color-information-light: var(--ga-color-utility-blue-light);
|
|
49
49
|
--ga-color-lime-10: #edf6dd;
|
|
50
50
|
--ga-color-lime-40: #a5c656;
|
|
51
|
-
--ga-color-miscellaneous-overlay: #
|
|
51
|
+
--ga-color-miscellaneous-overlay: #70778891;
|
|
52
52
|
--ga-color-miscellaneous-skeleton-element: var(--ga-color-neutral-10);
|
|
53
53
|
--ga-color-miscellaneous-skeleton-highlight: var(--ga-color-neutral-20);
|
|
54
54
|
--ga-color-neutral: var(--ga-color-neutral-30);
|
|
@@ -210,20 +210,11 @@
|
|
|
210
210
|
--ga-text-xs-line-height: 1rem;
|
|
211
211
|
--ga-text-xs-tracking: 0.005rem;
|
|
212
212
|
}
|
|
213
|
-
@media (color-gamut: p3) {
|
|
214
|
-
:root {
|
|
215
|
-
--ga-color-miscellaneous-overlay: #3800ff91;
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
@media (color-gamut: rec2020) {
|
|
219
|
-
:root {
|
|
220
|
-
--ga-color-miscellaneous-overlay: #3e00ff91;
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
213
|
@layer theme, base, components, utilities;
|
|
224
214
|
@layer theme {
|
|
225
215
|
:root, :host {
|
|
226
216
|
--font-inter: Inter, ui-sans-serif, system-ui, sans-serif;
|
|
217
|
+
--spacing: 0.25rem;
|
|
227
218
|
}
|
|
228
219
|
}
|
|
229
220
|
@layer base {
|
|
@@ -500,8 +491,8 @@
|
|
|
500
491
|
));
|
|
501
492
|
--tw-leading: calc(0.25rem * 1);
|
|
502
493
|
line-height: calc(0.25rem * 1);
|
|
503
|
-
--tw-font-weight:
|
|
504
|
-
font-weight:
|
|
494
|
+
--tw-font-weight: 500;
|
|
495
|
+
font-weight: 500;
|
|
505
496
|
white-space: nowrap;
|
|
506
497
|
&:focus-visible {
|
|
507
498
|
outline-style: var(--tw-outline-style);
|
|
@@ -756,8 +747,6 @@
|
|
|
756
747
|
letter-spacing: var(--tw-tracking, calc(
|
|
757
748
|
var(--ga-text-md-tracking) * var(--ga-base-scaling-factor, 1)
|
|
758
749
|
));
|
|
759
|
-
--tw-leading: 1;
|
|
760
|
-
line-height: 1;
|
|
761
750
|
color: var(--ga-color-text-action);
|
|
762
751
|
&:first-child {
|
|
763
752
|
border-top-left-radius: var(--ga-radius);
|
|
@@ -1271,6 +1260,139 @@
|
|
|
1271
1260
|
font-weight: 600;
|
|
1272
1261
|
}
|
|
1273
1262
|
}
|
|
1263
|
+
.ga-modal__backdrop {
|
|
1264
|
+
position: fixed;
|
|
1265
|
+
inset: calc(0.25rem * 0);
|
|
1266
|
+
z-index: 50;
|
|
1267
|
+
background-color: var(--ga-color-miscellaneous-overlay);
|
|
1268
|
+
}
|
|
1269
|
+
.ga-modal__container {
|
|
1270
|
+
position: fixed;
|
|
1271
|
+
inset: calc(0.25rem * 0);
|
|
1272
|
+
z-index: 50;
|
|
1273
|
+
display: flex;
|
|
1274
|
+
align-items: flex-start;
|
|
1275
|
+
justify-content: center;
|
|
1276
|
+
.ga-modal {
|
|
1277
|
+
margin-top: calc(0.25rem * 16);
|
|
1278
|
+
}
|
|
1279
|
+
}
|
|
1280
|
+
.ga-modal {
|
|
1281
|
+
display: inline-flex;
|
|
1282
|
+
max-height: calc(100vh - var(--spacing) * 16 * 2);
|
|
1283
|
+
width: 100%;
|
|
1284
|
+
max-width: calc(100vw - var(--spacing) * 8 * 2);
|
|
1285
|
+
flex-direction: column;
|
|
1286
|
+
overflow-y: auto;
|
|
1287
|
+
border-radius: var(--ga-radius);
|
|
1288
|
+
border-style: var(--tw-border-style);
|
|
1289
|
+
border-width: 1px;
|
|
1290
|
+
border-color: var(--ga-color-border-focus);
|
|
1291
|
+
background-color: #fff;
|
|
1292
|
+
padding-inline: calc(0.25rem * 2);
|
|
1293
|
+
padding-block: calc(0.25rem * 4);
|
|
1294
|
+
font-size: calc(
|
|
1295
|
+
var(--ga-text-md-font-size) * var(--ga-base-scaling-factor, 1)
|
|
1296
|
+
);
|
|
1297
|
+
line-height: var(--tw-leading, calc(
|
|
1298
|
+
var(--ga-text-md-line-height) * var(--ga-base-scaling-factor, 1)
|
|
1299
|
+
));
|
|
1300
|
+
letter-spacing: var(--tw-tracking, calc(
|
|
1301
|
+
var(--ga-text-md-tracking) * var(--ga-base-scaling-factor, 1)
|
|
1302
|
+
));
|
|
1303
|
+
scrollbar-width: thin;
|
|
1304
|
+
&.ga-modal--small {
|
|
1305
|
+
width: calc(0.25rem * 85);
|
|
1306
|
+
}
|
|
1307
|
+
&.ga-modal--medium {
|
|
1308
|
+
width: calc(0.25rem * 174);
|
|
1309
|
+
}
|
|
1310
|
+
&.ga-modal--large {
|
|
1311
|
+
width: calc(0.25rem * 307.5);
|
|
1312
|
+
}
|
|
1313
|
+
&.ga-modal--danger .ga-modal__icon {
|
|
1314
|
+
color: var(--ga-color-icon-error);
|
|
1315
|
+
}
|
|
1316
|
+
&.ga-modal--warning .ga-modal__icon {
|
|
1317
|
+
color: var(--ga-color-icon-warning);
|
|
1318
|
+
}
|
|
1319
|
+
&.ga-modal--success .ga-modal__icon {
|
|
1320
|
+
color: var(--ga-color-icon-success);
|
|
1321
|
+
}
|
|
1322
|
+
&.ga-modal--information .ga-modal__icon {
|
|
1323
|
+
color: var(--ga-color-icon-information);
|
|
1324
|
+
}
|
|
1325
|
+
.ga-modal__top-section {
|
|
1326
|
+
display: flex;
|
|
1327
|
+
min-height: calc(0.25rem * 16);
|
|
1328
|
+
flex-shrink: 0;
|
|
1329
|
+
align-items: flex-start;
|
|
1330
|
+
gap: calc(0.25rem * 4);
|
|
1331
|
+
padding-inline: calc(0.25rem * 2);
|
|
1332
|
+
padding-bottom: calc(0.25rem * 2);
|
|
1333
|
+
&.ga-modal__top-section--scrollable {
|
|
1334
|
+
flex-shrink: 1;
|
|
1335
|
+
}
|
|
1336
|
+
}
|
|
1337
|
+
.ga-modal__heading {
|
|
1338
|
+
display: flex;
|
|
1339
|
+
min-height: calc(0.25rem * 0);
|
|
1340
|
+
flex: 1;
|
|
1341
|
+
flex-direction: column;
|
|
1342
|
+
align-self: stretch;
|
|
1343
|
+
}
|
|
1344
|
+
.ga-modal__icon {
|
|
1345
|
+
padding: calc(0.25rem * 2);
|
|
1346
|
+
}
|
|
1347
|
+
.ga-modal__label {
|
|
1348
|
+
margin-bottom: calc(0.25rem * 1);
|
|
1349
|
+
display: flex;
|
|
1350
|
+
min-height: calc(0.25rem * 6);
|
|
1351
|
+
align-items: center;
|
|
1352
|
+
}
|
|
1353
|
+
.ga-modal__title {
|
|
1354
|
+
font-size: calc(
|
|
1355
|
+
var(--ga-text-xl-font-size) * var(--ga-base-scaling-factor, 1)
|
|
1356
|
+
);
|
|
1357
|
+
line-height: var(--tw-leading, calc(
|
|
1358
|
+
var(--ga-text-xl-line-height) * var(--ga-base-scaling-factor, 1)
|
|
1359
|
+
));
|
|
1360
|
+
letter-spacing: var(--tw-tracking, calc(
|
|
1361
|
+
var(--ga-text-xl-tracking) * var(--ga-base-scaling-factor, 1)
|
|
1362
|
+
));
|
|
1363
|
+
--tw-font-weight: 600;
|
|
1364
|
+
font-weight: 600;
|
|
1365
|
+
}
|
|
1366
|
+
.ga-modal__content {
|
|
1367
|
+
margin-top: calc(0.25rem * 4);
|
|
1368
|
+
min-height: calc(0.25rem * 0);
|
|
1369
|
+
overflow-y: auto;
|
|
1370
|
+
padding: calc(0.25rem * 2);
|
|
1371
|
+
&:empty {
|
|
1372
|
+
margin-top: calc(0.25rem * 0);
|
|
1373
|
+
}
|
|
1374
|
+
scrollbar-width: thin;
|
|
1375
|
+
}
|
|
1376
|
+
.ga-modal__description {
|
|
1377
|
+
margin-top: calc(0.25rem * 4);
|
|
1378
|
+
min-height: calc(0.25rem * 0);
|
|
1379
|
+
overflow-y: auto;
|
|
1380
|
+
scrollbar-width: thin;
|
|
1381
|
+
}
|
|
1382
|
+
.ga-modal__actions {
|
|
1383
|
+
margin-top: calc(0.25rem * 6);
|
|
1384
|
+
display: flex;
|
|
1385
|
+
flex-wrap: wrap;
|
|
1386
|
+
align-items: center;
|
|
1387
|
+
justify-content: flex-end;
|
|
1388
|
+
gap: calc(0.25rem * 2);
|
|
1389
|
+
padding-right: calc(0.25rem * 2);
|
|
1390
|
+
}
|
|
1391
|
+
.ga-modal__close-icon {
|
|
1392
|
+
margin-top: calc(0.25rem * -2);
|
|
1393
|
+
margin-right: calc(0.25rem * -2);
|
|
1394
|
+
}
|
|
1395
|
+
}
|
|
1274
1396
|
.ga-radio-group {
|
|
1275
1397
|
display: inline-flex;
|
|
1276
1398
|
flex-direction: column;
|
|
@@ -1856,7 +1978,7 @@
|
|
|
1856
1978
|
.ga-tag__separator {
|
|
1857
1979
|
height: calc(0.25rem * 5);
|
|
1858
1980
|
width: 1px;
|
|
1859
|
-
background-color: var(--ga-color-border-
|
|
1981
|
+
background-color: var(--ga-color-border-disabled);
|
|
1860
1982
|
}
|
|
1861
1983
|
}
|
|
1862
1984
|
.ga-text-area {
|
package/dist/base.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.
|
|
1
|
+
/*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@layer properties;
|
|
3
3
|
.ga-button {
|
|
4
4
|
display: inline-flex;
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
));
|
|
22
22
|
--tw-leading: calc(0.25rem * 1);
|
|
23
23
|
line-height: calc(0.25rem * 1);
|
|
24
|
-
--tw-font-weight:
|
|
25
|
-
font-weight:
|
|
24
|
+
--tw-font-weight: 500;
|
|
25
|
+
font-weight: 500;
|
|
26
26
|
white-space: nowrap;
|
|
27
27
|
&:focus-visible {
|
|
28
28
|
outline-style: var(--tw-outline-style);
|
package/dist/components/card.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.
|
|
1
|
+
/*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@layer properties;
|
|
3
3
|
.ga-dropdown {
|
|
4
4
|
display: flex;
|
|
@@ -45,8 +45,6 @@
|
|
|
45
45
|
letter-spacing: var(--tw-tracking, calc(
|
|
46
46
|
var(--ga-text-md-tracking) * var(--ga-base-scaling-factor, 1)
|
|
47
47
|
));
|
|
48
|
-
--tw-leading: 1;
|
|
49
|
-
line-height: 1;
|
|
50
48
|
color: var(--ga-color-text-action);
|
|
51
49
|
&:first-child {
|
|
52
50
|
border-top-left-radius: var(--ga-radius);
|
|
@@ -129,10 +127,6 @@
|
|
|
129
127
|
inherits: false;
|
|
130
128
|
initial-value: solid;
|
|
131
129
|
}
|
|
132
|
-
@property --tw-leading {
|
|
133
|
-
syntax: "*";
|
|
134
|
-
inherits: false;
|
|
135
|
-
}
|
|
136
130
|
@property --tw-font-weight {
|
|
137
131
|
syntax: "*";
|
|
138
132
|
inherits: false;
|
|
@@ -146,7 +140,6 @@
|
|
|
146
140
|
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
147
141
|
*, ::before, ::after, ::backdrop {
|
|
148
142
|
--tw-border-style: solid;
|
|
149
|
-
--tw-leading: initial;
|
|
150
143
|
--tw-font-weight: initial;
|
|
151
144
|
--tw-content: "";
|
|
152
145
|
}
|
package/dist/components/link.css
CHANGED
package/dist/components/menu.css
CHANGED
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
/*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
|
|
2
|
+
@layer properties;
|
|
3
|
+
.ga-modal__backdrop {
|
|
4
|
+
position: fixed;
|
|
5
|
+
inset: calc(0.25rem * 0);
|
|
6
|
+
z-index: 50;
|
|
7
|
+
background-color: var(--ga-color-miscellaneous-overlay);
|
|
8
|
+
}
|
|
9
|
+
.ga-modal__container {
|
|
10
|
+
position: fixed;
|
|
11
|
+
inset: calc(0.25rem * 0);
|
|
12
|
+
z-index: 50;
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: flex-start;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
.ga-modal {
|
|
17
|
+
margin-top: calc(0.25rem * 16);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
.ga-modal {
|
|
21
|
+
display: inline-flex;
|
|
22
|
+
max-height: calc(100vh - var(--spacing) * 16 * 2);
|
|
23
|
+
width: 100%;
|
|
24
|
+
max-width: calc(100vw - var(--spacing) * 8 * 2);
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
overflow-y: auto;
|
|
27
|
+
border-radius: var(--ga-radius);
|
|
28
|
+
border-style: var(--tw-border-style);
|
|
29
|
+
border-width: 1px;
|
|
30
|
+
border-color: var(--ga-color-border-focus);
|
|
31
|
+
background-color: #fff;
|
|
32
|
+
padding-inline: calc(0.25rem * 2);
|
|
33
|
+
padding-block: calc(0.25rem * 4);
|
|
34
|
+
font-size: calc(
|
|
35
|
+
var(--ga-text-md-font-size) * var(--ga-base-scaling-factor, 1)
|
|
36
|
+
);
|
|
37
|
+
line-height: var(--tw-leading, calc(
|
|
38
|
+
var(--ga-text-md-line-height) * var(--ga-base-scaling-factor, 1)
|
|
39
|
+
));
|
|
40
|
+
letter-spacing: var(--tw-tracking, calc(
|
|
41
|
+
var(--ga-text-md-tracking) * var(--ga-base-scaling-factor, 1)
|
|
42
|
+
));
|
|
43
|
+
scrollbar-width: thin;
|
|
44
|
+
&.ga-modal--small {
|
|
45
|
+
width: calc(0.25rem * 85);
|
|
46
|
+
}
|
|
47
|
+
&.ga-modal--medium {
|
|
48
|
+
width: calc(0.25rem * 174);
|
|
49
|
+
}
|
|
50
|
+
&.ga-modal--large {
|
|
51
|
+
width: calc(0.25rem * 307.5);
|
|
52
|
+
}
|
|
53
|
+
&.ga-modal--danger .ga-modal__icon {
|
|
54
|
+
color: var(--ga-color-icon-error);
|
|
55
|
+
}
|
|
56
|
+
&.ga-modal--warning .ga-modal__icon {
|
|
57
|
+
color: var(--ga-color-icon-warning);
|
|
58
|
+
}
|
|
59
|
+
&.ga-modal--success .ga-modal__icon {
|
|
60
|
+
color: var(--ga-color-icon-success);
|
|
61
|
+
}
|
|
62
|
+
&.ga-modal--information .ga-modal__icon {
|
|
63
|
+
color: var(--ga-color-icon-information);
|
|
64
|
+
}
|
|
65
|
+
.ga-modal__top-section {
|
|
66
|
+
display: flex;
|
|
67
|
+
min-height: calc(0.25rem * 16);
|
|
68
|
+
flex-shrink: 0;
|
|
69
|
+
align-items: flex-start;
|
|
70
|
+
gap: calc(0.25rem * 4);
|
|
71
|
+
padding-inline: calc(0.25rem * 2);
|
|
72
|
+
padding-bottom: calc(0.25rem * 2);
|
|
73
|
+
&.ga-modal__top-section--scrollable {
|
|
74
|
+
flex-shrink: 1;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
.ga-modal__heading {
|
|
78
|
+
display: flex;
|
|
79
|
+
min-height: calc(0.25rem * 0);
|
|
80
|
+
flex: 1;
|
|
81
|
+
flex-direction: column;
|
|
82
|
+
align-self: stretch;
|
|
83
|
+
}
|
|
84
|
+
.ga-modal__icon {
|
|
85
|
+
padding: calc(0.25rem * 2);
|
|
86
|
+
}
|
|
87
|
+
.ga-modal__label {
|
|
88
|
+
margin-bottom: calc(0.25rem * 1);
|
|
89
|
+
display: flex;
|
|
90
|
+
min-height: calc(0.25rem * 6);
|
|
91
|
+
align-items: center;
|
|
92
|
+
}
|
|
93
|
+
.ga-modal__title {
|
|
94
|
+
font-size: calc(
|
|
95
|
+
var(--ga-text-xl-font-size) * var(--ga-base-scaling-factor, 1)
|
|
96
|
+
);
|
|
97
|
+
line-height: var(--tw-leading, calc(
|
|
98
|
+
var(--ga-text-xl-line-height) * var(--ga-base-scaling-factor, 1)
|
|
99
|
+
));
|
|
100
|
+
letter-spacing: var(--tw-tracking, calc(
|
|
101
|
+
var(--ga-text-xl-tracking) * var(--ga-base-scaling-factor, 1)
|
|
102
|
+
));
|
|
103
|
+
--tw-font-weight: 600;
|
|
104
|
+
font-weight: 600;
|
|
105
|
+
}
|
|
106
|
+
.ga-modal__content {
|
|
107
|
+
margin-top: calc(0.25rem * 4);
|
|
108
|
+
min-height: calc(0.25rem * 0);
|
|
109
|
+
overflow-y: auto;
|
|
110
|
+
padding: calc(0.25rem * 2);
|
|
111
|
+
&:empty {
|
|
112
|
+
margin-top: calc(0.25rem * 0);
|
|
113
|
+
}
|
|
114
|
+
scrollbar-width: thin;
|
|
115
|
+
}
|
|
116
|
+
.ga-modal__description {
|
|
117
|
+
margin-top: calc(0.25rem * 4);
|
|
118
|
+
min-height: calc(0.25rem * 0);
|
|
119
|
+
overflow-y: auto;
|
|
120
|
+
scrollbar-width: thin;
|
|
121
|
+
}
|
|
122
|
+
.ga-modal__actions {
|
|
123
|
+
margin-top: calc(0.25rem * 6);
|
|
124
|
+
display: flex;
|
|
125
|
+
flex-wrap: wrap;
|
|
126
|
+
align-items: center;
|
|
127
|
+
justify-content: flex-end;
|
|
128
|
+
gap: calc(0.25rem * 2);
|
|
129
|
+
padding-right: calc(0.25rem * 2);
|
|
130
|
+
}
|
|
131
|
+
.ga-modal__close-icon {
|
|
132
|
+
margin-top: calc(0.25rem * -2);
|
|
133
|
+
margin-right: calc(0.25rem * -2);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
@property --tw-border-style {
|
|
137
|
+
syntax: "*";
|
|
138
|
+
inherits: false;
|
|
139
|
+
initial-value: solid;
|
|
140
|
+
}
|
|
141
|
+
@property --tw-font-weight {
|
|
142
|
+
syntax: "*";
|
|
143
|
+
inherits: false;
|
|
144
|
+
}
|
|
145
|
+
@layer properties {
|
|
146
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
147
|
+
*, ::before, ::after, ::backdrop {
|
|
148
|
+
--tw-border-style: solid;
|
|
149
|
+
--tw-font-weight: initial;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
package/dist/components/tag.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.
|
|
1
|
+
/*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@layer properties;
|
|
3
3
|
.ga-tag {
|
|
4
4
|
box-sizing: content-box;
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
.ga-tag__separator {
|
|
176
176
|
height: calc(0.25rem * 5);
|
|
177
177
|
width: 1px;
|
|
178
|
-
background-color: var(--ga-color-border-
|
|
178
|
+
background-color: var(--ga-color-border-disabled);
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
181
|
@property --tw-border-style {
|
package/dist/components.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.
|
|
1
|
+
/*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@layer properties;
|
|
3
3
|
.ga-avatar {
|
|
4
4
|
display: inline-flex;
|
|
@@ -121,8 +121,8 @@
|
|
|
121
121
|
));
|
|
122
122
|
--tw-leading: calc(0.25rem * 1);
|
|
123
123
|
line-height: calc(0.25rem * 1);
|
|
124
|
-
--tw-font-weight:
|
|
125
|
-
font-weight:
|
|
124
|
+
--tw-font-weight: 500;
|
|
125
|
+
font-weight: 500;
|
|
126
126
|
white-space: nowrap;
|
|
127
127
|
&:focus-visible {
|
|
128
128
|
outline-style: var(--tw-outline-style);
|
|
@@ -377,8 +377,6 @@
|
|
|
377
377
|
letter-spacing: var(--tw-tracking, calc(
|
|
378
378
|
var(--ga-text-md-tracking) * var(--ga-base-scaling-factor, 1)
|
|
379
379
|
));
|
|
380
|
-
--tw-leading: 1;
|
|
381
|
-
line-height: 1;
|
|
382
380
|
color: var(--ga-color-text-action);
|
|
383
381
|
&:first-child {
|
|
384
382
|
border-top-left-radius: var(--ga-radius);
|
|
@@ -892,6 +890,139 @@
|
|
|
892
890
|
font-weight: 600;
|
|
893
891
|
}
|
|
894
892
|
}
|
|
893
|
+
.ga-modal__backdrop {
|
|
894
|
+
position: fixed;
|
|
895
|
+
inset: calc(0.25rem * 0);
|
|
896
|
+
z-index: 50;
|
|
897
|
+
background-color: var(--ga-color-miscellaneous-overlay);
|
|
898
|
+
}
|
|
899
|
+
.ga-modal__container {
|
|
900
|
+
position: fixed;
|
|
901
|
+
inset: calc(0.25rem * 0);
|
|
902
|
+
z-index: 50;
|
|
903
|
+
display: flex;
|
|
904
|
+
align-items: flex-start;
|
|
905
|
+
justify-content: center;
|
|
906
|
+
.ga-modal {
|
|
907
|
+
margin-top: calc(0.25rem * 16);
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
.ga-modal {
|
|
911
|
+
display: inline-flex;
|
|
912
|
+
max-height: calc(100vh - var(--spacing) * 16 * 2);
|
|
913
|
+
width: 100%;
|
|
914
|
+
max-width: calc(100vw - var(--spacing) * 8 * 2);
|
|
915
|
+
flex-direction: column;
|
|
916
|
+
overflow-y: auto;
|
|
917
|
+
border-radius: var(--ga-radius);
|
|
918
|
+
border-style: var(--tw-border-style);
|
|
919
|
+
border-width: 1px;
|
|
920
|
+
border-color: var(--ga-color-border-focus);
|
|
921
|
+
background-color: #fff;
|
|
922
|
+
padding-inline: calc(0.25rem * 2);
|
|
923
|
+
padding-block: calc(0.25rem * 4);
|
|
924
|
+
font-size: calc(
|
|
925
|
+
var(--ga-text-md-font-size) * var(--ga-base-scaling-factor, 1)
|
|
926
|
+
);
|
|
927
|
+
line-height: var(--tw-leading, calc(
|
|
928
|
+
var(--ga-text-md-line-height) * var(--ga-base-scaling-factor, 1)
|
|
929
|
+
));
|
|
930
|
+
letter-spacing: var(--tw-tracking, calc(
|
|
931
|
+
var(--ga-text-md-tracking) * var(--ga-base-scaling-factor, 1)
|
|
932
|
+
));
|
|
933
|
+
scrollbar-width: thin;
|
|
934
|
+
&.ga-modal--small {
|
|
935
|
+
width: calc(0.25rem * 85);
|
|
936
|
+
}
|
|
937
|
+
&.ga-modal--medium {
|
|
938
|
+
width: calc(0.25rem * 174);
|
|
939
|
+
}
|
|
940
|
+
&.ga-modal--large {
|
|
941
|
+
width: calc(0.25rem * 307.5);
|
|
942
|
+
}
|
|
943
|
+
&.ga-modal--danger .ga-modal__icon {
|
|
944
|
+
color: var(--ga-color-icon-error);
|
|
945
|
+
}
|
|
946
|
+
&.ga-modal--warning .ga-modal__icon {
|
|
947
|
+
color: var(--ga-color-icon-warning);
|
|
948
|
+
}
|
|
949
|
+
&.ga-modal--success .ga-modal__icon {
|
|
950
|
+
color: var(--ga-color-icon-success);
|
|
951
|
+
}
|
|
952
|
+
&.ga-modal--information .ga-modal__icon {
|
|
953
|
+
color: var(--ga-color-icon-information);
|
|
954
|
+
}
|
|
955
|
+
.ga-modal__top-section {
|
|
956
|
+
display: flex;
|
|
957
|
+
min-height: calc(0.25rem * 16);
|
|
958
|
+
flex-shrink: 0;
|
|
959
|
+
align-items: flex-start;
|
|
960
|
+
gap: calc(0.25rem * 4);
|
|
961
|
+
padding-inline: calc(0.25rem * 2);
|
|
962
|
+
padding-bottom: calc(0.25rem * 2);
|
|
963
|
+
&.ga-modal__top-section--scrollable {
|
|
964
|
+
flex-shrink: 1;
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
.ga-modal__heading {
|
|
968
|
+
display: flex;
|
|
969
|
+
min-height: calc(0.25rem * 0);
|
|
970
|
+
flex: 1;
|
|
971
|
+
flex-direction: column;
|
|
972
|
+
align-self: stretch;
|
|
973
|
+
}
|
|
974
|
+
.ga-modal__icon {
|
|
975
|
+
padding: calc(0.25rem * 2);
|
|
976
|
+
}
|
|
977
|
+
.ga-modal__label {
|
|
978
|
+
margin-bottom: calc(0.25rem * 1);
|
|
979
|
+
display: flex;
|
|
980
|
+
min-height: calc(0.25rem * 6);
|
|
981
|
+
align-items: center;
|
|
982
|
+
}
|
|
983
|
+
.ga-modal__title {
|
|
984
|
+
font-size: calc(
|
|
985
|
+
var(--ga-text-xl-font-size) * var(--ga-base-scaling-factor, 1)
|
|
986
|
+
);
|
|
987
|
+
line-height: var(--tw-leading, calc(
|
|
988
|
+
var(--ga-text-xl-line-height) * var(--ga-base-scaling-factor, 1)
|
|
989
|
+
));
|
|
990
|
+
letter-spacing: var(--tw-tracking, calc(
|
|
991
|
+
var(--ga-text-xl-tracking) * var(--ga-base-scaling-factor, 1)
|
|
992
|
+
));
|
|
993
|
+
--tw-font-weight: 600;
|
|
994
|
+
font-weight: 600;
|
|
995
|
+
}
|
|
996
|
+
.ga-modal__content {
|
|
997
|
+
margin-top: calc(0.25rem * 4);
|
|
998
|
+
min-height: calc(0.25rem * 0);
|
|
999
|
+
overflow-y: auto;
|
|
1000
|
+
padding: calc(0.25rem * 2);
|
|
1001
|
+
&:empty {
|
|
1002
|
+
margin-top: calc(0.25rem * 0);
|
|
1003
|
+
}
|
|
1004
|
+
scrollbar-width: thin;
|
|
1005
|
+
}
|
|
1006
|
+
.ga-modal__description {
|
|
1007
|
+
margin-top: calc(0.25rem * 4);
|
|
1008
|
+
min-height: calc(0.25rem * 0);
|
|
1009
|
+
overflow-y: auto;
|
|
1010
|
+
scrollbar-width: thin;
|
|
1011
|
+
}
|
|
1012
|
+
.ga-modal__actions {
|
|
1013
|
+
margin-top: calc(0.25rem * 6);
|
|
1014
|
+
display: flex;
|
|
1015
|
+
flex-wrap: wrap;
|
|
1016
|
+
align-items: center;
|
|
1017
|
+
justify-content: flex-end;
|
|
1018
|
+
gap: calc(0.25rem * 2);
|
|
1019
|
+
padding-right: calc(0.25rem * 2);
|
|
1020
|
+
}
|
|
1021
|
+
.ga-modal__close-icon {
|
|
1022
|
+
margin-top: calc(0.25rem * -2);
|
|
1023
|
+
margin-right: calc(0.25rem * -2);
|
|
1024
|
+
}
|
|
1025
|
+
}
|
|
895
1026
|
.ga-radio-group {
|
|
896
1027
|
display: inline-flex;
|
|
897
1028
|
flex-direction: column;
|
|
@@ -1477,7 +1608,7 @@
|
|
|
1477
1608
|
.ga-tag__separator {
|
|
1478
1609
|
height: calc(0.25rem * 5);
|
|
1479
1610
|
width: 1px;
|
|
1480
|
-
background-color: var(--ga-color-border-
|
|
1611
|
+
background-color: var(--ga-color-border-disabled);
|
|
1481
1612
|
}
|
|
1482
1613
|
}
|
|
1483
1614
|
.ga-text-area {
|
package/dist/design-tokens.css
CHANGED
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
--ga-color-information-light: var(--ga-color-utility-blue-light);
|
|
51
51
|
--ga-color-lime-10: #edf6dd;
|
|
52
52
|
--ga-color-lime-40: #a5c656;
|
|
53
|
-
--ga-color-miscellaneous-overlay: #
|
|
53
|
+
--ga-color-miscellaneous-overlay: #70778891;
|
|
54
54
|
--ga-color-miscellaneous-skeleton-element: var(--ga-color-neutral-10);
|
|
55
55
|
--ga-color-miscellaneous-skeleton-highlight: var(--ga-color-neutral-20);
|
|
56
56
|
--ga-color-neutral: var(--ga-color-neutral-30);
|
|
@@ -213,15 +213,3 @@
|
|
|
213
213
|
--ga-text-xs-tracking: 0.005rem;
|
|
214
214
|
}
|
|
215
215
|
|
|
216
|
-
@media (color-gamut: p3) {
|
|
217
|
-
:root {
|
|
218
|
-
--ga-color-miscellaneous-overlay: #3800ff91;
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
@media (color-gamut: rec2020) {
|
|
223
|
-
:root {
|
|
224
|
-
--ga-color-miscellaneous-overlay: #3e00ff91;
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
|
package/dist/design-tokens.js
CHANGED
package/package.json
CHANGED
|
@@ -498,7 +498,7 @@
|
|
|
498
498
|
"overlay": {
|
|
499
499
|
"$value": {
|
|
500
500
|
"colorSpace": "oklch",
|
|
501
|
-
"channels": [0.
|
|
501
|
+
"channels": [0.57, 0.0276, 267.73],
|
|
502
502
|
"alpha": 0.57
|
|
503
503
|
}
|
|
504
504
|
},
|
|
@@ -593,16 +593,16 @@
|
|
|
593
593
|
"weight": {
|
|
594
594
|
"$type": "fontWeight",
|
|
595
595
|
"normal": {
|
|
596
|
-
"$value":
|
|
596
|
+
"$value": 400
|
|
597
597
|
},
|
|
598
598
|
"medium": {
|
|
599
|
-
"$value":
|
|
599
|
+
"$value": 500
|
|
600
600
|
},
|
|
601
601
|
"semibold": {
|
|
602
|
-
"$value":
|
|
602
|
+
"$value": 600
|
|
603
603
|
},
|
|
604
604
|
"bold": {
|
|
605
|
-
"$value":
|
|
605
|
+
"$value": 700
|
|
606
606
|
}
|
|
607
607
|
}
|
|
608
608
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.ga-button {
|
|
2
|
-
@apply text-md inline-flex h-10 cursor-pointer items-center justify-center gap-2 rounded px-4 align-middle leading-1 font-
|
|
2
|
+
@apply text-md inline-flex h-10 cursor-pointer items-center justify-center gap-2 rounded px-4 align-middle leading-1 font-medium whitespace-nowrap;
|
|
3
3
|
|
|
4
4
|
&:focus-visible {
|
|
5
5
|
@apply outline-2 outline-offset-2 outline-(--ga-color-border-focus);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
@apply text-md flex max-h-81 max-w-[80ch] flex-col items-stretch overflow-y-auto rounded border border-(--ga-color-border-primary) bg-(--ga-color-surface-primary) outline-none;
|
|
3
3
|
|
|
4
4
|
.ga-dropdown__item {
|
|
5
|
-
@apply text-md relative flex h-9 min-w-0 shrink-0 cursor-pointer flex-row items-center gap-2 px-3 py-2 text-left
|
|
5
|
+
@apply text-md relative flex h-9 min-w-0 shrink-0 cursor-pointer flex-row items-center gap-2 px-3 py-2 text-left text-(--ga-color-text-action);
|
|
6
6
|
|
|
7
7
|
&:first-child {
|
|
8
8
|
@apply rounded-t;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
.ga-modal__backdrop {
|
|
2
|
+
@apply fixed inset-0 z-50 bg-(--ga-color-miscellaneous-overlay);
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.ga-modal__container {
|
|
6
|
+
@apply fixed inset-0 z-50 flex items-start justify-center;
|
|
7
|
+
|
|
8
|
+
.ga-modal {
|
|
9
|
+
@apply mt-16;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.ga-modal {
|
|
14
|
+
@apply text-md inline-flex max-h-[calc(100vh-var(--spacing)*16*2)] w-full max-w-[calc(100vw-var(--spacing)*8*2)] flex-col overflow-y-auto rounded border border-(--ga-color-border-focus) bg-white px-2 py-4;
|
|
15
|
+
|
|
16
|
+
scrollbar-width: thin;
|
|
17
|
+
|
|
18
|
+
&.ga-modal--small {
|
|
19
|
+
@apply w-85;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.ga-modal--medium {
|
|
23
|
+
@apply w-174;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.ga-modal--large {
|
|
27
|
+
@apply w-307.5;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&.ga-modal--danger .ga-modal__icon {
|
|
31
|
+
@apply text-(--ga-color-icon-error);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.ga-modal--warning .ga-modal__icon {
|
|
35
|
+
@apply text-(--ga-color-icon-warning);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&.ga-modal--success .ga-modal__icon {
|
|
39
|
+
@apply text-(--ga-color-icon-success);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&.ga-modal--information .ga-modal__icon {
|
|
43
|
+
@apply text-(--ga-color-icon-information);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.ga-modal__top-section {
|
|
47
|
+
@apply flex min-h-16 shrink-0 items-start gap-4 px-2 pb-2;
|
|
48
|
+
|
|
49
|
+
&.ga-modal__top-section--scrollable {
|
|
50
|
+
@apply shrink;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.ga-modal__heading {
|
|
55
|
+
@apply flex min-h-0 flex-1 flex-col self-stretch;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.ga-modal__icon {
|
|
59
|
+
@apply p-2;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.ga-modal__label {
|
|
63
|
+
@apply mb-1 flex min-h-6 items-center;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.ga-modal__title {
|
|
67
|
+
@apply text-xl font-semibold;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.ga-modal__content {
|
|
71
|
+
@apply mt-4 min-h-0 overflow-y-auto p-2 empty:mt-0;
|
|
72
|
+
|
|
73
|
+
scrollbar-width: thin;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.ga-modal__description {
|
|
77
|
+
@apply mt-4 min-h-0 overflow-y-auto;
|
|
78
|
+
|
|
79
|
+
scrollbar-width: thin;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.ga-modal__actions {
|
|
83
|
+
@apply mt-6 flex flex-wrap items-center justify-end gap-2 pr-2;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.ga-modal__close-icon {
|
|
87
|
+
@apply -mt-2 -mr-2;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
@import './components/input.css';
|
|
9
9
|
@import './components/notification.css';
|
|
10
10
|
@import './components/menu.css';
|
|
11
|
+
@import './components/modal.css';
|
|
11
12
|
@import './components/radio.css';
|
|
12
13
|
@import './components/segmented-control.css';
|
|
13
14
|
@import './components/select.css';
|