lumiglass 1.1.1 → 1.2.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 CHANGED
@@ -50,6 +50,18 @@ import 'lumiglass/js/glass.js'; // 可选
50
50
 
51
51
  > 本包与项目根目录 `glass/` 保持同一份源码、同版本发布;请勿单独修改其中一个目录。
52
52
 
53
+ ## 更新日志
54
+
55
+ **1.2.0**
56
+
57
+ - 自研 WebGL 液态引擎全站替换:SDF 圆角矩形 + 平滑并集 + 解析梯度折射 + RGB 色散,第三方代码清零
58
+ - 新增指针驱动的边框光效:指针所在边框一段被点亮,父/子组件同时响应,光斑半径随元素尺寸缩放
59
+ - 修复玻璃外扩(`grow`)时整体偏移,表现为「内容不居中 / 外圈偏心」
60
+ - 修复滑块轨道与进度条丢失(纯色件回归 DOM 绘制)
61
+ - 修复磁贴外层多余光环,组件恢复单圈玻璃
62
+
63
+ **1.1.1** — 首个公开版本
64
+
53
65
  ## Vue / React 注意事项
54
66
 
55
67
  - 类名直接写 `class` / `className`,无任何包装组件
package/css/glass-lg.css CHANGED
@@ -109,13 +109,8 @@ html.lg-on .lg-slider .thumb[data-glass-live] {
109
109
  box-shadow: none !important;
110
110
  border-color: transparent !important;
111
111
  }
112
- html.lg-on .slider .rail[data-glass-solid],
113
- html.lg-on .slider .fill[data-glass-solid],
114
- html.lg-on .lg-slider .rail[data-glass-solid],
115
- html.lg-on .lg-slider .fill[data-glass-solid] {
116
- background: transparent !important;
117
- box-shadow: none !important;
118
- }
112
+ /* 轨道 / 进度条是纯色件,由 DOM 自绘(引擎画布在最底层,任何带背景的容器都会盖住它,
113
+ 所以不能指望引擎绘制纯色件) */
119
114
 
120
115
  .lg-control {
121
116
  transition: scale .45s cubic-bezier(.34, 1.56, .64, 1), background .2s;