Skip to content

Conversation

@abdel-17
Copy link
Owner

@abdel-17 abdel-17 commented Dec 3, 2025

Previously, the isItemDisabled and isItemHidden props received only a single node argument, which is too limiting. The condition may depend on the parent's state as well. Now, they receive an object with both parent and node. This is a breaking change.

declare function isItemDisabled({ parent, node }: IsItemDisabledArgs);
declare function isItemHidden({ parent, node }: IsItemHiddenArgs);

@changeset-bot
Copy link

changeset-bot bot commented Dec 3, 2025

🦋 Changeset detected

Latest commit: d1b36e7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
svelte-file-tree Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Dec 3, 2025

Deploying svelte-file-tree with  Cloudflare Pages  Cloudflare Pages

Latest commit: d1b36e7
Status: ✅  Deploy successful!
Preview URL: https://acb97aee.svelte-file-tree.pages.dev
Branch Preview URL: https://pass-parent.svelte-file-tree.pages.dev

View logs

@abdel-17 abdel-17 merged commit e2c043a into master Dec 3, 2025
3 checks passed
@abdel-17 abdel-17 deleted the pass-parent branch December 3, 2025 00:19
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.

2 participants