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: input component #129

Merged
merged 41 commits into from
Jul 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
68461f2
feat: input component first boilerplate
muratcorlu Jun 7, 2022
8ef0519
feat: input work in progress
muratcorlu Jun 8, 2022
0467ce9
feat(input): more attributes are defined
muratcorlu Jun 9, 2022
9766ffc
Merge branch 'next' into 87-input-component
muratcorlu Jun 13, 2022
42f10c4
feat(input): set validity with custom validation
muratcorlu Jun 13, 2022
6fa148e
feat(input): styling input
muratcorlu Jun 14, 2022
793632f
feat: input error validation and label defined
Jun 16, 2022
5598650
feat(input): added input medium features
Jun 16, 2022
7603b90
feat(input): added input large, added all types
Jun 16, 2022
3d87b49
test(input): some tests are added
muratcorlu Jun 17, 2022
f14e57c
Merge remote-tracking branch 'origin/87-input-component' into 87-inpu…
Jun 17, 2022
e092923
test: fix esbuild plugin causes ts decorators dont run
muratcorlu Jun 21, 2022
f7735e2
test(input): test coverage increased
muratcorlu Jun 22, 2022
73de121
refactor(input): linter fixes
muratcorlu Jun 22, 2022
8b9b169
docs(input): story file created
muratcorlu Jun 22, 2022
cb1fa18
Merge remote-tracking branch 'origin/87-input-component' into 87-inpu…
Jun 23, 2022
3038e35
docs(storybook): adding user interaction test addon
Jun 23, 2022
7629bf2
feat: adding reportValidity method
Jun 23, 2022
550bf44
docs(storybook): adding basic input ant input labels
Jun 23, 2022
e293fe7
refactor: linter fixes
muratcorlu Jun 24, 2022
e16719f
Merge remote-tracking branch 'origin/87-input-component' into 87-inpu…
Jun 24, 2022
4b70174
fix(input): label-fixed placeholder visibility
Jun 24, 2022
9d604f8
test: include styles in unit tests (#133)
muratcorlu Jun 24, 2022
e9e40f8
test: clean forgotten tag in test html
muratcorlu Jun 24, 2022
7fbcb3c
test: dependency fix
muratcorlu Jun 24, 2022
8f15e2d
refactor: linter fix
muratcorlu Jun 24, 2022
d3364e6
refactor: linter fix
muratcorlu Jun 24, 2022
60c7532
fix(storybook): version fixed to 6.5.5
muratcorlu Jun 30, 2022
abcddef
docs(input): storybook doc improved
muratcorlu Jun 30, 2022
562e6f8
Merge branch 'next' into 87-input-component
muratcorlu Jun 30, 2022
6890e7a
fix(input): css lint fix
muratcorlu Jun 30, 2022
ba1bc86
fix(input): css part definition forgotten in the code
muratcorlu Jun 30, 2022
6bc01dd
fix(input): font style fixed
muratcorlu Jun 30, 2022
811cbdd
fix(input): ui fixes with new rem sizes
muratcorlu Jun 30, 2022
9ea64a0
chore(storybook): multi column demos aligned top
muratcorlu Jun 30, 2022
f94129a
refactor(input): private properties pointed, better jsdoc
muratcorlu Jun 30, 2022
b40219d
refactor: better web component analyzer
muratcorlu Jun 30, 2022
a19385f
fix(input): placeholder color fix
muratcorlu Jul 1, 2022
aeb350a
fix(design): duplicate colors removed
muratcorlu Jul 1, 2022
f10f178
Merge branch 'next' into 87-input-component
muratcorlu Jul 1, 2022
165b691
fix(input): label bg color fixed
muratcorlu Jul 1, 2022
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
2 changes: 1 addition & 1 deletion .lintstagedrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"*.{ts,tsx,js}": [
"eslint --rule 'no-console: error' --fix",
"prettier --write"
"prettier --write src/"
],
"*.{json,md}": [
"prettier --write"
Expand Down
5 changes: 5 additions & 0 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
<link rel="stylesheet" href="/themes/default.css" />
<script type="module" src="/baklava.js"></script>
<style>
.innerZoomElementWrapper > * {
vertical-align: top;
}
</style>
2 changes: 1 addition & 1 deletion .storybook/preview.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { setCustomElementsManifest } from '@storybook/web-components';
import customElements from '../src/custom-elements.json';
import customElements from '../dist/custom-elements.json';

setCustomElementsManifest(customElements);

Expand Down
27 changes: 27 additions & 0 deletions custom-elements-manifest.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
export default {
globs: ['src/components/**/!(*.test).ts'],
exclude: ['src/**/*.css', 'src/components/icon/icon-list.ts'],
outdir: 'dist/',
dev: false,
watch: false,
dependencies: false,
packagejson: true,
litelement: true,
plugins: [
{
name: 'filter',
analyzePhase({ ts, node, moduleDoc }) {
switch (node.kind) {
case ts.SyntaxKind.ClassDeclaration: {
const className = node.name.getText();
const classDoc = moduleDoc?.declarations?.find(declaration => declaration.name === className);

if (classDoc?.members) {
classDoc.members = classDoc.members.filter(member => member.privacy !== 'private');
}
}
}
},
}
],
};
Loading