@fpkit/acss 0.4.19 → 0.5.2

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 (119) hide show
  1. package/libs/chunk-TBM2QIVT.js +8 -0
  2. package/libs/chunk-TBM2QIVT.js.map +1 -0
  3. package/libs/chunk-VAH6X2DZ.cjs +31 -0
  4. package/libs/chunk-VAH6X2DZ.cjs.map +1 -0
  5. package/libs/components/badge/badge.css +1 -1
  6. package/libs/components/badge/badge.css.map +1 -1
  7. package/libs/components/badge/badge.min.css +2 -2
  8. package/libs/components/buttons/button.css +1 -1
  9. package/libs/components/buttons/button.css.map +1 -1
  10. package/libs/components/buttons/button.min.css +2 -2
  11. package/libs/components/cards/card.css +1 -1
  12. package/libs/components/cards/card.css.map +1 -1
  13. package/libs/components/cards/card.min.css +2 -2
  14. package/libs/components/details/details.css +1 -1
  15. package/libs/components/details/details.css.map +1 -1
  16. package/libs/components/details/details.min.css +2 -2
  17. package/libs/components/icons/icon.css +1 -1
  18. package/libs/components/icons/icon.css.map +1 -1
  19. package/libs/components/icons/icon.min.css +2 -2
  20. package/libs/{icons-1f5afc0c.d.ts → icons-2f29127c.d.ts} +32 -1
  21. package/libs/icons.cjs +2 -2
  22. package/libs/icons.d.cts +1 -1
  23. package/libs/icons.d.ts +1 -1
  24. package/libs/icons.js +1 -1
  25. package/libs/index.cjs +37 -37
  26. package/libs/index.cjs.map +1 -1
  27. package/libs/index.css +1 -1
  28. package/libs/index.css.map +1 -1
  29. package/libs/index.d.cts +8 -5
  30. package/libs/index.d.ts +8 -5
  31. package/libs/index.js +6 -6
  32. package/libs/index.js.map +1 -1
  33. package/package.json +3 -2
  34. package/src/components/badge/badge.scss +1 -0
  35. package/src/components/badge/badge.stories.tsx +3 -3
  36. package/src/components/breadcrumbs/breadcrumb.stories.tsx +26 -10
  37. package/src/components/breadcrumbs/breadcrumb.tsx +48 -40
  38. package/src/components/buttons/button.scss +3 -4
  39. package/src/components/buttons/button.stories.tsx +50 -28
  40. package/src/components/buttons/button.test.tsx +1 -1
  41. package/src/components/buttons/button.tsx +31 -4
  42. package/src/components/cards/card.scss +5 -3
  43. package/src/components/cards/card.stories.tsx +4 -4
  44. package/src/components/cards/card.tsx +0 -1
  45. package/src/components/details/details.scss +12 -3
  46. package/src/components/details/details.stories.tsx +20 -4
  47. package/src/components/details/details.tsx +2 -1
  48. package/src/components/form/form.stories.tsx +2 -2
  49. package/src/components/form/input.stories.tsx +2 -2
  50. package/src/components/form/select.stories.tsx +2 -2
  51. package/src/components/form/select.tsx +23 -33
  52. package/src/components/fp.test.tsx +1 -1
  53. package/src/components/heading/heading.stories.tsx +2 -2
  54. package/src/components/heading/heading.tsx +2 -2
  55. package/src/components/icons/components/svg.tsx +1 -0
  56. package/src/components/icons/icon.scss +2 -0
  57. package/src/components/icons/icon.stories.tsx +23 -3
  58. package/src/components/icons/icon.tsx +11 -0
  59. package/src/components/icons/types.ts +1 -1
  60. package/src/components/images/figure.stories.tsx +3 -6
  61. package/src/components/images/img.stories.tsx +3 -3
  62. package/src/components/layout/footer.stories.tsx +2 -2
  63. package/src/components/layout/landmarks.stories.tsx +2 -2
  64. package/src/components/layout/main.stories.tsx +2 -2
  65. package/src/components/link/link.stories.tsx +2 -2
  66. package/src/components/list/list.stories.tsx +7 -2
  67. package/src/components/nav/nav.stories.tsx +4 -3
  68. package/src/components/popover/popover.stories.tsx +2 -2
  69. package/src/components/progress/progress.stories.tsx +2 -2
  70. package/src/components/tag/tag.stories.tsx +3 -3
  71. package/src/components/text/text.stories.tsx +6 -6
  72. package/src/patterns/page/page-header.stories.tsx +2 -2
  73. package/src/sass/_globals.scss +9 -7
  74. package/src/styles/badge/badge.css +1 -0
  75. package/src/styles/badge/badge.css.map +1 -1
  76. package/src/styles/buttons/button.css +3 -3
  77. package/src/styles/buttons/button.css.map +1 -1
  78. package/src/styles/cards/card.css +2 -3
  79. package/src/styles/cards/card.css.map +1 -1
  80. package/src/styles/details/details.css +11 -3
  81. package/src/styles/details/details.css.map +1 -1
  82. package/src/styles/icons/icon.css +2 -0
  83. package/src/styles/icons/icon.css.map +1 -1
  84. package/src/styles/index.css +26 -16
  85. package/src/styles/index.css.map +1 -1
  86. package/LICENSE +0 -21
  87. package/dist/chunk-77CZU5XZ.cjs +0 -9
  88. package/dist/chunk-77CZU5XZ.cjs.map +0 -1
  89. package/dist/chunk-D43FJIRQ.cjs +0 -31
  90. package/dist/chunk-D43FJIRQ.cjs.map +0 -1
  91. package/dist/chunk-GJWMCDFS.js +0 -9
  92. package/dist/chunk-GJWMCDFS.js.map +0 -1
  93. package/dist/chunk-PCDUGD3C.js +0 -5
  94. package/dist/chunk-PCDUGD3C.js.map +0 -1
  95. package/dist/hooks.cjs +0 -10
  96. package/dist/hooks.cjs.map +0 -1
  97. package/dist/hooks.d.cts +0 -32
  98. package/dist/hooks.d.ts +0 -32
  99. package/dist/hooks.js +0 -8
  100. package/dist/hooks.js.map +0 -1
  101. package/dist/icon-e6044c73.d.ts +0 -227
  102. package/dist/icons.cjs +0 -73
  103. package/dist/icons.cjs.map +0 -1
  104. package/dist/icons.d.cts +0 -252
  105. package/dist/icons.d.ts +0 -252
  106. package/dist/icons.js +0 -4
  107. package/dist/icons.js.map +0 -1
  108. package/dist/index.cjs +0 -59
  109. package/dist/index.cjs.map +0 -1
  110. package/dist/index.d.cts +0 -566
  111. package/dist/index.d.ts +0 -566
  112. package/dist/index.js +0 -11
  113. package/dist/index.js.map +0 -1
  114. package/libs/chunk-QHIABQNQ.js +0 -8
  115. package/libs/chunk-QHIABQNQ.js.map +0 -1
  116. package/libs/chunk-ZOHIKF6I.cjs +0 -31
  117. package/libs/chunk-ZOHIKF6I.cjs.map +0 -1
  118. package/src/components/popover/node_modules/.vitest/results.json +0 -1
  119. package/src/hooks/popover/node_modules/.vitest/results.json +0 -1
@@ -330,6 +330,7 @@ section:not(nav) {
330
330
  }
331
331
 
