@kanda-libs/ks-design-library-new 0.0.38 → 0.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +8 -0
- package/dist/index.esm.mjs +1 -1
- package/dist/index.esm.mjs.map +4 -4
- package/dist/library.css +148 -37
- package/package.json +1 -1
- package/src/components/FAQs/Card.d.ts +9 -0
- package/src/components/FAQs/Card.tsx +64 -0
- package/src/components/FAQs/index.d.ts +7 -0
- package/src/components/FAQs/index.tsx +43 -0
- package/src/components/FAQs/types.d.ts +4 -0
- package/src/components/FAQs/useCollapsingCard.d.ts +9 -0
- package/src/components/FAQs/useCollapsingCard.ts +61 -0
- package/src/components/FAQs/useFAQs.d.ts +9 -0
- package/src/components/FAQs/useFAQs.ts +30 -0
- package/src/components/index.tsx +1 -0
- package/src/styles/library.css +148 -37
package/src/styles/library.css
CHANGED
|
@@ -1022,26 +1022,38 @@ video {
|
|
|
1022
1022
|
margin: auto;
|
|
1023
1023
|
}
|
|
1024
1024
|
|
|
1025
|
+
.my-auto {
|
|
1026
|
+
margin-top: auto;
|
|
1027
|
+
margin-bottom: auto;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1025
1030
|
.mx-auto {
|
|
1026
1031
|
margin-left: auto;
|
|
1027
1032
|
margin-right: auto;
|
|
1028
1033
|
}
|
|
1029
1034
|
|
|
1030
|
-
.
|
|
1031
|
-
margin-top: auto;
|
|
1035
|
+
.mb-auto {
|
|
1032
1036
|
margin-bottom: auto;
|
|
1033
1037
|
}
|
|
1034
1038
|
|
|
1035
|
-
.mb-4 {
|
|
1036
|
-
margin-bottom: 16px;
|
|
1037
|
-
}
|
|
1038
|
-
|
|
1039
1039
|
.mr-3 {
|
|
1040
1040
|
margin-right: 12px;
|
|
1041
1041
|
}
|
|
1042
1042
|
|
|
1043
|
-
.
|
|
1044
|
-
margin-
|
|
1043
|
+
.mt-12 {
|
|
1044
|
+
margin-top: 48px;
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
.mb-6 {
|
|
1048
|
+
margin-bottom: 24px;
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
.mr-2 {
|
|
1052
|
+
margin-right: 8px;
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
.mb-4 {
|
|
1056
|
+
margin-bottom: 16px;
|
|
1045
1057
|
}
|
|
1046
1058
|
|
|
1047
1059
|
.mt-4 {
|
|
@@ -1084,10 +1096,6 @@ video {
|
|
|
1084
1096
|
margin-right: 32px;
|
|
1085
1097
|
}
|
|
1086
1098
|
|
|
1087
|
-
.mr-2 {
|
|
1088
|
-
margin-right: 8px;
|
|
1089
|
-
}
|
|
1090
|
-
|
|
1091
1099
|
.-ml-3 {
|
|
1092
1100
|
margin-left: -12px;
|
|
1093
1101
|
}
|
|
@@ -1124,6 +1132,10 @@ video {
|
|
|
1124
1132
|
display: none;
|
|
1125
1133
|
}
|
|
1126
1134
|
|
|
1135
|
+
.h-6 {
|
|
1136
|
+
height: 24px;
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1127
1139
|
.h-screen {
|
|
1128
1140
|
height: 100vh;
|
|
1129
1141
|
}
|
|
@@ -1163,18 +1175,30 @@ video {
|
|
|
1163
1175
|
height: 36px;
|
|
1164
1176
|
}
|
|
1165
1177
|
|
|
1166
|
-
.
|
|
1167
|
-
|
|
1178
|
+
.min-h-9 {
|
|
1179
|
+
min-height: 36px;
|
|
1168
1180
|
}
|
|
1169
1181
|
|
|
1170
|
-
.
|
|
1171
|
-
|
|
1182
|
+
.min-h-6 {
|
|
1183
|
+
min-height: 24px;
|
|
1172
1184
|
}
|
|
1173
1185
|
|
|
1174
1186
|
.w-full {
|
|
1175
1187
|
width: 100%;
|
|
1176
1188
|
}
|
|
1177
1189
|
|
|
1190
|
+
.w-6 {
|
|
1191
|
+
width: 24px;
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
.w-screen {
|
|
1195
|
+
width: 100vw;
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
.w-8 {
|
|
1199
|
+
width: 32px;
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1178
1202
|
.w-7 {
|
|
1179
1203
|
width: 28px;
|
|
1180
1204
|
}
|
|
@@ -1183,6 +1207,14 @@ video {
|
|
|
1183
1207
|
width: 50%;
|
|
1184
1208
|
}
|
|
1185
1209
|
|
|
1210
|
+
.min-w-9 {
|
|
1211
|
+
min-width: 36px;
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
.min-w-6 {
|
|
1215
|
+
min-width: 24px;
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1186
1218
|
.max-w-80 {
|
|
1187
1219
|
max-width: 320px;
|
|
1188
1220
|
}
|
|
@@ -1199,6 +1231,21 @@ video {
|
|
|
1199
1231
|
flex-grow: 1;
|
|
1200
1232
|
}
|
|
1201
1233
|
|
|
1234
|
+
.rotate-45 {
|
|
1235
|
+
--tw-rotate: 45deg;
|
|
1236
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
.rotate-90 {
|
|
1240
|
+
--tw-rotate: 90deg;
|
|
1241
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
.rotate-0 {
|
|
1245
|
+
--tw-rotate: 0deg;
|
|
1246
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1202
1249
|
.transform {
|
|
1203
1250
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1204
1251
|
}
|
|
@@ -1207,6 +1254,10 @@ video {
|
|
|
1207
1254
|
cursor: pointer;
|
|
1208
1255
|
}
|
|
1209
1256
|
|
|
1257
|
+
.grid-cols-1 {
|
|
1258
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1210
1261
|
.grid-cols-7 {
|
|
1211
1262
|
grid-template-columns: repeat(7, minmax(0, 1fr));
|
|
1212
1263
|
}
|
|
@@ -1239,6 +1290,10 @@ video {
|
|
|
1239
1290
|
justify-content: space-between;
|
|
1240
1291
|
}
|
|
1241
1292
|
|
|
1293
|
+
.gap-5 {
|
|
1294
|
+
gap: 20px;
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1242
1297
|
.gap-y-4 {
|
|
1243
1298
|
row-gap: 16px;
|
|
1244
1299
|
}
|
|
@@ -1272,6 +1327,10 @@ video {
|
|
|
1272
1327
|
border-radius: 0.75rem;
|
|
1273
1328
|
}
|
|
1274
1329
|
|
|
1330
|
+
.rounded-lg {
|
|
1331
|
+
border-radius: 0.5rem;
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1275
1334
|
.rounded-full {
|
|
1276
1335
|
border-radius: 9999px;
|
|
1277
1336
|
}
|
|
@@ -1280,10 +1339,6 @@ video {
|
|
|
1280
1339
|
border-radius: 1rem;
|
|
1281
1340
|
}
|
|
1282
1341
|
|
|
1283
|
-
.rounded-lg {
|
|
1284
|
-
border-radius: 0.5rem;
|
|
1285
|
-
}
|
|
1286
|
-
|
|
1287
1342
|
.border {
|
|
1288
1343
|
border-width: 1px;
|
|
1289
1344
|
}
|
|
@@ -1324,6 +1379,16 @@ video {
|
|
|
1324
1379
|
background-color: rgb(240 240 255 / var(--tw-bg-opacity));
|
|
1325
1380
|
}
|
|
1326
1381
|
|
|
1382
|
+
.bg-neutral-700 {
|
|
1383
|
+
--tw-bg-opacity: 1;
|
|
1384
|
+
background-color: rgb(71 90 118 / var(--tw-bg-opacity));
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
.bg-neutral-600 {
|
|
1388
|
+
--tw-bg-opacity: 1;
|
|
1389
|
+
background-color: rgb(108 129 157 / var(--tw-bg-opacity));
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1327
1392
|
.bg-green-200 {
|
|
1328
1393
|
--tw-bg-opacity: 1;
|
|
1329
1394
|
background-color: rgb(193 244 233 / var(--tw-bg-opacity));
|
|
@@ -1357,6 +1422,16 @@ video {
|
|
|
1357
1422
|
padding: 16px;
|
|
1358
1423
|
}
|
|
1359
1424
|
|
|
1425
|
+
.px-3 {
|
|
1426
|
+
padding-left: 12px;
|
|
1427
|
+
padding-right: 12px;
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
.py-4 {
|
|
1431
|
+
padding-top: 16px;
|
|
1432
|
+
padding-bottom: 16px;
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1360
1435
|
.px-4 {
|
|
1361
1436
|
padding-left: 16px;
|
|
1362
1437
|
padding-right: 16px;
|
|
@@ -1367,11 +1442,6 @@ video {
|
|
|
1367
1442
|
padding-right: 8px;
|
|
1368
1443
|
}
|
|
1369
1444
|
|
|
1370
|
-
.py-4 {
|
|
1371
|
-
padding-top: 16px;
|
|
1372
|
-
padding-bottom: 16px;
|
|
1373
|
-
}
|
|
1374
|
-
|
|
1375
1445
|
.py-2 {
|
|
1376
1446
|
padding-top: 8px;
|
|
1377
1447
|
padding-bottom: 8px;
|
|
@@ -1382,11 +1452,6 @@ video {
|
|
|
1382
1452
|
padding-bottom: 4px;
|
|
1383
1453
|
}
|
|
1384
1454
|
|
|
1385
|
-
.px-3 {
|
|
1386
|
-
padding-left: 12px;
|
|
1387
|
-
padding-right: 12px;
|
|
1388
|
-
}
|
|
1389
|
-
|
|
1390
1455
|
.py-1\.75 {
|
|
1391
1456
|
padding-top: 7px;
|
|
1392
1457
|
padding-bottom: 7px;
|
|
@@ -1397,14 +1462,26 @@ video {
|
|
|
1397
1462
|
padding-right: 0;
|
|
1398
1463
|
}
|
|
1399
1464
|
|
|
1400
|
-
.
|
|
1401
|
-
padding-
|
|
1465
|
+
.pr-2 {
|
|
1466
|
+
padding-right: 8px;
|
|
1402
1467
|
}
|
|
1403
1468
|
|
|
1404
1469
|
.pt-2 {
|
|
1405
1470
|
padding-top: 8px;
|
|
1406
1471
|
}
|
|
1407
1472
|
|
|
1473
|
+
.pl-12 {
|
|
1474
|
+
padding-left: 48px;
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
.pr-6 {
|
|
1478
|
+
padding-right: 24px;
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
.pl-4 {
|
|
1482
|
+
padding-left: 16px;
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1408
1485
|
.pb-1 {
|
|
1409
1486
|
padding-bottom: 4px;
|
|
1410
1487
|
}
|
|
@@ -1434,6 +1511,16 @@ video {
|
|
|
1434
1511
|
color: rgb(127 131 255 / var(--tw-text-opacity));
|
|
1435
1512
|
}
|
|
1436
1513
|
|
|
1514
|
+
.text-neutral-000 {
|
|
1515
|
+
--tw-text-opacity: 1;
|
|
1516
|
+
color: rgb(255 255 255 / var(--tw-text-opacity));
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1519
|
+
.text-green-400 {
|
|
1520
|
+
--tw-text-opacity: 1;
|
|
1521
|
+
color: rgb(39 222 191 / var(--tw-text-opacity));
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1437
1524
|
.text-neutral-900 {
|
|
1438
1525
|
--tw-text-opacity: 1;
|
|
1439
1526
|
color: rgb(13 27 46 / var(--tw-text-opacity));
|
|
@@ -1449,11 +1536,6 @@ video {
|
|
|
1449
1536
|
color: rgb(108 129 157 / var(--tw-text-opacity));
|
|
1450
1537
|
}
|
|
1451
1538
|
|
|
1452
|
-
.text-neutral-000 {
|
|
1453
|
-
--tw-text-opacity: 1;
|
|
1454
|
-
color: rgb(255 255 255 / var(--tw-text-opacity));
|
|
1455
|
-
}
|
|
1456
|
-
|
|
1457
1539
|
.text-neutral-500 {
|
|
1458
1540
|
--tw-text-opacity: 1;
|
|
1459
1541
|
color: rgb(156 173 196 / var(--tw-text-opacity));
|
|
@@ -1471,6 +1553,12 @@ video {
|
|
|
1471
1553
|
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
1472
1554
|
}
|
|
1473
1555
|
|
|
1556
|
+
.transition-all {
|
|
1557
|
+
transition-property: all;
|
|
1558
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
1559
|
+
transition-duration: 150ms;
|
|
1560
|
+
}
|
|
1561
|
+
|
|
1474
1562
|
.ease-in-out {
|
|
1475
1563
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
1476
1564
|
}
|
|
@@ -2371,12 +2459,26 @@ Modified version of toast CSS to match designs
|
|
|
2371
2459
|
}
|
|
2372
2460
|
|
|
2373
2461
|
@media (min-width: 768px) {
|
|
2462
|
+
.md\:text-32-40-em {
|
|
2463
|
+
font-weight: 600;
|
|
2464
|
+
font-size: 32px;
|
|
2465
|
+
line-height: 40px;
|
|
2466
|
+
}
|
|
2467
|
+
|
|
2374
2468
|
.md\:text-16-24 {
|
|
2375
2469
|
font-weight: 400;
|
|
2376
2470
|
font-size: 16px;
|
|
2377
2471
|
line-height: 24px;
|
|
2378
2472
|
}
|
|
2379
2473
|
|
|
2474
|
+
.md\:mt-20 {
|
|
2475
|
+
margin-top: 80px;
|
|
2476
|
+
}
|
|
2477
|
+
|
|
2478
|
+
.md\:mb-10 {
|
|
2479
|
+
margin-bottom: 40px;
|
|
2480
|
+
}
|
|
2481
|
+
|
|
2380
2482
|
.md\:mb-3 {
|
|
2381
2483
|
margin-bottom: 12px;
|
|
2382
2484
|
}
|
|
@@ -2409,6 +2511,10 @@ Modified version of toast CSS to match designs
|
|
|
2409
2511
|
min-width: 192px;
|
|
2410
2512
|
}
|
|
2411
2513
|
|
|
2514
|
+
.md\:grid-cols-2 {
|
|
2515
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
2516
|
+
}
|
|
2517
|
+
|
|
2412
2518
|
.md\:flex-row {
|
|
2413
2519
|
flex-direction: row;
|
|
2414
2520
|
}
|
|
@@ -2417,6 +2523,11 @@ Modified version of toast CSS to match designs
|
|
|
2417
2523
|
row-gap: 4px;
|
|
2418
2524
|
}
|
|
2419
2525
|
|
|
2526
|
+
.md\:px-16 {
|
|
2527
|
+
padding-left: 64px;
|
|
2528
|
+
padding-right: 64px;
|
|
2529
|
+
}
|
|
2530
|
+
|
|
2420
2531
|
.md\:py-0 {
|
|
2421
2532
|
padding-top: 0;
|
|
2422
2533
|
padding-bottom: 0;
|