@applica-software-guru/react-admin 1.5.231 → 1.5.233

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/package.json CHANGED
@@ -56,6 +56,7 @@
56
56
  "eslint-plugin-react-hooks": "^4.6.0",
57
57
  "eslint-plugin-simple-import-sort": "^7.0.0",
58
58
  "eslint-plugin-sort-exports": "^0.9.1",
59
+ "file-loader": "^6.2.0",
59
60
  "husky": "^9.0.11",
60
61
  "jsdom": "^22.1.0",
61
62
  "lint-staged": "^13.0.3",
@@ -114,5 +115,5 @@
114
115
  "type": "module",
115
116
  "types": "dist/index.d.ts",
116
117
  "typings": "dist/index.d.ts",
117
- "version": "1.5.231"
118
+ "version": "1.5.233"
118
119
  }
@@ -9,7 +9,6 @@ import { Link, useLocation } from 'react-router-dom';
9
9
 
10
10
  function renderBreadcrumb({ id, title, icon, url, last }: MenuBreadcrumb) {
11
11
  const Icon = icon ? icon : ApartmentOutlined;
12
- return null;
13
12
  return (
14
13
  <Typography
15
14
  key={id}
@@ -1,11 +1,13 @@
1
+ declare module '*.png';
2
+
1
3
  export * from './Admin';
2
4
  export * from './ApplicaAdmin';
3
5
  export * from './components';
4
6
  export * from './hooks';
5
7
  export * from './i18n';
6
8
  export * from './themes';
9
+ export * from './types';
7
10
  export * from './utils';
8
-
9
11
  export {
10
12
  ArrayField,
11
13
  ArrayInputContext,
package/tsconfig.json CHANGED
@@ -25,7 +25,7 @@
25
25
  "skipLibCheck": true,
26
26
  "strict": true,
27
27
  "target": "ESNext",
28
- "typeRoots": ["node_modules/@types", "src/index.d.ts"],
28
+ "typeRoots": ["node_modules/@types", "src/assets.d.ts", "src/index.d.ts", "src/types.d.ts"],
29
29
  "useDefineForClassFields": true
30
30
  },
31
31
  "include": ["src"],
package/vite.config.js CHANGED
@@ -1,3 +1,4 @@
1
+ /*global __dirname */
1
2
  import * as packageJson from './package.json';
2
3
  import react from '@vitejs/plugin-react';
3
4
  import { resolve } from 'node:path';
@@ -44,7 +45,7 @@ export default defineConfig((configEnv) => {
44
45
  build: {
45
46
  sourcemap: true,
46
47
  lib: {
47
- entry: resolve('src', 'index.jsx'),
48
+ entry: resolve('src', 'index.ts'),
48
49
  name: 'react-admin',
49
50
  formats: ['es', 'umd', 'cjs'],
50
51
  fileName: (format) => `react-admin.${format}.js`
File without changes