@manuscripts/style-guide 3.6.4 → 3.6.6

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 (42) hide show
  1. package/README.md +2 -2
  2. package/dist/cjs/components/icons/index.js +12 -2
  3. package/dist/cjs/components/icons/leading-half-left.js +5 -0
  4. package/dist/cjs/components/icons/leading-hero-image.js +5 -0
  5. package/dist/cjs/components/icons/leading-large-float.js +5 -0
  6. package/dist/cjs/components/icons/leading-small-float.js +5 -0
  7. package/dist/cjs/components/icons/leading-wallpaper.js +5 -0
  8. package/dist/cjs/components/icons/x.js +1 -1
  9. package/dist/es/components/icons/index.js +5 -0
  10. package/dist/es/components/icons/leading-half-left.js +3 -0
  11. package/dist/es/components/icons/leading-hero-image.js +3 -0
  12. package/dist/es/components/icons/leading-large-float.js +3 -0
  13. package/dist/es/components/icons/leading-small-float.js +3 -0
  14. package/dist/es/components/icons/leading-wallpaper.js +3 -0
  15. package/dist/es/components/icons/x.js +1 -1
  16. package/dist/types/components/Badge.d.ts +9 -3
  17. package/dist/types/components/Button.d.ts +608 -55
  18. package/dist/types/components/Checkbox.d.ts +9 -6
  19. package/dist/types/components/Dialog.d.ts +2 -2
  20. package/dist/types/components/Drawer.d.ts +36 -24
  21. package/dist/types/components/Dropdown.d.ts +13 -4
  22. package/dist/types/components/Form.d.ts +22 -18
  23. package/dist/types/components/FormCommon.d.ts +3 -3
  24. package/dist/types/components/Inspector.d.ts +4426 -10
  25. package/dist/types/components/List.d.ts +2 -2
  26. package/dist/types/components/Menus/Shortcut.d.ts +1 -1
  27. package/dist/types/components/Menus/Submenu.d.ts +11 -5
  28. package/dist/types/components/NavDropdown.d.ts +61 -16
  29. package/dist/types/components/Resizer/ResizerButtonInner.d.ts +76 -4
  30. package/dist/types/components/Resizer/ResizerInner.d.ts +76 -4
  31. package/dist/types/components/Shortcut/index.d.ts +2 -2
  32. package/dist/types/components/Sidebar.d.ts +2 -2
  33. package/dist/types/components/StyledModal.d.ts +512 -19
  34. package/dist/types/components/Text.d.ts +17 -5
  35. package/dist/types/components/TextField.d.ts +13 -10
  36. package/dist/types/components/icons/index.d.ts +5 -0
  37. package/dist/types/components/icons/leading-half-left.d.ts +4 -0
  38. package/dist/types/components/icons/leading-hero-image.d.ts +4 -0
  39. package/dist/types/components/icons/leading-large-float.d.ts +4 -0
  40. package/dist/types/components/icons/leading-small-float.d.ts +4 -0
  41. package/dist/types/components/icons/leading-wallpaper.d.ts +4 -0
  42. package/package.json +2 -3
@@ -13,8 +13,20 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- export declare const PrimaryBoldHeading: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
17
- export declare const SecondaryBoldHeading: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
18
- export declare const PrimarySmallText: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
19
- export declare const SecondarySmallText: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
20
- export declare const SectionTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
16
+ export declare const PrimaryBoldHeading: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
17
+ export declare const SecondaryBoldHeading: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>, "as" | "forwardedAs"> & {
18
+ as?: import("styled-components").WebTarget | undefined;
19
+ forwardedAs?: import("styled-components").WebTarget | undefined;
20
+ }, never> & Partial<Pick<import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>, "as" | "forwardedAs"> & {
21
+ as?: import("styled-components").WebTarget | undefined;
22
+ forwardedAs?: import("styled-components").WebTarget | undefined;
23
+ }, never>>> & string;
24
+ export declare const PrimarySmallText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
25
+ export declare const SecondarySmallText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>, "as" | "forwardedAs"> & {
26
+ as?: import("styled-components").WebTarget | undefined;
27
+ forwardedAs?: import("styled-components").WebTarget | undefined;
28
+ }, never> & Partial<Pick<import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>, "as" | "forwardedAs"> & {
29
+ as?: import("styled-components").WebTarget | undefined;
30
+ forwardedAs?: import("styled-components").WebTarget | undefined;
31
+ }, never>>> & string;
32
+ export declare const SectionTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
@@ -13,7 +13,6 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { Field } from 'formik';
17
16
  import React from 'react';
18
17
  export interface BaseTextFieldProps {
19
18
  $error?: boolean | string;
@@ -23,15 +22,19 @@ export interface TextFieldProps extends React.InputHTMLAttributes<HTMLInputEleme
23
22
  }
24
23
  export interface TextAreaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement>, BaseTextFieldProps {
25
24
  }
