feat(storybook): update formatting; introduce new pages; update keycloakify

This commit is contained in:
Waldemar Reusch 2023-03-16 11:32:11 +01:00
parent 60c4adf572
commit 09ce9d97f6
30 changed files with 882 additions and 91 deletions

View file

@ -1,6 +1,6 @@
import {ComponentMeta} from '@storybook/react';
import { ComponentMeta } from '@storybook/react';
import KcApp from '../KcApp';
import {template} from '../../../.storybook/util'
import { template } from '../../../.storybook/util'
const bind = template('register-user-profile.ftl')
@ -8,11 +8,12 @@ export default {
kind: 'Page',
title: 'Theme/Pages/Register/Modern',
component: KcApp,
parameters: {layout: 'fullscreen'},
parameters: { layout: 'fullscreen' },
} as ComponentMeta<typeof KcApp>;
export const Default = bind({})
/*
export const WithFieldError = bind({
profile: {
attributes: [
@ -77,3 +78,5 @@ export const WithImmutablePresets = bind({
]
}
})
*/