@uzum-tech/ui 2.0.0-beta.6 → 2.0.0-beta.8

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.js CHANGED
@@ -23790,7 +23790,11 @@
23790
23790
 
23791
23791
  const tooltipProps = {
23792
23792
  ...popoverBaseProps,
23793
- ...useTheme.props
23793
+ ...useTheme.props,
23794
+ variant: {
23795
+ type: String,
23796
+ default: "default"
23797
+ }
23794
23798
  };
23795
23799
  var _UTooltip = vue.defineComponent({
23796
23800
  name: "Tooltip",
@@ -23802,7 +23806,7 @@
23802
23806
  const themeRef = useTheme(
23803
23807
  "Tooltip",
23804
23808
  "-tooltip",
23805
- style$1D,
23809
+ props.variant === "plain" ? void 0 : style$1D,
23806
23810
  tooltipLight,
23807
23811
  props,
23808
23812
  mergedClsPrefixRef
@@ -23875,8 +23879,23 @@
23875
23879
  internalExtraClass,
23876
23880
  renderContentNode,
23877
23881
  cssVarsRef,
23878
- placement
23882
+ placement,
23883
+ variant
23879
23884
  } = this;
23885
+ if (variant === "plain") {
23886
+ return vue.h(
23887
+ UPopover$1,
23888
+ {
23889
+ ...this.$props,
23890
+ theme: mergedTheme.peers.Popover,
23891
+ themeOverrides: mergedTheme.peerOverrides.Popover,
23892
+ builtinThemeOverrides: this.popoverThemeOverrides,
23893
+ internalExtraClass: internalExtraClass.concat("tooltip"),
23894
+ ref: "popoverRef"
23895
+ },
23896
+ this.$slots
23897
+ );
23898
+ }
23880
23899
  return vue.h(
23881
23900
  UPopover$1,
23882
23901
  {
@@ -65731,7 +65750,7 @@
65731
65750
  return !!column.sorter;
65732
65751
  }
65733
65752
  function isColumnEllipsisEnabled(column) {
65734
- return column.ellipsis !== false;
65753
+ return !!column.ellipsis;
65735
65754
  }
65736
65755
  function isColumnResizable(column) {
65737
65756
  if ("children" in column && !!column.children.length) return false;
@@ -70611,17 +70630,17 @@
70611
70630
  { deep: true }
70612
70631
  );
70613
70632
  const { localeRef } = useLocale("DataTable");
70614
- const mergedTableLayoutRef = vue.computed(() => {
70615
- if (props.virtualScroll || props.flexHeight || props.maxHeight !== void 0 || hasEllipsisRef.value) {
70616
- return "fixed";
70617
- }
70618
- return props.tableLayout;
70619
- });
70620
70633
  const resizableColumnPresentRef = vue.computed(() => {
70621
70634
  return dataRelatedColsRef.value.some(
70622
70635
  (column) => isColumnResizable(column)
70623
70636
  );
70624
70637
  });
70638
+ const mergedTableLayoutRef = vue.computed(() => {
70639
+ if (props.virtualScroll || props.flexHeight || props.maxHeight !== void 0 || hasEllipsisRef.value || resizableColumnPresentRef.value) {
70640
+ return "fixed";
70641
+ }
70642
+ return props.tableLayout;
70643
+ });
70625
70644
  const resizableEnabledRef = vue.computed(() => {
70626
70645
  return resizableColumnPresentRef.value;
70627
70646
  });
@@ -112267,7 +112286,7 @@
112267
112286
  });
112268
112287
  }
112269
112288
 
112270
- var version = "2.0.0-beta.6";
112289
+ var version = "2.0.0-beta.8";
112271
112290
 
112272
112291
  function create({
112273
112292
  componentPrefix = "U",
package/dist/index.mjs CHANGED
@@ -23786,7 +23786,11 @@ const TooltipArrowHorizontal = defineComponent({
23786
23786
 
23787
23787
  const tooltipProps = {
23788
23788
  ...popoverBaseProps,
23789
- ...useTheme.props
23789
+ ...useTheme.props,
23790
+ variant: {
23791
+ type: String,
23792
+ default: "default"
23793
+ }
23790
23794
  };
23791
23795
  var _UTooltip = defineComponent({
23792
23796
  name: "Tooltip",
@@ -23798,7 +23802,7 @@ var _UTooltip = defineComponent({
23798
23802
  const themeRef = useTheme(
23799
23803
  "Tooltip",
23800
23804
  "-tooltip",
23801
- style$1D,
23805
+ props.variant === "plain" ? void 0 : style$1D,
23802
23806
  tooltipLight,
23803
23807
  props,
23804
23808
  mergedClsPrefixRef
@@ -23871,8 +23875,23 @@ var _UTooltip = defineComponent({
23871
23875
  internalExtraClass,
23872
23876
  renderContentNode,
23873
23877
  cssVarsRef,
23874
- placement
23878
+ placement,
23879
+ variant
23875
23880
  } = this;
23881
+ if (variant === "plain") {
23882
+ return h(
23883
+ UPopover$1,
23884
+ {
23885
+ ...this.$props,
23886
+ theme: mergedTheme.peers.Popover,
23887
+ themeOverrides: mergedTheme.peerOverrides.Popover,
23888
+ builtinThemeOverrides: this.popoverThemeOverrides,
23889
+ internalExtraClass: internalExtraClass.concat("tooltip"),
23890
+ ref: "popoverRef"
23891
+ },
23892
+ this.$slots
23893
+ );
23894
+ }
23876
23895
  return h(
23877
23896
  UPopover$1,
23878
23897
  {
@@ -65727,7 +65746,7 @@ function isColumnSortable(column) {
65727
65746
  return !!column.sorter;
65728
65747
  }
65729
65748
  function isColumnEllipsisEnabled(column) {
65730
- return column.ellipsis !== false;
65749
+ return !!column.ellipsis;
65731
65750
  }
65732
65751
  function isColumnResizable(column) {
65733
65752
  if ("children" in column && !!column.children.length) return false;
@@ -70607,17 +70626,17 @@ var _UDataTable = defineComponent({
70607
70626
  { deep: true }
70608
70627
  );
70609
70628
  const { localeRef } = useLocale("DataTable");
70610
- const mergedTableLayoutRef = computed(() => {
70611
- if (props.virtualScroll || props.flexHeight || props.maxHeight !== void 0 || hasEllipsisRef.value) {
70612
- return "fixed";
70613
- }
70614
- return props.tableLayout;
70615
- });
70616
70629
  const resizableColumnPresentRef = computed(() => {
70617
70630
  return dataRelatedColsRef.value.some(
70618
70631
  (column) => isColumnResizable(column)
70619
70632
  );
70620
70633
  });
70634
+ const mergedTableLayoutRef = computed(() => {
70635
+ if (props.virtualScroll || props.flexHeight || props.maxHeight !== void 0 || hasEllipsisRef.value || resizableColumnPresentRef.value) {
70636
+ return "fixed";
70637
+ }
70638
+ return props.tableLayout;
70639
+ });
70621
70640
  const resizableEnabledRef = computed(() => {
70622
70641
  return resizableColumnPresentRef.value;
70623
70642
  });
@@ -112263,7 +112282,7 @@ function useThemeVars() {
112263
112282
  });
112264
112283
  }
112265
112284
 
112266
- var version = "2.0.0-beta.6";
112285
+ var version = "2.0.0-beta.8";
112267
112286
 
112268
112287
  function create({
112269
112288
  componentPrefix = "U",