26
- export declare const commonStyles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<BaseTextFieldProps, import("styled-components").DefaultTheme>>;
27
- export declare const TextField: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, TextFieldProps, never>;
28
- export declare const TextArea: import("styled-components").StyledComponent<"textarea", import("styled-components").DefaultTheme, TextAreaProps, never>;
29
- export declare const YearInput: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, TextFieldProps, never>;
30
- export declare const YearField: import("styled-components").StyledComponent<typeof Field, import("styled-components").DefaultTheme, {
31
- as: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, TextFieldProps, never>;
32
- }, "as">;
33
- export declare const TextFieldGroup: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
34
- export declare const TextFieldLabel: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {}, never>;
25
+ export declare const commonStyles: import("styled-components").RuleSet<NoInfer<BaseTextFieldProps>>;
26
+ export declare const TextField: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof TextFieldProps> & TextFieldProps, never> & Partial<Pick<import("styled-components").FastOmit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof TextFieldProps> & TextFieldProps, never>>> & string;
27
+ export declare const TextArea: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, keyof TextAreaProps> & TextAreaProps, never> & Partial<Pick<import("styled-components").FastOmit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, keyof TextAreaProps> & TextAreaProps, never>>> & string;
28
+ export declare const YearInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof TextFieldProps> & TextFieldProps, never> & Partial<Pick<import("styled-components").FastOmit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof TextFieldProps> & TextFieldProps, never>>> & string;
29
+ export declare const YearField: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<any, "ref" | "key" | "as" | "forwardedAs" | keyof TextFieldProps> & import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof TextFieldProps> & TextFieldProps, never> & Partial<Pick<import("styled-components").FastOmit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof TextFieldProps> & TextFieldProps, never>>, "as" | "forwardedAs"> & {
30
+ as?: import("styled-components").WebTarget | undefined;
31
+ forwardedAs?: import("styled-components").WebTarget | undefined;
32
+ }, "as"> & Partial<Pick<import("styled-components").FastOmit<any, "ref" | "key" | "as" | "forwardedAs" | keyof TextFieldProps> & import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof TextFieldProps> & TextFieldProps, never> & Partial<Pick<import("styled-components").FastOmit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof TextFieldProps> & TextFieldProps, never>>, "as" | "forwardedAs"> & {
33
+ as?: import("styled-components").WebTarget | undefined;
34
+ forwardedAs?: import("styled-components").WebTarget | undefined;
35
+ }, "as">>> & string;
36
+ export declare const TextFieldGroup: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
37
+ export declare const TextFieldLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, never>>> & string;
35
38
  export declare const TextFieldWrapper: React.FC<{
36
39
  leftIcon: React.ReactNode;
37
40
  children: React.ReactNode;
@@ -78,6 +78,11 @@ export { default as InspectorPluginIcon } from './inspector-plugin';
78
78
  export { default as LinkIcon } from './link';
79
79
  export { default as LockIcon } from './lock';
80
80
  export { default as LogoutIcon } from './logout';
81
+ export { default as LeadingHeroImageIcon } from './leading-hero-image';
82
+ export { default as LeadingSmallFloatIcon } from './leading-small-float';
83
+ export { default as LeadingLargeFloatIcon } from './leading-large-float';
84
+ export { default as LeadingWallpaperIcon } from './leading-wallpaper';
85
+ export { default as LeadingHalfLeftIcon } from './leading-half-left';
81
86
  export { default as ManuscriptIcon } from './manuscript';
82
87
  export { default as OutlineBlockQuoteIcon } from './outline-block-quote';
83
88
  export { default as OutlineCodeIcon } from './outline-code';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from './types';
3
+ declare const LeadingHalfLeftIcon: React.FC<IconProps>;
4
+ export default LeadingHalfLeftIcon;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from './types';
3
+ declare const LeadingHeroImageIcon: React.FC<IconProps>;
4
+ export default LeadingHeroImageIcon;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from './types';
3
+ declare const LeadingLargeFloatIcon: React.FC<IconProps>;
4
+ export default LeadingLargeFloatIcon;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from './types';
3
+ declare const LeadingSmallFloatIcon: React.FC<IconProps>;
4
+ export default LeadingSmallFloatIcon;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from './types';
3
+ declare const LeadingWallpaperIcon: React.FC<IconProps>;
4
+ export default LeadingWallpaperIcon;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@manuscripts/style-guide",
3
3
  "description": "Shared components for Manuscripts applications",
4
- "version": "3.6.4",
4
+ "version": "3.6.6",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-style-guide",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",
@@ -49,7 +49,7 @@
49
49
  "react-router-dom": "5.3.4",
50
50
  "react-select": "5.10.2",
51
51
  "react-tooltip": "6.0.2",
52
- "styled-components": "5.3.11"
52
+ "styled-components": "6.4.2"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@babel/core": "7.29.0",
@@ -73,7 +73,6 @@
73
73
  "@types/react": "19.2.17",
74
74
  "@types/react-dom": "19.2.3",
75
75
  "@types/react-router-dom": "5.3.3",
76
- "@types/styled-components": "5.1.36",
77
76
  "@typescript-eslint/eslint-plugin": "8.59.3",
78
77
  "@typescript-eslint/parser": "8.59.3",
79
78
  "@vitest/coverage-v8": "4.1.6",