Skip to content

Commit

Permalink
chore: update dependency @docsearch/js to v3.8.1 (#9999)
Browse files Browse the repository at this point in the history
  • Loading branch information
taiga-family-bot authored Dec 16, 2024
1 parent 8374088 commit 233be53
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 25 deletions.
72 changes: 58 additions & 14 deletions package-lock.json

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

Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,18 @@ test.describe('ComboBox', () => {
test(`search shouldn't be reset if an exact match is entered when strict is ${strict}`, async ({
page,
}) => {
await tuiGoto(
page,
`components/combo-box/API?strict=${strict}&sandboxExpanded=true`,
);

const {apiPageExample} = new TuiDocumentationPagePO(page);

const comboBoxPO = new TuiComboBoxPO(apiPageExample);
const textfield = comboBoxPO.textfield.first();

await page.waitForTimeout(300); // safari flaky

await tuiGoto(
page,
`components/combo-box/API?strict=${strict}&sandboxExpanded=true`,
);

await expect(page).toHaveScreenshot(
`search-should-not-be-reset-strict-${strict}.png`,
);
Expand Down
3 changes: 2 additions & 1 deletion projects/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"@angular/platform-browser-dynamic": "16.2.12",
"@angular/platform-server": "16.2.12",
"@angular/router": "16.2.12",
"@docsearch/js": "3.8.0",
"@docsearch/css": "3.8.1",
"@docsearch/js": "3.8.1",
"@ng-web-apis/universal": "4.11.1",
"@nguniversal/builders": "16.2.0",
"@nguniversal/express-engine": "16.2.0",
Expand Down
6 changes: 1 addition & 5 deletions projects/demo/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,7 @@
}
],
"baseHref": "/",
"styles": [
"{projectRoot}/src/styles/styles.less",
"{projectRoot}/src/styles/styles.scss",
"@docsearch/css/dist/style.css"
],
"styles": ["{projectRoot}/src/styles/styles.less", "{projectRoot}/src/styles/styles.scss"],
"scripts": [],
"allowedCommonJsDependencies": ["markdown-it"],
"vendorChunk": true,
Expand Down
1 change: 1 addition & 0 deletions projects/demo/src/styles/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
@import '@taiga-ui/core/styles/taiga-ui-fonts.less';
@import '@taiga-ui/addon-mobile/styles/taiga-ui-mobile.less';
@import '@taiga-ui/styles/taiga-ui-global.less';
@import '@docsearch/css/dist/style.css';

html,
body {
Expand Down

0 comments on commit 233be53

Please sign in to comment.