@limetech/lime-elements
Advanced tools
Comparing version 23.0.1 to 23.0.2
@@ -0,1 +1,9 @@ | ||
## [23.0.2](https://github.com/Lundalogik/lime-elements/compare/v23.0.1...v23.0.2) (2019-09-16) | ||
### Bug Fixes | ||
* **chip set:** invalid state of required input chip-set not handled correctly ([c7dcbf1](https://github.com/Lundalogik/lime-elements/commit/c7dcbf1)) | ||
* **chip-set:** add required marker to input chip-set ([ae5a967](https://github.com/Lundalogik/lime-elements/commit/ae5a967)) | ||
## [23.0.1](https://github.com/Lundalogik/lime-elements/compare/v23.0.0...v23.0.1) (2019-09-13) | ||
@@ -2,0 +10,0 @@ |
@@ -6,3 +6,3 @@ 'use strict'; | ||
core.patchBrowser().then(options => { | ||
return core.bootstrapLazy([["limel-menu-surface_2.cjs",[[1,"limel-menu-surface",{"open":[4]}],[1,"limel-portal",{"visible":[4],"containerId":[1,"container-id"],"containerStyle":[16],"parent":[16]}]]],["limel-list.cjs",[[1,"limel-list",{"items":[16],"badgeIcons":[4,"badge-icons"],"iconSize":[1,"icon-size"],"type":[1]}]]],["limel-select.cjs",[[1,"limel-select",{"disabled":[516],"required":[516],"label":[513],"value":[16],"options":[16],"multiple":[4],"menuOpen":[32]}]]],["limel-chart.cjs",[[1,"limel-chart",{"labels":[16],"datasets":[16],"type":[513],"options":[8]}]]],["limel-checkbox.cjs",[[1,"limel-checkbox",{"disabled":[516],"label":[513],"checked":[516]}]]],["limel-collapsible-section.cjs",[[1,"limel-collapsible-section",{"isOpen":[1540,"is-open"],"header":[1]}]]],["limel-config.cjs",[[1,"limel-config",{"config":[16]}]]],["limel-flex-container.cjs",[[1,"limel-flex-container",{"direction":[513],"justify":[513],"align":[513],"reverse":[516]}]]],["limel-grid.cjs",[[1,"limel-grid"]]],["limel-linear-progress.cjs",[[1,"limel-linear-progress",{"value":[2],"indeterminate":[4]}]]],["limel-menu.cjs",[[1,"limel-menu",{"label":[513],"items":[16],"disabled":[516],"open":[1540],"badgeIcons":[1540,"badge-icons"]}]]],["limel-slider.cjs",[[1,"limel-slider",{"disabled":[516],"factor":[514],"label":[513],"unit":[513],"value":[514],"valuemax":[514],"valuemin":[514]}]]],["limel-switch.cjs",[[1,"limel-switch",{"label":[513],"disabled":[516],"value":[516],"fieldId":[32],"mdcSwitch":[32]}]]],["limel-spinner.cjs",[[1,"limel-spinner",{"size":[513]}]]],["limel-icon.cjs",[[1,"limel-icon",{"size":[513],"name":[513],"badge":[516]}]]],["limel-picker.cjs",[[1,"limel-picker",{"disabled":[4],"label":[1],"searchLabel":[1,"search-label"],"emptyResultMessage":[1,"empty-result-message"],"required":[4],"value":[16],"searcher":[16],"multiple":[4],"displayFullList":[4,"display-full-list"],"items":[32],"textValue":[32],"loading":[32],"chips":[32]}]]],["limel-button.cjs",[[1,"limel-button",{"label":[513],"primary":[516],"outlined":[516],"icon":[513],"disabled":[516],"loading":[516]}]]],["limel-file.cjs",[[1,"limel-file",{"value":[16],"label":[513],"required":[516],"disabled":[516]}]]],["limel-banner.cjs",[[1,"limel-banner",{"message":[513],"icon":[513],"isOpen":[32],"open":[64],"close":[64]}]]],["limel-dialog.cjs",[[1,"limel-dialog",{"heading":[1],"fullscreen":[516],"open":[1540],"closingActions":[16]}]]],["limel-icon-button.cjs",[[1,"limel-icon-button",{"icon":[513],"label":[513],"disabled":[516],"relayout":[64]}]]],["limel-input-field.cjs",[[1,"limel-input-field",{"disabled":[516],"invalid":[516],"label":[513],"required":[516],"value":[513],"trailingIcon":[513,"trailing-icon"],"type":[513],"formatNumber":[516,"format-number"],"completions":[16],"mdcTextField":[32],"isFocused":[32]}]]],["limel-date-picker.cjs",[[1,"limel-date-picker",{"disabled":[4],"invalid":[4],"label":[1],"required":[4],"value":[16],"type":[1],"format":[1],"language":[1],"formattedValue":[32]},[[9,"resize","resizeEvent"]]]]],["limel-snackbar.cjs",[[1,"limel-snackbar",{"message":[1],"timeout":[2],"actionText":[1,"action-text"],"dismissible":[4],"multiline":[4],"show":[64]}]]],["limel-chip-set.cjs",[[1,"limel-chip-set",{"value":[16],"type":[1],"label":[1],"disabled":[516],"required":[4],"searchLabel":[1,"search-label"],"editMode":[32],"textValue":[32],"getEditMode":[64],"setFocus":[64]}]]]], options); | ||
return core.bootstrapLazy([["limel-menu-surface_2.cjs",[[1,"limel-menu-surface",{"open":[4]}],[1,"limel-portal",{"visible":[4],"containerId":[1,"container-id"],"containerStyle":[16],"parent":[16]}]]],["limel-list.cjs",[[1,"limel-list",{"items":[16],"badgeIcons":[4,"badge-icons"],"iconSize":[1,"icon-size"],"type":[1]}]]],["limel-select.cjs",[[1,"limel-select",{"disabled":[516],"required":[516],"label":[513],"value":[16],"options":[16],"multiple":[4],"menuOpen":[32]}]]],["limel-chart.cjs",[[1,"limel-chart",{"labels":[16],"datasets":[16],"type":[513],"options":[8]}]]],["limel-checkbox.cjs",[[1,"limel-checkbox",{"disabled":[516],"label":[513],"checked":[516]}]]],["limel-collapsible-section.cjs",[[1,"limel-collapsible-section",{"isOpen":[1540,"is-open"],"header":[1]}]]],["limel-config.cjs",[[1,"limel-config",{"config":[16]}]]],["limel-flex-container.cjs",[[1,"limel-flex-container",{"direction":[513],"justify":[513],"align":[513],"reverse":[516]}]]],["limel-grid.cjs",[[1,"limel-grid"]]],["limel-linear-progress.cjs",[[1,"limel-linear-progress",{"value":[2],"indeterminate":[4]}]]],["limel-menu.cjs",[[1,"limel-menu",{"label":[513],"items":[16],"disabled":[516],"open":[1540],"badgeIcons":[1540,"badge-icons"]}]]],["limel-slider.cjs",[[1,"limel-slider",{"disabled":[516],"factor":[514],"label":[513],"unit":[513],"value":[514],"valuemax":[514],"valuemin":[514]}]]],["limel-switch.cjs",[[1,"limel-switch",{"label":[513],"disabled":[516],"value":[516],"fieldId":[32],"mdcSwitch":[32]}]]],["limel-spinner.cjs",[[1,"limel-spinner",{"size":[513]}]]],["limel-icon.cjs",[[1,"limel-icon",{"size":[513],"name":[513],"badge":[516]}]]],["limel-picker.cjs",[[1,"limel-picker",{"disabled":[4],"label":[1],"searchLabel":[1,"search-label"],"emptyResultMessage":[1,"empty-result-message"],"required":[4],"value":[16],"searcher":[16],"multiple":[4],"displayFullList":[4,"display-full-list"],"items":[32],"textValue":[32],"loading":[32],"chips":[32]}]]],["limel-button.cjs",[[1,"limel-button",{"label":[513],"primary":[516],"outlined":[516],"icon":[513],"disabled":[516],"loading":[516]}]]],["limel-file.cjs",[[1,"limel-file",{"value":[16],"label":[513],"required":[516],"disabled":[516]}]]],["limel-banner.cjs",[[1,"limel-banner",{"message":[513],"icon":[513],"isOpen":[32],"open":[64],"close":[64]}]]],["limel-dialog.cjs",[[1,"limel-dialog",{"heading":[1],"fullscreen":[516],"open":[1540],"closingActions":[16]}]]],["limel-icon-button.cjs",[[1,"limel-icon-button",{"icon":[513],"label":[513],"disabled":[516],"relayout":[64]}]]],["limel-input-field.cjs",[[1,"limel-input-field",{"disabled":[516],"invalid":[516],"label":[513],"required":[516],"value":[513],"trailingIcon":[513,"trailing-icon"],"type":[513],"formatNumber":[516,"format-number"],"completions":[16],"mdcTextField":[32],"isFocused":[32]}]]],["limel-date-picker.cjs",[[1,"limel-date-picker",{"disabled":[4],"invalid":[4],"label":[1],"required":[4],"value":[16],"type":[1],"format":[1],"language":[1],"formattedValue":[32]},[[9,"resize","resizeEvent"]]]]],["limel-snackbar.cjs",[[1,"limel-snackbar",{"message":[1],"timeout":[2],"actionText":[1,"action-text"],"dismissible":[4],"multiline":[4],"show":[64]}]]],["limel-chip-set.cjs",[[1,"limel-chip-set",{"value":[16],"type":[1],"label":[1],"disabled":[516],"required":[4],"searchLabel":[1,"search-label"],"editMode":[32],"textValue":[32],"blurred":[32],"getEditMode":[64],"setFocus":[64]}]]]], options); | ||
}); |
@@ -9,3 +9,3 @@ 'use strict'; | ||
return core.patchEsm().then(() => { | ||
core.bootstrapLazy([["limel-menu-surface_2.cjs",[[1,"limel-menu-surface",{"open":[4]}],[1,"limel-portal",{"visible":[4],"containerId":[1,"container-id"],"containerStyle":[16],"parent":[16]}]]],["limel-list.cjs",[[1,"limel-list",{"items":[16],"badgeIcons":[4,"badge-icons"],"iconSize":[1,"icon-size"],"type":[1]}]]],["limel-select.cjs",[[1,"limel-select",{"disabled":[516],"required":[516],"label":[513],"value":[16],"options":[16],"multiple":[4],"menuOpen":[32]}]]],["limel-chart.cjs",[[1,"limel-chart",{"labels":[16],"datasets":[16],"type":[513],"options":[8]}]]],["limel-checkbox.cjs",[[1,"limel-checkbox",{"disabled":[516],"label":[513],"checked":[516]}]]],["limel-collapsible-section.cjs",[[1,"limel-collapsible-section",{"isOpen":[1540,"is-open"],"header":[1]}]]],["limel-config.cjs",[[1,"limel-config",{"config":[16]}]]],["limel-flex-container.cjs",[[1,"limel-flex-container",{"direction":[513],"justify":[513],"align":[513],"reverse":[516]}]]],["limel-grid.cjs",[[1,"limel-grid"]]],["limel-linear-progress.cjs",[[1,"limel-linear-progress",{"value":[2],"indeterminate":[4]}]]],["limel-menu.cjs",[[1,"limel-menu",{"label":[513],"items":[16],"disabled":[516],"open":[1540],"badgeIcons":[1540,"badge-icons"]}]]],["limel-slider.cjs",[[1,"limel-slider",{"disabled":[516],"factor":[514],"label":[513],"unit":[513],"value":[514],"valuemax":[514],"valuemin":[514]}]]],["limel-switch.cjs",[[1,"limel-switch",{"label":[513],"disabled":[516],"value":[516],"fieldId":[32],"mdcSwitch":[32]}]]],["limel-spinner.cjs",[[1,"limel-spinner",{"size":[513]}]]],["limel-icon.cjs",[[1,"limel-icon",{"size":[513],"name":[513],"badge":[516]}]]],["limel-picker.cjs",[[1,"limel-picker",{"disabled":[4],"label":[1],"searchLabel":[1,"search-label"],"emptyResultMessage":[1,"empty-result-message"],"required":[4],"value":[16],"searcher":[16],"multiple":[4],"displayFullList":[4,"display-full-list"],"items":[32],"textValue":[32],"loading":[32],"chips":[32]}]]],["limel-button.cjs",[[1,"limel-button",{"label":[513],"primary":[516],"outlined":[516],"icon":[513],"disabled":[516],"loading":[516]}]]],["limel-file.cjs",[[1,"limel-file",{"value":[16],"label":[513],"required":[516],"disabled":[516]}]]],["limel-banner.cjs",[[1,"limel-banner",{"message":[513],"icon":[513],"isOpen":[32],"open":[64],"close":[64]}]]],["limel-dialog.cjs",[[1,"limel-dialog",{"heading":[1],"fullscreen":[516],"open":[1540],"closingActions":[16]}]]],["limel-icon-button.cjs",[[1,"limel-icon-button",{"icon":[513],"label":[513],"disabled":[516],"relayout":[64]}]]],["limel-input-field.cjs",[[1,"limel-input-field",{"disabled":[516],"invalid":[516],"label":[513],"required":[516],"value":[513],"trailingIcon":[513,"trailing-icon"],"type":[513],"formatNumber":[516,"format-number"],"completions":[16],"mdcTextField":[32],"isFocused":[32]}]]],["limel-date-picker.cjs",[[1,"limel-date-picker",{"disabled":[4],"invalid":[4],"label":[1],"required":[4],"value":[16],"type":[1],"format":[1],"language":[1],"formattedValue":[32]},[[9,"resize","resizeEvent"]]]]],["limel-snackbar.cjs",[[1,"limel-snackbar",{"message":[1],"timeout":[2],"actionText":[1,"action-text"],"dismissible":[4],"multiline":[4],"show":[64]}]]],["limel-chip-set.cjs",[[1,"limel-chip-set",{"value":[16],"type":[1],"label":[1],"disabled":[516],"required":[4],"searchLabel":[1,"search-label"],"editMode":[32],"textValue":[32],"getEditMode":[64],"setFocus":[64]}]]]], options); | ||
core.bootstrapLazy([["limel-menu-surface_2.cjs",[[1,"limel-menu-surface",{"open":[4]}],[1,"limel-portal",{"visible":[4],"containerId":[1,"container-id"],"containerStyle":[16],"parent":[16]}]]],["limel-list.cjs",[[1,"limel-list",{"items":[16],"badgeIcons":[4,"badge-icons"],"iconSize":[1,"icon-size"],"type":[1]}]]],["limel-select.cjs",[[1,"limel-select",{"disabled":[516],"required":[516],"label":[513],"value":[16],"options":[16],"multiple":[4],"menuOpen":[32]}]]],["limel-chart.cjs",[[1,"limel-chart",{"labels":[16],"datasets":[16],"type":[513],"options":[8]}]]],["limel-checkbox.cjs",[[1,"limel-checkbox",{"disabled":[516],"label":[513],"checked":[516]}]]],["limel-collapsible-section.cjs",[[1,"limel-collapsible-section",{"isOpen":[1540,"is-open"],"header":[1]}]]],["limel-config.cjs",[[1,"limel-config",{"config":[16]}]]],["limel-flex-container.cjs",[[1,"limel-flex-container",{"direction":[513],"justify":[513],"align":[513],"reverse":[516]}]]],["limel-grid.cjs",[[1,"limel-grid"]]],["limel-linear-progress.cjs",[[1,"limel-linear-progress",{"value":[2],"indeterminate":[4]}]]],["limel-menu.cjs",[[1,"limel-menu",{"label":[513],"items":[16],"disabled":[516],"open":[1540],"badgeIcons":[1540,"badge-icons"]}]]],["limel-slider.cjs",[[1,"limel-slider",{"disabled":[516],"factor":[514],"label":[513],"unit":[513],"value":[514],"valuemax":[514],"valuemin":[514]}]]],["limel-switch.cjs",[[1,"limel-switch",{"label":[513],"disabled":[516],"value":[516],"fieldId":[32],"mdcSwitch":[32]}]]],["limel-spinner.cjs",[[1,"limel-spinner",{"size":[513]}]]],["limel-icon.cjs",[[1,"limel-icon",{"size":[513],"name":[513],"badge":[516]}]]],["limel-picker.cjs",[[1,"limel-picker",{"disabled":[4],"label":[1],"searchLabel":[1,"search-label"],"emptyResultMessage":[1,"empty-result-message"],"required":[4],"value":[16],"searcher":[16],"multiple":[4],"displayFullList":[4,"display-full-list"],"items":[32],"textValue":[32],"loading":[32],"chips":[32]}]]],["limel-button.cjs",[[1,"limel-button",{"label":[513],"primary":[516],"outlined":[516],"icon":[513],"disabled":[516],"loading":[516]}]]],["limel-file.cjs",[[1,"limel-file",{"value":[16],"label":[513],"required":[516],"disabled":[516]}]]],["limel-banner.cjs",[[1,"limel-banner",{"message":[513],"icon":[513],"isOpen":[32],"open":[64],"close":[64]}]]],["limel-dialog.cjs",[[1,"limel-dialog",{"heading":[1],"fullscreen":[516],"open":[1540],"closingActions":[16]}]]],["limel-icon-button.cjs",[[1,"limel-icon-button",{"icon":[513],"label":[513],"disabled":[516],"relayout":[64]}]]],["limel-input-field.cjs",[[1,"limel-input-field",{"disabled":[516],"invalid":[516],"label":[513],"required":[516],"value":[513],"trailingIcon":[513,"trailing-icon"],"type":[513],"formatNumber":[516,"format-number"],"completions":[16],"mdcTextField":[32],"isFocused":[32]}]]],["limel-date-picker.cjs",[[1,"limel-date-picker",{"disabled":[4],"invalid":[4],"label":[1],"required":[4],"value":[16],"type":[1],"format":[1],"language":[1],"formattedValue":[32]},[[9,"resize","resizeEvent"]]]]],["limel-snackbar.cjs",[[1,"limel-snackbar",{"message":[1],"timeout":[2],"actionText":[1,"action-text"],"dismissible":[4],"multiline":[4],"show":[64]}]]],["limel-chip-set.cjs",[[1,"limel-chip-set",{"value":[16],"type":[1],"label":[1],"disabled":[516],"required":[4],"searchLabel":[1,"search-label"],"editMode":[32],"textValue":[32],"blurred":[32],"getEditMode":[64],"setFocus":[64]}]]]], options); | ||
}); | ||
@@ -12,0 +12,0 @@ }; |
@@ -14,4 +14,4 @@ { | ||
"components/grid/grid.js", | ||
"components/icon-button/icon-button.js", | ||
"components/icon/icon.js", | ||
"components/icon-button/icon-button.js", | ||
"components/input-field/input-field.js", | ||
@@ -22,4 +22,4 @@ "components/linear-progress/linear-progress.js", | ||
"components/portal/portal.js", | ||
"components/select/select.js", | ||
"components/slider/slider.js", | ||
"components/select/select.js", | ||
"components/snackbar/snackbar.js", | ||
@@ -26,0 +26,0 @@ "components/spinner/spinner.js", |
@@ -20,2 +20,3 @@ import { MDCChipSet, } from '@limetech/mdc-chips'; | ||
this.textValue = ''; | ||
this.blurred = false; | ||
this.renderChip = this.renderChip.bind(this); | ||
@@ -121,3 +122,6 @@ this.handleInteraction = this.handleInteraction.bind(this); | ||
} | ||
return (h("div", { class: "mdc-text-field", onFocus: this.handleTextFieldFocus, tabindex: "0" }, | ||
return (h("div", { class: { | ||
'mdc-text-field': true, | ||
'mdc-text-field--invalid': this.isInvalid(), | ||
}, onFocus: this.handleTextFieldFocus, tabindex: "0" }, | ||
h("div", { class: "mdc-chip-set mdc-chip-set--input" }, | ||
@@ -129,12 +133,20 @@ this.value.map(this.renderChip), | ||
onChange: this.inputFieldOnChange })), | ||
h("label", { class: `mdc-floating-label | ||
${textValue || this.editMode | ||
? 'mdc-floating-label--float-above' | ||
: ''} | ||
${this.disabled ? 'mdc-text-field--disabled' : ''} | ||
${this.required ? 'mdc-text-field--required' : ''} | ||
`, htmlFor: "my-text-field" }, this.label), | ||
h("label", { class: { | ||
'mdc-floating-label': true, | ||
'mdc-floating-label--float-above': !!(textValue || this.editMode), | ||
'mdc-text-field--disabled': this.disabled, | ||
'mdc-text-field--required': this.required, | ||
}, htmlFor: "my-text-field" }, this.label), | ||
h("label", { id: "search-label", class: "mdc-floating-label", htmlFor: "my-text-field" }, searchLabel), | ||
h("div", { class: "mdc-line-ripple" }))); | ||
} | ||
isInvalid() { | ||
if (!this.required) { | ||
return; | ||
} | ||
if (!this.blurred) { | ||
return; | ||
} | ||
return !this.value || !this.value.length; | ||
} | ||
inputFieldOnChange(event) { | ||
@@ -159,2 +171,3 @@ event.stopPropagation(); | ||
this.textValue = ' '; | ||
this.blurred = true; | ||
// This timeout is needed in order to let a new element receive focus | ||
@@ -348,3 +361,4 @@ setTimeout(() => { | ||
"editMode": {}, | ||
"textValue": {} | ||
"textValue": {}, | ||
"blurred": {} | ||
}; } | ||
@@ -351,0 +365,0 @@ static get events() { return [{ |
@@ -1,1 +0,1 @@ | ||
import{p as e,b as l}from"./p-58b082c8.js";e().then(e=>l([["p-fnficarz",[[1,"limel-menu-surface",{open:[4]}],[1,"limel-portal",{visible:[4],containerId:[1,"container-id"],containerStyle:[16],parent:[16]}]]],["p-gmc1ygpm",[[1,"limel-list",{items:[16],badgeIcons:[4,"badge-icons"],iconSize:[1,"icon-size"],type:[1]}]]],["p-ayhjlwep",[[1,"limel-select",{disabled:[516],required:[516],label:[513],value:[16],options:[16],multiple:[4],menuOpen:[32]}]]],["p-052glaxp",[[1,"limel-chart",{labels:[16],datasets:[16],type:[513],options:[8]}]]],["p-zro5pfmv",[[1,"limel-checkbox",{disabled:[516],label:[513],checked:[516]}]]],["p-gdyt8fza",[[1,"limel-collapsible-section",{isOpen:[1540,"is-open"],header:[1]}]]],["p-osozdkpg",[[1,"limel-config",{config:[16]}]]],["p-ggdve2y4",[[1,"limel-flex-container",{direction:[513],justify:[513],align:[513],reverse:[516]}]]],["p-bpvjpcuh",[[1,"limel-grid"]]],["p-xv97ap6m",[[1,"limel-linear-progress",{value:[2],indeterminate:[4]}]]],["p-niyfkijb",[[1,"limel-menu",{label:[513],items:[16],disabled:[516],open:[1540],badgeIcons:[1540,"badge-icons"]}]]],["p-c13iai1v",[[1,"limel-slider",{disabled:[516],factor:[514],label:[513],unit:[513],value:[514],valuemax:[514],valuemin:[514]}]]],["p-yzhevszy",[[1,"limel-switch",{label:[513],disabled:[516],value:[516],fieldId:[32],mdcSwitch:[32]}]]],["p-2tgufkj3",[[1,"limel-spinner",{size:[513]}]]],["p-jl8egoh3",[[1,"limel-icon",{size:[513],name:[513],badge:[516]}]]],["p-ln0bu1sq",[[1,"limel-picker",{disabled:[4],label:[1],searchLabel:[1,"search-label"],emptyResultMessage:[1,"empty-result-message"],required:[4],value:[16],searcher:[16],multiple:[4],displayFullList:[4,"display-full-list"],items:[32],textValue:[32],loading:[32],chips:[32]}]]],["p-k7kqfqxc",[[1,"limel-button",{label:[513],primary:[516],outlined:[516],icon:[513],disabled:[516],loading:[516]}]]],["p-ckpumtam",[[1,"limel-file",{value:[16],label:[513],required:[516],disabled:[516]}]]],["p-e40xzbs4",[[1,"limel-banner",{message:[513],icon:[513],isOpen:[32],open:[64],close:[64]}]]],["p-wb2jjnzi",[[1,"limel-dialog",{heading:[1],fullscreen:[516],open:[1540],closingActions:[16]}]]],["p-ntplckgc",[[1,"limel-icon-button",{icon:[513],label:[513],disabled:[516],relayout:[64]}]]],["p-aysqjax8",[[1,"limel-input-field",{disabled:[516],invalid:[516],label:[513],required:[516],value:[513],trailingIcon:[513,"trailing-icon"],type:[513],formatNumber:[516,"format-number"],completions:[16],mdcTextField:[32],isFocused:[32]}]]],["p-cyrem5ah",[[1,"limel-date-picker",{disabled:[4],invalid:[4],label:[1],required:[4],value:[16],type:[1],format:[1],language:[1],formattedValue:[32]},[[9,"resize","resizeEvent"]]]]],["p-9zkhu7m5",[[1,"limel-snackbar",{message:[1],timeout:[2],actionText:[1,"action-text"],dismissible:[4],multiline:[4],show:[64]}]]],["p-loqbce0y",[[1,"limel-chip-set",{value:[16],type:[1],label:[1],disabled:[516],required:[4],searchLabel:[1,"search-label"],editMode:[32],textValue:[32],getEditMode:[64],setFocus:[64]}]]]],e)); | ||
import{p as e,b as l}from"./p-58b082c8.js";e().then(e=>l([["p-fnficarz",[[1,"limel-menu-surface",{open:[4]}],[1,"limel-portal",{visible:[4],containerId:[1,"container-id"],containerStyle:[16],parent:[16]}]]],["p-gmc1ygpm",[[1,"limel-list",{items:[16],badgeIcons:[4,"badge-icons"],iconSize:[1,"icon-size"],type:[1]}]]],["p-ayhjlwep",[[1,"limel-select",{disabled:[516],required:[516],label:[513],value:[16],options:[16],multiple:[4],menuOpen:[32]}]]],["p-052glaxp",[[1,"limel-chart",{labels:[16],datasets:[16],type:[513],options:[8]}]]],["p-zro5pfmv",[[1,"limel-checkbox",{disabled:[516],label:[513],checked:[516]}]]],["p-gdyt8fza",[[1,"limel-collapsible-section",{isOpen:[1540,"is-open"],header:[1]}]]],["p-osozdkpg",[[1,"limel-config",{config:[16]}]]],["p-ggdve2y4",[[1,"limel-flex-container",{direction:[513],justify:[513],align:[513],reverse:[516]}]]],["p-bpvjpcuh",[[1,"limel-grid"]]],["p-xv97ap6m",[[1,"limel-linear-progress",{value:[2],indeterminate:[4]}]]],["p-niyfkijb",[[1,"limel-menu",{label:[513],items:[16],disabled:[516],open:[1540],badgeIcons:[1540,"badge-icons"]}]]],["p-c13iai1v",[[1,"limel-slider",{disabled:[516],factor:[514],label:[513],unit:[513],value:[514],valuemax:[514],valuemin:[514]}]]],["p-yzhevszy",[[1,"limel-switch",{label:[513],disabled:[516],value:[516],fieldId:[32],mdcSwitch:[32]}]]],["p-2tgufkj3",[[1,"limel-spinner",{size:[513]}]]],["p-jl8egoh3",[[1,"limel-icon",{size:[513],name:[513],badge:[516]}]]],["p-ln0bu1sq",[[1,"limel-picker",{disabled:[4],label:[1],searchLabel:[1,"search-label"],emptyResultMessage:[1,"empty-result-message"],required:[4],value:[16],searcher:[16],multiple:[4],displayFullList:[4,"display-full-list"],items:[32],textValue:[32],loading:[32],chips:[32]}]]],["p-k7kqfqxc",[[1,"limel-button",{label:[513],primary:[516],outlined:[516],icon:[513],disabled:[516],loading:[516]}]]],["p-ckpumtam",[[1,"limel-file",{value:[16],label:[513],required:[516],disabled:[516]}]]],["p-e40xzbs4",[[1,"limel-banner",{message:[513],icon:[513],isOpen:[32],open:[64],close:[64]}]]],["p-wb2jjnzi",[[1,"limel-dialog",{heading:[1],fullscreen:[516],open:[1540],closingActions:[16]}]]],["p-ntplckgc",[[1,"limel-icon-button",{icon:[513],label:[513],disabled:[516],relayout:[64]}]]],["p-aysqjax8",[[1,"limel-input-field",{disabled:[516],invalid:[516],label:[513],required:[516],value:[513],trailingIcon:[513,"trailing-icon"],type:[513],formatNumber:[516,"format-number"],completions:[16],mdcTextField:[32],isFocused:[32]}]]],["p-bilxlz1n",[[1,"limel-date-picker",{disabled:[4],invalid:[4],label:[1],required:[4],value:[16],type:[1],format:[1],language:[1],formattedValue:[32]},[[9,"resize","resizeEvent"]]]]],["p-9zkhu7m5",[[1,"limel-snackbar",{message:[1],timeout:[2],actionText:[1,"action-text"],dismissible:[4],multiline:[4],show:[64]}]]],["p-v1wbbpt4",[[1,"limel-chip-set",{value:[16],type:[1],label:[1],disabled:[516],required:[4],searchLabel:[1,"search-label"],editMode:[32],textValue:[32],blurred:[32],getEditMode:[64],setFocus:[64]}]]]],e)); |
@@ -1,1 +0,1 @@ | ||
System.register(["./p-ac2410aa.system.js"],function(){"use strict";var e,l;return{setters:[function(i){e=i.p;l=i.b}],execute:function(){e().then(function(e){return l([["p-vsfjxpty.system",[[1,"limel-menu-surface",{open:[4]}],[1,"limel-portal",{visible:[4],containerId:[1,"container-id"],containerStyle:[16],parent:[16]}]]],["p-b9iuygei.system",[[1,"limel-list",{items:[16],badgeIcons:[4,"badge-icons"],iconSize:[1,"icon-size"],type:[1]}]]],["p-1o9otipj.system",[[1,"limel-select",{disabled:[516],required:[516],label:[513],value:[16],options:[16],multiple:[4],menuOpen:[32]}]]],["p-lotcswqw.system",[[1,"limel-chart",{labels:[16],datasets:[16],type:[513],options:[8]}]]],["p-rq1rlsyr.system",[[1,"limel-checkbox",{disabled:[516],label:[513],checked:[516]}]]],["p-t7ujxk6a.system",[[1,"limel-collapsible-section",{isOpen:[1540,"is-open"],header:[1]}]]],["p-v8hrdiwo.system",[[1,"limel-config",{config:[16]}]]],["p-jf2snikf.system",[[1,"limel-flex-container",{direction:[513],justify:[513],align:[513],reverse:[516]}]]],["p-et2rnqwn.system",[[1,"limel-grid"]]],["p-mazps90v.system",[[1,"limel-linear-progress",{value:[2],indeterminate:[4]}]]],["p-zhg5uoe1.system",[[1,"limel-menu",{label:[513],items:[16],disabled:[516],open:[1540],badgeIcons:[1540,"badge-icons"]}]]],["p-x8gkxg4y.system",[[1,"limel-slider",{disabled:[516],factor:[514],label:[513],unit:[513],value:[514],valuemax:[514],valuemin:[514]}]]],["p-nhnb6pji.system",[[1,"limel-switch",{label:[513],disabled:[516],value:[516],fieldId:[32],mdcSwitch:[32]}]]],["p-hq8lifji.system",[[1,"limel-spinner",{size:[513]}]]],["p-4ysw869s.system",[[1,"limel-icon",{size:[513],name:[513],badge:[516]}]]],["p-4g3rrqzw.system",[[1,"limel-picker",{disabled:[4],label:[1],searchLabel:[1,"search-label"],emptyResultMessage:[1,"empty-result-message"],required:[4],value:[16],searcher:[16],multiple:[4],displayFullList:[4,"display-full-list"],items:[32],textValue:[32],loading:[32],chips:[32]}]]],["p-n4i5paq4.system",[[1,"limel-button",{label:[513],primary:[516],outlined:[516],icon:[513],disabled:[516],loading:[516]}]]],["p-tvulmcbx.system",[[1,"limel-file",{value:[16],label:[513],required:[516],disabled:[516]}]]],["p-lrectwsq.system",[[1,"limel-banner",{message:[513],icon:[513],isOpen:[32],open:[64],close:[64]}]]],["p-xvwccerp.system",[[1,"limel-dialog",{heading:[1],fullscreen:[516],open:[1540],closingActions:[16]}]]],["p-v8qbmb7r.system",[[1,"limel-icon-button",{icon:[513],label:[513],disabled:[516],relayout:[64]}]]],["p-dtieqlzd.system",[[1,"limel-input-field",{disabled:[516],invalid:[516],label:[513],required:[516],value:[513],trailingIcon:[513,"trailing-icon"],type:[513],formatNumber:[516,"format-number"],completions:[16],mdcTextField:[32],isFocused:[32]}]]],["p-gejtzi6b.system",[[1,"limel-date-picker",{disabled:[4],invalid:[4],label:[1],required:[4],value:[16],type:[1],format:[1],language:[1],formattedValue:[32]},[[9,"resize","resizeEvent"]]]]],["p-ldwxbsrb.system",[[1,"limel-snackbar",{message:[1],timeout:[2],actionText:[1,"action-text"],dismissible:[4],multiline:[4],show:[64]}]]],["p-xly5ttvf.system",[[1,"limel-chip-set",{value:[16],type:[1],label:[1],disabled:[516],required:[4],searchLabel:[1,"search-label"],editMode:[32],textValue:[32],getEditMode:[64],setFocus:[64]}]]]],e)})}}}); | ||
System.register(["./p-ac2410aa.system.js"],function(){"use strict";var e,l;return{setters:[function(i){e=i.p;l=i.b}],execute:function(){e().then(function(e){return l([["p-vsfjxpty.system",[[1,"limel-menu-surface",{open:[4]}],[1,"limel-portal",{visible:[4],containerId:[1,"container-id"],containerStyle:[16],parent:[16]}]]],["p-b9iuygei.system",[[1,"limel-list",{items:[16],badgeIcons:[4,"badge-icons"],iconSize:[1,"icon-size"],type:[1]}]]],["p-1o9otipj.system",[[1,"limel-select",{disabled:[516],required:[516],label:[513],value:[16],options:[16],multiple:[4],menuOpen:[32]}]]],["p-lotcswqw.system",[[1,"limel-chart",{labels:[16],datasets:[16],type:[513],options:[8]}]]],["p-rq1rlsyr.system",[[1,"limel-checkbox",{disabled:[516],label:[513],checked:[516]}]]],["p-t7ujxk6a.system",[[1,"limel-collapsible-section",{isOpen:[1540,"is-open"],header:[1]}]]],["p-v8hrdiwo.system",[[1,"limel-config",{config:[16]}]]],["p-jf2snikf.system",[[1,"limel-flex-container",{direction:[513],justify:[513],align:[513],reverse:[516]}]]],["p-et2rnqwn.system",[[1,"limel-grid"]]],["p-mazps90v.system",[[1,"limel-linear-progress",{value:[2],indeterminate:[4]}]]],["p-zhg5uoe1.system",[[1,"limel-menu",{label:[513],items:[16],disabled:[516],open:[1540],badgeIcons:[1540,"badge-icons"]}]]],["p-x8gkxg4y.system",[[1,"limel-slider",{disabled:[516],factor:[514],label:[513],unit:[513],value:[514],valuemax:[514],valuemin:[514]}]]],["p-nhnb6pji.system",[[1,"limel-switch",{label:[513],disabled:[516],value:[516],fieldId:[32],mdcSwitch:[32]}]]],["p-hq8lifji.system",[[1,"limel-spinner",{size:[513]}]]],["p-4ysw869s.system",[[1,"limel-icon",{size:[513],name:[513],badge:[516]}]]],["p-4g3rrqzw.system",[[1,"limel-picker",{disabled:[4],label:[1],searchLabel:[1,"search-label"],emptyResultMessage:[1,"empty-result-message"],required:[4],value:[16],searcher:[16],multiple:[4],displayFullList:[4,"display-full-list"],items:[32],textValue:[32],loading:[32],chips:[32]}]]],["p-n4i5paq4.system",[[1,"limel-button",{label:[513],primary:[516],outlined:[516],icon:[513],disabled:[516],loading:[516]}]]],["p-tvulmcbx.system",[[1,"limel-file",{value:[16],label:[513],required:[516],disabled:[516]}]]],["p-lrectwsq.system",[[1,"limel-banner",{message:[513],icon:[513],isOpen:[32],open:[64],close:[64]}]]],["p-xvwccerp.system",[[1,"limel-dialog",{heading:[1],fullscreen:[516],open:[1540],closingActions:[16]}]]],["p-v8qbmb7r.system",[[1,"limel-icon-button",{icon:[513],label:[513],disabled:[516],relayout:[64]}]]],["p-dtieqlzd.system",[[1,"limel-input-field",{disabled:[516],invalid:[516],label:[513],required:[516],value:[513],trailingIcon:[513,"trailing-icon"],type:[513],formatNumber:[516,"format-number"],completions:[16],mdcTextField:[32],isFocused:[32]}]]],["p-wbcfwr8h.system",[[1,"limel-date-picker",{disabled:[4],invalid:[4],label:[1],required:[4],value:[16],type:[1],format:[1],language:[1],formattedValue:[32]},[[9,"resize","resizeEvent"]]]]],["p-ldwxbsrb.system",[[1,"limel-snackbar",{message:[1],timeout:[2],actionText:[1,"action-text"],dismissible:[4],multiline:[4],show:[64]}]]],["p-dpyv3jxt.system",[[1,"limel-chip-set",{value:[16],type:[1],label:[1],disabled:[516],required:[4],searchLabel:[1,"search-label"],editMode:[32],textValue:[32],blurred:[32],getEditMode:[64],setFocus:[64]}]]]],e)})}}}); |
@@ -56,2 +56,3 @@ import { Chip } from '@limetech/lime-elements'; | ||
private textValue; | ||
private blurred; | ||
private mdcChipSet; | ||
@@ -79,2 +80,3 @@ private mdcTextField; | ||
private renderInputChips; | ||
private isInvalid; | ||
private inputFieldOnChange; | ||
@@ -81,0 +83,0 @@ /** |
{ | ||
"name": "@limetech/lime-elements", | ||
"version": "23.0.1", | ||
"version": "23.0.2", | ||
"description": "Lime Elements", | ||
@@ -48,3 +48,3 @@ "author": "Lime Technologies", | ||
"chart.js": "^2.8.0", | ||
"jsx-dom": "^6.3.1", | ||
"jsx-dom": "^6.4.0", | ||
"moment": "^2.24.0" | ||
@@ -62,3 +62,3 @@ }, | ||
"@types/chart.js": "2.8.5", | ||
"@types/jest": "^24.0.18", | ||
"@types/jest": "24.0.18", | ||
"@types/puppeteer": "1.19.1", | ||
@@ -71,4 +71,4 @@ "commitizen": "4.0.3", | ||
"docz-theme-default": "1.2.0", | ||
"eslint": "^6.2.2", | ||
"eslint-config-prettier": "^6.1.0", | ||
"eslint": "^6.4.0", | ||
"eslint-config-prettier": "6.3.0", | ||
"eslint-plugin-prettier": "3.1.0", | ||
@@ -84,6 +84,6 @@ "jest": "24.8.0", | ||
"replace-in-file": "4.1.3", | ||
"semantic-release": "^15.13.24", | ||
"semantic-release": "15.13.24", | ||
"shelljs": "0.8.3", | ||
"showdown": "1.9.0", | ||
"tslint": "^5.19.0", | ||
"tslint": "5.20.0", | ||
"tslint-config-prettier": "1.18.0", | ||
@@ -119,2 +119,3 @@ "tslint-eslint-rules": "5.4.0", | ||
"ignore": [ | ||
"@types/jest", | ||
"jest", | ||
@@ -121,0 +122,0 @@ "jest-cli", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
10772060
170310
Updatedjsx-dom@^6.4.0