@banyan_cloud/roots 2.0.65 → 2.0.66

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.
@@ -330,8 +330,8 @@ var BaseButton$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
330
330
  });
331
331
  });
332
332
 
333
- var css$K = "button.Button_module_root__39bcd65e[data-elem=base-cell] {\n transition: background-color 110ms cubic-bezier(0.2, 0, 0.38, 0.9), border-color 110ms cubic-bezier(0.2, 0, 0.38, 0.9), color 110ms cubic-bezier(0.2, 0, 0.38, 0.9), box-shadow 110ms cubic-bezier(0.2, 0, 0.38, 0.9);\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: none;\n cursor: pointer;\n position: relative;\n width: -moz-fit-content;\n width: fit-content;\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell] [data-elem=title] {\n font-family: Jakarta, sans-serif;\n font-weight: 600;\n font-size: 14px;\n line-height: 20px;\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_sizeXs__39bcd65e {\n height: 32px;\n padding: 0 12px;\n gap: 4px;\n border-radius: 6px;\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_sizeSm__39bcd65e {\n height: 36px;\n padding: 0 14px;\n gap: 4px;\n border-radius: 6px;\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_sizeMd__39bcd65e {\n height: 40px;\n padding: 0 16px;\n gap: 6px;\n border-radius: 6px;\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_sizeLg__39bcd65e {\n height: 44px;\n padding: 0 18px;\n gap: 6px;\n border-radius: 6px;\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_primary__39bcd65e {\n background: #1570ef;\n color: #ffffff;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_primary__39bcd65e:hover:not(:disabled) {\n background: #175cd3;\n box-shadow: 0 2px 5px 0 rgba(46, 144, 250, 0.08), 0 0 0 1px rgba(46, 144, 250, 0.4), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0.2, 0, 1, 0.9);\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_primary__39bcd65e:active:not(:disabled) {\n background: #1849a9;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_primary__39bcd65e:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #1570ef;\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_secondary__39bcd65e {\n background: #252b37;\n color: #ffffff;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_secondary__39bcd65e:hover:not(:disabled) {\n background: #414651;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0.2, 0, 1, 0.9);\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_secondary__39bcd65e:active:not(:disabled) {\n background: #181d27;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_secondary__39bcd65e:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #a4a7ae;\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_soft__39bcd65e {\n background: #fafafa;\n color: #414651;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_soft__39bcd65e:not(:disabled) svg {\n color: #414651;\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_soft__39bcd65e:hover:not(:disabled) {\n background: #f5f5f5;\n color: #252b37;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0.2, 0, 1, 0.9);\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_soft__39bcd65e:active:not(:disabled) {\n background: #f5f5f5;\n color: #252b37;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_soft__39bcd65e:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #a4a7ae;\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_outline__39bcd65e {\n background: transparent;\n color: #414651;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_outline__39bcd65e:hover:not(:disabled) {\n background: #fafafa;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0.2, 0, 1, 0.9);\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_outline__39bcd65e:active:not(:disabled) {\n background: #f5f5f5;\n box-shadow: 0 0 0 1px #d5d7da;\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_outline__39bcd65e:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #535862;\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_ghost__39bcd65e {\n background: transparent;\n color: #414651;\n box-shadow: none;\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_ghost__39bcd65e:hover:not(:disabled) {\n background: #fafafa;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0.2, 0, 1, 0.9);\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_ghost__39bcd65e:active:not(:disabled) {\n background: #f5f5f5;\n box-shadow: none;\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_ghost__39bcd65e:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #a4a7ae;\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_critical__39bcd65e {\n background: #d92d20;\n color: #ffffff;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_critical__39bcd65e:hover:not(:disabled) {\n background: #b42318;\n box-shadow: 0 2px 5px 0 rgba(217, 45, 32, 0.08), 0 0 0 1px rgba(217, 45, 32, 0.4), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0.2, 0, 1, 0.9);\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_critical__39bcd65e:active:not(:disabled) {\n background: #912018;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_critical__39bcd65e:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #f04438;\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_iconOnly__39bcd65e {\n padding: 0 !important;\n aspect-ratio: 1/1;\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_iconOnly__39bcd65e.Button_module_sizeXs__39bcd65e {\n width: 32px;\n height: 32px;\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_iconOnly__39bcd65e.Button_module_sizeSm__39bcd65e {\n width: 40px;\n height: 40px;\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_iconOnly__39bcd65e.Button_module_sizeMd__39bcd65e {\n width: 44px;\n height: 44px;\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell].Button_module_iconOnly__39bcd65e.Button_module_sizeLg__39bcd65e {\n width: 52px;\n height: 52px;\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell]:disabled {\n transition: background-color 150ms cubic-bezier(0.2, 0, 0.38, 0.9), color 150ms cubic-bezier(0.2, 0, 0.38, 0.9), opacity 150ms cubic-bezier(0.2, 0, 0.38, 0.9);\n background: #f5f5f5;\n color: #a4a7ae;\n cursor: not-allowed;\n box-shadow: none;\n}\nbutton.Button_module_root__39bcd65e[data-elem=base-cell]:disabled [data-elem=title],\nbutton.Button_module_root__39bcd65e[data-elem=base-cell]:disabled svg {\n opacity: 0.6;\n}\n@media (prefers-reduced-motion: reduce) {\n button.Button_module_root__39bcd65e[data-elem=base-cell] {\n transition: none !important;\n }\n}\n\n.Button_module_iconXs__39bcd65e {\n width: 18px !important;\n height: 18px !important;\n flex-shrink: 0;\n}\n\n.Button_module_iconSm__39bcd65e {\n width: 18px !important;\n height: 18px !important;\n flex-shrink: 0;\n}\n\n.Button_module_iconMd__39bcd65e {\n width: 18px !important;\n height: 18px !important;\n flex-shrink: 0;\n}\n\n.Button_module_iconLg__39bcd65e {\n width: 20px !important;\n height: 20px !important;\n flex-shrink: 0;\n}";
334
- var modules_b0070f27$1 = {"root":"Button_module_root__39bcd65e","size-xs":"Button_module_sizeXs__39bcd65e","size-sm":"Button_module_sizeSm__39bcd65e","size-md":"Button_module_sizeMd__39bcd65e","size-lg":"Button_module_sizeLg__39bcd65e","primary":"Button_module_primary__39bcd65e","secondary":"Button_module_secondary__39bcd65e","soft":"Button_module_soft__39bcd65e","outline":"Button_module_outline__39bcd65e","ghost":"Button_module_ghost__39bcd65e","critical":"Button_module_critical__39bcd65e","icon-only":"Button_module_iconOnly__39bcd65e","icon-xs":"Button_module_iconXs__39bcd65e","icon-sm":"Button_module_iconSm__39bcd65e","icon-md":"Button_module_iconMd__39bcd65e","icon-lg":"Button_module_iconLg__39bcd65e"};
333
+ var css$K = "button.Button_module_root__f628f9e2[data-elem=base-cell] {\n transition: background-color 110ms cubic-bezier(0.2, 0, 0.38, 0.9), border-color 110ms cubic-bezier(0.2, 0, 0.38, 0.9), color 110ms cubic-bezier(0.2, 0, 0.38, 0.9), box-shadow 110ms cubic-bezier(0.2, 0, 0.38, 0.9);\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: none;\n cursor: pointer;\n position: relative;\n width: -moz-fit-content;\n width: fit-content;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell] [data-elem=title] {\n font-family: Jakarta, sans-serif;\n font-weight: 600;\n font-size: 14px;\n line-height: 20px;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_sizeXs__f628f9e2 {\n height: 32px;\n padding: 0 12px;\n gap: 4px;\n border-radius: 6px;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_sizeSm__f628f9e2 {\n height: 36px;\n padding: 0 14px;\n gap: 4px;\n border-radius: 6px;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_sizeMd__f628f9e2 {\n height: 40px;\n padding: 0 16px;\n gap: 6px;\n border-radius: 6px;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_sizeLg__f628f9e2 {\n height: 44px;\n padding: 0 18px;\n gap: 6px;\n border-radius: 6px;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_primary__f628f9e2 {\n background: #1570ef;\n color: #ffffff;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_primary__f628f9e2:hover:not(:disabled) {\n background: #175cd3;\n box-shadow: 0 2px 5px 0 rgba(46, 144, 250, 0.08), 0 0 0 1px rgba(46, 144, 250, 0.4), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0.2, 0, 1, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_primary__f628f9e2:active:not(:disabled) {\n background: #1849a9;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_primary__f628f9e2:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #1570ef;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_secondary__f628f9e2 {\n background: #252b37;\n color: #ffffff;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_secondary__f628f9e2:hover:not(:disabled) {\n background: #414651;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0.2, 0, 1, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_secondary__f628f9e2:active:not(:disabled) {\n background: #181d27;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_secondary__f628f9e2:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #a4a7ae;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_soft__f628f9e2 {\n background: #fafafa;\n color: #414651;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_soft__f628f9e2:not(:disabled) svg {\n color: #414651;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_soft__f628f9e2:hover:not(:disabled) {\n background: #f5f5f5;\n color: #252b37;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0.2, 0, 1, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_soft__f628f9e2:active:not(:disabled) {\n background: #f5f5f5;\n color: #252b37;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_soft__f628f9e2:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #a4a7ae;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_outline__f628f9e2 {\n background: transparent;\n color: #414651;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_outline__f628f9e2:hover:not(:disabled) {\n background: #fafafa;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0.2, 0, 1, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_outline__f628f9e2:active:not(:disabled) {\n background: #f5f5f5;\n box-shadow: 0 0 0 1px #d5d7da;\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_outline__f628f9e2:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #535862;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_ghost__f628f9e2 {\n background: transparent;\n color: #414651;\n box-shadow: none;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_ghost__f628f9e2:hover:not(:disabled) {\n background: #fafafa;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0.2, 0, 1, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_ghost__f628f9e2:active:not(:disabled) {\n background: #f5f5f5;\n box-shadow: none;\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_ghost__f628f9e2:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #a4a7ae;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_critical__f628f9e2 {\n background: #d92d20;\n color: #ffffff;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_critical__f628f9e2:hover:not(:disabled) {\n background: #b42318;\n box-shadow: 0 2px 5px 0 rgba(217, 45, 32, 0.08), 0 0 0 1px rgba(217, 45, 32, 0.4), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0.2, 0, 1, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_critical__f628f9e2:active:not(:disabled) {\n background: #912018;\n box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08), 0 0 0 1px rgba(103, 110, 118, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.12);\n transition-duration: 70ms;\n transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_critical__f628f9e2:focus-visible:not(:disabled) {\n outline: none;\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #f04438;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_iconOnly__f628f9e2 {\n padding: 0 !important;\n aspect-ratio: 1/1;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_iconOnly__f628f9e2.Button_module_sizeXs__f628f9e2 {\n width: 32px;\n height: 32px;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_iconOnly__f628f9e2.Button_module_sizeSm__f628f9e2 {\n width: 40px;\n height: 40px;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_iconOnly__f628f9e2.Button_module_sizeMd__f628f9e2 {\n width: 44px;\n height: 44px;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_iconOnly__f628f9e2.Button_module_sizeLg__f628f9e2 {\n width: 52px;\n height: 52px;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell]:disabled {\n transition: background-color 150ms cubic-bezier(0.2, 0, 0.38, 0.9), color 150ms cubic-bezier(0.2, 0, 0.38, 0.9), opacity 150ms cubic-bezier(0.2, 0, 0.38, 0.9);\n background: #f5f5f5;\n color: #a4a7ae;\n cursor: not-allowed;\n box-shadow: none;\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell]:disabled [data-elem=title],\nbutton.Button_module_root__f628f9e2[data-elem=base-cell]:disabled svg {\n opacity: 0.6;\n}\n@media (prefers-reduced-motion: reduce) {\n button.Button_module_root__f628f9e2[data-elem=base-cell] {\n transition: none !important;\n }\n}\nbutton.Button_module_root__f628f9e2[data-elem=base-cell].Button_module_unstyled__f628f9e2 {\n all: unset !important;\n display: inline-flex !important;\n align-items: center !important;\n cursor: pointer !important;\n background: transparent !important;\n padding: 4px !important;\n margin: 0 !important;\n border: none !important;\n box-shadow: none !important;\n border-radius: 4px !important;\n height: auto !important;\n width: auto !important;\n min-width: unset !important;\n font: inherit !important;\n color: inherit !important;\n outline: none !important;\n}\n\n.Button_module_iconXs__f628f9e2 {\n width: 18px !important;\n height: 18px !important;\n flex-shrink: 0;\n}\n\n.Button_module_iconSm__f628f9e2 {\n width: 18px !important;\n height: 18px !important;\n flex-shrink: 0;\n}\n\n.Button_module_iconMd__f628f9e2 {\n width: 18px !important;\n height: 18px !important;\n flex-shrink: 0;\n}\n\n.Button_module_iconLg__f628f9e2 {\n width: 20px !important;\n height: 20px !important;\n flex-shrink: 0;\n}";
334
+ var modules_b0070f27$1 = {"root":"Button_module_root__f628f9e2","size-xs":"Button_module_sizeXs__f628f9e2","size-sm":"Button_module_sizeSm__f628f9e2","size-md":"Button_module_sizeMd__f628f9e2","size-lg":"Button_module_sizeLg__f628f9e2","primary":"Button_module_primary__f628f9e2","secondary":"Button_module_secondary__f628f9e2","soft":"Button_module_soft__f628f9e2","outline":"Button_module_outline__f628f9e2","ghost":"Button_module_ghost__f628f9e2","critical":"Button_module_critical__f628f9e2","icon-only":"Button_module_iconOnly__f628f9e2","unstyled":"Button_module_unstyled__f628f9e2","icon-xs":"Button_module_iconXs__f628f9e2","icon-sm":"Button_module_iconSm__f628f9e2","icon-md":"Button_module_iconMd__f628f9e2","icon-lg":"Button_module_iconLg__f628f9e2"};
335
335
  n(css$K,{});
