feat(storybook): update formatting; introduce new pages; update keycloakify
This commit is contained in:
1 parent
60c4adf572
commit
09ce9d97f6
30 files changed
+882
-91
No files matched your search
+1
-1
@@ -28,7 +28,7 @@
|
|||||||
"evt": "^2.4.15",
|
"evt": "^2.4.15",
|
||||||
"jwt-decode": "^3.1.2",
|
"jwt-decode": "^3.1.2",
|
||||||
"keycloak-js": "^21.0.1",
|
"keycloak-js": "^21.0.1",
|
||||||
"keycloakify": "^6.12.7",
|
"keycloakify": "^6.13.1",
|
||||||
"powerhooks": "^0.26.2",
|
"powerhooks": "^0.26.2",
|
||||||
"react": "18.1.0",
|
"react": "18.1.0",
|
||||||
"react-dom": "18.1.0",
|
"react-dom": "18.1.0",
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
import {ComponentMeta} from '@storybook/react';
|
import { ComponentMeta } from '@storybook/react';
|
||||||
import KcApp from '../KcApp';
|
import KcApp from '../KcApp';
|
||||||
import {template} from '../../../.storybook/util'
|
import { template } from '../../../.storybook/util'
|
||||||
|
|
||||||
|
const bind = template('idp-review-user-profile.ftl');
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
kind: 'Page',
|
kind: 'Page',
|
||||||
@@ -11,7 +13,5 @@ export default {
|
|||||||
},
|
},
|
||||||
} as ComponentMeta<typeof KcApp>;
|
} as ComponentMeta<typeof KcApp>;
|
||||||
|
|
||||||
const bind = template('idp-review-user-profile.ftl');
|
|
||||||
|
|
||||||
export const Default = bind({})
|
export const Default = bind({})
|
||||||
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
import React, { useState } from "react";
|
import React, { useState } from "react";
|
||||||
import { clsx } from "keycloakify/lib/tools/clsx";
|
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 { PageProps } from "keycloakify";
|
||||||
import type { KcContext } from "../kcContext";
|
import type { KcContext } from "../kcContext";
|
||||||
import type { I18n } from "../i18n";
|
import type { I18n } from "../i18n";
|
||||||
|
|||||||
Loaded 3 of 30 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user