Skip to content

Commit

Permalink
feat(many): make meta package export every component and type definition
Browse files Browse the repository at this point in the history
Closes: INSTUI-4381
  • Loading branch information
matyasf committed Dec 12, 2024
1 parent b91cfe1 commit dee9abb
Show file tree
Hide file tree
Showing 17 changed files with 414 additions and 27 deletions.
1 change: 1 addition & 0 deletions packages/ui-calendar/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* SOFTWARE.
*/
export { Calendar } from './Calendar'
export { Day as CalendarDay } from './Calendar/Day'

export type { CalendarProps } from './Calendar/props'
export type { CalendarDayProps } from './Calendar/Day/props'
2 changes: 1 addition & 1 deletion packages/ui-drawer-layout/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* SOFTWARE.
*/

export { DrawerLayout, DrawerContent } from './DrawerLayout'
export { DrawerLayout, DrawerContent, DrawerTray } from './DrawerLayout'

export type { DrawerLayoutProps } from './DrawerLayout/props'
export type { DrawerLayoutContentProps } from './DrawerLayout/DrawerContent/props'
Expand Down
4 changes: 4 additions & 0 deletions packages/ui-drilldown/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
*/

export { Drilldown } from './Drilldown'
export { DrilldownGroup } from './Drilldown/DrilldownGroup'
export { DrilldownOption } from './Drilldown/DrilldownOption'
export { DrilldownPage } from './Drilldown/DrilldownPage'
export { DrilldownSeparator } from './Drilldown/DrilldownSeparator'

export type {
DrilldownProps,
Expand Down
1 change: 1 addition & 0 deletions packages/ui-list/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

export { InlineList } from './InlineList'
export { List, ListItem } from './List'
export { InlineListItem } from './InlineList/InlineListItem'

export type { InlineListProps } from './InlineList/props'
export type { InlineListItemProps } from './InlineList/InlineListItem/props'
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-modal/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
export { Modal } from './Modal'
export { Modal, ModalBody, ModalFooter, ModalHeader } from './Modal'

export type { ModalProps } from './Modal/props'
export type { ModalBodyProps } from './Modal/ModalBody/props'
Expand Down
1 change: 1 addition & 0 deletions packages/ui-motion/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* SOFTWARE.
*/
export { Transition } from './Transition'
export { BaseTransition } from './Transition/BaseTransition'
export type { TransitionProps, TransitionType } from './Transition/props'
export type { BaseTransitionStatesType } from './Transition/BaseTransition/props'
export { transitionTypePropType } from './Transition/props'
1 change: 1 addition & 0 deletions packages/ui-navigation/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
*/

export { AppNav } from './AppNav'
export { Item as AppNavItem } from './AppNav/Item'

export type { AppNavProps } from './AppNav/props'
export type { AppNavItemProps } from './AppNav/Item/props'
2 changes: 2 additions & 0 deletions packages/ui-options/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
*/

export { Options } from './Options'
export { Item as OptionItem } from './Options/Item'
export { Separator as OptionSeparator } from './Options/Separator'

export { optionsThemeGenerator } from './Options/theme'
export { optionsItemThemeGenerator } from './Options/Item/theme'
Expand Down
1 change: 1 addition & 0 deletions packages/ui-pages/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* SOFTWARE.
*/
export { Pages } from './Pages'
export { Page as PagesPage } from './Pages/Page'

export type { PagesProps } from './Pages/props'
export type { PagesPageProps } from './Pages/Page/props'
1 change: 1 addition & 0 deletions packages/ui-rating/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* SOFTWARE.
*/
export { Rating } from './Rating'
export { RatingIcon } from './RatingIcon'

export type { RatingProps } from './Rating/props'
export type { RatingIconProps } from './RatingIcon/props'
2 changes: 2 additions & 0 deletions packages/ui-select/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
*/

export { Select } from './Select'
export { Group as SelectGroup } from './Select/Group'
export { Option as SelectOption } from './Select/Option'

export type { SelectProps, SelectOwnProps } from './Select/props'
export type { SelectGroupProps } from './Select/Group/props'
Expand Down
2 changes: 2 additions & 0 deletions packages/ui-simple-select/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
*/

export { SimpleSelect } from './SimpleSelect'
export { Group as SimpleSelectGroup } from './SimpleSelect/Group'
export { Option as SimpleSelectOption } from './SimpleSelect/Option'

export type { SimpleSelectProps } from './SimpleSelect/props'
export type { SimpleSelectGroupProps } from './SimpleSelect/Group/props'
Expand Down
6 changes: 6 additions & 0 deletions packages/ui-table/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
*/
export { Table } from './Table'
export { TableContext } from './Table/TableContext'
export { Body as TableBody } from './Table/Body'
export { Cell as TableCell } from './Table/Cell'
export { ColHeader as TableColHeader } from './Table/ColHeader'
export { Head as TableHead } from './Table/Head'
export { Row as TableRow } from './Table/Row'
export { RowHeader as TableRowHeader } from './Table/RowHeader'

export type { TableProps } from './Table/props'
export type { TableBodyProps } from './Table/Body/props'
Expand Down
2 changes: 2 additions & 0 deletions packages/ui-tabs/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
*/

export { Tabs } from './Tabs'
export { Panel as TabsPanel } from './Tabs/Panel'
export { Tab as TabsTab } from './Tabs/Tab'

export type { TabsProps } from './Tabs/props'
export type { TabsPanelProps } from './Tabs/Panel/props'
Expand Down
7 changes: 7 additions & 0 deletions packages/ui-top-nav-bar/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@
*/

export { TopNavBar } from './TopNavBar'
export { TopNavBarActionItems } from './TopNavBar/TopNavBarActionItems'
export { TopNavBarBrand } from './TopNavBar/TopNavBarBrand'
export { TopNavBarBreadcrumb } from './TopNavBar/TopNavBarBreadcrumb'
export { TopNavBarItem } from './TopNavBar/TopNavBarItem'
export { TopNavBarLayout } from './TopNavBar/TopNavBarLayout'
export { TopNavBarMenuItems } from './TopNavBar/TopNavBarMenuItems'
export { TopNavBarUser } from './TopNavBar/TopNavBarUser'

export type { TopNavBarProps, TopNavBarOwnProps } from './TopNavBar/props'
export type {
Expand Down
3 changes: 3 additions & 0 deletions packages/ui-tree-browser/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
* SOFTWARE.
*/
export { TreeBrowser } from './TreeBrowser'
export { TreeButton } from './TreeBrowser/TreeButton'
export { TreeCollection } from './TreeBrowser/TreeCollection'
export { TreeNode } from './TreeBrowser/TreeNode'

export type { TreeBrowserProps } from './TreeBrowser/props'
export type { TreeBrowserButtonProps } from './TreeBrowser/TreeButton/props'
Expand Down
Loading

0 comments on commit dee9abb

Please sign in to comment.