@liner-fe/prism 1.13.8 → 1.13.10

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.
@@ -4,5 +4,8 @@ export declare const toastAtom: import("recoil").RecoilState<{
4
4
  }>;
5
5
  export declare const ONE_SECOND = 1000;
6
6
  export declare const useToast: () => {
7
- open: (toast: Omit<Partial<ToastProp>, "toastId">) => void;
7
+ open: (toast: Omit<Partial<ToastProp>, "toastId">) => {
8
+ toastId: number;
9
+ };
10
+ endLoading: (toastId: number) => void;
8
11
  };
@@ -5,6 +5,7 @@ interface IToastBase extends ToastProps, RefAttributes<HTMLLIElement> {
5
5
  toastId: number;
6
6
  message: string;
7
7
  timer: number;
8
+ isLoading?: boolean;
8
9
  }
9
10
  interface IToastIcon {
10
11
  icon: Omit<IconProps, 'size'>;
package/lib/index.css CHANGED
@@ -412,7 +412,7 @@
412
412
  }
413
413
 
414
414
  /* esbuild-sass-plugin:css-chunk:src/components/Toast/style.module.scss */
415
- @keyframes _hide_g82xk_1 {
415
+ @keyframes _hide_192n7_1 {
416
416
  from {
417
417
  opacity: 1;
418
418
  }
@@ -420,7 +420,7 @@
420
420
  opacity: 0;
421
421
  }
422
422
  }
423
- @keyframes _slideIn_g82xk_1 {
423
+ @keyframes _slideIn_192n7_1 {
424
424
  from {
425
425
  transform: translateY(-100%);
426
426
  }
@@ -428,7 +428,7 @@
428
428
  transform: translateY(0);
429
429
  }
430
430
  }
431
- @keyframes _swipeOut_g82xk_1 {
431
+ @keyframes _swipeOut_192n7_1 {
432
432
  from {
433
433
  transform: translateY(0);
434
434
  }
@@ -436,16 +436,16 @@
436
436
  transform: translateY(-100%);
437
437
  }
438
438
  }
