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

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

No files matched your search

@@ -1,6 +1,8 @@
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('idp-review-user-profile.ftl');
export default {
kind: 'Page',
@@ -11,7 +13,5 @@ export default {
},
} as ComponentMeta<typeof KcApp>;
const bind = template('idp-review-user-profile.ftl');
export const Default = bind({})
@@ -1,6 +1,6 @@
import React, { useState } from "react";
import { clsx } from "keycloakify/lib/tools/clsx";
import { UserProfileFormFields } from "./shared/UserProfileCommons";
import { UserProfileFormFields } from "keycloakify/lib/pages/shared/UserProfileCommons";
import type { PageProps } from "keycloakify";
import type { KcContext } from "../kcContext";
import type { I18n } from "../i18n";
+4 -3
View File
@@ -1,6 +1,8 @@
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('info.ftl');
export default {
kind: 'Page',
@@ -11,7 +13,6 @@ export default {
},
} as ComponentMeta<typeof KcApp>;
const bind = template('info.ftl');
export const Default = bind({
messageHeader: 'Yo, get this:',
Loaded 3 of 30 files, more files were not shown because too many files have changed in this diff. Show more