@meonode/ui 0.2.12 → 0.2.13
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
|
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.2.13] - 2025-09-11
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- **feat**: Add pre-commit hook for linting and testing, update package.json scripts.
|
|
12
|
+
- **feat**: Add Jest configuration and setup for testing with TypeScript.
|
|
13
|
+
- **test**: Add comprehensive tests for BaseNode core functionality.
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
- **core**: Remove stylable elements from NO_STYLE_TAGS to ensure only non-visual/metadata tags are excluded from CSS styling.
|
|
17
|
+
|
|
8
18
|
## [0.2.12] - 2025-09-11
|
|
9
19
|
|
|
10
20
|
### Fixed
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const NO_STYLE_TAGS: readonly ["html", "head", "
|
|
2
|
-
export declare const noStyleTagsSet: Set<"applet" | "
|
|
1
|
+
export declare const NO_STYLE_TAGS: readonly ["html", "head", "meta", "link", "script", "style", "noscript", "template", "slot", "base", "param", "source", "track", "wbr", "embed", "object", "iframe", "frame", "frameset", "applet", "bgsound", "noembed", "noframes"];
|
|
2
|
+
export declare const noStyleTagsSet: Set<"applet" | "base" | "bgsound" | "embed" | "frame" | "frameset" | "head" | "html" | "iframe" | "link" | "meta" | "noembed" | "noframes" | "noscript" | "object" | "param" | "script" | "slot" | "source" | "style" | "template" | "track" | "wbr">;
|
|
3
3
|
//# sourceMappingURL=common.const.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.const.d.ts","sourceRoot":"","sources":["../../src/constants/common.const.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"common.const.d.ts","sourceRoot":"","sources":["../../src/constants/common.const.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,uOAwBhB,CAAA;AAEV,eAAO,MAAM,cAAc,uPAAyB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export var NO_STYLE_TAGS=["html","head","
|
|
1
|
+
export var NO_STYLE_TAGS=["html","head","meta","link","script","style","noscript","template","slot","base","param","source","track","wbr","embed","object","iframe","frame","frameset","applet","bgsound","noembed","noframes"];export var noStyleTagsSet=new Set(NO_STYLE_TAGS);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meonode/ui",
|
|
3
3
|
"description": "A structured approach to component composition, direct CSS-first prop styling, built-in theming, smart prop handling (including raw property pass-through), and dynamic children.",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.13",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/main.js",
|
|
7
7
|
"types": "./dist/main.d.ts",
|
|
@@ -29,11 +29,14 @@
|
|
|
29
29
|
"scripts": {
|
|
30
30
|
"watch:build": "yarn dlx nodemon --watch src --ext ts,tsx,js,json --exec \"yarn build\"",
|
|
31
31
|
"lint": "eslint --fix",
|
|
32
|
-
"
|
|
32
|
+
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --ci",
|
|
33
|
+
"prebuild": "yarn lint && yarn test",
|
|
34
|
+
"build": "yarn prebuild && rm -rf ./dist && babel src --out-dir dist --extensions \".ts,.tsx,.js\" && tsgo --project tsconfig.build.json --diagnostics && tsc-alias",
|
|
33
35
|
"publish:pre": "./prepublish.sh && yarn version -i prerelease && yarn npm publish --tag next",
|
|
34
36
|
"publish:patch": "./prepublish.sh && yarn version -i patch && yarn npm publish --tag latest",
|
|
35
37
|
"publish:minor": "./prepublish.sh && yarn version -i minor && yarn npm publish --tag latest",
|
|
36
|
-
"publish:major": "./prepublish.sh && yarn version -i major && yarn npm publish --tag latest"
|
|
38
|
+
"publish:major": "./prepublish.sh && yarn version -i major && yarn npm publish --tag latest",
|
|
39
|
+
"prepare": "husky"
|
|
37
40
|
},
|
|
38
41
|
"dependencies": {
|
|
39
42
|
"@emotion/react": "^11.14.0"
|
|
@@ -44,21 +47,31 @@
|
|
|
44
47
|
"@babel/preset-env": "^7.28.3",
|
|
45
48
|
"@babel/preset-typescript": "^7.27.1",
|
|
46
49
|
"@emotion/cache": "^11.14.0",
|
|
50
|
+
"@emotion/jest": "^11.13.0",
|
|
47
51
|
"@eslint/js": "^9.35.0",
|
|
52
|
+
"@testing-library/dom": "^10.4.1",
|
|
53
|
+
"@testing-library/jest-dom": "^6.8.0",
|
|
54
|
+
"@testing-library/react": "^16.3.0",
|
|
55
|
+
"@types/jest": "^30.0.0",
|
|
48
56
|
"@types/react": "^19.1.12",
|
|
49
57
|
"@types/react-dom": "^19.1.9",
|
|
50
58
|
"@typescript-eslint/eslint-plugin": "^8.43.0",
|
|
51
59
|
"@typescript-eslint/parser": "^8.43.0",
|
|
52
60
|
"@typescript/native-preview": "^7.0.0-dev.20250909.1",
|
|
53
61
|
"babel-plugin-module-resolver": "^5.0.2",
|
|
54
|
-
"babel-preset-minify": "
|
|
62
|
+
"babel-preset-minify": "0.5.2",
|
|
55
63
|
"eslint": "^9.35.0",
|
|
56
64
|
"eslint-plugin-jsdoc": "^55.4.0",
|
|
57
65
|
"eslint-plugin-prettier": "^5.5.4",
|
|
58
66
|
"eslint-plugin-unused-imports": "^4.2.0",
|
|
67
|
+
"husky": "^9.1.7",
|
|
68
|
+
"jest": "^30.1.3",
|
|
69
|
+
"jest-environment-jsdom": "^30.1.2",
|
|
59
70
|
"next": "^15.5.3",
|
|
60
71
|
"prettier": "^3.6.2",
|
|
72
|
+
"react": "^19.1.1",
|
|
61
73
|
"react-dom": "^19.1.1",
|
|
74
|
+
"ts-jest": "^29.4.1",
|
|
62
75
|
"tsc-alias": "^1.8.16",
|
|
63
76
|
"typescript": "^5.9.2",
|
|
64
77
|
"typescript-eslint": "^8.43.0"
|