@keycloakify/keycloak-ui-shared 26.0.6001 → 26.0.6002

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.
Files changed (63) hide show
  1. package/keycloak-theme/shared/keycloak-ui-shared/alerts/AlertPanel.tsx +2 -0
  2. package/keycloak-theme/shared/keycloak-ui-shared/alerts/Alerts.tsx +2 -0
  3. package/keycloak-theme/shared/keycloak-ui-shared/buttons/FormSubmitButton.tsx +2 -0
  4. package/keycloak-theme/shared/keycloak-ui-shared/context/ErrorPage.tsx +2 -0
  5. package/keycloak-theme/shared/keycloak-ui-shared/context/HelpContext.tsx +2 -0
  6. package/keycloak-theme/shared/keycloak-ui-shared/context/KeycloakContext.tsx +2 -0
  7. package/keycloak-theme/shared/keycloak-ui-shared/context/environment.ts +2 -0
  8. package/keycloak-theme/shared/keycloak-ui-shared/continue-cancel/ContinueCancelModal.tsx +2 -0
  9. package/keycloak-theme/shared/keycloak-ui-shared/controls/FormErrorText.tsx +2 -0
  10. package/keycloak-theme/shared/keycloak-ui-shared/controls/FormLabel.tsx +2 -0
  11. package/keycloak-theme/shared/keycloak-ui-shared/controls/HelpItem.tsx +2 -0
  12. package/keycloak-theme/shared/keycloak-ui-shared/controls/KeycloakSpinner.tsx +2 -0
  13. package/keycloak-theme/shared/keycloak-ui-shared/controls/NumberControl.tsx +2 -0
  14. package/keycloak-theme/shared/keycloak-ui-shared/controls/OrganizationTable.tsx +2 -0
  15. package/keycloak-theme/shared/keycloak-ui-shared/controls/PasswordControl.tsx +2 -0
  16. package/keycloak-theme/shared/keycloak-ui-shared/controls/PasswordInput.tsx +2 -0
  17. package/keycloak-theme/shared/keycloak-ui-shared/controls/SwitchControl.tsx +2 -0
  18. package/keycloak-theme/shared/keycloak-ui-shared/controls/TextAreaControl.tsx +2 -0
  19. package/keycloak-theme/shared/keycloak-ui-shared/controls/TextControl.tsx +2 -0
  20. package/keycloak-theme/shared/keycloak-ui-shared/controls/keycloak-text-area/KeycloakTextArea.tsx +2 -0
  21. package/keycloak-theme/shared/keycloak-ui-shared/controls/select-control/SelectControl.tsx +2 -0
  22. package/keycloak-theme/shared/keycloak-ui-shared/controls/select-control/SingleSelectControl.tsx +2 -0
  23. package/keycloak-theme/shared/keycloak-ui-shared/controls/select-control/TypeaheadSelectControl.tsx +2 -0
  24. package/keycloak-theme/shared/keycloak-ui-shared/controls/table/KeycloakDataTable.tsx +2 -0
  25. package/keycloak-theme/shared/keycloak-ui-shared/controls/table/ListEmptyState.tsx +2 -0
  26. package/keycloak-theme/shared/keycloak-ui-shared/controls/table/PaginatingTableToolbar.tsx +2 -0
  27. package/keycloak-theme/shared/keycloak-ui-shared/controls/table/TableToolbar.tsx +2 -0
  28. package/keycloak-theme/shared/keycloak-ui-shared/icons/IconMapper.tsx +2 -0
  29. package/keycloak-theme/shared/keycloak-ui-shared/main.ts +2 -0
  30. package/keycloak-theme/shared/keycloak-ui-shared/masthead/DefaultAvatar.tsx +2 -0
  31. package/keycloak-theme/shared/keycloak-ui-shared/masthead/KeycloakDropdown.tsx +2 -0
  32. package/keycloak-theme/shared/keycloak-ui-shared/masthead/Masthead.tsx +2 -0
  33. package/keycloak-theme/shared/keycloak-ui-shared/scroll-form/FormPanel.tsx +2 -0
  34. package/keycloak-theme/shared/keycloak-ui-shared/scroll-form/FormTitle.tsx +2 -0
  35. package/keycloak-theme/shared/keycloak-ui-shared/scroll-form/ScrollForm.tsx +2 -0
  36. package/keycloak-theme/shared/keycloak-ui-shared/scroll-form/ScrollPanel.tsx +2 -0
  37. package/keycloak-theme/shared/keycloak-ui-shared/scroll-form/form-title.module.css +2 -0
  38. package/keycloak-theme/shared/keycloak-ui-shared/scroll-form/scroll-form.module.css +2 -0
  39. package/keycloak-theme/shared/keycloak-ui-shared/select/KeycloakSelect.tsx +2 -0
  40. package/keycloak-theme/shared/keycloak-ui-shared/select/SingleSelect.tsx +2 -0
  41. package/keycloak-theme/shared/keycloak-ui-shared/select/TypeaheadSelect.tsx +2 -0
  42. package/keycloak-theme/shared/keycloak-ui-shared/user-profile/LocaleSelector.tsx +2 -0
  43. package/keycloak-theme/shared/keycloak-ui-shared/user-profile/MultiInputComponent.tsx +2 -0
  44. package/keycloak-theme/shared/keycloak-ui-shared/user-profile/OptionsComponent.tsx +2 -0
  45. package/keycloak-theme/shared/keycloak-ui-shared/user-profile/SelectComponent.tsx +2 -0
  46. package/keycloak-theme/shared/keycloak-ui-shared/user-profile/TextAreaComponent.tsx +2 -0
  47. package/keycloak-theme/shared/keycloak-ui-shared/user-profile/TextComponent.tsx +2 -0
  48. package/keycloak-theme/shared/keycloak-ui-shared/user-profile/UserProfileFields.tsx +2 -0
  49. package/keycloak-theme/shared/keycloak-ui-shared/user-profile/UserProfileGroup.tsx +2 -0
  50. package/keycloak-theme/shared/keycloak-ui-shared/user-profile/utils.ts +2 -0
  51. package/keycloak-theme/shared/keycloak-ui-shared/utils/ErrorBoundary.tsx +2 -0
  52. package/keycloak-theme/shared/keycloak-ui-shared/utils/createNamedContext.ts +2 -0
  53. package/keycloak-theme/shared/keycloak-ui-shared/utils/darkMode.ts +2 -0
  54. package/keycloak-theme/shared/keycloak-ui-shared/utils/errors.ts +2 -0
  55. package/keycloak-theme/shared/keycloak-ui-shared/utils/generateId.ts +2 -0
  56. package/keycloak-theme/shared/keycloak-ui-shared/utils/getRuleValue.ts +2 -0
  57. package/keycloak-theme/shared/keycloak-ui-shared/utils/isDefined.ts +2 -0
  58. package/keycloak-theme/shared/keycloak-ui-shared/utils/useFetch.ts +2 -0
  59. package/keycloak-theme/shared/keycloak-ui-shared/utils/useRequiredContext.ts +2 -0
  60. package/keycloak-theme/shared/keycloak-ui-shared/utils/useSetTimeout.ts +2 -0
  61. package/keycloak-theme/shared/keycloak-ui-shared/utils/useStorageItem.ts +2 -0
  62. package/keycloak-theme/shared/keycloak-ui-shared/utils/useStoredState.ts +2 -0
  63. package/package.json +1 -1
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import {
2
4
  AlertGroup,
3
5
  Alert,
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import { AlertVariant } from "@patternfly/react-core";
2
4
  import { PropsWithChildren, useCallback, useMemo, useState } from "react";
3
5
  import { useTranslation } from "react-i18next";
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import { Button, ButtonProps } from "@patternfly/react-core";
2
4
  import { PropsWithChildren } from "react";
3
5
  import { FieldValues, FormState } from "react-hook-form";
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import {
2
4
  Button,
3
5
  Modal,
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import { PropsWithChildren } from "react";
2
4
  import { createNamedContext } from "../utils/createNamedContext";
3
5
  import { useRequiredContext } from "../utils/useRequiredContext";
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import { Spinner } from "@patternfly/react-core";
2
4
  import Keycloak from "keycloak-js";
3
5
  import {
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  /** The base environment variables that are shared between the Admin and Account Consoles. */
2
4
  export type BaseEnvironment = {
3
5
  /**
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import { ReactNode, useState } from "react";
2
4
  import { Button, ButtonProps, Modal, ModalProps } from "@patternfly/react-core";
3
5
 
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import {
2
4
  FormHelperText,
3
5
  FormHelperTextProps,
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import { FormGroup, FormGroupProps } from "@patternfly/react-core";
2
4
  import { PropsWithChildren, ReactNode } from "react";
3
5
  import { FieldError, FieldValues, Merge } from "react-hook-form";
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import { Icon, Popover } from "@patternfly/react-core";
2
4
  import { HelpIcon } from "@patternfly/react-icons";
3
5
  import { ReactNode } from "react";
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import { Bullseye, Spinner } from "@patternfly/react-core";
2
4
  import { useTranslation } from "react-i18next";
3
5
 
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import {
2
4
  NumberInput,
3
5
  NumberInputProps,
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import OrganizationRepresentation from "@keycloak/keycloak-admin-client/lib/defs/organizationRepresentation";
2
4
  import { Badge, Chip, ChipGroup } from "@patternfly/react-core";
3
5
  import { TableText } from "@patternfly/react-table";
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import {
2
4
  FormHelperText,
3
5
  HelperText,
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import {
2
4
  Button,
3
5
  InputGroup,
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import {
2
4
  Controller,
3
5
  FieldValues,
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import {
2
4
  TextArea,
3
5
  TextAreaProps,
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import {
2
4
  FormHelperText,
3
5
  HelperText,
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  // TODO: Remove code once the following issue has been fixed:
2
4
  // https://github.com/patternfly/patternfly-react/issues/10192
3
5
  import { TextArea } from "@patternfly/react-core";
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import { ChipGroupProps, SelectProps } from "@patternfly/react-core";
2
4
  import {
3
5
  ControllerProps,
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import {
2
4
  MenuToggle,
3
5
  MenuToggleStatus,
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import { Button, ButtonVariant, ToolbarItem } from "@patternfly/react-core";
2
4
  import type { SVGIconProps } from "@patternfly/react-icons/dist/js/createIcon";
3
5
  import {
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import { ComponentClass, MouseEventHandler, ReactNode } from "react";
2
4
  import {
3
5
  EmptyState,
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import {
2
4
  Pagination,
3
5
  PaginationToggleTemplateProps,
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import {
2
4
  Divider,
3
5
  InputGroup,
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import { Icon } from "@patternfly/react-core";
2
4
  import {
3
5
  BitbucketIcon,
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  export {
2
4
  AlertProvider,
3
5
  useAlerts,
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import styles from "@patternfly/react-styles/css/components/Avatar/avatar";
2
4
  import { css } from "@patternfly/react-styles";
3
5
 
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import {
2
4
  Dropdown,
3
5
  DropdownList,
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import {
2
4
  Avatar,
3
5
  AvatarProps,
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import { Card, CardBody, CardHeader, CardTitle } from "@patternfly/react-core";
2
4
  import { PropsWithChildren, useId } from "react";
3
5
  import { FormTitle } from "./FormTitle";
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import { Title, TitleProps } from "@patternfly/react-core";
2
4
 
3
5
  import style from "./form-title.module.css";
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import {
2
4
  Grid,
3
5
  GridItem,
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  /* eslint-disable react/jsx-no-useless-fragment */
2
4
  // See: https://github.com/i18next/react-i18next/issues/1543
3
5
  import { HTMLProps } from "react";
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
 
2
4
  .title {
3
5
  margin-bottom: var(--pf-v5-global--spacer--lg);
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  .panel {
2
4
  margin-top: var(--pf-v5-global--spacer--lg);
3
5
  }
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import { ChipGroupProps, SelectProps } from "@patternfly/react-core";
2
4
  import { SingleSelect } from "./SingleSelect";
3
5
  import { TypeaheadSelect } from "./TypeaheadSelect";
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import {
2
4
  MenuToggle,
3
5
  Select,
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import {
2
4
  Button,
3
5
  Chip,
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import { useMemo } from "react";
2
4
  import { FormProvider } from "react-hook-form";
3
5
  import { SelectControl } from "../controls/select-control/SelectControl";
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import {
2
4
  Button,
3
5
  ButtonVariant,
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import { Checkbox, Radio } from "@patternfly/react-core";
2
4
  import { Controller } from "react-hook-form";
3
5
  import {
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import { SelectOption } from "@patternfly/react-core";
2
4
  import { useState } from "react";
3
5
  import { Controller, ControllerRenderProps } from "react-hook-form";
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import { KeycloakTextArea } from "../controls/keycloak-text-area/KeycloakTextArea";
2
4
  import { UserProfileFieldProps } from "./UserProfileFields";
3
5
  import { UserProfileGroup } from "./UserProfileGroup";
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import { TextInput, TextInputTypes } from "@patternfly/react-core";
2
4
 
3
5
  import { UserProfileFieldProps } from "./UserProfileFields";
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import {
2
4
  UserProfileAttributeGroupMetadata,
3
5
  UserProfileAttributeMetadata,
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import { UserProfileAttributeMetadata } from "@keycloak/keycloak-admin-client/lib/defs/userProfileMetadata";
2
4
  import { FormGroup, InputGroup } from "@patternfly/react-core";
3
5
  import { TFunction } from "i18next";
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import { UserProfileAttributeMetadata } from "@keycloak/keycloak-admin-client/lib/defs/userProfileMetadata";
2
4
  import UserRepresentation from "@keycloak/keycloak-admin-client/lib/defs/userRepresentation";
3
5
  import { TFunction } from "i18next";
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import {
2
4
  Component,
3
5
  type ComponentType,
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import type { Context } from "react";
2
4
  import { createContext } from "react";
3
5
 
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  const DARK_MODE_CLASS = "pf-v5-theme-dark";
2
4
  const mediaQuery = window.matchMedia("(prefers-color-scheme: dark)");
3
5
 
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import { NetworkError } from "@keycloak/keycloak-admin-client";
2
4
 
3
5
  const ERROR_FIELDS = ["error", "errorMessage"];
@@ -1 +1,3 @@
1
+ // @ts-nocheck
2
+
1
3
  export const generateId = () => Math.floor(Math.random() * 1000);
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import type { ValidationRule, ValidationValue } from "react-hook-form";
2
4
 
3
5
  // Simplified version of https://github.com/react-hook-form/react-hook-form/blob/ea0f3ed86457691f79987a703ae8d50b9e16e2ad/src/logic/getRuleValue.ts#L10-L21
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  export function isDefined<T>(value: T): value is NonNullable<T> {
2
4
  return value !== undefined && value !== null;
3
5
  }
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import { DependencyList, useEffect } from "react";
2
4
  import { useErrorBoundary } from "./ErrorBoundary";
3
5
 
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import type { Context } from "react";
2
4
  import { useContext } from "react";
3
5
  import { isDefined } from "./isDefined";
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import { useEffect, useRef, useCallback } from "react";
2
4
 
3
5
  export function useSetTimeout() {
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import { Dispatch, useCallback, useEffect, useState } from "react";
2
4
 
3
5
  /**
@@ -1,3 +1,5 @@
1
+ // @ts-nocheck
2
+
1
3
  import { Dispatch, useCallback, useMemo } from "react";
2
4
  import { useStorageItem } from "./useStorageItem";
3
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keycloakify/keycloak-ui-shared",
3
- "version": "26.0.6001",
3
+ "version": "26.0.6002",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git://github.com/keycloakify/keycloak-ui-shared.git"