@dataloop-ai/components 0.16.36 → 0.16.37
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
package/src/demo/DlInputDemo.vue
CHANGED
|
@@ -89,17 +89,34 @@
|
|
|
89
89
|
error
|
|
90
90
|
error-message="Error message is the strongest."
|
|
91
91
|
/>
|
|
92
|
+
<p>input in a row with button</p>
|
|
93
|
+
<div class="row">
|
|
94
|
+
<dl-input
|
|
95
|
+
class="input-parts"
|
|
96
|
+
style="width: 440px"
|
|
97
|
+
placeholder="Select option"
|
|
98
|
+
title="Min"
|
|
99
|
+
without-root-padding
|
|
100
|
+
size="s"
|
|
101
|
+
/>
|
|
102
|
+
<dl-button
|
|
103
|
+
dense
|
|
104
|
+
flat
|
|
105
|
+
icon="icon-dl-add"
|
|
106
|
+
size="m"
|
|
107
|
+
/>
|
|
108
|
+
</div>
|
|
92
109
|
</div>
|
|
93
110
|
</template>
|
|
94
|
-
|
|
95
111
|
<script lang="ts">
|
|
96
112
|
import { defineComponent, ref } from 'vue-demi'
|
|
97
|
-
import { DlInput, DlIcon } from '../components'
|
|
113
|
+
import { DlInput, DlIcon, DlButton } from '../components'
|
|
98
114
|
export default defineComponent({
|
|
99
115
|
name: 'DlInputDemo',
|
|
100
116
|
components: {
|
|
101
117
|
DlInput,
|
|
102
|
-
DlIcon
|
|
118
|
+
DlIcon,
|
|
119
|
+
DlButton
|
|
103
120
|
},
|
|
104
121
|
setup() {
|
|
105
122
|
const textInputValue = ref<string>('')
|
|
@@ -118,3 +135,4 @@ export default defineComponent({
|
|
|
118
135
|
}
|
|
119
136
|
})
|
|
120
137
|
</script>
|
|
138
|
+
<style></style>
|