@thi.ng/hdom-components 5.1.102 → 5.1.103

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**: 2024-03-01T15:22:50Z
3
+ - **Last updated**: 2024-03-02T14:05:52Z
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/button-group.d.ts CHANGED
@@ -39,7 +39,7 @@ export interface ButtonGroupArgs {
39
39
  /**
40
40
  * Argument type for a single button in the group, e.g.
41
41
  *
42
- * ```
42
+ * ```ts
43
43
  * [{onclick: () => alert("foo") }, ["i.fas.fa-check"], "foo"]
44
44
  * ```
45
45
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/hdom-components",
3
- "version": "5.1.102",
3
+ "version": "5.1.103",
4
4
  "description": "Raw, skinnable UI & SVG components for @thi.ng/hdom",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -39,8 +39,8 @@
39
39
  "@thi.ng/canvas": "^0.2.8",
40
40
  "@thi.ng/checks": "^3.5.1",
41
41
  "@thi.ng/math": "^5.10.4",
42
- "@thi.ng/transducers": "^8.9.8",
43
- "@thi.ng/transducers-stats": "^2.1.102"
42
+ "@thi.ng/transducers": "^8.9.9",
43
+ "@thi.ng/transducers-stats": "^2.1.103"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@microsoft/api-extractor": "^7.40.1",
@@ -110,5 +110,5 @@
110
110
  "status": "beta",
111
111
  "year": 2018
112
112
  },
113
- "gitHead": "d660ae8fd1bf64d919b4334f19509f1f539d70f6\n"
113
+ "gitHead": "df9e312af741d87e6b450afcfea6a6e381662b1e\n"
114
114
  }
package/pager.d.ts CHANGED
@@ -86,7 +86,7 @@ export interface PagerOpts {
86
86
  * buttons then the pager will look like this (the `|` character here
87
87
  * indicates button group boundaries):
88
88
  *
89
- * ```
89
+ * ```text
90
90
  * << < | 4 5 6 | > >>
91
91
  * ```
92
92
  *
@@ -100,14 +100,16 @@ export interface PagerOpts {
100
100
  * last nav buttons are paired within inner `div` elements (one per
101
101
  * pair) and can be styled (or hidden) separately.
102
102
  *
103
- * ```
103
+ * ```ts
104
+ * import { pager } from "@thi.ng/hdom-components";
105
+ *
104
106
  * // initialization
105
107
  * const mypager = pager({
106
108
  * button: (i, curr, max, label, disabled) =>
107
109
  * ["a", {href: `/page/${i}`, disabled}, label]
108
110
  * });
109
111
  *
110
- * // usage
112
+ * // hdom usage
111
113
  * [mypager, currPage, currNumItems, 10, 5]
112
114
  * ```
113
115
  *