diff --git a/package.json b/package.json index f789a566..8faa8b8e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@soramitsu/soramitsu-js-ui", - "version": "0.2.2", + "version": "0.2.3", "private": false, "publishConfig": { "registry": "https://nexus.iroha.tech/repository/npm-soramitsu-private/" diff --git a/src/components/Dialog/SDialog.vue b/src/components/Dialog/SDialog.vue new file mode 100644 index 00000000..4c933ba3 --- /dev/null +++ b/src/components/Dialog/SDialog.vue @@ -0,0 +1,172 @@ + + + + + diff --git a/src/components/Dialog/index.ts b/src/components/Dialog/index.ts new file mode 100644 index 00000000..452d701a --- /dev/null +++ b/src/components/Dialog/index.ts @@ -0,0 +1,3 @@ +import SDialog from './SDialog.vue' + +export { SDialog } diff --git a/src/components/Input/SInput.vue b/src/components/Input/SInput.vue index 8c6d2e0c..17a652ec 100644 --- a/src/components/Input/SInput.vue +++ b/src/components/Input/SInput.vue @@ -122,12 +122,12 @@ export default class SInput extends Vue { focused = false model = this.value - @Watch('value', { deep: true }) + @Watch('value') private handlePropChange (value: string | number): void { this.model = value } - @Watch('model', { deep: true }) + @Watch('model') private handleValueChange (value: string | number): void { this.$emit('change', value) } diff --git a/src/components/Input/SJsonInput.vue b/src/components/Input/SJsonInput.vue index 3df26c89..29ea70b7 100644 --- a/src/components/Input/SJsonInput.vue +++ b/src/components/Input/SJsonInput.vue @@ -80,7 +80,7 @@ export default class SJsonInput extends Vue {