mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 06:25:45 +01:00
Integrate tailwind css and create new button library (#2098)
Introduce tailwind as new frontend styling library to replace bulma in the longer run. Also create the first new ui library `ui-buttons` which will be the new standard for buttons ins SCM-Manager. In this library we reconsidered which types of buttons should be used to create a clean and consistent ui. Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
This commit is contained in:
committed by
GitHub
parent
09beb8cd3b
commit
27dbcbf28d
@@ -23,12 +23,15 @@
|
||||
*/
|
||||
|
||||
import { ApiResult, useIndexLink, useRequiredIndexLink } from "./base";
|
||||
import { isPluginCollection, PendingPlugins, Plugin, PluginCollection } from "@scm-manager/ui-types";
|
||||
import type { PendingPlugins, Plugin, PluginCollection, HalRepresentation } from "@scm-manager/ui-types";
|
||||
import { useMutation, useQuery, useQueryClient } from "react-query";
|
||||
import { apiClient } from "./apiclient";
|
||||
import { requiredLink } from "./links";
|
||||
import { BadGatewayError } from "./errors";
|
||||
|
||||
const isPluginCollection = (input: HalRepresentation): input is PluginCollection =>
|
||||
input._embedded ? "plugins" in input._embedded : false;
|
||||
|
||||
type WaitForRestartOptions = {
|
||||
initialDelay?: number;
|
||||
timeout?: number;
|
||||
|
||||
Reference in New Issue
Block a user