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

feat(frozen-panel): 增加行列头冻结配置面板 #2782

Merged
merged 10 commits into from
Jun 21, 2024
Merged

Conversation

lijinke666
Copy link
Member

@lijinke666 lijinke666 commented Jun 19, 2024

👀 PR includes

基于 #2779 创建的分支, 所以含有 #2779 的代码, 先看 #2779

✨ Feature

  • New feature

📝 Description

  <FrozenPanel
    title="冻结行列头"
    defaultCollapsed={false}
    inputNumberProps={{
      size: 'small',
      step: 1,
    }}
    defaultOptions={{
      frozenRowHeader: true,
      frozenRow: [1, 2],
      frozenCol: [1, 2],
    }}
    onChange={(options) => {
      console.log('onChange:', options);
    }}
    onReset={(options, prevOptions) => {
      console.log('onReset:', options, prevOptions);
    }}
    />

🖼️ Screenshot

Kapture 2024-06-19 at 16 39 51

🔗 Related issue link

🔍 Self-Check before the merge

  • Add or update relevant docs.
  • Add or update relevant demos.
  • Add or update test case.
  • Add or update relevant TypeScript definitions.

Copy link

vercel bot commented Jun 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
antvis-s2 ❌ Failed (Inspect) Jun 21, 2024 9:29am

@github-actions github-actions bot requested review from wjgogogo and wuhaiyang June 19, 2024 08:37
@github-actions github-actions bot added pr(feature) new feature next 2.0-next 版本的问题 labels Jun 19, 2024
Copy link
Contributor

github-actions bot commented Jun 19, 2024

Size Change: +221 B (+0.07%)

Total Size: 326 kB

Filename Size Change
./packages/s2-react/dist/index.min.js 69.8 kB +109 B (+0.16%)
./packages/s2-vue/dist/index.min.js 22 kB +112 B (+0.51%)
ℹ️ View Unchanged
Filename Size
./packages/s2-core/dist/index.min.js 228 kB
./packages/s2-core/dist/style.min.css 402 B
./packages/s2-react/dist/style.min.css 3.9 kB
./packages/s2-vue/dist/style.min.css 1.98 kB

compressed-size-action

Copy link
Contributor

你好, @lijinke666 CI 执行失败, 请点击 [Details] 按钮查看, 并根据日志修复。

Hello, @lijinke666 CI run failed, please click the [Details] button for detailed log information and fix it.

@github-actions github-actions bot added the 🚨 test failed 单元测试挂了 label Jun 21, 2024
@github-actions github-actions bot removed the 🚨 test failed 单元测试挂了 label Jun 21, 2024
@lijinke666 lijinke666 merged commit d2fa5c9 into next Jun 21, 2024
8 of 9 checks passed
@lijinke666 lijinke666 deleted the feat-frozen branch June 21, 2024 10:03
@lijinke666
Copy link
Member Author

🎉 This PR is included in version @antv/s2-v2.0.0-next.24 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member Author

🎉 This PR is included in version @antv/s2-react-components-v1.0.0-next.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next 2.0-next 版本的问题 pr(feature) new feature released on @next
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants