frappe-ui 0.1.155 → 0.1.156

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": "frappe-ui",
3
- "version": "0.1.155",
3
+ "version": "0.1.156",
4
4
  "description": "A set of components and utilities for rapid UI development",
5
5
  "main": "./src/index.ts",
6
6
  "type": "module",
@@ -15,7 +15,6 @@
15
15
  v-if="type === 'select'"
16
16
  :id="id"
17
17
  v-bind="{ ...controlAttrs, size, variant }"
18
- v-model="model"
19
18
  >
20
19
  <template #prefix v-if="$slots.prefix">
21
20
  <slot name="prefix" />
@@ -24,7 +23,6 @@
24
23
  <Autocomplete
25
24
  v-else-if="type === 'autocomplete'"
26
25
  v-bind="{ ...controlAttrs }"
27
- v-model="model"
28
26
  >
29
27
  <template #prefix v-if="$slots.prefix">
30
28
  <slot name="prefix" />
@@ -37,13 +35,11 @@
37
35
  v-else-if="type === 'textarea'"
38
36
  :id="id"
39
37
  v-bind="{ ...controlAttrs, size, variant }"
40
- v-model="model"
41
38
  />
42
39
  <TextInput
43
40
  v-else
44
41
  :id="id"
45
42
  v-bind="{ ...controlAttrs, type, size, variant, required }"
46
- v-model="model"
47
43
  >
48
44
  <template #prefix v-if="$slots.prefix">
49
45
  <slot name="prefix" />
@@ -60,7 +56,6 @@
60
56
  v-else
61
57
  :id="id"
62
58
  v-bind="{ ...controlAttrs, label, size, class: attrs.class }"
63
- v-model="model"
64
59
  />
65
60
  </template>
66
61
  <script setup lang="ts">
@@ -81,8 +76,6 @@ const props = withDefaults(defineProps<FormControlProps>(), {
81
76
  variant: 'subtle',
82
77
  })
83
78
 
84
- const model = defineModel()
85
-
86
79
  const attrs = useAttrs()
87
80
  const controlAttrs = computed(() => {
88
81
  // pass everything except class and style
@@ -12,7 +12,6 @@ export interface SelectProps {
12
12
  placeholder?: string
13
13
  disabled?: boolean
14
14
  id?: string
15
- value?: string | number
16
15
  modelValue?: string | number
17
16
  options?: SelectOption[]
18
17
  }
@@ -7,7 +7,6 @@ export interface TextInputProps {
7
7
  placeholder?: string
8
8
  disabled?: boolean
9
9
  id?: string
10
- value?: string | number
11
10
  modelValue?: string | number
12
11
  debounce?: number
13
12
  required?: boolean