@authing/guard-shim-react18 4.5.1-alpha.4 → 4.5.1-alpha.7

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.
@@ -1,7 +1,8 @@
1
+ import './index.less';
1
2
  export * from 'antd';
2
3
  export * from '@ant-design/icons';
3
4
  export declare const antdLocales: {
4
- zhCN: import("antd/es/locale-provider").Locale;
5
- enUS: import("antd/es/locale-provider").Locale;
6
- jaJP: import("antd/es/locale-provider").Locale;
5
+ zhCN: import("antd/lib/locale-provider").Locale;
6
+ enUS: import("antd/lib/locale-provider").Locale;
7
+ jaJP: import("antd/lib/locale-provider").Locale;
7
8
  };
@@ -1,5 +1,4 @@
1
1
  import { FormItemProps } from 'shim-antd';
2
- import '@antd-es-style/form/style/index.less';
3
2
  import { React } from 'shim-react';
4
3
  export interface FormItemAccountProps extends FormItemProps {
5
4
  validPasswordLoginMethods: string[];
@@ -1,5 +1,4 @@
1
1
  import { InputProps } from 'shim-antd';
2
- import '@antd-es-style/input/style/index.less';
3
2
  import { React } from 'shim-react';
4
3
  export interface GraphicVerifyCodeProps extends InputProps {
5
4
  verifyCodeUrl: string;
@@ -1,6 +1,5 @@
1
1
  import { React } from 'shim-react';
2
2
  import { InputProps } from 'shim-antd';
3
- import '@antd-es-style/input/style/index.less';
4
3
  export interface InputAccountProps extends InputProps {
5
4
  passwordLoginMethods: string[];
6
5
  placeholder: string;
@@ -1,4 +1,3 @@
1
- import '@antd-es-style/form/style/index.less';
2
1
  import { AuthingResponse } from '../../../_utils/http';
3
2
  import { Agreement, LoginMethods } from '../../../Type/application';
4
3
  import { BackFillMultipleState, StoreInstance } from '../../../Guard/core/hooks/useMultipleAccounts';
@@ -1,9 +1,4 @@
1
1
  import { React } from 'shim-react';
2
- import '@antd-es-style/message/style/index.less';
3
- import '@antd-es-style/popover/style/index.less';
4
- import '@antd-es-style/tabs/style/index.less';
5
- import '@antd-es-style/tag/style/index.less';
6
- import '@antd-es-style/tooltip/style/index.less';
7
2
  import './styles.less';
8
3
  export declare const GuardLoginView: React.FC<{
9
4
  isResetPage?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authing/guard-shim-react18",
3
- "version": "4.5.1-alpha.4",
3
+ "version": "4.5.1-alpha.7",
4
4
  "description": "Guard shim for react 18, only be used to internal",
5
5
  "types": "dist/typings/src/index.d.ts",
6
6
  "module": "dist/guard.min.js",