@limetech/lime-elements 39.44.2 → 39.44.4
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/CHANGELOG.md +14 -0
- package/dist/cjs/limel-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/limel-form.cjs.entry.js +2573 -934
- package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +27 -16
- package/dist/cjs/limel-table.cjs.entry.js +346 -112
- package/dist/collection/components/checkbox/checkbox.js +2 -2
- package/dist/collection/components/form/form.test-schemas.js +15 -0
- package/dist/collection/components/table/table.css +6 -0
- package/dist/esm/limel-checkbox.entry.js +2 -2
- package/dist/esm/limel-form.entry.js +2575 -936
- package/dist/esm/limel-prosemirror-adapter.entry.js +27 -16
- package/dist/esm/limel-table.entry.js +346 -112
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/p-1fb4bfa9.entry.js +13 -0
- package/dist/lime-elements/p-31713caf.entry.js +1 -0
- package/dist/lime-elements/p-4512a7b1.entry.js +1 -0
- package/dist/lime-elements/p-cf955cc2.entry.js +1 -0
- package/dist/types/components/checkbox/checkbox.d.ts +1 -1
- package/dist/types/components/form/form.test-schemas.d.ts +1 -0
- package/package.json +20 -21
- package/dist/lime-elements/p-49f810e0.entry.js +0 -1
- package/dist/lime-elements/p-68eda654.entry.js +0 -13
- package/dist/lime-elements/p-c1ceade7.entry.js +0 -1
- package/dist/lime-elements/p-ffd668d2.entry.js +0 -1
|
@@ -58,7 +58,7 @@ export class Checkbox {
|
|
|
58
58
|
this.readonlyLabels = [];
|
|
59
59
|
this.modified = false;
|
|
60
60
|
this.shouldReinitialize = false;
|
|
61
|
-
this.
|
|
61
|
+
this.inputId = createRandomString();
|
|
62
62
|
this.helperTextId = createRandomString();
|
|
63
63
|
this.destroyMDCInstances = () => {
|
|
64
64
|
const input = this.getCheckboxElement();
|
|
@@ -131,7 +131,7 @@ export class Checkbox {
|
|
|
131
131
|
this.destroyMDCInstances();
|
|
132
132
|
}
|
|
133
133
|
render() {
|
|
134
|
-
return (h(CheckboxTemplate, { key: '
|
|
134
|
+
return (h(CheckboxTemplate, { key: '2193fb569354ec8ef9effbeaa5d600c9fde9686f', disabled: this.disabled || this.readonly, label: this.label, readonlyLabels: this.readonlyLabels, helperText: this.helperText, helperTextId: this.helperTextId, checked: this.checked || this.indeterminate, indeterminate: this.indeterminate, required: this.required, readonly: this.readonly, invalid: this.isInvalid(), onChange: this.onChange, id: this.inputId }));
|
|
135
135
|
}
|
|
136
136
|
static get is() { return "limel-checkbox"; }
|
|
137
137
|
static get encapsulation() { return "shadow"; }
|
|
@@ -376,6 +376,21 @@ export const topLevelStringCustomComponentSchema = {
|
|
|
376
376
|
},
|
|
377
377
|
},
|
|
378
378
|
};
|
|
379
|
+
export const stringWithDefaultCustomComponentSchema = {
|
|
380
|
+
type: 'object',
|
|
381
|
+
properties: {
|
|
382
|
+
icon: {
|
|
383
|
+
type: 'string',
|
|
384
|
+
title: 'Icon',
|
|
385
|
+
default: 'decision',
|
|
386
|
+
lime: { component: { name: 'limel-input-field' } },
|
|
387
|
+
},
|
|
388
|
+
name: {
|
|
389
|
+
type: 'string',
|
|
390
|
+
title: 'Name',
|
|
391
|
+
},
|
|
392
|
+
},
|
|
393
|
+
};
|
|
379
394
|
export const arrayItemWithDependenciesSchema = {
|
|
380
395
|
type: 'object',
|
|
381
396
|
properties: {
|
|
@@ -701,6 +701,12 @@
|
|
|
701
701
|
text-overflow: ellipsis;
|
|
702
702
|
outline: none;
|
|
703
703
|
}
|
|
704
|
+
.tabulator-row .tabulator-cell .tabulator-tick {
|
|
705
|
+
fill: #2DC214;
|
|
706
|
+
}
|
|
707
|
+
.tabulator-row .tabulator-cell .tabulator-cross {
|
|
708
|
+
fill: #CE1515;
|
|
709
|
+
}
|
|
704
710
|
.tabulator-row .tabulator-cell.tabulator-row-header {
|
|
705
711
|
border-right: 1px solid #999;
|
|
706
712
|
border-bottom: 1px solid #aaa;
|
|
@@ -38,7 +38,7 @@ const Checkbox = class {
|
|
|
38
38
|
this.readonlyLabels = [];
|
|
39
39
|
this.modified = false;
|
|
40
40
|
this.shouldReinitialize = false;
|
|
41
|
-
this.
|
|
41
|
+
this.inputId = createRandomString();
|
|
42
42
|
this.helperTextId = createRandomString();
|
|
43
43
|
this.destroyMDCInstances = () => {
|
|
44
44
|
const input = this.getCheckboxElement();
|
|
@@ -111,7 +111,7 @@ const Checkbox = class {
|
|
|
111
111
|
this.destroyMDCInstances();
|
|
112
112
|
}
|
|
113
113
|
render() {
|
|
114
|
-
return (h(CheckboxTemplate, { key: '
|
|
114
|
+
return (h(CheckboxTemplate, { key: '2193fb569354ec8ef9effbeaa5d600c9fde9686f', disabled: this.disabled || this.readonly, label: this.label, readonlyLabels: this.readonlyLabels, helperText: this.helperText, helperTextId: this.helperTextId, checked: this.checked || this.indeterminate, indeterminate: this.indeterminate, required: this.required, readonly: this.readonly, invalid: this.isInvalid(), onChange: this.onChange, id: this.inputId }));
|
|
115
115
|
}
|
|
116
116
|
get limelCheckbox() { return getElement(this); }
|
|
117
117
|
static get watchers() { return {
|