@teipublisher/pb-components 1.38.7 → 1.39.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/.github/workflows/release.js.yml +1 -1
- package/CHANGELOG.md +13 -0
- package/Dockerfile +5 -5
- package/dist/demo/pb-code-highlight.html +5 -4
- package/dist/{iron-form-ee64c98d.js → iron-form-f540b15b.js} +1 -1
- package/dist/{paper-checkbox-ea000977.js → paper-checkbox-f6a70487.js} +1 -1
- package/dist/pb-component-docs.js +41 -41
- package/dist/pb-components-bundle.js +171 -171
- package/dist/pb-edit-app.js +1 -1
- package/dist/pb-elements.json +5 -0
- package/dist/pb-leaflet-map.js +1 -1
- package/dist/{pb-message-a461d7ee.js → pb-message-1a0c0c52.js} +1 -1
- package/dist/{pb-mixin-ae9e2885.js → pb-mixin-15ff531f.js} +8 -8
- package/dist/pb-odd-editor.js +4 -4
- package/package.json +1 -1
- package/pb-elements.json +5 -0
- package/src/pb-code-highlight.js +33 -17
- package/src/pb-page.js +16 -2
- package/src/pb-popover.js +6 -17
- package/src/pb-upload.js +3 -14
- package/src/utils.js +20 -0
|
@@ -25,7 +25,7 @@ jobs:
|
|
|
25
25
|
- name: Wait for eXist
|
|
26
26
|
uses: iFaxity/wait-on-action@v1
|
|
27
27
|
with:
|
|
28
|
-
resource: http-get://localhost:8080/exist/apps/tei-publisher/
|
|
28
|
+
resource: http-get://localhost:8080/exist/apps/tei-publisher/api/version
|
|
29
29
|
- run: npm test
|
|
30
30
|
- run: npx semantic-release
|
|
31
31
|
env:
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
# [1.39.0](https://github.com/eeditiones/tei-publisher-components/compare/v1.38.7...v1.39.0) (2022-11-22)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **Dockerfile:** update to match TEI Publisher master with newer roaster ([2ca4d37](https://github.com/eeditiones/tei-publisher-components/commit/2ca4d37a56df8054d1f29446163e694cba69e73f))
|
|
7
|
+
* **pb-page:** don't send pb-page-ready until both: i18n language and api version are correctly reported ([41c02cd](https://github.com/eeditiones/tei-publisher-components/commit/41c02cd4e0cec066901c0bdf47790ad610143e59))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* **pb-code-highlight:** allow theme to be set via CSS variable; load CSS only once ([6d4e2fe](https://github.com/eeditiones/tei-publisher-components/commit/6d4e2fe51664b8325de75b785bf5026336239697))
|
|
13
|
+
|
|
1
14
|
## [1.38.7](https://github.com/eeditiones/tei-publisher-components/compare/v1.38.6...v1.38.7) (2022-11-01)
|
|
2
15
|
|
|
3
16
|
|
package/Dockerfile
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
ARG EXIST_VERSION=
|
|
1
|
+
ARG EXIST_VERSION=6.0.1
|
|
2
2
|
|
|
3
3
|
# START STAGE 1
|
|
4
4
|
FROM openjdk:8-jdk-slim as builder
|
|
@@ -31,9 +31,9 @@ RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - \
|
|
|
31
31
|
|
|
32
32
|
FROM builder as tei
|
|
33
33
|
|
|
34
|
-
ARG TEMPLATING_VERSION=1.0.
|
|
35
|
-
ARG PUBLISHER_LIB_VERSION=2.
|
|
36
|
-
ARG ROUTER_VERSION=
|
|
34
|
+
ARG TEMPLATING_VERSION=1.0.4
|
|
35
|
+
ARG PUBLISHER_LIB_VERSION=2.10.1
|
|
36
|
+
ARG ROUTER_VERSION=1.7.3
|
|
37
37
|
ARG PUBLISHER_VERSION=master
|
|
38
38
|
|
|
39
39
|
# add key
|
|
@@ -55,7 +55,7 @@ COPY i18n/common/* resources/i18n/common/
|
|
|
55
55
|
|
|
56
56
|
RUN ant
|
|
57
57
|
|
|
58
|
-
RUN curl -L -o /tmp/
|
|
58
|
+
RUN curl -L -o /tmp/roaster-${ROUTER_VERSION}.xar http://exist-db.org/exist/apps/public-repo/public/roaster-${ROUTER_VERSION}.xar
|
|
59
59
|
RUN curl -L -o /tmp/tei-publisher-lib-${PUBLISHER_LIB_VERSION}.xar http://exist-db.org/exist/apps/public-repo/public/tei-publisher-lib-${PUBLISHER_LIB_VERSION}.xar
|
|
60
60
|
RUN curl -L -o /tmp/templating-${TEMPLATING_VERSION}.xar http://exist-db.org/exist/apps/public-repo/public/templating-${TEMPLATING_VERSION}.xar
|
|
61
61
|
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
pb-code-highlight {
|
|
15
15
|
margin-bottom: 1em;
|
|
16
16
|
--pb-code-highlight-white-space: pre-wrap;
|
|
17
|
+
--pb-code-highlight-theme: "solarizedlight";
|
|
17
18
|
}
|
|
18
19
|
</style>
|
|
19
20
|
<pb-page>
|
|
@@ -23,7 +24,7 @@
|
|
|
23
24
|
return
|
|
24
25
|
<li>{$i/string()}<li>
|
|
25
26
|
</pb-code-highlight>
|
|
26
|
-
<pb-code-highlight language="html" theme="okaidia">
|
|
27
|
+
<pb-code-highlight language="html" theme="okaidia" line-numbers>
|
|
27
28
|
<template>
|
|
28
29
|
<pb-view src="document1" odd="graves" subscribe="letter" emit="letter"
|
|
29
30
|
wait-for="pb-leaflet-map">
|
|
@@ -31,16 +32,16 @@
|
|
|
31
32
|
</pb-view>
|
|
32
33
|
</template>
|
|
33
34
|
</pb-code-highlight>
|
|
34
|
-
<pb-code-highlight language="javascript" theme="funky"
|
|
35
|
+
<pb-code-highlight language="javascript" theme="funky" line-numbers
|
|
35
36
|
code="function(name) { return 'Hello ' + name; };"></pb-code-highlight>
|
|
36
|
-
<pb-code-highlight language="css" theme="
|
|
37
|
+
<pb-code-highlight language="css" theme="coy" line-numbers>
|
|
37
38
|
h1, h2, h3, h4, h5, h6 {
|
|
38
39
|
font-family: "Oswald",Verdana,"Helvetica", sans-serif;
|
|
39
40
|
font-weight: 400 !important;
|
|
40
41
|
line-height: 1.2;
|
|
41
42
|
}
|
|
42
43
|
</pb-code-highlight>
|
|
43
|
-
<pb-code-highlight language="xml" theme="
|
|
44
|
+
<pb-code-highlight language="xml" theme="tomorrow" line-numbers>
|
|
44
45
|
<template>
|
|
45
46
|
<elementSpec ident="section">
|
|
46
47
|
<modelSequence predicate="$parameters?mode='breadcrumbs'">
|