rename airwatch folder

This commit is contained in:
Tykayn 2025-09-09 14:43:57 +02:00 committed by tykayn
parent a05388fcbc
commit 949641d881
262 changed files with 21196 additions and 245 deletions

View file

@ -1,7 +1,7 @@
import type { Meta, StoryObj } from '@storybook/angular';
import { AlertBox } from './alert-box';
import { moduleMetadata } from '@storybook/angular';
import { CommonModule } from '@angular/common';
import type {Meta, StoryObj} from '@storybook/angular';
import {moduleMetadata} from '@storybook/angular';
import {AlertBox} from './alert-box';
import {CommonModule} from '@angular/common';
const meta: Meta<AlertBox> = {
title: 'Components/AlertBox',
@ -35,55 +35,55 @@ export const Warning: Story = {
_alertKind: 'warning'
},
};
export const Success: Story = {
args: {
message: 'Opération réussie !',
_alertKind: 'success'
},
};
export const Info: Story = {
args: {
message: 'Information importante',
_alertKind: 'info'
},
};
export const Primary: Story = {
args: {
message: 'Message principal',
_alertKind: 'primary'
},
};
export const Secondary: Story = {
args: {
message: 'Message secondaire',
_alertKind: 'secondary'
},
};
export const Danger: Story = {
args: {
message: 'Attention danger !',
_alertKind: 'danger'
},
};
export const ErrorState: Story = {
args: {
message: 'Une erreur est survenue',
_alertKind: 'error'
},
};
export const WithContent: Story = {
args: {
_alertKind: 'warning'
},
render: (args) => ({
props: args,
template: `<sae-alert-box [_alertKind]="'warning'">Contenu personnalisé via ng-content</sae-alert-box>`
})
};
//
// export const Success: Story = {
// args: {
// message: 'Opération réussie !',
// _alertKind: 'success'
// },
// };
//
// export const Info: Story = {
// args: {
// message: 'Information importante',
// _alertKind: 'info'
// },
// };
//
// export const Primary: Story = {
// args: {
// message: 'Message principal',
// _alertKind: 'primary'
// },
// };
//
// export const Secondary: Story = {
// args: {
// message: 'Message secondaire',
// _alertKind: 'secondary'
// },
// };
//
// export const Danger: Story = {
// args: {
// message: 'Attention danger !',
// _alertKind: 'danger'
// },
// };
//
// export const ErrorState: Story = {
// args: {
// message: 'Une erreur est survenue',
// _alertKind: 'error'
// },
// };
//
// export const WithContent: Story = {
// args: {
// _alertKind: 'warning'
// },
// render: (args) => ({
// props: args,
// template: `<sae-alert-box [_alertKind]="'warning'">Contenu personnalisé via ng-content</sae-alert-box>`
// })
// };