Skip to content

Commit

Permalink
build(timeline): fixed timeline build on library
Browse files Browse the repository at this point in the history
Closes: #345
  • Loading branch information
AntoninoBonanno committed Jul 7, 2024
1 parent 1c96358 commit 2791124
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ export class ItTimelineItemComponent extends ItAbstractComponent {
*/
@Input() categoryLink: string | undefined;

/** Timeline element show detail link
/**
* Timeline element show detail link
* @default false
*/
@Input({ transform: inputToBoolean })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
[dateFormat]="dateFormat"
[categoryTitle]="element.category?.title"
[categoryLink]="element.category?.link"
[showReadMore]="element.link?.length"
[showReadMore]="!!element.link?.length"
[readMoreLink]="element.link" />
</div>
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ import { ItDateAgoPipe } from './pipes/date-ago.pipe';
import { ItDurationPipe } from './pipes/duration.pipe';
import { ItMarkMatchingTextPipe } from './pipes/mark-matching-text.pipe';
import { ItTimelineModule } from './components/core/timeline/timeline.module';
import { ItTimelineComponent } from './components/core/timeline/timeline.component';
import { ItTimelineItemComponent } from './components/core/timeline/timeline-item/timeline-item.component';

/**
* Core components
Expand Down Expand Up @@ -75,8 +73,6 @@ const core = [
ItTabModule,
ItTableModule,
ItTooltipDirective,
ItTimelineComponent,
ItTimelineItemComponent,
ItTimelineModule,
];

Expand Down
4 changes: 4 additions & 0 deletions projects/design-angular-kit/src/public_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ export * from './lib/components/core/table/table.component';
export * from './lib/components/core/table/sort/sort.directive';
export * from './lib/components/core/table/sort/sort-header/sort-header.component';

export * from './lib/components/core/timeline/timeline.module';
export * from './lib/components/core/timeline/timeline.component';
export * from './lib/components/core/timeline/timeline-item/timeline-item.component';

export * from './lib/components/core/tooltip/tooltip.directive';

// Forms components
Expand Down

0 comments on commit 2791124

Please sign in to comment.