maooo-skyline-ui-system 0.1.29 → 0.1.30

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.
@@ -348,7 +348,8 @@
348
348
  "Show and hide control",
349
349
  "Close request events",
350
350
  "Z-index control",
351
- "Background scroll lock"
351
+ "Background scroll lock",
352
+ "Optional maxHeight override, preserving positional defaults when empty"
352
353
  ],
353
354
  "composes": [],
354
355
  "preferredFor": [
@@ -380,7 +381,8 @@
380
381
  "Drag down close request",
381
382
  "Z-index control",
382
383
  "Centered single-line title with a close button (design 506:2954), via titleAlign=center + closable",
383
- "Centered double-line H166 header with subtitle named slot (design665:3731), preserving default single-line behavior"
384
+ "Centered double-line H166 header with subtitle named slot (design665:3731), preserving default single-line behavior",
385
+ "Configurable panel height with default82vh and viewport100vh cap"
384
386
  ],
385
387
  "composes": [
386
388
  "mo-popup",
@@ -14,6 +14,12 @@
14
14
  "default": "",
15
15
  "description": "顶部标题"
16
16
  },
17
+ {
18
+ "name": "height",
19
+ "type": "string",
20
+ "default": "82vh",
21
+ "description": "面板高度,支持正数rpx/px/vh等CSS长度;默认保持82vh,最大100vh。固定原稿高度由调用方传入,内容在剩余空间滚动。空字符串回退82vh。"
22
+ },
17
23
  {
18
24
  "name": "headerVariant",
19
25
  "type": "string",
@@ -38,6 +38,12 @@
38
38
  "type": "boolean",
39
39
  "default": true,
40
40
  "description": "弹层显示时是否锁定页面滚动"
41
+ },
42
+ {
43
+ "name": "maxHeight",
44
+ "type": "string",
45
+ "default": "",
46
+ "description": "可选面板最大高度CSS长度;空值保持各方向原默认值,供组合组件按视口限定高度。"
41
47
  }
42
48
  ],
43
49
  "events": [
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "package": {
3
3
  "name": "maooo-skyline-ui-system",
4
- "version": "0.1.29"
4
+ "version": "0.1.30"
5
5
  },
6
- "snapshotVersion": "0.1.29",
7
- "generatedAt": "2026-11-05T06:46:26.497Z",
6
+ "snapshotVersion": "0.1.30",
7
+ "generatedAt": "2026-11-05T07:54:45.484Z",
8
8
  "description": "Read-only design spec snapshot for AI page generation in business projects. Source of truth is design-system/ and packages/ui/.",
9
9
  "readOrder": [
10
10
  "DESIGN.md",
@@ -113,14 +113,14 @@
113
113
  ],
114
114
  "sourceHashes": {
115
115
  "design-system/tokens/source/border-width.json": "sha256:578d218963dc25bd52364a620f74992c357d7dabd7b96a3db73578bf08024275",
116
- "design-system/tokens/source/color.json": "sha256:e662f43edb6c6619a3d74cc06b47c00edc97020b498de3ec0424dee68baa2947",
116
+ "design-system/tokens/source/color.json": "sha256:1d45ecc19db95af7333a25941f1d7b85833647576a99dc13cc66330656f1fe95",
117
117
  "design-system/tokens/source/radius.json": "sha256:bfd50ac1fdf091ad94a00f201712cce42e889797270fb0be87ee6cb075c2ff5c",
118
118
  "design-system/tokens/source/shadow.json": "sha256:025bdabeb6b3e04c4174792506832f686f0662b12740dd3b5612846a4e063362",
119
119
  "design-system/tokens/source/spacing.json": "sha256:7ee3492fe060061716d8d5a4391d22963c59b813e2fe5733768076635ef7ff19",
120
- "design-system/tokens/source/typography.json": "sha256:9c0a378cee112543faed4cc2a88b41da117bab9317372a37b604203521bdc2a9",
120
+ "design-system/tokens/source/typography.json": "sha256:151fe8a90e608d9126023457cfdd568369889b46d60f934965eccb9e39853a7d",
121
121
  "design-system/references/figma-user-client-visual-evidence.md": "sha256:2efa1c69fc6097d7eda863fe41b67ada604af2de5b7abfad6133a99f4dff134a",
122
- "design-system/references/figma-foundations-2026-11-05.md": "sha256:b38944968bd0d31b58b5d3dd5d9e7890423db342c1a3c71862ee53536ff69bff",
122
+ "design-system/references/figma-foundations-2026-11-05.md": "sha256:21044fc1e79fe4af025d0281ae98fcc29fcab188cb6ada4ae680d1abfb72f070",
123
123
  "design-system/DESIGN.md": "sha256:3b903c674e54fdd762a42fa1e2a4b681aec42ad12cff3f1256dacdf113fde3af",
124
- "packages/ui/component-registry.json": "sha256:fe9faaca089af104353294aa367b018499c08ece3b73010160f683051315b924"
124
+ "packages/ui/component-registry.json": "sha256:bad3117e78fc8ee59f6bf6b69a38114f393f0a62a9f0c46c870a59318717ca2d"
125
125
  }
126
126
  }
@@ -190,3 +190,14 @@ spacing.scale.120=120rpx: 985:214, 985:245. Direct absolute navigation y-17 heig
190
190
  popup-page adds headerVariant=center-double and a subtitle named slot. Original header665:3731 has166 height, title top35 and AUTO36 text, title-to-subtitle gap12. Default120 header and controlled events remain unchanged. Registry, schema, README, formal demo and compatibility tests are updated. Real Skyline3.16.1 native clicks verified double title, five-star subtitle, default body slot and X close, then the default header. Evidence: docs/runtime/2026-11-05/popup-double-evidence.json.
191
191
 
192
192
  Spacing.scale42=42rpx: order detail827:1723 avatar absolute y810/h60 ends870;827:1683 first service group and827:1698 title start912; actual gap42, independent of list1374 padding24+18.
193
+
194
+
195
+ ## Consolidated0.1.30 runtime corrections
196
+
197
+ Direct665:3596 frame750×1624 startsy10358. Panelbackground665:3599 y10599/h1383 gives actual top241; original1383rpx cannot be represented by existing82vh. popup-page gains public String height default82vh, maximum100vh, while preserving existing measured-height Worklet and controlled protocol. Caller owns original page geometry.
198
+
199
+ Direct1704:2003 60×70 date background solid#FFF5FA paint/node opacity1 gives color.background.calendarDate. Existing same-color gender.femaleBg remains specific to gender and is not reused. Direct671:4939 weight helper text PingFang SC Regular24/AUTO solid#3D3D3D paint/node opacity1 gives color.text.helper; existing input role is not borrowed.
200
+
201
+ Direct2260:2631 price MiSans Medium40/AUTO and665:3742 score MiSans Medium22/AUTO establish typography.family.numberMedium=MiSansMedium, sans-serif. Direct1575:5081 count MiSans Demibold48/AUTO establishes typography.family.numberDemibold=MiSansDemibold, sans-serif. These API family aliases map to original unmodified official Medium/Demibold files at loadFontFace, not modified internal metadata or substituted Semibold. Existing number family remains unchanged. Original archive/CRC/SHA evidence is maooo-mini-program/artifacts/182-original-number-faces.json. Fonts are remote, style-lazy and excluded from packages.
202
+
203
+ Runtime390 confirmed an additional outer constraint: mo-popup bottom panel max-height82vh clipped inner719.2px panel at top152/bottom871.2. Added optional base popup maxHeight String default empty (preserves direction-specific defaults); popup-page passes100vh. Final inner rect top124.9,height719.2,bottom844.1 on844 window, matching source within rounding. Original Worklet retained. Evidence explicitly distinguishes SDK demo opening from native-click acceptance; CUA canvas clicks and320/430 caps remain pending.
@@ -48,7 +48,8 @@
48
48
  "amount": "#FF3E7A",
49
49
  "active": "#FF3E7A",
50
50
  "black": "#000000",
51
- "rankingMuted": "#DDDDDD"
51
+ "rankingMuted": "#DDDDDD",
52
+ "helper": "#3D3D3D"
52
53
  },
53
54
  "background": {
54
55
  "page": "#F8F8F8",
@@ -68,7 +69,8 @@
68
69
  "serviceStepActive": "rgba(254, 203, 231, 0.2)",
69
70
  "brandPrimary70": "rgba(254, 203, 231, 0.7)",
70
71
  "brandPrimary40": "rgba(254, 203, 231, 0.4)",
71
- "notificationCard": "rgba(255, 255, 255, 0.98)"
72
+ "notificationCard": "rgba(255, 255, 255, 0.98)",
73
+ "calendarDate": "#FFF5FA"
72
74
  },
73
75
  "accent": {
74
76
  "amount": "#FF3E7A"
@@ -264,7 +266,9 @@
264
266
  "semibold": 600
265
267
  },
266
268
  "family": {
267
- "number": "MiSans, sans-serif"
269
+ "number": "MiSans, sans-serif",
270
+ "numberMedium": "MiSansMedium, sans-serif",
271
+ "numberDemibold": "MiSansDemibold, sans-serif"
268
272
  },
