@kanda-libs/ks-design-library-new 0.0.37 → 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 +12 -0
- package/dist/index.esm.mjs +1 -1
- package/dist/index.esm.mjs.map +4 -4
- package/dist/library.css +174 -41
- package/package.json +2 -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/TickList/index.tsx +26 -0
- package/src/components/index.tsx +2 -0
- package/src/styles/library.css +174 -41
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 {
|
|
@@ -1064,20 +1076,24 @@ video {
|
|
|
1064
1076
|
margin-top: -32px;
|
|
1065
1077
|
}
|
|
1066
1078
|
|
|
1067
|
-
.mb-2 {
|
|
1068
|
-
margin-bottom: 8px;
|
|
1069
|
-
}
|
|
1070
|
-
|
|
1071
1079
|
.mt-2 {
|
|
1072
1080
|
margin-top: 8px;
|
|
1073
1081
|
}
|
|
1074
1082
|
|
|
1075
|
-
.
|
|
1076
|
-
margin-
|
|
1083
|
+
.mt-0\.75 {
|
|
1084
|
+
margin-top: 3px;
|
|
1077
1085
|
}
|
|
1078
1086
|
|
|
1079
|
-
.
|
|
1080
|
-
margin-
|
|
1087
|
+
.mt-0 {
|
|
1088
|
+
margin-top: 0;
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
.mb-2 {
|
|
1092
|
+
margin-bottom: 8px;
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
.mr-8 {
|
|
1096
|
+
margin-right: 32px;
|
|
1081
1097
|
}
|
|
1082
1098
|
|
|
1083
1099
|
.-ml-3 {
|
|
@@ -1116,6 +1132,10 @@ video {
|
|
|
1116
1132
|
display: none;
|
|
1117
1133
|
}
|
|
1118
1134
|
|
|
1135
|
+
.h-6 {
|
|
1136
|
+
height: 24px;
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1119
1139
|
.h-screen {
|
|
1120
1140
|
height: 100vh;
|
|
1121
1141
|
}
|
|
@@ -1155,18 +1175,30 @@ video {
|
|
|
1155
1175
|
height: 36px;
|
|
1156
1176
|
}
|
|
1157
1177
|
|
|
1158
|
-
.
|
|
1159
|
-
|
|
1178
|
+
.min-h-9 {
|
|
1179
|
+
min-height: 36px;
|
|
1160
1180
|
}
|
|
1161
1181
|
|
|
1162
|
-
.
|
|
1163
|
-
|
|
1182
|
+
.min-h-6 {
|
|
1183
|
+
min-height: 24px;
|
|
1164
1184
|
}
|
|
1165
1185
|
|
|
1166
1186
|
.w-full {
|
|
1167
1187
|
width: 100%;
|
|
1168
1188
|
}
|
|
1169
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
|
+
|
|
1170
1202
|
.w-7 {
|
|
1171
1203
|
width: 28px;
|
|
1172
1204
|
}
|
|
@@ -1175,6 +1207,14 @@ video {
|
|
|
1175
1207
|
width: 50%;
|
|
1176
1208
|
}
|
|
1177
1209
|
|
|
1210
|
+
.min-w-9 {
|
|
1211
|
+
min-width: 36px;
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
.min-w-6 {
|
|
1215
|
+
min-width: 24px;
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1178
1218
|
.max-w-80 {
|
|
1179
1219
|
max-width: 320px;
|
|
1180
1220
|
}
|
|
@@ -1191,6 +1231,21 @@ video {
|
|
|
1191
1231
|
flex-grow: 1;
|
|
1192
1232
|
}
|
|
1193
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
|
+
|
|
1194
1249
|
.transform {
|
|
1195
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));
|
|
1196
1251
|
}
|
|
@@ -1199,6 +1254,10 @@ video {
|
|
|
1199
1254
|
cursor: pointer;
|
|
1200
1255
|
}
|
|
1201
1256
|
|
|
1257
|
+
.grid-cols-1 {
|
|
1258
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1202
1261
|
.grid-cols-7 {
|
|
1203
1262
|
grid-template-columns: repeat(7, minmax(0, 1fr));
|
|
1204
1263
|
}
|
|
@@ -1231,6 +1290,10 @@ video {
|
|
|
1231
1290
|
justify-content: space-between;
|
|
1232
1291
|
}
|
|
1233
1292
|
|
|
1293
|
+
.gap-5 {
|
|
1294
|
+
gap: 20px;
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1234
1297
|
.gap-y-4 {
|
|
1235
1298
|
row-gap: 16px;
|
|
1236
1299
|
}
|
|
@@ -1264,6 +1327,10 @@ video {
|
|
|
1264
1327
|
border-radius: 0.75rem;
|
|
1265
1328
|
}
|
|
1266
1329
|
|
|
1330
|
+
.rounded-lg {
|
|
1331
|
+
border-radius: 0.5rem;
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1267
1334
|
.rounded-full {
|
|
1268
1335
|
border-radius: 9999px;
|
|
1269
1336
|
}
|
|
@@ -1272,10 +1339,6 @@ video {
|
|
|
1272
1339
|
border-radius: 1rem;
|
|
1273
1340
|
}
|
|
1274
1341
|
|
|
1275
|
-
.rounded-lg {
|
|
1276
|
-
border-radius: 0.5rem;
|
|
1277
|
-
}
|
|
1278
|
-
|
|
1279
1342
|
.border {
|
|
1280
1343
|
border-width: 1px;
|
|
1281
1344
|
}
|
|
@@ -1316,6 +1379,16 @@ video {
|
|
|
1316
1379
|
background-color: rgb(240 240 255 / var(--tw-bg-opacity));
|
|
1317
1380
|
}
|
|
1318
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
|
+
|
|
1319
1392
|
.bg-green-200 {
|
|
1320
1393
|
--tw-bg-opacity: 1;
|
|
1321
1394
|
background-color: rgb(193 244 233 / var(--tw-bg-opacity));
|
|
@@ -1349,6 +1422,16 @@ video {
|
|
|
1349
1422
|
padding: 16px;
|
|
1350
1423
|
}
|
|
1351
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
|
+
|
|
1352
1435
|
.px-4 {
|
|
1353
1436
|
padding-left: 16px;
|
|
1354
1437
|
padding-right: 16px;
|
|
@@ -1359,11 +1442,6 @@ video {
|
|
|
1359
1442
|
padding-right: 8px;
|
|
1360
1443
|
}
|
|
1361
1444
|
|
|
1362
|
-
.py-4 {
|
|
1363
|
-
padding-top: 16px;
|
|
1364
|
-
padding-bottom: 16px;
|
|
1365
|
-
}
|
|
1366
|
-
|
|
1367
1445
|
.py-2 {
|
|
1368
1446
|
padding-top: 8px;
|
|
1369
1447
|
padding-bottom: 8px;
|
|
@@ -1374,11 +1452,6 @@ video {
|
|
|
1374
1452
|
padding-bottom: 4px;
|
|
1375
1453
|
}
|
|
1376
1454
|
|
|
1377
|
-
.px-3 {
|
|
1378
|
-
padding-left: 12px;
|
|
1379
|
-
padding-right: 12px;
|
|
1380
|
-
}
|
|
1381
|
-
|
|
1382
1455
|
.py-1\.75 {
|
|
1383
1456
|
padding-top: 7px;
|
|
1384
1457
|
padding-bottom: 7px;
|
|
@@ -1389,14 +1462,26 @@ video {
|
|
|
1389
1462
|
padding-right: 0;
|
|
1390
1463
|
}
|
|
1391
1464
|
|
|
1392
|
-
.
|
|
1393
|
-
padding-
|
|
1465
|
+
.pr-2 {
|
|
1466
|
+
padding-right: 8px;
|
|
1394
1467
|
}
|
|
1395
1468
|
|
|
1396
1469
|
.pt-2 {
|
|
1397
1470
|
padding-top: 8px;
|
|
1398
1471
|
}
|
|
1399
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
|
+
|
|
1400
1485
|
.pb-1 {
|
|
1401
1486
|
padding-bottom: 4px;
|
|
1402
1487
|
}
|
|
@@ -1426,6 +1511,16 @@ video {
|
|
|
1426
1511
|
color: rgb(127 131 255 / var(--tw-text-opacity));
|
|
1427
1512
|
}
|
|
1428
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
|
+
|
|
1429
1524
|
.text-neutral-900 {
|
|
1430
1525
|
--tw-text-opacity: 1;
|
|
1431
1526
|
color: rgb(13 27 46 / var(--tw-text-opacity));
|
|
@@ -1441,11 +1536,6 @@ video {
|
|
|
1441
1536
|
color: rgb(108 129 157 / var(--tw-text-opacity));
|
|
1442
1537
|
}
|
|
1443
1538
|
|
|
1444
|
-
.text-neutral-000 {
|
|
1445
|
-
--tw-text-opacity: 1;
|
|
1446
|
-
color: rgb(255 255 255 / var(--tw-text-opacity));
|
|
1447
|
-
}
|
|
1448
|
-
|
|
1449
1539
|
.text-neutral-500 {
|
|
1450
1540
|
--tw-text-opacity: 1;
|
|
1451
1541
|
color: rgb(156 173 196 / var(--tw-text-opacity));
|
|
@@ -1463,6 +1553,12 @@ video {
|
|
|
1463
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);
|
|
1464
1554
|
}
|
|
1465
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
|
+
|
|
1466
1562
|
.ease-in-out {
|
|
1467
1563
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
1468
1564
|
}
|
|
@@ -2344,6 +2440,10 @@ Modified version of toast CSS to match designs
|
|
|
2344
2440
|
animation-iteration-count: infinite;
|
|
2345
2441
|
}
|
|
2346
2442
|
|
|
2443
|
+
.first\:mt-0:first-child {
|
|
2444
|
+
margin-top: 0;
|
|
2445
|
+
}
|
|
2446
|
+
|
|
2347
2447
|
.hover\:bg-neutral-100:hover {
|
|
2348
2448
|
--tw-bg-opacity: 1;
|
|
2349
2449
|
background-color: rgb(247 249 252 / var(--tw-bg-opacity));
|
|
@@ -2359,10 +2459,34 @@ Modified version of toast CSS to match designs
|
|
|
2359
2459
|
}
|
|
2360
2460
|
|
|
2361
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
|
+
|
|
2468
|
+
.md\:text-16-24 {
|
|
2469
|
+
font-weight: 400;
|
|
2470
|
+
font-size: 16px;
|
|
2471
|
+
line-height: 24px;
|
|
2472
|
+
}
|
|
2473
|
+
|
|
2474
|
+
.md\:mt-20 {
|
|
2475
|
+
margin-top: 80px;
|
|
2476
|
+
}
|
|
2477
|
+
|
|
2478
|
+
.md\:mb-10 {
|
|
2479
|
+
margin-bottom: 40px;
|
|
2480
|
+
}
|
|
2481
|
+
|
|
2362
2482
|
.md\:mb-3 {
|
|
2363
2483
|
margin-bottom: 12px;
|
|
2364
2484
|
}
|
|
2365
2485
|
|
|
2486
|
+
.md\:mt-1 {
|
|
2487
|
+
margin-top: 4px;
|
|
2488
|
+
}
|
|
2489
|
+
|
|
2366
2490
|
.md\:block {
|
|
2367
2491
|
display: block;
|
|
2368
2492
|
}
|
|
@@ -2387,6 +2511,10 @@ Modified version of toast CSS to match designs
|
|
|
2387
2511
|
min-width: 192px;
|
|
2388
2512
|
}
|
|
2389
2513
|
|
|
2514
|
+
.md\:grid-cols-2 {
|
|
2515
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
2516
|
+
}
|
|
2517
|
+
|
|
2390
2518
|
.md\:flex-row {
|
|
2391
2519
|
flex-direction: row;
|
|
2392
2520
|
}
|
|
@@ -2395,6 +2523,11 @@ Modified version of toast CSS to match designs
|
|
|
2395
2523
|
row-gap: 4px;
|
|
2396
2524
|
}
|
|
2397
2525
|
|
|
2526
|
+
.md\:px-16 {
|
|
2527
|
+
padding-left: 64px;
|
|
2528
|
+
padding-right: 64px;
|
|
2529
|
+
}
|
|
2530
|
+
|
|
2398
2531
|
.md\:py-0 {
|
|
2399
2532
|
padding-top: 0;
|
|
2400
2533
|
padding-bottom: 0;
|