@zydon/common 2.7.70 → 2.7.71
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/{chunk-ACT4F7CZ.js → chunk-6FG5S5PI.js} +2 -2
- package/dist/{chunk-IDFJFFIV.js → chunk-7MVZYOHX.js} +2 -2
- package/dist/{chunk-FROTZAZP.js → chunk-QVUHCBI2.js} +2 -2
- package/dist/components/Avatar/index.d.ts +1 -1
- package/dist/components/BulkEditModal/index.js +1 -1
- package/dist/components/DataCards/index.js +1 -1
- package/dist/components/DataGrid/index.js +2 -2
- package/dist/components/DataView/index.js +4 -4
- package/dist/components/DynamicDataView/index.js +4 -4
- package/dist/components/FileUpload/index.js +2 -2
- package/dist/components/form/FileUpload/index.js +2 -2
- package/dist/hooks/useSnackbar.d.ts +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/theme/core/index.d.ts +1 -1
- package/dist/theme/styles/index.d.ts +13 -13
- package/package.json +1 -1
- package/dist/components/ConfigsHeader/index.d.ts +0 -16
- package/dist/components/ConfigsHeader/index.js +0 -17
- package/dist/components/ConfigsHeader/index.js.map +0 -1
- package/dist/{chunk-ACT4F7CZ.js.map → chunk-6FG5S5PI.js.map} +0 -0
- package/dist/{chunk-IDFJFFIV.js.map → chunk-7MVZYOHX.js.map} +0 -0
- package/dist/{chunk-FROTZAZP.js.map → chunk-QVUHCBI2.js.map} +0 -0
- package/dist/{index-c8f1e6e7.d.ts → index-5a5e5dc8.d.ts} +12 -12
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as a$5 } from './chunk-RPPQBAVO.js';
|
|
2
2
|
import { a as a$6 } from './chunk-IJZCVZ32.js';
|
|
3
|
-
import { a as a$9 } from './chunk-
|
|
3
|
+
import { a as a$9 } from './chunk-7MVZYOHX.js';
|
|
4
4
|
import { a as a$7 } from './chunk-6U5LS7MP.js';
|
|
5
5
|
import { a as a$4 } from './chunk-CO2KQFUN.js';
|
|
6
6
|
import { i, j, a as a$3, b as b$1, c, d, f, e, g, h } from './chunk-QVU6HSYP.js';
|
|
@@ -22,4 +22,4 @@ var C="datagrid-actions";var So=forwardRef(({children:a$1,...n},t)=>jsx(B,{...n,
|
|
|
22
22
|
|
|
23
23
|
export { no as a, it as b };
|
|
24
24
|
//# sourceMappingURL=out.js.map
|
|
25
|
-
//# sourceMappingURL=chunk-
|
|
25
|
+
//# sourceMappingURL=chunk-6FG5S5PI.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a } from './chunk-6U5LS7MP.js';
|
|
2
1
|
import { a as a$1 } from './chunk-BNBE2OMA.js';
|
|
2
|
+
import { a } from './chunk-6U5LS7MP.js';
|
|
3
3
|
import { a as a$2 } from './chunk-RBTYTONM.js';
|
|
4
4
|
import { useState } from 'react';
|
|
5
5
|
import { GRID_CHECKBOX_SELECTION_COL_DEF, DataGridPremium, GridToolbarContainer, GridToolbarColumnsButton, GridToolbarFilterButton, GridToolbarDensitySelector, GridToolbarExport } from '@mui/x-data-grid-premium';
|
|
@@ -10,4 +10,4 @@ var H=({showToolbar:i,disableExport:r,setFilterButtonEl:l,toolbarContent:n})=>{i
|
|
|
10
10
|
|
|
11
11
|
export { Z as a };
|
|
12
12
|
//# sourceMappingURL=out.js.map
|
|
13
|
-
//# sourceMappingURL=chunk-
|
|
13
|
+
//# sourceMappingURL=chunk-7MVZYOHX.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as a$5 } from './chunk-ZFRNMT3P.js';
|
|
2
|
+
import { a } from './chunk-LNXA53QR.js';
|
|
2
3
|
import { e } from './chunk-OF6623HG.js';
|
|
3
4
|
import { a as a$2 } from './chunk-N4DW7EIC.js';
|
|
4
|
-
import { a } from './chunk-LNXA53QR.js';
|
|
5
5
|
import { a as a$3 } from './chunk-45OMMG7D.js';
|
|
6
6
|
import { a as a$6 } from './chunk-6U5LS7MP.js';
|
|
7
7
|
import { a as a$4 } from './chunk-NQNNMRLC.js';
|
|
@@ -32,4 +32,4 @@ var Jo=({helperText:e,disabled:o,isError:r})=>e?jsx(Ko,{error:r,sx:n=>({mx:"14px
|
|
|
32
32
|
|
|
33
33
|
export { _ as a, ye as b, Ke as c, Je as d, _o as e, Do as f, ma as g, Be as h, Ee as i, Ea as j, Lo as k, So as l, To as m, Oo as n, q as o, Qe as p, We as q, V as r, Rt as s, Lt as t, Nt as u, Xt as v, oi as w, ni as x };
|
|
34
34
|
//# sourceMappingURL=out.js.map
|
|
35
|
-
//# sourceMappingURL=chunk-
|
|
35
|
+
//# sourceMappingURL=chunk-QVUHCBI2.js.map
|
|
@@ -11,7 +11,7 @@ interface ImageContainerProps {
|
|
|
11
11
|
|
|
12
12
|
declare const Avatar: react.ForwardRefExoticComponent<Omit<PropsWithChildren<ImageContainerProps & _mui_material_Avatar.AvatarOwnProps & _mui_material_Avatar.AvatarSlotsAndSlotProps & _mui_material_OverridableComponent.CommonProps & Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
13
13
|
ref?: ((instance: HTMLDivElement | null) => void) | react.RefObject<HTMLDivElement> | null | undefined;
|
|
14
|
-
}, "children" | "className" | "style" | "classes" | "sx" | "variant" | "slots" | "slotProps" | "
|
|
14
|
+
}, "children" | "className" | "style" | "classes" | "sx" | "variant" | "slots" | "slotProps" | "sizes" | "alt" | "src" | "srcSet" | "imgProps"> & {
|
|
15
15
|
component?: react.ElementType<any, keyof react.JSX.IntrinsicElements> | undefined;
|
|
16
16
|
}>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
17
17
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a } from '../../chunk-JZ55NEMI.js';
|
|
2
2
|
import { j as j$1 } from '../../chunk-QVU6HSYP.js';
|
|
3
|
-
import '../../chunk-UVPQR2Q2.js';
|
|
4
3
|
import { a as a$3 } from '../../chunk-IN7SP2ND.js';
|
|
4
|
+
import '../../chunk-UVPQR2Q2.js';
|
|
5
5
|
import { a as a$1 } from '../../chunk-RBTYTONM.js';
|
|
6
6
|
import '../../chunk-LY3IB5VH.js';
|
|
7
7
|
import { a as a$2 } from '../../chunk-NQNNMRLC.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c } from '../../chunk-FG2BVR7Y.js';
|
|
2
2
|
import { a } from '../../chunk-X2NG6VDB.js';
|
|
3
|
-
import { a as a$1 } from '../../chunk-6U5LS7MP.js';
|
|
4
3
|
import { a as a$2 } from '../../chunk-BNBE2OMA.js';
|
|
5
4
|
import '../../chunk-NIQW2J3M.js';
|
|
5
|
+
import { a as a$1 } from '../../chunk-6U5LS7MP.js';
|
|
6
6
|
import '../../chunk-GLRLKFPS.js';
|
|
7
7
|
import ct from '@mui/material/Pagination';
|
|
8
8
|
import g from '@mui/material/Stack';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { a as default } from '../../chunk-
|
|
2
|
-
import '../../chunk-6U5LS7MP.js';
|
|
1
|
+
export { a as default } from '../../chunk-7MVZYOHX.js';
|
|
3
2
|
import '../../chunk-BNBE2OMA.js';
|
|
4
3
|
import '../../chunk-NIQW2J3M.js';
|
|
4
|
+
import '../../chunk-6U5LS7MP.js';
|
|
5
5
|
import '../../chunk-RBTYTONM.js';
|
|
6
6
|
import '../../chunk-GLRLKFPS.js';
|
|
7
7
|
//# sourceMappingURL=out.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { a as Toolbar, b as default } from '../../chunk-
|
|
1
|
+
export { a as Toolbar, b as default } from '../../chunk-6FG5S5PI.js';
|
|
2
2
|
import '../../chunk-RPPQBAVO.js';
|
|
3
3
|
import '../../chunk-IJZCVZ32.js';
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-6U5LS7MP.js';
|
|
4
|
+
import '../../chunk-7MVZYOHX.js';
|
|
6
5
|
import '../../chunk-BNBE2OMA.js';
|
|
7
6
|
import '../../chunk-NIQW2J3M.js';
|
|
7
|
+
import '../../chunk-6U5LS7MP.js';
|
|
8
8
|
import '../../chunk-CO2KQFUN.js';
|
|
9
9
|
export { c as ActionsContainer, d as ActionsDivider, a as Container, i as DesktopPaginationContainer, b as Header, h as MobilePaginationContainer, g as SearchContainer, e as ToolbarActionsDivider, f as Topbar } from '../../chunk-QVU6HSYP.js';
|
|
10
|
-
import '../../chunk-UVPQR2Q2.js';
|
|
11
10
|
import '../../chunk-IN7SP2ND.js';
|
|
11
|
+
import '../../chunk-UVPQR2Q2.js';
|
|
12
12
|
import '../../chunk-RBTYTONM.js';
|
|
13
13
|
import '../../chunk-NQNNMRLC.js';
|
|
14
14
|
import '../../chunk-CIGSMWKF.js';
|
|
@@ -3,17 +3,17 @@ import { a } from '../../chunk-FK4XGRYF.js';
|
|
|
3
3
|
import { h, a as a$3 } from '../../chunk-OF6623HG.js';
|
|
4
4
|
import { a as a$2 } from '../../chunk-ZGSSTXUO.js';
|
|
5
5
|
import '../../chunk-45OMMG7D.js';
|
|
6
|
-
import { b } from '../../chunk-
|
|
6
|
+
import { b } from '../../chunk-6FG5S5PI.js';
|
|
7
7
|
import '../../chunk-RPPQBAVO.js';
|
|
8
8
|
import '../../chunk-IJZCVZ32.js';
|
|
9
|
-
import '../../chunk-
|
|
10
|
-
import '../../chunk-6U5LS7MP.js';
|
|
9
|
+
import '../../chunk-7MVZYOHX.js';
|
|
11
10
|
import '../../chunk-BNBE2OMA.js';
|
|
12
11
|
import '../../chunk-NIQW2J3M.js';
|
|
12
|
+
import '../../chunk-6U5LS7MP.js';
|
|
13
13
|
import '../../chunk-CO2KQFUN.js';
|
|
14
14
|
import '../../chunk-QVU6HSYP.js';
|
|
15
|
-
import '../../chunk-UVPQR2Q2.js';
|
|
16
15
|
import '../../chunk-IN7SP2ND.js';
|
|
16
|
+
import '../../chunk-UVPQR2Q2.js';
|
|
17
17
|
import '../../chunk-RBTYTONM.js';
|
|
18
18
|
import { a as a$1 } from '../../chunk-NQNNMRLC.js';
|
|
19
19
|
import '../../chunk-CIGSMWKF.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { p as ContentType, q as FileContentType, i as FileThumbnail, a as HelperText, b as MultiFilePreview, s as MultipleFileUpload, t as MultipleImageUpload, c as SingleFilePreview, u as SingleFileUpload, v as SingleImageUpload, w as UploadAvatar, x as UploadSimpleBox, l as compressImageWithoutCrop, k as convertToWebP, n as encodeFilenameForHeader, d as fileFormat, g as fileNameByUrl, e as fileThumb, h as fileThumbnailClasses, f as fileTypeByUrl, m as getFileNameFromContentDisposition, j as isImageFile, o as useDropzoneUploader, r as useFileUploadService } from '../../chunk-
|
|
1
|
+
export { p as ContentType, q as FileContentType, i as FileThumbnail, a as HelperText, b as MultiFilePreview, s as MultipleFileUpload, t as MultipleImageUpload, c as SingleFilePreview, u as SingleFileUpload, v as SingleImageUpload, w as UploadAvatar, x as UploadSimpleBox, l as compressImageWithoutCrop, k as convertToWebP, n as encodeFilenameForHeader, d as fileFormat, g as fileNameByUrl, e as fileThumb, h as fileThumbnailClasses, f as fileTypeByUrl, m as getFileNameFromContentDisposition, j as isImageFile, o as useDropzoneUploader, r as useFileUploadService } from '../../chunk-QVUHCBI2.js';
|
|
2
2
|
import '../../chunk-ZFRNMT3P.js';
|
|
3
3
|
import '../../chunk-RFRLNTFN.js';
|
|
4
4
|
import '../../chunk-KGLU4CR2.js';
|
|
5
|
+
import '../../chunk-LNXA53QR.js';
|
|
5
6
|
import '../../chunk-OF6623HG.js';
|
|
6
7
|
import '../../chunk-N4DW7EIC.js';
|
|
7
|
-
import '../../chunk-LNXA53QR.js';
|
|
8
8
|
import '../../chunk-45OMMG7D.js';
|
|
9
9
|
import '../../chunk-6U5LS7MP.js';
|
|
10
10
|
import '../../chunk-NQNNMRLC.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { v, s, t, u } from '../../../chunk-
|
|
1
|
+
import { v, s, t, u } from '../../../chunk-QVUHCBI2.js';
|
|
2
2
|
import '../../../chunk-ZFRNMT3P.js';
|
|
3
3
|
import '../../../chunk-RFRLNTFN.js';
|
|
4
4
|
import '../../../chunk-KGLU4CR2.js';
|
|
5
|
+
import '../../../chunk-LNXA53QR.js';
|
|
5
6
|
import '../../../chunk-OF6623HG.js';
|
|
6
7
|
import '../../../chunk-N4DW7EIC.js';
|
|
7
|
-
import '../../../chunk-LNXA53QR.js';
|
|
8
8
|
import '../../../chunk-45OMMG7D.js';
|
|
9
9
|
import '../../../chunk-6U5LS7MP.js';
|
|
10
10
|
import '../../../chunk-NQNNMRLC.js';
|
|
@@ -12,7 +12,6 @@ declare const useSnackbar: () => {
|
|
|
12
12
|
custom: (jsx: (id: string | number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>, data?: ExternalToast | undefined) => string | number;
|
|
13
13
|
message: (message: string | number | boolean | react.ReactElement<any, string | react.JSXElementConstructor<any>> | Iterable<ReactNode> | react.ReactPortal | (() => ReactNode) | null | undefined, data?: ExternalToast | undefined) => string | number;
|
|
14
14
|
promise: <ToastData>(promise: Promise<ToastData> | (() => Promise<ToastData>), data?: ({
|
|
15
|
-
cancel?: ReactNode | sonner.Action;
|
|
16
15
|
className?: string | undefined;
|
|
17
16
|
style?: react.CSSProperties | undefined;
|
|
18
17
|
position?: ("top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right") | undefined;
|
|
@@ -22,6 +21,7 @@ declare const useSnackbar: () => {
|
|
|
22
21
|
icon?: ReactNode;
|
|
23
22
|
duration?: number | undefined;
|
|
24
23
|
onDismiss?: ((toast: sonner.ToastT) => void) | undefined;
|
|
24
|
+
cancel?: ReactNode | sonner.Action;
|
|
25
25
|
richColors?: boolean | undefined;
|
|
26
26
|
closeButton?: boolean | undefined;
|
|
27
27
|
dismissible?: boolean | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CustomShadows } from './index-
|
|
2
|
-
export { d as ColorType, k as action, j as background, l as basePalette, o as colorSchemes, h as common, c as components, a as createShadowColor, b as customShadows, n as darkPalette, r as defaultFont, f as error, g as grey, i as info, m as lightPalette, p as primary, u as primaryFont, s as secondary, v as secondaryFont, q as shadows, e as success, t as text, x as typography, w as warning } from './index-
|
|
1
|
+
import { C as CustomShadows } from './index-5a5e5dc8.js';
|
|
2
|
+
export { d as ColorType, k as action, j as background, l as basePalette, o as colorSchemes, h as common, c as components, a as createShadowColor, b as customShadows, n as darkPalette, r as defaultFont, f as error, g as grey, i as info, m as lightPalette, p as primary, u as primaryFont, s as secondary, v as secondaryFont, q as shadows, e as success, t as text, x as typography, w as warning } from './index-5a5e5dc8.js';
|
|
3
3
|
export { S as SettingsContextValue, _ as SettingsProvider, T as ThemeProviderProps, u as useSettingsContext } from './settings-provider-38d09283.js';
|
|
4
4
|
export { THEME_CONFIG, default as ThemeProvider } from './theme/theme-provider.js';
|
|
5
5
|
import { S as SettingsState } from './settings-583c107c.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { d as ColorType, k as action, j as background, l as basePalette, o as colorSchemes, h as common, c as components, a as createShadowColor, b as customShadows, n as darkPalette, r as defaultFont, f as error, g as grey, i as info, m as lightPalette, p as primary, u as primaryFont, s as secondary, v as secondaryFont, q as shadows, e as success, t as text, x as typography, w as warning } from '../../index-
|
|
1
|
+
export { d as ColorType, k as action, j as background, l as basePalette, o as colorSchemes, h as common, c as components, a as createShadowColor, b as customShadows, n as darkPalette, r as defaultFont, f as error, g as grey, i as info, m as lightPalette, p as primary, u as primaryFont, s as secondary, v as secondaryFont, q as shadows, e as success, t as text, x as typography, w as warning } from '../../index-5a5e5dc8.js';
|
|
2
2
|
import '@mui/lab/TimelineConnector';
|
|
3
3
|
import '@mui/system';
|
|
4
4
|
import '@mui/lab/TimelineDot';
|
|
@@ -164,7 +164,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
164
164
|
flexShrink?: readonly ((string & {}) | csstype.Globals)[] | csstype.Property.FlexShrink | readonly NonNullable<csstype.Property.FlexShrink | undefined>[] | undefined;
|
|
165
165
|
flexWrap?: csstype.Property.FlexWrap | readonly NonNullable<csstype.Property.FlexWrap | undefined>[] | readonly csstype.Property.FlexWrap[] | undefined;
|
|
166
166
|
float?: csstype.Property.Float | readonly NonNullable<csstype.Property.Float | undefined>[] | readonly csstype.Property.Float[] | undefined;
|
|
167
|
-
fontFamily?:
|
|
167
|
+
fontFamily?: csstype.Property.FontFamily | readonly string[] | readonly csstype.Property.FontFamily[] | undefined;
|
|
168
168
|
fontFeatureSettings?: readonly string[] | csstype.Property.FontFeatureSettings | readonly csstype.Property.FontFeatureSettings[] | undefined;
|
|
169
169
|
fontKerning?: csstype.Property.FontKerning | readonly NonNullable<csstype.Property.FontKerning | undefined>[] | readonly csstype.Property.FontKerning[] | undefined;
|
|
170
170
|
fontLanguageOverride?: readonly string[] | csstype.Property.FontLanguageOverride | readonly csstype.Property.FontLanguageOverride[] | undefined;
|
|
@@ -189,7 +189,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
189
189
|
fontVariantNumeric?: readonly string[] | csstype.Property.FontVariantNumeric | readonly csstype.Property.FontVariantNumeric[] | undefined;
|
|
190
190
|
fontVariantPosition?: csstype.Property.FontVariantPosition | readonly NonNullable<csstype.Property.FontVariantPosition | undefined>[] | readonly csstype.Property.FontVariantPosition[] | undefined;
|
|
191
191
|
fontVariationSettings?: readonly string[] | csstype.Property.FontVariationSettings | readonly csstype.Property.FontVariationSettings[] | undefined;
|
|
192
|
-
fontWeight?: csstype.Property.FontWeight | readonly NonNullable<csstype.Property.FontWeight | undefined>[] | readonly (
|
|
192
|
+
fontWeight?: csstype.Property.FontWeight | readonly NonNullable<csstype.Property.FontWeight | undefined>[] | readonly ((string & {}) | csstype.Globals | "bold" | "normal" | "bolder" | "lighter")[] | undefined;
|
|
193
193
|
forcedColorAdjust?: csstype.Property.ForcedColorAdjust | readonly NonNullable<csstype.Property.ForcedColorAdjust | undefined>[] | readonly csstype.Property.ForcedColorAdjust[] | undefined;
|
|
194
194
|
gridAutoColumns?: readonly (string | (string & {}))[] | csstype.Property.GridAutoColumns<string | number> | readonly NonNullable<csstype.Property.GridAutoColumns<string | number> | undefined>[] | undefined;
|
|
195
195
|
gridAutoFlow?: readonly string[] | csstype.Property.GridAutoFlow | readonly csstype.Property.GridAutoFlow[] | undefined;
|
|
@@ -414,9 +414,9 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
414
414
|
wordWrap?: csstype.Property.WordWrap | readonly NonNullable<csstype.Property.WordWrap | undefined>[] | readonly csstype.Property.WordWrap[] | undefined;
|
|
415
415
|
writingMode?: csstype.Property.WritingMode | readonly NonNullable<csstype.Property.WritingMode | undefined>[] | readonly csstype.Property.WritingMode[] | undefined;
|
|
416
416
|
zIndex?: readonly ((string & {}) | csstype.Globals | "auto")[] | csstype.Property.ZIndex | readonly NonNullable<csstype.Property.ZIndex | undefined>[] | undefined;
|
|
417
|
-
zoom?: csstype.Property.Zoom | readonly NonNullable<csstype.Property.Zoom | undefined>[] | readonly (
|
|
417
|
+
zoom?: csstype.Property.Zoom | readonly NonNullable<csstype.Property.Zoom | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal" | "reset")[] | undefined;
|
|
418
418
|
all?: csstype.Globals | readonly NonNullable<csstype.Globals | undefined>[] | readonly csstype.Globals[] | undefined;
|
|
419
|
-
animation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
419
|
+
animation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal" | "none" | "auto" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
|
|
420
420
|
animationRange?: readonly (string | (string & {}))[] | csstype.Property.AnimationRange<string | number> | readonly NonNullable<csstype.Property.AnimationRange<string | number> | undefined>[] | undefined;
|
|
421
421
|
background?: readonly (string | (string & {}))[] | csstype.Property.Background<string | number> | readonly NonNullable<csstype.Property.Background<string | number> | undefined>[] | undefined;
|
|
422
422
|
border?: readonly (string | (string & {}))[] | csstype.Property.Border<string | number> | readonly NonNullable<csstype.Property.Border<string | number> | undefined>[] | undefined;
|
|
@@ -425,7 +425,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
425
425
|
borderBlockStart?: readonly (string | (string & {}))[] | csstype.Property.BorderBlockStart<string | number> | readonly NonNullable<csstype.Property.BorderBlockStart<string | number> | undefined>[] | undefined;
|
|
426
426
|
borderBottom?: readonly (string | (string & {}))[] | csstype.Property.BorderBottom<string | number> | readonly NonNullable<csstype.Property.BorderBottom<string | number> | undefined>[] | undefined;
|
|
427
427
|
borderColor?: readonly string[] | csstype.Property.BorderColor | readonly csstype.Property.BorderColor[] | undefined;
|
|
428
|
-
borderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly (
|
|
428
|
+
borderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "repeat" | "none" | "round" | "space" | "stretch")[] | undefined;
|
|
429
429
|
borderInline?: readonly (string | (string & {}))[] | csstype.Property.BorderInline<string | number> | readonly NonNullable<csstype.Property.BorderInline<string | number> | undefined>[] | undefined;
|
|
430
430
|
borderInlineEnd?: readonly (string | (string & {}))[] | csstype.Property.BorderInlineEnd<string | number> | readonly NonNullable<csstype.Property.BorderInlineEnd<string | number> | undefined>[] | undefined;
|
|
431
431
|
borderInlineStart?: readonly (string | (string & {}))[] | csstype.Property.BorderInlineStart<string | number> | readonly NonNullable<csstype.Property.BorderInlineStart<string | number> | undefined>[] | undefined;
|
|
@@ -457,7 +457,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
457
457
|
marginBlock?: readonly (string | (string & {}))[] | csstype.Property.MarginBlock<string | number> | readonly NonNullable<csstype.Property.MarginBlock<string | number> | undefined>[] | undefined;
|
|
458
458
|
marginInline?: readonly (string | (string & {}))[] | csstype.Property.MarginInline<string | number> | readonly NonNullable<csstype.Property.MarginInline<string | number> | undefined>[] | undefined;
|
|
459
459
|
mask?: readonly (string | (string & {}))[] | csstype.Property.Mask<string | number> | readonly NonNullable<csstype.Property.Mask<string | number> | undefined>[] | undefined;
|
|
460
|
-
maskBorder?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly (
|
|
460
|
+
maskBorder?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly ((string & {}) | csstype.Globals | "repeat" | "none" | "round" | "space" | "alpha" | "luminance" | "stretch")[] | undefined;
|
|
461
461
|
motion?: readonly (string | (string & {}))[] | csstype.Property.Offset<string | number> | readonly NonNullable<csstype.Property.Offset<string | number> | undefined>[] | undefined;
|
|
462
462
|
offset?: readonly (string | (string & {}))[] | csstype.Property.Offset<string | number> | readonly NonNullable<csstype.Property.Offset<string | number> | undefined>[] | undefined;
|
|
463
463
|
outline?: readonly (string | (string & {}))[] | csstype.Property.Outline<string | number> | readonly NonNullable<csstype.Property.Outline<string | number> | undefined>[] | undefined;
|
|
@@ -700,8 +700,8 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
700
700
|
WebkitUserModify?: csstype.Property.WebkitUserModify | readonly NonNullable<csstype.Property.WebkitUserModify | undefined>[] | readonly csstype.Property.WebkitUserModify[] | undefined;
|
|
701
701
|
WebkitUserSelect?: csstype.Property.UserSelect | readonly NonNullable<csstype.Property.UserSelect | undefined>[] | readonly csstype.Property.UserSelect[] | undefined;
|
|
702
702
|
WebkitWritingMode?: csstype.Property.WritingMode | readonly NonNullable<csstype.Property.WritingMode | undefined>[] | readonly csstype.Property.WritingMode[] | undefined;
|
|
703
|
-
MozAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
704
|
-
MozBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly (
|
|
703
|
+
MozAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal" | "none" | "auto" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
|
|
704
|
+
MozBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "repeat" | "none" | "round" | "space" | "stretch")[] | undefined;
|
|
705
705
|
MozColumnRule?: readonly (string | (string & {}))[] | csstype.Property.ColumnRule<string | number> | readonly NonNullable<csstype.Property.ColumnRule<string | number> | undefined>[] | undefined;
|
|
706
706
|
MozColumns?: readonly (string | (string & {}))[] | csstype.Property.Columns<string | number> | readonly NonNullable<csstype.Property.Columns<string | number> | undefined>[] | undefined;
|
|
707
707
|
MozOutlineRadius?: readonly (string | (string & {}))[] | csstype.Property.MozOutlineRadius<string | number> | readonly NonNullable<csstype.Property.MozOutlineRadius<string | number> | undefined>[] | undefined;
|
|
@@ -712,16 +712,16 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
712
712
|
msScrollSnapX?: readonly string[] | csstype.Property.MsScrollSnapX | readonly csstype.Property.MsScrollSnapX[] | undefined;
|
|
713
713
|
msScrollSnapY?: readonly string[] | csstype.Property.MsScrollSnapY | readonly csstype.Property.MsScrollSnapY[] | undefined;
|
|
714
714
|
msTransition?: readonly string[] | csstype.Property.Transition<string & {}> | readonly csstype.Property.Transition<string & {}>[] | undefined;
|
|
715
|
-
WebkitAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
715
|
+
WebkitAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal" | "none" | "auto" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
|
|
716
716
|
WebkitBorderBefore?: readonly (string | (string & {}))[] | csstype.Property.WebkitBorderBefore<string | number> | readonly NonNullable<csstype.Property.WebkitBorderBefore<string | number> | undefined>[] | undefined;
|
|
717
|
-
WebkitBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly (
|
|
717
|
+
WebkitBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "repeat" | "none" | "round" | "space" | "stretch")[] | undefined;
|
|
718
718
|
WebkitBorderRadius?: readonly (string | (string & {}))[] | csstype.Property.BorderRadius<string | number> | readonly NonNullable<csstype.Property.BorderRadius<string | number> | undefined>[] | undefined;
|
|
719
719
|
WebkitColumnRule?: readonly (string | (string & {}))[] | csstype.Property.ColumnRule<string | number> | readonly NonNullable<csstype.Property.ColumnRule<string | number> | undefined>[] | undefined;
|
|
720
720
|
WebkitColumns?: readonly (string | (string & {}))[] | csstype.Property.Columns<string | number> | readonly NonNullable<csstype.Property.Columns<string | number> | undefined>[] | undefined;
|
|
721
721
|
WebkitFlex?: readonly (string | (string & {}))[] | csstype.Property.Flex<string | number> | readonly NonNullable<csstype.Property.Flex<string | number> | undefined>[] | undefined;
|
|
722
722
|
WebkitFlexFlow?: readonly string[] | csstype.Property.FlexFlow | readonly csstype.Property.FlexFlow[] | undefined;
|
|
723
723
|
WebkitMask?: readonly (string | (string & {}))[] | csstype.Property.WebkitMask<string | number> | readonly NonNullable<csstype.Property.WebkitMask<string | number> | undefined>[] | undefined;
|
|
724
|
-
WebkitMaskBoxImage?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly (
|
|
724
|
+
WebkitMaskBoxImage?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly ((string & {}) | csstype.Globals | "repeat" | "none" | "round" | "space" | "alpha" | "luminance" | "stretch")[] | undefined;
|
|
725
725
|
WebkitTextEmphasis?: readonly string[] | csstype.Property.TextEmphasis | readonly csstype.Property.TextEmphasis[] | undefined;
|
|
726
726
|
WebkitTextStroke?: readonly (string | (string & {}))[] | csstype.Property.WebkitTextStroke<string | number> | readonly NonNullable<csstype.Property.WebkitTextStroke<string | number> | undefined>[] | undefined;
|
|
727
727
|
WebkitTransition?: readonly string[] | csstype.Property.Transition<string & {}> | readonly csstype.Property.Transition<string & {}>[] | undefined;
|
|
@@ -802,7 +802,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
802
802
|
MozTransitionTimingFunction?: readonly string[] | csstype.Property.TransitionTimingFunction | readonly csstype.Property.TransitionTimingFunction[] | undefined;
|
|
803
803
|
MozUserInput?: csstype.Property.MozUserInput | readonly NonNullable<csstype.Property.MozUserInput | undefined>[] | readonly csstype.Property.MozUserInput[] | undefined;
|
|
804
804
|
msImeMode?: csstype.Property.ImeMode | readonly NonNullable<csstype.Property.ImeMode | undefined>[] | readonly csstype.Property.ImeMode[] | undefined;
|
|
805
|
-
OAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
805
|
+
OAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal" | "none" | "auto" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
|
|
806
806
|
OAnimationDelay?: readonly string[] | csstype.Property.AnimationDelay<string & {}> | readonly csstype.Property.AnimationDelay<string & {}>[] | undefined;
|
|
807
807
|
OAnimationDirection?: readonly string[] | csstype.Property.AnimationDirection | readonly csstype.Property.AnimationDirection[] | undefined;
|
|
808
808
|
OAnimationDuration?: readonly string[] | csstype.Property.AnimationDuration<string & {}> | readonly csstype.Property.AnimationDuration<string & {}>[] | undefined;
|
|
@@ -812,7 +812,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
812
812
|
OAnimationPlayState?: readonly string[] | csstype.Property.AnimationPlayState | readonly csstype.Property.AnimationPlayState[] | undefined;
|
|
813
813
|
OAnimationTimingFunction?: readonly string[] | csstype.Property.AnimationTimingFunction | readonly csstype.Property.AnimationTimingFunction[] | undefined;
|
|
814
814
|
OBackgroundSize?: readonly (string | (string & {}))[] | csstype.Property.BackgroundSize<string | number> | readonly NonNullable<csstype.Property.BackgroundSize<string | number> | undefined>[] | undefined;
|
|
815
|
-
OBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly (
|
|
815
|
+
OBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "repeat" | "none" | "round" | "space" | "stretch")[] | undefined;
|
|
816
816
|
OObjectFit?: csstype.Property.ObjectFit | readonly NonNullable<csstype.Property.ObjectFit | undefined>[] | readonly csstype.Property.ObjectFit[] | undefined;
|
|
817
817
|
OObjectPosition?: readonly (string | (string & {}))[] | csstype.Property.ObjectPosition<string | number> | readonly NonNullable<csstype.Property.ObjectPosition<string | number> | undefined>[] | undefined;
|
|
818
818
|
OTabSize?: readonly (string | (string & {}))[] | csstype.Property.TabSize<string | number> | readonly NonNullable<csstype.Property.TabSize<string | number> | undefined>[] | undefined;
|
package/package.json
CHANGED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { PropsWithChildren } from 'react';
|
|
3
|
-
|
|
4
|
-
interface HeaderProps {
|
|
5
|
-
backPath?: string;
|
|
6
|
-
title?: React.ReactNode;
|
|
7
|
-
breadcrumbs?: {
|
|
8
|
-
label: string;
|
|
9
|
-
path: string;
|
|
10
|
-
}[];
|
|
11
|
-
actions?: React.ReactNode;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
declare const ConfigsHeader: ({ children, backPath, title, breadcrumbs, actions, }: PropsWithChildren<HeaderProps>) => react_jsx_runtime.JSX.Element;
|
|
15
|
-
|
|
16
|
-
export { ConfigsHeader as default };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { a as a$2 } from '../../chunk-LNXA53QR.js';
|
|
2
|
-
import { a as a$1 } from '../../chunk-IN7SP2ND.js';
|
|
3
|
-
import { a } from '../../chunk-NQNNMRLC.js';
|
|
4
|
-
import '../../chunk-CIGSMWKF.js';
|
|
5
|
-
import k from '@mui/material/Link';
|
|
6
|
-
import g from '@mui/material/Stack';
|
|
7
|
-
import { memo } from 'react';
|
|
8
|
-
import c from '@mui/material/Typography';
|
|
9
|
-
import y from '@mui/material/Breadcrumbs';
|
|
10
|
-
import { styled, alpha } from '@mui/material/styles';
|
|
11
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
12
|
-
|
|
13
|
-
var s=styled(y)(({theme:o})=>({"& .MuiBreadcrumbs-separator":{marginLeft:o.spacing(-1),marginRight:o.spacing(-1)}}));var C=({title:o,breadcrumbs:r})=>jsxs(g,{children:[jsx(c,{variant:"subtitle1",fontSize:"subtitle1.fontSize",color:"text.primary",children:o}),r&&jsx(s,{"aria-label":"breadcrumb",separator:jsx(a,{icon:"CHEVRON_RIGHT",width:18,color:"text.secondary"}),children:r.map((t,a)=>a===r.length-1||t.path===""?jsx(c,{variant:"caption",fontWeight:400,color:t.path===""?"text.disabled":void 0,children:t.label},t.label):jsx(k,{href:t.path,underline:"hover",variant:"caption",fontWeight:400,color:"text.secondary",children:t.label},t.label))})]}),d=memo(C);var f=styled(g)(({theme:o})=>({flexDirection:"row",alignItems:"center",gap:o.spacing(1),color:o.palette.text.secondary,[o.breakpoints.up("md")]:{gap:o.spacing(3)},[o.breakpoints.down("md")]:{"& button, & a":{textIndent:"-9999em",fontSize:0,minWidth:36,maxWidth:36,height:36,width:36,overflow:"hidden","& .MuiButton-icon":{margin:0}},"& a":{border:`1px solid ${alpha(o.palette.grey[500],.2)}`}}}));var E="CONFIGS_HEADER",P=({children:o,backPath:r,title:t,breadcrumbs:a,actions:n})=>jsx(a$1,{container:E,children:jsxs(g,{direction:"row",alignItems:"center",justifyContent:"space-between",gap:1,children:[jsxs(g,{direction:"row",alignItems:"center",gap:1,children:[r&&jsx(a$2,{component:k,to:r,label:"Voltar",icon:"CHEVRON_LEFT",color:"text.primary",size:"small"}),jsx(d,{title:t,breadcrumbs:a}),o]}),n&&jsx(f,{children:n})]})}),U=P;
|
|
14
|
-
|
|
15
|
-
export { U as default };
|
|
16
|
-
//# sourceMappingURL=out.js.map
|
|
17
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/ConfigsHeader/index.tsx","../../../src/components/ConfigsHeader/Content/index.tsx","../../../src/components/ConfigsHeader/Content/styles.ts","../../../src/components/ConfigsHeader/styles.ts"],"names":["Link","Stack","memo","Typography","MuiBreadcrumbs","styled","Breadcrumbs","theme","jsx","jsxs","Content","title","breadcrumbs","Icon_default","crumb","index","Content_default","alpha","Actions","CONFIGS_HEADER","ConfigsHeader","children","backPath","actions","Portal_default","IconButton_default","ConfigsHeader_default"],"mappings":"oKACA,OAAOA,MAAU,qBACjB,OAAOC,MAAW,sBCFlB,OAAS,QAAAC,MAAY,QACrB,OAAOF,MAAU,qBACjB,OAAOC,MAAW,sBAClB,OAAOE,MAAgB,2BCHvB,OAAOC,MAAoB,4BAC3B,OAAS,UAAAC,MAAc,uBAEhB,IAAMC,EAAcD,EAAOD,CAAc,EAAE,CAAC,CAAE,MAAAG,CAAM,KAAO,CAChE,8BAA+B,CAC7B,WAAYA,EAAM,QAAQ,EAAE,EAC5B,YAAaA,EAAM,QAAQ,EAAE,CAC/B,CACF,EAAE,EDIE,OACE,OAAAC,EADF,QAAAC,MAAA,oBAFJ,IAAMC,EAAU,CAAC,CAAE,MAAAC,EAAO,YAAAC,CAAY,IAElCH,EAACR,EAAA,CACC,UAAAO,EAACL,EAAA,CACC,QAAQ,YACR,SAAS,qBACT,MAAM,eAEL,SAAAQ,EACH,EAECC,GACCJ,EAACF,EAAA,CACC,aAAW,aACX,UACEE,EAACK,EAAA,CAAK,KAAK,gBAAgB,MAAO,GAAI,MAAM,iBAAiB,EAG9D,SAAAD,EAAY,IAAI,CAACE,EAAOC,IACvBA,IAAUH,EAAY,OAAS,GAAKE,EAAM,OAAS,GACjDN,EAACL,EAAA,CAEC,QAAQ,UACR,WAAY,IACZ,MAAOW,EAAM,OAAS,GAAK,gBAAkB,OAE5C,SAAAA,EAAM,OALFA,EAAM,KAMb,EAEAN,EAACR,EAAA,CAEC,KAAMc,EAAM,KACZ,UAAU,QACV,QAAQ,UACR,WAAY,IACZ,MAAM,iBAEL,SAAAA,EAAM,OAPFA,EAAM,KAQb,CAEJ,EACF,GAEJ,EAIGE,EAAQd,EAAKQ,CAAO,EEzD3B,OAAOT,MAAW,sBAClB,OAAS,SAAAgB,EAAO,UAAAZ,MAAc,uBAEvB,IAAMa,EAAUb,EAAOJ,CAAK,EAAE,CAAC,CAAE,MAAAM,CAAM,KAAO,CACnD,cAAe,MACf,WAAY,SACZ,IAAKA,EAAM,QAAQ,CAAC,EACpB,MAAOA,EAAM,QAAQ,KAAK,UAE1B,CAACA,EAAM,YAAY,GAAG,IAAI,CAAC,EAAG,CAC5B,IAAKA,EAAM,QAAQ,CAAC,CACtB,EAEA,CAACA,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,gBAAiB,CACf,WAAY,UACZ,SAAU,EACV,SAAU,GACV,SAAU,GACV,OAAQ,GACR,MAAO,GACP,SAAU,SAEV,oBAAqB,CACnB,OAAQ,CACV,CACF,EAEA,MAAO,CACL,OAAQ,aAAaU,EAAMV,EAAM,QAAQ,KAAK,GAAG,EAAG,EAAG,GACzD,CACF,CACF,EAAE,EHJM,OAEI,OAAAC,EAFJ,QAAAC,MAAA,oBAjBR,IAAMU,EAAiB,iBAEjBC,EAAgB,CAAC,CACrB,SAAAC,EACA,SAAAC,EACA,MAAAX,EACA,YAAAC,EACA,QAAAW,CACF,IAEIf,EAACgB,EAAA,CAAO,UAAWL,EACjB,SAAAV,EAACR,EAAA,CACC,UAAU,MACV,WAAW,SACX,eAAe,gBACf,IAAK,EAEL,UAAAQ,EAACR,EAAA,CAAM,UAAU,MAAM,WAAW,SAAS,IAAK,EAC7C,UAAAqB,GACCd,EAACiB,EAAA,CACC,UAAWzB,EACX,GAAIsB,EACJ,MAAM,SACN,KAAK,eACL,MAAM,eACN,KAAK,QACP,EAGFd,EAACQ,EAAA,CAAQ,MAAOL,EAAO,YAAaC,EAAa,EAEhDS,GACH,EAECE,GAAWf,EAACU,EAAA,CAAS,SAAAK,EAAQ,GAChC,EACF,EAIGG,EAAQN","sourcesContent":["import { PropsWithChildren } from 'react';\nimport Link from '@mui/material/Link';\nimport Stack from '@mui/material/Stack';\n\nimport IconButton from 'components/IconButton';\nimport Portal from 'components/Portal';\n\nimport Content from './Content';\nimport { HeaderProps } from './props';\nimport { Actions } from './styles';\n\nconst CONFIGS_HEADER = 'CONFIGS_HEADER';\n\nconst ConfigsHeader = ({\n children,\n backPath,\n title,\n breadcrumbs,\n actions,\n}: PropsWithChildren<HeaderProps>) => {\n return (\n <Portal container={CONFIGS_HEADER}>\n <Stack\n direction=\"row\"\n alignItems=\"center\"\n justifyContent=\"space-between\"\n gap={1}\n >\n <Stack direction=\"row\" alignItems=\"center\" gap={1}>\n {backPath && (\n <IconButton\n component={Link}\n to={backPath}\n label=\"Voltar\"\n icon=\"CHEVRON_LEFT\"\n color=\"text.primary\"\n size=\"small\"\n />\n )}\n\n <Content title={title} breadcrumbs={breadcrumbs} />\n\n {children}\n </Stack>\n\n {actions && <Actions>{actions}</Actions>}\n </Stack>\n </Portal>\n );\n};\n\nexport default ConfigsHeader;\n","import { memo } from 'react';\nimport Link from '@mui/material/Link';\nimport Stack from '@mui/material/Stack';\nimport Typography from '@mui/material/Typography';\n\nimport Icon from 'components/Icon';\n\nimport { ConfigsFormHeaderTitleProps } from './props';\nimport { Breadcrumbs } from './styles';\n\nconst Content = ({ title, breadcrumbs }: ConfigsFormHeaderTitleProps) => {\n return (\n <Stack>\n <Typography\n variant=\"subtitle1\"\n fontSize=\"subtitle1.fontSize\"\n color=\"text.primary\"\n >\n {title}\n </Typography>\n\n {breadcrumbs && (\n <Breadcrumbs\n aria-label=\"breadcrumb\"\n separator={\n <Icon icon=\"CHEVRON_RIGHT\" width={18} color=\"text.secondary\" />\n }\n >\n {breadcrumbs.map((crumb, index) =>\n index === breadcrumbs.length - 1 || crumb.path === '' ? (\n <Typography\n key={crumb.label}\n variant=\"caption\"\n fontWeight={400}\n color={crumb.path === '' ? 'text.disabled' : undefined}\n >\n {crumb.label}\n </Typography>\n ) : (\n <Link\n key={crumb.label}\n href={crumb.path}\n underline=\"hover\"\n variant=\"caption\"\n fontWeight={400}\n color=\"text.secondary\"\n >\n {crumb.label}\n </Link>\n ),\n )}\n </Breadcrumbs>\n )}\n </Stack>\n );\n};\n\nexport default memo(Content);\n","import MuiBreadcrumbs from '@mui/material/Breadcrumbs';\nimport { styled } from '@mui/material/styles';\n\nexport const Breadcrumbs = styled(MuiBreadcrumbs)(({ theme }) => ({\n '& .MuiBreadcrumbs-separator': {\n marginLeft: theme.spacing(-1),\n marginRight: theme.spacing(-1),\n },\n}));\n","import Stack from '@mui/material/Stack';\nimport { alpha, styled } from '@mui/material/styles';\n\nexport const Actions = styled(Stack)(({ theme }) => ({\n flexDirection: 'row',\n alignItems: 'center',\n gap: theme.spacing(1),\n color: theme.palette.text.secondary,\n\n [theme.breakpoints.up('md')]: {\n gap: theme.spacing(3),\n },\n\n [theme.breakpoints.down('md')]: {\n '& button, & a': {\n textIndent: '-9999em',\n fontSize: 0,\n minWidth: 36,\n maxWidth: 36,\n height: 36,\n width: 36,\n overflow: 'hidden',\n\n '& .MuiButton-icon': {\n margin: 0,\n },\n },\n\n '& a': {\n border: `1px solid ${alpha(theme.palette.grey[500], 0.2)}`,\n },\n },\n}));\n"]}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -286,13 +286,10 @@ declare const components: {
|
|
|
286
286
|
MuiTimelineDot: {
|
|
287
287
|
defaultProps?: Partial<_mui_lab_TimelineDot.TimelineDotProps> | undefined;
|
|
288
288
|
styleOverrides?: Partial<_mui_material_styles_overrides.OverridesStyleRules<keyof _mui_lab_TimelineDot.TimelineDotClasses, "MuiTimelineDot", {
|
|
289
|
-
|
|
290
|
-
zIndex: _mui_material.ZIndex;
|
|
291
|
-
direction: _mui_system.Direction;
|
|
292
|
-
opacity: _mui_material.Opacity;
|
|
293
|
-
typography: _mui_material.TypographyVariants;
|
|
289
|
+
transitions: _mui_material.Transitions;
|
|
294
290
|
palette: _mui_material.Palette;
|
|
295
291
|
colorSchemes: Record<_mui_material.SupportedColorScheme, _mui_material.ColorSystem>;
|
|
292
|
+
cssVarPrefix: string;
|
|
296
293
|
vars: _mui_material.ThemeVars;
|
|
297
294
|
getCssVar: (field: _mui_material.ThemeCssVar, ...vars: _mui_material.ThemeCssVar[]) => string;
|
|
298
295
|
getColorSchemeSelector: (colorScheme: _mui_material.SupportedColorScheme) => string;
|
|
@@ -303,13 +300,16 @@ declare const components: {
|
|
|
303
300
|
spacing: _mui_system.Spacing;
|
|
304
301
|
breakpoints: _mui_system.Breakpoints;
|
|
305
302
|
shape: _mui_system.Shape;
|
|
306
|
-
|
|
303
|
+
typography: _mui_material.TypographyVariants;
|
|
307
304
|
shadows: _mui_material.Shadows;
|
|
308
305
|
mixins: _mui_material.Mixins;
|
|
306
|
+
zIndex: _mui_material.ZIndex;
|
|
307
|
+
direction: _mui_system.Direction;
|
|
309
308
|
shouldSkipGeneratingVar: (keys: string[], value: string | number) => boolean;
|
|
310
309
|
unstable_sxConfig: _mui_system.SxConfig;
|
|
311
310
|
unstable_sx: (props: _mui_system.SxProps<_mui_material.Theme>) => _mui_styled_engine.CSSObject;
|
|
312
311
|
applyStyles: _mui_system.ApplyStyles<"light" | "dark">;
|
|
312
|
+
opacity: _mui_material.Opacity;
|
|
313
313
|
overlays: _mui_material.Overlays;
|
|
314
314
|
customShadows: CustomShadows;
|
|
315
315
|
unstable_strictMode?: boolean | undefined;
|
|
@@ -326,13 +326,10 @@ declare const components: {
|
|
|
326
326
|
MuiTimelineConnector: {
|
|
327
327
|
defaultProps?: Partial<_mui_lab_TimelineConnector.TimelineConnectorProps> | undefined;
|
|
328
328
|
styleOverrides?: Partial<_mui_material_styles_overrides.OverridesStyleRules<"root", "MuiTimelineConnector", {
|
|
329
|
-
|
|
330
|
-
zIndex: _mui_material.ZIndex;
|
|
331
|
-
direction: _mui_system.Direction;
|
|
332
|
-
opacity: _mui_material.Opacity;
|
|
333
|
-
typography: _mui_material.TypographyVariants;
|
|
329
|
+
transitions: _mui_material.Transitions;
|
|
334
330
|
palette: _mui_material.Palette;
|
|
335
331
|
colorSchemes: Record<_mui_material.SupportedColorScheme, _mui_material.ColorSystem>;
|
|
332
|
+
cssVarPrefix: string;
|
|
336
333
|
vars: _mui_material.ThemeVars;
|
|
337
334
|
getCssVar: (field: _mui_material.ThemeCssVar, ...vars: _mui_material.ThemeCssVar[]) => string;
|
|
338
335
|
getColorSchemeSelector: (colorScheme: _mui_material.SupportedColorScheme) => string;
|
|
@@ -343,13 +340,16 @@ declare const components: {
|
|
|
343
340
|
spacing: _mui_system.Spacing;
|
|
344
341
|
breakpoints: _mui_system.Breakpoints;
|
|
345
342
|
shape: _mui_system.Shape;
|
|
346
|
-
|
|
343
|
+
typography: _mui_material.TypographyVariants;
|
|
347
344
|
shadows: _mui_material.Shadows;
|
|
348
345
|
mixins: _mui_material.Mixins;
|
|
346
|
+
zIndex: _mui_material.ZIndex;
|
|
347
|
+
direction: _mui_system.Direction;
|
|
349
348
|
shouldSkipGeneratingVar: (keys: string[], value: string | number) => boolean;
|
|
350
349
|
unstable_sxConfig: _mui_system.SxConfig;
|
|
351
350
|
unstable_sx: (props: _mui_system.SxProps<_mui_material.Theme>) => _mui_styled_engine.CSSObject;
|
|
352
351
|
applyStyles: _mui_system.ApplyStyles<"light" | "dark">;
|
|
352
|
+
opacity: _mui_material.Opacity;
|
|
353
353
|
overlays: _mui_material.Overlays;
|
|
354
354
|
customShadows: CustomShadows;
|
|
355
355
|
unstable_strictMode?: boolean | undefined;
|