@aic-kits/react 0.29.1 → 0.29.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/components/Box/StyledBox.d.ts +1 -1
- package/dist/components/Modal/StyledModal.d.ts +4 -3
- package/dist/hooks/useUserAgent.d.ts +2 -2
- package/dist/index.cjs +157 -157
- package/dist/index.js +3971 -3855
- package/dist/theme/common/index.d.ts +1 -0
- package/dist/theme/common/zIndex.d.ts +22 -0
- package/dist/theme/getTheme.d.ts +2 -1
- package/dist/utils/zIndexRegistry.d.ts +54 -0
- package/package.json +4 -4
|
@@ -9,4 +9,4 @@ export declare const getThemeValue: (theme: Theme, key: keyof StyleProps, props:
|
|
|
9
9
|
export declare const mapStylePropToThemeValue: (theme: Theme, props: StyleProps) => {};
|
|
10
10
|
export declare const configKeys: Array<keyof ConfigType>;
|
|
11
11
|
export declare const genBoxStyle: (theme: Theme, props: StyleProps & CSSStyleProps & CustomBoxProps) => import('styled-components').RuleSet<object>;
|
|
12
|
-
export declare const StyledBox: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyleProps & import('../..').WithResponsive<Pick<import('react').CSSProperties, "opacity" | "width" | "height" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "display" | "alignItems" | "alignContent" | "justifyContent" | "flexWrap" | "flexDirection" | "flex" | "flexGrow" | "flexShrink" | "flexBasis" | "alignSelf" | "position" | "top" | "right" | "bottom" | "left" | "overflow" | "cursor" | "transition" | "transform" | "animation" | "willChange" | "pointerEvents" | "userSelect" | "resize" | "boxShadow" | "textShadow" | "
|
|
12
|
+
export declare const StyledBox: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyleProps & import('../..').WithResponsive<Pick<import('react').CSSProperties, "filter" | "opacity" | "width" | "height" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "display" | "alignItems" | "alignContent" | "justifyContent" | "flexWrap" | "flexDirection" | "flex" | "flexGrow" | "flexShrink" | "flexBasis" | "alignSelf" | "position" | "top" | "right" | "bottom" | "left" | "overflow" | "cursor" | "transition" | "transform" | "animation" | "willChange" | "pointerEvents" | "userSelect" | "resize" | "boxShadow" | "textShadow" | "backdropFilter" | "mixBlendMode" | "isolation" | "zIndex" | "marginInline" | "marginBlock" | "paddingInline" | "paddingBlock" | "whiteSpace" | "textOverflow" | "overflowY" | "overflowX">> & CustomBoxProps>> & string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { BoxProps } from '../Box';
|
|
2
|
+
export declare const StyledBackdrop: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<BoxProps & {
|
|
2
3
|
ref?: import('react').ForwardedRef<HTMLDivElement>;
|
|
3
|
-
},
|
|
4
|
+
}, BoxProps>> & string & Omit<(props: BoxProps & {
|
|
4
5
|
ref?: import('react').ForwardedRef<HTMLDivElement>;
|
|
5
|
-
}) => ReturnType<({ children, style, "data-testid": testId, ...otherProps }:
|
|
6
|
+
}) => ReturnType<({ children, style, "data-testid": testId, ...otherProps }: BoxProps, ref: import('react').ForwardedRef<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element>, keyof import('react').Component<any, {}, any>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as UAParserLib from 'ua-parser-js';
|
|
2
2
|
export declare enum NormalizedDeviceType {
|
|
3
3
|
Desktop = "Desktop",
|
|
4
4
|
Mobile = "Mobile",
|
|
@@ -30,7 +30,7 @@ export interface NormalizedUserAgent {
|
|
|
30
30
|
browserName?: NormalizedBrowserName;
|
|
31
31
|
osName?: NormalizedOSName;
|
|
32
32
|
}
|
|
33
|
-
export interface UserAgent extends
|
|
33
|
+
export interface UserAgent extends UAParserLib.IResult {
|
|
34
34
|
normalized: NormalizedUserAgent;
|
|
35
35
|
}
|
|
36
36
|
export declare const parseUserAgent: (uaString: string) => UserAgent;
|