Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
132 commits
Select commit Hold shift + click to select a range
36f2378
Add CodeQL workflow for GitHub code scanning (#423)
lgtm-com[bot] Jun 25, 2023
e73e38f
chore: bump rc-select (#434)
MuxinFeng Jul 17, 2023
c616c81
v5.10.0-alpha.0
MadCcc Jul 17, 2023
804e843
chore: bump rc-select (#435)
MadCcc Jul 19, 2023
071116d
v5.10.0
MadCcc Jul 19, 2023
77dbd4c
chore: bump rc-select
zombieJ Jul 24, 2023
ac7205f
5.11.0
zombieJ Jul 24, 2023
03f3b24
perf: map filter -> reduce (#438)
linxianxi Aug 4, 2023
3bcd96a
5.11.1
zombieJ Aug 4, 2023
8b146bf
fix: `multiple` && `!treeCheckable` should use SHOW_ALL instead of SH…
zombieJ Aug 23, 2023
02716cb
5.11.2
zombieJ Aug 23, 2023
d141129
chore: bump rc-select (#440)
zombieJ Aug 23, 2023
f647626
5.12.0
zombieJ Aug 23, 2023
a5acdf2
fix: TreeSelect keyboard navigation has inconsistent focusing (#433)
flyFatSeal Sep 1, 2023
48c3894
5.12.1
zombieJ Sep 1, 2023
511765a
chore: bump ver (#441)
zombieJ Sep 20, 2023
2d99469
5.13.0
zombieJ Sep 20, 2023
4119601
feat: support itemScrollOffset property (#443)
Yuiai01 Oct 17, 2023
1a1805f
v5.14.0
MadCcc Oct 17, 2023
3945265
chore: bump rc-tree (#444)
Yuiai01 Oct 23, 2023
0e1a9b0
5.14.1
zombieJ Oct 23, 2023
9086e4c
chore: bump rc-select (#445)
RedJue Oct 26, 2023
e85d617
5.15.0
zombieJ Oct 26, 2023
e4d0bfa
chore: bump dumi@2.x.x (#446)
DBSDs Nov 28, 2023
5f5be87
feat: support titleRender (#447)
huangkairan Dec 4, 2023
f6584f3
v5.16.0
MadCcc Dec 4, 2023
d459619
chore(deps-dev): bump np from 6.5.0 to 7.5.0 (#342)
dependabot-preview[bot] Dec 6, 2023
d74250c
docs: fix vercel build (#449)
yoyo837 Dec 26, 2023
edab4bd
chore: add NODE_ENV to OptionList.displayName (#448)
li-jia-nan Dec 26, 2023
4685af9
chore(deps-dev): bump eslint from 7 to 8 (#450)
li-jia-nan Dec 28, 2023
a5ffe8b
chore(deps): bump rc-select from 4.10.0 to 4.11.0 (#452)
li-jia-nan Dec 29, 2023
a5547a0
5.17.0
zombieJ Dec 30, 2023
a000435
chore(deps): bump rc-select from 14.11.0-1 to 14.11.0 (#453)
li-jia-nan Jan 2, 2024
76c1569
Upgrade to GitHub-native Dependabot (#345)
dependabot-preview[bot] Feb 8, 2024
92eacdb
fix: code scanning alerts (#455)
afc163 Feb 8, 2024
c6d8a3b
build(deps-dev): bump @umijs/fabric from 3.0.0 to 4.0.1 (#457)
dependabot[bot] Feb 8, 2024
89ee3d0
build(deps-dev): bump np from 7.7.0 to 9.2.0 (#456)
dependabot[bot] Feb 8, 2024
ef346e5
build(deps-dev): bump @types/react-dom from 16.9.24 to 18.2.19 (#462)
dependabot[bot] Feb 8, 2024
ebd1939
build(deps-dev): bump @types/jest from 26.0.24 to 29.5.12 (#463)
dependabot[bot] Feb 8, 2024
cf21cf4
build(deps-dev): bump eslint-plugin-unicorn from 50.0.1 to 51.0.1 (#459)
dependabot[bot] Feb 8, 2024
32eeca4
feat: up select version (#473)
crazyair Feb 28, 2024
4a85b25
5.18.0
zombieJ Feb 29, 2024
8588b0d
chore: bump select (#480)
zombieJ Mar 8, 2024
24c8ade
5.19.0
zombieJ Mar 8, 2024
cbe271e
build(deps-dev): bump np from 9.2.0 to 10.0.5 (#505)
dependabot[bot] Apr 24, 2024
edb31b3
build(deps-dev): bump rc-field-form from 1.44.0 to 2.0.0 (#509)
dependabot[bot] Apr 25, 2024
2d99ce4
feat: Supports onPopupScroll props (#507)
wanpan11 Apr 25, 2024
7d63954
5.20.0
zombieJ Apr 25, 2024
94a0c26
build(deps-dev): bump eslint-plugin-unicorn from 51.0.1 to 52.0.0 (#493)
dependabot[bot] Apr 25, 2024
deff67d
Merge braMnch 'master' of github.com:react-component/tree-select
zombieJ May 7, 2024
90da536
feat: support nativeElement (#522)
zombieJ May 18, 2024
4c8a55a
5.21.0
zombieJ May 18, 2024
c5fe3c8
build(deps): bump rc-select from 14.14.0 to 14.15.0 (#533)
dependabot[bot] Jun 11, 2024
981cd31
v5.22.0
MadCcc Jun 11, 2024
42b19b1
fix: render correct label with `fieldNames`(#49631) (#538)
huangkairan Jun 28, 2024
db97456
Update README.md
afc163 Jun 28, 2024
4b0830a
5.22.1
afc163 Jun 28, 2024
23606d8
test: use codecov/codecov-action (#554)
Layouwen Aug 23, 2024
deb6d76
fix: improve to not treat as a valid option when the value is null. (…
Wxh16144 Aug 28, 2024
be04cb9
5.22.2
afc163 Aug 28, 2024
890fda6
chore: bump tree (#570)
zombieJ Sep 3, 2024
de83565
5.23.0
zombieJ Sep 3, 2024
89cc380
Update dependabot.yml
afc163 Oct 14, 2024
77d720a
build(deps-dev): bump @types/node from 20.16.11 to 22.7.5 (#579)
dependabot[bot] Oct 14, 2024
80d359d
chore: upgrade deps (#582)
afc163 Oct 14, 2024
72d007a
type: React.Key => SafeKey (#578)
dependabot[bot] Oct 15, 2024
63d472f
refactor: refactor utils and hooks (#585)
afc163 Oct 15, 2024
cfc4a11
5.24.0
afc163 Oct 15, 2024
cca4c62
type: revert SafeKey and upgrade rc-tree (#586)
afc163 Oct 16, 2024
3b919b5
5.24.1
afc163 Oct 16, 2024
50e898f
bump rc-select
afc163 Oct 16, 2024
2bdef40
5.24.2
afc163 Oct 16, 2024
fcd598c
test: fix snapshot (#590)
afc163 Oct 17, 2024
93afc43
fix: always change treeProps.expandedKeys to avoid wrong loadling dat…
bbb169 Oct 24, 2024
fb1b6bb
5.24.3
afc163 Oct 24, 2024
919dced
type: correct type annotation for treeTitleRender (#595)
Zyf665 Nov 9, 2024
a16f0f0
feat(a11y): enhance keyboard interaction in search mode (#592)
aojunhao123 Nov 11, 2024
48076ee
5.24.4
zombieJ Nov 11, 2024
35d98f5
fix: `loadData` not keep fresh (#599)
zombieJ Nov 21, 2024
c3bf3cb
5.24.5
zombieJ Nov 21, 2024
b961a86
feat: TreeSelect support maxCount (#596)
aojunhao123 Dec 3, 2024
a1284ba
5.25.0
zombieJ Dec 3, 2024
78fdfa5
build(deps-dev): bump eslint-plugin-jest from 27.9.0 to 28.10.0 (#610)
dependabot[bot] Dec 23, 2024
b858a0c
feat: supplement maxCount logic for complicated cases (#602)
aojunhao123 Dec 24, 2024
2943745
5.25.1
zombieJ Dec 24, 2024
8e2609f
fix: force update to keep disable state work (#612)
aojunhao123 Dec 25, 2024
4099f9f
5.25.2
zombieJ Dec 25, 2024
9de7f94
build(deps-dev): bump @types/react-dom from 18.3.2 to 19.0.1 (#606)
dependabot[bot] Dec 31, 2024
5146f57
chore: update rc-tree (#613)
li-jia-nan Dec 31, 2024
23990f1
5.26.0
afc163 Dec 31, 2024
0849ad0
chore: bump rc-tree
zombieJ Jan 7, 2025
1867fce
5.27.0
zombieJ Jan 7, 2025
9ffd1f0
chore: bump @rc-component deps (#631)
zombieJ Feb 25, 2025
60e2de4
chore: bump tree version (#633)
aojunhao123 Mar 5, 2025
f0d4350
chore: bump version to 1.1.0
zombieJ Mar 5, 2025
8ef983a
feat: support classNames and styles (#638)
thinkasany Mar 21, 2025
6fa2d68
chore: bump version to 1.1.1
zombieJ Mar 21, 2025
9cf6f17
refactor: popup object (#644)
thinkasany Apr 28, 2025
f3670b0
chore: bump version to 1.1.2
zombieJ Apr 28, 2025
1f5043d
refactor: useId instead (#645)
zombieJ Jun 3, 2025
51d13d2
chore: bump version to 1.1.3
zombieJ Jun 3, 2025
93d450b
feat: combine search props (#646)
EmilyyyLiu Jun 24, 2025
12a763d
chore: bump version to 1.2.0
zombieJ Jun 24, 2025
03dd364
fix: add omitDomProps to baseSelect (#647)
EmilyyyLiu Jun 25, 2025
23f4ebf
chore: bump version to 1.2.1
zombieJ Jun 25, 2025
db53009
refactor: Upgrade utils and replace useMergedState (#648)
EmilyyyLiu Sep 11, 2025
69b220e
chore: bump version to 1.2.2
zombieJ Sep 11, 2025
37d94ae
perf: uninstall classnames, install clsx (#649)
li-jia-nan Sep 28, 2025
77af159
chore: bump select
zombieJ Oct 21, 2025
f6fadac
chore: bump version to 1.3.0-alpha.0
zombieJ Oct 21, 2025
d65883d
test: Fix test case (#650)
zombieJ Oct 22, 2025
e6e1e41
chore: pass rc-select semantic (#651)
zombieJ Oct 22, 2025
21225eb
chore: bump version to 1.3.0-alpha.1
zombieJ Oct 22, 2025
ca9dcb1
chore: bump select
zombieJ Oct 24, 2025
b1eee9b
chore: bump version to 1.3.0
zombieJ Oct 24, 2025
f7d5e19
Update README.md
afc163 Nov 25, 2025
739c660
Update npm package link in README
afc163 Nov 25, 2025
2a33c7a
Update package name references in README.md
afc163 Nov 25, 2025
faf261f
chore: remove dist files in npm package (#653)
afc163 Nov 25, 2025
4bd8f7b
chore: Add Vercel configuration for umijs framework (#654)
afc163 Nov 25, 2025
9afde7d
chore: bump version to 1.3.1
afc163 Nov 25, 2025
6511676
chore: bump upstream version (#655)
yoyo837 Dec 2, 2025
cbdacf3
chore: bump version to 1.4.0
afc163 Dec 2, 2025
60473dc
fix: update @rc-component/select to v1.4.0
afc163 Dec 24, 2025
4a9fa0d
chore: bump version to 1.5.0
afc163 Dec 24, 2025
7ce7fbe
chore: bump deps
zombieJ Dec 31, 2025
191af11
test: update test case
zombieJ Dec 31, 2025
be4c0b3
chore: bump version to 1.6.0
zombieJ Dec 31, 2025
2466b66
chore: bump tree
zombieJ Jan 22, 2026
fbf5b05
chore: bump version to 1.7.0
zombieJ Jan 22, 2026
a3201f5
fix: update @rc-component/select to v1.6.0
zombieJ Jan 30, 2026
3680f5a
chore: bump version to 1.8.0
zombieJ Jan 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .dumirc.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { defineConfig } from 'dumi';

export default defineConfig({
favicons: ['https://avatars0.githubusercontent.com/u/9441414?s=200&v=4'],
themeConfig: {
name: 'tree-select',
logo: 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4',
},
exportStatic: {},
base: '/',
publicPath: '/',
styles: [
`
.markdown table {
width: auto !important;
}
`,
],
});
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
41 changes: 41 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: "CodeQL"

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
schedule:
- cron: "41 11 * * 2"

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ javascript ]

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
queries: +security-and-quality

- name: Autobuild
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{ matrix.language }}"
118 changes: 5 additions & 113 deletions .github/workflows/react-component-ci.yml
Original file line number Diff line number Diff line change
@@ -1,114 +1,6 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

name: ✅ test
on: [push, pull_request]
jobs:
setup:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master

- uses: actions/setup-node@v1
with:
node-version: '12'

- name: cache package-lock.json
uses: actions/cache@v2
with:
path: package-temp-dir
key: lock-${{ github.sha }}

- name: create package-lock.json
run: npm i --package-lock-only

- name: hack for singe file
run: |
if [ ! -d "package-temp-dir" ]; then
mkdir package-temp-dir
fi
cp package-lock.json package-temp-dir

- name: cache node_modules
id: node_modules_cache_id
uses: actions/cache@v2
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}

- name: install
if: steps.node_modules_cache_id.outputs.cache-hit != 'true'
run: npm ci

lint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master

- name: restore cache from package-lock.json
uses: actions/cache@v2
with:
path: package-temp-dir
key: lock-${{ github.sha }}

- name: restore cache from node_modules
uses: actions/cache@v2
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}

- name: lint
run: npm run lint

needs: setup

compile:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master

- name: restore cache from package-lock.json
uses: actions/cache@v2
with:
path: package-temp-dir
key: lock-${{ github.sha }}

- name: restore cache from node_modules
uses: actions/cache@v2
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}

- name: compile
run: npm run compile

needs: setup

coverage:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master

- name: restore cache from package-lock.json
uses: actions/cache@v2
with:
path: package-temp-dir
key: lock-${{ github.sha }}

- name: restore cache from node_modules
uses: actions/cache@v2
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}

- name: coverage
run: npm test -- --coverage && bash <(curl -s https://codecov.io/bash)

needs: setup
test:
uses: react-component/rc-test/.github/workflows/test.yml@main
secrets: inherit
17 changes: 10 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.storybook
.doc
*.iml
*.log
Expand All @@ -24,13 +23,17 @@ node_modules
dist
*.css
build
lib/*
lib
coverage
.vscode
yarn.lock
package-lock.json
es/*
# umi
.umi
.umi-production
.umi-test
pnpm-lock.yaml
es
# dumi
.dumi/tmp
.dumi/tmp-test
.dumi/tmp-production
.env.local

bun.lockb
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lint-staged
21 changes: 0 additions & 21 deletions .umirc.ts

This file was deleted.

Loading