@manuscripts/style-guide 3.7.2 → 3.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/components/icons/arrow-down.js +1 -1
  3. package/dist/cjs/components/icons/arrow-up.js +1 -1
  4. package/dist/cjs/components/icons/attention-blue.js +1 -1
  5. package/dist/cjs/components/icons/delete-solid.js +1 -1
  6. package/dist/cjs/components/icons/deleted.js +1 -1
  7. package/dist/cjs/components/icons/plus.js +1 -1
  8. package/dist/cjs/components/icons/vertical-ellipsis.js +1 -1
  9. package/dist/cjs/mui/components/Button/Button.js +18 -0
  10. package/dist/cjs/mui/components/Button/index.js +32 -0
  11. package/dist/cjs/mui/components/IconButton/IconButton.js +22 -0
  12. package/dist/cjs/mui/components/IconButton/index.js +32 -0
  13. package/dist/cjs/mui/components/InspectorToggleButton/InspectorToggleButton.js +17 -0
  14. package/dist/cjs/mui/components/InspectorToggleButton/index.js +32 -0
  15. package/dist/cjs/mui/components/ToggleButton/ToggleButton.js +10 -0
  16. package/dist/cjs/mui/components/ToggleButton/index.js +32 -0
  17. package/dist/cjs/mui/index.js +36 -0
  18. package/dist/cjs/mui/theme/index.js +25 -0
  19. package/dist/cjs/mui/theme/palette.js +70 -0
  20. package/dist/cjs/mui/theme/theme.js +88 -0
  21. package/dist/es/components/icons/arrow-down.js +1 -1
  22. package/dist/es/components/icons/arrow-up.js +1 -1
  23. package/dist/es/components/icons/attention-blue.js +1 -1
  24. package/dist/es/components/icons/delete-solid.js +1 -1
  25. package/dist/es/components/icons/deleted.js +1 -1
  26. package/dist/es/components/icons/plus.js +1 -1
  27. package/dist/es/components/icons/vertical-ellipsis.js +1 -1
  28. package/dist/es/mui/components/Button/Button.js +11 -0
  29. package/dist/es/mui/components/Button/index.js +16 -0
  30. package/dist/es/mui/components/IconButton/IconButton.js +15 -0
  31. package/dist/es/mui/components/IconButton/index.js +16 -0
  32. package/dist/es/mui/components/InspectorToggleButton/InspectorToggleButton.js +13 -0
  33. package/dist/es/mui/components/InspectorToggleButton/index.js +16 -0
  34. package/dist/es/mui/components/ToggleButton/ToggleButton.js +3 -0
  35. package/dist/es/mui/components/ToggleButton/index.js +16 -0
  36. package/dist/es/mui/index.js +20 -0
  37. package/dist/es/mui/theme/index.js +18 -0
  38. package/dist/es/mui/theme/palette.js +67 -0
  39. package/dist/es/mui/theme/theme.js +85 -0
  40. package/dist/types/mui/components/Button/Button.d.ts +27 -0
  41. package/dist/types/mui/components/Button/index.d.ts +16 -0
  42. package/dist/types/mui/components/IconButton/IconButton.d.ts +23 -0
  43. package/dist/types/mui/components/IconButton/index.d.ts +16 -0
  44. package/dist/types/mui/components/InspectorToggleButton/InspectorToggleButton.d.ts +18 -0
  45. package/dist/types/mui/components/InspectorToggleButton/index.d.ts +16 -0
  46. package/dist/types/mui/components/ToggleButton/ToggleButton.d.ts +23 -0
  47. package/dist/types/mui/components/ToggleButton/index.d.ts +16 -0
  48. package/dist/types/mui/index.d.ts +20 -0
  49. package/dist/types/mui/theme/index.d.ts +18 -0
  50. package/dist/types/mui/theme/palette.d.ts +67 -0
  51. package/dist/types/mui/theme/theme.d.ts +16 -0
  52. package/package.json +23 -1
