@eox/itemfilter 0.8.2 → 0.8.3

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.
@@ -2243,12 +2243,6 @@ section:not(section:last-of-type) {
2243
2243
  display: flex;
2244
2244
  flex-direction: column;
2245
2245
  }
2246
- #container-results {
2247
- margin-right: -1rem;
2248
- }
2249
- ul#results {
2250
- padding-right: 1rem;
2251
- }
2252
2246
  ul li {
2253
2247
  padding-left: 0;
2254
2248
  }
@@ -5506,7 +5500,11 @@ let Ue = class extends vo {
5506
5500
  <section class="${this.config.inlineMode ? "inline" : ne}">
5507
5501
  ${ht(
5508
5502
  !this.config.inlineMode,
5509
- () => he` <slot name="filterstitle"><h4>Filters</h4></slot> `
5503
+ () => he`
5504
+ <slot name="filterstitle"
5505
+ ><h4 style="margin-top: 8px">Filters</h4></slot
5506
+ >
5507
+ `
5510
5508
  )}
5511
5509
  <ul id="filters">
5512
5510
  ${it(
@@ -5560,7 +5558,9 @@ let Ue = class extends vo {
5560
5558
  () => he`
5561
5559
  <section id="section-results">
5562
5560
  <div>
5563
- <slot name="resultstitle"><h4>Results</h4></slot>
5561
+ <slot name="resultstitle"
5562
+ ><h4 style="margin-top: 8px">Results</h4></slot
5563
+ >
5564
5564
  </div>
5565
5565
  <div id="container-results" class="scroll">
5566
5566
  ${this.results.length < 1 ? he` <small class="no-results">No matching items</small> ` : ne}
@@ -365,12 +365,6 @@ section:not(section:last-of-type) {
365
365
  display: flex;
366
366
  flex-direction: column;
367
367
  }
368
- #container-results {
369
- margin-right: -1rem;
370
- }
371
- ul#results {
372
- padding-right: 1rem;
373
- }
374
368
  ul li {
375
369
  padding-left: 0;
376
370
  }
@@ -552,7 +546,11 @@ eox-itemfilter-range {
552
546
  >
553
547
  ${ut(this._config.filterProperties.length,()=>he`
554
548
  <section class="${this.config.inlineMode?"inline":ie}">
555
- ${ut(!this.config.inlineMode,()=>he` <slot name="filterstitle"><h4>Filters</h4></slot> `)}
549
+ ${ut(!this.config.inlineMode,()=>he`
550
+ <slot name="filterstitle"
551
+ ><h4 style="margin-top: 8px">Filters</h4></slot
552
+ >
553
+ `)}
556
554
  <ul id="filters">
557
555
  ${tt(Object.values(this.filters),e=>pr`
558
556
  <li>
@@ -594,7 +592,9 @@ eox-itemfilter-range {
594
592
  ${ut(this.config.showResults&&this.results,()=>he`
595
593
  <section id="section-results">
596
594
  <div>
597
- <slot name="resultstitle"><h4>Results</h4></slot>
595
+ <slot name="resultstitle"
596
+ ><h4 style="margin-top: 8px">Results</h4></slot
597
+ >
598
598
  </div>
599
599
  <div id="container-results" class="scroll">
600
600
  ${this.results.length<1?he` <small class="no-results">No matching items</small> `:ie}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eox/itemfilter",
3
- "version": "0.8.2",
3
+ "version": "0.8.3",
4
4
  "type": "module",
5
5
  "devDependencies": {
6
6
  "@eox/eslint-config": "^1.0.0",