@dataloop-ai/components 0.20.178-ds-v3.0 → 0.20.178-ds-v3.1

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.20.178-ds-v3.0",
3
+ "version": "0.20.178-ds-v3.1",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -1470,6 +1470,9 @@ export default defineComponent({
1470
1470
  &--s {
1471
1471
  height: 18px;
1472
1472
  }
1473
+ &--m {
1474
+ height: 26px;
1475
+ }
1473
1476
  }
1474
1477
 
1475
1478
  &__input {
@@ -1518,6 +1521,7 @@ export default defineComponent({
1518
1521
  }
1519
1522
 
1520
1523
  &--m {
1524
+ height: 12px;
1521
1525
  line-height: 12px;
1522
1526
  padding-top: 7px;
1523
1527
  padding-bottom: 7px;
@@ -158,6 +158,14 @@ export default defineComponent({
158
158
  },
159
159
  onSearchButtonPress(): void {
160
160
  this.$emit('search', this.modelValue)
161
+ },
162
+ focus(): void {
163
+ const inputComponent = this.$refs.input as typeof DlInput
164
+ inputComponent.focus()
165
+ },
166
+ blur(): void {
167
+ const inputComponent = this.$refs.input as typeof DlInput
168
+ inputComponent.blur()
161
169
  }
162
170
  }
163
171
  })