feat(storybook): restructure storybook component hierarchy

This commit is contained in:
Waldemar Reusch 2023-03-14 18:10:09 +01:00
parent e498e486a0
commit 0d775e4e06
14 changed files with 15 additions and 15 deletions

View file

@ -6,7 +6,7 @@ const bind = template('error.ftl');
export default { export default {
kind: 'Page', kind: 'Page',
title: 'Theme/Pages/Error', title: 'Theme/Pages/Notification/Error',
component: KcApp, component: KcApp,
parameters: { parameters: {
layout: 'fullscreen', layout: 'fullscreen',

View file

@ -4,7 +4,7 @@ import {template} from '../../../.storybook/util'
export default { export default {
kind: 'Page', kind: 'Page',
title: 'Theme/Pages/Login/Review IDP User Profile', title: 'Theme/Pages/IDP/Review User Profile',
component: KcApp, component: KcApp,
parameters: { parameters: {
layout: 'fullscreen', layout: 'fullscreen',

View file

@ -4,7 +4,7 @@ import {template} from '../../../.storybook/util'
export default { export default {
kind: 'Page', kind: 'Page',
title: 'Theme/Pages/Info', title: 'Theme/Pages/Notification/Info',
component: KcApp, component: KcApp,
parameters: { parameters: {
layout: 'fullscreen', layout: 'fullscreen',

View file

@ -4,7 +4,7 @@ import {template} from '../../../.storybook/util'
export default { export default {
kind: 'Page', kind: 'Page',
title: 'Theme/Pages/Login/Configure TOTP', title: 'Theme/Pages/Actions/Configure TOTP',
component: KcApp, component: KcApp,
parameters: { parameters: {
layout: 'fullscreen', layout: 'fullscreen',

View file

@ -4,7 +4,7 @@ import {template} from '../../../.storybook/util'
export default { export default {
kind: 'Page', kind: 'Page',
title: 'Theme/Pages/Login/Confirm IDP Link', title: 'Theme/Pages/IDP/Confirm Link',
component: KcApp, component: KcApp,
parameters: { parameters: {
layout: 'fullscreen', layout: 'fullscreen',

View file

@ -4,7 +4,7 @@ import {template} from '../../../.storybook/util'
export default { export default {
kind: 'Page', kind: 'Page',
title: 'Theme/Pages/Login/Confirm IDP Email', title: 'Theme/Pages/IDP/Confirm Email',
component: KcApp, component: KcApp,
parameters: { parameters: {
layout: 'fullscreen', layout: 'fullscreen',

View file

@ -1,10 +1,10 @@
import {ComponentMeta} from '@storybook/react'; import {ComponentMeta} from '@storybook/react';
import KcApp from '../KcApp'; import KcApp from '../KcApp';
import {socialProviders, template} from '../../../.storybook/util' import {template} from '../../../.storybook/util'
export default { export default {
kind: 'Page', kind: 'Page',
title: 'Theme/Pages/Login/Login OTP', title: 'Theme/Pages/Login/OTP',
component: KcApp, component: KcApp,
parameters: { parameters: {
layout: 'fullscreen', layout: 'fullscreen',

View file

@ -4,7 +4,7 @@ import {template} from '../../../.storybook/util'
export default { export default {
kind: 'Page', kind: 'Page',
title: 'Theme/Pages/Login/Password Reset', title: 'Theme/Pages/Login/Reset Password',
component: KcApp, component: KcApp,
parameters: { parameters: {
layout: 'fullscreen', layout: 'fullscreen',

View file

@ -4,7 +4,7 @@ import {template} from '../../../.storybook/util'
export default { export default {
kind: 'Page', kind: 'Page',
title: 'Theme/Pages/Login/Password Update', title: 'Theme/Pages/Actions/Update Password',
component: KcApp, component: KcApp,
parameters: { parameters: {
layout: 'fullscreen', layout: 'fullscreen',

View file

@ -4,7 +4,7 @@ import {template} from '../../../.storybook/util'
export default { export default {
kind: 'Page', kind: 'Page',
title: 'Theme/Pages/My Extra Page 1', title: 'Theme/Pages/Custom/My Extra Page 1',
component: KcApp, component: KcApp,
parameters: { parameters: {
layout: 'fullscreen', layout: 'fullscreen',

View file

@ -4,7 +4,7 @@ import {template} from '../../../.storybook/util'
export default { export default {
kind: 'Page', kind: 'Page',
title: 'Theme/Pages/My Extra Page 2', title: 'Theme/Pages/Custom/My Extra Page 2',
component: KcApp, component: KcApp,
parameters: { parameters: {
layout: 'fullscreen', layout: 'fullscreen',

View file

@ -4,7 +4,7 @@ import {template} from '../../../.storybook/util'
export default { export default {
kind: 'Page', kind: 'Page',
title: 'Theme/Pages/Register', title: 'Theme/Pages/Register/Legacy',
component: KcApp, component: KcApp,
parameters: { parameters: {
layout: 'fullscreen', layout: 'fullscreen',

View file

@ -6,7 +6,7 @@ const bind = template('register-user-profile.ftl')
export default { export default {
kind: 'Page', kind: 'Page',
title: 'Theme/Pages/Register User Profile', title: 'Theme/Pages/Register/Modern',
component: KcApp, component: KcApp,
parameters: {layout: 'fullscreen'}, parameters: {layout: 'fullscreen'},
} as ComponentMeta<typeof KcApp>; } as ComponentMeta<typeof KcApp>;

View file

@ -5,7 +5,7 @@ import {template} from '../../../.storybook/util'
const bind = template('terms.ftl'); const bind = template('terms.ftl');
export default { export default {
kind: 'Page', kind: 'Page',
title: 'Theme/Pages/Terms', title: 'Theme/Pages/Actions/Terms',
component: KcApp, component: KcApp,
parameters: { parameters: {
layout: 'fullscreen', layout: 'fullscreen',