@aic-kits/react 0.24.1 → 0.24.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/Button/StyledButton.d.ts +2 -0
- package/dist/components/Tag/StyledTag.d.ts +2 -0
- package/dist/components/Text/index.d.ts +2 -0
- package/dist/components/Text/withRichText.d.ts +2 -1
- package/dist/components/Touchable/index.d.ts +5 -2
- package/dist/index.cjs +62 -56
- package/dist/index.js +999 -981
- package/package.json +2 -2
|
@@ -25,8 +25,10 @@ type ButtonTextProps = {
|
|
|
25
25
|
};
|
|
26
26
|
declare const StyledButtonText: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('..').TextProps & {
|
|
27
27
|
useRichText?: boolean;
|
|
28
|
+
ref?: import('react').ForwardedRef<HTMLParagraphElement>;
|
|
28
29
|
}, ButtonTextProps>> & string & Omit<(props: import('..').TextProps & {
|
|
29
30
|
useRichText?: boolean;
|
|
31
|
+
ref?: import('react').ForwardedRef<HTMLParagraphElement>;
|
|
30
32
|
}) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
31
33
|
type ButtonIconWrapperProps = {
|
|
32
34
|
$themePosition: 'left' | 'right';
|
|
@@ -19,6 +19,7 @@ export declare const StyledTagContainer: import('styled-components/dist/types').
|
|
|
19
19
|
}) => ReturnType<({ children, style, "data-testid": testId, ...otherProps }: import('..').BoxProps, ref: import('react').ForwardedRef<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element>, keyof import('react').Component<any, {}, any>>;
|
|
20
20
|
export declare const StyledTagText: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('..').TextProps & {
|
|
21
21
|
useRichText?: boolean;
|
|
22
|
+
ref?: import('react').ForwardedRef<HTMLParagraphElement>;
|
|
22
23
|
}, {
|
|
23
24
|
$color: Color;
|
|
24
25
|
$textColor?: Color;
|
|
@@ -26,4 +27,5 @@ export declare const StyledTagText: import('styled-components/dist/types').IStyl
|
|
|
26
27
|
$fontSize: FontSize;
|
|
27
28
|
}>> & string & Omit<(props: import('..').TextProps & {
|
|
28
29
|
useRichText?: boolean;
|
|
30
|
+
ref?: import('react').ForwardedRef<HTMLParagraphElement>;
|
|
29
31
|
}) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { ForwardedRef } from 'react';
|
|
1
2
|
import { TextProps } from './types';
|
|
2
3
|
export declare const Text: (props: TextProps & {
|
|
3
4
|
useRichText?: boolean;
|
|
5
|
+
ref?: ForwardedRef<HTMLParagraphElement>;
|
|
4
6
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
5
7
|
export type { TextProps };
|
|
6
8
|
export * from './constants';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
1
|
+
import { default as React, ForwardedRef } from 'react';
|
|
2
2
|
import { TextProps } from './types';
|
|
3
3
|
export declare const withRichText: (BaseText: React.ComponentType<TextProps>) => (props: TextProps & {
|
|
4
4
|
useRichText?: boolean;
|
|
5
|
+
ref?: ForwardedRef<HTMLParagraphElement>;
|
|
5
6
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ForwardedRef } from 'react';
|
|
2
2
|
import { TouchableProps } from './types';
|
|
3
|
-
|
|
3
|
+
declare function PlainTouchable({ children, onClick, style, useScaleAnimation, useOpacityAnimation, 'data-testid': testId, ...props }: TouchableProps, ref: ForwardedRef<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const Touchable: (props: TouchableProps & {
|
|
5
|
+
ref?: ForwardedRef<HTMLDivElement>;
|
|
6
|
+
}) => ReturnType<typeof PlainTouchable>;
|
|
4
7
|
export * from './types';
|