439
- ._Icon_g82xk_25 {
439
+ ._Icon_192n7_25 {
440
440
  width: fit-content;
441
- height: 20px;
441
+ height: 24px;
442
442
  }
443
443
  @media (max-width: 360px) {
444
- ._TitleText_g82xk_31 {
444
+ ._TitleText_192n7_31 {
445
445
  max-width: 227px;
446
446
  }
447
447
  }
448
- ._ToastViewport_g82xk_36 {
448
+ ._ToastViewport_192n7_36 {
449
449
  position: fixed;
450
450
  top: 29px;
451
451
  left: 50%;
@@ -464,11 +464,11 @@
464
464
  width: fit-content;
465
465
  }
466
466
  @media (max-width: 600px) {
467
- ._ToastViewport_g82xk_36 {
467
+ ._ToastViewport_192n7_36 {
468
468
  width: calc(100vw - 32px);
469
469
  }
470
470
  }
471
- ._ToastRoot_g82xk_60 {
471
+ ._ToastRoot_192n7_60 {
472
472
  background-color: var(--inverse-container-static-high);
473
473
  border-radius: 8px;
474
474
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.2509803922);
@@ -479,32 +479,32 @@
479
479
  gap: 6px;
480
480
  }
481
481
  @media (max-width: 600px) {
482
- ._ToastRoot_g82xk_60 {
482
+ ._ToastRoot_192n7_60 {
483
483
  width: calc(100vw - 64px);
484
484
  }
485
485
  }
486
- ._ToastTitle_g82xk_76 {
486
+ ._ToastTitle_192n7_76 {
487
487
  display: flex;
488
488
  align-items: center;
489
489
  justify-content: space-between;
490
490
  width: 100%;
491
491
  gap: var(--lp-sys-gap-positive-300);
492
492
  }
493
- ._ToastRoot_g82xk_60[data-state=open] {
494
- animation: _slideIn_g82xk_1 0.5s cubic-bezier(0.16, 1, 0.3, 1);
493
+ ._ToastRoot_192n7_60[data-state=open] {
494
+ animation: _slideIn_192n7_1 0.5s cubic-bezier(0.16, 1, 0.3, 1);
495
495
  }
496
- ._ToastRoot_g82xk_60[data-state=closed] {
497
- animation: _hide_g82xk_1 300ms ease-in;
496
+ ._ToastRoot_192n7_60[data-state=closed] {
497
+ animation: _hide_192n7_1 300ms ease-in;
498
498
  }
499
- ._ToastRoot_g82xk_60[data-swipe=move] {
499
+ ._ToastRoot_192n7_60[data-swipe=move] {
500
500
  transform: translateY(var(--radix-toast-swipe-move-y));
501
501
  }
502
- ._ToastRoot_g82xk_60[data-swipe=cancel] {
502
+ ._ToastRoot_192n7_60[data-swipe=cancel] {
503
503
  transform: translateX(0);
504
504
  transition: transform 200ms ease-out;
505
505
  }
506
- ._ToastRoot_g82xk_60[data-swipe=end] {
507
- animation: _swipeOut_g82xk_1 100ms ease-out;
506
+ ._ToastRoot_192n7_60[data-swipe=end] {
507
+ animation: _swipeOut_192n7_1 100ms ease-out;
508
508
  }
509
509
 
510
510
  /* esbuild-sass-plugin:css-chunk:src/components/Typography/Set/style.module.scss */
@@ -1191,7 +1191,7 @@
1191
1191
  }
1192
1192
 
1193
1193
  /* esbuild-sass-plugin:css-chunk:src/components/Select/style.module.scss */
1194
- @-webkit-keyframes _slide-up_64o6g_1 {
1194
+ @-webkit-keyframes _slide-up_rtt11_1 {
1195
1195
  0% {
1196
1196
  transform: translateY(3%);
1197
1197
  opacity: 0;
@@ -1201,7 +1201,7 @@
1201
1201
  opacity: 1;
1202
1202
  }
1203
1203
  }
1204
- @keyframes _slide-up_64o6g_1 {
1204
+ @keyframes _slide-up_rtt11_1 {
1205
1205
  0% {
1206
1206
  transform: translateY(3%);
1207
1207
  opacity: 0;
@@ -1211,7 +1211,7 @@
1211
1211
  opacity: 1;
1212
1212
  }
1213
1213
  }
1214
- @-webkit-keyframes _slide-down_64o6g_1 {
1214
+ @-webkit-keyframes _slide-down_rtt11_1 {
1215
1215
  0% {
1216
1216
  transform: translateY(0);
1217
1217
  opacity: 1;
@@ -1221,7 +1221,7 @@
1221
1221
  opacity: 0;
1222
1222
  }
1223
1223
  }
1224
- @keyframes _slide-down_64o6g_1 {
1224
+ @keyframes _slide-down_rtt11_1 {
1225
1225
  0% {
1226
1226
  transform: translateY(0);
1227
1227
  opacity: 1;
@@ -1231,7 +1231,7 @@
1231
1231
  opacity: 0;
1232
1232
  }
1233
1233
  }
1234
- @-webkit-keyframes _slide-in-right_64o6g_1 {
1234
+ @-webkit-keyframes _slide-in-right_rtt11_1 {
1235
1235
  0% {
1236
1236
  opacity: 0;
1237
1237
  -webkit-transform: translateX(1000px);
@@ -1243,7 +1243,7 @@
1243
1243
  transform: translateX(0);
1244
1244
  }
1245
1245
  }
1246
- @keyframes _slide-in-right_64o6g_1 {
1246
+ @keyframes _slide-in-right_rtt11_1 {
1247
1247
  0% {
1248
1248
  opacity: 0;
1249
1249
  -webkit-transform: translateX(1000px);
@@ -1255,7 +1255,7 @@
1255
1255
  transform: translateX(0);
1256
1256
  }
1257
1257
  }
1258
- @-webkit-keyframes _slide-out-right_64o6g_1 {
1258
+ @-webkit-keyframes _slide-out-right_rtt11_1 {
1259
1259
  0% {
1260
1260
  opacity: 1;
1261
1261
  -webkit-transform: translateX(0);
@@ -1267,7 +1267,7 @@
1267
1267
  transform: translateX(1000px);
1268
1268
  }
1269
1269
  }
1270
- @keyframes _slide-out-right_64o6g_1 {
1270
+ @keyframes _slide-out-right_rtt11_1 {
1271
1271
  0% {
1272
1272
  opacity: 1;
1273
1273
  -webkit-transform: translateX(0);
@@ -1279,16 +1279,16 @@
1279
1279
  transform: translateX(1000px);
1280
1280
  }
1281
1281
  }
1282
- ._label-container_64o6g_101 {
1282
+ ._label-container_rtt11_101 {
1283
1283
  display: flex;
1284
1284
  align-items: center;
1285
1285
  gap: var(--lp-sys-gap-positive-150);
1286
1286
  }
1287
- ._select-label_64o6g_107 {
1287
+ ._select-label_rtt11_107 {
1288
1288
  white-space: nowrap;
1289
1289
  padding-bottom: var(--lp-sys-padding-component-300);
1290
1290
  }
1291
- ._trigger_64o6g_112 {
1291
+ ._trigger_rtt11_112 {
1292
1292
  display: flex;
1293
1293
  align-items: center;
1294
1294
  gap: var(--lp-sys-gap-positive-200);
@@ -1301,45 +1301,45 @@
1301
1301
  width: 100%;
1302
1302
  min-width: 0;
1303
1303
  }
1304
- ._trigger_64o6g_112 > span:not([aria-hidden]) {
1304
+ ._trigger_rtt11_112 > span:not([aria-hidden]) {
1305
1305
  text-align: left;
1306
1306
  width: 100%;
1307
1307
  overflow: hidden;
1308
1308
  white-space: nowrap;
1309
1309
  text-overflow: ellipsis;
1310
1310
  }
1311
- ._trigger_64o6g_112 > span[aria-hidden] {
1311
+ ._trigger_rtt11_112 > span[aria-hidden] {
1312
1312
  flex: 0 1 0;
1313
1313
  }
1314
- ._trigger_64o6g_112 > span > svg {
1314
+ ._trigger_rtt11_112 > span > svg {
1315
1315
  transition: transform 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);
1316
1316
  }
1317
- ._trigger_64o6g_112[data-state=open] {
1317
+ ._trigger_rtt11_112[data-state=open] {
1318
1318
  border-color: var(--neutral-border-opaque-strong);
1319
1319
  }
1320
- ._trigger_64o6g_112[data-state=open] > span > svg {
1320
+ ._trigger_rtt11_112[data-state=open] > span > svg {
1321
1321
  transform: rotate(180deg);
1322
1322
  }
1323
- ._trigger_64o6g_112[data-disabled] {
1323
+ ._trigger_rtt11_112[data-disabled] {
1324
1324
  pointer-events: none;
1325
1325
  background: var(--neutral-container-low);
1326
1326
  border-color: var(--neutral-border-overlay-normal);
1327
1327
  }
1328
- ._trigger_64o6g_112[data-disabled] > span > p {
1328
+ ._trigger_rtt11_112[data-disabled] > span > p {
1329
1329
  color: var(--neutral-label-tertiary);
1330
1330
  }
1331
- ._trigger_64o6g_112[data-disabled] > span > svg > * {
1331
+ ._trigger_rtt11_112[data-disabled] > span > svg > * {
1332
1332
  fill: var(--neutral-label-tertiary);
1333
1333
  }
1334
- ._placeholder_64o6g_156 {
1334
+ ._placeholder_rtt11_156 {
1335
1335
  width: 100%;
1336
1336
  }
1337
- ._openIcon_64o6g_160 {
1337
+ ._openIcon_rtt11_160 {
1338
1338
  display: flex;
1339
1339
  align-items: center;
1340
1340
  justify-content: center;
1341
1341
  }
1342
- @keyframes _slide-up_64o6g_1 {
1342
+ @keyframes _slide-up_rtt11_1 {
1343
1343
  0% {
1344
1344
  transform: translateY(3%);
1345
1345
  opacity: 0;
@@ -1349,7 +1349,7 @@
1349
1349
  opacity: 1;
1350
1350
  }
1351
1351
  }
1352
- ._desktop-content_64o6g_176 {
1352
+ ._desktop-content_rtt11_176 {
1353
1353
  box-sizing: border-box;
1354
1354
  transform: translateX(-0.5%);
1355
1355
  padding: var(--lp-sys-padding-component-200);
@@ -1361,45 +1361,45 @@
1361
1361
  z-index: 10;
1362
1362
  box-shadow: var(--lp-sys-shadow-normal);
1363
1363
  }
1364
- ._desktop-content_64o6g_176[data-state=open] {
1365
- -webkit-animation: _slide-up_64o6g_1 0.2s cubic-bezier(0.39, 0.575, 0.565, 1) 0s both;
1366
- animation: _slide-up_64o6g_1 0.2s cubic-bezier(0.39, 0.575, 0.565, 1) 0s both;
1364
+ ._desktop-content_rtt11_176[data-state=open] {
1365
+ -webkit-animation: _slide-up_rtt11_1 0.2s cubic-bezier(0.39, 0.575, 0.565, 1) 0s both;
1366
+ animation: _slide-up_rtt11_1 0.2s cubic-bezier(0.39, 0.575, 0.565, 1) 0s both;
1367
1367
  }
1368
1368
  @media screen and (max-width: 600px) {
1369
- ._desktop-content_64o6g_176._responsive_64o6g_193 {
1369
+ ._desktop-content_rtt11_176._responsive_rtt11_193 {
1370
1370
  display: none !important;
1371
1371
  }
1372
1372
  }
1373
- ._header_64o6g_198 {
1373
+ ._header_rtt11_198 {
1374
1374
  display: flex;
1375
1375
  align-items: center;
1376
1376
  justify-content: space-between;
1377
1377
  gap: var(--lp-sys-gap-positive-200);
1378
1378
  padding-bottom: var(--lp-sys-padding-component-300);
1379
1379
  }
1380
- ._scrollAreaRoot_64o6g_206 {
1380
+ ._scrollAreaRoot_rtt11_206 {
1381
1381
  width: 100%;
1382
1382
  height: 100%;
1383
1383
  }
1384
- ._scrollAreaViewport_64o6g_211 {
1384
+ ._scrollAreaViewport_rtt11_211 {
1385
1385
  width: 100%;
1386
1386
  height: 100%;
1387
1387
  max-height: 268px;
1388
1388
  padding-bottom: var(--lp-sys-padding-component-150);
1389
1389
  }
1390
- ._scrollAreaScrollbar_64o6g_218 {
1390
+ ._scrollAreaScrollbar_rtt11_218 {
1391
1391
  width: var(--lp-pri-size-4);
1392
1392
  padding: 5px 2px;
1393
1393
  }
1394
- ._scrollAreaThumb_64o6g_223 {
1394
+ ._scrollAreaThumb_rtt11_223 {
1395
1395
  background: var(--neutral-fill-high);
1396
1396
  border-radius: var(--radius-xxl);
1397
1397
  }
1398
- ._desktop-label_64o6g_228 {
1398
+ ._desktop-label_rtt11_228 {
1399
1399
  padding: var(--lp-sys-padding-component-200);
1400
1400
  padding-bottom: var(--lp-sys-padding-component-150);
1401
1401
  }
1402
- ._item_64o6g_233 {
1402
+ ._item_rtt11_233 {
1403
1403
  display: flex;
1404
1404
  align-items: center;
1405
1405
  overflow: hidden;
@@ -1408,40 +1408,41 @@
1408
1408
  gap: var(--lp-sys-gap-positive-150);
1409
1409
  border-radius: var(--lp-sys-radius-s);
1410
1410
  padding: var(--lp-sys-padding-component-200);
1411
+ cursor: pointer;
1411
1412
  }
1412
- ._item_64o6g_233 > span {
1413
- cursor: arrow;
1413
+ ._item_rtt11_233 > span {
1414
+ cursor: pointer;
1414
1415
  -webkit-user-select: none;
1415
1416
  user-select: none;
1416
1417
  }
1417
- ._item_64o6g_233:focus {
1418
+ ._item_rtt11_233:focus {
1418
1419
  background: var(--neutral-fill-lowest-hover);
1419
1420
  outline: none;
1420
1421
  }
1421
- ._item_64o6g_233[data-state=checked] > span > p {
1422
+ ._item_rtt11_233[data-state=checked] > span > p {
1422
1423
  color: var(--brand-label-primary);
1423
1424
  font-weight: var(--lp-pri-font-weight-700);
1424
1425
  }
1425
- ._item_64o6g_233[data-disabled] {
1426
+ ._item_rtt11_233[data-disabled] {
1426
1427
  pointer-events: none !important;
1427
1428
  }
1428
- ._item_64o6g_233 > span:nth-child(1) {
1429
+ ._item_rtt11_233 > span:nth-child(1) {
1429
1430
  overflow: hidden;
1430
1431
  white-space: nowrap;
1431
1432
  text-overflow: ellipsis;
1432
1433
  width: 100%;
1433
1434
  }
1434
- ._icon_64o6g_265 {
1435
+ ._icon_rtt11_266 {
1435
1436
  display: flex;
1436
1437
  align-items: center;
1437
1438
  justify-content: center;
1438
1439
  }
1439
- ._itemIndicator_64o6g_271 {
1440
+ ._itemIndicator_rtt11_272 {
1440
1441
  display: flex;
1441
1442
  align-items: center;
1442
1443
  justify-content: center;
1443
1444
  }
1444
- ._badgeContainer_64o6g_277 {
1445
+ ._badgeContainer_rtt11_278 {
1445
1446
  display: flex;
1446
1447
  align-items: center;
1447
1448
  justify-content: center;
@@ -1451,7 +1452,7 @@
1451
1452
  border-radius: var(--lp-sys-radius-xs);
1452
1453
  margin-bottom: 12px;
1453
1454
  }
1454
- ._badge_64o6g_277 {
1455
+ ._badge_rtt11_278 {
1455
1456
  top: 0;
1456
1457
  width: fit-content;
1457
1458
  height: fit-content;
@@ -1467,7 +1468,7 @@
1467
1468
  padding: 1px var(--lp-sys-padding-component-150);
1468
1469
  border-radius: var(--lp-sys-radius-xs);
1469
1470
  }
1470
- ._badge_64o6g_277 > p {
1471
+ ._badge_rtt11_278 > p {
1471
1472
  color:
1472
1473
  linear-gradient(
1473
1474
  114deg,