-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
16,870 additions
and
21,766 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
export const RADIAL_CHART_SIZE = { | ||
SMALL: 'sm', | ||
MEDIUM: 'md', | ||
LARGE: 'lg', | ||
} as const; | ||
|
||
export type RadialChartSize = typeof RADIAL_CHART_SIZE[keyof typeof RADIAL_CHART_SIZE]; | ||
|
||
export const RADIAL_CHART_COLOR = { | ||
GREEN: 'green', | ||
ORANGE: 'orange', | ||
RED: 'red' | ||
} as const; | ||
|
||
export type RadialChartColor = typeof RADIAL_CHART_COLOR[keyof typeof RADIAL_CHART_COLOR]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
libs/ui/src/component/user-flow-form/user-flow-form.stories.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { Meta, StoryObj } from '@storybook/angular'; | ||
import { UserFlowFormComponent } from './user-flow-form.component'; | ||
import { of } from 'rxjs'; | ||
|
||
const meta: Meta<UserFlowFormComponent> = { | ||
title: 'User-Flow Form', | ||
component: UserFlowFormComponent, | ||
}; | ||
export default meta; | ||
|
||
type Story = StoryObj<UserFlowFormComponent>; | ||
|
||
const disabled = of(false); | ||
const enabled = of(true); | ||
|
||
export const Enabled: Story = { args: { disabled: enabled } }; | ||
export const Disabled: Story = { args: { disabled: disabled } }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"compilerOptions": { | ||
"emitDecoratorMetadata": true | ||
}, | ||
"exclude": ["./src/**/*.spec.ts"], | ||
"include": [ | ||
"./src/**/*.stories.ts", | ||
"./.storybook/*.ts" | ||
] | ||
} |
Oops, something went wrong.