@dev-blinq/ui-systems 1.0.67 → 1.0.69

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.
@@ -0,0 +1,20 @@
1
+ :root {
2
+ /* Border Radius */
3
+ --border-radius-radius-xl: 16px;
4
+ --border-radius-radius-lg: 12px;
5
+ --border-radius-radius-md: 12px;
6
+ --border-radius-radius-sm: 12px;
7
+
8
+ /* Spacing */
9
+ --spacing-spacing-xl: 24px;
10
+ --spacing-spacing-lg: 20px;
11
+ --spacing-spacing-md: 16px;
12
+ --spacing-spacing-sm: 12px;
13
+ --spacing-spacing-xs: 8px;
14
+
15
+ /* gap */
16
+ --gap-gap-xl: 12px;
17
+ --gap-gap-lg: 10px;
18
+ --gap-gap-md: 8px;
19
+ --gap-gap-sm: 8px;
20
+ }
package/dist/colors.css CHANGED
@@ -1,8 +1,5 @@
1
1
  :root {
2
- /* font-family */
3
- /* --font-family: "Courier New", sans-serif; */
4
2
  --font-family: "Plus Jakarta Sans", sans-serif;
5
-
6
3
  /* Primary Colors */
7
4
  --primary-lightest: #f5f7ff;
8
5
  --primary-light: #ebeefe;
@@ -66,7 +63,8 @@
66
63
  /* Greyscale */
67
64
  --color-white: #ffffff;
68
65
  --color-grey-5: #fdfdfd;
69
- --color-grey-10: #f9f9f9;
66
+ --color-grey-10: #fdfdfd;
67
+ --color-grey-15: #e5e7eb;
70
68
  --color-grey-20: #f1f1f1;
71
69
  --color-grey-30: #ececed;
72
70
  --color-grey-40: #e6e6e6;
@@ -7,7 +7,6 @@ export interface CustomInputProps {
7
7
  label?: string;
8
8
  disabled?: boolean;
9
9
  errExists?: boolean;
10
- errorMsg?: string;
11
10
  placeholder: string;
12
11
  leftIcon?: any;
13
12
  rightIcon?: any;
@@ -20,7 +19,6 @@ export interface InputContext {
20
19
  placeholder: string;
21
20
  disabled: boolean;
22
21
  errExists: boolean;
23
- errorMsg?: string;
24
22
  style?: CSSProperties;
25
23
  leftIcon?: any;
26
24
  rightIcon?: any;
@@ -0,0 +1,2 @@
1
+ import { IconButtonProps } from '@mui/material';
2
+ export declare const IconButtonCustom: ({ size, children, sx, ...rest }: IconButtonProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ export declare const StyledIconButton: import('@emotion/styled').StyledComponent<import('@mui/material').IconButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
2
+ ref?: ((instance: HTMLButtonElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLButtonElement> | null | undefined;
3
+ }, "disabled" | "size" | "className" | "style" | "classes" | "color" | "children" | "sx" | "tabIndex" | "action" | "loading" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "loadingIndicator"> & {
4
+ theme?: import('@emotion/react').Theme;
5
+ } & {
6
+ component?: import('react').ElementType;
7
+ }, {}, {}>;
@@ -0,0 +1,8 @@
1
+ export * from './iconButton/IconButton';
2
+ export * from './tabs/Tabs';
3
+ export * from './tag/Tag';
4
+ export * from './popper/Popper';
5
+ export * from './tooltip/Tooltip';
6
+ export * from './text/Text';
7
+ export * from './menu/Menu';
8
+ export * from './loading/LinearProgressBar';
@@ -0,0 +1 @@
1
+ export declare const LinearProgressBar: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,11 @@
1
+ interface MenuProps {
2
+ items: {
3
+ title: React.ReactNode | string;
4
+ action: (e: any) => void;
5
+ disabled?: boolean;
6
+ }[];
7
+ handleClose: () => void;
8
+ anchorEl: HTMLElement | null;
9
+ }
10
+ export declare function CustomMenu({ items, anchorEl, handleClose }: MenuProps): import("react/jsx-runtime").JSX.Element;
11
+ export {};
@@ -0,0 +1,8 @@
1
+ export declare const StyledMenu: import('@emotion/styled').StyledComponent<import('@mui/material').MenuProps & {
2
+ theme?: import('@emotion/react').Theme;
3
+ }, {}, {}>;
4
+ export declare const StyledMenuItem: import('@emotion/styled').StyledComponent<import('@mui/material').MenuItemOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
5
+ ref?: ((instance: HTMLLIElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLLIElement> | null | undefined;
6
+ }, "disabled" | "className" | "style" | "classes" | "children" | "sx" | "autoFocus" | "tabIndex" | "action" | "selected" | "dense" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableGutters" | "divider"> & {
7
+ theme?: import('@emotion/react').Theme;
8
+ }, {}, {}>;
@@ -0,0 +1,8 @@
1
+ import { ReactNode } from 'react';
2
+ import { PopperProps } from '@mui/material';
3
+ interface PopperCustomProps {
4
+ children: ReactNode;
5
+ handleClose: () => void;
6
+ }
7
+ export declare function Popper({ children, handleClose, ...rest }: PopperCustomProps & PopperProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,3 @@
1
+ export declare const StyledPopper: import('@emotion/styled').StyledComponent<import('@mui/material').PopperProps & import('react').RefAttributes<HTMLDivElement> & {
2
+ theme?: import('@emotion/react').Theme;
3
+ }, {}, {}>;
@@ -0,0 +1,10 @@
1
+ import { TabsProps as MUITabsprops } from '@mui/material';
2
+ interface TabsProps extends MUITabsprops {
3
+ tabs: {
4
+ label: string;
5
+ value: string;
6
+ count?: number;
7
+ }[];
8
+ }
9
+ export declare function Tabs({ value, onChange, tabs }: TabsProps): import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1,20 @@
1
+ export declare const StyledTabs: import('@emotion/styled').StyledComponent<import('@mui/material').TabsOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
2
+ ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
3
+ }, "className" | "style" | "classes" | "children" | "sx" | "variant" | "aria-label" | "aria-labelledby" | "onChange" | "orientation" | "value" | "action" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "visibleScrollbar" | "slots" | "slotProps"> & {
4
+ theme?: import('@emotion/react').Theme;
5
+ }, {}, {}>;
6
+ export declare const StyledTab: import('@emotion/styled').StyledComponent<import('@mui/material').TabOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
7
+ ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
8
+ }, "disabled" | "className" | "style" | "classes" | "children" | "sx" | "label" | "tabIndex" | "value" | "action" | "icon" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "iconPosition" | "wrapped"> & {
9
+ theme?: import('@emotion/react').Theme;
10
+ }, {}, {}>;
11
+ export declare const StyledTabLabel: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
12
+ ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
13
+ }, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & {
14
+ theme?: import('@emotion/react').Theme;
15
+ }, {}, {}>;
16
+ export declare const StyledTabLabelCount: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
17
+ ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
18
+ }, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & {
19
+ theme?: import('@emotion/react').Theme;
20
+ }, {}, {}>;
@@ -0,0 +1,11 @@
1
+ import { ReactNode } from 'react';
2
+ export type TagType = "default" | "primary" | "secondary" | "success" | "executions";
3
+ interface TagProps {
4
+ title: string;
5
+ icon?: ReactNode;
6
+ type?: TagType;
7
+ color?: string;
8
+ bgcolor?: string;
9
+ }
10
+ export declare function Tag({ title, icon, bgcolor, color, type }: TagProps): import("react/jsx-runtime").JSX.Element;
11
+ export {};
@@ -0,0 +1,9 @@
1
+ import { TagType } from './Tag';
2
+ export declare const StyledTagWrap: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
+ ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
4
+ }, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & {
5
+ theme?: import('@emotion/react').Theme;
6
+ } & {
7
+ type: TagType;
8
+ bgcolor?: string;
9
+ }, {}, {}>;
@@ -0,0 +1,10 @@
1
+ import { ReactNode } from 'react';
2
+ import { TypographyProps } from '@mui/material';
3
+ type size = "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | "heading" | "headingXL";
4
+ type weight = "medium" | "semi" | "bold" | "extra";
5
+ export declare function CustomText({ value, size, weight, ...rest }: {
6
+ value: string | number | ReactNode;
7
+ size?: size;
8
+ weight?: weight;
9
+ } & TypographyProps): import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1,6 @@
1
+ import { TooltipProps } from '@mui/material';
2
+ interface CustomProps {
3
+ textId?: string;
4
+ }
5
+ export declare function Tooltip(props: TooltipProps & CustomProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1 @@
1
+ export declare const StyledTooltip: import('@emotion/styled').StyledComponent<any, {}, {}>;
@@ -0,0 +1 @@
1
+ export default function useTooltipWidthSize(callback: () => void): void;
package/dist/index.d.ts CHANGED
@@ -6,4 +6,5 @@ export { default as TypographyCustom } from './components/Typography/Typography'
6
6
  export { default as CustomToggleSwitch } from './components/CustomToggler/CustomToggler';
7
7
  export { CustomTextArea } from './components/CustomInput/CustomInput';
8
8
  export { default as Transitioner } from './components/Transitioner/Transitioner';
9
+ export * from './components/core';
9
10
  export { textShortner, isTextLarge } from './functionalities/text-shortner';