mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-26 11:08:38 +03:00
d1462f1ea5
* UI: Info Button component Info button that displays a custom component on hover. * Extend tooltip Optionally, toggle the tooltip on click. If enabled, clicking outside will close the tooltip * Click outside: Broaden the elements that can be ignored Broaden the types of elements that can be ignored * Info Button: Ignore the SVG when checking for clicking outside * Info Button: Add Storybook * Info Button: Use a separate component for the tooltip arrow That way we can set the border-radius easliy, plus it's probably a bit more CSS-compatible with picky browser engines * TooltipWrapper shared component Factor out the common logic of the Tooltip and Info Button so that there is no duplicated functionality and so that the Info Button doesn't have to depend on the Tooltip * Tooltip and the InfoButton use the TooltipWrapper Use the shared component. Also: - Info button is opened (and stays open) on hover * separate tooltip components * icon transition effect added * button tooltip to the body level + utils function * Remove log --------- Co-authored-by: Pavel Laptev <pawellaptew@gmail.com> |
||
---|---|---|
.. | ||
.storybook | ||
src | ||
static | ||
package.json | ||
postcss.config.js | ||
svelte.config.js | ||
terrazzo.config.js | ||
tsconfig.json | ||
vite.config.ts |