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: implemented filters with dropdown #3738

Open
wants to merge 21 commits into
base: ktl-1564-navbar
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
93dc618
feat: implement dropdown menu with checkboxes
berezinant Aug 9, 2024
ae9b8f0
fix: fixed dropdown on mobile and reorganized assets
berezinant Aug 14, 2024
931f957
fix: fixed dropdown on tablet
berezinant Aug 14, 2024
c7bcdd5
feat: sync platform tags with platform tag dropdown
berezinant Aug 18, 2024
9e9e0ef
feat: sync platform tags with platform tag dropdown
berezinant Aug 21, 2024
1e57723
feat: implemented checkbox
berezinant Aug 21, 2024
b3a1225
feat: sync platform tags and dropdown options
berezinant Aug 21, 2024
b7ff580
fix: prevent blinking when loading tags
berezinant Sep 5, 2024
d80db71
fix: show filters button instead of dropdown when no tags are displayed
berezinant Sep 12, 2024
6aa9c09
fix: sync localstorage with filters om mobile
berezinant Sep 13, 2024
8bc60ef
feat: added focus trap to dropdown
berezinant Sep 13, 2024
331e6c0
fix: fixed focus style in navbar
berezinant Sep 13, 2024
dd827d3
fix: fixed navigation keys in dropdown
berezinant Sep 16, 2024
ed0718d
fix: fixed versions dropdown
berezinant Sep 18, 2024
c47f59e
fix: reuse dropdown for versions
berezinant Sep 20, 2024
ce05f44
feat: search adjustments (#3819)
berezinant Sep 23, 2024
0aa8242
fix: fix icons blinking
berezinant Oct 1, 2024
2bbb2e5
ktl-1608 feat: search style fixes (#3840)
krutilov Oct 2, 2024
67d5a3b
ktl-1608 feat: test review fixes (#3879)
krutilov Oct 23, 2024
da945f2
ktl-1332 fix: fix styles overlap and add max and min values (#3909)
krutilov Nov 7, 2024
32cac62
ktl-1711 feat: style bundle optimization (#3905)
krutilov Nov 7, 2024
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
9 changes: 1 addition & 8 deletions dokka-subprojects/plugin-base-frontend/create-component.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const lowerCaseComponentName = firstLetterToLoweCase(componentName);
const lowerCaseComponentNameCamelCase = firstLetterToLoweCase(kebabToCamelCase(componentName));

const uiKitIndexTsFile = `${uiKitPath}/index.ts`;
const uiKitIndexScssFile = `${uiKitPath}/index.scss`;
const componentIndexTsFile = `${componentPath}/index.ts`;
const componentScssFile = `${componentPath}/styles.scss`;

Expand All @@ -20,14 +19,13 @@ const currentYear = new Date().getFullYear();
const componentIndexTsFileContent = `/*
* Copyright 2014-${currentYear} JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/

import './styles.scss';
`;

const componentScssFileContent = `/*!
* Copyright 2014-${currentYear} JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
@import '../tokens/index';
@import '../_tokens/index';

.${lowerCaseComponentName} {
}
Expand All @@ -36,10 +34,6 @@ const componentScssFileContent = `/*!
const uiKitIndexTsFileContent = `import * as ${lowerCaseComponentNameCamelCase} from './${componentName}/index';
`;

const uiKitIndexScssFileContent = `@import './${componentName}/styles';
`;


fs.mkdir(componentPath, error => {
if (error) {
throw error;
Expand All @@ -49,7 +43,6 @@ fs.mkdir(componentPath, error => {
[componentIndexTsFile]: componentIndexTsFileContent,
[componentScssFile]: componentScssFileContent,
[uiKitIndexTsFile]: uiKitIndexTsFileContent,
[uiKitIndexScssFile]: uiKitIndexScssFileContent,
};

Object.keys(pathToContentMap).forEach((path) => {
Expand Down
94 changes: 42 additions & 52 deletions dokka-subprojects/plugin-base-frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dokka-subprojects/plugin-base-frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"create-component": "node --experimental-modules create-component.mjs",
"start:ui-kit": "webpack serve --config ./webpack.config-ui-kit.js --env minify=true",
"build:ui-kit:watch": "webpack --config ./webpack.config-ui-kit.js --env watch=true --env minify=true",
"build:ui-kit": "npm run build:ui-kit:minified && npm run build:ui-kit:unminified",
"build:ui-kit": "npm run build:ui-kit:unminified && npm run build:ui-kit:minified",
"build:ui-kit:minified": "webpack --config ./webpack.config-ui-kit.js --env minify=true",
"build:ui-kit:unminified": "webpack --config ./webpack.config-ui-kit.js --env minify=false",
"build": "webpack --mode=production --devtool source-map",
Expand Down
Loading
Loading