@gooddata/sdk-ui-kit 11.65.0-alpha.2 → 11.65.0-alpha.4

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 (53) hide show
  1. package/esm/@ui/UiIcon/icons.js +2 -2
  2. package/esm/Bubble/Bubble.d.ts +2 -0
  3. package/esm/Bubble/Bubble.d.ts.map +1 -1
  4. package/esm/Bubble/Bubble.js +2 -2
  5. package/esm/Header/HeaderHelp.d.ts +2 -2
  6. package/esm/Header/HeaderHelp.d.ts.map +1 -1
  7. package/esm/Header/HeaderHelp.js +4 -4
  8. package/esm/Icon/icons/ArrowLeft.js +1 -1
  9. package/esm/Icon/icons/ArrowRight.js +1 -1
  10. package/esm/Icon/icons/HistoryBack.js +1 -1
  11. package/esm/Icon/icons/Home.js +1 -1
  12. package/esm/Icon/icons/LegendMenu.js +1 -1
  13. package/esm/Icon/icons/Lock.js +1 -1
  14. package/esm/Icon/icons/Minimize.js +1 -1
  15. package/esm/Icon/icons/Pdf.js +1 -1
  16. package/esm/Icon/icons/Trash.js +1 -1
  17. package/esm/Overlay/Overlay.d.ts +4 -0
  18. package/esm/Overlay/Overlay.d.ts.map +1 -1
  19. package/esm/Overlay/Overlay.js +39 -12
  20. package/esm/Overlay/typings.d.ts +6 -0
  21. package/esm/Overlay/typings.d.ts.map +1 -1
  22. package/esm/assets/data_source_normal_state.svg +1 -1
  23. package/esm/assets/home.svg +1 -1
  24. package/esm/assets/model-normal-state.svg +1 -1
  25. package/esm/sdk-ui-kit.d.ts +13 -1
  26. package/esm/utils/constants.d.ts +1 -1
  27. package/esm/utils/constants.js +2 -2
  28. package/package.json +11 -11
  29. package/src/@ui/UiResizableSidebar/UiResizableSidebar.scss +1 -1
  30. package/src/@ui/defaultTheme.scss +6 -6
  31. package/src/WidgetNotice/WidgetNotice.scss +1 -1
  32. package/styles/css/UiControlButton.css +1 -1
  33. package/styles/css/button.css +2 -2
  34. package/styles/css/chartSorting.css +1 -1
  35. package/styles/css/colorPicker.css +1 -1
  36. package/styles/css/dialog.css +2 -2
  37. package/styles/css/form.css +10 -10
  38. package/styles/css/header.css +9 -9
  39. package/styles/css/list.css +1 -1
  40. package/styles/css/main.css +69 -69
  41. package/styles/css/measureNumberFormat.css +1 -1
  42. package/styles/css/menu.css +1 -1
  43. package/styles/css/recurrenceForm.css +1 -1
  44. package/styles/css/richText.css +3 -3
  45. package/styles/css/shareDialogSelectControl.css +1 -1
  46. package/styles/css/stylingEditorDialog.css +3 -3
  47. package/styles/css/syntaxHighlightingInput.css +9 -9
  48. package/styles/css/tabs.css +1 -1
  49. package/styles/css/typo.css +3 -3
  50. package/styles/icons/home.svg +1 -1
  51. package/styles/scss/header.scss +1 -1
  52. package/styles/scss/richText.scss +3 -3
  53. package/styles/scss/variables.scss +2 -2
@@ -173,8 +173,8 @@ export const iconPaths = {
173
173
  filePdf: (_jsxs(_Fragment, { children: [_jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.2334 7.22445C10.4113 7.46371 10.5076 7.78541 10.5389 8.15506L10.5433 8.15483C10.6183 9.16897 10.4285 10.0198 10.1463 10.7914C10.2517 10.926 10.3675 11.0657 10.4962 11.2209C10.6303 11.3825 10.7783 11.561 10.9428 11.768L10.9436 11.7689C11.2402 12.1441 11.5159 12.475 11.7728 12.7634C11.857 12.7616 11.9414 12.7606 12.0258 12.7606C12.8087 12.7606 13.653 12.841 14.297 13.1201C14.6339 13.2661 14.9113 13.4788 15.0604 13.7665C15.2192 14.073 15.2025 14.413 15.0317 14.6917C14.7118 15.2141 13.9971 15.3655 13.3206 15.1847L13.3192 15.1843C12.8302 15.0522 12.3408 14.7209 11.841 14.2641C11.6824 14.1191 11.519 13.9579 11.3502 13.7808C10.8528 13.8093 10.3805 13.8645 10.0006 13.9228C9.45329 14.0107 8.96158 14.1182 8.51643 14.2545C8.44122 14.3914 8.36383 14.5292 8.2849 14.6661C7.85218 15.4168 7.34121 16.1994 6.87057 16.641C6.59789 16.9031 6.29695 17.079 5.99084 17.1386C5.68066 17.199 5.34025 17.1389 5.09583 16.8908C4.85222 16.6435 4.79516 16.3021 4.85518 15.9884C4.91469 15.6774 5.08945 15.3642 5.35541 15.0691C6.04866 14.2913 6.86227 13.7808 7.82397 13.4318C8.07861 12.9508 8.29625 12.5027 8.44225 12.1804C8.51617 12.0176 8.58976 11.8594 8.66186 11.7044C8.78581 11.4379 8.90535 11.1808 9.01456 10.9262C8.98639 10.8824 8.95909 10.8384 8.93276 10.794C8.59006 10.217 8.38878 9.57277 8.34932 8.63015L8.34916 8.62599C8.33478 8.19678 8.41103 7.81697 8.56037 7.51544C8.7045 7.22442 8.94536 6.95648 9.28166 6.86657C9.66008 6.76541 10.0126 6.92741 10.2334 7.22445ZM9.54901 8.35069L9.55363 8.35055C9.57485 8.76947 9.54315 9.15192 9.47307 9.51527C9.40707 9.25822 9.36405 8.95836 9.34854 8.59048C9.33892 8.29517 9.39379 8.08585 9.45648 7.95926C9.46423 7.94362 9.47177 7.92978 9.479 7.91753C9.51001 8.0019 9.5418 8.13974 9.54901 8.35069ZM9.56474 12.1366C9.61151 12.0367 9.65855 11.9363 9.70536 11.8351L9.78038 11.9256C9.90516 12.0762 10.0326 12.23 10.1595 12.3895C10.2848 12.5481 10.4075 12.7003 10.5278 12.846C10.2812 12.8726 10.0513 12.9033 9.84716 12.9346L9.84385 12.9352C9.59873 12.9745 9.36099 13.018 9.13037 13.0668C9.21513 12.8921 9.2901 12.7322 9.35296 12.5934C9.42173 12.442 9.49297 12.2899 9.56474 12.1366ZM13.5794 14.2188C13.3831 14.1656 13.1377 14.0358 12.8341 13.7974C13.2517 13.8386 13.6191 13.9162 13.8994 14.0376C14.0439 14.1002 14.1153 14.1593 14.1482 14.1948C14.1279 14.2079 14.0958 14.2238 14.0472 14.237C13.9449 14.2649 13.7864 14.274 13.5794 14.2188ZM6.10102 15.7355C6.34183 15.4652 6.60179 15.2316 6.88663 15.029C6.63407 15.407 6.39231 15.7189 6.18451 15.9134L6.17922 15.9185C6.03591 16.0566 5.91974 16.119 5.84493 16.1447C5.86934 16.0579 5.93701 15.9173 6.09889 15.7379L6.10102 15.7355Z" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.957 5.81445C17.931 5.74935 17.8952 5.69401 17.8496 5.64844L13.3477 1.14648C13.3021 1.10091 13.2467 1.0651 13.1816 1.03906C13.123 1.01302 13.0612 1 12.9961 1H3.49414C3.08398 1 2.73242 1.14648 2.43945 1.43945C2.14648 1.73242 2 2.08398 2 2.49414V18.5C2 18.9102 2.14648 19.2617 2.43945 19.5547C2.73242 19.8477 3.08398 19.9941 3.49414 19.9941H16.502C16.9121 19.9941 17.2637 19.8477 17.5566 19.5547C17.8496 19.2617 17.9961 18.9102 17.9961 18.5V6C17.9961 5.9349 17.9831 5.87305 17.957 5.81445ZM12.9961 2.20117L16.7949 6H13.4941C13.3574 6 13.2402 5.95117 13.1426 5.85352C13.0449 5.75586 12.9961 5.63867 12.9961 5.50195V2.20117ZM16.8535 18.8516C16.7559 18.9492 16.6387 18.998 16.502 18.998H3.49414C3.35742 18.998 3.24023 18.9492 3.14258 18.8516C3.04492 18.7539 2.99609 18.6367 2.99609 18.5V2.49414C2.99609 2.35742 3.04492 2.24023 3.14258 2.14258C3.24023 2.04492 3.35742 1.99609 3.49414 1.99609H12V5.50195C12 5.91211 12.1465 6.26367 12.4395 6.55664C12.7324 6.84961 13.084 6.99609 13.4941 6.99609H17V18.5C17 18.6367 16.9512 18.7539 16.8535 18.8516Z" })] })),
174
174
  filePptx: (_jsxs(_Fragment, { children: [_jsx("path", { d: "M17.8496 5.64844C17.8952 5.69401 17.931 5.74935 17.957 5.81445C17.9831 5.87305 17.9961 5.9349 17.9961 6V18.5C17.9961 18.9102 17.8496 19.2617 17.5566 19.5547C17.2637 19.8477 16.9121 19.9941 16.502 19.9941H3.49414C3.08398 19.9941 2.73242 19.8477 2.43945 19.5547C2.14648 19.2617 2 18.9102 2 18.5V2.49414C2 2.08398 2.14648 1.73242 2.43945 1.43945C2.73242 1.14648 3.08398 1 3.49414 1H12.9961C13.0612 1 13.123 1.01302 13.1816 1.03906C13.2467 1.0651 13.3021 1.10091 13.3477 1.14648L17.8496 5.64844ZM16.7949 6L12.9961 2.20117V5.50195C12.9961 5.63867 13.0449 5.75586 13.1426 5.85352C13.2402 5.95117 13.3574 6 13.4941 6H16.7949ZM16.502 18.998C16.6387 18.998 16.7559 18.9492 16.8535 18.8516C16.9512 18.7539 17 18.6367 17 18.5V6.99609H13.4941C13.084 6.99609 12.7324 6.84961 12.4395 6.55664C12.1465 6.26367 12 5.91211 12 5.50195V1.99609H3.49414C3.35742 1.99609 3.24023 2.04492 3.14258 2.14258C3.04492 2.24023 2.99609 2.35742 2.99609 2.49414V18.5C2.99609 18.6367 3.04492 18.7539 3.14258 18.8516C3.24023 18.9492 3.35742 18.998 3.49414 18.998H16.502Z" }), _jsx("path", { d: "M9.51953 15.6466C9.29297 15.6466 9.07031 15.6245 8.85156 15.5802C8.63281 15.5385 8.42188 15.4747 8.21875 15.3888C8.01562 15.3055 7.82161 15.2026 7.63672 15.0802C7.45182 14.9552 7.27865 14.812 7.11719 14.6505C6.95573 14.4917 6.8125 14.3198 6.6875 14.1349C6.5651 13.9474 6.46094 13.7521 6.375 13.549C6.29167 13.3458 6.22786 13.1349 6.18359 12.9161C6.14193 12.6974 6.12109 12.4747 6.12109 12.2482C6.12109 12.0216 6.14193 11.799 6.18359 11.5802C6.22786 11.3615 6.29167 11.1505 6.375 10.9474C6.46094 10.7443 6.5651 10.5503 6.6875 10.3654C6.8125 10.1779 6.95573 10.0047 7.11719 9.84583C7.27865 9.68437 7.45182 9.54244 7.63672 9.42004C7.82161 9.29504 8.01562 9.19088 8.21875 9.10754C8.42188 9.02161 8.63281 8.9578 8.85156 8.91614C9.07031 8.87187 9.29297 8.84973 9.51953 8.84973C9.57682 8.84973 9.625 8.86926 9.66406 8.90833C9.70312 8.94739 9.72266 8.99426 9.72266 9.04895C9.72266 9.10364 9.70312 9.15051 9.66406 9.18958C9.625 9.22864 9.57682 9.24817 9.51953 9.24817C9.10807 9.24817 8.72005 9.3276 8.35547 9.48645C7.99089 9.6427 7.67188 9.85624 7.39844 10.1271C7.1276 10.3979 6.91276 10.7156 6.75391 11.0802C6.59766 11.4448 6.51953 11.8341 6.51953 12.2482C6.51953 12.6622 6.59766 13.0516 6.75391 13.4161C6.91276 13.7807 7.1276 14.0984 7.39844 14.3693C7.67188 14.6401 7.99089 14.8549 8.35547 15.0138C8.72005 15.17 9.10807 15.2482 9.51953 15.2482C9.93359 15.2482 10.3229 15.17 10.6875 15.0138C11.0521 14.8549 11.3698 14.6401 11.6406 14.3693C11.9141 14.0984 12.1289 13.7807 12.2852 13.4161C12.4414 13.0516 12.5195 12.6622 12.5195 12.2482C12.5195 12.1935 12.5391 12.1466 12.5781 12.1075C12.6172 12.0685 12.6654 12.049 12.7227 12.049C12.7773 12.049 12.8242 12.0685 12.8633 12.1075C12.9023 12.1466 12.9219 12.1935 12.9219 12.2482C12.9219 12.4747 12.8997 12.6974 12.8555 12.9161C12.8112 13.1349 12.7474 13.3458 12.6641 13.549C12.5807 13.7521 12.4766 13.9474 12.3516 14.1349C12.2292 14.3198 12.0872 14.4917 11.9258 14.6505C11.7643 14.812 11.5911 14.9552 11.4062 15.0802C11.2214 15.2026 11.026 15.3055 10.8203 15.3888C10.6172 15.4747 10.4062 15.5385 10.1875 15.5802C9.97135 15.6245 9.7487 15.6466 9.51953 15.6466ZM13.5195 11.6466H10.3203C10.2656 11.6466 10.2188 11.6271 10.1797 11.588C10.1406 11.549 10.1211 11.5021 10.1211 11.4474V8.24817C10.1211 8.19348 10.1406 8.14661 10.1797 8.10754C10.2188 8.06848 10.2656 8.04895 10.3203 8.04895C10.5469 8.04895 10.7695 8.07109 10.9883 8.11536C11.207 8.15702 11.418 8.22083 11.6211 8.30676C11.8268 8.3901 12.0221 8.49426 12.207 8.61926C12.3919 8.74166 12.5651 8.88359 12.7266 9.04504C12.8854 9.2039 13.026 9.37708 13.1484 9.56458C13.2734 9.74947 13.3776 9.94348 13.4609 10.1466C13.5469 10.3497 13.612 10.5607 13.6562 10.7794C13.7005 10.9982 13.7227 11.2208 13.7227 11.4474C13.7227 11.5021 13.7031 11.549 13.6641 11.588C13.625 11.6271 13.5768 11.6466 13.5195 11.6466ZM10.5195 11.2482H13.3164C13.2904 10.8732 13.2005 10.5216 13.0469 10.1935C12.8932 9.86536 12.6914 9.5776 12.4414 9.3302C12.1914 9.0802 11.9023 8.87838 11.5742 8.72473C11.2461 8.56848 10.8945 8.47864 10.5195 8.4552V11.2482Z" }), _jsx("path", { d: "M12.207 12.2482C12.207 12.1417 12.2393 12.0433 12.2979 11.9591H10.3203C10.1818 11.9591 10.056 11.9057 9.95898 11.8087C9.86199 11.7117 9.80859 11.5859 9.80859 11.4474V9.47278C9.72284 9.53091 9.62375 9.56067 9.51953 9.56067C9.14961 9.56067 8.80422 9.63156 8.48047 9.77258L8.47852 9.77356C8.14892 9.91481 7.86284 10.1064 7.61816 10.3488C7.37704 10.5901 7.18358 10.8735 7.04004 11.2023L7.04102 11.2032C6.90217 11.5272 6.83203 11.8745 6.83203 12.2482C6.83203 12.621 6.90176 12.9677 7.04004 13.2911C7.18368 13.6208 7.37651 13.9057 7.61816 14.1476L7.80957 14.3204C8.00857 14.4836 8.2314 14.6188 8.47852 14.7267L8.72559 14.8175C8.97716 14.8959 9.24134 14.9357 9.51953 14.9357C9.89317 14.9357 10.2405 14.8655 10.5645 14.7267C10.8938 14.5829 11.1782 14.3902 11.4199 14.1486L11.4209 14.1476C11.6649 13.906 11.8572 13.6218 11.998 13.2931C12.1369 12.9691 12.207 12.6218 12.207 12.2482ZM13.2344 12.2482C13.2344 12.4951 13.2105 12.7384 13.1621 12.9777C13.114 13.2153 13.044 13.4455 12.9531 13.6671C12.8619 13.8896 12.7472 14.1028 12.6113 14.3068C12.4771 14.5095 12.3214 14.6969 12.1455 14.8702L12.1465 14.8712C11.9713 15.0464 11.7828 15.2026 11.5811 15.339L11.5791 15.3409C11.378 15.474 11.1649 15.5851 10.9414 15.6759C10.7179 15.7704 10.4862 15.8411 10.2461 15.8868L10.2451 15.8859C10.0091 15.9339 9.76727 15.9591 9.51953 15.9591C9.27264 15.9591 9.02934 15.9352 8.79004 15.8868C8.55092 15.8411 8.31937 15.7711 8.09668 15.6769C7.87585 15.586 7.66447 15.4737 7.46387 15.3409L7.46191 15.339C7.26015 15.2026 7.07169 15.0464 6.89648 14.8712C6.72139 14.6987 6.56491 14.5112 6.42871 14.3097L6.42578 14.3058C6.29343 14.103 6.18018 13.8914 6.08691 13.671L6.08594 13.6671C5.99505 13.4455 5.92505 13.2153 5.87695 12.9777V12.9747C5.83155 12.7364 5.80859 12.494 5.80859 12.2482C5.80859 12.0023 5.83155 11.76 5.87695 11.5216V11.5187C5.92505 11.281 5.99505 11.0508 6.08594 10.8292L6.08691 10.8253C6.18037 10.6044 6.29383 10.3933 6.42676 10.1925L6.42773 10.1915C6.56461 9.98628 6.72191 9.79685 6.89844 9.62317C7.07365 9.44821 7.26183 9.29306 7.46387 9.1593C7.66448 9.0239 7.87551 8.91046 8.09668 8.81946C8.31943 8.72522 8.55085 8.65527 8.79004 8.6095L8.96973 8.57825C9.15086 8.55099 9.33416 8.53723 9.51953 8.53723C9.62356 8.53723 9.72294 8.56622 9.80859 8.62415V8.24817C9.80859 8.10966 9.86199 7.98384 9.95898 7.88684L10.0371 7.82239C10.1199 7.76662 10.2165 7.73645 10.3203 7.73645C10.5672 7.73645 10.8105 7.76032 11.0498 7.80872L11.0488 7.80969C11.2866 7.85514 11.5167 7.92338 11.7383 8.01672L11.9062 8.08997C12.0703 8.16669 12.2277 8.25655 12.3789 8.35852C12.5818 8.4928 12.7715 8.64853 12.9473 8.82434C13.1207 8.99776 13.2743 9.18697 13.4082 9.39172C13.5437 9.59237 13.657 9.80333 13.748 10.0245C13.8422 10.2471 13.9145 10.4789 13.9629 10.7179C14.0113 10.9572 14.0352 11.2005 14.0352 11.4474C14.0352 11.5859 13.9818 11.7117 13.8848 11.8087C13.7847 11.9088 13.6563 11.9591 13.5195 11.9591H13.1436C13.2021 12.0433 13.2344 12.1417 13.2344 12.2482ZM10.832 10.9357H12.959C12.918 10.7226 12.8541 10.5195 12.7637 10.3263C12.6252 10.0305 12.4447 9.77258 12.2217 9.55188L12.2207 9.5509C11.997 9.3272 11.7375 9.14658 11.4414 9.00793L11.4395 9.00696C11.2468 8.91524 11.0444 8.85099 10.832 8.81067V10.9357Z" })] })),
175
175
  fileImage: (_jsx(_Fragment, { children: _jsx("path", { d: "M12.9961 10.2539C13.3411 10.2539 13.6667 10.1888 13.9727 10.0586C14.2786 9.92839 14.5423 9.74935 14.7637 9.52148C14.9915 9.29362 15.1706 9.02995 15.3008 8.73047C15.431 8.42448 15.4961 8.09896 15.4961 7.75391C15.4961 7.40885 15.431 7.08659 15.3008 6.78711C15.1706 6.48112 14.9915 6.21419 14.7637 5.98633C14.5423 5.75846 14.2786 5.57943 13.9727 5.44922C13.6667 5.31901 13.3411 5.25391 12.9961 5.25391C12.651 5.25391 12.3255 5.31901 12.0195 5.44922C11.7201 5.57943 11.4564 5.75846 11.2285 5.98633C11.0072 6.21419 10.8281 6.48112 10.6914 6.78711C10.5612 7.08659 10.4961 7.40885 10.4961 7.75391C10.4961 8.09896 10.5612 8.42448 10.6914 8.73047C10.8281 9.02995 11.0072 9.29362 11.2285 9.52148C11.4564 9.74935 11.7201 9.92839 12.0195 10.0586C12.3255 10.1888 12.651 10.2539 12.9961 10.2539ZM12.9961 6.25C13.4128 6.25 13.7676 6.39648 14.0605 6.68945C14.3535 6.98242 14.5 7.33724 14.5 7.75391C14.5 8.17057 14.3535 8.52539 14.0605 8.81836C13.7676 9.11133 13.4128 9.25781 12.9961 9.25781C12.5859 9.25781 12.2344 9.11133 11.9414 8.81836C11.6484 8.52539 11.502 8.17057 11.502 7.75391C11.502 7.33724 11.6484 6.98242 11.9414 6.68945C12.2344 6.39648 12.5859 6.25 12.9961 6.25ZM16.4961 1C16.9128 1 17.2676 1.14648 17.5605 1.43945C17.8535 1.73242 18 2.08724 18 2.50391V18.5059C18 18.916 17.8535 19.2676 17.5605 19.5605C17.2676 19.8535 16.9128 20 16.4961 20H3.50391C3.08724 20 2.73242 19.8535 2.43945 19.5605C2.14648 19.2676 2 18.916 2 18.5059V2.50391C2 2.08724 2.14648 1.73242 2.43945 1.43945C2.73242 1.14648 3.08724 1 3.50391 1H16.4961ZM2.99609 18.5059C2.99609 18.6426 3.04492 18.7598 3.14258 18.8574C3.24023 18.9551 3.36068 19.0039 3.50391 19.0039H14.832L7.83008 11.5723C7.78451 11.5267 7.73242 11.4941 7.67383 11.4746C7.62174 11.4486 7.56641 11.4355 7.50781 11.4355C7.44922 11.4355 7.39388 11.4486 7.3418 11.4746C7.28971 11.5007 7.24089 11.5365 7.19531 11.582L2.99609 16.2012V18.5059ZM17.0039 18.5059V2.50391C17.0039 2.36719 16.9551 2.25 16.8574 2.15234C16.7598 2.05469 16.6393 2.00586 16.4961 2.00586H3.50391C3.36068 2.00586 3.24023 2.05469 3.14258 2.15234C3.04492 2.25 2.99609 2.36719 2.99609 2.50391V14.707L6.45312 10.9082C6.58984 10.7585 6.74609 10.6445 6.92188 10.5664C7.10417 10.4818 7.29622 10.4362 7.49805 10.4297C7.69987 10.4297 7.88867 10.4688 8.06445 10.5469C8.24674 10.625 8.40951 10.7357 8.55273 10.8789L16.209 19.0039H16.4961C16.6393 19.0039 16.7598 18.9551 16.8574 18.8574C16.9551 18.7598 17.0039 18.6426 17.0039 18.5059Z", fill: "#F18600" }) })),
176
- fileCsvFormatted: (_jsx(_Fragment, { children: _jsx("path", { d: "M17.8496 5.64844C17.8952 5.69401 17.931 5.74935 17.957 5.81445C17.9831 5.87305 17.9961 5.9349 17.9961 6V18.5C17.9961 18.9102 17.8496 19.2617 17.5566 19.5547C17.2637 19.8477 16.9121 19.9941 16.502 19.9941H3.49414C3.08398 19.9941 2.73242 19.8477 2.43945 19.5547C2.14648 19.2617 2 18.9102 2 18.5V2.49414C2 2.08398 2.14648 1.73242 2.43945 1.43945C2.73242 1.14648 3.08398 1 3.49414 1H12.9961C13.0612 1 13.123 1.01302 13.1816 1.03906C13.2467 1.0651 13.3021 1.10091 13.3477 1.14648L17.8496 5.64844ZM16.7949 6L12.9961 2.20117V5.50195C12.9961 5.63867 13.0449 5.75586 13.1426 5.85352C13.2402 5.95117 13.3574 6 13.4941 6H16.7949ZM16.502 18.998C16.6387 18.998 16.7559 18.9492 16.8535 18.8516C16.9512 18.7539 17 18.6367 17 18.5V6.99609H13.4941C13.084 6.99609 12.7324 6.84961 12.4395 6.55664C12.1465 6.26367 12 5.91211 12 5.50195V1.99609H3.49414C3.35742 1.99609 3.24023 2.04492 3.14258 2.14258C3.04492 2.24023 2.99609 2.35742 2.99609 2.49414V18.5C2.99609 18.6367 3.04492 18.7539 3.14258 18.8516C3.24023 18.9492 3.35742 18.998 3.49414 18.998H16.502ZM14.5 9.99414C14.6367 9.99414 14.7539 10.043 14.8516 10.1406C14.9492 10.2383 14.998 10.3587 14.998 10.502V16.498C14.998 16.6348 14.9492 16.752 14.8516 16.8496C14.7539 16.9473 14.6367 16.9961 14.5 16.9961H5.49609C5.35938 16.9961 5.24219 16.9473 5.14453 16.8496C5.04688 16.752 4.99805 16.6348 4.99805 16.498V10.502C4.99805 10.3587 5.04688 10.2383 5.14453 10.1406C5.24219 10.043 5.35938 9.99414 5.49609 9.99414H14.5ZM14.002 13.002V11H12V13.002H14.002ZM9.00195 13.002H10.9941V11H9.00195V13.002ZM10.9941 13.998H9.00195V16H10.9941V13.998ZM7.99609 11H5.99414V13.002H7.99609V11ZM5.99414 13.998V16H7.99609V13.998H5.99414ZM12 16H14.002V13.998H12V16Z", fill: "#6D7680" }) })),
177
- fileCsvRaw: (_jsxs(_Fragment, { children: [_jsx("path", { d: "M13.998 15.4971C14.2742 15.4971 14.498 15.7209 14.498 15.9971C14.498 16.2732 14.2742 16.4971 13.998 16.4971H5.99805C5.7219 16.4971 5.49805 16.2732 5.49805 15.9971C5.49805 15.7209 5.7219 15.4971 5.99805 15.4971H13.998Z", fill: "#6D7680" }), _jsx("path", { d: "M13.998 12.9971C14.2742 12.9971 14.498 13.2209 14.498 13.4971C14.498 13.7732 14.2742 13.9971 13.998 13.9971H5.99805C5.7219 13.9971 5.49805 13.7732 5.49805 13.4971C5.49805 13.2209 5.7219 12.9971 5.99805 12.9971H13.998Z", fill: "#6D7680" }), _jsx("path", { d: "M13.998 10.4971C14.2742 10.4971 14.498 10.7209 14.498 10.9971C14.498 11.2732 14.2742 11.4971 13.998 11.4971H5.99805C5.7219 11.4971 5.49805 11.2732 5.49805 10.9971C5.49805 10.7209 5.7219 10.4971 5.99805 10.4971H13.998Z", fill: "#6D7680" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.9961 1C13.0612 1 13.123 1.01302 13.1816 1.03906C13.2467 1.0651 13.3021 1.10091 13.3477 1.14648L17.8496 5.64844C17.8952 5.69401 17.931 5.74935 17.957 5.81445C17.9831 5.87305 17.9961 5.9349 17.9961 6V18.5C17.9961 18.9102 17.8496 19.2617 17.5566 19.5547C17.2637 19.8477 16.9121 19.9941 16.502 19.9941H3.49414C3.08398 19.9941 2.73242 19.8477 2.43945 19.5547C2.14648 19.2617 2 18.9102 2 18.5V2.49414C2 2.08398 2.14648 1.73242 2.43945 1.43945C2.73242 1.14648 3.08398 1 3.49414 1H12.9961ZM3.49414 1.99609C3.35742 1.99609 3.24023 2.04492 3.14258 2.14258C3.04492 2.24023 2.99609 2.35742 2.99609 2.49414V18.5C2.99609 18.6367 3.04492 18.7539 3.14258 18.8516C3.24023 18.9492 3.35742 18.998 3.49414 18.998H16.502C16.6387 18.998 16.7559 18.9492 16.8535 18.8516C16.9512 18.7539 17 18.6367 17 18.5V6.99609H13.4941C13.084 6.99609 12.7324 6.84961 12.4395 6.55664C12.1465 6.26367 12 5.91211 12 5.50195V1.99609H3.49414ZM12.9961 5.50195C12.9961 5.63867 13.0449 5.75586 13.1426 5.85352C13.2402 5.95117 13.3574 6 13.4941 6H16.7949L12.9961 2.20117V5.50195Z", fill: "#6D7680" })] })),
176
+ fileCsvFormatted: (_jsx(_Fragment, { children: _jsx("path", { d: "M17.8496 5.64844C17.8952 5.69401 17.931 5.74935 17.957 5.81445C17.9831 5.87305 17.9961 5.9349 17.9961 6V18.5C17.9961 18.9102 17.8496 19.2617 17.5566 19.5547C17.2637 19.8477 16.9121 19.9941 16.502 19.9941H3.49414C3.08398 19.9941 2.73242 19.8477 2.43945 19.5547C2.14648 19.2617 2 18.9102 2 18.5V2.49414C2 2.08398 2.14648 1.73242 2.43945 1.43945C2.73242 1.14648 3.08398 1 3.49414 1H12.9961C13.0612 1 13.123 1.01302 13.1816 1.03906C13.2467 1.0651 13.3021 1.10091 13.3477 1.14648L17.8496 5.64844ZM16.7949 6L12.9961 2.20117V5.50195C12.9961 5.63867 13.0449 5.75586 13.1426 5.85352C13.2402 5.95117 13.3574 6 13.4941 6H16.7949ZM16.502 18.998C16.6387 18.998 16.7559 18.9492 16.8535 18.8516C16.9512 18.7539 17 18.6367 17 18.5V6.99609H13.4941C13.084 6.99609 12.7324 6.84961 12.4395 6.55664C12.1465 6.26367 12 5.91211 12 5.50195V1.99609H3.49414C3.35742 1.99609 3.24023 2.04492 3.14258 2.14258C3.04492 2.24023 2.99609 2.35742 2.99609 2.49414V18.5C2.99609 18.6367 3.04492 18.7539 3.14258 18.8516C3.24023 18.9492 3.35742 18.998 3.49414 18.998H16.502ZM14.5 9.99414C14.6367 9.99414 14.7539 10.043 14.8516 10.1406C14.9492 10.2383 14.998 10.3587 14.998 10.502V16.498C14.998 16.6348 14.9492 16.752 14.8516 16.8496C14.7539 16.9473 14.6367 16.9961 14.5 16.9961H5.49609C5.35938 16.9961 5.24219 16.9473 5.14453 16.8496C5.04688 16.752 4.99805 16.6348 4.99805 16.498V10.502C4.99805 10.3587 5.04688 10.2383 5.14453 10.1406C5.24219 10.043 5.35938 9.99414 5.49609 9.99414H14.5ZM14.002 13.002V11H12V13.002H14.002ZM9.00195 13.002H10.9941V11H9.00195V13.002ZM10.9941 13.998H9.00195V16H10.9941V13.998ZM7.99609 11H5.99414V13.002H7.99609V11ZM5.99414 13.998V16H7.99609V13.998H5.99414ZM12 16H14.002V13.998H12V16Z", fill: "#6A737D" }) })),
177
+ fileCsvRaw: (_jsxs(_Fragment, { children: [_jsx("path", { d: "M13.998 15.4971C14.2742 15.4971 14.498 15.7209 14.498 15.9971C14.498 16.2732 14.2742 16.4971 13.998 16.4971H5.99805C5.7219 16.4971 5.49805 16.2732 5.49805 15.9971C5.49805 15.7209 5.7219 15.4971 5.99805 15.4971H13.998Z", fill: "#6A737D" }), _jsx("path", { d: "M13.998 12.9971C14.2742 12.9971 14.498 13.2209 14.498 13.4971C14.498 13.7732 14.2742 13.9971 13.998 13.9971H5.99805C5.7219 13.9971 5.49805 13.7732 5.49805 13.4971C5.49805 13.2209 5.7219 12.9971 5.99805 12.9971H13.998Z", fill: "#6A737D" }), _jsx("path", { d: "M13.998 10.4971C14.2742 10.4971 14.498 10.7209 14.498 10.9971C14.498 11.2732 14.2742 11.4971 13.998 11.4971H5.99805C5.7219 11.4971 5.49805 11.2732 5.49805 10.9971C5.49805 10.7209 5.7219 10.4971 5.99805 10.4971H13.998Z", fill: "#6A737D" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.9961 1C13.0612 1 13.123 1.01302 13.1816 1.03906C13.2467 1.0651 13.3021 1.10091 13.3477 1.14648L17.8496 5.64844C17.8952 5.69401 17.931 5.74935 17.957 5.81445C17.9831 5.87305 17.9961 5.9349 17.9961 6V18.5C17.9961 18.9102 17.8496 19.2617 17.5566 19.5547C17.2637 19.8477 16.9121 19.9941 16.502 19.9941H3.49414C3.08398 19.9941 2.73242 19.8477 2.43945 19.5547C2.14648 19.2617 2 18.9102 2 18.5V2.49414C2 2.08398 2.14648 1.73242 2.43945 1.43945C2.73242 1.14648 3.08398 1 3.49414 1H12.9961ZM3.49414 1.99609C3.35742 1.99609 3.24023 2.04492 3.14258 2.14258C3.04492 2.24023 2.99609 2.35742 2.99609 2.49414V18.5C2.99609 18.6367 3.04492 18.7539 3.14258 18.8516C3.24023 18.9492 3.35742 18.998 3.49414 18.998H16.502C16.6387 18.998 16.7559 18.9492 16.8535 18.8516C16.9512 18.7539 17 18.6367 17 18.5V6.99609H13.4941C13.084 6.99609 12.7324 6.84961 12.4395 6.55664C12.1465 6.26367 12 5.91211 12 5.50195V1.99609H3.49414ZM12.9961 5.50195C12.9961 5.63867 13.0449 5.75586 13.1426 5.85352C13.2402 5.95117 13.3574 6 13.4941 6H16.7949L12.9961 2.20117V5.50195Z", fill: "#6A737D" })] })),
178
178
  aiDocument: (_jsxs(_Fragment, { children: [_jsx("path", { d: "M 12.1357 1.002 C 11.7079 1.2385 11.402 1.5921 11.2158 1.998 H 2.4941 C 2.3574 1.998 2.2402 2.0469 2.1426 2.1445 C 2.0449 2.2422 1.9961 2.3594 1.9961 2.4961 V 18.502 C 1.9961 18.6386 2.0449 18.7558 2.1426 18.8535 C 2.2402 18.9511 2.3574 19 2.4941 19 H 15.502 C 15.6387 19 15.7559 18.9511 15.8535 18.8535 C 15.9512 18.7558 16 18.6386 16 18.502 V 8 C 16.3425 7.9999 16.6838 7.9268 16.9961 7.7842 V 18.502 C 16.9961 18.9121 16.8496 19.2636 16.5566 19.5567 C 16.2636 19.8496 15.9121 19.9961 15.502 19.9961 H 2.4941 C 2.084 19.9961 1.7324 19.8496 1.4395 19.5567 C 1.1465 19.2636 1 18.9121 1 18.502 V 2.4961 C 1 2.0859 1.1465 1.7344 1.4395 1.4414 C 1.7324 1.1484 2.084 1.002 2.4941 1.002 H 12.1357 Z" }), _jsx("path", { d: "M 9.498 13 C 9.7742 13 9.998 13.2239 9.998 13.5 C 9.998 13.7761 9.7742 14 9.498 14 H 4.498 C 4.2219 14 3.998 13.7761 3.998 13.5 C 3.998 13.2239 4.2219 13 4.498 13 H 9.498 Z" }), _jsx("path", { d: "M 12.498 10 C 12.7742 10 12.998 10.2239 12.998 10.5 C 12.998 10.7761 12.7742 11 12.498 11 H 4.498 C 4.2219 11 3.998 10.7761 3.998 10.5 C 3.998 10.2239 4.2219 10 4.498 10 H 12.498 Z" }), _jsx("path", { d: "M 12.498 7 C 12.7742 7 12.998 7.2238 12.998 7.5 C 12.998 7.7762 12.7742 8 12.498 8 H 4.498 C 4.2219 8 3.998 7.7762 3.998 7.5 C 3.998 7.2238 4.2219 7 4.498 7 H 12.498 Z" }), _jsx("path", { d: "M 15.7028 0.249 C 15.758 -0.083 16.2374 -0.083 16.2927 0.249 C 16.5003 1.5093 17.4874 2.4978 18.7477 2.706 C 19.0801 2.761 19.0801 3.2388 18.7477 3.2939 C 17.4873 3.5019 16.5003 4.4914 16.2927 5.7519 C 16.2373 6.0838 15.7581 6.0838 15.7028 5.7519 C 15.4951 4.4914 14.5081 3.5019 13.2477 3.2939 C 12.9148 3.239 12.9148 2.7608 13.2477 2.706 C 14.5081 2.4978 15.4952 1.5093 15.7028 0.249 Z" })] })),
179
179
  thumbsUp: (_jsx("path", { d: "M17.0244 10.4863C17.0303 10.498 17.0361 10.5098 17.042 10.5215C17.0479 10.5273 17.0537 10.5361 17.0596 10.5479C17.1299 10.6709 17.1826 10.8115 17.2178 10.9697C17.2529 11.1279 17.2705 11.3008 17.2705 11.4883C17.2705 11.7578 17.2354 12.0391 17.165 12.332C17.1006 12.6191 17.0068 12.8857 16.8838 13.1318C16.7959 13.3018 16.7021 13.4512 16.6025 13.5801C16.5029 13.709 16.3945 13.8174 16.2773 13.9053C16.2832 13.9404 16.2861 13.9785 16.2861 14.0195C16.292 14.0605 16.2949 14.1045 16.2949 14.1514C16.2949 14.3857 16.2598 14.6465 16.1895 14.9336C16.1191 15.2207 16.0254 15.4873 15.9082 15.7334C15.7852 15.9854 15.6445 16.1934 15.4863 16.3574C15.3281 16.5215 15.1611 16.6416 14.9854 16.7178C14.9385 16.958 14.8418 17.1836 14.6953 17.3945C14.5547 17.5996 14.373 17.7754 14.1504 17.9219C13.9219 18.0742 13.6582 18.1914 13.3594 18.2734C13.0664 18.3555 12.7559 18.3965 12.4277 18.3965C11.8066 18.3965 11.2822 18.373 10.8545 18.3262C10.4326 18.2793 10.0723 18.2178 9.77344 18.1416C9.47461 18.0654 9.2168 17.9775 9 17.8779C8.78906 17.7783 8.58105 17.6729 8.37598 17.5615C8.05371 17.3916 7.68164 17.2246 7.25977 17.0605C6.83789 16.8906 6.1875 16.7529 5.30859 16.6475C5.20898 16.8936 5.04492 17.0986 4.81641 17.2627C4.58789 17.4209 4.33301 17.5 4.05176 17.5H1.35352C0.978516 17.5 0.65918 17.3682 0.395508 17.1045C0.131836 16.8408 0 16.5215 0 16.1465V8.05176C0 7.67676 0.131836 7.35742 0.395508 7.09375C0.65918 6.83008 0.978516 6.69824 1.35352 6.69824H4.05176C4.32129 6.69824 4.56445 6.77148 4.78125 6.91797C4.99805 7.05859 5.16211 7.24316 5.27344 7.47168C5.70117 7.3252 6.12598 7.15527 6.54785 6.96191C6.96973 6.76855 7.37988 6.55469 7.77832 6.32031C8.18262 6.08008 8.57227 5.82227 8.94727 5.54688C9.32812 5.27148 9.68848 4.98145 10.0283 4.67676C10.3857 4.35449 10.708 4.02637 10.9951 3.69238C11.2822 3.3584 11.5312 3.02734 11.7422 2.69922C11.959 2.36523 12.1318 2.03711 12.2607 1.71484C12.3955 1.39258 12.4805 1.08496 12.5156 0.791992C12.5332 0.680664 12.583 0.586914 12.665 0.510742C12.7529 0.43457 12.8525 0.396484 12.9639 0.396484C13.251 0.396484 13.5732 0.478516 13.9307 0.642578C14.2881 0.800781 14.5811 1.0791 14.8096 1.47754C14.9678 1.75879 15.0674 2.08105 15.1084 2.44434C15.1494 2.80176 15.1289 3.2002 15.0469 3.63965C14.9648 4.07324 14.8242 4.54785 14.625 5.06348C14.4258 5.57324 14.165 6.11816 13.8428 6.69824H16.1982C16.4443 6.69824 16.6641 6.75391 16.8574 6.86523C17.0566 6.9707 17.2207 7.12598 17.3496 7.33105C17.4492 7.48926 17.5225 7.6709 17.5693 7.87598C17.6221 8.08105 17.6484 8.30371 17.6484 8.54395C17.6484 8.90723 17.5928 9.26465 17.4814 9.61621C17.376 9.96777 17.2236 10.2578 17.0244 10.4863ZM4.05176 16.6035C4.1748 16.6035 4.28027 16.5596 4.36816 16.4717C4.45605 16.3838 4.5 16.2754 4.5 16.1465V8.05176C4.5 7.92871 4.45605 7.82324 4.36816 7.73535C4.28027 7.64746 4.1748 7.60352 4.05176 7.60352H1.35352C1.22461 7.60352 1.11621 7.64746 1.02832 7.73535C0.94043 7.82324 0.896484 7.92871 0.896484 8.05176V16.1465C0.896484 16.2754 0.94043 16.3838 1.02832 16.4717C1.11621 16.5596 1.22461 16.6035 1.35352 16.6035H4.05176ZM16.5059 9.64258C16.582 9.49023 16.6406 9.31738 16.6816 9.12402C16.7285 8.93066 16.752 8.7373 16.752 8.54395C16.752 8.3916 16.7373 8.25391 16.708 8.13086C16.6787 8.00195 16.6377 7.89648 16.585 7.81445C16.5381 7.73828 16.4824 7.68555 16.418 7.65625C16.3594 7.62109 16.2861 7.60352 16.1982 7.60352H13.0693C12.9873 7.60352 12.9111 7.58301 12.8408 7.54199C12.7705 7.50098 12.7148 7.44531 12.6738 7.375C12.6328 7.30469 12.6123 7.22852 12.6123 7.14648C12.6182 7.06445 12.6416 6.98828 12.6826 6.91797C13.1455 6.13867 13.4912 5.46484 13.7197 4.89648C13.9482 4.32812 14.0977 3.84473 14.168 3.44629C14.2383 3.04785 14.25 2.72852 14.2031 2.48828C14.1562 2.24219 14.0977 2.05176 14.0273 1.91699C13.9336 1.75879 13.8223 1.63574 13.6934 1.54785C13.5703 1.45996 13.4473 1.39844 13.3242 1.36328C13.2422 1.68555 13.1221 2.01367 12.9639 2.34766C12.8115 2.68164 12.6211 3.01855 12.3926 3.3584C12.1699 3.69238 11.9092 4.02637 11.6104 4.36035C11.3174 4.69434 10.9922 5.02246 10.6348 5.34473C10.2598 5.67871 9.86426 5.99805 9.44824 6.30273C9.03223 6.60156 8.60156 6.87988 8.15625 7.1377C7.7168 7.38965 7.26562 7.62109 6.80273 7.83203C6.33984 8.04297 5.87109 8.22461 5.39648 8.37695V15.751C5.88281 15.8096 6.30176 15.8799 6.65332 15.9619C7.00488 16.0381 7.30957 16.123 7.56738 16.2168C7.83105 16.3047 8.05957 16.3955 8.25293 16.4893C8.44629 16.583 8.63086 16.6768 8.80664 16.7705C8.98828 16.8701 9.17285 16.9639 9.36035 17.0518C9.54785 17.1396 9.77344 17.2188 10.0371 17.2891C10.3066 17.3535 10.6318 17.4062 11.0127 17.4473C11.3936 17.4824 11.8652 17.5 12.4277 17.5C12.8379 17.5 13.2217 17.4062 13.5791 17.2188C13.9365 17.0312 14.1152 16.7412 14.1152 16.3486C14.1152 16.2256 14.1592 16.1201 14.2471 16.0322C14.335 15.9443 14.4434 15.9004 14.5723 15.9004C14.625 15.9004 14.6836 15.874 14.748 15.8213C14.8125 15.7686 14.877 15.6953 14.9414 15.6016C15.1172 15.3496 15.2402 15.0654 15.3105 14.749C15.3809 14.4268 15.4102 14.1953 15.3984 14.0547C15.334 14.0137 15.2812 13.9609 15.2402 13.8965C15.2051 13.8262 15.1875 13.7529 15.1875 13.6768C15.1875 13.5537 15.2314 13.4482 15.3193 13.3604C15.4072 13.2725 15.5127 13.2285 15.6357 13.2285C15.6768 13.2285 15.7383 13.1934 15.8203 13.123C15.9023 13.0469 15.9873 12.918 16.0752 12.7363C16.1689 12.5547 16.2422 12.3525 16.2949 12.1299C16.3477 11.9072 16.374 11.6934 16.374 11.4883C16.374 11.3828 16.3652 11.2861 16.3477 11.1982C16.3301 11.1104 16.3066 11.04 16.2773 10.9873C16.2598 10.9521 16.2422 10.9316 16.2246 10.9258C16.207 10.9199 16.1895 10.917 16.1719 10.917C16.0488 10.917 15.9434 10.873 15.8555 10.7852C15.7676 10.6973 15.7236 10.5918 15.7236 10.4688C15.7236 10.3457 15.7676 10.2402 15.8555 10.1523C15.9434 10.0645 16.0488 10.0205 16.1719 10.0205C16.2012 10.0205 16.2451 9.99414 16.3037 9.94141C16.3682 9.88281 16.4355 9.7832 16.5059 9.64258Z" })),
180
180
  thumbsDown: (_jsx("path", { d: "M17.0244 8.31543C17.2236 8.54395 17.376 8.83398 17.4814 9.18555C17.5928 9.53711 17.6484 9.89453 17.6484 10.2578C17.6484 10.498 17.6221 10.7207 17.5693 10.9258C17.5225 11.1309 17.4492 11.3096 17.3496 11.4619C17.2207 11.667 17.0566 11.8252 16.8574 11.9365C16.6641 12.0479 16.4443 12.1035 16.1982 12.1035H13.8428C14.165 12.6836 14.4258 13.2285 14.625 13.7383C14.8242 14.248 14.9648 14.7227 15.0469 15.1621C15.1289 15.5957 15.1494 15.9941 15.1084 16.3574C15.0674 16.7207 14.9678 17.043 14.8096 17.3242C14.5811 17.7227 14.2881 18.001 13.9307 18.1592C13.5732 18.3174 13.251 18.3965 12.9639 18.3965C12.8525 18.3965 12.7529 18.3584 12.665 18.2822C12.583 18.2119 12.5332 18.1211 12.5156 18.0098C12.4805 17.7109 12.3955 17.4033 12.2607 17.0869C12.1318 16.7646 11.959 16.4365 11.7422 16.1025C11.5312 15.7686 11.2822 15.4375 10.9951 15.1094C10.708 14.7754 10.3857 14.4473 10.0283 14.125C9.68848 13.8203 9.32812 13.5303 8.94727 13.2549C8.57227 12.9795 8.18262 12.7246 7.77832 12.4902C7.37988 12.25 6.96973 12.0332 6.54785 11.8398C6.12598 11.6465 5.70117 11.4766 5.27344 11.3301C5.16211 11.5586 4.99805 11.7461 4.78125 11.8926C4.56445 12.0332 4.32129 12.1035 4.05176 12.1035H1.35352C0.978516 12.1035 0.65918 11.9717 0.395508 11.708C0.131836 11.4443 0 11.125 0 10.75V2.64648C0 2.27734 0.131836 1.96094 0.395508 1.69727C0.65918 1.43359 0.978516 1.30176 1.35352 1.30176H4.05176C4.33301 1.30176 4.58789 1.38086 4.81641 1.53906C5.04492 1.69727 5.20898 1.90234 5.30859 2.1543C6.1875 2.04297 6.83789 1.90527 7.25977 1.74121C7.68164 1.57715 8.05371 1.41016 8.37598 1.24023C8.58105 1.12891 8.78906 1.02344 9 0.923828C9.2168 0.824219 9.47461 0.736328 9.77344 0.660156C10.0723 0.578125 10.4326 0.513672 10.8545 0.466797C11.2822 0.419922 11.8066 0.396484 12.4277 0.396484C12.7559 0.396484 13.0664 0.4375 13.3594 0.519531C13.6582 0.601562 13.9219 0.72168 14.1504 0.879883C14.373 1.02637 14.5547 1.20215 14.6953 1.40723C14.8418 1.6123 14.9385 1.83789 14.9854 2.08398C15.1611 2.16016 15.3281 2.28027 15.4863 2.44434C15.6445 2.6084 15.7852 2.81641 15.9082 3.06836C16.0254 3.30859 16.1191 3.5752 16.1895 3.86816C16.2598 4.15527 16.2949 4.41602 16.2949 4.65039C16.2949 4.69727 16.292 4.74121 16.2861 4.78223C16.2861 4.82324 16.2832 4.86133 16.2773 4.89648C16.3945 4.98438 16.5029 5.09277 16.6025 5.22168C16.7021 5.34473 16.7959 5.49121 16.8838 5.66113C17.0068 5.90723 17.1006 6.17676 17.165 6.46973C17.2354 6.75684 17.2705 7.03516 17.2705 7.30469C17.2705 7.49805 17.2529 7.67383 17.2178 7.83203C17.1826 7.99023 17.1299 8.13086 17.0596 8.25391C17.0537 8.26562 17.0479 8.27734 17.042 8.28906C17.0361 8.29492 17.0303 8.30371 17.0244 8.31543ZM4.05176 2.19824H1.35352C1.22461 2.19824 1.11621 2.24219 1.02832 2.33008C0.94043 2.41797 0.896484 2.52344 0.896484 2.64648V10.75C0.896484 10.873 0.94043 10.9785 1.02832 11.0664C1.11621 11.1543 1.22461 11.1982 1.35352 11.1982H4.05176C4.1748 11.1982 4.28027 11.1543 4.36816 11.0664C4.45605 10.9785 4.5 10.873 4.5 10.75V2.65527C4.5 2.64941 4.5 2.64648 4.5 2.64648C4.5 2.52344 4.45605 2.41797 4.36816 2.33008C4.28027 2.24219 4.1748 2.19824 4.05176 2.19824ZM16.5059 9.15039C16.4355 9.01562 16.3682 8.92188 16.3037 8.86914C16.2451 8.81055 16.2012 8.78125 16.1719 8.78125C16.0488 8.78125 15.9434 8.7373 15.8555 8.64941C15.7676 8.56152 15.7236 8.45605 15.7236 8.33301C15.7236 8.20996 15.7676 8.10449 15.8555 8.0166C15.9434 7.92871 16.0488 7.88477 16.1719 7.88477C16.1895 7.88477 16.207 7.88184 16.2246 7.87598C16.2422 7.87012 16.2598 7.84961 16.2773 7.81445C16.3066 7.76172 16.3301 7.69141 16.3477 7.60352C16.3652 7.51562 16.374 7.41602 16.374 7.30469C16.374 7.10547 16.3477 6.89453 16.2949 6.67188C16.2422 6.44922 16.1689 6.24707 16.0752 6.06543C15.9873 5.88379 15.9023 5.75781 15.8203 5.6875C15.7383 5.61133 15.6768 5.57324 15.6357 5.57324C15.5127 5.57324 15.4072 5.5293 15.3193 5.44141C15.2314 5.35352 15.1875 5.24805 15.1875 5.125C15.1875 5.04297 15.2051 4.96973 15.2402 4.90527C15.2812 4.84082 15.334 4.78809 15.3984 4.74707C15.4102 4.60645 15.3809 4.375 15.3105 4.05273C15.2402 3.73047 15.1172 3.44629 14.9414 3.2002C14.877 3.10645 14.8125 3.0332 14.748 2.98047C14.6836 2.92773 14.625 2.90137 14.5723 2.90137C14.4434 2.90137 14.335 2.85742 14.2471 2.76953C14.1592 2.68164 14.1152 2.57617 14.1152 2.45312C14.1152 2.05469 13.9365 1.76465 13.5791 1.58301C13.2217 1.39551 12.8379 1.30176 12.4277 1.30176C11.8652 1.30176 11.3936 1.32227 11.0127 1.36328C10.6318 1.39844 10.3066 1.45117 10.0371 1.52148C9.77344 1.58594 9.54785 1.66211 9.36035 1.75C9.17285 1.83789 8.98828 1.93164 8.80664 2.03125C8.63086 2.125 8.44629 2.21875 8.25293 2.3125C8.05957 2.40625 7.83105 2.5 7.56738 2.59375C7.30957 2.68164 7.00488 2.7666 6.65332 2.84863C6.30176 2.9248 5.88281 2.99219 5.39648 3.05078V10.416C5.87109 10.5742 6.33984 10.7588 6.80273 10.9697C7.26562 11.1748 7.7168 11.4062 8.15625 11.6641C8.60156 11.9219 9.03223 12.2002 9.44824 12.499C9.86426 12.7979 10.2598 13.1172 10.6348 13.457C10.9922 13.7793 11.3174 14.1074 11.6104 14.4414C11.9092 14.7754 12.1699 15.1123 12.3926 15.4521C12.6211 15.7861 12.8115 16.1201 12.9639 16.4541C13.1221 16.7881 13.2422 17.1162 13.3242 17.4385C13.4473 17.3975 13.5703 17.333 13.6934 17.2451C13.8223 17.1572 13.9336 17.0371 14.0273 16.8848C14.0977 16.75 14.1562 16.5596 14.2031 16.3135C14.25 16.0674 14.2383 15.748 14.168 15.3555C14.0977 14.957 13.9482 14.4736 13.7197 13.9053C13.4912 13.3369 13.1455 12.6631 12.6826 11.8838C12.6416 11.8135 12.6182 11.7373 12.6123 11.6553C12.6123 11.5732 12.6328 11.4971 12.6738 11.4268C12.7148 11.3564 12.7705 11.3008 12.8408 11.2598C12.9111 11.2188 12.9873 11.1982 13.0693 11.1982H16.1982C16.2861 11.1982 16.3594 11.1836 16.418 11.1543C16.4824 11.1191 16.5381 11.0635 16.585 10.9873C16.6377 10.9053 16.6787 10.8027 16.708 10.6797C16.7373 10.5508 16.752 10.4102 16.752 10.2578C16.752 10.0645 16.7285 9.87109 16.6816 9.67773C16.6406 9.48438 16.582 9.30859 16.5059 9.15039Z" })),
@@ -39,6 +39,8 @@ export interface IBubbleProps {
39
39
  children?: ReactNode;
40
40
  overlayPositionType?: OverlayPositionType;
41
41
  ensureVisibility?: boolean;
42
+ resizeObserverThreshold?: number;
43
+ keepBottomOnResize?: boolean;
42
44
  accessibilityConfig?: IBubbleAccessibilityConfig;
43
45
  }
44
46
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"Bubble.d.ts","sourceRoot":"","sources":["../../src/Bubble/Bubble.tsx"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,SAAS,EAKjB,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C9B,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;;OAGG;IACH,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC;IACvB,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAC;IACjC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,mBAAmB,CAAC,EAAE,0BAA0B,CAAC;CACpD;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB,WAAW,EAAE,WAAW,EAAE,CAAC;IAC3B,kBAAkB,EAAE,MAAM,CAAC;CAC9B;AAsBD;;GAEG;AACH,eAAO,MAAM,MAAM,EAAE,oBAAoB,CAAC,YAAY,CA8JrD,CAAC"}
@@ -56,7 +56,7 @@ const defaultProps = {
56
56
  * @internal
57
57
  */
58
58
  export const Bubble = memo(function Bubble(props) {
59
- const { id, alignPoints: alignPointsProp, alignTo, arrowOffsets: arrowOffsetsProp, arrowDirections: arrowDirectionsProp, arrowStyle: arrowStyleProp, className, closeOnOutsideClick, closeOnParentScroll, closeOnEscape, ignoreClicksOn, ignoreClicksOnByClass, onClose, onMouseEnter, onMouseLeave, onKeyDown, overlayClassName, children, overlayPositionType, ensureVisibility, accessibilityConfig, } = { ...defaultProps, ...props };
59
+ const { id, alignPoints: alignPointsProp, alignTo, arrowOffsets: arrowOffsetsProp, arrowDirections: arrowDirectionsProp, arrowStyle: arrowStyleProp, className, closeOnOutsideClick, closeOnParentScroll, closeOnEscape, ignoreClicksOn, ignoreClicksOnByClass, onClose, onMouseEnter, onMouseLeave, onKeyDown, overlayClassName, children, overlayPositionType, ensureVisibility, resizeObserverThreshold, keepBottomOnResize, accessibilityConfig, } = { ...defaultProps, ...props };
60
60
  const { role, ariaLabelledBy } = accessibilityConfig ?? {};
61
61
  const arrowOffsets = useMemo(() => ({
62
62
  ...arrowOffsetsProp,
@@ -108,7 +108,7 @@ export const Bubble = memo(function Bubble(props) {
108
108
  });
109
109
  }, [className, getArrowsClassname, optimalAlignPoints]);
110
110
  const arrowStyle = useMemo(() => result({ arrowStyle: arrowStyleProp }, "arrowStyle", {}), [arrowStyleProp]);
111
- return (_jsx(ZoomAwareOverlay, { id: id, className: overlayClassName, alignTo: alignTo, onAlign: onAlign, alignPoints: alignPoints, closeOnParentScroll: closeOnParentScroll, closeOnMouseDrag: true, closeOnOutsideClick: closeOnOutsideClick, ignoreClicksOn: ignoreClicksOn, ignoreClicksOnByClass: ignoreClicksOnByClass, onClose: onClose, closeOnEscape: closeOnEscape, positionType: overlayPositionType, ensureVisibility: ensureVisibility, children: _jsx("div", { onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, onKeyDown: onKeyDown, className: classNames, role: role, "aria-labelledby": ariaLabelledBy, children: _jsxs("div", { className: "bubble-content", children: [_jsx("div", { className: "helper" }), _jsxs("div", { className: "arrow-position", style: arrowStyle, children: [_jsx("div", { className: "arrow-border" }), _jsx("div", { className: "arrow" })] }), _jsx("div", { className: "content", children: children })] }) }) }));
111
+ return (_jsx(ZoomAwareOverlay, { id: id, className: overlayClassName, alignTo: alignTo, onAlign: onAlign, alignPoints: alignPoints, closeOnParentScroll: closeOnParentScroll, closeOnMouseDrag: true, closeOnOutsideClick: closeOnOutsideClick, ignoreClicksOn: ignoreClicksOn, ignoreClicksOnByClass: ignoreClicksOnByClass, onClose: onClose, closeOnEscape: closeOnEscape, positionType: overlayPositionType, ensureVisibility: ensureVisibility, resizeObserverThreshold: resizeObserverThreshold, keepBottomOnResize: keepBottomOnResize, children: _jsx("div", { onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, onKeyDown: onKeyDown, className: classNames, role: role, "aria-labelledby": ariaLabelledBy, children: _jsxs("div", { className: "bubble-content", children: [_jsx("div", { className: "helper" }), _jsxs("div", { className: "arrow-position", style: arrowStyle, children: [_jsx("div", { className: "arrow-border" }), _jsx("div", { className: "arrow" })] }), _jsx("div", { className: "content", children: children })] }) }) }));
112
112
  }, (prevProps, nextProps) => {
113
113
  return isReactEqual(prevProps, nextProps);
114
114
  });
@@ -1,4 +1,4 @@
1
- import { type ReactNode } from "react";
1
+ import { type MouseEvent, type ReactNode } from "react";
2
2
  import { type HelpMenuDropdownAlignPoints } from "../typings/positioning.js";
3
3
  interface IHelpItem {
4
4
  key: string;
@@ -15,7 +15,7 @@ interface IHeaderHelpProps {
15
15
  className: string;
16
16
  helpMenuDropdownAlignPoints?: HelpMenuDropdownAlignPoints;
17
17
  items: IHelpItem[];
18
- onMenuItemClick?: (...args: any[]) => void;
18
+ onMenuItemClick?: (item: IHelpItem, e: MouseEvent<HTMLAnchorElement>) => void;
19
19
  disableDropdown?: boolean;
20
20
  onHelpClicked?: (isOpen?: boolean) => void;
21
21
  helpRedirectUrl?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderHelp.d.ts","sourceRoot":"","sources":["../../src/Header/HeaderHelp.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAiC,MAAM,OAAO,CAAC;AAStE,OAAO,EAAE,KAAK,2BAA2B,EAAoB,MAAM,2BAA2B,CAAC;AAG/F,UAAU,SAAS;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IACh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C;AAED,UAAU,gBAAgB;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,2BAA2B,CAAC,EAAE,2BAA2B,CAAC;IAC1D,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,EAAE,CAAC,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC9E,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3C,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,wBAAgB,UAAU,CAAC,EACvB,SAAS,EACT,KAAK,EACL,2BAA2B,EAC3B,eAAe,EACf,eAAe,EACf,aAAa,EACb,eAAe,GAClB,EAAE,gBAAgB,2CAkIlB"}
@@ -21,8 +21,8 @@ export function HeaderHelp({ className, items, helpMenuDropdownAlignPoints, onMe
21
21
  [className]: !!className,
22
22
  });
23
23
  const menuItems = items.map((item) => {
24
- return (_jsxs("a", { role: "option", href: item.href, target: item.target, rel: item.target === "_blank" ? "noreferrer noopener" : undefined, onClick: () => {
25
- menuItemClicked(item);
24
+ return (_jsxs("a", { role: "option", href: item.href, target: item.target, rel: item.target === "_blank" ? "noreferrer noopener" : undefined, onClick: (e) => {
25
+ menuItemClicked(item, e);
26
26
  }, className: cx("gd-list-item gd-list-help-menu-item", {
27
27
  [item.className]: !!item.className,
28
28
  }), children: [item.iconName ? _jsx("i", { className: cx(item.iconName, "gd-icon") }) : null, item.icon ? item.icon : null, _jsx("span", { children: item.label ?? _jsx(FormattedMessage, { id: item.key }) })] }, item.key));
@@ -31,9 +31,9 @@ export function HeaderHelp({ className, items, helpMenuDropdownAlignPoints, onMe
31
31
  onHelpClicked?.(isMenuOpen);
32
32
  setIsOpen(isMenuOpen);
33
33
  }, [isOpen, onHelpClicked]);
34
- const menuItemClicked = (...args) => {
34
+ const menuItemClicked = (item, e) => {
35
35
  toggleHelpMenu(false);
36
- onMenuItemClick?.(...args);
36
+ onMenuItemClick?.(item, e);
37
37
  };
38
38
  /**
39
39
  * Menu dropdown content is long enough to make it max-width (240px),
@@ -3,6 +3,6 @@ import { combineIconClasses } from "../utils.js";
3
3
  /**
4
4
  * @internal
5
5
  */
6
- export function ArrowLeft({ color = "#6D7680", className, width = 11, height = 19, ariaHidden }) {
6
+ export function ArrowLeft({ color = "#6A737D", className, width = 11, height = 19, ariaHidden }) {
7
7
  return (_jsx("svg", { className: combineIconClasses(className), width: width, height: height, viewBox: "0 0 11 19", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": ariaHidden, children: _jsx("path", { d: "M10.0039 18.9961C9.9388 18.9961 9.8737 18.9831 9.80859 18.957C9.75 18.9375 9.69466 18.9017 9.64258 18.8496L0.648438 9.85547C0.550781 9.75781 0.501953 9.64062 0.501953 9.50391C0.501953 9.36068 0.550781 9.24023 0.648438 9.14258L9.64258 0.148438C9.74023 0.0507812 9.85742 0.00195312 9.99414 0.00195312C10.1374 0.00195312 10.2578 0.0507812 10.3555 0.148438C10.4531 0.246094 10.502 0.363281 10.502 0.5C10.502 0.636719 10.4531 0.753906 10.3555 0.851562L1.70312 9.50391L10.3555 18.1465C10.4531 18.2441 10.502 18.3613 10.502 18.498C10.502 18.6348 10.4531 18.752 10.3555 18.8496C10.3034 18.9017 10.2448 18.9375 10.1797 18.957C10.1211 18.9831 10.0625 18.9961 10.0039 18.9961Z", fill: color }) }));
8
8
  }
@@ -3,6 +3,6 @@ import { combineIconClasses } from "../utils.js";
3
3
  /**
4
4
  * @internal
5
5
  */
6
- export function ArrowRight({ color = "#6D7680", className, width = 11, height = 19 }) {
6
+ export function ArrowRight({ color = "#6A737D", className, width = 11, height = 19 }) {
7
7
  return (_jsx("svg", { className: combineIconClasses(className), width: width, height: height, viewBox: "0 0 11 19", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M1 18.9961C0.934896 18.9961 0.869792 18.9831 0.804688 18.957C0.746094 18.9375 0.69401 18.9017 0.648438 18.8496C0.550781 18.752 0.501953 18.6348 0.501953 18.498C0.501953 18.3613 0.550781 18.2441 0.648438 18.1465L9.29102 9.50391L0.648438 0.851562C0.550781 0.753906 0.501953 0.636719 0.501953 0.5C0.501953 0.363281 0.550781 0.246094 0.648438 0.148438C0.746094 0.0507812 0.863281 0.00195312 1 0.00195312C1.13672 0.00195312 1.25391 0.0507812 1.35156 0.148438L10.3555 9.14258C10.4531 9.24023 10.502 9.36068 10.502 9.50391C10.502 9.64062 10.4531 9.75781 10.3555 9.85547L1.35156 18.8496C1.30599 18.9017 1.25065 18.9375 1.18555 18.957C1.12695 18.9831 1.0651 18.9961 1 18.9961Z", fill: color }) }));
8
8
  }
@@ -4,5 +4,5 @@ import { combineIconClasses } from "../utils.js";
4
4
  * @internal
5
5
  */
6
6
  export function HistoryBack({ color, className, width, height }) {
7
- return (_jsx("svg", { className: combineIconClasses(className), width: width ?? 16, height: height ?? 16, viewBox: "0 0 20 17", version: "1.1", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M8 17.3467C7.21973 17.3467 6.45882 17.2415 5.71729 17.0312C4.98128 16.8265 4.28955 16.5332 3.64209 16.1514C2.99463 15.764 2.40251 15.2936 1.86572 14.7402C1.33447 14.1868 0.883464 13.5643 0.512695 12.8726C0.457357 12.7729 0.446289 12.6678 0.479492 12.5571C0.512695 12.4409 0.581868 12.3551 0.687012 12.2998C0.786621 12.2445 0.891764 12.2334 1.00244 12.2666C1.11865 12.2998 1.20443 12.369 1.25977 12.4741C1.59733 13.0939 2.00407 13.6528 2.47998 14.1509C2.96143 14.6489 3.49268 15.0723 4.07373 15.4209C4.65479 15.7695 5.27734 16.0379 5.94141 16.2261C6.611 16.4087 7.2972 16.5 8 16.5C9.05697 16.5 10.0475 16.3008 10.9717 15.9023C11.9014 15.4984 12.7121 14.9505 13.4038 14.2588C14.1011 13.5671 14.6489 12.7563 15.0474 11.8267C15.4513 10.897 15.6533 9.90365 15.6533 8.84668C15.6533 7.79525 15.4513 6.80469 15.0474 5.875C14.6489 4.94531 14.1011 4.1346 13.4038 3.44287C12.7121 2.75114 11.9014 2.20605 10.9717 1.80762C10.0475 1.40365 9.05697 1.20166 8 1.20166C7.2972 1.20166 6.61377 1.29574 5.94971 1.48389C5.29118 1.6665 4.66862 1.93213 4.08203 2.28076C3.50098 2.62386 2.96973 3.04443 2.48828 3.54248C2.01237 4.03499 1.6084 4.58838 1.27637 5.20264C1.22103 5.29671 1.14355 5.36312 1.04395 5.40186C0.94987 5.43506 0.853027 5.43506 0.753418 5.40186C0.653809 5.36312 0.579102 5.29948 0.529297 5.21094C0.479492 5.11686 0.465658 5.01725 0.487793 4.91211L1.20996 1.53369C1.2321 1.42301 1.29297 1.33447 1.39258 1.26807C1.49219 1.20166 1.6001 1.18229 1.71631 1.20996C1.82699 1.2321 1.91553 1.29297 1.98193 1.39258C2.04834 1.49219 2.06771 1.6001 2.04004 1.71631L1.74121 3.09424C2.13965 2.6626 2.57682 2.27799 3.05273 1.94043C3.52865 1.59733 4.03223 1.30957 4.56348 1.07715C5.09473 0.839193 5.64811 0.659342 6.22363 0.537598C6.80469 0.410319 7.39681 0.34668 8 0.34668C8.56999 0.34668 9.12614 0.402018 9.66846 0.512695C10.2163 0.623372 10.7448 0.783854 11.2539 0.994141C11.763 1.20443 12.25 1.46452 12.7148 1.77441C13.1797 2.08431 13.6113 2.43848 14.0098 2.83691C14.4137 3.24089 14.7679 3.67529 15.0723 4.14014C15.3822 4.59945 15.6423 5.08366 15.8525 5.59277C16.0684 6.10189 16.2288 6.63037 16.334 7.17822C16.4447 7.72607 16.5 8.28223 16.5 8.84668C16.5 9.41667 16.4447 9.97559 16.334 10.5234C16.2288 11.0658 16.0684 11.5915 15.8525 12.1006C15.6423 12.6097 15.3822 13.0967 15.0723 13.5615C14.7679 14.0264 14.4137 14.458 14.0098 14.8564C13.6113 15.2604 13.1797 15.6174 12.7148 15.9272C12.25 16.2371 11.763 16.4972 11.2539 16.7075C10.7448 16.9178 10.2163 17.0755 9.66846 17.1807C9.12614 17.2913 8.56999 17.3467 8 17.3467ZM8 9.27832C7.9668 9.27832 7.93083 9.27279 7.89209 9.26172C7.85889 9.25065 7.82568 9.23682 7.79248 9.22021L3.96582 7.09521C3.86621 7.03988 3.7998 6.95687 3.7666 6.84619C3.7334 6.72998 3.74447 6.62207 3.7998 6.52246C3.86068 6.41732 3.94645 6.34814 4.05713 6.31494C4.17334 6.28174 4.28125 6.29557 4.38086 6.35645L7.9834 8.35693L12.4492 5.51807C12.5488 5.45166 12.654 5.43229 12.7646 5.45996C12.8809 5.48763 12.9694 5.55127 13.0303 5.65088C13.0967 5.74495 13.116 5.8501 13.0884 5.96631C13.0662 6.08252 13.0054 6.17106 12.9058 6.23193L8.22412 9.21191C8.19092 9.23405 8.15495 9.25065 8.11621 9.26172C8.07747 9.27279 8.03874 9.27832 8 9.27832Z", fill: color ?? "#6D7680" }) }));
7
+ return (_jsx("svg", { className: combineIconClasses(className), width: width ?? 16, height: height ?? 16, viewBox: "0 0 20 17", version: "1.1", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M8 17.3467C7.21973 17.3467 6.45882 17.2415 5.71729 17.0312C4.98128 16.8265 4.28955 16.5332 3.64209 16.1514C2.99463 15.764 2.40251 15.2936 1.86572 14.7402C1.33447 14.1868 0.883464 13.5643 0.512695 12.8726C0.457357 12.7729 0.446289 12.6678 0.479492 12.5571C0.512695 12.4409 0.581868 12.3551 0.687012 12.2998C0.786621 12.2445 0.891764 12.2334 1.00244 12.2666C1.11865 12.2998 1.20443 12.369 1.25977 12.4741C1.59733 13.0939 2.00407 13.6528 2.47998 14.1509C2.96143 14.6489 3.49268 15.0723 4.07373 15.4209C4.65479 15.7695 5.27734 16.0379 5.94141 16.2261C6.611 16.4087 7.2972 16.5 8 16.5C9.05697 16.5 10.0475 16.3008 10.9717 15.9023C11.9014 15.4984 12.7121 14.9505 13.4038 14.2588C14.1011 13.5671 14.6489 12.7563 15.0474 11.8267C15.4513 10.897 15.6533 9.90365 15.6533 8.84668C15.6533 7.79525 15.4513 6.80469 15.0474 5.875C14.6489 4.94531 14.1011 4.1346 13.4038 3.44287C12.7121 2.75114 11.9014 2.20605 10.9717 1.80762C10.0475 1.40365 9.05697 1.20166 8 1.20166C7.2972 1.20166 6.61377 1.29574 5.94971 1.48389C5.29118 1.6665 4.66862 1.93213 4.08203 2.28076C3.50098 2.62386 2.96973 3.04443 2.48828 3.54248C2.01237 4.03499 1.6084 4.58838 1.27637 5.20264C1.22103 5.29671 1.14355 5.36312 1.04395 5.40186C0.94987 5.43506 0.853027 5.43506 0.753418 5.40186C0.653809 5.36312 0.579102 5.29948 0.529297 5.21094C0.479492 5.11686 0.465658 5.01725 0.487793 4.91211L1.20996 1.53369C1.2321 1.42301 1.29297 1.33447 1.39258 1.26807C1.49219 1.20166 1.6001 1.18229 1.71631 1.20996C1.82699 1.2321 1.91553 1.29297 1.98193 1.39258C2.04834 1.49219 2.06771 1.6001 2.04004 1.71631L1.74121 3.09424C2.13965 2.6626 2.57682 2.27799 3.05273 1.94043C3.52865 1.59733 4.03223 1.30957 4.56348 1.07715C5.09473 0.839193 5.64811 0.659342 6.22363 0.537598C6.80469 0.410319 7.39681 0.34668 8 0.34668C8.56999 0.34668 9.12614 0.402018 9.66846 0.512695C10.2163 0.623372 10.7448 0.783854 11.2539 0.994141C11.763 1.20443 12.25 1.46452 12.7148 1.77441C13.1797 2.08431 13.6113 2.43848 14.0098 2.83691C14.4137 3.24089 14.7679 3.67529 15.0723 4.14014C15.3822 4.59945 15.6423 5.08366 15.8525 5.59277C16.0684 6.10189 16.2288 6.63037 16.334 7.17822C16.4447 7.72607 16.5 8.28223 16.5 8.84668C16.5 9.41667 16.4447 9.97559 16.334 10.5234C16.2288 11.0658 16.0684 11.5915 15.8525 12.1006C15.6423 12.6097 15.3822 13.0967 15.0723 13.5615C14.7679 14.0264 14.4137 14.458 14.0098 14.8564C13.6113 15.2604 13.1797 15.6174 12.7148 15.9272C12.25 16.2371 11.763 16.4972 11.2539 16.7075C10.7448 16.9178 10.2163 17.0755 9.66846 17.1807C9.12614 17.2913 8.56999 17.3467 8 17.3467ZM8 9.27832C7.9668 9.27832 7.93083 9.27279 7.89209 9.26172C7.85889 9.25065 7.82568 9.23682 7.79248 9.22021L3.96582 7.09521C3.86621 7.03988 3.7998 6.95687 3.7666 6.84619C3.7334 6.72998 3.74447 6.62207 3.7998 6.52246C3.86068 6.41732 3.94645 6.34814 4.05713 6.31494C4.17334 6.28174 4.28125 6.29557 4.38086 6.35645L7.9834 8.35693L12.4492 5.51807C12.5488 5.45166 12.654 5.43229 12.7646 5.45996C12.8809 5.48763 12.9694 5.55127 13.0303 5.65088C13.0967 5.74495 13.116 5.8501 13.0884 5.96631C13.0662 6.08252 13.0054 6.17106 12.9058 6.23193L8.22412 9.21191C8.19092 9.23405 8.15495 9.25065 8.11621 9.26172C8.07747 9.27279 8.03874 9.27832 8 9.27832Z", fill: color ?? "#6A737D" }) }));
8
8
  }
@@ -4,5 +4,5 @@ import { combineIconClasses } from "../utils.js";
4
4
  * @internal
5
5
  */
6
6
  export function Home({ color, className, width, height, ariaHidden }) {
7
- return (_jsx("svg", { className: combineIconClasses(className), width: width ?? 16, height: height ?? 16, viewBox: "0 0 20 20", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": ariaHidden, children: _jsx("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd", children: _jsx("g", { transform: "translate(-276.000000, -1255.000000)", fill: color ?? "#6D7680", children: _jsx("g", { transform: "translate(258.000000, 1124.500000)", children: _jsx("path", { d: "M34.502,140.001 C34.778,140.001 35.002,140.225 35.002,140.501 L35.002,148.501 C35.002,149.328 34.329,150.001 33.502,150.001 L29.502,150.001 C29.226,150.001 29.002,149.777 29.002,149.501 L29.002,146.001 L27.002,146.001 L27.002,149.501 C27.002,149.777 26.778,150.001 26.502,150.001 L22.502,150.001 C21.675,150.001 21.002,149.328 21.002,148.501 L21.002,140.501 C21.002,140.225 21.226,140.001 21.502,140.001 C21.778,140.001 22.002,140.225 22.002,140.501 L22.002,148.501 C22.002,148.777 22.226,149.001 22.502,149.001 L26.002,149.001 L26.002,145.501 C26.002,145.225 26.226,145.001 26.502,145.001 L29.502,145.001 C29.778,145.001 30.002,145.225 30.002,145.501 L30.002,149.001 L33.502,149.001 C33.778,149.001 34.002,148.777 34.002,148.501 L34.002,140.501 C34.002,140.225 34.226,140.001 34.502,140.001 Z M28.003,130.938 C28.4,130.938 28.77,131.105 29.045,131.408 L32.01,134.685 L32.003,133.505 C32.002,133.372 32.055,133.244 32.148,133.15 C32.241,133.056 32.369,133.003 32.503,133.003 L34.503,133.003 C34.779,133.003 35.003,133.227 35.003,133.503 L35.003,137.995 L37.874,141.168 C38.059,141.373 38.043,141.689 37.839,141.874 C37.635,142.059 37.318,142.043 37.133,141.839 L34.133,138.523 C34.05,138.431 34.004,138.311 34.004,138.188 L34.004,134.004 L33.007,134.004 L33.018,135.99 C33.019,136.197 32.892,136.384 32.699,136.459 C32.506,136.534 32.286,136.482 32.147,136.328 L28.304,132.081 C28.222,131.99 28.115,131.94 28.004,131.94 C27.893,131.94 27.786,131.99 27.704,132.081 L18.875,141.839 C18.776,141.948 18.64,142.004 18.504,142.004 L18.502,142.001 C18.382,142.001 18.262,141.958 18.167,141.872 C17.962,141.687 17.946,141.371 18.132,141.166 L26.961,131.408 C27.235,131.105 27.605,130.938 28.003,130.938 Z" }) }) }) }) }));
7
+ return (_jsx("svg", { className: combineIconClasses(className), width: width ?? 16, height: height ?? 16, viewBox: "0 0 20 20", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": ariaHidden, children: _jsx("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd", children: _jsx("g", { transform: "translate(-276.000000, -1255.000000)", fill: color ?? "#6A737D", children: _jsx("g", { transform: "translate(258.000000, 1124.500000)", children: _jsx("path", { d: "M34.502,140.001 C34.778,140.001 35.002,140.225 35.002,140.501 L35.002,148.501 C35.002,149.328 34.329,150.001 33.502,150.001 L29.502,150.001 C29.226,150.001 29.002,149.777 29.002,149.501 L29.002,146.001 L27.002,146.001 L27.002,149.501 C27.002,149.777 26.778,150.001 26.502,150.001 L22.502,150.001 C21.675,150.001 21.002,149.328 21.002,148.501 L21.002,140.501 C21.002,140.225 21.226,140.001 21.502,140.001 C21.778,140.001 22.002,140.225 22.002,140.501 L22.002,148.501 C22.002,148.777 22.226,149.001 22.502,149.001 L26.002,149.001 L26.002,145.501 C26.002,145.225 26.226,145.001 26.502,145.001 L29.502,145.001 C29.778,145.001 30.002,145.225 30.002,145.501 L30.002,149.001 L33.502,149.001 C33.778,149.001 34.002,148.777 34.002,148.501 L34.002,140.501 C34.002,140.225 34.226,140.001 34.502,140.001 Z M28.003,130.938 C28.4,130.938 28.77,131.105 29.045,131.408 L32.01,134.685 L32.003,133.505 C32.002,133.372 32.055,133.244 32.148,133.15 C32.241,133.056 32.369,133.003 32.503,133.003 L34.503,133.003 C34.779,133.003 35.003,133.227 35.003,133.503 L35.003,137.995 L37.874,141.168 C38.059,141.373 38.043,141.689 37.839,141.874 C37.635,142.059 37.318,142.043 37.133,141.839 L34.133,138.523 C34.05,138.431 34.004,138.311 34.004,138.188 L34.004,134.004 L33.007,134.004 L33.018,135.99 C33.019,136.197 32.892,136.384 32.699,136.459 C32.506,136.534 32.286,136.482 32.147,136.328 L28.304,132.081 C28.222,131.99 28.115,131.94 28.004,131.94 C27.893,131.94 27.786,131.99 27.704,132.081 L18.875,141.839 C18.776,141.948 18.64,142.004 18.504,142.004 L18.502,142.001 C18.382,142.001 18.262,141.958 18.167,141.872 C17.962,141.687 17.946,141.371 18.132,141.166 L26.961,131.408 C27.235,131.105 27.605,130.938 28.003,130.938 Z" }) }) }) }) }));
8
8
  }
@@ -4,5 +4,5 @@ import { combineIconClasses } from "../utils.js";
4
4
  * @internal
5
5
  */
6
6
  export function LegendMenu({ color, className, width, height }) {
7
- return (_jsx("svg", { className: combineIconClasses(className), width: width ?? 9, height: height ?? 10, viewBox: "0 0 11 10", xmlns: "http://www.w3.org/2000/svg", children: _jsx("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd", children: _jsx("g", { className: "LegendMenuContent", transform: "translate(-5.500000, -6.000000)", fill: color ?? "#6D7680", children: _jsx("path", { d: "M7.5,14 L7.5,16 L5.5,16 L5.5,14 L7.5,14 Z M16.5,14 L16.5,16 L9.5,16 L9.5,14 L16.5,14 Z M7.5,10 L7.5,12 L5.5,12 L5.5,10 L7.5,10 Z M16.5,10 L16.5,12 L9.5,12 L9.5,10 L16.5,10 Z M7.5,6 L7.5,8 L5.5,8 L5.5,6 L7.5,6 Z M16.5,6 L16.5,8 L9.5,8 L9.5,6 L16.5,6 Z" }) }) }) }));
7
+ return (_jsx("svg", { className: combineIconClasses(className), width: width ?? 9, height: height ?? 10, viewBox: "0 0 11 10", xmlns: "http://www.w3.org/2000/svg", children: _jsx("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd", children: _jsx("g", { className: "LegendMenuContent", transform: "translate(-5.500000, -6.000000)", fill: color ?? "#6A737D", children: _jsx("path", { d: "M7.5,14 L7.5,16 L5.5,16 L5.5,14 L7.5,14 Z M16.5,14 L16.5,16 L9.5,16 L9.5,14 L16.5,14 Z M7.5,10 L7.5,12 L5.5,12 L5.5,10 L7.5,10 Z M16.5,10 L16.5,12 L9.5,12 L9.5,10 L16.5,10 Z M7.5,6 L7.5,8 L5.5,8 L5.5,6 L7.5,6 Z M16.5,6 L16.5,8 L9.5,8 L9.5,6 L16.5,6 Z" }) }) }) }));
8
8
  }
@@ -4,5 +4,5 @@ import { combineIconClasses } from "../utils.js";
4
4
  * @internal
5
5
  */
6
6
  export function Lock({ color, className, width, height }) {
7
- return (_jsx("svg", { className: combineIconClasses(className), width: width ?? 16, height: height ?? 16, viewBox: "0 0 16 16", version: "1.1", xmlns: "http://www.w3.org/2000/svg", children: _jsx("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd", children: _jsx("path", { d: "M11.9921875,14.796875 C12.3255208,14.796875 12.609375,14.6796875 12.84375,14.4453125 C13.078125,14.2109375 13.1953125,13.9270833 13.1953125,13.59375 L13.1953125,7.203125 C13.1953125,6.86979167 13.078125,6.5859375 12.84375,6.3515625 C12.609375,6.1171875 12.3255208,6 11.9921875,6 L11.6015625,6 L11.6015625,4.796875 C11.6015625,4.30729167 11.5078125,3.84375 11.3203125,3.40625 C11.1328125,2.96875 10.875,2.5859375 10.546875,2.2578125 C10.21875,1.9296875 9.8359375,1.671875 9.3984375,1.484375 C8.9609375,1.296875 8.4921875,1.203125 7.9921875,1.203125 C7.50260417,1.203125 7.0390625,1.296875 6.6015625,1.484375 C6.1640625,1.671875 5.78125,1.9296875 5.453125,2.2578125 C5.125,2.5859375 4.8671875,2.96875 4.6796875,3.40625 C4.4921875,3.84375 4.3984375,4.30729167 4.3984375,4.796875 L4.3984375,6 L3.9921875,6 C3.66927083,6 3.390625,6.1171875 3.15625,6.3515625 C2.921875,6.5859375 2.8046875,6.86979167 2.8046875,7.203125 L2.8046875,13.59375 C2.8046875,13.9270833 2.921875,14.2109375 3.15625,14.4453125 C3.390625,14.6796875 3.66927083,14.796875 3.9921875,14.796875 L11.9921875,14.796875 Z M10.8046875,6 L5.1953125,6 L5.1953125,4.796875 C5.1953125,4.02604167 5.46875,3.3671875 6.015625,2.8203125 C6.5625,2.2734375 7.22135417,2 7.9921875,2 C8.7734375,2 9.4375,2.2734375 9.984375,2.8203125 C10.53125,3.3671875 10.8046875,4.02604167 10.8046875,4.796875 L10.8046875,6 Z M11.9921875,14 L3.9921875,14 C3.88802083,14 3.796875,13.9609375 3.71875,13.8828125 C3.640625,13.8046875 3.6015625,13.7083333 3.6015625,13.59375 L3.6015625,7.203125 C3.6015625,7.08854167 3.640625,6.9921875 3.71875,6.9140625 C3.796875,6.8359375 3.88802083,6.796875 3.9921875,6.796875 L11.9921875,6.796875 C12.1067708,6.796875 12.203125,6.8359375 12.28125,6.9140625 C12.359375,6.9921875 12.3984375,7.08854167 12.3984375,7.203125 L12.3984375,13.59375 C12.3984375,13.7083333 12.359375,13.8046875 12.28125,13.8828125 C12.203125,13.9609375 12.1067708,14 11.9921875,14 Z", fill: color ?? "#6D7680", fillRule: "nonzero" }) }) }));
7
+ return (_jsx("svg", { className: combineIconClasses(className), width: width ?? 16, height: height ?? 16, viewBox: "0 0 16 16", version: "1.1", xmlns: "http://www.w3.org/2000/svg", children: _jsx("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd", children: _jsx("path", { d: "M11.9921875,14.796875 C12.3255208,14.796875 12.609375,14.6796875 12.84375,14.4453125 C13.078125,14.2109375 13.1953125,13.9270833 13.1953125,13.59375 L13.1953125,7.203125 C13.1953125,6.86979167 13.078125,6.5859375 12.84375,6.3515625 C12.609375,6.1171875 12.3255208,6 11.9921875,6 L11.6015625,6 L11.6015625,4.796875 C11.6015625,4.30729167 11.5078125,3.84375 11.3203125,3.40625 C11.1328125,2.96875 10.875,2.5859375 10.546875,2.2578125 C10.21875,1.9296875 9.8359375,1.671875 9.3984375,1.484375 C8.9609375,1.296875 8.4921875,1.203125 7.9921875,1.203125 C7.50260417,1.203125 7.0390625,1.296875 6.6015625,1.484375 C6.1640625,1.671875 5.78125,1.9296875 5.453125,2.2578125 C5.125,2.5859375 4.8671875,2.96875 4.6796875,3.40625 C4.4921875,3.84375 4.3984375,4.30729167 4.3984375,4.796875 L4.3984375,6 L3.9921875,6 C3.66927083,6 3.390625,6.1171875 3.15625,6.3515625 C2.921875,6.5859375 2.8046875,6.86979167 2.8046875,7.203125 L2.8046875,13.59375 C2.8046875,13.9270833 2.921875,14.2109375 3.15625,14.4453125 C3.390625,14.6796875 3.66927083,14.796875 3.9921875,14.796875 L11.9921875,14.796875 Z M10.8046875,6 L5.1953125,6 L5.1953125,4.796875 C5.1953125,4.02604167 5.46875,3.3671875 6.015625,2.8203125 C6.5625,2.2734375 7.22135417,2 7.9921875,2 C8.7734375,2 9.4375,2.2734375 9.984375,2.8203125 C10.53125,3.3671875 10.8046875,4.02604167 10.8046875,4.796875 L10.8046875,6 Z M11.9921875,14 L3.9921875,14 C3.88802083,14 3.796875,13.9609375 3.71875,13.8828125 C3.640625,13.8046875 3.6015625,13.7083333 3.6015625,13.59375 L3.6015625,7.203125 C3.6015625,7.08854167 3.640625,6.9921875 3.71875,6.9140625 C3.796875,6.8359375 3.88802083,6.796875 3.9921875,6.796875 L11.9921875,6.796875 C12.1067708,6.796875 12.203125,6.8359375 12.28125,6.9140625 C12.359375,6.9921875 12.3984375,7.08854167 12.3984375,7.203125 L12.3984375,13.59375 C12.3984375,13.7083333 12.359375,13.8046875 12.28125,13.8828125 C12.203125,13.9609375 12.1067708,14 11.9921875,14 Z", fill: color ?? "#6A737D", fillRule: "nonzero" }) }) }));
8
8
  }
@@ -4,5 +4,5 @@ import { combineIconClasses } from "../utils.js";
4
4
  * @internal
5
5
  */
6
6
  export function Minimize({ color, className, width = 18, height = 18 }) {
7
- return (_jsx("svg", { className: combineIconClasses(className), width: width, height: height, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M15.6259 13.6016H2.36691C2.26619 13.6016 2.17986 13.5625 2.10791 13.4844C2.03597 13.4062 2 13.3125 2 13.2031C2 13.0885 2.03597 12.9922 2.10791 12.9141C2.17986 12.8359 2.26619 12.7969 2.36691 12.7969H15.6259C15.7314 12.7969 15.8201 12.8359 15.8921 12.9141C15.964 12.9922 16 13.0885 16 13.2031C16 13.3125 15.964 13.4062 15.8921 13.4844C15.8201 13.5625 15.7314 13.6016 15.6259 13.6016Z", fill: color ?? "#6D7680" }) }));
7
+ return (_jsx("svg", { className: combineIconClasses(className), width: width, height: height, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M15.6259 13.6016H2.36691C2.26619 13.6016 2.17986 13.5625 2.10791 13.4844C2.03597 13.4062 2 13.3125 2 13.2031C2 13.0885 2.03597 12.9922 2.10791 12.9141C2.17986 12.8359 2.26619 12.7969 2.36691 12.7969H15.6259C15.7314 12.7969 15.8201 12.8359 15.8921 12.9141C15.964 12.9922 16 13.0885 16 13.2031C16 13.3125 15.964 13.4062 15.8921 13.4844C15.8201 13.5625 15.7314 13.6016 15.6259 13.6016Z", fill: color ?? "#6A737D" }) }));
8
8
  }
@@ -4,5 +4,5 @@ import { combineIconClasses } from "../utils.js";
4
4
  * @internal
5
5
  */
6
6
  export function Pdf({ color, className, width, height }) {
7
- return (_jsx("svg", { className: combineIconClasses(className), width: width ?? 16, height: height ?? 16, viewBox: "0 0 11 14", version: "1.1", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", children: _jsx("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd", children: _jsx("path", { d: "M8.40071618,8.75 C8.51009172,8.85937555 8.56477868,9.00065018 8.56477868,9.17382812 C8.56477868,9.34700607 8.51464897,9.4973952 8.41438805,9.625 C8.31412713,9.7526048 8.15918077,9.81640625 7.9495443,9.81640625 C7.73990784,9.81640625 7.49381655,9.77539104 7.21126305,9.69335937 C6.92870956,9.61132771 6.65983204,9.49739656 6.40462243,9.3515625 C6.07649579,9.40625027 5.56608422,9.55208215 4.87337243,9.7890625 L4.54524743,9.8984375 C4.21712079,10.4453152 3.90722805,10.8463529 3.61555993,11.1015625 C3.37857958,11.3020843 3.16438901,11.3932293 2.9729818,11.375 C2.7815746,11.3567707 2.64029997,11.2792976 2.54915368,11.1425781 C2.45800739,11.0058587 2.42154942,10.8736986 2.43977868,10.7460937 C2.53092497,10.3450501 2.99576407,9.92578344 3.83430993,9.48828125 C4.12597805,8.97786203 4.45409977,8.30338961 4.81868493,7.46484375 C4.58170458,6.58983937 4.51790313,5.9791684 4.62727868,5.6328125 C4.66373719,5.46874918 4.7731111,5.35481803 4.95540368,5.29101562 C5.13769626,5.22721322 5.31087161,5.23632771 5.47493493,5.31835937 C5.63899825,5.40039104 5.73925766,5.55989465 5.77571618,5.796875 C5.86686247,6.05208461 5.82129001,6.54426719 5.63899743,7.2734375 L5.63899743,7.30078125 C5.85774852,7.8841175 6.19498473,8.31249863 6.65071618,8.5859375 C7.58040833,8.4583327 8.16373583,8.51301965 8.40071618,8.75 Z M2.98665368,10.8828125 C2.98665368,10.9010418 3.02311165,10.8828128 3.09602868,10.828125 C3.16894571,10.7734372 3.26009063,10.6822923 3.36946618,10.5546875 C3.51530024,10.3906242 3.67024661,10.1809909 3.83430993,9.92578125 L3.72493493,10.0078125 C3.305662,10.3723977 3.05957071,10.6640614 2.98665368,10.8828125 Z M5.22884118,5.66015625 C5.19238266,5.66015625 5.17415368,5.80598813 5.17415368,6.09765625 C5.17415368,6.38932438 5.21061165,6.61718668 5.28352868,6.78125 C5.33821645,6.6536452 5.36555993,6.43489738 5.36555993,6.125 C5.36555993,5.81510262 5.31998747,5.66015625 5.22884118,5.66015625 Z M4.54524743,9.40625 L4.87337243,9.26953125 C5.36556239,9.06900941 5.75748555,8.94140652 6.04915368,8.88671875 C5.72102704,8.6497384 5.44759227,8.32161668 5.22884118,7.90234375 C4.99186083,8.54036777 4.76399852,9.04166484 4.54524743,9.40625 Z M8.15462243,9.26953125 C8.19108094,9.25130199 8.1865237,9.21940127 8.14095055,9.17382812 C8.09537741,9.12825498 7.99056075,9.09179701 7.82649743,9.06445312 C7.66243411,9.03710924 7.4345718,9.03255199 7.14290368,9.05078125 C7.39811329,9.1601568 7.6168611,9.23307273 7.79915368,9.26953125 C7.92675848,9.30598977 8.0179034,9.31510426 8.07259118,9.296875 C8.10904969,9.296875 8.13639317,9.28776051 8.15462243,9.26953125 Z M6.6,0.80050529 C6.59528501,0.800169545 6.59054446,0.8 6.58578644,0.8 L1,0.8 C0.88954305,0.8 0.8,0.88954305 0.8,1 L0.8,13 C0.8,13.1104569 0.88954305,13.2 1,13.2 L10,13.2 C10.1104569,13.2 10.2,13.1104569 10.2,13 L10.2,4.41421356 C10.2,4.40945554 10.1998305,4.40471499 10.1994947,4.4 L8,4.4 C7.22680135,4.4 6.6,3.77319865 6.6,3 L6.6,0.800502936 Z M7.4,1.53137085 L7.4,3 C7.4,3.33137085 7.66862915,3.6 8,3.6 L9.46862915,3.6 L7.4,1.53137085 Z M1,0 L6.58578644,0 C6.85100293,0 7.10535684,0.10535684 7.29289322,0.292893219 L10.7071068,3.70710678 C10.8946432,3.89464316 11,4.14899707 11,4.41421356 L11,13 C11,13.5522847 10.5522847,14 10,14 L1,14 C0.44771525,14 0,13.5522847 0,13 L0,1 C0,0.44771525 0.44771525,0 1,0 Z", fill: color ?? "#6D7680", fillRule: "nonzero" }) }) }));
7
+ return (_jsx("svg", { className: combineIconClasses(className), width: width ?? 16, height: height ?? 16, viewBox: "0 0 11 14", version: "1.1", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", children: _jsx("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd", children: _jsx("path", { d: "M8.40071618,8.75 C8.51009172,8.85937555 8.56477868,9.00065018 8.56477868,9.17382812 C8.56477868,9.34700607 8.51464897,9.4973952 8.41438805,9.625 C8.31412713,9.7526048 8.15918077,9.81640625 7.9495443,9.81640625 C7.73990784,9.81640625 7.49381655,9.77539104 7.21126305,9.69335937 C6.92870956,9.61132771 6.65983204,9.49739656 6.40462243,9.3515625 C6.07649579,9.40625027 5.56608422,9.55208215 4.87337243,9.7890625 L4.54524743,9.8984375 C4.21712079,10.4453152 3.90722805,10.8463529 3.61555993,11.1015625 C3.37857958,11.3020843 3.16438901,11.3932293 2.9729818,11.375 C2.7815746,11.3567707 2.64029997,11.2792976 2.54915368,11.1425781 C2.45800739,11.0058587 2.42154942,10.8736986 2.43977868,10.7460937 C2.53092497,10.3450501 2.99576407,9.92578344 3.83430993,9.48828125 C4.12597805,8.97786203 4.45409977,8.30338961 4.81868493,7.46484375 C4.58170458,6.58983937 4.51790313,5.9791684 4.62727868,5.6328125 C4.66373719,5.46874918 4.7731111,5.35481803 4.95540368,5.29101562 C5.13769626,5.22721322 5.31087161,5.23632771 5.47493493,5.31835937 C5.63899825,5.40039104 5.73925766,5.55989465 5.77571618,5.796875 C5.86686247,6.05208461 5.82129001,6.54426719 5.63899743,7.2734375 L5.63899743,7.30078125 C5.85774852,7.8841175 6.19498473,8.31249863 6.65071618,8.5859375 C7.58040833,8.4583327 8.16373583,8.51301965 8.40071618,8.75 Z M2.98665368,10.8828125 C2.98665368,10.9010418 3.02311165,10.8828128 3.09602868,10.828125 C3.16894571,10.7734372 3.26009063,10.6822923 3.36946618,10.5546875 C3.51530024,10.3906242 3.67024661,10.1809909 3.83430993,9.92578125 L3.72493493,10.0078125 C3.305662,10.3723977 3.05957071,10.6640614 2.98665368,10.8828125 Z M5.22884118,5.66015625 C5.19238266,5.66015625 5.17415368,5.80598813 5.17415368,6.09765625 C5.17415368,6.38932438 5.21061165,6.61718668 5.28352868,6.78125 C5.33821645,6.6536452 5.36555993,6.43489738 5.36555993,6.125 C5.36555993,5.81510262 5.31998747,5.66015625 5.22884118,5.66015625 Z M4.54524743,9.40625 L4.87337243,9.26953125 C5.36556239,9.06900941 5.75748555,8.94140652 6.04915368,8.88671875 C5.72102704,8.6497384 5.44759227,8.32161668 5.22884118,7.90234375 C4.99186083,8.54036777 4.76399852,9.04166484 4.54524743,9.40625 Z M8.15462243,9.26953125 C8.19108094,9.25130199 8.1865237,9.21940127 8.14095055,9.17382812 C8.09537741,9.12825498 7.99056075,9.09179701 7.82649743,9.06445312 C7.66243411,9.03710924 7.4345718,9.03255199 7.14290368,9.05078125 C7.39811329,9.1601568 7.6168611,9.23307273 7.79915368,9.26953125 C7.92675848,9.30598977 8.0179034,9.31510426 8.07259118,9.296875 C8.10904969,9.296875 8.13639317,9.28776051 8.15462243,9.26953125 Z M6.6,0.80050529 C6.59528501,0.800169545 6.59054446,0.8 6.58578644,0.8 L1,0.8 C0.88954305,0.8 0.8,0.88954305 0.8,1 L0.8,13 C0.8,13.1104569 0.88954305,13.2 1,13.2 L10,13.2 C10.1104569,13.2 10.2,13.1104569 10.2,13 L10.2,4.41421356 C10.2,4.40945554 10.1998305,4.40471499 10.1994947,4.4 L8,4.4 C7.22680135,4.4 6.6,3.77319865 6.6,3 L6.6,0.800502936 Z M7.4,1.53137085 L7.4,3 C7.4,3.33137085 7.66862915,3.6 8,3.6 L9.46862915,3.6 L7.4,1.53137085 Z M1,0 L6.58578644,0 C6.85100293,0 7.10535684,0.10535684 7.29289322,0.292893219 L10.7071068,3.70710678 C10.8946432,3.89464316 11,4.14899707 11,4.41421356 L11,13 C11,13.5522847 10.5522847,14 10,14 L1,14 C0.44771525,14 0,13.5522847 0,13 L0,1 C0,0.44771525 0.44771525,0 1,0 Z", fill: color ?? "#6A737D", fillRule: "nonzero" }) }) }));
8
8
  }
@@ -3,6 +3,6 @@ import { combineIconClasses } from "../utils.js";
3
3
  /**
4
4
  * @internal
5
5
  */
6
- export function Trash({ color = "#6D7680", className, width = 15, height = 20 }) {
6
+ export function Trash({ color = "#6A737D", className, width = 15, height = 20 }) {
7
7
  return (_jsx("svg", { className: combineIconClasses(className), width: width, height: height, viewBox: "0 0 15 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M13.498 1.99805C13.9147 1.99805 14.2695 2.14453 14.5625 2.4375C14.8555 2.73047 15.002 3.08529 15.002 3.50195V4.49805C15.002 4.82357 14.9076 5.11654 14.7188 5.37695C14.5299 5.63086 14.2891 5.8099 13.9961 5.91406V18.502C13.9961 18.9121 13.8496 19.2637 13.5566 19.5566C13.2637 19.8496 12.9121 19.9961 12.502 19.9961H2.50195C2.08529 19.9961 1.73047 19.8496 1.4375 19.5566C1.14453 19.2637 0.998047 18.9121 0.998047 18.502V5.91406C0.711589 5.8099 0.473958 5.63086 0.285156 5.37695C0.0963542 5.11654 0.00195312 4.82357 0.00195312 4.49805V3.50195C0.00195312 3.08529 0.148438 2.73047 0.441406 2.4375C0.734375 2.14453 1.08594 1.99805 1.49609 1.99805H5.00195V1.5C5.00195 1.08333 5.14844 0.728516 5.44141 0.435547C5.73438 0.142578 6.08594 -0.00390625 6.49609 -0.00390625H8.49805C8.91471 -0.00390625 9.26953 0.142578 9.5625 0.435547C9.85547 0.728516 10.002 1.08333 10.002 1.5V1.99805H13.498ZM5.99805 1.5V1.99805H8.99609V1.5C8.99609 1.36328 8.94727 1.24609 8.84961 1.14844C8.75195 1.05078 8.63477 1.00195 8.49805 1.00195H6.49609C6.35938 1.00195 6.24219 1.05078 6.14453 1.14844C6.04688 1.24609 5.99805 1.36328 5.99805 1.5ZM12.502 19C12.6387 19 12.7559 18.9512 12.8535 18.8535C12.9512 18.7559 13 18.6387 13 18.502V6.00195H2.00391V18.502C2.00391 18.6387 2.05273 18.7559 2.15039 18.8535C2.24805 18.9512 2.36523 19 2.50195 19H12.502ZM13.9961 4.49805V3.50195C13.9961 3.36523 13.9473 3.24805 13.8496 3.15039C13.752 3.05273 13.6348 3.00391 13.498 3.00391H1.49609C1.35938 3.00391 1.24219 3.05273 1.14453 3.15039C1.04688 3.24805 0.998047 3.36523 0.998047 3.50195V4.49805C0.998047 4.63477 1.04688 4.75195 1.14453 4.84961C1.24219 4.94727 1.35938 4.99609 1.49609 4.99609H13.498C13.6348 4.99609 13.752 4.94727 13.8496 4.84961C13.9473 4.75195 13.9961 4.63477 13.9961 4.49805ZM10.5 6.99805C10.6367 6.99805 10.7539 7.04688 10.8516 7.14453C10.9492 7.24219 10.998 7.35938 10.998 7.49609V17.4961C10.998 17.6393 10.9492 17.7598 10.8516 17.8574C10.7539 17.9551 10.6367 18.0039 10.5 18.0039C10.3633 18.0039 10.2461 17.9551 10.1484 17.8574C10.0508 17.7598 10.002 17.6393 10.002 17.4961V7.49609C10.002 7.35938 10.0508 7.24219 10.1484 7.14453C10.2461 7.04688 10.3633 6.99805 10.5 6.99805ZM7.50195 6.99805C7.63867 6.99805 7.75586 7.04688 7.85352 7.14453C7.95117 7.24219 8 7.35938 8 7.49609V17.4961C8 17.6393 7.95117 17.7598 7.85352 17.8574C7.75586 17.9551 7.63867 18.0039 7.50195 18.0039C7.36523 18.0039 7.24805 17.9551 7.15039 17.8574C7.05273 17.7598 7.00391 17.6393 7.00391 17.4961V7.49609C7.00391 7.35938 7.05273 7.24219 7.15039 7.14453C7.24805 7.04688 7.36523 6.99805 7.50195 6.99805ZM4.50391 6.99805C4.64062 6.99805 4.75781 7.04688 4.85547 7.14453C4.95312 7.24219 5.00195 7.35938 5.00195 7.49609V17.4961C5.00195 17.6393 4.95312 17.7598 4.85547 17.8574C4.75781 17.9551 4.64062 18.0039 4.50391 18.0039C4.36068 18.0039 4.24023 17.9551 4.14258 17.8574C4.04492 17.7598 3.99609 17.6393 3.99609 17.4961V7.49609C3.99609 7.35938 4.04492 7.24219 4.14258 7.14453C4.24023 7.04688 4.36068 6.99805 4.50391 6.99805Z", fill: color }) }));
8
8
  }
@@ -18,6 +18,8 @@ export declare class Overlay<T = HTMLElement> extends Component<IOverlayProps<T>
18
18
  static contextType: import("react").Context<import("./OverlayController.js").OverlayController | undefined>;
19
19
  context: ContextType<typeof OverlayContext>;
20
20
  private observer;
21
+ private lockedAlignPoints;
22
+ private bottomFromTarget;
21
23
  constructor(props: IOverlayProps<T>);
22
24
  UNSAFE_componentWillMount(): void;
23
25
  componentDidMount(): void;
@@ -26,7 +28,9 @@ export declare class Overlay<T = HTMLElement> extends Component<IOverlayProps<T>
26
28
  componentDidUpdate(): void;
27
29
  componentWillUnmount(): void;
28
30
  render(): import("react/jsx-runtime").JSX.Element;
31
+ private realign;
29
32
  align: () => void;
33
+ private keepBottomEdge;
30
34
  private calculateConstrainedAlignment;
31
35
  private clearAlignmentTimeout;
32
36
  private alignWithTimeout;
@@ -1 +1 @@
1
- {"version":3,"file":"Overlay.d.ts","sourceRoot":"","sources":["../../src/Overlay/Overlay.tsx"],"names":[],"mappings":"AAEA,OAAO,E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 import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { Component, createRef, } from "react";
4
4
  import cx from "classnames";
5
5
  import { bindAll, debounce, isEqual, pick } from "lodash-es";
6
+ import { flushSync } from "react-dom";
6
7
  import isReactEqual from "react-fast-compare";
7
8
  import { Portal } from "react-portal";
8
9
  import { v4 as uuid } from "uuid";
@@ -88,7 +89,7 @@ export class Overlay extends Component {
88
89
  overlayRef = createRef();
89
90
  containerRef = createRef();
90
91
  resizeHandler = debounce(() => {
91
- this.align();
92
+ this.realign();
92
93
  }, 100);
93
94
  portalNode = null;
94
95
  isComponentMounted;
@@ -96,6 +97,8 @@ export class Overlay extends Component {
96
97
  alignmentTimeoutId;
97
98
  static contextType = OverlayContext;
98
99
  observer;
100
+ lockedAlignPoints;
101
+ bottomFromTarget = 0;
99
102
  constructor(props) {
100
103
  super(props);
101
104
  this.state = {
@@ -160,8 +163,12 @@ export class Overlay extends Component {
160
163
  render() {
161
164
  // Need stop propagation of events from Portal thats new behavior of react 16
162
165
  // https://github.com/facebook/react/issues/11387
163
- return (_jsxs("span", { "data-testid": "portal-scroll-anchor", className: "s-portal-scroll-anchor", ref: this.containerRef, style: { display: "none" }, children: [_jsx(OverlayParentScrollAligner, { alignOnParentScroll: this.props.alignOnParentScroll, closeOnAnchorHidden: this.props.closeOnAnchorHidden, anchorKey: this.props.alignTo, getAnchor: this.getAlignAnchor, onParentScroll: this.align, onAnchorHidden: this.closeOnAnchorHidden }), _jsx(Portal, { node: this.portalNode, children: _jsxs("div", { id: this.id, className: cx(this.props.containerClassName, OVERLAY_CONTENT_CLASS), onClick: this.props.onClick, onMouseOver: this.props.onMouseOver, onMouseUp: this.props.onMouseUp, children: [this.renderMask(), _jsx("div", { ref: this.overlayRef, style: this.getOverlayStyles(), className: this.getOverlayClasses(), children: _jsx(OverlayZIndexContext.Provider, { value: this.getZIndex() ?? FALLBACK_OVERLAY_Z_INDEX, children: this.props.children }) })] }) })] }));
166
+ return (_jsxs("span", { "data-testid": "portal-scroll-anchor", className: "s-portal-scroll-anchor", ref: this.containerRef, style: { display: "none" }, children: [_jsx(OverlayParentScrollAligner, { alignOnParentScroll: this.props.alignOnParentScroll, closeOnAnchorHidden: this.props.closeOnAnchorHidden, anchorKey: this.props.alignTo, getAnchor: this.getAlignAnchor, onParentScroll: this.realign, onAnchorHidden: this.closeOnAnchorHidden }), _jsx(Portal, { node: this.portalNode, children: _jsxs("div", { id: this.id, className: cx(this.props.containerClassName, OVERLAY_CONTENT_CLASS), onClick: this.props.onClick, onMouseOver: this.props.onMouseOver, onMouseUp: this.props.onMouseUp, children: [this.renderMask(), _jsx("div", { ref: this.overlayRef, style: this.getOverlayStyles(), className: this.getOverlayClasses(), children: _jsx(OverlayZIndexContext.Provider, { value: this.getZIndex() ?? FALLBACK_OVERLAY_Z_INDEX, children: this.props.children }) })] }) })] }));
164
167
  }
168
+ realign = () => {
169
+ this.lockedAlignPoints = undefined;
170
+ this.align();
171
+ };
165
172
  align = () => {
166
173
  const { alignPoints, alignTo, positionType } = this.props;
167
174
  const overlay = this.overlayRef.current;
@@ -169,17 +176,22 @@ export class Overlay extends Component {
169
176
  return;
170
177
  }
171
178
  const isSameAsTarget = this.isSameAsTargetPosition(positionType ?? "absolute");
179
+ const targetRegion = elementRegion(alignTo, isSameAsTarget);
180
+ const selfRegion = elementRegion(overlay);
172
181
  const optimalAlign = getOptimalAlignment({
173
- targetRegion: elementRegion(alignTo, isSameAsTarget),
174
- selfRegion: elementRegion(overlay),
175
- alignPoints,
182
+ targetRegion,
183
+ selfRegion,
184
+ alignPoints: this.lockedAlignPoints ?? alignPoints,
176
185
  ignoreScrollOffsets: isSameAsTarget,
177
186
  });
187
+ const alignment = this.props.keepBottomOnResize
188
+ ? this.keepBottomEdge(optimalAlign.alignment, selfRegion.height, targetRegion.top, isSameAsTarget ? isFixedPosition(alignTo) : positionType === "fixed")
189
+ : optimalAlign.alignment;
178
190
  // process also if visiblePart is 1 to get dimensions of the overlay
179
191
  const shouldApplyConstraints = this.props.ensureVisibility && (optimalAlign.visiblePart ?? 0) > 0;
180
192
  const constrainedAlignment = shouldApplyConstraints
181
- ? this.calculateConstrainedAlignment(optimalAlign.alignment, overlay, positionType === "fixed")
182
- : optimalAlign.alignment;
193
+ ? this.calculateConstrainedAlignment(alignment, overlay, positionType === "fixed")
194
+ : alignment;
183
195
  const visiblePartChanged = this.hasVisiblePartChanged(optimalAlign.visiblePart ?? 0);
184
196
  const alignmentChanged = alignExceedsThreshold(this.state.alignment, constrainedAlignment);
185
197
  if (alignmentChanged || visiblePartChanged) {
@@ -187,15 +199,25 @@ export class Overlay extends Component {
187
199
  alignment: alignmentChanged ? constrainedAlignment : prevState.alignment,
188
200
  visiblePart: visiblePartChanged ? (optimalAlign.visiblePart ?? 0) : prevState.visiblePart,
189
201
  }), () => {
190
- const alignmentToReport = alignmentChanged
191
- ? constrainedAlignment
192
- : optimalAlign.alignment;
202
+ const alignmentToReport = alignmentChanged ? constrainedAlignment : alignment;
193
203
  this.props.onAlign?.(alignmentToReport);
194
204
  });
195
205
  }
196
206
  else {
197
- this.props.onAlign?.(optimalAlign.alignment);
207
+ this.props.onAlign?.(alignment);
208
+ }
209
+ };
210
+ keepBottomEdge = (alignment, height, targetTop, ignoreScrollOffsets) => {
211
+ if (!this.lockedAlignPoints) {
212
+ this.lockedAlignPoints = this.props.alignPoints?.filter((point) => point.align === alignment.align);
213
+ this.bottomFromTarget = alignment.top + height - targetTop;
198
214
  }
215
+ const viewportTop = ignoreScrollOffsets
216
+ ? 0
217
+ : window.visualViewport?.pageTop || window.scrollY || document.documentElement.scrollTop;
218
+ const viewportHeight = window.visualViewport?.height || window.innerHeight;
219
+ const top = Math.max(viewportTop, Math.min(targetTop + this.bottomFromTarget - height, viewportTop + viewportHeight - height));
220
+ return { ...alignment, top };
199
221
  };
200
222
  calculateConstrainedAlignment = (alignment, overlay, ignoreScrollOffsets) => {
201
223
  const overlayRegion = elementRegion(overlay);
@@ -453,7 +475,12 @@ export class Overlay extends Component {
453
475
  const heightDiffersByThreshold = Math.abs(this.state.observedHeight - newHeightCandidate) / this.state.observedHeight >
454
476
  (this.props.resizeObserverThreshold ?? 1);
455
477
  if (heightDiffersByThreshold) {
456
- this.resizeHandler();
478
+ if (this.props.keepBottomOnResize) {
479
+ flushSync(this.align);
480
+ }
481
+ else {
482
+ this.resizeHandler();
483
+ }
457
484
  this.setState({ observedHeight: newHeightCandidate });
458
485
  }
459
486
  });
@@ -34,6 +34,12 @@ export interface IOverlayProps<T> {
34
34
  * changes by 10% of its height.
35
35
  */
36
36
  resizeObserverThreshold?: number;
37
+ /**
38
+ * Keeps the align point chosen on open. When the overlay height changes, its bottom edge stays in place
39
+ * and the overlay moves only to stay within the viewport, so a control clicked near the bottom stays under
40
+ * the pointer. Requires resizeObserverThreshold lower than 1. Not meant to be combined with ensureVisibility.
41
+ */
42
+ keepBottomOnResize?: boolean;
37
43
  /**
38
44
  * Array of refs where user clicks should be ignored
39
45
  * and overlay should not be closed by clicking on them
@@ -1 +1 @@
1
- {"version":3,"file":"typings.d.ts","sourceRoot":"","sources":["../../src/Overlay/typings.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAExD,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjF,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAE7D;;GAEG;AACH,MAAM,WAAW,aAAa,CAAC,CAAC;IAC5B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,WAAW,EAAE,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,GAAG,WAAW,GAAG,IAAI,CAAC;IACtC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,g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AAC;CAC1B"}
@@ -1 +1 @@
1
- <svg width="18" height="18" xmlns="http://www.w3.org/2000/svg"><defs><filter x="-4.3%" y="-14.8%" width="108.5%" height="129.6%" filterUnits="objectBoundingBox" id="a"><feOffset dy="1" in="SourceAlpha" result="shadowOffsetOuter1"/><feGaussianBlur stdDeviation=".5" in="shadowOffsetOuter1" result="shadowBlurOuter1"/><feColorMatrix values="0 0 0 0 0.0784313725 0 0 0 0 0.223529412 0 0 0 0 0.364705882 0 0 0 0.1 0" in="shadowBlurOuter1" result="shadowMatrixOuter1"/><feMerge><feMergeNode in="shadowMatrixOuter1"/><feMergeNode in="SourceGraphic"/></feMerge></filter></defs><g transform="translate(-10 -5)" filter="url(#a)" fill="#6D7680"><path d="M18.602 20.203c.49 0 .97-.013 1.441-.039.471-.026.927-.065 1.367-.117.44-.052.86-.116 1.262-.192.4-.075.776-.16 1.125-.253.349-.1.663-.206.941-.32a4.27 4.27 0 0 0 .715-.368 1.9 1.9 0 0 0 .563-.523c.125-.188.187-.386.187-.594V8.203c0-.208-.062-.406-.187-.594a1.898 1.898 0 0 0-.563-.523 4.233 4.233 0 0 0-.715-.367 8.792 8.792 0 0 0-.941-.32 15.15 15.15 0 0 0-1.125-.254c-.401-.076-.822-.14-1.262-.192-.44-.052-.896-.091-1.367-.117a26.13 26.13 0 0 0-2.883 0c-.471.026-.928.065-1.37.117a18.57 18.57 0 0 0-1.267.192c-.4.075-.776.16-1.125.253a8.516 8.516 0 0 0-.937.32 4.286 4.286 0 0 0-.711.368 1.9 1.9 0 0 0-.563.523 1.053 1.053 0 0 0-.187.594v9.594c0 .208.063.406.188.594.124.187.312.362.562.523.198.13.435.253.71.367.277.115.59.222.938.32.35.094.724.179 1.125.254.401.076.823.14 1.266.192.443.052.9.091 1.371.117.472.026.952.04 1.442.04Zm0-10.406c-.474 0-.938-.012-1.391-.035a20.254 20.254 0 0 1-2.523-.29c-.386-.07-.743-.152-1.07-.245-.72-.198-1.203-.396-1.45-.594-.247-.198-.371-.341-.371-.43 0-.094.124-.24.371-.437.247-.198.73-.396 1.45-.594.327-.094.684-.176 1.07-.246a19.24 19.24 0 0 1 2.523-.29 26.926 26.926 0 0 1 2.777 0 20.256 20.256 0 0 1 2.524.29c.383.07.74.152 1.074.246.719.198 1.2.396 1.445.594.245.198.367.343.367.437 0 .089-.122.232-.367.43-.245.198-.726.396-1.445.594a11.94 11.94 0 0 1-1.074.246 19.437 19.437 0 0 1-2.524.289c-.455.023-.918.035-1.386.035Zm0 3.203a24.24 24.24 0 0 1-2.704-.148 17.552 17.552 0 0 1-1.21-.176c-.386-.07-.743-.153-1.07-.246-.72-.198-1.203-.396-1.45-.594-.247-.198-.371-.344-.371-.438V9.344c.198.125.43.242.7.351.267.11.568.211.901.305.35.099.724.185 1.125.258a22.237 22.237 0 0 0 2.637.305 26.13 26.13 0 0 0 2.883 0 21.934 21.934 0 0 0 2.629-.305c.4-.073.776-.159 1.125-.258.338-.094.64-.195.906-.305.266-.11.498-.226.695-.351v2.054c0 .094-.122.24-.367.438s-.726.396-1.445.594a11.94 11.94 0 0 1-1.074.246c-.383.07-.785.129-1.207.176a24.678 24.678 0 0 1-2.703.148Zm0 3.203c-.474 0-.938-.013-1.391-.039-.453-.026-.89-.064-1.313-.113a19.24 19.24 0 0 1-1.21-.18c-.386-.07-.743-.152-1.07-.246-.72-.198-1.203-.396-1.45-.594-.247-.198-.371-.34-.371-.43v-2.054c.198.125.43.242.7.351.267.11.568.211.901.305.35.094.724.179 1.125.254.401.076.823.138 1.266.188a26.13 26.13 0 0 0 5.621 0c.44-.05.86-.112 1.262-.188.4-.075.776-.16 1.125-.254.338-.094.64-.195.906-.305.266-.109.498-.226.695-.351v2.055c0 .088-.122.231-.367.43-.245.197-.726.395-1.445.593a11.94 11.94 0 0 1-1.074.246c-.383.07-.785.13-1.207.18a24.305 24.305 0 0 1-2.703.152Zm0 3.195c-.474 0-.938-.011-1.391-.035a20.254 20.254 0 0 1-2.523-.289c-.386-.07-.743-.152-1.07-.246-.72-.198-1.203-.396-1.45-.594-.247-.198-.371-.343-.371-.437V15.75c.198.12.43.234.7.344.267.11.568.21.901.304.35.1.724.185 1.125.258.401.073.823.136 1.266.188.443.052.9.09 1.371.117a26.13 26.13 0 0 0 2.883 0 21.934 21.934 0 0 0 2.629-.305c.4-.073.776-.159 1.125-.258.338-.093.64-.195.906-.304a5.09 5.09 0 0 0 .695-.344v2.047c0 .094-.122.24-.367.437-.245.198-.726.396-1.445.594a11.94 11.94 0 0 1-1.074.246 19.437 19.437 0 0 1-2.524.29c-.455.023-.918.034-1.386.034Z"/></g></svg>
1
+ <svg width="18" height="18" xmlns="http://www.w3.org/2000/svg"><defs><filter x="-4.3%" y="-14.8%" width="108.5%" height="129.6%" filterUnits="objectBoundingBox" id="a"><feOffset dy="1" in="SourceAlpha" result="shadowOffsetOuter1"/><feGaussianBlur stdDeviation=".5" in="shadowOffsetOuter1" result="shadowBlurOuter1"/><feColorMatrix values="0 0 0 0 0.0784313725 0 0 0 0 0.223529412 0 0 0 0 0.364705882 0 0 0 0.1 0" in="shadowBlurOuter1" result="shadowMatrixOuter1"/><feMerge><feMergeNode in="shadowMatrixOuter1"/><feMergeNode in="SourceGraphic"/></feMerge></filter></defs><g transform="translate(-10 -5)" filter="url(#a)" fill="#6A737D"><path d="M18.602 20.203c.49 0 .97-.013 1.441-.039.471-.026.927-.065 1.367-.117.44-.052.86-.116 1.262-.192.4-.075.776-.16 1.125-.253.349-.1.663-.206.941-.32a4.27 4.27 0 0 0 .715-.368 1.9 1.9 0 0 0 .563-.523c.125-.188.187-.386.187-.594V8.203c0-.208-.062-.406-.187-.594a1.898 1.898 0 0 0-.563-.523 4.233 4.233 0 0 0-.715-.367 8.792 8.792 0 0 0-.941-.32 15.15 15.15 0 0 0-1.125-.254c-.401-.076-.822-.14-1.262-.192-.44-.052-.896-.091-1.367-.117a26.13 26.13 0 0 0-2.883 0c-.471.026-.928.065-1.37.117a18.57 18.57 0 0 0-1.267.192c-.4.075-.776.16-1.125.253a8.516 8.516 0 0 0-.937.32 4.286 4.286 0 0 0-.711.368 1.9 1.9 0 0 0-.563.523 1.053 1.053 0 0 0-.187.594v9.594c0 .208.063.406.188.594.124.187.312.362.562.523.198.13.435.253.71.367.277.115.59.222.938.32.35.094.724.179 1.125.254.401.076.823.14 1.266.192.443.052.9.091 1.371.117.472.026.952.04 1.442.04Zm0-10.406c-.474 0-.938-.012-1.391-.035a20.254 20.254 0 0 1-2.523-.29c-.386-.07-.743-.152-1.07-.245-.72-.198-1.203-.396-1.45-.594-.247-.198-.371-.341-.371-.43 0-.094.124-.24.371-.437.247-.198.73-.396 1.45-.594.327-.094.684-.176 1.07-.246a19.24 19.24 0 0 1 2.523-.29 26.926 26.926 0 0 1 2.777 0 20.256 20.256 0 0 1 2.524.29c.383.07.74.152 1.074.246.719.198 1.2.396 1.445.594.245.198.367.343.367.437 0 .089-.122.232-.367.43-.245.198-.726.396-1.445.594a11.94 11.94 0 0 1-1.074.246 19.437 19.437 0 0 1-2.524.289c-.455.023-.918.035-1.386.035Zm0 3.203a24.24 24.24 0 0 1-2.704-.148 17.552 17.552 0 0 1-1.21-.176c-.386-.07-.743-.153-1.07-.246-.72-.198-1.203-.396-1.45-.594-.247-.198-.371-.344-.371-.438V9.344c.198.125.43.242.7.351.267.11.568.211.901.305.35.099.724.185 1.125.258a22.237 22.237 0 0 0 2.637.305 26.13 26.13 0 0 0 2.883 0 21.934 21.934 0 0 0 2.629-.305c.4-.073.776-.159 1.125-.258.338-.094.64-.195.906-.305.266-.11.498-.226.695-.351v2.054c0 .094-.122.24-.367.438s-.726.396-1.445.594a11.94 11.94 0 0 1-1.074.246c-.383.07-.785.129-1.207.176a24.678 24.678 0 0 1-2.703.148Zm0 3.203c-.474 0-.938-.013-1.391-.039-.453-.026-.89-.064-1.313-.113a19.24 19.24 0 0 1-1.21-.18c-.386-.07-.743-.152-1.07-.246-.72-.198-1.203-.396-1.45-.594-.247-.198-.371-.34-.371-.43v-2.054c.198.125.43.242.7.351.267.11.568.211.901.305.35.094.724.179 1.125.254.401.076.823.138 1.266.188a26.13 26.13 0 0 0 5.621 0c.44-.05.86-.112 1.262-.188.4-.075.776-.16 1.125-.254.338-.094.64-.195.906-.305.266-.109.498-.226.695-.351v2.055c0 .088-.122.231-.367.43-.245.197-.726.395-1.445.593a11.94 11.94 0 0 1-1.074.246c-.383.07-.785.13-1.207.18a24.305 24.305 0 0 1-2.703.152Zm0 3.195c-.474 0-.938-.011-1.391-.035a20.254 20.254 0 0 1-2.523-.289c-.386-.07-.743-.152-1.07-.246-.72-.198-1.203-.396-1.45-.594-.247-.198-.371-.343-.371-.437V15.75c.198.12.43.234.7.344.267.11.568.21.901.304.35.1.724.185 1.125.258.401.073.823.136 1.266.188.443.052.9.09 1.371.117a26.13 26.13 0 0 0 2.883 0 21.934 21.934 0 0 0 2.629-.305c.4-.073.776-.159 1.125-.258.338-.093.64-.195.906-.304a5.09 5.09 0 0 0 .695-.344v2.047c0 .094-.122.24-.367.437-.245.198-.726.396-1.445.594a11.94 11.94 0 0 1-1.074.246 19.437 19.437 0 0 1-2.524.29c-.455.023-.918.034-1.386.034Z"/></g></svg>
@@ -1 +1 @@
1
- <svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><path d="M16.502 9.501a.5.5 0 0 1 .5.5v8c0 .827-.673 1.5-1.5 1.5h-4a.5.5 0 0 1-.5-.5v-3.5h-2v3.5a.5.5 0 0 1-.5.5h-4c-.827 0-1.5-.673-1.5-1.5v-8a.5.5 0 0 1 1 0v8a.5.5 0 0 0 .5.5h3.5v-3.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v3.5h3.5a.5.5 0 0 0 .5-.5v-8a.5.5 0 0 1 .5-.5ZM10.003.438c.397 0 .767.167 1.042.47l2.965 3.277-.007-1.18a.5.5 0 0 1 .5-.502h2a.5.5 0 0 1 .5.5v4.492l2.871 3.173a.5.5 0 0 1-.741.671l-3-3.316a.501.501 0 0 1-.129-.335V3.504h-.997l.011 1.986a.501.501 0 0 1-.871.338l-3.843-4.247a.404.404 0 0 0-.3-.141.404.404 0 0 0-.3.141L.875 11.339a.5.5 0 0 1-.371.165l-.002-.003a.498.498 0 0 1-.37-.835L8.961.908c.274-.303.644-.47 1.042-.47Z" fill="#6D7680" fill-rule="evenodd"/></svg>
1
+ <svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><path d="M16.502 9.501a.5.5 0 0 1 .5.5v8c0 .827-.673 1.5-1.5 1.5h-4a.5.5 0 0 1-.5-.5v-3.5h-2v3.5a.5.5 0 0 1-.5.5h-4c-.827 0-1.5-.673-1.5-1.5v-8a.5.5 0 0 1 1 0v8a.5.5 0 0 0 .5.5h3.5v-3.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v3.5h3.5a.5.5 0 0 0 .5-.5v-8a.5.5 0 0 1 .5-.5ZM10.003.438c.397 0 .767.167 1.042.47l2.965 3.277-.007-1.18a.5.5 0 0 1 .5-.502h2a.5.5 0 0 1 .5.5v4.492l2.871 3.173a.5.5 0 0 1-.741.671l-3-3.316a.501.501 0 0 1-.129-.335V3.504h-.997l.011 1.986a.501.501 0 0 1-.871.338l-3.843-4.247a.404.404 0 0 0-.3-.141.404.404 0 0 0-.3.141L.875 11.339a.5.5 0 0 1-.371.165l-.002-.003a.498.498 0 0 1-.37-.835L8.961.908c.274-.303.644-.47 1.042-.47Z" fill="#6A737D" fill-rule="evenodd"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 20 20"><path d="M16 12a4 4 0 0 0-3.325 1.779l-4.902-2.451C7.92 10.912 8 10.466 8 10s-.08-.912-.227-1.328l4.902-2.451A4 4 0 1 0 16 0a4.004 4.004 0 0 0-3.773 5.327L7.325 7.778A3.998 3.998 0 0 0 0 10c0 2.206 1.794 4 4 4a4 4 0 0 0 3.325-1.779l4.902 2.451A4.004 4.004 0 0 0 16 20c2.206 0 4-1.794 4-4s-1.794-4-4-4zm0-11c1.654 0 3 1.346 3 3s-1.346 3-3 3-3-1.346-3-3 1.346-3 3-3zM4 13c-1.654 0-3-1.346-3-3s1.346-3 3-3 3 1.346 3 3-1.346 3-3 3zm12 6c-1.654 0-3-1.346-3-3s1.346-3 3-3 3 1.346 3 3-1.346 3-3 3z" fill="#6D7680"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 20 20"><path d="M16 12a4 4 0 0 0-3.325 1.779l-4.902-2.451C7.92 10.912 8 10.466 8 10s-.08-.912-.227-1.328l4.902-2.451A4 4 0 1 0 16 0a4.004 4.004 0 0 0-3.773 5.327L7.325 7.778A3.998 3.998 0 0 0 0 10c0 2.206 1.794 4 4 4a4 4 0 0 0 3.325-1.779l4.902 2.451A4.004 4.004 0 0 0 16 20c2.206 0 4-1.794 4-4s-1.794-4-4-4zm0-11c1.654 0 3 1.346 3 3s-1.346 3-3 3-3-1.346-3-3 1.346-3 3-3zM4 13c-1.654 0-3-1.346-3-3s1.346-3 3-3 3 1.346 3 3-1.346 3-3 3zm12 6c-1.654 0-3-1.346-3-3s1.346-3 3-3 3 1.346 3 3-1.346 3-3 3z" fill="#6A737D"/></svg>
@@ -1179,7 +1179,7 @@ export declare const GD_COLOR_HIGHLIGHT = "#14b2e2";
1179
1179
  /**
1180
1180
  * @internal
1181
1181
  */
1182
- export declare const GD_COLOR_STATE_BLANK = "#6d7680";
1182
+ export declare const GD_COLOR_STATE_BLANK = "#6a737d";
1183
1183
 
1184
1184
  /**
1185
1185
  * @internal
@@ -1921,6 +1921,8 @@ export declare interface IBubbleProps {
1921
1921
  children?: ReactNode;
1922
1922
  overlayPositionType?: OverlayPositionType;
1923
1923
  ensureVisibility?: boolean;
1924
+ resizeObserverThreshold?: number;
1925
+ keepBottomOnResize?: boolean;
1924
1926
  accessibilityConfig?: IBubbleAccessibilityConfig;
1925
1927
  }
1926
1928
 
@@ -5393,6 +5395,12 @@ export declare interface IOverlayProps<T> {
5393
5395
  * changes by 10% of its height.
5394
5396
  */
5395
5397
  resizeObserverThreshold?: number;
5398
+ /**
5399
+ * Keeps the align point chosen on open. When the overlay height changes, its bottom edge stays in place
5400
+ * and the overlay moves only to stay within the viewport, so a control clicked near the bottom stays under
5401
+ * the pointer. Requires resizeObserverThreshold lower than 1. Not meant to be combined with ensureVisibility.
5402
+ */
5403
+ keepBottomOnResize?: boolean;
5396
5404
  /**
5397
5405
  * Array of refs where user clicks should be ignored
5398
5406
  * and overlay should not be closed by clicking on them
@@ -11362,6 +11370,8 @@ export declare class Overlay<T = HTMLElement> extends Component<IOverlayProps<T>
11362
11370
  static contextType: Context<OverlayController | undefined>;
11363
11371
  context: ContextType<typeof OverlayContext>;
11364
11372
  private observer;
11373
+ private lockedAlignPoints;
11374
+ private bottomFromTarget;
11365
11375
  constructor(props: IOverlayProps<T>);
11366
11376
  UNSAFE_componentWillMount(): void;
11367
11377
  componentDidMount(): void;
@@ -11370,7 +11380,9 @@ export declare class Overlay<T = HTMLElement> extends Component<IOverlayProps<T>
11370
11380
  componentDidUpdate(): void;
11371
11381
  componentWillUnmount(): void;
11372
11382
  render(): JSX.Element;
11383
+ private realign;
11373
11384
  align: () => void;
11385
+ private keepBottomEdge;
11374
11386
  private calculateConstrainedAlignment;
11375
11387
  private clearAlignmentTimeout;
11376
11388
  private alignWithTimeout;
@@ -17,5 +17,5 @@ export declare const GD_COLOR_STATE_HOVER = "#94a1ad";
17
17
  /**
18
18
  * @internal
19
19
  */
20
- export declare const GD_COLOR_STATE_BLANK = "#6d7680";
20
+ export declare const GD_COLOR_STATE_BLANK = "#6a737d";
21
21
  //# sourceMappingURL=constants.d.ts.map
@@ -1,4 +1,4 @@
1
- // (C) 2020-2024 GoodData Corporation
1
+ // (C) 2020-2026 GoodData Corporation
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -18,4 +18,4 @@ export const GD_COLOR_STATE_HOVER = "#94a1ad";
18
18
  /**
19
19
  * @internal
20
20
  */
21
- export const GD_COLOR_STATE_BLANK = "#6d7680";
21
+ export const GD_COLOR_STATE_BLANK = "#6a737d";