@digitalc/dxp-ui 0.0.5-alpha.10 → 0.0.5-alpha.12

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.
Files changed (97) hide show
  1. package/README.md +1 -1
  2. package/es/assets/token.json +4 -1
  3. package/es/components/Amount/index.d.ts +1 -0
  4. package/es/components/Amount/index.js +4 -2
  5. package/es/components/Button/index.d.ts +14 -18
  6. package/es/components/Button/index.js +82 -36
  7. package/es/components/Icon/index.d.ts +1 -1
  8. package/es/components/Image/index.d.ts +2 -0
  9. package/es/components/Image/index.js +11 -2
  10. package/es/components/ListItem/designTokens.d.ts +30 -0
  11. package/es/components/ListItem/designTokens.js +31 -0
  12. package/es/components/ListItem/index.d.ts +60 -0
  13. package/es/components/ListItem/index.js +227 -0
  14. package/es/components/ListItem/style/index.less +77 -0
  15. package/es/components/ListItem/style/variables.less +1 -0
  16. package/es/components/Navigation/index.d.ts +1 -0
  17. package/es/components/Navigation/index.js +8 -4
  18. package/es/components/Navigation/style/index.less +7 -0
  19. package/es/components/StickyFooter/index.d.ts +3 -0
  20. package/es/components/StickyFooter/index.js +7 -1
  21. package/es/components/Tabs/index.js +1 -1
  22. package/es/components/Text/designTokens.d.ts +6 -0
  23. package/es/components/Text/designTokens.js +7 -1
  24. package/es/components/Text/index.js +14 -2
  25. package/es/components/TextLink/index.d.ts +1 -1
  26. package/es/components/index.d.ts +3 -0
  27. package/es/components/index.js +4 -1
  28. package/es/fonts/SF/SF-Pro-Display-BlackItalic.otf +0 -0
  29. package/es/fonts/SF/SF-Pro-Text-Bold.otf +0 -0
  30. package/es/fonts/SF/SF-Pro-Text-Medium.eot +0 -0
  31. package/es/fonts/SF/SF-Pro-Text-Medium.otf +0 -0
  32. package/es/fonts/SF/SF-Pro-Text-Medium.svg +40549 -0
  33. package/es/fonts/SF/SF-Pro-Text-Medium.ttf +0 -0
  34. package/es/fonts/SF/SF-Pro-Text-Medium.woff +0 -0
  35. package/es/fonts/SF/SF-Pro-Text-Medium.woff2 +0 -0
  36. package/es/fonts/SF/SF-Pro-Text-Regular.otf +0 -0
  37. package/es/fonts/SF/SF-Pro-Text-Regular.ttf +0 -0
  38. package/es/fonts/SF/SF-Pro-Text-Semibold.otf +0 -0
  39. package/es/fonts/SF/SF-Pro-Text-SemiboldItalic.otf +0 -0
  40. package/es/style/variables.less +53 -27
  41. package/es/tokens/DXPGlobal.d.ts +1 -1
  42. package/es/tokens/DXPGlobal.js +3 -2
  43. package/es/utils/tokenManager.d.ts +12 -0
  44. package/es/utils/tokenManager.js +11 -5
  45. package/lib/assets/token.json +4 -1
  46. package/lib/components/Amount/index.d.ts +1 -0
  47. package/lib/components/Amount/index.js +5 -3
  48. package/lib/components/Button/demo/index.d.ts +3 -0
  49. package/lib/components/Button/demo/index.js +138 -0
  50. package/lib/components/Button/index.d.ts +14 -18
  51. package/lib/components/Button/index.js +46 -15
  52. package/lib/components/Icon/index.d.ts +1 -1
  53. package/lib/components/Image/index.d.ts +2 -0
  54. package/lib/components/Image/index.js +23 -3
  55. package/lib/components/ListItem/designTokens.d.ts +30 -0
  56. package/lib/components/ListItem/designTokens.js +65 -0
  57. package/lib/components/ListItem/index.d.ts +60 -0
  58. package/lib/components/ListItem/index.js +348 -0
  59. package/lib/components/ListItem/style/index.less +77 -0
  60. package/lib/components/ListItem/style/variables.less +1 -0
  61. package/lib/components/Navigation/index.d.ts +1 -0
  62. package/lib/components/Navigation/index.js +18 -5
  63. package/lib/components/Navigation/style/index.less +7 -0
  64. package/lib/components/StickyFooter/index.d.ts +3 -0
  65. package/lib/components/StickyFooter/index.js +12 -5
  66. package/lib/components/Tabs/index.js +1 -1
  67. package/lib/components/Text/designTokens.d.ts +6 -0
  68. package/lib/components/Text/designTokens.js +7 -1
  69. package/lib/components/Text/index.js +52 -37
  70. package/lib/components/TextLink/index.d.ts +1 -1
  71. package/lib/components/index.d.ts +3 -0
  72. package/lib/components/index.js +7 -0
  73. package/lib/fonts/SF/SF-Pro-Display-BlackItalic.otf +0 -0
  74. package/lib/fonts/SF/SF-Pro-Text-Bold.otf +0 -0
  75. package/lib/fonts/SF/SF-Pro-Text-Medium.eot +0 -0
  76. package/lib/fonts/SF/SF-Pro-Text-Medium.otf +0 -0
  77. package/lib/fonts/SF/SF-Pro-Text-Medium.svg +40549 -0
  78. package/lib/fonts/SF/SF-Pro-Text-Medium.ttf +0 -0
  79. package/lib/fonts/SF/SF-Pro-Text-Medium.woff +0 -0
  80. package/lib/fonts/SF/SF-Pro-Text-Medium.woff2 +0 -0
  81. package/lib/fonts/SF/SF-Pro-Text-Regular.otf +0 -0
  82. package/lib/fonts/SF/SF-Pro-Text-Regular.ttf +0 -0
  83. package/lib/fonts/SF/SF-Pro-Text-Semibold.otf +0 -0
  84. package/lib/fonts/SF/SF-Pro-Text-SemiboldItalic.otf +0 -0
  85. package/lib/style/variables.less +53 -27
  86. package/lib/tokens/DXPGlobal.d.ts +1 -1
  87. package/lib/tokens/DXPGlobal.js +1 -1
  88. package/lib/utils/tokenManager.d.ts +12 -0
  89. package/lib/utils/tokenManager.js +9 -3
  90. package/package.json +2 -2
  91. package/umd/dxp-ui.min.css +1 -1
  92. package/umd/dxp-ui.min.js +1 -1
  93. package/umd/static/SF-Pro-Text-Bold.89d66db4.otf +0 -0
  94. package/umd/static/SF-Pro-Text-Regular.e042d171.ttf +0 -0
  95. package/umd/static/SF-Pro-Text-Regular.f09e811b.otf +0 -0
  96. package/umd/static/SF-Pro-Text-Semibold.a5a4b4bc.otf +0 -0
  97. package/umd/static/SF-Pro-Text-SemiboldItalic.ed8f4a28.otf +0 -0
