@thi.ng/rdom-components 0.3.8 → 0.4.2

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +71 -28
  2. package/README.md +1 -1
  3. package/package.json +100 -95
package/CHANGELOG.md CHANGED
@@ -1,60 +1,103 @@
1
1
  # Change Log
2
2
 
3
+ - **Last updated**: 2021-11-21T17:09:28Z
4
+ - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
+
3
6
  All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
7
+ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
8
+
9
+ **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
+ and/or version bumps of transitive dependencies.
11
+
12
+ ## [0.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom-components@0.4.0) (2021-11-17)
5
13
 
6
- ## [0.3.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/rdom-components@0.3.7...@thi.ng/rdom-components@0.3.8) (2021-11-03)
14
+ #### 🚀 Features
7
15
 
8
- **Note:** Version bump only for package @thi.ng/rdom-components
16
+ - Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
17
+ Improving the overall build ergonomics
18
+ - introduced a tools workspaces
19
+ - imported it in all needed packages/examples
20
+ - inclusive project root
9
21
 
22
+ #### ♻️ Refactoring
10
23
 
24
+ - testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
25
+ this commit reverts (partly) changes made in:
26
+ ef346d7a8753590dc9094108a3d861a8dbd5dd2c
27
+ overall purpose is better testament ergonomics:
28
+ instead of having to pass NODE_OPTIONS with every invocation
29
+ having a binary to handle this for us.
11
30
 
31
+ ### [0.3.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom-components@0.3.1) (2021-10-13)
12
32
 
33
+ #### ♻️ Refactoring
13
34
 
14
- # [0.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rdom-components@0.2.9...@thi.ng/rdom-components@0.3.0) (2021-10-12)
35
+ - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
36
+ - update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
37
+ - add .js suffix for all relative imports
15
38
 
39
+ ## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom-components@0.3.0) (2021-10-12)
16
40
 
17
- ### Build System
41
+ #### 🛑 Breaking changes
18
42
 
19
- * major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
43
+ - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
44
+ - BREAKING CHANGE: discontinue CommonJS & UMD versions
45
+ - only ESM modules will be published from now on
46
+ - CJS obsolete due to ESM support in recent versions of node:
47
+ - i.e. launch NodeJS via:
48
+ - `node --experimental-specifier-resolution=node --experimental-repl-await`
49
+ - in the node REPL use `await import(...)` instead of `require()`
50
+ - UMD obsolete due to widespread browser support for ESM
51
+ Also:
52
+ - normalize/restructure/reorg all package.json files
53
+ - cleanup all build scripts, remove obsolete
54
+ - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
20
55
 
56
+ #### ♻️ Refactoring
21
57
 
