@ng-doc/utils 16.17.0 → 16.18.0

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.
@@ -2,7 +2,6 @@
2
2
  * Add hljs class to `pre` elements that contain `code` elements
3
3
  *
4
4
  * We need this to allow customization of the code block style
5
- *
6
5
  * @param tree
7
6
  * @param headings
8
7
  */
package/index.esm.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "./index";
@@ -8077,6 +8077,7 @@ const html$3 = create({
8077
8077
  autoComplete: spaceSeparated,
8078
8078
  autoFocus: boolean,
8079
8079
  autoPlay: boolean,
8080
+ blocking: spaceSeparated,
8080
8081
  capture: boolean,
8081
8082
  charSet: null,
8082
8083
  checked: boolean,
@@ -8102,6 +8103,7 @@ const html$3 = create({
8102
8103
  draggable: booleanish,
8103
8104
  encType: null,
8104
8105
  enterKeyHint: null,
8106
+ fetchPriority: null,
8105
8107
  form: null,
8106
8108
  formAction: null,
8107
8109
  formEncType: null,
@@ -8119,6 +8121,7 @@ const html$3 = create({
8119
8121
  id: null,
8120
8122
  imageSizes: null,
8121
8123
  imageSrcSet: null,
8124
+ inert: boolean,
8122
8125
  inputMode: null,
8123
8126
  integrity: null,
8124
8127
  is: null,
@@ -8154,6 +8157,7 @@ const html$3 = create({
8154
8157
  onAuxClick: null,
8155
8158
  onBeforeMatch: null,
8156
8159
  onBeforePrint: null,
8160
+ onBeforeToggle: null,
8157
8161
  onBeforeUnload: null,
8158
8162
  onBlur: null,
8159
8163
  onCancel: null,
@@ -8242,6 +8246,9 @@ const html$3 = create({
8242
8246
  ping: spaceSeparated,
8243
8247
  placeholder: null,
8244
8248
  playsInline: boolean,
8249
+ popover: null,
8250
+ popoverTarget: null,
8251
+ popoverTargetAction: null,
8245
8252
  poster: null,
8246
8253
  preload: null,
8247
8254
  readOnly: boolean,
@@ -8256,6 +8263,8 @@ const html$3 = create({
8256
8263
  scoped: boolean,
8257
8264
  seamless: boolean,
8258
8265
  selected: boolean,
8266
+ shadowRootDelegatesFocus: boolean,
8267
+ shadowRootMode: null,
8259
8268
  shape: null,
8260
8269
  size: number,
8261
8270
  sizes: null,
@@ -8505,6 +8514,7 @@ const svg$1 = create({
8505
8514
  textAnchor: 'text-anchor',
8506
8515
  textDecoration: 'text-decoration',
8507
8516
  textRendering: 'text-rendering',
8517
+ transformOrigin: 'transform-origin',
8508
8518
  typeOf: 'typeof',
8509
8519
  underlinePosition: 'underline-position',
8510
8520
  underlineThickness: 'underline-thickness',
@@ -8867,6 +8877,7 @@ const svg$1 = create({
8867
8877
  typeOf: commaOrSpaceSeparated,
8868
8878
  to: null,
8869
8879
  transform: null,
8880
+ transformOrigin: null,
8870
8881
  u1: null,
8871
8882
  u2: null,
8872
8883
  underlinePosition: number,
@@ -10274,7 +10285,10 @@ const base$1 = 'https://html.spec.whatwg.org/multipage/parsing.html#parse-error-
10274
10285
 
10275
10286
  const fatalities = {2: true, 1: false, 0: null};
10276
10287
 
10277
- /** @type {import('unified').Plugin<[Options?] | Array<void>, string, Root>} */
10288
+ /**
10289
+ * @this {import('unified').Processor}
10290
+ * @type {import('unified').Plugin<[Options?] | Array<void>, string, Root>}
10291
+ */
10278
10292
  function rehypeParse(options) {
10279
10293
  const processorSettings = /** @type {Options} */ (this.data('settings'));
10280
10294
  const settings = Object.assign({}, processorSettings, options);
@@ -12378,7 +12392,10 @@ function all(parent) {
12378
12392
  * @typedef {import('hast-util-to-html').Options} Options
12379
12393
  */
12380
12394
 
12381
- /** @type {import('unified').Plugin<[Options?]|Array<void>, Node, string>} */
12395
+ /**
12396
+ * @this {import('unified').Processor}
12397
+ * @type {import('unified').Plugin<[Options?]|Array<void>, Node, string>}
12398
+ */
12382
12399
  function rehypeStringify(config) {
12383
12400
  const processorSettings = /** @type {Options} */ (this.data('settings'));
12384
12401
  const settings = Object.assign({}, processorSettings, config);
@@ -14891,7 +14908,6 @@ function createLinkNode(text, href, type, description) {
14891
14908
  * Add hljs class to `pre` elements that contain `code` elements
14892
14909
  *
14893
14910
  * We need this to allow customization of the code block style
14894
- *
14895
14911
  * @param tree
14896
14912
  * @param headings
14897
14913
  */
@@ -15258,7 +15274,6 @@ function codeBlockLinesPlugin() {
15258
15274
  }
15259
15275
  /**
15260
15276
  * Adds lines to a node recursively and returns them
15261
- *
15262
15277
  * @param node - The node to add lines to
15263
15278
  * @param lines - The current lines
15264
15279
  * @param copyParent - Whether to copy the parent node to save the original node styles
@@ -15285,7 +15300,6 @@ function addLines(node, lines = [], copyParent) {
15285
15300
  }
15286
15301
  /**
15287
15302
  * Creates a new line element
15288
- *
15289
15303
  * @param children - The children the line should have initially
15290
15304
  */
15291
15305
  function createLine(...children) {
@@ -15300,7 +15314,6 @@ function createLine(...children) {
15300
15314
  }
15301
15315
  /**
15302
15316
  * Checks if a node has a line break
15303
- *
15304
15317
  * @param node - The node to check
15305
15318
  */
15306
15319
  function hasLineBreak(node) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-doc/utils",
3
- "version": "16.17.0",
3
+ "version": "16.18.0",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "rehype": "12.0.1",
@@ -18,9 +18,8 @@
18
18
  "publishConfig": {
19
19
  "access": "public"
20
20
  },
21
- "module": "./index.js",
22
- "main": "./index.js",
23
- "types": "./index.d.ts",
21
+ "module": "./index.esm.js",
22
+ "main": "./index.esm.js",
24
23
  "keywords": [
25
24
  "angular",
26
25
  "documentation",