@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.
@@ -40,6 +40,8 @@ export declare const iconMapping: {
40
40
  'bolt-slash-outline': string;
41
41
  'book-open-fill': string;
42
42
  'book-open-outline': string;
43
+ 'bookmark-fill': string;
44
+ 'bookmark-outline': string;
43
45
  'bug-slash-fill': string;
44
46
  'bug-slash-outline': string;
45
47
  'calendar-fill': string;
@@ -128,6 +130,8 @@ export declare const iconMapping: {
128
130
  'grid-outline': string;
129
131
  'grid-plus-fill': string;
130
132
  'grid-plus-outline': string;
133
+ 'hashtag-fill': string;
134
+ 'hashtag-outline': string;
131
135
  'headset-fill': string;
132
136
  'headset-outline': string;
133
137
  'heart-fill': string;
@@ -23,4 +23,6 @@ export type INavigationBarProps = {
23
23
  locationKey?: string;
24
24
  };
25
25
  export declare const NavigationBar: FC<INavigationBarProps>;
26
- export declare const NavigationBarPage: FC<PropsWithChildren<INavigationBarProps>>;
26
+ export declare const NavigationBarPage: FC<PropsWithChildren<INavigationBarProps> & {
27
+ hidden?: boolean;
28
+ }>;
@@ -82,6 +82,8 @@ const N = /* @__PURE__ */ pt(cy), H = (e) => `vsf-${e}`, Wc = (e) => /* @__PURE_
82
82
  "bolt-slash-outline": "ue90e",
83
83
  "book-open-fill": "ue980",
84
84
  "book-open-outline": "ue90f",
85
+ "bookmark-fill": "ue9f3",
86
+ "bookmark-outline": "ue9f1",
85
87
  "bug-slash-fill": "ue981",
86
88
  "bug-slash-outline": "ue910",
87
89
  "calendar-fill": "ue982",
@@ -165,11 +167,13 @@ const N = /* @__PURE__ */ pt(cy), H = (e) => `vsf-${e}`, Wc = (e) => /* @__PURE_
165
167
  "gift-fill": "ue9a4",
166
168
  "gift-outline": "ue933",
167
169
  "graduation-cap-fill": "ue9ef",
168
- "graduation-cap-outline": "ue9ed",
170
+ "graduation-cap-outline": "ue9ee",
169
171
  "grid-fill": "ue9a5",
170
172
  "grid-outline": "ue934",
171
173
  "grid-plus-fill": "ue9a6",
172
174
  "grid-plus-outline": "ue935",
175
+ "hashtag-fill": "ue9f2",
176
+ "hashtag-outline": "ue9f0",
173
177
  "headset-fill": "ue9a7",
174
178
  "headset-outline": "ue936",
175
179
  "heart-fill": "ue9a8",
@@ -206,8 +210,8 @@ const N = /* @__PURE__ */ pt(cy), H = (e) => `vsf-${e}`, Wc = (e) => /* @__PURE_
206
210
  "media-previous-outline": "ue945",
207
211
  "media-stop-fill": "ue9eb",
208
212
  "media-stop-outline": "ue9e6",
209
- "menu-fill": "ue9ee",
210
- "menu-outline": "ue9ec",
213
+ "menu-fill": "ue9ec",
214
+ "menu-outline": "ue9ed",
211
215
  "message-content-fill": "ue9ea",
212
216
  "message-content-outline": "ue9e4",
213
217
  "microphone-fill": "ue9b7",
@@ -10229,7 +10233,7 @@ const wn = () => {
10229
10233
  ), o = () => {
10230
10234
  let a = i.maxStack;
10231
10235
  return [...e].reverse().map((s, l) => {
10232
- const c = s.location.key, u = n[c]?.keepAlive, f = n[c]?.freeze ?? i.freeze, d = n[c]?.freezeDelay ?? i.freezeDelay, h = typeof u > "u" ? r.keepAlive : u;
10236
+ const c = s.location.key, u = n[c]?.keepAlive, f = n[c]?.freeze ?? i.freeze, d = n[c]?.freezeDelay ?? i.freezeDelay, h = typeof u > "u" ? i.enable : u;
10233
10237
  if (!(!l || a > 0 && h)) return null;
10234
10238
  a--;
10235
10239
  const v = Kr(
@@ -10357,25 +10361,28 @@ const wn = () => {
10357
10361
  ]
10358
10362
  }
10359
10363
  );
10360
- }, Hx = ({
10361
- children: e,
10362
- locationKey: t,
10363
- ...n
10364
- }) => /* @__PURE__ */ M(Oe, { children: [
10365
- /* @__PURE__ */ p(
10364
+ }, Hx = ({ children: e, locationKey: t, hidden: n, ...r }) => /* @__PURE__ */ M(Oe, { children: [
10365
+ !n && /* @__PURE__ */ p(
10366
10366
  "div",
10367
10367
  {
10368
10368
  className: N(`${ze}-page__navbar`, {
10369
- [`${ze}-page__navbar--sticky`]: n.transparent && n.transparent !== "none"
10369
+ [`${ze}-page__navbar--sticky`]: r.transparent && r.transparent !== "none"
10370
10370
  }),
10371
- children: /* @__PURE__ */ rg(zx, { ...n, locationKey: t, key: t })
10371
+ children: /* @__PURE__ */ rg(
10372
+ zx,
10373
+ {
10374
+ ...r,
10375
+ locationKey: t,
10376
+ key: t
10377
+ }
10378
+ )
10372
10379
  }
10373
10380
  ),
10374
10381
  /* @__PURE__ */ p(
10375
10382
  "div",
10376
10383
  {
10377
10384
  className: N(`${ze}-page__children`, {
10378
- [`${ze}-page__children--full`]: n.transparent && n.transparent !== "none"
10385
+ [`${ze}-page__children--full`]: n || r.transparent && r.transparent !== "none"
10379
10386
  }),
10380
10387
  children: e
10381
10388
  }
@@ -10392,6 +10399,7 @@ const wn = () => {
10392
10399
  {
10393
10400
  onBackClick: () => r.length > 1 ? t(-1) : vsf.exitMiniApp(),
10394
10401
  ...i,
10402
+ hidden: o,
10395
10403
  locationKey: n.key,
10396
10404
  children: e
10397
10405
  }