Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { Fragment, forwardRef, useEffect, useImperativeHandle, useState, Ref } from "react";
|
||||
import { forwardRef, useImperativeHandle, useState, Ref } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import {
|
||||
AlertDialog,
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ export default function DialogSticky({
|
||||
open,
|
||||
onClose,
|
||||
title,
|
||||
description,
|
||||
description: _description,
|
||||
children,
|
||||
footer,
|
||||
size = "sm",
|
||||
|
||||
+3
-4
@@ -1,7 +1,6 @@
|
||||
import { forwardRef, Fragment, Ref, useEffect, useImperativeHandle, useState } from "react";
|
||||
import { Dialog, DialogBackdrop, DialogPanel, Transition, TransitionChild } from "@headlessui/react";
|
||||
import { forwardRef, Ref, useEffect, useImperativeHandle, useState } from "react";
|
||||
import { Dialog, DialogBackdrop, DialogPanel } from "@headlessui/react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import clsx from "~/utils/shared/ClassesUtils";
|
||||
import { AlertTriangleIcon } from "~/components/ui/icons/vendor";
|
||||
|
||||
export interface RefErrorModal {
|
||||
@@ -13,7 +12,7 @@ interface Props {
|
||||
onClosed?: () => void;
|
||||
}
|
||||
|
||||
const ErrorModal = ({ className, onClosed }: Props, ref: Ref<RefErrorModal>) => {
|
||||
const ErrorModal = ({ className: _className, onClosed }: Props, ref: Ref<RefErrorModal>) => {
|
||||
const { t } = useTranslation();
|
||||
|
||||
const [open, setOpen] = useState(false);
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
import { ReactNode, Fragment } from "react";
|
||||
import { Dialog, DialogBackdrop, DialogPanel, Transition, TransitionChild } from "@headlessui/react";
|
||||
import { Dialog, DialogBackdrop, DialogPanel, TransitionChild } from "@headlessui/react";
|
||||
import clsx from "clsx";
|
||||
|
||||
interface Props {
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
import { useRef, useState } from "react";
|
||||
import { t as i18nT } from "i18next";
|
||||
import { requestScopedT as i18nT } from "~/locale/request-scoped-t";
|
||||
import ButtonSecondary from "../buttons/ButtonSecondary";
|
||||
import SuccessModal, { RefSuccessModal } from "./SuccessModal";
|
||||
import ErrorModal, { RefErrorModal } from "./ErrorModal";
|
||||
|
||||
+3
-4
@@ -1,6 +1,5 @@
|
||||
import { forwardRef, Fragment, Ref, useEffect, useImperativeHandle, useState } from "react";
|
||||
import { Dialog, DialogBackdrop, DialogPanel, DialogTitle, Transition, TransitionChild } from "@headlessui/react";
|
||||
import clsx from "clsx";
|
||||
import { forwardRef, Ref, useEffect, useImperativeHandle, useState } from "react";
|
||||
import { Dialog, DialogBackdrop, DialogPanel, DialogTitle } from "@headlessui/react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { CheckCircleIcon } from "~/components/ui/icons/vendor";
|
||||
|
||||
@@ -13,7 +12,7 @@ interface Props {
|
||||
onClosed?: () => void;
|
||||
}
|
||||
|
||||
const SuccessModal = ({ className, onClosed }: Props, ref: Ref<RefSuccessModal>) => {
|
||||
const SuccessModal = ({ className: _className, onClosed }: Props, ref: Ref<RefSuccessModal>) => {
|
||||
const { t } = useTranslation();
|
||||
|
||||
const [open, setOpen] = useState(false);
|
||||
|
||||
Reference in new issue
Block a user