WhatsApp/Signal/Formstack/admin updates

This commit is contained in:
Darren Clarke 2025-11-21 14:55:28 +01:00
parent bcecf61a46
commit d0cc5a21de
451 changed files with 16139 additions and 39623 deletions

View file

@ -32,13 +32,13 @@ export const InternalButton: FC<InternalButtonProps> = ({
type = "button",
onClick,
}) => (
// @ts-expect-error - don't pass empty href
<MUIButton
variant="contained"
disableElevation
disabled={disabled}
onClick={onClick}
type={type}
href=""
sx={{
fontFamily: "Poppins, sans-serif",
fontWeight: 700,

View file

@ -59,7 +59,6 @@ export const MultiValueField: FC<MultiValueFieldProps> = ({
newFields[index][position] = value;
setFields(newFields);
// formState.values[name] = Object.fromEntries(newFields);
// console.log(formState.values);
};
return (

View file

@ -51,7 +51,12 @@ export const Select: FC<SelectProps> = ({
}}
>
{options.map((option: SelectOption) => (
<MenuItem key={option.value} value={option.value}>
<MenuItem
key={option.value}
value={option.value}
// @ts-ignore
disabled={option.disabled ?? false}
>
{option.label}
</MenuItem>
))}

View file

@ -1,7 +1,7 @@
import { LicenseInfo } from "@mui/x-license";
LicenseInfo.setLicenseKey(
"c787ac6613c5f2aa0494c4285fe3e9f2Tz04OTY1NyxFPTE3NDYzNDE0ODkwMDAsUz1wcm8sTE09c3Vic2NyaXB0aW9uLEtWPTI=",
"2a7dd73ee59e3e028b96b0d2adee1ad8Tz0xMTMwOTUsRT0xNzc5MDYyMzk5MDAwLFM9cHJvLExNPXN1YnNjcmlwdGlvbixQVj1pbml0aWFsLEtWPTI=",
);
export { List } from "./components/List";

View file

@ -1,23 +1,24 @@
{
"name": "@link-stack/ui",
"version": "2.2.0",
"version": "3.3.0",
"description": "",
"scripts": {
"build": "tsc -p tsconfig.json"
},
"author": "",
"dependencies": {
"@mui/icons-material": "^5",
"@mui/material": "^5",
"@mui/x-data-grid-pro": "^7.18.0",
"@mui/x-license": "^7.18.0",
"next": "^14.2.25",
"react": "18.3.1",
"react-dom": "18.3.1"
"@mui/icons-material": "^6",
"@mui/material": "^6",
"@mui/x-data-grid-pro": "^7",
"@mui/x-license": "^7",
"next": "15.5.4",
"react": "19.2.0",
"react-dom": "19.2.0"
},
"devDependencies": {
"@types/node": "^22.7.3",
"@types/react": "^18",
"typescript": "^5.6.2"
"@types/node": "^24.7.0",
"@types/react": "19.2.2",
"@types/react-dom": "^19.2.1",
"typescript": "^5.9.3"
}
}

View file

@ -43,8 +43,6 @@ export const colors: any = {
helpYellow: "#fff4d5",
dwcDarkBlue: "#191847",
hazyMint: "#ecf7f8",
leafcutterElectricBlue: "#4d6aff",
leafcutterLightBlue: "#fafbfd",
waterbearElectricPurple: "#332c83",
waterbearLightSmokePurple: "#eff3f8",
bumpedPurple: "#212058",

View file

@ -6,7 +6,10 @@
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"noEmit": false,
"outDir": "./dist",
"declaration": true,
"declarationMap": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
@ -25,5 +28,5 @@
]
},
"include": ["**.d.ts", "**/*.ts", "**/*.tsx", "**/*.png, **/*.svg"],
"exclude": ["node_modules", "babel__core"]
"exclude": ["node_modules", "babel__core", "dist"]
}