@keycloakify/keycloak-ui-shared 260007.0.1 → 260007.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/keycloak-theme/shared/@patternfly/react-core/index.tsx +2 -0
- package/keycloak-theme/shared/@patternfly/react-icons/index.tsx +2 -0
- package/keycloak-theme/shared/@patternfly/react-styles/index.tsx +2 -0
- package/keycloak-theme/shared/@patternfly/react-table/index.tsx +2 -0
- package/keycloak-theme/shared/keycloak-ui-shared/alerts/AlertPanel.tsx +1 -1
- package/keycloak-theme/shared/keycloak-ui-shared/alerts/Alerts.tsx +1 -1
- package/keycloak-theme/shared/keycloak-ui-shared/buttons/FormSubmitButton.tsx +1 -1
- package/keycloak-theme/shared/keycloak-ui-shared/context/ErrorPage.tsx +1 -1
- package/keycloak-theme/shared/keycloak-ui-shared/context/KeycloakContext.tsx +1 -1
- package/keycloak-theme/shared/keycloak-ui-shared/continue-cancel/ContinueCancelModal.tsx +1 -1
- package/keycloak-theme/shared/keycloak-ui-shared/controls/FormErrorText.tsx +2 -2
- package/keycloak-theme/shared/keycloak-ui-shared/controls/FormLabel.tsx +1 -1
- package/keycloak-theme/shared/keycloak-ui-shared/controls/HelpItem.tsx +2 -2
- package/keycloak-theme/shared/keycloak-ui-shared/controls/KeycloakSpinner.tsx +1 -1
- package/keycloak-theme/shared/keycloak-ui-shared/controls/NumberControl.tsx +1 -1
- package/keycloak-theme/shared/keycloak-ui-shared/controls/OrganizationTable.tsx +2 -2
- package/keycloak-theme/shared/keycloak-ui-shared/controls/PasswordControl.tsx +1 -1
- package/keycloak-theme/shared/keycloak-ui-shared/controls/PasswordInput.tsx +2 -2
- package/keycloak-theme/shared/keycloak-ui-shared/controls/SwitchControl.tsx +1 -1
- package/keycloak-theme/shared/keycloak-ui-shared/controls/TextAreaControl.tsx +1 -1
- package/keycloak-theme/shared/keycloak-ui-shared/controls/TextControl.tsx +1 -1
- package/keycloak-theme/shared/keycloak-ui-shared/controls/keycloak-text-area/KeycloakTextArea.tsx +1 -1
- package/keycloak-theme/shared/keycloak-ui-shared/controls/select-control/SelectControl.tsx +1 -1
- package/keycloak-theme/shared/keycloak-ui-shared/controls/select-control/SingleSelectControl.tsx +1 -1
- package/keycloak-theme/shared/keycloak-ui-shared/controls/select-control/TypeaheadSelectControl.tsx +2 -2
- package/keycloak-theme/shared/keycloak-ui-shared/controls/table/KeycloakDataTable.tsx +3 -3
- package/keycloak-theme/shared/keycloak-ui-shared/controls/table/ListEmptyState.tsx +2 -2
- package/keycloak-theme/shared/keycloak-ui-shared/controls/table/PaginatingTableToolbar.tsx +1 -1
- package/keycloak-theme/shared/keycloak-ui-shared/controls/table/TableToolbar.tsx +1 -1
- package/keycloak-theme/shared/keycloak-ui-shared/icons/IconMapper.tsx +2 -2
- package/keycloak-theme/shared/keycloak-ui-shared/masthead/DefaultAvatar.tsx +1 -1
- package/keycloak-theme/shared/keycloak-ui-shared/masthead/KeycloakDropdown.tsx +2 -2
- package/keycloak-theme/shared/keycloak-ui-shared/masthead/Masthead.tsx +2 -2
- package/keycloak-theme/shared/keycloak-ui-shared/scroll-form/FormPanel.tsx +1 -1
- package/keycloak-theme/shared/keycloak-ui-shared/scroll-form/FormTitle.tsx +1 -1
- package/keycloak-theme/shared/keycloak-ui-shared/scroll-form/ScrollForm.tsx +1 -1
- package/keycloak-theme/shared/keycloak-ui-shared/select/KeycloakSelect.tsx +1 -1
- package/keycloak-theme/shared/keycloak-ui-shared/select/SingleSelect.tsx +1 -1
- package/keycloak-theme/shared/keycloak-ui-shared/select/TypeaheadSelect.tsx +2 -2
- package/keycloak-theme/shared/keycloak-ui-shared/user-profile/MultiInputComponent.tsx +2 -2
- package/keycloak-theme/shared/keycloak-ui-shared/user-profile/OptionsComponent.tsx +1 -1
- package/keycloak-theme/shared/keycloak-ui-shared/user-profile/SelectComponent.tsx +1 -1
- package/keycloak-theme/shared/keycloak-ui-shared/user-profile/TextComponent.tsx +1 -1
- package/keycloak-theme/shared/keycloak-ui-shared/user-profile/UserProfileFields.tsx +1 -1
- package/keycloak-theme/shared/keycloak-ui-shared/user-profile/UserProfileGroup.tsx +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
|
|
5
|
-
import { AlertVariant } from "
|
|
5
|
+
import { AlertVariant } from "../../@patternfly/react-core";
|
|
6
6
|
import { PropsWithChildren, useCallback, useMemo, useState } from "react";
|
|
7
7
|
import { useTranslation } from "react-i18next";
|
|
8
8
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
|
|
5
5
|
import { ReactNode, useState } from "react";
|
|
6
|
-
import { Button, ButtonProps, Modal, ModalProps } from "
|
|
6
|
+
import { Button, ButtonProps, Modal, ModalProps } from "../../@patternfly/react-core";
|
|
7
7
|
|
|
8
8
|
export type ContinueCancelModalProps = Omit<ModalProps, "ref" | "children"> & {
|
|
9
9
|
modalTitle: string;
|
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
FormHelperTextProps,
|
|
8
8
|
HelperText,
|
|
9
9
|
HelperTextItem,
|
|
10
|
-
} from "
|
|
11
|
-
import { ExclamationCircleIcon } from "
|
|
10
|
+
} from "../../@patternfly/react-core";
|
|
11
|
+
import { ExclamationCircleIcon } from "../../@patternfly/react-icons";
|
|
12
12
|
|
|
13
13
|
export type FormErrorTextProps = FormHelperTextProps & {
|
|
14
14
|
message: string;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
|
|
5
|
-
import { FormGroup, FormGroupProps } from "
|
|
5
|
+
import { FormGroup, FormGroupProps } from "../../@patternfly/react-core";
|
|
6
6
|
import { PropsWithChildren, ReactNode } from "react";
|
|
7
7
|
import { FieldError, FieldValues, Merge } from "react-hook-form";
|
|
8
8
|
import { FormErrorText } from "./FormErrorText";
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
|
|
5
|
-
import { Icon, Popover } from "
|
|
6
|
-
import { HelpIcon } from "
|
|
5
|
+
import { Icon, Popover } from "../../@patternfly/react-core";
|
|
6
|
+
import { HelpIcon } from "../../@patternfly/react-icons";
|
|
7
7
|
import { ReactNode } from "react";
|
|
8
8
|
import { useHelp } from "../context/HelpContext";
|
|
9
9
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
|
|
5
5
|
import OrganizationRepresentation from "@keycloak/keycloak-admin-client/lib/defs/organizationRepresentation";
|
|
6
|
-
import { Badge, Chip, ChipGroup } from "
|
|
7
|
-
import { TableText } from "
|
|
6
|
+
import { Badge, Chip, ChipGroup } from "../../@patternfly/react-core";
|
|
7
|
+
import { TableText } from "../../@patternfly/react-table";
|
|
8
8
|
import { FunctionComponent, PropsWithChildren, ReactNode } from "react";
|
|
9
9
|
import { useTranslation } from "react-i18next";
|
|
10
10
|
import { KeycloakDataTable, LoaderFunction } from "./table/KeycloakDataTable";
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
InputGroupItem,
|
|
9
9
|
TextInput,
|
|
10
10
|
type TextInputProps,
|
|
11
|
-
} from "
|
|
12
|
-
import { EyeIcon, EyeSlashIcon } from "
|
|
11
|
+
} from "../../@patternfly/react-core";
|
|
12
|
+
import { EyeIcon, EyeSlashIcon } from "../../@patternfly/react-icons";
|
|
13
13
|
import { MutableRefObject, Ref, forwardRef, useState } from "react";
|
|
14
14
|
import { useTranslation } from "react-i18next";
|
|
15
15
|
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
PathValue,
|
|
11
11
|
useFormContext,
|
|
12
12
|
} from "react-hook-form";
|
|
13
|
-
import { SwitchProps, Switch } from "
|
|
13
|
+
import { SwitchProps, Switch } from "../../@patternfly/react-core";
|
|
14
14
|
import { FormLabel } from "./FormLabel";
|
|
15
15
|
|
|
16
16
|
export type SwitchControlProps<
|
package/keycloak-theme/shared/keycloak-ui-shared/controls/keycloak-text-area/KeycloakTextArea.tsx
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
// TODO: Remove code once the following issue has been fixed:
|
|
6
6
|
// https://github.com/patternfly/patternfly-react/issues/10192
|
|
7
|
-
import { TextArea } from "
|
|
7
|
+
import { TextArea } from "../../../@patternfly/react-core";
|
|
8
8
|
import {
|
|
9
9
|
ComponentProps,
|
|
10
10
|
HTMLProps,
|
package/keycloak-theme/shared/keycloak-ui-shared/controls/select-control/TypeaheadSelectControl.tsx
CHANGED
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
TextInputGroup,
|
|
15
15
|
TextInputGroupMain,
|
|
16
16
|
TextInputGroupUtilities,
|
|
17
|
-
} from "
|
|
18
|
-
import { TimesIcon } from "
|
|
17
|
+
} from "../../../@patternfly/react-core";
|
|
18
|
+
import { TimesIcon } from "../../../@patternfly/react-icons";
|
|
19
19
|
import { get } from "lodash-es";
|
|
20
20
|
import { useMemo, useRef, useState } from "react";
|
|
21
21
|
import {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
|
|
5
|
-
import { Button, ButtonVariant, ToolbarItem } from "
|
|
5
|
+
import { Button, ButtonVariant, ToolbarItem } from "../../../@patternfly/react-core";
|
|
6
6
|
import type { SVGIconProps } from "@patternfly/react-icons/dist/js/createIcon";
|
|
7
7
|
import {
|
|
8
8
|
ActionsColumn,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
Th,
|
|
23
23
|
Thead,
|
|
24
24
|
Tr,
|
|
25
|
-
} from "
|
|
25
|
+
} from "../../../@patternfly/react-table";
|
|
26
26
|
import { cloneDeep, differenceBy, get } from "lodash-es";
|
|
27
27
|
import {
|
|
28
28
|
ComponentClass,
|
|
@@ -41,7 +41,7 @@ import { useStoredState } from "../../utils/useStoredState";
|
|
|
41
41
|
import { useFetch } from "../../utils/useFetch";
|
|
42
42
|
import { ListEmptyState } from "./ListEmptyState";
|
|
43
43
|
import { PaginatingTableToolbar } from "./PaginatingTableToolbar";
|
|
44
|
-
import { SyncAltIcon } from "
|
|
44
|
+
import { SyncAltIcon } from "../../../@patternfly/react-icons";
|
|
45
45
|
import { KeycloakSpinner } from "../KeycloakSpinner";
|
|
46
46
|
|
|
47
47
|
type TitleCell = { title: JSX.Element };
|
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
EmptyStateActions,
|
|
13
13
|
EmptyStateHeader,
|
|
14
14
|
EmptyStateFooter,
|
|
15
|
-
} from "
|
|
15
|
+
} from "../../../@patternfly/react-core";
|
|
16
16
|
import type { SVGIconProps } from "@patternfly/react-icons/dist/js/createIcon";
|
|
17
|
-
import { PlusCircleIcon, SearchIcon } from "
|
|
17
|
+
import { PlusCircleIcon, SearchIcon } from "../../../@patternfly/react-icons";
|
|
18
18
|
|
|
19
19
|
export type Action = {
|
|
20
20
|
text: string;
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
Toolbar,
|
|
10
10
|
ToolbarContent,
|
|
11
11
|
ToolbarItem,
|
|
12
|
-
} from "
|
|
12
|
+
} from "../../../@patternfly/react-core";
|
|
13
13
|
import { KeyboardEvent, PropsWithChildren, ReactNode, useState } from "react";
|
|
14
14
|
import { useTranslation } from "react-i18next";
|
|
15
15
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
|
|
5
|
-
import { Icon } from "
|
|
5
|
+
import { Icon } from "../../@patternfly/react-core";
|
|
6
6
|
import {
|
|
7
7
|
BitbucketIcon,
|
|
8
8
|
CubeIcon,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
PaypalIcon,
|
|
18
18
|
StackOverflowIcon,
|
|
19
19
|
TwitterIcon,
|
|
20
|
-
} from "
|
|
20
|
+
} from "../../@patternfly/react-icons";
|
|
21
21
|
|
|
22
22
|
type IconMapperProps = {
|
|
23
23
|
icon: string;
|
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
DropdownList,
|
|
8
8
|
DropdownProps,
|
|
9
9
|
MenuToggle,
|
|
10
|
-
} from "
|
|
11
|
-
import { EllipsisVIcon } from "
|
|
10
|
+
} from "../../@patternfly/react-core";
|
|
11
|
+
import { EllipsisVIcon } from "../../@patternfly/react-icons";
|
|
12
12
|
import { ReactNode, useState } from "react";
|
|
13
13
|
|
|
14
14
|
type KeycloakDropdownProps = Omit<DropdownProps, "toggle"> & {
|
|
@@ -16,8 +16,8 @@ import {
|
|
|
16
16
|
Toolbar,
|
|
17
17
|
ToolbarContent,
|
|
18
18
|
ToolbarItem,
|
|
19
|
-
} from "
|
|
20
|
-
import { BarsIcon } from "
|
|
19
|
+
} from "../../@patternfly/react-core";
|
|
20
|
+
import { BarsIcon } from "../../@patternfly/react-icons";
|
|
21
21
|
import { TFunction } from "i18next";
|
|
22
22
|
import Keycloak, { type KeycloakTokenParsed } from "keycloak-js";
|
|
23
23
|
import { ReactNode } from "react";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
|
|
5
|
-
import { Card, CardBody, CardHeader, CardTitle } from "
|
|
5
|
+
import { Card, CardBody, CardHeader, CardTitle } from "../../@patternfly/react-core";
|
|
6
6
|
import { PropsWithChildren, useId } from "react";
|
|
7
7
|
import { FormTitle } from "./FormTitle";
|
|
8
8
|
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
JumpLinks,
|
|
10
10
|
JumpLinksItem,
|
|
11
11
|
PageSection,
|
|
12
|
-
} from "
|
|
12
|
+
} from "../../@patternfly/react-core";
|
|
13
13
|
import { Fragment, ReactNode, useMemo } from "react";
|
|
14
14
|
import { FormPanel } from "./FormPanel";
|
|
15
15
|
import { ScrollPanel } from "./ScrollPanel";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
|
|
5
|
-
import { ChipGroupProps, SelectProps } from "
|
|
5
|
+
import { ChipGroupProps, SelectProps } from "../../@patternfly/react-core";
|
|
6
6
|
import { SingleSelect } from "./SingleSelect";
|
|
7
7
|
import { TypeaheadSelect } from "./TypeaheadSelect";
|
|
8
8
|
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
Select,
|
|
8
8
|
SelectList,
|
|
9
9
|
SelectOptionProps,
|
|
10
|
-
} from "
|
|
10
|
+
} from "../../@patternfly/react-core";
|
|
11
11
|
import { Children, useRef, useState } from "react";
|
|
12
12
|
import { KeycloakSelectProps, propertyToString } from "./KeycloakSelect";
|
|
13
13
|
|
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
TextInputGroup,
|
|
16
16
|
TextInputGroupMain,
|
|
17
17
|
TextInputGroupUtilities,
|
|
18
|
-
} from "
|
|
19
|
-
import { TimesIcon } from "
|
|
18
|
+
} from "../../@patternfly/react-core";
|
|
19
|
+
import { TimesIcon } from "../../@patternfly/react-icons";
|
|
20
20
|
import { Children, useRef, useState } from "react";
|
|
21
21
|
import {
|
|
22
22
|
KeycloakSelectProps,
|
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
TextInputProps,
|
|
11
11
|
TextInputTypes,
|
|
12
12
|
InputGroupItem,
|
|
13
|
-
} from "
|
|
14
|
-
import { MinusCircleIcon, PlusCircleIcon } from "
|
|
13
|
+
} from "../../@patternfly/react-core";
|
|
14
|
+
import { MinusCircleIcon, PlusCircleIcon } from "../../@patternfly/react-icons";
|
|
15
15
|
import { type TFunction } from "i18next";
|
|
16
16
|
import { Fragment, useEffect, useMemo } from "react";
|
|
17
17
|
import { FieldPath, UseFormReturn, useWatch } from "react-hook-form";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
|
|
5
|
-
import { SelectOption } from "
|
|
5
|
+
import { SelectOption } from "../../@patternfly/react-core";
|
|
6
6
|
import { useState } from "react";
|
|
7
7
|
import { Controller, ControllerRenderProps } from "react-hook-form";
|
|
8
8
|
import { KeycloakSelect, SelectVariant } from "../select/KeycloakSelect";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
|
|
5
|
-
import { TextInput, TextInputTypes } from "
|
|
5
|
+
import { TextInput, TextInputTypes } from "../../@patternfly/react-core";
|
|
6
6
|
|
|
7
7
|
import { UserProfileFieldProps } from "./UserProfileFields";
|
|
8
8
|
import { UserProfileGroup } from "./UserProfileGroup";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
UserProfileAttributeMetadata,
|
|
8
8
|
UserProfileMetadata,
|
|
9
9
|
} from "@keycloak/keycloak-admin-client/lib/defs/userProfileMetadata";
|
|
10
|
-
import { Text } from "
|
|
10
|
+
import { Text } from "../../@patternfly/react-core";
|
|
11
11
|
import { TFunction } from "i18next";
|
|
12
12
|
import { ReactNode, useMemo, type JSX } from "react";
|
|
13
13
|
import { FieldPath, UseFormReturn } from "react-hook-form";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
|
|
5
5
|
import { UserProfileAttributeMetadata } from "@keycloak/keycloak-admin-client/lib/defs/userProfileMetadata";
|
|
6
|
-
import { FormGroup, InputGroup } from "
|
|
6
|
+
import { FormGroup, InputGroup } from "../../@patternfly/react-core";
|
|
7
7
|
import { TFunction } from "i18next";
|
|
8
8
|
import { get } from "lodash-es";
|
|
9
9
|
import { PropsWithChildren, ReactNode } from "react";
|