@aviala-design/spiral 2.5.0 → 2.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,21 @@
1
1
  {
2
2
  "Button": [
3
+ {
4
+ "version": "2.6.1",
5
+ "sections": {
6
+ "Changed": [
7
+ "Hover/Active 改为共享交互 token:Primary 悬停加深、按下变浅;Ghost 使用 neutral-3 → lightBackground-1;Default 使用 filled 1→2 阶"
8
+ ]
9
+ }
10
+ },
11
+ {
12
+ "version": "2.6.0",
13
+ "sections": {
14
+ "Added": [
15
+ "`outline` / `outlineCustom` 模式(Figma `Mode=Outline` / `Outline-Custom`):透明底 + `border-normal-primary` 外描边;主题色 / 中性色文字"
16
+ ]
17
+ }
18
+ },
3
19
  {
4
20
  "version": "2.1.0",
5
21
  "sections": {
@@ -10,6 +26,17 @@
10
26
  }
11
27
  ],
12
28
  "CascaderField": [
29
+ {
30
+ "version": "2.6.0",
31
+ "sections": {
32
+ "Changed": [
33
+ "默认 placeholder 改由 `LocaleProvider` 提供"
34
+ ],
35
+ "Fixed": [
36
+ "展开箭头与键盘左右键在 RTL 下按阅读方向展开"
37
+ ]
38
+ }
39
+ },
13
40
  {
14
41
  "version": "2.0.0",
15
42
  "sections": {
@@ -38,7 +65,56 @@
38
65
  }
39
66
  }
40
67
  ],
68
+ "ColorPicker": [
69
+ {
70
+ "version": "2.6.0",
71
+ "sections": {
72
+ "Changed": [
73
+ "色相 / 透明度轨道改为复用共享 `Slider`(新拇指视觉与交互),轨道仍为光谱 / 透明度渐变",
74
+ "ColorPicker 内轨道使用 `size=\"big\"`(16px,与拇指同高)+ inset ring;透明度渐变用同色 `rgba(…,0)` 避免脏插值,棋盘格与渐变均 `100%` 铺满",
75
+ "色相状态改为本地 HSVA 保真:拖到 360°(与 0° 同为红色)时拇指不再被 hex 往返弹回起点",
76
+ "占位与控件 aria 文案改由 `LocaleProvider` 提供"
77
+ ]
78
+ }
79
+ }
80
+ ],
81
+ "ConfigProvider": [
82
+ {
83
+ "version": "2.6.0",
84
+ "sections": {
85
+ "Added": [
86
+ "`ConfigProvider` with `direction` (`ltr` | `rtl`), optional `locale` (nests `LocaleProvider`), and `syncDocumentDir` for portalled overlays",
87
+ "`useDirection` / `useRtl` plus `mirrorSide` / `forwardChevronSide` / `backChevronSide` helpers"
88
+ ],
89
+ "Fixed": [
90
+ "Pagination / Breadcrumb / List / Card / Cascader / Select / Navigation / DatePicker 方向性箭头与侧向行为跟随 `direction`"
91
+ ]
92
+ }
93
+ }
94
+ ],
41
95
  "DatePickerField": [
96
+ {
97
+ "version": "2.6.1",
98
+ "sections": {
99
+ "Changed": [
100
+ "日历面板上一月 / 下一月导航图标改为 `direction/arrowLeftLight` 与 `direction/arrowRightLight`",
101
+ "导航箭头按压缩小,松开后沿翻页方向飞出并由对侧飞入",
102
+ "月/年与时间滚轮:鼠标滚轮步进更灵敏,可一次跨多格,并允许打断进行中的平滑滚动",
103
+ "loop 滚轮按当前位置最短路径滚动,跨 0/末项不再整段甩回;选中字色经固定高亮框裁切随列表滚动,停稳后对准居中"
104
+ ]
105
+ }
106
+ },
107
+ {
108
+ "version": "2.6.0",
109
+ "sections": {
110
+ "Changed": [
111
+ "周标题、页脚、导航 aria 与 `Intl` 格式化改读当前 locale(默认 zh-CN)"
112
+ ],
113
+ "Fixed": [
114
+ "月/年上一页、下一页箭头在 RTL 下随阅读方向翻转"
115
+ ]
116
+ }
117
+ },
42
118
  {
43
119
  "version": "2.0.0",
44
120
  "sections": {
@@ -49,6 +125,25 @@
49
125
  }
50
126
  ],
51
127
  "List": [
128
+ {
129
+ "version": "2.6.1",
130
+ "sections": {
131
+ "Changed": [
132
+ "可交互行 Hover/Active 对齐共享 filled 交互 token(lightBackground-2 / Background-3)"
133
+ ]
134
+ }
135
+ },
136
+ {
137
+ "version": "2.6.0",
138
+ "sections": {
139
+ "Changed": [
140
+ "默认「更多」aria 文案改由 `LocaleProvider` 提供"
141
+ ],
142
+ "Fixed": [
143
+ "`action` 类型尾部 chevron 在 RTL 下指向阅读方向前方"
144
+ ]
145
+ }
146
+ },
52
147
  {
53
148
  "version": "2.4.0",
54
149
  "sections": {
@@ -64,7 +159,26 @@
64
159
  }
65
160
  }
66
161
  ],
162
+ "LocaleProvider": [
163
+ {
164
+ "version": "2.6.0",
165
+ "sections": {
166
+ "Added": [
167
+ "Semi-style `LocaleProvider` with `zhCN` / `enUS` packs, `useLocale` / `useLocaleMessages`, and `${name}` interpolate",
168
+ "Built-in component copy (DatePicker, TimePicker, Pagination, Upload, Modal, Feedback, Alert, ColorPicker, Cascader, Loading, Tag, NumberInput, Textarea, Card, List, Breadcrumb) reads the active locale; existing label props still override"
169
+ ]
170
+ }
171
+ }
172
+ ],
67
173
  "Modal": [
174
+ {
175
+ "version": "2.6.0",
176
+ "sections": {
177
+ "Changed": [
178
+ "默认关闭按钮文案改由 `LocaleProvider` 提供(`closeLabel` 仍可覆盖)"
179
+ ]
180
+ }
181
+ },
68
182
  {
69
183
  "version": "2.0.0",
70
184
  "sections": {
@@ -76,6 +190,23 @@
76
190
  }
77
191
  ],
78
192
  "Navigation": [
193
+ {
194
+ "version": "2.6.1",
195
+ "sections": {
196
+ "Changed": [
197
+ "激活项 second 面 Hover/Active 改为 token 换色(不再依赖 brightness)"
198
+ ]
199
+ }
200
+ },
201
+ {
202
+ "version": "2.6.0",
203
+ "sections": {
204
+ "Fixed": [
205
+ "垂直指示条读取 `--navigation-rail-inline-start`,RTL 下贴在 inline-start 侧",
206
+ "垂直 flyout 默认 `side` 随 `ConfigProvider` 方向翻转"
207
+ ]
208
+ }
209
+ },
79
210
  {
80
211
  "version": "2.5.0",
81
212
  "sections": {
@@ -94,6 +225,17 @@
94
225
  }
95
226
  ],
96
227
  "Pagination": [
228
+ {
229
+ "version": "2.6.0",
230
+ "sections": {
231
+ "Changed": [
232
+ "默认文案改由 `LocaleProvider` 字典提供(`jumpLabel` / `sizeLabel` 等 props 仍可覆盖)"
233
+ ],
234
+ "Fixed": [
235
+ "上一页 / 下一页箭头在 RTL 下随阅读方向翻转"
236
+ ]
237
+ }
238
+ },
97
239
  {
98
240
  "version": "2.1.0",
99
241
  "sections": {
@@ -104,6 +246,14 @@
104
246
  }
105
247
  ],
106
248
  "Popover": [
249
+ {
250
+ "version": "2.6.1",
251
+ "sections": {
252
+ "Changed": [
253
+ "浮层阴影统一为 `BasicShadow-Level4WithLine`"
254
+ ]
255
+ }
256
+ },
107
257
  {
108
258
  "version": "2.5.0",
109
259
  "sections": {
@@ -137,7 +287,37 @@
137
287
  }
138
288
  }
139
289
  ],
290
+ "ScrollPicker": [
291
+ {
292
+ "version": "2.6.1",
293
+ "sections": {
294
+ "Changed": [
295
+ "滚轮列:鼠标滚轮步进更灵敏,可一次跨多格,并允许打断进行中的平滑滚动",
296
+ "loop 列按当前位置最短路径滚动;选中字色经固定高亮框裁切随列表滚动,停稳后对准居中"
297
+ ]
298
+ }
299
+ }
300
+ ],
140
301
  "SegmentatorGroup": [
302
+ {
303
+ "version": "2.6.1",
304
+ "sections": {
305
+ "Changed": [
306
+ "未选项 Hover/Active 使用共享 filled 交互 token"
307
+ ],
308
+ "Fixed": [
309
+ "nested 模式下未选项圆角改为与滑动指示器一致(`segmentator-item-nested-radius`),避免 hover / focus 填充与选中拇指圆角不一致"
310
+ ]
311
+ }
312
+ },
313
+ {
314
+ "version": "2.6.0",
315
+ "sections": {
316
+ "Added": [
317
+ "`direction`:`horizontal`(默认)/ `vertical`,对齐 Figma SegmentatorGroup;竖向布局下拇指与触控拖选沿主轴(Y)工作"
318
+ ]
319
+ }
320
+ },
141
321
  {
142
322
  "version": "2.5.0",
143
323
  "sections": {
@@ -158,6 +338,14 @@
158
338
  }
159
339
  ],
160
340
  "Slider": [
341
+ {
342
+ "version": "2.6.1",
343
+ "sections": {
344
+ "Changed": [
345
+ "拇指阴影统一为 `BasicShadow-Level4WithLine`"
346
+ ]
347
+ }
348
+ },
161
349
  {
162
350
  "version": "2.5.0",
163
351
  "sections": {
@@ -179,7 +367,44 @@
179
367
  }
180
368
  }
181
369
  ],
370
+ "Tab": [
371
+ {
372
+ "version": "2.6.1",
373
+ "sections": {
374
+ "Changed": [
375
+ "Tiled active Hover/Active 改为 second 面 token 换色"
376
+ ]
377
+ }
378
+ },
379
+ {
380
+ "version": "2.6.0",
381
+ "sections": {
382
+ "Added": [
383
+ "`Tab` / `TabItem`(Figma Structure Navigation → Tab)"
384
+ ]
385
+ }
386
+ }
387
+ ],
388
+ "TimePickerField": [
389
+ {
390
+ "version": "2.6.1",
391
+ "sections": {
392
+ "Changed": [
393
+ "时分滚轮:鼠标滚轮步进更灵敏,可一次跨多格,并允许打断进行中的平滑滚动",
394
+ "loop 滚轮按当前位置最短路径滚动,跨 0/末项不再整段甩回;选中字色经固定高亮框裁切随列表滚动,停稳后对准居中"
395
+ ]
396
+ }
397
+ }
398
+ ],
182
399
  "Tooltip": [
400
+ {
401
+ "version": "2.6.0",
402
+ "sections": {
403
+ "Changed": [
404
+ "`ResponsiveTooltip` 触摸端改为**长按**打开(短按仍触发按钮自身点击);可用 `longPressMs` 调整按住时长(默认 500ms)"
405
+ ]
406
+ }
407
+ },
183
408
  {
184
409
  "version": "2.5.0",
185
410
  "sections": {