@designcrowd/fe-shared-lib 1.1.4-rte-5 → 1.1.4-rte-ast-7

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": "@designcrowd/fe-shared-lib",
3
- "version": "1.1.4-rte-5",
3
+ "version": "1.1.4-rte-ast-7",
4
4
  "scripts": {
5
5
  "start": "npm run storybook",
6
6
  "build": "npm run build:css --production",
@@ -4,6 +4,7 @@
4
4
  class="tw-bg-white tw-border tw-border-grayscale-500 tw-border-solid tw-h-10 tw-flex tw-items-center tw-rounded tw-text-md tw-w-full"
5
5
  :class="[elementClasses, disabled && 'tw-opacity-40 tw-cursor-not-allowed']"
6
6
  @click="() => !disabled && onToggleMenu()"
7
+ :title="tooltip"
7
8
  >
8
9
  <div class="tw-text-left tw-flex-auto tw-pl-3 tw-truncate">
9
10
  <slot name="title">
@@ -78,6 +79,10 @@ export default {
78
79
  required: false,
79
80
  default: 'sm',
80
81
  },
82
+ tooltip: {
83
+ type: String,
84
+ required: false,
85
+ },
81
86
  },
82
87
  data: () => ({
83
88
  isMenuVisible: false,
@@ -303,7 +303,10 @@ export default {
303
303
  } else {
304
304
  newNumber = this.number;
305
305
  }
306
- this.$emit('update:modelValue', newNumber);
306
+ this.number = newNumber;
307
+ e.target.value = newNumber;
308
+ this.$emit('update:modelValue', this.number);
309
+ this.$emit('input', this.number);
307
310
  },
308
311
  },
309
312
  };