@difizen/libro-toc 0.2.24 → 0.2.26

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.
@@ -1 +1 @@
1
- {"version":3,"file":"toc-view.d.ts","sourceRoot":"","sources":["../src/toc-view.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEzD,OAAO,EAAE,QAAQ,EAAsB,MAAM,mBAAmB,CAAC;AAMjE,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,cAAc,CAAC;AAEtB,UAAU,cAAe,SAAQ,QAAQ;IACvC,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;CAClB;AA6DD,eAAO,MAAM,SAAS,+CA+BrB,CAAC;AAEF,qBAEa,OAAQ,SAAQ,QAAS,YAAW,WAAW;IAC1D,MAAM,EAAE,SAAS,GAAG,SAAS,CAAa;IAC1C,SAAS,CAAC,oBAAoB,EAAE,oBAAoB,CAAC;IAE5C,IAAI,gDAAa;IAG1B,SAAS,EAAE,OAAO,CAAC;IAGnB,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAG/B,aAAa,EAAE,QAAQ,GAAG,SAAS,CAAC;IAEpC,SAAS,CAAC,eAAe,EAAE,eAAe,CAAC;IAG3C,QAAQ,EAAE,MAAM,CAAgB;IAGhC,oBAAoB,uBAA8B;gBAGvB,eAAe,EAAE,eAAe,EAC3B,oBAAoB,EAAE,oBAAoB;IAgB1E,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAIlC,WAAW;IAgBpB,kBAAkB,IAAI,cA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BAAoB,uBAA8B;gBAGvB,eAAe,EAAE,eAAe,EAC3B,oBAAoB,EAAE,oBAAoB;IAgB1E,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAIlC,WAAW;IAgBpB,kBAAkB,IAAI,cAAc,EAAE;IAYtC,SAAS,CAAC,gBAAgB,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE;IAoB7E,kBAAkB,CAAC,OAAO,EAAE,QAAQ;IAIpC,SAAS,CAAC,WAAW,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE;IAU/D,OAAO;CAGjB"}
package/es/toc-view.js CHANGED
@@ -18,6 +18,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
18
18
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
19
19
  function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
20
20
  function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
21
+ /* eslint-disable @typescript-eslint/no-non-null-assertion */
21
22
  import { ArrowDown, ArrowRight } from '@difizen/libro-core';
22
23
  import { ConfigurationService } from '@difizen/mana-app';
23
24
  import { getOrigin, prop, useInject } from '@difizen/mana-app';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@difizen/libro-toc",
3
- "version": "0.2.24",
3
+ "version": "0.2.26",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "libro",
@@ -33,10 +33,10 @@
33
33
  "src"
34
34
  ],
35
35
  "dependencies": {
36
- "@difizen/libro-common": "^0.2.24",
37
- "@difizen/libro-core": "^0.2.24",
38
- "@difizen/libro-markdown": "^0.2.24",
39
- "@difizen/libro-rendermime": "^0.2.24",
36
+ "@difizen/libro-common": "^0.2.26",
37
+ "@difizen/libro-core": "^0.2.26",
38
+ "@difizen/libro-markdown": "^0.2.26",
39
+ "@difizen/libro-rendermime": "^0.2.26",
40
40
  "@difizen/mana-app": "latest",
41
41
  "@difizen/mana-l10n": "latest"
42
42
  },
package/src/toc-view.tsx CHANGED
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-non-null-assertion */
1
2
  import { ArrowDown, ArrowRight } from '@difizen/libro-core';
2
3
  import type { DisplayView, LibroView } from '@difizen/libro-core';
3
4
  import { ConfigurationService } from '@difizen/mana-app';