@newtonschool/grauity 2.0.2-beta.2 → 2.0.2

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/elements/Form/ErrorMessage/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7C,eAAO,MAAM,YAAY,UAAW,iBAAiB,gBAepD,CAAC;AAEF,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/elements/Form/ErrorMessage/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7C,eAAO,MAAM,YAAY,UAAW,iBAAiB,gBAqBpD,CAAC;AAEF,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { OtpInputFieldProps } from './types';
2
+ declare const OtpInputField: ({ label, name, length, onChange, style, isOtpCorrect, isOtpWrong, isDisabled, errorMessage, successMessage, }: OtpInputFieldProps) => JSX.Element;
3
+ export default OtpInputField;
4
+ //# sourceMappingURL=OtpInputField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OtpInputField.d.ts","sourceRoot":"","sources":["../../../../../ui/elements/Form/OtpInputField/OtpInputField.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C,QAAA,MAAM,aAAa,kHAWhB,kBAAkB,gBAgIpB,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import { StyledOtpInputProps } from './types';
3
+ export declare const StyledOtpInputField: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
4
+ export declare const StyledOtpContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
5
+ export declare const StyledOtpInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, StyledOtpInputProps>> & string;
6
+ //# sourceMappingURL=OtpInputField.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OtpInputField.styles.d.ts","sourceRoot":"","sources":["../../../../../ui/elements/Form/OtpInputField/OtpInputField.styles.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE9C,eAAO,MAAM,mBAAmB,6NAI/B,CAAC;AAEF,eAAO,MAAM,kBAAkB,6NAK9B,CAAC;AAEF,eAAO,MAAM,cAAc,iQAyD1B,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default } from './OtpInputField';
2
+ export type { OtpInputFieldProps } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/elements/Form/OtpInputField/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,YAAY,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,79 @@
1
+ import React from 'react';
2
+ import { StyledInputProps } from '../../../../common/types';
3
+ export interface OtpInputFieldProps {
4
+ /**
5
+ * The label displayed above the OTP input fields.
6
+ * @type string
7
+ */
8
+ label?: string;
9
+ /**
10
+ * The value of the OTP input fields.
11
+ * @type string
12
+ */
13
+ name: string;
14
+ /**
15
+ * The total number of OTP input fields.
16
+ * @type number
17
+ * @default 4
18
+ */
19
+ length?: number;
20
+ /**
21
+ * Callback triggered when the OTP value changes.
22
+ * @param event - The event object containing the updated OTP value.
23
+ * @type (event: { target: { name: string; value: string } }) => void
24
+ */
25
+ onChange: (event: {
26
+ target: {
27
+ name: string;
28
+ value: string;
29
+ };
30
+ }) => void;
31
+ /**
32
+ * Inline styles applied to the OTP input fields.
33
+ * @type React.CSSProperties
34
+ */
35
+ style?: React.CSSProperties;
36
+ /**
37
+ * Indicates whether the entered OTP is correct.
38
+ * @type boolean
39
+ * @default false
40
+ */
41
+ isOtpCorrect?: boolean;
42
+ /**
43
+ * Indicates whether the entered OTP is incorrect.
44
+ * @type boolean
45
+ * @default false
46
+ */
47
+ isOtpWrong?: boolean;
48
+ /**
49
+ * Determines whether the OTP input fields are disabled.
50
+ * @type boolean
51
+ * @default false
52
+ */
53
+ isDisabled?: boolean;
54
+ /**
55
+ * The error message displayed when OTP validation fails.
56
+ * @type string
57
+ * @default 'Wrong OTP. Please try again'
58
+ */
59
+ errorMessage?: string;
60
+ /**
61
+ * The success message displayed when OTP validation succeeds.
62
+ * @type string
63
+ * @default 'OTP is correct'
64
+ */
65
+ successMessage?: string;
66
+ }
67
+ export interface StyledOtpInputProps extends StyledInputProps {
68
+ /**
69
+ * Indicates whether the entered OTP is correct.
70
+ * @type boolean
71
+ */
72
+ $isOtpCorrect: boolean;
73
+ /**
74
+ * Indicates whether the entered OTP is incorrect.
75
+ * @type boolean
76
+ */
77
+ $isOtpWrong: boolean;
78
+ }
79
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../ui/elements/Form/OtpInputField/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAE5D,MAAM,WAAW,kBAAkB;IAC/B;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE;QAAE,MAAM,EAAE;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,KAAK,IAAI,CAAC;IAEvE;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAE5B;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,mBAAoB,SAAQ,gBAAgB;IACzD;;;OAGG;IACH,aAAa,EAAE,OAAO,CAAC;IAEvB;;;OAGG;IACH,WAAW,EAAE,OAAO,CAAC;CACxB"}
@@ -0,0 +1,4 @@
1
+ import { SuccessMessageProps } from '../types';
2
+ export declare const SuccessMessage: (props: SuccessMessageProps) => JSX.Element;
3
+ export { SuccessMessageProps };
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/elements/Form/SuccessMessage/index.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,cAAc,UAAW,mBAAmB,gBAqBxD,CAAC;AAEF,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
@@ -1,15 +1,22 @@
1
1
  /// <reference types="react" />
