@fvc/empty 1.1.3 → 1.1.4-next-533f413c0e3038971ec86dcb3253f16c1fb8caaa

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @fvc/empty
2
2
 
3
+ ## 1.1.4-next-533f413c0e3038971ec86dcb3253f16c1fb8caaa
4
+
5
+ ### Patch Changes
6
+
7
+ - b9ca7ea: Require antd 5.28.0 or later.
8
+
9
+ - The packages already used antd APIs that the `^5.0.0` range did not promise: Card `variant` (5.24.0), the DatePicker popup class names and Modal `destroyOnHidden` (5.25.0), Table `getTitleCheckboxProps` and the Tabs ref (5.27.0), and the InputNumber ref type (5.28.0). With an older antd, the table header checkbox ignored its props, the Tabs ref stayed `null`, and an InputNumber ref failed to type-check.
10
+ - The `antd` peer range is now `^5.28.0`. The packages are tested against antd 5.28.0 and 5.29.3.
11
+
3
12
  ## 1.1.3
4
13
 
5
14
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { EmptyProps } from './types';
2
+ import type { EmptyProps } from './types';
3
3
  export declare const Empty: {
4
4
  ({ testId, ...props }: EmptyProps): React.JSX.Element;
5
5
  PRESENTED_IMAGE_DEFAULT: React.ReactNode;
@@ -1,4 +1,4 @@
1
- import { type EmptyProps as DefaultEmptyProps } from 'antd';
1
+ import type { EmptyProps as DefaultEmptyProps } from 'antd';
2
2
  export type EmptyProps = DefaultEmptyProps & {
3
3
  testId?: string;
4
4
  };
@@ -1 +1 @@
1
- export * from './Empty.types';
1
+ export type * from './Empty.types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fvc/empty",
3
- "version": "1.1.3",
3
+ "version": "1.1.4-next-533f413c0e3038971ec86dcb3253f16c1fb8caaa",
4
4
  "keywords": [
5
5
  "react",
6
6
  "react-component",
@@ -31,14 +31,12 @@
31
31
  "scripts": {
32
32
  "build": "rollup -c ./rollup.config.mjs",
33
33
  "clean": "rm -rf dist && rm -rf .rollup.cache && rm -rf .turbo",
34
- "lint": "eslint --config ../../eslint.config.js \"src/**/*.{ts,tsx}\"",
35
- "lint:fix": "eslint --config ../../eslint.config.js \"src/**/*.{ts,tsx}\" --fix",
36
34
  "format": "prettier --write \"src/**/*.{ts,tsx}\"",
37
35
  "type-check": "tsc --noEmit",
38
36
  "test": "bun test --preload ../../tests/happydom.ts --preload ../../tests/testing-library.tsx"
39
37
  },
40
38
  "peerDependencies": {
41
39
  "react": "^18.0.0",
42
- "antd": "^5.0.0"
40
+ "antd": "^5.28.0"
43
41
  }
44
42
  }