@umbraco-ui/uui-combobox 1.14.2 → 1.15.0
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/lib/index.js +9 -5
- package/package.json +9 -9
package/lib/index.js
CHANGED
|
@@ -8,6 +8,12 @@ import { property, query, queryAssignedElements, state } from 'lit/decorators.js
|
|
|
8
8
|
import { UUIEvent } from '@umbraco-ui/uui-base/lib/events';
|
|
9
9
|
|
|
10
10
|
class UUIComboboxEvent extends UUIEvent {
|
|
11
|
+
static {
|
|
12
|
+
this.SEARCH = "search";
|
|
13
|
+
}
|
|
14
|
+
static {
|
|
15
|
+
this.CHANGE = "change";
|
|
16
|
+
}
|
|
11
17
|
constructor(evName, eventInit = {}) {
|
|
12
18
|
super(evName, {
|
|
13
19
|
...{ bubbles: true },
|
|
@@ -15,8 +21,6 @@ class UUIComboboxEvent extends UUIEvent {
|
|
|
15
21
|
});
|
|
16
22
|
}
|
|
17
23
|
}
|
|
18
|
-
UUIComboboxEvent.SEARCH = "search";
|
|
19
|
-
UUIComboboxEvent.CHANGE = "change";
|
|
20
24
|
|
|
21
25
|
var __defProp = Object.defineProperty;
|
|
22
26
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -119,7 +123,7 @@ let UUIComboboxElement = class extends UUIFormControlMixin(LitElement, "") {
|
|
|
119
123
|
this.dispatchEvent(new UUIComboboxEvent(UUIComboboxEvent.CHANGE));
|
|
120
124
|
});
|
|
121
125
|
__privateAdd(this, _renderInput, () => {
|
|
122
|
-
return html
|
|
126
|
+
return html`<uui-input
|
|
123
127
|
slot="trigger"
|
|
124
128
|
id="combobox-input"
|
|
125
129
|
label="combobox-input"
|
|
@@ -239,7 +243,7 @@ let UUIComboboxElement = class extends UUIFormControlMixin(LitElement, "") {
|
|
|
239
243
|
}
|
|
240
244
|
render() {
|
|
241
245
|
if (this._isPhone && this.open) {
|
|
242
|
-
return html
|
|
246
|
+
return html`<div id="phone-wrapper">
|
|
243
247
|
<uui-button label="close" look="primary" @click=${__privateGet(this, _onClose)}>
|
|
244
248
|
${this.closeLabel}
|
|
245
249
|
</uui-button>
|
|
@@ -314,7 +318,7 @@ _renderDropdown = new WeakMap();
|
|
|
314
318
|
UUIComboboxElement.styles = [
|
|
315
319
|
css`
|
|
316
320
|
:host {
|
|
317
|
-
display: inline-
|
|
321
|
+
display: inline-flex;
|
|
318
322
|
}
|
|
319
323
|
|
|
320
324
|
#combobox-input {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umbraco-ui/uui-combobox",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Umbraco",
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
"custom-elements.json"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@umbraco-ui/uui-base": "1.
|
|
34
|
-
"@umbraco-ui/uui-button": "1.
|
|
35
|
-
"@umbraco-ui/uui-combobox-list": "1.
|
|
36
|
-
"@umbraco-ui/uui-icon": "1.
|
|
37
|
-
"@umbraco-ui/uui-popover-container": "1.
|
|
38
|
-
"@umbraco-ui/uui-scroll-container": "1.
|
|
39
|
-
"@umbraco-ui/uui-symbol-expand": "1.
|
|
33
|
+
"@umbraco-ui/uui-base": "1.15.0",
|
|
34
|
+
"@umbraco-ui/uui-button": "1.15.0",
|
|
35
|
+
"@umbraco-ui/uui-combobox-list": "1.15.0",
|
|
36
|
+
"@umbraco-ui/uui-icon": "1.15.0",
|
|
37
|
+
"@umbraco-ui/uui-popover-container": "1.15.0",
|
|
38
|
+
"@umbraco-ui/uui-scroll-container": "1.15.0",
|
|
39
|
+
"@umbraco-ui/uui-symbol-expand": "1.15.0"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "npm run analyze && tsc --build && rollup -c rollup.config.js",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
49
|
"homepage": "https://uui.umbraco.com/?path=/story/uui-combobox",
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "b84216deaff3a3be8f7bd8cdbf2758e7955c70e9"
|
|
51
51
|
}
|