@fy-/fws-vue 2.0.57 → 2.0.59

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.
@@ -40,6 +40,7 @@ const props = withDefaults(
40
40
  disabled?: boolean;
41
41
  maxLengthPerTag?: number;
42
42
  disableDatesUnder18?: boolean;
43
+ copyButton?: boolean;
43
44
  }>(),
44
45
  {
45
46
  showLabel: true,
@@ -51,6 +52,7 @@ const props = withDefaults(
51
52
  disabled: false,
52
53
  maxLengthPerTag: 0,
53
54
  disableDatesUnder18: false,
55
+ copyButton: false,
54
56
  dpOptions: () => ({}),
55
57
  },
56
58
  );
@@ -221,7 +223,7 @@ defineExpose({ focus, blur, getInputRef });
221
223
  :disabled="disabled"
222
224
  :color="color"
223
225
  :error="checkErrors"
224
- :copyButton="false"
226
+ :copyButton="copyButton"
225
227
  :help="help"
226
228
  :max-lenght-per-tag="maxLengthPerTag"
227
229
  />
@@ -43,8 +43,10 @@
43
43
  placeholder="Add a tag..."
44
44
  ></div>
45
45
  </div>
46
- <div class="flex justify-end mt-1" v-if="copyButton" @click="copyText">
47
- <button class="btn primary small">Copy tags</button>
46
+ <div class="flex justify-end mt-1" v-if="copyButton">
47
+ <button class="btn neutral small" type="button" @click.prevent="copyText">
48
+ Copy tags
49
+ </button>
48
50
  </div>
49
51
  </div>
50
52
  </template>
@@ -68,7 +70,7 @@ const props = withDefaults(
68
70
  copyButton?: boolean;
69
71
  }>(),
70
72
  {
71
- copyButton: true,
73
+ copyButton: false,
72
74
  maxLenghtPerTag: 0,
73
75
  color: "blue",
74
76
  label: "Tags",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "2.0.57",
3
+ "version": "2.0.59",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "repository": {