@jjlmoya/utils-drones 1.22.0 → 1.23.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jjlmoya/utils-drones",
3
- "version": "1.22.0",
3
+ "version": "1.23.0",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -1,17 +1,6 @@
1
1
  ---
2
- import { BIBLIOGRAPHY_ITEMS } from './bibliography';
2
+ import { Bibliography as BibliographyComponent } from "@jjlmoya/utils-shared";
3
+ import { bibliography } from "./bibliography";
3
4
  ---
4
5
 
5
- <div class="sc-bibliography">
6
- <ul>
7
- {
8
- BIBLIOGRAPHY_ITEMS.map((item) => (
9
- <li>
10
- <a href={item.url} target="_blank" rel="noopener noreferrer">
11
- {item.name}
12
- </a>
13
- </li>
14
- ))
15
- }
16
- </ul>
17
- </div>
6
+ <BibliographyComponent links={bibliography} />
@@ -1,6 +1,6 @@
1
1
  import type { BibliographyEntry } from '../../types';
2
2
 
3
- export const BIBLIOGRAPHY_ITEMS: BibliographyEntry[] = [
3
+ export const bibliography: BibliographyEntry[] = [
4
4
  {
5
5
  name: 'Battery University - BU-409: Charging Lithium-ion',
6
6
  url: 'http://www.batteryuniversity.com/article/bu-409-charging-lithium-ion/',
@@ -14,3 +14,5 @@ export const BIBLIOGRAPHY_ITEMS: BibliographyEntry[] = [
14
14
  url: 'https://betaflight.com/docs/wiki/guides/current/Battery',
15
15
  },
16
16
  ];
17
+
18
+ export const BIBLIOGRAPHY_ITEMS = bibliography;