AmadeusITGroup / AgnosUI

Multiframework Frontend Widget Libraries, headless and bootstrap
https://amadeusitgroup.github.io/AgnosUI/latest/
MIT License
54 stars 13 forks source link

Simplify exports for services, transitions and utils #867

Open quentinderoubaix opened 1 month ago

quentinderoubaix commented 1 month ago

Context Currently our exports enforce users to import services, transitions and utils like the following:

import {createResizeObserver} from '@agnos-ui/svelte-bootstrap/services/resizeObserver';
// or
import {createResizeObserver} from '@agnos-ui/svelte-bootstrap';

We now judge thiat is a bit overkill and propose to separate only in main sub-areas, resulting in:

import {createResizeObserver} from '@agnos-ui/svelte-bootstrap/services';

Work involved

quentinderoubaix commented 4 days ago

Requires further discussion, the Draft PR has not been deemed satisfiable yet.