@apexhub/apex-ui-react 0.0.0-stage → 1.2.2

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 (185) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +37 -2
  3. package/dist/en_US.d.ts +191 -0
  4. package/dist/index.cjs +40727 -0
  5. package/dist/index.d.ts +6873 -0
  6. package/dist/index.mjs +40711 -0
  7. package/dist/llm/alert.tokens.txt +44 -0
  8. package/dist/llm/alert.txt +167 -0
  9. package/dist/llm/apex-provider.txt +369 -0
  10. package/dist/llm/auto-complete.tokens.txt +77 -0
  11. package/dist/llm/auto-complete.txt +373 -0
  12. package/dist/llm/avatar.tokens.txt +38 -0
  13. package/dist/llm/avatar.txt +199 -0
  14. package/dist/llm/breadcrumb.tokens.txt +143 -0
  15. package/dist/llm/breadcrumb.txt +251 -0
  16. package/dist/llm/button.tokens.txt +470 -0
  17. package/dist/llm/button.txt +270 -0
  18. package/dist/llm/card.tokens.txt +29 -0
  19. package/dist/llm/card.txt +118 -0
  20. package/dist/llm/cascader.tokens.txt +261 -0
  21. package/dist/llm/cascader.txt +917 -0
  22. package/dist/llm/checkbox.tokens.txt +36 -0
  23. package/dist/llm/checkbox.txt +343 -0
  24. package/dist/llm/collapse.tokens.txt +84 -0
  25. package/dist/llm/collapse.txt +330 -0
  26. package/dist/llm/date-picker.tokens.txt +171 -0
  27. package/dist/llm/date-picker.txt +428 -0
  28. package/dist/llm/divider.tokens.txt +22 -0
  29. package/dist/llm/divider.txt +161 -0
  30. package/dist/llm/drawer.tokens.txt +71 -0
  31. package/dist/llm/drawer.txt +369 -0
  32. package/dist/llm/dropdown.tokens.txt +59 -0
  33. package/dist/llm/dropdown.txt +420 -0
  34. package/dist/llm/form.tokens.txt +28 -0
  35. package/dist/llm/form.txt +341 -0
  36. package/dist/llm/grid.txt +419 -0
  37. package/dist/llm/image.tokens.txt +28 -0
  38. package/dist/llm/image.txt +428 -0
  39. package/dist/llm/input-number.tokens.txt +159 -0
  40. package/dist/llm/input-number.txt +491 -0
  41. package/dist/llm/input.tokens.txt +136 -0
  42. package/dist/llm/input.txt +424 -0
  43. package/dist/llm/layout.tokens.txt +29 -0
  44. package/dist/llm/layout.txt +298 -0
  45. package/dist/llm/menu.tokens.txt +100 -0
  46. package/dist/llm/menu.txt +687 -0
  47. package/dist/llm/message.tokens.txt +25 -0
  48. package/dist/llm/message.txt +301 -0
  49. package/dist/llm/modal.tokens.txt +96 -0
  50. package/dist/llm/modal.txt +584 -0
  51. package/dist/llm/notification.tokens.txt +79 -0
  52. package/dist/llm/notification.txt +383 -0
  53. package/dist/llm/pagination.tokens.txt +35 -0
  54. package/dist/llm/pagination.txt +217 -0
  55. package/dist/llm/popover.tokens.txt +18 -0
  56. package/dist/llm/popover.txt +233 -0
  57. package/dist/llm/progress.tokens.txt +83 -0
  58. package/dist/llm/progress.txt +279 -0
  59. package/dist/llm/radio.tokens.txt +26 -0
  60. package/dist/llm/radio.txt +385 -0
  61. package/dist/llm/rate.tokens.txt +20 -0
  62. package/dist/llm/rate.txt +241 -0
  63. package/dist/llm/select.tokens.txt +160 -0
  64. package/dist/llm/select.txt +831 -0
  65. package/dist/llm/skeleton.tokens.txt +15 -0
  66. package/dist/llm/skeleton.txt +275 -0
  67. package/dist/llm/spin.tokens.txt +21 -0
  68. package/dist/llm/spin.txt +294 -0
  69. package/dist/llm/steps.tokens.txt +30 -0
  70. package/dist/llm/steps.txt +300 -0
  71. package/dist/llm/switch.tokens.txt +38 -0
  72. package/dist/llm/switch.txt +216 -0
  73. package/dist/llm/table.tokens.txt +94 -0
  74. package/dist/llm/table.txt +1049 -0
  75. package/dist/llm/tabs.tokens.txt +78 -0
  76. package/dist/llm/tabs.txt +306 -0
  77. package/dist/llm/tag.tokens.txt +75 -0
  78. package/dist/llm/tag.txt +304 -0
  79. package/dist/llm/tooltip.tokens.txt +22 -0
  80. package/dist/llm/tooltip.txt +304 -0
  81. package/dist/llm/tree-select.tokens.txt +175 -0
  82. package/dist/llm/tree-select.txt +772 -0
  83. package/dist/llm/tree.tokens.txt +34 -0
  84. package/dist/llm/tree.txt +501 -0
  85. package/dist/llm/typography.tokens.txt +60 -0
  86. package/dist/llm/typography.txt +413 -0
  87. package/dist/llm/upload.tokens.txt +205 -0
  88. package/dist/llm/upload.txt +708 -0
  89. package/dist/llms-full.txt +16826 -0
  90. package/dist/llms-theme.txt +32 -0
  91. package/dist/llms.txt +59 -0
  92. package/dist/locale/en_US.cjs +160 -0
  93. package/dist/locale/en_US.d.ts +4 -0
  94. package/dist/locale/en_US.mjs +161 -0
  95. package/dist/locale/zh_CN.cjs +160 -0
  96. package/dist/locale/zh_CN.d.ts +4 -0
  97. package/dist/locale/zh_CN.mjs +161 -0
  98. package/dist/style.css +20095 -0
  99. package/dist/zh_CN.d.ts +191 -0
  100. package/llms-full.txt +16826 -0
  101. package/llms-theme.txt +32 -0
  102. package/llms.txt +59 -0
  103. package/package.json +118 -3
  104. package/src/alert/llm.txt +167 -0
  105. package/src/alert/tokens.txt +44 -0
  106. package/src/apex-provider/llm.txt +369 -0
  107. package/src/auto-complete/llm.txt +373 -0
  108. package/src/auto-complete/tokens.txt +77 -0
  109. package/src/avatar/llm.txt +199 -0
  110. package/src/avatar/tokens.txt +38 -0
  111. package/src/breadcrumb/llm.txt +251 -0
  112. package/src/breadcrumb/tokens.txt +143 -0
  113. package/src/button/llm.txt +270 -0
  114. package/src/button/tokens.txt +470 -0
  115. package/src/card/llm.txt +118 -0
  116. package/src/card/tokens.txt +29 -0
  117. package/src/cascader/llm.txt +917 -0
  118. package/src/cascader/tokens.txt +261 -0
  119. package/src/checkbox/llm.txt +343 -0
  120. package/src/checkbox/tokens.txt +36 -0
  121. package/src/collapse/llm.txt +330 -0
  122. package/src/collapse/tokens.txt +84 -0
  123. package/src/date-picker/llm.txt +428 -0
  124. package/src/date-picker/tokens.txt +171 -0
  125. package/src/divider/llm.txt +161 -0
  126. package/src/divider/tokens.txt +22 -0
  127. package/src/drawer/llm.txt +369 -0
  128. package/src/drawer/tokens.txt +71 -0
  129. package/src/dropdown/llm.txt +420 -0
  130. package/src/dropdown/tokens.txt +59 -0
  131. package/src/form/llm.txt +341 -0
  132. package/src/form/tokens.txt +28 -0
  133. package/src/grid/llm.txt +419 -0
  134. package/src/image/llm.txt +428 -0
  135. package/src/image/tokens.txt +28 -0
  136. package/src/input/llm.txt +424 -0
  137. package/src/input/tokens.txt +136 -0
  138. package/src/input-number/llm.txt +491 -0
  139. package/src/input-number/tokens.txt +159 -0
  140. package/src/layout/llm.txt +298 -0
  141. package/src/layout/tokens.txt +29 -0
  142. package/src/menu/llm.txt +687 -0
  143. package/src/menu/tokens.txt +100 -0
  144. package/src/message/llm.txt +301 -0
  145. package/src/message/tokens.txt +25 -0
  146. package/src/modal/llm.txt +584 -0
  147. package/src/modal/tokens.txt +96 -0
  148. package/src/notification/llm.txt +383 -0
  149. package/src/notification/tokens.txt +79 -0
  150. package/src/pagination/llm.txt +217 -0
  151. package/src/pagination/tokens.txt +35 -0
  152. package/src/popover/llm.txt +233 -0
  153. package/src/popover/tokens.txt +18 -0
  154. package/src/progress/llm.txt +279 -0
  155. package/src/progress/tokens.txt +83 -0
  156. package/src/radio/llm.txt +385 -0
  157. package/src/radio/tokens.txt +26 -0
  158. package/src/rate/llm.txt +241 -0
  159. package/src/rate/tokens.txt +20 -0
  160. package/src/select/llm.txt +831 -0
  161. package/src/select/tokens.txt +160 -0
  162. package/src/skeleton/llm.txt +275 -0
  163. package/src/skeleton/tokens.txt +15 -0
  164. package/src/spin/llm.txt +294 -0
  165. package/src/spin/tokens.txt +21 -0
  166. package/src/steps/llm.txt +300 -0
  167. package/src/steps/tokens.txt +30 -0
  168. package/src/switch/llm.txt +216 -0
  169. package/src/switch/tokens.txt +38 -0
  170. package/src/table/llm.txt +1049 -0
  171. package/src/table/tokens.txt +94 -0
  172. package/src/tabs/llm.txt +306 -0
  173. package/src/tabs/tokens.txt +78 -0
  174. package/src/tag/llm.txt +304 -0
  175. package/src/tag/tokens.txt +75 -0
  176. package/src/tooltip/llm.txt +304 -0
  177. package/src/tooltip/tokens.txt +22 -0
  178. package/src/tree/llm.txt +501 -0
  179. package/src/tree/tokens.txt +34 -0
  180. package/src/tree-select/llm.txt +772 -0
  181. package/src/tree-select/tokens.txt +175 -0
  182. package/src/typography/llm.txt +413 -0
  183. package/src/typography/tokens.txt +60 -0
  184. package/src/upload/llm.txt +708 -0
  185. package/src/upload/tokens.txt +205 -0
