Skip to content

Commit

Permalink
Merge pull request #15103 from primefaces/stepper
Browse files Browse the repository at this point in the history
Stepper
  • Loading branch information
cetincakiroglu authored Mar 20, 2024
2 parents 01fb4ff + 9f2c062 commit 654e27e
Show file tree
Hide file tree
Showing 70 changed files with 21,865 additions and 22,996 deletions.
6 changes: 6 additions & 0 deletions src/app/components/stepper/ng-package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "ng-packagr/ng-package.schema.json",
"lib": {
"entryFile": "public_api.ts"
}
}
2 changes: 2 additions & 0 deletions src/app/components/stepper/public_api.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from './stepper';
export * from './stepper.interface';
9 changes: 9 additions & 0 deletions src/app/components/stepper/stepper.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@layer primeng {
.p-stepper-vertical .p-stepper-panel > .p-stepper-toggleable-content {
overflow: hidden;
}

.p-stepper-vertical .p-stepper-panel-active > .p-stepper-toggleable-content:not(.ng-animating) {
overflow: inherit;
}
}
28 changes: 28 additions & 0 deletions src/app/components/stepper/stepper.interface.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import { TemplateRef } from '@angular/core';
import { Stepper } from './stepper';

/**
* Defines valid templates in Stepper.
* @group Templates
*/
export interface StepperTemplates {
/**
* Custom start template.
*/
start(): TemplateRef<any>;
/**
* Custom end template.
*/
end(): TemplateRef<any>;
}
/**
* Custom active step change event.
* @see {@link Stepper.onActiveStepChange}
* @group Events
*/
export interface ActiveStepChangeEvent {
/**
* Emitted when the value changes.
*/
value: number | undefined | null;
}
Loading

0 comments on commit 654e27e

Please sign in to comment.