Skip to content

Releases: siaikin/timered-counter

v1.3.0

03 Jul 06:50

Choose a tag to compare

1.3.0 (2025-07-03)

Bug Fixes

  • 修复重复定义 customElement 导致的错误 (56e13e9)
  • 可选模块不再依赖 (c1b97c7)

Features

  • 增加 vue 集成 (4a7bc55)
  • 重命名 registryAdapter -> registerAdapter, 导出 decimaljs, grapheme-splitter 适配器. (204a435)

v1.3.0-beta.2

03 Jul 06:04

Choose a tag to compare

v1.3.0-beta.2 Pre-release
Pre-release

1.3.0-beta.2 (2025-07-03)

Bug Fixes

  • 可选模块不再依赖 (c1b97c7)

v1.3.0-beta.1

03 Jul 03:29

Choose a tag to compare

v1.3.0-beta.1 Pre-release
Pre-release

1.3.0-beta.1 (2025-07-03)

Bug Fixes

  • 修复重复定义 customElement 导致的错误 (56e13e9)

Features

  • 增加 vue 集成 (4a7bc55)
  • 重命名 registryAdapter -> registerAdapter, 导出 decimaljs, grapheme-splitter 适配器. (204a435)

v1.2.0

11 Jun 02:30

Choose a tag to compare

1.2.0 (2025-06-11)

Bug Fixes

  • 修复 datetime-duration counter from 的优化策略. (0b5aa35)

Features

  • 增加 shouldRebuildParts 便于子类自定义 parts 更新条件 (7dd296c)

v1.1.1

31 Mar 06:28

Choose a tag to compare

1.1.1 (2025-03-31)

Bug Fixes

  • 被 css transform 影响时, 获取到错误的的宽高属性 (30190d1)

v1.1.0

27 Mar 08:02

Choose a tag to compare

1.1.0 (2025-03-27)

Features

  • 减小 CDN 构建的文件体积 (f26ef77)

v1.0.0

25 Mar 03:32

Choose a tag to compare

1.0.0 (2025-03-25)

Bug Fixes

  • add tslib version 2.8.1 to dependencies (11683ab)
  • global version cannot find TimeredCounter global variable (783305c)
  • Ignore grapheme-splitter without default export exceptions (16609cd)
  • prefer generate custom-elements.json, avoid being unable to find the file (dd37015)
  • String counter 正确执行新旧值衔接动画 (3065794)
  • update tslib version to 2.8.1 and remove console log in connectedCallback (40a360e)
  • use rollup commonjs plugin transform grapheme-splitter to esm (71ad0de)
  • 优化 counter-parts 和 counter-base mixin 的更新逻辑,避免在 firstUpdated 阶段修改值引起副作用 (160b09b)
  • 优化 roller 组件的渲染和样式,修复部分 HTML 结构 (3fe684c)
  • 修复 connectedCallback 中 super 调用的位置,确保正确初始化组件 (02c01ae)
  • 修复一些问题 (1cb83e2)
  • 元素被移除时依然会分发事件 (b5722a5)
  • 兼容 value setter 先与 initialValue setter 触发的情况 (b469231)
  • 更新 counter-animation 和 counter-styles mixin 中的类型定义,改进样式和动画参数处理 (9a33207)
  • 更新 counter-base mixin 中的oldValue处理,改进字符串转换逻辑 (fe8a8e9)
  • 更新 roller 和 timered-counter 组件的样式,调整 display 属性以优化布局 (54f376f)
  • 更新 roller 组件的样式和结构,优化渲染性能并修复部分属性定义 (b678f1e)
  • 确保在初始化时手动触发 precision 的 setter 以正确设置相关值 (6f884a4)

Features

  • Add datetime duration counter (32e4997)
  • Add number counter (d6dfde1)
  • Add string counter (e194f59)
  • BIG feature! (286260f)
  • datetime duration 默认位数设置为较为合理的 2 (66d9b42)
  • support per part suffix slot (0035b32)
  • 支持通过 cdn 使用 TimeredCounter (a6d1804)