add task planner & alert improvments
All checks were successful
Deploy Sokko G / deploy (push) Successful in 7s
All checks were successful
Deploy Sokko G / deploy (push) Successful in 7s
This commit is contained in:
parent
2e6d8a2c0c
commit
e306bfc5d6
15 changed files with 1547 additions and 4 deletions
|
|
@ -1,10 +1,22 @@
|
|||
// Rôle : regroupe les modales, notifications et viewers rendus au-dessus de l'application.
|
||||
import React from "react";
|
||||
import { Icon } from "./Icon.jsx";
|
||||
import { ImageViewer } from "./ImageViewer.jsx";
|
||||
import { ConfirmModal, CreateToolboxModal, LinkToolboxModal, NotificationToast } from "./ToolboxModals.jsx";
|
||||
import { navigate } from "../router/hashRouter.js";
|
||||
import { uid } from "../features/toolboxes/storage/toolboxStorage.js";
|
||||
|
||||
export function InlineNotice({ className = "", iconName = "link", message, tone = "warning" }) {
|
||||
if (!message) return null;
|
||||
const classes = ["inline-notice", `is-${tone}`, className].filter(Boolean).join(" ");
|
||||
return (
|
||||
<span className={classes} role="status">
|
||||
<Icon name={iconName} />
|
||||
<span>{message}</span>
|
||||
</span>
|
||||
);
|
||||
}
|
||||
|
||||
export function AppOverlays({
|
||||
actions,
|
||||
confirmModal,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue