@retailcrm/embed-ui-v1-components 0.9.4 → 0.9.5

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
@@ -6464,7 +6464,7 @@ const _hoisted_2 = {
6464
6464
  class: "ui-v1-textbox__prefix"
6465
6465
  };
6466
6466
  const _hoisted_3 = ["id", "type", "value", "max", "min", "step", "aria-invalid", "autocomplete", "inputmode", "maxlength", "placeholder", "readonly", "required", "disabled"];
6467
- const _hoisted_4 = ["id", "value", "aria-invalid", "autocomplete", "inputmode", "maxlength", "placeholder", "readonly", "required", "disabled"];
6467
+ const _hoisted_4 = ["id", "value", "aria-invalid", "autocomplete", "inputmode", "maxlength", "placeholder", "rows", "cols", "readonly", "required", "disabled"];
6468
6468
  const _hoisted_5 = {
6469
6469
  key: 4,
6470
6470
  class: "ui-v1-textbox__eraser"
@@ -6598,6 +6598,18 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
6598
6598
  type: Boolean,
6599
6599
  default: false
6600
6600
  },
6601
+ /** Нативный атрибут HTMLTextAreaElement */
6602
+ rows: {
6603
+ type: [Number, String],
6604
+ validator: (value) => !isNaN(Number(value)),
6605
+ default: 2
6606
+ },
6607
+ /** Нативный атрибут HTMLTextAreaElement */
6608
+ cols: {
6609
+ type: [Number, String],
6610
+ validator: (value) => !isNaN(Number(value)),
6611
+ default: 20
6612
+ },
6601
6613
  /** Стиль поля – с рамкой или без */
6602
6614
  outlined: {
6603
6615
  type: Boolean,
@@ -6870,6 +6882,8 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
6870
6882
  inputmode: resolvedInputmode.value,
6871
6883
  maxlength: __props.maxlength,
6872
6884
  placeholder: __props.placeholder,
6885
+ rows: __props.rows,
6886
+ cols: __props.cols,
6873
6887
  readonly: __props.readonly,
6874
6888
  required: __props.required,
6875
6889
  disabled: __props.disabled,
package/dist/host.d.ts CHANGED
@@ -692,6 +692,8 @@ declare type UiTextboxProperties = {
692
692
  disabled?: boolean;
693
693
  invalid?: boolean;
694
694
  multiline?: boolean;
695
+ rows?: number | `${number}`;
696
+ cols?: number | `${number}`;
695
697
  outlined?: boolean;
696
698
  };
697
699
 
package/dist/host.js CHANGED
@@ -6462,7 +6462,7 @@ const _hoisted_2 = {
6462
6462
  class: "ui-v1-textbox__prefix"
6463
6463
  };
6464
6464
  const _hoisted_3 = ["id", "type", "value", "max", "min", "step", "aria-invalid", "autocomplete", "inputmode", "maxlength", "placeholder", "readonly", "required", "disabled"];
6465
- const _hoisted_4 = ["id", "value", "aria-invalid", "autocomplete", "inputmode", "maxlength", "placeholder", "readonly", "required", "disabled"];
6465
+ const _hoisted_4 = ["id", "value", "aria-invalid", "autocomplete", "inputmode", "maxlength", "placeholder", "rows", "cols", "readonly", "required", "disabled"];
6466
6466
  const _hoisted_5 = {
6467
6467
  key: 4,
6468
6468
  class: "ui-v1-textbox__eraser"
@@ -6596,6 +6596,18 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
6596
6596
  type: Boolean,
6597
6597
  default: false
6598
6598
  },
6599
+ /** Нативный атрибут HTMLTextAreaElement */
6600
+ rows: {
6601
+ type: [Number, String],
6602
+ validator: (value) => !isNaN(Number(value)),
6603
+ default: 2
6604
+ },
6605
+ /** Нативный атрибут HTMLTextAreaElement */
6606
+ cols: {
6607
+ type: [Number, String],
6608
+ validator: (value) => !isNaN(Number(value)),
6609
+ default: 20
6610
+ },
6599
6611
  /** Стиль поля – с рамкой или без */
6600
6612
  outlined: {
6601
6613
  type: Boolean,
@@ -6868,6 +6880,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
6868
6880
  inputmode: resolvedInputmode.value,
6869
6881
  maxlength: __props.maxlength,
6870
6882
  placeholder: __props.placeholder,
6883
+ rows: __props.rows,
6884
+ cols: __props.cols,
6871
6885
  readonly: __props.readonly,
6872
6886
  required: __props.required,
6873
6887
  disabled: __props.disabled,
package/dist/remote.d.ts CHANGED
@@ -1393,6 +1393,8 @@ declare type UiTextboxProperties = {
1393
1393
  disabled?: boolean;
1394
1394
  invalid?: boolean;
1395
1395
  multiline?: boolean;
1396
+ rows?: number | `${number}`;
1397
+ cols?: number | `${number}`;
1396
1398
  outlined?: boolean;
1397
1399
  };
1398
1400
 
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.4",
4
+ "version": "0.9.5",
5
5
  "license": "MIT",
6
6
  "author": "RetailDriverLLC <integration@retailcrm.ru>",
7
7
  "repository": "git@github.com:retailcrm/embed-ui.git",