@teipublisher/pb-components 2.26.0-next-3.5 → 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 CHANGED
@@ -1,3 +1,15 @@
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
+
1
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)
2
14
 
3
15
 
@@ -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
  }
@@ -47,12 +47,15 @@
47
47
  <main>
48
48
  <pb-search id="search-form">
49
49
  <div class="targets">
50
- <paper-checkbox name="tei-target" value="tei-text"><pb-i18n key="search.sections">Search sections</pb-i18n></paper-checkbox>
51
- <paper-checkbox name="tei-target" value="tei-head"><pb-i18n key="search.headings">Search headings</pb-i18n></paper-checkbox>
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
- <paper-button slot="searchButton"><pb-i18n key="search.search"></pb-i18n></paper-button>
55
- <paper-button slot="resetButton"><pb-i18n key="search.reset"></pb-i18n></paper-button>
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="searchButton">Submit</button>
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
- <paper-button slot="searchButton">submit</paper-button>
28
- <paper-button slot="resetButton">reset</paper-button>
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>