336
336
 
337
337
  var Button$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
@@ -3275,6 +3275,208 @@ function getChildren(nodes, id) {
3275
3275
  return allChildren;
3276
3276
  }
3277
3277
 
3278
+ function isPointInPolygon(point, polygon) {
3279
+ const [x, y] = point;
3280
+ let isInside = false;
3281
+ const length = polygon.length;
3282
+
3283
+ for (let i = 0, j = length - 1; i < length; j = i++) {
3284
+ const [xi, yi] = polygon[i] || [0, 0];
3285
+ const [xj, yj] = polygon[j] || [0, 0];
3286
+ const intersect = yi >= y !== yj >= y && x <= (xj - xi) * (y - yi) / (yj - yi) + xi;
3287
+
3288
+ if (intersect) {
3289
+ isInside = !isInside;
3290
+ }
3291
+ }
3292
+
3293
+ return isInside;
3294
+ }
3295
+
3296
+ function safePolygon(_temp) {
3297
+ let {
3298
+ restMs = 0,
3299
+ buffer = 0.5,
3300
+ blockPointerEvents = true,
3301
+ debug = null
3302
+ } = _temp === void 0 ? {} : _temp;
3303
+ let timeoutId;
3304
+ let polygonIsDestroyed = false;
3305
+
3306
+ const fn = _ref => {
3307
+ let {
3308
+ x,
3309
+ y,
3310
+ placement,
3311
+ refs,
3312
+ onClose,
3313
+ nodeId,
3314
+ tree,
3315
+ leave = false
3316
+ } = _ref;
3317
+ return function onPointerMove(event) {
3318
+ var _refs$domReference$cu, _refs$floating$curren, _refs$floating$curren2;
3319
+
3320
+ clearTimeout(timeoutId);
3321
+
3322
+ function close() {
3323
+ clearTimeout(timeoutId);
3324
+ onClose();
3325
+ }
3326
+
3327
+ if (event.pointerType && event.pointerType !== 'mouse') {
3328
+ return;
3329
+ }
3330
+
3331
+ const {
3332
+ clientX,
3333
+ clientY
3334
+ } = event;
3335
+ const target = 'composedPath' in event ? event.composedPath()[0] : event.target;
3336
+ const targetNode = target; // If the pointer is over the reference, there is no need to run the logic
3337
+
3338
+ if (event.type === 'pointermove' && (_refs$domReference$cu = refs.domReference.current) != null && _refs$domReference$cu.contains(targetNode)) {
3339
+ return;
3340
+ } // Prevent overlapping floating element from being stuck in an open-close
3341
+ // loop: https://github.com/floating-ui/floating-ui/issues/1910
3342
+
3343
+
3344
+ if (event.type === 'mouseleave' && isElement(event.relatedTarget) && (_refs$floating$curren = refs.floating.current) != null && _refs$floating$curren.contains(event.relatedTarget)) {
3345
+ return;
3346
+ } // If any nested child is open, abort.
3347
+
3348
+
3349
+ if (tree && getChildren(tree.nodesRef.current, nodeId).some(_ref2 => {
3350
+ let {
3351
+ context
3352
+ } = _ref2;
3353
+ return context == null ? void 0 : context.open;
3354
+ })) {
3355
+ return;
3356
+ } // The cursor landed, so we destroy the polygon logic
3357
+
3358
+
3359
+ if ((_refs$floating$curren2 = refs.floating.current) != null && _refs$floating$curren2.contains(targetNode) && !leave) {
3360
+ polygonIsDestroyed = true;
3361
+ return;
3362
+ }
3363
+
3364
+ if (!refs.domReference.current || !refs.floating.current || placement == null || x == null || y == null) {
3365
+ return;
3366
+ }
3367
+
3368
+ const refRect = refs.domReference.current.getBoundingClientRect();
3369
+ const rect = refs.floating.current.getBoundingClientRect();
3370
+ const side = placement.split('-')[0];
3371
+ const cursorLeaveFromRight = x > rect.right - rect.width / 2;
3372
+ const cursorLeaveFromBottom = y > rect.bottom - rect.height / 2; // If the pointer is leaving from the opposite side, the "buffer" logic
3373
+ // creates a point where the floating element remains open, but should be
3374
+ // ignored.
3375
+ // A constant of 1 handles floating point rounding errors.
3376
+
3377
+ if (side === 'top' && y >= refRect.bottom - 1 || side === 'bottom' && y <= refRect.top + 1 || side === 'left' && x >= refRect.right - 1 || side === 'right' && x <= refRect.left + 1) {
3378
+ return close();
3379
+ } // Ignore when the cursor is within the rectangular trough between the
3380
+ // two elements. Since the triangle is created from the cursor point,
3381
+ // which can start beyond the ref element's edge, traversing back and
3382
+ // forth from the ref to the floating element can cause it to close. This
3383
+ // ensures it always remains open in that case.
3384
+
3385
+
3386
+ switch (side) {
3387
+ case 'top':
3388
+ if (clientX >= rect.left && clientX <= rect.right && clientY >= rect.top && clientY <= refRect.top + 1) {
3389
+ return;
3390
+ }
3391
+
3392
+ break;
3393
+
3394
+ case 'bottom':
3395
+ if (clientX >= rect.left && clientX <= rect.right && clientY >= refRect.bottom - 1 && clientY <= rect.bottom) {
3396
+ return;
3397
+ }
3398
+
3399
+ break;
3400
+
3401
+ case 'left':
3402
+ if (clientX >= rect.left && clientX <= refRect.left + 1 && clientY >= rect.top && clientY <= rect.bottom) {
3403
+ return;
3404
+ }
3405
+
3406
+ break;
3407
+
3408
+ case 'right':
3409
+ if (clientX >= refRect.right - 1 && clientX <= rect.right && clientY >= rect.top && clientY <= rect.bottom) {
3410
+ return;
3411
+ }
3412
+
3413
+ break;
3414
+ }
3415
+
3416
+ if (polygonIsDestroyed) {
3417
+ return close();
3418
+ }
3419
+
3420
+ function getPolygon(_ref3) {
3421
+ let [x, y] = _ref3;
3422
+ const isFloatingWider = rect.width > refRect.width;
3423
+ const isFloatingTaller = rect.height > refRect.height;
3424
+
3425
+ switch (side) {
3426
+ case 'top':
3427
+ {
3428
+ const cursorPointOne = [isFloatingWider ? x + buffer / 2 : cursorLeaveFromRight ? x + buffer * 4 : x - buffer * 4, y + buffer + 1];
3429
+ const cursorPointTwo = [isFloatingWider ? x - buffer / 2 : cursorLeaveFromRight ? x + buffer * 4 : x - buffer * 4, y + buffer + 1];
3430
+ const commonPoints = [[rect.left, cursorLeaveFromRight ? rect.bottom - buffer : isFloatingWider ? rect.bottom - buffer : rect.top], [rect.right, cursorLeaveFromRight ? isFloatingWider ? rect.bottom - buffer : rect.top : rect.bottom - buffer]];
3431
+ return [cursorPointOne, cursorPointTwo, ...commonPoints];
3432
+ }
3433
+
3434
+ case 'bottom':
3435
+ {
3436
+ const cursorPointOne = [isFloatingWider ? x + buffer / 2 : cursorLeaveFromRight ? x + buffer * 4 : x - buffer * 4, y - buffer];
3437
+ const cursorPointTwo = [isFloatingWider ? x - buffer / 2 : cursorLeaveFromRight ? x + buffer * 4 : x - buffer * 4, y - buffer];
3438
+ const commonPoints = [[rect.left, cursorLeaveFromRight ? rect.top + buffer : isFloatingWider ? rect.top + buffer : rect.bottom], [rect.right, cursorLeaveFromRight ? isFloatingWider ? rect.top + buffer : rect.bottom : rect.top + buffer]];
3439
+ return [cursorPointOne, cursorPointTwo, ...commonPoints];
3440
+ }
3441
+
3442
+ case 'left':
3443
+ {
3444
+ const cursorPointOne = [x + buffer + 1, isFloatingTaller ? y + buffer / 2 : cursorLeaveFromBottom ? y + buffer * 4 : y - buffer * 4];
3445
+ const cursorPointTwo = [x + buffer + 1, isFloatingTaller ? y - buffer / 2 : cursorLeaveFromBottom ? y + buffer * 4 : y - buffer * 4];
3446
+ const commonPoints = [[cursorLeaveFromBottom ? rect.right - buffer : isFloatingTaller ? rect.right - buffer : rect.left, rect.top], [cursorLeaveFromBottom ? isFloatingTaller ? rect.right - buffer : rect.left : rect.right - buffer, rect.bottom]];
3447
+ return [...commonPoints, cursorPointOne, cursorPointTwo];
3448
+ }
3449
+
3450
+ case 'right':
3451
+ {
3452
+ const cursorPointOne = [x - buffer, isFloatingTaller ? y + buffer / 2 : cursorLeaveFromBottom ? y + buffer * 4 : y - buffer * 4];
3453
+ const cursorPointTwo = [x - buffer, isFloatingTaller ? y - buffer / 2 : cursorLeaveFromBottom ? y + buffer * 4 : y - buffer * 4];
3454
+ const commonPoints = [[cursorLeaveFromBottom ? rect.left + buffer : isFloatingTaller ? rect.left + buffer : rect.right, rect.top], [cursorLeaveFromBottom ? isFloatingTaller ? rect.left + buffer : rect.right : rect.left + buffer, rect.bottom]];
3455
+ return [cursorPointOne, cursorPointTwo, ...commonPoints];
3456
+ }
3457
+ }
3458
+ }
3459
+
3460
+ const poly = getPolygon([x, y]);
3461
+
3462
+ if (process.env.NODE_ENV !== "production") {
3463
+ debug == null ? void 0 : debug(poly.slice(0, 4).join(', '));
3464
+ }
3465
+
3466
+ if (!isPointInPolygon([clientX, clientY], poly)) {
3467
+ close();
3468
+ } else if (restMs) {
3469
+ timeoutId = setTimeout(onClose, restMs);
3470
+ }
3471
+ };
3472
+ };
3473
+
3474
+ fn.__options = {
3475
+ blockPointerEvents
3476
+ };
3477
+ return fn;
3478
+ }
3479
+
3278
3480
  const DEFAULT_ID = 'floating-ui-root';
