[PR #4169] [MERGED] ✨ component library - minimalistic infrastructure #23842

Closed
opened 2026-04-16 17:41:56 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/4169
Author: @MatissJanis
Created: 1/16/2025
Status: ✅ Merged
Merged: 2/10/2025
Merged by: @MatissJanis

Base: master ← Head: matiss/component-lib


📝 Commits (5)

  • e0e804e ✨ component library - minimalistic infrastructure
  • 4e7e171 Undo linter change
  • cff717f Release notes
  • 5eb9a5e Merge branch 'master' into matiss/component-lib
  • 3f9dec1 Merge branch 'master' into matiss/component-lib

📊 Changes

19 files changed (+522 additions, -420 deletions)

View changed files

➕ packages/component-library/package.json (+24 -0)
📝 packages/component-library/src/Button.tsx (+3 -3)
📝 packages/component-library/src/View.tsx (+1 -1)
➕ packages/component-library/src/icons/AnimatedLoading.tsx (+26 -0)
➕ packages/component-library/src/icons/Loading.tsx (+33 -0)
➕ packages/component-library/src/styles.ts (+151 -0)
➕ packages/component-library/src/theme.ts (+203 -0)
➕ packages/component-library/src/tokens.ts (+35 -0)
📝 packages/desktop-client/package.json (+1 -0)
📝 packages/desktop-client/src/components/FatalError.tsx (+3 -2)
📝 packages/desktop-client/src/components/common/Button.tsx (+1 -0)
➕ packages/desktop-client/src/components/common/Button2.ts (+10 -0)
➕ packages/desktop-client/src/components/common/View.ts (+4 -0)
📝 packages/desktop-client/src/icons/AnimatedLoading.tsx (+1 -26)
📝 packages/desktop-client/src/style/styles.ts (+4 -150)
📝 packages/desktop-client/src/style/theme.tsx (+1 -203)
📝 packages/desktop-client/src/tokens.ts (+1 -35)
➕ upcoming-release-notes/4169.md (+6 -0)
📝 yarn.lock (+14 -0)

📄 Description

Creating a very minimalistic infrastructure for the shared component library. The intention is to eventually publish this to NPM as a package. Next - this package can be consumed in plugins to build beautiful UI that matches the UX of Actual.

More common components would need to be moved to this plugin before we open it up though. But I'll slowly work on moving everything over and updating import paths.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/4169 **Author:** [@MatissJanis](https://github.com/MatissJanis) **Created:** 1/16/2025 **Status:** ✅ Merged **Merged:** 2/10/2025 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `matiss/component-lib` --- ### 📝 Commits (5) - [`e0e804e`](https://github.com/actualbudget/actual/commit/e0e804ec62f3917c7247f3b084c628c550ed4460) :sparkles: component library - minimalistic infrastructure - [`4e7e171`](https://github.com/actualbudget/actual/commit/4e7e171c57764b2dc616b8c3ad070929fd86f6f8) Undo linter change - [`cff717f`](https://github.com/actualbudget/actual/commit/cff717f3bb9ed3ab52fe61208495200b68779cb2) Release notes - [`5eb9a5e`](https://github.com/actualbudget/actual/commit/5eb9a5e7fcd50cfdbd7036151a4a8e074ccd6780) Merge branch 'master' into matiss/component-lib - [`3f9dec1`](https://github.com/actualbudget/actual/commit/3f9dec1f229b7e25492e3f9a70e25fb76cbc7963) Merge branch 'master' into matiss/component-lib ### 📊 Changes **19 files changed** (+522 additions, -420 deletions) <details> <summary>View changed files</summary> ➕ `packages/component-library/package.json` (+24 -0) 📝 `packages/component-library/src/Button.tsx` (+3 -3) 📝 `packages/component-library/src/View.tsx` (+1 -1) ➕ `packages/component-library/src/icons/AnimatedLoading.tsx` (+26 -0) ➕ `packages/component-library/src/icons/Loading.tsx` (+33 -0) ➕ `packages/component-library/src/styles.ts` (+151 -0) ➕ `packages/component-library/src/theme.ts` (+203 -0) ➕ `packages/component-library/src/tokens.ts` (+35 -0) 📝 `packages/desktop-client/package.json` (+1 -0) 📝 `packages/desktop-client/src/components/FatalError.tsx` (+3 -2) 📝 `packages/desktop-client/src/components/common/Button.tsx` (+1 -0) ➕ `packages/desktop-client/src/components/common/Button2.ts` (+10 -0) ➕ `packages/desktop-client/src/components/common/View.ts` (+4 -0) 📝 `packages/desktop-client/src/icons/AnimatedLoading.tsx` (+1 -26) 📝 `packages/desktop-client/src/style/styles.ts` (+4 -150) 📝 `packages/desktop-client/src/style/theme.tsx` (+1 -203) 📝 `packages/desktop-client/src/tokens.ts` (+1 -35) ➕ `upcoming-release-notes/4169.md` (+6 -0) 📝 `yarn.lock` (+14 -0) </details> ### 📄 Description Creating a very minimalistic infrastructure for the shared component library. The intention is to eventually publish this to NPM as a package. Next - this package can be consumed in plugins to build beautiful UI that matches the UX of Actual. More common components would need to be moved to this plugin before we open it up though. But I'll slowly work on moving everything over and updating import paths. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-16 17:41:56 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#23842