diff --git a/package-lock.json b/package-lock.json index 135bed4ea..52b4c23c5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,20 +9,20 @@ "version": "0.0.0", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@floating-ui/dom": "^1.7.3", + "@floating-ui/dom": "^1.7.4", "@lit-labs/virtualizer": "^2.1.1", "@lit/context": "^1.1.6", "lit": "^3.3.1" }, "devDependencies": { - "@biomejs/biome": "~2.1.3", - "@custom-elements-manifest/analyzer": "^0.10.4", + "@biomejs/biome": "~2.2.2", + "@custom-elements-manifest/analyzer": "^0.10.5", "@igniteui/material-icons-extended": "^3.1.0", "@open-wc/testing": "^4.0.0", - "@storybook/addon-a11y": "^9.1.1", - "@storybook/addon-docs": "^9.1.1", - "@storybook/addon-links": "^9.1.1", - "@storybook/web-components-vite": "^9.1.1", + "@storybook/addon-a11y": "^9.1.3", + "@storybook/addon-docs": "^9.1.3", + "@storybook/addon-links": "^9.1.3", + "@storybook/web-components-vite": "^9.1.3", "@types/mocha": "^10.0.10", "@web/dev-server-esbuild": "^1.0.4", "@web/test-runner": "^0.20.2", @@ -36,20 +36,20 @@ "globby": "^14.1.0", "husky": "^9.1.7", "ig-typedoc-theme": "^6.2.3", - "igniteui-theming": "^19.2.3", + "igniteui-theming": "^19.2.4", "keep-a-changelog": "^2.6.2", - "lint-staged": "^16.1.4", + "lint-staged": "^16.1.5", "lit-analyzer": "^2.0.3", "madge": "^8.0.0", "node-watch": "^0.7.4", - "playwright": "^1.54.2", + "playwright": "^1.55.0", "postcss": "^8.5.6", "prettier": "^3.6.2", "rimraf": "^6.0.1", "sass-embedded": "~1.78.0", "sinon": "^21.0.0", - "storybook": "^9.1.1", - "stylelint": "^16.23.0", + "storybook": "^9.1.3", + "stylelint": "^16.23.1", "stylelint-config-standard-scss": "^15.0.1", "stylelint-prettier": "^5.0.3", "stylelint-scss": "^6.12.1", @@ -58,13 +58,13 @@ "typedoc": "~0.27.9", "typedoc-plugin-localization": "^3.0.6", "typescript": "^5.8.3", - "vite": "^7.1.0" + "vite": "^7.1.3" } }, "node_modules/@adobe/css-tools": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.4.3.tgz", - "integrity": "sha512-VQKMkwriZbaOgVCby1UDY/LDk5fIjhQicCvVPFqfe+69fWaPWydbWJ3wRt59/YzIwda1I81loas3oCoHxnqvdA==", + "version": "4.4.4", + "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.4.4.tgz", + "integrity": "sha512-Elp+iwUx5rN5+Y8xLt5/GRoG20WGoDCQ/1Fb+1LiGtvwbDavuSk0jhD/eZdckHAuzcDzccnkv+rEjyWfRx18gg==", "dev": true, "license": "MIT" }, @@ -144,9 +144,9 @@ } }, "node_modules/@biomejs/biome": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.1.3.tgz", - "integrity": "sha512-KE/tegvJIxTkl7gJbGWSgun7G6X/n2M6C35COT6ctYrAy7SiPyNvi6JtoQERVK/VRbttZfgGq96j2bFmhmnH4w==", + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.2.2.tgz", + "integrity": "sha512-j1omAiQWCkhuLgwpMKisNKnsM6W8Xtt1l0WZmqY/dFj8QPNkIoTvk4tSsi40FaAAkBE1PU0AFG2RWFBWenAn+w==", "dev": true, "license": "MIT OR Apache-2.0", "bin": { @@ -160,20 +160,20 @@ "url": "https://opencollective.com/biome" }, "optionalDependencies": { - "@biomejs/cli-darwin-arm64": "2.1.3", - "@biomejs/cli-darwin-x64": "2.1.3", - "@biomejs/cli-linux-arm64": "2.1.3", - "@biomejs/cli-linux-arm64-musl": "2.1.3", - "@biomejs/cli-linux-x64": "2.1.3", - "@biomejs/cli-linux-x64-musl": "2.1.3", - "@biomejs/cli-win32-arm64": "2.1.3", - "@biomejs/cli-win32-x64": "2.1.3" + "@biomejs/cli-darwin-arm64": "2.2.2", + "@biomejs/cli-darwin-x64": "2.2.2", + "@biomejs/cli-linux-arm64": "2.2.2", + "@biomejs/cli-linux-arm64-musl": "2.2.2", + "@biomejs/cli-linux-x64": "2.2.2", + "@biomejs/cli-linux-x64-musl": "2.2.2", + "@biomejs/cli-win32-arm64": "2.2.2", + "@biomejs/cli-win32-x64": "2.2.2" } }, "node_modules/@biomejs/cli-darwin-arm64": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.1.3.tgz", - "integrity": "sha512-LFLkSWRoSGS1wVUD/BE6Nlt2dSn0ulH3XImzg2O/36BoToJHKXjSxzPEMAqT9QvwVtk7/9AQhZpTneERU9qaXA==", + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.2.2.tgz", + "integrity": "sha512-6ePfbCeCPryWu0CXlzsWNZgVz/kBEvHiPyNpmViSt6A2eoDf4kXs3YnwQPzGjy8oBgQulrHcLnJL0nkCh80mlQ==", "cpu": [ "arm64" ], @@ -188,9 +188,9 @@ } }, "node_modules/@biomejs/cli-darwin-x64": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.1.3.tgz", - "integrity": "sha512-Q/4OTw8P9No9QeowyxswcWdm0n2MsdCwWcc5NcKQQvzwPjwuPdf8dpPPf4r+x0RWKBtl1FLiAUtJvBlri6DnYw==", + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.2.2.tgz", + "integrity": "sha512-Tn4JmVO+rXsbRslml7FvKaNrlgUeJot++FkvYIhl1OkslVCofAtS35MPlBMhXgKWF9RNr9cwHanrPTUUXcYGag==", "cpu": [ "x64" ], @@ -205,9 +205,9 @@ } }, "node_modules/@biomejs/cli-linux-arm64": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.1.3.tgz", - "integrity": "sha512-2hS6LgylRqMFmAZCOFwYrf77QMdUwJp49oe8PX/O8+P2yKZMSpyQTf3Eo5ewnsMFUEmYbPOskafdV1ds1MZMJA==", + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.2.2.tgz", + "integrity": "sha512-JfrK3gdmWWTh2J5tq/rcWCOsImVyzUnOS2fkjhiYKCQ+v8PqM+du5cfB7G1kXas+7KQeKSWALv18iQqdtIMvzw==", "cpu": [ "arm64" ], @@ -222,9 +222,9 @@ } }, "node_modules/@biomejs/cli-linux-arm64-musl": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.1.3.tgz", - "integrity": "sha512-KXouFSBnoxAWZYDQrnNRzZBbt5s9UJkIm40hdvSL9mBxSSoxRFQJbtg1hP3aa8A2SnXyQHxQfpiVeJlczZt76w==", + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.2.2.tgz", + "integrity": "sha512-/MhYg+Bd6renn6i1ylGFL5snYUn/Ct7zoGVKhxnro3bwekiZYE8Kl39BSb0MeuqM+72sThkQv4TnNubU9njQRw==", "cpu": [ "arm64" ], @@ -239,9 +239,9 @@ } }, "node_modules/@biomejs/cli-linux-x64": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.1.3.tgz", - "integrity": "sha512-NxlSCBhLvQtWGagEztfAZ4WcE1AkMTntZV65ZvR+J9jp06+EtOYEBPQndA70ZGhHbEDG57bR6uNvqkd1WrEYVA==", + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.2.2.tgz", + "integrity": "sha512-Ogb+77edO5LEP/xbNicACOWVLt8mgC+E1wmpUakr+O4nKwLt9vXe74YNuT3T1dUBxC/SnrVmlzZFC7kQJEfquQ==", "cpu": [ "x64" ], @@ -256,9 +256,9 @@ } }, "node_modules/@biomejs/cli-linux-x64-musl": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.1.3.tgz", - "integrity": "sha512-KaLAxnROouzIWtl6a0Y88r/4hW5oDUJTIqQorOTVQITaKQsKjZX4XCUmHIhdEk8zMnaiLZzRTAwk1yIAl+mIew==", + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.2.2.tgz", + "integrity": "sha512-ZCLXcZvjZKSiRY/cFANKg+z6Fhsf9MHOzj+NrDQcM+LbqYRT97LyCLWy2AS+W2vP+i89RyRM+kbGpUzbRTYWig==", "cpu": [ "x64" ], @@ -273,9 +273,9 @@ } }, "node_modules/@biomejs/cli-win32-arm64": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.1.3.tgz", - "integrity": "sha512-V9CUZCtWH4u0YwyCYbQ3W5F4ZGPWp2C2TYcsiWFNNyRfmOW1j/TY/jAurl33SaRjgZPO5UUhGyr9m6BN9t84NQ==", + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.2.2.tgz", + "integrity": "sha512-wBe2wItayw1zvtXysmHJQoQqXlTzHSpQRyPpJKiNIR21HzH/CrZRDFic1C1jDdp+zAPtqhNExa0owKMbNwW9cQ==", "cpu": [ "arm64" ], @@ -290,9 +290,9 @@ } }, "node_modules/@biomejs/cli-win32-x64": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.1.3.tgz", - "integrity": "sha512-dxy599q6lgp8ANPpR8sDMscwdp9oOumEsVXuVCVT9N2vAho8uYXlCz53JhxX6LtJOXaE73qzgkGQ7QqvFlMC0g==", + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.2.2.tgz", + "integrity": "sha512-DAuHhHekGfiGb6lCcsT4UyxQmVwQiBCBUMwVra/dcOSs9q8OhfaZgey51MlekT3p8UwRqtXQfFuEJBhJNdLZwg==", "cpu": [ "x64" ], @@ -404,9 +404,9 @@ } }, "node_modules/@custom-elements-manifest/analyzer": { - "version": "0.10.4", - "resolved": "https://registry.npmjs.org/@custom-elements-manifest/analyzer/-/analyzer-0.10.4.tgz", - "integrity": "sha512-hse8o20Jd82BwWank29/J9OC4PmSTwUoEmll3LEjDF3WLY/Lc8g3TUYSib/3GARCS8Q5myT2RPqEWfRa+6bkIg==", + "version": "0.10.5", + "resolved": "https://registry.npmjs.org/@custom-elements-manifest/analyzer/-/analyzer-0.10.5.tgz", + "integrity": "sha512-Y9iUIhTDtcoaiH9XLwkK5POTxVJkcDuN9buCH4kQJmPmTMdm8Fhq7yk0l8Pu3TYC+RuXy6xA49+1IwvFJLF5mg==", "dev": true, "license": "MIT", "dependencies": { @@ -1005,9 +1005,9 @@ } }, "node_modules/@floating-ui/dom": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.7.3.tgz", - "integrity": "sha512-uZA413QEpNuhtb3/iIKoYMSK07keHPYeXF02Zhd6e213j+d1NamLix/mCLxBUDW/Gx52sPH2m+chlUsyaBs/Ag==", + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.7.4.tgz", + "integrity": "sha512-OOchDgh4F2CchOX94cRVqhvy7b3AFb+/rQXyswmzmGakRfkMgoWVjfnLWkRirfLEfuD4ysVW16eXzwt3jHIzKA==", "license": "MIT", "dependencies": { "@floating-ui/core": "^1.7.3", @@ -1095,9 +1095,9 @@ } }, "node_modules/@isaacs/cliui/node_modules/ansi-regex": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", - "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.0.tgz", + "integrity": "sha512-TKY5pyBkHyADOPYlRT9Lx6F544mPl0vS5Ew7BJ45hA08Q+t3GjbueLliBWN3sMICk6+y7HdyxSzC4bWS8baBdg==", "dev": true, "license": "MIT", "engines": { @@ -1863,9 +1863,9 @@ "license": "MIT" }, "node_modules/@storybook/addon-a11y": { - "version": "9.1.1", - "resolved": "https://registry.npmjs.org/@storybook/addon-a11y/-/addon-a11y-9.1.1.tgz", - "integrity": "sha512-ZCKxYQmHnisAdpjYeRRD41NfA5UlTFpej0xgGLiAc9PGz264RRP5B+pZUHHNIyEKA9JCDcyc4BPe+xnXZgDjSA==", + "version": "9.1.3", + "resolved": "https://registry.npmjs.org/@storybook/addon-a11y/-/addon-a11y-9.1.3.tgz", + "integrity": "sha512-U+In40S6HCvRN2at+/wn1ECmqFfLa7vPePkR5c9b+Zh2aVNfv+3JbjXfbp29FocTj4ooYsPRYFq7cdzXBjXZ1A==", "dev": true, "license": "MIT", "dependencies": { @@ -1877,20 +1877,20 @@ "url": "https://opencollective.com/storybook" }, "peerDependencies": { - "storybook": "^9.1.1" + "storybook": "^9.1.3" } }, "node_modules/@storybook/addon-docs": { - "version": "9.1.1", - "resolved": "https://registry.npmjs.org/@storybook/addon-docs/-/addon-docs-9.1.1.tgz", - "integrity": "sha512-CzgvTy3V5X4fe+VPkiZVwPKARlpEBDAKte8ajLAlHJQLFpADdYrBRQ0se6I+kcxva7rZQzdhuH7qjXMDRVcfnw==", + "version": "9.1.3", + "resolved": "https://registry.npmjs.org/@storybook/addon-docs/-/addon-docs-9.1.3.tgz", + "integrity": "sha512-iCzuHRyUgir2+ExqPO4ouxm90zW+6dkNuB4lyyFwNU10slJhVT8yGPk8PVOT6LhXMIii+7Hqc4dB0tj+kLOW/A==", "dev": true, "license": "MIT", "dependencies": { "@mdx-js/react": "^3.0.0", - "@storybook/csf-plugin": "9.1.1", + "@storybook/csf-plugin": "9.1.3", "@storybook/icons": "^1.4.0", - "@storybook/react-dom-shim": "9.1.1", + "@storybook/react-dom-shim": "9.1.3", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "ts-dedent": "^2.0.0" @@ -1900,13 +1900,13 @@ "url": "https://opencollective.com/storybook" }, "peerDependencies": { - "storybook": "^9.1.1" + "storybook": "^9.1.3" } }, "node_modules/@storybook/addon-links": { - "version": "9.1.1", - "resolved": "https://registry.npmjs.org/@storybook/addon-links/-/addon-links-9.1.1.tgz", - "integrity": "sha512-fYv0cmUzZluEKFP8iuhqu8Wqlf3demRgES7un1C6T7GilzhnMwLFcFjX40qvTC9WsIJ2Uw1G/SPjwTNXJOO5Ng==", + "version": "9.1.3", + "resolved": "https://registry.npmjs.org/@storybook/addon-links/-/addon-links-9.1.3.tgz", + "integrity": "sha512-zLpOf9UYtxEaCQgbpOqOAW0f/puumwzTNA/AHDkqwe/BAOtBXyS/bocQIO6Oxj8z4kp+bYqxW6c2OA0/EyII0Q==", "dev": true, "license": "MIT", "dependencies": { @@ -1918,7 +1918,7 @@ }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta", - "storybook": "^9.1.1" + "storybook": "^9.1.3" }, "peerDependenciesMeta": { "react": { @@ -1927,13 +1927,13 @@ } }, "node_modules/@storybook/builder-vite": { - "version": "9.1.1", - "resolved": "https://registry.npmjs.org/@storybook/builder-vite/-/builder-vite-9.1.1.tgz", - "integrity": "sha512-rM0QOfykr39SFBRQnoAa5PU3xTHnJE1R5tigvjved1o7sumcfjrhqmEyAgNZv1SoRztOO92jwkTi7En6yheOKg==", + "version": "9.1.3", + "resolved": "https://registry.npmjs.org/@storybook/builder-vite/-/builder-vite-9.1.3.tgz", + "integrity": "sha512-bstS/GsVJ5zVkRKAJociocA2omxU4CaNAP58fxS280JiRYgcrRaydDd7vwk6iGJ3xWbzwV0wH8SP54LVNyRY6Q==", "dev": true, "license": "MIT", "dependencies": { - "@storybook/csf-plugin": "9.1.1", + "@storybook/csf-plugin": "9.1.3", "ts-dedent": "^2.0.0" }, "funding": { @@ -1941,14 +1941,14 @@ "url": "https://opencollective.com/storybook" }, "peerDependencies": { - "storybook": "^9.1.1", + "storybook": "^9.1.3", "vite": "^5.0.0 || ^6.0.0 || ^7.0.0" } }, "node_modules/@storybook/csf-plugin": { - "version": "9.1.1", - "resolved": "https://registry.npmjs.org/@storybook/csf-plugin/-/csf-plugin-9.1.1.tgz", - "integrity": "sha512-MwdtvzzFpkard06pCfDrgRXZiBfWAQICdKh7kzpv1L8SwewsRgUr5WZQuEAVfYdSvCFJbWnNN4KirzPhe5ENCg==", + "version": "9.1.3", + "resolved": "https://registry.npmjs.org/@storybook/csf-plugin/-/csf-plugin-9.1.3.tgz", + "integrity": "sha512-wqh+tTCX2WZqVDVjhk/a6upsyYj/Kc85Wf6ywPx4pcFYxQZxiKF/wtuM9yzEpZC6fZHNvlKkzXWvP4wJOnm+zg==", "dev": true, "license": "MIT", "dependencies": { @@ -1959,7 +1959,7 @@ "url": "https://opencollective.com/storybook" }, "peerDependencies": { - "storybook": "^9.1.1" + "storybook": "^9.1.3" } }, "node_modules/@storybook/global": { @@ -1984,9 +1984,9 @@ } }, "node_modules/@storybook/react-dom-shim": { - "version": "9.1.1", - "resolved": "https://registry.npmjs.org/@storybook/react-dom-shim/-/react-dom-shim-9.1.1.tgz", - "integrity": "sha512-L+HCOXvOP+PwKrVS8od9aF+F4hO7zA0Nt1vnpbg2LeAHCxYghrjFVtioe7gSlzrlYdozQrPLY98a4OkDB7KGrw==", + "version": "9.1.3", + "resolved": "https://registry.npmjs.org/@storybook/react-dom-shim/-/react-dom-shim-9.1.3.tgz", + "integrity": "sha512-zIgFwZqV8cvE+lzJDcD13rItxoWyYNUWu7eJQAnHz5RnyHhpu6rFgQej7i6J3rPmy9xVe+Rq6XsXgDNs6pIekQ==", "dev": true, "license": "MIT", "funding": { @@ -1996,13 +1996,13 @@ "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta", - "storybook": "^9.1.1" + "storybook": "^9.1.3" } }, "node_modules/@storybook/web-components": { - "version": "9.1.1", - "resolved": "https://registry.npmjs.org/@storybook/web-components/-/web-components-9.1.1.tgz", - "integrity": "sha512-j/nOO0NAG6ugzkSM0Dgqlptx4emLIshz3oqUpllAMfyt5fvA/6LysHGkdtVxdXzpXbvargCIFdwQruXxWJtgsg==", + "version": "9.1.3", + "resolved": "https://registry.npmjs.org/@storybook/web-components/-/web-components-9.1.3.tgz", + "integrity": "sha512-x/ibD56r/TCDlyYF6b9KMMj5urvKwEwkkJtbLUyQhI4cudsR+JvZMxb1PbXAb/aEjHKDkp99YK1z4slfZeVQAw==", "dev": true, "license": "MIT", "dependencies": { @@ -2019,18 +2019,18 @@ }, "peerDependencies": { "lit": "^2.0.0 || ^3.0.0", - "storybook": "^9.1.1" + "storybook": "^9.1.3" } }, "node_modules/@storybook/web-components-vite": { - "version": "9.1.1", - "resolved": "https://registry.npmjs.org/@storybook/web-components-vite/-/web-components-vite-9.1.1.tgz", - "integrity": "sha512-F9zWSEGfxnzBJ6OWOj0O5ZdekLSRSgPfATknvI+Hq/Vj2F4jWCUGkhnSzzUNpwgy6JsW/CwWdd1FtdRnjWEuJA==", + "version": "9.1.3", + "resolved": "https://registry.npmjs.org/@storybook/web-components-vite/-/web-components-vite-9.1.3.tgz", + "integrity": "sha512-ArcVt6CqAxtPnDUKM/MVt5sx7C7p+7szOAFDuZBh9pIEmE6vTC8Y+EHPnKTC278wTbhmvfNvbdOexXrhrRXJIA==", "dev": true, "license": "MIT", "dependencies": { - "@storybook/builder-vite": "9.1.1", - "@storybook/web-components": "9.1.1" + "@storybook/builder-vite": "9.1.3", + "@storybook/web-components": "9.1.3" }, "engines": { "node": ">=20.0.0" @@ -2040,7 +2040,7 @@ "url": "https://opencollective.com/storybook" }, "peerDependencies": { - "storybook": "^9.1.1" + "storybook": "^9.1.3" } }, "node_modules/@testing-library/dom": { @@ -2065,9 +2065,9 @@ } }, "node_modules/@testing-library/jest-dom": { - "version": "6.6.4", - "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.6.4.tgz", - "integrity": "sha512-xDXgLjVunjHqczScfkCJ9iyjdNOVHvvCdqHSSxwM9L0l/wHkTRum67SDc020uAlCoqktJplgO2AAQeLP1wgqDQ==", + "version": "6.8.0", + "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.8.0.tgz", + "integrity": "sha512-WgXcWzVM6idy5JaftTVC8Vs83NKRmGJz4Hqs4oyOuO2J4r/y79vvKZsb+CaGyCSEbUPI6OsewfPd0G1A0/TUZQ==", "dev": true, "license": "MIT", "dependencies": { @@ -2075,7 +2075,6 @@ "aria-query": "^5.0.0", "css.escape": "^1.5.1", "dom-accessibility-api": "^0.6.3", - "lodash": "^4.17.21", "picocolors": "^1.1.1", "redent": "^3.0.0" }, @@ -4006,9 +4005,9 @@ "license": "MIT" }, "node_modules/chai": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/chai/-/chai-5.2.1.tgz", - "integrity": "sha512-5nFxhUrX0PqtyogoYOA8IPswy5sZFTOsBFl/9bNsmDLgsxYTzSZQJDPppDnZPTQbzSEm0hqGjWPzRemQCYbD6A==", + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/chai/-/chai-5.3.3.tgz", + "integrity": "sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==", "dev": true, "license": "MIT", "dependencies": { @@ -6717,9 +6716,9 @@ } }, "node_modules/igniteui-theming": { - "version": "19.2.3", - "resolved": "https://registry.npmjs.org/igniteui-theming/-/igniteui-theming-19.2.3.tgz", - "integrity": "sha512-bC0IS/O2uPkyS9/ElDZUVYrE92Vbgl4Z57zkLo+vIvdkk9gED9TcZC6N3zwT42XjY5JOeBMVY/vBS9y7CpYCVw==", + "version": "19.2.4", + "resolved": "https://registry.npmjs.org/igniteui-theming/-/igniteui-theming-19.2.4.tgz", + "integrity": "sha512-mBtM0U4+wGgamnHVvQ3BQjQ4zQw8rVxVU1NfoeVHar/TSYB2cVoBtd6dbRrvb4YRn9FC7UyA5A3qLl+d8Re55w==", "dev": true, "license": "MIT", "peerDependencies": { @@ -7569,13 +7568,13 @@ } }, "node_modules/lint-staged": { - "version": "16.1.4", - "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-16.1.4.tgz", - "integrity": "sha512-xy7rnzQrhTVGKMpv6+bmIA3C0yET31x8OhKBYfvGo0/byeZ6E0BjGARrir3Kg/RhhYHutpsi01+2J5IpfVoueA==", + "version": "16.1.5", + "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-16.1.5.tgz", + "integrity": "sha512-uAeQQwByI6dfV7wpt/gVqg+jAPaSp8WwOA8kKC/dv1qw14oGpnpAisY65ibGHUGDUv0rYaZ8CAJZ/1U8hUvC2A==", "dev": true, "license": "MIT", "dependencies": { - "chalk": "^5.4.1", + "chalk": "^5.5.0", "commander": "^14.0.0", "debug": "^4.4.1", "lilconfig": "^3.1.3", @@ -7584,7 +7583,7 @@ "nano-spawn": "^1.0.2", "pidtree": "^0.6.0", "string-argv": "^0.3.2", - "yaml": "^2.8.0" + "yaml": "^2.8.1" }, "bin": { "lint-staged": "bin/lint-staged.js" @@ -7597,9 +7596,9 @@ } }, "node_modules/lint-staged/node_modules/chalk": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.5.0.tgz", - "integrity": "sha512-1tm8DTaJhPBG3bIkVeZt1iZM9GfSX2lzOeDVZH9R9ffRHpmHvxZ/QhgQH/aDTkswQVt+YHdXAdS/In/30OjCbg==", + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.0.tgz", + "integrity": "sha512-46QrSQFyVSEyYAgQ22hQ+zDa60YHA4fBstHmtSApj1Y5vKtG27fWowW03jCk5KcbXEWPZUIR894aARCA/G1kfQ==", "dev": true, "license": "MIT", "engines": { @@ -7669,9 +7668,9 @@ } }, "node_modules/listr2/node_modules/ansi-regex": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", - "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.0.tgz", + "integrity": "sha512-TKY5pyBkHyADOPYlRT9Lx6F544mPl0vS5Ew7BJ45hA08Q+t3GjbueLliBWN3sMICk6+y7HdyxSzC4bWS8baBdg==", "dev": true, "license": "MIT", "engines": { @@ -8114,9 +8113,9 @@ } }, "node_modules/loupe": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.2.0.tgz", - "integrity": "sha512-2NCfZcT5VGVNX9mSZIxLRkEAegDGBpuQZBy13desuHeVORmBDyAET4TkJr4SjqQy3A8JDofMN6LpkK8Xcm/dlw==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.2.1.tgz", + "integrity": "sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==", "dev": true, "license": "MIT" }, @@ -9084,13 +9083,13 @@ } }, "node_modules/playwright": { - "version": "1.54.2", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.54.2.tgz", - "integrity": "sha512-Hu/BMoA1NAdRUuulyvQC0pEqZ4vQbGfn8f7wPXcnqQmM+zct9UliKxsIkLNmz/ku7LElUNqmaiv1TG/aL5ACsw==", + "version": "1.55.0", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.55.0.tgz", + "integrity": "sha512-sdCWStblvV1YU909Xqx0DhOjPZE4/5lJsIS84IfN9dAZfcl/CIZ5O8l3o0j7hPMjDvqoTF8ZUcc+i/GL5erstA==", "dev": true, "license": "Apache-2.0", "dependencies": { - "playwright-core": "1.54.2" + "playwright-core": "1.55.0" }, "bin": { "playwright": "cli.js" @@ -9103,9 +9102,9 @@ } }, "node_modules/playwright-core": { - "version": "1.54.2", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.54.2.tgz", - "integrity": "sha512-n5r4HFbMmWsB4twG7tJLDN9gmBUeSPcsBZiWSE4DnYz9mJMAFqr2ID7+eGC9kpEnxExJ1epttwR59LEWCk8mtA==", + "version": "1.55.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.55.0.tgz", + "integrity": "sha512-GvZs4vU3U5ro2nZpeiwyb0zuFaqb9sUiAJuyrWpcGouD8y9/HLgGbNRjIph7zU9D3hnPaisMl9zG9CgFi/biIg==", "dev": true, "license": "Apache-2.0", "bin": { @@ -11413,9 +11412,9 @@ } }, "node_modules/storybook": { - "version": "9.1.1", - "resolved": "https://registry.npmjs.org/storybook/-/storybook-9.1.1.tgz", - "integrity": "sha512-q6GaGZdVZh6rjOdGnc+4hGTu8ECyhyjQDw4EZNxKtQjDO8kqtuxbFm8l/IP2l+zLVJAatGWKkaX9Qcd7QZxz+Q==", + "version": "9.1.3", + "resolved": "https://registry.npmjs.org/storybook/-/storybook-9.1.3.tgz", + "integrity": "sha512-Sm+qP3iGb/QKx/jTYdfE0mIeTmA2HF+5k9fD70S9oOJq3F9UdW8MLgs+5PE+E/xAfDjZU4OWAKEOyA6EYIvQHg==", "dev": true, "license": "MIT", "dependencies": { @@ -11590,9 +11589,9 @@ } }, "node_modules/string-width/node_modules/ansi-regex": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", - "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.0.tgz", + "integrity": "sha512-TKY5pyBkHyADOPYlRT9Lx6F544mPl0vS5Ew7BJ45hA08Q+t3GjbueLliBWN3sMICk6+y7HdyxSzC4bWS8baBdg==", "dev": true, "license": "MIT", "engines": { @@ -11704,9 +11703,9 @@ } }, "node_modules/stylelint": { - "version": "16.23.0", - "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.23.0.tgz", - "integrity": "sha512-69T5aS2LUY306ekt1Q1oaSPwz/jaG9HjyMix3UMrai1iEbuOafBe2Dh8xlyczrxFAy89qcKyZWWtc42XLx3Bbw==", + "version": "16.23.1", + "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.23.1.tgz", + "integrity": "sha512-dNvDTsKV1U2YtiUDfe9d2gp902veFeo3ecCWdGlmLm2WFrAV0+L5LoOj/qHSBABQwMsZPJwfC4bf39mQm1S5zw==", "dev": true, "funding": [ { @@ -11910,9 +11909,9 @@ "license": "MIT" }, "node_modules/stylelint-scss/node_modules/mdn-data": { - "version": "2.23.0", - "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.23.0.tgz", - "integrity": "sha512-786vq1+4079JSeu2XdcDjrhi/Ry7BWtjDl9WtGPWLiIHb2T66GvIVflZTBoSNZ5JqTtJGYEVMuFA/lbQlMOyDQ==", + "version": "2.24.0", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.24.0.tgz", + "integrity": "sha512-i97fklrJl03tL1tdRVw0ZfLLvuDsdb6wxL+TrJ+PKkCbLrp2PCu2+OYdCKychIUm19nSM/35S6qz7pJpnXttoA==", "dev": true, "license": "CC0-1.0" }, @@ -12249,11 +12248,14 @@ } }, "node_modules/tinyglobby/node_modules/fdir": { - "version": "6.4.6", - "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.6.tgz", - "integrity": "sha512-hiFoqpyZcfNm1yc4u8oWCf9A2c4D3QjCrks3zmoVKVxpQRzmPNar1hUJcBG2RQHvEVGDN+Jm81ZheVLAQMK6+w==", + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", "dev": true, "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, "peerDependencies": { "picomatch": "^3 || ^4" }, @@ -12533,9 +12535,9 @@ } }, "node_modules/typedoc-plugin-localization/node_modules/jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.0.tgz", + "integrity": "sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==", "dev": true, "license": "MIT", "dependencies": { @@ -12774,14 +12776,14 @@ } }, "node_modules/vite": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/vite/-/vite-7.1.0.tgz", - "integrity": "sha512-3jdAy3NhBJYsa/lCFcnRfbK4kNkO/bhijFCnv5ByUQk/eekYagoV2yQSISUrhpV+5JiY5hmwOh7jNnQ68dFMuQ==", + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/vite/-/vite-7.1.3.tgz", + "integrity": "sha512-OOUi5zjkDxYrKhTV3V7iKsoS37VUM7v40+HuwEmcrsf11Cdx9y3DIr2Px6liIcZFwt3XSRpQvFpL3WVy7ApkGw==", "dev": true, "license": "MIT", "dependencies": { "esbuild": "^0.25.0", - "fdir": "^6.4.6", + "fdir": "^6.5.0", "picomatch": "^4.0.3", "postcss": "^8.5.6", "rollup": "^4.43.0", @@ -12849,11 +12851,14 @@ } }, "node_modules/vite/node_modules/fdir": { - "version": "6.4.6", - "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.6.tgz", - "integrity": "sha512-hiFoqpyZcfNm1yc4u8oWCf9A2c4D3QjCrks3zmoVKVxpQRzmPNar1hUJcBG2RQHvEVGDN+Jm81ZheVLAQMK6+w==", + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", "dev": true, "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, "peerDependencies": { "picomatch": "^3 || ^4" }, @@ -13108,9 +13113,9 @@ } }, "node_modules/wrap-ansi/node_modules/ansi-regex": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", - "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.0.tgz", + "integrity": "sha512-TKY5pyBkHyADOPYlRT9Lx6F544mPl0vS5Ew7BJ45hA08Q+t3GjbueLliBWN3sMICk6+y7HdyxSzC4bWS8baBdg==", "dev": true, "license": "MIT", "engines": { @@ -13225,9 +13230,9 @@ } }, "node_modules/yaml": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.0.tgz", - "integrity": "sha512-4lLa/EcQCB0cJkyts+FpIRx5G/llPxfP6VQU5KByHEhLxY3IJCH0f0Hy1MHI8sClTvsIb8qwRJ6R/ZdlDJ/leQ==", + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.1.tgz", + "integrity": "sha512-lcYcMxX2PO9XMGvAJkJ3OsNMw+/7FKes7/hgerGUYWIoWu5j/+YQqcZr5JnPZWzOsEBgMbSbiSTn/dv/69Mkpw==", "dev": true, "license": "ISC", "bin": { diff --git a/package.json b/package.json index 1c1ad5eb7..69687490d 100644 --- a/package.json +++ b/package.json @@ -52,20 +52,20 @@ "prepare": "husky" }, "dependencies": { - "@floating-ui/dom": "^1.7.3", + "@floating-ui/dom": "^1.7.4", "@lit-labs/virtualizer": "^2.1.1", "@lit/context": "^1.1.6", "lit": "^3.3.1" }, "devDependencies": { - "@biomejs/biome": "~2.1.3", - "@custom-elements-manifest/analyzer": "^0.10.4", + "@biomejs/biome": "~2.2.2", + "@custom-elements-manifest/analyzer": "^0.10.5", "@igniteui/material-icons-extended": "^3.1.0", "@open-wc/testing": "^4.0.0", - "@storybook/addon-a11y": "^9.1.1", - "@storybook/addon-docs": "^9.1.1", - "@storybook/addon-links": "^9.1.1", - "@storybook/web-components-vite": "^9.1.1", + "@storybook/addon-a11y": "^9.1.3", + "@storybook/addon-docs": "^9.1.3", + "@storybook/addon-links": "^9.1.3", + "@storybook/web-components-vite": "^9.1.3", "@types/mocha": "^10.0.10", "@web/dev-server-esbuild": "^1.0.4", "@web/test-runner": "^0.20.2", @@ -79,20 +79,20 @@ "globby": "^14.1.0", "husky": "^9.1.7", "ig-typedoc-theme": "^6.2.3", - "igniteui-theming": "^19.2.3", + "igniteui-theming": "^19.2.4", "keep-a-changelog": "^2.6.2", - "lint-staged": "^16.1.4", + "lint-staged": "^16.1.5", "lit-analyzer": "^2.0.3", "madge": "^8.0.0", "node-watch": "^0.7.4", - "playwright": "^1.54.2", + "playwright": "^1.55.0", "postcss": "^8.5.6", "prettier": "^3.6.2", "rimraf": "^6.0.1", "sass-embedded": "~1.78.0", "sinon": "^21.0.0", - "storybook": "^9.1.1", - "stylelint": "^16.23.0", + "storybook": "^9.1.3", + "stylelint": "^16.23.1", "stylelint-config-standard-scss": "^15.0.1", "stylelint-prettier": "^5.0.3", "stylelint-scss": "^6.12.1", @@ -101,7 +101,7 @@ "typedoc": "~0.27.9", "typedoc-plugin-localization": "^3.0.6", "typescript": "^5.8.3", - "vite": "^7.1.0" + "vite": "^7.1.3" }, "browserslist": [ "defaults" diff --git a/src/components/combo/controllers/navigation.ts b/src/components/combo/controllers/navigation.ts index 506f6deb6..54c23369b 100644 --- a/src/components/combo/controllers/navigation.ts +++ b/src/components/combo/controllers/navigation.ts @@ -234,7 +234,7 @@ export class NavigationController } public navigateTo(item: T, container: IgcComboListComponent) { - this.active = this.dataState.findIndex((i) => i === item); + this.active = this.dataState.indexOf(item as ComboRecord); this.scrollToActive(container, 'smooth'); } diff --git a/src/components/date-time-input/date-util.spec.ts b/src/components/date-time-input/date-util.spec.ts index 09dad705a..7014369ae 100644 --- a/src/components/date-time-input/date-util.spec.ts +++ b/src/components/date-time-input/date-util.spec.ts @@ -120,7 +120,7 @@ describe('Date Util', () => { [DateParts.Seconds, currentDate.getSeconds()], [ DateParts.Year, - Number.parseInt(currentDate.getFullYear().toString().slice(-2)), + Number.parseInt(currentDate.getFullYear().toString().slice(-2), 10), ], ]); @@ -139,7 +139,9 @@ describe('Date Util', () => { const amPm = currentDate.getHours() >= 12 ? 'PM' : 'AM'; expect(amPm).to.equal(targetValue); } else { - expect(partsMap.get(part.type)).to.equal(Number.parseInt(targetValue)); + expect(partsMap.get(part.type)).to.equal( + Number.parseInt(targetValue, 10) + ); } } }); diff --git a/src/components/rating/rating.spec.ts b/src/components/rating/rating.spec.ts index 1e9821abb..0639d01f3 100644 --- a/src/components/rating/rating.spec.ts +++ b/src/components/rating/rating.spec.ts @@ -240,9 +240,9 @@ describe('Rating component', () => { expect(projected.max).to.equal(3); - getProjectedSymbols(projected).forEach((symbol) => - expect(symbol.textContent).to.eq('🐝') - ); + for (const symbol of getProjectedSymbols(projected)) { + expect(symbol.textContent).to.eq('🐝'); + } }); it('sets max value correctly when igc-rating-symbols are projected', async () => { diff --git a/src/components/slider/slider.spec.ts b/src/components/slider/slider.spec.ts index 6cd22e0be..1d1ae5096 100644 --- a/src/components/slider/slider.spec.ts +++ b/src/components/slider/slider.spec.ts @@ -473,49 +473,44 @@ describe('Slider component', () => { expect(ticks.labelsInner).lengthOf(11); expect(slider.tickLabelRotation).to.eq(0); - ticks.labelsInner - .map((tick) => getComputedStyle(tick)) - .forEach(({ marginInlineStart, marginBlock, writingMode, transform }) => - expect([ - marginInlineStart, - marginBlock, - writingMode, - transform, - ]).to.eql(['-50%', '0px', 'horizontal-tb', 'none']) + for (const { + marginInlineStart, + marginBlock, + writingMode, + transform, + } of ticks.labelsInner.map((tick) => getComputedStyle(tick))) { + expect([marginInlineStart, marginBlock, writingMode, transform]).to.eql( + ['-50%', '0px', 'horizontal-tb', 'none'] ); + } slider.tickLabelRotation = 90; await elementUpdated(slider); - ticks.labelsInner - .map((tick) => getComputedStyle(tick)) - .forEach(({ marginInlineStart, marginBlock, writingMode, transform }) => - expect([ - marginInlineStart, - marginBlock, - writingMode, - transform, - ]).to.eql(['0px', '-9px', 'vertical-rl', 'none']) + for (const { + marginInlineStart, + marginBlock, + writingMode, + transform, + } of ticks.labelsInner.map((tick) => getComputedStyle(tick))) { + expect([marginInlineStart, marginBlock, writingMode, transform]).to.eql( + ['0px', '-9px', 'vertical-rl', 'none'] ); + } slider.tickLabelRotation = -90; await elementUpdated(slider); - ticks.labelsInner - .map((tick) => getComputedStyle(tick)) - .forEach(({ marginInlineStart, marginBlock, writingMode, transform }) => - expect([ - marginInlineStart, - marginBlock, - writingMode, - transform, - ]).to.eql([ - '0px', - '-9px', - 'vertical-rl', - 'matrix(-1, 0, 0, -1, 0, 0)', - ]) + for (const { + marginInlineStart, + marginBlock, + writingMode, + transform, + } of ticks.labelsInner.map((tick) => getComputedStyle(tick))) { + expect([marginInlineStart, marginBlock, writingMode, transform]).to.eql( + ['0px', '-9px', 'vertical-rl', 'matrix(-1, 0, 0, -1, 0, 0)'] ); + } }); it('track should be continuos or discrete based on discreteTrack', async () => { diff --git a/src/components/tabs/tabs.spec.ts b/src/components/tabs/tabs.spec.ts index b14202eee..34acf44a5 100644 --- a/src/components/tabs/tabs.spec.ts +++ b/src/components/tabs/tabs.spec.ts @@ -430,7 +430,10 @@ describe('Tabs component', () => { element.select('third'); await elementUpdated(element); - element.tabs.slice(0, 2).forEach((el) => el.remove()); + for (const el of element.tabs.slice(0, 2)) { + el.remove(); + } + await elementUpdated(element); verifySelection(element, element.tabs[0]); diff --git a/src/components/tile-manager/tile-manager.spec.ts b/src/components/tile-manager/tile-manager.spec.ts index e3e10156c..e9ac95cdc 100644 --- a/src/components/tile-manager/tile-manager.spec.ts +++ b/src/components/tile-manager/tile-manager.spec.ts @@ -957,7 +957,10 @@ describe('Tile Manager component', () => { document.createElement(IgcTileComponent.tagName) ); - tiles.forEach((tile) => tileManager.appendChild(tile)); + for (const tile of tiles) { + tileManager.appendChild(tile); + } + await elementUpdated(tileManager); tileManager.tiles.forEach((tile, index) => { diff --git a/src/components/tree/tree.navigation.ts b/src/components/tree/tree.navigation.ts index b0db004f0..47ad09c17 100644 --- a/src/components/tree/tree.navigation.ts +++ b/src/components/tree/tree.navigation.ts @@ -139,9 +139,9 @@ export class IgcTreeNavigationService { } }); } else { - item - .getChildren({ flatten: true }) - ?.forEach((c: IgcTreeItemComponent) => this._invisibleChildren.add(c)); + for (const child of item.getChildren({ flatten: true })) { + this._invisibleChildren.add(child); + } } if (shouldUpdate) { diff --git a/src/components/tree/tree.selection.ts b/src/components/tree/tree.selection.ts index c808771a6..d732ecb6c 100644 --- a/src/components/tree/tree.selection.ts +++ b/src/components/tree/tree.selection.ts @@ -141,7 +141,9 @@ export class IgcTreeSelectionService { return; } - items.forEach((item: IgcTreeItemComponent) => this.itemSelection.add(item)); + for (const item of items) { + this.itemSelection.add(item); + } this.updateItemsState(oldSelection); } @@ -165,9 +167,9 @@ export class IgcTreeSelectionService { if (!items) { this.itemSelection.clear(); } else { - items.forEach((item: IgcTreeItemComponent) => - this.itemSelection.delete(item) - ); + for (const item of items) { + this.itemSelection.delete(item); + } } this.updateItemsState(oldSelection); diff --git a/src/components/tree/tree.spec.ts b/src/components/tree/tree.spec.ts index 798dfadc7..e25a27d93 100644 --- a/src/components/tree/tree.spec.ts +++ b/src/components/tree/tree.spec.ts @@ -99,12 +99,8 @@ describe('Tree', () => { .to.have.lengthOf(2) .and.to.contain(topLevelItems[0]) .and.to.contain(item1Children[0]); - expect( - item1Children[0].path.findIndex((tree) => tree === topLevelItems[0]) - ).to.equal(0); - expect( - item1Children[0].path.findIndex((tree) => tree === item1Children[0]) - ).to.equal(1); + expect(item1Children[0].path.indexOf(topLevelItems[0])).to.equal(0); + expect(item1Children[0].path.indexOf(item1Children[0])).to.equal(1); // item.getChildren({flatten: false}) should return only the direct children of item const item2Children = topLevelItems[1].getChildren(); @@ -114,12 +110,9 @@ describe('Tree', () => { .to.have.lengthOf(2) .and.to.contain(topLevelItems[1]) .and.to.contain(item2Children[0]); - expect( - item2Children[0].path.findIndex((tree) => tree === topLevelItems[1]) - ).to.equal(0); - expect( - item2Children[0].path.findIndex((tree) => tree === item2Children[0]) - ).to.equal(1); + + expect(item2Children[0].path.indexOf(topLevelItems[1])).to.equal(0); + expect(item2Children[0].path.indexOf(item2Children[0])).to.equal(1); const item2GrandChildren = item2Children[0].getChildren(); expect(item2GrandChildren.length).to.equal(2); @@ -129,20 +122,10 @@ describe('Tree', () => { .to.contain(topLevelItems[1]) .and.to.contain(item2Children[0]) .and.to.contain(item2GrandChildren[0]); + expect(item2GrandChildren[0].path.indexOf(topLevelItems[1])).to.equal(0); + expect(item2GrandChildren[0].path.indexOf(item2Children[0])).to.equal(1); expect( - item2GrandChildren[0].path.findIndex( - (tree) => tree === topLevelItems[1] - ) - ).to.equal(0); - expect( - item2GrandChildren[0].path.findIndex( - (tree) => tree === item2Children[0] - ) - ).to.equal(1); - expect( - item2GrandChildren[0].path.findIndex( - (tree) => tree === item2GrandChildren[0] - ) + item2GrandChildren[0].path.indexOf(item2GrandChildren[0]) ).to.equal(2); // item.getChildren({flatten: true}) should return all item's children @@ -901,7 +884,7 @@ describe('Tree', () => { // Level 1 const item2Children = topLevelItems[1].getChildren(); - // topLevelItems[1] is currenlty expanded + // topLevelItems[1] is currently expanded const item21IndSlot = TreeTestFunctions.getSlot( item2Children[0], SLOTS.indicator @@ -1185,7 +1168,7 @@ describe('Tree', () => { expect(item21.active).to.be.false; expect(item21Children[0].active).to.be.false; expect(item21Children[1].active).to.be.false; - expect(item22.active).to.be.true; // item22 is the next non-disbaled + expect(item22.active).to.be.true; // item22 is the next non-disabled item22.dispatchEvent(new Event('focus')); expect(tree.navService.focusedItem).to.equal(item22); diff --git a/src/components/tree/tree.ts b/src/components/tree/tree.ts index 46291e9d6..9ea613730 100644 --- a/src/components/tree/tree.ts +++ b/src/components/tree/tree.ts @@ -99,7 +99,9 @@ export default class IgcTreeComponent extends EventEmitterMixin< } }); } else { - this.items.forEach((item) => item.collapseWithEvent()); + for (const item of this.items) { + item.collapseWithEvent(); + } } } } diff --git a/stories/rating.stories.ts b/stories/rating.stories.ts index 92c42c98c..db9b81a9d 100644 --- a/stories/rating.stories.ts +++ b/stories/rating.stories.ts @@ -16,7 +16,9 @@ import { } from './story.js'; defineComponents(IgcRatingComponent, IgcIconComponent); -utils.icons.forEach((icon) => registerIconFromText(icon.name, icon.value)); +for (const { name, value } of utils.icons) { + registerIconFromText(name, value); +} // region default const metadata: Meta = { diff --git a/stories/tabs.stories.ts b/stories/tabs.stories.ts index bf90f5062..4b07964f2 100644 --- a/stories/tabs.stories.ts +++ b/stories/tabs.stories.ts @@ -278,7 +278,9 @@ export const Removable: Story = { name: 'svelte', svg: '', }, -].forEach(({ name, svg }) => registerIconFromText(name, svg, 'logos')); +].forEach(({ name, svg }) => { + registerIconFromText(name, svg, 'logos'); +}); export const NestedTabs: Story = { args: { diff --git a/stories/tile-manager.stories.ts b/stories/tile-manager.stories.ts index 07b357516..b40ed51a8 100644 --- a/stories/tile-manager.stories.ts +++ b/stories/tile-manager.stories.ts @@ -822,7 +822,9 @@ function handleMaximizeClick(event: Event) { const additionalButtons = actionsSlot.parentElement?.querySelectorAll('.additional-action'); - additionalButtons?.forEach((btn) => btn.remove()); + additionalButtons?.forEach((btn) => { + btn.remove(); + }); } } }