diff --git a/.changeset/tasty-teachers-look.md b/.changeset/tasty-teachers-look.md new file mode 100644 index 00000000000..c617c4926d5 --- /dev/null +++ b/.changeset/tasty-teachers-look.md @@ -0,0 +1,9 @@ +--- +"@hashicorp/design-system-components": patch +--- + +`Button` - added missing types to the barrel export file + +`Layout::Flex` - added missing types to the barrel export file + +`Layout::Grid` - added missing types to the barrel export file diff --git a/packages/components/src/components.ts b/packages/components/src/components.ts index c49ab7fcb61..2ab2fb95972 100644 --- a/packages/components/src/components.ts +++ b/packages/components/src/components.ts @@ -81,6 +81,7 @@ export { default as HdsBreadcrumbTruncation } from './components/hds/breadcrumb/ // Button export { default as HdsButton } from './components/hds/button/index.ts'; +export * from './components/hds/button/types.ts'; // ButtonSet export { default as HdsButtonSet } from './components/hds/button-set/index.ts'; @@ -333,10 +334,18 @@ export { default as HdsAppFrameSidebar } from './components/hds/app-frame/parts/ // Layout > Flex export { default as HdsLayoutFlex } from './components/hds/layout/flex/index.ts'; export { default as HdsLayoutFlexItem } from './components/hds/layout/flex/item.ts'; +export * from './components/hds/layout/flex/types.ts'; // Layout > Grid export { default as HdsLayoutGrid } from './components/hds/layout/grid/index.ts'; export { default as HdsLayoutGridItem } from './components/hds/layout/grid/item.ts'; +// we're being explicit with exports here as AvailableTagNames and AvailableElements are overlapping the Flex exports +export { + HdsLayoutGridAlignValues, + HdsLayoutGridGapValues, + type HdsLayoutGridAligns, + type HdsLayoutGridGaps, +} from './components/hds/layout/grid/types.ts'; // ----------------------------------------------------------- // ### UTILITIES