@ptengine/design-components 0.3.0 → 0.4.0
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.
- package/README.md +3 -1
- package/dist/index.cjs +14 -14
- package/dist/index.js +2309 -1938
- package/package.json +3 -3
- package/src/components/ui/calendar.tsx +33 -33
package/README.md
CHANGED
|
@@ -292,7 +292,9 @@ Chart 色板走 `--chart-1..5` token(映射品牌色系)。
|
|
|
292
292
|
|
|
293
293
|
**依赖版本锚定**(升级前先改对应组件源):`recharts ^2.15`(chart.tsx 按 2.x API 写,
|
|
294
294
|
3.x 类型不兼容)· `react-resizable-panels ^2.1`(4.x 改了导出名)·
|
|
295
|
-
`react-day-picker ^
|
|
295
|
+
`react-day-picker ^10` + `date-fns ^4`(calendar.tsx 按 v9+ classNames API 写;
|
|
296
|
+
**须与 apps/x 声明的版本保持同一大版本**——源码直连下 Vite 预构建对裸导入只保留
|
|
297
|
+
一份,两端版本劈叉会让其中一方拿到错误版本、日历样式全失效)。
|
|
296
298
|
|
|
297
299
|
## 授权
|
|
298
300
|
|