@toss/tds-mobile 2.1.1 → 2.2.0
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/cjs/index.d.ts +36 -0
- package/dist/cjs/index.js +24 -24
- package/dist/esm/index.d.ts +36 -0
- package/dist/esm/index.js +24 -24
- package/package.json +1 -1
package/dist/esm/index.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ import { FocusEventHandler } from 'react';
|
|
|
19
19
|
import { FormEventHandler } from 'react';
|
|
20
20
|
import { ForwardRefExoticComponent } from 'react';
|
|
21
21
|
import { HTMLAttributes } from 'react';
|
|
22
|
+
import { HTMLProps } from 'react';
|
|
22
23
|
import { ImgHTMLAttributes } from 'react';
|
|
23
24
|
import { InputHTMLAttributes } from 'react';
|
|
24
25
|
import type { Interpolation } from '@emotion/react';
|
|
@@ -5355,6 +5356,8 @@ declare type ExportedTextField = typeof PlainTextField & {
|
|
|
5355
5356
|
format: typeof format;
|
|
5356
5357
|
};
|
|
5357
5358
|
|
|
5359
|
+
declare type ExtendHTMLProps<Elem extends HTMLElement, T> = Omit<HTMLProps<Elem>, keyof T> & T;
|
|
5360
|
+
|
|
5358
5361
|
/**
|
|
5359
5362
|
* @public tds
|
|
5360
5363
|
* @name FadeIn
|
|
@@ -14940,6 +14943,39 @@ declare type SpaceProps = {
|
|
|
14940
14943
|
height?: string;
|
|
14941
14944
|
};
|
|
14942
14945
|
|
|
14946
|
+
/**
|
|
14947
|
+
* @name Spacing
|
|
14948
|
+
* @description Space를 주는 컴포넌트
|
|
14949
|
+
*
|
|
14950
|
+
* ```ts
|
|
14951
|
+
* function Spacing(props: {
|
|
14952
|
+
* children?: never;
|
|
14953
|
+
* // default: 'vertical'
|
|
14954
|
+
* direction?: 'vertical' | 'horizontal';
|
|
14955
|
+
* size: string | number;
|
|
14956
|
+
* }): JSX.Element;
|
|
14957
|
+
* ```
|
|
14958
|
+
*
|
|
14959
|
+
* @example
|
|
14960
|
+
* import { Spacing } from '@toss/tds-mobile';
|
|
14961
|
+
*
|
|
14962
|
+
* <Flex css={{ marginTop: -34 }} as="section" direction="column" align="center">
|
|
14963
|
+
* <Spacing size={40} />
|
|
14964
|
+
* <AS충족상태Header 전체조건충족={전체조건충족} />
|
|
14965
|
+
* <Spacing size={24} />
|
|
14966
|
+
* <무응답고객충족상태Details 전체조건충족={전체조건충족} noResponseInfo={exchangeStatusInfo.noResponseInfo} />
|
|
14967
|
+
* <Spacing size={16} />
|
|
14968
|
+
* <연결후24시간경과충족상태Details 전체조건충족={전체조건충족} after24Hour={exchangeStatusInfo.after24Hour} />
|
|
14969
|
+
* </Flex>
|
|
14970
|
+
*/
|
|
14971
|
+
export declare const Spacing: NamedExoticComponent<SpacingProps>;
|
|
14972
|
+
|
|
14973
|
+
declare type SpacingProps = ExtendHTMLProps<HTMLDivElement, {
|
|
14974
|
+
children?: never;
|
|
14975
|
+
direction?: 'vertical' | 'horizontal';
|
|
14976
|
+
size: string | number;
|
|
14977
|
+
}>;
|
|
14978
|
+
|
|
14943
14979
|
declare const SPECIAL_KEY: {
|
|
14944
14980
|
readonly dot: ".";
|
|
14945
14981
|
readonly comma: ",";
|