Skip to content

Commit

Permalink
Added UI images story #718 (#896)
Browse files Browse the repository at this point in the history
* Added UI Images story #718

* Removed unused module
  • Loading branch information
gauri2029 authored Jan 14, 2025
1 parent 557e8aa commit 23ba531
Show file tree
Hide file tree
Showing 15 changed files with 44 additions and 0 deletions.
Binary file added libs/design-system/assets/ui-images/CDE.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added libs/design-system/assets/ui-images/api.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added libs/design-system/assets/ui-images/dashboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added libs/design-system/assets/ui-images/eui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added libs/design-system/assets/ui-images/rui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added libs/design-system/assets/ui-images/storybook.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 44 additions & 0 deletions libs/design-system/src/lib/ui-images.stories.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
import { applicationConfig, Meta, StoryObj } from '@storybook/angular';
import { provideDesignSystem } from './providers';

const meta: Meta = {
title: 'UI Images',
decorators: [
applicationConfig({
providers: [provideDesignSystem()],
}),
],
};
export default meta;
type Story = StoryObj;

export const PNGIcons: Story = {
args: {
imagePath: 'assets/ui-images/placeholder.png',
},
argTypes: {
imagePath: {
control: 'select',
options: [
'assets/ui-images/api.png',
'assets/ui-images/asctb_reporter.png',
'assets/ui-images/CDE.png',
'assets/ui-images/cell_population_graph.png',
'assets/ui-images/cell_population_predictor.png',
'assets/ui-images/dashboard.png',
'assets/ui-images/eui.png',
'assets/ui-images/FTU_explorer.png',
'assets/ui-images/organ_gallery.png',
'assets/ui-images/rui.png',
'assets/ui-images/storybook.png',
'assets/ui-images/tissue_origin_predictor.png',
'assets/ui-images/web_components.png',
],
description: 'Select image',
},
},
render: (args) => ({
props: args,
template: `<img src="${args['imagePath']}"/>`,
}),
};

0 comments on commit 23ba531

Please sign in to comment.