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.0 - First stable release #494

Merged
merged 269 commits into from
Apr 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
269 commits
Select commit Hold shift + click to select a range
3ee3e7a
chore(test): Add run tests at husky pre commit
leventozen Apr 24, 2022
6fa581f
chore(test): Simplified
leventozen Apr 24, 2022
b0d409f
chore(lint): Simplify linters
leventozen Apr 25, 2022
3710be4
chore(lint): Add lint github action to check files
leventozen Apr 25, 2022
d7c491e
fix(lint): Lint files
leventozen Apr 25, 2022
794cebb
feat(storybook): some examples added
muratcorlu Apr 26, 2022
88cf596
fix(storybook): hiding styles from component args table
muratcorlu Apr 26, 2022
c081afb
ci(storybook): deploy storybook to chromatic
muratcorlu Apr 26, 2022
869d316
ci(storybook): chromatic workflow fixed
muratcorlu Apr 26, 2022
c713ea2
docs(test): add missing title at the testing story
leventozen Apr 27, 2022
c868d62
chore(storybook): Basic implementation of Storybook
muratcorlu Apr 28, 2022
dd824e8
Merge branch 'next' into 71-implementation-of-testing-mechanism
leventozen Apr 29, 2022
c0fcc66
Merge pull request #101 from Trendyol/71-implementation-of-testing-me…
leventozen Apr 29, 2022
b202a21
docs(lint): add linting documentation
leventozen Apr 30, 2022
5a3199c
Merge branch 'next' into 77-linting-rules-and-make-part-of-workflow
leventozen Apr 30, 2022
d4ae6c7
fix(lint): delete unnecessary story file
leventozen Apr 30, 2022
5f5036a
fix(storybook): fix for code sample issues (#106)
muratcorlu May 9, 2022
4332825
fix(lint): update package-lock.json
leventozen May 9, 2022
64341d5
Merge branch 'next' into 77-linting-rules-and-make-part-of-workflow
leventozen May 9, 2022
4e97a61
fix: update package.json, package-lock.json
leventozen May 9, 2022
da7b909
fix(lint): update package.json, package-lock.json
leventozen May 10, 2022
3ac16cd
Merge pull request #100 from Trendyol/77-linting-rules-and-make-part-…
leventozen May 10, 2022
2429123
feat: commit message validation with husky (#107)
muratcorlu May 11, 2022
4a24e65
feat: build system converted to esbuild (#109)
muratcorlu May 16, 2022
7f969c6
chore: beta release flow created for next version
muratcorlu May 16, 2022
e7ecc39
ci: semantic release configuration
muratcorlu May 16, 2022
5745d12
ci: maintenance branches renamed
muratcorlu May 16, 2022
7172e30
ci: use basit release workflow
muratcorlu May 16, 2022
c1f35be
ci: use next branch as beta prerelease
muratcorlu May 16, 2022
3c680ac
ci: release workflow fixes
muratcorlu May 17, 2022
8162120
ci: reusable worklow created for verify job
muratcorlu May 17, 2022
a36c209
ci: verify workflow file path fixed
muratcorlu May 17, 2022
60297a9
ci: verify workflow file path fixed
muratcorlu May 17, 2022
3efcc22
ci: verify workflow file path fixed
muratcorlu May 17, 2022
bdb1479
ci: verify workflow file path fixed
muratcorlu May 17, 2022
395457d
ci: workflows are rearranged
muratcorlu May 17, 2022
fdb520e
ci: reusable workflows needs to be placed in worklows folder
muratcorlu May 17, 2022
5abde91
ci: missing runs-on parameter added
muratcorlu May 17, 2022
b33e722
ci: pass secrets to reused workflows
muratcorlu May 17, 2022
e6d7d2e
feat: automatic releases from next branch implemented
muratcorlu May 17, 2022
94e1c7d
ci: github token defined for release job
muratcorlu May 17, 2022
1250fca
ci: github token defined for release job
muratcorlu May 17, 2022
696efbc
ci: create build and coverage artifacts
muratcorlu May 17, 2022
1387739
ci: don't add assets to github releases
muratcorlu May 17, 2022
f710cea
ci: no build job in verify workflow
muratcorlu May 17, 2022
a7b7545
ci: upload build artifact
muratcorlu May 17, 2022
720f60d
chore: playground with esbuild implemented
muratcorlu May 23, 2022
1239d1a
chore: ignore playground folder from commits
muratcorlu May 23, 2022
5aad51d
chore: revert adding playground folder
muratcorlu May 23, 2022
a82bc24
chore: ignore playground file from commit history
leventozen May 23, 2022
ae69926
feat: icon component
muratcorlu May 26, 2022
03b6dd3
chore: playground index updated as template
muratcorlu May 26, 2022
883c694
chore: new files in playground folder are ignored
muratcorlu May 26, 2022
51ac9d6
feat(icon): svg icon path set automatically for cdn usage (#119)
muratcorlu May 30, 2022
be02a68
chore(storybook): storybook upgraded to v6.5.5 (#117)
muratcorlu May 30, 2022
246ee03
feat(icon): all of the current icons are added (#120)
muratcorlu Jun 1, 2022
bdc5ca5
docs(design): icon component link fixed in iconography page
muratcorlu Jun 2, 2022
213ef0a
docs: adding new icons documantation addded (#122)
muratcorlu Jun 2, 2022
69140c2
feat: design system renamed as baklava (#123)
muratcorlu Jun 2, 2022
0d60f3d
ci: publish config added for making new npm package public
muratcorlu Jun 2, 2022
3f7d661
fix: removed empty changelog
muratcorlu Jun 2, 2022
3c72885
docs: grace renaming baklava
muratcorlu Jun 7, 2022
ce7c1d4
feat: button component (#118)
leventozen Jun 13, 2022
26813b2
test: include styles in unit tests (#133)
muratcorlu Jun 24, 2022
9b3d3f2
test: clean forgotten tag in test html
muratcorlu Jun 24, 2022
2dfb5e3
docs: readme and contributing docs are created (#132)
muratcorlu Jun 28, 2022
b47ee47
feat: badge component (#131)
DamlaDemir Jun 28, 2022
748a18c
ci: repo rename worklow fixes
muratcorlu Jun 28, 2022
619ec52
docs: repo rename docs fixes
muratcorlu Jun 28, 2022
08f47e1
feat: npm namespace renamed as trendyol
muratcorlu Jul 1, 2022
66ec832
feat: input component (#129)
muratcorlu Jul 1, 2022
f20b31c
docs: using baklava in vue doc added (#148)
leventozen Jul 1, 2022
19b1210
ci: deploy storybook to ghpages
Jul 2, 2022
4b0645a
ci: fix publish-storybook
Jul 2, 2022
f4ce234
ci: fix publish-storybook
Jul 2, 2022
f430740
ci: add build step to storybook deployment
Jul 2, 2022
b6e392f
ci: fix deploy storybook env variable
Jul 2, 2022
f1514eb
ci: disable jekyll
Jul 2, 2022
5c110cd
chore(button): css and documentation improvements
leventozen Jul 3, 2022
d65d6e8
ci: fix publish storybook flow
Jul 4, 2022
2b89d6a
fix(storybook): baklava paths fixed
muratcorlu Jul 4, 2022
80f6caa
ci: sonarcloud analysis added
muratcorlu Jul 4, 2022
3842591
ci: sonarcloud run via gh actions
muratcorlu Jul 4, 2022
7968c6e
ci: inherit env variables for verify workflow
muratcorlu Jul 4, 2022
763eaac
ci: include src folder and non test files as source for sonar
muratcorlu Jul 4, 2022
cb07de9
chore(storybook): storybook update to v6.5.9 (#150)
muratcorlu Jul 5, 2022
a219a0c
chore: prevent using old node versions (#153)
muratcorlu Jul 5, 2022
ff63b00
ci: npm cache and remove playwright action (#152)
muratcorlu Jul 5, 2022
25b0720
ci: chromatic needs git history
muratcorlu Jul 5, 2022
120deea
chore: event decorator for components (#115)
muratcorlu Jul 5, 2022
8bbdb0a
ci: pass sonar token to verify workflow
muratcorlu Jul 7, 2022
c0d3b17
docs: Update issue templates
muratcorlu Jul 7, 2022
e00f67b
ci: allow secrets on PR from forks
muratcorlu Jul 7, 2022
29ecea4
chore(storybook): updated html title (#154)
ayhandoslu Jul 8, 2022
05b25cf
chore: update issue templates
muratcorlu Jul 12, 2022
d25f877
test: bl-icon is mocked for tests other than its own test (#155)
muratcorlu Jul 22, 2022
6269d97
chore(deps): bump terser from 4.8.0 to 4.8.1 (#163)
dependabot[bot] Jul 22, 2022
0a7adb5
feat: browser support fine-tuned to cover older versions (#165)
muratcorlu Jul 25, 2022
8759b63
140 tooltip component (#159)
DamlaDemir Jul 26, 2022
0d986ef
ci: run PR worfklow in the context of head branch
muratcorlu Jul 26, 2022
6a97d12
refactor(tooltip): lint warnings are fixed (#170)
muratcorlu Jul 26, 2022
9aaec1b
feat: tooltip component
muratcorlu Jul 26, 2022
bad2d8a
chore(deps): bump async from 2.6.3 to 2.6.4 (#167)
dependabot[bot] Jul 26, 2022
e066697
fix(tooltip): change max-width for tooltip (#177)
DamlaDemir Jul 29, 2022
b04df4e
test(tooltip): visual regression tests for tooltip
muratcorlu Aug 3, 2022
8887d06
feat: add react support (#181)
baspinarenes Aug 4, 2022
9792746
fix(badge): css variables used as privately (#188)
muratcorlu Aug 5, 2022
87b986b
chore: added vscode recommended extensions (#189) (#190)
koulgar Aug 8, 2022
3491805
feat: tab component (#160)
mehmetranas Aug 9, 2022
c359b4d
feat: progress-indicator component (#184)
DamlaDemir Aug 9, 2022
c24540d
docs: add Styling Components section to react doc (#193)
alibalbars Aug 10, 2022
e03125f
fix(button): outline hover state fixed (#187)
muratcorlu Aug 12, 2022
f9134fd
fix(button)!: button attributes refactored (#191)
muratcorlu Aug 15, 2022
b3a98f4
chore(deps): bump async from 2.6.3 to 2.6.4 (#198)
dependabot[bot] Aug 15, 2022
7e0f40e
fix(tooltip): tooltip positioning bug fix (#202)
DamlaDemir Aug 19, 2022
1fde05f
docs: add note for using inline styling at storybook components (#200)
leventozen Aug 19, 2022
9a579cf
fix(tooltip): convert tooltip css variables to private (#204)
muratcorlu Aug 22, 2022
c21e7a2
docs: fix cdn urls in vue doc
Aug 23, 2022
33ef44d
docs: badge links are fixed (#210)
muratcorlu Aug 24, 2022
d2473e7
feat: minify css (#209)
leventozen Aug 24, 2022
7a66460
chore: describe border radius variables (#213)
batuhantozun Aug 26, 2022
75c8ec4
docs: fix border radius rem variable (#214)
batuhantozun Aug 26, 2022
9fd294c
chore: add visual regression test for button component states (#212)
leventozen Sep 1, 2022
2ad6dfb
chore: pipeline and commit hook linters are synced (#195)
muratcorlu Sep 2, 2022
04b0023
chore: create license file (#215)
muratcorlu Sep 6, 2022
116919c
fix(input): listen value changes in native input (#219)
muratcorlu Sep 8, 2022
6a7d747
feat: alert component (#217)
koulgar Sep 12, 2022
a940f3f
feat: checkbox component (#201)
alibalbars Sep 12, 2022
4ea8f5a
feat(button): refactor hover state for text button (#234)
olkeoguz Sep 13, 2022
f0c24fb
docs(design): add sizing to design system (#237)
olkeoguz Sep 14, 2022
86d13c1
docs: use bl-alert for warnings
Sep 19, 2022
483bb37
docs: add how to customize a components style (#238)
leventozen Sep 19, 2022
4d1b3d4
docs: playground usage (#241)
leventozen Sep 20, 2022
ca50ffd
chore: improve the ide experience for design tokens (#243)
leventozen Sep 20, 2022
e65cb90
feat: select component (#225)
mustafafrw Sep 26, 2022
8d3d693
feat(input): elementinternals implementation for input component (#220)
muratcorlu Sep 28, 2022
c178d69
feat(icon): partial_approve and disable icons added (#249)
ogunb Sep 28, 2022
17ee9be
fix(select): fix delay of arrow icon change on opening popup (#256)
muratcorlu Sep 29, 2022
416ae79
docs: release flow document added (#255)
muratcorlu Sep 29, 2022
54ca2c0
fix(tooltip): use max-content width for tooltip content (#253)
Enes5519 Sep 29, 2022
4cd7d67
fix(select): popover and selected issue (#257)
mustafafrw Sep 29, 2022
519fab4
docs: theme customization document added (#260)
muratcorlu Sep 30, 2022
cbbcb6f
refactor: change typography variables and fix document (#254)
DamlaDemir Oct 3, 2022
b29d2f8
feat(icon): new icons added (#273)
buseselvi Oct 5, 2022
b3e2a1e
feat: refactor button variants (#271)
olkeoguz Oct 6, 2022
43b0692
feat: pagination component (#261)
olkeoguz Oct 6, 2022
d9c9a42
docs: new logo added
muratcorlu Oct 6, 2022
87a458a
chore: generic code of conduct document added (#274)
muratcorlu Oct 13, 2022
52e6b0c
fix(pagination): totalItems change control added (#279)
DamlaDemir Oct 13, 2022
084b3bb
fix: featured and alternative colors fixed and new colors added (#277)
DamlaDemir Oct 13, 2022
da5decd
chore: deprecated extension removed (#275)
muratcorlu Oct 13, 2022
f512623
fix: generate type declarations for build (#278)
olkeoguz Oct 13, 2022
d63c5d6
docs: warning added about npm and cdn versions (#283)
muratcorlu Oct 17, 2022
68cd1b2
fix(progress-indicator): add reflect for props (#297)
muratcorlu Oct 19, 2022
246fda5
feat: dialog component (#306)
DamlaDemir Oct 27, 2022
d93b289
feat(icon): close icon updated (#308)
buseselvi Nov 2, 2022
1b3b36a
docs: add eslint info to the vue doc (#309)
DamlaDemir Nov 3, 2022
2a4e560
fix: pagination items per page options (#313)
olkeoguz Nov 11, 2022
7084627
feat: radio component (#301)
muratcorlu Nov 17, 2022
1d77755
fix: support of dialog in old versions of browsers (#319)
DamlaDemir Nov 21, 2022
ac3fdc8
fix(pagination): add item per page value bl-change event (#325)
DamlaDemir Nov 23, 2022
5386778
fix(pagination): throw events only on page & total-items changes (#326)
olkeoguz Nov 24, 2022
fe3eed3
fix: react wrapper for component files with multiple exports (#331)
muratcorlu Dec 2, 2022
f1d49f9
feat: drawer component (#327)
ozkersemih Dec 5, 2022
d0d0d0b
fix: lazy react exports (#320)
olkeoguz Dec 6, 2022
cf7c787
feat: checkbox-group component (#324)
olkeoguz Dec 7, 2022
ce67b45
feat(drawer): exit animation applied for drawer component (#335)
muratcorlu Dec 8, 2022
a5ce174
feat: dropdown component (#333)
leventozen Dec 19, 2022
f0253f9
fix: remove fouce effect styles & update docs (#345)
olkeoguz Dec 22, 2022
65925fd
docs: update fouce warning message (#346)
olkeoguz Dec 22, 2022
d4d689c
fix(button): fix flex variable typo (#348)
olkeoguz Dec 26, 2022
b0123c9
fix(input): a11y improvements (#351)
muratcorlu Jan 5, 2023
7d3a3f7
fix(tooltip): a11y and UI consistency improvements (#350)
muratcorlu Jan 6, 2023
84ce4cd
fix(select): visual fixes over long texts (#355)
muratcorlu Jan 6, 2023
9a38922
fix(alert): visual arrangements for alerts and font line-heights (#354)
muratcorlu Jan 9, 2023
2bb24a8
ci: semantic-release node 18 requirement fix (#363)
muratcorlu Jan 9, 2023
e5fd56c
docs: add requirements documentation (#365)
leventozen Jan 12, 2023
361f2ee
fix(tab): tracking selected attribute for each tab (#369)
DamlaDemir Jan 16, 2023
230ddee
feat: switch component (#356)
pratikgaloria Jan 19, 2023
842a2dc
fix(input): reflection of attributes used in styles (#379)
muratcorlu Jan 19, 2023
9f5c4cf
ci: pr worklow rearranged (#377)
muratcorlu Jan 20, 2023
32d2af6
ci: dont fail with chromatic tests
muratcorlu Jan 20, 2023
99f0f87
feat(input): step feature added for number input (#371)
yasin749 Jan 20, 2023
0aaf7d4
ci: fix chromatic job missing reports
muratcorlu Jan 20, 2023
d8dfa21
test(storybook): iframe url provided for drawer demo (#382)
muratcorlu Jan 24, 2023
3b06463
fix(select): reflect label-fixed attribute (#385)
AykutSarac Jan 24, 2023
7b947dd
fix(drawer): visual fixes for viewport safe margins (#383)
muratcorlu Jan 24, 2023
c874c5d
docs: adr and figma links have been added to component docs (#384)
muratcorlu Jan 24, 2023
bd50362
fix(input): disabled style and small size fixes (#389)
muratcorlu Jan 27, 2023
a55e208
feat: textarea component (#347)
ozkersemih Feb 2, 2023
6574f8d
chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 (#399)
dependabot[bot] Feb 7, 2023
7287826
chore(deps): bump loader-utils from 1.4.0 to 1.4.2 (#321)
dependabot[bot] Feb 7, 2023
873a572
chore(deps): bump ua-parser-js from 1.0.2 to 1.0.33 (#386)
dependabot[bot] Feb 7, 2023
db6f4cc
chore(deps): bump json5 from 1.0.1 to 1.0.2 (#360)
dependabot[bot] Feb 7, 2023
c13dddf
chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2 (#332)
dependabot[bot] Feb 7, 2023
0be574b
feat(input): implement password type to input (#381)
AykutSarac Feb 7, 2023
7e04ffa
fix(textarea): unneeded padding cleared (#401)
muratcorlu Feb 7, 2023
d3b58ed
fix(button): designs for focused state (#340) (#395)
pratikgaloria Feb 7, 2023
2aacce9
fix(button): submit type works (#407)
muratcorlu Feb 9, 2023
e45a18f
feat(icon): sorting icon updated (#402)
AykutSarac Feb 9, 2023
336462b
fix(pagination): accessibility improvements (#408)
pratikgaloria Feb 9, 2023
0304e49
chore(deps): bump @sideway/formula from 3.0.0 to 3.0.1 (#409)
dependabot[bot] Feb 9, 2023
51e2725
fix: form participation fixes (#411)
muratcorlu Feb 10, 2023
1dda362
chore: track dependency updates (#410)
muratcorlu Feb 10, 2023
c16b357
test(textarea): testing simplified to running it quicker (#421)
muratcorlu Feb 13, 2023
9cc52a3
chore(deps): bump actions/configure-pages from 2 to 3 (#414)
dependabot[bot] Feb 14, 2023
3747935
chore(deps): bump actions/github-script from 3.1.0 to 6.4.0 (#415)
dependabot[bot] Feb 14, 2023
f9ebbc6
feat(icon): add star_double icon (#427)
umitkucuk Feb 16, 2023
bb50a8f
fix(select): disabled not reflecting (#430)
AykutSarac Feb 16, 2023
6de10f3
chore(deps-dev): bump esbuild from 0.14.50 to 0.17.8 (#423)
dependabot[bot] Feb 17, 2023
afb09c9
chore(deps-dev): bump lint-staged from 10.5.4 to 13.1.2 (#425)
dependabot[bot] Feb 17, 2023
5491fcd
feat(icon): new icons added (#432)
buseselvi Feb 20, 2023
d0e58b9
chore(deps-dev): bump husky from 7.0.4 to 8.0.3 (#419)
dependabot[bot] Feb 20, 2023
b84813b
fix(icon): influencer icon name changed and order_time icon fixed (#439)
muratcorlu Feb 21, 2023
50174d1
style(input): style autofill input (#412)
AykutSarac Feb 21, 2023
2b73e75
chore: update lit (#448)
muratcorlu Feb 24, 2023
a0acd83
chore: discussion link added as issue template
muratcorlu Feb 27, 2023
d554656
fix(input): add 'small' to input size type (#455)
Enes5519 Mar 1, 2023
0254540
fix: fix react event name mappings BREAKING CHANGE (#449)
muratcorlu Mar 1, 2023
4dbdea7
chore(deps-dev): bump @webcomponents/webcomponentsjs from 2.6.0 to 2.…
dependabot[bot] Mar 1, 2023
b645758
fix(react): fix custom element undefined error in electron (#457)
muratcorlu Mar 2, 2023
d7d8278
fix(input): autofill styling (#459)
AykutSarac Mar 7, 2023
ee3a830
fix(input): fix listening value property changes (#460)
muratcorlu Mar 9, 2023
15b83e8
feat(input): add loading state (#422)
AykutSarac Mar 9, 2023
f6c0d43
feat(select): native form integration and a11y improvements (#431)
muratcorlu Mar 13, 2023
fe08074
test(textarea): fix timeout test (#473)
pratikgaloria Mar 13, 2023
0195600
feat: popover component (#453)
ozkersemih Mar 13, 2023
f0b7bd0
fix(select): fix additional selection number when value set empty (#481)
muratcorlu Mar 15, 2023
89801e4
test(checkbox): focus snapshot testing fixed (#484)
muratcorlu Mar 16, 2023
01a5b55
feat: new attributes for form fields (#475)
muratcorlu Mar 16, 2023
edee744
feat: z-index tokens are defined (#482)
muratcorlu Mar 16, 2023
288192a
feat(tab): accessibility improvements (#458)
pratikgaloria Mar 16, 2023
98c8578
fix(button): customize border raises with variable (#491)
hilkbahar Mar 21, 2023
71d3383
feat(icon): new icons added (#495)
buseselvi Mar 25, 2023
7e5f623
docs: create SECURITY.md
muratcorlu Mar 27, 2023
2f37152
docs: create SECURITY.md (#492)
muratcorlu Mar 27, 2023
d047073
docs: add homepage field to package.json (#497)
mstfymrtc Mar 27, 2023
7f8eadb
chore(deps): bump actions/deploy-pages from 1 to 2 (#488)
dependabot[bot] Mar 27, 2023
2078d73
Merge remote-tracking branch 'origin/main' into next
muratcorlu Mar 27, 2023
1e7bda7
feat(alert): update alert actions UI (#501)
AykutSarac Mar 29, 2023
394367c
docs(dialog): examples with full-width actions added (#504)
muratcorlu Mar 30, 2023
59ea75b
feat(progress-indicator): transition on value changes (#505)
muratcorlu Mar 30, 2023
cbeb9e7
ci: reset and clear chromatic token from repo
muratcorlu Mar 31, 2023
d480d46
docs(select): better form validation demo (#509)
muratcorlu Apr 3, 2023
0179f78
fix(input): label style and background color fixed (#506)
muratcorlu Apr 5, 2023
08615a4
fix(popover): using min-width for fit-size (#510)
ogunb Apr 5, 2023
c1eca71
feat(input): set custom error state (#503)
muratcorlu Apr 5, 2023
66ff731
fix(checkbox): delegate focus in checkbox (#507)
muratcorlu Apr 5, 2023
8130b35
docs: readme preperation for stable release (#493)
muratcorlu Apr 6, 2023
2e72455
feat: new color palette (#359)
muratcorlu Apr 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[*.{js,jsx,ts,tsx,vue}]
[*.*]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
Expand Down
13 changes: 13 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
node_modules/*
docs/*
dist/*
docs-src/*
rollup-config.js
custom-elements.json
.history/
storybook-static/
*.js
.github/
.octane-ci/
.bin/
.docksal/
48 changes: 22 additions & 26 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,32 +1,28 @@
module.exports = {
root: true,
parserOptions: {
ecmaVersion: 2020,
sourceType: 'module'
},
extends: ['eslint:recommended', 'prettier', 'plugin:storybook/recommended'],
env: {
node: true,
jest: true,
browser: true
},
'extends': [
'plugin:vue/strongly-recommended',
'@vue/standard',
'@vue/typescript'
],
plugins: ['jest', 'import', 'vue'],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'semi': ['error', 'always'],
'comma-dangle': ['error', 'always-multiline'],
globals: {
process: 'readonly'
},
parserOptions: {
parser: 'babel-eslint',
rules: {
strict: ['error', 'never']
},
overrides: [
{
files: [
'**/*.{j,t}s?(x)',
],
env: {
jest: true,
},
},
],
};
overrides: [{
files: ['*.ts'],
parser: '@typescript-eslint/parser',
extends: ['plugin:@typescript-eslint/recommended'],
plugins: ['@typescript-eslint']
}, {
files: ['web-test-runner.config.js'],
env: {
node: true
}
}]
};
2 changes: 2 additions & 0 deletions .gitconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[commit]
template = .gitmessage
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
contact_links:
- name: Ask a question
url: https://github.com/trendyol/baklava/discussions
about: Ask questions and discuss with other community members
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
58 changes: 58 additions & 0 deletions .github/ISSUE_TEMPLATE/new-component-definition.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
name: New Component Definition
about: Use this template to define implementation details of a new component
title: "{name} Component"
labels: baklava-ds, enhancement
assignees: ''

---

## Design

[Figma Design Document
]()

## Implementation

General usage example:

```html
<bl-button>Example</bl-button>
```

### Rules

Put some rules about how this component should behave and implemented

* Rule 1
* Rule 2

## API Reference:

### `bl-{name}` component

Description

#### Attributes

| Attribute | Description | Default Value |
| --------------- | --------------- | --------------- |
| attr (`string`) | attr desc | - |

#### Slots

| Name | Description | Default Content |
| --------------- | --------------- | --------------- |
| `default` slot | What to put | - |

#### Events

| Event | Description |
| --------------- | --------------- |
| `bl-{event-name}` | Event description |

#### CSS Custom Properties

| Property | Description | Default Value |
| --------------- | --------------- | --------------- |
| `—bl-name` | Property desc | - |
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
40 changes: 0 additions & 40 deletions .github/workflows/github-actions.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/publish-chromatic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Publish Chromatic

on:
workflow_call:

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set Node env
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run build
run: npm run build
- name: Publish to Chromatic
uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
44 changes: 44 additions & 0 deletions .github/workflows/publish-storybook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Publish Storybook

on:
workflow_call:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: true

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set Node env
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run build
run: npm run build
- name: Build Storybook
run: npm run build-storybook
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: './storybook-static/.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
18 changes: 18 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 'Verify and Preview'

on:
pull_request:
branches:
- next

permissions:
pull-requests: read

jobs:
verify:
uses: trendyol/baklava/.github/workflows/verify.yml@next
secrets: inherit
preview:
uses: trendyol/baklava/.github/workflows/publish-chromatic.yml@next
needs: verify
secrets: inherit
38 changes: 38 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Release

on:
workflow_call:
secrets:
TRENDYOL_JS_NPM_TOKEN:
required: true

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set Node env
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Create env file with release config
run: |
touch .env
echo RELEASE=true >> .env
- name: Run build
run: npm run build
- name: Create build artifact
uses: actions/upload-artifact@master
with:
name: build-output
path: dist/
- name: Publish
run: npx semantic-release@19
env:
NPM_TOKEN: ${{ secrets.TRENDYOL_JS_NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading