@devopness/ui-react 2.175.0 → 2.176.0
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/src/components/Forms/FormText/FormText.d.ts +26 -0
- package/dist/src/components/Forms/FormText/FormText.styled.d.ts +8 -0
- package/dist/src/components/Forms/FormText/index.d.ts +1 -0
- package/dist/src/components/Forms/index.d.ts +1 -0
- package/dist/ui-react.cjs +154 -131
- package/dist/ui-react.js +621 -593
- package/package.json +3 -3
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
type FormTextProps = {
|
|
2
|
+
/** Main title */
|
|
3
|
+
title: string;
|
|
4
|
+
/** Optional subtitle, can be text or ReactNode */
|
|
5
|
+
subTitle?: React.ReactNode;
|
|
6
|
+
/** Optional custom color for subtitle */
|
|
7
|
+
subTitleColor?: string;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* FormText Component
|
|
11
|
+
*
|
|
12
|
+
* Displays a section with a title, an optional subtitle,
|
|
13
|
+
* and a divider line.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* <FormText
|
|
18
|
+
* title="Form Section"
|
|
19
|
+
* subTitle="This is an optional subtitle"
|
|
20
|
+
* subTitleColor="red"
|
|
21
|
+
* />
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
declare const FormText: ({ title, subTitle, subTitleColor }: FormTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export { FormText };
|
|
26
|
+
export type { FormTextProps };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const Wrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
+
declare const Line: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
+
declare const Title: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never>> & string;
|
|
4
|
+
type ParagraphProps = {
|
|
5
|
+
subtitleColor?: string;
|
|
6
|
+
};
|
|
7
|
+
declare const Paragraph: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, ParagraphProps>> & string;
|
|
8
|
+
export { Wrapper, Line, Title, Paragraph };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './FormText';
|