@egov3/system-design 1.2.48 → 1.2.50
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.
- package/dist/cjs/components/Accordion/index.d.ts +3 -3
- package/dist/cjs/components/InputField/index.d.ts +1 -1
- package/dist/cjs/components/Modal/index.d.ts +2 -2
- package/dist/cjs/components/Typography/index.d.ts +1 -1
- package/dist/cjs/index.js +1707 -2688
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/components/Accordion/index.d.ts +3 -3
- package/dist/esm/components/InputField/index.d.ts +1 -1
- package/dist/esm/components/Modal/index.d.ts +2 -2
- package/dist/esm/components/Typography/index.d.ts +1 -1
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.js +1700 -2677
- package/dist/esm/index.js.map +1 -1
- package/package.json +6 -5
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React, { Dispatch } from "react";
|
|
1
|
+
import React, { Dispatch, JSX } from "react";
|
|
2
2
|
export interface IAccordionProps {
|
|
3
3
|
open: boolean;
|
|
4
4
|
setOpen: Dispatch<React.SetStateAction<boolean>>;
|
|
5
5
|
children: React.ReactNode;
|
|
6
|
-
title:
|
|
6
|
+
title: JSX.Element;
|
|
7
7
|
}
|
|
8
|
-
export declare const Accordion: ({ open, setOpen, children, title, }: IAccordionProps) =>
|
|
8
|
+
export declare const Accordion: ({ open, setOpen, children, title, }: IAccordionProps) => JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { HTMLInputTypeAttribute } from "react";
|
|
1
|
+
import React, { HTMLInputTypeAttribute, JSX } from "react";
|
|
2
2
|
export interface IInputFieldProps extends React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> {
|
|
3
3
|
onFocus?: () => void;
|
|
4
4
|
onBlur?: () => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { Dispatch } from "react";
|
|
1
|
+
import React, { Dispatch, JSX } from "react";
|
|
2
2
|
export interface IModalProps {
|
|
3
3
|
open: boolean;
|
|
4
4
|
children: JSX.Element;
|
|
@@ -6,4 +6,4 @@ export interface IModalProps {
|
|
|
6
6
|
headerTitle?: string;
|
|
7
7
|
variant: "large" | "small";
|
|
8
8
|
}
|
|
9
|
-
export declare const Modal: ({ open, setOpen, children, headerTitle, variant, }: IModalProps) =>
|
|
9
|
+
export declare const Modal: ({ open, setOpen, children, headerTitle, variant, }: IModalProps) => JSX.Element | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { FC } from "react";
|
|
1
|
+
import React, { FC, JSX } from "react";
|
|
2
2
|
type TFontClass = "heading1" | "heading3" | "subtitles3" | "body1Medium" | "body1Regular" | "body2Medium" | "body2Regular" | "body3Regular" | "caption1Medium" | "caption1Regular" | "caption1Semibold" | "caption2Medium" | "caption2Regular";
|
|
3
3
|
export interface ITypographyProps extends React.HTMLAttributes<HTMLElement> {
|
|
4
4
|
tag: keyof JSX.IntrinsicElements | React.JSXElementConstructor<any>;
|