@linkdesk/ui 0.2.1 → 0.3.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.
@@ -2,7 +2,7 @@
2
2
  * ThemePicker——主题配方卡片选择器(E5.8#50.22)。
3
3
  * 卡片网格:配方名称 + 配色徽标(单配色 = 预览条 / 多配色 = 配色圆点 + 计数)+ 选中态 + 键盘可达。
4
4
  * 数据源 = window.linkdesk.theme.listRecipes()(06 §2 RecipeMeta——id/名称/明暗/配色预览色)。
5
- * 视觉对标 mockup 01-设置页-主题区(.theme-picker 四列网格 + .theme-card 边框/悬停上浮/选中 accent 描边)。
5
+ * 视觉对标 mockup 01-设置页-主题区(.ldk-theme-picker 四列网格 + .ldk-theme-picker-card 边框/悬停上浮/选中 accent 描边)。
6
6
  * 受控组件:value = 当前 app.theme 值;点卡片 → onChange(recipeId)(上层写配置 → onApply 应用配方)。
7
7
  * 键盘:方向键在卡片间移动焦点(roving tabindex)+ Enter/Space 激活(原生 button)。
8
8
  * 预览区/圆点色 = 配方数据(inline style)——非样式硬编码(同 renderControl 色块先例);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linkdesk/ui",
3
- "version": "0.2.1",
3
+ "version": "0.3.0",
4
4
  "description": "@linkdesk/ui——LinkDesk 共享 UI 组件(右键/下拉/开关/取色器等)。壳 src/components/shared 单一源码经构建编译,插件作者 npm i 后与内置插件同款、自动跟随主题/玻璃的界面。",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",