react-spectrum
Create HexColorField component
#986
Merged

Create HexColorField component #986

dannify merged 164 commits into adobe:main from emircado:hexcolorfield
emircado
devongovett Bootstrap @react-stately/color package
a8ad6238
devongovett Fix lint of plop template
8cd348c1
emircado initial commit
9254c14b
emircado emircado requested a review from dannify dannify 6 years ago
emircado emircado requested a review from devongovett devongovett 6 years ago
emircado emircado requested a review from snowystinger snowystinger 6 years ago
emircado emircado marked this pull request as draft 6 years ago
emircado emircado changed the title Create HexColorField component WIP: Create HexColorField component 6 years ago
emircado initial files for hexcolorfield
da29b534
emircado
emircado commented on 2020-08-19
emircado
emircado commented on 2020-08-19
emircado update descriptions
b7744932
emircado added react-types
ad5d806d
emircado
emircado commented on 2020-08-20
emircado add stories and test files
138bcde6
emircado starting files for docs site
fc22c18b
emircado
emircado commented on 2020-08-21
emircado added color interface
aebccc24
emircado add hooks in aria and stately
64d21e35
emircado
emircado commented on 2020-08-25
emircado update aria file names
238c7ff3
emircado start component from numberfield
d9167085
emircado initial work for useHexColorFieldState
876a3c7f
emircado update stately useHexColorFieldState
4c8533b0
emircado don't use optional textValue in stately
f64bd699
emircado
emircado commented on 2020-08-28
emircado useHexColorFieldState increment
b768264a
emircado
emircado commented on 2020-08-28
emircado
emircado commented on 2020-08-28
emircado add tests for increment
e91a9308
emircado added decrement with tests
f5e28fad
emircado emircado closed this 6 years ago
emircado emircado reopened this 6 years ago
validation for useHexColorFieldState
a2077337
emircado
emircado commented on 2020-09-01
emircado test updates
5435a9a6
emircado added tests for increment, decrement
df823321
emircado initialization updates
1217d148
emircado
emircado commented on 2020-09-01
emircado
emircado commented on 2020-09-01
emircado
emircado commented on 2020-09-01
emircado test for setColorValue
a48d567d
emircado fix lint errors
5c9c98af
emircado fix more lint errors
102c908e
emircado fix more lint errors
a1d809c4
emircado
emircado commented on 2020-09-01
emircado
emircado commented on 2020-09-01
emircado add test for controlled state
02640ea9
emircado updated tests for controlled, uncontrolled
642a53a7
emircado
emircado commented on 2020-09-02
emircado added docs for useHexColorFieldState
0a297f24
emircado
emircado commented on 2020-09-02
emircado start react-aria useHexColorField
ed1888d2
emircado
emircado commented on 2020-09-03
emircado
emircado commented on 2020-09-03
emircado
emircado commented on 2020-09-03
emircado simpler HexColorField component
3f22502b
emircado update aria and spectrum
d101a264
emircado add test for aria useHexColorField
1eb9049a
emircado update react-stately hook
0d9fe6dc
emircado fix lint errors
16d8f466
emircado
emircado commented on 2020-09-04
emircado add keyboard events for increment/decrement
d9253305
emircado
emircado commented on 2020-09-04
emircado
emircado commented on 2020-09-04
emircado utils for parsing color
1c26d724
emircado
emircado commented on 2020-09-04
emircado removed validation logic from useHexColorFieldState
6563e5e7
emircado added story for step
16662ce4
emircado fix lint errors
e579d103
dannify Merge branch 'main' into color
3a1b0306
devongovett
emircado stately updates
3962d6c1
emircado updated onblur and onchange for useHexColorField
599236d3
emircado added test for commitInputValue
8e8ad180
emircado
emircado commented on 2020-09-08
emircado
emircado commented on 2020-09-08
emircado
emircado commented on 2020-09-08
emircado fix lint errors
71eb3520
emircado
emircado commented on 2020-09-08
emircado aria + stately updates
a2da5ad3
emircado
emircado commented on 2020-09-08
emircado stately updates
4077845b
emircado
emircado commented on 2020-09-08
emircado fix test and lint errors
bb0e79a5
emircado undo local jest update
912c18ab
emircado added tests for color
6704d0fd
emircado added aria tests
b5efe161
emircado onchange, onblur tests for aria
3b7699e5
emircado removed docs files
9beb5d43
emircado add back mergeProps again
0a8a1715
emircado move min/max value defaults to stately
99a51789
emircado fix lint errors
77927bbd
emircado added role prop for aria
69b3acca
emircado added story for placeholder
761ff746
emircado stately updates for invalid value props provided
d91c9fe1
emircado comment updates
aafb69f3
emircado no text when no value or default value is provided
2cd3b250
emircado mouse wheel event support
18363c38
emircado story for min/max clamping
fd463453
emircado story as a popover
b1dd9f0b
emircado updated stories and stately
f6aa3dba
emircado updated commitinputvalue
21c6b62f
emircado fix lint errors
581b688a
emircado update useHexColorField interface
09184891
emircado test outline for spectrum component
aa4c79ce
emircado initial tests for react-spectrum
c8749ab0
emircado second set of tests for react-spectrum
5b387b73
emircado third batch of tests for react-spectrum
e707aaa7
emircado fourth set of tests for react-spectrum
95773016
emircado emircado marked this pull request as ready for review 6 years ago
emircado
emircado emircado changed the title WIP: Create HexColorField component Create HexColorField component 6 years ago
snowystinger
snowystinger commented on 2020-09-16
snowystinger
snowystinger commented on 2020-09-16
snowystinger
snowystinger commented on 2020-09-17
emircado remove screen from, add act to react-spectrum tests
3ab01e61
emircado use Omit for HexColorFieldState
e366835d
emircado emircado changed the title Create HexColorField component WIP: Create HexColorField component 6 years ago
emircado new ref for every test in useHexColorField
d1621943
emircado updates for defaults test in HexColorField
d3600d2f
emircado added tests for controlled in accepted values
e4377eb5
emircado updated HexColorField tests with keyUp + keyDown pairs
f93e341c
emircado updated HexColorField test for placeholder
4332d60a
emircado added onChange assertions in HexColorField
7d3e325f
emircado fixed lint warnings
f62db0df
devongovett Merge branch 'main' into color
f087b6d6
emircado Merge remote-tracking branch 'upstream/color' into hexcolorfield
566a0964
emircado remove eslint-disable in useHexColorField
6b898c6a
emircado fix lint error, warning
1a69849d
emircado fixed test error
fe640cf7
emircado used typeText for HexColorField tests
d31f8c6d
emircado added story for controlled value
64d6c917
emircado use let
f40d2560
emircado fix lint error, update controlled story
6ff39e87
emircado merge entire spinbutton props
9a816f67
emircado fix lint error
bf6a5f05
emircado more lint fixes
75ebe0da
emircado add useColor hook
a17d5e38
emircado initial refactor to use useColor
4e32336a
emircado useColor for useHexColorField and HexColorField stories
16d55266
emircado update increment, decrement for unnecessary onchange calls
c5375e8c
emircado HexColorField test updates for increment, decrement changes
43492810
emircado updates to incrementToMax, decrementToMin for onChange calls
905b046b
emircado should not trigger onchange when color value is the same
22099bfb
emircado fix lint errors
db5a28ea
emircado minor, rename variables
a8847b19
emircado added onChangeSpy checks after onBlur
546d6399
emircado fix lint error
4c92ef91
emircado more generic clamp
d19a051a
emircado clamp updates
db395a6e
emircado clamp min and max values
c167ba12
emircado tests for clamp min and max
a8ccd7da
emircado fix lint error
520f1e72
emircado valid hex characters only
8af2a664
emircado lint error
8765530f
emircado fixe for incrementToMax, decrementToMin
4e15412d
emircado fixes for decrement
d3a4a6c4
emircado emircado changed the title WIP: Create HexColorField component Create HexColorField component 6 years ago
emircado
snowystinger
snowystinger commented on 2020-09-28
emircado
emircado commented on 2020-09-29
emircado add comment for disabled lines
c24da28c
emircado update test to use hex number instead of int
9b0ce5eb
emircado useCallback for increment, decrement
ecb47c4b
emircado emircado changed the title Create HexColorField component WIP: Create HexColorField component 6 years ago
emircado storybook fix
d0669618
emircado
emircado commented on 2020-09-29
emircado fix lint error
db5b0f50
emircado wrap userEvent in act
dde3e455
emircado use already calculated string for setInputValue in increment, decrement
d300ad93
dannify dannify closed this 6 years ago
devongovett devongovett reopened this 6 years ago
devongovett
devongovett devongovett changed the base branch from color to main 6 years ago
snowystinger
emircado Merge remote-tracking branch 'upstream/main' into hexcolorfield
d59c63ae
emircado
emircado forgot to save merge conflict fixes
cc3d6c1b
emircado change Color.toHexInt to hex number format
e500ee2d
emircado initial refactor for removing min/max props
844c594f
emircado useHexColorFieldState test updates for removing min/max props
c0775f6a
emircado added test for useColor
9990e396
emircado test update for useHexColorField
2f6e665f
emircado test updates for HexColorField, with min/max props removed
273eb93c
emircado clear colorValue when input is cleared
8b4865db
emircado test updates for new onChange behavior
3855c637
emircado Merge remote-tracking branch 'upstream/main' into hexcolorfield
6bb957e6
emircado emircado changed the title WIP: Create HexColorField component Create HexColorField component 6 years ago
emircado
snowystinger
snowystinger commented on 2020-10-02
snowystinger
snowystinger commented on 2020-10-02
emircado
emircado commented on 2020-10-02
emircado fix for controlled story
c55db384
emircado do not import min and maxColor in test
06a1da8c
emircado rename minColor and maxColor to MIN_COLOR and MAX_COLOR
7c69fc53
emircado remove tests for PageUp, PageDown keys
4b3d3ce4
emircado update toHexInt
b37a1012
emircado Merge branch 'main' into hexcolorfield
852ad38f
emircado
snowystinger
snowystinger commented on 2020-10-05
emircado use constants for Math.pow
02d973a9
emircado Merge branch 'main' into hexcolorfield
851d5330
emircado emircado requested a review from snowystinger snowystinger 6 years ago
snowystinger
snowystinger dismissed these changes on 2020-10-06
majornista
majornista commented on 2020-10-06
majornista
majornista commented on 2020-10-06
LFDanLu
LFDanLu requested changes on 2020-10-13
emircado Merge remote-tracking branch 'upstream/main' into hexcolorfield
259698cc
emircado emircado dismissed their stale review via 259698cc 6 years ago
emircado Apply suggestions from code review
8fe12605
emircado more resolve merge conflicts
8725ae6f
emircado Merge branch 'hexcolorfield' of https://github.com/emircado/react-spe…
412ad14c
emircado update test for scroll
74169bd9
emircado emircado requested a review from LFDanLu LFDanLu 6 years ago
emircado emircado requested a review from snowystinger snowystinger 6 years ago
emircado use onWheel prop for wheel events
3627df7f
emircado
LFDanLu
LFDanLu dismissed these changes on 2020-10-19
devongovett
devongovett commented on 2020-10-03
emircado don't export constants; don't use useCallback
197e571c
emircado emircado dismissed their stale review via 197e571c 6 years ago
emircado added autoCorrect
1a1c3f85
emircado use bitwise operators
0fcd04c9
emircado update useColor
2b5d60a1
emircado Merge branch 'main' into hexcolorfield
45fdaad1
emircado update regex for input
fa278a50
emircado increment, decrement logic in one function
9de9e9d2
emircado Merge branch 'main' into hexcolorfield
5112d213
emircado update for addColorValue
39e6ccc5
emircado useEffect on stately
1f3a1bbb
emircado stately update
64f746f2
emircado Merge branch 'main' into hexcolorfield
7332fcc4
emircado emircado requested a review from devongovett devongovett 6 years ago
emircado stately update
a95b7bf9
emircado fix for setState warning + tests
813dcf59
emircado Merge branch 'main' into hexcolorfield
37748707
emircado
emircado Merge branch 'main' into hexcolorfield
ddb79dfd
emircado Merge branch 'main' into hexcolorfield
598ca7c3
devongovett
devongovett dismissed these changes on 2020-10-29
dannify Merge branch 'main' into hexcolorfield
01d42c0d
dannify dannify dismissed their stale review via 01d42c0d 6 years ago
dannify
dannify approved these changes on 2020-10-30
dannify dannify merged 879cbbdd into main 6 years ago
emircado emircado deleted the hexcolorfield branch 5 years ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone