jvetrau-ds 0.2.4 → 0.2.6
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/components/button/button.css +3 -2
- package/components/card/card.cjs +28 -7
- package/components/card/card.cjs.map +1 -1
- package/components/card/card.css +36 -5
- package/components/card/card.d.ts +1 -1
- package/components/card/card.js +28 -7
- package/components/card/card.js.map +1 -1
- package/components/card-group/card-group.css +81 -4
- package/components/panel/panel.cjs +29 -7
- package/components/panel/panel.cjs.map +1 -1
- package/components/panel/panel.css +74 -6
- package/components/panel/panel.d.ts +1 -0
- package/components/panel/panel.js +29 -7
- package/components/panel/panel.js.map +1 -1
- package/package.json +1 -1
- package/patterns/header/header.cjs +2 -0
- package/patterns/header/header.cjs.map +1 -1
- package/patterns/header/header.d.ts +2 -0
- package/patterns/header/header.js +2 -0
- package/patterns/header/header.js.map +1 -1
- package/patterns/modal/modal.cjs +69 -36
- package/patterns/modal/modal.cjs.map +1 -1
- package/patterns/modal/modal.css +94 -16
- package/patterns/modal/modal.d.ts +6 -2
- package/patterns/modal/modal.js +66 -38
- package/patterns/modal/modal.js.map +1 -1
- package/styles.css +288 -33
package/styles.css
CHANGED
|
@@ -718,14 +718,15 @@
|
|
|
718
718
|
.button--toolbar {
|
|
719
719
|
/* color */
|
|
720
720
|
--button-bg: transparent;
|
|
721
|
-
--button-color:
|
|
722
|
-
--button-focus-color:
|
|
721
|
+
--button-color: inherit;
|
|
722
|
+
--button-focus-color: currentColor;
|
|
723
723
|
|
|
724
724
|
background: transparent;
|
|
725
725
|
|
|
726
726
|
/* typography */
|
|
727
727
|
|
|
728
728
|
/* size */
|
|
729
|
+
min-height: 0;
|
|
729
730
|
padding-inline: 0;
|
|
730
731
|
|
|
731
732
|
/* border */
|
|
@@ -1062,12 +1063,11 @@
|
|
|
1062
1063
|
--card-padding: var(--padding-container);
|
|
1063
1064
|
--card-gap: var(--margin-container-item);
|
|
1064
1065
|
--card-title-gap: var(--font-h2-margin);
|
|
1065
|
-
--card-content-min-height: 200px;
|
|
1066
1066
|
|
|
1067
1067
|
display: flex;
|
|
1068
1068
|
flex-direction: column;
|
|
1069
1069
|
align-items: stretch;
|
|
1070
|
-
justify-content:
|
|
1070
|
+
justify-content: flex-start;
|
|
1071
1071
|
gap: var(--card-gap);
|
|
1072
1072
|
width: var(--card-width);
|
|
1073
1073
|
padding: var(--card-padding);
|
|
@@ -1100,10 +1100,25 @@
|
|
|
1100
1100
|
/* motion */
|
|
1101
1101
|
}
|
|
1102
1102
|
|
|
1103
|
-
.
|
|
1103
|
+
.card__heading {
|
|
1104
1104
|
/* color */
|
|
1105
1105
|
color: inherit;
|
|
1106
1106
|
|
|
1107
|
+
/* typography */
|
|
1108
|
+
|
|
1109
|
+
/* size */
|
|
1110
|
+
margin: 0;
|
|
1111
|
+
|
|
1112
|
+
/* border */
|
|
1113
|
+
|
|
1114
|
+
/* depth */
|
|
1115
|
+
|
|
1116
|
+
/* motion */
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
.card__heading--h2 {
|
|
1120
|
+
/* color */
|
|
1121
|
+
|
|
1107
1122
|
/* typography */
|
|
1108
1123
|
font-family: var(--font-h2-family);
|
|
1109
1124
|
font-size: var(--font-h2);
|
|
@@ -1112,7 +1127,25 @@
|
|
|
1112
1127
|
letter-spacing: var(--font-h2-letter-spacing);
|
|
1113
1128
|
|
|
1114
1129
|
/* size */
|
|
1115
|
-
|
|
1130
|
+
|
|
1131
|
+
/* border */
|
|
1132
|
+
|
|
1133
|
+
/* depth */
|
|
1134
|
+
|
|
1135
|
+
/* motion */
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
.card__heading--h3 {
|
|
1139
|
+
/* color */
|
|
1140
|
+
|
|
1141
|
+
/* typography */
|
|
1142
|
+
font-family: var(--font-h3-family);
|
|
1143
|
+
font-size: var(--font-h3);
|
|
1144
|
+
font-weight: var(--font-h3-weight);
|
|
1145
|
+
line-height: var(--font-h3-line);
|
|
1146
|
+
letter-spacing: var(--font-h3-letter-spacing);
|
|
1147
|
+
|
|
1148
|
+
/* size */
|
|
1116
1149
|
|
|
1117
1150
|
/* border */
|
|
1118
1151
|
|
|
@@ -1148,7 +1181,6 @@
|
|
|
1148
1181
|
/* typography */
|
|
1149
1182
|
|
|
1150
1183
|
/* size */
|
|
1151
|
-
min-height: var(--card-content-min-height);
|
|
1152
1184
|
width: 100%;
|
|
1153
1185
|
|
|
1154
1186
|
/* border */
|
|
@@ -1187,6 +1219,7 @@
|
|
|
1187
1219
|
--card-group-min-column-width: var(--size-container-width-min);
|
|
1188
1220
|
|
|
1189
1221
|
display: grid;
|
|
1222
|
+
align-items: stretch;
|
|
1190
1223
|
gap: var(--card-group-gap);
|
|
1191
1224
|
width: 100%;
|
|
1192
1225
|
|
|
@@ -1198,6 +1231,10 @@
|
|
|
1198
1231
|
}
|
|
1199
1232
|
|
|
1200
1233
|
.card-group--auto {
|
|
1234
|
+
/* color */
|
|
1235
|
+
|
|
1236
|
+
/* typography */
|
|
1237
|
+
|
|
1201
1238
|
/* size */
|
|
1202
1239
|
grid-template-columns:
|
|
1203
1240
|
repeat(
|
|
@@ -1207,34 +1244,106 @@
|
|
|
1207
1244
|
1fr
|
|
1208
1245
|
)
|
|
1209
1246
|
);
|
|
1247
|
+
|
|
1248
|
+
/* border */
|
|
1249
|
+
|
|
1250
|
+
/* depth */
|
|
1251
|
+
|
|
1252
|
+
/* motion */
|
|
1210
1253
|
}
|
|
1211
1254
|
|
|
1212
1255
|
.card-group--columns-1 {
|
|
1256
|
+
/* color */
|
|
1257
|
+
|
|
1258
|
+
/* typography */
|
|
1259
|
+
|
|
1213
1260
|
/* size */
|
|
1214
|
-
grid-template-columns:
|
|
1261
|
+
grid-template-columns:
|
|
1262
|
+
repeat(
|
|
1263
|
+
1,
|
|
1264
|
+
minmax(0, 1fr)
|
|
1265
|
+
);
|
|
1266
|
+
|
|
1267
|
+
/* border */
|
|
1268
|
+
|
|
1269
|
+
/* depth */
|
|
1270
|
+
|
|
1271
|
+
/* motion */
|
|
1215
1272
|
}
|
|
1216
1273
|
|
|
1217
1274
|
.card-group--columns-2 {
|
|
1275
|
+
/* color */
|
|
1276
|
+
|
|
1277
|
+
/* typography */
|
|
1278
|
+
|
|
1218
1279
|
/* size */
|
|
1219
|
-
grid-template-columns:
|
|
1280
|
+
grid-template-columns:
|
|
1281
|
+
repeat(
|
|
1282
|
+
2,
|
|
1283
|
+
minmax(0, 1fr)
|
|
1284
|
+
);
|
|
1285
|
+
|
|
1286
|
+
/* border */
|
|
1287
|
+
|
|
1288
|
+
/* depth */
|
|
1289
|
+
|
|
1290
|
+
/* motion */
|
|
1220
1291
|
}
|
|
1221
1292
|
|
|
1222
1293
|
.card-group--columns-3 {
|
|
1294
|
+
/* color */
|
|
1295
|
+
|
|
1296
|
+
/* typography */
|
|
1297
|
+
|
|
1223
1298
|
/* size */
|
|
1224
|
-
grid-template-columns:
|
|
1299
|
+
grid-template-columns:
|
|
1300
|
+
repeat(
|
|
1301
|
+
3,
|
|
1302
|
+
minmax(0, 1fr)
|
|
1303
|
+
);
|
|
1304
|
+
|
|
1305
|
+
/* border */
|
|
1306
|
+
|
|
1307
|
+
/* depth */
|
|
1308
|
+
|
|
1309
|
+
/* motion */
|
|
1225
1310
|
}
|
|
1226
1311
|
|
|
1227
1312
|
.card-group--columns-4 {
|
|
1313
|
+
/* color */
|
|
1314
|
+
|
|
1315
|
+
/* typography */
|
|
1316
|
+
|
|
1228
1317
|
/* size */
|
|
1229
|
-
grid-template-columns:
|
|
1318
|
+
grid-template-columns:
|
|
1319
|
+
repeat(
|
|
1320
|
+
4,
|
|
1321
|
+
minmax(0, 1fr)
|
|
1322
|
+
);
|
|
1323
|
+
|
|
1324
|
+
/* border */
|
|
1325
|
+
|
|
1326
|
+
/* depth */
|
|
1327
|
+
|
|
1328
|
+
/* motion */
|
|
1230
1329
|
}
|
|
1231
1330
|
|
|
1232
1331
|
@media (max-width: 720px) {
|
|
1233
1332
|
.card-group--columns-2,
|
|
1234
1333
|
.card-group--columns-3,
|
|
1235
1334
|
.card-group--columns-4 {
|
|
1335
|
+
/* color */
|
|
1336
|
+
|
|
1337
|
+
/* typography */
|
|
1338
|
+
|
|
1236
1339
|
/* size */
|
|
1237
1340
|
grid-template-columns: 1fr;
|
|
1341
|
+
|
|
1342
|
+
/* border */
|
|
1343
|
+
|
|
1344
|
+
/* depth */
|
|
1345
|
+
|
|
1346
|
+
/* motion */
|
|
1238
1347
|
}
|
|
1239
1348
|
}
|
|
1240
1349
|
|
|
@@ -3468,12 +3577,11 @@
|
|
|
3468
3577
|
--panel-padding: var(--padding-container);
|
|
3469
3578
|
--panel-gap: var(--margin-container-item);
|
|
3470
3579
|
--panel-title-gap: var(--font-h2-margin);
|
|
3471
|
-
--panel-content-min-height: 200px;
|
|
3472
3580
|
|
|
3473
3581
|
display: flex;
|
|
3474
3582
|
flex-direction: column;
|
|
3475
3583
|
align-items: stretch;
|
|
3476
|
-
justify-content:
|
|
3584
|
+
justify-content: flex-start;
|
|
3477
3585
|
gap: var(--panel-gap);
|
|
3478
3586
|
width: var(--panel-width);
|
|
3479
3587
|
padding: var(--panel-padding);
|
|
@@ -3493,26 +3601,56 @@
|
|
|
3493
3601
|
--panel-bg: transparent;
|
|
3494
3602
|
--panel-color: var(--color-text);
|
|
3495
3603
|
|
|
3604
|
+
/* typography */
|
|
3605
|
+
|
|
3496
3606
|
/* size */
|
|
3497
|
-
|
|
3498
|
-
padding: auto 0;
|
|
3607
|
+
padding: 0;
|
|
3499
3608
|
|
|
3500
3609
|
/* border */
|
|
3501
3610
|
border-radius: 0;
|
|
3611
|
+
|
|
3612
|
+
/* depth */
|
|
3613
|
+
|
|
3614
|
+
/* motion */
|
|
3502
3615
|
}
|
|
3503
3616
|
|
|
3504
3617
|
.panel__header {
|
|
3618
|
+
/* color */
|
|
3619
|
+
|
|
3620
|
+
/* typography */
|
|
3621
|
+
|
|
3505
3622
|
/* size */
|
|
3506
3623
|
display: flex;
|
|
3507
3624
|
flex-direction: column;
|
|
3508
3625
|
gap: var(--panel-title-gap);
|
|
3509
3626
|
width: 100%;
|
|
3627
|
+
|
|
3628
|
+
/* border */
|
|
3629
|
+
|
|
3630
|
+
/* depth */
|
|
3631
|
+
|
|
3632
|
+
/* motion */
|
|
3510
3633
|
}
|
|
3511
3634
|
|
|
3512
3635
|
.panel__heading {
|
|
3513
3636
|
/* color */
|
|
3514
3637
|
color: inherit;
|
|
3515
3638
|
|
|
3639
|
+
/* typography */
|
|
3640
|
+
|
|
3641
|
+
/* size */
|
|
3642
|
+
margin: 0;
|
|
3643
|
+
|
|
3644
|
+
/* border */
|
|
3645
|
+
|
|
3646
|
+
/* depth */
|
|
3647
|
+
|
|
3648
|
+
/* motion */
|
|
3649
|
+
}
|
|
3650
|
+
|
|
3651
|
+
.panel__heading--h2 {
|
|
3652
|
+
/* color */
|
|
3653
|
+
|
|
3516
3654
|
/* typography */
|
|
3517
3655
|
font-family: var(--font-h2-family);
|
|
3518
3656
|
font-size: var(--font-h2);
|
|
@@ -3521,7 +3659,31 @@
|
|
|
3521
3659
|
letter-spacing: var(--font-h2-letter-spacing);
|
|
3522
3660
|
|
|
3523
3661
|
/* size */
|
|
3524
|
-
|
|
3662
|
+
|
|
3663
|
+
/* border */
|
|
3664
|
+
|
|
3665
|
+
/* depth */
|
|
3666
|
+
|
|
3667
|
+
/* motion */
|
|
3668
|
+
}
|
|
3669
|
+
|
|
3670
|
+
.panel__heading--h3 {
|
|
3671
|
+
/* color */
|
|
3672
|
+
|
|
3673
|
+
/* typography */
|
|
3674
|
+
font-family: var(--font-h3-family);
|
|
3675
|
+
font-size: var(--font-h3);
|
|
3676
|
+
font-weight: var(--font-h3-weight);
|
|
3677
|
+
line-height: var(--font-h3-line);
|
|
3678
|
+
letter-spacing: var(--font-h3-letter-spacing);
|
|
3679
|
+
|
|
3680
|
+
/* size */
|
|
3681
|
+
|
|
3682
|
+
/* border */
|
|
3683
|
+
|
|
3684
|
+
/* depth */
|
|
3685
|
+
|
|
3686
|
+
/* motion */
|
|
3525
3687
|
}
|
|
3526
3688
|
|
|
3527
3689
|
.panel__description {
|
|
@@ -3537,12 +3699,27 @@
|
|
|
3537
3699
|
|
|
3538
3700
|
/* size */
|
|
3539
3701
|
margin: 0;
|
|
3702
|
+
|
|
3703
|
+
/* border */
|
|
3704
|
+
|
|
3705
|
+
/* depth */
|
|
3706
|
+
|
|
3707
|
+
/* motion */
|
|
3540
3708
|
}
|
|
3541
3709
|
|
|
3542
3710
|
.panel__content {
|
|
3711
|
+
/* color */
|
|
3712
|
+
|
|
3713
|
+
/* typography */
|
|
3714
|
+
|
|
3543
3715
|
/* size */
|
|
3544
3716
|
width: 100%;
|
|
3545
|
-
|
|
3717
|
+
|
|
3718
|
+
/* border */
|
|
3719
|
+
|
|
3720
|
+
/* depth */
|
|
3721
|
+
|
|
3722
|
+
/* motion */
|
|
3546
3723
|
}
|
|
3547
3724
|
|
|
3548
3725
|
/* src/components/progressbar/progressbar.css */
|
|
@@ -5045,7 +5222,7 @@
|
|
|
5045
5222
|
/* color */
|
|
5046
5223
|
--modal-backdrop-bg: rgb(0 0 0 / 40%);
|
|
5047
5224
|
|
|
5048
|
-
|
|
5225
|
+
color: inherit;
|
|
5049
5226
|
|
|
5050
5227
|
/* typography */
|
|
5051
5228
|
|
|
@@ -5053,17 +5230,36 @@
|
|
|
5053
5230
|
--modal-padding: var(--size-grid-padding-horz);
|
|
5054
5231
|
--modal-content-width: min(640px, 100%);
|
|
5055
5232
|
--modal-content-width-wide: min(1120px, 100%);
|
|
5056
|
-
--modal-
|
|
5233
|
+
--modal-close-offset: var(--padding-container);
|
|
5057
5234
|
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5235
|
+
width: 100%;
|
|
5236
|
+
max-width: none;
|
|
5237
|
+
height: 100%;
|
|
5238
|
+
max-height: none;
|
|
5239
|
+
|
|
5240
|
+
margin: 0;
|
|
5241
|
+
padding: var(--modal-padding);
|
|
5242
|
+
|
|
5243
|
+
border: 0;
|
|
5061
5244
|
|
|
5062
5245
|
display: flex;
|
|
5063
5246
|
align-items: center;
|
|
5064
5247
|
justify-content: center;
|
|
5065
5248
|
|
|
5066
|
-
|
|
5249
|
+
/* border */
|
|
5250
|
+
|
|
5251
|
+
/* depth */
|
|
5252
|
+
|
|
5253
|
+
/* motion */
|
|
5254
|
+
}
|
|
5255
|
+
|
|
5256
|
+
.modal::backdrop {
|
|
5257
|
+
/* color */
|
|
5258
|
+
background: var(--modal-backdrop-bg);
|
|
5259
|
+
|
|
5260
|
+
/* typography */
|
|
5261
|
+
|
|
5262
|
+
/* size */
|
|
5067
5263
|
|
|
5068
5264
|
/* border */
|
|
5069
5265
|
|
|
@@ -5072,14 +5268,17 @@
|
|
|
5072
5268
|
/* motion */
|
|
5073
5269
|
}
|
|
5074
5270
|
|
|
5075
|
-
.
|
|
5271
|
+
.modal__surface {
|
|
5076
5272
|
/* color */
|
|
5077
5273
|
|
|
5078
5274
|
/* typography */
|
|
5079
5275
|
|
|
5080
5276
|
/* size */
|
|
5277
|
+
position: relative;
|
|
5278
|
+
|
|
5081
5279
|
width: var(--modal-content-width);
|
|
5082
5280
|
max-height: 100%;
|
|
5281
|
+
|
|
5083
5282
|
overflow: auto;
|
|
5084
5283
|
|
|
5085
5284
|
/* border */
|
|
@@ -5089,36 +5288,92 @@
|
|
|
5089
5288
|
/* motion */
|
|
5090
5289
|
}
|
|
5091
5290
|
|
|
5092
|
-
.
|
|
5291
|
+
.modal__close {
|
|
5292
|
+
/* color */
|
|
5293
|
+
|
|
5294
|
+
/* typography */
|
|
5295
|
+
|
|
5296
|
+
/* size */
|
|
5297
|
+
position: absolute;
|
|
5298
|
+
top: var(--modal-close-offset);
|
|
5299
|
+
right: var(--modal-close-offset);
|
|
5300
|
+
|
|
5301
|
+
/* border */
|
|
5302
|
+
|
|
5303
|
+
/* depth */
|
|
5304
|
+
|
|
5305
|
+
/* motion */
|
|
5306
|
+
}
|
|
5307
|
+
|
|
5308
|
+
.modal--wide .modal__surface {
|
|
5309
|
+
/* color */
|
|
5310
|
+
|
|
5311
|
+
/* typography */
|
|
5312
|
+
|
|
5093
5313
|
/* size */
|
|
5094
5314
|
width: var(--modal-content-width-wide);
|
|
5315
|
+
|
|
5316
|
+
/* border */
|
|
5317
|
+
|
|
5318
|
+
/* depth */
|
|
5319
|
+
|
|
5320
|
+
/* motion */
|
|
5095
5321
|
}
|
|
5096
5322
|
|
|
5097
5323
|
.modal--fullscreen {
|
|
5324
|
+
/* color */
|
|
5325
|
+
|
|
5326
|
+
/* typography */
|
|
5327
|
+
|
|
5098
5328
|
/* size */
|
|
5099
|
-
align-items:
|
|
5329
|
+
align-items: stretch;
|
|
5100
5330
|
justify-content: stretch;
|
|
5101
5331
|
|
|
5102
5332
|
padding: 0;
|
|
5333
|
+
|
|
5334
|
+
/* border */
|
|
5335
|
+
|
|
5336
|
+
/* depth */
|
|
5337
|
+
|
|
5338
|
+
/* motion */
|
|
5103
5339
|
}
|
|
5104
5340
|
|
|
5105
|
-
.modal--fullscreen .
|
|
5341
|
+
.modal--fullscreen .modal__surface {
|
|
5342
|
+
/* color */
|
|
5343
|
+
|
|
5344
|
+
/* typography */
|
|
5345
|
+
|
|
5106
5346
|
/* size */
|
|
5107
5347
|
display: flex;
|
|
5108
|
-
align-items:
|
|
5109
|
-
justify-content: flex-start;
|
|
5348
|
+
align-items: stretch;
|
|
5110
5349
|
|
|
5111
5350
|
width: 100%;
|
|
5112
|
-
height:
|
|
5113
|
-
|
|
5351
|
+
height: 100%;
|
|
5114
5352
|
max-height: none;
|
|
5353
|
+
|
|
5354
|
+
overflow: auto;
|
|
5355
|
+
|
|
5356
|
+
/* border */
|
|
5357
|
+
|
|
5358
|
+
/* depth */
|
|
5359
|
+
|
|
5360
|
+
/* motion */
|
|
5115
5361
|
}
|
|
5116
5362
|
|
|
5117
|
-
.modal--fullscreen .
|
|
5363
|
+
.modal--fullscreen .panel {
|
|
5364
|
+
/* color */
|
|
5365
|
+
|
|
5366
|
+
/* typography */
|
|
5367
|
+
|
|
5118
5368
|
/* size */
|
|
5119
5369
|
flex: 1;
|
|
5120
|
-
width: 100%;
|
|
5121
5370
|
min-height: 100%;
|
|
5371
|
+
|
|
5372
|
+
/* border */
|
|
5373
|
+
|
|
5374
|
+
/* depth */
|
|
5375
|
+
|
|
5376
|
+
/* motion */
|
|
5122
5377
|
}
|
|
5123
5378
|
|
|
5124
5379
|
/* src/patterns/screen-header/screen-header.css */
|