@teipublisher/pb-components 2.26.1-next.3 → 3.0.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.
Files changed (154) hide show
  1. package/.github/workflows/main.yml +3 -3
  2. package/.github/workflows/node.js.yml +3 -3
  3. package/.github/workflows/release.js.yml +4 -4
  4. package/.releaserc.json +2 -2
  5. package/CHANGELOG.md +262 -11
  6. package/Dockerfile +78 -70
  7. package/css/components.css +5 -5
  8. package/css/leaflet/images/layers.png +0 -0
  9. package/dist/demo/components.css +46 -1
  10. package/dist/demo/pb-browse-docs2.html +1 -1
  11. package/dist/demo/pb-dialog.html +3 -5
  12. package/dist/demo/pb-drawer2.html +1 -1
  13. package/dist/demo/pb-facsimile.html +2 -2
  14. package/dist/demo/pb-grid.html +19 -6
  15. package/dist/demo/pb-leaflet-map.html +1 -1
  16. package/dist/demo/pb-login.html +0 -2
  17. package/dist/demo/pb-message.html +1 -2
  18. package/dist/demo/pb-progress.html +2 -2
  19. package/dist/demo/pb-repeat.html +1 -3
  20. package/dist/demo/pb-search.html +7 -4
  21. package/dist/demo/pb-search3.html +1 -1
  22. package/dist/demo/pb-search4.html +2 -2
  23. package/dist/demo/pb-view3.html +1 -1
  24. package/dist/{iron-form-3b8dcaa7.js → iron-form-dfb3e3b1.js} +95 -95
  25. package/dist/paper-checkbox-645e1077.js +200 -0
  26. package/dist/{paper-icon-button-b1d31571.js → paper-icon-button-984162bd.js} +1 -1
  27. package/dist/{paper-checkbox-515a5284.js → paper-inky-focus-behavior-fa16796b.js} +58 -247
  28. package/dist/{paper-listbox-a3b7175c.js → paper-listbox-5f5d1cec.js} +152 -162
  29. package/dist/pb-code-editor.js +25 -20
  30. package/dist/pb-component-docs.js +68 -64
  31. package/dist/pb-components-bundle.js +1983 -2293
  32. package/dist/pb-edit-app.js +167 -107
  33. package/dist/pb-elements.json +176 -120
  34. package/dist/{pb-i18n-0611135a.js → pb-i18n-4cc00bfe.js} +1 -1
  35. package/dist/pb-leaflet-map.js +23 -23
  36. package/dist/pb-mei.js +56 -41
  37. package/dist/{pb-mixin-b1caa22e.js → pb-mixin-886ece32.js} +1 -1
  38. package/dist/pb-odd-editor.js +1023 -782
  39. package/dist/pb-tify.js +2 -2
  40. package/dist/vaadin-element-mixin-beb74ffd.js +545 -0
  41. package/gh-pages.js +5 -3
  42. package/i18n/common/en.json +6 -0
  43. package/i18n/common/pl.json +2 -2
  44. package/lib/openseadragon.min.js +6 -6
  45. package/package.json +3 -3
  46. package/pb-elements.json +176 -120
  47. package/src/assets/components.css +5 -5
  48. package/src/authority/airtable.js +20 -21
  49. package/src/authority/anton.js +129 -129
  50. package/src/authority/custom.js +23 -21
  51. package/src/authority/geonames.js +38 -32
  52. package/src/authority/gnd.js +50 -42
  53. package/src/authority/kbga.js +137 -134
  54. package/src/authority/metagrid.js +44 -46
  55. package/src/authority/reconciliation.js +66 -67
  56. package/src/authority/registry.js +4 -4
  57. package/src/docs/pb-component-docs.js +2 -2
  58. package/src/docs/pb-component-view.js +5 -5
  59. package/src/docs/pb-components-list.js +2 -2
  60. package/src/docs/pb-demo-snippet.js +2 -2
  61. package/src/dts-client.js +299 -297
  62. package/src/dts-select-endpoint.js +90 -82
  63. package/src/parse-date-service.js +184 -135
  64. package/src/pb-ajax.js +158 -171
  65. package/src/pb-authority-lookup.js +191 -156
  66. package/src/pb-autocomplete.js +292 -280
  67. package/src/pb-blacklab-highlight.js +264 -259
  68. package/src/pb-blacklab-results.js +236 -221
  69. package/src/pb-browse-docs.js +540 -475
  70. package/src/pb-browse.js +68 -65
  71. package/src/pb-clipboard.js +79 -76
  72. package/src/pb-code-editor.js +110 -102
  73. package/src/pb-code-highlight.js +209 -204
  74. package/src/pb-codepen.js +79 -72
  75. package/src/pb-collapse.js +211 -151
  76. package/src/pb-combo-box.js +190 -190
  77. package/src/pb-components-bundle.js +1 -1
  78. package/src/pb-components.js +1 -0
  79. package/src/pb-custom-form.js +173 -153
  80. package/src/pb-dialog.js +98 -62
  81. package/src/pb-document.js +89 -90
  82. package/src/pb-download.js +212 -196
  83. package/src/pb-drawer.js +145 -148
  84. package/src/pb-edit-app.js +301 -229
  85. package/src/pb-edit-xml.js +100 -97
  86. package/src/pb-events.js +114 -107
  87. package/src/pb-facs-link.js +104 -102
  88. package/src/pb-facsimile.js +474 -410
  89. package/src/pb-formula.js +151 -153
  90. package/src/pb-geolocation.js +129 -131
  91. package/src/pb-grid-action.js +53 -56
  92. package/src/pb-grid.js +231 -228
  93. package/src/pb-highlight.js +140 -140
  94. package/src/pb-hotkeys.js +40 -42
  95. package/src/pb-i18n.js +101 -104
  96. package/src/pb-image-strip.js +84 -78
  97. package/src/pb-lang.js +142 -57
  98. package/src/pb-leaflet-map.js +488 -485
  99. package/src/pb-link.js +126 -124
  100. package/src/pb-load.js +431 -429
  101. package/src/pb-login.js +299 -244
  102. package/src/pb-manage-odds.js +352 -336
  103. package/src/pb-map-icon.js +89 -89
  104. package/src/pb-map-layer.js +85 -85
  105. package/src/pb-markdown.js +90 -99
  106. package/src/pb-media-query.js +74 -72
  107. package/src/pb-mei.js +306 -295
  108. package/src/pb-message.js +139 -97
  109. package/src/pb-mixin.js +269 -264
  110. package/src/pb-navigation.js +80 -95
  111. package/src/pb-observable.js +38 -38
  112. package/src/pb-odd-editor.js +1054 -958
  113. package/src/pb-odd-elementspec-editor.js +349 -298
  114. package/src/pb-odd-model-editor.js +1075 -909
  115. package/src/pb-odd-parameter-editor.js +200 -178
  116. package/src/pb-odd-rendition-editor.js +136 -124
  117. package/src/pb-page.js +431 -422
  118. package/src/pb-paginate.js +228 -179
  119. package/src/pb-panel.js +198 -182
  120. package/src/pb-popover-themes.js +15 -8
  121. package/src/pb-popover.js +296 -287
  122. package/src/pb-print-preview.js +127 -127
  123. package/src/pb-progress.js +51 -51
  124. package/src/pb-repeat.js +105 -104
  125. package/src/pb-restricted.js +84 -77
  126. package/src/pb-search.js +256 -228
  127. package/src/pb-select-feature.js +127 -120
  128. package/src/pb-select-odd.js +132 -124
  129. package/src/pb-select-template.js +89 -78
  130. package/src/pb-select.js +251 -227
  131. package/src/pb-split-list.js +179 -174
  132. package/src/pb-svg.js +80 -79
  133. package/src/pb-table-column.js +54 -54
  134. package/src/pb-table-grid.js +221 -203
  135. package/src/pb-tabs.js +61 -63
  136. package/src/pb-tify.js +154 -154
  137. package/src/pb-timeline.js +382 -249
  138. package/src/pb-toggle-feature.js +195 -187
  139. package/src/pb-upload.js +184 -174
  140. package/src/pb-version.js +30 -30
  141. package/src/pb-view-annotate.js +135 -98
  142. package/src/pb-view.js +1282 -1270
  143. package/src/pb-zoom.js +127 -45
  144. package/src/polymer-hack.js +1 -1
  145. package/src/search-result-service.js +256 -223
  146. package/src/seed-element.js +13 -20
  147. package/src/settings.js +4 -4
  148. package/src/theming.js +98 -91
  149. package/src/urls.js +289 -289
  150. package/src/utils.js +53 -51
  151. package/css/pb-styles.css +0 -51
  152. package/dist/vaadin-element-mixin-fe4a4883.js +0 -527
  153. package/src/assets/pb-styles.css +0 -51
  154. package/src/pb-light-dom.js +0 -41
