@limetech/lime-elements 39.20.0 → 39.22.0
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-chip_2.cjs.entry.js +2 -2
- package/dist/cjs/limel-form.cjs.entry.js +1111 -263
- package/dist/collection/components/chip-set/chip-set.js +3 -2
- package/dist/esm/{_baseEach-CL_-rBMy.js → _baseEach-C4UJIc96.js} +1 -1
- package/dist/esm/{_baseIsEqual-BfXMsuGh.js → _baseIsEqual-DCZXUzsZ.js} +1 -1
- package/dist/esm/{_baseIteratee-kS1-0_xD.js → _baseIteratee-CI-QZdpx.js} +1 -1
- package/dist/esm/{_getAllKeysIn-BKpeslPJ.js → _getAllKeysIn-v-KlW5r_.js} +1 -1
- package/dist/esm/{cloneDeep-BXAw5H-1.js → cloneDeep-V4fB8wfG.js} +2 -2
- package/dist/esm/{difference-DMAjHh-t.js → difference-CWrdq-hd.js} +1 -1
- package/dist/esm/{isEmpty-DrFXbHWO.js → isEmpty-BFxMjh_H.js} +1 -1
- package/dist/esm/{isEqual-CpaoJ_AF.js → isEqual-CsrptmTU.js} +1 -1
- package/dist/esm/limel-chip_2.entry.js +5 -5
- package/dist/esm/limel-dialog.entry.js +2 -2
- package/dist/esm/limel-file-dropzone_2.entry.js +3 -3
- package/dist/esm/limel-form.entry.js +1127 -279
- package/dist/esm/limel-prosemirror-adapter.entry.js +4 -4
- package/dist/esm/limel-tab-bar.entry.js +3 -3
- package/dist/esm/limel-table.entry.js +5 -5
- package/dist/esm/{pickBy-BEA90LIZ.js → pickBy-D8CUtxE4.js} +2 -2
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/p-29a59535.entry.js +13 -0
- package/dist/lime-elements/p-34d1d00a.entry.js +1 -0
- package/dist/lime-elements/{p-4ca67b17.entry.js → p-48db87d3.entry.js} +1 -1
- package/dist/lime-elements/{p-757896f5.entry.js → p-4e9baf08.entry.js} +1 -1
- package/dist/lime-elements/{p-BbU4FGNT.js → p-7uuv3HUP.js} +1 -1
- package/dist/lime-elements/{p-4ce682cf.entry.js → p-8139d26a.entry.js} +1 -1
- package/dist/lime-elements/{p-CMjGNANG.js → p-BTHqaZIi.js} +1 -1
- package/dist/lime-elements/p-Bj622DVt.js +1 -0
- package/dist/lime-elements/p-C3Myy3mA.js +1 -0
- package/dist/lime-elements/{p-xQsJdKrq.js → p-CXgJVvTe.js} +1 -1
- package/dist/lime-elements/p-CxfAgSVd.js +1 -0
- package/dist/lime-elements/{p-DFWcgJ_i.js → p-DNIqLXTL.js} +1 -1
- package/dist/lime-elements/p-DbC-smVQ.js +1 -0
- package/dist/lime-elements/p-SvuA3Boo.js +1 -0
- package/dist/lime-elements/{p-cffc137e.entry.js → p-e720f65c.entry.js} +3 -3
- package/dist/lime-elements/{p-8065425a.entry.js → p-fd4a4f87.entry.js} +1 -1
- package/dist/types/components/chip-set/chip-set.d.ts +1 -0
- package/dist/types/components/chip-set/chip.types.d.ts +4 -0
- package/dist/types/components.d.ts +4 -0
- package/package.json +4 -4
- package/dist/lime-elements/p-B3zCFNAw.js +0 -1
- package/dist/lime-elements/p-B6bNnxRu.js +0 -1
- package/dist/lime-elements/p-BCMRfUKp.js +0 -1
- package/dist/lime-elements/p-DTXIk0fN.js +0 -1
- package/dist/lime-elements/p-UGKt6Ywx.js +0 -1
- package/dist/lime-elements/p-cae35eb0.entry.js +0 -1
- package/dist/lime-elements/p-e60ffc0a.entry.js +0 -13
|
@@ -41,6 +41,7 @@ import { createRandomString } from "../../util/random-string";
|
|
|
41
41
|
* @exampleComponent limel-example-chip-set-filter
|
|
42
42
|
* @exampleComponent limel-example-chip-set-filter-badge
|
|
43
43
|
* @exampleComponent limel-example-chip-set-input
|
|
44
|
+
* @exampleComponent limel-example-chip-set-invalid-chips
|
|
44
45
|
* @exampleComponent limel-example-chip-set-input-type-with-menu-items
|
|
45
46
|
* @exampleComponent limel-example-chip-set-input-type-text
|
|
46
47
|
* @exampleComponent limel-example-chip-set-input-type-search
|
|
@@ -269,7 +270,7 @@ export class ChipSet {
|
|
|
269
270
|
});
|
|
270
271
|
}
|
|
271
272
|
const value = this.getValue();
|
|
272
|
-
return (h(Host, { key: '
|
|
273
|
+
return (h(Host, { key: '22e7456b5a9849f42d99338c984ffb18bf809661' }, h("limel-notched-outline", { key: '200d72c0bef881abf10ebd099f719ada8bca1938', labelId: this.labelId, label: this.label, required: this.required, invalid: this.invalid || this.isInvalid(), disabled: this.disabled, readonly: this.readonly, hasValue: !!((_a = this.value) === null || _a === void 0 ? void 0 : _a.length), hasLeadingIcon: !!this.leadingIcon, hasFloatingLabel: this.floatLabelAbove() }, h("div", Object.assign({ key: '7d130f4388fdd8f396a2c4caa7a2eeab90d8257d', slot: "content" }, this.getContentProps(), { class: classes }), this.renderContent(value))), this.renderHelperLine()));
|
|
273
274
|
}
|
|
274
275
|
getContentProps() {
|
|
275
276
|
if (this.type === 'input') {
|
|
@@ -401,7 +402,7 @@ export class ChipSet {
|
|
|
401
402
|
getChipProps(chip, chipType) {
|
|
402
403
|
const removable = this.type === 'input' && chip.removable && !this.readonly;
|
|
403
404
|
const readonly = this.readonly && this.type !== 'input';
|
|
404
|
-
return Object.assign({ role: 'row', identifier: chip.id, text: chip.text, icon: chip.icon, image: chip.image, badge: chip.badge, selected: chip.selected, disabled: this.disabled, loading: chip.loading, readonly: readonly, type: chipType, removable: removable, menuItems: chip.menuItems, onClick: this.catchInputChipClicks(chip), onRemove: this.handleRemoveChip }, (chip.href && {
|
|
405
|
+
return Object.assign({ role: 'row', identifier: chip.id, text: chip.text, icon: chip.icon, image: chip.image, badge: chip.badge, selected: chip.selected, disabled: this.disabled, loading: chip.loading, invalid: chip.invalid, readonly: readonly, type: chipType, removable: removable, menuItems: chip.menuItems, onClick: this.catchInputChipClicks(chip), onRemove: this.handleRemoveChip }, (chip.href && {
|
|
405
406
|
link: {
|
|
406
407
|
href: getHref(chip.href),
|
|
407
408
|
target: getTarget(chip.href),
|
|
@@ -1539,4 +1539,4 @@ function baseIsEqual(value, other, bitmask, customizer, stack) {
|
|
|
1539
1539
|
return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
|
|
1540
1540
|
}
|
|
1541
1541
|
|
|
1542
|
-
export { MapCache as M, Stack as S, Uint8Array as U, isTypedArray as a, isArguments as b, SetCache as c, cacheHas as d,
|
|
1542
|
+
export { MapCache as M, Stack as S, Uint8Array as U, isTypedArray as a, isArguments as b, SetCache as c, cacheHas as d, baseTimes as e, Set as f, baseIsEqual as g, getTag as h, isBuffer as i, isPrototype as j, keys as k, baseKeys as l, getSymbols as m, baseUnary as n, nodeUtil as o, getAllKeys as p, arrayPush as q, arrayLikeKeys as r, setToArray as s, overArg as t, stubArray as u, baseGetAllKeys as v };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as MapCache, S as Stack,
|
|
1
|
+
import { M as MapCache, S as Stack, g as baseIsEqual, k as keys, b as isArguments } from './_baseIsEqual-DCZXUzsZ.js';
|
|
2
2
|
import { S as Symbol, i as isObject } from './isObject-BJQylLSL.js';
|
|
3
3
|
import { i as isArray } from './isArray-B8VKuhvH.js';
|
|
4
4
|
import { i as isSymbol } from './isSymbol-ClAke5ga.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as isPrototype, r as arrayLikeKeys, t as overArg, u as stubArray, q as arrayPush, m as getSymbols, v as baseGetAllKeys } from './_baseIsEqual-
|
|
1
|
+
import { j as isPrototype, r as arrayLikeKeys, t as overArg, u as stubArray, q as arrayPush, m as getSymbols, v as baseGetAllKeys } from './_baseIsEqual-DCZXUzsZ.js';
|
|
2
2
|
import { i as isObject } from './isObject-BJQylLSL.js';
|
|
3
3
|
import { i as isArrayLike } from './isArrayLike-D1QkaJU2.js';
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { k as keys, m as getSymbols, U as Uint8Array, j as isPrototype, h as getTag, n as baseUnary, o as nodeUtil, i as isBuffer, S as Stack, p as getAllKeys } from './_baseIsEqual-
|
|
1
|
+
import { k as keys, m as getSymbols, U as Uint8Array, j as isPrototype, h as getTag, n as baseUnary, o as nodeUtil, i as isBuffer, S as Stack, p as getAllKeys } from './_baseIsEqual-DCZXUzsZ.js';
|
|
2
2
|
import { b as baseAssignValue, a as assignValue } from './_assignValue-DOEO9byf.js';
|
|
3
|
-
import { k as keysIn, b as getSymbolsIn, g as getPrototype, a as getAllKeysIn } from './_getAllKeysIn-
|
|
3
|
+
import { k as keysIn, b as getSymbolsIn, g as getPrototype, a as getAllKeysIn } from './_getAllKeysIn-v-KlW5r_.js';
|
|
4
4
|
import { i as isObject, r as root, S as Symbol } from './isObject-BJQylLSL.js';
|
|
5
5
|
import { i as isArray } from './isArray-B8VKuhvH.js';
|
|
6
6
|
import { i as isObjectLike } from './isObjectLike-oiMYqRQ0.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as isArguments, q as arrayPush, c as SetCache, d as cacheHas } from './_baseIsEqual-
|
|
1
|
+
import { b as isArguments, q as arrayPush, c as SetCache, d as cacheHas } from './_baseIsEqual-DCZXUzsZ.js';
|
|
2
2
|
import { S as Symbol } from './isObject-BJQylLSL.js';
|
|
3
3
|
import { i as isArray } from './isArray-B8VKuhvH.js';
|
|
4
4
|
import { i as identity } from './identity-CK4jS9_E.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as isBuffer, a as isTypedArray, b as isArguments, h as getTag, j as isPrototype, l as baseKeys } from './_baseIsEqual-
|
|
1
|
+
import { i as isBuffer, a as isTypedArray, b as isArguments, h as getTag, j as isPrototype, l as baseKeys } from './_baseIsEqual-DCZXUzsZ.js';
|
|
2
2
|
import { i as isArray } from './isArray-B8VKuhvH.js';
|
|
3
3
|
import { i as isArrayLike } from './isArrayLike-D1QkaJU2.js';
|
|
4
4
|
|
|
@@ -4,11 +4,11 @@ import { g as getIconName } from './get-icon-props-CgNJbSP4.js';
|
|
|
4
4
|
import { m as makeEnterClickable, r as removeEnterClickable } from './make-enter-clickable-BgTwPGeH.js';
|
|
5
5
|
import { t as translate } from './translations-Dv3YcsA7.js';
|
|
6
6
|
import { D as DELETE, B as BACKSPACE, c as ARROW_LEFT, d as ARROW_RIGHT, a as ENTER, E as ESCAPE } from './keycodes-rI0IeKpx.js';
|
|
7
|
-
import { i as isEmpty } from './isEmpty-
|
|
7
|
+
import { i as isEmpty } from './isEmpty-BFxMjh_H.js';
|
|
8
8
|
import { c as createRandomString } from './random-string-JbKhhoXs.js';
|
|
9
|
-
import { i as isEqual } from './isEqual-
|
|
9
|
+
import { i as isEqual } from './isEqual-CsrptmTU.js';
|
|
10
10
|
import { M as MDCTextField } from './component-wGVqvUmL.js';
|
|
11
|
-
import './_baseIsEqual-
|
|
11
|
+
import './_baseIsEqual-DCZXUzsZ.js';
|
|
12
12
|
import './eq-D7VMHFyO.js';
|
|
13
13
|
import './isObject-BJQylLSL.js';
|
|
14
14
|
import './_getNative-aN4R8EiP.js';
|
|
@@ -556,7 +556,7 @@ const ChipSet = class {
|
|
|
556
556
|
});
|
|
557
557
|
}
|
|
558
558
|
const value = this.getValue();
|
|
559
|
-
return (h(Host, { key: '
|
|
559
|
+
return (h(Host, { key: '22e7456b5a9849f42d99338c984ffb18bf809661' }, h("limel-notched-outline", { key: '200d72c0bef881abf10ebd099f719ada8bca1938', labelId: this.labelId, label: this.label, required: this.required, invalid: this.invalid || this.isInvalid(), disabled: this.disabled, readonly: this.readonly, hasValue: !!((_a = this.value) === null || _a === void 0 ? void 0 : _a.length), hasLeadingIcon: !!this.leadingIcon, hasFloatingLabel: this.floatLabelAbove() }, h("div", Object.assign({ key: '7d130f4388fdd8f396a2c4caa7a2eeab90d8257d', slot: "content" }, this.getContentProps(), { class: classes }), this.renderContent(value))), this.renderHelperLine()));
|
|
560
560
|
}
|
|
561
561
|
getContentProps() {
|
|
562
562
|
if (this.type === 'input') {
|
|
@@ -688,7 +688,7 @@ const ChipSet = class {
|
|
|
688
688
|
getChipProps(chip, chipType) {
|
|
689
689
|
const removable = this.type === 'input' && chip.removable && !this.readonly;
|
|
690
690
|
const readonly = this.readonly && this.type !== 'input';
|
|
691
|
-
return Object.assign({ role: 'row', identifier: chip.id, text: chip.text, icon: chip.icon, image: chip.image, badge: chip.badge, selected: chip.selected, disabled: this.disabled, loading: chip.loading, readonly: readonly, type: chipType, removable: removable, menuItems: chip.menuItems, onClick: this.catchInputChipClicks(chip), onRemove: this.handleRemoveChip }, (chip.href && {
|
|
691
|
+
return Object.assign({ role: 'row', identifier: chip.id, text: chip.text, icon: chip.icon, image: chip.image, badge: chip.badge, selected: chip.selected, disabled: this.disabled, loading: chip.loading, invalid: chip.invalid, readonly: readonly, type: chipType, removable: removable, menuItems: chip.menuItems, onClick: this.catchInputChipClicks(chip), onRemove: this.handleRemoveChip }, (chip.href && {
|
|
692
692
|
link: {
|
|
693
693
|
href: getHref(chip.href),
|
|
694
694
|
target: getTarget(chip.href),
|
|
@@ -3,8 +3,8 @@ import { d as dispatchResizeEvent } from './dispatch-resize-event-z_E3sq3p.js';
|
|
|
3
3
|
import { c as createRandomString } from './random-string-JbKhhoXs.js';
|
|
4
4
|
import { _ as __extends, a as __assign, M as MDCFoundation, b as __values, c as MDCComponent, d as closest, m as matches } from './ponyfill-ChRGk668.js';
|
|
5
5
|
import { M as MDCRipple } from './component-7QB0OUSF.js';
|
|
6
|
-
import { i as isEqual } from './isEqual-
|
|
7
|
-
import './_baseIsEqual-
|
|
6
|
+
import { i as isEqual } from './isEqual-CsrptmTU.js';
|
|
7
|
+
import './_baseIsEqual-DCZXUzsZ.js';
|
|
8
8
|
import './eq-D7VMHFyO.js';
|
|
9
9
|
import './isObject-BJQylLSL.js';
|
|
10
10
|
import './_getNative-aN4R8EiP.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DBTJNfo7.js';
|
|
2
2
|
import { c as createFileInfo, i as isTypeAccepted } from './files-P324wLau.js';
|
|
3
|
-
import { a as baseEach } from './_baseEach-
|
|
4
|
-
import { c as baseIteratee } from './_baseIteratee-
|
|
3
|
+
import { a as baseEach } from './_baseEach-C4UJIc96.js';
|
|
4
|
+
import { c as baseIteratee } from './_baseIteratee-CI-QZdpx.js';
|
|
5
5
|
import { i as isArray } from './isArray-B8VKuhvH.js';
|
|
6
6
|
import { c as createRandomString } from './random-string-JbKhhoXs.js';
|
|
7
7
|
import './file-metadata-BwF9vTXN.js';
|
|
8
8
|
import './get-icon-props-CgNJbSP4.js';
|
|
9
|
-
import './_baseIsEqual-
|
|
9
|
+
import './_baseIsEqual-DCZXUzsZ.js';
|
|
10
10
|
import './eq-D7VMHFyO.js';
|
|
11
11
|
import './isObject-BJQylLSL.js';
|
|
12
12
|
import './_getNative-aN4R8EiP.js';
|