@trackunit/react-components 1.1.1 → 1.1.5

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 (28) hide show
  1. package/index.cjs.js +348 -1523
  2. package/index.esm.js +210 -1374
  3. package/package.json +6 -6
  4. package/src/components/EmptyState/states/AnatomySVG.d.ts +5 -0
  5. package/src/components/EmptyState/states/BuildingErrorSVG.d.ts +5 -0
  6. package/src/components/EmptyState/states/Dont3SVG.d.ts +5 -0
  7. package/src/components/EmptyState/states/PhoneLockSecuritySVG.d.ts +5 -0
  8. package/src/components/EmptyState/states/RoadBlockSVG.d.ts +5 -0
  9. package/src/components/EmptyState/states/SearchDocumentSVG.d.ts +5 -0
  10. package/src/components/EmptyState/states/WallConstructionSVG.d.ts +5 -0
  11. package/src/components/EmptyState/states/WorkerWithSignSVG.d.ts +5 -0
  12. package/src/components/EmptyState/states/index.d.ts +7 -0
  13. package/src/components/PageHeader/PageHeader.d.ts +7 -63
  14. package/src/components/PageHeader/PageHeader.variants.d.ts +0 -7
  15. package/src/components/PageHeader/components/PageHeaderKpiMetrics.d.ts +4 -0
  16. package/src/components/PageHeader/components/PageHeaderSecondaryActions.d.ts +20 -0
  17. package/src/components/PageHeader/components/PageHeaderTitle.d.ts +4 -0
  18. package/src/components/PageHeader/components/index.d.ts +3 -0
  19. package/src/components/PageHeader/index.d.ts +3 -0
  20. package/src/components/PageHeader/types.d.ts +83 -0
  21. package/src/hooks/index.d.ts +1 -1
  22. package/src/hooks/useIsTextTruncated.d.ts +19 -0
  23. package/src/hooks/useIsTextWrapping.d.ts +11 -3
  24. package/051071830dacb5a2.svg +0 -36
  25. package/143a6e982b3d1ec9.svg +0 -59
  26. package/36c10e69abcc3b8f.svg +0 -19
  27. package/8df3d27593b5fba4.svg +0 -70
  28. package/src/hooks/useIsTextCutOff.d.ts +0 -8
