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(custom-date-picker): updated custom date, time, date range pickers w flatpickr #242

Merged
merged 115 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
a3e8e52
feat(custom-date-picker): revert changes to scss files until dart sas…
wbarbee Sep 30, 2024
ec56e9b
fix: foundational code in place
wbarbee Sep 30, 2024
7ababce
feat: basic functioning date-time implementation with flatpickr
wbarbee Sep 30, 2024
50f0925
chore: revert unnecessary tsconfig change, remove console.logs
wbarbee Sep 30, 2024
5682afb
feat: date time picker option, refine props
wbarbee Oct 1, 2024
7664969
feat: instantiate on-change action
wbarbee Oct 1, 2024
1d04f3f
feat: polish datepicker logic and props, refactor timepicker, dateran…
wbarbee Oct 1, 2024
f1f34c6
fix: start and end labels for range
wbarbee Oct 1, 2024
9ae734a
feat: input styling with permanent shidoka icon
wbarbee Oct 2, 2024
a448165
chore: dynamic placeholder, reacts to dateFormat
wbarbee Oct 2, 2024
f691b2d
chore: date range separater, sounder styling
wbarbee Oct 2, 2024
b7129b7
fix: start and end date should be clickable in range
wbarbee Oct 2, 2024
21688dd
chore: remove .DS_Store file from PR
wbarbee Oct 2, 2024
4c286f0
feat(custom-date-picker): add dynamic locale lang support
wbarbee Oct 2, 2024
941dd92
fix: sizing styling across three components
wbarbee Oct 2, 2024
3fee379
feat(custom-date-picker): caption, warn, error text structure and sty…
wbarbee Oct 3, 2024
784ca5f
Merge branch 'next' into feat/custom-date-picker
wbarbee Oct 3, 2024
6b55064
feat(custom-date-picker): establish foundation for custom theming
wbarbee Oct 3, 2024
c193399
chore: remove unnecessary css wrapper
wbarbee Oct 3, 2024
7d35f64
feat(custom-date-picker): single/multi input options with sizing vari…
wbarbee Oct 3, 2024
2195b16
chore(datepicker-timepicker): clean up style structure
wbarbee Oct 3, 2024
23b1a60
chore(storyName): string correction
wbarbee Oct 3, 2024
8330dcc
chore(datepicker): re-order stories, locale examples
wbarbee Oct 3, 2024
60df87d
chore: refactor handleDateChange, remove unnecessary mode and instead…
wbarbee Oct 4, 2024
5b00a95
chore: modularize some repeated logic into flatpickr helper file
wbarbee Oct 4, 2024
92894f5
chore: ensure that _validate is called in all 3 components
wbarbee Oct 4, 2024
bb2ed73
feat(timepicker): improve time-sepecific logic and display
wbarbee Oct 4, 2024
88aab84
feat(date-picker): initial figma styling
wbarbee Oct 7, 2024
6abafc7
chore: additional figma styling
wbarbee Oct 7, 2024
9fb7a76
chore: static month/year, accessibility incomplete, timepicker styles
wbarbee Oct 7, 2024
34c1d45
chore: additional accessibility incomplete violations addressed, time…
wbarbee Oct 7, 2024
aa5692f
fix: disconnect flatpickr instance from inside of the storybook file
wbarbee Oct 7, 2024
f18676e
chore: merge main, run analyze, src index.ts imports
wbarbee Oct 8, 2024
be8400f
feat(custom-date-picker): updated figma link, marco styles pt 1
wbarbee Oct 8, 2024
4693bad
fix: today date hover styles
wbarbee Oct 8, 2024
d89309f
Merge branch 'main' into feat/custom-date-picker
wbarbee Oct 8, 2024
c5d23a7
feat: begin slotted anchor inputs, still need styling on date range p…
wbarbee Oct 8, 2024
d5f7806
feat: style slotted range inputs
wbarbee Oct 9, 2024
18f5b9e
feat: refactor three components to slot anchor elements properly
wbarbee Oct 9, 2024
427ff86
chore: timepicker icon anchor instantiated
wbarbee Oct 9, 2024
9f94e03
Merge branch 'main' into feat/custom-date-picker
wbarbee Oct 9, 2024
fcd4703
Merge branch 'next' into feat/custom-date-picker
wbarbee Oct 9, 2024
1f72c4a
chore: initialize utility function for date/range pickers
wbarbee Oct 9, 2024
cefc496
chore: single vs multi anchor init functions
wbarbee Oct 9, 2024
ddb479d
chore: storybook side nav naming
wbarbee Oct 9, 2024
520a32d
chore: code cleanup, prop cleanup
wbarbee Oct 9, 2024
2e662cf
fix: color tokens, background still strange
wbarbee Oct 10, 2024
648d71d
feat: showMonths 2 and styles
wbarbee Oct 10, 2024
51259d7
fix: better calendar divider
wbarbee Oct 10, 2024
06e9389
fix: timepicker dynamic positioning
wbarbee Oct 10, 2024
18a6822
feat: additional theme, dynamic showMonths
wbarbee Oct 11, 2024
20dd609
Merge branch 'next' of github.com:kyndryl-design-system/shidoka-appli…
wbarbee Oct 11, 2024
a98966a
chore: align month/year
wbarbee Oct 11, 2024
7bb13c3
feat: update storybook titles
wbarbee Oct 11, 2024
e90a6ba
feat: reinitialize on storybook dateFormat change
wbarbee Oct 11, 2024
f6e0a4e
feat: externalized getFlatpickrOptions logic
wbarbee Oct 11, 2024
e309dc8
feat: format day name in datepicker, replace color hex values with ap…
wbarbee Oct 11, 2024
78fce2d
chore: remove instance of size in datepicker
wbarbee Oct 11, 2024
6e4cb21
fix: month/year alignment
wbarbee Oct 11, 2024
2ed0b19
feat: remove caret, tooltip pointer
wbarbee Oct 11, 2024
f665040
fix: multiMonth vs single month styling
wbarbee Oct 14, 2024
fbd1956
feat: timepicker 24 hour story
wbarbee Oct 15, 2024
d3c4e21
Merge branch 'next' into feat/custom-date-picker
wbarbee Oct 15, 2024
924f26c
feat: storybook date/time picker naming, code cleanup
wbarbee Oct 15, 2024
01ebfd8
fix: anchor button styling
wbarbee Oct 15, 2024
a0d7592
feat: refactor _validation, error handling
wbarbee Oct 16, 2024
f1b4b3c
fix: console warning
wbarbee Oct 16, 2024
7a62446
chore: merge, conflicts, analyze
wbarbee Oct 16, 2024
7e01210
feat: async validation, remove unused import
wbarbee Oct 16, 2024
9a52db7
chore: update stories to include some required fields
wbarbee Oct 16, 2024
e5f1739
chore: lint;
wbarbee Oct 16, 2024
e04aaf5
chore: alternate figma link
wbarbee Oct 16, 2024
57e72f2
feat: refactor to use internalized input elements only, remove majori…
wbarbee Oct 16, 2024
05394b6
fix: remove slot annotations in component files
wbarbee Oct 16, 2024
9629af5
fix: required default in stories
wbarbee Oct 17, 2024
ab3a08c
fix: default timepicker behavior bug
wbarbee Oct 17, 2024
1abc79f
fix: optional allowInput
wbarbee Oct 17, 2024
1ab6d3f
Merge branch 'next' into feat/custom-date-picker
wbarbee Oct 17, 2024
14b0849
fix: storybook accessibility incompletes
wbarbee Oct 17, 2024
791ed8e
fix: brian comments pt i
wbarbee Oct 17, 2024
f3f0088
fix: validation, update patterns/forms
wbarbee Oct 17, 2024
31b4439
feat: add tooltip example
wbarbee Oct 17, 2024
7a9e68e
fix: cleanup validation logic, lite styling on form pattern range inputs
wbarbee Oct 17, 2024
780015e
feat: customizable defaultErrorMessage
wbarbee Oct 17, 2024
f912f03
feat: new utility file functions to control what elements launch flat…
wbarbee Oct 18, 2024
9a9d3b7
fix: dateFormat in timepicker
wbarbee Oct 18, 2024
6c99fc5
chore: remove time, date, daterange picker tooltip ex implementation …
wbarbee Oct 18, 2024
875fbb1
chore: analyze
wbarbee Oct 18, 2024
27dbd8b
feat: aria-label, titles for error and warning messages on all three …
wbarbee Oct 18, 2024
c4568b1
feat(custom-date-picker): update custom date, time, and date range pi…
wbarbee Oct 18, 2024
f63d5a0
feat: update validation to align with other FormMixin components, upd…
wbarbee Oct 19, 2024
818d6f9
fix: ensure that invalidText updates when manually entered
wbarbee Oct 19, 2024
2bcaf91
feat: refactor to extract additional logic to flatpickr.ts, fix valid…
wbarbee Oct 21, 2024
4e98beb
fix: brian comments minus migration improvements
wbarbee Oct 21, 2024
1d27937
feat: update migration guide to more detailed checklist format
wbarbee Oct 21, 2024
d8cd8e9
feat: migration guide details on input/output
wbarbee Oct 21, 2024
28718cd
fix: form date range picker lenght
wbarbee Oct 21, 2024
d9c2ad3
feat: convert anchorEl to inputEl for better naming, improve error/wa…
wbarbee Oct 21, 2024
ca75fc1
Merge branch 'feat/custom-date-picker' of github.com:kyndryl-design-s…
wbarbee Oct 21, 2024
a195149
chore: revert and fix range input length
wbarbee Oct 21, 2024
d8df7a0
fix: final timepicker specific console error
wbarbee Oct 21, 2024
f287997
Merge branch 'next' into feat/custom-date-picker
wbarbee Oct 21, 2024
ba82a31
chore: remove unused function, revert textInput
wbarbee Oct 21, 2024
a3f2635
feat: add defaultDate, defaultHour, defaultMinute properties, where a…
wbarbee Oct 21, 2024
7c04657
fix: defaultDate, defaultHour, defaultMinute implementation
wbarbee Oct 21, 2024
fa5eadf
fix: failing test
wbarbee Oct 21, 2024
d40c657
feat: add in reset functionality to all three components, add multi s…
wbarbee Oct 22, 2024
1435177
fix: replace confusing hindi label
wbarbee Oct 22, 2024
484462f
fix: one more date / time -> date + time
wbarbee Oct 22, 2024
7d92d7e
fix: type error on clear for datepicker
wbarbee Oct 22, 2024
edb25ce
fix: minDate / maxDate bug, AM/PM temporary fix
wbarbee Oct 22, 2024
0b0ac83
fix: add twentyFourHourFormat control to all stories
wbarbee Oct 22, 2024
a9eef83
fix: live edits responding to twentyFourHourFormat changes
wbarbee Oct 22, 2024
28f9ee6
fix: remove repetitive emitValue from reset
wbarbee Oct 22, 2024
4ac70d3
feat: improve JSDoc documentation for twentyFourHourFormat prop
wbarbee Oct 22, 2024
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ coverage
# logs
.eslintcache
wbarbee marked this conversation as resolved.
Show resolved Hide resolved
build-storybook.log

**/.DS_Store
Loading
Loading