@@ -8,11 +8,11 @@ jobs:
8
8
  build:
9
9
  runs-on: ubuntu-latest
10
10
  steps:
11
- - uses: actions/checkout@v4
11
+ - uses: actions/checkout@v6
12
12
  - name: Setup Node.js environment
13
- uses: actions/setup-node@v4
13
+ uses: actions/setup-node@v6
14
14
  with:
15
- node-version: "16"
15
+ node-version: "22"
16
16
  - run: npm ci
17
17
  - run: npm run gh-pages
18
18
  - name: Deploy to gh-pages
@@ -14,11 +14,11 @@ jobs:
14
14
  build:
15
15
  runs-on: ubuntu-latest
16
16
  steps:
17
- - uses: actions/checkout@v4
17
+ - uses: actions/checkout@v6
18
18
  - name: Use Node.js
19
- uses: actions/setup-node@v4
19
+ uses: actions/setup-node@v6
20
20
  with:
21
- node-version: "16"
21
+ node-version: "22"
22
22
  - name: npm install and build
23
23
  run:
24
24
  npm ci
@@ -4,17 +4,17 @@ on:
4
4
  push:
5
5
  branches:
6
6
  - master
7
- - next
7
+ - next-3
8
8
 
9
9
  jobs:
10
10
  release:
11
11
  name: Release
12
12
  runs-on: ubuntu-latest
13
13
  steps:
14
- - uses: actions/checkout@v4
15
- - uses: actions/setup-node@v4
14
+ - uses: actions/checkout@v5
15
+ - uses: actions/setup-node@v5
16
16
  with:
17
- node-version: "16"
17
+ node-version: "22"
18
18
  - name: npm install and build
19
19
  run:
20
20
  npm ci
package/.releaserc.json CHANGED
@@ -2,13 +2,13 @@
2
2
  "branches": [
3
3
  "master",
4
4
  {
5
- "name": "next",
5
+ "name": "next-3",
6
6
  "prerelease": true,
7
7
  "channel": "next"
8
8
  }
9
9
  ],
10
10
  "repositoryUrl": "https://github.com/eeditiones/tei-publisher-components",
11
- "debug": "true",
11
+ "debug": true,
12
12
  "plugins": [
13
13
  "@semantic-release/commit-analyzer",
14
14
  "@semantic-release/release-notes-generator",
package/CHANGELOG.md CHANGED
@@ -1,37 +1,288 @@
1
- ## [2.26.1-next.3](https://github.com/eeditiones/tei-publisher-components/compare/v2.26.1-next.2...v2.26.1-next.3) (2025-06-03)
1
+ # [3.0.0](https://github.com/eeditiones/tei-publisher-components/compare/v2.25.7...v3.0.0) (2025-12-22)
2
+
3
+
4
+ * chore!: release version 3.0.0 ([0b0a750](https://github.com/eeditiones/tei-publisher-components/commit/0b0a75006a22fdaa5bbc24142e659474f1faf1f7))
5
+
6
+
7
+ ### Bug Fixes
8
+
9
+ * **pb-ajax:** contained pb-message should initially be display=none to avoid taking space ([84df915](https://github.com/eeditiones/tei-publisher-components/commit/84df9159bf3dad8dcd200f2e5a4e6bbd744cf37e))
10
+ * **pb-authority-lookup:** drop paper-input and paper-icon-button ([47edcd2](https://github.com/eeditiones/tei-publisher-components/commit/47edcd29b52e99a40309c4e8a2d5e394003c8813))
11
+ * **pb-authority-lookup:** fix styling ([6272717](https://github.com/eeditiones/tei-publisher-components/commit/6272717f9ad8c126ce97e220099c45ef6f1923e6))
12
+ * **pb-custom-form:** also handle key up for input[type=search] ([96bd084](https://github.com/eeditiones/tei-publisher-components/commit/96bd08490b79b15ed6a714575bc1f335f4563818))
13
+ * **pb-dialog:** move dialog default CSS to components.css ([ece99c9](https://github.com/eeditiones/tei-publisher-components/commit/ece99c9bdb37cd70c81bbe54691d3263043e19a2))
14
+ * **pb-download:** use pb-dialog instead of paper-dialog ([ddc4879](https://github.com/eeditiones/tei-publisher-components/commit/ddc48793d66c126df3ae023f15a4342c5b6f6661))
15
+ * **pb-facsimile:** component did not initialize if openseadragon was already loaded; this prevented multiple instances on the same page ([16c881b](https://github.com/eeditiones/tei-publisher-components/commit/16c881bdd0e1c7d9d441414d020778050f714f5e))
16
+ * **pb-facsimile:** perform better with many pb-facs-links ([4766df1](https://github.com/eeditiones/tei-publisher-components/commit/4766df1da278b198ef9bdbea9d6ecbe7978753b8))
17
+ * **pb-paginate:** fix width of active page number (closes [#279](https://github.com/eeditiones/tei-publisher-components/issues/279)) ([e85914b](https://github.com/eeditiones/tei-publisher-components/commit/e85914b9249b7b78c5962c562eb0633387bbb4c3))
18
+ * corrects indentation ([99aac66](https://github.com/eeditiones/tei-publisher-components/commit/99aac66183710bee3b3fa05ee5ded93d3c13b7fb))
19
+ * **pb-dialog:** any button with [rel="prev"] should close the dialog ([9c8c7f0](https://github.com/eeditiones/tei-publisher-components/commit/9c8c7f0ac24ffb139fd71dcc5e58922a1488e165))
20
+ * **pb-dialog:** include background svg for close button in default ([98d043d](https://github.com/eeditiones/tei-publisher-components/commit/98d043dae1e0669078cc1adac354b9273b23ed31))
21
+ * **pb-download,pb-edit-xml:** make themable ([85c5834](https://github.com/eeditiones/tei-publisher-components/commit/85c583448ce9778b7cb061f69b259293fffa3b26))
22
+ * **pb-lang:** default value not displayed ([89426bf](https://github.com/eeditiones/tei-publisher-components/commit/89426bf97620976320b321b55d4b5ec0d39ffc1d))
23
+ * **pb-lang:** use details/summary structure instead of select ([cdc2dcd](https://github.com/eeditiones/tei-publisher-components/commit/cdc2dcda188e2feef88fec45a6263569d4be9887))
24
+ * **pb-login:** do not enforce h2 for title, add placeholders ([d888703](https://github.com/eeditiones/tei-publisher-components/commit/d88870319a5c18e02a02b0bbbccf1ea678548916))
25
+ * **pb-login:** login/logout icons were swapped ([7b43326](https://github.com/eeditiones/tei-publisher-components/commit/7b4332604d44768b0c22f08edeba8ea6c4d6acdf))
26
+ * **pb-search:** autocomplete not working ([626fdd8](https://github.com/eeditiones/tei-publisher-components/commit/626fdd8c52510ee7c61a9240c8b94a9e6d0cc10c))
27
+ * **pb-timeline:** remove paper-button; improve styling and tooltip positioning ([c95cb1e](https://github.com/eeditiones/tei-publisher-components/commit/c95cb1e3fe2a39793aebc512cb0487f1139e23be))
28
+ * **pb-view:** add an attribute to set the "fill" parameter on requests. ([e6f3836](https://github.com/eeditiones/tei-publisher-components/commit/e6f3836cbde99133ba861dc71216397997bbb291))
29
+ * **pb-view:** remove unused paper-dialog ([90463df](https://github.com/eeditiones/tei-publisher-components/commit/90463df6f1fe7720d676a5e79dbc9b7586217c82))
30
+ * **pb-view:** start listening to pb-refresh after component is ready; prevents race condition ([6196e03](https://github.com/eeditiones/tei-publisher-components/commit/6196e03e648fad9d37404f4d7d06a5bbcfe317a3))
31
+ * **pb-zoom:** instead of manipulating font-size directly, pb-zoom now sets a scaling factor on :root using --pb-zoom-factor ([23ce0b5](https://github.com/eeditiones/tei-publisher-components/commit/23ce0b59e57dfb65928b956df03a8b635620d88c))
32
+ * corrects indentation ([32dcccb](https://github.com/eeditiones/tei-publisher-components/commit/32dcccb4deb9d66ac94777fa070e59f969d4ec47))
33
+
34
+
35
+ ### Features
36
+
37
+ * **demo:** add pb-paginate sample with the prev/next page buttons (by [@daliboris](https://github.com/daliboris)) ([4fa4e7a](https://github.com/eeditiones/tei-publisher-components/commit/4fa4e7afad81e8b686a119097090c43079c2eedf))
38
+ * **pb-authority-lookup:** add work entity ([b052241](https://github.com/eeditiones/tei-publisher-components/commit/b0522411c6ead850eba9a9e21b05da7e45816e16))
39
+ * **pb-authority-lookup:** add work entity ([9107004](https://github.com/eeditiones/tei-publisher-components/commit/910700440aaaba3d91729ae8da820ef10a7f69a8))
40
+ * **pb-collapse, pb-odd-editor:** remove iron-collapse and use standard ([628f782](https://github.com/eeditiones/tei-publisher-components/commit/628f78278cca122a77ab5f0fadd1bb26a4dc8ed3))
41
+ * **pb-dialog:** add pb-dialog component to replace paper-dialog ([c05b760](https://github.com/eeditiones/tei-publisher-components/commit/c05b760ce6b63fc8d4893c354ad4731a1b619fff))
42
+ * **pb-grid:** drop polymer components ([8014c9c](https://github.com/eeditiones/tei-publisher-components/commit/8014c9cdd1bd79834e4fcd7c2f0d6d5d16349f2c))
43
+ * **pb-lang:** switch to standard select ([9a4a01a](https://github.com/eeditiones/tei-publisher-components/commit/9a4a01abcb87dbe0cde5e4a4deeb5ba0a94c0a61))
44
+ * **pb-login:** drop polymer, use pb-dialog ([ffee19f](https://github.com/eeditiones/tei-publisher-components/commit/ffee19fa27f1e8520c8c3e9a877100b981e38ddf))
45
+ * **pb-managed-odds:** drop paper elements, use plain styling ([0f5c820](https://github.com/eeditiones/tei-publisher-components/commit/0f5c820923529b68bd264bfd1acb8ee95ef16830))
46
+ * **pb-message:** replace paper-dialog with pb-dialog ([e60c401](https://github.com/eeditiones/tei-publisher-components/commit/e60c401153bd2756c0d081a09e70f2be31ab2526))
47
+ * **pb-paginate:** add buttons to navigate the prev/next page (by [@daliboris](https://github.com/daliboris)) ([e8c3fdc](https://github.com/eeditiones/tei-publisher-components/commit/e8c3fdc766234f782c0ab8733835bcf09c612cbd))
48
+ * **pb-progress:** replace paper-progress with native progres ([5ce49f1](https://github.com/eeditiones/tei-publisher-components/commit/5ce49f19abda1f37f884d977a0cc5204d690f290))
49
+ * **pb-search:** replace paper with native elements ([03679ea](https://github.com/eeditiones/tei-publisher-components/commit/03679ea0b52c547b7b55f5fb04bd34894c833d90))
50
+ * **pb-toggle-feature:** replace paper with native checkbox ([b1da06c](https://github.com/eeditiones/tei-publisher-components/commit/b1da06c70745646effb082e67556f7f6691c46e7))
51
+ * **pb-zoom:** replace paper button ([cddb36f](https://github.com/eeditiones/tei-publisher-components/commit/cddb36fddd35e4e31b6bbd1a98af1f3c9275a92e))
52
+
53
+
54
+ ### BREAKING CHANGES
55
+
56
+ * Major version release 3.0.0
57
+
58
+ # [2.26.0-next-3.21](https://github.com/eeditiones/tei-publisher-components/compare/v2.26.0-next-3.20...v2.26.0-next-3.21) (2025-12-22)
59
+
60
+
61
+ ### Bug Fixes
62
+
63
+ * **pb-paginate:** fix width of active page number (closes [#279](https://github.com/eeditiones/tei-publisher-components/issues/279)) ([e85914b](https://github.com/eeditiones/tei-publisher-components/commit/e85914b9249b7b78c5962c562eb0633387bbb4c3))
64
+
65
+
66
+ ### Features
67
+
68
+ * **demo:** add pb-paginate sample with the prev/next page buttons (by [@daliboris](https://github.com/daliboris)) ([4fa4e7a](https://github.com/eeditiones/tei-publisher-components/commit/4fa4e7afad81e8b686a119097090c43079c2eedf))
69
+ * **pb-paginate:** add buttons to navigate the prev/next page (by [@daliboris](https://github.com/daliboris)) ([e8c3fdc](https://github.com/eeditiones/tei-publisher-components/commit/e8c3fdc766234f782c0ab8733835bcf09c612cbd))
70
+
71
+ # [2.26.0-next-3.20](https://github.com/eeditiones/tei-publisher-components/compare/v2.26.0-next-3.19...v2.26.0-next-3.20) (2025-12-11)
72
+
73
+
74
+ ### Bug Fixes
75
+
76
+ * **pb-facsimile:** perform better with many pb-facs-links ([4766df1](https://github.com/eeditiones/tei-publisher-components/commit/4766df1da278b198ef9bdbea9d6ecbe7978753b8))
77
+
78
+ # [2.26.0-next-3.19](https://github.com/eeditiones/tei-publisher-components/compare/v2.26.0-next-3.18...v2.26.0-next-3.19) (2025-12-04)
79
+
80
+
81
+ ### Bug Fixes
82
+
83
+ * corrects indentation ([99aac66](https://github.com/eeditiones/tei-publisher-components/commit/99aac66183710bee3b3fa05ee5ded93d3c13b7fb))
84
+
85
+
86
+ ### Features
87
+
88
+ * **pb-authority-lookup:** add work entity ([b052241](https://github.com/eeditiones/tei-publisher-components/commit/b0522411c6ead850eba9a9e21b05da7e45816e16))
89
+
90
+ # [2.26.0-next-3.18](https://github.com/eeditiones/tei-publisher-components/compare/v2.26.0-next-3.17...v2.26.0-next-3.18) (2025-11-04)
91
+
92
+
93
+ ### Bug Fixes
94
+
95
+ * **pb-facsimile:** update OSD and override fullscreen differently ([ddb9e18](https://github.com/eeditiones/tei-publisher-components/commit/ddb9e188a84739f3a4b128c816ebb1ba55a08bd7))
96
+
97
+ # [2.26.0-next-3.17](https://github.com/eeditiones/tei-publisher-components/compare/v2.26.0-next-3.16...v2.26.0-next-3.17) (2025-10-06)
98
+
99
+
100
+ ### Bug Fixes
101
+
102
+ * **pb-zoom:** instead of manipulating font-size directly, pb-zoom now sets a scaling factor on :root using --pb-zoom-factor ([23ce0b5](https://github.com/eeditiones/tei-publisher-components/commit/23ce0b59e57dfb65928b956df03a8b635620d88c))
103
+
104
+ # [2.26.0-next-3.16](https://github.com/eeditiones/tei-publisher-components/compare/v2.26.0-next-3.15...v2.26.0-next-3.16) (2025-09-12)
105
+
106
+
107
+ ### Features
108
+
109
+ * **pb-managed-odds:** drop paper elements, use plain styling ([0f5c820](https://github.com/eeditiones/tei-publisher-components/commit/0f5c820923529b68bd264bfd1acb8ee95ef16830))
110
+
111
+ # [2.26.0-next-3.15](https://github.com/eeditiones/tei-publisher-components/compare/v2.26.0-next-3.14...v2.26.0-next-3.15) (2025-09-11)
2
112
 
3
113
 
4
114
  ### Bug Fixes
5
115
 
6
- * **pb-light-dom:** accept more than one element into one slot ([961321c](https://github.com/eeditiones/tei-publisher-components/commit/961321cef08888d76c4278f2de362ffd0860aab2))
116
+ * **pb-timeline:** remove paper-button; improve styling and tooltip positioning ([c95cb1e](https://github.com/eeditiones/tei-publisher-components/commit/c95cb1e3fe2a39793aebc512cb0487f1139e23be))
7
117
 
8
- ## [2.26.1-next.2](https://github.com/eeditiones/tei-publisher-components/compare/v2.26.1-next.1...v2.26.1-next.2) (2025-06-03)
118
+ # [2.26.0-next-3.14](https://github.com/eeditiones/tei-publisher-components/compare/v2.26.0-next-3.13...v2.26.0-next-3.14) (2025-09-10)
9
119
 
10
120
 
11
121
  ### Bug Fixes
12
122
 
13
- * **pb-message:** move to dialog without shadow dom ([dc6673c](https://github.com/eeditiones/tei-publisher-components/commit/dc6673c52a3094a3fe72fd813e5ced2a6590be3b))
123
+ * **pb-facsimile:** component did not initialize if openseadragon was already loaded; this prevented multiple instances on the same page ([16c881b](https://github.com/eeditiones/tei-publisher-components/commit/16c881bdd0e1c7d9d441414d020778050f714f5e))
124
+ * **pb-view:** start listening to pb-refresh after component is ready; prevents race condition ([6196e03](https://github.com/eeditiones/tei-publisher-components/commit/6196e03e648fad9d37404f4d7d06a5bbcfe317a3))
125
+
14
126
 
15
- ## [2.26.1-next.1](https://github.com/eeditiones/tei-publisher-components/compare/v2.26.0...v2.26.1-next.1) (2025-06-02)
127
+ ### Features
128
+
129
+ * **pb-grid:** drop polymer components ([8014c9c](https://github.com/eeditiones/tei-publisher-components/commit/8014c9cdd1bd79834e4fcd7c2f0d6d5d16349f2c))
130
+
131
+ # [2.26.0-next-3.13](https://github.com/eeditiones/tei-publisher-components/compare/v2.26.0-next-3.12...v2.26.0-next-3.13) (2025-09-10)
16
132
 
17
133
 
18
134
  ### Bug Fixes
19
135
 
20
- * **pb-light-dom:** parameter error ([fed63dc](https://github.com/eeditiones/tei-publisher-components/commit/fed63dc08a8c2e680b395acb76e881a764af1753))
136
+ * **docker:** allign image ([45fcfe6](https://github.com/eeditiones/tei-publisher-components/commit/45fcfe682d4413baaf6413e3801201f46d7b0f0a)), closes [#244](https://github.com/eeditiones/tei-publisher-components/issues/244)
137
+ * **docker:** minor fixes ([34ad702](https://github.com/eeditiones/tei-publisher-components/commit/34ad702e6e72455096421cfa6f77a9a921cf2b31))
138
+ * **i18n:** correct pl labels ([f861af7](https://github.com/eeditiones/tei-publisher-components/commit/f861af774050accc0a5479ae40a5be94c8f87f2f))
139
+ * **pb-dialog:** any button with [rel="prev"] should close the dialog ([9c8c7f0](https://github.com/eeditiones/tei-publisher-components/commit/9c8c7f0ac24ffb139fd71dcc5e58922a1488e165))
21
140
 
22
- # [2.26.0](https://github.com/eeditiones/tei-publisher-components/compare/v2.25.2...v2.26.0) (2025-06-02)
141
+
142
+ ### Features
143
+
144
+ * **pb-progress:** replace paper-progress with native progres ([5ce49f1](https://github.com/eeditiones/tei-publisher-components/commit/5ce49f19abda1f37f884d977a0cc5204d690f290))
145
+
146
+ # [2.26.0-next-3.12](https://github.com/eeditiones/tei-publisher-components/compare/v2.26.0-next-3.11...v2.26.0-next-3.12) (2025-08-31)
23
147
 
24
148
 
25
149
  ### Bug Fixes
26
150
 
27
- * **pb-navigation:** show URL in href on the link tag, so it's visible for crawlers ([732a82a](https://github.com/eeditiones/tei-publisher-components/commit/732a82ad388748bee30a6fdbbdc3c0638f2bdbd4))
28
- * **pb-timeline:** Fix the timeframe label for some edge cases ([55393a3](https://github.com/eeditiones/tei-publisher-components/commit/55393a3555be07408f9b386224e39d7f30a2b1ef))
151
+ * **pb-dialog:** include background svg for close button in default ([98d043d](https://github.com/eeditiones/tei-publisher-components/commit/98d043dae1e0669078cc1adac354b9273b23ed31))
152
+ * **pb-login:** login/logout icons were swapped ([7b43326](https://github.com/eeditiones/tei-publisher-components/commit/7b4332604d44768b0c22f08edeba8ea6c4d6acdf))
153
+
154
+ # [2.26.0-next-3.11](https://github.com/eeditiones/tei-publisher-components/compare/v2.26.0-next-3.10...v2.26.0-next-3.11) (2025-08-28)
155
+
156
+
157
+ ### Bug Fixes
158
+
159
+ * **pb-view:** add an attribute to set the "fill" parameter on requests. ([e6f3836](https://github.com/eeditiones/tei-publisher-components/commit/e6f3836cbde99133ba861dc71216397997bbb291))
160
+
161
+ # [2.26.0-next-3.10](https://github.com/eeditiones/tei-publisher-components/compare/v2.26.0-next-3.9...v2.26.0-next-3.10) (2025-07-29)
29
162
 
30
163
 
31
164
  ### Features
32
165
 
33
- * **pb-lang:** drop shadow dom, output standard select instead ([d7fe596](https://github.com/eeditiones/tei-publisher-components/commit/d7fe59644d7567ede14cd85a41be776e53ceb700))
34
- * **pb-login,pb-dialog:** switch to light dom ([da441f7](https://github.com/eeditiones/tei-publisher-components/commit/da441f728e1bcc0636ef3afdcfb2ed034f99abc1))
166
+ * **pb-collapse, pb-odd-editor:** remove iron-collapse and use standard ([628f782](https://github.com/eeditiones/tei-publisher-components/commit/628f78278cca122a77ab5f0fadd1bb26a4dc8ed3))
167
+
168
+ # [2.26.0-next-3.9](https://github.com/eeditiones/tei-publisher-components/compare/v2.26.0-next-3.8...v2.26.0-next-3.9) (2025-07-26)
169
+
170
+
171
+ ### Bug Fixes
172
+
173
+ * **pb-authority-lookup:** fix styling ([6272717](https://github.com/eeditiones/tei-publisher-components/commit/6272717f9ad8c126ce97e220099c45ef6f1923e6))
174
+
175
+ # [2.26.0-next-3.8](https://github.com/eeditiones/tei-publisher-components/compare/v2.26.0-next-3.7...v2.26.0-next-3.8) (2025-07-25)
176
+
177
+
178
+ ### Bug Fixes
179
+
180
+ * **pb-authority-lookup:** drop paper-input and paper-icon-button ([47edcd2](https://github.com/eeditiones/tei-publisher-components/commit/47edcd29b52e99a40309c4e8a2d5e394003c8813))
181
+ * **pb-view:** remove unused paper-dialog ([90463df](https://github.com/eeditiones/tei-publisher-components/commit/90463df6f1fe7720d676a5e79dbc9b7586217c82))
182
+
183
+ # [2.26.0-next-3.7](https://github.com/eeditiones/tei-publisher-components/compare/v2.26.0-next-3.6...v2.26.0-next-3.7) (2025-07-24)
184
+
185
+
186
+ ### Bug Fixes
187
+
188
+ * **pb-custom-form:** also handle key up for input[type=search] ([96bd084](https://github.com/eeditiones/tei-publisher-components/commit/96bd08490b79b15ed6a714575bc1f335f4563818))
189
+ * **pb-download,pb-edit-xml:** make themable ([85c5834](https://github.com/eeditiones/tei-publisher-components/commit/85c583448ce9778b7cb061f69b259293fffa3b26))
190
+
191
+ # [2.26.0-next-3.6](https://github.com/eeditiones/tei-publisher-components/compare/v2.26.0-next-3.5...v2.26.0-next-3.6) (2025-07-18)
192
+
193
+
194
+ ### Bug Fixes
195
+
196
+ * **pb-search:** autocomplete not working ([626fdd8](https://github.com/eeditiones/tei-publisher-components/commit/626fdd8c52510ee7c61a9240c8b94a9e6d0cc10c))
197
+
198
+
199
+ ### Features
200
+
201
+ * **pb-search:** replace paper with native elements ([03679ea](https://github.com/eeditiones/tei-publisher-components/commit/03679ea0b52c547b7b55f5fb04bd34894c833d90))
202
+
203
+ # [2.26.0-next-3.5](https://github.com/eeditiones/tei-publisher-components/compare/v2.26.0-next-3.4...v2.26.0-next-3.5) (2025-07-02)
204
+
205
+
206
+ ### Bug Fixes
207
+
208
+ * **pb-ajax:** contained pb-message should initially be display=none to avoid taking space ([84df915](https://github.com/eeditiones/tei-publisher-components/commit/84df9159bf3dad8dcd200f2e5a4e6bbd744cf37e))
209
+
210
+
211
+ ### Features
212
+
213
+ * **pb-toggle-feature:** replace paper with native checkbox ([b1da06c](https://github.com/eeditiones/tei-publisher-components/commit/b1da06c70745646effb082e67556f7f6691c46e7))
214
+
215
+ # [2.26.0-next-3.4](https://github.com/eeditiones/tei-publisher-components/compare/v2.26.0-next-3.3...v2.26.0-next-3.4) (2025-06-19)
216
+
217
+
218
+ ### Bug Fixes
219
+
220
+ * **pb-lang:** default value not displayed ([89426bf](https://github.com/eeditiones/tei-publisher-components/commit/89426bf97620976320b321b55d4b5ec0d39ffc1d))
221
+
222
+ # [2.26.0-next-3.3](https://github.com/eeditiones/tei-publisher-components/compare/v2.26.0-next-3.2...v2.26.0-next-3.3) (2025-06-19)
223
+
224
+
225
+ ### Bug Fixes
226
+
227
+ * **pb-lang:** use details/summary structure instead of select ([cdc2dcd](https://github.com/eeditiones/tei-publisher-components/commit/cdc2dcda188e2feef88fec45a6263569d4be9887))
228
+
229
+ # [2.26.0-next-3.2](https://github.com/eeditiones/tei-publisher-components/compare/v2.26.0-next-3.1...v2.26.0-next-3.2) (2025-06-15)
230
+
231
+
232
+ ### Bug Fixes
233
+
234
+ * **pb-login:** do not enforce h2 for title, add placeholders ([d888703](https://github.com/eeditiones/tei-publisher-components/commit/d88870319a5c18e02a02b0bbbccf1ea678548916))
235
+
236
+
237
+ ### Features
238
+
239
+ * **pb-zoom:** replace paper button ([cddb36f](https://github.com/eeditiones/tei-publisher-components/commit/cddb36fddd35e4e31b6bbd1a98af1f3c9275a92e))
240
+
241
+ # [2.26.0-next-3.1](https://github.com/eeditiones/tei-publisher-components/compare/v2.25.4...v2.26.0-next-3.1) (2025-06-10)
242
+
243
+
244
+ ### Bug Fixes
245
+
246
+ * **pb-dialog:** move dialog default CSS to components.css ([ece99c9](https://github.com/eeditiones/tei-publisher-components/commit/ece99c9bdb37cd70c81bbe54691d3263043e19a2))
247
+ * **pb-download:** use pb-dialog instead of paper-dialog ([ddc4879](https://github.com/eeditiones/tei-publisher-components/commit/ddc48793d66c126df3ae023f15a4342c5b6f6661))
248
+
249
+
250
+ ### Features
251
+
252
+ * **pb-dialog:** add pb-dialog component to replace paper-dialog ([c05b760](https://github.com/eeditiones/tei-publisher-components/commit/c05b760ce6b63fc8d4893c354ad4731a1b619fff))
253
+ * **pb-lang:** switch to standard select ([9a4a01a](https://github.com/eeditiones/tei-publisher-components/commit/9a4a01abcb87dbe0cde5e4a4deeb5ba0a94c0a61))
254
+ * **pb-login:** drop polymer, use pb-dialog ([ffee19f](https://github.com/eeditiones/tei-publisher-components/commit/ffee19fa27f1e8520c8c3e9a877100b981e38ddf))
255
+ * **pb-message:** replace paper-dialog with pb-dialog ([e60c401](https://github.com/eeditiones/tei-publisher-components/commit/e60c401153bd2756c0d081a09e70f2be31ab2526))
256
+
257
+
258
+ ## [2.25.7](https://github.com/eeditiones/tei-publisher-components/compare/v2.25.6...v2.25.7) (2025-11-04)
259
+
260
+
261
+ ### Bug Fixes
262
+
263
+ * **pb-facsimile:** update OSD and override fullscreen differently ([ddb9e18](https://github.com/eeditiones/tei-publisher-components/commit/ddb9e188a84739f3a4b128c816ebb1ba55a08bd7))
264
+
265
+ ## [2.25.6](https://github.com/eeditiones/tei-publisher-components/compare/v2.25.5...v2.25.6) (2025-09-09)
266
+
267
+
268
+ ### Bug Fixes
269
+
270
+ * **docker:** allign image ([45fcfe6](https://github.com/eeditiones/tei-publisher-components/commit/45fcfe682d4413baaf6413e3801201f46d7b0f0a)), closes [#244](https://github.com/eeditiones/tei-publisher-components/issues/244)
271
+ * **docker:** minor fixes ([34ad702](https://github.com/eeditiones/tei-publisher-components/commit/34ad702e6e72455096421cfa6f77a9a921cf2b31))
272
+
273
+ ## [2.25.5](https://github.com/eeditiones/tei-publisher-components/compare/v2.25.4...v2.25.5) (2025-08-16)
274
+
275
+
276
+ ### Bug Fixes
277
+
278
+ * **i18n:** correct pl labels ([f861af7](https://github.com/eeditiones/tei-publisher-components/commit/f861af774050accc0a5479ae40a5be94c8f87f2f))
279
+
280
+ ## [2.25.4](https://github.com/eeditiones/tei-publisher-components/compare/v2.25.3...v2.25.4) (2025-06-04)
281
+
282
+
283
+ ### Bug Fixes
284
+
285
+ * **pb-leaflet-map:** collapse the layer control by default, so it doesn't use too much space ([78f160f](https://github.com/eeditiones/tei-publisher-components/commit/78f160fa9e87799453354b19b6186c1c53d2b48b))
35
286
 
36
287
  ## [2.25.3](https://github.com/eeditiones/tei-publisher-components/compare/v2.25.2...v2.25.3) (2025-05-30)
37
288
 
package/Dockerfile CHANGED
@@ -1,41 +1,12 @@
1
- ARG EXIST_VERSION=6.2.0
1
+ ARG EXIST_VERSION=release
2
+ ARG BUILD=local
3
+ ARG PUBLISHER_VERSION=master
2
4
 
3
5
  # START STAGE 1
4
- FROM openjdk:8-jdk-slim as builder
5
-
6
- USER root
7
-
8
- ENV ANT_VERSION 1.10.15
9
- ENV ANT_HOME /etc/ant-${ANT_VERSION}
10
-
11
- WORKDIR /tmp
12
-
13
- RUN apt-get update && apt-get install -y \
14
- git \
15
- curl
16
-
17
- RUN curl -L -o apache-ant-${ANT_VERSION}-bin.tar.gz https://downloads.apache.org/ant/binaries/apache-ant-${ANT_VERSION}-bin.tar.gz \
18
- && mkdir ant-${ANT_VERSION} \
19
- && tar -zxvf apache-ant-${ANT_VERSION}-bin.tar.gz \
20
- && mv apache-ant-${ANT_VERSION} ${ANT_HOME} \
21
- && rm apache-ant-${ANT_VERSION}-bin.tar.gz \
22
- && rm -rf ant-${ANT_VERSION} \
23
- && rm -rf ${ANT_HOME}/manual \
24
- && unset ANT_VERSION
25
-
26
- ENV PATH ${PATH}:${ANT_HOME}/bin
6
+ FROM ghcr.io/eeditiones/builder:latest AS builder
27
7
 
28
- RUN apt-get update && apt-get install -y nodejs npm
29
-
30
- FROM builder as tei
31
-
32
- ARG TEMPLATING_VERSION=1.1.0
33
- ARG PUBLISHER_LIB_VERSION=3.0.0
34
- ARG ROUTER_VERSION=1.8.0
35
- ARG PUBLISHER_VERSION=master
36
-
37
- # add key
38
- RUN mkdir -p ~/.ssh && ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
8
+ ARG ROUTER_VERSION=1.10.0
9
+ ARG PUBLISHER_VERSION
39
10
 
40
11
  # Build tei-publisher-app
41
12
  RUN git clone https://github.com/eeditiones/tei-publisher-app.git \
@@ -53,38 +24,75 @@ COPY i18n/common/* resources/i18n/common/
53
24
 
54
25
  RUN ant
55
26
 
56
- RUN curl -L -o /tmp/roaster-${ROUTER_VERSION}.xar http://exist-db.org/exist/apps/public-repo/public/roaster-${ROUTER_VERSION}.xar
57
- 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
58
- RUN curl -L -o /tmp/templating-${TEMPLATING_VERSION}.xar http://exist-db.org/exist/apps/public-repo/public/templating-${TEMPLATING_VERSION}.xar
59
-
60
- FROM existdb/existdb:${EXIST_VERSION}
61
-
62
- COPY --from=tei /tmp/tei-publisher-app/build/*.xar /exist/autodeploy/
63
- COPY --from=tei /tmp/*.xar /exist/autodeploy/
64
-
65
- ENV DATA_DIR /exist-data
66
-
67
- ENV JAVA_TOOL_OPTIONS \
68
- -Dfile.encoding=UTF8 \
69
- -Dsun.jnu.encoding=UTF-8 \
70
- -Djava.awt.headless=true \
71
- -Dorg.exist.db-connection.cacheSize=${CACHE_MEM:-256}M \
72
- -Dorg.exist.db-connection.pool.max=${MAX_BROKER:-20} \
73
- -Dlog4j.configurationFile=/exist/etc/log4j2.xml \
74
- -Dexist.home=/exist \
75
- -Dexist.configurationFile=/exist/etc/conf.xml \
76
- -Djetty.home=/exist \
77
- -Dexist.jetty.config=/exist/etc/jetty/standard.enabled-jetty-configs \
78
- -XX:+UnlockExperimentalVMOptions \
79
- -XX:+UseCGroupMemoryLimitForHeap \
80
- -XX:+UseG1GC \
81
- -XX:+UseStringDeduplication \
82
- -XX:MaxRAMFraction=1 \
83
- -XX:+ExitOnOutOfMemoryError \
84
- -Dorg.exist.db-connection.files=${DATA_DIR} \
85
- -Dorg.exist.db-connection.recovery.journal-dir=${DATA_DIR}
86
-
87
- # pre-populate the database by launching it once
88
- RUN [ "java", \
89
- "org.exist.start.Main", "client", "-l", \
90
- "--no-gui", "--xpath", "system:get-version()" ]
27
+ WORKDIR /tmp
28
+
29
+ ADD http://exist-db.org/exist/apps/public-repo/public/roaster-${ROUTER_VERSION}.xar 001.xar
30
+ ADD https://github.com/eeditiones/tei-publisher-lib/releases/latest/download/tei-publisher-lib.xar 002.xar
31
+
32
+ FROM duncdrum/existdb:${EXIST_VERSION} AS build_local
33
+
34
+ ARG USR=root
35
+ USER ${USR}
36
+
37
+ ONBUILD COPY --from=builder /tmp/tei-publisher-app/build/*.xar /exist/autodeploy/
38
+ ONBUILD COPY --from=builder /tmp/*.xar /exist/autodeploy/
39
+
40
+ # TODO(DP): Tagging scheme add EXIST_VERSION to the tag
41
+ FROM ghcr.io/jinntec/base:main AS build_prod
42
+
43
+ ARG USR=nonroot
44
+ USER ${USR}
45
+
46
+ # Copy EXPATH dependencies
47
+ ONBUILD COPY --from=builder --chown=${USR} /tmp/tei-publisher-app/build/*.xar /exist/autodeploy/
48
+ ONBUILD COPY --from=builder --chown=${USR} /tmp/*.xar /exist/autodeploy/
49
+
50
+
51
+ FROM build_${BUILD}
52
+
53
+ ARG USR
54
+ USER ${USR}
55
+
56
+ WORKDIR /exist
57
+
58
+ # ARG ADMIN_PASS=none
59
+
60
+ ARG CACHE_MEM
61
+ ARG MAX_BROKER
62
+ ARG JVM_MAX_RAM_PERCENTAGE
63
+ ARG HTTP_PORT=8080
64
+ ARG HTTPS_PORT=8443
65
+
66
+ ARG NER_ENDPOINT=http://localhost:8001
67
+ ARG CONTEXT_PATH=auto
68
+ ARG PROXY_CACHING=false
69
+
70
+ ENV JDK_JAVA_OPTIONS="\
71
+ -Dteipublisher.ner-endpoint=${NER_ENDPOINT} \
72
+ -Dteipublisher.context-path=${CONTEXT_PATH} \
73
+ -Dteipublisher.proxy-caching=${PROXY_CACHING}"
74
+
75
+ # ENV JAVA_TOOL_OPTIONS="\
76
+ # -Dfile.encoding=UTF8 \
77
+ # -Dsun.jnu.encoding=UTF-8 \
78
+ # -Djava.awt.headless=true \
79
+ # -Dorg.exist.db-connection.cacheSize=${CACHE_MEM:-256}M \
80
+ # -Dorg.exist.db-connection.pool.max=${MAX_BROKER:-20} \
81
+ # -Dlog4j.configurationFile=/exist/etc/log4j2.xml \
82
+ # -Dexist.home=/exist \
83
+ # -Dexist.configurationFile=/exist/etc/conf.xml \
84
+ # -Djetty.home=/exist \
85
+ # -Dexist.jetty.config=/exist/etc/jetty/standard.enabled-jetty-configs \
86
+ # -Dteipublisher.ner-endpoint=${NER_ENDPOINT} \
87
+ # -Dteipublisher.context-path=${CONTEXT_PATH} \
88
+ # -Dteipublisher.proxy-caching=${PROXY_CACHING} \
89
+ # -XX:+UseG1GC \
90
+ # -XX:+UseStringDeduplication \
91
+ # -XX:+UseContainerSupport \
92
+ # -XX:MaxRAMPercentage=${JVM_MAX_RAM_PERCENTAGE:-75.0} \
93
+ # -XX:+ExitOnOutOfMemoryError"
94
+
95
+ # pre-populate the database by launching it once and change default pw
96
+ RUN [ "java", "org.exist.start.Main", "client", "--no-gui", "-l", "-u", "admin", "-P", "" ]
97
+
98
+ EXPOSE ${HTTP_PORT} ${HTTPS_PORT}
@@ -1,5 +1,5 @@
1
- /*
2
- * Global component theme stylesheet
3
- *
4
- * Styles defined here are injected into a components' shadow DOM.
5
- */
1
+ /*
2
+ * Global component theme stylesheet
3
+ *
4
+ * Styles defined here are injected into a components' shadow DOM.
5
+ */
Binary file
@@ -1,3 +1,34 @@
1
+ dialog {
2
+ min-width: var(--pb-dialog-min-width, 300px);
3
+ max-width: 100vw;
4
+ max-height: 100vh;
5
+ border-radius: var(--pb-dialog-border-radius, 6px);
6
+ box-shadow: var(--pb-dialog-box-shadow, 0 2px 16px rgba(0, 0, 0, 0.3));
7
+ border: var(--pb-dialog-border, none);
8
+ padding: 0;
9
+ }
10
+
11
+ dialog::backdrop {
12
+ background: var(--pb-dialog-backdrop-color, rgba(0, 0, 0, 0.4));
13
+ }
14
+
15
+ dialog>article>*,
16
+ dialog>article>::slotted(*) {
17
+ padding-left: var(--pb-dialog-padding-horizontal, 1rem);
18
+ padding-right: var(--pb-dialog-padding-horizontal, 1rem);
19
+ }
20
+
21
+ dialog>article>header {
22
+ border-bottom: 1px solid var(--pb-dialog-border-color, #e0e0e0);
23
+ margin-bottom: var(--pb-dialog-padding-vertical, 1rem); align-items: center;
24
+ }
25
+
26
+ dialog>article>footer {
27
+ padding-top: var(--pb-dialog-padding-vertical, 1rem);
28
+ padding-bottom: var(--pb-dialog-padding-vertical, 1rem);
29
+ border-top: 1px solid var(--pb-dialog-border-color, #e0e0e0);
30
+ }
31
+
1
32
  .table-grid thead th.gridjs-th {
2
33
  color: #CC9900;
3
34
  text-align: center;
@@ -23,4 +54,18 @@
23
54
 
24
55
  pb-browse-docs .toolbar > div {
25
56
  display: none;
26
- }
57
+ }
58
+
59
+ input[type="search"] {
60
+ display: inline-flex;
61
+ gap: 0.25rem;
62
+ height: 36px;
63
+ justify-content: center;
64
+ align-items: center;
65
+ padding: 0px 12px 0px 1.875rem;
66
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0'/%3E%3C/svg%3E");
67
+ background-position: center left 0.75rem;
68
+ background-size: .875rem auto;
69
+ background-repeat: no-repeat;
70
+ appearance: none;
71
+ }
@@ -83,7 +83,7 @@
83
83
  filter-options='[{"label": "browse.title", "value": "title"},{"label": "browse.author", "value": "author"},{"label": "browse.file", "value": "file"}]'
84
84
  filter-by="title" auto="auto" history="history" login="login" emit="docs" subscribe="docs">
85
85
  <pb-paginate slot="toolbar" id="paginate" per-page="10" range="5"
86
- emit="docs" subscribe="docs"></pb-paginate>
86
+ emit="docs" subscribe="docs" show-previous-next="show-previous-next"></pb-paginate>
87
87
  </pb-browse-docs>
88
88
  </main>
89
89
  </pb-page>
@@ -5,20 +5,18 @@
5
5
  <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes" />
6
6
 
7
7
  <title>pb-dialog Demo</title>
8
- <link rel="stylesheet" href="../css/pb-styles.css">
9
8
  <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
10
9
  </head>
11
10
 
12
11
  <body>
13
12
  <pb-demo-snippet>
14
13
  <template>
15
- <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher" api-version="1.0.0">
16
- <pb-document id="document1" path="doc/documentation.xml" odd="docbook" view="div"></pb-document>
14
+ <pb-page>
17
15
  <main>
18
16
  <button onclick="document.getElementById('dialog1').openDialog()">Open Dialog</button>
19
- <pb-dialog id="dialog1" title="Dialog 1">
17
+ <pb-dialog id="dialog1">
20
18
  <h1 slot="title">Dialog 1</h1>
21
- <p>This is a dialog</p>
19
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
22
20
  </pb-dialog>
23
21
  </main>
24
22
  </pb-page>