|
c8b5658b8a
|
fix quick scroll with different segment button widths
|
2024-10-22 16:32:02 -04:00 |
|
|
d6f7cc86ab
|
fix: handle button clicking scrolling multiple views
|
2024-10-18 17:19:27 -04:00 |
|
|
88b9af9a44
|
fix: calculate distance to button using rect & container scroll offset
|
2024-10-18 16:23:22 -04:00 |
|
|
c4c89ae005
|
only use segmentViewId to query segment-view
|
2024-10-18 13:34:58 -04:00 |
|
|
cf51b7127c
|
add intersection observer for segment/view init
|
2024-10-18 12:56:48 -04:00 |
|
|
8e50616d42
|
add segmentViewId to link segment w/ segment-view
|
2024-10-18 12:51:24 -04:00 |
|
|
d804924f8f
|
fix: styles
|
2024-10-15 18:26:56 -04:00 |
|
|
95c5d1b86c
|
fix: initial scroll must always be multiple of content offset
|
2024-10-15 17:35:47 -04:00 |
|
|
e26c8ff8ad
|
fix: lol web APIs exist
|
2024-10-15 16:33:40 -04:00 |
|
|
7b67c26ba0
|
fix: math is hard
|
2024-10-15 16:26:20 -04:00 |
|
|
a75baa1f10
|
fix: button click scroll
|
2024-10-15 15:53:31 -04:00 |
|
|
7da0beb27f
|
fancy color gradient
|
2024-10-11 16:44:21 -04:00 |
|
|
f171202ac7
|
fix segment right scroll
|
2024-10-11 15:51:47 -04:00 |
|
|
1bb7fe87f7
|
scroll end timing
|
2024-10-11 15:49:15 -04:00 |
|
|
9823e0d2a9
|
scroll segment view w/ indicator
|
2024-10-11 15:15:14 -04:00 |
|
|
26c2697830
|
disabled buttons
|
2024-10-11 15:11:26 -04:00 |
|
|
ca3e43bc3b
|
transition indicator color
|
2024-10-11 13:13:34 -04:00 |
|
|
b8dd17eae7
|
support translation & width scaling
|
2024-10-11 12:47:19 -04:00 |
|
|
475de8b6c7
|
fix(segment-view): continue to search through segment contents for enabled
|
2024-10-10 12:04:03 -04:00 |
|
|
b94bec20de
|
fix(segment): update segment content to disabled when button is
|
2024-10-09 18:05:17 -04:00 |
|
|
279300fd3e
|
fix(segment): update segment view to scroll past disabled content
|
2024-10-08 17:35:14 -04:00 |
|
|
59e306bd6d
|
test(segment-view): remove not disabled styles
|
2024-10-02 11:41:36 -04:00 |
|
|
641dc0b82a
|
refactor(segment-content): use opacity for disabled content
|
2024-10-01 16:04:29 -04:00 |
|
|
e6547432e5
|
style: naming
|
2024-09-30 09:57:22 -04:00 |
|
|
c6ec156dcb
|
chore: build
|
2024-09-30 09:51:19 -04:00 |
|
|
89d8e90ab7
|
fix(segment): scroll segment button into view if appropriate
|
2024-09-28 20:59:22 -04:00 |
|
|
ae2704fdc8
|
fix(segment): only handle events for correct instance
|
2024-09-28 20:33:48 -04:00 |
|
|
16c728b040
|
fix(segment): don't trigger scroll listener on segment button click
|
2024-09-28 20:29:03 -04:00 |
|
|
0fa5c99d99
|
fix(segment): handle change of direction scrolling
|
2024-09-27 18:34:19 -04:00 |
|
|
0a13ab449a
|
fix(segment): clear transform styles on scroll end
|
2024-09-27 18:27:32 -04:00 |
|
|
cbee05e488
|
fix(segment): move indicator as a percentage of the width on scroll
|
2024-09-25 16:52:37 -04:00 |
|
|
bdc6933cf6
|
fix(segment): properly bound indicator transform for more than 2 contents
|
2024-09-25 15:50:39 -04:00 |
|
|
7fe1c094ec
|
fix(segment-view): always check the scrollLeft against the initial to get scrollDistance
|
2024-09-25 15:16:54 -04:00 |
|
|
c7bae079c2
|
fix(segment-view): allow moving the indicator left on scroll without touch
|
2024-09-25 12:00:52 -04:00 |
|
|
1d645c9f3f
|
style: lint
|
2024-09-24 19:55:25 -04:00 |
|
|
699ce9779f
|
fix(segment): properly move the indicator when direction starts out on the left
|
2024-09-24 19:54:44 -04:00 |
|
|
d811221750
|
feat(segment): move indicator with scroll
|
2024-09-24 19:22:46 -04:00 |
|
|
798e725712
|
test: remove only
|
2024-09-24 11:38:13 -04:00 |
|
|
15b8b8fe68
|
chore(): add updated snapshots
|
2024-09-24 11:27:25 -04:00 |
|
|
522cbc6180
|
test(segment-view): add tests for disabled content scrolling
|
2024-09-24 11:27:13 -04:00 |
|
|
094d9a8553
|
test(segment-view): remove toolbars
|
2024-09-24 11:26:49 -04:00 |
|
|
b75650b2f7
|
fix(segment-view): don't query for disabled contents
|
2024-09-23 19:05:00 -04:00 |
|
|
f07a5b1039
|
fix(segment-view): split opacity by mode vars to match segment
|
2024-09-23 18:50:39 -04:00 |
|
|
5401e8dc24
|
test(segment-view): split out disabled segment view / content test
|
2024-09-23 18:44:14 -04:00 |
|
|
faa7065a70
|
feat(segment-content): add disabled prop and hide the content
|
2024-09-23 18:42:46 -04:00 |
|
|
d8f27d8f7b
|
test(segment-view): update function for clearing segment value
|
2024-09-23 18:17:56 -04:00 |
|
|
4c0407ed52
|
test(segment-view): fix test
|
2024-09-23 16:23:37 -04:00 |
|
|
9103c403b2
|
docs(segment-view): document setContent method and add example
|
2024-09-23 16:18:37 -04:00 |
|
|
e6f76d53a9
|
style: lint
|
2024-09-23 15:57:52 -04:00 |
|
|
686d943b65
|
test(segment-view): add a test for the proper content being displayed
|
2024-09-23 15:56:33 -04:00 |
|