@ca-plant-list/ca-plant-list 0.4.14 → 0.4.15
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/data/taxa.csv +1 -1
- package/data/text/Eriastrum-ertterae.footer.md +6 -0
- package/data/text/Malacothamnus-arcuatus-var-elmeri.footer.md +3 -0
- package/data/text/Malacothamnus-fremontii-var-fremontii.footer.md +3 -0
- package/data/text/Malacothamnus-hallii.footer.md +3 -0
- package/lib/htmltaxon.js +14 -0
- package/lib/index.d.ts +1 -0
- package/lib/web/pagetaxon.js +1 -7
- package/package.json +1 -1
package/data/taxa.csv
CHANGED
@@ -1144,7 +1144,7 @@ Maianthemum racemosum,false Solomon's seal,N,32495,10096,51062,Large False Solom
|
|
1144
1144
|
Maianthemum stellatum,,N,32497,9629,53268,False Solomon Seal
|
1145
1145
|
Malacothamnus arcuatus var. elmeri,,N,108345,14681,1497404,Eastern Bewildering Bushmallow,perennial,pink,4,5,1065,1B.2,,,S2,G2
|
1146
1146
|
Malacothamnus fremontii var. fremontii,long-haired unfurled bushmallow,N,108341,14689,70398,,perennial,pink,5,6
|
1147
|
-
Malacothamnus hallii
|
1147
|
+
Malacothamnus hallii,Hall's bushmallow,N,108345,14681,1497404,,perennial,pink,4,5,1065,1B.2,,,S2,G2
|
1148
1148
|
Malacothrix californica,,N,4059,5325,58026,California Desertdandelion
|
1149
1149
|
Malacothrix clevelandii,Cleveland's malacothrix,N,4060,5326,58841,Cleveland's Desertdandelion
|
1150
1150
|
Malacothrix coulteri,snake's-head,N,4061,5327,58027,Snake's Head
|
@@ -0,0 +1,6 @@
|
|
1
|
+
## Resources
|
2
|
+
|
3
|
+
- Gowen, David. “[TWO NEW SPECIES OF ERIASTRUM (POLEMONIACEAE) FROM CALIFORNIA.](http://www.jstor.org/stable/24621044)” Journal of the Botanical Research Institute of Texas, vol. 7, no. 1, 2013, pp. 21–24. JSTOR
|
4
|
+
- California Department of Fish and Wildlife (CDFW). 2023. [Report to the Fish and Game
|
5
|
+
Commission, status review of Lime Ridge eriastrum (_Eriastrum ertterae_)](https://nrm.dfg.ca.gov/FileHandler.ashx?DocumentID=213638&inline). California Department
|
6
|
+
of Fish and Wildlife
|
package/lib/htmltaxon.js
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import { Config } from "./config.js";
|
1
2
|
import { DateUtils } from "./dateutils.js";
|
2
3
|
import { HTML } from "./html.js";
|
3
4
|
import { Markdown } from "./markdown.js";
|
@@ -127,6 +128,19 @@ class HTMLTaxon {
|
|
127
128
|
: HTML.wrap("div", parts.join(""), { class: classNames });
|
128
129
|
}
|
129
130
|
|
131
|
+
/**
|
132
|
+
* @param {Taxon} taxon
|
133
|
+
* @returns {string}
|
134
|
+
*/
|
135
|
+
static getFooterHTML(taxon) {
|
136
|
+
const footerTextPath =
|
137
|
+
Config.getPackageDir() +
|
138
|
+
"/data/text/" +
|
139
|
+
taxon.getBaseFileName() +
|
140
|
+
".footer.md";
|
141
|
+
return HTMLTaxon.getMarkdownSection(footerTextPath);
|
142
|
+
}
|
143
|
+
|
130
144
|
/**
|
131
145
|
* @param {Taxon} taxon
|
132
146
|
*/
|
package/lib/index.d.ts
CHANGED
package/lib/web/pagetaxon.js
CHANGED
@@ -4,7 +4,6 @@ import { GenericPage } from "../genericpage.js";
|
|
4
4
|
import { ExternalSites } from "../externalsites.js";
|
5
5
|
import { HTML } from "../html.js";
|
6
6
|
import { HTMLTaxon } from "../htmltaxon.js";
|
7
|
-
import { Config } from "../config.js";
|
8
7
|
|
9
8
|
class PageTaxon extends GenericPage {
|
10
9
|
#config;
|
@@ -188,12 +187,7 @@ class PageTaxon extends GenericPage {
|
|
188
187
|
);
|
189
188
|
html += "</div>";
|
190
189
|
|
191
|
-
|
192
|
-
Config.getPackageDir() +
|
193
|
-
"/data/text/" +
|
194
|
-
this.getBaseFileName() +
|
195
|
-
".footer.md";
|
196
|
-
html += HTMLTaxon.getMarkdownSection(footerTextPath);
|
190
|
+
html += HTMLTaxon.getFooterHTML(this.#taxon);
|
197
191
|
|
198
192
|
const photos = this.#taxon.getPhotos();
|
199
193
|
if (photos.length > 0) {
|