@pautena/react-design-system 0.19.0 → 0.20.1
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-header.d.ts +2 -2
- package/dist/action/action.d.ts +4 -4
- package/dist/autocomplete/autocomplete.d.ts +2 -2
- package/dist/board/board.d.ts +1 -1
- package/dist/center-container/center-container.d.ts +1 -1
- package/dist/content/content.types.d.ts +1 -1
- package/dist/content-placeholder/content-placeholder.d.ts +1 -1
- package/dist/date-range-calendar/date-range-calendar.d.ts +1 -1
- package/dist/dialog/index.d.ts +1 -1
- package/dist/drawerx/drawer/drawer.mock.d.ts +1 -1
- package/dist/drawerx/drawer-context/drawer-mixins.d.ts +1 -1
- package/dist/drawerx/drawer-context/drawer.provider.d.ts +1 -1
- package/dist/drawerx/drawer-item/drawer-item-link.d.ts +1 -1
- package/dist/drawerx/drawer-item/index.d.ts +1 -1
- package/dist/drawerx/drawer-layout/drawer-layout.d.ts +3 -3
- package/dist/drawerx/drawer.types.d.ts +2 -2
- package/dist/drawerx/index.d.ts +4 -4
- package/dist/enhanced-table/enhanced-table.d.ts +0 -9
- package/dist/header/header.dummy.d.ts +1 -1
- package/dist/header-layout/header-layout.d.ts +3 -3
- package/dist/index.cjs.js +114 -118
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +35 -35
- package/dist/index.es.js +31781 -30868
- package/dist/index.es.js.map +1 -1
- package/dist/model-form/model-form.d.ts +1 -1
- package/dist/notification-center/index.d.ts +1 -1
- package/dist/placeholder/placeholder.d.ts +1 -1
- package/dist/select/select.d.ts +1 -1
- package/dist/skeleton-card/skeleton-card.d.ts +1 -1
- package/dist/tab-card/tab-card-panel.d.ts +1 -1
- package/dist/tab-card/tab-card.dummy.d.ts +1 -1
- package/dist/tab-provider/tab-provider.provider.d.ts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/value-base/index.d.ts +1 -1
- package/dist/value-base/value-edit.d.ts +1 -1
- package/dist/value-image/value-image.d.ts +1 -1
- package/dist/value-item/value-item.d.ts +1 -1
- package/dist/value-label/value-label.d.ts +1 -1
- package/package.json +39 -59
|
@@ -10,7 +10,7 @@ export interface PlaceholderIconArgs {
|
|
|
10
10
|
size: number;
|
|
11
11
|
color: IconColor;
|
|
12
12
|
}
|
|
13
|
-
export type PlaceholderIcon = ({ size, color }: PlaceholderIconArgs) => ReactElement;
|
|
13
|
+
export type PlaceholderIcon = ({ size, color, }: PlaceholderIconArgs) => ReactElement;
|
|
14
14
|
export interface PlaceholderProps {
|
|
15
15
|
title: string;
|
|
16
16
|
subtitle: string;
|
package/dist/select/select.d.ts
CHANGED
|
@@ -14,4 +14,4 @@ export interface SkeletonCardProps {
|
|
|
14
14
|
/**
|
|
15
15
|
* SkeletonCard component renders a skeleton loading placeholder for a card.
|
|
16
16
|
*/
|
|
17
|
-
export declare const SkeletonCard: ({ width, animation }: SkeletonCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export declare const SkeletonCard: ({ width, animation, }: SkeletonCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -11,4 +11,4 @@ export interface TabCardDummyProps {
|
|
|
11
11
|
initialTab: number;
|
|
12
12
|
onChangeTab: (tab: TabData, index: number) => void;
|
|
13
13
|
}
|
|
14
|
-
export declare function TabCardDummy({ tabs, initialTab, onChangeTab }: TabCardDummyProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare function TabCardDummy({ tabs, initialTab, onChangeTab, }: TabCardDummyProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,5 +2,5 @@ import { PropsWithChildren } from 'react';
|
|
|
2
2
|
type TabProviderProps = PropsWithChildren<{
|
|
3
3
|
initialValue?: number;
|
|
4
4
|
}>;
|
|
5
|
-
export declare const TabProvider: ({ children, initialValue }: TabProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare const TabProvider: ({ children, initialValue, }: TabProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export {};
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export interface ValueEditButtonsProps {
|
|
|
4
4
|
onClickSubmit: () => void;
|
|
5
5
|
sx?: SxProps<Theme>;
|
|
6
6
|
}
|
|
7
|
-
export declare const ValueEditButtons: ({ onClickCancel, onClickSubmit, sx }: ValueEditButtonsProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const ValueEditButtons: ({ onClickCancel, onClickSubmit, sx, }: ValueEditButtonsProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
/**
|
|
9
9
|
* Hook to manage the editing behaviour
|
|
10
10
|
*/
|
|
@@ -8,4 +8,4 @@ export interface ValueImageProps extends BaseValueProps<string> {
|
|
|
8
8
|
/**
|
|
9
9
|
* Displays a image value with a label
|
|
10
10
|
*/
|
|
11
|
-
export declare const ValueImage: ({ label, value, size: sizeArg, dense }: ValueImageProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const ValueImage: ({ label, value, size: sizeArg, dense, }: ValueImageProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GridProps } from '@mui/material/Grid';
|
|
2
2
|
import { ResponsiveStyleValue } from '@mui/system';
|
|
3
|
-
import {
|
|
3
|
+
import { FunctionComponent, PropsWithChildren, ReactElement } from 'react';
|
|
4
4
|
export type ValueItemProps = PropsWithChildren<Omit<GridProps, "item" | "container"> & {
|
|
5
5
|
bordered?: ResponsiveStyleValue<boolean>;
|
|
6
6
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseValueProps } from '../value-base';
|
|
2
1
|
import { LabelVariant } from '../label';
|
|
2
|
+
import { BaseValueProps } from '../value-base';
|
|
3
3
|
export type ValueLabelProps = BaseValueProps<string | number | string[] | number[]> & {
|
|
4
4
|
variant?: LabelVariant | LabelVariant[];
|
|
5
5
|
color?: string | string[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pautena/react-design-system",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.1",
|
|
4
4
|
"description": "My custom design system on top of MUI",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -17,14 +17,9 @@
|
|
|
17
17
|
"storybook": "storybook dev -p 6006",
|
|
18
18
|
"storybook:build": "storybook build",
|
|
19
19
|
"storybook:deploy": "gh-pages -d storybook-static",
|
|
20
|
-
"lint": "
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"format": "npm-run-all format:*",
|
|
24
|
-
"format:js": "prettier --write \"**/*.js\"",
|
|
25
|
-
"format:json": "prettier --write \"**/*.json\"",
|
|
26
|
-
"format:md": "prettier --write \"**/*.md{,x}\"",
|
|
27
|
-
"format:ts": "prettier --write \"**/*.ts{,x}\""
|
|
20
|
+
"lint": "biome check --write --unsafe --no-errors-on-unmatched --files-ignore-unknown=true ./",
|
|
21
|
+
"check": "biome check ./",
|
|
22
|
+
"check:ts": "tsc -p ."
|
|
28
23
|
},
|
|
29
24
|
"keywords": [
|
|
30
25
|
"mui",
|
|
@@ -35,67 +30,52 @@
|
|
|
35
30
|
"license": "MIT",
|
|
36
31
|
"dependencies": {
|
|
37
32
|
"@emotion/react": "^11.14.0",
|
|
38
|
-
"@emotion/styled": "^11.14.
|
|
33
|
+
"@emotion/styled": "^11.14.1",
|
|
39
34
|
"@emotion/utils": "^1.4.2",
|
|
40
|
-
"@mui/icons-material": "^
|
|
41
|
-
"@mui/material": "^
|
|
42
|
-
"@mui/system": "^
|
|
43
|
-
"@mui/x-data-grid": "^
|
|
44
|
-
"@mui/x-date-pickers": "^
|
|
35
|
+
"@mui/icons-material": "^7.3.4",
|
|
36
|
+
"@mui/material": "^7.3.4",
|
|
37
|
+
"@mui/system": "^7.3.3",
|
|
38
|
+
"@mui/x-data-grid": "^8.14.0",
|
|
39
|
+
"@mui/x-date-pickers": "^8.14.0",
|
|
45
40
|
"date-fns": "^4.1.0",
|
|
46
|
-
"react": "^19.
|
|
47
|
-
"react-dom": "^19.
|
|
41
|
+
"react": "^19.2.0",
|
|
42
|
+
"react-dom": "^19.2.0"
|
|
48
43
|
},
|
|
49
44
|
"devDependencies": {
|
|
50
|
-
"@babel/core": "^7.
|
|
51
|
-
"@babel/preset-env": "^7.
|
|
52
|
-
"@babel/preset-react": "^7.
|
|
53
|
-
"@babel/preset-typescript": "^7.
|
|
54
|
-
"@
|
|
55
|
-
"@
|
|
56
|
-
"@
|
|
57
|
-
"@
|
|
58
|
-
"@
|
|
59
|
-
"@storybook/addon-
|
|
60
|
-
"@storybook/addon-
|
|
61
|
-
"@storybook/
|
|
62
|
-
"@storybook/
|
|
63
|
-
"@
|
|
64
|
-
"@
|
|
65
|
-
"@
|
|
66
|
-
"@storybook/react": "^8.6.4",
|
|
67
|
-
"@storybook/react-vite": "^8.6.4",
|
|
68
|
-
"@storybook/test": "^8.6.4",
|
|
69
|
-
"@testing-library/jest-dom": "^6.6.3",
|
|
70
|
-
"@testing-library/react": "^16.2.0",
|
|
45
|
+
"@babel/core": "^7.28.4",
|
|
46
|
+
"@babel/preset-env": "^7.28.3",
|
|
47
|
+
"@babel/preset-react": "^7.27.1",
|
|
48
|
+
"@babel/preset-typescript": "^7.27.1",
|
|
49
|
+
"@biomejs/biome": "2.2.6",
|
|
50
|
+
"@faker-js/faker": "^10.1.0",
|
|
51
|
+
"@mui/x-data-grid-generator": "^8.14.0",
|
|
52
|
+
"@storybook/addon-docs": "^9.1.10",
|
|
53
|
+
"@storybook/addon-links": "^9.1.10",
|
|
54
|
+
"@storybook/addon-onboarding": "^9.1.10",
|
|
55
|
+
"@storybook/addon-themes": "^9.1.10",
|
|
56
|
+
"@storybook/react": "^9.1.10",
|
|
57
|
+
"@storybook/react-vite": "^9.1.10",
|
|
58
|
+
"@testing-library/dom": "^10.4.1",
|
|
59
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
60
|
+
"@testing-library/react": "^16.3.0",
|
|
71
61
|
"@testing-library/user-event": "^14.6.1",
|
|
72
|
-
"@types/ramda": "^0.
|
|
73
|
-
"@types/react": "^19.
|
|
74
|
-
"@typescript-eslint/eslint-plugin": "^8.24.1",
|
|
75
|
-
"@typescript-eslint/parser": "^8.24.1",
|
|
62
|
+
"@types/ramda": "^0.31.1",
|
|
63
|
+
"@types/react": "^19.2.2",
|
|
76
64
|
"babel-loader": "^10.0.0",
|
|
77
65
|
"babel-plugin-module-resolver": "^5.0.2",
|
|
78
|
-
"eslint": "^9.21.0",
|
|
79
|
-
"eslint-config-prettier": "^10.0.1",
|
|
80
|
-
"eslint-plugin-prettier": "^5.2.3",
|
|
81
|
-
"eslint-plugin-react": "^7.37.4",
|
|
82
|
-
"eslint-plugin-storybook": "^0.11.3",
|
|
83
66
|
"gh-pages": "^6.3.0",
|
|
84
|
-
"globals": "^16.
|
|
85
|
-
"history": "^5.3.0",
|
|
67
|
+
"globals": "^16.4.0",
|
|
86
68
|
"husky": "^9.1.7",
|
|
87
|
-
"jsdom": "^
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"react-test-renderer": "^19.0.0",
|
|
92
|
-
"storybook": "^8.6.0",
|
|
69
|
+
"jsdom": "^27.0.0",
|
|
70
|
+
"ramda": "^0.32.0",
|
|
71
|
+
"react-test-renderer": "^19.2.0",
|
|
72
|
+
"storybook": "^9.1.10",
|
|
93
73
|
"tslib": "^2.8.1",
|
|
94
|
-
"typescript": "^5.
|
|
95
|
-
"vite": "^
|
|
96
|
-
"vite-plugin-dts": "^4.5.
|
|
74
|
+
"typescript": "^5.9.3",
|
|
75
|
+
"vite": "^7.1.10",
|
|
76
|
+
"vite-plugin-dts": "^4.5.4",
|
|
97
77
|
"vite-tsconfig-paths": "^5.1.4",
|
|
98
|
-
"vitest": "^3.
|
|
78
|
+
"vitest": "^3.2.4"
|
|
99
79
|
},
|
|
100
80
|
"peerDependencies": {
|
|
101
81
|
"@emotion/react": "^11.0.0",
|