22
- ### BREAKING CHANGES
58
+ - update imports (transducers) ([2fd7619](https://github.com/thi-ng/umbrella/commit/2fd7619))
59
+ - update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
60
+ - update all test stubs ([f2d6d53](https://github.com/thi-ng/umbrella/commit/f2d6d53))
61
+ - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
62
+ - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
23
63
 
24
- * discontinue CommonJS & UMD versions
64
+ ## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom-components@0.2.0) (2021-08-04)
25
65
 
26
- - only ESM modules will be published from now on
27
- - CJS obsolete due to ESM support in recent versions of node:
28
- - i.e. launch NodeJS via:
29
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
30
- - in the node REPL use `await import(...)` instead of `require()`
31
- - UMD obsolete due to widespread browser support for ESM
66
+ #### 🚀 Features
32
67
 
33
- Also:
34
- - normalize/restructure/reorg all package.json files
35
- - cleanup all build scripts, remove obsolete
36
- - switch from mocha to @thi.ng/testament for all tests
68
+ - add staticRadio() component ([ff3d1c4](https://github.com/thi-ng/umbrella/commit/ff3d1c4))
69
+ - add input components ([fb390c1](https://github.com/thi-ng/umbrella/commit/fb390c1))
70
+ - add inputNumeric()
71
+ - add inputVector(), inputVectorCoord()
37
72
 
73
+ #### ♻️ Refactoring
38
74
 
75
+ - update arg types ([0633175](https://github.com/thi-ng/umbrella/commit/0633175))
76
+ - switch to `ISubscription` for args
77
+ - reuse $inputNum handler in inputNumeric
78
+ - make $option `selected` attrib dynamic
39
79
 
80
+ ### [0.1.18](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom-components@0.1.18) (2020-12-07)
40
81
 
82
+ #### ♻️ Refactoring
41
83
 
84
+ - update type-only imports ([2037326](https://github.com/thi-ng/umbrella/commit/2037326))
42
85
 
43
- # [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rdom-components@0.1.46...@thi.ng/rdom-components@0.2.0) (2021-08-04)
86
+ ### [0.1.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom-components@0.1.3) (2020-07-17)
44
87
 
45
- ### Features
88
+ #### ♻️ Refactoring
46
89
 
47
- - **rdom-components:** add input components ([fb390c1](https://github.com/thi-ng/umbrella/commit/fb390c1c30d0224a20526eacae7df7d092709518))
48
- - **rdom-components:** add staticRadio() component ([ff3d1c4](https://github.com/thi-ng/umbrella/commit/ff3d1c4495191de814427e36b8ac7ff744fc98c2))
90
+ - update attribs (tabs, iconbt) ([d8d478f](https://github.com/thi-ng/umbrella/commit/d8d478f))
49
91
 
50
- ## [0.1.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/rdom-components@0.1.1...@thi.ng/rdom-components@0.1.2) (2020-07-09)
92
+ ### [0.1.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom-components@0.1.2) (2020-07-09)
51
93
 
52
- ### Bug Fixes
94
+ #### 🩹 Bug fixes
53
95
 
54
- - **rdom-components:** sub handling in accord/tabs ([6b51fd2](https://github.com/thi-ng/umbrella/commit/6b51fd2ae851070cb82c8eed7194f9b3ec03e6c0))
96
+ - sub handling in accord/tabs ([6b51fd2](https://github.com/thi-ng/umbrella/commit/6b51fd2))
97
+ - retain original `src` sub
55
98
 
56
- # 0.1.0 (2020-07-08)
99
+ ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom-components@0.1.0) (2020-07-08)
57
100
 
58
- ### Features
101
+ #### 🚀 Features
59
102
 
60
- - **rdom-components:** import as new pkg (MBP2010 version) ([b7f72b6](https://github.com/thi-ng/umbrella/commit/b7f72b6a19dfdc4bdb35d89bda34e787d93e5e22))
103
+ - import as new pkg (MBP2010 version) ([b7f72b6](https://github.com/thi-ng/umbrella/commit/b7f72b6))
package/README.md CHANGED
@@ -64,7 +64,7 @@ node --experimental-repl-await
64
64
  > const rdomComponents = await import("@thi.ng/rdom-components");
65
65
  ```
66
66
 
67
- Package sizes (gzipped, pre-treeshake): ESM: 1.22 KB
67
+ Package sizes (gzipped, pre-treeshake): ESM: 1.36 KB
68
68
 
69
69
  ## Dependencies
70
70
 
package/package.json CHANGED
@@ -1,104 +1,109 @@
1
1
  {
2
- "name": "@thi.ng/rdom-components",
3
- "version": "0.3.8",
4
- "description": "Collection of unstyled, customizable components for @thi.ng/rdom",
5
- "type": "module",
6
- "module": "./index.js",
7
- "typings": "./index.d.ts",
8
- "sideEffects": false,
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/thi-ng/umbrella.git"
2
+ "name": "@thi.ng/rdom-components",
3
+ "version": "0.4.2",
4
+ "description": "Collection of unstyled, customizable components for @thi.ng/rdom",
5
+ "type": "module",
6
+ "module": "./index.js",
7
+ "typings": "./index.d.ts",
8
+ "sideEffects": false,
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/thi-ng/umbrella.git"
12
+ },
13
+ "homepage": "https://github.com/thi-ng/umbrella/tree/master/packages/rdom-components#readme",
14
+ "funding": [
15
+ {
16
+ "type": "github",
17
+ "url": "https://github.com/sponsors/postspectacular"
12
18
  },
13
- "homepage": "https://github.com/thi-ng/umbrella/tree/master/packages/rdom-components#readme",
14
- "funding": [
15
- {
16
- "type": "github",
17
- "url": "https://github.com/sponsors/postspectacular"
18
- },
19
- {
20
- "type": "patreon",
21
- "url": "https://patreon.com/thing_umbrella"
22
- }
23
- ],
24
- "author": "Karsten Schmidt <k+npm@thi.ng>",
25
- "license": "Apache-2.0",
26
- "scripts": {
27
- "build": "yarn clean && tsc --declaration",
28
- "clean": "rimraf *.js *.d.ts *.map doc",
29
- "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
- "doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
31
- "doc:readme": "yarn doc:stats && ../../scripts/node-esm ../../tools/src/readme.ts",
32
- "doc:stats": "../../scripts/node-esm ../../tools/src/module-stats.ts",
33
- "pub": "yarn build && yarn publish --access public",
34
- "test": "testament test"
19
+ {
20
+ "type": "patreon",
21
+ "url": "https://patreon.com/thing_umbrella"
22
+ }
23
+ ],
24
+ "author": "Karsten Schmidt <k+npm@thi.ng>",
25
+ "license": "Apache-2.0",
26
+ "scripts": {
27
+ "build": "yarn clean && tsc --declaration",
28
+ "clean": "rimraf '*.js' '*.d.ts' '*.map' doc",
29
+ "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
+ "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
31
+ "doc:readme": "yarn doc:stats && tools:readme",
32
+ "doc:stats": "tools:module-stats",
33
+ "pub": "yarn npm publish --access public",
34
+ "test": "testament test"
35
+ },
36
+ "dependencies": {
37
+ "@thi.ng/api": "^8.3.2",
38
+ "@thi.ng/associative": "^6.1.2",
39
+ "@thi.ng/hiccup-html": "^2.1.2",
40
+ "@thi.ng/rdom": "^0.8.2",
41
+ "@thi.ng/rstream": "^7.2.0",
42
+ "@thi.ng/strings": "^3.2.2",
43
+ "@thi.ng/transducers": "^8.1.2"
44
+ },
45
+ "devDependencies": {
46
+ "@microsoft/api-extractor": "^7.18.19",
47
+ "@thi.ng/testament": "^0.2.2",
48
+ "rimraf": "^3.0.2",
49
+ "tools": "^0.0.1",
50
+ "typedoc": "^0.22.9",
51
+ "typescript": "^4.5.2"
52
+ },
53
+ "keywords": [
54
+ "browser",
55
+ "component",
56
+ "dom",
57
+ "hiccup",
58
+ "html",
59
+ "reactive",
60
+ "rstream",
61
+ "typescript",
62
+ "ui"
63
+ ],
64
+ "publishConfig": {
65
+ "access": "public"
66
+ },
67
+ "engines": {
68
+ "node": ">=12.7"
69
+ },
70
+ "files": [
71
+ "*.js",
72
+ "*.d.ts"
73
+ ],
74
+ "exports": {
75
+ ".": {
76
+ "import": "./index.js"
35
77
  },
36
- "dependencies": {
37
- "@thi.ng/api": "^8.1.0",
38
- "@thi.ng/associative": "^6.0.8",
39
- "@thi.ng/hiccup-html": "^2.0.7",
40
- "@thi.ng/rdom": "^0.7.8",
41
- "@thi.ng/rstream": "^7.0.8",
42
- "@thi.ng/strings": "^3.1.3",
43
- "@thi.ng/transducers": "^8.0.7"
78
+ "./accordion": {
79
+ "import": "./accordion.js"
44
80
  },
45
- "devDependencies": {
46
- "@thi.ng/testament": "^0.1.6"
81
+ "./dropdown": {
82
+ "import": "./dropdown.js"
47
83
  },
48
- "keywords": [
49
- "browser",
50
- "component",
51
- "dom",
52
- "hiccup",
53
- "html",
54
- "reactive",
55
- "rstream",
56
- "typescript",
57
- "ui"
58
- ],
59
- "publishConfig": {
60
- "access": "public"
84
+ "./editor": {
85
+ "import": "./editor.js"
61
86
  },
62
- "engines": {
63
- "node": ">=12.7"
87
+ "./icon-button": {
88
+ "import": "./icon-button.js"
64
89
  },
65
- "files": [
66
- "*.js",
67
- "*.d.ts"
68
- ],
69
- "exports": {
70
- ".": {
71
- "import": "./index.js"
72
- },
73
- "./accordion": {
74
- "import": "./accordion.js"
75
- },
76
- "./dropdown": {
77
- "import": "./dropdown.js"
78
- },
79
- "./editor": {
80
- "import": "./editor.js"
81
- },
82
- "./icon-button": {
83
- "import": "./icon-button.js"
84
- },
85
- "./input": {
86
- "import": "./input.js"
87
- },
88
- "./radio": {
89
- "import": "./radio.js"
90
- },
91
- "./tabs": {
92
- "import": "./tabs.js"
93
- }
90
+ "./input": {
91
+ "import": "./input.js"
94
92
  },
95
- "thi.ng": {
96
- "parent": "@thi.ng/rdom",
97
- "related": [
98
- "rdom-canvas"
99
- ],
100
- "status": "alpha",
101
- "year": 2020
93
+ "./radio": {
94
+ "import": "./radio.js"
102
95
  },
103
- "gitHead": "852cd2450617c86d15d18477dc634f17f04202eb"
104
- }
96
+ "./tabs": {
97
+ "import": "./tabs.js"
98
+ }
99
+ },
100
+ "thi.ng": {
101
+ "parent": "@thi.ng/rdom",
102
+ "related": [
103
+ "rdom-canvas"
104
+ ],
105
+ "status": "alpha",
106
+ "year": 2020
107
+ },
108
+ "gitHead": "e8a7c2a40191b391cef182c2978e5a6c85987a87\n"
109
+ }