@tbox.cn/app-module-alipay-activity 1.0.0-alpha.18 → 1.0.0-alpha.19

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.
@@ -1,10 +1,13 @@
1
1
  // src/client/cards/bumpin-activity/index.tsx
2
2
  import { useState as useState2 } from "react";
3
- import { CaretDown, CaretUp, Lock, Trophy } from "@phosphor-icons/react";
3
+ import { CaretDownIcon as CaretDown } from "@phosphor-icons/react/CaretDown";
4
+ import { CaretUpIcon as CaretUp } from "@phosphor-icons/react/CaretUp";
5
+ import { LockIcon as Lock } from "@phosphor-icons/react/Lock";
6
+ import { TrophyIcon as Trophy } from "@phosphor-icons/react/Trophy";
4
7
 
5
8
  // src/client/components/ImageWithFallback.tsx
6
9
  import { useState } from "react";
7
- import { ImageSquare } from "@phosphor-icons/react";
10
+ import { ImageSquareIcon as ImageSquare } from "@phosphor-icons/react/ImageSquare";
8
11
  import { jsx } from "react/jsx-runtime";
9
12
  function ImageWithFallback(props) {
10
13
  const { src, alt, className, size = 40 } = props;
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.18",
3
+ "version": "1.0.0-alpha.19",
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-mall": "1.0.0-alpha.18",
23
- "@tbox.cn/app-agent-sdk-client": "1.0.0-alpha.18",
24
- "@tbox.cn/app-agent-sdk-server": "1.0.0-alpha.18",
25
- "@tbox.cn/app-contracts": "1.0.0-alpha.18"
22
+ "@tbox.cn/app-contracts-mall": "1.0.0-alpha.19",
23
+ "@tbox.cn/app-contracts": "1.0.0-alpha.19",
24
+ "@tbox.cn/app-agent-sdk-client": "1.0.0-alpha.19",
25
+ "@tbox.cn/app-agent-sdk-server": "1.0.0-alpha.19"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "zod": "3.25.76",
@@ -1,5 +1,8 @@
1
1
  import { useState } from 'react';
2
- import { CaretDown, CaretUp, Lock, Trophy } from '@phosphor-icons/react';
2
+ import { CaretDownIcon as CaretDown } from '@phosphor-icons/react/CaretDown';
3
+ import { CaretUpIcon as CaretUp } from '@phosphor-icons/react/CaretUp';
4
+ import { LockIcon as Lock } from '@phosphor-icons/react/Lock';
5
+ import { TrophyIcon as Trophy } from '@phosphor-icons/react/Trophy';
3
6
  import type { AlipayActivityBumpInCardData } from '../../../server/cards/bumpin-activity/meta';
4
7
  import { ImageWithFallback } from '../../components/ImageWithFallback';
5
8
  import { sanitizeActivityHtml } from '../../utils/sanitize-activity-html';
@@ -2,7 +2,7 @@
2
2
  * 图片 + 加载失败占位(模块自持,禁跨模块依赖)。
3
3
  */
4
4
  import { useState } from 'react';
5
- import { ImageSquare } from '@phosphor-icons/react';
5
+ import { ImageSquareIcon as ImageSquare } from '@phosphor-icons/react/ImageSquare';
6
6
 
7
7
  export function ImageWithFallback(props: {
8
8
  src?: string;