@@ -0,0 +1,227 @@
1
+ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
+ var _excluded = ["listType", "leftIcon", "leftImageSrc", "title", "subTitle", "onToggleChange", "toggleChecked", "showToggle", "showLink", "LinkName", "onLinkClick", "showStatus", "statusIconName", "statusIconColor", "subTitleUp", "tagName", "showTag", "subIconObj", "leftThumbnail", "showRightBtn", "onRightBtnClick", "rightBtnTxt", "showRightIcon", "rightIconName", "onRightIconClick", "tappableArea", "tappableAreaClick"];
4
+ import React from 'react';
5
+ import designTokens from "./designTokens";
6
+ import { useStyleRegister } from '@ant-design/cssinjs';
7
+ import { isEmpty } from 'lodash';
8
+ import { theme } from "../../utils/theme";
9
+ import { Icon, Image, Text, Toggle, TextLink, TextLinkEnum, Tag, BackImageEunm, Button } from "../index";
10
+ import { cssClasses } from "../../constants";
11
+ import "./style/index.less";
12
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ export var ListItemTypes = {
14
+ ListItemIcon: 'ListItemIcon',
15
+ ListItemImage: 'ListItemImage',
16
+ ListItemOther: 'ListItemOther'
17
+ };
18
+ export var TAPPABLE_AREAS = {
19
+ ALL: 'ALL',
20
+ // 点击全部区域
21
+ EXPECT_IMAGE: 'EXPECT_IMAGE' // 除了坐车的图片区域
22
+ };
23
+ export var ListItemRightTypes = {
24
+ Toggle: 'Toggle',
25
+ Link: 'Link',
26
+ Status: 'Status',
27
+ Default: 'Default'
28
+ };
29
+ var ListItem = function ListItem(_ref) {
30
+ var listType = _ref.listType,
31
+ leftIcon = _ref.leftIcon,
32
+ leftImageSrc = _ref.leftImageSrc,
33
+ title = _ref.title,
34
+ subTitle = _ref.subTitle,
35
+ onToggleChange = _ref.onToggleChange,
36
+ toggleChecked = _ref.toggleChecked,
37
+ showToggle = _ref.showToggle,
38
+ showLink = _ref.showLink,
39
+ LinkName = _ref.LinkName,
40
+ onLinkClick = _ref.onLinkClick,
41
+ showStatus = _ref.showStatus,
42
+ _ref$statusIconName = _ref.statusIconName,
43
+ statusIconName = _ref$statusIconName === void 0 ? "icon-Attention" : _ref$statusIconName,
44
+ _ref$statusIconColor = _ref.statusIconColor,
45
+ statusIconColor = _ref$statusIconColor === void 0 ? "#BC1430" : _ref$statusIconColor,
46
+ _ref$subTitleUp = _ref.subTitleUp,
47
+ subTitleUp = _ref$subTitleUp === void 0 ? false : _ref$subTitleUp,
48
+ tagName = _ref.tagName,
49
+ _ref$showTag = _ref.showTag,
50
+ showTag = _ref$showTag === void 0 ? false : _ref$showTag,
51
+ subIconObj = _ref.subIconObj,
52
+ leftThumbnail = _ref.leftThumbnail,
53
+ _ref$showRightBtn = _ref.showRightBtn,
54
+ showRightBtn = _ref$showRightBtn === void 0 ? false : _ref$showRightBtn,
55
+ onRightBtnClick = _ref.onRightBtnClick,
56
+ rightBtnTxt = _ref.rightBtnTxt,
57
+ _ref$showRightIcon = _ref.showRightIcon,
58
+ showRightIcon = _ref$showRightIcon === void 0 ? false : _ref$showRightIcon,
59
+ rightIconName = _ref.rightIconName,
60
+ onRightIconClick = _ref.onRightIconClick,
61
+ tappableArea = _ref.tappableArea,
62
+ tappableAreaClick = _ref.tappableAreaClick,
63
+ restProps = _objectWithoutProperties(_ref, _excluded);
64
+ var sizingListItemImageImage = designTokens.sizingListItemImageImage,
65
+ borderRadiusListItem = designTokens.borderRadiusListItem,
66
+ colorListItemBackground = designTokens.colorListItemBackground,
67
+ colorListItemIconBackground = designTokens.colorListItemIconBackground,
68
+ spacingListItemTextPaddingHorizontal = designTokens.spacingListItemTextPaddingHorizontal,
69
+ sizingListItemIconIcon = designTokens.sizingListItemIconIcon,
70
+ colorListItemTextTitle = designTokens.colorListItemTextTitle,
71
+ colorListItemTextSubtitle = designTokens.colorListItemTextSubtitle,
72
+ colorListItemIconSubtle = designTokens.colorListItemIconSubtle,
73
+ sizingListItemImageIcon = designTokens.sizingListItemImageIcon,
74
+ spacingListItemImageIconPaddingRight = designTokens.spacingListItemImageIconPaddingRight,
75
+ colorListItemTextPoints = designTokens.colorListItemTextPoints,
76
+ sizingListItemImageThumbnail = designTokens.sizingListItemImageThumbnail,
77
+ sizingListItemIconLg = designTokens.sizingListItemIconLg;
78
+
79
+ // console.log('designTokens', designTokens);
80
+
81
+ var useCustomButtonStyle = function useCustomButtonStyle() {
82
+ var hashId = useStyleRegister({
83
+ theme: theme,
84
+ token: {},
85
+ path: ["".concat(cssClasses.PREFIX, "-list-item ")]
86
+ }, function () {
87
+ return "\n .".concat(cssClasses.PREFIX, "-list-item {\n box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.12);\n border-radius: ").concat(borderRadiusListItem || 8, "px;\n background-color:").concat(colorListItemBackground || '#fff', ";\n &.noShadow{\n box-shadow:none !important;\n }\n .").concat(cssClasses.PREFIX, "-icon-container {\n background:").concat(colorListItemIconBackground || '#F5F5F8', ";\n margin-right:").concat(spacingListItemTextPaddingHorizontal, "px;\n }\n .").concat(cssClasses.PREFIX, "-image-container {\n margin-right:").concat(spacingListItemTextPaddingHorizontal, "px;\n }\n }\n .").concat(cssClasses.PREFIX, "-item-right {\n padding-right:").concat(spacingListItemTextPaddingHorizontal, "px;\n }\n .").concat(cssClasses.PREFIX, "-status-warp {\n padding-left: ").concat(spacingListItemTextPaddingHorizontal, "px;\n }\n .").concat(cssClasses.PREFIX, "-item-title {\n color:").concat(colorListItemTextTitle, ";\n }\n .").concat(cssClasses.PREFIX, "-item-subTitle {\n color:").concat(colorListItemTextSubtitle, ";\n }\n \n .").concat(cssClasses.PREFIX, "-sub-icon-title {\n color:").concat(colorListItemTextPoints, ";\n margin-left:").concat(spacingListItemImageIconPaddingRight, "px;\n }\n .").concat(cssClasses.PREFIX, "-right-btn {\n min-width:60px !important;\n }\n ");
88
+ });
89
+ return hashId;
90
+ };
91
+ useCustomButtonStyle();
92
+ var onAllClick = function onAllClick() {
93
+ if (tappableArea === TAPPABLE_AREAS.ALL && tappableAreaClick) {
94
+ tappableAreaClick();
95
+ }
96
+ ;
97
+ };
98
+ var onExceptImgClick = function onExceptImgClick(e) {
99
+ if (tappableArea === TAPPABLE_AREAS.EXPECT_IMAGE && tappableAreaClick) {
100
+ e === null || e === void 0 || e.stopPropagation();
101
+ tappableAreaClick();
102
+ }
103
+ ;
104
+ };
105
+ var onTextLinkClick = function onTextLinkClick(e) {
106
+ e === null || e === void 0 || e.stopPropagation();
107
+ if (onLinkClick) {
108
+ onLinkClick();
109
+ }
110
+ };
111
+ var onSwicthChange = function onSwicthChange(checked, event) {
112
+ event === null || event === void 0 || event.stopPropagation();
113
+ if (onToggleChange) {
114
+ onToggleChange(checked, event);
115
+ }
116
+ };
117
+ return /*#__PURE__*/_jsxs("div", _objectSpread(_objectSpread({
118
+ className: "\n ".concat(cssClasses.PREFIX, "-list-item \n ").concat(listType === ListItemTypes.ListItemOther ? 'noShadow' : "", "\n ")
119
+ }, restProps), {}, {
120
+ onClick: onAllClick,
121
+ children: [/*#__PURE__*/_jsxs("div", {
122
+ className: "\n ".concat(cssClasses.PREFIX, "-item-left \n "),
123
+ children: [listType === ListItemTypes.ListItemIcon && !isEmpty(leftIcon) && /*#__PURE__*/_jsx("div", {
124
+ className: "".concat(cssClasses.PREFIX, "-icon-container"),
125
+ children: /*#__PURE__*/_jsx(Icon, {
126
+ name: leftIcon ? leftIcon.iconName : '',
127
+ size: sizingListItemIconIcon,
128
+ style: leftIcon ? leftIcon.iconStyle : {}
129
+ })
130
+ }), listType === ListItemTypes.ListItemImage && leftImageSrc && /*#__PURE__*/_jsxs("div", {
131
+ className: "".concat(cssClasses.PREFIX, "-image-container"),
132
+ children: [/*#__PURE__*/_jsx(Image, {
133
+ radio: 1,
134
+ src: leftImageSrc,
135
+ imageSize: sizingListItemImageImage || 104
136
+ }), showTag && /*#__PURE__*/_jsx(Tag, {
137
+ types: "red",
138
+ style: {
139
+ position: 'absolute',
140
+ bottom: 0,
141
+ left: 0,
142
+ right: 0,
143
+ justifyContent: 'center'
144
+ },
145
+ block: true,
146
+ children: tagName
147
+ })]
148
+ }), listType === ListItemTypes.ListItemOther && leftThumbnail && /*#__PURE__*/_jsx("div", {
149
+ className: "".concat(cssClasses.PREFIX, "-image-container"),
150
+ children: /*#__PURE__*/_jsx(Image, {
151
+ radio: BackImageEunm.whRadio1,
152
+ src: leftThumbnail,
153
+ imageSize: sizingListItemImageThumbnail || 56,
154
+ style: {
155
+ borderRadius: "".concat(borderRadiusListItem, "px"),
156
+ margin: '10px 0'
157
+ }
158
+ })
159
+ })]
160
+ }), /*#__PURE__*/_jsxs("div", {
161
+ className: "\n ".concat(cssClasses.PREFIX, "-item-right \n "),
162
+ onClick: onExceptImgClick,
163
+ children: [/*#__PURE__*/_jsxs("div", {
164
+ className: "".concat(cssClasses.PREFIX, "-title-sub-warp"),
165
+ children: [subTitleUp && /*#__PURE__*/_jsx(Text, {
166
+ size: "ContentC12Regular",
167
+ className: "".concat(cssClasses.PREFIX, "-item-subTitle"),
168
+ children: subTitle
169
+ }), /*#__PURE__*/_jsx(Text, {
170
+ size: "ContentC14Bold",
171
+ className: "".concat(cssClasses.PREFIX, "-item-title \n ").concat(subTitle ? 'line1' : 'line2', " \n }"),
172
+ children: title
173
+ }), !subTitleUp && /*#__PURE__*/_jsx(Text, {
174
+ size: "ContentC12Regular",
175
+ className: "".concat(cssClasses.PREFIX, "-item-subTitle"),
176
+ children: subTitle
177
+ }), !isEmpty(subIconObj) && /*#__PURE__*/_jsxs("div", {
178
+ className: "".concat(cssClasses.PREFIX, "-sub-icon"),
179
+ children: [/*#__PURE__*/_jsx(Icon, {
180
+ name: subIconObj.iconName,
181
+ color: colorListItemIconSubtle,
182
+ size: sizingListItemImageIcon || 20
183
+ }), /*#__PURE__*/_jsx(Text, {
184
+ size: "ContentC12Regular",
185
+ className: "".concat(cssClasses.PREFIX, "-sub-icon-title"),
186
+ children: subIconObj.value
187
+ })]
188
+ })]
189
+ }), /*#__PURE__*/_jsxs("div", {
190
+ className: "".concat(cssClasses.PREFIX, "-status-warp"),
191
+ children: [showToggle && /*#__PURE__*/_jsx(Toggle, {
192
+ size: "small",
193
+ checked: toggleChecked,
194
+ onChange: onSwicthChange
195
+ }), showLink && /*#__PURE__*/_jsx(TextLink, {
196
+ className: "".concat(cssClasses.PREFIX, "-right-link"),
197
+ type: TextLinkEnum.default,
198
+ text: LinkName,
199
+ onClick: onTextLinkClick
200
+ }), showStatus && /*#__PURE__*/_jsx(Icon, {
201
+ name: statusIconName || '',
202
+ size: sizingListItemIconIcon,
203
+ color: statusIconColor
204
+ }), showRightBtn && /*#__PURE__*/_jsx(Button, {
205
+ className: "".concat(cssClasses.PREFIX, "-right-btn"),
206
+ onClick: function onClick(e) {
207
+ e.stopPropagation();
208
+ if (onRightBtnClick) {
209
+ onRightBtnClick();
210
+ }
211
+ },
212
+ children: rightBtnTxt
213
+ }), showRightIcon && /*#__PURE__*/_jsx(Icon, {
214
+ name: rightIconName || '',
215
+ size: sizingListItemIconLg,
216
+ onClick: function onClick(e) {
217
+ e.stopPropagation();
218
+ if (onRightIconClick) {
219
+ onRightIconClick();
220
+ }
221
+ }
222
+ })]
223
+ })]
224
+ })]
225
+ }));
226
+ };
227
+ export default ListItem;
@@ -0,0 +1,77 @@
1
+ @import './variables.less';
2
+
3
+ .@{prefix}-list-item {
4
+ display: flex;
5
+ flex-direction: row;
6
+ align-items: center;
7
+ overflow: hidden;
8
+
9
+ .@{prefix}-item-left {
10
+
11
+ .@{prefix}-icon-container {
12
+ width: 80px;
13
+ height: 80px;
14
+ display: flex;
15
+ align-items: center;
16
+ justify-content: center;
17
+ flex-shrink: 0;
18
+ }
19
+
20
+ .@{prefix}-image-container {
21
+ display: flex;
22
+ align-items: center;
23
+ justify-content: center;
24
+ flex-shrink: 0;
25
+ position: relative;
26
+ }
27
+
28
+ }
29
+
30
+ .@{prefix}-item-right {
31
+ display: flex;
32
+ flex: 1;
33
+ min-width: 0;
34
+ flex-direction: row;
35
+ align-items: center;
36
+ justify-content: space-between;
37
+
38
+ .@{prefix}-title-sub-warp {
39
+ flex: 1;
40
+ overflow: hidden;
41
+
42
+ .@{prefix}-item-title {
43
+ display: block;
44
+ overflow: hidden;
45
+ text-overflow: ellipsis;
46
+ -webkit-box-orient: vertical;
47
+
48
+ &.line1 {
49
+ display: -webkit-box;
50
+ -webkit-line-clamp: 1;
51
+ -webkit-box-orient: vertical;
52
+ overflow: hidden;
53
+ }
54
+
55
+ &.line2 {
56
+ display: -webkit-box;
57
+ -webkit-line-clamp: 2;
58
+ -webkit-box-orient: vertical;
59
+ overflow: hidden;
60
+ }
61
+ }
62
+
63
+ .@{prefix}-item-subTitle {
64
+ display: block;
65
+ white-space: nowrap;
66
+ overflow: hidden;
67
+ text-overflow: ellipsis;
68
+ }
69
+ }
70
+
71
+ .@{prefix}-sub-icon {
72
+ display: flex;
73
+ align-items: center;
74
+ }
75
+ }
76
+
77
+ }
@@ -0,0 +1 @@
1
+ @import '../../../style/variables.less';
@@ -23,6 +23,7 @@ export interface INavigationProps {
23
23
  className?: string;
24
24
  goBack?: () => void;
25
25
  isInverse?: boolean;
26
+ noRight?: boolean;
26
27
  }
27
28
  declare const Navigation: React.FC<INavigationProps>;
28
29
  export default Navigation;
@@ -1,6 +1,6 @@
1
1
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
- var _excluded = ["hideBorder", "className", "rightIcons", "rightLink", "title", "goBack", "isInverse", "titleIconBadge", "imgBackground"];
3
+ var _excluded = ["hideBorder", "className", "rightIcons", "rightLink", "title", "goBack", "isInverse", "titleIconBadge", "imgBackground", "noRight"];
4
4
  import React from 'react';
5
5
  import designTokens from "./designTokens";
6
6
  import { useStyleRegister } from '@ant-design/cssinjs';
@@ -21,6 +21,8 @@ var Navigation = function Navigation(_ref) {
21
21
  isInverse = _ref.isInverse,
22
22
  titleIconBadge = _ref.titleIconBadge,
23
23
  imgBackground = _ref.imgBackground,
24
+ _ref$noRight = _ref.noRight,
25
+ noRight = _ref$noRight === void 0 ? false : _ref$noRight,
24
26
  restProps = _objectWithoutProperties(_ref, _excluded);
25
27
  var spacingTopNavigationPaddingHorizontal = designTokens.spacingTopNavigationPaddingHorizontal,
26
28
  spacingTopNavigationPaddingBottom = designTokens.spacingTopNavigationPaddingBottom,
@@ -38,7 +40,7 @@ var Navigation = function Navigation(_ref) {
38
40
  token: {},
39
41
  path: ["".concat(cssClasses.PREFIX, "-header")]
40
42
  }, function () {
41
- return "\n .".concat(cssClasses.PREFIX, "-header {\n padding-left: ").concat(spacingTopNavigationPaddingHorizontal, "px;\n padding-right: ").concat(spacingTopNavigationPaddingHorizontal, "px;\n padding-bottom: ").concat(spacingTopNavigationPaddingBottom, "px;\n border-bottom: 1px solid ").concat(colorTopNavigationBorderBottom, ";\n background-color:").concat(colorTopNavigationBackground, ";\n &.inverse {\n background-color:").concat(colorTopNavigationBackgroundInverse, ";\n }\n &.imgBackground {\n background:").concat(colorTopNavigationGradient, ";\n }\n &.hideBorder {\n border-bottom:none;\n }\n }\n .").concat(cssClasses.PREFIX, "-title {\n color:").concat(colorTopNavigationTitleStandard, ";\n &.inverse {\n color:").concat(colorTopNavigationTitleInverse, ";\n }\n }\n .").concat(cssClasses.PREFIX, "-right-link {\n padding-right: ").concat(spacingTopNavigationTextLinkPaddingRight, "px;\n }\n ");
43
+ return "\n .".concat(cssClasses.PREFIX, "-header {\n padding-left: ").concat(spacingTopNavigationPaddingHorizontal, "px;\n padding-right: ").concat(spacingTopNavigationPaddingHorizontal, "px;\n padding-bottom: ").concat(spacingTopNavigationPaddingBottom, "px;\n padding-top: ").concat(spacingTopNavigationPaddingBottom, "px; // TODO\uFF1A\u8BBE\u8BA1\u7A3F\u4E0A\u6CA1\u6709\u6682\u65F6\u52A0\u7684\n border-bottom: 1px solid ").concat(colorTopNavigationBorderBottom, ";\n background-color:").concat(colorTopNavigationBackground, ";\n &.inverse {\n background-color:").concat(colorTopNavigationBackgroundInverse, ";\n }\n &.imgBackground {\n background:").concat(colorTopNavigationGradient, ";\n }\n &.hideBorder {\n border-bottom:none;\n }\n &.noRight{\n justify-content:center !important;\n .").concat(cssClasses.PREFIX, "-header-back {\n position:absolute;\n left: ").concat(spacingTopNavigationPaddingHorizontal, "px;\n }\n }\n }\n .").concat(cssClasses.PREFIX, "-title {\n color:").concat(colorTopNavigationTitleStandard, ";\n &.inverse {\n color:").concat(colorTopNavigationTitleInverse, ";\n }\n }\n .").concat(cssClasses.PREFIX, "-right-link {\n padding-right: ").concat(spacingTopNavigationTextLinkPaddingRight, "px;\n }\n ");
42
44
  });
