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

v2.3.0 #733

Merged
merged 36 commits into from
Oct 12, 2023
Merged

v2.3.0 #733

merged 36 commits into from
Oct 12, 2023

Conversation

AykutSarac
Copy link
Member

What's Changed

New Contributors

Full Changelog: v2.2.0...v2.3.0

Aykut Saraç and others added 30 commits July 18, 2023 09:57
Co-authored-by: Ogun Babacan <ogun.babacan@trendyol.com>
Signed-off-by: Aykut Saraç <aykutsarac0@gmail.com>
feat(select): add select clearable prop
Added support for following input types
* email
* time
* datetime-local
* month
* week

Co-authored-by: Aykut Saraç <aykut.sarac@trendyol.com>
Noticed that we are not showing stroke in the Checkbox disabled variant.

Fixes #567

Co-authored-by: talat.atac <talat.atac@trendyol.com>
Updates the following:
* eslint
* prettier
* stylelint v14 -> v15

Adds
* eslint-plugin-lit
* eslint-plugin-wc

New eslint plugins helped me to notice & fix some errors at components.
See
[665a03c](665a03c).

---------

Co-authored-by: Aykut Saraç <aykut.sarac@trendyol.com>
This feature allows users to nest popovers inside of each other. Current
implementation doesn't allow the use of `bl-tooltip` inside a popover
since `bl-tooltip` also uses popover component.

Closes #703
Co-authored-by: Aykut Saraç <aykut.sarac@trendyol.com>
Co-authored-by: Aykut Saraç <aykut.sarac@trendyol.com>
Co-authored-by: Aykut Saraç <aykutsarac0@gmail.com>
* Revert back the lazy loading from #709 
* Separate event types for better DX

Co-authored-by: Aykut Saraç <aykut.sarac@trendyol.com>
Co-authored-by: Aykut Saraç <aykut.sarac@trendyol.com>
This is a hotfix for recent generate react scripts change, adds back the
forgotten React.lazy.
Before this change Baklava doesn't work with React 16.

---------

Co-authored-by: Aykut Saraç <aykut.sarac@trendyol.com>
Signed-off-by: Aykut Saraç <aykutsarac0@gmail.com>
I decided that'd be a good idea to display icons depending on the type
of the input.

> `icon` attribute overrides the default icon.

<img width="844" alt="image"
src="https://github.com/Trendyol/baklava/assets/47941171/3025aee8-5357-45c1-946f-01ab7fa5b680">

```html
<bl-input type="search" />
<bl-input type="date" />
<bl-input type="date" icon="academy" />
<bl-input type="time" />
```

Additionally, this PR adds input type of `search`, it could be good idea
to review #712 first.

---------

Co-authored-by: Aykut Saraç <aykut.sarac@trendyol.com>
After looking into the discussion at
[#716](#716 (comment)),
I've noticed that we don't need to set the type manually as it's
inferred from **React.lazy**. This will give us accurate type of the
component and avoid mismatch.

Additionally it fixes appending `undefined` for JSDoc to the
`baklava-react.ts`.

Co-authored-by: Aykut Saraç <aykut.sarac@trendyol.com>
muratcorlu and others added 6 commits October 3, 2023 09:22
Co-authored-by: ibrahimcagri.koca <ibrahimcagri.koca@trendyol.com>
Co-authored-by: Murat Çorlu <murat.corlu@trendyol.com>
This PR brings official TypeScript declerations support for projects
with Vue 2.7 and above.
Added docs to storybook.

Output:
```ts

import type * as Baklava from '@Trendyol/baklava/dist/baklava'

declare module 'vue' {
  export interface GlobalComponents {
    BlAlert: import("vue").Component<Baklava.BlAlert>
    BlBadge: import("vue").Component<Baklava.BlBadge>
    BlButton: import("vue").Component<Baklava.BlButton>
    BlCheckboxGroup: import("vue").Component<Baklava.BlCheckboxGroup>
    BlDialog: import("vue").Component<Baklava.BlDialog>
    BlDrawer: import("vue").Component<Baklava.BlDrawer>
    BlDropdown: import("vue").Component<Baklava.BlDropdown>
    BlIcon: import("vue").Component<Baklava.BlIcon>
    BlInput: import("vue").Component<Baklava.BlInput>
    BlPagination: import("vue").Component<Baklava.BlPagination>
    BlPopover: import("vue").Component<Baklava.BlPopover>
    BlProgressIndicator: import("vue").Component<Baklava.BlProgressIndicator>
    BlRadioGroup: import("vue").Component<Baklava.BlRadioGroup>
    BlSelect: import("vue").Component<Baklava.BlSelect>
    BlSwitch: import("vue").Component<Baklava.BlSwitch>
    BlTabGroup: import("vue").Component<Baklava.BlTabGroup>
    BlTextarea: import("vue").Component<Baklava.BlTextarea>
    BlTooltip: import("vue").Component<Baklava.BlTooltip>
  }
}
```

---------

Co-authored-by: Aykut Saraç <aykut.sarac@trendyol.com>
Co-authored-by: Aykut Saraç <aykut.sarac@trendyol.com>
@Enes5519 Enes5519 merged commit caa388c into main Oct 12, 2023
6 checks passed
@github-actions
Copy link

🎉 This PR is included in version 2.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.