269
273
  "letterSpacing": {
270
274
  "numberTight": "-0.05em"
@@ -1,4 +1,4 @@
1
1
  module.exports = {
2
- version: "0.1.29",
2
+ version: "0.1.30",
3
3
  components: ["button","calendar","card","countdown","form","form-group","form-input","form-textarea","icon","image-cropper","input","media-upload","navbar","notify","oss-upload","photo-slot","popup","popup-page","progress","rate","stepper","switch","tab","tabs","textarea","toast","upload"]
4
4
  };
@@ -4,6 +4,10 @@ Component({
4
4
  type: Boolean,
5
5
  value: false
6
6
  },
7
+ maxHeight: {
8
+ type: String,
9
+ value: ""
10
+ },
7
11
  position: {
8
12
  type: String,
9
13
  value: "bottom"
@@ -1,13 +1,13 @@
1
1
  <block wx:if="{{show}}">
2
2
  <view wx:if="{{lockScroll}}" class="mo-popup" style="z-index: {{zIndex}};" catchtouchmove="handleTouchMove">
3
3
  <view class="mo-popup__mask" bindtap="handleMaskTap" catchtouchmove="handleTouchMove"></view>
4
- <view class="mo-popup__panel mo-popup__panel--{{position}}">
4
+ <view class="mo-popup__panel mo-popup__panel--{{position}}" style="{{maxHeight ? 'max-height: ' + maxHeight + ';' : ''}}">
5
5
  <slot></slot>
6
6
  </view>
7
7
  </view>
8
8
  <view wx:else class="mo-popup" style="z-index: {{zIndex}};">
9
9
  <view class="mo-popup__mask" bindtap="handleMaskTap"></view>
10
- <view class="mo-popup__panel mo-popup__panel--{{position}}">
10
+ <view class="mo-popup__panel mo-popup__panel--{{position}}" style="{{maxHeight ? 'max-height: ' + maxHeight + ';' : ''}}">
11
11
  <slot></slot>
12
12
  </view>
13
13
  </view>
@@ -13,7 +13,10 @@
13
13
  bottom: 0;
14
14
  left: 0;
15
15
  background: rgba(0, 0, 0, 0.6);
16
- animation: mo-popup-mask-in 240ms ease-out both;
16
+ animation-name: mo-popup-mask-in;
17
+ animation-duration: 240ms;
18
+ animation-timing-function: ease-out;
19
+ animation-fill-mode: both;
17
20
  }
18
21
 
19
22
  .mo-popup__panel {
@@ -31,6 +31,10 @@ Component({
31
31
  type: String,
32
32
  value: ""
33
33
  },
34
+ height: {
35
+ type: String,
36
+ value: "82vh"
37
+ },
34
38
  headerVariant: {
35
39
  type: String,
36
40
  value: "default"
@@ -1,13 +1,14 @@
1
1
  <mo-popup
2
2
  show="{{rendered}}"
3
3
  position="bottom"
4
+ max-height="100vh"
4
5
  closeOnMask="{{closeOnMask}}"
5
6
  zIndex="{{zIndex}}"
6
7
  lockScroll="{{lockScroll}}"
7
8
  bind:click="handleMaskClick"
8
9
  bind:close="handleClose"
9
10
  >
10
- <view class="mo-popup-page {{customClass}}" style="{{panelStyle}}">
11
+ <view class="mo-popup-page {{customClass}}" style="height: {{height || '82vh'}}; {{panelStyle}}">
11
12
  <vertical-drag-gesture-handler wx:if="{{showHandle || title}}" worklet:ongesture="handlePanelDrag">
12
13
  <view class="mo-popup-page__drag-region">
13
14
  <view wx:if="{{showHandle}}" class="mo-popup-page__handle-area">
@@ -4,7 +4,7 @@
4
4
  flex-direction: column;
5
5
  width: 100vw;
6
6
  height: 82vh;
7
- max-height: 82vh;
7
+ max-height: 100vh;
8
8
  overflow: hidden;
9
9
  border-radius: var(--mo-radius-xl, 36rpx) var(--mo-radius-xl, 36rpx) 0 0;
10
10
  background-color: var(--mo-color-background-surface, #FFFFFF);
@@ -35,6 +35,7 @@ page,
35
35
  --mo-color-text-active: #FF3E7A;
36
36
  --mo-color-text-black: #000000;
37
37
  --mo-color-text-ranking-muted: #DDDDDD;
38
+ --mo-color-text-helper: #3D3D3D;
38
39
  --mo-color-background-page: #F8F8F8;
39
40
  --mo-color-background-surface: #FFFFFF;
40
41
  --mo-color-background-subtle: #FAFAFA;
@@ -53,6 +54,7 @@ page,
53
54
  --mo-color-background-brand-primary-70: rgba(254, 203, 231, 0.7);
54
55
  --mo-color-background-brand-primary-40: rgba(254, 203, 231, 0.4);
55
56
  --mo-color-background-notification-card: rgba(255, 255, 255, 0.98);
57
+ --mo-color-background-calendar-date: #FFF5FA;
56
58
  --mo-color-accent-amount: #FF3E7A;
57
59
  --mo-color-gender-female: #FF86C9;
58
60
  --mo-color-gender-male: #38A6FF;
@@ -210,5 +212,7 @@ page,
210
212
  --mo-font-weight-medium: 500;
211
213
  --mo-font-weight-semibold: 600;
212
214
  --mo-font-family-number: MiSans, sans-serif;
215
+ --mo-font-family-number-medium: MiSansMedium, sans-serif;
216
+ --mo-font-family-number-demibold: MiSansDemibold, sans-serif;
213
217
  --mo-letter-spacing-number-tight: -0.05em;
214
218
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maooo-skyline-ui-system",
3
- "version": "0.1.29",
3
+ "version": "0.1.30",
4
4
  "private": false,
5
5
  "description": "Skyline + AI design system workspace for WeChat Mini Program UI components.",
6
6
  "main": "miniprogram_dist/index.js",