Skip to content

Feature: merge ui-react-toast and ui-react-dropzone into @kibalabs/ui-react - #258

Merged
krishan711 merged 4 commits into
mainfrom
consolidate-js-libs
Nov 2, 2026
Merged

krishan711 merged 4 commits into
mainfrom
consolidate-js-libs

Conversation

@krishan711

Copy link
Copy Markdown
Contributor

Next step of folding the JS libraries into two packages (build-js #137, core-js #55 done; yieldseeker next).

  • @kibalabs/ui-react/toast = all of @kibalabs/ui-react-toast, @kibalabs/ui-react/dropzone = all of @kibalabs/ui-react-dropzone, with react-hot-toast / react-dropzone as optional peer dependencies.
  • Styles: styles.css|scss as before, plus toast/styles.css|scss and dropzone/styles.css|scss (only their own rules, used on top of the main styles).
  • Imports @kibalabs/core/react instead of @kibalabs/core-react; react-router becomes a required peer (the main entry uses it through core/react).
  • Storybook: toast and dropzone docs under "Extras", with the ToastContainer decorator.
  • README rewritten to be short.

Checks: lint, type-check, build, build-docs. dist/index.css is byte-identical to the published 0.12.1-next.12, and the toast and dropzone css to the old packages'. Main entry JS/types are the same apart from the import rename. Tested in the yieldseeker prototype (local stack, headless Chrome vs main): toasts, pages and styles unchanged.

@krishan711
krishan711 merged commit 31deca0 into main Nov 2, 2026
4 checks passed
@krishan711
krishan711 deleted the consolidate-js-libs branch November 2, 2026 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant