@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
|
@@ -110,14 +110,14 @@ export class DatePicker {
|
|
|
110
110
|
inputProps.trailingIcon = 'clear_symbol';
|
|
111
111
|
}
|
|
112
112
|
if (this.useNative) {
|
|
113
|
-
return (h("
|
|
114
|
-
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 })));
|
|
113
|
+
return (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 }));
|
|
115
114
|
}
|
|
116
115
|
const dropdownZIndex = getComputedStyle(this.host).getPropertyValue('--dropdown-z-index');
|
|
117
|
-
return
|
|
116
|
+
return [
|
|
118
117
|
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)),
|
|
119
118
|
h("limel-portal", { containerId: this.portalId, visible: this.showPortal, containerStyle: { 'z-index': dropdownZIndex } },
|
|
120
|
-
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 }))
|
|
119
|
+
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 })),
|
|
120
|
+
];
|
|
121
121
|
}
|
|
122
122
|
onValueChange(newValue, oldValue) {
|
|
123
123
|
if (newValue !== oldValue && newValue !== this.formattedValue) {
|
|
@@ -41,6 +41,9 @@ export function findTitle(data, fieldSchema, formSchema) {
|
|
|
41
41
|
if (!firstEntry) {
|
|
42
42
|
return null;
|
|
43
43
|
}
|
|
44
|
+
if (!subSchema.properties) {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
44
47
|
const [key, value] = firstEntry;
|
|
45
48
|
return findTitle(value, subSchema.properties[key], formSchema);
|
|
46
49
|
}
|
|
@@ -124,7 +124,7 @@ export class ListRenderer {
|
|
|
124
124
|
return;
|
|
125
125
|
}
|
|
126
126
|
return (h("limel-menu", { class: "mdc-deprecated-list-item__meta", items: actions, openDirection: "left" },
|
|
127
|
-
h("limel-icon", {
|
|
127
|
+
h("limel-icon-button", { class: "action-menu-trigger", slot: "trigger", icon: "menu_2" })));
|
|
128
128
|
};
|
|
129
129
|
this.renderVariantListItem = (config, item, index) => {
|
|
130
130
|
let itemTemplate;
|
|
@@ -10,7 +10,7 @@ import './component-5b4ac85a.js';
|
|
|
10
10
|
import './ponyfill-30263d5e.js';
|
|
11
11
|
import './component-19eb6e2b.js';
|
|
12
12
|
|
|
13
|
-
const datePickerCss = "
|
|
13
|
+
const datePickerCss = ":host(limel-date-picker){position:relative}limel-input-field[disabled],limel-input-field[readonly]{pointer-events:none}";
|
|
14
14
|
|
|
15
15
|
// tslint:disable:no-duplicate-string
|
|
16
16
|
const nativeTypeForConsumerType = {
|
|
@@ -108,10 +108,13 @@ const DatePicker = class {
|
|
|
108
108
|
inputProps.trailingIcon = 'clear_symbol';
|
|
109
109
|
}
|
|
110
110
|
if (this.useNative) {
|
|
111
|
-
return (h("
|
|
111
|
+
return (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 }));
|
|
112
112
|
}
|
|
113
113
|
const dropdownZIndex = getComputedStyle(this.host).getPropertyValue('--dropdown-z-index');
|
|
114
|
-
return
|
|
114
|
+
return [
|
|
115
|
+
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)),
|
|
116
|
+
h("limel-portal", { containerId: this.portalId, visible: this.showPortal, containerStyle: { 'z-index': dropdownZIndex } }, 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 })),
|
|
117
|
+
];
|
|
115
118
|
}
|
|
116
119
|
onValueChange(newValue, oldValue) {
|
|
117
120
|
if (newValue !== oldValue && newValue !== this.formattedValue) {
|
|
@@ -23745,6 +23745,9 @@ function findTitle(data, fieldSchema, formSchema) {
|
|
|
23745
23745
|
if (!firstEntry) {
|
|
23746
23746
|
return null;
|
|
23747
23747
|
}
|
|
23748
|
+
if (!subSchema.properties) {
|
|
23749
|
+
return null;
|
|
23750
|
+
}
|
|
23748
23751
|
const [key, value] = firstEntry;
|
|
23749
23752
|
return findTitle(value, subSchema.properties[key], formSchema);
|
|
23750
23753
|
}
|