@blocklet/pages-kit-inner-components 0.6.24 → 0.6.25

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.
@@ -10,8 +10,8 @@ import { produce as De } from "immer";
10
10
  import Z from "lodash/difference";
11
11
  import { useState as D, useMemo as C, useCallback as O, useImperativeHandle as Oe, useEffect as E, useRef as Ae } from "react";
12
12
  import { useAsync as je } from "react-use";
13
- import { L as ve } from "./home-8eDa8KD4.js";
14
- import { p as Ce, g as Re } from "./index-MrU6URFS.js";
13
+ import { L as ve } from "./home-BjesPkW0.js";
14
+ import { p as Ce, g as Re } from "./index-CAKG1D4b.js";
15
15
  function ze(s) {
16
16
  const [u, g] = D(!1);
17
17
  return /* @__PURE__ */ t(
@@ -733,7 +733,7 @@ class O extends N.Doc {
733
733
  };
734
734
  I(g, C);
735
735
  }
736
- for (const u of w.pageIds) {
736
+ for (const u of w.pageIds || []) {
737
737
  const i = w.pages[u];
738
738
  if (!i || e === "production" && !i.isPublic)
739
739
  continue;
package/lib/es/home.js CHANGED
@@ -21,8 +21,8 @@ import "react-helmet";
21
21
  import "react-router-dom";
22
22
  import "react-use";
23
23
  import "ufo";
24
- import "./chunks/index-MrU6URFS.js";
25
- import { a as R, P as S, d as W, c as j, b as k, T as q, H as v } from "./chunks/home-8eDa8KD4.js";
24
+ import "./chunks/index-CAKG1D4b.js";
25
+ import { a as R, P as S, d as W, c as j, b as k, T as q, H as v } from "./chunks/home-BjesPkW0.js";
26
26
  import "./chunks/session-C72Dq8zg.js";
27
27
  export {
28
28
  R as HomeView,
package/lib/es/locales.js CHANGED
@@ -224,8 +224,8 @@ const t = e({
224
224
  dark: "Dark",
225
225
  reverse: "Reverse",
226
226
  background: "Background",
227
- ignoreMaxWidth: "Ignore Page Global Style Limit",
228
- ignoreMaxWidthHelper: "Ignore the page global style limit, such as maxWidth, horizontalPadding, etc.",
227
+ backgroundFullWidth: "Background Full Width",
228
+ backgroundFullWidthHelper: "The background will cover the entire page",
229
229
  badge: "Badge",
230
230
  buttons: "Buttons",
231
231
  button: "Button",
@@ -296,12 +296,15 @@ const t = e({
296
296
  paddingX: "Horizontal Padding",
297
297
  maxWidth: "Max Width",
298
298
  maxWidthCustomTip: "For example: 1200px, 80%, 50vw",
299
+ paddingCustomTip: "For example: 10px, 20px, 30px",
300
+ layoutBlockMaxWidthHelper: "Set the maximum width of the layout, this will make the layout not follow the maximum width setting in the page global style",
299
301
  customValue: "Custom Value",
300
302
  stickyHeader: "Sticky Header",
301
303
  translucent: "Translucent Mode",
302
304
  hideNavMenus: "Hide Navigation Menus",
303
305
  hideFooter: "Hide Footer",
304
306
  size: "Size",
307
+ height: "Height",
305
308
  autoWidth: "Auto Width",
306
309
  iframeHeight: "Content Height",
307
310
  translucentTextColor: "Translucent Text Color",
@@ -779,8 +782,8 @@ const t = e({
779
782
  dark: "暗黑",
780
783
  reverse: "反转",
781
784
  background: "背景",
782
- ignoreMaxWidth: "突破页面公共样式限制",
783
- ignoreMaxWidthHelper: "突破页面公共样式限制,如 最大宽度、水平内边距等",
785
+ backgroundFullWidth: "背景全宽",
786
+ backgroundFullWidthHelper: "背景将覆盖整个页面",
784
787
  badge: "标签",
785
788
  buttons: "按钮",
786
789
  button: "按钮",
@@ -851,12 +854,15 @@ const t = e({
851
854
  paddingX: "左右内边距",
852
855
  maxWidth: "最大宽度",
853
856
  maxWidthCustomTip: "例如: 1200px, 80%, 50vw",
857
+ paddingCustomTip: "例如: 10px, 20px, 30px",
858
+ layoutBlockMaxWidthHelper: "设置布局的最大宽度,这将会布局将不会遵循页面公共样式中的最大宽度设置",
854
859
  customValue: "自定义值",
855
860
  stickyHeader: "固定导航栏",
856
861
  translucent: "沉浸式",
857
862
  hideNavMenus: "隐藏导航菜单",
858
863
  hideFooter: "隐藏页脚",
859
864
  size: "大小",
865
+ height: "高度",
860
866
  autoWidth: "宽度自适应",
861
867
  iframeHeight: "定义内容高度",
862
868
  translucentTextColor: "沉浸式文本颜色",
@@ -1,5 +1,5 @@
1
1
  import { i as A, a as M, l as b } from "./chunks/components-BWQM8y6L.js";
2
- import { P as w, C as J, R as X, S as x, t as W, g as G } from "./chunks/site-state-CqlS8v17.js";
2
+ import { P as w, C as J, R as X, S as x, t as W, g as G } from "./chunks/site-state-Bx2ZDYuu.js";
3
3
  import { Router as K } from "express";
4
4
  import a from "fs";
5
5
  import m from "joi";
@@ -1,5 +1,5 @@
1
1
  import "./chunks/components-BWQM8y6L.js";
2
- import { c as O, a as b, b as h, S as y, e as L, f as U, h as q, d as v, g as z, i as C, m as F, t as G, j as J, u as K } from "./chunks/site-state-CqlS8v17.js";
2
+ import { c as O, a as b, b as h, S as y, e as L, f as U, h as q, d as v, g as z, i as C, m as F, t as G, j as J, u as K } from "./chunks/site-state-Bx2ZDYuu.js";
3
3
  import { nextId as Q } from "@blocklet/pages-kit/utils/common";
4
4
  import "@blocklet/pages-kit/utils/page-model";
5
5
  import "@blocklet/pages-kit/utils/property";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/pages-kit-inner-components",
3
- "version": "0.6.24",
3
+ "version": "0.6.25",
4
4
  "description": "Pages Kit inner components library",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -203,8 +203,8 @@
203
203
  "yaml": "^2.5.0",
204
204
  "yjs": "^13.6.18",
205
205
  "zustand": "^4.5.5",
206
- "@blocklet/pages-kit": "^0.6.24",
207
- "@blocklet/pages-kit-block-studio": "^0.6.24"
206
+ "@blocklet/pages-kit": "^0.6.25",
207
+ "@blocklet/pages-kit-block-studio": "^0.6.25"
208
208
  },
209
209
  "devDependencies": {
210
210
  "@trivago/prettier-plugin-sort-imports": "^5.2.1",