@rededor/cura 1.0.0-alpha.4 → 1.0.0-alpha.6
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/app-globals-bcffd819.js.map +1 -1
- package/dist/cjs/{cura-button-transparent_2.cjs.entry.js → cura-accordion_12.cjs.entry.js} +813 -38
- package/dist/cjs/cura-accordion_12.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-button-outline.cjs.entry.js +3 -2
- package/dist/cjs/cura-button-outline.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-button-transparent.cjs.entry.js +103 -0
- package/dist/cjs/cura-button-transparent.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-toast.cjs.entry.js +4 -4
- package/dist/cjs/cura-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/cura.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/buttons/cura-button/cura-button.js +7 -6
- package/dist/collection/components/buttons/cura-button/cura-button.js.map +1 -1
- package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js +3 -2
- package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js.map +1 -1
- package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js +5 -4
- package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js.map +1 -1
- package/dist/collection/components/cura-alert/cura-alert.stories.js +9 -0
- package/dist/collection/components/cura-alert/cura-alert.stories.js.map +1 -1
- package/dist/collection/components/cura-toast/cura-toast.css +1 -0
- package/dist/collection/components/cura-toast/cura-toast.js +4 -4
- package/dist/collection/components/cura-toast/cura-toast.js.map +1 -1
- package/dist/collection/components/cura-toast/cura-toast.stories.js +11 -0
- package/dist/collection/components/cura-toast/cura-toast.stories.js.map +1 -1
- package/dist/collection/components/forms/cura-input-text/cura-input-text.js +3 -2
- package/dist/collection/components/forms/cura-input-text/cura-input-text.js.map +1 -1
- package/dist/collection/components/forms/cura-input-text/mask-presets/input-mask-presets.js +1 -5
- package/dist/collection/components/forms/cura-input-text/mask-presets/input-mask-presets.js.map +1 -1
- package/dist/collection/components/forms/cura-select/cura-select.js +68 -44
- package/dist/collection/components/forms/cura-select/cura-select.js.map +1 -1
- package/dist/components/cura-button-outline.js +3 -2
- package/dist/components/cura-button-outline.js.map +1 -1
- package/dist/components/cura-button-transparent2.js +5 -4
- package/dist/components/cura-button-transparent2.js.map +1 -1
- package/dist/components/cura-button.js +7 -6
- package/dist/components/cura-button.js.map +1 -1
- package/dist/components/cura-input-text2.js +3 -6
- package/dist/components/cura-input-text2.js.map +1 -1
- package/dist/components/cura-select2.js +66 -44
- package/dist/components/cura-select2.js.map +1 -1
- package/dist/components/cura-toast.js +4 -4
- package/dist/components/cura-toast.js.map +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/cura/cura.esm.js +1 -1
- package/dist/cura/cura.esm.js.map +1 -1
- package/dist/cura/p-335323b5.entry.js +2 -0
- package/dist/cura/p-335323b5.entry.js.map +1 -0
- package/dist/cura/p-6e3f2b5b.entry.js +2 -0
- package/dist/cura/p-6e3f2b5b.entry.js.map +1 -0
- package/dist/cura/p-70c369b1.js.map +1 -1
- package/dist/cura/{p-3b4bf71e.entry.js → p-79fa3b97.entry.js} +2 -2
- package/dist/cura/{p-3b4bf71e.entry.js.map → p-79fa3b97.entry.js.map} +1 -1
- package/dist/cura/p-f016eb62.entry.js +2 -0
- package/dist/cura/p-f016eb62.entry.js.map +1 -0
- package/dist/esm/app-globals-f2da2b14.js.map +1 -1
- package/dist/esm/{cura-button-transparent_2.entry.js → cura-accordion_12.entry.js} +803 -38
- package/dist/esm/cura-accordion_12.entry.js.map +1 -0
- package/dist/esm/cura-button-outline.entry.js +3 -2
- package/dist/esm/cura-button-outline.entry.js.map +1 -1
- package/dist/esm/cura-button-transparent.entry.js +99 -0
- package/dist/esm/cura-button-transparent.entry.js.map +1 -0
- package/dist/esm/cura-toast.entry.js +4 -4
- package/dist/esm/cura-toast.entry.js.map +1 -1
- package/dist/esm/cura.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/cura-alert/cura-alert.stories.d.ts +9 -0
- package/dist/types/components/cura-toast/cura-toast.d.ts +1 -1
- package/dist/types/components/cura-toast/cura-toast.stories.d.ts +11 -0
- package/dist/types/components/forms/cura-select/cura-select.d.ts +8 -11
- package/dist/types/components.d.ts +2 -2
- package/package.json +2 -2
- package/dist/cjs/cura-accordion_9.cjs.entry.js +0 -544
- package/dist/cjs/cura-accordion_9.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-button-transparent_2.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-select_2.cjs.entry.js +0 -325
- package/dist/cjs/cura-select_2.cjs.entry.js.map +0 -1
- package/dist/cura/p-27afaed4.entry.js +0 -2
- package/dist/cura/p-27afaed4.entry.js.map +0 -1
- package/dist/cura/p-31ae34e3.entry.js +0 -2
- package/dist/cura/p-31ae34e3.entry.js.map +0 -1
- package/dist/cura/p-45bc4f7c.entry.js +0 -2
- package/dist/cura/p-45bc4f7c.entry.js.map +0 -1
- package/dist/cura/p-a5e53dd4.entry.js +0 -2
- package/dist/cura/p-a5e53dd4.entry.js.map +0 -1
- package/dist/esm/cura-accordion_9.entry.js +0 -532
- package/dist/esm/cura-accordion_9.entry.js.map +0 -1
- package/dist/esm/cura-button-transparent_2.entry.js.map +0 -1
- package/dist/esm/cura-select_2.entry.js +0 -320
- package/dist/esm/cura-select_2.entry.js.map +0 -1
|
@@ -3639,11 +3639,7 @@ const maskOptions = {
|
|
|
3639
3639
|
placeholderChar: '_',
|
|
3640
3640
|
},
|
|
3641
3641
|
date: {
|
|
3642
|
-
mask:
|
|
3643
|
-
min: new Date(1900, 0, 1),
|
|
3644
|
-
max: new Date(2099, 11, 31),
|
|
3645
|
-
lazy: false,
|
|
3646
|
-
placeholderChar: '_',
|
|
3642
|
+
mask: '00/00/0000'
|
|
3647
3643
|
},
|
|
3648
3644
|
};
|
|
3649
3645
|
|
|
@@ -3897,6 +3893,7 @@ const CuraInputText = /*@__PURE__*/ proxyCustomElement(class CuraInputText exten
|
|
|
3897
3893
|
}
|
|
3898
3894
|
handleInputChange(event) {
|
|
3899
3895
|
const inputValue = event.target.value;
|
|
3896
|
+
this.valueChange.emit(inputValue);
|
|
3900
3897
|
if (this.type === 'number') {
|
|
3901
3898
|
this.handleNumberInputChange(inputValue);
|
|
3902
3899
|
}
|
|
@@ -3936,7 +3933,7 @@ const CuraInputText = /*@__PURE__*/ proxyCustomElement(class CuraInputText exten
|
|
|
3936
3933
|
e.preventDefault();
|
|
3937
3934
|
}
|
|
3938
3935
|
render() {
|
|
3939
|
-
return (h(Host, { key: '
|
|
3936
|
+
return (h(Host, { key: '2f2f783ecef425e66a87f01ee01da880de719a39' }, h("div", { key: '1d9045829f1c0d651c72b79d76e02e2c46061dac', style: this.styles, onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave(), class: Object.assign({ 'cura-input-group': true }, this.getClasses()) }, h("div", { key: '812f545947d26244ef7bef0dfbbdf4ddc48b1553', class: "input-wrapper" }, this.label && (h("cura-label", { key: '620aa3fb370e1cc80462c55f1b39418030cbed7d', class: "label", weight: "bold", size: this.size === 'large' ? 'small' : 'xsmall', color: this.getLabelColor() }, this.label, " ", this.required && h("span", { key: 'fc0dc595d953c8360acc2277d8744dcf868a59b3', class: "required" }, "* "))), h("div", { key: 'fcb2acfb37815c5beb2c1b96ae22a3854b370e15', class: "cura-input-field", part: "cura-input-field", style: this.styles }, this.renderIcon(), h("input", { key: '4cd76e5b8cf323f43de0169631cbb168a0eaa954', name: this.name ? this.name : '', type: this.type, onKeyDown: event => this.handleKeyDown(event), onBlur: this.handleInputBlur.bind(this), onFocus: this.handleInputFocus.bind(this), onInput: event => this.handleInputChange(event), class: this.getClasses(), style: this.styles, placeholder: this.placeholder, disabled: this.disabled || this.isLoading, required: this.required, readonly: this.readOnly, maxlength: this.maxlength, value: this.value !== undefined && this.value !== null ? this.value : '', inputmode: this.maskPreset ? 'tel' : this.inputMode, ref: ref => (this.inputRef = ref) }), !!this.clearIcon && !this.readOnly && !this.isLoading && !this.disabled && this.value && this.isFocused && (h("cura-icon", { key: '0832143a6aea10d7a07cf281e66e48762c9df30d', size: this.size === 'large' || this.mode === 'transparent' ? 20 : 16, color: "primary-base", name: "closeCircle", iconset: "default", class: "clear-button", onClick: () => this.handleClearInput() })), this.isLoading && h("cura-loader-circle", { key: 'a2eebd7fdeb47ca19b3a3be6f379bd27a77292ca', size: this.size === 'large' ? 'medium' : 'small', color: "primary-base" })), this.renderHelperText()))));
|
|
3940
3937
|
}
|
|
3941
3938
|
static get formAssociated() { return true; }
|
|
3942
3939
|
static get watchers() { return {
|