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(datepicker): developing datepicker component #907

Open
wants to merge 32 commits into
base: next
Choose a base branch
from

Conversation

dilandoogan
Copy link
Contributor

No description provided.

src/components/calendar/bl-calendar.ts Outdated Show resolved Hide resolved
src/components/calendar/bl-calendar.ts Outdated Show resolved Hide resolved
src/components/calendar/bl-calendar.ts Outdated Show resolved Hide resolved
src/components/calendar/bl-calendar.ts Outdated Show resolved Hide resolved
src/components/calendar/bl-calendar.ts Show resolved Hide resolved
src/components/datepicker/bl-datepicker.ts Show resolved Hide resolved
src/components/datepicker/bl-datepicker.ts Outdated Show resolved Hide resolved
playground/template.html Outdated Show resolved Hide resolved
src/components/calendar/bl-calendar.ts Outdated Show resolved Hide resolved
Copy link
Collaborator

@erbilnas erbilnas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe we should avoid using mixins to separate a component’s dependencies from one another and reduce complexity. Let's discuss.

Copy link
Collaborator

@erbilnas erbilnas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Due to concerns about mixins, I’m requesting a change until we have a chance to discuss it further

@erbilnas
Copy link
Collaborator

We should also separate the calendar tests from the date picker since it’s a different subject that should be addressed in a separate merge request

erbilnas
erbilnas previously approved these changes Oct 30, 2024
@erbilnas erbilnas self-requested a review October 30, 2024 15:54
@erbilnas
Copy link
Collaborator

@dilandoogan we should resolve conflict first

* Defines the unselectable dates for calendar
*/
@property({ type: Array, attribute: "disabled-dates", reflect: true })
disabledDates: Date[];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

buraya custom parser yazalım her zaman Date array dönebilmesi için

@@ -79,7 +79,7 @@ export default class BlPopover extends LitElement {
/**
* Visibility state
*/
@state() private _visible = false;
@state() _visible = false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

getter ve setter'ları bulunuyor bunu private'den çıkarmayalım ustam

event.preventDefault();
});

document.addEventListener("mousedown", event => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

inputEl ve calendarEl'e aynı listener geçerek buradaki maliyetten çıkabilir miyiz?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

çıkamıyorsak daha sonrasında listener kalkmalı

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants