Skip to content

Commit

Permalink
feat: alert component (#217)
Browse files Browse the repository at this point in the history
* feat(alert): draft alert component #138

* feat(alert): added title description and variants

* feat(alert): added icon support & closable button

* feat(alert): added button & refactored html content and render function

* feat(alert): added pagination default function

* feat(alert): property name refactor

* feat(alert): design refactor

* feat(alert): divided to alert-group & alert-item components draft

* Revert "feat(alert): divided to alert-group & alert-item components draft"

This reverts commit dae9127.

* feat(alert): refactored due to issue, functionality trimmed and slot logic added

* feat(alert): close button replaced with bl-button

* feat(alert): desktop design completed

* feat(alert): attribute name & html refactored

* feat(alert): default variant css changed

* feat(alert): added storybook

* feat(alert): storybook canvas spacing added

* feat(alert): visible property privatized

* Revert "feat(alert): visible property privatized"

This reverts commit 2346a7e.

* feat(alert): visible property privatized

* feat(alert): unit tests added

* feat(alert): close button accessibility warning fix

* feat(alert): prettify fix

* feat(alert): formatter fix

* fix: eslint & prettier conflict

* feat(alert): pr comment fixes

* feat(alert): responsive design added & storybook updated

* feat(alert): comment fixes for component, design, storybook

* feat(alert): static css values replaced with variables

* feat(alert): template reverted

* feat(alert): button position switch fix

* feat(alert): fixed storybook controls & changed error variant to danger

* feat(alert): spacing added between text and buttons

* docs(alert): code samples fixed and simplified

Co-authored-by: Doğucan Durmuşlar <[email protected]>
Co-authored-by: Caner Erturul <[email protected]>
Co-authored-by: Levent Anil Ozen <[email protected]>
Co-authored-by: Murat Çorlu <[email protected]>
  • Loading branch information
5 people authored Sep 12, 2022
1 parent 116919c commit 6a7d747
Show file tree
Hide file tree
Showing 12 changed files with 976 additions and 31 deletions.
13 changes: 1 addition & 12 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module.exports = {
},
extends: [
'eslint:recommended',
'prettier',
],
env: {
browser: true,
Expand All @@ -23,18 +24,6 @@ module.exports = {
extends: [
'plugin:@typescript-eslint/recommended'
],
rules: {
"@typescript-eslint/indent": [
"error",
2,
{
"ignoredNodes": [
"PropertyDefinition[decorators]",
"TSUnionType"
]
}
],
},
plugins: ['@typescript-eslint'],
},
{
Expand Down
1 change: 1 addition & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ module.exports = {
'@storybook/addon-essentials',
'@storybook/addon-a11y',
'@storybook/addon-interactions',
'@storybook/addon-viewport',
],
features: {
postcss: false,
Expand Down
3 changes: 2 additions & 1 deletion commitlint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ module.exports = {
'badge',
'tab',
'tooltip',
'progress-indicator'
'progress-indicator',
'alert'
],
],
},
Expand Down
Loading

0 comments on commit 6a7d747

Please sign in to comment.