@limetech/lime-elements 35.1.0-next.10 → 35.1.0-next.13
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/limel-date-picker.cjs.entry.js +6 -3
- package/dist/cjs/limel-form.cjs.entry.js +3 -0
- package/dist/cjs/limel-list_3.cjs.entry.js +2 -2
- package/dist/cjs/limel-menu-list.cjs.entry.js +1 -1
- package/dist/collection/components/date-picker/date-picker.css +6 -1
- package/dist/collection/components/date-picker/date-picker.js +4 -4
- package/dist/collection/components/form/templates/common.js +3 -0
- package/dist/collection/components/list/list-renderer.js +1 -1
- package/dist/collection/components/list/list.css +4 -0
- package/dist/collection/components/menu-list/menu-list.css +4 -0
- package/dist/esm/limel-date-picker.entry.js +6 -3
- package/dist/esm/limel-form.entry.js +3 -0
- package/dist/esm/limel-list_3.entry.js +2 -2
- package/dist/esm/limel-menu-list.entry.js +1 -1
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-1a2ffe75.entry.js → p-64d7587e.entry.js} +1 -1
- package/dist/lime-elements/p-75152d89.entry.js +1 -0
- package/dist/lime-elements/{p-6d50aa71.entry.js → p-7e571ec6.entry.js} +1 -1
- package/dist/lime-elements/p-99f17272.entry.js +1 -0
- package/package.json +1 -1
- package/dist/lime-elements/p-4d5a874a.entry.js +0 -1
- package/dist/lime-elements/p-eb13837f.entry.js +0 -1
|
@@ -14,7 +14,7 @@ require('./component-cf490570.js');
|
|
|
14
14
|
require('./ponyfill-98ca4766.js');
|
|
15
15
|
require('./component-dd795ff0.js');
|
|
16
16
|
|
|
17
|
-
const datePickerCss = "
|
|
17
|
+
const datePickerCss = ":host(limel-date-picker){position:relative}limel-input-field[disabled],limel-input-field[readonly]{pointer-events:none}";
|
|
18
18
|
|
|
19
19
|
// tslint:disable:no-duplicate-string
|
|
20
20
|
const nativeTypeForConsumerType = {
|
|
@@ -112,10 +112,13 @@ const DatePicker = class {
|
|
|
112
112
|
inputProps.trailingIcon = 'clear_symbol';
|
|
113
113
|
}
|
|
114
114
|
if (this.useNative) {
|
|
115
|
-
return (index.h("
|
|
115
|
+
return (index.h("limel-input-field", { disabled: this.disabled, readonly: this.readonly, invalid: this.invalid, label: this.label, helperText: this.helperText, required: this.required, value: this.formattedValue, type: this.nativeType, onChange: this.nativeChangeHandler }));
|
|
116
116
|
}
|
|
117
117
|
const dropdownZIndex = getComputedStyle(this.host).getPropertyValue('--dropdown-z-index');
|
|
118
|
-
return
|
|
118
|
+
return [
|
|
119
|
+
index.h("limel-input-field", Object.assign({ disabled: this.disabled, readonly: this.readonly, invalid: this.invalid, label: this.label, helperText: this.helperText, required: this.required, value: this.formattedValue, onFocus: this.showCalendar, onBlur: this.hideCalendar, onClick: this.onInputClick, onChange: this.handleInputElementChange, ref: (el) => (this.textField = el) }, inputProps)),
|
|
120
|
+
index.h("limel-portal", { containerId: this.portalId, visible: this.showPortal, containerStyle: { 'z-index': dropdownZIndex } }, index.h("limel-flatpickr-adapter", { format: this.internalFormat, language: this.language, type: this.type, value: this.value, ref: (el) => (this.datePickerCalendar = el), isOpen: this.showPortal, onChange: this.handleCalendarChange })),
|
|
121
|
+
];
|
|
119
122
|
}
|
|
120
123
|
onValueChange(newValue, oldValue) {
|
|
121
124
|
if (newValue !== oldValue && newValue !== this.formattedValue) {
|
|
@@ -23749,6 +23749,9 @@ function findTitle(data, fieldSchema, formSchema) {
|
|
|
23749
23749
|
if (!firstEntry) {
|
|
23750
23750
|
return null;
|
|
23751
23751
|
}
|
|
23752
|
+
if (!subSchema.properties) {
|
|
23753
|
+
return null;
|
|
23754
|
+
}
|
|
23752
23755
|
const [key, value] = firstEntry;
|
|
23753
23756
|
return findTitle(value, subSchema.properties[key], formSchema);
|
|
23754
23757
|
}
|