Skip to content

Commit

Permalink
feat(design): expose all functions and types of DaffTextAlignable to …
Browse files Browse the repository at this point in the history
…the public api (#2650)
  • Loading branch information
xelaint committed Dec 12, 2023
1 parent 04e886c commit 958dfa7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/design/src/core/public_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export * from './constructor/constructor';
export * from './statusable/public_api';
export * from './skeletonable/public_api';
export * from './mutable/mutable';
export * from './text-alignable/text-alignable';
export * from './text-alignable/public_api';
export * from './compactable/public_api';
export * from './manage-container-layout/public_api';
export * from './article-encapsulated/public_api';
Expand Down
6 changes: 6 additions & 0 deletions libs/design/src/core/text-alignable/public_api.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export {
DaffTextAlignable,
DaffTextAlignment,
DaffTextAlignmentEnum,
} from './text-alignable';
export { daffTextAlignmentMixin } from './text-alignable-mixin';
4 changes: 3 additions & 1 deletion libs/design/src/core/text-alignable/text-alignable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ export interface DaffTextAlignable {
textAlignment: DaffTextAlignment;
}

/**
* The possible types that can be passed to a DaffTextAlignable component
*/
export type DaffTextAlignment = 'left' | 'center' | 'right';

export enum DaffTextAlignmentEnum {
Left = 'left',
Center = 'center',
Expand Down

0 comments on commit 958dfa7

Please sign in to comment.