Commit Graph

758 Commits

Author SHA1 Message Date
Terry Zhao e033b4368d Merge pull request #352 from run-llama/changeset-release/main
ci: version packages
@llamaindex/ui@4.2.0 @llamaindex/workflow-debugger@0.2.36
2026-04-06 14:56:17 -07:00
github-actions[bot] ef785ad4b6 ci: version packages 2026-03-26 00:18:12 +00:00
Terry Zhao 96006feb0d Merge pull request #353 from run-llama/fix/upgrade-react-resizable-panels-v4
fix(ui): upgrade react-resizable-panels v3→v4, encapsulate dependency types
2026-03-25 17:17:00 -07:00
Terry Zhao c8437e39b6 fix(ui): address review comments on resizable panels upgrade
- Fix P1: Separator aria-orientation is perpendicular to group orientation
  in v4 (horizontal group → vertical separator). Flip CSS selectors from
  aria-[orientation=vertical] to aria-[orientation=horizontal] for the
  vertical-group case.

- Fix P1: Implement autoSaveId via useDefaultLayout hook. v4 removed
  autoSaveId as a Group prop; it now requires useDefaultLayout({ id,
  storage }) which returns defaultLayout + onLayoutChanged. Added a
  separate component to handle the hook call.

- Fix P2: Add missing props (disabled) to ResizablePanelGroupProps and
  ResizablePanelProps that were previously available via passthrough.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 17:09:11 -07:00
Terry Zhao ba95cde0d6 Merge pull request #354 from run-llama/chore/fix-code-quality-353
chore: fix Code Quality for #353
2026-03-25 16:55:08 -07:00
zhaotai 1a1ee10b73 chore: auto-fix Code Quality issues 2026-03-25 23:54:53 +00:00
Terry Zhao 09b3daee48 fix(ui): upgrade react-resizable-panels v3→v4, encapsulate dependency types
Upgrade react-resizable-panels from ^3.0.3 to ^4.1.0 (resolves to 4.7.6)
to fix a known race condition in useGroupRef/usePanelRef hooks that caused
intermittent "No group found for id" errors during SSR hydration with
React 19's useId().

Define owned prop types for ResizablePanelGroup, ResizablePanel, and
ResizableHandle instead of re-exporting the dependency's types. This
ensures future dependency upgrades don't leak breaking changes to
consumers.

Key changes:
- Own prop types for all three components (no dependency type leakage)
- Accept both `direction` and `orientation` on ResizablePanelGroup
- Adapt v4 onResize callback (PanelSize → number) for backwards compat
- Update CSS selectors: data-[panel-group-direction] → aria-[orientation]
- Update story file to use orientation prop
- Bump version to 4.2.0 (non-breaking for consumers)

Ref: https://github.com/bvaughn/react-resizable-panels/issues/204

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 16:54:01 -07:00
Terry Zhao 9e3cf443b0 Merge pull request #350 from run-llama/cursor/shadcn-buttongroup-component-17fd
feat: add ButtonGroup component with shadcn export
2026-03-17 15:58:01 -07:00
Cursor Agent b1f48a1331 chore: add changeset for ButtonGroup feature (minor bump)
Reverts manual version bump in favor of changeset workflow.

Co-authored-by: Terry Zhao <zhaotai5541@gmail.com>
2026-03-17 02:43:27 +00:00
Cursor Agent 7ec15c62a8 chore: bump version to 4.2.0 for ButtonGroup feature
Co-authored-by: Terry Zhao <zhaotai5541@gmail.com>
2026-03-17 02:40:14 +00:00
Terry Zhao 92869bc73c Merge pull request #351 from run-llama/chore/fix-code-quality-350
chore: fix Code Quality for #350
2026-03-16 19:38:17 -07:00
zhaotai 11e16a93d7 chore: auto-fix Code Quality issues 2026-03-17 02:36:58 +00:00
Cursor Agent 1c4bed6dd1 feat: export ButtonGroup from shadcn with Storybook stories
- Add ButtonGroup/ButtonGroupItem to base/index.ts and src/index.ts
- Add ./base/button-group subpath export in package.json
- Add comprehensive Storybook stories covering all variants,
  orientations, sizes, icon-only, mixed variants, disabled states

Co-authored-by: Terry Zhao <zhaotai5541@gmail.com>
2026-03-17 02:35:32 +00:00
Cursor Agent 996fb1b65f feat: add ButtonGroup component with tests
- ButtonGroup container with horizontal/vertical orientation
- ButtonGroupItem with shared variant/size context from parent
- Position-aware border-radius for connected button styling
- Supports individual variant/size overrides per item
- Full test coverage with 14 passing tests

