diff --git a/package.json b/package.json index 2dc4f8a993..fb12b23575 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,8 @@ "./tokens": "./dist/tokens/tokens.css", "./mockedClassNames": { "import": "./dist/mocked_classnames_esm/src/index.js" - } + }, + "./types": "./dist/esm/types/index.d.ts" }, "typesVersions": { "*": { diff --git a/src/types/index.ts b/src/types/index.ts index 96fbbd05f2..4c0e0a8248 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -1,4 +1,5 @@ export * from "./events"; +export * from "./positions"; export * from "./SubIcon"; export { default as VibeComponent } from "./VibeComponent"; export { default as VibeComponentProps } from "./VibeComponentProps"; diff --git a/src/types/positions.ts b/src/types/positions.ts new file mode 100644 index 0000000000..1d4596dd79 --- /dev/null +++ b/src/types/positions.ts @@ -0,0 +1,3 @@ +import { DialogPosition as DialogPositions } from "../constants"; + +export type DialogPosition = DialogPositions;