3279
3481
  const useFloatingPortalNode = function (_temp) {
3280
3482
  let {
@@ -6117,8 +6319,8 @@ var Text$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
6117
6319
  return null;
6118
6320
  });
6119
6321
 
6120
- var css$v = ".Link_module_wrapper__3063707c {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: 1px solid transparent;\n padding: 1px;\n border-radius: 2px;\n box-sizing: border-box;\n}\n.Link_module_wrapper__3063707c:active {\n border-color: var(--link-link-primary, #1f5fcc);\n}\n.Link_module_wrapper__3063707c:has(.Link_module_link__3063707c:focus-visible) {\n border-color: var(--link-link-primary, #1f5fcc);\n}\n.Link_module_wrapper__3063707c.Link_module_sizeSm__3063707c .Link_module_link__3063707c {\n font-size: 12px;\n line-height: 16px;\n letter-spacing: 0.32px;\n gap: 8px;\n}\n.Link_module_wrapper__3063707c.Link_module_sizeMd__3063707c .Link_module_link__3063707c {\n font-size: 14px;\n line-height: 18px;\n letter-spacing: 0.16px;\n gap: 10px;\n}\n.Link_module_wrapper__3063707c.Link_module_sizeLg__3063707c .Link_module_link__3063707c {\n font-size: 16px;\n line-height: 22px;\n gap: 10px;\n}\n.Link_module_wrapper__3063707c.Link_module_disabled__3063707c {\n opacity: 0.25;\n pointer-events: none;\n}\n.Link_module_wrapper__3063707c.Link_module_disabled__3063707c .Link_module_link__3063707c {\n color: var(--text-text-disabled, #161616);\n}\n.Link_module_wrapper__3063707c.Link_module_disabled__3063707c .Link_module_icon__3063707c {\n stroke: var(--icon-icon-disabled, #161616);\n}\n.Link_module_wrapper__3063707c .Link_module_link__3063707c {\n display: inline-flex;\n align-items: center;\n gap: var(--spacing-03, 8px);\n text-decoration: none;\n cursor: pointer;\n color: var(--link-link-primary, #1f5fcc);\n}\n.Link_module_wrapper__3063707c .Link_module_link__3063707c:focus-visible {\n outline: none;\n}\n.Link_module_wrapper__3063707c .Link_module_link__3063707c:hover {\n color: var(--link-link-primary-hover, #1b55b5);\n}\n.Link_module_wrapper__3063707c .Link_module_link__3063707c:hover .Link_module_icon__3063707c {\n stroke: var(--link-link-primary-hover, #1b55b5);\n}\n.Link_module_wrapper__3063707c .Link_module_link__3063707c:visited {\n color: var(--link-Link-visited, #8a3ffc);\n}\n.Link_module_wrapper__3063707c .Link_module_link__3063707c:visited .Link_module_icon__3063707c {\n stroke: var(--link-Link-visited, #8a3ffc);\n}\n.Link_module_wrapper__3063707c .Link_module_link__3063707c:active {\n color: var(--icon-icon-primary, #161616);\n}\n.Link_module_wrapper__3063707c .Link_module_link__3063707c:active .Link_module_icon__3063707c {\n stroke: var(--icon-icon-primary, #161616);\n}\n.Link_module_wrapper__3063707c .Link_module_icon__3063707c {\n stroke-width: 1.2px;\n stroke: var(--link-link-primary, #1f5fcc);\n width: 16px;\n height: 16px;\n}\n.Link_module_wrapper__3063707c .Link_module_sizeLg__3063707c .Link_module_icon__3063707c {\n width: 20px;\n height: 20px;\n}";
6121
- var modules_e20967e9 = {"wrapper":"Link_module_wrapper__3063707c","link":"Link_module_link__3063707c","size-sm":"Link_module_sizeSm__3063707c","size-md":"Link_module_sizeMd__3063707c","size-lg":"Link_module_sizeLg__3063707c","disabled":"Link_module_disabled__3063707c","icon":"Link_module_icon__3063707c"};
6322
+ var css$v = ".Link_module_wrapper__4b6879a4 {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: 1px solid transparent;\n padding: 1px;\n border-radius: 2px;\n box-sizing: border-box;\n}\n.Link_module_wrapper__4b6879a4:active {\n border-color: var(--link-link-primary, #1f5fcc);\n}\n.Link_module_wrapper__4b6879a4:has(.Link_module_link__4b6879a4:focus-visible) {\n border-color: var(--link-link-primary, #1f5fcc);\n}\n.Link_module_wrapper__4b6879a4.Link_module_sizeSm__4b6879a4 .Link_module_link__4b6879a4 {\n font-size: 12px;\n line-height: 16px;\n letter-spacing: 0.32px;\n gap: 8px;\n}\n.Link_module_wrapper__4b6879a4.Link_module_sizeMd__4b6879a4 .Link_module_link__4b6879a4 {\n font-size: 14px;\n line-height: 18px;\n letter-spacing: 0.16px;\n gap: 10px;\n}\n.Link_module_wrapper__4b6879a4.Link_module_sizeLg__4b6879a4 .Link_module_link__4b6879a4 {\n font-size: 16px;\n line-height: 22px;\n gap: 10px;\n}\n.Link_module_wrapper__4b6879a4.Link_module_disabled__4b6879a4 {\n opacity: 0.25;\n pointer-events: none;\n}\n.Link_module_wrapper__4b6879a4.Link_module_disabled__4b6879a4 .Link_module_link__4b6879a4 {\n color: var(--text-text-disabled, #161616);\n}\n.Link_module_wrapper__4b6879a4.Link_module_disabled__4b6879a4 .Link_module_icon__4b6879a4 {\n stroke: var(--icon-icon-disabled, #161616);\n}\n.Link_module_wrapper__4b6879a4 .Link_module_link__4b6879a4 {\n display: inline-flex;\n align-items: center;\n gap: var(--spacing-03, 8px);\n text-decoration: none;\n cursor: pointer;\n color: var(--link-link-primary, #1f5fcc);\n}\n.Link_module_wrapper__4b6879a4 .Link_module_link__4b6879a4:focus-visible {\n outline: none;\n}\n.Link_module_wrapper__4b6879a4 .Link_module_link__4b6879a4:hover {\n color: var(--link-link-primary-hover, #1b55b5);\n}\n.Link_module_wrapper__4b6879a4 .Link_module_link__4b6879a4:hover .Link_module_icon__4b6879a4 {\n stroke: var(--link-link-primary-hover, #1b55b5);\n}\n.Link_module_wrapper__4b6879a4 .Link_module_link__4b6879a4:visited {\n color: var(--link-Link-visited, #8a3ffc);\n}\n.Link_module_wrapper__4b6879a4 .Link_module_link__4b6879a4:visited .Link_module_icon__4b6879a4 {\n stroke: var(--link-Link-visited, #8a3ffc);\n}\n.Link_module_wrapper__4b6879a4 .Link_module_link__4b6879a4:active {\n color: var(--icon-icon-primary, #161616);\n}\n.Link_module_wrapper__4b6879a4 .Link_module_link__4b6879a4:active .Link_module_icon__4b6879a4 {\n stroke: var(--icon-icon-primary, #161616);\n}\n.Link_module_wrapper__4b6879a4 .Link_module_icon__4b6879a4 {\n stroke-width: 1.2px;\n stroke: var(--link-link-primary, #1f5fcc);\n width: 16px;\n height: 16px;\n}\n.Link_module_wrapper__4b6879a4 .Link_module_sizeLg__4b6879a4 .Link_module_icon__4b6879a4 {\n width: 20px;\n height: 20px;\n}\n\n.Link_module_unstyled__4b6879a4 {\n all: unset;\n display: inline-flex;\n align-items: center;\n cursor: pointer;\n background: transparent;\n border: none;\n box-shadow: none;\n outline: none;\n padding: 0;\n margin: 0;\n text-decoration: none;\n color: inherit;\n font: inherit;\n}\n.Link_module_unstyled__4b6879a4:focus-visible {\n outline: none;\n}\n.Link_module_unstyled__4b6879a4:disabled {\n opacity: 0.25;\n pointer-events: none;\n cursor: not-allowed;\n}";
6323
+ var modules_e20967e9 = {"wrapper":"Link_module_wrapper__4b6879a4","link":"Link_module_link__4b6879a4","size-sm":"Link_module_sizeSm__4b6879a4","size-md":"Link_module_sizeMd__4b6879a4","size-lg":"Link_module_sizeLg__4b6879a4","disabled":"Link_module_disabled__4b6879a4","icon":"Link_module_icon__4b6879a4","unstyled":"Link_module_unstyled__4b6879a4"};
6122
6324
  n(css$v,{});