@@ -1,70 +0,0 @@
1
- <svg width="200" height="200" viewBox="0 0 200 200" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M181 100C181.002 88.0604 178.331 76.2717 173.183 65.4987C168.035 54.7257 160.541 45.2416 151.251 37.7418C141.961 30.242 131.11 24.9168 119.493 22.1567C107.877 19.3967 95.7903 19.2717 84.1195 21.7911C72.4486 24.3104 61.4897 29.4102 52.0464 36.7163C42.603 44.0225 34.9148 53.3497 29.5456 64.014C24.1763 74.6783 21.2622 86.4092 21.0169 98.3463C20.7716 110.283 23.2014 122.124 28.128 133H173.872C178.578 122.635 181.008 111.383 181 100Z" fill="#F1F5F9"/>
3
- <path d="M28.1279 133C34.4733 147.008 44.7216 158.89 57.6457 167.224C70.5697 175.558 85.6219 179.99 101 179.99C116.378 179.99 131.43 175.558 144.354 167.224C157.278 158.89 167.527 147.008 173.872 133H28.1279Z" fill="white"/>
4
- <path d="M22 133H178" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
5
- <path d="M13 133H18" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
6
- <path d="M182 133H187" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
7
- <path d="M162.968 110.136H156.952V133H162.968V110.136Z" fill="white"/>
8
- <path d="M166.986 100.51H110.818C109.713 100.51 108.818 101.406 108.818 102.51V108.138C108.818 109.243 109.713 110.138 110.818 110.138H166.986C168.091 110.138 168.986 109.243 168.986 108.138V102.51C168.986 101.406 168.091 100.51 166.986 100.51Z" fill="white" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
9
- <path d="M120.852 110.136H114.836V133H120.852V110.136Z" fill="white"/>
10
- <path d="M120.852 110.136H114.836V133H120.852V110.136Z" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
11
- <path d="M162.968 110.136H156.952V133H162.968V110.136Z" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
12
- <path d="M156.952 119.764H120.85V125.78H156.952V119.764Z" fill="white" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
13
- <path d="M122.054 94.9321H114.836V100.51H122.054V94.9321Z" fill="#E2E8F0" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
14
- <path d="M118.444 110.136H112.426L117.242 100.51H123.258L118.444 110.136Z" fill="#E2E8F0" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
15
- <path d="M132.884 110.136H126.868L131.68 100.51H137.698L132.884 110.136Z" fill="#E2E8F0" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
16
- <path d="M147.326 110.136H141.308L146.122 100.51H152.138L147.326 110.136Z" fill="#E2E8F0" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
17
- <path d="M161.764 110.136H155.75L160.562 100.51H166.58L161.764 110.136Z" fill="#E2E8F0" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
18
- <path d="M128.072 125.78H123.258L126.868 119.764H131.68L128.072 125.78Z" fill="#E2E8F0" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
19
- <path d="M138.902 125.78H134.088L137.698 119.764H142.51L138.902 125.78Z" fill="#E2E8F0" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
20
- <path d="M149.732 125.78H144.92L148.528 119.764H153.34L149.732 125.78Z" fill="#E2E8F0" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
21
- <path d="M124.462 90.4921C124.462 91.6824 124.11 92.8461 123.449 93.836C122.788 94.826 121.848 95.5976 120.748 96.0534C119.649 96.5092 118.439 96.6287 117.271 96.3967C116.104 96.1647 115.031 95.5917 114.189 94.7502C113.348 93.9086 112.774 92.8363 112.542 91.6689C112.309 90.5014 112.429 89.2913 112.884 88.1916C113.339 87.0918 114.111 86.1518 115.1 85.4904C116.09 84.8291 117.254 84.4761 118.444 84.4761C120.04 84.4766 121.57 85.1105 122.698 86.2386C123.827 87.3666 124.461 88.8965 124.462 90.4921Z" fill="white"/>
22
- <path d="M124.462 90.4921C124.462 91.6824 124.11 92.8461 123.449 93.836C122.788 94.826 121.848 95.5976 120.748 96.0534C119.649 96.5092 118.439 96.6287 117.271 96.3967C116.104 96.1647 115.031 95.5917 114.189 94.7502C113.348 93.9086 112.774 92.8363 112.542 91.6689C112.309 90.5014 112.429 89.2913 112.884 88.1916C113.339 87.0918 114.111 86.1518 115.1 85.4904C116.09 84.8291 117.254 84.4761 118.444 84.4761C120.04 84.4766 121.57 85.1105 122.698 86.2386C123.827 87.3666 124.461 88.8965 124.462 90.4921Z" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
23
- <path d="M162.966 94.9321H155.748V100.51H162.966V94.9321Z" fill="#E2E8F0" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
24
- <path d="M165.376 90.4921C165.376 91.6824 165.024 92.8461 164.363 93.836C163.702 94.826 162.762 95.5976 161.662 96.0534C160.563 96.5092 159.353 96.6287 158.185 96.3967C157.018 96.1647 155.945 95.5917 155.103 94.7502C154.262 93.9086 153.688 92.8363 153.456 91.6689C153.224 90.5014 153.343 89.2913 153.798 88.1916C154.253 87.0918 155.025 86.1518 156.014 85.4904C157.004 84.8291 158.168 84.4761 159.358 84.4761C160.954 84.4766 162.484 85.1105 163.612 86.2386C164.741 87.3666 165.375 88.8965 165.376 90.4921Z" fill="white"/>
25
- <path d="M165.376 90.4921C165.376 91.6824 165.024 92.8461 164.363 93.836C163.702 94.826 162.762 95.5976 161.662 96.0534C160.563 96.5092 159.353 96.6287 158.185 96.3967C157.018 96.1647 155.945 95.5917 155.103 94.7502C154.262 93.9086 153.688 92.8363 153.456 91.6689C153.224 90.5014 153.343 89.2913 153.798 88.1916C154.253 87.0918 155.025 86.1518 156.014 85.4904C157.004 84.8291 158.168 84.4761 159.358 84.4761C160.954 84.4766 162.484 85.1105 163.612 86.2386C164.741 87.3666 165.375 88.8965 165.376 90.4921Z" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
26
- <path d="M125.026 159.518H105.652L113.6 129.028C113.706 128.65 113.933 128.317 114.246 128.08C114.559 127.843 114.941 127.715 115.333 127.715C115.726 127.715 116.107 127.843 116.42 128.08C116.733 128.317 116.96 128.65 117.066 129.028L125.026 159.518Z" fill="#E2E8F0" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
27
- <path d="M101.5 159.518H129.178" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
28
- <path d="M109.984 142.912H120.694L119.25 137.376H111.428L109.984 142.912Z" fill="white" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
29
- <path d="M107.096 153.982H123.582L122.138 148.448H108.54L107.096 153.982Z" fill="white" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
30
- <path d="M90.446 160.23L97.536 142.2L123 160.76C123.32 160.993 123.554 161.326 123.665 161.707C123.776 162.087 123.757 162.493 123.612 162.862C123.467 163.231 123.204 163.541 122.864 163.744C122.523 163.947 122.125 164.031 121.732 163.984L90.446 160.23Z" fill="#E2E8F0" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
31
- <path d="M99.054 138.336L88.926 164.092" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
32
- <path d="M111.404 152.308L107.486 162.276L113.166 162.956L116.028 155.678L111.404 152.308Z" fill="white" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
33
- <path d="M102.16 145.568L96.126 160.912L101.806 161.594L106.782 148.938L102.16 145.568Z" fill="white" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
34
- <path d="M98.614 116.8V101.82C98.544 103.848 97.8 110.704 90.99 110.704C90.1937 110.781 89.3901 110.684 88.6355 110.418C87.881 110.152 87.1937 109.724 86.622 109.164C85.2168 107.069 84.5938 104.546 84.862 102.038C84.985 100.833 84.6273 99.6273 83.8668 98.684C83.1062 97.7406 82.0041 97.1355 80.8 97.0001C80.642 96.9818 80.4831 96.9724 80.324 96.9721C79.1942 96.9689 78.103 97.383 77.2596 98.1348C76.4163 98.8866 75.8801 99.9233 75.754 101.046C75.714 101.398 74.858 109.754 79.782 115.246C81.1993 116.785 82.9367 117.994 84.8717 118.789C86.8067 119.583 88.8924 119.944 90.982 119.846C93.7209 119.9 96.4312 119.282 98.876 118.046C98.7023 117.654 98.6131 117.229 98.614 116.8Z" fill="white" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
35
- <path d="M84.894 101.55C84.834 94.7106 82.0749 88.1717 77.2173 83.3566C72.3596 78.5414 65.7968 75.8398 58.957 75.8398C52.1173 75.8398 45.5544 78.5414 40.6968 83.3566C35.8392 88.1717 33.0801 94.7106 33.02 101.55V103.076H42.174V122.912H75.738V103.076H84.894V101.55Z" fill="white"/>
36
- <path d="M84.894 101.55C84.834 94.7106 82.0749 88.1717 77.2173 83.3566C72.3596 78.5414 65.7968 75.8398 58.957 75.8398C52.1173 75.8398 45.5544 78.5414 40.6968 83.3566C35.8392 88.1717 33.0801 94.7106 33.02 101.55V103.076H42.174V122.912H75.738V103.076H84.894V101.55Z" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
37
- <path d="M58.372 175.278C72.3769 175.278 83.73 173.575 83.73 171.474C83.73 169.373 72.3769 167.67 58.372 167.67C44.3672 167.67 33.014 169.373 33.014 171.474C33.014 173.575 44.3672 175.278 58.372 175.278Z" fill="#E2E8F0"/>
38
- <path d="M60.4821 119.858H42.1741V168.682H54.3741L55.7741 136.64C55.8097 135.819 56.1608 135.044 56.7542 134.476C57.3476 133.908 58.1375 133.59 58.9591 133.59C59.7806 133.59 60.5705 133.908 61.1639 134.476C61.7573 135.044 62.1084 135.819 62.1441 136.64L63.5341 168.682H75.7341V119.858H60.4821Z" fill="#E2E8F0"/>
39
- <path d="M60.4821 119.858H42.1741V168.682H54.3741L55.7741 136.64C55.8097 135.819 56.1608 135.044 56.7542 134.476C57.3476 133.908 58.1375 133.59 58.9591 133.59C59.7806 133.59 60.5705 133.908 61.1639 134.476C61.7573 135.044 62.1084 135.819 62.1441 136.64L63.5341 168.682H75.7341V119.858H60.4821Z" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
40
- <path d="M75.738 103.076V93.9221" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
41
- <path d="M42.1741 103.076V93.9221" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
42
- <path d="M40.2521 166.284C40.004 166.667 39.8636 167.109 39.8457 167.565C39.8278 168.02 39.9331 168.472 40.1505 168.873C40.3679 169.274 40.6894 169.609 41.0811 169.842C41.4727 170.076 41.9201 170.199 42.3761 170.2H52.8161C53.2514 170.2 53.6794 170.088 54.0588 169.875C54.4383 169.661 54.7564 169.354 54.9827 168.982C55.2089 168.61 55.3356 168.186 55.3506 167.751C55.3655 167.316 55.2682 166.885 55.0681 166.498C52.2961 161.156 43.4141 161.454 40.2521 166.284Z" fill="white" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
43
- <path d="M77.6621 166.284C77.9102 166.667 78.0506 167.109 78.0685 167.565C78.0864 168.02 77.981 168.472 77.7636 168.873C77.5462 169.274 77.2248 169.609 76.8331 169.842C76.4414 170.076 75.9941 170.199 75.5381 170.2H65.0981C64.6628 170.2 64.2348 170.088 63.8554 169.875C63.4759 169.661 63.1578 169.354 62.9315 168.982C62.7053 168.61 62.5786 168.186 62.5636 167.751C62.5487 167.316 62.6459 166.885 62.8461 166.498C65.6181 161.156 74.4981 161.454 77.6621 166.284Z" fill="white" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
44
- <path d="M42.17 130.538C42.17 131.752 41.6877 132.917 40.8292 133.775C39.9706 134.634 38.8062 135.116 37.592 135.116C36.3779 135.116 35.2134 134.634 34.3549 133.775C33.4964 132.917 33.014 131.752 33.014 130.538V103.076H42.17V130.538Z" fill="white" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
45
- <path d="M104.718 116.8C104.718 117.61 104.396 118.386 103.824 118.958C103.252 119.531 102.475 119.852 101.666 119.852C100.857 119.852 100.08 119.531 99.5079 118.958C98.9356 118.386 98.614 117.61 98.614 116.8V81.7161H104.718V116.8Z" fill="#E2E8F0" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
46
- <path d="M102 105.972C100.849 105.638 99.8752 104.867 99.2868 103.823C98.6984 102.78 98.5426 101.547 98.8528 100.39C99.1629 99.2326 99.9144 98.2431 100.946 97.6336C101.977 97.0242 103.207 96.8434 104.37 97.13L106.342 97.658C106.664 97.7438 106.966 97.8921 107.231 98.0946C107.496 98.2971 107.718 98.5497 107.885 98.8382C108.053 99.1266 108.161 99.4451 108.205 99.7756C108.249 100.106 108.228 100.442 108.142 100.764L107.084 104.708C106.999 105.03 106.85 105.333 106.648 105.598C106.445 105.863 106.193 106.085 105.904 106.252C105.616 106.419 105.297 106.528 104.967 106.572C104.636 106.616 104.3 106.594 103.978 106.508L102 105.972Z" fill="white" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
47
- <path d="M103.458 43.8401L121.232 61.6141C121.707 62.0897 121.975 62.7346 121.975 63.4071C121.975 64.0796 121.707 64.7245 121.232 65.2001L103.458 82.9741C102.982 83.4495 102.338 83.7166 101.665 83.7166C100.993 83.7166 100.348 83.4495 99.872 82.9741L82.098 65.2001C81.6226 64.7245 81.3555 64.0796 81.3555 63.4071C81.3555 62.7346 81.6226 62.0897 82.098 61.6141L99.872 43.8401C100.348 43.3646 100.993 43.0975 101.665 43.0975C102.338 43.0975 102.982 43.3646 103.458 43.8401Z" fill="white"/>
48
- <path d="M103.458 43.8401L121.232 61.6141C121.707 62.0897 121.975 62.7346 121.975 63.4071C121.975 64.0796 121.707 64.7245 121.232 65.2001L103.458 82.9741C102.982 83.4495 102.338 83.7166 101.665 83.7166C100.993 83.7166 100.348 83.4495 99.872 82.9741L82.098 65.2001C81.6226 64.7245 81.3555 64.0796 81.3555 63.4071C81.3555 62.7346 81.6226 62.0897 82.098 61.6141L99.872 43.8401C100.348 43.3646 100.993 43.0975 101.665 43.0975C102.338 43.0975 102.982 43.3646 103.458 43.8401Z" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
49
- <path d="M101.664 67.9841L98.9501 57.2861C98.9086 56.905 98.9479 56.5193 99.0654 56.1544C99.1829 55.7894 99.376 55.4533 99.632 55.1679C99.888 54.8825 100.201 54.6543 100.551 54.498C100.902 54.3417 101.281 54.261 101.664 54.261C102.047 54.261 102.427 54.3417 102.777 54.498C103.127 54.6543 103.44 54.8825 103.696 55.1679C103.952 55.4533 104.145 55.7894 104.263 56.1544C104.38 56.5193 104.42 56.905 104.378 57.2861L101.664 67.9841Z" fill="#E2E8F0" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
50
- <path d="M101.664 74.3261C101.466 74.3261 101.273 74.2675 101.108 74.1576C100.944 74.0477 100.816 73.8915 100.74 73.7088C100.664 73.5261 100.645 73.325 100.683 73.131C100.722 72.937 100.817 72.7589 100.957 72.619C101.097 72.4792 101.275 72.3839 101.469 72.3453C101.663 72.3067 101.864 72.3265 102.047 72.4022C102.229 72.4779 102.386 72.6061 102.496 72.7705C102.605 72.935 102.664 73.1283 102.664 73.3261C102.664 73.5913 102.559 73.8457 102.371 74.0332C102.184 74.2208 101.929 74.3261 101.664 74.3261Z" fill="#E2E8F0"/>
51
- <path d="M101.664 71.3241C101.269 71.3241 100.882 71.4414 100.553 71.6612C100.224 71.8809 99.9677 72.1933 99.8163 72.5587C99.6649 72.9242 99.6253 73.3263 99.7025 73.7143C99.7797 74.1022 99.9701 74.4586 100.25 74.7383C100.53 75.018 100.886 75.2085 101.274 75.2857C101.662 75.3628 102.064 75.3232 102.429 75.1719C102.795 75.0205 103.107 74.7641 103.327 74.4352C103.547 74.1063 103.664 73.7197 103.664 73.3241C103.664 72.7937 103.453 72.285 103.078 71.9099C102.703 71.5348 102.194 71.3241 101.664 71.3241Z" fill="#334155"/>
52
- <path d="M67.05 76.9081L58.952 98.5081L50.854 76.9081C47.6712 77.9564 44.722 79.6123 42.17 81.7841V122.912H75.728V81.7841C73.1776 79.6134 70.2306 77.9575 67.05 76.9081Z" fill="#E2E8F0"/>
53
- <path d="M67.05 76.9081L58.952 98.5081L50.854 76.9081C47.6712 77.9564 44.722 79.6123 42.17 81.7841V122.912H75.728V81.7841C73.1776 79.6134 70.2306 77.9575 67.05 76.9081Z" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
54
- <path d="M75.734 104.602H42.17V110.704H75.734V104.602Z" fill="white" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
55
- <path d="M75.734 116.808H42.17V122.912H75.734V116.808Z" fill="white" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
56
- <path d="M65.6001 76.4881C65.1694 76.3778 64.7878 76.1273 64.5154 75.7759C64.2431 75.4246 64.0955 74.9926 64.0961 74.5481V65.1481H53.6161V74.6001C53.6155 75.0416 53.4689 75.4706 53.199 75.8201C52.9291 76.1696 52.5511 76.4199 52.1241 76.5321C51.7001 76.6441 51.2781 76.7661 50.8621 76.9041C52.6141 81.5701 54.7521 84.7641 58.9641 84.7641C63.1761 84.7641 65.3161 81.5641 67.0681 76.9041C66.5821 76.7501 66.0981 76.6121 65.6001 76.4881Z" fill="white" stroke="#334155" stroke-width="2.018" stroke-linecap="round" stroke-linejoin="round"/>
57
- <path d="M76.682 57.8421C76.676 57.1201 76.42 56.4225 75.9577 55.8679C75.4953 55.3133 74.8552 54.936 74.146 54.8001V52.7701C74.146 50.7722 73.7525 48.7938 72.9879 46.9479C72.2234 45.1021 71.1027 43.4249 69.69 42.0122C68.2772 40.5994 66.6 39.4788 64.7542 38.7142C62.9083 37.9496 60.93 37.5561 58.932 37.5561C56.9341 37.5561 54.9557 37.9496 53.1099 38.7142C51.2641 39.4788 49.5869 40.5994 48.1741 42.0122C46.7614 43.4249 45.6407 45.1021 44.8761 46.9479C44.1116 48.7938 43.718 50.7722 43.718 52.7701V54.8001C42.9791 54.9391 42.3157 55.3415 41.8509 55.9325C41.3861 56.5235 41.1515 57.2631 41.1906 58.014C41.2297 58.7648 41.5398 59.4761 42.0635 60.0156C42.5871 60.5552 43.2887 60.8865 44.038 60.9481C44.7476 64.3753 46.617 67.4532 49.3311 69.6629C52.0452 71.8726 55.4381 73.0792 58.938 73.0792C62.438 73.0792 65.8309 71.8726 68.545 69.6629C71.2591 67.4532 73.1285 64.3753 73.838 60.9481C74.6128 60.8752 75.3329 60.517 75.8585 59.943C76.384 59.3691 76.6775 58.6203 76.682 57.8421Z" fill="white" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
58
- <path d="M53.226 56.5741C54.2764 56.5741 55.128 55.7225 55.128 54.6721C55.128 53.6216 54.2764 52.7701 53.226 52.7701C52.1755 52.7701 51.324 53.6216 51.324 54.6721C51.324 55.7225 52.1755 56.5741 53.226 56.5741Z" fill="#334155"/>
59
- <path d="M64.6381 56.5741C65.6885 56.5741 66.5401 55.7225 66.5401 54.6721C66.5401 53.6216 65.6885 52.7701 64.6381 52.7701C63.5876 52.7701 62.7361 53.6216 62.7361 54.6721C62.7361 55.7225 63.5876 56.5741 64.6381 56.5741Z" fill="#334155"/>
60
- <path d="M50.6901 61.6461C51.7405 61.6461 52.5921 60.7945 52.5921 59.7441C52.5921 58.6937 51.7405 57.8421 50.6901 57.8421C49.6396 57.8421 48.7881 58.6937 48.7881 59.7441C48.7881 60.7945 49.6396 61.6461 50.6901 61.6461Z" fill="#E2E8F0"/>
61
- <path d="M67.174 61.6461C68.2244 61.6461 69.076 60.7945 69.076 59.7441C69.076 58.6937 68.2244 57.8421 67.174 57.8421C66.1235 57.8421 65.272 58.6937 65.272 59.7441C65.272 60.7945 66.1235 61.6461 67.174 61.6461Z" fill="#E2E8F0"/>
62
- <path d="M55.1281 64.2981C56.254 65.0466 57.576 65.4459 58.9281 65.4459C60.2801 65.4459 61.6021 65.0466 62.7281 64.2981" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
63
- <path d="M39.9141 50.2341H77.9501" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
64
- <path d="M75.4141 47.6981C75.4141 45.5336 74.9878 43.3904 74.1595 41.3907C73.3312 39.391 72.1171 37.574 70.5866 36.0435C69.0561 34.513 67.2391 33.299 65.2395 32.4707C63.2398 31.6424 61.0965 31.2161 58.9321 31.2161C56.7676 31.2161 54.6244 31.6424 52.6247 32.4707C50.625 33.299 48.808 34.513 47.2775 36.0435C45.747 37.574 44.533 39.391 43.7047 41.3907C42.8764 43.3904 42.4501 45.5336 42.4501 47.6981V50.2341H75.4141V47.6981Z" fill="#E2E8F0"/>
65
- <path d="M75.4141 47.6981C75.4141 45.5336 74.9878 43.3904 74.1595 41.3907C73.3312 39.391 72.1171 37.574 70.5866 36.0435C69.0561 34.513 67.2391 33.299 65.2395 32.4707C63.2398 31.6424 61.0965 31.2161 58.9321 31.2161C56.7676 31.2161 54.6244 31.6424 52.6247 32.4707C50.625 33.299 48.808 34.513 47.2775 36.0435C45.747 37.574 44.533 39.391 43.7047 41.3907C42.8764 43.3904 42.4501 45.5336 42.4501 47.6981V50.2341H75.4141V47.6981Z" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
66
- <path d="M62.736 50.2341H55.136L52.87 33.2341C52.7811 32.633 52.9136 32.0201 53.2429 31.5094C53.5722 30.9988 54.0758 30.6252 54.66 30.4581C57.4721 29.7721 60.4079 29.7721 63.22 30.4581C63.8042 30.6252 64.3078 30.9988 64.6371 31.5094C64.9663 32.0201 65.0989 32.633 65.01 33.2341L62.736 50.2341Z" fill="#E2E8F0"/>
67
- <path d="M62.736 50.2341H55.136L52.87 33.2341C52.7811 32.633 52.9136 32.0201 53.2429 31.5094C53.5722 30.9988 54.0758 30.6252 54.66 30.4581C57.4721 29.7721 60.4079 29.7721 63.22 30.4581C63.8042 30.6252 64.3078 30.9988 64.6371 31.5094C64.9663 32.0201 65.0989 32.633 65.01 33.2341L62.736 50.2341Z" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
68
- <path d="M70.4041 35.8621L69.0741 45.1621" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
69
- <path d="M47.4601 35.8621L48.7881 45.1621" stroke="#334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
70
- </svg>
@@ -1,8 +0,0 @@
1
- import { RefObject } from "react";
2
- /**
3
- * Check if text is cut off.
4
- *
5
- * @param {RefObject<HTMLElement>} ref The ref to the element to check.
6
- * @returns {boolean} True if the text is cut off.
7
- */
8
- export declare const useIsTextCutOff: (ref: RefObject<HTMLElement>) => boolean;