@namba_one/ui-kit-2 1.0.81 → 1.0.83

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/index.es.js CHANGED
@@ -9504,11 +9504,7 @@ function K0({
9504
9504
  fixedElementRect: r
9505
9505
  }) : {
9506
9506
  coordinates: {
9507
- left: Math.abs(
9508
- t.left - Math.abs(
9509
- r.width - t.width
9510
- ) / 2
9511
- ),
9507
+ left: t.left + Math.abs(r.width - t.width) / 2,
9512
9508
  right: void 0
9513
9509
  },
9514
9510
  align: "center"
@@ -20226,7 +20222,9 @@ function U2(a) {
20226
20222
  const W2 = /* @__PURE__ */ he({
20227
20223
  __name: "Tooltip",
20228
20224
  props: {
20229
- text: {}
20225
+ text: {},
20226
+ verticalAlign: { default: "top" },
20227
+ verticalOffset: { default: 4 }
20230
20228
  },
20231
20229
  setup(a) {
20232
20230
  const { isShowDropdown: e, setIsShowDropdown: t, triggerElementRef: n } = ds();
@@ -20247,9 +20245,9 @@ const W2 = /* @__PURE__ */ he({
20247
20245
  Q(f(cs), {
20248
20246
  isShowDropdown: f(e),
20249
20247
  "onUpdate:isShowDropdown": o[0] || (o[0] = (l) => gn(e) ? e.value = l : null),
20250
- "vertical-offset": "12",
20248
+ "vertical-offset": i.verticalOffset,
20251
20249
  "horizontal-align": "center",
20252
- "vertical-align": "top"
20250
+ "vertical-align": i.verticalAlign
20253
20251
  }, {
20254
20252
  default: U(({ align: l }) => [
20255
20253
  X("div", {
@@ -20279,14 +20277,13 @@ const W2 = /* @__PURE__ */ he({
20279
20277
  }, o[1] || (o[1] = [
20280
20278
  X("path", {
20281
20279
  d: "M4.58579 2.58579C5.36684 3.36684 6.63317 3.36683 7.41421 2.58579L8.82843 1.17157C9.57857 0.421426 10.596 0 11.6569 0H12H0H0.343146C1.40401 0 2.42143 0.421427 3.17157 1.17157L4.58579 2.58579Z",
20282
- fill: "#0C0C0D",
20283
20280
  "fill-opacity": "0.9"
20284
20281
  }, null, -1)
20285
20282
  ]), 2))
20286
20283
  ], 2)
20287
20284
  ]),
20288
20285
  _: 1
20289
- }, 8, ["isShowDropdown"])
20286
+ }, 8, ["isShowDropdown", "vertical-offset", "vertical-align"])
20290
20287
  ], 34));
20291
20288
  }
20292
20289
  }), j2 = "Tooltip__root_32cc0", G2 = "Tooltip__balloon_3d49f", q2 = "Tooltip__wrapper_81d05", X2 = "Tooltip__shape_d4585", K2 = "Tooltip__position_top_54246", Q2 = "Tooltip__position_bottom_7e186", Z2 = {
@@ -20312,7 +20309,9 @@ const W2 = /* @__PURE__ */ he({
20312
20309
  }, [
20313
20310
  Q(f(e$), {
20314
20311
  class: y(t.$style.tooltip),
20315
- text: "Нажмите, чтобы скопировать"
20312
+ text: "Нажмите, чтобы скопировать",
20313
+ "vertical-align": "bottom",
20314
+ "vertical-offset": "12"
20316
20315
  }, {
20317
20316
  default: U(() => [
20318
20317
  X("div", {