@webitel/ui-sdk 24.10.26 → 24.10.28

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": "@webitel/ui-sdk",
3
- "version": "24.10.26",
3
+ "version": "24.10.28",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -259,9 +259,17 @@ function updateInputPaddings() {
259
259
  inputEl.style.paddingRight = `calc(${defaultInputPadding} * 2 + ${afterWrapperWidth}px)`;
260
260
  }
261
261
 
262
+ function focus () {
263
+ WtInput.value.focus();
264
+ }
265
+
262
266
  onMounted(() => {
263
267
  updateInputPaddings();
264
268
  });
269
+
270
+ defineExpose({
271
+ focus,
272
+ });
265
273
  </script>
266
274
 
267
275
  <style lang="scss">