@lowentry/mui 1.3.2 → 1.4.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.
@@ -0,0 +1,40 @@
1
+ {
2
+ "projectFolder": ".",
3
+ "mainEntryPointFilePath": "<projectFolder>/build/index.d.ts",
4
+ "bundledPackages": [],
5
+ "compiler": {
6
+ "tsconfigFilePath": "<projectFolder>/tsconfig.json"
7
+ },
8
+ "dtsRollup": {
9
+ "enabled": true,
10
+ "untrimmedFilePath": "<projectFolder>/dist/index.d.ts"
11
+ },
12
+ "apiReport": {
13
+ "enabled": false,
14
+ "includeForgottenExports": true
15
+ },
16
+ "docModel": {
17
+ "enabled": false,
18
+ "includeForgottenExports": true
19
+ },
20
+ "tsdocMetadata": {
21
+ "enabled": false
22
+ },
23
+ "messages": {
24
+ "compilerMessageReporting": {
25
+ "default": {
26
+ "logLevel": "none"
27
+ }
28
+ },
29
+ "extractorMessageReporting": {
30
+ "default": {
31
+ "logLevel": "none"
32
+ }
33
+ },
34
+ "tsdocMessageReporting": {
35
+ "default": {
36
+ "logLevel": "none"
37
+ }
38
+ }
39
+ }
40
+ }
@@ -0,0 +1,5 @@
1
+ export namespace LeMuiUtils {
2
+ function onSelectEnsureMinimumOffset(charactersCount: any): (event: any) => void;
3
+ function prependHiddenChar(string: any): any;
4
+ function purgePrependedHiddenChar(string: any): any;
5
+ }
@@ -0,0 +1,2 @@
1
+ export default Avatar;
2
+ declare const Avatar: any;
@@ -0,0 +1,2 @@
1
+ export default DatePicker;
2
+ declare const DatePicker: any;
@@ -0,0 +1,2 @@
1
+ export default Dialog;
2
+ declare const Dialog: any;
@@ -0,0 +1,2 @@
1
+ export default InitiallyInvisible;
2
+ declare const InitiallyInvisible: any;
@@ -0,0 +1,2 @@
1
+ export const LoadingSpinner: any;
2
+ export const LoadingSpinnerWidget: any;
@@ -0,0 +1 @@
1
+ export { LoadingSpinner as default } from "./LoadingSpinner/LoadingSpinner.jsx";
@@ -0,0 +1 @@
1
+ export { LoadingSpinnerWidget as default } from "./LoadingSpinner/LoadingSpinner.jsx";
@@ -0,0 +1,2 @@
1
+ export default MenuButton;
2
+ declare const MenuButton: any;
@@ -0,0 +1,2 @@
1
+ export default MuiRoot;
2
+ declare const MuiRoot: any;
@@ -0,0 +1,2 @@
1
+ export default NumericTextField;
2
+ declare const NumericTextField: any;
@@ -0,0 +1,2 @@
1
+ export default RemovableNumericTextField;
2
+ declare const RemovableNumericTextField: any;
@@ -0,0 +1,2 @@
1
+ export default RemovableTextField;
2
+ declare const RemovableTextField: any;
@@ -0,0 +1,2 @@
1
+ export default Submittable;
2
+ declare const Submittable: any;
@@ -0,0 +1,2 @@
1
+ export default TextField;
2
+ declare const TextField: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lowentry/mui",
3
- "version": "1.3.2",
3
+ "version": "1.4.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -22,7 +22,7 @@
22
22
  "scripts": {
23
23
  "build": "npm exec -- rollup -c",
24
24
  "prepublishOnly": "rm -r src && mv dist/* ./ && rm -r dist",
25
- "test": "npx tsc && jest"
25
+ "test": "npx tsc && vitest run"
26
26
  },
27
27
  "dependencies": {
28
28
  "@babel/runtime": "*",
@@ -55,20 +55,21 @@
55
55
  "@babel/plugin-transform-runtime": "^7.24.7",
56
56
  "@babel/preset-env": "^7.24.7",
57
57
  "@babel/preset-react": "^7.24.7",
58
+ "@microsoft/api-extractor": "^7.52.8",
59
+ "@rollup/plugin-babel": "^6.0.4",
58
60
  "@rollup/plugin-commonjs": "^26.0.1",
59
61
  "@rollup/plugin-node-resolve": "^15.2.3",
60
62
  "@rollup/plugin-url": "^8.0.2",
61
63
  "autoprefixer": "^10.4.19",
62
64
  "cssnano": "^7.0.2",
63
65
  "fs-extra": "^11.2.0",
64
- "jest": "^30.0.3",
65
66
  "less": "^4.2.0",
66
67
  "rollup": "^2.79.1",
67
- "rollup-plugin-babel": "^4.4.0",
68
+ "rollup-plugin-execute": "^1.1.1",
68
69
  "rollup-plugin-peer-deps-external": "^2.2.4",
69
70
  "rollup-plugin-postcss": "^4.0.2",
70
71
  "sass": "^1.77.5",
71
- "ts-jest": "^29.4.0",
72
- "typescript": "^5.8.3"
72
+ "typescript": "^5.8.3",
73
+ "vitest": "^3.2.4"
73
74
  }
74
75
  }
@@ -1,4 +1,4 @@
1
- import {describe, test, expect} from '@jest/globals';
1
+ import {describe, test, expect} from 'vitest';
2
2
 
3
3
 
4
4
  describe('example', () =>
package/tsconfig.d.ts CHANGED
@@ -1,3 +1 @@
1
- interface Window {
2
- [key: string]: any;
3
- }
1
+ /// <reference lib="esnext" />
package/tsconfig.json CHANGED
@@ -3,7 +3,6 @@
3
3
  "allowJs": true,
4
4
  "checkJs": true,
5
5
  "strict": true,
6
- "noEmit": true,
7
6
  "noImplicitAny": false,
8
7
  "noImplicitThis": false,
9
8
  "alwaysStrict": true,
@@ -15,7 +14,14 @@
15
14
  "module": "esnext",
16
15
  "moduleResolution": "node",
17
16
  "skipLibCheck": true,
18
- "types": []
17
+ "types": [],
18
+ "noEmit": false,
19
+ "declaration": true,
20
+ "declarationMap": false,
21
+ "outDir": "./build",
22
+ "removeComments": false,
23
+ "stripInternal": true,
24
+ "emitDeclarationOnly": true
19
25
  },
20
26
  "include": [
21
27
  "tsconfig.d.ts",
@@ -23,5 +29,11 @@
23
29
  ],
24
30
  "exclude": [
25
31
  "node_modules"
26
- ]
32
+ ],
33
+ "typeAcquisition": {
34
+ "include": [
35
+ "react",
36
+ "react-dom"
37
+ ]
38
+ }
27
39
  }
package/jest.config.js DELETED
@@ -1,10 +0,0 @@
1
- export default {
2
- preset: 'ts-jest/presets/js-with-ts-esm',
3
- globals: {
4
- extensionsToTreatAsEsm:['.ts', '.js', '.mjs', '.mjsx'],
5
- },
6
- transform: {
7
- '^.+\\.[tj]sx?$|^.+\\.mjsx?$':['ts-jest', {useESM:true}],
8
- },
9
- moduleFileExtensions:['ts', 'tsx', 'js', 'jsx', 'mjs', 'mjsx', 'json', 'node'],
10
- };