Update package names

This commit is contained in:
Darren Clarke 2024-06-05 08:52:41 +02:00
parent 89d229eba9
commit 85a0fc11e5
106 changed files with 1908 additions and 2686 deletions

View file

@ -17,7 +17,7 @@ import {
import { signIn } from "next-auth/react";
import Image from "next/image";
import LinkLogo from "public/link-logo-small.png";
import { colors, fonts } from "ui";
import { colors, fonts } from "@link-stack/ui";
import { useSearchParams } from "next/navigation";
type LoginProps = {

View file

@ -1,7 +1,7 @@
"use client";
import { FC } from "react";
import { OpenSearchWrapper } from "leafcutter-ui";
import { OpenSearchWrapper } from "@link-stack/leafcutter-ui";
export const Home: FC = () => (
<OpenSearchWrapper url="/app/visualize#/edit/237b8f00-e6a0-11ee-94b3-d7b7409294e7?embed=true" marginTop="0"

View file

@ -3,7 +3,7 @@ import { usePathname, useRouter } from "next/navigation";
import useSWR from "swr";
import { Grid, Box, TextField, Autocomplete } from "@mui/material";
import { searchQuery } from "@/app/_graphql/searchQuery";
import { colors } from "ui";
import { colors } from "@link-stack/ui";
type SearchResultProps = {
props: any;

View file

@ -35,7 +35,7 @@ import LinkLogo from "public/link-logo-small.png";
import { useSession, signOut } from "next-auth/react";
import { getTicketOverviewCountsQuery } from "app/_graphql/getTicketOverviewCountsQuery";
import { SearchBox } from "./SearchBox";
import { fonts } from "ui";
import { fonts } from "@link-stack/ui";
const openWidth = 270;
const closedWidth = 70;

View file

@ -1,4 +1,4 @@
import { Create } from "bridge-ui";
import { Create } from "@link-stack/bridge-ui";
type PageProps = {
params: { segment: string[] };

View file

@ -1,5 +1,5 @@
import { db } from "bridge-common";
import { serviceConfig, Detail } from "bridge-ui";
import { db } from "@link-stack/bridge-common";
import { serviceConfig, Detail } from "@link-stack/bridge-ui";
type Props = {
params: { segment: string[] };

View file

@ -1,5 +1,5 @@
import { db } from "bridge-common";
import { serviceConfig, Edit } from "bridge-ui";
import { db } from "@link-stack/bridge-common";
import { serviceConfig, Edit } from "@link-stack/bridge-ui";
type PageProps = {
params: { segment: string[] };

View file

@ -1,3 +1,3 @@
import { ServiceLayout } from "bridge-ui";
import { ServiceLayout } from "@link-stack/bridge-ui";
export default ServiceLayout;

View file

@ -1,5 +1,5 @@
import { db } from "bridge-common";
import { serviceConfig, List } from "bridge-ui";
import { db } from "@link-stack/bridge-common";
import { serviceConfig, List } from "@link-stack/bridge-ui";
type PageProps = {
params: {

View file

@ -1,4 +1,4 @@
import { Home } from "bridge-ui";
import { Home } from "@link-stack/bridge-ui";
export default function Page() {
return <Home />;

View file

@ -1,4 +1,4 @@
import { About } from "leafcutter-ui";
import { About } from "@link-stack/leafcutter-ui";
export default function Page() {
return <About />;

View file

@ -1,5 +1,5 @@
import { getTemplates } from "opensearch-common";
import { Create } from "leafcutter-ui";
import { getTemplates } from "@link-stack/opensearch-common";
import { Create } from "@link-stack/leafcutter-ui";
export const dynamic = "force-dynamic";

View file

@ -1,4 +1,4 @@
import { FAQ } from "leafcutter-ui";
import { FAQ } from "@link-stack/leafcutter-ui";
export default function Page() {
return <FAQ />;

View file

@ -1,5 +1,5 @@
import { ReactNode } from "react";
import { LeafcutterWrapper } from "leafcutter-ui";
import { LeafcutterWrapper } from "@link-stack/leafcutter-ui";
type LayoutProps = {
children: ReactNode;

View file

@ -1,4 +1,4 @@
import { Home, LeafcutterWrapper } from "leafcutter-ui";
import { Home, LeafcutterWrapper } from "@link-stack/leafcutter-ui";
export const dynamic = "force-dynamic";

View file

@ -1,4 +1,4 @@
import { Trends } from "leafcutter-ui";
import { Trends } from "@link-stack/leafcutter-ui";
export const dynamic = "force-dynamic";

View file

@ -3,7 +3,7 @@
import { FC } from "react";
import { useFormState } from "react-dom";
import { Grid } from "@mui/material";
import { Dialog, Button, TextField, Autocomplete } from "ui";
import { Dialog, Button, TextField, Autocomplete } from "@link-stack/ui";
import { createTicketAction } from "app/_actions/tickets";
import useSWR from "swr";

View file

@ -4,7 +4,7 @@ import { FC, useState } from "react";
import { Grid, Box } from "@mui/material";
import { GridColDef } from "@mui/x-data-grid-pro";
import { StyledDataGrid } from "app/(main)/_components/StyledDataGrid";
import { Button, List, typography } from "ui";
import { Button, List, typography } from "@link-stack/ui";
import { useRouter } from "next/navigation";
import { TicketCreateDialog } from "./TicketCreateDialog";

View file

@ -1,8 +1,8 @@
import { Metadata } from "next";
import { getServerSession } from "app/_lib/authentication";
import { Home } from "leafcutter-ui";
import { getUserVisualizations } from "opensearch-common";
import { LeafcutterWrapper } from "leafcutter-ui";
import { Home } from "@link-stack/leafcutter-ui";
import { getUserVisualizations } from "@link-stack/opensearch-common";
import { LeafcutterWrapper } from "@link-stack/leafcutter-ui";
export const metadata: Metadata = {
title: "Link",

View file

@ -5,7 +5,7 @@ import useSWR from "swr";
import { getTicketQuery } from "app/_graphql/getTicketQuery";
import { getTicketArticlesQuery } from "app/_graphql/getTicketArticlesQuery";
import { Grid, Box, Typography } from "@mui/material";
import { Button, fonts, colors } from "ui";
import { Button, fonts, colors } from "@link-stack/ui";
import "@chatscope/chat-ui-kit-styles/dist/default/styles.min.css";
import {

View file

@ -3,7 +3,7 @@
import { FC, useEffect, useState } from "react";
import { Grid, Box, MenuItem } from "@mui/material";
import { useFormState } from "react-dom";
import { Select, Button } from "ui";
import { Select, Button } from "@link-stack/ui";
import { MuiChipsInput } from "mui-chips-input";
import useSWR, { useSWRConfig } from "swr";
import { getTicketQuery } from "app/_graphql/getTicketQuery";

View file

@ -11,7 +11,7 @@ import { I18n } from "react-polyglot";
import { AdapterDateFns } from "@mui/x-date-pickers-pro/AdapterDateFnsV3";
import { LocalizationProvider } from "@mui/x-date-pickers-pro";
import { LicenseInfo } from "@mui/x-license";
import { locales, LeafcutterProvider } from "leafcutter-ui";
import { locales, LeafcutterProvider } from "@link-stack/leafcutter-ui";
LicenseInfo.setLicenseKey(
"c787ac6613c5f2aa0494c4285fe3e9f2Tz04OTY1NyxFPTE3NDYzNDE0ODkwMDAsUz1wcm8sTE09c3Vic2NyaXB0aW9uLEtWPTI=",