@ctlyst.id/internal-ui 3.1.2 → 3.1.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +483 -7389
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +181 -7099
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
package/dist/index.d.mts
CHANGED
@@ -347,7 +347,7 @@ type HeaderDataProps = {
|
|
347
347
|
email?: string;
|
348
348
|
name?: string;
|
349
349
|
userRole?: string;
|
350
|
-
office?: string
|
350
|
+
office?: string[];
|
351
351
|
avatarUrl?: string;
|
352
352
|
};
|
353
353
|
|
@@ -389,9 +389,10 @@ interface ProfileProps extends BoxProps {
|
|
389
389
|
data?: HeaderDataProps;
|
390
390
|
onLogout?: () => void;
|
391
391
|
badgeStyle?: BadgeProps;
|
392
|
+
officeContainer?: Omit<HTMLChakraProps$1<'div'>, 'color'>;
|
392
393
|
}
|
393
394
|
declare const Profile: {
|
394
|
-
({ color, brandColor, data, badgeStyle, children, onLogout, ...props }: ProfileProps): react_jsx_runtime.JSX.Element;
|
395
|
+
({ color, brandColor, data, badgeStyle, children, onLogout, officeContainer, ...props }: ProfileProps): react_jsx_runtime.JSX.Element;
|
395
396
|
defaultProps: {
|
396
397
|
brandColor: string;
|
397
398
|
data: undefined;
|
package/dist/index.d.ts
CHANGED
@@ -347,7 +347,7 @@ type HeaderDataProps = {
|
|
347
347
|
email?: string;
|
348
348
|
name?: string;
|
349
349
|
userRole?: string;
|
350
|
-
office?: string
|
350
|
+
office?: string[];
|
351
351
|
avatarUrl?: string;
|
352
352
|
};
|
353
353
|
|
@@ -389,9 +389,10 @@ interface ProfileProps extends BoxProps {
|
|
389
389
|
data?: HeaderDataProps;
|
390
390
|
onLogout?: () => void;
|
391
391
|
badgeStyle?: BadgeProps;
|
392
|
+
officeContainer?: Omit<HTMLChakraProps$1<'div'>, 'color'>;
|
392
393
|
}
|
393
394
|
declare const Profile: {
|
394
|
-
({ color, brandColor, data, badgeStyle, children, onLogout, ...props }: ProfileProps): react_jsx_runtime.JSX.Element;
|
395
|
+
({ color, brandColor, data, badgeStyle, children, onLogout, officeContainer, ...props }: ProfileProps): react_jsx_runtime.JSX.Element;
|
395
396
|
defaultProps: {
|
396
397
|
brandColor: string;
|
397
398
|
data: undefined;
|