classcard-ui 0.2.1532 → 0.2.1533

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": "classcard-ui",
3
- "version": "0.2.1532",
3
+ "version": "0.2.1533",
4
4
  "main": "dist/classcard-ui.umd.min.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -17,32 +17,25 @@
17
17
  <span v-if="hint" class="text-sm text-gray-500">{{ hint }}</span>
18
18
  </div>
19
19
 
20
- <div class="mt-1">
21
- <textarea
22
- :value="textareaValue"
23
- @input="$emit('input', $event.target.value)"
24
- @blur="$emit('blur', $event.target.value)"
25
- @keyup="updateCursorPosition"
26
- @click="updateCursorPosition"
27
- :placeholder="placeholder"
28
- :id="controlId"
29
- :data-testid="testid"
30
- :rows="rows"
31
- :class="[
32
- errorClasses,
33
- extraClasses,
34
- disableResize ? 'resize-none' : '',
35
- ]"
36
- :disabled="disabled"
37
- class="block w-full rounded-md text-gray-900 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 disabled:opacity-50 sm:text-sm"
38
- ></textarea>
39
- <!-- <div
40
- v-if="!isValidate"
41
- class="pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3 text-red-600"
42
- >
43
- <c-icon name="exclamation-circle" type="solid" class="h-5 w-5"></c-icon>
44
- </div> -->
45
- </div>
20
+ <textarea
21
+ :value="textareaValue"
22
+ @input="$emit('input', $event.target.value)"
23
+ @blur="$emit('blur', $event.target.value)"
24
+ @keyup="updateCursorPosition"
25
+ @click="updateCursorPosition"
26
+ :placeholder="placeholder"
27
+ :id="controlId"
28
+ :data-testid="testid"
29
+ :rows="rows"
30
+ :class="[
31
+ errorClasses,
32
+ extraClasses,
33
+ disableResize ? 'resize-none' : '',
34
+ label || hint ? 'mt-1' : '',
35
+ ]"
36
+ :disabled="disabled"
37
+ class="block w-full rounded-md text-gray-900 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 disabled:opacity-50 sm:text-sm"
38
+ ></textarea>
46
39
  <p v-if="!isValidate" class="mt-2 text-sm text-red-600">
47
40
  {{ errorMessage }}
48
41
  </p>
package/src/.DS_Store DELETED
Binary file