43
45
  return hashId;
44
46
  };
@@ -49,14 +51,16 @@ var Navigation = function Navigation(_ref) {
49
51
  }
50
52
  };
51
53
  return /*#__PURE__*/_jsxs("header", _objectSpread(_objectSpread({
52
- className: "\n ".concat(cssClasses.PREFIX, "-header \n ").concat(hideBorder ? 'hideBorder' : '', " \n ").concat(isInverse ? 'inverse' : '', " \n ").concat(imgBackground ? 'imgBackground' : '', "\n ").concat(className || '', "\n ")
54
+ className: "\n ".concat(cssClasses.PREFIX, "-header \n ").concat(hideBorder ? 'hideBorder' : '', " \n ").concat(isInverse ? 'inverse' : '', " \n ").concat(imgBackground ? 'imgBackground' : '', "\n ").concat(noRight ? 'noRight' : '', "\n ").concat(className || '', "\n ")
53
55
  }, restProps), {}, {
54
56
  children: [/*#__PURE__*/_jsx(IconButton, {
57
+ className: "".concat(cssClasses.PREFIX, "-header-back"),
55
58
  inverse: isInverse,
56
59
  size: "medium",
57
60
  name: "icon-a-Backarrow-copy",
58
61
  onClick: onGoBack
59
62
  }), /*#__PURE__*/_jsx("div", {
63
+ className: "\n ".concat(cssClasses.PREFIX, "-title-warp\n "),
60
64
  children: !isEmpty(titleIconBadge) ? /*#__PURE__*/_jsxs("div", {
61
65
  className: "".concat(cssClasses.PREFIX, "-title-badge"),
62
66
  children: [/*#__PURE__*/_jsx(Icon, {
@@ -81,7 +85,7 @@ var Navigation = function Navigation(_ref) {
81
85
  className: "".concat(cssClasses.PREFIX, "-title ").concat(isInverse ? 'inverse' : '', " "),
82
86
  children: title
83
87
  })
84
- }), /*#__PURE__*/_jsxs(IconButtonGroup, {
88
+ }), !noRight && /*#__PURE__*/_jsxs(IconButtonGroup, {
85
89
  className: "".concat(cssClasses.PREFIX, "-rightWarp"),
86
90
  children: [rightIcons === null || rightIcons === void 0 || (_rightIcons$slice = rightIcons.slice(0, 3)) === null || _rightIcons$slice === void 0 ? void 0 : _rightIcons$slice.map(function (i, index) {
87
91
  return /*#__PURE__*/_jsx(IconButton, {
@@ -13,6 +13,13 @@
13
13
  z-index: 999;
14
14
  box-shadow: 0px -2px 10px 0px rgba(26, 24, 134, 0.1);
15
15
 
16
+
17
+ .@{prefix}-title-warp {
18
+ white-space: nowrap;
19
+ overflow: hidden;
20
+ text-overflow: ellipsis;
21
+ }
22
+
16
23
  .@{prefix}-title {
17
24
  white-space: nowrap;
18
25
  overflow: hidden;
@@ -8,6 +8,9 @@ export interface StickyFooterProps {
8
8
  priceStrikethrough?: string;
9
9
  style?: React.CSSProperties;
10
10
  [key: string]: any;
11
+ onDropDownClick?: React.MouseEventHandler;
12
+ onRightBtnClick?: React.MouseEventHandler;
13
+ onBtnClick?: React.MouseEventHandler;
11
14
  }
12
15
  declare const StickyFooter: (props: StickyFooterProps) => React.JSX.Element;
13
16
  export default StickyFooter;
@@ -1,6 +1,6 @@
1
1
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
- var _excluded = ["type", "price", "priceStrikethrough", "buttonText", "title", "position", "size", "children"];
3
+ var _excluded = ["type", "price", "priceStrikethrough", "buttonText", "title", "position", "size", "children", "onDropDownClick", "onRightBtnClick", "onBtnClick"];
4
4
  import React from 'react';
5
5
  import { useStyleRegister } from '@ant-design/cssinjs';
6
6
  import { theme } from "../../utils/theme";
@@ -20,6 +20,9 @@ var StickyFooter = function StickyFooter(props) {
20
20
  position = props.position,
21
21
  size = props.size,
22
22
  children = props.children,
23
+ onDropDownClick = props.onDropDownClick,
24
+ onRightBtnClick = props.onRightBtnClick,
25
+ onBtnClick = props.onBtnClick,
23
26
  attr = _objectWithoutProperties(props, _excluded);
24
27
  var padding = designTokens.padding,
25
28
  borderTop = designTokens.borderTop,
@@ -49,6 +52,7 @@ var StickyFooter = function StickyFooter(props) {
49
52
  children: /*#__PURE__*/_jsx(Button, {
50
53
  type: "primary",
51
54
  block: true,
55
+ onClick: onBtnClick,
52
56
  children: buttonText
53
57
  })
54
58
  }), type === 'priceVariant1' && /*#__PURE__*/_jsxs(_Fragment, {
@@ -60,9 +64,11 @@ var StickyFooter = function StickyFooter(props) {
60
64
  title: title,
61
65
  position: position,
62
66
  size: size,
67
+ onDropDownClick: onDropDownClick,
63
68
  children: price
64
69
  }), /*#__PURE__*/_jsx(Button, {
65
70
  type: "primary",
71
+ onClick: onRightBtnClick,
66
72
  children: buttonText
67
73
  })]
68
74
  }), children]
@@ -94,7 +94,7 @@ var Tabs = function Tabs(props) {
94
94
  items: item,
95
95
  onTabClick: handleTabClick,
96
96
  type: type === 'fill' ? "card" : "line",
97
- className: "".concat(prefixCls, "-fill"),
97
+ className: type === 'fill' ? "".concat(prefixCls, "-fill") : '',
98
98
  children: children
99
99
  }))
100
100
  });
@@ -41,5 +41,11 @@ declare const otherDesignTokens: {
41
41
  fontSizeMobileTitleT41: string;
42
42
  fontSizeMobileTitleT45: string;
43
43
  fontSizeMobileNavigation: string;
44
+ fontFamilyPromaryRegular: any;
45
+ fontFamilyPromarySemiBold: any;
46
+ fontFamilyPromaryBold: any;
47
+ fontFamilySecondaryRegular: any;
48
+ fontFamilySecondarySemiBold: any;
49
+ fontFamilySecondaryBold: any;
44
50
  };
45
51
  export { otherDesignTokens };
@@ -41,6 +41,12 @@ var otherDesignTokens = {
41
41
  fontSizeMobileTitleT34: "".concat(getToken('fontSizeMobileTitleT34'), "px"),
42
42
  fontSizeMobileTitleT41: "".concat(getToken('fontSizeMobileTitleT41'), "px"),
43
43
  fontSizeMobileTitleT45: "".concat(getToken('fontSizeMobileTitleT45'), "px"),
44
- fontSizeMobileNavigation: "".concat(getToken('fontSizeMobileNavigation'), "px")
44
+ fontSizeMobileNavigation: "".concat(getToken('fontSizeMobileNavigation'), "px"),
45
+ fontFamilyPromaryRegular: getToken('fontFamilyPromaryRegular'),
46
+ fontFamilyPromarySemiBold: getToken('fontFamilyPromarySemiBold'),
47
+ fontFamilyPromaryBold: getToken('fontFamilyPromaryBold'),
48
+ fontFamilySecondaryRegular: getToken('fontFamilySecondaryRegular'),
49
+ fontFamilySecondarySemiBold: getToken('fontFamilySecondarySemiBold'),
50
+ fontFamilySecondaryBold: getToken('fontFamilySecondaryBold')
45
51
  };
46
52
  export { otherDesignTokens };
@@ -36,7 +36,19 @@ var Text = function Text(props) {
36
36
  fontSizeMobileTitleT21 = otherDesignTokens.fontSizeMobileTitleT21,
37
37
  fontSizeMobileTitleT23 = otherDesignTokens.fontSizeMobileTitleT23,
38
38
  fontSizeMobileTitleT32 = otherDesignTokens.fontSizeMobileTitleT32,
39
- fontSizeMobileTitleT41 = otherDesignTokens.fontSizeMobileTitleT41;
39
+ fontSizeMobileTitleT41 = otherDesignTokens.fontSizeMobileTitleT41,
40
+ fontFamilyPromaryBold = otherDesignTokens.fontFamilyPromaryBold,
41
+ fontFamilySecondaryRegular = otherDesignTokens.fontFamilySecondaryRegular,
42
+ fontFamilySecondarySemiBold = otherDesignTokens.fontFamilySecondarySemiBold,
43
+ fontFamilySecondaryBold = otherDesignTokens.fontFamilySecondaryBold;
44
+ var fontFamilyMap = {
45
+ fontFamilyPromaryRegular: "Regular",
46
+ fontFamilyPromarySemiBold: "SemiBold",
47
+ fontFamilyPromaryBold: "Bold",
48
+ fontFamilySecondaryRegular: "Regular",
49
+ fontFamilySecondarySemiBold: "SemiBold",
50
+ fontFamilySecondaryBold: "Bold"
51
+ };
40
52
  var useCustomButtonStyle = function useCustomButtonStyle() {
41
53
  var hashId = useStyleRegister({
42
54
  theme: theme,
@@ -45,7 +57,7 @@ var Text = function Text(props) {
45
57
  },
46
58
  path: ["".concat(prefixCls, "-size")]
47
59
  }, function () {
48
- return "\n .".concat(prefixCls, "-mobile.").concat(prefixCls, "-size-TitleT41Bold {\n font-size: ").concat(fontSizeMobileTitleT41, ";\n line-height: 1.2;\n font-family: Poppins-Blod;\n font-weight: bold;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-TitleT32Bold {\n font-size: ").concat(fontSizeMobileTitleT32, ";\n line-height: 1.2;\n font-family: Poppins-Blod;\n font-weight: bold;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-TitleT23Bold {\n font-size: ").concat(fontSizeMobileTitleT23, ";\n line-height: 1.2;\n font-family: Poppins-Blod;\n font-weight: bold;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-TitleT21Bold {\n font-size: ").concat(fontSizeMobileTitleT21, ";\n line-height: 1.25;\n font-family: Poppins-Blod;\n font-weight: bold;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-TitleT15Bold {\n font-size: ").concat(fontSizeMobileTitleT15, ";\n line-height: 1.25;\n font-family: Poppins-Blod;\n font-weight: bold;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-ContentC14Bold {\n font-size: ").concat(fontSizeMobileContentC14, ";\n line-height: 1.5;\n font-family: Roboto-Bold;\n font-weight: bold;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-ContentC14Regular {\n font-size: ").concat(fontSizeMobileContentC14, ";\n line-height: 1.5;\n font-family: Roboto-Regular;\n font-weight: normal;\n letter-spacing: 0.1px;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-ContentC14Strikethrough {\n color: #757575;\n font-size: ").concat(fontSizeMobileContentC14, ";\n line-height: 1.5;\n font-family: Roboto-Regular;\n font-weight: normal;\n text-decoration: line-through;\n letter-spacing: 0.1px;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-ContentC14TextLink {\n color: #4E28E8;\n font-family: Roboto-Bold;\n font-weight: bold;\n font-size: ").concat(fontSizeMobileContentC14, ";\n line-height: 1.5;\n text-decoration: underline;\n letter-spacing: 0.1px;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-ContentC13Bold {\n font-size: ").concat(fontSizeMobileContentC13, ";\n line-height: 1.5;\n font-family: Roboto-Bold;\n font-weight: bold;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-ContentC13Regular {\n font-size: ").concat(fontSizeMobileContentC13, ";\n line-height: 1.5;\n font-family: Roboto-Regular;\n font-weight: normal;\n letter-spacing: 0.1px;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-ContentC13Strikethrough {\n color: #757575;\n font-size: ").concat(fontSizeMobileContentC13, ";\n line-height: 1.5;\n font-family: Roboto-Regular;\n font-weight: normal;\n text-decoration: line-through;\n letter-spacing: 0.1px;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-ContentC13TextLink {\n color: #4E28E8;\n font-family: Roboto-Bold;\n font-weight: bold;\n font-size: ").concat(fontSizeMobileContentC13, ";\n line-height: 1.5;\n text-decoration: underline;\n letter-spacing: 0.1px;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-ContentC12Regular {\n font-family: Roboto-Regular;\n font-weight: normal;\n font-size: ").concat(fontSizeMobileContentC12, ";\n line-height: 1.5;\n letter-spacing: 0.1px;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-ContentC12Strikethrough {\n color: #757575;\n font-family: Roboto-Regular;\n font-weight: normal;\n font-size: ").concat(fontSizeMobileContentC12, ";\n line-height: 1.5;\n text-decoration: line-through;\n letter-spacing: 0.2px;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-ContentC12SemiBold {\n font-family: Roboto-SemiBold;\n font-weight: bold;\n font-size: ").concat(fontSizeMobileContentC12, ";\n line-height: 1.5;\n letter-spacing: 0.2px;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-ContentC12Bold {\n font-family: Roboto-Bold;\n font-weight: bold;\n font-size: ").concat(fontSizeMobileContentC12, ";\n line-height: 1.5;\n letter-spacing: 0.2px;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-ContentC12TextLink {\n color: #4E28E8;\n font-family: Roboto-Bold;\n font-weight: bold;\n font-size: ").concat(fontSizeMobileContentC12, ";\n line-height: 1.5;\n text-decoration: underline;\n letter-spacing: 0.2px;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-TitleT41Bold {\n font-size: ").concat(fontSizeDesktopTitleT41, ";\n line-height: 1.2;\n font-family: Poppins-Blod;\n font-weight: bold;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-TitleT32Bold {\n font-size: ").concat(fontSizeDesktopTitleT32, ";\n line-height: 1.2;\n font-family: Poppins-Blod;\n font-weight: bold;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-TitleT23Bold {\n font-size: ").concat(fontSizeDesktopTitleT23, ";\n line-height: 1.2;\n font-family: Poppins-Blod;\n font-weight: bold;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-TitleT21Bold {\n font-size: ").concat(fontSizeDesktopTitleT21, ";\n line-height: 1.25;\n font-family: Poppins-Blod;\n font-weight: bold;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-TitleT15Bold {\n font-size: ").concat(fontSizeDesktopTitleT15, ";\n line-height: 1.25;\n font-family: Poppins-Blod;\n font-weight: bold;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-ContentC14Bold {\n font-size: ").concat(fontSizeDesktopContentC14, ";\n line-height: 1.5;\n font-family: Roboto-Bold;\n font-weight: bold;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-ContentC14Regular {\n font-size: ").concat(fontSizeDesktopContentC14, ";\n line-height: 1.5;\n font-family: Roboto-Regular;\n font-weight: normal;\n letter-spacing: 0.1px;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-ContentC14Strikethrough {\n color: #757575;\n font-size: ").concat(fontSizeDesktopContentC14, ";\n line-height: 1.5;\n font-family: Roboto-Regular;\n font-weight: normal;\n text-decoration: line-through;\n letter-spacing: 0.1px;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-ContentC14TextLink {\n color: #4E28E8;\n font-family: Roboto-Bold;\n font-weight: bold;\n font-size: ").concat(fontSizeDesktopContentC14, ";\n line-height: 1.5;\n text-decoration: underline;\n letter-spacing: 0.1px;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-ContentC13Bold {\n font-size: ").concat(fontSizeDesktopContentC13, ";\n line-height: 1.5;\n font-family: Roboto-Bold;\n font-weight: bold;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-ContentC13Regular {\n font-size: ").concat(fontSizeDesktopContentC13, ";\n line-height: 1.5;\n font-family: Roboto-Regular;\n font-weight: normal;\n letter-spacing: 0.1px;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-ContentC13Strikethrough {\n color: #757575;\n font-size: ").concat(fontSizeDesktopContentC13, ";\n line-height: 1.5;\n font-family: Roboto-Regular;\n font-weight: normal;\n text-decoration: line-through;\n letter-spacing: 0.1px;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-ContentC13TextLink {\n color: #4E28E8;\n font-family: Roboto-Bold;\n font-weight: bold;\n font-size: ").concat(fontSizeDesktopContentC13, ";\n line-height: 1.5;\n text-decoration: underline;\n letter-spacing: 0.1px;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-ContentC12Regular {\n font-family: Roboto-Regular;\n font-weight: normal;\n font-size: ").concat(fontSizeDesktopContentC12, ";\n line-height: 1.5;\n letter-spacing: 0.1px;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-ContentC12Strikethrough {\n color: #757575;\n font-family: Roboto-Regular;\n font-weight: normal;\n font-size: ").concat(fontSizeDesktopContentC12, ";\n line-height: 1.5;\n text-decoration: line-through;\n letter-spacing: 0.2px;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-ContentC12SemiBold {\n font-family: Roboto-SemiBold;\n font-weight: bold;\n font-size: ").concat(fontSizeDesktopContentC12, ";\n line-height: 1.5;\n letter-spacing: 0.2px;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-ContentC12Bold {\n font-family: Roboto-Bold;\n font-weight: bold;\n font-size: ").concat(fontSizeDesktopContentC12, ";\n line-height: 1.5;\n letter-spacing: 0.2px;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-ContentC12TextLink {\n color: #4E28E8;\n font-family: Roboto-Bold;\n font-weight: bold;\n font-size: ").concat(fontSizeDesktopContentC12, ";\n line-height: 1.5;\n text-decoration: underline;\n letter-spacing: 0.2px;\n }\n ");
60
+ return "\n .".concat(prefixCls, "-mobile.").concat(prefixCls, "-size-TitleT41Bold {\n font-size: ").concat(fontSizeMobileTitleT41, ";\n line-height: 1.2;\n font-family: ").concat(fontFamilyPromaryBold, "-").concat(fontFamilyMap.fontFamilyPromaryBold, ";\n // font-family: ").concat(fontFamilyPromaryBold, "-").concat(fontFamilyMap.fontFamilyPromaryBold, ";\n font-weight: bold;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-TitleT32Bold {\n font-size: ").concat(fontSizeMobileTitleT32, ";\n line-height: 1.2;\n font-family: ").concat(fontFamilyPromaryBold, "-").concat(fontFamilyMap.fontFamilyPromaryBold, ";\n font-weight: bold;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-TitleT23Bold {\n font-size: ").concat(fontSizeMobileTitleT23, ";\n line-height: 1.2;\n font-family: ").concat(fontFamilyPromaryBold, "-").concat(fontFamilyMap.fontFamilyPromaryBold, ";\n font-weight: bold;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-TitleT21Bold {\n font-size: ").concat(fontSizeMobileTitleT21, ";\n line-height: 1.25;\n font-family: ").concat(fontFamilyPromaryBold, "-").concat(fontFamilyMap.fontFamilyPromaryBold, ";\n font-weight: bold;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-TitleT15Bold {\n font-size: ").concat(fontSizeMobileTitleT15, ";\n line-height: 1.25;\n font-family: ").concat(fontFamilyPromaryBold, "-").concat(fontFamilyMap.fontFamilyPromaryBold, ";\n font-weight: bold;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-ContentC14Bold {\n font-size: ").concat(fontSizeMobileContentC14, ";\n line-height: 1.5;\n font-family: ").concat(fontFamilySecondaryBold, "-").concat(fontFamilyMap.fontFamilySecondaryBold, ";\n font-weight: bold;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-ContentC14Regular {\n font-size: ").concat(fontSizeMobileContentC14, ";\n line-height: 1.5;\n font-family: ").concat(fontFamilySecondaryRegular, "-").concat(fontFamilyMap.fontFamilySecondaryRegular, ";\n font-weight: normal;\n letter-spacing: 0.1px;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-ContentC14Strikethrough {\n color: #757575;\n font-size: ").concat(fontSizeMobileContentC14, ";\n line-height: 1.5;\n font-family: ").concat(fontFamilySecondaryRegular, "-").concat(fontFamilyMap.fontFamilySecondaryRegular, ";\n font-weight: normal;\n text-decoration: line-through;\n letter-spacing: 0.1px;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-ContentC14TextLink {\n color: #4E28E8;\n font-family: ").concat(fontFamilySecondaryBold, "-").concat(fontFamilyMap.fontFamilySecondaryBold, ";\n font-weight: bold;\n font-size: ").concat(fontSizeMobileContentC14, ";\n line-height: 1.5;\n text-decoration: underline;\n letter-spacing: 0.1px;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-ContentC13Bold {\n font-size: ").concat(fontSizeMobileContentC13, ";\n line-height: 1.5;\n font-family: ").concat(fontFamilySecondaryBold, "-").concat(fontFamilyMap.fontFamilySecondaryBold, ";\n font-weight: bold;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-ContentC13Regular {\n font-size: ").concat(fontSizeMobileContentC13, ";\n line-height: 1.5;\n font-family: ").concat(fontFamilySecondaryRegular, "-").concat(fontFamilyMap.fontFamilySecondaryRegular, ";\n font-weight: normal;\n letter-spacing: 0.1px;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-ContentC13Strikethrough {\n color: #757575;\n font-size: ").concat(fontSizeMobileContentC13, ";\n line-height: 1.5;\n font-family: ").concat(fontFamilySecondaryRegular, "-").concat(fontFamilyMap.fontFamilySecondaryRegular, ";\n font-weight: normal;\n text-decoration: line-through;\n letter-spacing: 0.1px;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-ContentC13TextLink {\n color: #4E28E8;\n font-family: ").concat(fontFamilySecondaryBold, "-").concat(fontFamilyMap.fontFamilySecondaryBold, ";\n font-weight: bold;\n font-size: ").concat(fontSizeMobileContentC13, ";\n line-height: 1.5;\n text-decoration: underline;\n letter-spacing: 0.1px;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-ContentC12Regular {\n font-family: ").concat(fontFamilySecondaryRegular, "-").concat(fontFamilyMap.fontFamilySecondaryRegular, ";\n font-weight: normal;\n font-size: ").concat(fontSizeMobileContentC12, ";\n line-height: 1.5;\n letter-spacing: 0.1px;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-ContentC12Strikethrough {\n color: #757575;\n font-family: ").concat(fontFamilySecondaryRegular, "-").concat(fontFamilyMap.fontFamilySecondaryRegular, ";\n font-weight: normal;\n font-size: ").concat(fontSizeMobileContentC12, ";\n line-height: 1.5;\n text-decoration: line-through;\n letter-spacing: 0.2px;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-ContentC12SemiBold {\n font-family: ").concat(fontFamilySecondarySemiBold, "-").concat(fontFamilyMap.fontFamilySecondarySemiBold, ";\n font-weight: bold;\n font-size: ").concat(fontSizeMobileContentC12, ";\n line-height: 1.5;\n letter-spacing: 0.2px;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-ContentC12Bold {\n font-family: ").concat(fontFamilySecondaryBold, "-").concat(fontFamilyMap.fontFamilySecondaryBold, ";\n font-weight: bold;\n font-size: ").concat(fontSizeMobileContentC12, ";\n line-height: 1.5;\n letter-spacing: 0.2px;\n }\n .").concat(prefixCls, "-mobile.").concat(prefixCls, "-size-ContentC12TextLink {\n color: #4E28E8;\n font-family: ").concat(fontFamilySecondaryBold, "-").concat(fontFamilyMap.fontFamilySecondaryBold, ";\n font-weight: bold;\n font-size: ").concat(fontSizeMobileContentC12, ";\n line-height: 1.5;\n text-decoration: underline;\n letter-spacing: 0.2px;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-TitleT41Bold {\n font-size: ").concat(fontSizeDesktopTitleT41, ";\n line-height: 1.2;\n font-family: ").concat(fontFamilyPromaryBold, "-").concat(fontFamilyMap.fontFamilyPromaryBold, ";\n font-weight: bold;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-TitleT32Bold {\n font-size: ").concat(fontSizeDesktopTitleT32, ";\n line-height: 1.2;\n font-family: ").concat(fontFamilyPromaryBold, "-").concat(fontFamilyMap.fontFamilyPromaryBold, ";\n font-weight: bold;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-TitleT23Bold {\n font-size: ").concat(fontSizeDesktopTitleT23, ";\n line-height: 1.2;\n font-family: ").concat(fontFamilyPromaryBold, "-").concat(fontFamilyMap.fontFamilyPromaryBold, ";\n font-weight: bold;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-TitleT21Bold {\n font-size: ").concat(fontSizeDesktopTitleT21, ";\n line-height: 1.25;\n font-family: ").concat(fontFamilyPromaryBold, "-").concat(fontFamilyMap.fontFamilyPromaryBold, ";\n font-weight: bold;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-TitleT15Bold {\n font-size: ").concat(fontSizeDesktopTitleT15, ";\n line-height: 1.25;\n font-family: ").concat(fontFamilyPromaryBold, "-").concat(fontFamilyMap.fontFamilyPromaryBold, ";\n font-weight: bold;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-ContentC14Bold {\n font-size: ").concat(fontSizeDesktopContentC14, ";\n line-height: 1.5;\n font-family: ").concat(fontFamilySecondaryBold, "-").concat(fontFamilyMap.fontFamilySecondaryBold, ";\n font-weight: bold;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-ContentC14Regular {\n font-size: ").concat(fontSizeDesktopContentC14, ";\n line-height: 1.5;\n font-family: ").concat(fontFamilySecondaryRegular, "-").concat(fontFamilyMap.fontFamilySecondaryRegular, ";\n font-weight: normal;\n letter-spacing: 0.1px;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-ContentC14Strikethrough {\n color: #757575;\n font-size: ").concat(fontSizeDesktopContentC14, ";\n line-height: 1.5;\n font-family: ").concat(fontFamilySecondaryRegular, "-").concat(fontFamilyMap.fontFamilySecondaryRegular, ";\n font-weight: normal;\n text-decoration: line-through;\n letter-spacing: 0.1px;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-ContentC14TextLink {\n color: #4E28E8;\n font-family: ").concat(fontFamilySecondaryBold, "-").concat(fontFamilyMap.fontFamilySecondaryBold, ";\n font-weight: bold;\n font-size: ").concat(fontSizeDesktopContentC14, ";\n line-height: 1.5;\n text-decoration: underline;\n letter-spacing: 0.1px;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-ContentC13Bold {\n font-size: ").concat(fontSizeDesktopContentC13, ";\n line-height: 1.5;\n font-family: ").concat(fontFamilySecondaryBold, "-").concat(fontFamilyMap.fontFamilySecondaryBold, ";\n font-weight: bold;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-ContentC13Regular {\n font-size: ").concat(fontSizeDesktopContentC13, ";\n line-height: 1.5;\n font-family: ").concat(fontFamilySecondaryRegular, "-").concat(fontFamilyMap.fontFamilySecondaryRegular, ";\n font-weight: normal;\n letter-spacing: 0.1px;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-ContentC13Strikethrough {\n color: #757575;\n font-size: ").concat(fontSizeDesktopContentC13, ";\n line-height: 1.5;\n font-family: ").concat(fontFamilySecondaryRegular, "-").concat(fontFamilyMap.fontFamilySecondaryRegular, ";\n font-weight: normal;\n text-decoration: line-through;\n letter-spacing: 0.1px;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-ContentC13TextLink {\n color: #4E28E8;\n font-family: ").concat(fontFamilySecondaryBold, "-").concat(fontFamilyMap.fontFamilySecondaryBold, ";\n font-weight: bold;\n font-size: ").concat(fontSizeDesktopContentC13, ";\n line-height: 1.5;\n text-decoration: underline;\n letter-spacing: 0.1px;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-ContentC12Regular {\n font-family: ").concat(fontFamilySecondaryRegular, "-").concat(fontFamilyMap.fontFamilySecondaryRegular, ";\n font-weight: normal;\n font-size: ").concat(fontSizeDesktopContentC12, ";\n line-height: 1.5;\n letter-spacing: 0.1px;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-ContentC12Strikethrough {\n color: #757575;\n font-family: ").concat(fontFamilySecondaryRegular, "-").concat(fontFamilyMap.fontFamilySecondaryRegular, ";\n font-weight: normal;\n font-size: ").concat(fontSizeDesktopContentC12, ";\n line-height: 1.5;\n text-decoration: line-through;\n letter-spacing: 0.2px;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-ContentC12SemiBold {\n font-family: ").concat(fontFamilySecondarySemiBold, "-").concat(fontFamilyMap.fontFamilySecondarySemiBold, ";\n font-weight: bold;\n font-size: ").concat(fontSizeDesktopContentC12, ";\n line-height: 1.5;\n letter-spacing: 0.2px;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-ContentC12Bold {\n font-family: ").concat(fontFamilySecondaryBold, "-").concat(fontFamilyMap.fontFamilySecondaryBold, ";\n font-weight: bold;\n font-size: ").concat(fontSizeDesktopContentC12, ";\n line-height: 1.5;\n letter-spacing: 0.2px;\n }\n .").concat(prefixCls, "-desktop.").concat(prefixCls, "-size-ContentC12TextLink {\n color: #4E28E8;\n font-family: ").concat(fontFamilySecondaryBold, "-").concat(fontFamilyMap.fontFamilySecondaryBold, ";\n font-weight: bold;\n font-size: ").concat(fontSizeDesktopContentC12, ";\n line-height: 1.5;\n text-decoration: underline;\n letter-spacing: 0.2px;\n }\n ");
49
61
  });
50
62
  return hashId;
51
63
  };
@@ -13,7 +13,7 @@ export interface ITextLinkProps {
13
13
  iconSize?: string | number;
14
14
  text?: string;
15
15
  inverse?: boolean;
16
- onClick?: () => void;
16
+ onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
17
17
  className?: string;
18
18
  }
19
19
  declare const TextLink: (props: ITextLinkProps) => React.JSX.Element;
@@ -28,6 +28,7 @@ export { default as Toggle } from './Toggle';
28
28
  export type { IToggleProps } from './Toggle';
29
29
  export { default as Image } from './Image';
30
30
  export type { IImageProps } from './Image';
31
+ export { BackImageEunm } from './Image';
31
32
  export { default as Icon } from './Icon';
32
33
  export type { IIconProps } from './Icon';
33
34
  export { default as TextLink, TextLinkEnum } from './TextLink';
@@ -44,3 +45,5 @@ export type { BottomDrawerProps, DrawerType } from './Drawer';
44
45
  export { DrawerTypeEnum } from './Drawer';
45
46
  export { default as Navigation } from './Navigation';
46
47
  export type { RightLinkConfig, RightIcon, TitleIconBadgeConfig, INavigationProps } from './Navigation';
48
+ export { default as ListItem } from './ListItem';
49
+ export { ListItemTypes, TAPPABLE_AREAS } from './ListItem';
@@ -15,6 +15,7 @@ export { default as Search } from "./Search";
15
15
  export { default as Accordion } from "./Accordion";
16
16
  export { default as Toggle } from "./Toggle";
17
17
  export { default as Image } from "./Image";
18
+ export { BackImageEunm } from "./Image";
18
19
  export { default as Icon } from "./Icon";
19
20
  export { default as TextLink, TextLinkEnum } from "./TextLink";
20
21
  export { Toast } from "./Toast";
@@ -23,4 +24,6 @@ export { default as IconButton } from "./IconButton";
23
24
  export { default as IconButtonGroup } from "./IconButtonGroup";
24
25
  export { default as Drawer } from "./Drawer";
25
26
  export { DrawerTypeEnum } from "./Drawer";
26
- export { default as Navigation } from "./Navigation";
27
+ export { default as Navigation } from "./Navigation";
28
+ export { default as ListItem } from "./ListItem";
29
+ export { ListItemTypes, TAPPABLE_AREAS } from "./ListItem";
Binary file