2
2
  import { StyledLabelProps } from '../../../common/types';
3
+ import { GenericMessageProps } from './types';
3
4
  export declare const StyledLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, StyledLabelProps>> & string;
4
5
  export declare const StyledHelpMessage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
5
- export declare const StyledHelpMessageText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
6
- export declare const StyledHelpMessageMaxCharacters: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>, "ref"> & {
6
+ export declare const StyledHelpMessageText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, GenericMessageProps>> & string;
7
+ export declare const StyledHelpMessageMaxCharacters: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof GenericMessageProps> & GenericMessageProps, "ref"> & {
7
8
  ref?: import("react").Ref<HTMLSpanElement>;
8
9
  }, never>> & string;
9
10
  export declare const StyledErrorMessage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, "ref"> & {
10
11
  ref?: import("react").Ref<HTMLDivElement>;
11
12
  }, never>> & string;
12
- export declare const StyledErrorMessageText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>, "ref"> & {
13
+ export declare const StyledErrorMessageText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof GenericMessageProps> & GenericMessageProps, "ref"> & {
14
+ ref?: import("react").Ref<HTMLSpanElement>;
15
+ }, never>> & string;
16
+ export declare const StyledSuccessMessage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, "ref"> & {
17
+ ref?: import("react").Ref<HTMLDivElement>;
18
+ }, never>> & string;
19
+ export declare const StyledSuccessMessageText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof GenericMessageProps> & GenericMessageProps, "ref"> & {
13
20
  ref?: import("react").Ref<HTMLSpanElement>;
14
21
  }, never>> & string;
15
22
  //# sourceMappingURL=index.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.styles.d.ts","sourceRoot":"","sources":["../../../../ui/elements/Form/index.styles.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,eAAO,MAAM,WAAW,8PAoBvB,CAAC;AAEF,eAAO,MAAM,iBAAiB,6NAK7B,CAAC;AAEF,eAAO,MAAM,qBAAqB,+NAKjC,CAAC;AAEF,eAAO,MAAM,8BAA8B;;mBAE1C,CAAC;AAEF,eAAO,MAAM,kBAAkB;;mBAE9B,CAAC;AAEF,eAAO,MAAM,sBAAsB;;mBAAkC,CAAC"}
1
+ {"version":3,"file":"index.styles.d.ts","sourceRoot":"","sources":["../../../../ui/elements/Form/index.styles.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE9C,eAAO,MAAM,WAAW,8PAiBvB,CAAC;AAEF,eAAO,MAAM,iBAAiB,6NAK7B,CAAC;AAEF,eAAO,MAAM,qBAAqB,0PAKjC,CAAC;AAEF,eAAO,MAAM,8BAA8B;;mBAE1C,CAAC;AAEF,eAAO,MAAM,kBAAkB;;mBAE9B,CAAC;AAEF,eAAO,MAAM,sBAAsB;;mBAAkC,CAAC;AAEtE,eAAO,MAAM,oBAAoB;;mBAEhC,CAAC;AAEF,eAAO,MAAM,wBAAwB;;mBAAkC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import { StyledLabelProps } from '../../../common/types';
3
+ import { grauityIconSizeName } from '../../core/sizes/sizeTypes';
3
4
  export interface LabelProps extends StyledLabelProps {
4
5
  name: string;
5
6
  children: React.ReactNode;
@@ -27,5 +28,46 @@ export interface ErrorMessageProps {
27
28
  * @type React.ReactNode
28
29
  */
29
30
  children: React.ReactNode;
31
+ /**
32
+ * The size of the icon.
33
+ * @type grauityIconSizeName
34
+ * @default '20'
35
+ */
36
+ iconSize?: grauityIconSizeName;
37
+ /**
38
+ * Additional styles to be used over the element.
39
+ * @type React.CSSProperties
40
+ */
41
+ style?: React.CSSProperties;
42
+ }
43
+ export interface SuccessMessageProps {
44
+ /**
45
+ * The content of the ErrorMessage.
46
+ * @type React.ReactNode
47
+ */
48
+ children: React.ReactNode;
49
+ /**
50
+ * The size of the icon.
51
+ * @type grauityIconSizeName
52
+ * @default '20'
53
+ */
54
+ iconSize?: grauityIconSizeName;
55
+ /**
56
+ * Additional styles to be used over the element.
57
+ * @type React.CSSProperties
58
+ */
59
+ style?: React.CSSProperties;
60
+ }
61
+ export interface GenericMessageProps {
62
+ /**
63
+ * Additional CSS properties to be applied for message text.
64
+ * default: {}
65
+ */
66
+ style?: React.CSSProperties;
67
+ /**
68
+ * The content of the ErrorMessage.
69
+ * @type React.ReactNode
70
+ */
71
+ children: React.ReactNode;
30
72
  }
31
73
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../ui/elements/Form/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,MAAM,WAAW,UAAW,SAAQ,gBAAgB;IAChD,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAED,MAAM,WAAW,gBAAgB;IAC7B;;;OAGG;IAEH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB;IAC9B;;;OAGG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../ui/elements/Form/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEjE,MAAM,WAAW,UAAW,SAAQ,gBAAgB;IAChD,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAED,MAAM,WAAW,gBAAgB;IAC7B;;;OAGG;IAEH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB;IAC9B;;;OAGG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAE/B;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC/B;AAED,MAAM,WAAW,mBAAmB;IAChC;;;OAGG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAE/B;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC/B;AAED,MAAM,WAAW,mBAAmB;IAChC;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAE5B;;;OAGG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B"}
@@ -38,4 +38,6 @@ export { default as NSTextArea, type TextAreaProps, } from './elements/Form/Text
38
38
  export { type CheckboxProps, default as NSCheckbox, } from './elements/Form/Checkbox';
39
39
  export { default as NSRadioButton, type RadioButtonProps, } from './elements/Form/RadioButton';
40
40
  export { default as NSPagination, type PaginationProps, } from './elements/Pagination';
41
+ export { SuccessMessage as NSSuccessMessage, type SuccessMessageProps, } from './elements/Form/SuccessMessage';
42
+ export { default as NSOtpInput, type OtpInputFieldProps, } from './elements/Form/OtpInputField';
41
43
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../ui/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC9C,YAAY,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAGrC,OAAO,EACH,WAAW,IAAI,k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7E,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,KAAK,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAGlE,OAAO,EAAE,KAAK,aAAa,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGhF,OAAO,EACH,KAAK,YAAY,EACjB,OAAO,IAAI,SAAS,GACvB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,IAAI,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAG1E,OAAO,EACH,KAAK,gBAAgB,EACrB,WAAW,IAAI,aAAa,GAC/B,MAAM,6BAA6B,CAAC;AAGrC,OAAO,EACH,KAAK,iBAAiB,EACtB,YAAY,IAAI,cAAc,GACjC,MAAM,8BAA8B,CAAC;AAGtC,OAAO,EACH,OAAO,IAAI,WAAW,EACtB,KAAK,cAAc,GACtB,MAAM,2BAA2B,CAAC;AAGnC,OAAO,EACH,OAAO,IAAI,UAAU,EACrB,KAAK,aAAa,GACrB,MAAM,0BAA0B,CAAC;AAGlC,OAAO,EACH,KAAK,aAAa,EAClB,OAAO,IAAI,UAAU,GACxB,MAAM,0BAA0B,CAAC;AAGlC,OAAO,EACH,OAAO,IAAI,aAAa,EACxB,KAAK,gBAAgB,GACxB,MAAM,6BAA6B,CAAC;AAGrC,OAAO,EACH,OAAO,IAAI,YAAY,EACvB,KAAK,eAAe,GACvB,MAAM,uBAAuB,CAAC;AAG/B,OAAO,EACH,cAAc,IAAI,gBAAgB,EAClC,KAAK,mBAAmB,GAC3B,MAAM,gCAAgC,CAAC;AAGxC,OAAO,EACH,OAAO,IAAI,UAAU,EACrB,KAAK,kBAAkB,GAC1B,MAAM,+BAA+B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newtonschool/grauity",
3
- "version": "2.0.2-beta.2",
3
+ "version": "2.0.2",
4
4
  "description": "Design System for Newton School",
5
5
  "keywords": [
6
6
  "Newton School",
@@ -184,9 +184,9 @@
184
184
  "lodash": "^4.17.21"
185
185
  },
186
186
  "peerDependencies": {
187
- "react": "18.2.0",
188
- "react-dom": "18.2.0",
189
- "styled-components": "6.1.14"
187
+ "react": ">=18.2.0",
188
+ "react-dom": ">=18.2.0",
189
+ "styled-components": ">=6.1.14"
190
190
  },
191
191
  "resolutions": {
192
192
  "@storybook/react/webpack": "^5"