@retailcrm/embed-ui-v1-components 0.9.2 → 0.9.3

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/dist/host.cjs CHANGED
@@ -6726,7 +6726,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
6726
6726
  }
6727
6727
  };
6728
6728
  const root = useElementRef();
6729
- const textbox = vue.useTemplateRef("textbox");
6729
+ const textbox = vue.shallowRef(null);
6730
6730
  const getSelectionStart = () => {
6731
6731
  var _a;
6732
6732
  return ((_a = textbox.value) == null ? void 0 : _a.selectionStart) ?? 0;
package/dist/host.css CHANGED
@@ -1989,6 +1989,10 @@
1989
1989
  height: auto;
1990
1990
  min-height: var(--height);
1991
1991
  }
1992
+ .ui-v1-textbox:has(input:disabled),
1993
+ .ui-v1-textbox:has(textarea:disabled) {
1994
+ background-color: #EEF1F3;
1995
+ }
1992
1996
  .ui-v1-textbox_invalid {
1993
1997
  --active-color: var(--ui-v1-textbox-danger-color);
1994
1998
  --shadow-color: var(--ui-v1-textbox-danger-shadow-color);
@@ -2095,12 +2099,12 @@
2095
2099
  border-start-end-radius: 0;
2096
2100
  border-end-end-radius: 0;
2097
2101
  }
2098
- .ui-v1-textbox:has(input:hover),
2099
- .ui-v1-textbox:has(textarea:hover) {
2102
+ .ui-v1-textbox:has(input:hover:not(:disabled)),
2103
+ .ui-v1-textbox:has(textarea:hover:not(:disabled)) {
2100
2104
  --border-color: #AFB9C3;
2101
2105
  }
2102
- .ui-v1-textbox:has(input:focus),
2103
- .ui-v1-textbox:has(textarea:focus) {
2106
+ .ui-v1-textbox:has(input:focus:not(:disabled)),
2107
+ .ui-v1-textbox:has(textarea:focus:not(:disabled)) {
2104
2108
  --border-color: var(--active-color);
2105
2109
  }
2106
2110
  .ui-v1-textbox_outlined:has(input:focus),
package/dist/host.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
- import { openBlock, createElementBlock, createElementVNode, defineComponent, inject, ref, computed, mergeProps, useSlots, createBlock, resolveDynamicComponent, unref, withCtx, createVNode, createCommentVNode, normalizeClass, renderSlot, createTextVNode, toDisplayString, provide, Fragment, renderList, Text, Comment, h, reactive, watch, nextTick, onMounted, onActivated, onDeactivated, onBeforeUnmount, Teleport, getCurrentInstance, Transition, normalizeProps, guardReactiveProps, normalizeStyle, withDirectives, vShow, useAttrs, toHandlers, withModifiers, useId, useTemplateRef, createSlots } from "vue";
4
+ import { openBlock, createElementBlock, createElementVNode, defineComponent, inject, ref, computed, mergeProps, useSlots, createBlock, resolveDynamicComponent, unref, withCtx, createVNode, createCommentVNode, normalizeClass, renderSlot, createTextVNode, toDisplayString, provide, Fragment, renderList, Text, Comment, h, reactive, watch, nextTick, onMounted, onActivated, onDeactivated, onBeforeUnmount, Teleport, getCurrentInstance, Transition, normalizeProps, guardReactiveProps, normalizeStyle, withDirectives, vShow, useAttrs, toHandlers, withModifiers, useId, shallowRef, createSlots } from "vue";
5
5
  import { preview } from "@retailcrm/image-preview";
6
6
  import isEqual from "lodash.isequal";
7
7
  import { format, formatISO } from "date-fns";
@@ -6724,7 +6724,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
6724
6724
  }
6725
6725
  };
6726
6726
  const root = useElementRef();
6727
- const textbox = useTemplateRef("textbox");
6727
+ const textbox = shallowRef(null);
6728
6728
  const getSelectionStart = () => {
6729
6729
  var _a;
6730
6730
  return ((_a = textbox.value) == null ? void 0 : _a.selectionStart) ?? 0;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@retailcrm/embed-ui-v1-components",
3
3
  "type": "module",
4
- "version": "0.9.2",
4
+ "version": "0.9.3",
5
5
  "license": "MIT",
6
6
  "author": "RetailDriverLLC <integration@retailcrm.ru>",
7
7
  "repository": "git@github.com:retailcrm/embed-ui.git",