mirror of
https://github.com/gethomepage/homepage.git
synced 2026-09-28 15:01:17 -07:00
Chore(deps-dev): Bump eslint-config-next from 15.5.22 to 16.3.3 (#7082)
Lint / Linting Checks (push) Has been cancelled
Release Drafter / Update Release Draft (push) Has been cancelled
Docker CI / Docker Build & Push (push) Has been cancelled
Tests / vitest (1) (push) Has been cancelled
Tests / vitest (2) (push) Has been cancelled
Release Drafter / Auto Label PR (push) Has been cancelled
Tests / vitest (3) (push) Has been cancelled
Tests / vitest (4) (push) Has been cancelled
Lint / Linting Checks (push) Has been cancelled
Release Drafter / Update Release Draft (push) Has been cancelled
Docker CI / Docker Build & Push (push) Has been cancelled
Tests / vitest (1) (push) Has been cancelled
Tests / vitest (2) (push) Has been cancelled
Release Drafter / Auto Label PR (push) Has been cancelled
Tests / vitest (3) (push) Has been cancelled
Tests / vitest (4) (push) Has been cancelled
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com> Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
co-authored by
shamoon
parent
070e1b9cca
commit
81accd8dbe
@@ -1,10 +1,11 @@
|
||||
import { Disclosure, Transition } from "@headlessui/react";
|
||||
import classNames from "classnames";
|
||||
import { useEffect, useRef } from "react";
|
||||
import { MdKeyboardArrowDown } from "react-icons/md";
|
||||
|
||||
import List from "components/bookmarks/list";
|
||||
import ErrorBoundary from "components/errorboundry";
|
||||
import ResolvedIcon from "components/resolvedicon";
|
||||
import { useEffect, useRef } from "react";
|
||||
import { MdKeyboardArrowDown } from "react-icons/md";
|
||||
|
||||
export default function BookmarksGroup({
|
||||
bookmarks,
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import classNames from "classnames";
|
||||
import ResolvedIcon from "components/resolvedicon";
|
||||
import { useContext } from "react";
|
||||
|
||||
import ResolvedIcon from "components/resolvedicon";
|
||||
import { SettingsContext } from "utils/contexts/settings";
|
||||
|
||||
export default function Item({ bookmark, iconOnly = false }) {
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
import classNames from "classnames";
|
||||
import Item from "components/bookmarks/item";
|
||||
|
||||
import { columnMap } from "../../utils/layout/columns";
|
||||
|
||||
import Item from "components/bookmarks/item";
|
||||
|
||||
export default function List({ bookmarks, layout, bookmarksStyle }) {
|
||||
let classes = layout?.style === "row" ? `grid ${columnMap[layout?.columns]} gap-x-2` : "flex flex-col bookmark-list";
|
||||
const style = {};
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
/* eslint-disable @next/next/no-img-element */
|
||||
/* eslint-disable jsx-a11y/alt-text */
|
||||
import { useContext, useEffect, useRef } from "react";
|
||||
import { ColorContext } from "utils/contexts/color";
|
||||
|
||||
import { ColorContext } from "utils/contexts/color";
|
||||
import themes from "utils/styles/themes";
|
||||
|
||||
export function Svg({ svgRef = null }) {
|
||||
|
||||
@@ -3,11 +3,12 @@ import { useTranslation } from "next-i18next/pages";
|
||||
import { useCallback, useContext, useEffect, useRef, useState } from "react";
|
||||
import { FiSearch } from "react-icons/fi";
|
||||
import useSWR from "swr";
|
||||
import { SettingsContext } from "utils/contexts/settings";
|
||||
|
||||
import ResolvedIcon from "./resolvedicon";
|
||||
import { getStoredProvider, searchProviders } from "./widgets/search/search";
|
||||
|
||||
import { SettingsContext } from "utils/contexts/settings";
|
||||
|
||||
const MOBILE_BUTTON_POSITIONS = {
|
||||
"top-left": "top-4 left-4",
|
||||
"top-right": "top-4 right-4",
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import Image from "next/image";
|
||||
import { useContext } from "react";
|
||||
|
||||
import { SettingsContext } from "utils/contexts/settings";
|
||||
import { ThemeContext } from "utils/contexts/theme";
|
||||
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
import { Disclosure, Transition } from "@headlessui/react";
|
||||
import classNames from "classnames";
|
||||
import ResolvedIcon from "components/resolvedicon";
|
||||
import List from "components/services/list";
|
||||
import { useEffect, useRef } from "react";
|
||||
import { MdKeyboardArrowDown } from "react-icons/md";
|
||||
|
||||
import { columnMap } from "../../utils/layout/columns";
|
||||
|
||||
import ResolvedIcon from "components/resolvedicon";
|
||||
import List from "components/services/list";
|
||||
|
||||
export default function ServicesGroup({
|
||||
group,
|
||||
layout,
|
||||
|
||||
@@ -1,10 +1,5 @@
|
||||
import classNames from "classnames";
|
||||
import ResolvedIcon from "components/resolvedicon";
|
||||
import { useContext, useState } from "react";
|
||||
import { SettingsContext } from "utils/contexts/settings";
|
||||
import Docker from "widgets/docker/component";
|
||||
import Kubernetes from "widgets/kubernetes/component";
|
||||
import ProxmoxVM from "widgets/proxmoxvm/component";
|
||||
|
||||
import KubernetesStatus from "./kubernetes-status";
|
||||
import Ping from "./ping";
|
||||
@@ -13,6 +8,12 @@ import SiteMonitor from "./site-monitor";
|
||||
import Status from "./status";
|
||||
import Widget from "./widget";
|
||||
|
||||
import ResolvedIcon from "components/resolvedicon";
|
||||
import { SettingsContext } from "utils/contexts/settings";
|
||||
import Docker from "widgets/docker/component";
|
||||
import Kubernetes from "widgets/kubernetes/component";
|
||||
import ProxmoxVM from "widgets/proxmoxvm/component";
|
||||
|
||||
export default function Item({ service, groupName, useEqualHeights }) {
|
||||
const hasLink = service.href && service.href !== "#";
|
||||
const { settings } = useContext(SettingsContext);
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
import classNames from "classnames";
|
||||
import Item from "components/services/item";
|
||||
|
||||
import { columnMap } from "../../utils/layout/columns";
|
||||
|
||||
import Item from "components/services/item";
|
||||
|
||||
export default function List({ groupName, services, layout, useEqualHeights, header }) {
|
||||
return (
|
||||
<ul
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import ErrorBoundary from "components/errorboundry";
|
||||
import { useTranslation } from "next-i18next/pages";
|
||||
|
||||
import ErrorBoundary from "components/errorboundry";
|
||||
import components from "widgets/components";
|
||||
|
||||
export default function Widget({ widget, service }) {
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { useContext, useMemo } from "react";
|
||||
import { SettingsContext } from "utils/contexts/settings";
|
||||
|
||||
import Error from "./error";
|
||||
import { BlockHighlightContext } from "./highlight-context";
|
||||
|
||||
import { SettingsContext } from "utils/contexts/settings";
|
||||
import { buildHighlightConfig } from "utils/highlights";
|
||||
|
||||
const ALIASED_WIDGETS = {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import classNames from "classnames";
|
||||
import { useContext } from "react";
|
||||
|
||||
import { TabContext } from "utils/contexts/tab";
|
||||
|
||||
function slugify(tabName) {
|
||||
|
||||
@@ -2,6 +2,7 @@ import { Popover, Transition } from "@headlessui/react";
|
||||
import classNames from "classnames";
|
||||
import { Fragment, useContext } from "react";
|
||||
import { IoColorPalette } from "react-icons/io5";
|
||||
|
||||
import { ColorContext } from "utils/contexts/color";
|
||||
|
||||
const colors = [
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { useContext } from "react";
|
||||
import { MdDarkMode, MdLightMode, MdToggleOff, MdToggleOn } from "react-icons/md";
|
||||
|
||||
import { ThemeContext } from "utils/contexts/theme";
|
||||
|
||||
export default function ThemeToggle() {
|
||||
|
||||
@@ -4,13 +4,14 @@ import { useContext } from "react";
|
||||
import { FaMemory, FaRegClock, FaThermometerHalf } from "react-icons/fa";
|
||||
import { FiCpu, FiHardDrive } from "react-icons/fi";
|
||||
import useSWR from "swr";
|
||||
import { SettingsContext } from "utils/contexts/settings";
|
||||
|
||||
import Error from "../widget/error";
|
||||
import Resource from "../widget/resource";
|
||||
import Resources from "../widget/resources";
|
||||
import WidgetLabel from "../widget/widget_label";
|
||||
|
||||
import { SettingsContext } from "utils/contexts/settings";
|
||||
|
||||
const defaultCpuSensorLabels = ["cpu_thermal", "Core", "Tctl", "Temperature"];
|
||||
|
||||
function convertToFahrenheit(t) {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import ResolvedIcon from "components/resolvedicon";
|
||||
|
||||
import Container from "../widget/container";
|
||||
import Raw from "../widget/raw";
|
||||
|
||||
import ResolvedIcon from "components/resolvedicon";
|
||||
|
||||
export default function Logo({ options }) {
|
||||
return (
|
||||
<Container
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import ErrorBoundary from "components/errorboundry";
|
||||
import dynamic from "next/dynamic";
|
||||
|
||||
import ErrorBoundary from "components/errorboundry";
|
||||
|
||||
const widgetMappings = {
|
||||
weatherapi: dynamic(() => import("components/widgets/weather/weather")),
|
||||
openweathermap: dynamic(() => import("components/widgets/openweathermap/weather")),
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
import classNames from "classnames";
|
||||
import { useContext } from "react";
|
||||
import { SettingsContext } from "utils/contexts/settings";
|
||||
|
||||
import PrimaryText from "./primary_text";
|
||||
import Raw from "./raw";
|
||||
import SecondaryText from "./secondary_text";
|
||||
import WidgetIcon from "./widget_icon";
|
||||
|
||||
import { SettingsContext } from "utils/contexts/settings";
|
||||
|
||||
export function getAllClasses(options, additionalClassNames = "") {
|
||||
if (options?.style?.header === "boxedWidgets") {
|
||||
if (options?.style?.cardBlur !== undefined) {
|
||||
|
||||
Reference in New Issue
Block a user