@@ -0,0 +1,413 @@
1
+ # Typography
2
+
3
+ > Typography:需要按设计字阶展示标题(`Title`)、正文(`Text`)或段落(`Paragraph`)时。
4
+
5
+ 包:`@apexhub/apex-ui-react`;版本:`1.2.2`(当前源码快照,发布状态以安装包版本为准)。
6
+
7
+ 公开导出:`Typography`、`TypographyParagraph`、`TypographyText`、`TypographyTitle`。
8
+
9
+ 以下 API 属于 Apex UI;不要据 antd 的同名组件推断额外属性或默认值。默认值列的空缺表示未声明,不代表 `false`。
10
+
11
+ ## 快速开始
12
+
13
+ ```tsx
14
+ import { Typography } from '@apexhub/apex-ui-react'
15
+
16
+ import '@apexhub/apex-ui-react/style.css'
17
+
18
+ export default () => (
19
+ <Typography>
20
+ <Typography.Title level={2}>Apex UI</Typography.Title>
21
+ <Typography.Paragraph>
22
+ Typography 提供标题、正文和段落文本能力,适合在页面中组织清晰的信息层级。
23
+ </Typography.Paragraph>
24
+ </Typography>
25
+ )
26
+ ```
27
+
28
+ ## 何时使用
29
+
30
+ - 需要按设计字阶展示标题(`Title`)、正文(`Text`)或段落(`Paragraph`)时。
31
+ - 需要语义色、省略展开、一键复制或行内编辑等文本增强能力时。
32
+ - 需要链接样式文本时,使用原生 `<a>` 或 `Button type="link"`,当前不提供 `Typography.Link`。
33
+
34
+ ## API
35
+
36
+ 仅使用类型定义支持的属性;原生属性、ref 目标和事件签名因组件而异。关联类型用于解释字段结构;只有「导出类型」中的名称可从包根导入。
37
+
38
+ ### Typography
39
+
40
+ | 属性 | 说明 | 类型 | 必填 | 默认值 |
41
+ | --- | --- | --- | --- | --- |
42
+ | ref | — | `React.Ref<HTMLDivElement>` | 否 | — |
43
+
44
+ ### TypographyType
45
+
46
+ ```typescript
47
+ type TypographyType = 'secondary' | 'success' | 'warning' | 'danger'
48
+ ```
49
+
50
+ ### TypographyLevel
51
+
52
+ ```typescript
53
+ type TypographyLevel = 1 | 2 | 3 | 4
54
+ ```
55
+
56
+ ### TypographyTextVariant
57
+
58
+ ```typescript
59
+ type TypographyTextVariant = 'body' | 'caption'
60
+ ```
61
+
62
+ ### TypographyActions
63
+
64
+ | 属性 | 说明 | 类型 | 必填 | 默认值 |
65
+ | --- | --- | --- | --- | --- |
66
+ | placement | 操作栏相对于文本的位置。 | `"start" \| "end"` | 否 | `'end'` |
67
+
68
+ ### TypographyCopyableConfig
69
+
70
+ | 属性 | 说明 | 类型 | 必填 | 默认值 |
71
+ | --- | --- | --- | --- | --- |
72
+ | text | 复制到剪贴板的文本;默认取 children 文本 | `string` | 否 | — |
73
+ | onCopy | 复制成功回调 | `() => void` | 否 | — |
74
+ | icon | 自定义复制图标 | `React.ReactNode` | 否 | — |
75
+ | tooltips | 悬停提示文案 | `boolean \| [React.ReactNode, React.ReactNode]` | 否 | — |
76
+ | format | 剪贴板 MIME 类型 | `"text/plain" \| "text/html"` | 否 | — |
77
+ | tabIndex | — | `number` | 否 | — |
78
+
79
+ ### TypographyEditableConfig
80
+
81
+ | 属性 | 说明 | 类型 | 必填 | 默认值 |
82
+ | --- | --- | --- | --- | --- |
83
+ | icon | — | `React.ReactNode` | 否 | — |
84
+ | tooltip | — | `React.ReactNode` | 否 | — |
85
+ | editing | 受控编辑态 | `boolean` | 否 | — |
86
+ | maxLength | — | `number` | 否 | — |
87
+ | autoSize | — | `boolean \| { minRows?: number; maxRows?: number }` | 否 | — |
88
+ | text | 受控编辑文本 | `string` | 否 | — |
89
+ | onChange | — | `(value: string) => void` | 否 | — |
90
+ | onCancel | — | `() => void` | 否 | — |
91
+ | onStart | — | `() => void` | 否 | — |
92
+ | onEnd | — | `() => void` | 否 | — |
93
+ | triggerType | — | `('icon' \| 'text')[]` | 否 | — |
94
+ | enterIcon | — | `React.ReactNode` | 否 | — |
95
+ | tabIndex | — | `number` | 否 | — |
96
+
97
+ ### TypographyEllipsisPosition
98
+
99
+ ```typescript
100
+ type TypographyEllipsisPosition = 'start' | 'center' | 'end'
101
+ ```
102
+
103
+ ### TypographyEllipsisConfig
104
+
105
+ | 属性 | 说明 | 类型 | 必填 | 默认值 |
106
+ | --- | --- | --- | --- | --- |
107
+ | rows | 最大行数;`1` 为单行省略 | `number` | 否 | — |
108
+ | position | 省略号位置;仅单行(`rows: 1`)生效。 | `"start" \| "end" \| "center"` | 否 | `'end'` |
109
+ | expandable | — | `boolean \| 'collapsible'` | 否 | — |
110
+ | suffix | 自定义后缀,仅在开启省略时生效 | `string` | 否 | — |
111
+ | symbol | — | `React.ReactNode` | 否 | — |
112
+ | tooltip | 文本被截断时展示的提示;`true` 时使用 children 全文 | `boolean \| React.ReactNode` | 否 | — |
113
+ | defaultExpanded | — | `boolean` | 否 | — |
114
+ | expanded | 受控展开态 | `boolean` | 否 | — |
115
+ | onExpand | — | `(expanded: boolean) => void` | 否 | — |
116
+ | onEllipsis | — | `(ellipsis: boolean) => void` | 否 | — |
117
+
118
+ ### TypographySharedProps
119
+
120
+ Text / Title / Paragraph 共有 props
121
+
122
+ | 属性 | 说明 | 类型 | 必填 | 默认值 |
123
+ | --- | --- | --- | --- | --- |
124
+ | actions | — | `TypographyActions` | 否 | — |
125
+ | code | 代码样式 | `boolean` | 否 | — |
126
+ | copyable | — | `boolean \| TypographyCopyableConfig` | 否 | — |
127
+ | delete | 删除线样式 | `boolean` | 否 | — |
128
+ | disabled | — | `boolean` | 否 | — |
129
+ | editable | — | `boolean \| TypographyEditableConfig` | 否 | — |
130
+ | ellipsis | — | `boolean \| TypographyEllipsisConfig` | 否 | — |
131
+ | italic | — | `boolean` | 否 | — |
132
+ | mark | — | `boolean` | 否 | — |
133
+ | type | — | `"secondary" \| "success" \| "warning" \| "danger"` | 否 | — |
134
+ | underline | — | `boolean` | 否 | — |
135
+ | onClick | — | `(event: React.MouseEvent<HTMLElement>) => void` | 否 | — |
136
+ | className | — | `string` | 否 | — |
137
+ | children | — | `React.ReactNode` | 否 | — |
138
+ | style | — | `React.CSSProperties` | 否 | — |
139
+
140
+ ### TypographyTextProps
141
+
142
+ 继承:`Omit<React.HTMLAttributes<HTMLElement>, 'type' | 'onClick'>, TypographySharedProps`;本节列出新增或重声明字段。
143
+
144
+ | 属性 | 说明 | 类型 | 必填 | 默认值 |
145
+ | --- | --- | --- | --- | --- |
146
+ | keyboard | 键盘样式(`<kbd>` 视觉) | `boolean` | 否 | `false` |
147
+ | strong | 加粗 | `boolean` | 否 | `false` |
148
+ | variant | 字阶变体 | `"body" \| "caption"` | 否 | `'body'` |
149
+ | ref | 根节点 ref(React 19 普通 prop) | `React.Ref<HTMLSpanElement>` | 否 | — |
150
+
151
+ ### TypographyTitleProps
152
+
153
+ 继承:`Omit<React.HTMLAttributes<HTMLHeadingElement>, 'type' | 'onClick'>, TypographySharedProps`;本节列出新增或重声明字段。
154
+
155
+ | 属性 | 说明 | 类型 | 必填 | 默认值 |
156
+ | --- | --- | --- | --- | --- |
157
+ | level | 标题层级,对应 `h1`–`h4` | `TypographyLevel` | 否 | `1` |
158
+ | ref | 根节点 ref(React 19 普通 prop) | `React.Ref<HTMLHeadingElement>` | 否 | — |
159
+
160
+ ### TypographyParagraphProps
161
+
162
+ 继承:`Omit<React.HTMLAttributes<HTMLParagraphElement>, 'type' | 'onClick'>, TypographySharedProps`;本节列出新增或重声明字段。
163
+
164
+ | 属性 | 说明 | 类型 | 必填 | 默认值 |
165
+ | --- | --- | --- | --- | --- |
166
+ | strong | 加粗 | `boolean` | 否 | `false` |
167
+ | variant | 字阶变体 | `"body" \| "caption"` | 否 | `'body'` |
168
+ | ref | 根节点 ref(React 19 普通 prop) | `React.Ref<HTMLParagraphElement>` | 否 | — |
169
+
170
+ ### 导出类型
171
+
172
+ 另可从 `@apexhub/apex-ui-react` 导入:`TypographyActions`、`TypographyCopyableConfig`、`TypographyEditableConfig`、`TypographyEllipsisConfig`、`TypographyLevel`、`TypographyParagraphProps`、`TypographyProps`、`TypographySharedProps`、`TypographyTextProps`、`TypographyTextVariant`、`TypographyTitleProps`、`TypographyType`(与上文子类型配合使用)。
173
+
174
+ ## 代码演示
175
+
176
+ ### 标题层级
177
+
178
+ `Typography.Title` 支持 `level` 从 `1` 到 `4`,分别渲染为 `h1` 到 `h4`。
179
+
180
+ ```tsx
181
+ import { Typography } from '@apexhub/apex-ui-react'
182
+
183
+ export default () => (
184
+ <div style={{ display: 'flex', flexDirection: 'column', gap: 8 }}>
185
+ <Typography.Title level={1}>Heading 1</Typography.Title>
186
+ <Typography.Title level={2}>Heading 2</Typography.Title>
187
+ <Typography.Title level={3}>Heading 3</Typography.Title>
188
+ <Typography.Title level={4}>Heading 4</Typography.Title>
189
+ </div>
190
+ )
191
+ ```
192
+
193
+ ### 正文字阶
194
+
195
+ `Typography.Text` 和 `Typography.Paragraph` 支持 `body` 与 `caption` 两种字阶。
196
+
197
+ ```tsx
198
+ import { Typography } from '@apexhub/apex-ui-react'
199
+
200
+ export default () => (
201
+ <div style={{ display: 'flex', flexDirection: 'column', gap: 8 }}>
202
+ <Typography.Text variant="body">Body 正文文本</Typography.Text>
203
+ <Typography.Text variant="caption">Caption 辅助说明文本</Typography.Text>
204
+ <Typography.Paragraph variant="caption">
205
+ Paragraph 也可以使用 caption 字阶。
206
+ </Typography.Paragraph>
207
+ </div>
208
+ )
209
+ ```
210
+
211
+ ### 语义状态
212
+
213
+ 通过 `type` 表达次级、成功、警告和危险等文本语义。
214
+
215
+ ```tsx
216
+ import { Typography } from '@apexhub/apex-ui-react'
217
+
218
+ export default () => (
219
+ <div style={{ display: 'flex', gap: 16, alignItems: 'center', flexWrap: 'wrap' }}>
220
+ <Typography.Text type="secondary">Secondary</Typography.Text>
221
+ <Typography.Text type="success">Success</Typography.Text>
222
+ <Typography.Text type="warning">Warning</Typography.Text>
223
+ <Typography.Text type="danger">Danger</Typography.Text>
224
+ </div>
225
+ )
226
+ ```
227
+
228
+ ### 文本修饰
229
+
230
+ 支持加粗、斜体、下划线、删除线、标记、代码和键盘样式。
231
+
232
+ ```tsx
233
+ import { Typography } from '@apexhub/apex-ui-react'
234
+
235
+ export default () => (
236
+ <div style={{ display: 'flex', gap: 16, alignItems: 'center', flexWrap: 'wrap' }}>
237
+ <Typography.Text strong>Strong</Typography.Text>
238
+ <Typography.Text italic>Italic</Typography.Text>
239
+ <Typography.Text underline>Underline</Typography.Text>
240
+ <Typography.Text delete>Delete</Typography.Text>
241
+ <Typography.Text mark>Mark</Typography.Text>
242
+ <Typography.Text code>code</Typography.Text>
243
+ <Typography.Text keyboard>⌘ K</Typography.Text>
244
+ </div>
245
+ )
246
+ ```
247
+
248
+ ### 省略展示
249
+
250
+ 通过 `ellipsis` 控制单行或多行省略,也可以展示展开/收起按钮。
251
+
252
+ ```tsx
253
+ import { Switch, Typography } from '@apexhub/apex-ui-react'
254
+
255
+ import { useState } from 'react'
256
+
257
+ const content =
258
+ '这是一段较长的文本,用于展示 Typography 的省略能力。你可以限制展示行数,也可以提供展开和收起按钮,让用户按需查看完整内容。'
259
+
260
+ const longEnglish =
261
+ 'Ant Design, a design language for background applications, is refined by Ant UED Team. Ant Design, a design language for background applications, is refined by Ant UED Team.'
262
+
263
+ export default () => {
264
+ const [ellipsis, setEllipsis] = useState(true)
265
+
266
+ return (
267
+ <div style={{ display: 'flex', flexDirection: 'column', gap: 16, maxWidth: 360 }}>
268
+ <Switch checked={ellipsis} onChange={setEllipsis} />
269
+
270
+ <Typography.Text ellipsis={ellipsis}>{content}</Typography.Text>
271
+
272
+ <Typography.Paragraph ellipsis={{ rows: 2, expandable: 'collapsible', symbol: '更多' }}>
273
+ {content}
274
+ </Typography.Paragraph>
275
+
276
+ <Typography.Paragraph
277
+ ellipsis={ellipsis ? { rows: 2, expandable: true, symbol: 'more' } : false}
278
+ >
279
+ {longEnglish}
280
+ </Typography.Paragraph>
281
+
282
+ <Typography.Text
283
+ style={ellipsis ? { width: 200 } : undefined}
284
+ ellipsis={ellipsis ? { tooltip: 'I am ellipsis now!' } : false}
285
+ >
286
+ {longEnglish}
287
+ </Typography.Text>
288
+
289
+ <Typography.Text
290
+ code
291
+ style={ellipsis ? { width: 200 } : undefined}
292
+ ellipsis={ellipsis ? { tooltip: 'I am ellipsis now!' } : false}
293
+ >
294
+ {longEnglish}
295
+ </Typography.Text>
296
+
297
+ <Typography.Text
298
+ style={{ width: 200 }}
299
+ ellipsis={{ rows: 1, position: 'start', tooltip: true }}
300
+ >
301
+ {longEnglish}
302
+ </Typography.Text>
303
+ </div>
304
+ )
305
+ }
306
+ ```
307
+
308
+ ### 可复制
309
+
310
+ 设置 `copyable` 后会展示复制操作,可传入复制文本和复制回调。
311
+
312
+ ```tsx
313
+ import { Typography } from '@apexhub/apex-ui-react'
314
+
315
+ import { useState } from 'react'
316
+
317
+ export default () => {
318
+ const [message, setMessage] = useState('等待复制')
319
+
320
+ return (
321
+ <div style={{ display: 'flex', flexDirection: 'column', gap: 8, alignItems: 'flex-start' }}>
322
+ <Typography.Text
323
+ copyable={{ text: 'Apex UI Typography', onCopy: () => setMessage('已复制') }}
324
+ >
325
+ Apex UI Typography
326
+ </Typography.Text>
327
+ <Typography.Text variant="caption">{message}</Typography.Text>
328
+ </div>
329
+ )
330
+ }
331
+ ```
332
+
333
+ ### 可编辑
334
+
335
+ 设置 `editable` 后会展示编辑操作,支持保存、取消和最大长度等配置。
336
+
337
+ ```tsx
338
+ import { Typography } from '@apexhub/apex-ui-react'
339
+
340
+ import { useState } from 'react'
341
+
342
+ export default () => {
343
+ const [text, setText] = useState('点击编辑按钮修改这段文字')
344
+
345
+ return (
346
+ <Typography.Text
347
+ editable={{
348
+ text,
349
+ maxLength: 40,
350
+ onChange: setText,
351
+ }}
352
+ >
353
+ {text}
354
+ </Typography.Text>
355
+ )
356
+ }
357
+ ```
358
+
359
+ ### 操作位置
360
+
361
+ 通过 `actions.placement` 控制复制、编辑等操作显示在文本前或文本后。
362
+
363
+ ```tsx
364
+ import { Typography } from '@apexhub/apex-ui-react'
365
+
366
+ export default () => (
367
+ <div style={{ display: 'flex', flexDirection: 'column', gap: 12, alignItems: 'flex-start' }}>
368
+ <Typography.Text copyable editable actions={{ placement: 'start' }}>
369
+ 操作在文本前
370
+ </Typography.Text>
371
+ <Typography.Text copyable editable actions={{ placement: 'end' }}>
372
+ 操作在文本后
373
+ </Typography.Text>
374
+ </div>
375
+ )
376
+ ```
377
+
378
+ ### 禁用状态
379
+
380
+ `disabled` 会使用禁用样式,并隐藏复制和编辑操作。
381
+
382
+ ```tsx
383
+ import { Typography } from '@apexhub/apex-ui-react'
384
+
385
+ export default () => (
386
+ <div style={{ display: 'flex', flexDirection: 'column', gap: 8, alignItems: 'flex-start' }}>
387
+ <Typography.Text disabled>禁用文本</Typography.Text>
388
+ <Typography.Text disabled copyable editable>
389
+ 禁用时不会展示复制和编辑操作
390
+ </Typography.Text>
391
+ </div>
392
+ )
393
+ ```
394
+
395
+ ## DOM 结构
396
+
397
+ 源码声明的静态 `data-slot`:`typography-ellipsis-suffix`、`typography-actions`、`typography-edit`、`typography-ellipsis-expand`、`typography`。具体节点随模式和状态出现,不表示固定嵌套顺序。
398
+
399
+ ## 样式定制
400
+
401
+ 优先使用本组件公开的尺寸、类型和状态属性。换肤与变量覆盖方式见 [主题指南](../llms-theme.txt)。
402
+
403
+ 需要定制具体样式时再读取 [Token 明细](./typography.tokens.txt),其中包含用途、定义值及适用作用域。常规组件使用无需加载该文件。
404
+
405
+ ## FAQ
406
+
407
+ ### 为什么没有 `Typography.Link`?
408
+
409
+ 本期不实现 `Typography.Link`。链接文本可使用原生 `<a>` 配合品牌色 token,或使用 `Button type="link"`。
410
+
411
+ ### 哪些配置项传了但没有效果?
412
+
413
+ 以下 prop 已保留类型,但当前传入无效果:`copyable.tooltips`、`copyable.format`、`editable.tooltip`。`editable.triggerType` 当前仅支持 `icon` 触发。
@@ -0,0 +1,205 @@
1
+ # Upload Token 明细
2
+
3
+ 包:`@apexhub/apex-ui-react`;版本:`1.2.2`(当前源码快照)。
4
+
5
+ 按需读取:[组件用法](./upload.txt) · [主题与覆盖规则](../llms-theme.txt)。
6
+
7
+ 以下组件变量在设计 Token 源中已定义,并被组件或其共享样式使用;不包含仅在实现中声明的临时变量。用途来自实际 CSS 属性,不是对外新增的 Props。
8
+
9
+ 定义值依赖所列尺寸、变体、状态和媒体作用域;Alias 引用还会随 light/dark 主题改变。它们不是统一默认值或最终计算值。作用域用于解释定义位置,不代表内部选择器是稳定的定制 API。
10
+
11
+ | Token | 用途(CSS 属性) | 定义值 | 定义作用域 |
12
+ | --- | --- | --- | --- |
13
+ | `--button-text-active` | `color` | `var(--apex-text-brand-primary)` | `.apex-button.apex-link-default-button` |
14
+ | `--button-text-active` | `color` | `var(--apex-text-neutral-inverse)` | `.apex-button.apex-main-default-button` |
15
+ | `--button-text-active` | `color` | `var(--apex-text-neutral-inverse)` | `.apex-button.apex-main-error-button` |
16
+ | `--button-text-active` | `color` | `var(--apex-text-neutral-inverse)` | `.apex-button.apex-main-success-button` |
17
+ | `--button-text-active` | `color` | `var(--apex-text-neutral-inverse)` | `.apex-button.apex-main-warning-button` |
18
+ | `--button-text-active` | `color` | `var(--apex-text-neutral-primary)` | `.apex-button.apex-outline-brand-button` |
19
+ | `--button-text-active` | `color` | `var(--apex-text-neutral-primary)` | `.apex-button.apex-outline-default-button` |
20
+ | `--button-text-active` | `color` | `var(--apex-text-neutral-primary)` | `.apex-button.apex-outline-error-button` |
21
+ | `--button-text-active` | `color` | `var(--apex-text-neutral-primary)` | `.apex-button.apex-outline-success-button` |
22
+ | `--button-text-active` | `color` | `var(--apex-text-neutral-primary)` | `.apex-button.apex-outline-warning-button` |
23
+ | `--button-text-active` | `color` | `var(--apex-text-neutral-inverse)` | `.apex-button.apex-secondary-default-button` |
24
+ | `--button-text-active` | `color` | `var(--apex-text-brand-primary)` | `.apex-button.apex-text-default-button` |
25
+ | `--button-text-active` | `color` | `var(--apex-text-brand-tertiary)` | `.apex-button.apex-text-secondary-button` |
26
+ | `--image-radius-radius` | `border-radius` | `var(--apex-radius-4)` | `.apex-image.apex-picture-image` |
27
+ | `--image-size-height` | `height` | `var(--apex-size-80)` | `.apex-image.apex-picture-image` |
28
+ | `--image-size-width` | `width` | `var(--apex-size-80)` | `.apex-image.apex-picture-image` |
29
+ | `--overlay-fill-default` | `background` | `var(--apex-fill-neutral-overlay)` | `.apex-overlay.apex-default-overlay` |
30
+ | `--upload-fill-active` | `background` | `var(--apex-fill-neutral-quaternary)` | `.apex-upload.apex-item-default-upload` |
31
+ | `--upload-fill-active` | `background` | `var(--apex-fill-neutral-quaternary)` | `.apex-upload.apex-item-elevated-upload` |
32
+ | `--upload-fill-active` | `background` | `var(--apex-fill-neutral-quinary)` | `.apex-upload.apex-picture-upload` |
33
+ | `--upload-fill-active` | `background` | `var(--apex-fill-neutral-quinary)` | `.apex-upload.apex-trigger-default-upload` |
34
+ | `--upload-fill-active` | `background` | `var(--apex-fill-neutral-senary)` | `.apex-upload.apex-trigger-elevated-upload` |
35
+ | `--upload-fill-default` | `background` | `var(--apex-fill-neutral-tertiary)` | `.apex-upload.apex-item-default-upload` |
36
+ | `--upload-fill-default` | `background` | `var(--apex-fill-neutral-quaternary)` | `.apex-upload.apex-item-elevated-upload` |
37
+ | `--upload-fill-default` | `background` | `var(--apex-fill-neutral-tertiary)` | `.apex-upload.apex-picture-upload` |
38
+ | `--upload-fill-default` | `background` | `var(--apex-fill-neutral-tertiary)` | `.apex-upload.apex-trigger-default-upload` |
39
+ | `--upload-fill-default` | `background` | `var(--apex-fill-neutral-quaternary)` | `.apex-upload.apex-trigger-elevated-upload` |
40
+ | `--upload-fill-disabled` | `background` | `var(--apex-fill-neutral-secondary)` | `.apex-upload.apex-item-default-upload` |
41
+ | `--upload-fill-disabled` | `background` | `var(--apex-fill-neutral-tertiary)` | `.apex-upload.apex-item-elevated-upload` |
42
+ | `--upload-fill-disabled` | `background` | `var(--apex-fill-neutral-secondary)` | `.apex-upload.apex-picture-upload` |
43
+ | `--upload-fill-disabled` | `background` | `var(--apex-fill-neutral-secondary)` | `.apex-upload.apex-trigger-default-upload` |
44
+ | `--upload-fill-disabled` | `background` | `var(--apex-fill-neutral-tertiary)` | `.apex-upload.apex-trigger-elevated-upload` |
45
+ | `--upload-fill-error` | `background` | `var(--apex-fill-error-alpha-secondary)` | `.apex-upload.apex-item-default-upload` |
46
+ | `--upload-fill-error` | `background` | `var(--apex-fill-error-alpha-secondary)` | `.apex-upload.apex-item-elevated-upload` |
47
+ | `--upload-fill-error` | `background` | `var(--apex-fill-error-alpha-primary)` | `.apex-upload.apex-picture-upload` |
48
+ | `--upload-fill-error` | `background` | `var(--apex-fill-error-alpha-secondary)` | `.apex-upload.apex-trigger-default-upload` |
49
+ | `--upload-fill-error` | `background` | `var(--apex-fill-error-alpha-secondary)` | `.apex-upload.apex-trigger-elevated-upload` |
50
+ | `--upload-fill-hover` | `background` | `var(--apex-fill-neutral-quaternary)` | `.apex-upload.apex-item-default-upload` |
51
+ | `--upload-fill-hover` | `background` | `var(--apex-fill-neutral-quaternary)` | `.apex-upload.apex-item-elevated-upload` |
52
+ | `--upload-fill-hover` | `background` | `var(--apex-fill-neutral-quaternary)` | `.apex-upload.apex-picture-upload` |
53
+ | `--upload-fill-hover` | `background` | `var(--apex-fill-neutral-quaternary)` | `.apex-upload.apex-trigger-default-upload` |
54
+ | `--upload-fill-hover` | `background` | `var(--apex-fill-neutral-quinary)` | `.apex-upload.apex-trigger-elevated-upload` |
55
+ | `--upload-fill-loading` | `background` | `var(--apex-fill-neutral-quaternary)` | `.apex-upload.apex-item-default-upload` |
56
+ | `--upload-fill-loading` | `background` | `var(--apex-fill-neutral-quinary)` | `.apex-upload.apex-item-elevated-upload` |
57
+ | `--upload-fill-loading` | `background` | `var(--apex-fill-neutral-quaternary)` | `.apex-upload.apex-picture-upload` |
58
+ | `--upload-fill-loading` | `background` | `var(--apex-fill-neutral-quaternary)` | `.apex-upload.apex-trigger-default-upload` |
59
+ | `--upload-fill-loading` | `background` | `var(--apex-fill-neutral-quinary)` | `.apex-upload.apex-trigger-elevated-upload` |
60
+ | `--upload-fill-over` | `background` | `var(--apex-fill-brand-alpha-secondary)` | `.apex-upload.apex-trigger-default-upload` |
61
+ | `--upload-fill-over` | `background` | `var(--apex-fill-brand-alpha-secondary)` | `.apex-upload.apex-trigger-elevated-upload` |
62
+ | `--upload-icon-active` | `color` | `var(--apex-icon-neutral-tertiary)` | `.apex-upload.apex-item-default-upload` |
63
+ | `--upload-icon-active` | `color` | `var(--apex-icon-neutral-tertiary)` | `.apex-upload.apex-item-elevated-upload` |
64
+ | `--upload-icon-active` | `color` | `var(--apex-icon-neutral-tertiary)` | `.apex-upload.apex-picture-upload` |
65
+ | `--upload-icon-active` | `color` | `var(--apex-icon-neutral-tertiary)` | `.apex-upload.apex-trigger-default-upload` |
66
+ | `--upload-icon-active` | `color` | `var(--apex-icon-neutral-tertiary)` | `.apex-upload.apex-trigger-elevated-upload` |
67
+ | `--upload-icon-default` | `color` | `var(--apex-icon-neutral-primary)` | `.apex-upload.apex-item-default-upload` |
68
+ | `--upload-icon-default` | `color` | `var(--apex-icon-neutral-primary)` | `.apex-upload.apex-item-elevated-upload` |
69
+ | `--upload-icon-default` | `color` | `var(--apex-icon-neutral-primary)` | `.apex-upload.apex-picture-upload` |
70
+ | `--upload-icon-default` | `color` | `var(--apex-icon-neutral-primary)` | `.apex-upload.apex-trigger-default-upload` |
71
+ | `--upload-icon-default` | `color` | `var(--apex-icon-neutral-primary)` | `.apex-upload.apex-trigger-elevated-upload` |
72
+ | `--upload-icon-disable` | `color` | `var(--apex-icon-neutral-disabled)` | `.apex-upload.apex-item-elevated-upload` |
73
+ | `--upload-icon-disable` | `color` | `var(--apex-icon-neutral-disabled)` | `.apex-upload.apex-picture-upload` |
74
+ | `--upload-icon-disable` | `color` | `var(--apex-icon-neutral-disabled)` | `.apex-upload.apex-trigger-default-upload` |
75
+ | `--upload-icon-disable` | `color` | `var(--apex-icon-neutral-disabled)` | `.apex-upload.apex-trigger-elevated-upload` |
76
+ | `--upload-icon-disabled` | `color` | `var(--apex-icon-neutral-disabled)` | `.apex-upload.apex-item-default-upload` |
77
+ | `--upload-icon-disabled` | `color` | `var(--upload-icon-disable)` | `.apex-upload.apex-item-elevated-upload, .apex-upload.apex-trigger-default-upload, .apex-upload.apex-trigger-elevated-upload` |
78
+ | `--upload-icon-error` | `color` | `var(--apex-icon-neutral-primary)` | `.apex-upload.apex-item-default-upload` |
79
+ | `--upload-icon-error` | `color` | `var(--apex-icon-neutral-primary)` | `.apex-upload.apex-item-elevated-upload` |
80
+ | `--upload-icon-error` | `color` | `var(--apex-icon-error-primary)` | `.apex-upload.apex-picture-upload` |
81
+ | `--upload-icon-error` | `color` | `var(--apex-icon-error-primary)` | `.apex-upload.apex-trigger-default-upload` |
82
+ | `--upload-icon-error` | `color` | `var(--apex-icon-error-primary)` | `.apex-upload.apex-trigger-elevated-upload` |
83
+ | `--upload-icon-hover` | `color` | `var(--apex-icon-neutral-secondary)` | `.apex-upload.apex-item-default-upload` |
84
+ | `--upload-icon-hover` | `color` | `var(--apex-icon-neutral-secondary)` | `.apex-upload.apex-item-elevated-upload` |
85
+ | `--upload-icon-hover` | `color` | `var(--apex-icon-neutral-secondary)` | `.apex-upload.apex-picture-upload` |
86
+ | `--upload-icon-hover` | `color` | `var(--apex-icon-neutral-secondary)` | `.apex-upload.apex-trigger-default-upload` |
87
+ | `--upload-icon-hover` | `color` | `var(--apex-icon-neutral-secondary)` | `.apex-upload.apex-trigger-elevated-upload` |
88
+ | `--upload-icon-icon` | `font-size`、`height`、`width` | `var(--apex-icon-20)` | `.apex-upload__text-icon, .apex-upload__prefix-icon` |
89
+ | `--upload-icon-icon` | `font-size`、`height`、`width` | `var(--apex-icon-40)` | `.apex-upload.apex-item-md-upload` |
90
+ | `--upload-icon-icon` | `font-size`、`height`、`width` | `var(--apex-icon-16)` | `.apex-upload.apex-item-sm-upload` |
91
+ | `--upload-icon-icon` | `font-size`、`height`、`width` | `var(--apex-icon-24)` | `.apex-upload.apex-trigger-md-upload` |
92
+ | `--upload-icon-icon` | `font-size`、`height`、`width` | `var(--apex-icon-14)` | `.apex-upload.apex-trigger-sm-upload` |
93
+ | `--upload-icon-loading` | `color` | `var(--apex-icon-neutral-tertiary)` | `.apex-upload.apex-item-default-upload` |
94
+ | `--upload-icon-loading` | `color` | `var(--apex-icon-neutral-tertiary)` | `.apex-upload.apex-item-elevated-upload` |
95
+ | `--upload-icon-loading` | `color` | `var(--apex-icon-neutral-tertiary)` | `.apex-upload.apex-picture-upload` |
96
+ | `--upload-icon-loading` | `color` | `var(--apex-icon-neutral-tertiary)` | `.apex-upload.apex-trigger-default-upload` |
97
+ | `--upload-icon-loading` | `color` | `var(--apex-icon-neutral-tertiary)` | `.apex-upload.apex-trigger-elevated-upload` |
98
+ | `--upload-radius-radius` | `border-radius` | `var(--apex-radius-8)` | `.apex-upload.apex-item-md-upload` |
99
+ | `--upload-radius-radius` | `border-radius` | `var(--apex-radius-8)` | `.apex-upload.apex-item-sm-upload` |
100
+ | `--upload-radius-radius` | `border-radius` | `var(--apex-radius-8)` | `.apex-upload.apex-trigger-md-upload` |
101
+ | `--upload-radius-radius` | `border-radius` | `var(--apex-radius-8)` | `.apex-upload.apex-trigger-sm-upload` |
102
+ | `--upload-size-height` | `height`、`min-height` | `var(--apex-size-56)` | `.apex-upload.apex-item-md-upload` |
103
+ | `--upload-size-height` | `height`、`min-height` | `var(--apex-size-32)` | `.apex-upload.apex-item-sm-upload` |
104
+ | `--upload-size-height` | `height`、`min-height` | `var(--apex-size-80)` | `.apex-upload.apex-trigger-sm-upload` |
105
+ | `--upload-size-width` | `width` | `var(--apex-size-80)` | `.apex-upload.apex-trigger-sm-upload` |
106
+ | `--upload-spacing-gap` | `gap` | `var(--apex-spacing-8)` | `.apex-upload.apex-item-md-upload` |
107
+ | `--upload-spacing-gap` | `gap` | `var(--apex-spacing-8)` | `.apex-upload.apex-item-sm-upload` |
108
+ | `--upload-spacing-gap` | `gap` | `var(--apex-spacing-24)` | `.apex-upload.apex-trigger-md-upload` |
109
+ | `--upload-spacing-gap` | `gap` | `var(--apex-spacing-12)` | `.apex-upload.apex-trigger-sm-upload` |
110
+ | `--upload-spacing-gap-text` | `gap` | `var(--apex-spacing-4)` | `.apex-upload.apex-trigger-md-upload` |
111
+ | `--upload-spacing-padding-x` | `padding` | `var(--apex-spacing-12)` | `.apex-upload.apex-item-md-upload` |
112
+ | `--upload-spacing-padding-x` | `padding` | `var(--apex-spacing-12)` | `.apex-upload.apex-item-sm-upload` |
113
+ | `--upload-spacing-padding-x` | `padding` | `var(--apex-spacing-16)` | `.apex-upload.apex-trigger-md-upload` |
114
+ | `--upload-spacing-padding-x` | `padding` | `var(--apex-spacing-8)` | `.apex-upload.apex-trigger-sm-upload` |
115
+ | `--upload-spacing-padding-y` | `padding` | `var(--apex-spacing-32)` | `.apex-upload.apex-trigger-md-upload` |
116
+ | `--upload-spacing-padding-y` | `padding` | `var(--apex-spacing-8)` | `.apex-upload.apex-trigger-sm-upload` |
117
+ | `--upload-stroke-active` | `border-color` | `var(--apex-stroke-brand-secondary)` | `.apex-upload.apex-item-default-upload` |
118
+ | `--upload-stroke-active` | `border-color` | `var(--apex-stroke-brand-secondary)` | `.apex-upload.apex-item-elevated-upload` |
119
+ | `--upload-stroke-active` | `border-color` | `var(--apex-stroke-brand-secondary)` | `.apex-upload.apex-picture-upload` |
120
+ | `--upload-stroke-active` | `border-color` | `var(--apex-stroke-brand-secondary)` | `.apex-upload.apex-trigger-default-upload` |
121
+ | `--upload-stroke-active` | `border-color` | `var(--apex-stroke-brand-secondary)` | `.apex-upload.apex-trigger-elevated-upload` |
122
+ | `--upload-stroke-default` | `border` | `var(--apex-stroke-neutral-quaternary)` | `.apex-upload.apex-item-default-upload` |
123
+ | `--upload-stroke-default` | `border` | `var(--apex-stroke-neutral-quinary)` | `.apex-upload.apex-item-elevated-upload` |
124
+ | `--upload-stroke-default` | `border` | `var(--apex-stroke-neutral-quaternary)` | `.apex-upload.apex-picture-upload` |
125
+ | `--upload-stroke-default` | `border` | `var(--apex-stroke-neutral-quaternary)` | `.apex-upload.apex-trigger-default-upload` |
126
+ | `--upload-stroke-default` | `border` | `var(--apex-stroke-neutral-quinary)` | `.apex-upload.apex-trigger-elevated-upload` |
127
+ | `--upload-stroke-disabled` | `border-color` | `var(--apex-stroke-neutral-tertiary)` | `.apex-upload.apex-item-default-upload` |
128
+ | `--upload-stroke-disabled` | `border-color` | `var(--apex-stroke-neutral-quaternary)` | `.apex-upload.apex-item-elevated-upload` |
129
+ | `--upload-stroke-disabled` | `border-color` | `var(--apex-stroke-neutral-tertiary)` | `.apex-upload.apex-picture-upload` |
130
+ | `--upload-stroke-disabled` | `border-color` | `var(--apex-stroke-neutral-tertiary)` | `.apex-upload.apex-trigger-default-upload` |
131
+ | `--upload-stroke-disabled` | `border-color` | `var(--apex-stroke-neutral-quaternary)` | `.apex-upload.apex-trigger-elevated-upload` |
132
+ | `--upload-stroke-error` | `border-color` | `var(--apex-stroke-error-primary)` | `.apex-upload.apex-item-default-upload` |
133
+ | `--upload-stroke-error` | `border-color` | `var(--apex-stroke-error-primary)` | `.apex-upload.apex-item-elevated-upload` |
134
+ | `--upload-stroke-error` | `border-color` | `var(--apex-stroke-error-primary)` | `.apex-upload.apex-picture-upload` |
135
+ | `--upload-stroke-error` | `border-color` | `var(--apex-stroke-error-primary)` | `.apex-upload.apex-trigger-default-upload` |
136
+ | `--upload-stroke-error` | `border-color` | `var(--apex-stroke-error-primary)` | `.apex-upload.apex-trigger-elevated-upload` |
137
+ | `--upload-stroke-hover` | `border-color` | `var(--apex-stroke-brand-primary)` | `.apex-upload.apex-item-default-upload` |
138
+ | `--upload-stroke-hover` | `border-color` | `var(--apex-stroke-brand-primary)` | `.apex-upload.apex-item-elevated-upload` |
139
+ | `--upload-stroke-hover` | `border-color` | `var(--apex-stroke-brand-primary)` | `.apex-upload.apex-picture-upload` |
140
+ | `--upload-stroke-hover` | `border-color` | `var(--apex-stroke-brand-primary)` | `.apex-upload.apex-trigger-default-upload` |
141
+ | `--upload-stroke-hover` | `border-color` | `var(--apex-stroke-brand-primary)` | `.apex-upload.apex-trigger-elevated-upload` |
142
+ | `--upload-stroke-loading` | `border-color` | `var(--apex-stroke-neutral-quaternary)` | `.apex-upload.apex-item-default-upload` |
143
+ | `--upload-stroke-loading` | `border-color` | `var(--apex-stroke-neutral-senary)` | `.apex-upload.apex-item-elevated-upload` |
144
+ | `--upload-stroke-loading` | `border-color` | `var(--apex-stroke-neutral-quaternary)` | `.apex-upload.apex-picture-upload` |
145
+ | `--upload-stroke-loading` | `border-color` | `var(--apex-stroke-neutral-quinary)` | `.apex-upload.apex-trigger-default-upload` |
146
+ | `--upload-stroke-loading` | `border-color` | `var(--apex-stroke-neutral-senary)` | `.apex-upload.apex-trigger-elevated-upload` |
147
+ | `--upload-stroke-stroke` | `border` | `var(--apex-border-1)` | `.apex-upload.apex-item-md-upload` |
148
+ | `--upload-stroke-stroke` | `border` | `var(--apex-border-1)` | `.apex-upload.apex-item-sm-upload` |
149
+ | `--upload-stroke-stroke` | `border` | `var(--apex-border-1)` | `.apex-upload.apex-trigger-md-upload` |
150
+ | `--upload-stroke-stroke` | `border` | `var(--apex-border-1)` | `.apex-upload.apex-trigger-sm-upload` |
151
+ | `--upload-text-active` | `color` | `var(--apex-text-neutral-secondary)` | `.apex-upload.apex-picture-upload` |
152
+ | `--upload-text-caption-active` | `color` | `var(--apex-text-neutral-tertiary)` | `.apex-upload.apex-item-default-upload` |
153
+ | `--upload-text-caption-active` | `color` | `var(--apex-text-neutral-tertiary)` | `.apex-upload.apex-item-elevated-upload` |
154
+ | `--upload-text-caption-active` | `color` | `var(--apex-text-neutral-secondary)` | `.apex-upload.apex-trigger-default-upload` |
155
+ | `--upload-text-caption-active` | `color` | `var(--apex-text-neutral-secondary)` | `.apex-upload.apex-trigger-elevated-upload` |
156
+ | `--upload-text-caption-default` | `color` | `var(--apex-text-neutral-tertiary)` | `.apex-upload.apex-item-default-upload` |
157
+ | `--upload-text-caption-default` | `color` | `var(--apex-text-neutral-tertiary)` | `.apex-upload.apex-item-elevated-upload` |
158
+ | `--upload-text-caption-default` | `color` | `var(--apex-text-neutral-tertiary)` | `.apex-upload.apex-trigger-default-upload` |
159
+ | `--upload-text-caption-default` | `color` | `var(--apex-text-neutral-tertiary)` | `.apex-upload.apex-trigger-elevated-upload` |
160
+ | `--upload-text-caption-diasbled` | `color` | `var(--apex-text-neutral-disabled)` | `.apex-upload.apex-item-elevated-upload` |
161
+ | `--upload-text-caption-diasbled` | `color` | `var(--apex-text-neutral-disabled)` | `.apex-upload.apex-trigger-default-upload` |
162
+ | `--upload-text-caption-diasbled` | `color` | `var(--apex-text-neutral-disabled)` | `.apex-upload.apex-trigger-elevated-upload` |
163
+ | `--upload-text-caption-disabled` | `color` | `var(--apex-text-neutral-disabled)` | `.apex-upload.apex-item-default-upload` |
164
+ | `--upload-text-caption-disabled` | `color` | `var(--upload-text-caption-diasbled)` | `.apex-upload.apex-item-elevated-upload, .apex-upload.apex-trigger-default-upload, .apex-upload.apex-trigger-elevated-upload` |
165
+ | `--upload-text-caption-error` | `color` | `var(--apex-text-neutral-primary)` | `.apex-upload.apex-item-default-upload` |
166
+ | `--upload-text-caption-error` | `color` | `var(--apex-text-neutral-primary)` | `.apex-upload.apex-item-elevated-upload` |
167
+ | `--upload-text-caption-error` | `color` | `var(--apex-text-neutral-primary)` | `.apex-upload.apex-trigger-default-upload` |
168
+ | `--upload-text-caption-error` | `color` | `var(--apex-text-neutral-primary)` | `.apex-upload.apex-trigger-elevated-upload` |
169
+ | `--upload-text-caption-hover` | `color` | `var(--apex-text-neutral-tertiary)` | `.apex-upload.apex-item-default-upload` |
170
+ | `--upload-text-caption-hover` | `color` | `var(--apex-text-neutral-tertiary)` | `.apex-upload.apex-item-elevated-upload` |
171
+ | `--upload-text-caption-hover` | `color` | `var(--apex-text-neutral-secondary)` | `.apex-upload.apex-trigger-default-upload` |
172
+ | `--upload-text-caption-hover` | `color` | `var(--apex-text-neutral-secondary)` | `.apex-upload.apex-trigger-elevated-upload` |
173
+ | `--upload-text-caption-loading` | `color` | `var(--apex-text-neutral-tertiary)` | `.apex-upload.apex-item-default-upload` |
174
+ | `--upload-text-caption-loading` | `color` | `var(--apex-text-neutral-tertiary)` | `.apex-upload.apex-item-elevated-upload` |
175
+ | `--upload-text-caption-loading` | `color` | `var(--apex-text-neutral-secondary)` | `.apex-upload.apex-trigger-default-upload` |
176
+ | `--upload-text-caption-loading` | `color` | `var(--apex-text-neutral-secondary)` | `.apex-upload.apex-trigger-elevated-upload` |
177
+ | `--upload-text-default` | `color` | `var(--apex-text-neutral-tertiary)` | `.apex-upload.apex-picture-upload` |
178
+ | `--upload-text-diasbled` | `color` | `var(--apex-text-neutral-disabled)` | `.apex-upload.apex-picture-upload` |
179
+ | `--upload-text-hover` | `color` | `var(--apex-text-neutral-secondary)` | `.apex-upload.apex-picture-upload` |
180
+ | `--upload-text-title-active` | `color` | `var(--apex-text-neutral-secondary)` | `.apex-upload.apex-item-default-upload` |
181
+ | `--upload-text-title-active` | `color` | `var(--apex-text-neutral-secondary)` | `.apex-upload.apex-item-elevated-upload` |
182
+ | `--upload-text-title-active` | `color` | `var(--apex-text-neutral-secondary)` | `.apex-upload.apex-trigger-default-upload` |
183
+ | `--upload-text-title-active` | `color` | `var(--apex-text-neutral-secondary)` | `.apex-upload.apex-trigger-elevated-upload` |
184
+ | `--upload-text-title-default` | `color` | `var(--apex-text-neutral-tertiary)` | `.apex-upload.apex-item-default-upload` |
185
+ | `--upload-text-title-default` | `color` | `var(--apex-text-neutral-tertiary)` | `.apex-upload.apex-item-elevated-upload` |
186
+ | `--upload-text-title-default` | `color` | `var(--apex-text-neutral-tertiary)` | `.apex-upload.apex-trigger-default-upload` |
187
+ | `--upload-text-title-default` | `color` | `var(--apex-text-neutral-tertiary)` | `.apex-upload.apex-trigger-elevated-upload` |
188
+ | `--upload-text-title-diasbled` | `color` | `var(--apex-text-neutral-disabled)` | `.apex-upload.apex-item-elevated-upload` |
189
+ | `--upload-text-title-diasbled` | `color` | `var(--apex-text-neutral-disabled)` | `.apex-upload.apex-trigger-default-upload` |
190
+ | `--upload-text-title-diasbled` | `color` | `var(--apex-text-neutral-disabled)` | `.apex-upload.apex-trigger-elevated-upload` |
191
+ | `--upload-text-title-disabled` | `color` | `var(--apex-text-neutral-disabled)` | `.apex-upload.apex-item-default-upload` |
192
+ | `--upload-text-title-disabled` | `color` | `var(--upload-text-title-diasbled)` | `.apex-upload.apex-item-elevated-upload, .apex-upload.apex-trigger-default-upload, .apex-upload.apex-trigger-elevated-upload` |
193
+ | `--upload-text-title-disabled` | `color` | `var(--upload-text-disabled)` | `.apex-upload.apex-picture-upload` |
194
+ | `--upload-text-title-error` | `color` | `var(--apex-text-neutral-primary)` | `.apex-upload.apex-item-default-upload` |
195
+ | `--upload-text-title-error` | `color` | `var(--apex-text-neutral-primary)` | `.apex-upload.apex-item-elevated-upload` |
196
+ | `--upload-text-title-error` | `color` | `var(--apex-text-neutral-primary)` | `.apex-upload.apex-trigger-default-upload` |
197
+ | `--upload-text-title-error` | `color` | `var(--apex-text-neutral-primary)` | `.apex-upload.apex-trigger-elevated-upload` |
198
+ | `--upload-text-title-hover` | `color` | `var(--apex-text-neutral-secondary)` | `.apex-upload.apex-item-default-upload` |
199
+ | `--upload-text-title-hover` | `color` | `var(--apex-text-neutral-secondary)` | `.apex-upload.apex-item-elevated-upload` |
200
+ | `--upload-text-title-hover` | `color` | `var(--apex-text-neutral-secondary)` | `.apex-upload.apex-trigger-default-upload` |
201
+ | `--upload-text-title-hover` | `color` | `var(--apex-text-neutral-secondary)` | `.apex-upload.apex-trigger-elevated-upload` |
202
+ | `--upload-text-title-loading` | `color` | `var(--apex-text-neutral-secondary)` | `.apex-upload.apex-item-default-upload` |
203
+ | `--upload-text-title-loading` | `color` | `var(--apex-text-neutral-secondary)` | `.apex-upload.apex-item-elevated-upload` |
204
+ | `--upload-text-title-loading` | `color` | `var(--apex-text-neutral-secondary)` | `.apex-upload.apex-trigger-default-upload` |
205
+ | `--upload-text-title-loading` | `color` | `var(--apex-text-neutral-secondary)` | `.apex-upload.apex-trigger-elevated-upload` |