@everchron/ec-shards 7.4.12 → 7.4.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everchron/ec-shards",
3
- "version": "7.4.12",
3
+ "version": "7.4.14",
4
4
  "private": false,
5
5
  "description": "Everchron Shards UI Library",
6
6
  "repository": "https://github.com/everchron/ec-shards.git",
@@ -271,6 +271,10 @@ export default {
271
271
  color: $color-gray-8;
272
272
  }
273
273
 
274
+ .ecs-button{
275
+ margin-left: auto;
276
+ }
277
+
274
278
  &:not(.disabled){
275
279
  &.danger:hover,
276
280
  &.danger:focus{
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <input v-if="type != 'textarea'" class="ecs-form-control"
3
- @input="$emit('input', $event)"
3
+ @input="$emit('input', $event.target.value)"
4
4
  @change="$emit('change', $event)"
5
5
  @keyup="$emit('keyup', $event)"
6
6
  @blur="$emit('blur', $event)"
@@ -24,7 +24,7 @@
24
24
  :id="refr"
25
25
  />
26
26
  <textarea v-else class="ecs-form-control"
27
- @input="$emit('input', $event)"
27
+ @input="$emit('input', $event.target.value)"
28
28
  @change="$emit('change', $event)"
29
29
  @keyup="$emit('keyup', $event)"
30
30
  @blur="$emit('blur', $event)"
@@ -39,7 +39,7 @@ export const contextMenu = () => ({
39
39
  return {
40
40
  options: [
41
41
  {
42
- name: 'Duplicate',
42
+ name: 'View',
43
43
  slug: 'duplicate',
44
44
  icon: 'evidence',
45
45
  nested: {
@@ -59,7 +59,7 @@ export const contextMenu = () => ({
59
59
  type: 'divider',
60
60
  },
61
61
  {
62
- name: 'Delete',
62
+ name: 'Delete ',
63
63
  slug: 'delete',
64
64
  type: 'danger',
65
65
  icon: 'delete'
@@ -7,8 +7,14 @@ export default {
7
7
 
8
8
  export const input = () => ({
9
9
  components: { EcsInput },
10
+ data() {
11
+ return {
12
+ name: '',
13
+ }
14
+ },
10
15
  template: `<div>
11
- <ecs-input placeholder="Enter your name" class="mb-2" />
16
+ <div class="mb-2">Name: {{ name }}</div>
17
+ <ecs-input v-model="name" placeholder="Enter your name" class="mb-2" />
12
18
  <ecs-input readonly value="Readonly" class="mb-2" />
13
19
  <ecs-input disabled value="Disabled" />
14
20
  </div>`,