Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 树状结构第一个子层级无法排序的问题 #1285

Merged
merged 1 commit into from
Apr 21, 2022
Merged

Conversation

stone-lyl
Copy link
Member

👀 PR includes

✨ Feature

  • New feature

🎨 Enhance

  • Code style optimization
  • Refactoring
  • Change the UI
  • Improve the performance
  • Type optimization

🐛 Bugfix

🔧 Chore

  • Test case
  • Docs / demos update
  • CI / workflow
  • Release version
  • Other ()

📝 Description

🖼️ Screenshot

Before After

🔗 Related issue link

🔍 Self Check before Merge

  • Add or update relevant Docs.
  • Add or update relevant Demos.
  • Add or update relevant TypeScript definitions.

@stone-lyl stone-lyl changed the base branch from master to alpha April 21, 2022 12:31
@github-actions github-actions bot added the pr(fix) bug fix label Apr 21, 2022
@github-actions github-actions bot requested a review from lcx-seima April 21, 2022 12:31
@github-actions
Copy link
Contributor

⚡️ Deploying PR Preview...

Copy link
Member

@xingwanying xingwanying left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG

@stone-lyl stone-lyl merged commit d488615 into alpha Apr 21, 2022
@stone-lyl stone-lyl deleted the fix-order branch April 21, 2022 12:35
@lijinke666
Copy link
Member

🎉 This PR is included in version @antv/s2-v1.15.0-alpha.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

stone-lyl added a commit that referenced this pull request Apr 22, 2022
* chore(release): 🔖@antv/[email protected]  @antv/[email protected]

