@teipublisher/pb-components 2.26.0-next-3.4 → 2.26.0-next-3.6
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 +24 -0
- package/dist/demo/components.css +14 -0
- package/dist/demo/pb-search.html +7 -4
- package/dist/demo/pb-search3.html +1 -1
- package/dist/demo/pb-search4.html +2 -2
- package/dist/pb-components-bundle.js +52 -67
- package/dist/pb-elements.json +15 -4
- package/dist/pb-odd-editor.js +118 -48
- package/dist/{vaadin-element-mixin-87f431bd.js → vaadin-element-mixin-15b1be74.js} +26 -96
- package/package.json +1 -1
- package/pb-elements.json +15 -4
- package/src/pb-ajax.js +12 -29
- package/src/pb-download.js +0 -1
- package/src/pb-message.js +11 -1
- package/src/pb-search.js +91 -74
- package/src/pb-toggle-feature.js +20 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
# [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)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **pb-search:** autocomplete not working ([626fdd8](https://github.com/eeditiones/tei-publisher-components/commit/626fdd8c52510ee7c61a9240c8b94a9e6d0cc10c))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **pb-search:** replace paper with native elements ([03679ea](https://github.com/eeditiones/tei-publisher-components/commit/03679ea0b52c547b7b55f5fb04bd34894c833d90))
|
|
12
|
+
|
|
13
|
+
# [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)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* **pb-ajax:** contained pb-message should initially be display=none to avoid taking space ([84df915](https://github.com/eeditiones/tei-publisher-components/commit/84df9159bf3dad8dcd200f2e5a4e6bbd744cf37e))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* **pb-toggle-feature:** replace paper with native checkbox ([b1da06c](https://github.com/eeditiones/tei-publisher-components/commit/b1da06c70745646effb082e67556f7f6691c46e7))
|
|
24
|
+
|
|
1
25
|
# [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)
|
|
2
26
|
|
|
3
27
|
|
package/dist/demo/components.css
CHANGED
|
@@ -60,4 +60,18 @@ dialog>article>footer {
|
|
|
60
60
|
|
|
61
61
|
pb-browse-docs .toolbar > div {
|
|
62
62
|
display: none;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
input[type="search"] {
|
|
66
|
+
display: inline-flex;
|
|
67
|
+
gap: 0.25rem;
|
|
68
|
+
height: 36px;
|
|
69
|
+
justify-content: center;
|
|
70
|
+
align-items: center;
|
|
71
|
+
padding: 0px 12px 0px 1.875rem;
|
|
72
|
+
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");
|
|
73
|
+
background-position: center left 0.75rem;
|
|
74
|
+
background-size: .875rem auto;
|
|
75
|
+
background-repeat: no-repeat;
|
|
76
|
+
appearance: none;
|
|
63
77
|
}
|
package/dist/demo/pb-search.html
CHANGED
|
@@ -47,12 +47,15 @@
|
|
|
47
47
|
<main>
|
|
48
48
|
<pb-search id="search-form">
|
|
49
49
|
<div class="targets">
|
|
50
|
-
<
|
|
51
|
-
<
|
|
50
|
+
<input id="tei-text" type="checkbox" name="tei-target" value="tei-text">
|
|
51
|
+
<label for="tei-text"><pb-i18n key="search.sections">Search sections</pb-i18n></label>
|
|
52
|
+
|
|
53
|
+
<input id="tei-head" type="checkbox" name="tei-target" value="tei-head">
|
|
54
|
+
<label for="tei-head"><pb-i18n key="search.headings">Search headings</pb-i18n></label>
|
|
52
55
|
</div>
|
|
53
56
|
<div class="buttons">
|
|
54
|
-
<
|
|
55
|
-
<
|
|
57
|
+
<button slot="searchButton"><pb-i18n key="search.search"></pb-i18n></button>
|
|
58
|
+
<button slot="resetButton"><pb-i18n key="search.reset"></pb-i18n></button>
|
|
56
59
|
</div>
|
|
57
60
|
</pb-search>
|
|
58
61
|
<pb-paginate per-page="10" range="5"></pb-paginate>
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
<h2>multi-select</h2>
|
|
51
51
|
<pb-custom-form id="custom-form">
|
|
52
52
|
<input type="text" name="custom">
|
|
53
|
-
<button type="submit" slot="
|
|
53
|
+
<button type="submit" slot="searchButtonBottom">Submit</button>
|
|
54
54
|
<button type="reset" slot="resetButton">Reset</button>
|
|
55
55
|
</pb-custom-form>
|
|
56
56
|
<pb-search id="search-form" subforms="pb-custom-form"></pb-search>
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
<h2>paper buttons for search + reset</h2>
|
|
25
25
|
|
|
26
26
|
<pb-search id="search-form">
|
|
27
|
-
<
|
|
28
|
-
<
|
|
27
|
+
<button slot="searchButton">submit</button>
|
|
28
|
+
<button slot="resetButton">reset</button>
|
|
29
29
|
</pb-search>
|
|
30
30
|
|
|
31
31
|
<h2>native buttons for search + reset</h2>
|