@maltjoy/core-vue 3.19.8 → 3.19.9

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.
@@ -1,3 +1,3 @@
1
- import { PRIMARY_FONT_SIZES, SECONDARY_FONT_SIZES, FontsFamilies } from '../../types';
2
- export declare const JOY_TEXT_FONT_PRESET: string[];
3
- export type TJoyTextFontPreset = `${FontsFamilies.PRIMARY}-${(typeof PRIMARY_FONT_SIZES)[number]}` | `${FontsFamilies.SECONDARY}-${(typeof SECONDARY_FONT_SIZES)[number]}`;
1
+ import { PRIMARY_FONT_SIZES, SECONDARY_FONT_SIZES, PRIMARY_FONT_SIZES_BOLD, FontsFamilies } from '../../types';
2
+ export declare const JOY_TEXT_FONT_PRESET: (string | 150 | 250 | 350 | 450 | 650 | 850)[];
3
+ export type TJoyTextFontPreset = `${FontsFamilies.PRIMARY}-${(typeof PRIMARY_FONT_SIZES)[number]}` | `${FontsFamilies.SECONDARY}-${(typeof SECONDARY_FONT_SIZES)[number]}` | `${FontsFamilies.PRIMARY}-${(typeof PRIMARY_FONT_SIZES_BOLD)[number]}`;
package/dist/joy-vue.js CHANGED
@@ -2621,7 +2621,8 @@ const Kl = /* @__PURE__ */ A(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"
2621
2621
  }, [
2622
2622
  U(T(Rt), {
2623
2623
  justify: "flex-end",
2624
- "no-margin": ""
2624
+ "no-margin": "",
2625
+ class: "joy-drawer--footer-wrapper"
2625
2626
  }, {
2626
2627
  default: M(() => [
2627
2628
  k(P.$slots, "drawer-cancel", {}, () => [
@@ -2668,7 +2669,7 @@ const Kl = /* @__PURE__ */ A(Gl, [["__scopeId", "data-v-a3d693c3"]]), Yl = ["id"
2668
2669
  ], 8, ["to"])) : x("", !0);
2669
2670
  }
2670
2671
  });
2671
- const ai = /* @__PURE__ */ A(ni, [["__scopeId", "data-v-e5a3f673"]]), oi = /* @__PURE__ */ L({
2672
+ const ai = /* @__PURE__ */ A(ni, [["__scopeId", "data-v-22b62515"]]), oi = /* @__PURE__ */ L({
2672
2673
  __name: "VJoyDrawerTrigger",
2673
2674
  props: {
2674
2675
  drawer: {}
@@ -5010,7 +5011,7 @@ const Jn = /* @__PURE__ */ A(Cs, [["__scopeId", "data-v-7b9e5926"]]), js = { cla
5010
5011
  var f;
5011
5012
  return ((f = c == null ? void 0 : c.type) == null ? void 0 : f.__name) === "VJoyStep";
5012
5013
  }
5013
- const l = V(() => o.value[n.step - 1]), r = V(() => !u.value && !l.value.props ? !1 : n.subStep <= 0 || n.subStep > l.value.props["sub-steps"]), u = V(() => r.value ? l.value.props["sub-steps"] : n.subStep);
5014
+ const l = V(() => n.step > 0 ? o.value[n.step - 1] : o.value[0]), r = V(() => !u.value && !l.value.props ? !1 : n.subStep <= 0 || n.subStep > l.value.props["sub-steps"]), u = V(() => r.value && l.value.props ? l.value.props["sub-steps"] : n.subStep);
5014
5015
  function d(c) {
5015
5016
  return c !== n.step - 1 ? 0 : u.value;
5016
5017
  }
@@ -5038,7 +5039,7 @@ const Jn = /* @__PURE__ */ A(Cs, [["__scopeId", "data-v-7b9e5926"]]), js = { cla
5038
5039
  ]));
5039
5040
  }
5040
5041
  });
5041
- const Vs = /* @__PURE__ */ A($s, [["__scopeId", "data-v-c80ba82b"]]), Ts = ["id", "aria-hidden", "aria-labelledby"], Is = /* @__PURE__ */ L({
5042
+ const Vs = /* @__PURE__ */ A($s, [["__scopeId", "data-v-f0cfba61"]]), Ts = ["id", "aria-hidden", "aria-labelledby"], Is = /* @__PURE__ */ L({
5042
5043
  __name: "VJoyTab",
5043
5044
  props: {
5044
5045
  /**