@ember-eui/core 5.11.1 → 5.11.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.
@@ -46,9 +46,11 @@
46
46
  id={{inputId}}
47
47
  class={{classes}}
48
48
  value={{@value}}
49
+ min={{@min}}
50
+ max={{@max}}
51
+ disabled={{@disabled}}
49
52
  step={{@step}}
50
53
  type="number"
51
- disabled={{@disabled}}
52
54
  ...attributes
53
55
  {{validatable-control @isInvalid}}
54
56
  />
@@ -52,7 +52,7 @@
52
52
  @compressed={{true}}
53
53
  @value={{this.year}}
54
54
  @options={{this.years}}
55
- {{on "change" (pick "target.value" (set this "year"))}}
55
+ {{on "change" (pick "target.value" this.setYear)}}
56
56
  />
57
57
  </EuiFlexItem>
58
58
  </div>
@@ -241,6 +241,10 @@ export default class DatetimePicker extends Component<DatetimePickerArgs> {
241
241
  // }
242
242
  // }
243
243
 
244
+ @action setYear(year: string) {
245
+ this.year = parseInt(year);
246
+ }
247
+
244
248
  @action setMonth(month: string) {
245
249
  this.monthMoment.month(parseInt(month));
246
250
  this.updateDate();
@@ -106,7 +106,7 @@
106
106
  aria-describedby={{concat this.timeSelectionId " " legendId}}
107
107
  aria-label={{valueLabel}}
108
108
  @value={{this.timeValue}}
109
- @onChange={{this.onTimeValueChange}}
109
+ {{on "input" (pick "target.value" (set this "timeValue"))}}
110
110
  />
111
111
  </Token>
112
112
  </EuiI18n>
@@ -45,6 +45,8 @@ export function inlineStyles({
45
45
 
46
46
  if (imageUrl) {
47
47
  avatarStyle.backgroundImage = `url(${imageUrl})`;
48
+ } else {
49
+ avatarStyle.backgroundImage = 'none';
48
50
  }
49
51
 
50
52
  if (!isNamedColor) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ember-eui/core",
3
- "version": "5.11.1",
3
+ "version": "5.11.3",
4
4
  "description": "Ember Components for Elastic UI",
5
5
  "keywords": [
6
6
  "ember-addon",
@@ -186,5 +186,5 @@
186
186
  "volta": {
187
187
  "extends": "../../package.json"
188
188
  },
189
- "gitHead": "6eb5b72e45ec33a295718f3bafc8aa808db21c61"
189
+ "gitHead": "e71ace0a99d5ed541a4e9d7aa372e32514b34c66"
190
190
  }