@teipublisher/pb-components 2.10.1 → 2.10.2

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.
Files changed (37) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/css/gridjs/mermaid.min.css +1 -1
  3. package/css/leaflet/leaflet.css +63 -42
  4. package/css/prismjs/prism-coy.css +4 -3
  5. package/css/prismjs/prism-coy.min.css +1 -0
  6. package/css/prismjs/prism-dark.min.css +1 -0
  7. package/css/prismjs/prism-funky.min.css +1 -0
  8. package/css/prismjs/prism-okaidia.min.css +1 -0
  9. package/css/prismjs/prism-solarizedlight.min.css +1 -0
  10. package/css/prismjs/prism-tomorrow.min.css +1 -0
  11. package/css/prismjs/prism-twilight.css +3 -33
  12. package/css/prismjs/prism-twilight.min.css +1 -0
  13. package/css/prismjs/prism.min.css +1 -0
  14. package/css/tom-select/tom-select.bootstrap4.min.css +1 -1
  15. package/css/tom-select/tom-select.bootstrap5.min.css +1 -1
  16. package/css/tom-select/tom-select.default.min.css +1 -1
  17. package/css/tom-select/tom-select.min.css +1 -1
  18. package/dist/{iron-form-9e72ac45.js → iron-form-89b60473.js} +1 -1
  19. package/dist/jinn-codemirror-da585937.js +1 -0
  20. package/dist/{paper-checkbox-102e3b43.js → paper-checkbox-56ead3d4.js} +100 -109
  21. package/dist/pb-code-editor.js +1 -1
  22. package/dist/pb-component-docs.js +94 -103
  23. package/dist/pb-components-bundle.js +171 -162
  24. package/dist/pb-edit-app.js +29 -29
  25. package/dist/{pb-i18n-f7a50012.js → pb-i18n-9000294c.js} +1 -1
  26. package/dist/pb-leaflet-map.js +1 -1
  27. package/dist/pb-odd-editor.js +1 -1
  28. package/dist/pb-tify.js +1 -1
  29. package/dist/{vaadin-element-mixin-b6179444.js → vaadin-element-mixin-67c5648d.js} +17 -18
  30. package/gh-pages.js +6 -0
  31. package/lib/leaflet-src.js +1623 -1173
  32. package/lib/paged.polyfill.js +1335 -1124
  33. package/package.json +4 -3
  34. package/src/pb-page.js +2 -1
  35. package/dist/jinn-codemirror-13c59456.js +0 -1
  36. /package/dist/{es-global-bridge-6abe3a88.js → es-global-bridge-5c039c0b.js} +0 -0
  37. /package/dist/{pb-mixin-ea2e9070.js → pb-mixin-d61c06b6.js} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teipublisher/pb-components",
3
- "version": "2.10.1",
3
+ "version": "2.10.2",
4
4
  "description": "Collection of webcomponents underlying TEI Publisher",
5
5
  "repository": "https://github.com/eeditiones/tei-publisher-components.git",
6
6
  "main": "index.html",
@@ -79,7 +79,7 @@
79
79
  "js-cookie": "^2.2.1",
80
80
  "leaflet": "^1.7.1",
81
81
  "leaflet.markercluster": "^1.5.3",
82
- "lit-element": "latest",
82
+ "lit-element": "^2.5.1",
83
83
  "lit-html": "^1.3.0",
84
84
  "marked": "^1.2.0",
85
85
  "pagedjs": "^0.4.0",
@@ -88,11 +88,12 @@
88
88
  "tify": "^0.28.1",
89
89
  "tippy.js": "^6.2.7",
90
90
  "tom-select": "^2.0.2",
91
- "uniqolor": "^1.0.1",
91
+ "uniqolor": "^1.1.0",
92
92
  "web-animations-js": "^2.3.2"
93
93
  },
94
94
  "devDependencies": {
95
95
  "@babel/plugin-proposal-object-rest-spread": "^7.11.0",
96
+ "@babel/plugin-transform-optional-chaining": "^7.22.6",
96
97
  "@open-wc/eslint-config": "^4.2.0",
97
98
  "@open-wc/prettier-config": "^1.1.0",
98
99
  "@open-wc/testing": "^2.5.29",
package/src/pb-page.js CHANGED
@@ -268,7 +268,8 @@ export class PbPage extends pbMixin(LitElement) {
268
268
  }
269
269
 
270
270
  const stylesheetURLs = [
271
- resolveURL('../css/components.css')
271
+ // TODO: replace with this.toAbsoluteURL
272
+ this.toAbsoluteURL('resources/css/components.css', this.endpoint)
272
273
  ];
273
274
  if (this.theme) {
274
275
  stylesheetURLs.push(this.toAbsoluteURL(this.theme, this.endpoint));