@salesql/sql_components_vue3 4.3.0 → 4.4.0

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
@@ -9796,7 +9796,9 @@ const nn = {
9796
9796
  align: { type: String, default: v3.END },
9797
9797
  disabled: { type: Boolean, default: !1 },
9798
9798
  // The panel in <body> (or the app's TeleportTarget): a scroll container no longer clips it.
9799
- teleported: { type: Boolean, default: !1 }
9799
+ teleported: { type: Boolean, default: !1 },
9800
+ // Fills its box and truncates the label; the consumer sets the root's flex.
9801
+ block: { type: Boolean, default: !1 }
9800
9802
  },
9801
9803
  emits: [v4, S2, W1, $1],
9802
9804
  setup(e, { emit: o }) {
@@ -9841,7 +9843,7 @@ const nn = {
9841
9843
  class: O(["ds-add-to-sequence", [
9842
9844
  `ds-add-to-sequence--${e.variant}`,
9843
9845
  `ds-add-to-sequence--${e.size}`,
9844
- { "is-open": i.value, "is-disabled": e.disabled }
9846
+ { "is-open": i.value, "is-disabled": e.disabled, "ds-add-to-sequence--block": e.block }
9845
9847
  ]])
9846
9848
  }, [
9847
9849
  R(a(o2), {
@@ -9850,13 +9852,15 @@ const nn = {
9850
9852
  width: "288px",
9851
9853
  "trigger-on-click": !1,
9852
9854
  teleported: e.teleported,
9855
+ block: e.block,
9853
9856
  "onUpdate:open": L
9854
9857
  }, {
9855
9858
  trigger: x(() => [
9856
9859
  R(a(h1), {
9857
9860
  content: e.tooltip,
9858
9861
  disabled: !e.tooltip || i.value,
9859
- placement: "bottom"
9862
+ placement: "bottom",
9863
+ block: e.block
9860
9864
  }, {
9861
9865
  default: x(() => [
9862
9866
  R(a(f1), {
@@ -9864,6 +9868,8 @@ const nn = {
9864
9868
  variant: M.value,
9865
9869
  size: g.value,
9866
9870
  pill: e.pill,
9871
+ block: e.block,
9872
+ "aria-label": e.block ? e.label : "",
9867
9873
  disabled: e.disabled,
9868
9874
  "aria-haspopup": "dialog",
9869
9875
  "aria-expanded": i.value,
@@ -9879,10 +9885,10 @@ const nn = {
9879
9885
  r("span", Xn, f(e.label), 1)
9880
9886
  ]),
9881
9887
  _: 1
9882
- }, 8, ["variant", "size", "pill", "disabled", "aria-expanded"])
9888
+ }, 8, ["variant", "size", "pill", "block", "aria-label", "disabled", "aria-expanded"])
9883
9889
  ]),
9884
9890
  _: 1
9885
- }, 8, ["content", "disabled"])
9891
+ }, 8, ["content", "disabled", "block"])
9886
9892
  ]),
9887
9893
  default: x(() => [
9888
9894
  r("div", Jn, [
@@ -9994,10 +10000,10 @@ const nn = {
9994
10000
  ])
9995
10001
  ]),
9996
10002
  _: 1
9997
- }, 8, ["open", "placement", "teleported"])
10003
+ }, 8, ["open", "placement", "teleported", "block"])
9998
10004
  ], 2));
9999
10005
  }
10000
- }), cd = /* @__PURE__ */ z(uo, [["__scopeId", "data-v-c5adda86"]]), vo = 440, mo = ["aria-label"], fo = {
10006
+ }), cd = /* @__PURE__ */ z(uo, [["__scopeId", "data-v-98e1135d"]]), vo = 440, mo = ["aria-label"], fo = {
10001
10007
  key: 0,
10002
10008
  class: "ds-panel-frame__header"
10003
10009
  }, qo = {