* chore(release): 🔖 @antv/[email protected]  @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.3.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.3.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.4.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.4.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.5.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.5.0 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected] (#1003)

* chore(release): 🤖 @antv/s2-v1.6.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.6.0 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected] (#1046)

* chore(release): 🤖 @antv/s2-v1.7.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.7.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.8.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.8.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.9.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.9.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.9.1 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.9.1 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.10.0-alpha.1 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.10.0-alpha.1 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.10.0-alpha.2 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.10.0-alpha.2 [skip ci]

* chore: 🤖 更新 lock 和 changelog 文件 (#1101)

* chore(release): 🔖@antv/[email protected]  @antv/[email protected]

* chore(release): 🔖 @antv/[email protected]  @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.3.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.3.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.4.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.4.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.5.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.5.0 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected] (#1003)

* chore(release): 🤖 @antv/s2-v1.6.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.6.0 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected] (#1046)

* chore(release): 🤖 @antv/s2-v1.7.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.7.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.8.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.8.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.9.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.9.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.9.1 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.9.1 [skip ci]

* chore: 🤖 更新 lock 和 changelog 文件

Co-authored-by: yingying.xwy <[email protected]>
Co-authored-by: semantic-release-bot <[email protected]>
Co-authored-by: xinhui.zxh <[email protected]>
Co-authored-by: wengyidong.wyd <[email protected]>
Co-authored-by: YardWill <[email protected]>
Co-authored-by: Jinke Li <[email protected]>

* feat(interaction): 透视表支持隐藏列头 (#1081)

* feat(interaction): 透视表支持隐藏列头

* fix: 修复默认隐藏不生效

* docs: 修改文档错别字

* docs: 优化文档

* test: 修复测试

* style(drilldown): 下钻组件增加自定义dom节点 (#1102)

* style(drilldown): 下钻组件增加自定义dom节点

* docs: 补充下钻配置文档

* fix: 修复行头为空无默认角头指标文字问题 (#1104)

* fix: 修复行头为空无默认角头指标文字问题

* test: 增加角头单元格文本单测

* style: 代码优化

* style: 代码优化

* feat(tooltip): tooltip 自定义操作项点击事件透出 cell 信息 close #1106 (#1107)

* feat(tooltip): tooltip 自定义操作项点击事件透出 cell 信息 close #1106

* docs: 完善文档

* fix: 不添加总计时错误地添加了小计节点 (#1111)

* fix: 不添加总计时错误地添加了小计节点

* test: 增加总计节点测试

* docs: 新增获取单元格数据文档 (#1117)

* fix: 增加行头收起展开按钮回调事件的透传参数 (#1121)

* fix: 增加行头收起展开按钮回调事件的透传参数

* test: 单测修复

* fix: 修复头部cell错误使用meta中formatter的问题,close #1014 (#1120)

* fix: 修复头部cell错误format问题

* test: 补充头部cell单测

* fix: 移除col cell中无用的formatter属性

* fix: 对于 extra 字段单独处理

* fix: 明细表锁行/列时分割线阴影显隐逻辑 (#1123)

* fix(facet): 明细表分界线阴影按需绘制

* fix(facet): 兼容分页情况

* fix(copy): 当异步复制失败时降级为同步复制 (#1125)

* fix(copy): 当异步复制失败时降级为同步复制

* docs: 更新文档

* docs: 更新demo

* test: 更新测试

* fix: rename

* test: 修复测试

* fix: 梳理单元格对齐方式, close #1084 (#1128)

* fix: 修复row cell 文本对齐

* fix: 修复corner cell 文本对齐

* refactor: remove unused import

* docs: shrink icon size

* docs: add custom alignment docs

* docs: add alt for img

* docs: add space between word and Chinese

* feat: ✨ 支持覆盖默认icon (#1130)

* fix: corner 事件监听失效(之前只有点击文字时生效) (#1131)

* fix: 修复对全局鼠标按下事件的污染 (#1132)

* fix(interaction): 修复开启复制后, 无法复制表格外的文字 (#1134)

* fix(interaction): 修复开启复制后, 无法复制表格外的文字

* chore: 语法问题

* docs: 新增如何提问 faq (#1118)

* docs: 新增如何提问 faq

* chore: 更新 pr reviewers

* chore: 润湿文档 & s2options => s2Options

* feat: ✨ 允许用户自定义行头单元格宽度 (#1135)

* feat: 维度切换组件增加allowEmpty配置 close #533 (#1136)

* feat: add allowEmpty config for switcher

* docs: update swithcer docs for allow empty config

* docs: add demo gif in docs

* feat: adaptive 的 container 自适应包含 header 和 page (#1133)

* feat: adaptive 的 container 自适应包含 header 和 page

* refactor: adaptive 自适应,使用flex 替代直接获取 element height的方式

* fix: 修复单测报错,1 changeSize 命名 g-base 重复,导致部分代码调用出错。2 添加 wrapper 参数

* test: adaptive 为 false 时,options width 和 height 改变不需要触发 changeSheetSize 方法

* refactor: 添加 changeSize 别名方法,兼容线上使用

* refactor: 样式合并

* feat(tooltip): 支持自定义挂载节点 (#1139)

* feat(tooltip): 支持自定义挂载节点

* test: 修复测试

* test: 修改测试断言描述

* test: 修复测试

* test: 修复测试

* fix: 修复未开启tooltip, 还是会渲染 container 节点的问题

* test: 修复测试

* chore(release): @antv/[email protected] @antv/[email protected] (#1141)

* chore(release): 🤖 @antv/s2-v1.10.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.10.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.11.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.11.0 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected] (#1168)

* chore(release): 🤖 @antv/s2-v1.12.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.11.1 [skip ci]

* chore(release): 🔖@antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.12.1 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-react-v1.11.2 [skip ci]

* fix: 指标列头对齐样式修复升级

* fix: 指标列头对齐样式修复升级

* chore(release): 🔖@antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.12.2 [skip ci]

* chore(release): 🔖@antv/[email protected]

* chore(release): 🤖 @antv/s2-react-v1.11.3 [skip ci]

* feat: 增加根据主题色生成对应主题风格色板功能

* fix: 修复lint报错

* chore(release): @antv/[email protected] @antv/[email protected] (#1198)

* chore(release): 🤖 @antv/s2-v1.13.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.12.0 [skip ci]

* feat: 固定背景色

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.14.0-alpha.1 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.13.0-alpha.1 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.13.1 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.12.1 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.14.0-alpha.2 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.13.0-alpha.2 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-react-v1.13.0-alpha.3 [skip ci]

* refactor: 改用hsl颜色

* chore: type

* feat: hsl分量作用方式从
绝对比例改为各自区间相对比例

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.14.0-alpha.3 [skip ci]

* feat: 增加搜索高亮交互状态及主题色 (#1240)

* feat: 增加搜索高亮交互状态及主题色

* chore: 修改默认主题值

* chore: 修改版本号

* chore(release): 🔖@antv/[email protected]   @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.14.0-alpha.4 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.13.0-alpha.4 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected] (#1247)

* chore(release): 🤖 @antv/s2-v1.14.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.13.0 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.15.0-alpha.1 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.14.0-alpha.1 [skip ci]

* fix(s2): 如果是 table mode,列头不需要被格式化 (#1249)

* fix(s2): 如果是 table mode,列头不需要被格式化

* fix(s2): 添加明细和聚合模式下,表头的格式化单测

* chore(release): @antv/s2-v1.15.0-alpha.2

* chore(release): 🤖 @antv/s2-v1.15.0-alpha.2 [skip ci]

* chore(release): @antv/[email protected]

* chore(release): 🤖 @antv/s2-react-v1.14.0-alpha.2 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.15.0-alpha.3 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.14.0-alpha.3 [skip ci]

* fix: 添加当多个数值在行头显示时,小计展示被遮挡的问题 (#1267)

* fix: 优先计算样本坐标和宽度

* refactor: 删除 sampleNodeByLevel 这个中间变量,因为本质还是修改 sampleNodesForAllLevels 的引用

* test: 添加当多个数值在行头显示时,小计展示位置单测

* chore(release): @antv/s2-v1.15.0-alpha.4

* chore(release): @antv/s2-v1.15.0-alpha.4

* chore(release): 🤖 @antv/s2-v1.15.0-alpha.4 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.14.0-alpha.4 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.15.0-alpha.5 [skip ci]

* fix: 为第一个子层级时,parentNode.id === ROOT_ID 时,不需要通过分割获取当前节点的真实 value (#1285)

* chore(release): @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.15.0-alpha.6 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.14.0-alpha.5 [skip ci]

Co-authored-by: yingying.xwy <[email protected]>
Co-authored-by: semantic-release-bot <[email protected]>
Co-authored-by: xinhui.zxh <[email protected]>
Co-authored-by: wengyidong.wyd <[email protected]>
Co-authored-by: YardWill <[email protected]>
Co-authored-by: Jinke Li <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: 刘嘉一 <[email protected]>
Co-authored-by: Wenjun Xu <[email protected]>
@lijinke666
Copy link
Member

🎉 This PR is included in version @antv/s2-v1.16.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

lcx-seima added a commit that referenced this pull request May 6, 2022
* chore(release): 🔖@antv/[email protected]  @antv/[email protected]

* chore(release): 🔖 @antv/[email protected]  @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.3.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.3.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.4.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.4.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.5.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.5.0 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected] (#1003)

* chore(release): 🤖 @antv/s2-v1.6.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.6.0 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected] (#1046)

* chore(release): 🤖 @antv/s2-v1.7.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.7.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.8.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.8.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.9.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.9.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.9.1 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.9.1 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.10.0-alpha.1 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.10.0-alpha.1 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.10.0-alpha.2 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.10.0-alpha.2 [skip ci]

* chore: 🤖 更新 lock 和 changelog 文件 (#1101)

* chore(release): 🔖@antv/[email protected]  @antv/[email protected]

* chore(release): 🔖 @antv/[email protected]  @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.3.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.3.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.4.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.4.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.5.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.5.0 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected] (#1003)

* chore(release): 🤖 @antv/s2-v1.6.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.6.0 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected] (#1046)

* chore(release): 🤖 @antv/s2-v1.7.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.7.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.8.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.8.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.9.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.9.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.9.1 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.9.1 [skip ci]

* chore: 🤖 更新 lock 和 changelog 文件

Co-authored-by: yingying.xwy <[email protected]>
Co-authored-by: semantic-release-bot <[email protected]>
Co-authored-by: xinhui.zxh <[email protected]>
Co-authored-by: wengyidong.wyd <[email protected]>
Co-authored-by: YardWill <[email protected]>
Co-authored-by: Jinke Li <[email protected]>

* feat(interaction): 透视表支持隐藏列头 (#1081)

* feat(interaction): 透视表支持隐藏列头

* fix: 修复默认隐藏不生效

* docs: 修改文档错别字

* docs: 优化文档

* test: 修复测试

* style(drilldown): 下钻组件增加自定义dom节点 (#1102)

* style(drilldown): 下钻组件增加自定义dom节点

* docs: 补充下钻配置文档

* fix: 修复行头为空无默认角头指标文字问题 (#1104)

* fix: 修复行头为空无默认角头指标文字问题

* test: 增加角头单元格文本单测

* style: 代码优化

* style: 代码优化

* feat(tooltip): tooltip 自定义操作项点击事件透出 cell 信息 close #1106 (#1107)

* feat(tooltip): tooltip 自定义操作项点击事件透出 cell 信息 close #1106

* docs: 完善文档

* fix: 不添加总计时错误地添加了小计节点 (#1111)

* fix: 不添加总计时错误地添加了小计节点

* test: 增加总计节点测试

* docs: 新增获取单元格数据文档 (#1117)

* fix: 增加行头收起展开按钮回调事件的透传参数 (#1121)

* fix: 增加行头收起展开按钮回调事件的透传参数

* test: 单测修复

* fix: 修复头部cell错误使用meta中formatter的问题,close #1014 (#1120)

* fix: 修复头部cell错误format问题

* test: 补充头部cell单测

* fix: 移除col cell中无用的formatter属性

* fix: 对于 extra 字段单独处理

* fix: 明细表锁行/列时分割线阴影显隐逻辑 (#1123)

* fix(facet): 明细表分界线阴影按需绘制

* fix(facet): 兼容分页情况

* fix(copy): 当异步复制失败时降级为同步复制 (#1125)

* fix(copy): 当异步复制失败时降级为同步复制

* docs: 更新文档

* docs: 更新demo

* test: 更新测试

* fix: rename

* test: 修复测试

* fix: 梳理单元格对齐方式, close #1084 (#1128)

* fix: 修复row cell 文本对齐

* fix: 修复corner cell 文本对齐

* refactor: remove unused import

* docs: shrink icon size

* docs: add custom alignment docs

* docs: add alt for img

* docs: add space between word and Chinese

* feat: ✨ 支持覆盖默认icon (#1130)

* fix: corner 事件监听失效(之前只有点击文字时生效) (#1131)

* fix: 修复对全局鼠标按下事件的污染 (#1132)

* fix(interaction): 修复开启复制后, 无法复制表格外的文字 (#1134)

* fix(interaction): 修复开启复制后, 无法复制表格外的文字

* chore: 语法问题

* docs: 新增如何提问 faq (#1118)

* docs: 新增如何提问 faq

* chore: 更新 pr reviewers

* chore: 润湿文档 & s2options => s2Options

* feat: ✨ 允许用户自定义行头单元格宽度 (#1135)

* feat: 维度切换组件增加allowEmpty配置 close #533 (#1136)

* feat: add allowEmpty config for switcher

* docs: update swithcer docs for allow empty config

* docs: add demo gif in docs

* feat: adaptive 的 container 自适应包含 header 和 page (#1133)

* feat: adaptive 的 container 自适应包含 header 和 page

* refactor: adaptive 自适应,使用flex 替代直接获取 element height的方式

* fix: 修复单测报错,1 changeSize 命名 g-base 重复,导致部分代码调用出错。2 添加 wrapper 参数

* test: adaptive 为 false 时,options width 和 height 改变不需要触发 changeSheetSize 方法

* refactor: 添加 changeSize 别名方法,兼容线上使用

* refactor: 样式合并

* feat(tooltip): 支持自定义挂载节点 (#1139)

* feat(tooltip): 支持自定义挂载节点

* test: 修复测试

* test: 修改测试断言描述

* test: 修复测试

* test: 修复测试

* fix: 修复未开启tooltip, 还是会渲染 container 节点的问题

* test: 修复测试

* chore(release): @antv/[email protected] @antv/[email protected] (#1141)

* chore(release): 🤖 @antv/s2-v1.10.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.10.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.11.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.11.0 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected] (#1168)

* chore(release): 🤖 @antv/s2-v1.12.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.11.1 [skip ci]

* chore(release): 🔖@antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.12.1 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-react-v1.11.2 [skip ci]

* fix: 指标列头对齐样式修复升级

* fix: 指标列头对齐样式修复升级

* chore(release): 🔖@antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.12.2 [skip ci]

* chore(release): 🔖@antv/[email protected]

* chore(release): 🤖 @antv/s2-react-v1.11.3 [skip ci]

* feat: 增加根据主题色生成对应主题风格色板功能

* fix: 修复lint报错

* chore(release): @antv/[email protected] @antv/[email protected] (#1198)

* chore(release): 🤖 @antv/s2-v1.13.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.12.0 [skip ci]

* feat: 固定背景色

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.14.0-alpha.1 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.13.0-alpha.1 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.13.1 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.12.1 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.14.0-alpha.2 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.13.0-alpha.2 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-react-v1.13.0-alpha.3 [skip ci]

* refactor: 改用hsl颜色

* chore: type

* feat: hsl分量作用方式从
绝对比例改为各自区间相对比例

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.14.0-alpha.3 [skip ci]

* feat: 增加搜索高亮交互状态及主题色 (#1240)

* feat: 增加搜索高亮交互状态及主题色

* chore: 修改默认主题值

* chore: 修改版本号

* chore(release): 🔖@antv/[email protected]   @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.14.0-alpha.4 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.13.0-alpha.4 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected] (#1247)

* chore(release): 🤖 @antv/s2-v1.14.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.13.0 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.15.0-alpha.1 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.14.0-alpha.1 [skip ci]

* fix(s2): 如果是 table mode,列头不需要被格式化 (#1249)

* fix(s2): 如果是 table mode,列头不需要被格式化

* fix(s2): 添加明细和聚合模式下,表头的格式化单测

* chore(release): @antv/s2-v1.15.0-alpha.2

* chore(release): 🤖 @antv/s2-v1.15.0-alpha.2 [skip ci]

* chore(release): @antv/[email protected]

* chore(release): 🤖 @antv/s2-react-v1.14.0-alpha.2 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.15.0-alpha.3 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.14.0-alpha.3 [skip ci]

* fix: 添加当多个数值在行头显示时,小计展示被遮挡的问题 (#1267)

* fix: 优先计算样本坐标和宽度

* refactor: 删除 sampleNodeByLevel 这个中间变量,因为本质还是修改 sampleNodesForAllLevels 的引用

* test: 添加当多个数值在行头显示时,小计展示位置单测

* chore(release): @antv/s2-v1.15.0-alpha.4

* chore(release): @antv/s2-v1.15.0-alpha.4

* chore(release): 🤖 @antv/s2-v1.15.0-alpha.4 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.14.0-alpha.4 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.15.0-alpha.5 [skip ci]

* fix: 为第一个子层级时,parentNode.id === ROOT_ID 时,不需要通过分割获取当前节点的真实 value (#1285)

* chore(release): @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.15.0-alpha.6 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.14.0-alpha.5 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.15.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.14.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.16.0-alpha.1 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.15.0-alpha.1 [skip ci]

* refactor: 不需要通过 root[&] 进行分割,仍可以获取正确的展示值 (#1304)

Co-authored-by: semantic-release-bot <[email protected]>
Co-authored-by: xinhui.zxh <[email protected]>
Co-authored-by: wengyidong.wyd <[email protected]>
Co-authored-by: YardWill <[email protected]>
Co-authored-by: Jinke Li <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: 刘嘉一 <[email protected]>
Co-authored-by: Wenjun Xu <[email protected]>
Co-authored-by: stone <[email protected]>
Co-authored-by: stone <[email protected]>
@lijinke666
Copy link
Member

🎉 This PR is included in version @antv/s2-v1.17.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This PR is included in version @antv/s2-v1.18.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This PR is included in version @antv/s2-v1.21.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This PR is included in version @antv/s2-v1.22.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This PR is included in version @antv/s2-v1.23.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This PR is included in version @antv/s2-v1.24.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This PR is included in version @antv/s2-v1.26.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This PR is included in version @antv/s2-v1.28.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This PR is included in version @antv/s2-v1.30.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This PR is included in version @antv/s2-v1.31.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This PR is included in version @antv/s2-v1.33.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This PR is included in version @antv/s2-v1.37.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This PR is included in version @antv/s2-v1.40.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

wjgogogo added a commit that referenced this pull request Oct 25, 2023
* chore(release): 🔖@antv/[email protected]  @antv/[email protected]

* chore(release): 🔖 @antv/[email protected]  @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.3.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.3.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.4.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.4.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.5.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.5.0 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected] (#1003)

* chore(release): 🤖 @antv/s2-v1.6.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.6.0 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected] (#1046)

* chore(release): 🤖 @antv/s2-v1.7.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.7.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.8.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.8.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.9.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.9.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.9.1 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.9.1 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.10.0-alpha.1 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.10.0-alpha.1 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.10.0-alpha.2 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.10.0-alpha.2 [skip ci]

* chore: 🤖 更新 lock 和 changelog 文件 (#1101)

* chore(release): 🔖@antv/[email protected]  @antv/[email protected]

* chore(release): 🔖 @antv/[email protected]  @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.3.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.3.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.4.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.4.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.5.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.5.0 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected] (#1003)

* chore(release): 🤖 @antv/s2-v1.6.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.6.0 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected] (#1046)

* chore(release): 🤖 @antv/s2-v1.7.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.7.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.8.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.8.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.9.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.9.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.9.1 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.9.1 [skip ci]

* chore: 🤖 更新 lock 和 changelog 文件

Co-authored-by: yingying.xwy <[email protected]>
Co-authored-by: semantic-release-bot <[email protected]>
Co-authored-by: xinhui.zxh <[email protected]>
Co-authored-by: wengyidong.wyd <[email protected]>
Co-authored-by: YardWill <[email protected]>
Co-authored-by: Jinke Li <[email protected]>

* feat(interaction): 透视表支持隐藏列头 (#1081)

* feat(interaction): 透视表支持隐藏列头

* fix: 修复默认隐藏不生效

* docs: 修改文档错别字

* docs: 优化文档

* test: 修复测试

* style(drilldown): 下钻组件增加自定义dom节点 (#1102)

* style(drilldown): 下钻组件增加自定义dom节点

* docs: 补充下钻配置文档

* fix: 修复行头为空无默认角头指标文字问题 (#1104)

* fix: 修复行头为空无默认角头指标文字问题

* test: 增加角头单元格文本单测

* style: 代码优化

* style: 代码优化

* feat(tooltip): tooltip 自定义操作项点击事件透出 cell 信息 close #1106 (#1107)

* feat(tooltip): tooltip 自定义操作项点击事件透出 cell 信息 close #1106

* docs: 完善文档

* fix: 不添加总计时错误地添加了小计节点 (#1111)

* fix: 不添加总计时错误地添加了小计节点

* test: 增加总计节点测试

* docs: 新增获取单元格数据文档 (#1117)

* fix: 增加行头收起展开按钮回调事件的透传参数 (#1121)

* fix: 增加行头收起展开按钮回调事件的透传参数

* test: 单测修复

* fix: 修复头部cell错误使用meta中formatter的问题,close #1014 (#1120)

* fix: 修复头部cell错误format问题

* test: 补充头部cell单测

* fix: 移除col cell中无用的formatter属性

* fix: 对于 extra 字段单独处理

* fix: 明细表锁行/列时分割线阴影显隐逻辑 (#1123)

* fix(facet): 明细表分界线阴影按需绘制

* fix(facet): 兼容分页情况

* fix(copy): 当异步复制失败时降级为同步复制 (#1125)

* fix(copy): 当异步复制失败时降级为同步复制

* docs: 更新文档

* docs: 更新demo

* test: 更新测试

* fix: rename

* test: 修复测试

* fix: 梳理单元格对齐方式, close #1084 (#1128)

* fix: 修复row cell 文本对齐

* fix: 修复corner cell 文本对齐

* refactor: remove unused import

* docs: shrink icon size

* docs: add custom alignment docs

* docs: add alt for img

* docs: add space between word and Chinese

* feat: ✨ 支持覆盖默认icon (#1130)

* fix: corner 事件监听失效(之前只有点击文字时生效) (#1131)

* fix: 修复对全局鼠标按下事件的污染 (#1132)

* fix(interaction): 修复开启复制后, 无法复制表格外的文字 (#1134)

* fix(interaction): 修复开启复制后, 无法复制表格外的文字

* chore: 语法问题

* docs: 新增如何提问 faq (#1118)

* docs: 新增如何提问 faq

* chore: 更新 pr reviewers

* chore: 润湿文档 & s2options => s2Options

* feat: ✨ 允许用户自定义行头单元格宽度 (#1135)

* feat: 维度切换组件增加allowEmpty配置 close #533 (#1136)

* feat: add allowEmpty config for switcher

* docs: update swithcer docs for allow empty config

* docs: add demo gif in docs

* feat: adaptive 的 container 自适应包含 header 和 page (#1133)

* feat: adaptive 的 container 自适应包含 header 和 page

* refactor: adaptive 自适应,使用flex 替代直接获取 element height的方式

* fix: 修复单测报错,1 changeSize 命名 g-base 重复,导致部分代码调用出错。2 添加 wrapper 参数

* test: adaptive 为 false 时,options width 和 height 改变不需要触发 changeSheetSize 方法

* refactor: 添加 changeSize 别名方法,兼容线上使用

* refactor: 样式合并

* feat(tooltip): 支持自定义挂载节点 (#1139)

* feat(tooltip): 支持自定义挂载节点

* test: 修复测试

* test: 修改测试断言描述

* test: 修复测试

* test: 修复测试

* fix: 修复未开启tooltip, 还是会渲染 container 节点的问题

* test: 修复测试

* chore(release): @antv/[email protected] @antv/[email protected] (#1141)

* chore(release): 🤖 @antv/s2-v1.10.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.10.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.11.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.11.0 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected] (#1168)

* chore(release): 🤖 @antv/s2-v1.12.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.11.1 [skip ci]

* chore(release): 🔖@antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.12.1 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-react-v1.11.2 [skip ci]

* fix: 指标列头对齐样式修复升级

* fix: 指标列头对齐样式修复升级

* chore(release): 🔖@antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.12.2 [skip ci]

* chore(release): 🔖@antv/[email protected]

* chore(release): 🤖 @antv/s2-react-v1.11.3 [skip ci]

* feat: 增加根据主题色生成对应主题风格色板功能

* fix: 修复lint报错

* chore(release): @antv/[email protected] @antv/[email protected] (#1198)

* chore(release): 🤖 @antv/s2-v1.13.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.12.0 [skip ci]

* feat: 固定背景色

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.14.0-alpha.1 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.13.0-alpha.1 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.13.1 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.12.1 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.14.0-alpha.2 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.13.0-alpha.2 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-react-v1.13.0-alpha.3 [skip ci]

* refactor: 改用hsl颜色

* chore: type

* feat: hsl分量作用方式从
绝对比例改为各自区间相对比例

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.14.0-alpha.3 [skip ci]

* feat: 增加搜索高亮交互状态及主题色 (#1240)

* feat: 增加搜索高亮交互状态及主题色

* chore: 修改默认主题值

* chore: 修改版本号

* chore(release): 🔖@antv/[email protected]   @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.14.0-alpha.4 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.13.0-alpha.4 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected] (#1247)

* chore(release): 🤖 @antv/s2-v1.14.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.13.0 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.15.0-alpha.1 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.14.0-alpha.1 [skip ci]

* fix(s2): 如果是 table mode,列头不需要被格式化 (#1249)

* fix(s2): 如果是 table mode,列头不需要被格式化

* fix(s2): 添加明细和聚合模式下,表头的格式化单测

* chore(release): @antv/s2-v1.15.0-alpha.2

* chore(release): 🤖 @antv/s2-v1.15.0-alpha.2 [skip ci]

* chore(release): @antv/[email protected]

* chore(release): 🤖 @antv/s2-react-v1.14.0-alpha.2 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.15.0-alpha.3 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.14.0-alpha.3 [skip ci]

* fix: 添加当多个数值在行头显示时,小计展示被遮挡的问题 (#1267)

* fix: 优先计算样本坐标和宽度

* refactor: 删除 sampleNodeByLevel 这个中间变量,因为本质还是修改 sampleNodesForAllLevels 的引用

* test: 添加当多个数值在行头显示时,小计展示位置单测

* chore(release): @antv/s2-v1.15.0-alpha.4

* chore(release): @antv/s2-v1.15.0-alpha.4

* chore(release): 🤖 @antv/s2-v1.15.0-alpha.4 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.14.0-alpha.4 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.15.0-alpha.5 [skip ci]

* fix: 为第一个子层级时,parentNode.id === ROOT_ID 时,不需要通过分割获取当前节点的真实 value (#1285)

* chore(release): @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.15.0-alpha.6 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.14.0-alpha.5 [skip ci]

Co-authored-by: yingying.xwy <[email protected]>
Co-authored-by: semantic-release-bot <[email protected]>
Co-authored-by: xinhui.zxh <[email protected]>
Co-authored-by: wengyidong.wyd <[email protected]>
Co-authored-by: YardWill <[email protected]>
Co-authored-by: Jinke Li <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: 刘嘉一 <[email protected]>
Co-authored-by: Wenjun Xu <[email protected]>
wjgogogo added a commit that referenced this pull request Oct 25, 2023
* chore(release): 🔖@antv/[email protected]  @antv/[email protected]

* chore(release): 🔖 @antv/[email protected]  @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.3.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.3.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.4.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.4.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.5.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.5.0 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected] (#1003)

* chore(release): 🤖 @antv/s2-v1.6.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.6.0 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected] (#1046)

* chore(release): 🤖 @antv/s2-v1.7.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.7.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.8.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.8.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.9.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.9.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.9.1 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.9.1 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.10.0-alpha.1 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.10.0-alpha.1 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.10.0-alpha.2 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.10.0-alpha.2 [skip ci]

* chore: 🤖 更新 lock 和 changelog 文件 (#1101)

* chore(release): 🔖@antv/[email protected]  @antv/[email protected]

* chore(release): 🔖 @antv/[email protected]  @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.3.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.3.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.4.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.4.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.5.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.5.0 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected] (#1003)

* chore(release): 🤖 @antv/s2-v1.6.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.6.0 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected] (#1046)

* chore(release): 🤖 @antv/s2-v1.7.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.7.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.8.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.8.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.9.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.9.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.9.1 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.9.1 [skip ci]

* chore: 🤖 更新 lock 和 changelog 文件

Co-authored-by: yingying.xwy <[email protected]>
Co-authored-by: semantic-release-bot <[email protected]>
Co-authored-by: xinhui.zxh <[email protected]>
Co-authored-by: wengyidong.wyd <[email protected]>
Co-authored-by: YardWill <[email protected]>
Co-authored-by: Jinke Li <[email protected]>

* feat(interaction): 透视表支持隐藏列头 (#1081)

* feat(interaction): 透视表支持隐藏列头

* fix: 修复默认隐藏不生效

* docs: 修改文档错别字

* docs: 优化文档

* test: 修复测试

* style(drilldown): 下钻组件增加自定义dom节点 (#1102)

* style(drilldown): 下钻组件增加自定义dom节点

* docs: 补充下钻配置文档

* fix: 修复行头为空无默认角头指标文字问题 (#1104)

* fix: 修复行头为空无默认角头指标文字问题

* test: 增加角头单元格文本单测

* style: 代码优化

* style: 代码优化

* feat(tooltip): tooltip 自定义操作项点击事件透出 cell 信息 close #1106 (#1107)

* feat(tooltip): tooltip 自定义操作项点击事件透出 cell 信息 close #1106

* docs: 完善文档

* fix: 不添加总计时错误地添加了小计节点 (#1111)

* fix: 不添加总计时错误地添加了小计节点

* test: 增加总计节点测试

* docs: 新增获取单元格数据文档 (#1117)

* fix: 增加行头收起展开按钮回调事件的透传参数 (#1121)

* fix: 增加行头收起展开按钮回调事件的透传参数

* test: 单测修复

* fix: 修复头部cell错误使用meta中formatter的问题,close #1014 (#1120)

* fix: 修复头部cell错误format问题

* test: 补充头部cell单测

* fix: 移除col cell中无用的formatter属性

* fix: 对于 extra 字段单独处理

* fix: 明细表锁行/列时分割线阴影显隐逻辑 (#1123)

* fix(facet): 明细表分界线阴影按需绘制

* fix(facet): 兼容分页情况

* fix(copy): 当异步复制失败时降级为同步复制 (#1125)

* fix(copy): 当异步复制失败时降级为同步复制

* docs: 更新文档

* docs: 更新demo

* test: 更新测试

* fix: rename

* test: 修复测试

* fix: 梳理单元格对齐方式, close #1084 (#1128)

* fix: 修复row cell 文本对齐

* fix: 修复corner cell 文本对齐

* refactor: remove unused import

* docs: shrink icon size

* docs: add custom alignment docs

* docs: add alt for img

* docs: add space between word and Chinese

* feat: ✨ 支持覆盖默认icon (#1130)

* fix: corner 事件监听失效(之前只有点击文字时生效) (#1131)

* fix: 修复对全局鼠标按下事件的污染 (#1132)

* fix(interaction): 修复开启复制后, 无法复制表格外的文字 (#1134)

* fix(interaction): 修复开启复制后, 无法复制表格外的文字

* chore: 语法问题

* docs: 新增如何提问 faq (#1118)

* docs: 新增如何提问 faq

* chore: 更新 pr reviewers

* chore: 润湿文档 & s2options => s2Options

* feat: ✨ 允许用户自定义行头单元格宽度 (#1135)

* feat: 维度切换组件增加allowEmpty配置 close #533 (#1136)

* feat: add allowEmpty config for switcher

* docs: update swithcer docs for allow empty config

* docs: add demo gif in docs

* feat: adaptive 的 container 自适应包含 header 和 page (#1133)

* feat: adaptive 的 container 自适应包含 header 和 page

* refactor: adaptive 自适应,使用flex 替代直接获取 element height的方式

* fix: 修复单测报错,1 changeSize 命名 g-base 重复,导致部分代码调用出错。2 添加 wrapper 参数

* test: adaptive 为 false 时,options width 和 height 改变不需要触发 changeSheetSize 方法

* refactor: 添加 changeSize 别名方法,兼容线上使用

* refactor: 样式合并

* feat(tooltip): 支持自定义挂载节点 (#1139)

* feat(tooltip): 支持自定义挂载节点

* test: 修复测试

* test: 修改测试断言描述

* test: 修复测试

* test: 修复测试

* fix: 修复未开启tooltip, 还是会渲染 container 节点的问题

* test: 修复测试

* chore(release): @antv/[email protected] @antv/[email protected] (#1141)

* chore(release): 🤖 @antv/s2-v1.10.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.10.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.11.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.11.0 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected] (#1168)

* chore(release): 🤖 @antv/s2-v1.12.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.11.1 [skip ci]

* chore(release): 🔖@antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.12.1 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-react-v1.11.2 [skip ci]

* fix: 指标列头对齐样式修复升级

* fix: 指标列头对齐样式修复升级

* chore(release): 🔖@antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.12.2 [skip ci]

* chore(release): 🔖@antv/[email protected]

* chore(release): 🤖 @antv/s2-react-v1.11.3 [skip ci]

* feat: 增加根据主题色生成对应主题风格色板功能

* fix: 修复lint报错

* chore(release): @antv/[email protected] @antv/[email protected] (#1198)

* chore(release): 🤖 @antv/s2-v1.13.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.12.0 [skip ci]

* feat: 固定背景色

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.14.0-alpha.1 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.13.0-alpha.1 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.13.1 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.12.1 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.14.0-alpha.2 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.13.0-alpha.2 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-react-v1.13.0-alpha.3 [skip ci]

* refactor: 改用hsl颜色

* chore: type

* feat: hsl分量作用方式从
绝对比例改为各自区间相对比例

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.14.0-alpha.3 [skip ci]

* feat: 增加搜索高亮交互状态及主题色 (#1240)

* feat: 增加搜索高亮交互状态及主题色

* chore: 修改默认主题值

* chore: 修改版本号

* chore(release): 🔖@antv/[email protected]   @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.14.0-alpha.4 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.13.0-alpha.4 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected] (#1247)

* chore(release): 🤖 @antv/s2-v1.14.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.13.0 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.15.0-alpha.1 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.14.0-alpha.1 [skip ci]

* fix(s2): 如果是 table mode,列头不需要被格式化 (#1249)

* fix(s2): 如果是 table mode,列头不需要被格式化

* fix(s2): 添加明细和聚合模式下,表头的格式化单测

* chore(release): @antv/s2-v1.15.0-alpha.2

* chore(release): 🤖 @antv/s2-v1.15.0-alpha.2 [skip ci]

* chore(release): @antv/[email protected]

* chore(release): 🤖 @antv/s2-react-v1.14.0-alpha.2 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.15.0-alpha.3 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.14.0-alpha.3 [skip ci]

* fix: 添加当多个数值在行头显示时,小计展示被遮挡的问题 (#1267)

* fix: 优先计算样本坐标和宽度

* refactor: 删除 sampleNodeByLevel 这个中间变量,因为本质还是修改 sampleNodesForAllLevels 的引用

* test: 添加当多个数值在行头显示时,小计展示位置单测

* chore(release): @antv/s2-v1.15.0-alpha.4

* chore(release): @antv/s2-v1.15.0-alpha.4

* chore(release): 🤖 @antv/s2-v1.15.0-alpha.4 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.14.0-alpha.4 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.15.0-alpha.5 [skip ci]

* fix: 为第一个子层级时,parentNode.id === ROOT_ID 时,不需要通过分割获取当前节点的真实 value (#1285)

* chore(release): @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.15.0-alpha.6 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.14.0-alpha.5 [skip ci]

* chore(release): @antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.15.0 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.14.0 [skip ci]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🔖@antv/[email protected] @antv/[email protected]

* chore(release): 🤖 @antv/s2-v1.16.0-alpha.1 [skip ci]

* chore(release): 🤖 @antv/s2-react-v1.15.0-alpha.1 [skip ci]

* refactor: 不需要通过 root[&] 进行分割,仍可以获取正确的展示值 (#1304)

Co-authored-by: semantic-release-bot <[email protected]>
Co-authored-by: xinhui.zxh <[email protected]>
Co-authored-by: wengyidong.wyd <[email protected]>
Co-authored-by: YardWill <[email protected]>
Co-authored-by: Jinke Li <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: 刘嘉一 <[email protected]>
Co-authored-by: Wenjun Xu <[email protected]>
Co-authored-by: stone <[email protected]>
Co-authored-by: stone <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛透视表 「树状结构」下,打开「高级排序」,省份排序失效
3 participants