kr-elements 0.0.1-alpha.33 → 0.0.1-alpha.34
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/dist/cjs/combobox/HTML.combobox.option.element.js +1 -1
- package/dist/cjs/combobox/HTML.combobox.tag.element.js +1 -1
- package/dist/esm/combobox/HTML.combobox.option.element.js +1 -1
- package/dist/esm/combobox/HTML.combobox.tag.element.js +1 -1
- package/dist/types/combobox/HTML.combobox.option.element.d.ts.map +1 -1
- package/dist/types/combobox/HTML.combobox.tag.element.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -7,10 +7,10 @@ class HTMLComboboxOptionElement extends HTMLElement {
|
|
|
7
7
|
static OWN_IDL = new Set(['value', 'label', 'selected']);
|
|
8
8
|
constructor() {
|
|
9
9
|
super();
|
|
10
|
-
this.part.add('option');
|
|
11
10
|
}
|
|
12
11
|
connectedCallback() {
|
|
13
12
|
this.#initialAttributesSynchronization();
|
|
13
|
+
this.part.add('option');
|
|
14
14
|
super.setAttribute('tabindex', "0");
|
|
15
15
|
super.setAttribute('role', "option");
|
|
16
16
|
const value = this.value;
|
|
@@ -4,9 +4,9 @@ exports.HTMLComboboxTagElement = void 0;
|
|
|
4
4
|
class HTMLComboboxTagElement extends HTMLElement {
|
|
5
5
|
constructor() {
|
|
6
6
|
super();
|
|
7
|
-
this.part.add('tag');
|
|
8
7
|
}
|
|
9
8
|
connectedCallback() {
|
|
9
|
+
this.part.add('tag');
|
|
10
10
|
if (this.parentElement) {
|
|
11
11
|
if (this.parentElement.hasAttribute('multiple')) {
|
|
12
12
|
if (!this.querySelector('[part*="clear-tag"]')) {
|
|
@@ -3,10 +3,10 @@ export class HTMLComboboxOptionElement extends HTMLElement {
|
|
|
3
3
|
static OWN_IDL = new Set(['value', 'label', 'selected']);
|
|
4
4
|
constructor() {
|
|
5
5
|
super();
|
|
6
|
-
this.part.add('option');
|
|
7
6
|
}
|
|
8
7
|
connectedCallback() {
|
|
9
8
|
this.#initialAttributesSynchronization();
|
|
9
|
+
this.part.add('option');
|
|
10
10
|
super.setAttribute('tabindex', "0");
|
|
11
11
|
super.setAttribute('role', "option");
|
|
12
12
|
const value = this.value;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export class HTMLComboboxTagElement extends HTMLElement {
|
|
2
2
|
constructor() {
|
|
3
3
|
super();
|
|
4
|
-
this.part.add('tag');
|
|
5
4
|
}
|
|
6
5
|
connectedCallback() {
|
|
6
|
+
this.part.add('tag');
|
|
7
7
|
if (this.parentElement) {
|
|
8
8
|
if (this.parentElement.hasAttribute('multiple')) {
|
|
9
9
|
if (!this.querySelector('[part*="clear-tag"]')) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HTML.combobox.option.element.d.ts","sourceRoot":"","sources":["../../../src/combobox/HTML.combobox.option.element.ts"],"names":[],"mappings":"AAEA,qBAAa,yBAA0B,SAAQ,WAAW;;IACxD,MAAM,CAAC,OAAO,cAA2C;;
|
|
1
|
+
{"version":3,"file":"HTML.combobox.option.element.d.ts","sourceRoot":"","sources":["../../../src/combobox/HTML.combobox.option.element.ts"],"names":[],"mappings":"AAEA,qBAAa,yBAA0B,SAAQ,WAAW;;IACxD,MAAM,CAAC,OAAO,cAA2C;;IAMzD,iBAAiB;IA0CjB,IAAI,KAAK,WAER;IACD,IAAI,KAAK,CAAC,KAAK,QAAA,EAEd;IAED,IAAI,KAAK,WAER;IACD,IAAI,KAAK,CAAC,KAAK,QAAA,EAEd;IAED,IAAI,QAAQ,YAEX;IACD,IAAI,QAAQ,CAAC,KAAK,SAAA,EAEjB;IAQD,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;IAQxC,eAAe,CAAC,IAAI,EAAE,MAAM;CAO7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HTML.combobox.tag.element.d.ts","sourceRoot":"","sources":["../../../src/combobox/HTML.combobox.tag.element.ts"],"names":[],"mappings":"AAAA,qBAAa,sBAAuB,SAAQ,WAAW;;
|
|
1
|
+
{"version":3,"file":"HTML.combobox.tag.element.d.ts","sourceRoot":"","sources":["../../../src/combobox/HTML.combobox.tag.element.ts"],"names":[],"mappings":"AAAA,qBAAa,sBAAuB,SAAQ,WAAW;;IAKrD,iBAAiB;CAUlB"}
|