Skip to content

[FEATURE] Deep module imports #315

@CITguy

Description

@CITguy

As a consumer of HelixUI, I would like to use deep module imports, so that I can import specific functionality from a HelixUI submodule.


With #309, we have the ability to selectively import items from the helix-ui module. However, we still have to import Elements and Utils as a namespace if we want to use any of the available functionality within them.

A consumer should be able to use the following syntax:

import { HXElement } from 'helix-ui/elements';
import { KEYS } from 'helix-ui/utils';
import { getPosition } from 'helix-ui/utils/position';

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions