@fe-free/file 2.7.1 → 2.8.0

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,11 @@
1
1
  # @ones-wb/file
2
2
 
3
+ ## 2.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - feat: className
8
+
3
9
  ## 2.7.1
4
10
 
5
11
  ## 2.7.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fe-free/file",
3
- "version": "2.7.1",
3
+ "version": "2.8.0",
4
4
  "description": "",
5
5
  "main": "./src/index.ts",
6
6
  "author": "",
@@ -32,7 +32,7 @@ function ImportXlsx(props: ImportXlsxProps) {
32
32
  }, [dataStartIndex, headerIndex, sheetData]);
33
33
 
34
34
  return (
35
- <div className="flex flex-col gap-4 h-full cl-import-xlsx">
35
+ <div className="fec-import-xlsx flex h-full flex-col gap-4">
36
36
  <Steps
37
37
  items={[
38
38
  {
@@ -15,7 +15,7 @@ function ImportXlsxFile(props: ImportXlsxFileProps) {
15
15
  const [importType, setImportType] = useState<EnumImportType>(EnumImportType.FULL);
16
16
 
17
17
  return (
18
- <div className="flex flex-col gap-4 h-full cl-import-xlsx">
18
+ <div className="fec-import-xlsx flex h-full flex-col gap-4">
19
19
  <div className="flex-1 overflow-y-auto">
20
20
  <StepImport
21
21
  fileList={fileList}
@@ -10,7 +10,7 @@ import { EnumImportType } from './types';
10
10
 
11
11
  function ItemRender({ file, right }: { file: UploadFile; right?: React.ReactNode }) {
12
12
  return (
13
- <div className="flex items-center c-border rounded-md gap-2">
13
+ <div className="fec-border flex items-center gap-2 rounded-md">
14
14
  <div className="flex-1">
15
15
  <Attachments.FileCard key={file.name} item={file} />
16
16
  </div>
@@ -53,8 +53,8 @@ function StepImport({
53
53
 
54
54
  return (
55
55
  <div
56
- className={classNames('flex flex-col gap-2', 'cl-import-xlsx', {
57
- 'cl-import-xlsx-has-file': fileList.length > 0,
56
+ className={classNames('flex flex-col gap-2', 'fec-import-xlsx', {
57
+ 'fec-import-xlsx-has-file': fileList.length > 0,
58
58
  })}
59
59
  >
60
60
  {onImportType && (
@@ -1,5 +1,5 @@
1
- .cl-import-xlsx {
2
- &.cl-import-xlsx-has-file {
1
+ .fec-import-xlsx {
2
+ &.fec-import-xlsx-has-file {
3
3
  .ant-upload-drag {
4
4
  display: none;
5
5
  }