332
332
  p {
333
+ max-width: 75ch;
333
334
  max-width: 75ch;
334
335
  font-size: var(--fs-0);
335
336
  line-height: 1.6;
@@ -344,7 +345,7 @@ ol {
344
345
  flex-direction: var(--li-direction, column);
345
346
  gap: var(--li-gap, 0.2rem);
346
347
  flex-wrap: var(--li-wrap, nowrap);
347
- padding-inline-start: var(--li-ps, var(--spc-0));
348
+ padding-inline-start: var(--li-ps, var(--spc-2));
348
349
  }
349
350
  ul[role=list], ul[data-list~=unstyled],
350
351
  ol[role=list],
@@ -359,6 +360,7 @@ ol[data-list~=inline] {
359
360
  --li-gap: 1rem;
360
361
  --li-wrap: wrap;
361
362
  --li-px: 0;
363
+ --li-pi: 0;
362
364
  }
363
365
 
364
366
  sup {
@@ -388,27 +390,27 @@ h6 {
388
390
  }
389
391
 
390
392
  h1 {
391
- font-size: var(--h1, var(--fs-7));
393
+ font-size: var(--h1, var(--fs-6));
392
394
  }
393
395
 
394
396
  h2 {
395
- font-size: var(--h2, var(--fs-6));
397
+ font-size: var(--h2, var(--fs-5));
396
398
  }
397
399
 
398
400
  h3 {
399
- font-size: var(--h3, var(--fs-5));
401
+ font-size: var(--h3, var(--fs-4));
400
402
  }
401
403
 
402
404
  h4 {
403
- font-size: var(--h4, var(--fs-4));
405
+ font-size: var(--h4, var(--fs-3));
404
406
  }
405
407
 
406
408
  h5 {
407
- font-size: var(--h5, var(--fs-3));
409
+ font-size: var(--h5, var(--fs-2));
408
410
  }
409
411
 
410
412
  h6 {
411
- font-size: var(--h6, var(--fs-2));
413
+ font-size: var(--h6, var(--fs-1));
412
414
  }
413
415
 
414
416
  hr {
@@ -446,9 +448,9 @@ button {
446
448
  --btn-md: calc(16rem / 16);
447
449
  --btn-lg: calc(21rem / 16);
448
450
  --btn-pill: 100rem;
449
- --btn-height: calc(40rem / 16);
451
+ --btn-height: 2.5rem;
450
452
  --fs: 0.95rem;
451
- --btn-fs: calc(15rem / 16);
453
+ --btn-fs: 0.9375rem;
452
454
  --btn-bg: lightgray;
453
455
  --btn-width: max-content;
454
456
  font-size: var(--btn-fs);
@@ -489,7 +491,7 @@ button:is(:hover, :focus) {
489
491
  background-color: var(--btn-bg, var(--btn, lightgray));
490
492
  filter: invert(1) hue-rotate 180deg;
491
493
  transform: scale(0.95) var(--line-style, solid);
492
- outline-offset: var(--line-offset, 5px);
494
+ outline-offset: var(--line-offset, 1px);
493
495
  }
494
496
  button:is(:hover, :focus)[aria-disabled=true] {
495
497
  transform: none;
@@ -651,7 +653,7 @@ figure:has(img[alt]) > figcaption {
651
653
  --card-position: relative;
652
654
  --card-display: flex;
653
655
  --card-direction: column;
654
- --card-gap: 1.5rem;
656
+ --card-gap: 1rem;
655
657
  }
656
658
 
657
659
  [data-card],
@@ -663,13 +665,12 @@ figure:has(img[alt]) > figcaption {
663
665
  background-color: var(--card-bg);
664
666
  text-align: var(--card-align, left);
665
667
  }
666
- [data-card] [data-card-content],
667
668
  [data-card] h3,
668
669
  [data-card] h2,
669
- [data-component~=card] [data-card-content],
670
670
  [data-component~=card] h3,
671
671
  [data-component~=card] h2 {
672
672
  margin-block-end: 0;
673
+ padding-block-end: 0;
673
674
  }
674
675
  [data-card] + div,
675
676
  [data-component~=card] + div {
@@ -753,10 +754,10 @@ details {
753
754
  --details-border: 1px solid #dfdfdf;
754
755
  --details-display: flex;
755
756
  --details-justify: flex-start;
756
- --details-direction: columns;
757
- --details-gap: 5rem;
757
+ --details-direction: column;
758
+ --details-gap: 0rem;
758
759
  --details-px: 1.5rem;
759
- --details-py: 1.5rem;
760
+ --details-py: 1rem;
760
761
  --details-radius: 0.5rem;
761
762
  --summary-cursor: pointer;
762
763
  --summary-transitions: all 0.75s linear;
@@ -788,11 +789,18 @@ details summary {
788
789
  padding-block: var(--summary-py, var(--details-py));
789
790
  gap: var(--summary-gap);
790
791
  list-style: none;
792
+ border-top-left-radius: var(--details-radius);
793
+ border-top-right-radius: var(--details-radius);
791
794
  /* This ensures no bullet points are shown */
792
795
  }
793
796
  details summary::-webkit-details-marker {
794
797
  display: none;
795
798
  }
799
+ details summary:focus-within {
800
+ outline: none;
801
+ border-bottom: solid 2px var(--details-border);
802
+ background-color: whitesmoke;
803
+ }
796
804
  details summary:hover {
797
805
  cursor: var(--summary-cursor);
798
806
  }
@@ -802,6 +810,7 @@ details summary > section {
802
810
  details > section {
803
811
  padding-inline: var(--details-px);
804
812
  padding-block: var(--details-py);
813
+ margin-block-start: 0;
805
814
  border: 1px transparent solid;
806
815
  }
807
816
  details[open] {
@@ -1170,6 +1179,7 @@ sup:has(> span) {
1170
1179
  padding: var(--badge-padding);
1171
1180
  border-radius: var(--badge-radius);
1172
1181
  vertical-align: var(--badge-v-align);
1182
+ font-size: var(--badge-fs);
1173
1183
  }
1174
1184
  sup:has(> span) span {
1175
1185
  color: inherit;
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../sass/_reset.scss","../sass/_properties.scss","../sass/_globals.scss","../sass/_elements.scss","../components/buttons/button.scss","../components/tag/tag.scss","../components/images/img.scss","../components/cards/card.scss","../components/progress/progress.scss","../components/details/details.scss","../components/link/link.scss","../sass/_mixins.scss","../components/layout/_header.scss","../components/layout/landmarks.scss","../sass/_grid.scss","../components/badge/badge.scss","../components/nav/nav.scss","../components/form/form.scss","../components/breadcrumbs/breadcrumb.scss","../components/text-to-speech/text-to-speech.scss","../sass/styles/_shadows.scss"],"names":[],"mappings":"AAAA;AAAA;AAAA;EAGE;;;AAGF;AACE;AACA;EACA;AAEA;AACA;EACA;EACA;;;AAGF;AAAA;AAAA;AAGA;AAAA;EAEE;EACA;;;AAGF;AACA;EACE;;;AAGF;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAUE;;;AAGF;AAWA;AACA;EACE;EACA;EACA;;;AAGF;AACA;EACE;;;AAGF;AAAA;EAEE;;;AAGF;AACA;AAAA;AAAA;AAAA;EAIE;EACA;EACA;;;AAGF;AAAA;AAAA;EAGE;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;AACA;AAAA;AAAA;EAGE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;AACA;EACE;;;AAGF;AACA;EACE;IACE;;EAGF;AAAA;AAAA;IAGE;IACA;IACA;IACA;;;AAIJ;AACA;AAAA;EAEE;;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAOE;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;AACA;EACE;;;AAGF;EACE;AAEA;AAGA;EACA;;AAEA;EACE;EACA;EACA;;;ACpLJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAGA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EAEA;EACA;EAGA;EAEA;EAEA;EAEA;EAEA;EAEA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAGA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAGA;EACA;EACA;EACA;EACA;EACA;EAGA;EACA;EACA;EACA;EACA;EACA;;;ACxGF;EACE;AAAA;AAAA;EAGA;EACA;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;;AACA;EACE;;;AAKN;AAAA;AAAA;EAGE;;;AAGF;AAAA;AAAA;AAAA;EAIE;;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAEE;EACA;;AAEF;AAAA;AAAA;AAAA;EACE;;;AAKF;EACE;EACA;;;AAIJ;EACE;EACA;EACA;;AAEA;EACE;;;AAIJ;AAAA;EAEE;EACA;EACA;EACA;EACA;;AACA;AAAA;AAAA;EAEE;EACA;EACA;;AAEF;AAAA;EACE;EACA;EACA;EACA;;;AAIJ;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;EAME;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AC1JA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAEE;EACA;EACA;EACA;EACA;EACA;EACA;;;ACdJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EAEE;EACA;;AAGF;EAEE;;AAGA;EACE;;AAOJ;EAEE;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAIJ;EACE;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EAGE;;AAGF;EACE;;AAGF;EACE;;AAGF;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;;;AC/GN;AAAA;AAAA;AAAA;EAIE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;AAAA;AAAA;AAAA;EACE;;AAGF;AAAA;AAAA;AAAA;EACE;EACA;;AAGF;AAAA;AAAA;AAAA;EACE;EACA;;AAGF;AAAA;AAAA;AAAA;EACE;EACA;;AAGF;AAAA;AAAA;AAAA;EACE;EACA;;AAEF;AAAA;AAAA;AAAA;EACE;EACA;;;AAGJ;EACE;EACA;;;ACtDF;EACE;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAIA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;;;ACvCN;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;AAAA;EAEE;EACA;EACA;EACA;EACA;EACA;;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;EAGE;;AAEF;AAAA;EACE;;AAEF;AAAA;EACE;EACA;EACA;;AAGF;AAAA;EACE;;AAEF;AAAA;EAEE;;AAEF;AAAA;EACE;;;ACxCJ;AACE;EACA;EACA;EACA;EACA;EACA;EACA;AAEA;AACA;AACA;AA8BA;;AA7BA;EAEE;EACA;EACA;EACA;AAgBA;;AAbA;AACE;EACA;EACA;;AAIF;AACE;EACA;EACA;;AAIF;AACE;EACA;EACA;;AAKJ;EAEE;EACA;EAEA;AAcA;;AAZA;AACE;EAEA;;AAGF;EAGE;;AAIF;AACE;EAEA;;;ACjEN;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;AAMA;;AAJA;EACE;;AAKF;EACE;;AAEF;EACE;;AAIJ;EACE;EACA;EACA;;AAGF;EACE;EACA;;AACA;EACE;;AAEF;EACE;;;ACrEN;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAAA;EAEA;EACA;AAAA;EAGA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;AAAA;EAEE;EACA;;AAGF;EACE;;AAGF;EACE;EACA;;AAGF;EAEE;;AAGF;EAGE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EClEF;EACA;EACA;EACA;EACA;;AD+DE;EACE;EACA;;AAEF;EACE;;ACnEJ;EACE;;ADsEF;EAEE;EACA;EACA;;AACA;EAEE;;;AAKN;EACE;;;AE1FF;AAAA;AAAA;EAIE;EAEA;EAEA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AACA;AAAA;AAAA;EACE;;;AAEF;AAAA;AAAA;EACE;EAEA;;;AAEF;AAAA;AAAA;AAAA;AAAA;AAAA;EAEE;EACA;EACA;EACA;EACA;EACA;;;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;EACA;EACA;EACA;;;AAEF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAEE;EACA;;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;;AAEF;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;;AAEF;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;;AChEN;AAAA;EAEE;EACA;EACA;EACA;EACA;;AACA;AAAA;EACE;EACA;EACA;;;AAIJ;EACE;EACA;;AACA;AAAA;EAEE;EACA;;AACA;AAAA;EACE;EACA;EACA;EACA;;AACA;AAAA;EACE;EACA;EACA;;AAEF;AAAA;EACE;EACA;;;AAON;EACE;EACA;EACA;EACA;EACA;;;AChDJ;EACE;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAIA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EAEA;EACA;EACA;;AACA;EACE;EACA;;;AAIJ;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;EAIA;EACA;EACA;EACA;EACA;;;AClGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACE;;AAEF;EACE;EACA;;;ACjBJ;AAAA;EAEE;EACA;;AAEA;EALF;AAAA;IAMI;IACA;IACA;IACA;IACA;;;AAGA;AAAA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;AAAA;EACE;;AAEF;AAAA;EACE;;;AAMR;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;AAAA;EAEE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;AAAA;EACE;;AAKF;EACE;;AAKF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE;EACA;;AAGF;EACE;EACA;EACA;;AAGF;EACE;;;ACvFJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;;AACA;EACE;EACA;EACA;;AAGF;EACE;;;AAIJ;AAAA;AAAA;EAGE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;AAAA;AAAA;EACE;EACA;EACA;EACA;;AAGF;AAAA;AAAA;AAAA;AAAA;EACE;;AAKA;AAAA;AAAA;EACE;EACA;;AACA;AAAA;AAAA;EACE;;AAKN;AAAA;AAAA;EACE;EACA;EACA;EACA;;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;ACrFF;AAAA;EAEE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;AAAA;EACE;EACA;EACA;;AACA;AAAA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;AAAA;EACE;;AAEF;AAAA;EACE;;AACA;AAAA;EACE;EACA;;;AC7BV;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;;AACA;AAAA;EAEE;;AACA;AAAA;EACE;;;AC3BN;EACE;EACA;EACA;AAAA;EAEA;AAAA;EAEA;AAAA;EAEA;AAAA;;;AAIF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE","file":"index.css"}
1
+ {"version":3,"sourceRoot":"","sources":["../sass/_reset.scss","../sass/_properties.scss","../sass/_globals.scss","../sass/_elements.scss","../components/buttons/button.scss","../components/tag/tag.scss","../components/images/img.scss","../components/cards/card.scss","../components/progress/progress.scss","../components/details/details.scss","../components/link/link.scss","../sass/_mixins.scss","../components/layout/_header.scss","../components/layout/landmarks.scss","../sass/_grid.scss","../components/badge/badge.scss","../components/nav/nav.scss","../components/form/form.scss","../components/breadcrumbs/breadcrumb.scss","../components/text-to-speech/text-to-speech.scss","../sass/styles/_shadows.scss"],"names":[],"mappings":"AAAA;AAAA;AAAA;EAGE;;;AAGF;AACE;AACA;EACA;AAEA;AACA;EACA;EACA;;;AAGF;AAAA;AAAA;AAGA;AAAA;EAEE;EACA;;;AAGF;AACA;EACE;;;AAGF;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAUE;;;AAGF;AAWA;AACA;EACE;EACA;EACA;;;AAGF;AACA;EACE;;;AAGF;AAAA;EAEE;;;AAGF;AACA;AAAA;AAAA;AAAA;EAIE;EACA;EACA;;;AAGF;AAAA;AAAA;EAGE;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;AACA;AAAA;AAAA;EAGE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;AACA;EACE;;;AAGF;AACA;EACE;IACE;;EAGF;AAAA;AAAA;IAGE;IACA;IACA;IACA;;;AAIJ;AACA;AAAA;EAEE;;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAOE;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;AACA;EACE;;;AAGF;EACE;AAEA;AAGA;EACA;;AAEA;EACE;EACA;EACA;;;ACpLJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAGA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EAEA;EACA;EAGA;EAEA;EAEA;EAEA;EAEA;EAEA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAGA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAGA;EACA;EACA;EACA;EACA;EACA;EAGA;EACA;EACA;EACA;EACA;EACA;;;ACxGF;EACE;AAAA;AAAA;EAGA;EACA;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;;AACA;EACE;;;AAKN;AAAA;AAAA;EAGE;;;AAGF;AAAA;AAAA;AAAA;EAIE;;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAEE;EACA;;AAEF;AAAA;AAAA;AAAA;EACE;;;AAKF;EACE;EACA;;;AAIJ;EACE;EACA;EACA;EACA;;AAEA;EACE;;;AAIJ;AAAA;EAEE;EACA;EACA;EACA;EACA;;AACA;AAAA;AAAA;EAEE;EACA;EACA;;AAEF;AAAA;EACE;EACA;EACA;EACA;EACA;;;AAIJ;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;EAME;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AC5JA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAEE;EACA;EACA;EACA;EACA;EACA;EACA;;;ACdJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EAEE;EACA;;AAGF;EAEE;;AAGA;EACE;;AAOJ;EAEE;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAIJ;EACE;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EAGE;;AAGF;EACE;;AAGF;EACE;;AAGF;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACE;EACA;EACA;;;AC9GN;AAAA;AAAA;AAAA;EAIE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;AAAA;AAAA;AAAA;EACE;;AAGF;AAAA;AAAA;AAAA;EACE;EACA;;AAGF;AAAA;AAAA;AAAA;EACE;EACA;;AAGF;AAAA;AAAA;AAAA;EACE;EACA;;AAGF;AAAA;AAAA;AAAA;EACE;EACA;;AAEF;AAAA;AAAA;AAAA;EACE;EACA;;;AAGJ;EACE;EACA;;;ACtDF;EACE;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAIA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;;;ACvCN;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;AAAA;EAEE;EACA;EACA;EACA;EACA;EACA;;AAEA;AAAA;AAAA;AAAA;EAEE;EACA;;AAEF;AAAA;EACE;;AAEF;AAAA;EACE;EACA;EACA;;AAGF;AAAA;EACE;;AAEF;AAAA;EAEE;;AAEF;AAAA;EACE;;;ACzCJ;AACE;EACA;EACA;EACA;EACA;EACA;EACA;AAEA;AACA;AACA;AA8BA;;AA7BA;EAEE;EACA;EACA;EACA;AAgBA;;AAbA;AACE;EACA;EACA;;AAIF;AACE;EACA;EACA;;AAIF;AACE;EACA;EACA;;AAKJ;EAEE;EACA;EAEA;AAcA;;AAZA;AACE;EAEA;;AAGF;EAGE;;AAIF;AACE;EAEA;;;ACjEN;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAYA;;AAVA;EACE;;AAGF;EACE;EACA;EACA;;AAKF;EACE;;AAEF;EACE;;AAIJ;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;;AACA;EACE;;AAEF;EACE;;;AC9EN;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAAA;EAEA;EACA;AAAA;EAGA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;AAAA;EAEE;EACA;;AAGF;EACE;;AAGF;EACE;EACA;;AAGF;EAEE;;AAGF;EAGE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EClEF;EACA;EACA;EACA;EACA;;AD+DE;EACE;EACA;;AAEF;EACE;;ACnEJ;EACE;;ADsEF;EAEE;EACA;EACA;;AACA;EAEE;;;AAKN;EACE;;;AE1FF;AAAA;AAAA;EAIE;EAEA;EAEA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AACA;AAAA;AAAA;EACE;;;AAEF;AAAA;AAAA;EACE;EAEA;;;AAEF;AAAA;AAAA;AAAA;AAAA;AAAA;EAEE;EACA;EACA;EACA;EACA;EACA;;;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;EACA;EACA;EACA;;;AAEF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAEE;EACA;;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;;AAEF;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;;AAEF;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;;AChEN;AAAA;EAEE;EACA;EACA;EACA;EACA;;AACA;AAAA;EACE;EACA;EACA;;;AAIJ;EACE;EACA;;AACA;AAAA;EAEE;EACA;;AACA;AAAA;EACE;EACA;EACA;EACA;;AACA;AAAA;EACE;EACA;EACA;;AAEF;AAAA;EACE;EACA;;;AAON;EACE;EACA;EACA;EACA;EACA;;;AChDJ;EACE;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAIA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EAEA;EACA;EACA;;AACA;EACE;EACA;;;AAIJ;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;EAIA;EACA;EACA;EACA;EACA;;;AClGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACE;;AAEF;EACE;EACA;;;AClBJ;AAAA;EAEE;EACA;;AAEA;EALF;AAAA;IAMI;IACA;IACA;IACA;IACA;;;AAGA;AAAA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;AAAA;EACE;;AAEF;AAAA;EACE;;;AAMR;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;AAAA;EAEE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;AAAA;EACE;;AAKF;EACE;;AAKF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE;EACA;;AAGF;EACE;EACA;EACA;;AAGF;EACE;;;ACvFJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;;AACA;EACE;EACA;EACA;;AAGF;EACE;;;AAIJ;AAAA;AAAA;EAGE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;AAAA;AAAA;EACE;EACA;EACA;EACA;;AAGF;AAAA;AAAA;AAAA;AAAA;EACE;;AAKA;AAAA;AAAA;EACE;EACA;;AACA;AAAA;AAAA;EACE;;AAKN;AAAA;AAAA;EACE;EACA;EACA;EACA;;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;ACrFF;AAAA;EAEE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;AAAA;EACE;EACA;EACA;;AACA;AAAA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;AAAA;EACE;;AAEF;AAAA;EACE;;AACA;AAAA;EACE;EACA;;;AC7BV;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;;AACA;AAAA;EAEE;;AACA;AAAA;EACE;;;AC3BN;EACE;EACA;EACA;AAAA;EAEA;AAAA;EAEA;AAAA;EAEA;AAAA;;;AAIF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE","file":"index.css"}
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2022 Shawn Sandy
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,9 +0,0 @@
1
- 'use strict';
2
-
3
- var i=Object.defineProperty,j=Object.defineProperties;var k=Object.getOwnPropertyDescriptors;var e=Object.getOwnPropertySymbols;var g=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var f=(a,b,c)=>b in a?i(a,b,{enumerable:!0,configurable:!0,writable:!0,value:c}):a[b]=c,l=(a,b)=>{for(var c in b||(b={}))g.call(b,c)&&f(a,c,b[c]);if(e)for(var c of e(b))h.call(b,c)&&f(a,c,b[c]);return a},m=(a,b)=>j(a,k(b));var n=(a,b)=>{var c={};for(var d in a)g.call(a,d)&&b.indexOf(d)<0&&(c[d]=a[d]);if(a!=null&&e)for(var d of e(a))b.indexOf(d)<0&&h.call(a,d)&&(c[d]=a[d]);return c};
4
-
5
- exports.a = l;
6
- exports.b = m;
7
- exports.c = n;
8
- //# sourceMappingURL=out.js.map
9
- //# sourceMappingURL=chunk-77CZU5XZ.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
@@ -1,31 +0,0 @@
1
- 'use strict';
2
-
3
- var chunk77CZU5XZ_cjs = require('./chunk-77CZU5XZ.cjs');
4
- var j = require('react');
5
- var jsxRuntime = require('react/jsx-runtime');
6
-
7
- function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
8
-
9
- var j__default = /*#__PURE__*/_interopDefault(j);
10
-
11
- var oo=j__default.default.forwardRef((a,c)=>{var f=a,{as:r,renderStyles:l=!0,styles:s,children:p,defaultStyles:i}=f,m=chunk77CZU5XZ_cjs.c(f,["as","renderStyles","styles","children","defaultStyles"]);let d=r||"div",$=l?chunk77CZU5XZ_cjs.a(chunk77CZU5XZ_cjs.a({},i),s):{};return jsxRuntime.jsx(d,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({ref:c,style:$},m),{children:p}))}),Y=oo;var to={display:"inline-flex",alignItems:"center",width:"auto"},M=f=>{var d=f,{fill:r="currentColor",strokeColor:l,styles:s,size:p,role:i="img",alt:m,children:c}=d,a=chunk77CZU5XZ_cjs.c(d,["fill","strokeColor","styles","size","role","alt","children"]);return jsxRuntime.jsx("svg",chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({height:p,width:p,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",style:s,role:i,"aria-label":m},a),{children:c}))},t=M;M.displayName="Svg";M.styles=to;var lo=chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({},t.styles),{fill:"none",stroke:"currentColor"}),N=(a={})=>{var f=a,{strokeColor:r="currentColor",fill:l="none",size:s=16,styles:p,role:i="img",alt:m="Code icon"}=f,c=chunk77CZU5XZ_cjs.c(f,["strokeColor","fill","size","styles","role","alt"]);return jsxRuntime.jsx(t,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({size:s,role:i,alt:m,styles:p},c),{children:jsxRuntime.jsxs("g",{fill:l,stroke:r,strokeLinecap:"square",strokeLinejoin:"miter",strokeMiterlimit:"10",strokeWidth:"2",children:[jsxRuntime.jsx("rect",{height:"22",width:"18",fill:"none",stroke:r,x:"3",y:"1"}),jsxRuntime.jsx("polyline",{fill:"none",points:"9 9 6 12 9 15"}),jsxRuntime.jsx("polyline",{fill:"none",points:"15 15 18 12 15 9"})]})}))};N.styles=lo;var _=chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({},t.styles),{fill:"currentColor",stroke:"none"}),k=a=>{var f=a,{strokeColor:r="currentColor",fill:l="none",size:s=16,styles:p=_,role:i="img",alt:m="Home icon"}=f,c=chunk77CZU5XZ_cjs.c(f,["strokeColor","fill","size","styles","role","alt"]);return jsxRuntime.jsx(t,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({size:s,styles:p,role:i,alt:m},c),{children:jsxRuntime.jsx("g",{fill:l,stroke:r,strokeLinecap:"square",strokeLinejoin:"miter",strokeMiterlimit:"10",strokeWidth:"2",children:jsxRuntime.jsx("polygon",{fill:"none",points:"12 2 2 10 2 23 9 23 9 16 15 16 15 23 22 23 22 10 12 2",stroke:r})})}))};k.displayName="Home";k.styles=_;var io=chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({},t.styles),{fill:"currentColor"}),P=m=>{var c=m,{fill:r="currentColor",size:l=24,role:s="img",alt:p="Add icon"}=c,i=chunk77CZU5XZ_cjs.c(c,["fill","size","role","alt"]);return jsxRuntime.jsx(t,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({size:l,role:s,alt:p},i),{children:jsxRuntime.jsx("g",{fill:r,children:jsxRuntime.jsx("path",{d:"M17,11h-4V7c0-.553-.447-1-1-1s-1,.447-1,1v4H7c-.553,0-1,.447-1,1s.447,1,1,1h4v4c0,.553,.447,1,1,1s1-.447,1-1v-4h4c.553,0,1-.447,1-1s-.447-1-1-1Z",fill:r})})}))};P.styles=io;P.displayName="Add";var no=chunk77CZU5XZ_cjs.a({},t.styles),u=a=>{var f=a,{strokeColor:r="currentColor",fill:l="currentColor",size:s=16,styles:p,role:i="img",alt:m="Arrow pointing left"}=f,c=chunk77CZU5XZ_cjs.c(f,["strokeColor","fill","size","styles","role","alt"]);return jsxRuntime.jsx(t,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({size:s,styles:p,role:i},c),{alt:m,children:jsxRuntime.jsxs("g",{fill:l,strokeMiterlimit:"10",children:[jsxRuntime.jsx("line",{fill:"none",stroke:r,strokeLinecap:"butt",strokeLinejoin:"miter",strokeWidth:"2",x1:"22",x2:"2",y1:"12",y2:"12"}),jsxRuntime.jsx("polyline",{fill:"none",points:"9,19 2,12 9,5 ",stroke:r,strokeLinecap:"square",strokeLinejoin:"miter",strokeWidth:"2"})]})}))};u.styles=no;u.displayName="ArrowLeft";var mo=chunk77CZU5XZ_cjs.a({},t.styles),C=c=>{var a=c,{size:r=16,strokeColor:l="currentcolor",styles:s,role:p="img",alt:i="Chat icon"}=a,m=chunk77CZU5XZ_cjs.c(a,["size","strokeColor","styles","role","alt"]);return jsxRuntime.jsx(t,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({size:r,styles:s,role:p,alt:i},m),{children:jsxRuntime.jsx("g",{fill:l,strokeMiterlimit:"10",children:jsxRuntime.jsx("path",{d:"M21,2H3c-1.105,0-2,.895-2,2V15c0,1.105,.895,2,2,2h5l4,5,4-5h5c1.105,0,2-.895,2-2V4c0-1.105-.895-2-2-2Z",fill:"none",stroke:l,strokeLinecap:"square",strokeLinejoin:"miter",strokeWidth:"2"})})}))};C.styles=mo;C.displayName="Chat";var ao=chunk77CZU5XZ_cjs.a({},t.styles),x=a=>{var f=a,{fill:r="currentColor",strokeColor:l,styles:s,size:p=16,role:i="img",alt:m="Down icon"}=f,c=chunk77CZU5XZ_cjs.c(f,["fill","strokeColor","styles","size","role","alt"]);return jsxRuntime.jsx(t,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({size:p,role:i,styles:s,alt:m},c),{children:jsxRuntime.jsxs("g",{fill:r,strokeMiterlimit:"10",children:[jsxRuntime.jsx("line",{fill:"none",stroke:r,strokeLinecap:"butt",strokeLinejoin:"miter",strokeWidth:"2",x1:"12",x2:"12",y1:"2",y2:"22"}),jsxRuntime.jsx("polyline",{fill:"none",points:"19,15 12,22 5,15 ",stroke:r,strokeLinecap:"square",strokeLinejoin:"miter",strokeWidth:"2"})]})}))};x.styles=ao;x.displayName="ArrowDown";var fo=chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({},t.styles),{fill:"none",stroke:"currentColor"}),h=a=>{var f=a,{fill:r="currentColor",strokeColor:l="currentColor",styles:s,size:p=16,role:i="img",alt:m="Up arrow icon"}=f,c=chunk77CZU5XZ_cjs.c(f,["fill","strokeColor","styles","size","role","alt"]);return jsxRuntime.jsx(t,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({size:p,styles:s,role:i,alt:m},c),{children:jsxRuntime.jsxs("g",{fill:"none",stroke:l,strokeLinecap:"square",strokeLinejoin:"miter",strokeMiterlimit:"10",strokeWidth:"2",children:[jsxRuntime.jsx("line",{fill:"none",strokeLinecap:"butt",x1:"12",x2:"12",y1:"22",y2:"2"}),jsxRuntime.jsx("polyline",{fill:"none",points:"5,9 12,2 19,9 ",stroke:l})]})}))};h.displayName="ArrowUp";h.style=fo;chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({},t.styles),{fill:"currentColor"});var F=a=>{var f=a,{size:r=16,fill:l="currentColor",strokeColor:s="currentColor",styles:p,role:i="img",alt:m="Right arrow icon"}=f,c=chunk77CZU5XZ_cjs.c(f,["size","fill","strokeColor","styles","role","alt"]);return jsxRuntime.jsx(t,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({size:r,styles:p,role:i,alt:m},c),{children:jsxRuntime.jsxs("g",{fill:l,stroke:s,strokeLinecap:"square",strokeLinejoin:"miter",strokeMiterlimit:"10",strokeWidth:"2",children:[jsxRuntime.jsx("line",{fill:"none",strokeLinecap:"butt",x1:"2",x2:"22",y1:"12",y2:"12"}),jsxRuntime.jsx("polyline",{fill:"none",points:"15,5 22,12 15,19 ",stroke:s})]})}))};F.displayName="ArrowRight";var ko=chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({},t.styles),{fill:"none",stroke:"currentColor"}),S=a=>{var f=a,{size:r=16,fill:l="none",strokeColor:s="currentColor",styles:p,alt:i="User Icon",role:m}=f,c=chunk77CZU5XZ_cjs.c(f,["size","fill","strokeColor","styles","alt","role"]);return jsxRuntime.jsx(t,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({size:r,role:m,alt:i,styles:p},c),{children:jsxRuntime.jsxs("g",{fill:l,stroke:s,strokeLinecap:"square",strokeLinejoin:"miter",strokeMiterlimit:"10",strokeWidth:"2",children:[jsxRuntime.jsx("circle",{cx:"12",cy:"5.5",fill:"none",r:"4.5"}),jsxRuntime.jsx("path",{d:"M12,14c-4.971,0-9,4.029-9,9H21c0-4.971-4.029-9-9-9Z",fill:"none",stroke:s})]})}))};S.styles=ko;S.displayName="User";var uo={fill:"currentColor"},R=c=>{var a=c,{size:r=16,fill:l="currentColor",styles:s,role:p="img",alt:i="Right arrow icon"}=a,m=chunk77CZU5XZ_cjs.c(a,["size","fill","styles","role","alt"]);return jsxRuntime.jsx(t,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({size:r,alt:i,styles:s,role:p},m),{children:jsxRuntime.jsx("g",{fill:l,children:jsxRuntime.jsx("path",{d:"M7,23a1,1,0,0,1-.707-1.707L15.586,12,6.293,2.707A1,1,0,0,1,7.707,1.293l10,10a1,1,0,0,1,0,1.414l-10,10A1,1,0,0,1,7,23Z",fill:l})})}))};R.displayName="Right";R.styles=uo;var Co=chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({},t.styles),{fill:"currentColor"}),v=c=>{var a=c,{fill:r="currentColor",size:l=16,styles:s,role:p="img",alt:i="Left arrow icon"}=a,m=chunk77CZU5XZ_cjs.c(a,["fill","size","styles","role","alt"]);return jsxRuntime.jsx(t,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({size:l,styles:s,alt:i,role:p},m),{children:jsxRuntime.jsx("g",{fill:r,children:jsxRuntime.jsx("path",{d:"M17,23a1,1,0,0,1-.707-.293l-10-10a1,1,0,0,1,0-1.414l10-10a1,1,0,0,1,1.414,1.414L8.414,12l9.293,9.293A1,1,0,0,1,17,23Z",fill:r})})}))};v.displayName="Left";v.styles=Co;var xo={fill:"currentColor"},w=c=>{var a=c,{size:r=24,fill:l="currentColor",styles:s,role:p="img",alt:i="Minus icon"}=a,m=chunk77CZU5XZ_cjs.c(a,["size","fill","styles","role","alt"]);return jsxRuntime.jsx(t,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({size:r,styles:s,role:p,alt:i},m),{children:jsxRuntime.jsx("g",{fill:l,children:jsxRuntime.jsx("path",{d:"M17,11H7c-.553,0-1,.447-1,1s.447,1,1,1h10c.553,0,1-.447,1-1s-.447-1-1-1Z",fill:l})})}))};w.displayName="Minus";w.styles=xo;var ho={fill:"currenStyle"},I=c=>{var a=c,{size:r=16,fill:l="currentColor",styles:s,role:p="img",alt:i="Remove icon"}=a,m=chunk77CZU5XZ_cjs.c(a,["size","fill","styles","role","alt"]);return jsxRuntime.jsx(t,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({size:r,alt:i,styles:s,role:p},m),{children:jsxRuntime.jsx("g",{fill:l,children:jsxRuntime.jsx("path",{d:"M19.7,4.3c-0.4-0.4-1-0.4-1.4,0L12,10.6L5.7,4.3c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l6.3,6.3l-6.3,6.3 c-0.4,0.4-0.4,1,0,1.4C4.5,19.9,4.7,20,5,20s0.5-0.1,0.7-0.3l6.3-6.3l6.3,6.3c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3 c0.4-0.4,0.4-1,0-1.4L13.4,12l6.3-6.3C20.1,5.3,20.1,4.7,19.7,4.3z",fill:l})})}))};I.displayName="Remove";I.styles=ho;var So=chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({},t.styles),{stroke:"currentColor"}),L=c=>{var a=c,{size:r=16,strokeColor:l="currentColor",styles:s,role:p="img",alt:i="Copy icon"}=a,m=chunk77CZU5XZ_cjs.c(a,["size","strokeColor","styles","role","alt"]);return jsxRuntime.jsx(t,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({size:r,styles:s,role:p,alt:i},m),{children:jsxRuntime.jsxs("g",{fill:"none",stroke:l,strokeLinecap:"square",strokeLinejoin:"miter",strokeMiterlimit:"10",strokeWidth:"2",children:[jsxRuntime.jsx("polyline",{fill:"none",points:"8 19 2 19 2 1 17 1 17 6",stroke:l}),jsxRuntime.jsx("rect",{height:"13",width:"10",fill:"none",x:"12",y:"10"})]})}))};L.displayName="Copy";L.styles=So;var vo=chunk77CZU5XZ_cjs.a({},t.styles),z=c=>{var a=c,{size:r=16,fill:l="currentColor",styles:s,role:p="img",alt:i="Up arrow icon"}=a,m=chunk77CZU5XZ_cjs.c(a,["size","fill","styles","role","alt"]);return jsxRuntime.jsx(t,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({size:r,alt:i,styles:s,role:p},m),{children:jsxRuntime.jsx("g",{fill:l,children:jsxRuntime.jsx("path",{d:"M22,18a1,1,0,0,1-.707-.293L12,8.414,2.707,17.707a1,1,0,0,1-1.414-1.414l10-10a1,1,0,0,1,1.414,0l10,10A1,1,0,0,1,22,18Z",fill:l})})}))};z.displayName="Up";z.styles=vo;var wo=chunk77CZU5XZ_cjs.a({},t.styles),A=c=>{var a=c,{size:r=16,fill:l="currentColor",styles:s,role:p="img",alt:i="Down arrow icon"}=a,m=chunk77CZU5XZ_cjs.c(a,["size","fill","styles","role","alt"]);return jsxRuntime.jsx(t,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({size:r,alt:i,styles:s,role:p},m),{children:jsxRuntime.jsx("g",{fill:l,children:jsxRuntime.jsx("path",{d:"M12,18a1,1,0,0,1-.707-.293l-10-10A1,1,0,0,1,2.707,6.293L12,15.586l9.293-9.293a1,1,0,1,1,1.414,1.414l-10,10A1,1,0,0,1,12,18Z",fill:l})})}))};A.displayName="Down";A.styles=wo;function Q(a){var f=a,{size:r=16,fill:l="currentColor",strokeColor:s="currentColor",styles:p,role:i="img",alt:m="Star icon"}=f,c=chunk77CZU5XZ_cjs.c(f,["size","fill","strokeColor","styles","role","alt"]);return jsxRuntime.jsx(t,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({size:r,alt:m,styles:p,role:i},c),{children:jsxRuntime.jsx("g",{fill:"none",stroke:s,strokeLinecap:"square",strokeLinejoin:"miter",strokeMiterlimit:"10",strokeWidth:"2",children:jsxRuntime.jsx("polygon",{fill:"none",points:"12,2.49 15.09,8.75 22,9.754 17,14.628 18.18,21.51 12,18.262 5.82,21.51 7,14.628 2,9.754 8.91,8.75 ",stroke:s})})}))}Q.displayName="Star";var Io={display:"inline-flex",direction:"row",gap:".2rem",placeItems:"center",width:"auto"},y=p=>{var i=p,{children:r,styles:l}=i,s=chunk77CZU5XZ_cjs.c(i,["children","styles"]);return jsxRuntime.jsx(Y,chunk77CZU5XZ_cjs.b(chunk77CZU5XZ_cjs.a({as:"span",styles:l,"data-style":"icons"},s),{children:r}))};y.Add=P;y.ArrowDown=x;y.ArrowLeft=u;y.ArrowRight=F;y.ArrowUp=h;y.Chat=C;y.Code=N;y.Copy=L;y.displayName="Icon";y.Home=k;y.Left=v;y.Minus=w;y.Remove=I;y.Right=R;y.Star=Q;y.styles=Io;y.Up=z;y.Down=A;y.User=S;
12
-
13
- exports.a = Y;
14
- exports.b = N;
15
- exports.c = k;
16
- exports.d = P;
17
- exports.e = u;
18
- exports.f = C;
19
- exports.g = x;
20
- exports.h = h;
21
- exports.i = F;
22
- exports.j = S;
23
- exports.k = R;
24
- exports.l = v;
25
- exports.m = w;
26
- exports.n = I;
27
- exports.o = L;
28
- exports.p = Io;
29
- exports.q = y;
30
- //# sourceMappingURL=out.js.map
31
- //# sourceMappingURL=chunk-D43FJIRQ.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/fp.tsx","../src/components/icons/components/svg.tsx","../src/components/icons/components/code.tsx","../src/components/icons/components/home.tsx","../src/components/icons/components/add.tsx","../src/components/icons/components/arrow-left.tsx","../src/components/icons/components/chat.tsx","../src/components/icons/components/arrow-down.tsx","../src/components/icons/components/arrow-up.tsx","../src/components/icons/components/arrow-right.tsx","../src/components/icons/components/user.tsx","../src/components/icons/components/right.tsx","../src/components/icons/components/left.tsx","../src/components/icons/components/minus.tsx","../src/components/icons/components/remove.tsx","../src/components/icons/components/copy.tsx","../src/components/icons/components/up.tsx","../src/components/icons/components/down.tsx","../src/components/icons/components/star.tsx","../src/components/icons/icon.tsx"],"names":["React","jsx","FP","_a","ref","_b","as","renderStyles","styles","children","defaultStyles","props","__objRest","Component","styleObj","__spreadValues","__spreadProps","fp_default","defaultStyes","Svg","fill","strokeColor","size","role","alt","svg_default","jsxs","Code","Home","Add","ArrowLeft","Chat","ArrowDown","ArrowUp","ArrowRight","User","Right","Left","Minus","Remove","Copy","Up","Down","Star","Icon"],"mappings":"uDAAA,OAAOA,MAAW,QAgFZ,cAAAC,OAAA,oBAnBN,IAAMC,GAAkBF,EAAM,WAC5B,CACEG,EAQAC,IACG,CATH,IAAAC,EAAAF,EACE,IAAAG,EACA,aAAAC,EAAe,GACf,OAAAC,EACA,SAAAC,EACA,cAAAC,CApEN,EA+DIL,EAMKM,EAAAC,EANLP,EAMK,CALH,KACA,eACA,SACA,WACA,kBAKF,IAAMQ,EAAYP,GAAM,MAElBQ,EAAWP,EACbQ,IAAA,GAAKL,GAAkBF,GACtB,CAAC,EAEN,OACEP,GAACY,EAAAG,EAAAD,EAAA,CAAU,IAAKX,EAAK,MAAOU,GAAcH,GAAzC,CACE,SAAAF,GACH,CAEJ,CACF,EAMOQ,EAAQf,GCnEX,cAAAD,OAAA,oBApBJ,IAAMiB,GAAe,CACnB,QAAS,cACT,WAAY,SACZ,MAAO,MACT,EAEaC,EAAOhB,GAYd,CAZc,IAAAE,EAAAF,EAClB,MAAAiB,EAAO,eACP,YAAAC,EACA,OAAAb,EACA,KAAAc,EACA,KAAAC,EAAO,MACP,IAAAC,EACA,SAAAf,C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,EA8CqBH,EAAuBM,EAAAC,EAAvBP,EAAuB,CAArB,WAAU,WAC/B,OACEJ,GAACgB,EAAAD,EAAAD,EAAA,CAAG,GAAG,OAAO,OAAQP,EAAQ,aAAW,SAAYG,GAApD,CACE,SAAAF,GACH,CAEJ,EAGAmC,EAAK,IAAMf,EACXe,EAAK,UAAYZ,EACjBY,EAAK,UAAYd,EACjBc,EAAK,WAAaV,EAClBU,EAAK,QAAUX,EACfW,EAAK,KAAOb,EACZa,EAAK,KAAOjB,EACZiB,EAAK,KAAOJ,EACZI,EAAK,YAAc,OACnBA,EAAK,KAAOhB,EACZgB,EAAK,KAAOP,EACZO,EAAK,MAAQN,EACbM,EAAK,OAASL,EACdK,EAAK,MAAQR,EACbQ,EAAK,KAAOD,EACZC,EAAK,OAASlC,GACdkC,EAAK,GAAKH,EACVG,EAAK,KAAOF,EACZE,EAAK,KAAOT","sourcesContent":["import React from 'react'\nimport { ComponentProps } from '../types'\n\ntype PolymorphicRef<C extends React.ElementType> =\n React.ComponentPropsWithRef<C>['ref']\n\ntype AsProp<C extends React.ElementType> = {\n as?: C\n}\n\ntype PropsToOmit<C extends React.ElementType, P> = keyof (AsProp<C> & P)\n\ntype PolymorphicComponentProp<\n C extends React.ElementType,\n Props = {},\n> = React.PropsWithChildren<Props & AsProp<C>> &\n Omit<React.ComponentPropsWithoutRef<C>, PropsToOmit<C, Props>>\n\ntype PolymorphicComponentPropWithRef<\n C extends React.ElementType,\n Props = {},\n> = PolymorphicComponentProp<C, Props> & {\n ref?: PolymorphicRef<C>\n}\n\ntype FPProps<C extends React.ElementType> = PolymorphicComponentPropWithRef<\n C,\n {\n renderStyles?: boolean\n styles?: {}\n }\n>\n\n/*\n * FPComponent type definition\n *\n * Defines the component function signature for the FP component.\n *\n * @typeParam C - The HTML element type to render\n * @param props - The component props\n * @returns React component\n */\ntype FPComponent = <C extends React.ElementType = 'span'>(\n props: FPProps<C>,\n) => React.ReactElement | any\n\n// create an object type and make it optional\ntype styl = {\n styles?: {}\n}\n\n/**\n * FP component is a polymorphic component that renders an HTML element with optional styles.\n * @param {Object} props - Component props\n * @param {React.ElementType} props.as - The HTML element to render. Defaults to 'div'.\n * @param {boolean} props.renderStyles - Whether to render styles or not. Defaults to true.\n * @param {Object} props.styles - The styles to apply to the component.\n * @param {Object} props.defaultStyles - The default styles to apply to the component.\n * @param {React.ReactNode} props.children - The children to render inside the component.\n * @returns {React.ReactElement} - A React component that renders an HTML element with optional styles.\n */\nconst FP: FPComponent = React.forwardRef(\n <C extends React.ElementType>(\n {\n as,\n renderStyles = true,\n styles,\n children,\n defaultStyles,\n ...props\n }: FPProps<C>,\n ref?: PolymorphicRef<C>,\n ) => {\n const Component = as || 'div'\n\n const styleObj = renderStyles\n ? { ...defaultStyles, ...styles }\n : ({} as React.CSSProperties)\n\n return (\n <Component ref={ref} style={styleObj} {...props}>\n {children}\n </Component>\n )\n },\n)\nexport interface BoxProps extends ComponentProps {\n elm?: 'div'\n renderStyles: true\n}\n\nexport default FP\n","import * as React from 'react'\n\nimport { IconProps } from '../types'\n\nconst defaultStyes = {\n display: 'inline-flex',\n alignItems: 'center',\n width: 'auto',\n}\n\nexport const Svg = ({\n fill = 'currentColor',\n strokeColor,\n styles,\n size,\n role = 'img',\n alt,\n children,\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt' | 'children'\n>) => {\n return (\n <svg\n height={size}\n width={size}\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n style={styles}\n role={role}\n aria-label={alt}\n {...props}\n >\n {children}\n </svg>\n )\n}\n\nexport default Svg\nSvg.displayName = 'Svg'\nSvg.styles = defaultStyes\n","import * as React from 'react'\n\nimport { IconProps } from '../types'\nimport Svg from './svg'\n\nconst defaultStyles = {\n ...Svg.styles,\n fill: 'none',\n stroke: 'currentColor',\n}\n\n/**\n * Renders a code icon.\n *\n * @param {string} strokeColor - The color of the icon's stroke.\n * @param {string} fill - The color of the icon's fill.\n * @param {string} size - The size of the icon.\n * @param {string} viewBox - The viewBox of the icon.\n * @param {React.CSSProperties} styles - The default styles of the icon.\n * @param {IconProps} props - Additional props to apply to the icon.\n * @returns {JSX.Element} - A React component that renders an SVG icon.\n */\nexport const Code = ({\n strokeColor = 'currentColor',\n fill = 'none',\n size = 16,\n styles,\n role = 'img',\n alt = 'Code icon',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n> = {}) => {\n return (\n <Svg size={size} role={role} alt={alt} styles={styles} {...props}>\n <g\n fill={fill}\n stroke={strokeColor}\n strokeLinecap=\"square\"\n strokeLinejoin=\"miter\"\n strokeMiterlimit=\"10\"\n strokeWidth=\"2\"\n >\n <rect\n height=\"22\"\n width=\"18\"\n fill=\"none\"\n stroke={strokeColor}\n x=\"3\"\n y=\"1\"\n />\n <polyline fill=\"none\" points=\"9 9 6 12 9 15\" />\n <polyline fill=\"none\" points=\"15 15 18 12 15 9\" />\n </g>\n </Svg>\n )\n}\n\nexport default Code\nCode.styles = defaultStyles\n","import { IconProps } from '../types'\nimport React from 'react'\nimport Svg from './svg'\n\nconst defaultStyles = {\n ...Svg.styles,\n fill: 'currentColor',\n stroke: 'none',\n}\n\n/**\n * Renders a home icon.\n *\n * @param {string} strokeColor - The color of the icon's stroke.\n * @param {string} fill - The color of the icon's fill.\n * @param {string} size - The size of the icon.\n * @param {string} viewBox - The viewBox of the icon.\n * @param {string} name - The name of the icon.\n * @param {Object} styles - The styles of the icon.\n * @param {Object} props - The props of the icon.\n * @returns {JSX.Element} - A home icon.\n */\nexport const Home = ({\n strokeColor = 'currentColor',\n fill = 'none',\n size = 16,\n styles = defaultStyles,\n role = 'img',\n alt = 'Home icon',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>) => {\n return (\n <Svg size={size} styles={styles} role={role} alt={alt} {...props}>\n <g\n fill={fill}\n stroke={strokeColor}\n strokeLinecap=\"square\"\n strokeLinejoin=\"miter\"\n strokeMiterlimit=\"10\"\n strokeWidth=\"2\"\n >\n <polygon\n fill=\"none\"\n points=\"12 2 2 10 2 23 9 23 9 16 15 16 15 23 22 23 22 10 12 2\"\n stroke={strokeColor}\n />\n </g>\n </Svg>\n )\n}\n\nexport default Home\nHome.displayName = 'Home'\nHome.styles = defaultStyles\n","import * as React from 'react'\n\nimport { IconProps } from '../types'\nimport Svg from './svg'\n\nconst defaultStyles = {\n ...Svg.styles,\n fill: 'currentColor',\n}\n\n/**\n * Add Icon component\n * @param {string} fill - Icon fill color (default: 'currentColor')\n * @param {string} size - Icon size (default: '24')\n * @param {IconProps} props - Other icon properties\n * @returns {JSX.Element} - Rendered component\n */\nexport const Add = ({\n fill = 'currentColor',\n size = 24,\n role = 'img',\n alt = 'Add icon',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>): JSX.Element => {\n return (\n <Svg size={size} role={role} alt={alt} {...props}>\n <g fill={fill}>\n <path\n d=\"M17,11h-4V7c0-.553-.447-1-1-1s-1,.447-1,1v4H7c-.553,0-1,.447-1,1s.447,1,1,1h4v4c0,.553,.447,1,1,1s1-.447,1-1v-4h4c.553,0,1-.447,1-1s-.447-1-1-1Z\"\n fill={fill}\n />\n </g>\n </Svg>\n )\n}\n\nexport default Add\nAdd.styles = defaultStyles\nAdd.displayName = 'Add'\n","import * as React from 'react'\n\nimport { IconProps } from '../types'\nimport Svg from './svg'\n\nconst defaultStyles = { ...Svg.styles }\n\n/**\n * Renders an arrow pointing to the left.\n *\n * @param {string} strokeColor - The color of the arrow's stroke.\n * @param {string} fill - The fill color of the arrow.\n * @param {string} size - The size of the arrow.\n * @param {object} styles - The styles to apply to the arrow.\n * @param {object} props - The additional props to pass to the SVG element.\n * @returns {JSX.Element} - A React component that renders an arrow pointing to the left.\n */\nexport const ArrowLeft = ({\n strokeColor = 'currentColor',\n fill = 'currentColor',\n size = 16,\n styles,\n role = 'img',\n alt = 'Arrow pointing left',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>) => {\n return (\n <Svg size={size} styles={styles} role={role} {...props} alt={alt}>\n <g fill={fill} strokeMiterlimit=\"10\">\n <line\n fill=\"none\"\n stroke={strokeColor}\n strokeLinecap=\"butt\"\n strokeLinejoin=\"miter\"\n strokeWidth=\"2\"\n x1=\"22\"\n x2=\"2\"\n y1=\"12\"\n y2=\"12\"\n />\n <polyline\n fill=\"none\"\n points=\"9,19 2,12 9,5 \"\n stroke={strokeColor}\n strokeLinecap=\"square\"\n strokeLinejoin=\"miter\"\n strokeWidth=\"2\"\n />\n </g>\n </Svg>\n )\n}\n\nexport default ArrowLeft\nArrowLeft.styles = defaultStyles\nArrowLeft.displayName = 'ArrowLeft'\n","import * as React from 'react'\n\nimport { IconProps } from '../types'\nimport Svg from './svg'\n\nconst defaultStyles = { ...Svg.styles }\n\n/**\n * @param {string} size - The width and height of the icon in pixels. Defaults to 24.\n * @param {string} strokeColor - The color of the icon stroke. Defaults to 'currentcolor'.\n * @param {React.CSSProperties} styles - Additional CSS styles to apply to the icon.\n * @param {IconProps} props - Additional props to pass to the SVG element.\n * @returns {JSX.Element} - A chat icon component that displays a speech bubble with lines representing text.\n */\nexport const Chat = ({\n size = 16,\n strokeColor = 'currentcolor',\n styles,\n role = 'img',\n alt = 'Chat icon',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>): JSX.Element => {\n return (\n <Svg size={size} styles={styles} role={role} alt={alt} {...props}>\n <g fill={strokeColor} strokeMiterlimit=\"10\">\n <path\n d=\"M21,2H3c-1.105,0-2,.895-2,2V15c0,1.105,.895,2,2,2h5l4,5,4-5h5c1.105,0,2-.895,2-2V4c0-1.105-.895-2-2-2Z\"\n fill=\"none\"\n stroke={strokeColor}\n strokeLinecap=\"square\"\n strokeLinejoin=\"miter\"\n strokeWidth=\"2\"\n />\n </g>\n </Svg>\n )\n}\n\nexport default Chat\nChat.styles = defaultStyles\nChat.displayName = 'Chat'\n","import * as React from 'react'\n\nimport { IconProps } from '../types'\nimport Svg from './svg'\n\nconst defaultStyles = { ...Svg.styles }\n\n/**\n * ArrowDown icon component\n * @param fill - Icon fill color\n * @param strokeColor - Icon stroke color\n * @param styles - Icon styles\n * @param size - Icon size\n */\nexport const ArrowDown = ({\n fill = 'currentColor',\n strokeColor,\n styles,\n size = 16,\n role = 'img',\n alt = 'Down icon',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>) => {\n return (\n <Svg size={size} role={role} styles={styles} alt={alt} {...props}>\n <g fill={fill} strokeMiterlimit=\"10\">\n <line\n fill=\"none\"\n stroke={fill}\n strokeLinecap=\"butt\"\n strokeLinejoin=\"miter\"\n strokeWidth=\"2\"\n x1=\"12\"\n x2=\"12\"\n y1=\"2\"\n y2=\"22\"\n />\n <polyline\n fill=\"none\"\n points=\"19,15 12,22 5,15 \"\n stroke={fill}\n strokeLinecap=\"square\"\n strokeLinejoin=\"miter\"\n strokeWidth=\"2\"\n />\n </g>\n </Svg>\n )\n}\n\nexport default ArrowDown\nArrowDown.styles = defaultStyles\nArrowDown.displayName = 'ArrowDown'\n","import * as React from 'react'\n\nimport { IconProps } from '../types'\nimport Svg from './svg'\n\nconst defaultStyles = {\n ...Svg.styles,\n fill: 'none',\n stroke: 'currentColor',\n}\n\n/**\n * ArrowUp icon component\n * @param fill - Icon fill color\n * @param strokeColor - Icon stroke color\n * @param styles - Icon styles\n * @param size - Icon size\n */\nexport const ArrowUp = ({\n fill = 'currentColor',\n strokeColor = 'currentColor',\n styles,\n size = 16,\n role = 'img',\n alt = 'Up arrow icon',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>) => {\n return (\n <Svg size={size} styles={styles} role={role} alt={alt} {...props}>\n <g\n fill=\"none\"\n stroke={strokeColor}\n strokeLinecap=\"square\"\n strokeLinejoin=\"miter\"\n strokeMiterlimit=\"10\"\n strokeWidth=\"2\"\n >\n <line fill=\"none\" strokeLinecap=\"butt\" x1=\"12\" x2=\"12\" y1=\"22\" y2=\"2\" />\n <polyline fill=\"none\" points=\"5,9 12,2 19,9 \" stroke={strokeColor} />\n </g>\n </Svg>\n )\n}\n\nexport default ArrowUp\nArrowUp.displayName = 'ArrowUp'\nArrowUp.style = defaultStyles\n","import { IconProps } from '../types'\nimport React from 'react'\nimport Svg from './svg'\n\nconst defaultStyles = {\n ...Svg.styles,\n fill: 'currentColor',\n}\n\n/*\n * ArrowRight icon component.\n *\n * Renders a right arrow SVG icon.\n *\n * @param {IconProps} props - The component props\n * @param {string} [props.size=\"24\"] - Icon size\n * @param {string} [props.fill=\"currentColor\"] - Icon fill color\n * @param {string} [props.strokeColor=\"currentColor\"] - Stroke color\n *\n * @returns {React.ReactElement} - The rendered icon\n */\nexport const ArrowRight = ({\n size = 16,\n fill = 'currentColor',\n strokeColor = 'currentColor',\n styles,\n role = 'img',\n alt = 'Right arrow icon',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>) => {\n return (\n <Svg size={size} styles={styles} role={role} alt={alt} {...props}>\n <g\n fill={fill}\n stroke={strokeColor}\n strokeLinecap=\"square\"\n strokeLinejoin=\"miter\"\n strokeMiterlimit=\"10\"\n strokeWidth=\"2\"\n >\n <line fill=\"none\" strokeLinecap=\"butt\" x1=\"2\" x2=\"22\" y1=\"12\" y2=\"12\" />\n <polyline fill=\"none\" points=\"15,5 22,12 15,19 \" stroke={strokeColor} />\n </g>\n </Svg>\n )\n}\n\nexport default ArrowRight\nArrowRight.displayName = 'ArrowRight'\n","import { IconProps } from '../types'\nimport React from 'react'\nimport Svg from './svg'\n\nconst defaultStyles = {\n ...Svg.styles,\n fill: 'none',\n stroke: 'currentColor',\n}\n\nexport const User = ({\n size = 16,\n fill = 'none',\n strokeColor = 'currentColor',\n styles,\n alt = 'User Icon',\n role,\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>) => {\n return (\n <Svg size={size} role={role} alt={alt} styles={styles} {...props}>\n <g\n fill={fill}\n stroke={strokeColor}\n strokeLinecap=\"square\"\n strokeLinejoin=\"miter\"\n strokeMiterlimit=\"10\"\n strokeWidth=\"2\"\n >\n <circle cx=\"12\" cy=\"5.5\" fill=\"none\" r=\"4.5\" />\n <path\n d=\"M12,14c-4.971,0-9,4.029-9,9H21c0-4.971-4.029-9-9-9Z\"\n fill=\"none\"\n stroke={strokeColor}\n />\n </g>\n </Svg>\n )\n}\n\nexport default User\nUser.styles = defaultStyles\nUser.displayName = 'User'\n","import { IconProps } from '../types'\nimport React from 'react'\nimport Svg from './svg'\n\nconst defaultStyles = {\n fill: 'currentColor',\n}\n\n/**\n * Renders a right arrow icon.\n *\n * @param {string} size - The size of the icon.\n * @param {string} fill - The fill color of the icon.\n * @param {React.CSSProperties} styles - The styles to apply to the icon.\n * @param {IconProps} props - The props to pass down to the icon.\n * @returns {JSX.Element} - A right arrow icon.\n */\nexport const Right = ({\n size = 16,\n fill = 'currentColor',\n styles,\n role = 'img',\n alt = 'Right arrow icon',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>) => {\n return (\n <Svg size={size} alt={alt} styles={styles} role={role} {...props}>\n <g fill={fill}>\n <path\n d=\"M7,23a1,1,0,0,1-.707-1.707L15.586,12,6.293,2.707A1,1,0,0,1,7.707,1.293l10,10a1,1,0,0,1,0,1.414l-10,10A1,1,0,0,1,7,23Z\"\n fill={fill}\n />\n </g>\n </Svg>\n )\n}\n\nexport default Right\nRight.displayName = 'Right'\nRight.styles = defaultStyles\n","import { IconProps } from '../types'\nimport React from 'react'\nimport Svg from './svg'\n\nconst defaultStyles = {\n ...Svg.styles,\n fill: 'currentColor',\n}\n\n/**\n * Left arrow icon\n * @param {string} fill - Icon fill color (default: 'currentColor')\n * @param {string} size - Icon size (default: '24')\n * @param {React.CSSProperties} styles - Icon styles (default: {})\n * @param {IconProps} props - Any other valid props for an SVG element\n * @returns {JSX.Element} - Rendered icon component\n */\nexport const Left = ({\n fill = 'currentColor',\n size = 16,\n styles,\n role = 'img',\n alt = 'Left arrow icon',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>) => {\n return (\n <Svg size={size} styles={styles} alt={alt} role={role} {...props}>\n <g fill={fill}>\n <path\n d=\"M17,23a1,1,0,0,1-.707-.293l-10-10a1,1,0,0,1,0-1.414l10-10a1,1,0,0,1,1.414,1.414L8.414,12l9.293,9.293A1,1,0,0,1,17,23Z\"\n fill={fill}\n />\n </g>\n </Svg>\n )\n}\n\nexport default Left\nLeft.displayName = 'Left'\nLeft.styles = defaultStyles\n","import { IconProps } from '../types'\nimport React from 'react'\nimport Svg from './svg'\n\nconst defaultStyles = {\n fill: 'currentColor',\n}\n\n/**\n * Minus icon component\n * @param {string} size - Icon size (default: 24)\n * @param {string} fill - Icon fill color (default: 'currentColor')\n * @param {object} styles - Inline styles for the SVG element\n * @param {object} props - Any other SVG attributes\n * @returns {JSX.Element} - Rendered Minus icon component\n */\nexport const Minus = ({\n size = 24,\n fill = 'currentColor',\n styles,\n role = 'img',\n alt = 'Minus icon',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>) => {\n return (\n <Svg size={size} styles={styles} role={role} alt={alt} {...props}>\n <g fill={fill}>\n <path\n d=\"M17,11H7c-.553,0-1,.447-1,1s.447,1,1,1h10c.553,0,1-.447,1-1s-.447-1-1-1Z\"\n fill={fill}\n />\n </g>\n </Svg>\n )\n}\n\nexport default Minus\nMinus.displayName = 'Minus'\nMinus.styles = defaultStyles\n","import { IconProps } from '../types'\nimport React from 'react'\nimport Svg from './svg'\n\nconst defaultStyles = {\n fill: 'currenStyle',\n}\n\n/**\n * Remove icon component\n * @param {string} size - The size of the icon\n * @param {string} fill - The fill color of the icon\n * @param {object} styles - The styles to apply to the icon\n * @param {object} props - The additional props to pass to the icon\n * @returns {JSX.Element} - The Remove icon component\n */\nexport const Remove = ({\n size = 16,\n fill = 'currentColor',\n styles,\n role = 'img',\n alt = 'Remove icon',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>) => {\n return (\n <Svg size={size} alt={alt} styles={styles} role={role} {...props}>\n <g fill={fill}>\n <path\n d=\"M19.7,4.3c-0.4-0.4-1-0.4-1.4,0L12,10.6L5.7,4.3c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l6.3,6.3l-6.3,6.3 c-0.4,0.4-0.4,1,0,1.4C4.5,19.9,4.7,20,5,20s0.5-0.1,0.7-0.3l6.3-6.3l6.3,6.3c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3 c0.4-0.4,0.4-1,0-1.4L13.4,12l6.3-6.3C20.1,5.3,20.1,4.7,19.7,4.3z\"\n fill={fill}\n />\n </g>\n </Svg>\n )\n}\n\nexport default Remove\nRemove.displayName = 'Remove'\nRemove.styles = defaultStyles\n","import { IconProps } from '../types'\nimport React from 'react'\nimport Svg from './svg'\n\nconst defaultStyles = {\n ...Svg.styles,\n stroke: 'currentColor',\n}\n\n/**\n * Copy icon component\n * @param {string} size - The width and height of the icon\n * @param {string} strokeColor - The color of the icon stroke\n * @param {IconProps} props - The icon component props\n * @returns {JSX.Element} - A react JSX element representing the copy icon\n */\nexport const Copy = ({\n size = 16,\n strokeColor = 'currentColor',\n styles,\n role = 'img',\n alt = 'Copy icon',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>): JSX.Element => {\n return (\n <Svg size={size} styles={styles} role={role} alt={alt} {...props}>\n <g\n fill=\"none\"\n stroke={strokeColor}\n strokeLinecap=\"square\"\n strokeLinejoin=\"miter\"\n strokeMiterlimit=\"10\"\n strokeWidth=\"2\"\n >\n <polyline\n fill=\"none\"\n points=\"8 19 2 19 2 1 17 1 17 6\"\n stroke={strokeColor}\n />\n <rect height=\"13\" width=\"10\" fill=\"none\" x=\"12\" y=\"10\" />\n </g>\n </Svg>\n )\n}\n\nexport default Copy\nCopy.displayName = 'Copy'\nCopy.styles = defaultStyles\n","import { IconProps } from '../types'\nimport React from 'react'\nimport Svg from './svg'\n\nconst defaultStyles = { ...Svg.styles }\nexport const Up = ({\n size = 16,\n fill = 'currentColor',\n styles,\n role = 'img',\n alt = 'Up arrow icon',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>) => {\n return (\n <Svg size={size} alt={alt} styles={styles} role={role} {...props}>\n <g fill={fill}>\n <path\n d=\"M22,18a1,1,0,0,1-.707-.293L12,8.414,2.707,17.707a1,1,0,0,1-1.414-1.414l10-10a1,1,0,0,1,1.414,0l10,10A1,1,0,0,1,22,18Z\"\n fill={fill}\n />\n </g>\n </Svg>\n )\n}\n\nexport default Up\nUp.displayName = 'Up'\nUp.styles = defaultStyles\n","import * as React from 'react'\n\nimport { IconProps } from '../types'\nimport Svg from './svg'\n\nconst defaultStyles = { ...Svg.styles }\n\nexport const Down = ({\n size = 16,\n fill = 'currentColor',\n styles,\n role = 'img',\n alt = 'Down arrow icon',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>) => {\n return (\n <Svg size={size} alt={alt} styles={styles} role={role} {...props}>\n <g fill={fill}>\n <path\n d=\"M12,18a1,1,0,0,1-.707-.293l-10-10A1,1,0,0,1,2.707,6.293L12,15.586l9.293-9.293a1,1,0,1,1,1.414,1.414l-10,10A1,1,0,0,1,12,18Z\"\n fill={fill}\n />\n </g>\n </Svg>\n )\n}\n\nexport default Down\nDown.displayName = 'Down'\nDown.styles = defaultStyles\n","import { IconProps } from '../types'\nimport React from 'react'\nimport Svg from './svg'\n\nexport function Star({\n size = 16,\n fill = 'currentColor',\n strokeColor = 'currentColor',\n styles,\n role = 'img',\n alt = 'Star icon',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>) {\n return (\n <Svg size={size} alt={alt} styles={styles} role={role} {...props}>\n <g\n fill=\"none\"\n stroke={strokeColor}\n strokeLinecap=\"square\"\n strokeLinejoin=\"miter\"\n strokeMiterlimit=\"10\"\n strokeWidth=\"2\"\n >\n <polygon\n fill=\"none\"\n points=\"12,2.49 15.09,8.75 22,9.754 17,14.628 18.18,21.51 12,18.262 5.82,21.51 7,14.628 2,9.754 8.91,8.75 \"\n stroke={strokeColor}\n />\n </g>\n </Svg>\n )\n}\n\nexport default Star\nStar.displayName = 'Star'\n","import {\n Add,\n ArrowDown,\n ArrowLeft,\n ArrowRight,\n ArrowUp,\n Chat,\n Code,\n Copy,\n Down,\n Home,\n Left,\n Minus,\n Remove,\n Right,\n Star,\n Up,\n User,\n} from './index'\n\nimport { ComponentProps } from '#/types'\nimport FP from '#components/fp'\nimport React from 'react'\n\nexport interface IconProps extends Partial<ComponentProps> {\n fill?: string\n size?: string\n viewBox?: string\n name?: string\n}\n\nexport const defaultStyles = {\n display: 'inline-flex',\n direction: 'row',\n gap: '.2rem',\n placeItems: 'center',\n width: 'auto',\n}\n\n/**\n * Icon component wraps svg in a div.\n * @param {IconProps} props - The props object for the Icon component.\n * @param {React.ReactNode} props.children - The children of the Icon component.\n * @param {Object} props.styles - The styles object for the Icon component.\n * @returns {JSX.Element} - The Icon component.\n */\nexport const Icon = ({ children, styles, ...props }: IconProps) => {\n return (\n <FP as=\"span\" styles={styles} data-style=\"icons\" {...props}>\n {children}\n </FP>\n )\n}\n\nexport default Icon\nIcon.Add = Add\nIcon.ArrowDown = ArrowDown\nIcon.ArrowLeft = ArrowLeft\nIcon.ArrowRight = ArrowRight\nIcon.ArrowUp = ArrowUp\nIcon.Chat = Chat\nIcon.Code = Code\nIcon.Copy = Copy\nIcon.displayName = 'Icon'\nIcon.Home = Home\nIcon.Left = Left\nIcon.Minus = Minus\nIcon.Remove = Remove\nIcon.Right = Right\nIcon.Star = Star\nIcon.styles = defaultStyles\nIcon.Up = Up\nIcon.Down = Down\nIcon.User = User\n"]}
@@ -1,9 +0,0 @@
1
- import { c, a, b } from './chunk-PCDUGD3C.js';
2
- import j from 'react';
3
- import { jsx, jsxs } from 'react/jsx-runtime';
4
-
5
- const oo=j.forwardRef((a$1,c$1)=>{const f=a$1; const {as:r,renderStyles:l=!0,styles:s,children:p,defaultStyles:i}=f; const m=c(f,["as","renderStyles","styles","children","defaultStyles"]);const d=r||"div"; const $=l?a(a({},i),s):{};return jsx(d,b(a({ref:c$1,style:$},m),{children:p}))}); const Y=oo;const to={display:"inline-flex",alignItems:"center",width:"auto"}; const M=f=>{const d=f; const {fill:r="currentColor",strokeColor:l,styles:s,size:p,role:i="img",alt:m,children:c$1}=d; const a$1=c(d,["fill","strokeColor","styles","size","role","alt","children"]);return jsx("svg",b(a({height:p,width:p,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",style:s,role:i,"aria-label":m},a$1),{children:c$1}))}; const t=M;M.displayName="Svg";M.styles=to;const lo=b(a({},t.styles),{fill:"none",stroke:"currentColor"}); const N=(a$1={})=>{const f=a$1; const {strokeColor:r="currentColor",fill:l="none",size:s=16,styles:p,role:i="img",alt:m="Code icon"}=f; const c$1=c(f,["strokeColor","fill","size","styles","role","alt"]);return jsx(t,b(a({size:s,role:i,alt:m,styles:p},c$1),{children:jsxs("g",{fill:l,stroke:r,strokeLinecap:"square",strokeLinejoin:"miter",strokeMiterlimit:"10",strokeWidth:"2",children:[jsx("rect",{height:"22",width:"18",fill:"none",stroke:r,x:"3",y:"1"}),jsx("polyline",{fill:"none",points:"9 9 6 12 9 15"}),jsx("polyline",{fill:"none",points:"15 15 18 12 15 9"})]})}))};N.styles=lo;const _=b(a({},t.styles),{fill:"currentColor",stroke:"none"}); const k=a$1=>{const f=a$1; const {strokeColor:r="currentColor",fill:l="none",size:s=16,styles:p=_,role:i="img",alt:m="Home icon"}=f; const c$1=c(f,["strokeColor","fill","size","styles","role","alt"]);return jsx(t,b(a({size:s,styles:p,role:i,alt:m},c$1),{children:jsx("g",{fill:l,stroke:r,strokeLinecap:"square",strokeLinejoin:"miter",strokeMiterlimit:"10",strokeWidth:"2",children:jsx("polygon",{fill:"none",points:"12 2 2 10 2 23 9 23 9 16 15 16 15 23 22 23 22 10 12 2",stroke:r})})}))};k.displayName="Home";k.styles=_;const io=b(a({},t.styles),{fill:"currentColor"}); const P=m=>{const c$1=m; const {fill:r="currentColor",size:l=24,role:s="img",alt:p="Add icon"}=c$1; const i=c(c$1,["fill","size","role","alt"]);return jsx(t,b(a({size:l,role:s,alt:p},i),{children:jsx("g",{fill:r,children:jsx("path",{d:"M17,11h-4V7c0-.553-.447-1-1-1s-1,.447-1,1v4H7c-.553,0-1,.447-1,1s.447,1,1,1h4v4c0,.553,.447,1,1,1s1-.447,1-1v-4h4c.553,0,1-.447,1-1s-.447-1-1-1Z",fill:r})})}))};P.styles=io;P.displayName="Add";const no=a({},t.styles); const u=a$1=>{const f=a$1; const {strokeColor:r="currentColor",fill:l="currentColor",size:s=16,styles:p,role:i="img",alt:m="Arrow pointing left"}=f; const c$1=c(f,["strokeColor","fill","size","styles","role","alt"]);return jsx(t,b(a({size:s,styles:p,role:i},c$1),{alt:m,children:jsxs("g",{fill:l,strokeMiterlimit:"10",children:[jsx("line",{fill:"none",stroke:r,strokeLinecap:"butt",strokeLinejoin:"miter",strokeWidth:"2",x1:"22",x2:"2",y1:"12",y2:"12"}),jsx("polyline",{fill:"none",points:"9,19 2,12 9,5 ",stroke:r,strokeLinecap:"square",strokeLinejoin:"miter",strokeWidth:"2"})]})}))};u.styles=no;u.displayName="ArrowLeft";const mo=a({},t.styles); const C=c$1=>{const a$1=c$1; const {size:r=16,strokeColor:l="currentcolor",styles:s,role:p="img",alt:i="Chat icon"}=a$1; const m=c(a$1,["size","strokeColor","styles","role","alt"]);return jsx(t,b(a({size:r,styles:s,role:p,alt:i},m),{children:jsx("g",{fill:l,strokeMiterlimit:"10",children:jsx("path",{d:"M21,2H3c-1.105,0-2,.895-2,2V15c0,1.105,.895,2,2,2h5l4,5,4-5h5c1.105,0,2-.895,2-2V4c0-1.105-.895-2-2-2Z",fill:"none",stroke:l,strokeLinecap:"square",strokeLinejoin:"miter",strokeWidth:"2"})})}))};C.styles=mo;C.displayName="Chat";const ao=a({},t.styles); const x=a$1=>{const f=a$1; const {fill:r="currentColor",strokeColor:l,styles:s,size:p=16,role:i="img",alt:m="Down icon"}=f; const c$1=c(f,["fill","strokeColor","styles","size","role","alt"]);return jsx(t,b(a({size:p,role:i,styles:s,alt:m},c$1),{children:jsxs("g",{fill:r,strokeMiterlimit:"10",children:[jsx("line",{fill:"none",stroke:r,strokeLinecap:"butt",strokeLinejoin:"miter",strokeWidth:"2",x1:"12",x2:"12",y1:"2",y2:"22"}),jsx("polyline",{fill:"none",points:"19,15 12,22 5,15 ",stroke:r,strokeLinecap:"square",strokeLinejoin:"miter",strokeWidth:"2"})]})}))};x.styles=ao;x.displayName="ArrowDown";const fo=b(a({},t.styles),{fill:"none",stroke:"currentColor"}); const h=a$1=>{const f=a$1; const {fill:r="currentColor",strokeColor:l="currentColor",styles:s,size:p=16,role:i="img",alt:m="Up arrow icon"}=f; const c$1=c(f,["fill","strokeColor","styles","size","role","alt"]);return jsx(t,b(a({size:p,styles:s,role:i,alt:m},c$1),{children:jsxs("g",{fill:"none",stroke:l,strokeLinecap:"square",strokeLinejoin:"miter",strokeMiterlimit:"10",strokeWidth:"2",children:[jsx("line",{fill:"none",strokeLinecap:"butt",x1:"12",x2:"12",y1:"22",y2:"2"}),jsx("polyline",{fill:"none",points:"5,9 12,2 19,9 ",stroke:l})]})}))};h.displayName="ArrowUp";h.style=fo;b(a({},t.styles),{fill:"currentColor"});const F=a$1=>{const f=a$1; const {size:r=16,fill:l="currentColor",strokeColor:s="currentColor",styles:p,role:i="img",alt:m="Right arrow icon"}=f; const c$1=c(f,["size","fill","strokeColor","styles","role","alt"]);return jsx(t,b(a({size:r,styles:p,role:i,alt:m},c$1),{children:jsxs("g",{fill:l,stroke:s,strokeLinecap:"square",strokeLinejoin:"miter",strokeMiterlimit:"10",strokeWidth:"2",children:[jsx("line",{fill:"none",strokeLinecap:"butt",x1:"2",x2:"22",y1:"12",y2:"12"}),jsx("polyline",{fill:"none",points:"15,5 22,12 15,19 ",stroke:s})]})}))};F.displayName="ArrowRight";const ko=b(a({},t.styles),{fill:"none",stroke:"currentColor"}); const S=a$1=>{const f=a$1; const {size:r=16,fill:l="none",strokeColor:s="currentColor",styles:p,alt:i="User Icon",role:m}=f; const c$1=c(f,["size","fill","strokeColor","styles","alt","role"]);return jsx(t,b(a({size:r,role:m,alt:i,styles:p},c$1),{children:jsxs("g",{fill:l,stroke:s,strokeLinecap:"square",strokeLinejoin:"miter",strokeMiterlimit:"10",strokeWidth:"2",children:[jsx("circle",{cx:"12",cy:"5.5",fill:"none",r:"4.5"}),jsx("path",{d:"M12,14c-4.971,0-9,4.029-9,9H21c0-4.971-4.029-9-9-9Z",fill:"none",stroke:s})]})}))};S.styles=ko;S.displayName="User";const uo={fill:"currentColor"}; const R=c$1=>{const a$1=c$1; const {size:r=16,fill:l="currentColor",styles:s,role:p="img",alt:i="Right arrow icon"}=a$1; const m=c(a$1,["size","fill","styles","role","alt"]);return jsx(t,b(a({size:r,alt:i,styles:s,role:p},m),{children:jsx("g",{fill:l,children:jsx("path",{d:"M7,23a1,1,0,0,1-.707-1.707L15.586,12,6.293,2.707A1,1,0,0,1,7.707,1.293l10,10a1,1,0,0,1,0,1.414l-10,10A1,1,0,0,1,7,23Z",fill:l})})}))};R.displayName="Right";R.styles=uo;const Co=b(a({},t.styles),{fill:"currentColor"}); const v=c$1=>{const a$1=c$1; const {fill:r="currentColor",size:l=16,styles:s,role:p="img",alt:i="Left arrow icon"}=a$1; const m=c(a$1,["fill","size","styles","role","alt"]);return jsx(t,b(a({size:l,styles:s,alt:i,role:p},m),{children:jsx("g",{fill:r,children:jsx("path",{d:"M17,23a1,1,0,0,1-.707-.293l-10-10a1,1,0,0,1,0-1.414l10-10a1,1,0,0,1,1.414,1.414L8.414,12l9.293,9.293A1,1,0,0,1,17,23Z",fill:r})})}))};v.displayName="Left";v.styles=Co;const xo={fill:"currentColor"}; const w=c$1=>{const a$1=c$1; const {size:r=24,fill:l="currentColor",styles:s,role:p="img",alt:i="Minus icon"}=a$1; const m=c(a$1,["size","fill","styles","role","alt"]);return jsx(t,b(a({size:r,styles:s,role:p,alt:i},m),{children:jsx("g",{fill:l,children:jsx("path",{d:"M17,11H7c-.553,0-1,.447-1,1s.447,1,1,1h10c.553,0,1-.447,1-1s-.447-1-1-1Z",fill:l})})}))};w.displayName="Minus";w.styles=xo;const ho={fill:"currenStyle"}; const I=c$1=>{const a$1=c$1; const {size:r=16,fill:l="currentColor",styles:s,role:p="img",alt:i="Remove icon"}=a$1; const m=c(a$1,["size","fill","styles","role","alt"]);return jsx(t,b(a({size:r,alt:i,styles:s,role:p},m),{children:jsx("g",{fill:l,children:jsx("path",{d:"M19.7,4.3c-0.4-0.4-1-0.4-1.4,0L12,10.6L5.7,4.3c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l6.3,6.3l-6.3,6.3 c-0.4,0.4-0.4,1,0,1.4C4.5,19.9,4.7,20,5,20s0.5-0.1,0.7-0.3l6.3-6.3l6.3,6.3c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3 c0.4-0.4,0.4-1,0-1.4L13.4,12l6.3-6.3C20.1,5.3,20.1,4.7,19.7,4.3z",fill:l})})}))};I.displayName="Remove";I.styles=ho;const So=b(a({},t.styles),{stroke:"currentColor"}); const L=c$1=>{const a$1=c$1; const {size:r=16,strokeColor:l="currentColor",styles:s,role:p="img",alt:i="Copy icon"}=a$1; const m=c(a$1,["size","strokeColor","styles","role","alt"]);return jsx(t,b(a({size:r,styles:s,role:p,alt:i},m),{children:jsxs("g",{fill:"none",stroke:l,strokeLinecap:"square",strokeLinejoin:"miter",strokeMiterlimit:"10",strokeWidth:"2",children:[jsx("polyline",{fill:"none",points:"8 19 2 19 2 1 17 1 17 6",stroke:l}),jsx("rect",{height:"13",width:"10",fill:"none",x:"12",y:"10"})]})}))};L.displayName="Copy";L.styles=So;const vo=a({},t.styles); const z=c$1=>{const a$1=c$1; const {size:r=16,fill:l="currentColor",styles:s,role:p="img",alt:i="Up arrow icon"}=a$1; const m=c(a$1,["size","fill","styles","role","alt"]);return jsx(t,b(a({size:r,alt:i,styles:s,role:p},m),{children:jsx("g",{fill:l,children:jsx("path",{d:"M22,18a1,1,0,0,1-.707-.293L12,8.414,2.707,17.707a1,1,0,0,1-1.414-1.414l10-10a1,1,0,0,1,1.414,0l10,10A1,1,0,0,1,22,18Z",fill:l})})}))};z.displayName="Up";z.styles=vo;const wo=a({},t.styles); const A=c$1=>{const a$1=c$1; const {size:r=16,fill:l="currentColor",styles:s,role:p="img",alt:i="Down arrow icon"}=a$1; const m=c(a$1,["size","fill","styles","role","alt"]);return jsx(t,b(a({size:r,alt:i,styles:s,role:p},m),{children:jsx("g",{fill:l,children:jsx("path",{d:"M12,18a1,1,0,0,1-.707-.293l-10-10A1,1,0,0,1,2.707,6.293L12,15.586l9.293-9.293a1,1,0,1,1,1.414,1.414l-10,10A1,1,0,0,1,12,18Z",fill:l})})}))};A.displayName="Down";A.styles=wo;function Q(a$1){const f=a$1; const {size:r=16,fill:l="currentColor",strokeColor:s="currentColor",styles:p,role:i="img",alt:m="Star icon"}=f; const c$1=c(f,["size","fill","strokeColor","styles","role","alt"]);return jsx(t,b(a({size:r,alt:m,styles:p,role:i},c$1),{children:jsx("g",{fill:"none",stroke:s,strokeLinecap:"square",strokeLinejoin:"miter",strokeMiterlimit:"10",strokeWidth:"2",children:jsx("polygon",{fill:"none",points:"12,2.49 15.09,8.75 22,9.754 17,14.628 18.18,21.51 12,18.262 5.82,21.51 7,14.628 2,9.754 8.91,8.75 ",stroke:s})})}))}Q.displayName="Star";const Io={display:"inline-flex",direction:"row",gap:".2rem",placeItems:"center",width:"auto"}; const y=p=>{const i=p; const {children:r,styles:l}=i; const s=c(i,["children","styles"]);return jsx(Y,b(a({as:"span",styles:l,"data-style":"icons"},s),{children:r}))};y.Add=P;y.ArrowDown=x;y.ArrowLeft=u;y.ArrowRight=F;y.ArrowUp=h;y.Chat=C;y.Code=N;y.Copy=L;y.displayName="Icon";y.Home=k;y.Left=v;y.Minus=w;y.Remove=I;y.Right=R;y.Star=Q;y.styles=Io;y.Up=z;y.Down=A;y.User=S;
6
-
7
- export { Y as a, N as b, k as c, P as d, u as e, C as f, x as g, h, F as i, S as j, R as k, v as l, w as m, I as n, L as o, Io as p, y as q };
8
- // # sourceMappingURL=out.js.map
9
- // # sourceMappingURL=chunk-GJWMCDFS.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/fp.tsx","../src/components/icons/components/svg.tsx","../src/components/icons/components/code.tsx","../src/components/icons/components/home.tsx","../src/components/icons/components/add.tsx","../src/components/icons/components/arrow-left.tsx","../src/components/icons/components/chat.tsx","../src/components/icons/components/arrow-down.tsx","../src/components/icons/components/arrow-up.tsx","../src/components/icons/components/arrow-right.tsx","../src/components/icons/components/user.tsx","../src/components/icons/components/right.tsx","../src/components/icons/components/left.tsx","../src/components/icons/components/minus.tsx","../src/components/icons/components/remove.tsx","../src/components/icons/components/copy.tsx","../src/components/icons/components/up.tsx","../src/components/icons/components/down.tsx","../src/components/icons/components/star.tsx","../src/components/icons/icon.tsx"],"names":["React","jsx","FP","_a","ref","_b","as","renderStyles","styles","children","defaultStyles","props","__objRest","Component","styleObj","__spreadValues","__spreadProps","fp_default","defaultStyes","Svg","fill","strokeColor","size","role","alt","svg_default","jsxs","Code","Home","Add","ArrowLeft","Chat","ArrowDown","ArrowUp","ArrowRight","User","Right","Left","Minus","Remove","Copy","Up","Down","Star","Icon"],"mappings":"sDAAA,OAAOA,MAAW,QAgFZ,cAAAC,OAAA,oBAnBN,IAAMC,GAAkBF,EAAM,WAC5B,CACEG,EAQAC,IACG,CATH,IAAAC,EAAAF,EACE,IAAAG,EACA,aAAAC,EAAe,GACf,OAAAC,EACA,SAAAC,EACA,cAAAC,CApEN,EA+DIL,EAMKM,EAAAC,EANLP,EAMK,CALH,KACA,eACA,SACA,WACA,kBAKF,IAAMQ,EAAYP,GAAM,MAElBQ,EAAWP,EACbQ,IAAA,GAAKL,GAAkBF,GACtB,CAAC,EAEN,OACEP,GAACY,EAAAG,EAAAD,EAAA,CAAU,IAAKX,EAAK,MAAOU,GAAcH,GAAzC,CACE,SAAAF,GACH,CAEJ,CACF,EAMOQ,EAAQf,GCnEX,cAAAD,OAAA,oBApBJ,IAAMiB,GAAe,CACnB,QAAS,cACT,WAAY,SACZ,MAAO,MACT,EAEaC,EAAOhB,GAYd,CAZc,IAAAE,EAAAF,EAClB,MAAAiB,EAAO,eACP,YAAAC,EACA,OAAAb,EACA,KAAAc,EACA,KAAAC,EAAO,MACP,IAAAC,EACA,SAAAf,CAjBF,EAUoBJ,EAQfM,EAAAC,EAReP,EAQf,CAPH,OACA,cACA,SACA,OACA,OACA,MACA,aAMA,OACEJ,GAAC,MAAAe,EAAAD,EAAA,CACC,OAAQO,EACR,MAAOA,EACP,QAAQ,YACR,MAAM,6BACN,MAAOd,EACP,KAAMe,EACN,aAAYC,GACRb,GARL,CAUE,SAAAF,GACH,CAEJ,EAEOgB,EAAQN,EACfA,EAAI,YAAc,MAClBA,EAAI,OAASD,GCLP,OAQE,OAAAjB,EARF,QAAAyB,OAAA,oBA/BN,IAAMhB,GAAgBM,EAAAD,EAAA,GACjBU,EAAI,QADa,CAEpB,KAAM,OACN,OAAQ,cACV,GAaaE,EAAO,CAACxB,EAWjB,CAAC,IA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,EACbQ,EAAK,KAAOD,EACZC,EAAK,OAASlC,GACdkC,EAAK,GAAKH,EACVG,EAAK,KAAOF,EACZE,EAAK,KAAOT","sourcesContent":["import React from 'react'\nimport { ComponentProps } from '../types'\n\ntype PolymorphicRef<C extends React.ElementType> =\n React.ComponentPropsWithRef<C>['ref']\n\ntype AsProp<C extends React.ElementType> = {\n as?: C\n}\n\ntype PropsToOmit<C extends React.ElementType, P> = keyof (AsProp<C> & P)\n\ntype PolymorphicComponentProp<\n C extends React.ElementType,\n Props = {},\n> = React.PropsWithChildren<Props & AsProp<C>> &\n Omit<React.ComponentPropsWithoutRef<C>, PropsToOmit<C, Props>>\n\ntype PolymorphicComponentPropWithRef<\n C extends React.ElementType,\n Props = {},\n> = PolymorphicComponentProp<C, Props> & {\n ref?: PolymorphicRef<C>\n}\n\ntype FPProps<C extends React.ElementType> = PolymorphicComponentPropWithRef<\n C,\n {\n renderStyles?: boolean\n styles?: {}\n }\n>\n\n/*\n * FPComponent type definition\n *\n * Defines the component function signature for the FP component.\n *\n * @typeParam C - The HTML element type to render\n * @param props - The component props\n * @returns React component\n */\ntype FPComponent = <C extends React.ElementType = 'span'>(\n props: FPProps<C>,\n) => React.ReactElement | any\n\n// create an object type and make it optional\ntype styl = {\n styles?: {}\n}\n\n/**\n * FP component is a polymorphic component that renders an HTML element with optional styles.\n * @param {Object} props - Component props\n * @param {React.ElementType} props.as - The HTML element to render. Defaults to 'div'.\n * @param {boolean} props.renderStyles - Whether to render styles or not. Defaults to true.\n * @param {Object} props.styles - The styles to apply to the component.\n * @param {Object} props.defaultStyles - The default styles to apply to the component.\n * @param {React.ReactNode} props.children - The children to render inside the component.\n * @returns {React.ReactElement} - A React component that renders an HTML element with optional styles.\n */\nconst FP: FPComponent = React.forwardRef(\n <C extends React.ElementType>(\n {\n as,\n renderStyles = true,\n styles,\n children,\n defaultStyles,\n ...props\n }: FPProps<C>,\n ref?: PolymorphicRef<C>,\n ) => {\n const Component = as || 'div'\n\n const styleObj = renderStyles\n ? { ...defaultStyles, ...styles }\n : ({} as React.CSSProperties)\n\n return (\n <Component ref={ref} style={styleObj} {...props}>\n {children}\n </Component>\n )\n },\n)\nexport interface BoxProps extends ComponentProps {\n elm?: 'div'\n renderStyles: true\n}\n\nexport default FP\n","import * as React from 'react'\n\nimport { IconProps } from '../types'\n\nconst defaultStyes = {\n display: 'inline-flex',\n alignItems: 'center',\n width: 'auto',\n}\n\nexport const Svg = ({\n fill = 'currentColor',\n strokeColor,\n styles,\n size,\n role = 'img',\n alt,\n children,\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt' | 'children'\n>) => {\n return (\n <svg\n height={size}\n width={size}\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n style={styles}\n role={role}\n aria-label={alt}\n {...props}\n >\n {children}\n </svg>\n )\n}\n\nexport default Svg\nSvg.displayName = 'Svg'\nSvg.styles = defaultStyes\n","import * as React from 'react'\n\nimport { IconProps } from '../types'\nimport Svg from './svg'\n\nconst defaultStyles = {\n ...Svg.styles,\n fill: 'none',\n stroke: 'currentColor',\n}\n\n/**\n * Renders a code icon.\n *\n * @param {string} strokeColor - The color of the icon's stroke.\n * @param {string} fill - The color of the icon's fill.\n * @param {string} size - The size of the icon.\n * @param {string} viewBox - The viewBox of the icon.\n * @param {React.CSSProperties} styles - The default styles of the icon.\n * @param {IconProps} props - Additional props to apply to the icon.\n * @returns {JSX.Element} - A React component that renders an SVG icon.\n */\nexport const Code = ({\n strokeColor = 'currentColor',\n fill = 'none',\n size = 16,\n styles,\n role = 'img',\n alt = 'Code icon',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n> = {}) => {\n return (\n <Svg size={size} role={role} alt={alt} styles={styles} {...props}>\n <g\n fill={fill}\n stroke={strokeColor}\n strokeLinecap=\"square\"\n strokeLinejoin=\"miter\"\n strokeMiterlimit=\"10\"\n strokeWidth=\"2\"\n >\n <rect\n height=\"22\"\n width=\"18\"\n fill=\"none\"\n stroke={strokeColor}\n x=\"3\"\n y=\"1\"\n />\n <polyline fill=\"none\" points=\"9 9 6 12 9 15\" />\n <polyline fill=\"none\" points=\"15 15 18 12 15 9\" />\n </g>\n </Svg>\n )\n}\n\nexport default Code\nCode.styles = defaultStyles\n","import { IconProps } from '../types'\nimport React from 'react'\nimport Svg from './svg'\n\nconst defaultStyles = {\n ...Svg.styles,\n fill: 'currentColor',\n stroke: 'none',\n}\n\n/**\n * Renders a home icon.\n *\n * @param {string} strokeColor - The color of the icon's stroke.\n * @param {string} fill - The color of the icon's fill.\n * @param {string} size - The size of the icon.\n * @param {string} viewBox - The viewBox of the icon.\n * @param {string} name - The name of the icon.\n * @param {Object} styles - The styles of the icon.\n * @param {Object} props - The props of the icon.\n * @returns {JSX.Element} - A home icon.\n */\nexport const Home = ({\n strokeColor = 'currentColor',\n fill = 'none',\n size = 16,\n styles = defaultStyles,\n role = 'img',\n alt = 'Home icon',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>) => {\n return (\n <Svg size={size} styles={styles} role={role} alt={alt} {...props}>\n <g\n fill={fill}\n stroke={strokeColor}\n strokeLinecap=\"square\"\n strokeLinejoin=\"miter\"\n strokeMiterlimit=\"10\"\n strokeWidth=\"2\"\n >\n <polygon\n fill=\"none\"\n points=\"12 2 2 10 2 23 9 23 9 16 15 16 15 23 22 23 22 10 12 2\"\n stroke={strokeColor}\n />\n </g>\n </Svg>\n )\n}\n\nexport default Home\nHome.displayName = 'Home'\nHome.styles = defaultStyles\n","import * as React from 'react'\n\nimport { IconProps } from '../types'\nimport Svg from './svg'\n\nconst defaultStyles = {\n ...Svg.styles,\n fill: 'currentColor',\n}\n\n/**\n * Add Icon component\n * @param {string} fill - Icon fill color (default: 'currentColor')\n * @param {string} size - Icon size (default: '24')\n * @param {IconProps} props - Other icon properties\n * @returns {JSX.Element} - Rendered component\n */\nexport const Add = ({\n fill = 'currentColor',\n size = 24,\n role = 'img',\n alt = 'Add icon',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>): JSX.Element => {\n return (\n <Svg size={size} role={role} alt={alt} {...props}>\n <g fill={fill}>\n <path\n d=\"M17,11h-4V7c0-.553-.447-1-1-1s-1,.447-1,1v4H7c-.553,0-1,.447-1,1s.447,1,1,1h4v4c0,.553,.447,1,1,1s1-.447,1-1v-4h4c.553,0,1-.447,1-1s-.447-1-1-1Z\"\n fill={fill}\n />\n </g>\n </Svg>\n )\n}\n\nexport default Add\nAdd.styles = defaultStyles\nAdd.displayName = 'Add'\n","import * as React from 'react'\n\nimport { IconProps } from '../types'\nimport Svg from './svg'\n\nconst defaultStyles = { ...Svg.styles }\n\n/**\n * Renders an arrow pointing to the left.\n *\n * @param {string} strokeColor - The color of the arrow's stroke.\n * @param {string} fill - The fill color of the arrow.\n * @param {string} size - The size of the arrow.\n * @param {object} styles - The styles to apply to the arrow.\n * @param {object} props - The additional props to pass to the SVG element.\n * @returns {JSX.Element} - A React component that renders an arrow pointing to the left.\n */\nexport const ArrowLeft = ({\n strokeColor = 'currentColor',\n fill = 'currentColor',\n size = 16,\n styles,\n role = 'img',\n alt = 'Arrow pointing left',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>) => {\n return (\n <Svg size={size} styles={styles} role={role} {...props} alt={alt}>\n <g fill={fill} strokeMiterlimit=\"10\">\n <line\n fill=\"none\"\n stroke={strokeColor}\n strokeLinecap=\"butt\"\n strokeLinejoin=\"miter\"\n strokeWidth=\"2\"\n x1=\"22\"\n x2=\"2\"\n y1=\"12\"\n y2=\"12\"\n />\n <polyline\n fill=\"none\"\n points=\"9,19 2,12 9,5 \"\n stroke={strokeColor}\n strokeLinecap=\"square\"\n strokeLinejoin=\"miter\"\n strokeWidth=\"2\"\n />\n </g>\n </Svg>\n )\n}\n\nexport default ArrowLeft\nArrowLeft.styles = defaultStyles\nArrowLeft.displayName = 'ArrowLeft'\n","import * as React from 'react'\n\nimport { IconProps } from '../types'\nimport Svg from './svg'\n\nconst defaultStyles = { ...Svg.styles }\n\n/**\n * @param {string} size - The width and height of the icon in pixels. Defaults to 24.\n * @param {string} strokeColor - The color of the icon stroke. Defaults to 'currentcolor'.\n * @param {React.CSSProperties} styles - Additional CSS styles to apply to the icon.\n * @param {IconProps} props - Additional props to pass to the SVG element.\n * @returns {JSX.Element} - A chat icon component that displays a speech bubble with lines representing text.\n */\nexport const Chat = ({\n size = 16,\n strokeColor = 'currentcolor',\n styles,\n role = 'img',\n alt = 'Chat icon',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>): JSX.Element => {\n return (\n <Svg size={size} styles={styles} role={role} alt={alt} {...props}>\n <g fill={strokeColor} strokeMiterlimit=\"10\">\n <path\n d=\"M21,2H3c-1.105,0-2,.895-2,2V15c0,1.105,.895,2,2,2h5l4,5,4-5h5c1.105,0,2-.895,2-2V4c0-1.105-.895-2-2-2Z\"\n fill=\"none\"\n stroke={strokeColor}\n strokeLinecap=\"square\"\n strokeLinejoin=\"miter\"\n strokeWidth=\"2\"\n />\n </g>\n </Svg>\n )\n}\n\nexport default Chat\nChat.styles = defaultStyles\nChat.displayName = 'Chat'\n","import * as React from 'react'\n\nimport { IconProps } from '../types'\nimport Svg from './svg'\n\nconst defaultStyles = { ...Svg.styles }\n\n/**\n * ArrowDown icon component\n * @param fill - Icon fill color\n * @param strokeColor - Icon stroke color\n * @param styles - Icon styles\n * @param size - Icon size\n */\nexport const ArrowDown = ({\n fill = 'currentColor',\n strokeColor,\n styles,\n size = 16,\n role = 'img',\n alt = 'Down icon',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>) => {\n return (\n <Svg size={size} role={role} styles={styles} alt={alt} {...props}>\n <g fill={fill} strokeMiterlimit=\"10\">\n <line\n fill=\"none\"\n stroke={fill}\n strokeLinecap=\"butt\"\n strokeLinejoin=\"miter\"\n strokeWidth=\"2\"\n x1=\"12\"\n x2=\"12\"\n y1=\"2\"\n y2=\"22\"\n />\n <polyline\n fill=\"none\"\n points=\"19,15 12,22 5,15 \"\n stroke={fill}\n strokeLinecap=\"square\"\n strokeLinejoin=\"miter\"\n strokeWidth=\"2\"\n />\n </g>\n </Svg>\n )\n}\n\nexport default ArrowDown\nArrowDown.styles = defaultStyles\nArrowDown.displayName = 'ArrowDown'\n","import * as React from 'react'\n\nimport { IconProps } from '../types'\nimport Svg from './svg'\n\nconst defaultStyles = {\n ...Svg.styles,\n fill: 'none',\n stroke: 'currentColor',\n}\n\n/**\n * ArrowUp icon component\n * @param fill - Icon fill color\n * @param strokeColor - Icon stroke color\n * @param styles - Icon styles\n * @param size - Icon size\n */\nexport const ArrowUp = ({\n fill = 'currentColor',\n strokeColor = 'currentColor',\n styles,\n size = 16,\n role = 'img',\n alt = 'Up arrow icon',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>) => {\n return (\n <Svg size={size} styles={styles} role={role} alt={alt} {...props}>\n <g\n fill=\"none\"\n stroke={strokeColor}\n strokeLinecap=\"square\"\n strokeLinejoin=\"miter\"\n strokeMiterlimit=\"10\"\n strokeWidth=\"2\"\n >\n <line fill=\"none\" strokeLinecap=\"butt\" x1=\"12\" x2=\"12\" y1=\"22\" y2=\"2\" />\n <polyline fill=\"none\" points=\"5,9 12,2 19,9 \" stroke={strokeColor} />\n </g>\n </Svg>\n )\n}\n\nexport default ArrowUp\nArrowUp.displayName = 'ArrowUp'\nArrowUp.style = defaultStyles\n","import { IconProps } from '../types'\nimport React from 'react'\nimport Svg from './svg'\n\nconst defaultStyles = {\n ...Svg.styles,\n fill: 'currentColor',\n}\n\n/*\n * ArrowRight icon component.\n *\n * Renders a right arrow SVG icon.\n *\n * @param {IconProps} props - The component props\n * @param {string} [props.size=\"24\"] - Icon size\n * @param {string} [props.fill=\"currentColor\"] - Icon fill color\n * @param {string} [props.strokeColor=\"currentColor\"] - Stroke color\n *\n * @returns {React.ReactElement} - The rendered icon\n */\nexport const ArrowRight = ({\n size = 16,\n fill = 'currentColor',\n strokeColor = 'currentColor',\n styles,\n role = 'img',\n alt = 'Right arrow icon',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>) => {\n return (\n <Svg size={size} styles={styles} role={role} alt={alt} {...props}>\n <g\n fill={fill}\n stroke={strokeColor}\n strokeLinecap=\"square\"\n strokeLinejoin=\"miter\"\n strokeMiterlimit=\"10\"\n strokeWidth=\"2\"\n >\n <line fill=\"none\" strokeLinecap=\"butt\" x1=\"2\" x2=\"22\" y1=\"12\" y2=\"12\" />\n <polyline fill=\"none\" points=\"15,5 22,12 15,19 \" stroke={strokeColor} />\n </g>\n </Svg>\n )\n}\n\nexport default ArrowRight\nArrowRight.displayName = 'ArrowRight'\n","import { IconProps } from '../types'\nimport React from 'react'\nimport Svg from './svg'\n\nconst defaultStyles = {\n ...Svg.styles,\n fill: 'none',\n stroke: 'currentColor',\n}\n\nexport const User = ({\n size = 16,\n fill = 'none',\n strokeColor = 'currentColor',\n styles,\n alt = 'User Icon',\n role,\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>) => {\n return (\n <Svg size={size} role={role} alt={alt} styles={styles} {...props}>\n <g\n fill={fill}\n stroke={strokeColor}\n strokeLinecap=\"square\"\n strokeLinejoin=\"miter\"\n strokeMiterlimit=\"10\"\n strokeWidth=\"2\"\n >\n <circle cx=\"12\" cy=\"5.5\" fill=\"none\" r=\"4.5\" />\n <path\n d=\"M12,14c-4.971,0-9,4.029-9,9H21c0-4.971-4.029-9-9-9Z\"\n fill=\"none\"\n stroke={strokeColor}\n />\n </g>\n </Svg>\n )\n}\n\nexport default User\nUser.styles = defaultStyles\nUser.displayName = 'User'\n","import { IconProps } from '../types'\nimport React from 'react'\nimport Svg from './svg'\n\nconst defaultStyles = {\n fill: 'currentColor',\n}\n\n/**\n * Renders a right arrow icon.\n *\n * @param {string} size - The size of the icon.\n * @param {string} fill - The fill color of the icon.\n * @param {React.CSSProperties} styles - The styles to apply to the icon.\n * @param {IconProps} props - The props to pass down to the icon.\n * @returns {JSX.Element} - A right arrow icon.\n */\nexport const Right = ({\n size = 16,\n fill = 'currentColor',\n styles,\n role = 'img',\n alt = 'Right arrow icon',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>) => {\n return (\n <Svg size={size} alt={alt} styles={styles} role={role} {...props}>\n <g fill={fill}>\n <path\n d=\"M7,23a1,1,0,0,1-.707-1.707L15.586,12,6.293,2.707A1,1,0,0,1,7.707,1.293l10,10a1,1,0,0,1,0,1.414l-10,10A1,1,0,0,1,7,23Z\"\n fill={fill}\n />\n </g>\n </Svg>\n )\n}\n\nexport default Right\nRight.displayName = 'Right'\nRight.styles = defaultStyles\n","import { IconProps } from '../types'\nimport React from 'react'\nimport Svg from './svg'\n\nconst defaultStyles = {\n ...Svg.styles,\n fill: 'currentColor',\n}\n\n/**\n * Left arrow icon\n * @param {string} fill - Icon fill color (default: 'currentColor')\n * @param {string} size - Icon size (default: '24')\n * @param {React.CSSProperties} styles - Icon styles (default: {})\n * @param {IconProps} props - Any other valid props for an SVG element\n * @returns {JSX.Element} - Rendered icon component\n */\nexport const Left = ({\n fill = 'currentColor',\n size = 16,\n styles,\n role = 'img',\n alt = 'Left arrow icon',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>) => {\n return (\n <Svg size={size} styles={styles} alt={alt} role={role} {...props}>\n <g fill={fill}>\n <path\n d=\"M17,23a1,1,0,0,1-.707-.293l-10-10a1,1,0,0,1,0-1.414l10-10a1,1,0,0,1,1.414,1.414L8.414,12l9.293,9.293A1,1,0,0,1,17,23Z\"\n fill={fill}\n />\n </g>\n </Svg>\n )\n}\n\nexport default Left\nLeft.displayName = 'Left'\nLeft.styles = defaultStyles\n","import { IconProps } from '../types'\nimport React from 'react'\nimport Svg from './svg'\n\nconst defaultStyles = {\n fill: 'currentColor',\n}\n\n/**\n * Minus icon component\n * @param {string} size - Icon size (default: 24)\n * @param {string} fill - Icon fill color (default: 'currentColor')\n * @param {object} styles - Inline styles for the SVG element\n * @param {object} props - Any other SVG attributes\n * @returns {JSX.Element} - Rendered Minus icon component\n */\nexport const Minus = ({\n size = 24,\n fill = 'currentColor',\n styles,\n role = 'img',\n alt = 'Minus icon',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>) => {\n return (\n <Svg size={size} styles={styles} role={role} alt={alt} {...props}>\n <g fill={fill}>\n <path\n d=\"M17,11H7c-.553,0-1,.447-1,1s.447,1,1,1h10c.553,0,1-.447,1-1s-.447-1-1-1Z\"\n fill={fill}\n />\n </g>\n </Svg>\n )\n}\n\nexport default Minus\nMinus.displayName = 'Minus'\nMinus.styles = defaultStyles\n","import { IconProps } from '../types'\nimport React from 'react'\nimport Svg from './svg'\n\nconst defaultStyles = {\n fill: 'currenStyle',\n}\n\n/**\n * Remove icon component\n * @param {string} size - The size of the icon\n * @param {string} fill - The fill color of the icon\n * @param {object} styles - The styles to apply to the icon\n * @param {object} props - The additional props to pass to the icon\n * @returns {JSX.Element} - The Remove icon component\n */\nexport const Remove = ({\n size = 16,\n fill = 'currentColor',\n styles,\n role = 'img',\n alt = 'Remove icon',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>) => {\n return (\n <Svg size={size} alt={alt} styles={styles} role={role} {...props}>\n <g fill={fill}>\n <path\n d=\"M19.7,4.3c-0.4-0.4-1-0.4-1.4,0L12,10.6L5.7,4.3c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l6.3,6.3l-6.3,6.3 c-0.4,0.4-0.4,1,0,1.4C4.5,19.9,4.7,20,5,20s0.5-0.1,0.7-0.3l6.3-6.3l6.3,6.3c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3 c0.4-0.4,0.4-1,0-1.4L13.4,12l6.3-6.3C20.1,5.3,20.1,4.7,19.7,4.3z\"\n fill={fill}\n />\n </g>\n </Svg>\n )\n}\n\nexport default Remove\nRemove.displayName = 'Remove'\nRemove.styles = defaultStyles\n","import { IconProps } from '../types'\nimport React from 'react'\nimport Svg from './svg'\n\nconst defaultStyles = {\n ...Svg.styles,\n stroke: 'currentColor',\n}\n\n/**\n * Copy icon component\n * @param {string} size - The width and height of the icon\n * @param {string} strokeColor - The color of the icon stroke\n * @param {IconProps} props - The icon component props\n * @returns {JSX.Element} - A react JSX element representing the copy icon\n */\nexport const Copy = ({\n size = 16,\n strokeColor = 'currentColor',\n styles,\n role = 'img',\n alt = 'Copy icon',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>): JSX.Element => {\n return (\n <Svg size={size} styles={styles} role={role} alt={alt} {...props}>\n <g\n fill=\"none\"\n stroke={strokeColor}\n strokeLinecap=\"square\"\n strokeLinejoin=\"miter\"\n strokeMiterlimit=\"10\"\n strokeWidth=\"2\"\n >\n <polyline\n fill=\"none\"\n points=\"8 19 2 19 2 1 17 1 17 6\"\n stroke={strokeColor}\n />\n <rect height=\"13\" width=\"10\" fill=\"none\" x=\"12\" y=\"10\" />\n </g>\n </Svg>\n )\n}\n\nexport default Copy\nCopy.displayName = 'Copy'\nCopy.styles = defaultStyles\n","import { IconProps } from '../types'\nimport React from 'react'\nimport Svg from './svg'\n\nconst defaultStyles = { ...Svg.styles }\nexport const Up = ({\n size = 16,\n fill = 'currentColor',\n styles,\n role = 'img',\n alt = 'Up arrow icon',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>) => {\n return (\n <Svg size={size} alt={alt} styles={styles} role={role} {...props}>\n <g fill={fill}>\n <path\n d=\"M22,18a1,1,0,0,1-.707-.293L12,8.414,2.707,17.707a1,1,0,0,1-1.414-1.414l10-10a1,1,0,0,1,1.414,0l10,10A1,1,0,0,1,22,18Z\"\n fill={fill}\n />\n </g>\n </Svg>\n )\n}\n\nexport default Up\nUp.displayName = 'Up'\nUp.styles = defaultStyles\n","import * as React from 'react'\n\nimport { IconProps } from '../types'\nimport Svg from './svg'\n\nconst defaultStyles = { ...Svg.styles }\n\nexport const Down = ({\n size = 16,\n fill = 'currentColor',\n styles,\n role = 'img',\n alt = 'Down arrow icon',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>) => {\n return (\n <Svg size={size} alt={alt} styles={styles} role={role} {...props}>\n <g fill={fill}>\n <path\n d=\"M12,18a1,1,0,0,1-.707-.293l-10-10A1,1,0,0,1,2.707,6.293L12,15.586l9.293-9.293a1,1,0,1,1,1.414,1.414l-10,10A1,1,0,0,1,12,18Z\"\n fill={fill}\n />\n </g>\n </Svg>\n )\n}\n\nexport default Down\nDown.displayName = 'Down'\nDown.styles = defaultStyles\n","import { IconProps } from '../types'\nimport React from 'react'\nimport Svg from './svg'\n\nexport function Star({\n size = 16,\n fill = 'currentColor',\n strokeColor = 'currentColor',\n styles,\n role = 'img',\n alt = 'Star icon',\n ...props\n}: Pick<\n IconProps,\n 'strokeColor' | 'fill' | 'styles' | 'size' | 'role' | 'alt'\n>) {\n return (\n <Svg size={size} alt={alt} styles={styles} role={role} {...props}>\n <g\n fill=\"none\"\n stroke={strokeColor}\n strokeLinecap=\"square\"\n strokeLinejoin=\"miter\"\n strokeMiterlimit=\"10\"\n strokeWidth=\"2\"\n >\n <polygon\n fill=\"none\"\n points=\"12,2.49 15.09,8.75 22,9.754 17,14.628 18.18,21.51 12,18.262 5.82,21.51 7,14.628 2,9.754 8.91,8.75 \"\n stroke={strokeColor}\n />\n </g>\n </Svg>\n )\n}\n\nexport default Star\nStar.displayName = 'Star'\n","import {\n Add,\n ArrowDown,\n ArrowLeft,\n ArrowRight,\n ArrowUp,\n Chat,\n Code,\n Copy,\n Down,\n Home,\n Left,\n Minus,\n Remove,\n Right,\n Star,\n Up,\n User,\n} from './index'\n\nimport { ComponentProps } from '#/types'\nimport FP from '#components/fp'\nimport React from 'react'\n\nexport interface IconProps extends Partial<ComponentProps> {\n fill?: string\n size?: string\n viewBox?: string\n name?: string\n}\n\nexport const defaultStyles = {\n display: 'inline-flex',\n direction: 'row',\n gap: '.2rem',\n placeItems: 'center',\n width: 'auto',\n}\n\n/**\n * Icon component wraps svg in a div.\n * @param {IconProps} props - The props object for the Icon component.\n * @param {React.ReactNode} props.children - The children of the Icon component.\n * @param {Object} props.styles - The styles object for the Icon component.\n * @returns {JSX.Element} - The Icon component.\n */\nexport const Icon = ({ children, styles, ...props }: IconProps) => {\n return (\n <FP as=\"span\" styles={styles} data-style=\"icons\" {...props}>\n {children}\n </FP>\n )\n}\n\nexport default Icon\nIcon.Add = Add\nIcon.ArrowDown = ArrowDown\nIcon.ArrowLeft = ArrowLeft\nIcon.ArrowRight = ArrowRight\nIcon.ArrowUp = ArrowUp\nIcon.Chat = Chat\nIcon.Code = Code\nIcon.Copy = Copy\nIcon.displayName = 'Icon'\nIcon.Home = Home\nIcon.Left = Left\nIcon.Minus = Minus\nIcon.Remove = Remove\nIcon.Right = Right\nIcon.Star = Star\nIcon.styles = defaultStyles\nIcon.Up = Up\nIcon.Down = Down\nIcon.User = User\n"]}
@@ -1,5 +0,0 @@
1
- const i=Object.defineProperty; const j=Object.defineProperties;const k=Object.getOwnPropertyDescriptors;const e=Object.getOwnPropertySymbols;const g=Object.prototype.hasOwnProperty; const h=Object.prototype.propertyIsEnumerable;const f=(a,b,c)=>b in a?i(a,b,{enumerable:!0,configurable:!0,writable:!0,value:c}):a[b]=c; const l=(a,b)=>{for(var c in b||(b={}))g.call(b,c)&&f(a,c,b[c]);if(e)for(var c of e(b))h.call(b,c)&&f(a,c,b[c]);return a}; const m=(a,b)=>j(a,k(b));const n=(a,b)=>{const c={};for(var d in a)g.call(a,d)&&b.indexOf(d)<0&&(c[d]=a[d]);if(a!=null&&e)for(var d of e(a))b.indexOf(d)<0&&h.call(a,d)&&(c[d]=a[d]);return c};
2
-
3
- export { l as a, m as b, n as c };
4
- // # sourceMappingURL=out.js.map
5
- // # sourceMappingURL=chunk-PCDUGD3C.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
package/dist/hooks.cjs DELETED
@@ -1,10 +0,0 @@
1
- 'use strict';
2
-
3
- require('./chunk-77CZU5XZ.cjs');
4
- var react = require('react');
5
-
6
- var L=(e,P,n=1)=>{let[h,s]=react.useState(!1),[d,m]=react.useState({top:0,left:0});return {isVisible:h,popoverPosition:d,handlePointerEvent:r=>{var i,c,p;r==null||r.stopPropagation();let t=((i=e.current)==null?void 0:i.offsetHeight)||40;if(e.current){let l=e.current.getBoundingClientRect(),{scrollY:o,scrollX:v,innerHeight:a}=window,u=l.bottom+o+n,b=l.left+v,H=u+t,g=(p=(c=P.current)==null?void 0:c.offsetHeight)!=null?p:t,E=H>o+a?Math.max(o+a-g-t-n,o)-t-n:u;m({top:E,left:b}),s(!0);}},handlePointerLeave:()=>{s(!1);}}};
7
-
8
- exports.usePopover = L;
9
- //# sourceMappingURL=out.js.map
10
- //# sourceMappingURL=hooks.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/hooks/popover/use-popover.tsx"],"names":["useState","usePopover","elementRef","hoverRef","spacing","isVisible","setIsVisible","popoverPosition","setPopoverPosition","event","_a","_b","_c","height","rect","scrollY","scrollX","innerHeight","popoverTop","popoverLeft","popoverBottom","popoverHeight","adjustedTop"],"mappings":"6BAAA,OAAS,YAAAA,MAAgB,QA2BlB,IAAMC,EAAa,CACxBC,EACAC,EACAC,EAAU,IACP,CACH,GAAM,CAACC,EAAWC,CAAY,EAAIN,EAAS,EAAK,EAC1C,CAACO,EAAiBC,CAAkB,EAAIR,EAAmB,CAC/D,IAAK,EACL,KAAM,CACR,CAAC,EAoCD,MAAO,CACL,UAAAK,EACA,gBAAAE,EACA,mBArC0BE,GAA+C,CAtC7E,IAAAC,EAAAC,EAAAC,EAuCIH,GAAA,MAAAA,EAAO,kBACP,IAAMI,IAASH,EAAAR,EAAW,UAAX,YAAAQ,EAAoB,eAAgB,GACnD,GAAIR,EAAW,QAAS,CACtB,IAAMY,EAAOZ,EAAW,QAAQ,sBAAsB,EAChD,CAAE,QAAAa,EAAS,QAAAC,EAAS,YAAAC,CAAY,EAAI,OAEpCC,EAAaJ,EAAK,OAASC,EAAUX,EACrCe,EAAcL,EAAK,KAAOE,EAC1BI,EAAgBF,EAAaL,EAC7BQ,GAAgBT,GAAAD,EAAAR,EAAS,UAAT,YAAAQ,EAAkB,eAAlB,KAAAC,EAAkCC,EAElDS,EACJF,EAAgBL,EAAUE,EACtB,KAAK,IACHF,EAAUE,EAAcI,EAAgBR,EAAST,EACjDW,CACF,EACAF,EACAT,EACAc,EAENV,EAAmB,CACjB,IAAKc,EACL,KAAMH,CACR,CAAC,EACDb,EAAa,EAAI,CACnB,CACF,EAUE,mBARyB,IAAM,CAC/BA,EAAa,EAAK,CACpB,CAOA,CACF","sourcesContent":["import { useState } from 'react'\n\ntype Position = {\n /**\n * @description This is the top position of the popover.\n * @default 0\n */\n top: number\n /**\n * @description This is the left position of the popover.\n * @default 0\n */\n left: number\n}\n\n/**\n * @description This is the hook to show/hide the popover.\n * @param elementRef - This is the ref of the element on which the popover should be shown.\n * @param hoverRef - This is the ref of the element on which the popover should be shown.\n * @param spacing - This is the spacing between the element and the popover.\n * @example - const { isVisible, popoverPosition, handlePointerEvent, handlePointerLeave } = usePopover(hoverRef, popOverRef, 1)\n * @returns - This is the object of the following properties.\n * @returns - isVisible - This is the boolean value to show/hide the popover.\n * @returns - popoverPosition - This is the position of the popover.\n * @returns - handlePointerEvent - This is the function to handle the pointer event.\n * @returns - handlePointerLeave - This is the function to handle the pointer leave event.\n */\nexport const usePopover = (\n elementRef: React.RefObject<HTMLElement>,\n hoverRef: React.RefObject<HTMLElement>,\n spacing = 1,\n) => {\n const [isVisible, setIsVisible] = useState(false)\n const [popoverPosition, setPopoverPosition] = useState<Position>({\n top: 0,\n left: 0,\n })\n\n const handlePointerEvent = (event: React.MouseEvent<HTMLButtonElement>) => {\n event?.stopPropagation()\n const height = elementRef.current?.offsetHeight || 40\n if (elementRef.current) {\n const rect = elementRef.current.getBoundingClientRect()\n const { scrollY, scrollX, innerHeight } = window\n\n const popoverTop = rect.bottom + scrollY + spacing\n const popoverLeft = rect.left + scrollX\n const popoverBottom = popoverTop + height // Adjust the popover height as needed\n const popoverHeight = hoverRef.current?.offsetHeight ?? height // Adjust the popover height as needed\n\n const adjustedTop =\n popoverBottom > scrollY + innerHeight\n ? Math.max(\n scrollY + innerHeight - popoverHeight - height - spacing,\n scrollY,\n ) -\n height -\n spacing\n : popoverTop\n\n setPopoverPosition({\n top: adjustedTop,\n left: popoverLeft,\n })\n setIsVisible(true)\n }\n }\n\n const handlePointerLeave = () => {\n setIsVisible(false)\n }\n\n return {\n isVisible,\n popoverPosition,\n handlePointerEvent,\n handlePointerLeave,\n }\n}\n\nexport default usePopover\n"]}
package/dist/hooks.d.cts DELETED
@@ -1,32 +0,0 @@
1
- type Position = {
2
- /**
3
- * @description This is the top position of the popover.
4
- * @default 0
5
- */
6
- top: number;
7
- /**
8
- * @description This is the left position of the popover.
9
- * @default 0
10
- */
11
- left: number;
12
- };
13
- /**
14
- * @description This is the hook to show/hide the popover.
15
- * @param elementRef - This is the ref of the element on which the popover should be shown.
16
- * @param hoverRef - This is the ref of the element on which the popover should be shown.
17
- * @param spacing - This is the spacing between the element and the popover.
18
- * @example - const { isVisible, popoverPosition, handlePointerEvent, handlePointerLeave } = usePopover(hoverRef, popOverRef, 1)
19
- * @returns - This is the object of the following properties.
20
- * @returns - isVisible - This is the boolean value to show/hide the popover.
21
- * @returns - popoverPosition - This is the position of the popover.
22
- * @returns - handlePointerEvent - This is the function to handle the pointer event.
23
- * @returns - handlePointerLeave - This is the function to handle the pointer leave event.
24
- */
25
- declare const usePopover: (elementRef: React.RefObject<HTMLElement>, hoverRef: React.RefObject<HTMLElement>, spacing?: number) => {
26
- isVisible: boolean;
27
- popoverPosition: Position;
28
- handlePointerEvent: (event: React.MouseEvent<HTMLButtonElement>) => void;
29
- handlePointerLeave: () => void;
30
- };
31
-
32
- export { usePopover };