@thi.ng/api 8.6.0 → 8.6.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.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2022-12-16T12:52:25Z
3
+ - **Last updated**: 2022-12-22T21:47:07Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/README.md CHANGED
@@ -19,7 +19,7 @@ This project is part of the
19
19
 
20
20
  ## About
21
21
 
22
- Common, generic types, interfaces & mixins
22
+ Common, generic types, interfaces & mixins.
23
23
 
24
24
  This package is implicitly used by most other projects in this repository. It
25
25
  defines:
package/hiccup.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  export interface IToHiccup {
2
2
  /**
3
- * Returns a {@link @thi.ng/hiccup# | @thi.ng/hiccup} compatible representation. The optional
4
- * `ctx` arg is an arbitrary user context object passed to all
5
- * hiccup components during serialization (or during DOM creation /
6
- * update if used with {@link @thi.ng/hdom# | @thi.ng/hdom})
3
+ * Returns a [thi.ng/hiccup](https://thi.ng/hiccup) compatible
4
+ * representation. The optional `ctx` arg is an arbitrary user context
5
+ * object passed to all hiccup components during serialization (or during
6
+ * DOM creation / update if used with [thi.ng/hdom](https://thi.ng/hdom)).
7
7
  *
8
8
  * @param ctx - user context object
9
9
  * @param attribs - user attribs
package/mixin.d.ts CHANGED
@@ -1,10 +1,12 @@
1
1
  /**
2
2
  * Class behavior mixin based on:
3
- * {@link http://raganwald.com/2015/06/26/decorators-in-es7.html}
3
+ * - http://raganwald.com/2015/06/26/decorators-in-es7.html
4
4
  *
5
5
  * Additionally only injects/overwrites properties in target, which are NOT
6
- * marked with `@nomixin` (i.e. those which haven't set their `configurable`
7
- * property descriptor flag to `false`)
6
+ * marked with
7
+ * [`@nomixin`](https://docs.thi.ng/umbrella/api/functions/nomixin.html) (i.e.
8
+ * those which haven't set their `configurable` property descriptor flag to
9
+ * `false`)
8
10
  *
9
11
  * @param behaviour - to mixin
10
12
  * @param sharedBehaviour -
package/mixin.js CHANGED
@@ -1,10 +1,12 @@
1
1
  /**
2
2
  * Class behavior mixin based on:
3
- * {@link http://raganwald.com/2015/06/26/decorators-in-es7.html}
3
+ * - http://raganwald.com/2015/06/26/decorators-in-es7.html
4
4
  *
5
5
  * Additionally only injects/overwrites properties in target, which are NOT
6
- * marked with `@nomixin` (i.e. those which haven't set their `configurable`
7
- * property descriptor flag to `false`)
6
+ * marked with
7
+ * [`@nomixin`](https://docs.thi.ng/umbrella/api/functions/nomixin.html) (i.e.
8
+ * those which haven't set their `configurable` property descriptor flag to
9
+ * `false`)
8
10
  *
9
11
  * @param behaviour - to mixin
10
12
  * @param sharedBehaviour -
@@ -1,9 +1,8 @@
1
1
  /**
2
- * Mixin class decorator, injects IEnable default implementation, incl.
3
- * a `_enabled` property. If the target also implements the
4
- * {@link @thi.ng/api#INotify} interface, {@link IEnable.enable} and
5
- * {@link IEnable.disable} will automatically emit the respective
6
- * events.
2
+ * Mixin class decorator, injects IEnable default implementation, incl. a
3
+ * `_enabled` property. If the target also implements the {@link INotify}
4
+ * interface, {@link IEnable.enable} and {@link IEnable.disable} will
5
+ * automatically emit the respective events.
7
6
  */
8
7
  export declare const IEnableMixin: (clazz: any) => any;
9
8
  //# sourceMappingURL=ienable.d.ts.map
package/mixins/ienable.js CHANGED
@@ -1,11 +1,10 @@
1
1
  import { EVENT_DISABLE, EVENT_ENABLE } from "../api.js";
2
2
  import { mixin } from "../mixin.js";
3
3
  /**
4
- * Mixin class decorator, injects IEnable default implementation, incl.
5
- * a `_enabled` property. If the target also implements the
6
- * {@link @thi.ng/api#INotify} interface, {@link IEnable.enable} and
7
- * {@link IEnable.disable} will automatically emit the respective
8
- * events.
4
+ * Mixin class decorator, injects IEnable default implementation, incl. a
5
+ * `_enabled` property. If the target also implements the {@link INotify}
6
+ * interface, {@link IEnable.enable} and {@link IEnable.disable} will
7
+ * automatically emit the respective events.
9
8
  */
10
9
  export const IEnableMixin = mixin({
11
10
  _enabled: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/api",
3
- "version": "8.6.0",
3
+ "version": "8.6.2",
4
4
  "description": "Common, generic types, interfaces & mixins",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "devDependencies": {
40
40
  "@microsoft/api-extractor": "^7.33.7",
41
- "@thi.ng/testament": "^0.3.7",
41
+ "@thi.ng/testament": "^0.3.8",
42
42
  "rimraf": "^3.0.2",
43
43
  "tools": "^0.0.1",
44
44
  "typedoc": "^0.23.22",
@@ -225,5 +225,5 @@
225
225
  "default": "./watch.js"
226
226
  }
227
227
  },
228
- "gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n"
228
+ "gitHead": "bc6f7f5e2765bb96fe64db804eaf4b2443b47fc6\n"
229
229
  }