asma-core-ui 3.0.146 → 3.0.148

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,9 @@
1
1
  import type { FC } from 'react';
2
+ /**
3
+ * @props `isEmpty` is redundant and kept optional for backward compatibility
4
+ */
2
5
  export declare const StyledEmptyPage: FC<{
3
- isEmpty: boolean;
6
+ isEmpty?: boolean;
4
7
  emptyText: string;
5
8
  className?: string;
6
9
  }>;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "3.0.146",
6
+ "version": "3.0.148",
7
7
  "type": "module",
8
8
  "files": [
9
9
  "dist/**/*",
@@ -15,6 +15,16 @@
15
15
  "types": "./dist/index.d.ts",
16
16
  "main": "./dist/asma-core-ui.es.js",
17
17
  "module": "./dist/asma-core-ui.es.js",
18
+ "exports": {
19
+ ".": {
20
+ "import": {
21
+ "types": "./dist/index.d.ts",
22
+ "default": "./dist/asma-core-ui.es.js"
23
+ }
24
+ },
25
+ "./dist/style.css": "./dist/style.css",
26
+ "./tw-configs/twConfigs.json": "./tw-configs/twConfigs.json"
27
+ },
18
28
  "scripts": {
19
29
  "dev": "vite",
20
30
  "build": "npx tsc && rm -rf ./dist && vite build",
@@ -115,12 +125,5 @@
115
125
  "resolutions": {
116
126
  "@types/node": "18.0.3",
117
127
  "node": "18.17.0"
118
- },
119
- "exports": {
120
- ".": {
121
- "import": "./dist/asma-core-ui.es.js"
122
- },
123
- "./dist/style.css": "./dist/style.css",
124
- "./tw-configs/twConfigs.json": "./tw-configs/twConfigs.json"
125
128
  }
126
129
  }