@e1011/es-kit 1.1.34 → 1.1.38

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.
Files changed (44) hide show
  1. package/dist/hooks/esm/index.css +134 -134
  2. package/dist/hooks/index.css +134 -134
  3. package/dist/lib/cjs/src/core/ui/components/atoms/button/Button.js +1 -1
  4. package/dist/lib/cjs/src/core/ui/components/atoms/button/Button.js.map +1 -1
  5. package/dist/lib/cjs/src/core/ui/components/icon/IconBase.js.map +1 -1
  6. package/dist/lib/cjs/src/core/utils/helpers/date.js +1 -1
  7. package/dist/lib/cjs/src/core/utils/helpers/date.js.map +1 -1
  8. package/dist/lib/cjs/src/index.js +1 -1
  9. package/dist/lib/esm/src/core/ui/components/atoms/button/Button.js +1 -1
  10. package/dist/lib/esm/src/core/ui/components/atoms/button/Button.js.map +1 -1
  11. package/dist/lib/esm/src/core/ui/components/icon/IconBase.js.map +1 -1
  12. package/dist/lib/esm/src/core/utils/helpers/date.js +1 -1
  13. package/dist/lib/esm/src/core/utils/helpers/date.js.map +1 -1
  14. package/dist/lib/esm/src/index.js +1 -1
  15. package/dist/lib/tsconfig.tsbuildinfo +1 -1
  16. package/dist/types/src/core/ui/components/atoms/button/Button.d.ts +3 -1
  17. package/dist/types/src/core/ui/components/atoms/button/Button.d.ts.map +1 -1
  18. package/dist/types/src/core/ui/components/atoms/button/button.stories.d.ts.map +1 -1
  19. package/dist/types/src/core/ui/components/atoms/button/button.types.d.ts +5 -1
  20. package/dist/types/src/core/ui/components/atoms/button/button.types.d.ts.map +1 -1
  21. package/dist/types/src/core/ui/components/atoms/textAndContent/textAndContent.types.d.ts +2 -2
  22. package/dist/types/src/core/ui/components/atoms/textAndContent/textAndContent.types.d.ts.map +1 -1
  23. package/dist/types/src/core/ui/components/icon/IconBase.d.ts +3 -3
  24. package/dist/types/src/core/ui/components/icon/IconBase.d.ts.map +1 -1
  25. package/dist/types/src/core/utils/helpers/date.d.ts +4 -1
  26. package/dist/types/src/core/utils/helpers/date.d.ts.map +1 -1
  27. package/dist/ui/esm/src/core/ui/components/atoms/button/Button.js +1 -1
  28. package/dist/ui/esm/src/core/ui/components/atoms/button/Button.js.map +1 -1
  29. package/dist/ui/esm/src/core/ui/components/icon/IconBase.js.map +1 -1
  30. package/dist/ui/esm/src/core/ui/index.js +1 -1
  31. package/dist/ui/src/core/ui/components/atoms/button/Button.js +1 -1
  32. package/dist/ui/src/core/ui/components/atoms/button/Button.js.map +1 -1
  33. package/dist/ui/src/core/ui/components/icon/IconBase.js.map +1 -1
  34. package/dist/ui/src/core/ui/index.js +1 -1
  35. package/dist/ui/styles/generic.anims.css.map +1 -1
  36. package/dist/utils/esm/index.css +134 -134
  37. package/dist/utils/esm/src/core/utils/helpers/date.js +1 -1
  38. package/dist/utils/esm/src/core/utils/helpers/date.js.map +1 -1
  39. package/dist/utils/esm/src/core/utils/index.js +1 -1
  40. package/dist/utils/index.css +134 -134
  41. package/dist/utils/src/core/utils/helpers/date.js +1 -1
  42. package/dist/utils/src/core/utils/helpers/date.js.map +1 -1
  43. package/dist/utils/src/core/utils/index.js +1 -1
  44. package/package.json +1 -1
@@ -1,33 +1,3 @@
1
- .icon-module_icon-base-parent__nOMvW {
2
- line-height: 1px !important;
3
- }
4
-
5
- .icon-module_icon-base__S0tHf {
6
- min-width: var(--min-width);
7
- min-height: var(--min-height);
8
- width: var(--width) !important;
9
- height: var(--height) !important;
10
- line-height: 1px !important;
11
- background-color: var(--icon-color);
12
- color: var(--icon-content-color);
13
- background-repeat: no-repeat;
14
- mask-image: var(--icon-url);
15
- -webkit-mask-image: var(--icon-url);
16
- mask-repeat: no-repeat;
17
- -webkit-mask-repeat: no-repeat;
18
- mask-size: contain;
19
- -webkit-mask-size: contain;
20
- mask-position: center;
21
- -webkit-mask-position: center;
22
- display: inline-block;
23
- will-change: transform;
24
- transform: translate3d(0, 0, 0);
25
- }
26
- .icon-module_icon-base__S0tHf svg {
27
- fill: var(--icon-content-color);
28
- width: var(--height);
29
- height: var(--width);
30
- }
31
1
  .CollapsibleContainer-module_collapsible-container__u0Jmm {
32
2
  transform-origin: 0% 0%;
33
3
  opacity: 0;
@@ -61,6 +31,36 @@
61
31
  max-width: var(--prop-value);
62
32
  opacity: 1;
63
33
  }
34
+ .icon-module_icon-base-parent__nOMvW {
35
+ line-height: 1px !important;
36
+ }
37
+
38
+ .icon-module_icon-base__S0tHf {
39
+ min-width: var(--min-width);
40
+ min-height: var(--min-height);
41
+ width: var(--width) !important;
42
+ height: var(--height) !important;
43
+ line-height: 1px !important;
44
+ background-color: var(--icon-color);
45
+ color: var(--icon-content-color);
46
+ background-repeat: no-repeat;
47
+ mask-image: var(--icon-url);
48
+ -webkit-mask-image: var(--icon-url);
49
+ mask-repeat: no-repeat;
50
+ -webkit-mask-repeat: no-repeat;
51
+ mask-size: contain;
52
+ -webkit-mask-size: contain;
53
+ mask-position: center;
54
+ -webkit-mask-position: center;
55
+ display: inline-block;
56
+ will-change: transform;
57
+ transform: translate3d(0, 0, 0);
58
+ }
59
+ .icon-module_icon-base__S0tHf svg {
60
+ fill: var(--icon-content-color);
61
+ width: var(--height);
62
+ height: var(--width);
63
+ }
64
64
  .errorBoundary-module_errorBoundary__gk9ps {
65
65
  background: #EFEFEF;
66
66
  width: 100%;
@@ -230,77 +230,6 @@
230
230
  stroke-dashoffset: -124;
231
231
  }
232
232
  }
