@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dataloop-ai/components",
3
- "version": "0.16.36",
3
+ "version": "0.16.37",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -694,7 +694,6 @@ export default defineComponent({
694
694
  padding-bottom: 3px;
695
695
  padding-left: 5px;
696
696
  padding-right: 5px;
697
- width: 100%;
698
697
  }
699
698
 
700
699
  &--error {
@@ -34,6 +34,7 @@
34
34
  <dl-button
35
35
  v-show="withSearchBtn"
36
36
  padding="9px 16px"
37
+ style="width: 20%; min-width: fit-content"
37
38
  :size="size"
38
39
  :class="buttonClasses"
39
40
  fluid
@@ -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>