noph-ui 0.8.13 → 0.8.14
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.
|
@@ -87,7 +87,6 @@
|
|
|
87
87
|
: '') + style}
|
|
88
88
|
class={['text-field', attributes.class]}
|
|
89
89
|
bind:this={element}
|
|
90
|
-
bind:clientWidth
|
|
91
90
|
>
|
|
92
91
|
<div
|
|
93
92
|
class="field"
|
|
@@ -102,8 +101,9 @@
|
|
|
102
101
|
tabindex={attributes.disabled ? -1 : tabindex}
|
|
103
102
|
aria-controls="listbox"
|
|
104
103
|
aria-expanded={menuOpen}
|
|
105
|
-
aria-label={label}
|
|
104
|
+
aria-label={attributes['aria-label'] || label}
|
|
106
105
|
bind:this={field}
|
|
106
|
+
bind:clientWidth
|
|
107
107
|
onclick={(event) => {
|
|
108
108
|
event.preventDefault()
|
|
109
109
|
menuElement?.showPopover()
|
|
@@ -161,6 +161,7 @@
|
|
|
161
161
|
tabindex="-1"
|
|
162
162
|
aria-label={label}
|
|
163
163
|
{...attributes}
|
|
164
|
+
class={[]}
|
|
164
165
|
bind:value
|
|
165
166
|
bind:this={selectElement}
|
|
166
167
|
>
|