@tbox.cn/app-module-alipay-activity 1.0.0-alpha.12 → 1.0.0-alpha.14
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/client/index.js
CHANGED
|
@@ -96,17 +96,17 @@ function StepsProgress({
|
|
|
96
96
|
index > 0 && /* @__PURE__ */ jsx2(
|
|
97
97
|
"div",
|
|
98
98
|
{
|
|
99
|
-
className: `promotion-bumpin__step-line absolute left-[-50%] right-1/2 top-2.5 h-0.75 -translate-y-1/2 ${isDone && steps[index - 1] <= current ? "bg-warning shadow-sm promotion-bumpin__step-line--done" : "bg-
|
|
99
|
+
className: `promotion-bumpin__step-line absolute left-[-50%] right-1/2 top-2.5 h-0.75 -translate-y-1/2 ${isDone && steps[index - 1] <= current ? "bg-warning shadow-sm promotion-bumpin__step-line--done" : "bg-border-strong"}`
|
|
100
100
|
}
|
|
101
101
|
),
|
|
102
102
|
/* @__PURE__ */ jsx2(
|
|
103
103
|
"div",
|
|
104
104
|
{
|
|
105
|
-
className: `promotion-bumpin__step-node relative z-10 flex size-5.5 items-center justify-center rounded-full border-2 text-xs font-bold leading-none ${isLocked ? "border-warning bg-warn-surface text-warn-ink promotion-bumpin__step-node--locked" : isDone ? "border-warning bg-white text-primary promotion-bumpin__step-node--done" : "border-
|
|
105
|
+
className: `promotion-bumpin__step-node relative z-10 flex size-5.5 items-center justify-center rounded-full border-2 text-xs font-bold leading-none ${isLocked ? "border-warning bg-warn-surface text-warn-ink promotion-bumpin__step-node--locked" : isDone ? "border-warning bg-white text-primary promotion-bumpin__step-node--done" : "border-border-strong bg-card text-secondary-foreground"}`,
|
|
106
106
|
children: isLocked ? /* @__PURE__ */ jsx2(Lock, { weight: "fill", size: 20 }) : /* @__PURE__ */ jsx2("span", { children: stepNumber })
|
|
107
107
|
}
|
|
108
108
|
),
|
|
109
|
-
/* @__PURE__ */ jsxs("span", { className: "promotion-bumpin__step-label whitespace-nowrap text-xs leading-tight text-
|
|
109
|
+
/* @__PURE__ */ jsxs("span", { className: "promotion-bumpin__step-label whitespace-nowrap text-xs leading-tight text-secondary-foreground", children: [
|
|
110
110
|
stepNumber,
|
|
111
111
|
" ",
|
|
112
112
|
unit
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tbox.cn/app-module-alipay-activity",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.14",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "支付宝互动营销活动模块:碰出惊喜(碰一下)活动查询与展示(codegen 源)。",
|
|
6
6
|
"exports": {
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"alipay-sdk": "4.14.0",
|
|
22
|
-
"@tbox.cn/app-contracts": "1.0.0-alpha.
|
|
23
|
-
"@tbox.cn/app-agent-sdk-
|
|
24
|
-
"@tbox.cn/app-
|
|
25
|
-
"@tbox.cn/app-
|
|
22
|
+
"@tbox.cn/app-contracts-mall": "1.0.0-alpha.14",
|
|
23
|
+
"@tbox.cn/app-agent-sdk-client": "1.0.0-alpha.14",
|
|
24
|
+
"@tbox.cn/app-agent-sdk-server": "1.0.0-alpha.14",
|
|
25
|
+
"@tbox.cn/app-contracts": "1.0.0-alpha.14"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"zod": "3.25.76",
|
|
@@ -27,11 +27,11 @@ function StepsProgress({
|
|
|
27
27
|
<div key={stepNumber} className="promotion-bumpin__step-item relative flex flex-1 flex-col items-center gap-1">
|
|
28
28
|
{index > 0 && (
|
|
29
29
|
<div
|
|
30
|
-
className={`promotion-bumpin__step-line absolute left-[-50%] right-1/2 top-2.5 h-0.75 -translate-y-1/2 ${isDone && steps[index - 1] <= current ? 'bg-warning shadow-sm promotion-bumpin__step-line--done' : 'bg-
|
|
30
|
+
className={`promotion-bumpin__step-line absolute left-[-50%] right-1/2 top-2.5 h-0.75 -translate-y-1/2 ${isDone && steps[index - 1] <= current ? 'bg-warning shadow-sm promotion-bumpin__step-line--done' : 'bg-border-strong'}`}
|
|
31
31
|
/>
|
|
32
32
|
)}
|
|
33
33
|
<div
|
|
34
|
-
className={`promotion-bumpin__step-node relative z-10 flex size-5.5 items-center justify-center rounded-full border-2 text-xs font-bold leading-none ${isLocked ? 'border-warning bg-warn-surface text-warn-ink promotion-bumpin__step-node--locked' : isDone ? 'border-warning bg-white text-primary promotion-bumpin__step-node--done' : 'border-
|
|
34
|
+
className={`promotion-bumpin__step-node relative z-10 flex size-5.5 items-center justify-center rounded-full border-2 text-xs font-bold leading-none ${isLocked ? 'border-warning bg-warn-surface text-warn-ink promotion-bumpin__step-node--locked' : isDone ? 'border-warning bg-white text-primary promotion-bumpin__step-node--done' : 'border-border-strong bg-card text-secondary-foreground'}`}
|
|
35
35
|
>
|
|
36
36
|
{isLocked ? (
|
|
37
37
|
<Lock weight="fill" size={20} />
|
|
@@ -39,7 +39,7 @@ function StepsProgress({
|
|
|
39
39
|
<span>{stepNumber}</span>
|
|
40
40
|
)}
|
|
41
41
|
</div>
|
|
42
|
-
<span className="promotion-bumpin__step-label whitespace-nowrap text-xs leading-tight text-
|
|
42
|
+
<span className="promotion-bumpin__step-label whitespace-nowrap text-xs leading-tight text-secondary-foreground">{stepNumber} {unit}</span>
|
|
43
43
|
</div>
|
|
44
44
|
);
|
|
45
45
|
})}
|