Skip to content

Commit

Permalink
feat: implemented filters with dropdown (#3738)
Browse files Browse the repository at this point in the history
* feat: implement dropdown menu with checkboxes

* fix: fixed dropdown on mobile and reorganized assets

* fix: fixed dropdown on tablet

* feat: sync platform tags with platform tag dropdown

* feat: sync platform tags with platform tag dropdown

* feat: implemented checkbox

* feat: sync platform tags and dropdown options

* fix: prevent blinking when loading tags

* fix: show filters button instead of dropdown  when no tags are displayed

* fix: sync localstorage with filters om mobile

* feat: added focus trap to dropdown

* fix: fixed focus style in navbar

* fix: fixed navigation keys in dropdown

* fix: fixed versions dropdown

* fix: reuse dropdown for versions

* feat: search adjustments (#3819)

* ktl-1608 feat: search adjustments

* fix: fixed focus style for search button

---------

Co-authored-by: Yuri Teplyakov <[email protected]>

* fix: fix icons blinking

* ktl-1608 feat: search style fixes (#3840)

* feat: implemented new button states

* ktl-1608 feat: style fixes

* ktl-1608 feat: fix clear button

* fixes after rebase

---------

Co-authored-by: berezinant <[email protected]>

* ktl-1608 feat: test review fixes (#3879)

* ktl-1332 fix: fix styles overlap and add max and min values (#3909)

* ktl-1711 feat: style bundle optimization (#3905)

* feat: reworked ToC according to new design (#3841)

* feat: implemented new button states

* feat: reworked ToC appearance

* fix: moved images to assets

* fix: fix toc interactivity

* fix: fixed problem with hover on touch screens

* fix: open toc no mobile

* fix scripts loading in safari

* fix: fixed overlap of dropdown with toc on desktop

* fix: fixed closing toc on mobile

* fix: versions dropdown position

* fix: version selector position

---------

Co-authored-by: Yuri Teplyakov <[email protected]>
  • Loading branch information
berezinant and krutilov authored Nov 12, 2024
1 parent 6b9cd9e commit 246cd65
Show file tree
Hide file tree
Showing 108 changed files with 2,883 additions and 703 deletions.
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

0 comments on commit 246cd65

Please sign in to comment.