6123
6325
 
6124
6326
  var Link = /*#__PURE__*/React.forwardRef(function (props, ref) {
@@ -6127,6 +6329,8 @@ var Link = /*#__PURE__*/React.forwardRef(function (props, ref) {
6127
6329
  _props$target = props.target,
6128
6330
  target = _props$target === void 0 ? '_self' : _props$target,
6129
6331
  onClick = props.onClick,
6332
+ _props$variant = props.variant,
6333
+ variant = _props$variant === void 0 ? 'styled' : _props$variant,
6130
6334
  _props$size = props.size,
6131
6335
  size = _props$size === void 0 ? 'md' : _props$size,
6132
6336
  _props$withIcon = props.withIcon,
@@ -6144,6 +6348,19 @@ var Link = /*#__PURE__*/React.forwardRef(function (props, ref) {
6144
6348
  }
6145
6349
  onClick === null || onClick === void 0 || onClick();
6146
6350
  };
6351
+ if (variant === 'unstyled') {
6352
+ return jsxRuntime.jsx("a", _objectSpread2(_objectSpread2({
6353
+ ref: ref,
6354
+ className: classes(modules_e20967e9.unstyled, className),
6355
+ href: disabled ? undefined : href,
6356
+ target: target,
6357
+ onClick: handleClick,
6358
+ "aria-disabled": disabled,
6359
+ tabIndex: disabled ? -1 : 0
6360
+ }, attrs), {}, {
6361
+ children: children
6362
+ }));
6363
+ }
6147
6364
  return jsxRuntime.jsx("div", {
6148
6365
  className: classes(modules_e20967e9.wrapper, modules_e20967e9["size-".concat(size)], disabled && modules_e20967e9.disabled),
6149
6366
  children: jsxRuntime.jsxs(Text$1, {
@@ -6497,7 +6714,7 @@ var Tooltip = /*#__PURE__*/React.forwardRef(function (props, propRef) {
6497
6714
  // Event listeners to change the open state
6498
6715
  var hover = useHover(context, {
6499
6716
  move: true,
6500
- enabled: !clickOutsideToClose
6717
+ handleClose: clickOutsideToClose ? safePolygon() : undefined
6501
6718
  });
6502
6719
  var focus = useFocus(context, {
6503
6720
  enabled: !clickOutsideToClose