keycloak-scim/js/libs/ui-shared/src/main.ts
Erik Jan de Wit d2e8092c7f
move keycloak select to ui-shared and fix typeahead (#30209)
* move keycloak select to ui-shared and fix typeahead

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* Fix the account console test

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>

* Fix cypress tests

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>

* fix for when value is an array

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fix for when value is an array

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* add support for array selecting single value

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed saying open once clicked outside and value

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* small issue when pressing enter

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
Co-authored-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-06-07 16:05:03 +00:00

62 lines
2.2 KiB
TypeScript

export { AlertProvider, useAlerts } from "./alerts/Alerts";
export { ErrorPage } from "./context/ErrorPage";
export { Help, useHelp } from "./context/HelpContext";
export {
KeycloakProvider,
useEnvironment,
type KeycloakContext,
} from "./context/KeycloakContext";
export {
getInjectedEnvironment,
type BaseEnvironment,
} from "./context/environment";
export { ContinueCancelModal } from "./continue-cancel/ContinueCancelModal";
export {
FormErrorText,
type FormErrorTextProps,
} from "./controls/FormErrorText";
export { HelpItem } from "./controls/HelpItem";
export { NumberControl } from "./controls/NumberControl";
export { PasswordControl } from "./controls/PasswordControl";
export { PasswordInput } from "./controls/PasswordInput";
export {
SelectControl,
SelectVariant,
} from "./controls/select-control/SelectControl";
export type {
SelectControlOption,
SelectControlProps,
} from "./controls/select-control/SelectControl";
export {
SwitchControl,
type SwitchControlProps,
} from "./controls/SwitchControl";
export { TextAreaControl } from "./controls/TextAreaControl";
export { TextControl } from "./controls/TextControl";
export {
KeycloakTextArea,
type KeycloakTextAreaProps,
} from "./controls/keycloak-text-area/KeycloakTextArea";
export { IconMapper } from "./icons/IconMapper";
export { FormPanel } from "./scroll-form/FormPanel";
export { ScrollForm, mainPageContentId } from "./scroll-form/ScrollForm";
export {
FormSubmitButton,
type FormSubmitButtonProps,
} from "./buttons/FormSubmitButton";
export { UserProfileFields } from "./user-profile/UserProfileFields";
export {
beerify,
debeerify,
isUserProfileError,
label,
setUserProfileServerError,
} from "./user-profile/utils";
export type { UserFormFields } from "./user-profile/utils";
export { createNamedContext } from "./utils/createNamedContext";
export { isDefined } from "./utils/isDefined";
export { useRequiredContext } from "./utils/useRequiredContext";
export { useStoredState } from "./utils/useStoredState";
export { default as KeycloakMasthead } from "./masthead/Masthead";
export { KeycloakSelect } from "./select/KeycloakSelect";
export type { Variant, KeycloakSelectProps } from "./select/KeycloakSelect";