nectiasw 0.0.3 → 0.0.4

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/App.d.ts CHANGED
@@ -1,3 +1,2 @@
1
-
2
1
  declare function App(): import("react/jsx-runtime").JSX.Element;
3
2
  export default App;
@@ -0,0 +1,48 @@
1
+ import { default as React } from 'react';
2
+
3
+ export type CommonTextProps = {
4
+ tag?: string;
5
+ color?: "info" | "opaque" | "primary" | "secondary" | "success" | "warning" | "danger" | "white" | "darkened";
6
+ customColor?: string;
7
+ className?: string;
8
+ size?: "xs" | "sm" | "base" | "lg" | "xl" | "2xl" | "3xl" | "4xl";
9
+ font?: "medium" | "bold" | "semibold" | "extrabold" | "normal" | "thin" | "regular" | "light" | "black" | "extralight";
10
+ children?: React.ReactNode;
11
+ style?: "italic" | "non-italic";
12
+ sans?: boolean;
13
+ leading?: string | number;
14
+ };
15
+ export type MessageTextProps = {
16
+ className?: string;
17
+ confirmation?: boolean;
18
+ onDismiss?: () => void;
19
+ children?: React.ReactNode;
20
+ };
21
+ export declare const Text: React.FunctionComponent<CommonTextProps>;
22
+ /**
23
+ * @description
24
+ * Title component for the application on TailwindCSS.
25
+ */
26
+ export declare const Title: React.FunctionComponent<CommonTextProps>;
27
+ /**
28
+ * @description
29
+ * Subtitle component for the application on TailwindCSS.
30
+ */
31
+ export declare const Subtitle: React.FunctionComponent<CommonTextProps>;
32
+ /**
33
+ * @description
34
+ * Subtitle component for the application on TailwindCSS.
35
+ */
36
+ export declare const Item: React.FunctionComponent<{
37
+ children?: React.ReactNode;
38
+ }>;
39
+ /**
40
+ * @description
41
+ * Description component for the application on TailwindCSS.
42
+ */
43
+ export declare const Description: React.FunctionComponent<{
44
+ content?: boolean;
45
+ children?: React.ReactNode;
46
+ }>;
47
+ export declare const Success: React.FC<MessageTextProps>;
48
+ export declare const Error: React.FC<MessageTextProps>;
@@ -0,0 +1,23 @@
1
+ export declare const classes: {
2
+ container: {
3
+ content: string;
4
+ description: string;
5
+ root: string;
6
+ sub: string;
7
+ };
8
+ inscription: {
9
+ title: string;
10
+ };
11
+ success: {
12
+ position: string;
13
+ confirmation: string;
14
+ show: string;
15
+ hide: string;
16
+ };
17
+ error: {
18
+ position: string;
19
+ confirmation: string;
20
+ show: string;
21
+ hide: string;
22
+ };
23
+ };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,4 @@
1
+ export { Item, Text, Error, Success, Subtitle, Description, } from './components/Text';
1
2
  export { Button } from './components/Button';
2
3
  export type { ButtonProps } from './components/Button';
4
+ export type { CommonTextProps } from './components/Text';