@pautena/react-design-system 0.20.0 → 0.20.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/dist/action/action.d.ts +4 -4
- package/dist/dialog/index.d.ts +1 -1
- package/dist/drawerx/drawer-context/drawer.provider.d.ts +1 -1
- package/dist/drawerx/drawer-item/index.d.ts +1 -1
- package/dist/drawerx/drawer-layout/drawer-layout.d.ts +1 -1
- package/dist/drawerx/index.d.ts +4 -4
- package/dist/enhanced-table/enhanced-table.d.ts +0 -9
- package/dist/index.cjs.js +103 -159
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +35 -35
- package/dist/index.es.js +29999 -29730
- package/dist/index.es.js.map +1 -1
- package/dist/markdown/markdown.d.ts +6 -6
- package/dist/notification-center/index.d.ts +1 -1
- package/dist/select/select.d.ts +3 -3
- package/dist/utils/index.d.ts +1 -1
- package/dist/value-base/index.d.ts +1 -1
- package/package.json +45 -39
package/dist/action/action.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TypographyProps } from '@mui/material/Typography';
|
|
2
2
|
import { ReactElement } from 'react';
|
|
3
3
|
export type ActionVariant = "primary" | "error" | "warning" | "success";
|
|
4
4
|
export interface ActionProps {
|
|
@@ -13,7 +13,7 @@ export interface ActionProps {
|
|
|
13
13
|
/**
|
|
14
14
|
* The variant of the title.
|
|
15
15
|
*/
|
|
16
|
-
titleVariant?: Extract<
|
|
16
|
+
titleVariant?: Extract<TypographyProps["variant"], "h4" | "h5" | "h6">;
|
|
17
17
|
/**
|
|
18
18
|
* The description of the action.
|
|
19
19
|
*/
|
|
@@ -21,7 +21,7 @@ export interface ActionProps {
|
|
|
21
21
|
/**
|
|
22
22
|
* The variant of the description.
|
|
23
23
|
*/
|
|
24
|
-
descriptionVariant?:
|
|
24
|
+
descriptionVariant?: TypographyProps["variant"];
|
|
25
25
|
/**
|
|
26
26
|
* The helper text for the action.
|
|
27
27
|
*/
|
|
@@ -29,7 +29,7 @@ export interface ActionProps {
|
|
|
29
29
|
/**
|
|
30
30
|
* The variant of the helper text.
|
|
31
31
|
*/
|
|
32
|
-
helperTextVariant?:
|
|
32
|
+
helperTextVariant?: TypographyProps["variant"];
|
|
33
33
|
/**
|
|
34
34
|
* The text for the action button.
|
|
35
35
|
*/
|
package/dist/dialog/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PropsWithChildren, ElementType } from 'react';
|
|
2
2
|
import { DrawerSize, DrawerState, DrawerVariant } from '../drawer.types';
|
|
3
3
|
export type DrawerProviderProps = PropsWithChildren<{
|
|
4
4
|
initialState?: DrawerState;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { JSXElementConstructor } from 'react';
|
|
2
|
+
import { DrawerContentProps, DrawerNavigation, DrawerProps } from '../drawer.types';
|
|
2
3
|
import { DrawerAppBarProps } from '../drawer-app-bar';
|
|
3
4
|
import { DrawerProviderProps } from '../drawer-context';
|
|
4
|
-
import { DrawerContentProps, DrawerNavigation, DrawerProps } from '../drawer.types';
|
|
5
5
|
/**
|
|
6
6
|
* Interface representing the slots for the DrawerLayout component.
|
|
7
7
|
*/
|
package/dist/drawerx/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from './drawer-subheader';
|
|
2
1
|
export * from './drawer';
|
|
3
|
-
export * from './drawer
|
|
4
|
-
export * from './drawer-content';
|
|
2
|
+
export * from './drawer.types';
|
|
5
3
|
export * from './drawer-app-bar';
|
|
4
|
+
export * from './drawer-content';
|
|
5
|
+
export * from './drawer-context';
|
|
6
6
|
export * from './drawer-main';
|
|
7
|
-
export * from './drawer
|
|
7
|
+
export * from './drawer-subheader';
|
|
@@ -35,15 +35,6 @@ interface EnhancedTableProps<T> {
|
|
|
35
35
|
*/
|
|
36
36
|
children: (data: T[]) => ReactNode;
|
|
37
37
|
}
|
|
38
|
-
interface EnhancedTableProps<T> {
|
|
39
|
-
readonly data: T[];
|
|
40
|
-
search?: boolean;
|
|
41
|
-
defaultSort: keyof T;
|
|
42
|
-
defaultOrder?: Order;
|
|
43
|
-
loading?: boolean;
|
|
44
|
-
columns: HeadCell<T>[];
|
|
45
|
-
children: (data: T[]) => ReactNode;
|
|
46
|
-
}
|
|
47
38
|
/**
|
|
48
39
|
* EnhancedTable component provides a table with sorting, filtering, and loading states.
|
|
49
40
|
*/
|