@teipublisher/pb-components 1.40.2 → 1.41.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/CHANGELOG.md +13 -0
- package/dist/demo/pb-code-editor.html +12 -9
- package/dist/{iron-form-f540b15b.js → iron-form-9e72ac45.js} +1 -1
- package/dist/jinn-codemirror-c1a4b755.js +1 -0
- package/dist/{paper-checkbox-f6a70487.js → paper-checkbox-102e3b43.js} +120 -120
- package/dist/pb-code-editor.js +22 -0
- package/dist/pb-components-bundle.js +234 -234
- package/dist/pb-edit-app.js +33 -33
- package/dist/pb-elements.json +61 -16
- package/dist/pb-i18n-6ad23bcf.js +1 -0
- package/dist/pb-message-0fb0b538.js +911 -0
- package/dist/pb-odd-editor.js +110 -82
- package/package.json +4 -5
- package/pb-elements.json +61 -16
- package/src/pb-code-editor.js +51 -663
- package/src/pb-components.js +0 -1
- package/src/pb-odd-model-editor.js +33 -23
- package/src/pb-odd-parameter-editor.js +17 -9
- package/src/pb-odd-rendition-editor.js +19 -9
- package/css/codemirror/3024-day.css +0 -41
- package/css/codemirror/3024-night.css +0 -39
- package/css/codemirror/abbott.css +0 -268
- package/css/codemirror/abcdef.css +0 -32
- package/css/codemirror/ambiance-mobile.css +0 -5
- package/css/codemirror/ambiance.css +0 -74
- package/css/codemirror/ayu-dark.css +0 -44
- package/css/codemirror/ayu-mirage.css +0 -45
- package/css/codemirror/base16-dark.css +0 -40
- package/css/codemirror/base16-light.css +0 -38
- package/css/codemirror/bespin.css +0 -34
- package/css/codemirror/blackboard.css +0 -32
- package/css/codemirror/cobalt.css +0 -25
- package/css/codemirror/colorforth.css +0 -33
- package/css/codemirror/darcula.css +0 -53
- package/css/codemirror/dracula.css +0 -40
- package/css/codemirror/duotone-dark.css +0 -35
- package/css/codemirror/duotone-light.css +0 -36
- package/css/codemirror/eclipse.css +0 -23
- package/css/codemirror/elegant.css +0 -13
- package/css/codemirror/erlang-dark.css +0 -34
- package/css/codemirror/gruvbox-dark.css +0 -39
- package/css/codemirror/hopscotch.css +0 -34
- package/css/codemirror/icecoder.css +0 -43
- package/css/codemirror/idea.css +0 -42
- package/css/codemirror/isotope.css +0 -34
- package/css/codemirror/juejin.css +0 -30
- package/css/codemirror/lesser-dark.css +0 -47
- package/css/codemirror/liquibyte.css +0 -95
- package/css/codemirror/lucario.css +0 -37
- package/css/codemirror/material-darker.css +0 -135
- package/css/codemirror/material-ocean.css +0 -141
- package/css/codemirror/material-palenight.css +0 -141
- package/css/codemirror/material.css +0 -141
- package/css/codemirror/mbo.css +0 -37
- package/css/codemirror/mdn-like.css +0 -46
- package/css/codemirror/midnight.css +0 -39
- package/css/codemirror/monokai.css +0 -41
- package/css/codemirror/moxer.css +0 -143
- package/css/codemirror/neat.css +0 -12
- package/css/codemirror/neo.css +0 -43
- package/css/codemirror/night.css +0 -27
- package/css/codemirror/nord.css +0 -42
- package/css/codemirror/oceanic-next.css +0 -46
- package/css/codemirror/panda-syntax.css +0 -85
- package/css/codemirror/paraiso-dark.css +0 -38
- package/css/codemirror/paraiso-light.css +0 -38
- package/css/codemirror/pastel-on-dark.css +0 -52
- package/css/codemirror/railscasts.css +0 -34
- package/css/codemirror/rubyblue.css +0 -25
- package/css/codemirror/seti.css +0 -44
- package/css/codemirror/shadowfox.css +0 -52
- package/css/codemirror/solarized.css +0 -168
- package/css/codemirror/ssms.css +0 -16
- package/css/codemirror/the-matrix.css +0 -30
- package/css/codemirror/tomorrow-night-bright.css +0 -35
- package/css/codemirror/tomorrow-night-eighties.css +0 -38
- package/css/codemirror/ttcn.css +0 -64
- package/css/codemirror/twilight.css +0 -32
- package/css/codemirror/vibrant-ink.css +0 -34
- package/css/codemirror/xq-dark.css +0 -53
- package/css/codemirror/xq-light.css +0 -43
- package/css/codemirror/yeti.css +0 -44
- package/css/codemirror/yonce.css +0 -59
- package/css/codemirror/zenburn.css +0 -37
- package/dist/pb-message-1a0c0c52.js +0 -1360
- package/lib/codemirror/addon/display/placeholder.js +0 -70
- package/lib/codemirror/addon/edit/matchbrackets.js +0 -152
- package/lib/codemirror/addon/lint/lint.js +0 -282
- package/lib/codemirror/mode/css/css.js +0 -855
- package/lib/codemirror/mode/stex/stex.js +0 -249
- package/lib/codemirror/mode/xml/xml.js +0 -404
- package/lib/codemirror/mode/xquery/xquery.js +0 -434
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
# [1.41.0](https://github.com/eeditiones/tei-publisher-components/compare/v1.40.2...v1.41.0) (2022-12-30)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **pb-code-editor:** wrong import ([47bcbb3](https://github.com/eeditiones/tei-publisher-components/commit/47bcbb3c242ea8b7317c0a399d540692b0efb023))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* update pb-code-editor and pb-odd-editor to use codemirror 6 (instead of 5) as editor ([cc319ba](https://github.com/eeditiones/tei-publisher-components/commit/cc319baf322c9443a6282ffb0ddcf546369e9b40))
|
|
12
|
+
* **pb-code-editor:** update to new @jinntec/jinn-codemirror based on codemirror 6 ([b1df9a3](https://github.com/eeditiones/tei-publisher-components/commit/b1df9a35197fa7a62a39013a85302f07d293c679))
|
|
13
|
+
|
|
1
14
|
## [1.40.2](https://github.com/eeditiones/tei-publisher-components/compare/v1.40.1...v1.40.2) (2022-11-27)
|
|
2
15
|
|
|
3
16
|
|
|
@@ -15,23 +15,26 @@
|
|
|
15
15
|
<style>
|
|
16
16
|
pb-code-editor { margin-bottom: 32px; }
|
|
17
17
|
</style>
|
|
18
|
-
<pb-page>
|
|
18
|
+
<pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher">
|
|
19
|
+
<pb-lang label="language" selected="en">
|
|
20
|
+
<paper-item value="de">Deutsch</paper-item>
|
|
21
|
+
<paper-item value="en">English</paper-item>
|
|
22
|
+
</pb-lang>
|
|
19
23
|
<!-- using old API endpoint for linter; old API is due for deprecation with Publisher 8
|
|
20
24
|
<pb-code-editor label="XQuery code, ambiance theme" code="for $i in (1, 2) return $i * 6" mode="xquery"
|
|
21
25
|
theme="ambiance"
|
|
22
26
|
linter="http://localhost:8080/exist/apps/tei-publisher/modules/editor.xql"></pb-code-editor> -->
|
|
23
|
-
<pb-code-editor label="XQuery code
|
|
24
|
-
theme="ambiance"
|
|
27
|
+
<pb-code-editor label="XQuery code" code="for $i in (1, 2) return $i * 6" mode="xquery"
|
|
25
28
|
linter="http://localhost:8080/exist/apps/tei-publisher/api/lint"></pb-code-editor>
|
|
26
|
-
<pb-code-editor label="CSS
|
|
27
|
-
font-decoration: underline;" mode="css"
|
|
28
|
-
<pb-code-editor label="XML
|
|
29
|
+
<pb-code-editor label="CSS" code="color: blue;
|
|
30
|
+
font-decoration: underline;" mode="css"></pb-code-editor>
|
|
31
|
+
<pb-code-editor label="XML" code='<elementSpec ident="correspDesc" mode="add">
|
|
29
32
|
<model behaviour="block">
|
|
30
33
|
<param name="content" value="correspAction[@type='sent']"/>
|
|
31
34
|
</model>
|
|
32
|
-
</elementSpec>' mode="xml"
|
|
33
|
-
<pb-code-editor label="LaTeX
|
|
34
|
-
<pb-code-editor label="Empty editor
|
|
35
|
+
</elementSpec>' mode="xml"></pb-code-editor>
|
|
36
|
+
<pb-code-editor label="LaTeX" code="\documentclass[10pt,a4paper,fromalign=right]{scrlttr2}" mode="stex"></pb-code-editor>
|
|
37
|
+
<pb-code-editor label="Empty editor" placeholder="[Enter text]"></pb-code-editor>
|
|
35
38
|
</pb-page>
|
|
36
39
|
</template>
|
|
37
40
|
</pb-demo-snippet>
|