@v-miniapp/ui-react 1.0.39 → 1.0.41

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
@@ -54,6 +54,8 @@ const E = (e) => `vsf-${e}`, oo = (e) => /* @__PURE__ */ ve.createElement("svg",
54
54
  "bolt-slash-outline": "ue90e",
55
55
  "book-open-fill": "ue980",
56
56
  "book-open-outline": "ue90f",
57
+ "bookmark-fill": "ue9f3",
58
+ "bookmark-outline": "ue9f1",
57
59
  "bug-slash-fill": "ue981",
58
60
  "bug-slash-outline": "ue910",
59
61
  "calendar-fill": "ue982",
@@ -137,11 +139,13 @@ const E = (e) => `vsf-${e}`, oo = (e) => /* @__PURE__ */ ve.createElement("svg",
137
139
  "gift-fill": "ue9a4",
138
140
  "gift-outline": "ue933",
139
141
  "graduation-cap-fill": "ue9ef",
140
- "graduation-cap-outline": "ue9ed",
142
+ "graduation-cap-outline": "ue9ee",
141
143
  "grid-fill": "ue9a5",
142
144
  "grid-outline": "ue934",
143
145
  "grid-plus-fill": "ue9a6",
144
146
  "grid-plus-outline": "ue935",
147
+ "hashtag-fill": "ue9f2",
148
+ "hashtag-outline": "ue9f0",
145
149
  "headset-fill": "ue9a7",
146
150
  "headset-outline": "ue936",
147
151
  "heart-fill": "ue9a8",
@@ -178,8 +182,8 @@ const E = (e) => `vsf-${e}`, oo = (e) => /* @__PURE__ */ ve.createElement("svg",
178
182
  "media-previous-outline": "ue945",
179
183
  "media-stop-fill": "ue9eb",
180
184
  "media-stop-outline": "ue9e6",
181
- "menu-fill": "ue9ee",
182
- "menu-outline": "ue9ec",
185
+ "menu-fill": "ue9ec",
186
+ "menu-outline": "ue9ed",
183
187
  "message-content-fill": "ue9ea",
184
188
  "message-content-outline": "ue9e4",
185
189
  "microphone-fill": "ue9b7",
@@ -3555,7 +3559,7 @@ const fr = () => {
3555
3559
  ), l = () => {
3556
3560
  let o = n.maxStack;
3557
3561
  return [...e].reverse().map((s, c) => {
3558
- const u = s.location.key, d = t[u]?.keepAlive, g = t[u]?.freeze ?? n.freeze, f = t[u]?.freezeDelay ?? n.freezeDelay, b = typeof d > "u" ? a.keepAlive : d;
3562
+ const u = s.location.key, d = t[u]?.keepAlive, g = t[u]?.freeze ?? n.freeze, f = t[u]?.freezeDelay ?? n.freezeDelay, b = typeof d > "u" ? n.enable : d;
3559
3563
  if (!(!c || o > 0 && b)) return null;
3560
3564
  o--;
3561
3565
  const h = Yr(
@@ -3683,25 +3687,28 @@ const fr = () => {
3683
3687
  ]
3684
3688
  }
3685
3689
  );
3686
- }, kf = ({
3687
- children: e,
3688
- locationKey: r,
3689
- ...t
3690
- }) => /* @__PURE__ */ w(ue, { children: [
3691
- /* @__PURE__ */ i(
3690
+ }, kf = ({ children: e, locationKey: r, hidden: t, ...a }) => /* @__PURE__ */ w(ue, { children: [
3691
+ !t && /* @__PURE__ */ i(
3692
3692
  "div",
3693
3693
  {
3694
3694
  className: y(`${be}-page__navbar`, {
3695
- [`${be}-page__navbar--sticky`]: t.transparent && t.transparent !== "none"
3695
+ [`${be}-page__navbar--sticky`]: a.transparent && a.transparent !== "none"
3696
3696
  }),
3697
- children: /* @__PURE__ */ qu(Sf, { ...t, locationKey: r, key: r })
3697
+ children: /* @__PURE__ */ qu(
3698
+ Sf,
3699
+ {
3700
+ ...a,
3701
+ locationKey: r,
3702
+ key: r
3703
+ }
3704
+ )
3698
3705
  }
3699
3706
  ),
3700
3707
  /* @__PURE__ */ i(
3701
3708
  "div",
3702
3709
  {
3703
3710
  className: y(`${be}-page__children`, {
3704
- [`${be}-page__children--full`]: t.transparent && t.transparent !== "none"
3711
+ [`${be}-page__children--full`]: t || a.transparent && a.transparent !== "none"
3705
3712
  }),
3706
3713
  children: e
3707
3714
  }
@@ -3718,6 +3725,7 @@ const fr = () => {
3718
3725
  {
3719
3726
  onBackClick: () => a.length > 1 ? r(-1) : vsf.exitMiniApp(),
3720
3727
  ...n,
3728
+ hidden: l,
3721
3729
  locationKey: t.key,
3722
3730
  children: e
3723
3731
  }