@tbox.cn/app-module-member 1.0.0-alpha.13 → 1.0.0-alpha.15
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.
|
@@ -247,7 +247,7 @@ function MemberCardSummaryCard(props) {
|
|
|
247
247
|
) : null;
|
|
248
248
|
const benefitButtonClass = `member-card-summary__benefit-button inline-flex w-full cursor-pointer flex-col items-center gap-[9px] border-0 bg-transparent p-0 text-inherit [font-family:inherit] tracking-normal disabled:cursor-not-allowed disabled:opacity-[0.55] ${CONTROL_FOCUS_CLASS}`;
|
|
249
249
|
const benefitIconClass = dynamicFace ? `member-card-summary__benefit-icon inline-flex size-7 items-center justify-center rounded-full border-0 text-white shadow-[0_2px_5px_rgba(71,117,190,0.16)] ${vc.iconBg}` : "member-card-summary__benefit-icon inline-flex size-6 items-center justify-center rounded-full border-0 bg-[#f3f3f3] text-[#8c6a2f] max-[480px]:size-[22px]";
|
|
250
|
-
const benefitImageClass = dynamicFace ?
|
|
250
|
+
const benefitImageClass = dynamicFace ? String.raw`size-full bg-transparent object-contain text-white [&.img-fallback]:size-[15px] [&_.member-card-summary\_\_benefit-icon-fallback]:size-[15px] [&_.member-card-summary\_\_benefit-icon-fallback]:text-white` : "size-[14px] bg-transparent object-contain text-[rgba(11,15,23,0.65)] max-[480px]:size-[13px]";
|
|
251
251
|
const benefitCopyClass = dynamicFace ? "member-card-summary__benefit-copy inline-flex flex-col items-center gap-[1.5px] text-xs leading-[1.4]" : "member-card-summary__benefit-copy";
|
|
252
252
|
const dotClass = dynamicFace ? vc.dot : "bg-[rgba(11,15,23,0.16)] data-[active=true]:bg-[#b45f06]";
|
|
253
253
|
const benefitDescClass = dynamicFace ? `member-card-summary__benefit-description rounded-[4px] px-[3.5px] py-[0.5px] text-xs font-medium leading-[1.4] whitespace-nowrap text-[#000] ${vc.tagBg}` : "member-card-summary__benefit-description";
|
package/dist/client/index.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tbox.cn/app-module-member",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.15",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "商圈会员模块:会员账户、会员卡、积分流水与入会流程(codegen 源)。",
|
|
6
6
|
"exports": {
|
|
@@ -18,17 +18,17 @@
|
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@tbox.cn/app-contracts": "1.0.0-alpha.
|
|
22
|
-
"@tbox.cn/app-
|
|
23
|
-
"@tbox.cn/app-agent-sdk-
|
|
24
|
-
"@tbox.cn/app-
|
|
21
|
+
"@tbox.cn/app-contracts-mall": "1.0.0-alpha.15",
|
|
22
|
+
"@tbox.cn/app-agent-sdk-client": "1.0.0-alpha.15",
|
|
23
|
+
"@tbox.cn/app-agent-sdk-server": "1.0.0-alpha.15",
|
|
24
|
+
"@tbox.cn/app-contracts": "1.0.0-alpha.15"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"zod": "3.25.76",
|
|
28
28
|
"react": "18.3.1",
|
|
29
29
|
"react-dom": "18.3.1",
|
|
30
30
|
"@phosphor-icons/react": "2.1.10",
|
|
31
|
-
"@tbox.cn/app-agent-ui-kit": "^1.0.0-alpha.
|
|
31
|
+
"@tbox.cn/app-agent-ui-kit": "^1.0.0-alpha.15"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/react": "18.3.31",
|
|
@@ -209,7 +209,7 @@ export function MemberCardSummaryCard(props: {
|
|
|
209
209
|
? `member-card-summary__benefit-icon inline-flex size-7 items-center justify-center rounded-full border-0 text-white shadow-[0_2px_5px_rgba(71,117,190,0.16)] ${vc.iconBg}`
|
|
210
210
|
: 'member-card-summary__benefit-icon inline-flex size-6 items-center justify-center rounded-full border-0 bg-[#f3f3f3] text-[#8c6a2f] max-[480px]:size-[22px]';
|
|
211
211
|
const benefitImageClass = dynamicFace
|
|
212
|
-
?
|
|
212
|
+
? String.raw`size-full bg-transparent object-contain text-white [&.img-fallback]:size-[15px] [&_.member-card-summary\_\_benefit-icon-fallback]:size-[15px] [&_.member-card-summary\_\_benefit-icon-fallback]:text-white`
|
|
213
213
|
: 'size-[14px] bg-transparent object-contain text-[rgba(11,15,23,0.65)] max-[480px]:size-[13px]';
|
|
214
214
|
const benefitCopyClass = dynamicFace
|
|
215
215
|
? 'member-card-summary__benefit-copy inline-flex flex-col items-center gap-[1.5px] text-xs leading-[1.4]'
|