Co-authored-by: Terry Zhao <zhaotai5541@gmail.com>
2026-03-17 02:33:18 +00:00
Yong 9e02a199a3 Merge pull request #349 from run-llama/changeset-release/main
ci: version packages
@llamaindex/ui@4.1.15 @llamaindex/workflow-debugger@0.2.35
2026-03-13 14:10:57 -07:00
github-actions[bot] 94c720b9dc ci: version packages 2026-03-13 21:10:13 +00:00
Yong f1fe252f99 Merge pull request #348 from run-llama/release-dark-mode-support
release changeset
2026-03-13 14:09:00 -07:00
Yong 7f63027380 release changeset 2026-03-13 14:08:37 -07:00
Yong b5ad4aa19e Merge pull request #347 from run-llama/dark-mode-components-li-6243
dark mode + stories
2026-03-13 10:58:38 -07:00
Yong 5532cbb53d soften palette 2026-03-13 10:53:09 -07:00
Yong 8cff9bfc2c fix datatable button and button styling 2026-03-13 10:17:24 -07:00
Yong be0ba62cc9 dark mode + stories 2026-03-13 10:08:33 -07:00
Yong f0e954ba69 Merge pull request #345 from run-llama/update-component-styling-and-harden-li-6235
update styling and harden components
2026-03-12 17:43:43 -06:00
Yong 9939113b57 Merge pull request #346 from run-llama/chore/fix-code-quality-345
chore: fix Code Quality for #345
2026-03-12 17:40:25 -06:00
yongpark 64621b387e chore: auto-fix Code Quality issues 2026-03-12 23:36:45 +00:00
Yong f5084d2ee4 fix lint 2026-03-12 16:35:59 -07:00
Yong 27e6890c16 update styling and harden components 2026-03-12 16:34:30 -07:00
Yong 2fefccbbb0 Merge pull request #343 from run-llama/performance-update-components-li-6234
perf updates for datatable and multipleselector
2026-03-12 17:31:41 -06:00
Yong 70f66fe394 Merge pull request #344 from run-llama/chore/fix-code-quality-343
chore: fix Code Quality for #343
2026-03-12 17:26:31 -06:00
yongpark 10fe377f20 chore: auto-fix Code Quality issues 2026-03-12 23:01:27 +00:00
Yong 4ff967d30f remove unused import 2026-03-12 16:00:35 -07:00
Yong cca2018666 perf updates for datatable and multipleselector 2026-03-12 15:59:48 -07:00
Yong 7b6cabcacb Merge pull request #341 from run-llama/update-input-accessibility-li-6227
update input accessibility
2026-03-12 16:53:32 -06:00
Yong 10635b81ec Merge pull request #342 from run-llama/chore/fix-code-quality-341
chore: fix Code Quality for #341
2026-03-12 16:52:29 -06:00
yongpark bac1194595 chore: auto-fix Code Quality issues 2026-03-12 22:52:15 +00:00
Yong e80dc66e08 update input accessibility 2026-03-12 15:51:25 -07:00
Yong e0f4a33399 Merge pull request #339 from run-llama/normalize-color-usage-in-components-li-6228
normalize colors for ui components
2026-03-12 12:18:54 -06:00
Yong bc040737e5 Merge pull request #340 from run-llama/chore/fix-code-quality-339
chore: fix Code Quality for #339
2026-03-12 12:14:39 -06:00
yongpark 7c8c5f6b41 chore: auto-fix Code Quality issues 2026-03-12 18:14:00 +00:00
Yong be7d5f8cc5 normalize colors for ui components 2026-03-12 11:11:04 -07:00
Yong 99dc8b321b Merge pull request #336 from run-llama/changeset-release/main
ci: version packages
@llamaindex/ui@4.1.14 @llamaindex/workflow-debugger@0.2.34
2026-02-20 10:03:10 -08:00
github-actions[bot] 7b49353512 ci: version packages 2026-02-20 18:02:52 +00:00
Yong b2266e157f Merge pull request #335 from run-llama/le/consolidate-package
feat: Add new base components
2026-02-20 10:01:41 -08:00
Marcus Schiesser 5c6cf57c47 Update .changeset/six-yaks-yawn.md 2026-02-20 16:13:39 +08:00
leehuwuj c8c17498c6 fix linting 2026-02-20 10:50:35 +07:00
leehuwuj ee8c435741 remove unused components 2026-02-20 10:46:49 +07:00
leehuwuj 5b33dff266 add changeset 2026-02-19 15:10:40 +07:00
leehuwuj e1ac815b1a add new reusable components 2026-02-19 14:30:01 +07:00
leehuwuj 1e845869fb add new radix-ui components 2026-02-19 14:22:44 +07:00
github-actions[bot] 47c6614e3e ci: version packages (#334)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@llamaindex/ui@4.1.13 @llamaindex/workflow-debugger@0.2.33
2026-02-18 18:28:29 -05:00