233
- .textAndContent-module_textAndContent__X5P1n {
234
- align-items: baseline;
235
- flex-shrink: 1;
236
- gap: 8px;
237
- }
238
- :root {
239
- --divider-line: #4a4b4b;
240
- }
241
-
242
- .typography-module_overflow-hidden__UmQ-v, .typography-module_text-truncate__8MgV9 {
243
- overflow: hidden !important;
244
- }
245
-
246
- .typography-module_text-nowrap__dt3uu, .typography-module_text-truncate__8MgV9 {
247
- white-space: nowrap !important;
248
- }
249
-
250
- .typography-module_text-ellipsis__iyHeZ, .typography-module_text-truncate__8MgV9 {
251
- text-overflow: ellipsis !important;
252
- }
253
-
254
- .typography-module_headline__b0XlP {
255
- font-size: 28px;
256
- line-height: 32px;
257
- }
258
-
259
- .typography-module_headlineSecondary__IDnhT {
260
- font-size: 24px;
261
- line-height: 28px;
262
- }
263
-
264
- .typography-module_headlineTertiary__mlG-v {
265
- font-size: 18px;
266
- line-height: 24x;
267
- }
268
-
269
- .typography-module_paragraph__tgBAx, .typography-module_paragraphBold__PmcZU, .typography-module_paragraphBoldSmall__qExmY, .typography-module_paragraphSmall__vTMiI {
270
- font-size: 14px;
271
- line-height: 18px;
272
- font-weight: 300;
273
- }
274
-
275
- .typography-module_paragraphSmall__vTMiI, .typography-module_paragraphBoldSmall__qExmY {
276
- font-size: 12px;
277
- }
278
-
279
- .typography-module_paragraphBold__PmcZU, .typography-module_paragraphBoldSmall__qExmY {
280
- font-weight: 600;
281
- }
282
-
283
- .typography-module_link__DWurf {
284
- overflow: hidden !important;
285
- white-space: nowrap !important;
286
- text-overflow: ellipsis !important;
287
- text-decoration: none;
288
- color: #65C5F6;
289
- display: inline;
290
- gap: 4px;
291
- flex-grow: 0;
292
- max-width: 400px;
293
- position: relative;
294
- vertical-align: center;
295
- }
296
- .typography-module_link__DWurf:hover:not(.typography-module_disabled__hjK8C) {
297
- text-decoration: underline;
298
- color: #65C5F6;
299
- }
300
- .typography-module_link__DWurf.typography-module_disabled__hjK8C {
301
- pointer-events: none;
302
- opacity: 0.6;
303
- }
304
233
  :root {
305
234
  --divider-line: #4a4b4b;
306
235
  }
@@ -415,28 +344,89 @@
415
344
  .cui-theme-light .button-module_button__NDMQS {
416
345
  color: #090A0A;
417
346
  }
418
- .popup-overlay-module_popup-modal-overlay__dlJqM {
419
- z-index: 1;
420
- position: fixed;
421
- width: 100%;
422
- height: 100%;
423
- top: 0;
424
- left: 0;
425
- background: rgba(40, 80, 120, 0.8) !important;
426
- pointer-events: all;
427
- user-select: none;
428
- will-change: opacity;
429
- transition: opacity 450ms ease-in-out;
430
- opacity: 0;
431
- visibility: hidden;
347
+ .textAndContent-module_textAndContent__X5P1n {
348
+ align-items: baseline;
349
+ flex-shrink: 1;
350
+ gap: 8px;
432
351
  }
433
- .popup-overlay-module_popup-modal-overlay__dlJqM[data-show] {
434
- opacity: 1;
435
- visibility: visible;
352
+ :root {
353
+ --divider-line: #4a4b4b;
436
354
  }
437
- .popup-overlay-module_popup-modal-overlay__dlJqM[data-show=false] {
438
- opacity: 0;
439
- visibility: hidden;
355
+
356
+ .typography-module_overflow-hidden__UmQ-v, .typography-module_text-truncate__8MgV9 {
357
+ overflow: hidden !important;
358
+ }
359
+
360
+ .typography-module_text-nowrap__dt3uu, .typography-module_text-truncate__8MgV9 {
361
+ white-space: nowrap !important;
362
+ }
363
+
364
+ .typography-module_text-ellipsis__iyHeZ, .typography-module_text-truncate__8MgV9 {
365
+ text-overflow: ellipsis !important;
366
+ }
367
+
368
+ .typography-module_headline__b0XlP {
369
+ font-size: 28px;
370
+ line-height: 32px;
371
+ }
372
+
373
+ .typography-module_headlineSecondary__IDnhT {
374
+ font-size: 24px;
375
+ line-height: 28px;
376
+ }
377
+
378
+ .typography-module_headlineTertiary__mlG-v {
379
+ font-size: 18px;
380
+ line-height: 24x;
381
+ }
382
+
383
+ .typography-module_paragraph__tgBAx, .typography-module_paragraphBold__PmcZU, .typography-module_paragraphBoldSmall__qExmY, .typography-module_paragraphSmall__vTMiI {
384
+ font-size: 14px;
385
+ line-height: 18px;
386
+ font-weight: 300;
387
+ }
388
+
389
+ .typography-module_paragraphSmall__vTMiI, .typography-module_paragraphBoldSmall__qExmY {
390
+ font-size: 12px;
391
+ }
392
+
393
+ .typography-module_paragraphBold__PmcZU, .typography-module_paragraphBoldSmall__qExmY {
394
+ font-weight: 600;
395
+ }
396
+
397
+ .typography-module_link__DWurf {
398
+ overflow: hidden !important;
399
+ white-space: nowrap !important;
400
+ text-overflow: ellipsis !important;
401
+ text-decoration: none;
402
+ color: #65C5F6;
403
+ display: inline;
404
+ gap: 4px;
405
+ flex-grow: 0;
406
+ max-width: 400px;
407
+ position: relative;
408
+ vertical-align: center;
409
+ }
410
+ .typography-module_link__DWurf:hover:not(.typography-module_disabled__hjK8C) {
411
+ text-decoration: underline;
412
+ color: #65C5F6;
413
+ }
414
+ .typography-module_link__DWurf.typography-module_disabled__hjK8C {
415
+ pointer-events: none;
416
+ opacity: 0.6;
417
+ }
418
+ .flowLayout-module_flowLayout__VHpnY {
419
+ overflow: auto;
420
+ }
421
+ .flowLayout-module_flowLayout__VHpnY .flowLayout-module_beforeContent__rY-mW {
422
+ display: flex;
423
+ width: 100%;
424
+ min-width: 0;
425
+ }
426
+ .flowLayout-module_flowLayout__VHpnY .flowLayout-module_afterContent__Hlh8v {
427
+ display: flex;
428
+ width: 100%;
429
+ min-width: 0;
440
430
  }
441
431
  :root {
442
432
  --divider-line: #4a4b4b;
@@ -602,6 +592,29 @@
602
592
  border-color: #FD8F3E;
603
593
  color: #632E03;
604
594
  }
595
+ .popup-overlay-module_popup-modal-overlay__dlJqM {
596
+ z-index: 1;
597
+ position: fixed;
598
+ width: 100%;
599
+ height: 100%;
600
+ top: 0;
601
+ left: 0;
602
+ background: rgba(40, 80, 120, 0.8) !important;
603
+ pointer-events: all;
604
+ user-select: none;
605
+ will-change: opacity;
606
+ transition: opacity 450ms ease-in-out;
607
+ opacity: 0;
608
+ visibility: hidden;
609
+ }
610
+ .popup-overlay-module_popup-modal-overlay__dlJqM[data-show] {
611
+ opacity: 1;
612
+ visibility: visible;
613
+ }
614
+ .popup-overlay-module_popup-modal-overlay__dlJqM[data-show=false] {
615
+ opacity: 0;
616
+ visibility: hidden;
617
+ }
605
618
  :root {
606
619
  --divider-line: #4a4b4b;
607
620
  }
@@ -698,19 +711,6 @@
698
711
  background-color: #090A0A;
699
712
  color: #F4F4F4;
700
713
  }
701
- .flowLayout-module_flowLayout__VHpnY {
702
- overflow: auto;
703
- }
704
- .flowLayout-module_flowLayout__VHpnY .flowLayout-module_beforeContent__rY-mW {
705
- display: flex;
706
- width: 100%;
707
- min-width: 0;
708
- }
709
- .flowLayout-module_flowLayout__VHpnY .flowLayout-module_afterContent__Hlh8v {
710
- display: flex;
711
- width: 100%;
712
- min-width: 0;
713
- }
714
714
  :root {
715
715
  --divider-line: #4a4b4b;
716
716
  }
@@ -1,33 +1,3 @@
1
- .icon-module_icon-base-parent__nOMvW {
2
- line-height: 1px !important;
3
- }
4
-
5
- .icon-module_icon-base__S0tHf {
6
- min-width: var(--min-width);
7
- min-height: var(--min-height);
8
- width: var(--width) !important;
9
- height: var(--height) !important;
10
- line-height: 1px !important;
11
- background-color: var(--icon-color);
12
- color: var(--icon-content-color);
13
- background-repeat: no-repeat;
14
- mask-image: var(--icon-url);
15
- -webkit-mask-image: var(--icon-url);
16
- mask-repeat: no-repeat;
17
- -webkit-mask-repeat: no-repeat;
18
- mask-size: contain;
19
- -webkit-mask-size: contain;
20
- mask-position: center;
21
- -webkit-mask-position: center;
22
- display: inline-block;
23
- will-change: transform;
24
- transform: translate3d(0, 0, 0);
25
- }
26
- .icon-module_icon-base__S0tHf svg {
27
- fill: var(--icon-content-color);
28
- width: var(--height);
29
- height: var(--width);
30
- }
31
1
  .CollapsibleContainer-module_collapsible-container__u0Jmm {
32
2
  transform-origin: 0% 0%;
33
3
  opacity: 0;
@@ -61,6 +31,36 @@
61
31
  max-width: var(--prop-value);
62
32
  opacity: 1;
63
33
  }
34
+ .icon-module_icon-base-parent__nOMvW {
35
+ line-height: 1px !important;
36
+ }
37
+
38
+ .icon-module_icon-base__S0tHf {
39
+ min-width: var(--min-width);
40
+ min-height: var(--min-height);
41
+ width: var(--width) !important;
42
+ height: var(--height) !important;
43
+ line-height: 1px !important;
44
+ background-color: var(--icon-color);
45
+ color: var(--icon-content-color);
46
+ background-repeat: no-repeat;
47
+ mask-image: var(--icon-url);
48
+ -webkit-mask-image: var(--icon-url);
49
+ mask-repeat: no-repeat;
50
+ -webkit-mask-repeat: no-repeat;
51
+ mask-size: contain;
52
+ -webkit-mask-size: contain;
53
+ mask-position: center;
54
+ -webkit-mask-position: center;
55
+ display: inline-block;
56
+ will-change: transform;
57
+ transform: translate3d(0, 0, 0);
58
+ }
59
+ .icon-module_icon-base__S0tHf svg {
60
+ fill: var(--icon-content-color);
61
+ width: var(--height);
62
+ height: var(--width);
63
+ }
64
64
  .errorBoundary-module_errorBoundary__gk9ps {
65
65
  background: #EFEFEF;
66
66
  width: 100%;
@@ -230,77 +230,6 @@
230
230
  stroke-dashoffset: -124;
231
231
  }
232
232
  }
233
- .textAndContent-module_textAndContent__X5P1n {
234
- align-items: baseline;
235
- flex-shrink: 1;
236
- gap: 8px;
237
- }
238
- :root {
239
- --divider-line: #4a4b4b;
240
- }
241
-
242
- .typography-module_overflow-hidden__UmQ-v, .typography-module_text-truncate__8MgV9 {
243
- overflow: hidden !important;
244
- }
245
-
246
- .typography-module_text-nowrap__dt3uu, .typography-module_text-truncate__8MgV9 {
247
- white-space: nowrap !important;
248
- }
249
-
250
- .typography-module_text-ellipsis__iyHeZ, .typography-module_text-truncate__8MgV9 {
251
- text-overflow: ellipsis !important;
252
- }
253
-
254
- .typography-module_headline__b0XlP {
255
- font-size: 28px;
256
- line-height: 32px;
257
- }
258
-
259
- .typography-module_headlineSecondary__IDnhT {
260
- font-size: 24px;
261
- line-height: 28px;
262
- }
263
-
264
- .typography-module_headlineTertiary__mlG-v {
265
- font-size: 18px;
266
- line-height: 24x;
267
- }
268
-
269
- .typography-module_paragraph__tgBAx, .typography-module_paragraphBold__PmcZU, .typography-module_paragraphBoldSmall__qExmY, .typography-module_paragraphSmall__vTMiI {
270
- font-size: 14px;
271
- line-height: 18px;
272
- font-weight: 300;
273
- }
274
-
275
- .typography-module_paragraphSmall__vTMiI, .typography-module_paragraphBoldSmall__qExmY {
276
- font-size: 12px;
277
- }
278
-
279
- .typography-module_paragraphBold__PmcZU, .typography-module_paragraphBoldSmall__qExmY {
280
- font-weight: 600;
281
- }
282
-
283
- .typography-module_link__DWurf {
284
- overflow: hidden !important;
285
- white-space: nowrap !important;
286
- text-overflow: ellipsis !important;
287
- text-decoration: none;
288
- color: #65C5F6;
289
- display: inline;
290
- gap: 4px;
291
- flex-grow: 0;
292
- max-width: 400px;
293
- position: relative;
294
- vertical-align: center;
295
- }
296
- .typography-module_link__DWurf:hover:not(.typography-module_disabled__hjK8C) {
297
- text-decoration: underline;
298
- color: #65C5F6;
299
- }
300
- .typography-module_link__DWurf.typography-module_disabled__hjK8C {
301
- pointer-events: none;
302
- opacity: 0.6;
303
- }
304
233
  :root {
305
234
  --divider-line: #4a4b4b;
306
235
  }
@@ -415,28 +344,89 @@
415
344
  .cui-theme-light .button-module_button__NDMQS {
416
345
  color: #090A0A;
417
346
  }
418
- .popup-overlay-module_popup-modal-overlay__dlJqM {
419
- z-index: 1;
420
- position: fixed;
421
- width: 100%;
422
- height: 100%;
423
- top: 0;
424
- left: 0;
425
- background: rgba(40, 80, 120, 0.8) !important;
426
- pointer-events: all;
427
- user-select: none;
428
- will-change: opacity;
429
- transition: opacity 450ms ease-in-out;
430
- opacity: 0;
431
- visibility: hidden;
347
+ .textAndContent-module_textAndContent__X5P1n {
348
+ align-items: baseline;
349
+ flex-shrink: 1;
350
+ gap: 8px;
432
351
  }
433
- .popup-overlay-module_popup-modal-overlay__dlJqM[data-show] {
434
- opacity: 1;
435
- visibility: visible;
352
+ :root {
353
+ --divider-line: #4a4b4b;
436
354
  }
437
- .popup-overlay-module_popup-modal-overlay__dlJqM[data-show=false] {
438
- opacity: 0;
439
- visibility: hidden;
355
+
356
+ .typography-module_overflow-hidden__UmQ-v, .typography-module_text-truncate__8MgV9 {
357
+ overflow: hidden !important;
358
+ }
359
+
360
+ .typography-module_text-nowrap__dt3uu, .typography-module_text-truncate__8MgV9 {
361
+ white-space: nowrap !important;
362
+ }
363
+
364
+ .typography-module_text-ellipsis__iyHeZ, .typography-module_text-truncate__8MgV9 {
365
+ text-overflow: ellipsis !important;
366
+ }
367
+
368
+ .typography-module_headline__b0XlP {
369
+ font-size: 28px;
370
+ line-height: 32px;
371
+ }
372
+
373
+ .typography-module_headlineSecondary__IDnhT {
374
+ font-size: 24px;
375
+ line-height: 28px;
376
+ }
377
+
378
+ .typography-module_headlineTertiary__mlG-v {
379
+ font-size: 18px;
380
+ line-height: 24x;
381
+ }
382
+
383
+ .typography-module_paragraph__tgBAx, .typography-module_paragraphBold__PmcZU, .typography-module_paragraphBoldSmall__qExmY, .typography-module_paragraphSmall__vTMiI {
384
+ font-size: 14px;
385
+ line-height: 18px;
386
+ font-weight: 300;
387
+ }
388
+
389
+ .typography-module_paragraphSmall__vTMiI, .typography-module_paragraphBoldSmall__qExmY {
390
+ font-size: 12px;
391
+ }
392
+
393
+ .typography-module_paragraphBold__PmcZU, .typography-module_paragraphBoldSmall__qExmY {
394
+ font-weight: 600;
395
+ }
396
+
397
+ .typography-module_link__DWurf {
398
+ overflow: hidden !important;
399
+ white-space: nowrap !important;
400
+ text-overflow: ellipsis !important;
401
+ text-decoration: none;
402
+ color: #65C5F6;
403
+ display: inline;
404
+ gap: 4px;
405
+ flex-grow: 0;
406
+ max-width: 400px;
407
+ position: relative;
408
+ vertical-align: center;
409
+ }
410
+ .typography-module_link__DWurf:hover:not(.typography-module_disabled__hjK8C) {
411
+ text-decoration: underline;
412
+ color: #65C5F6;
413
+ }
414
+ .typography-module_link__DWurf.typography-module_disabled__hjK8C {
415
+ pointer-events: none;
416
+ opacity: 0.6;
417
+ }
418
+ .flowLayout-module_flowLayout__VHpnY {
419
+ overflow: auto;
420
+ }
421
+ .flowLayout-module_flowLayout__VHpnY .flowLayout-module_beforeContent__rY-mW {
422
+ display: flex;
423
+ width: 100%;
424
+ min-width: 0;
425
+ }
426
+ .flowLayout-module_flowLayout__VHpnY .flowLayout-module_afterContent__Hlh8v {
427
+ display: flex;
428
+ width: 100%;
429
+ min-width: 0;
440
430
  }
441
431
  :root {
442
432
  --divider-line: #4a4b4b;
@@ -602,6 +592,29 @@
602
592
  border-color: #FD8F3E;
603
593
  color: #632E03;
604
594
  }
595
+ .popup-overlay-module_popup-modal-overlay__dlJqM {
596
+ z-index: 1;
597
+ position: fixed;
598
+ width: 100%;
599
+ height: 100%;
600
+ top: 0;
601
+ left: 0;
602
+ background: rgba(40, 80, 120, 0.8) !important;
603
+ pointer-events: all;
604
+ user-select: none;
605
+ will-change: opacity;
606
+ transition: opacity 450ms ease-in-out;
607
+ opacity: 0;
608
+ visibility: hidden;
609
+ }
610
+ .popup-overlay-module_popup-modal-overlay__dlJqM[data-show] {
611
+ opacity: 1;
612
+ visibility: visible;
613
+ }
614
+ .popup-overlay-module_popup-modal-overlay__dlJqM[data-show=false] {
615
+ opacity: 0;
616
+ visibility: hidden;
617
+ }
605
618
  :root {
606
619
  --divider-line: #4a4b4b;
607
620
  }
@@ -698,19 +711,6 @@
698
711
  background-color: #090A0A;
699
712
  color: #F4F4F4;
700
713
  }
701
- .flowLayout-module_flowLayout__VHpnY {
702
- overflow: auto;
703
- }
704
- .flowLayout-module_flowLayout__VHpnY .flowLayout-module_beforeContent__rY-mW {
705
- display: flex;
706
- width: 100%;
707
- min-width: 0;
708
- }
709
- .flowLayout-module_flowLayout__VHpnY .flowLayout-module_afterContent__Hlh8v {
710
- display: flex;
711
- width: 100%;
712
- min-width: 0;
713
- }
714
714
  :root {
715
715
  --divider-line: #4a4b4b;
716
716
  }
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("../../../../../../_virtual/_rollupPluginBabelHelpers.js"),t=require("react"),a=require("../text/anchor-link/AnchorLink.js"),n=require("./button.module.scss.js"),r=require("../../../../utils/helpers/ui.js"),l=require("../../../../utils/helpers/text.js");const s={ENTER:{key:"Enter",keyCode:13}},o=t.memo((e=>{let{variant:n,href:l,target:s,children:o,...i}=e;return"link"===n?t.createElement(a.AnchorLink,{href:l,target:s,...i,onClick:r.noop},o):t.createElement("span",{},o)}));o.displayName="InnerElement";const i=t.memo((a=>{let{label:i,children:u,variant:d,tiny:c,truncate:p,fluid:m,preventDefualt:f,stopPropagation:h,onClick:k,type:v="button",transparent:y,hasShadow:E,hasIcon:b,disabled:g,animated:I=!1,className:N="",id:q,href:x,target:C,...P}=a;const j=`${i||u?.toString()}`,D=t.useCallback((e=>{f&&e.preventDefault(),h&&(e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()),k?.(e)}),[k,f,h]),R=t.useCallback((e=>{e.key===s.ENTER.key&&(f&&e.preventDefault(),h&&(e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()),k?.(e))}),[k,f,h]);return React.createElement("button",e.extends({type:v,tabIndex:-1,onClick:D,onKeyDown:R,className:r.classNames(n.default.button,c&&n.default.tiny,d&&n.default[d],p&&n.default.truncate,m&&n.default.fluid,I&&n.default.animated,y&&n.default.transparent,E&&n.default.hasShadow,b&&n.default.hasIcon,g&&n.default.disabled,N),id:`${q||j&&l.composeId(j)}`,"data-testid":`${P.dataTestId||P["data-testid"]||q||j&&l.composeId(j)}`},P),React.createElement(o,{variant:d,href:x,target:C},i&&i,u||u))}));i.displayName="Button",exports.Button=i,exports.keys=s;
1
+ "use strict";var e=require("../../../../../../_virtual/_rollupPluginBabelHelpers.js"),t=require("react"),a=require("../text/anchor-link/AnchorLink.js"),n=require("./button.module.scss.js"),r=require("../../../../utils/helpers/ui.js"),o=require("../../../../utils/helpers/text.js"),i=require("../../icon/IconBase.js");const s={ENTER:{key:"Enter",keyCode:13}},l=t.memo((e=>{let{variant:n,href:o,target:i,children:s,...l}=e;return"link"===n?t.createElement(a.AnchorLink,{href:o,target:i,...l,onClick:r.noop},s):t.createElement("span",{},s)}));l.displayName="InnerElement";const c=t.memo((a=>{let{label:i,children:c,variant:d,tiny:u,truncate:p,fluid:m,preventDefualt:h,stopPropagation:f,onClick:E,type:k="button",transparent:I,hasShadow:g,hasIcon:y,disabled:b,animated:v=!1,className:C="",id:x,href:N,target:j,...q}=a;const B=`${i||c?.toString()}`,P=t.useCallback((e=>{h&&e.preventDefault(),f&&(e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()),E?.(e)}),[E,h,f]),R=t.useCallback((e=>{e.key===s.ENTER.key&&(h&&e.preventDefault(),f&&(e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()),E?.(e))}),[E,h,f]);return React.createElement("button",e.extends({type:k,tabIndex:-1,onClick:P,onKeyDown:R,className:r.classNames(n.default.button,u&&n.default.tiny,d&&n.default[d],p&&n.default.truncate,m&&n.default.fluid,v&&n.default.animated,I&&n.default.transparent,g&&n.default.hasShadow,y&&n.default.hasIcon,b&&n.default.disabled,C),id:`${x||B&&o.composeId(B)}`,"data-testid":`${q.dataTestId||q["data-testid"]||x||B&&o.composeId(B)}`},q),React.createElement(l,{variant:d,href:N,target:j},i&&i,c||c))}));c.displayName="Button";const d=["iconUrl","minWidth","minHeight","width","height","size","fontSize","color"],u=t.memo((t=>{const a={},n={};return Object.entries(t).forEach((e=>{let[t,r]=e;d.includes(t)?n[t]=r:a[t]=r})),n.children=t.children,React.createElement(c,e.extends({},a,{hasIcon:!0}),t.iconContent&&t.iconContent,!t.iconContent&&React.createElement(i.IconBase,n))}));u.displayName="IconButton",exports.Button=c,exports.IconButton=u,exports.keys=s;
2
2
  //# sourceMappingURL=Button.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.js","sources":["../../../../../../../../../src/core/ui/components/atoms/button/Button.tsx"],"sourcesContent":["import { memo, useCallback, MouseEvent, KeyboardEvent, createElement, FC, HTMLAttributes } from 'react'\n\nimport { classNames, composeId, noop } from '../../../../utils'\nimport { Alerts } from '../../../../constants'\nimport { AnchorLink } from '../text/anchor-link/AnchorLink'\n\nimport type { ButtonProps } from './button.types'\nimport classes from './button.module.scss'\n\nexport const keys = {\n ENTER: {\n key: 'Enter',\n keyCode: 13,\n },\n}\n\ntype InnerElementsProps = Partial<ButtonProps> & Partial<HTMLAttributes<HTMLAnchorElement>>\n\nconst InnerElement: FC<InnerElementsProps> = memo(({\n variant, href, target, children, ...props\n}: Omit<InnerElementsProps, 'onClick'>) => {\n if (variant === 'link') {\n return createElement(AnchorLink, { href, target, ...props, onClick: noop }, children)\n }\n return createElement('span', {}, children)\n})\n\nInnerElement.displayName = 'InnerElement'\n\n/**\n * Button component for displaying buttons with optional features.\n * @component\n *\n * Generated component from Template\n * @param {object} props - The component props.\n * @param {string} props.label - The value to be displayed in the button.\n * @param {ReactNode} [props.children] - Additional content to be displayed inside the button.\n * @param {string} [props.variant] - The variant of the button (e.g., 'primary', 'secondary').\n * @param {boolean} [props.tiny] - Whether the button should be tiny.\n * @param {boolean} [props.truncate] - Whether the content inside the button should be truncated.\n * @param {boolean} [props.fluid] - Whether the button should have a fluid width.\n * @param {boolean} [props.animated=true] - Whether the button should have animation (default is true).\n * @param {string} [props.className] - Additional classes to be applied to the button.\n * @param {...object} props.props - Additional props to be spread to the underlying div element.\n *\n * @returns {JSX.Element} The rendered Button component.\n */\nexport const Button = memo(({\n label, children,\n variant, tiny, truncate, fluid,\n preventDefualt, stopPropagation,\n onClick,\n type = 'button',\n transparent,\n hasShadow,\n hasIcon,\n disabled,\n animated = false, className = '', id,\n href,\n target,\n ...props\n}: ButtonProps) => {\n const textFromChildren: string | undefined = `${label || children?.toString()}`\n\n const clickHandler = useCallback((event: MouseEvent) => {\n if (preventDefualt) {\n event.preventDefault()\n }\n if (stopPropagation) {\n event.stopPropagation()\n event.nativeEvent.stopImmediatePropagation()\n }\n onClick?.(event)\n }, [onClick, preventDefualt, stopPropagation])\n\n const keyDownHandler = useCallback((event: KeyboardEvent) => {\n if (event.key === keys.ENTER.key) {\n if (preventDefualt) {\n event.preventDefault()\n }\n if (stopPropagation) {\n event.stopPropagation()\n event.nativeEvent.stopImmediatePropagation()\n }\n onClick?.(event)\n }\n }, [onClick, preventDefualt, stopPropagation])\n\n return (\n <button\n // eslint-disable-next-line react/button-has-type\n type={type}\n tabIndex={-1}\n onClick={clickHandler}\n onKeyDown={keyDownHandler}\n className={classNames(\n classes.button,\n tiny && classes.tiny,\n variant && classes[variant as Alerts],\n truncate && classes.truncate,\n fluid && classes.fluid,\n animated && classes.animated,\n transparent && classes.transparent,\n hasShadow && classes.hasShadow,\n hasIcon && classes.hasIcon,\n disabled && classes.disabled,\n className,\n )}\n id={`${id || (textFromChildren && composeId(textFromChildren))}`}\n data-testid={`${(props as Record<string, string>).dataTestId || (props as Record<string, string>)['data-testid'] || id || (textFromChildren && composeId(textFromChildren))}`}\n {...props}\n >\n <InnerElement variant={variant} href={href} target={target}>\n {label && label}\n {children || children}\n </InnerElement>\n </button>\n )\n})\n\nexport type ButtonType = typeof Button\n\n// Set display name for the component.\nButton.displayName = 'Button'\n"],"names":["keys","ENTER","key","keyCode","InnerElement","memo","_ref","variant","href","target","children","props","createElement","AnchorLink","onClick","noop","displayName","Button","_ref2","label","tiny","truncate","fluid","preventDefualt","stopPropagation","type","transparent","hasShadow","hasIcon","disabled","animated","className","id","textFromChildren","toString","clickHandler","useCallback","event","preventDefault","nativeEvent","stopImmediatePropagation","keyDownHandler","React","_extends","tabIndex","onKeyDown","classNames","classes","default","button","composeId","dataTestId"],"mappings":"yRASO,MAAMA,EAAO,CAClBC,MAAO,CACLC,IAAK,QACLC,QAAS,KAMPC,EAAuCC,EAAIA,MAACC,IAEP,IAFQC,QACjDA,EAAOC,KAAEA,EAAIC,OAAEA,EAAMC,SAAEA,KAAaC,GACAL,EACpC,MAAgB,SAAZC,EACKK,EAAAA,cAAcC,EAAAA,WAAY,CAAEL,OAAMC,YAAWE,EAAOG,QAASC,EAAAA,MAAQL,GAEvEE,gBAAc,OAAQ,CAAE,EAAEF,EAAS,IAG5CN,EAAaY,YAAc,qBAoBdC,EAASZ,EAAIA,MAACa,IAcR,IAdSC,MAC1BA,EAAKT,SAAEA,EAAQH,QACfA,EAAOa,KAAEA,EAAIC,SAAEA,EAAQC,MAAEA,EAAKC,eAC9BA,EAAcC,gBAAEA,EAAeV,QAC/BA,EAAOW,KACPA,EAAO,SAAQC,YACfA,EAAWC,UACXA,EAASC,QACTA,EAAOC,SACPA,EAAQC,SACRA,GAAW,EAAKC,UAAEA,EAAY,GAAEC,GAAEA,EAAExB,KACpCA,EAAIC,OACJA,KACGE,GACSO,EACZ,MAAMe,EAAuC,GAAGd,GAAST,GAAUwB,aAE7DC,EAAeC,EAAWA,aAAEC,IAC5Bd,GACFc,EAAMC,iBAEJd,IACFa,EAAMb,kBACNa,EAAME,YAAYC,4BAEpB1B,IAAUuB,EAAM,GACf,CAACvB,EAASS,EAAgBC,IAEvBiB,EAAiBL,EAAWA,aAAEC,IAC9BA,EAAMnC,MAAQF,EAAKC,MAAMC,MACvBqB,GACFc,EAAMC,iBAEJd,IACFa,EAAMb,kBACNa,EAAME,YAAYC,4BAEpB1B,IAAUuB,GACZ,GACC,CAACvB,EAASS,EAAgBC,IAE7B,OACEkB,MAAA9B,cAAA,SAAA+B,UAAA,CAEElB,KAAMA,EACNmB,UAAW,EACX9B,QAASqB,EACTU,UAAWJ,EACXV,UAAWe,EAAUA,WACnBC,EAAOC,QAACC,OACR7B,GAAQ2B,EAAOC,QAAC5B,KAChBb,GAAWwC,EAAAA,QAAQxC,GACnBc,GAAY0B,EAAOC,QAAC3B,SACpBC,GAASyB,UAAQzB,MACjBQ,GAAYiB,EAAAA,QAAQjB,SACpBJ,GAAeqB,EAAAA,QAAQrB,YACvBC,GAAaoB,EAAOC,QAACrB,UACrBC,GAAWmB,EAAOC,QAACpB,QACnBC,GAAYkB,EAAOC,QAACnB,SACpBE,GAEFC,GAAI,GAAGA,GAAOC,GAAoBiB,EAASA,UAACjB,KAC5C,cAAa,GAAItB,EAAiCwC,YAAexC,EAAiC,gBAAkBqB,GAAOC,GAAoBiB,YAAUjB,MACrJtB,GAEJ+B,MAAA9B,cAACR,EAAY,CAACG,QAASA,EAASC,KAAMA,EAAMC,OAAQA,GACjDU,GAASA,EACTT,GAAYA,GAER,IAObO,EAAOD,YAAc"}
1
+ {"version":3,"file":"Button.js","sources":["../../../../../../../../../src/core/ui/components/atoms/button/Button.tsx"],"sourcesContent":["import { memo, useCallback, MouseEvent, KeyboardEvent, createElement, FC, HTMLAttributes } from 'react'\n\nimport { classNames, composeId, noop } from '../../../../utils'\nimport { Alerts } from '../../../../constants'\nimport { AnchorLink } from '../text/anchor-link/AnchorLink'\nimport { IconBase, IconBaseProps } from '../../icon'\n\nimport type { ButtonProps, IconButtonProps } from './button.types'\nimport classes from './button.module.scss'\n\nexport const keys = {\n ENTER: {\n key: 'Enter',\n keyCode: 13,\n },\n}\n\ntype InnerElementsProps = Partial<ButtonProps> & Partial<HTMLAttributes<HTMLAnchorElement>>\n\nconst InnerElement: FC<InnerElementsProps> = memo(({\n variant, href, target, children, ...props\n}: Omit<InnerElementsProps, 'onClick'>) => {\n if (variant === 'link') {\n return createElement(AnchorLink, { href, target, ...props, onClick: noop }, children)\n }\n return createElement('span', {}, children)\n})\n\nInnerElement.displayName = 'InnerElement'\n\n/**\n * Button component for displaying buttons with optional features.\n * @component\n *\n * Generated component from Template\n * @param {object} props - The component props.\n * @param {string} props.label - The value to be displayed in the button.\n * @param {ReactNode} [props.children] - Additional content to be displayed inside the button.\n * @param {string} [props.variant] - The variant of the button (e.g., 'primary', 'secondary').\n * @param {boolean} [props.tiny] - Whether the button should be tiny.\n * @param {boolean} [props.truncate] - Whether the content inside the button should be truncated.\n * @param {boolean} [props.fluid] - Whether the button should have a fluid width.\n * @param {boolean} [props.animated=true] - Whether the button should have animation (default is true).\n * @param {string} [props.className] - Additional classes to be applied to the button.\n * @param {...object} props.props - Additional props to be spread to the underlying div element.\n *\n * @returns {JSX.Element} The rendered Button component.\n */\nexport const Button = memo(({\n label, children,\n variant, tiny, truncate, fluid,\n preventDefualt, stopPropagation,\n onClick,\n type = 'button',\n transparent,\n hasShadow,\n hasIcon,\n disabled,\n animated = false, className = '', id,\n href,\n target,\n ...props\n}: ButtonProps) => {\n const textFromChildren: string | undefined = `${label || children?.toString()}`\n\n const clickHandler = useCallback((event: MouseEvent) => {\n if (preventDefualt) {\n event.preventDefault()\n }\n if (stopPropagation) {\n event.stopPropagation()\n event.nativeEvent.stopImmediatePropagation()\n }\n onClick?.(event)\n }, [onClick, preventDefualt, stopPropagation])\n\n const keyDownHandler = useCallback((event: KeyboardEvent) => {\n if (event.key === keys.ENTER.key) {\n if (preventDefualt) {\n event.preventDefault()\n }\n if (stopPropagation) {\n event.stopPropagation()\n event.nativeEvent.stopImmediatePropagation()\n }\n onClick?.(event)\n }\n }, [onClick, preventDefualt, stopPropagation])\n\n return (\n <button\n // eslint-disable-next-line react/button-has-type\n type={type}\n tabIndex={-1}\n onClick={clickHandler}\n onKeyDown={keyDownHandler}\n className={classNames(\n classes.button,\n tiny && classes.tiny,\n variant && classes[variant as Alerts],\n truncate && classes.truncate,\n fluid && classes.fluid,\n animated && classes.animated,\n transparent && classes.transparent,\n hasShadow && classes.hasShadow,\n hasIcon && classes.hasIcon,\n disabled && classes.disabled,\n className,\n )}\n id={`${id || (textFromChildren && composeId(textFromChildren))}`}\n data-testid={`${(props as Record<string, string>).dataTestId || (props as Record<string, string>)['data-testid'] || id || (textFromChildren && composeId(textFromChildren))}`}\n {...props}\n >\n <InnerElement variant={variant} href={href} target={target}>\n {label && label}\n {children || children}\n </InnerElement>\n </button>\n )\n})\n\nexport type ButtonType = typeof Button\n\n// Set display name for the component.\nButton.displayName = 'Button'\n\nconst iconBaseProps = [\n 'iconUrl',\n 'minWidth',\n 'minHeight',\n 'width',\n 'height',\n 'size',\n 'fontSize',\n 'color',\n]\n\nexport const IconButton: FC<IconButtonProps> = memo<IconButtonProps>((props: IconButtonProps) => {\n const buttonProps: Record<string, unknown> = {}\n const iconProps: Record<string, unknown> = {}\n\n Object.entries(props).forEach(([name, value]: [string, unknown]) => {\n if (iconBaseProps.includes(name)) {\n // eslint-disable-next-line no-param-reassign\n iconProps[name] = value\n } else {\n buttonProps[name] = value\n }\n })\n\n iconProps.children = props.children\n\n return (\n <Button {...(buttonProps as ButtonProps)} hasIcon>\n {props.iconContent && props.iconContent}\n {!props.iconContent && (<IconBase {...(iconProps as IconBaseProps)} />)}\n </Button>\n )\n})\n\nIconButton.displayName = 'IconButton'\n"],"names":["keys","ENTER","key","keyCode","InnerElement","memo","_ref","variant","href","target","children","props","createElement","AnchorLink","onClick","noop","displayName","Button","_ref2","label","tiny","truncate","fluid","preventDefualt","stopPropagation","type","transparent","hasShadow","hasIcon","disabled","animated","className","id","textFromChildren","toString","clickHandler","useCallback","event","preventDefault","nativeEvent","stopImmediatePropagation","keyDownHandler","React","_extends","tabIndex","onKeyDown","classNames","classes","default","button","composeId","dataTestId","iconBaseProps","IconButton","buttonProps","iconProps","Object","entries","forEach","_ref3","name","value","includes","iconContent","IconBase"],"mappings":"6TAUO,MAAMA,EAAO,CAClBC,MAAO,CACLC,IAAK,QACLC,QAAS,KAMPC,EAAuCC,EAAIA,MAACC,IAEP,IAFQC,QACjDA,EAAOC,KAAEA,EAAIC,OAAEA,EAAMC,SAAEA,KAAaC,GACAL,EACpC,MAAgB,SAAZC,EACKK,EAAAA,cAAcC,EAAAA,WAAY,CAAEL,OAAMC,YAAWE,EAAOG,QAASC,EAAAA,MAAQL,GAEvEE,gBAAc,OAAQ,CAAE,EAAEF,EAAS,IAG5CN,EAAaY,YAAc,qBAoBdC,EAASZ,EAAIA,MAACa,IAcR,IAdSC,MAC1BA,EAAKT,SAAEA,EAAQH,QACfA,EAAOa,KAAEA,EAAIC,SAAEA,EAAQC,MAAEA,EAAKC,eAC9BA,EAAcC,gBAAEA,EAAeV,QAC/BA,EAAOW,KACPA,EAAO,SAAQC,YACfA,EAAWC,UACXA,EAASC,QACTA,EAAOC,SACPA,EAAQC,SACRA,GAAW,EAAKC,UAAEA,EAAY,GAAEC,GAAEA,EAAExB,KACpCA,EAAIC,OACJA,KACGE,GACSO,EACZ,MAAMe,EAAuC,GAAGd,GAAST,GAAUwB,aAE7DC,EAAeC,EAAWA,aAAEC,IAC5Bd,GACFc,EAAMC,iBAEJd,IACFa,EAAMb,kBACNa,EAAME,YAAYC,4BAEpB1B,IAAUuB,EAAM,GACf,CAACvB,EAASS,EAAgBC,IAEvBiB,EAAiBL,EAAWA,aAAEC,IAC9BA,EAAMnC,MAAQF,EAAKC,MAAMC,MACvBqB,GACFc,EAAMC,iBAEJd,IACFa,EAAMb,kBACNa,EAAME,YAAYC,4BAEpB1B,IAAUuB,GACZ,GACC,CAACvB,EAASS,EAAgBC,IAE7B,OACEkB,MAAA9B,cAAA,SAAA+B,UAAA,CAEElB,KAAMA,EACNmB,UAAW,EACX9B,QAASqB,EACTU,UAAWJ,EACXV,UAAWe,EAAUA,WACnBC,EAAOC,QAACC,OACR7B,GAAQ2B,EAAOC,QAAC5B,KAChBb,GAAWwC,EAAAA,QAAQxC,GACnBc,GAAY0B,EAAOC,QAAC3B,SACpBC,GAASyB,UAAQzB,MACjBQ,GAAYiB,EAAAA,QAAQjB,SACpBJ,GAAeqB,EAAAA,QAAQrB,YACvBC,GAAaoB,EAAOC,QAACrB,UACrBC,GAAWmB,EAAOC,QAACpB,QACnBC,GAAYkB,EAAOC,QAACnB,SACpBE,GAEFC,GAAI,GAAGA,GAAOC,GAAoBiB,EAASA,UAACjB,KAC5C,cAAa,GAAItB,EAAiCwC,YAAexC,EAAiC,gBAAkBqB,GAAOC,GAAoBiB,YAAUjB,MACrJtB,GAEJ+B,MAAA9B,cAACR,EAAY,CAACG,QAASA,EAASC,KAAMA,EAAMC,OAAQA,GACjDU,GAASA,EACTT,GAAYA,GAER,IAObO,EAAOD,YAAc,SAErB,MAAMoC,EAAgB,CACpB,UACA,WACA,YACA,QACA,SACA,OACA,WACA,SAGWC,EAAkChD,EAAIA,MAAmBM,IACpE,MAAM2C,EAAuC,CAAA,EACvCC,EAAqC,CAAA,EAa3C,OAXAC,OAAOC,QAAQ9C,GAAO+C,SAAQC,IAAsC,IAApCC,EAAMC,GAAyBF,EACzDP,EAAcU,SAASF,GAEzBL,EAAUK,GAAQC,EAElBP,EAAYM,GAAQC,CACtB,IAGFN,EAAU7C,SAAWC,EAAMD,SAGzBgC,MAAA9B,cAACK,EAAM0B,EAAAA,WAAMW,EAAW,CAAkB1B,SAAO,IAC9CjB,EAAMoD,aAAepD,EAAMoD,aAC1BpD,EAAMoD,aAAgBrB,MAAA9B,cAACoD,WAAcT,GAChC,IAIbF,EAAWrC,YAAc"}
@@ -1 +1 @@
1
- {"version":3,"file":"IconBase.js","sources":["../../../../../../../../src/core/ui/components/icon/IconBase.tsx"],"sourcesContent":["import { CSSProperties, memo, useMemo, FC, PropsWithChildren, MouseEvent } from 'react'\n\nimport classes from './icon.module.scss'\nimport { unifyIconUrl } from './unifyIconUrl'\n\n\nexport type IconBaseType = PropsWithChildren<unknown> & {\n id?: string\n iconUrl?: string | null\n minWidth?: string | null\n minHeight?: string | null\n width?: string | null\n height?: string | null\n size?: string | null\n fontSize?: string | null\n color?: string | null\n className?: string | null\n style?: CSSProperties | null\n onClick?: (event?: MouseEvent<HTMLSpanElement> | undefined) => void\n}\n\nexport const IconBase: FC<IconBaseType> = memo<IconBaseType>(({\n iconUrl, minWidth, minHeight, size,\n fontSize, width, height, color = 'currentColor', className = '', children, style, onClick, ...props\n}: IconBaseType) => {\n const unifiedIconUrl = iconUrl && unifyIconUrl(iconUrl)\n\n const styles = useMemo(() => (\n {\n '--min-width': minWidth || size || width || 'auto',\n '--min-height': minHeight || size || height || 'auto',\n '--width': size || width || '1rem',\n '--height': size || height || '1rem',\n ...(fontSize ? { fontSize } : {}),\n ...(unifiedIconUrl ? { '--icon-url': `url(${unifiedIconUrl})` } : {}),\n ...(unifiedIconUrl ? { '--icon-color': color } : { '--icon-content-color': color }),\n ...(onClick ? { cursor: 'pointer' } : {}),\n ...style,\n }\n ), [minWidth, size, width, minHeight, height, fontSize, unifiedIconUrl, color, onClick, style])\n\n const onClickProps = useMemo(() => (onClick ? ({\n onClick,\n role: 'button',\n tabIndex: -1,\n }) : {}), [onClick])\n\n return (\n <span\n {...props}\n {...onClickProps}\n className={`${classes['icon-base']} icon-base ${className}`}\n style={styles as CSSProperties}\n >\n {(!unifiedIconUrl && children) && children}\n </span>\n )\n})\n\nIconBase.displayName = 'IconBase'\n"],"names":["IconBase","memo","_ref","iconUrl","minWidth","minHeight","size","fontSize","width","height","color","className","children","style","onClick","props","unifiedIconUrl","unifyIconUrl","styles","useMemo","cursor","onClickProps","role","tabIndex","React","createElement","_extends","extends","classes","default","displayName"],"mappings":"8KAqBaA,EAA6BC,EAAIA,MAAeC,IAGzC,IAH0CC,QAC5DA,EAAOC,SAAEA,EAAQC,UAAEA,EAASC,KAAEA,EAAIC,SAClCA,EAAQC,MAAEA,EAAKC,OAAEA,EAAMC,MAAEA,EAAQ,eAAcC,UAAEA,EAAY,GAAEC,SAAEA,EAAQC,MAAEA,EAAKC,QAAEA,KAAYC,GACjFb,EACb,MAAMc,EAAiBb,GAAWc,EAAYA,aAACd,GAEzCe,EAASC,EAAAA,SAAQ,KACrB,CACE,cAAef,GAAYE,GAAQE,GAAS,OAC5C,eAAgBH,GAAaC,GAAQG,GAAU,OAC/C,UAAWH,GAAQE,GAAS,OAC5B,WAAYF,GAAQG,GAAU,UAC1BF,EAAW,CAAEA,YAAa,MAC1BS,EAAiB,CAAE,aAAc,OAAOA,MAAsB,MAC9DA,EAAiB,CAAE,eAAgBN,GAAU,CAAE,uBAAwBA,MACvEI,EAAU,CAAEM,OAAQ,WAAc,MACnCP,KAEJ,CAACT,EAAUE,EAAME,EAAOH,EAAWI,EAAQF,EAAUS,EAAgBN,EAAOI,EAASD,IAElFQ,EAAeF,WAAQ,IAAOL,EAAW,CAC7CA,UACAQ,KAAM,SACNC,UAAW,GACR,CAAG,GAAE,CAACT,IAEX,OACEU,MAAAC,cAAA,OAAAC,EAAAC,QACMZ,CAAAA,EAAAA,EACAM,EAAY,CAChBV,UAAW,GAAGiB,EAAOC,QAAC,0BAA0BlB,IAChDE,MAAOK,KAEJF,GAAkBJ,GAAaA,EAC7B,IAIXZ,EAAS8B,YAAc"}
1
+ {"version":3,"file":"IconBase.js","sources":["../../../../../../../../src/core/ui/components/icon/IconBase.tsx"],"sourcesContent":["import { CSSProperties, memo, useMemo, FC, PropsWithChildren, MouseEvent } from 'react'\n\nimport classes from './icon.module.scss'\nimport { unifyIconUrl } from './unifyIconUrl'\n\n\nexport type IconBaseProps = PropsWithChildren<unknown> & {\n id?: string\n iconUrl?: string | null\n minWidth?: string | null\n minHeight?: string | null\n width?: string | null\n height?: string | null\n size?: string | null\n fontSize?: string | null\n color?: string | null\n className?: string | null\n style?: CSSProperties | null\n onClick?: (event: MouseEvent | KeyboardEvent) => void\n}\n\nexport const IconBase: FC<IconBaseProps> = memo<IconBaseProps>(({\n iconUrl, minWidth, minHeight, size,\n fontSize, width, height, color = 'currentColor', className = '', children, style, onClick, ...props\n}: IconBaseProps) => {\n const unifiedIconUrl = iconUrl && unifyIconUrl(iconUrl)\n\n const styles = useMemo(() => (\n {\n '--min-width': minWidth || size || width || 'auto',\n '--min-height': minHeight || size || height || 'auto',\n '--width': size || width || '1rem',\n '--height': size || height || '1rem',\n ...(fontSize ? { fontSize } : {}),\n ...(unifiedIconUrl ? { '--icon-url': `url(${unifiedIconUrl})` } : {}),\n ...(unifiedIconUrl ? { '--icon-color': color } : { '--icon-content-color': color }),\n ...(onClick ? { cursor: 'pointer' } : {}),\n ...style,\n }\n ), [minWidth, size, width, minHeight, height, fontSize, unifiedIconUrl, color, onClick, style])\n\n const onClickProps = useMemo(() => (onClick ? ({\n onClick,\n role: 'button',\n tabIndex: -1,\n }) : {}), [onClick])\n\n return (\n <span\n {...props}\n {...onClickProps}\n className={`${classes['icon-base']} icon-base ${className}`}\n style={styles as CSSProperties}\n >\n {(!unifiedIconUrl && children) && children}\n </span>\n )\n})\n\nIconBase.displayName = 'IconBase'\n"],"names":["IconBase","memo","_ref","iconUrl","minWidth","minHeight","size","fontSize","width","height","color","className","children","style","onClick","props","unifiedIconUrl","unifyIconUrl","styles","useMemo","cursor","onClickProps","role","tabIndex","React","createElement","_extends","extends","classes","default","displayName"],"mappings":"8KAqBaA,EAA8BC,EAAIA,MAAgBC,IAG1C,IAH2CC,QAC9DA,EAAOC,SAAEA,EAAQC,UAAEA,EAASC,KAAEA,EAAIC,SAClCA,EAAQC,MAAEA,EAAKC,OAAEA,EAAMC,MAAEA,EAAQ,eAAcC,UAAEA,EAAY,GAAEC,SAAEA,EAAQC,MAAEA,EAAKC,QAAEA,KAAYC,GAChFb,EACd,MAAMc,EAAiBb,GAAWc,EAAYA,aAACd,GAEzCe,EAASC,EAAAA,SAAQ,KACrB,CACE,cAAef,GAAYE,GAAQE,GAAS,OAC5C,eAAgBH,GAAaC,GAAQG,GAAU,OAC/C,UAAWH,GAAQE,GAAS,OAC5B,WAAYF,GAAQG,GAAU,UAC1BF,EAAW,CAAEA,YAAa,MAC1BS,EAAiB,CAAE,aAAc,OAAOA,MAAsB,MAC9DA,EAAiB,CAAE,eAAgBN,GAAU,CAAE,uBAAwBA,MACvEI,EAAU,CAAEM,OAAQ,WAAc,MACnCP,KAEJ,CAACT,EAAUE,EAAME,EAAOH,EAAWI,EAAQF,EAAUS,EAAgBN,EAAOI,EAASD,IAElFQ,EAAeF,WAAQ,IAAOL,EAAW,CAC7CA,UACAQ,KAAM,SACNC,UAAW,GACR,CAAG,GAAE,CAACT,IAEX,OACEU,MAAAC,cAAA,OAAAC,EAAAC,QACMZ,CAAAA,EAAAA,EACAM,EAAY,CAChBV,UAAW,GAAGiB,EAAOC,QAAC,0BAA0BlB,IAChDE,MAAOK,KAEJF,GAAkBJ,GAAaA,EAC7B,IAIXZ,EAAS8B,YAAc"}
@@ -1,2 +1,2 @@
1
- "use strict";function t(t){return t&&t.__esModule?t:{default:t}}var e=t(require("dayjs"));exports.DATE_FORMAT="MM-DD-YYYY HH-mm",exports.formatDateToTimestamp=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;return e.default(t).format("YYYY-MM-DD HH:mm:ss")},exports.getDate=()=>(new Date).toString();
1
+ "use strict";function t(t){return t&&t.__esModule?t:{default:t}}var e=t(require("dayjs"));const r="MM-DD-YYYY",a="MM-DD-YYYY HH-mm-ss";exports.DATE_FORMAT=r,exports.DATE_TIME_FORMAT=a,exports.formatDate=t=>e.default(t).format(r),exports.formatDateTime=t=>e.default(t).format(a),exports.formatDateToTimestamp=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;return e.default(t).format("YYYY-MM-DD HH:mm:ss")},exports.getDate=()=>(new Date).toString();
2
2
  //# sourceMappingURL=date.js.map