e0fadfee7c
twenty-ui no longer depends on jotai, so its components work without a consumer-provided jotai store (better practice for a shared UI library). twenty-front keeps jotai; this is scoped to the library. - **Avatar**: tracks image-load failure in local `useState` instead of a global atom. - **Icons**: the icon registry moved from a jotai atom to a React Context. `IconsProvider` and `useIcons` keep identical signatures; the context itself stays internal. - Removed the unused `createState` helper, the `invalidAvatarUrlsAtomV2` / `iconsState` atoms, and `JotaiRootDecorator`; regenerated barrels and dropped the `jotai` dependency. No other package needs changes: nothing imports the removed symbols, and `twenty-sdk` (which re-exports twenty-ui via `export *`) simply stops surfacing the two leaked atoms on its next publish. <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/twentyhq/twenty/pull/21937?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
27 lines
1.0 KiB
TypeScript
27 lines
1.0 KiB
TypeScript
/*
|
|
* _____ _
|
|
*|_ _|_ _____ _ __ | |_ _ _
|
|
* | | \ \ /\ / / _ \ '_ \| __| | | | Auto-generated file
|
|
* | | \ V V / __/ | | | |_| |_| | Any edits to this will be overridden
|
|
* |_| \_/\_/ \___|_| |_|\__|\__, |
|
|
* |___/
|
|
*/
|
|
|
|
export { A11Y_DEFER_COLOR_CONTRAST } from './a11yParameters';
|
|
export { ComponentStorybookLayout } from './ComponentStorybookLayout';
|
|
export type {
|
|
CatalogDimension,
|
|
CatalogOptions,
|
|
} from './decorators/CatalogDecorator';
|
|
export { CatalogDecorator } from './decorators/CatalogDecorator';
|
|
export { ComponentDecorator } from './decorators/ComponentDecorator';
|
|
export type { RouteParams } from './decorators/ComponentWithRouterDecorator';
|
|
export {
|
|
isRouteParams,
|
|
computeLocation,
|
|
ComponentWithRouterDecorator,
|
|
} from './decorators/ComponentWithRouterDecorator';
|
|
export { RouterDecorator } from './decorators/RouterDecorator';
|
|
export { AVATAR_URL_MOCK } from './mocks/avatarUrlMock';
|
|
export type { CatalogStory } from './types/CatalogStory';
|