sevago-library 1.4.0 → 1.4.2
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/CHANGELOG.md +12 -0
- package/dist/index.cjs.js +930 -481
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +901 -452
- package/dist/index.esm.js.map +1 -1
- package/dist/sevago-library.css +106 -106
- package/dist/src/App.d.ts +1 -1
- package/dist/src/components/dropdown-field/dropdown-field.component.d.ts +1 -1
- package/dist/src/components/elements/avatar/avatar-online-status/avatar-online-status.element.d.ts +1 -1
- package/dist/src/components/elements/table/part/table-row.part.d.ts +2 -1
- package/dist/src/components/elements/tabs/tabs.component.d.ts +1 -1
- package/dist/src/components/elements/text-field/text-highlight/text-highlight.element.d.ts +1 -1
- package/dist/src/components/providers/sevago.provider.d.ts +1 -1
- package/dist/src/components/search-dropdown/search-dropdown.component.d.ts +1 -1
- package/package.json +2 -2
package/dist/src/App.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function App(): import("react
|
|
1
|
+
export default function App(): import("react").JSX.Element;
|
|
@@ -25,5 +25,5 @@ interface SelectFieldProps {
|
|
|
25
25
|
sx?: SxProps<Theme>;
|
|
26
26
|
labelSx?: SxProps<Theme>;
|
|
27
27
|
}
|
|
28
|
-
declare const DropdownFieldComponent: ({ label, placeholder, value, disabled, error, success, errorMessage, successMessage, borderRadius, onChange, helperText, options, checkIconColor, required, sx, labelSx, }: SelectFieldProps) => import("react
|
|
28
|
+
declare const DropdownFieldComponent: ({ label, placeholder, value, disabled, error, success, errorMessage, successMessage, borderRadius, onChange, helperText, options, checkIconColor, required, sx, labelSx, }: SelectFieldProps) => import("react").JSX.Element;
|
|
29
29
|
export { DropdownFieldComponent };
|
package/dist/src/components/elements/avatar/avatar-online-status/avatar-online-status.element.d.ts
CHANGED
|
@@ -7,6 +7,6 @@ export interface AvatarOnlineStatusElementProps {
|
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
}
|
|
9
9
|
export declare const OnlineBadge: import('@emotion/styled').StyledComponent<import('@mui/material').BadgeOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "components" | "style" | "color" | "className" | "classes" | "children" | "sx" | "variant" | "slots" | "slotProps" | "componentsProps" | "max" | "invisible" | "anchorOrigin" | "badgeContent" | "overlap" | "showZero"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
|
|
10
|
-
component?: React.ElementType;
|
|
10
|
+
component?: React.ElementType | undefined;
|
|
11
11
|
}, {}, {}>;
|
|
12
12
|
export declare const AvatarOnlineStatusElement: React.FC<AvatarOnlineStatusElementProps>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SxProps, Theme } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
2
3
|
import { Column, OnClickRow, OnDisabled } from '../table.interface';
|
|
3
4
|
export interface TableRowPartProps<R> {
|
|
4
5
|
columns: Column<R>[];
|
|
@@ -16,4 +17,4 @@ export interface TableRowPartProps<R> {
|
|
|
16
17
|
enableTree?: boolean;
|
|
17
18
|
rowLevels?: Record<string, number>;
|
|
18
19
|
}
|
|
19
|
-
export declare function TableRowPart<R>({ columns, row, indexRow, indexLoadingRow, rowSx, getRowId, onClickRow, onDisabled, onClickSelectRow, onSelectRowById, enableTree, rowLevels, }: TableRowPartProps<R>):
|
|
20
|
+
export declare function TableRowPart<R>({ columns, row, indexRow, indexLoadingRow, rowSx, getRowId, onClickRow, onDisabled, onClickSelectRow, onSelectRowById, enableTree, rowLevels, }: TableRowPartProps<R>): React.JSX.Element;
|
|
@@ -22,7 +22,7 @@ export interface TabsMotionBaseProps<T extends TabsMotionItemBase> {
|
|
|
22
22
|
isDivider?: boolean;
|
|
23
23
|
renderContent: (tab: T) => React.ReactNode;
|
|
24
24
|
}
|
|
25
|
-
export declare function TabsMotionBase<T extends TabsMotionItemBase>({ tabs, selectedId, onSelectId, direction, sx, stackTabsSx, isSelectable, isDivider, renderContent, }: TabsMotionBaseProps<T>):
|
|
25
|
+
export declare function TabsMotionBase<T extends TabsMotionItemBase>({ tabs, selectedId, onSelectId, direction, sx, stackTabsSx, isSelectable, isDivider, renderContent, }: TabsMotionBaseProps<T>): React.JSX.Element;
|
|
26
26
|
export interface TabComponent {
|
|
27
27
|
id: string;
|
|
28
28
|
icon?: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
export declare const highlightText: (text: string, searchTerm: string) => React.ReactNode;
|
|
3
|
-
export declare const highlightYellow: (text: string | React.ReactNode, highlightQuery: string, showEmptyAsDots: boolean) => string | number | bigint | true | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> |
|
|
3
|
+
export declare const highlightYellow: (text: string | React.ReactNode, highlightQuery: string, showEmptyAsDots: boolean) => string | number | bigint | true | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | React.JSX.Element;
|
|
@@ -2,4 +2,4 @@ import { default as React } from 'react';
|
|
|
2
2
|
export interface SevagoProviderProps {
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
}
|
|
5
|
-
export declare function SevagoProvider({ children }: SevagoProviderProps):
|
|
5
|
+
export declare function SevagoProvider({ children }: SevagoProviderProps): React.JSX.Element;
|
|
@@ -28,5 +28,5 @@ interface SearchDropdownProps {
|
|
|
28
28
|
required?: boolean;
|
|
29
29
|
sx?: SxProps<Theme>;
|
|
30
30
|
}
|
|
31
|
-
export declare const SearchDropdownComponent: ({ value, onChange, onClear, onInputChange, onSearch, borderRadius, disabled, multiple, limitTags, label, placeholder, error, errorMessage, success, successMessage, helperText, options, loading, iconBefore, required, sx, }: SearchDropdownProps) => import("react
|
|
31
|
+
export declare const SearchDropdownComponent: ({ value, onChange, onClear, onInputChange, onSearch, borderRadius, disabled, multiple, limitTags, label, placeholder, error, errorMessage, success, successMessage, helperText, options, loading, iconBefore, required, sx, }: SearchDropdownProps) => import("react").JSX.Element;
|
|
32
32
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sevago-library",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2",
|
|
4
4
|
"description": "Sevago SSO Frontend Library - A comprehensive SSO solution with React components",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"chromatic": "chromatic --project-token=$CHROMATIC_PROJECT_TOKEN --exit-zero-on-changes --only-changed",
|
|
27
27
|
"prepublishOnly": "npm run build:lib",
|
|
28
28
|
"format": "prettier --write src/**/*.{js,jsx,ts,tsx,json,css,md}",
|
|
29
|
-
"
|
|
29
|
+
"change": "changeset",
|
|
30
30
|
"version": "changeset version",
|
|
31
31
|
"release": "changeset publish"
|
|
32
32
|
},
|