@dev-blinq/ui-systems 1.0.10 → 1.0.12

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 ADDED
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ declare const App: React.FC;
3
+ export default App;
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { CustomButtonProps } from './CustomButtonProps';
3
+ declare const CustomButton: React.FC<CustomButtonProps>;
4
+ export default CustomButton;
@@ -0,0 +1,11 @@
1
+ import { ButtonSize, ButtonColorHierarchyType } from './CustomButtonTypes';
2
+ import { ReactNode } from 'react';
3
+ export interface CustomButtonProps {
4
+ size?: ButtonSize;
5
+ colorHierarchy?: ButtonColorHierarchyType;
6
+ disabled?: boolean;
7
+ text: string;
8
+ leftIcon?: ReactNode;
9
+ rightIcon?: ReactNode;
10
+ onClick?: () => void;
11
+ }
@@ -0,0 +1,10 @@
1
+ export type ButtonSize = "sm" | "md" | "lg" | "xl";
2
+ export type ButtonColor = "brand" | "gray" | "destructive" | "white";
3
+ export type ButtonHierarchy = "primary" | "secondary" | "link" | "linkContainer";
4
+ export type ButtonState = "default" | "hover" | "focused" | "disabled";
5
+ export type ButtonColorHierarchyType = `${ButtonColor}/${ButtonHierarchy}`;
6
+ export declare const buttonSizeArray: ButtonSize[];
7
+ export declare const buttonColorArray: ButtonColor[];
8
+ export declare const buttonHierarchyArray: ButtonHierarchy[];
9
+ export declare const buttonStateArray: ButtonState[];
10
+ export declare const buttonColorHierarchyArray: ButtonColorHierarchyType[];
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ type CustomCheckboxProps = {
3
+ checked: boolean;
4
+ onChange?: (checked: boolean) => void;
5
+ label?: string;
6
+ disabled?: boolean;
7
+ };
8
+ declare const CustomCheckbox: React.FC<CustomCheckboxProps>;
9
+ export default CustomCheckbox;
@@ -0,0 +1,2 @@
1
+ import { InputContext } from './CustomInputProps';
2
+ export declare const ChooseInput: (context: InputContext) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { CustomInputProps } from './CustomInputProps';
3
+ declare const CustomInput: React.FC<CustomInputProps>;
4
+ export default CustomInput;
@@ -0,0 +1,26 @@
1
+ import { CSSProperties } from 'react';
2
+ export type Size = "md" | "lg";
3
+ export type Type = "default" | "action" | "currency" | "creditCard" | "date" | "link" | "password" | "search" | "tel" | "number";
4
+ export interface CustomInputProps {
5
+ Size?: Size;
6
+ type?: Type;
7
+ label?: string;
8
+ disabled?: boolean;
9
+ errExists?: boolean;
10
+ placeholder: string;
11
+ leftIcon?: any;
12
+ rightIcon?: any;
13
+ onAction?: () => void;
14
+ style?: CSSProperties;
15
+ [key: string]: any;
16
+ }
17
+ export interface InputContext {
18
+ type: string;
19
+ placeholder: string;
20
+ disabled: boolean;
21
+ errExists: boolean;
22
+ leftIcon?: any;
23
+ rightIcon?: any;
24
+ onAction?: (text: string | undefined) => void;
25
+ [key: string]: any;
26
+ }
@@ -0,0 +1,2 @@
1
+ import { InputContext } from '../CustomInputProps';
2
+ export declare const ActionInput: (context: InputContext) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { InputContext } from '../CustomInputProps';
2
+ export declare const CreditCardInput: (context: InputContext) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { InputContext } from '../CustomInputProps';
2
+ export declare const CurrencyInput: (context: InputContext) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { InputContext } from '../CustomInputProps';
2
+ export declare const DateInput: (context: InputContext) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { InputContext } from '../CustomInputProps';
2
+ export declare const LinkInput: (context: InputContext) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { InputContext } from '../CustomInputProps';
2
+ export declare const NumberInput: (context: InputContext) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { InputContext } from '../CustomInputProps';
2
+ export declare const PasswordInput: (context: InputContext) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { InputContext } from '../CustomInputProps';
2
+ export declare const DefaultInput: (context: InputContext) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,11 @@
1
+ import { TypographyProps } from '@mui/material';
2
+ type category = "display" | "heading" | "text";
3
+ type size = "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
4
+ type bold = "semibold" | "bold" | "extrabold" | "medium";
5
+ interface TypegraphyCustomType extends TypographyProps {
6
+ Size?: size;
7
+ category?: category;
8
+ bold?: bold;
9
+ }
10
+ declare const TypographyCustom: React.FC<TypegraphyCustomType>;
11
+ export default TypographyCustom;
@@ -0,0 +1 @@
1
+ export declare const DetailsIcon: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { default as MailIcon } from './mail.svg?react';
2
+ export { MailIcon };
@@ -0,0 +1 @@
1
+ export declare const LockIcon: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ interface MailIconProps {
2
+ style?: React.CSSProperties;
3
+ }
4
+ export declare const MailIcon: ({ style }: MailIconProps) => import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1 @@
1
+ export declare const PasswordEyeIcon: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ export { default as Button } from './components/CustomButton/CustomButton';
2
+ export { default as CustomInput } from './components/CustomInput/CustomInput';
3
+ export { default as CustomCheckbox } from './components/CustomCheckbox';
4
+ export { default as TypographyCustom } from './components/Typography/Typography';