Commit 781b32c
authored
refactor: New Picker interactive (#691)
* fix: preset should not trigger when invalidate
* fix: block disabled
* fix: picker logic
* test: no clickable
* test: more test case
* chore: init needConfirm prop def
* refactor: needConfirm logic
* fix: new test case
* fix: lock logic
* fix: active logic
* fix: no need hover
* test: fix test case
* chore: init logic desc
* chore: new confirm logic
* chore: renew flush logic
* chore: tmp of it
* chore: sync flush
* chore: rm submit effect
* chore: off it
* chore: support switch on !needConfirm
* chore: open logic
* fix: part logic
* chore: fix validate logic
* chore: clean up
* test: more test case
* chore: dbl click
* refactor: motion scroll
* chore: clean up
* test: dbl click
* chore: all the logic
* chore: open false also can submit
* chore: open false also can submit
* fix: scroll sync
* fix: logic missing
* feat: input support render
* test: reset with onChange
* chore: resize also realign the popup
* test: fix test case
* chore: enter to submit
* test: coverage
* test: test driven
* fix: onPickerValue change
* feat: focus provider it
* chore: focus info
* chore: fix warning message
* chore: part ts
* chore: ability
* chore: more ts
* chore: tmp of it
* refactor: split calendarValue
* chore: clean up
* chore: tmp of it
* chore: tmp of it
* chore: all disabled logic
* chore: tmp of it
* chore: pickerValue
* chore: new pickerValue logic
* chore: clean up
* test: 7 days
* feat: auto limit
* chore: comment it
* chore: sync in range
* test: add test case
* test: update test case
* refactor: use changeOnBlur
* test: update test case
* docs: update
* chore: tmp of it
* chore: tmp of it
* chore: tmp of it
* chore: tmp of it
* chore: clean up
* chore: single selector
* chore: tmp of it
* chore: tmp of it
* chore: tmp of it
* chore: tmp of it
* refactor: generic of useUtil
* refactor: generic of SinglePicker
* chore: tmp of it
* chore: merge filled logic
* refactor: more hooks
* chore: comment it
* chore: move more
* chore: more exclude
* chore: ts update
* chore: move more
* chore: fix type
* chore: merge code
* chore: more info
* chore: clean up
* chore: fix type
* fix: event
* chore: unique
* chore: tmp of it
* chore: merge more
* chore: tmp of it
* chore: tmp of it
* chore: refix Range type
* chore: fix type
* chore: move more
* chore: fix type
* chore: fix type
* chore: more
* chore: more ts
* chore: more types
* chore: more types
* chore: fix mode change
* chore: clean up
* chore: more info
* chore: more info
* chore: rename to onSelect
* refactor: rename onCalendarChange to onSelect
* chore: ts support multiple
* chore: tmp of it
* chore: split code
* refactor: type of it
* chore: clean up
* refactor: pass type
* chore: part of it
* chore: tmp of selection
* refactor: toggle logic outside
* refactor: use unique panelType
* refactor: logic adjust
* chore: support panel multiple
* chore: tmp of def
* chore: more ts
* chore: fix ts logic
* chore: refactor part of code
* chore: fix SinglePicker warning
* chore: adjust useInput logic
* chore: fix crash
* fix: allowEmpty check
* chore: merged values
* chore: fix logic
* chore: part refactor of range values
* chore: unique disabled submit check
* chore: move order type to interface
* chore: change after close
* test: part of test
* fix: should not open when all disabled
* fix: go to emptys
* fix: change logic
* chore: add missing picker reset
* fix: invalidate logic
* chore: tmp of demo
* chore: onPickerValue change also provide the mode info
* chore: adjust logic
* refactor: rollback
* chore: add comment
* chore: all trigger panelChange
* chore: fix decade format
* chore: refactoring of OK logic
* chore: add onNow btn
* fix: now should block
* test: update snapshot
* chore: depecated inputRender
* test: fix test case
* test: fix test case
* fix: showNow on time
* chore: support of it
* refactor: support ts
* chore: adjust align
* chore: useHookContext
* refactor: move in hooks
* refactor: move in hooks
* chore: clean up
* chore: support of content format
* chore: fix logic
* test: fix test case
* chore: tmp of it
* test: update snapshot
* chore: pick props
* chore: fix props
* fix: reset logic
* test: update snapshot
* chore: fix type
* test: update test case
* fix: Enter should open picker
* fix: missing onKeyDown
* chore: move preventDefault to native event
* test: all test
* test: update blur test
* chore: preserveInvalidOnBlur
* chore: wrap info
* clean up
* fix: disabledTime range
* fix: disabled logic
* chore: fix type
* refactor: part
* chore: fix selection
* chore: tmp of it
* chore: add warning
* fix: panel switch
* fix: clear test
* test: update snapshot
* test: update test case
* chore: add rtl
* chore: back of warning
* test: more test case
* test: more test case
* test: update snapshot
* test: find
* chore: picker test
* chore: tmp of it
* chore: selection
* chore: multiple values
* chore: multiple style
* chore: not trigger change when opened
* test: add test case
* test: add test case
* chore: clean types
* chore: clean up
* clean up
* clean up
* chore: merge code
* test: coverage
* chore: refactoring
* chore: refactoring
* chore: fix more ts
* chore: ts part
* refactor: move hooks
* refactor: move hooks
* refactor: move util
* refactor: move index
* refactor: move trigger
* refactor: move part panels
* refactor: move part panels
* fix: link code
* refactor: clean up
* refactor: move picker
* refactor: move picker hooks
* refactor: move picker popup
* refactor: move picker seletor hooks
* refactor: placement pass support
* test: coverage
* test: coverage
* docs: fix demo
* refactor: fix demo
* docs: more demo
* chore: fix break
* fix: pickerProps logic
* chore: clean up
* test: coverage
* test: coverage
* refactor: hover values
* refactor: split hover
* chore: support hover
* chore: clean up
* chore: coverage1 parent 09b3ab1 commit 781b32c
File tree
148 files changed
+15564
-12956
lines changed- assets
- docs
- demo
- examples
- src
- PickerInput
- Popup
- Selector
- SingleSelector
- hooks
- hooks
- PickerPanel
- DatePanel
- DateTimePanel
- DecadePanel
- MonthPanel
- QuarterPanel
- TimePanel
- TimePanelBody
- WeekPanel
- YearPanel
- PickerTrigger
- generate
- hooks
- locale
- panels
- DatePanel
- DatetimePanel
- DecadePanel
- MonthPanel
- QuarterPanel
- TimePanel
- WeekPanel
- YearPanel
- utils
- tests
- __snapshots__
- util
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
148 files changed
+15564
-12956
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
7 | 11 | | |
8 | 12 | | |
9 | 13 | | |
| |||
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| 27 | + | |
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
| |||
29 | 34 | | |
30 | 35 | | |
31 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
32 | 40 | | |
33 | 41 | | |
34 | 42 | | |
| |||
115 | 123 | | |
116 | 124 | | |
117 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
118 | 131 | | |
119 | 132 | | |
120 | 133 | | |
| |||
249 | 262 | | |
250 | 263 | | |
251 | 264 | | |
| 265 | + | |
252 | 266 | | |
253 | 267 | | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
254 | 290 | | |
255 | 291 | | |
256 | 292 | | |
257 | | - | |
| 293 | + | |
258 | 294 | | |
259 | 295 | | |
260 | | - | |
| 296 | + | |
| 297 | + | |
261 | 298 | | |
262 | 299 | | |
263 | 300 | | |
| |||
274 | 311 | | |
275 | 312 | | |
276 | 313 | | |
| 314 | + | |
277 | 315 | | |
278 | 316 | | |
279 | 317 | | |
| |||
282 | 320 | | |
283 | 321 | | |
284 | 322 | | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
285 | 327 | | |
286 | 328 | | |
287 | 329 | | |
288 | 330 | | |
289 | 331 | | |
290 | 332 | | |
291 | 333 | | |
292 | | - | |
| 334 | + | |
293 | 335 | | |
294 | 336 | | |
295 | | - | |
| 337 | + | |
296 | 338 | | |
297 | 339 | | |
298 | 340 | | |
| |||
339 | 381 | | |
340 | 382 | | |
341 | 383 | | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
342 | 390 | | |
343 | 391 | | |
344 | 392 | | |
| |||
371 | 419 | | |
372 | 420 | | |
373 | 421 | | |
| 422 | + | |
374 | 423 | | |
375 | 424 | | |
376 | 425 | | |
| |||
393 | 442 | | |
394 | 443 | | |
395 | 444 | | |
396 | | - | |
| 445 | + | |
397 | 446 | | |
398 | 447 | | |
399 | 448 | | |
| |||
433 | 482 | | |
434 | 483 | | |
435 | 484 | | |
436 | | - | |
| 485 | + | |
437 | 486 | | |
438 | 487 | | |
439 | 488 | | |
| |||
476 | 525 | | |
477 | 526 | | |
478 | 527 | | |
| 528 | + | |
479 | 529 | | |
480 | 530 | | |
481 | 531 | | |
482 | 532 | | |
483 | 533 | | |
484 | 534 | | |
485 | 535 | | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
486 | 565 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
6 | | - | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | | - | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | | - | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
26 | | - | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
| |||
46 | 44 | | |
47 | 45 | | |
48 | 46 | | |
49 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
69 | | - | |
| 70 | + | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| |||
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
82 | | - | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
96 | | - | |
| 97 | + | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
| |||
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
110 | | - | |
| 111 | + | |
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
| |||
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
124 | | - | |
| 125 | + | |
125 | 126 | | |
126 | 127 | | |
127 | 128 | | |
| |||
135 | 136 | | |
136 | 137 | | |
137 | 138 | | |
138 | | - | |
| 139 | + | |
139 | 140 | | |
140 | 141 | | |
141 | 142 | | |
| |||
162 | 163 | | |
163 | 164 | | |
164 | 165 | | |
165 | | - | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
166 | 170 | | |
167 | 171 | | |
168 | 172 | | |
169 | 173 | | |
170 | 174 | | |
171 | 175 | | |
172 | | - | |
| 176 | + | |
173 | 177 | | |
174 | | - | |
175 | | - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
176 | 183 | | |
177 | 184 | | |
178 | 185 | | |
| |||
0 commit comments