Skip to content

Commit 1f6cda6

Browse files
authored
chore: 🤖 expose types which are consumed publicly (#896)
* chore: 🤖 expose types which are consumed publicly * chore: 🤖 add changeset
1 parent 25bfc23 commit 1f6cda6

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.changeset/solid-lands-start.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clickhouse/click-ui': patch
3+
---
4+
5+
Expose narrow asset types from public API: `LogoName`, `LogoProps`, `FlagName`, `FlagProps`, `TextFieldProps`

src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ export type { AlertProps } from './components/Alert';
2626
export { Flag as Flags } from './components/Assets/Flags/system/Flag';
2727
export { Logo } from './components/Assets/Logos/system/Logo';
2828
export { User as ProfileIcon } from './components/Assets/Icons/User';
29+
export type { FlagName, FlagProps } from './components/Assets/Flags/system/types';
30+
export type { LogoName, LogoProps } from './components/Assets/Logos/system/types';
2931

3032
// AutoComplete
3133
export { AutoComplete } from './components/AutoComplete';
@@ -249,6 +251,7 @@ export type { NumberFieldProps } from './components/Input/NumberField';
249251
export type { PasswordFieldProps } from './components/Input/PasswordField';
250252
export type { SearchFieldProps } from './components/Input/SearchField';
251253
export type { TextAreaFieldProps } from './components/Input/TextArea';
254+
export type { TextFieldProps } from './components/Input/TextField';
252255

253256
// Toast
254257
export { Toast, ToastProvider } from './components/Toast';

0 commit comments

Comments
 (0)