@@ -0,0 +1,15 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import MuiIconButton from '@mui/material/IconButton';
3
+ import { styled } from '@mui/material/styles';
4
+ const IconButtonRoot = styled(MuiIconButton, {
5
+ shouldForwardProp: (prop) => prop !== 'bordered',
6
+ })(({ theme, bordered }) => ({
7
+ svg: {
8
+ pointerEvents: 'none',
9
+ },
10
+ ...(bordered && {
11
+ border: '1px solid',
12
+ borderColor: theme.palette.grey[300],
13
+ }),
14
+ }));
15
+ export const IconButton = ({ bordered, danger, color, size = 'medium', ...props }) => (_jsx(IconButtonRoot, { color: danger ? 'error' : color, bordered: bordered, size: size, ...props }));
@@ -0,0 +1,16 @@
1
+ /*!
2
+ * © 2026 Atypon Systems LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export * from './IconButton';
@@ -0,0 +1,13 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { styled } from '@mui/material/styles';
3
+ import { IconButton } from '../IconButton';
4
+ const InspectorToggleButtonRoot = styled(IconButton)(({ theme }) => ({
5
+ width: 40,
6
+ height: 40,
7
+ padding: 0,
8
+ backgroundColor: theme.palette.common.white,
9
+ color: theme.palette.grey[700],
10
+ borderRadius: '50%',
11
+ boxShadow: '0 0 8px 0 rgba(0, 0, 0, 0.12)',
12
+ }));
13
+ export const InspectorToggleButton = ({ size = 'medium', type = 'button', ...props }) => (_jsx(InspectorToggleButtonRoot, { size: size, type: type, ...props }));
@@ -0,0 +1,16 @@
1
+ /*!
2
+ * © 2026 Atypon Systems LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export * from './InspectorToggleButton';
@@ -0,0 +1,3 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import MuiToggleButton from '@mui/material/ToggleButton';
3
+ export const ToggleButton = ({ danger, size = 'medium', color, value = 'toggle', ...rest }) => (_jsx(MuiToggleButton, { value: value, color: danger ? 'error' : color, size: size, ...rest }));
@@ -0,0 +1,16 @@
1
+ /*!
2
+ * © 2026 Atypon Systems LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export * from './ToggleButton';
@@ -0,0 +1,20 @@
1
+ /*!
2
+ * © 2026 Atypon Systems LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export * from './theme';
17
+ export * from './components/Button';
18
+ export * from './components/IconButton';
19
+ export * from './components/InspectorToggleButton';
20
+ export * from './components/ToggleButton';
@@ -0,0 +1,18 @@
1
+ /*!
2
+ * © 2026 Atypon Systems LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export { muiTheme } from './theme';
17
+ export { palette } from './palette';
18
+ export { styled, ThemeProvider as MuiThemeProvider } from '@mui/material/styles';
@@ -0,0 +1,67 @@
1
+ /*!
2
+ * © 2026 Atypon Systems LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export const palette = {
17
+ primary: {
18
+ dark: '#0b6bb8',
19
+ main: '#0d79d0',
20
+ light: '#bce7f6',
21
+ contrastText: '#fff',
22
+ },
23
+ secondary: {
24
+ main: '#353535',
25
+ },
26
+ error: {
27
+ dark: '#c74237',
28
+ main: '#e1200e',
29
+ light: '#f5c1b7',
30
+ contrastText: '#fff',
31
+ },
32
+ success: {
33
+ dark: '#31a056',
34
+ main: '#36b260',
35
+ light: '#eefbe9',
36
+ contrastText: '#fff',
37
+ },
38
+ warning: {
39
+ dark: '#fa5700',
40
+ main: '#fe8f1f',
41
+ light: '#fffcdb',
42
+ contrastText: '#353535',
43
+ },
44
+ info: {
45
+ main: '#1a9bc7',
46
+ light: '#f5fbfc',
47
+ contrastText: '#fff',
48
+ },
49
+ grey: {
50
+ 50: '#fafafa',
51
+ 100: '#f2f2f2',
52
+ 200: '#f5f5f5',
53
+ 300: '#e2e2e2',
54
+ 400: '#c9c9c9',
55
+ 700: '#6e6e6e',
56
+ 900: '#353535',
57
+ },
58
+ common: {
59
+ black: '#000',
60
+ white: '#fff',
61
+ },
62
+ focus: '#3DADFF',
63
+ brand: {
64
+ medium: '#1a9bc7',
65
+ xlight: '#ddf3fa',
66
+ },
67
+ };
@@ -0,0 +1,85 @@
1
+ /*!
2
+ * © 2026 Atypon Systems LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { createTheme } from '@mui/material/styles';
17
+ import { palette } from './palette';
18
+ export const muiTheme = createTheme({
19
+ palette: {
20
+ primary: palette.primary,
21
+ secondary: palette.secondary,
22
+ error: palette.error,
23
+ success: palette.success,
24
+ warning: palette.warning,
25
+ info: palette.info,
26
+ grey: palette.grey,
27
+ common: palette.common,
28
+ },
29
+ typography: {
30
+ fontFamily: '"Lato", sans-serif',
31
+ fontSize: 14,
32
+ button: {
33
+ textTransform: 'none',
34
+ fontWeight: 400,
35
+ },
36
+ },
37
+ shape: {
38
+ borderRadius: 8,
39
+ },
40
+ breakpoints: {
41
+ values: {
42
+ xs: 0,
43
+ sm: 360,
44
+ md: 768,
45
+ lg: 1024,
46
+ xl: 1280,
47
+ },
48
+ },
49
+ components: {
50
+ MuiButton: {
51
+ styleOverrides: {
52
+ root: {
53
+ borderRadius: 4,
54
+ },
55
+ outlined: {
56
+ borderColor: palette.grey[300],
57
+ },
58
+ outlinedError: {
59
+ color: palette.error.main,
60
+ borderColor: palette.error.main,
61
+ },
62
+ },
63
+ },
64
+ MuiIconButton: {
65
+ styleOverrides: {
66
+ root: {
67
+ borderRadius: 4,
68
+ },
69
+ },
70
+ },
71
+ MuiButtonBase: {
72
+ defaultProps: {
73
+ disableRipple: false,
74
+ },
75
+ styleOverrides: {
76
+ root: {
77
+ '&.Mui-focusVisible': {
78
+ outline: `3px solid ${palette.focus}`,
79
+ outlineOffset: '4px',
80
+ },
81
+ },
82
+ },
83
+ },
84
+ },
85
+ });
@@ -0,0 +1,27 @@
1
+ /*!
2
+ * © 2026 Atypon Systems LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { ButtonProps as MuiButtonProps } from '@mui/material/Button';
17
+ import React from 'react';
18
+ export type ButtonVariant = 'primary' | 'secondary' | 'tertiary';
19
+ export interface ButtonProps extends Omit<MuiButtonProps, 'variant' | 'color' | 'size'> {
20
+ variant?: ButtonVariant;
21
+ danger?: boolean;
22
+ size?: 'small' | 'medium' | 'large';
23
+ href?: string;
24
+ target?: React.HTMLAttributeAnchorTarget;
25
+ rel?: string;
26
+ }
27
+ export declare const Button: ({ variant, danger, size, ...rest }: ButtonProps) => React.JSX.Element;
@@ -0,0 +1,16 @@
1
+ /*!
2
+ * © 2026 Atypon Systems LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export * from './Button';
@@ -0,0 +1,23 @@
1
+ /*!
2
+ * © 2026 Atypon Systems LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { IconButtonProps as MuiIconButtonProps } from '@mui/material/IconButton';
17
+ import React from 'react';
18
+ export interface IconButtonProps extends Omit<MuiIconButtonProps, 'size'> {
19
+ bordered?: boolean;
20
+ size?: MuiIconButtonProps['size'];
21
+ danger?: boolean;
22
+ }
23
+ export declare const IconButton: ({ bordered, danger, color, size, ...props }: IconButtonProps) => React.JSX.Element;
@@ -0,0 +1,16 @@
1
+ /*!
2
+ * © 2026 Atypon Systems LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export * from './IconButton';
@@ -0,0 +1,18 @@
1
+ /*!
2
+ * © 2026 Atypon Systems LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import React from 'react';
17
+ import { IconButtonProps } from '../IconButton';
18
+ export declare const InspectorToggleButton: ({ size, type, ...props }: IconButtonProps) => React.JSX.Element;
@@ -0,0 +1,16 @@
1
+ /*!
2
+ * © 2026 Atypon Systems LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export * from './InspectorToggleButton';
@@ -0,0 +1,23 @@
1
+ /*!
2
+ * © 2026 Atypon Systems LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { ToggleButtonProps as MuiToggleButtonProps } from '@mui/material/ToggleButton';
17
+ import React from 'react';
18
+ export interface ToggleButtonProps extends Omit<MuiToggleButtonProps, 'size' | 'value'> {
19
+ danger?: boolean;
20
+ size?: 'small' | 'medium' | 'large';
21
+ value?: MuiToggleButtonProps['value'];
22
+ }
23
+ export declare const ToggleButton: ({ danger, size, color, value, ...rest }: ToggleButtonProps) => React.JSX.Element;
@@ -0,0 +1,16 @@
1
+ /*!
2
+ * © 2026 Atypon Systems LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export * from './ToggleButton';
@@ -0,0 +1,20 @@
1
+ /*!
2
+ * © 2026 Atypon Systems LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export * from './theme';
17
+ export * from './components/Button';
18
+ export * from './components/IconButton';
19
+ export * from './components/InspectorToggleButton';
20
+ export * from './components/ToggleButton';
@@ -0,0 +1,18 @@
1
+ /*!
2
+ * © 2026 Atypon Systems LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export { muiTheme } from './theme';
17
+ export { palette } from './palette';
18
+ export { styled, ThemeProvider as MuiThemeProvider } from '@mui/material/styles';
@@ -0,0 +1,67 @@
1
+ /*!
2
+ * © 2026 Atypon Systems LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export declare const palette: {
17
+ readonly primary: {
18
+ readonly dark: "#0b6bb8";
19
+ readonly main: "#0d79d0";
20
+ readonly light: "#bce7f6";
21
+ readonly contrastText: "#fff";
22
+ };
23
+ readonly secondary: {
24
+ readonly main: "#353535";
25
+ };
26
+ readonly error: {
27
+ readonly dark: "#c74237";
28
+ readonly main: "#e1200e";
29
+ readonly light: "#f5c1b7";
30
+ readonly contrastText: "#fff";
31
+ };
32
+ readonly success: {
33
+ readonly dark: "#31a056";
34
+ readonly main: "#36b260";
35
+ readonly light: "#eefbe9";
36
+ readonly contrastText: "#fff";
37
+ };
38
+ readonly warning: {
39
+ readonly dark: "#fa5700";
40
+ readonly main: "#fe8f1f";
41
+ readonly light: "#fffcdb";
42
+ readonly contrastText: "#353535";
43
+ };
44
+ readonly info: {
45
+ readonly main: "#1a9bc7";
46
+ readonly light: "#f5fbfc";
47
+ readonly contrastText: "#fff";
48
+ };
49
+ readonly grey: {
50
+ readonly 50: "#fafafa";
51
+ readonly 100: "#f2f2f2";
52
+ readonly 200: "#f5f5f5";
53
+ readonly 300: "#e2e2e2";
54
+ readonly 400: "#c9c9c9";
55
+ readonly 700: "#6e6e6e";
56
+ readonly 900: "#353535";
57
+ };
58
+ readonly common: {
59
+ readonly black: "#000";
60
+ readonly white: "#fff";
61
+ };
62
+ readonly focus: "#3DADFF";
63
+ readonly brand: {
64
+ readonly medium: "#1a9bc7";
65
+ readonly xlight: "#ddf3fa";
66
+ };
67
+ };
@@ -0,0 +1,16 @@
1
+ /*!
2
+ * © 2026 Atypon Systems LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export declare const muiTheme: import("@mui/material/styles").Theme;
package/package.json CHANGED
@@ -1,12 +1,31 @@
1
1
  {
2
2
  "name": "@manuscripts/style-guide",
3
3
  "description": "Shared components for Manuscripts applications",
4
- "version": "3.7.2",
4
+ "version": "3.7.3",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-style-guide",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",
8
8
  "module": "dist/es",
9
9
  "types": "dist/types",
10
+ "exports": {
11
+ ".": {
12
+ "types": "./dist/types/index.d.ts",
13
+ "import": "./dist/es/index.js",
14
+ "require": "./dist/cjs/index.js"
15
+ },
16
+ "./mui": {
17
+ "types": "./dist/types/mui/index.d.ts",
18
+ "import": "./dist/es/mui/index.js",
19
+ "require": "./dist/cjs/mui/index.js"
20
+ }
21
+ },
22
+ "typesVersions": {
23
+ "*": {
24
+ "mui": [
25
+ "dist/types/mui/index.d.ts"
26
+ ]
27
+ }
28
+ },
10
29
  "files": [
11
30
  "dist",
12
31
  "styles"
@@ -34,7 +53,10 @@
34
53
  "prepare": "husky"
35
54
  },
36
55
  "dependencies": {
56
+ "@emotion/react": "11.14.0",
57
+ "@emotion/styled": "11.14.1",
37
58
  "@headlessui/react": "2.2.10",
59
+ "@mui/material": "6.4.5",
38
60
  "formik": "2.4.9",
39
61
  "prosemirror-commands": "1.7.1",
40
62
  "prosemirror-history": "1.4.1",