@rjsf/antd 6.1.0 → 6.1.1

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,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Alert, List, Space } from 'antd';
3
- import ExclamationCircleOutlined from '@ant-design/icons/ExclamationCircleOutlined';
3
+ import ExclamationCircleOutlined from '@ant-design/icons/ExclamationCircleOutlined.js';
4
4
  import { TranslatableString } from '@rjsf/utils';
5
5
  /** The `ErrorList` component is the template that renders the all the errors associated with the fields in the `Form`
6
6
  *
@@ -1,10 +1,10 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Button } from 'antd';
3
- import ArrowDownOutlined from '@ant-design/icons/ArrowDownOutlined';
4
- import ArrowUpOutlined from '@ant-design/icons/ArrowUpOutlined';
5
- import CopyOutlined from '@ant-design/icons/CopyOutlined';
6
- import DeleteOutlined from '@ant-design/icons/DeleteOutlined';
7
- import PlusCircleOutlined from '@ant-design/icons/PlusCircleOutlined';
3
+ import ArrowDownOutlined from '@ant-design/icons/ArrowDownOutlined.js';
4
+ import ArrowUpOutlined from '@ant-design/icons/ArrowUpOutlined.js';
5
+ import CopyOutlined from '@ant-design/icons/CopyOutlined.js';
6
+ import DeleteOutlined from '@ant-design/icons/DeleteOutlined.js';
7
+ import PlusCircleOutlined from '@ant-design/icons/PlusCircleOutlined.js';
8
8
  import { getUiOptions, TranslatableString, } from '@rjsf/utils';
9
9
  export default function IconButton(props) {
10
10
  const { iconType = 'default', icon, onClick, uiSchema, registry, color, ...otherProps } = props;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rjsf/antd",
3
- "version": "6.1.0",
3
+ "version": "6.1.1",
4
4
  "description": "Ant Design theme, fields and widgets for react-jsonschema-form",
5
5
  "main": "dist/index.js",
6
6
  "module": "lib/index.js",
@@ -34,7 +34,7 @@
34
34
  }
35
35
  },
36
36
  "scripts": {
37
- "compileReplacer": "tsc -p tsconfig.replacer.json && move-file lodashReplacer.js lodashReplacer.cjs",
37
+ "compileReplacer": "tsc -p tsconfig.replacer.json && move-file lodashReplacer.js lodashReplacer.cjs && move-file antdIconsReplacer.js antdIconsReplacer.cjs",
38
38
  "build:ts": "npm run compileReplacer && rimraf ./lib && tsc -b tsconfig.build.json && tsc-alias -p tsconfig.build.json",
39
39
  "build:cjs": "esbuild ./src/index.ts --bundle --outfile=dist/index.cjs --sourcemap --packages=external --format=cjs",
40
40
  "build:esm": "esbuild ./src/index.ts --bundle --outfile=dist/antd.esm.js --sourcemap --packages=external --format=esm",