Skip to content

DismissableLayer is not exported #640

@teidesu

Description

@teidesu

Describe the bug
/subj

To Reproduce
Steps to reproduce the behavior:

  1. try importing @kobalte/core/dismissable-layer
  2. see error

Additional context
judging by the tsup.config.ts, this most likely happens bc only src/*/index.tsx files are configured as entrypoints, and dismissable-layer has an index.ts (not tsx).

a fix would be to either make it a .tsx file or (probably better) update the tsup config to include index.{ts,tsx}

i need the component because i'm vendoring the tooltip (kobalte implementation is not customizable enough) and it uses it internally and i don't want to vendor it as well 😭

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions