gitbutler/packages/ui
Pavel Laptev dcd6391c88
New branch menus (#5279)
* added new overflowMenu

* refactor(StackingSeriesHeader): Remove redundant code for opening link and context menu options

* commit context menu added

* refactor: Improve click outside handler in ContextMenu.svelte

* feat(commit): Add ability to insert blank commit above or below existing commit

* refactor(contextmenu): Refactor align logic, remove el and add clientHeight/Width binding

* added: "Activated" state for overflow menu and buttons

* added: conditions for "kebab" buttons when context menu is opened

* fixing context menu positioning

* feat: Add preventDefault to context menu in OverflowMenuItem

* fix: Toggle button label

* added "copy PR" item

* Update OverflowMenuItem.svelte

* Update InsertEmptyCommitAction.svelte

* adde more itrm to the commit context menu

* Update StackingCommitList.svelte

* Update Button.svelte

* fix checks

* change context menu trigger area

* components rename

* restrict context menu actions to the commit type

* Update CommitContextMenu.svelte

* add missing prop

* rearrange buttons

* Update apps/desktop/src/lib/branch/StackingSeriesHeader.svelte

* some buttons had missing kind prop

* move new components to UI

---------

Co-authored-by: Nico Domino <yo@ndo.dev>
2024-10-24 02:46:06 +02:00
..
.storybook Move dummy UI and minor code refactor (#5061) 2024-10-09 17:00:35 +02:00
src New branch menus (#5279) 2024-10-24 02:46:06 +02:00
static fix: mv ui package to packages/ 2024-06-26 18:03:55 +02:00
package.json Align changes with formatting; install browser deps 2024-09-26 00:36:46 +02:00
postcss.config.js fix(ui): update ui output (#4649) 2024-08-08 14:51:37 +02:00
svelte.config.js fix: dont force runes on packages/ui - storybook still doesnt support 2024-10-23 11:09:39 +02:00
terrazzo.config.js Tooltip-refactoring-+-new-component (#4804) 2024-09-01 20:30:36 +02:00
tsconfig.json chore: eslint ignore storybook stories for now 2024-10-23 11:09:39 +02:00
vite.config.ts fix: bump all svelte related dependencies (#4828) 2024-09-06 12:25:41 +02:00
vitest.workspace.ts Align changes with formatting; install browser deps 2024-09-26 00:36:46 +02:00