mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
chore(deps): Bump flowbite-react (#4864)
Fix breaking changes -- https://github.com/themesberg/flowbite-react/releases
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
"autoprefixer": "10.4.18",
|
||||
"fast-xml-parser": "^4.3.5",
|
||||
"flowbite": "^2.3.0",
|
||||
"flowbite-react": "^0.7.8",
|
||||
"flowbite-react": "^0.9.0",
|
||||
"highlight.js": "^11.9.0",
|
||||
"md5": "^2.3.0",
|
||||
"mixpanel-browser": "^2.50.0",
|
||||
|
||||
8
website/pnpm-lock.yaml
generated
8
website/pnpm-lock.yaml
generated
@@ -48,8 +48,8 @@ dependencies:
|
||||
specifier: ^2.3.0
|
||||
version: 2.3.0
|
||||
flowbite-react:
|
||||
specifier: ^0.7.8
|
||||
version: 0.7.8(react-dom@18.2.0)(react@18.2.0)(tailwindcss@3.4.3)
|
||||
specifier: ^0.9.0
|
||||
version: 0.9.0(react-dom@18.2.0)(react@18.2.0)(tailwindcss@3.4.3)
|
||||
highlight.js:
|
||||
specifier: ^11.9.0
|
||||
version: 11.9.0
|
||||
@@ -1314,8 +1314,8 @@ packages:
|
||||
dependencies:
|
||||
to-regex-range: 5.0.1
|
||||
|
||||
/flowbite-react@0.7.8(react-dom@18.2.0)(react@18.2.0)(tailwindcss@3.4.3):
|
||||
resolution: {integrity: sha512-hYYPvIixokNgAlPbmxNAYFLlLi61z492v8hj1jQHykhuesPGTifDFeQcDxKgQvENqc4bRdBdjrKOvnq7D+pm7g==}
|
||||
/flowbite-react@0.9.0(react-dom@18.2.0)(react@18.2.0)(tailwindcss@3.4.3):
|
||||
resolution: {integrity: sha512-wRGzTPHaEuRSXiAFhdTuksezABE/AjI/iyOOBGZpsFAz/sq7zuorAqjRud9FWgy3TlFPtldl7kL93wNY2nOnKQ==}
|
||||
peerDependencies:
|
||||
react: '>=18'
|
||||
react-dom: '>=18'
|
||||
|
||||
@@ -93,9 +93,9 @@ it's up to date:
|
||||
|
||||
<Image
|
||||
src="/images/kb/administer/upgrading/gateway-upgrade-verify.png"
|
||||
width={500}
|
||||
height={500}
|
||||
className="mx-auto"
|
||||
width={1200}
|
||||
height={1200}
|
||||
className="mx-auto rounded shadow"
|
||||
alt="Gateway upgrade verification"
|
||||
/>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ import "@docsearch/css";
|
||||
|
||||
export default function SearchForm() {
|
||||
// Keep /docs search in /docs (pre-1.0), and exclude /kb (>= 1.0)
|
||||
const excludePathRegex = new RegExp(/^\/kb/)
|
||||
const excludePathRegex = new RegExp(/^\/kb/);
|
||||
|
||||
return (
|
||||
<div className="pb-3 -ml-1 flex justify-start border-b border-neutral-200 ">
|
||||
@@ -15,11 +15,11 @@ export default function SearchForm() {
|
||||
transformItems={(items) => {
|
||||
return items.filter((item) => {
|
||||
if (item.url) {
|
||||
const pathname = (new URL(item.url)).pathname
|
||||
if (pathname.match(excludePathRegex)) return false
|
||||
const pathname = new URL(item.url).pathname;
|
||||
if (pathname.match(excludePathRegex)) return false;
|
||||
}
|
||||
return true
|
||||
})
|
||||
return true;
|
||||
});
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -3,7 +3,7 @@ import "@docsearch/css";
|
||||
|
||||
export default function SearchForm() {
|
||||
// Keep /kb search in /kb (>= v1.0), and exclude /docs (pre-1.0)
|
||||
const excludePathRegex = new RegExp(/^\/docs/)
|
||||
const excludePathRegex = new RegExp(/^\/docs/);
|
||||
|
||||
return (
|
||||
<div className="pb-3 -ml-1 flex justify-start border-b border-neutral-200 ">
|
||||
@@ -15,11 +15,11 @@ export default function SearchForm() {
|
||||
transformItems={(items) => {
|
||||
return items.filter((item) => {
|
||||
if (item.url) {
|
||||
const pathname = (new URL(item.url)).pathname
|
||||
if (pathname.match(excludePathRegex)) return false
|
||||
const pathname = new URL(item.url).pathname;
|
||||
if (pathname.match(excludePathRegex)) return false;
|
||||
}
|
||||
return true
|
||||
})
|
||||
return true;
|
||||
});
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
const flowbite = require("flowbite-react/tailwind");
|
||||
|
||||
const firezoneColors = {
|
||||
// See our brand palette in Figma.
|
||||
// These have been reversed to match Tailwind's default order.
|
||||
@@ -48,7 +50,7 @@ const firezoneColors = {
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
module.exports = {
|
||||
content: [
|
||||
"node_modules/flowbite-react/**/*.{js,ts,jsx,tsx}",
|
||||
flowbite.content(),
|
||||
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
|
||||
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
|
||||
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
|
||||
@@ -103,5 +105,5 @@ module.exports = {
|
||||
},
|
||||
},
|
||||
},
|
||||
plugins: [require("flowbite/plugin"), require("flowbite-typography")],
|
||||
plugins: [flowbite.plugin(), require("flowbite-typography")],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user