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(Date Picker): add new bq-date-picker component #1029

Merged
merged 75 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from 64 commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
0bf9969
feat(Date Picker): add new bq-date-picker component
Cata1989 Apr 22, 2024
ea9dd0d
feat(Date Picker): add logic for single and range date picker
Cata1989 Apr 22, 2024
03849c6
feat(Date Picker): add some basic style for calendar-month component
Cata1989 Apr 22, 2024
7ac4edb
feat(Date Picker): add prop to show days outside the month
Cata1989 Apr 22, 2024
b65affc
feat(Date Picker): add firstDayOfWeek prop for customizable week star…
Cata1989 Apr 22, 2024
45e242c
feat(Date Picker): add min and max props for defining earliest and la…
Cata1989 Apr 22, 2024
38fb511
feat(Date Picker): add locale prop, defaults to browser's
Cata1989 Apr 22, 2024
1adbb4f
feat(Date Picker): add horizontal layout styling for range calendar
Cata1989 Apr 22, 2024
1de3d92
feat(Date Picker): add correct token for arrow color
Cata1989 Apr 22, 2024
0cb2e03
feat(Date Picker): add listen for bqOpen and style outside days
Cata1989 Apr 23, 2024
492a9ec
feat(Date Picker): add w-full
Cata1989 Apr 23, 2024
8368efb
feat(Date Picker): optimize calendar range display logic for mobile view
Cata1989 Apr 24, 2024
194d15e
feat(Date Picker): add some style to date picker
Cata1989 Apr 24, 2024
76911a7
feat(Date Picker): add @part docs for calendar components
Cata1989 Apr 25, 2024
306337d
feat(Date Picker): add some animation when panel is collapsed
Cata1989 Apr 25, 2024
d24ca2a
feat(Date Picker): rename some aria
Cata1989 Apr 25, 2024
9aa0bce
feat(Date Picker): add focus-visible style
Cata1989 Apr 26, 2024
28000f6
feat(Date Picker): update cally library and add external function for…
Cata1989 May 8, 2024
9b9fe74
feat(Date Picker): add some e2e tests for component
Cata1989 May 8, 2024
94f1d98
feat(Date Picker): update cally library
Cata1989 May 13, 2024
bd58d33
feat(Date Picker): add multi-date feature to date picker
Cata1989 May 13, 2024
6599f88
feat(Date Picker): add e2e test for calendar-multi
Cata1989 May 13, 2024
cca53ec
feat(Date Picker): refactor nested ternary operation
Cata1989 May 13, 2024
7fb0b4e
feat(Date Picker): add css variable for range bg color
Cata1989 May 13, 2024
a9ff44b
feat(Date Picker): add missed prop
Cata1989 May 13, 2024
915954b
feat(Date Picker): add logic for focused date value
Cata1989 May 15, 2024
de56f45
feat(Date Picker): add some comments
Cata1989 May 15, 2024
08a6e7c
feat(Date Picker): refactor logic for processFocusedDateValue function
Cata1989 May 15, 2024
037902d
feat(Date Picker): add style for current date in picker calendar
Cata1989 May 16, 2024
2e6b676
chore(deps): sync package-lock.json
Cata1989 May 16, 2024
791a129
revert: add removed global script
Cata1989 May 16, 2024
d7a0f3b
feat(Date Picker): fix typo and remove unused scss variables
Cata1989 May 17, 2024
547c167
feat(Date Picker): refactor calendarType method for better type safet…
Cata1989 May 17, 2024
d408df9
feat(Date Picker): add private handleCalendarChange method and emit b…
Cata1989 May 17, 2024
3adcf8f
feat(Date Picker): fix typo and add dayOfWeek data type
Cata1989 May 17, 2024
43fb640
feat(Date Picker): implement formatDate method to handle single, mult…
Cata1989 May 17, 2024
f526c5d
feat(Date Picker): remove console.log
Cata1989 May 17, 2024
b327748
feat(Date Picker): integrate components into JSXBase for improved TS …
Cata1989 May 17, 2024
1af7ced
feat(Date Picker): add en-GB as default for locale format dates
Cata1989 May 17, 2024
553d99e
feat(Date Picker): enhance display value formatting flexibility with …
Cata1989 May 17, 2024
17c0ffa
feat(Date Picker): add as string type to locale
Cata1989 May 17, 2024
4127d3d
feat(Date Picker): refactor handleCalendarChange
Cata1989 May 17, 2024
e12a8b5
feat(Date Picker): remove unused animation
Cata1989 May 17, 2024
45312d1
feat(Date Picker): consolidate calendar variant selection with single…
Cata1989 May 17, 2024
4be6a18
test(e2e): update e2e tests after the `type` property addition
dgonzalezr May 17, 2024
4ae835d
style(Slider): sort `@Prop` decorators in alphabetical order
dgonzalezr May 17, 2024
83702f4
style(Slider): move `handleCalendarChange()` after `handleChange()`
dgonzalezr May 17, 2024
0678347
refactor(Slider): split `generateCalendarMonths()` to improve readabi…
dgonzalezr May 17, 2024
01ee511
refactor(Slider): simplify `processFocusedDateValue()` method with ea…
dgonzalezr May 17, 2024
795fba0
style(Slider): move getter `CalendarType()` to be the last method
dgonzalezr May 17, 2024
18b454d
style(Slider): remove empty line between const declaration
dgonzalezr May 17, 2024
5fbdc2b
fix(Slider): keep the calendar open only for `multi`
dgonzalezr May 17, 2024
a992cfa
refactor(Slider): remove bqInput event emitter
dgonzalezr May 17, 2024
ce9b2a9
feat(Date Picker): add logic for formatted date and input readonly fo…
Cata1989 May 20, 2024
1553335
feat(Date Picker): add text to mdx file
Cata1989 May 20, 2024
5c5698f
feat(Date Picker): add additional comment
Cata1989 May 20, 2024
296a632
feat(Date Picker): fix typo and add more stories for date picker
Cata1989 May 20, 2024
f7ea9ad
feat(Date Picker): refactor formattedDate logic
Cata1989 May 20, 2024
c1c5fe1
feat(Date Picker): remove forgotten console.log
Cata1989 May 20, 2024
7a37533
feat(Date Picker): add initial value in Storybook
Cata1989 May 20, 2024
359a8fd
feat(Date Picker): enable displaying predefined value
Cata1989 May 20, 2024
8e08109
feat(Date Picker): resolve some left comments
Cata1989 May 20, 2024
0fed282
feat(Date Picker): remove forgotten onInput
Cata1989 May 20, 2024
0a295e3
feat(Date Picker): add more stories to Storybook
Cata1989 May 20, 2024
0767207
feat(Date Picker): resolve left comments
Cata1989 May 20, 2024
fc1f6e4
feat(Date Picker): refactor style for date picker
Cata1989 May 20, 2024
f965a00
feat(Date Picker): refactor formatDate with regex
Cata1989 May 20, 2024
c8c21f0
feat(Date Picker): add monthsPerView prop
Cata1989 May 20, 2024
1e245e4
feat(Date Picker): clean code
Cata1989 May 20, 2024
323da04
docs: fix JSDoc after `focusedDate` method changes
dgonzalezr May 20, 2024
0240585
refactor: improve calendar day button styles, use `--bq-focus` instead
dgonzalezr May 20, 2024
edd68b2
refactor: remove useless CSS variable
dgonzalezr May 20, 2024
673dcb5
fix: focus the input element after user selection
dgonzalezr May 21, 2024
9402aad
refactor: more tweaks and style polish
dgonzalezr May 21, 2024
b0aa37a
style: remove quotes from variables.scss file
dgonzalezr May 21, 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
31 changes: 23 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"@angular/platform-browser": "17.3.8",
"@angular/platform-browser-dynamic": "17.3.8",
"@angular/router": "17.3.8",
"cally": "0.6.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"rxjs": "7.8.1",
Expand Down
3 changes: 2 additions & 1 deletion packages/beeq/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"dependencies": {
"@floating-ui/core": "^1.6.2",
"@floating-ui/dom": "^1.6.5",
"@stencil/core": "^4.18.1"
"@stencil/core": "^4.18.1",
"cally": "0.6.0"
},
"repository": {
"type": "git",
Expand Down
Loading