@aquera/nile-elements 1.9.7 → 1.9.8

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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent nile-elements following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "nile-elements",
6
- "version": "1.9.7",
6
+ "version": "1.9.8",
7
7
  "main": "dist/src/index.js",
8
8
  "type": "module",
9
9
  "module": "dist/src/index.js",
@@ -77,7 +77,15 @@ export class VirtualScrollHelper {
77
77
  search,
78
78
  loader,
79
79
  footer,
80
- tag__content
80
+ tag__content,
81
+ option__base,
82
+ option__label,
83
+ option__prefix,
84
+ option__suffix,
85
+ option__checked-icon,
86
+ option__checkbox,
87
+ option__label_container,
88
+ option__description
81
89
  "
82
90
  >
83
91
  <slot name="prefix" slot="prefix"></slot>
@@ -8,7 +8,6 @@
8
8
  import { html, type TemplateResult } from 'lit';
9
9
  import { virtualize } from '@lit-labs/virtualizer/virtualize.js';
10
10
  import { unsafeHTML } from 'lit/directives/unsafe-html.js';
11
- import { ifDefined } from 'lit/directives/if-defined.js';
12
11
  import { classMap } from 'lit/directives/class-map.js';
13
12
 
14
13
  export class VirtualSelectRenderer {
@@ -111,6 +110,7 @@ export class VirtualSelectRenderer {
111
110
  .showCheckbox=${multiple}
112
111
  .tickOnSelect=${tickOnSelect ?? false}
113
112
  .legacy=${legacy ?? false}
113
+ exportparts="base:option__base, label:option__label, prefix:option__prefix, suffix:option__suffix, checked-icon:option__checked-icon, checkbox:option__checkbox, option_label_container:option__label_container, option_description:option__description"
114
114
  class=${classMap({
115
115
  option: enableDescription ?? false,
116
116
  [className ?? '']: !!className,